diff --git a/components.d.ts b/components.d.ts index f9567c0..4690207 100644 --- a/components.d.ts +++ b/components.d.ts @@ -46,7 +46,6 @@ declare module '@vue/runtime-core' { ATable: typeof import('ant-design-vue/es')['Table'] ATabPane: typeof import('ant-design-vue/es')['TabPane'] ATabs: typeof import('ant-design-vue/es')['Tabs'] - ATag: typeof import('ant-design-vue/es')['Tag'] ATextarea: typeof import('ant-design-vue/es')['Textarea'] ATooltip: typeof import('ant-design-vue/es')['Tooltip'] AUpload: typeof import('ant-design-vue/es')['Upload'] diff --git a/src/model/configuration.ts b/src/model/configuration.ts new file mode 100644 index 0000000..d2f4567 --- /dev/null +++ b/src/model/configuration.ts @@ -0,0 +1,26 @@ +export interface Const { + id?: number | undefined + key?: string + value?: string | undefined + description?: string + type: string + title_fa: string +} + +export interface SupportLink { + show_to_users_goftino: string + show_to_users_eitaa: string + show_to_users_telegram: string + show_to_users_whatsapp: string + show_to_users_bale: string + show_to_users_phone: string +} + +export interface itemConfig { + id: number | string + name: string + value: string + key: string + type: string + list: [] +} \ No newline at end of file diff --git a/src/pages/menuPages/configuration/components/LongtextConfigs.vue b/src/pages/menuPages/configuration/components/LongtextConfigs.vue new file mode 100644 index 0000000..560a32c --- /dev/null +++ b/src/pages/menuPages/configuration/components/LongtextConfigs.vue @@ -0,0 +1,83 @@ + + + + diff --git a/src/pages/menuPages/configuration/components/SwitchConfigs.vue b/src/pages/menuPages/configuration/components/SwitchConfigs.vue new file mode 100644 index 0000000..e19ab51 --- /dev/null +++ b/src/pages/menuPages/configuration/components/SwitchConfigs.vue @@ -0,0 +1,52 @@ + + + diff --git a/src/pages/menuPages/configuration/components/TextConfigs.vue b/src/pages/menuPages/configuration/components/TextConfigs.vue new file mode 100644 index 0000000..2b36710 --- /dev/null +++ b/src/pages/menuPages/configuration/components/TextConfigs.vue @@ -0,0 +1,80 @@ + + + diff --git a/src/pages/menuPages/configuration/index.vue b/src/pages/menuPages/configuration/index.vue index 7582b24..5eceed4 100644 --- a/src/pages/menuPages/configuration/index.vue +++ b/src/pages/menuPages/configuration/index.vue @@ -1,24 +1,69 @@