@golemui/gui-shared 1.0.3 → 1.1.0
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/CHANGELOG.md +10 -0
- package/index.d.ts +1 -0
- package/index.js +268 -198
- package/index.umd.cjs +1 -1
- package/internals.d.ts +4 -4
- package/internals.js +339 -298
- package/internals.umd.cjs +1 -1
- package/lib/dx/core/dx.domain.d.ts +6 -1
- package/lib/dx/formDef.domain.d.ts +2 -1
- package/lib/dx/gui.d.ts +20 -0
- package/lib/dx/index.d.ts +30 -0
- package/lib/dx/resolveFormInput.d.ts +9 -1
- package/lib/dx/shortcuts/date-time-calendar/dateTimeCalendar.domain.d.ts +22 -0
- package/lib/dx/shortcuts/date-time-calendar/dateTimeCalendarSensibleDefaults.service.d.ts +6 -0
- package/lib/dx/shortcuts/date-time-calendar/guiDateTimeCalendar.impl.d.ts +6 -0
- package/lib/dx/shortcuts/date-time-calendar/register.d.ts +2 -0
- package/lib/dx/shortcuts/date-time-input/dateTimeInput.domain.d.ts +17 -0
- package/lib/dx/shortcuts/date-time-input/guiDateTimeInput.impl.d.ts +6 -0
- package/lib/dx/shortcuts/date-time-input/register.d.ts +2 -0
- package/lib/dx/shortcuts/date-time-picker/dateTimePicker.domain.d.ts +18 -0
- package/lib/dx/shortcuts/date-time-picker/guiDateTimePicker.impl.d.ts +7 -0
- package/lib/dx/shortcuts/date-time-picker/register.d.ts +2 -0
- package/lib/dx/shortcuts/range-date-time-calendar/guiRangeDateTimeCalendar.impl.d.ts +6 -0
- package/lib/dx/shortcuts/range-date-time-calendar/rangeDateTimeCalendar.domain.d.ts +17 -0
- package/lib/dx/shortcuts/range-date-time-calendar/register.d.ts +2 -0
- package/lib/dx/shortcuts/range-date-time-input/guiRangeDateTimeInput.impl.d.ts +6 -0
- package/lib/dx/shortcuts/range-date-time-input/rangeDateTimeInput.domain.d.ts +17 -0
- package/lib/dx/shortcuts/range-date-time-input/register.d.ts +2 -0
- package/lib/dx/shortcuts/range-date-time-picker/guiRangeDateTimePicker.impl.d.ts +6 -0
- package/lib/dx/shortcuts/range-date-time-picker/rangeDateTimePicker.domain.d.ts +17 -0
- package/lib/dx/shortcuts/range-date-time-picker/register.d.ts +2 -0
- package/lib/dx/shortcuts/range-time-input/guiRangeTimeInput.impl.d.ts +6 -0
- package/lib/dx/shortcuts/range-time-input/rangeTimeInput.domain.d.ts +17 -0
- package/lib/dx/shortcuts/range-time-input/register.d.ts +2 -0
- package/lib/dx/shortcuts/range-time-picker/guiRangeTimePicker.impl.d.ts +6 -0
- package/lib/dx/shortcuts/range-time-picker/rangeTimePicker.domain.d.ts +17 -0
- package/lib/dx/shortcuts/range-time-picker/register.d.ts +2 -0
- package/lib/dx/shortcuts/scopes/scopeChain.d.ts +30 -0
- package/lib/dx/shortcuts/time-input/guiTimeInput.impl.d.ts +6 -0
- package/lib/dx/shortcuts/time-input/register.d.ts +2 -0
- package/lib/dx/shortcuts/time-input/timeInput.domain.d.ts +17 -0
- package/lib/dx/shortcuts/time-picker/guiTimePicker.impl.d.ts +7 -0
- package/lib/dx/shortcuts/time-picker/register.d.ts +2 -0
- package/lib/dx/shortcuts/time-picker/timePicker.domain.d.ts +18 -0
- package/lib/golem-form.d.ts +32 -2
- package/lib/widget.props.d.ts +197 -26
- package/lib/widgets.d.ts +2 -2
- package/package.json +3 -3
- package/{register-BaJnbpMX.js → register-C4dCzlrS.js} +756 -413
- package/register-KU4CGoTQ.cjs +1 -0
- package/register-BHpCnzXI.cjs +0 -1
|
@@ -15,14 +15,14 @@ function P(e) {
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function c(e, t) {
|
|
19
19
|
return typeof e == "function" ? e : { type: t, ...e ?? {} };
|
|
20
20
|
}
|
|
21
21
|
function me(e, t, s) {
|
|
22
22
|
if (typeof t == "function") {
|
|
23
|
-
const
|
|
23
|
+
const i = t;
|
|
24
24
|
return {
|
|
25
|
-
items: [{ key: e, def: (o) => ({ type: "text", ...
|
|
25
|
+
items: [{ key: e, def: (o) => ({ type: "text", ...i(o) }) }],
|
|
26
26
|
type: "ITEMS",
|
|
27
27
|
itemType: m.INPUTS,
|
|
28
28
|
tags: s ?? []
|
|
@@ -38,9 +38,9 @@ function me(e, t, s) {
|
|
|
38
38
|
}
|
|
39
39
|
function Te(e, t, s) {
|
|
40
40
|
if (typeof t == "function") {
|
|
41
|
-
const
|
|
41
|
+
const i = t;
|
|
42
42
|
return {
|
|
43
|
-
items: [{ key: e, def: (o) => ({ type: "number", ...
|
|
43
|
+
items: [{ key: e, def: (o) => ({ type: "number", ...i(o) }) }],
|
|
44
44
|
type: "ITEMS",
|
|
45
45
|
itemType: m.INPUTS,
|
|
46
46
|
tags: s ?? []
|
|
@@ -56,9 +56,9 @@ function Te(e, t, s) {
|
|
|
56
56
|
}
|
|
57
57
|
function ge(e, t, s) {
|
|
58
58
|
if (typeof t == "function") {
|
|
59
|
-
const
|
|
59
|
+
const i = t;
|
|
60
60
|
return {
|
|
61
|
-
items: [{ key: e, def: (o) => ({ type: "boolean", ...
|
|
61
|
+
items: [{ key: e, def: (o) => ({ type: "boolean", ...i(o) }) }],
|
|
62
62
|
type: "ITEMS",
|
|
63
63
|
itemType: m.INPUTS,
|
|
64
64
|
tags: s ?? []
|
|
@@ -74,87 +74,87 @@ function ge(e, t, s) {
|
|
|
74
74
|
}
|
|
75
75
|
function be(e, t, s) {
|
|
76
76
|
if (typeof t == "function") {
|
|
77
|
-
const
|
|
78
|
-
return { type: "ITEMS", itemType: "SELECT", items: [{ key: e, def: (l) => ({ type: "select", ...
|
|
77
|
+
const n = t;
|
|
78
|
+
return { type: "ITEMS", itemType: "SELECT", items: [{ key: e, def: (l) => ({ type: "select", ...n(l) }) }], tags: s ?? [] };
|
|
79
79
|
}
|
|
80
80
|
const a = { type: "select", ...t };
|
|
81
81
|
return { type: "ITEMS", itemType: "SELECT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function _e(e, t, s) {
|
|
84
84
|
if (typeof t == "function") {
|
|
85
|
-
const
|
|
85
|
+
const n = t;
|
|
86
86
|
return { type: "ITEMS", itemType: "DROPDOWN", items: [{ key: e, def: (l) => ({
|
|
87
87
|
type: "dropdown",
|
|
88
|
-
...
|
|
88
|
+
...n(l)
|
|
89
89
|
}) }], tags: s ?? [] };
|
|
90
90
|
}
|
|
91
91
|
const a = { type: "dropdown", ...t };
|
|
92
92
|
return { type: "ITEMS", itemType: "DROPDOWN", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Ee(e, t, s) {
|
|
95
95
|
if (typeof t == "function") {
|
|
96
|
-
const
|
|
97
|
-
return { type: "ITEMS", itemType: "RADIOGROUP", items: [{ key: e, def: (l) => ({ type: "radiogroup", ...
|
|
96
|
+
const n = t;
|
|
97
|
+
return { type: "ITEMS", itemType: "RADIOGROUP", items: [{ key: e, def: (l) => ({ type: "radiogroup", ...n(l) }) }], tags: s ?? [] };
|
|
98
98
|
}
|
|
99
99
|
const a = { type: "radiogroup", ...t };
|
|
100
100
|
return { type: "ITEMS", itemType: "RADIOGROUP", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Ie(e, t, s) {
|
|
103
103
|
if (typeof t == "function") {
|
|
104
|
-
const
|
|
105
|
-
return { type: "ITEMS", itemType: "CHECKBOX", items: [{ key: e, def: (l) => ({ type: "checkbox", ...
|
|
104
|
+
const n = t;
|
|
105
|
+
return { type: "ITEMS", itemType: "CHECKBOX", items: [{ key: e, def: (l) => ({ type: "checkbox", ...n(l) }) }], tags: s ?? [] };
|
|
106
106
|
}
|
|
107
107
|
const a = { type: "checkbox", ...t };
|
|
108
108
|
return { type: "ITEMS", itemType: "CHECKBOX", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
109
109
|
}
|
|
110
110
|
function Ae(e, t, s) {
|
|
111
111
|
if (typeof t == "function") {
|
|
112
|
-
const
|
|
113
|
-
return { type: "ITEMS", itemType: "TEXTAREA", items: [{ key: e, def: (l) => ({ type: "textarea", ...
|
|
112
|
+
const n = t;
|
|
113
|
+
return { type: "ITEMS", itemType: "TEXTAREA", items: [{ key: e, def: (l) => ({ type: "textarea", ...n(l) }) }], tags: s ?? [] };
|
|
114
114
|
}
|
|
115
115
|
const a = { type: "textarea", ...t };
|
|
116
116
|
return { type: "ITEMS", itemType: "TEXTAREA", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function he(e, t, s) {
|
|
119
119
|
if (typeof t == "function") {
|
|
120
|
-
const
|
|
121
|
-
return { type: "ITEMS", itemType: "PASSWORD", items: [{ key: e, def: (l) => ({ type: "password", ...
|
|
120
|
+
const n = t;
|
|
121
|
+
return { type: "ITEMS", itemType: "PASSWORD", items: [{ key: e, def: (l) => ({ type: "password", ...n(l) }) }], tags: s ?? [] };
|
|
122
122
|
}
|
|
123
123
|
const a = { type: "password", ...t };
|
|
124
124
|
return { type: "ITEMS", itemType: "PASSWORD", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function Se(e, t, s) {
|
|
127
127
|
if (typeof t == "function") {
|
|
128
|
-
const
|
|
129
|
-
return { type: "ITEMS", itemType: "CURRENCY", items: [{ key: e, def: (l) => ({ type: "currency", ...
|
|
128
|
+
const n = t;
|
|
129
|
+
return { type: "ITEMS", itemType: "CURRENCY", items: [{ key: e, def: (l) => ({ type: "currency", ...n(l) }) }], tags: s ?? [] };
|
|
130
130
|
}
|
|
131
131
|
const a = { type: "currency", ...t };
|
|
132
132
|
return { type: "ITEMS", itemType: "CURRENCY", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function ke(e, t, s) {
|
|
135
135
|
if (typeof t == "function") {
|
|
136
|
-
const
|
|
137
|
-
return { type: "ITEMS", itemType: "MARKDOWN", items: [{ key: e, def: (l) => ({ type: "markdown", ...
|
|
136
|
+
const n = t;
|
|
137
|
+
return { type: "ITEMS", itemType: "MARKDOWN", items: [{ key: e, def: (l) => ({ type: "markdown", ...n(l) }) }], tags: s ?? [] };
|
|
138
138
|
}
|
|
139
139
|
const a = { type: "markdown", ...t };
|
|
140
140
|
return { type: "ITEMS", itemType: "MARKDOWN", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function De(e, t, s) {
|
|
143
143
|
if (typeof t == "function") {
|
|
144
|
-
const
|
|
145
|
-
return { type: "ITEMS", itemType: "LIST", items: [{ key: e, def: (l) => ({ type: "list", ...
|
|
144
|
+
const n = t;
|
|
145
|
+
return { type: "ITEMS", itemType: "LIST", items: [{ key: e, def: (l) => ({ type: "list", ...n(l) }) }], tags: s ?? [] };
|
|
146
146
|
}
|
|
147
147
|
const a = { type: "list", ...t };
|
|
148
148
|
return { type: "ITEMS", itemType: "LIST", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function fe(e, t, s) {
|
|
151
151
|
if (typeof t == "function") {
|
|
152
|
-
const
|
|
152
|
+
const i = t;
|
|
153
153
|
return {
|
|
154
154
|
items: [(o) => ({
|
|
155
155
|
type: "calendar",
|
|
156
156
|
path: e,
|
|
157
|
-
...
|
|
157
|
+
...i(o)
|
|
158
158
|
})],
|
|
159
159
|
type: "ITEMS",
|
|
160
160
|
itemType: "CALENDAR",
|
|
@@ -171,67 +171,184 @@ function Ue(e, t, s) {
|
|
|
171
171
|
function Pe(e, t, s) {
|
|
172
172
|
if (typeof t == "function") {
|
|
173
173
|
const i = t;
|
|
174
|
-
return {
|
|
174
|
+
return {
|
|
175
|
+
items: [(o) => ({
|
|
176
|
+
type: "dateTimeCalendar",
|
|
177
|
+
path: e,
|
|
178
|
+
...i(o)
|
|
179
|
+
})],
|
|
180
|
+
type: "ITEMS",
|
|
181
|
+
itemType: "DATE_TIME_CALENDAR",
|
|
182
|
+
tags: s ?? []
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
return {
|
|
186
|
+
items: [{ type: "dateTimeCalendar", path: e, ...t }],
|
|
187
|
+
type: "ITEMS",
|
|
188
|
+
itemType: "DATE_TIME_CALENDAR",
|
|
189
|
+
tags: s ?? []
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
function Ue(e, t, s) {
|
|
193
|
+
if (typeof t == "function") {
|
|
194
|
+
const n = t;
|
|
195
|
+
return { type: "ITEMS", itemType: "DATE_INPUT", items: [{ key: e, def: (l) => ({ type: "dateInput", ...n(l) }) }], tags: s ?? [] };
|
|
175
196
|
}
|
|
176
197
|
const a = { type: "dateInput", ...t };
|
|
177
198
|
return { type: "ITEMS", itemType: "DATE_INPUT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
178
199
|
}
|
|
179
|
-
function
|
|
200
|
+
function Me(e, t, s) {
|
|
180
201
|
if (typeof t == "function") {
|
|
181
|
-
const
|
|
202
|
+
const n = t;
|
|
182
203
|
return { type: "ITEMS", itemType: "DATE_PICKER", items: [{ key: e, def: (l) => ({
|
|
183
204
|
type: "datePicker",
|
|
184
|
-
...
|
|
205
|
+
...n(l)
|
|
185
206
|
}) }], tags: s ?? [] };
|
|
186
207
|
}
|
|
187
208
|
const a = { type: "datePicker", ...t };
|
|
188
209
|
return { type: "ITEMS", itemType: "DATE_PICKER", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
189
210
|
}
|
|
190
|
-
function
|
|
211
|
+
function Le(e, t, s) {
|
|
191
212
|
if (typeof t == "function") {
|
|
192
|
-
const
|
|
213
|
+
const n = t;
|
|
214
|
+
return { type: "ITEMS", itemType: "DATE_TIME_PICKER", items: [{ key: e, def: (l) => ({
|
|
215
|
+
type: "dateTimePicker",
|
|
216
|
+
...n(l)
|
|
217
|
+
}) }], tags: s ?? [] };
|
|
218
|
+
}
|
|
219
|
+
const a = { type: "dateTimePicker", ...t };
|
|
220
|
+
return { type: "ITEMS", itemType: "DATE_TIME_PICKER", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
221
|
+
}
|
|
222
|
+
function ve(e, t, s) {
|
|
223
|
+
if (typeof t == "function") {
|
|
224
|
+
const n = t;
|
|
193
225
|
return { type: "ITEMS", itemType: "RANGE_CALENDAR", items: [{ key: e, def: (l) => ({
|
|
194
226
|
type: "rangeCalendar",
|
|
195
|
-
...
|
|
227
|
+
...n(l)
|
|
196
228
|
}) }], tags: s ?? [] };
|
|
197
229
|
}
|
|
198
230
|
const a = { type: "rangeCalendar", ...t };
|
|
199
231
|
return { type: "ITEMS", itemType: "RANGE_CALENDAR", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
200
232
|
}
|
|
201
|
-
function
|
|
233
|
+
function Re(e, t, s) {
|
|
202
234
|
if (typeof t == "function") {
|
|
203
|
-
const
|
|
235
|
+
const n = t;
|
|
204
236
|
return { type: "ITEMS", itemType: "RANGE_DATE_INPUT", items: [{ key: e, def: (l) => ({
|
|
205
237
|
type: "rangeDateInput",
|
|
206
|
-
...
|
|
238
|
+
...n(l)
|
|
207
239
|
}) }], tags: s ?? [] };
|
|
208
240
|
}
|
|
209
241
|
const a = { type: "rangeDateInput", ...t };
|
|
210
242
|
return { type: "ITEMS", itemType: "RANGE_DATE_INPUT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
211
243
|
}
|
|
244
|
+
function Ne(e, t, s) {
|
|
245
|
+
if (typeof t == "function") {
|
|
246
|
+
const n = t;
|
|
247
|
+
return { type: "ITEMS", itemType: "RANGE_DATE_TIME_INPUT", items: [{ key: e, def: (l) => ({
|
|
248
|
+
type: "rangeDateTimeInput",
|
|
249
|
+
...n(l)
|
|
250
|
+
}) }], tags: s ?? [] };
|
|
251
|
+
}
|
|
252
|
+
const a = { type: "rangeDateTimeInput", ...t };
|
|
253
|
+
return { type: "ITEMS", itemType: "RANGE_DATE_TIME_INPUT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
254
|
+
}
|
|
212
255
|
function Ce(e, t, s) {
|
|
213
256
|
if (typeof t == "function") {
|
|
214
|
-
const
|
|
257
|
+
const n = t;
|
|
258
|
+
return { type: "ITEMS", itemType: "RANGE_DATE_TIME_CALENDAR", items: [{ key: e, def: (l) => ({
|
|
259
|
+
type: "rangeDateTimeCalendar",
|
|
260
|
+
...n(l)
|
|
261
|
+
}) }], tags: s ?? [] };
|
|
262
|
+
}
|
|
263
|
+
const a = { type: "rangeDateTimeCalendar", ...t };
|
|
264
|
+
return { type: "ITEMS", itemType: "RANGE_DATE_TIME_CALENDAR", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
265
|
+
}
|
|
266
|
+
function Be(e, t, s) {
|
|
267
|
+
if (typeof t == "function") {
|
|
268
|
+
const n = t;
|
|
269
|
+
return { type: "ITEMS", itemType: "RANGE_DATE_TIME_PICKER", items: [{ key: e, def: (l) => ({
|
|
270
|
+
type: "rangeDateTimePicker",
|
|
271
|
+
...n(l)
|
|
272
|
+
}) }], tags: s ?? [] };
|
|
273
|
+
}
|
|
274
|
+
const a = { type: "rangeDateTimePicker", ...t };
|
|
275
|
+
return { type: "ITEMS", itemType: "RANGE_DATE_TIME_PICKER", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
276
|
+
}
|
|
277
|
+
function We(e, t, s) {
|
|
278
|
+
if (typeof t == "function") {
|
|
279
|
+
const n = t;
|
|
280
|
+
return { type: "ITEMS", itemType: "RANGE_TIME_INPUT", items: [{ key: e, def: (l) => ({
|
|
281
|
+
type: "rangeTimeInput",
|
|
282
|
+
...n(l)
|
|
283
|
+
}) }], tags: s ?? [] };
|
|
284
|
+
}
|
|
285
|
+
const a = { type: "rangeTimeInput", ...t };
|
|
286
|
+
return { type: "ITEMS", itemType: "RANGE_TIME_INPUT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
287
|
+
}
|
|
288
|
+
function we(e, t, s) {
|
|
289
|
+
if (typeof t == "function") {
|
|
290
|
+
const n = t;
|
|
215
291
|
return { type: "ITEMS", itemType: "RANGE_DATE_PICKER", items: [{ key: e, def: (l) => ({
|
|
216
292
|
type: "rangeDatePicker",
|
|
217
|
-
...
|
|
293
|
+
...n(l)
|
|
218
294
|
}) }], tags: s ?? [] };
|
|
219
295
|
}
|
|
220
296
|
const a = { type: "rangeDatePicker", ...t };
|
|
221
297
|
return { type: "ITEMS", itemType: "RANGE_DATE_PICKER", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
222
298
|
}
|
|
223
|
-
function
|
|
299
|
+
function xe(e, t, s) {
|
|
300
|
+
if (typeof t == "function") {
|
|
301
|
+
const n = t;
|
|
302
|
+
return { type: "ITEMS", itemType: "RANGE_TIME_PICKER", items: [{ key: e, def: (l) => ({
|
|
303
|
+
type: "rangeTimePicker",
|
|
304
|
+
...n(l)
|
|
305
|
+
}) }], tags: s ?? [] };
|
|
306
|
+
}
|
|
307
|
+
const a = { type: "rangeTimePicker", ...t };
|
|
308
|
+
return { type: "ITEMS", itemType: "RANGE_TIME_PICKER", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
309
|
+
}
|
|
310
|
+
function Ge(e, t, s) {
|
|
311
|
+
if (typeof t == "function") {
|
|
312
|
+
const n = t;
|
|
313
|
+
return { type: "ITEMS", itemType: "TIME_INPUT", items: [{ key: e, def: (l) => ({ type: "timeInput", ...n(l) }) }], tags: s ?? [] };
|
|
314
|
+
}
|
|
315
|
+
const a = { type: "timeInput", ...t };
|
|
316
|
+
return { type: "ITEMS", itemType: "TIME_INPUT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
317
|
+
}
|
|
318
|
+
function Ke(e, t, s) {
|
|
319
|
+
if (typeof t == "function") {
|
|
320
|
+
const n = t;
|
|
321
|
+
return { type: "ITEMS", itemType: "TIME_PICKER", items: [{ key: e, def: (l) => ({
|
|
322
|
+
type: "timePicker",
|
|
323
|
+
...n(l)
|
|
324
|
+
}) }], tags: s ?? [] };
|
|
325
|
+
}
|
|
326
|
+
const a = { type: "timePicker", ...t };
|
|
327
|
+
return { type: "ITEMS", itemType: "TIME_PICKER", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
328
|
+
}
|
|
329
|
+
function Ye(e, t, s) {
|
|
330
|
+
if (typeof t == "function") {
|
|
331
|
+
const n = t;
|
|
332
|
+
return { type: "ITEMS", itemType: "DATE_TIME_INPUT", items: [{ key: e, def: (l) => ({
|
|
333
|
+
type: "dateTimeInput",
|
|
334
|
+
...n(l)
|
|
335
|
+
}) }], tags: s ?? [] };
|
|
336
|
+
}
|
|
337
|
+
const a = { type: "dateTimeInput", ...t };
|
|
338
|
+
return { type: "ITEMS", itemType: "DATE_TIME_INPUT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
339
|
+
}
|
|
340
|
+
function $e(e, t, s, a) {
|
|
224
341
|
if (typeof s == "function") {
|
|
225
342
|
const o = s;
|
|
226
|
-
return { type: "ITEMS", itemType: "CUSTOM_INPUT", items: [{ key: t, def: (
|
|
343
|
+
return { type: "ITEMS", itemType: "CUSTOM_INPUT", items: [{ key: t, def: (y) => ({
|
|
227
344
|
customType: e,
|
|
228
|
-
...o(
|
|
345
|
+
...o(y)
|
|
229
346
|
}) }], tags: a ?? [] };
|
|
230
347
|
}
|
|
231
|
-
const
|
|
232
|
-
return { type: "ITEMS", itemType: "CUSTOM_INPUT", items: [{ key: t, def:
|
|
348
|
+
const i = { customType: e, ...s };
|
|
349
|
+
return { type: "ITEMS", itemType: "CUSTOM_INPUT", items: [{ key: t, def: i }], tags: a ?? [] };
|
|
233
350
|
}
|
|
234
|
-
function
|
|
351
|
+
function Oe(e, t) {
|
|
235
352
|
return {
|
|
236
353
|
items: [e],
|
|
237
354
|
type: "ITEMS",
|
|
@@ -239,47 +356,47 @@ function Be(e, t) {
|
|
|
239
356
|
tags: t ?? []
|
|
240
357
|
};
|
|
241
358
|
}
|
|
242
|
-
function
|
|
359
|
+
function Fe(e, t, s) {
|
|
243
360
|
if (typeof t == "function") {
|
|
244
|
-
const
|
|
361
|
+
const n = t;
|
|
245
362
|
return { type: "ITEMS", itemType: "CUSTOM_ACTION", items: [
|
|
246
|
-
(r) => ({ customType: e, ...
|
|
363
|
+
(r) => ({ customType: e, ...n(r) })
|
|
247
364
|
], tags: s ?? [] };
|
|
248
365
|
}
|
|
249
366
|
return { type: "ITEMS", itemType: "CUSTOM_ACTION", items: [{ customType: e, ...t }], tags: s ?? [] };
|
|
250
367
|
}
|
|
251
|
-
const
|
|
368
|
+
const ze = (e, t) => ({
|
|
252
369
|
type: "ITEMS",
|
|
253
370
|
itemType: m.DISPLAYS,
|
|
254
371
|
items: [{ render: e }],
|
|
255
372
|
tags: t ?? []
|
|
256
373
|
});
|
|
257
|
-
function
|
|
374
|
+
function He(e, t) {
|
|
258
375
|
return { type: "ITEMS", itemType: "ALERTS", items: [e], tags: t ?? [] };
|
|
259
376
|
}
|
|
260
|
-
function
|
|
377
|
+
function Ve(e, t) {
|
|
261
378
|
return { type: "ITEMS", itemType: "MARKDOWN_TEXTS", items: [e], tags: t ?? [] };
|
|
262
379
|
}
|
|
263
|
-
function
|
|
380
|
+
function Xe(e, t, s) {
|
|
264
381
|
if (typeof t == "function") {
|
|
265
382
|
const r = t;
|
|
266
383
|
return { type: "ITEMS", itemType: "CUSTOM_DISPLAY", items: [
|
|
267
|
-
(
|
|
384
|
+
(y) => ({ customType: e, ...r(y) })
|
|
268
385
|
], tags: s ?? [] };
|
|
269
386
|
}
|
|
270
|
-
const { uid: a, ...
|
|
387
|
+
const { uid: a, ...i } = t ?? {};
|
|
271
388
|
return { type: "ITEMS", itemType: "CUSTOM_DISPLAY", items: [{
|
|
272
389
|
customType: e,
|
|
273
390
|
...a != null ? { uid: a } : {},
|
|
274
|
-
props: Object.keys(
|
|
391
|
+
props: Object.keys(i).length > 0 ? i : void 0
|
|
275
392
|
}], tags: s ?? [] };
|
|
276
393
|
}
|
|
277
|
-
const
|
|
394
|
+
const U = (e, t, s) => ({
|
|
278
395
|
type: "ITEMS",
|
|
279
396
|
itemType: m.LAYOUTS,
|
|
280
397
|
items: [{ def: { widgetName: "flex", ...t ?? {} }, children: e }],
|
|
281
398
|
tags: s ?? []
|
|
282
|
-
}),
|
|
399
|
+
}), je = (e, t, s) => U(e, { direction: "row", ...t ?? {} }, s), Ze = (e, t, s) => U(e, { direction: "column", ...t ?? {} }, s), M = (e, t, s) => ({
|
|
283
400
|
type: "ITEMS",
|
|
284
401
|
itemType: m.LAYOUTS,
|
|
285
402
|
items: [
|
|
@@ -294,20 +411,20 @@ const L = (e, t, s) => ({
|
|
|
294
411
|
}
|
|
295
412
|
],
|
|
296
413
|
tags: s ?? []
|
|
297
|
-
}),
|
|
298
|
-
function
|
|
414
|
+
}), qe = (e, t, s) => M(e, { direction: "row", ...t ?? {} }, s), Je = (e, t, s) => M(e, { direction: "column", ...t ?? {} }, s);
|
|
415
|
+
function k(e) {
|
|
299
416
|
return e.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/(^-|-$)/g, "");
|
|
300
417
|
}
|
|
301
|
-
function
|
|
418
|
+
function Qe(e, t, s) {
|
|
302
419
|
const a = e.map((o) => ({
|
|
303
420
|
label: o.label,
|
|
304
|
-
uid: o.uid ??
|
|
305
|
-
})),
|
|
421
|
+
uid: o.uid ?? k(o.label)
|
|
422
|
+
})), i = e.map((o) => ({
|
|
306
423
|
type: "ITEMS",
|
|
307
424
|
itemType: m.LAYOUTS,
|
|
308
425
|
items: [
|
|
309
426
|
{
|
|
310
|
-
def: { uid: o.uid ??
|
|
427
|
+
def: { uid: o.uid ?? k(o.label), direction: "column", widgetName: "flex" },
|
|
311
428
|
children: o.children
|
|
312
429
|
}
|
|
313
430
|
],
|
|
@@ -319,23 +436,23 @@ function Fe(e, t, s) {
|
|
|
319
436
|
items: [{ def: {
|
|
320
437
|
tabs: a,
|
|
321
438
|
...t
|
|
322
|
-
}, children:
|
|
439
|
+
}, children: i }],
|
|
323
440
|
tags: s ?? []
|
|
324
441
|
};
|
|
325
442
|
}
|
|
326
|
-
function
|
|
443
|
+
function D(e) {
|
|
327
444
|
return e.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/(^-|-$)/g, "");
|
|
328
445
|
}
|
|
329
|
-
function
|
|
446
|
+
function et(e, t, s) {
|
|
330
447
|
const a = e.map((o) => ({
|
|
331
448
|
label: o.label,
|
|
332
|
-
uid: o.uid ??
|
|
333
|
-
})),
|
|
449
|
+
uid: o.uid ?? D(o.label)
|
|
450
|
+
})), i = e.map((o) => ({
|
|
334
451
|
type: "ITEMS",
|
|
335
452
|
itemType: m.LAYOUTS,
|
|
336
453
|
items: [
|
|
337
454
|
{
|
|
338
|
-
def: { uid: o.uid ??
|
|
455
|
+
def: { uid: o.uid ?? D(o.label), direction: "column", widgetName: "flex" },
|
|
339
456
|
children: o.children
|
|
340
457
|
}
|
|
341
458
|
],
|
|
@@ -347,64 +464,64 @@ function Ke(e, t, s) {
|
|
|
347
464
|
items: [{ def: {
|
|
348
465
|
sections: a,
|
|
349
466
|
...t
|
|
350
|
-
}, children:
|
|
467
|
+
}, children: i }],
|
|
351
468
|
tags: s ?? []
|
|
352
469
|
};
|
|
353
470
|
}
|
|
354
|
-
function
|
|
471
|
+
function tt(e, t, s, a) {
|
|
355
472
|
if (typeof s == "function") {
|
|
356
473
|
const o = s;
|
|
357
|
-
return { type: "ITEMS", itemType: "CUSTOM_LAYOUT", items: [{ def: (
|
|
474
|
+
return { type: "ITEMS", itemType: "CUSTOM_LAYOUT", items: [{ def: (y) => ({
|
|
358
475
|
customType: e,
|
|
359
|
-
...o(
|
|
476
|
+
...o(y)
|
|
360
477
|
}), children: t }], tags: a ?? [] };
|
|
361
478
|
}
|
|
362
479
|
return { type: "ITEMS", itemType: "CUSTOM_LAYOUT", items: [{ def: { customType: e, ...s }, children: t }], tags: a ?? [] };
|
|
363
480
|
}
|
|
364
|
-
function
|
|
365
|
-
const { template: a, ...
|
|
481
|
+
function st(e, t, s) {
|
|
482
|
+
const { template: a, ...i } = t;
|
|
366
483
|
return {
|
|
367
484
|
type: "ITEMS",
|
|
368
485
|
itemType: "REPEATER",
|
|
369
|
-
items: [{ key: e, def:
|
|
486
|
+
items: [{ key: e, def: i, children: a }],
|
|
370
487
|
tags: s ?? []
|
|
371
488
|
};
|
|
372
489
|
}
|
|
373
|
-
function
|
|
490
|
+
function at(e, t, s) {
|
|
374
491
|
if (typeof t == "function") {
|
|
375
|
-
const
|
|
376
|
-
return { type: "ITEMS", itemType: "TAGS", items: [{ key: e, def: (l) => ({ type: "tags", ...
|
|
492
|
+
const n = t;
|
|
493
|
+
return { type: "ITEMS", itemType: "TAGS", items: [{ key: e, def: (l) => ({ type: "tags", ...n(l) }) }], tags: s ?? [] };
|
|
377
494
|
}
|
|
378
495
|
const a = { type: "tags", ...t };
|
|
379
496
|
return { type: "ITEMS", itemType: "TAGS", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
380
497
|
}
|
|
381
|
-
const
|
|
382
|
-
function
|
|
383
|
-
if (
|
|
498
|
+
const I = /* @__PURE__ */ new Map();
|
|
499
|
+
function L(e, t) {
|
|
500
|
+
if (I.has(e))
|
|
384
501
|
throw new Error(`Item type "${e}" is already registered.`);
|
|
385
|
-
|
|
502
|
+
I.set(e, t);
|
|
386
503
|
}
|
|
387
|
-
function
|
|
388
|
-
const t =
|
|
504
|
+
function it(e) {
|
|
505
|
+
const t = I.get(e);
|
|
389
506
|
if (!t)
|
|
390
507
|
throw new Error(
|
|
391
508
|
`No handler registered for item type "${e}". Did you forget to import the registration module?`
|
|
392
509
|
);
|
|
393
510
|
return t;
|
|
394
511
|
}
|
|
395
|
-
function
|
|
396
|
-
return
|
|
512
|
+
function nt(e) {
|
|
513
|
+
return I.has(e);
|
|
397
514
|
}
|
|
398
515
|
function u(e) {
|
|
399
516
|
const t = (r) => {
|
|
400
517
|
if (!e.sensibleDefaults)
|
|
401
518
|
return {};
|
|
402
519
|
let l = { ...e.sensibleDefaults.base };
|
|
403
|
-
for (const
|
|
404
|
-
const
|
|
520
|
+
for (const y of r) {
|
|
521
|
+
const g = y.config;
|
|
405
522
|
for (const b of e.sensibleDefaults.fields) {
|
|
406
|
-
const
|
|
407
|
-
|
|
523
|
+
const _ = b;
|
|
524
|
+
g[_] != null && (l = { ...l, [_]: g[_] });
|
|
408
525
|
}
|
|
409
526
|
}
|
|
410
527
|
return l;
|
|
@@ -421,7 +538,7 @@ function u(e) {
|
|
|
421
538
|
return { baseDef: l.def, children: l.children };
|
|
422
539
|
}
|
|
423
540
|
}
|
|
424
|
-
},
|
|
541
|
+
}, i = {
|
|
425
542
|
rollUpSensibleDefaults: t,
|
|
426
543
|
applySensibleDefaults: s,
|
|
427
544
|
mapToWidget: e.mapToWidget,
|
|
@@ -430,48 +547,48 @@ function u(e) {
|
|
|
430
547
|
...e.buildCustomWidget ? { buildCustomWidget: e.buildCustomWidget } : {},
|
|
431
548
|
...e.getChildren ? { getChildren: e.getChildren } : {}
|
|
432
549
|
};
|
|
433
|
-
|
|
434
|
-
const
|
|
435
|
-
return { gsl:
|
|
550
|
+
L(e.itemType, i);
|
|
551
|
+
const n = P(e.itemType);
|
|
552
|
+
return { gsl: n, gslByUid: (r, l) => n(l, ((y) => y.uid === r)) };
|
|
436
553
|
}
|
|
437
|
-
function
|
|
554
|
+
function p(e) {
|
|
438
555
|
const {
|
|
439
556
|
uid: t,
|
|
440
557
|
path: s,
|
|
441
558
|
label: a,
|
|
442
|
-
disabled:
|
|
443
|
-
readonly:
|
|
559
|
+
disabled: i,
|
|
560
|
+
readonly: n,
|
|
444
561
|
defaultValue: o,
|
|
445
562
|
tags: r,
|
|
446
563
|
type: l,
|
|
447
|
-
size:
|
|
448
|
-
onLoad:
|
|
564
|
+
size: y,
|
|
565
|
+
onLoad: g,
|
|
449
566
|
onChange: b,
|
|
450
|
-
onFilter:
|
|
567
|
+
onFilter: _,
|
|
451
568
|
on: A,
|
|
452
|
-
states:
|
|
569
|
+
states: E,
|
|
453
570
|
include: pe,
|
|
454
571
|
exclude: de,
|
|
455
572
|
validator: ce,
|
|
456
|
-
...
|
|
573
|
+
...N
|
|
457
574
|
} = e;
|
|
458
|
-
return
|
|
575
|
+
return N;
|
|
459
576
|
}
|
|
460
|
-
function
|
|
577
|
+
function C(e) {
|
|
461
578
|
return e ? e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " ").replace(/\s+/g, " ").trim().replace(/\b\w/g, (t) => t.toUpperCase()) : "";
|
|
462
579
|
}
|
|
463
|
-
function
|
|
464
|
-
return e.label != null || t.suppressAutomaticLabels || !e.path ? e : { ...e, label:
|
|
580
|
+
function d(e, t) {
|
|
581
|
+
return e.label != null || t.suppressAutomaticLabels || !e.path ? e : { ...e, label: C(e.path) };
|
|
465
582
|
}
|
|
466
|
-
function
|
|
583
|
+
function T(e, t) {
|
|
467
584
|
return e.placeholder != null || t.suppressAutomaticPlaceholders || !e.path ? e : { ...e, placeholder: e.path };
|
|
468
585
|
}
|
|
469
|
-
function
|
|
586
|
+
function B(e) {
|
|
470
587
|
switch (e.type) {
|
|
471
588
|
case "text":
|
|
472
|
-
return
|
|
589
|
+
return w(e);
|
|
473
590
|
case "number":
|
|
474
|
-
return
|
|
591
|
+
return x(e);
|
|
475
592
|
case "boolean":
|
|
476
593
|
return W(e);
|
|
477
594
|
default:
|
|
@@ -479,7 +596,7 @@ function w(e) {
|
|
|
479
596
|
}
|
|
480
597
|
}
|
|
481
598
|
function W(e) {
|
|
482
|
-
const t =
|
|
599
|
+
const t = p(e);
|
|
483
600
|
return {
|
|
484
601
|
uid: e.uid ?? "",
|
|
485
602
|
kind: "input",
|
|
@@ -488,12 +605,12 @@ function W(e) {
|
|
|
488
605
|
...e.label != null ? { label: e.label } : {},
|
|
489
606
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
490
607
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
491
|
-
...e.validator != null ? { validator:
|
|
608
|
+
...e.validator != null ? { validator: c(e.validator, "boolean") } : {},
|
|
492
609
|
props: t
|
|
493
610
|
};
|
|
494
611
|
}
|
|
495
|
-
function
|
|
496
|
-
const t =
|
|
612
|
+
function w(e) {
|
|
613
|
+
const t = p(e);
|
|
497
614
|
return {
|
|
498
615
|
uid: e.uid ?? "",
|
|
499
616
|
kind: "input",
|
|
@@ -506,11 +623,11 @@ function R(e) {
|
|
|
506
623
|
placeholder: t.placeholder ?? "",
|
|
507
624
|
...t
|
|
508
625
|
},
|
|
509
|
-
validator:
|
|
626
|
+
validator: c(e.validator, "string")
|
|
510
627
|
};
|
|
511
628
|
}
|
|
512
|
-
function
|
|
513
|
-
const t =
|
|
629
|
+
function x(e) {
|
|
630
|
+
const t = p(e);
|
|
514
631
|
return {
|
|
515
632
|
uid: e.uid ?? "",
|
|
516
633
|
kind: "input",
|
|
@@ -523,10 +640,10 @@ function O(e) {
|
|
|
523
640
|
placeholder: t.placeholder ?? "",
|
|
524
641
|
...t
|
|
525
642
|
},
|
|
526
|
-
validator:
|
|
643
|
+
validator: c(e.validator, "number")
|
|
527
644
|
};
|
|
528
645
|
}
|
|
529
|
-
const { gsl:
|
|
646
|
+
const { gsl: S, gslByUid: lt } = u({
|
|
530
647
|
itemType: "INPUTS",
|
|
531
648
|
entryShape: "keyed",
|
|
532
649
|
sensibleDefaults: {
|
|
@@ -536,18 +653,18 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
536
653
|
},
|
|
537
654
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
538
655
|
apply: (e, t) => {
|
|
539
|
-
let s =
|
|
540
|
-
return s =
|
|
656
|
+
let s = d(e, t);
|
|
657
|
+
return s = T(s, t), s;
|
|
541
658
|
}
|
|
542
659
|
},
|
|
543
|
-
mapToWidget:
|
|
544
|
-
}),
|
|
660
|
+
mapToWidget: B
|
|
661
|
+
}), ot = (e) => S(e, (t) => t.type === "text"), rt = (e) => S(e, (t) => t.type === "number"), ut = (e) => S(e, (t) => t.type === "boolean"), { gsl: pt, gslByUid: dt } = u({
|
|
545
662
|
itemType: "SELECT",
|
|
546
663
|
entryShape: "keyed",
|
|
547
664
|
sensibleDefaults: {
|
|
548
665
|
base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
|
|
549
666
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
550
|
-
apply: (e, t) =>
|
|
667
|
+
apply: (e, t) => T(d(e, t), t)
|
|
551
668
|
},
|
|
552
669
|
mapToWidget: (e) => ({
|
|
553
670
|
uid: e.uid ?? "",
|
|
@@ -558,9 +675,9 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
558
675
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
559
676
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
560
677
|
...e.validator != null ? { validator: e.validator } : {},
|
|
561
|
-
props:
|
|
678
|
+
props: p(e)
|
|
562
679
|
})
|
|
563
|
-
}), { gsl:
|
|
680
|
+
}), { gsl: ct, gslByUid: yt } = u({
|
|
564
681
|
itemType: "DROPDOWN",
|
|
565
682
|
entryShape: "keyed",
|
|
566
683
|
sensibleDefaults: {
|
|
@@ -569,7 +686,7 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
569
686
|
suppressAutomaticPlaceholders: !1
|
|
570
687
|
},
|
|
571
688
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
572
|
-
apply: (e, t) =>
|
|
689
|
+
apply: (e, t) => T(d(e, t), t)
|
|
573
690
|
},
|
|
574
691
|
mapToWidget: (e) => ({
|
|
575
692
|
uid: e.uid ?? "",
|
|
@@ -580,15 +697,15 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
580
697
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
581
698
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
582
699
|
...e.validator != null ? { validator: e.validator } : {},
|
|
583
|
-
props:
|
|
700
|
+
props: p(e)
|
|
584
701
|
})
|
|
585
|
-
}), { gsl:
|
|
702
|
+
}), { gsl: mt, gslByUid: Tt } = u({
|
|
586
703
|
itemType: "RADIOGROUP",
|
|
587
704
|
entryShape: "keyed",
|
|
588
705
|
sensibleDefaults: {
|
|
589
706
|
base: { suppressAutomaticLabels: !1 },
|
|
590
707
|
fields: ["suppressAutomaticLabels"],
|
|
591
|
-
apply: (e, t) =>
|
|
708
|
+
apply: (e, t) => d(e, t)
|
|
592
709
|
},
|
|
593
710
|
mapToWidget: (e) => ({
|
|
594
711
|
uid: e.uid ?? "",
|
|
@@ -599,15 +716,15 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
599
716
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
600
717
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
601
718
|
...e.validator != null ? { validator: e.validator } : {},
|
|
602
|
-
props:
|
|
719
|
+
props: p(e)
|
|
603
720
|
})
|
|
604
|
-
}), { gsl:
|
|
721
|
+
}), { gsl: gt, gslByUid: bt } = u({
|
|
605
722
|
itemType: "CHECKBOX",
|
|
606
723
|
entryShape: "keyed",
|
|
607
724
|
sensibleDefaults: {
|
|
608
725
|
base: { suppressAutomaticLabels: !1 },
|
|
609
726
|
fields: ["suppressAutomaticLabels"],
|
|
610
|
-
apply: (e, t) =>
|
|
727
|
+
apply: (e, t) => d(e, t)
|
|
611
728
|
},
|
|
612
729
|
mapToWidget: (e) => ({
|
|
613
730
|
uid: e.uid ?? "",
|
|
@@ -617,16 +734,16 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
617
734
|
...e.label != null ? { label: e.label } : {},
|
|
618
735
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
619
736
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
620
|
-
...e.validator != null ? { validator:
|
|
621
|
-
props:
|
|
737
|
+
...e.validator != null ? { validator: c(e.validator, "boolean") } : {},
|
|
738
|
+
props: p(e)
|
|
622
739
|
})
|
|
623
|
-
}), { gsl:
|
|
740
|
+
}), { gsl: _t, gslByUid: Et } = u({
|
|
624
741
|
itemType: "TEXTAREA",
|
|
625
742
|
entryShape: "keyed",
|
|
626
743
|
sensibleDefaults: {
|
|
627
744
|
base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
|
|
628
745
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
629
|
-
apply: (e, t) =>
|
|
746
|
+
apply: (e, t) => T(d(e, t), t)
|
|
630
747
|
},
|
|
631
748
|
mapToWidget: (e) => ({
|
|
632
749
|
uid: e.uid ?? "",
|
|
@@ -636,16 +753,16 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
636
753
|
...e.label != null ? { label: e.label } : {},
|
|
637
754
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
638
755
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
639
|
-
...e.validator != null ? { validator:
|
|
640
|
-
props:
|
|
756
|
+
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
757
|
+
props: p(e)
|
|
641
758
|
})
|
|
642
|
-
}), { gsl:
|
|
759
|
+
}), { gsl: It, gslByUid: At } = u({
|
|
643
760
|
itemType: "PASSWORD",
|
|
644
761
|
entryShape: "keyed",
|
|
645
762
|
sensibleDefaults: {
|
|
646
763
|
base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
|
|
647
764
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
648
|
-
apply: (e, t) =>
|
|
765
|
+
apply: (e, t) => T(d(e, t), t)
|
|
649
766
|
},
|
|
650
767
|
mapToWidget: (e) => ({
|
|
651
768
|
uid: e.uid ?? "",
|
|
@@ -655,16 +772,16 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
655
772
|
...e.label != null ? { label: e.label } : {},
|
|
656
773
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
657
774
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
658
|
-
...e.validator != null ? { validator:
|
|
659
|
-
props:
|
|
775
|
+
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
776
|
+
props: p(e)
|
|
660
777
|
})
|
|
661
|
-
}), { gsl:
|
|
778
|
+
}), { gsl: ht, gslByUid: St } = u({
|
|
662
779
|
itemType: "CURRENCY",
|
|
663
780
|
entryShape: "keyed",
|
|
664
781
|
sensibleDefaults: {
|
|
665
782
|
base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
|
|
666
783
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
667
|
-
apply: (e, t) =>
|
|
784
|
+
apply: (e, t) => T(d(e, t), t)
|
|
668
785
|
},
|
|
669
786
|
mapToWidget: (e) => ({
|
|
670
787
|
uid: e.uid ?? "",
|
|
@@ -674,16 +791,16 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
674
791
|
...e.label != null ? { label: e.label } : {},
|
|
675
792
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
676
793
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
677
|
-
...e.validator != null ? { validator:
|
|
678
|
-
props:
|
|
794
|
+
...e.validator != null ? { validator: c(e.validator, "number") } : {},
|
|
795
|
+
props: p(e)
|
|
679
796
|
})
|
|
680
|
-
}), { gsl:
|
|
797
|
+
}), { gsl: kt, gslByUid: Dt } = u({
|
|
681
798
|
itemType: "MARKDOWN",
|
|
682
799
|
entryShape: "keyed",
|
|
683
800
|
sensibleDefaults: {
|
|
684
801
|
base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
|
|
685
802
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
686
|
-
apply: (e, t) =>
|
|
803
|
+
apply: (e, t) => T(d(e, t), t)
|
|
687
804
|
},
|
|
688
805
|
mapToWidget: (e) => ({
|
|
689
806
|
uid: e.uid ?? "",
|
|
@@ -693,16 +810,16 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
693
810
|
...e.label != null ? { label: e.label } : {},
|
|
694
811
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
695
812
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
696
|
-
...e.validator != null ? { validator:
|
|
697
|
-
props:
|
|
813
|
+
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
814
|
+
props: p(e)
|
|
698
815
|
})
|
|
699
|
-
}), { gsl:
|
|
816
|
+
}), { gsl: ft, gslByUid: Pt } = u({
|
|
700
817
|
itemType: "LIST",
|
|
701
818
|
entryShape: "keyed",
|
|
702
819
|
sensibleDefaults: {
|
|
703
820
|
base: { suppressAutomaticLabels: !1 },
|
|
704
821
|
fields: ["suppressAutomaticLabels"],
|
|
705
|
-
apply: (e, t) =>
|
|
822
|
+
apply: (e, t) => d(e, t)
|
|
706
823
|
},
|
|
707
824
|
mapToWidget: (e) => ({
|
|
708
825
|
uid: e.uid ?? "",
|
|
@@ -713,15 +830,15 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
713
830
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
714
831
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
715
832
|
...e.validator != null ? { validator: e.validator } : {},
|
|
716
|
-
props:
|
|
833
|
+
props: p(e)
|
|
717
834
|
})
|
|
718
|
-
}), { gsl:
|
|
835
|
+
}), { gsl: Ut, gslByUid: Mt } = u({
|
|
719
836
|
itemType: "CALENDAR",
|
|
720
837
|
entryShape: "bare",
|
|
721
838
|
sensibleDefaults: {
|
|
722
839
|
base: { suppressAutomaticLabels: !1 },
|
|
723
840
|
fields: ["suppressAutomaticLabels"],
|
|
724
|
-
apply: (e, t) =>
|
|
841
|
+
apply: (e, t) => d(e, t)
|
|
725
842
|
},
|
|
726
843
|
mapToWidget: (e) => ({
|
|
727
844
|
uid: e.uid ?? "",
|
|
@@ -731,16 +848,35 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
731
848
|
...e.label != null ? { label: e.label } : {},
|
|
732
849
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
733
850
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
734
|
-
...e.validator != null ? { validator:
|
|
735
|
-
props:
|
|
851
|
+
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
852
|
+
props: p(e)
|
|
736
853
|
})
|
|
737
|
-
}), { gsl:
|
|
854
|
+
}), { gsl: Lt, gslByUid: vt } = u({
|
|
855
|
+
itemType: "DATE_TIME_CALENDAR",
|
|
856
|
+
entryShape: "bare",
|
|
857
|
+
sensibleDefaults: {
|
|
858
|
+
base: { suppressAutomaticLabels: !1 },
|
|
859
|
+
fields: ["suppressAutomaticLabels"],
|
|
860
|
+
apply: (e, t) => d(e, t)
|
|
861
|
+
},
|
|
862
|
+
mapToWidget: (e) => ({
|
|
863
|
+
uid: e.uid ?? "",
|
|
864
|
+
kind: "input",
|
|
865
|
+
type: "dateTimeCalendar",
|
|
866
|
+
path: e.path ?? "",
|
|
867
|
+
...e.label != null ? { label: e.label } : {},
|
|
868
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
869
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
870
|
+
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
871
|
+
props: p(e)
|
|
872
|
+
})
|
|
873
|
+
}), { gsl: Rt, gslByUid: Nt } = u({
|
|
738
874
|
itemType: "DATE_INPUT",
|
|
739
875
|
entryShape: "keyed",
|
|
740
876
|
sensibleDefaults: {
|
|
741
877
|
base: { suppressAutomaticLabels: !1 },
|
|
742
878
|
fields: ["suppressAutomaticLabels"],
|
|
743
|
-
apply: (e, t) =>
|
|
879
|
+
apply: (e, t) => d(e, t)
|
|
744
880
|
},
|
|
745
881
|
mapToWidget: (e) => ({
|
|
746
882
|
uid: e.uid ?? "",
|
|
@@ -750,10 +886,10 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
750
886
|
...e.label != null ? { label: e.label } : {},
|
|
751
887
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
752
888
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
753
|
-
...e.validator != null ? { validator:
|
|
754
|
-
props:
|
|
889
|
+
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
890
|
+
props: p(e)
|
|
755
891
|
})
|
|
756
|
-
}), { gsl:
|
|
892
|
+
}), { gsl: Ct, gslByUid: Bt } = u({
|
|
757
893
|
itemType: "DATE_PICKER",
|
|
758
894
|
entryShape: "keyed",
|
|
759
895
|
sensibleDefaults: {
|
|
@@ -762,7 +898,7 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
762
898
|
suppressAutomaticPlaceholders: !1
|
|
763
899
|
},
|
|
764
900
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
765
|
-
apply: (e, t) =>
|
|
901
|
+
apply: (e, t) => T(d(e, t), t)
|
|
766
902
|
},
|
|
767
903
|
mapToWidget: (e) => ({
|
|
768
904
|
uid: e.uid ?? "",
|
|
@@ -772,16 +908,38 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
772
908
|
...e.label != null ? { label: e.label } : {},
|
|
773
909
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
774
910
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
775
|
-
...e.validator != null ? { validator:
|
|
776
|
-
props:
|
|
911
|
+
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
912
|
+
props: p(e)
|
|
777
913
|
})
|
|
778
|
-
}), { gsl:
|
|
914
|
+
}), { gsl: Wt, gslByUid: wt } = u({
|
|
915
|
+
itemType: "DATE_TIME_PICKER",
|
|
916
|
+
entryShape: "keyed",
|
|
917
|
+
sensibleDefaults: {
|
|
918
|
+
base: {
|
|
919
|
+
suppressAutomaticLabels: !1,
|
|
920
|
+
suppressAutomaticPlaceholders: !1
|
|
921
|
+
},
|
|
922
|
+
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
923
|
+
apply: (e, t) => T(d(e, t), t)
|
|
924
|
+
},
|
|
925
|
+
mapToWidget: (e) => ({
|
|
926
|
+
uid: e.uid ?? "",
|
|
927
|
+
kind: "input",
|
|
928
|
+
type: "dateTimePicker",
|
|
929
|
+
path: e.path ?? "",
|
|
930
|
+
...e.label != null ? { label: e.label } : {},
|
|
931
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
932
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
933
|
+
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
934
|
+
props: p(e)
|
|
935
|
+
})
|
|
936
|
+
}), { gsl: xt, gslByUid: Gt } = u({
|
|
779
937
|
itemType: "RANGE_CALENDAR",
|
|
780
938
|
entryShape: "keyed",
|
|
781
939
|
sensibleDefaults: {
|
|
782
940
|
base: { suppressAutomaticLabels: !1 },
|
|
783
941
|
fields: ["suppressAutomaticLabels"],
|
|
784
|
-
apply: (e, t) =>
|
|
942
|
+
apply: (e, t) => d(e, t)
|
|
785
943
|
},
|
|
786
944
|
mapToWidget: (e) => ({
|
|
787
945
|
uid: e.uid ?? "",
|
|
@@ -791,16 +949,16 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
791
949
|
...e.label != null ? { label: e.label } : {},
|
|
792
950
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
793
951
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
794
|
-
...e.validator != null ? { validator:
|
|
795
|
-
props:
|
|
952
|
+
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
953
|
+
props: p(e)
|
|
796
954
|
})
|
|
797
|
-
}), { gsl:
|
|
955
|
+
}), { gsl: Kt, gslByUid: Yt } = u({
|
|
798
956
|
itemType: "RANGE_DATE_INPUT",
|
|
799
957
|
entryShape: "keyed",
|
|
800
958
|
sensibleDefaults: {
|
|
801
959
|
base: { suppressAutomaticLabels: !1 },
|
|
802
960
|
fields: ["suppressAutomaticLabels"],
|
|
803
|
-
apply: (e, t) =>
|
|
961
|
+
apply: (e, t) => d(e, t)
|
|
804
962
|
},
|
|
805
963
|
mapToWidget: (e) => ({
|
|
806
964
|
uid: e.uid ?? "",
|
|
@@ -810,10 +968,146 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
810
968
|
...e.label != null ? { label: e.label } : {},
|
|
811
969
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
812
970
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
813
|
-
...e.validator != null ? { validator:
|
|
814
|
-
props:
|
|
971
|
+
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
972
|
+
props: p(e)
|
|
815
973
|
})
|
|
816
|
-
}), { gsl:
|
|
974
|
+
}), { gsl: $t, gslByUid: Ot } = u({
|
|
975
|
+
itemType: "RANGE_DATE_TIME_INPUT",
|
|
976
|
+
entryShape: "keyed",
|
|
977
|
+
sensibleDefaults: {
|
|
978
|
+
base: { suppressAutomaticLabels: !1 },
|
|
979
|
+
fields: ["suppressAutomaticLabels"],
|
|
980
|
+
apply: (e, t) => d(e, t)
|
|
981
|
+
},
|
|
982
|
+
mapToWidget: (e) => ({
|
|
983
|
+
uid: e.uid ?? "",
|
|
984
|
+
kind: "input",
|
|
985
|
+
type: "rangeDateTimeInput",
|
|
986
|
+
path: e.path ?? "",
|
|
987
|
+
...e.label != null ? { label: e.label } : {},
|
|
988
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
989
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
990
|
+
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
991
|
+
props: p(e)
|
|
992
|
+
})
|
|
993
|
+
}), { gsl: Ft, gslByUid: zt } = u({
|
|
994
|
+
itemType: "RANGE_DATE_TIME_CALENDAR",
|
|
995
|
+
entryShape: "keyed",
|
|
996
|
+
sensibleDefaults: {
|
|
997
|
+
base: { suppressAutomaticLabels: !1 },
|
|
998
|
+
fields: ["suppressAutomaticLabels"],
|
|
999
|
+
apply: (e, t) => d(e, t)
|
|
1000
|
+
},
|
|
1001
|
+
mapToWidget: (e) => ({
|
|
1002
|
+
uid: e.uid ?? "",
|
|
1003
|
+
kind: "input",
|
|
1004
|
+
type: "rangeDateTimeCalendar",
|
|
1005
|
+
path: e.path ?? "",
|
|
1006
|
+
...e.label != null ? { label: e.label } : {},
|
|
1007
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
1008
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
1009
|
+
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
1010
|
+
props: p(e)
|
|
1011
|
+
})
|
|
1012
|
+
}), { gsl: Ht, gslByUid: Vt } = u({
|
|
1013
|
+
itemType: "RANGE_DATE_TIME_PICKER",
|
|
1014
|
+
entryShape: "keyed",
|
|
1015
|
+
sensibleDefaults: {
|
|
1016
|
+
base: { suppressAutomaticLabels: !1 },
|
|
1017
|
+
fields: ["suppressAutomaticLabels"],
|
|
1018
|
+
apply: (e, t) => d(e, t)
|
|
1019
|
+
},
|
|
1020
|
+
mapToWidget: (e) => ({
|
|
1021
|
+
uid: e.uid ?? "",
|
|
1022
|
+
kind: "input",
|
|
1023
|
+
type: "rangeDateTimePicker",
|
|
1024
|
+
path: e.path ?? "",
|
|
1025
|
+
...e.label != null ? { label: e.label } : {},
|
|
1026
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
1027
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
1028
|
+
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
1029
|
+
props: p(e)
|
|
1030
|
+
})
|
|
1031
|
+
}), { gsl: Xt, gslByUid: jt } = u({
|
|
1032
|
+
itemType: "RANGE_TIME_INPUT",
|
|
1033
|
+
entryShape: "keyed",
|
|
1034
|
+
sensibleDefaults: {
|
|
1035
|
+
base: { suppressAutomaticLabels: !1 },
|
|
1036
|
+
fields: ["suppressAutomaticLabels"],
|
|
1037
|
+
apply: (e, t) => d(e, t)
|
|
1038
|
+
},
|
|
1039
|
+
mapToWidget: (e) => ({
|
|
1040
|
+
uid: e.uid ?? "",
|
|
1041
|
+
kind: "input",
|
|
1042
|
+
type: "rangeTimeInput",
|
|
1043
|
+
path: e.path ?? "",
|
|
1044
|
+
...e.label != null ? { label: e.label } : {},
|
|
1045
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
1046
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
1047
|
+
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
1048
|
+
props: p(e)
|
|
1049
|
+
})
|
|
1050
|
+
}), { gsl: Zt, gslByUid: qt } = u({
|
|
1051
|
+
itemType: "TIME_INPUT",
|
|
1052
|
+
entryShape: "keyed",
|
|
1053
|
+
sensibleDefaults: {
|
|
1054
|
+
base: { suppressAutomaticLabels: !1 },
|
|
1055
|
+
fields: ["suppressAutomaticLabels"],
|
|
1056
|
+
apply: (e, t) => d(e, t)
|
|
1057
|
+
},
|
|
1058
|
+
mapToWidget: (e) => ({
|
|
1059
|
+
uid: e.uid ?? "",
|
|
1060
|
+
kind: "input",
|
|
1061
|
+
type: "timeInput",
|
|
1062
|
+
path: e.path ?? "",
|
|
1063
|
+
...e.label != null ? { label: e.label } : {},
|
|
1064
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
1065
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
1066
|
+
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
1067
|
+
props: p(e)
|
|
1068
|
+
})
|
|
1069
|
+
}), { gsl: Jt, gslByUid: Qt } = u({
|
|
1070
|
+
itemType: "TIME_PICKER",
|
|
1071
|
+
entryShape: "keyed",
|
|
1072
|
+
sensibleDefaults: {
|
|
1073
|
+
base: {
|
|
1074
|
+
suppressAutomaticLabels: !1,
|
|
1075
|
+
suppressAutomaticPlaceholders: !1
|
|
1076
|
+
},
|
|
1077
|
+
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
1078
|
+
apply: (e, t) => T(d(e, t), t)
|
|
1079
|
+
},
|
|
1080
|
+
mapToWidget: (e) => ({
|
|
1081
|
+
uid: e.uid ?? "",
|
|
1082
|
+
kind: "input",
|
|
1083
|
+
type: "timePicker",
|
|
1084
|
+
path: e.path ?? "",
|
|
1085
|
+
...e.label != null ? { label: e.label } : {},
|
|
1086
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
1087
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
1088
|
+
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
1089
|
+
props: p(e)
|
|
1090
|
+
})
|
|
1091
|
+
}), { gsl: es, gslByUid: ts } = u({
|
|
1092
|
+
itemType: "DATE_TIME_INPUT",
|
|
1093
|
+
entryShape: "keyed",
|
|
1094
|
+
sensibleDefaults: {
|
|
1095
|
+
base: { suppressAutomaticLabels: !1 },
|
|
1096
|
+
fields: ["suppressAutomaticLabels"],
|
|
1097
|
+
apply: (e, t) => d(e, t)
|
|
1098
|
+
},
|
|
1099
|
+
mapToWidget: (e) => ({
|
|
1100
|
+
uid: e.uid ?? "",
|
|
1101
|
+
kind: "input",
|
|
1102
|
+
type: "dateTimeInput",
|
|
1103
|
+
path: e.path ?? "",
|
|
1104
|
+
...e.label != null ? { label: e.label } : {},
|
|
1105
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
1106
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
1107
|
+
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
1108
|
+
props: p(e)
|
|
1109
|
+
})
|
|
1110
|
+
}), { gsl: ss, gslByUid: as } = u({
|
|
817
1111
|
itemType: "RANGE_DATE_PICKER",
|
|
818
1112
|
entryShape: "keyed",
|
|
819
1113
|
sensibleDefaults: {
|
|
@@ -822,7 +1116,7 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
822
1116
|
suppressAutomaticPlaceholders: !1
|
|
823
1117
|
},
|
|
824
1118
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
825
|
-
apply: (e, t) =>
|
|
1119
|
+
apply: (e, t) => T(d(e, t), t)
|
|
826
1120
|
},
|
|
827
1121
|
mapToWidget: (e) => ({
|
|
828
1122
|
uid: e.uid ?? "",
|
|
@@ -832,15 +1126,34 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
832
1126
|
...e.label != null ? { label: e.label } : {},
|
|
833
1127
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
834
1128
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
835
|
-
...e.validator != null ? { validator:
|
|
836
|
-
props:
|
|
1129
|
+
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
1130
|
+
props: p(e)
|
|
1131
|
+
})
|
|
1132
|
+
}), { gsl: is, gslByUid: ns } = u({
|
|
1133
|
+
itemType: "RANGE_TIME_PICKER",
|
|
1134
|
+
entryShape: "keyed",
|
|
1135
|
+
sensibleDefaults: {
|
|
1136
|
+
base: { suppressAutomaticLabels: !1 },
|
|
1137
|
+
fields: ["suppressAutomaticLabels"],
|
|
1138
|
+
apply: (e, t) => d(e, t)
|
|
1139
|
+
},
|
|
1140
|
+
mapToWidget: (e) => ({
|
|
1141
|
+
uid: e.uid ?? "",
|
|
1142
|
+
kind: "input",
|
|
1143
|
+
type: "rangeTimePicker",
|
|
1144
|
+
path: e.path ?? "",
|
|
1145
|
+
...e.label != null ? { label: e.label } : {},
|
|
1146
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
1147
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
1148
|
+
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
1149
|
+
props: p(e)
|
|
837
1150
|
})
|
|
838
1151
|
});
|
|
839
|
-
function
|
|
1152
|
+
function G(e) {
|
|
840
1153
|
const t = {};
|
|
841
1154
|
return e.addLabel != null && (t.addLabel = e.addLabel), e.removeLabel != null && (t.removeLabel = e.removeLabel), e.limit != null && (t.limit = e.limit), e.title != null && (t.title = e.title), e.addButtonIcon != null && (t.addButtonIcon = e.addButtonIcon), e.removeButtonIcon != null && (t.removeButtonIcon = e.removeButtonIcon), t;
|
|
842
1155
|
}
|
|
843
|
-
function
|
|
1156
|
+
function K(e) {
|
|
844
1157
|
return {
|
|
845
1158
|
uid: e.uid ?? "",
|
|
846
1159
|
kind: "input",
|
|
@@ -849,26 +1162,26 @@ function Y(e) {
|
|
|
849
1162
|
...e.label != null ? { label: e.label } : {},
|
|
850
1163
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
851
1164
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
852
|
-
...e.validator != null ? { validator:
|
|
1165
|
+
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
853
1166
|
props: {
|
|
854
|
-
...
|
|
1167
|
+
...G(e),
|
|
855
1168
|
template: { kind: "layout", type: "flex", children: [], props: { direction: "column" } }
|
|
856
1169
|
}
|
|
857
1170
|
};
|
|
858
1171
|
}
|
|
859
|
-
function
|
|
1172
|
+
function h(e, t) {
|
|
860
1173
|
for (const s of e) {
|
|
861
1174
|
if (typeof s == "function") continue;
|
|
862
1175
|
const a = s;
|
|
863
|
-
typeof a.path == "string" && a.path && !a.path.startsWith(t) && (a.path = t + a.path), "children" in a && Array.isArray(a.children) &&
|
|
864
|
-
const
|
|
865
|
-
|
|
1176
|
+
typeof a.path == "string" && a.path && !a.path.startsWith(t) && (a.path = t + a.path), "children" in a && Array.isArray(a.children) && h(a.children, t);
|
|
1177
|
+
const i = a.props;
|
|
1178
|
+
i?.template?.children && Array.isArray(i.template.children) && h(i.template.children, t);
|
|
866
1179
|
}
|
|
867
1180
|
}
|
|
868
|
-
function
|
|
1181
|
+
function Y(e, t) {
|
|
869
1182
|
const s = t.walkChildren(t.children ?? []), a = e.kind === "static" ? e.def.path ?? "" : e.fn({})?.path ?? "";
|
|
870
|
-
a &&
|
|
871
|
-
const
|
|
1183
|
+
a && h(s, a + ".items.");
|
|
1184
|
+
const i = {
|
|
872
1185
|
kind: "layout",
|
|
873
1186
|
type: "flex",
|
|
874
1187
|
uid: "",
|
|
@@ -879,43 +1192,43 @@ function $(e, t) {
|
|
|
879
1192
|
const o = t.mapStaticDef(e.def, "REPEATER");
|
|
880
1193
|
return {
|
|
881
1194
|
...o,
|
|
882
|
-
props: { ...o.props, template:
|
|
1195
|
+
props: { ...o.props, template: i }
|
|
883
1196
|
};
|
|
884
1197
|
}
|
|
885
|
-
const
|
|
1198
|
+
const n = e.fn;
|
|
886
1199
|
return ((o) => {
|
|
887
|
-
const r =
|
|
1200
|
+
const r = n(o), l = t.mapStaticDef(r, "REPEATER");
|
|
888
1201
|
return {
|
|
889
1202
|
...l,
|
|
890
|
-
props: { ...l.props, template:
|
|
1203
|
+
props: { ...l.props, template: i }
|
|
891
1204
|
};
|
|
892
1205
|
});
|
|
893
1206
|
}
|
|
894
|
-
function
|
|
1207
|
+
function $(e) {
|
|
895
1208
|
return {
|
|
896
1209
|
baseDef: e.def,
|
|
897
1210
|
path: e.key,
|
|
898
1211
|
children: e.children
|
|
899
1212
|
};
|
|
900
1213
|
}
|
|
901
|
-
function
|
|
1214
|
+
function O(e) {
|
|
902
1215
|
return e.children;
|
|
903
1216
|
}
|
|
904
|
-
const
|
|
905
|
-
parseEntry:
|
|
1217
|
+
const F = {
|
|
1218
|
+
parseEntry: $,
|
|
906
1219
|
rollUpSensibleDefaults: () => ({}),
|
|
907
1220
|
applySensibleDefaults: (e) => e,
|
|
908
|
-
mapToWidget:
|
|
909
|
-
buildCustomWidget:
|
|
910
|
-
getChildren:
|
|
1221
|
+
mapToWidget: K,
|
|
1222
|
+
buildCustomWidget: Y,
|
|
1223
|
+
getChildren: O
|
|
911
1224
|
};
|
|
912
|
-
|
|
913
|
-
const z = P("REPEATER"),
|
|
1225
|
+
L("REPEATER", F);
|
|
1226
|
+
const z = P("REPEATER"), ls = (e, t) => z(t, ((s) => s.uid === e)), v = {
|
|
914
1227
|
onLoad: "load",
|
|
915
1228
|
onChange: "change",
|
|
916
1229
|
onFilter: "filter",
|
|
917
1230
|
onBlur: "blur"
|
|
918
|
-
}, H = Object.keys(
|
|
1231
|
+
}, H = Object.keys(v);
|
|
919
1232
|
function V(e) {
|
|
920
1233
|
if (e.length > 0)
|
|
921
1234
|
return null;
|
|
@@ -932,137 +1245,137 @@ class X {
|
|
|
932
1245
|
if (t.kind === "dynamic") {
|
|
933
1246
|
const o = t.fn;
|
|
934
1247
|
return { kind: "dynamic", fn: (l) => {
|
|
935
|
-
const
|
|
936
|
-
return this.wireOnClick(
|
|
1248
|
+
const y = o(l);
|
|
1249
|
+
return this.wireOnClick(y, s, a);
|
|
937
1250
|
} };
|
|
938
1251
|
}
|
|
939
|
-
const
|
|
940
|
-
return { kind: "static", def: this.wireOnClick(
|
|
1252
|
+
const i = t.def;
|
|
1253
|
+
return { kind: "static", def: this.wireOnClick(i, s, a) };
|
|
941
1254
|
}
|
|
942
1255
|
wireOnClick(t, s, a) {
|
|
943
|
-
const
|
|
944
|
-
if (typeof
|
|
945
|
-
const { onClick: o, ...r } = t, l =
|
|
946
|
-
return typeof l == "string" ? { ...r, uid:
|
|
1256
|
+
const i = a.next(), n = t.onClick;
|
|
1257
|
+
if (typeof n == "function") {
|
|
1258
|
+
const { onClick: o, ...r } = t, l = n(void 0);
|
|
1259
|
+
return typeof l == "string" ? { ...r, uid: i, on: { click: l } } : (s.set(i, (y) => n(y.data)), { ...r, uid: i, on: { click: i } });
|
|
947
1260
|
}
|
|
948
|
-
return { ...t, uid:
|
|
1261
|
+
return { ...t, uid: i };
|
|
949
1262
|
}
|
|
950
1263
|
// ── Universal: onLoad, onChange, onFilter ──────────────────────
|
|
951
1264
|
wireInputLayoutEvents(t, s, a) {
|
|
952
1265
|
if (t.kind === "dynamic") {
|
|
953
|
-
const
|
|
1266
|
+
const n = t.fn;
|
|
954
1267
|
return { kind: "dynamic", fn: (r) => {
|
|
955
|
-
const l =
|
|
1268
|
+
const l = n(r);
|
|
956
1269
|
return this.wireEventProperties(l, s, a);
|
|
957
1270
|
} };
|
|
958
1271
|
}
|
|
959
1272
|
return { kind: "static", def: this.wireEventProperties(t.def, s, a) };
|
|
960
1273
|
}
|
|
961
1274
|
wireEventProperties(t, s, a) {
|
|
962
|
-
const
|
|
963
|
-
let
|
|
1275
|
+
const i = { ...t.on || {} };
|
|
1276
|
+
let n = !1;
|
|
964
1277
|
const o = { ...t };
|
|
965
1278
|
for (const r of H) {
|
|
966
1279
|
const l = t[r];
|
|
967
1280
|
if (l == null) continue;
|
|
968
|
-
const
|
|
1281
|
+
const y = v[r];
|
|
969
1282
|
if (typeof l == "function") {
|
|
970
|
-
const
|
|
971
|
-
if (
|
|
972
|
-
|
|
1283
|
+
const g = V(l);
|
|
1284
|
+
if (g != null)
|
|
1285
|
+
i[y] = g;
|
|
973
1286
|
else {
|
|
974
1287
|
const b = a.next();
|
|
975
|
-
s.set(b, l),
|
|
1288
|
+
s.set(b, l), i[y] = b;
|
|
976
1289
|
}
|
|
977
|
-
|
|
978
|
-
} else typeof l == "string" && (
|
|
1290
|
+
n = !0;
|
|
1291
|
+
} else typeof l == "string" && (i[y] = l, n = !0);
|
|
979
1292
|
delete o[r];
|
|
980
1293
|
}
|
|
981
|
-
return
|
|
1294
|
+
return n && (o.on = i), o;
|
|
982
1295
|
}
|
|
983
1296
|
}
|
|
984
|
-
const
|
|
1297
|
+
const R = new X();
|
|
985
1298
|
function j(e) {
|
|
986
1299
|
const {
|
|
987
1300
|
uid: t,
|
|
988
1301
|
label: s,
|
|
989
1302
|
actionType: a,
|
|
990
|
-
disabled:
|
|
991
|
-
on:
|
|
1303
|
+
disabled: i,
|
|
1304
|
+
on: n,
|
|
992
1305
|
onClick: o,
|
|
993
1306
|
data: r,
|
|
994
1307
|
type: l,
|
|
995
|
-
tags:
|
|
996
|
-
size:
|
|
1308
|
+
tags: y,
|
|
1309
|
+
size: g,
|
|
997
1310
|
include: b,
|
|
998
|
-
exclude:
|
|
1311
|
+
exclude: _,
|
|
999
1312
|
states: A,
|
|
1000
|
-
...
|
|
1313
|
+
...E
|
|
1001
1314
|
} = e;
|
|
1002
1315
|
return {
|
|
1003
1316
|
uid: t ?? "",
|
|
1004
1317
|
kind: "action",
|
|
1005
1318
|
type: "button",
|
|
1006
|
-
disabled:
|
|
1319
|
+
disabled: i,
|
|
1007
1320
|
actionType: a,
|
|
1008
1321
|
label: s,
|
|
1009
|
-
...
|
|
1010
|
-
props:
|
|
1322
|
+
...n != null ? { on: n } : {},
|
|
1323
|
+
props: E
|
|
1011
1324
|
};
|
|
1012
1325
|
}
|
|
1013
|
-
const { gsl:
|
|
1326
|
+
const { gsl: os, gslByUid: rs } = u({
|
|
1014
1327
|
itemType: "ACTIONS",
|
|
1015
1328
|
entryShape: "bare",
|
|
1016
1329
|
mapToWidget: j,
|
|
1017
|
-
afterMerge: (e, t) =>
|
|
1330
|
+
afterMerge: (e, t) => R.extractOnClickFromMergeResult(
|
|
1018
1331
|
e,
|
|
1019
1332
|
t.eventRegistry,
|
|
1020
1333
|
t.eventIdGenerator
|
|
1021
1334
|
)
|
|
1022
1335
|
});
|
|
1023
|
-
function
|
|
1336
|
+
function Z(e) {
|
|
1024
1337
|
const {
|
|
1025
1338
|
uid: t,
|
|
1026
1339
|
widgetName: s,
|
|
1027
1340
|
tags: a,
|
|
1028
|
-
size:
|
|
1029
|
-
onChange:
|
|
1341
|
+
size: i,
|
|
1342
|
+
onChange: n,
|
|
1030
1343
|
include: o,
|
|
1031
1344
|
exclude: r,
|
|
1032
1345
|
...l
|
|
1033
|
-
} = e, { on:
|
|
1346
|
+
} = e, { on: y, ...g } = l;
|
|
1034
1347
|
return {
|
|
1035
1348
|
uid: t ?? "",
|
|
1036
1349
|
kind: "layout",
|
|
1037
1350
|
type: s ?? "flex",
|
|
1038
1351
|
props: {
|
|
1039
|
-
direction:
|
|
1040
|
-
...
|
|
1352
|
+
direction: g.direction ?? "column",
|
|
1353
|
+
...g
|
|
1041
1354
|
},
|
|
1042
1355
|
children: []
|
|
1043
1356
|
};
|
|
1044
1357
|
}
|
|
1045
|
-
function
|
|
1358
|
+
function q(e, t) {
|
|
1046
1359
|
const s = t.walkChildren(t.children ?? []);
|
|
1047
1360
|
if (e.kind === "static")
|
|
1048
1361
|
return { ...t.mapStaticDef(e.def, "LAYOUTS"), children: s };
|
|
1049
1362
|
const a = e.fn;
|
|
1050
|
-
return ((
|
|
1051
|
-
const
|
|
1052
|
-
return { ...t.mapStaticDef(
|
|
1363
|
+
return ((i) => {
|
|
1364
|
+
const n = a(i);
|
|
1365
|
+
return { ...t.mapStaticDef(n, "LAYOUTS"), children: s };
|
|
1053
1366
|
});
|
|
1054
1367
|
}
|
|
1055
|
-
function
|
|
1368
|
+
function J(e) {
|
|
1056
1369
|
return e.children;
|
|
1057
1370
|
}
|
|
1058
|
-
const { gsl:
|
|
1371
|
+
const { gsl: us, gslByUid: ps } = u({
|
|
1059
1372
|
itemType: "LAYOUTS",
|
|
1060
1373
|
entryShape: "compound",
|
|
1061
|
-
mapToWidget:
|
|
1062
|
-
buildCustomWidget:
|
|
1063
|
-
getChildren:
|
|
1374
|
+
mapToWidget: Z,
|
|
1375
|
+
buildCustomWidget: q,
|
|
1376
|
+
getChildren: J
|
|
1064
1377
|
});
|
|
1065
|
-
function
|
|
1378
|
+
function f(e) {
|
|
1066
1379
|
return {
|
|
1067
1380
|
errors: void 0,
|
|
1068
1381
|
touched: void 0,
|
|
@@ -1071,7 +1384,7 @@ function U(e) {
|
|
|
1071
1384
|
$form: e?.$form ?? {}
|
|
1072
1385
|
};
|
|
1073
1386
|
}
|
|
1074
|
-
function
|
|
1387
|
+
function Q(e) {
|
|
1075
1388
|
return {
|
|
1076
1389
|
uid: "",
|
|
1077
1390
|
kind: "display",
|
|
@@ -1082,34 +1395,34 @@ function Z(e) {
|
|
|
1082
1395
|
function ee(e, t) {
|
|
1083
1396
|
if (e.kind === "static") {
|
|
1084
1397
|
const a = e.def;
|
|
1085
|
-
return ((
|
|
1398
|
+
return ((i) => ({
|
|
1086
1399
|
uid: "",
|
|
1087
1400
|
kind: "display",
|
|
1088
1401
|
type: "renderer",
|
|
1089
1402
|
...a.include != null ? { include: a.include } : {},
|
|
1090
1403
|
...a.exclude != null ? { exclude: a.exclude } : {},
|
|
1091
|
-
props: { render: a.render(
|
|
1404
|
+
props: { render: a.render(f(i)) }
|
|
1092
1405
|
}));
|
|
1093
1406
|
}
|
|
1094
1407
|
const s = e.fn;
|
|
1095
1408
|
return ((a) => {
|
|
1096
|
-
const
|
|
1409
|
+
const i = s(a);
|
|
1097
1410
|
return {
|
|
1098
1411
|
uid: "",
|
|
1099
1412
|
kind: "display",
|
|
1100
1413
|
type: "renderer",
|
|
1101
|
-
...
|
|
1102
|
-
...
|
|
1103
|
-
props: { render:
|
|
1414
|
+
...i.include != null ? { include: i.include } : {},
|
|
1415
|
+
...i.exclude != null ? { exclude: i.exclude } : {},
|
|
1416
|
+
props: { render: i.render(f(a)) }
|
|
1104
1417
|
};
|
|
1105
1418
|
});
|
|
1106
1419
|
}
|
|
1107
|
-
const { gsl:
|
|
1420
|
+
const { gsl: ds, gslByUid: cs } = u({
|
|
1108
1421
|
itemType: "DISPLAYS",
|
|
1109
1422
|
entryShape: "bare",
|
|
1110
|
-
mapToWidget:
|
|
1423
|
+
mapToWidget: Q,
|
|
1111
1424
|
buildCustomWidget: ee
|
|
1112
|
-
}), { gsl:
|
|
1425
|
+
}), { gsl: ys, gslByUid: ms } = u({
|
|
1113
1426
|
itemType: "ALERTS",
|
|
1114
1427
|
entryShape: "bare",
|
|
1115
1428
|
mapToWidget: (e) => ({
|
|
@@ -1121,7 +1434,7 @@ const { gsl: wt, gslByUid: Wt } = u({
|
|
|
1121
1434
|
...e.level != null ? { level: e.level } : {}
|
|
1122
1435
|
}
|
|
1123
1436
|
})
|
|
1124
|
-
}), { gsl:
|
|
1437
|
+
}), { gsl: Ts, gslByUid: gs } = u({
|
|
1125
1438
|
itemType: "MARKDOWN_TEXTS",
|
|
1126
1439
|
entryShape: "bare",
|
|
1127
1440
|
mapToWidget: (e) => ({
|
|
@@ -1151,22 +1464,22 @@ function se(e, t) {
|
|
|
1151
1464
|
if (e.kind === "static")
|
|
1152
1465
|
return { ...t.mapStaticDef(e.def, "TABS"), children: s };
|
|
1153
1466
|
const a = e.fn;
|
|
1154
|
-
return ((
|
|
1155
|
-
const
|
|
1156
|
-
return { ...t.mapStaticDef(
|
|
1467
|
+
return ((i) => {
|
|
1468
|
+
const n = a(i);
|
|
1469
|
+
return { ...t.mapStaticDef(n, "TABS"), children: s };
|
|
1157
1470
|
});
|
|
1158
1471
|
}
|
|
1159
1472
|
function ae(e) {
|
|
1160
1473
|
return e.children;
|
|
1161
1474
|
}
|
|
1162
|
-
const { gsl:
|
|
1475
|
+
const { gsl: bs, gslByUid: _s } = u({
|
|
1163
1476
|
itemType: "TABS",
|
|
1164
1477
|
entryShape: "compound",
|
|
1165
1478
|
mapToWidget: te,
|
|
1166
1479
|
buildCustomWidget: se,
|
|
1167
1480
|
getChildren: ae
|
|
1168
1481
|
});
|
|
1169
|
-
function
|
|
1482
|
+
function ie(e) {
|
|
1170
1483
|
return {
|
|
1171
1484
|
uid: e.uid ?? "",
|
|
1172
1485
|
kind: "layout",
|
|
@@ -1180,26 +1493,26 @@ function ne(e) {
|
|
|
1180
1493
|
children: []
|
|
1181
1494
|
};
|
|
1182
1495
|
}
|
|
1183
|
-
function
|
|
1496
|
+
function ne(e, t) {
|
|
1184
1497
|
const s = t.walkChildren(t.children ?? []);
|
|
1185
1498
|
if (e.kind === "static")
|
|
1186
1499
|
return { ...t.mapStaticDef(e.def, "ACCORDION"), children: s };
|
|
1187
1500
|
const a = e.fn;
|
|
1188
|
-
return ((
|
|
1189
|
-
const
|
|
1190
|
-
return { ...t.mapStaticDef(
|
|
1501
|
+
return ((i) => {
|
|
1502
|
+
const n = a(i);
|
|
1503
|
+
return { ...t.mapStaticDef(n, "ACCORDION"), children: s };
|
|
1191
1504
|
});
|
|
1192
1505
|
}
|
|
1193
1506
|
function le(e) {
|
|
1194
1507
|
return e.children;
|
|
1195
1508
|
}
|
|
1196
|
-
const { gsl:
|
|
1509
|
+
const { gsl: Es, gslByUid: Is } = u({
|
|
1197
1510
|
itemType: "ACCORDION",
|
|
1198
1511
|
entryShape: "compound",
|
|
1199
|
-
mapToWidget:
|
|
1200
|
-
buildCustomWidget:
|
|
1512
|
+
mapToWidget: ie,
|
|
1513
|
+
buildCustomWidget: ne,
|
|
1201
1514
|
getChildren: le
|
|
1202
|
-
}), { gsl:
|
|
1515
|
+
}), { gsl: As, gslByUid: hs } = u({
|
|
1203
1516
|
itemType: "CUSTOM_INPUT",
|
|
1204
1517
|
entryShape: "keyed",
|
|
1205
1518
|
sensibleDefaults: {
|
|
@@ -1207,7 +1520,7 @@ const { gsl: Ft, gslByUid: Kt } = u({
|
|
|
1207
1520
|
suppressAutomaticLabels: !1
|
|
1208
1521
|
},
|
|
1209
1522
|
fields: ["suppressAutomaticLabels"],
|
|
1210
|
-
apply: (e, t) =>
|
|
1523
|
+
apply: (e, t) => d(e, t)
|
|
1211
1524
|
},
|
|
1212
1525
|
mapToWidget: (e) => ({
|
|
1213
1526
|
uid: e.uid ?? "",
|
|
@@ -1221,7 +1534,7 @@ const { gsl: Ft, gslByUid: Kt } = u({
|
|
|
1221
1534
|
...e.validator != null ? { validator: e.validator } : {},
|
|
1222
1535
|
props: e.props ?? {}
|
|
1223
1536
|
})
|
|
1224
|
-
}), { gsl:
|
|
1537
|
+
}), { gsl: Ss, gslByUid: ks } = u({
|
|
1225
1538
|
itemType: "CUSTOM_ACTION",
|
|
1226
1539
|
entryShape: "bare",
|
|
1227
1540
|
mapToWidget: (e) => {
|
|
@@ -1229,17 +1542,17 @@ const { gsl: Ft, gslByUid: Kt } = u({
|
|
|
1229
1542
|
uid: t,
|
|
1230
1543
|
label: s,
|
|
1231
1544
|
disabled: a,
|
|
1232
|
-
on:
|
|
1233
|
-
onClick:
|
|
1545
|
+
on: i,
|
|
1546
|
+
onClick: n,
|
|
1234
1547
|
data: o,
|
|
1235
1548
|
customType: r,
|
|
1236
1549
|
tags: l,
|
|
1237
|
-
size:
|
|
1238
|
-
include:
|
|
1550
|
+
size: y,
|
|
1551
|
+
include: g,
|
|
1239
1552
|
exclude: b,
|
|
1240
|
-
states:
|
|
1553
|
+
states: _,
|
|
1241
1554
|
props: A,
|
|
1242
|
-
...
|
|
1555
|
+
...E
|
|
1243
1556
|
} = e;
|
|
1244
1557
|
return {
|
|
1245
1558
|
uid: t ?? "",
|
|
@@ -1247,16 +1560,16 @@ const { gsl: Ft, gslByUid: Kt } = u({
|
|
|
1247
1560
|
type: e.customType,
|
|
1248
1561
|
label: s,
|
|
1249
1562
|
disabled: a,
|
|
1250
|
-
...
|
|
1251
|
-
props: { ...A, ...
|
|
1563
|
+
...i != null ? { on: i } : {},
|
|
1564
|
+
props: { ...A, ...E }
|
|
1252
1565
|
};
|
|
1253
1566
|
},
|
|
1254
|
-
afterMerge: (e, t) =>
|
|
1567
|
+
afterMerge: (e, t) => R.extractOnClickFromMergeResult(
|
|
1255
1568
|
e,
|
|
1256
1569
|
t.eventRegistry,
|
|
1257
1570
|
t.eventIdGenerator
|
|
1258
1571
|
)
|
|
1259
|
-
}), { gsl:
|
|
1572
|
+
}), { gsl: Ds, gslByUid: fs } = u({
|
|
1260
1573
|
itemType: "CUSTOM_DISPLAY",
|
|
1261
1574
|
entryShape: "bare",
|
|
1262
1575
|
mapToWidget: (e) => ({
|
|
@@ -1280,27 +1593,27 @@ function re(e, t) {
|
|
|
1280
1593
|
if (e.kind === "static")
|
|
1281
1594
|
return { ...t.mapStaticDef(e.def, "CUSTOM_LAYOUT"), children: s };
|
|
1282
1595
|
const a = e.fn;
|
|
1283
|
-
return ((
|
|
1284
|
-
const
|
|
1285
|
-
return { ...t.mapStaticDef(
|
|
1596
|
+
return ((i) => {
|
|
1597
|
+
const n = a(i);
|
|
1598
|
+
return { ...t.mapStaticDef(n, "CUSTOM_LAYOUT"), children: s };
|
|
1286
1599
|
});
|
|
1287
1600
|
}
|
|
1288
1601
|
function ue(e) {
|
|
1289
1602
|
return e.children;
|
|
1290
1603
|
}
|
|
1291
|
-
const { gsl:
|
|
1604
|
+
const { gsl: Ps, gslByUid: Us } = u({
|
|
1292
1605
|
itemType: "CUSTOM_LAYOUT",
|
|
1293
1606
|
entryShape: "compound",
|
|
1294
1607
|
mapToWidget: oe,
|
|
1295
1608
|
buildCustomWidget: re,
|
|
1296
1609
|
getChildren: ue
|
|
1297
|
-
}), { gsl:
|
|
1610
|
+
}), { gsl: Ms, gslByUid: Ls } = u({
|
|
1298
1611
|
itemType: "TAGS",
|
|
1299
1612
|
entryShape: "keyed",
|
|
1300
1613
|
sensibleDefaults: {
|
|
1301
1614
|
base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
|
|
1302
1615
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
1303
|
-
apply: (e, t) =>
|
|
1616
|
+
apply: (e, t) => T(d(e, t), t)
|
|
1304
1617
|
},
|
|
1305
1618
|
mapToWidget: (e) => ({
|
|
1306
1619
|
uid: e.uid ?? "",
|
|
@@ -1310,117 +1623,147 @@ const { gsl: Jt, gslByUid: Qt } = u({
|
|
|
1310
1623
|
...e.label != null ? { label: e.label } : {},
|
|
1311
1624
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
1312
1625
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
1313
|
-
...e.validator != null ? { validator:
|
|
1314
|
-
props:
|
|
1626
|
+
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
1627
|
+
props: p(e)
|
|
1315
1628
|
})
|
|
1316
1629
|
});
|
|
1317
1630
|
export {
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
Qe as
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
ot as
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1631
|
+
is as $,
|
|
1632
|
+
Rt as A,
|
|
1633
|
+
Nt as B,
|
|
1634
|
+
Zt as C,
|
|
1635
|
+
qt as D,
|
|
1636
|
+
Jt as E,
|
|
1637
|
+
Qt as F,
|
|
1638
|
+
es as G,
|
|
1639
|
+
ts as H,
|
|
1640
|
+
Ct as I,
|
|
1641
|
+
Bt as J,
|
|
1642
|
+
Wt as K,
|
|
1643
|
+
wt as L,
|
|
1644
|
+
xt as M,
|
|
1645
|
+
Gt as N,
|
|
1646
|
+
Kt as O,
|
|
1647
|
+
Yt as P,
|
|
1648
|
+
Xt as Q,
|
|
1649
|
+
jt as R,
|
|
1650
|
+
$t as S,
|
|
1651
|
+
Ot as T,
|
|
1652
|
+
Ft as U,
|
|
1653
|
+
zt as V,
|
|
1654
|
+
Ht as W,
|
|
1655
|
+
Vt as X,
|
|
1656
|
+
ss as Y,
|
|
1657
|
+
as as Z,
|
|
1658
|
+
S as _,
|
|
1659
|
+
lt as a,
|
|
1660
|
+
Ae as a$,
|
|
1661
|
+
ns as a0,
|
|
1662
|
+
z as a1,
|
|
1663
|
+
ls as a2,
|
|
1664
|
+
os as a3,
|
|
1665
|
+
rs as a4,
|
|
1666
|
+
us as a5,
|
|
1667
|
+
ps as a6,
|
|
1668
|
+
ds as a7,
|
|
1669
|
+
cs as a8,
|
|
1670
|
+
ys as a9,
|
|
1671
|
+
He as aA,
|
|
1672
|
+
ze as aB,
|
|
1673
|
+
Fe as aC,
|
|
1674
|
+
Oe as aD,
|
|
1675
|
+
$e as aE,
|
|
1676
|
+
at as aF,
|
|
1677
|
+
st as aG,
|
|
1678
|
+
xe as aH,
|
|
1679
|
+
we as aI,
|
|
1680
|
+
We as aJ,
|
|
1681
|
+
Be as aK,
|
|
1682
|
+
Ce as aL,
|
|
1683
|
+
Ne as aM,
|
|
1684
|
+
Re as aN,
|
|
1685
|
+
ve as aO,
|
|
1686
|
+
Ye as aP,
|
|
1687
|
+
Ke as aQ,
|
|
1688
|
+
Ge as aR,
|
|
1689
|
+
Le as aS,
|
|
1690
|
+
Me as aT,
|
|
1691
|
+
Ue as aU,
|
|
1692
|
+
Pe as aV,
|
|
1693
|
+
fe as aW,
|
|
1694
|
+
De as aX,
|
|
1695
|
+
ke as aY,
|
|
1696
|
+
Se as aZ,
|
|
1697
|
+
he as a_,
|
|
1698
|
+
ms as aa,
|
|
1699
|
+
Ts as ab,
|
|
1700
|
+
gs as ac,
|
|
1701
|
+
bs as ad,
|
|
1702
|
+
_s as ae,
|
|
1703
|
+
Es as af,
|
|
1704
|
+
Is as ag,
|
|
1705
|
+
As as ah,
|
|
1706
|
+
hs as ai,
|
|
1707
|
+
Ss as aj,
|
|
1708
|
+
ks as ak,
|
|
1709
|
+
Ds as al,
|
|
1710
|
+
fs as am,
|
|
1711
|
+
Ps as an,
|
|
1712
|
+
Us as ao,
|
|
1713
|
+
tt as ap,
|
|
1714
|
+
et as aq,
|
|
1715
|
+
Qe as ar,
|
|
1716
|
+
Je as as,
|
|
1717
|
+
qe as at,
|
|
1718
|
+
M as au,
|
|
1719
|
+
Ze as av,
|
|
1720
|
+
je as aw,
|
|
1721
|
+
U as ax,
|
|
1722
|
+
Xe as ay,
|
|
1723
|
+
Ve as az,
|
|
1724
|
+
ot as b,
|
|
1725
|
+
Ie as b0,
|
|
1726
|
+
Ee as b1,
|
|
1727
|
+
_e as b2,
|
|
1728
|
+
be as b3,
|
|
1729
|
+
ge as b4,
|
|
1730
|
+
Te as b5,
|
|
1731
|
+
me as b6,
|
|
1732
|
+
nt as b7,
|
|
1733
|
+
it as b8,
|
|
1734
|
+
V as b9,
|
|
1735
|
+
f as ba,
|
|
1736
|
+
m as bb,
|
|
1737
|
+
R as bc,
|
|
1738
|
+
Ms as bd,
|
|
1739
|
+
Ls as be,
|
|
1740
|
+
P as bf,
|
|
1741
|
+
u as bg,
|
|
1742
|
+
p as bh,
|
|
1743
|
+
d as bi,
|
|
1744
|
+
T as bj,
|
|
1745
|
+
rt as c,
|
|
1746
|
+
ut as d,
|
|
1747
|
+
pt as e,
|
|
1748
|
+
dt as f,
|
|
1749
|
+
ct as g,
|
|
1750
|
+
yt as h,
|
|
1751
|
+
mt as i,
|
|
1752
|
+
Tt as j,
|
|
1753
|
+
gt as k,
|
|
1754
|
+
bt as l,
|
|
1755
|
+
_t as m,
|
|
1756
|
+
Et as n,
|
|
1757
|
+
It as o,
|
|
1758
|
+
At as p,
|
|
1759
|
+
ht as q,
|
|
1760
|
+
St as r,
|
|
1761
|
+
kt as s,
|
|
1762
|
+
Dt as t,
|
|
1763
|
+
ft as u,
|
|
1764
|
+
Pt as v,
|
|
1765
|
+
Ut as w,
|
|
1766
|
+
Mt as x,
|
|
1767
|
+
Lt as y,
|
|
1768
|
+
vt as z
|
|
1426
1769
|
};
|