@onereach/ui-components 20.2.0-beta.5174.0 → 20.2.0-beta.5175.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/esm/components/{OrAutocompleteV3-185df151.js → OrAutocompleteV3-8ae7c045.js} +59 -58
- package/dist/esm/components/{OrEditorTabsV3-23f90ea5.js → OrEditorTabsV3-c242d30f.js} +3 -3
- package/dist/esm/components/{OrInlineInputV3-3da7f57b.js → OrInlineInputV3-5e396fd1.js} +5 -5
- package/dist/esm/components/index.js +3 -3
- package/dist/esm/components/or-autocomplete-v3/index.js +2 -2
- package/dist/esm/components/or-avatar-v3/index.js +2 -2
- package/dist/esm/components/or-bottom-sheet-v3/index.js +4 -4
- package/dist/esm/components/or-button-group-v3/index.js +2 -2
- package/dist/esm/components/or-button-v3/index.js +2 -2
- package/dist/esm/components/or-card-collection-v3/index.js +2 -2
- package/dist/esm/components/or-checkbox-group-v3/index.js +3 -3
- package/dist/esm/components/or-checkbox-tree-v3/index.js +3 -3
- package/dist/esm/components/or-checkbox-v3/index.js +5 -5
- package/dist/esm/components/or-code-v3/index.js +7 -7
- package/dist/esm/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/components/or-context-menu-v3/index.js +3 -3
- package/dist/esm/components/or-data-grid-v3/index.js +3 -3
- package/dist/esm/components/or-date-format-v3/index.js +4 -4
- package/dist/esm/components/or-date-picker-v3/index.js +5 -5
- package/dist/esm/components/or-date-range-picker-v3/index.js +6 -6
- package/dist/esm/components/or-date-time-format-v3/index.js +4 -4
- package/dist/esm/components/or-date-time-picker-v3/index.js +12 -12
- package/dist/esm/components/or-drawer-v3/index.js +3 -3
- package/dist/esm/components/or-drop-area-v3/index.js +4 -4
- package/dist/esm/components/or-editor-tabs-v3/index.js +3 -3
- package/dist/esm/components/or-expansion-panel-v3/index.js +3 -3
- package/dist/esm/components/or-fab-v3/index.js +2 -2
- package/dist/esm/components/or-filter-popover-v3/index.js +4 -4
- package/dist/esm/components/or-filter-trigger-v3/index.js +2 -2
- package/dist/esm/components/or-filter-v3/index.js +3 -3
- package/dist/esm/components/or-icon-button-v3/index.js +2 -2
- package/dist/esm/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/components/or-inline-textarea-v3/index.js +6 -6
- package/dist/esm/components/or-input-v3/index.js +7 -7
- package/dist/esm/components/or-list-v3/index.js +3 -3
- package/dist/esm/components/or-menu-item-v3/index.js +2 -2
- package/dist/esm/components/or-menu-v3/index.js +3 -3
- package/dist/esm/components/or-modal-v3/index.js +3 -3
- package/dist/esm/components/or-notification-v3/index.js +2 -2
- package/dist/esm/components/or-overlay-v3/index.js +3 -3
- package/dist/esm/components/or-pagination-v3/index.js +4 -4
- package/dist/esm/components/or-popover-v3/index.js +5 -5
- package/dist/esm/components/or-progress-v3/index.js +3 -3
- package/dist/esm/components/or-radio-group-v3/index.js +3 -3
- package/dist/esm/components/or-radio-v3/index.js +5 -5
- package/dist/esm/components/or-range-slider-v3/index.js +3 -3
- package/dist/esm/components/or-rating-v3/index.js +3 -3
- package/dist/esm/components/or-resizeable-panel-v3/index.js +3 -3
- package/dist/esm/components/or-rich-text-editor-v3/index.js +3 -3
- package/dist/esm/components/or-rich-tooltip-v3/index.js +3 -3
- package/dist/esm/components/or-search-v3/index.js +6 -6
- package/dist/esm/components/or-segmented-control-v3/index.js +3 -3
- package/dist/esm/components/or-select-v3/index.js +8 -8
- package/dist/esm/components/or-sidebar-v3/index.js +3 -3
- package/dist/esm/components/or-skeleton-v3/index.js +2 -2
- package/dist/esm/components/or-slider-v3/index.js +3 -3
- package/dist/esm/components/or-sorting-v3/index.js +3 -3
- package/dist/esm/components/or-switch-v3/index.js +5 -5
- package/dist/esm/components/or-tabs-v3/index.js +3 -3
- package/dist/esm/components/or-tag-input-v3/index.js +7 -7
- package/dist/esm/components/or-tag-v3/index.js +2 -2
- package/dist/esm/components/or-tags-v3/index.js +3 -3
- package/dist/esm/components/or-textarea-v3/index.js +6 -6
- package/dist/esm/components/or-time-format-v3/index.js +3 -3
- package/dist/esm/components/or-time-picker-v3/index.js +4 -4
- package/dist/esm/components/or-time-range-picker-v3/index.js +5 -5
- package/dist/esm/components/or-toast-v3/index.js +3 -3
- package/dist/esm/components/or-tooltip-v3/index.js +3 -3
- package/dist/esm/components/or-tree-v3/index.js +2 -2
- package/dist/esm/index.js +3 -3
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, resolveComponent, openBlock, createBlock, normalizeClass, withCtx, createElementVNode, mergeProps, withModifiers, renderSlot } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { r as re } from '../OrAutocompleteV3-8ae7c045.js';
|
|
3
3
|
import { OrPopoverV3 as script$1, PopoverPlacement } from '../or-popover-v3/index.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
@@ -13,7 +13,7 @@ import '../or-icon-v3/index.js';
|
|
|
13
13
|
import '../or-tooltip-v3/index.js';
|
|
14
14
|
import '../or-input-box-v3/index.js';
|
|
15
15
|
import '../or-input-v3/index.js';
|
|
16
|
-
import '../OrInlineInputV3-
|
|
16
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
17
17
|
import '../or-inline-input-box-v3/index.js';
|
|
18
18
|
import '../or-text-v3/index.js';
|
|
19
19
|
import '../or-label-v3/index.js';
|
|
@@ -77,7 +77,7 @@ var script = defineComponent({
|
|
|
77
77
|
open,
|
|
78
78
|
close,
|
|
79
79
|
toggle
|
|
80
|
-
} =
|
|
80
|
+
} = re(toRef(props, 'isOpen'), context.emit);
|
|
81
81
|
// Handlers
|
|
82
82
|
function onClick(event) {
|
|
83
83
|
const path = event.composedPath();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, renderSlot, resolveComponent, createElementVNode, createVNode, withModifiers, toRef, createBlock, withCtx, mergeProps, createCommentVNode } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { r as re } from '../OrAutocompleteV3-8ae7c045.js';
|
|
3
3
|
import { OrIconButtonV3 as script$4 } from '../or-icon-button-v3/index.js';
|
|
4
4
|
import { OrOverlayV3 as script$5 } from '../or-overlay-v3/index.js';
|
|
5
5
|
import '@vueuse/core';
|
|
@@ -11,7 +11,7 @@ import '../or-error-v3/index.js';
|
|
|
11
11
|
import '../or-hint-v3/index.js';
|
|
12
12
|
import '../or-input-box-v3/index.js';
|
|
13
13
|
import '../or-input-v3/index.js';
|
|
14
|
-
import '../OrInlineInputV3-
|
|
14
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
15
15
|
import '../or-inline-input-box-v3/index.js';
|
|
16
16
|
import '../or-text-v3/index.js';
|
|
17
17
|
import '../or-icon-v3/index.js';
|
|
@@ -202,7 +202,7 @@ var script = defineComponent({
|
|
|
202
202
|
state,
|
|
203
203
|
open,
|
|
204
204
|
close
|
|
205
|
-
} =
|
|
205
|
+
} = re(toRef(props, 'isOpen'), context.emit);
|
|
206
206
|
return {
|
|
207
207
|
root,
|
|
208
208
|
rootStyles,
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, resolveComponent, openBlock, createElem
|
|
|
2
2
|
import { OrIndicatorV3 as script$1, IndicatorColor } from '../or-indicator-v3/index.js';
|
|
3
3
|
import { OrIconButtonV3 as script$2 } from '../or-icon-button-v3/index.js';
|
|
4
4
|
import '../or-icon-v3/index.js';
|
|
5
|
-
import '../OrAutocompleteV3-
|
|
5
|
+
import '../OrAutocompleteV3-8ae7c045.js';
|
|
6
6
|
import '@vueuse/core';
|
|
7
7
|
import '@onereach/styles/screens.json';
|
|
8
8
|
import '@onereach/styles/tailwind.config.json';
|
|
@@ -12,7 +12,7 @@ import '../or-error-v3/index.js';
|
|
|
12
12
|
import '../or-hint-v3/index.js';
|
|
13
13
|
import '../or-input-box-v3/index.js';
|
|
14
14
|
import '../or-input-v3/index.js';
|
|
15
|
-
import '../OrInlineInputV3-
|
|
15
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
16
16
|
import '../or-inline-input-box-v3/index.js';
|
|
17
17
|
import '../or-text-v3/index.js';
|
|
18
18
|
import '../or-label-v3/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, renderSlot } from 'vue';
|
|
2
2
|
import { useScrollLock } from '@vueuse/core';
|
|
3
|
-
import {
|
|
3
|
+
import { N } from '../OrAutocompleteV3-8ae7c045.js';
|
|
4
4
|
import { OrTeleportV3 as script$1 } from '../or-teleport-v3/index.js';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
6
6
|
import '@onereach/styles/tailwind.config.json';
|
|
@@ -17,7 +17,7 @@ import '../or-bottom-sheet-v3/index.js';
|
|
|
17
17
|
import './index.js';
|
|
18
18
|
import '../or-input-box-v3/index.js';
|
|
19
19
|
import '../or-input-v3/index.js';
|
|
20
|
-
import '../OrInlineInputV3-
|
|
20
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
21
21
|
import '../or-inline-input-box-v3/index.js';
|
|
22
22
|
import '../or-text-v3/index.js';
|
|
23
23
|
import '../or-label-v3/index.js';
|
|
@@ -56,7 +56,7 @@ var script = defineComponent({
|
|
|
56
56
|
const rootStyles = computed(() => ['or-overlay-v3', ...Overlay]);
|
|
57
57
|
// Effects
|
|
58
58
|
// #region Elevation
|
|
59
|
-
|
|
59
|
+
N(root);
|
|
60
60
|
// #endregion
|
|
61
61
|
// #region Scroll Lock
|
|
62
62
|
useScrollLock(document.body, true);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createTextVNode, createVNode, withCtx, toDisplayString, Fragment, renderList, createBlock, createCommentVNode } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { n as ne, u as ue } from '../OrAutocompleteV3-8ae7c045.js';
|
|
3
3
|
import { OrButtonV3 as script$1 } from '../or-button-v3/index.js';
|
|
4
4
|
import { OrIconV3 as script$2 } from '../or-icon-v3/index.js';
|
|
5
5
|
import { OrMenuV3 as script$3 } from '../or-menu-v3/index.js';
|
|
@@ -20,7 +20,7 @@ import '../or-overlay-v3/index.js';
|
|
|
20
20
|
import '../or-teleport-v3/index.js';
|
|
21
21
|
import '../or-input-box-v3/index.js';
|
|
22
22
|
import '../or-input-v3/index.js';
|
|
23
|
-
import '../OrInlineInputV3-
|
|
23
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
24
24
|
import '../or-inline-input-box-v3/index.js';
|
|
25
25
|
import '../or-text-v3/index.js';
|
|
26
26
|
import '../or-label-v3/index.js';
|
|
@@ -117,7 +117,7 @@ var script = defineComponent({
|
|
|
117
117
|
const offsetGroupStyles = computed(() => [...PaginationOffsetGroup]);
|
|
118
118
|
const itemStyles = computed(() => [...PaginationItem]);
|
|
119
119
|
// State
|
|
120
|
-
const model =
|
|
120
|
+
const model = ne(toRef(props, 'modelValue'), context.emit);
|
|
121
121
|
const currentLimit = computed({
|
|
122
122
|
get: () => {
|
|
123
123
|
var _a, _b;
|
|
@@ -196,7 +196,7 @@ var script = defineComponent({
|
|
|
196
196
|
const {
|
|
197
197
|
isDesktop,
|
|
198
198
|
isMobile
|
|
199
|
-
} =
|
|
199
|
+
} = ue();
|
|
200
200
|
return {
|
|
201
201
|
root,
|
|
202
202
|
rootStyles,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p,
|
|
1
|
+
import { p, r as re, u as ue, N } from '../OrAutocompleteV3-8ae7c045.js';
|
|
2
2
|
import { computed, unref, ref, shallowRef, watch, getCurrentScope, onScopeDispose, shallowReadonly, defineComponent, toRefs, toRef, resolveComponent, openBlock, createBlock, withCtx, withDirectives, createElementVNode, createElementBlock, mergeProps, renderSlot, normalizeClass, vShow, createCommentVNode } from 'vue';
|
|
3
3
|
import { computePosition, offset, shift, flip, hide, size, autoUpdate } from '@floating-ui/dom';
|
|
4
4
|
import { onClickOutside } from '@vueuse/core';
|
|
@@ -16,7 +16,7 @@ import '../or-tooltip-v3/index.js';
|
|
|
16
16
|
import './index.js';
|
|
17
17
|
import '../or-input-box-v3/index.js';
|
|
18
18
|
import '../or-input-v3/index.js';
|
|
19
|
-
import '../OrInlineInputV3-
|
|
19
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
20
20
|
import '../or-inline-input-box-v3/index.js';
|
|
21
21
|
import '../or-text-v3/index.js';
|
|
22
22
|
import '../or-label-v3/index.js';
|
|
@@ -338,7 +338,7 @@ var script = defineComponent({
|
|
|
338
338
|
open,
|
|
339
339
|
close,
|
|
340
340
|
toggle
|
|
341
|
-
} =
|
|
341
|
+
} = re(toRef(props, 'isOpen'), context.emit);
|
|
342
342
|
const {
|
|
343
343
|
floatingStyles,
|
|
344
344
|
middlewareData,
|
|
@@ -374,9 +374,9 @@ var script = defineComponent({
|
|
|
374
374
|
const {
|
|
375
375
|
isDesktop,
|
|
376
376
|
isMobile
|
|
377
|
-
} =
|
|
377
|
+
} = ue(containerRoot);
|
|
378
378
|
// #region Elevation
|
|
379
|
-
|
|
379
|
+
N(root, state);
|
|
380
380
|
// #endregion
|
|
381
381
|
// #region Click Outside
|
|
382
382
|
onClickOutside(root, event => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, useSlots, computed, openBlock, createElementBlock, normalizeClass, Fragment, renderSlot, createElementVNode, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
2
2
|
import { useElementBounding } from '@vueuse/core';
|
|
3
3
|
import round from 'lodash/round';
|
|
4
|
-
import {
|
|
4
|
+
import { u as ue } from '../OrAutocompleteV3-8ae7c045.js';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
6
6
|
import '@onereach/styles/tailwind.config.json';
|
|
7
7
|
import 'lodash/get';
|
|
@@ -18,7 +18,7 @@ import '../or-overlay-v3/index.js';
|
|
|
18
18
|
import '../or-teleport-v3/index.js';
|
|
19
19
|
import '../or-input-box-v3/index.js';
|
|
20
20
|
import '../or-input-v3/index.js';
|
|
21
|
-
import '../OrInlineInputV3-
|
|
21
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
22
22
|
import '../or-inline-input-box-v3/index.js';
|
|
23
23
|
import '../or-text-v3/index.js';
|
|
24
24
|
import '../or-label-v3/index.js';
|
|
@@ -205,7 +205,7 @@ var script = defineComponent({
|
|
|
205
205
|
// Helpers
|
|
206
206
|
const {
|
|
207
207
|
isMobile
|
|
208
|
-
} =
|
|
208
|
+
} = ue();
|
|
209
209
|
return {
|
|
210
210
|
root,
|
|
211
211
|
rootStyles,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, toRef, resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementBlock, Fragment, renderList } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { n as ne } from '../OrAutocompleteV3-8ae7c045.js';
|
|
3
3
|
import { OrFormGroupV3 as script$1, FormGroupDirection } from '../or-form-group-v3/index.js';
|
|
4
4
|
import { OrRadioV3 as script$2 } from '../or-radio-v3/index.js';
|
|
5
5
|
import '@vueuse/core';
|
|
@@ -19,7 +19,7 @@ import '../or-overlay-v3/index.js';
|
|
|
19
19
|
import '../or-teleport-v3/index.js';
|
|
20
20
|
import '../or-input-box-v3/index.js';
|
|
21
21
|
import '../or-input-v3/index.js';
|
|
22
|
-
import '../OrInlineInputV3-
|
|
22
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
23
23
|
import '../or-inline-input-box-v3/index.js';
|
|
24
24
|
import '../or-text-v3/index.js';
|
|
25
25
|
import '../or-label-v3/index.js';
|
|
@@ -77,7 +77,7 @@ var script = defineComponent({
|
|
|
77
77
|
emits: ['update:modelValue'],
|
|
78
78
|
setup(props, context) {
|
|
79
79
|
// State
|
|
80
|
-
const proxyModelValue =
|
|
80
|
+
const proxyModelValue = ne(toRef(props, 'modelValue'), context.emit);
|
|
81
81
|
return {
|
|
82
82
|
proxyModelValue
|
|
83
83
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, computed, toRef, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, mergeProps, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
2
|
-
import { s as styleInject } from '../OrInlineInputV3-
|
|
3
|
-
import {
|
|
2
|
+
import { s as styleInject } from '../OrInlineInputV3-5e396fd1.js';
|
|
3
|
+
import { b as X, G, n as ne } from '../OrAutocompleteV3-8ae7c045.js';
|
|
4
4
|
import { OrLabelV3 as script$1, LabelVariant } from '../or-label-v3/index.js';
|
|
5
5
|
import '../or-inline-input-box-v3/index.js';
|
|
6
6
|
import '../or-error-v3/index.js';
|
|
@@ -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: X(),
|
|
113
|
+
...G()
|
|
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(() => [...RadioControl, ...RadioControlHandle]);
|
|
120
120
|
// State
|
|
121
|
-
const model =
|
|
121
|
+
const model = ne(toRef(props, 'modelValue'), context.emit);
|
|
122
122
|
const checked = computed(() => {
|
|
123
123
|
return model.value === props.value;
|
|
124
124
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createVNode, mergeProps, withCtx, renderSlot, createTextVNode, toDisplayString, Fragment, renderList, createCommentVNode } from 'vue';
|
|
2
2
|
import { useElementBounding, useElementHover, useDraggable, clamp } from '@vueuse/core';
|
|
3
|
-
import {
|
|
3
|
+
import { n as ne } from '../OrAutocompleteV3-8ae7c045.js';
|
|
4
4
|
import { SliderOrientation, SliderColor } from '../or-slider-v3/index.js';
|
|
5
5
|
import { OrTooltipV3 as script$1 } from '../or-tooltip-v3/index.js';
|
|
6
6
|
import '@onereach/styles/screens.json';
|
|
@@ -13,7 +13,7 @@ import '../or-icon-button-v3/index.js';
|
|
|
13
13
|
import '../or-icon-v3/index.js';
|
|
14
14
|
import '../or-input-box-v3/index.js';
|
|
15
15
|
import '../or-input-v3/index.js';
|
|
16
|
-
import '../OrInlineInputV3-
|
|
16
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
17
17
|
import '../or-inline-input-box-v3/index.js';
|
|
18
18
|
import '../or-text-v3/index.js';
|
|
19
19
|
import '../or-label-v3/index.js';
|
|
@@ -322,7 +322,7 @@ var script = defineComponent({
|
|
|
322
322
|
const labelStyles = computed(() => [...RangeSliderLabel, ...RangeSliderLabelOrientations[props.orientation]]);
|
|
323
323
|
const labelMarkStyles = computed(() => [...RangeSliderLabelMark, ...RangeSliderLabelMarkOrientations[props.orientation]]);
|
|
324
324
|
// State
|
|
325
|
-
const proxyModelValue =
|
|
325
|
+
const proxyModelValue = ne(toRef(props, 'modelValue'), context.emit, {
|
|
326
326
|
defaultValue: computed(() => [props.minValue, props.maxValue])
|
|
327
327
|
});
|
|
328
328
|
watch(proxyModelValue, ([a, b]) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, inject, toRef, watch, reactive, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createVNode } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { n as ne } from '../OrAutocompleteV3-8ae7c045.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';
|
|
@@ -17,7 +17,7 @@ import '../or-overlay-v3/index.js';
|
|
|
17
17
|
import '../or-teleport-v3/index.js';
|
|
18
18
|
import '../or-input-box-v3/index.js';
|
|
19
19
|
import '../or-input-v3/index.js';
|
|
20
|
-
import '../OrInlineInputV3-
|
|
20
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
21
21
|
import '../or-inline-input-box-v3/index.js';
|
|
22
22
|
import '../or-text-v3/index.js';
|
|
23
23
|
import '../or-label-v3/index.js';
|
|
@@ -95,7 +95,7 @@ var script = defineComponent({
|
|
|
95
95
|
// Options
|
|
96
96
|
const length = inject(RATING_LENGTH, 5);
|
|
97
97
|
// State
|
|
98
|
-
const model =
|
|
98
|
+
const model = ne(toRef(props, 'modelValue'), context.emit, {
|
|
99
99
|
defaultValue: ref(0)
|
|
100
100
|
});
|
|
101
101
|
const draft = ref(model.value);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createElementVNode, createVNode, createCommentVNode } from 'vue';
|
|
2
2
|
import { useDraggable } from '@vueuse/core';
|
|
3
|
-
import {
|
|
3
|
+
import { r as re } from '../OrAutocompleteV3-8ae7c045.js';
|
|
4
4
|
import { OrIconButtonV3 as script$1 } from '../or-icon-button-v3/index.js';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
6
6
|
import '@onereach/styles/tailwind.config.json';
|
|
@@ -10,7 +10,7 @@ import '../or-error-v3/index.js';
|
|
|
10
10
|
import '../or-hint-v3/index.js';
|
|
11
11
|
import '../or-input-box-v3/index.js';
|
|
12
12
|
import '../or-input-v3/index.js';
|
|
13
|
-
import '../OrInlineInputV3-
|
|
13
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
14
14
|
import '../or-inline-input-box-v3/index.js';
|
|
15
15
|
import '../or-text-v3/index.js';
|
|
16
16
|
import '../or-icon-v3/index.js';
|
|
@@ -264,7 +264,7 @@ var script = defineComponent({
|
|
|
264
264
|
open,
|
|
265
265
|
close,
|
|
266
266
|
toggle
|
|
267
|
-
} =
|
|
267
|
+
} = re(toRef(props, 'isOpen'), context.emit);
|
|
268
268
|
const collapseButtonIcon = computed(() => {
|
|
269
269
|
if (state.value === 'open') {
|
|
270
270
|
switch (props.placement) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, shallowRef, ref, onMounted, onBeforeUnmount, computed, watch, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, createElementVNode, Fragment, renderList, withDirectives, vShow, vModelText } from 'vue';
|
|
2
|
-
import { s as styleInject } from '../OrInlineInputV3-
|
|
2
|
+
import { s as styleInject } from '../OrInlineInputV3-5e396fd1.js';
|
|
3
3
|
import { Node, Editor, mergeAttributes } from '@tiptap/core';
|
|
4
4
|
import Blockquote from '@tiptap/extension-blockquote';
|
|
5
5
|
import BulletList from '@tiptap/extension-bullet-list';
|
|
@@ -13,7 +13,7 @@ import Underline from '@tiptap/extension-underline';
|
|
|
13
13
|
import StarterKit from '@tiptap/starter-kit';
|
|
14
14
|
import { useResizeObserver, useDebounceFn, onClickOutside } from '@vueuse/core';
|
|
15
15
|
import { useFocusTrap } from '@vueuse/integrations/useFocusTrap';
|
|
16
|
-
import {
|
|
16
|
+
import { s as se, e } from '../OrAutocompleteV3-8ae7c045.js';
|
|
17
17
|
import { TextSelection, Selection } from 'prosemirror-state';
|
|
18
18
|
import { exitCode } from 'prosemirror-commands';
|
|
19
19
|
import { EditorState } from '@codemirror/state';
|
|
@@ -128,7 +128,7 @@ const RichTextEditorControl = [
|
|
|
128
128
|
'h-full'];
|
|
129
129
|
|
|
130
130
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
131
|
-
const themes =
|
|
131
|
+
const themes = se();
|
|
132
132
|
const chalky = themes === null || themes === void 0 ? void 0 : themes.backgroundColor['custom-colors-custom-6'],
|
|
133
133
|
coral = themes === null || themes === void 0 ? void 0 : themes.backgroundColor['custom-colors-custom-1'],
|
|
134
134
|
cyan = themes === null || themes === void 0 ? void 0 : themes.backgroundColor['custom-colors-custom-3'],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, withCtx, createCommentVNode } from 'vue';
|
|
2
2
|
import { useElementHover } from '@vueuse/core';
|
|
3
|
-
import {
|
|
3
|
+
import { r as re } from '../OrAutocompleteV3-8ae7c045.js';
|
|
4
4
|
import { OrPopoverV3 as script$1, PopoverPlacement } from '../or-popover-v3/index.js';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
6
6
|
import '@onereach/styles/tailwind.config.json';
|
|
@@ -13,7 +13,7 @@ import '../or-icon-v3/index.js';
|
|
|
13
13
|
import '../or-tooltip-v3/index.js';
|
|
14
14
|
import '../or-input-box-v3/index.js';
|
|
15
15
|
import '../or-input-v3/index.js';
|
|
16
|
-
import '../OrInlineInputV3-
|
|
16
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
17
17
|
import '../or-inline-input-box-v3/index.js';
|
|
18
18
|
import '../or-text-v3/index.js';
|
|
19
19
|
import '../or-label-v3/index.js';
|
|
@@ -104,7 +104,7 @@ var script = defineComponent({
|
|
|
104
104
|
open,
|
|
105
105
|
close,
|
|
106
106
|
toggle
|
|
107
|
-
} =
|
|
107
|
+
} = re(ref(false), context.emit);
|
|
108
108
|
const rootHover = useElementHover(root, {
|
|
109
109
|
delayEnter: 250,
|
|
110
110
|
delayLeave: 1500
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, computed, toRef, watch, resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
|
|
2
2
|
import { watchDebounced } from '@vueuse/core';
|
|
3
|
-
import {
|
|
3
|
+
import { b as X, G, l as le, n as ne } from '../OrAutocompleteV3-8ae7c045.js';
|
|
4
4
|
import { OrInputV3 as script$1 } from '../or-input-v3/index.js';
|
|
5
5
|
import { InputBoxVariant } from '../or-input-box-v3/index.js';
|
|
6
6
|
import '@onereach/styles/screens.json';
|
|
@@ -17,7 +17,7 @@ import '@floating-ui/dom';
|
|
|
17
17
|
import '../or-bottom-sheet-v3/index.js';
|
|
18
18
|
import '../or-overlay-v3/index.js';
|
|
19
19
|
import '../or-teleport-v3/index.js';
|
|
20
|
-
import '../OrInlineInputV3-
|
|
20
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
21
21
|
import '../or-inline-input-box-v3/index.js';
|
|
22
22
|
import '../or-text-v3/index.js';
|
|
23
23
|
import '../or-label-v3/index.js';
|
|
@@ -63,15 +63,15 @@ var script = defineComponent({
|
|
|
63
63
|
expose: ['root', 'clear', 'focus', 'blur'],
|
|
64
64
|
setup(props, context) {
|
|
65
65
|
const controlAttributes = reactive({
|
|
66
|
-
id:
|
|
67
|
-
...
|
|
68
|
-
...
|
|
66
|
+
id: X(),
|
|
67
|
+
...G(),
|
|
68
|
+
...le()
|
|
69
69
|
});
|
|
70
70
|
// Refs & Styles
|
|
71
71
|
const root = ref();
|
|
72
72
|
const rootStyles = computed(() => ['or-search-v3', ...(props.variant === InputBoxVariant.Embedded ? ['grow'] : [])]);
|
|
73
73
|
// State
|
|
74
|
-
const model =
|
|
74
|
+
const model = ne(toRef(props, 'modelValue'), context.emit);
|
|
75
75
|
const draft = ref(props.modelValue);
|
|
76
76
|
watch(model, value => {
|
|
77
77
|
draft.value = value;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, toRef, resolveComponent, Fragment, renderList, createBlock, withModifiers, withCtx, createTextVNode, toDisplayString } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { n as ne } from '../OrAutocompleteV3-8ae7c045.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import '@onereach/styles/screens.json';
|
|
5
5
|
import '@onereach/styles/tailwind.config.json';
|
|
@@ -17,7 +17,7 @@ import '../or-overlay-v3/index.js';
|
|
|
17
17
|
import '../or-teleport-v3/index.js';
|
|
18
18
|
import '../or-input-box-v3/index.js';
|
|
19
19
|
import '../or-input-v3/index.js';
|
|
20
|
-
import '../OrInlineInputV3-
|
|
20
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
21
21
|
import '../or-inline-input-box-v3/index.js';
|
|
22
22
|
import '../or-text-v3/index.js';
|
|
23
23
|
import '../or-label-v3/index.js';
|
|
@@ -162,7 +162,7 @@ var script = defineComponent({
|
|
|
162
162
|
// Styles
|
|
163
163
|
const rootStyles = computed(() => ['or-segmented-control-v3', ...SegmentedControlRoot, ...SegmentedControlRootSizes[props.size]]);
|
|
164
164
|
// State
|
|
165
|
-
const proxyModelValue =
|
|
165
|
+
const proxyModelValue = ne(toRef(props, 'modelValue'), context.emit);
|
|
166
166
|
return {
|
|
167
167
|
root,
|
|
168
168
|
rootStyles,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, toRefs, computed, withDirectives, openBlock, createElementBlock, normalizeStyle, normalizeClass, vModelDynamic, renderSlot, watch, resolveComponent, createVNode, createSlots, withCtx, createTextVNode, toDisplayString, createElementVNode, vShow, createBlock, createCommentVNode, Fragment, getCurrentInstance, resolveDirective, withModifiers, renderList } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import { l } from '../OrEditorTabsV3-
|
|
2
|
+
import { n as ne, T, F as Fs, q as d, y as ys, g as s, h as c, u as ue, $ as $s, d as ds } from '../OrAutocompleteV3-8ae7c045.js';
|
|
3
|
+
import { l } from '../OrEditorTabsV3-c242d30f.js';
|
|
4
4
|
import { useFocus } from '@vueuse/core';
|
|
5
5
|
import { OrTagsV3 as script$5, TagsOverflow } from '../or-tags-v3/index.js';
|
|
6
6
|
import { OrTooltipV3 as script$6 } from '../or-tooltip-v3/index.js';
|
|
@@ -21,7 +21,7 @@ import '@onereach/styles/tailwind.config.json';
|
|
|
21
21
|
import 'lodash/get';
|
|
22
22
|
import 'lodash/isElement';
|
|
23
23
|
import '../or-tag-input-v3/index.js';
|
|
24
|
-
import '../OrInlineInputV3-
|
|
24
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
25
25
|
import '../or-inline-input-box-v3/index.js';
|
|
26
26
|
import '../or-text-v3/index.js';
|
|
27
27
|
import '../or-tag-v3/index.js';
|
|
@@ -75,7 +75,7 @@ var script$4 = defineComponent({
|
|
|
75
75
|
modelValue
|
|
76
76
|
} = toRefs(props);
|
|
77
77
|
// State
|
|
78
|
-
const proxyModelValue =
|
|
78
|
+
const proxyModelValue = ne(modelValue, context.emit);
|
|
79
79
|
const {
|
|
80
80
|
focused
|
|
81
81
|
} = useFocus(root);
|
|
@@ -232,7 +232,7 @@ var script$2 = defineComponent({
|
|
|
232
232
|
overflow
|
|
233
233
|
} = toRefs(props);
|
|
234
234
|
// State
|
|
235
|
-
const searchModelValue =
|
|
235
|
+
const searchModelValue = ne(modelValue, context.emit);
|
|
236
236
|
const focused = computed(() => {
|
|
237
237
|
var _a;
|
|
238
238
|
return (_a = searchControl.value) === null || _a === void 0 ? void 0 : _a.focused;
|
|
@@ -391,7 +391,7 @@ var script$1 = defineComponent({
|
|
|
391
391
|
options
|
|
392
392
|
} = toRefs(props);
|
|
393
393
|
// State
|
|
394
|
-
const searchModelValue =
|
|
394
|
+
const searchModelValue = ne(modelValue, context.emit);
|
|
395
395
|
const isEmptyModelValue = computed(() => {
|
|
396
396
|
return ys(model.value);
|
|
397
397
|
});
|
|
@@ -697,7 +697,7 @@ var script = defineComponent({
|
|
|
697
697
|
} = toRefs(props);
|
|
698
698
|
// State
|
|
699
699
|
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
700
|
-
const proxyModelValue =
|
|
700
|
+
const proxyModelValue = ne(modelValue, context.emit);
|
|
701
701
|
const bottomSheetFullscreen = computed(() => {
|
|
702
702
|
var _a, _b;
|
|
703
703
|
return (_b = (_a = popover.value) === null || _a === void 0 ? void 0 : _a.bottomSheet) === null || _b === void 0 ? void 0 : _b.fullscreen;
|
|
@@ -827,7 +827,7 @@ var script = defineComponent({
|
|
|
827
827
|
const {
|
|
828
828
|
isDesktop,
|
|
829
829
|
isMobile
|
|
830
|
-
} =
|
|
830
|
+
} = ue();
|
|
831
831
|
return {
|
|
832
832
|
root,
|
|
833
833
|
inputBox,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, resolveComponent, openBlock, createBlock, createSlots, withCtx, createElementVNode, normalizeClass, createElementBlock, renderSlot, createCommentVNode } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { r as re } from '../OrAutocompleteV3-8ae7c045.js';
|
|
3
3
|
import { ResizeablePanelPadding, OrResizeablePanelV3 as script$1 } from '../or-resizeable-panel-v3/index.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
@@ -18,7 +18,7 @@ import '../or-overlay-v3/index.js';
|
|
|
18
18
|
import '../or-teleport-v3/index.js';
|
|
19
19
|
import '../or-input-box-v3/index.js';
|
|
20
20
|
import '../or-input-v3/index.js';
|
|
21
|
-
import '../OrInlineInputV3-
|
|
21
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
22
22
|
import '../or-inline-input-box-v3/index.js';
|
|
23
23
|
import '../or-text-v3/index.js';
|
|
24
24
|
import '../or-label-v3/index.js';
|
|
@@ -145,7 +145,7 @@ var script = defineComponent({
|
|
|
145
145
|
open,
|
|
146
146
|
close,
|
|
147
147
|
toggle
|
|
148
|
-
} =
|
|
148
|
+
} = re(toRef(props, 'isOpen'), context.emit);
|
|
149
149
|
return {
|
|
150
150
|
root,
|
|
151
151
|
rootStyles,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, Fragment, renderList } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { t as hs } from '../OrAutocompleteV3-8ae7c045.js';
|
|
3
3
|
import range from 'lodash/range';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
@@ -18,7 +18,7 @@ import '../or-overlay-v3/index.js';
|
|
|
18
18
|
import '../or-teleport-v3/index.js';
|
|
19
19
|
import '../or-input-box-v3/index.js';
|
|
20
20
|
import '../or-input-v3/index.js';
|
|
21
|
-
import '../OrInlineInputV3-
|
|
21
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
22
22
|
import '../or-inline-input-box-v3/index.js';
|
|
23
23
|
import '../or-text-v3/index.js';
|
|
24
24
|
import '../or-label-v3/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createVNode, mergeProps, withCtx, renderSlot, createTextVNode, toDisplayString, Fragment, renderList, createCommentVNode } from 'vue';
|
|
2
2
|
import { useElementBounding, useElementHover, useDraggable, clamp } from '@vueuse/core';
|
|
3
|
-
import {
|
|
3
|
+
import { n as ne } from '../OrAutocompleteV3-8ae7c045.js';
|
|
4
4
|
import { OrTooltipV3 as script$1 } from '../or-tooltip-v3/index.js';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
6
6
|
import '@onereach/styles/tailwind.config.json';
|
|
@@ -12,7 +12,7 @@ import '../or-icon-button-v3/index.js';
|
|
|
12
12
|
import '../or-icon-v3/index.js';
|
|
13
13
|
import '../or-input-box-v3/index.js';
|
|
14
14
|
import '../or-input-v3/index.js';
|
|
15
|
-
import '../OrInlineInputV3-
|
|
15
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
16
16
|
import '../or-inline-input-box-v3/index.js';
|
|
17
17
|
import '../or-text-v3/index.js';
|
|
18
18
|
import '../or-label-v3/index.js';
|
|
@@ -299,7 +299,7 @@ var script = defineComponent({
|
|
|
299
299
|
const labelStyles = computed(() => [...SliderLabel, ...SliderLabelOrientations[props.orientation]]);
|
|
300
300
|
const labelMarkStyles = computed(() => [...SliderLabelMark, ...SliderLabelMarkOrientations[props.orientation]]);
|
|
301
301
|
// State
|
|
302
|
-
const proxyModelValue =
|
|
302
|
+
const proxyModelValue = ne(toRef(props, 'modelValue'), context.emit, {
|
|
303
303
|
defaultValue: toRef(props, 'minValue')
|
|
304
304
|
});
|
|
305
305
|
const internalModelValue = computed({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createElementVNode, toDisplayString, createBlock, createCommentVNode, Fragment, renderList, createTextVNode } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { n as ne } from '../OrAutocompleteV3-8ae7c045.js';
|
|
3
3
|
import { OrButtonV3 as script$1 } from '../or-button-v3/index.js';
|
|
4
4
|
import { OrIconV3 as script$2 } from '../or-icon-v3/index.js';
|
|
5
5
|
import { OrMenuV3 as script$3 } from '../or-menu-v3/index.js';
|
|
@@ -20,7 +20,7 @@ import '../or-overlay-v3/index.js';
|
|
|
20
20
|
import '../or-teleport-v3/index.js';
|
|
21
21
|
import '../or-input-box-v3/index.js';
|
|
22
22
|
import '../or-input-v3/index.js';
|
|
23
|
-
import '../OrInlineInputV3-
|
|
23
|
+
import '../OrInlineInputV3-5e396fd1.js';
|
|
24
24
|
import '../or-inline-input-box-v3/index.js';
|
|
25
25
|
import '../or-text-v3/index.js';
|
|
26
26
|
import '../or-label-v3/index.js';
|
|
@@ -66,7 +66,7 @@ var script = defineComponent({
|
|
|
66
66
|
const rootStyles = computed(() => ['or-sorting-v3', ...SortingRoot]);
|
|
67
67
|
const sortLabelStyles = computed(() => [...SortingLabel]);
|
|
68
68
|
// State
|
|
69
|
-
const proxyModelValue =
|
|
69
|
+
const proxyModelValue = ne(toRef(props, 'modelValue'), context.emit);
|
|
70
70
|
const sortLabel = computed(() => {
|
|
71
71
|
var _a;
|
|
72
72
|
return (_a = props.options.find(item => item.value === proxyModelValue.value)) === null || _a === void 0 ? void 0 : _a.label;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, computed, toRef, resolveComponent, openBlock, createElementBlock, normalizeClass, mergeProps, createVNode, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
2
|
-
import { s as styleInject } from '../OrInlineInputV3-
|
|
3
|
-
import {
|
|
2
|
+
import { s as styleInject } from '../OrInlineInputV3-5e396fd1.js';
|
|
3
|
+
import { b as X, G, n as ne, e, c as i, $ as $s, d as ds } from '../OrAutocompleteV3-8ae7c045.js';
|
|
4
4
|
import { OrLabelV3 as script$1, LabelVariant } from '../or-label-v3/index.js';
|
|
5
5
|
import { OrLoaderV3 as script$2 } from '../or-loader-v3/index.js';
|
|
6
6
|
import '../or-inline-input-box-v3/index.js';
|
|
@@ -122,8 +122,8 @@ var script = defineComponent({
|
|
|
122
122
|
expose: ['root', 'focus', 'blur'],
|
|
123
123
|
setup(props, context) {
|
|
124
124
|
const attributes = reactive({
|
|
125
|
-
id:
|
|
126
|
-
...
|
|
125
|
+
id: X(),
|
|
126
|
+
...G()
|
|
127
127
|
});
|
|
128
128
|
// Refs & Styles
|
|
129
129
|
const root = ref();
|
|
@@ -132,7 +132,7 @@ var script = defineComponent({
|
|
|
132
132
|
const controlStyles = computed(() => [...SwitchControl, ...SwitchControlHandle]);
|
|
133
133
|
const loaderStyles = computed(() => [...SwitchLoader, ...SwitchLoaderHandle]);
|
|
134
134
|
// State
|
|
135
|
-
const model =
|
|
135
|
+
const model = ne(toRef(props, 'modelValue'), context.emit);
|
|
136
136
|
const checked = computed(() => {
|
|
137
137
|
if (e(model.value)) {
|
|
138
138
|
if (i(props.value)) {
|