@golemui/gui-shared 1.1.1-rc.1 → 1.1.1-rc.2

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 CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.1.1-rc.1 (2026-08-02)
2
+
3
+ This was a version bump only for gui-shared to align it with other projects, there were no code changes.
4
+
1
5
  ## 1.1.1-rc.0 (2026-08-01)
2
6
 
3
7
  ### 🩹 Fixes
package/index.js CHANGED
@@ -1,375 +1,31 @@
1
- import { _ as d, a as y, b as o, c, d as _, e as h, f as m, g as B, h as U, i as T, j as k, k as D, l as I, m as P, n as C, o as f, p as R, q as w, r as x, s as b, t as A, u as L, v as M, w as $, x as F, y as G, z as v, A as z, B as j, C as O, D as H, E as N, F as V, G as E, H as W, I as q, J as K, K as Q, L as S, M as X, N as Y, O as Z, P as J, Q as aa, R as sa, S as ta, T as ea, U as ia, V as ra, W as na, X as ua, Y as la, Z as pa, $ as ga, a0 as da, a1 as ya, a2 as oa, a3 as ca, a4 as _a, a5 as ha, a6 as ma, a7 as Ba, a8 as Ua, a9 as Ta, aa as ka, ab as Da, ac as Ia, ad as Pa, ae as Ca, af as fa, ag as Ra, ah as wa, ai as xa, aj as ba, ak as Aa, al as La, am as Ma, an as $a, ao as Fa, ap as Ga, aq as va, ar as za, as as ja, at as Oa, au as Ha, av as Na, aw as Va, ax as Ea, ay as Wa, az as qa, aA as Ka, aB as Qa, aC as Sa, aD as Xa, aE as Ya, aF as Za, aG as Ja, aH as as, aI as ss, aJ as ts, aK as es, aL as is, aM as rs, aN as ns, aO as us, aP as ls, aQ as ps, aR as gs, aS as ds, aT as ys, aU as os, aV as cs, aW as _s, aX as hs, aY as ms, aZ as Bs, a_ as Us, a$ as Ts, b0 as ks, b1 as Ds, b2 as Is, b3 as Ps, b4 as Cs, b5 as fs, b6 as Rs } from "./resolveFormInput-Dp0TB3LB.js";
1
+ import { g as p } from "./resolveFormInput-CsFeoGjz.js";
2
2
  import "@golemui/dx";
3
3
  import "@golemui/core";
4
- class r {
5
- constructor(a) {
6
- this.conditions = a;
7
- }
8
- static root() {
9
- return new r([]);
10
- }
11
- // ─── Scope methods (chain-extending, immutable) ───
12
- tag(a) {
13
- return new r([...this.conditions, { kind: "tagsAnd", tags: [a] }]);
14
- }
15
- state(a) {
16
- return new r([...this.conditions, { kind: "state", name: a }]);
17
- }
18
- tagsAnd(a) {
19
- return new r([...this.conditions, { kind: "tagsAnd", tags: a }]);
20
- }
21
- tagsOr(a) {
22
- return new r([...this.conditions, { kind: "tagsOr", tags: a }]);
23
- }
24
- apply(a) {
25
- if (this.conditions.length === 0) return a;
26
- const s = this.conditions.find(
27
- (i) => i.kind === "state"
28
- ), e = this.conditions.filter(
29
- (i) => i.kind !== "state"
30
- ), n = a.matcher;
31
- return {
32
- ...a,
33
- matcher: (i) => {
34
- if (!n(i)) return !1;
35
- for (const u of e) {
36
- const g = i.tags ?? [];
37
- if (u.kind === "tagsAnd") {
38
- for (const l of u.tags)
39
- if (!g.includes(l)) return !1;
40
- } else {
41
- if (u.tags.length === 0) continue;
42
- if (!u.tags.some((l) => g.includes(l))) return !1;
43
- }
44
- }
45
- return !0;
46
- },
47
- ...s ? { targetState: s.name } : {}
48
- };
49
- }
50
- // ─── Type selectors — inputs ───
51
- inputs(a) {
52
- return this.apply(d(a));
53
- }
54
- inputByUid(a, s) {
55
- return this.apply(y(a, s));
56
- }
57
- textInputs(a) {
58
- return this.apply(o(a));
59
- }
60
- numberInputs(a) {
61
- return this.apply(c(a));
62
- }
63
- booleanInputs(a) {
64
- return this.apply(_(a));
65
- }
66
- selects(a) {
67
- return this.apply(h(a));
68
- }
69
- selectByUid(a, s) {
70
- return this.apply(m(a, s));
71
- }
72
- dropdowns(a) {
73
- return this.apply(B(a));
74
- }
75
- dropdownByUid(a, s) {
76
- return this.apply(U(a, s));
77
- }
78
- radiogroups(a) {
79
- return this.apply(T(a));
80
- }
81
- radiogroupByUid(a, s) {
82
- return this.apply(k(a, s));
83
- }
84
- checkboxes(a) {
85
- return this.apply(D(a));
86
- }
87
- checkboxByUid(a, s) {
88
- return this.apply(I(a, s));
89
- }
90
- textareas(a) {
91
- return this.apply(P(a));
92
- }
93
- textareaByUid(a, s) {
94
- return this.apply(C(a, s));
95
- }
96
- passwords(a) {
97
- return this.apply(f(a));
98
- }
99
- passwordByUid(a, s) {
100
- return this.apply(R(a, s));
101
- }
102
- currencies(a) {
103
- return this.apply(w(a));
104
- }
105
- currencyByUid(a, s) {
106
- return this.apply(x(a, s));
107
- }
108
- markdowns(a) {
109
- return this.apply(b(a));
110
- }
111
- markdownByUid(a, s) {
112
- return this.apply(A(a, s));
113
- }
114
- lists(a) {
115
- return this.apply(L(a));
116
- }
117
- listByUid(a, s) {
118
- return this.apply(M(a, s));
119
- }
120
- calendars(a) {
121
- return this.apply($(a));
122
- }
123
- calendarByUid(a, s) {
124
- return this.apply(F(a, s));
125
- }
126
- dateTimeCalendars(a) {
127
- return this.apply(G(a));
128
- }
129
- dateTimeCalendarByUid(a, s) {
130
- return this.apply(v(a, s));
131
- }
132
- dateInputs(a) {
133
- return this.apply(z(a));
134
- }
135
- dateInputByUid(a, s) {
136
- return this.apply(j(a, s));
137
- }
138
- timeInputs(a) {
139
- return this.apply(O(a));
140
- }
141
- timeInputByUid(a, s) {
142
- return this.apply(H(a, s));
143
- }
144
- timePickers(a) {
145
- return this.apply(N(a));
146
- }
147
- timePickerByUid(a, s) {
148
- return this.apply(V(a, s));
149
- }
150
- dateTimeInputs(a) {
151
- return this.apply(E(a));
152
- }
153
- dateTimeInputByUid(a, s) {
154
- return this.apply(W(a, s));
155
- }
156
- datePickers(a) {
157
- return this.apply(q(a));
158
- }
159
- datePickerByUid(a, s) {
160
- return this.apply(K(a, s));
161
- }
162
- dateTimePickers(a) {
163
- return this.apply(Q(a));
164
- }
165
- dateTimePickerByUid(a, s) {
166
- return this.apply(S(a, s));
167
- }
168
- rangeCalendars(a) {
169
- return this.apply(X(a));
170
- }
171
- rangeCalendarByUid(a, s) {
172
- return this.apply(Y(a, s));
173
- }
174
- rangeDateInputs(a) {
175
- return this.apply(Z(a));
176
- }
177
- rangeDateInputByUid(a, s) {
178
- return this.apply(J(a, s));
179
- }
180
- rangeTimeInputs(a) {
181
- return this.apply(aa(a));
182
- }
183
- rangeTimeInputByUid(a, s) {
184
- return this.apply(sa(a, s));
185
- }
186
- rangeDateTimeInputs(a) {
187
- return this.apply(ta(a));
188
- }
189
- rangeDateTimeInputByUid(a, s) {
190
- return this.apply(ea(a, s));
191
- }
192
- rangeDateTimeCalendars(a) {
193
- return this.apply(ia(a));
194
- }
195
- rangeDateTimeCalendarByUid(a, s) {
196
- return this.apply(ra(a, s));
197
- }
198
- rangeDateTimePickers(a) {
199
- return this.apply(na(a));
200
- }
201
- rangeDateTimePickerByUid(a, s) {
202
- return this.apply(ua(a, s));
203
- }
204
- rangeDatePickers(a) {
205
- return this.apply(la(a));
206
- }
207
- rangeDatePickerByUid(a, s) {
208
- return this.apply(pa(a, s));
209
- }
210
- rangeTimePickers(a) {
211
- return this.apply(ga(a));
212
- }
213
- rangeTimePickerByUid(a, s) {
214
- return this.apply(da(a, s));
215
- }
216
- repeaters(a) {
217
- return this.apply(ya(a));
218
- }
219
- repeaterByUid(a, s) {
220
- return this.apply(oa(a, s));
221
- }
222
- // ─── Type selectors — actions, displays, layouts ───
223
- actions(a) {
224
- return this.apply(ca(a));
225
- }
226
- actionByUid(a, s) {
227
- return this.apply(_a(a, s));
228
- }
229
- layouts(a) {
230
- return this.apply(ha(a));
231
- }
232
- layoutByUid(a, s) {
233
- return this.apply(ma(a, s));
234
- }
235
- displays(a) {
236
- return this.apply(Ba(a));
237
- }
238
- displayByUid(a, s) {
239
- return this.apply(Ua(a, s));
240
- }
241
- alerts(a) {
242
- return this.apply(Ta(a));
243
- }
244
- alertByUid(a, s) {
245
- return this.apply(ka(a, s));
246
- }
247
- markdownTexts(a) {
248
- return this.apply(Da(a));
249
- }
250
- markdownTextByUid(a, s) {
251
- return this.apply(Ia(a, s));
252
- }
253
- tabs(a) {
254
- return this.apply(Pa(a));
255
- }
256
- tabsByUid(a, s) {
257
- return this.apply(Ca(a, s));
258
- }
259
- accordions(a) {
260
- return this.apply(fa(a));
261
- }
262
- accordionByUid(a, s) {
263
- return this.apply(Ra(a, s));
264
- }
265
- // ─── Type selectors — custom kinds ───
266
- customInputs(a) {
267
- return this.apply(wa(a));
268
- }
269
- customInputByUid(a, s) {
270
- return this.apply(xa(a, s));
271
- }
272
- customActions(a) {
273
- return this.apply(ba(a));
274
- }
275
- customActionByUid(a, s) {
276
- return this.apply(Aa(a, s));
277
- }
278
- customDisplays(a) {
279
- return this.apply(La(a));
280
- }
281
- customDisplayByUid(a, s) {
282
- return this.apply(Ma(a, s));
283
- }
284
- customLayouts(a) {
285
- return this.apply($a(a));
286
- }
287
- customLayoutByUid(a, s) {
288
- return this.apply(Fa(a, s));
289
- }
4
+ function s(r) {
5
+ return typeof r == "object" && r !== null && "$ref" in r && typeof r.$ref == "string" && Object.keys(r).length === 1;
290
6
  }
291
- const Ms = {
292
- inputs: {
293
- textInput: Rs,
294
- numberInput: fs,
295
- booleanInput: Cs,
296
- select: Ps,
297
- dropdown: Is,
298
- radiogroup: Ds,
299
- checkbox: ks,
300
- textarea: Ts,
301
- password: Us,
302
- currency: Bs,
303
- markdown: ms,
304
- list: hs,
305
- calendar: _s,
306
- dateTimeCalendar: cs,
307
- dateInput: os,
308
- datePicker: ys,
309
- dateTimePicker: ds,
310
- timeInput: gs,
311
- timePicker: ps,
312
- dateTimeInput: ls,
313
- rangeCalendar: us,
314
- rangeDateInput: ns,
315
- rangeDateTimeInput: rs,
316
- rangeDateTimeCalendar: is,
317
- rangeDateTimePicker: es,
318
- rangeTimeInput: ts,
319
- rangeDatePicker: ss,
320
- rangeTimePicker: as,
321
- repeater: Ja,
322
- tags: Za,
323
- custom: Ya
324
- },
325
- actions: {
326
- button: Xa,
327
- custom: Sa
328
- },
329
- displays: {
330
- display: Qa,
331
- alert: Ka,
332
- markdownText: qa,
333
- custom: Wa
334
- },
335
- layouts: {
336
- flex: Ea,
337
- horizontalFlex: Va,
338
- verticalFlex: Na,
339
- grid: Ha,
340
- horizontalGrid: Oa,
341
- verticalGrid: ja,
342
- tabs: za,
343
- accordion: va,
344
- custom: Ga
345
- },
346
- selectors: r.root()
347
- };
348
- function ws(t) {
349
- return typeof t == "object" && t !== null && "$ref" in t && typeof t.$ref == "string" && Object.keys(t).length === 1;
7
+ async function i(r, t) {
8
+ const n = new URL(r, t).href, e = await fetch(n);
9
+ if (!e.ok) throw new Error(`Failed to load form chunk ${n}: ${e.status}`);
10
+ const { $schema: a, ...c } = await e.json();
11
+ return o(c, n);
350
12
  }
351
- async function xs(t, a) {
352
- const s = new URL(t, a).href, e = await fetch(s);
353
- if (!e.ok) throw new Error(`Failed to load form chunk ${s}: ${e.status}`);
354
- const { $schema: n, ...i } = await e.json();
355
- return p(i, s);
356
- }
357
- async function p(t, a) {
358
- if (ws(t)) return xs(t.$ref, a);
359
- const s = t;
360
- if (Array.isArray(s.children)) {
361
- const e = await Promise.all(s.children.map((n) => p(n, a)));
362
- return { ...s, children: e };
363
- }
364
- return t;
13
+ async function o(r, t) {
14
+ if (s(r)) return i(r.$ref, t);
15
+ const n = r;
16
+ if (Array.isArray(n.children)) {
17
+ const e = await Promise.all(n.children.map((a) => o(a, t)));
18
+ return { ...n, children: e };
19
+ }
20
+ return r;
365
21
  }
366
- async function $s(t, a) {
367
- const s = await Promise.all(
368
- t.form.map((e) => p(e, a))
22
+ async function l(r, t) {
23
+ const n = await Promise.all(
24
+ r.form.map((e) => o(e, t))
369
25
  );
370
- return { ...t, form: s };
26
+ return { ...r, form: n };
371
27
  }
372
28
  export {
373
- Ms as gui,
374
- $s as resolveChunkRefs
29
+ p as gui,
30
+ l as resolveChunkRefs
375
31
  };
package/index.umd.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./resolveFormInput-DDKerzen.cjs");require("@golemui/dx");require("@golemui/core");class n{constructor(t){this.conditions=t}static root(){return new n([])}tag(t){return new n([...this.conditions,{kind:"tagsAnd",tags:[t]}])}state(t){return new n([...this.conditions,{kind:"state",name:t}])}tagsAnd(t){return new n([...this.conditions,{kind:"tagsAnd",tags:t}])}tagsOr(t){return new n([...this.conditions,{kind:"tagsOr",tags:t}])}apply(t){if(this.conditions.length===0)return t;const i=this.conditions.find(a=>a.kind==="state"),s=this.conditions.filter(a=>a.kind!=="state"),u=t.matcher;return{...t,matcher:a=>{if(!u(a))return!1;for(const l of s){const d=a.tags??[];if(l.kind==="tagsAnd"){for(const p of l.tags)if(!d.includes(p))return!1}else{if(l.tags.length===0)continue;if(!l.tags.some(p=>d.includes(p)))return!1}}return!0},...i?{targetState:i.name}:{}}}inputs(t){return this.apply(e._gslInputs(t))}inputByUid(t,i){return this.apply(e._gslInputByUid(t,i))}textInputs(t){return this.apply(e._gslTextInputs(t))}numberInputs(t){return this.apply(e._gslNumberInputs(t))}booleanInputs(t){return this.apply(e._gslBooleanInputs(t))}selects(t){return this.apply(e._gslSelects(t))}selectByUid(t,i){return this.apply(e._gslSelectByUid(t,i))}dropdowns(t){return this.apply(e._gslDropdowns(t))}dropdownByUid(t,i){return this.apply(e._gslDropdownByUid(t,i))}radiogroups(t){return this.apply(e._gslRadiogroups(t))}radiogroupByUid(t,i){return this.apply(e._gslRadiogroupByUid(t,i))}checkboxes(t){return this.apply(e._gslCheckboxes(t))}checkboxByUid(t,i){return this.apply(e._gslCheckboxByUid(t,i))}textareas(t){return this.apply(e._gslTextareas(t))}textareaByUid(t,i){return this.apply(e._gslTextareaByUid(t,i))}passwords(t){return this.apply(e._gslPasswords(t))}passwordByUid(t,i){return this.apply(e._gslPasswordByUid(t,i))}currencies(t){return this.apply(e._gslCurrencies(t))}currencyByUid(t,i){return this.apply(e._gslCurrencyByUid(t,i))}markdowns(t){return this.apply(e._gslMarkdowns(t))}markdownByUid(t,i){return this.apply(e._gslMarkdownByUid(t,i))}lists(t){return this.apply(e._gslLists(t))}listByUid(t,i){return this.apply(e._gslListByUid(t,i))}calendars(t){return this.apply(e._gslCalendars(t))}calendarByUid(t,i){return this.apply(e._gslCalendarByUid(t,i))}dateTimeCalendars(t){return this.apply(e._gslDateTimeCalendars(t))}dateTimeCalendarByUid(t,i){return this.apply(e._gslDateTimeCalendarByUid(t,i))}dateInputs(t){return this.apply(e._gslDateInputs(t))}dateInputByUid(t,i){return this.apply(e._gslDateInputByUid(t,i))}timeInputs(t){return this.apply(e._gslTimeInputs(t))}timeInputByUid(t,i){return this.apply(e._gslTimeInputByUid(t,i))}timePickers(t){return this.apply(e._gslTimePickers(t))}timePickerByUid(t,i){return this.apply(e._gslTimePickerByUid(t,i))}dateTimeInputs(t){return this.apply(e._gslDateTimeInputs(t))}dateTimeInputByUid(t,i){return this.apply(e._gslDateTimeInputByUid(t,i))}datePickers(t){return this.apply(e._gslDatePickers(t))}datePickerByUid(t,i){return this.apply(e._gslDatePickerByUid(t,i))}dateTimePickers(t){return this.apply(e._gslDateTimePickers(t))}dateTimePickerByUid(t,i){return this.apply(e._gslDateTimePickerByUid(t,i))}rangeCalendars(t){return this.apply(e._gslRangeCalendars(t))}rangeCalendarByUid(t,i){return this.apply(e._gslRangeCalendarByUid(t,i))}rangeDateInputs(t){return this.apply(e._gslRangeDateInputs(t))}rangeDateInputByUid(t,i){return this.apply(e._gslRangeDateInputByUid(t,i))}rangeTimeInputs(t){return this.apply(e._gslRangeTimeInputs(t))}rangeTimeInputByUid(t,i){return this.apply(e._gslRangeTimeInputByUid(t,i))}rangeDateTimeInputs(t){return this.apply(e._gslRangeDateTimeInputs(t))}rangeDateTimeInputByUid(t,i){return this.apply(e._gslRangeDateTimeInputByUid(t,i))}rangeDateTimeCalendars(t){return this.apply(e._gslRangeDateTimeCalendars(t))}rangeDateTimeCalendarByUid(t,i){return this.apply(e._gslRangeDateTimeCalendarByUid(t,i))}rangeDateTimePickers(t){return this.apply(e._gslRangeDateTimePickers(t))}rangeDateTimePickerByUid(t,i){return this.apply(e._gslRangeDateTimePickerByUid(t,i))}rangeDatePickers(t){return this.apply(e._gslRangeDatePickers(t))}rangeDatePickerByUid(t,i){return this.apply(e._gslRangeDatePickerByUid(t,i))}rangeTimePickers(t){return this.apply(e._gslRangeTimePickers(t))}rangeTimePickerByUid(t,i){return this.apply(e._gslRangeTimePickerByUid(t,i))}repeaters(t){return this.apply(e._gslRepeaters(t))}repeaterByUid(t,i){return this.apply(e._gslRepeaterByUid(t,i))}actions(t){return this.apply(e._gslActions(t))}actionByUid(t,i){return this.apply(e._gslActionByUid(t,i))}layouts(t){return this.apply(e._gslLayouts(t))}layoutByUid(t,i){return this.apply(e._gslLayoutByUid(t,i))}displays(t){return this.apply(e._gslDisplays(t))}displayByUid(t,i){return this.apply(e._gslDisplayByUid(t,i))}alerts(t){return this.apply(e._gslAlerts(t))}alertByUid(t,i){return this.apply(e._gslAlertByUid(t,i))}markdownTexts(t){return this.apply(e._gslMarkdownTexts(t))}markdownTextByUid(t,i){return this.apply(e._gslMarkdownTextByUid(t,i))}tabs(t){return this.apply(e._gslTabs(t))}tabsByUid(t,i){return this.apply(e._gslTabsByUid(t,i))}accordions(t){return this.apply(e._gslAccordions(t))}accordionByUid(t,i){return this.apply(e._gslAccordionByUid(t,i))}customInputs(t){return this.apply(e._gslCustomInputs(t))}customInputByUid(t,i){return this.apply(e._gslCustomInputByUid(t,i))}customActions(t){return this.apply(e._gslCustomActions(t))}customActionByUid(t,i){return this.apply(e._gslCustomActionByUid(t,i))}customDisplays(t){return this.apply(e._gslCustomDisplays(t))}customDisplayByUid(t,i){return this.apply(e._gslCustomDisplayByUid(t,i))}customLayouts(t){return this.apply(e._gslCustomLayouts(t))}customLayoutByUid(t,i){return this.apply(e._gslCustomLayoutByUid(t,i))}}const o={inputs:{textInput:e._guiTextInput,numberInput:e._guiNumberInput,booleanInput:e._guiBooleanInput,select:e._guiSelect,dropdown:e._guiDropdown,radiogroup:e._guiRadiogroup,checkbox:e._guiCheckbox,textarea:e._guiTextarea,password:e._guiPassword,currency:e._guiCurrency,markdown:e._guiMarkdown,list:e._guiList,calendar:e._guiCalendar,dateTimeCalendar:e._guiDateTimeCalendar,dateInput:e._guiDateInput,datePicker:e._guiDatePicker,dateTimePicker:e._guiDateTimePicker,timeInput:e._guiTimeInput,timePicker:e._guiTimePicker,dateTimeInput:e._guiDateTimeInput,rangeCalendar:e._guiRangeCalendar,rangeDateInput:e._guiRangeDateInput,rangeDateTimeInput:e._guiRangeDateTimeInput,rangeDateTimeCalendar:e._guiRangeDateTimeCalendar,rangeDateTimePicker:e._guiRangeDateTimePicker,rangeTimeInput:e._guiRangeTimeInput,rangeDatePicker:e._guiRangeDatePicker,rangeTimePicker:e._guiRangeTimePicker,repeater:e._guiRepeater,tags:e._guiTags,custom:e._guiCustomInput},actions:{button:e._guiButton,custom:e._guiCustomAction},displays:{display:e._guiDisplay,alert:e._guiAlert,markdownText:e._guiMarkdownText,custom:e._guiCustomDisplay},layouts:{flex:e._guiFlex,horizontalFlex:e._guiHorizontalFlex,verticalFlex:e._guiVerticalFlex,grid:e._guiGrid,horizontalGrid:e._guiHorizontalGrid,verticalGrid:e._guiVerticalGrid,tabs:e._guiTabs,accordion:e._guiAccordion,custom:e._guiCustomLayout},selectors:n.root()};function y(r){return typeof r=="object"&&r!==null&&"$ref"in r&&typeof r.$ref=="string"&&Object.keys(r).length===1}async function c(r,t){const i=new URL(r,t).href,s=await fetch(i);if(!s.ok)throw new Error(`Failed to load form chunk ${i}: ${s.status}`);const{$schema:u,...a}=await s.json();return g(a,i)}async function g(r,t){if(y(r))return c(r.$ref,t);const i=r;if(Array.isArray(i.children)){const s=await Promise.all(i.children.map(u=>g(u,t)));return{...i,children:s}}return r}async function _(r,t){const i=await Promise.all(r.form.map(s=>g(s,t)));return{...r,form:i}}exports.gui=o;exports.resolveChunkRefs=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./resolveFormInput-UcmQ-kme.cjs");require("@golemui/dx");require("@golemui/core");function c(e){return typeof e=="object"&&e!==null&&"$ref"in e&&typeof e.$ref=="string"&&Object.keys(e).length===1}async function a(e,t){const r=new URL(e,t).href,n=await fetch(r);if(!n.ok)throw new Error(`Failed to load form chunk ${r}: ${n.status}`);const{$schema:s,...u}=await n.json();return o(u,r)}async function o(e,t){if(c(e))return a(e.$ref,t);const r=e;if(Array.isArray(r.children)){const n=await Promise.all(r.children.map(s=>o(s,t)));return{...r,children:n}}return e}async function f(e,t){const r=await Promise.all(e.form.map(n=>o(n,t)));return{...e,form:r}}exports.gui=i.gui;exports.resolveChunkRefs=f;
package/internals.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ag as c, af as p, a4 as y, a3 as m, aa as T, a9 as B, d as D, x as U, w as I, l as b, k as C, q as R, r as k, ak as P, aj as f, am as x, al as w, ai as A, ah as h, ao as L, an as S, B as F, A as M, J as O, I as j, z as G, y as v, H as z, G as H, L as N, K as V, a8 as K, a7 as W, h as q, g as E, a as J, _ as Q, a6 as X, a5 as Y, v as Z, u as $, t as aa, ac as sa, ab as ea, s as ia, c as ga, p as ta, o as la, j as _a, i as ua, N as ra, M as na, P as oa, O as da, Z as ca, Y as pa, V as ya, U as ma, T as Ta, S as Ba, X as Da, W as Ua, R as Ia, Q as ba, a0 as Ca, $ as Ra, a2 as ka, a1 as Pa, f as fa, e as xa, ad as wa, ae as Aa, b7 as ha, b8 as La, b as Sa, n as Fa, m as Ma, D as Oa, C as ja, F as Ga, E as va, aq as za, aA as Ha, b4 as Na, aD as Va, aW as Ka, b0 as Wa, aZ as qa, aC as Ea, ay as Ja, aE as Qa, ap as Xa, aU as Ya, aT as Za, aV as $a, aP as as, aS as ss, aB as es, b2 as is, ax as gs, au as ts, aw as ls, at as _s, aX as us, aY as rs, az as ns, b5 as os, a_ as ds, b1 as cs, aO as ps, aN as ys, aI as ms, aL as Ts, aM as Bs, aK as Ds, aJ as Us, aH as Is, aG as bs, b3 as Cs, ar as Rs, aF as ks, b6 as Ps, a$ as fs, aR as xs, aQ as ws, av as As, as as hs, b9 as Ls, ba as Ss, bb as Fs } from "./resolveFormInput-Dp0TB3LB.js";
1
+ import { _ as c, a as p, b as y, c as m, d as T, e as B, f as D, h as U, i as b, j as I, k as C, l as R, m as k, n as P, o as f, p as x, q as w, r as A, s as h, t as L, u as S, v as F, w as M, x as O, y as j, z as G, A as v, B as z, C as H, D as N, E as V, F as K, G as W, H as q, I as E, J, K as Q, L as X, M as Y, N as Z, O as $, P as aa, Q as sa, R as ea, S as ia, T as ga, U as ta, V as la, W as _a, X as ua, Y as ra, Z as na, $ as oa, a0 as da, a1 as ca, a2 as pa, a3 as ya, a4 as ma, a5 as Ta, a6 as Ba, a7 as Da, a8 as Ua, a9 as ba, aa as Ia, ab as Ca, ac as Ra, ad as ka, ae as Pa, af as fa, ag as xa, ah as wa, ai as Aa, aj as ha, ak as La, al as Sa, am as Fa, an as Ma, ao as Oa, ap as ja, aq as Ga, ar as va, as as za, at as Ha, au as Na, av as Va, aw as Ka, ax as Wa, ay as qa, az as Ea, aA as Ja, aB as Qa, aC as Xa, aD as Ya, aE as Za, aF as $a, aG as as, aH as ss, aI as es, aJ as is, aK as gs, aL as ts, aM as ls, aN as _s, aO as us, aP as rs, aQ as ns, aR as os, aS as ds, aT as cs, aU as ps, aV as ys, aW as ms, aX as Ts, aY as Bs, aZ as Ds, a_ as Us, a$ as bs, b0 as Is, b1 as Cs, b2 as Rs, b3 as ks, b4 as Ps, b5 as fs, b6 as xs, b7 as ws, b8 as As, b9 as hs, ba as Ls, bb as Ss, bc as Fs } from "./resolveFormInput-CsFeoGjz.js";
2
2
  import { createGslSelector as Os, extractWidgetProps as js, isDxDefinitions as Gs, processAutoLabel as vs, processAutoPlaceholder as zs } from "@golemui/dx";
3
3
  import "@golemui/gui-validators";
4
4
  import "@golemui/core";
@@ -51,8 +51,8 @@ export {
51
51
  B as _gslAlerts,
52
52
  D as _gslBooleanInputs,
53
53
  U as _gslCalendarByUid,
54
- I as _gslCalendars,
55
- b as _gslCheckboxByUid,
54
+ b as _gslCalendars,
55
+ I as _gslCheckboxByUid,
56
56
  C as _gslCheckboxes,
57
57
  R as _gslCurrencies,
58
58
  k as _gslCurrencyByUid,
@@ -105,8 +105,8 @@ export {
105
105
  Ba as _gslRangeDateTimeInputs,
106
106
  Da as _gslRangeDateTimePickerByUid,
107
107
  Ua as _gslRangeDateTimePickers,
108
- Ia as _gslRangeTimeInputByUid,
109
- ba as _gslRangeTimeInputs,
108
+ ba as _gslRangeTimeInputByUid,
109
+ Ia as _gslRangeTimeInputs,
110
110
  Ca as _gslRangeTimePickerByUid,
111
111
  Ra as _gslRangeTimePickers,
112
112
  ka as _gslRepeaterByUid,
@@ -161,8 +161,8 @@ export {
161
161
  Bs as _guiRangeDateTimeInput,
162
162
  Ds as _guiRangeDateTimePicker,
163
163
  Us as _guiRangeTimeInput,
164
- Is as _guiRangeTimePicker,
165
- bs as _guiRepeater,
164
+ bs as _guiRangeTimePicker,
165
+ Is as _guiRepeater,
166
166
  Cs as _guiSelect,
167
167
  Rs as _guiTabs,
168
168
  ks as _guiTags,
package/internals.umd.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./resolveFormInput-DDKerzen.cjs"),t=require("@golemui/dx");require("@golemui/gui-validators");require("@golemui/core");function a(i,...s){return s.map(g=>({...g,targetState:i}))}function l(i,...s){return{kind:"aggregated",matcher:g=>g.tags?.includes(i)??!1,children:s}}class _{create(s){return{states:s.states,form:{uid:"gui-root-uid",type:"flex",kind:"layout",children:s.form}}}}function u(){return new _}const r=i=>i!==null&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"label")&&Object.prototype.hasOwnProperty.call(i,"value");function n(i,s){if(i!=null&&typeof i=="object"&&"__rid"in i)return i.__rid;const g=s();return Object.defineProperty(i,"__rid",{value:g,enumerable:!1,configurable:!1}),g}exports._gslAccordionByUid=e._gslAccordionByUid;exports._gslAccordions=e._gslAccordions;exports._gslActionByUid=e._gslActionByUid;exports._gslActions=e._gslActions;exports._gslAlertByUid=e._gslAlertByUid;exports._gslAlerts=e._gslAlerts;exports._gslBooleanInputs=e._gslBooleanInputs;exports._gslCalendarByUid=e._gslCalendarByUid;exports._gslCalendars=e._gslCalendars;exports._gslCheckboxByUid=e._gslCheckboxByUid;exports._gslCheckboxes=e._gslCheckboxes;exports._gslCurrencies=e._gslCurrencies;exports._gslCurrencyByUid=e._gslCurrencyByUid;exports._gslCustomActionByUid=e._gslCustomActionByUid;exports._gslCustomActions=e._gslCustomActions;exports._gslCustomDisplayByUid=e._gslCustomDisplayByUid;exports._gslCustomDisplays=e._gslCustomDisplays;exports._gslCustomInputByUid=e._gslCustomInputByUid;exports._gslCustomInputs=e._gslCustomInputs;exports._gslCustomLayoutByUid=e._gslCustomLayoutByUid;exports._gslCustomLayouts=e._gslCustomLayouts;exports._gslDateInputByUid=e._gslDateInputByUid;exports._gslDateInputs=e._gslDateInputs;exports._gslDatePickerByUid=e._gslDatePickerByUid;exports._gslDatePickers=e._gslDatePickers;exports._gslDateTimeCalendarByUid=e._gslDateTimeCalendarByUid;exports._gslDateTimeCalendars=e._gslDateTimeCalendars;exports._gslDateTimeInputByUid=e._gslDateTimeInputByUid;exports._gslDateTimeInputs=e._gslDateTimeInputs;exports._gslDateTimePickerByUid=e._gslDateTimePickerByUid;exports._gslDateTimePickers=e._gslDateTimePickers;exports._gslDisplayByUid=e._gslDisplayByUid;exports._gslDisplays=e._gslDisplays;exports._gslDropdownByUid=e._gslDropdownByUid;exports._gslDropdowns=e._gslDropdowns;exports._gslInputByUid=e._gslInputByUid;exports._gslInputs=e._gslInputs;exports._gslLayoutByUid=e._gslLayoutByUid;exports._gslLayouts=e._gslLayouts;exports._gslListByUid=e._gslListByUid;exports._gslLists=e._gslLists;exports._gslMarkdownByUid=e._gslMarkdownByUid;exports._gslMarkdownTextByUid=e._gslMarkdownTextByUid;exports._gslMarkdownTexts=e._gslMarkdownTexts;exports._gslMarkdowns=e._gslMarkdowns;exports._gslNumberInputs=e._gslNumberInputs;exports._gslPasswordByUid=e._gslPasswordByUid;exports._gslPasswords=e._gslPasswords;exports._gslRadiogroupByUid=e._gslRadiogroupByUid;exports._gslRadiogroups=e._gslRadiogroups;exports._gslRangeCalendarByUid=e._gslRangeCalendarByUid;exports._gslRangeCalendars=e._gslRangeCalendars;exports._gslRangeDateInputByUid=e._gslRangeDateInputByUid;exports._gslRangeDateInputs=e._gslRangeDateInputs;exports._gslRangeDatePickerByUid=e._gslRangeDatePickerByUid;exports._gslRangeDatePickers=e._gslRangeDatePickers;exports._gslRangeDateTimeCalendarByUid=e._gslRangeDateTimeCalendarByUid;exports._gslRangeDateTimeCalendars=e._gslRangeDateTimeCalendars;exports._gslRangeDateTimeInputByUid=e._gslRangeDateTimeInputByUid;exports._gslRangeDateTimeInputs=e._gslRangeDateTimeInputs;exports._gslRangeDateTimePickerByUid=e._gslRangeDateTimePickerByUid;exports._gslRangeDateTimePickers=e._gslRangeDateTimePickers;exports._gslRangeTimeInputByUid=e._gslRangeTimeInputByUid;exports._gslRangeTimeInputs=e._gslRangeTimeInputs;exports._gslRangeTimePickerByUid=e._gslRangeTimePickerByUid;exports._gslRangeTimePickers=e._gslRangeTimePickers;exports._gslRepeaterByUid=e._gslRepeaterByUid;exports._gslRepeaters=e._gslRepeaters;exports._gslSelectByUid=e._gslSelectByUid;exports._gslSelects=e._gslSelects;exports._gslTabs=e._gslTabs;exports._gslTabsByUid=e._gslTabsByUid;exports._gslTags=e._gslTags;exports._gslTagsByUid=e._gslTagsByUid;exports._gslTextInputs=e._gslTextInputs;exports._gslTextareaByUid=e._gslTextareaByUid;exports._gslTextareas=e._gslTextareas;exports._gslTimeInputByUid=e._gslTimeInputByUid;exports._gslTimeInputs=e._gslTimeInputs;exports._gslTimePickerByUid=e._gslTimePickerByUid;exports._gslTimePickers=e._gslTimePickers;exports._guiAccordion=e._guiAccordion;exports._guiAlert=e._guiAlert;exports._guiBooleanInput=e._guiBooleanInput;exports._guiButton=e._guiButton;exports._guiCalendar=e._guiCalendar;exports._guiCheckbox=e._guiCheckbox;exports._guiCurrency=e._guiCurrency;exports._guiCustomAction=e._guiCustomAction;exports._guiCustomDisplay=e._guiCustomDisplay;exports._guiCustomInput=e._guiCustomInput;exports._guiCustomLayout=e._guiCustomLayout;exports._guiDateInput=e._guiDateInput;exports._guiDatePicker=e._guiDatePicker;exports._guiDateTimeCalendar=e._guiDateTimeCalendar;exports._guiDateTimeInput=e._guiDateTimeInput;exports._guiDateTimePicker=e._guiDateTimePicker;exports._guiDisplay=e._guiDisplay;exports._guiDropdown=e._guiDropdown;exports._guiFlex=e._guiFlex;exports._guiGrid=e._guiGrid;exports._guiHorizontalFlex=e._guiHorizontalFlex;exports._guiHorizontalGrid=e._guiHorizontalGrid;exports._guiList=e._guiList;exports._guiMarkdown=e._guiMarkdown;exports._guiMarkdownText=e._guiMarkdownText;exports._guiNumberInput=e._guiNumberInput;exports._guiPassword=e._guiPassword;exports._guiRadiogroup=e._guiRadiogroup;exports._guiRangeCalendar=e._guiRangeCalendar;exports._guiRangeDateInput=e._guiRangeDateInput;exports._guiRangeDatePicker=e._guiRangeDatePicker;exports._guiRangeDateTimeCalendar=e._guiRangeDateTimeCalendar;exports._guiRangeDateTimeInput=e._guiRangeDateTimeInput;exports._guiRangeDateTimePicker=e._guiRangeDateTimePicker;exports._guiRangeTimeInput=e._guiRangeTimeInput;exports._guiRangeTimePicker=e._guiRangeTimePicker;exports._guiRepeater=e._guiRepeater;exports._guiSelect=e._guiSelect;exports._guiTabs=e._guiTabs;exports._guiTags=e._guiTags;exports._guiTextInput=e._guiTextInput;exports._guiTextarea=e._guiTextarea;exports._guiTimeInput=e._guiTimeInput;exports._guiTimePicker=e._guiTimePicker;exports._guiVerticalFlex=e._guiVerticalFlex;exports._guiVerticalGrid=e._guiVerticalGrid;exports.defineShortcutType=e.defineShortcutType;exports.formDefs=e.formDefs;exports.resolveFormInput=e.resolveFormInput;Object.defineProperty(exports,"createGslSelector",{enumerable:!0,get:()=>t.createGslSelector});Object.defineProperty(exports,"extractWidgetProps",{enumerable:!0,get:()=>t.extractWidgetProps});Object.defineProperty(exports,"isDxDefinitions",{enumerable:!0,get:()=>t.isDxDefinitions});Object.defineProperty(exports,"processAutoLabel",{enumerable:!0,get:()=>t.processAutoLabel});Object.defineProperty(exports,"processAutoPlaceholder",{enumerable:!0,get:()=>t.processAutoPlaceholder});exports._gslStates=a;exports._gslTag=l;exports.getItemKey=n;exports.golemForm=u;exports.isOption=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./resolveFormInput-UcmQ-kme.cjs"),t=require("@golemui/dx");require("@golemui/gui-validators");require("@golemui/core");function a(i,...s){return s.map(g=>({...g,targetState:i}))}function l(i,...s){return{kind:"aggregated",matcher:g=>g.tags?.includes(i)??!1,children:s}}class _{create(s){return{states:s.states,form:{uid:"gui-root-uid",type:"flex",kind:"layout",children:s.form}}}}function u(){return new _}const r=i=>i!==null&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"label")&&Object.prototype.hasOwnProperty.call(i,"value");function n(i,s){if(i!=null&&typeof i=="object"&&"__rid"in i)return i.__rid;const g=s();return Object.defineProperty(i,"__rid",{value:g,enumerable:!1,configurable:!1}),g}exports._gslAccordionByUid=e._gslAccordionByUid;exports._gslAccordions=e._gslAccordions;exports._gslActionByUid=e._gslActionByUid;exports._gslActions=e._gslActions;exports._gslAlertByUid=e._gslAlertByUid;exports._gslAlerts=e._gslAlerts;exports._gslBooleanInputs=e._gslBooleanInputs;exports._gslCalendarByUid=e._gslCalendarByUid;exports._gslCalendars=e._gslCalendars;exports._gslCheckboxByUid=e._gslCheckboxByUid;exports._gslCheckboxes=e._gslCheckboxes;exports._gslCurrencies=e._gslCurrencies;exports._gslCurrencyByUid=e._gslCurrencyByUid;exports._gslCustomActionByUid=e._gslCustomActionByUid;exports._gslCustomActions=e._gslCustomActions;exports._gslCustomDisplayByUid=e._gslCustomDisplayByUid;exports._gslCustomDisplays=e._gslCustomDisplays;exports._gslCustomInputByUid=e._gslCustomInputByUid;exports._gslCustomInputs=e._gslCustomInputs;exports._gslCustomLayoutByUid=e._gslCustomLayoutByUid;exports._gslCustomLayouts=e._gslCustomLayouts;exports._gslDateInputByUid=e._gslDateInputByUid;exports._gslDateInputs=e._gslDateInputs;exports._gslDatePickerByUid=e._gslDatePickerByUid;exports._gslDatePickers=e._gslDatePickers;exports._gslDateTimeCalendarByUid=e._gslDateTimeCalendarByUid;exports._gslDateTimeCalendars=e._gslDateTimeCalendars;exports._gslDateTimeInputByUid=e._gslDateTimeInputByUid;exports._gslDateTimeInputs=e._gslDateTimeInputs;exports._gslDateTimePickerByUid=e._gslDateTimePickerByUid;exports._gslDateTimePickers=e._gslDateTimePickers;exports._gslDisplayByUid=e._gslDisplayByUid;exports._gslDisplays=e._gslDisplays;exports._gslDropdownByUid=e._gslDropdownByUid;exports._gslDropdowns=e._gslDropdowns;exports._gslInputByUid=e._gslInputByUid;exports._gslInputs=e._gslInputs;exports._gslLayoutByUid=e._gslLayoutByUid;exports._gslLayouts=e._gslLayouts;exports._gslListByUid=e._gslListByUid;exports._gslLists=e._gslLists;exports._gslMarkdownByUid=e._gslMarkdownByUid;exports._gslMarkdownTextByUid=e._gslMarkdownTextByUid;exports._gslMarkdownTexts=e._gslMarkdownTexts;exports._gslMarkdowns=e._gslMarkdowns;exports._gslNumberInputs=e._gslNumberInputs;exports._gslPasswordByUid=e._gslPasswordByUid;exports._gslPasswords=e._gslPasswords;exports._gslRadiogroupByUid=e._gslRadiogroupByUid;exports._gslRadiogroups=e._gslRadiogroups;exports._gslRangeCalendarByUid=e._gslRangeCalendarByUid;exports._gslRangeCalendars=e._gslRangeCalendars;exports._gslRangeDateInputByUid=e._gslRangeDateInputByUid;exports._gslRangeDateInputs=e._gslRangeDateInputs;exports._gslRangeDatePickerByUid=e._gslRangeDatePickerByUid;exports._gslRangeDatePickers=e._gslRangeDatePickers;exports._gslRangeDateTimeCalendarByUid=e._gslRangeDateTimeCalendarByUid;exports._gslRangeDateTimeCalendars=e._gslRangeDateTimeCalendars;exports._gslRangeDateTimeInputByUid=e._gslRangeDateTimeInputByUid;exports._gslRangeDateTimeInputs=e._gslRangeDateTimeInputs;exports._gslRangeDateTimePickerByUid=e._gslRangeDateTimePickerByUid;exports._gslRangeDateTimePickers=e._gslRangeDateTimePickers;exports._gslRangeTimeInputByUid=e._gslRangeTimeInputByUid;exports._gslRangeTimeInputs=e._gslRangeTimeInputs;exports._gslRangeTimePickerByUid=e._gslRangeTimePickerByUid;exports._gslRangeTimePickers=e._gslRangeTimePickers;exports._gslRepeaterByUid=e._gslRepeaterByUid;exports._gslRepeaters=e._gslRepeaters;exports._gslSelectByUid=e._gslSelectByUid;exports._gslSelects=e._gslSelects;exports._gslTabs=e._gslTabs;exports._gslTabsByUid=e._gslTabsByUid;exports._gslTags=e._gslTags;exports._gslTagsByUid=e._gslTagsByUid;exports._gslTextInputs=e._gslTextInputs;exports._gslTextareaByUid=e._gslTextareaByUid;exports._gslTextareas=e._gslTextareas;exports._gslTimeInputByUid=e._gslTimeInputByUid;exports._gslTimeInputs=e._gslTimeInputs;exports._gslTimePickerByUid=e._gslTimePickerByUid;exports._gslTimePickers=e._gslTimePickers;exports._guiAccordion=e._guiAccordion;exports._guiAlert=e._guiAlert;exports._guiBooleanInput=e._guiBooleanInput;exports._guiButton=e._guiButton;exports._guiCalendar=e._guiCalendar;exports._guiCheckbox=e._guiCheckbox;exports._guiCurrency=e._guiCurrency;exports._guiCustomAction=e._guiCustomAction;exports._guiCustomDisplay=e._guiCustomDisplay;exports._guiCustomInput=e._guiCustomInput;exports._guiCustomLayout=e._guiCustomLayout;exports._guiDateInput=e._guiDateInput;exports._guiDatePicker=e._guiDatePicker;exports._guiDateTimeCalendar=e._guiDateTimeCalendar;exports._guiDateTimeInput=e._guiDateTimeInput;exports._guiDateTimePicker=e._guiDateTimePicker;exports._guiDisplay=e._guiDisplay;exports._guiDropdown=e._guiDropdown;exports._guiFlex=e._guiFlex;exports._guiGrid=e._guiGrid;exports._guiHorizontalFlex=e._guiHorizontalFlex;exports._guiHorizontalGrid=e._guiHorizontalGrid;exports._guiList=e._guiList;exports._guiMarkdown=e._guiMarkdown;exports._guiMarkdownText=e._guiMarkdownText;exports._guiNumberInput=e._guiNumberInput;exports._guiPassword=e._guiPassword;exports._guiRadiogroup=e._guiRadiogroup;exports._guiRangeCalendar=e._guiRangeCalendar;exports._guiRangeDateInput=e._guiRangeDateInput;exports._guiRangeDatePicker=e._guiRangeDatePicker;exports._guiRangeDateTimeCalendar=e._guiRangeDateTimeCalendar;exports._guiRangeDateTimeInput=e._guiRangeDateTimeInput;exports._guiRangeDateTimePicker=e._guiRangeDateTimePicker;exports._guiRangeTimeInput=e._guiRangeTimeInput;exports._guiRangeTimePicker=e._guiRangeTimePicker;exports._guiRepeater=e._guiRepeater;exports._guiSelect=e._guiSelect;exports._guiTabs=e._guiTabs;exports._guiTags=e._guiTags;exports._guiTextInput=e._guiTextInput;exports._guiTextarea=e._guiTextarea;exports._guiTimeInput=e._guiTimeInput;exports._guiTimePicker=e._guiTimePicker;exports._guiVerticalFlex=e._guiVerticalFlex;exports._guiVerticalGrid=e._guiVerticalGrid;exports.defineShortcutType=e.defineShortcutType;exports.formDefs=e.formDefs;exports.resolveFormInput=e.resolveFormInput;Object.defineProperty(exports,"createGslSelector",{enumerable:!0,get:()=>t.createGslSelector});Object.defineProperty(exports,"extractWidgetProps",{enumerable:!0,get:()=>t.extractWidgetProps});Object.defineProperty(exports,"isDxDefinitions",{enumerable:!0,get:()=>t.isDxDefinitions});Object.defineProperty(exports,"processAutoLabel",{enumerable:!0,get:()=>t.processAutoLabel});Object.defineProperty(exports,"processAutoPlaceholder",{enumerable:!0,get:()=>t.processAutoPlaceholder});exports._gslStates=a;exports._gslTag=l;exports.getItemKey=n;exports.golemForm=u;exports.isOption=r;
@@ -1,4 +1,5 @@
1
- export type { GslItemType, WidgetItemDecorator, DxDisplayRenderFn, DxDefinitionItem, DxDefinitions, FormEvents, DxResult, } from '@golemui/dx';
1
+ export type { GslItemType, WidgetItemDecorator, DxDisplayRenderFn, DxDefinitionItem, DxDefinitions, FormEvents, } from '@golemui/dx';
2
+ export type { DxResult } from './guiDependencyTypes';
2
3
  export type { DxEventHandler, DxInternalFields, DxCommonFields, DxInputBase, DxActionBase, DxLayoutBase, DxDisplayBase, } from '@golemui/dx';
3
4
  export type { DataInputDecorator, NumberDataInputValidator, NumberDataInputDecorator, TextDataInputValidator, TextDataInputDecorator, BooleanDataInputDecorator, InputDecorator, ValidShortcutType, DxRuntimeParams, InputTags, } from './shortcuts/inputs/inputs.domain';
4
5
  export type { ActionDecorator, ActionDefCallback, ActionDefOrCallback, } from './shortcuts/actions/actions.domain';
@@ -1,5 +1,7 @@
1
1
  /**
2
2
  * The gui widget set's DX form-definition service: transforms `gui.*` form
3
- * definitions into fully-fledged core forms.
3
+ * definitions into fully-fledged core forms. Built by the gui
4
+ * `createImplementation` call in `gui.ts`; re-exported here so the
5
+ * pre-refactor import path keeps working.
4
6
  */
5
- export declare const formDefs: import('@golemui/dx').DxService;
7
+ export declare const formDefs: import('@golemui/dx').DxService<import('../shared').Dependencies>;