@onereach/ui-components-vue2 20.7.0 → 21.0.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/{OrDateTimePicker-63c2c5af.js → OrDateTimePicker-694dcd3e.js} +3 -3
- package/dist/esm/{OrDateTimePickerMonthSelect-16cab3b0.js → OrDateTimePickerMonthSelect-e139a00a.js} +1 -1
- package/dist/esm/{OrDateTimePickerTimeSelect-327e01bb.js → OrDateTimePickerTimeSelect-13163e60.js} +2 -2
- package/dist/esm/{OrSkeletonText-32afddae.js → OrSkeletonText-3a67a7dd.js} +4 -5
- package/dist/esm/components/index.js +9 -11
- package/dist/esm/components/or-autocomplete-v3/index.js +6 -8
- package/dist/esm/components/or-avatar-v3/index.js +3 -5
- package/dist/esm/components/or-bottom-sheet-v3/index.js +2 -4
- package/dist/esm/components/or-card-collection-v3/index.js +3 -5
- package/dist/esm/components/or-checkbox-group-v3/index.js +3 -5
- package/dist/esm/components/or-checkbox-tree-v3/index.js +4 -6
- package/dist/esm/components/or-checkbox-v3/index.js +7 -9
- package/dist/esm/components/or-code-v3/index.js +3 -5
- package/dist/esm/components/or-confirm-v3/index.js +3 -5
- package/dist/esm/components/or-context-menu-v3/index.js +3 -5
- package/dist/esm/components/or-data-grid-v3/index.js +9 -11
- package/dist/esm/components/or-date-format-v3/index.js +2 -4
- package/dist/esm/components/or-date-picker-v3/index.js +4 -6
- package/dist/esm/components/or-date-range-picker-v3/index.js +4 -6
- package/dist/esm/components/or-date-time-format-v3/index.js +3 -5
- package/dist/esm/components/or-date-time-picker-v3/index.js +7 -9
- package/dist/esm/components/or-drawer-v3/index.js +2 -4
- package/dist/esm/components/or-drop-area-v3/index.js +2 -4
- package/dist/esm/components/or-editor-tabs-v3/index.js +5 -7
- package/dist/esm/components/or-expansion-panel-v3/index.js +2 -4
- package/dist/esm/components/or-filter-popover-v3/index.js +3 -5
- package/dist/esm/components/or-filter-trigger-v3/index.js +3 -5
- package/dist/esm/components/or-filter-v3/index.js +3 -5
- package/dist/esm/components/or-icon-button-v3/index.js +3 -5
- package/dist/esm/components/or-inline-input-v3/index.js +3 -5
- package/dist/esm/components/or-inline-textarea-v3/index.js +3 -5
- package/dist/esm/components/or-input-v3/index.js +3 -5
- package/dist/esm/components/or-list-v3/index.js +3 -5
- package/dist/esm/components/or-menu-item-v3/index.js +3 -5
- package/dist/esm/components/or-menu-v3/index.js +3 -5
- package/dist/esm/components/or-modal-v3/index.js +3 -5
- package/dist/esm/components/or-notification-v3/index.js +3 -5
- package/dist/esm/components/or-overlay-v3/index.js +2 -4
- package/dist/esm/components/or-pagination-v3/index.js +3 -5
- package/dist/esm/components/or-popover-v3/index.js +3 -5
- package/dist/esm/components/or-progress-v3/index.js +2 -4
- package/dist/esm/components/or-radio-group-v3/index.js +2 -4
- package/dist/esm/components/or-radio-v3/index.js +2 -4
- package/dist/esm/components/or-range-slider-v3/index.js +3 -5
- package/dist/esm/components/or-rating-v3/index.js +2 -4
- package/dist/esm/components/or-resizeable-panel-v3/index.js +3 -5
- package/dist/esm/components/or-rich-text-editor-v3/index.js +4 -6
- package/dist/esm/components/or-rich-tooltip-v3/index.js +3 -5
- package/dist/esm/components/or-search-v3/index.js +3 -5
- package/dist/esm/components/or-segmented-control-v3/index.js +2 -4
- package/dist/esm/components/or-select-v3/index.js +12 -14
- package/dist/esm/components/or-sidebar-v3/index.js +3 -5
- package/dist/esm/components/or-skeleton-v3/index.js +7 -9
- package/dist/esm/components/or-slider-v3/index.js +3 -5
- package/dist/esm/components/or-sorting-v3/index.js +3 -5
- package/dist/esm/components/or-switch-v3/index.js +7 -9
- package/dist/esm/components/or-tabs-v3/index.js +3 -5
- package/dist/esm/components/or-tag-input-v3/index.js +6 -8
- package/dist/esm/components/or-tag-v3/index.js +3 -5
- package/dist/esm/components/or-tags-v3/index.js +3 -5
- package/dist/esm/components/or-textarea-v3/index.js +7 -9
- package/dist/esm/components/or-time-format-v3/index.js +3 -5
- package/dist/esm/components/or-time-picker-v3/index.js +5 -7
- package/dist/esm/components/or-time-range-picker-v3/index.js +5 -7
- package/dist/esm/components/or-toast-v3/index.js +3 -5
- package/dist/esm/components/or-tooltip-v3/index.js +3 -5
- package/dist/esm/dom-qGGG2YCX-4d4cca6e.js +5 -0
- package/dist/esm/{formatTime-659e31ca.js → formatTime-8b7e3477.js} +1 -1
- package/dist/esm/helpers-368c7a99.js +11 -0
- package/dist/esm/index.js +9 -11
- package/dist/esm/{useValidationAttributes-w0RCHARs-21132c84.js → useValidationAttributes-BpeWsfb0-24439d6f.js} +4 -4
- package/dist/esm/utils-72d9c2bb.js +85 -0
- package/package.json +4 -4
- package/dist/esm/dom-DzNS5tBj-6d9cf0ef.js +0 -73
- package/dist/esm/extractCssVarName-FgXy_HI0-52cc18b9.js +0 -85
- package/dist/esm/searchItemsByLabel-CPGAoUEr-0aa65960.js +0 -11
package/dist/esm/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { s as DropdownClose, c as DropdownOpen } from './dropdown-open-k6cFnrqA-5245a281.js';
|
|
2
|
-
export {
|
|
3
|
-
export { V as DATE_FORMAT, r as DateFormat, U as LOCALE, q as TIME_FORMAT, h as TimeFormat, l as getPageElevations, i as isVisible, k as useControlAttributes, G as useDateFormat, J as useDateMask, K as useElevation, N as useIdAttribute, X as useLocale, e as useOverflow, t as usePopoverState, a as useProxyModelValue, n as useResponsive, u as useTheme, s as useTimeFormat, o as useTimeMask, b as useToggle, c as useValidationAttributes } from './useValidationAttributes-
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
2
|
+
export { s as getItemByValue, m as getItemsByValue, l as searchItemsByLabel } from './helpers-368c7a99.js';
|
|
3
|
+
export { V as DATE_FORMAT, r as DateFormat, U as LOCALE, q as TIME_FORMAT, h as TimeFormat, l as getPageElevations, i as isVisible, k as useControlAttributes, G as useDateFormat, J as useDateMask, K as useElevation, N as useIdAttribute, X as useLocale, e as useOverflow, t as usePopoverState, a as useProxyModelValue, n as useResponsive, u as useTheme, s as useTimeFormat, o as useTimeMask, b as useToggle, c as useValidationAttributes } from './useValidationAttributes-BpeWsfb0-24439d6f.js';
|
|
4
|
+
export { h as CODE_BACKSPACE, H as CODE_BREAK, $ as CODE_DELETE, y as CODE_DOWN, F as CODE_END, B as CODE_ENTER, m as CODE_ESC, x as CODE_HOME, G as CODE_LEFT, b as CODE_PAGEDOWN, l as CODE_PAGEUP, U as CODE_RIGHT, j as CODE_SPACE, V as CODE_UP, T as HSL_LIMITS, z as PLACEMENT_BOTTOM_END, w as PLACEMENT_BOTTOM_START, q as PLACEMENT_LEFT_END, k as PLACEMENT_LEFT_START, Z as PLACEMENT_RIGHT_END, Y as PLACEMENT_RIGHT_START, W as PLACEMENT_TOP_END, K as PLACEMENT_TOP_START, g as RX_ABBREVIATION_FROM_STRING, Q as RX_ARRAY_NOTATION, J as RX_BV_PREFIX, C as RX_DATE, N as RX_DATE_SPLIT, v as RX_DIGITS, D as RX_ENCODED_COMMA, X as RX_ENCODE_REVERSE, t as RX_EXTENSION, n as RX_HASH, r as RX_HASH_ID, i as RX_HREF, o as RX_HTML_TAGS, s as RX_HYPHENATE, a as RX_LONG_COLOR, e as RX_LOWER_UPPER, c as RX_NUMBER, E as RX_PLUS, p as RX_QUERY_START, _ as RX_REGEXP_REPLACE, d as RX_SHORT_COLOR, R as RX_SPACES, f as RX_SPACE_SPLIT, u as RX_STAR, A as RX_START_SPACE_WORD, S as RX_TIME, I as RX_TRIM_LEFT, O as RX_TRIM_RIGHT, L as RX_UNDERSCORE, M as RX_UN_KEBAB, P as exclude, a0 as extractCssVarName, a1 as flattenDeep, a2 as generateColorFromString, a3 as generateHslFromString, a4 as getAbbreviation, a5 as getHashOfString, a6 as hexToRgb, a7 as hslToColorString, a8 as include, a9 as isAncestor, aa as isArray, ab as isDescendant, ac as isEmpty, ad as isEqual, ae as isNil, af as isNull, ag as isNumber, ah as isObject, ai as isString, aj as isUndefined, ak as normalize, al as pxToRem, am as rgbToHex, an as toArray } from './utils-72d9c2bb.js';
|
|
5
|
+
export { t as requestAF } from './dom-qGGG2YCX-4d4cca6e.js';
|
|
6
6
|
export { OrToastContainerV3, OrToastV3, PropsV3, TypesV3, useQueueV3, useToastV3 } from './components/or-toast-v3/index.js';
|
|
7
7
|
export { OrAutocompleteV3 } from './components/or-autocomplete-v3/index.js';
|
|
8
8
|
export { AvatarColor, AvatarSize, OrAvatarV3 } from './components/or-avatar-v3/index.js';
|
|
@@ -30,12 +30,12 @@ export { OrDateFormatV3 } from './components/or-date-format-v3/index.js';
|
|
|
30
30
|
export { OrDatePickerV3 } from './components/or-date-picker-v3/index.js';
|
|
31
31
|
export { OrDateRangePickerV3 } from './components/or-date-range-picker-v3/index.js';
|
|
32
32
|
export { OrDateTimeFormatV3 } from './components/or-date-time-format-v3/index.js';
|
|
33
|
-
export { O as OrDateTimePickerV3 } from './OrDateTimePicker-
|
|
34
|
-
export { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect, f as formatMobileDate } from './OrDateTimePickerMonthSelect-
|
|
33
|
+
export { O as OrDateTimePickerV3 } from './OrDateTimePicker-694dcd3e.js';
|
|
34
|
+
export { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect, f as formatMobileDate } from './OrDateTimePickerMonthSelect-e139a00a.js';
|
|
35
35
|
export { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader, g as getCurrentDate } from './OrDateTimePickerPopoverHeader-e2b3f8f2.js';
|
|
36
|
-
export { O as OrDateTimePickerTimeControl, a as OrDateTimePickerTimeSelect, f as formatMobileTime, s as scrollToElementWithinContainer } from './OrDateTimePickerTimeSelect-
|
|
36
|
+
export { O as OrDateTimePickerTimeControl, a as OrDateTimePickerTimeSelect, f as formatMobileTime, s as scrollToElementWithinContainer } from './OrDateTimePickerTimeSelect-13163e60.js';
|
|
37
37
|
export { f as formatDate } from './formatDate-0536a8d5.js';
|
|
38
|
-
export { f as formatTime } from './formatTime-
|
|
38
|
+
export { f as formatTime } from './formatTime-8b7e3477.js';
|
|
39
39
|
export { g as getNextMonthDate } from './getNextMonthDate-25fe3c1a.js';
|
|
40
40
|
export { DrawerPlacement, OrDrawerV3 } from './components/or-drawer-v3/index.js';
|
|
41
41
|
export { DropAreaSize, OrDropAreaV3, approximateFileSize } from './components/or-drop-area-v3/index.js';
|
|
@@ -83,7 +83,7 @@ export { OrSegmentedControlV3, SegmentedControlSize } from './components/or-segm
|
|
|
83
83
|
export { OrSelectV3 } from './components/or-select-v3/index.js';
|
|
84
84
|
export { OrSidebarV3, SidebarPlacement } from './components/or-sidebar-v3/index.js';
|
|
85
85
|
export { OrSkeletonCircleV3, OrSkeletonRectV3 } from './components/or-skeleton-v3/index.js';
|
|
86
|
-
export { O as OrSkeletonTextV3 } from './OrSkeletonText-
|
|
86
|
+
export { O as OrSkeletonTextV3 } from './OrSkeletonText-3a67a7dd.js';
|
|
87
87
|
export { OrSliderV3 } from './components/or-slider-v3/index.js';
|
|
88
88
|
export { S as SliderColor, a as SliderOrientation } from './types-75a1cc13.js';
|
|
89
89
|
export { OrSortingV3 } from './components/or-sorting-v3/index.js';
|
|
@@ -106,8 +106,6 @@ import 'vue-demi';
|
|
|
106
106
|
import '@vueuse/core';
|
|
107
107
|
import '@onereach/styles/screens.json';
|
|
108
108
|
import '@onereach/styles/tailwind.config.json';
|
|
109
|
-
import 'lodash/get';
|
|
110
|
-
import 'lodash/isElement';
|
|
111
109
|
import './style-inject.es-87955792.js';
|
|
112
110
|
import './normalize-component-cf2db48b.js';
|
|
113
111
|
import './constants-2e3ea701.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useAttrs, computed, inject, isRef, ref, watch, getCurrentInstance, onMounted } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { t } from './dom-qGGG2YCX-4d4cca6e.js';
|
|
3
3
|
import { useMutationObserver, useResizeObserver, refDebounced, useMediaQuery } from '@vueuse/core';
|
|
4
4
|
import O from '@onereach/styles/screens.json';
|
|
5
5
|
import L from '@onereach/styles/tailwind.config.json';
|
|
@@ -60,8 +60,8 @@ const k = () => {
|
|
|
60
60
|
}, N = () => {
|
|
61
61
|
const e = useAttrs(), t = getCurrentInstance();
|
|
62
62
|
return computed(() => e.id ?? (t == null ? void 0 : t.uid.toString()));
|
|
63
|
-
}, X = (e) => computed(() => e.value ?? inject(U, navigator.language)), ee = (e, t = {}) => {
|
|
64
|
-
const { hide: s = !0, threshold: r = 0 } = t, n = isRef(e) ? e : ref(e), a = ref([]), l = ref([]);
|
|
63
|
+
}, X = (e) => computed(() => e.value ?? inject(U, navigator.language)), ee = (e, t$1 = {}) => {
|
|
64
|
+
const { hide: s = !0, threshold: r = 0 } = t$1, n = isRef(e) ? e : ref(e), a = ref([]), l = ref([]);
|
|
65
65
|
function o() {
|
|
66
66
|
const i = n.value;
|
|
67
67
|
if (i) {
|
|
@@ -86,7 +86,7 @@ const k = () => {
|
|
|
86
86
|
immediate: !0
|
|
87
87
|
}), useMutationObserver(n, o, {
|
|
88
88
|
childList: !0
|
|
89
|
-
}), useResizeObserver(n, () =>
|
|
89
|
+
}), useResizeObserver(n, () => t(o)), {
|
|
90
90
|
innerItems: a,
|
|
91
91
|
outerItems: l
|
|
92
92
|
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import './dom-qGGG2YCX-4d4cca6e.js';
|
|
2
|
+
|
|
3
|
+
const i$1 = (e) => e === void 0;
|
|
4
|
+
|
|
5
|
+
const T = {
|
|
6
|
+
h: {
|
|
7
|
+
min: 0,
|
|
8
|
+
max: 360
|
|
9
|
+
},
|
|
10
|
+
s: {
|
|
11
|
+
min: 50,
|
|
12
|
+
max: 75
|
|
13
|
+
},
|
|
14
|
+
l: {
|
|
15
|
+
min: 60,
|
|
16
|
+
max: 80
|
|
17
|
+
}
|
|
18
|
+
}, h = 8, H = 19, $ = 46, y = 40, F = 35, B = 13, m = 27, x = 36, G = 37, b = 34, l = 33, U = 39, j = 32, V = 38, K = "top-start", W = "top-end", w = "bottom-start", z = "bottom-end", Y = "right-start", Z = "right-end", k = "left-start", q = "left-end", Q = /\[(\d+)]/g, J = /^(BV?)/, v = /^\d+$/, tt = /^\..+/, nt = /^#/, rt = /^#[A-Za-z]+[\w\-:.]*$/, ot = /(<([^>]+)>)/gi, st = /\B([A-Z])/g, et = /([a-z])([A-Z])/g, ct = /^[0-9]*\.?[0-9]+$/, Et = /\+/g, _t = /[-/\\^$*+?.()|[\]{}]/g, Rt = /[\s\uFEFF\xA0]+/g, Tt = /\s+/, ut = /\/\*$/, At = /(\s|^)(\w)/g, ft = /^\s+/, Ot = /\s+$/, at = /_/g, gt = /-(\w)/g, g = /[\p{Alpha}\p{Nd}]+/gu, Ct = /^\d+-\d\d?-\d\d?(?:\s|T|$)/, Nt = /-|\s|T/, St = /^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/, it = /^.*(#[^#]+)$/, Dt = /%2C/g, Xt = /[!'()*]/g, pt = /^(\?|#|&)/, C = /^#?([a-f\d])([a-f\d])([a-f\d])$/i, N = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i, Pt = (t, n) => n.filter((r) => r !== t);
|
|
19
|
+
function S(t) {
|
|
20
|
+
return Math.abs(
|
|
21
|
+
t.split("").reduce((n, r) => r.charCodeAt(0) + ((n << 5) - n), 0)
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
function E(t, n, r) {
|
|
25
|
+
return Math.floor(t % (r - n) + n);
|
|
26
|
+
}
|
|
27
|
+
function dt(t) {
|
|
28
|
+
t = t.replace(C, (r, o, s, e) => o + o + s + s + e + e);
|
|
29
|
+
const n = N.exec(t);
|
|
30
|
+
return n ? {
|
|
31
|
+
r: parseInt(n[1], 16),
|
|
32
|
+
g: parseInt(n[2], 16),
|
|
33
|
+
b: parseInt(n[3], 16)
|
|
34
|
+
} : null;
|
|
35
|
+
}
|
|
36
|
+
function _(t) {
|
|
37
|
+
const n = t.toString(16);
|
|
38
|
+
return n.length == 1 ? "0" + n : n;
|
|
39
|
+
}
|
|
40
|
+
function It(t, n, r) {
|
|
41
|
+
return "#" + _(t) + _(n) + _(r);
|
|
42
|
+
}
|
|
43
|
+
function i(t, n = T) {
|
|
44
|
+
const r = n != null && n.h ? [n.h.min, n.h.max] : [0, 360], o = n != null && n.s ? [n.s.min, n.s.max] : [0, 100], s = n != null && n.l ? [n.l.min, n.l.max] : [0, 100], e = S(t), A = E(e, ...r), f = E(e, ...o), O = E(e, ...s);
|
|
45
|
+
return {
|
|
46
|
+
h: A,
|
|
47
|
+
s: f,
|
|
48
|
+
l: O
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function D(t) {
|
|
52
|
+
return `hsl(${t.h}, ${t.s}%, ${t.l}%)`;
|
|
53
|
+
}
|
|
54
|
+
function Lt(t, n = T) {
|
|
55
|
+
return D(i(t, n));
|
|
56
|
+
}
|
|
57
|
+
function X(t = []) {
|
|
58
|
+
return t.flatMap((n) => Array.isArray(n) ? X(n) : n);
|
|
59
|
+
}
|
|
60
|
+
const Mt = (t) => t === 0 ? "0" : `${t / 16}rem`;
|
|
61
|
+
function ht(t, n) {
|
|
62
|
+
return typeof t != "string" || !t ? "" : (t.match(g) ?? []).reduce((r, o) => r + (+o == 0 || parseInt(o) ? parseInt(o) : o[0] || ""), "").toUpperCase().substring(0, n);
|
|
63
|
+
}
|
|
64
|
+
const Ht = (t, n) => n.concat(t), p = (t, n) => {
|
|
65
|
+
const { parentElement: r } = n;
|
|
66
|
+
return r ? t === r ? !0 : p(t, r) : !1;
|
|
67
|
+
}, c = (t) => Array.isArray(t), P = (t, n) => {
|
|
68
|
+
const { parentElement: r } = t;
|
|
69
|
+
return r ? n === r ? !0 : P(r, n) : !1;
|
|
70
|
+
}, $t = (t) => u(t) ? !0 : L(t) || c(t) ? t.length === 0 : R(t) ? Object.keys(t).length === 0 : !1, d = (t, n) => {
|
|
71
|
+
if (Object.is(t, n))
|
|
72
|
+
return !0;
|
|
73
|
+
if (c(t) && c(n))
|
|
74
|
+
return t.length === n.length && t.every((r, o) => r === n[o]);
|
|
75
|
+
if (R(t) && R(n)) {
|
|
76
|
+
const r = Object.keys(t), o = Object.keys(n);
|
|
77
|
+
return d(r, o) && r.every((s) => t[s] === n[s]);
|
|
78
|
+
}
|
|
79
|
+
return !1;
|
|
80
|
+
}, u = (t) => I(t) || i$1(t), I = (t) => t === null, yt = (t) => typeof t == "number", R = (t) => typeof t == "object" && (t == null ? void 0 : t.constructor) === Object, L = (t) => typeof t == "string", Ft = (t) => u(t) ? [] : c(t) ? t : [t];
|
|
81
|
+
function Bt(t) {
|
|
82
|
+
return t.replace(/var\((.*)\)/, (n, r) => r);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export { $, At as A, B, Ct as C, Dt as D, Et as E, F, G, H, ft as I, J, K, at as L, gt as M, Nt as N, Ot as O, Pt as P, Q, Rt as R, St as S, T, U, V, W, Xt as X, Y, Z, _t as _, N as a, Bt as a0, X as a1, Lt as a2, i as a3, ht as a4, S as a5, dt as a6, D as a7, Ht as a8, p as a9, c as aa, P as ab, $t as ac, d as ad, u as ae, I as af, yt as ag, R as ah, L as ai, i$1 as aj, E as ak, Mt as al, It as am, Ft as an, b, ct as c, C as d, et as e, Tt as f, g, h, it as i, j, k, l, m, nt as n, ot as o, pt as p, q, rt as r, st as s, tt as t, ut as u, v, w, x, y, z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components-vue2",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0",
|
|
4
4
|
"description": "Vue components library for v2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"exports": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"@codemirror/view": "^6",
|
|
40
40
|
"@floating-ui/dom": "1.5.3",
|
|
41
41
|
"@lezer/highlight": "*",
|
|
42
|
-
"@onereach/styles": "^
|
|
43
|
-
"@onereach/ui-components-common": "^
|
|
42
|
+
"@onereach/styles": "^21.0.0",
|
|
43
|
+
"@onereach/ui-components-common": "^21.0.0",
|
|
44
44
|
"@splidejs/splide": "4.0.6",
|
|
45
45
|
"@tiptap/core": "2.0.3",
|
|
46
46
|
"@tiptap/extension-blockquote": "2.0.3",
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"access": "public"
|
|
105
105
|
},
|
|
106
106
|
"npmUnpacked": "4.15.2",
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "1b0b3229bd78b1c713901758e3bab1567d899cd6"
|
|
108
108
|
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import r from 'lodash/get';
|
|
2
|
-
import n from 'lodash/isElement';
|
|
3
|
-
|
|
4
|
-
const s = typeof window < "u" ? window : null, g = (s == null ? void 0 : s.MutationObserver) || (s == null ? void 0 : s.WebKitMutationObserver) || (s == null ? void 0 : s.MozMutationObserver) || null, b = ((s == null ? void 0 : s.requestAnimationFrame) || (s == null ? void 0 : s.webkitRequestAnimationFrame) || (s == null ? void 0 : s.mozRequestAnimationFrame) || (s == null ? void 0 : s.msRequestAnimationFrame) || (s == null ? void 0 : s.oRequestAnimationFrame) || // Fallback, but not a true polyfill
|
|
5
|
-
// Only needed for Opera Mini
|
|
6
|
-
((t) => setTimeout(t, 16))).bind(s), A = ((s == null ? void 0 : s.requestIdleCallback) || // Fallback, but not a true polyfill
|
|
7
|
-
((t) => setTimeout(t, 1))).bind(s), y = ((s == null ? void 0 : s.cancelAnimationFrame) || (s == null ? void 0 : s.mozCancelAnimationFrame)).bind(s), w = (t) => {
|
|
8
|
-
t && t.parentNode && t.parentNode.removeChild(t);
|
|
9
|
-
}, C = (t) => r(t, ["offsetHeight"], null), F = (t, e) => [...(e && n(e) ? e : document).querySelectorAll(t)], h = (t, e) => (e && n(e) ? e : document).querySelector(t) || null, q = (t, e) => t && typeof t.contains == "function" ? t.contains(e) : !1, v = (t) => document.getElementById(/^#/.test(t) ? t.slice(1) : t) || null, S = (t, e) => {
|
|
10
|
-
e && n(t) && t.classList && t.classList.add(e);
|
|
11
|
-
}, x = (t, e) => {
|
|
12
|
-
e && n(t) && t.classList && t.classList.remove(e);
|
|
13
|
-
}, E = (t, e) => e && n(t) && t.classList ? t.classList.contains(e) : !1, L = (t, e, o) => {
|
|
14
|
-
e && n(t) && t.setAttribute(e, o);
|
|
15
|
-
}, M = (t, e) => {
|
|
16
|
-
e && n(t) && t.removeAttribute(e);
|
|
17
|
-
}, R = (t, e) => e && n(t) ? t.getAttribute(e) : null, T = (t, e) => e && n(t) ? t.hasAttribute(e) : null, z = (t, e, o) => {
|
|
18
|
-
e && n(t) && (t.style[e] = o);
|
|
19
|
-
}, B = (t, e) => {
|
|
20
|
-
e && n(t) && (t.style[e] = "");
|
|
21
|
-
}, k = (t, e) => e && n(t) && t.style[e] || null, m = (t) => n(t) ? t.getBoundingClientRect() : null, c = (t) => r(s, "getComputedStyle", null) && n(t) ? getComputedStyle(t) : {}, u = (t) => {
|
|
22
|
-
const e = {
|
|
23
|
-
top: 0,
|
|
24
|
-
left: 0
|
|
25
|
-
};
|
|
26
|
-
if (!n(t) || t.getClientRects().length === 0)
|
|
27
|
-
return e;
|
|
28
|
-
const o = m(t);
|
|
29
|
-
if (o) {
|
|
30
|
-
const i = t.ownerDocument.defaultView;
|
|
31
|
-
e.top = o.top + r(i, "pageYOffset", 0), e.left = o.left + r(i, "pageXOffset", 0);
|
|
32
|
-
}
|
|
33
|
-
return e;
|
|
34
|
-
}, P = (t) => {
|
|
35
|
-
let e = {
|
|
36
|
-
top: 0,
|
|
37
|
-
left: 0
|
|
38
|
-
};
|
|
39
|
-
if (!n(t))
|
|
40
|
-
return e;
|
|
41
|
-
let o = {
|
|
42
|
-
top: 0,
|
|
43
|
-
left: 0
|
|
44
|
-
};
|
|
45
|
-
const i = c(t);
|
|
46
|
-
if (i.position === "fixed")
|
|
47
|
-
e = m(t) || e;
|
|
48
|
-
else {
|
|
49
|
-
e = u(t);
|
|
50
|
-
const l = t.ownerDocument;
|
|
51
|
-
let a = t.offsetParent || l.documentElement;
|
|
52
|
-
for (; a && (a === l.body || a === l.documentElement) && c(a).position === "static"; )
|
|
53
|
-
a = a.parentNode;
|
|
54
|
-
if (a && a !== t && a.nodeType === Node.ELEMENT_NODE) {
|
|
55
|
-
o = u(a);
|
|
56
|
-
const f = c(a);
|
|
57
|
-
o.top += parseFloat(f.borderTopWidth), o.left += parseFloat(f.borderLeftWidth);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
top: e.top - o.top - parseFloat(i.marginTop),
|
|
62
|
-
left: e.left - o.left - parseFloat(i.marginLeft)
|
|
63
|
-
};
|
|
64
|
-
}, _ = (t) => {
|
|
65
|
-
let e = 0;
|
|
66
|
-
for (; t; ) {
|
|
67
|
-
const i = c(t).zIndex;
|
|
68
|
-
i !== "auto" && (e = +i > e ? +i : e), t = t.parentElement;
|
|
69
|
-
}
|
|
70
|
-
return e;
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
export { A, B, C, E, F, L, M, P, R, S, T, _, b, c, g, h, k, m, q, u, v, w, x, y, z };
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import './dom-DzNS5tBj-6d9cf0ef.js';
|
|
2
|
-
|
|
3
|
-
const i$1 = (e) => e === void 0;
|
|
4
|
-
|
|
5
|
-
const R = {
|
|
6
|
-
h: {
|
|
7
|
-
min: 0,
|
|
8
|
-
max: 360
|
|
9
|
-
},
|
|
10
|
-
s: {
|
|
11
|
-
min: 50,
|
|
12
|
-
max: 75
|
|
13
|
-
},
|
|
14
|
-
l: {
|
|
15
|
-
min: 60,
|
|
16
|
-
max: 80
|
|
17
|
-
}
|
|
18
|
-
}, H = 8, $ = 19, y = 46, B = 40, F = 35, m = 13, G = 27, b = 36, U = 37, l = 34, x = 33, j = 39, K = 32, V = 38, W = "top-start", k = "top-end", w = "bottom-start", z = "bottom-end", Y = "right-start", Z = "right-end", q = "left-start", Q = "left-end", J = /\[(\d+)]/g, v = /^(BV?)/, ss = /^\d+$/, ns = /^\..+/, ts = /^#/, rs = /^#[A-Za-z]+[\w\-:.]*$/, as = /(<([^>]+)>)/gi, os = /\B([A-Z])/g, es = /([a-z])([A-Z])/g, cs = /^[0-9]*\.?[0-9]+$/, Es = /\+/g, _s = /[-/\\^$*+?.()|[\]{}]/g, Rs = /[\s\uFEFF\xA0]+/g, Ts = /\s+/, us = /\/\*$/, As = /(\s|^)(\w)/g, fs = /^\s+/, Os = /\s+$/, Cs = /_/g, gs = /-(\w)/g, C = /[\p{Alpha}\p{Nd}]+/gu, Ns = /^\d+-\d\d?-\d\d?(?:\s|T|$)/, Ss = /-|\s|T/, Ds = /^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/, Xs = /^.*(#[^#]+)$/, is = /%2C/g, ps = /[!'()*]/g, Ps = /^(\?|#|&)/, g = /^#?([a-f\d])([a-f\d])([a-f\d])$/i, N = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i, ds = (s, n) => n.filter((t) => t !== s);
|
|
19
|
-
function S(s) {
|
|
20
|
-
return Math.abs(
|
|
21
|
-
s.split("").reduce((n, t) => t.charCodeAt(0) + ((n << 5) - n), 0)
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
function c(s, n, t) {
|
|
25
|
-
return Math.floor(s % (t - n) + n);
|
|
26
|
-
}
|
|
27
|
-
function Is(s) {
|
|
28
|
-
s = s.replace(g, (t, r, a, o) => r + r + a + a + o + o);
|
|
29
|
-
const n = N.exec(s);
|
|
30
|
-
return n ? {
|
|
31
|
-
r: parseInt(n[1], 16),
|
|
32
|
-
g: parseInt(n[2], 16),
|
|
33
|
-
b: parseInt(n[3], 16)
|
|
34
|
-
} : null;
|
|
35
|
-
}
|
|
36
|
-
function E(s) {
|
|
37
|
-
const n = s.toString(16);
|
|
38
|
-
return n.length == 1 ? "0" + n : n;
|
|
39
|
-
}
|
|
40
|
-
function Ls(s, n, t) {
|
|
41
|
-
return "#" + E(s) + E(n) + E(t);
|
|
42
|
-
}
|
|
43
|
-
function D(s, n = R) {
|
|
44
|
-
const t = n != null && n.h ? [n.h.min, n.h.max] : [0, 360], r = n != null && n.s ? [n.s.min, n.s.max] : [0, 100], a = n != null && n.l ? [n.l.min, n.l.max] : [0, 100], o = S(s), u = c(o, ...t), A = c(o, ...r), f = c(o, ...a);
|
|
45
|
-
return {
|
|
46
|
-
h: u,
|
|
47
|
-
s: A,
|
|
48
|
-
l: f
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
function X(s) {
|
|
52
|
-
return `hsl(${s.h}, ${s.s}%, ${s.l}%)`;
|
|
53
|
-
}
|
|
54
|
-
function Ms(s, n = R) {
|
|
55
|
-
return X(D(s, n));
|
|
56
|
-
}
|
|
57
|
-
function i(s = []) {
|
|
58
|
-
return s.flatMap((n) => Array.isArray(n) ? i(n) : n);
|
|
59
|
-
}
|
|
60
|
-
const hs = (s) => s === 0 ? "0" : `${s / 16}rem`;
|
|
61
|
-
function Hs(s, n) {
|
|
62
|
-
return typeof s != "string" || !s ? "" : (s.match(C) ?? []).reduce((t, r) => t + (+r == 0 || parseInt(r) ? parseInt(r) : r[0] || ""), "").toUpperCase().substring(0, n);
|
|
63
|
-
}
|
|
64
|
-
const $s = (s, n) => n.concat(s), p = (s, n) => {
|
|
65
|
-
const { parentElement: t } = n;
|
|
66
|
-
return t ? s === t ? !0 : p(s, t) : !1;
|
|
67
|
-
}, e = (s) => Array.isArray(s), P = (s, n) => {
|
|
68
|
-
const { parentElement: t } = s;
|
|
69
|
-
return t ? n === t ? !0 : P(t, n) : !1;
|
|
70
|
-
}, ys = (s) => T(s) ? !0 : L(s) || e(s) ? s.length === 0 : _(s) ? Object.keys(s).length === 0 : !1, d = (s, n) => {
|
|
71
|
-
if (Object.is(s, n))
|
|
72
|
-
return !0;
|
|
73
|
-
if (e(s) && e(n))
|
|
74
|
-
return s.length === n.length && s.every((t, r) => t === n[r]);
|
|
75
|
-
if (_(s) && _(n)) {
|
|
76
|
-
const t = Object.keys(s), r = Object.keys(n);
|
|
77
|
-
return d(t, r) && t.every((a) => s[a] === n[a]);
|
|
78
|
-
}
|
|
79
|
-
return !1;
|
|
80
|
-
}, T = (s) => I(s) || i$1(s), I = (s) => s === null, Bs = (s) => typeof s == "number", _ = (s) => typeof s == "object" && (s == null ? void 0 : s.constructor) === Object, L = (s) => typeof s == "string", Fs = (s) => T(s) ? [] : e(s) ? s : [s];
|
|
81
|
-
function ms(s) {
|
|
82
|
-
return s.replace(/var\((.*)\)/, (n, t) => t);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export { $, As as A, B, C, Ds as D, Es as E, F, G, H, Cs as I, J, K, gs as L, ds as M, Ns as N, Os as O, Ps as P, Q, R, Ss as S, Ts as T, U, V, W, Xs as X, Y, Z, _s as _, as as a, ms as a0, i as a1, Ms as a2, D as a3, Hs as a4, S as a5, Is as a6, X as a7, $s as a8, p as a9, e as aa, P as ab, ys as ac, d as ad, T as ae, I as af, Bs as ag, _ as ah, L as ai, i$1 as aj, c as ak, hs as al, Ls as am, Fs as an, b, N as c, cs as d, es as e, Rs as f, g, fs as h, is as i, j, k, l, m, ns as n, os as o, ps as p, q, rs as r, ss as s, ts as t, us as u, v, w, x, y, z };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import './dom-DzNS5tBj-6d9cf0ef.js';
|
|
2
|
-
import { aj as i } from './extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
3
|
-
|
|
4
|
-
const a = (t, r) => {
|
|
5
|
-
const e = r.find((n) => t === n.value);
|
|
6
|
-
if (i(e))
|
|
7
|
-
throw new Error("[getItemByValue]: Item not found.");
|
|
8
|
-
return e;
|
|
9
|
-
}, m = (t, r) => t.map((e) => a(e, r)), l = async (t, r) => r.filter((e) => new RegExp(t, "i").test(e.label));
|
|
10
|
-
|
|
11
|
-
export { a, l, m };
|