@golemui/gui-shared 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/index.d.ts +1 -0
- package/index.js +268 -198
- package/index.umd.cjs +1 -1
- package/internals.d.ts +4 -4
- package/internals.js +355 -314
- package/internals.umd.cjs +1 -1
- package/lib/dx/core/dx.domain.d.ts +6 -1
- package/lib/dx/core/withForm.d.ts +8 -0
- package/lib/dx/formDef.domain.d.ts +2 -1
- package/lib/dx/gui.d.ts +20 -0
- package/lib/dx/index.d.ts +30 -0
- package/lib/dx/resolveFormInput.d.ts +9 -1
- package/lib/dx/shortcuts/date-time-calendar/dateTimeCalendar.domain.d.ts +22 -0
- package/lib/dx/shortcuts/date-time-calendar/dateTimeCalendarSensibleDefaults.service.d.ts +6 -0
- package/lib/dx/shortcuts/date-time-calendar/guiDateTimeCalendar.impl.d.ts +6 -0
- package/lib/dx/shortcuts/date-time-calendar/register.d.ts +2 -0
- package/lib/dx/shortcuts/date-time-input/dateTimeInput.domain.d.ts +17 -0
- package/lib/dx/shortcuts/date-time-input/guiDateTimeInput.impl.d.ts +6 -0
- package/lib/dx/shortcuts/date-time-input/register.d.ts +2 -0
- package/lib/dx/shortcuts/date-time-picker/dateTimePicker.domain.d.ts +18 -0
- package/lib/dx/shortcuts/date-time-picker/guiDateTimePicker.impl.d.ts +7 -0
- package/lib/dx/shortcuts/date-time-picker/register.d.ts +2 -0
- package/lib/dx/shortcuts/range-date-time-calendar/guiRangeDateTimeCalendar.impl.d.ts +6 -0
- package/lib/dx/shortcuts/range-date-time-calendar/rangeDateTimeCalendar.domain.d.ts +17 -0
- package/lib/dx/shortcuts/range-date-time-calendar/register.d.ts +2 -0
- package/lib/dx/shortcuts/range-date-time-input/guiRangeDateTimeInput.impl.d.ts +6 -0
- package/lib/dx/shortcuts/range-date-time-input/rangeDateTimeInput.domain.d.ts +17 -0
- package/lib/dx/shortcuts/range-date-time-input/register.d.ts +2 -0
- package/lib/dx/shortcuts/range-date-time-picker/guiRangeDateTimePicker.impl.d.ts +6 -0
- package/lib/dx/shortcuts/range-date-time-picker/rangeDateTimePicker.domain.d.ts +17 -0
- package/lib/dx/shortcuts/range-date-time-picker/register.d.ts +2 -0
- package/lib/dx/shortcuts/range-time-input/guiRangeTimeInput.impl.d.ts +6 -0
- package/lib/dx/shortcuts/range-time-input/rangeTimeInput.domain.d.ts +17 -0
- package/lib/dx/shortcuts/range-time-input/register.d.ts +2 -0
- package/lib/dx/shortcuts/range-time-picker/guiRangeTimePicker.impl.d.ts +6 -0
- package/lib/dx/shortcuts/range-time-picker/rangeTimePicker.domain.d.ts +17 -0
- package/lib/dx/shortcuts/range-time-picker/register.d.ts +2 -0
- package/lib/dx/shortcuts/scopes/scopeChain.d.ts +30 -0
- package/lib/dx/shortcuts/time-input/guiTimeInput.impl.d.ts +6 -0
- package/lib/dx/shortcuts/time-input/register.d.ts +2 -0
- package/lib/dx/shortcuts/time-input/timeInput.domain.d.ts +17 -0
- package/lib/dx/shortcuts/time-picker/guiTimePicker.impl.d.ts +7 -0
- package/lib/dx/shortcuts/time-picker/register.d.ts +2 -0
- package/lib/dx/shortcuts/time-picker/timePicker.domain.d.ts +18 -0
- package/lib/golem-form.d.ts +32 -2
- package/lib/widget.props.d.ts +197 -26
- package/lib/widgets.d.ts +2 -2
- package/package.json +3 -3
- package/{register-BxVKv9Qh.js → register-C4dCzlrS.js} +756 -412
- package/register-KU4CGoTQ.cjs +1 -0
- package/register-dBzdQbWZ.cjs +0 -1
package/internals.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { b7 as A, b8 as m, b9 as v, ba as x, aB as B, bb as N, bc as j } from "./register-C4dCzlrS.js";
|
|
2
|
+
import { ag as Te, af as he, a4 as be, a3 as De, aa as Se, a9 as Ie, d as Ee, x as Re, w as Ae, l as Ue, k as ke, q as Ce, r as Oe, ak as Me, aj as Pe, am as we, al as ve, ai as xe, ah as Be, ao as Ne, an as je, B as Le, A as Fe, J as We, I as ze, z as Ge, y as Ke, H as $e, G as Ye, L as Ve, K as He, a8 as Xe, a7 as qe, h as Je, g as Qe, a as Ze, _ as et, a6 as tt, a5 as st, v as at, u as nt, t as it, ac as rt, ab as ot, s as lt, c as ct, p as ut, o as pt, j as dt, i as gt, N as ft, M as _t, P as yt, O as mt, Z as Tt, Y as ht, V as bt, U as Dt, T as St, S as It, X as Et, W as Rt, R as At, Q as Ut, a0 as kt, $ as Ct, a2 as Ot, a1 as Mt, f as Pt, e as wt, ad as vt, ae as xt, bd as Bt, be as Nt, b as jt, n as Lt, m as Ft, D as Wt, C as zt, F as Gt, E as Kt, aq as $t, aA as Yt, b4 as Vt, aD as Ht, aW as Xt, b0 as qt, aZ as Jt, aC as Qt, ay as Zt, aE as es, ap as ts, aU as ss, aT as as, aV as ns, aP as is, aS as rs, b2 as os, ax as ls, au as cs, aw as us, at as ps, aX as ds, aY as gs, az as fs, b5 as _s, a_ as ys, b1 as ms, aO as Ts, aN as hs, aI as bs, aL as Ds, aM as Ss, aK as Is, aJ as Es, aH as Rs, aG as As, b3 as Us, ar as ks, aF as Cs, b6 as Os, a$ as Ms, aR as Ps, aQ as ws, av as vs, as as xs, bf as Bs, bg as Ns, bh as js, bi as Ls, bj as Fs } from "./register-C4dCzlrS.js";
|
|
3
3
|
import "@golemui/core";
|
|
4
4
|
import "@golemui/gui-validators";
|
|
5
|
-
function
|
|
5
|
+
function ue(r, ...e) {
|
|
6
6
|
return e.map((t) => ({
|
|
7
7
|
...t,
|
|
8
|
-
targetState:
|
|
8
|
+
targetState: r
|
|
9
9
|
}));
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function pe(r, ...e) {
|
|
12
12
|
return {
|
|
13
13
|
kind: "aggregated",
|
|
14
|
-
matcher: (t) => t.tags?.includes(
|
|
14
|
+
matcher: (t) => t.tags?.includes(r) ?? !1,
|
|
15
15
|
children: e
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const U = {
|
|
19
19
|
INPUTS: /* @__PURE__ */ new Set([
|
|
20
20
|
"INPUTS",
|
|
21
21
|
"TEXTAREA",
|
|
@@ -25,11 +25,21 @@ const E = {
|
|
|
25
25
|
"RADIOGROUP",
|
|
26
26
|
"CHECKBOX",
|
|
27
27
|
"CALENDAR",
|
|
28
|
+
"DATE_TIME_CALENDAR",
|
|
29
|
+
"DATE_TIME_PICKER",
|
|
28
30
|
"DATE_INPUT",
|
|
29
31
|
"DATE_PICKER",
|
|
30
32
|
"RANGE_CALENDAR",
|
|
31
33
|
"RANGE_DATE_INPUT",
|
|
34
|
+
"RANGE_DATE_TIME_INPUT",
|
|
35
|
+
"RANGE_DATE_TIME_CALENDAR",
|
|
36
|
+
"RANGE_DATE_TIME_PICKER",
|
|
37
|
+
"RANGE_TIME_INPUT",
|
|
32
38
|
"RANGE_DATE_PICKER",
|
|
39
|
+
"RANGE_TIME_PICKER",
|
|
40
|
+
"TIME_INPUT",
|
|
41
|
+
"TIME_PICKER",
|
|
42
|
+
"DATE_TIME_INPUT",
|
|
33
43
|
"CURRENCY",
|
|
34
44
|
"MARKDOWN",
|
|
35
45
|
"LIST",
|
|
@@ -41,11 +51,11 @@ const E = {
|
|
|
41
51
|
DISPLAYS: /* @__PURE__ */ new Set(["DISPLAYS", "ALERTS", "MARKDOWN_TEXTS", "CUSTOM_DISPLAY"]),
|
|
42
52
|
LAYOUTS: /* @__PURE__ */ new Set(["LAYOUTS", "TABS", "ACCORDION", "CUSTOM_LAYOUT"])
|
|
43
53
|
};
|
|
44
|
-
function
|
|
45
|
-
const t =
|
|
46
|
-
return t ? t.has(e) :
|
|
54
|
+
function L(r, e) {
|
|
55
|
+
const t = U[r];
|
|
56
|
+
return t ? t.has(e) : r === e;
|
|
47
57
|
}
|
|
48
|
-
class
|
|
58
|
+
class F {
|
|
49
59
|
resolve(e, t) {
|
|
50
60
|
const a = [];
|
|
51
61
|
for (const n of t)
|
|
@@ -62,28 +72,28 @@ class N {
|
|
|
62
72
|
this.collectFromLeaf(s, t, a);
|
|
63
73
|
}
|
|
64
74
|
collectFromLeaf(e, t, a) {
|
|
65
|
-
|
|
75
|
+
L(e.selectorType, t.itemType ?? "") && e.matcher(t) && a.push(e);
|
|
66
76
|
}
|
|
67
77
|
rollUpSensibleDefaults(e) {
|
|
68
|
-
const t = /* @__PURE__ */ new Map(), a = (n,
|
|
69
|
-
const
|
|
70
|
-
|
|
78
|
+
const t = /* @__PURE__ */ new Map(), a = (n, i) => {
|
|
79
|
+
const o = t.get(n) ?? [];
|
|
80
|
+
o.push(i), t.set(n, o);
|
|
71
81
|
};
|
|
72
82
|
for (const n of e) {
|
|
73
|
-
const
|
|
74
|
-
if (
|
|
75
|
-
for (const
|
|
83
|
+
const i = U[n.selectorType];
|
|
84
|
+
if (i)
|
|
85
|
+
for (const o of i) a(o, n);
|
|
76
86
|
else
|
|
77
87
|
a(n.selectorType, n);
|
|
78
88
|
}
|
|
79
89
|
const s = {};
|
|
80
|
-
for (const [n,
|
|
81
|
-
|
|
90
|
+
for (const [n, i] of t)
|
|
91
|
+
A(n) && (s[n] = m(n).rollUpSensibleDefaults(i));
|
|
82
92
|
return s;
|
|
83
93
|
}
|
|
84
94
|
}
|
|
85
|
-
const
|
|
86
|
-
class
|
|
95
|
+
const W = new F();
|
|
96
|
+
class z {
|
|
87
97
|
/**
|
|
88
98
|
* Deep merges two objects, with right taking precedence over left when properties conflict.
|
|
89
99
|
* Arrays are replaced, not merged.
|
|
@@ -102,22 +112,22 @@ class W {
|
|
|
102
112
|
return a;
|
|
103
113
|
}
|
|
104
114
|
}
|
|
105
|
-
const
|
|
106
|
-
class
|
|
115
|
+
const G = new z();
|
|
116
|
+
class K {
|
|
107
117
|
constructor(e) {
|
|
108
118
|
this.objectUtils = e;
|
|
109
119
|
}
|
|
110
120
|
merge(e, t, a) {
|
|
111
121
|
let s = {}, n = null;
|
|
112
122
|
typeof e == "function" && (n = e);
|
|
113
|
-
const
|
|
114
|
-
for (const
|
|
123
|
+
const i = this.collectDecorators(a);
|
|
124
|
+
for (const l of i) {
|
|
115
125
|
if (n != null) {
|
|
116
|
-
n = this.composeRuntimeFunctions(n,
|
|
126
|
+
n = this.composeRuntimeFunctions(n, l);
|
|
117
127
|
continue;
|
|
118
128
|
}
|
|
119
|
-
if (typeof
|
|
120
|
-
const u =
|
|
129
|
+
if (typeof l == "function") {
|
|
130
|
+
const u = l({
|
|
121
131
|
...s,
|
|
122
132
|
...typeof e == "function" ? {} : e
|
|
123
133
|
});
|
|
@@ -133,15 +143,15 @@ class G {
|
|
|
133
143
|
}
|
|
134
144
|
s = this.objectUtils.deepMerge(s, u);
|
|
135
145
|
} else
|
|
136
|
-
s = this.objectUtils.deepMerge(s,
|
|
146
|
+
s = this.objectUtils.deepMerge(s, l);
|
|
137
147
|
}
|
|
138
148
|
if (n != null)
|
|
139
149
|
return {
|
|
140
150
|
kind: "dynamic",
|
|
141
151
|
fn: this.wrapWithSensibleDefaults(n, s, t, a)
|
|
142
152
|
};
|
|
143
|
-
const
|
|
144
|
-
return { kind: "static", def: this.applySensibleDefaults({ ...
|
|
153
|
+
const o = this.objectUtils.deepMerge(e, s);
|
|
154
|
+
return { kind: "static", def: this.applySensibleDefaults({ ...o }, t, a) };
|
|
145
155
|
}
|
|
146
156
|
// ── Collect all decorators in priority order ──
|
|
147
157
|
collectDecorators(e) {
|
|
@@ -154,23 +164,23 @@ class G {
|
|
|
154
164
|
}
|
|
155
165
|
// ── Apply sensible defaults via registry ──
|
|
156
166
|
applySensibleDefaults(e, t, a) {
|
|
157
|
-
if (!
|
|
167
|
+
if (!A(t)) return e;
|
|
158
168
|
const s = a.sensibleDefaults[t] ?? {};
|
|
159
169
|
return m(t).applySensibleDefaults(e, s);
|
|
160
170
|
}
|
|
161
171
|
// ── Create promoted FunctionWidget ──
|
|
162
172
|
createPromotedFunction(e, t, a, s, n) {
|
|
163
|
-
return (
|
|
164
|
-
const
|
|
165
|
-
let
|
|
166
|
-
return
|
|
173
|
+
return (i) => {
|
|
174
|
+
const o = a(i);
|
|
175
|
+
let c = this.objectUtils.deepMerge(e, o);
|
|
176
|
+
return c = this.objectUtils.deepMerge(c, t), this.applySensibleDefaults(c, s, n);
|
|
167
177
|
};
|
|
168
178
|
}
|
|
169
179
|
// ── Wrap runtime function with accumulated static decorators and sensible defaults ──
|
|
170
180
|
wrapWithSensibleDefaults(e, t, a, s) {
|
|
171
181
|
return (n) => {
|
|
172
|
-
let
|
|
173
|
-
return Object.keys(t).length > 0 && (
|
|
182
|
+
let i = e(n);
|
|
183
|
+
return Object.keys(t).length > 0 && (i = this.objectUtils.deepMerge(t, i)), this.applySensibleDefaults(i, a, s);
|
|
174
184
|
};
|
|
175
185
|
}
|
|
176
186
|
// ── Compose two runtime functions ──
|
|
@@ -184,8 +194,8 @@ class G {
|
|
|
184
194
|
};
|
|
185
195
|
}
|
|
186
196
|
}
|
|
187
|
-
const $ = new G
|
|
188
|
-
class
|
|
197
|
+
const $ = new K(G);
|
|
198
|
+
class Y {
|
|
189
199
|
mapToWidget(e, t) {
|
|
190
200
|
if (e.kind === "dynamic") {
|
|
191
201
|
const a = e.fn;
|
|
@@ -208,8 +218,8 @@ class K {
|
|
|
208
218
|
return t.size != null && (e.size = t.size), t.defaultValue != null && e.kind === "input" && (e.defaultValue = t.defaultValue), t.on != null && (e.on = t.on), t.include != null && (e.include = t.include), t.exclude != null && (e.exclude = t.exclude), e;
|
|
209
219
|
}
|
|
210
220
|
}
|
|
211
|
-
const
|
|
212
|
-
class
|
|
221
|
+
const V = new Y();
|
|
222
|
+
class H {
|
|
213
223
|
/**
|
|
214
224
|
* Ensures the output is always a uniform GslSelector[] of aggregated selectors.
|
|
215
225
|
*
|
|
@@ -234,18 +244,18 @@ class V {
|
|
|
234
244
|
};
|
|
235
245
|
}
|
|
236
246
|
}
|
|
237
|
-
const
|
|
247
|
+
const X = new H(), q = {
|
|
238
248
|
input: /* @__PURE__ */ new Set(["disabled", "readonly", "label", "validator", "size"]),
|
|
239
249
|
action: /* @__PURE__ */ new Set(["disabled", "label", "size"]),
|
|
240
250
|
layout: /* @__PURE__ */ new Set(["size"]),
|
|
241
251
|
display: /* @__PURE__ */ new Set([])
|
|
242
|
-
},
|
|
252
|
+
}, S = {
|
|
243
253
|
onChange: "change",
|
|
244
254
|
onLoad: "load",
|
|
245
255
|
onFilter: "filter",
|
|
246
256
|
onClick: "click"
|
|
247
257
|
};
|
|
248
|
-
class
|
|
258
|
+
class J {
|
|
249
259
|
/**
|
|
250
260
|
* Extracts `states` from a merge result, combining with state-targeted
|
|
251
261
|
* GSL leaf selectors from `_gslStates`.
|
|
@@ -254,34 +264,34 @@ class q {
|
|
|
254
264
|
*/
|
|
255
265
|
extractFromMergeResult(e, t) {
|
|
256
266
|
const a = {};
|
|
257
|
-
for (const
|
|
258
|
-
const
|
|
259
|
-
a[
|
|
260
|
-
...a[
|
|
267
|
+
for (const o of t) {
|
|
268
|
+
const c = o.targetState, l = o.config, u = l.override && typeof l.override != "function" ? l.override : l;
|
|
269
|
+
a[c] = {
|
|
270
|
+
...a[c] || {},
|
|
261
271
|
...u
|
|
262
272
|
};
|
|
263
273
|
}
|
|
264
274
|
if (e.kind === "dynamic") {
|
|
265
|
-
const
|
|
275
|
+
const o = e.fn;
|
|
266
276
|
return {
|
|
267
|
-
cleanedResult: { kind: "dynamic", fn: (
|
|
268
|
-
const u =
|
|
269
|
-
return
|
|
277
|
+
cleanedResult: { kind: "dynamic", fn: (l) => {
|
|
278
|
+
const u = o(l), { states: p, ...g } = u;
|
|
279
|
+
return g;
|
|
270
280
|
} },
|
|
271
281
|
stateData: { stateOverrides: a }
|
|
272
282
|
};
|
|
273
283
|
}
|
|
274
|
-
const { states: s, ...n } = e.def,
|
|
275
|
-
for (const [
|
|
276
|
-
|
|
284
|
+
const { states: s, ...n } = e.def, i = {};
|
|
285
|
+
for (const [o, c] of Object.entries(a))
|
|
286
|
+
i[o] = { ...c };
|
|
277
287
|
if (s)
|
|
278
|
-
for (const [
|
|
288
|
+
for (const [o, c] of Object.entries(
|
|
279
289
|
s
|
|
280
290
|
))
|
|
281
|
-
|
|
291
|
+
i[o] = { ...i[o] || {}, ...c };
|
|
282
292
|
return {
|
|
283
293
|
cleanedResult: { kind: "static", def: n },
|
|
284
|
-
stateData: { stateOverrides:
|
|
294
|
+
stateData: { stateOverrides: i }
|
|
285
295
|
};
|
|
286
296
|
}
|
|
287
297
|
/**
|
|
@@ -295,12 +305,12 @@ class q {
|
|
|
295
305
|
const { stateOverrides: n } = t;
|
|
296
306
|
if (Object.keys(n).length === 0)
|
|
297
307
|
return e;
|
|
298
|
-
const
|
|
299
|
-
e.props && (
|
|
300
|
-
for (const [
|
|
301
|
-
for (const [p,
|
|
302
|
-
p === "visible" ? this.applyVisibility(
|
|
303
|
-
return
|
|
308
|
+
const i = { ...e }, o = e.kind, c = q[o] || /* @__PURE__ */ new Set();
|
|
309
|
+
e.props && (i.props = { ...e.props }), e.on && (i.on = { ...e.on });
|
|
310
|
+
for (const [l, u] of Object.entries(n))
|
|
311
|
+
for (const [p, g] of Object.entries(u))
|
|
312
|
+
p === "visible" ? this.applyVisibility(i, l, g) : S[p] ? this.applyStateEvent(i, l, p, g, a, s) : c.has(p) ? i[`${p}.${l}`] = g : (i.props || (i.props = {}), i.props[`${p}.${l}`] = g);
|
|
313
|
+
return i;
|
|
304
314
|
}
|
|
305
315
|
hasStateData(e) {
|
|
306
316
|
return Object.keys(e.stateOverrides).length > 0;
|
|
@@ -316,127 +326,127 @@ class q {
|
|
|
316
326
|
}
|
|
317
327
|
}
|
|
318
328
|
// ── State-suffixed event helpers ──
|
|
319
|
-
applyStateEvent(e, t, a, s, n,
|
|
320
|
-
const
|
|
329
|
+
applyStateEvent(e, t, a, s, n, i) {
|
|
330
|
+
const o = S[a];
|
|
321
331
|
if (e.on || (e.on = {}), typeof s == "function") {
|
|
322
|
-
const
|
|
323
|
-
if (
|
|
324
|
-
e.on[`${
|
|
332
|
+
const c = v(s);
|
|
333
|
+
if (c != null)
|
|
334
|
+
e.on[`${o}.${t}`] = c;
|
|
325
335
|
else {
|
|
326
|
-
const
|
|
327
|
-
n.set(
|
|
336
|
+
const l = i.next();
|
|
337
|
+
n.set(l, s), e.on[`${o}.${t}`] = l;
|
|
328
338
|
}
|
|
329
|
-
} else typeof s == "string" && (e.on[`${
|
|
339
|
+
} else typeof s == "string" && (e.on[`${o}.${t}`] = s);
|
|
330
340
|
}
|
|
331
341
|
}
|
|
332
|
-
const
|
|
333
|
-
function
|
|
334
|
-
let
|
|
335
|
-
return { next: () => `event_${
|
|
342
|
+
const Q = new J();
|
|
343
|
+
function Z() {
|
|
344
|
+
let r = 0;
|
|
345
|
+
return { next: () => `event_${r++}` };
|
|
336
346
|
}
|
|
337
|
-
class
|
|
347
|
+
class ee {
|
|
338
348
|
constructor(e, t, a, s, n) {
|
|
339
349
|
this.resolver = e, this.merger = t, this.mapper = a, this.eventWiring = s, this.stateExpansion = n;
|
|
340
350
|
}
|
|
341
351
|
walkAndMap(e, t, a) {
|
|
342
|
-
const s = /* @__PURE__ */ new Map(), n =
|
|
352
|
+
const s = /* @__PURE__ */ new Map(), n = Z(), i = { value: 0 }, o = /* @__PURE__ */ new Set();
|
|
343
353
|
return { widgets: this.walkItems(
|
|
344
354
|
e,
|
|
345
355
|
t,
|
|
346
356
|
s,
|
|
347
357
|
a,
|
|
348
358
|
n,
|
|
349
|
-
|
|
350
|
-
|
|
359
|
+
i,
|
|
360
|
+
o
|
|
351
361
|
), eventRegistry: s };
|
|
352
362
|
}
|
|
353
|
-
walkItems(e, t, a, s, n,
|
|
354
|
-
return e.flatMap((
|
|
355
|
-
if (
|
|
363
|
+
walkItems(e, t, a, s, n, i, o) {
|
|
364
|
+
return e.flatMap((c) => {
|
|
365
|
+
if (c.type !== "ITEMS")
|
|
356
366
|
throw new Error("Unexpected gui shortcut type");
|
|
357
|
-
return
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
367
|
+
return c.items.map((l) => this.processItem(
|
|
368
|
+
l,
|
|
369
|
+
c.itemType,
|
|
370
|
+
c.tags,
|
|
361
371
|
t,
|
|
362
372
|
a,
|
|
363
373
|
s,
|
|
364
374
|
n,
|
|
365
|
-
|
|
366
|
-
|
|
375
|
+
i,
|
|
376
|
+
o
|
|
367
377
|
));
|
|
368
378
|
});
|
|
369
379
|
}
|
|
370
|
-
processItem(e, t, a, s, n,
|
|
371
|
-
const u = t, p = m(t),
|
|
372
|
-
leafSelectors:
|
|
373
|
-
sensibleDefaults:
|
|
380
|
+
processItem(e, t, a, s, n, i, o, c, l) {
|
|
381
|
+
const u = t, p = m(t), g = p.parseEntry(e), y = this.buildBaseDef(g), C = this.buildDecoratorForMatching(y, u, a), T = this.resolver.resolve(C, s), O = T.leafSelectors.filter((d) => d.targetState != null), M = {
|
|
382
|
+
leafSelectors: T.leafSelectors.filter((d) => d.targetState == null),
|
|
383
|
+
sensibleDefaults: T.sensibleDefaults
|
|
374
384
|
};
|
|
375
|
-
let
|
|
376
|
-
p.afterMerge && (
|
|
385
|
+
let _ = this.merger.merge(y, u, M);
|
|
386
|
+
p.afterMerge && (_ = p.afterMerge(_, {
|
|
377
387
|
eventRegistry: n,
|
|
378
|
-
formConfig:
|
|
379
|
-
eventIdGenerator:
|
|
380
|
-
})),
|
|
381
|
-
|
|
388
|
+
formConfig: i,
|
|
389
|
+
eventIdGenerator: o
|
|
390
|
+
})), _ = this.eventWiring.wireInputLayoutEvents(
|
|
391
|
+
_,
|
|
382
392
|
n,
|
|
383
|
-
|
|
393
|
+
o
|
|
384
394
|
);
|
|
385
|
-
const { cleanedResult:
|
|
386
|
-
|
|
387
|
-
|
|
395
|
+
const { cleanedResult: D, stateData: h } = this.stateExpansion.extractFromMergeResult(
|
|
396
|
+
_,
|
|
397
|
+
O
|
|
388
398
|
);
|
|
389
|
-
let
|
|
399
|
+
let f;
|
|
390
400
|
if (p.buildCustomWidget) {
|
|
391
401
|
const d = this.buildCustomWidgetContext(
|
|
392
|
-
|
|
402
|
+
g.children,
|
|
393
403
|
s,
|
|
394
404
|
n,
|
|
395
|
-
r,
|
|
396
405
|
i,
|
|
397
|
-
|
|
398
|
-
c
|
|
406
|
+
o,
|
|
407
|
+
c,
|
|
408
|
+
l
|
|
399
409
|
);
|
|
400
|
-
|
|
410
|
+
f = this.buildCustomWidget(p, D, d);
|
|
401
411
|
} else
|
|
402
|
-
|
|
403
|
-
if (typeof
|
|
404
|
-
const d =
|
|
405
|
-
d.uid || (d.path && !
|
|
412
|
+
f = this.mapper.mapToWidget(D, u);
|
|
413
|
+
if (typeof f != "function") {
|
|
414
|
+
const d = f;
|
|
415
|
+
d.uid || (d.path && !l.has(d.path) ? (d.uid = d.path, l.add(d.path)) : d.uid = `dx_${c.value++}`);
|
|
406
416
|
}
|
|
407
|
-
if (this.stateExpansion.hasStateData(
|
|
408
|
-
if (typeof
|
|
409
|
-
const d =
|
|
410
|
-
|
|
411
|
-
const
|
|
417
|
+
if (this.stateExpansion.hasStateData(h))
|
|
418
|
+
if (typeof f == "function") {
|
|
419
|
+
const d = f;
|
|
420
|
+
f = ((P) => {
|
|
421
|
+
const w = d(P);
|
|
412
422
|
return this.stateExpansion.applyToWidget(
|
|
413
|
-
|
|
414
|
-
|
|
423
|
+
w,
|
|
424
|
+
h,
|
|
415
425
|
n,
|
|
416
|
-
|
|
426
|
+
o
|
|
417
427
|
);
|
|
418
428
|
});
|
|
419
429
|
} else
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
430
|
+
f = this.stateExpansion.applyToWidget(
|
|
431
|
+
f,
|
|
432
|
+
h,
|
|
423
433
|
n,
|
|
424
|
-
|
|
434
|
+
o
|
|
425
435
|
);
|
|
426
|
-
return
|
|
436
|
+
return f;
|
|
427
437
|
}
|
|
428
|
-
buildCustomWidgetContext(e, t, a, s, n,
|
|
438
|
+
buildCustomWidgetContext(e, t, a, s, n, i, o) {
|
|
429
439
|
return {
|
|
430
440
|
children: e,
|
|
431
|
-
mapStaticDef: (
|
|
432
|
-
walkChildren: (
|
|
433
|
-
|
|
441
|
+
mapStaticDef: (c, l) => this.mapper.mapStaticDef(c, l),
|
|
442
|
+
walkChildren: (c) => this.walkItems(
|
|
443
|
+
c,
|
|
434
444
|
t,
|
|
435
445
|
a,
|
|
436
446
|
s,
|
|
437
447
|
n,
|
|
438
|
-
|
|
439
|
-
|
|
448
|
+
i,
|
|
449
|
+
o
|
|
440
450
|
)
|
|
441
451
|
};
|
|
442
452
|
}
|
|
@@ -450,32 +460,32 @@ class Z {
|
|
|
450
460
|
buildBaseDef(e) {
|
|
451
461
|
const t = e.baseDef;
|
|
452
462
|
return typeof t == "function" ? (a) => {
|
|
453
|
-
const
|
|
463
|
+
const s = x(a), n = t(s);
|
|
454
464
|
return e.path != null ? { ...n, path: e.path } : n;
|
|
455
465
|
} : e.path != null ? { ...t, path: e.path } : t;
|
|
456
466
|
}
|
|
457
467
|
buildDecoratorForMatching(e, t, a) {
|
|
458
468
|
if (typeof e == "function")
|
|
459
469
|
return { itemType: t, tags: [...a] };
|
|
460
|
-
const s = [...a, ..."tags" in e && e.tags ? e.tags : []], n = "uid" in e ? e.uid : void 0,
|
|
461
|
-
return { itemType: t, tags: s, uid: n, type:
|
|
470
|
+
const s = [...a, ..."tags" in e && e.tags ? e.tags : []], n = "uid" in e ? e.uid : void 0, i = "type" in e ? e.type : void 0;
|
|
471
|
+
return { itemType: t, tags: s, uid: n, type: i };
|
|
462
472
|
}
|
|
463
473
|
}
|
|
464
|
-
class
|
|
474
|
+
class te {
|
|
465
475
|
constructor(e, t) {
|
|
466
476
|
this.selectorNormalizer = e, this.walker = t;
|
|
467
477
|
}
|
|
468
478
|
processDxFacade(e, t = [], a) {
|
|
469
|
-
const { defs: s, gslSelectors: n, formConfig:
|
|
479
|
+
const { defs: s, gslSelectors: n, formConfig: i } = this.prepareForm(
|
|
470
480
|
e,
|
|
471
481
|
t,
|
|
472
482
|
a
|
|
473
|
-
), { widgets:
|
|
483
|
+
), { widgets: o, eventRegistry: c } = this.walker.walkAndMap(
|
|
474
484
|
s,
|
|
475
485
|
n,
|
|
476
|
-
|
|
477
|
-
),
|
|
478
|
-
return this.buildResult({ form:
|
|
486
|
+
i
|
|
487
|
+
), l = o[0];
|
|
488
|
+
return this.buildResult({ form: l }, c, i);
|
|
479
489
|
}
|
|
480
490
|
/**
|
|
481
491
|
* Normalizes raw form definitions and applies form-level defaults.
|
|
@@ -489,23 +499,23 @@ class ee {
|
|
|
489
499
|
*/
|
|
490
500
|
prepareForm(e, t, a) {
|
|
491
501
|
const n = (Array.isArray(e) ? [...e] : [e]).map(
|
|
492
|
-
(
|
|
493
|
-
),
|
|
502
|
+
(c) => typeof c == "function" ? B(c) : c
|
|
503
|
+
), i = this.selectorNormalizer.normalizeSelectors(t), o = {
|
|
494
504
|
...this.selectorNormalizer.extractFormConfig(),
|
|
495
505
|
...a
|
|
496
506
|
};
|
|
497
|
-
if (!
|
|
498
|
-
const
|
|
507
|
+
if (!o.suppressAutomaticStack) {
|
|
508
|
+
const c = {
|
|
499
509
|
def: { uid: "#root", direction: "column", widgetName: "flex" },
|
|
500
510
|
children: n
|
|
501
511
|
};
|
|
502
512
|
return {
|
|
503
|
-
defs: [{ type: "ITEMS", itemType:
|
|
504
|
-
gslSelectors:
|
|
505
|
-
formConfig:
|
|
513
|
+
defs: [{ type: "ITEMS", itemType: N.LAYOUTS, items: [c], tags: [] }],
|
|
514
|
+
gslSelectors: i,
|
|
515
|
+
formConfig: o
|
|
506
516
|
};
|
|
507
517
|
}
|
|
508
|
-
return { defs: n, gslSelectors:
|
|
518
|
+
return { defs: n, gslSelectors: i, formConfig: o };
|
|
509
519
|
}
|
|
510
520
|
/**
|
|
511
521
|
* Converts DX `$`-separated state names to core's `:`-separated names.
|
|
@@ -524,80 +534,81 @@ class ee {
|
|
|
524
534
|
});
|
|
525
535
|
const s = { form: e };
|
|
526
536
|
return t.size > 0 && (s.events = (n) => {
|
|
527
|
-
const
|
|
528
|
-
if (
|
|
529
|
-
const
|
|
530
|
-
if (
|
|
531
|
-
const { path: u, ...p } =
|
|
532
|
-
for (const [
|
|
537
|
+
const i = t.get(n.name);
|
|
538
|
+
if (i) {
|
|
539
|
+
const o = (l) => {
|
|
540
|
+
if (l && typeof l == "object" && "path" in l && !("type" in l)) {
|
|
541
|
+
const { path: u, ...p } = l;
|
|
542
|
+
for (const [g, y] of Object.entries(p))
|
|
533
543
|
n.callback({
|
|
534
544
|
type: "OVERRIDE_WIDGET_PROP",
|
|
535
|
-
payload: { path: u, prop:
|
|
545
|
+
payload: { path: u, prop: g, value: y }
|
|
536
546
|
});
|
|
537
547
|
} else
|
|
538
|
-
n.callback(
|
|
539
|
-
},
|
|
548
|
+
n.callback(l);
|
|
549
|
+
}, c = {
|
|
540
550
|
...n,
|
|
541
|
-
callback:
|
|
542
|
-
update:
|
|
551
|
+
callback: o,
|
|
552
|
+
update: o
|
|
543
553
|
};
|
|
544
|
-
|
|
554
|
+
i(c);
|
|
545
555
|
}
|
|
546
|
-
}), a.dependencies && (s.dependencies = a.dependencies), a.widgetLoaders && (s.widgetLoaders = a.widgetLoaders), a.validateOn && (s.validateOn = a.validateOn), a.itemRenderers && (s.itemRenderers = a.itemRenderers), s;
|
|
556
|
+
}), a.dependencies && (s.dependencies = a.dependencies), a.functions && (s.functions = a.functions), a.widgetLoaders && (s.widgetLoaders = a.widgetLoaders), a.validateOn && (s.validateOn = a.validateOn), a.itemRenderers && (s.itemRenderers = a.itemRenderers), s;
|
|
547
557
|
}
|
|
548
558
|
}
|
|
549
|
-
const
|
|
550
|
-
|
|
559
|
+
const se = new ee(
|
|
560
|
+
W,
|
|
551
561
|
$,
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
),
|
|
556
|
-
function
|
|
557
|
-
return typeof
|
|
562
|
+
V,
|
|
563
|
+
j,
|
|
564
|
+
Q
|
|
565
|
+
), ae = new te(X, se);
|
|
566
|
+
function k(r) {
|
|
567
|
+
return typeof r == "function" ? !0 : Array.isArray(r) ? r.length === 0 || r.every(I) : I(r);
|
|
558
568
|
}
|
|
559
|
-
function
|
|
560
|
-
if (typeof
|
|
561
|
-
if (
|
|
562
|
-
const e =
|
|
569
|
+
function I(r) {
|
|
570
|
+
if (typeof r == "function") return !0;
|
|
571
|
+
if (r === null || typeof r != "object") return !1;
|
|
572
|
+
const e = r;
|
|
563
573
|
return e.type === "ITEMS" && typeof e.itemType == "string";
|
|
564
574
|
}
|
|
565
|
-
function
|
|
566
|
-
if (!
|
|
575
|
+
function ne(r) {
|
|
576
|
+
if (!r || typeof r != "object" || Array.isArray(r))
|
|
567
577
|
return;
|
|
568
|
-
const e =
|
|
569
|
-
if (
|
|
578
|
+
const e = r.form;
|
|
579
|
+
if (k(e))
|
|
570
580
|
throw new Error(
|
|
571
581
|
"[GolemUI] The gui.* form definition was wrapped in an extra `{ form: ... }` object, so its fields were never resolved. Pass the gui.* array DIRECTLY as formDef (`config={{ formDef: form }}`) and put any named `states` in `formConfig`: `config={{ formDef: form, formConfig: { states } }}`. Do NOT wrap them as a `{ form: [...] }` object."
|
|
572
582
|
);
|
|
573
583
|
}
|
|
574
|
-
const
|
|
575
|
-
function b(
|
|
576
|
-
return
|
|
584
|
+
const E = Object.freeze({}), ie = Object.freeze({}), R = /* @__PURE__ */ new WeakMap();
|
|
585
|
+
function b(r, e) {
|
|
586
|
+
return r == null ? e : typeof r == "object" ? r : {};
|
|
577
587
|
}
|
|
578
|
-
function
|
|
579
|
-
if (!
|
|
580
|
-
return
|
|
581
|
-
const a = b(
|
|
582
|
-
let
|
|
583
|
-
|
|
584
|
-
let
|
|
585
|
-
|
|
586
|
-
const
|
|
587
|
-
if (
|
|
588
|
-
const
|
|
589
|
-
|
|
588
|
+
function de(r, e, t) {
|
|
589
|
+
if (!k(r))
|
|
590
|
+
return ne(r), { formDef: r };
|
|
591
|
+
const a = b(r, E), s = b(e, E), n = b(t, ie);
|
|
592
|
+
let i = R.get(a);
|
|
593
|
+
i || (i = /* @__PURE__ */ new WeakMap(), R.set(a, i));
|
|
594
|
+
let o = i.get(s);
|
|
595
|
+
o || (o = /* @__PURE__ */ new WeakMap(), i.set(s, o));
|
|
596
|
+
const c = o.get(n);
|
|
597
|
+
if (c) return c;
|
|
598
|
+
const l = ae.processDxFacade(
|
|
599
|
+
r,
|
|
590
600
|
e,
|
|
591
601
|
t
|
|
592
602
|
), u = {
|
|
593
|
-
formDef:
|
|
594
|
-
formEvent:
|
|
595
|
-
dependencies:
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
603
|
+
formDef: l.form,
|
|
604
|
+
formEvent: l.events,
|
|
605
|
+
dependencies: l.dependencies,
|
|
606
|
+
functions: l.functions,
|
|
607
|
+
widgetLoaders: l.widgetLoaders,
|
|
608
|
+
validateOn: l.validateOn,
|
|
609
|
+
itemRenderers: l.itemRenderers
|
|
599
610
|
};
|
|
600
|
-
return
|
|
611
|
+
return o.set(n, u), u;
|
|
601
612
|
}
|
|
602
613
|
class re {
|
|
603
614
|
create(e) {
|
|
@@ -612,129 +623,159 @@ class re {
|
|
|
612
623
|
};
|
|
613
624
|
}
|
|
614
625
|
}
|
|
615
|
-
function
|
|
626
|
+
function ge() {
|
|
616
627
|
return new re();
|
|
617
628
|
}
|
|
618
|
-
const fe = (
|
|
619
|
-
function
|
|
620
|
-
if (
|
|
621
|
-
return
|
|
629
|
+
const fe = (r) => r !== null && typeof r == "object" && Object.prototype.hasOwnProperty.call(r, "label") && Object.prototype.hasOwnProperty.call(r, "value");
|
|
630
|
+
function _e(r, e) {
|
|
631
|
+
if (r != null && typeof r == "object" && "__rid" in r)
|
|
632
|
+
return r.__rid;
|
|
622
633
|
const t = e();
|
|
623
|
-
return Object.defineProperty(
|
|
634
|
+
return Object.defineProperty(r, "__rid", {
|
|
624
635
|
value: t,
|
|
625
636
|
enumerable: !1,
|
|
626
637
|
configurable: !1
|
|
627
638
|
}), t;
|
|
628
639
|
}
|
|
629
640
|
export {
|
|
630
|
-
|
|
641
|
+
Te as _gslAccordionByUid,
|
|
631
642
|
he as _gslAccordions,
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
643
|
+
be as _gslActionByUid,
|
|
644
|
+
De as _gslActions,
|
|
645
|
+
Se as _gslAlertByUid,
|
|
646
|
+
Ie as _gslAlerts,
|
|
647
|
+
Ee as _gslBooleanInputs,
|
|
648
|
+
Re as _gslCalendarByUid,
|
|
649
|
+
Ae as _gslCalendars,
|
|
650
|
+
Ue as _gslCheckboxByUid,
|
|
651
|
+
ke as _gslCheckboxes,
|
|
652
|
+
Ce as _gslCurrencies,
|
|
653
|
+
Oe as _gslCurrencyByUid,
|
|
654
|
+
Me as _gslCustomActionByUid,
|
|
655
|
+
Pe as _gslCustomActions,
|
|
656
|
+
we as _gslCustomDisplayByUid,
|
|
657
|
+
ve as _gslCustomDisplays,
|
|
658
|
+
xe as _gslCustomInputByUid,
|
|
648
659
|
Be as _gslCustomInputs,
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
$e as
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
rt as
|
|
673
|
-
ot as
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
ft as
|
|
681
|
-
|
|
682
|
-
yt as
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
St as
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
At as
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
Bt as
|
|
705
|
-
|
|
660
|
+
Ne as _gslCustomLayoutByUid,
|
|
661
|
+
je as _gslCustomLayouts,
|
|
662
|
+
Le as _gslDateInputByUid,
|
|
663
|
+
Fe as _gslDateInputs,
|
|
664
|
+
We as _gslDatePickerByUid,
|
|
665
|
+
ze as _gslDatePickers,
|
|
666
|
+
Ge as _gslDateTimeCalendarByUid,
|
|
667
|
+
Ke as _gslDateTimeCalendars,
|
|
668
|
+
$e as _gslDateTimeInputByUid,
|
|
669
|
+
Ye as _gslDateTimeInputs,
|
|
670
|
+
Ve as _gslDateTimePickerByUid,
|
|
671
|
+
He as _gslDateTimePickers,
|
|
672
|
+
Xe as _gslDisplayByUid,
|
|
673
|
+
qe as _gslDisplays,
|
|
674
|
+
Je as _gslDropdownByUid,
|
|
675
|
+
Qe as _gslDropdowns,
|
|
676
|
+
Ze as _gslInputByUid,
|
|
677
|
+
et as _gslInputs,
|
|
678
|
+
tt as _gslLayoutByUid,
|
|
679
|
+
st as _gslLayouts,
|
|
680
|
+
at as _gslListByUid,
|
|
681
|
+
nt as _gslLists,
|
|
682
|
+
it as _gslMarkdownByUid,
|
|
683
|
+
rt as _gslMarkdownTextByUid,
|
|
684
|
+
ot as _gslMarkdownTexts,
|
|
685
|
+
lt as _gslMarkdowns,
|
|
686
|
+
ct as _gslNumberInputs,
|
|
687
|
+
ut as _gslPasswordByUid,
|
|
688
|
+
pt as _gslPasswords,
|
|
689
|
+
dt as _gslRadiogroupByUid,
|
|
690
|
+
gt as _gslRadiogroups,
|
|
691
|
+
ft as _gslRangeCalendarByUid,
|
|
692
|
+
_t as _gslRangeCalendars,
|
|
693
|
+
yt as _gslRangeDateInputByUid,
|
|
694
|
+
mt as _gslRangeDateInputs,
|
|
695
|
+
Tt as _gslRangeDatePickerByUid,
|
|
696
|
+
ht as _gslRangeDatePickers,
|
|
697
|
+
bt as _gslRangeDateTimeCalendarByUid,
|
|
698
|
+
Dt as _gslRangeDateTimeCalendars,
|
|
699
|
+
St as _gslRangeDateTimeInputByUid,
|
|
700
|
+
It as _gslRangeDateTimeInputs,
|
|
701
|
+
Et as _gslRangeDateTimePickerByUid,
|
|
702
|
+
Rt as _gslRangeDateTimePickers,
|
|
703
|
+
At as _gslRangeTimeInputByUid,
|
|
704
|
+
Ut as _gslRangeTimeInputs,
|
|
705
|
+
kt as _gslRangeTimePickerByUid,
|
|
706
|
+
Ct as _gslRangeTimePickers,
|
|
707
|
+
Ot as _gslRepeaterByUid,
|
|
708
|
+
Mt as _gslRepeaters,
|
|
709
|
+
Pt as _gslSelectByUid,
|
|
710
|
+
wt as _gslSelects,
|
|
711
|
+
ue as _gslStates,
|
|
712
|
+
vt as _gslTabs,
|
|
713
|
+
xt as _gslTabsByUid,
|
|
714
|
+
pe as _gslTag,
|
|
715
|
+
Bt as _gslTags,
|
|
716
|
+
Nt as _gslTagsByUid,
|
|
717
|
+
jt as _gslTextInputs,
|
|
718
|
+
Lt as _gslTextareaByUid,
|
|
719
|
+
Ft as _gslTextareas,
|
|
720
|
+
Wt as _gslTimeInputByUid,
|
|
721
|
+
zt as _gslTimeInputs,
|
|
722
|
+
Gt as _gslTimePickerByUid,
|
|
723
|
+
Kt as _gslTimePickers,
|
|
724
|
+
$t as _guiAccordion,
|
|
725
|
+
Yt as _guiAlert,
|
|
726
|
+
Vt as _guiBooleanInput,
|
|
727
|
+
Ht as _guiButton,
|
|
728
|
+
Xt as _guiCalendar,
|
|
729
|
+
qt as _guiCheckbox,
|
|
730
|
+
Jt as _guiCurrency,
|
|
731
|
+
Qt as _guiCustomAction,
|
|
732
|
+
Zt as _guiCustomDisplay,
|
|
733
|
+
es as _guiCustomInput,
|
|
734
|
+
ts as _guiCustomLayout,
|
|
735
|
+
ss as _guiDateInput,
|
|
736
|
+
as as _guiDatePicker,
|
|
737
|
+
ns as _guiDateTimeCalendar,
|
|
738
|
+
is as _guiDateTimeInput,
|
|
739
|
+
rs as _guiDateTimePicker,
|
|
706
740
|
B as _guiDisplay,
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
741
|
+
os as _guiDropdown,
|
|
742
|
+
ls as _guiFlex,
|
|
743
|
+
cs as _guiGrid,
|
|
744
|
+
us as _guiHorizontalFlex,
|
|
745
|
+
ps as _guiHorizontalGrid,
|
|
746
|
+
ds as _guiList,
|
|
747
|
+
gs as _guiMarkdown,
|
|
748
|
+
fs as _guiMarkdownText,
|
|
749
|
+
_s as _guiNumberInput,
|
|
750
|
+
ys as _guiPassword,
|
|
751
|
+
ms as _guiRadiogroup,
|
|
752
|
+
Ts as _guiRangeCalendar,
|
|
753
|
+
hs as _guiRangeDateInput,
|
|
754
|
+
bs as _guiRangeDatePicker,
|
|
755
|
+
Ds as _guiRangeDateTimeCalendar,
|
|
756
|
+
Ss as _guiRangeDateTimeInput,
|
|
757
|
+
Is as _guiRangeDateTimePicker,
|
|
758
|
+
Es as _guiRangeTimeInput,
|
|
759
|
+
Rs as _guiRangeTimePicker,
|
|
760
|
+
As as _guiRepeater,
|
|
761
|
+
Us as _guiSelect,
|
|
762
|
+
ks as _guiTabs,
|
|
763
|
+
Cs as _guiTags,
|
|
764
|
+
Os as _guiTextInput,
|
|
765
|
+
Ms as _guiTextarea,
|
|
766
|
+
Ps as _guiTimeInput,
|
|
767
|
+
ws as _guiTimePicker,
|
|
768
|
+
vs as _guiVerticalFlex,
|
|
769
|
+
xs as _guiVerticalGrid,
|
|
770
|
+
Bs as createGslSelector,
|
|
771
|
+
Ns as defineShortcutType,
|
|
772
|
+
js as extractWidgetProps,
|
|
773
|
+
ae as formDefs,
|
|
774
|
+
_e as getItemKey,
|
|
775
|
+
ge as golemForm,
|
|
776
|
+
k as isDxDefinitions,
|
|
736
777
|
fe as isOption,
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
778
|
+
Ls as processAutoLabel,
|
|
779
|
+
Fs as processAutoPlaceholder,
|
|
780
|
+
de as resolveFormInput
|
|
740
781
|
};
|