@onereach/ui-components-vue2 21.5.0 → 21.5.1
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/{OrDateTimePicker-694dcd3e.js → OrDateTimePicker-77357215.js} +9 -9
- package/dist/esm/{OrDateTimePickerMonthSelect-e139a00a.js → OrDateTimePickerMonthSelect-432edd73.js} +5 -5
- package/dist/esm/{OrDateTimePickerTimeSelect-13163e60.js → OrDateTimePickerTimeSelect-cc819da2.js} +5 -5
- package/dist/esm/components/index.js +6 -6
- package/dist/esm/components/or-autocomplete-v3/index.js +9 -9
- package/dist/esm/components/or-bottom-sheet-v3/index.js +3 -3
- package/dist/esm/components/or-card-collection-v3/index.js +1 -1
- package/dist/esm/components/or-checkbox-group-v3/index.js +3 -3
- package/dist/esm/components/or-checkbox-tree-v3/index.js +2 -2
- package/dist/esm/components/or-checkbox-v3/index.js +4 -4
- package/dist/esm/components/or-code-v3/index.js +6 -6
- package/dist/esm/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/components/or-context-menu-v3/index.js +2 -2
- package/dist/esm/components/or-data-grid-v3/index.js +6 -6
- package/dist/esm/components/or-date-format-v3/index.js +3 -3
- package/dist/esm/components/or-date-picker-v3/index.js +7 -7
- package/dist/esm/components/or-date-range-picker-v3/index.js +8 -8
- package/dist/esm/components/or-date-time-format-v3/index.js +5 -5
- package/dist/esm/components/or-date-time-picker-v3/index.js +6 -6
- package/dist/esm/components/or-drawer-v3/index.js +2 -2
- package/dist/esm/components/or-drop-area-v3/index.js +3 -3
- package/dist/esm/components/or-editor-tabs-v3/index.js +3 -3
- package/dist/esm/components/or-expansion-panel-v3/index.js +2 -2
- package/dist/esm/components/or-filter-popover-v3/index.js +3 -3
- package/dist/esm/components/or-filter-trigger-v3/index.js +1 -1
- package/dist/esm/components/or-filter-v3/index.js +2 -2
- package/dist/esm/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/components/or-inline-input-v3/index.js +5 -5
- package/dist/esm/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/esm/components/or-input-v3/index.js +6 -6
- package/dist/esm/components/or-list-v3/index.js +2 -2
- package/dist/esm/components/or-menu-item-v3/index.js +1 -1
- package/dist/esm/components/or-menu-v3/index.js +2 -2
- package/dist/esm/components/or-modal-v3/index.js +3 -3
- package/dist/esm/components/or-notification-v3/index.js +1 -1
- package/dist/esm/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/components/or-pagination-v3/index.js +3 -3
- package/dist/esm/components/or-popover-v3/index.js +4 -4
- package/dist/esm/components/or-progress-v3/index.js +2 -2
- package/dist/esm/components/or-radio-group-v3/index.js +3 -3
- package/dist/esm/components/or-radio-v3/index.js +4 -4
- package/dist/esm/components/or-range-slider-v3/index.js +2 -2
- package/dist/esm/components/or-rating-v3/index.js +3 -3
- package/dist/esm/components/or-resizeable-panel-v3/index.js +2 -2
- package/dist/esm/components/or-rich-text-editor-v3/index.js +3 -3
- package/dist/esm/components/or-rich-tooltip-v3/index.js +2 -2
- package/dist/esm/components/or-search-v3/index.js +5 -5
- package/dist/esm/components/or-segmented-control-v3/index.js +2 -2
- package/dist/esm/components/or-select-v3/index.js +8 -8
- package/dist/esm/components/or-sidebar-v3/index.js +2 -2
- package/dist/esm/components/or-slider-v3/index.js +2 -2
- package/dist/esm/components/or-sorting-v3/index.js +2 -2
- package/dist/esm/components/or-switch-v3/index.js +4 -4
- package/dist/esm/components/or-tabs-v3/index.js +2 -2
- package/dist/esm/components/or-tag-input-v3/index.js +6 -6
- package/dist/esm/components/or-tag-v3/index.js +1 -1
- package/dist/esm/components/or-tags-v3/index.js +2 -2
- package/dist/esm/components/or-textarea-v3/index.js +5 -5
- package/dist/esm/components/or-time-format-v3/index.js +4 -4
- 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 +2 -2
- package/dist/esm/components/or-tooltip-v3/index.js +2 -2
- package/dist/esm/directives-0869d2a4.js +19 -0
- package/dist/esm/{formatTime-8b7e3477.js → formatTime-df463e40.js} +1 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/{useValidationAttributes-BpeWsfb0-24439d6f.js → useValidationAttributes-C9_kxaDj-ee1d63dd.js} +49 -49
- 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
- package/dist/esm/dropdown-open-k6cFnrqA-5245a281.js +0 -17
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
2
2
|
import { s } from '../../helpers-368c7a99.js';
|
|
3
|
-
import {
|
|
3
|
+
import { e as ee, t as te } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
4
4
|
import { ae as u } from '../../utils-72d9c2bb.js';
|
|
5
5
|
import { a as isVue2 } from '../../constants-2e3ea701.js';
|
|
6
6
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3/index.js';
|
|
@@ -233,7 +233,7 @@ var script = defineComponent({
|
|
|
233
233
|
const contentStyles = computed(() => [...EditorTabsContent]);
|
|
234
234
|
const addButtonStyles = computed(() => [...EditorTabsAddButton]);
|
|
235
235
|
// State
|
|
236
|
-
const proxyModelValue =
|
|
236
|
+
const proxyModelValue = ee(toRef(props, 'modelValue'), context.emit);
|
|
237
237
|
const selectedItem = computed(() => {
|
|
238
238
|
return !u(proxyModelValue.value) ? s(proxyModelValue.value, props.items) : undefined;
|
|
239
239
|
});
|
|
@@ -270,7 +270,7 @@ var script = defineComponent({
|
|
|
270
270
|
const {
|
|
271
271
|
isDesktop,
|
|
272
272
|
isMobile
|
|
273
|
-
} =
|
|
273
|
+
} = te();
|
|
274
274
|
// Effects
|
|
275
275
|
watch(() => props.items, items => {
|
|
276
276
|
if (items.length === 1) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { X } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
3
3
|
import { OrIconV3 as OrIcon } from '../or-icon-v3/index.js';
|
|
4
4
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
5
5
|
import '../../dom-qGGG2YCX-4d4cca6e.js';
|
|
@@ -161,7 +161,7 @@ var script = defineComponent({
|
|
|
161
161
|
open,
|
|
162
162
|
close,
|
|
163
163
|
toggle
|
|
164
|
-
} =
|
|
164
|
+
} = X(toRef(props, 'isOpen'), context.emit);
|
|
165
165
|
return {
|
|
166
166
|
root,
|
|
167
167
|
rootStyles,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import { t as te
|
|
2
|
+
import { X, t as te } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
3
3
|
import { OrButtonV3 as OrButton } from '../or-button-v3/index.js';
|
|
4
4
|
import { OrModalV3 as OrModal } from '../or-modal-v3/index.js';
|
|
5
5
|
import { OrPopoverV3 as OrPopover, PopoverPlacement } from '../or-popover-v3/index.js';
|
|
@@ -105,7 +105,7 @@ var script = defineComponent({
|
|
|
105
105
|
open,
|
|
106
106
|
close,
|
|
107
107
|
toggle
|
|
108
|
-
} =
|
|
108
|
+
} = X(toRef(props, 'isOpen'), context.emit);
|
|
109
109
|
// Methods
|
|
110
110
|
function apply() {
|
|
111
111
|
context.emit('apply');
|
|
@@ -117,7 +117,7 @@ var script = defineComponent({
|
|
|
117
117
|
const {
|
|
118
118
|
isDesktop,
|
|
119
119
|
isMobile
|
|
120
|
-
} =
|
|
120
|
+
} = te();
|
|
121
121
|
return {
|
|
122
122
|
root,
|
|
123
123
|
rootStyles,
|
|
@@ -4,7 +4,7 @@ import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3/index.js';
|
|
|
4
4
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
5
5
|
import '../../constants-2e3ea701.js';
|
|
6
6
|
import '../or-tooltip-v3/index.js';
|
|
7
|
-
import '../../useValidationAttributes-
|
|
7
|
+
import '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
8
8
|
import '../../dom-qGGG2YCX-4d4cca6e.js';
|
|
9
9
|
import '@vueuse/core';
|
|
10
10
|
import '@onereach/styles/screens.json';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { X } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
3
3
|
import { OrFilterPopoverV3 as OrFilterPopover } from '../or-filter-popover-v3/index.js';
|
|
4
4
|
import { OrFilterTriggerV3 as OrFilterTrigger } from '../or-filter-trigger-v3/index.js';
|
|
5
5
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
@@ -63,7 +63,7 @@ var script = defineComponent({
|
|
|
63
63
|
open,
|
|
64
64
|
close,
|
|
65
65
|
toggle
|
|
66
|
-
} =
|
|
66
|
+
} = X(toRef(props, 'isOpen'), context.emit);
|
|
67
67
|
// Methods
|
|
68
68
|
function apply() {
|
|
69
69
|
context.emit('apply');
|
|
@@ -3,7 +3,7 @@ import { i as isVue3 } from '../../constants-2e3ea701.js';
|
|
|
3
3
|
import { OrIconV3 as OrIcon, IconSize, IconVariant } from '../or-icon-v3/index.js';
|
|
4
4
|
import { OrTooltipV3 as OrTooltip } from '../or-tooltip-v3/index.js';
|
|
5
5
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
6
|
-
import '../../useValidationAttributes-
|
|
6
|
+
import '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
7
7
|
import '../../dom-qGGG2YCX-4d4cca6e.js';
|
|
8
8
|
import '@vueuse/core';
|
|
9
9
|
import '@onereach/styles/screens.json';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, computed, toRef, watch, nextTick } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { J, Z, o as oe, e as ee } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
3
3
|
import { InlineInputBoxSize, OrInlineInputBoxV3 as OrInlineInputBox } from '../or-inline-input-box-v3/index.js';
|
|
4
4
|
import { OrErrorV3 as OrError } from '../or-error-v3/index.js';
|
|
5
5
|
import { OrTextV3 as OrText } from '../or-text-v3/index.js';
|
|
@@ -110,9 +110,9 @@ var script = defineComponent({
|
|
|
110
110
|
expose: ['root', 'apply', 'reset', 'focus', 'blur'],
|
|
111
111
|
setup(props, context) {
|
|
112
112
|
const attributes = reactive({
|
|
113
|
-
id:
|
|
114
|
-
...
|
|
115
|
-
...
|
|
113
|
+
id: J(),
|
|
114
|
+
...Z(),
|
|
115
|
+
...oe()
|
|
116
116
|
});
|
|
117
117
|
// Refs & Styles
|
|
118
118
|
const root = ref();
|
|
@@ -121,7 +121,7 @@ var script = defineComponent({
|
|
|
121
121
|
const controlStyles = computed(() => [...InlineInputControl]);
|
|
122
122
|
const actionStyles = computed(() => [...InlineInputAction, ...InlineInputActionSizes[props.size]]);
|
|
123
123
|
// State
|
|
124
|
-
const model =
|
|
124
|
+
const model = ee(toRef(props, 'modelValue'), context.emit);
|
|
125
125
|
const draft = ref(model.value);
|
|
126
126
|
watch(model, value => {
|
|
127
127
|
draft.value = value;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, computed, toRef, watch, nextTick } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { J, Z, o as oe, e as ee } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
3
3
|
import { useTextareaAutosize } from '@vueuse/core';
|
|
4
4
|
import { OrErrorV3 as OrError } from '../or-error-v3/index.js';
|
|
5
5
|
import { OrHintV3 as OrHint } from '../or-hint-v3/index.js';
|
|
@@ -81,9 +81,9 @@ var script = defineComponent({
|
|
|
81
81
|
expose: ['root', 'apply', 'reset', 'focus', 'blur'],
|
|
82
82
|
setup(props, context) {
|
|
83
83
|
const attributes = reactive({
|
|
84
|
-
id:
|
|
85
|
-
...
|
|
86
|
-
...
|
|
84
|
+
id: J(),
|
|
85
|
+
...Z(),
|
|
86
|
+
...oe()
|
|
87
87
|
});
|
|
88
88
|
// Refs & Styles
|
|
89
89
|
const root = ref();
|
|
@@ -92,7 +92,7 @@ var script = defineComponent({
|
|
|
92
92
|
const controlStyles = computed(() => [...InlineTextareaControl]);
|
|
93
93
|
const actionStyles = computed(() => [...InlineTextareaAction]);
|
|
94
94
|
// State
|
|
95
|
-
const model =
|
|
95
|
+
const model = ee(toRef(props, 'modelValue'), context.emit, {
|
|
96
96
|
defaultValue: ref('')
|
|
97
97
|
});
|
|
98
98
|
const draft = ref(model.value);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { J, Z, o as oe, e as ee, t as te } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
3
3
|
import { OrErrorV3 as OrError } from '../or-error-v3/index.js';
|
|
4
4
|
import { OrHintV3 as OrHint } from '../or-hint-v3/index.js';
|
|
5
5
|
import { OrIconV3 as OrIcon } from '../or-icon-v3/index.js';
|
|
@@ -142,9 +142,9 @@ var script = defineComponent({
|
|
|
142
142
|
expose: ['root', 'clear', 'focus', 'blur'],
|
|
143
143
|
setup(props, context) {
|
|
144
144
|
const attributes = reactive({
|
|
145
|
-
id:
|
|
146
|
-
...
|
|
147
|
-
...
|
|
145
|
+
id: J(),
|
|
146
|
+
...Z(),
|
|
147
|
+
...oe()
|
|
148
148
|
});
|
|
149
149
|
// Refs & Styles
|
|
150
150
|
const root = ref();
|
|
@@ -152,7 +152,7 @@ var script = defineComponent({
|
|
|
152
152
|
const control = ref();
|
|
153
153
|
const controlStyles = computed(() => [...InputControl]);
|
|
154
154
|
// State
|
|
155
|
-
const model =
|
|
155
|
+
const model = ee(toRef(props, 'modelValue'), context.emit);
|
|
156
156
|
const disclosed = ref(false);
|
|
157
157
|
const length = computed(() => {
|
|
158
158
|
var _a, _b;
|
|
@@ -176,7 +176,7 @@ var script = defineComponent({
|
|
|
176
176
|
// Helpers
|
|
177
177
|
const {
|
|
178
178
|
isMobile
|
|
179
|
-
} =
|
|
179
|
+
} = te();
|
|
180
180
|
return {
|
|
181
181
|
attributes,
|
|
182
182
|
root,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Sortable from 'sortablejs';
|
|
2
2
|
import { v4 } from 'uuid';
|
|
3
3
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
4
|
-
import {
|
|
4
|
+
import { e as ee } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
5
5
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
6
6
|
import { OrButtonV3 as OrButton } from '../or-button-v3/index.js';
|
|
7
7
|
import { OrIconV3 as OrIcon } from '../or-icon-v3/index.js';
|
|
@@ -187,7 +187,7 @@ var script = defineComponent({
|
|
|
187
187
|
const contentStyles = computed(() => [...ListContent]);
|
|
188
188
|
const footerStyles = computed(() => [...ListFooter]);
|
|
189
189
|
// State
|
|
190
|
-
const model =
|
|
190
|
+
const model = ee(toRef(props, 'modelValue'), context.emit);
|
|
191
191
|
// Effects
|
|
192
192
|
// #region Sortable
|
|
193
193
|
let sortable;
|
|
@@ -5,7 +5,7 @@ import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3/index.js';
|
|
|
5
5
|
import { OrTooltipV3 as OrTooltip } from '../or-tooltip-v3/index.js';
|
|
6
6
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
7
7
|
import '../../constants-2e3ea701.js';
|
|
8
|
-
import '../../useValidationAttributes-
|
|
8
|
+
import '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
9
9
|
import '../../dom-qGGG2YCX-4d4cca6e.js';
|
|
10
10
|
import '@onereach/styles/screens.json';
|
|
11
11
|
import '@onereach/styles/tailwind.config.json';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { X } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
3
3
|
import { OrPopoverV3 as OrPopover, PopoverPlacement } from '../or-popover-v3/index.js';
|
|
4
4
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
5
5
|
import '../../dom-qGGG2YCX-4d4cca6e.js';
|
|
@@ -62,7 +62,7 @@ var script = defineComponent({
|
|
|
62
62
|
open,
|
|
63
63
|
close,
|
|
64
64
|
toggle
|
|
65
|
-
} =
|
|
65
|
+
} = X(toRef(props, 'isOpen'), context.emit);
|
|
66
66
|
// Handlers
|
|
67
67
|
function onClick(event) {
|
|
68
68
|
const path = event.composedPath();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { t as te, X } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
3
3
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
4
4
|
import '../../dom-qGGG2YCX-4d4cca6e.js';
|
|
5
5
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3/index.js';
|
|
@@ -147,7 +147,7 @@ var script$1 = defineComponent({
|
|
|
147
147
|
const root = ref();
|
|
148
148
|
const {
|
|
149
149
|
isMobile
|
|
150
|
-
} =
|
|
150
|
+
} = te();
|
|
151
151
|
// Styles
|
|
152
152
|
const rootStyles = computed(() => ['or-modal-header', ...ModalHeader]);
|
|
153
153
|
return {
|
|
@@ -275,7 +275,7 @@ var script = defineComponent({
|
|
|
275
275
|
state,
|
|
276
276
|
open,
|
|
277
277
|
close
|
|
278
|
-
} =
|
|
278
|
+
} = X(toRef(props, 'isOpen'), context.emit);
|
|
279
279
|
return {
|
|
280
280
|
root,
|
|
281
281
|
rootStyles,
|
|
@@ -5,7 +5,7 @@ import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
|
5
5
|
import '../or-icon-v3/index.js';
|
|
6
6
|
import '../../constants-2e3ea701.js';
|
|
7
7
|
import '../or-tooltip-v3/index.js';
|
|
8
|
-
import '../../useValidationAttributes-
|
|
8
|
+
import '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
9
9
|
import '../../dom-qGGG2YCX-4d4cca6e.js';
|
|
10
10
|
import '@vueuse/core';
|
|
11
11
|
import '@onereach/styles/screens.json';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useScrollLock } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
3
|
-
import {
|
|
3
|
+
import { G } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
4
4
|
import { OrTeleportV3 as OrTeleport } from '../or-teleport-v3/index.js';
|
|
5
5
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
6
6
|
import '../../dom-qGGG2YCX-4d4cca6e.js';
|
|
@@ -36,7 +36,7 @@ var script = defineComponent({
|
|
|
36
36
|
const rootStyles = computed(() => ['or-overlay-v3', ...Overlay]);
|
|
37
37
|
// Effects
|
|
38
38
|
// #region Elevation
|
|
39
|
-
|
|
39
|
+
G(root);
|
|
40
40
|
// #endregion
|
|
41
41
|
// #region Scroll Lock
|
|
42
42
|
useScrollLock(document.body, true);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { e as ee, t as te } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
3
3
|
import { OrButtonV3 as OrButton } from '../or-button-v3/index.js';
|
|
4
4
|
import { OrIconV3 as OrIcon } from '../or-icon-v3/index.js';
|
|
5
5
|
import { OrMenuV3 as OrMenu } from '../or-menu-v3/index.js';
|
|
@@ -110,7 +110,7 @@ var script = defineComponent({
|
|
|
110
110
|
const offsetGroupStyles = computed(() => [...PaginationOffsetGroup]);
|
|
111
111
|
const itemStyles = computed(() => [...PaginationItem]);
|
|
112
112
|
// State
|
|
113
|
-
const model =
|
|
113
|
+
const model = ee(toRef(props, 'modelValue'), context.emit);
|
|
114
114
|
const currentLimit = computed({
|
|
115
115
|
get: () => {
|
|
116
116
|
var _a, _b;
|
|
@@ -189,7 +189,7 @@ var script = defineComponent({
|
|
|
189
189
|
const {
|
|
190
190
|
isDesktop,
|
|
191
191
|
isMobile
|
|
192
|
-
} =
|
|
192
|
+
} = te();
|
|
193
193
|
return {
|
|
194
194
|
root,
|
|
195
195
|
rootStyles,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computePosition, offset, shift, flip, hide, size, autoUpdate } from '@floating-ui/dom';
|
|
2
2
|
import { onClickOutside } from '@vueuse/core';
|
|
3
3
|
import { computed, unref, ref, shallowRef, watch, getCurrentScope, onScopeDispose, shallowReadonly, defineComponent, toRefs, toRef } from 'vue-demi';
|
|
4
|
-
import { t as te,
|
|
4
|
+
import { X, t as te, G } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
5
5
|
import { a9 as p } from '../../utils-72d9c2bb.js';
|
|
6
6
|
import { OrBottomSheetV3 as OrBottomSheet } from '../or-bottom-sheet-v3/index.js';
|
|
7
7
|
import { OrTeleportV3 as OrTeleport } from '../or-teleport-v3/index.js';
|
|
@@ -322,7 +322,7 @@ var script = defineComponent({
|
|
|
322
322
|
open,
|
|
323
323
|
close,
|
|
324
324
|
toggle
|
|
325
|
-
} =
|
|
325
|
+
} = X(toRef(props, 'isOpen'), context.emit);
|
|
326
326
|
const {
|
|
327
327
|
floatingStyles,
|
|
328
328
|
middlewareData,
|
|
@@ -358,9 +358,9 @@ var script = defineComponent({
|
|
|
358
358
|
const {
|
|
359
359
|
isDesktop,
|
|
360
360
|
isMobile
|
|
361
|
-
} =
|
|
361
|
+
} = te(containerRoot);
|
|
362
362
|
// #region Elevation
|
|
363
|
-
|
|
363
|
+
G(root, state);
|
|
364
364
|
// #endregion
|
|
365
365
|
// #region Click Outside
|
|
366
366
|
onClickOutside(root, event => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useElementBounding } from '@vueuse/core';
|
|
2
2
|
import round from 'lodash/round';
|
|
3
3
|
import { defineComponent, ref, useSlots, computed } from 'vue-demi';
|
|
4
|
-
import {
|
|
4
|
+
import { t as te } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
5
5
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
6
6
|
import '../../dom-qGGG2YCX-4d4cca6e.js';
|
|
7
7
|
import '@onereach/styles/screens.json';
|
|
@@ -183,7 +183,7 @@ var script = defineComponent({
|
|
|
183
183
|
// Helpers
|
|
184
184
|
const {
|
|
185
185
|
isMobile
|
|
186
|
-
} =
|
|
186
|
+
} = te();
|
|
187
187
|
return {
|
|
188
188
|
root,
|
|
189
189
|
rootStyles,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, toRef, computed } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { e as ee, t as te } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
3
3
|
import { OrFormGroupV3 as OrFormGroup, FormGroupDirection, FormGroupSpacing } from '../or-form-group-v3/index.js';
|
|
4
4
|
import { OrRadioV3 as OrRadio } from '../or-radio-v3/index.js';
|
|
5
5
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
@@ -63,10 +63,10 @@ var script = defineComponent({
|
|
|
63
63
|
emits: ['update:modelValue'],
|
|
64
64
|
setup(props, context) {
|
|
65
65
|
// State
|
|
66
|
-
const proxyModelValue =
|
|
66
|
+
const proxyModelValue = ee(toRef(props, 'modelValue'), context.emit);
|
|
67
67
|
const {
|
|
68
68
|
isMobile
|
|
69
|
-
} =
|
|
69
|
+
} = te();
|
|
70
70
|
const localSpacing = computed(() => isMobile.value ? FormGroupSpacing.NONE : props.spacing);
|
|
71
71
|
return {
|
|
72
72
|
proxyModelValue,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { J, Z, e as ee } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
3
3
|
import { OrLabelV3 as OrLabel, LabelVariant } from '../or-label-v3/index.js';
|
|
4
4
|
import { s as styleInject } from '../../style-inject.es-87955792.js';
|
|
5
5
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
@@ -89,8 +89,8 @@ var script = defineComponent({
|
|
|
89
89
|
expose: ['root', 'focus', 'blur'],
|
|
90
90
|
setup(props, context) {
|
|
91
91
|
const attributes = reactive({
|
|
92
|
-
id:
|
|
93
|
-
...
|
|
92
|
+
id: J(),
|
|
93
|
+
...Z()
|
|
94
94
|
});
|
|
95
95
|
// Refs & Styles
|
|
96
96
|
const root = ref();
|
|
@@ -98,7 +98,7 @@ var script = defineComponent({
|
|
|
98
98
|
const control = ref();
|
|
99
99
|
const controlStyles = computed(() => [...RadioControl, ...RadioControlHandle]);
|
|
100
100
|
// State
|
|
101
|
-
const model =
|
|
101
|
+
const model = ee(toRef(props, 'modelValue'), context.emit);
|
|
102
102
|
const checked = computed(() => {
|
|
103
103
|
return model.value === props.value;
|
|
104
104
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useElementBounding, useElementHover, useDraggable, clamp } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
3
|
-
import {
|
|
3
|
+
import { e as ee } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
4
4
|
import { a as SliderOrientation, S as SliderColor } from '../../types-75a1cc13.js';
|
|
5
5
|
import { OrTooltipV3 as OrTooltip } from '../or-tooltip-v3/index.js';
|
|
6
6
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
@@ -308,7 +308,7 @@ var script = defineComponent({
|
|
|
308
308
|
const labelStyles = computed(() => [...RangeSliderLabel, ...RangeSliderLabelOrientations[props.orientation]]);
|
|
309
309
|
const labelMarkStyles = computed(() => [...RangeSliderLabelMark, ...RangeSliderLabelMarkOrientations[props.orientation]]);
|
|
310
310
|
// State
|
|
311
|
-
const proxyModelValue =
|
|
311
|
+
const proxyModelValue = ee(toRef(props, 'modelValue'), context.emit, {
|
|
312
312
|
defaultValue: computed(() => [props.minValue, props.maxValue])
|
|
313
313
|
});
|
|
314
314
|
watch(proxyModelValue, ([a, b]) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, inject, toRef, watch, reactive } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { t as te, e as ee } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
3
3
|
import { OrIconV3 as OrIcon } from '../or-icon-v3/index.js';
|
|
4
4
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
5
5
|
import '../../dom-qGGG2YCX-4d4cca6e.js';
|
|
@@ -74,13 +74,13 @@ var script = defineComponent({
|
|
|
74
74
|
const root = ref();
|
|
75
75
|
const {
|
|
76
76
|
isMobile
|
|
77
|
-
} =
|
|
77
|
+
} = te();
|
|
78
78
|
const rootStyles = computed(() => ['or-rating-v3', ...Rating, ...RatingVariants[props.variant]]);
|
|
79
79
|
const starStyles = computed(() => [...RatingStar, ...(props.readonly ? ['interactivity-none'] : []), ...(isMobile.value ? RatingStarMobile : [])]);
|
|
80
80
|
// Options
|
|
81
81
|
const length = inject(RATING_LENGTH, 5);
|
|
82
82
|
// State
|
|
83
|
-
const model =
|
|
83
|
+
const model = ee(toRef(props, 'modelValue'), context.emit, {
|
|
84
84
|
defaultValue: ref(0)
|
|
85
85
|
});
|
|
86
86
|
const draft = ref(model.value);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useDraggable } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
3
|
-
import {
|
|
3
|
+
import { X } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
4
4
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3/index.js';
|
|
5
5
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
6
6
|
import '../../dom-qGGG2YCX-4d4cca6e.js';
|
|
@@ -253,7 +253,7 @@ var script = defineComponent({
|
|
|
253
253
|
open,
|
|
254
254
|
close,
|
|
255
255
|
toggle
|
|
256
|
-
} =
|
|
256
|
+
} = X(toRef(props, 'isOpen'), context.emit);
|
|
257
257
|
const collapseButtonIcon = computed(() => {
|
|
258
258
|
if (state.value === 'open') {
|
|
259
259
|
switch (props.placement) {
|
|
@@ -13,7 +13,7 @@ import { useResizeObserver, useDebounceFn, onClickOutside } from '@vueuse/core';
|
|
|
13
13
|
import { useFocusTrap } from '@vueuse/integrations/useFocusTrap';
|
|
14
14
|
import { defineComponent, shallowRef, ref, onMounted, onBeforeUnmount, computed, watch, nextTick } from 'vue-demi';
|
|
15
15
|
import { aa as c } from '../../utils-72d9c2bb.js';
|
|
16
|
-
import {
|
|
16
|
+
import { a as re, t as te } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
17
17
|
import { TextSelection, Selection } from 'prosemirror-state';
|
|
18
18
|
import { exitCode } from 'prosemirror-commands';
|
|
19
19
|
import { EditorState } from '@codemirror/state';
|
|
@@ -130,7 +130,7 @@ const RichTextEditorControl = [
|
|
|
130
130
|
'h-full'];
|
|
131
131
|
|
|
132
132
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
133
|
-
const themes =
|
|
133
|
+
const themes = re();
|
|
134
134
|
const chalky = themes === null || themes === void 0 ? void 0 : themes.backgroundColor['custom-colors-custom-6'],
|
|
135
135
|
coral = themes === null || themes === void 0 ? void 0 : themes.backgroundColor['custom-colors-custom-1'],
|
|
136
136
|
cyan = themes === null || themes === void 0 ? void 0 : themes.backgroundColor['custom-colors-custom-3'],
|
|
@@ -691,7 +691,7 @@ var script = defineComponent({
|
|
|
691
691
|
const sourceValue = ref('');
|
|
692
692
|
const {
|
|
693
693
|
isMobile
|
|
694
|
-
} =
|
|
694
|
+
} = te();
|
|
695
695
|
let trap = useFocusTrap(controlRef, {
|
|
696
696
|
fallbackFocus: '.container',
|
|
697
697
|
allowOutsideClick: true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useElementHover } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
-
import {
|
|
3
|
+
import { X } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
4
4
|
import { OrPopoverV3 as OrPopover, PopoverPlacement } from '../or-popover-v3/index.js';
|
|
5
5
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
6
6
|
import '../../dom-qGGG2YCX-4d4cca6e.js';
|
|
@@ -89,7 +89,7 @@ var script = defineComponent({
|
|
|
89
89
|
open,
|
|
90
90
|
close,
|
|
91
91
|
toggle
|
|
92
|
-
} =
|
|
92
|
+
} = X(ref(false), context.emit);
|
|
93
93
|
const rootHover = useElementHover(root, {
|
|
94
94
|
delayEnter: 250,
|
|
95
95
|
delayLeave: 1500
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { watchDebounced } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, reactive, ref, computed, toRef, watch } from 'vue-demi';
|
|
3
|
-
import {
|
|
3
|
+
import { J, Z, o as oe, e as ee } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
4
4
|
import { OrInputV3 as OrInput } from '../or-input-v3/index.js';
|
|
5
5
|
import { a as InputBoxVariant } from '../../types-98e9a758.js';
|
|
6
6
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
@@ -60,15 +60,15 @@ var script = defineComponent({
|
|
|
60
60
|
expose: ['root', 'clear', 'focus', 'blur'],
|
|
61
61
|
setup(props, context) {
|
|
62
62
|
const controlAttributes = reactive({
|
|
63
|
-
id:
|
|
64
|
-
...
|
|
65
|
-
...
|
|
63
|
+
id: J(),
|
|
64
|
+
...Z(),
|
|
65
|
+
...oe()
|
|
66
66
|
});
|
|
67
67
|
// Refs & Styles
|
|
68
68
|
const root = ref();
|
|
69
69
|
const rootStyles = computed(() => ['or-search-v3', ...(props.variant === InputBoxVariant.Embedded ? ['grow'] : [])]);
|
|
70
70
|
// State
|
|
71
|
-
const model =
|
|
71
|
+
const model = ee(toRef(props, 'modelValue'), context.emit);
|
|
72
72
|
const draft = ref(props.modelValue);
|
|
73
73
|
watch(model, value => {
|
|
74
74
|
draft.value = value;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { e as ee } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
3
3
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
4
4
|
import '../../dom-qGGG2YCX-4d4cca6e.js';
|
|
5
5
|
import '@vueuse/core';
|
|
@@ -170,7 +170,7 @@ var script = defineComponent({
|
|
|
170
170
|
// Styles
|
|
171
171
|
const rootStyles = computed(() => ['or-segmented-control-v3', ...SegmentedControlRoot, ...SegmentedControlRootSizes[props.size]]);
|
|
172
172
|
// State
|
|
173
|
-
const proxyModelValue =
|
|
173
|
+
const proxyModelValue = ee(toRef(props, 'modelValue'), context.emit);
|
|
174
174
|
return {
|
|
175
175
|
root,
|
|
176
176
|
rootStyles,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, toRefs, computed, watch, getCurrentInstance, nextTick } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { a, c } from '../../directives-0869d2a4.js';
|
|
3
3
|
import { l } from '../../helpers-368c7a99.js';
|
|
4
|
-
import {
|
|
4
|
+
import { e as ee, t as te } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
5
5
|
import { ae as u, an as Ft, ad as d, ac as $t, a8 as Ht, P as Pt } from '../../utils-72d9c2bb.js';
|
|
6
6
|
import { useFocus } from '@vueuse/core';
|
|
7
7
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
@@ -77,7 +77,7 @@ var script$4 = defineComponent({
|
|
|
77
77
|
modelValue
|
|
78
78
|
} = toRefs(props);
|
|
79
79
|
// State
|
|
80
|
-
const proxyModelValue =
|
|
80
|
+
const proxyModelValue = ee(modelValue, context.emit);
|
|
81
81
|
const {
|
|
82
82
|
focused
|
|
83
83
|
} = useFocus(root);
|
|
@@ -302,7 +302,7 @@ var script$2 = defineComponent({
|
|
|
302
302
|
overflow
|
|
303
303
|
} = toRefs(props);
|
|
304
304
|
// State
|
|
305
|
-
const searchModelValue =
|
|
305
|
+
const searchModelValue = ee(modelValue, context.emit);
|
|
306
306
|
const focused = computed(() => {
|
|
307
307
|
var _a;
|
|
308
308
|
return (_a = searchControl.value) === null || _a === void 0 ? void 0 : _a.focused;
|
|
@@ -505,7 +505,7 @@ var script$1 = defineComponent({
|
|
|
505
505
|
options
|
|
506
506
|
} = toRefs(props);
|
|
507
507
|
// State
|
|
508
|
-
const searchModelValue =
|
|
508
|
+
const searchModelValue = ee(modelValue, context.emit);
|
|
509
509
|
const isEmptyModelValue = computed(() => {
|
|
510
510
|
return $t(model.value);
|
|
511
511
|
});
|
|
@@ -719,7 +719,7 @@ var script = defineComponent({
|
|
|
719
719
|
OrLoader
|
|
720
720
|
},
|
|
721
721
|
directives: {
|
|
722
|
-
DropdownClose:
|
|
722
|
+
DropdownClose: a,
|
|
723
723
|
DropdownOpen: c
|
|
724
724
|
},
|
|
725
725
|
model: {
|
|
@@ -847,7 +847,7 @@ var script = defineComponent({
|
|
|
847
847
|
} = toRefs(props);
|
|
848
848
|
// State
|
|
849
849
|
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
850
|
-
const proxyModelValue =
|
|
850
|
+
const proxyModelValue = ee(modelValue, context.emit);
|
|
851
851
|
const bottomSheetFullscreen = computed(() => {
|
|
852
852
|
var _a, _b;
|
|
853
853
|
return (_b = (_a = popover.value) === null || _a === void 0 ? void 0 : _a.bottomSheet) === null || _b === void 0 ? void 0 : _b.fullscreen;
|
|
@@ -987,7 +987,7 @@ var script = defineComponent({
|
|
|
987
987
|
const {
|
|
988
988
|
isDesktop,
|
|
989
989
|
isMobile
|
|
990
|
-
} =
|
|
990
|
+
} = te();
|
|
991
991
|
return {
|
|
992
992
|
root,
|
|
993
993
|
inputBox,
|