@onereach/ui-components 21.5.0 → 21.5.2
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/esm/components/{OrAutocompleteV3-961163d0.js → OrAutocompleteV3-ab3c83bc.js} +68 -71
- package/dist/esm/components/OrButtonV3-a83254fb.js +264 -0
- package/dist/esm/components/{OrDateTimePickerV3-7b24568c.js → OrDateTimePickerV3-68c0e2c8.js} +14 -14
- package/dist/esm/components/{OrEditorTabsV3-856e42f1.js → OrEditorTabsV3-ae6257e1.js} +4 -3
- package/dist/esm/components/{OrInlineInputV3-4e69972f.js → OrInlineInputV3-6593cb76.js} +5 -5
- package/dist/esm/components/index.js +5 -5
- package/dist/esm/components/or-autocomplete-v3/index.js +4 -4
- package/dist/esm/components/or-avatar-v3/index.js +4 -4
- package/dist/esm/components/or-bottom-sheet-v3/index.js +6 -6
- package/dist/esm/components/or-button-group-v3/index.js +2 -25
- package/dist/esm/components/or-button-v3/index.js +3 -283
- package/dist/esm/components/or-card-collection-v3/index.js +5 -5
- package/dist/esm/components/or-checkbox-group-v3/index.js +6 -6
- package/dist/esm/components/or-checkbox-tree-v3/index.js +5 -5
- package/dist/esm/components/or-checkbox-v3/index.js +7 -7
- package/dist/esm/components/or-code-v3/index.js +8 -8
- package/dist/esm/components/or-confirm-v3/index.js +5 -5
- package/dist/esm/components/or-context-menu-v3/index.js +6 -6
- package/dist/esm/components/or-data-grid-v3/index.js +6 -6
- package/dist/esm/components/or-date-format-v3/index.js +7 -7
- package/dist/esm/components/or-date-picker-v3/index.js +10 -10
- package/dist/esm/components/or-date-range-picker-v3/index.js +11 -11
- package/dist/esm/components/or-date-time-format-v3/index.js +8 -8
- package/dist/esm/components/or-date-time-picker-v3/index.js +5 -5
- package/dist/esm/components/or-drawer-v3/index.js +5 -5
- package/dist/esm/components/or-drop-area-v3/index.js +6 -6
- package/dist/esm/components/or-editor-tabs-v3/index.js +5 -5
- package/dist/esm/components/or-expansion-panel-v3/index.js +5 -5
- package/dist/esm/components/or-fab-v3/index.js +2 -24
- package/dist/esm/components/or-filter-popover-v3/index.js +7 -7
- package/dist/esm/components/or-filter-trigger-v3/index.js +5 -5
- package/dist/esm/components/or-filter-v3/index.js +5 -5
- package/dist/esm/components/or-icon-button-v3/index.js +4 -4
- package/dist/esm/components/or-inline-input-v3/index.js +4 -4
- package/dist/esm/components/or-inline-textarea-v3/index.js +7 -7
- package/dist/esm/components/or-input-v3/index.js +8 -8
- package/dist/esm/components/or-list-v3/index.js +4 -4
- package/dist/esm/components/or-menu-item-v3/index.js +4 -4
- package/dist/esm/components/or-menu-v3/index.js +5 -5
- package/dist/esm/components/or-modal-v3/index.js +6 -6
- package/dist/esm/components/or-notification-v3/index.js +5 -5
- package/dist/esm/components/or-overlay-v3/index.js +5 -5
- package/dist/esm/components/or-pagination-v3/index.js +6 -6
- package/dist/esm/components/or-popover-v3/index.js +7 -7
- package/dist/esm/components/or-progress-v3/index.js +5 -5
- package/dist/esm/components/or-radio-group-v3/index.js +6 -6
- package/dist/esm/components/or-radio-v3/index.js +8 -8
- package/dist/esm/components/or-range-slider-v3/index.js +5 -5
- package/dist/esm/components/or-rating-v3/index.js +6 -6
- package/dist/esm/components/or-resizeable-panel-v3/index.js +4 -4
- package/dist/esm/components/or-rich-text-editor-v3/index.js +5 -5
- package/dist/esm/components/or-rich-tooltip-v3/index.js +5 -5
- package/dist/esm/components/or-search-v3/index.js +8 -8
- package/dist/esm/components/or-segmented-control-v3/index.js +5 -5
- package/dist/esm/components/or-select-v3/index.js +10 -10
- package/dist/esm/components/or-sidebar-v3/index.js +5 -5
- package/dist/esm/components/or-skeleton-v3/index.js +4 -4
- package/dist/esm/components/or-slider-v3/index.js +5 -5
- package/dist/esm/components/or-sorting-v3/index.js +5 -5
- package/dist/esm/components/or-switch-v3/index.js +6 -6
- package/dist/esm/components/or-tabs-v3/index.js +5 -5
- package/dist/esm/components/or-tag-input-v3/index.js +8 -8
- package/dist/esm/components/or-tag-v3/index.js +6 -6
- package/dist/esm/components/or-tags-v3/index.js +5 -5
- package/dist/esm/components/or-textarea-v3/index.js +8 -8
- package/dist/esm/components/or-time-format-v3/index.js +7 -7
- package/dist/esm/components/or-time-picker-v3/index.js +8 -8
- package/dist/esm/components/or-time-range-picker-v3/index.js +9 -9
- package/dist/esm/components/or-toast-v3/index.js +4 -4
- package/dist/esm/components/or-tooltip-v3/index.js +5 -5
- package/dist/esm/components/or-tree-v3/index.js +2 -24
- package/dist/esm/index.js +5 -5
- package/package.json +4 -4
- package/dist/esm/components/or-autocomplete-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-avatar-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-bottom-sheet-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-button-group-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-card-collection-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-card-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-checkbox-group-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-checkbox-tree-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-checkbox-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-code-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-combined-input-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-confirm-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-context-menu-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-data-grid-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-date-format-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-date-picker-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-date-range-picker-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-date-time-format-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-date-time-picker-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-drawer-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-drop-area-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-empty-state-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-error-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-expansion-panel-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-filter-popover-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-filter-trigger-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-filter-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-form-group-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-hint-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-icon-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-indicator-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-inline-input-box-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-inline-input-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-inline-textarea-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-input-box-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-input-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-label-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-link-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-list-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-loader-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-menu-item-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-menu-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-modal-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-notification-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-pagination-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-popover-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-progress-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-radio-group-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-radio-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-range-slider-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-rating-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-resizeable-panel-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-rich-text-editor-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-rich-tooltip-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-search-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-select-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-sidebar-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-skeleton-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-slider-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-sorting-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-status-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-switch-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-tab-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-tabs-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-tag-input-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-tag-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-tags-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-teleport-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-text-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-textarea-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-time-format-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-time-picker-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-time-range-picker-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-toast-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-tooltip-v3/constants.d.ts +0 -2
- package/dist/esm/components/or-tree-v3/constants.d.ts +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, computed, toRef, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, mergeProps, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { J, Z, e as ee, c, b as i, H as Ht, P as Pt } from '../OrAutocompleteV3-ab3c83bc.js';
|
|
3
3
|
import { OrLabelV3 as script$1, LabelVariant } from '../or-label-v3/index.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
@@ -7,6 +7,8 @@ import '@onereach/styles/tailwind.config.json';
|
|
|
7
7
|
import '../or-error-v3/index.js';
|
|
8
8
|
import '../or-hint-v3/index.js';
|
|
9
9
|
import '../or-icon-button-v3/index.js';
|
|
10
|
+
import '../OrButtonV3-a83254fb.js';
|
|
11
|
+
import '../or-loader-v3/index.js';
|
|
10
12
|
import '../or-icon-v3/index.js';
|
|
11
13
|
import '../or-tooltip-v3/index.js';
|
|
12
14
|
import '../or-popover-v3/index.js';
|
|
@@ -16,14 +18,12 @@ import '../or-overlay-v3/index.js';
|
|
|
16
18
|
import '../or-teleport-v3/index.js';
|
|
17
19
|
import '../or-input-box-v3/index.js';
|
|
18
20
|
import '../or-input-v3/index.js';
|
|
19
|
-
import '../OrInlineInputV3-
|
|
21
|
+
import '../OrInlineInputV3-6593cb76.js';
|
|
20
22
|
import '../or-inline-input-box-v3/index.js';
|
|
21
23
|
import '../or-text-v3/index.js';
|
|
22
|
-
import '../or-loader-v3/index.js';
|
|
23
24
|
import '../or-menu-item-v3/index.js';
|
|
24
25
|
import '../or-tag-input-v3/index.js';
|
|
25
26
|
import '../or-tags-v3/index.js';
|
|
26
|
-
import '../or-button-v3/index.js';
|
|
27
27
|
import '../or-tag-v3/index.js';
|
|
28
28
|
|
|
29
29
|
const Checkbox = [
|
|
@@ -109,8 +109,8 @@ var script = defineComponent({
|
|
|
109
109
|
expose: ['root', 'focus', 'blur'],
|
|
110
110
|
setup(props, context) {
|
|
111
111
|
const attributes = reactive({
|
|
112
|
-
id:
|
|
113
|
-
...
|
|
112
|
+
id: J(),
|
|
113
|
+
...Z()
|
|
114
114
|
});
|
|
115
115
|
// Refs & Styles
|
|
116
116
|
const root = ref();
|
|
@@ -118,7 +118,7 @@ var script = defineComponent({
|
|
|
118
118
|
const control = ref();
|
|
119
119
|
const controlStyles = computed(() => [...CheckboxControl, ...CheckboxControlHandle]);
|
|
120
120
|
// State
|
|
121
|
-
const model =
|
|
121
|
+
const model = ee(toRef(props, 'modelValue'), context.emit);
|
|
122
122
|
const checked = computed(() => {
|
|
123
123
|
if (c(model.value)) {
|
|
124
124
|
if (i(props.value)) {
|
|
@@ -7,7 +7,7 @@ import { keymap, EditorView } from '@codemirror/view';
|
|
|
7
7
|
export { EditorView } from '@codemirror/view';
|
|
8
8
|
import { Compartment, EditorState } from '@codemirror/state';
|
|
9
9
|
export { EditorState } from '@codemirror/state';
|
|
10
|
-
import {
|
|
10
|
+
import { J, Z, o as oe, e as ee, r as re } from '../OrAutocompleteV3-ab3c83bc.js';
|
|
11
11
|
import { basicSetup } from 'codemirror';
|
|
12
12
|
import { indentWithTab } from '@codemirror/commands';
|
|
13
13
|
import { OrErrorV3 as script$2 } from '../or-error-v3/index.js';
|
|
@@ -20,7 +20,7 @@ import '@vueuse/core';
|
|
|
20
20
|
import '@onereach/styles/screens.json';
|
|
21
21
|
import '@onereach/styles/tailwind.config.json';
|
|
22
22
|
import '../or-input-v3/index.js';
|
|
23
|
-
import '../OrInlineInputV3-
|
|
23
|
+
import '../OrInlineInputV3-6593cb76.js';
|
|
24
24
|
import '../or-inline-input-box-v3/index.js';
|
|
25
25
|
import '../or-text-v3/index.js';
|
|
26
26
|
import '../or-icon-v3/index.js';
|
|
@@ -32,9 +32,9 @@ import '@floating-ui/dom';
|
|
|
32
32
|
import '../or-bottom-sheet-v3/index.js';
|
|
33
33
|
import '../or-overlay-v3/index.js';
|
|
34
34
|
import '../or-teleport-v3/index.js';
|
|
35
|
+
import '../OrButtonV3-a83254fb.js';
|
|
35
36
|
import '../or-tag-input-v3/index.js';
|
|
36
37
|
import '../or-tags-v3/index.js';
|
|
37
|
-
import '../or-button-v3/index.js';
|
|
38
38
|
import '../or-tag-v3/index.js';
|
|
39
39
|
|
|
40
40
|
const Code = [
|
|
@@ -258,11 +258,11 @@ var script = defineComponent({
|
|
|
258
258
|
const disabledExtensionCompartment = new Compartment();
|
|
259
259
|
// State
|
|
260
260
|
const controlAttributes = reactive({
|
|
261
|
-
id:
|
|
262
|
-
...
|
|
263
|
-
...
|
|
261
|
+
id: J(),
|
|
262
|
+
...Z(),
|
|
263
|
+
...oe()
|
|
264
264
|
});
|
|
265
|
-
const proxyModelValue =
|
|
265
|
+
const proxyModelValue = ee(toRef(props, 'modelValue'), context.emit);
|
|
266
266
|
const getLanguageExtension = async language => {
|
|
267
267
|
switch (language) {
|
|
268
268
|
case CodeLanguage.HTML:
|
|
@@ -295,7 +295,7 @@ var script = defineComponent({
|
|
|
295
295
|
(_b = (_a = modal.value) === null || _a === void 0 ? void 0 : _a.open) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
296
296
|
}
|
|
297
297
|
// #region Codemirror
|
|
298
|
-
const theme =
|
|
298
|
+
const theme = re();
|
|
299
299
|
const defaultExtensions = [basicSetup, keymap.of([indentWithTab]), EditorView.domEventHandlers({
|
|
300
300
|
input: event => {
|
|
301
301
|
context.emit('input', event);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
|
|
2
2
|
import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
|
|
3
3
|
import { logicAnd } from '@vueuse/math';
|
|
4
|
-
import {
|
|
4
|
+
import { X } from '../OrAutocompleteV3-ab3c83bc.js';
|
|
5
5
|
import { OrOverlayV3 as script$1 } from '../or-overlay-v3/index.js';
|
|
6
|
-
import {
|
|
6
|
+
import { s as script$2, a as ButtonColor } from '../OrButtonV3-a83254fb.js';
|
|
7
7
|
import { OrInputV3 as script$3 } from '../or-input-v3/index.js';
|
|
8
8
|
import '@onereach/styles/screens.json';
|
|
9
9
|
import '@onereach/styles/tailwind.config.json';
|
|
@@ -15,13 +15,13 @@ import '../or-tooltip-v3/index.js';
|
|
|
15
15
|
import '../or-popover-v3/index.js';
|
|
16
16
|
import '@floating-ui/dom';
|
|
17
17
|
import '../or-bottom-sheet-v3/index.js';
|
|
18
|
+
import '../or-loader-v3/index.js';
|
|
18
19
|
import '../or-teleport-v3/index.js';
|
|
19
20
|
import '../or-input-box-v3/index.js';
|
|
20
|
-
import '../OrInlineInputV3-
|
|
21
|
+
import '../OrInlineInputV3-6593cb76.js';
|
|
21
22
|
import '../or-inline-input-box-v3/index.js';
|
|
22
23
|
import '../or-text-v3/index.js';
|
|
23
24
|
import '../or-label-v3/index.js';
|
|
24
|
-
import '../or-loader-v3/index.js';
|
|
25
25
|
import '../or-menu-item-v3/index.js';
|
|
26
26
|
import '../or-tag-input-v3/index.js';
|
|
27
27
|
import '../or-tags-v3/index.js';
|
|
@@ -151,7 +151,7 @@ var script = defineComponent({
|
|
|
151
151
|
state,
|
|
152
152
|
open,
|
|
153
153
|
close
|
|
154
|
-
} =
|
|
154
|
+
} = X(toRef(props, 'isOpen'), context.emit);
|
|
155
155
|
const isInputActive = ref(false);
|
|
156
156
|
const confirmationValue = ref('');
|
|
157
157
|
watch(state, () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, toRefs, watch, ref, resolveComponent, openBlock, createBlock, withCtx, renderSlot } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { X } from '../OrAutocompleteV3-ab3c83bc.js';
|
|
3
3
|
import { OrMenuV3 as script$1 } from '../or-menu-v3/index.js';
|
|
4
4
|
import { PopoverPlacement } from '../or-popover-v3/index.js';
|
|
5
5
|
import '@vueuse/core';
|
|
@@ -8,24 +8,24 @@ import '@onereach/styles/tailwind.config.json';
|
|
|
8
8
|
import '../or-error-v3/index.js';
|
|
9
9
|
import '../or-hint-v3/index.js';
|
|
10
10
|
import '../or-icon-button-v3/index.js';
|
|
11
|
+
import '../OrButtonV3-a83254fb.js';
|
|
12
|
+
import '../or-loader-v3/index.js';
|
|
11
13
|
import '../or-icon-v3/index.js';
|
|
12
14
|
import '../or-tooltip-v3/index.js';
|
|
13
15
|
import '../or-input-box-v3/index.js';
|
|
14
16
|
import '../or-input-v3/index.js';
|
|
15
|
-
import '../OrInlineInputV3-
|
|
17
|
+
import '../OrInlineInputV3-6593cb76.js';
|
|
16
18
|
import '../or-inline-input-box-v3/index.js';
|
|
17
19
|
import '../or-text-v3/index.js';
|
|
18
20
|
import '../or-label-v3/index.js';
|
|
19
|
-
import '../or-loader-v3/index.js';
|
|
20
21
|
import '../or-menu-item-v3/index.js';
|
|
21
22
|
import '../or-tag-input-v3/index.js';
|
|
22
23
|
import '../or-tags-v3/index.js';
|
|
23
|
-
import '../or-
|
|
24
|
+
import '../or-tag-v3/index.js';
|
|
24
25
|
import '@floating-ui/dom';
|
|
25
26
|
import '../or-bottom-sheet-v3/index.js';
|
|
26
27
|
import '../or-overlay-v3/index.js';
|
|
27
28
|
import '../or-teleport-v3/index.js';
|
|
28
|
-
import '../or-tag-v3/index.js';
|
|
29
29
|
|
|
30
30
|
var script = defineComponent({
|
|
31
31
|
name: 'OrContextMenu',
|
|
@@ -73,7 +73,7 @@ var script = defineComponent({
|
|
|
73
73
|
open,
|
|
74
74
|
close,
|
|
75
75
|
toggle
|
|
76
|
-
} =
|
|
76
|
+
} = X(ref(false), context.emit);
|
|
77
77
|
const reference = ref();
|
|
78
78
|
const triggerPoint = ref();
|
|
79
79
|
// Handlers
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, resolveComponent, normalizeStyle, Fragment, createBlock, watch, createElementVNode, createVNode, mergeProps, withCtx, createSlots, normalizeProps, guardReactiveProps, renderList, createTextVNode, toDisplayString } from 'vue';
|
|
2
2
|
import { OrCheckboxV3 as script$h } from '../or-checkbox-v3/index.js';
|
|
3
3
|
import { OrDatePickerV3 as script$i } from '../or-date-picker-v3/index.js';
|
|
4
|
-
import { s as script$j } from '../OrDateTimePickerV3-
|
|
4
|
+
import { s as script$j } from '../OrDateTimePickerV3-68c0e2c8.js';
|
|
5
5
|
import { OrInputV3 as script$k } from '../or-input-v3/index.js';
|
|
6
6
|
import { OrRatingV3 as script$l } from '../or-rating-v3/index.js';
|
|
7
7
|
import { OrSelectV3 as script$m } from '../or-select-v3/index.js';
|
|
@@ -14,12 +14,14 @@ import { OrNotificationV3 as script$r } from '../or-notification-v3/index.js';
|
|
|
14
14
|
import { OrPaginationV3 as script$s } from '../or-pagination-v3/index.js';
|
|
15
15
|
import { OrSearchV3 as script$t } from '../or-search-v3/index.js';
|
|
16
16
|
import { OrSkeletonTextV3 as script$u } from '../or-skeleton-v3/index.js';
|
|
17
|
-
import '../OrAutocompleteV3-
|
|
17
|
+
import '../OrAutocompleteV3-ab3c83bc.js';
|
|
18
18
|
import '@onereach/styles/screens.json';
|
|
19
19
|
import '@onereach/styles/tailwind.config.json';
|
|
20
20
|
import '../or-error-v3/index.js';
|
|
21
21
|
import '../or-hint-v3/index.js';
|
|
22
22
|
import '../or-icon-button-v3/index.js';
|
|
23
|
+
import '../OrButtonV3-a83254fb.js';
|
|
24
|
+
import '../or-loader-v3/index.js';
|
|
23
25
|
import '../or-tooltip-v3/index.js';
|
|
24
26
|
import '../or-popover-v3/index.js';
|
|
25
27
|
import '@floating-ui/dom';
|
|
@@ -27,17 +29,15 @@ import '../or-bottom-sheet-v3/index.js';
|
|
|
27
29
|
import '../or-overlay-v3/index.js';
|
|
28
30
|
import '../or-teleport-v3/index.js';
|
|
29
31
|
import '../or-input-box-v3/index.js';
|
|
30
|
-
import '../OrInlineInputV3-
|
|
32
|
+
import '../OrInlineInputV3-6593cb76.js';
|
|
31
33
|
import '../or-inline-input-box-v3/index.js';
|
|
32
34
|
import '../or-text-v3/index.js';
|
|
33
35
|
import '../or-label-v3/index.js';
|
|
34
|
-
import '../or-loader-v3/index.js';
|
|
35
36
|
import '../or-menu-item-v3/index.js';
|
|
36
37
|
import '../or-tags-v3/index.js';
|
|
37
|
-
import '../or-button-v3/index.js';
|
|
38
38
|
import '../or-tag-v3/index.js';
|
|
39
39
|
import '../or-menu-v3/index.js';
|
|
40
|
-
import '../OrEditorTabsV3-
|
|
40
|
+
import '../OrEditorTabsV3-ae6257e1.js';
|
|
41
41
|
import '../or-expansion-panel-v3/index.js';
|
|
42
42
|
import '../or-indicator-v3/index.js';
|
|
43
43
|
import 'lodash/range';
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import { f as formatDate } from '../OrDateTimePickerV3-
|
|
2
|
+
import { _, K } from '../OrAutocompleteV3-ab3c83bc.js';
|
|
3
|
+
import { f as formatDate } from '../OrDateTimePickerV3-68c0e2c8.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
6
6
|
import '@onereach/styles/tailwind.config.json';
|
|
7
7
|
import '../or-error-v3/index.js';
|
|
8
8
|
import '../or-hint-v3/index.js';
|
|
9
9
|
import '../or-icon-button-v3/index.js';
|
|
10
|
+
import '../OrButtonV3-a83254fb.js';
|
|
11
|
+
import '../or-loader-v3/index.js';
|
|
10
12
|
import '../or-icon-v3/index.js';
|
|
11
13
|
import '../or-tooltip-v3/index.js';
|
|
12
14
|
import '../or-popover-v3/index.js';
|
|
@@ -16,15 +18,13 @@ import '../or-overlay-v3/index.js';
|
|
|
16
18
|
import '../or-teleport-v3/index.js';
|
|
17
19
|
import '../or-input-box-v3/index.js';
|
|
18
20
|
import '../or-input-v3/index.js';
|
|
19
|
-
import '../OrInlineInputV3-
|
|
21
|
+
import '../OrInlineInputV3-6593cb76.js';
|
|
20
22
|
import '../or-inline-input-box-v3/index.js';
|
|
21
23
|
import '../or-text-v3/index.js';
|
|
22
24
|
import '../or-label-v3/index.js';
|
|
23
|
-
import '../or-loader-v3/index.js';
|
|
24
25
|
import '../or-menu-item-v3/index.js';
|
|
25
26
|
import '../or-tag-input-v3/index.js';
|
|
26
27
|
import '../or-tags-v3/index.js';
|
|
27
|
-
import '../or-button-v3/index.js';
|
|
28
28
|
import '../or-tag-v3/index.js';
|
|
29
29
|
import '../or-menu-v3/index.js';
|
|
30
30
|
|
|
@@ -62,8 +62,8 @@ var script = defineComponent({
|
|
|
62
62
|
const root = ref();
|
|
63
63
|
const rootStyles = computed(() => ['or-date-format-v3', ...DateFormat]);
|
|
64
64
|
// Options
|
|
65
|
-
const resolvedFormat =
|
|
66
|
-
const resolvedLocale =
|
|
65
|
+
const resolvedFormat = _(toRef(props, 'format'));
|
|
66
|
+
const resolvedLocale = K(toRef(props, 'locale'));
|
|
67
67
|
return {
|
|
68
68
|
root,
|
|
69
69
|
rootStyles,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch, resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, withModifiers, createVNode, vShow, createElementVNode } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import { a as script$1, b as script$2, c as script$3, d as script$4, e as script$5, g as script$6, h as getCurrentDate, i as formatMobileDate } from '../OrDateTimePickerV3-
|
|
2
|
+
import { d as a, f as c, _, K, e as ee } from '../OrAutocompleteV3-ab3c83bc.js';
|
|
3
|
+
import { a as script$1, b as script$2, c as script$3, d as script$4, e as script$5, g as script$6, h as getCurrentDate, i as formatMobileDate } from '../OrDateTimePickerV3-68c0e2c8.js';
|
|
4
4
|
import { OrErrorV3 as script$7 } from '../or-error-v3/index.js';
|
|
5
5
|
import { OrHintV3 as script$8 } from '../or-hint-v3/index.js';
|
|
6
6
|
import { OrIconV3 as script$9 } from '../or-icon-v3/index.js';
|
|
@@ -12,7 +12,7 @@ import '@vueuse/core';
|
|
|
12
12
|
import '@onereach/styles/screens.json';
|
|
13
13
|
import '@onereach/styles/tailwind.config.json';
|
|
14
14
|
import '../or-input-v3/index.js';
|
|
15
|
-
import '../OrInlineInputV3-
|
|
15
|
+
import '../OrInlineInputV3-6593cb76.js';
|
|
16
16
|
import '../or-inline-input-box-v3/index.js';
|
|
17
17
|
import '../or-text-v3/index.js';
|
|
18
18
|
import '../or-loader-v3/index.js';
|
|
@@ -20,13 +20,13 @@ import '../or-menu-item-v3/index.js';
|
|
|
20
20
|
import '../or-tooltip-v3/index.js';
|
|
21
21
|
import '../or-tag-input-v3/index.js';
|
|
22
22
|
import '../or-tags-v3/index.js';
|
|
23
|
-
import '../
|
|
23
|
+
import '../OrButtonV3-a83254fb.js';
|
|
24
|
+
import '../or-tag-v3/index.js';
|
|
25
|
+
import '../or-menu-v3/index.js';
|
|
24
26
|
import '@floating-ui/dom';
|
|
25
27
|
import '../or-bottom-sheet-v3/index.js';
|
|
26
28
|
import '../or-overlay-v3/index.js';
|
|
27
29
|
import '../or-teleport-v3/index.js';
|
|
28
|
-
import '../or-tag-v3/index.js';
|
|
29
|
-
import '../or-menu-v3/index.js';
|
|
30
30
|
|
|
31
31
|
const DatePicker = [
|
|
32
32
|
// Layout
|
|
@@ -55,7 +55,7 @@ var script = defineComponent({
|
|
|
55
55
|
OrPopover: script$d
|
|
56
56
|
},
|
|
57
57
|
directives: {
|
|
58
|
-
DropdownClose:
|
|
58
|
+
DropdownClose: a,
|
|
59
59
|
DropdownOpen: c
|
|
60
60
|
},
|
|
61
61
|
model: {
|
|
@@ -143,14 +143,14 @@ var script = defineComponent({
|
|
|
143
143
|
});
|
|
144
144
|
const popoverStyles = computed(() => ['or-date-picker-popover-v3', ...DatePickerPopover]);
|
|
145
145
|
// Options
|
|
146
|
-
const resolvedFormat =
|
|
147
|
-
const resolvedLocale =
|
|
146
|
+
const resolvedFormat = _(toRef(props, 'format'));
|
|
147
|
+
const resolvedLocale = K(toRef(props, 'locale'));
|
|
148
148
|
// State
|
|
149
149
|
const initialValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : getCurrentDate());
|
|
150
150
|
watch(() => props.modelValue, value => {
|
|
151
151
|
initialValue.value = value !== null && value !== void 0 ? value : getCurrentDate();
|
|
152
152
|
});
|
|
153
|
-
const model =
|
|
153
|
+
const model = ee(toRef(props, 'modelValue'), context.emit);
|
|
154
154
|
const draft = ref(model.value);
|
|
155
155
|
watch(model, value => {
|
|
156
156
|
draft.value = value;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch, resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, withModifiers, createVNode, createElementVNode, vShow } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import { a as script$1, b as script$2, c as script$3, d as script$4, e as script$5, g as script$6, h as getCurrentDate, j as getNextMonthDate, i as formatMobileDate } from '../OrDateTimePickerV3-
|
|
2
|
+
import { d as a, f as c, _, K, e as ee, t as te } from '../OrAutocompleteV3-ab3c83bc.js';
|
|
3
|
+
import { a as script$1, b as script$2, c as script$3, d as script$4, e as script$5, g as script$6, h as getCurrentDate, j as getNextMonthDate, i as formatMobileDate } from '../OrDateTimePickerV3-68c0e2c8.js';
|
|
4
4
|
import { OrErrorV3 as script$7 } from '../or-error-v3/index.js';
|
|
5
5
|
import { OrHintV3 as script$8 } from '../or-hint-v3/index.js';
|
|
6
6
|
import { OrIconV3 as script$9 } from '../or-icon-v3/index.js';
|
|
@@ -12,7 +12,7 @@ import '@vueuse/core';
|
|
|
12
12
|
import '@onereach/styles/screens.json';
|
|
13
13
|
import '@onereach/styles/tailwind.config.json';
|
|
14
14
|
import '../or-input-v3/index.js';
|
|
15
|
-
import '../OrInlineInputV3-
|
|
15
|
+
import '../OrInlineInputV3-6593cb76.js';
|
|
16
16
|
import '../or-inline-input-box-v3/index.js';
|
|
17
17
|
import '../or-text-v3/index.js';
|
|
18
18
|
import '../or-loader-v3/index.js';
|
|
@@ -20,13 +20,13 @@ import '../or-menu-item-v3/index.js';
|
|
|
20
20
|
import '../or-tooltip-v3/index.js';
|
|
21
21
|
import '../or-tag-input-v3/index.js';
|
|
22
22
|
import '../or-tags-v3/index.js';
|
|
23
|
-
import '../
|
|
23
|
+
import '../OrButtonV3-a83254fb.js';
|
|
24
|
+
import '../or-tag-v3/index.js';
|
|
25
|
+
import '../or-menu-v3/index.js';
|
|
24
26
|
import '@floating-ui/dom';
|
|
25
27
|
import '../or-bottom-sheet-v3/index.js';
|
|
26
28
|
import '../or-overlay-v3/index.js';
|
|
27
29
|
import '../or-teleport-v3/index.js';
|
|
28
|
-
import '../or-tag-v3/index.js';
|
|
29
|
-
import '../or-menu-v3/index.js';
|
|
30
30
|
|
|
31
31
|
const DateRangePicker = [
|
|
32
32
|
// Layout
|
|
@@ -55,7 +55,7 @@ var script = defineComponent({
|
|
|
55
55
|
OrPopover: script$d
|
|
56
56
|
},
|
|
57
57
|
directives: {
|
|
58
|
-
DropdownClose:
|
|
58
|
+
DropdownClose: a,
|
|
59
59
|
DropdownOpen: c
|
|
60
60
|
},
|
|
61
61
|
model: {
|
|
@@ -139,8 +139,8 @@ var script = defineComponent({
|
|
|
139
139
|
});
|
|
140
140
|
const popoverStyles = computed(() => ['or-date-range-picker-popover-v3', ...DateRangePickerPopover]);
|
|
141
141
|
// Options
|
|
142
|
-
const resolvedFormat =
|
|
143
|
-
const resolvedLocale =
|
|
142
|
+
const resolvedFormat = _(toRef(props, 'format'));
|
|
143
|
+
const resolvedLocale = K(toRef(props, 'locale'));
|
|
144
144
|
// State
|
|
145
145
|
const initialValueFrom = ref((_b = (_a = props.modelValue) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : getCurrentDate());
|
|
146
146
|
const initialValueTo = ref((_d = (_c = props.modelValue) === null || _c === void 0 ? void 0 : _c[1]) !== null && _d !== void 0 ? _d : getNextMonthDate());
|
|
@@ -149,7 +149,7 @@ var script = defineComponent({
|
|
|
149
149
|
initialValueFrom.value = (_a = value === null || value === void 0 ? void 0 : value[0]) !== null && _a !== void 0 ? _a : getCurrentDate();
|
|
150
150
|
initialValueTo.value = (_b = value === null || value === void 0 ? void 0 : value[1]) !== null && _b !== void 0 ? _b : getNextMonthDate();
|
|
151
151
|
});
|
|
152
|
-
const model =
|
|
152
|
+
const model = ee(toRef(props, 'modelValue'), context.emit);
|
|
153
153
|
const draft = ref(model.value);
|
|
154
154
|
watch(model, value => {
|
|
155
155
|
draft.value = value;
|
|
@@ -227,7 +227,7 @@ var script = defineComponent({
|
|
|
227
227
|
const {
|
|
228
228
|
isDesktop,
|
|
229
229
|
isMobile
|
|
230
|
-
} =
|
|
230
|
+
} = te();
|
|
231
231
|
return {
|
|
232
232
|
root,
|
|
233
233
|
rootStyles,
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import { f as formatDate, k as formatTime } from '../OrDateTimePickerV3-
|
|
2
|
+
import { _, n as ne, K } from '../OrAutocompleteV3-ab3c83bc.js';
|
|
3
|
+
import { f as formatDate, k as formatTime } from '../OrDateTimePickerV3-68c0e2c8.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
6
6
|
import '@onereach/styles/tailwind.config.json';
|
|
7
7
|
import '../or-error-v3/index.js';
|
|
8
8
|
import '../or-hint-v3/index.js';
|
|
9
9
|
import '../or-icon-button-v3/index.js';
|
|
10
|
+
import '../OrButtonV3-a83254fb.js';
|
|
11
|
+
import '../or-loader-v3/index.js';
|
|
10
12
|
import '../or-icon-v3/index.js';
|
|
11
13
|
import '../or-tooltip-v3/index.js';
|
|
12
14
|
import '../or-popover-v3/index.js';
|
|
@@ -16,15 +18,13 @@ import '../or-overlay-v3/index.js';
|
|
|
16
18
|
import '../or-teleport-v3/index.js';
|
|
17
19
|
import '../or-input-box-v3/index.js';
|
|
18
20
|
import '../or-input-v3/index.js';
|
|
19
|
-
import '../OrInlineInputV3-
|
|
21
|
+
import '../OrInlineInputV3-6593cb76.js';
|
|
20
22
|
import '../or-inline-input-box-v3/index.js';
|
|
21
23
|
import '../or-text-v3/index.js';
|
|
22
24
|
import '../or-label-v3/index.js';
|
|
23
|
-
import '../or-loader-v3/index.js';
|
|
24
25
|
import '../or-menu-item-v3/index.js';
|
|
25
26
|
import '../or-tag-input-v3/index.js';
|
|
26
27
|
import '../or-tags-v3/index.js';
|
|
27
|
-
import '../or-button-v3/index.js';
|
|
28
28
|
import '../or-tag-v3/index.js';
|
|
29
29
|
import '../or-menu-v3/index.js';
|
|
30
30
|
|
|
@@ -66,9 +66,9 @@ var script = defineComponent({
|
|
|
66
66
|
const root = ref();
|
|
67
67
|
const rootStyles = computed(() => ['or-date-time-format-v3', ...DateTimeFormat]);
|
|
68
68
|
// Options
|
|
69
|
-
const resolvedDateFormat =
|
|
70
|
-
const resolvedTimeFormat =
|
|
71
|
-
const resolvedLocale =
|
|
69
|
+
const resolvedDateFormat = _(toRef(props, 'dateFormat'));
|
|
70
|
+
const resolvedTimeFormat = ne(toRef(props, 'timeFormat'));
|
|
71
|
+
const resolvedLocale = K(toRef(props, 'locale'));
|
|
72
72
|
return {
|
|
73
73
|
root,
|
|
74
74
|
rootStyles,
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
export { a as OrDateTimePickerDateControl, b as OrDateTimePickerDateSelect, c as OrDateTimePickerMobileControl, d as OrDateTimePickerMonthSelect, e as OrDateTimePickerPopoverFooter, g as OrDateTimePickerPopoverHeader, l as OrDateTimePickerTimeControl, m as OrDateTimePickerTimeSelect, s as OrDateTimePickerV3, f as formatDate, i as formatMobileDate, n as formatMobileTime, k as formatTime, h as getCurrentDate, j as getNextMonthDate, o as scrollToElementWithinContainer } from '../OrDateTimePickerV3-
|
|
1
|
+
export { a as OrDateTimePickerDateControl, b as OrDateTimePickerDateSelect, c as OrDateTimePickerMobileControl, d as OrDateTimePickerMonthSelect, e as OrDateTimePickerPopoverFooter, g as OrDateTimePickerPopoverHeader, l as OrDateTimePickerTimeControl, m as OrDateTimePickerTimeSelect, s as OrDateTimePickerV3, f as formatDate, i as formatMobileDate, n as formatMobileTime, k as formatTime, h as getCurrentDate, j as getNextMonthDate, o as scrollToElementWithinContainer } from '../OrDateTimePickerV3-68c0e2c8.js';
|
|
2
2
|
import 'vue';
|
|
3
|
-
import '../OrAutocompleteV3-
|
|
3
|
+
import '../OrAutocompleteV3-ab3c83bc.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
6
6
|
import '@onereach/styles/tailwind.config.json';
|
|
7
7
|
import '../or-error-v3/index.js';
|
|
8
8
|
import '../or-hint-v3/index.js';
|
|
9
9
|
import '../or-icon-button-v3/index.js';
|
|
10
|
+
import '../OrButtonV3-a83254fb.js';
|
|
11
|
+
import '../or-loader-v3/index.js';
|
|
10
12
|
import '../or-icon-v3/index.js';
|
|
11
13
|
import '../or-tooltip-v3/index.js';
|
|
12
14
|
import '../or-popover-v3/index.js';
|
|
@@ -16,14 +18,12 @@ import '../or-overlay-v3/index.js';
|
|
|
16
18
|
import '../or-teleport-v3/index.js';
|
|
17
19
|
import '../or-input-box-v3/index.js';
|
|
18
20
|
import '../or-input-v3/index.js';
|
|
19
|
-
import '../OrInlineInputV3-
|
|
21
|
+
import '../OrInlineInputV3-6593cb76.js';
|
|
20
22
|
import '../or-inline-input-box-v3/index.js';
|
|
21
23
|
import '../or-text-v3/index.js';
|
|
22
24
|
import '../or-label-v3/index.js';
|
|
23
|
-
import '../or-loader-v3/index.js';
|
|
24
25
|
import '../or-menu-item-v3/index.js';
|
|
25
26
|
import '../or-tag-input-v3/index.js';
|
|
26
27
|
import '../or-tags-v3/index.js';
|
|
27
|
-
import '../or-button-v3/index.js';
|
|
28
28
|
import '../or-tag-v3/index.js';
|
|
29
29
|
import '../or-menu-v3/index.js';
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createCommentVNode } from 'vue';
|
|
2
2
|
import { onClickOutside, useSwipe, SwipeDirection } from '@vueuse/core';
|
|
3
|
-
import {
|
|
3
|
+
import { X } from '../OrAutocompleteV3-ab3c83bc.js';
|
|
4
4
|
import { OrOverlayV3 as script$1 } from '../or-overlay-v3/index.js';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
6
6
|
import '@onereach/styles/tailwind.config.json';
|
|
7
7
|
import '../or-error-v3/index.js';
|
|
8
8
|
import '../or-hint-v3/index.js';
|
|
9
9
|
import '../or-icon-button-v3/index.js';
|
|
10
|
+
import '../OrButtonV3-a83254fb.js';
|
|
11
|
+
import '../or-loader-v3/index.js';
|
|
10
12
|
import '../or-icon-v3/index.js';
|
|
11
13
|
import '../or-tooltip-v3/index.js';
|
|
12
14
|
import '../or-popover-v3/index.js';
|
|
@@ -15,15 +17,13 @@ import '../or-bottom-sheet-v3/index.js';
|
|
|
15
17
|
import '../or-teleport-v3/index.js';
|
|
16
18
|
import '../or-input-box-v3/index.js';
|
|
17
19
|
import '../or-input-v3/index.js';
|
|
18
|
-
import '../OrInlineInputV3-
|
|
20
|
+
import '../OrInlineInputV3-6593cb76.js';
|
|
19
21
|
import '../or-inline-input-box-v3/index.js';
|
|
20
22
|
import '../or-text-v3/index.js';
|
|
21
23
|
import '../or-label-v3/index.js';
|
|
22
|
-
import '../or-loader-v3/index.js';
|
|
23
24
|
import '../or-menu-item-v3/index.js';
|
|
24
25
|
import '../or-tag-input-v3/index.js';
|
|
25
26
|
import '../or-tags-v3/index.js';
|
|
26
|
-
import '../or-button-v3/index.js';
|
|
27
27
|
import '../or-tag-v3/index.js';
|
|
28
28
|
|
|
29
29
|
var DrawerPlacement;
|
|
@@ -99,7 +99,7 @@ var script = defineComponent({
|
|
|
99
99
|
open,
|
|
100
100
|
close,
|
|
101
101
|
toggle
|
|
102
|
-
} =
|
|
102
|
+
} = X(toRef(props, 'isOpen'), context.emit);
|
|
103
103
|
// eslint-disable-next-line vue/return-in-computed-property
|
|
104
104
|
const transform = computed(() => {
|
|
105
105
|
switch (props.placement) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, renderSlot, Fragment, createTextVNode, createCommentVNode, toDisplayString } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { e as ee, t as te } from '../OrAutocompleteV3-ab3c83bc.js';
|
|
3
3
|
import { OrIconV3 as script$1 } from '../or-icon-v3/index.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
@@ -7,6 +7,8 @@ import '@onereach/styles/tailwind.config.json';
|
|
|
7
7
|
import '../or-error-v3/index.js';
|
|
8
8
|
import '../or-hint-v3/index.js';
|
|
9
9
|
import '../or-icon-button-v3/index.js';
|
|
10
|
+
import '../OrButtonV3-a83254fb.js';
|
|
11
|
+
import '../or-loader-v3/index.js';
|
|
10
12
|
import '../or-tooltip-v3/index.js';
|
|
11
13
|
import '../or-popover-v3/index.js';
|
|
12
14
|
import '@floating-ui/dom';
|
|
@@ -15,15 +17,13 @@ import '../or-overlay-v3/index.js';
|
|
|
15
17
|
import '../or-teleport-v3/index.js';
|
|
16
18
|
import '../or-input-box-v3/index.js';
|
|
17
19
|
import '../or-input-v3/index.js';
|
|
18
|
-
import '../OrInlineInputV3-
|
|
20
|
+
import '../OrInlineInputV3-6593cb76.js';
|
|
19
21
|
import '../or-inline-input-box-v3/index.js';
|
|
20
22
|
import '../or-text-v3/index.js';
|
|
21
23
|
import '../or-label-v3/index.js';
|
|
22
|
-
import '../or-loader-v3/index.js';
|
|
23
24
|
import '../or-menu-item-v3/index.js';
|
|
24
25
|
import '../or-tag-input-v3/index.js';
|
|
25
26
|
import '../or-tags-v3/index.js';
|
|
26
|
-
import '../or-button-v3/index.js';
|
|
27
27
|
import '../or-tag-v3/index.js';
|
|
28
28
|
|
|
29
29
|
var DropAreaSize;
|
|
@@ -161,7 +161,7 @@ var script = defineComponent({
|
|
|
161
161
|
const textEmphasisStyles = computed(() => [...DropAreaTextEmphasis]);
|
|
162
162
|
const constraintsStyles = computed(() => [...DropAreaConstraints]);
|
|
163
163
|
// State
|
|
164
|
-
const proxyModelValue =
|
|
164
|
+
const proxyModelValue = ee(toRef(props, 'modelValue'), context.emit);
|
|
165
165
|
const accept = computed(() => {
|
|
166
166
|
if (!props.fileTypes || !Array.isArray(props.fileTypes)) return '';
|
|
167
167
|
return props.fileTypes.join(',');
|
|
@@ -203,7 +203,7 @@ var script = defineComponent({
|
|
|
203
203
|
const {
|
|
204
204
|
isDesktop,
|
|
205
205
|
isMobile
|
|
206
|
-
} =
|
|
206
|
+
} = te();
|
|
207
207
|
return {
|
|
208
208
|
root,
|
|
209
209
|
rootStyles,
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
export { E as EditorTabsOverflow, s as OrEditorTabsV3 } from '../OrEditorTabsV3-
|
|
1
|
+
export { E as EditorTabsOverflow, s as OrEditorTabsV3 } from '../OrEditorTabsV3-ae6257e1.js';
|
|
2
2
|
import 'vue';
|
|
3
|
-
import '../OrAutocompleteV3-
|
|
3
|
+
import '../OrAutocompleteV3-ab3c83bc.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
6
6
|
import '@onereach/styles/tailwind.config.json';
|
|
7
7
|
import '../or-error-v3/index.js';
|
|
8
8
|
import '../or-hint-v3/index.js';
|
|
9
9
|
import '../or-icon-button-v3/index.js';
|
|
10
|
+
import '../OrButtonV3-a83254fb.js';
|
|
11
|
+
import '../or-loader-v3/index.js';
|
|
10
12
|
import '../or-icon-v3/index.js';
|
|
11
13
|
import '../or-tooltip-v3/index.js';
|
|
12
14
|
import '../or-popover-v3/index.js';
|
|
@@ -16,14 +18,12 @@ import '../or-overlay-v3/index.js';
|
|
|
16
18
|
import '../or-teleport-v3/index.js';
|
|
17
19
|
import '../or-input-box-v3/index.js';
|
|
18
20
|
import '../or-input-v3/index.js';
|
|
19
|
-
import '../OrInlineInputV3-
|
|
21
|
+
import '../OrInlineInputV3-6593cb76.js';
|
|
20
22
|
import '../or-inline-input-box-v3/index.js';
|
|
21
23
|
import '../or-text-v3/index.js';
|
|
22
24
|
import '../or-label-v3/index.js';
|
|
23
|
-
import '../or-loader-v3/index.js';
|
|
24
25
|
import '../or-menu-item-v3/index.js';
|
|
25
26
|
import '../or-tag-input-v3/index.js';
|
|
26
27
|
import '../or-tags-v3/index.js';
|
|
27
|
-
import '../or-button-v3/index.js';
|
|
28
28
|
import '../or-tag-v3/index.js';
|
|
29
29
|
import '../or-menu-v3/index.js';
|