@elliemae/ds-form 2.3.0-alpha.8 → 2.3.0-alpha.9
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/dist/cjs/ComboBox/v3/parts/menu-list/useItemRenderer.js +4 -4
- package/dist/cjs/ComboBox/v3/parts/menu-list/useItemRenderer.js.map +2 -2
- package/dist/esm/ComboBox/v3/parts/menu-list/useItemRenderer.js +1 -1
- package/dist/esm/ComboBox/v3/parts/menu-list/useItemRenderer.js.map +1 -1
- package/dist/types/Checkbox/DSCheckbox.d.ts +102 -0
- package/dist/types/Checkbox/defaultProps.d.ts +11 -0
- package/dist/types/Checkbox/elements/CheckMark.d.ts +2 -0
- package/dist/types/Checkbox/index.d.ts +1 -0
- package/dist/types/Checkbox/props.d.ts +60 -0
- package/dist/types/Checkbox/tests/DSCheckbox.events.test.d.ts +1 -0
- package/dist/types/CheckboxGroup/DSCheckboxGroup.d.ts +72 -0
- package/dist/types/CheckboxGroup/defaultProps.d.ts +14 -0
- package/dist/types/CheckboxGroup/index.d.ts +1 -0
- package/dist/types/CheckboxGroup/props.d.ts +57 -0
- package/dist/types/CheckboxGroup/tests/DSCheckboxGroup.events.test.d.ts +1 -0
- package/dist/types/ComboBox/DSComboBox.d.ts +3 -0
- package/dist/types/ComboBox/index.d.ts +2 -0
- package/dist/types/ComboBox/v1/DSComboBox.d.ts +67 -0
- package/dist/types/ComboBox/v1/components/AllOption.d.ts +6 -0
- package/dist/types/ComboBox/v1/components/ClearIndicator.d.ts +4 -0
- package/dist/types/ComboBox/v1/components/Control.d.ts +4 -0
- package/dist/types/ComboBox/v1/components/CustomOption.d.ts +9 -0
- package/dist/types/ComboBox/v1/components/CustomOptionMulti.d.ts +9 -0
- package/dist/types/ComboBox/v1/components/DropdownIndicator.d.ts +21 -0
- package/dist/types/ComboBox/v1/components/MenuList.d.ts +4 -0
- package/dist/types/ComboBox/v1/components/MultiSelectHeader.d.ts +4 -0
- package/dist/types/ComboBox/v1/components/MultiValueLabel.d.ts +6 -0
- package/dist/types/ComboBox/v1/components/MultiValueRemove.d.ts +4 -0
- package/dist/types/ComboBox/v1/components/SelectMenu.d.ts +4 -0
- package/dist/types/ComboBox/v1/components/SingleValueLabel.d.ts +12 -0
- package/dist/types/ComboBox/v1/components/ValueContainer.d.ts +6 -0
- package/dist/types/ComboBox/v1/components/calculateWidth.d.ts +1 -0
- package/dist/types/ComboBox/v1/components/getoptions.d.ts +6 -0
- package/dist/types/ComboBox/v1/index.d.ts +2 -0
- package/dist/types/ComboBox/v1/withSelectStringValueConverter.d.ts +64 -0
- package/dist/types/ComboBox/v2/Combobox.d.ts +70 -0
- package/dist/types/ComboBox/v2/components/AllOption.d.ts +6 -0
- package/dist/types/ComboBox/v2/components/ClearIndicator.d.ts +4 -0
- package/dist/types/ComboBox/v2/components/Content.d.ts +15 -0
- package/dist/types/ComboBox/v2/components/Control.d.ts +4 -0
- package/dist/types/ComboBox/v2/components/CustomOption.d.ts +9 -0
- package/dist/types/ComboBox/v2/components/CustomOptionMulti.d.ts +9 -0
- package/dist/types/ComboBox/v2/components/DropdownIndicator.d.ts +24 -0
- package/dist/types/ComboBox/v2/components/GroupHeading.d.ts +4 -0
- package/dist/types/ComboBox/v2/components/IndicatorSeparator.d.ts +5 -0
- package/dist/types/ComboBox/v2/components/LoadingIndicator.d.ts +4 -0
- package/dist/types/ComboBox/v2/components/MenuList.d.ts +4 -0
- package/dist/types/ComboBox/v2/components/MultiSelectHeader.d.ts +10 -0
- package/dist/types/ComboBox/v2/components/MultiValueLabel.d.ts +6 -0
- package/dist/types/ComboBox/v2/components/MultiValueRemove.d.ts +7 -0
- package/dist/types/ComboBox/v2/components/SelectMenu.d.ts +4 -0
- package/dist/types/ComboBox/v2/components/SingleValueLabel.d.ts +12 -0
- package/dist/types/ComboBox/v2/components/ValueContainer.d.ts +6 -0
- package/dist/types/ComboBox/v2/components/calculateWidth.d.ts +1 -0
- package/dist/types/ComboBox/v2/components/getoptions.d.ts +6 -0
- package/dist/types/ComboBox/v2/components/tests/ClearIndicator.test.d.ts +1 -0
- package/dist/types/ComboBox/v2/components/useMenuListHeight.d.ts +1 -0
- package/dist/types/ComboBox/v2/components/utils.d.ts +1 -0
- package/dist/types/ComboBox/v2/context.d.ts +2 -0
- package/dist/types/ComboBox/v2/index.d.ts +2 -0
- package/dist/types/ComboBox/v2/mockOptions.d.ts +5 -0
- package/dist/types/ComboBox/v2/tests/Combobox.test.d.ts +1 -0
- package/dist/types/ComboBox/v3/ComboBox.d.ts +62 -0
- package/dist/types/ComboBox/v3/ComboBoxCTX.d.ts +6 -0
- package/dist/types/ComboBox/v3/ComboboxDataTestids.d.ts +11 -0
- package/dist/types/ComboBox/v3/config/constants.d.ts +8 -0
- package/dist/types/ComboBox/v3/config/useComboBox.d.ts +2 -0
- package/dist/types/ComboBox/v3/config/useGetPropsWithDefault.d.ts +2 -0
- package/dist/types/ComboBox/v3/index.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/a11y-messages/index.d.ts +2 -0
- package/dist/types/ComboBox/v3/parts/a11y-messages/styled.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/container/Container.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/container/index.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/container/styled.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/controls/Controls.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/controls/index.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/controls/styled.d.ts +7 -0
- package/dist/types/ComboBox/v3/parts/controls-input/ControlsInput.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/controls-input/styled.d.ts +4 -0
- package/dist/types/ComboBox/v3/parts/controls-input/useControlsInput.d.ts +12 -0
- package/dist/types/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/dropdown-indicator/index.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/dropdown-indicator/styled.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/empty-state/index.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/empty-state/styled.d.ts +2 -0
- package/dist/types/ComboBox/v3/parts/header-list/HeaderList.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/header-list/index.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/header-list/styled.d.ts +7 -0
- package/dist/types/ComboBox/v3/parts/header-list/useHeaderListHandlers.d.ts +12 -0
- package/dist/types/ComboBox/v3/parts/menu-list/MenuList.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/menu-list/index.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/menu-list/styled.d.ts +10 -0
- package/dist/types/ComboBox/v3/parts/menu-list/useItemRenderer.d.ts +2 -0
- package/dist/types/ComboBox/v3/parts/menu-list/useMenuList.d.ts +2 -0
- package/dist/types/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/multi-selected-values-container/index.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/multi-selected-values-container/styled.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.d.ts +2 -0
- package/dist/types/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/single-selected-value-container/index.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/single-selected-value-container/styled.d.ts +1 -0
- package/dist/types/ComboBox/v3/propTypes.d.ts +51 -0
- package/dist/types/ComboBox/v3/tests/combobox-general.test.d.ts +1 -0
- package/dist/types/ComboBox/v3/tests/combobox-multi-select.test.d.ts +1 -0
- package/dist/types/ComboBox/v3/tests/combobox-single-select.test.d.ts +1 -0
- package/dist/types/ComboBox/v3/tests/combobox-special-keys.test.d.ts +1 -0
- package/dist/types/ComboBox/v3/tests/utils.d.ts +22 -0
- package/dist/types/ComboBox/v3/utils/hooks/useKeyboardNavigation.d.ts +4 -0
- package/dist/types/ComboBox/v3/utils/hooks/useOnElementResize.d.ts +3 -0
- package/dist/types/ComboBox/v3/utils/listHelper.d.ts +7 -0
- package/dist/types/ComboBoxFreeSolo/ComboBoxFreeSolo.d.ts +78 -0
- package/dist/types/ComboBoxFreeSolo/components/MultiValueLabel.d.ts +6 -0
- package/dist/types/ComboBoxFreeSolo/components/MultiValueRemove.d.ts +6 -0
- package/dist/types/ComboBoxFreeSolo/components/SingleValue.d.ts +3 -0
- package/dist/types/ComboBoxFreeSolo/components/SingleValueRemove.d.ts +6 -0
- package/dist/types/ComboBoxFreeSolo/index.d.ts +1 -0
- package/dist/types/DateInput/DSDateInput.d.ts +143 -0
- package/dist/types/DateInput/components/DateInputImpl.d.ts +41 -0
- package/dist/types/DateInput/components/DateInputs.d.ts +41 -0
- package/dist/types/DateInput/components/utils.d.ts +40 -0
- package/dist/types/DateInput/defaultProps.d.ts +18 -0
- package/dist/types/DateInput/index.d.ts +1 -0
- package/dist/types/DateInput/props.d.ts +173 -0
- package/dist/types/DateInput/tests/DSDateInput.events.test.d.ts +1 -0
- package/dist/types/DateInputV2/components/DSDateInput.d.ts +97 -0
- package/dist/types/DateInputV2/components/DateInputs.d.ts +33 -0
- package/dist/types/DateInputV2/components/helpers.d.ts +1 -0
- package/dist/types/DateInputV2/components/props.d.ts +104 -0
- package/dist/types/DateInputV2/components/propsTypes.d.ts +21 -0
- package/dist/types/DateInputV2/components/styled.d.ts +5 -0
- package/dist/types/DateInputV2/components/utils.d.ts +42 -0
- package/dist/types/DateInputV2/index.d.ts +2 -0
- package/dist/types/DateInputV2/tests/DateInput.test.d.ts +1 -0
- package/dist/types/ExpandableInput/DSExpandableInput.d.ts +16 -0
- package/dist/types/ExpandableInput/ExpandableInputImpl.d.ts +7 -0
- package/dist/types/ExpandableInput/index.d.ts +1 -0
- package/dist/types/FloatingLabelInput/DSFloatingLabelInput.d.ts +193 -0
- package/dist/types/FloatingLabelInput/FloatingLabelInputImpl.d.ts +27 -0
- package/dist/types/FloatingLabelInput/getSvgPath.d.ts +10 -0
- package/dist/types/FloatingLabelInput/index.d.ts +1 -0
- package/dist/types/FormItem/DSFormItemLayout.d.ts +479 -0
- package/dist/types/FormItem/Error/DSError.d.ts +31 -0
- package/dist/types/FormItem/Feedback.d.ts +7 -0
- package/dist/types/FormItem/Label/DSLabel.d.ts +24 -0
- package/dist/types/FormItem/Suffix/Suffix.d.ts +4 -0
- package/dist/types/FormItem/ValidationFieldWrapper.d.ts +19 -0
- package/dist/types/FormItem/defaultProps.d.ts +197 -0
- package/dist/types/FormItem/index.d.ts +2 -0
- package/dist/types/FormItem/props.d.ts +270 -0
- package/dist/types/FormItem/tests/DSFormItem.events.test.d.ts +1 -0
- package/dist/types/FormItem/variants.d.ts +8 -0
- package/dist/types/Input/DSInput.d.ts +32 -0
- package/dist/types/Input/InputAddonWrapper.d.ts +15 -0
- package/dist/types/Input/InputImpl.d.ts +74 -0
- package/dist/types/Input/index.d.ts +1 -0
- package/dist/types/Input/tests/Input.test.d.ts +1 -0
- package/dist/types/InputGroup/AddonWrapper.d.ts +8 -0
- package/dist/types/InputGroup/DSInputGroup.d.ts +72 -0
- package/dist/types/InputGroup/defaultProps.d.ts +8 -0
- package/dist/types/InputGroup/index.d.ts +1 -0
- package/dist/types/InputGroup/props.d.ts +60 -0
- package/dist/types/InputGroup/tests/DSInputGroup.events.test.d.ts +1 -0
- package/dist/types/InputMask/DSInputMask.d.ts +218 -0
- package/dist/types/InputMask/DSInputMaskDeprecated.d.ts +18 -0
- package/dist/types/InputMask/InputMaskContext.d.ts +18 -0
- package/dist/types/InputMask/MaskPipes.d.ts +18 -0
- package/dist/types/InputMask/MaskTypes.d.ts +15 -0
- package/dist/types/InputMask/addons/AutoCorrectedDatePipe.d.ts +8 -0
- package/dist/types/InputMask/defaultProps.d.ts +28 -0
- package/dist/types/InputMask/index.d.ts +1 -0
- package/dist/types/InputMask/mask_types/DateInputMask.d.ts +75 -0
- package/dist/types/InputMask/mask_types/DateTimeInputMask.d.ts +75 -0
- package/dist/types/InputMask/mask_types/DictionaryInputMask.d.ts +81 -0
- package/dist/types/InputMask/mask_types/NumberInputMask.d.ts +99 -0
- package/dist/types/InputMask/mask_types/PhoneInputMask.d.ts +75 -0
- package/dist/types/InputMask/mask_types/PhoneInternationalInputMask.d.ts +75 -0
- package/dist/types/InputMask/mask_types/SsnInputMask.d.ts +75 -0
- package/dist/types/InputMask/mask_types/UsZipCodeInputMask.d.ts +75 -0
- package/dist/types/InputMask/mask_types/ZipCodeSearchInputMask.d.ts +75 -0
- package/dist/types/InputMask/mask_types/index.d.ts +42 -0
- package/dist/types/InputMask/props.d.ts +254 -0
- package/dist/types/InputMask/tests/DSInputMask.test.d.ts +1 -0
- package/dist/types/InputMask/tests/NumberInputMask.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/DateInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/DateTimeInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/NumberInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/PercentInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/PhoneInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/PhoneInternationalInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/SsnInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/UsZipCodeInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/ZipCodeSearchInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/types/index.d.ts +5 -0
- package/dist/types/InputMask/utils/setCaretPosition.d.ts +3 -0
- package/dist/types/InputProtected/DSInputProtected.d.ts +70 -0
- package/dist/types/InputProtected/defaultProps.d.ts +4 -0
- package/dist/types/InputProtected/index.d.ts +2 -0
- package/dist/types/InputProtected/options.d.ts +8 -0
- package/dist/types/InputProtected/props.d.ts +49 -0
- package/dist/types/InputProtected/tests/DSInputProtected.events.test.d.ts +1 -0
- package/dist/types/InputProtected/tests/DSInputProtected.test.d.ts +1 -0
- package/dist/types/LargeInputText/DSLargeInputText.d.ts +233 -0
- package/dist/types/LargeInputText/defaultProps.d.ts +31 -0
- package/dist/types/LargeInputText/index.d.ts +1 -0
- package/dist/types/LargeInputText/props.d.ts +231 -0
- package/dist/types/LargeInputText/tests/DSLargeInputText.events.test.d.ts +1 -0
- package/dist/types/LargeInputText/tests/DSLargeInputText.test.d.ts +1 -0
- package/dist/types/MenuItem/components/MenuItem/index.d.ts +20 -0
- package/dist/types/MenuItem/components/MenuItem/styled.d.ts +1 -0
- package/dist/types/MenuItem/components/MultiMenuItem/MultiMenuItem.d.ts +21 -0
- package/dist/types/MenuItem/components/MultiMenuItem/styled.d.ts +1 -0
- package/dist/types/MenuItem/components/Section/index.d.ts +12 -0
- package/dist/types/MenuItem/components/Section/props.d.ts +14 -0
- package/dist/types/MenuItem/components/Section/styled.d.ts +2 -0
- package/dist/types/MenuItem/components/Separator/index.d.ts +8 -0
- package/dist/types/MenuItem/components/Separator/styled.d.ts +2 -0
- package/dist/types/MenuItem/components/SingleMenuItem/SingleMenuItem.d.ts +16 -0
- package/dist/types/MenuItem/components/SubmenuItem/index.d.ts +20 -0
- package/dist/types/MenuItem/components/index.d.ts +6 -0
- package/dist/types/MenuItem/index.d.ts +1 -0
- package/dist/types/MenuItem/props.d.ts +38 -0
- package/dist/types/Radio/Circle.d.ts +8 -0
- package/dist/types/Radio/DSRadio.d.ts +157 -0
- package/dist/types/Radio/index.d.ts +1 -0
- package/dist/types/RadioGroup/DSRadioGroup.d.ts +72 -0
- package/dist/types/RadioGroup/defaultProps.d.ts +12 -0
- package/dist/types/RadioGroup/index.d.ts +1 -0
- package/dist/types/RadioGroup/props.d.ts +56 -0
- package/dist/types/RadioGroup/tests/DSRadioGroup.events.test.d.ts +1 -0
- package/dist/types/RequiredMark/RequiredMark.d.ts +7 -0
- package/dist/types/RequiredMark/index.d.ts +1 -0
- package/dist/types/SearchBox/DSSearchBox.d.ts +176 -0
- package/dist/types/SearchBox/NavSearchBox.d.ts +53 -0
- package/dist/types/SearchBox/SButton.d.ts +30 -0
- package/dist/types/SearchBox/SearchBoxToggle.d.ts +13 -0
- package/dist/types/SearchBox/defaultProps.d.ts +26 -0
- package/dist/types/SearchBox/index.d.ts +3 -0
- package/dist/types/SearchBox/props.d.ts +173 -0
- package/dist/types/SearchBox/styled.d.ts +1 -0
- package/dist/types/SearchBox/tests/DSNavSearchBox.events.test.d.ts +1 -0
- package/dist/types/SearchBox/tests/DSSearchBox.events.test.d.ts +1 -0
- package/dist/types/SearchBox/tests/DSSearchBox.test.d.ts +1 -0
- package/dist/types/SearchBox/useSearch.d.ts +9 -0
- package/dist/types/TextBox/DSTextBox.d.ts +207 -0
- package/dist/types/TextBox/index.d.ts +1 -0
- package/dist/types/TextBox/tests/DSTextBox.test.d.ts +1 -0
- package/dist/types/TimeInput/DSTimeInput.d.ts +122 -0
- package/dist/types/TimeInput/TimeInputImpl.d.ts +56 -0
- package/dist/types/TimeInput/TimeInputs.d.ts +18 -0
- package/dist/types/TimeInput/index.d.ts +1 -0
- package/dist/types/TimeInput/utils.d.ts +39 -0
- package/dist/types/Toggle/DSToggle.d.ts +134 -0
- package/dist/types/Toggle/DSToggleImpl.d.ts +57 -0
- package/dist/types/Toggle/DSToggleRender.d.ts +33 -0
- package/dist/types/Toggle/index.d.ts +1 -0
- package/dist/types/Toggle/props.d.ts +47 -0
- package/dist/types/Toggle/toggleHelper.d.ts +24 -0
- package/dist/types/index.d.ts +22 -0
- package/package.json +23 -23
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
export declare const props: {
|
|
3
|
+
/** props injected to date input wrapper node */
|
|
4
|
+
containerProps: {
|
|
5
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
6
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
|
+
};
|
|
8
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
9
|
+
* Triggers the onFocus when the component gets the focus
|
|
10
|
+
*/
|
|
11
|
+
};
|
|
12
|
+
/** inner ref for input wrapper */
|
|
13
|
+
innerRef: {
|
|
14
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
15
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
17
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
18
|
+
* Triggers the onFocus when the component gets the focus
|
|
19
|
+
*/
|
|
20
|
+
};
|
|
21
|
+
/** class for input */
|
|
22
|
+
className: {
|
|
23
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
24
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
27
|
+
* Triggers the onFocus when the component gets the focus
|
|
28
|
+
*/
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Set style for the date input
|
|
32
|
+
*/
|
|
33
|
+
style: {
|
|
34
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
38
|
+
* Triggers the onFocus when the component gets the focus
|
|
39
|
+
*/
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Triggers the onBlur when focus moves out of date input
|
|
43
|
+
*/
|
|
44
|
+
onBlur: {
|
|
45
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
46
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
48
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
49
|
+
* Triggers the onFocus when the component gets the focus
|
|
50
|
+
*/
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Triggers the onFocus when the component gets the focus
|
|
54
|
+
*/
|
|
55
|
+
onFocus: {
|
|
56
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
57
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
58
|
+
};
|
|
59
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
60
|
+
* Triggers the onFocus when the component gets the focus
|
|
61
|
+
*/
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Triggers the onClear
|
|
65
|
+
*/
|
|
66
|
+
onClear: {
|
|
67
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
68
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
69
|
+
};
|
|
70
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
71
|
+
* Triggers the onFocus when the component gets the focus
|
|
72
|
+
*/
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Triggers the onKeyDown
|
|
76
|
+
*/
|
|
77
|
+
onKeyDown: {
|
|
78
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
79
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
80
|
+
};
|
|
81
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
82
|
+
* Triggers the onFocus when the component gets the focus
|
|
83
|
+
*/
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Allows a function that is triggered once the date input changes
|
|
87
|
+
*/
|
|
88
|
+
onChange: {
|
|
89
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
90
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
91
|
+
};
|
|
92
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
93
|
+
* Triggers the onFocus when the component gets the focus
|
|
94
|
+
*/
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Triggers the onError once one input date is wrong
|
|
98
|
+
*/
|
|
99
|
+
onError: {
|
|
100
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
101
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
102
|
+
};
|
|
103
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
104
|
+
* Triggers the onFocus when the component gets the focus
|
|
105
|
+
*/
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Format type for date input
|
|
109
|
+
*/
|
|
110
|
+
format: {
|
|
111
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
112
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
113
|
+
};
|
|
114
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
115
|
+
* Triggers the onFocus when the component gets the focus
|
|
116
|
+
*/
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Default value once the component is initialized
|
|
120
|
+
*/
|
|
121
|
+
value: {
|
|
122
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
123
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
124
|
+
};
|
|
125
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
126
|
+
* Triggers the onFocus when the component gets the focus
|
|
127
|
+
*/
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Whether the date input is clearable or not
|
|
131
|
+
*/
|
|
132
|
+
clearable: {
|
|
133
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
134
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
135
|
+
};
|
|
136
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
137
|
+
* Triggers the onFocus when the component gets the focus
|
|
138
|
+
*/
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* Whether the date input is disabled or not
|
|
142
|
+
*/
|
|
143
|
+
disabled: {
|
|
144
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
145
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
146
|
+
};
|
|
147
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
148
|
+
* Triggers the onFocus when the component gets the focus
|
|
149
|
+
*/
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Max year that can be accepted by the date input
|
|
153
|
+
*/
|
|
154
|
+
yearMaxRange: {
|
|
155
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
156
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
157
|
+
};
|
|
158
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
159
|
+
* Triggers the onFocus when the component gets the focus
|
|
160
|
+
*/
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* Min year that can be accepted by the date input
|
|
164
|
+
*/
|
|
165
|
+
yearMinRange: {
|
|
166
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
167
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
168
|
+
};
|
|
169
|
+
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
170
|
+
* Triggers the onFocus when the component gets the focus
|
|
171
|
+
*/
|
|
172
|
+
};
|
|
173
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
declare const DSDateInputV2: {
|
|
4
|
+
({ onFocus, onBlur, onChange, onDateChange, onKeyDown, onError, value, disabled, containerProps, tabIndex, innerRef, }: {
|
|
5
|
+
onFocus: any;
|
|
6
|
+
onBlur: any;
|
|
7
|
+
onChange: any;
|
|
8
|
+
onDateChange: any;
|
|
9
|
+
onKeyDown: any;
|
|
10
|
+
onError: any;
|
|
11
|
+
value: any;
|
|
12
|
+
disabled: any;
|
|
13
|
+
containerProps: any;
|
|
14
|
+
tabIndex: any;
|
|
15
|
+
innerRef: any;
|
|
16
|
+
}): JSX.Element;
|
|
17
|
+
defaultProps: {
|
|
18
|
+
onFocus: (...args: any[]) => void;
|
|
19
|
+
onBlur: (...args: any[]) => void;
|
|
20
|
+
onChange: (...args: any[]) => void;
|
|
21
|
+
onDateChange: (...args: any[]) => void;
|
|
22
|
+
onKeyDown: (...args: any[]) => void;
|
|
23
|
+
onError: (...args: any[]) => void;
|
|
24
|
+
value: string;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
containerProps: {};
|
|
27
|
+
};
|
|
28
|
+
propTypes: {
|
|
29
|
+
containerProps: {
|
|
30
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
31
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
34
|
+
};
|
|
35
|
+
onBlur: {
|
|
36
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
37
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
39
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
40
|
+
};
|
|
41
|
+
onFocus: {
|
|
42
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
43
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
44
|
+
};
|
|
45
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
46
|
+
};
|
|
47
|
+
onKeyDown: {
|
|
48
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
49
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
51
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
52
|
+
};
|
|
53
|
+
onChange: {
|
|
54
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
55
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
|
+
};
|
|
57
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
58
|
+
};
|
|
59
|
+
onDateChange: {
|
|
60
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
61
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
62
|
+
};
|
|
63
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
64
|
+
};
|
|
65
|
+
onError: {
|
|
66
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
67
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
68
|
+
};
|
|
69
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
70
|
+
};
|
|
71
|
+
value: {
|
|
72
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
73
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
74
|
+
};
|
|
75
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
76
|
+
};
|
|
77
|
+
disabled: {
|
|
78
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
79
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
80
|
+
};
|
|
81
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
82
|
+
};
|
|
83
|
+
tabIndex: {
|
|
84
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
85
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
86
|
+
};
|
|
87
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
declare const DSDateInputV2WithSchema: {
|
|
92
|
+
(props?: unknown): JSX.Element;
|
|
93
|
+
propTypes: unknown;
|
|
94
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
95
|
+
};
|
|
96
|
+
export { DSDateInputV2, DSDateInputV2WithSchema };
|
|
97
|
+
export default DSDateInputV2;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DateInputs: {
|
|
3
|
+
({ onBlur, onChange, onDateChange, disabled, onCustomKeyDown, time, tabIndex, innerRef }: {
|
|
4
|
+
onBlur: any;
|
|
5
|
+
onChange: any;
|
|
6
|
+
onDateChange: any;
|
|
7
|
+
disabled: any;
|
|
8
|
+
onCustomKeyDown: any;
|
|
9
|
+
time: any;
|
|
10
|
+
tabIndex: any;
|
|
11
|
+
innerRef: any;
|
|
12
|
+
}): JSX.Element;
|
|
13
|
+
propTypes: {
|
|
14
|
+
innerRef: import("prop-types").Requireable<((...args: any[]) => any) | import("prop-types").InferProps<{
|
|
15
|
+
current: import("prop-types").Requireable<any>;
|
|
16
|
+
}>>;
|
|
17
|
+
onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
18
|
+
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
19
|
+
onDateChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
20
|
+
onCustomKeyDown: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
21
|
+
onError: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
22
|
+
format: import("prop-types").Requireable<string>;
|
|
23
|
+
showMonth: import("prop-types").Requireable<boolean>;
|
|
24
|
+
showDay: import("prop-types").Requireable<boolean>;
|
|
25
|
+
showYear: import("prop-types").Requireable<boolean>;
|
|
26
|
+
step: import("prop-types").Requireable<number>;
|
|
27
|
+
yearMaxRange: import("prop-types").Requireable<number>;
|
|
28
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
29
|
+
yearMinRange: import("prop-types").Requireable<number>;
|
|
30
|
+
time: import("prop-types").Requireable<string>;
|
|
31
|
+
tabIndex: import("prop-types").Requireable<string | number>;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const onKeyDownHelper: (event: any, handlers: any) => void;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
export declare const props: {
|
|
3
|
+
/** Props to inject to date input wrapper */
|
|
4
|
+
containerProps: {
|
|
5
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
6
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
|
+
};
|
|
8
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Triggers the onBlur when focus moves out of date input
|
|
12
|
+
*/
|
|
13
|
+
onBlur: {
|
|
14
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
15
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
17
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Triggers the onFocus when the component gets the focus
|
|
21
|
+
*/
|
|
22
|
+
onFocus: {
|
|
23
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
24
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Triggers the onKeyDown
|
|
30
|
+
*/
|
|
31
|
+
onKeyDown: {
|
|
32
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
33
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
|
+
};
|
|
35
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Allows a function that is triggered once the date input changes
|
|
39
|
+
*/
|
|
40
|
+
onChange: {
|
|
41
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
42
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
43
|
+
};
|
|
44
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Triggers when the date is completely set and only once you have blurred the
|
|
48
|
+
* corresponding input. For example if you are editing the day and the year and month
|
|
49
|
+
* are already set, once you completely set the day it will trigger.
|
|
50
|
+
*/
|
|
51
|
+
onDateChange: {
|
|
52
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
53
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
55
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Triggers the onError once one input date is wrong
|
|
59
|
+
*/
|
|
60
|
+
onError: {
|
|
61
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
62
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
63
|
+
};
|
|
64
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Default value once the component is initialized MMDDYYYY
|
|
68
|
+
*/
|
|
69
|
+
value: {
|
|
70
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
71
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
72
|
+
};
|
|
73
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Whether the date input is disabled or not
|
|
77
|
+
*/
|
|
78
|
+
disabled: {
|
|
79
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
80
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
81
|
+
};
|
|
82
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* tab index
|
|
86
|
+
*/
|
|
87
|
+
tabIndex: {
|
|
88
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
89
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
90
|
+
};
|
|
91
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
export declare const defaultProps: {
|
|
95
|
+
onFocus: (...args: any[]) => void;
|
|
96
|
+
onBlur: (...args: any[]) => void;
|
|
97
|
+
onChange: (...args: any[]) => void;
|
|
98
|
+
onDateChange: (...args: any[]) => void;
|
|
99
|
+
onKeyDown: (...args: any[]) => void;
|
|
100
|
+
onError: (...args: any[]) => void;
|
|
101
|
+
value: string;
|
|
102
|
+
disabled: boolean;
|
|
103
|
+
containerProps: {};
|
|
104
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export declare const DateInputsPropTypes: {
|
|
3
|
+
innerRef: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
|
|
4
|
+
current: PropTypes.Requireable<any>;
|
|
5
|
+
}>>;
|
|
6
|
+
onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
7
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
8
|
+
onDateChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
9
|
+
onCustomKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
format: PropTypes.Requireable<string>;
|
|
12
|
+
showMonth: PropTypes.Requireable<boolean>;
|
|
13
|
+
showDay: PropTypes.Requireable<boolean>;
|
|
14
|
+
showYear: PropTypes.Requireable<boolean>;
|
|
15
|
+
step: PropTypes.Requireable<number>;
|
|
16
|
+
yearMaxRange: PropTypes.Requireable<number>;
|
|
17
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
18
|
+
yearMinRange: PropTypes.Requireable<number>;
|
|
19
|
+
time: PropTypes.Requireable<string>;
|
|
20
|
+
tabIndex: PropTypes.Requireable<string | number>;
|
|
21
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DateInputFluidContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const DateInputWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const DateInputInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const DateInputDivider: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare const isArrowIncrementDecrement: (key: any) => boolean;
|
|
2
|
+
export declare const setNativeValue: (element: any, value: any) => void;
|
|
3
|
+
export declare const getFormattedDay: (value: any) => string;
|
|
4
|
+
export declare const getShouldShortcircuitDay: (value: any) => boolean;
|
|
5
|
+
export declare const getFormattedYear: (value: any) => string;
|
|
6
|
+
export declare const getFormattedMonth: (value: any) => string;
|
|
7
|
+
export declare const getShouldShortcircuitMonth: (value: any) => boolean;
|
|
8
|
+
export declare const parseTimeNumberFromText: (stringValue: any) => number | null;
|
|
9
|
+
export declare const triggerOnBlur: (blurEvent: any, onBlur?: () => void) => void;
|
|
10
|
+
export declare const focusNextInput: (currentEl: any) => void;
|
|
11
|
+
export declare const focusPreviousInput: (currentEl: any) => void;
|
|
12
|
+
export declare const getValidTimeNumber: ({ min, max }: {
|
|
13
|
+
min: any;
|
|
14
|
+
max: any;
|
|
15
|
+
}, number: any, valueString?: string, onError?: () => null) => any;
|
|
16
|
+
export declare const shouldFocusNextInput: (max: any, number: number | undefined, stringValue: any) => boolean;
|
|
17
|
+
export declare const getDateValuesFromTime: (time: any, format: any) => {
|
|
18
|
+
month?: undefined;
|
|
19
|
+
day?: undefined;
|
|
20
|
+
year?: undefined;
|
|
21
|
+
} | {
|
|
22
|
+
month: string;
|
|
23
|
+
day: string;
|
|
24
|
+
year: string;
|
|
25
|
+
};
|
|
26
|
+
export declare const resetTimeValues: () => {
|
|
27
|
+
month: string;
|
|
28
|
+
day: string;
|
|
29
|
+
year: string;
|
|
30
|
+
};
|
|
31
|
+
export declare const onInputFocus: (e: any) => void;
|
|
32
|
+
export declare const getNextTimeValue: (value: any, target: any, yearMinRange: any, yearMaxRange: any, step?: number, incrementing?: boolean) => number;
|
|
33
|
+
export declare const focusNextInputIfNeeded: (currentEl: any, max: any, number: any, stringValue: any, currentKey: any) => void;
|
|
34
|
+
export declare const commonInputProps: (digits: number | undefined, onKeyDown: any, placeholder: any) => {
|
|
35
|
+
pattern: string;
|
|
36
|
+
placeholder: any;
|
|
37
|
+
type: string;
|
|
38
|
+
onKeyDown: any;
|
|
39
|
+
onFocus: (e: any) => void;
|
|
40
|
+
};
|
|
41
|
+
export declare const handleCompletedDate: (time: any, date: any, show: any, INTERNAL_V2_NO_MUTATION: any) => any;
|
|
42
|
+
export declare const isTimeCompletelySet: (date: any, show: any, range: any) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const DSExpandableInput: ({ containerProps, innerRef, className, style, triggerComponent, children, isOpen, onOpen, onClose, onBlur, width, }: {
|
|
3
|
+
containerProps?: {} | undefined;
|
|
4
|
+
innerRef: any;
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
style?: {} | undefined;
|
|
7
|
+
triggerComponent?: undefined;
|
|
8
|
+
children: any;
|
|
9
|
+
isOpen?: boolean | undefined;
|
|
10
|
+
onOpen?: (() => null) | undefined;
|
|
11
|
+
onClose?: (() => null) | undefined;
|
|
12
|
+
onBlur?: (() => null) | undefined;
|
|
13
|
+
width?: undefined;
|
|
14
|
+
}) => JSX.Element;
|
|
15
|
+
export { DSExpandableInput };
|
|
16
|
+
export default DSExpandableInput;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DSExpandableInput';
|