@golemui/gui-shared 1.2.1-rc.0 → 1.3.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
+ ## 1.2.1 (2026-08-11)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **gui-components:** Set default min year to 1900 instead of 1000 ([#277](https://github.com/golemui/golemui/pull/277))
6
+ - date time intermediate states and commit on blur ([#265](https://github.com/golemui/golemui/pull/265))
7
+
8
+ ### ❤️ Thank You
9
+
10
+ - Raúl Jiménez @Elecash
11
+
12
+ ## 1.2.1-rc.0 (2026-08-11)
13
+
14
+ ### 🩹 Fixes
15
+
16
+ - **gui-components:** Set default min year to 1900 instead of 1000 ([#277](https://github.com/golemui/golemui/pull/277))
17
+ - date time intermediate states and commit on blur ([#265](https://github.com/golemui/golemui/pull/265))
18
+
19
+ ### ❤️ Thank You
20
+
21
+ - Raúl Jiménez @Elecash
22
+
1
23
  ## 1.2.0 (2026-08-04)
2
24
 
3
25
  ### 🩹 Fixes
package/internals.d.ts CHANGED
@@ -4,6 +4,7 @@ export { createGslSelector, defineShortcutType, extractWidgetProps, formDefs, is
4
4
  export type { AccordionDecorator, ActionDecorator, AlertDecorator, BooleanDataInputDecorator, CalendarDecorator, DateTimeCalendarDecorator, GslDateTimeCalendarConfig, CheckboxDecorator, CurrencyDecorator, CustomActionDecorator, CustomDisplayDecorator, CustomInputDecorator, CustomLayoutDecorator, DateInputDecorator, DatePickerDecorator, DateTimePickerDecorator, DateTimeInputDecorator, DefOrCallback, DisplayDecorator, DropdownDecorator, DxActionBase, DxCommonFields, DxDisplayBase, DxDisplayRenderFn, DxFormEvent, DxInputBase, DxInternalFields, DxLayoutBase, DxResult, DxRuntimeParams, DxValidator, FormConfig, FormEvents, FormInput, GslAccordionConfig, GslActionsConfig, GslAlertsConfig, GslCalendarConfig, GslCheckboxConfig, GslConfigBase, GslCurrencyConfig, GslCustomActionConfig, GslCustomDisplayConfig, GslCustomInputConfig, GslCustomLayoutConfig, GslDateInputConfig, GslDatePickerConfig, GslDateTimePickerConfig, GslDateTimeInputConfig, GslDecoratorCallback, GslDisplaysConfig, GslDropdownConfig, GslInputsConfig, GslLayoutsConfig, GslListConfig, GslMarkdownConfig, GslPasswordConfig, GslRadiogroupConfig, GslRangeCalendarConfig, GslRangeDateInputConfig, GslRangeDateTimeInputConfig, GslRangeDateTimeCalendarConfig, GslRangeDateTimePickerConfig, GslRangeTimeInputConfig, GslRangeDatePickerConfig, GslRangeTimePickerConfig, GslRepeaterConfig, GslSelectConfig, GslTabsConfig, GslTagsConfig, GslTextareaConfig, GslTimeInputConfig, GslTimePickerConfig, GuiShortcutOf, InputDecorator, InputTags, LayoutDecorator, ListDecorator, MarkdownDecorator, NumberDataInputDecorator, PasswordDecorator, RadiogroupDecorator, RangeCalendarDecorator, RangeDateInputDecorator, RangeDateTimeInputDecorator, RangeDateTimeCalendarDecorator, RangeDateTimePickerDecorator, RangeTimeInputDecorator, RangeDatePickerDecorator, RangeTimePickerDecorator, RepeaterDecorator, ResolvedFormInput, SelectDecorator, ShortcutTypeSelectors, SimpleFieldDef, TabsDecorator, TagsDecorator, TextareaDecorator, TextDataInputDecorator, TimeInputDecorator, TimePickerDecorator, ValidShortcutType, } from './lib/dx';
5
5
  export type { AccordionProps, AlertProps, ButtonProps, CalendarProps, DateTimeCalendarProps, DateTimePickerProps, CheckboxProps, ComponentRendererProps, CurrencyProps, DateinputProps, DatePickerProps, DateTimeInputProps, DateRange, DateTimeRange, DisabledTimeRange, DropdownProps, FlexProps, GridProps, ListItem, ListProps, MarkdownProps, MarkdownTextProps, NumberinputProps, OneOfProps, Option, OptionValue, PasswordProps, RadiogroupProps, RangeCalendarProps, RangeDateInputProps, RangeDatePickerProps, RangeDateTimeInputProps, RangeDateTimeCalendarProps, RangeDateTimePickerProps, RangeTimeInputProps, RangeTimePickerProps, RendererProps, RepeaterProps, SelectProps, TabsProps, TagsProps, TagsSeparator, TextareaProps, TextinputProps, TimeInputProps, TimePickerProps, TimeRange, ToggleProps, } from './lib/widget.props';
6
6
  export type { GolemWidget } from './lib/widgets';
7
+ export { actionWidgets, displayWidgets, inputWidgets, layoutWidgets } from './lib/widgets';
7
8
  export { golemForm } from './lib/golem-form';
8
9
  export { isOption } from './lib/utils/one-of';
9
10
  export { getItemKey } from './lib/utils/repeater';
package/internals.js CHANGED
@@ -1,21 +1,59 @@
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
- import { createGslSelector as Os, extractWidgetProps as js, isDxDefinitions as Gs, processAutoLabel as vs, processAutoPlaceholder as zs } from "@golemui/dx";
1
+ import { _ as T, a as D, b as B, c as U, d as k, e as I, f as b, h as C, i as P, j as R, k as x, l as f, m as w, n as A, o as h, p as L, q as S, r as F, s as M, t as O, u as j, v as G, w as W, x as v, y as z, z as H, A as N, B as V, C as K, D as q, E, F as J, G as Q, H as X, I as Y, J as Z, K as $, L as aa, M as sa, N as ea, O as ia, P as ta, Q as ga, R as ra, S as la, T as na, U as ua, V as _a, W as oa, X as da, Y as ca, Z as pa, $ as ma, a0 as ya, a1 as Ta, a2 as Da, a3 as Ba, a4 as Ua, a5 as ka, a6 as Ia, a7 as ba, a8 as Ca, a9 as Pa, aa as Ra, ab as xa, ac as fa, ad as wa, ae as Aa, af as ha, ag as La, ah as Sa, ai as Fa, aj as Ma, ak as Oa, al as ja, am as Ga, an as Wa, ao as va, ap as za, aq as Ha, ar as Na, as as Va, at as Ka, au as qa, av as Ea, aw as Ja, ax as Qa, ay as Xa, az as Ya, aA as Za, aB as $a, aC as as, aD as ss, aE as es, aF as is, aG as ts, aH as gs, aI as rs, aJ as ls, aK as ns, aL as us, aM as _s, aN as os, aO as ds, aP as cs, aQ as ps, aR as ms, aS as ys, aT as Ts, aU as Ds, aV as Bs, aW as Us, aX as ks, aY as Is, aZ as bs, a_ as Cs, a$ as Ps, b0 as Rs, b1 as xs, b2 as fs, b3 as ws, b4 as As, b5 as hs, b6 as Ls, b7 as Ss, b8 as Fs, b9 as Ms, ba as Os, bb as js, bc as Gs } from "./resolveFormInput-CsFeoGjz.js";
2
+ import { createGslSelector as vs, extractWidgetProps as zs, isDxDefinitions as Hs, processAutoLabel as Ns, processAutoPlaceholder as Vs } from "@golemui/dx";
3
3
  import "@golemui/gui-validators";
4
4
  import "@golemui/core";
5
- function l(a, ...s) {
5
+ function _(a, ...s) {
6
6
  return s.map((e) => ({
7
7
  ...e,
8
8
  targetState: a
9
9
  }));
10
10
  }
11
- function _(a, ...s) {
11
+ function o(a, ...s) {
12
12
  return {
13
13
  kind: "aggregated",
14
14
  matcher: (e) => e.tags?.includes(a) ?? !1,
15
15
  children: s
16
16
  };
17
17
  }
18
- class i {
18
+ const i = [
19
+ "calendar",
20
+ "dateTimeCalendar",
21
+ "checkbox",
22
+ "currency",
23
+ "dateInput",
24
+ "datePicker",
25
+ "dateTimeInput",
26
+ "dateTimePicker",
27
+ "dropdown",
28
+ "list",
29
+ "markdown",
30
+ "number",
31
+ "password",
32
+ "radiogroup",
33
+ "rangeCalendar",
34
+ "rangeDateInput",
35
+ "rangeDatePicker",
36
+ "rangeDateTimeInput",
37
+ "rangeDateTimeCalendar",
38
+ "rangeDateTimePicker",
39
+ "rangeTimeInput",
40
+ "rangeTimePicker",
41
+ "repeater",
42
+ "select",
43
+ "tags",
44
+ "textarea",
45
+ "textinput",
46
+ "timeInput",
47
+ "timePicker",
48
+ "toggle"
49
+ ], t = ["accordion", "flex", "grid", "tabs"], g = ["alert", "markdownText", "renderer"], r = ["button"];
50
+ [
51
+ ...i,
52
+ ...t,
53
+ ...g,
54
+ ...r
55
+ ];
56
+ class l {
19
57
  create(s) {
20
58
  return {
21
59
  states: s.states,
@@ -28,11 +66,11 @@ class i {
28
66
  };
29
67
  }
30
68
  }
31
- function u() {
32
- return new i();
69
+ function d() {
70
+ return new l();
33
71
  }
34
- const r = (a) => a !== null && typeof a == "object" && Object.prototype.hasOwnProperty.call(a, "label") && Object.prototype.hasOwnProperty.call(a, "value");
35
- function n(a, s) {
72
+ const c = (a) => a !== null && typeof a == "object" && Object.prototype.hasOwnProperty.call(a, "label") && Object.prototype.hasOwnProperty.call(a, "value");
73
+ function p(a, s) {
36
74
  if (a != null && typeof a == "object" && "__rid" in a)
37
75
  return a.__rid;
38
76
  const e = s();
@@ -43,144 +81,148 @@ function n(a, s) {
43
81
  }), e;
44
82
  }
45
83
  export {
46
- c as _gslAccordionByUid,
47
- p as _gslAccordions,
48
- y as _gslActionByUid,
49
- m as _gslActions,
50
- T as _gslAlertByUid,
51
- B as _gslAlerts,
52
- D as _gslBooleanInputs,
53
- U as _gslCalendarByUid,
54
- b as _gslCalendars,
55
- I as _gslCheckboxByUid,
56
- C as _gslCheckboxes,
57
- R as _gslCurrencies,
58
- k as _gslCurrencyByUid,
59
- P as _gslCustomActionByUid,
60
- f as _gslCustomActions,
61
- x as _gslCustomDisplayByUid,
62
- w as _gslCustomDisplays,
63
- A as _gslCustomInputByUid,
64
- h as _gslCustomInputs,
65
- L as _gslCustomLayoutByUid,
66
- S as _gslCustomLayouts,
67
- F as _gslDateInputByUid,
68
- M as _gslDateInputs,
69
- O as _gslDatePickerByUid,
70
- j as _gslDatePickers,
71
- G as _gslDateTimeCalendarByUid,
72
- v as _gslDateTimeCalendars,
73
- z as _gslDateTimeInputByUid,
74
- H as _gslDateTimeInputs,
75
- N as _gslDateTimePickerByUid,
76
- V as _gslDateTimePickers,
77
- K as _gslDisplayByUid,
78
- W as _gslDisplays,
79
- q as _gslDropdownByUid,
80
- E as _gslDropdowns,
81
- J as _gslInputByUid,
82
- Q as _gslInputs,
83
- X as _gslLayoutByUid,
84
- Y as _gslLayouts,
85
- Z as _gslListByUid,
86
- $ as _gslLists,
87
- aa as _gslMarkdownByUid,
88
- sa as _gslMarkdownTextByUid,
89
- ea as _gslMarkdownTexts,
90
- ia as _gslMarkdowns,
91
- ga as _gslNumberInputs,
92
- ta as _gslPasswordByUid,
93
- la as _gslPasswords,
94
- _a as _gslRadiogroupByUid,
95
- ua as _gslRadiogroups,
96
- ra as _gslRangeCalendarByUid,
97
- na as _gslRangeCalendars,
98
- oa as _gslRangeDateInputByUid,
99
- da as _gslRangeDateInputs,
100
- ca as _gslRangeDatePickerByUid,
101
- pa as _gslRangeDatePickers,
102
- ya as _gslRangeDateTimeCalendarByUid,
103
- ma as _gslRangeDateTimeCalendars,
104
- Ta as _gslRangeDateTimeInputByUid,
105
- Ba as _gslRangeDateTimeInputs,
106
- Da as _gslRangeDateTimePickerByUid,
107
- Ua as _gslRangeDateTimePickers,
108
- ba as _gslRangeTimeInputByUid,
109
- Ia as _gslRangeTimeInputs,
110
- Ca as _gslRangeTimePickerByUid,
111
- Ra as _gslRangeTimePickers,
112
- ka as _gslRepeaterByUid,
113
- Pa as _gslRepeaters,
114
- fa as _gslSelectByUid,
115
- xa as _gslSelects,
116
- l as _gslStates,
117
- wa as _gslTabs,
118
- Aa as _gslTabsByUid,
119
- _ as _gslTag,
120
- ha as _gslTags,
121
- La as _gslTagsByUid,
122
- Sa as _gslTextInputs,
123
- Fa as _gslTextareaByUid,
124
- Ma as _gslTextareas,
125
- Oa as _gslTimeInputByUid,
126
- ja as _gslTimeInputs,
127
- Ga as _gslTimePickerByUid,
128
- va as _gslTimePickers,
129
- za as _guiAccordion,
130
- Ha as _guiAlert,
131
- Na as _guiBooleanInput,
132
- Va as _guiButton,
133
- Ka as _guiCalendar,
134
- Wa as _guiCheckbox,
135
- qa as _guiCurrency,
136
- Ea as _guiCustomAction,
137
- Ja as _guiCustomDisplay,
138
- Qa as _guiCustomInput,
139
- Xa as _guiCustomLayout,
140
- Ya as _guiDateInput,
141
- Za as _guiDatePicker,
142
- $a as _guiDateTimeCalendar,
143
- as as _guiDateTimeInput,
144
- ss as _guiDateTimePicker,
145
- es as _guiDisplay,
146
- is as _guiDropdown,
147
- gs as _guiFlex,
148
- ts as _guiGrid,
149
- ls as _guiHorizontalFlex,
150
- _s as _guiHorizontalGrid,
151
- us as _guiList,
152
- rs as _guiMarkdown,
153
- ns as _guiMarkdownText,
154
- os as _guiNumberInput,
155
- ds as _guiPassword,
156
- cs as _guiRadiogroup,
157
- ps as _guiRangeCalendar,
158
- ys as _guiRangeDateInput,
159
- ms as _guiRangeDatePicker,
160
- Ts as _guiRangeDateTimeCalendar,
161
- Bs as _guiRangeDateTimeInput,
162
- Ds as _guiRangeDateTimePicker,
163
- Us as _guiRangeTimeInput,
164
- bs as _guiRangeTimePicker,
165
- Is as _guiRepeater,
166
- Cs as _guiSelect,
167
- Rs as _guiTabs,
168
- ks as _guiTags,
169
- Ps as _guiTextInput,
170
- fs as _guiTextarea,
171
- xs as _guiTimeInput,
172
- ws as _guiTimePicker,
173
- As as _guiVerticalFlex,
174
- hs as _guiVerticalGrid,
175
- Os as createGslSelector,
176
- Ls as defineShortcutType,
177
- js as extractWidgetProps,
178
- Ss as formDefs,
179
- n as getItemKey,
180
- u as golemForm,
181
- Gs as isDxDefinitions,
182
- r as isOption,
183
- vs as processAutoLabel,
184
- zs as processAutoPlaceholder,
185
- Fs as resolveFormInput
84
+ T as _gslAccordionByUid,
85
+ D as _gslAccordions,
86
+ B as _gslActionByUid,
87
+ U as _gslActions,
88
+ k as _gslAlertByUid,
89
+ I as _gslAlerts,
90
+ b as _gslBooleanInputs,
91
+ C as _gslCalendarByUid,
92
+ P as _gslCalendars,
93
+ R as _gslCheckboxByUid,
94
+ x as _gslCheckboxes,
95
+ f as _gslCurrencies,
96
+ w as _gslCurrencyByUid,
97
+ A as _gslCustomActionByUid,
98
+ h as _gslCustomActions,
99
+ L as _gslCustomDisplayByUid,
100
+ S as _gslCustomDisplays,
101
+ F as _gslCustomInputByUid,
102
+ M as _gslCustomInputs,
103
+ O as _gslCustomLayoutByUid,
104
+ j as _gslCustomLayouts,
105
+ G as _gslDateInputByUid,
106
+ W as _gslDateInputs,
107
+ v as _gslDatePickerByUid,
108
+ z as _gslDatePickers,
109
+ H as _gslDateTimeCalendarByUid,
110
+ N as _gslDateTimeCalendars,
111
+ V as _gslDateTimeInputByUid,
112
+ K as _gslDateTimeInputs,
113
+ q as _gslDateTimePickerByUid,
114
+ E as _gslDateTimePickers,
115
+ J as _gslDisplayByUid,
116
+ Q as _gslDisplays,
117
+ X as _gslDropdownByUid,
118
+ Y as _gslDropdowns,
119
+ Z as _gslInputByUid,
120
+ $ as _gslInputs,
121
+ aa as _gslLayoutByUid,
122
+ sa as _gslLayouts,
123
+ ea as _gslListByUid,
124
+ ia as _gslLists,
125
+ ta as _gslMarkdownByUid,
126
+ ga as _gslMarkdownTextByUid,
127
+ ra as _gslMarkdownTexts,
128
+ la as _gslMarkdowns,
129
+ na as _gslNumberInputs,
130
+ ua as _gslPasswordByUid,
131
+ _a as _gslPasswords,
132
+ oa as _gslRadiogroupByUid,
133
+ da as _gslRadiogroups,
134
+ ca as _gslRangeCalendarByUid,
135
+ pa as _gslRangeCalendars,
136
+ ma as _gslRangeDateInputByUid,
137
+ ya as _gslRangeDateInputs,
138
+ Ta as _gslRangeDatePickerByUid,
139
+ Da as _gslRangeDatePickers,
140
+ Ba as _gslRangeDateTimeCalendarByUid,
141
+ Ua as _gslRangeDateTimeCalendars,
142
+ ka as _gslRangeDateTimeInputByUid,
143
+ Ia as _gslRangeDateTimeInputs,
144
+ ba as _gslRangeDateTimePickerByUid,
145
+ Ca as _gslRangeDateTimePickers,
146
+ Pa as _gslRangeTimeInputByUid,
147
+ Ra as _gslRangeTimeInputs,
148
+ xa as _gslRangeTimePickerByUid,
149
+ fa as _gslRangeTimePickers,
150
+ wa as _gslRepeaterByUid,
151
+ Aa as _gslRepeaters,
152
+ ha as _gslSelectByUid,
153
+ La as _gslSelects,
154
+ _ as _gslStates,
155
+ Sa as _gslTabs,
156
+ Fa as _gslTabsByUid,
157
+ o as _gslTag,
158
+ Ma as _gslTags,
159
+ Oa as _gslTagsByUid,
160
+ ja as _gslTextInputs,
161
+ Ga as _gslTextareaByUid,
162
+ Wa as _gslTextareas,
163
+ va as _gslTimeInputByUid,
164
+ za as _gslTimeInputs,
165
+ Ha as _gslTimePickerByUid,
166
+ Na as _gslTimePickers,
167
+ Va as _guiAccordion,
168
+ Ka as _guiAlert,
169
+ qa as _guiBooleanInput,
170
+ Ea as _guiButton,
171
+ Ja as _guiCalendar,
172
+ Qa as _guiCheckbox,
173
+ Xa as _guiCurrency,
174
+ Ya as _guiCustomAction,
175
+ Za as _guiCustomDisplay,
176
+ $a as _guiCustomInput,
177
+ as as _guiCustomLayout,
178
+ ss as _guiDateInput,
179
+ es as _guiDatePicker,
180
+ is as _guiDateTimeCalendar,
181
+ ts as _guiDateTimeInput,
182
+ gs as _guiDateTimePicker,
183
+ rs as _guiDisplay,
184
+ ls as _guiDropdown,
185
+ ns as _guiFlex,
186
+ us as _guiGrid,
187
+ _s as _guiHorizontalFlex,
188
+ os as _guiHorizontalGrid,
189
+ ds as _guiList,
190
+ cs as _guiMarkdown,
191
+ ps as _guiMarkdownText,
192
+ ms as _guiNumberInput,
193
+ ys as _guiPassword,
194
+ Ts as _guiRadiogroup,
195
+ Ds as _guiRangeCalendar,
196
+ Bs as _guiRangeDateInput,
197
+ Us as _guiRangeDatePicker,
198
+ ks as _guiRangeDateTimeCalendar,
199
+ Is as _guiRangeDateTimeInput,
200
+ bs as _guiRangeDateTimePicker,
201
+ Cs as _guiRangeTimeInput,
202
+ Ps as _guiRangeTimePicker,
203
+ Rs as _guiRepeater,
204
+ xs as _guiSelect,
205
+ fs as _guiTabs,
206
+ ws as _guiTags,
207
+ As as _guiTextInput,
208
+ hs as _guiTextarea,
209
+ Ls as _guiTimeInput,
210
+ Ss as _guiTimePicker,
211
+ Fs as _guiVerticalFlex,
212
+ Ms as _guiVerticalGrid,
213
+ r as actionWidgets,
214
+ vs as createGslSelector,
215
+ Os as defineShortcutType,
216
+ g as displayWidgets,
217
+ zs as extractWidgetProps,
218
+ js as formDefs,
219
+ p as getItemKey,
220
+ d as golemForm,
221
+ i as inputWidgets,
222
+ Hs as isDxDefinitions,
223
+ c as isOption,
224
+ t as layoutWidgets,
225
+ Ns as processAutoLabel,
226
+ Vs as processAutoPlaceholder,
227
+ Gs as resolveFormInput
186
228
  };
package/internals.umd.cjs CHANGED
@@ -1 +1 @@
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
+ "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 u(i,...s){return s.map(g=>({...g,targetState:i}))}function _(i,...s){return{kind:"aggregated",matcher:g=>g.tags?.includes(i)??!1,children:s}}const a=["calendar","dateTimeCalendar","checkbox","currency","dateInput","datePicker","dateTimeInput","dateTimePicker","dropdown","list","markdown","number","password","radiogroup","rangeCalendar","rangeDateInput","rangeDatePicker","rangeDateTimeInput","rangeDateTimeCalendar","rangeDateTimePicker","rangeTimeInput","rangeTimePicker","repeater","select","tags","textarea","textinput","timeInput","timePicker","toggle"],l=["accordion","flex","grid","tabs"],r=["alert","markdownText","renderer"],n=["button"];[...a,...l,...r,...n];class o{create(s){return{states:s.states,form:{uid:"gui-root-uid",type:"flex",kind:"layout",children:s.form}}}}function d(){return new o}const c=i=>i!==null&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"label")&&Object.prototype.hasOwnProperty.call(i,"value");function p(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=u;exports._gslTag=_;exports.actionWidgets=n;exports.displayWidgets=r;exports.getItemKey=p;exports.golemForm=d;exports.inputWidgets=a;exports.isOption=c;exports.layoutWidgets=l;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemui/gui-shared",
3
- "version": "1.2.1-rc.0",
3
+ "version": "1.3.0-rc.0",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -34,9 +34,9 @@
34
34
  "*.md"
35
35
  ],
36
36
  "dependencies": {
37
- "@golemui/core": "1.2.1-rc.0",
38
- "@golemui/dx": "1.2.1-rc.0",
39
- "@golemui/gui-validators": "1.2.1-rc.0"
37
+ "@golemui/core": "1.3.0-rc.0",
38
+ "@golemui/dx": "1.3.0-rc.0",
39
+ "@golemui/gui-validators": "1.3.0-rc.0"
40
40
  },
41
41
  "repository": {
42
42
  "type": "git",