@a2simcode/ui 0.0.20 → 0.0.22

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 (84) hide show
  1. package/LICENSE +53 -53
  2. package/README.md +130 -130
  3. package/dist/components/autocomplete/index.d.ts +3 -0
  4. package/dist/components/autocomplete/src/autocomplete.vue.d.ts +3 -0
  5. package/dist/components/barcode/index.d.ts +520 -93
  6. package/dist/components/barcode/src/barcode.vue.d.ts +419 -98
  7. package/dist/components/button-select/index.d.ts +61 -0
  8. package/dist/components/button-select/src/button-select.vue.d.ts +35 -0
  9. package/dist/components/cascader-select/index.d.ts +4 -20
  10. package/dist/components/cascader-select/src/cascader-select.vue.d.ts +4 -33
  11. package/dist/components/checkbox/index.d.ts +3 -3
  12. package/dist/components/checkbox/src/checkbox.vue.d.ts +1 -1
  13. package/dist/components/code-mirror/index.d.ts +0 -1
  14. package/dist/components/code-mirror/src/code-mirror.vue.d.ts +0 -1
  15. package/dist/components/collapse/index.d.ts +44 -0
  16. package/dist/components/collapse/src/collapse.vue.d.ts +37 -0
  17. package/dist/components/comp/index.d.ts +30 -15
  18. package/dist/components/comp/src/comp.vue.d.ts +31 -45
  19. package/dist/components/comp/src/interface.d.ts +101 -0
  20. package/dist/components/count-up/index.d.ts +3 -3
  21. package/dist/components/count-up/src/count-up.vue.d.ts +1 -1
  22. package/dist/components/dialog/index.d.ts +5 -5
  23. package/dist/components/dialog/src/index.vue.d.ts +2 -2
  24. package/dist/components/dialog-full/index.d.ts +5 -5
  25. package/dist/components/dialog-full/src/index.vue.d.ts +2 -2
  26. package/dist/components/drawer/index.d.ts +5 -5
  27. package/dist/components/drawer/src/drawer.vue.d.ts +2 -2
  28. package/dist/components/editor/index.d.ts +160 -0
  29. package/dist/components/editor/src/editor.vue.d.ts +86 -0
  30. package/dist/components/form/index.d.ts +6 -6
  31. package/dist/components/form/src/form.vue.d.ts +3 -3
  32. package/dist/components/form-item/src/form-item.vue.d.ts +1 -1
  33. package/dist/components/icon/src/icon.vue.d.ts +0 -4
  34. package/dist/components/index.d.ts +22 -6
  35. package/dist/components/inject-provide.d.ts +159 -0
  36. package/dist/components/input/index.d.ts +3 -1
  37. package/dist/components/input/src/input.vue.d.ts +5 -1
  38. package/dist/components/input-color/index.d.ts +114 -0
  39. package/dist/components/input-color/src/input-color.vue.d.ts +73 -0
  40. package/dist/components/input-rows/index.d.ts +200 -0
  41. package/dist/components/input-rows/src/input-rows.vue.d.ts +154 -0
  42. package/dist/components/input-rows/src/interface.d.ts +33 -0
  43. package/dist/components/layer-form/index.d.ts +178 -0
  44. package/dist/components/layer-form/src/layer-form.vue.d.ts +149 -0
  45. package/dist/components/map/index.d.ts +127 -0
  46. package/dist/components/map/src/map.vue.d.ts +92 -0
  47. package/dist/components/number/index.d.ts +3 -3
  48. package/dist/components/number/src/number.vue.d.ts +3 -3
  49. package/dist/components/page/index.d.ts +6 -6
  50. package/dist/components/page/src/page.vue.d.ts +2 -2
  51. package/dist/components/select/index.d.ts +6 -1
  52. package/dist/components/select/src/select.vue.d.ts +7 -2
  53. package/dist/components/slider/index.d.ts +3 -3
  54. package/dist/components/slider/src/slider.vue.d.ts +1 -1
  55. package/dist/components/switch/index.d.ts +71 -0
  56. package/dist/components/switch/src/switch.vue.d.ts +83 -0
  57. package/dist/components/table/index.d.ts +275 -66
  58. package/dist/components/table/src/editors/index.d.ts +26 -0
  59. package/dist/components/table/src/editors/j-comp-editor.d.ts +62 -0
  60. package/dist/components/table/src/table.vue.d.ts +326 -61
  61. package/dist/components/table/src/theme/default.d.ts +27 -0
  62. package/dist/components/table-panel/index.d.ts +459 -0
  63. package/dist/components/table-panel/src/column-panel.vue.d.ts +37 -0
  64. package/dist/components/table-panel/src/filter-panel.vue.d.ts +49 -0
  65. package/dist/components/table-panel/src/keyword-panel.vue.d.ts +36 -0
  66. package/dist/components/table-panel/src/order-panel.vue.d.ts +24 -0
  67. package/dist/components/table-panel/src/table-panel.vue.d.ts +445 -0
  68. package/dist/components/tabs/index.d.ts +156 -0
  69. package/dist/components/tabs/src/tabs.vue.d.ts +110 -0
  70. package/dist/components/tree/index.d.ts +451 -0
  71. package/dist/components/tree/src/tree.vue.d.ts +478 -0
  72. package/dist/components/upload/index.d.ts +13 -13
  73. package/dist/components/upload/src/list.vue.d.ts +1 -1
  74. package/dist/components/upload/src/upload.vue.d.ts +5 -5
  75. package/dist/core/utils/comp.d.ts +18 -0
  76. package/dist/core/utils/index.d.ts +2 -0
  77. package/dist/core/utils/map.d.ts +1 -0
  78. package/dist/core/utils/tree.d.ts +1 -0
  79. package/dist/core/utils/useSortable.d.ts +5 -0
  80. package/dist/simcode-ui.es.js +6888 -3212
  81. package/dist/simcode-ui.umd.js +2 -2
  82. package/dist/stats.html +1 -1
  83. package/dist/ui.css +1 -1
  84. package/package.json +50 -25
@@ -52,34 +52,10 @@ export interface CascaderSelectProps {
52
52
  checkOnClickLeaf?: boolean;
53
53
  /** 是否显示年是性或复选性的前缀(图标) */
54
54
  showPrefix?: boolean;
55
+ /** 是否自动聚焦 */
56
+ autoFocus?: boolean;
55
57
  }
56
- declare function __VLS_template(): {
57
- attrs: Partial<{}>;
58
- slots: {
59
- default?(_: {
60
- node: any;
61
- data: any;
62
- }): any;
63
- prefix?(_: {}): any;
64
- 'suggestion-item'?(_: {
65
- item: any;
66
- }): any;
67
- tag?(_: {
68
- option: any;
69
- handleClose: any;
70
- disabled: any;
71
- }): any;
72
- header?(_: {}): any;
73
- footer?(_: {}): any;
74
- empty?(_: {}): any;
75
- };
76
- refs: {
77
- cascaderRef: unknown;
78
- };
79
- rootEl: any;
80
- };
81
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
82
- declare const __VLS_component: import('vue').DefineComponent<CascaderSelectProps, {
58
+ declare const _default: import('vue').DefineComponent<CascaderSelectProps, {
83
59
  getCheckedNodes: (leafOnly?: boolean) => any;
84
60
  clearCheckedNodes: () => void;
85
61
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -100,6 +76,7 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderSelectProps
100
76
  readonly: boolean;
101
77
  placeholder: string;
102
78
  clearable: boolean;
79
+ autoFocus: boolean;
103
80
  options: CascaderSelectOption[];
104
81
  multiple: boolean;
105
82
  collapseTags: boolean;
@@ -119,10 +96,4 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderSelectProps
119
96
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
120
97
  cascaderRef: unknown;
121
98
  }, any>;
122
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
123
99
  export default _default;
124
- type __VLS_WithTemplateSlots<T, S> = T & {
125
- new (): {
126
- $slots: S;
127
- };
128
- };
@@ -17,8 +17,8 @@ declare const JCheckbox: {
17
17
  min: number;
18
18
  validateEvent: boolean;
19
19
  options: import('..').CheckboxOption[];
20
- tag: string;
21
20
  textColor: string;
21
+ tag: string;
22
22
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
23
23
  P: {};
24
24
  B: {};
@@ -41,8 +41,8 @@ declare const JCheckbox: {
41
41
  min: number;
42
42
  validateEvent: boolean;
43
43
  options: import('..').CheckboxOption[];
44
- tag: string;
45
44
  textColor: string;
45
+ tag: string;
46
46
  }>;
47
47
  __isFragment?: never;
48
48
  __isTeleport?: never;
@@ -65,8 +65,8 @@ declare const JCheckbox: {
65
65
  min: number;
66
66
  validateEvent: boolean;
67
67
  options: import('..').CheckboxOption[];
68
- tag: string;
69
68
  textColor: string;
69
+ tag: string;
70
70
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
71
71
  install: (app: import('vue').App) => void;
72
72
  };
@@ -49,7 +49,7 @@ declare const _default: import('vue').DefineComponent<CheckboxProps, {}, {}, {},
49
49
  min: number;
50
50
  validateEvent: boolean;
51
51
  options: CheckboxOption[];
52
- tag: string;
53
52
  textColor: string;
53
+ tag: string;
54
54
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
55
55
  export default _default;
@@ -21,7 +21,6 @@ declare const JCodeMirror: {
21
21
  isScrollToBottom: boolean;
22
22
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
23
23
  codeWraperRef: HTMLDivElement;
24
- codeRef: HTMLTextAreaElement;
25
24
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
26
25
  P: {};
27
26
  B: {};
@@ -40,6 +40,5 @@ declare const _default: import('vue').DefineComponent<CodeMirrorProps, {
40
40
  isScrollToBottom: boolean;
41
41
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
42
42
  codeWraperRef: HTMLDivElement;
43
- codeRef: HTMLTextAreaElement;
44
43
  }, HTMLDivElement>;
45
44
  export default _default;
@@ -0,0 +1,44 @@
1
+ export declare const JCollapseComp: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').CollapseProps> & Readonly<{
3
+ "onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
4
+ onChange?: ((value: string | number | (string | number)[]) => any) | undefined;
5
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ "update:modelValue": (value: string | number | (string | number)[]) => any;
7
+ change: (value: string | number | (string | number)[]) => any;
8
+ }, import('vue').PublicProps, {
9
+ modelValue: string | number | (string | number)[];
10
+ accordion: boolean;
11
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
12
+ P: {};
13
+ B: {};
14
+ D: {};
15
+ C: {};
16
+ M: {};
17
+ Defaults: {};
18
+ }, Readonly<import('..').CollapseProps> & Readonly<{
19
+ "onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
20
+ onChange?: ((value: string | number | (string | number)[]) => any) | undefined;
21
+ }>, {}, {}, {}, {}, {
22
+ modelValue: string | number | (string | number)[];
23
+ accordion: boolean;
24
+ }>;
25
+ __isFragment?: never;
26
+ __isTeleport?: never;
27
+ __isSuspense?: never;
28
+ } & import('vue').ComponentOptionsBase<Readonly<import('..').CollapseProps> & Readonly<{
29
+ "onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
30
+ onChange?: ((value: string | number | (string | number)[]) => any) | undefined;
31
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
32
+ "update:modelValue": (value: string | number | (string | number)[]) => any;
33
+ change: (value: string | number | (string | number)[]) => any;
34
+ }, string, {
35
+ modelValue: string | number | (string | number)[];
36
+ accordion: boolean;
37
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
38
+ $slots: {
39
+ default?(_: {}): any;
40
+ };
41
+ }) & {
42
+ install: (app: import('vue').App) => void;
43
+ };
44
+ export default JCollapseComp;
@@ -0,0 +1,37 @@
1
+ export interface CollapseProps {
2
+ /**
3
+ * @zh 绑定值
4
+ */
5
+ modelValue?: string | number | (string | number)[];
6
+ /**
7
+ * @zh 是否手风琴模式
8
+ * @defaultValue false
9
+ */
10
+ accordion?: boolean;
11
+ }
12
+ declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
14
+ slots: {
15
+ default?(_: {}): any;
16
+ };
17
+ refs: {};
18
+ rootEl: any;
19
+ };
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import('vue').DefineComponent<CollapseProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
+ "update:modelValue": (value: string | number | (string | number)[]) => any;
23
+ change: (value: string | number | (string | number)[]) => any;
24
+ }, string, import('vue').PublicProps, Readonly<CollapseProps> & Readonly<{
25
+ "onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
26
+ onChange?: ((value: string | number | (string | number)[]) => any) | undefined;
27
+ }>, {
28
+ modelValue: string | number | (string | number)[];
29
+ accordion: boolean;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
+ export default _default;
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -4,10 +4,6 @@ declare const JComp: {
4
4
  type: import('vue').PropType<string | number | boolean | any[] | Record<string, any>>;
5
5
  default: undefined;
6
6
  };
7
- row: {
8
- type: import('vue').PropType<Record<string, any>>;
9
- default: () => void;
10
- };
11
7
  id: {
12
8
  type: StringConstructor;
13
9
  default: string;
@@ -32,6 +28,14 @@ declare const JComp: {
32
28
  type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
33
29
  default: () => never[];
34
30
  };
31
+ row: {
32
+ type: import('vue').PropType<Record<string, any>>;
33
+ default: undefined;
34
+ };
35
+ isTableCell: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
35
39
  }>> & Readonly<{
36
40
  "onUpdate:modelValue"?: ((value: string | number | boolean | any[] | Record<string, any> | undefined) => any) | undefined;
37
41
  onChange?: ((...args: unknown[] & []) => any) | undefined;
@@ -43,10 +47,11 @@ declare const JComp: {
43
47
  id: string;
44
48
  children: import('..').SchemaRuntimeConfig[];
45
49
  modelValue: string | number | boolean | any[] | Record<string, any>;
46
- row: Record<string, any>;
47
50
  getCompType: Function;
48
51
  config: Record<string, any>;
49
52
  getCompConfig: Function;
53
+ row: Record<string, any>;
54
+ isTableCell: boolean;
50
55
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
51
56
  P: {};
52
57
  B: {};
@@ -59,10 +64,6 @@ declare const JComp: {
59
64
  type: import('vue').PropType<string | number | boolean | any[] | Record<string, any>>;
60
65
  default: undefined;
61
66
  };
62
- row: {
63
- type: import('vue').PropType<Record<string, any>>;
64
- default: () => void;
65
- };
66
67
  id: {
67
68
  type: StringConstructor;
68
69
  default: string;
@@ -87,6 +88,14 @@ declare const JComp: {
87
88
  type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
88
89
  default: () => never[];
89
90
  };
91
+ row: {
92
+ type: import('vue').PropType<Record<string, any>>;
93
+ default: undefined;
94
+ };
95
+ isTableCell: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
90
99
  }>> & Readonly<{
91
100
  "onUpdate:modelValue"?: ((value: string | number | boolean | any[] | Record<string, any> | undefined) => any) | undefined;
92
101
  onChange?: ((...args: unknown[] & []) => any) | undefined;
@@ -95,10 +104,11 @@ declare const JComp: {
95
104
  id: string;
96
105
  children: import('..').SchemaRuntimeConfig[];
97
106
  modelValue: string | number | boolean | any[] | Record<string, any>;
98
- row: Record<string, any>;
99
107
  getCompType: Function;
100
108
  config: Record<string, any>;
101
109
  getCompConfig: Function;
110
+ row: Record<string, any>;
111
+ isTableCell: boolean;
102
112
  }>;
103
113
  __isFragment?: never;
104
114
  __isTeleport?: never;
@@ -108,10 +118,6 @@ declare const JComp: {
108
118
  type: import('vue').PropType<string | number | boolean | any[] | Record<string, any>>;
109
119
  default: undefined;
110
120
  };
111
- row: {
112
- type: import('vue').PropType<Record<string, any>>;
113
- default: () => void;
114
- };
115
121
  id: {
116
122
  type: StringConstructor;
117
123
  default: string;
@@ -136,6 +142,14 @@ declare const JComp: {
136
142
  type: import('vue').PropType<import('..').SchemaRuntimeConfig[]>;
137
143
  default: () => never[];
138
144
  };
145
+ row: {
146
+ type: import('vue').PropType<Record<string, any>>;
147
+ default: undefined;
148
+ };
149
+ isTableCell: {
150
+ type: BooleanConstructor;
151
+ default: boolean;
152
+ };
139
153
  }>> & Readonly<{
140
154
  "onUpdate:modelValue"?: ((value: string | number | boolean | any[] | Record<string, any> | undefined) => any) | undefined;
141
155
  onChange?: ((...args: unknown[] & []) => any) | undefined;
@@ -147,10 +161,11 @@ declare const JComp: {
147
161
  id: string;
148
162
  children: import('..').SchemaRuntimeConfig[];
149
163
  modelValue: string | number | boolean | any[] | Record<string, any>;
150
- row: Record<string, any>;
151
164
  getCompType: Function;
152
165
  config: Record<string, any>;
153
166
  getCompConfig: Function;
167
+ row: Record<string, any>;
168
+ isTableCell: boolean;
154
169
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
155
170
  install: (app: import('vue').App) => void;
156
171
  };
@@ -1,34 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- export interface SchemaRuntimeConfig {
3
- /**
4
- * @zh id
5
- */
6
- id: string;
7
- /**
8
- * @zh 插槽名称
9
- */
10
- slot?: string;
11
- /**
12
- * @zh 组件类型
13
- */
14
- type: string;
15
- /**
16
- * @zh 获取组件类型
17
- */
18
- getCompType?: any;
19
- /**
20
- * @zh 组件配置
21
- */
22
- config?: Record<string, any>;
23
- /**
24
- * @zh 获取组件配置
25
- */
26
- getCompConfig?: any;
27
- /**
28
- * @zh 子集
29
- */
30
- children?: SchemaRuntimeConfig[];
31
- }
2
+ import { SchemaRuntimeConfig } from './interface';
32
3
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
33
4
  /**
34
5
  * @zh 输入值
@@ -38,13 +9,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
38
9
  type: PropType<string | number | boolean | any[] | Record<string, any>>;
39
10
  default: undefined;
40
11
  };
41
- /**
42
- * @zh 行数据
43
- */
44
- row: {
45
- type: PropType<Record<string, any>>;
46
- default: () => void;
47
- };
48
12
  /**
49
13
  * @zh 组件 id
50
14
  */
@@ -87,6 +51,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
87
51
  type: PropType<SchemaRuntimeConfig[]>;
88
52
  default: () => never[];
89
53
  };
54
+ /**
55
+ * @zh 行数据
56
+ */
57
+ row: {
58
+ type: PropType<Record<string, any>>;
59
+ default: undefined;
60
+ };
61
+ /**
62
+ * @zh 是否是表格单元格
63
+ */
64
+ isTableCell: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
90
68
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
91
69
  "update:modelValue": (value: string | number | boolean | any[] | Record<string, any> | undefined) => any;
92
70
  change: ((...args: unknown[]) => any) | (() => any);
@@ -99,13 +77,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
99
77
  type: PropType<string | number | boolean | any[] | Record<string, any>>;
100
78
  default: undefined;
101
79
  };
102
- /**
103
- * @zh 行数据
104
- */
105
- row: {
106
- type: PropType<Record<string, any>>;
107
- default: () => void;
108
- };
109
80
  /**
110
81
  * @zh 组件 id
111
82
  */
@@ -148,6 +119,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
148
119
  type: PropType<SchemaRuntimeConfig[]>;
149
120
  default: () => never[];
150
121
  };
122
+ /**
123
+ * @zh 行数据
124
+ */
125
+ row: {
126
+ type: PropType<Record<string, any>>;
127
+ default: undefined;
128
+ };
129
+ /**
130
+ * @zh 是否是表格单元格
131
+ */
132
+ isTableCell: {
133
+ type: BooleanConstructor;
134
+ default: boolean;
135
+ };
151
136
  }>> & Readonly<{
152
137
  "onUpdate:modelValue"?: ((value: string | number | boolean | any[] | Record<string, any> | undefined) => any) | undefined;
153
138
  onChange?: ((...args: unknown[] & []) => any) | undefined;
@@ -156,9 +141,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
156
141
  id: string;
157
142
  children: SchemaRuntimeConfig[];
158
143
  modelValue: string | number | boolean | any[] | Record<string, any>;
159
- row: Record<string, any>;
160
144
  getCompType: Function;
161
145
  config: Record<string, any>;
162
146
  getCompConfig: Function;
147
+ row: Record<string, any>;
148
+ isTableCell: boolean;
163
149
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
164
150
  export default _default;
@@ -0,0 +1,101 @@
1
+ export interface BaseSchemaRuntimeConfig {
2
+ /**
3
+ * @zh id
4
+ */
5
+ id: string;
6
+ /**
7
+ * @zh 插槽名称
8
+ */
9
+ slot?: string;
10
+ /**
11
+ * @zh 获取组件类型
12
+ */
13
+ getCompType?: any;
14
+ /**
15
+ * @zh 组件配置
16
+ */
17
+ config?: Record<string, any> & BaseCompConfig;
18
+ /**
19
+ * @zh 获取组件配置
20
+ */
21
+ getCompConfig?: any;
22
+ }
23
+ export interface BaseCompConfig {
24
+ /**
25
+ * @zh 是否显示
26
+ */
27
+ display?: boolean;
28
+ /**
29
+ * @zh 默认值
30
+ */
31
+ defaultValue?: any;
32
+ /**
33
+ * @zh 其他属性
34
+ */
35
+ [str: string]: any;
36
+ }
37
+ export interface TabsSchemaRuntimeConfig extends BaseSchemaRuntimeConfig {
38
+ /**
39
+ * @zh 组件类型
40
+ */
41
+ type: 'j-tabs';
42
+ /**
43
+ * @zh 子集
44
+ */
45
+ children?: TabPaneSchemaRuntimeConfig[];
46
+ }
47
+ export interface TabPaneSchemaRuntimeConfig extends BaseSchemaRuntimeConfig {
48
+ /**
49
+ * @zh 组件类型
50
+ */
51
+ type?: 'el-tab-pane';
52
+ /**
53
+ * @zh 标签页标题
54
+ */
55
+ config?: {
56
+ label: string;
57
+ active?: boolean;
58
+ } & BaseCompConfig;
59
+ /**
60
+ * @zh 子集
61
+ */
62
+ children?: SchemaRuntimeConfig[];
63
+ }
64
+ export interface GeneralSchemaRuntimeConfig extends BaseSchemaRuntimeConfig {
65
+ /**
66
+ * @zh 组件类型
67
+ */
68
+ type: string;
69
+ /**
70
+ * @zh 子集
71
+ */
72
+ children?: SchemaRuntimeConfig[];
73
+ }
74
+ export interface CollapseSchemaRuntimeConfig extends BaseSchemaRuntimeConfig {
75
+ /**
76
+ * @zh 组件类型
77
+ */
78
+ type: 'j-collapse';
79
+ /**
80
+ * @zh 子集
81
+ */
82
+ children?: CollapseItemSchemaRuntimeConfig[];
83
+ }
84
+ export interface CollapseItemSchemaRuntimeConfig extends BaseSchemaRuntimeConfig {
85
+ /**
86
+ * @zh 组件类型
87
+ */
88
+ type?: 'el-collapse-item';
89
+ /**
90
+ * @zh 面板标题
91
+ */
92
+ config?: {
93
+ label: string;
94
+ active?: boolean;
95
+ } & BaseCompConfig;
96
+ /**
97
+ * @zh 子集
98
+ */
99
+ children?: SchemaRuntimeConfig[];
100
+ }
101
+ export type SchemaRuntimeConfig = GeneralSchemaRuntimeConfig | TabsSchemaRuntimeConfig | TabPaneSchemaRuntimeConfig | CollapseSchemaRuntimeConfig | CollapseItemSchemaRuntimeConfig;
@@ -16,8 +16,8 @@ declare const JCountUp: {
16
16
  reset: () => void;
17
17
  update: (newEndVal: any) => void;
18
18
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
19
- options: Record<string, any>;
20
19
  animation: boolean;
20
+ options: Record<string, any>;
21
21
  startValue: number;
22
22
  decimals: number;
23
23
  duration: number;
@@ -48,8 +48,8 @@ declare const JCountUp: {
48
48
  reset: () => void;
49
49
  update: (newEndVal: any) => void;
50
50
  }, {}, {}, {}, {
51
- options: Record<string, any>;
52
51
  animation: boolean;
52
+ options: Record<string, any>;
53
53
  startValue: number;
54
54
  decimals: number;
55
55
  duration: number;
@@ -75,8 +75,8 @@ declare const JCountUp: {
75
75
  reset: () => void;
76
76
  update: (newEndVal: any) => void;
77
77
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
78
- options: Record<string, any>;
79
78
  animation: boolean;
79
+ options: Record<string, any>;
80
80
  startValue: number;
81
81
  decimals: number;
82
82
  duration: number;
@@ -31,8 +31,8 @@ declare const _default: import('vue').DefineComponent<CountUpProps, {
31
31
  reset: () => void;
32
32
  update: (newEndVal: any) => void;
33
33
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CountUpProps> & Readonly<{}>, {
34
- options: Record<string, any>;
35
34
  animation: boolean;
35
+ options: Record<string, any>;
36
36
  startValue: number;
37
37
  decimals: number;
38
38
  duration: number;
@@ -98,18 +98,18 @@ export declare const JDialog: {
98
98
  };
99
99
  }>> & Readonly<{
100
100
  onOk?: ((...args: any[]) => any) | undefined;
101
+ onCancel?: ((...args: any[]) => any) | undefined;
101
102
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
102
103
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
103
- onCancel?: ((...args: any[]) => any) | undefined;
104
104
  onClosed?: ((...args: any[]) => any) | undefined;
105
105
  }>, {
106
106
  showLoading: (text?: string) => void;
107
107
  hideLoading: () => void;
108
108
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
109
109
  ok: (...args: any[]) => void;
110
+ cancel: (...args: any[]) => void;
110
111
  "update:visible": (...args: any[]) => void;
111
112
  "update:stepActive": (...args: any[]) => void;
112
- cancel: (...args: any[]) => void;
113
113
  closed: (...args: any[]) => void;
114
114
  }, import('vue').PublicProps, {
115
115
  title: string;
@@ -239,9 +239,9 @@ export declare const JDialog: {
239
239
  };
240
240
  }>> & Readonly<{
241
241
  onOk?: ((...args: any[]) => any) | undefined;
242
+ onCancel?: ((...args: any[]) => any) | undefined;
242
243
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
243
244
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
244
- onCancel?: ((...args: any[]) => any) | undefined;
245
245
  onClosed?: ((...args: any[]) => any) | undefined;
246
246
  }>, {
247
247
  showLoading: (text?: string) => void;
@@ -371,18 +371,18 @@ export declare const JDialog: {
371
371
  };
372
372
  }>> & Readonly<{
373
373
  onOk?: ((...args: any[]) => any) | undefined;
374
+ onCancel?: ((...args: any[]) => any) | undefined;
374
375
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
375
376
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
376
- onCancel?: ((...args: any[]) => any) | undefined;
377
377
  onClosed?: ((...args: any[]) => any) | undefined;
378
378
  }>, {
379
379
  showLoading: (text?: string) => void;
380
380
  hideLoading: () => void;
381
381
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
382
382
  ok: (...args: any[]) => void;
383
+ cancel: (...args: any[]) => void;
383
384
  "update:visible": (...args: any[]) => void;
384
385
  "update:stepActive": (...args: any[]) => void;
385
- cancel: (...args: any[]) => void;
386
386
  closed: (...args: any[]) => void;
387
387
  }, string, {
388
388
  title: string;
@@ -188,9 +188,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
188
188
  hideLoading: () => void;
189
189
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
190
190
  ok: (...args: any[]) => void;
191
+ cancel: (...args: any[]) => void;
191
192
  "update:visible": (...args: any[]) => void;
192
193
  "update:stepActive": (...args: any[]) => void;
193
- cancel: (...args: any[]) => void;
194
194
  closed: (...args: any[]) => void;
195
195
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
196
196
  /**
@@ -368,9 +368,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
368
368
  };
369
369
  }>> & Readonly<{
370
370
  onOk?: ((...args: any[]) => any) | undefined;
371
+ onCancel?: ((...args: any[]) => any) | undefined;
371
372
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
372
373
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
373
- onCancel?: ((...args: any[]) => any) | undefined;
374
374
  onClosed?: ((...args: any[]) => any) | undefined;
375
375
  }>, {
376
376
  title: string;