@onereach/ui-components 20.2.0-beta.5177.0 → 20.2.0-beta.5191.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.
Files changed (71) hide show
  1. package/dist/esm/components/{OrAutocompleteV3-4ade2c81.js → OrAutocompleteV3-a5edfe9f.js} +47 -47
  2. package/dist/esm/components/{OrEditorTabsV3-e93c64ac.js → OrEditorTabsV3-743f0eb4.js} +3 -3
  3. package/dist/esm/components/{OrInlineInputV3-349eb8ec.js → OrInlineInputV3-e5c2b0c8.js} +5 -5
  4. package/dist/esm/components/index.js +3 -3
  5. package/dist/esm/components/or-autocomplete-v3/index.js +2 -2
  6. package/dist/esm/components/or-avatar-v3/index.js +2 -2
  7. package/dist/esm/components/or-bottom-sheet-v3/index.js +4 -4
  8. package/dist/esm/components/or-button-group-v3/index.js +2 -2
  9. package/dist/esm/components/or-button-v3/index.js +2 -2
  10. package/dist/esm/components/or-card-collection-v3/index.js +2 -2
  11. package/dist/esm/components/or-checkbox-group-v3/index.js +3 -3
  12. package/dist/esm/components/or-checkbox-tree-v3/index.js +3 -3
  13. package/dist/esm/components/or-checkbox-v3/index.js +5 -5
  14. package/dist/esm/components/or-code-v3/index.js +7 -7
  15. package/dist/esm/components/or-confirm-v3/index.js +3 -3
  16. package/dist/esm/components/or-context-menu-v3/index.js +3 -3
  17. package/dist/esm/components/or-data-grid-v3/index.js +3 -3
  18. package/dist/esm/components/or-date-format-v3/index.js +4 -4
  19. package/dist/esm/components/or-date-picker-v3/index.js +5 -5
  20. package/dist/esm/components/or-date-range-picker-v3/index.js +6 -6
  21. package/dist/esm/components/or-date-time-format-v3/index.js +4 -4
  22. package/dist/esm/components/or-date-time-picker-v3/index.js +12 -12
  23. package/dist/esm/components/or-drawer-v3/index.js +3 -3
  24. package/dist/esm/components/or-drop-area-v3/index.js +4 -4
  25. package/dist/esm/components/or-editor-tabs-v3/index.js +3 -3
  26. package/dist/esm/components/or-expansion-panel-v3/index.js +3 -3
  27. package/dist/esm/components/or-fab-v3/index.js +2 -2
  28. package/dist/esm/components/or-filter-popover-v3/index.js +4 -4
  29. package/dist/esm/components/or-filter-trigger-v3/index.js +2 -2
  30. package/dist/esm/components/or-filter-v3/index.js +3 -3
  31. package/dist/esm/components/or-icon-button-v3/index.js +2 -2
  32. package/dist/esm/components/or-inline-input-v3/index.js +2 -2
  33. package/dist/esm/components/or-inline-textarea-v3/index.js +6 -6
  34. package/dist/esm/components/or-input-v3/index.js +7 -7
  35. package/dist/esm/components/or-list-v3/index.js +3 -3
  36. package/dist/esm/components/or-menu-item-v3/index.js +2 -2
  37. package/dist/esm/components/or-menu-v3/index.js +3 -3
  38. package/dist/esm/components/or-modal-v3/index.js +3 -3
  39. package/dist/esm/components/or-notification-v3/index.js +2 -2
  40. package/dist/esm/components/or-overlay-v3/index.js +3 -3
  41. package/dist/esm/components/or-pagination-v3/index.js +4 -4
  42. package/dist/esm/components/or-popover-v3/index.js +5 -5
  43. package/dist/esm/components/or-progress-v3/index.js +3 -3
  44. package/dist/esm/components/or-radio-group-v3/index.js +3 -3
  45. package/dist/esm/components/or-radio-v3/index.js +5 -5
  46. package/dist/esm/components/or-range-slider-v3/index.js +3 -3
  47. package/dist/esm/components/or-rating-v3/index.js +3 -3
  48. package/dist/esm/components/or-resizeable-panel-v3/index.js +3 -3
  49. package/dist/esm/components/or-rich-text-editor-v3/index.js +3 -3
  50. package/dist/esm/components/or-rich-tooltip-v3/index.js +3 -3
  51. package/dist/esm/components/or-search-v3/index.js +6 -6
  52. package/dist/esm/components/or-segmented-control-v3/index.js +3 -3
  53. package/dist/esm/components/or-select-v3/index.js +8 -8
  54. package/dist/esm/components/or-sidebar-v3/index.js +3 -3
  55. package/dist/esm/components/or-skeleton-v3/index.js +2 -2
  56. package/dist/esm/components/or-slider-v3/index.js +3 -3
  57. package/dist/esm/components/or-sorting-v3/index.js +3 -3
  58. package/dist/esm/components/or-switch-v3/index.js +5 -5
  59. package/dist/esm/components/or-tabs-v3/index.js +3 -3
  60. package/dist/esm/components/or-tag-input-v3/index.js +7 -7
  61. package/dist/esm/components/or-tag-v3/index.js +2 -2
  62. package/dist/esm/components/or-tags-v3/index.js +3 -3
  63. package/dist/esm/components/or-textarea-v3/index.js +6 -6
  64. package/dist/esm/components/or-time-format-v3/index.js +3 -3
  65. package/dist/esm/components/or-time-picker-v3/index.js +4 -4
  66. package/dist/esm/components/or-time-range-picker-v3/index.js +5 -5
  67. package/dist/esm/components/or-toast-v3/index.js +3 -3
  68. package/dist/esm/components/or-tooltip-v3/index.js +3 -3
  69. package/dist/esm/components/or-tree-v3/index.js +2 -2
  70. package/dist/esm/index.js +3 -3
  71. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  import { useAttrs, computed, inject, isRef, ref, watch, getCurrentInstance, onMounted, defineComponent, reactive, toRef, nextTick, resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createSlots, createElementVNode, mergeProps, createVNode, Fragment, renderList, vShow } from 'vue';
2
2
  import { useMutationObserver, useResizeObserver, refDebounced, useMediaQuery, computedAsync, watchTriggerable } from '@vueuse/core';
3
- import Y$1 from '@onereach/styles/screens.json';
4
- import V$1 from '@onereach/styles/tailwind.config.json';
3
+ import O from '@onereach/styles/screens.json';
4
+ import L$2 from '@onereach/styles/tailwind.config.json';
5
5
  import r$1 from 'lodash/get';
6
6
  import n$1 from 'lodash/isElement';
7
7
  import { OrErrorV3 as script$1 } from './or-error-v3/index.js';
@@ -35,7 +35,7 @@ const s$1 = typeof window < "u" ? window : null, g$1 = (s$1 == null ? void 0 : s
35
35
  e && n$1(t) && (t.style[e] = o);
36
36
  }, B$1 = (t, e) => {
37
37
  e && n$1(t) && (t.style[e] = "");
38
- }, k$1 = (t, e) => e && n$1(t) && t.style[e] || null, m$1 = (t) => n$1(t) ? t.getBoundingClientRect() : null, c$2 = (t) => r$1(s$1, "getComputedStyle", null) && n$1(t) ? getComputedStyle(t) : {}, u = (t) => {
38
+ }, k$2 = (t, e) => e && n$1(t) && t.style[e] || null, m$1 = (t) => n$1(t) ? t.getBoundingClientRect() : null, c$2 = (t) => r$1(s$1, "getComputedStyle", null) && n$1(t) ? getComputedStyle(t) : {}, u = (t) => {
39
39
  const e = {
40
40
  top: 0,
41
41
  left: 0
@@ -95,7 +95,7 @@ function l$1(e) {
95
95
  for (const t of s)
96
96
  if (!t.isEqualNode(e) && i$2(t)) {
97
97
  const o = getComputedStyle(t, null).getPropertyValue("z-index");
98
- o !== null && o !== "auto" && n.push(o);
98
+ o !== null && o !== "auto" && n.push(parseInt(o));
99
99
  }
100
100
  return n;
101
101
  }
@@ -105,14 +105,14 @@ function l$1(e) {
105
105
  const isVue3 = true;
106
106
  const isVue2 = !isVue3;
107
107
 
108
- const G$1 = () => {
108
+ const k$1 = () => {
109
109
  const e = useAttrs();
110
110
  return {
111
111
  readonly: computed(() => e.readonly),
112
112
  disabled: computed(() => e.disabled),
113
113
  "force-state": computed(() => e["force-state"])
114
114
  };
115
- }, q$1 = Symbol(), U$1 = Symbol(), H$1 = Symbol(), J$1 = (e) => computed(() => e.value ?? inject(q$1, r.Short)), K$1 = (e, t) => computed(() => typeof e.value != "function" ? new Intl.DateTimeFormat(t.value, {
115
+ }, V$1 = Symbol(), U$1 = Symbol(), q$1 = Symbol(), G$1 = (e) => computed(() => e.value ?? inject(V$1, r.Short)), J$1 = (e, t) => computed(() => typeof e.value != "function" ? new Intl.DateTimeFormat(t.value, {
116
116
  dateStyle: e.value,
117
117
  timeZone: "UTC"
118
118
  }).formatToParts(Date.UTC(1, 0, 1, 1, 1)).reduce((r, n) => {
@@ -135,28 +135,28 @@ const G$1 = () => {
135
135
  default:
136
136
  return r + n.value;
137
137
  }
138
- }, "") : e.value(void 0, t.value)), N$1 = (e, t) => {
139
- const s = isRef(e) ? e : ref(e), r = isRef(t) ? t : ref();
138
+ }, "") : e.value(void 0, t.value)), K$1 = (e, t) => {
139
+ const o = isRef(e) ? e : ref(e), r = isRef(t) ? t : ref();
140
140
  function n(a) {
141
141
  a.style.zIndex = String(Math.max(0, ...l$1(a)) + 1);
142
142
  }
143
- watch([s, r], ([a]) => {
144
- a && A(() => n(a));
143
+ watch([o, r], ([a]) => {
144
+ a && n(a);
145
145
  }, { immediate: !0 });
146
- }, X$1 = () => {
146
+ }, N$1 = () => {
147
147
  const e = useAttrs(), t = getCurrentInstance();
148
148
  return computed(() => e.id ?? (t == null ? void 0 : t.uid.toString()));
149
- }, ee = (e) => computed(() => e.value ?? inject(U$1, navigator.language)), te = (e, t = {}) => {
150
- const { hide: s = !0, threshold: r = 0 } = t, n = isRef(e) ? e : ref(e), a = ref([]), l = ref([]);
151
- function o() {
149
+ }, X$1 = (e) => computed(() => e.value ?? inject(U$1, navigator.language)), ee = (e, t = {}) => {
150
+ const { hide: o = !0, threshold: r = 0 } = t, n = isRef(e) ? e : ref(e), a = ref([]), l = ref([]);
151
+ function s() {
152
152
  const i = n.value;
153
153
  if (i) {
154
154
  const d = [...i.children].reduce(({ innerItems: m, outerItems: y }, T) => {
155
155
  const f = T, { x: D, width: I } = f.getBoundingClientRect(), { x: w, width: A } = i.getBoundingClientRect();
156
- return D + I > w + A + r ? (s && f.style.setProperty("visibility", "hidden"), {
156
+ return D + I > w + A + r ? (o && f.style.setProperty("visibility", "hidden"), {
157
157
  innerItems: m,
158
158
  outerItems: [...y, f]
159
- }) : (s && f.style.removeProperty("visibility"), {
159
+ }) : (o && f.style.removeProperty("visibility"), {
160
160
  innerItems: [...m, f],
161
161
  outerItems: y
162
162
  });
@@ -168,20 +168,20 @@ const G$1 = () => {
168
168
  } else
169
169
  a.value = [], l.value = [];
170
170
  }
171
- return watch(n, o, {
171
+ return watch(n, s, {
172
172
  immediate: !0
173
- }), useMutationObserver(n, o, {
173
+ }), useMutationObserver(n, s, {
174
174
  childList: !0
175
- }), useResizeObserver(n, () => b$1(o)), {
175
+ }), useResizeObserver(n, () => b$1(s)), {
176
176
  innerItems: a,
177
177
  outerItems: l
178
178
  };
179
- }, re = (e, t, s = {}) => {
179
+ }, te = (e, t, o = {}) => {
180
180
  const r = ref(e.value ? "open" : "closed");
181
181
  watch(e, (i) => {
182
182
  r.value = i ? "open" : "closed";
183
183
  });
184
- const n = refDebounced(r, s.debounce ?? 0);
184
+ const n = refDebounced(r, o.debounce ?? 0);
185
185
  watch(n, (i) => {
186
186
  switch (t("update:state", i), i) {
187
187
  case "open":
@@ -198,18 +198,18 @@ const G$1 = () => {
198
198
  function l() {
199
199
  r.value = "closed";
200
200
  }
201
- function o() {
201
+ function s() {
202
202
  r.value = r.value === "open" ? "closed" : "open";
203
203
  }
204
204
  return {
205
205
  state: n,
206
206
  open: a,
207
207
  close: l,
208
- toggle: o
208
+ toggle: s
209
209
  };
210
210
  };
211
- function ne(e, t, s = {}) {
212
- const { defaultValue: r } = s;
211
+ function re(e, t, o = {}) {
212
+ const { defaultValue: r } = o;
213
213
  return r ? computed({
214
214
  get: () => e.value ?? r.value,
215
215
  set: (n) => {
@@ -222,30 +222,30 @@ function ne(e, t, s = {}) {
222
222
  }
223
223
  });
224
224
  }
225
- function ue(e) {
226
- const t = getCurrentInstance(), s = ref();
227
- e ? watch(e, (o) => {
228
- s.value = o;
225
+ function ne(e) {
226
+ const t = getCurrentInstance(), o = ref();
227
+ e ? watch(e, (s) => {
228
+ o.value = s;
229
229
  }) : onMounted(() => {
230
230
  if (t) {
231
- const o = t.vnode["el" ];
232
- o instanceof Element && (s.value = o);
231
+ const s = t.vnode["el" ];
232
+ s instanceof Element && (o.value = s);
233
233
  }
234
234
  });
235
- const r = computed(() => l(s.value) || a.value), n = computed(() => !r.value), a = useMediaQuery(`(min-width: ${Y$1.md})`);
236
- function l(o) {
235
+ const r = computed(() => l(o.value) || a.value), n = computed(() => !r.value), a = useMediaQuery(`(min-width: ${O.md})`);
236
+ function l(s) {
237
237
  var d;
238
- if (!o)
238
+ if (!s)
239
239
  return !1;
240
- const i = (d = o.getAttribute("force-screen")) == null ? void 0 : d.split(/\s+/);
241
- return i != null && i.some((m) => ["md", "lg", "xl"].includes(m)) ? !0 : l(o.parentElement ?? void 0);
240
+ const i = (d = s.getAttribute("force-screen")) == null ? void 0 : d.split(/\s+/);
241
+ return i != null && i.some((m) => ["md", "lg", "xl"].includes(m)) ? !0 : l(s.parentElement ?? void 0);
242
242
  }
243
243
  return {
244
244
  isDesktop: r,
245
245
  isMobile: n
246
246
  };
247
247
  }
248
- const se = () => V$1.theme, oe = (e) => computed(() => e.value ?? inject(H$1, h$1.Auto)), ae = (e, t) => computed(() => typeof e.value != "function" ? new Intl.DateTimeFormat(t.value, {
248
+ const ue = () => L$2.theme, oe = (e) => computed(() => e.value ?? inject(q$1, h$1.Auto)), se = (e, t) => computed(() => typeof e.value != "function" ? new Intl.DateTimeFormat(t.value, {
249
249
  timeStyle: "short",
250
250
  hourCycle: e.value !== h$1.Auto ? e.value : void 0,
251
251
  timeZone: "UTC"
@@ -261,9 +261,9 @@ const se = () => V$1.theme, oe = (e) => computed(() => e.value ?? inject(H$1, h$
261
261
  return r + n.value;
262
262
  }
263
263
  }, "") : e.value(void 0, t.value));
264
- function ie(e = !1) {
264
+ function ae(e = !1) {
265
265
  const t = ref(e);
266
- function s() {
266
+ function o() {
267
267
  t.value = !0;
268
268
  }
269
269
  function r() {
@@ -274,12 +274,12 @@ function ie(e = !1) {
274
274
  }
275
275
  return {
276
276
  isActiveToggle: t,
277
- show: s,
277
+ show: o,
278
278
  hide: r,
279
279
  toggle: n
280
280
  };
281
281
  }
282
- const le = () => {
282
+ const ie = () => {
283
283
  const e = useAttrs();
284
284
  return {
285
285
  required: computed(() => e.required),
@@ -542,9 +542,9 @@ var script = defineComponent({
542
542
  expose: ['root', 'popover', 'popoverState', 'reset', 'clear', 'focus', 'blur'],
543
543
  setup(props, context) {
544
544
  const attributes = reactive({
545
- id: X$1(),
546
- ...G$1(),
547
- ...le()
545
+ id: N$1(),
546
+ ...k$1(),
547
+ ...ie()
548
548
  });
549
549
  // Refs
550
550
  const root = ref();
@@ -578,7 +578,7 @@ var script = defineComponent({
578
578
  // Helpers
579
579
  const {
580
580
  isMobile
581
- } = ue();
581
+ } = ne();
582
582
  // Styles
583
583
  const rootStyles = computed(() => ['or-autocomplete-v3', ...Autocomplete, ...(props.variant === InputBoxVariant.Embedded ? ['grow'] : [])]);
584
584
  const controlStyles = computed(() => [...AutocompleteControl]);
@@ -591,7 +591,7 @@ var script = defineComponent({
591
591
  const loaderContainerStyles = computed(() => [...AutocompleteLoaderContainer]);
592
592
  const boxOpenStyles = computed(() => [...(popoverState.value === 'open' && !isMobile.value ? popoverFlipped.value ? AutocompleteInputBoxOpenFlipped : AutocompleteInputBoxOpen : [])]);
593
593
  // State
594
- const model = ne(toRef(props, 'modelValue'), context.emit);
594
+ const model = re(toRef(props, 'modelValue'), context.emit);
595
595
  const searchText = ref();
596
596
  const filteredItems = computedAsync(async () => {
597
597
  return searchText.value ? (await props.searchFunction(searchText.value, props.items)).filter(item => {
@@ -916,4 +916,4 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
916
916
  script.render = render;
917
917
  script.__file = "src/components/or-autocomplete-v3/OrAutocomplete.vue";
918
918
 
919
- export { $s as $, F as A, B, m as C, D, G as E, Fs as F, G$1 as G, H, b as I, J$1 as J, K$1 as K, l as L, x as M, N$1 as N, j as O, K as P, q$1 as Q, r as R, R as S, T, U, V, U$1 as W, X, g$1 as Y, z as Z, _, i as a, C$1 as a$, w as a0, Q as a1, q as a2, Z as a3, Y as a4, k as a5, W as a6, C as a7, J as a8, v as a9, gs as aA, H$1 as aB, S$1 as aC, y$1 as aD, q$2 as aE, ms as aF, Ms as aG, Hs as aH, R$1 as aI, m$1 as aJ, v$1 as aK, c$2 as aL, S as aM, _$1 as aN, l$1 as aO, k$1 as aP, T$1 as aQ, E$1 as aR, Is as aS, P as aT, I as aU, Bs as aV, L as aW, i$2 as aX, c as aY, u as aZ, P$1 as a_, Ns as aa, Ss as ab, ss as ac, is as ad, ps as ae, ns as af, ts as ag, rs as ah, Xs as ai, as as aj, os as ak, N as al, es as am, cs as an, Es as ao, Ps as ap, _s as aq, g as ar, Rs as as, Ts as at, us as au, As as av, Ds as aw, fs as ax, Os as ay, Cs as az, X$1 as b, M as b0, x$1 as b1, w$1 as b2, B$1 as b3, b$1 as b4, A as b5, Ls as b6, h as b7, F$1 as b8, L$1 as b9, z$1 as ba, ie as bb, i$1 as c, ds as d, e, ee as f, s as g, c$1 as h, isVue3 as i, h$1 as j, ae as k, le as l, isVue2 as m, ne as n, oe as o, p, d as q, re as r, se as s, hs as t, ue as u, te as v, script as w, $ as x, ys as y, y as z };
919
+ export { $s as $, F as A, B, m as C, D, G as E, Fs as F, G$1 as G, H, b as I, J$1 as J, K$1 as K, l as L, x as M, N$1 as N, j as O, K as P, V$1 as Q, r as R, R as S, T, U, V, U$1 as W, X, g$1 as Y, z as Z, _, i as a, C$1 as a$, w as a0, Q as a1, q as a2, Z as a3, Y as a4, k as a5, W as a6, C as a7, J as a8, v as a9, gs as aA, q$1 as aB, S$1 as aC, y$1 as aD, q$2 as aE, ms as aF, Ms as aG, Hs as aH, R$1 as aI, m$1 as aJ, v$1 as aK, c$2 as aL, S as aM, _$1 as aN, l$1 as aO, k$2 as aP, T$1 as aQ, E$1 as aR, Is as aS, P as aT, I as aU, Bs as aV, L as aW, i$2 as aX, c as aY, u as aZ, P$1 as a_, Ns as aa, Ss as ab, ss as ac, is as ad, ps as ae, ns as af, ts as ag, rs as ah, Xs as ai, as as aj, os as ak, N as al, es as am, cs as an, Es as ao, Ps as ap, _s as aq, g as ar, Rs as as, Ts as at, us as au, As as av, Ds as aw, fs as ax, Os as ay, Cs as az, i$1 as b, M as b0, x$1 as b1, w$1 as b2, B$1 as b3, b$1 as b4, A as b5, Ls as b6, h as b7, F$1 as b8, L$1 as b9, z$1 as ba, ae as bb, ie as c, ds as d, e, X$1 as f, c$1 as g, h$1 as h, isVue3 as i, se as j, k$1 as k, isVue2 as l, d as m, ne as n, oe as o, p, hs as q, re as r, s, te as t, ue as u, ee as v, script as w, $ as x, ys as y, y as z };
@@ -1,4 +1,4 @@
1
- import { c as i, m as isVue2, n as ne, T, u as ue } from './OrAutocompleteV3-4ade2c81.js';
1
+ import { b as i, l as isVue2, r as re, T, n as ne } from './OrAutocompleteV3-a5edfe9f.js';
2
2
  import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, Fragment, createVNode, withModifiers, createCommentVNode, createElementVNode, toRef, watch, renderList, createBlock, withCtx, toDisplayString, createTextVNode } from 'vue';
3
3
  import { useScroll } from '@vueuse/core';
4
4
  import { OrIconButtonV3 as script$2 } from './or-icon-button-v3/index.js';
@@ -173,7 +173,7 @@ var script = defineComponent({
173
173
  const headerTabsStyles = computed(() => [...EditorTabsHeaderTabs, ...EditorTabsHeaderTabsOverflows[props.overflow]]);
174
174
  const contentStyles = computed(() => [...EditorTabsContent]);
175
175
  // State
176
- const proxyModelValue = ne(toRef(props, 'modelValue'), context.emit);
176
+ const proxyModelValue = re(toRef(props, 'modelValue'), context.emit);
177
177
  const selectedItem = computed(() => {
178
178
  return !T(proxyModelValue.value) ? a(proxyModelValue.value, props.items) : undefined;
179
179
  });
@@ -215,7 +215,7 @@ var script = defineComponent({
215
215
  const {
216
216
  isDesktop,
217
217
  isMobile
218
- } = ue();
218
+ } = ne();
219
219
  // Effects
220
220
  watch(() => props.items, items => {
221
221
  if (items.length === 1) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, ref, computed, toRef, watch, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelDynamic, createBlock, withModifiers, createCommentVNode, createSlots, renderSlot, createTextVNode, toDisplayString, vShow } from 'vue';
2
- import { b as X, G, l as le, n as ne } from './OrAutocompleteV3-4ade2c81.js';
2
+ import { N, k, c as ie, r as re } from './OrAutocompleteV3-a5edfe9f.js';
3
3
  import { InlineInputBoxSize, OrInlineInputBoxV3 as script$5 } from './or-inline-input-box-v3/index.js';
4
4
  import { OrErrorV3 as script$1 } from './or-error-v3/index.js';
5
5
  import { OrTextV3 as script$2 } from './or-text-v3/index.js';
@@ -119,9 +119,9 @@ var script = defineComponent({
119
119
  expose: ['root', 'apply', 'reset', 'focus', 'blur'],
120
120
  setup(props, context) {
121
121
  const attributes = reactive({
122
- id: X(),
123
- ...G(),
124
- ...le()
122
+ id: N(),
123
+ ...k(),
124
+ ...ie()
125
125
  });
126
126
  // Refs & Styles
127
127
  const root = ref();
@@ -130,7 +130,7 @@ var script = defineComponent({
130
130
  const controlStyles = computed(() => [...InlineInputControl]);
131
131
  const actionStyles = computed(() => [...InlineInputAction, ...InlineInputActionSizes[props.size]]);
132
132
  // State
133
- const model = ne(toRef(props, 'modelValue'), context.emit);
133
+ const model = re(toRef(props, 'modelValue'), context.emit);
134
134
  const draft = ref(model.value);
135
135
  watch(model, value => {
136
136
  draft.value = value;
@@ -1,4 +1,4 @@
1
- export { w as OrAutocompleteV3 } from './OrAutocompleteV3-4ade2c81.js';
1
+ export { w as OrAutocompleteV3 } from './OrAutocompleteV3-a5edfe9f.js';
2
2
  export { AvatarColor, AvatarSize, OrAvatarV3 } from './or-avatar-v3/index.js';
3
3
  export { BottomSheetVariant, OrBottomSheetV3 } from './or-bottom-sheet-v3/index.js';
4
4
  export { OrButtonGroupV3 } from './or-button-group-v3/index.js';
@@ -26,7 +26,7 @@ export { OrDateTimeFormatV3 } from './or-date-time-format-v3/index.js';
26
26
  export { OrDateTimePickerDateControl, OrDateTimePickerDateSelect, OrDateTimePickerMobileControl, OrDateTimePickerMonthSelect, OrDateTimePickerPopoverFooter, OrDateTimePickerPopoverHeader, OrDateTimePickerTimeControl, OrDateTimePickerTimeSelect, OrDateTimePickerV3, formatDate, formatMobileDate, formatMobileTime, formatTime, getCurrentDate, getNextMonthDate, scrollToElementWithinContainer } from './or-date-time-picker-v3/index.js';
27
27
  export { DrawerPlacement, OrDrawerV3 } from './or-drawer-v3/index.js';
28
28
  export { DropAreaSize, OrDropAreaV3, approximateFileSize } from './or-drop-area-v3/index.js';
29
- export { E as EditorTabsOverflow, s as OrEditorTabsV3 } from './OrEditorTabsV3-e93c64ac.js';
29
+ export { E as EditorTabsOverflow, s as OrEditorTabsV3 } from './OrEditorTabsV3-743f0eb4.js';
30
30
  export { EmptyStateSize, OrEmptyStateV3 } from './or-empty-state-v3/index.js';
31
31
  export { OrErrorTagV3 } from './or-error-tag-v3/index.js';
32
32
  export { OrErrorV3 } from './or-error-v3/index.js';
@@ -41,7 +41,7 @@ export { IconButtonColor, OrIconButtonV3 } from './or-icon-button-v3/index.js';
41
41
  export { IconSize, IconVariant, OrIconV3 } from './or-icon-v3/index.js';
42
42
  export { IndicatorColor, IndicatorSize, OrIndicatorV3 } from './or-indicator-v3/index.js';
43
43
  export { InlineInputBoxSize, OrInlineInputBoxV3 } from './or-inline-input-box-v3/index.js';
44
- export { I as InlineInputType, a as OrInlineInputV3 } from './OrInlineInputV3-349eb8ec.js';
44
+ export { I as InlineInputType, a as OrInlineInputV3 } from './OrInlineInputV3-e5c2b0c8.js';
45
45
  export { OrInlineTextareaV3 } from './or-inline-textarea-v3/index.js';
46
46
  export { InputBoxDirection, InputBoxSize, InputBoxVariant, OrInputBoxV3 } from './or-input-box-v3/index.js';
47
47
  export { InputMode, InputType, OrInputV3 } from './or-input-v3/index.js';
@@ -1,4 +1,4 @@
1
- export { w as OrAutocompleteV3 } from '../OrAutocompleteV3-4ade2c81.js';
1
+ export { w as OrAutocompleteV3 } from '../OrAutocompleteV3-a5edfe9f.js';
2
2
  import 'vue';
3
3
  import '@vueuse/core';
4
4
  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-349eb8ec.js';
20
+ import '../OrInlineInputV3-e5c2b0c8.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';
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createBlock, createCommentVNode } from 'vue';
2
- import { X, D } from '../OrAutocompleteV3-4ade2c81.js';
2
+ import { X, D } from '../OrAutocompleteV3-a5edfe9f.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-349eb8ec.js';
20
+ import '../OrInlineInputV3-e5c2b0c8.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';
@@ -1,6 +1,6 @@
1
1
  import { ref, unref, computed, defineComponent, toRefs, watch, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, createElementBlock, normalizeClass, createCommentVNode, renderSlot } from 'vue';
2
2
  import { usePointerSwipe, onClickOutside } from '@vueuse/core';
3
- import { s as se, r as re } from '../OrAutocompleteV3-4ade2c81.js';
3
+ import { u as ue, t as te } from '../OrAutocompleteV3-a5edfe9f.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';
@@ -17,7 +17,7 @@ import './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-349eb8ec.js';
20
+ import '../OrInlineInputV3-e5c2b0c8.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';
@@ -37,7 +37,7 @@ var BottomSheetVariant;
37
37
  function useBottomSheetSwipeState(root, content, fullscreen, variant, close) {
38
38
  const inlineSwipingStyles = ref({});
39
39
  const skipSwipe = ref(false);
40
- const theme = se();
40
+ const theme = ue();
41
41
  const isEventSkipped = event => {
42
42
  return variant.value === BottomSheetVariant.Basic || event.composedPath().includes(content.value) && fullscreen.value;
43
43
  };
@@ -183,7 +183,7 @@ var script = defineComponent({
183
183
  open,
184
184
  close,
185
185
  toggle
186
- } = re(isOpen, context.emit);
186
+ } = te(isOpen, context.emit);
187
187
  const fullscreen = ref(props.isFullscreen);
188
188
  // Styles
189
189
  const rootStyles = computed(() => ['or-bottom-sheet-v3', ...BottomSheet, ...BottomSheetVariants[props.variant]]);
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
2
2
  import { ButtonVariant, ButtonColor } from '../or-button-v3/index.js';
3
- import '../OrAutocompleteV3-4ade2c81.js';
3
+ import '../OrAutocompleteV3-a5edfe9f.js';
4
4
  import '@vueuse/core';
5
5
  import '@onereach/styles/screens.json';
6
6
  import '@onereach/styles/tailwind.config.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-349eb8ec.js';
21
+ import '../OrInlineInputV3-e5c2b0c8.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,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, mergeProps, toHandlers, createElementVNode, normalizeClass, renderSlot, Fragment, createVNode, createBlock, createCommentVNode } from 'vue';
2
- import { i as isVue3 } from '../OrAutocompleteV3-4ade2c81.js';
2
+ import { i as isVue3 } from '../OrAutocompleteV3-a5edfe9f.js';
3
3
  import { OrLoaderV3 as script$1 } from '../or-loader-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-349eb8ec.js';
21
+ import '../OrInlineInputV3-e5c2b0c8.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';
@@ -3,7 +3,7 @@ import { OrIconButtonV3 as script$2 } from '../or-icon-button-v3/index.js';
3
3
  import { OrSortingV3 as script$3 } from '../or-sorting-v3/index.js';
4
4
  import { OrSearchV3 as script$4 } from '../or-search-v3/index.js';
5
5
  import { OrLoaderV3 as script$5 } from '../or-loader-v3/index.js';
6
- import '../OrAutocompleteV3-4ade2c81.js';
6
+ import '../OrAutocompleteV3-a5edfe9f.js';
7
7
  import '@vueuse/core';
8
8
  import '@onereach/styles/screens.json';
9
9
  import '@onereach/styles/tailwind.config.json';
@@ -13,7 +13,7 @@ import '../or-error-v3/index.js';
13
13
  import '../or-hint-v3/index.js';
14
14
  import '../or-input-box-v3/index.js';
15
15
  import '../or-input-v3/index.js';
16
- import '../OrInlineInputV3-349eb8ec.js';
16
+ import '../OrInlineInputV3-e5c2b0c8.js';
17
17
  import '../or-inline-input-box-v3/index.js';
18
18
  import '../or-text-v3/index.js';
19
19
  import '../or-icon-v3/index.js';
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, toRef, resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementBlock, Fragment, renderList } from 'vue';
2
- import { n as ne } from '../OrAutocompleteV3-4ade2c81.js';
2
+ import { r as re } from '../OrAutocompleteV3-a5edfe9f.js';
3
3
  import { OrCheckboxTreeV3 as script$1 } from '../or-checkbox-tree-v3/index.js';
4
4
  import { OrFormGroupV3 as script$2, FormGroupDirection } from '../or-form-group-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-349eb8ec.js';
22
+ import '../OrInlineInputV3-e5c2b0c8.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';
@@ -76,7 +76,7 @@ var script = defineComponent({
76
76
  }
77
77
  },
78
78
  setup(props, context) {
79
- const proxyModelValue = ne(toRef(props, 'modelValue'), context.emit);
79
+ const proxyModelValue = re(toRef(props, 'modelValue'), context.emit);
80
80
  return {
81
81
  proxyModelValue
82
82
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, toRefs, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, createElementVNode, createBlock, withCtx, createVNode, createCommentVNode, renderSlot, createTextVNode, toDisplayString, renderList } from 'vue';
2
2
  import { useToggle } from '@vueuse/core';
3
- import { a as i, n as ne } from '../OrAutocompleteV3-4ade2c81.js';
3
+ import { a as i, r as re } from '../OrAutocompleteV3-a5edfe9f.js';
4
4
  import { OrIconV3 as script$1 } from '../or-icon-v3/index.js';
5
5
  import { OrCheckboxV3 as script$2 } from '../or-checkbox-v3/index.js';
6
6
  import { OrButtonV3 as script$3 } from '../or-button-v3/index.js';
@@ -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-349eb8ec.js';
22
+ import '../OrInlineInputV3-e5c2b0c8.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';
@@ -104,7 +104,7 @@ var script = defineComponent({
104
104
  const childrenValues = computed(() => {
105
105
  return hasChildren.value ? extractChildrenValues(children.value) : [];
106
106
  });
107
- const proxyModelValue = ne(modelValue, context.emit);
107
+ const proxyModelValue = re(modelValue, context.emit);
108
108
  const isAnyChildrenSelected = computed(() => {
109
109
  var _a;
110
110
  return (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.some(value => {
@@ -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 { b as X, G, n as ne, e, c as i, $ as $s, d as ds } from '../OrAutocompleteV3-4ade2c81.js';
2
+ import { N, k, r as re, e, b as i, $ as $s, d as ds } from '../OrAutocompleteV3-a5edfe9f.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';
@@ -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-349eb8ec.js';
21
+ import '../OrInlineInputV3-e5c2b0c8.js';
22
22
  import '../or-inline-input-box-v3/index.js';
23
23
  import '../or-text-v3/index.js';
24
24
  import '../or-loader-v3/index.js';
@@ -111,8 +111,8 @@ var script = defineComponent({
111
111
  expose: ['root', 'focus', 'blur'],
112
112
  setup(props, context) {
113
113
  const attributes = reactive({
114
- id: X(),
115
- ...G()
114
+ id: N(),
115
+ ...k()
116
116
  });
117
117
  // Refs & Styles
118
118
  const root = ref();
@@ -120,7 +120,7 @@ var script = defineComponent({
120
120
  const control = ref();
121
121
  const controlStyles = computed(() => [...CheckboxControl, ...CheckboxControlHandle]);
122
122
  // State
123
- const model = ne(toRef(props, 'modelValue'), context.emit);
123
+ const model = re(toRef(props, 'modelValue'), context.emit);
124
124
  const checked = computed(() => {
125
125
  if (e(model.value)) {
126
126
  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 { b as X, G, l as le, n as ne, s as se } from '../OrAutocompleteV3-4ade2c81.js';
10
+ import { N, k, c as ie, r as re, u as ue } from '../OrAutocompleteV3-a5edfe9f.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';
@@ -22,7 +22,7 @@ import '@onereach/styles/tailwind.config.json';
22
22
  import 'lodash/get';
23
23
  import 'lodash/isElement';
24
24
  import '../or-input-v3/index.js';
25
- import '../OrInlineInputV3-349eb8ec.js';
25
+ import '../OrInlineInputV3-e5c2b0c8.js';
26
26
  import '../or-inline-input-box-v3/index.js';
27
27
  import '../or-text-v3/index.js';
28
28
  import '../or-icon-v3/index.js';
@@ -260,11 +260,11 @@ var script = defineComponent({
260
260
  const disabledExtensionCompartment = new Compartment();
261
261
  // State
262
262
  const controlAttributes = reactive({
263
- id: X(),
264
- ...G(),
265
- ...le()
263
+ id: N(),
264
+ ...k(),
265
+ ...ie()
266
266
  });
267
- const proxyModelValue = ne(toRef(props, 'modelValue'), context.emit);
267
+ const proxyModelValue = re(toRef(props, 'modelValue'), context.emit);
268
268
  const getLanguageExtension = async language => {
269
269
  switch (language) {
270
270
  case CodeLanguage.HTML:
@@ -297,7 +297,7 @@ var script = defineComponent({
297
297
  (_b = (_a = modal.value) === null || _a === void 0 ? void 0 : _a.open) === null || _b === void 0 ? void 0 : _b.call(_a);
298
298
  }
299
299
  // #region Codemirror
300
- const theme = se();
300
+ const theme = ue();
301
301
  const defaultExtensions = [basicSetup, keymap.of([indentWithTab]), EditorView.domEventHandlers({
302
302
  input: event => {
303
303
  context.emit('input', event);
@@ -1,7 +1,7 @@
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 { r as re } from '../OrAutocompleteV3-4ade2c81.js';
4
+ import { t as te } from '../OrAutocompleteV3-a5edfe9f.js';
5
5
  import { OrOverlayV3 as script$1 } from '../or-overlay-v3/index.js';
6
6
  import { OrButtonV3 as script$2, ButtonColor } from '../or-button-v3/index.js';
7
7
  import { OrInputV3 as script$3 } from '../or-input-v3/index.js';
@@ -19,7 +19,7 @@ import '@floating-ui/dom';
19
19
  import '../or-bottom-sheet-v3/index.js';
20
20
  import '../or-teleport-v3/index.js';
21
21
  import '../or-input-box-v3/index.js';
22
- import '../OrInlineInputV3-349eb8ec.js';
22
+ import '../OrInlineInputV3-e5c2b0c8.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';
@@ -153,7 +153,7 @@ var script = defineComponent({
153
153
  state,
154
154
  open,
155
155
  close
156
- } = re(toRef(props, 'isOpen'), context.emit);
156
+ } = te(toRef(props, 'isOpen'), context.emit);
157
157
  const isInputActive = ref(false);
158
158
  const confirmationValue = ref('');
159
159
  watch(state, () => {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, toRefs, watch, ref, resolveComponent, openBlock, createBlock, withCtx, renderSlot } from 'vue';
2
- import { r as re } from '../OrAutocompleteV3-4ade2c81.js';
2
+ import { t as te } from '../OrAutocompleteV3-a5edfe9f.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';
@@ -14,7 +14,7 @@ import '../or-icon-v3/index.js';
14
14
  import '../or-tooltip-v3/index.js';
15
15
  import '../or-input-box-v3/index.js';
16
16
  import '../or-input-v3/index.js';
17
- import '../OrInlineInputV3-349eb8ec.js';
17
+ import '../OrInlineInputV3-e5c2b0c8.js';
18
18
  import '../or-inline-input-box-v3/index.js';
19
19
  import '../or-text-v3/index.js';
20
20
  import '../or-label-v3/index.js';
@@ -75,7 +75,7 @@ var script = defineComponent({
75
75
  open,
76
76
  close,
77
77
  toggle
78
- } = re(ref(false), context.emit);
78
+ } = te(ref(false), context.emit);
79
79
  const reference = ref();
80
80
  const triggerPoint = ref();
81
81
  // Handlers