@onereach/ui-components 4.0.3 → 4.0.4-beta.2517.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-e03358e0.js +411 -0
- package/dist/bundled/v2/OrDateTimePickerPopoverHeader-bc302c17.js +218 -0
- package/dist/bundled/v2/OrDateTimePickerTimeSelect-287eaf2f.js +182 -0
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +362 -0
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.vue.d.ts +183 -0
- package/dist/bundled/v2/components/OrDatePickerV3/index.d.ts +2 -0
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +58 -0
- package/dist/bundled/v2/components/OrDatePickerV3/props.d.ts +1 -0
- package/dist/bundled/v2/components/OrDatePickerV3/props.js +1 -0
- package/dist/bundled/v2/components/OrDatePickerV3/styles.d.ts +2 -0
- package/dist/bundled/v2/components/OrDatePickerV3/styles.js +10 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +470 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.vue.d.ts +205 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/hooks/useDefaultDate.d.ts +1 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/hooks/useDefaultDate.js +5 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/hooks/useDefaultHours.d.ts +1 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/hooks/useDefaultHours.js +5 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/hooks/useDefaultMinutes.d.ts +1 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/hooks/useDefaultMinutes.js +5 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/hooks/useDefaultMonth.d.ts +1 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/hooks/useDefaultMonth.js +5 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/hooks/useDefaultYear.d.ts +1 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/hooks/useDefaultYear.js +5 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.d.ts +2 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +59 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/props.d.ts +1 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/props.js +1 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/styles.d.ts +2 -0
- package/dist/bundled/v2/components/OrDateTimePickerV3/styles.js +12 -0
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +6 -1
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.vue.d.ts +2 -0
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +1 -1
- package/dist/bundled/v2/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +346 -0
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.vue.d.ts +183 -0
- package/dist/bundled/v2/components/OrTimePickerV3/index.d.ts +2 -0
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +54 -0
- package/dist/bundled/v2/components/OrTimePickerV3/props.d.ts +1 -0
- package/dist/bundled/v2/components/OrTimePickerV3/props.js +1 -0
- package/dist/bundled/v2/components/OrTimePickerV3/styles.d.ts +2 -0
- package/dist/bundled/v2/components/OrTimePickerV3/styles.js +10 -0
- package/dist/bundled/v2/components/index.d.ts +6 -3
- package/dist/bundled/v2/components/index.js +23 -9
- package/dist/bundled/v2/directives/dropdown-close.js +1 -0
- package/dist/bundled/v2/directives/dropdown-open.js +6 -1
- package/dist/bundled/v2/index.js +21 -7
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-ba7b8866.js → OrCardCollection.vue_vue_type_script_lang-e53f0355.js} +1 -1
- package/dist/bundled/v3/OrDatePicker.vue_vue_type_script_lang-2758d7c3.js +172 -0
- package/dist/bundled/v3/OrDateTimePicker.vue_vue_type_script_lang-2c134508.js +219 -0
- package/dist/bundled/v3/OrDateTimePickerMonthSelect-8f6af9dc.js +346 -0
- package/dist/bundled/v3/OrDateTimePickerPopoverHeader-56b09ab8.js +143 -0
- package/dist/bundled/v3/OrDateTimePickerTimeSelect-8644a1ae.js +153 -0
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-0157c4f3.js → OrMenu.vue_vue_type_script_lang-8f523b6a.js} +6 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-1f82a63d.js → OrPagination.vue_vue_type_script_lang-5dba386c.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-e64541b1.js → OrTabs.vue_vue_type_script_lang-46612ca9.js} +1 -1
- package/dist/bundled/v3/OrTimePicker.vue_vue_type_script_lang-f51f7971.js +171 -0
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +3 -3
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +2 -2
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +188 -0
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.vue.d.ts +183 -0
- package/dist/bundled/v3/components/OrDatePickerV3/index.d.ts +2 -0
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +72 -0
- package/dist/bundled/v3/components/OrDatePickerV3/props.d.ts +1 -0
- package/dist/bundled/v3/components/OrDatePickerV3/props.js +1 -0
- package/dist/bundled/v3/components/OrDatePickerV3/styles.d.ts +2 -0
- package/dist/bundled/v3/components/OrDatePickerV3/styles.js +10 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +242 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.vue.d.ts +205 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/hooks/useDefaultDate.d.ts +1 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/hooks/useDefaultDate.js +5 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/hooks/useDefaultHours.d.ts +1 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/hooks/useDefaultHours.js +5 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/hooks/useDefaultMinutes.d.ts +1 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/hooks/useDefaultMinutes.js +5 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/hooks/useDefaultMonth.d.ts +1 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/hooks/useDefaultMonth.js +5 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/hooks/useDefaultYear.d.ts +1 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/hooks/useDefaultYear.js +5 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.d.ts +2 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +73 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/props.d.ts +1 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/props.js +1 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/styles.d.ts +2 -0
- package/dist/bundled/v3/components/OrDateTimePickerV3/styles.js +12 -0
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +2 -2
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +2 -0
- package/dist/bundled/v3/components/OrMenuV3/index.js +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +3 -3
- package/dist/bundled/v3/components/OrPaginationV3/index.js +2 -2
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +3 -3
- package/dist/bundled/v3/components/OrSelectV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +3 -3
- package/dist/bundled/v3/components/OrTabsV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +177 -0
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.vue.d.ts +183 -0
- package/dist/bundled/v3/components/OrTimePickerV3/index.d.ts +2 -0
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +66 -0
- package/dist/bundled/v3/components/OrTimePickerV3/props.d.ts +1 -0
- package/dist/bundled/v3/components/OrTimePickerV3/props.js +1 -0
- package/dist/bundled/v3/components/OrTimePickerV3/styles.d.ts +2 -0
- package/dist/bundled/v3/components/OrTimePickerV3/styles.js +10 -0
- package/dist/bundled/v3/components/index.d.ts +6 -3
- package/dist/bundled/v3/components/index.js +27 -13
- package/dist/bundled/v3/directives/dropdown-close.js +1 -0
- package/dist/bundled/v3/directives/dropdown-open.js +6 -1
- package/dist/bundled/v3/index.js +35 -18
- package/dist/esm/v2/{OrCardCollection-82b27d2b.js → OrCardCollection-26a5a277.js} +3 -3
- package/dist/esm/v2/{OrConfirm-ea773d2d.js → OrConfirm-c90dd047.js} +1 -1
- package/dist/esm/v2/OrDatePicker-37857aee.js +329 -0
- package/dist/esm/v2/OrDateTimePicker-7c0622ad.js +439 -0
- package/dist/esm/v2/OrDateTimePickerMonthSelect-353918ec.js +406 -0
- package/dist/esm/v2/OrDateTimePickerPopoverHeader-e23d37c1.js +235 -0
- package/dist/esm/v2/OrDateTimePickerTimeSelect-c820c1ca.js +177 -0
- package/dist/esm/v2/{OrInput-af0abad0.js → OrInput-2ac7d76f.js} +2 -2
- package/dist/esm/v2/{OrInputBox-6b1aec08.js → OrInputBox-0f4e8500.js} +1 -1
- package/dist/esm/v2/{OrInputBox.vue_rollup-plugin-vue_script-23426690.js → OrInputBox.vue_rollup-plugin-vue_script-b2d0c353.js} +1 -1
- package/dist/esm/v2/{OrMenu-f38185f0.js → OrMenu-4209c84c.js} +6 -1
- package/dist/esm/v2/{OrPagination-2369b1d7.js → OrPagination-866949f7.js} +1 -1
- package/dist/esm/v2/{OrSearch-91f066d7.js → OrSearch-773d18ec.js} +2 -2
- package/dist/esm/v2/{OrSelect-5236293f.js → OrSelect-4b423923.js} +4 -4
- package/dist/esm/v2/{OrTabs-92cb4fca.js → OrTabs-c303cc81.js} +1 -1
- package/dist/esm/v2/{OrTextarea-2d5d0be6.js → OrTextarea-839a422d.js} +2 -2
- package/dist/esm/v2/OrTimePicker-2dc07af4.js +317 -0
- package/dist/esm/v2/components/index.d.ts +6 -3
- package/dist/esm/v2/components/index.js +20 -14
- package/dist/esm/v2/components/or-card-collection-v3/index.js +6 -6
- package/dist/esm/v2/components/or-combined-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-picker-v3/OrDatePicker.vue.d.ts +183 -0
- package/dist/esm/v2/components/or-date-picker-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-date-picker-v3/index.js +29 -0
- package/dist/esm/v2/components/or-date-picker-v3/props.d.ts +1 -0
- package/dist/esm/v2/components/or-date-picker-v3/styles.d.ts +2 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/OrDateTimePicker.vue.d.ts +205 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/hooks/useDefaultDate.d.ts +1 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/hooks/useDefaultHours.d.ts +1 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/hooks/useDefaultMinutes.d.ts +1 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/hooks/useDefaultMonth.d.ts +1 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/hooks/useDefaultYear.d.ts +1 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +30 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-day-select/OrDateTimePickerDaySelect.vue.d.ts +50 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-day-select/styles.d.ts +3 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/OrDateTimePickerMobileControl.vue.d.ts +24 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/styles.d.ts +2 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue.d.ts +102 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue.d.ts +12 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/OrDateTimePickerPopoverHeader.vue.d.ts +8 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue.d.ts +54 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/styles.d.ts +3 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/props.d.ts +1 -0
- package/dist/esm/v2/components/or-date-time-picker-v3/styles.d.ts +2 -0
- package/dist/esm/v2/components/or-input-box-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +3 -3
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
- package/dist/esm/v2/components/or-menu-v3/index.js +1 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +4 -4
- package/dist/esm/v2/components/or-select-v3/index.js +5 -5
- package/dist/esm/v2/components/or-tabs-v3/index.js +2 -2
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -3
- package/dist/esm/v2/components/or-time-picker-v3/OrTimePicker.vue.d.ts +183 -0
- package/dist/esm/v2/components/or-time-picker-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-time-picker-v3/index.js +27 -0
- package/dist/esm/v2/components/or-time-picker-v3/props.d.ts +1 -0
- package/dist/esm/v2/components/or-time-picker-v3/styles.d.ts +2 -0
- package/dist/esm/v2/directives/index.js +1 -1
- package/dist/esm/v2/{dropdown-open-0d314aa4.js → dropdown-open-e1f90e0a.js} +7 -1
- package/dist/esm/v2/index.js +19 -13
- package/dist/esm/v3/{OrCardCollection-3a487dec.js → OrCardCollection-205a6740.js} +3 -3
- package/dist/esm/v3/{OrConfirm-aa14b818.js → OrConfirm-a9cbbabe.js} +1 -1
- package/dist/esm/v3/OrDatePicker-0caf38a6.js +288 -0
- package/dist/esm/v3/OrDateTimePicker-ddf4263d.js +390 -0
- package/dist/esm/v3/OrDateTimePickerMonthSelect-acd0771e.js +338 -0
- package/dist/esm/v3/OrDateTimePickerPopoverHeader-4c376102.js +161 -0
- package/dist/esm/v3/OrDateTimePickerTimeSelect-9c6bf2f8.js +148 -0
- package/dist/esm/v3/{OrInput-45bf1017.js → OrInput-97dc032f.js} +1 -1
- package/dist/esm/v3/{OrInputBox-11389afd.js → OrInputBox-901887a1.js} +1 -1
- package/dist/esm/v3/{OrMenu-f75b34ec.js → OrMenu-bf6046a9.js} +6 -1
- package/dist/esm/v3/{OrPagination-ec7636cd.js → OrPagination-f3a9794b.js} +1 -1
- package/dist/esm/v3/{OrSearch-2f360218.js → OrSearch-6febf8e0.js} +2 -2
- package/dist/esm/v3/{OrSelect-22fe134e.js → OrSelect-bb6f10b2.js} +3 -3
- package/dist/esm/v3/{OrTabs-ffdadb70.js → OrTabs-87a46fc0.js} +1 -1
- package/dist/esm/v3/{OrTextarea-08b22d36.js → OrTextarea-2002e190.js} +1 -1
- package/dist/esm/v3/OrTimePicker-9b30a969.js +282 -0
- package/dist/esm/v3/components/index.d.ts +6 -3
- package/dist/esm/v3/components/index.js +19 -13
- package/dist/esm/v3/components/or-card-collection-v3/index.js +5 -5
- 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-picker-v3/OrDatePicker.vue.d.ts +183 -0
- package/dist/esm/v3/components/or-date-picker-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-date-picker-v3/index.js +27 -0
- package/dist/esm/v3/components/or-date-picker-v3/props.d.ts +1 -0
- package/dist/esm/v3/components/or-date-picker-v3/styles.d.ts +2 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/OrDateTimePicker.vue.d.ts +205 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/hooks/useDefaultDate.d.ts +1 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/hooks/useDefaultHours.d.ts +1 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/hooks/useDefaultMinutes.d.ts +1 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/hooks/useDefaultMonth.d.ts +1 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/hooks/useDefaultYear.d.ts +1 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +28 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-day-select/OrDateTimePickerDaySelect.vue.d.ts +50 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-day-select/styles.d.ts +3 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/OrDateTimePickerMobileControl.vue.d.ts +24 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/styles.d.ts +2 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue.d.ts +102 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue.d.ts +12 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/OrDateTimePickerPopoverHeader.vue.d.ts +8 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue.d.ts +54 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/styles.d.ts +3 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/props.d.ts +1 -0
- package/dist/esm/v3/components/or-date-time-picker-v3/styles.d.ts +2 -0
- package/dist/esm/v3/components/or-input-box-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
- package/dist/esm/v3/components/or-menu-v3/index.js +1 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +2 -2
- 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-tabs-v3/index.js +2 -2
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-time-picker-v3/OrTimePicker.vue.d.ts +183 -0
- package/dist/esm/v3/components/or-time-picker-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-time-picker-v3/index.js +25 -0
- package/dist/esm/v3/components/or-time-picker-v3/props.d.ts +1 -0
- package/dist/esm/v3/components/or-time-picker-v3/styles.d.ts +2 -0
- package/dist/esm/v3/directives/index.js +1 -1
- package/dist/esm/v3/{dropdown-open-0d314aa4.js → dropdown-open-e1f90e0a.js} +7 -1
- package/dist/esm/v3/index.js +18 -12
- package/package.json +3 -4
- package/src/components/index.ts +6 -3
- package/src/components/or-checkbox-v3/OrCheckbox.stories3.ts +1 -1
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +1 -1
- package/src/components/{or-error-v3/OrError.docs.mdx → or-date-picker-v3/OrDatePicker.docs.mdx} +1 -1
- package/src/components/or-date-picker-v3/OrDatePicker.stories3.ts +160 -0
- package/src/components/or-date-picker-v3/OrDatePicker.vue +309 -0
- package/src/components/or-date-picker-v3/index.ts +2 -0
- package/src/components/or-date-picker-v3/props.ts +1 -0
- package/src/components/or-date-picker-v3/styles.ts +12 -0
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.docs.mdx +7 -0
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.stories3.ts +160 -0
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +403 -0
- package/src/components/or-date-time-picker-v3/hooks/useDefaultDate.ts +3 -0
- package/src/components/or-date-time-picker-v3/hooks/useDefaultHours.ts +3 -0
- package/src/components/or-date-time-picker-v3/hooks/useDefaultMinutes.ts +3 -0
- package/src/components/or-date-time-picker-v3/hooks/useDefaultMonth.ts +3 -0
- package/src/components/or-date-time-picker-v3/hooks/useDefaultYear.ts +3 -0
- package/src/components/or-date-time-picker-v3/index.ts +2 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-day-select/OrDateTimePickerDaySelect.vue +168 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-day-select/styles.ts +31 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/OrDateTimePickerMobileControl.vue +58 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/styles.ts +16 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue +239 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/styles.ts +10 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue +59 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/styles.ts +13 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/OrDateTimePickerPopoverHeader.vue +37 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/styles.ts +10 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue +169 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/styles.ts +34 -0
- package/src/components/or-date-time-picker-v3/props.ts +1 -0
- package/src/components/or-date-time-picker-v3/styles.ts +19 -0
- package/src/components/or-inline-input-v3/OrInlineInput.stories3.ts +1 -1
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.stories3.ts +1 -1
- package/src/components/or-input-v3/OrInput.stories3.ts +2 -2
- package/src/components/or-menu-v3/OrMenu.vue +3 -0
- package/src/components/or-radio-v3/OrRadio.stories3.ts +1 -1
- package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +1 -1
- package/src/components/or-select-v3/OrSelect.stories3.ts +1 -1
- package/src/components/or-switch-v3/OrSwitch.stories3.ts +1 -1
- package/src/components/or-textarea-v3/OrTextarea.stories3.ts +1 -1
- package/src/components/{or-hint-v3/OrHint.docs.mdx → or-time-picker-v3/OrTimePicker.docs.mdx} +1 -1
- package/src/components/or-time-picker-v3/OrTimePicker.stories3.ts +160 -0
- package/src/components/or-time-picker-v3/OrTimePicker.vue +302 -0
- package/src/components/or-time-picker-v3/index.ts +2 -0
- package/src/components/or-time-picker-v3/props.ts +1 -0
- package/src/components/or-time-picker-v3/styles.ts +12 -0
- package/src/directives/dropdown-close.ts +1 -0
- package/src/directives/dropdown-open.ts +7 -1
- package/src/components/or-error-v3/OrError.stories3.ts +0 -77
- package/src/components/or-hint-v3/OrHint.stories3.ts +0 -77
- package/src/components/or-inline-input-box-v3/OrInlineInputBox.docs.mdx +0 -3
- package/src/components/or-inline-input-box-v3/OrInlineInputBox.stories3.ts +0 -67
- package/src/components/or-input-box-v3/OrInputBox.docs.mdx +0 -3
- package/src/components/or-input-box-v3/OrInputBox.stories3.ts +0 -80
- package/src/components/or-label-v3/OrLabel.docs.mdx +0 -11
- package/src/components/or-label-v3/OrLabel.stories3.ts +0 -91
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-61a1ad7a.js → OrSelect.vue_vue_type_script_lang-1073a2cf.js} +2 -2
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, reactive, watch } from 'vue-demi';
|
|
2
|
+
import { s as script$1, a as script$2, b as script$3 } from './OrDateTimePickerPopoverHeader-56b09ab8.js';
|
|
3
|
+
import { s as script$4 } from './OrDateTimePickerTimeSelect-8644a1ae.js';
|
|
4
|
+
import { TimePicker, TimePickerControl } from './components/OrTimePickerV3/styles.js';
|
|
5
|
+
import './components/OrErrorV3/OrError.js';
|
|
6
|
+
import './components/OrHintV3/OrHint.js';
|
|
7
|
+
import './components/OrIconButtonV3/OrIconButton.js';
|
|
8
|
+
import './components/OrInputBoxV3/OrInputBox.js';
|
|
9
|
+
import './components/OrLabelV3/OrLabel.js';
|
|
10
|
+
import './components/OrPopoverV3/OrPopover.js';
|
|
11
|
+
import { useIdAttribute } from './hooks/useIdAttribute.js';
|
|
12
|
+
import { useControlAttributes } from './hooks/useControlAttributes.js';
|
|
13
|
+
import { useValidationAttributes } from './hooks/useValidationAttributes.js';
|
|
14
|
+
import { s as script$5 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
15
|
+
import { s as script$6 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
16
|
+
import { s as script$7 } from './OrIconButton.vue_vue_type_script_lang-028c99e4.js';
|
|
17
|
+
import { s as script$8 } from './OrInputBox.vue_vue_type_script_lang-e3bba923.js';
|
|
18
|
+
import { s as script$9 } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
19
|
+
import { s as script$a } from './OrPopover.vue_vue_type_script_lang-d2a55ad2.js';
|
|
20
|
+
import { DropdownClose } from './directives/dropdown-close.js';
|
|
21
|
+
import { DropdownOpen } from './directives/dropdown-open.js';
|
|
22
|
+
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
23
|
+
|
|
24
|
+
var script = defineComponent({
|
|
25
|
+
name: 'OrDateTimePicker',
|
|
26
|
+
components: {
|
|
27
|
+
OrDateTimePickerMobileControl: script$1,
|
|
28
|
+
OrDateTimePickerPopoverFooter: script$2,
|
|
29
|
+
OrDateTimePickerPopoverHeader: script$3,
|
|
30
|
+
OrDateTimePickerTimeSelect: script$4,
|
|
31
|
+
OrError: script$5,
|
|
32
|
+
OrHint: script$6,
|
|
33
|
+
OrIconButton: script$7,
|
|
34
|
+
OrInputBox: script$8,
|
|
35
|
+
OrLabel: script$9,
|
|
36
|
+
OrPopover: script$a
|
|
37
|
+
},
|
|
38
|
+
directives: {
|
|
39
|
+
DropdownClose,
|
|
40
|
+
DropdownOpen
|
|
41
|
+
},
|
|
42
|
+
model: {
|
|
43
|
+
prop: 'modelValue',
|
|
44
|
+
event: 'update:modelValue'
|
|
45
|
+
},
|
|
46
|
+
props: {
|
|
47
|
+
modelValue: {
|
|
48
|
+
type: Date,
|
|
49
|
+
default: undefined
|
|
50
|
+
},
|
|
51
|
+
filter: {
|
|
52
|
+
type: Function,
|
|
53
|
+
default: undefined
|
|
54
|
+
},
|
|
55
|
+
size: {
|
|
56
|
+
type: String,
|
|
57
|
+
default: InputBoxSize.M
|
|
58
|
+
},
|
|
59
|
+
label: {
|
|
60
|
+
type: String,
|
|
61
|
+
default: undefined
|
|
62
|
+
},
|
|
63
|
+
hint: {
|
|
64
|
+
type: String,
|
|
65
|
+
default: undefined
|
|
66
|
+
},
|
|
67
|
+
error: {
|
|
68
|
+
type: [String, Boolean],
|
|
69
|
+
default: undefined
|
|
70
|
+
},
|
|
71
|
+
required: {
|
|
72
|
+
type: Boolean,
|
|
73
|
+
default: false
|
|
74
|
+
},
|
|
75
|
+
readonly: {
|
|
76
|
+
type: Boolean,
|
|
77
|
+
default: false
|
|
78
|
+
},
|
|
79
|
+
disabled: {
|
|
80
|
+
type: Boolean,
|
|
81
|
+
default: false
|
|
82
|
+
},
|
|
83
|
+
disableDefaultStyles: {
|
|
84
|
+
type: Boolean,
|
|
85
|
+
default: false
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
emits: ['update:modelValue', 'keydown', 'keyup', 'focus', 'blur'],
|
|
89
|
+
expose: ['root', 'focus', 'blur'],
|
|
90
|
+
setup(props, context) {
|
|
91
|
+
// Refs
|
|
92
|
+
const root = ref();
|
|
93
|
+
const control = ref();
|
|
94
|
+
const popover = ref();
|
|
95
|
+
const popoverState = computed(() => {
|
|
96
|
+
var _a;
|
|
97
|
+
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
98
|
+
});
|
|
99
|
+
// Styles
|
|
100
|
+
const rootStyles = computed(() => ['or-time-picker', ...TimePicker]);
|
|
101
|
+
const controlStyles = computed(() => [...TimePickerControl]);
|
|
102
|
+
// State
|
|
103
|
+
const controlAttributes = reactive({
|
|
104
|
+
id: useIdAttribute(),
|
|
105
|
+
...useControlAttributes(),
|
|
106
|
+
...useValidationAttributes()
|
|
107
|
+
});
|
|
108
|
+
const proxyModelValue = computed({
|
|
109
|
+
get: () => props.modelValue,
|
|
110
|
+
set: value => {
|
|
111
|
+
context.emit('update:modelValue', value);
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
const draftModelValue = ref();
|
|
115
|
+
watch(proxyModelValue, value => {
|
|
116
|
+
draftModelValue.value = value;
|
|
117
|
+
}, {
|
|
118
|
+
immediate: true
|
|
119
|
+
});
|
|
120
|
+
// Methods
|
|
121
|
+
function togglePopover() {
|
|
122
|
+
if (!props.readonly && !props.disabled) {
|
|
123
|
+
const popoverInstance = popover.value;
|
|
124
|
+
if (popoverInstance) {
|
|
125
|
+
if (popoverState.value === 'open') {
|
|
126
|
+
popoverInstance.close();
|
|
127
|
+
} else {
|
|
128
|
+
popoverInstance.open();
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
function closePopover() {
|
|
134
|
+
const popoverInstance = popover.value;
|
|
135
|
+
if (popoverInstance) {
|
|
136
|
+
popoverInstance.close();
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
function formatTime(value) {
|
|
140
|
+
var _a;
|
|
141
|
+
return (_a = value === null || value === void 0 ? void 0 : value.toLocaleString('default', {
|
|
142
|
+
timeStyle: 'short',
|
|
143
|
+
timeZone: 'UTC'
|
|
144
|
+
})) !== null && _a !== void 0 ? _a : '--';
|
|
145
|
+
}
|
|
146
|
+
function formatTimeAlt(value) {
|
|
147
|
+
var _a;
|
|
148
|
+
return (_a = value === null || value === void 0 ? void 0 : value.toLocaleString('default', {
|
|
149
|
+
timeStyle: 'short',
|
|
150
|
+
timeZone: 'UTC'
|
|
151
|
+
})) !== null && _a !== void 0 ? _a : '--';
|
|
152
|
+
}
|
|
153
|
+
return {
|
|
154
|
+
root,
|
|
155
|
+
control,
|
|
156
|
+
popover,
|
|
157
|
+
popoverState,
|
|
158
|
+
rootStyles,
|
|
159
|
+
controlStyles,
|
|
160
|
+
controlAttributes,
|
|
161
|
+
proxyModelValue,
|
|
162
|
+
draftModelValue,
|
|
163
|
+
togglePopover,
|
|
164
|
+
closePopover,
|
|
165
|
+
formatTime,
|
|
166
|
+
formatTimeAlt
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
export { script as s };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as script } from '../../OrCardCollection.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrCardCollection.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrCardCollection.vue_vue_type_script_lang-e53f0355.js';
|
|
2
|
+
export { s as default } from '../../OrCardCollection.vue_vue_type_script_lang-e53f0355.js';
|
|
3
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, createVNode, withCtx, createTextVNode, toDisplayString, createBlock, createCommentVNode, renderList, renderSlot, normalizeProps, guardReactiveProps, mergeProps } from 'vue';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import './styles.js';
|
|
@@ -41,7 +41,7 @@ import '../../OrLoader.vue_vue_type_script_lang-49907820.js';
|
|
|
41
41
|
import '../OrLoaderV3/props.js';
|
|
42
42
|
import '../OrLoaderV3/styles.js';
|
|
43
43
|
import '../OrMenuV3/OrMenu.js';
|
|
44
|
-
import '../../OrMenu.vue_vue_type_script_lang-
|
|
44
|
+
import '../../OrMenu.vue_vue_type_script_lang-8f523b6a.js';
|
|
45
45
|
import '../OrMenuV3/styles.js';
|
|
46
46
|
import '../OrMenuItemV3/OrMenuItem.js';
|
|
47
47
|
import '../../OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { DefaultCardCollectionViews, defaultViewModes, gridView, listView } from './props.js';
|
|
2
|
-
export { s as OrCardCollectionV3 } from '../../OrCardCollection.vue_vue_type_script_lang-
|
|
2
|
+
export { s as OrCardCollectionV3 } from '../../OrCardCollection.vue_vue_type_script_lang-e53f0355.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import './styles.js';
|
|
5
5
|
import 'vue';
|
|
@@ -40,7 +40,7 @@ import '../../OrLoader.vue_vue_type_script_lang-49907820.js';
|
|
|
40
40
|
import '../OrLoaderV3/props.js';
|
|
41
41
|
import '../OrLoaderV3/styles.js';
|
|
42
42
|
import '../OrMenuV3/OrMenu.js';
|
|
43
|
-
import '../../OrMenu.vue_vue_type_script_lang-
|
|
43
|
+
import '../../OrMenu.vue_vue_type_script_lang-8f523b6a.js';
|
|
44
44
|
import '../OrMenuV3/styles.js';
|
|
45
45
|
import '../OrMenuItemV3/OrMenuItem.js';
|
|
46
46
|
import '../../OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { s as script } from '../../OrDatePicker.vue_vue_type_script_lang-2758d7c3.js';
|
|
2
|
+
export { s as default } from '../../OrDatePicker.vue_vue_type_script_lang-2758d7c3.js';
|
|
3
|
+
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, mergeProps, createVNode, createElementVNode, withModifiers, Fragment } from 'vue';
|
|
4
|
+
import 'vue-demi';
|
|
5
|
+
import '../../OrDateTimePickerMonthSelect-8f6af9dc.js';
|
|
6
|
+
import '../OrDateTimePickerV3/hooks/useDefaultDate.js';
|
|
7
|
+
import '../OrDateTimePickerV3/hooks/useDefaultHours.js';
|
|
8
|
+
import '../OrDateTimePickerV3/hooks/useDefaultMinutes.js';
|
|
9
|
+
import '../OrDateTimePickerV3/hooks/useDefaultMonth.js';
|
|
10
|
+
import '../OrDateTimePickerV3/hooks/useDefaultYear.js';
|
|
11
|
+
import '../OrButtonV3/OrButton.js';
|
|
12
|
+
import '../../OrButton.vue_vue_type_script_lang-fe412ca5.js';
|
|
13
|
+
import '../OrButtonV3/props.js';
|
|
14
|
+
import '../OrButtonV3/styles.js';
|
|
15
|
+
import '../OrLoaderV3/OrLoader.js';
|
|
16
|
+
import '../../OrLoader.vue_vue_type_script_lang-49907820.js';
|
|
17
|
+
import '@vueuse/core';
|
|
18
|
+
import '../OrLoaderV3/props.js';
|
|
19
|
+
import '../OrLoaderV3/styles.js';
|
|
20
|
+
import '../OrIconV3/OrIcon.js';
|
|
21
|
+
import '../../OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
22
|
+
import '../OrIconV3/props.js';
|
|
23
|
+
import '../OrIconV3/styles.js';
|
|
24
|
+
import '../OrIconButtonV3/OrIconButton.js';
|
|
25
|
+
import '../../OrIconButton.vue_vue_type_script_lang-028c99e4.js';
|
|
26
|
+
import '../OrIconButtonV3/props.js';
|
|
27
|
+
import '../OrIconButtonV3/styles.js';
|
|
28
|
+
import '../OrTooltipV3/OrTooltip.js';
|
|
29
|
+
import '../../OrTooltip.vue_vue_type_script_lang-aad6940e.js';
|
|
30
|
+
import '../OrTooltipV3/styles.js';
|
|
31
|
+
import '../OrPopoverV3/OrPopover.js';
|
|
32
|
+
import '../../OrPopover.vue_vue_type_script_lang-d2a55ad2.js';
|
|
33
|
+
import '../../floating-ui.dom.esm-83eba816.js';
|
|
34
|
+
import '../OrPopoverV3/props.js';
|
|
35
|
+
import '../OrPopoverV3/styles.js';
|
|
36
|
+
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
37
|
+
import '../../OrBottomSheet.vue_vue_type_script_lang-a8d8c139.js';
|
|
38
|
+
import '../OrBottomSheetV3/styles.js';
|
|
39
|
+
import '../OrOverlayV3/OrOverlay.js';
|
|
40
|
+
import '../../OrOverlay.vue_vue_type_script_lang-30f62546.js';
|
|
41
|
+
import '../OrOverlayV3/styles.js';
|
|
42
|
+
import '../OrTeleportV3/OrTeleport.js';
|
|
43
|
+
import '../../OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
|
|
44
|
+
import '../../hooks/useElevation.js';
|
|
45
|
+
import '../../utils/isVisible.js';
|
|
46
|
+
import '../../hooks/useResponsive/useResponsive.js';
|
|
47
|
+
import '../OrMenuV3/OrMenu.js';
|
|
48
|
+
import '../../OrMenu.vue_vue_type_script_lang-8f523b6a.js';
|
|
49
|
+
import '../OrMenuV3/styles.js';
|
|
50
|
+
import '../OrMenuItemV3/OrMenuItem.js';
|
|
51
|
+
import '../../OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
52
|
+
import '../OrMenuItemV3/styles.js';
|
|
53
|
+
import '../../OrDateTimePickerPopoverHeader-56b09ab8.js';
|
|
54
|
+
import '../OrLabelV3/OrLabel.js';
|
|
55
|
+
import '../../OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
56
|
+
import '../OrLabelV3/props.js';
|
|
57
|
+
import '../OrLabelV3/styles.js';
|
|
58
|
+
import './styles.js';
|
|
59
|
+
import '../OrErrorV3/OrError.js';
|
|
60
|
+
import '../../OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
61
|
+
import '../OrErrorV3/styles.js';
|
|
62
|
+
import '../OrHintV3/OrHint.js';
|
|
63
|
+
import '../../OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
64
|
+
import '../OrHintV3/styles.js';
|
|
65
|
+
import '../OrInputBoxV3/OrInputBox.js';
|
|
66
|
+
import '../../OrInputBox.vue_vue_type_script_lang-e3bba923.js';
|
|
67
|
+
import '../OrInputBoxV3/props.js';
|
|
68
|
+
import '../OrInputBoxV3/styles.js';
|
|
69
|
+
import '../../directives/dropdown-close.js';
|
|
70
|
+
import '../../directives/dropdown-open.js';
|
|
71
|
+
import '../../hooks/useIdAttribute.js';
|
|
72
|
+
import '../../hooks/useControlAttributes.js';
|
|
73
|
+
import '../../hooks/useValidationAttributes.js';
|
|
74
|
+
|
|
75
|
+
const _hoisted_1 = ["required", "readonly", "disabled"];
|
|
76
|
+
const _hoisted_2 = /*#__PURE__*/createElementVNode("div", {
|
|
77
|
+
class: /*#__PURE__*/normalizeClass(['grow'])
|
|
78
|
+
}, null, -1 /* HOISTED */);
|
|
79
|
+
const _hoisted_3 = {
|
|
80
|
+
class: /*#__PURE__*/normalizeClass(['layout-inline-row'])
|
|
81
|
+
};
|
|
82
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83
|
+
const _component_OrLabel = resolveComponent("OrLabel");
|
|
84
|
+
const _component_OrDateTimePickerMobileControl = resolveComponent("OrDateTimePickerMobileControl");
|
|
85
|
+
const _component_OrDateTimePickerPopoverHeader = resolveComponent("OrDateTimePickerPopoverHeader");
|
|
86
|
+
const _component_OrDateTimePickerMonthSelect = resolveComponent("OrDateTimePickerMonthSelect");
|
|
87
|
+
const _component_OrDateTimePickerDaySelect = resolveComponent("OrDateTimePickerDaySelect");
|
|
88
|
+
const _component_OrDateTimePickerPopoverFooter = resolveComponent("OrDateTimePickerPopoverFooter");
|
|
89
|
+
const _component_OrPopover = resolveComponent("OrPopover");
|
|
90
|
+
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
91
|
+
const _component_OrInputBox = resolveComponent("OrInputBox");
|
|
92
|
+
const _component_OrHint = resolveComponent("OrHint");
|
|
93
|
+
const _component_OrError = resolveComponent("OrError");
|
|
94
|
+
const _directive_dropdown_open = resolveDirective("dropdown-open");
|
|
95
|
+
const _directive_dropdown_close = resolveDirective("dropdown-close");
|
|
96
|
+
return openBlock(), createElementBlock("div", {
|
|
97
|
+
ref: "root",
|
|
98
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
99
|
+
}, [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
100
|
+
key: 0,
|
|
101
|
+
"control-id": _ctx.controlAttributes.id,
|
|
102
|
+
variant: 'input',
|
|
103
|
+
required: _ctx.required,
|
|
104
|
+
disabled: _ctx.disabled
|
|
105
|
+
}, {
|
|
106
|
+
addon: withCtx(() => [renderSlot(_ctx.$slots, "addon")]),
|
|
107
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.label) + " ", 1 /* TEXT */)]),
|
|
108
|
+
|
|
109
|
+
_: 3 /* FORWARDED */
|
|
110
|
+
}, 8 /* PROPS */, ["control-id", "required", "disabled"])) : createCommentVNode("v-if", true), withDirectives((openBlock(), createBlock(_component_OrInputBox, {
|
|
111
|
+
variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
112
|
+
size: _ctx.size,
|
|
113
|
+
invalid: !!_ctx.error,
|
|
114
|
+
readonly: _ctx.readonly,
|
|
115
|
+
disabled: _ctx.disabled
|
|
116
|
+
}, {
|
|
117
|
+
default: withCtx(() => [withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
118
|
+
ref: "control"
|
|
119
|
+
}, _ctx.controlAttributes, {
|
|
120
|
+
class: _ctx.controlStyles,
|
|
121
|
+
contenteditable: true,
|
|
122
|
+
required: _ctx.required,
|
|
123
|
+
readonly: _ctx.readonly,
|
|
124
|
+
disabled: _ctx.disabled
|
|
125
|
+
}), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1)), [[_directive_dropdown_open, _ctx.togglePopover], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
|
|
126
|
+
ref: "popover",
|
|
127
|
+
variant: 'auto',
|
|
128
|
+
trigger: _ctx.control,
|
|
129
|
+
placement: 'bottom'
|
|
130
|
+
}, {
|
|
131
|
+
default: withCtx(() => [createVNode(_component_OrDateTimePickerPopoverHeader, null, {
|
|
132
|
+
default: withCtx(() => [createVNode(_component_OrDateTimePickerMobileControl, {
|
|
133
|
+
label: "Date"
|
|
134
|
+
}, {
|
|
135
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatDateAlt(_ctx.draftModelValue)), 1 /* TEXT */)]),
|
|
136
|
+
|
|
137
|
+
_: 1 /* STABLE */
|
|
138
|
+
})]),
|
|
139
|
+
|
|
140
|
+
_: 1 /* STABLE */
|
|
141
|
+
}), createVNode(_component_OrDateTimePickerMonthSelect, {
|
|
142
|
+
modelValue: _ctx.draftModelValue,
|
|
143
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.draftModelValue = $event),
|
|
144
|
+
filter: _ctx.filter
|
|
145
|
+
}, null, 8 /* PROPS */, ["modelValue", "filter"]), createVNode(_component_OrDateTimePickerDaySelect, {
|
|
146
|
+
modelValue: _ctx.draftModelValue,
|
|
147
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.draftModelValue = $event),
|
|
148
|
+
filter: _ctx.filter
|
|
149
|
+
}, null, 8 /* PROPS */, ["modelValue", "filter"]), createVNode(_component_OrDateTimePickerPopoverFooter, {
|
|
150
|
+
onResolve: _cache[2] || (_cache[2] = $event => {
|
|
151
|
+
_ctx.proxyModelValue = _ctx.draftModelValue;
|
|
152
|
+
_ctx.popover.close();
|
|
153
|
+
}),
|
|
154
|
+
onReject: _cache[3] || (_cache[3] = $event => {
|
|
155
|
+
_ctx.draftModelValue = _ctx.proxyModelValue;
|
|
156
|
+
_ctx.popover.close();
|
|
157
|
+
})
|
|
158
|
+
})]),
|
|
159
|
+
_: 1 /* STABLE */
|
|
160
|
+
}, 8 /* PROPS */, ["trigger"]), _hoisted_2, createElementVNode("div", _hoisted_3, [_ctx.modelValue ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
161
|
+
key: 0,
|
|
162
|
+
icon: 'close',
|
|
163
|
+
color: 'inherit',
|
|
164
|
+
disabled: _ctx.readonly || _ctx.disabled,
|
|
165
|
+
onClick: _cache[4] || (_cache[4] = withModifiers($event => _ctx.$emit('update:modelValue', undefined), ["stop"]))
|
|
166
|
+
}, null, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)])]),
|
|
167
|
+
_: 1 /* STABLE */
|
|
168
|
+
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.togglePopover], [_directive_dropdown_close, _ctx.closePopover]]), !_ctx.error ? (openBlock(), createElementBlock(Fragment, {
|
|
169
|
+
key: 1
|
|
170
|
+
}, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
|
|
171
|
+
key: 0,
|
|
172
|
+
disabled: _ctx.disabled
|
|
173
|
+
}, {
|
|
174
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint), 1 /* TEXT */)]),
|
|
175
|
+
|
|
176
|
+
_: 1 /* STABLE */
|
|
177
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true), typeof _ctx.error === 'string' ? (openBlock(), createBlock(_component_OrError, {
|
|
178
|
+
key: 2,
|
|
179
|
+
disabled: _ctx.disabled
|
|
180
|
+
}, {
|
|
181
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error), 1 /* TEXT */)]),
|
|
182
|
+
|
|
183
|
+
_: 1 /* STABLE */
|
|
184
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
script.render = render;
|
|
188
|
+
script.__file = "src/components/or-date-picker-v3/OrDatePicker.vue";
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { PropType } from 'vue-demi';
|
|
2
|
+
import { DatePickerSize } from './props';
|
|
3
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
+
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
6
|
+
popover: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
7
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
8
|
+
} | string[], {} & {}, {
|
|
9
|
+
[x: number]: string;
|
|
10
|
+
} | {}, true> | undefined>;
|
|
11
|
+
popoverState: import("@vue/composition-api").ComputedRef<undefined>;
|
|
12
|
+
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
13
|
+
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
14
|
+
controlAttributes: {
|
|
15
|
+
required: boolean | undefined;
|
|
16
|
+
minlength: number | undefined;
|
|
17
|
+
maxlength: number | undefined;
|
|
18
|
+
pattern: string | undefined;
|
|
19
|
+
min: number | undefined;
|
|
20
|
+
max: number | undefined;
|
|
21
|
+
step: number | undefined;
|
|
22
|
+
readonly: boolean | undefined;
|
|
23
|
+
disabled: boolean | undefined;
|
|
24
|
+
'force-state': string | undefined;
|
|
25
|
+
id: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<Date>;
|
|
28
|
+
draftModelValue: import("@vue/composition-api").Ref<Date | undefined>;
|
|
29
|
+
togglePopover: () => void;
|
|
30
|
+
closePopover: () => void;
|
|
31
|
+
formatDate: (value?: Date) => string;
|
|
32
|
+
formatDateAlt: (value?: Date) => string;
|
|
33
|
+
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
34
|
+
modelValue: {
|
|
35
|
+
type: DateConstructor;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
filter: {
|
|
39
|
+
type: PropType<(value: Date) => boolean>;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
size: {
|
|
43
|
+
type: PropType<DatePickerSize>;
|
|
44
|
+
default: DatePickerSize;
|
|
45
|
+
};
|
|
46
|
+
label: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
hint: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: undefined;
|
|
53
|
+
};
|
|
54
|
+
error: {
|
|
55
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
56
|
+
default: undefined;
|
|
57
|
+
};
|
|
58
|
+
required: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
readonly: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
disabled: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
disableDefaultStyles: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
75
|
+
modelValue: {
|
|
76
|
+
type: DateConstructor;
|
|
77
|
+
default: undefined;
|
|
78
|
+
};
|
|
79
|
+
filter: {
|
|
80
|
+
type: PropType<(value: Date) => boolean>;
|
|
81
|
+
default: undefined;
|
|
82
|
+
};
|
|
83
|
+
size: {
|
|
84
|
+
type: PropType<DatePickerSize>;
|
|
85
|
+
default: DatePickerSize;
|
|
86
|
+
};
|
|
87
|
+
label: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: undefined;
|
|
90
|
+
};
|
|
91
|
+
hint: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: undefined;
|
|
94
|
+
};
|
|
95
|
+
error: {
|
|
96
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
required: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
readonly: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
107
|
+
disabled: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
disableDefaultStyles: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
116
|
+
filter: (value: Date) => boolean;
|
|
117
|
+
modelValue: Date;
|
|
118
|
+
size: DatePickerSize;
|
|
119
|
+
label: string;
|
|
120
|
+
hint: string;
|
|
121
|
+
error: string | boolean;
|
|
122
|
+
required: boolean;
|
|
123
|
+
readonly: boolean;
|
|
124
|
+
disabled: boolean;
|
|
125
|
+
disableDefaultStyles: boolean;
|
|
126
|
+
} & {} & {
|
|
127
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
128
|
+
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
129
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
130
|
+
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
131
|
+
popover: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
132
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
133
|
+
} | string[], {} & {}, {
|
|
134
|
+
[x: number]: string;
|
|
135
|
+
} | {}, true> | undefined>;
|
|
136
|
+
popoverState: import("@vue/composition-api").ComputedRef<undefined>;
|
|
137
|
+
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
138
|
+
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
139
|
+
controlAttributes: {
|
|
140
|
+
required: boolean | undefined;
|
|
141
|
+
minlength: number | undefined;
|
|
142
|
+
maxlength: number | undefined;
|
|
143
|
+
pattern: string | undefined;
|
|
144
|
+
min: number | undefined;
|
|
145
|
+
max: number | undefined;
|
|
146
|
+
step: number | undefined;
|
|
147
|
+
readonly: boolean | undefined;
|
|
148
|
+
disabled: boolean | undefined;
|
|
149
|
+
'force-state': string | undefined;
|
|
150
|
+
id: string | undefined;
|
|
151
|
+
};
|
|
152
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<Date>;
|
|
153
|
+
draftModelValue: import("@vue/composition-api").Ref<Date | undefined>;
|
|
154
|
+
togglePopover: () => void;
|
|
155
|
+
closePopover: () => void;
|
|
156
|
+
formatDate: (value?: Date) => string;
|
|
157
|
+
formatDateAlt: (value?: Date) => string;
|
|
158
|
+
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
159
|
+
filter: (value: Date) => boolean;
|
|
160
|
+
modelValue: Date;
|
|
161
|
+
size: DatePickerSize;
|
|
162
|
+
label: string;
|
|
163
|
+
hint: string;
|
|
164
|
+
error: string | boolean;
|
|
165
|
+
required: boolean;
|
|
166
|
+
readonly: boolean;
|
|
167
|
+
disabled: boolean;
|
|
168
|
+
disableDefaultStyles: boolean;
|
|
169
|
+
} & {} & {
|
|
170
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
171
|
+
}, {
|
|
172
|
+
filter: (value: Date) => boolean;
|
|
173
|
+
modelValue: Date;
|
|
174
|
+
size: DatePickerSize;
|
|
175
|
+
label: string;
|
|
176
|
+
hint: string;
|
|
177
|
+
error: string | boolean;
|
|
178
|
+
required: boolean;
|
|
179
|
+
readonly: boolean;
|
|
180
|
+
disabled: boolean;
|
|
181
|
+
disableDefaultStyles: boolean;
|
|
182
|
+
}, true>);
|
|
183
|
+
export default _default;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export { s as OrDatePickerV3 } from '../../OrDatePicker.vue_vue_type_script_lang-2758d7c3.js';
|
|
2
|
+
export { InputBoxSize as DatePickerSize } from '../OrInputBoxV3/props.js';
|
|
3
|
+
import 'vue-demi';
|
|
4
|
+
import '../../OrDateTimePickerMonthSelect-8f6af9dc.js';
|
|
5
|
+
import '../OrDateTimePickerV3/hooks/useDefaultDate.js';
|
|
6
|
+
import '../OrDateTimePickerV3/hooks/useDefaultHours.js';
|
|
7
|
+
import '../OrDateTimePickerV3/hooks/useDefaultMinutes.js';
|
|
8
|
+
import '../OrDateTimePickerV3/hooks/useDefaultMonth.js';
|
|
9
|
+
import '../OrDateTimePickerV3/hooks/useDefaultYear.js';
|
|
10
|
+
import '../OrButtonV3/OrButton.js';
|
|
11
|
+
import '../../OrButton.vue_vue_type_script_lang-fe412ca5.js';
|
|
12
|
+
import '../OrButtonV3/props.js';
|
|
13
|
+
import '../OrButtonV3/styles.js';
|
|
14
|
+
import '../OrLoaderV3/OrLoader.js';
|
|
15
|
+
import '../../OrLoader.vue_vue_type_script_lang-49907820.js';
|
|
16
|
+
import '@vueuse/core';
|
|
17
|
+
import '../OrLoaderV3/props.js';
|
|
18
|
+
import '../OrLoaderV3/styles.js';
|
|
19
|
+
import 'vue';
|
|
20
|
+
import '../OrIconV3/OrIcon.js';
|
|
21
|
+
import '../../OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
22
|
+
import '../OrIconV3/props.js';
|
|
23
|
+
import '../OrIconV3/styles.js';
|
|
24
|
+
import '../OrIconButtonV3/OrIconButton.js';
|
|
25
|
+
import '../../OrIconButton.vue_vue_type_script_lang-028c99e4.js';
|
|
26
|
+
import '../OrIconButtonV3/props.js';
|
|
27
|
+
import '../OrIconButtonV3/styles.js';
|
|
28
|
+
import '../OrTooltipV3/OrTooltip.js';
|
|
29
|
+
import '../../OrTooltip.vue_vue_type_script_lang-aad6940e.js';
|
|
30
|
+
import '../OrTooltipV3/styles.js';
|
|
31
|
+
import '../OrPopoverV3/OrPopover.js';
|
|
32
|
+
import '../../OrPopover.vue_vue_type_script_lang-d2a55ad2.js';
|
|
33
|
+
import '../../floating-ui.dom.esm-83eba816.js';
|
|
34
|
+
import '../OrPopoverV3/props.js';
|
|
35
|
+
import '../OrPopoverV3/styles.js';
|
|
36
|
+
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
37
|
+
import '../../OrBottomSheet.vue_vue_type_script_lang-a8d8c139.js';
|
|
38
|
+
import '../OrBottomSheetV3/styles.js';
|
|
39
|
+
import '../OrOverlayV3/OrOverlay.js';
|
|
40
|
+
import '../../OrOverlay.vue_vue_type_script_lang-30f62546.js';
|
|
41
|
+
import '../OrOverlayV3/styles.js';
|
|
42
|
+
import '../OrTeleportV3/OrTeleport.js';
|
|
43
|
+
import '../../OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
|
|
44
|
+
import '../../hooks/useElevation.js';
|
|
45
|
+
import '../../utils/isVisible.js';
|
|
46
|
+
import '../../hooks/useResponsive/useResponsive.js';
|
|
47
|
+
import '../OrMenuV3/OrMenu.js';
|
|
48
|
+
import '../../OrMenu.vue_vue_type_script_lang-8f523b6a.js';
|
|
49
|
+
import '../OrMenuV3/styles.js';
|
|
50
|
+
import '../OrMenuItemV3/OrMenuItem.js';
|
|
51
|
+
import '../../OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
52
|
+
import '../OrMenuItemV3/styles.js';
|
|
53
|
+
import '../../OrDateTimePickerPopoverHeader-56b09ab8.js';
|
|
54
|
+
import '../OrLabelV3/OrLabel.js';
|
|
55
|
+
import '../../OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
56
|
+
import '../OrLabelV3/props.js';
|
|
57
|
+
import '../OrLabelV3/styles.js';
|
|
58
|
+
import './styles.js';
|
|
59
|
+
import '../OrErrorV3/OrError.js';
|
|
60
|
+
import '../../OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
61
|
+
import '../OrErrorV3/styles.js';
|
|
62
|
+
import '../OrHintV3/OrHint.js';
|
|
63
|
+
import '../../OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
64
|
+
import '../OrHintV3/styles.js';
|
|
65
|
+
import '../OrInputBoxV3/OrInputBox.js';
|
|
66
|
+
import '../../OrInputBox.vue_vue_type_script_lang-e3bba923.js';
|
|
67
|
+
import '../OrInputBoxV3/styles.js';
|
|
68
|
+
import '../../directives/dropdown-close.js';
|
|
69
|
+
import '../../directives/dropdown-open.js';
|
|
70
|
+
import '../../hooks/useIdAttribute.js';
|
|
71
|
+
import '../../hooks/useControlAttributes.js';
|
|
72
|
+
import '../../hooks/useValidationAttributes.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InputBoxSize as DatePickerSize } from '../or-input-box-v3';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InputBoxSize as DatePickerSize } from '../OrInputBoxV3/props.js';
|