@golemui/gui-shared 1.3.0 → 1.4.0-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 +10 -0
- package/index.js +1 -1
- package/index.umd.cjs +1 -1
- package/internals.d.ts +6 -5
- package/internals.js +171 -143
- package/internals.umd.cjs +1 -1
- package/lib/dx/gui.d.ts +14 -0
- package/lib/dx/index.d.ts +6 -0
- package/lib/dx/shortcuts/multi-dropdown/guiMultiDropdown.impl.d.ts +7 -0
- package/lib/dx/shortcuts/multi-dropdown/multi-dropdown.domain.d.ts +17 -0
- package/lib/dx/shortcuts/multi-dropdown/register.d.ts +4 -0
- package/lib/dx/shortcuts/multi-list/guiMultiList.impl.d.ts +7 -0
- package/lib/dx/shortcuts/multi-list/multi-list.domain.d.ts +16 -0
- package/lib/dx/shortcuts/multi-list/register.d.ts +4 -0
- package/lib/golem-form.d.ts +8 -2
- package/lib/utils/layout-ids.d.ts +44 -0
- package/lib/utils/repeater.d.ts +19 -0
- package/lib/widget.props.d.ts +38 -7
- package/lib/widgets.d.ts +2 -2
- package/package.json +4 -4
- package/resolveFormInput-BL_FxIPF.cjs +1 -0
- package/{resolveFormInput-CsFeoGjz.js → resolveFormInput-D2kg0VqQ.js} +507 -431
- package/resolveFormInput-UcmQ-kme.cjs +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { createShortcutType as u, processAutoLabel as d, processAutoPlaceholder as m, extractWidgetProps as p, buildTypedValidator as c, eventWiringService as
|
|
1
|
+
import { createShortcutType as u, processAutoLabel as d, processAutoPlaceholder as m, extractWidgetProps as p, buildTypedValidator as c, eventWiringService as Te, withForm as ce, createGslSelector as Se, createItemTypeRegistry as ke, registerShortcutType as Ae, defineShortcutType as Ee, GuiItemTypes as y, createSelectors as he, createImplementation as Ue } from "@golemui/dx";
|
|
2
2
|
import "@golemui/core";
|
|
3
|
-
function
|
|
3
|
+
function De(e) {
|
|
4
4
|
switch (e.type) {
|
|
5
5
|
case "text":
|
|
6
|
-
return
|
|
6
|
+
return Me(e);
|
|
7
7
|
case "number":
|
|
8
|
-
return
|
|
8
|
+
return Be(e);
|
|
9
9
|
case "boolean":
|
|
10
|
-
return
|
|
10
|
+
return Pe(e);
|
|
11
11
|
default:
|
|
12
12
|
throw new Error(`Unsupported field type "${e.type}"`);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Pe(e) {
|
|
16
16
|
const t = p(e);
|
|
17
17
|
return {
|
|
18
18
|
uid: e.uid ?? "",
|
|
@@ -26,7 +26,7 @@ function Ue(e) {
|
|
|
26
26
|
props: t
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function Me(e) {
|
|
30
30
|
const t = p(e);
|
|
31
31
|
return {
|
|
32
32
|
uid: e.uid ?? "",
|
|
@@ -43,7 +43,7 @@ function De(e) {
|
|
|
43
43
|
validator: c(e.validator, "string")
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function Be(e) {
|
|
47
47
|
const t = p(e);
|
|
48
48
|
return {
|
|
49
49
|
uid: e.uid ?? "",
|
|
@@ -60,7 +60,7 @@ function Pe(e) {
|
|
|
60
60
|
validator: c(e.validator, "number")
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
|
-
const
|
|
63
|
+
const S = u({
|
|
64
64
|
itemType: "INPUTS",
|
|
65
65
|
kind: "input",
|
|
66
66
|
entryShape: "keyed",
|
|
@@ -75,9 +75,9 @@ const k = u({
|
|
|
75
75
|
return s = m(s, t), s;
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
|
-
mapToWidget:
|
|
79
|
-
}), b =
|
|
80
|
-
function
|
|
78
|
+
mapToWidget: De
|
|
79
|
+
}), b = S.gsl, Le = S.gslByUid;
|
|
80
|
+
function Re(e) {
|
|
81
81
|
const {
|
|
82
82
|
uid: t,
|
|
83
83
|
label: s,
|
|
@@ -89,9 +89,9 @@ function Be(e) {
|
|
|
89
89
|
type: o,
|
|
90
90
|
tags: T,
|
|
91
91
|
size: g,
|
|
92
|
-
include:
|
|
93
|
-
exclude:
|
|
94
|
-
states:
|
|
92
|
+
include: Ie,
|
|
93
|
+
exclude: _e,
|
|
94
|
+
states: de,
|
|
95
95
|
...I
|
|
96
96
|
} = e;
|
|
97
97
|
return {
|
|
@@ -105,18 +105,18 @@ function Be(e) {
|
|
|
105
105
|
props: I
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
|
-
const
|
|
108
|
+
const k = u({
|
|
109
109
|
itemType: "ACTIONS",
|
|
110
110
|
kind: "action",
|
|
111
111
|
entryShape: "bare",
|
|
112
|
-
mapToWidget:
|
|
113
|
-
afterMerge: (e, t) =>
|
|
112
|
+
mapToWidget: Re,
|
|
113
|
+
afterMerge: (e, t) => Te.extractOnClickFromMergeResult(
|
|
114
114
|
e,
|
|
115
115
|
t.eventRegistry,
|
|
116
116
|
t.eventIdGenerator
|
|
117
117
|
)
|
|
118
|
-
}),
|
|
119
|
-
function
|
|
118
|
+
}), ve = k.gsl, fe = k.gslByUid;
|
|
119
|
+
function Ne(e) {
|
|
120
120
|
const {
|
|
121
121
|
uid: t,
|
|
122
122
|
widgetName: s,
|
|
@@ -138,7 +138,7 @@ function ve(e) {
|
|
|
138
138
|
children: []
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function Ce(e, t) {
|
|
142
142
|
const s = t.walkChildren(t.children ?? []);
|
|
143
143
|
if (e.kind === "static")
|
|
144
144
|
return { ...t.mapStaticDef(e.def, "LAYOUTS"), children: s };
|
|
@@ -148,18 +148,18 @@ function fe(e, t) {
|
|
|
148
148
|
return { ...t.mapStaticDef(n, "LAYOUTS"), children: s };
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function We(e) {
|
|
152
152
|
return e.children;
|
|
153
153
|
}
|
|
154
154
|
const A = u({
|
|
155
155
|
itemType: "LAYOUTS",
|
|
156
156
|
kind: "layout",
|
|
157
157
|
entryShape: "compound",
|
|
158
|
-
mapToWidget:
|
|
159
|
-
buildCustomWidget:
|
|
160
|
-
getChildren:
|
|
161
|
-
}),
|
|
162
|
-
function
|
|
158
|
+
mapToWidget: Ne,
|
|
159
|
+
buildCustomWidget: Ce,
|
|
160
|
+
getChildren: We
|
|
161
|
+
}), we = A.gsl, xe = A.gslByUid;
|
|
162
|
+
function Ge(e) {
|
|
163
163
|
return {
|
|
164
164
|
uid: "",
|
|
165
165
|
kind: "display",
|
|
@@ -167,7 +167,7 @@ function we(e) {
|
|
|
167
167
|
props: { render: e.render }
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function Ke(e, t) {
|
|
171
171
|
if (e.kind === "static") {
|
|
172
172
|
const a = e.def;
|
|
173
173
|
return ((i) => ({
|
|
@@ -176,7 +176,7 @@ function xe(e, t) {
|
|
|
176
176
|
type: "renderer",
|
|
177
177
|
...a.include != null ? { include: a.include } : {},
|
|
178
178
|
...a.exclude != null ? { exclude: a.exclude } : {},
|
|
179
|
-
props: { render: a.render(
|
|
179
|
+
props: { render: a.render(ce(i)) }
|
|
180
180
|
}));
|
|
181
181
|
}
|
|
182
182
|
const s = e.fn;
|
|
@@ -188,7 +188,7 @@ function xe(e, t) {
|
|
|
188
188
|
type: "renderer",
|
|
189
189
|
...i.include != null ? { include: i.include } : {},
|
|
190
190
|
...i.exclude != null ? { exclude: i.exclude } : {},
|
|
191
|
-
props: { render: i.render(
|
|
191
|
+
props: { render: i.render(ce(a)) }
|
|
192
192
|
};
|
|
193
193
|
});
|
|
194
194
|
}
|
|
@@ -196,9 +196,9 @@ const E = u({
|
|
|
196
196
|
itemType: "DISPLAYS",
|
|
197
197
|
kind: "display",
|
|
198
198
|
entryShape: "bare",
|
|
199
|
-
mapToWidget:
|
|
200
|
-
buildCustomWidget:
|
|
201
|
-
}),
|
|
199
|
+
mapToWidget: Ge,
|
|
200
|
+
buildCustomWidget: Ke
|
|
201
|
+
}), Ye = E.gsl, $e = E.gslByUid, h = u({
|
|
202
202
|
itemType: "CALENDAR",
|
|
203
203
|
kind: "input",
|
|
204
204
|
entryShape: "bare",
|
|
@@ -218,7 +218,7 @@ const E = u({
|
|
|
218
218
|
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
219
219
|
props: p(e)
|
|
220
220
|
})
|
|
221
|
-
}),
|
|
221
|
+
}), Fe = h.gsl, ze = h.gslByUid, U = u({
|
|
222
222
|
itemType: "DATE_TIME_CALENDAR",
|
|
223
223
|
kind: "input",
|
|
224
224
|
entryShape: "bare",
|
|
@@ -238,7 +238,7 @@ const E = u({
|
|
|
238
238
|
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
239
239
|
props: p(e)
|
|
240
240
|
})
|
|
241
|
-
}),
|
|
241
|
+
}), Oe = U.gsl, Xe = U.gslByUid, D = u({
|
|
242
242
|
itemType: "DATE_TIME_PICKER",
|
|
243
243
|
kind: "input",
|
|
244
244
|
entryShape: "keyed",
|
|
@@ -261,7 +261,7 @@ const E = u({
|
|
|
261
261
|
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
262
262
|
props: p(e)
|
|
263
263
|
})
|
|
264
|
-
}),
|
|
264
|
+
}), He = D.gsl, Ve = D.gslByUid, P = u({
|
|
265
265
|
itemType: "TEXTAREA",
|
|
266
266
|
kind: "input",
|
|
267
267
|
entryShape: "keyed",
|
|
@@ -281,7 +281,7 @@ const E = u({
|
|
|
281
281
|
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
282
282
|
props: p(e)
|
|
283
283
|
})
|
|
284
|
-
}),
|
|
284
|
+
}), je = P.gsl, qe = P.gslByUid, M = u({
|
|
285
285
|
itemType: "PASSWORD",
|
|
286
286
|
kind: "input",
|
|
287
287
|
entryShape: "keyed",
|
|
@@ -301,7 +301,7 @@ const E = u({
|
|
|
301
301
|
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
302
302
|
props: p(e)
|
|
303
303
|
})
|
|
304
|
-
}),
|
|
304
|
+
}), Je = M.gsl, Qe = M.gslByUid, B = u({
|
|
305
305
|
itemType: "CHECKBOX",
|
|
306
306
|
kind: "input",
|
|
307
307
|
entryShape: "keyed",
|
|
@@ -321,7 +321,7 @@ const E = u({
|
|
|
321
321
|
...e.validator != null ? { validator: c(e.validator, "boolean") } : {},
|
|
322
322
|
props: p(e)
|
|
323
323
|
})
|
|
324
|
-
}),
|
|
324
|
+
}), Ze = B.gsl, et = B.gslByUid, L = u({
|
|
325
325
|
itemType: "DATE_INPUT",
|
|
326
326
|
kind: "input",
|
|
327
327
|
entryShape: "keyed",
|
|
@@ -341,7 +341,7 @@ const E = u({
|
|
|
341
341
|
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
342
342
|
props: p(e)
|
|
343
343
|
})
|
|
344
|
-
}),
|
|
344
|
+
}), tt = L.gsl, st = L.gslByUid, R = u({
|
|
345
345
|
itemType: "TIME_INPUT",
|
|
346
346
|
kind: "input",
|
|
347
347
|
entryShape: "keyed",
|
|
@@ -361,7 +361,7 @@ const E = u({
|
|
|
361
361
|
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
362
362
|
props: p(e)
|
|
363
363
|
})
|
|
364
|
-
}),
|
|
364
|
+
}), at = R.gsl, it = R.gslByUid, v = u({
|
|
365
365
|
itemType: "TIME_PICKER",
|
|
366
366
|
kind: "input",
|
|
367
367
|
entryShape: "keyed",
|
|
@@ -384,7 +384,7 @@ const E = u({
|
|
|
384
384
|
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
385
385
|
props: p(e)
|
|
386
386
|
})
|
|
387
|
-
}),
|
|
387
|
+
}), nt = v.gsl, lt = v.gslByUid, f = u({
|
|
388
388
|
itemType: "DATE_TIME_INPUT",
|
|
389
389
|
kind: "input",
|
|
390
390
|
entryShape: "keyed",
|
|
@@ -404,7 +404,7 @@ const E = u({
|
|
|
404
404
|
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
405
405
|
props: p(e)
|
|
406
406
|
})
|
|
407
|
-
}),
|
|
407
|
+
}), ot = f.gsl, ut = f.gslByUid, N = u({
|
|
408
408
|
itemType: "CURRENCY",
|
|
409
409
|
kind: "input",
|
|
410
410
|
entryShape: "keyed",
|
|
@@ -424,7 +424,7 @@ const E = u({
|
|
|
424
424
|
...e.validator != null ? { validator: c(e.validator, "number") } : {},
|
|
425
425
|
props: p(e)
|
|
426
426
|
})
|
|
427
|
-
}),
|
|
427
|
+
}), rt = N.gsl, pt = N.gslByUid, C = u({
|
|
428
428
|
itemType: "RANGE_CALENDAR",
|
|
429
429
|
kind: "input",
|
|
430
430
|
entryShape: "keyed",
|
|
@@ -444,7 +444,7 @@ const E = u({
|
|
|
444
444
|
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
445
445
|
props: p(e)
|
|
446
446
|
})
|
|
447
|
-
}),
|
|
447
|
+
}), dt = C.gsl, ct = C.gslByUid, W = u(
|
|
448
448
|
{
|
|
449
449
|
itemType: "SELECT",
|
|
450
450
|
kind: "input",
|
|
@@ -466,7 +466,7 @@ const E = u({
|
|
|
466
466
|
props: p(e)
|
|
467
467
|
})
|
|
468
468
|
}
|
|
469
|
-
),
|
|
469
|
+
), yt = W.gsl, mt = W.gslByUid, w = u({
|
|
470
470
|
itemType: "RADIOGROUP",
|
|
471
471
|
kind: "input",
|
|
472
472
|
entryShape: "keyed",
|
|
@@ -486,8 +486,8 @@ const E = u({
|
|
|
486
486
|
...e.validator != null ? { validator: e.validator } : {},
|
|
487
487
|
props: p(e)
|
|
488
488
|
})
|
|
489
|
-
}),
|
|
490
|
-
function
|
|
489
|
+
}), Tt = w.gsl, gt = w.gslByUid;
|
|
490
|
+
function bt(e) {
|
|
491
491
|
return {
|
|
492
492
|
uid: e.uid ?? "",
|
|
493
493
|
kind: "layout",
|
|
@@ -500,7 +500,7 @@ function Tt(e) {
|
|
|
500
500
|
children: []
|
|
501
501
|
};
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function It(e, t) {
|
|
504
504
|
const s = t.walkChildren(t.children ?? []);
|
|
505
505
|
if (e.kind === "static")
|
|
506
506
|
return { ...t.mapStaticDef(e.def, "TABS"), children: s };
|
|
@@ -510,17 +510,17 @@ function gt(e, t) {
|
|
|
510
510
|
return { ...t.mapStaticDef(n, "TABS"), children: s };
|
|
511
511
|
});
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function _t(e) {
|
|
514
514
|
return e.children;
|
|
515
515
|
}
|
|
516
516
|
const x = u({
|
|
517
517
|
itemType: "TABS",
|
|
518
518
|
kind: "layout",
|
|
519
519
|
entryShape: "compound",
|
|
520
|
-
mapToWidget:
|
|
521
|
-
buildCustomWidget:
|
|
522
|
-
getChildren:
|
|
523
|
-
}),
|
|
520
|
+
mapToWidget: bt,
|
|
521
|
+
buildCustomWidget: It,
|
|
522
|
+
getChildren: _t
|
|
523
|
+
}), St = x.gsl, kt = x.gslByUid, G = u({
|
|
524
524
|
itemType: "LIST",
|
|
525
525
|
kind: "input",
|
|
526
526
|
entryShape: "keyed",
|
|
@@ -540,7 +540,7 @@ const x = u({
|
|
|
540
540
|
...e.validator != null ? { validator: e.validator } : {},
|
|
541
541
|
props: p(e)
|
|
542
542
|
})
|
|
543
|
-
}),
|
|
543
|
+
}), At = G.gsl, Et = G.gslByUid, K = u({
|
|
544
544
|
itemType: "TAGS",
|
|
545
545
|
kind: "input",
|
|
546
546
|
entryShape: "keyed",
|
|
@@ -560,7 +560,7 @@ const x = u({
|
|
|
560
560
|
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
561
561
|
props: p(e)
|
|
562
562
|
})
|
|
563
|
-
}),
|
|
563
|
+
}), ka = K.gsl, Aa = K.gslByUid, Y = u({
|
|
564
564
|
itemType: "ALERTS",
|
|
565
565
|
kind: "display",
|
|
566
566
|
entryShape: "bare",
|
|
@@ -573,7 +573,7 @@ const x = u({
|
|
|
573
573
|
...e.level != null ? { level: e.level } : {}
|
|
574
574
|
}
|
|
575
575
|
})
|
|
576
|
-
}),
|
|
576
|
+
}), ht = Y.gsl, Ut = Y.gslByUid, $ = u({
|
|
577
577
|
itemType: "MARKDOWN_TEXTS",
|
|
578
578
|
kind: "display",
|
|
579
579
|
entryShape: "bare",
|
|
@@ -585,7 +585,7 @@ const x = u({
|
|
|
585
585
|
md: e.md
|
|
586
586
|
}
|
|
587
587
|
})
|
|
588
|
-
}),
|
|
588
|
+
}), Dt = $.gsl, Pt = $.gslByUid, F = u({
|
|
589
589
|
itemType: "DATE_PICKER",
|
|
590
590
|
kind: "input",
|
|
591
591
|
entryShape: "keyed",
|
|
@@ -608,7 +608,7 @@ const x = u({
|
|
|
608
608
|
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
609
609
|
props: p(e)
|
|
610
610
|
})
|
|
611
|
-
}),
|
|
611
|
+
}), Mt = F.gsl, Bt = F.gslByUid, z = u({
|
|
612
612
|
itemType: "DROPDOWN",
|
|
613
613
|
kind: "input",
|
|
614
614
|
entryShape: "keyed",
|
|
@@ -631,8 +631,51 @@ const x = u({
|
|
|
631
631
|
...e.validator != null ? { validator: e.validator } : {},
|
|
632
632
|
props: p(e)
|
|
633
633
|
})
|
|
634
|
-
}),
|
|
635
|
-
|
|
634
|
+
}), Lt = z.gsl, Rt = z.gslByUid, O = u({
|
|
635
|
+
itemType: "MULTI_DROPDOWN",
|
|
636
|
+
kind: "input",
|
|
637
|
+
entryShape: "keyed",
|
|
638
|
+
sensibleDefaults: {
|
|
639
|
+
base: {
|
|
640
|
+
suppressAutomaticLabels: !1,
|
|
641
|
+
suppressAutomaticPlaceholders: !1
|
|
642
|
+
},
|
|
643
|
+
fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
|
|
644
|
+
apply: (e, t) => m(d(e, t), t)
|
|
645
|
+
},
|
|
646
|
+
mapToWidget: (e) => ({
|
|
647
|
+
uid: e.uid ?? "",
|
|
648
|
+
kind: "input",
|
|
649
|
+
type: "multiDropdown",
|
|
650
|
+
path: e.path ?? "",
|
|
651
|
+
...e.label != null ? { label: e.label } : {},
|
|
652
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
653
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
654
|
+
...e.validator != null ? { validator: e.validator } : {},
|
|
655
|
+
props: p(e)
|
|
656
|
+
})
|
|
657
|
+
}), vt = O.gsl, ft = O.gslByUid, X = u({
|
|
658
|
+
itemType: "MULTI_LIST",
|
|
659
|
+
kind: "input",
|
|
660
|
+
entryShape: "keyed",
|
|
661
|
+
sensibleDefaults: {
|
|
662
|
+
base: { suppressAutomaticLabels: !1 },
|
|
663
|
+
fields: ["suppressAutomaticLabels"],
|
|
664
|
+
apply: (e, t) => d(e, t)
|
|
665
|
+
},
|
|
666
|
+
mapToWidget: (e) => ({
|
|
667
|
+
uid: e.uid ?? "",
|
|
668
|
+
kind: "input",
|
|
669
|
+
type: "multiList",
|
|
670
|
+
path: e.path ?? "",
|
|
671
|
+
...e.label != null ? { label: e.label } : {},
|
|
672
|
+
...e.disabled != null ? { disabled: e.disabled } : {},
|
|
673
|
+
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
674
|
+
...e.validator != null ? { validator: e.validator } : {},
|
|
675
|
+
props: p(e)
|
|
676
|
+
})
|
|
677
|
+
}), Nt = X.gsl, Ct = X.gslByUid;
|
|
678
|
+
function Wt(e) {
|
|
636
679
|
return {
|
|
637
680
|
uid: e.uid ?? "",
|
|
638
681
|
kind: "layout",
|
|
@@ -646,7 +689,7 @@ function Rt(e) {
|
|
|
646
689
|
children: []
|
|
647
690
|
};
|
|
648
691
|
}
|
|
649
|
-
function
|
|
692
|
+
function wt(e, t) {
|
|
650
693
|
const s = t.walkChildren(t.children ?? []);
|
|
651
694
|
if (e.kind === "static")
|
|
652
695
|
return { ...t.mapStaticDef(e.def, "ACCORDION"), children: s };
|
|
@@ -656,22 +699,22 @@ function Lt(e, t) {
|
|
|
656
699
|
return { ...t.mapStaticDef(n, "ACCORDION"), children: s };
|
|
657
700
|
});
|
|
658
701
|
}
|
|
659
|
-
function
|
|
702
|
+
function xt(e) {
|
|
660
703
|
return e.children;
|
|
661
704
|
}
|
|
662
|
-
const
|
|
705
|
+
const H = u({
|
|
663
706
|
itemType: "ACCORDION",
|
|
664
707
|
kind: "layout",
|
|
665
708
|
entryShape: "compound",
|
|
666
|
-
mapToWidget:
|
|
667
|
-
buildCustomWidget:
|
|
668
|
-
getChildren:
|
|
669
|
-
}),
|
|
670
|
-
function
|
|
709
|
+
mapToWidget: Wt,
|
|
710
|
+
buildCustomWidget: wt,
|
|
711
|
+
getChildren: xt
|
|
712
|
+
}), Gt = H.gsl, Kt = H.gslByUid;
|
|
713
|
+
function Yt(e) {
|
|
671
714
|
const t = {};
|
|
672
715
|
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;
|
|
673
716
|
}
|
|
674
|
-
function
|
|
717
|
+
function $t(e) {
|
|
675
718
|
return {
|
|
676
719
|
uid: e.uid ?? "",
|
|
677
720
|
kind: "input",
|
|
@@ -682,7 +725,7 @@ function Wt(e) {
|
|
|
682
725
|
...e.readonly != null ? { readonly: e.readonly } : {},
|
|
683
726
|
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
684
727
|
props: {
|
|
685
|
-
...
|
|
728
|
+
...Yt(e),
|
|
686
729
|
template: { kind: "layout", type: "flex", children: [], props: { direction: "column" } }
|
|
687
730
|
}
|
|
688
731
|
};
|
|
@@ -696,7 +739,7 @@ function _(e, t) {
|
|
|
696
739
|
i?.template?.children && Array.isArray(i.template.children) && _(i.template.children, t);
|
|
697
740
|
}
|
|
698
741
|
}
|
|
699
|
-
function
|
|
742
|
+
function Ft(e, t) {
|
|
700
743
|
const s = t.walkChildren(t.children ?? []), a = e.kind === "static" ? e.def.path ?? "" : e.fn({})?.path ?? "";
|
|
701
744
|
a && _(s, a + ".items.");
|
|
702
745
|
const i = {
|
|
@@ -722,30 +765,30 @@ function wt(e, t) {
|
|
|
722
765
|
};
|
|
723
766
|
});
|
|
724
767
|
}
|
|
725
|
-
function
|
|
768
|
+
function zt(e) {
|
|
726
769
|
return {
|
|
727
770
|
baseDef: e.def,
|
|
728
771
|
path: e.key,
|
|
729
772
|
children: e.children
|
|
730
773
|
};
|
|
731
774
|
}
|
|
732
|
-
function
|
|
775
|
+
function Ot(e) {
|
|
733
776
|
return e.children;
|
|
734
777
|
}
|
|
735
|
-
const
|
|
736
|
-
parseEntry:
|
|
778
|
+
const Xt = {
|
|
779
|
+
parseEntry: zt,
|
|
737
780
|
rollUpSensibleDefaults: () => ({}),
|
|
738
781
|
applySensibleDefaults: (e) => e,
|
|
739
|
-
mapToWidget:
|
|
740
|
-
buildCustomWidget:
|
|
741
|
-
getChildren:
|
|
742
|
-
},
|
|
782
|
+
mapToWidget: $t,
|
|
783
|
+
buildCustomWidget: Ft,
|
|
784
|
+
getChildren: Ot
|
|
785
|
+
}, V = Se("REPEATER"), ge = (e, t) => V(t, ((s) => s.uid === e)), Ht = {
|
|
743
786
|
itemType: "REPEATER",
|
|
744
787
|
kind: "input",
|
|
745
|
-
handler:
|
|
746
|
-
gsl:
|
|
747
|
-
gslByUid:
|
|
748
|
-
},
|
|
788
|
+
handler: Xt,
|
|
789
|
+
gsl: V,
|
|
790
|
+
gslByUid: ge
|
|
791
|
+
}, j = u({
|
|
749
792
|
itemType: "MARKDOWN",
|
|
750
793
|
kind: "input",
|
|
751
794
|
entryShape: "keyed",
|
|
@@ -765,7 +808,7 @@ const Kt = {
|
|
|
765
808
|
...e.validator != null ? { validator: c(e.validator, "string") } : {},
|
|
766
809
|
props: p(e)
|
|
767
810
|
})
|
|
768
|
-
}),
|
|
811
|
+
}), Vt = j.gsl, jt = j.gslByUid, q = u({
|
|
769
812
|
itemType: "RANGE_DATE_INPUT",
|
|
770
813
|
kind: "input",
|
|
771
814
|
entryShape: "keyed",
|
|
@@ -785,7 +828,7 @@ const Kt = {
|
|
|
785
828
|
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
786
829
|
props: p(e)
|
|
787
830
|
})
|
|
788
|
-
}),
|
|
831
|
+
}), qt = q.gsl, Jt = q.gslByUid, J = u({
|
|
789
832
|
itemType: "RANGE_TIME_INPUT",
|
|
790
833
|
kind: "input",
|
|
791
834
|
entryShape: "keyed",
|
|
@@ -805,7 +848,7 @@ const Kt = {
|
|
|
805
848
|
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
806
849
|
props: p(e)
|
|
807
850
|
})
|
|
808
|
-
}),
|
|
851
|
+
}), Qt = J.gsl, Zt = J.gslByUid, Q = u({
|
|
809
852
|
itemType: "RANGE_DATE_TIME_INPUT",
|
|
810
853
|
kind: "input",
|
|
811
854
|
entryShape: "keyed",
|
|
@@ -825,7 +868,7 @@ const Kt = {
|
|
|
825
868
|
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
826
869
|
props: p(e)
|
|
827
870
|
})
|
|
828
|
-
}),
|
|
871
|
+
}), es = Q.gsl, ts = Q.gslByUid, Z = u({
|
|
829
872
|
itemType: "RANGE_DATE_TIME_CALENDAR",
|
|
830
873
|
kind: "input",
|
|
831
874
|
entryShape: "keyed",
|
|
@@ -845,7 +888,7 @@ const Kt = {
|
|
|
845
888
|
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
846
889
|
props: p(e)
|
|
847
890
|
})
|
|
848
|
-
}),
|
|
891
|
+
}), ss = Z.gsl, as = Z.gslByUid, ee = u({
|
|
849
892
|
itemType: "RANGE_DATE_TIME_PICKER",
|
|
850
893
|
kind: "input",
|
|
851
894
|
entryShape: "keyed",
|
|
@@ -865,7 +908,7 @@ const Kt = {
|
|
|
865
908
|
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
866
909
|
props: p(e)
|
|
867
910
|
})
|
|
868
|
-
}),
|
|
911
|
+
}), is = ee.gsl, ns = ee.gslByUid, te = u({
|
|
869
912
|
itemType: "RANGE_DATE_PICKER",
|
|
870
913
|
kind: "input",
|
|
871
914
|
entryShape: "keyed",
|
|
@@ -888,7 +931,7 @@ const Kt = {
|
|
|
888
931
|
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
889
932
|
props: p(e)
|
|
890
933
|
})
|
|
891
|
-
}),
|
|
934
|
+
}), ls = te.gsl, os = te.gslByUid, se = u({
|
|
892
935
|
itemType: "RANGE_TIME_PICKER",
|
|
893
936
|
kind: "input",
|
|
894
937
|
entryShape: "keyed",
|
|
@@ -908,7 +951,7 @@ const Kt = {
|
|
|
908
951
|
...e.validator != null ? { validator: c(e.validator, "array") } : {},
|
|
909
952
|
props: p(e)
|
|
910
953
|
})
|
|
911
|
-
}),
|
|
954
|
+
}), us = se.gsl, rs = se.gslByUid, ae = u({
|
|
912
955
|
itemType: "CUSTOM_DISPLAY",
|
|
913
956
|
kind: "display",
|
|
914
957
|
entryShape: "bare",
|
|
@@ -918,7 +961,7 @@ const Kt = {
|
|
|
918
961
|
type: e.customType,
|
|
919
962
|
props: e.props ?? {}
|
|
920
963
|
})
|
|
921
|
-
}),
|
|
964
|
+
}), ps = ae.gsl, ds = ae.gslByUid, ie = u({
|
|
922
965
|
itemType: "CUSTOM_INPUT",
|
|
923
966
|
kind: "input",
|
|
924
967
|
entryShape: "keyed",
|
|
@@ -941,7 +984,7 @@ const Kt = {
|
|
|
941
984
|
...e.validator != null ? { validator: e.validator } : {},
|
|
942
985
|
props: e.props ?? {}
|
|
943
986
|
})
|
|
944
|
-
}),
|
|
987
|
+
}), cs = ie.gsl, ys = ie.gslByUid, ne = u({
|
|
945
988
|
itemType: "CUSTOM_ACTION",
|
|
946
989
|
kind: "action",
|
|
947
990
|
entryShape: "bare",
|
|
@@ -957,9 +1000,9 @@ const Kt = {
|
|
|
957
1000
|
tags: o,
|
|
958
1001
|
size: T,
|
|
959
1002
|
include: g,
|
|
960
|
-
exclude:
|
|
961
|
-
states:
|
|
962
|
-
props:
|
|
1003
|
+
exclude: Ie,
|
|
1004
|
+
states: _e,
|
|
1005
|
+
props: de,
|
|
963
1006
|
...I
|
|
964
1007
|
} = e;
|
|
965
1008
|
return {
|
|
@@ -969,16 +1012,16 @@ const Kt = {
|
|
|
969
1012
|
label: s,
|
|
970
1013
|
disabled: a,
|
|
971
1014
|
...i != null ? { on: i } : {},
|
|
972
|
-
props: { ...
|
|
1015
|
+
props: { ...de, ...I }
|
|
973
1016
|
};
|
|
974
1017
|
},
|
|
975
|
-
afterMerge: (e, t) =>
|
|
1018
|
+
afterMerge: (e, t) => Te.extractOnClickFromMergeResult(
|
|
976
1019
|
e,
|
|
977
1020
|
t.eventRegistry,
|
|
978
1021
|
t.eventIdGenerator
|
|
979
1022
|
)
|
|
980
|
-
}),
|
|
981
|
-
function
|
|
1023
|
+
}), ms = ne.gsl, Ts = ne.gslByUid;
|
|
1024
|
+
function gs(e) {
|
|
982
1025
|
return {
|
|
983
1026
|
uid: e.uid ?? "",
|
|
984
1027
|
kind: "layout",
|
|
@@ -987,7 +1030,7 @@ function ps(e) {
|
|
|
987
1030
|
children: []
|
|
988
1031
|
};
|
|
989
1032
|
}
|
|
990
|
-
function
|
|
1033
|
+
function bs(e, t) {
|
|
991
1034
|
const s = t.walkChildren(t.children ?? []);
|
|
992
1035
|
if (e.kind === "static")
|
|
993
1036
|
return { ...t.mapStaticDef(e.def, "CUSTOM_LAYOUT"), children: s };
|
|
@@ -997,19 +1040,19 @@ function ds(e, t) {
|
|
|
997
1040
|
return { ...t.mapStaticDef(n, "CUSTOM_LAYOUT"), children: s };
|
|
998
1041
|
});
|
|
999
1042
|
}
|
|
1000
|
-
function
|
|
1043
|
+
function Is(e) {
|
|
1001
1044
|
return e.children;
|
|
1002
1045
|
}
|
|
1003
|
-
const
|
|
1046
|
+
const le = u({
|
|
1004
1047
|
itemType: "CUSTOM_LAYOUT",
|
|
1005
1048
|
kind: "layout",
|
|
1006
1049
|
entryShape: "compound",
|
|
1007
|
-
mapToWidget:
|
|
1008
|
-
buildCustomWidget:
|
|
1009
|
-
getChildren:
|
|
1010
|
-
}),
|
|
1011
|
-
k,
|
|
1050
|
+
mapToWidget: gs,
|
|
1051
|
+
buildCustomWidget: bs,
|
|
1052
|
+
getChildren: Is
|
|
1053
|
+
}), _s = le.gsl, Ss = le.gslByUid, ks = [
|
|
1012
1054
|
S,
|
|
1055
|
+
k,
|
|
1013
1056
|
A,
|
|
1014
1057
|
E,
|
|
1015
1058
|
h,
|
|
@@ -1018,12 +1061,12 @@ const ie = u({
|
|
|
1018
1061
|
P,
|
|
1019
1062
|
M,
|
|
1020
1063
|
B,
|
|
1021
|
-
R,
|
|
1022
1064
|
L,
|
|
1065
|
+
R,
|
|
1023
1066
|
v,
|
|
1024
1067
|
f,
|
|
1025
|
-
C,
|
|
1026
1068
|
N,
|
|
1069
|
+
C,
|
|
1027
1070
|
W,
|
|
1028
1071
|
w,
|
|
1029
1072
|
x,
|
|
@@ -1034,9 +1077,9 @@ const ie = u({
|
|
|
1034
1077
|
F,
|
|
1035
1078
|
z,
|
|
1036
1079
|
O,
|
|
1037
|
-
|
|
1080
|
+
X,
|
|
1038
1081
|
H,
|
|
1039
|
-
|
|
1082
|
+
Ht,
|
|
1040
1083
|
j,
|
|
1041
1084
|
q,
|
|
1042
1085
|
J,
|
|
@@ -1046,17 +1089,19 @@ const ie = u({
|
|
|
1046
1089
|
te,
|
|
1047
1090
|
se,
|
|
1048
1091
|
ae,
|
|
1049
|
-
ie
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1092
|
+
ie,
|
|
1093
|
+
ne,
|
|
1094
|
+
le
|
|
1095
|
+
], oe = ke();
|
|
1096
|
+
for (const e of ks)
|
|
1097
|
+
Ae(oe, e);
|
|
1098
|
+
function Ea(e) {
|
|
1099
|
+
return Ee(
|
|
1100
|
+
oe,
|
|
1056
1101
|
e
|
|
1057
1102
|
);
|
|
1058
1103
|
}
|
|
1059
|
-
function
|
|
1104
|
+
function As(e, t, s) {
|
|
1060
1105
|
if (typeof t == "function") {
|
|
1061
1106
|
const i = t;
|
|
1062
1107
|
return {
|
|
@@ -1074,7 +1119,7 @@ function gs(e, t, s) {
|
|
|
1074
1119
|
tags: s ?? []
|
|
1075
1120
|
};
|
|
1076
1121
|
}
|
|
1077
|
-
function
|
|
1122
|
+
function Es(e, t, s) {
|
|
1078
1123
|
if (typeof t == "function") {
|
|
1079
1124
|
const i = t;
|
|
1080
1125
|
return {
|
|
@@ -1092,7 +1137,7 @@ function bs(e, t, s) {
|
|
|
1092
1137
|
tags: s ?? []
|
|
1093
1138
|
};
|
|
1094
1139
|
}
|
|
1095
|
-
function
|
|
1140
|
+
function hs(e, t, s) {
|
|
1096
1141
|
if (typeof t == "function") {
|
|
1097
1142
|
const i = t;
|
|
1098
1143
|
return {
|
|
@@ -1110,7 +1155,7 @@ function Is(e, t, s) {
|
|
|
1110
1155
|
tags: s ?? []
|
|
1111
1156
|
};
|
|
1112
1157
|
}
|
|
1113
|
-
function
|
|
1158
|
+
function Us(e, t, s) {
|
|
1114
1159
|
if (typeof t == "function") {
|
|
1115
1160
|
const n = t;
|
|
1116
1161
|
return { type: "ITEMS", itemType: "SELECT", items: [{ key: e, def: (o) => ({ type: "select", ...n(o) }) }], tags: s ?? [] };
|
|
@@ -1118,7 +1163,7 @@ function _s(e, t, s) {
|
|
|
1118
1163
|
const a = { type: "select", ...t };
|
|
1119
1164
|
return { type: "ITEMS", itemType: "SELECT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1120
1165
|
}
|
|
1121
|
-
function
|
|
1166
|
+
function Ds(e, t, s) {
|
|
1122
1167
|
if (typeof t == "function") {
|
|
1123
1168
|
const n = t;
|
|
1124
1169
|
return { type: "ITEMS", itemType: "DROPDOWN", items: [{ key: e, def: (o) => ({
|
|
@@ -1129,7 +1174,7 @@ function ks(e, t, s) {
|
|
|
1129
1174
|
const a = { type: "dropdown", ...t };
|
|
1130
1175
|
return { type: "ITEMS", itemType: "DROPDOWN", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1131
1176
|
}
|
|
1132
|
-
function
|
|
1177
|
+
function Ps(e, t, s) {
|
|
1133
1178
|
if (typeof t == "function") {
|
|
1134
1179
|
const n = t;
|
|
1135
1180
|
return { type: "ITEMS", itemType: "RADIOGROUP", items: [{ key: e, def: (o) => ({ type: "radiogroup", ...n(o) }) }], tags: s ?? [] };
|
|
@@ -1137,7 +1182,7 @@ function Ss(e, t, s) {
|
|
|
1137
1182
|
const a = { type: "radiogroup", ...t };
|
|
1138
1183
|
return { type: "ITEMS", itemType: "RADIOGROUP", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1139
1184
|
}
|
|
1140
|
-
function
|
|
1185
|
+
function Ms(e, t, s) {
|
|
1141
1186
|
if (typeof t == "function") {
|
|
1142
1187
|
const n = t;
|
|
1143
1188
|
return { type: "ITEMS", itemType: "CHECKBOX", items: [{ key: e, def: (o) => ({ type: "checkbox", ...n(o) }) }], tags: s ?? [] };
|
|
@@ -1145,7 +1190,7 @@ function As(e, t, s) {
|
|
|
1145
1190
|
const a = { type: "checkbox", ...t };
|
|
1146
1191
|
return { type: "ITEMS", itemType: "CHECKBOX", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1147
1192
|
}
|
|
1148
|
-
function
|
|
1193
|
+
function Bs(e, t, s) {
|
|
1149
1194
|
if (typeof t == "function") {
|
|
1150
1195
|
const n = t;
|
|
1151
1196
|
return { type: "ITEMS", itemType: "TEXTAREA", items: [{ key: e, def: (o) => ({ type: "textarea", ...n(o) }) }], tags: s ?? [] };
|
|
@@ -1153,7 +1198,7 @@ function Es(e, t, s) {
|
|
|
1153
1198
|
const a = { type: "textarea", ...t };
|
|
1154
1199
|
return { type: "ITEMS", itemType: "TEXTAREA", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1155
1200
|
}
|
|
1156
|
-
function
|
|
1201
|
+
function Ls(e, t, s) {
|
|
1157
1202
|
if (typeof t == "function") {
|
|
1158
1203
|
const n = t;
|
|
1159
1204
|
return { type: "ITEMS", itemType: "PASSWORD", items: [{ key: e, def: (o) => ({ type: "password", ...n(o) }) }], tags: s ?? [] };
|
|
@@ -1161,7 +1206,7 @@ function hs(e, t, s) {
|
|
|
1161
1206
|
const a = { type: "password", ...t };
|
|
1162
1207
|
return { type: "ITEMS", itemType: "PASSWORD", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1163
1208
|
}
|
|
1164
|
-
function
|
|
1209
|
+
function Rs(e, t, s) {
|
|
1165
1210
|
if (typeof t == "function") {
|
|
1166
1211
|
const n = t;
|
|
1167
1212
|
return { type: "ITEMS", itemType: "CURRENCY", items: [{ key: e, def: (o) => ({ type: "currency", ...n(o) }) }], tags: s ?? [] };
|
|
@@ -1169,7 +1214,7 @@ function Us(e, t, s) {
|
|
|
1169
1214
|
const a = { type: "currency", ...t };
|
|
1170
1215
|
return { type: "ITEMS", itemType: "CURRENCY", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1171
1216
|
}
|
|
1172
|
-
function
|
|
1217
|
+
function vs(e, t, s) {
|
|
1173
1218
|
if (typeof t == "function") {
|
|
1174
1219
|
const n = t;
|
|
1175
1220
|
return { type: "ITEMS", itemType: "MARKDOWN", items: [{ key: e, def: (o) => ({ type: "markdown", ...n(o) }) }], tags: s ?? [] };
|
|
@@ -1177,7 +1222,7 @@ function Ds(e, t, s) {
|
|
|
1177
1222
|
const a = { type: "markdown", ...t };
|
|
1178
1223
|
return { type: "ITEMS", itemType: "MARKDOWN", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1179
1224
|
}
|
|
1180
|
-
function
|
|
1225
|
+
function fs(e, t, s) {
|
|
1181
1226
|
if (typeof t == "function") {
|
|
1182
1227
|
const n = t;
|
|
1183
1228
|
return { type: "ITEMS", itemType: "LIST", items: [{ key: e, def: (o) => ({ type: "list", ...n(o) }) }], tags: s ?? [] };
|
|
@@ -1185,7 +1230,26 @@ function Ps(e, t, s) {
|
|
|
1185
1230
|
const a = { type: "list", ...t };
|
|
1186
1231
|
return { type: "ITEMS", itemType: "LIST", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1187
1232
|
}
|
|
1188
|
-
function
|
|
1233
|
+
function Ns(e, t, s) {
|
|
1234
|
+
if (typeof t == "function") {
|
|
1235
|
+
const n = t;
|
|
1236
|
+
return { type: "ITEMS", itemType: "MULTI_DROPDOWN", items: [{ key: e, def: (o) => ({
|
|
1237
|
+
type: "multiDropdown",
|
|
1238
|
+
...n(o)
|
|
1239
|
+
}) }], tags: s ?? [] };
|
|
1240
|
+
}
|
|
1241
|
+
const a = { type: "multiDropdown", ...t };
|
|
1242
|
+
return { type: "ITEMS", itemType: "MULTI_DROPDOWN", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1243
|
+
}
|
|
1244
|
+
function Cs(e, t, s) {
|
|
1245
|
+
if (typeof t == "function") {
|
|
1246
|
+
const n = t;
|
|
1247
|
+
return { type: "ITEMS", itemType: "MULTI_LIST", items: [{ key: e, def: (o) => ({ type: "multiList", ...n(o) }) }], tags: s ?? [] };
|
|
1248
|
+
}
|
|
1249
|
+
const a = { type: "multiList", ...t };
|
|
1250
|
+
return { type: "ITEMS", itemType: "MULTI_LIST", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1251
|
+
}
|
|
1252
|
+
function Ws(e, t, s) {
|
|
1189
1253
|
if (typeof t == "function") {
|
|
1190
1254
|
const i = t;
|
|
1191
1255
|
return {
|
|
@@ -1206,7 +1270,7 @@ function Ms(e, t, s) {
|
|
|
1206
1270
|
tags: s ?? []
|
|
1207
1271
|
};
|
|
1208
1272
|
}
|
|
1209
|
-
function
|
|
1273
|
+
function ws(e, t, s) {
|
|
1210
1274
|
if (typeof t == "function") {
|
|
1211
1275
|
const i = t;
|
|
1212
1276
|
return {
|
|
@@ -1227,7 +1291,7 @@ function Bs(e, t, s) {
|
|
|
1227
1291
|
tags: s ?? []
|
|
1228
1292
|
};
|
|
1229
1293
|
}
|
|
1230
|
-
function
|
|
1294
|
+
function xs(e, t, s) {
|
|
1231
1295
|
if (typeof t == "function") {
|
|
1232
1296
|
const n = t;
|
|
1233
1297
|
return { type: "ITEMS", itemType: "DATE_INPUT", items: [{ key: e, def: (o) => ({ type: "dateInput", ...n(o) }) }], tags: s ?? [] };
|
|
@@ -1235,7 +1299,7 @@ function Rs(e, t, s) {
|
|
|
1235
1299
|
const a = { type: "dateInput", ...t };
|
|
1236
1300
|
return { type: "ITEMS", itemType: "DATE_INPUT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1237
1301
|
}
|
|
1238
|
-
function
|
|
1302
|
+
function Gs(e, t, s) {
|
|
1239
1303
|
if (typeof t == "function") {
|
|
1240
1304
|
const n = t;
|
|
1241
1305
|
return { type: "ITEMS", itemType: "DATE_PICKER", items: [{ key: e, def: (o) => ({
|
|
@@ -1246,7 +1310,7 @@ function Ls(e, t, s) {
|
|
|
1246
1310
|
const a = { type: "datePicker", ...t };
|
|
1247
1311
|
return { type: "ITEMS", itemType: "DATE_PICKER", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1248
1312
|
}
|
|
1249
|
-
function
|
|
1313
|
+
function Ks(e, t, s) {
|
|
1250
1314
|
if (typeof t == "function") {
|
|
1251
1315
|
const n = t;
|
|
1252
1316
|
return { type: "ITEMS", itemType: "DATE_TIME_PICKER", items: [{ key: e, def: (o) => ({
|
|
@@ -1257,7 +1321,7 @@ function vs(e, t, s) {
|
|
|
1257
1321
|
const a = { type: "dateTimePicker", ...t };
|
|
1258
1322
|
return { type: "ITEMS", itemType: "DATE_TIME_PICKER", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1259
1323
|
}
|
|
1260
|
-
function
|
|
1324
|
+
function Ys(e, t, s) {
|
|
1261
1325
|
if (typeof t == "function") {
|
|
1262
1326
|
const n = t;
|
|
1263
1327
|
return { type: "ITEMS", itemType: "RANGE_CALENDAR", items: [{ key: e, def: (o) => ({
|
|
@@ -1268,7 +1332,7 @@ function fs(e, t, s) {
|
|
|
1268
1332
|
const a = { type: "rangeCalendar", ...t };
|
|
1269
1333
|
return { type: "ITEMS", itemType: "RANGE_CALENDAR", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1270
1334
|
}
|
|
1271
|
-
function
|
|
1335
|
+
function $s(e, t, s) {
|
|
1272
1336
|
if (typeof t == "function") {
|
|
1273
1337
|
const n = t;
|
|
1274
1338
|
return { type: "ITEMS", itemType: "RANGE_DATE_INPUT", items: [{ key: e, def: (o) => ({
|
|
@@ -1279,7 +1343,7 @@ function Cs(e, t, s) {
|
|
|
1279
1343
|
const a = { type: "rangeDateInput", ...t };
|
|
1280
1344
|
return { type: "ITEMS", itemType: "RANGE_DATE_INPUT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1281
1345
|
}
|
|
1282
|
-
function
|
|
1346
|
+
function Fs(e, t, s) {
|
|
1283
1347
|
if (typeof t == "function") {
|
|
1284
1348
|
const n = t;
|
|
1285
1349
|
return { type: "ITEMS", itemType: "RANGE_DATE_TIME_INPUT", items: [{ key: e, def: (o) => ({
|
|
@@ -1290,7 +1354,7 @@ function Ns(e, t, s) {
|
|
|
1290
1354
|
const a = { type: "rangeDateTimeInput", ...t };
|
|
1291
1355
|
return { type: "ITEMS", itemType: "RANGE_DATE_TIME_INPUT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1292
1356
|
}
|
|
1293
|
-
function
|
|
1357
|
+
function zs(e, t, s) {
|
|
1294
1358
|
if (typeof t == "function") {
|
|
1295
1359
|
const n = t;
|
|
1296
1360
|
return { type: "ITEMS", itemType: "RANGE_DATE_TIME_CALENDAR", items: [{ key: e, def: (o) => ({
|
|
@@ -1301,7 +1365,7 @@ function Ws(e, t, s) {
|
|
|
1301
1365
|
const a = { type: "rangeDateTimeCalendar", ...t };
|
|
1302
1366
|
return { type: "ITEMS", itemType: "RANGE_DATE_TIME_CALENDAR", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1303
1367
|
}
|
|
1304
|
-
function
|
|
1368
|
+
function Os(e, t, s) {
|
|
1305
1369
|
if (typeof t == "function") {
|
|
1306
1370
|
const n = t;
|
|
1307
1371
|
return { type: "ITEMS", itemType: "RANGE_DATE_TIME_PICKER", items: [{ key: e, def: (o) => ({
|
|
@@ -1312,7 +1376,7 @@ function ws(e, t, s) {
|
|
|
1312
1376
|
const a = { type: "rangeDateTimePicker", ...t };
|
|
1313
1377
|
return { type: "ITEMS", itemType: "RANGE_DATE_TIME_PICKER", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1314
1378
|
}
|
|
1315
|
-
function
|
|
1379
|
+
function Xs(e, t, s) {
|
|
1316
1380
|
if (typeof t == "function") {
|
|
1317
1381
|
const n = t;
|
|
1318
1382
|
return { type: "ITEMS", itemType: "RANGE_TIME_INPUT", items: [{ key: e, def: (o) => ({
|
|
@@ -1323,7 +1387,7 @@ function xs(e, t, s) {
|
|
|
1323
1387
|
const a = { type: "rangeTimeInput", ...t };
|
|
1324
1388
|
return { type: "ITEMS", itemType: "RANGE_TIME_INPUT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1325
1389
|
}
|
|
1326
|
-
function
|
|
1390
|
+
function Hs(e, t, s) {
|
|
1327
1391
|
if (typeof t == "function") {
|
|
1328
1392
|
const n = t;
|
|
1329
1393
|
return { type: "ITEMS", itemType: "RANGE_DATE_PICKER", items: [{ key: e, def: (o) => ({
|
|
@@ -1334,7 +1398,7 @@ function Gs(e, t, s) {
|
|
|
1334
1398
|
const a = { type: "rangeDatePicker", ...t };
|
|
1335
1399
|
return { type: "ITEMS", itemType: "RANGE_DATE_PICKER", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1336
1400
|
}
|
|
1337
|
-
function
|
|
1401
|
+
function Vs(e, t, s) {
|
|
1338
1402
|
if (typeof t == "function") {
|
|
1339
1403
|
const n = t;
|
|
1340
1404
|
return { type: "ITEMS", itemType: "RANGE_TIME_PICKER", items: [{ key: e, def: (o) => ({
|
|
@@ -1345,7 +1409,7 @@ function Ks(e, t, s) {
|
|
|
1345
1409
|
const a = { type: "rangeTimePicker", ...t };
|
|
1346
1410
|
return { type: "ITEMS", itemType: "RANGE_TIME_PICKER", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1347
1411
|
}
|
|
1348
|
-
function
|
|
1412
|
+
function js(e, t, s) {
|
|
1349
1413
|
if (typeof t == "function") {
|
|
1350
1414
|
const n = t;
|
|
1351
1415
|
return { type: "ITEMS", itemType: "TIME_INPUT", items: [{ key: e, def: (o) => ({ type: "timeInput", ...n(o) }) }], tags: s ?? [] };
|
|
@@ -1353,7 +1417,7 @@ function Ys(e, t, s) {
|
|
|
1353
1417
|
const a = { type: "timeInput", ...t };
|
|
1354
1418
|
return { type: "ITEMS", itemType: "TIME_INPUT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1355
1419
|
}
|
|
1356
|
-
function
|
|
1420
|
+
function qs(e, t, s) {
|
|
1357
1421
|
if (typeof t == "function") {
|
|
1358
1422
|
const n = t;
|
|
1359
1423
|
return { type: "ITEMS", itemType: "TIME_PICKER", items: [{ key: e, def: (o) => ({
|
|
@@ -1364,7 +1428,7 @@ function $s(e, t, s) {
|
|
|
1364
1428
|
const a = { type: "timePicker", ...t };
|
|
1365
1429
|
return { type: "ITEMS", itemType: "TIME_PICKER", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1366
1430
|
}
|
|
1367
|
-
function
|
|
1431
|
+
function Js(e, t, s) {
|
|
1368
1432
|
if (typeof t == "function") {
|
|
1369
1433
|
const n = t;
|
|
1370
1434
|
return { type: "ITEMS", itemType: "DATE_TIME_INPUT", items: [{ key: e, def: (o) => ({
|
|
@@ -1375,7 +1439,7 @@ function Fs(e, t, s) {
|
|
|
1375
1439
|
const a = { type: "dateTimeInput", ...t };
|
|
1376
1440
|
return { type: "ITEMS", itemType: "DATE_TIME_INPUT", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1377
1441
|
}
|
|
1378
|
-
function
|
|
1442
|
+
function Qs(e, t, s, a) {
|
|
1379
1443
|
if (typeof s == "function") {
|
|
1380
1444
|
const l = s;
|
|
1381
1445
|
return { type: "ITEMS", itemType: "CUSTOM_INPUT", items: [{ key: t, def: (T) => ({
|
|
@@ -1386,7 +1450,7 @@ function zs(e, t, s, a) {
|
|
|
1386
1450
|
const i = { customType: e, ...s };
|
|
1387
1451
|
return { type: "ITEMS", itemType: "CUSTOM_INPUT", items: [{ key: t, def: i }], tags: a ?? [] };
|
|
1388
1452
|
}
|
|
1389
|
-
function
|
|
1453
|
+
function Zs(e, t) {
|
|
1390
1454
|
return {
|
|
1391
1455
|
items: [e],
|
|
1392
1456
|
type: "ITEMS",
|
|
@@ -1394,7 +1458,7 @@ function Os(e, t) {
|
|
|
1394
1458
|
tags: t ?? []
|
|
1395
1459
|
};
|
|
1396
1460
|
}
|
|
1397
|
-
function
|
|
1461
|
+
function ea(e, t, s) {
|
|
1398
1462
|
if (typeof t == "function") {
|
|
1399
1463
|
const n = t;
|
|
1400
1464
|
return { type: "ITEMS", itemType: "CUSTOM_ACTION", items: [
|
|
@@ -1403,19 +1467,19 @@ function Xs(e, t, s) {
|
|
|
1403
1467
|
}
|
|
1404
1468
|
return { type: "ITEMS", itemType: "CUSTOM_ACTION", items: [{ customType: e, ...t }], tags: s ?? [] };
|
|
1405
1469
|
}
|
|
1406
|
-
const
|
|
1470
|
+
const be = (e, t) => ({
|
|
1407
1471
|
type: "ITEMS",
|
|
1408
1472
|
itemType: y.DISPLAYS,
|
|
1409
1473
|
items: [{ render: e }],
|
|
1410
1474
|
tags: t ?? []
|
|
1411
1475
|
});
|
|
1412
|
-
function
|
|
1476
|
+
function ta(e, t) {
|
|
1413
1477
|
return { type: "ITEMS", itemType: "ALERTS", items: [e], tags: t ?? [] };
|
|
1414
1478
|
}
|
|
1415
|
-
function
|
|
1479
|
+
function sa(e, t) {
|
|
1416
1480
|
return { type: "ITEMS", itemType: "MARKDOWN_TEXTS", items: [e], tags: t ?? [] };
|
|
1417
1481
|
}
|
|
1418
|
-
function
|
|
1482
|
+
function aa(e, t, s) {
|
|
1419
1483
|
if (typeof t == "function") {
|
|
1420
1484
|
const r = t;
|
|
1421
1485
|
return { type: "ITEMS", itemType: "CUSTOM_DISPLAY", items: [
|
|
@@ -1429,12 +1493,12 @@ function js(e, t, s) {
|
|
|
1429
1493
|
props: Object.keys(i).length > 0 ? i : void 0
|
|
1430
1494
|
}], tags: s ?? [] };
|
|
1431
1495
|
}
|
|
1432
|
-
const
|
|
1496
|
+
const ue = (e, t, s) => ({
|
|
1433
1497
|
type: "ITEMS",
|
|
1434
1498
|
itemType: y.LAYOUTS,
|
|
1435
1499
|
items: [{ def: { widgetName: "flex", ...t ?? {} }, children: e }],
|
|
1436
1500
|
tags: s ?? []
|
|
1437
|
-
}),
|
|
1501
|
+
}), ia = (e, t, s) => ue(e, { direction: "row", ...t ?? {} }, s), na = (e, t, s) => ue(e, { direction: "column", ...t ?? {} }, s), re = (e, t, s) => ({
|
|
1438
1502
|
type: "ITEMS",
|
|
1439
1503
|
itemType: y.LAYOUTS,
|
|
1440
1504
|
items: [
|
|
@@ -1449,20 +1513,20 @@ const le = (e, t, s) => ({
|
|
|
1449
1513
|
}
|
|
1450
1514
|
],
|
|
1451
1515
|
tags: s ?? []
|
|
1452
|
-
}),
|
|
1453
|
-
function
|
|
1516
|
+
}), la = (e, t, s) => re(e, { direction: "row", ...t ?? {} }, s), oa = (e, t, s) => re(e, { direction: "column", ...t ?? {} }, s);
|
|
1517
|
+
function ye(e) {
|
|
1454
1518
|
return e.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/(^-|-$)/g, "");
|
|
1455
1519
|
}
|
|
1456
|
-
function
|
|
1520
|
+
function ua(e, t, s) {
|
|
1457
1521
|
const a = e.map((l) => ({
|
|
1458
1522
|
label: l.label,
|
|
1459
|
-
uid: l.uid ??
|
|
1523
|
+
uid: l.uid ?? ye(l.label)
|
|
1460
1524
|
})), i = e.map((l) => ({
|
|
1461
1525
|
type: "ITEMS",
|
|
1462
1526
|
itemType: y.LAYOUTS,
|
|
1463
1527
|
items: [
|
|
1464
1528
|
{
|
|
1465
|
-
def: { uid: l.uid ??
|
|
1529
|
+
def: { uid: l.uid ?? ye(l.label), direction: "column", widgetName: "flex" },
|
|
1466
1530
|
children: l.children
|
|
1467
1531
|
}
|
|
1468
1532
|
],
|
|
@@ -1478,19 +1542,19 @@ function ea(e, t, s) {
|
|
|
1478
1542
|
tags: s ?? []
|
|
1479
1543
|
};
|
|
1480
1544
|
}
|
|
1481
|
-
function
|
|
1545
|
+
function me(e) {
|
|
1482
1546
|
return e.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/(^-|-$)/g, "");
|
|
1483
1547
|
}
|
|
1484
|
-
function
|
|
1548
|
+
function ra(e, t, s) {
|
|
1485
1549
|
const a = e.map((l) => ({
|
|
1486
1550
|
label: l.label,
|
|
1487
|
-
uid: l.uid ??
|
|
1551
|
+
uid: l.uid ?? me(l.label)
|
|
1488
1552
|
})), i = e.map((l) => ({
|
|
1489
1553
|
type: "ITEMS",
|
|
1490
1554
|
itemType: y.LAYOUTS,
|
|
1491
1555
|
items: [
|
|
1492
1556
|
{
|
|
1493
|
-
def: { uid: l.uid ??
|
|
1557
|
+
def: { uid: l.uid ?? me(l.label), direction: "column", widgetName: "flex" },
|
|
1494
1558
|
children: l.children
|
|
1495
1559
|
}
|
|
1496
1560
|
],
|
|
@@ -1506,7 +1570,7 @@ function ta(e, t, s) {
|
|
|
1506
1570
|
tags: s ?? []
|
|
1507
1571
|
};
|
|
1508
1572
|
}
|
|
1509
|
-
function
|
|
1573
|
+
function pa(e, t, s, a) {
|
|
1510
1574
|
if (typeof s == "function") {
|
|
1511
1575
|
const l = s;
|
|
1512
1576
|
return { type: "ITEMS", itemType: "CUSTOM_LAYOUT", items: [{ def: (T) => ({
|
|
@@ -1516,7 +1580,7 @@ function sa(e, t, s, a) {
|
|
|
1516
1580
|
}
|
|
1517
1581
|
return { type: "ITEMS", itemType: "CUSTOM_LAYOUT", items: [{ def: { customType: e, ...s }, children: t }], tags: a ?? [] };
|
|
1518
1582
|
}
|
|
1519
|
-
function
|
|
1583
|
+
function da(e, t, s) {
|
|
1520
1584
|
const { template: a, ...i } = t;
|
|
1521
1585
|
return {
|
|
1522
1586
|
type: "ITEMS",
|
|
@@ -1525,7 +1589,7 @@ function aa(e, t, s) {
|
|
|
1525
1589
|
tags: s ?? []
|
|
1526
1590
|
};
|
|
1527
1591
|
}
|
|
1528
|
-
function
|
|
1592
|
+
function ca(e, t, s) {
|
|
1529
1593
|
if (typeof t == "function") {
|
|
1530
1594
|
const n = t;
|
|
1531
1595
|
return { type: "ITEMS", itemType: "TAGS", items: [{ key: e, def: (o) => ({ type: "tags", ...n(o) }) }], tags: s ?? [] };
|
|
@@ -1533,91 +1597,95 @@ function ia(e, t, s) {
|
|
|
1533
1597
|
const a = { type: "tags", ...t };
|
|
1534
1598
|
return { type: "ITEMS", itemType: "TAGS", items: [{ key: e, def: a }], tags: s ?? [] };
|
|
1535
1599
|
}
|
|
1536
|
-
const
|
|
1600
|
+
const ya = (e) => b(e, (t) => t.type === "text"), ma = (e) => b(e, (t) => t.type === "number"), Ta = (e) => b(e, (t) => t.type === "boolean"), ga = he({
|
|
1537
1601
|
// Inputs
|
|
1538
1602
|
inputs: b,
|
|
1539
|
-
inputByUid:
|
|
1540
|
-
textInputs:
|
|
1541
|
-
numberInputs:
|
|
1542
|
-
booleanInputs:
|
|
1543
|
-
selects:
|
|
1544
|
-
selectByUid:
|
|
1545
|
-
dropdowns:
|
|
1546
|
-
dropdownByUid:
|
|
1547
|
-
radiogroups:
|
|
1548
|
-
radiogroupByUid:
|
|
1549
|
-
checkboxes:
|
|
1550
|
-
checkboxByUid:
|
|
1551
|
-
textareas:
|
|
1552
|
-
textareaByUid:
|
|
1553
|
-
passwords:
|
|
1554
|
-
passwordByUid:
|
|
1555
|
-
currencies:
|
|
1556
|
-
currencyByUid:
|
|
1557
|
-
markdowns:
|
|
1558
|
-
markdownByUid:
|
|
1559
|
-
lists:
|
|
1560
|
-
listByUid:
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1603
|
+
inputByUid: Le,
|
|
1604
|
+
textInputs: ya,
|
|
1605
|
+
numberInputs: ma,
|
|
1606
|
+
booleanInputs: Ta,
|
|
1607
|
+
selects: yt,
|
|
1608
|
+
selectByUid: mt,
|
|
1609
|
+
dropdowns: Lt,
|
|
1610
|
+
dropdownByUid: Rt,
|
|
1611
|
+
radiogroups: Tt,
|
|
1612
|
+
radiogroupByUid: gt,
|
|
1613
|
+
checkboxes: Ze,
|
|
1614
|
+
checkboxByUid: et,
|
|
1615
|
+
textareas: je,
|
|
1616
|
+
textareaByUid: qe,
|
|
1617
|
+
passwords: Je,
|
|
1618
|
+
passwordByUid: Qe,
|
|
1619
|
+
currencies: rt,
|
|
1620
|
+
currencyByUid: pt,
|
|
1621
|
+
markdowns: Vt,
|
|
1622
|
+
markdownByUid: jt,
|
|
1623
|
+
lists: At,
|
|
1624
|
+
listByUid: Et,
|
|
1625
|
+
multiDropdowns: vt,
|
|
1626
|
+
multiDropdownByUid: ft,
|
|
1627
|
+
multiLists: Nt,
|
|
1628
|
+
multiListByUid: Ct,
|
|
1629
|
+
calendars: Fe,
|
|
1630
|
+
calendarByUid: ze,
|
|
1631
|
+
dateTimeCalendars: Oe,
|
|
1632
|
+
dateTimeCalendarByUid: Xe,
|
|
1633
|
+
dateInputs: tt,
|
|
1634
|
+
dateInputByUid: st,
|
|
1635
|
+
timeInputs: at,
|
|
1636
|
+
timeInputByUid: it,
|
|
1637
|
+
timePickers: nt,
|
|
1638
|
+
timePickerByUid: lt,
|
|
1639
|
+
dateTimeInputs: ot,
|
|
1640
|
+
dateTimeInputByUid: ut,
|
|
1641
|
+
datePickers: Mt,
|
|
1642
|
+
datePickerByUid: Bt,
|
|
1643
|
+
dateTimePickers: He,
|
|
1644
|
+
dateTimePickerByUid: Ve,
|
|
1645
|
+
rangeCalendars: dt,
|
|
1646
|
+
rangeCalendarByUid: ct,
|
|
1647
|
+
rangeDateInputs: qt,
|
|
1648
|
+
rangeDateInputByUid: Jt,
|
|
1649
|
+
rangeTimeInputs: Qt,
|
|
1650
|
+
rangeTimeInputByUid: Zt,
|
|
1651
|
+
rangeDateTimeInputs: es,
|
|
1652
|
+
rangeDateTimeInputByUid: ts,
|
|
1653
|
+
rangeDateTimeCalendars: ss,
|
|
1654
|
+
rangeDateTimeCalendarByUid: as,
|
|
1655
|
+
rangeDateTimePickers: is,
|
|
1656
|
+
rangeDateTimePickerByUid: ns,
|
|
1657
|
+
rangeDatePickers: ls,
|
|
1658
|
+
rangeDatePickerByUid: os,
|
|
1659
|
+
rangeTimePickers: us,
|
|
1660
|
+
rangeTimePickerByUid: rs,
|
|
1661
|
+
repeaters: V,
|
|
1662
|
+
repeaterByUid: ge,
|
|
1595
1663
|
// Actions, displays, layouts
|
|
1596
|
-
actions:
|
|
1597
|
-
actionByUid:
|
|
1598
|
-
layouts:
|
|
1599
|
-
layoutByUid:
|
|
1600
|
-
displays:
|
|
1601
|
-
displayByUid:
|
|
1602
|
-
alerts:
|
|
1603
|
-
alertByUid:
|
|
1604
|
-
markdownTexts:
|
|
1605
|
-
markdownTextByUid:
|
|
1606
|
-
tabs:
|
|
1607
|
-
tabsByUid:
|
|
1608
|
-
accordions:
|
|
1609
|
-
accordionByUid:
|
|
1664
|
+
actions: ve,
|
|
1665
|
+
actionByUid: fe,
|
|
1666
|
+
layouts: we,
|
|
1667
|
+
layoutByUid: xe,
|
|
1668
|
+
displays: Ye,
|
|
1669
|
+
displayByUid: $e,
|
|
1670
|
+
alerts: ht,
|
|
1671
|
+
alertByUid: Ut,
|
|
1672
|
+
markdownTexts: Dt,
|
|
1673
|
+
markdownTextByUid: Pt,
|
|
1674
|
+
tabs: St,
|
|
1675
|
+
tabsByUid: kt,
|
|
1676
|
+
accordions: Gt,
|
|
1677
|
+
accordionByUid: Kt,
|
|
1610
1678
|
// Custom kinds
|
|
1611
|
-
customInputs:
|
|
1612
|
-
customInputByUid:
|
|
1613
|
-
customActions:
|
|
1614
|
-
customActionByUid:
|
|
1615
|
-
customDisplays:
|
|
1616
|
-
customDisplayByUid:
|
|
1617
|
-
customLayouts:
|
|
1618
|
-
customLayoutByUid:
|
|
1619
|
-
}),
|
|
1620
|
-
bareItemToWidget: (e) =>
|
|
1679
|
+
customInputs: cs,
|
|
1680
|
+
customInputByUid: ys,
|
|
1681
|
+
customActions: ms,
|
|
1682
|
+
customActionByUid: Ts,
|
|
1683
|
+
customDisplays: ps,
|
|
1684
|
+
customDisplayByUid: ds,
|
|
1685
|
+
customLayouts: _s,
|
|
1686
|
+
customLayoutByUid: Ss
|
|
1687
|
+
}), ba = {
|
|
1688
|
+
bareItemToWidget: (e) => be(e),
|
|
1621
1689
|
rootEntry: (e) => {
|
|
1622
1690
|
const t = {
|
|
1623
1691
|
def: { uid: "#root", direction: "column", widgetName: "flex" },
|
|
@@ -1625,198 +1693,206 @@ const na = (e) => b(e, (t) => t.type === "text"), la = (e) => b(e, (t) => t.type
|
|
|
1625
1693
|
};
|
|
1626
1694
|
return { type: "ITEMS", itemType: y.LAYOUTS, items: [t], tags: [] };
|
|
1627
1695
|
}
|
|
1628
|
-
},
|
|
1696
|
+
}, Ia = {
|
|
1629
1697
|
inputs: {
|
|
1630
|
-
textInput:
|
|
1631
|
-
numberInput:
|
|
1632
|
-
booleanInput:
|
|
1633
|
-
select:
|
|
1634
|
-
dropdown:
|
|
1635
|
-
radiogroup:
|
|
1636
|
-
checkbox:
|
|
1637
|
-
textarea:
|
|
1638
|
-
password:
|
|
1639
|
-
currency:
|
|
1640
|
-
markdown:
|
|
1641
|
-
list:
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1698
|
+
textInput: As,
|
|
1699
|
+
numberInput: Es,
|
|
1700
|
+
booleanInput: hs,
|
|
1701
|
+
select: Us,
|
|
1702
|
+
dropdown: Ds,
|
|
1703
|
+
radiogroup: Ps,
|
|
1704
|
+
checkbox: Ms,
|
|
1705
|
+
textarea: Bs,
|
|
1706
|
+
password: Ls,
|
|
1707
|
+
currency: Rs,
|
|
1708
|
+
markdown: vs,
|
|
1709
|
+
list: fs,
|
|
1710
|
+
multiDropdown: Ns,
|
|
1711
|
+
multiList: Cs,
|
|
1712
|
+
calendar: Ws,
|
|
1713
|
+
dateTimeCalendar: ws,
|
|
1714
|
+
dateInput: xs,
|
|
1715
|
+
datePicker: Gs,
|
|
1716
|
+
dateTimePicker: Ks,
|
|
1717
|
+
timeInput: js,
|
|
1718
|
+
timePicker: qs,
|
|
1719
|
+
dateTimeInput: Js,
|
|
1720
|
+
rangeCalendar: Ys,
|
|
1721
|
+
rangeDateInput: $s,
|
|
1722
|
+
rangeDateTimeInput: Fs,
|
|
1723
|
+
rangeDateTimeCalendar: zs,
|
|
1724
|
+
rangeDateTimePicker: Os,
|
|
1725
|
+
rangeTimeInput: Xs,
|
|
1726
|
+
rangeDatePicker: Hs,
|
|
1727
|
+
rangeTimePicker: Vs,
|
|
1728
|
+
repeater: da,
|
|
1729
|
+
tags: ca,
|
|
1730
|
+
custom: Qs
|
|
1661
1731
|
},
|
|
1662
1732
|
actions: {
|
|
1663
|
-
button:
|
|
1664
|
-
custom:
|
|
1733
|
+
button: Zs,
|
|
1734
|
+
custom: ea
|
|
1665
1735
|
},
|
|
1666
1736
|
displays: {
|
|
1667
|
-
display:
|
|
1668
|
-
alert:
|
|
1669
|
-
markdownText:
|
|
1670
|
-
custom:
|
|
1737
|
+
display: be,
|
|
1738
|
+
alert: ta,
|
|
1739
|
+
markdownText: sa,
|
|
1740
|
+
custom: aa
|
|
1671
1741
|
},
|
|
1672
1742
|
layouts: {
|
|
1673
|
-
flex:
|
|
1674
|
-
horizontalFlex:
|
|
1675
|
-
verticalFlex:
|
|
1676
|
-
grid:
|
|
1677
|
-
horizontalGrid:
|
|
1678
|
-
verticalGrid:
|
|
1679
|
-
tabs:
|
|
1680
|
-
accordion:
|
|
1681
|
-
custom:
|
|
1743
|
+
flex: ue,
|
|
1744
|
+
horizontalFlex: ia,
|
|
1745
|
+
verticalFlex: na,
|
|
1746
|
+
grid: re,
|
|
1747
|
+
horizontalGrid: la,
|
|
1748
|
+
verticalGrid: oa,
|
|
1749
|
+
tabs: ua,
|
|
1750
|
+
accordion: ra,
|
|
1751
|
+
custom: pa
|
|
1682
1752
|
}
|
|
1683
|
-
},
|
|
1753
|
+
}, pe = Ue({
|
|
1684
1754
|
name: "gui",
|
|
1685
|
-
registry:
|
|
1686
|
-
facade:
|
|
1687
|
-
selectors:
|
|
1688
|
-
adapter:
|
|
1689
|
-
}),
|
|
1755
|
+
registry: oe,
|
|
1756
|
+
facade: Ia,
|
|
1757
|
+
selectors: ga,
|
|
1758
|
+
adapter: ba
|
|
1759
|
+
}), ha = pe.namespace, Ua = pe.formDefs, Da = pe.resolveFormInput;
|
|
1690
1760
|
export {
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1761
|
+
gt as $,
|
|
1762
|
+
Oe as A,
|
|
1763
|
+
ut as B,
|
|
1764
|
+
ot as C,
|
|
1765
|
+
Ve as D,
|
|
1766
|
+
He as E,
|
|
1767
|
+
$e as F,
|
|
1768
|
+
Ye as G,
|
|
1769
|
+
Rt as H,
|
|
1770
|
+
Lt as I,
|
|
1771
|
+
Le as J,
|
|
1702
1772
|
b as K,
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1773
|
+
xe as L,
|
|
1774
|
+
we as M,
|
|
1775
|
+
Et as N,
|
|
1776
|
+
At as O,
|
|
1777
|
+
jt as P,
|
|
1778
|
+
Pt as Q,
|
|
1779
|
+
Dt as R,
|
|
1780
|
+
Vt as S,
|
|
1781
|
+
ft as T,
|
|
1782
|
+
vt as U,
|
|
1783
|
+
Ct as V,
|
|
1784
|
+
Nt as W,
|
|
1785
|
+
ma as X,
|
|
1786
|
+
Qe as Y,
|
|
1787
|
+
Je as Z,
|
|
1788
|
+
Kt as _,
|
|
1789
|
+
Gt as a,
|
|
1790
|
+
$s as a$,
|
|
1791
|
+
Tt as a0,
|
|
1792
|
+
ct as a1,
|
|
1793
|
+
dt as a2,
|
|
1724
1794
|
Jt as a3,
|
|
1725
1795
|
qt as a4,
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1796
|
+
os as a5,
|
|
1797
|
+
ls as a6,
|
|
1798
|
+
as as a7,
|
|
1799
|
+
ss as a8,
|
|
1800
|
+
ts as a9,
|
|
1801
|
+
Ws as aA,
|
|
1802
|
+
Ms as aB,
|
|
1803
|
+
Rs as aC,
|
|
1804
|
+
ea as aD,
|
|
1805
|
+
aa as aE,
|
|
1806
|
+
Qs as aF,
|
|
1807
|
+
pa as aG,
|
|
1808
|
+
xs as aH,
|
|
1809
|
+
Gs as aI,
|
|
1810
|
+
ws as aJ,
|
|
1811
|
+
Js as aK,
|
|
1812
|
+
Ks as aL,
|
|
1813
|
+
be as aM,
|
|
1814
|
+
Ds as aN,
|
|
1815
|
+
ue as aO,
|
|
1816
|
+
re as aP,
|
|
1817
|
+
ia as aQ,
|
|
1818
|
+
la as aR,
|
|
1819
|
+
fs as aS,
|
|
1820
|
+
vs as aT,
|
|
1821
|
+
sa as aU,
|
|
1822
|
+
Ns as aV,
|
|
1823
|
+
Cs as aW,
|
|
1824
|
+
Es as aX,
|
|
1825
|
+
Ls as aY,
|
|
1826
|
+
Ps as aZ,
|
|
1827
|
+
Ys as a_,
|
|
1828
|
+
es as aa,
|
|
1829
|
+
ns as ab,
|
|
1830
|
+
is as ac,
|
|
1831
|
+
Zt as ad,
|
|
1832
|
+
Qt as ae,
|
|
1833
|
+
rs as af,
|
|
1834
|
+
us as ag,
|
|
1835
|
+
ge as ah,
|
|
1836
|
+
V as ai,
|
|
1837
|
+
mt as aj,
|
|
1838
|
+
yt as ak,
|
|
1839
|
+
St as al,
|
|
1840
|
+
kt as am,
|
|
1841
|
+
ka as an,
|
|
1842
|
+
Aa as ao,
|
|
1843
|
+
ya as ap,
|
|
1844
|
+
qe as aq,
|
|
1845
|
+
je as ar,
|
|
1846
|
+
it as as,
|
|
1847
|
+
at,
|
|
1848
|
+
lt as au,
|
|
1849
|
+
nt as av,
|
|
1850
|
+
ra as aw,
|
|
1851
|
+
ta as ax,
|
|
1852
|
+
hs as ay,
|
|
1853
|
+
Zs as az,
|
|
1854
|
+
fe as b,
|
|
1855
|
+
Hs as b0,
|
|
1856
|
+
zs as b1,
|
|
1857
|
+
Fs as b2,
|
|
1858
|
+
Os as b3,
|
|
1859
|
+
Xs as b4,
|
|
1860
|
+
Vs as b5,
|
|
1861
|
+
da as b6,
|
|
1862
|
+
Us as b7,
|
|
1863
|
+
ua as b8,
|
|
1864
|
+
ca as b9,
|
|
1865
|
+
As as ba,
|
|
1866
|
+
Bs as bb,
|
|
1867
|
+
js as bc,
|
|
1868
|
+
qs as bd,
|
|
1869
|
+
na as be,
|
|
1870
|
+
oa as bf,
|
|
1871
|
+
Ea as bg,
|
|
1872
|
+
Ua as bh,
|
|
1873
|
+
Da as bi,
|
|
1874
|
+
ve as c,
|
|
1875
|
+
Ut as d,
|
|
1876
|
+
ht as e,
|
|
1877
|
+
Ta as f,
|
|
1878
|
+
ha as g,
|
|
1879
|
+
ze as h,
|
|
1880
|
+
Fe as i,
|
|
1881
|
+
et as j,
|
|
1882
|
+
Ze as k,
|
|
1883
|
+
rt as l,
|
|
1884
|
+
pt as m,
|
|
1885
|
+
Ts as n,
|
|
1886
|
+
ms as o,
|
|
1887
|
+
ds as p,
|
|
1888
|
+
ps as q,
|
|
1889
|
+
ys as r,
|
|
1890
|
+
cs as s,
|
|
1891
|
+
Ss as t,
|
|
1892
|
+
_s as u,
|
|
1893
|
+
st as v,
|
|
1894
|
+
tt as w,
|
|
1895
|
+
Bt as x,
|
|
1896
|
+
Mt as y,
|
|
1897
|
+
Xe as z
|
|
1822
1898
|
};
|