@golemui/gui-shared 1.1.1-rc.1 → 1.1.1-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/index.js +22 -366
- package/index.umd.cjs +1 -1
- package/internals.js +7 -7
- package/internals.umd.cjs +1 -1
- package/lib/dx/formDef.domain.d.ts +2 -1
- package/lib/dx/formDefs.d.ts +4 -2
- package/lib/dx/gui.d.ts +281 -52
- package/lib/dx/guiDependencyTypes.d.ts +14 -0
- package/lib/dx/index.d.ts +2 -1
- package/lib/dx/resolveFormInput.d.ts +5 -3
- package/lib/shared.d.ts +16 -1
- package/lib/widgets.d.ts +1 -1
- package/package.json +4 -4
- package/{resolveFormInput-Dp0TB3LB.js → resolveFormInput-CsFeoGjz.js} +1455 -1310
- package/resolveFormInput-UcmQ-kme.cjs +1 -0
- package/lib/dx/shortcuts/scopes/scopeChain.d.ts +0 -132
- package/resolveFormInput-DDKerzen.cjs +0 -1
package/lib/dx/gui.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Dependencies } from '../shared';
|
|
1
2
|
import { _guiTextInput } from './shortcuts/inputs/guiTextInput.impl';
|
|
2
3
|
import { _guiNumberInput } from './shortcuts/inputs/guiNumberInput.impl';
|
|
3
4
|
import { _guiBooleanInput } from './shortcuts/inputs/guiBooleanInput.impl';
|
|
@@ -37,61 +38,289 @@ import { _guiAccordion } from './shortcuts/accordion/guiAccordion.impl';
|
|
|
37
38
|
import { _guiCustomLayout } from './shortcuts/custom-layout/guiCustomLayout.impl';
|
|
38
39
|
import { _guiRepeater } from './shortcuts/repeater/guiRepeater.impl';
|
|
39
40
|
import { _guiTags } from './shortcuts/tags/guiTags.impl';
|
|
40
|
-
|
|
41
|
+
/**
|
|
42
|
+
* The assembled gui widget set: the authoring namespace plus the DX
|
|
43
|
+
* form-definition service and the framework bridge, all bound to the gui
|
|
44
|
+
* registry and adapter. `Dependencies` is the gui widget set's dependency
|
|
45
|
+
* shape, so form authors get its keys typed on `formConfig.dependencies` and
|
|
46
|
+
* on the resolved form input.
|
|
47
|
+
*/
|
|
48
|
+
export declare const guiImplementation: import('@golemui/dx').WidgetSetImplementation<{
|
|
49
|
+
inputs: {
|
|
50
|
+
textInput: typeof _guiTextInput;
|
|
51
|
+
numberInput: typeof _guiNumberInput;
|
|
52
|
+
booleanInput: typeof _guiBooleanInput;
|
|
53
|
+
select: typeof _guiSelect;
|
|
54
|
+
dropdown: typeof _guiDropdown;
|
|
55
|
+
radiogroup: typeof _guiRadiogroup;
|
|
56
|
+
checkbox: typeof _guiCheckbox;
|
|
57
|
+
textarea: typeof _guiTextarea;
|
|
58
|
+
password: typeof _guiPassword;
|
|
59
|
+
currency: typeof _guiCurrency;
|
|
60
|
+
markdown: typeof _guiMarkdown;
|
|
61
|
+
list: typeof _guiList;
|
|
62
|
+
calendar: typeof _guiCalendar;
|
|
63
|
+
dateTimeCalendar: typeof _guiDateTimeCalendar;
|
|
64
|
+
dateInput: typeof _guiDateInput;
|
|
65
|
+
datePicker: typeof _guiDatePicker;
|
|
66
|
+
dateTimePicker: typeof _guiDateTimePicker;
|
|
67
|
+
timeInput: typeof _guiTimeInput;
|
|
68
|
+
timePicker: typeof _guiTimePicker;
|
|
69
|
+
dateTimeInput: typeof _guiDateTimeInput;
|
|
70
|
+
rangeCalendar: typeof _guiRangeCalendar;
|
|
71
|
+
rangeDateInput: typeof _guiRangeDateInput;
|
|
72
|
+
rangeDateTimeInput: typeof _guiRangeDateTimeInput;
|
|
73
|
+
rangeDateTimeCalendar: typeof _guiRangeDateTimeCalendar;
|
|
74
|
+
rangeDateTimePicker: typeof _guiRangeDateTimePicker;
|
|
75
|
+
rangeTimeInput: typeof _guiRangeTimeInput;
|
|
76
|
+
rangeDatePicker: typeof _guiRangeDatePicker;
|
|
77
|
+
rangeTimePicker: typeof _guiRangeTimePicker;
|
|
78
|
+
repeater: typeof _guiRepeater;
|
|
79
|
+
tags: typeof _guiTags;
|
|
80
|
+
custom: typeof _guiCustomInput;
|
|
81
|
+
};
|
|
82
|
+
actions: {
|
|
83
|
+
button: typeof _guiButton;
|
|
84
|
+
custom: typeof _guiCustomAction;
|
|
85
|
+
};
|
|
86
|
+
displays: {
|
|
87
|
+
display: (render: (params: import('@golemui/dx').DxRuntimeParams) => any, tags?: string[]) => import('./shortcuts/display/display.domain').GuiDisplayItemsShortcut;
|
|
88
|
+
alert: typeof _guiAlert;
|
|
89
|
+
markdownText: typeof _guiMarkdownText;
|
|
90
|
+
custom: typeof _guiCustomDisplay;
|
|
91
|
+
};
|
|
92
|
+
layouts: {
|
|
93
|
+
flex: (children: import('@golemui/dx').ValidGuiShortcut[], props?: import('./shortcuts/layouts/layouts.domain').FlexFamilyProps, tags?: string[]) => import('./shortcuts/layouts/layouts.domain').GuiLayoutItemsShortcut;
|
|
94
|
+
horizontalFlex: (children: import('@golemui/dx').ValidGuiShortcut[], props?: Omit<import('./shortcuts/layouts/layouts.domain').FlexFamilyProps, "direction">, tags?: string[]) => import('./shortcuts/layouts/layouts.domain').GuiLayoutItemsShortcut;
|
|
95
|
+
verticalFlex: (children: import('@golemui/dx').ValidGuiShortcut[], props?: Omit<import('./shortcuts/layouts/layouts.domain').FlexFamilyProps, "direction">, tags?: string[]) => import('./shortcuts/layouts/layouts.domain').GuiLayoutItemsShortcut;
|
|
96
|
+
grid: (children: import('@golemui/dx').ValidGuiShortcut[], props?: import('./shortcuts/layouts/layouts.domain').GridFamilyProps, tags?: string[]) => import('./shortcuts/layouts/layouts.domain').GuiLayoutItemsShortcut;
|
|
97
|
+
horizontalGrid: (children: import('@golemui/dx').ValidGuiShortcut[], props?: Omit<import('./shortcuts/layouts/layouts.domain').GridFamilyProps, "direction">, tags?: string[]) => import('./shortcuts/layouts/layouts.domain').GuiLayoutItemsShortcut;
|
|
98
|
+
verticalGrid: (children: import('@golemui/dx').ValidGuiShortcut[], props?: Omit<import('./shortcuts/layouts/layouts.domain').GridFamilyProps, "direction">, tags?: string[]) => import('./shortcuts/layouts/layouts.domain').GuiLayoutItemsShortcut;
|
|
99
|
+
tabs: typeof _guiTabs;
|
|
100
|
+
accordion: typeof _guiAccordion;
|
|
101
|
+
custom: typeof _guiCustomLayout;
|
|
102
|
+
};
|
|
103
|
+
}, import('@golemui/dx').SelectorChain<{
|
|
104
|
+
inputs: (config: import('.').GslInputsConfig, matcher?: ((decorator: import('./formDef.domain').InputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
105
|
+
inputByUid: (uid: string, config: import('.').GslInputsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
106
|
+
textInputs: (config: import('.').GslInputsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
107
|
+
numberInputs: (config: import('.').GslInputsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
108
|
+
booleanInputs: (config: import('.').GslInputsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
109
|
+
selects: (config: import('.').GslSelectConfig, matcher?: ((decorator: import('./formDef.domain').SelectDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
110
|
+
selectByUid: (uid: string, config: import('.').GslSelectConfig) => import('@golemui/dx').GslLeafSelector;
|
|
111
|
+
dropdowns: (config: import('.').GslDropdownConfig, matcher?: ((decorator: import('./formDef.domain').DropdownDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
112
|
+
dropdownByUid: (uid: string, config: import('.').GslDropdownConfig) => import('@golemui/dx').GslLeafSelector;
|
|
113
|
+
radiogroups: (config: import('.').GslRadiogroupConfig, matcher?: ((decorator: import('./formDef.domain').RadiogroupDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
114
|
+
radiogroupByUid: (uid: string, config: import('.').GslRadiogroupConfig) => import('@golemui/dx').GslLeafSelector;
|
|
115
|
+
checkboxes: (config: import('.').GslCheckboxConfig, matcher?: ((decorator: import('./formDef.domain').CheckboxDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
116
|
+
checkboxByUid: (uid: string, config: import('.').GslCheckboxConfig) => import('@golemui/dx').GslLeafSelector;
|
|
117
|
+
textareas: (config: import('.').GslTextareaConfig, matcher?: ((decorator: import('.').TextareaDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
118
|
+
textareaByUid: (uid: string, config: import('.').GslTextareaConfig) => import('@golemui/dx').GslLeafSelector;
|
|
119
|
+
passwords: (config: import('.').GslPasswordConfig, matcher?: ((decorator: import('./formDef.domain').PasswordDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
120
|
+
passwordByUid: (uid: string, config: import('.').GslPasswordConfig) => import('@golemui/dx').GslLeafSelector;
|
|
121
|
+
currencies: (config: import('.').GslCurrencyConfig, matcher?: ((decorator: import('./formDef.domain').CurrencyDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
122
|
+
currencyByUid: (uid: string, config: import('.').GslCurrencyConfig) => import('@golemui/dx').GslLeafSelector;
|
|
123
|
+
markdowns: (config: import('.').GslMarkdownConfig, matcher?: ((decorator: import('./formDef.domain').MarkdownDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
124
|
+
markdownByUid: (uid: string, config: import('.').GslMarkdownConfig) => import('@golemui/dx').GslLeafSelector;
|
|
125
|
+
lists: (config: import('.').GslListConfig, matcher?: ((decorator: import('./formDef.domain').ListDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
126
|
+
listByUid: (uid: string, config: import('.').GslListConfig) => import('@golemui/dx').GslLeafSelector;
|
|
127
|
+
calendars: (config: import('.').GslCalendarConfig, matcher?: ((decorator: import('.').CalendarDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
128
|
+
calendarByUid: (uid: string, config: import('.').GslCalendarConfig) => import('@golemui/dx').GslLeafSelector;
|
|
129
|
+
dateTimeCalendars: (config: import('.').GslDateTimeCalendarConfig, matcher?: ((decorator: import('.').DateTimeCalendarDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
130
|
+
dateTimeCalendarByUid: (uid: string, config: import('.').GslDateTimeCalendarConfig) => import('@golemui/dx').GslLeafSelector;
|
|
131
|
+
dateInputs: (config: import('.').GslDateInputConfig, matcher?: ((decorator: import('./formDef.domain').DateInputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
132
|
+
dateInputByUid: (uid: string, config: import('.').GslDateInputConfig) => import('@golemui/dx').GslLeafSelector;
|
|
133
|
+
timeInputs: (config: import('.').GslTimeInputConfig, matcher?: ((decorator: import('.').TimeInputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
134
|
+
timeInputByUid: (uid: string, config: import('.').GslTimeInputConfig) => import('@golemui/dx').GslLeafSelector;
|
|
135
|
+
timePickers: (config: import('.').GslTimePickerConfig, matcher?: ((decorator: import('.').TimePickerDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
136
|
+
timePickerByUid: (uid: string, config: import('.').GslTimePickerConfig) => import('@golemui/dx').GslLeafSelector;
|
|
137
|
+
dateTimeInputs: (config: import('.').GslDateTimeInputConfig, matcher?: ((decorator: import('.').DateTimeInputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
138
|
+
dateTimeInputByUid: (uid: string, config: import('.').GslDateTimeInputConfig) => import('@golemui/dx').GslLeafSelector;
|
|
139
|
+
datePickers: (config: import('.').GslDatePickerConfig, matcher?: ((decorator: import('./formDef.domain').DatePickerDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
140
|
+
datePickerByUid: (uid: string, config: import('.').GslDatePickerConfig) => import('@golemui/dx').GslLeafSelector;
|
|
141
|
+
dateTimePickers: (config: import('.').GslDateTimePickerConfig, matcher?: ((decorator: import('.').DateTimePickerDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
142
|
+
dateTimePickerByUid: (uid: string, config: import('.').GslDateTimePickerConfig) => import('@golemui/dx').GslLeafSelector;
|
|
143
|
+
rangeCalendars: (config: import('.').GslRangeCalendarConfig, matcher?: ((decorator: import('./formDef.domain').RangeCalendarDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
144
|
+
rangeCalendarByUid: (uid: string, config: import('.').GslRangeCalendarConfig) => import('@golemui/dx').GslLeafSelector;
|
|
145
|
+
rangeDateInputs: (config: import('.').GslRangeDateInputConfig, matcher?: ((decorator: import('./formDef.domain').RangeDateInputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
146
|
+
rangeDateInputByUid: (uid: string, config: import('.').GslRangeDateInputConfig) => import('@golemui/dx').GslLeafSelector;
|
|
147
|
+
rangeTimeInputs: (config: import('.').GslRangeTimeInputConfig, matcher?: ((decorator: import('.').RangeTimeInputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
148
|
+
rangeTimeInputByUid: (uid: string, config: import('.').GslRangeTimeInputConfig) => import('@golemui/dx').GslLeafSelector;
|
|
149
|
+
rangeDateTimeInputs: (config: import('.').GslRangeDateTimeInputConfig, matcher?: ((decorator: import('.').RangeDateTimeInputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
150
|
+
rangeDateTimeInputByUid: (uid: string, config: import('.').GslRangeDateTimeInputConfig) => import('@golemui/dx').GslLeafSelector;
|
|
151
|
+
rangeDateTimeCalendars: (config: import('.').GslRangeDateTimeCalendarConfig, matcher?: ((decorator: import('.').RangeDateTimeCalendarDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
152
|
+
rangeDateTimeCalendarByUid: (uid: string, config: import('.').GslRangeDateTimeCalendarConfig) => import('@golemui/dx').GslLeafSelector;
|
|
153
|
+
rangeDateTimePickers: (config: import('.').GslRangeDateTimePickerConfig, matcher?: ((decorator: import('.').RangeDateTimePickerDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
154
|
+
rangeDateTimePickerByUid: (uid: string, config: import('.').GslRangeDateTimePickerConfig) => import('@golemui/dx').GslLeafSelector;
|
|
155
|
+
rangeDatePickers: (config: import('.').GslRangeDatePickerConfig, matcher?: ((decorator: import('./formDef.domain').RangeDatePickerDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
156
|
+
rangeDatePickerByUid: (uid: string, config: import('.').GslRangeDatePickerConfig) => import('@golemui/dx').GslLeafSelector;
|
|
157
|
+
rangeTimePickers: (config: import('.').GslRangeTimePickerConfig, matcher?: ((decorator: import('.').RangeTimePickerDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
158
|
+
rangeTimePickerByUid: (uid: string, config: import('.').GslRangeTimePickerConfig) => import('@golemui/dx').GslLeafSelector;
|
|
159
|
+
repeaters: (config: import('.').GslRepeaterConfig, matcher?: (decorator: import('./formDef.domain').RepeaterDecorator) => boolean) => import('@golemui/dx').GslLeafSelector;
|
|
160
|
+
repeaterByUid: (id: string, config: import('.').GslRepeaterConfig) => import('@golemui/dx').GslLeafSelector;
|
|
161
|
+
actions: (config: import('.').GslActionsConfig, matcher?: ((decorator: import('./formDef.domain').ActionDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
162
|
+
actionByUid: (uid: string, config: import('.').GslActionsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
163
|
+
layouts: (config: import('./shortcuts/layouts/layouts.domain').GslLayoutsConfig, matcher?: ((decorator: import('./shortcuts/layouts/layouts.domain').LayoutDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
164
|
+
layoutByUid: (uid: string, config: import('./shortcuts/layouts/layouts.domain').GslLayoutsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
165
|
+
displays: (config: import('.').GslDisplaysConfig, matcher?: ((decorator: import('.').DisplayDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
166
|
+
displayByUid: (uid: string, config: import('.').GslDisplaysConfig) => import('@golemui/dx').GslLeafSelector;
|
|
167
|
+
alerts: (config: import('.').GslAlertsConfig, matcher?: ((decorator: import('./formDef.domain').AlertDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
168
|
+
alertByUid: (uid: string, config: import('.').GslAlertsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
169
|
+
markdownTexts: (config: import('./shortcuts/markdown-text/markdownText.domain').GslMarkdownTextsConfig, matcher?: ((decorator: import('./shortcuts/markdown-text/markdownText.domain').MarkdownTextDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
170
|
+
markdownTextByUid: (uid: string, config: import('./shortcuts/markdown-text/markdownText.domain').GslMarkdownTextsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
171
|
+
tabs: (config: import('.').GslTabsConfig, matcher?: ((decorator: import('./formDef.domain').TabsDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
172
|
+
tabsByUid: (uid: string, config: import('.').GslTabsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
173
|
+
accordions: (config: import('.').GslAccordionConfig, matcher?: ((decorator: import('./formDef.domain').AccordionDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
174
|
+
accordionByUid: (uid: string, config: import('.').GslAccordionConfig) => import('@golemui/dx').GslLeafSelector;
|
|
175
|
+
customInputs: (config: import('.').GslCustomInputConfig, matcher?: ((decorator: import('.').CustomInputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
176
|
+
customInputByUid: (uid: string, config: import('.').GslCustomInputConfig) => import('@golemui/dx').GslLeafSelector;
|
|
177
|
+
customActions: (config: import('.').GslCustomActionConfig, matcher?: ((decorator: import('.').CustomActionDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
178
|
+
customActionByUid: (uid: string, config: import('.').GslCustomActionConfig) => import('@golemui/dx').GslLeafSelector;
|
|
179
|
+
customDisplays: (config: import('.').GslCustomDisplayConfig, matcher?: ((decorator: import('.').CustomDisplayDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
180
|
+
customDisplayByUid: (uid: string, config: import('.').GslCustomDisplayConfig) => import('@golemui/dx').GslLeafSelector;
|
|
181
|
+
customLayouts: (config: import('.').GslCustomLayoutConfig, matcher?: ((decorator: import('.').CustomLayoutDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
182
|
+
customLayoutByUid: (uid: string, config: import('.').GslCustomLayoutConfig) => import('@golemui/dx').GslLeafSelector;
|
|
183
|
+
}>, Dependencies>;
|
|
184
|
+
/**
|
|
185
|
+
* The public gui authoring namespace: the shortcut factory groups
|
|
186
|
+
* (`gui.inputs.textInput(...)`, etc.) plus the selector chain root
|
|
187
|
+
* (`gui.selectors.tag('billing').inputs({...})`).
|
|
188
|
+
*/
|
|
41
189
|
export declare const gui: {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
190
|
+
inputs: {
|
|
191
|
+
textInput: typeof _guiTextInput;
|
|
192
|
+
numberInput: typeof _guiNumberInput;
|
|
193
|
+
booleanInput: typeof _guiBooleanInput;
|
|
194
|
+
select: typeof _guiSelect;
|
|
195
|
+
dropdown: typeof _guiDropdown;
|
|
196
|
+
radiogroup: typeof _guiRadiogroup;
|
|
197
|
+
checkbox: typeof _guiCheckbox;
|
|
198
|
+
textarea: typeof _guiTextarea;
|
|
199
|
+
password: typeof _guiPassword;
|
|
200
|
+
currency: typeof _guiCurrency;
|
|
201
|
+
markdown: typeof _guiMarkdown;
|
|
202
|
+
list: typeof _guiList;
|
|
203
|
+
calendar: typeof _guiCalendar;
|
|
204
|
+
dateTimeCalendar: typeof _guiDateTimeCalendar;
|
|
205
|
+
dateInput: typeof _guiDateInput;
|
|
206
|
+
datePicker: typeof _guiDatePicker;
|
|
207
|
+
dateTimePicker: typeof _guiDateTimePicker;
|
|
208
|
+
timeInput: typeof _guiTimeInput;
|
|
209
|
+
timePicker: typeof _guiTimePicker;
|
|
210
|
+
dateTimeInput: typeof _guiDateTimeInput;
|
|
211
|
+
rangeCalendar: typeof _guiRangeCalendar;
|
|
212
|
+
rangeDateInput: typeof _guiRangeDateInput;
|
|
213
|
+
rangeDateTimeInput: typeof _guiRangeDateTimeInput;
|
|
214
|
+
rangeDateTimeCalendar: typeof _guiRangeDateTimeCalendar;
|
|
215
|
+
rangeDateTimePicker: typeof _guiRangeDateTimePicker;
|
|
216
|
+
rangeTimeInput: typeof _guiRangeTimeInput;
|
|
217
|
+
rangeDatePicker: typeof _guiRangeDatePicker;
|
|
218
|
+
rangeTimePicker: typeof _guiRangeTimePicker;
|
|
219
|
+
repeater: typeof _guiRepeater;
|
|
220
|
+
tags: typeof _guiTags;
|
|
221
|
+
custom: typeof _guiCustomInput;
|
|
74
222
|
};
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
223
|
+
actions: {
|
|
224
|
+
button: typeof _guiButton;
|
|
225
|
+
custom: typeof _guiCustomAction;
|
|
78
226
|
};
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
227
|
+
displays: {
|
|
228
|
+
display: (render: (params: import('@golemui/dx').DxRuntimeParams) => any, tags?: string[]) => import('./shortcuts/display/display.domain').GuiDisplayItemsShortcut;
|
|
229
|
+
alert: typeof _guiAlert;
|
|
230
|
+
markdownText: typeof _guiMarkdownText;
|
|
231
|
+
custom: typeof _guiCustomDisplay;
|
|
84
232
|
};
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
233
|
+
layouts: {
|
|
234
|
+
flex: (children: import('@golemui/dx').ValidGuiShortcut[], props?: import('./shortcuts/layouts/layouts.domain').FlexFamilyProps, tags?: string[]) => import('./shortcuts/layouts/layouts.domain').GuiLayoutItemsShortcut;
|
|
235
|
+
horizontalFlex: (children: import('@golemui/dx').ValidGuiShortcut[], props?: Omit<import('./shortcuts/layouts/layouts.domain').FlexFamilyProps, "direction">, tags?: string[]) => import('./shortcuts/layouts/layouts.domain').GuiLayoutItemsShortcut;
|
|
236
|
+
verticalFlex: (children: import('@golemui/dx').ValidGuiShortcut[], props?: Omit<import('./shortcuts/layouts/layouts.domain').FlexFamilyProps, "direction">, tags?: string[]) => import('./shortcuts/layouts/layouts.domain').GuiLayoutItemsShortcut;
|
|
237
|
+
grid: (children: import('@golemui/dx').ValidGuiShortcut[], props?: import('./shortcuts/layouts/layouts.domain').GridFamilyProps, tags?: string[]) => import('./shortcuts/layouts/layouts.domain').GuiLayoutItemsShortcut;
|
|
238
|
+
horizontalGrid: (children: import('@golemui/dx').ValidGuiShortcut[], props?: Omit<import('./shortcuts/layouts/layouts.domain').GridFamilyProps, "direction">, tags?: string[]) => import('./shortcuts/layouts/layouts.domain').GuiLayoutItemsShortcut;
|
|
239
|
+
verticalGrid: (children: import('@golemui/dx').ValidGuiShortcut[], props?: Omit<import('./shortcuts/layouts/layouts.domain').GridFamilyProps, "direction">, tags?: string[]) => import('./shortcuts/layouts/layouts.domain').GuiLayoutItemsShortcut;
|
|
240
|
+
tabs: typeof _guiTabs;
|
|
241
|
+
accordion: typeof _guiAccordion;
|
|
242
|
+
custom: typeof _guiCustomLayout;
|
|
95
243
|
};
|
|
96
|
-
|
|
244
|
+
} & {
|
|
245
|
+
selectors: import('@golemui/dx').SelectorChain<{
|
|
246
|
+
inputs: (config: import('.').GslInputsConfig, matcher?: ((decorator: import('./formDef.domain').InputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
247
|
+
inputByUid: (uid: string, config: import('.').GslInputsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
248
|
+
textInputs: (config: import('.').GslInputsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
249
|
+
numberInputs: (config: import('.').GslInputsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
250
|
+
booleanInputs: (config: import('.').GslInputsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
251
|
+
selects: (config: import('.').GslSelectConfig, matcher?: ((decorator: import('./formDef.domain').SelectDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
252
|
+
selectByUid: (uid: string, config: import('.').GslSelectConfig) => import('@golemui/dx').GslLeafSelector;
|
|
253
|
+
dropdowns: (config: import('.').GslDropdownConfig, matcher?: ((decorator: import('./formDef.domain').DropdownDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
254
|
+
dropdownByUid: (uid: string, config: import('.').GslDropdownConfig) => import('@golemui/dx').GslLeafSelector;
|
|
255
|
+
radiogroups: (config: import('.').GslRadiogroupConfig, matcher?: ((decorator: import('./formDef.domain').RadiogroupDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
256
|
+
radiogroupByUid: (uid: string, config: import('.').GslRadiogroupConfig) => import('@golemui/dx').GslLeafSelector;
|
|
257
|
+
checkboxes: (config: import('.').GslCheckboxConfig, matcher?: ((decorator: import('./formDef.domain').CheckboxDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
258
|
+
checkboxByUid: (uid: string, config: import('.').GslCheckboxConfig) => import('@golemui/dx').GslLeafSelector;
|
|
259
|
+
textareas: (config: import('.').GslTextareaConfig, matcher?: ((decorator: import('.').TextareaDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
260
|
+
textareaByUid: (uid: string, config: import('.').GslTextareaConfig) => import('@golemui/dx').GslLeafSelector;
|
|
261
|
+
passwords: (config: import('.').GslPasswordConfig, matcher?: ((decorator: import('./formDef.domain').PasswordDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
262
|
+
passwordByUid: (uid: string, config: import('.').GslPasswordConfig) => import('@golemui/dx').GslLeafSelector;
|
|
263
|
+
currencies: (config: import('.').GslCurrencyConfig, matcher?: ((decorator: import('./formDef.domain').CurrencyDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
264
|
+
currencyByUid: (uid: string, config: import('.').GslCurrencyConfig) => import('@golemui/dx').GslLeafSelector;
|
|
265
|
+
markdowns: (config: import('.').GslMarkdownConfig, matcher?: ((decorator: import('./formDef.domain').MarkdownDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
266
|
+
markdownByUid: (uid: string, config: import('.').GslMarkdownConfig) => import('@golemui/dx').GslLeafSelector;
|
|
267
|
+
lists: (config: import('.').GslListConfig, matcher?: ((decorator: import('./formDef.domain').ListDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
268
|
+
listByUid: (uid: string, config: import('.').GslListConfig) => import('@golemui/dx').GslLeafSelector;
|
|
269
|
+
calendars: (config: import('.').GslCalendarConfig, matcher?: ((decorator: import('.').CalendarDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
270
|
+
calendarByUid: (uid: string, config: import('.').GslCalendarConfig) => import('@golemui/dx').GslLeafSelector;
|
|
271
|
+
dateTimeCalendars: (config: import('.').GslDateTimeCalendarConfig, matcher?: ((decorator: import('.').DateTimeCalendarDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
272
|
+
dateTimeCalendarByUid: (uid: string, config: import('.').GslDateTimeCalendarConfig) => import('@golemui/dx').GslLeafSelector;
|
|
273
|
+
dateInputs: (config: import('.').GslDateInputConfig, matcher?: ((decorator: import('./formDef.domain').DateInputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
274
|
+
dateInputByUid: (uid: string, config: import('.').GslDateInputConfig) => import('@golemui/dx').GslLeafSelector;
|
|
275
|
+
timeInputs: (config: import('.').GslTimeInputConfig, matcher?: ((decorator: import('.').TimeInputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
276
|
+
timeInputByUid: (uid: string, config: import('.').GslTimeInputConfig) => import('@golemui/dx').GslLeafSelector;
|
|
277
|
+
timePickers: (config: import('.').GslTimePickerConfig, matcher?: ((decorator: import('.').TimePickerDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
278
|
+
timePickerByUid: (uid: string, config: import('.').GslTimePickerConfig) => import('@golemui/dx').GslLeafSelector;
|
|
279
|
+
dateTimeInputs: (config: import('.').GslDateTimeInputConfig, matcher?: ((decorator: import('.').DateTimeInputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
280
|
+
dateTimeInputByUid: (uid: string, config: import('.').GslDateTimeInputConfig) => import('@golemui/dx').GslLeafSelector;
|
|
281
|
+
datePickers: (config: import('.').GslDatePickerConfig, matcher?: ((decorator: import('./formDef.domain').DatePickerDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
282
|
+
datePickerByUid: (uid: string, config: import('.').GslDatePickerConfig) => import('@golemui/dx').GslLeafSelector;
|
|
283
|
+
dateTimePickers: (config: import('.').GslDateTimePickerConfig, matcher?: ((decorator: import('.').DateTimePickerDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
284
|
+
dateTimePickerByUid: (uid: string, config: import('.').GslDateTimePickerConfig) => import('@golemui/dx').GslLeafSelector;
|
|
285
|
+
rangeCalendars: (config: import('.').GslRangeCalendarConfig, matcher?: ((decorator: import('./formDef.domain').RangeCalendarDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
286
|
+
rangeCalendarByUid: (uid: string, config: import('.').GslRangeCalendarConfig) => import('@golemui/dx').GslLeafSelector;
|
|
287
|
+
rangeDateInputs: (config: import('.').GslRangeDateInputConfig, matcher?: ((decorator: import('./formDef.domain').RangeDateInputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
288
|
+
rangeDateInputByUid: (uid: string, config: import('.').GslRangeDateInputConfig) => import('@golemui/dx').GslLeafSelector;
|
|
289
|
+
rangeTimeInputs: (config: import('.').GslRangeTimeInputConfig, matcher?: ((decorator: import('.').RangeTimeInputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
290
|
+
rangeTimeInputByUid: (uid: string, config: import('.').GslRangeTimeInputConfig) => import('@golemui/dx').GslLeafSelector;
|
|
291
|
+
rangeDateTimeInputs: (config: import('.').GslRangeDateTimeInputConfig, matcher?: ((decorator: import('.').RangeDateTimeInputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
292
|
+
rangeDateTimeInputByUid: (uid: string, config: import('.').GslRangeDateTimeInputConfig) => import('@golemui/dx').GslLeafSelector;
|
|
293
|
+
rangeDateTimeCalendars: (config: import('.').GslRangeDateTimeCalendarConfig, matcher?: ((decorator: import('.').RangeDateTimeCalendarDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
294
|
+
rangeDateTimeCalendarByUid: (uid: string, config: import('.').GslRangeDateTimeCalendarConfig) => import('@golemui/dx').GslLeafSelector;
|
|
295
|
+
rangeDateTimePickers: (config: import('.').GslRangeDateTimePickerConfig, matcher?: ((decorator: import('.').RangeDateTimePickerDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
296
|
+
rangeDateTimePickerByUid: (uid: string, config: import('.').GslRangeDateTimePickerConfig) => import('@golemui/dx').GslLeafSelector;
|
|
297
|
+
rangeDatePickers: (config: import('.').GslRangeDatePickerConfig, matcher?: ((decorator: import('./formDef.domain').RangeDatePickerDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
298
|
+
rangeDatePickerByUid: (uid: string, config: import('.').GslRangeDatePickerConfig) => import('@golemui/dx').GslLeafSelector;
|
|
299
|
+
rangeTimePickers: (config: import('.').GslRangeTimePickerConfig, matcher?: ((decorator: import('.').RangeTimePickerDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
300
|
+
rangeTimePickerByUid: (uid: string, config: import('.').GslRangeTimePickerConfig) => import('@golemui/dx').GslLeafSelector;
|
|
301
|
+
repeaters: (config: import('.').GslRepeaterConfig, matcher?: (decorator: import('./formDef.domain').RepeaterDecorator) => boolean) => import('@golemui/dx').GslLeafSelector;
|
|
302
|
+
repeaterByUid: (id: string, config: import('.').GslRepeaterConfig) => import('@golemui/dx').GslLeafSelector;
|
|
303
|
+
actions: (config: import('.').GslActionsConfig, matcher?: ((decorator: import('./formDef.domain').ActionDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
304
|
+
actionByUid: (uid: string, config: import('.').GslActionsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
305
|
+
layouts: (config: import('./shortcuts/layouts/layouts.domain').GslLayoutsConfig, matcher?: ((decorator: import('./shortcuts/layouts/layouts.domain').LayoutDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
306
|
+
layoutByUid: (uid: string, config: import('./shortcuts/layouts/layouts.domain').GslLayoutsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
307
|
+
displays: (config: import('.').GslDisplaysConfig, matcher?: ((decorator: import('.').DisplayDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
308
|
+
displayByUid: (uid: string, config: import('.').GslDisplaysConfig) => import('@golemui/dx').GslLeafSelector;
|
|
309
|
+
alerts: (config: import('.').GslAlertsConfig, matcher?: ((decorator: import('./formDef.domain').AlertDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
310
|
+
alertByUid: (uid: string, config: import('.').GslAlertsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
311
|
+
markdownTexts: (config: import('./shortcuts/markdown-text/markdownText.domain').GslMarkdownTextsConfig, matcher?: ((decorator: import('./shortcuts/markdown-text/markdownText.domain').MarkdownTextDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
312
|
+
markdownTextByUid: (uid: string, config: import('./shortcuts/markdown-text/markdownText.domain').GslMarkdownTextsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
313
|
+
tabs: (config: import('.').GslTabsConfig, matcher?: ((decorator: import('./formDef.domain').TabsDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
314
|
+
tabsByUid: (uid: string, config: import('.').GslTabsConfig) => import('@golemui/dx').GslLeafSelector;
|
|
315
|
+
accordions: (config: import('.').GslAccordionConfig, matcher?: ((decorator: import('./formDef.domain').AccordionDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
316
|
+
accordionByUid: (uid: string, config: import('.').GslAccordionConfig) => import('@golemui/dx').GslLeafSelector;
|
|
317
|
+
customInputs: (config: import('.').GslCustomInputConfig, matcher?: ((decorator: import('.').CustomInputDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
318
|
+
customInputByUid: (uid: string, config: import('.').GslCustomInputConfig) => import('@golemui/dx').GslLeafSelector;
|
|
319
|
+
customActions: (config: import('.').GslCustomActionConfig, matcher?: ((decorator: import('.').CustomActionDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
320
|
+
customActionByUid: (uid: string, config: import('.').GslCustomActionConfig) => import('@golemui/dx').GslLeafSelector;
|
|
321
|
+
customDisplays: (config: import('.').GslCustomDisplayConfig, matcher?: ((decorator: import('.').CustomDisplayDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
322
|
+
customDisplayByUid: (uid: string, config: import('.').GslCustomDisplayConfig) => import('@golemui/dx').GslLeafSelector;
|
|
323
|
+
customLayouts: (config: import('.').GslCustomLayoutConfig, matcher?: ((decorator: import('.').CustomLayoutDecorator) => boolean) | undefined) => import('@golemui/dx').GslLeafSelector;
|
|
324
|
+
customLayoutByUid: (uid: string, config: import('.').GslCustomLayoutConfig) => import('@golemui/dx').GslLeafSelector;
|
|
325
|
+
}>;
|
|
97
326
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UiState } from '@golemui/core';
|
|
2
|
+
import { DxFormConfig as DxFormConfigOf, DxResult as DxResultOf, FormConfig as FormConfigOf, ResolvedFormInput as ResolvedFormInputOf } from '@golemui/dx';
|
|
3
|
+
import { Dependencies } from '../shared';
|
|
4
|
+
/** Form-level settings, with the gui dependency keys typed. */
|
|
5
|
+
export type FormConfig = FormConfigOf<Dependencies>;
|
|
6
|
+
/**
|
|
7
|
+
* Form-level settings for `processDxFacade`'s third argument, generic over the
|
|
8
|
+
* declared state names, with the gui dependency keys typed.
|
|
9
|
+
*/
|
|
10
|
+
export type DxFormConfig<S extends string = string> = DxFormConfigOf<S, Dependencies>;
|
|
11
|
+
/** The DX pipeline output, with the gui dependency keys typed. */
|
|
12
|
+
export type DxResult<S extends UiState = never, F extends Record<string, any> = any> = DxResultOf<S, F, Dependencies>;
|
|
13
|
+
/** The resolved framework form input, with the gui dependency keys typed. */
|
|
14
|
+
export type ResolvedFormInput<FormData extends Record<string, any> = any> = ResolvedFormInputOf<FormData, Dependencies>;
|
package/lib/dx/index.d.ts
CHANGED
|
@@ -82,7 +82,8 @@ export { _gslTimeInputByUid, _gslTimeInputs } from './shortcuts/time-input/regis
|
|
|
82
82
|
export { _gslTimePickerByUid, _gslTimePickers } from './shortcuts/time-picker/register';
|
|
83
83
|
export { _gslStates } from './shortcuts/scopes/gslStates.impl';
|
|
84
84
|
export { _gslTag } from './shortcuts/scopes/gslTag.impl';
|
|
85
|
-
export type {
|
|
85
|
+
export type { GslSelectorsInput } from '@golemui/dx';
|
|
86
|
+
export type { DxFormConfig, FormConfig } from './guiDependencyTypes';
|
|
86
87
|
export type { DxRuntimeParams } from '@golemui/dx';
|
|
87
88
|
export type { DxValidator } from '@golemui/dx';
|
|
88
89
|
export { formDefs } from './formDefs';
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ExpressionFunctions, ValidateOn, Action, I18nTranslator, Middleware, State } from '@golemui/core';
|
|
2
2
|
import { CustomValidatorSchemas } from '@golemui/gui-validators';
|
|
3
|
-
import {
|
|
3
|
+
import { GslSelectorsInput, FormInput } from '@golemui/dx';
|
|
4
4
|
import { Dependencies } from '../shared';
|
|
5
|
+
import { DxFormConfig } from './guiDependencyTypes';
|
|
5
6
|
export { isDxDefinitions } from '@golemui/dx';
|
|
6
|
-
export type { FormInput
|
|
7
|
+
export type { FormInput } from '@golemui/dx';
|
|
8
|
+
export type { ResolvedFormInput } from './guiDependencyTypes';
|
|
7
9
|
export interface GuiFormInitConfig {
|
|
8
10
|
formDef: FormInput;
|
|
9
11
|
formSelectors?: GslSelectorsInput;
|
|
@@ -29,4 +31,4 @@ export interface GuiFormInitConfig {
|
|
|
29
31
|
/**
|
|
30
32
|
* @internal Used by framework Form wrappers, not part of the end-user public API.
|
|
31
33
|
*/
|
|
32
|
-
export declare const resolveFormInput: import('@golemui/dx').ResolveFormInputFn
|
|
34
|
+
export declare const resolveFormInput: import('@golemui/dx').ResolveFormInputFn<Dependencies>;
|
package/lib/shared.d.ts
CHANGED
|
@@ -1 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Dependencies are any 3rd party service components may need internally.
|
|
3
|
+
* e.g. a markdown parser for the Markdown component
|
|
4
|
+
*
|
|
5
|
+
* This is the gui widget set's narrowing of the open `Dependencies` shape
|
|
6
|
+
* declared by `@golemui/dx`, listing the keys the gui components read.
|
|
7
|
+
*/
|
|
8
|
+
export type Dependencies = {
|
|
9
|
+
/**
|
|
10
|
+
* The markdown parser used by the markdown component
|
|
11
|
+
* Popular options are Snarkdown, Micromark and Marked.
|
|
12
|
+
*/
|
|
13
|
+
markdown?: {
|
|
14
|
+
parse: (markdown: string) => string;
|
|
15
|
+
};
|
|
16
|
+
};
|
package/lib/widgets.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export declare const inputWidgets: readonly ["calendar", "dateTimeCalendar", "ch
|
|
|
2
2
|
export declare const layoutWidgets: readonly ["accordion", "flex", "grid", "tabs"];
|
|
3
3
|
export declare const displayWidgets: readonly ["alert", "markdownText", "renderer"];
|
|
4
4
|
export declare const actionWidgets: readonly ["button"];
|
|
5
|
-
export declare const golemWidgets: ("number" | "button" | "repeater" | "flex" | "tags" | "
|
|
5
|
+
export declare const golemWidgets: ("number" | "button" | "repeater" | "flex" | "tags" | "toggle" | "textinput" | "renderer" | "calendar" | "dateTimeCalendar" | "dateTimePicker" | "textarea" | "password" | "checkbox" | "dateInput" | "timeInput" | "timePicker" | "dateTimeInput" | "currency" | "rangeCalendar" | "select" | "radiogroup" | "tabs" | "list" | "alert" | "markdownText" | "datePicker" | "dropdown" | "accordion" | "markdown" | "rangeDateInput" | "rangeTimeInput" | "rangeDateTimeInput" | "rangeDateTimeCalendar" | "rangeDateTimePicker" | "rangeDatePicker" | "rangeTimePicker" | "grid")[];
|
|
6
6
|
export type GolemInputWidget = (typeof inputWidgets)[number];
|
|
7
7
|
export type GolemLayoutWidget = (typeof layoutWidgets)[number];
|
|
8
8
|
export type GolemDisplayWidget = (typeof displayWidgets)[number];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemui/gui-shared",
|
|
3
|
-
"version": "1.1.1-rc.
|
|
3
|
+
"version": "1.1.1-rc.3",
|
|
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.1.1-rc.
|
|
38
|
-
"@golemui/dx": "1.1.1-rc.
|
|
39
|
-
"@golemui/gui-validators": "1.1.1-rc.
|
|
37
|
+
"@golemui/core": "1.1.1-rc.3",
|
|
38
|
+
"@golemui/dx": "1.1.1-rc.3",
|
|
39
|
+
"@golemui/gui-validators": "1.1.1-rc.3"
|
|
40
40
|
},
|
|
41
41
|
"repository": {
|
|
42
42
|
"type": "git",
|