@onereach/ui-components 10.0.2 → 10.1.0-beta.4242.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/{OrDateTimePickerMonthSelect-980a9ada.js → OrDateTimePickerMonthSelect-d0681d68.js} +40 -21
- package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-a0ea3524.js → OrDateTimePickerPopoverHeader-31d1e247.js} +3 -6
- package/dist/bundled/v2/{OrDateTimePickerTimeSelect-328896c3.js → OrDateTimePickerTimeSelect-bcdf865d.js} +27 -14
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +1 -1
- package/dist/bundled/v2/components/OrDateFormatV3/OrDateFormat.js +26 -6
- package/dist/bundled/v2/components/OrDateFormatV3/OrDateFormat.vue.d.ts +33 -6
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +34 -9
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.vue.d.ts +55 -29
- package/dist/bundled/v2/components/OrDateRangePickerV3/OrDateRangePicker.js +47 -13
- package/dist/bundled/v2/components/OrDateRangePickerV3/OrDateRangePicker.vue.d.ts +49 -21
- package/dist/bundled/v2/components/OrDateRangePickerV3/index.d.ts +1 -0
- package/dist/bundled/v2/components/OrDateRangePickerV3/types.d.ts +2 -0
- package/dist/bundled/v2/components/OrDateTimeFormatV3/OrDateTimeFormat.js +32 -8
- package/dist/bundled/v2/components/OrDateTimeFormatV3/OrDateTimeFormat.vue.d.ts +36 -8
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +49 -18
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.vue.d.ts +73 -46
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.d.ts +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +5 -4
- package/dist/bundled/v2/components/OrDateTimePickerV3/tokens.d.ts +3 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/tokens.js +5 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/types.d.ts +12 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/utils/formatDate.d.ts +2 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/utils/formatDate.js +3 -3
- package/dist/bundled/v2/components/OrDateTimePickerV3/utils/formatTime.d.ts +2 -2
- package/dist/bundled/v2/components/OrDateTimePickerV3/utils/formatTime.js +3 -3
- package/dist/bundled/v2/components/OrDateTimePickerV3/utils/getDatePlaceholder.d.ts +2 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/utils/getDatePlaceholder.js +24 -4
- package/dist/bundled/v2/components/OrDateTimePickerV3/utils/getTimePlaceholder.d.ts +2 -2
- package/dist/bundled/v2/components/OrDateTimePickerV3/utils/getTimePlaceholder.js +15 -4
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +1 -1
- package/dist/bundled/v2/components/OrInputV3/index.js +1 -1
- package/dist/bundled/v2/components/OrLabelV3/styles.js +3 -3
- package/dist/bundled/v2/components/OrListV3/OrList.js +1 -1
- package/dist/bundled/v2/components/OrListV3/index.js +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +1 -1
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +1 -1
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +1 -1
- package/dist/bundled/v2/components/OrTimeFormatV3/OrTimeFormat.js +23 -8
- package/dist/bundled/v2/components/OrTimeFormatV3/OrTimeFormat.vue.d.ts +23 -8
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +30 -13
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.vue.d.ts +41 -26
- package/dist/bundled/v2/components/OrTimeRangePickerV3/OrTimeRangePicker.js +45 -22
- package/dist/bundled/v2/components/OrTimeRangePickerV3/OrTimeRangePicker.vue.d.ts +40 -22
- package/dist/bundled/v2/components/OrTimeRangePickerV3/index.d.ts +1 -0
- package/dist/bundled/v2/components/OrTimeRangePickerV3/types.d.ts +2 -0
- package/dist/bundled/v2/components/index.js +7 -6
- package/dist/bundled/v2/index.js +7 -6
- package/dist/bundled/v2/types-6a847182.js +14 -0
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/props.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +2 -2
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +1 -1
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCheckboxTreeV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrCheckboxTreeV3/utils/extractChildrenValues.js +1 -1
- package/dist/bundled/v3/components/{OrCheckboxTreeV3-4635160f.js → OrCheckboxTreeV3-a4d5bc04.js} +1 -1
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +1 -1
- package/dist/bundled/v3/components/OrCheckboxV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCheckboxV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrCheckboxV3-69269b9c.js → OrCheckboxV3-50db4f65.js} +1 -1
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +1 -1
- package/dist/bundled/v3/components/OrCodeV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCodeV3/props.js +1 -1
- package/dist/bundled/v3/components/OrCodeV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrCodeV3-5b8b5a7a.js → OrCodeV3-782af0c4.js} +1 -1
- package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.js +1 -1
- package/dist/bundled/v3/components/OrCombinedInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCombinedInputV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrCombinedInputV3-d6f24b0f.js → OrCombinedInputV3-933f1920.js} +1 -1
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +1 -1
- package/dist/bundled/v3/components/OrConfirmV3/index.js +1 -1
- package/dist/bundled/v3/components/OrConfirmV3/props.js +1 -1
- package/dist/bundled/v3/components/OrConfirmV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrConfirmV3-882d8f35.js → OrConfirmV3-bd6d7a69.js} +1 -1
- package/dist/bundled/v3/components/OrDateFormatV3/OrDateFormat.js +1 -1
- package/dist/bundled/v3/components/OrDateFormatV3/OrDateFormat.vue.d.ts +25 -4
- package/dist/bundled/v3/components/OrDateFormatV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateFormatV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrDateFormatV3-79a25ac8.js +71 -0
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.vue.d.ts +37 -17
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDatePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrDatePickerV3-d5f8c11a.js → OrDatePickerV3-7e493ca1.js} +35 -12
- package/dist/bundled/v3/components/OrDateRangePickerV3/OrDateRangePicker.js +1 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/OrDateRangePicker.vue.d.ts +34 -12
- package/dist/bundled/v3/components/OrDateRangePickerV3/index.d.ts +1 -0
- package/dist/bundled/v3/components/OrDateRangePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/types.d.ts +2 -0
- package/dist/bundled/v3/components/{OrDateRangePickerV3-e62adab9.js → OrDateRangePickerV3-f215b1ba.js} +49 -21
- package/dist/bundled/v3/components/OrDateTimeFormatV3/OrDateTimeFormat.js +1 -1
- package/dist/bundled/v3/components/OrDateTimeFormatV3/OrDateTimeFormat.vue.d.ts +27 -6
- package/dist/bundled/v3/components/OrDateTimeFormatV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateTimeFormatV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrDateTimeFormatV3-57c82e28.js +81 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.vue.d.ts +48 -28
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.d.ts +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/tokens.d.ts +3 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/tokens.js +1 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/types.d.ts +12 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatDate.d.ts +2 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatDate.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatTime.d.ts +2 -2
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatTime.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getCurrentDate.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getDatePlaceholder.d.ts +2 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getDatePlaceholder.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getNextMonthDate.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getTimePlaceholder.d.ts +2 -2
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getTimePlaceholder.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/index.js +1 -1
- package/dist/bundled/v3/components/{OrDateTimePickerV3-84c0fee3.js → OrDateTimePickerV3-345a6c12.js} +171 -75
- package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.js +1 -1
- package/dist/bundled/v3/components/OrFormGroupV3/index.js +1 -1
- package/dist/bundled/v3/components/OrFormGroupV3/props.js +1 -1
- package/dist/bundled/v3/components/OrFormGroupV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrFormGroupV3-7d09a939.js → OrFormGroupV3-72dc8852.js} +1 -1
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +1 -1
- package/dist/bundled/v3/components/OrInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrInputV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrInputV3-db89dfb7.js → OrInputV3-ac1c7fe7.js} +1 -1
- package/dist/bundled/v3/components/OrLabelV3/OrLabel.js +1 -1
- package/dist/bundled/v3/components/OrLabelV3/index.js +1 -1
- package/dist/bundled/v3/components/OrLabelV3/props.js +1 -1
- package/dist/bundled/v3/components/OrLabelV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrLabelV3-b1cd132a.js → OrLabelV3-23a42d9d.js} +3 -3
- package/dist/bundled/v3/components/OrListV3/OrList.js +1 -1
- package/dist/bundled/v3/components/OrListV3/index.js +1 -1
- package/dist/bundled/v3/components/OrListV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrListV3-62e510b2.js → OrListV3-02565baf.js} +1 -1
- package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.js +2 -2
- package/dist/bundled/v3/components/OrRadioV3/OrRadio.js +1 -1
- package/dist/bundled/v3/components/OrRadioV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRadioV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrRadioV3-e9c05c7b.js → OrRadioV3-0e34f4d0.js} +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/props.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.js +1 -1
- package/dist/bundled/v3/components/{OrRichTextEditorV3-01acbe53.js → OrRichTextEditorV3-cbaf6f09.js} +2 -2
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/utils/castToMultipleValue.js +1 -1
- package/dist/bundled/v3/components/{OrSelectV3-7888ad93.js → OrSelectV3-c63decef.js} +3 -3
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.js +1 -1
- package/dist/bundled/v3/components/OrSwitchV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSwitchV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrSwitchV3-2fa19537.js → OrSwitchV3-efb0189f.js} +1 -1
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +1 -1
- package/dist/bundled/v3/components/OrTagInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagInputV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTagInputV3-1dadfcfd.js → OrTagInputV3-591da379.js} +1 -1
- package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.js +1 -1
- package/dist/bundled/v3/components/OrTextareaV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTextareaV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTextareaV3-4a8136b0.js → OrTextareaV3-e2e9affb.js} +1 -1
- package/dist/bundled/v3/components/OrTimeFormatV3/OrTimeFormat.js +1 -1
- package/dist/bundled/v3/components/OrTimeFormatV3/OrTimeFormat.vue.d.ts +17 -6
- package/dist/bundled/v3/components/OrTimeFormatV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTimeFormatV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrTimeFormatV3-9d2eeebc.js +71 -0
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +1 -1
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.vue.d.ts +27 -16
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTimePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTimePickerV3-ac66eecb.js → OrTimePickerV3-973014d4.js} +30 -14
- package/dist/bundled/v3/components/OrTimeRangePickerV3/OrTimeRangePicker.js +1 -1
- package/dist/bundled/v3/components/OrTimeRangePickerV3/OrTimeRangePicker.vue.d.ts +90 -15
- package/dist/bundled/v3/components/OrTimeRangePickerV3/index.d.ts +1 -0
- package/dist/bundled/v3/components/OrTimeRangePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTimeRangePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrTimeRangePickerV3/types.d.ts +2 -0
- package/dist/bundled/v3/components/{OrTimeRangePickerV3-ea15e8da.js → OrTimeRangePickerV3-b5c80254.js} +47 -25
- package/dist/bundled/v3/components/index.js +24 -24
- package/dist/bundled/v3/index.js +24 -24
- package/dist/esm/v2/{OrCardCollection-dae2f81d.js → OrCardCollection-cd033a01.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-2e14d995.js → OrCheckbox-8cdfdc56.js} +1 -1
- package/dist/esm/v2/{OrCheckboxGroup-4c3c1418.js → OrCheckboxGroup-4a817c00.js} +2 -2
- package/dist/esm/v2/{OrCheckboxTree-9613ade5.js → OrCheckboxTree-338b5ff4.js} +1 -1
- package/dist/esm/v2/{OrCode-bab23c65.js → OrCode-06a15a0c.js} +1 -1
- package/dist/esm/v2/{OrCombinedInput-e3f4498e.js → OrCombinedInput-79d57e49.js} +1 -1
- package/dist/esm/v2/{OrConfirm-4561fd88.js → OrConfirm-121af86c.js} +1 -1
- package/dist/esm/v2/{OrDateFormat-7b761b0f.js → OrDateFormat-a17b5b23.js} +27 -9
- package/dist/esm/v2/{OrDatePicker-847e9db1.js → OrDatePicker-67c281d7.js} +34 -11
- package/dist/esm/v2/{OrDateRangePicker-01c5a09c.js → OrDateRangePicker-4d776fe2.js} +47 -15
- package/dist/esm/v2/{OrDateTimeFormat-80ff6397.js → OrDateTimeFormat-70e61dd6.js} +33 -10
- package/dist/esm/v2/{OrDateTimePicker-c68aacf9.js → OrDateTimePicker-cb46a36b.js} +10 -3
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-bd0836fd.js → OrDateTimePicker.vue_rollup-plugin-vue_script-b7ca34e8.js} +43 -16
- package/dist/esm/v2/{OrDateTimePickerTimeSelect-2f7efc41.js → OrDateTimePickerTimeSelect-3fa9a7c7.js} +71 -42
- package/dist/esm/v2/{OrFormGroup-d8b290f4.js → OrFormGroup-936aa0ff.js} +1 -1
- package/dist/esm/v2/{OrInput-43f90e4a.js → OrInput-431ae55a.js} +1 -1
- package/dist/esm/v2/{OrLabel-113eae8d.js → OrLabel-b0805497.js} +3 -3
- package/dist/esm/v2/{OrList-aae21920.js → OrList-3078c5cd.js} +1 -1
- package/dist/esm/v2/{OrRadio-c6aec5c3.js → OrRadio-fd1fbde2.js} +1 -1
- package/dist/esm/v2/{OrRadioGroup-038ad285.js → OrRadioGroup-c4135a8f.js} +2 -2
- package/dist/esm/v2/{OrRichTextEditor-6a2785c0.js → OrRichTextEditor-85f52908.js} +2 -2
- package/dist/esm/v2/{OrSearch-5dd1820f.js → OrSearch-493eb34d.js} +1 -1
- package/dist/esm/v2/{OrSelect-bf279168.js → OrSelect-8acf0bfe.js} +3 -3
- package/dist/esm/v2/{OrSwitch-b636a4e7.js → OrSwitch-b1c4a235.js} +1 -1
- package/dist/esm/v2/{OrTagInput-dbd9096c.js → OrTagInput-cc597ae0.js} +1 -1
- package/dist/esm/v2/{OrTextarea-56e2159d.js → OrTextarea-ba7551a4.js} +1 -1
- package/dist/esm/v2/{OrTimeFormat-6e82fcd3.js → OrTimeFormat-bd9582b8.js} +24 -10
- package/dist/esm/v2/{OrTimePicker-e18d9265.js → OrTimePicker-7878d2c8.js} +30 -14
- package/dist/esm/v2/{OrTimeRangePicker-e46462b3.js → OrTimeRangePicker-bee857dc.js} +45 -23
- package/dist/esm/v2/components/index.js +30 -30
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +5 -5
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +3 -3
- package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v2/components/or-code-v3/index.js +2 -2
- package/dist/esm/v2/components/or-combined-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v2/components/or-date-format-v3/OrDateFormat.vue.d.ts +33 -6
- package/dist/esm/v2/components/or-date-format-v3/index.js +5 -5
- package/dist/esm/v2/components/or-date-picker-v3/OrDatePicker.vue.d.ts +55 -29
- package/dist/esm/v2/components/or-date-picker-v3/index.js +5 -5
- package/dist/esm/v2/components/or-date-range-picker-v3/OrDateRangePicker.vue.d.ts +49 -21
- package/dist/esm/v2/components/or-date-range-picker-v3/index.d.ts +1 -0
- package/dist/esm/v2/components/or-date-range-picker-v3/index.js +5 -5
- package/dist/esm/v2/components/or-date-range-picker-v3/types.d.ts +2 -0
- package/dist/esm/v2/components/or-date-time-format-v3/OrDateTimeFormat.vue.d.ts +36 -8
- package/dist/esm/v2/components/or-date-time-format-v3/index.js +5 -5
- package/dist/esm/v2/components/or-date-time-picker-v3/OrDateTimePicker.vue.d.ts +73 -46
- package/dist/esm/v2/components/or-date-time-picker-v3/index.d.ts +1 -1
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +14 -14
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/index.js +3 -3
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue.d.ts +31 -9
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue.d.ts +33 -13
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue.d.ts +29 -19
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue.d.ts +22 -13
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue.d.ts +30 -22
- package/dist/esm/v2/components/or-date-time-picker-v3/tokens.d.ts +3 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/types.d.ts +12 -1
- package/dist/esm/v2/components/or-date-time-picker-v3/utils/formatDate.d.ts +2 -1
- package/dist/esm/v2/components/or-date-time-picker-v3/utils/formatTime.d.ts +2 -2
- package/dist/esm/v2/components/or-date-time-picker-v3/utils/getDatePlaceholder.d.ts +2 -1
- package/dist/esm/v2/components/or-date-time-picker-v3/utils/getTimePlaceholder.d.ts +2 -2
- package/dist/esm/v2/components/or-date-time-picker-v3/utils/index.js +1 -1
- package/dist/esm/v2/components/or-form-group-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-label-v3/index.js +1 -1
- package/dist/esm/v2/components/or-list-v3/index.js +2 -2
- package/dist/esm/v2/components/or-radio-group-v3/index.js +4 -4
- package/dist/esm/v2/components/or-radio-v3/index.js +2 -2
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +3 -3
- package/dist/esm/v2/components/or-search-v3/index.js +3 -3
- package/dist/esm/v2/components/or-select-v3/index.js +4 -4
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tag-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v2/components/or-time-format-v3/OrTimeFormat.vue.d.ts +23 -8
- package/dist/esm/v2/components/or-time-format-v3/index.js +5 -5
- package/dist/esm/v2/components/or-time-picker-v3/OrTimePicker.vue.d.ts +41 -26
- package/dist/esm/v2/components/or-time-picker-v3/index.js +5 -5
- package/dist/esm/v2/components/or-time-range-picker-v3/OrTimeRangePicker.vue.d.ts +40 -22
- package/dist/esm/v2/components/or-time-range-picker-v3/index.d.ts +1 -0
- package/dist/esm/v2/components/or-time-range-picker-v3/index.js +5 -5
- package/dist/esm/v2/components/or-time-range-picker-v3/types.d.ts +2 -0
- package/dist/esm/v2/getTimePlaceholder-9d18b5ac.js +77 -0
- package/dist/esm/v2/index.js +30 -30
- package/dist/esm/v3/{OrCardCollection-7eecfe1b.js → OrCardCollection-853aaa1c.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-91bc37d7.js → OrCheckbox-637049b9.js} +1 -1
- package/dist/esm/v3/{OrCheckboxGroup-ba429495.js → OrCheckboxGroup-4f9235bb.js} +2 -2
- package/dist/esm/v3/{OrCheckboxTree-e3b760d1.js → OrCheckboxTree-129603b3.js} +1 -1
- package/dist/esm/v3/{OrCode-590736cc.js → OrCode-79ec7fc2.js} +1 -1
- package/dist/esm/v3/{OrCombinedInput-1a22e413.js → OrCombinedInput-391b1de9.js} +1 -1
- package/dist/esm/v3/{OrConfirm-fdc47d05.js → OrConfirm-7333b2ff.js} +1 -1
- package/dist/esm/v3/OrDateFormat-3ef8c5c3.js +73 -0
- package/dist/esm/v3/{OrDatePicker-a65e349c.js → OrDatePicker-1d21985d.js} +37 -14
- package/dist/esm/v3/{OrDateRangePicker-06b39fc4.js → OrDateRangePicker-fb715f58.js} +51 -23
- package/dist/esm/v3/OrDateTimeFormat-595566fa.js +83 -0
- package/dist/esm/v3/{OrDateTimePicker-b2749f72.js → OrDateTimePicker-c3544059.js} +57 -23
- package/dist/esm/v3/{OrDateTimePickerTimeSelect-c6ea3195.js → OrDateTimePickerTimeSelect-62e04a6c.js} +69 -44
- package/dist/esm/v3/{OrFormGroup-17c3cc0a.js → OrFormGroup-230f2015.js} +1 -1
- package/dist/esm/v3/{OrInput-89bb16d6.js → OrInput-89162a71.js} +1 -1
- package/dist/esm/v3/{OrLabel-02aa56ad.js → OrLabel-59d09591.js} +3 -3
- package/dist/esm/v3/{OrList-384bf436.js → OrList-75b5e6ac.js} +1 -1
- package/dist/esm/v3/{OrRadio-160d7841.js → OrRadio-a7bb97f7.js} +1 -1
- package/dist/esm/v3/{OrRadioGroup-6a5af61f.js → OrRadioGroup-2648ef67.js} +2 -2
- package/dist/esm/v3/{OrRichTextEditor-87baa915.js → OrRichTextEditor-56c41be2.js} +2 -2
- package/dist/esm/v3/{OrSearch-42922cb7.js → OrSearch-169317ea.js} +1 -1
- package/dist/esm/v3/{OrSelect-27ede5ab.js → OrSelect-cb207029.js} +3 -3
- package/dist/esm/v3/{OrSwitch-43616cd3.js → OrSwitch-bd2093d2.js} +1 -1
- package/dist/esm/v3/{OrTagInput-e768c2d1.js → OrTagInput-c68c8430.js} +1 -1
- package/dist/esm/v3/{OrTextarea-97b57866.js → OrTextarea-d5beb823.js} +1 -1
- package/dist/esm/v3/OrTimeFormat-25c748db.js +73 -0
- package/dist/esm/v3/{OrTimePicker-9dcd20dd.js → OrTimePicker-5f6111da.js} +32 -16
- package/dist/esm/v3/{OrTimeRangePicker-1f6509eb.js → OrTimeRangePicker-0d79f664.js} +49 -27
- package/dist/esm/v3/components/index.js +29 -29
- package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v3/components/or-checkbox-group-v3/index.js +5 -5
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +3 -3
- package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v3/components/or-code-v3/index.js +2 -2
- package/dist/esm/v3/components/or-combined-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-date-format-v3/OrDateFormat.vue.d.ts +25 -4
- package/dist/esm/v3/components/or-date-format-v3/index.js +5 -5
- package/dist/esm/v3/components/or-date-picker-v3/OrDatePicker.vue.d.ts +37 -17
- package/dist/esm/v3/components/or-date-picker-v3/index.js +5 -5
- package/dist/esm/v3/components/or-date-range-picker-v3/OrDateRangePicker.vue.d.ts +34 -12
- package/dist/esm/v3/components/or-date-range-picker-v3/index.d.ts +1 -0
- package/dist/esm/v3/components/or-date-range-picker-v3/index.js +5 -5
- package/dist/esm/v3/components/or-date-range-picker-v3/types.d.ts +2 -0
- package/dist/esm/v3/components/or-date-time-format-v3/OrDateTimeFormat.vue.d.ts +27 -6
- package/dist/esm/v3/components/or-date-time-format-v3/index.js +5 -5
- package/dist/esm/v3/components/or-date-time-picker-v3/OrDateTimePicker.vue.d.ts +48 -28
- package/dist/esm/v3/components/or-date-time-picker-v3/index.d.ts +1 -1
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/index.js +3 -3
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue.d.ts +23 -5
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue.d.ts +24 -8
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue.d.ts +20 -12
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue.d.ts +16 -9
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue.d.ts +21 -15
- package/dist/esm/v3/components/or-date-time-picker-v3/tokens.d.ts +3 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/types.d.ts +12 -1
- package/dist/esm/v3/components/or-date-time-picker-v3/utils/formatDate.d.ts +2 -1
- package/dist/esm/v3/components/or-date-time-picker-v3/utils/formatTime.d.ts +2 -2
- package/dist/esm/v3/components/or-date-time-picker-v3/utils/getDatePlaceholder.d.ts +2 -1
- package/dist/esm/v3/components/or-date-time-picker-v3/utils/getTimePlaceholder.d.ts +2 -2
- package/dist/esm/v3/components/or-date-time-picker-v3/utils/index.js +1 -1
- package/dist/esm/v3/components/or-form-group-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-label-v3/index.js +1 -1
- package/dist/esm/v3/components/or-list-v3/index.js +2 -2
- package/dist/esm/v3/components/or-radio-group-v3/index.js +4 -4
- package/dist/esm/v3/components/or-radio-v3/index.js +2 -2
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +3 -3
- package/dist/esm/v3/components/or-search-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/index.js +4 -4
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tag-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-time-format-v3/OrTimeFormat.vue.d.ts +17 -6
- package/dist/esm/v3/components/or-time-format-v3/index.js +5 -5
- package/dist/esm/v3/components/or-time-picker-v3/OrTimePicker.vue.d.ts +27 -16
- package/dist/esm/v3/components/or-time-picker-v3/index.js +5 -5
- package/dist/esm/v3/components/or-time-range-picker-v3/OrTimeRangePicker.vue.d.ts +90 -15
- package/dist/esm/v3/components/or-time-range-picker-v3/index.d.ts +1 -0
- package/dist/esm/v3/components/or-time-range-picker-v3/index.js +5 -5
- package/dist/esm/v3/components/or-time-range-picker-v3/types.d.ts +2 -0
- package/dist/esm/v3/getTimePlaceholder-9d18b5ac.js +77 -0
- package/dist/esm/v3/index.js +29 -29
- package/package.json +2 -3
- package/src/components/or-date-format-v3/OrDateFormat.vue +36 -9
- package/src/components/or-date-picker-v3/OrDatePicker.vue +48 -18
- package/src/components/or-date-range-picker-v3/OrDateRangePicker.vue +60 -22
- package/src/components/or-date-range-picker-v3/index.ts +1 -0
- package/src/components/or-date-range-picker-v3/types.ts +3 -0
- package/src/components/or-date-time-format-v3/OrDateTimeFormat.vue +42 -10
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +70 -32
- package/src/components/or-date-time-picker-v3/index.ts +1 -1
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue +23 -9
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue +27 -15
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/OrDateTimePickerMobileControl.vue +5 -5
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue +33 -21
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue +3 -4
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/OrDateTimePickerPopoverHeader.vue +3 -4
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue +19 -10
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue +22 -16
- package/src/components/or-date-time-picker-v3/tokens.ts +4 -0
- package/src/components/or-date-time-picker-v3/types.ts +15 -1
- package/src/components/or-date-time-picker-v3/utils/formatDate.ts +5 -3
- package/src/components/or-date-time-picker-v3/utils/formatTime.ts +3 -3
- package/src/components/or-date-time-picker-v3/utils/getDatePlaceholder.ts +38 -7
- package/src/components/or-date-time-picker-v3/utils/getTimePlaceholder.ts +22 -7
- package/src/components/or-label-v3/styles.ts +3 -3
- package/src/components/or-time-format-v3/OrTimeFormat.vue +32 -10
- package/src/components/or-time-picker-v3/OrTimePicker.vue +42 -20
- package/src/components/or-time-range-picker-v3/OrTimeRangePicker.vue +57 -27
- package/src/components/or-time-range-picker-v3/index.ts +1 -0
- package/src/components/or-time-range-picker-v3/types.ts +3 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/props.d.ts +0 -5
- package/dist/bundled/v2/components/OrDateTimePickerV3/props.js +0 -8
- package/dist/bundled/v3/components/OrDateFormatV3-3000643b.js +0 -49
- package/dist/bundled/v3/components/OrDateTimeFormatV3-1ff1795b.js +0 -54
- package/dist/bundled/v3/components/OrDateTimePickerV3/props.d.ts +0 -5
- package/dist/bundled/v3/components/OrDateTimePickerV3/props.js +0 -1
- package/dist/bundled/v3/components/OrTimeFormatV3-1a6191e2.js +0 -53
- package/dist/esm/v2/components/or-date-time-picker-v3/props.d.ts +0 -5
- package/dist/esm/v2/getTimePlaceholder-a1d75821.js +0 -40
- package/dist/esm/v3/OrDateFormat-755671ca.js +0 -51
- package/dist/esm/v3/OrDateTimeFormat-3408f038.js +0 -56
- package/dist/esm/v3/OrTimeFormat-ef653117.js +0 -55
- package/dist/esm/v3/components/or-date-time-picker-v3/props.d.ts +0 -5
- package/dist/esm/v3/getTimePlaceholder-a1d75821.js +0 -40
- package/src/components/or-date-time-picker-v3/props.ts +0 -5
- /package/dist/bundled/v2/{OrInput-aeca8c1a.js → OrInput-5cef921b.js} +0 -0
- /package/dist/bundled/v2/{OrList-1cda0d88.js → OrList-ee849918.js} +0 -0
- /package/dist/bundled/v3/components/{OrCardCollectionV3-7416a26d.js → OrCardCollectionV3-8a2f7f68.js} +0 -0
|
@@ -1,21 +1,29 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { DateTimePickerDateFormat, DateTimePickerFilterFunction, DateTimePickerModelValue } from '../or-date-time-picker-v3';
|
|
3
3
|
import { InputBoxSize } from '../or-input-box-v3';
|
|
4
4
|
declare const _default: import("vue-demi").DefineComponent<{
|
|
5
5
|
modelValue: {
|
|
6
|
-
type:
|
|
6
|
+
type: PropType<DateTimePickerModelValue>;
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
9
|
+
format: {
|
|
10
|
+
type: PropType<"short" | "medium" | "long">;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
locale: {
|
|
14
|
+
type: StringConstructor;
|
|
7
15
|
default: undefined;
|
|
8
16
|
};
|
|
9
17
|
yearFilter: {
|
|
10
|
-
type: PropType<
|
|
18
|
+
type: PropType<DateTimePickerFilterFunction>;
|
|
11
19
|
default: undefined;
|
|
12
20
|
};
|
|
13
21
|
monthFilter: {
|
|
14
|
-
type: PropType<
|
|
22
|
+
type: PropType<DateTimePickerFilterFunction>;
|
|
15
23
|
default: undefined;
|
|
16
24
|
};
|
|
17
25
|
dateFilter: {
|
|
18
|
-
type: PropType<
|
|
26
|
+
type: PropType<DateTimePickerFilterFunction>;
|
|
19
27
|
default: undefined;
|
|
20
28
|
};
|
|
21
29
|
size: {
|
|
@@ -52,12 +60,14 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
52
60
|
};
|
|
53
61
|
}, {
|
|
54
62
|
root: import("vue-demi").Ref<HTMLElement | undefined>;
|
|
63
|
+
rootStyles: import("vue-demi").ComputedRef<string[]>;
|
|
55
64
|
inputBox: import("vue-demi").Ref<any>;
|
|
56
65
|
inputBoxRoot: import("vue-demi").ComputedRef<any>;
|
|
57
66
|
popover: import("vue-demi").Ref<any>;
|
|
58
67
|
popoverState: import("vue-demi").ComputedRef<any>;
|
|
59
|
-
rootStyles: import("vue-demi").ComputedRef<string[]>;
|
|
60
68
|
popoverStyles: import("vue-demi").ComputedRef<string[]>;
|
|
69
|
+
resolvedFormat: import("vue-demi").ComputedRef<DateTimePickerDateFormat.Short | "short" | "medium" | "long">;
|
|
70
|
+
resolvedLocale: import("vue-demi").ComputedRef<string>;
|
|
61
71
|
initialValue: import("vue-demi").Ref<{
|
|
62
72
|
toString: () => string;
|
|
63
73
|
toDateString: () => string;
|
|
@@ -121,7 +131,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
121
131
|
(hint: string): string | number;
|
|
122
132
|
};
|
|
123
133
|
}>;
|
|
124
|
-
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<
|
|
134
|
+
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<DateTimePickerModelValue>;
|
|
125
135
|
draftModelValue: import("vue-demi").Ref<{
|
|
126
136
|
toString: () => string;
|
|
127
137
|
toDateString: () => string;
|
|
@@ -184,28 +194,36 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
184
194
|
(hint: "number"): number;
|
|
185
195
|
(hint: string): string | number;
|
|
186
196
|
};
|
|
187
|
-
} | undefined>;
|
|
197
|
+
} | null | undefined>;
|
|
188
198
|
isInvalidDraftModelValue: import("vue-demi").ComputedRef<boolean>;
|
|
189
199
|
apply: () => void;
|
|
190
200
|
reset: () => void;
|
|
191
201
|
openPopover: () => void;
|
|
192
202
|
closePopover: () => void;
|
|
193
|
-
formatDateAlt: (value
|
|
203
|
+
formatDateAlt: (value: DateTimePickerModelValue) => string;
|
|
194
204
|
}, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "keydown" | "keyup" | "focus" | "blur")[], "update:modelValue" | "keydown" | "keyup" | "focus" | "blur", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
195
205
|
modelValue: {
|
|
196
|
-
type:
|
|
206
|
+
type: PropType<DateTimePickerModelValue>;
|
|
207
|
+
default: undefined;
|
|
208
|
+
};
|
|
209
|
+
format: {
|
|
210
|
+
type: PropType<"short" | "medium" | "long">;
|
|
211
|
+
default: undefined;
|
|
212
|
+
};
|
|
213
|
+
locale: {
|
|
214
|
+
type: StringConstructor;
|
|
197
215
|
default: undefined;
|
|
198
216
|
};
|
|
199
217
|
yearFilter: {
|
|
200
|
-
type: PropType<
|
|
218
|
+
type: PropType<DateTimePickerFilterFunction>;
|
|
201
219
|
default: undefined;
|
|
202
220
|
};
|
|
203
221
|
monthFilter: {
|
|
204
|
-
type: PropType<
|
|
222
|
+
type: PropType<DateTimePickerFilterFunction>;
|
|
205
223
|
default: undefined;
|
|
206
224
|
};
|
|
207
225
|
dateFilter: {
|
|
208
|
-
type: PropType<
|
|
226
|
+
type: PropType<DateTimePickerFilterFunction>;
|
|
209
227
|
default: undefined;
|
|
210
228
|
};
|
|
211
229
|
size: {
|
|
@@ -247,10 +265,12 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
247
265
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
248
266
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
249
267
|
}, {
|
|
250
|
-
modelValue:
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
268
|
+
modelValue: DateTimePickerModelValue;
|
|
269
|
+
format: "short" | "medium" | "long";
|
|
270
|
+
locale: string;
|
|
271
|
+
yearFilter: DateTimePickerFilterFunction;
|
|
272
|
+
monthFilter: DateTimePickerFilterFunction;
|
|
273
|
+
dateFilter: DateTimePickerFilterFunction;
|
|
254
274
|
size: "m" | "s";
|
|
255
275
|
label: string;
|
|
256
276
|
hint: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as OrDatePickerV3 } from '../OrDatePickerV3-
|
|
1
|
+
export { s as OrDatePickerV3 } from '../OrDatePickerV3-7e493ca1.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { D as DatePicker, a as DatePickerPopover } from '../OrDatePickerV3-
|
|
1
|
+
export { D as DatePicker, a as DatePickerPopover } from '../OrDatePickerV3-7e493ca1.js';
|
package/dist/bundled/v3/components/{OrDatePickerV3-d5f8c11a.js → OrDatePickerV3-7e493ca1.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, withModifiers, createVNode, Fragment, createElementVNode } from 'vue';
|
|
2
|
-
import { defineComponent, ref, computed, watch, toRef } from 'vue-demi';
|
|
3
|
-
import { s as script$1,
|
|
2
|
+
import { defineComponent, ref, computed, inject, watch, toRef } from 'vue-demi';
|
|
3
|
+
import { s as script$1, b as script$2, c as script$3, d as script$4, e as script$5, g as script$6, D as DateFormat, a as DateTimePickerDateFormat, L as Locale, h as getCurrentDate } from './OrDateTimePickerV3-345a6c12.js';
|
|
4
4
|
import { s as script$7 } from './OrErrorV3-b04d76aa.js';
|
|
5
5
|
import { s as script$8 } from './OrHintV3-c8ac5975.js';
|
|
6
6
|
import { s as script$9 } from './OrIconV3-34670800.js';
|
|
7
7
|
import { s as script$a } from './OrIconButtonV3-79f8c1eb.js';
|
|
8
8
|
import { s as script$b, I as InputBoxSize } from './OrInputBoxV3-dbc63649.js';
|
|
9
|
-
import { s as script$c } from './OrLabelV3-
|
|
9
|
+
import { s as script$c } from './OrLabelV3-23a42d9d.js';
|
|
10
10
|
import { s as script$d } from './OrPopoverV3-3e80d95c.js';
|
|
11
11
|
import { DropdownClose } from '../directives/dropdown-close.js';
|
|
12
12
|
import { DropdownOpen } from '../directives/dropdown-open.js';
|
|
@@ -48,7 +48,15 @@ var script = defineComponent({
|
|
|
48
48
|
},
|
|
49
49
|
props: {
|
|
50
50
|
modelValue: {
|
|
51
|
-
type:
|
|
51
|
+
type: undefined,
|
|
52
|
+
default: undefined
|
|
53
|
+
},
|
|
54
|
+
format: {
|
|
55
|
+
type: String,
|
|
56
|
+
default: undefined
|
|
57
|
+
},
|
|
58
|
+
locale: {
|
|
59
|
+
type: String,
|
|
52
60
|
default: undefined
|
|
53
61
|
},
|
|
54
62
|
yearFilter: {
|
|
@@ -100,8 +108,9 @@ var script = defineComponent({
|
|
|
100
108
|
expose: ['root', 'focus', 'blur'],
|
|
101
109
|
setup(props, context) {
|
|
102
110
|
var _a;
|
|
103
|
-
// Refs
|
|
111
|
+
// Refs & Styles
|
|
104
112
|
const root = ref();
|
|
113
|
+
const rootStyles = computed(() => ['or-date-picker-v3', ...DatePicker]);
|
|
105
114
|
const inputBox = ref();
|
|
106
115
|
const inputBoxRoot = computed(() => {
|
|
107
116
|
var _a;
|
|
@@ -112,9 +121,16 @@ var script = defineComponent({
|
|
|
112
121
|
var _a;
|
|
113
122
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
114
123
|
});
|
|
115
|
-
// Styles
|
|
116
|
-
const rootStyles = computed(() => ['or-date-picker-v3', ...DatePicker]);
|
|
117
124
|
const popoverStyles = computed(() => ['or-date-picker-popover-v3', ...DatePickerPopover]);
|
|
125
|
+
// Options
|
|
126
|
+
const resolvedFormat = computed(() => {
|
|
127
|
+
var _a;
|
|
128
|
+
return (_a = props.format) !== null && _a !== void 0 ? _a : inject(DateFormat, DateTimePickerDateFormat.Short);
|
|
129
|
+
});
|
|
130
|
+
const resolvedLocale = computed(() => {
|
|
131
|
+
var _a;
|
|
132
|
+
return (_a = props.locale) !== null && _a !== void 0 ? _a : inject(Locale, navigator.language);
|
|
133
|
+
});
|
|
118
134
|
// State
|
|
119
135
|
const initialValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : getCurrentDate());
|
|
120
136
|
watch(() => props.modelValue, value => {
|
|
@@ -163,19 +179,21 @@ var script = defineComponent({
|
|
|
163
179
|
}
|
|
164
180
|
function formatDateAlt(value) {
|
|
165
181
|
var _a;
|
|
166
|
-
return (_a = value === null || value === void 0 ? void 0 : value.toLocaleString(
|
|
182
|
+
return (_a = value === null || value === void 0 ? void 0 : value.toLocaleString(resolvedLocale.value, {
|
|
167
183
|
dateStyle: 'medium',
|
|
168
184
|
timeZone: 'UTC'
|
|
169
185
|
})) !== null && _a !== void 0 ? _a : '--';
|
|
170
186
|
}
|
|
171
187
|
return {
|
|
172
188
|
root,
|
|
189
|
+
rootStyles,
|
|
173
190
|
inputBox,
|
|
174
191
|
inputBoxRoot,
|
|
175
192
|
popover,
|
|
176
193
|
popoverState,
|
|
177
|
-
rootStyles,
|
|
178
194
|
popoverStyles,
|
|
195
|
+
resolvedFormat,
|
|
196
|
+
resolvedLocale,
|
|
179
197
|
initialValue,
|
|
180
198
|
proxyModelValue,
|
|
181
199
|
draftModelValue,
|
|
@@ -245,11 +263,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
245
263
|
modelValue: _ctx.draftModelValue,
|
|
246
264
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.draftModelValue = $event),
|
|
247
265
|
class: normalizeClass(['!border-0']),
|
|
266
|
+
format: _ctx.resolvedFormat,
|
|
267
|
+
locale: _ctx.resolvedLocale,
|
|
248
268
|
selected: _ctx.popover && _ctx.popover.state === 'open',
|
|
249
269
|
required: _ctx.required,
|
|
250
270
|
readonly: _ctx.readonly,
|
|
251
271
|
disabled: _ctx.disabled
|
|
252
|
-
}, null, 8 /* PROPS */, ["modelValue", "selected", "required", "readonly", "disabled"]), [[_directive_dropdown_open, _ctx.openPopover], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
|
|
272
|
+
}, null, 8 /* PROPS */, ["modelValue", "format", "locale", "selected", "required", "readonly", "disabled"]), [[_directive_dropdown_open, _ctx.openPopover], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
|
|
253
273
|
ref: 'popover',
|
|
254
274
|
class: normalizeClass(_ctx.popoverStyles),
|
|
255
275
|
"custom-styles": _ctx.popoverStyles,
|
|
@@ -275,14 +295,17 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
275
295
|
}), createVNode(_component_OrDateTimePickerMonthSelect, {
|
|
276
296
|
modelValue: _ctx.initialValue,
|
|
277
297
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.initialValue = $event),
|
|
298
|
+
locale: _ctx.resolvedLocale,
|
|
278
299
|
"year-filter": _ctx.yearFilter,
|
|
279
300
|
"month-filter": _ctx.monthFilter
|
|
280
|
-
}, null, 8 /* PROPS */, ["modelValue", "year-filter", "month-filter"]), createVNode(_component_OrDateTimePickerDateSelect, {
|
|
301
|
+
}, null, 8 /* PROPS */, ["modelValue", "locale", "year-filter", "month-filter"]), createVNode(_component_OrDateTimePickerDateSelect, {
|
|
281
302
|
modelValue: _ctx.draftModelValue,
|
|
282
303
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => _ctx.draftModelValue = $event),
|
|
283
304
|
"initial-value": _ctx.initialValue,
|
|
305
|
+
format: _ctx.resolvedFormat,
|
|
306
|
+
locale: _ctx.resolvedLocale,
|
|
284
307
|
"date-filter": _ctx.dateFilter
|
|
285
|
-
}, null, 8 /* PROPS */, ["modelValue", "initial-value", "date-filter"]), createVNode(_component_OrDateTimePickerPopoverFooter, {
|
|
308
|
+
}, null, 8 /* PROPS */, ["modelValue", "initial-value", "format", "locale", "date-filter"]), createVNode(_component_OrDateTimePickerPopoverFooter, {
|
|
286
309
|
disabled: _ctx.isInvalidDraftModelValue,
|
|
287
310
|
onApply: _cache[3] || (_cache[3] = $event => {
|
|
288
311
|
_ctx.apply();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrDateRangePickerV3-
|
|
1
|
+
export { s as default } from '../OrDateRangePickerV3-f215b1ba.js';
|
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
|
+
import { DateTimePickerDateFormat, DateTimePickerModelValue } from '../or-date-time-picker-v3';
|
|
2
3
|
import { InputBoxSize } from '../or-input-box-v3';
|
|
4
|
+
import { DateRangePickerModelValue } from './types';
|
|
3
5
|
declare const _default: import("vue-demi").DefineComponent<{
|
|
4
6
|
modelValue: {
|
|
5
|
-
type: PropType<
|
|
7
|
+
type: PropType<DateRangePickerModelValue>;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
format: {
|
|
11
|
+
type: PropType<"short" | "medium" | "long">;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
locale: {
|
|
15
|
+
type: StringConstructor;
|
|
6
16
|
default: undefined;
|
|
7
17
|
};
|
|
8
18
|
size: {
|
|
@@ -39,12 +49,14 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
39
49
|
};
|
|
40
50
|
}, {
|
|
41
51
|
root: import("vue-demi").Ref<HTMLElement | undefined>;
|
|
52
|
+
rootStyles: import("vue-demi").ComputedRef<string[]>;
|
|
42
53
|
inputBox: import("vue-demi").Ref<any>;
|
|
43
54
|
inputBoxRoot: import("vue-demi").ComputedRef<any>;
|
|
44
55
|
popover: import("vue-demi").Ref<any>;
|
|
45
56
|
popoverState: import("vue-demi").ComputedRef<any>;
|
|
46
|
-
rootStyles: import("vue-demi").ComputedRef<string[]>;
|
|
47
57
|
popoverStyles: import("vue-demi").ComputedRef<string[]>;
|
|
58
|
+
resolvedFormat: import("vue-demi").ComputedRef<DateTimePickerDateFormat.Short | "short" | "medium" | "long">;
|
|
59
|
+
resolvedLocale: import("vue-demi").ComputedRef<string>;
|
|
48
60
|
initialValueFrom: import("vue-demi").Ref<{
|
|
49
61
|
toString: () => string;
|
|
50
62
|
toDateString: () => string;
|
|
@@ -171,7 +183,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
171
183
|
(hint: string): string | number;
|
|
172
184
|
};
|
|
173
185
|
}>;
|
|
174
|
-
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<
|
|
186
|
+
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<DateRangePickerModelValue>;
|
|
175
187
|
draftModelValue: import("vue-demi").Ref<[{
|
|
176
188
|
toString: () => string;
|
|
177
189
|
toDateString: () => string;
|
|
@@ -234,7 +246,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
234
246
|
(hint: "number"): number;
|
|
235
247
|
(hint: string): string | number;
|
|
236
248
|
};
|
|
237
|
-
} | undefined, {
|
|
249
|
+
} | null | undefined, {
|
|
238
250
|
toString: () => string;
|
|
239
251
|
toDateString: () => string;
|
|
240
252
|
toTimeString: () => string;
|
|
@@ -296,7 +308,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
296
308
|
(hint: "number"): number;
|
|
297
309
|
(hint: string): string | number;
|
|
298
310
|
};
|
|
299
|
-
} | undefined]>;
|
|
311
|
+
} | null | undefined]>;
|
|
300
312
|
draftModelValueFrom: import("vue-demi").WritableComputedRef<{
|
|
301
313
|
toString: () => string;
|
|
302
314
|
toDateString: () => string;
|
|
@@ -359,7 +371,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
359
371
|
(hint: "number"): number;
|
|
360
372
|
(hint: string): string | number;
|
|
361
373
|
};
|
|
362
|
-
} | undefined>;
|
|
374
|
+
} | null | undefined>;
|
|
363
375
|
draftModelValueTo: import("vue-demi").WritableComputedRef<{
|
|
364
376
|
toString: () => string;
|
|
365
377
|
toDateString: () => string;
|
|
@@ -422,7 +434,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
422
434
|
(hint: "number"): number;
|
|
423
435
|
(hint: string): string | number;
|
|
424
436
|
};
|
|
425
|
-
} | undefined>;
|
|
437
|
+
} | null | undefined>;
|
|
426
438
|
genericDraftModelValue: import("vue-demi").WritableComputedRef<{
|
|
427
439
|
toString: () => string;
|
|
428
440
|
toDateString: () => string;
|
|
@@ -485,20 +497,28 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
485
497
|
(hint: "number"): number;
|
|
486
498
|
(hint: string): string | number;
|
|
487
499
|
};
|
|
488
|
-
} | undefined>;
|
|
500
|
+
} | null | undefined>;
|
|
489
501
|
selectedControl: import("vue-demi").Ref<"from" | "to">;
|
|
490
502
|
isInvalidDraftModelValue: import("vue-demi").ComputedRef<boolean>;
|
|
491
|
-
switchSelectedControl: () => void;
|
|
492
503
|
apply: () => void;
|
|
493
504
|
reset: () => void;
|
|
505
|
+
switchSelectedControl: () => void;
|
|
494
506
|
openPopover: (control: 'from' | 'to') => void;
|
|
495
507
|
closePopover: () => void;
|
|
496
|
-
formatDateAlt: (value
|
|
508
|
+
formatDateAlt: (value: DateTimePickerModelValue) => string;
|
|
497
509
|
isDesktop: import("vue-demi").ComputedRef<boolean>;
|
|
498
510
|
isMobile: import("vue-demi").ComputedRef<boolean>;
|
|
499
511
|
}, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "keydown" | "keyup" | "focus" | "blur")[], "update:modelValue" | "keydown" | "keyup" | "focus" | "blur", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
500
512
|
modelValue: {
|
|
501
|
-
type: PropType<
|
|
513
|
+
type: PropType<DateRangePickerModelValue>;
|
|
514
|
+
default: undefined;
|
|
515
|
+
};
|
|
516
|
+
format: {
|
|
517
|
+
type: PropType<"short" | "medium" | "long">;
|
|
518
|
+
default: undefined;
|
|
519
|
+
};
|
|
520
|
+
locale: {
|
|
521
|
+
type: StringConstructor;
|
|
502
522
|
default: undefined;
|
|
503
523
|
};
|
|
504
524
|
size: {
|
|
@@ -540,7 +560,9 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
540
560
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
541
561
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
542
562
|
}, {
|
|
543
|
-
modelValue:
|
|
563
|
+
modelValue: DateRangePickerModelValue;
|
|
564
|
+
format: "short" | "medium" | "long";
|
|
565
|
+
locale: string;
|
|
544
566
|
size: "m" | "s";
|
|
545
567
|
label: string;
|
|
546
568
|
hint: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as OrDateRangePickerV3 } from '../OrDateRangePickerV3-
|
|
1
|
+
export { s as OrDateRangePickerV3 } from '../OrDateRangePickerV3-f215b1ba.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { D as DateRangePicker, a as DateRangePickerPopover } from '../OrDateRangePickerV3-
|
|
1
|
+
export { D as DateRangePicker, a as DateRangePickerPopover } from '../OrDateRangePickerV3-f215b1ba.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, withModifiers, createVNode, createElementVNode, Fragment } from 'vue';
|
|
2
|
-
import { defineComponent, ref, computed, watch, toRef } from 'vue-demi';
|
|
2
|
+
import { defineComponent, ref, computed, inject, watch, toRef } from 'vue-demi';
|
|
3
3
|
import { s as script$7 } from './OrErrorV3-b04d76aa.js';
|
|
4
4
|
import { s as script$8 } from './OrHintV3-c8ac5975.js';
|
|
5
5
|
import { s as script$9 } from './OrIconV3-34670800.js';
|
|
6
6
|
import { s as script$a } from './OrIconButtonV3-79f8c1eb.js';
|
|
7
7
|
import { s as script$b, I as InputBoxSize } from './OrInputBoxV3-dbc63649.js';
|
|
8
|
-
import { s as script$c } from './OrLabelV3-
|
|
8
|
+
import { s as script$c } from './OrLabelV3-23a42d9d.js';
|
|
9
9
|
import { s as script$d } from './OrPopoverV3-3e80d95c.js';
|
|
10
|
-
import { s as script$1,
|
|
10
|
+
import { s as script$1, b as script$2, c as script$3, d as script$4, e as script$5, g as script$6, D as DateFormat, a as DateTimePickerDateFormat, L as Locale, h as getCurrentDate, i as getNextMonthDate } from './OrDateTimePickerV3-345a6c12.js';
|
|
11
11
|
import { DropdownClose } from '../directives/dropdown-close.js';
|
|
12
12
|
import { DropdownOpen } from '../directives/dropdown-open.js';
|
|
13
13
|
import { useProxyModelValue } from '../hooks/useProxyModelValue.js';
|
|
@@ -49,7 +49,15 @@ var script = defineComponent({
|
|
|
49
49
|
},
|
|
50
50
|
props: {
|
|
51
51
|
modelValue: {
|
|
52
|
-
type:
|
|
52
|
+
type: undefined,
|
|
53
|
+
default: undefined
|
|
54
|
+
},
|
|
55
|
+
format: {
|
|
56
|
+
type: String,
|
|
57
|
+
default: undefined
|
|
58
|
+
},
|
|
59
|
+
locale: {
|
|
60
|
+
type: String,
|
|
53
61
|
default: undefined
|
|
54
62
|
},
|
|
55
63
|
size: {
|
|
@@ -89,8 +97,9 @@ var script = defineComponent({
|
|
|
89
97
|
expose: ['root', 'focus', 'blur'],
|
|
90
98
|
setup(props, context) {
|
|
91
99
|
var _a, _b, _c, _d, _e;
|
|
92
|
-
// Refs
|
|
100
|
+
// Refs & Styles
|
|
93
101
|
const root = ref();
|
|
102
|
+
const rootStyles = computed(() => ['or-date-range-picker-v3', ...DateRangePicker]);
|
|
94
103
|
const inputBox = ref();
|
|
95
104
|
const inputBoxRoot = computed(() => {
|
|
96
105
|
var _a;
|
|
@@ -101,9 +110,16 @@ var script = defineComponent({
|
|
|
101
110
|
var _a;
|
|
102
111
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
103
112
|
});
|
|
104
|
-
// Styles
|
|
105
|
-
const rootStyles = computed(() => ['or-date-range-picker-v3', ...DateRangePicker]);
|
|
106
113
|
const popoverStyles = computed(() => ['or-date-range-picker-popover-v3', ...DateRangePickerPopover]);
|
|
114
|
+
// Options
|
|
115
|
+
const resolvedFormat = computed(() => {
|
|
116
|
+
var _a;
|
|
117
|
+
return (_a = props.format) !== null && _a !== void 0 ? _a : inject(DateFormat, DateTimePickerDateFormat.Short);
|
|
118
|
+
});
|
|
119
|
+
const resolvedLocale = computed(() => {
|
|
120
|
+
var _a;
|
|
121
|
+
return (_a = props.locale) !== null && _a !== void 0 ? _a : inject(Locale, navigator.language);
|
|
122
|
+
});
|
|
107
123
|
// State
|
|
108
124
|
const initialValueFrom = ref((_b = (_a = props.modelValue) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : getCurrentDate());
|
|
109
125
|
const initialValueTo = ref((_d = (_c = props.modelValue) === null || _c === void 0 ? void 0 : _c[1]) !== null && _d !== void 0 ? _d : getNextMonthDate());
|
|
@@ -155,9 +171,6 @@ var script = defineComponent({
|
|
|
155
171
|
return true;
|
|
156
172
|
});
|
|
157
173
|
// Methods
|
|
158
|
-
function switchSelectedControl() {
|
|
159
|
-
selectedControl.value = selectedControl.value === 'from' ? 'to' : 'from';
|
|
160
|
-
}
|
|
161
174
|
function apply() {
|
|
162
175
|
proxyModelValue.value = draftModelValue.value;
|
|
163
176
|
}
|
|
@@ -165,6 +178,9 @@ var script = defineComponent({
|
|
|
165
178
|
var _a;
|
|
166
179
|
draftModelValue.value = (_a = proxyModelValue.value) !== null && _a !== void 0 ? _a : [undefined, undefined];
|
|
167
180
|
}
|
|
181
|
+
function switchSelectedControl() {
|
|
182
|
+
selectedControl.value = selectedControl.value === 'from' ? 'to' : 'from';
|
|
183
|
+
}
|
|
168
184
|
function openPopover(control) {
|
|
169
185
|
if (!props.readonly && !props.disabled) {
|
|
170
186
|
const popoverInstance = popover.value;
|
|
@@ -182,7 +198,7 @@ var script = defineComponent({
|
|
|
182
198
|
}
|
|
183
199
|
function formatDateAlt(value) {
|
|
184
200
|
var _a;
|
|
185
|
-
return (_a = value === null || value === void 0 ? void 0 : value.toLocaleString(
|
|
201
|
+
return (_a = value === null || value === void 0 ? void 0 : value.toLocaleString(resolvedLocale.value, {
|
|
186
202
|
dateStyle: 'medium',
|
|
187
203
|
timeZone: 'UTC'
|
|
188
204
|
})) !== null && _a !== void 0 ? _a : '--';
|
|
@@ -194,12 +210,14 @@ var script = defineComponent({
|
|
|
194
210
|
} = useResponsive();
|
|
195
211
|
return {
|
|
196
212
|
root,
|
|
213
|
+
rootStyles,
|
|
197
214
|
inputBox,
|
|
198
215
|
inputBoxRoot,
|
|
199
216
|
popover,
|
|
200
217
|
popoverState,
|
|
201
|
-
rootStyles,
|
|
202
218
|
popoverStyles,
|
|
219
|
+
resolvedFormat,
|
|
220
|
+
resolvedLocale,
|
|
203
221
|
initialValueFrom,
|
|
204
222
|
initialValueTo,
|
|
205
223
|
proxyModelValue,
|
|
@@ -209,9 +227,9 @@ var script = defineComponent({
|
|
|
209
227
|
genericDraftModelValue,
|
|
210
228
|
selectedControl,
|
|
211
229
|
isInvalidDraftModelValue,
|
|
212
|
-
switchSelectedControl,
|
|
213
230
|
apply,
|
|
214
231
|
reset,
|
|
232
|
+
switchSelectedControl,
|
|
215
233
|
openPopover,
|
|
216
234
|
closePopover,
|
|
217
235
|
formatDateAlt,
|
|
@@ -287,18 +305,22 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
287
305
|
default: withCtx(() => [withDirectives(createVNode(_component_OrDateTimePickerDateControl, {
|
|
288
306
|
modelValue: _ctx.draftModelValueFrom,
|
|
289
307
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.draftModelValueFrom = $event),
|
|
308
|
+
format: _ctx.resolvedFormat,
|
|
309
|
+
locale: _ctx.resolvedLocale,
|
|
290
310
|
selected: _ctx.popover && _ctx.popover.state === 'open' && _ctx.selectedControl === 'from',
|
|
291
311
|
required: _ctx.required,
|
|
292
312
|
readonly: _ctx.readonly,
|
|
293
313
|
disabled: _ctx.disabled
|
|
294
|
-
}, null, 8 /* PROPS */, ["modelValue", "selected", "required", "readonly", "disabled"]), [[_directive_dropdown_open, () => _ctx.openPopover('from')], [_directive_dropdown_close, _ctx.closePopover]]), createTextVNode(" - "), withDirectives(createVNode(_component_OrDateTimePickerDateControl, {
|
|
314
|
+
}, null, 8 /* PROPS */, ["modelValue", "format", "locale", "selected", "required", "readonly", "disabled"]), [[_directive_dropdown_open, () => _ctx.openPopover('from')], [_directive_dropdown_close, _ctx.closePopover]]), createTextVNode(" - "), withDirectives(createVNode(_component_OrDateTimePickerDateControl, {
|
|
295
315
|
modelValue: _ctx.draftModelValueTo,
|
|
296
316
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.draftModelValueTo = $event),
|
|
317
|
+
format: _ctx.resolvedFormat,
|
|
318
|
+
locale: _ctx.resolvedLocale,
|
|
297
319
|
selected: _ctx.popover && _ctx.popover.state === 'open' && _ctx.selectedControl === 'to',
|
|
298
320
|
required: _ctx.required,
|
|
299
321
|
readonly: _ctx.readonly,
|
|
300
322
|
disabled: _ctx.disabled
|
|
301
|
-
}, null, 8 /* PROPS */, ["modelValue", "selected", "required", "readonly", "disabled"]), [[_directive_dropdown_open, () => _ctx.openPopover('to')], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
|
|
323
|
+
}, null, 8 /* PROPS */, ["modelValue", "format", "locale", "selected", "required", "readonly", "disabled"]), [[_directive_dropdown_open, () => _ctx.openPopover('to')], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
|
|
302
324
|
ref: 'popover',
|
|
303
325
|
class: normalizeClass(_ctx.popoverStyles),
|
|
304
326
|
"custom-styles": _ctx.popoverStyles,
|
|
@@ -331,23 +353,29 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
331
353
|
_: 1 /* STABLE */
|
|
332
354
|
}), createElementVNode("div", _hoisted_1, [_ctx.isDesktop || _ctx.isMobile && _ctx.selectedControl === 'from' ? (openBlock(), createElementBlock("div", _hoisted_2, [createVNode(_component_OrDateTimePickerMonthSelect, {
|
|
333
355
|
modelValue: _ctx.initialValueFrom,
|
|
334
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => _ctx.initialValueFrom = $event)
|
|
335
|
-
|
|
356
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => _ctx.initialValueFrom = $event),
|
|
357
|
+
locale: _ctx.resolvedLocale
|
|
358
|
+
}, null, 8 /* PROPS */, ["modelValue", "locale"]), createVNode(_component_OrDateTimePickerDateSelect, {
|
|
336
359
|
modelValue: _ctx.genericDraftModelValue,
|
|
337
360
|
"onUpdate:modelValue": [_cache[5] || (_cache[5] = $event => _ctx.genericDraftModelValue = $event), _cache[6] || (_cache[6] = $event => _ctx.switchSelectedControl())],
|
|
338
361
|
"initial-value": _ctx.initialValueFrom,
|
|
362
|
+
format: _ctx.resolvedFormat,
|
|
363
|
+
locale: _ctx.resolvedLocale,
|
|
339
364
|
"range-start": _ctx.draftModelValueFrom || _ctx.initialValueFrom,
|
|
340
365
|
"range-end": _ctx.draftModelValueTo || _ctx.initialValueTo
|
|
341
|
-
}, null, 8 /* PROPS */, ["modelValue", "initial-value", "range-start", "range-end"])])) : createCommentVNode("v-if", true), _ctx.isDesktop || _ctx.isMobile && _ctx.selectedControl === 'to' ? (openBlock(), createElementBlock("div", _hoisted_3, [createVNode(_component_OrDateTimePickerMonthSelect, {
|
|
366
|
+
}, null, 8 /* PROPS */, ["modelValue", "initial-value", "format", "locale", "range-start", "range-end"])])) : createCommentVNode("v-if", true), _ctx.isDesktop || _ctx.isMobile && _ctx.selectedControl === 'to' ? (openBlock(), createElementBlock("div", _hoisted_3, [createVNode(_component_OrDateTimePickerMonthSelect, {
|
|
342
367
|
modelValue: _ctx.initialValueTo,
|
|
343
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => _ctx.initialValueTo = $event)
|
|
344
|
-
|
|
368
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => _ctx.initialValueTo = $event),
|
|
369
|
+
locale: _ctx.resolvedLocale
|
|
370
|
+
}, null, 8 /* PROPS */, ["modelValue", "locale"]), createVNode(_component_OrDateTimePickerDateSelect, {
|
|
345
371
|
modelValue: _ctx.genericDraftModelValue,
|
|
346
372
|
"onUpdate:modelValue": [_cache[8] || (_cache[8] = $event => _ctx.genericDraftModelValue = $event), _cache[9] || (_cache[9] = $event => _ctx.switchSelectedControl())],
|
|
347
373
|
"initial-value": _ctx.initialValueTo,
|
|
374
|
+
format: _ctx.resolvedFormat,
|
|
375
|
+
locale: _ctx.resolvedLocale,
|
|
348
376
|
"range-start": _ctx.draftModelValueFrom || _ctx.initialValueFrom,
|
|
349
377
|
"range-end": _ctx.draftModelValueTo || _ctx.initialValueTo
|
|
350
|
-
}, null, 8 /* PROPS */, ["modelValue", "initial-value", "range-start", "range-end"])])) : createCommentVNode("v-if", true)]), createVNode(_component_OrDateTimePickerPopoverFooter, {
|
|
378
|
+
}, null, 8 /* PROPS */, ["modelValue", "initial-value", "format", "locale", "range-start", "range-end"])])) : createCommentVNode("v-if", true)]), createVNode(_component_OrDateTimePickerPopoverFooter, {
|
|
351
379
|
disabled: _ctx.isInvalidDraftModelValue,
|
|
352
380
|
onApply: _cache[10] || (_cache[10] = $event => {
|
|
353
381
|
_ctx.apply();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrDateTimeFormatV3-
|
|
1
|
+
export { s as default } from '../OrDateTimeFormatV3-57c82e28.js';
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
|
-
import { DateTimePickerTimeFormat, formatDate, formatTime } from '../or-date-time-picker-v3';
|
|
2
|
+
import { DateTimePickerDateFormat, DateTimePickerModelValue, DateTimePickerTimeFormat, formatDate, formatTime } from '../or-date-time-picker-v3';
|
|
3
3
|
declare const _default: import("vue-demi").DefineComponent<{
|
|
4
4
|
modelValue: {
|
|
5
|
-
type:
|
|
5
|
+
type: PropType<DateTimePickerModelValue>;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
dateFormat: {
|
|
9
|
+
type: PropType<"short" | "medium" | "long">;
|
|
6
10
|
default: undefined;
|
|
7
11
|
};
|
|
8
12
|
timeFormat: {
|
|
9
13
|
type: PropType<"auto" | "h12" | "h23">;
|
|
10
|
-
default:
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
locale: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: undefined;
|
|
11
19
|
};
|
|
12
20
|
placeholder: {
|
|
13
21
|
type: StringConstructor;
|
|
@@ -16,24 +24,37 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
16
24
|
}, {
|
|
17
25
|
root: import("vue-demi").Ref<HTMLElement | undefined>;
|
|
18
26
|
rootStyles: import("vue-demi").ComputedRef<string[]>;
|
|
27
|
+
resolvedDateFormat: import("vue-demi").ComputedRef<DateTimePickerDateFormat.Short | "short" | "medium" | "long">;
|
|
28
|
+
resolvedTimeFormat: import("vue-demi").ComputedRef<DateTimePickerTimeFormat.Auto | "auto" | "h12" | "h23">;
|
|
29
|
+
resolvedLocale: import("vue-demi").ComputedRef<string>;
|
|
19
30
|
formatDate: typeof formatDate;
|
|
20
31
|
formatTime: typeof formatTime;
|
|
21
32
|
}, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, {}, string, import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
22
33
|
modelValue: {
|
|
23
|
-
type:
|
|
34
|
+
type: PropType<DateTimePickerModelValue>;
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
dateFormat: {
|
|
38
|
+
type: PropType<"short" | "medium" | "long">;
|
|
24
39
|
default: undefined;
|
|
25
40
|
};
|
|
26
41
|
timeFormat: {
|
|
27
42
|
type: PropType<"auto" | "h12" | "h23">;
|
|
28
|
-
default:
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
45
|
+
locale: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: undefined;
|
|
29
48
|
};
|
|
30
49
|
placeholder: {
|
|
31
50
|
type: StringConstructor;
|
|
32
51
|
default: undefined;
|
|
33
52
|
};
|
|
34
53
|
}>>, {
|
|
35
|
-
modelValue:
|
|
54
|
+
modelValue: DateTimePickerModelValue;
|
|
55
|
+
dateFormat: "short" | "medium" | "long";
|
|
36
56
|
timeFormat: "auto" | "h12" | "h23";
|
|
57
|
+
locale: string;
|
|
37
58
|
placeholder: string;
|
|
38
59
|
}>;
|
|
39
60
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as OrDateTimeFormatV3 } from '../OrDateTimeFormatV3-
|
|
1
|
+
export { s as OrDateTimeFormatV3 } from '../OrDateTimeFormatV3-57c82e28.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { D as DateTimeFormat } from '../OrDateTimeFormatV3-
|
|
1
|
+
export { D as DateTimeFormat } from '../OrDateTimeFormatV3-57c82e28.js';
|