@golemui/gui-shared 0.0.2 → 0.12.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.
Files changed (130) hide show
  1. package/CHANGELOG.md +2 -10
  2. package/README.md +15 -6
  3. package/index.d.ts +4 -3
  4. package/index.js +2363 -104
  5. package/index.umd.cjs +1 -1
  6. package/lib/dx/__tests__/helpers.d.ts +30 -0
  7. package/lib/dx/core/defineShortcutType.d.ts +38 -0
  8. package/lib/dx/core/dx.domain.d.ts +76 -0
  9. package/lib/dx/core/dxBase.types.d.ts +107 -0
  10. package/lib/dx/core/dxPropsHelper.d.ts +9 -0
  11. package/lib/dx/core/dxUtilityTypes.d.ts +40 -0
  12. package/lib/dx/core/dxValidatorHelper.d.ts +18 -0
  13. package/lib/dx/core/eventWiring.service.d.ts +22 -0
  14. package/lib/dx/core/itemTypeRegistry.d.ts +82 -0
  15. package/lib/dx/core/itemWalker.service.d.ts +31 -0
  16. package/lib/dx/core/selectorNormalizer.service.d.ts +15 -0
  17. package/lib/dx/core/selectorResolver.service.d.ts +11 -0
  18. package/lib/dx/core/sharedSensibleDefaults.service.d.ts +35 -0
  19. package/lib/dx/core/stateExpansion.service.d.ts +31 -0
  20. package/lib/dx/core/widgetMapper.service.d.ts +13 -0
  21. package/lib/dx/core/widgetMerger.service.d.ts +14 -0
  22. package/lib/dx/dx.service.d.ts +40 -0
  23. package/lib/dx/formDef.domain.d.ts +52 -0
  24. package/lib/dx/gui.d.ts +74 -0
  25. package/lib/dx/index.d.ts +100 -0
  26. package/lib/dx/registerAll.d.ts +0 -0
  27. package/lib/dx/resolveFormInput.d.ts +37 -0
  28. package/lib/dx/shortcuts/accordion/accordion.domain.d.ts +20 -0
  29. package/lib/dx/shortcuts/accordion/guiAccordion.impl.d.ts +12 -0
  30. package/lib/dx/shortcuts/accordion/register.d.ts +2 -0
  31. package/lib/dx/shortcuts/actions/actions.domain.d.ts +21 -0
  32. package/lib/dx/shortcuts/actions/guiActions.impl.d.ts +7 -0
  33. package/lib/dx/shortcuts/actions/register.d.ts +2 -0
  34. package/lib/dx/shortcuts/alert/alert.domain.d.ts +9 -0
  35. package/lib/dx/shortcuts/alert/guiAlert.impl.d.ts +6 -0
  36. package/lib/dx/shortcuts/alert/register.d.ts +2 -0
  37. package/lib/dx/shortcuts/calendar/calendar.domain.d.ts +21 -0
  38. package/lib/dx/shortcuts/calendar/calendarSensibleDefaults.service.d.ts +6 -0
  39. package/lib/dx/shortcuts/calendar/guiCalendar.impl.d.ts +6 -0
  40. package/lib/dx/shortcuts/calendar/register.d.ts +2 -0
  41. package/lib/dx/shortcuts/checkbox/checkbox.domain.d.ts +16 -0
  42. package/lib/dx/shortcuts/checkbox/guiCheckbox.impl.d.ts +6 -0
  43. package/lib/dx/shortcuts/checkbox/register.d.ts +2 -0
  44. package/lib/dx/shortcuts/currency/currency.domain.d.ts +17 -0
  45. package/lib/dx/shortcuts/currency/guiCurrency.impl.d.ts +6 -0
  46. package/lib/dx/shortcuts/currency/register.d.ts +2 -0
  47. package/lib/dx/shortcuts/custom-action/customAction.domain.d.ts +14 -0
  48. package/lib/dx/shortcuts/custom-action/guiCustomAction.impl.d.ts +6 -0
  49. package/lib/dx/shortcuts/custom-action/register.d.ts +2 -0
  50. package/lib/dx/shortcuts/custom-display/customDisplay.domain.d.ts +9 -0
  51. package/lib/dx/shortcuts/custom-display/guiCustomDisplay.impl.d.ts +8 -0
  52. package/lib/dx/shortcuts/custom-display/register.d.ts +2 -0
  53. package/lib/dx/shortcuts/custom-input/customInput.domain.d.ts +16 -0
  54. package/lib/dx/shortcuts/custom-input/guiCustomInput.impl.d.ts +6 -0
  55. package/lib/dx/shortcuts/custom-input/register.d.ts +2 -0
  56. package/lib/dx/shortcuts/custom-layout/customLayout.domain.d.ts +13 -0
  57. package/lib/dx/shortcuts/custom-layout/guiCustomLayout.impl.d.ts +7 -0
  58. package/lib/dx/shortcuts/custom-layout/register.d.ts +2 -0
  59. package/lib/dx/shortcuts/date-input/dateInput.domain.d.ts +16 -0
  60. package/lib/dx/shortcuts/date-input/guiDateInput.impl.d.ts +6 -0
  61. package/lib/dx/shortcuts/date-input/register.d.ts +2 -0
  62. package/lib/dx/shortcuts/date-picker/datePicker.domain.d.ts +17 -0
  63. package/lib/dx/shortcuts/date-picker/guiDatePicker.impl.d.ts +7 -0
  64. package/lib/dx/shortcuts/date-picker/register.d.ts +2 -0
  65. package/lib/dx/shortcuts/display/display.domain.d.ts +13 -0
  66. package/lib/dx/shortcuts/display/guiDisplay.impl.d.ts +3 -0
  67. package/lib/dx/shortcuts/display/register.d.ts +2 -0
  68. package/lib/dx/shortcuts/dropdown/dropdown.domain.d.ts +18 -0
  69. package/lib/dx/shortcuts/dropdown/guiDropdown.impl.d.ts +7 -0
  70. package/lib/dx/shortcuts/dropdown/register.d.ts +2 -0
  71. package/lib/dx/shortcuts/inputs/gslInputSubtypes.d.ts +4 -0
  72. package/lib/dx/shortcuts/inputs/guiBooleanInput.impl.d.ts +6 -0
  73. package/lib/dx/shortcuts/inputs/guiInputs.impl.d.ts +2 -0
  74. package/lib/dx/shortcuts/inputs/guiNumberInput.impl.d.ts +6 -0
  75. package/lib/dx/shortcuts/inputs/guiTextInput.impl.d.ts +6 -0
  76. package/lib/dx/shortcuts/inputs/inputDefsByKey.service.d.ts +11 -0
  77. package/lib/dx/shortcuts/inputs/inputSensibleDefaults.service.d.ts +9 -0
  78. package/lib/dx/shortcuts/inputs/inputTypeDefaults.service.d.ts +9 -0
  79. package/lib/dx/shortcuts/inputs/inputs.domain.d.ts +51 -0
  80. package/lib/dx/shortcuts/inputs/register.d.ts +2 -0
  81. package/lib/dx/shortcuts/layouts/guiFlex.impl.d.ts +8 -0
  82. package/lib/dx/shortcuts/layouts/layouts.domain.d.ts +31 -0
  83. package/lib/dx/shortcuts/layouts/register.d.ts +2 -0
  84. package/lib/dx/shortcuts/list/guiList.impl.d.ts +7 -0
  85. package/lib/dx/shortcuts/list/list.domain.d.ts +17 -0
  86. package/lib/dx/shortcuts/list/register.d.ts +2 -0
  87. package/lib/dx/shortcuts/markdown/guiMarkdown.impl.d.ts +6 -0
  88. package/lib/dx/shortcuts/markdown/markdown.domain.d.ts +17 -0
  89. package/lib/dx/shortcuts/markdown/register.d.ts +2 -0
  90. package/lib/dx/shortcuts/password/guiPassword.impl.d.ts +6 -0
  91. package/lib/dx/shortcuts/password/password.domain.d.ts +17 -0
  92. package/lib/dx/shortcuts/password/register.d.ts +2 -0
  93. package/lib/dx/shortcuts/radiogroup/guiRadiogroup.impl.d.ts +7 -0
  94. package/lib/dx/shortcuts/radiogroup/radiogroup.domain.d.ts +17 -0
  95. package/lib/dx/shortcuts/radiogroup/register.d.ts +2 -0
  96. package/lib/dx/shortcuts/range-calendar/guiRangeCalendar.impl.d.ts +6 -0
  97. package/lib/dx/shortcuts/range-calendar/rangeCalendar.domain.d.ts +16 -0
  98. package/lib/dx/shortcuts/range-calendar/register.d.ts +2 -0
  99. package/lib/dx/shortcuts/range-date-input/guiRangeDateInput.impl.d.ts +6 -0
  100. package/lib/dx/shortcuts/range-date-input/rangeDateInput.domain.d.ts +16 -0
  101. package/lib/dx/shortcuts/range-date-input/register.d.ts +2 -0
  102. package/lib/dx/shortcuts/range-date-picker/guiRangeDatePicker.impl.d.ts +6 -0
  103. package/lib/dx/shortcuts/range-date-picker/rangeDatePicker.domain.d.ts +17 -0
  104. package/lib/dx/shortcuts/range-date-picker/register.d.ts +2 -0
  105. package/lib/dx/shortcuts/repeater/guiRepeater.impl.d.ts +6 -0
  106. package/lib/dx/shortcuts/repeater/register.d.ts +3 -0
  107. package/lib/dx/shortcuts/repeater/repeater.domain.d.ts +21 -0
  108. package/lib/dx/shortcuts/scopes/gslStates.impl.d.ts +11 -0
  109. package/lib/dx/shortcuts/scopes/gslTag.impl.d.ts +2 -0
  110. package/lib/dx/shortcuts/scopes/scopeChain.d.ts +99 -0
  111. package/lib/dx/shortcuts/select/guiSelect.impl.d.ts +7 -0
  112. package/lib/dx/shortcuts/select/register.d.ts +2 -0
  113. package/lib/dx/shortcuts/select/select.domain.d.ts +18 -0
  114. package/lib/dx/shortcuts/tabs/guiTabs.impl.d.ts +12 -0
  115. package/lib/dx/shortcuts/tabs/register.d.ts +2 -0
  116. package/lib/dx/shortcuts/tabs/tabs.domain.d.ts +17 -0
  117. package/lib/dx/shortcuts/textarea/guiTextarea.impl.d.ts +6 -0
  118. package/lib/dx/shortcuts/textarea/register.d.ts +2 -0
  119. package/lib/dx/shortcuts/textarea/textarea.domain.d.ts +17 -0
  120. package/lib/golem-form.d.ts +18 -3
  121. package/lib/shared.d.ts +13 -0
  122. package/lib/utils/index.d.ts +2 -0
  123. package/lib/utils/objectUtils.service.d.ts +11 -0
  124. package/lib/utils/repeater.d.ts +9 -0
  125. package/lib/utils/schema.d.ts +14 -0
  126. package/lib/widget.factory.d.ts +4 -2
  127. package/lib/widget.props.d.ts +99 -7
  128. package/lib/widgets.d.ts +9 -9
  129. package/package.json +8 -3
  130. package/lib/middleware/json-schema-vanilla.d.ts +0 -2
@@ -0,0 +1,14 @@
1
+ import { DxActionBase, DxCommonFields } from '../../core/dxBase.types';
2
+ import { DefOrCallback, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
3
+ export interface CustomActionDecorator extends DxActionBase, DxCommonFields {
4
+ customType: string;
5
+ props?: Record<string, unknown>;
6
+ onClick?: ((data: any) => void) | 'submit';
7
+ data?: any | null;
8
+ on?: {
9
+ click: string;
10
+ };
11
+ }
12
+ export type GslCustomActionConfig = GslConfigBase<CustomActionDecorator>;
13
+ export type CustomActionEntry = DefOrCallback<CustomActionDecorator>;
14
+ export type GuiCustomActionShortcut = GuiShortcutOf<'CUSTOM_ACTION', CustomActionEntry>;
@@ -0,0 +1,6 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { CustomActionDecorator, GuiCustomActionShortcut } from './customAction.domain';
3
+ type CustomActionFactoryProps = Omit<CustomActionDecorator, 'customType'>;
4
+ export declare function _guiCustomAction(type: string, props?: CustomActionFactoryProps, tags?: string[]): GuiCustomActionShortcut;
5
+ export declare function _guiCustomAction(type: string, callback: (params: DxRuntimeParams) => CustomActionFactoryProps, tags?: string[]): GuiCustomActionShortcut;
6
+ export {};
@@ -0,0 +1,2 @@
1
+ import { CustomActionDecorator, GslCustomActionConfig } from './customAction.domain';
2
+ export declare const _gslCustomActions: (config: GslCustomActionConfig, matcher?: ((decorator: CustomActionDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslCustomActionByUid: (uid: string, config: GslCustomActionConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,9 @@
1
+ import { DxCommonFields, DxDisplayBase } from '../../core/dxBase.types';
2
+ import { DefOrCallback, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
3
+ export interface CustomDisplayDecorator extends DxDisplayBase, DxCommonFields {
4
+ customType: string;
5
+ props?: Record<string, unknown>;
6
+ }
7
+ export type GslCustomDisplayConfig = GslConfigBase<CustomDisplayDecorator>;
8
+ export type CustomDisplayEntry = DefOrCallback<CustomDisplayDecorator>;
9
+ export type GuiCustomDisplayShortcut = GuiShortcutOf<'CUSTOM_DISPLAY', CustomDisplayEntry>;
@@ -0,0 +1,8 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { CustomDisplayDecorator, GuiCustomDisplayShortcut } from './customDisplay.domain';
3
+ type CustomDisplayFactoryProps = Omit<CustomDisplayDecorator, 'customType'>;
4
+ export declare function _guiCustomDisplay(type: string, props?: Record<string, unknown> & {
5
+ uid?: string;
6
+ }, tags?: string[]): GuiCustomDisplayShortcut;
7
+ export declare function _guiCustomDisplay(type: string, callback: (params: DxRuntimeParams) => CustomDisplayFactoryProps, tags?: string[]): GuiCustomDisplayShortcut;
8
+ export {};
@@ -0,0 +1,2 @@
1
+ import { CustomDisplayDecorator, GslCustomDisplayConfig } from './customDisplay.domain';
2
+ export declare const _gslCustomDisplays: (config: GslCustomDisplayConfig, matcher?: ((decorator: CustomDisplayDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslCustomDisplayByUid: (uid: string, config: GslCustomDisplayConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,16 @@
1
+ import { Validator } from '@golemui/gui-validators';
2
+ import { DxCommonFields, DxInputBase } from '../../core/dxBase.types';
3
+ import { DefOrCallback, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
4
+ export interface CustomInputDecorator extends DxInputBase, DxCommonFields {
5
+ customType: string;
6
+ props?: Record<string, unknown>;
7
+ validator?: Validator;
8
+ }
9
+ export interface GslCustomInputConfig extends GslConfigBase<CustomInputDecorator> {
10
+ suppressAutomaticLabels?: boolean;
11
+ }
12
+ export type CustomInputEntry = {
13
+ key: string;
14
+ def: DefOrCallback<CustomInputDecorator>;
15
+ };
16
+ export type GuiCustomInputShortcut = GuiShortcutOf<'CUSTOM_INPUT', CustomInputEntry>;
@@ -0,0 +1,6 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { CustomInputDecorator, GuiCustomInputShortcut } from './customInput.domain';
3
+ type CustomInputFactoryProps = Omit<CustomInputDecorator, 'customType'>;
4
+ export declare function _guiCustomInput(type: string, path: string, props?: CustomInputFactoryProps, tags?: string[]): GuiCustomInputShortcut;
5
+ export declare function _guiCustomInput(type: string, path: string, callback: (params: DxRuntimeParams) => CustomInputFactoryProps, tags?: string[]): GuiCustomInputShortcut;
6
+ export {};
@@ -0,0 +1,2 @@
1
+ import { CustomInputDecorator, GslCustomInputConfig } from './customInput.domain';
2
+ export declare const _gslCustomInputs: (config: GslCustomInputConfig, matcher?: ((decorator: CustomInputDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslCustomInputByUid: (uid: string, config: GslCustomInputConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,13 @@
1
+ import { ValidGuiShortcut } from '../../core/dx.domain';
2
+ import { DxCommonFields, DxLayoutBase } from '../../core/dxBase.types';
3
+ import { DefOrCallback, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
4
+ export interface CustomLayoutDecorator extends DxLayoutBase, DxCommonFields {
5
+ customType: string;
6
+ props?: Record<string, unknown>;
7
+ }
8
+ export type GslCustomLayoutConfig = GslConfigBase<CustomLayoutDecorator>;
9
+ export type CustomLayoutEntry = {
10
+ def: DefOrCallback<CustomLayoutDecorator>;
11
+ children: ValidGuiShortcut[];
12
+ };
13
+ export type GuiCustomLayoutShortcut = GuiShortcutOf<'CUSTOM_LAYOUT', CustomLayoutEntry>;
@@ -0,0 +1,7 @@
1
+ import { ValidGuiShortcut } from '../../core/dx.domain';
2
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
3
+ import { CustomLayoutDecorator, GuiCustomLayoutShortcut } from './customLayout.domain';
4
+ type CustomLayoutFactoryProps = Omit<CustomLayoutDecorator, 'customType'>;
5
+ export declare function _guiCustomLayout(type: string, children: ValidGuiShortcut[], props?: CustomLayoutFactoryProps, tags?: string[]): GuiCustomLayoutShortcut;
6
+ export declare function _guiCustomLayout(type: string, children: ValidGuiShortcut[], callback: (params: DxRuntimeParams) => CustomLayoutFactoryProps, tags?: string[]): GuiCustomLayoutShortcut;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ import { CustomLayoutDecorator, GslCustomLayoutConfig } from './customLayout.domain';
2
+ export declare const _gslCustomLayouts: (config: GslCustomLayoutConfig, matcher?: ((decorator: CustomLayoutDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslCustomLayoutByUid: (uid: string, config: GslCustomLayoutConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,16 @@
1
+ import { StringValidator } from '@golemui/gui-validators';
2
+ import { DateinputProps } from '../../../widget.props';
3
+ import { DxCommonFields, DxInputBase } from '../../core/dxBase.types';
4
+ import { DefOrCallback, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
5
+ export interface DateInputDecorator extends DxInputBase, DxCommonFields, Partial<DateinputProps> {
6
+ type: 'dateInput';
7
+ validator?: Omit<StringValidator, 'type'>;
8
+ }
9
+ export interface GslDateInputConfig extends GslConfigBase<DateInputDecorator> {
10
+ suppressAutomaticLabels?: boolean;
11
+ }
12
+ export type DateInputEntry = {
13
+ key: string;
14
+ def: DefOrCallback<DateInputDecorator>;
15
+ };
16
+ export type GuiDateInputShortcut = GuiShortcutOf<'DATE_INPUT', DateInputEntry>;
@@ -0,0 +1,6 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { DateInputDecorator, GuiDateInputShortcut } from './dateInput.domain';
3
+ export declare function _guiDateInput(path: string): GuiDateInputShortcut;
4
+ export declare function _guiDateInput(path: string, props: Partial<Omit<DateInputDecorator, 'type'>>): GuiDateInputShortcut;
5
+ export declare function _guiDateInput(path: string, props: Partial<Omit<DateInputDecorator, 'type'>>, tags: string[]): GuiDateInputShortcut;
6
+ export declare function _guiDateInput(path: string, callback: (params: DxRuntimeParams) => Partial<Omit<DateInputDecorator, 'type'>>, tags?: string[]): GuiDateInputShortcut;
@@ -0,0 +1,2 @@
1
+ import { DateInputDecorator, GslDateInputConfig } from './dateInput.domain';
2
+ export declare const _gslDateInputs: (config: GslDateInputConfig, matcher?: ((decorator: DateInputDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslDateInputByUid: (uid: string, config: GslDateInputConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,17 @@
1
+ import { StringValidator } from '@golemui/gui-validators';
2
+ import { DatePickerProps } from '../../../widget.props';
3
+ import { DxCommonFields, DxInputBase } from '../../core/dxBase.types';
4
+ import { DefOrCallback, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
5
+ export interface DatePickerDecorator extends DxInputBase, DxCommonFields, Partial<DatePickerProps> {
6
+ type: 'datePicker';
7
+ validator?: Omit<StringValidator, 'type'>;
8
+ }
9
+ export interface GslDatePickerConfig extends GslConfigBase<DatePickerDecorator> {
10
+ suppressAutomaticLabels?: boolean;
11
+ suppressAutomaticPlaceholders?: boolean;
12
+ }
13
+ export type DatePickerEntry = {
14
+ key: string;
15
+ def: DefOrCallback<DatePickerDecorator>;
16
+ };
17
+ export type GuiDatePickerShortcut = GuiShortcutOf<'DATE_PICKER', DatePickerEntry>;
@@ -0,0 +1,7 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { DatePickerDecorator, GuiDatePickerShortcut } from './datePicker.domain';
3
+ type DatePickerFactoryProps = Omit<DatePickerDecorator, 'type'>;
4
+ export declare function _guiDatePicker(path: string, props: DatePickerFactoryProps): GuiDatePickerShortcut;
5
+ export declare function _guiDatePicker(path: string, props: DatePickerFactoryProps, tags: string[]): GuiDatePickerShortcut;
6
+ export declare function _guiDatePicker(path: string, callback: (params: DxRuntimeParams) => DatePickerFactoryProps, tags?: string[]): GuiDatePickerShortcut;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ import { DatePickerDecorator, GslDatePickerConfig } from './datePicker.domain';
2
+ export declare const _gslDatePickers: (config: GslDatePickerConfig, matcher?: ((decorator: DatePickerDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslDatePickerByUid: (uid: string, config: GslDatePickerConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,13 @@
1
+ import { DxCommonFields, DxDisplayBase, DxInternalFields } from '../../core/dxBase.types';
2
+ import { DxRuntimeParams, DefOrCallback, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
3
+ export interface DisplayDecorator extends DxDisplayBase, DxCommonFields {
4
+ render: (params: DxRuntimeParams) => any;
5
+ }
6
+ /**
7
+ * Full decorator type including pipeline-internal fields.
8
+ */
9
+ export type DisplayDecoratorFull = DisplayDecorator & DxInternalFields;
10
+ export type DisplaySensibleDefaultsConfig = Record<string, never>;
11
+ export type GslDisplaysConfig = GslConfigBase<DisplayDecorator>;
12
+ export type DisplayEntry = DefOrCallback<DisplayDecorator>;
13
+ export type GuiDisplayItemsShortcut = GuiShortcutOf<'DISPLAYS', DisplayEntry>;
@@ -0,0 +1,3 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { GuiDisplayItemsShortcut } from './display.domain';
3
+ export declare const _guiDisplay: (render: (params: DxRuntimeParams) => any, tags?: string[]) => GuiDisplayItemsShortcut;
@@ -0,0 +1,2 @@
1
+ import { DisplayDecorator, GslDisplaysConfig } from './display.domain';
2
+ export declare const _gslDisplays: (config: GslDisplaysConfig, matcher?: ((decorator: DisplayDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslDisplayByUid: (uid: string, config: GslDisplaysConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,18 @@
1
+ import { Validator } from '@golemui/gui-validators';
2
+ import { DropdownProps, ListItem, OptionValue } from '../../../widget.props';
3
+ import { DxCommonFields, DxInputBase } from '../../core/dxBase.types';
4
+ import { DefOrCallback, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
5
+ export interface DropdownDecorator extends DxInputBase, DxCommonFields, Partial<Omit<DropdownProps<any>, 'items'>> {
6
+ type: 'dropdown';
7
+ items?: ListItem<any>[] | OptionValue[] | Record<string, unknown>[];
8
+ validator?: Validator;
9
+ }
10
+ export interface GslDropdownConfig extends GslConfigBase<DropdownDecorator> {
11
+ suppressAutomaticLabels?: boolean;
12
+ suppressAutomaticPlaceholders?: boolean;
13
+ }
14
+ export type DropdownEntry = {
15
+ key: string;
16
+ def: DefOrCallback<DropdownDecorator>;
17
+ };
18
+ export type GuiDropdownShortcut = GuiShortcutOf<'DROPDOWN', DropdownEntry>;
@@ -0,0 +1,7 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { DropdownDecorator, GuiDropdownShortcut } from './dropdown.domain';
3
+ type DropdownFactoryProps = Omit<DropdownDecorator, 'type'>;
4
+ export declare function _guiDropdown(path: string, props: DropdownFactoryProps): GuiDropdownShortcut;
5
+ export declare function _guiDropdown(path: string, props: DropdownFactoryProps, tags: string[]): GuiDropdownShortcut;
6
+ export declare function _guiDropdown(path: string, callback: (params: DxRuntimeParams) => DropdownFactoryProps, tags?: string[]): GuiDropdownShortcut;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ import { DropdownDecorator, GslDropdownConfig } from './dropdown.domain';
2
+ export declare const _gslDropdowns: (config: GslDropdownConfig, matcher?: ((decorator: DropdownDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslDropdownByUid: (uid: string, config: GslDropdownConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,4 @@
1
+ import { GslInputsConfig } from './inputs.domain';
2
+ export declare const _gslTextInputs: (config: GslInputsConfig) => import('../../core/dx.domain').GslLeafSelector;
3
+ export declare const _gslNumberInputs: (config: GslInputsConfig) => import('../../core/dx.domain').GslLeafSelector;
4
+ export declare const _gslBooleanInputs: (config: GslInputsConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,6 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { BooleanDataInputDecorator, GuiInputsShortcut } from './inputs.domain';
3
+ export declare function _guiBooleanInput(path: string): GuiInputsShortcut;
4
+ export declare function _guiBooleanInput(path: string, props: Partial<Omit<BooleanDataInputDecorator, 'type'>>): GuiInputsShortcut;
5
+ export declare function _guiBooleanInput(path: string, props: Partial<Omit<BooleanDataInputDecorator, 'type'>>, tags: string[]): GuiInputsShortcut;
6
+ export declare function _guiBooleanInput(path: string, callback: (params: DxRuntimeParams) => Partial<Omit<BooleanDataInputDecorator, 'type'>>, tags?: string[]): GuiInputsShortcut;
@@ -0,0 +1,2 @@
1
+ import { GuiInputsShortcut, SimpleFieldDef } from './inputs.domain';
2
+ export declare function _guiInputs(defs: Record<string, SimpleFieldDef>, tags?: string[]): GuiInputsShortcut;
@@ -0,0 +1,6 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { GuiInputsShortcut, NumberDataInputDecorator } from './inputs.domain';
3
+ export declare function _guiNumberInput(path: string): GuiInputsShortcut;
4
+ export declare function _guiNumberInput(path: string, props: Partial<Omit<NumberDataInputDecorator, 'type'>>): GuiInputsShortcut;
5
+ export declare function _guiNumberInput(path: string, props: Partial<Omit<NumberDataInputDecorator, 'type'>>, tags: string[]): GuiInputsShortcut;
6
+ export declare function _guiNumberInput(path: string, callback: (params: DxRuntimeParams) => Partial<Omit<NumberDataInputDecorator, 'type'>>, tags?: string[]): GuiInputsShortcut;
@@ -0,0 +1,6 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { GuiInputsShortcut, TextDataInputDecorator } from './inputs.domain';
3
+ export declare function _guiTextInput(path: string): GuiInputsShortcut;
4
+ export declare function _guiTextInput(path: string, props: Partial<Omit<TextDataInputDecorator, 'type'>>): GuiInputsShortcut;
5
+ export declare function _guiTextInput(path: string, props: Partial<Omit<TextDataInputDecorator, 'type'>>, tags: string[]): GuiInputsShortcut;
6
+ export declare function _guiTextInput(path: string, callback: (params: DxRuntimeParams) => Partial<Omit<TextDataInputDecorator, 'type'>>, tags?: string[]): GuiInputsShortcut;
@@ -0,0 +1,11 @@
1
+ import { InputTypeDefaults } from './inputTypeDefaults.service';
2
+ import { InputDefOrCallback, SimpleFieldDef } from './inputs.domain';
3
+ export type ProcessedDxFieldsByKey = Record<string, InputDefOrCallback>;
4
+ export declare class InputDefsByKeyService {
5
+ private readonly inputTypeDefaults;
6
+ constructor(inputTypeDefaults: InputTypeDefaults);
7
+ expandFields(fields: Record<string, SimpleFieldDef>): ProcessedDxFieldsByKey;
8
+ private expandField;
9
+ }
10
+ declare const inputDefsByKeyService: InputDefsByKeyService;
11
+ export default inputDefsByKeyService;
@@ -0,0 +1,9 @@
1
+ import { InputDecorator, InputSensibleDefaultsConfig } from './inputs.domain';
2
+ import { pathToLabel } from '../../core/sharedSensibleDefaults.service';
3
+ export { pathToLabel };
4
+ export declare class InputSensibleDefaultsService {
5
+ processAutomaticLabels(item: InputDecorator, currentConfig: InputSensibleDefaultsConfig): InputDecorator;
6
+ processAutomaticPlaceholders(item: InputDecorator, currentConfig: InputSensibleDefaultsConfig): InputDecorator;
7
+ }
8
+ declare const inputSensibleDefaultsService: InputSensibleDefaultsService;
9
+ export default inputSensibleDefaultsService;
@@ -0,0 +1,9 @@
1
+ import { InputDecorator, TextDataInputDecorator, DataInputDecorator, ValidShortcutType } from './inputs.domain';
2
+ export declare class InputTypeDefaults {
3
+ explodeShortcut(fieldDefRaw: ValidShortcutType): InputDecorator;
4
+ createDefaultStringDataInput(): TextDataInputDecorator;
5
+ createDefaultNumberDataInput(): DataInputDecorator;
6
+ createDefaultBooleanDataInput(): DataInputDecorator;
7
+ }
8
+ declare const inputTypeDefaults: InputTypeDefaults;
9
+ export default inputTypeDefaults;
@@ -0,0 +1,51 @@
1
+ import { BooleanValidator } from '@golemui/gui-validators';
2
+ import { NumberinputProps, TextinputProps, ToggleProps } from '../../../widget.props';
3
+ import { DxCommonFields, DxInputBase, DxInternalFields } from '../../core/dxBase.types';
4
+ import { DefOrCallback, DxRuntimeParams, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
5
+ import * as ValidatorsVanilla from '@golemui/gui-validators';
6
+ /**
7
+ * @deprecated Kept for backward compatibility in pipeline internals.
8
+ * New code should use the individual subtypes directly.
9
+ */
10
+ export interface DataInputDecorator extends DxInputBase, DxCommonFields {
11
+ type: 'text' | 'number' | 'boolean';
12
+ placeholder?: string;
13
+ }
14
+ export type NumberDataInputValidator = Omit<ValidatorsVanilla.NumberValidator, 'type'>;
15
+ export interface NumberDataInputDecorator extends DxInputBase, DxCommonFields, Partial<NumberinputProps> {
16
+ type: 'number';
17
+ validator?: NumberDataInputValidator;
18
+ }
19
+ export type TextDataInputValidator = Omit<ValidatorsVanilla.StringValidator, 'type'>;
20
+ export interface TextDataInputDecorator extends DxInputBase, DxCommonFields, Partial<TextinputProps> {
21
+ type: 'text';
22
+ validator?: TextDataInputValidator;
23
+ }
24
+ export interface BooleanDataInputDecorator extends DxInputBase, DxCommonFields, Partial<ToggleProps> {
25
+ type: 'boolean';
26
+ validator?: Omit<BooleanValidator, 'type'>;
27
+ }
28
+ export type InputDecorator = TextDataInputDecorator | NumberDataInputDecorator | BooleanDataInputDecorator;
29
+ /**
30
+ * Full decorator type including pipeline-internal fields.
31
+ * Used by the pipeline only — form authors use InputDecorator.
32
+ */
33
+ export type InputDecoratorFull = InputDecorator & DxInternalFields;
34
+ export type ValidShortcutType = 'string' | 'number' | 'boolean';
35
+ export type InputTags = [ValidShortcutType, ...string[]];
36
+ export type SimpleFieldDef = ValidShortcutType | InputTags;
37
+ export type { DxRuntimeParams };
38
+ export interface InputSensibleDefaultsConfig {
39
+ suppressAutomaticLabels?: boolean;
40
+ suppressAutomaticPlaceholders?: boolean;
41
+ }
42
+ export interface GslInputsConfig extends GslConfigBase<InputDecorator> {
43
+ suppressAutomaticLabels?: boolean;
44
+ suppressAutomaticPlaceholders?: boolean;
45
+ }
46
+ export type InputDefOrCallback = DefOrCallback<InputDecorator>;
47
+ export type InputEntry = {
48
+ key: string;
49
+ def: InputDefOrCallback;
50
+ };
51
+ export type GuiInputsShortcut = GuiShortcutOf<'INPUTS', InputEntry>;
@@ -0,0 +1,2 @@
1
+ import { InputDecorator, GslInputsConfig } from './inputs.domain';
2
+ export declare const _gslInputs: (config: GslInputsConfig, matcher?: ((decorator: InputDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslInputByUid: (uid: string, config: GslInputsConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,8 @@
1
+ import { ValidGuiShortcut } from '../../core/dx.domain';
2
+ import { FlexFamilyProps, GridFamilyProps, GuiLayoutItemsShortcut } from './layouts.domain';
3
+ export declare const _guiFlex: (children: ValidGuiShortcut[], props?: FlexFamilyProps, tags?: string[]) => GuiLayoutItemsShortcut;
4
+ export declare const _guiHorizontalFlex: (children: ValidGuiShortcut[], props?: Omit<FlexFamilyProps, "direction">, tags?: string[]) => GuiLayoutItemsShortcut;
5
+ export declare const _guiVerticalFlex: (children: ValidGuiShortcut[], props?: Omit<FlexFamilyProps, "direction">, tags?: string[]) => GuiLayoutItemsShortcut;
6
+ export declare const _guiGrid: (children: ValidGuiShortcut[], props?: GridFamilyProps, tags?: string[]) => GuiLayoutItemsShortcut;
7
+ export declare const _guiHorizontalGrid: (children: ValidGuiShortcut[], props?: Omit<GridFamilyProps, "direction">, tags?: string[]) => GuiLayoutItemsShortcut;
8
+ export declare const _guiVerticalGrid: (children: ValidGuiShortcut[], props?: Omit<GridFamilyProps, "direction">, tags?: string[]) => GuiLayoutItemsShortcut;
@@ -0,0 +1,31 @@
1
+ import { FlexProps, GridProps } from '../../../widget.props';
2
+ import { DxRuntimeParams, DefOrCallback, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
3
+ import { ValidGuiShortcut } from '../../core/dx.domain';
4
+ import { DxCommonFields, DxInternalFields, DxLayoutBase } from '../../core/dxBase.types';
5
+ export interface LayoutDecorator extends DxLayoutBase, DxCommonFields {
6
+ widgetName?: string;
7
+ direction?: FlexProps['direction'] | GridProps['direction'];
8
+ justify?: FlexProps['justify'];
9
+ align?: FlexProps['align'] | GridProps['align'];
10
+ gap?: FlexProps['gap'];
11
+ columnGap?: GridProps['columnGap'];
12
+ rowGap?: GridProps['rowGap'];
13
+ autoFit?: GridProps['autoFit'];
14
+ }
15
+ /** User-facing prop slot for the flex family (`gui.layouts.flex` and variants). */
16
+ export type FlexFamilyProps = FlexProps & DxLayoutBase & DxCommonFields;
17
+ /** User-facing prop slot for the grid family (`gui.layouts.grid` and variants). */
18
+ export type GridFamilyProps = GridProps & DxLayoutBase & DxCommonFields;
19
+ /**
20
+ * Full decorator type including pipeline-internal fields.
21
+ */
22
+ export type LayoutDecoratorFull = LayoutDecorator & DxInternalFields;
23
+ export type LayoutSensibleDefaultsConfig = Record<string, never>;
24
+ export type GslLayoutsConfig = GslConfigBase<LayoutDecorator>;
25
+ export type LayoutDefCallback = (params: DxRuntimeParams) => Partial<LayoutDecorator>;
26
+ export type LayoutDefOrCallback = DefOrCallback<LayoutDecorator>;
27
+ export type LayoutEntry = {
28
+ def: LayoutDefOrCallback;
29
+ children: ValidGuiShortcut[];
30
+ };
31
+ export type GuiLayoutItemsShortcut = GuiShortcutOf<'LAYOUTS', LayoutEntry>;
@@ -0,0 +1,2 @@
1
+ import { GslLayoutsConfig, LayoutDecorator } from './layouts.domain';
2
+ export declare const _gslLayouts: (config: GslLayoutsConfig, matcher?: ((decorator: LayoutDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslLayoutByUid: (uid: string, config: GslLayoutsConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,7 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { GuiListShortcut, ListDecorator } from './list.domain';
3
+ type ListFactoryProps = Omit<ListDecorator, 'type'>;
4
+ export declare function _guiList(path: string, props: ListFactoryProps): GuiListShortcut;
5
+ export declare function _guiList(path: string, props: ListFactoryProps, tags: string[]): GuiListShortcut;
6
+ export declare function _guiList(path: string, callback: (params: DxRuntimeParams) => ListFactoryProps, tags?: string[]): GuiListShortcut;
7
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Validator } from '@golemui/gui-validators';
2
+ import { ListItem, ListProps, OptionValue } from '../../../widget.props';
3
+ import { DxCommonFields, DxInputBase } from '../../core/dxBase.types';
4
+ import { DefOrCallback, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
5
+ export interface ListDecorator extends DxInputBase, DxCommonFields, Partial<Omit<ListProps<any>, 'items'>> {
6
+ type: 'list';
7
+ items?: ListItem<any>[] | OptionValue[] | Record<string, unknown>[];
8
+ validator?: Validator;
9
+ }
10
+ export interface GslListConfig extends GslConfigBase<ListDecorator> {
11
+ suppressAutomaticLabels?: boolean;
12
+ }
13
+ export type ListEntry = {
14
+ key: string;
15
+ def: DefOrCallback<ListDecorator>;
16
+ };
17
+ export type GuiListShortcut = GuiShortcutOf<'LIST', ListEntry>;
@@ -0,0 +1,2 @@
1
+ import { GslListConfig, ListDecorator } from './list.domain';
2
+ export declare const _gslLists: (config: GslListConfig, matcher?: ((decorator: ListDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslListByUid: (uid: string, config: GslListConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,6 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { GuiMarkdownShortcut, MarkdownDecorator } from './markdown.domain';
3
+ export declare function _guiMarkdown(path: string): GuiMarkdownShortcut;
4
+ export declare function _guiMarkdown(path: string, props: Partial<Omit<MarkdownDecorator, 'type'>>): GuiMarkdownShortcut;
5
+ export declare function _guiMarkdown(path: string, props: Partial<Omit<MarkdownDecorator, 'type'>>, tags: string[]): GuiMarkdownShortcut;
6
+ export declare function _guiMarkdown(path: string, callback: (params: DxRuntimeParams) => Partial<Omit<MarkdownDecorator, 'type'>>, tags?: string[]): GuiMarkdownShortcut;
@@ -0,0 +1,17 @@
1
+ import { StringValidator } from '@golemui/gui-validators';
2
+ import { MarkdownProps } from '../../../widget.props';
3
+ import { DxCommonFields, DxInputBase } from '../../core/dxBase.types';
4
+ import { DefOrCallback, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
5
+ export interface MarkdownDecorator extends DxInputBase, DxCommonFields, Partial<MarkdownProps> {
6
+ type: 'markdown';
7
+ validator?: Omit<StringValidator, 'type'>;
8
+ }
9
+ export interface GslMarkdownConfig extends GslConfigBase<MarkdownDecorator> {
10
+ suppressAutomaticLabels?: boolean;
11
+ suppressAutomaticPlaceholders?: boolean;
12
+ }
13
+ export type MarkdownEntry = {
14
+ key: string;
15
+ def: DefOrCallback<MarkdownDecorator>;
16
+ };
17
+ export type GuiMarkdownShortcut = GuiShortcutOf<'MARKDOWN', MarkdownEntry>;
@@ -0,0 +1,2 @@
1
+ import { GslMarkdownConfig, MarkdownDecorator } from './markdown.domain';
2
+ export declare const _gslMarkdowns: (config: GslMarkdownConfig, matcher?: ((decorator: MarkdownDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslMarkdownByUid: (uid: string, config: GslMarkdownConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,6 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { GuiPasswordShortcut, PasswordDecorator } from './password.domain';
3
+ export declare function _guiPassword(path: string): GuiPasswordShortcut;
4
+ export declare function _guiPassword(path: string, props: Partial<Omit<PasswordDecorator, 'type'>>): GuiPasswordShortcut;
5
+ export declare function _guiPassword(path: string, props: Partial<Omit<PasswordDecorator, 'type'>>, tags: string[]): GuiPasswordShortcut;
6
+ export declare function _guiPassword(path: string, callback: (params: DxRuntimeParams) => Partial<Omit<PasswordDecorator, 'type'>>, tags?: string[]): GuiPasswordShortcut;
@@ -0,0 +1,17 @@
1
+ import { StringValidator } from '@golemui/gui-validators';
2
+ import { PasswordProps } from '../../../widget.props';
3
+ import { DxCommonFields, DxInputBase } from '../../core/dxBase.types';
4
+ import { DefOrCallback, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
5
+ export interface PasswordDecorator extends DxInputBase, DxCommonFields, Partial<PasswordProps> {
6
+ type: 'password';
7
+ validator?: Omit<StringValidator, 'type'>;
8
+ }
9
+ export interface GslPasswordConfig extends GslConfigBase<PasswordDecorator> {
10
+ suppressAutomaticLabels?: boolean;
11
+ suppressAutomaticPlaceholders?: boolean;
12
+ }
13
+ export type PasswordEntry = {
14
+ key: string;
15
+ def: DefOrCallback<PasswordDecorator>;
16
+ };
17
+ export type GuiPasswordShortcut = GuiShortcutOf<'PASSWORD', PasswordEntry>;
@@ -0,0 +1,2 @@
1
+ import { GslPasswordConfig, PasswordDecorator } from './password.domain';
2
+ export declare const _gslPasswords: (config: GslPasswordConfig, matcher?: ((decorator: PasswordDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslPasswordByUid: (uid: string, config: GslPasswordConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,7 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { GuiRadiogroupShortcut, RadiogroupDecorator } from './radiogroup.domain';
3
+ type RadiogroupFactoryProps = Omit<RadiogroupDecorator, 'type'>;
4
+ export declare function _guiRadiogroup(path: string, props: RadiogroupFactoryProps): GuiRadiogroupShortcut;
5
+ export declare function _guiRadiogroup(path: string, props: RadiogroupFactoryProps, tags: string[]): GuiRadiogroupShortcut;
6
+ export declare function _guiRadiogroup(path: string, callback: (params: DxRuntimeParams) => RadiogroupFactoryProps, tags?: string[]): GuiRadiogroupShortcut;
7
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Validator } from '@golemui/gui-validators';
2
+ import { Option, OptionValue, RadiogroupProps } from '../../../widget.props';
3
+ import { DxCommonFields, DxInputBase } from '../../core/dxBase.types';
4
+ import { DefOrCallback, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
5
+ export interface RadiogroupDecorator extends DxInputBase, DxCommonFields, Partial<Omit<RadiogroupProps, 'options'>> {
6
+ type: 'radiogroup';
7
+ options?: Option[] | OptionValue[] | Record<string, unknown>[];
8
+ validator?: Validator;
9
+ }
10
+ export interface GslRadiogroupConfig extends GslConfigBase<RadiogroupDecorator> {
11
+ suppressAutomaticLabels?: boolean;
12
+ }
13
+ export type RadiogroupEntry = {
14
+ key: string;
15
+ def: DefOrCallback<RadiogroupDecorator>;
16
+ };
17
+ export type GuiRadiogroupShortcut = GuiShortcutOf<'RADIOGROUP', RadiogroupEntry>;
@@ -0,0 +1,2 @@
1
+ import { GslRadiogroupConfig, RadiogroupDecorator } from './radiogroup.domain';
2
+ export declare const _gslRadiogroups: (config: GslRadiogroupConfig, matcher?: ((decorator: RadiogroupDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslRadiogroupByUid: (uid: string, config: GslRadiogroupConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,6 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { GuiRangeCalendarShortcut, RangeCalendarDecorator } from './rangeCalendar.domain';
3
+ export declare function _guiRangeCalendar(path: string): GuiRangeCalendarShortcut;
4
+ export declare function _guiRangeCalendar(path: string, props: Partial<Omit<RangeCalendarDecorator, 'type'>>): GuiRangeCalendarShortcut;
5
+ export declare function _guiRangeCalendar(path: string, props: Partial<Omit<RangeCalendarDecorator, 'type'>>, tags: string[]): GuiRangeCalendarShortcut;
6
+ export declare function _guiRangeCalendar(path: string, callback: (params: DxRuntimeParams) => Partial<Omit<RangeCalendarDecorator, 'type'>>, tags?: string[]): GuiRangeCalendarShortcut;
@@ -0,0 +1,16 @@
1
+ import { ArrayValidator } from '@golemui/gui-validators';
2
+ import { RangeCalendarProps } from '../../../widget.props';
3
+ import { DxCommonFields, DxInputBase } from '../../core/dxBase.types';
4
+ import { DefOrCallback, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
5
+ export interface RangeCalendarDecorator extends DxInputBase, DxCommonFields, Partial<RangeCalendarProps> {
6
+ type: 'rangeCalendar';
7
+ validator?: Omit<ArrayValidator, 'type'>;
8
+ }
9
+ export interface GslRangeCalendarConfig extends GslConfigBase<RangeCalendarDecorator> {
10
+ suppressAutomaticLabels?: boolean;
11
+ }
12
+ export type RangeCalendarEntry = {
13
+ key: string;
14
+ def: DefOrCallback<RangeCalendarDecorator>;
15
+ };
16
+ export type GuiRangeCalendarShortcut = GuiShortcutOf<'RANGE_CALENDAR', RangeCalendarEntry>;
@@ -0,0 +1,2 @@
1
+ import { GslRangeCalendarConfig, RangeCalendarDecorator } from './rangeCalendar.domain';
2
+ export declare const _gslRangeCalendars: (config: GslRangeCalendarConfig, matcher?: ((decorator: RangeCalendarDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslRangeCalendarByUid: (uid: string, config: GslRangeCalendarConfig) => import('../../core/dx.domain').GslLeafSelector;
@@ -0,0 +1,6 @@
1
+ import { DxRuntimeParams } from '../../core/dxUtilityTypes';
2
+ import { GuiRangeDateInputShortcut, RangeDateInputDecorator } from './rangeDateInput.domain';
3
+ export declare function _guiRangeDateInput(path: string): GuiRangeDateInputShortcut;
4
+ export declare function _guiRangeDateInput(path: string, props: Partial<Omit<RangeDateInputDecorator, 'type'>>): GuiRangeDateInputShortcut;
5
+ export declare function _guiRangeDateInput(path: string, props: Partial<Omit<RangeDateInputDecorator, 'type'>>, tags: string[]): GuiRangeDateInputShortcut;
6
+ export declare function _guiRangeDateInput(path: string, callback: (params: DxRuntimeParams) => Partial<Omit<RangeDateInputDecorator, 'type'>>, tags?: string[]): GuiRangeDateInputShortcut;
@@ -0,0 +1,16 @@
1
+ import { ArrayValidator } from '@golemui/gui-validators';
2
+ import { RangeDateInputProps } from '../../../widget.props';
3
+ import { DxCommonFields, DxInputBase } from '../../core/dxBase.types';
4
+ import { DefOrCallback, GslConfigBase, GuiShortcutOf } from '../../core/dxUtilityTypes';
5
+ export interface RangeDateInputDecorator extends DxInputBase, DxCommonFields, Partial<RangeDateInputProps> {
6
+ type: 'rangeDateInput';
7
+ validator?: Omit<ArrayValidator, 'type'>;
8
+ }
9
+ export interface GslRangeDateInputConfig extends GslConfigBase<RangeDateInputDecorator> {
10
+ suppressAutomaticLabels?: boolean;
11
+ }
12
+ export type RangeDateInputEntry = {
13
+ key: string;
14
+ def: DefOrCallback<RangeDateInputDecorator>;
15
+ };
16
+ export type GuiRangeDateInputShortcut = GuiShortcutOf<'RANGE_DATE_INPUT', RangeDateInputEntry>;
@@ -0,0 +1,2 @@
1
+ import { GslRangeDateInputConfig, RangeDateInputDecorator } from './rangeDateInput.domain';
2
+ export declare const _gslRangeDateInputs: (config: GslRangeDateInputConfig, matcher?: ((decorator: RangeDateInputDecorator) => boolean) | undefined) => import('../../core/dx.domain').GslLeafSelector, _gslRangeDateInputByUid: (uid: string, config: GslRangeDateInputConfig) => import('../../core/dx.domain').GslLeafSelector;