@golemui/gui-shared 1.0.3 → 1.1.1-rc.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 +25 -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/defineShortcutType.d.ts +2 -1
- package/lib/dx/core/dx.domain.d.ts +6 -1
- package/lib/dx/core/itemTypeRegistry.d.ts +13 -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 +246 -26
- package/lib/widgets.d.ts +2 -2
- package/package.json +3 -3
- package/register-B3CJMfX9.cjs +1 -0
- package/{register-BaJnbpMX.js → register-De8Y1vW5.js} +805 -424
- package/register-BHpCnzXI.cjs +0 -1
|
@@ -18,11 +18,11 @@ function P(e) {
|
|
|
18
18
|
function y(e, t) {
|
|
19
19
|
return typeof e == "function" ? e : { type: t, ...e ?? {} };
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Te(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 ?? []
|
|
@@ -36,11 +36,11 @@ function me(e, t, s) {
|
|
|
36
36
|
tags: s ?? []
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function ge(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 ?? []
|
|
@@ -54,11 +54,11 @@ function Te(e, t, s) {
|
|
|
54
54
|
tags: s ?? []
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function be(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 ?? []
|
|
@@ -72,89 +72,89 @@ function ge(e, t, s) {
|
|
|
72
72
|
tags: s ?? []
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function _e(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 Ee(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 Ie(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 Ae(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
|
-
function
|
|
110
|
+
function ke(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 De(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 fe(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 Pe(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",
|
|
@@ -168,42 +168,74 @@ function Ue(e, t, s) {
|
|
|
168
168
|
tags: s ?? []
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Ue(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 Me(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
200
|
function Le(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 ve(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 Re(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 Ne(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 };
|
|
@@ -211,27 +243,112 @@ function Me(e, t, s) {
|
|
|
211
243
|
}
|
|
212
244
|
function Ce(e, t, s) {
|
|
213
245
|
if (typeof t == "function") {
|
|
214
|
-
const
|
|
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
|
+
}
|
|
255
|
+
function Be(e, t, s) {
|
|
256
|
+
if (typeof t == "function") {
|
|
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 We(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 xe(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 Ge(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 Ke(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 Ye(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 $e(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 Oe(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: (c) => ({
|
|
227
344
|
customType: e,
|
|
228
|
-
...o(
|
|
345
|
+
...o(c)
|
|
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 Fe(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 ze(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
|
-
(
|
|
363
|
+
(u) => ({ customType: e, ...n(u) })
|
|
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 He = (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 Ve(e, t) {
|
|
258
375
|
return { type: "ITEMS", itemType: "ALERTS", items: [e], tags: t ?? [] };
|
|
259
376
|
}
|
|
260
|
-
function
|
|
377
|
+
function Xe(e, t) {
|
|
261
378
|
return { type: "ITEMS", itemType: "MARKDOWN_TEXTS", items: [e], tags: t ?? [] };
|
|
262
379
|
}
|
|
263
|
-
function
|
|
380
|
+
function je(e, t, s) {
|
|
264
381
|
if (typeof t == "function") {
|
|
265
|
-
const
|
|
382
|
+
const u = t;
|
|
266
383
|
return { type: "ITEMS", itemType: "CUSTOM_DISPLAY", items: [
|
|
267
|
-
(
|
|
384
|
+
(c) => ({ customType: e, ...u(c) })
|
|
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
|
+
}), Ze = (e, t, s) => U(e, { direction: "row", ...t ?? {} }, s), qe = (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
|
+
}), Je = (e, t, s) => M(e, { direction: "row", ...t ?? {} }, s), Qe = (e, t, s) => M(e, { direction: "column", ...t ?? {} }, s);
|
|
415
|
+
function S(e) {
|
|
299
416
|
return e.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/(^-|-$)/g, "");
|
|
300
417
|
}
|
|
301
|
-
function
|
|
418
|
+
function et(e, t, s) {
|
|
302
419
|
const a = e.map((o) => ({
|
|
303
420
|
label: o.label,
|
|
304
|
-
uid: o.uid ??
|
|
305
|
-
})),
|
|
421
|
+
uid: o.uid ?? S(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 ?? S(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 tt(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,81 +464,81 @@ 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 st(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: (c) => ({
|
|
358
475
|
customType: e,
|
|
359
|
-
...o(
|
|
476
|
+
...o(c)
|
|
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 at(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 it(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(), C = /* @__PURE__ */ new Map();
|
|
499
|
+
function L(e, t, s) {
|
|
500
|
+
if (I.has(e))
|
|
384
501
|
throw new Error(`Item type "${e}" is already registered.`);
|
|
385
|
-
|
|
502
|
+
I.set(e, t), s && C.set(e, s);
|
|
386
503
|
}
|
|
387
|
-
function
|
|
388
|
-
const t =
|
|
504
|
+
function nt(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 lt(e) {
|
|
513
|
+
return I.has(e);
|
|
397
514
|
}
|
|
398
|
-
function
|
|
399
|
-
const t = (
|
|
515
|
+
function r(e) {
|
|
516
|
+
const t = (u) => {
|
|
400
517
|
if (!e.sensibleDefaults)
|
|
401
518
|
return {};
|
|
402
519
|
let l = { ...e.sensibleDefaults.base };
|
|
403
|
-
for (const
|
|
404
|
-
const
|
|
520
|
+
for (const c of u) {
|
|
521
|
+
const g = c.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;
|
|
411
|
-
}, s = (
|
|
528
|
+
}, s = (u, l) => e.sensibleDefaults ? e.sensibleDefaults.apply(u, l) : u, a = (u) => {
|
|
412
529
|
switch (e.entryShape) {
|
|
413
530
|
case "bare":
|
|
414
|
-
return { baseDef:
|
|
531
|
+
return { baseDef: u };
|
|
415
532
|
case "keyed": {
|
|
416
|
-
const l =
|
|
533
|
+
const l = u;
|
|
417
534
|
return { baseDef: l.def, path: l.key };
|
|
418
535
|
}
|
|
419
536
|
case "compound": {
|
|
420
|
-
const l =
|
|
537
|
+
const l = u;
|
|
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,56 +547,56 @@ 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, e.kind);
|
|
551
|
+
const n = P(e.itemType);
|
|
552
|
+
return { gsl: n, gslByUid: (u, l) => n(l, ((c) => c.uid === u)) };
|
|
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
|
-
tags:
|
|
562
|
+
tags: u,
|
|
446
563
|
type: l,
|
|
447
|
-
size:
|
|
448
|
-
onLoad:
|
|
564
|
+
size: c,
|
|
565
|
+
onLoad: g,
|
|
449
566
|
onChange: b,
|
|
450
|
-
onFilter:
|
|
567
|
+
onFilter: _,
|
|
451
568
|
on: A,
|
|
452
|
-
states:
|
|
453
|
-
include:
|
|
454
|
-
exclude:
|
|
569
|
+
states: E,
|
|
570
|
+
include: de,
|
|
571
|
+
exclude: ye,
|
|
455
572
|
validator: ce,
|
|
456
|
-
...
|
|
573
|
+
...N
|
|
457
574
|
} = e;
|
|
458
|
-
return
|
|
575
|
+
return N;
|
|
459
576
|
}
|
|
460
|
-
function
|
|
577
|
+
function B(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: B(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 W(e) {
|
|
470
587
|
switch (e.type) {
|
|
471
588
|
case "text":
|
|
472
|
-
return
|
|
589
|
+
return x(e);
|
|
473
590
|
case "number":
|
|
474
|
-
return
|
|
591
|
+
return G(e);
|
|
475
592
|
case "boolean":
|
|
476
|
-
return
|
|
593
|
+
return w(e);
|
|
477
594
|
default:
|
|
478
595
|
throw new Error(`Unsupported field type "${e.type}"`);
|
|
479
596
|
}
|
|
480
597
|
}
|
|
481
|
-
function
|
|
482
|
-
const t =
|
|
598
|
+
function w(e) {
|
|
599
|
+
const t = p(e);
|
|
483
600
|
return {
|
|
484
601
|
uid: e.uid ?? "",
|
|
485
602
|
kind: "input",
|
|
@@ -492,8 +609,8 @@ function W(e) {
|
|
|
492
609
|
props: t
|
|
493
610
|
};
|
|
494
611
|
}
|
|
495
|
-
function
|
|
496
|
-
const t =
|
|
612
|
+
function x(e) {
|
|
613
|
+
const t = p(e);
|
|
497
614
|
return {
|
|
498
615
|
uid: e.uid ?? "",
|
|
499
616
|
kind: "input",
|
|
@@ -509,8 +626,8 @@ function R(e) {
|
|
|
509
626
|
validator: y(e.validator, "string")
|
|
510
627
|
};
|
|
511
628
|
}
|
|
512
|
-
function
|
|
513
|
-
const t =
|
|
629
|
+
function G(e) {
|
|
630
|
+
const t = p(e);
|
|
514
631
|
return {
|
|
515
632
|
uid: e.uid ?? "",
|
|
516
633
|
kind: "input",
|
|
@@ -526,8 +643,9 @@ function O(e) {
|
|
|
526
643
|
validator: y(e.validator, "number")
|
|
527
644
|
};
|
|
528
645
|
}
|
|
529
|
-
const { gsl:
|
|
646
|
+
const { gsl: h, gslByUid: ot } = r({
|
|
530
647
|
itemType: "INPUTS",
|
|
648
|
+
kind: "input",
|
|
531
649
|
entryShape: "keyed",
|
|
532
650
|
sensibleDefaults: {
|
|
533
651
|
base: {
|
|
@@ -536,18 +654,19 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
536
654
|
},
|
|
537
655
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
538
656
|
apply: (e, t) => {
|
|
539
|
-
let s =
|
|
540
|
-
return s =
|
|
657
|
+
let s = d(e, t);
|
|
658
|
+
return s = T(s, t), s;
|
|
541
659
|
}
|
|
542
660
|
},
|
|
543
|
-
mapToWidget:
|
|
544
|
-
}),
|
|
661
|
+
mapToWidget: W
|
|
662
|
+
}), ut = (e) => h(e, (t) => t.type === "text"), rt = (e) => h(e, (t) => t.type === "number"), pt = (e) => h(e, (t) => t.type === "boolean"), { gsl: dt, gslByUid: yt } = r({
|
|
545
663
|
itemType: "SELECT",
|
|
664
|
+
kind: "input",
|
|
546
665
|
entryShape: "keyed",
|
|
547
666
|
sensibleDefaults: {
|
|
548
667
|
base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
|
|
549
668
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
550
|
-
apply: (e, t) =>
|
|
669
|
+
apply: (e, t) => T(d(e, t), t)
|
|
551
670
|
},
|
|
552
671
|
mapToWidget: (e) => ({
|
|
553
672
|
uid: e.uid ?? "",
|
|
@@ -558,10 +677,11 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
558
677
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
559
678
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
560
679
|
...e.validator != null ? { validator: e.validator } : {},
|
|
561
|
-
props:
|
|
680
|
+
props: p(e)
|
|
562
681
|
})
|
|
563
|
-
}), { gsl:
|
|
682
|
+
}), { gsl: ct, gslByUid: mt } = r({
|
|
564
683
|
itemType: "DROPDOWN",
|
|
684
|
+
kind: "input",
|
|
565
685
|
entryShape: "keyed",
|
|
566
686
|
sensibleDefaults: {
|
|
567
687
|
base: {
|
|
@@ -569,7 +689,7 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
569
689
|
suppressAutomaticPlaceholders: !1
|
|
570
690
|
},
|
|
571
691
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
572
|
-
apply: (e, t) =>
|
|
692
|
+
apply: (e, t) => T(d(e, t), t)
|
|
573
693
|
},
|
|
574
694
|
mapToWidget: (e) => ({
|
|
575
695
|
uid: e.uid ?? "",
|
|
@@ -580,15 +700,16 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
580
700
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
581
701
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
582
702
|
...e.validator != null ? { validator: e.validator } : {},
|
|
583
|
-
props:
|
|
703
|
+
props: p(e)
|
|
584
704
|
})
|
|
585
|
-
}), { gsl:
|
|
705
|
+
}), { gsl: Tt, gslByUid: gt } = r({
|
|
586
706
|
itemType: "RADIOGROUP",
|
|
707
|
+
kind: "input",
|
|
587
708
|
entryShape: "keyed",
|
|
588
709
|
sensibleDefaults: {
|
|
589
710
|
base: { suppressAutomaticLabels: !1 },
|
|
590
711
|
fields: ["suppressAutomaticLabels"],
|
|
591
|
-
apply: (e, t) =>
|
|
712
|
+
apply: (e, t) => d(e, t)
|
|
592
713
|
},
|
|
593
714
|
mapToWidget: (e) => ({
|
|
594
715
|
uid: e.uid ?? "",
|
|
@@ -599,15 +720,16 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
599
720
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
600
721
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
601
722
|
...e.validator != null ? { validator: e.validator } : {},
|
|
602
|
-
props:
|
|
723
|
+
props: p(e)
|
|
603
724
|
})
|
|
604
|
-
}), { gsl:
|
|
725
|
+
}), { gsl: bt, gslByUid: _t } = r({
|
|
605
726
|
itemType: "CHECKBOX",
|
|
727
|
+
kind: "input",
|
|
606
728
|
entryShape: "keyed",
|
|
607
729
|
sensibleDefaults: {
|
|
608
730
|
base: { suppressAutomaticLabels: !1 },
|
|
609
731
|
fields: ["suppressAutomaticLabels"],
|
|
610
|
-
apply: (e, t) =>
|
|
732
|
+
apply: (e, t) => d(e, t)
|
|
611
733
|
},
|
|
612
734
|
mapToWidget: (e) => ({
|
|
613
735
|
uid: e.uid ?? "",
|
|
@@ -618,15 +740,16 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
618
740
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
619
741
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
620
742
|
...e.validator != null ? { validator: y(e.validator, "boolean") } : {},
|
|
621
|
-
props:
|
|
743
|
+
props: p(e)
|
|
622
744
|
})
|
|
623
|
-
}), { gsl:
|
|
745
|
+
}), { gsl: Et, gslByUid: It } = r({
|
|
624
746
|
itemType: "TEXTAREA",
|
|
747
|
+
kind: "input",
|
|
625
748
|
entryShape: "keyed",
|
|
626
749
|
sensibleDefaults: {
|
|
627
750
|
base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
|
|
628
751
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
629
|
-
apply: (e, t) =>
|
|
752
|
+
apply: (e, t) => T(d(e, t), t)
|
|
630
753
|
},
|
|
631
754
|
mapToWidget: (e) => ({
|
|
632
755
|
uid: e.uid ?? "",
|
|
@@ -637,15 +760,16 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
637
760
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
638
761
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
639
762
|
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
640
|
-
props:
|
|
763
|
+
props: p(e)
|
|
641
764
|
})
|
|
642
|
-
}), { gsl:
|
|
765
|
+
}), { gsl: At, gslByUid: kt } = r({
|
|
643
766
|
itemType: "PASSWORD",
|
|
767
|
+
kind: "input",
|
|
644
768
|
entryShape: "keyed",
|
|
645
769
|
sensibleDefaults: {
|
|
646
770
|
base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
|
|
647
771
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
648
|
-
apply: (e, t) =>
|
|
772
|
+
apply: (e, t) => T(d(e, t), t)
|
|
649
773
|
},
|
|
650
774
|
mapToWidget: (e) => ({
|
|
651
775
|
uid: e.uid ?? "",
|
|
@@ -656,15 +780,16 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
656
780
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
657
781
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
658
782
|
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
659
|
-
props:
|
|
783
|
+
props: p(e)
|
|
660
784
|
})
|
|
661
|
-
}), { gsl:
|
|
785
|
+
}), { gsl: ht, gslByUid: St } = r({
|
|
662
786
|
itemType: "CURRENCY",
|
|
787
|
+
kind: "input",
|
|
663
788
|
entryShape: "keyed",
|
|
664
789
|
sensibleDefaults: {
|
|
665
790
|
base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
|
|
666
791
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
667
|
-
apply: (e, t) =>
|
|
792
|
+
apply: (e, t) => T(d(e, t), t)
|
|
668
793
|
},
|
|
669
794
|
mapToWidget: (e) => ({
|
|
670
795
|
uid: e.uid ?? "",
|
|
@@ -675,15 +800,16 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
675
800
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
676
801
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
677
802
|
...e.validator != null ? { validator: y(e.validator, "number") } : {},
|
|
678
|
-
props:
|
|
803
|
+
props: p(e)
|
|
679
804
|
})
|
|
680
|
-
}), { gsl:
|
|
805
|
+
}), { gsl: Dt, gslByUid: ft } = r({
|
|
681
806
|
itemType: "MARKDOWN",
|
|
807
|
+
kind: "input",
|
|
682
808
|
entryShape: "keyed",
|
|
683
809
|
sensibleDefaults: {
|
|
684
810
|
base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
|
|
685
811
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
686
|
-
apply: (e, t) =>
|
|
812
|
+
apply: (e, t) => T(d(e, t), t)
|
|
687
813
|
},
|
|
688
814
|
mapToWidget: (e) => ({
|
|
689
815
|
uid: e.uid ?? "",
|
|
@@ -694,15 +820,16 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
694
820
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
695
821
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
696
822
|
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
697
|
-
props:
|
|
823
|
+
props: p(e)
|
|
698
824
|
})
|
|
699
|
-
}), { gsl:
|
|
825
|
+
}), { gsl: Pt, gslByUid: Ut } = r({
|
|
700
826
|
itemType: "LIST",
|
|
827
|
+
kind: "input",
|
|
701
828
|
entryShape: "keyed",
|
|
702
829
|
sensibleDefaults: {
|
|
703
830
|
base: { suppressAutomaticLabels: !1 },
|
|
704
831
|
fields: ["suppressAutomaticLabels"],
|
|
705
|
-
apply: (e, t) =>
|
|
832
|
+
apply: (e, t) => d(e, t)
|
|
706
833
|
},
|
|
707
834
|
mapToWidget: (e) => ({
|
|
708
835
|
uid: e.uid ?? "",
|
|
@@ -713,15 +840,16 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
713
840
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
714
841
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
715
842
|
...e.validator != null ? { validator: e.validator } : {},
|
|
716
|
-
props:
|
|
843
|
+
props: p(e)
|
|
717
844
|
})
|
|
718
|
-
}), { gsl:
|
|
845
|
+
}), { gsl: Mt, gslByUid: Lt } = r({
|
|
719
846
|
itemType: "CALENDAR",
|
|
847
|
+
kind: "input",
|
|
720
848
|
entryShape: "bare",
|
|
721
849
|
sensibleDefaults: {
|
|
722
850
|
base: { suppressAutomaticLabels: !1 },
|
|
723
851
|
fields: ["suppressAutomaticLabels"],
|
|
724
|
-
apply: (e, t) =>
|
|
852
|
+
apply: (e, t) => d(e, t)
|
|
725
853
|
},
|
|
726
854
|
mapToWidget: (e) => ({
|
|
727
855
|
uid: e.uid ?? "",
|
|
@@ -732,15 +860,36 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
732
860
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
733
861
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
734
862
|
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
735
|
-
props:
|
|
863
|
+
props: p(e)
|
|
736
864
|
})
|
|
737
|
-
}), { gsl:
|
|
865
|
+
}), { gsl: vt, gslByUid: Rt } = r({
|
|
866
|
+
itemType: "DATE_TIME_CALENDAR",
|
|
867
|
+
kind: "input",
|
|
868
|
+
entryShape: "bare",
|
|
869
|
+
sensibleDefaults: {
|
|
870
|
+
base: { suppressAutomaticLabels: !1 },
|
|
871
|
+
fields: ["suppressAutomaticLabels"],
|
|
872
|
+
apply: (e, t) => d(e, t)
|
|
873
|
+
},
|
|
874
|
+
mapToWidget: (e) => ({
|
|
875
|
+
uid: e.uid ?? "",
|
|
876
|
+
kind: "input",
|
|
877
|
+
type: "dateTimeCalendar",
|
|
878
|
+
path: e.path ?? "",
|
|
879
|
+
...e.label != null ? { label: e.label } : {},
|
|
880
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
881
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
882
|
+
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
883
|
+
props: p(e)
|
|
884
|
+
})
|
|
885
|
+
}), { gsl: Nt, gslByUid: Ct } = r({
|
|
738
886
|
itemType: "DATE_INPUT",
|
|
887
|
+
kind: "input",
|
|
739
888
|
entryShape: "keyed",
|
|
740
889
|
sensibleDefaults: {
|
|
741
890
|
base: { suppressAutomaticLabels: !1 },
|
|
742
891
|
fields: ["suppressAutomaticLabels"],
|
|
743
|
-
apply: (e, t) =>
|
|
892
|
+
apply: (e, t) => d(e, t)
|
|
744
893
|
},
|
|
745
894
|
mapToWidget: (e) => ({
|
|
746
895
|
uid: e.uid ?? "",
|
|
@@ -751,10 +900,11 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
751
900
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
752
901
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
753
902
|
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
754
|
-
props:
|
|
903
|
+
props: p(e)
|
|
755
904
|
})
|
|
756
|
-
}), { gsl:
|
|
905
|
+
}), { gsl: Bt, gslByUid: Wt } = r({
|
|
757
906
|
itemType: "DATE_PICKER",
|
|
907
|
+
kind: "input",
|
|
758
908
|
entryShape: "keyed",
|
|
759
909
|
sensibleDefaults: {
|
|
760
910
|
base: {
|
|
@@ -762,7 +912,7 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
762
912
|
suppressAutomaticPlaceholders: !1
|
|
763
913
|
},
|
|
764
914
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
765
|
-
apply: (e, t) =>
|
|
915
|
+
apply: (e, t) => T(d(e, t), t)
|
|
766
916
|
},
|
|
767
917
|
mapToWidget: (e) => ({
|
|
768
918
|
uid: e.uid ?? "",
|
|
@@ -773,15 +923,39 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
773
923
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
774
924
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
775
925
|
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
776
|
-
props:
|
|
926
|
+
props: p(e)
|
|
777
927
|
})
|
|
778
|
-
}), { gsl:
|
|
928
|
+
}), { gsl: wt, gslByUid: xt } = r({
|
|
929
|
+
itemType: "DATE_TIME_PICKER",
|
|
930
|
+
kind: "input",
|
|
931
|
+
entryShape: "keyed",
|
|
932
|
+
sensibleDefaults: {
|
|
933
|
+
base: {
|
|
934
|
+
suppressAutomaticLabels: !1,
|
|
935
|
+
suppressAutomaticPlaceholders: !1
|
|
936
|
+
},
|
|
937
|
+
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
938
|
+
apply: (e, t) => T(d(e, t), t)
|
|
939
|
+
},
|
|
940
|
+
mapToWidget: (e) => ({
|
|
941
|
+
uid: e.uid ?? "",
|
|
942
|
+
kind: "input",
|
|
943
|
+
type: "dateTimePicker",
|
|
944
|
+
path: e.path ?? "",
|
|
945
|
+
...e.label != null ? { label: e.label } : {},
|
|
946
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
947
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
948
|
+
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
949
|
+
props: p(e)
|
|
950
|
+
})
|
|
951
|
+
}), { gsl: Gt, gslByUid: Kt } = r({
|
|
779
952
|
itemType: "RANGE_CALENDAR",
|
|
953
|
+
kind: "input",
|
|
780
954
|
entryShape: "keyed",
|
|
781
955
|
sensibleDefaults: {
|
|
782
956
|
base: { suppressAutomaticLabels: !1 },
|
|
783
957
|
fields: ["suppressAutomaticLabels"],
|
|
784
|
-
apply: (e, t) =>
|
|
958
|
+
apply: (e, t) => d(e, t)
|
|
785
959
|
},
|
|
786
960
|
mapToWidget: (e) => ({
|
|
787
961
|
uid: e.uid ?? "",
|
|
@@ -792,15 +966,16 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
792
966
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
793
967
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
794
968
|
...e.validator != null ? { validator: y(e.validator, "array") } : {},
|
|
795
|
-
props:
|
|
969
|
+
props: p(e)
|
|
796
970
|
})
|
|
797
|
-
}), { gsl:
|
|
971
|
+
}), { gsl: Yt, gslByUid: $t } = r({
|
|
798
972
|
itemType: "RANGE_DATE_INPUT",
|
|
973
|
+
kind: "input",
|
|
799
974
|
entryShape: "keyed",
|
|
800
975
|
sensibleDefaults: {
|
|
801
976
|
base: { suppressAutomaticLabels: !1 },
|
|
802
977
|
fields: ["suppressAutomaticLabels"],
|
|
803
|
-
apply: (e, t) =>
|
|
978
|
+
apply: (e, t) => d(e, t)
|
|
804
979
|
},
|
|
805
980
|
mapToWidget: (e) => ({
|
|
806
981
|
uid: e.uid ?? "",
|
|
@@ -811,10 +986,154 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
811
986
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
812
987
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
813
988
|
...e.validator != null ? { validator: y(e.validator, "array") } : {},
|
|
814
|
-
props:
|
|
989
|
+
props: p(e)
|
|
990
|
+
})
|
|
991
|
+
}), { gsl: Ot, gslByUid: Ft } = r({
|
|
992
|
+
itemType: "RANGE_DATE_TIME_INPUT",
|
|
993
|
+
kind: "input",
|
|
994
|
+
entryShape: "keyed",
|
|
995
|
+
sensibleDefaults: {
|
|
996
|
+
base: { suppressAutomaticLabels: !1 },
|
|
997
|
+
fields: ["suppressAutomaticLabels"],
|
|
998
|
+
apply: (e, t) => d(e, t)
|
|
999
|
+
},
|
|
1000
|
+
mapToWidget: (e) => ({
|
|
1001
|
+
uid: e.uid ?? "",
|
|
1002
|
+
kind: "input",
|
|
1003
|
+
type: "rangeDateTimeInput",
|
|
1004
|
+
path: e.path ?? "",
|
|
1005
|
+
...e.label != null ? { label: e.label } : {},
|
|
1006
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
1007
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
1008
|
+
...e.validator != null ? { validator: y(e.validator, "array") } : {},
|
|
1009
|
+
props: p(e)
|
|
1010
|
+
})
|
|
1011
|
+
}), { gsl: zt, gslByUid: Ht } = r({
|
|
1012
|
+
itemType: "RANGE_DATE_TIME_CALENDAR",
|
|
1013
|
+
kind: "input",
|
|
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: "rangeDateTimeCalendar",
|
|
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: y(e.validator, "array") } : {},
|
|
1029
|
+
props: p(e)
|
|
1030
|
+
})
|
|
1031
|
+
}), { gsl: Vt, gslByUid: Xt } = r({
|
|
1032
|
+
itemType: "RANGE_DATE_TIME_PICKER",
|
|
1033
|
+
kind: "input",
|
|
1034
|
+
entryShape: "keyed",
|
|
1035
|
+
sensibleDefaults: {
|
|
1036
|
+
base: { suppressAutomaticLabels: !1 },
|
|
1037
|
+
fields: ["suppressAutomaticLabels"],
|
|
1038
|
+
apply: (e, t) => d(e, t)
|
|
1039
|
+
},
|
|
1040
|
+
mapToWidget: (e) => ({
|
|
1041
|
+
uid: e.uid ?? "",
|
|
1042
|
+
kind: "input",
|
|
1043
|
+
type: "rangeDateTimePicker",
|
|
1044
|
+
path: e.path ?? "",
|
|
1045
|
+
...e.label != null ? { label: e.label } : {},
|
|
1046
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
1047
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
1048
|
+
...e.validator != null ? { validator: y(e.validator, "array") } : {},
|
|
1049
|
+
props: p(e)
|
|
1050
|
+
})
|
|
1051
|
+
}), { gsl: jt, gslByUid: Zt } = r({
|
|
1052
|
+
itemType: "RANGE_TIME_INPUT",
|
|
1053
|
+
kind: "input",
|
|
1054
|
+
entryShape: "keyed",
|
|
1055
|
+
sensibleDefaults: {
|
|
1056
|
+
base: { suppressAutomaticLabels: !1 },
|
|
1057
|
+
fields: ["suppressAutomaticLabels"],
|
|
1058
|
+
apply: (e, t) => d(e, t)
|
|
1059
|
+
},
|
|
1060
|
+
mapToWidget: (e) => ({
|
|
1061
|
+
uid: e.uid ?? "",
|
|
1062
|
+
kind: "input",
|
|
1063
|
+
type: "rangeTimeInput",
|
|
1064
|
+
path: e.path ?? "",
|
|
1065
|
+
...e.label != null ? { label: e.label } : {},
|
|
1066
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
1067
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
1068
|
+
...e.validator != null ? { validator: y(e.validator, "array") } : {},
|
|
1069
|
+
props: p(e)
|
|
1070
|
+
})
|
|
1071
|
+
}), { gsl: qt, gslByUid: Jt } = r({
|
|
1072
|
+
itemType: "TIME_INPUT",
|
|
1073
|
+
kind: "input",
|
|
1074
|
+
entryShape: "keyed",
|
|
1075
|
+
sensibleDefaults: {
|
|
1076
|
+
base: { suppressAutomaticLabels: !1 },
|
|
1077
|
+
fields: ["suppressAutomaticLabels"],
|
|
1078
|
+
apply: (e, t) => d(e, t)
|
|
1079
|
+
},
|
|
1080
|
+
mapToWidget: (e) => ({
|
|
1081
|
+
uid: e.uid ?? "",
|
|
1082
|
+
kind: "input",
|
|
1083
|
+
type: "timeInput",
|
|
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: y(e.validator, "string") } : {},
|
|
1089
|
+
props: p(e)
|
|
1090
|
+
})
|
|
1091
|
+
}), { gsl: Qt, gslByUid: es } = r({
|
|
1092
|
+
itemType: "TIME_PICKER",
|
|
1093
|
+
kind: "input",
|
|
1094
|
+
entryShape: "keyed",
|
|
1095
|
+
sensibleDefaults: {
|
|
1096
|
+
base: {
|
|
1097
|
+
suppressAutomaticLabels: !1,
|
|
1098
|
+
suppressAutomaticPlaceholders: !1
|
|
1099
|
+
},
|
|
1100
|
+
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
1101
|
+
apply: (e, t) => T(d(e, t), t)
|
|
1102
|
+
},
|
|
1103
|
+
mapToWidget: (e) => ({
|
|
1104
|
+
uid: e.uid ?? "",
|
|
1105
|
+
kind: "input",
|
|
1106
|
+
type: "timePicker",
|
|
1107
|
+
path: e.path ?? "",
|
|
1108
|
+
...e.label != null ? { label: e.label } : {},
|
|
1109
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
1110
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
1111
|
+
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
1112
|
+
props: p(e)
|
|
1113
|
+
})
|
|
1114
|
+
}), { gsl: ts, gslByUid: ss } = r({
|
|
1115
|
+
itemType: "DATE_TIME_INPUT",
|
|
1116
|
+
kind: "input",
|
|
1117
|
+
entryShape: "keyed",
|
|
1118
|
+
sensibleDefaults: {
|
|
1119
|
+
base: { suppressAutomaticLabels: !1 },
|
|
1120
|
+
fields: ["suppressAutomaticLabels"],
|
|
1121
|
+
apply: (e, t) => d(e, t)
|
|
1122
|
+
},
|
|
1123
|
+
mapToWidget: (e) => ({
|
|
1124
|
+
uid: e.uid ?? "",
|
|
1125
|
+
kind: "input",
|
|
1126
|
+
type: "dateTimeInput",
|
|
1127
|
+
path: e.path ?? "",
|
|
1128
|
+
...e.label != null ? { label: e.label } : {},
|
|
1129
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
1130
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
1131
|
+
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
1132
|
+
props: p(e)
|
|
815
1133
|
})
|
|
816
|
-
}), { gsl:
|
|
1134
|
+
}), { gsl: as, gslByUid: is } = r({
|
|
817
1135
|
itemType: "RANGE_DATE_PICKER",
|
|
1136
|
+
kind: "input",
|
|
818
1137
|
entryShape: "keyed",
|
|
819
1138
|
sensibleDefaults: {
|
|
820
1139
|
base: {
|
|
@@ -822,7 +1141,7 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
822
1141
|
suppressAutomaticPlaceholders: !1
|
|
823
1142
|
},
|
|
824
1143
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
825
|
-
apply: (e, t) =>
|
|
1144
|
+
apply: (e, t) => T(d(e, t), t)
|
|
826
1145
|
},
|
|
827
1146
|
mapToWidget: (e) => ({
|
|
828
1147
|
uid: e.uid ?? "",
|
|
@@ -833,10 +1152,30 @@ const { gsl: E, gslByUid: qe } = u({
|
|
|
833
1152
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
834
1153
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
835
1154
|
...e.validator != null ? { validator: y(e.validator, "array") } : {},
|
|
836
|
-
props:
|
|
1155
|
+
props: p(e)
|
|
1156
|
+
})
|
|
1157
|
+
}), { gsl: ns, gslByUid: ls } = r({
|
|
1158
|
+
itemType: "RANGE_TIME_PICKER",
|
|
1159
|
+
kind: "input",
|
|
1160
|
+
entryShape: "keyed",
|
|
1161
|
+
sensibleDefaults: {
|
|
1162
|
+
base: { suppressAutomaticLabels: !1 },
|
|
1163
|
+
fields: ["suppressAutomaticLabels"],
|
|
1164
|
+
apply: (e, t) => d(e, t)
|
|
1165
|
+
},
|
|
1166
|
+
mapToWidget: (e) => ({
|
|
1167
|
+
uid: e.uid ?? "",
|
|
1168
|
+
kind: "input",
|
|
1169
|
+
type: "rangeTimePicker",
|
|
1170
|
+
path: e.path ?? "",
|
|
1171
|
+
...e.label != null ? { label: e.label } : {},
|
|
1172
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
1173
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
1174
|
+
...e.validator != null ? { validator: y(e.validator, "array") } : {},
|
|
1175
|
+
props: p(e)
|
|
837
1176
|
})
|
|
838
1177
|
});
|
|
839
|
-
function
|
|
1178
|
+
function K(e) {
|
|
840
1179
|
const t = {};
|
|
841
1180
|
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
1181
|
}
|
|
@@ -851,24 +1190,24 @@ function Y(e) {
|
|
|
851
1190
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
852
1191
|
...e.validator != null ? { validator: y(e.validator, "array") } : {},
|
|
853
1192
|
props: {
|
|
854
|
-
...
|
|
1193
|
+
...K(e),
|
|
855
1194
|
template: { kind: "layout", type: "flex", children: [], props: { direction: "column" } }
|
|
856
1195
|
}
|
|
857
1196
|
};
|
|
858
1197
|
}
|
|
859
|
-
function
|
|
1198
|
+
function k(e, t) {
|
|
860
1199
|
for (const s of e) {
|
|
861
1200
|
if (typeof s == "function") continue;
|
|
862
1201
|
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
|
-
|
|
1202
|
+
typeof a.path == "string" && a.path && !a.path.startsWith(t) && (a.path = t + a.path), "children" in a && Array.isArray(a.children) && k(a.children, t);
|
|
1203
|
+
const i = a.props;
|
|
1204
|
+
i?.template?.children && Array.isArray(i.template.children) && k(i.template.children, t);
|
|
866
1205
|
}
|
|
867
1206
|
}
|
|
868
1207
|
function $(e, t) {
|
|
869
1208
|
const s = t.walkChildren(t.children ?? []), a = e.kind === "static" ? e.def.path ?? "" : e.fn({})?.path ?? "";
|
|
870
|
-
a &&
|
|
871
|
-
const
|
|
1209
|
+
a && k(s, a + ".items.");
|
|
1210
|
+
const i = {
|
|
872
1211
|
kind: "layout",
|
|
873
1212
|
type: "flex",
|
|
874
1213
|
uid: "",
|
|
@@ -879,19 +1218,19 @@ function $(e, t) {
|
|
|
879
1218
|
const o = t.mapStaticDef(e.def, "REPEATER");
|
|
880
1219
|
return {
|
|
881
1220
|
...o,
|
|
882
|
-
props: { ...o.props, template:
|
|
1221
|
+
props: { ...o.props, template: i }
|
|
883
1222
|
};
|
|
884
1223
|
}
|
|
885
|
-
const
|
|
1224
|
+
const n = e.fn;
|
|
886
1225
|
return ((o) => {
|
|
887
|
-
const
|
|
1226
|
+
const u = n(o), l = t.mapStaticDef(u, "REPEATER");
|
|
888
1227
|
return {
|
|
889
1228
|
...l,
|
|
890
|
-
props: { ...l.props, template:
|
|
1229
|
+
props: { ...l.props, template: i }
|
|
891
1230
|
};
|
|
892
1231
|
});
|
|
893
1232
|
}
|
|
894
|
-
function
|
|
1233
|
+
function O(e) {
|
|
895
1234
|
return {
|
|
896
1235
|
baseDef: e.def,
|
|
897
1236
|
path: e.key,
|
|
@@ -901,22 +1240,22 @@ function G(e) {
|
|
|
901
1240
|
function F(e) {
|
|
902
1241
|
return e.children;
|
|
903
1242
|
}
|
|
904
|
-
const
|
|
905
|
-
parseEntry:
|
|
1243
|
+
const z = {
|
|
1244
|
+
parseEntry: O,
|
|
906
1245
|
rollUpSensibleDefaults: () => ({}),
|
|
907
1246
|
applySensibleDefaults: (e) => e,
|
|
908
1247
|
mapToWidget: Y,
|
|
909
1248
|
buildCustomWidget: $,
|
|
910
1249
|
getChildren: F
|
|
911
1250
|
};
|
|
912
|
-
|
|
913
|
-
const
|
|
1251
|
+
L("REPEATER", z, "input");
|
|
1252
|
+
const H = P("REPEATER"), os = (e, t) => H(t, ((s) => s.uid === e)), v = {
|
|
914
1253
|
onLoad: "load",
|
|
915
1254
|
onChange: "change",
|
|
916
1255
|
onFilter: "filter",
|
|
917
1256
|
onBlur: "blur"
|
|
918
|
-
},
|
|
919
|
-
function
|
|
1257
|
+
}, V = Object.keys(v);
|
|
1258
|
+
function X(e) {
|
|
920
1259
|
if (e.length > 0)
|
|
921
1260
|
return null;
|
|
922
1261
|
try {
|
|
@@ -926,95 +1265,96 @@ function V(e) {
|
|
|
926
1265
|
return null;
|
|
927
1266
|
}
|
|
928
1267
|
}
|
|
929
|
-
class
|
|
1268
|
+
class j {
|
|
930
1269
|
// ── Action-specific: onClick ───────────────────────────────────
|
|
931
1270
|
extractOnClickFromMergeResult(t, s, a) {
|
|
932
1271
|
if (t.kind === "dynamic") {
|
|
933
1272
|
const o = t.fn;
|
|
934
1273
|
return { kind: "dynamic", fn: (l) => {
|
|
935
|
-
const
|
|
936
|
-
return this.wireOnClick(
|
|
1274
|
+
const c = o(l);
|
|
1275
|
+
return this.wireOnClick(c, s, a);
|
|
937
1276
|
} };
|
|
938
1277
|
}
|
|
939
|
-
const
|
|
940
|
-
return { kind: "static", def: this.wireOnClick(
|
|
1278
|
+
const i = t.def;
|
|
1279
|
+
return { kind: "static", def: this.wireOnClick(i, s, a) };
|
|
941
1280
|
}
|
|
942
1281
|
wireOnClick(t, s, a) {
|
|
943
|
-
const
|
|
944
|
-
if (typeof
|
|
945
|
-
const { onClick: o, ...
|
|
946
|
-
return typeof l == "string" ? { ...
|
|
1282
|
+
const i = a.next(), n = t.onClick;
|
|
1283
|
+
if (typeof n == "function") {
|
|
1284
|
+
const { onClick: o, ...u } = t, l = n(void 0);
|
|
1285
|
+
return typeof l == "string" ? { ...u, uid: i, on: { click: l } } : (s.set(i, (c) => n(c.data)), { ...u, uid: i, on: { click: i } });
|
|
947
1286
|
}
|
|
948
|
-
return { ...t, uid:
|
|
1287
|
+
return { ...t, uid: i };
|
|
949
1288
|
}
|
|
950
1289
|
// ── Universal: onLoad, onChange, onFilter ──────────────────────
|
|
951
1290
|
wireInputLayoutEvents(t, s, a) {
|
|
952
1291
|
if (t.kind === "dynamic") {
|
|
953
|
-
const
|
|
954
|
-
return { kind: "dynamic", fn: (
|
|
955
|
-
const l =
|
|
1292
|
+
const n = t.fn;
|
|
1293
|
+
return { kind: "dynamic", fn: (u) => {
|
|
1294
|
+
const l = n(u);
|
|
956
1295
|
return this.wireEventProperties(l, s, a);
|
|
957
1296
|
} };
|
|
958
1297
|
}
|
|
959
1298
|
return { kind: "static", def: this.wireEventProperties(t.def, s, a) };
|
|
960
1299
|
}
|
|
961
1300
|
wireEventProperties(t, s, a) {
|
|
962
|
-
const
|
|
963
|
-
let
|
|
1301
|
+
const i = { ...t.on || {} };
|
|
1302
|
+
let n = !1;
|
|
964
1303
|
const o = { ...t };
|
|
965
|
-
for (const
|
|
966
|
-
const l = t[
|
|
1304
|
+
for (const u of V) {
|
|
1305
|
+
const l = t[u];
|
|
967
1306
|
if (l == null) continue;
|
|
968
|
-
const
|
|
1307
|
+
const c = v[u];
|
|
969
1308
|
if (typeof l == "function") {
|
|
970
|
-
const
|
|
971
|
-
if (
|
|
972
|
-
|
|
1309
|
+
const g = X(l);
|
|
1310
|
+
if (g != null)
|
|
1311
|
+
i[c] = g;
|
|
973
1312
|
else {
|
|
974
1313
|
const b = a.next();
|
|
975
|
-
s.set(b, l),
|
|
1314
|
+
s.set(b, l), i[c] = b;
|
|
976
1315
|
}
|
|
977
|
-
|
|
978
|
-
} else typeof l == "string" && (
|
|
979
|
-
delete o[
|
|
1316
|
+
n = !0;
|
|
1317
|
+
} else typeof l == "string" && (i[c] = l, n = !0);
|
|
1318
|
+
delete o[u];
|
|
980
1319
|
}
|
|
981
|
-
return
|
|
1320
|
+
return n && (o.on = i), o;
|
|
982
1321
|
}
|
|
983
1322
|
}
|
|
984
|
-
const
|
|
985
|
-
function
|
|
1323
|
+
const R = new j();
|
|
1324
|
+
function Z(e) {
|
|
986
1325
|
const {
|
|
987
1326
|
uid: t,
|
|
988
1327
|
label: s,
|
|
989
1328
|
actionType: a,
|
|
990
|
-
disabled:
|
|
991
|
-
on:
|
|
1329
|
+
disabled: i,
|
|
1330
|
+
on: n,
|
|
992
1331
|
onClick: o,
|
|
993
|
-
data:
|
|
1332
|
+
data: u,
|
|
994
1333
|
type: l,
|
|
995
|
-
tags:
|
|
996
|
-
size:
|
|
1334
|
+
tags: c,
|
|
1335
|
+
size: g,
|
|
997
1336
|
include: b,
|
|
998
|
-
exclude:
|
|
1337
|
+
exclude: _,
|
|
999
1338
|
states: A,
|
|
1000
|
-
...
|
|
1339
|
+
...E
|
|
1001
1340
|
} = e;
|
|
1002
1341
|
return {
|
|
1003
1342
|
uid: t ?? "",
|
|
1004
1343
|
kind: "action",
|
|
1005
1344
|
type: "button",
|
|
1006
|
-
disabled:
|
|
1345
|
+
disabled: i,
|
|
1007
1346
|
actionType: a,
|
|
1008
1347
|
label: s,
|
|
1009
|
-
...
|
|
1010
|
-
props:
|
|
1348
|
+
...n != null ? { on: n } : {},
|
|
1349
|
+
props: E
|
|
1011
1350
|
};
|
|
1012
1351
|
}
|
|
1013
|
-
const { gsl:
|
|
1352
|
+
const { gsl: us, gslByUid: rs } = r({
|
|
1014
1353
|
itemType: "ACTIONS",
|
|
1354
|
+
kind: "action",
|
|
1015
1355
|
entryShape: "bare",
|
|
1016
|
-
mapToWidget:
|
|
1017
|
-
afterMerge: (e, t) =>
|
|
1356
|
+
mapToWidget: Z,
|
|
1357
|
+
afterMerge: (e, t) => R.extractOnClickFromMergeResult(
|
|
1018
1358
|
e,
|
|
1019
1359
|
t.eventRegistry,
|
|
1020
1360
|
t.eventIdGenerator
|
|
@@ -1025,19 +1365,19 @@ function q(e) {
|
|
|
1025
1365
|
uid: t,
|
|
1026
1366
|
widgetName: s,
|
|
1027
1367
|
tags: a,
|
|
1028
|
-
size:
|
|
1029
|
-
onChange:
|
|
1368
|
+
size: i,
|
|
1369
|
+
onChange: n,
|
|
1030
1370
|
include: o,
|
|
1031
|
-
exclude:
|
|
1371
|
+
exclude: u,
|
|
1032
1372
|
...l
|
|
1033
|
-
} = e, { on:
|
|
1373
|
+
} = e, { on: c, ...g } = l;
|
|
1034
1374
|
return {
|
|
1035
1375
|
uid: t ?? "",
|
|
1036
1376
|
kind: "layout",
|
|
1037
1377
|
type: s ?? "flex",
|
|
1038
1378
|
props: {
|
|
1039
|
-
direction:
|
|
1040
|
-
...
|
|
1379
|
+
direction: g.direction ?? "column",
|
|
1380
|
+
...g
|
|
1041
1381
|
},
|
|
1042
1382
|
children: []
|
|
1043
1383
|
};
|
|
@@ -1047,22 +1387,23 @@ function J(e, t) {
|
|
|
1047
1387
|
if (e.kind === "static")
|
|
1048
1388
|
return { ...t.mapStaticDef(e.def, "LAYOUTS"), children: s };
|
|
1049
1389
|
const a = e.fn;
|
|
1050
|
-
return ((
|
|
1051
|
-
const
|
|
1052
|
-
return { ...t.mapStaticDef(
|
|
1390
|
+
return ((i) => {
|
|
1391
|
+
const n = a(i);
|
|
1392
|
+
return { ...t.mapStaticDef(n, "LAYOUTS"), children: s };
|
|
1053
1393
|
});
|
|
1054
1394
|
}
|
|
1055
1395
|
function Q(e) {
|
|
1056
1396
|
return e.children;
|
|
1057
1397
|
}
|
|
1058
|
-
const { gsl:
|
|
1398
|
+
const { gsl: ps, gslByUid: ds } = r({
|
|
1059
1399
|
itemType: "LAYOUTS",
|
|
1400
|
+
kind: "layout",
|
|
1060
1401
|
entryShape: "compound",
|
|
1061
1402
|
mapToWidget: q,
|
|
1062
1403
|
buildCustomWidget: J,
|
|
1063
1404
|
getChildren: Q
|
|
1064
1405
|
});
|
|
1065
|
-
function
|
|
1406
|
+
function f(e) {
|
|
1066
1407
|
return {
|
|
1067
1408
|
errors: void 0,
|
|
1068
1409
|
touched: void 0,
|
|
@@ -1071,7 +1412,7 @@ function U(e) {
|
|
|
1071
1412
|
$form: e?.$form ?? {}
|
|
1072
1413
|
};
|
|
1073
1414
|
}
|
|
1074
|
-
function
|
|
1415
|
+
function ee(e) {
|
|
1075
1416
|
return {
|
|
1076
1417
|
uid: "",
|
|
1077
1418
|
kind: "display",
|
|
@@ -1079,38 +1420,40 @@ function Z(e) {
|
|
|
1079
1420
|
props: { render: e.render }
|
|
1080
1421
|
};
|
|
1081
1422
|
}
|
|
1082
|
-
function
|
|
1423
|
+
function te(e, t) {
|
|
1083
1424
|
if (e.kind === "static") {
|
|
1084
1425
|
const a = e.def;
|
|
1085
|
-
return ((
|
|
1426
|
+
return ((i) => ({
|
|
1086
1427
|
uid: "",
|
|
1087
1428
|
kind: "display",
|
|
1088
1429
|
type: "renderer",
|
|
1089
1430
|
...a.include != null ? { include: a.include } : {},
|
|
1090
1431
|
...a.exclude != null ? { exclude: a.exclude } : {},
|
|
1091
|
-
props: { render: a.render(
|
|
1432
|
+
props: { render: a.render(f(i)) }
|
|
1092
1433
|
}));
|
|
1093
1434
|
}
|
|
1094
1435
|
const s = e.fn;
|
|
1095
1436
|
return ((a) => {
|
|
1096
|
-
const
|
|
1437
|
+
const i = s(a);
|
|
1097
1438
|
return {
|
|
1098
1439
|
uid: "",
|
|
1099
1440
|
kind: "display",
|
|
1100
1441
|
type: "renderer",
|
|
1101
|
-
...
|
|
1102
|
-
...
|
|
1103
|
-
props: { render:
|
|
1442
|
+
...i.include != null ? { include: i.include } : {},
|
|
1443
|
+
...i.exclude != null ? { exclude: i.exclude } : {},
|
|
1444
|
+
props: { render: i.render(f(a)) }
|
|
1104
1445
|
};
|
|
1105
1446
|
});
|
|
1106
1447
|
}
|
|
1107
|
-
const { gsl:
|
|
1448
|
+
const { gsl: ys, gslByUid: cs } = r({
|
|
1108
1449
|
itemType: "DISPLAYS",
|
|
1450
|
+
kind: "display",
|
|
1109
1451
|
entryShape: "bare",
|
|
1110
|
-
mapToWidget:
|
|
1111
|
-
buildCustomWidget:
|
|
1112
|
-
}), { gsl:
|
|
1452
|
+
mapToWidget: ee,
|
|
1453
|
+
buildCustomWidget: te
|
|
1454
|
+
}), { gsl: ms, gslByUid: Ts } = r({
|
|
1113
1455
|
itemType: "ALERTS",
|
|
1456
|
+
kind: "display",
|
|
1114
1457
|
entryShape: "bare",
|
|
1115
1458
|
mapToWidget: (e) => ({
|
|
1116
1459
|
uid: e.uid ?? "",
|
|
@@ -1121,8 +1464,9 @@ const { gsl: wt, gslByUid: Wt } = u({
|
|
|
1121
1464
|
...e.level != null ? { level: e.level } : {}
|
|
1122
1465
|
}
|
|
1123
1466
|
})
|
|
1124
|
-
}), { gsl:
|
|
1467
|
+
}), { gsl: gs, gslByUid: bs } = r({
|
|
1125
1468
|
itemType: "MARKDOWN_TEXTS",
|
|
1469
|
+
kind: "display",
|
|
1126
1470
|
entryShape: "bare",
|
|
1127
1471
|
mapToWidget: (e) => ({
|
|
1128
1472
|
uid: e.uid ?? "",
|
|
@@ -1133,7 +1477,7 @@ const { gsl: wt, gslByUid: Wt } = u({
|
|
|
1133
1477
|
}
|
|
1134
1478
|
})
|
|
1135
1479
|
});
|
|
1136
|
-
function
|
|
1480
|
+
function se(e) {
|
|
1137
1481
|
return {
|
|
1138
1482
|
uid: e.uid ?? "",
|
|
1139
1483
|
kind: "layout",
|
|
@@ -1146,25 +1490,26 @@ function te(e) {
|
|
|
1146
1490
|
children: []
|
|
1147
1491
|
};
|
|
1148
1492
|
}
|
|
1149
|
-
function
|
|
1493
|
+
function ae(e, t) {
|
|
1150
1494
|
const s = t.walkChildren(t.children ?? []);
|
|
1151
1495
|
if (e.kind === "static")
|
|
1152
1496
|
return { ...t.mapStaticDef(e.def, "TABS"), children: s };
|
|
1153
1497
|
const a = e.fn;
|
|
1154
|
-
return ((
|
|
1155
|
-
const
|
|
1156
|
-
return { ...t.mapStaticDef(
|
|
1498
|
+
return ((i) => {
|
|
1499
|
+
const n = a(i);
|
|
1500
|
+
return { ...t.mapStaticDef(n, "TABS"), children: s };
|
|
1157
1501
|
});
|
|
1158
1502
|
}
|
|
1159
|
-
function
|
|
1503
|
+
function ie(e) {
|
|
1160
1504
|
return e.children;
|
|
1161
1505
|
}
|
|
1162
|
-
const { gsl:
|
|
1506
|
+
const { gsl: _s, gslByUid: Es } = r({
|
|
1163
1507
|
itemType: "TABS",
|
|
1508
|
+
kind: "layout",
|
|
1164
1509
|
entryShape: "compound",
|
|
1165
|
-
mapToWidget:
|
|
1166
|
-
buildCustomWidget:
|
|
1167
|
-
getChildren:
|
|
1510
|
+
mapToWidget: se,
|
|
1511
|
+
buildCustomWidget: ae,
|
|
1512
|
+
getChildren: ie
|
|
1168
1513
|
});
|
|
1169
1514
|
function ne(e) {
|
|
1170
1515
|
return {
|
|
@@ -1180,34 +1525,36 @@ function ne(e) {
|
|
|
1180
1525
|
children: []
|
|
1181
1526
|
};
|
|
1182
1527
|
}
|
|
1183
|
-
function
|
|
1528
|
+
function le(e, t) {
|
|
1184
1529
|
const s = t.walkChildren(t.children ?? []);
|
|
1185
1530
|
if (e.kind === "static")
|
|
1186
1531
|
return { ...t.mapStaticDef(e.def, "ACCORDION"), children: s };
|
|
1187
1532
|
const a = e.fn;
|
|
1188
|
-
return ((
|
|
1189
|
-
const
|
|
1190
|
-
return { ...t.mapStaticDef(
|
|
1533
|
+
return ((i) => {
|
|
1534
|
+
const n = a(i);
|
|
1535
|
+
return { ...t.mapStaticDef(n, "ACCORDION"), children: s };
|
|
1191
1536
|
});
|
|
1192
1537
|
}
|
|
1193
|
-
function
|
|
1538
|
+
function oe(e) {
|
|
1194
1539
|
return e.children;
|
|
1195
1540
|
}
|
|
1196
|
-
const { gsl:
|
|
1541
|
+
const { gsl: Is, gslByUid: As } = r({
|
|
1197
1542
|
itemType: "ACCORDION",
|
|
1543
|
+
kind: "layout",
|
|
1198
1544
|
entryShape: "compound",
|
|
1199
1545
|
mapToWidget: ne,
|
|
1200
|
-
buildCustomWidget:
|
|
1201
|
-
getChildren:
|
|
1202
|
-
}), { gsl:
|
|
1546
|
+
buildCustomWidget: le,
|
|
1547
|
+
getChildren: oe
|
|
1548
|
+
}), { gsl: ks, gslByUid: hs } = r({
|
|
1203
1549
|
itemType: "CUSTOM_INPUT",
|
|
1550
|
+
kind: "input",
|
|
1204
1551
|
entryShape: "keyed",
|
|
1205
1552
|
sensibleDefaults: {
|
|
1206
1553
|
base: {
|
|
1207
1554
|
suppressAutomaticLabels: !1
|
|
1208
1555
|
},
|
|
1209
1556
|
fields: ["suppressAutomaticLabels"],
|
|
1210
|
-
apply: (e, t) =>
|
|
1557
|
+
apply: (e, t) => d(e, t)
|
|
1211
1558
|
},
|
|
1212
1559
|
mapToWidget: (e) => ({
|
|
1213
1560
|
uid: e.uid ?? "",
|
|
@@ -1221,25 +1568,26 @@ const { gsl: Ft, gslByUid: Kt } = u({
|
|
|
1221
1568
|
...e.validator != null ? { validator: e.validator } : {},
|
|
1222
1569
|
props: e.props ?? {}
|
|
1223
1570
|
})
|
|
1224
|
-
}), { gsl:
|
|
1571
|
+
}), { gsl: Ss, gslByUid: Ds } = r({
|
|
1225
1572
|
itemType: "CUSTOM_ACTION",
|
|
1573
|
+
kind: "action",
|
|
1226
1574
|
entryShape: "bare",
|
|
1227
1575
|
mapToWidget: (e) => {
|
|
1228
1576
|
const {
|
|
1229
1577
|
uid: t,
|
|
1230
1578
|
label: s,
|
|
1231
1579
|
disabled: a,
|
|
1232
|
-
on:
|
|
1233
|
-
onClick:
|
|
1580
|
+
on: i,
|
|
1581
|
+
onClick: n,
|
|
1234
1582
|
data: o,
|
|
1235
|
-
customType:
|
|
1583
|
+
customType: u,
|
|
1236
1584
|
tags: l,
|
|
1237
|
-
size:
|
|
1238
|
-
include:
|
|
1585
|
+
size: c,
|
|
1586
|
+
include: g,
|
|
1239
1587
|
exclude: b,
|
|
1240
|
-
states:
|
|
1588
|
+
states: _,
|
|
1241
1589
|
props: A,
|
|
1242
|
-
...
|
|
1590
|
+
...E
|
|
1243
1591
|
} = e;
|
|
1244
1592
|
return {
|
|
1245
1593
|
uid: t ?? "",
|
|
@@ -1247,17 +1595,18 @@ const { gsl: Ft, gslByUid: Kt } = u({
|
|
|
1247
1595
|
type: e.customType,
|
|
1248
1596
|
label: s,
|
|
1249
1597
|
disabled: a,
|
|
1250
|
-
...
|
|
1251
|
-
props: { ...A, ...
|
|
1598
|
+
...i != null ? { on: i } : {},
|
|
1599
|
+
props: { ...A, ...E }
|
|
1252
1600
|
};
|
|
1253
1601
|
},
|
|
1254
|
-
afterMerge: (e, t) =>
|
|
1602
|
+
afterMerge: (e, t) => R.extractOnClickFromMergeResult(
|
|
1255
1603
|
e,
|
|
1256
1604
|
t.eventRegistry,
|
|
1257
1605
|
t.eventIdGenerator
|
|
1258
1606
|
)
|
|
1259
|
-
}), { gsl:
|
|
1607
|
+
}), { gsl: fs, gslByUid: Ps } = r({
|
|
1260
1608
|
itemType: "CUSTOM_DISPLAY",
|
|
1609
|
+
kind: "display",
|
|
1261
1610
|
entryShape: "bare",
|
|
1262
1611
|
mapToWidget: (e) => ({
|
|
1263
1612
|
uid: e.uid ?? "",
|
|
@@ -1266,7 +1615,7 @@ const { gsl: Ft, gslByUid: Kt } = u({
|
|
|
1266
1615
|
props: e.props ?? {}
|
|
1267
1616
|
})
|
|
1268
1617
|
});
|
|
1269
|
-
function
|
|
1618
|
+
function ue(e) {
|
|
1270
1619
|
return {
|
|
1271
1620
|
uid: e.uid ?? "",
|
|
1272
1621
|
kind: "layout",
|
|
@@ -1280,27 +1629,29 @@ function re(e, t) {
|
|
|
1280
1629
|
if (e.kind === "static")
|
|
1281
1630
|
return { ...t.mapStaticDef(e.def, "CUSTOM_LAYOUT"), children: s };
|
|
1282
1631
|
const a = e.fn;
|
|
1283
|
-
return ((
|
|
1284
|
-
const
|
|
1285
|
-
return { ...t.mapStaticDef(
|
|
1632
|
+
return ((i) => {
|
|
1633
|
+
const n = a(i);
|
|
1634
|
+
return { ...t.mapStaticDef(n, "CUSTOM_LAYOUT"), children: s };
|
|
1286
1635
|
});
|
|
1287
1636
|
}
|
|
1288
|
-
function
|
|
1637
|
+
function pe(e) {
|
|
1289
1638
|
return e.children;
|
|
1290
1639
|
}
|
|
1291
|
-
const { gsl:
|
|
1640
|
+
const { gsl: Us, gslByUid: Ms } = r({
|
|
1292
1641
|
itemType: "CUSTOM_LAYOUT",
|
|
1642
|
+
kind: "layout",
|
|
1293
1643
|
entryShape: "compound",
|
|
1294
|
-
mapToWidget:
|
|
1644
|
+
mapToWidget: ue,
|
|
1295
1645
|
buildCustomWidget: re,
|
|
1296
|
-
getChildren:
|
|
1297
|
-
}), { gsl:
|
|
1646
|
+
getChildren: pe
|
|
1647
|
+
}), { gsl: Ls, gslByUid: vs } = r({
|
|
1298
1648
|
itemType: "TAGS",
|
|
1649
|
+
kind: "input",
|
|
1299
1650
|
entryShape: "keyed",
|
|
1300
1651
|
sensibleDefaults: {
|
|
1301
1652
|
base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
|
|
1302
1653
|
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
1303
|
-
apply: (e, t) =>
|
|
1654
|
+
apply: (e, t) => T(d(e, t), t)
|
|
1304
1655
|
},
|
|
1305
1656
|
mapToWidget: (e) => ({
|
|
1306
1657
|
uid: e.uid ?? "",
|
|
@@ -1311,116 +1662,146 @@ const { gsl: Jt, gslByUid: Qt } = u({
|
|
|
1311
1662
|
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
1312
1663
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
1313
1664
|
...e.validator != null ? { validator: y(e.validator, "array") } : {},
|
|
1314
|
-
props:
|
|
1665
|
+
props: p(e)
|
|
1315
1666
|
})
|
|
1316
1667
|
});
|
|
1317
1668
|
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
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1669
|
+
ns as $,
|
|
1670
|
+
Nt as A,
|
|
1671
|
+
Ct as B,
|
|
1672
|
+
qt as C,
|
|
1673
|
+
Jt as D,
|
|
1674
|
+
Qt as E,
|
|
1675
|
+
es as F,
|
|
1676
|
+
ts as G,
|
|
1677
|
+
ss as H,
|
|
1678
|
+
Bt as I,
|
|
1679
|
+
Wt as J,
|
|
1680
|
+
wt as K,
|
|
1681
|
+
xt as L,
|
|
1682
|
+
Gt as M,
|
|
1683
|
+
Kt as N,
|
|
1684
|
+
Yt as O,
|
|
1685
|
+
$t as P,
|
|
1686
|
+
jt as Q,
|
|
1687
|
+
Zt as R,
|
|
1688
|
+
Ot as S,
|
|
1689
|
+
Ft as T,
|
|
1690
|
+
zt as U,
|
|
1691
|
+
Ht as V,
|
|
1692
|
+
Vt as W,
|
|
1693
|
+
Xt as X,
|
|
1694
|
+
as as Y,
|
|
1695
|
+
is as Z,
|
|
1696
|
+
h as _,
|
|
1697
|
+
ot as a,
|
|
1698
|
+
ke as a$,
|
|
1699
|
+
ls as a0,
|
|
1700
|
+
H as a1,
|
|
1701
|
+
os as a2,
|
|
1702
|
+
us as a3,
|
|
1703
|
+
rs as a4,
|
|
1704
|
+
ps as a5,
|
|
1705
|
+
ds as a6,
|
|
1706
|
+
ys as a7,
|
|
1707
|
+
cs as a8,
|
|
1708
|
+
ms as a9,
|
|
1709
|
+
Ve as aA,
|
|
1710
|
+
He as aB,
|
|
1711
|
+
ze as aC,
|
|
1712
|
+
Fe as aD,
|
|
1713
|
+
Oe as aE,
|
|
1714
|
+
it as aF,
|
|
1715
|
+
at as aG,
|
|
1716
|
+
Ge as aH,
|
|
1717
|
+
xe as aI,
|
|
1718
|
+
we as aJ,
|
|
1719
|
+
We as aK,
|
|
1720
|
+
Be as aL,
|
|
1721
|
+
Ce as aM,
|
|
1722
|
+
Ne as aN,
|
|
1723
|
+
Re as aO,
|
|
1724
|
+
$e as aP,
|
|
1725
|
+
Ye as aQ,
|
|
1726
|
+
Ke as aR,
|
|
1727
|
+
ve as aS,
|
|
1728
|
+
Le as aT,
|
|
1729
|
+
Me as aU,
|
|
1730
|
+
Ue as aV,
|
|
1731
|
+
Pe as aW,
|
|
1732
|
+
fe as aX,
|
|
1733
|
+
De as aY,
|
|
1734
|
+
Se as aZ,
|
|
1735
|
+
he as a_,
|
|
1736
|
+
Ts as aa,
|
|
1737
|
+
gs as ab,
|
|
1738
|
+
bs as ac,
|
|
1739
|
+
_s as ad,
|
|
1740
|
+
Es as ae,
|
|
1741
|
+
Is as af,
|
|
1742
|
+
As as ag,
|
|
1743
|
+
ks as ah,
|
|
1744
|
+
hs as ai,
|
|
1745
|
+
Ss as aj,
|
|
1746
|
+
Ds as ak,
|
|
1747
|
+
fs as al,
|
|
1748
|
+
Ps as am,
|
|
1749
|
+
Us as an,
|
|
1750
|
+
Ms as ao,
|
|
1751
|
+
st as ap,
|
|
1752
|
+
tt as aq,
|
|
1753
|
+
et as ar,
|
|
1754
|
+
Qe as as,
|
|
1755
|
+
Je as at,
|
|
1756
|
+
M as au,
|
|
1757
|
+
qe as av,
|
|
1758
|
+
Ze as aw,
|
|
1759
|
+
U as ax,
|
|
1760
|
+
je as ay,
|
|
1761
|
+
Xe as az,
|
|
1762
|
+
ut as b,
|
|
1763
|
+
Ae as b0,
|
|
1764
|
+
Ie as b1,
|
|
1765
|
+
Ee as b2,
|
|
1766
|
+
_e as b3,
|
|
1767
|
+
be as b4,
|
|
1768
|
+
ge as b5,
|
|
1769
|
+
Te as b6,
|
|
1770
|
+
lt as b7,
|
|
1771
|
+
nt as b8,
|
|
1772
|
+
X as b9,
|
|
1773
|
+
f as ba,
|
|
1774
|
+
m as bb,
|
|
1775
|
+
R as bc,
|
|
1776
|
+
Ls as bd,
|
|
1777
|
+
vs as be,
|
|
1778
|
+
P as bf,
|
|
1779
|
+
r as bg,
|
|
1780
|
+
p as bh,
|
|
1781
|
+
d as bi,
|
|
1782
|
+
T as bj,
|
|
1783
|
+
rt as c,
|
|
1784
|
+
pt as d,
|
|
1785
|
+
dt as e,
|
|
1786
|
+
yt as f,
|
|
1787
|
+
ct as g,
|
|
1788
|
+
mt as h,
|
|
1789
|
+
Tt as i,
|
|
1790
|
+
gt as j,
|
|
1791
|
+
bt as k,
|
|
1792
|
+
_t as l,
|
|
1793
|
+
Et as m,
|
|
1794
|
+
It as n,
|
|
1795
|
+
At as o,
|
|
1796
|
+
kt as p,
|
|
1797
|
+
ht as q,
|
|
1798
|
+
St as r,
|
|
1799
|
+
Dt as s,
|
|
1800
|
+
ft as t,
|
|
1801
|
+
Pt as u,
|
|
1802
|
+
Ut as v,
|
|
1803
|
+
Mt as w,
|
|
1804
|
+
Lt as x,
|
|
1805
|
+
vt as y,
|
|
1806
|
+
Rt as z
|
|
1426
1807
|
};
|