@farris/ui-vue 1.2.7 → 1.2.8

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 (206) hide show
  1. package/components/accordion/index.esm.js +79 -79
  2. package/components/avatar/index.esm.js +393 -440
  3. package/components/border-editor/index.esm.js +4 -4
  4. package/components/button/index.esm.js +1 -1
  5. package/components/button-edit/index.esm.js +353 -444
  6. package/components/button-group/index.esm.js +5 -5
  7. package/components/calendar/index.esm.js +176 -176
  8. package/components/capsule/index.esm.js +93 -93
  9. package/components/checkbox/index.esm.js +496 -542
  10. package/components/color-picker/index.esm.js +1 -1
  11. package/components/combo-list/index.esm.js +437 -483
  12. package/components/combo-tree/index.esm.js +8 -8
  13. package/components/component/index.esm.js +89 -89
  14. package/components/condition/index.esm.js +839 -726
  15. package/components/content-container/index.esm.js +61 -61
  16. package/components/data-grid/index.esm.js +4702 -4972
  17. package/components/data-view/index.esm.js +2999 -2875
  18. package/components/date-picker/index.esm.js +2626 -2672
  19. package/components/dependent-base/style.js +1 -0
  20. package/components/dependent-fluid/style.js +1 -0
  21. package/components/dependent-icon/style.js +1 -0
  22. package/components/dependent-input/style.js +1 -0
  23. package/components/dependent-table/style.js +1 -0
  24. package/components/designer-canvas/index.esm.js +478 -475
  25. package/components/designer-outline/index.esm.js +173 -131
  26. package/components/discussion-editor/index.esm.js +1 -1
  27. package/components/dropdown/index.esm.js +73 -73
  28. package/components/dynamic-form/index.esm.js +934 -976
  29. package/components/dynamic-resolver/index.esm.js +67 -35
  30. package/components/dynamic-view/index.esm.js +258 -249
  31. package/components/enum-editor/index.esm.js +3 -3
  32. package/components/events-editor/index.esm.js +178 -178
  33. package/components/expression-editor/index.esm.js +105 -105
  34. package/components/external-container/index.esm.js +1892 -1775
  35. package/components/field-selector/index.css +1 -1
  36. package/components/field-selector/index.esm.js +5245 -5514
  37. package/components/filter-bar/index.css +1 -1
  38. package/components/filter-bar/index.esm.js +1483 -1556
  39. package/components/flow-canvas/index.esm.js +678 -675
  40. package/components/image-cropper/index.esm.js +266 -266
  41. package/components/input-group/index.esm.js +668 -714
  42. package/components/layout/index.esm.js +148 -148
  43. package/components/list-nav/index.esm.js +109 -109
  44. package/components/list-view/index.esm.js +1679 -1563
  45. package/components/lookup/index.css +1 -1
  46. package/components/lookup/index.esm.js +6596 -6865
  47. package/components/mapping-editor/index.esm.js +5592 -5862
  48. package/components/message-box/index.esm.js +1 -1
  49. package/components/modal/index.esm.js +1 -1
  50. package/components/nav/index.esm.js +86 -86
  51. package/components/number-range/index.esm.js +1120 -0
  52. package/components/number-range/package.json +8 -0
  53. package/components/number-range/style.js +6 -0
  54. package/components/number-spinner/index.esm.js +1146 -0
  55. package/components/number-spinner/package.json +8 -0
  56. package/components/number-spinner/style.js +4 -0
  57. package/components/order/index.esm.js +988 -1034
  58. package/components/page-footer/index.esm.js +106 -106
  59. package/components/page-header/index.esm.js +1088 -1296
  60. package/components/pagination/index.esm.js +252 -252
  61. package/components/progress/index.esm.js +37 -37
  62. package/components/property-editor/index.esm.js +1416 -1462
  63. package/components/property-panel/index.css +1 -1
  64. package/components/property-panel/index.esm.js +757 -830
  65. package/components/query-solution/index.css +1 -0
  66. package/components/query-solution/index.esm.js +6935 -0
  67. package/components/query-solution/package.json +8 -0
  68. package/components/query-solution/style.js +2 -0
  69. package/components/radio-button/index.esm.js +64 -64
  70. package/components/radio-group/index.esm.js +452 -498
  71. package/components/rate/index.esm.js +92 -92
  72. package/components/response-layout/index.esm.js +33 -33
  73. package/components/response-layout-editor/index.esm.js +117 -117
  74. package/components/response-toolbar/index.esm.js +1021 -1238
  75. package/components/schema-selector/index.esm.js +3215 -3308
  76. package/components/search-box/index.esm.js +143 -143
  77. package/components/section/index.esm.js +209 -209
  78. package/components/smoke-detector/index.esm.js +22 -22
  79. package/components/spacing-editor/index.esm.js +2 -2
  80. package/components/splitter/index.esm.js +1097 -394
  81. package/components/step/index.esm.js +153 -153
  82. package/components/switch/index.esm.js +442 -488
  83. package/components/tabs/index.esm.js +1835 -2004
  84. package/components/tags/index.esm.js +215 -215
  85. package/components/text/index.esm.js +53 -53
  86. package/components/textarea/index.esm.js +451 -482
  87. package/components/time-picker/index.esm.js +1345 -1392
  88. package/components/transfer/index.esm.js +135 -135
  89. package/components/tree-grid/index.css +1 -1
  90. package/components/tree-grid/index.esm.js +5761 -6020
  91. package/components/tree-view/index.esm.js +2380 -2253
  92. package/components/uploader/index.esm.js +1 -1
  93. package/components/verify-detail/index.esm.js +232 -232
  94. package/components/video/index.esm.js +136 -136
  95. package/components/weather/index.esm.js +2 -2
  96. package/farris.all.esm.js +31630 -31224
  97. package/farris.all.umd.cjs +9 -9
  98. package/index.css +1 -1
  99. package/package.json +1 -1
  100. package/types/checkbox/index.d.ts +1 -0
  101. package/types/data-grid/src/designer/column-header.design.component.d.ts +1 -1
  102. package/types/data-grid/src/designer/data-grid-column.props.d.ts +1 -0
  103. package/types/data-view/composition/types.d.ts +1 -1
  104. package/types/designer-canvas/src/composition/dg-control.d.ts +16 -350
  105. package/types/designer-canvas/src/types.d.ts +1 -1
  106. package/types/dynamic-form/index.d.ts +1 -0
  107. package/types/dynamic-form/src/types.d.ts +1 -1
  108. package/types/dynamic-resolver/index.d.ts +1 -0
  109. package/types/dynamic-resolver/src/binding-resolver.d.ts +1 -0
  110. package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
  111. package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -1
  112. package/types/modal/src/modal.props.d.ts +1 -4
  113. package/types/property-panel/src/composition/entity/base-property.d.ts +0 -12
  114. package/types/property-panel/src/composition/entity/input-base-property.d.ts +11 -26
  115. package/types/property-panel/src/composition/entity/schema-dom-mapping.d.ts +10 -8
  116. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +19 -0
  117. package/types/tabs/src/property-config/tabs.property-config.d.ts +6 -6
  118. package/types/tree-grid/src/designer/use-designer-rules.d.ts +3 -0
  119. package/types/tree-grid/src/property-config/tree-grid.property-config.d.ts +11 -0
  120. package/types/tree-grid/src/schema/column-resolver.d.ts +1 -1
  121. package/types/tree-grid/src/tree-grid.props.d.ts +8 -0
  122. package/components/accordion/index.umd.cjs +0 -1
  123. package/components/avatar/index.umd.cjs +0 -1
  124. package/components/border-editor/index.umd.cjs +0 -1
  125. package/components/button/index.umd.cjs +0 -1
  126. package/components/button-edit/index.umd.cjs +0 -1
  127. package/components/button-group/index.umd.cjs +0 -1
  128. package/components/calculator/index.umd.cjs +0 -1
  129. package/components/calendar/index.umd.cjs +0 -1
  130. package/components/capsule/index.umd.cjs +0 -1
  131. package/components/checkbox/index.umd.cjs +0 -1
  132. package/components/color-picker/index.umd.cjs +0 -3
  133. package/components/combo-list/index.umd.cjs +0 -1
  134. package/components/combo-tree/index.umd.cjs +0 -1
  135. package/components/common/index.umd.cjs +0 -1
  136. package/components/component/index.umd.cjs +0 -1
  137. package/components/condition/index.umd.cjs +0 -1
  138. package/components/content-container/index.umd.cjs +0 -1
  139. package/components/data-grid/index.umd.cjs +0 -1
  140. package/components/data-view/index.umd.cjs +0 -1
  141. package/components/date-picker/index.umd.cjs +0 -1
  142. package/components/designer-canvas/index.umd.cjs +0 -1
  143. package/components/designer-outline/index.umd.cjs +0 -1
  144. package/components/designer-toolbox/index.umd.cjs +0 -1
  145. package/components/discussion-editor/index.umd.cjs +0 -3
  146. package/components/discussion-list/index.umd.cjs +0 -1
  147. package/components/drawer/index.umd.cjs +0 -1
  148. package/components/dropdown/index.umd.cjs +0 -2
  149. package/components/dynamic-form/index.umd.cjs +0 -1
  150. package/components/dynamic-resolver/index.umd.cjs +0 -1
  151. package/components/dynamic-view/index.umd.cjs +0 -1
  152. package/components/enum-editor/index.umd.cjs +0 -1
  153. package/components/events-editor/index.umd.cjs +0 -1
  154. package/components/expression-editor/index.umd.cjs +0 -1
  155. package/components/external-container/index.umd.cjs +0 -1
  156. package/components/field-selector/index.umd.cjs +0 -1
  157. package/components/filter-bar/index.umd.cjs +0 -1
  158. package/components/flow-canvas/index.umd.cjs +0 -1
  159. package/components/image-cropper/index.umd.cjs +0 -1
  160. package/components/input-group/index.umd.cjs +0 -1
  161. package/components/layout/index.umd.cjs +0 -1
  162. package/components/list-nav/index.umd.cjs +0 -1
  163. package/components/list-view/index.umd.cjs +0 -1
  164. package/components/loading/index.umd.cjs +0 -8
  165. package/components/locale/index.umd.cjs +0 -1
  166. package/components/lookup/index.umd.cjs +0 -1
  167. package/components/mapping-editor/index.umd.cjs +0 -1
  168. package/components/message-box/index.umd.cjs +0 -1
  169. package/components/modal/index.umd.cjs +0 -1
  170. package/components/nav/index.umd.cjs +0 -3
  171. package/components/notify/index.umd.cjs +0 -1
  172. package/components/order/index.umd.cjs +0 -1
  173. package/components/page-footer/index.umd.cjs +0 -1
  174. package/components/page-header/index.umd.cjs +0 -1
  175. package/components/pagination/index.umd.cjs +0 -1
  176. package/components/popover/index.umd.cjs +0 -1
  177. package/components/progress/index.umd.cjs +0 -3
  178. package/components/property-editor/index.umd.cjs +0 -3
  179. package/components/property-panel/index.umd.cjs +0 -1
  180. package/components/radio-button/index.umd.cjs +0 -1
  181. package/components/radio-group/index.umd.cjs +0 -1
  182. package/components/rate/index.umd.cjs +0 -1
  183. package/components/response-layout/index.umd.cjs +0 -1
  184. package/components/response-layout-editor/index.umd.cjs +0 -1
  185. package/components/response-toolbar/index.umd.cjs +0 -1
  186. package/components/schema-selector/index.umd.cjs +0 -8
  187. package/components/search-box/index.umd.cjs +0 -1
  188. package/components/section/index.umd.cjs +0 -1
  189. package/components/smoke-detector/index.umd.cjs +0 -1
  190. package/components/spacing-editor/index.umd.cjs +0 -1
  191. package/components/splitter/index.umd.cjs +0 -1
  192. package/components/step/index.umd.cjs +0 -1
  193. package/components/switch/index.umd.cjs +0 -1
  194. package/components/tabs/index.umd.cjs +0 -1
  195. package/components/tags/index.umd.cjs +0 -1
  196. package/components/text/index.umd.cjs +0 -1
  197. package/components/textarea/index.umd.cjs +0 -1
  198. package/components/time-picker/index.umd.cjs +0 -1
  199. package/components/tooltip/index.umd.cjs +0 -1
  200. package/components/transfer/index.umd.cjs +0 -1
  201. package/components/tree-grid/index.umd.cjs +0 -1
  202. package/components/tree-view/index.umd.cjs +0 -1
  203. package/components/uploader/index.umd.cjs +0 -2
  204. package/components/verify-detail/index.umd.cjs +0 -1
  205. package/components/video/index.umd.cjs +0 -1
  206. package/components/weather/index.umd.cjs +0 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farris/ui-vue",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Farris Vue, a Farris Design based Vue3 component library.",
6
6
  "keywords": [
@@ -18,6 +18,7 @@ import FCheckBox from './src/checkbox.component';
18
18
  import FCheckBoxGroup from './src/checkbox-group.component';
19
19
  export * from './src/checkbox-group.props';
20
20
  export * from './src/checkbox.props';
21
+ export * from './src/composition/types';
21
22
  export { FCheckBoxGroup, FCheckBox };
22
23
  declare const _default: {
23
24
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
@@ -16,6 +16,6 @@
16
16
  import { Ref } from 'vue';
17
17
  import { UseColumn, UseDataView, UseDragColumn, UseColumnFilter, UseFilterHistory, UseFitColumn, UseGroupColumn, UseSidebar, UseSort, UseVirtualScroll, UseFilter, DataViewOptions, UseSelection, VisualData } from '../../../data-view/composition/types';
18
18
  import { DesignerItemContext } from '../../../designer-canvas';
19
- export default function (designItemContext: DesignerItemContext, props: DataViewOptions, gridContentRef: Ref<any>, leftFixedGridContentRef: Ref<any>, rightFixedGridContentRef: Ref<any>, useColumnComposition: UseColumn, useDataViewComposition: UseDataView, useDragColumnComposition: UseDragColumn, useColumnFilterComposition: UseColumnFilter, useFilterComposition: UseFilter, useFilterHistoryComposition: UseFilterHistory, useFitColumnComposition: UseFitColumn, useGroupColumnComposition: UseGroupColumn, useSelectionComposition: UseSelection, useSidebarComposition: UseSidebar, useSortComposition: UseSort, useVirtualScrollComposition: UseVirtualScroll, viewPortWidth: Ref<number>, visibleDatas: Ref<VisualData[]>): {
19
+ export default function (designItemContext: DesignerItemContext, props: DataViewOptions, gridContentRef: Ref<any>, leftFixedGridContentRef: Ref<any>, rightFixedGridContentRef: Ref<any>, useColumnComposition: UseColumn, useDataViewComposition: UseDataView, useDragColumnComposition: UseDragColumn, useColumnFilterComposition: UseColumnFilter, useFilterComposition: UseFilter, useFilterHistoryComposition: UseFilterHistory, useFitColumnComposition: UseFitColumn, useGroupColumnComposition: UseGroupColumn, useSelectionComposition: UseSelection, useSidebarComposition: UseSidebar, useSortComposition: UseSort, useVirtualScrollComposition: UseVirtualScroll, viewPortWidth: Ref<number>, visibleDatas: Ref<VisualData[]>, columnType?: string): {
20
20
  renderGridHeader: () => any;
21
21
  };
@@ -29,3 +29,4 @@ export interface DataGridColumnCommand {
29
29
  export declare const dataGridColumnProps: Record<string, any>;
30
30
  export type DataGridColumnProps = ExtractPropTypes<typeof dataGridColumnProps>;
31
31
  export declare const columnPropsResolver: (schemaValue?: Record<string, any>) => Record<string, any>;
32
+ export declare const treeColumnPropsResolver: (schemaValue?: Record<string, any>) => Record<string, any>;
@@ -703,7 +703,7 @@ export interface UseRow {
703
703
  export interface UseSelection {
704
704
  currentSelectedDataId: Ref<string>;
705
705
  getSelectionRow: () => VisualData;
706
- clearSelection(visibleDatas: VisualData[]): void;
706
+ clearSelection(): void;
707
707
  findIndexInSelectedItems(item: any): number;
708
708
  getSelectedItems: () => any[];
709
709
  selectedValues: Ref<string[]>;
@@ -1,10 +1,5 @@
1
1
  export declare const DgControl: {
2
- Button: {
3
- type: string;
4
- name: string;
5
- icon: string;
6
- };
7
- ButtonGroup: {
2
+ button: {
8
3
  type: string;
9
4
  name: string;
10
5
  icon: string;
@@ -24,11 +19,6 @@ export declare const DgControl: {
24
19
  name: string;
25
20
  icon: string;
26
21
  };
27
- DisplayField: {
28
- type: string;
29
- name: string;
30
- icon: string;
31
- };
32
22
  'input-group': {
33
23
  type: string;
34
24
  name: string;
@@ -79,49 +69,29 @@ export declare const DgControl: {
79
69
  name: string;
80
70
  icon: string;
81
71
  };
82
- /** 暂时没用 */
83
- FlexLayout: {
84
- type: string;
85
- name: string;
86
- };
87
- /** 暂时没用 */
88
- FlowLayout: {
89
- type: string;
90
- name: string;
91
- };
92
- ResponseLayout: {
72
+ 'response-form': {
93
73
  type: string;
94
74
  name: string;
95
75
  icon: string;
96
76
  };
97
- ResponseLayoutItem: {
77
+ 'response-layout': {
98
78
  type: string;
99
79
  name: string;
100
80
  icon: string;
101
81
  };
102
- 'tree-grid': {
82
+ 'response-layout-item': {
103
83
  type: string;
104
84
  name: string;
105
85
  icon: string;
106
86
  };
107
- TreeGridField: {
108
- type: string;
109
- name: string;
110
- };
111
- FieldSet: {
112
- type: string;
113
- name: string;
114
- icon: string;
115
- };
116
- Form: {
87
+ 'tree-grid': {
117
88
  type: string;
118
89
  name: string;
119
90
  icon: string;
120
91
  };
121
- QueryForm: {
92
+ 'tree-grid-column': {
122
93
  type: string;
123
94
  name: string;
124
- icon: string;
125
95
  };
126
96
  'data-grid': {
127
97
  type: string;
@@ -132,12 +102,7 @@ export declare const DgControl: {
132
102
  type: string;
133
103
  name: string;
134
104
  };
135
- Panel: {
136
- type: string;
137
- name: string;
138
- icon: string;
139
- };
140
- Module: {
105
+ module: {
141
106
  type: string;
142
107
  name: string;
143
108
  icon: string;
@@ -147,36 +112,6 @@ export declare const DgControl: {
147
112
  name: string;
148
113
  icon: string;
149
114
  };
150
- ExternalContainer: {
151
- type: string;
152
- name: string;
153
- icon: string;
154
- };
155
- Image: {
156
- type: string;
157
- name: string;
158
- icon: string;
159
- };
160
- ImageUpload: {
161
- type: string;
162
- name: string;
163
- icon: string;
164
- };
165
- HiddenContainer: {
166
- type: string;
167
- name: string;
168
- icon: string;
169
- };
170
- ModalContainer: {
171
- type: string;
172
- name: string;
173
- icon: string;
174
- };
175
- RouteContainer: {
176
- type: string;
177
- name: string;
178
- icon: string;
179
- };
180
115
  tabs: {
181
116
  type: string;
182
117
  name: string;
@@ -192,37 +127,7 @@ export declare const DgControl: {
192
127
  name: string;
193
128
  icon: string;
194
129
  };
195
- Tag: {
196
- type: string;
197
- name: string;
198
- icon: string;
199
- };
200
- Sidebar: {
201
- type: string;
202
- name: string;
203
- icon: string;
204
- };
205
- HtmlTemplate: {
206
- type: string;
207
- name: string;
208
- icon: string;
209
- };
210
- ListView: {
211
- type: string;
212
- name: string;
213
- icon: string;
214
- };
215
- RichTextBox: {
216
- type: string;
217
- name: string;
218
- icon: string;
219
- };
220
- TimeSpinner: {
221
- type: string;
222
- name: string;
223
- icon: string;
224
- };
225
- TimePicker: {
130
+ 'time-picker': {
226
131
  type: string;
227
132
  name: string;
228
133
  icon: string;
@@ -232,140 +137,29 @@ export declare const DgControl: {
232
137
  name: string;
233
138
  icon: string;
234
139
  };
235
- SectionToolbar: {
236
- type: string;
237
- name: string;
238
- };
239
- SectionToolbarItem: {
240
- type: string;
241
- name: string;
242
- };
243
- QueryScheme: {
244
- type: string;
245
- name: string;
246
- icon: string;
247
- };
248
- FormHeader: {
249
- type: string;
250
- name: string;
251
- };
252
- Splitter: {
253
- type: string;
254
- name: string;
255
- icon: string;
256
- };
257
- SplitterPane: {
258
- type: string;
259
- name: string;
260
- dependentParentControl: string;
261
- };
262
- WizardDetail: {
263
- type: string;
264
- name: string;
265
- };
266
- WizardDetailContainer: {
267
- type: string;
268
- name: string;
269
- };
270
- Wizard: {
271
- type: string;
272
- name: string;
273
- icon: string;
274
- };
275
- MultiSelect: {
276
- type: string;
277
- name: string;
278
- icon: string;
279
- };
280
- Steps: {
281
- type: string;
282
- name: string;
283
- icon: string;
284
- };
285
- avatar: {
286
- type: string;
287
- name: string;
288
- icon: string;
289
- };
290
- ListFilter: {
291
- type: string;
292
- name: string;
293
- icon: string;
294
- };
295
- ListNav: {
296
- type: string;
297
- name: string;
298
- icon: string;
299
- };
300
- NumberRange: {
301
- type: string;
302
- name: string;
303
- icon: string;
304
- };
305
- Scrollspy: {
306
- type: string;
307
- name: string;
308
- icon: string;
309
- };
310
- LanguageTextBox: {
140
+ 'section-toolbar': {
311
141
  type: string;
312
142
  name: string;
313
- icon: string;
314
143
  };
315
- ComponentRef: {
144
+ 'section-toolbar-item': {
316
145
  type: string;
317
146
  name: string;
318
147
  };
319
- FileUpload: {
148
+ splitter: {
320
149
  type: string;
321
150
  name: string;
322
151
  icon: string;
323
152
  };
324
- FilePreview: {
325
- type: string;
326
- name: string;
327
- icon: string;
328
- };
329
- ViewChange: {
330
- type: string;
331
- name: string;
332
- icon: string;
333
- };
334
- MultiViewContainer: {
335
- type: string;
336
- name: string;
337
- icon: string;
338
- };
339
- MultiViewItem: {
153
+ 'splitter-pane': {
340
154
  type: string;
341
155
  name: string;
342
156
  dependentParentControl: string;
343
157
  };
344
- Footer: {
158
+ 'component-ref': {
345
159
  type: string;
346
160
  name: string;
347
161
  };
348
- DiscussionEditor: {
349
- type: string;
350
- name: string;
351
- icon: string;
352
- };
353
- DiscussionList: {
354
- type: string;
355
- name: string;
356
- icon: string;
357
- };
358
- NavTab: {
359
- type: string;
360
- name: string;
361
- icon: string;
362
- };
363
- Tags: {
364
- type: string;
365
- name: string;
366
- icon: string;
367
- };
368
- Portlet: {
162
+ uploader: {
369
163
  type: string;
370
164
  name: string;
371
165
  icon: string;
@@ -375,140 +169,12 @@ export declare const DgControl: {
375
169
  name: string;
376
170
  icon: string;
377
171
  };
378
- ModalFooter: {
379
- type: string;
380
- name: string;
381
- icon: string;
382
- };
383
- ScrollCollapsibleArea: {
384
- type: string;
385
- name: string;
386
- icon: string;
387
- };
388
- PersonnelSelector: {
389
- type: string;
390
- name: string;
391
- icon: string;
392
- };
393
- Table: {
394
- type: string;
395
- name: string;
396
- icon: string;
397
- };
398
- LoopContainer: {
399
- type: string;
400
- name: string;
401
- icon: string;
402
- };
403
- FileUploadPreview: {
404
- type: string;
405
- name: string;
406
- icon: string;
407
- };
408
- DynamicArea: {
409
- type: string;
410
- name: string;
411
- icon: string;
412
- };
413
- DynamicAreaItem: {
414
- type: string;
415
- name: string;
416
- icon: string;
417
- };
418
- TabToolbar: {
419
- type: string;
420
- name: string;
421
- icon: string;
422
- };
423
- HeaderToolBar: {
424
- type: string;
425
- name: string;
426
- icon: string;
427
- };
428
- ModalFooterToolBar: {
429
- type: string;
430
- name: string;
431
- icon: string;
432
- };
433
- HeaderToolBarItem: {
434
- type: string;
435
- name: string;
436
- icon: string;
437
- };
438
- ModalFooterToolBarItem: {
439
- type: string;
440
- name: string;
441
- icon: string;
442
- };
443
- OrganizationSelector: {
444
- type: string;
445
- name: string;
446
- icon: string;
447
- };
448
- AdminOrganizationSelector: {
449
- type: string;
450
- name: string;
451
- icon: string;
452
- };
453
- EmployeeSelector: {
454
- type: string;
455
- name: string;
456
- icon: string;
457
- };
458
- OaRelation: {
459
- type: string;
460
- name: string;
461
- icon: string;
462
- };
463
- CitySelector: {
464
- type: string;
465
- name: string;
466
- icon: string;
467
- };
468
- ExtIntergration: {
469
- type: string;
470
- name: string;
471
- icon: string;
472
- };
473
- AppointmentCalendar: {
474
- type: string;
475
- name: string;
476
- icon: string;
477
- };
478
- /** 查询类 start */
479
- Charts: {
480
- type: string;
481
- name: string;
482
- icon: string;
483
- };
484
- QdpFramework: {
485
- type: string;
486
- name: string;
487
- icon: string;
488
- };
489
- SpreadSheet: {
490
- type: string;
491
- name: string;
492
- icon: string;
493
- };
494
- QdpConditionDialog: {
495
- type: string;
496
- name: string;
497
- icon: string;
498
- };
499
- QdpConditionDialogTab: {
500
- type: string;
501
- name: string;
502
- icon: string;
503
- };
504
- /** 查询类 end */
505
- /** 审批类 start */
506
- ApprovalLogs: {
172
+ 'page-footer': {
507
173
  type: string;
508
174
  name: string;
509
175
  icon: string;
510
176
  };
511
- ApprovalComments: {
177
+ 'tab-toolbar': {
512
178
  type: string;
513
179
  name: string;
514
180
  icon: string;
@@ -43,7 +43,7 @@ export interface DesignerComponentInstance {
43
43
  */
44
44
  triggerBelongedComponentToDeleteWhenDeleted?: Ref<boolean>;
45
45
  /** 获取属性配置 */
46
- getPropConfig: () => any;
46
+ getPropConfig: (...args: any[]) => any;
47
47
  }
48
48
  export interface ResolveComponentContext {
49
49
  componentType: string;
@@ -5,6 +5,7 @@ export * from './src/types';
5
5
  export * from './src/composition/types';
6
6
  export * from './src/response-form.props';
7
7
  export * from './src/component/dynamic-form-group/dynamic-form-group.props';
8
+ export * from './src/designer/use-designer-rules';
8
9
  export { FResponseForm, FDynamicFormGroup };
9
10
  declare const _default: {
10
11
  install(app: App): void;
@@ -1,4 +1,4 @@
1
- export type EditorType = 'button-edit' | 'check-box' | 'check-group' | 'combo-list' | 'combo-lookup' | 'combo-tree' | 'date-picker' | 'date-range' | 'datetime-picker' | 'datetime-range' | 'events-editor' | 'month-picker' | 'month-range' | 'year-picker' | 'year-range' | 'input-group' | 'lookup' | 'number-range' | 'number-spinner' | 'radio-group' | 'text' | 'response-layout-editor-setting' | 'switch' | 'grid-field-editor' | 'field-selector' | 'schema-selector' | 'mapping-editor';
1
+ export type EditorType = 'button-edit' | 'check-box' | 'check-group' | 'combo-list' | 'combo-lookup' | 'combo-tree' | 'date-picker' | 'date-range' | 'datetime-picker' | 'datetime-range' | 'events-editor' | 'month-picker' | 'month-range' | 'year-picker' | 'year-range' | 'input-group' | 'lookup' | 'number-range' | 'number-spinner' | 'radio-group' | 'text' | 'response-layout-editor-setting' | 'switch' | 'grid-field-editor' | 'field-selector' | 'schema-selector' | 'mapping-editor' | 'textarea';
2
2
  export interface EditorConfig {
3
3
  /** 编辑器类型 */
4
4
  type: EditorType;
@@ -7,3 +7,4 @@ export * from './src/events-resolver';
7
7
  export * from './src/selection-item-resolver';
8
8
  export * from './src/editor-resolver';
9
9
  export * from './src/visible-prop-resolver';
10
+ export * from './src/schema-resolver';
@@ -1,4 +1,5 @@
1
1
  import { BindingResolver } from "./types";
2
2
  export declare function createFormBindingResolver(): BindingResolver;
3
3
  export declare function createCollectionBindingResolver(): BindingResolver;
4
+ export declare function createTreeGridBindingResolver(): BindingResolver;
4
5
  export declare function createDataMappingBindingResolver(): BindingResolver;
@@ -1,7 +1,7 @@
1
1
  declare const FDynamicView: import("vue").DefineComponent<{
2
2
  modelValue: Record<string, any>;
3
3
  schema: Record<string, any>;
4
- }, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, "update:modelValue" | "event", import("vue").PublicProps, Readonly<{
4
+ }, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, "update:modelValue" | "event" | "componentReady", import("vue").PublicProps, Readonly<{
5
5
  modelValue: Record<string, any>;
6
6
  schema: Record<string, any>;
7
7
  }> & Readonly<{}>, {
@@ -1,7 +1,8 @@
1
1
  import { InputBaseProperty } from "../../../property-panel/src/composition/entity/input-base-property";
2
+ import { DesignerComponentInstance } from "../../../designer-canvas/src/types";
2
3
  export declare const LookupSchemaRepositoryToken: unique symbol;
3
4
  export declare class LookupPropertyConfig extends InputBaseProperty {
4
- getPropertyConfig(propertyData: any): {
5
+ getPropertyConfig(propertyData: any, componentInstance: DesignerComponentInstance): {
5
6
  type: string;
6
7
  categories: {
7
8
  basic: any;
@@ -117,10 +117,7 @@ export declare const modalProps: {
117
117
  type: NumberConstructor;
118
118
  };
119
119
  containment: {
120
- type: {
121
- new (): HTMLElement;
122
- prototype: HTMLElement;
123
- };
120
+ type: PropType<HTMLElement>;
124
121
  default: null;
125
122
  };
126
123
  reiszeable: {
@@ -22,17 +22,5 @@ export declare class BaseControlProperty {
22
22
  setDesignViewModelField(propertyData: any): void;
23
23
  changeFieldEditorType(propertyData: any, newControlType: string): void;
24
24
  getBasicPropConfig(propertyData: any): any;
25
- /**
26
- * 卡片控件:切换控件类型后事件
27
- * @param propertyData 控件DOM属性
28
- * @param newControlType 新控件类型
29
- */
30
- changeControlType(propertyData: any, changeObject: any): void;
31
25
  protected getAppearanceConfig(propertyData?: null): any;
32
- /**
33
- * 获取控件:以contents为节点进行定位
34
- * @param controlId 控件ID
35
- * @param domJson 容器
36
- */
37
- private getControlParentContainer;
38
26
  }
@@ -1,35 +1,20 @@
1
1
  import { BaseControlProperty } from "./base-property";
2
+ import { DesignerComponentInstance } from "../../../../designer-canvas/src/types";
2
3
  export declare class InputBaseProperty extends BaseControlProperty {
3
4
  constructor(componentId: string, designerHostService: any);
4
- getBasicProperties(propertyData: any): any;
5
- getAppearanceProperties(propertyData: any): any;
6
- getEditorProperties(propertyData: any): any;
7
- getPropertyConfig(propertyData: any): {
5
+ getPropertyConfig(propertyData: any, componentInstance: DesignerComponentInstance): {
8
6
  type: string;
9
7
  categories: {};
10
8
  };
11
- private getFieldSelectorOptions;
12
- getBindingOtions(propertyData: any): {
13
- description: string;
14
- title: string;
15
- $converter: string;
16
- editor: {
17
- type: string;
18
- bindingType: {
19
- enable: boolean;
20
- };
21
- editorParams: {
22
- propertyData: any;
23
- formBasicInfo: any;
24
- };
25
- columns: {
26
- field: string;
27
- title: string;
28
- }[];
29
- textField: string;
30
- data: any;
31
- };
32
- };
9
+ getBasicProperties(propertyData: any, componentInstance: any): any;
10
+ getAppearanceProperties(propertyData: any): any;
11
+ getEditorProperties(propertyData: any): any;
12
+ /**
13
+ * 卡片控件:切换控件类型后事件
14
+ * @param propertyData 控件DOM属性
15
+ * @param newControlType 新控件类型
16
+ */
17
+ private changeControlType;
33
18
  getComponentConfig(propertyData: any, info?: {}, properties?: {}): {
34
19
  properties: {
35
20
  readonly: {
@@ -47,14 +47,16 @@ export declare class SchemaDOMMapping {
47
47
  key: string;
48
48
  value: string;
49
49
  }[];
50
- EmployeeSelector: {
51
- key: string;
52
- value: string;
53
- }[];
54
- AdminOrganizationSelector: {
55
- key: string;
56
- value: string;
57
- }[];
58
50
  };
51
+ /**
52
+ * 根据绑定字段类型获取可用的输入类控件
53
+ */
59
54
  static getEditorTypesByMDataType(fieldType: string): any;
55
+ /**
56
+ * 获取所有输入类控件
57
+ */
58
+ static getAllInputTypes(): {
59
+ key: string;
60
+ value: string;
61
+ }[];
60
62
  }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ExtractPropTypes } from 'vue';
17
+ export declare const tabToolbarItemProps: Record<string, any>;
18
+ export type TabToolbarItemProps = ExtractPropTypes<typeof tabToolbarItemProps>;
19
+ export declare const tabToolbarItemResolver: (schemaValue?: Record<string, any>) => Record<string, any>;