@skyfox2000/webui 1.2.8 → 1.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/package.json +1 -1
  2. package/scripts/userInput.py +2 -0
  3. package/src/components/common/index.ts +3 -0
  4. package/src/components/common/loading/index.vue +11 -0
  5. package/src/components/content/dialog/index.vue +15 -8
  6. package/src/components/content/dialog/uploadForm.vue +38 -79
  7. package/src/components/content/drawer/index.vue +26 -6
  8. package/src/components/content/form/formItem.vue +21 -5
  9. package/src/components/content/form/index.vue +4 -2
  10. package/src/components/content/search/searchItem.vue +1 -1
  11. package/src/components/form/autoComplete/index.vue +12 -4
  12. package/src/components/form/cascader/index.vue +1 -1
  13. package/src/components/form/datePicker/index.vue +1 -1
  14. package/src/components/form/index.ts +1 -0
  15. package/src/components/form/input/inputIcon.vue +1 -1
  16. package/src/components/form/propEditor/index.vue +113 -33
  17. package/src/components/form/select/index.vue +27 -17
  18. package/src/components/form/upload/uploadList.vue +174 -34
  19. package/src/components/index.ts +13 -1
  20. package/src/directives/permission.ts +2 -2
  21. package/src/index.ts +3 -1
  22. package/src/stores/userInfo.ts +28 -2
  23. package/src/typings/form.d.ts +18 -2
  24. package/src/typings/option.d.ts +16 -2
  25. package/src/typings/page.d.ts +1 -0
  26. package/src/utils/download.ts +1 -1
  27. package/src/utils/eventbus.ts +1 -1
  28. package/src/utils/file-upload.ts +75 -14
  29. package/src/utils/form-excel.ts +50 -1
  30. package/src/utils/form-validate.ts +18 -1
  31. package/src/utils/form.ts +3 -1
  32. package/src/utils/options.ts +38 -12
  33. package/lib/AceEditor.d.ts +0 -1
  34. package/lib/BasicLayout.d.ts +0 -1
  35. package/lib/Error403.d.ts +0 -1
  36. package/lib/Error404.d.ts +0 -1
  37. package/lib/ExcelForm.d.ts +0 -1
  38. package/lib/UploadForm.d.ts +0 -1
  39. package/lib/assets/modules/file-upload-CZO-pMJd.js +0 -176
  40. package/lib/assets/modules/form-excel-N-2OYqKv.js +0 -211
  41. package/lib/assets/modules/index-BnHnS9ug.js +0 -111
  42. package/lib/assets/modules/index-CTVMLeDF.js +0 -109
  43. package/lib/assets/modules/index-D9kzQ23e.js +0 -2213
  44. package/lib/assets/modules/menuTabs-BtOiocOC.js +0 -676
  45. package/lib/assets/modules/toolIcon-B9Mw9Ktm.js +0 -50
  46. package/lib/assets/modules/uploadList-B4LxzsC6.js +0 -210
  47. package/lib/components/common/button/index.vue.d.ts +0 -41
  48. package/lib/components/common/icon/appicon.vue.d.ts +0 -11
  49. package/lib/components/common/icon/fullscreen.vue.d.ts +0 -3
  50. package/lib/components/common/icon/helper.vue.d.ts +0 -22
  51. package/lib/components/common/icon/index.vue.d.ts +0 -243
  52. package/lib/components/common/icon/layoutIcon.vue.d.ts +0 -43
  53. package/lib/components/common/icon/projectIcon.vue.d.ts +0 -59
  54. package/lib/components/common/icon/toolIcon.vue.d.ts +0 -43
  55. package/lib/components/common/index.d.ts +0 -18
  56. package/lib/components/common/tooltip/index.vue.d.ts +0 -21
  57. package/lib/components/content/dialog/index.vue.d.ts +0 -34
  58. package/lib/components/content/drawer/index.vue.d.ts +0 -26
  59. package/lib/components/content/form/formItem.vue.d.ts +0 -25
  60. package/lib/components/content/form/index.vue.d.ts +0 -25
  61. package/lib/components/content/index.d.ts +0 -22
  62. package/lib/components/content/search/index.vue.d.ts +0 -30
  63. package/lib/components/content/search/searchItem.vue.d.ts +0 -23
  64. package/lib/components/content/table/index.vue.d.ts +0 -36
  65. package/lib/components/content/table/tableOperate.vue.d.ts +0 -18
  66. package/lib/components/content/toolbar/icontool.vue.d.ts +0 -7
  67. package/lib/components/content/toolbar/index.vue.d.ts +0 -18
  68. package/lib/components/content/tree/index.vue.d.ts +0 -46
  69. package/lib/components/form/aceEditor/aceConfig.d.ts +0 -8
  70. package/lib/components/form/autoComplete/index.vue.d.ts +0 -139
  71. package/lib/components/form/cascader/index.vue.d.ts +0 -109
  72. package/lib/components/form/checkbox/index.vue.d.ts +0 -128
  73. package/lib/components/form/datePicker/index.vue.d.ts +0 -6
  74. package/lib/components/form/index.d.ts +0 -38
  75. package/lib/components/form/input/index.vue.d.ts +0 -26
  76. package/lib/components/form/input/inputIcon.vue.d.ts +0 -10
  77. package/lib/components/form/input/inputNumber.vue.d.ts +0 -3
  78. package/lib/components/form/input/inputPassword.vue.d.ts +0 -3
  79. package/lib/components/form/propEditor/index.vue.d.ts +0 -12
  80. package/lib/components/form/radio/index.vue.d.ts +0 -133
  81. package/lib/components/form/radio/radioStatus.vue.d.ts +0 -31
  82. package/lib/components/form/rangePicker/index.vue.d.ts +0 -16
  83. package/lib/components/form/select/index.vue.d.ts +0 -142
  84. package/lib/components/form/switch/index.vue.d.ts +0 -43
  85. package/lib/components/form/textarea/index.vue.d.ts +0 -3
  86. package/lib/components/form/transfer/index.vue.d.ts +0 -38
  87. package/lib/components/form/transfer/transferTable.vue.d.ts +0 -38
  88. package/lib/components/form/treeSelect/index.vue.d.ts +0 -38
  89. package/lib/components/form/upload/uploadList.vue.d.ts +0 -476
  90. package/lib/components/index.d.ts +0 -4
  91. package/lib/components/layout/breadcrumb/index.vue.d.ts +0 -3
  92. package/lib/components/layout/content/index.vue.d.ts +0 -22
  93. package/lib/components/layout/datetime/index.vue.d.ts +0 -3
  94. package/lib/components/layout/header/headerExits.vue.d.ts +0 -3
  95. package/lib/components/layout/header/index.vue.d.ts +0 -3
  96. package/lib/components/layout/header/user.vue.d.ts +0 -3
  97. package/lib/components/layout/index.d.ts +0 -14
  98. package/lib/components/layout/menu/index.vue.d.ts +0 -6
  99. package/lib/components/layout/menu/menuTabs.vue.d.ts +0 -3
  100. package/lib/const/options.d.ts +0 -32
  101. package/lib/directives/enter-submit.d.ts +0 -4
  102. package/lib/directives/index.d.ts +0 -2
  103. package/lib/directives/permission.d.ts +0 -5
  104. package/lib/es/AceEditor/index.js +0 -167
  105. package/lib/es/BasicLayout/index.js +0 -101
  106. package/lib/es/Error403/index.js +0 -39
  107. package/lib/es/Error404/index.js +0 -39
  108. package/lib/es/ExcelForm/index.js +0 -321
  109. package/lib/es/UploadForm/index.js +0 -137
  110. package/lib/index.d.ts +0 -45
  111. package/lib/router/index.d.ts +0 -15
  112. package/lib/stores/appInfo.d.ts +0 -31
  113. package/lib/stores/hostInfo.d.ts +0 -9
  114. package/lib/stores/pageInfo.d.ts +0 -18
  115. package/lib/stores/pinia.d.ts +0 -3
  116. package/lib/stores/settingInfo.d.ts +0 -8
  117. package/lib/stores/userInfo.d.ts +0 -24
  118. package/lib/typings/data.d.ts +0 -80
  119. package/lib/typings/form.d.ts +0 -171
  120. package/lib/typings/menu.d.ts +0 -7
  121. package/lib/typings/option.d.ts +0 -175
  122. package/lib/typings/page.d.ts +0 -69
  123. package/lib/typings/table.d.ts +0 -181
  124. package/lib/typings/tools.d.ts +0 -130
  125. package/lib/typings/tree.d.ts +0 -72
  126. package/lib/typings/upload.d.ts +0 -161
  127. package/lib/typings/urls.d.ts +0 -69
  128. package/lib/utils/cache.d.ts +0 -23
  129. package/lib/utils/data.d.ts +0 -6
  130. package/lib/utils/download.d.ts +0 -4
  131. package/lib/utils/eventbus.d.ts +0 -16
  132. package/lib/utils/export-table.d.ts +0 -12
  133. package/lib/utils/file-upload.d.ts +0 -15
  134. package/lib/utils/form-excel.d.ts +0 -30
  135. package/lib/utils/form-validate.d.ts +0 -29
  136. package/lib/utils/form.d.ts +0 -9
  137. package/lib/utils/icon-loader.d.ts +0 -125
  138. package/lib/utils/isEmpty.d.ts +0 -1
  139. package/lib/utils/main-openapis.d.ts +0 -8
  140. package/lib/utils/menu.d.ts +0 -6
  141. package/lib/utils/options.d.ts +0 -10
  142. package/lib/utils/page.d.ts +0 -25
  143. package/lib/utils/table.d.ts +0 -21
  144. package/lib/utils/tools.d.ts +0 -18
  145. package/lib/utils/tree.d.ts +0 -3
  146. package/lib/vite-env.d.ts +0 -8
  147. package/lib/webui.css +0 -1
  148. package/lib/webui.es.js +0 -2240
@@ -1,18 +0,0 @@
1
- import { default as Button } from './button/index.vue';
2
- import { default as Tooltip } from './tooltip/index.vue';
3
- import { default as AppIcon } from './icon/appicon.vue';
4
- import { default as Fullscreen } from './icon/fullscreen.vue';
5
- import { default as Helper } from './icon/helper.vue';
6
- import { default as Icon } from './icon/index.vue';
7
- import { default as LayoutIcon } from './icon/layoutIcon.vue';
8
- import { default as ProjectIcon } from './icon/projectIcon.vue';
9
- import { default as ToolIcon } from './icon/toolIcon.vue';
10
- export { Button };
11
- export { Tooltip };
12
- export { AppIcon };
13
- export { Fullscreen };
14
- export { Helper };
15
- export { Icon };
16
- export { LayoutIcon };
17
- export { ProjectIcon };
18
- export { ToolIcon };
@@ -1,21 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- type __VLS_Props = {
3
- size?: string;
4
- };
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: {
8
- default?(_: {}): any;
9
- };
10
- refs: {};
11
- rootEl: any;
12
- };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
- export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };
@@ -1,34 +0,0 @@
1
- import { EditorControl } from '../../../index';
2
- import { AnyData } from '../../../../../502417_fapi';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- type __VLS_Props = {
5
- saveText?: string;
6
- saveAsText?: string;
7
- cancelText?: string;
8
- editorCtrl?: EditorControl<AnyData>;
9
- dialogSave?: () => void;
10
- width?: number;
11
- full?: boolean;
12
- open?: boolean;
13
- };
14
- declare function __VLS_template(): {
15
- attrs: Partial<{}>;
16
- slots: {
17
- default?(_: {}): any;
18
- };
19
- refs: {};
20
- rootEl: any;
21
- };
22
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
24
- "update:open": (...args: any[]) => void;
25
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
26
- "onUpdate:open"?: ((...args: any[]) => any) | undefined;
27
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
28
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
- export default _default;
30
- type __VLS_WithTemplateSlots<T, S> = T & {
31
- new (): {
32
- $slots: S;
33
- };
34
- };
@@ -1,26 +0,0 @@
1
- import { EditorControl } from '../../../index';
2
- import { AnyData } from '../../../../../502417_fapi';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- type __VLS_Props = {
5
- saveText?: string;
6
- saveAsText?: string;
7
- cancelText?: string;
8
- editorCtrl: EditorControl<AnyData>;
9
- };
10
- declare function __VLS_template(): {
11
- attrs: Partial<{}>;
12
- slots: {
13
- default?(_: {}): any;
14
- };
15
- refs: {};
16
- rootEl: any;
17
- };
18
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
20
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
- export default _default;
22
- type __VLS_WithTemplateSlots<T, S> = T & {
23
- new (): {
24
- $slots: S;
25
- };
26
- };
@@ -1,25 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- type __VLS_Props = {
3
- label?: string;
4
- rule?: string;
5
- helper?: string;
6
- width?: string;
7
- };
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- default?(_: {}): any;
12
- helper?(_: {}): any;
13
- };
14
- refs: {};
15
- rootEl: any;
16
- };
17
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
19
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
- export default _default;
21
- type __VLS_WithTemplateSlots<T, S> = T & {
22
- new (): {
23
- $slots: S;
24
- };
25
- };
@@ -1,25 +0,0 @@
1
- import { EditorControl } from '../../../index';
2
- import { AnyData } from '../../../../../502417_fapi';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- type __VLS_Props = {
5
- labelWidth?: string;
6
- wrapperWidth?: string;
7
- editorCtrl?: EditorControl<AnyData>;
8
- };
9
- declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: {
12
- default?(_: {}): any;
13
- };
14
- refs: {};
15
- rootEl: any;
16
- };
17
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
19
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
- export default _default;
21
- type __VLS_WithTemplateSlots<T, S> = T & {
22
- new (): {
23
- $slots: S;
24
- };
25
- };
@@ -1,22 +0,0 @@
1
- import { default as Dialog } from './dialog/index.vue';
2
- import { default as Drawer } from './drawer/index.vue';
3
- import { default as Form } from './form/index.vue';
4
- import { default as FormItem } from './form/formItem.vue';
5
- import { default as Search } from './search/index.vue';
6
- import { default as SearchItem } from './search/searchItem.vue';
7
- import { default as Table } from './table/index.vue';
8
- import { default as TableOperate } from './table/tableOperate.vue';
9
- import { default as Toolbar } from './toolbar/index.vue';
10
- import { default as Icontool } from './toolbar/icontool.vue';
11
- import { default as Tree } from './tree/index.vue';
12
- export { Dialog };
13
- export { Drawer };
14
- export { Form };
15
- export { FormItem };
16
- export { Search };
17
- export { SearchItem };
18
- export { Table };
19
- export { TableOperate };
20
- export { Toolbar };
21
- export { Icontool };
22
- export { Tree };
@@ -1,30 +0,0 @@
1
- import { GridControl } from '../../../index';
2
- import { AnyData } from '../../../../../502417_fapi';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- type __VLS_Props = {
5
- search: Record<string, any>;
6
- gridCtrl: GridControl<AnyData>;
7
- likeFields?: string[];
8
- };
9
- declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: {
12
- default?(_: {}): any;
13
- control?(_: {}): any;
14
- };
15
- refs: {};
16
- rootEl: any;
17
- };
18
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
20
- "update:search": (val: Record<string, any>) => any;
21
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
22
- "onUpdate:search"?: ((val: Record<string, any>) => any) | undefined;
23
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
24
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
- export default _default;
26
- type __VLS_WithTemplateSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
@@ -1,23 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- type __VLS_Props = {
3
- label?: string;
4
- width?: string;
5
- rule?: string;
6
- };
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: {
10
- default?(_: {}): any;
11
- };
12
- refs: {};
13
- rootEl: any;
14
- };
15
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
17
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
- export default _default;
19
- type __VLS_WithTemplateSlots<T, S> = T & {
20
- new (): {
21
- $slots: S;
22
- };
23
- };
@@ -1,36 +0,0 @@
1
- import { TableProps, TableColumnType } from 'ant-design-vue';
2
- import { GridControl } from '../../../index';
3
- import { AnyData } from '../../../../../502417_fapi';
4
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
5
- type __VLS_Props = {
6
- gridCtrl: GridControl<AnyData>;
7
- primaryKey?: string;
8
- tableData?: Record<string, AnyData>[];
9
- rowSelection?: TableProps['rowSelection'];
10
- pagination?: TableProps['pagination'];
11
- scroll?: TableProps['scroll'];
12
- statusDisabled?: Function;
13
- };
14
- declare function __VLS_template(): {
15
- attrs: Partial<{}>;
16
- slots: {
17
- bodyCell?(_: {
18
- column: TableColumnType<any>;
19
- record: Record<string, any>;
20
- }): any;
21
- operate?(_: {
22
- record: Record<string, any>;
23
- }): any;
24
- };
25
- refs: {};
26
- rootEl: any;
27
- };
28
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
29
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
- export default _default;
32
- type __VLS_WithTemplateSlots<T, S> = T & {
33
- new (): {
34
- $slots: S;
35
- };
36
- };
@@ -1,18 +0,0 @@
1
- import { GridControl } from '../../../index';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
- declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
5
- record: Record<string, any>;
6
- gridCtrl: GridControl<T>;
7
- } & Partial<{}>> & PublicProps;
8
- expose(exposed: ShallowUnwrapRef<{}>): void;
9
- attrs: any;
10
- slots: {};
11
- emit: {};
12
- }>) => VNode & {
13
- __ctx?: Awaited<typeof __VLS_setup>;
14
- };
15
- export default _default;
16
- type __VLS_PrettifyLocal<T> = {
17
- [K in keyof T]: T[K];
18
- } & {};
@@ -1,7 +0,0 @@
1
- import { GridControl } from '../../../index';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- gridCtrl: GridControl<any>;
5
- };
6
- declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
7
- export default _default;
@@ -1,18 +0,0 @@
1
- import { EditorControl, GridControl } from '../../../index';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
- declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
5
- gridCtrl: GridControl<T>;
6
- editorCtrl: EditorControl<T>;
7
- } & Partial<{}>> & PublicProps;
8
- expose(exposed: ShallowUnwrapRef<{}>): void;
9
- attrs: any;
10
- slots: {};
11
- emit: {};
12
- }>) => VNode & {
13
- __ctx?: Awaited<typeof __VLS_setup>;
14
- };
15
- export default _default;
16
- type __VLS_PrettifyLocal<T> = {
17
- [K in keyof T]: T[K];
18
- } & {};
@@ -1,46 +0,0 @@
1
- import { TreeControl } from '../../../index';
2
- import { TreeDataNode } from 'ant-design-vue/es/vc-tree-select/interface';
3
- import { EventDataNode } from 'ant-design-vue/es/vc-tree/interface';
4
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
5
- type __VLS_Props = {
6
- treeCtrl: TreeControl;
7
- selectedKeys?: (string | number)[];
8
- expandedKeys?: (string | number)[];
9
- };
10
- declare function __VLS_template(): {
11
- attrs: Partial<{}>;
12
- slots: {
13
- title?(_: {
14
- label: any;
15
- key: any;
16
- icon: any;
17
- }): any;
18
- };
19
- refs: {};
20
- rootEl: any;
21
- };
22
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
- declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
24
- select: (selectedKeys: (string | number)[], info?: {
25
- event: "select";
26
- node: EventDataNode;
27
- selected: boolean;
28
- selectedNodes: TreeDataNode[];
29
- } | undefined) => any;
30
- "update:selectedKeys": (value: (string | number)[]) => any;
31
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
32
- onSelect?: ((selectedKeys: (string | number)[], info?: {
33
- event: "select";
34
- node: EventDataNode;
35
- selected: boolean;
36
- selectedNodes: TreeDataNode[];
37
- } | undefined) => any) | undefined;
38
- "onUpdate:selectedKeys"?: ((value: (string | number)[]) => any) | undefined;
39
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
40
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
41
- export default _default;
42
- type __VLS_WithTemplateSlots<T, S> = T & {
43
- new (): {
44
- $slots: S;
45
- };
46
- };
@@ -1,8 +0,0 @@
1
- declare global {
2
- interface Window {
3
- ace: any;
4
- }
5
- }
6
- export declare const ensureAceLoaded: (baseUrl: string) => Promise<any>;
7
- export declare const loadWorker: (baseUrl: string, lang: string) => Promise<void>;
8
- export declare const loadTheme: (baseUrl: string, theme: string) => Promise<void>;
@@ -1,139 +0,0 @@
1
- import { ReqParams, IUrlInfo } from '../../../../../502417_fapi';
2
- import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<ExtractPropTypes<{
4
- autoload: {
5
- type: BooleanConstructor;
6
- default: boolean;
7
- };
8
- value: {
9
- type: (ArrayConstructor | StringConstructor | NumberConstructor | null)[];
10
- default: undefined;
11
- };
12
- searchField: {
13
- type: StringConstructor;
14
- };
15
- onsearch: {
16
- type: FunctionConstructor;
17
- };
18
- autoClean: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
22
- all: {
23
- type: PropType<boolean>;
24
- required: boolean;
25
- default: boolean;
26
- };
27
- data: {
28
- type: PropType<Record<string, any>[]>;
29
- required: boolean;
30
- };
31
- fieldMap: {
32
- type: PropType<Record<string, string>>;
33
- required: boolean;
34
- };
35
- url: {
36
- type: PropType<IUrlInfo>;
37
- required: boolean;
38
- };
39
- params: {
40
- type: PropType<ReqParams>;
41
- required: boolean;
42
- };
43
- labels: {
44
- type: PropType<string | number | (string | number)[]>;
45
- required: boolean;
46
- };
47
- formData: {
48
- type: PropType<Record<string, any>>;
49
- required: boolean;
50
- };
51
- outFields: {
52
- type: PropType<Record<string, string>>;
53
- required: boolean;
54
- };
55
- reloadEvent: {
56
- type: PropType<string>;
57
- required: boolean;
58
- };
59
- changeEvent: {
60
- type: PropType<string | string[]>;
61
- required: boolean;
62
- };
63
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
64
- change: (...args: any[]) => void;
65
- select: (...args: any[]) => void;
66
- "update:value": (...args: any[]) => void;
67
- "update:labels": (...args: any[]) => void;
68
- }, string, PublicProps, Readonly< ExtractPropTypes<{
69
- autoload: {
70
- type: BooleanConstructor;
71
- default: boolean;
72
- };
73
- value: {
74
- type: (ArrayConstructor | StringConstructor | NumberConstructor | null)[];
75
- default: undefined;
76
- };
77
- searchField: {
78
- type: StringConstructor;
79
- };
80
- onsearch: {
81
- type: FunctionConstructor;
82
- };
83
- autoClean: {
84
- type: BooleanConstructor;
85
- default: boolean;
86
- };
87
- all: {
88
- type: PropType<boolean>;
89
- required: boolean;
90
- default: boolean;
91
- };
92
- data: {
93
- type: PropType<Record<string, any>[]>;
94
- required: boolean;
95
- };
96
- fieldMap: {
97
- type: PropType<Record<string, string>>;
98
- required: boolean;
99
- };
100
- url: {
101
- type: PropType<IUrlInfo>;
102
- required: boolean;
103
- };
104
- params: {
105
- type: PropType<ReqParams>;
106
- required: boolean;
107
- };
108
- labels: {
109
- type: PropType<string | number | (string | number)[]>;
110
- required: boolean;
111
- };
112
- formData: {
113
- type: PropType<Record<string, any>>;
114
- required: boolean;
115
- };
116
- outFields: {
117
- type: PropType<Record<string, string>>;
118
- required: boolean;
119
- };
120
- reloadEvent: {
121
- type: PropType<string>;
122
- required: boolean;
123
- };
124
- changeEvent: {
125
- type: PropType<string | string[]>;
126
- required: boolean;
127
- };
128
- }>> & Readonly<{
129
- onChange?: ((...args: any[]) => any) | undefined;
130
- onSelect?: ((...args: any[]) => any) | undefined;
131
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
132
- "onUpdate:labels"?: ((...args: any[]) => any) | undefined;
133
- }>, {
134
- value: string | number | unknown[] | null;
135
- all: boolean;
136
- autoload: boolean;
137
- autoClean: boolean;
138
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
139
- export default _default;
@@ -1,109 +0,0 @@
1
- import { IUrlInfo, ReqParams } from '../../../../../502417_fapi';
2
- import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<ExtractPropTypes<{
4
- autoload: {
5
- type: PropType<boolean>;
6
- required: boolean;
7
- default: boolean;
8
- };
9
- all: {
10
- type: PropType<boolean>;
11
- required: boolean;
12
- default: boolean;
13
- };
14
- data: {
15
- type: PropType<Record<string, any>[]>;
16
- required: boolean;
17
- };
18
- fieldMap: {
19
- type: PropType<Record<string, string>>;
20
- required: boolean;
21
- };
22
- url: {
23
- type: PropType<IUrlInfo>;
24
- required: boolean;
25
- };
26
- params: {
27
- type: PropType<ReqParams>;
28
- required: boolean;
29
- };
30
- labels: {
31
- type: PropType<string | number | (string | number)[]>;
32
- required: boolean;
33
- };
34
- formData: {
35
- type: PropType<Record<string, any>>;
36
- required: boolean;
37
- };
38
- outFields: {
39
- type: PropType<Record<string, string>>;
40
- required: boolean;
41
- };
42
- reloadEvent: {
43
- type: PropType<string>;
44
- required: boolean;
45
- };
46
- changeEvent: {
47
- type: PropType<string | string[]>;
48
- required: boolean;
49
- };
50
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
51
- change: (...args: any[]) => void;
52
- "update:value": (...args: any[]) => void;
53
- "update:labels": (...args: any[]) => void;
54
- }, string, PublicProps, Readonly< ExtractPropTypes<{
55
- autoload: {
56
- type: PropType<boolean>;
57
- required: boolean;
58
- default: boolean;
59
- };
60
- all: {
61
- type: PropType<boolean>;
62
- required: boolean;
63
- default: boolean;
64
- };
65
- data: {
66
- type: PropType<Record<string, any>[]>;
67
- required: boolean;
68
- };
69
- fieldMap: {
70
- type: PropType<Record<string, string>>;
71
- required: boolean;
72
- };
73
- url: {
74
- type: PropType<IUrlInfo>;
75
- required: boolean;
76
- };
77
- params: {
78
- type: PropType<ReqParams>;
79
- required: boolean;
80
- };
81
- labels: {
82
- type: PropType<string | number | (string | number)[]>;
83
- required: boolean;
84
- };
85
- formData: {
86
- type: PropType<Record<string, any>>;
87
- required: boolean;
88
- };
89
- outFields: {
90
- type: PropType<Record<string, string>>;
91
- required: boolean;
92
- };
93
- reloadEvent: {
94
- type: PropType<string>;
95
- required: boolean;
96
- };
97
- changeEvent: {
98
- type: PropType<string | string[]>;
99
- required: boolean;
100
- };
101
- }>> & Readonly<{
102
- onChange?: ((...args: any[]) => any) | undefined;
103
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
104
- "onUpdate:labels"?: ((...args: any[]) => any) | undefined;
105
- }>, {
106
- all: boolean;
107
- autoload: boolean;
108
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
109
- export default _default;