@golemui/gui-shared 1.0.0-rc.2 → 1.0.0-rc.4
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 +17 -0
- package/LICENSE +21 -0
- package/index.js +1 -1
- package/index.umd.cjs +1 -1
- package/internals.js +244 -230
- package/internals.umd.cjs +1 -1
- package/lib/dx/core/dxBase.types.d.ts +24 -4
- package/lib/dx/core/eventWiring.service.d.ts +13 -0
- package/lib/dx/shortcuts/custom-action/customAction.domain.d.ts +1 -1
- package/package.json +4 -3
- package/{register-BCL1xvhN.js → register-BxVKv9Qh.js} +274 -248
- package/register-dBzdQbWZ.cjs +1 -0
- package/register-CjTULX-4.cjs +0 -1
|
@@ -5,7 +5,7 @@ const m = {
|
|
|
5
5
|
LAYOUTS: "LAYOUTS",
|
|
6
6
|
DISPLAYS: "DISPLAYS"
|
|
7
7
|
};
|
|
8
|
-
function
|
|
8
|
+
function P(e) {
|
|
9
9
|
return function(t, s = () => !0) {
|
|
10
10
|
return {
|
|
11
11
|
kind: "leaf",
|
|
@@ -18,7 +18,7 @@ function U(e) {
|
|
|
18
18
|
function y(e, t) {
|
|
19
19
|
return typeof e == "function" ? e : { type: t, ...e ?? {} };
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function me(e, t, s) {
|
|
22
22
|
if (typeof t == "function") {
|
|
23
23
|
const n = t;
|
|
24
24
|
return {
|
|
@@ -36,7 +36,7 @@ function ce(e, t, s) {
|
|
|
36
36
|
tags: s ?? []
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function Te(e, t, s) {
|
|
40
40
|
if (typeof t == "function") {
|
|
41
41
|
const n = t;
|
|
42
42
|
return {
|
|
@@ -54,7 +54,7 @@ function ye(e, t, s) {
|
|
|
54
54
|
tags: s ?? []
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function ge(e, t, s) {
|
|
58
58
|
if (typeof t == "function") {
|
|
59
59
|
const n = t;
|
|
60
60
|
return {
|
|
@@ -72,7 +72,7 @@ function me(e, t, s) {
|
|
|
72
72
|
tags: s ?? []
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function be(e, t, s) {
|
|
76
76
|
if (typeof t == "function") {
|
|
77
77
|
const i = t;
|
|
78
78
|
return { type: "ITEMS", itemType: "SELECT", items: [{ key: e, def: (l) => ({ type: "select", ...i(l) }) }], tags: s ?? [] };
|
|
@@ -80,7 +80,7 @@ function Te(e, t, s) {
|
|
|
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 he(e, t, s) {
|
|
84
84
|
if (typeof t == "function") {
|
|
85
85
|
const i = t;
|
|
86
86
|
return { type: "ITEMS", itemType: "DROPDOWN", items: [{ key: e, def: (l) => ({
|
|
@@ -91,7 +91,7 @@ function ge(e, t, s) {
|
|
|
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 _e(e, t, s) {
|
|
95
95
|
if (typeof t == "function") {
|
|
96
96
|
const i = t;
|
|
97
97
|
return { type: "ITEMS", itemType: "RADIOGROUP", items: [{ key: e, def: (l) => ({ type: "radiogroup", ...i(l) }) }], tags: s ?? [] };
|
|
@@ -99,7 +99,7 @@ function be(e, t, s) {
|
|
|
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 Se(e, t, s) {
|
|
103
103
|
if (typeof t == "function") {
|
|
104
104
|
const i = t;
|
|
105
105
|
return { type: "ITEMS", itemType: "CHECKBOX", items: [{ key: e, def: (l) => ({ type: "checkbox", ...i(l) }) }], tags: s ?? [] };
|
|
@@ -107,7 +107,7 @@ function he(e, t, s) {
|
|
|
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 Ae(e, t, s) {
|
|
111
111
|
if (typeof t == "function") {
|
|
112
112
|
const i = t;
|
|
113
113
|
return { type: "ITEMS", itemType: "TEXTAREA", items: [{ key: e, def: (l) => ({ type: "textarea", ...i(l) }) }], tags: s ?? [] };
|
|
@@ -115,7 +115,7 @@ function _e(e, t, s) {
|
|
|
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 Ie(e, t, s) {
|
|
119
119
|
if (typeof t == "function") {
|
|
120
120
|
const i = t;
|
|
121
121
|
return { type: "ITEMS", itemType: "PASSWORD", items: [{ key: e, def: (l) => ({ type: "password", ...i(l) }) }], tags: s ?? [] };
|
|
@@ -123,7 +123,7 @@ function Se(e, t, s) {
|
|
|
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 Ee(e, t, s) {
|
|
127
127
|
if (typeof t == "function") {
|
|
128
128
|
const i = t;
|
|
129
129
|
return { type: "ITEMS", itemType: "CURRENCY", items: [{ key: e, def: (l) => ({ type: "currency", ...i(l) }) }], tags: s ?? [] };
|
|
@@ -131,7 +131,7 @@ function Ae(e, t, s) {
|
|
|
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 fe(e, t, s) {
|
|
135
135
|
if (typeof t == "function") {
|
|
136
136
|
const i = t;
|
|
137
137
|
return { type: "ITEMS", itemType: "MARKDOWN", items: [{ key: e, def: (l) => ({ type: "markdown", ...i(l) }) }], tags: s ?? [] };
|
|
@@ -139,7 +139,7 @@ function Ie(e, t, s) {
|
|
|
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 ke(e, t, s) {
|
|
143
143
|
if (typeof t == "function") {
|
|
144
144
|
const i = t;
|
|
145
145
|
return { type: "ITEMS", itemType: "LIST", items: [{ key: e, def: (l) => ({ type: "list", ...i(l) }) }], tags: s ?? [] };
|
|
@@ -147,7 +147,7 @@ function Ee(e, t, s) {
|
|
|
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 Ue(e, t, s) {
|
|
151
151
|
if (typeof t == "function") {
|
|
152
152
|
const n = t;
|
|
153
153
|
return {
|
|
@@ -168,7 +168,7 @@ function fe(e, t, s) {
|
|
|
168
168
|
tags: s ?? []
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Pe(e, t, s) {
|
|
172
172
|
if (typeof t == "function") {
|
|
173
173
|
const i = t;
|
|
174
174
|
return { type: "ITEMS", itemType: "DATE_INPUT", items: [{ key: e, def: (l) => ({ type: "dateInput", ...i(l) }) }], tags: s ?? [] };
|
|
@@ -176,7 +176,7 @@ function ke(e, t, s) {
|
|
|
176
176
|
const a = { type: "dateInput", ...t };
|
|
177
177
|
return { type: "ITEMS", itemType: "DATE_INPUT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function Le(e, t, s) {
|
|
180
180
|
if (typeof t == "function") {
|
|
181
181
|
const i = t;
|
|
182
182
|
return { type: "ITEMS", itemType: "DATE_PICKER", items: [{ key: e, def: (l) => ({
|
|
@@ -187,7 +187,7 @@ function Ue(e, t, s) {
|
|
|
187
187
|
const a = { type: "datePicker", ...t };
|
|
188
188
|
return { type: "ITEMS", itemType: "DATE_PICKER", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function De(e, t, s) {
|
|
191
191
|
if (typeof t == "function") {
|
|
192
192
|
const i = t;
|
|
193
193
|
return { type: "ITEMS", itemType: "RANGE_CALENDAR", items: [{ key: e, def: (l) => ({
|
|
@@ -198,7 +198,7 @@ function Pe(e, t, s) {
|
|
|
198
198
|
const a = { type: "rangeCalendar", ...t };
|
|
199
199
|
return { type: "ITEMS", itemType: "RANGE_CALENDAR", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function Me(e, t, s) {
|
|
202
202
|
if (typeof t == "function") {
|
|
203
203
|
const i = t;
|
|
204
204
|
return { type: "ITEMS", itemType: "RANGE_DATE_INPUT", items: [{ key: e, def: (l) => ({
|
|
@@ -209,7 +209,7 @@ function Le(e, t, s) {
|
|
|
209
209
|
const a = { type: "rangeDateInput", ...t };
|
|
210
210
|
return { type: "ITEMS", itemType: "RANGE_DATE_INPUT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function Ce(e, t, s) {
|
|
213
213
|
if (typeof t == "function") {
|
|
214
214
|
const i = t;
|
|
215
215
|
return { type: "ITEMS", itemType: "RANGE_DATE_PICKER", items: [{ key: e, def: (l) => ({
|
|
@@ -220,7 +220,7 @@ function De(e, t, s) {
|
|
|
220
220
|
const a = { type: "rangeDatePicker", ...t };
|
|
221
221
|
return { type: "ITEMS", itemType: "RANGE_DATE_PICKER", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function ve(e, t, s, a) {
|
|
224
224
|
if (typeof s == "function") {
|
|
225
225
|
const o = s;
|
|
226
226
|
return { type: "ITEMS", itemType: "CUSTOM_INPUT", items: [{ key: t, def: (p) => ({
|
|
@@ -231,7 +231,7 @@ function Me(e, t, s, a) {
|
|
|
231
231
|
const n = { customType: e, ...s };
|
|
232
232
|
return { type: "ITEMS", itemType: "CUSTOM_INPUT", items: [{ key: t, def: n }], tags: a ?? [] };
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Be(e, t) {
|
|
235
235
|
return {
|
|
236
236
|
items: [e],
|
|
237
237
|
type: "ITEMS",
|
|
@@ -239,7 +239,7 @@ function Ce(e, t) {
|
|
|
239
239
|
tags: t ?? []
|
|
240
240
|
};
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function Ne(e, t, s) {
|
|
243
243
|
if (typeof t == "function") {
|
|
244
244
|
const i = t;
|
|
245
245
|
return { type: "ITEMS", itemType: "CUSTOM_ACTION", items: [
|
|
@@ -248,19 +248,19 @@ function ve(e, t, s) {
|
|
|
248
248
|
}
|
|
249
249
|
return { type: "ITEMS", itemType: "CUSTOM_ACTION", items: [{ customType: e, ...t }], tags: s ?? [] };
|
|
250
250
|
}
|
|
251
|
-
const
|
|
251
|
+
const we = (e, t) => ({
|
|
252
252
|
type: "ITEMS",
|
|
253
253
|
itemType: m.DISPLAYS,
|
|
254
254
|
items: [{ render: e }],
|
|
255
255
|
tags: t ?? []
|
|
256
256
|
});
|
|
257
|
-
function
|
|
257
|
+
function We(e, t) {
|
|
258
258
|
return { type: "ITEMS", itemType: "ALERTS", items: [e], tags: t ?? [] };
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function Re(e, t) {
|
|
261
261
|
return { type: "ITEMS", itemType: "MARKDOWN_TEXTS", items: [e], tags: t ?? [] };
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function Oe(e, t, s) {
|
|
264
264
|
if (typeof t == "function") {
|
|
265
265
|
const r = t;
|
|
266
266
|
return { type: "ITEMS", itemType: "CUSTOM_DISPLAY", items: [
|
|
@@ -274,12 +274,12 @@ function We(e, t, s) {
|
|
|
274
274
|
props: Object.keys(n).length > 0 ? n : void 0
|
|
275
275
|
}], tags: s ?? [] };
|
|
276
276
|
}
|
|
277
|
-
const
|
|
277
|
+
const L = (e, t, s) => ({
|
|
278
278
|
type: "ITEMS",
|
|
279
279
|
itemType: m.LAYOUTS,
|
|
280
280
|
items: [{ def: { widgetName: "flex", ...t ?? {} }, children: e }],
|
|
281
281
|
tags: s ?? []
|
|
282
|
-
}),
|
|
282
|
+
}), xe = (e, t, s) => L(e, { direction: "row", ...t ?? {} }, s), Ye = (e, t, s) => L(e, { direction: "column", ...t ?? {} }, s), D = (e, t, s) => ({
|
|
283
283
|
type: "ITEMS",
|
|
284
284
|
itemType: m.LAYOUTS,
|
|
285
285
|
items: [
|
|
@@ -294,11 +294,11 @@ const P = (e, t, s) => ({
|
|
|
294
294
|
}
|
|
295
295
|
],
|
|
296
296
|
tags: s ?? []
|
|
297
|
-
}),
|
|
297
|
+
}), $e = (e, t, s) => D(e, { direction: "row", ...t ?? {} }, s), Ge = (e, t, s) => D(e, { direction: "column", ...t ?? {} }, s);
|
|
298
298
|
function f(e) {
|
|
299
299
|
return e.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/(^-|-$)/g, "");
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Fe(e, t, s) {
|
|
302
302
|
const a = e.map((o) => ({
|
|
303
303
|
label: o.label,
|
|
304
304
|
uid: o.uid ?? f(o.label)
|
|
@@ -326,7 +326,7 @@ function $e(e, t, s) {
|
|
|
326
326
|
function k(e) {
|
|
327
327
|
return e.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/(^-|-$)/g, "");
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function Ke(e, t, s) {
|
|
330
330
|
const a = e.map((o) => ({
|
|
331
331
|
label: o.label,
|
|
332
332
|
uid: o.uid ?? k(o.label)
|
|
@@ -351,7 +351,7 @@ function Ge(e, t, s) {
|
|
|
351
351
|
tags: s ?? []
|
|
352
352
|
};
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function ze(e, t, s, a) {
|
|
355
355
|
if (typeof s == "function") {
|
|
356
356
|
const o = s;
|
|
357
357
|
return { type: "ITEMS", itemType: "CUSTOM_LAYOUT", items: [{ def: (p) => ({
|
|
@@ -361,7 +361,7 @@ function Fe(e, t, s, a) {
|
|
|
361
361
|
}
|
|
362
362
|
return { type: "ITEMS", itemType: "CUSTOM_LAYOUT", items: [{ def: { customType: e, ...s }, children: t }], tags: a ?? [] };
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function He(e, t, s) {
|
|
365
365
|
const { template: a, ...n } = t;
|
|
366
366
|
return {
|
|
367
367
|
type: "ITEMS",
|
|
@@ -370,7 +370,7 @@ function Ke(e, t, s) {
|
|
|
370
370
|
tags: s ?? []
|
|
371
371
|
};
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function Ve(e, t, s) {
|
|
374
374
|
if (typeof t == "function") {
|
|
375
375
|
const i = t;
|
|
376
376
|
return { type: "ITEMS", itemType: "TAGS", items: [{ key: e, def: (l) => ({ type: "tags", ...i(l) }) }], tags: s ?? [] };
|
|
@@ -379,12 +379,12 @@ function ze(e, t, s) {
|
|
|
379
379
|
return { type: "ITEMS", itemType: "TAGS", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
380
380
|
}
|
|
381
381
|
const S = /* @__PURE__ */ new Map();
|
|
382
|
-
function
|
|
382
|
+
function M(e, t) {
|
|
383
383
|
if (S.has(e))
|
|
384
384
|
throw new Error(`Item type "${e}" is already registered.`);
|
|
385
385
|
S.set(e, t);
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function Xe(e) {
|
|
388
388
|
const t = S.get(e);
|
|
389
389
|
if (!t)
|
|
390
390
|
throw new Error(
|
|
@@ -392,7 +392,7 @@ function He(e) {
|
|
|
392
392
|
);
|
|
393
393
|
return t;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function je(e) {
|
|
396
396
|
return S.has(e);
|
|
397
397
|
}
|
|
398
398
|
function u(e) {
|
|
@@ -402,9 +402,9 @@ function u(e) {
|
|
|
402
402
|
let l = { ...e.sensibleDefaults.base };
|
|
403
403
|
for (const p of r) {
|
|
404
404
|
const T = p.config;
|
|
405
|
-
for (const
|
|
406
|
-
const
|
|
407
|
-
T[
|
|
405
|
+
for (const b of e.sensibleDefaults.fields) {
|
|
406
|
+
const h = b;
|
|
407
|
+
T[h] != null && (l = { ...l, [h]: T[h] });
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
410
|
return l;
|
|
@@ -430,8 +430,8 @@ function u(e) {
|
|
|
430
430
|
...e.buildCustomWidget ? { buildCustomWidget: e.buildCustomWidget } : {},
|
|
431
431
|
...e.getChildren ? { getChildren: e.getChildren } : {}
|
|
432
432
|
};
|
|
433
|
-
|
|
434
|
-
const i =
|
|
433
|
+
M(e.itemType, n);
|
|
434
|
+
const i = P(e.itemType);
|
|
435
435
|
return { gsl: i, gslByUid: (r, l) => i(l, ((p) => p.uid === r)) };
|
|
436
436
|
}
|
|
437
437
|
function d(e) {
|
|
@@ -446,22 +446,22 @@ function d(e) {
|
|
|
446
446
|
type: l,
|
|
447
447
|
size: p,
|
|
448
448
|
onLoad: T,
|
|
449
|
-
onChange:
|
|
450
|
-
onFilter:
|
|
449
|
+
onChange: b,
|
|
450
|
+
onFilter: h,
|
|
451
451
|
on: A,
|
|
452
452
|
states: _,
|
|
453
|
-
include:
|
|
454
|
-
exclude:
|
|
455
|
-
validator:
|
|
456
|
-
...
|
|
453
|
+
include: pe,
|
|
454
|
+
exclude: de,
|
|
455
|
+
validator: ce,
|
|
456
|
+
...B
|
|
457
457
|
} = e;
|
|
458
|
-
return
|
|
458
|
+
return B;
|
|
459
459
|
}
|
|
460
|
-
function
|
|
460
|
+
function N(e) {
|
|
461
461
|
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
462
|
}
|
|
463
463
|
function c(e, t) {
|
|
464
|
-
return e.label != null || t.suppressAutomaticLabels || !e.path ? e : { ...e, label:
|
|
464
|
+
return e.label != null || t.suppressAutomaticLabels || !e.path ? e : { ...e, label: N(e.path) };
|
|
465
465
|
}
|
|
466
466
|
function g(e, t) {
|
|
467
467
|
return e.placeholder != null || t.suppressAutomaticPlaceholders || !e.path ? e : { ...e, placeholder: e.path };
|
|
@@ -469,16 +469,16 @@ function g(e, t) {
|
|
|
469
469
|
function w(e) {
|
|
470
470
|
switch (e.type) {
|
|
471
471
|
case "text":
|
|
472
|
-
return W(e);
|
|
473
|
-
case "number":
|
|
474
472
|
return R(e);
|
|
473
|
+
case "number":
|
|
474
|
+
return O(e);
|
|
475
475
|
case "boolean":
|
|
476
|
-
return
|
|
476
|
+
return W(e);
|
|
477
477
|
default:
|
|
478
478
|
throw new Error(`Unsupported field type "${e.type}"`);
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
|
-
function
|
|
481
|
+
function W(e) {
|
|
482
482
|
const t = d(e);
|
|
483
483
|
return {
|
|
484
484
|
uid: e.uid ?? "",
|
|
@@ -492,7 +492,7 @@ function N(e) {
|
|
|
492
492
|
props: t
|
|
493
493
|
};
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function R(e) {
|
|
496
496
|
const t = d(e);
|
|
497
497
|
return {
|
|
498
498
|
uid: e.uid ?? "",
|
|
@@ -509,7 +509,7 @@ function W(e) {
|
|
|
509
509
|
validator: y(e.validator, "string")
|
|
510
510
|
};
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function O(e) {
|
|
513
513
|
const t = d(e);
|
|
514
514
|
return {
|
|
515
515
|
uid: e.uid ?? "",
|
|
@@ -526,7 +526,7 @@ function R(e) {
|
|
|
526
526
|
validator: y(e.validator, "number")
|
|
527
527
|
};
|
|
528
528
|
}
|
|
529
|
-
const { gsl: E, gslByUid:
|
|
529
|
+
const { gsl: E, gslByUid: qe } = u({
|
|
530
530
|
itemType: "INPUTS",
|
|
531
531
|
entryShape: "keyed",
|
|
532
532
|
sensibleDefaults: {
|
|
@@ -541,7 +541,7 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
541
541
|
}
|
|
542
542
|
},
|
|
543
543
|
mapToWidget: w
|
|
544
|
-
}),
|
|
544
|
+
}), Je = (e) => E(e, (t) => t.type === "text"), Qe = (e) => E(e, (t) => t.type === "number"), Ze = (e) => E(e, (t) => t.type === "boolean"), { gsl: et, gslByUid: tt } = u({
|
|
545
545
|
itemType: "SELECT",
|
|
546
546
|
entryShape: "keyed",
|
|
547
547
|
sensibleDefaults: {
|
|
@@ -560,7 +560,7 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
560
560
|
...e.validator != null ? { validator: e.validator } : {},
|
|
561
561
|
props: d(e)
|
|
562
562
|
})
|
|
563
|
-
}), { gsl:
|
|
563
|
+
}), { gsl: st, gslByUid: at } = u({
|
|
564
564
|
itemType: "DROPDOWN",
|
|
565
565
|
entryShape: "keyed",
|
|
566
566
|
sensibleDefaults: {
|
|
@@ -582,7 +582,7 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
582
582
|
...e.validator != null ? { validator: e.validator } : {},
|
|
583
583
|
props: d(e)
|
|
584
584
|
})
|
|
585
|
-
}), { gsl:
|
|
585
|
+
}), { gsl: nt, gslByUid: it } = u({
|
|
586
586
|
itemType: "RADIOGROUP",
|
|
587
587
|
entryShape: "keyed",
|
|
588
588
|
sensibleDefaults: {
|
|
@@ -601,7 +601,7 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
601
601
|
...e.validator != null ? { validator: e.validator } : {},
|
|
602
602
|
props: d(e)
|
|
603
603
|
})
|
|
604
|
-
}), { gsl:
|
|
604
|
+
}), { gsl: lt, gslByUid: ot } = u({
|
|
605
605
|
itemType: "CHECKBOX",
|
|
606
606
|
entryShape: "keyed",
|
|
607
607
|
sensibleDefaults: {
|
|
@@ -620,7 +620,7 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
620
620
|
...e.validator != null ? { validator: y(e.validator, "boolean") } : {},
|
|
621
621
|
props: d(e)
|
|
622
622
|
})
|
|
623
|
-
}), { gsl:
|
|
623
|
+
}), { gsl: rt, gslByUid: ut } = u({
|
|
624
624
|
itemType: "TEXTAREA",
|
|
625
625
|
entryShape: "keyed",
|
|
626
626
|
sensibleDefaults: {
|
|
@@ -639,7 +639,7 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
639
639
|
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
640
640
|
props: d(e)
|
|
641
641
|
})
|
|
642
|
-
}), { gsl:
|
|
642
|
+
}), { gsl: pt, gslByUid: dt } = u({
|
|
643
643
|
itemType: "PASSWORD",
|
|
644
644
|
entryShape: "keyed",
|
|
645
645
|
sensibleDefaults: {
|
|
@@ -658,7 +658,7 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
658
658
|
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
659
659
|
props: d(e)
|
|
660
660
|
})
|
|
661
|
-
}), { gsl:
|
|
661
|
+
}), { gsl: ct, gslByUid: yt } = u({
|
|
662
662
|
itemType: "CURRENCY",
|
|
663
663
|
entryShape: "keyed",
|
|
664
664
|
sensibleDefaults: {
|
|
@@ -677,7 +677,7 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
677
677
|
...e.validator != null ? { validator: y(e.validator, "number") } : {},
|
|
678
678
|
props: d(e)
|
|
679
679
|
})
|
|
680
|
-
}), { gsl:
|
|
680
|
+
}), { gsl: mt, gslByUid: Tt } = u({
|
|
681
681
|
itemType: "MARKDOWN",
|
|
682
682
|
entryShape: "keyed",
|
|
683
683
|
sensibleDefaults: {
|
|
@@ -696,7 +696,7 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
696
696
|
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
697
697
|
props: d(e)
|
|
698
698
|
})
|
|
699
|
-
}), { gsl:
|
|
699
|
+
}), { gsl: gt, gslByUid: bt } = u({
|
|
700
700
|
itemType: "LIST",
|
|
701
701
|
entryShape: "keyed",
|
|
702
702
|
sensibleDefaults: {
|
|
@@ -715,7 +715,7 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
715
715
|
...e.validator != null ? { validator: e.validator } : {},
|
|
716
716
|
props: d(e)
|
|
717
717
|
})
|
|
718
|
-
}), { gsl:
|
|
718
|
+
}), { gsl: ht, gslByUid: _t } = u({
|
|
719
719
|
itemType: "CALENDAR",
|
|
720
720
|
entryShape: "bare",
|
|
721
721
|
sensibleDefaults: {
|
|
@@ -734,7 +734,7 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
734
734
|
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
735
735
|
props: d(e)
|
|
736
736
|
})
|
|
737
|
-
}), { gsl:
|
|
737
|
+
}), { gsl: St, gslByUid: At } = u({
|
|
738
738
|
itemType: "DATE_INPUT",
|
|
739
739
|
entryShape: "keyed",
|
|
740
740
|
sensibleDefaults: {
|
|
@@ -753,7 +753,7 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
753
753
|
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
754
754
|
props: d(e)
|
|
755
755
|
})
|
|
756
|
-
}), { gsl:
|
|
756
|
+
}), { gsl: It, gslByUid: Et } = u({
|
|
757
757
|
itemType: "DATE_PICKER",
|
|
758
758
|
entryShape: "keyed",
|
|
759
759
|
sensibleDefaults: {
|
|
@@ -775,7 +775,7 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
775
775
|
...e.validator != null ? { validator: y(e.validator, "string") } : {},
|
|
776
776
|
props: d(e)
|
|
777
777
|
})
|
|
778
|
-
}), { gsl:
|
|
778
|
+
}), { gsl: ft, gslByUid: kt } = u({
|
|
779
779
|
itemType: "RANGE_CALENDAR",
|
|
780
780
|
entryShape: "keyed",
|
|
781
781
|
sensibleDefaults: {
|
|
@@ -794,7 +794,7 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
794
794
|
...e.validator != null ? { validator: y(e.validator, "array") } : {},
|
|
795
795
|
props: d(e)
|
|
796
796
|
})
|
|
797
|
-
}), { gsl:
|
|
797
|
+
}), { gsl: Ut, gslByUid: Pt } = u({
|
|
798
798
|
itemType: "RANGE_DATE_INPUT",
|
|
799
799
|
entryShape: "keyed",
|
|
800
800
|
sensibleDefaults: {
|
|
@@ -813,7 +813,7 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
813
813
|
...e.validator != null ? { validator: y(e.validator, "array") } : {},
|
|
814
814
|
props: d(e)
|
|
815
815
|
})
|
|
816
|
-
}), { gsl:
|
|
816
|
+
}), { gsl: Lt, gslByUid: Dt } = u({
|
|
817
817
|
itemType: "RANGE_DATE_PICKER",
|
|
818
818
|
entryShape: "keyed",
|
|
819
819
|
sensibleDefaults: {
|
|
@@ -836,11 +836,11 @@ const { gsl: E, gslByUid: Xe } = u({
|
|
|
836
836
|
props: d(e)
|
|
837
837
|
})
|
|
838
838
|
});
|
|
839
|
-
function
|
|
839
|
+
function x(e) {
|
|
840
840
|
const t = {};
|
|
841
841
|
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
842
|
}
|
|
843
|
-
function
|
|
843
|
+
function Y(e) {
|
|
844
844
|
return {
|
|
845
845
|
uid: e.uid ?? "",
|
|
846
846
|
kind: "input",
|
|
@@ -851,7 +851,7 @@ function x(e) {
|
|
|
851
851
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
852
852
|
...e.validator != null ? { validator: y(e.validator, "array") } : {},
|
|
853
853
|
props: {
|
|
854
|
-
...
|
|
854
|
+
...x(e),
|
|
855
855
|
template: { kind: "layout", type: "flex", children: [], props: { direction: "column" } }
|
|
856
856
|
}
|
|
857
857
|
};
|
|
@@ -860,12 +860,12 @@ function I(e, t) {
|
|
|
860
860
|
for (const s of e) {
|
|
861
861
|
if (typeof s == "function") continue;
|
|
862
862
|
const a = s;
|
|
863
|
-
typeof a.path == "string" && a.path && (a.path = t + a.path), "children" in a && Array.isArray(a.children) && I(a.children, t);
|
|
863
|
+
typeof a.path == "string" && a.path && !a.path.startsWith(t) && (a.path = t + a.path), "children" in a && Array.isArray(a.children) && I(a.children, t);
|
|
864
864
|
const n = a.props;
|
|
865
865
|
n?.template?.children && Array.isArray(n.template.children) && I(n.template.children, t);
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function $(e, t) {
|
|
869
869
|
const s = t.walkChildren(t.children ?? []), a = e.kind === "static" ? e.def.path ?? "" : e.fn({})?.path ?? "";
|
|
870
870
|
a && I(s, a + ".items.");
|
|
871
871
|
const n = {
|
|
@@ -891,32 +891,42 @@ function Y(e, t) {
|
|
|
891
891
|
};
|
|
892
892
|
});
|
|
893
893
|
}
|
|
894
|
-
function
|
|
894
|
+
function G(e) {
|
|
895
895
|
return {
|
|
896
896
|
baseDef: e.def,
|
|
897
897
|
path: e.key,
|
|
898
898
|
children: e.children
|
|
899
899
|
};
|
|
900
900
|
}
|
|
901
|
-
function
|
|
901
|
+
function F(e) {
|
|
902
902
|
return e.children;
|
|
903
903
|
}
|
|
904
|
-
const
|
|
905
|
-
parseEntry:
|
|
904
|
+
const K = {
|
|
905
|
+
parseEntry: G,
|
|
906
906
|
rollUpSensibleDefaults: () => ({}),
|
|
907
907
|
applySensibleDefaults: (e) => e,
|
|
908
|
-
mapToWidget:
|
|
909
|
-
buildCustomWidget:
|
|
910
|
-
getChildren:
|
|
908
|
+
mapToWidget: Y,
|
|
909
|
+
buildCustomWidget: $,
|
|
910
|
+
getChildren: F
|
|
911
911
|
};
|
|
912
|
-
|
|
913
|
-
const
|
|
912
|
+
M("REPEATER", K);
|
|
913
|
+
const z = P("REPEATER"), Mt = (e, t) => z(t, ((s) => s.uid === e)), C = {
|
|
914
914
|
onLoad: "load",
|
|
915
915
|
onChange: "change",
|
|
916
916
|
onFilter: "filter",
|
|
917
917
|
onBlur: "blur"
|
|
918
|
-
},
|
|
919
|
-
|
|
918
|
+
}, H = Object.keys(C);
|
|
919
|
+
function V(e) {
|
|
920
|
+
if (e.length > 0)
|
|
921
|
+
return null;
|
|
922
|
+
try {
|
|
923
|
+
const t = e();
|
|
924
|
+
return typeof t == "string" ? t : null;
|
|
925
|
+
} catch {
|
|
926
|
+
return null;
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
class X {
|
|
920
930
|
// ── Action-specific: onClick ───────────────────────────────────
|
|
921
931
|
extractOnClickFromMergeResult(t, s, a) {
|
|
922
932
|
if (t.kind === "dynamic") {
|
|
@@ -952,21 +962,27 @@ class H {
|
|
|
952
962
|
const n = { ...t.on || {} };
|
|
953
963
|
let i = !1;
|
|
954
964
|
const o = { ...t };
|
|
955
|
-
for (const r of
|
|
965
|
+
for (const r of H) {
|
|
956
966
|
const l = t[r];
|
|
957
967
|
if (l == null) continue;
|
|
958
|
-
const p =
|
|
968
|
+
const p = C[r];
|
|
959
969
|
if (typeof l == "function") {
|
|
960
|
-
const T =
|
|
961
|
-
|
|
970
|
+
const T = V(l);
|
|
971
|
+
if (T != null)
|
|
972
|
+
n[p] = T;
|
|
973
|
+
else {
|
|
974
|
+
const b = a.next();
|
|
975
|
+
s.set(b, l), n[p] = b;
|
|
976
|
+
}
|
|
977
|
+
i = !0;
|
|
962
978
|
} else typeof l == "string" && (n[p] = l, i = !0);
|
|
963
979
|
delete o[r];
|
|
964
980
|
}
|
|
965
981
|
return i && (o.on = n), o;
|
|
966
982
|
}
|
|
967
983
|
}
|
|
968
|
-
const
|
|
969
|
-
function
|
|
984
|
+
const v = new X();
|
|
985
|
+
function j(e) {
|
|
970
986
|
const {
|
|
971
987
|
uid: t,
|
|
972
988
|
label: s,
|
|
@@ -978,8 +994,8 @@ function V(e) {
|
|
|
978
994
|
type: l,
|
|
979
995
|
tags: p,
|
|
980
996
|
size: T,
|
|
981
|
-
include:
|
|
982
|
-
exclude:
|
|
997
|
+
include: b,
|
|
998
|
+
exclude: h,
|
|
983
999
|
states: A,
|
|
984
1000
|
..._
|
|
985
1001
|
} = e;
|
|
@@ -994,17 +1010,17 @@ function V(e) {
|
|
|
994
1010
|
props: _
|
|
995
1011
|
};
|
|
996
1012
|
}
|
|
997
|
-
const { gsl:
|
|
1013
|
+
const { gsl: Ct, gslByUid: vt } = u({
|
|
998
1014
|
itemType: "ACTIONS",
|
|
999
1015
|
entryShape: "bare",
|
|
1000
|
-
mapToWidget:
|
|
1001
|
-
afterMerge: (e, t) =>
|
|
1016
|
+
mapToWidget: j,
|
|
1017
|
+
afterMerge: (e, t) => v.extractOnClickFromMergeResult(
|
|
1002
1018
|
e,
|
|
1003
1019
|
t.eventRegistry,
|
|
1004
1020
|
t.eventIdGenerator
|
|
1005
1021
|
)
|
|
1006
1022
|
});
|
|
1007
|
-
function
|
|
1023
|
+
function q(e) {
|
|
1008
1024
|
const {
|
|
1009
1025
|
uid: t,
|
|
1010
1026
|
widgetName: s,
|
|
@@ -1026,7 +1042,7 @@ function X(e) {
|
|
|
1026
1042
|
children: []
|
|
1027
1043
|
};
|
|
1028
1044
|
}
|
|
1029
|
-
function
|
|
1045
|
+
function J(e, t) {
|
|
1030
1046
|
const s = t.walkChildren(t.children ?? []);
|
|
1031
1047
|
if (e.kind === "static")
|
|
1032
1048
|
return { ...t.mapStaticDef(e.def, "LAYOUTS"), children: s };
|
|
@@ -1036,17 +1052,26 @@ function j(e, t) {
|
|
|
1036
1052
|
return { ...t.mapStaticDef(i, "LAYOUTS"), children: s };
|
|
1037
1053
|
});
|
|
1038
1054
|
}
|
|
1039
|
-
function
|
|
1055
|
+
function Q(e) {
|
|
1040
1056
|
return e.children;
|
|
1041
1057
|
}
|
|
1042
|
-
const { gsl:
|
|
1058
|
+
const { gsl: Bt, gslByUid: Nt } = u({
|
|
1043
1059
|
itemType: "LAYOUTS",
|
|
1044
1060
|
entryShape: "compound",
|
|
1045
|
-
mapToWidget:
|
|
1046
|
-
buildCustomWidget:
|
|
1047
|
-
getChildren:
|
|
1061
|
+
mapToWidget: q,
|
|
1062
|
+
buildCustomWidget: J,
|
|
1063
|
+
getChildren: Q
|
|
1048
1064
|
});
|
|
1049
|
-
function
|
|
1065
|
+
function U(e) {
|
|
1066
|
+
return {
|
|
1067
|
+
errors: void 0,
|
|
1068
|
+
touched: void 0,
|
|
1069
|
+
translate: void 0,
|
|
1070
|
+
...e ?? {},
|
|
1071
|
+
$form: e?.$form ?? {}
|
|
1072
|
+
};
|
|
1073
|
+
}
|
|
1074
|
+
function Z(e) {
|
|
1050
1075
|
return {
|
|
1051
1076
|
uid: "",
|
|
1052
1077
|
kind: "display",
|
|
@@ -1054,7 +1079,7 @@ function J(e) {
|
|
|
1054
1079
|
props: { render: e.render }
|
|
1055
1080
|
};
|
|
1056
1081
|
}
|
|
1057
|
-
function
|
|
1082
|
+
function ee(e, t) {
|
|
1058
1083
|
if (e.kind === "static") {
|
|
1059
1084
|
const a = e.def;
|
|
1060
1085
|
return ((n) => ({
|
|
@@ -1063,7 +1088,7 @@ function Z(e, t) {
|
|
|
1063
1088
|
type: "renderer",
|
|
1064
1089
|
...a.include != null ? { include: a.include } : {},
|
|
1065
1090
|
...a.exclude != null ? { exclude: a.exclude } : {},
|
|
1066
|
-
props: { render: a.render(n
|
|
1091
|
+
props: { render: a.render(U(n)) }
|
|
1067
1092
|
}));
|
|
1068
1093
|
}
|
|
1069
1094
|
const s = e.fn;
|
|
@@ -1075,16 +1100,16 @@ function Z(e, t) {
|
|
|
1075
1100
|
type: "renderer",
|
|
1076
1101
|
...n.include != null ? { include: n.include } : {},
|
|
1077
1102
|
...n.exclude != null ? { exclude: n.exclude } : {},
|
|
1078
|
-
props: { render: n.render(a
|
|
1103
|
+
props: { render: n.render(U(a)) }
|
|
1079
1104
|
};
|
|
1080
1105
|
});
|
|
1081
1106
|
}
|
|
1082
|
-
const { gsl:
|
|
1107
|
+
const { gsl: wt, gslByUid: Wt } = u({
|
|
1083
1108
|
itemType: "DISPLAYS",
|
|
1084
1109
|
entryShape: "bare",
|
|
1085
|
-
mapToWidget:
|
|
1086
|
-
buildCustomWidget:
|
|
1087
|
-
}), { gsl:
|
|
1110
|
+
mapToWidget: Z,
|
|
1111
|
+
buildCustomWidget: ee
|
|
1112
|
+
}), { gsl: Rt, gslByUid: Ot } = u({
|
|
1088
1113
|
itemType: "ALERTS",
|
|
1089
1114
|
entryShape: "bare",
|
|
1090
1115
|
mapToWidget: (e) => ({
|
|
@@ -1096,7 +1121,7 @@ const { gsl: Bt, gslByUid: wt } = u({
|
|
|
1096
1121
|
...e.level != null ? { level: e.level } : {}
|
|
1097
1122
|
}
|
|
1098
1123
|
})
|
|
1099
|
-
}), { gsl:
|
|
1124
|
+
}), { gsl: xt, gslByUid: Yt } = u({
|
|
1100
1125
|
itemType: "MARKDOWN_TEXTS",
|
|
1101
1126
|
entryShape: "bare",
|
|
1102
1127
|
mapToWidget: (e) => ({
|
|
@@ -1108,7 +1133,7 @@ const { gsl: Bt, gslByUid: wt } = u({
|
|
|
1108
1133
|
}
|
|
1109
1134
|
})
|
|
1110
1135
|
});
|
|
1111
|
-
function
|
|
1136
|
+
function te(e) {
|
|
1112
1137
|
return {
|
|
1113
1138
|
uid: e.uid ?? "",
|
|
1114
1139
|
kind: "layout",
|
|
@@ -1121,7 +1146,7 @@ function Q(e) {
|
|
|
1121
1146
|
children: []
|
|
1122
1147
|
};
|
|
1123
1148
|
}
|
|
1124
|
-
function
|
|
1149
|
+
function se(e, t) {
|
|
1125
1150
|
const s = t.walkChildren(t.children ?? []);
|
|
1126
1151
|
if (e.kind === "static")
|
|
1127
1152
|
return { ...t.mapStaticDef(e.def, "TABS"), children: s };
|
|
@@ -1131,17 +1156,17 @@ function ee(e, t) {
|
|
|
1131
1156
|
return { ...t.mapStaticDef(i, "TABS"), children: s };
|
|
1132
1157
|
});
|
|
1133
1158
|
}
|
|
1134
|
-
function
|
|
1159
|
+
function ae(e) {
|
|
1135
1160
|
return e.children;
|
|
1136
1161
|
}
|
|
1137
|
-
const { gsl:
|
|
1162
|
+
const { gsl: $t, gslByUid: Gt } = u({
|
|
1138
1163
|
itemType: "TABS",
|
|
1139
1164
|
entryShape: "compound",
|
|
1140
|
-
mapToWidget:
|
|
1141
|
-
buildCustomWidget:
|
|
1142
|
-
getChildren:
|
|
1165
|
+
mapToWidget: te,
|
|
1166
|
+
buildCustomWidget: se,
|
|
1167
|
+
getChildren: ae
|
|
1143
1168
|
});
|
|
1144
|
-
function
|
|
1169
|
+
function ne(e) {
|
|
1145
1170
|
return {
|
|
1146
1171
|
uid: e.uid ?? "",
|
|
1147
1172
|
kind: "layout",
|
|
@@ -1155,7 +1180,7 @@ function se(e) {
|
|
|
1155
1180
|
children: []
|
|
1156
1181
|
};
|
|
1157
1182
|
}
|
|
1158
|
-
function
|
|
1183
|
+
function ie(e, t) {
|
|
1159
1184
|
const s = t.walkChildren(t.children ?? []);
|
|
1160
1185
|
if (e.kind === "static")
|
|
1161
1186
|
return { ...t.mapStaticDef(e.def, "ACCORDION"), children: s };
|
|
@@ -1165,16 +1190,16 @@ function ae(e, t) {
|
|
|
1165
1190
|
return { ...t.mapStaticDef(i, "ACCORDION"), children: s };
|
|
1166
1191
|
});
|
|
1167
1192
|
}
|
|
1168
|
-
function
|
|
1193
|
+
function le(e) {
|
|
1169
1194
|
return e.children;
|
|
1170
1195
|
}
|
|
1171
|
-
const { gsl:
|
|
1196
|
+
const { gsl: Ft, gslByUid: Kt } = u({
|
|
1172
1197
|
itemType: "ACCORDION",
|
|
1173
1198
|
entryShape: "compound",
|
|
1174
|
-
mapToWidget:
|
|
1175
|
-
buildCustomWidget:
|
|
1176
|
-
getChildren:
|
|
1177
|
-
}), { gsl:
|
|
1199
|
+
mapToWidget: ne,
|
|
1200
|
+
buildCustomWidget: ie,
|
|
1201
|
+
getChildren: le
|
|
1202
|
+
}), { gsl: zt, gslByUid: Ht } = u({
|
|
1178
1203
|
itemType: "CUSTOM_INPUT",
|
|
1179
1204
|
entryShape: "keyed",
|
|
1180
1205
|
sensibleDefaults: {
|
|
@@ -1196,7 +1221,7 @@ const { gsl: $t, gslByUid: Gt } = u({
|
|
|
1196
1221
|
...e.validator != null ? { validator: e.validator } : {},
|
|
1197
1222
|
props: e.props ?? {}
|
|
1198
1223
|
})
|
|
1199
|
-
}), { gsl:
|
|
1224
|
+
}), { gsl: Vt, gslByUid: Xt } = u({
|
|
1200
1225
|
itemType: "CUSTOM_ACTION",
|
|
1201
1226
|
entryShape: "bare",
|
|
1202
1227
|
mapToWidget: (e) => {
|
|
@@ -1211,8 +1236,8 @@ const { gsl: $t, gslByUid: Gt } = u({
|
|
|
1211
1236
|
tags: l,
|
|
1212
1237
|
size: p,
|
|
1213
1238
|
include: T,
|
|
1214
|
-
exclude:
|
|
1215
|
-
states:
|
|
1239
|
+
exclude: b,
|
|
1240
|
+
states: h,
|
|
1216
1241
|
props: A,
|
|
1217
1242
|
..._
|
|
1218
1243
|
} = e;
|
|
@@ -1226,12 +1251,12 @@ const { gsl: $t, gslByUid: Gt } = u({
|
|
|
1226
1251
|
props: { ...A, ..._ }
|
|
1227
1252
|
};
|
|
1228
1253
|
},
|
|
1229
|
-
afterMerge: (e, t) =>
|
|
1254
|
+
afterMerge: (e, t) => v.extractOnClickFromMergeResult(
|
|
1230
1255
|
e,
|
|
1231
1256
|
t.eventRegistry,
|
|
1232
1257
|
t.eventIdGenerator
|
|
1233
1258
|
)
|
|
1234
|
-
}), { gsl:
|
|
1259
|
+
}), { gsl: jt, gslByUid: qt } = u({
|
|
1235
1260
|
itemType: "CUSTOM_DISPLAY",
|
|
1236
1261
|
entryShape: "bare",
|
|
1237
1262
|
mapToWidget: (e) => ({
|
|
@@ -1241,7 +1266,7 @@ const { gsl: $t, gslByUid: Gt } = u({
|
|
|
1241
1266
|
props: e.props ?? {}
|
|
1242
1267
|
})
|
|
1243
1268
|
});
|
|
1244
|
-
function
|
|
1269
|
+
function oe(e) {
|
|
1245
1270
|
return {
|
|
1246
1271
|
uid: e.uid ?? "",
|
|
1247
1272
|
kind: "layout",
|
|
@@ -1250,7 +1275,7 @@ function ie(e) {
|
|
|
1250
1275
|
children: []
|
|
1251
1276
|
};
|
|
1252
1277
|
}
|
|
1253
|
-
function
|
|
1278
|
+
function re(e, t) {
|
|
1254
1279
|
const s = t.walkChildren(t.children ?? []);
|
|
1255
1280
|
if (e.kind === "static")
|
|
1256
1281
|
return { ...t.mapStaticDef(e.def, "CUSTOM_LAYOUT"), children: s };
|
|
@@ -1260,16 +1285,16 @@ function le(e, t) {
|
|
|
1260
1285
|
return { ...t.mapStaticDef(i, "CUSTOM_LAYOUT"), children: s };
|
|
1261
1286
|
});
|
|
1262
1287
|
}
|
|
1263
|
-
function
|
|
1288
|
+
function ue(e) {
|
|
1264
1289
|
return e.children;
|
|
1265
1290
|
}
|
|
1266
|
-
const { gsl:
|
|
1291
|
+
const { gsl: Jt, gslByUid: Qt } = u({
|
|
1267
1292
|
itemType: "CUSTOM_LAYOUT",
|
|
1268
1293
|
entryShape: "compound",
|
|
1269
|
-
mapToWidget:
|
|
1270
|
-
buildCustomWidget:
|
|
1271
|
-
getChildren:
|
|
1272
|
-
}), { gsl:
|
|
1294
|
+
mapToWidget: oe,
|
|
1295
|
+
buildCustomWidget: re,
|
|
1296
|
+
getChildren: ue
|
|
1297
|
+
}), { gsl: Zt, gslByUid: es } = u({
|
|
1273
1298
|
itemType: "TAGS",
|
|
1274
1299
|
entryShape: "keyed",
|
|
1275
1300
|
sensibleDefaults: {
|
|
@@ -1290,110 +1315,111 @@ const { gsl: jt, gslByUid: qt } = u({
|
|
|
1290
1315
|
})
|
|
1291
1316
|
});
|
|
1292
1317
|
export {
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1318
|
+
Vt as $,
|
|
1319
|
+
It as A,
|
|
1320
|
+
Et as B,
|
|
1321
|
+
ft as C,
|
|
1322
|
+
kt as D,
|
|
1323
|
+
Ut as E,
|
|
1324
|
+
Pt as F,
|
|
1325
|
+
Lt as G,
|
|
1326
|
+
Dt as H,
|
|
1327
|
+
z as I,
|
|
1328
|
+
Mt as J,
|
|
1329
|
+
Ct as K,
|
|
1330
|
+
vt as L,
|
|
1331
|
+
Bt as M,
|
|
1332
|
+
Nt as N,
|
|
1333
|
+
wt as O,
|
|
1334
|
+
Wt as P,
|
|
1335
|
+
Rt as Q,
|
|
1336
|
+
Ot as R,
|
|
1337
|
+
xt as S,
|
|
1338
|
+
Yt as T,
|
|
1339
|
+
$t as U,
|
|
1340
|
+
Gt as V,
|
|
1341
|
+
Ft as W,
|
|
1342
|
+
Kt as X,
|
|
1343
|
+
zt as Y,
|
|
1344
|
+
Ht as Z,
|
|
1320
1345
|
E as _,
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1346
|
+
qe as a,
|
|
1347
|
+
Xt as a0,
|
|
1348
|
+
jt as a1,
|
|
1349
|
+
qt as a2,
|
|
1350
|
+
Jt as a3,
|
|
1351
|
+
Qt as a4,
|
|
1352
|
+
ze as a5,
|
|
1353
|
+
Ke as a6,
|
|
1354
|
+
Fe as a7,
|
|
1355
|
+
Ge as a8,
|
|
1356
|
+
$e as a9,
|
|
1357
|
+
he as aA,
|
|
1358
|
+
be as aB,
|
|
1359
|
+
ge as aC,
|
|
1360
|
+
Te as aD,
|
|
1361
|
+
me as aE,
|
|
1362
|
+
je as aF,
|
|
1363
|
+
Xe as aG,
|
|
1364
|
+
V as aH,
|
|
1365
|
+
m as aI,
|
|
1366
|
+
v as aJ,
|
|
1342
1367
|
Zt as aK,
|
|
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
|
-
Ze as
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1368
|
+
es as aL,
|
|
1369
|
+
P as aM,
|
|
1370
|
+
u as aN,
|
|
1371
|
+
d as aO,
|
|
1372
|
+
c as aP,
|
|
1373
|
+
g as aQ,
|
|
1374
|
+
D as aa,
|
|
1375
|
+
Ye as ab,
|
|
1376
|
+
xe as ac,
|
|
1377
|
+
L as ad,
|
|
1378
|
+
Oe as ae,
|
|
1379
|
+
Re as af,
|
|
1380
|
+
We as ag,
|
|
1381
|
+
we as ah,
|
|
1382
|
+
Ne as ai,
|
|
1383
|
+
Be as aj,
|
|
1384
|
+
ve as ak,
|
|
1385
|
+
Ve as al,
|
|
1386
|
+
He as am,
|
|
1387
|
+
Ce as an,
|
|
1388
|
+
Me as ao,
|
|
1389
|
+
De as ap,
|
|
1390
|
+
Le as aq,
|
|
1391
|
+
Pe as ar,
|
|
1392
|
+
Ue as as,
|
|
1393
|
+
ke as at,
|
|
1394
|
+
fe as au,
|
|
1395
|
+
Ee as av,
|
|
1396
|
+
Ie as aw,
|
|
1397
|
+
Ae as ax,
|
|
1398
|
+
Se as ay,
|
|
1399
|
+
_e as az,
|
|
1400
|
+
Je as b,
|
|
1401
|
+
Qe as c,
|
|
1402
|
+
Ze as d,
|
|
1403
|
+
et as e,
|
|
1404
|
+
tt as f,
|
|
1405
|
+
st as g,
|
|
1406
|
+
at as h,
|
|
1407
|
+
nt as i,
|
|
1408
|
+
it as j,
|
|
1409
|
+
lt as k,
|
|
1410
|
+
ot as l,
|
|
1411
|
+
rt as m,
|
|
1412
|
+
ut as n,
|
|
1413
|
+
pt as o,
|
|
1414
|
+
dt as p,
|
|
1415
|
+
ct as q,
|
|
1416
|
+
yt as r,
|
|
1417
|
+
mt as s,
|
|
1418
|
+
Tt as t,
|
|
1419
|
+
gt as u,
|
|
1420
|
+
bt as v,
|
|
1421
|
+
ht as w,
|
|
1422
|
+
_t as x,
|
|
1423
|
+
St as y,
|
|
1424
|
+
At as z
|
|
1399
1425
|
};
|