@onereach/ui-components 4.9.1-beta.2901.0 → 4.9.1-beta.2903.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/{OrDateTimePickerTimeSelect-4bc9658e.js → OrDateTimePickerTimeSelect-a7e87ed6.js} +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/index.js +1 -1
- package/dist/bundled/v2/index.js +1 -1
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-08ea2ba9.js → OrDateTimePicker.vue_vue_type_script_lang-82a081af.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect-906c8757.js → OrDateTimePickerTimeSelect-18dd2e1f.js} +1 -1
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-1491145b.js → OrTimePicker.vue_vue_type_script_lang-0416f2c4.js} +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +3 -3
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +3 -3
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +2 -2
- package/dist/bundled/v3/components/index.js +3 -3
- package/dist/bundled/v3/index.js +3 -3
- package/dist/esm/v2/{OrDateTimePicker-6adaaef7.js → OrDateTimePicker-da51fa81.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-55663d73.js → OrDateTimePicker.vue_rollup-plugin-vue_script-3600f39b.js} +1 -1
- package/dist/esm/v2/{OrTimePicker-f8003f52.js → OrTimePicker-e8c47650.js} +1 -1
- package/dist/esm/v2/components/index.js +3 -3
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +2 -2
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue.d.ts +1 -1
- package/dist/esm/v2/components/or-time-picker-v3/index.js +2 -2
- package/dist/esm/v2/index.js +3 -3
- package/dist/esm/v3/{OrDateTimePicker-b3f0b843.js → OrDateTimePicker-4d0a44c9.js} +1 -1
- package/dist/esm/v3/{OrTimePicker-ba4b19d4.js → OrTimePicker-9811354f.js} +1 -1
- package/dist/esm/v3/components/index.js +2 -2
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +1 -1
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-time-picker-v3/index.js +2 -2
- package/dist/esm/v3/index.js +2 -2
- package/package.json +1 -1
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue +2 -2
|
@@ -205,7 +205,7 @@ var script = defineComponent({
|
|
|
205
205
|
}
|
|
206
206
|
return props.format;
|
|
207
207
|
});
|
|
208
|
-
const hoursRange = ref('am');
|
|
208
|
+
const hoursRange = ref(proxyModelValue.value.getUTCHours() < 12 ? 'am' : 'pm');
|
|
209
209
|
const hoursOptions = computed(() => {
|
|
210
210
|
return Array.from({
|
|
211
211
|
length: 24
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
|
2
2
|
import { useCurrentDate } from './hooks/useCurrentDate.js';
|
|
3
3
|
import { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-2c1b5116.js';
|
|
4
4
|
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader } from '../../OrDateTimePickerPopoverHeader-6f78e8e7.js';
|
|
5
|
-
import { O as OrDateTimePickerTimeControl, a as OrDateTimePickerTimeSelect } from '../../OrDateTimePickerTimeSelect-
|
|
5
|
+
import { O as OrDateTimePickerTimeControl, a as OrDateTimePickerTimeSelect } from '../../OrDateTimePickerTimeSelect-a7e87ed6.js';
|
|
6
6
|
import { DateTimePickerTimeFormat } from './props.js';
|
|
7
7
|
import { DateTimePicker, DateTimePickerDatePopover, DateTimePickerTimePopover } from './styles.js';
|
|
8
8
|
import __vue_component__$1 from '../OrErrorV3/OrError.js';
|
|
@@ -45,7 +45,7 @@ import '../../OrDateTimePickerPopoverHeader-6f78e8e7.js';
|
|
|
45
45
|
import '../OrLabelV3/OrLabel.js';
|
|
46
46
|
import '../OrLabelV3/props.js';
|
|
47
47
|
import '../OrLabelV3/styles.js';
|
|
48
|
-
import '../../OrDateTimePickerTimeSelect-
|
|
48
|
+
import '../../OrDateTimePickerTimeSelect-a7e87ed6.js';
|
|
49
49
|
import './hooks/useTimePlaceholder.js';
|
|
50
50
|
import './styles.js';
|
|
51
51
|
import '../OrErrorV3/OrError.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { useCurrentDate } from '../OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
3
3
|
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader } from '../../OrDateTimePickerPopoverHeader-6f78e8e7.js';
|
|
4
|
-
import { O as OrDateTimePickerTimeControl, a as OrDateTimePickerTimeSelect } from '../../OrDateTimePickerTimeSelect-
|
|
4
|
+
import { O as OrDateTimePickerTimeControl, a as OrDateTimePickerTimeSelect } from '../../OrDateTimePickerTimeSelect-a7e87ed6.js';
|
|
5
5
|
import { TimePicker, TimePickerPopover } from './styles.js';
|
|
6
6
|
import __vue_component__$1 from '../OrErrorV3/OrError.js';
|
|
7
7
|
import __vue_component__$2 from '../OrHintV3/OrHint.js';
|
|
@@ -16,7 +16,7 @@ import '../../index-c92e2839.js';
|
|
|
16
16
|
import '../../index-ec92055d.js';
|
|
17
17
|
import '../OrLoaderV3/props.js';
|
|
18
18
|
import '../OrLoaderV3/styles.js';
|
|
19
|
-
import '../../OrDateTimePickerTimeSelect-
|
|
19
|
+
import '../../OrDateTimePickerTimeSelect-a7e87ed6.js';
|
|
20
20
|
import '../OrDateTimePickerV3/hooks/useTimePlaceholder.js';
|
|
21
21
|
import './styles.js';
|
|
22
22
|
import '../OrErrorV3/OrError.js';
|
|
@@ -233,7 +233,7 @@ import '../directives/dropdown-open.js';
|
|
|
233
233
|
import '../_baseProperty-a52739e9.js';
|
|
234
234
|
import '../toInteger-db8a475d.js';
|
|
235
235
|
import '../toFinite-021b0c50.js';
|
|
236
|
-
import '../OrDateTimePickerTimeSelect-
|
|
236
|
+
import '../OrDateTimePickerTimeSelect-a7e87ed6.js';
|
|
237
237
|
import './OrDateTimePickerV3/hooks/useTimePlaceholder.js';
|
|
238
238
|
import './OrDateTimePickerV3/styles.js';
|
|
239
239
|
import './OrEmptyStateV3/styles.js';
|
package/dist/bundled/v2/index.js
CHANGED
|
@@ -213,7 +213,7 @@ import './dom-571739a2.js';
|
|
|
213
213
|
import './get-73ac2f59.js';
|
|
214
214
|
import './eq-fa566495.js';
|
|
215
215
|
import './utils/functions/px-to-rem.js';
|
|
216
|
-
import './OrDateTimePickerTimeSelect-
|
|
216
|
+
import './OrDateTimePickerTimeSelect-a7e87ed6.js';
|
|
217
217
|
import './components/OrDateTimePickerV3/hooks/useTimePlaceholder.js';
|
|
218
218
|
import './components/OrDateTimePickerV3/styles.js';
|
|
219
219
|
import './components/OrEmptyStateV3/styles.js';
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
|
2
2
|
import { useCurrentDate } from './components/OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
3
3
|
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-8857f024.js';
|
|
4
4
|
import { s as script$3, a as script$5, b as script$6 } from './OrDateTimePickerPopoverHeader-bb988d7c.js';
|
|
5
|
-
import { s as script$7, a as script$8 } from './OrDateTimePickerTimeSelect-
|
|
5
|
+
import { s as script$7, a as script$8 } from './OrDateTimePickerTimeSelect-18dd2e1f.js';
|
|
6
6
|
import { DateTimePickerTimeFormat } from './components/OrDateTimePickerV3/props.js';
|
|
7
7
|
import { DateTimePicker, DateTimePickerDatePopover, DateTimePickerTimePopover } from './components/OrDateTimePickerV3/styles.js';
|
|
8
8
|
import './components/OrErrorV3/OrError.js';
|
|
@@ -182,7 +182,7 @@ var script = defineComponent({
|
|
|
182
182
|
}
|
|
183
183
|
return props.format;
|
|
184
184
|
});
|
|
185
|
-
const hoursRange = ref('am');
|
|
185
|
+
const hoursRange = ref(proxyModelValue.value.getUTCHours() < 12 ? 'am' : 'pm');
|
|
186
186
|
const hoursOptions = computed(() => {
|
|
187
187
|
return Array.from({
|
|
188
188
|
length: 24
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { useCurrentDate } from './components/OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
3
3
|
import { s as script$1, a as script$2, b as script$3 } from './OrDateTimePickerPopoverHeader-bb988d7c.js';
|
|
4
|
-
import { s as script$4, a as script$5 } from './OrDateTimePickerTimeSelect-
|
|
4
|
+
import { s as script$4, a as script$5 } from './OrDateTimePickerTimeSelect-18dd2e1f.js';
|
|
5
5
|
import { TimePicker, TimePickerPopover } from './components/OrTimePickerV3/styles.js';
|
|
6
6
|
import './components/OrErrorV3/OrError.js';
|
|
7
7
|
import './components/OrHintV3/OrHint.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as script } from '../../OrDateTimePicker.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrDateTimePicker.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrDateTimePicker.vue_vue_type_script_lang-82a081af.js';
|
|
2
|
+
export { s as default } from '../../OrDateTimePicker.vue_vue_type_script_lang-82a081af.js';
|
|
3
3
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, withModifiers, createVNode, Fragment, createElementVNode } from 'vue';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import './hooks/useCurrentDate.js';
|
|
@@ -55,7 +55,7 @@ import '../OrLabelV3/OrLabel.js';
|
|
|
55
55
|
import '../../OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
56
56
|
import '../OrLabelV3/props.js';
|
|
57
57
|
import '../OrLabelV3/styles.js';
|
|
58
|
-
import '../../OrDateTimePickerTimeSelect-
|
|
58
|
+
import '../../OrDateTimePickerTimeSelect-18dd2e1f.js';
|
|
59
59
|
import './hooks/useTimePlaceholder.js';
|
|
60
60
|
import './props.js';
|
|
61
61
|
import '../OrInputBoxV3/props.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { DateTimePickerTimeFormat } from './props.js';
|
|
2
|
-
export { s as OrDateTimePickerV3 } from '../../OrDateTimePicker.vue_vue_type_script_lang-
|
|
2
|
+
export { s as OrDateTimePickerV3 } from '../../OrDateTimePicker.vue_vue_type_script_lang-82a081af.js';
|
|
3
3
|
export { InputBoxSize as DateTimePickerSize } from '../OrInputBoxV3/props.js';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import './hooks/useCurrentDate.js';
|
|
@@ -56,7 +56,7 @@ import '../OrLabelV3/OrLabel.js';
|
|
|
56
56
|
import '../../OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
57
57
|
import '../OrLabelV3/props.js';
|
|
58
58
|
import '../OrLabelV3/styles.js';
|
|
59
|
-
import '../../OrDateTimePickerTimeSelect-
|
|
59
|
+
import '../../OrDateTimePickerTimeSelect-18dd2e1f.js';
|
|
60
60
|
import './hooks/useTimePlaceholder.js';
|
|
61
61
|
import './styles.js';
|
|
62
62
|
import '../OrErrorV3/OrError.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as script } from '../../OrTimePicker.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrTimePicker.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrTimePicker.vue_vue_type_script_lang-0416f2c4.js';
|
|
2
|
+
export { s as default } from '../../OrTimePicker.vue_vue_type_script_lang-0416f2c4.js';
|
|
3
3
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, withModifiers, createVNode, Fragment, createElementVNode } from 'vue';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import '../OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
@@ -18,7 +18,7 @@ import '../../index-09d1cb24.js';
|
|
|
18
18
|
import '../../index-f4d8e24c.js';
|
|
19
19
|
import '../OrLoaderV3/props.js';
|
|
20
20
|
import '../OrLoaderV3/styles.js';
|
|
21
|
-
import '../../OrDateTimePickerTimeSelect-
|
|
21
|
+
import '../../OrDateTimePickerTimeSelect-18dd2e1f.js';
|
|
22
22
|
import '../OrDateTimePickerV3/hooks/useTimePlaceholder.js';
|
|
23
23
|
import '../OrDateTimePickerV3/props.js';
|
|
24
24
|
import '../OrInputBoxV3/props.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrTimePickerV3 } from '../../OrTimePicker.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrTimePickerV3 } from '../../OrTimePicker.vue_vue_type_script_lang-0416f2c4.js';
|
|
2
2
|
export { DateTimePickerTimeFormat as TimePickerFormat } from '../OrDateTimePickerV3/props.js';
|
|
3
3
|
export { InputBoxSize as TimePickerSize } from '../OrInputBoxV3/props.js';
|
|
4
4
|
import 'vue-demi';
|
|
@@ -19,7 +19,7 @@ import '../../index-09d1cb24.js';
|
|
|
19
19
|
import '../../index-f4d8e24c.js';
|
|
20
20
|
import '../OrLoaderV3/props.js';
|
|
21
21
|
import '../OrLoaderV3/styles.js';
|
|
22
|
-
import '../../OrDateTimePickerTimeSelect-
|
|
22
|
+
import '../../OrDateTimePickerTimeSelect-18dd2e1f.js';
|
|
23
23
|
import '../OrDateTimePickerV3/hooks/useTimePlaceholder.js';
|
|
24
24
|
import './styles.js';
|
|
25
25
|
import '../OrErrorV3/OrError.js';
|
|
@@ -38,7 +38,7 @@ export { ConfirmType } from './OrConfirmV3/props.js';
|
|
|
38
38
|
export { s as OrDatePickerV3 } from '../OrDatePicker.vue_vue_type_script_lang-8ec017e2.js';
|
|
39
39
|
export { s as OrDateTimePicker } from '../OrDateTimePicker.vue_vue_type_script_lang-882ae7ce.js';
|
|
40
40
|
export { DEFAULT_TEXT, OrDateTimePickerItemTypes, OrDateTimePickerTypes } from './OrDateTimePicker/constants.js';
|
|
41
|
-
export { s as OrDateTimePickerV3 } from '../OrDateTimePicker.vue_vue_type_script_lang-
|
|
41
|
+
export { s as OrDateTimePickerV3 } from '../OrDateTimePicker.vue_vue_type_script_lang-82a081af.js';
|
|
42
42
|
export { DateTimePickerTimeFormat, DateTimePickerTimeFormat as TimePickerFormat } from './OrDateTimePickerV3/props.js';
|
|
43
43
|
export { s as OrEmptyStateV3 } from '../OrEmptyState.vue_vue_type_script_lang-2c1f09ef.js';
|
|
44
44
|
export { EmptyStateSize } from './OrEmptyStateV3/props.js';
|
|
@@ -149,7 +149,7 @@ export { s as OrTextarea } from '../OrTextarea.vue_vue_type_script_lang-af7cab22
|
|
|
149
149
|
export { s as OrTextareaV3 } from '../OrTextarea.vue_vue_type_script_lang-0d1a7a48.js';
|
|
150
150
|
export { s as OrTextbox } from '../OrTextbox.vue_vue_type_script_lang-80e42d58.js';
|
|
151
151
|
export { TextboxTypes } from './OrTextbox/constants.js';
|
|
152
|
-
export { s as OrTimePickerV3 } from '../OrTimePicker.vue_vue_type_script_lang-
|
|
152
|
+
export { s as OrTimePickerV3 } from '../OrTimePicker.vue_vue_type_script_lang-0416f2c4.js';
|
|
153
153
|
export { default as OrToast } from './OrToast/OrToast.js';
|
|
154
154
|
export { s as OrToastContainer } from '../OrToastContainer.vue_vue_type_script_lang-c47d63be.js';
|
|
155
155
|
export { default as useToast } from './OrToast/composable/useToast.js';
|
|
@@ -269,7 +269,7 @@ import '../directives/dropdown-open.js';
|
|
|
269
269
|
import '../_baseProperty-a52739e9.js';
|
|
270
270
|
import '../toInteger-db8a475d.js';
|
|
271
271
|
import '../toFinite-021b0c50.js';
|
|
272
|
-
import '../OrDateTimePickerTimeSelect-
|
|
272
|
+
import '../OrDateTimePickerTimeSelect-18dd2e1f.js';
|
|
273
273
|
import './OrDateTimePickerV3/hooks/useTimePlaceholder.js';
|
|
274
274
|
import './OrDateTimePickerV3/styles.js';
|
|
275
275
|
import './OrEmptyStateV3/styles.js';
|
package/dist/bundled/v3/index.js
CHANGED
|
@@ -36,7 +36,7 @@ export { s as OrDatePickerV3 } from './OrDatePicker.vue_vue_type_script_lang-8ec
|
|
|
36
36
|
import './components/OrDateTimePicker/OrDateTimePicker.js';
|
|
37
37
|
export { s as OrDateTimePicker } from './OrDateTimePicker.vue_vue_type_script_lang-882ae7ce.js';
|
|
38
38
|
import './components/OrDateTimePickerV3/OrDateTimePicker.js';
|
|
39
|
-
export { s as OrDateTimePickerV3 } from './OrDateTimePicker.vue_vue_type_script_lang-
|
|
39
|
+
export { s as OrDateTimePickerV3 } from './OrDateTimePicker.vue_vue_type_script_lang-82a081af.js';
|
|
40
40
|
import './components/OrEmptyStateV3/OrEmptyState.js';
|
|
41
41
|
export { s as OrEmptyStateV3 } from './OrEmptyState.vue_vue_type_script_lang-2c1f09ef.js';
|
|
42
42
|
import './components/OrErrorTagV3/OrErrorTag.js';
|
|
@@ -126,7 +126,7 @@ export { s as OrTextareaV3 } from './OrTextarea.vue_vue_type_script_lang-0d1a7a4
|
|
|
126
126
|
import './components/OrTextbox/OrTextbox.js';
|
|
127
127
|
export { s as OrTextbox } from './OrTextbox.vue_vue_type_script_lang-80e42d58.js';
|
|
128
128
|
import './components/OrTimePickerV3/OrTimePicker.js';
|
|
129
|
-
export { s as OrTimePickerV3 } from './OrTimePicker.vue_vue_type_script_lang-
|
|
129
|
+
export { s as OrTimePickerV3 } from './OrTimePicker.vue_vue_type_script_lang-0416f2c4.js';
|
|
130
130
|
import './components/OrToastContainer/OrToastContainer.js';
|
|
131
131
|
export { s as OrToastContainer } from './OrToastContainer.vue_vue_type_script_lang-c47d63be.js';
|
|
132
132
|
export { default as useToast } from './components/OrToast/composable/useToast.js';
|
|
@@ -307,7 +307,7 @@ import './get-73ac2f59.js';
|
|
|
307
307
|
import './eq-fa566495.js';
|
|
308
308
|
import './utils/functions/px-to-rem.js';
|
|
309
309
|
import './components/OrCollapse/OrCollapse.js';
|
|
310
|
-
import './OrDateTimePickerTimeSelect-
|
|
310
|
+
import './OrDateTimePickerTimeSelect-18dd2e1f.js';
|
|
311
311
|
import './components/OrDateTimePickerV3/hooks/useTimePlaceholder.js';
|
|
312
312
|
import './components/OrDateTimePickerV3/styles.js';
|
|
313
313
|
import './components/OrEmptyStateV3/styles.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
1
|
+
import { s as script } from './OrDateTimePicker.vue_rollup-plugin-vue_script-3600f39b.js';
|
|
2
2
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
3
3
|
|
|
4
4
|
/* script */
|
|
@@ -228,7 +228,7 @@ var script$1 = defineComponent({
|
|
|
228
228
|
}
|
|
229
229
|
return props.format;
|
|
230
230
|
});
|
|
231
|
-
const hoursRange = ref('am');
|
|
231
|
+
const hoursRange = ref(proxyModelValue.value.getUTCHours() < 12 ? 'am' : 'pm');
|
|
232
232
|
const hoursOptions = computed(() => {
|
|
233
233
|
return Array.from({
|
|
234
234
|
length: 24
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
3
3
|
import { b as __vue_component__$1, d as __vue_component__$2, e as __vue_component__$3, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-2a962516.js';
|
|
4
|
-
import { _ as __vue_component__$4, a as __vue_component__$5, D as DateTimePickerTimeFormat } from './OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
4
|
+
import { _ as __vue_component__$4, a as __vue_component__$5, D as DateTimePickerTimeFormat } from './OrDateTimePicker.vue_rollup-plugin-vue_script-3600f39b.js';
|
|
5
5
|
import { _ as __vue_component__$6 } from './OrError-4ffc1c39.js';
|
|
6
6
|
import { _ as __vue_component__$7 } from './OrHint-aa221198.js';
|
|
7
7
|
import { _ as __vue_component__$9 } from './OrIconButton-ab726d49.js';
|
|
@@ -28,8 +28,8 @@ export { _ as OrConfirm } from '../OrConfirm-f4eec5b2.js';
|
|
|
28
28
|
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-0b56c11f.js';
|
|
29
29
|
export { _ as OrDatePickerV3 } from '../OrDatePicker-8567b495.js';
|
|
30
30
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-fb410167.js';
|
|
31
|
-
export { _ as OrDateTimePickerV3 } from '../OrDateTimePicker-
|
|
32
|
-
export { D as DateTimePickerTimeFormat, D as TimePickerFormat } from '../OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
31
|
+
export { _ as OrDateTimePickerV3 } from '../OrDateTimePicker-da51fa81.js';
|
|
32
|
+
export { D as DateTimePickerTimeFormat, D as TimePickerFormat } from '../OrDateTimePicker.vue_rollup-plugin-vue_script-3600f39b.js';
|
|
33
33
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from '../OrEmptyState-2d3fd68d.js';
|
|
34
34
|
export { _ as OrError } from '../OrError-efc74907.js';
|
|
35
35
|
export { _ as OrErrorTagV3 } from '../OrErrorTag-a55ae01a.js';
|
|
@@ -110,7 +110,7 @@ export { _ as OrTextV3 } from '../OrText-44449e7b.js';
|
|
|
110
110
|
export { _ as OrTextarea } from '../OrTextarea-d36f4ec6.js';
|
|
111
111
|
export { _ as OrTextareaV3 } from '../OrTextarea-978fb518.js';
|
|
112
112
|
export { _ as OrTextbox, T as TextboxTypes } from '../OrTextbox-a937432f.js';
|
|
113
|
-
export { _ as OrTimePickerV3 } from '../OrTimePicker-
|
|
113
|
+
export { _ as OrTimePickerV3 } from '../OrTimePicker-e8c47650.js';
|
|
114
114
|
export { _ as OrToast, a as OrToastContainer } from '../OrToastContainer-7017d12b.js';
|
|
115
115
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-b5ea5cb2.js';
|
|
116
116
|
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../types-6b40ad64.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { _ as OrDateTimePickerV3 } from '../../OrDateTimePicker-
|
|
2
|
-
export { D as DateTimePickerTimeFormat } from '../../OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
1
|
+
export { _ as OrDateTimePickerV3 } from '../../OrDateTimePicker-da51fa81.js';
|
|
2
|
+
export { D as DateTimePickerTimeFormat } from '../../OrDateTimePicker.vue_rollup-plugin-vue_script-3600f39b.js';
|
|
3
3
|
export { I as DateTimePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
4
4
|
import '../../normalize-component-6e8e3d80.js';
|
|
5
5
|
import 'vue-demi';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
|
-
import { FilterFunction } from '../../types';
|
|
3
2
|
import { DateTimePickerTimeFormat } from '../../props';
|
|
3
|
+
import { FilterFunction } from '../../types';
|
|
4
4
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
5
5
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
6
6
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { _ as OrTimePickerV3 } from '../../OrTimePicker-
|
|
2
|
-
export { D as TimePickerFormat } from '../../OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
1
|
+
export { _ as OrTimePickerV3 } from '../../OrTimePicker-e8c47650.js';
|
|
2
|
+
export { D as TimePickerFormat } from '../../OrDateTimePicker.vue_rollup-plugin-vue_script-3600f39b.js';
|
|
3
3
|
export { I as TimePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import '../../dropdown-open-e1f90e0a.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -28,8 +28,8 @@ export { _ as OrConfirm } from './OrConfirm-f4eec5b2.js';
|
|
|
28
28
|
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-0b56c11f.js';
|
|
29
29
|
export { _ as OrDatePickerV3 } from './OrDatePicker-8567b495.js';
|
|
30
30
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-fb410167.js';
|
|
31
|
-
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-
|
|
32
|
-
export { D as DateTimePickerTimeFormat, D as TimePickerFormat } from './OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
31
|
+
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-da51fa81.js';
|
|
32
|
+
export { D as DateTimePickerTimeFormat, D as TimePickerFormat } from './OrDateTimePicker.vue_rollup-plugin-vue_script-3600f39b.js';
|
|
33
33
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from './OrEmptyState-2d3fd68d.js';
|
|
34
34
|
export { _ as OrError } from './OrError-efc74907.js';
|
|
35
35
|
export { _ as OrErrorTagV3 } from './OrErrorTag-a55ae01a.js';
|
|
@@ -110,7 +110,7 @@ export { _ as OrTextV3 } from './OrText-44449e7b.js';
|
|
|
110
110
|
export { _ as OrTextarea } from './OrTextarea-d36f4ec6.js';
|
|
111
111
|
export { _ as OrTextareaV3 } from './OrTextarea-978fb518.js';
|
|
112
112
|
export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-a937432f.js';
|
|
113
|
-
export { _ as OrTimePickerV3 } from './OrTimePicker-
|
|
113
|
+
export { _ as OrTimePickerV3 } from './OrTimePicker-e8c47650.js';
|
|
114
114
|
export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-7017d12b.js';
|
|
115
115
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-b5ea5cb2.js';
|
|
116
116
|
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-6b40ad64.js';
|
|
@@ -204,7 +204,7 @@ var script$1 = defineComponent({
|
|
|
204
204
|
}
|
|
205
205
|
return props.format;
|
|
206
206
|
});
|
|
207
|
-
const hoursRange = ref('am');
|
|
207
|
+
const hoursRange = ref(proxyModelValue.value.getUTCHours() < 12 ? 'am' : 'pm');
|
|
208
208
|
const hoursOptions = computed(() => {
|
|
209
209
|
return Array.from({
|
|
210
210
|
length: 24
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
3
3
|
import { b as script$1, d as script$2, e as script$3, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-3c99d4a1.js';
|
|
4
|
-
import { a as script$4, b as script$5, D as DateTimePickerTimeFormat } from './OrDateTimePicker-
|
|
4
|
+
import { a as script$4, b as script$5, D as DateTimePickerTimeFormat } from './OrDateTimePicker-4d0a44c9.js';
|
|
5
5
|
import { s as script$6 } from './OrError-c01d0c29.js';
|
|
6
6
|
import { s as script$7 } from './OrHint-06ab89d7.js';
|
|
7
7
|
import { s as script$9 } from './OrIconButton-0aaadc68.js';
|
|
@@ -26,7 +26,7 @@ export { s as OrConfirm } from '../OrConfirm-704f817e.js';
|
|
|
26
26
|
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-5509c440.js';
|
|
27
27
|
export { s as OrDatePickerV3 } from '../OrDatePicker-08748ced.js';
|
|
28
28
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-c19dcefc.js';
|
|
29
|
-
export { D as DateTimePickerTimeFormat, s as OrDateTimePickerV3, D as TimePickerFormat } from '../OrDateTimePicker-
|
|
29
|
+
export { D as DateTimePickerTimeFormat, s as OrDateTimePickerV3, D as TimePickerFormat } from '../OrDateTimePicker-4d0a44c9.js';
|
|
30
30
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from '../OrEmptyState-5349a1f9.js';
|
|
31
31
|
export { s as OrError } from '../OrError-f90296db.js';
|
|
32
32
|
export { s as OrErrorTagV3 } from '../OrErrorTag-ade9192b.js';
|
|
@@ -107,7 +107,7 @@ export { s as OrTextV3 } from '../OrText-d54c951d.js';
|
|
|
107
107
|
export { s as OrTextarea } from '../OrTextarea-31b54c7e.js';
|
|
108
108
|
export { s as OrTextareaV3 } from '../OrTextarea-1e19417a.js';
|
|
109
109
|
export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox-8d2903db.js';
|
|
110
|
-
export { s as OrTimePickerV3 } from '../OrTimePicker-
|
|
110
|
+
export { s as OrTimePickerV3 } from '../OrTimePicker-9811354f.js';
|
|
111
111
|
export { s as OrToast, a as OrToastContainer } from '../OrToastContainer-72b52576.js';
|
|
112
112
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-b5ea5cb2.js';
|
|
113
113
|
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-53cb1e6c.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DateTimePickerTimeFormat, s as OrDateTimePickerV3 } from '../../OrDateTimePicker-
|
|
1
|
+
export { D as DateTimePickerTimeFormat, s as OrDateTimePickerV3 } from '../../OrDateTimePicker-4d0a44c9.js';
|
|
2
2
|
export { I as DateTimePickerSize } from '../../OrInputBox-32b37b17.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-e1f90e0a.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
|
-
import { FilterFunction } from '../../types';
|
|
3
2
|
import { DateTimePickerTimeFormat } from '../../props';
|
|
3
|
+
import { FilterFunction } from '../../types';
|
|
4
4
|
declare const _default: import("vue-demi").DefineComponent<{
|
|
5
5
|
modelValue: {
|
|
6
6
|
type: DateConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { s as OrTimePickerV3 } from '../../OrTimePicker-
|
|
2
|
-
export { D as TimePickerFormat } from '../../OrDateTimePicker-
|
|
1
|
+
export { s as OrTimePickerV3 } from '../../OrTimePicker-9811354f.js';
|
|
2
|
+
export { D as TimePickerFormat } from '../../OrDateTimePicker-4d0a44c9.js';
|
|
3
3
|
export { I as TimePickerSize } from '../../OrInputBox-32b37b17.js';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import '../../dropdown-open-e1f90e0a.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -26,7 +26,7 @@ export { s as OrConfirm } from './OrConfirm-704f817e.js';
|
|
|
26
26
|
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-5509c440.js';
|
|
27
27
|
export { s as OrDatePickerV3 } from './OrDatePicker-08748ced.js';
|
|
28
28
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-c19dcefc.js';
|
|
29
|
-
export { D as DateTimePickerTimeFormat, s as OrDateTimePickerV3, D as TimePickerFormat } from './OrDateTimePicker-
|
|
29
|
+
export { D as DateTimePickerTimeFormat, s as OrDateTimePickerV3, D as TimePickerFormat } from './OrDateTimePicker-4d0a44c9.js';
|
|
30
30
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-5349a1f9.js';
|
|
31
31
|
export { s as OrError } from './OrError-f90296db.js';
|
|
32
32
|
export { s as OrErrorTagV3 } from './OrErrorTag-ade9192b.js';
|
|
@@ -107,7 +107,7 @@ export { s as OrTextV3 } from './OrText-d54c951d.js';
|
|
|
107
107
|
export { s as OrTextarea } from './OrTextarea-31b54c7e.js';
|
|
108
108
|
export { s as OrTextareaV3 } from './OrTextarea-1e19417a.js';
|
|
109
109
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-8d2903db.js';
|
|
110
|
-
export { s as OrTimePickerV3 } from './OrTimePicker-
|
|
110
|
+
export { s as OrTimePickerV3 } from './OrTimePicker-9811354f.js';
|
|
111
111
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-72b52576.js';
|
|
112
112
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-b5ea5cb2.js';
|
|
113
113
|
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-53cb1e6c.js';
|
package/package.json
CHANGED
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
<script lang="ts">
|
|
61
61
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
62
62
|
import { OrButtonV3 as OrButton } from '../../../or-button-v3';
|
|
63
|
+
import { DateTimePickerTimeFormat } from '../../props';
|
|
63
64
|
import { FilterFunction } from '../../types';
|
|
64
65
|
import { DateTimePickerTimeSelect, DateTimePickerTimeSelectButtonGroup, DateTimePickerTimeSelectButtonGroupItem } from './styles';
|
|
65
|
-
import { DateTimePickerTimeFormat } from '../../props';
|
|
66
66
|
|
|
67
67
|
export default defineComponent({
|
|
68
68
|
name: 'OrDateTimePickerTimeSelect',
|
|
@@ -152,7 +152,7 @@ export default defineComponent({
|
|
|
152
152
|
return props.format;
|
|
153
153
|
});
|
|
154
154
|
|
|
155
|
-
const hoursRange = ref<'am' | 'pm'>('am');
|
|
155
|
+
const hoursRange = ref<'am' | 'pm'>(proxyModelValue.value.getUTCHours() < 12 ? 'am' : 'pm');
|
|
156
156
|
|
|
157
157
|
const hoursOptions = computed(() => {
|
|
158
158
|
return Array.from({ length: 24 }, (_value, index) => {
|