@golemui/gui-shared 1.1.1-rc.0 → 1.1.1-rc.1
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 +13 -0
- package/index.js +6 -5
- package/index.umd.cjs +1 -1
- package/internals.js +162 -757
- package/internals.umd.cjs +1 -1
- package/lib/dx/__tests__/helpers.d.ts +1 -1
- package/lib/dx/formDef.domain.d.ts +7 -33
- package/lib/dx/formDefs.d.ts +5 -0
- package/lib/dx/gui.d.ts +7 -7
- package/lib/dx/index.d.ts +11 -11
- package/lib/dx/registry.d.ts +26 -0
- package/lib/dx/resolveFormInput.d.ts +5 -20
- package/lib/dx/shortcuts/accordion/accordion.domain.d.ts +1 -3
- package/lib/dx/shortcuts/accordion/guiAccordion.impl.d.ts +1 -1
- package/lib/dx/shortcuts/accordion/register.d.ts +4 -2
- package/lib/dx/shortcuts/actions/actions.domain.d.ts +1 -2
- package/lib/dx/shortcuts/actions/guiActions.impl.d.ts +1 -1
- package/lib/dx/shortcuts/actions/register.d.ts +3 -1
- package/lib/dx/shortcuts/alert/alert.domain.d.ts +1 -2
- package/lib/dx/shortcuts/alert/guiAlert.impl.d.ts +1 -1
- package/lib/dx/shortcuts/alert/register.d.ts +4 -2
- package/lib/dx/shortcuts/calendar/calendar.domain.d.ts +1 -3
- package/lib/dx/shortcuts/calendar/guiCalendar.impl.d.ts +1 -1
- package/lib/dx/shortcuts/calendar/register.d.ts +4 -2
- package/lib/dx/shortcuts/checkbox/checkbox.domain.d.ts +1 -3
- package/lib/dx/shortcuts/checkbox/guiCheckbox.impl.d.ts +1 -1
- package/lib/dx/shortcuts/checkbox/register.d.ts +4 -2
- package/lib/dx/shortcuts/currency/currency.domain.d.ts +1 -3
- package/lib/dx/shortcuts/currency/guiCurrency.impl.d.ts +1 -1
- package/lib/dx/shortcuts/currency/register.d.ts +4 -2
- package/lib/dx/shortcuts/custom-action/customAction.domain.d.ts +1 -2
- package/lib/dx/shortcuts/custom-action/guiCustomAction.impl.d.ts +1 -1
- package/lib/dx/shortcuts/custom-action/register.d.ts +4 -2
- package/lib/dx/shortcuts/custom-display/customDisplay.domain.d.ts +1 -2
- package/lib/dx/shortcuts/custom-display/guiCustomDisplay.impl.d.ts +1 -1
- package/lib/dx/shortcuts/custom-display/register.d.ts +4 -2
- package/lib/dx/shortcuts/custom-input/customInput.domain.d.ts +1 -2
- package/lib/dx/shortcuts/custom-input/guiCustomInput.impl.d.ts +1 -1
- package/lib/dx/shortcuts/custom-input/register.d.ts +4 -2
- package/lib/dx/shortcuts/custom-layout/customLayout.domain.d.ts +1 -3
- package/lib/dx/shortcuts/custom-layout/guiCustomLayout.impl.d.ts +1 -2
- package/lib/dx/shortcuts/custom-layout/register.d.ts +4 -2
- package/lib/dx/shortcuts/date-input/dateInput.domain.d.ts +1 -3
- package/lib/dx/shortcuts/date-input/guiDateInput.impl.d.ts +1 -1
- package/lib/dx/shortcuts/date-input/register.d.ts +4 -2
- package/lib/dx/shortcuts/date-picker/datePicker.domain.d.ts +1 -3
- package/lib/dx/shortcuts/date-picker/guiDatePicker.impl.d.ts +1 -1
- package/lib/dx/shortcuts/date-picker/register.d.ts +4 -2
- package/lib/dx/shortcuts/date-time-calendar/dateTimeCalendar.domain.d.ts +1 -3
- package/lib/dx/shortcuts/date-time-calendar/guiDateTimeCalendar.impl.d.ts +1 -1
- package/lib/dx/shortcuts/date-time-calendar/register.d.ts +4 -2
- package/lib/dx/shortcuts/date-time-input/dateTimeInput.domain.d.ts +1 -3
- package/lib/dx/shortcuts/date-time-input/guiDateTimeInput.impl.d.ts +1 -1
- package/lib/dx/shortcuts/date-time-input/register.d.ts +4 -2
- package/lib/dx/shortcuts/date-time-picker/dateTimePicker.domain.d.ts +1 -3
- package/lib/dx/shortcuts/date-time-picker/guiDateTimePicker.impl.d.ts +1 -1
- package/lib/dx/shortcuts/date-time-picker/register.d.ts +4 -2
- package/lib/dx/shortcuts/display/display.domain.d.ts +1 -2
- package/lib/dx/shortcuts/display/guiDisplay.impl.d.ts +1 -1
- package/lib/dx/shortcuts/display/register.d.ts +4 -2
- package/lib/dx/shortcuts/dropdown/dropdown.domain.d.ts +1 -2
- package/lib/dx/shortcuts/dropdown/guiDropdown.impl.d.ts +1 -1
- package/lib/dx/shortcuts/dropdown/register.d.ts +4 -2
- package/lib/dx/shortcuts/inputs/gslInputSubtypes.d.ts +3 -3
- package/lib/dx/shortcuts/inputs/guiBooleanInput.impl.d.ts +1 -1
- package/lib/dx/shortcuts/inputs/guiNumberInput.impl.d.ts +1 -1
- package/lib/dx/shortcuts/inputs/guiTextInput.impl.d.ts +1 -1
- package/lib/dx/shortcuts/inputs/inputSensibleDefaults.service.d.ts +1 -1
- package/lib/dx/shortcuts/inputs/inputs.domain.d.ts +1 -3
- package/lib/dx/shortcuts/inputs/register.d.ts +4 -2
- package/lib/dx/shortcuts/layouts/guiFlex.impl.d.ts +1 -1
- package/lib/dx/shortcuts/layouts/layouts.domain.d.ts +1 -3
- package/lib/dx/shortcuts/layouts/register.d.ts +4 -2
- package/lib/dx/shortcuts/list/guiList.impl.d.ts +1 -1
- package/lib/dx/shortcuts/list/list.domain.d.ts +1 -2
- package/lib/dx/shortcuts/list/register.d.ts +4 -2
- package/lib/dx/shortcuts/markdown/guiMarkdown.impl.d.ts +1 -1
- package/lib/dx/shortcuts/markdown/markdown.domain.d.ts +1 -3
- package/lib/dx/shortcuts/markdown/register.d.ts +4 -2
- package/lib/dx/shortcuts/markdown-text/guiMarkdownText.impl.d.ts +1 -1
- package/lib/dx/shortcuts/markdown-text/markdownText.domain.d.ts +1 -2
- package/lib/dx/shortcuts/markdown-text/register.d.ts +4 -2
- package/lib/dx/shortcuts/password/guiPassword.impl.d.ts +1 -1
- package/lib/dx/shortcuts/password/password.domain.d.ts +1 -3
- package/lib/dx/shortcuts/password/register.d.ts +4 -2
- package/lib/dx/shortcuts/radiogroup/guiRadiogroup.impl.d.ts +1 -1
- package/lib/dx/shortcuts/radiogroup/radiogroup.domain.d.ts +1 -2
- package/lib/dx/shortcuts/radiogroup/register.d.ts +4 -2
- package/lib/dx/shortcuts/range-calendar/guiRangeCalendar.impl.d.ts +1 -1
- package/lib/dx/shortcuts/range-calendar/rangeCalendar.domain.d.ts +1 -3
- package/lib/dx/shortcuts/range-calendar/register.d.ts +4 -2
- package/lib/dx/shortcuts/range-date-input/guiRangeDateInput.impl.d.ts +1 -1
- package/lib/dx/shortcuts/range-date-input/rangeDateInput.domain.d.ts +1 -3
- package/lib/dx/shortcuts/range-date-input/register.d.ts +4 -2
- package/lib/dx/shortcuts/range-date-picker/guiRangeDatePicker.impl.d.ts +1 -1
- package/lib/dx/shortcuts/range-date-picker/rangeDatePicker.domain.d.ts +1 -3
- package/lib/dx/shortcuts/range-date-picker/register.d.ts +4 -2
- package/lib/dx/shortcuts/range-date-time-calendar/guiRangeDateTimeCalendar.impl.d.ts +1 -1
- package/lib/dx/shortcuts/range-date-time-calendar/rangeDateTimeCalendar.domain.d.ts +1 -3
- package/lib/dx/shortcuts/range-date-time-calendar/register.d.ts +4 -2
- package/lib/dx/shortcuts/range-date-time-input/guiRangeDateTimeInput.impl.d.ts +1 -1
- package/lib/dx/shortcuts/range-date-time-input/rangeDateTimeInput.domain.d.ts +1 -3
- package/lib/dx/shortcuts/range-date-time-input/register.d.ts +4 -2
- package/lib/dx/shortcuts/range-date-time-picker/guiRangeDateTimePicker.impl.d.ts +1 -1
- package/lib/dx/shortcuts/range-date-time-picker/rangeDateTimePicker.domain.d.ts +1 -3
- package/lib/dx/shortcuts/range-date-time-picker/register.d.ts +4 -2
- package/lib/dx/shortcuts/range-time-input/guiRangeTimeInput.impl.d.ts +1 -1
- package/lib/dx/shortcuts/range-time-input/rangeTimeInput.domain.d.ts +1 -3
- package/lib/dx/shortcuts/range-time-input/register.d.ts +4 -2
- package/lib/dx/shortcuts/range-time-picker/guiRangeTimePicker.impl.d.ts +1 -1
- package/lib/dx/shortcuts/range-time-picker/rangeTimePicker.domain.d.ts +1 -3
- package/lib/dx/shortcuts/range-time-picker/register.d.ts +4 -2
- package/lib/dx/shortcuts/repeater/guiRepeater.impl.d.ts +1 -1
- package/lib/dx/shortcuts/repeater/register.d.ts +5 -3
- package/lib/dx/shortcuts/repeater/repeater.domain.d.ts +1 -4
- package/lib/dx/shortcuts/scopes/gslStates.impl.d.ts +1 -1
- package/lib/dx/shortcuts/scopes/gslTag.impl.d.ts +1 -1
- package/lib/dx/shortcuts/scopes/scopeChain.d.ts +1 -1
- package/lib/dx/shortcuts/select/guiSelect.impl.d.ts +1 -1
- package/lib/dx/shortcuts/select/register.d.ts +4 -2
- package/lib/dx/shortcuts/select/select.domain.d.ts +1 -2
- package/lib/dx/shortcuts/tabs/guiTabs.impl.d.ts +1 -1
- package/lib/dx/shortcuts/tabs/register.d.ts +4 -2
- package/lib/dx/shortcuts/tabs/tabs.domain.d.ts +1 -3
- package/lib/dx/shortcuts/tags/guiTags.impl.d.ts +1 -1
- package/lib/dx/shortcuts/tags/register.d.ts +4 -2
- package/lib/dx/shortcuts/tags/tags.domain.d.ts +1 -3
- package/lib/dx/shortcuts/textarea/guiTextarea.impl.d.ts +1 -1
- package/lib/dx/shortcuts/textarea/register.d.ts +4 -2
- package/lib/dx/shortcuts/textarea/textarea.domain.d.ts +1 -3
- package/lib/dx/shortcuts/time-input/guiTimeInput.impl.d.ts +1 -1
- package/lib/dx/shortcuts/time-input/register.d.ts +4 -2
- package/lib/dx/shortcuts/time-input/timeInput.domain.d.ts +1 -3
- package/lib/dx/shortcuts/time-picker/guiTimePicker.impl.d.ts +1 -1
- package/lib/dx/shortcuts/time-picker/register.d.ts +4 -2
- package/lib/dx/shortcuts/time-picker/timePicker.domain.d.ts +1 -3
- package/lib/shared.d.ts +1 -13
- package/lib/widgets.d.ts +1 -1
- package/package.json +7 -3
- package/resolveFormInput-DDKerzen.cjs +1 -0
- package/{register-De8Y1vW5.js → resolveFormInput-Dp0TB3LB.js} +533 -663
- package/lib/dx/core/defineShortcutType.d.ts +0 -39
- package/lib/dx/core/dx.domain.d.ts +0 -79
- package/lib/dx/core/dxBase.types.d.ts +0 -128
- package/lib/dx/core/dxPropsHelper.d.ts +0 -9
- package/lib/dx/core/dxUtilityTypes.d.ts +0 -40
- package/lib/dx/core/dxValidatorHelper.d.ts +0 -31
- package/lib/dx/core/eventWiring.service.d.ts +0 -34
- package/lib/dx/core/itemTypeRegistry.d.ts +0 -94
- package/lib/dx/core/itemWalker.service.d.ts +0 -31
- package/lib/dx/core/selectorNormalizer.service.d.ts +0 -15
- package/lib/dx/core/selectorResolver.service.d.ts +0 -11
- package/lib/dx/core/sharedSensibleDefaults.service.d.ts +0 -35
- package/lib/dx/core/stateExpansion.service.d.ts +0 -31
- package/lib/dx/core/widgetMapper.service.d.ts +0 -13
- package/lib/dx/core/widgetMerger.service.d.ts +0 -14
- package/lib/dx/core/withForm.d.ts +0 -8
- package/lib/dx/dx.service.d.ts +0 -36
- package/lib/dx/registerAll.d.ts +0 -0
- package/lib/utils/objectUtils.service.d.ts +0 -11
- package/register-B3CJMfX9.cjs +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## 1.1.1-rc.0 (2026-08-01)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **components:** use role toolbar in markdown editor and pass missing titles ([88488312](https://github.com/golemui/golemui/commit/88488312))
|
|
6
|
+
- **components:** announce calendar month changes and label the year selector ([eca6ad26](https://github.com/golemui/golemui/commit/eca6ad26))
|
|
7
|
+
- **components:** accessible date/time pickers ([7e13a999](https://github.com/golemui/golemui/commit/7e13a999))
|
|
8
|
+
- **components:** expose segment aria-label props for date/time parts ([3e80ef30](https://github.com/golemui/golemui/commit/3e80ef30))
|
|
9
|
+
|
|
10
|
+
### ❤️ Thank You
|
|
11
|
+
|
|
12
|
+
- Raúl Jiménez @Elecash
|
|
13
|
+
|
|
1
14
|
## 1.1.0 (2026-07-21)
|
|
2
15
|
|
|
3
16
|
### 🚀 Features
|
package/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
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 "./
|
|
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";
|
|
2
|
+
import "@golemui/dx";
|
|
2
3
|
import "@golemui/core";
|
|
3
4
|
class r {
|
|
4
5
|
constructor(a) {
|
|
@@ -287,7 +288,7 @@ class r {
|
|
|
287
288
|
return this.apply(Fa(a, s));
|
|
288
289
|
}
|
|
289
290
|
}
|
|
290
|
-
const
|
|
291
|
+
const Ms = {
|
|
291
292
|
inputs: {
|
|
292
293
|
textInput: Rs,
|
|
293
294
|
numberInput: fs,
|
|
@@ -362,13 +363,13 @@ async function p(t, a) {
|
|
|
362
363
|
}
|
|
363
364
|
return t;
|
|
364
365
|
}
|
|
365
|
-
async function
|
|
366
|
+
async function $s(t, a) {
|
|
366
367
|
const s = await Promise.all(
|
|
367
368
|
t.form.map((e) => p(e, a))
|
|
368
369
|
);
|
|
369
370
|
return { ...t, form: s };
|
|
370
371
|
}
|
|
371
372
|
export {
|
|
372
|
-
|
|
373
|
-
|
|
373
|
+
Ms as gui,
|
|
374
|
+
$s as resolveChunkRefs
|
|
374
375
|
};
|
package/index.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./
|
|
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=_;
|