@onereach/ui-components-vue2 20.1.2 → 20.1.3
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-459d4e8e.js → OrDateTimePicker-0317db9e.js} +4 -4
- package/dist/esm/{OrDateTimePickerMonthSelect-048b64ac.js → OrDateTimePickerMonthSelect-c63eb012.js} +2 -2
- package/dist/esm/{OrDateTimePickerTimeSelect-e6effddf.js → OrDateTimePickerTimeSelect-c0fd4c32.js} +2 -2
- package/dist/esm/{OrSkeletonText-0a949808.js → OrSkeletonText-32afddae.js} +2 -2
- package/dist/esm/components/index.js +9 -9
- package/dist/esm/components/or-autocomplete-v3/index.js +5 -5
- package/dist/esm/components/or-avatar-v3/index.js +2 -2
- package/dist/esm/components/or-bottom-sheet-v3/index.js +2 -2
- package/dist/esm/components/or-card-collection-v3/index.js +3 -3
- 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 +5 -5
- 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 +12 -10
- package/dist/esm/components/or-date-format-v3/index.js +3 -3
- package/dist/esm/components/or-date-picker-v3/index.js +5 -5
- package/dist/esm/components/or-date-range-picker-v3/index.js +5 -5
- package/dist/esm/components/or-date-time-format-v3/index.js +4 -4
- package/dist/esm/components/or-date-time-picker-v3/index.js +7 -7
- package/dist/esm/components/or-drawer-v3/index.js +2 -2
- package/dist/esm/components/or-drop-area-v3/index.js +2 -2
- package/dist/esm/components/or-editor-tabs-v3/index.js +4 -4
- package/dist/esm/components/or-expansion-panel-v3/index.js +2 -2
- package/dist/esm/components/or-filter-popover-v3/index.js +3 -3
- package/dist/esm/components/or-filter-trigger-v3/index.js +3 -3
- package/dist/esm/components/or-filter-v3/index.js +3 -3
- package/dist/esm/components/or-icon-button-v3/index.js +3 -3
- package/dist/esm/components/or-inline-input-v3/index.js +5 -5
- package/dist/esm/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/esm/components/or-input-v3/index.js +5 -5
- package/dist/esm/components/or-list-v3/index.js +3 -3
- package/dist/esm/components/or-menu-item-v3/index.js +3 -3
- package/dist/esm/components/or-menu-v3/index.js +5 -4
- package/dist/esm/components/or-modal-v3/index.js +3 -3
- package/dist/esm/components/or-notification-v3/index.js +3 -3
- package/dist/esm/components/or-overlay-v3/index.js +3 -3
- package/dist/esm/components/or-pagination-v3/index.js +3 -3
- package/dist/esm/components/or-popover-v3/index.js +10 -6
- package/dist/esm/components/or-progress-v3/index.js +2 -2
- package/dist/esm/components/or-radio-group-v3/index.js +2 -2
- package/dist/esm/components/or-radio-v3/index.js +4 -4
- package/dist/esm/components/or-range-slider-v3/index.js +3 -3
- package/dist/esm/components/or-rating-v3/index.js +2 -2
- 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 +5 -5
- package/dist/esm/components/or-segmented-control-v3/index.js +2 -2
- package/dist/esm/components/or-select-v3/index.js +4 -4
- package/dist/esm/components/or-sidebar-v3/index.js +3 -3
- package/dist/esm/components/or-skeleton-v3/index.js +4 -4
- 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 +5 -5
- package/dist/esm/components/or-tag-v3/index.js +3 -3
- package/dist/esm/components/or-tags-v3/index.js +3 -3
- package/dist/esm/components/or-textarea-v3/index.js +9 -9
- package/dist/esm/components/or-time-format-v3/index.js +3 -3
- package/dist/esm/components/or-time-picker-v3/index.js +5 -5
- package/dist/esm/components/or-time-range-picker-v3/index.js +5 -5
- package/dist/esm/components/or-toast-v3/index.js +4 -4
- package/dist/esm/components/or-tooltip-v3/index.js +5 -4
- package/dist/esm/{dom-CwV-xS38-5babad01.js → dom-DzNS5tBj-6d9cf0ef.js} +15 -14
- package/dist/esm/{extractCssVarName-IHa2pGlF-d99daa2a.js → extractCssVarName-FgXy_HI0-52cc18b9.js} +1 -1
- package/dist/esm/{formatTime-a57e068a.js → formatTime-a528caa3.js} +1 -1
- package/dist/esm/index.js +9 -9
- package/dist/esm/{searchItemsByLabel-BhinsABA-f7946859.js → searchItemsByLabel-CPGAoUEr-0aa65960.js} +2 -2
- package/dist/esm/{useValidationAttributes-DxhcSj_h-373e04c1.js → useValidationAttributes-Cilw02AC-255a86e4.js} +62 -54
- package/package.json +4 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { al as hs } from '../../extractCssVarName-
|
|
3
|
-
import '../../dom-
|
|
4
|
-
import { S as SkeletonRoot, a as SkeletonCircle, b as SkeletonAnimated, c as SkeletonRect } from '../../OrSkeletonText-
|
|
5
|
-
export { O as OrSkeletonTextV3 } from '../../OrSkeletonText-
|
|
2
|
+
import { al as hs } from '../../extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
3
|
+
import '../../dom-DzNS5tBj-6d9cf0ef.js';
|
|
4
|
+
import { S as SkeletonRoot, a as SkeletonCircle, b as SkeletonAnimated, c as SkeletonRect } from '../../OrSkeletonText-32afddae.js';
|
|
5
|
+
export { O as OrSkeletonTextV3 } from '../../OrSkeletonText-32afddae.js';
|
|
6
6
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
7
7
|
import 'lodash/get';
|
|
8
8
|
import 'lodash/isElement';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { useElementBounding, useElementHover, useDraggable, clamp } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
3
|
-
import {
|
|
3
|
+
import { a as re } from '../../useValidationAttributes-Cilw02AC-255a86e4.js';
|
|
4
4
|
import { a as SliderOrientation, S as SliderColor } from '../../types-75a1cc13.js';
|
|
5
5
|
import { OrTooltipV3 as OrTooltip } from '../or-tooltip-v3/index.js';
|
|
6
6
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
7
|
-
import '../../dom-
|
|
7
|
+
import '../../dom-DzNS5tBj-6d9cf0ef.js';
|
|
8
8
|
import 'lodash/get';
|
|
9
9
|
import 'lodash/isElement';
|
|
10
10
|
import '@onereach/styles/screens.json';
|
|
11
11
|
import '@onereach/styles/tailwind.config.json';
|
|
12
12
|
import '../or-popover-v3/index.js';
|
|
13
13
|
import '@floating-ui/dom';
|
|
14
|
-
import '../../extractCssVarName-
|
|
14
|
+
import '../../extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
15
15
|
import '../or-bottom-sheet-v3/index.js';
|
|
16
16
|
import '../or-overlay-v3/index.js';
|
|
17
17
|
import '../or-teleport-v3/index.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { a as re } from '../../useValidationAttributes-Cilw02AC-255a86e4.js';
|
|
3
3
|
import { OrButtonV3 as OrButton } from '../or-button-v3/index.js';
|
|
4
4
|
import { OrIconV3 as OrIcon } from '../or-icon-v3/index.js';
|
|
5
5
|
import { OrMenuV3 as OrMenu } from '../or-menu-v3/index.js';
|
|
6
6
|
import { OrMenuItemV3 as OrMenuItem } from '../or-menu-item-v3/index.js';
|
|
7
7
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
8
|
-
import '../../dom-
|
|
8
|
+
import '../../dom-DzNS5tBj-6d9cf0ef.js';
|
|
9
9
|
import 'lodash/get';
|
|
10
10
|
import 'lodash/isElement';
|
|
11
11
|
import '@vueuse/core';
|
|
@@ -16,7 +16,7 @@ import '../../props-bba3dca8.js';
|
|
|
16
16
|
import '../or-loader-v3/index.js';
|
|
17
17
|
import '../or-popover-v3/index.js';
|
|
18
18
|
import '@floating-ui/dom';
|
|
19
|
-
import '../../extractCssVarName-
|
|
19
|
+
import '../../extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
20
20
|
import '../or-bottom-sheet-v3/index.js';
|
|
21
21
|
import '../or-overlay-v3/index.js';
|
|
22
22
|
import '../or-teleport-v3/index.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import {
|
|
3
|
-
import { aa as e, aj as i, a8 as $s, M as ds } from '../../extractCssVarName-
|
|
4
|
-
import '../../dom-
|
|
2
|
+
import { N, k, a as re } from '../../useValidationAttributes-Cilw02AC-255a86e4.js';
|
|
3
|
+
import { aa as e, aj as i, a8 as $s, M as ds } from '../../extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
4
|
+
import '../../dom-DzNS5tBj-6d9cf0ef.js';
|
|
5
5
|
import { OrLabelV3 as OrLabel, LabelVariant } from '../or-label-v3/index.js';
|
|
6
6
|
import { OrLoaderV3 as OrLoader } from '../or-loader-v3/index.js';
|
|
7
7
|
import { s as styleInject } from '../../style-inject.es-87955792.js';
|
|
@@ -106,8 +106,8 @@ var script = defineComponent({
|
|
|
106
106
|
expose: ['root', 'focus', 'blur'],
|
|
107
107
|
setup(props, context) {
|
|
108
108
|
const attributes = reactive({
|
|
109
|
-
id:
|
|
110
|
-
...
|
|
109
|
+
id: N(),
|
|
110
|
+
...k()
|
|
111
111
|
});
|
|
112
112
|
// Refs & Styles
|
|
113
113
|
const root = ref();
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { useResizeObserver } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, reactive, toRef, watch, nextTick, onMounted } from 'vue-demi';
|
|
3
|
-
import {
|
|
3
|
+
import { a as re } from '../../useValidationAttributes-Cilw02AC-255a86e4.js';
|
|
4
4
|
import { OrIconV3 as OrIcon } from '../or-icon-v3/index.js';
|
|
5
5
|
import { OrMenuV3 as OrMenu } from '../or-menu-v3/index.js';
|
|
6
6
|
import { OrMenuItemV3 as OrMenuItem } from '../or-menu-item-v3/index.js';
|
|
7
7
|
import { OrTabV3 as OrTab } from '../or-tab-v3/index.js';
|
|
8
8
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
9
|
-
import '../../dom-
|
|
9
|
+
import '../../dom-DzNS5tBj-6d9cf0ef.js';
|
|
10
10
|
import 'lodash/get';
|
|
11
11
|
import 'lodash/isElement';
|
|
12
12
|
import '@onereach/styles/screens.json';
|
|
13
13
|
import '@onereach/styles/tailwind.config.json';
|
|
14
14
|
import '../or-popover-v3/index.js';
|
|
15
15
|
import '@floating-ui/dom';
|
|
16
|
-
import '../../extractCssVarName-
|
|
16
|
+
import '../../extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
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';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { onClickOutside } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, toRefs, computed, reactive, watch, nextTick } from 'vue-demi';
|
|
3
|
-
import { n as ne,
|
|
4
|
-
import { an as Fs, a8 as $s, M as ds } from '../../extractCssVarName-
|
|
5
|
-
import '../../dom-
|
|
3
|
+
import { n as ne, N, k, c as ie, a as re } from '../../useValidationAttributes-Cilw02AC-255a86e4.js';
|
|
4
|
+
import { an as Fs, a8 as $s, M as ds } from '../../extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
5
|
+
import '../../dom-DzNS5tBj-6d9cf0ef.js';
|
|
6
6
|
import { OrErrorV3 as OrError } from '../or-error-v3/index.js';
|
|
7
7
|
import { OrHintV3 as OrHint } from '../or-hint-v3/index.js';
|
|
8
8
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3/index.js';
|
|
@@ -147,8 +147,8 @@ var script = defineComponent({
|
|
|
147
147
|
const inputBoxStyles = computed(() => ['interactivity-select', ...props.additionalInputBoxStyles]);
|
|
148
148
|
// State
|
|
149
149
|
const controlAttributes = reactive({
|
|
150
|
-
id:
|
|
151
|
-
...
|
|
150
|
+
id: N(),
|
|
151
|
+
...k(),
|
|
152
152
|
...ie()
|
|
153
153
|
});
|
|
154
154
|
const activated = ref(false);
|
|
@@ -4,8 +4,8 @@ import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
|
4
4
|
import '../../constants-2e3ea701.js';
|
|
5
5
|
import '../or-icon-v3/index.js';
|
|
6
6
|
import '../or-tooltip-v3/index.js';
|
|
7
|
-
import '../../useValidationAttributes-
|
|
8
|
-
import '../../dom-
|
|
7
|
+
import '../../useValidationAttributes-Cilw02AC-255a86e4.js';
|
|
8
|
+
import '../../dom-DzNS5tBj-6d9cf0ef.js';
|
|
9
9
|
import 'lodash/get';
|
|
10
10
|
import 'lodash/isElement';
|
|
11
11
|
import '@vueuse/core';
|
|
@@ -13,7 +13,7 @@ import '@onereach/styles/screens.json';
|
|
|
13
13
|
import '@onereach/styles/tailwind.config.json';
|
|
14
14
|
import '../or-popover-v3/index.js';
|
|
15
15
|
import '@floating-ui/dom';
|
|
16
|
-
import '../../extractCssVarName-
|
|
16
|
+
import '../../extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
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';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, nextTick } from 'vue-demi';
|
|
2
|
-
import { e as ee } from '../../useValidationAttributes-
|
|
2
|
+
import { e as ee } from '../../useValidationAttributes-Cilw02AC-255a86e4.js';
|
|
3
3
|
import { OrButtonV3 as OrButton } from '../or-button-v3/index.js';
|
|
4
4
|
import { OrPopoverV3 as OrPopover } from '../or-popover-v3/index.js';
|
|
5
5
|
import { OrTagV3 as OrTag } from '../or-tag-v3/index.js';
|
|
6
6
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
7
|
-
import '../../dom-
|
|
7
|
+
import '../../dom-DzNS5tBj-6d9cf0ef.js';
|
|
8
8
|
import 'lodash/get';
|
|
9
9
|
import 'lodash/isElement';
|
|
10
10
|
import '@vueuse/core';
|
|
@@ -14,7 +14,7 @@ import '../../constants-2e3ea701.js';
|
|
|
14
14
|
import '../../props-bba3dca8.js';
|
|
15
15
|
import '../or-loader-v3/index.js';
|
|
16
16
|
import '@floating-ui/dom';
|
|
17
|
-
import '../../extractCssVarName-
|
|
17
|
+
import '../../extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
18
18
|
import '../or-bottom-sheet-v3/index.js';
|
|
19
19
|
import '../or-overlay-v3/index.js';
|
|
20
20
|
import '../or-teleport-v3/index.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useTextareaAutosize } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, reactive, ref, computed, toRef } from 'vue-demi';
|
|
3
|
-
import {
|
|
4
|
-
import { ah as _
|
|
5
|
-
import '../../dom-
|
|
3
|
+
import { N, k, c as ie, a as re } from '../../useValidationAttributes-Cilw02AC-255a86e4.js';
|
|
4
|
+
import { ah as _ } from '../../extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
5
|
+
import '../../dom-DzNS5tBj-6d9cf0ef.js';
|
|
6
6
|
import { b as InputBoxSize, a as InputBoxVariant } from '../../types-98e9a758.js';
|
|
7
7
|
import { OrErrorV3 as OrError } from '../or-error-v3/index.js';
|
|
8
8
|
import { OrHintV3 as OrHint } from '../or-hint-v3/index.js';
|
|
@@ -106,23 +106,23 @@ var script = defineComponent({
|
|
|
106
106
|
expose: ['root', 'focus', 'blur'],
|
|
107
107
|
setup(props, context) {
|
|
108
108
|
const attributes = reactive({
|
|
109
|
-
id:
|
|
110
|
-
...
|
|
109
|
+
id: N(),
|
|
110
|
+
...k(),
|
|
111
111
|
...ie()
|
|
112
112
|
});
|
|
113
113
|
// Refs & Styles
|
|
114
114
|
const root = ref();
|
|
115
115
|
const rootStyles = computed(() => ['or-textarea-v3', ...Textarea, ...(props.variant === InputBoxVariant.Embedded ? ['grow'] : [])]);
|
|
116
116
|
const control = ref();
|
|
117
|
-
const controlStyles = computed(() => [...TextareaControl, ...TextareaControlSizes[props.size], ...(_
|
|
117
|
+
const controlStyles = computed(() => [...TextareaControl, ...TextareaControlSizes[props.size], ...(_(props.rows) ? ['resize-none'] : [])]);
|
|
118
118
|
const controlInlineStyles = computed(() => {
|
|
119
119
|
if (control.value) {
|
|
120
120
|
const paddingTop = Number(getComputedStyle(control.value).getPropertyValue('padding-top').match(/^(?<value>\d+)px$/).groups.value);
|
|
121
121
|
const paddingBottom = Number(getComputedStyle(control.value).getPropertyValue('padding-bottom').match(/^(?<value>\d+)px$/).groups.value);
|
|
122
122
|
const lineHeight = Number(getComputedStyle(control.value).getPropertyValue('line-height').match(/^(?<value>\d+)px$/).groups.value);
|
|
123
123
|
return {
|
|
124
|
-
minHeight: `${paddingTop + paddingBottom + (_
|
|
125
|
-
maxHeight: _
|
|
124
|
+
minHeight: `${paddingTop + paddingBottom + (_(props.rows) ? props.rows.min : props.rows) * lineHeight}px`,
|
|
125
|
+
maxHeight: _(props.rows) && props.rows.max ? `${paddingTop + paddingBottom + props.rows.max * lineHeight}px` : undefined
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
128
|
return {};
|
|
@@ -148,7 +148,7 @@ var script = defineComponent({
|
|
|
148
148
|
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
149
149
|
}
|
|
150
150
|
// Effects
|
|
151
|
-
if (_
|
|
151
|
+
if (_(props.rows)) {
|
|
152
152
|
// Unluckily, `useTextareaAutosize` doesn't have a teardown function
|
|
153
153
|
// So, dynamically changed `rows` won't have any effect
|
|
154
154
|
useTextareaAutosize({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import { o as oe, X } from '../../useValidationAttributes-
|
|
3
|
-
import { f as formatTime } from '../../formatTime-
|
|
2
|
+
import { o as oe, X } from '../../useValidationAttributes-Cilw02AC-255a86e4.js';
|
|
3
|
+
import { f as formatTime } from '../../formatTime-a528caa3.js';
|
|
4
4
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
5
|
-
import '../../dom-
|
|
5
|
+
import '../../dom-DzNS5tBj-6d9cf0ef.js';
|
|
6
6
|
import 'lodash/get';
|
|
7
7
|
import 'lodash/isElement';
|
|
8
8
|
import '@vueuse/core';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
2
2
|
import { s, c } from '../../dropdown-open-k6cFnrqA-5245a281.js';
|
|
3
|
-
import { o as oe, X,
|
|
4
|
-
import { O as OrDateTimePickerTimeControl, a as OrDateTimePickerTimeSelect, f as formatMobileTime } from '../../OrDateTimePickerTimeSelect-
|
|
3
|
+
import { o as oe, X, a as re } from '../../useValidationAttributes-Cilw02AC-255a86e4.js';
|
|
4
|
+
import { O as OrDateTimePickerTimeControl, a as OrDateTimePickerTimeSelect, f as formatMobileTime } from '../../OrDateTimePickerTimeSelect-c0fd4c32.js';
|
|
5
5
|
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader, g as getCurrentDate } from '../../OrDateTimePickerPopoverHeader-e2b3f8f2.js';
|
|
6
6
|
import { OrErrorV3 as OrError } from '../or-error-v3/index.js';
|
|
7
7
|
import { OrHintV3 as OrHint } from '../or-hint-v3/index.js';
|
|
@@ -12,20 +12,20 @@ import { OrLabelV3 as OrLabel } from '../or-label-v3/index.js';
|
|
|
12
12
|
import { OrPopoverV3 as OrPopover } from '../or-popover-v3/index.js';
|
|
13
13
|
import { a as InputBoxVariant } from '../../types-98e9a758.js';
|
|
14
14
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
15
|
-
import '../../dom-
|
|
15
|
+
import '../../dom-DzNS5tBj-6d9cf0ef.js';
|
|
16
16
|
import 'lodash/get';
|
|
17
17
|
import 'lodash/isElement';
|
|
18
18
|
import '@vueuse/core';
|
|
19
19
|
import '@onereach/styles/screens.json';
|
|
20
20
|
import '@onereach/styles/tailwind.config.json';
|
|
21
|
-
import '../../formatTime-
|
|
21
|
+
import '../../formatTime-a528caa3.js';
|
|
22
22
|
import '../or-button-v3/index.js';
|
|
23
23
|
import '../../constants-2e3ea701.js';
|
|
24
24
|
import '../../props-bba3dca8.js';
|
|
25
25
|
import '../or-loader-v3/index.js';
|
|
26
26
|
import '../or-tooltip-v3/index.js';
|
|
27
27
|
import '@floating-ui/dom';
|
|
28
|
-
import '../../extractCssVarName-
|
|
28
|
+
import '../../extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
29
29
|
import '../or-bottom-sheet-v3/index.js';
|
|
30
30
|
import '../or-overlay-v3/index.js';
|
|
31
31
|
import '../or-teleport-v3/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
2
2
|
import { s, c } from '../../dropdown-open-k6cFnrqA-5245a281.js';
|
|
3
|
-
import { o as oe, X,
|
|
3
|
+
import { o as oe, X, a as re, n as ne } from '../../useValidationAttributes-Cilw02AC-255a86e4.js';
|
|
4
4
|
import { OrErrorV3 as OrError } from '../or-error-v3/index.js';
|
|
5
5
|
import { OrHintV3 as OrHint } from '../or-hint-v3/index.js';
|
|
6
6
|
import { OrIconV3 as OrIcon } from '../or-icon-v3/index.js';
|
|
@@ -9,10 +9,10 @@ import { OrInputBoxV3 as OrInputBox } from '../or-input-box-v3/index.js';
|
|
|
9
9
|
import { OrLabelV3 as OrLabel } from '../or-label-v3/index.js';
|
|
10
10
|
import { OrPopoverV3 as OrPopover } from '../or-popover-v3/index.js';
|
|
11
11
|
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader, g as getCurrentDate } from '../../OrDateTimePickerPopoverHeader-e2b3f8f2.js';
|
|
12
|
-
import { O as OrDateTimePickerTimeControl, a as OrDateTimePickerTimeSelect, f as formatMobileTime } from '../../OrDateTimePickerTimeSelect-
|
|
12
|
+
import { O as OrDateTimePickerTimeControl, a as OrDateTimePickerTimeSelect, f as formatMobileTime } from '../../OrDateTimePickerTimeSelect-c0fd4c32.js';
|
|
13
13
|
import { a as InputBoxVariant } from '../../types-98e9a758.js';
|
|
14
14
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
15
|
-
import '../../dom-
|
|
15
|
+
import '../../dom-DzNS5tBj-6d9cf0ef.js';
|
|
16
16
|
import 'lodash/get';
|
|
17
17
|
import 'lodash/isElement';
|
|
18
18
|
import '@vueuse/core';
|
|
@@ -21,7 +21,7 @@ import '@onereach/styles/tailwind.config.json';
|
|
|
21
21
|
import '../../constants-2e3ea701.js';
|
|
22
22
|
import '../or-tooltip-v3/index.js';
|
|
23
23
|
import '@floating-ui/dom';
|
|
24
|
-
import '../../extractCssVarName-
|
|
24
|
+
import '../../extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
25
25
|
import '../or-bottom-sheet-v3/index.js';
|
|
26
26
|
import '../or-overlay-v3/index.js';
|
|
27
27
|
import '../or-teleport-v3/index.js';
|
|
@@ -29,7 +29,7 @@ import 'portal-vue';
|
|
|
29
29
|
import '../or-button-v3/index.js';
|
|
30
30
|
import '../../props-bba3dca8.js';
|
|
31
31
|
import '../or-loader-v3/index.js';
|
|
32
|
-
import '../../formatTime-
|
|
32
|
+
import '../../formatTime-a528caa3.js';
|
|
33
33
|
|
|
34
34
|
const TimeRangePicker = [
|
|
35
35
|
// Layout
|
|
@@ -4,15 +4,15 @@ import { OrLoaderV3 as OrLoader } from '../or-loader-v3/index.js';
|
|
|
4
4
|
import { s as styleInject } from '../../style-inject.es-87955792.js';
|
|
5
5
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
6
6
|
import { createSharedComposable, useEventBus, useToggle, noop } from '@vueuse/core';
|
|
7
|
-
import {
|
|
7
|
+
import { K } from '../../useValidationAttributes-Cilw02AC-255a86e4.js';
|
|
8
8
|
import { OrTeleportV3 as OrTeleport } from '../or-teleport-v3/index.js';
|
|
9
9
|
import '../../constants-2e3ea701.js';
|
|
10
10
|
import '../or-icon-v3/index.js';
|
|
11
11
|
import '../or-tooltip-v3/index.js';
|
|
12
12
|
import '../or-popover-v3/index.js';
|
|
13
13
|
import '@floating-ui/dom';
|
|
14
|
-
import '../../extractCssVarName-
|
|
15
|
-
import '../../dom-
|
|
14
|
+
import '../../extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
15
|
+
import '../../dom-DzNS5tBj-6d9cf0ef.js';
|
|
16
16
|
import 'lodash/get';
|
|
17
17
|
import 'lodash/isElement';
|
|
18
18
|
import '../or-bottom-sheet-v3/index.js';
|
|
@@ -438,7 +438,7 @@ var script = defineComponent({
|
|
|
438
438
|
off('toastUpdate', toastUpdate);
|
|
439
439
|
off('toastCloseAll', clearAll);
|
|
440
440
|
});
|
|
441
|
-
|
|
441
|
+
K(root, isActive);
|
|
442
442
|
return {
|
|
443
443
|
on,
|
|
444
444
|
off,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { t as te } from '../../useValidationAttributes-Cilw02AC-255a86e4.js';
|
|
3
3
|
import { PopoverPlacement, OrPopoverV3 as OrPopover } from '../or-popover-v3/index.js';
|
|
4
4
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
5
|
-
import '../../dom-
|
|
5
|
+
import '../../dom-DzNS5tBj-6d9cf0ef.js';
|
|
6
6
|
import 'lodash/get';
|
|
7
7
|
import 'lodash/isElement';
|
|
8
8
|
import '@vueuse/core';
|
|
9
9
|
import '@onereach/styles/screens.json';
|
|
10
10
|
import '@onereach/styles/tailwind.config.json';
|
|
11
11
|
import '@floating-ui/dom';
|
|
12
|
-
import '../../extractCssVarName-
|
|
12
|
+
import '../../extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
13
13
|
import '../or-bottom-sheet-v3/index.js';
|
|
14
14
|
import '../or-overlay-v3/index.js';
|
|
15
15
|
import '../or-teleport-v3/index.js';
|
|
@@ -184,7 +184,8 @@ var __vue_render__ = function () {
|
|
|
184
184
|
"placement": _vm.placement,
|
|
185
185
|
"fallback-placement": _vm.fallbackPlacement,
|
|
186
186
|
"offset": _vm.offset,
|
|
187
|
-
"disable-default-styles": true
|
|
187
|
+
"disable-default-styles": true,
|
|
188
|
+
"keep-alive": false
|
|
188
189
|
},
|
|
189
190
|
on: {
|
|
190
191
|
"update:state": function ($event) {
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import r from 'lodash/get';
|
|
2
2
|
import n from 'lodash/isElement';
|
|
3
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,
|
|
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
5
|
// Only needed for Opera Mini
|
|
6
|
-
((t) => setTimeout(t, 16))).bind(s),
|
|
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) => {
|
|
7
8
|
t && t.parentNode && t.parentNode.removeChild(t);
|
|
8
|
-
},
|
|
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) => {
|
|
9
10
|
e && n(t) && t.classList && t.classList.add(e);
|
|
10
|
-
},
|
|
11
|
+
}, x = (t, e) => {
|
|
11
12
|
e && n(t) && t.classList && t.classList.remove(e);
|
|
12
13
|
}, E = (t, e) => e && n(t) && t.classList ? t.classList.contains(e) : !1, L = (t, e, o) => {
|
|
13
14
|
e && n(t) && t.setAttribute(e, o);
|
|
14
|
-
},
|
|
15
|
+
}, M = (t, e) => {
|
|
15
16
|
e && n(t) && t.removeAttribute(e);
|
|
16
|
-
},
|
|
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) => {
|
|
17
18
|
e && n(t) && (t.style[e] = o);
|
|
18
|
-
},
|
|
19
|
+
}, B = (t, e) => {
|
|
19
20
|
e && n(t) && (t.style[e] = "");
|
|
20
|
-
},
|
|
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) => {
|
|
21
22
|
const e = {
|
|
22
23
|
top: 0,
|
|
23
24
|
left: 0
|
|
@@ -46,14 +47,14 @@ const s = typeof window < "u" ? window : null, g = (s == null ? void 0 : s.Mutat
|
|
|
46
47
|
e = m(t) || e;
|
|
47
48
|
else {
|
|
48
49
|
e = u(t);
|
|
49
|
-
const
|
|
50
|
-
let a = t.offsetParent ||
|
|
51
|
-
for (; a && (a ===
|
|
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"; )
|
|
52
53
|
a = a.parentNode;
|
|
53
54
|
if (a && a !== t && a.nodeType === Node.ELEMENT_NODE) {
|
|
54
55
|
o = u(a);
|
|
55
|
-
const
|
|
56
|
-
o.top += parseFloat(
|
|
56
|
+
const f = c(a);
|
|
57
|
+
o.top += parseFloat(f.borderTopWidth), o.left += parseFloat(f.borderLeftWidth);
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
60
|
return {
|
|
@@ -69,4 +70,4 @@ const s = typeof window < "u" ? window : null, g = (s == null ? void 0 : s.Mutat
|
|
|
69
70
|
return e;
|
|
70
71
|
};
|
|
71
72
|
|
|
72
|
-
export { A, B, C, E, F, L, M, P, R, S, T, _, b, c, g, h, m, q, u, v, w, x, y, z };
|
|
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 };
|
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 { a as getItemByValue, m as getItemsByValue, l as searchItemsByLabel } from './searchItemsByLabel-
|
|
3
|
-
export {
|
|
4
|
-
export { H as CODE_BACKSPACE, $ as CODE_BREAK, y as CODE_DELETE, B as CODE_DOWN, F as CODE_END, m as CODE_ENTER, G as CODE_ESC, b as CODE_HOME, U as CODE_LEFT, l as CODE_PAGEDOWN, x as CODE_PAGEUP, j as CODE_RIGHT, K as CODE_SPACE, V as CODE_UP, R as HSL_LIMITS, z as PLACEMENT_BOTTOM_END, w as PLACEMENT_BOTTOM_START, Q as PLACEMENT_LEFT_END, q as PLACEMENT_LEFT_START, Z as PLACEMENT_RIGHT_END, Y as PLACEMENT_RIGHT_START, k as PLACEMENT_TOP_END, W as PLACEMENT_TOP_START, C as RX_ABBREVIATION_FROM_STRING, J as RX_ARRAY_NOTATION, v as RX_BV_PREFIX, N as RX_DATE, S as RX_DATE_SPLIT, s as RX_DIGITS, i as RX_ENCODED_COMMA, p as RX_ENCODE_REVERSE, n as RX_EXTENSION, t as RX_HASH, r as RX_HASH_ID, X as RX_HREF, a as RX_HTML_TAGS, o as RX_HYPHENATE, c as RX_LONG_COLOR, e as RX_LOWER_UPPER, d as RX_NUMBER, E as RX_PLUS, P as RX_QUERY_START, _ as RX_REGEXP_REPLACE, g as RX_SHORT_COLOR, f as RX_SPACES, T as RX_SPACE_SPLIT, u as RX_STAR, A as RX_START_SPACE_WORD, D as RX_TIME, h as RX_TRIM_LEFT, O as RX_TRIM_RIGHT, I as RX_UNDERSCORE, L as RX_UN_KEBAB, M 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 './extractCssVarName-
|
|
5
|
-
export { g as MutationObs, S as addClass, y as cancelAF,
|
|
2
|
+
export { a as getItemByValue, m as getItemsByValue, l as searchItemsByLabel } from './searchItemsByLabel-CPGAoUEr-0aa65960.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, o as useTimeFormat, s as useTimeMask, b as useToggle, c as useValidationAttributes } from './useValidationAttributes-Cilw02AC-255a86e4.js';
|
|
4
|
+
export { H as CODE_BACKSPACE, $ as CODE_BREAK, y as CODE_DELETE, B as CODE_DOWN, F as CODE_END, m as CODE_ENTER, G as CODE_ESC, b as CODE_HOME, U as CODE_LEFT, l as CODE_PAGEDOWN, x as CODE_PAGEUP, j as CODE_RIGHT, K as CODE_SPACE, V as CODE_UP, R as HSL_LIMITS, z as PLACEMENT_BOTTOM_END, w as PLACEMENT_BOTTOM_START, Q as PLACEMENT_LEFT_END, q as PLACEMENT_LEFT_START, Z as PLACEMENT_RIGHT_END, Y as PLACEMENT_RIGHT_START, k as PLACEMENT_TOP_END, W as PLACEMENT_TOP_START, C as RX_ABBREVIATION_FROM_STRING, J as RX_ARRAY_NOTATION, v as RX_BV_PREFIX, N as RX_DATE, S as RX_DATE_SPLIT, s as RX_DIGITS, i as RX_ENCODED_COMMA, p as RX_ENCODE_REVERSE, n as RX_EXTENSION, t as RX_HASH, r as RX_HASH_ID, X as RX_HREF, a as RX_HTML_TAGS, o as RX_HYPHENATE, c as RX_LONG_COLOR, e as RX_LOWER_UPPER, d as RX_NUMBER, E as RX_PLUS, P as RX_QUERY_START, _ as RX_REGEXP_REPLACE, g as RX_SHORT_COLOR, f as RX_SPACES, T as RX_SPACE_SPLIT, u as RX_STAR, A as RX_START_SPACE_WORD, D as RX_TIME, h as RX_TRIM_LEFT, O as RX_TRIM_RIGHT, I as RX_UNDERSCORE, L as RX_UN_KEBAB, M 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 './extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
5
|
+
export { g as MutationObs, S as addClass, y as cancelAF, q as contains, R as getAttr, m as getBCR, v as getById, c as getCS, _ as getMaxZIndex, k as getStyle, T as hasAttr, E as hasClass, u as offset, P as position, C as reflow, M as removeAttr, x as removeClass, w as removeNode, B as removeStyle, b as requestAF, A as requestIC, h as select, F as selectAll, L as setAttr, z as setStyle } from './dom-DzNS5tBj-6d9cf0ef.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-0317db9e.js';
|
|
34
|
+
export { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect, f as formatMobileDate } from './OrDateTimePickerMonthSelect-c63eb012.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-c0fd4c32.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-a528caa3.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-32afddae.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';
|
package/dist/esm/{searchItemsByLabel-BhinsABA-f7946859.js → searchItemsByLabel-CPGAoUEr-0aa65960.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import './dom-
|
|
2
|
-
import { aj as i } from './extractCssVarName-
|
|
1
|
+
import './dom-DzNS5tBj-6d9cf0ef.js';
|
|
2
|
+
import { aj as i } from './extractCssVarName-FgXy_HI0-52cc18b9.js';
|
|
3
3
|
|
|
4
4
|
const a = (t, r) => {
|
|
5
5
|
const e = r.find((n) => t === n.value);
|