@farris/ui-vue 1.2.7 → 1.2.9
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.
- package/components/accordion/index.esm.js +136 -136
- package/components/accordion/index.umd.cjs +1 -1
- package/components/avatar/index.esm.js +418 -456
- package/components/avatar/index.umd.cjs +1 -1
- package/components/border-editor/index.esm.js +4 -4
- package/components/border-editor/index.umd.cjs +1 -1
- package/components/button/index.esm.js +1 -1
- package/components/button/index.umd.cjs +1 -1
- package/components/button-edit/index.esm.js +363 -436
- package/components/button-edit/index.umd.cjs +1 -1
- package/components/button-group/index.esm.js +5 -5
- package/components/button-group/index.umd.cjs +1 -1
- package/components/calendar/index.esm.js +417 -417
- package/components/calendar/index.umd.cjs +1 -1
- package/components/capsule/index.esm.js +176 -176
- package/components/capsule/index.umd.cjs +1 -1
- package/components/checkbox/index.esm.js +557 -594
- package/components/checkbox/index.umd.cjs +1 -1
- package/components/color-picker/index.esm.js +119 -119
- package/components/color-picker/index.umd.cjs +2 -2
- package/components/combo-list/index.esm.js +502 -535
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/combo-tree/index.esm.js +69 -69
- package/components/combo-tree/index.umd.cjs +1 -1
- package/components/component/index.esm.js +387 -275
- package/components/component/index.umd.cjs +1 -1
- package/components/condition/index.esm.js +1219 -983
- package/components/condition/index.umd.cjs +1 -1
- package/components/content-container/index.esm.js +292 -219
- package/components/content-container/index.umd.cjs +1 -1
- package/components/data-grid/index.css +1 -1
- package/components/data-grid/index.esm.js +5718 -5546
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-view/index.esm.js +3291 -2930
- package/components/data-view/index.umd.cjs +1 -1
- package/components/date-picker/index.esm.js +2650 -2682
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/dependent-base/style.js +1 -0
- package/components/dependent-fluid/style.js +1 -0
- package/components/dependent-icon/style.js +1 -0
- package/components/dependent-input/style.js +1 -0
- package/components/dependent-table/style.js +1 -0
- package/components/designer-canvas/index.css +1 -1
- package/components/designer-canvas/index.esm.js +945 -932
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/designer-outline/index.css +1 -1
- package/components/designer-outline/index.esm.js +175 -133
- package/components/designer-outline/index.umd.cjs +1 -1
- package/components/designer-toolbox/index.esm.js +36 -12
- package/components/designer-toolbox/index.umd.cjs +1 -1
- package/components/discussion-editor/index.esm.js +1 -1
- package/components/discussion-editor/index.umd.cjs +1 -1
- package/components/dropdown/index.esm.js +246 -246
- package/components/dropdown/index.umd.cjs +2 -2
- package/components/dynamic-form/index.esm.js +1319 -1172
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-resolver/index.esm.js +119 -82
- package/components/dynamic-resolver/index.umd.cjs +1 -1
- package/components/dynamic-view/index.esm.js +258 -249
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/enum-editor/index.esm.js +3 -3
- package/components/enum-editor/index.umd.cjs +1 -1
- package/components/events-editor/index.esm.js +569 -514
- package/components/events-editor/index.umd.cjs +1 -1
- package/components/expression-editor/index.esm.js +104 -104
- package/components/expression-editor/index.umd.cjs +1 -1
- package/components/external-container/index.css +1 -1
- package/components/external-container/index.esm.js +3122 -2686
- package/components/external-container/index.umd.cjs +1 -1
- package/components/field-selector/index.css +1 -1
- package/components/field-selector/index.esm.js +6780 -6608
- package/components/field-selector/index.umd.cjs +1 -1
- package/components/filter-bar/index.css +1 -1
- package/components/filter-bar/index.esm.js +1466 -1523
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/flow-canvas/index.css +1 -1
- package/components/flow-canvas/index.esm.js +1048 -1035
- package/components/flow-canvas/index.umd.cjs +1 -1
- package/components/image-cropper/index.esm.js +422 -422
- package/components/image-cropper/index.umd.cjs +1 -1
- package/components/input-group/index.esm.js +674 -716
- package/components/input-group/index.umd.cjs +1 -1
- package/components/layout/index.esm.js +291 -291
- package/components/layout/index.umd.cjs +1 -1
- package/components/list-nav/index.esm.js +303 -230
- package/components/list-nav/index.umd.cjs +1 -1
- package/components/list-view/index.css +1 -1
- package/components/list-view/index.esm.js +2486 -2130
- package/components/list-view/index.umd.cjs +1 -1
- package/components/lookup/index.css +1 -1
- package/components/lookup/index.esm.js +7474 -7272
- package/components/lookup/index.umd.cjs +1 -1
- package/components/mapping-editor/index.css +1 -1
- package/components/mapping-editor/index.esm.js +6139 -5949
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/message-box/index.esm.js +1 -1
- package/components/message-box/index.umd.cjs +1 -1
- package/components/modal/index.esm.js +1 -1
- package/components/modal/index.umd.cjs +1 -1
- package/components/nav/index.esm.js +432 -371
- package/components/nav/index.umd.cjs +3 -3
- package/components/number-range/index.esm.js +1124 -0
- package/components/number-range/index.umd.cjs +1 -0
- package/components/number-range/package.json +8 -0
- package/components/number-range/style.js +6 -0
- package/components/number-spinner/index.esm.js +1155 -0
- package/components/number-spinner/index.umd.cjs +1 -0
- package/components/number-spinner/package.json +8 -0
- package/components/number-spinner/style.js +4 -0
- package/components/order/index.css +1 -1
- package/components/order/index.esm.js +1215 -1178
- package/components/order/index.umd.cjs +1 -1
- package/components/page-footer/index.esm.js +147 -147
- package/components/page-footer/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +1240 -1346
- package/components/page-header/index.umd.cjs +1 -1
- package/components/pagination/index.esm.js +489 -428
- package/components/pagination/index.umd.cjs +1 -1
- package/components/progress/index.esm.js +220 -220
- package/components/progress/index.umd.cjs +3 -3
- package/components/property-editor/index.esm.js +1512 -1540
- package/components/property-editor/index.umd.cjs +3 -3
- package/components/property-panel/index.css +1 -1
- package/components/property-panel/index.esm.js +749 -815
- package/components/property-panel/index.umd.cjs +1 -1
- package/components/query-solution/index.css +1 -0
- package/components/query-solution/index.esm.js +7074 -0
- package/components/query-solution/index.umd.cjs +1 -0
- package/components/query-solution/package.json +8 -0
- package/components/query-solution/style.js +2 -0
- package/components/radio-button/index.esm.js +86 -86
- package/components/radio-button/index.umd.cjs +1 -1
- package/components/radio-group/index.esm.js +442 -479
- package/components/radio-group/index.umd.cjs +1 -1
- package/components/rate/index.esm.js +213 -208
- package/components/rate/index.umd.cjs +1 -1
- package/components/response-layout/index.esm.js +116 -116
- package/components/response-layout/index.umd.cjs +1 -1
- package/components/response-layout-editor/index.esm.js +943 -918
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/response-toolbar/index.esm.js +1174 -1295
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/schema-selector/index.css +1 -1
- package/components/schema-selector/index.esm.js +5383 -5171
- package/components/schema-selector/index.umd.cjs +2 -2
- package/components/search-box/index.esm.js +201 -201
- package/components/search-box/index.umd.cjs +1 -1
- package/components/section/index.esm.js +684 -542
- package/components/section/index.umd.cjs +1 -1
- package/components/smoke-detector/index.esm.js +121 -121
- package/components/smoke-detector/index.umd.cjs +1 -1
- package/components/spacing-editor/index.esm.js +2 -2
- package/components/spacing-editor/index.umd.cjs +1 -1
- package/components/splitter/index.esm.js +1158 -382
- package/components/splitter/index.umd.cjs +1 -1
- package/components/step/index.esm.js +232 -232
- package/components/step/index.umd.cjs +1 -1
- package/components/switch/index.esm.js +451 -487
- package/components/switch/index.umd.cjs +1 -1
- package/components/tabs/index.esm.js +2078 -2168
- package/components/tabs/index.umd.cjs +1 -1
- package/components/tags/index.esm.js +318 -320
- package/components/tags/index.umd.cjs +1 -1
- package/components/text/index.esm.js +192 -192
- package/components/text/index.umd.cjs +1 -1
- package/components/textarea/index.esm.js +471 -497
- package/components/textarea/index.umd.cjs +1 -1
- package/components/time-picker/index.esm.js +1421 -1441
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/transfer/index.css +1 -1
- package/components/transfer/index.esm.js +430 -421
- package/components/transfer/index.umd.cjs +1 -1
- package/components/tree-grid/index.css +1 -1
- package/components/tree-grid/index.esm.js +6806 -6624
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-view/index.esm.js +2793 -2433
- package/components/tree-view/index.umd.cjs +1 -1
- package/components/uploader/index.esm.js +165 -165
- package/components/uploader/index.umd.cjs +2 -2
- package/components/verify-detail/index.esm.js +255 -255
- package/components/verify-detail/index.umd.cjs +1 -1
- package/components/video/index.esm.js +413 -334
- package/components/video/index.umd.cjs +1 -1
- package/components/weather/index.esm.js +902 -902
- package/components/weather/index.umd.cjs +4 -4
- package/farris.all.esm.js +54155 -52847
- package/farris.all.umd.cjs +9 -9
- package/index.css +1 -1
- package/package.json +1 -1
- package/types/button-edit/src/designer/button-group.design.component.d.ts +7 -0
- package/types/checkbox/index.d.ts +1 -0
- package/types/combo-list/src/components/list-container.component.d.ts +3 -0
- package/types/combo-list/src/components/list-container.props.d.ts +5 -1
- package/types/common/entity/entity-schema.d.ts +258 -0
- package/types/component/src/component-ref.props.d.ts +4 -0
- package/types/component/src/composition/inner-component-build-info.d.ts +27 -0
- package/types/component/src/designer/use-designer-rules.d.ts +2 -2
- package/types/data-grid/index.d.ts +5 -2
- package/types/data-grid/src/composition/data-grid-component-creator.service.d.ts +33 -0
- package/types/data-grid/src/data-grid.component.d.ts +2 -1
- package/types/data-grid/src/data-grid.props.d.ts +2 -2
- package/types/data-grid/src/designer/column-header.design.component.d.ts +1 -1
- package/types/data-grid/src/designer/data-grid-column.props.d.ts +1 -0
- package/types/data-grid/src/designer/use-group-column.d.ts +20 -0
- package/types/data-grid/src/property-config/data-grid.property-config.d.ts +4 -0
- package/types/data-grid/src/schema/schema-resolver.d.ts +2 -1
- package/types/data-view/components/column-format/boolean.component.d.ts +4 -0
- package/types/data-view/components/column-format/column-format.component.d.ts +4 -0
- package/types/data-view/components/column-format/date.component.d.ts +4 -0
- package/types/data-view/components/column-format/enum.component.d.ts +4 -0
- package/types/data-view/components/column-format/number.component.d.ts +4 -0
- package/types/data-view/composition/pagination/use-pagination.d.ts +1 -0
- package/types/data-view/composition/types.d.ts +19 -7
- package/types/data-view/composition/use-edit.d.ts +2 -1
- package/types/designer-canvas/src/composition/dg-control.d.ts +16 -350
- package/types/designer-canvas/src/composition/function/use-dragula.d.ts +2 -2
- package/types/designer-canvas/src/types.d.ts +3 -3
- package/types/dynamic-form/index.d.ts +3 -1
- package/types/dynamic-form/src/composition/response-form-component-creator.service.d.ts +31 -0
- package/types/dynamic-form/src/schema/schema-resolver.d.ts +2 -1
- package/types/dynamic-form/src/types.d.ts +1 -1
- package/types/dynamic-resolver/index.d.ts +1 -0
- package/types/dynamic-resolver/src/binding-resolver.d.ts +1 -0
- package/types/dynamic-resolver/src/schema-resolver.d.ts +2 -1
- package/types/dynamic-resolver/src/types.d.ts +3 -2
- package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
- package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -1
- package/types/modal/src/modal.props.d.ts +1 -4
- package/types/property-panel/src/composition/entity/base-property.d.ts +0 -12
- package/types/property-panel/src/composition/entity/input-base-property.d.ts +11 -26
- package/types/property-panel/src/composition/entity/schema-dom-mapping.d.ts +10 -8
- package/types/response-toolbar/src/response-toolbar.props.d.ts +2 -2
- package/types/response-toolbar/src/schema/schema-mapper.d.ts +4 -0
- package/types/section/src/property-config/section.property-config.d.ts +93 -0
- package/types/section/src/schema/schema-resolver.d.ts +2 -1
- package/types/tabs/src/composition/types.d.ts +2 -2
- package/types/tabs/src/designer/tab-header-item.design.component.d.ts +3 -1
- package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +19 -0
- package/types/tabs/src/property-config/tab-page.property-config.d.ts +60 -0
- package/types/tabs/src/property-config/tabs.property-config.d.ts +6 -6
- package/types/tabs/src/schema/schema-resolver.d.ts +2 -1
- package/types/tags/index.d.ts +36 -5
- package/types/tree-grid/src/designer/use-designer-rules.d.ts +3 -0
- package/types/tree-grid/src/property-config/tree-grid.property-config.d.ts +11 -0
- package/types/tree-grid/src/schema/column-resolver.d.ts +1 -1
- package/types/tree-grid/src/tree-grid.props.d.ts +8 -0
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
export declare const DgControl: {
|
|
2
|
-
|
|
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
|
-
|
|
77
|
+
'response-layout': {
|
|
98
78
|
type: string;
|
|
99
79
|
name: string;
|
|
100
80
|
icon: string;
|
|
101
81
|
};
|
|
102
|
-
'
|
|
82
|
+
'response-layout-item': {
|
|
103
83
|
type: string;
|
|
104
84
|
name: string;
|
|
105
85
|
icon: string;
|
|
106
86
|
};
|
|
107
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
144
|
+
'section-toolbar-item': {
|
|
316
145
|
type: string;
|
|
317
146
|
name: string;
|
|
318
147
|
};
|
|
319
|
-
|
|
148
|
+
splitter: {
|
|
320
149
|
type: string;
|
|
321
150
|
name: string;
|
|
322
151
|
icon: string;
|
|
323
152
|
};
|
|
324
|
-
|
|
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
|
-
|
|
158
|
+
'component-ref': {
|
|
345
159
|
type: string;
|
|
346
160
|
name: string;
|
|
347
161
|
};
|
|
348
|
-
|
|
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
|
-
|
|
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
|
-
|
|
177
|
+
'tab-toolbar': {
|
|
512
178
|
type: string;
|
|
513
179
|
name: string;
|
|
514
180
|
icon: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UseDragula } from '../types';
|
|
2
|
-
export declare function useDragula(): UseDragula;
|
|
1
|
+
import { DesignerHostService, UseDragula } from '../types';
|
|
2
|
+
export declare function useDragula(designerHostService: DesignerHostService): UseDragula;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref, SetupContext } from "vue";
|
|
2
|
-
import { DesignerHTMLElement, DraggingResolveContext } from "./composition/types";
|
|
2
|
+
import { DesignerHostService, DesignerHTMLElement, DraggingResolveContext } from "./composition/types";
|
|
3
3
|
export interface ComponentSchema {
|
|
4
4
|
/** 设计时使用 */
|
|
5
5
|
key?: string;
|
|
@@ -32,7 +32,7 @@ export interface DesignerComponentInstance {
|
|
|
32
32
|
onAcceptMovedChildElement: (element: DesignerHTMLElement, soureElement?: DesignerHTMLElement) => void;
|
|
33
33
|
onAcceptNewChildElement: (element: DesignerHTMLElement, targetPosition: number) => ComponentSchema;
|
|
34
34
|
onChildElementMovedOut: (element: HTMLElement) => void;
|
|
35
|
-
addNewChildComponentSchema: (resolveContext: ResolveComponentContext) => ComponentSchema;
|
|
35
|
+
addNewChildComponentSchema: (resolveContext: ResolveComponentContext, designerHostService?: DesignerHostService) => ComponentSchema;
|
|
36
36
|
updateDragAndDropRules: () => void;
|
|
37
37
|
/**
|
|
38
38
|
* 组件在拖拽时是否需要将所属的Component一起拖拽,用于form、data-grid等控件的拖拽
|
|
@@ -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;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import FResponseForm from './src/response-form.component';
|
|
2
2
|
import FDynamicFormGroup from './src/component/dynamic-form-group/dynamic-form-group.component';
|
|
3
|
+
import FDynamicFormInput from './src/component/dynamic-form-input/dynamic-form-input.component';
|
|
3
4
|
import { App } from 'vue';
|
|
4
5
|
export * from './src/types';
|
|
5
6
|
export * from './src/composition/types';
|
|
6
7
|
export * from './src/response-form.props';
|
|
7
8
|
export * from './src/component/dynamic-form-group/dynamic-form-group.props';
|
|
8
|
-
export
|
|
9
|
+
export * from './src/designer/use-designer-rules';
|
|
10
|
+
export { FResponseForm, FDynamicFormGroup, FDynamicFormInput };
|
|
9
11
|
declare const _default: {
|
|
10
12
|
install(app: App): void;
|
|
11
13
|
register(componentMap: Record<string, any>, propsResolverMap: Record<string, any>, configResolverMap: Record<string, any>, resolverMap: Record<string, any>): void;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { DesignerHostService } from '../../../designer-canvas/src/composition/types';
|
|
2
|
+
import { DynamicResolver } from '../../../../components/dynamic-resolver';
|
|
3
|
+
import { ComponentBuildInfo } from '../../../component/src/composition/inner-component-build-info';
|
|
4
|
+
/**
|
|
5
|
+
* 创建卡片类组件服务类
|
|
6
|
+
*/
|
|
7
|
+
export declare class ResponseFormComponentCreatorService {
|
|
8
|
+
private resolver;
|
|
9
|
+
private designerHostService;
|
|
10
|
+
private formSchemaUtils;
|
|
11
|
+
private controlCreatorUtils;
|
|
12
|
+
private designViewModelUtils;
|
|
13
|
+
constructor(resolver: DynamicResolver, designerHostService: DesignerHostService);
|
|
14
|
+
createComponent(buildInfo: ComponentBuildInfo): any;
|
|
15
|
+
createComponentRefNode(buildInfo: ComponentBuildInfo): any;
|
|
16
|
+
createComponentNode(buildInfo: ComponentBuildInfo): any;
|
|
17
|
+
/**
|
|
18
|
+
* 获取卡片组件层级的class样式
|
|
19
|
+
*/
|
|
20
|
+
private getFormComponentClass;
|
|
21
|
+
private createFormComponentContents;
|
|
22
|
+
private resolveControlClassByFormColumns;
|
|
23
|
+
/**
|
|
24
|
+
* 添加viewModel节点
|
|
25
|
+
*/
|
|
26
|
+
createViewModeNode(buildInfo: ComponentBuildInfo): any;
|
|
27
|
+
/**
|
|
28
|
+
* 组装viewModel fields 节点
|
|
29
|
+
*/
|
|
30
|
+
private assembleViewModelFields;
|
|
31
|
+
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { DesignerHostService } from "../../../designer-canvas/src/composition/types";
|
|
1
2
|
import { DynamicResolver } from "../../../dynamic-resolver";
|
|
2
|
-
export declare function schemaResolver(resolver: DynamicResolver, schema: Record<string, any>, context: Record<string, any
|
|
3
|
+
export declare function schemaResolver(resolver: DynamicResolver, schema: Record<string, any>, context: Record<string, any>, designerHostService: DesignerHostService): Record<string, any>;
|
|
@@ -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;
|
|
@@ -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,8 @@
|
|
|
1
|
+
import { DesignerHostService } from "../../designer-canvas/src/composition/types";
|
|
1
2
|
import { MapperFunction, SchemaResolverFunction } from "./types";
|
|
2
3
|
declare const schemaMap: Record<string, any>;
|
|
3
4
|
declare const schemaResolverMap: Record<string, SchemaResolverFunction>;
|
|
4
|
-
declare function getSchemaByType(componentType: string, resolveContext?: Record<string, any
|
|
5
|
+
declare function getSchemaByType(componentType: string, resolveContext?: Record<string, any>, designerHostService?: DesignerHostService): Record<string, any> | null;
|
|
5
6
|
declare function resolveSchemaToProps(schemaValue: Record<string, any>, defaultSchema: Record<string, any>, schemaMapper?: Map<string, string | MapperFunction>): Record<string, any>;
|
|
6
7
|
declare function resolveSchemaWithDefaultValue(schemaValue: Record<string, any>): Record<string, any>;
|
|
7
8
|
export { getSchemaByType, resolveSchemaWithDefaultValue, resolveSchemaToProps, schemaMap, schemaResolverMap };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DesignerHostService } from "../../designer-canvas/src/composition/types";
|
|
1
2
|
export type MapperFunction = (key: string, value: any, resolvedSchema?: any) => Record<string, any>;
|
|
2
3
|
export interface SchemaService {
|
|
3
4
|
closest: (componentId: string, componentType: string) => Record<string, any> | null;
|
|
@@ -11,10 +12,10 @@ export interface PropertyConverter {
|
|
|
11
12
|
convertFrom: (schema: Record<string, any>, propertyKey: string, schemaService: SchemaService, componentId?: string) => any;
|
|
12
13
|
}
|
|
13
14
|
export interface DynamicResolver {
|
|
14
|
-
getSchemaByType: (componentType: string) => Record<string, any> | null;
|
|
15
|
+
getSchemaByType: (componentType: string, resolveContext?: Record<string, any>, designerHostService?: DesignerHostService) => Record<string, any> | null;
|
|
15
16
|
getPropertyConfigByType?: (componentType: string) => Record<string, any> | null;
|
|
16
17
|
}
|
|
17
|
-
export type SchemaResolverFunction = (dynamicResolver: DynamicResolver, schema: Record<string, any>, resolveContext: Record<string, any
|
|
18
|
+
export type SchemaResolverFunction = (dynamicResolver: DynamicResolver, schema: Record<string, any>, resolveContext: Record<string, any>, designerHostService?: DesignerHostService) => Record<string, any>;
|
|
18
19
|
export type EffectFunction = (source: Record<string, any>) => Record<string, any>;
|
|
19
20
|
export interface EventDispatcher {
|
|
20
21
|
dispatch(token: string, eventName: string, ...payloads: any[]): any;
|
|
@@ -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;
|
|
@@ -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
|
-
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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: {
|