@retailcrm/embed-ui-v1-components 0.9.19 → 0.9.22-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +9 -1
- package/README.md +5 -2
- package/assets/sprites/actions/add-square-outlined.svg +8 -0
- package/assets/sprites/actions/drag.svg +8 -0
- package/bin/embed-ui-v1-components.mjs +231 -46
- package/bin/postinstall.mjs +3 -2
- package/dist/host.cjs +1223 -501
- package/dist/host.css +637 -10
- package/dist/host.d.ts +152 -78
- package/dist/host.js +1224 -502
- package/dist/remote.cjs +1358 -298
- package/dist/remote.d.ts +805 -67
- package/dist/remote.js +1360 -300
- package/docs/AI.md +99 -17
- package/docs/COMPONENTS.md +58 -59
- package/docs/FORMAT.md +10 -10
- package/docs/PROFILES.md +39 -22
- package/docs/README.md +11 -5
- package/docs/profiles/components/UiAddButton.yml +134 -0
- package/docs/profiles/components/UiAlert.yml +105 -0
- package/docs/profiles/components/UiAvatar.yml +88 -0
- package/docs/profiles/{UiAvatarList.yml → components/UiAvatarList.yml} +26 -0
- package/docs/profiles/{UiButton.yml → components/UiButton.yml} +14 -8
- package/docs/profiles/components/UiCalendar.yml +190 -0
- package/docs/profiles/components/UiCheckbox.yml +111 -0
- package/docs/profiles/components/UiCollapse.yml +129 -0
- package/docs/profiles/components/UiCollapseBox.yml +143 -0
- package/docs/profiles/{UiCollapseGroup.yml → components/UiCollapseGroup.yml} +24 -0
- package/docs/profiles/components/UiCopyButton.yml +104 -0
- package/docs/profiles/components/UiDate.yml +84 -0
- package/docs/profiles/components/UiDatePicker.yml +138 -0
- package/docs/profiles/components/UiError.yml +123 -0
- package/docs/profiles/{UiField.yml → components/UiField.yml} +46 -15
- package/docs/profiles/components/UiInfobox.yml +130 -0
- package/docs/profiles/components/UiLink.yml +111 -0
- package/docs/profiles/components/UiLoader.yml +71 -0
- package/docs/profiles/components/UiMenuItem.yml +93 -0
- package/docs/profiles/{UiMenuItemGroup.yml → components/UiMenuItemGroup.yml} +25 -0
- package/docs/profiles/components/UiModalSidebar.yml +156 -0
- package/docs/profiles/components/UiModalWindow.yml +181 -0
- package/docs/profiles/{UiModalWindowSurface.yml → components/UiModalWindowSurface.yml} +30 -0
- package/docs/profiles/components/UiNumberStepper.yml +100 -0
- package/docs/profiles/{UiPageHeader.yml → components/UiPageHeader.yml} +39 -23
- package/docs/profiles/components/UiPopconfirm.yml +164 -0
- package/docs/profiles/{UiPopper.yml → components/UiPopper.yml} +66 -13
- package/docs/profiles/{UiPopperConnector.yml → components/UiPopperConnector.yml} +5 -25
- package/docs/profiles/{UiPopperTarget.yml → components/UiPopperTarget.yml} +5 -25
- package/docs/profiles/components/UiRadio.yml +91 -0
- package/docs/profiles/{UiRadioSwitch.yml → components/UiRadioSwitch.yml} +55 -32
- package/docs/profiles/{UiRadioSwitchOption.yml → components/UiRadioSwitchOption.yml} +7 -13
- package/docs/profiles/components/UiScrollBox.yml +108 -0
- package/docs/profiles/{UiSelect.yml → components/UiSelect.yml} +133 -44
- package/docs/profiles/components/UiSelectOption.yml +74 -0
- package/docs/profiles/components/UiSelectOptionGroup.yml +66 -0
- package/docs/profiles/components/UiSkeleton.yml +82 -0
- package/docs/profiles/components/UiSlider.yml +161 -0
- package/docs/profiles/components/UiSwitch.yml +123 -0
- package/docs/profiles/components/UiTab.yml +234 -0
- package/docs/profiles/{UiTabGroup.yml → components/UiTabGroup.yml} +0 -30
- package/docs/profiles/components/UiTable.yml +622 -0
- package/docs/profiles/{UiTableBodyCell.yml → components/UiTableBodyCell.yml} +26 -0
- package/docs/profiles/components/UiTableColumn.yml +87 -0
- package/docs/profiles/components/UiTableFooterButton.yml +85 -0
- package/docs/profiles/components/UiTableFooterSection.yml +73 -0
- package/docs/profiles/{UiTableHeadCell.yml → components/UiTableHeadCell.yml} +26 -0
- package/docs/profiles/{UiTableSorter.yml → components/UiTableSorter.yml} +27 -0
- package/docs/profiles/components/UiTag.yml +90 -0
- package/docs/profiles/{UiTextbox.yml → components/UiTextbox.yml} +20 -32
- package/docs/profiles/components/UiTimePicker.yml +144 -0
- package/docs/profiles/{UiToggleButton.yml → components/UiToggleButton.yml} +16 -11
- package/docs/profiles/{UiToggleGroup.yml → components/UiToggleGroup.yml} +25 -13
- package/docs/profiles/{UiToggleGroupOption.yml → components/UiToggleGroupOption.yml} +7 -11
- package/docs/profiles/components/UiToolbarButton.yml +87 -0
- package/docs/profiles/components/UiToolbarLink.yml +80 -0
- package/docs/profiles/components/UiTooltip.yml +97 -0
- package/docs/profiles/components/UiTransition.yml +62 -0
- package/docs/profiles/components/UiYandexMap.yml +104 -0
- package/docs/profiles/pages/CardSettingsPage.yml +58 -0
- package/docs/profiles/pages/CollapseBlockPage.yml +46 -0
- package/docs/profiles/pages/EntityListPage.yml +66 -0
- package/docs/profiles/pages/ModalSidebar.yml +158 -0
- package/docs/profiles/pages/ModalWindow.yml +55 -0
- package/docs/profiles/pages/MultiColumnPage.yml +27 -0
- package/docs/profiles/pages/PageComposition.yml +56 -0
- package/package.json +15 -15
- package/docs/profiles/UiAddButton.yml +0 -57
- package/docs/profiles/UiAlert.yml +0 -48
- package/docs/profiles/UiAvatar.yml +0 -48
- package/docs/profiles/UiCalendar.yml +0 -48
- package/docs/profiles/UiCheckbox.yml +0 -53
- package/docs/profiles/UiCollapse.yml +0 -40
- package/docs/profiles/UiCollapseBox.yml +0 -51
- package/docs/profiles/UiCopyButton.yml +0 -52
- package/docs/profiles/UiDate.yml +0 -38
- package/docs/profiles/UiDatePicker.yml +0 -59
- package/docs/profiles/UiError.yml +0 -32
- package/docs/profiles/UiImage.yml +0 -39
- package/docs/profiles/UiInfobox.yml +0 -45
- package/docs/profiles/UiLink.yml +0 -51
- package/docs/profiles/UiLoader.yml +0 -38
- package/docs/profiles/UiMenuItem.yml +0 -57
- package/docs/profiles/UiModalSidebar.yml +0 -46
- package/docs/profiles/UiModalWindow.yml +0 -44
- package/docs/profiles/UiNumberStepper.yml +0 -52
- package/docs/profiles/UiRadio.yml +0 -38
- package/docs/profiles/UiScrollBox.yml +0 -31
- package/docs/profiles/UiSelectOption.yml +0 -44
- package/docs/profiles/UiSelectOptionGroup.yml +0 -38
- package/docs/profiles/UiSkeleton.yml +0 -41
- package/docs/profiles/UiSlider.yml +0 -38
- package/docs/profiles/UiSwitch.yml +0 -37
- package/docs/profiles/UiTab.yml +0 -119
- package/docs/profiles/UiTable.yml +0 -152
- package/docs/profiles/UiTableColumn.yml +0 -50
- package/docs/profiles/UiTableFooterButton.yml +0 -44
- package/docs/profiles/UiTableFooterSection.yml +0 -38
- package/docs/profiles/UiTag.yml +0 -41
- package/docs/profiles/UiTimePicker.yml +0 -46
- package/docs/profiles/UiToolbarButton.yml +0 -37
- package/docs/profiles/UiToolbarLink.yml +0 -32
- package/docs/profiles/UiTooltip.yml +0 -43
- package/docs/profiles/UiTransition.yml +0 -27
- package/docs/profiles/UiYandexMap.yml +0 -29
package/dist/host.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, Transition, withCtx, renderSlot, createElementBlock, createElementVNode, ref, reactive, computed, watch, onMounted, withDirectives, mergeProps, unref, createCommentVNode, normalizeClass, createTextVNode, toDisplayString, createVNode, vShow, inject, useSlots, resolveDynamicComponent, provide, Fragment, renderList, Text, Comment, h, getCurrentInstance, nextTick, onBeforeUnmount, useId, onActivated, onDeactivated, Teleport, shallowRef, normalizeStyle, createSlots, withModifiers, useAttrs, normalizeProps, guardReactiveProps, withKeys, isVNode
|
|
1
|
+
import { defineComponent, openBlock, createBlock, Transition, withCtx, renderSlot, createElementBlock, createElementVNode, ref, reactive, computed, watch, onMounted, withDirectives, mergeProps, unref, createCommentVNode, normalizeClass, createTextVNode, toDisplayString, createVNode, vShow, inject, useSlots, resolveDynamicComponent, provide, Fragment, renderList, Text, Comment, h, getCurrentInstance, nextTick, onBeforeUnmount, useId, onActivated, onDeactivated, Teleport, shallowRef, normalizeStyle, createSlots, withModifiers, useAttrs, normalizeProps, guardReactiveProps, onUpdated, withKeys, isVNode } from "vue";
|
|
2
2
|
import { preview } from "@retailcrm/image-preview";
|
|
3
3
|
import isEqual from "lodash.isequal";
|
|
4
4
|
import { format, formatISO } from "date-fns";
|
|
5
5
|
import { ru, es, enGB } from "date-fns/locale";
|
|
6
6
|
import { PerfectScrollbar } from "vue3-perfect-scrollbar";
|
|
7
7
|
import { createProvider as createProvider$1 } from "@omnicajs/vue-remote/host";
|
|
8
|
-
const _sfc_main$
|
|
8
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "UiTransition",
|
|
10
10
|
props: {
|
|
11
11
|
/** Наименование анимации перехода */
|
|
@@ -33,13 +33,13 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
|
-
const _hoisted_1
|
|
36
|
+
const _hoisted_1$$ = {
|
|
37
37
|
xmlns: "http://www.w3.org/2000/svg",
|
|
38
38
|
fill: "none",
|
|
39
39
|
viewBox: "0 0 24 24"
|
|
40
40
|
};
|
|
41
|
-
function render$
|
|
42
|
-
return openBlock(), createElementBlock("svg", _hoisted_1
|
|
41
|
+
function render$q(_ctx, _cache) {
|
|
42
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$$, [..._cache[0] || (_cache[0] = [
|
|
43
43
|
createElementVNode("path", {
|
|
44
44
|
fill: "currentColor",
|
|
45
45
|
"fill-rule": "evenodd",
|
|
@@ -48,26 +48,26 @@ function render$p(_ctx, _cache) {
|
|
|
48
48
|
}, null, -1)
|
|
49
49
|
])]);
|
|
50
50
|
}
|
|
51
|
-
const IconCheckmarkCircleOutlined = { render: render$
|
|
52
|
-
const _hoisted_1$
|
|
51
|
+
const IconCheckmarkCircleOutlined = { render: render$q };
|
|
52
|
+
const _hoisted_1$_ = {
|
|
53
53
|
xmlns: "http://www.w3.org/2000/svg",
|
|
54
54
|
viewBox: "0 0 24 24"
|
|
55
55
|
};
|
|
56
|
-
function render$
|
|
57
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
56
|
+
function render$p(_ctx, _cache) {
|
|
57
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$_, [..._cache[0] || (_cache[0] = [
|
|
58
58
|
createElementVNode("path", {
|
|
59
59
|
fill: "currentColor",
|
|
60
60
|
d: "M7.113 6.176a.6.6 0 0 1 .848 0L12 10.214l4.038-4.038a.6.6 0 0 1 .849 0l.937.937a.6.6 0 0 1 0 .848L13.785 12l4.04 4.04a.6.6 0 0 1 0 .848l-.937.937a.6.6 0 0 1-.849 0L12 13.784l-4.038 4.04a.6.6 0 0 1-.849 0l-.937-.937a.6.6 0 0 1 0-.848l4.04-4.04-4.039-4.038a.6.6 0 0 1 0-.849z"
|
|
61
61
|
}, null, -1)
|
|
62
62
|
])]);
|
|
63
63
|
}
|
|
64
|
-
const IconClear = { render: render$
|
|
65
|
-
const _hoisted_1$
|
|
64
|
+
const IconClear = { render: render$p };
|
|
65
|
+
const _hoisted_1$Z = {
|
|
66
66
|
xmlns: "http://www.w3.org/2000/svg",
|
|
67
67
|
viewBox: "0 0 24 24"
|
|
68
68
|
};
|
|
69
|
-
function render$
|
|
70
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
69
|
+
function render$o(_ctx, _cache) {
|
|
70
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$Z, [..._cache[0] || (_cache[0] = [
|
|
71
71
|
createElementVNode("path", {
|
|
72
72
|
fill: "currentColor",
|
|
73
73
|
"fill-rule": "evenodd",
|
|
@@ -76,26 +76,26 @@ function render$n(_ctx, _cache) {
|
|
|
76
76
|
}, null, -1)
|
|
77
77
|
])]);
|
|
78
78
|
}
|
|
79
|
-
const IconClearCircleOutlined = { render: render$
|
|
80
|
-
const _hoisted_1$
|
|
79
|
+
const IconClearCircleOutlined = { render: render$o };
|
|
80
|
+
const _hoisted_1$Y = {
|
|
81
81
|
xmlns: "http://www.w3.org/2000/svg",
|
|
82
82
|
viewBox: "0 0 24 24"
|
|
83
83
|
};
|
|
84
|
-
function render$
|
|
85
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
84
|
+
function render$n(_ctx, _cache) {
|
|
85
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$Y, [..._cache[0] || (_cache[0] = [
|
|
86
86
|
createElementVNode("path", {
|
|
87
87
|
fill: "currentColor",
|
|
88
88
|
d: "M2 12C2 6.477 6.477 2 12 2A10 10 0 1 1 2 12m2 0a8 8 0 1 0 16 0 8 8 0 0 0-16 0m7.5 2a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm-.18-6h1.36a.5.5 0 0 1 .5.56l-.4 3.22a.25.25 0 0 1-.25.22h-1.06a.25.25 0 0 1-.25-.22l-.4-3.22a.5.5 0 0 1 .5-.56"
|
|
89
89
|
}, null, -1)
|
|
90
90
|
])]);
|
|
91
91
|
}
|
|
92
|
-
const IconErrorOutlined = { render: render$
|
|
93
|
-
const _hoisted_1$
|
|
92
|
+
const IconErrorOutlined = { render: render$n };
|
|
93
|
+
const _hoisted_1$X = {
|
|
94
94
|
xmlns: "http://www.w3.org/2000/svg",
|
|
95
95
|
viewBox: "0 0 24 24"
|
|
96
96
|
};
|
|
97
|
-
function render$
|
|
98
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
97
|
+
function render$m(_ctx, _cache) {
|
|
98
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$X, [..._cache[0] || (_cache[0] = [
|
|
99
99
|
createElementVNode("path", {
|
|
100
100
|
fill: "currentColor",
|
|
101
101
|
"fill-rule": "evenodd",
|
|
@@ -104,7 +104,7 @@ function render$l(_ctx, _cache) {
|
|
|
104
104
|
}, null, -1)
|
|
105
105
|
])]);
|
|
106
106
|
}
|
|
107
|
-
const IconInfoOutlined = { render: render$
|
|
107
|
+
const IconInfoOutlined = { render: render$m };
|
|
108
108
|
var VARIANT$1 = /* @__PURE__ */ ((VARIANT2) => {
|
|
109
109
|
VARIANT2["PRIMARY"] = "primary";
|
|
110
110
|
VARIANT2["WARNING"] = "warning";
|
|
@@ -112,13 +112,13 @@ var VARIANT$1 = /* @__PURE__ */ ((VARIANT2) => {
|
|
|
112
112
|
VARIANT2["DANGER"] = "danger";
|
|
113
113
|
return VARIANT2;
|
|
114
114
|
})(VARIANT$1 || {});
|
|
115
|
-
const _hoisted_1$
|
|
116
|
-
const _hoisted_2$
|
|
115
|
+
const _hoisted_1$W = ["aria-hidden", "aria-live"];
|
|
116
|
+
const _hoisted_2$s = {
|
|
117
117
|
key: 0,
|
|
118
118
|
class: "ui-v1-alert__icon-outline"
|
|
119
119
|
};
|
|
120
|
-
const _hoisted_3$
|
|
121
|
-
const _sfc_main$
|
|
120
|
+
const _hoisted_3$m = { class: "ui-v1-alert__icon" };
|
|
121
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
122
122
|
...{
|
|
123
123
|
inheritAttrs: false
|
|
124
124
|
},
|
|
@@ -227,7 +227,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
227
227
|
}
|
|
228
228
|
});
|
|
229
229
|
return (_ctx, _cache) => {
|
|
230
|
-
return openBlock(), createBlock(_sfc_main$
|
|
230
|
+
return openBlock(), createBlock(_sfc_main$1a, {
|
|
231
231
|
name: "fade",
|
|
232
232
|
onBeforeEnter,
|
|
233
233
|
onBeforeLeave,
|
|
@@ -250,8 +250,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
250
250
|
role: "alert"
|
|
251
251
|
}, _ctx.$attrs), [
|
|
252
252
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
253
|
-
__props.variant ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
254
|
-
createElementVNode("div", _hoisted_3$
|
|
253
|
+
__props.variant ? (openBlock(), createElementBlock("div", _hoisted_2$s, [
|
|
254
|
+
createElementVNode("div", _hoisted_3$m, [
|
|
255
255
|
__props.variant === unref(VARIANT$1).PRIMARY ? (openBlock(), createBlock(unref(IconInfoOutlined), { key: 0 })) : __props.variant === unref(VARIANT$1).WARNING ? (openBlock(), createBlock(unref(IconErrorOutlined), { key: 1 })) : __props.variant === unref(VARIANT$1).DANGER ? (openBlock(), createBlock(unref(IconClearCircleOutlined), { key: 2 })) : __props.variant === unref(VARIANT$1).SUCCESS ? (openBlock(), createBlock(unref(IconCheckmarkCircleOutlined), { key: 3 })) : createCommentVNode("", true)
|
|
256
256
|
])
|
|
257
257
|
])) : createCommentVNode("", true)
|
|
@@ -276,7 +276,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
276
276
|
}, [
|
|
277
277
|
createVNode(unref(IconClear), { class: "ui-v1-alert__close-icon" })
|
|
278
278
|
])) : createCommentVNode("", true)
|
|
279
|
-
], 16, _hoisted_1$
|
|
279
|
+
], 16, _hoisted_1$W), [
|
|
280
280
|
[vShow, state.shown]
|
|
281
281
|
])
|
|
282
282
|
]),
|
|
@@ -285,12 +285,12 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
287
|
});
|
|
288
|
-
const _hoisted_1$
|
|
288
|
+
const _hoisted_1$V = {
|
|
289
289
|
xmlns: "http://www.w3.org/2000/svg",
|
|
290
290
|
viewBox: "0 0 24 24"
|
|
291
291
|
};
|
|
292
|
-
function render$
|
|
293
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
292
|
+
function render$l(_ctx, _cache) {
|
|
293
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$V, [..._cache[0] || (_cache[0] = [
|
|
294
294
|
createElementVNode("path", {
|
|
295
295
|
fill: "currentColor",
|
|
296
296
|
"fill-rule": "evenodd",
|
|
@@ -299,7 +299,7 @@ function render$k(_ctx, _cache) {
|
|
|
299
299
|
}, null, -1)
|
|
300
300
|
])]);
|
|
301
301
|
}
|
|
302
|
-
const IconAddCircle = { render: render$
|
|
302
|
+
const IconAddCircle = { render: render$l };
|
|
303
303
|
var COLOR$1 = /* @__PURE__ */ ((COLOR2) => {
|
|
304
304
|
COLOR2["GREEN"] = "green";
|
|
305
305
|
COLOR2["BLUE"] = "blue";
|
|
@@ -312,14 +312,14 @@ const isNumeric = (value) => !isNaN(Number(value));
|
|
|
312
312
|
const normalizeHeight = (height) => {
|
|
313
313
|
return isNumeric(height) ? `${height}px` : `${height}`;
|
|
314
314
|
};
|
|
315
|
-
const _hoisted_1$
|
|
316
|
-
const _hoisted_2$
|
|
317
|
-
const _hoisted_3$
|
|
318
|
-
const _hoisted_4$
|
|
315
|
+
const _hoisted_1$U = ["type", "disabled"];
|
|
316
|
+
const _hoisted_2$r = { class: "ui-v1-add-button__content" };
|
|
317
|
+
const _hoisted_3$l = { class: "ui-v1-add-button__title" };
|
|
318
|
+
const _hoisted_4$d = {
|
|
319
319
|
key: 0,
|
|
320
320
|
class: "ui-v1-add-button__description"
|
|
321
321
|
};
|
|
322
|
-
const _sfc_main$
|
|
322
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
323
323
|
...{
|
|
324
324
|
inheritAttrs: false
|
|
325
325
|
},
|
|
@@ -362,8 +362,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
362
362
|
height: unref(normalizeHeight)(__props.height)
|
|
363
363
|
}
|
|
364
364
|
}, _ctx.$attrs), [
|
|
365
|
-
createElementVNode("span", _hoisted_2$
|
|
366
|
-
createElementVNode("span", _hoisted_3$
|
|
365
|
+
createElementVNode("span", _hoisted_2$r, [
|
|
366
|
+
createElementVNode("span", _hoisted_3$l, [
|
|
367
367
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
368
368
|
createVNode(unref(IconAddCircle), {
|
|
369
369
|
"aria-hidden": "true",
|
|
@@ -372,20 +372,20 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
372
372
|
]),
|
|
373
373
|
renderSlot(_ctx.$slots, "default")
|
|
374
374
|
]),
|
|
375
|
-
!__props.small && _ctx.$slots.description ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
375
|
+
!__props.small && _ctx.$slots.description ? (openBlock(), createElementBlock("span", _hoisted_4$d, [
|
|
376
376
|
renderSlot(_ctx.$slots, "description")
|
|
377
377
|
])) : createCommentVNode("", true)
|
|
378
378
|
])
|
|
379
|
-
], 16, _hoisted_1$
|
|
379
|
+
], 16, _hoisted_1$U);
|
|
380
380
|
};
|
|
381
381
|
}
|
|
382
382
|
});
|
|
383
|
-
const _hoisted_1$
|
|
383
|
+
const _hoisted_1$T = {
|
|
384
384
|
xmlns: "http://www.w3.org/2000/svg",
|
|
385
385
|
viewBox: "0 0 24 24"
|
|
386
386
|
};
|
|
387
|
-
function render$
|
|
388
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
387
|
+
function render$k(_ctx, _cache) {
|
|
388
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$T, [..._cache[0] || (_cache[0] = [
|
|
389
389
|
createElementVNode("path", {
|
|
390
390
|
fill: "currentColor",
|
|
391
391
|
"fill-rule": "evenodd",
|
|
@@ -394,34 +394,34 @@ function render$j(_ctx, _cache) {
|
|
|
394
394
|
}, null, -1)
|
|
395
395
|
])]);
|
|
396
396
|
}
|
|
397
|
-
const IconHelpOutlined = { render: render$
|
|
398
|
-
const _hoisted_1$
|
|
397
|
+
const IconHelpOutlined = { render: render$k };
|
|
398
|
+
const _hoisted_1$S = {
|
|
399
399
|
xmlns: "http://www.w3.org/2000/svg",
|
|
400
400
|
viewBox: "0 0 18 8"
|
|
401
401
|
};
|
|
402
|
-
function render$
|
|
403
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
402
|
+
function render$j(_ctx, _cache) {
|
|
403
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$S, [..._cache[0] || (_cache[0] = [
|
|
404
404
|
createElementVNode("g", { fill: "currentColor" }, [
|
|
405
405
|
createElementVNode("path", { d: "M0 0v8h2.867q1.257-.011 1.935-.604.68-.594.68-1.748 0-.675-.33-1.143a1.54 1.54 0 0 0-.892-.62q.497-.21.775-.654.279-.45.279-1.039 0-1.077-.694-1.632Q3.926 0 2.584 0zm1.52 6.676v-2.16h1.393q1.048.016 1.048 1.116 0 .488-.303.77-.3.273-.836.274zm1.124-3.324H1.52V1.335h1.064q.628 0 .916.242.294.236.294.78 0 .972-1.15.995M7.503 6.352h2.665L10.679 8h1.616l-2.76-8H8.125L5.38 8h1.616zm2.254-1.336H7.913l.917-2.994zM12.362 8V0h2.27q.972 0 1.737.478.77.473 1.2 1.352.432.873.431 1.989v.368q0 1.115-.425 1.983a3.17 3.17 0 0 1-1.191 1.346A3.26 3.26 0 0 1 14.646 8zm1.52-6.665v5.34h.734q.891 0 1.363-.631.47-.632.481-1.808v-.423q0-1.22-.466-1.846-.466-.632-1.363-.632z" })
|
|
406
406
|
], -1)
|
|
407
407
|
])]);
|
|
408
408
|
}
|
|
409
|
-
const SpriteBAD = { render: render$
|
|
410
|
-
const _hoisted_1$
|
|
409
|
+
const SpriteBAD = { render: render$j };
|
|
410
|
+
const _hoisted_1$R = {
|
|
411
411
|
xmlns: "http://www.w3.org/2000/svg",
|
|
412
412
|
viewBox: "0 0 16 8"
|
|
413
413
|
};
|
|
414
|
-
function render$
|
|
415
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
414
|
+
function render$i(_ctx, _cache) {
|
|
415
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$R, [..._cache[0] || (_cache[0] = [
|
|
416
416
|
createElementVNode("g", { fill: "currentColor" }, [
|
|
417
417
|
createElementVNode("path", { d: "M3.373 6.016 5.058 0h1.704L4.175 8H2.577L0 0h1.7zM8.99 8H7.46V0H8.99zM11.84 8V5.181h1.343q1.322 0 2.067-.676.75-.681.75-1.857 0-.774-.342-1.379a2.3 2.3 0 0 0-.98-.94Q14.045 0 13.208 0H10.31v8zm1.368-4.154h-1.367v-2.51h1.403q.567.01.888.373t.322.95q0 .571-.322.88-.316.307-.924.307" })
|
|
418
418
|
], -1)
|
|
419
419
|
])]);
|
|
420
420
|
}
|
|
421
|
-
const SpriteVIP = { render: render$
|
|
422
|
-
const ImageWorkersKey = Symbol("$image.workers");
|
|
423
|
-
const _hoisted_1$
|
|
424
|
-
const _sfc_main$
|
|
421
|
+
const SpriteVIP = { render: render$i };
|
|
422
|
+
const ImageWorkersKey = /* @__PURE__ */ Symbol("$image.workers");
|
|
423
|
+
const _hoisted_1$Q = ["alt", "src"];
|
|
424
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
425
425
|
__name: "UiImage",
|
|
426
426
|
props: {
|
|
427
427
|
alt: {
|
|
@@ -457,7 +457,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
457
457
|
return openBlock(), createElementBlock("img", mergeProps({
|
|
458
458
|
alt: __props.alt,
|
|
459
459
|
src: url.value
|
|
460
|
-
}, _ctx.$attrs), null, 16, _hoisted_1$
|
|
460
|
+
}, _ctx.$attrs), null, 16, _hoisted_1$Q);
|
|
461
461
|
};
|
|
462
462
|
}
|
|
463
463
|
});
|
|
@@ -490,28 +490,28 @@ var STATUS = /* @__PURE__ */ ((STATUS2) => {
|
|
|
490
490
|
STATUS2["FREE"] = "free";
|
|
491
491
|
return STATUS2;
|
|
492
492
|
})(STATUS || {});
|
|
493
|
-
const AvatarSizeKey = Symbol("UiAvatarSize");
|
|
494
|
-
const _hoisted_1$
|
|
493
|
+
const AvatarSizeKey = /* @__PURE__ */ Symbol("UiAvatarSize");
|
|
494
|
+
const _hoisted_1$P = {
|
|
495
495
|
key: 1,
|
|
496
496
|
class: "ui-v1-avatar__unresolved"
|
|
497
497
|
};
|
|
498
|
-
const _hoisted_2$
|
|
498
|
+
const _hoisted_2$q = {
|
|
499
499
|
key: 3,
|
|
500
500
|
class: "ui-v1-avatar__initials"
|
|
501
501
|
};
|
|
502
|
-
const _hoisted_3$
|
|
502
|
+
const _hoisted_3$k = {
|
|
503
503
|
key: 4,
|
|
504
504
|
class: "ui-v1-avatar__labels"
|
|
505
505
|
};
|
|
506
|
-
const _hoisted_4$
|
|
506
|
+
const _hoisted_4$c = {
|
|
507
507
|
key: 0,
|
|
508
508
|
class: "ui-v1-avatar__label ui-v1-avatar__label_vip"
|
|
509
509
|
};
|
|
510
|
-
const _hoisted_5$
|
|
510
|
+
const _hoisted_5$a = {
|
|
511
511
|
key: 1,
|
|
512
512
|
class: "ui-v1-avatar__label ui-v1-avatar__label_bad"
|
|
513
513
|
};
|
|
514
|
-
const _sfc_main
|
|
514
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
515
515
|
__name: "UiAvatar",
|
|
516
516
|
props: {
|
|
517
517
|
/** Путь к изображению */
|
|
@@ -598,7 +598,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
598
598
|
}
|
|
599
599
|
}, _ctx.$attrs), {
|
|
600
600
|
default: withCtx(() => [
|
|
601
|
-
__props.src ? (openBlock(), createBlock(_sfc_main$
|
|
601
|
+
__props.src ? (openBlock(), createBlock(_sfc_main$17, {
|
|
602
602
|
key: 0,
|
|
603
603
|
src: __props.src,
|
|
604
604
|
resize: optimization.value.resize,
|
|
@@ -607,7 +607,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
607
607
|
draggable: "false",
|
|
608
608
|
onLoad: _cache[0] || (_cache[0] = ($event) => loaded.value = true),
|
|
609
609
|
onError: _cache[1] || (_cache[1] = ($event) => loaded.value = false)
|
|
610
|
-
}, null, 8, ["src", "resize", "crop"])) : !__props.src && unresolved.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
610
|
+
}, null, 8, ["src", "resize", "crop"])) : !__props.src && unresolved.value ? (openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
611
611
|
createVNode(unref(IconHelpOutlined))
|
|
612
612
|
])) : createCommentVNode("", true),
|
|
613
613
|
__props.status && !(__props.vip || __props.bad) ? (openBlock(), createElementBlock("span", {
|
|
@@ -618,16 +618,16 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
618
618
|
[`ui-v1-avatar__status_${__props.status}`]: __props.status
|
|
619
619
|
})
|
|
620
620
|
}, null, 2)) : createCommentVNode("", true),
|
|
621
|
-
!(unresolved.value || loaded.value) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
621
|
+
!(unresolved.value || loaded.value) ? (openBlock(), createElementBlock("div", _hoisted_2$q, [
|
|
622
622
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
623
623
|
createTextVNode(toDisplayString(initials.value), 1)
|
|
624
624
|
])
|
|
625
625
|
])) : createCommentVNode("", true),
|
|
626
|
-
__props.vip || __props.bad ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
627
|
-
__props.vip ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
626
|
+
__props.vip || __props.bad ? (openBlock(), createElementBlock("div", _hoisted_3$k, [
|
|
627
|
+
__props.vip ? (openBlock(), createElementBlock("span", _hoisted_4$c, [
|
|
628
628
|
createVNode(unref(SpriteVIP), { class: "ui-v1-avatar__vip" })
|
|
629
629
|
])) : createCommentVNode("", true),
|
|
630
|
-
__props.bad ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
630
|
+
__props.bad ? (openBlock(), createElementBlock("span", _hoisted_5$a, [
|
|
631
631
|
createVNode(unref(SpriteBAD), { class: "ui-v1-avatar__bad" })
|
|
632
632
|
])) : createCommentVNode("", true)
|
|
633
633
|
])) : createCommentVNode("", true)
|
|
@@ -637,7 +637,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
637
637
|
};
|
|
638
638
|
}
|
|
639
639
|
});
|
|
640
|
-
const _sfc_main$
|
|
640
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
641
641
|
__name: "UiAvatarList",
|
|
642
642
|
props: {
|
|
643
643
|
/** Список аватарок пользователей */
|
|
@@ -664,7 +664,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
664
664
|
key: index,
|
|
665
665
|
class: "ui-v1-avatar-list__item"
|
|
666
666
|
}, [
|
|
667
|
-
createVNode(_sfc_main
|
|
667
|
+
createVNode(_sfc_main$16, {
|
|
668
668
|
src: avatar.src,
|
|
669
669
|
name: avatar.name
|
|
670
670
|
}, null, 8, ["src", "name"])
|
|
@@ -703,7 +703,7 @@ const normalize$3 = (content) => {
|
|
|
703
703
|
});
|
|
704
704
|
return normalized;
|
|
705
705
|
};
|
|
706
|
-
const ElementRefKey = Symbol.for(
|
|
706
|
+
const ElementRefKey = /* @__PURE__ */ Symbol.for(
|
|
707
707
|
"[@retailcrm/embed-ui-v1-components]:ElementRef"
|
|
708
708
|
);
|
|
709
709
|
const useElementRef = () => {
|
|
@@ -731,7 +731,7 @@ var VARIANT = /* @__PURE__ */ ((VARIANT2) => {
|
|
|
731
731
|
VARIANT2["DANGER"] = "danger";
|
|
732
732
|
return VARIANT2;
|
|
733
733
|
})(VARIANT || {});
|
|
734
|
-
const _sfc_main$
|
|
734
|
+
const _sfc_main$14 = defineComponent({
|
|
735
735
|
props: {
|
|
736
736
|
/** Устанавливает тип кнопки */
|
|
737
737
|
type: {
|
|
@@ -817,8 +817,8 @@ const _sfc_main$Z = defineComponent({
|
|
|
817
817
|
};
|
|
818
818
|
}
|
|
819
819
|
});
|
|
820
|
-
const _hoisted_1$
|
|
821
|
-
const _sfc_main$
|
|
820
|
+
const _hoisted_1$O = { class: "ui-v1-calendar-cell__content" };
|
|
821
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
822
822
|
__name: "UiCalendarCell",
|
|
823
823
|
props: {
|
|
824
824
|
current: {
|
|
@@ -863,32 +863,32 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
863
863
|
"aria-hidden": "true",
|
|
864
864
|
class: "ui-v1-calendar-cell__backdrop"
|
|
865
865
|
}, null, -1)),
|
|
866
|
-
createElementVNode("div", _hoisted_1$
|
|
866
|
+
createElementVNode("div", _hoisted_1$O, [
|
|
867
867
|
renderSlot(_ctx.$slots, "default")
|
|
868
868
|
])
|
|
869
869
|
], 16);
|
|
870
870
|
};
|
|
871
871
|
}
|
|
872
872
|
});
|
|
873
|
-
const _hoisted_1$
|
|
873
|
+
const _hoisted_1$N = {
|
|
874
874
|
xmlns: "http://www.w3.org/2000/svg",
|
|
875
875
|
viewBox: "0 0 24 24"
|
|
876
876
|
};
|
|
877
|
-
function render$
|
|
878
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
877
|
+
function render$h(_ctx, _cache) {
|
|
878
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$N, [..._cache[0] || (_cache[0] = [
|
|
879
879
|
createElementVNode("path", {
|
|
880
880
|
fill: "currentColor",
|
|
881
881
|
d: "M15.78 11.28c.14.14.22.331.22.53v.38a.77.77 0 0 1-.22.53l-5.14 5.13a.5.5 0 0 1-.71 0l-.71-.71a.49.49 0 0 1 0-.7L13.67 12 9.22 7.56a.5.5 0 0 1 0-.71l.71-.7a.5.5 0 0 1 .71 0z"
|
|
882
882
|
}, null, -1)
|
|
883
883
|
])]);
|
|
884
884
|
}
|
|
885
|
-
const IconChevronRight = { render: render$
|
|
886
|
-
const _hoisted_1$
|
|
885
|
+
const IconChevronRight = { render: render$h };
|
|
886
|
+
const _hoisted_1$M = {
|
|
887
887
|
key: 1,
|
|
888
888
|
"aria-hidden": "true",
|
|
889
889
|
class: "ui-v1-calendar-navigation__placeholder"
|
|
890
890
|
};
|
|
891
|
-
const _sfc_main$
|
|
891
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
892
892
|
__name: "UiCalendarDirectionButton",
|
|
893
893
|
props: {
|
|
894
894
|
label: {
|
|
@@ -908,7 +908,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
908
908
|
emits: ["click"],
|
|
909
909
|
setup(__props) {
|
|
910
910
|
return (_ctx, _cache) => {
|
|
911
|
-
return !__props.absent ? (openBlock(), createBlock(_sfc_main$
|
|
911
|
+
return !__props.absent ? (openBlock(), createBlock(_sfc_main$14, {
|
|
912
912
|
key: 0,
|
|
913
913
|
"aria-label": __props.label,
|
|
914
914
|
appearance: "tertiary",
|
|
@@ -925,15 +925,15 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
925
925
|
}, null, 8, ["class"])
|
|
926
926
|
]),
|
|
927
927
|
_: 1
|
|
928
|
-
}, 8, ["aria-label"])) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
928
|
+
}, 8, ["aria-label"])) : (openBlock(), createElementBlock("div", _hoisted_1$M));
|
|
929
929
|
};
|
|
930
930
|
}
|
|
931
931
|
});
|
|
932
|
-
const _hoisted_1$
|
|
932
|
+
const _hoisted_1$L = {
|
|
933
933
|
key: 1,
|
|
934
934
|
class: "ui-v1-calendar-navigation__text"
|
|
935
935
|
};
|
|
936
|
-
const _sfc_main$
|
|
936
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
937
937
|
__name: "UiCalendarSwitchButton",
|
|
938
938
|
props: {
|
|
939
939
|
locked: {
|
|
@@ -944,7 +944,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
944
944
|
emits: ["click"],
|
|
945
945
|
setup(__props) {
|
|
946
946
|
return (_ctx, _cache) => {
|
|
947
|
-
return !__props.locked ? (openBlock(), createBlock(_sfc_main$
|
|
947
|
+
return !__props.locked ? (openBlock(), createBlock(_sfc_main$14, {
|
|
948
948
|
key: 0,
|
|
949
949
|
appearance: "tertiary",
|
|
950
950
|
class: "ui-v1-calendar-navigation__switch-button",
|
|
@@ -954,7 +954,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
954
954
|
renderSlot(_ctx.$slots, "default")
|
|
955
955
|
]),
|
|
956
956
|
_: 3
|
|
957
|
-
})) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
957
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
958
958
|
renderSlot(_ctx.$slots, "default")
|
|
959
959
|
]));
|
|
960
960
|
};
|
|
@@ -1097,7 +1097,7 @@ class VueI18n {
|
|
|
1097
1097
|
this._state.locale = locale;
|
|
1098
1098
|
}
|
|
1099
1099
|
}
|
|
1100
|
-
const I18nInjectKey = Symbol("$embedI18n");
|
|
1100
|
+
const I18nInjectKey = /* @__PURE__ */ Symbol("$embedI18n");
|
|
1101
1101
|
const plugin$1 = {
|
|
1102
1102
|
install(app, options) {
|
|
1103
1103
|
app.provide(I18nInjectKey, options instanceof VueI18n ? options : new VueI18n(options?.locale));
|
|
@@ -1261,7 +1261,7 @@ const selectionCleared$2 = "Date selection cleared.";
|
|
|
1261
1261
|
const selectionSingle$2 = "Selected date: {date}.";
|
|
1262
1262
|
const selectionRangeStart$2 = "Range start: {date}.";
|
|
1263
1263
|
const selectionRangeEnd$2 = "Selected range from {start} to {end}.";
|
|
1264
|
-
const messages_en_GB$
|
|
1264
|
+
const messages_en_GB$7 = {
|
|
1265
1265
|
months: months$2,
|
|
1266
1266
|
monthsShort: monthsShort$2,
|
|
1267
1267
|
weekdays: weekdays$2,
|
|
@@ -1305,7 +1305,7 @@ const selectionCleared$1 = "Selección de fecha limpiada.";
|
|
|
1305
1305
|
const selectionSingle$1 = "Fecha seleccionada: {date}.";
|
|
1306
1306
|
const selectionRangeStart$1 = "Inicio del rango: {date}.";
|
|
1307
1307
|
const selectionRangeEnd$1 = "Rango seleccionado de {start} a {end}.";
|
|
1308
|
-
const messages_es_ES$
|
|
1308
|
+
const messages_es_ES$7 = {
|
|
1309
1309
|
months: months$1,
|
|
1310
1310
|
monthsShort: monthsShort$1,
|
|
1311
1311
|
weekdays: weekdays$1,
|
|
@@ -1349,7 +1349,7 @@ const selectionCleared = "Выбор даты очищен.";
|
|
|
1349
1349
|
const selectionSingle = "Выбрана дата: {date}.";
|
|
1350
1350
|
const selectionRangeStart = "Начало диапазона: {date}.";
|
|
1351
1351
|
const selectionRangeEnd = "Выбран диапазон с {start} по {end}.";
|
|
1352
|
-
const messages_ru_RU$
|
|
1352
|
+
const messages_ru_RU$7 = {
|
|
1353
1353
|
months,
|
|
1354
1354
|
monthsShort,
|
|
1355
1355
|
weekdays,
|
|
@@ -1372,37 +1372,37 @@ const messages_ru_RU$6 = {
|
|
|
1372
1372
|
selectionRangeStart,
|
|
1373
1373
|
selectionRangeEnd
|
|
1374
1374
|
};
|
|
1375
|
-
const _i18n$
|
|
1375
|
+
const _i18n$7 = define({
|
|
1376
1376
|
messages: {
|
|
1377
|
-
"en-GB": messages_en_GB$
|
|
1378
|
-
"es-ES": messages_es_ES$
|
|
1379
|
-
"ru-RU": messages_ru_RU$
|
|
1377
|
+
"en-GB": messages_en_GB$7,
|
|
1378
|
+
"es-ES": messages_es_ES$7,
|
|
1379
|
+
"ru-RU": messages_ru_RU$7
|
|
1380
1380
|
}
|
|
1381
1381
|
});
|
|
1382
|
-
const _hoisted_1$
|
|
1383
|
-
const _hoisted_2$
|
|
1384
|
-
const _hoisted_3$
|
|
1385
|
-
const _hoisted_4$
|
|
1386
|
-
const _hoisted_5$
|
|
1382
|
+
const _hoisted_1$K = { class: "ui-v1-calendar-wrapper" };
|
|
1383
|
+
const _hoisted_2$p = ["aria-label"];
|
|
1384
|
+
const _hoisted_3$j = ["id"];
|
|
1385
|
+
const _hoisted_4$b = ["aria-labelledby", "aria-multiselectable"];
|
|
1386
|
+
const _hoisted_5$9 = {
|
|
1387
1387
|
class: "ui-v1-calendar__row",
|
|
1388
1388
|
role: "row"
|
|
1389
1389
|
};
|
|
1390
|
-
const _hoisted_6$
|
|
1391
|
-
const _hoisted_7$
|
|
1392
|
-
const _hoisted_8$
|
|
1393
|
-
const _hoisted_9$
|
|
1394
|
-
const _hoisted_10$
|
|
1395
|
-
const _hoisted_11 = ["datetime"];
|
|
1396
|
-
const _hoisted_12 = ["aria-label"];
|
|
1397
|
-
const _hoisted_13 = ["id"];
|
|
1398
|
-
const _hoisted_14 = ["aria-labelledby"];
|
|
1399
|
-
const _hoisted_15 = ["datetime"];
|
|
1400
|
-
const _hoisted_16 = {
|
|
1390
|
+
const _hoisted_6$7 = ["aria-label"];
|
|
1391
|
+
const _hoisted_7$5 = ["datetime"];
|
|
1392
|
+
const _hoisted_8$3 = ["aria-label"];
|
|
1393
|
+
const _hoisted_9$2 = ["id"];
|
|
1394
|
+
const _hoisted_10$2 = ["aria-labelledby"];
|
|
1395
|
+
const _hoisted_11$1 = ["datetime"];
|
|
1396
|
+
const _hoisted_12$1 = ["aria-label"];
|
|
1397
|
+
const _hoisted_13$1 = ["id"];
|
|
1398
|
+
const _hoisted_14$1 = ["aria-labelledby"];
|
|
1399
|
+
const _hoisted_15$1 = ["datetime"];
|
|
1400
|
+
const _hoisted_16$1 = {
|
|
1401
1401
|
class: "ui-v1-calendar__sr-only",
|
|
1402
1402
|
"aria-atomic": "true",
|
|
1403
1403
|
"aria-live": "polite"
|
|
1404
1404
|
};
|
|
1405
|
-
const _sfc_main$
|
|
1405
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
1406
1406
|
__name: "UiCalendar",
|
|
1407
1407
|
props: {
|
|
1408
1408
|
/** Текущая дата */
|
|
@@ -1487,8 +1487,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
1487
1487
|
const dayGridHintId = `${calendarId}-day-grid-help`;
|
|
1488
1488
|
const liveAnnouncement = ref("");
|
|
1489
1489
|
const i18nBus = inject(I18nInjectKey, null);
|
|
1490
|
-
const resolvedLocale = computed(() => props.locale ?? i18nBus?.locale ?? _i18n$
|
|
1491
|
-
const i18n = computed(() => _i18n$
|
|
1490
|
+
const resolvedLocale = computed(() => props.locale ?? i18nBus?.locale ?? _i18n$7.fallback);
|
|
1491
|
+
const i18n = computed(() => _i18n$7.init(resolvedLocale.value));
|
|
1492
1492
|
const dayGridHelpText = computed(() => props.type === TYPE$2.RANGE ? i18n.value.t("dayGridHelpRange") : i18n.value.t("dayGridHelpSingle"));
|
|
1493
1493
|
const monthsNames = computed(() => {
|
|
1494
1494
|
return [
|
|
@@ -1552,7 +1552,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
1552
1552
|
...names.slice(0, firstDayOfWeekComputed.value)
|
|
1553
1553
|
];
|
|
1554
1554
|
} catch {
|
|
1555
|
-
const names = format2(_i18n$
|
|
1555
|
+
const names = format2(_i18n$7.fallback);
|
|
1556
1556
|
return [
|
|
1557
1557
|
...names.slice(firstDayOfWeekComputed.value),
|
|
1558
1558
|
...names.slice(0, firstDayOfWeekComputed.value)
|
|
@@ -1736,7 +1736,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
1736
1736
|
year: "numeric"
|
|
1737
1737
|
}).format(day.date);
|
|
1738
1738
|
} catch {
|
|
1739
|
-
return new Intl.DateTimeFormat(_i18n$
|
|
1739
|
+
return new Intl.DateTimeFormat(_i18n$7.fallback, {
|
|
1740
1740
|
weekday: "long",
|
|
1741
1741
|
day: "numeric",
|
|
1742
1742
|
month: "long",
|
|
@@ -1752,7 +1752,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
1752
1752
|
year: "numeric"
|
|
1753
1753
|
}).format(date);
|
|
1754
1754
|
} catch {
|
|
1755
|
-
return new Intl.DateTimeFormat(_i18n$
|
|
1755
|
+
return new Intl.DateTimeFormat(_i18n$7.fallback, {
|
|
1756
1756
|
day: "numeric",
|
|
1757
1757
|
month: "long",
|
|
1758
1758
|
year: "numeric"
|
|
@@ -2020,7 +2020,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2020
2020
|
));
|
|
2021
2021
|
};
|
|
2022
2022
|
return (_ctx, _cache) => {
|
|
2023
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2023
|
+
return openBlock(), createElementBlock("div", _hoisted_1$K, [
|
|
2024
2024
|
(openBlock(true), createElementBlock(Fragment, null, renderList(viewsComputed.value, (view, index) => {
|
|
2025
2025
|
return openBlock(), createElementBlock("div", {
|
|
2026
2026
|
key: "view-" + index + "-" + view.date,
|
|
@@ -2031,12 +2031,12 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2031
2031
|
class: "ui-v1-calendar-navigation",
|
|
2032
2032
|
"aria-label": i18n.value.t("monthNavigation")
|
|
2033
2033
|
}, [
|
|
2034
|
-
createVNode(_sfc_main$
|
|
2034
|
+
createVNode(_sfc_main$12, {
|
|
2035
2035
|
absent: index === 1 && viewsIsSynchronized.value && views[0].mode === unref(VIEW_MODE).DAYS,
|
|
2036
2036
|
label: i18n.value.t("prevMonth"),
|
|
2037
2037
|
onClick: ($event) => showPrevMonth(index)
|
|
2038
2038
|
}, null, 8, ["absent", "label", "onClick"]),
|
|
2039
|
-
createVNode(_sfc_main$
|
|
2039
|
+
createVNode(_sfc_main$11, {
|
|
2040
2040
|
onClick: ($event) => views[index].mode = unref(VIEW_MODE).MONTHS
|
|
2041
2041
|
}, {
|
|
2042
2042
|
default: withCtx(() => [
|
|
@@ -2044,17 +2044,17 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2044
2044
|
id: getGridLabelId(index, unref(VIEW_MODE).DAYS),
|
|
2045
2045
|
"aria-atomic": "true",
|
|
2046
2046
|
"aria-live": "polite"
|
|
2047
|
-
}, toDisplayString(i18n.value.t(`months.${view.date.month - 1}`)) + " " + toDisplayString(view.date.year), 9, _hoisted_3$
|
|
2047
|
+
}, toDisplayString(i18n.value.t(`months.${view.date.month - 1}`)) + " " + toDisplayString(view.date.year), 9, _hoisted_3$j)
|
|
2048
2048
|
]),
|
|
2049
2049
|
_: 2
|
|
2050
2050
|
}, 1032, ["onClick"]),
|
|
2051
|
-
createVNode(_sfc_main$
|
|
2051
|
+
createVNode(_sfc_main$12, {
|
|
2052
2052
|
absent: index === 0 && viewsIsSynchronized.value && views[1].mode === unref(VIEW_MODE).DAYS,
|
|
2053
2053
|
label: i18n.value.t("nextMonth"),
|
|
2054
2054
|
direction: "next",
|
|
2055
2055
|
onClick: ($event) => showNextMonth(index)
|
|
2056
2056
|
}, null, 8, ["absent", "label", "onClick"])
|
|
2057
|
-
], 8, _hoisted_2$
|
|
2057
|
+
], 8, _hoisted_2$p),
|
|
2058
2058
|
createElementVNode("div", {
|
|
2059
2059
|
class: "ui-v1-calendar__table",
|
|
2060
2060
|
role: "grid",
|
|
@@ -2062,14 +2062,14 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2062
2062
|
"aria-describedby": dayGridHintId,
|
|
2063
2063
|
"aria-multiselectable": props.type === unref(TYPE$2).RANGE ? "true" : void 0
|
|
2064
2064
|
}, [
|
|
2065
|
-
createElementVNode("div", _hoisted_5$
|
|
2065
|
+
createElementVNode("div", _hoisted_5$9, [
|
|
2066
2066
|
(openBlock(true), createElementBlock(Fragment, null, renderList(weekdaysNames.value, (name, i) => {
|
|
2067
2067
|
return openBlock(), createElementBlock("div", {
|
|
2068
2068
|
key: "weekday-" + i,
|
|
2069
2069
|
class: "ui-v1-calendar__cell-weekday",
|
|
2070
2070
|
role: "columnheader",
|
|
2071
2071
|
"aria-label": weekdaysLongNames.value[i]
|
|
2072
|
-
}, toDisplayString(name), 9, _hoisted_6$
|
|
2072
|
+
}, toDisplayString(name), 9, _hoisted_6$7);
|
|
2073
2073
|
}), 128))
|
|
2074
2074
|
]),
|
|
2075
2075
|
(openBlock(true), createElementBlock(Fragment, null, renderList(view.days, (week, i) => {
|
|
@@ -2082,7 +2082,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2082
2082
|
role: "row"
|
|
2083
2083
|
}, [
|
|
2084
2084
|
(openBlock(true), createElementBlock(Fragment, null, renderList(week, (day) => {
|
|
2085
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2085
|
+
return openBlock(), createBlock(_sfc_main$13, {
|
|
2086
2086
|
key: "day-" + index + "-" + day,
|
|
2087
2087
|
class: normalizeClass({
|
|
2088
2088
|
"ui-v1-calendar__cell-day": true,
|
|
@@ -2112,25 +2112,25 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2112
2112
|
default: withCtx(() => [
|
|
2113
2113
|
createElementVNode("time", {
|
|
2114
2114
|
datetime: `${day.year}-${pad2(day.month)}-${pad2(day.dayInMonth)}`
|
|
2115
|
-
}, toDisplayString(day.dayInMonth), 9, _hoisted_7$
|
|
2115
|
+
}, toDisplayString(day.dayInMonth), 9, _hoisted_7$5)
|
|
2116
2116
|
]),
|
|
2117
2117
|
_: 2
|
|
2118
2118
|
}, 1032, ["class", "current", "selected", "disabled", "in-range", "is-range-first", "is-range-last", "data-day-key", "data-view-index", "tabindex", "aria-selected", "aria-disabled", "aria-current", "aria-label", "onClick", "onTouchend", "onKeydown", "onFocus", "onMouseover"]);
|
|
2119
2119
|
}), 128))
|
|
2120
2120
|
], 2);
|
|
2121
2121
|
}), 128))
|
|
2122
|
-
], 8, _hoisted_4$
|
|
2122
|
+
], 8, _hoisted_4$b)
|
|
2123
2123
|
], 64)) : createCommentVNode("", true),
|
|
2124
2124
|
view.mode === unref(VIEW_MODE).MONTHS ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
2125
2125
|
createElementVNode("nav", {
|
|
2126
2126
|
class: "ui-v1-calendar-navigation",
|
|
2127
2127
|
"aria-label": i18n.value.t("yearNavigation")
|
|
2128
2128
|
}, [
|
|
2129
|
-
createVNode(_sfc_main$
|
|
2129
|
+
createVNode(_sfc_main$12, {
|
|
2130
2130
|
label: i18n.value.t("prevYear"),
|
|
2131
2131
|
onClick: ($event) => showYear(view.date.year - 1, index)
|
|
2132
2132
|
}, null, 8, ["label", "onClick"]),
|
|
2133
|
-
createVNode(_sfc_main$
|
|
2133
|
+
createVNode(_sfc_main$11, {
|
|
2134
2134
|
onClick: ($event) => views[index].mode = unref(VIEW_MODE).YEARS
|
|
2135
2135
|
}, {
|
|
2136
2136
|
default: withCtx(() => [
|
|
@@ -2138,16 +2138,16 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2138
2138
|
id: getGridLabelId(index, unref(VIEW_MODE).MONTHS),
|
|
2139
2139
|
"aria-atomic": "true",
|
|
2140
2140
|
"aria-live": "polite"
|
|
2141
|
-
}, toDisplayString(view.date.year), 9, _hoisted_9$
|
|
2141
|
+
}, toDisplayString(view.date.year), 9, _hoisted_9$2)
|
|
2142
2142
|
]),
|
|
2143
2143
|
_: 2
|
|
2144
2144
|
}, 1032, ["onClick"]),
|
|
2145
|
-
createVNode(_sfc_main$
|
|
2145
|
+
createVNode(_sfc_main$12, {
|
|
2146
2146
|
label: i18n.value.t("nextYear"),
|
|
2147
2147
|
direction: "next",
|
|
2148
2148
|
onClick: ($event) => showYear(view.date.year + 1, index)
|
|
2149
2149
|
}, null, 8, ["label", "onClick"])
|
|
2150
|
-
], 8, _hoisted_8$
|
|
2150
|
+
], 8, _hoisted_8$3),
|
|
2151
2151
|
createElementVNode("div", {
|
|
2152
2152
|
class: "ui-v1-calendar__table",
|
|
2153
2153
|
role: "grid",
|
|
@@ -2160,7 +2160,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2160
2160
|
role: "row"
|
|
2161
2161
|
}, [
|
|
2162
2162
|
(openBlock(true), createElementBlock(Fragment, null, renderList(months2, (month) => {
|
|
2163
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2163
|
+
return openBlock(), createBlock(_sfc_main$13, {
|
|
2164
2164
|
key: "month-" + month.month,
|
|
2165
2165
|
class: normalizeClass({ "ui-v1-calendar__cell-month": true }),
|
|
2166
2166
|
current: isCurrentMonth(month.month, index),
|
|
@@ -2177,25 +2177,25 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2177
2177
|
datetime: `${view.date.year}-${pad2(month.month)}`
|
|
2178
2178
|
}, [
|
|
2179
2179
|
createElementVNode("span", null, toDisplayString(month.name), 1)
|
|
2180
|
-
], 8, _hoisted_11)
|
|
2180
|
+
], 8, _hoisted_11$1)
|
|
2181
2181
|
]),
|
|
2182
2182
|
_: 2
|
|
2183
2183
|
}, 1032, ["current", "tabindex", "aria-selected", "aria-label", "onClick", "onKeydown", "onFocus"]);
|
|
2184
2184
|
}), 128))
|
|
2185
2185
|
]);
|
|
2186
2186
|
}), 128))
|
|
2187
|
-
], 8, _hoisted_10$
|
|
2187
|
+
], 8, _hoisted_10$2)
|
|
2188
2188
|
], 64)) : createCommentVNode("", true),
|
|
2189
2189
|
view.mode === unref(VIEW_MODE).YEARS ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
2190
2190
|
createElementVNode("nav", {
|
|
2191
2191
|
class: "ui-v1-calendar-navigation",
|
|
2192
2192
|
"aria-label": i18n.value.t("decadeNavigation")
|
|
2193
2193
|
}, [
|
|
2194
|
-
createVNode(_sfc_main$
|
|
2194
|
+
createVNode(_sfc_main$12, {
|
|
2195
2195
|
label: i18n.value.t("prevDecade"),
|
|
2196
2196
|
onClick: ($event) => showPrevDecade(index)
|
|
2197
2197
|
}, null, 8, ["label", "onClick"]),
|
|
2198
|
-
createVNode(_sfc_main$
|
|
2198
|
+
createVNode(_sfc_main$11, {
|
|
2199
2199
|
locked: "",
|
|
2200
2200
|
onClick: ($event) => views[index].mode = unref(VIEW_MODE).MONTHS
|
|
2201
2201
|
}, {
|
|
@@ -2204,16 +2204,16 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2204
2204
|
id: getGridLabelId(index, unref(VIEW_MODE).YEARS),
|
|
2205
2205
|
"aria-atomic": "true",
|
|
2206
2206
|
"aria-live": "polite"
|
|
2207
|
-
}, toDisplayString(view.decade[0]) + "–" + toDisplayString(view.decade[view.decade.length - 1]), 9, _hoisted_13)
|
|
2207
|
+
}, toDisplayString(view.decade[0]) + "–" + toDisplayString(view.decade[view.decade.length - 1]), 9, _hoisted_13$1)
|
|
2208
2208
|
]),
|
|
2209
2209
|
_: 2
|
|
2210
2210
|
}, 1032, ["onClick"]),
|
|
2211
|
-
createVNode(_sfc_main$
|
|
2211
|
+
createVNode(_sfc_main$12, {
|
|
2212
2212
|
label: i18n.value.t("nextDecade"),
|
|
2213
2213
|
direction: "next",
|
|
2214
2214
|
onClick: ($event) => showNextDecade(index)
|
|
2215
2215
|
}, null, 8, ["label", "onClick"])
|
|
2216
|
-
], 8, _hoisted_12),
|
|
2216
|
+
], 8, _hoisted_12$1),
|
|
2217
2217
|
createElementVNode("div", {
|
|
2218
2218
|
class: "ui-v1-calendar__table",
|
|
2219
2219
|
role: "grid",
|
|
@@ -2226,7 +2226,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2226
2226
|
role: "row"
|
|
2227
2227
|
}, [
|
|
2228
2228
|
(openBlock(true), createElementBlock(Fragment, null, renderList(years, (year) => {
|
|
2229
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2229
|
+
return openBlock(), createBlock(_sfc_main$13, {
|
|
2230
2230
|
key: "year-" + year,
|
|
2231
2231
|
class: normalizeClass({ "ui-v1-calendar__cell-year": true }),
|
|
2232
2232
|
current: isCurrentYear(year),
|
|
@@ -2241,14 +2241,14 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2241
2241
|
default: withCtx(() => [
|
|
2242
2242
|
createElementVNode("time", {
|
|
2243
2243
|
datetime: String(year)
|
|
2244
|
-
}, toDisplayString(year), 9, _hoisted_15)
|
|
2244
|
+
}, toDisplayString(year), 9, _hoisted_15$1)
|
|
2245
2245
|
]),
|
|
2246
2246
|
_: 2
|
|
2247
2247
|
}, 1032, ["current", "tabindex", "aria-selected", "aria-label", "onClick", "onKeydown", "onFocus"]);
|
|
2248
2248
|
}), 128))
|
|
2249
2249
|
]);
|
|
2250
2250
|
}), 128))
|
|
2251
|
-
], 8, _hoisted_14)
|
|
2251
|
+
], 8, _hoisted_14$1)
|
|
2252
2252
|
], 64)) : createCommentVNode("", true)
|
|
2253
2253
|
]);
|
|
2254
2254
|
}), 128)),
|
|
@@ -2256,17 +2256,17 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2256
2256
|
id: dayGridHintId,
|
|
2257
2257
|
class: "ui-v1-calendar__sr-only"
|
|
2258
2258
|
}, toDisplayString(dayGridHelpText.value), 1),
|
|
2259
|
-
createElementVNode("p", _hoisted_16, toDisplayString(liveAnnouncement.value), 1)
|
|
2259
|
+
createElementVNode("p", _hoisted_16$1, toDisplayString(liveAnnouncement.value), 1)
|
|
2260
2260
|
]);
|
|
2261
2261
|
};
|
|
2262
2262
|
}
|
|
2263
2263
|
});
|
|
2264
|
-
const _hoisted_1$
|
|
2264
|
+
const _hoisted_1$J = {
|
|
2265
2265
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2266
2266
|
viewBox: "0 0 24 24"
|
|
2267
2267
|
};
|
|
2268
|
-
function render$
|
|
2269
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
2268
|
+
function render$g(_ctx, _cache) {
|
|
2269
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$J, [..._cache[0] || (_cache[0] = [
|
|
2270
2270
|
createElementVNode("path", {
|
|
2271
2271
|
fill: "currentColor",
|
|
2272
2272
|
"fill-rule": "evenodd",
|
|
@@ -2275,7 +2275,7 @@ function render$f(_ctx, _cache) {
|
|
|
2275
2275
|
}, null, -1)
|
|
2276
2276
|
])]);
|
|
2277
2277
|
}
|
|
2278
|
-
const IconDone = { render: render$
|
|
2278
|
+
const IconDone = { render: render$g };
|
|
2279
2279
|
const expect = (value) => ({
|
|
2280
2280
|
toBeOneOf(variants) {
|
|
2281
2281
|
return Object.values(variants).includes(value);
|
|
@@ -2303,11 +2303,11 @@ const without = (obj, exclude) => {
|
|
|
2303
2303
|
});
|
|
2304
2304
|
return newObj;
|
|
2305
2305
|
};
|
|
2306
|
-
const _hoisted_1$
|
|
2307
|
-
const _hoisted_2$
|
|
2306
|
+
const _hoisted_1$I = ["id", "value", "name", "disabled", "checked"];
|
|
2307
|
+
const _hoisted_2$o = { class: "ui-v1-checkbox__checkmark" };
|
|
2308
2308
|
let counter$3 = 0;
|
|
2309
2309
|
const __default__$2 = {};
|
|
2310
|
-
const _sfc_main
|
|
2310
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
2311
2311
|
...__default__$2,
|
|
2312
2312
|
__name: "UiCheckbox",
|
|
2313
2313
|
props: {
|
|
@@ -2414,8 +2414,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
2414
2414
|
type: "checkbox",
|
|
2415
2415
|
class: "ui-v1-checkbox__input",
|
|
2416
2416
|
onChange
|
|
2417
|
-
}), null, 16, _hoisted_1$
|
|
2418
|
-
createElementVNode("span", _hoisted_2$
|
|
2417
|
+
}), null, 16, _hoisted_1$I),
|
|
2418
|
+
createElementVNode("span", _hoisted_2$o, [
|
|
2419
2419
|
checked.value && !__props.indeterminate ? (openBlock(), createBlock(unref(IconDone), {
|
|
2420
2420
|
key: 0,
|
|
2421
2421
|
class: "ui-v1-checkbox__checkmark-icon"
|
|
@@ -2430,15 +2430,15 @@ var COLLAPSE_BEHAVIOUR = /* @__PURE__ */ ((COLLAPSE_BEHAVIOUR2) => {
|
|
|
2430
2430
|
COLLAPSE_BEHAVIOUR2["HIDE"] = "hide";
|
|
2431
2431
|
return COLLAPSE_BEHAVIOUR2;
|
|
2432
2432
|
})(COLLAPSE_BEHAVIOUR || {});
|
|
2433
|
-
const _hoisted_1$
|
|
2433
|
+
const _hoisted_1$H = {
|
|
2434
2434
|
key: 0,
|
|
2435
2435
|
class: "ui-v1-collapse"
|
|
2436
2436
|
};
|
|
2437
|
-
const _hoisted_2$
|
|
2437
|
+
const _hoisted_2$n = {
|
|
2438
2438
|
key: 1,
|
|
2439
2439
|
class: "ui-v1-collapse"
|
|
2440
2440
|
};
|
|
2441
|
-
const _sfc_main$
|
|
2441
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
2442
2442
|
__name: "UiCollapse",
|
|
2443
2443
|
props: {
|
|
2444
2444
|
/** Свёрнут/Развёрнут */
|
|
@@ -2556,12 +2556,12 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
2556
2556
|
}, {
|
|
2557
2557
|
default: withCtx(() => [
|
|
2558
2558
|
__props.collapseBehaviour === unref(COLLAPSE_BEHAVIOUR).DISPOSE ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
2559
|
-
__props.expanded ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2559
|
+
__props.expanded ? (openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
2560
2560
|
createElementVNode("div", null, [
|
|
2561
2561
|
renderSlot(_ctx.$slots, "default")
|
|
2562
2562
|
])
|
|
2563
2563
|
])) : createCommentVNode("", true)
|
|
2564
|
-
], 64)) : withDirectives((openBlock(), createElementBlock("div", _hoisted_2$
|
|
2564
|
+
], 64)) : withDirectives((openBlock(), createElementBlock("div", _hoisted_2$n, [
|
|
2565
2565
|
createElementVNode("div", null, [
|
|
2566
2566
|
renderSlot(_ctx.$slots, "default")
|
|
2567
2567
|
])
|
|
@@ -2589,27 +2589,27 @@ var SIZE$9 = /* @__PURE__ */ ((SIZE2) => {
|
|
|
2589
2589
|
SIZE2["MD"] = "md";
|
|
2590
2590
|
return SIZE2;
|
|
2591
2591
|
})(SIZE$9 || {});
|
|
2592
|
-
const CollapseGroupRegisterKey = Symbol("UiCollapseGroup_register");
|
|
2593
|
-
const CollapseGroupUnregisterKey = Symbol("UiCollapseGroup_unregister");
|
|
2594
|
-
const CollapseGroupExpandKey = Symbol("UiCollapseGroup_expand");
|
|
2595
|
-
const CollapseGroupCollapseKey = Symbol("UiCollapseGroup_collapse");
|
|
2596
|
-
const _hoisted_1$
|
|
2597
|
-
const _hoisted_2$
|
|
2598
|
-
const _hoisted_3$
|
|
2599
|
-
const _hoisted_4$
|
|
2600
|
-
const _hoisted_5$
|
|
2601
|
-
const _hoisted_6$
|
|
2602
|
-
const _hoisted_7$
|
|
2592
|
+
const CollapseGroupRegisterKey = /* @__PURE__ */ Symbol("UiCollapseGroup_register");
|
|
2593
|
+
const CollapseGroupUnregisterKey = /* @__PURE__ */ Symbol("UiCollapseGroup_unregister");
|
|
2594
|
+
const CollapseGroupExpandKey = /* @__PURE__ */ Symbol("UiCollapseGroup_expand");
|
|
2595
|
+
const CollapseGroupCollapseKey = /* @__PURE__ */ Symbol("UiCollapseGroup_collapse");
|
|
2596
|
+
const _hoisted_1$G = ["id", "aria-labelledby"];
|
|
2597
|
+
const _hoisted_2$m = ["id", "disabled", "aria-controls", "aria-expanded", "aria-disabled"];
|
|
2598
|
+
const _hoisted_3$i = { class: "ui-v1-collapse-box__icon-sprite" };
|
|
2599
|
+
const _hoisted_4$a = { class: "ui-v1-collapse-box__header-content" };
|
|
2600
|
+
const _hoisted_5$8 = ["id"];
|
|
2601
|
+
const _hoisted_6$6 = ["id"];
|
|
2602
|
+
const _hoisted_7$4 = {
|
|
2603
2603
|
key: 1,
|
|
2604
2604
|
class: "ui-v1-collapse-box__action"
|
|
2605
2605
|
};
|
|
2606
|
-
const _hoisted_8$
|
|
2607
|
-
const _hoisted_9 = { key: 0 };
|
|
2608
|
-
const _hoisted_10 = {
|
|
2606
|
+
const _hoisted_8$2 = { class: "ui-v1-collapse-box__body" };
|
|
2607
|
+
const _hoisted_9$1 = { key: 0 };
|
|
2608
|
+
const _hoisted_10$1 = {
|
|
2609
2609
|
key: 0,
|
|
2610
2610
|
class: "ui-v1-collapse-box__footer"
|
|
2611
2611
|
};
|
|
2612
|
-
const _sfc_main$
|
|
2612
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
2613
2613
|
...{
|
|
2614
2614
|
inheritAttrs: false
|
|
2615
2615
|
},
|
|
@@ -2832,31 +2832,31 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
2832
2832
|
[`ui-v1-collapse-box__icon_${__props.iconSize}`]: __props.iconSize
|
|
2833
2833
|
})
|
|
2834
2834
|
}, [
|
|
2835
|
-
createElementVNode("span", _hoisted_3$
|
|
2835
|
+
createElementVNode("span", _hoisted_3$i, [
|
|
2836
2836
|
renderSlot(_ctx.$slots, "icon")
|
|
2837
2837
|
])
|
|
2838
2838
|
], 2)) : createCommentVNode("", true),
|
|
2839
|
-
createElementVNode("span", _hoisted_4$
|
|
2839
|
+
createElementVNode("span", _hoisted_4$a, [
|
|
2840
2840
|
createElementVNode("span", {
|
|
2841
2841
|
id: boxId.value + "-title",
|
|
2842
2842
|
class: "ui-v1-collapse-box__title"
|
|
2843
2843
|
}, [
|
|
2844
2844
|
renderSlot(_ctx.$slots, "title")
|
|
2845
|
-
], 8, _hoisted_5$
|
|
2845
|
+
], 8, _hoisted_5$8),
|
|
2846
2846
|
_ctx.$slots["description"] ? (openBlock(), createElementBlock("span", {
|
|
2847
2847
|
key: 0,
|
|
2848
2848
|
id: boxId.value + "-description",
|
|
2849
2849
|
class: "ui-v1-collapse-box__description"
|
|
2850
2850
|
}, [
|
|
2851
2851
|
renderSlot(_ctx.$slots, "description")
|
|
2852
|
-
], 8, _hoisted_6$
|
|
2852
|
+
], 8, _hoisted_6$6)) : createCommentVNode("", true)
|
|
2853
2853
|
]),
|
|
2854
|
-
!__props.disabled ? (openBlock(), createElementBlock("span", _hoisted_7$
|
|
2854
|
+
!__props.disabled ? (openBlock(), createElementBlock("span", _hoisted_7$4, [
|
|
2855
2855
|
createVNode(unref(IconChevronRight), { class: "ui-v1-collapse-box__arrow" })
|
|
2856
2856
|
])) : createCommentVNode("", true)
|
|
2857
|
-
], 8, _hoisted_2$
|
|
2857
|
+
], 8, _hoisted_2$m)
|
|
2858
2858
|
], 2),
|
|
2859
|
-
createVNode(_sfc_main$
|
|
2859
|
+
createVNode(_sfc_main$_, {
|
|
2860
2860
|
id: boxId.value + "-collapse",
|
|
2861
2861
|
"aria-hidden": !state.expanded ? "true" : "false",
|
|
2862
2862
|
"aria-labelledby": boxId.value + "-button",
|
|
@@ -2870,7 +2870,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
2870
2870
|
}, {
|
|
2871
2871
|
default: withCtx(() => [
|
|
2872
2872
|
renderSlot(_ctx.$slots, "body", {}, () => [
|
|
2873
|
-
createElementVNode("div", _hoisted_8$
|
|
2873
|
+
createElementVNode("div", _hoisted_8$2, [
|
|
2874
2874
|
createElementVNode("div", {
|
|
2875
2875
|
class: normalizeClass([
|
|
2876
2876
|
"ui-v1-collapse-box__body-content",
|
|
@@ -2881,9 +2881,9 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
2881
2881
|
], 2)
|
|
2882
2882
|
])
|
|
2883
2883
|
]),
|
|
2884
|
-
_ctx.$slots["footer"] || _ctx.$slots["footer-content"] ? (openBlock(), createElementBlock("footer", _hoisted_9, [
|
|
2884
|
+
_ctx.$slots["footer"] || _ctx.$slots["footer-content"] ? (openBlock(), createElementBlock("footer", _hoisted_9$1, [
|
|
2885
2885
|
renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
2886
|
-
_ctx.$slots["footer-content"] ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
2886
|
+
_ctx.$slots["footer-content"] ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
|
|
2887
2887
|
renderSlot(_ctx.$slots, "footer-content")
|
|
2888
2888
|
])) : createCommentVNode("", true)
|
|
2889
2889
|
])
|
|
@@ -2891,11 +2891,11 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
2891
2891
|
]),
|
|
2892
2892
|
_: 3
|
|
2893
2893
|
}, 8, ["id", "aria-hidden", "aria-labelledby", "duration", "expanded", "collapse-behaviour"])
|
|
2894
|
-
], 16, _hoisted_1$
|
|
2894
|
+
], 16, _hoisted_1$G);
|
|
2895
2895
|
};
|
|
2896
2896
|
}
|
|
2897
2897
|
});
|
|
2898
|
-
const _sfc_main$
|
|
2898
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
2899
2899
|
__name: "UiCollapseGroup",
|
|
2900
2900
|
props: {
|
|
2901
2901
|
/**
|
|
@@ -3013,19 +3013,19 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
3013
3013
|
};
|
|
3014
3014
|
}
|
|
3015
3015
|
});
|
|
3016
|
-
const _hoisted_1$
|
|
3016
|
+
const _hoisted_1$F = {
|
|
3017
3017
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3018
3018
|
viewBox: "0 0 24 24"
|
|
3019
3019
|
};
|
|
3020
|
-
function render$
|
|
3021
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
3020
|
+
function render$f(_ctx, _cache) {
|
|
3021
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$F, [..._cache[0] || (_cache[0] = [
|
|
3022
3022
|
createElementVNode("path", {
|
|
3023
3023
|
fill: "currentColor",
|
|
3024
3024
|
d: "M18 16V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2M4 4h12v12H4zm16 14V6a2 2 0 0 1 2 2v10a4 4 0 0 1-4 4H8a2 2 0 0 1-2-2h12a2 2 0 0 0 2-2"
|
|
3025
3025
|
}, null, -1)
|
|
3026
3026
|
])]);
|
|
3027
3027
|
}
|
|
3028
|
-
const IconCopy = { render: render$
|
|
3028
|
+
const IconCopy = { render: render$f };
|
|
3029
3029
|
const sides$1 = ["top", "right", "bottom", "left"];
|
|
3030
3030
|
const min = Math.min;
|
|
3031
3031
|
const max = Math.max;
|
|
@@ -4479,7 +4479,7 @@ const computePosition = (reference, floating, options) => {
|
|
|
4479
4479
|
platform: platformWithCache
|
|
4480
4480
|
});
|
|
4481
4481
|
};
|
|
4482
|
-
const ProcessedByPopperKey = Symbol.for("[@retailcrm/embed-ui-v1-components]:ProcessedByPopper");
|
|
4482
|
+
const ProcessedByPopperKey = /* @__PURE__ */ Symbol.for("[@retailcrm/embed-ui-v1-components]:ProcessedByPopper");
|
|
4483
4483
|
const sides = ["top", "right", "bottom", "left"];
|
|
4484
4484
|
const isPlacementLiteral = (value) => sides.some((side) => {
|
|
4485
4485
|
return value === side || value === `${side}-start` || value === `${side}-end`;
|
|
@@ -4494,7 +4494,7 @@ const isPlacementAdaptation = (value) => {
|
|
|
4494
4494
|
const isPlacementOptions = (value) => {
|
|
4495
4495
|
return typeof value === "object" && value !== null && "side" in value && isPlacementSide(value.side) && "alignment" in value && isPlacementAlignment(value.alignment) && "adaptation" in value && isPlacementAdaptation(value.adaptation);
|
|
4496
4496
|
};
|
|
4497
|
-
const PopperTargetKey = Symbol.for(
|
|
4497
|
+
const PopperTargetKey = /* @__PURE__ */ Symbol.for(
|
|
4498
4498
|
"[@retailcrm/embed-ui-v1-components]:PopperTarget"
|
|
4499
4499
|
);
|
|
4500
4500
|
const useTarget = (target) => {
|
|
@@ -4692,8 +4692,8 @@ if (typeof document !== "undefined" && typeof window !== "undefined") {
|
|
|
4692
4692
|
window.addEventListener("click", onGlobalEvent("click"), true);
|
|
4693
4693
|
}
|
|
4694
4694
|
}
|
|
4695
|
-
const _hoisted_1$
|
|
4696
|
-
const _sfc_main$
|
|
4695
|
+
const _hoisted_1$E = { class: "ui-v1-popper__content" };
|
|
4696
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
4697
4697
|
__name: "UiPopper",
|
|
4698
4698
|
props: {
|
|
4699
4699
|
/** Флаг для ручного переключения видимости */
|
|
@@ -5039,7 +5039,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5039
5039
|
ref: arrow2,
|
|
5040
5040
|
class: "ui-v1-popper__arrow"
|
|
5041
5041
|
}, null, 512)) : createCommentVNode("", true),
|
|
5042
|
-
createElementVNode("div", _hoisted_1$
|
|
5042
|
+
createElementVNode("div", _hoisted_1$E, [
|
|
5043
5043
|
renderSlot(_ctx.$slots, "default")
|
|
5044
5044
|
])
|
|
5045
5045
|
], 16)
|
|
@@ -5047,7 +5047,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5047
5047
|
};
|
|
5048
5048
|
}
|
|
5049
5049
|
});
|
|
5050
|
-
const _sfc_main$
|
|
5050
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
5051
5051
|
__name: "UiTooltip",
|
|
5052
5052
|
props: {
|
|
5053
5053
|
/** Флаг для ручного переключения видимости */
|
|
@@ -5158,7 +5158,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
5158
5158
|
hide: () => popper.value?.hide()
|
|
5159
5159
|
});
|
|
5160
5160
|
return (_ctx, _cache) => {
|
|
5161
|
-
return openBlock(), createBlock(_sfc_main$
|
|
5161
|
+
return openBlock(), createBlock(_sfc_main$X, mergeProps({
|
|
5162
5162
|
ref_key: "popper",
|
|
5163
5163
|
ref: popper,
|
|
5164
5164
|
visible: __props.visible,
|
|
@@ -5192,11 +5192,11 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
5192
5192
|
};
|
|
5193
5193
|
}
|
|
5194
5194
|
});
|
|
5195
|
-
const _hoisted_1$
|
|
5196
|
-
const _hoisted_2$
|
|
5197
|
-
const _hoisted_3$
|
|
5198
|
-
const _hoisted_4$
|
|
5199
|
-
const _sfc_main$
|
|
5195
|
+
const _hoisted_1$D = { class: "ui-v1-copy-button__tooltip" };
|
|
5196
|
+
const _hoisted_2$l = { class: "ui-v1-copy-button__icon" };
|
|
5197
|
+
const _hoisted_3$h = { class: "ui-v1-copy-button__text" };
|
|
5198
|
+
const _hoisted_4$9 = ["value"];
|
|
5199
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
5200
5200
|
__name: "UiCopyButton",
|
|
5201
5201
|
props: {
|
|
5202
5202
|
/** Текст для копирования в буфер обмена */
|
|
@@ -5268,7 +5268,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
5268
5268
|
onClick: copy
|
|
5269
5269
|
}, [
|
|
5270
5270
|
renderSlot(_ctx.$slots, "trigger", {}, () => [
|
|
5271
|
-
createVNode(_sfc_main$
|
|
5271
|
+
createVNode(_sfc_main$14, {
|
|
5272
5272
|
size: __props.size,
|
|
5273
5273
|
appearance: "tertiary"
|
|
5274
5274
|
}, {
|
|
@@ -5278,7 +5278,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
5278
5278
|
_: 1
|
|
5279
5279
|
}, 8, ["size"])
|
|
5280
5280
|
]),
|
|
5281
|
-
createVNode(_sfc_main$
|
|
5281
|
+
createVNode(_sfc_main$W, mergeProps({
|
|
5282
5282
|
visible: visible.value,
|
|
5283
5283
|
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
5284
5284
|
target: rootTarget.value,
|
|
@@ -5288,12 +5288,12 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
5288
5288
|
...__props.tooltipOptions
|
|
5289
5289
|
}), {
|
|
5290
5290
|
default: withCtx(() => [
|
|
5291
|
-
createElementVNode("div", _hoisted_1$
|
|
5291
|
+
createElementVNode("div", _hoisted_1$D, [
|
|
5292
5292
|
copied.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
5293
|
-
createElementVNode("div", _hoisted_2$
|
|
5293
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
5294
5294
|
createVNode(unref(IconCheckmarkCircleOutlined))
|
|
5295
5295
|
]),
|
|
5296
|
-
createElementVNode("div", _hoisted_3$
|
|
5296
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
5297
5297
|
renderSlot(_ctx.$slots, "hint-copied")
|
|
5298
5298
|
])
|
|
5299
5299
|
], 64)) : renderSlot(_ctx.$slots, "hint", { key: 1 })
|
|
@@ -5308,7 +5308,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
5308
5308
|
value: __props.text,
|
|
5309
5309
|
class: "ui-v1-copy-button__area",
|
|
5310
5310
|
type: "text"
|
|
5311
|
-
}, null, 8, _hoisted_4$
|
|
5311
|
+
}, null, 8, _hoisted_4$9)) : createCommentVNode("", true)
|
|
5312
5312
|
], 544);
|
|
5313
5313
|
};
|
|
5314
5314
|
}
|
|
@@ -5348,7 +5348,7 @@ function detectLocale() {
|
|
|
5348
5348
|
}
|
|
5349
5349
|
return "en-GB";
|
|
5350
5350
|
}
|
|
5351
|
-
const _sfc_main$
|
|
5351
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
5352
5352
|
__name: "UiDate",
|
|
5353
5353
|
props: {
|
|
5354
5354
|
date: {
|
|
@@ -5375,12 +5375,12 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
5375
5375
|
};
|
|
5376
5376
|
}
|
|
5377
5377
|
});
|
|
5378
|
-
const _hoisted_1$
|
|
5378
|
+
const _hoisted_1$C = {
|
|
5379
5379
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5380
5380
|
viewBox: "0 0 24 24"
|
|
5381
5381
|
};
|
|
5382
|
-
function render$
|
|
5383
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
5382
|
+
function render$e(_ctx, _cache) {
|
|
5383
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$C, [..._cache[0] || (_cache[0] = [
|
|
5384
5384
|
createElementVNode("path", {
|
|
5385
5385
|
fill: "currentColor",
|
|
5386
5386
|
"fill-rule": "evenodd",
|
|
@@ -5389,13 +5389,13 @@ function render$d(_ctx, _cache) {
|
|
|
5389
5389
|
}, null, -1)
|
|
5390
5390
|
])]);
|
|
5391
5391
|
}
|
|
5392
|
-
const IconCalendar = { render: render$
|
|
5393
|
-
const _hoisted_1$
|
|
5392
|
+
const IconCalendar = { render: render$e };
|
|
5393
|
+
const _hoisted_1$B = {
|
|
5394
5394
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5395
5395
|
viewBox: "0 0 24 24"
|
|
5396
5396
|
};
|
|
5397
|
-
function render$
|
|
5398
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
5397
|
+
function render$d(_ctx, _cache) {
|
|
5398
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$B, [..._cache[0] || (_cache[0] = [
|
|
5399
5399
|
createElementVNode("path", {
|
|
5400
5400
|
fill: "currentColor",
|
|
5401
5401
|
"fill-rule": "evenodd",
|
|
@@ -5404,7 +5404,7 @@ function render$c(_ctx, _cache) {
|
|
|
5404
5404
|
}, null, -1)
|
|
5405
5405
|
])]);
|
|
5406
5406
|
}
|
|
5407
|
-
const IconClearCircle = { render: render$
|
|
5407
|
+
const IconClearCircle = { render: render$d };
|
|
5408
5408
|
var WIDTH = /* @__PURE__ */ ((WIDTH2) => {
|
|
5409
5409
|
WIDTH2["FIT"] = "fit";
|
|
5410
5410
|
WIDTH2["FLUID"] = "fluid";
|
|
@@ -5514,37 +5514,37 @@ function normalizeDecimals(value, decimals) {
|
|
|
5514
5514
|
return value;
|
|
5515
5515
|
}
|
|
5516
5516
|
const clear$5 = "Clear";
|
|
5517
|
-
const messages_en_GB$
|
|
5517
|
+
const messages_en_GB$6 = {
|
|
5518
5518
|
clear: clear$5
|
|
5519
5519
|
};
|
|
5520
5520
|
const clear$4 = "Borrar";
|
|
5521
|
-
const messages_es_ES$
|
|
5521
|
+
const messages_es_ES$6 = {
|
|
5522
5522
|
clear: clear$4
|
|
5523
5523
|
};
|
|
5524
5524
|
const clear$3 = "Очистить";
|
|
5525
|
-
const messages_ru_RU$
|
|
5525
|
+
const messages_ru_RU$6 = {
|
|
5526
5526
|
clear: clear$3
|
|
5527
5527
|
};
|
|
5528
|
-
const _i18n$
|
|
5528
|
+
const _i18n$6 = define({
|
|
5529
5529
|
messages: {
|
|
5530
|
-
"en-GB": messages_en_GB$
|
|
5531
|
-
"es-ES": messages_es_ES$
|
|
5532
|
-
"ru-RU": messages_ru_RU$
|
|
5530
|
+
"en-GB": messages_en_GB$6,
|
|
5531
|
+
"es-ES": messages_es_ES$6,
|
|
5532
|
+
"ru-RU": messages_ru_RU$6
|
|
5533
5533
|
}
|
|
5534
5534
|
});
|
|
5535
|
-
const _hoisted_1$
|
|
5536
|
-
const _hoisted_2$
|
|
5535
|
+
const _hoisted_1$A = ["id"];
|
|
5536
|
+
const _hoisted_2$k = {
|
|
5537
5537
|
key: 0,
|
|
5538
5538
|
class: "ui-v1-textbox__prefix"
|
|
5539
5539
|
};
|
|
5540
|
-
const _hoisted_3$
|
|
5541
|
-
const _hoisted_4$
|
|
5542
|
-
const _hoisted_5$
|
|
5543
|
-
const _hoisted_6$
|
|
5540
|
+
const _hoisted_3$g = ["id", "type", "value", "max", "min", "step", "aria-invalid", "autocomplete", "inputmode", "maxlength", "placeholder", "readonly", "required", "disabled"];
|
|
5541
|
+
const _hoisted_4$8 = ["id", "value", "aria-invalid", "autocomplete", "inputmode", "maxlength", "placeholder", "rows", "cols", "readonly", "required", "disabled"];
|
|
5542
|
+
const _hoisted_5$7 = ["disabled", "aria-controls", "aria-label"];
|
|
5543
|
+
const _hoisted_6$5 = {
|
|
5544
5544
|
key: 7,
|
|
5545
5545
|
class: "ui-v1-textbox__suffix"
|
|
5546
5546
|
};
|
|
5547
|
-
const _sfc_main$
|
|
5547
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
5548
5548
|
__name: "UiTextbox",
|
|
5549
5549
|
props: {
|
|
5550
5550
|
/** Уникальный идентификатор поля */
|
|
@@ -5711,7 +5711,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
5711
5711
|
const props = __props;
|
|
5712
5712
|
const emit = __emit;
|
|
5713
5713
|
const uid2 = useId();
|
|
5714
|
-
const i18n = computed(() => _i18n$
|
|
5714
|
+
const i18n = computed(() => _i18n$6.init(inject(I18nInjectKey, null)?.locale ?? _i18n$6.fallback));
|
|
5715
5715
|
const style = computed(() => {
|
|
5716
5716
|
const width = normalizeWidth(props.width);
|
|
5717
5717
|
return isWidthExact(props.width) && width ? { width } : {};
|
|
@@ -5981,7 +5981,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
5981
5981
|
},
|
|
5982
5982
|
style: style.value
|
|
5983
5983
|
}, _ctx.$attrs), [
|
|
5984
|
-
__props.prefix || "prefix" in _ctx.$slots ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5984
|
+
__props.prefix || "prefix" in _ctx.$slots ? (openBlock(), createElementBlock("span", _hoisted_2$k, [
|
|
5985
5985
|
renderSlot(_ctx.$slots, "prefix", {}, () => [
|
|
5986
5986
|
createTextVNode(toDisplayString(__props.prefix), 1)
|
|
5987
5987
|
])
|
|
@@ -6018,7 +6018,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
6018
6018
|
onChange,
|
|
6019
6019
|
onFocus,
|
|
6020
6020
|
onBlur
|
|
6021
|
-
}), null, 16, _hoisted_3$
|
|
6021
|
+
}), null, 16, _hoisted_3$g)) : (openBlock(), createElementBlock("textarea", mergeProps({
|
|
6022
6022
|
key: 3,
|
|
6023
6023
|
id: __props.id ?? unref(uid2),
|
|
6024
6024
|
ref_key: "textbox",
|
|
@@ -6041,7 +6041,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
6041
6041
|
onChange,
|
|
6042
6042
|
onFocus,
|
|
6043
6043
|
onBlur
|
|
6044
|
-
}), null, 16, _hoisted_4$
|
|
6044
|
+
}), null, 16, _hoisted_4$8)),
|
|
6045
6045
|
__props.autofit ? (openBlock(), createElementBlock("span", {
|
|
6046
6046
|
key: 4,
|
|
6047
6047
|
ref_key: "placeholderRef",
|
|
@@ -6058,7 +6058,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
6058
6058
|
onClick: clear2
|
|
6059
6059
|
}, [
|
|
6060
6060
|
createVNode(unref(IconClearCircle), { "aria-hidden": "true" })
|
|
6061
|
-
], 8, _hoisted_5$
|
|
6061
|
+
], 8, _hoisted_5$7)) : createCommentVNode("", true),
|
|
6062
6062
|
"trailing-icon" in _ctx.$slots ? (openBlock(), createElementBlock("span", {
|
|
6063
6063
|
key: 6,
|
|
6064
6064
|
class: "ui-v1-textbox__icon ui-v1-textbox__icon_trailing",
|
|
@@ -6066,12 +6066,12 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
6066
6066
|
}, [
|
|
6067
6067
|
renderSlot(_ctx.$slots, "trailing-icon")
|
|
6068
6068
|
])) : createCommentVNode("", true),
|
|
6069
|
-
__props.suffix || "suffix" in _ctx.$slots ? (openBlock(), createElementBlock("span", _hoisted_6$
|
|
6069
|
+
__props.suffix || "suffix" in _ctx.$slots ? (openBlock(), createElementBlock("span", _hoisted_6$5, [
|
|
6070
6070
|
renderSlot(_ctx.$slots, "suffix", {}, () => [
|
|
6071
6071
|
createTextVNode(toDisplayString(__props.suffix), 1)
|
|
6072
6072
|
])
|
|
6073
6073
|
])) : createCommentVNode("", true)
|
|
6074
|
-
], 16, _hoisted_1$
|
|
6074
|
+
], 16, _hoisted_1$A);
|
|
6075
6075
|
};
|
|
6076
6076
|
}
|
|
6077
6077
|
});
|
|
@@ -6089,29 +6089,29 @@ const deltaTransition$1 = (el) => {
|
|
|
6089
6089
|
animationDuration: `${delta * 15}ms`
|
|
6090
6090
|
} : {};
|
|
6091
6091
|
};
|
|
6092
|
-
const _hoisted_1$
|
|
6092
|
+
const _hoisted_1$z = {
|
|
6093
6093
|
key: 0,
|
|
6094
6094
|
class: "ui-v1-menu-item__avatar"
|
|
6095
6095
|
};
|
|
6096
|
-
const _hoisted_2$
|
|
6096
|
+
const _hoisted_2$j = {
|
|
6097
6097
|
key: 1,
|
|
6098
6098
|
class: "ui-v1-menu-item__icon ui-v1-menu-item__icon_leading"
|
|
6099
6099
|
};
|
|
6100
|
-
const _hoisted_3$
|
|
6101
|
-
const _hoisted_4$
|
|
6102
|
-
const _hoisted_5$
|
|
6100
|
+
const _hoisted_3$f = { class: "ui-v1-menu-item__content" };
|
|
6101
|
+
const _hoisted_4$7 = { class: "ui-v1-menu-item__text" };
|
|
6102
|
+
const _hoisted_5$6 = {
|
|
6103
6103
|
key: 0,
|
|
6104
6104
|
class: "ui-v1-menu-item__description"
|
|
6105
6105
|
};
|
|
6106
|
-
const _hoisted_6$
|
|
6106
|
+
const _hoisted_6$4 = {
|
|
6107
6107
|
key: 2,
|
|
6108
6108
|
class: "ui-v1-menu-item__counter"
|
|
6109
6109
|
};
|
|
6110
|
-
const _hoisted_7$
|
|
6110
|
+
const _hoisted_7$3 = {
|
|
6111
6111
|
key: 3,
|
|
6112
6112
|
class: "ui-v1-menu-item__icon ui-v1-menu-item__icon_trailing"
|
|
6113
6113
|
};
|
|
6114
|
-
const _sfc_main$
|
|
6114
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
6115
6115
|
__name: "UiMenuItem",
|
|
6116
6116
|
props: {
|
|
6117
6117
|
/** Размер */
|
|
@@ -6190,13 +6190,13 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
6190
6190
|
}),
|
|
6191
6191
|
onMouseoverOnce: onHover
|
|
6192
6192
|
}, [
|
|
6193
|
-
_ctx.$slots["avatar"] ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6193
|
+
_ctx.$slots["avatar"] ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
6194
6194
|
renderSlot(_ctx.$slots, "avatar")
|
|
6195
|
-
])) : _ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6195
|
+
])) : _ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_2$j, [
|
|
6196
6196
|
renderSlot(_ctx.$slots, "leading-icon")
|
|
6197
6197
|
])) : createCommentVNode("", true),
|
|
6198
|
-
createElementVNode("div", _hoisted_3$
|
|
6199
|
-
createElementVNode("div", _hoisted_4$
|
|
6198
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
6199
|
+
createElementVNode("div", _hoisted_4$7, [
|
|
6200
6200
|
__props.ticker ? (openBlock(), createElementBlock("div", {
|
|
6201
6201
|
key: 0,
|
|
6202
6202
|
ref_key: "textRef",
|
|
@@ -6207,14 +6207,14 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
6207
6207
|
renderSlot(_ctx.$slots, "default")
|
|
6208
6208
|
], 4)) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
6209
6209
|
]),
|
|
6210
|
-
_ctx.$slots["description"] || __props.description ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
6210
|
+
_ctx.$slots["description"] || __props.description ? (openBlock(), createElementBlock("div", _hoisted_5$6, [
|
|
6211
6211
|
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
6212
6212
|
createTextVNode(toDisplayString(__props.description), 1)
|
|
6213
6213
|
])
|
|
6214
6214
|
])) : createCommentVNode("", true)
|
|
6215
6215
|
]),
|
|
6216
|
-
__props.counter !== null ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
6217
|
-
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
6216
|
+
__props.counter !== null ? (openBlock(), createElementBlock("div", _hoisted_6$4, toDisplayString(__props.counter), 1)) : createCommentVNode("", true),
|
|
6217
|
+
_ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_7$3, [
|
|
6218
6218
|
renderSlot(_ctx.$slots, "trailing-icon")
|
|
6219
6219
|
])) : createCommentVNode("", true)
|
|
6220
6220
|
], 34)
|
|
@@ -6222,7 +6222,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
6222
6222
|
};
|
|
6223
6223
|
}
|
|
6224
6224
|
});
|
|
6225
|
-
const _sfc_main$
|
|
6225
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
6226
6226
|
__name: "UiScrollBox",
|
|
6227
6227
|
props: {
|
|
6228
6228
|
/** Наименование тэга-обёртки для нативного скролла */
|
|
@@ -6400,7 +6400,7 @@ const isQuickDateEqual = (first, second) => {
|
|
|
6400
6400
|
}
|
|
6401
6401
|
return false;
|
|
6402
6402
|
};
|
|
6403
|
-
const _sfc_main$
|
|
6403
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
6404
6404
|
__name: "UiDatePickerQuickMenu",
|
|
6405
6405
|
props: {
|
|
6406
6406
|
value: {
|
|
@@ -6426,14 +6426,14 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
6426
6426
|
emit("change", props.nullable && isActive(date) ? null : date);
|
|
6427
6427
|
};
|
|
6428
6428
|
return (_ctx, _cache) => {
|
|
6429
|
-
return openBlock(), createBlock(_sfc_main$
|
|
6429
|
+
return openBlock(), createBlock(_sfc_main$R, {
|
|
6430
6430
|
class: "ui-v1-date-picker__quick-menu",
|
|
6431
6431
|
role: "menu",
|
|
6432
6432
|
native: ""
|
|
6433
6433
|
}, {
|
|
6434
6434
|
default: withCtx(() => [
|
|
6435
6435
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, index) => {
|
|
6436
|
-
return openBlock(), createBlock(_sfc_main$
|
|
6436
|
+
return openBlock(), createBlock(_sfc_main$S, {
|
|
6437
6437
|
key: "quick-item-" + index,
|
|
6438
6438
|
active: isActive(item.value),
|
|
6439
6439
|
"aria-current": isActive(item.value) ? "true" : "false",
|
|
@@ -6455,34 +6455,34 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
6455
6455
|
});
|
|
6456
6456
|
const apply$2 = "Apply";
|
|
6457
6457
|
const clear$2 = "Clear";
|
|
6458
|
-
const messages_en_GB$
|
|
6458
|
+
const messages_en_GB$5 = {
|
|
6459
6459
|
apply: apply$2,
|
|
6460
6460
|
clear: clear$2
|
|
6461
6461
|
};
|
|
6462
6462
|
const apply$1 = "Aplicar";
|
|
6463
6463
|
const clear$1 = "Limpiar";
|
|
6464
|
-
const messages_es_ES$
|
|
6464
|
+
const messages_es_ES$5 = {
|
|
6465
6465
|
apply: apply$1,
|
|
6466
6466
|
clear: clear$1
|
|
6467
6467
|
};
|
|
6468
6468
|
const apply = "Применить";
|
|
6469
6469
|
const clear = "Очистить";
|
|
6470
|
-
const messages_ru_RU$
|
|
6470
|
+
const messages_ru_RU$5 = {
|
|
6471
6471
|
apply,
|
|
6472
6472
|
clear
|
|
6473
6473
|
};
|
|
6474
|
-
const _i18n$
|
|
6474
|
+
const _i18n$5 = define({
|
|
6475
6475
|
messages: {
|
|
6476
|
-
"en-GB": messages_en_GB$
|
|
6477
|
-
"es-ES": messages_es_ES$
|
|
6478
|
-
"ru-RU": messages_ru_RU$
|
|
6476
|
+
"en-GB": messages_en_GB$5,
|
|
6477
|
+
"es-ES": messages_es_ES$5,
|
|
6478
|
+
"ru-RU": messages_ru_RU$5
|
|
6479
6479
|
}
|
|
6480
6480
|
});
|
|
6481
|
-
const _hoisted_1$
|
|
6482
|
-
const _hoisted_2$
|
|
6483
|
-
const _hoisted_3$
|
|
6484
|
-
const _hoisted_4$
|
|
6485
|
-
const _sfc_main$
|
|
6481
|
+
const _hoisted_1$y = ["id", "aria-controls", "aria-disabled", "aria-expanded", "aria-readonly"];
|
|
6482
|
+
const _hoisted_2$i = ["id"];
|
|
6483
|
+
const _hoisted_3$e = { class: "ui-v1-date-picker__workspace" };
|
|
6484
|
+
const _hoisted_4$6 = { class: "ui-v1-date-picker__action" };
|
|
6485
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
6486
6486
|
...{
|
|
6487
6487
|
inheritAttrs: false
|
|
6488
6488
|
},
|
|
@@ -6600,7 +6600,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
6600
6600
|
const emit = __emit;
|
|
6601
6601
|
const uid2 = useId();
|
|
6602
6602
|
const inputId = computed(() => props.id ?? uid2);
|
|
6603
|
-
const i18n = computed(() => _i18n$
|
|
6603
|
+
const i18n = computed(() => _i18n$5.init(inject(I18nInjectKey, null)?.locale ?? _i18n$5.fallback));
|
|
6604
6604
|
const trigger = ref(null);
|
|
6605
6605
|
const popperContent = ref(null);
|
|
6606
6606
|
const textbox = ref(null);
|
|
@@ -6849,7 +6849,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
6849
6849
|
onClick: toggle
|
|
6850
6850
|
}, [
|
|
6851
6851
|
renderSlot(_ctx.$slots, "trigger")
|
|
6852
|
-
])) : (openBlock(), createBlock(_sfc_main$
|
|
6852
|
+
])) : (openBlock(), createBlock(_sfc_main$T, mergeProps({
|
|
6853
6853
|
key: 1,
|
|
6854
6854
|
id: inputId.value,
|
|
6855
6855
|
ref_key: "textbox",
|
|
@@ -6884,7 +6884,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
6884
6884
|
key: "0"
|
|
6885
6885
|
} : void 0
|
|
6886
6886
|
]), 1040, ["id", "clearable", "value", "placeholder", "active", "disabled", "readonly"])),
|
|
6887
|
-
createVNode(_sfc_main$
|
|
6887
|
+
createVNode(_sfc_main$X, mergeProps({
|
|
6888
6888
|
id: `${inputId.value}-popper`,
|
|
6889
6889
|
visible: showCalendar.value,
|
|
6890
6890
|
target: triggerTarget.value,
|
|
@@ -6907,15 +6907,15 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
6907
6907
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
6908
6908
|
}, ["stop"]))
|
|
6909
6909
|
}, [
|
|
6910
|
-
__props.quickOptions.length > 0 ? (openBlock(), createBlock(_sfc_main$
|
|
6910
|
+
__props.quickOptions.length > 0 ? (openBlock(), createBlock(_sfc_main$Q, {
|
|
6911
6911
|
key: 0,
|
|
6912
6912
|
value: view.value,
|
|
6913
6913
|
items: __props.quickOptions,
|
|
6914
6914
|
nullable: __props.nullable,
|
|
6915
6915
|
onChange: onQuickChange
|
|
6916
6916
|
}, null, 8, ["value", "items", "nullable"])) : createCommentVNode("", true),
|
|
6917
|
-
createElementVNode("div", _hoisted_3$
|
|
6918
|
-
createVNode(_sfc_main$
|
|
6917
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
6918
|
+
createVNode(_sfc_main$10, {
|
|
6919
6919
|
ref_key: "calendar",
|
|
6920
6920
|
ref: calendar,
|
|
6921
6921
|
value: view.value,
|
|
@@ -6935,8 +6935,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
6935
6935
|
"ui-v1-date-picker__footer_horizontal": __props.appearance === unref(APPEARANCE$5).DOUBLE
|
|
6936
6936
|
})
|
|
6937
6937
|
}, [
|
|
6938
|
-
createElementVNode("div", _hoisted_4$
|
|
6939
|
-
createVNode(_sfc_main$
|
|
6938
|
+
createElementVNode("div", _hoisted_4$6, [
|
|
6939
|
+
createVNode(_sfc_main$14, {
|
|
6940
6940
|
appearance: "tertiary",
|
|
6941
6941
|
class: "ui-v1-date-picker__button",
|
|
6942
6942
|
onClick: reset
|
|
@@ -6946,7 +6946,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
6946
6946
|
]),
|
|
6947
6947
|
_: 1
|
|
6948
6948
|
}),
|
|
6949
|
-
createVNode(_sfc_main$
|
|
6949
|
+
createVNode(_sfc_main$14, {
|
|
6950
6950
|
class: "ui-v1-date-picker__button",
|
|
6951
6951
|
onClick: apply2
|
|
6952
6952
|
}, {
|
|
@@ -6958,11 +6958,11 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
6958
6958
|
])
|
|
6959
6959
|
], 2)) : createCommentVNode("", true)
|
|
6960
6960
|
])
|
|
6961
|
-
], 8, _hoisted_2$
|
|
6961
|
+
], 8, _hoisted_2$i)
|
|
6962
6962
|
]),
|
|
6963
6963
|
_: 1
|
|
6964
6964
|
}, 16, ["id", "visible", "target", "container", "placement", "aria-hidden", "class", "disabled"])
|
|
6965
|
-
], 16, _hoisted_1$
|
|
6965
|
+
], 16, _hoisted_1$y);
|
|
6966
6966
|
};
|
|
6967
6967
|
}
|
|
6968
6968
|
});
|
|
@@ -6971,7 +6971,7 @@ var ALIGN$1 = /* @__PURE__ */ ((ALIGN2) => {
|
|
|
6971
6971
|
ALIGN2["RIGHT"] = "right";
|
|
6972
6972
|
return ALIGN2;
|
|
6973
6973
|
})(ALIGN$1 || {});
|
|
6974
|
-
const _sfc_main$
|
|
6974
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
6975
6975
|
__name: "UiError",
|
|
6976
6976
|
props: {
|
|
6977
6977
|
/** Тест, разметка ошибки */
|
|
@@ -7010,46 +7010,46 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
7010
7010
|
};
|
|
7011
7011
|
}
|
|
7012
7012
|
});
|
|
7013
|
-
const _hoisted_1$
|
|
7013
|
+
const _hoisted_1$x = {
|
|
7014
7014
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7015
7015
|
viewBox: "0 0 24 24"
|
|
7016
7016
|
};
|
|
7017
|
-
function render$
|
|
7018
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
7017
|
+
function render$c(_ctx, _cache) {
|
|
7018
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$x, [..._cache[0] || (_cache[0] = [
|
|
7019
7019
|
createElementVNode("path", {
|
|
7020
7020
|
fill: "currentColor",
|
|
7021
7021
|
d: "M12.72 15.78a.75.75 0 0 1-.53.22h-.38a.77.77 0 0 1-.53-.22l-5.13-5.14a.5.5 0 0 1 0-.71l.71-.71a.49.49 0 0 1 .7 0L12 13.67l4.44-4.45a.5.5 0 0 1 .71 0l.7.71a.5.5 0 0 1 0 .71z"
|
|
7022
7022
|
}, null, -1)
|
|
7023
7023
|
])]);
|
|
7024
7024
|
}
|
|
7025
|
-
const IconChevronDown = { render: render$
|
|
7026
|
-
const _hoisted_1$
|
|
7025
|
+
const IconChevronDown = { render: render$c };
|
|
7026
|
+
const _hoisted_1$w = {
|
|
7027
7027
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7028
7028
|
viewBox: "0 0 24 24"
|
|
7029
7029
|
};
|
|
7030
|
-
function render$
|
|
7031
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
7030
|
+
function render$b(_ctx, _cache) {
|
|
7031
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$w, [..._cache[0] || (_cache[0] = [
|
|
7032
7032
|
createElementVNode("path", {
|
|
7033
7033
|
fill: "currentColor",
|
|
7034
7034
|
d: "M11.28 8.22a.75.75 0 0 1 .53-.22h.38a.77.77 0 0 1 .53.22l5.13 5.14a.5.5 0 0 1 0 .71l-.71.71a.49.49 0 0 1-.7 0L12 10.33l-4.44 4.45a.5.5 0 0 1-.71 0l-.7-.71a.5.5 0 0 1 0-.71z"
|
|
7035
7035
|
}, null, -1)
|
|
7036
7036
|
])]);
|
|
7037
7037
|
}
|
|
7038
|
-
const IconChevronUp = { render: render$
|
|
7039
|
-
const _hoisted_1$
|
|
7040
|
-
const _hoisted_2$
|
|
7038
|
+
const IconChevronUp = { render: render$b };
|
|
7039
|
+
const _hoisted_1$v = ["id", "aria-expanded", "aria-hidden"];
|
|
7040
|
+
const _hoisted_2$h = {
|
|
7041
7041
|
"aria-hidden": "true",
|
|
7042
7042
|
class: "ui-v1-infobox__media"
|
|
7043
7043
|
};
|
|
7044
|
-
const _hoisted_3$
|
|
7045
|
-
const _hoisted_4$
|
|
7046
|
-
const _hoisted_5$
|
|
7044
|
+
const _hoisted_3$d = { class: "ui-v1-infobox__icon" };
|
|
7045
|
+
const _hoisted_4$5 = { class: "ui-v1-infobox__content" };
|
|
7046
|
+
const _hoisted_5$5 = {
|
|
7047
7047
|
key: 0,
|
|
7048
7048
|
class: "ui-v1-infobox__header"
|
|
7049
7049
|
};
|
|
7050
|
-
const _hoisted_6$
|
|
7051
|
-
const _hoisted_7$
|
|
7052
|
-
const _sfc_main$
|
|
7050
|
+
const _hoisted_6$3 = ["id"];
|
|
7051
|
+
const _hoisted_7$2 = ["aria-controls", "aria-expanded"];
|
|
7052
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
7053
7053
|
...{
|
|
7054
7054
|
inheritAttrs: false
|
|
7055
7055
|
},
|
|
@@ -7186,7 +7186,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
7186
7186
|
syncExpandedFromProps();
|
|
7187
7187
|
});
|
|
7188
7188
|
return (_ctx, _cache) => {
|
|
7189
|
-
return openBlock(), createBlock(_sfc_main$
|
|
7189
|
+
return openBlock(), createBlock(_sfc_main$1a, {
|
|
7190
7190
|
name: "fade",
|
|
7191
7191
|
onAfterEnter,
|
|
7192
7192
|
onAfterLeave,
|
|
@@ -7206,8 +7206,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
7206
7206
|
},
|
|
7207
7207
|
role: "alert"
|
|
7208
7208
|
}, rootAttrs.value), [
|
|
7209
|
-
createElementVNode("div", _hoisted_2$
|
|
7210
|
-
createElementVNode("div", _hoisted_3$
|
|
7209
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
7210
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
7211
7211
|
renderSlot(_ctx.$slots, "icon", {
|
|
7212
7212
|
expanded: state.shouldBeExpanded
|
|
7213
7213
|
}, () => [
|
|
@@ -7215,8 +7215,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
7215
7215
|
])
|
|
7216
7216
|
])
|
|
7217
7217
|
]),
|
|
7218
|
-
createElementVNode("div", _hoisted_4$
|
|
7219
|
-
hasHeader.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
7218
|
+
createElementVNode("div", _hoisted_4$5, [
|
|
7219
|
+
hasHeader.value ? (openBlock(), createElementBlock("div", _hoisted_5$5, [
|
|
7220
7220
|
hasTitle.value ? (openBlock(), createElementBlock("div", {
|
|
7221
7221
|
key: 0,
|
|
7222
7222
|
id: titleId.value,
|
|
@@ -7227,7 +7227,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
7227
7227
|
}, () => [
|
|
7228
7228
|
createTextVNode(toDisplayString(__props.title), 1)
|
|
7229
7229
|
])
|
|
7230
|
-
], 8, _hoisted_6$
|
|
7230
|
+
], 8, _hoisted_6$3)) : createCommentVNode("", true),
|
|
7231
7231
|
__props.expandable ? (openBlock(), createElementBlock("button", {
|
|
7232
7232
|
key: 1,
|
|
7233
7233
|
"aria-controls": bodyId.value,
|
|
@@ -7250,9 +7250,9 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
7250
7250
|
"aria-hidden": "true",
|
|
7251
7251
|
class: "ui-v1-infobox__caret"
|
|
7252
7252
|
}))
|
|
7253
|
-
], 8, _hoisted_7$
|
|
7253
|
+
], 8, _hoisted_7$2)) : createCommentVNode("", true)
|
|
7254
7254
|
])) : createCommentVNode("", true),
|
|
7255
|
-
createVNode(_sfc_main$
|
|
7255
|
+
createVNode(_sfc_main$_, {
|
|
7256
7256
|
id: bodyId.value,
|
|
7257
7257
|
"aria-labelledby": hasTitle.value ? titleId.value : void 0,
|
|
7258
7258
|
expanded: bodyExpanded.value,
|
|
@@ -7280,7 +7280,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
7280
7280
|
}, [
|
|
7281
7281
|
createVNode(unref(IconClear), { class: "ui-v1-infobox__closer-icon" })
|
|
7282
7282
|
])) : createCommentVNode("", true)
|
|
7283
|
-
], 16, _hoisted_1$
|
|
7283
|
+
], 16, _hoisted_1$v), [
|
|
7284
7284
|
[vShow, state.shouldBeShown]
|
|
7285
7285
|
])
|
|
7286
7286
|
]),
|
|
@@ -7289,19 +7289,19 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
7289
7289
|
};
|
|
7290
7290
|
}
|
|
7291
7291
|
});
|
|
7292
|
-
const _hoisted_1$
|
|
7292
|
+
const _hoisted_1$u = {
|
|
7293
7293
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7294
7294
|
viewBox: "0 0 24 24"
|
|
7295
7295
|
};
|
|
7296
|
-
function render$
|
|
7297
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
7296
|
+
function render$a(_ctx, _cache) {
|
|
7297
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$u, [..._cache[0] || (_cache[0] = [
|
|
7298
7298
|
createElementVNode("path", {
|
|
7299
7299
|
fill: "currentColor",
|
|
7300
7300
|
d: "m6.844 17.854-.7-.703a.5.5 0 0 1 0-.704l8.48-8.456-6.212.007a.49.49 0 0 1-.496-.5l.007-.991a.5.5 0 0 1 .496-.5L16.994 6c.196 0 .385.078.524.218l.265.267c.137.142.215.33.217.528l-.007 8.633a.5.5 0 0 1-.496.5h-.992a.48.48 0 0 1-.49-.493l.007-6.255-8.48 8.456a.49.49 0 0 1-.698 0"
|
|
7301
7301
|
}, null, -1)
|
|
7302
7302
|
])]);
|
|
7303
7303
|
}
|
|
7304
|
-
const IconOpenInNew = { render: render$
|
|
7304
|
+
const IconOpenInNew = { render: render$a };
|
|
7305
7305
|
var APPEARANCE$4 = /* @__PURE__ */ ((APPEARANCE2) => {
|
|
7306
7306
|
APPEARANCE2["BREADCRUMBS"] = "breadcrumbs";
|
|
7307
7307
|
APPEARANCE2["DEFAULT"] = "default";
|
|
@@ -7320,16 +7320,16 @@ var SIZE$6 = /* @__PURE__ */ ((SIZE2) => {
|
|
|
7320
7320
|
SIZE2["TITLE02"] = "title-02";
|
|
7321
7321
|
return SIZE2;
|
|
7322
7322
|
})(SIZE$6 || {});
|
|
7323
|
-
const _hoisted_1$
|
|
7324
|
-
const _hoisted_2$
|
|
7323
|
+
const _hoisted_1$t = ["href", "target"];
|
|
7324
|
+
const _hoisted_2$g = {
|
|
7325
7325
|
key: 0,
|
|
7326
7326
|
class: "ui-v1-link__inner"
|
|
7327
7327
|
};
|
|
7328
|
-
const _hoisted_3$
|
|
7328
|
+
const _hoisted_3$c = {
|
|
7329
7329
|
key: 2,
|
|
7330
7330
|
class: "ui-v1-link__icon"
|
|
7331
7331
|
};
|
|
7332
|
-
const _sfc_main$
|
|
7332
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
7333
7333
|
__name: "UiLink",
|
|
7334
7334
|
props: {
|
|
7335
7335
|
/** Атрибут ссылки */
|
|
@@ -7398,19 +7398,19 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
7398
7398
|
},
|
|
7399
7399
|
target: __props.external ? "_blank" : "_self"
|
|
7400
7400
|
}, _ctx.$attrs), [
|
|
7401
|
-
__props.dotted ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
7401
|
+
__props.dotted ? (openBlock(), createElementBlock("span", _hoisted_2$g, [
|
|
7402
7402
|
renderSlot(_ctx.$slots, "default")
|
|
7403
7403
|
])) : renderSlot(_ctx.$slots, "default", { key: 1 }),
|
|
7404
|
-
_ctx.$slots.icon || __props.external ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
7404
|
+
_ctx.$slots.icon || __props.external ? (openBlock(), createElementBlock("span", _hoisted_3$c, [
|
|
7405
7405
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
7406
7406
|
createVNode(unref(IconOpenInNew), { class: "ui-v1-link__icon-sprite" })
|
|
7407
7407
|
])
|
|
7408
7408
|
])) : createCommentVNode("", true)
|
|
7409
|
-
], 16, _hoisted_1$
|
|
7409
|
+
], 16, _hoisted_1$t);
|
|
7410
7410
|
};
|
|
7411
7411
|
}
|
|
7412
7412
|
});
|
|
7413
|
-
const _sfc_main$
|
|
7413
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
7414
7414
|
__name: "UiLoader",
|
|
7415
7415
|
props: {
|
|
7416
7416
|
/** Диаметр (размер) окружности индикатора */
|
|
@@ -7442,7 +7442,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
7442
7442
|
},
|
|
7443
7443
|
setup(__props) {
|
|
7444
7444
|
return (_ctx, _cache) => {
|
|
7445
|
-
return openBlock(), createBlock(resolveDynamicComponent(__props.transition ? _sfc_main$
|
|
7445
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.transition ? _sfc_main$1a : "div"), normalizeProps(guardReactiveProps(__props.transition ? {
|
|
7446
7446
|
appear: true,
|
|
7447
7447
|
class: "ui-v1-loader-wrapper",
|
|
7448
7448
|
name: __props.transition
|
|
@@ -7469,38 +7469,530 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
7469
7469
|
};
|
|
7470
7470
|
}
|
|
7471
7471
|
});
|
|
7472
|
-
const
|
|
7473
|
-
|
|
7474
|
-
|
|
7475
|
-
|
|
7472
|
+
const _hoisted_1$s = {
|
|
7473
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7474
|
+
viewBox: "0 0 24 24"
|
|
7475
|
+
};
|
|
7476
|
+
function render$9(_ctx, _cache) {
|
|
7477
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$s, [..._cache[0] || (_cache[0] = [
|
|
7478
|
+
createElementVNode("path", {
|
|
7479
|
+
fill: "currentColor",
|
|
7480
|
+
d: "M8.138 11.06A.52.52 0 0 1 8 10.705c0-.133.05-.261.138-.355l.187-.2A.44.44 0 0 1 8.66 10h6.68a.44.44 0 0 1 .335.15l.187.2a.52.52 0 0 1 .138.355c0 .133-.05.26-.138.355l-3.536 3.788A.43.43 0 0 1 12 15a.43.43 0 0 1-.326-.152z"
|
|
7481
|
+
}, null, -1)
|
|
7482
|
+
])]);
|
|
7483
|
+
}
|
|
7484
|
+
const IconCaret = { render: render$9 };
|
|
7485
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
7486
|
+
__name: "UiLogicTreeCaret",
|
|
7487
|
+
props: {
|
|
7488
|
+
active: { type: Boolean, default: false }
|
|
7489
|
+
},
|
|
7490
|
+
setup(__props) {
|
|
7491
|
+
return (_ctx, _cache) => {
|
|
7492
|
+
return openBlock(), createBlock(unref(IconCaret), {
|
|
7493
|
+
class: normalizeClass({
|
|
7494
|
+
"ui-v1-logic-tree-caret": true,
|
|
7495
|
+
"ui-v1-logic-tree-caret_active": __props.active
|
|
7496
|
+
}),
|
|
7497
|
+
"aria-hidden": "true"
|
|
7498
|
+
}, null, 8, ["class"]);
|
|
7499
|
+
};
|
|
7476
7500
|
}
|
|
7477
|
-
|
|
7501
|
+
});
|
|
7502
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
7503
|
+
__name: "UiPopperConnector",
|
|
7504
|
+
setup(__props) {
|
|
7505
|
+
const target = ref(null);
|
|
7506
|
+
provide(ElementRefKey, target);
|
|
7507
|
+
provide(PopperTargetKey, computed(() => target.value));
|
|
7508
|
+
return (_ctx, _cache) => {
|
|
7509
|
+
return renderSlot(_ctx.$slots, "default");
|
|
7510
|
+
};
|
|
7511
|
+
}
|
|
7512
|
+
});
|
|
7513
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
7514
|
+
...{
|
|
7515
|
+
inheritAttrs: false
|
|
7516
|
+
},
|
|
7517
|
+
__name: "UiPopperTarget",
|
|
7518
|
+
props: {
|
|
7519
|
+
tag: {
|
|
7520
|
+
type: String,
|
|
7521
|
+
default: "div"
|
|
7522
|
+
}
|
|
7523
|
+
},
|
|
7524
|
+
setup(__props) {
|
|
7525
|
+
const root = useElementRef();
|
|
7526
|
+
return (_ctx, _cache) => {
|
|
7527
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.tag), mergeProps({
|
|
7528
|
+
ref_key: "root",
|
|
7529
|
+
ref: root
|
|
7530
|
+
}, _ctx.$attrs), {
|
|
7531
|
+
default: withCtx(() => [
|
|
7532
|
+
renderSlot(_ctx.$slots, "default")
|
|
7533
|
+
]),
|
|
7534
|
+
_: 3
|
|
7535
|
+
}, 16);
|
|
7536
|
+
};
|
|
7537
|
+
}
|
|
7538
|
+
});
|
|
7539
|
+
var LogicTreeConjunction = /* @__PURE__ */ ((LogicTreeConjunction2) => {
|
|
7540
|
+
LogicTreeConjunction2["AND"] = "and";
|
|
7541
|
+
LogicTreeConjunction2["OR"] = "or";
|
|
7542
|
+
return LogicTreeConjunction2;
|
|
7543
|
+
})(LogicTreeConjunction || {});
|
|
7544
|
+
var LogicTreeNodeView = /* @__PURE__ */ ((LogicTreeNodeView2) => {
|
|
7545
|
+
LogicTreeNodeView2["ACTIONS"] = "actions";
|
|
7546
|
+
LogicTreeNodeView2["SUMMARY"] = "summary";
|
|
7547
|
+
return LogicTreeNodeView2;
|
|
7548
|
+
})(LogicTreeNodeView || {});
|
|
7549
|
+
const _hoisted_1$r = ["data-node-path-key"];
|
|
7550
|
+
const _hoisted_2$f = { class: "ui-v1-logic-tree__node-main" };
|
|
7551
|
+
const _hoisted_3$b = {
|
|
7552
|
+
key: 0,
|
|
7553
|
+
class: "ui-v1-logic-tree__connectors"
|
|
7478
7554
|
};
|
|
7479
|
-
const
|
|
7480
|
-
const _hoisted_1$n = { class: "ui-v1-menu-item-group" };
|
|
7481
|
-
const _hoisted_2$c = { class: "ui-v1-menu-item-group__head" };
|
|
7482
|
-
const _hoisted_3$8 = {
|
|
7555
|
+
const _hoisted_4$4 = {
|
|
7483
7556
|
key: 0,
|
|
7484
|
-
class: "ui-v1-
|
|
7557
|
+
class: "ui-v1-logic-tree__connector-stroke ui-v1-logic-tree__connector-stroke_top"
|
|
7485
7558
|
};
|
|
7486
|
-
const
|
|
7559
|
+
const _hoisted_5$4 = {
|
|
7487
7560
|
key: 1,
|
|
7488
|
-
class: "ui-v1-
|
|
7561
|
+
class: "ui-v1-logic-tree__connector-stroke ui-v1-logic-tree__connector-stroke_bottom"
|
|
7489
7562
|
};
|
|
7490
|
-
const
|
|
7491
|
-
key:
|
|
7492
|
-
class: "ui-v1-
|
|
7563
|
+
const _hoisted_6$2 = {
|
|
7564
|
+
key: 2,
|
|
7565
|
+
class: "ui-v1-logic-tree__connector-stroke ui-v1-logic-tree__connector-stroke_middle"
|
|
7493
7566
|
};
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
7497
|
-
|
|
7498
|
-
|
|
7499
|
-
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
7567
|
+
const _hoisted_7$1 = ["data-path-key"];
|
|
7568
|
+
const _hoisted_8$1 = {
|
|
7569
|
+
key: 0,
|
|
7570
|
+
class: "ui-v1-logic-tree__actions-node"
|
|
7571
|
+
};
|
|
7572
|
+
const _hoisted_9 = { class: "ui-v1-logic-tree__node-prefix" };
|
|
7573
|
+
const _hoisted_10 = { class: "ui-v1-logic-tree__actions-node-content" };
|
|
7574
|
+
const _hoisted_11 = { class: "ui-v1-logic-tree__node-trailing" };
|
|
7575
|
+
const _hoisted_12 = ["aria-disabled", "tabindex", "onKeydown"];
|
|
7576
|
+
const _hoisted_13 = { class: "ui-v1-logic-tree__surface-node-content__main" };
|
|
7577
|
+
const _hoisted_14 = { class: "ui-v1-logic-tree__node-prefix" };
|
|
7578
|
+
const _hoisted_15 = { class: "ui-v1-logic-tree__node-content" };
|
|
7579
|
+
const _hoisted_16 = { class: "ui-v1-logic-tree__node-trailing" };
|
|
7580
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
7581
|
+
...{
|
|
7582
|
+
inheritAttrs: false
|
|
7583
|
+
},
|
|
7584
|
+
__name: "UiLogicTreeNode",
|
|
7585
|
+
props: {
|
|
7586
|
+
connectors: {
|
|
7587
|
+
type: Array,
|
|
7588
|
+
default: () => []
|
|
7589
|
+
},
|
|
7590
|
+
disabled: {
|
|
7591
|
+
type: Boolean,
|
|
7592
|
+
default: false
|
|
7593
|
+
},
|
|
7594
|
+
editable: {
|
|
7595
|
+
type: Boolean,
|
|
7596
|
+
default: false
|
|
7597
|
+
},
|
|
7598
|
+
grouped: {
|
|
7599
|
+
type: Boolean,
|
|
7600
|
+
default: false
|
|
7601
|
+
},
|
|
7602
|
+
groupedHeader: {
|
|
7603
|
+
type: Boolean,
|
|
7604
|
+
default: false
|
|
7605
|
+
},
|
|
7606
|
+
groupedPosition: {
|
|
7607
|
+
type: String,
|
|
7608
|
+
default: void 0
|
|
7609
|
+
},
|
|
7610
|
+
highlighted: {
|
|
7611
|
+
type: Boolean,
|
|
7612
|
+
default: false
|
|
7613
|
+
},
|
|
7614
|
+
pathKey: {
|
|
7615
|
+
type: String,
|
|
7616
|
+
default: ""
|
|
7617
|
+
},
|
|
7618
|
+
conjunction: {
|
|
7619
|
+
type: String,
|
|
7620
|
+
default: ""
|
|
7621
|
+
},
|
|
7622
|
+
conjunctionLabel: {
|
|
7623
|
+
type: String,
|
|
7624
|
+
default: ""
|
|
7625
|
+
},
|
|
7626
|
+
conjunctionEndPathKey: {
|
|
7627
|
+
type: String,
|
|
7628
|
+
default: ""
|
|
7629
|
+
},
|
|
7630
|
+
conjunctionOffset: {
|
|
7631
|
+
type: Number,
|
|
7632
|
+
default: void 0
|
|
7633
|
+
},
|
|
7634
|
+
conjunctionStartPathKey: {
|
|
7635
|
+
type: String,
|
|
7636
|
+
default: ""
|
|
7637
|
+
},
|
|
7638
|
+
conjunctionTone: {
|
|
7639
|
+
type: String,
|
|
7640
|
+
default: void 0
|
|
7641
|
+
},
|
|
7642
|
+
nodeView: {
|
|
7643
|
+
type: String,
|
|
7644
|
+
default: LogicTreeNodeView.SUMMARY
|
|
7645
|
+
},
|
|
7646
|
+
selected: {
|
|
7647
|
+
type: Boolean,
|
|
7648
|
+
default: false
|
|
7649
|
+
}
|
|
7650
|
+
},
|
|
7651
|
+
emits: ["node-click", "node-edit"],
|
|
7652
|
+
setup(__props, { emit: __emit }) {
|
|
7653
|
+
const props = __props;
|
|
7654
|
+
const emit = __emit;
|
|
7655
|
+
const isEditable = computed(() => props.editable);
|
|
7656
|
+
const isInteractiveDescendant = (event) => {
|
|
7657
|
+
const target = event.target;
|
|
7658
|
+
const currentTarget = event.currentTarget;
|
|
7659
|
+
const interactiveTarget = target?.closest(
|
|
7660
|
+
'button, input, select, textarea, [role="button"], [role="option"], [data-skip-node-click="true"]'
|
|
7661
|
+
);
|
|
7662
|
+
return Boolean(interactiveTarget && interactiveTarget !== currentTarget);
|
|
7663
|
+
};
|
|
7664
|
+
const onClick = (event) => {
|
|
7665
|
+
if (props.disabled || isInteractiveDescendant(event)) {
|
|
7666
|
+
return;
|
|
7667
|
+
}
|
|
7668
|
+
if (!props.editable) {
|
|
7669
|
+
emit("node-edit", true);
|
|
7670
|
+
}
|
|
7671
|
+
emit("node-click", props.pathKey);
|
|
7672
|
+
};
|
|
7673
|
+
const onKeydownActivate = (event) => {
|
|
7674
|
+
if (props.disabled || isInteractiveDescendant(event)) {
|
|
7675
|
+
return;
|
|
7676
|
+
}
|
|
7677
|
+
if (!props.editable) {
|
|
7678
|
+
emit("node-edit", true);
|
|
7679
|
+
}
|
|
7680
|
+
emit("node-click", props.pathKey);
|
|
7681
|
+
};
|
|
7682
|
+
const conjunctionKind = computed(() => {
|
|
7683
|
+
if (props.conjunction === LogicTreeConjunction.OR) {
|
|
7684
|
+
return "or";
|
|
7685
|
+
}
|
|
7686
|
+
if (props.conjunction === LogicTreeConjunction.AND) {
|
|
7687
|
+
return "and";
|
|
7688
|
+
}
|
|
7689
|
+
return "";
|
|
7690
|
+
});
|
|
7691
|
+
const nodeRef = ref(null);
|
|
7692
|
+
const conjunctionCalculatedOffset = ref(
|
|
7693
|
+
props.conjunction && props.conjunctionStartPathKey && props.conjunctionEndPathKey ? void 0 : props.conjunctionOffset
|
|
7694
|
+
);
|
|
7695
|
+
const resolveRelationElement = (root, pathKey) => root.querySelector(`[data-path-key="${pathKey}"]`) ?? root.querySelector(`[data-node-path-key="${pathKey}"]`);
|
|
7696
|
+
const resolveRelationAnchor = (element) => {
|
|
7697
|
+
const rect = element.getBoundingClientRect();
|
|
7698
|
+
return rect.top + rect.height / 2;
|
|
7699
|
+
};
|
|
7700
|
+
const recalculateConjunctionOffset = async () => {
|
|
7701
|
+
if (!props.conjunction || !props.conjunctionStartPathKey || !props.conjunctionEndPathKey) {
|
|
7702
|
+
conjunctionCalculatedOffset.value = props.conjunctionOffset;
|
|
7703
|
+
return;
|
|
7704
|
+
}
|
|
7705
|
+
await nextTick();
|
|
7706
|
+
const currentNode = nodeRef.value;
|
|
7707
|
+
const root = currentNode?.closest(".ui-v1-logic-tree");
|
|
7708
|
+
if (!currentNode || !root) {
|
|
7709
|
+
conjunctionCalculatedOffset.value = props.conjunctionOffset;
|
|
7710
|
+
return;
|
|
7711
|
+
}
|
|
7712
|
+
const startNode = resolveRelationElement(root, props.conjunctionStartPathKey);
|
|
7713
|
+
const endNode = resolveRelationElement(root, props.conjunctionEndPathKey);
|
|
7714
|
+
if (!startNode || !endNode) {
|
|
7715
|
+
conjunctionCalculatedOffset.value = props.conjunctionOffset;
|
|
7716
|
+
return;
|
|
7717
|
+
}
|
|
7718
|
+
const currentTop = currentNode.getBoundingClientRect().top;
|
|
7719
|
+
const startAnchor = resolveRelationAnchor(startNode);
|
|
7720
|
+
const endAnchor = resolveRelationAnchor(endNode);
|
|
7721
|
+
conjunctionCalculatedOffset.value = (startAnchor + endAnchor) / 2 - currentTop;
|
|
7722
|
+
};
|
|
7723
|
+
const onResize = () => {
|
|
7724
|
+
void recalculateConjunctionOffset();
|
|
7725
|
+
};
|
|
7726
|
+
onMounted(() => {
|
|
7727
|
+
void recalculateConjunctionOffset();
|
|
7728
|
+
window.addEventListener("resize", onResize);
|
|
7729
|
+
});
|
|
7730
|
+
onUpdated(() => {
|
|
7731
|
+
void recalculateConjunctionOffset();
|
|
7732
|
+
});
|
|
7733
|
+
onBeforeUnmount(() => {
|
|
7734
|
+
window.removeEventListener("resize", onResize);
|
|
7735
|
+
});
|
|
7736
|
+
const conjunctionBadgeStyle = computed(() => {
|
|
7737
|
+
const left = `${Math.max(0, (props.connectors.length - 1) * 32 + 8)}px`;
|
|
7738
|
+
const offset2 = conjunctionCalculatedOffset.value;
|
|
7739
|
+
if (props.conjunction && props.conjunctionStartPathKey && props.conjunctionEndPathKey && offset2 === void 0) {
|
|
7740
|
+
return {
|
|
7741
|
+
left,
|
|
7742
|
+
visibility: "hidden"
|
|
7743
|
+
};
|
|
7744
|
+
}
|
|
7745
|
+
return offset2 !== void 0 ? { left, top: `${offset2}px` } : { left };
|
|
7746
|
+
});
|
|
7747
|
+
return (_ctx, _cache) => {
|
|
7748
|
+
return openBlock(), createElementBlock("div", {
|
|
7749
|
+
ref_key: "nodeRef",
|
|
7750
|
+
ref: nodeRef,
|
|
7751
|
+
class: normalizeClass({
|
|
7752
|
+
"ui-v1-logic-tree__node": true,
|
|
7753
|
+
"ui-v1-logic-tree__node_grouped-header": __props.groupedHeader,
|
|
7754
|
+
"ui-v1-logic-tree__node_grouped": __props.grouped,
|
|
7755
|
+
"ui-v1-logic-tree__node_grouped-start": __props.grouped && __props.groupedPosition === "start",
|
|
7756
|
+
"ui-v1-logic-tree__node_grouped-middle": __props.grouped && __props.groupedPosition === "middle",
|
|
7757
|
+
"ui-v1-logic-tree__node_grouped-end": __props.grouped && __props.groupedPosition === "end",
|
|
7758
|
+
"ui-v1-logic-tree__node_grouped-single": __props.grouped && __props.groupedPosition === "single"
|
|
7759
|
+
}),
|
|
7760
|
+
"data-node-path-key": __props.pathKey
|
|
7761
|
+
}, [
|
|
7762
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
7763
|
+
__props.connectors.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$b, [
|
|
7764
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.connectors, (connector, index) => {
|
|
7765
|
+
return openBlock(), createElementBlock("span", {
|
|
7766
|
+
key: index,
|
|
7767
|
+
class: normalizeClass({
|
|
7768
|
+
"ui-v1-logic-tree__connector": true,
|
|
7769
|
+
"ui-v1-logic-tree__connector_placeholder": connector.placeholder,
|
|
7770
|
+
"ui-v1-logic-tree__connector_visible": connector.visible,
|
|
7771
|
+
"ui-v1-logic-tree__connector_branch": index === __props.connectors.length - 1,
|
|
7772
|
+
"ui-v1-logic-tree__connector_terminal": index === __props.connectors.length - 1 && !connector.continues,
|
|
7773
|
+
"ui-v1-logic-tree__connector_with-relation": Boolean(__props.conjunction) && index === __props.connectors.length - 1 && !connector.placeholder,
|
|
7774
|
+
[`ui-v1-logic-tree__connector_${connector.tone}`]: true
|
|
7775
|
+
})
|
|
7776
|
+
}, [
|
|
7777
|
+
!connector.placeholder ? (openBlock(), createElementBlock("span", _hoisted_4$4)) : createCommentVNode("", true),
|
|
7778
|
+
connector.continues && !connector.placeholder ? (openBlock(), createElementBlock("span", _hoisted_5$4)) : createCommentVNode("", true),
|
|
7779
|
+
index === __props.connectors.length - 1 && !connector.placeholder ? (openBlock(), createElementBlock("span", _hoisted_6$2)) : createCommentVNode("", true)
|
|
7780
|
+
], 2);
|
|
7781
|
+
}), 128))
|
|
7782
|
+
])) : createCommentVNode("", true),
|
|
7783
|
+
__props.conjunction && __props.connectors.length > 0 ? (openBlock(), createBlock(_sfc_main$J, { key: 1 }, {
|
|
7784
|
+
default: withCtx(() => [
|
|
7785
|
+
createVNode(_sfc_main$I, {
|
|
7786
|
+
class: normalizeClass({
|
|
7787
|
+
"ui-v1-logic-tree__relation-badge": true,
|
|
7788
|
+
"ui-v1-logic-tree__relation-badge_or": conjunctionKind.value === "or",
|
|
7789
|
+
"ui-v1-logic-tree__relation-badge_and": conjunctionKind.value === "and",
|
|
7790
|
+
[`ui-v1-logic-tree__relation-badge_${__props.conjunctionTone}`]: true
|
|
7791
|
+
}),
|
|
7792
|
+
style: normalizeStyle(conjunctionBadgeStyle.value),
|
|
7793
|
+
"data-skip-node-click": "true",
|
|
7794
|
+
tag: "button",
|
|
7795
|
+
type: "button"
|
|
7796
|
+
}, {
|
|
7797
|
+
default: withCtx(() => [
|
|
7798
|
+
createTextVNode(toDisplayString(__props.conjunctionLabel || __props.conjunction), 1)
|
|
7799
|
+
]),
|
|
7800
|
+
_: 1
|
|
7801
|
+
}, 8, ["class", "style"]),
|
|
7802
|
+
renderSlot(_ctx.$slots, "conjunction-poppers")
|
|
7803
|
+
]),
|
|
7804
|
+
_: 3
|
|
7805
|
+
})) : createCommentVNode("", true),
|
|
7806
|
+
createElementVNode("div", mergeProps({
|
|
7807
|
+
class: "ui-v1-logic-tree__surface-node",
|
|
7808
|
+
"data-path-key": __props.pathKey
|
|
7809
|
+
}, _ctx.$attrs), [
|
|
7810
|
+
createElementVNode("div", {
|
|
7811
|
+
class: normalizeClass({
|
|
7812
|
+
"ui-v1-logic-tree__grouped-block": __props.grouped,
|
|
7813
|
+
"ui-v1-logic-tree__grouped-block_start": __props.grouped && __props.groupedPosition === "start",
|
|
7814
|
+
"ui-v1-logic-tree__grouped-block_middle": __props.grouped && __props.groupedPosition === "middle",
|
|
7815
|
+
"ui-v1-logic-tree__grouped-block_end": __props.grouped && __props.groupedPosition === "end",
|
|
7816
|
+
"ui-v1-logic-tree__grouped-block_single": __props.grouped && __props.groupedPosition === "single"
|
|
7817
|
+
})
|
|
7818
|
+
}, [
|
|
7819
|
+
__props.nodeView === unref(LogicTreeNodeView).ACTIONS ? (openBlock(), createElementBlock("div", _hoisted_8$1, [
|
|
7820
|
+
createElementVNode("div", _hoisted_9, [
|
|
7821
|
+
renderSlot(_ctx.$slots, "prefix")
|
|
7822
|
+
]),
|
|
7823
|
+
createElementVNode("div", _hoisted_10, [
|
|
7824
|
+
renderSlot(_ctx.$slots, "content")
|
|
7825
|
+
]),
|
|
7826
|
+
createElementVNode("div", _hoisted_11, [
|
|
7827
|
+
renderSlot(_ctx.$slots, "trailing")
|
|
7828
|
+
])
|
|
7829
|
+
])) : (openBlock(), createElementBlock("div", {
|
|
7830
|
+
key: 1,
|
|
7831
|
+
class: normalizeClass({
|
|
7832
|
+
"ui-v1-logic-tree__surface-node-content": true,
|
|
7833
|
+
"ui-v1-logic-tree__surface-node-content_active": __props.selected,
|
|
7834
|
+
"ui-v1-logic-tree__surface-node-content_disabled": __props.disabled,
|
|
7835
|
+
"ui-v1-logic-tree__surface-node-content_editing": isEditable.value,
|
|
7836
|
+
"ui-v1-logic-tree__surface-node-content_editor": isEditable.value,
|
|
7837
|
+
"ui-v1-logic-tree__surface-node-content_highlighted": __props.highlighted,
|
|
7838
|
+
"ui-v1-logic-tree__surface-node-content_simple": true
|
|
7839
|
+
}),
|
|
7840
|
+
"aria-disabled": __props.disabled || void 0,
|
|
7841
|
+
role: "button",
|
|
7842
|
+
tabindex: __props.disabled ? void 0 : 0,
|
|
7843
|
+
onClick,
|
|
7844
|
+
onKeydown: [
|
|
7845
|
+
withKeys(withModifiers(onKeydownActivate, ["prevent"]), ["enter"]),
|
|
7846
|
+
withKeys(withModifiers(onKeydownActivate, ["prevent"]), ["space"])
|
|
7847
|
+
]
|
|
7848
|
+
}, [
|
|
7849
|
+
createElementVNode("div", _hoisted_13, [
|
|
7850
|
+
createElementVNode("div", _hoisted_14, [
|
|
7851
|
+
renderSlot(_ctx.$slots, "prefix")
|
|
7852
|
+
]),
|
|
7853
|
+
createElementVNode("div", _hoisted_15, [
|
|
7854
|
+
renderSlot(_ctx.$slots, "content")
|
|
7855
|
+
])
|
|
7856
|
+
]),
|
|
7857
|
+
createElementVNode("div", _hoisted_16, [
|
|
7858
|
+
renderSlot(_ctx.$slots, "trailing")
|
|
7859
|
+
])
|
|
7860
|
+
], 42, _hoisted_12))
|
|
7861
|
+
], 2)
|
|
7862
|
+
], 16, _hoisted_7$1)
|
|
7863
|
+
])
|
|
7864
|
+
], 10, _hoisted_1$r);
|
|
7865
|
+
};
|
|
7866
|
+
}
|
|
7867
|
+
});
|
|
7868
|
+
const _export_sfc = (sfc, props) => {
|
|
7869
|
+
const target = sfc.__vccOpts || sfc;
|
|
7870
|
+
for (const [key, val] of props) {
|
|
7871
|
+
target[key] = val;
|
|
7872
|
+
}
|
|
7873
|
+
return target;
|
|
7874
|
+
};
|
|
7875
|
+
const _sfc_main$G = {};
|
|
7876
|
+
const _hoisted_1$q = { class: "ui-v1-logic-tree__icon" };
|
|
7877
|
+
function _sfc_render$2(_ctx, _cache) {
|
|
7878
|
+
return openBlock(), createElementBlock("span", _hoisted_1$q, [
|
|
7879
|
+
renderSlot(_ctx.$slots, "default")
|
|
7880
|
+
]);
|
|
7881
|
+
}
|
|
7882
|
+
const UiLogicTreeNodeIcon = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$2]]);
|
|
7883
|
+
const _sfc_main$F = {};
|
|
7884
|
+
const _hoisted_1$p = { class: "ui-v1-logic-tree-node-item" };
|
|
7885
|
+
const _hoisted_2$e = {
|
|
7886
|
+
key: 0,
|
|
7887
|
+
class: "ui-v1-logic-tree-node-item__headline"
|
|
7888
|
+
};
|
|
7889
|
+
const _hoisted_3$a = {
|
|
7890
|
+
key: 0,
|
|
7891
|
+
class: "ui-v1-logic-tree-node-item__title"
|
|
7892
|
+
};
|
|
7893
|
+
function _sfc_render$1(_ctx, _cache) {
|
|
7894
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
7895
|
+
renderSlot(_ctx.$slots, "headline", {}, () => [
|
|
7896
|
+
_ctx.$slots.title || _ctx.$slots.trailing ? (openBlock(), createElementBlock("span", _hoisted_2$e, [
|
|
7897
|
+
_ctx.$slots.title ? (openBlock(), createElementBlock("span", _hoisted_3$a, [
|
|
7898
|
+
renderSlot(_ctx.$slots, "title")
|
|
7899
|
+
])) : createCommentVNode("", true),
|
|
7900
|
+
renderSlot(_ctx.$slots, "trailing")
|
|
7901
|
+
])) : createCommentVNode("", true)
|
|
7902
|
+
]),
|
|
7903
|
+
renderSlot(_ctx.$slots, "default")
|
|
7904
|
+
]);
|
|
7905
|
+
}
|
|
7906
|
+
const UiLogicTreeNodeItem = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$1]]);
|
|
7907
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
7908
|
+
...{
|
|
7909
|
+
inheritAttrs: false
|
|
7910
|
+
},
|
|
7911
|
+
__name: "UiLogicTreeRoot",
|
|
7912
|
+
emits: ["outside-click"],
|
|
7913
|
+
setup(__props, { emit: __emit }) {
|
|
7914
|
+
const emit = __emit;
|
|
7915
|
+
const root = ref(null);
|
|
7916
|
+
const resolveEventElement = (target) => {
|
|
7917
|
+
if (target instanceof Element) {
|
|
7918
|
+
return target;
|
|
7919
|
+
}
|
|
7920
|
+
if (target instanceof Node) {
|
|
7921
|
+
return target.parentElement;
|
|
7922
|
+
}
|
|
7923
|
+
return null;
|
|
7924
|
+
};
|
|
7925
|
+
const isIgnoredTarget = (target) => {
|
|
7926
|
+
const element = resolveEventElement(target);
|
|
7927
|
+
if (!element) {
|
|
7928
|
+
return false;
|
|
7929
|
+
}
|
|
7930
|
+
return Boolean(element.closest([
|
|
7931
|
+
".ui-v1-logic-tree__surface-node-content",
|
|
7932
|
+
".ui-v1-logic-tree__actions-node",
|
|
7933
|
+
".ui-v1-popper",
|
|
7934
|
+
'[role="listbox"]',
|
|
7935
|
+
'[role="option"]'
|
|
7936
|
+
].join(", ")));
|
|
7937
|
+
};
|
|
7938
|
+
const onRootClick = (event) => {
|
|
7939
|
+
if (isIgnoredTarget(event.target)) {
|
|
7940
|
+
return;
|
|
7941
|
+
}
|
|
7942
|
+
emit("outside-click");
|
|
7943
|
+
};
|
|
7944
|
+
const onDocumentPointerDown = (event) => {
|
|
7945
|
+
const element = resolveEventElement(event.target);
|
|
7946
|
+
if (!root.value || !element) {
|
|
7947
|
+
return;
|
|
7948
|
+
}
|
|
7949
|
+
if (root.value.contains(element) || isIgnoredTarget(element)) {
|
|
7950
|
+
return;
|
|
7951
|
+
}
|
|
7952
|
+
emit("outside-click");
|
|
7953
|
+
};
|
|
7954
|
+
onMounted(() => {
|
|
7955
|
+
document.addEventListener("pointerdown", onDocumentPointerDown);
|
|
7956
|
+
});
|
|
7957
|
+
onBeforeUnmount(() => {
|
|
7958
|
+
document.removeEventListener("pointerdown", onDocumentPointerDown);
|
|
7959
|
+
});
|
|
7960
|
+
return (_ctx, _cache) => {
|
|
7961
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
7962
|
+
ref_key: "root",
|
|
7963
|
+
ref: root,
|
|
7964
|
+
class: "ui-v1-logic-tree"
|
|
7965
|
+
}, _ctx.$attrs, { onClick: onRootClick }), [
|
|
7966
|
+
renderSlot(_ctx.$slots, "default")
|
|
7967
|
+
], 16);
|
|
7968
|
+
};
|
|
7969
|
+
}
|
|
7970
|
+
});
|
|
7971
|
+
const _sfc_main$D = {};
|
|
7972
|
+
const _hoisted_1$o = { class: "ui-v1-menu-item-group" };
|
|
7973
|
+
const _hoisted_2$d = { class: "ui-v1-menu-item-group__head" };
|
|
7974
|
+
const _hoisted_3$9 = {
|
|
7975
|
+
key: 0,
|
|
7976
|
+
class: "ui-v1-menu-item-group__head-option"
|
|
7977
|
+
};
|
|
7978
|
+
const _hoisted_4$3 = {
|
|
7979
|
+
key: 1,
|
|
7980
|
+
class: "ui-v1-menu-item-group__head-inner"
|
|
7981
|
+
};
|
|
7982
|
+
const _hoisted_5$3 = {
|
|
7983
|
+
key: 0,
|
|
7984
|
+
class: "ui-v1-menu-item-group__count"
|
|
7985
|
+
};
|
|
7986
|
+
function _sfc_render(_ctx, _cache) {
|
|
7987
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
7988
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
7989
|
+
_ctx.$slots.option ? (openBlock(), createElementBlock("div", _hoisted_3$9, [
|
|
7990
|
+
renderSlot(_ctx.$slots, "option")
|
|
7991
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_4$3, [
|
|
7992
|
+
createElementVNode("div", {
|
|
7993
|
+
class: normalizeClass({
|
|
7994
|
+
"ui-v1-menu-item-group__title": true,
|
|
7995
|
+
"ui-v1-menu-item-group__title_upper": !_ctx.$slots.option
|
|
7504
7996
|
})
|
|
7505
7997
|
}, [
|
|
7506
7998
|
renderSlot(_ctx.$slots, "label")
|
|
@@ -7575,7 +8067,7 @@ class LayerRegistry {
|
|
|
7575
8067
|
}
|
|
7576
8068
|
}
|
|
7577
8069
|
const layers = new LayerRegistry();
|
|
7578
|
-
const ModalInjectKey = Symbol("$embedModal");
|
|
8070
|
+
const ModalInjectKey = /* @__PURE__ */ Symbol("$embedModal");
|
|
7579
8071
|
const plugin = {
|
|
7580
8072
|
install(app, options) {
|
|
7581
8073
|
app.provide(ModalInjectKey, reactive({
|
|
@@ -7609,9 +8101,9 @@ var SIZE$5 = /* @__PURE__ */ ((SIZE2) => {
|
|
|
7609
8101
|
SIZE2["SM"] = "sm";
|
|
7610
8102
|
return SIZE2;
|
|
7611
8103
|
})(SIZE$5 || {});
|
|
7612
|
-
const _hoisted_1$
|
|
7613
|
-
const _hoisted_2$
|
|
7614
|
-
const _hoisted_3$
|
|
8104
|
+
const _hoisted_1$n = ["id", "aria-hidden", "role"];
|
|
8105
|
+
const _hoisted_2$c = ["id"];
|
|
8106
|
+
const _hoisted_3$8 = { class: "ui-v1-modal-sidebar__header" };
|
|
7615
8107
|
const _hoisted_4$2 = { class: "ui-v1-modal-sidebar__header-inner" };
|
|
7616
8108
|
const _hoisted_5$2 = {
|
|
7617
8109
|
"aria-level": "1",
|
|
@@ -7853,7 +8345,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
7853
8345
|
key: 0,
|
|
7854
8346
|
to: unref(globals)?.container || "body"
|
|
7855
8347
|
}, [
|
|
7856
|
-
createVNode(_sfc_main$
|
|
8348
|
+
createVNode(_sfc_main$1a, {
|
|
7857
8349
|
name: "fade-2",
|
|
7858
8350
|
onBeforeEnter: _cache[5] || (_cache[5] = ($event) => visibilityOfOverlay.value = "showing"),
|
|
7859
8351
|
onAfterEnter: _cache[6] || (_cache[6] = ($event) => visibilityOfOverlay.value = "shown"),
|
|
@@ -7874,7 +8366,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
7874
8366
|
"aria-modal": "true",
|
|
7875
8367
|
role: __props.role
|
|
7876
8368
|
}, _ctx.$attrs, { onClick: onBackdropClick }), [
|
|
7877
|
-
createVNode(_sfc_main$
|
|
8369
|
+
createVNode(_sfc_main$1a, {
|
|
7878
8370
|
name: `slide-${__props.direction}`,
|
|
7879
8371
|
onBeforeEnter: _cache[1] || (_cache[1] = ($event) => visibilityOfSidebar.value = "showing"),
|
|
7880
8372
|
onAfterEnter: _cache[2] || (_cache[2] = ($event) => visibilityOfSidebar.value = "shown"),
|
|
@@ -7893,7 +8385,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
7893
8385
|
"ui-v1-modal-sidebar_size_lg": __props.size === unref(SIZE$5).LG
|
|
7894
8386
|
})
|
|
7895
8387
|
}, [
|
|
7896
|
-
createElementVNode("header", _hoisted_3$
|
|
8388
|
+
createElementVNode("header", _hoisted_3$8, [
|
|
7897
8389
|
createElementVNode("div", _hoisted_4$2, [
|
|
7898
8390
|
createElementVNode("div", _hoisted_5$2, [
|
|
7899
8391
|
renderSlot(_ctx.$slots, "title", {
|
|
@@ -7915,7 +8407,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
7915
8407
|
"aria-hidden": "true",
|
|
7916
8408
|
width: "32"
|
|
7917
8409
|
}),
|
|
7918
|
-
createVNode(_sfc_main$
|
|
8410
|
+
createVNode(_sfc_main$W, {
|
|
7919
8411
|
target: closerTarget.value,
|
|
7920
8412
|
"offset-main-axis": 0
|
|
7921
8413
|
}, {
|
|
@@ -7930,7 +8422,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
7930
8422
|
renderSlot(_ctx.$slots, "default", {
|
|
7931
8423
|
overlapped: state.overlapped
|
|
7932
8424
|
})
|
|
7933
|
-
])) : (openBlock(), createBlock(_sfc_main$
|
|
8425
|
+
])) : (openBlock(), createBlock(_sfc_main$R, {
|
|
7934
8426
|
key: 1,
|
|
7935
8427
|
native: __props.scrolling === unref(SCROLLING$1).NATIVE,
|
|
7936
8428
|
class: "ui-v1-modal-sidebar__body",
|
|
@@ -7949,11 +8441,11 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
7949
8441
|
overlapped: state.overlapped
|
|
7950
8442
|
})
|
|
7951
8443
|
])) : createCommentVNode("", true)
|
|
7952
|
-
], 10, _hoisted_2$
|
|
8444
|
+
], 10, _hoisted_2$c)) : createCommentVNode("", true)
|
|
7953
8445
|
]),
|
|
7954
8446
|
_: 3
|
|
7955
8447
|
}, 8, ["name"])
|
|
7956
|
-
], 16, _hoisted_1$
|
|
8448
|
+
], 16, _hoisted_1$n), [
|
|
7957
8449
|
[vShow, state.shown]
|
|
7958
8450
|
])
|
|
7959
8451
|
]),
|
|
@@ -8195,7 +8687,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
8195
8687
|
const slots = useSlots();
|
|
8196
8688
|
const renderBody = () => {
|
|
8197
8689
|
const appearance = props.appearance;
|
|
8198
|
-
return h(_sfc_main$
|
|
8690
|
+
return h(_sfc_main$1a, {
|
|
8199
8691
|
name: "zoom",
|
|
8200
8692
|
onBeforeEnter: () => visibilityOfBody.value = "showing",
|
|
8201
8693
|
onAfterEnter: () => visibilityOfBody.value = "shown",
|
|
@@ -8220,7 +8712,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
8220
8712
|
};
|
|
8221
8713
|
const EmbedModalWindowSurface = () => !state.attached ? void 0 : h(Teleport, {
|
|
8222
8714
|
to: globals?.container ?? document.body
|
|
8223
|
-
}, h(_sfc_main$
|
|
8715
|
+
}, h(_sfc_main$1a, {
|
|
8224
8716
|
name: "fade-2",
|
|
8225
8717
|
onBeforeEnter: () => visibilityOfOverlay.value = "showing",
|
|
8226
8718
|
onAfterEnter: () => visibilityOfOverlay.value = "shown",
|
|
@@ -8238,7 +8730,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
8238
8730
|
"ui-v1-modal_overlapped": state.overlapped
|
|
8239
8731
|
}],
|
|
8240
8732
|
onClick: onOverlayClick
|
|
8241
|
-
}, h(_sfc_main$
|
|
8733
|
+
}, h(_sfc_main$R, {
|
|
8242
8734
|
class: {
|
|
8243
8735
|
"ui-v1-modal-window-container": true,
|
|
8244
8736
|
"ui-v1-modal-window-container_fullscreen": props.fullscreen,
|
|
@@ -8262,12 +8754,12 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
8262
8754
|
};
|
|
8263
8755
|
}
|
|
8264
8756
|
});
|
|
8265
|
-
const _hoisted_1$
|
|
8757
|
+
const _hoisted_1$m = {
|
|
8266
8758
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8267
8759
|
viewBox: "0 0 24 24"
|
|
8268
8760
|
};
|
|
8269
8761
|
function render$8(_ctx, _cache) {
|
|
8270
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
8762
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$m, [..._cache[0] || (_cache[0] = [
|
|
8271
8763
|
createElementVNode("path", {
|
|
8272
8764
|
fill: "currentColor",
|
|
8273
8765
|
"fill-rule": "evenodd",
|
|
@@ -8277,12 +8769,12 @@ function render$8(_ctx, _cache) {
|
|
|
8277
8769
|
])]);
|
|
8278
8770
|
}
|
|
8279
8771
|
const IconWarning = { render: render$8 };
|
|
8280
|
-
const _hoisted_1$
|
|
8772
|
+
const _hoisted_1$l = {
|
|
8281
8773
|
key: 0,
|
|
8282
8774
|
class: "ui-v1-modal-window__icon"
|
|
8283
8775
|
};
|
|
8284
|
-
const _hoisted_2$
|
|
8285
|
-
const _hoisted_3$
|
|
8776
|
+
const _hoisted_2$b = ["id"];
|
|
8777
|
+
const _hoisted_3$7 = ["disabled"];
|
|
8286
8778
|
const _hoisted_4$1 = {
|
|
8287
8779
|
key: 1,
|
|
8288
8780
|
class: "ui-v1-modal-window__content"
|
|
@@ -8444,7 +8936,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
8444
8936
|
"ui-v1-modal-window__header_pinned": _ctx.$slots.title && state.scrolled && __props.appearance === unref(APPEARANCE$3).POPUP && !__props.responsive
|
|
8445
8937
|
})
|
|
8446
8938
|
}, [
|
|
8447
|
-
__props.appearance === unref(APPEARANCE$3).ALERT ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
8939
|
+
__props.appearance === unref(APPEARANCE$3).ALERT ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
8448
8940
|
renderSlot(_ctx.$slots, "icon", {
|
|
8449
8941
|
overlapped: state.overlapped
|
|
8450
8942
|
}, () => [
|
|
@@ -8459,7 +8951,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
8459
8951
|
renderSlot(_ctx.$slots, "title", {
|
|
8460
8952
|
overlapped: state.overlapped
|
|
8461
8953
|
})
|
|
8462
|
-
], 8, _hoisted_2$
|
|
8954
|
+
], 8, _hoisted_2$b)) : createCommentVNode("", true),
|
|
8463
8955
|
__props.appearance !== unref(APPEARANCE$3).ALERT ? (openBlock(), createElementBlock("button", {
|
|
8464
8956
|
key: 2,
|
|
8465
8957
|
"aria-keyshortcuts": "Esc",
|
|
@@ -8473,9 +8965,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
8473
8965
|
title: "Close dialog",
|
|
8474
8966
|
style: { "width": "100%" }
|
|
8475
8967
|
})
|
|
8476
|
-
], 8, _hoisted_3$
|
|
8968
|
+
], 8, _hoisted_3$7)) : createCommentVNode("", true)
|
|
8477
8969
|
], 2),
|
|
8478
|
-
__props.responsive ? (openBlock(), createBlock(_sfc_main$
|
|
8970
|
+
__props.responsive ? (openBlock(), createBlock(_sfc_main$R, {
|
|
8479
8971
|
key: 0,
|
|
8480
8972
|
class: "ui-v1-modal-window__content",
|
|
8481
8973
|
"show-on-mac": "",
|
|
@@ -8508,12 +9000,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
8508
9000
|
};
|
|
8509
9001
|
}
|
|
8510
9002
|
});
|
|
8511
|
-
const _hoisted_1$
|
|
9003
|
+
const _hoisted_1$k = {
|
|
8512
9004
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8513
9005
|
viewBox: "0 0 24 24"
|
|
8514
9006
|
};
|
|
8515
9007
|
function render$7(_ctx, _cache) {
|
|
8516
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
9008
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$k, [..._cache[0] || (_cache[0] = [
|
|
8517
9009
|
createElementVNode("path", {
|
|
8518
9010
|
fill: "currentColor",
|
|
8519
9011
|
d: "M19 11.5v1a.5.5 0 0 1-.5.5H13v5.5a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5V13H5.5a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5H11V5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5V11h5.5a.5.5 0 0 1 .5.5"
|
|
@@ -8521,45 +9013,32 @@ function render$7(_ctx, _cache) {
|
|
|
8521
9013
|
])]);
|
|
8522
9014
|
}
|
|
8523
9015
|
const IconAdd = { render: render$7 };
|
|
8524
|
-
const _hoisted_1$
|
|
9016
|
+
const _hoisted_1$j = {
|
|
8525
9017
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8526
9018
|
viewBox: "0 0 24 24"
|
|
8527
9019
|
};
|
|
8528
9020
|
function render$6(_ctx, _cache) {
|
|
8529
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
8530
|
-
createElementVNode("path", {
|
|
8531
|
-
fill: "currentColor",
|
|
8532
|
-
d: "M8.138 11.06A.52.52 0 0 1 8 10.705c0-.133.05-.261.138-.355l.187-.2A.44.44 0 0 1 8.66 10h6.68a.44.44 0 0 1 .335.15l.187.2a.52.52 0 0 1 .138.355c0 .133-.05.26-.138.355l-3.536 3.788A.43.43 0 0 1 12 15a.43.43 0 0 1-.326-.152z"
|
|
8533
|
-
}, null, -1)
|
|
8534
|
-
])]);
|
|
8535
|
-
}
|
|
8536
|
-
const IconCaret = { render: render$6 };
|
|
8537
|
-
const _hoisted_1$h = {
|
|
8538
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
8539
|
-
viewBox: "0 0 24 24"
|
|
8540
|
-
};
|
|
8541
|
-
function render$5(_ctx, _cache) {
|
|
8542
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$h, [..._cache[0] || (_cache[0] = [
|
|
9021
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$j, [..._cache[0] || (_cache[0] = [
|
|
8543
9022
|
createElementVNode("path", {
|
|
8544
9023
|
fill: "currentColor",
|
|
8545
9024
|
d: "M16.14 12.94a.5.5 0 0 1 0 .71l-.2.2a.5.5 0 0 1-.36.15H8.42a.5.5 0 0 1-.36-.15l-.2-.2a.5.5 0 0 1 0-.71l3.79-3.79a.48.48 0 0 1 .7 0z"
|
|
8546
9025
|
}, null, -1)
|
|
8547
9026
|
])]);
|
|
8548
9027
|
}
|
|
8549
|
-
const IconCaretUp = { render: render$
|
|
8550
|
-
const _hoisted_1$
|
|
9028
|
+
const IconCaretUp = { render: render$6 };
|
|
9029
|
+
const _hoisted_1$i = {
|
|
8551
9030
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8552
9031
|
viewBox: "0 0 24 24"
|
|
8553
9032
|
};
|
|
8554
|
-
function render$
|
|
8555
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
9033
|
+
function render$5(_ctx, _cache) {
|
|
9034
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$i, [..._cache[0] || (_cache[0] = [
|
|
8556
9035
|
createElementVNode("path", {
|
|
8557
9036
|
fill: "currentColor",
|
|
8558
9037
|
d: "M5.5 13.25c-.276 0-.5-.28-.5-.625v-1.25c0-.345.224-.625.5-.625h13c.276 0 .5.28.5.625v1.25c0 .345-.224.625-.5.625z"
|
|
8559
9038
|
}, null, -1)
|
|
8560
9039
|
])]);
|
|
8561
9040
|
}
|
|
8562
|
-
const IconRemove = { render: render$
|
|
9041
|
+
const IconRemove = { render: render$5 };
|
|
8563
9042
|
var DIRECTION$1 = /* @__PURE__ */ ((DIRECTION2) => {
|
|
8564
9043
|
DIRECTION2["HORIZONTAL"] = "horizontal";
|
|
8565
9044
|
DIRECTION2["VERTICAL"] = "vertical";
|
|
@@ -8634,7 +9113,7 @@ const violationsOf = (value, min2, max2) => {
|
|
|
8634
9113
|
const label$2 = "Number";
|
|
8635
9114
|
const increaseBy$2 = "Increase by {step}";
|
|
8636
9115
|
const decreaseBy$2 = "Decrease by {step}";
|
|
8637
|
-
const messages_en_GB$
|
|
9116
|
+
const messages_en_GB$4 = {
|
|
8638
9117
|
label: label$2,
|
|
8639
9118
|
increaseBy: increaseBy$2,
|
|
8640
9119
|
decreaseBy: decreaseBy$2
|
|
@@ -8642,7 +9121,7 @@ const messages_en_GB$3 = {
|
|
|
8642
9121
|
const label$1 = "Numero";
|
|
8643
9122
|
const increaseBy$1 = "Aumentar en {step}";
|
|
8644
9123
|
const decreaseBy$1 = "Disminuir en {step}";
|
|
8645
|
-
const messages_es_ES$
|
|
9124
|
+
const messages_es_ES$4 = {
|
|
8646
9125
|
label: label$1,
|
|
8647
9126
|
increaseBy: increaseBy$1,
|
|
8648
9127
|
decreaseBy: decreaseBy$1
|
|
@@ -8650,21 +9129,21 @@ const messages_es_ES$3 = {
|
|
|
8650
9129
|
const label = "Число";
|
|
8651
9130
|
const increaseBy = "Увеличить на {step}";
|
|
8652
9131
|
const decreaseBy = "Уменьшить на {step}";
|
|
8653
|
-
const messages_ru_RU$
|
|
9132
|
+
const messages_ru_RU$4 = {
|
|
8654
9133
|
label,
|
|
8655
9134
|
increaseBy,
|
|
8656
9135
|
decreaseBy
|
|
8657
9136
|
};
|
|
8658
|
-
const _i18n$
|
|
9137
|
+
const _i18n$4 = define({
|
|
8659
9138
|
messages: {
|
|
8660
|
-
"en-GB": messages_en_GB$
|
|
8661
|
-
"es-ES": messages_es_ES$
|
|
8662
|
-
"ru-RU": messages_ru_RU$
|
|
9139
|
+
"en-GB": messages_en_GB$4,
|
|
9140
|
+
"es-ES": messages_es_ES$4,
|
|
9141
|
+
"ru-RU": messages_ru_RU$4
|
|
8663
9142
|
}
|
|
8664
9143
|
});
|
|
8665
|
-
const _hoisted_1$
|
|
8666
|
-
const _hoisted_2$
|
|
8667
|
-
const _hoisted_3$
|
|
9144
|
+
const _hoisted_1$h = ["id", "aria-disabled", "aria-readonly"];
|
|
9145
|
+
const _hoisted_2$a = ["id", "aria-controls", "aria-label", "disabled"];
|
|
9146
|
+
const _hoisted_3$6 = ["id", "aria-controls", "aria-label", "disabled"];
|
|
8668
9147
|
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
8669
9148
|
...{
|
|
8670
9149
|
inheritAttrs: false
|
|
@@ -8745,7 +9224,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
8745
9224
|
const emit = __emit;
|
|
8746
9225
|
const uid2 = "embed-ui-" + useId();
|
|
8747
9226
|
const stepperId = computed(() => props.id ?? uid2);
|
|
8748
|
-
const i18n = computed(() => _i18n$
|
|
9227
|
+
const i18n = computed(() => _i18n$4.init(inject(I18nInjectKey, null)?.locale ?? _i18n$4.fallback));
|
|
8749
9228
|
const textbox = ref(null);
|
|
8750
9229
|
const model = ref("");
|
|
8751
9230
|
const violations = ref([]);
|
|
@@ -9013,8 +9492,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
9013
9492
|
"aria-hidden": "true",
|
|
9014
9493
|
class: "ui-v1-number-stepper__icon"
|
|
9015
9494
|
}))
|
|
9016
|
-
], 8, _hoisted_2$
|
|
9017
|
-
createVNode(_sfc_main$
|
|
9495
|
+
], 8, _hoisted_2$a),
|
|
9496
|
+
createVNode(_sfc_main$T, mergeProps(resolvedTextboxOptions.value, {
|
|
9018
9497
|
id: stepperId.value,
|
|
9019
9498
|
ref_key: "textbox",
|
|
9020
9499
|
ref: textbox,
|
|
@@ -9053,12 +9532,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
9053
9532
|
"aria-hidden": "true",
|
|
9054
9533
|
class: "ui-v1-number-stepper__icon"
|
|
9055
9534
|
}))
|
|
9056
|
-
], 8, _hoisted_3$
|
|
9057
|
-
], 16, _hoisted_1$
|
|
9535
|
+
], 8, _hoisted_3$6)
|
|
9536
|
+
], 16, _hoisted_1$h);
|
|
9058
9537
|
};
|
|
9059
9538
|
}
|
|
9060
9539
|
});
|
|
9061
|
-
const _hoisted_1$
|
|
9540
|
+
const _hoisted_1$g = ["id", "aria-label", "role", "tabindex", "onKeydown"];
|
|
9062
9541
|
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
9063
9542
|
__name: "UiPageHeaderTitle",
|
|
9064
9543
|
props: {
|
|
@@ -9219,7 +9698,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
9219
9698
|
withKeys(withModifiers(startEditing, ["prevent"]), ["enter"]),
|
|
9220
9699
|
withKeys(withModifiers(startEditing, ["prevent"]), ["space"])
|
|
9221
9700
|
]
|
|
9222
|
-
}, toDisplayString(currentValue.value || displayPlaceholder.value), 43, _hoisted_1$
|
|
9701
|
+
}, toDisplayString(currentValue.value || displayPlaceholder.value), 43, _hoisted_1$g)) : (openBlock(), createBlock(_sfc_main$T, {
|
|
9223
9702
|
key: 1,
|
|
9224
9703
|
id: textboxId.value,
|
|
9225
9704
|
ref_key: "textbox",
|
|
@@ -9245,9 +9724,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
9245
9724
|
};
|
|
9246
9725
|
}
|
|
9247
9726
|
});
|
|
9248
|
-
const _hoisted_1$
|
|
9249
|
-
const _hoisted_2$
|
|
9250
|
-
const _hoisted_3$
|
|
9727
|
+
const _hoisted_1$f = ["id"];
|
|
9728
|
+
const _hoisted_2$9 = { class: "ui-v1-page-header__main" };
|
|
9729
|
+
const _hoisted_3$5 = { class: "ui-v1-page-header__title" };
|
|
9251
9730
|
const _hoisted_4 = {
|
|
9252
9731
|
key: 0,
|
|
9253
9732
|
class: "ui-v1-page-header__addon"
|
|
@@ -9337,8 +9816,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
9337
9816
|
"ui-v1-page-header_readonly": __props.readonly
|
|
9338
9817
|
}
|
|
9339
9818
|
}, _ctx.$attrs), [
|
|
9340
|
-
createElementVNode("div", _hoisted_2$
|
|
9341
|
-
createElementVNode("div", _hoisted_3$
|
|
9819
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
9820
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
9342
9821
|
createVNode(_sfc_main$y, {
|
|
9343
9822
|
id: __props.id,
|
|
9344
9823
|
ref_key: "main",
|
|
@@ -9366,7 +9845,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
9366
9845
|
"actions" in _ctx.$slots ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
9367
9846
|
renderSlot(_ctx.$slots, "actions")
|
|
9368
9847
|
])) : createCommentVNode("", true)
|
|
9369
|
-
], 16, _hoisted_1$
|
|
9848
|
+
], 16, _hoisted_1$f);
|
|
9370
9849
|
};
|
|
9371
9850
|
}
|
|
9372
9851
|
});
|
|
@@ -9438,14 +9917,234 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
9438
9917
|
};
|
|
9439
9918
|
}
|
|
9440
9919
|
});
|
|
9920
|
+
const _hoisted_1$e = {
|
|
9921
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9922
|
+
viewBox: "0 0 24 24"
|
|
9923
|
+
};
|
|
9924
|
+
function render$4(_ctx, _cache) {
|
|
9925
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$e, [..._cache[0] || (_cache[0] = [
|
|
9926
|
+
createElementVNode("path", {
|
|
9927
|
+
fill: "currentColor",
|
|
9928
|
+
"fill-rule": "evenodd",
|
|
9929
|
+
d: "M20 5.5v-1a.5.5 0 0 0-.5-.5H15V3a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v1H4.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h15a.5.5 0 0 0 .5-.5m-4.662 14.64a1 1 0 0 0 .998-.94L17 8h2l-.85 12.14a2 2 0 0 1-2 1.86H7.87a2 2 0 0 1-2-1.86L5 8h2l.664 11.2a1 1 0 0 0 .998.94z",
|
|
9930
|
+
"clip-rule": "evenodd"
|
|
9931
|
+
}, null, -1)
|
|
9932
|
+
])]);
|
|
9933
|
+
}
|
|
9934
|
+
const IconDeleteOutlined = { render: render$4 };
|
|
9935
|
+
const cancel$2 = "Cancel";
|
|
9936
|
+
const ok$2 = "Confirm";
|
|
9937
|
+
const remove$2 = "Remove";
|
|
9938
|
+
const messages_en_GB$3 = {
|
|
9939
|
+
cancel: cancel$2,
|
|
9940
|
+
ok: ok$2,
|
|
9941
|
+
remove: remove$2
|
|
9942
|
+
};
|
|
9943
|
+
const cancel$1 = "Cancelar";
|
|
9944
|
+
const ok$1 = "Confirmar";
|
|
9945
|
+
const remove$1 = "Eliminar";
|
|
9946
|
+
const messages_es_ES$3 = {
|
|
9947
|
+
cancel: cancel$1,
|
|
9948
|
+
ok: ok$1,
|
|
9949
|
+
remove: remove$1
|
|
9950
|
+
};
|
|
9951
|
+
const cancel = "Отмена";
|
|
9952
|
+
const ok = "Подтвердить";
|
|
9953
|
+
const remove = "Удалить";
|
|
9954
|
+
const messages_ru_RU$3 = {
|
|
9955
|
+
cancel,
|
|
9956
|
+
ok,
|
|
9957
|
+
remove
|
|
9958
|
+
};
|
|
9959
|
+
const _i18n$3 = define({
|
|
9960
|
+
messages: {
|
|
9961
|
+
"en-GB": messages_en_GB$3,
|
|
9962
|
+
"es-ES": messages_es_ES$3,
|
|
9963
|
+
"ru-RU": messages_ru_RU$3
|
|
9964
|
+
}
|
|
9965
|
+
});
|
|
9966
|
+
const _hoisted_1$d = ["id"];
|
|
9967
|
+
const _hoisted_2$8 = { class: "ui-v1-popconfirm__content" };
|
|
9968
|
+
const _hoisted_3$4 = { class: "ui-v1-popconfirm__footer" };
|
|
9441
9969
|
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
9442
|
-
__name: "
|
|
9443
|
-
|
|
9444
|
-
|
|
9445
|
-
|
|
9446
|
-
|
|
9970
|
+
__name: "UiPopconfirmPopper",
|
|
9971
|
+
props: {
|
|
9972
|
+
/** Атрибут id корневого элемента окна подтверждения. Должен быть уникальным на странице */
|
|
9973
|
+
id: {
|
|
9974
|
+
type: String,
|
|
9975
|
+
default: void 0
|
|
9976
|
+
},
|
|
9977
|
+
/** Флаг для ручного переключения видимости */
|
|
9978
|
+
visible: {
|
|
9979
|
+
type: Boolean,
|
|
9980
|
+
default: false
|
|
9981
|
+
},
|
|
9982
|
+
/** Заголовок окна подтверждения */
|
|
9983
|
+
title: {
|
|
9984
|
+
type: String,
|
|
9985
|
+
default: ""
|
|
9986
|
+
},
|
|
9987
|
+
/** Регулирует цветовую схему кнопки подтверждения */
|
|
9988
|
+
okVariant: {
|
|
9989
|
+
type: String,
|
|
9990
|
+
validator: (variant) => Object.values(VARIANT).includes(variant),
|
|
9991
|
+
default: VARIANT.DEFAULT
|
|
9992
|
+
},
|
|
9993
|
+
/** Текст кнопки подтверждения действия */
|
|
9994
|
+
okTitle: {
|
|
9995
|
+
type: null,
|
|
9996
|
+
default: null
|
|
9997
|
+
},
|
|
9998
|
+
/** Текст кнопки отмены действия */
|
|
9999
|
+
cancelTitle: {
|
|
10000
|
+
type: null,
|
|
10001
|
+
default: null
|
|
10002
|
+
},
|
|
10003
|
+
/** Внешний вид кнопки отмены */
|
|
10004
|
+
cancelAppearance: {
|
|
10005
|
+
type: String,
|
|
10006
|
+
validator: (value) => Object.values(APPEARANCE$6).includes(value),
|
|
10007
|
+
default: APPEARANCE$6.SECONDARY
|
|
10008
|
+
},
|
|
10009
|
+
/** Цветовая схема кнопки отмены */
|
|
10010
|
+
cancelVariant: {
|
|
10011
|
+
type: String,
|
|
10012
|
+
validator: (value) => Object.values(VARIANT).includes(value),
|
|
10013
|
+
default: VARIANT.DEFAULT
|
|
10014
|
+
},
|
|
10015
|
+
/** Размер кнопок */
|
|
10016
|
+
buttonSize: {
|
|
10017
|
+
type: String,
|
|
10018
|
+
validator: (value) => Object.values(SIZE$a).includes(value),
|
|
10019
|
+
default: SIZE$a.XS
|
|
10020
|
+
},
|
|
10021
|
+
/**
|
|
10022
|
+
* Сторона цели, у которой появится окно подтверждения,
|
|
10023
|
+
* или подробный объект настройки положения и адаптации положения при нехватке места
|
|
10024
|
+
*/
|
|
10025
|
+
placement: {
|
|
10026
|
+
type: [String, Object],
|
|
10027
|
+
validator: (value) => isPlacementLiteral(value) || isPlacementOptions(value),
|
|
10028
|
+
default: "bottom-start"
|
|
10029
|
+
},
|
|
10030
|
+
/** Классы для контейнера окна подтверждения */
|
|
10031
|
+
popperClass: {
|
|
10032
|
+
type: null,
|
|
10033
|
+
default: null
|
|
10034
|
+
},
|
|
10035
|
+
/** Набор свойств плавающего элемента. See @/common/components/popper */
|
|
10036
|
+
popperOptions: {
|
|
10037
|
+
type: Object,
|
|
10038
|
+
default: () => ({})
|
|
10039
|
+
},
|
|
10040
|
+
/** Локаль переводимых текстов */
|
|
10041
|
+
locale: {
|
|
10042
|
+
type: String,
|
|
10043
|
+
default: void 0
|
|
10044
|
+
}
|
|
10045
|
+
},
|
|
10046
|
+
emits: ["update:visible", "toggle", "cancel", "ok"],
|
|
10047
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
10048
|
+
const props = __props;
|
|
10049
|
+
const emit = __emit;
|
|
10050
|
+
const uid2 = "embed-ui-" + useId();
|
|
10051
|
+
const popconfirmId = computed(() => props.id ?? uid2);
|
|
10052
|
+
const popper = ref(null);
|
|
10053
|
+
const i18nBus = inject(I18nInjectKey, null);
|
|
10054
|
+
const i18n = computed(() => _i18n$3.init(
|
|
10055
|
+
props.locale ?? i18nBus?.locale ?? _i18n$3.fallback
|
|
10056
|
+
));
|
|
10057
|
+
const onUpdateVisible = (visible) => {
|
|
10058
|
+
emit("update:visible", visible);
|
|
10059
|
+
emit("toggle", visible);
|
|
10060
|
+
};
|
|
10061
|
+
const onCancel = () => {
|
|
10062
|
+
emit("cancel");
|
|
10063
|
+
emit("update:visible", false);
|
|
10064
|
+
};
|
|
10065
|
+
const onOk = () => {
|
|
10066
|
+
emit("ok");
|
|
10067
|
+
emit("update:visible", false);
|
|
10068
|
+
};
|
|
10069
|
+
const onHide = (reason) => {
|
|
10070
|
+
if (reason === "by-miss-click") {
|
|
10071
|
+
emit("cancel");
|
|
10072
|
+
}
|
|
10073
|
+
};
|
|
10074
|
+
__expose({
|
|
10075
|
+
adjust: async () => {
|
|
10076
|
+
await popper.value?.adjust();
|
|
10077
|
+
},
|
|
10078
|
+
close: () => popper.value?.hide(),
|
|
10079
|
+
dispose: () => popper.value?.dispose(),
|
|
10080
|
+
open: () => popper.value?.show()
|
|
10081
|
+
});
|
|
9447
10082
|
return (_ctx, _cache) => {
|
|
9448
|
-
return
|
|
10083
|
+
return openBlock(), createBlock(_sfc_main$X, mergeProps({
|
|
10084
|
+
id: popconfirmId.value + "-popper",
|
|
10085
|
+
ref_key: "popper",
|
|
10086
|
+
ref: popper,
|
|
10087
|
+
visible: __props.visible,
|
|
10088
|
+
"target-triggers": [],
|
|
10089
|
+
"popper-triggers": [],
|
|
10090
|
+
"global-triggers": ["miss-click", "reference-hidden"],
|
|
10091
|
+
placement: __props.placement,
|
|
10092
|
+
"offset-main-axis": 16,
|
|
10093
|
+
"with-arrow": true,
|
|
10094
|
+
class: ["ui-v1-popconfirm", __props.popperClass]
|
|
10095
|
+
}, {
|
|
10096
|
+
...__props.popperOptions,
|
|
10097
|
+
..._ctx.$slots["title"] || __props.title ? { "aria-labelledby": popconfirmId.value + "-title" } : {}
|
|
10098
|
+
}, {
|
|
10099
|
+
role: "dialog",
|
|
10100
|
+
"aria-modal": "false",
|
|
10101
|
+
"onUpdate:visible": onUpdateVisible,
|
|
10102
|
+
onHide
|
|
10103
|
+
}), {
|
|
10104
|
+
default: withCtx(() => [
|
|
10105
|
+
_ctx.$slots["title"] || __props.title ? (openBlock(), createElementBlock("div", {
|
|
10106
|
+
key: 0,
|
|
10107
|
+
id: popconfirmId.value + "-title",
|
|
10108
|
+
class: "ui-v1-popconfirm__title"
|
|
10109
|
+
}, [
|
|
10110
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
10111
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
10112
|
+
])
|
|
10113
|
+
], 8, _hoisted_1$d)) : createCommentVNode("", true),
|
|
10114
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
10115
|
+
renderSlot(_ctx.$slots, "default")
|
|
10116
|
+
]),
|
|
10117
|
+
createElementVNode("div", _hoisted_3$4, [
|
|
10118
|
+
createVNode(_sfc_main$14, {
|
|
10119
|
+
appearance: __props.cancelAppearance,
|
|
10120
|
+
variant: __props.cancelVariant,
|
|
10121
|
+
size: __props.buttonSize,
|
|
10122
|
+
onClick: onCancel
|
|
10123
|
+
}, {
|
|
10124
|
+
default: withCtx(() => [
|
|
10125
|
+
renderSlot(_ctx.$slots, "cancel-text", {}, () => [
|
|
10126
|
+
createTextVNode(toDisplayString(__props.cancelTitle ?? i18n.value.t("cancel")), 1)
|
|
10127
|
+
])
|
|
10128
|
+
]),
|
|
10129
|
+
_: 3
|
|
10130
|
+
}, 8, ["appearance", "variant", "size"]),
|
|
10131
|
+
createVNode(_sfc_main$14, {
|
|
10132
|
+
size: __props.buttonSize,
|
|
10133
|
+
variant: __props.okVariant,
|
|
10134
|
+
onClick: onOk
|
|
10135
|
+
}, {
|
|
10136
|
+
default: withCtx(() => [
|
|
10137
|
+
renderSlot(_ctx.$slots, "ok-text", {}, () => [
|
|
10138
|
+
__props.okVariant === unref(VARIANT).DANGER ? (openBlock(), createBlock(unref(IconDeleteOutlined), { key: 0 })) : createCommentVNode("", true),
|
|
10139
|
+
createTextVNode(" " + toDisplayString(__props.okTitle ?? (__props.okVariant === unref(VARIANT).DANGER ? i18n.value.t("remove") : i18n.value.t("ok"))), 1)
|
|
10140
|
+
])
|
|
10141
|
+
]),
|
|
10142
|
+
_: 3
|
|
10143
|
+
}, 8, ["size", "variant"])
|
|
10144
|
+
])
|
|
10145
|
+
]),
|
|
10146
|
+
_: 3
|
|
10147
|
+
}, 16, ["id", "visible", "placement", "class"]);
|
|
9449
10148
|
};
|
|
9450
10149
|
}
|
|
9451
10150
|
});
|
|
@@ -9453,22 +10152,25 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
9453
10152
|
...{
|
|
9454
10153
|
inheritAttrs: false
|
|
9455
10154
|
},
|
|
9456
|
-
__name: "
|
|
10155
|
+
__name: "UiPopconfirmTrigger",
|
|
9457
10156
|
props: {
|
|
9458
|
-
|
|
9459
|
-
|
|
9460
|
-
|
|
10157
|
+
/** Флаг видимости окна подтверждения */
|
|
10158
|
+
visible: {
|
|
10159
|
+
type: Boolean,
|
|
10160
|
+
default: false
|
|
9461
10161
|
}
|
|
9462
10162
|
},
|
|
10163
|
+
emits: ["click"],
|
|
9463
10164
|
setup(__props) {
|
|
9464
|
-
const root = useElementRef();
|
|
9465
10165
|
return (_ctx, _cache) => {
|
|
9466
|
-
return openBlock(), createBlock(
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
}, _ctx.$attrs
|
|
10166
|
+
return openBlock(), createBlock(_sfc_main$I, mergeProps({
|
|
10167
|
+
tag: "div",
|
|
10168
|
+
class: "ui-v1-popconfirm-anchor"
|
|
10169
|
+
}, _ctx.$attrs, {
|
|
10170
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
|
10171
|
+
}), {
|
|
9470
10172
|
default: withCtx(() => [
|
|
9471
|
-
renderSlot(_ctx.$slots, "default")
|
|
10173
|
+
renderSlot(_ctx.$slots, "default", { open: __props.visible })
|
|
9472
10174
|
]),
|
|
9473
10175
|
_: 3
|
|
9474
10176
|
}, 16);
|
|
@@ -10204,7 +10906,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
10204
10906
|
onMounted(() => {
|
|
10205
10907
|
});
|
|
10206
10908
|
return (_ctx, _cache) => {
|
|
10207
|
-
return openBlock(), createBlock(_sfc_main$
|
|
10909
|
+
return openBlock(), createBlock(_sfc_main$X, mergeProps({
|
|
10208
10910
|
id: __props.id + "-popper",
|
|
10209
10911
|
ref_key: "popper",
|
|
10210
10912
|
ref: popper,
|
|
@@ -10460,6 +11162,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
10460
11162
|
};
|
|
10461
11163
|
const onInput = (event) => {
|
|
10462
11164
|
const target = event.target;
|
|
11165
|
+
if (inputReadonly.value) {
|
|
11166
|
+
if (target) {
|
|
11167
|
+
target.value = inputValue.value;
|
|
11168
|
+
}
|
|
11169
|
+
return;
|
|
11170
|
+
}
|
|
10463
11171
|
emit("input", target?.value ?? "");
|
|
10464
11172
|
};
|
|
10465
11173
|
const onFocus = (event) => emit("focus", event);
|
|
@@ -10511,14 +11219,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
10511
11219
|
class: "ui-v1-select__touchstone"
|
|
10512
11220
|
}, toDisplayString(selectionLabels.value), 513)) : createCommentVNode("", true),
|
|
10513
11221
|
renderSlot(_ctx.$slots, "trigger", {}, () => [
|
|
10514
|
-
createVNode(_sfc_main$
|
|
11222
|
+
createVNode(_sfc_main$T, {
|
|
10515
11223
|
id: __props.id,
|
|
10516
11224
|
value: inputValue.value,
|
|
10517
11225
|
placeholder: !inputReadonly.value && __props.expanded ? i18n.value.t("search.placeholder") : __props.placeholder,
|
|
10518
11226
|
active: __props.expanded,
|
|
10519
11227
|
clearable: __props.clearable,
|
|
10520
11228
|
invalid: __props.invalid,
|
|
10521
|
-
readonly:
|
|
11229
|
+
readonly: __props.readonly,
|
|
10522
11230
|
size: __props.textboxSize,
|
|
10523
11231
|
disabled: __props.disabled,
|
|
10524
11232
|
"input-attributes": textboxAttributes.value,
|
|
@@ -11203,7 +11911,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
11203
11911
|
}, null, 8, ["id", "active", "aria-disabled", "aria-selected", "aria-controls", "appearance", "item", "size", "tabindex", "onClick", "onFocus", "onKeydown"]);
|
|
11204
11912
|
}), 128))
|
|
11205
11913
|
]),
|
|
11206
|
-
__props.hasMenuItems ? (openBlock(), createBlock(_sfc_main$
|
|
11914
|
+
__props.hasMenuItems ? (openBlock(), createBlock(_sfc_main$14, {
|
|
11207
11915
|
key: 0,
|
|
11208
11916
|
active: __props.menuExpanded,
|
|
11209
11917
|
"aria-expanded": __props.menuExpanded ? "true" : "false",
|
|
@@ -11277,7 +11985,7 @@ const _sfc_main$9 = defineComponent({
|
|
|
11277
11985
|
if (!props.items.length) {
|
|
11278
11986
|
return null;
|
|
11279
11987
|
}
|
|
11280
|
-
return h(_sfc_main$
|
|
11988
|
+
return h(_sfc_main$X, {
|
|
11281
11989
|
visible: props.menuExpanded,
|
|
11282
11990
|
targetTriggers: {
|
|
11283
11991
|
hide: ["click"],
|
|
@@ -11291,7 +11999,7 @@ const _sfc_main$9 = defineComponent({
|
|
|
11291
11999
|
default: () => h("div", {
|
|
11292
12000
|
class: "ui-v1-tab-group__menu",
|
|
11293
12001
|
role: "menu"
|
|
11294
|
-
}, props.items.map((item) => h(_sfc_main$
|
|
12002
|
+
}, props.items.map((item) => h(_sfc_main$S, {
|
|
11295
12003
|
key: `menu-${item.id}`,
|
|
11296
12004
|
active: props.activeId === item.id,
|
|
11297
12005
|
"aria-checked": props.activeId === item.id ? "true" : "false",
|
|
@@ -11703,7 +12411,7 @@ const _sfc_main$8 = defineComponent({
|
|
|
11703
12411
|
[`ui-v1-tab-group_${props.size}`]: true
|
|
11704
12412
|
}]
|
|
11705
12413
|
}, [
|
|
11706
|
-
h(_sfc_main$
|
|
12414
|
+
h(_sfc_main$J, null, {
|
|
11707
12415
|
default: () => [
|
|
11708
12416
|
h(_sfc_main$a, {
|
|
11709
12417
|
ref: headView,
|
|
@@ -12361,7 +13069,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
12361
13069
|
},
|
|
12362
13070
|
role: "combobox"
|
|
12363
13071
|
}, _ctx.$attrs, { onMousedown: onRootMouseDown }), [
|
|
12364
|
-
createVNode(_sfc_main$
|
|
13072
|
+
createVNode(_sfc_main$T, mergeProps({
|
|
12365
13073
|
id: inputId.value,
|
|
12366
13074
|
ref_key: "textbox",
|
|
12367
13075
|
ref: textbox,
|
|
@@ -12388,7 +13096,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
12388
13096
|
]),
|
|
12389
13097
|
_: 3
|
|
12390
13098
|
}, 16, ["id", "value", "placeholder", "clearable", "disabled", "readonly"]),
|
|
12391
|
-
createVNode(_sfc_main$
|
|
13099
|
+
createVNode(_sfc_main$X, {
|
|
12392
13100
|
id: `${inputId.value}-listbox`,
|
|
12393
13101
|
visible: expanded.value,
|
|
12394
13102
|
target: rootTarget.value,
|
|
@@ -12403,14 +13111,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
12403
13111
|
onAttached: onPopperAttached
|
|
12404
13112
|
}, {
|
|
12405
13113
|
default: withCtx(() => [
|
|
12406
|
-
createVNode(_sfc_main$
|
|
13114
|
+
createVNode(_sfc_main$R, {
|
|
12407
13115
|
ref_key: "scrollable",
|
|
12408
13116
|
ref: scrollable,
|
|
12409
13117
|
class: "ui-v1-time-picker__list"
|
|
12410
13118
|
}, {
|
|
12411
13119
|
default: withCtx(() => [
|
|
12412
13120
|
(openBlock(true), createElementBlock(Fragment, null, renderList(variants.value, (time2, index) => {
|
|
12413
|
-
return openBlock(), createBlock(_sfc_main$
|
|
13121
|
+
return openBlock(), createBlock(_sfc_main$S, {
|
|
12414
13122
|
id: optionId(index),
|
|
12415
13123
|
key: `${time2}-${index}`,
|
|
12416
13124
|
ref_for: true,
|
|
@@ -12580,7 +13288,7 @@ var SIZE = /* @__PURE__ */ ((SIZE2) => {
|
|
|
12580
13288
|
return SIZE2;
|
|
12581
13289
|
})(SIZE || {});
|
|
12582
13290
|
const ToolbarInjectKeys = {
|
|
12583
|
-
size: Symbol("UiToolbarSize")
|
|
13291
|
+
size: /* @__PURE__ */ Symbol("UiToolbarSize")
|
|
12584
13292
|
};
|
|
12585
13293
|
const useToolbarSize = () => inject(ToolbarInjectKeys.size, computed(
|
|
12586
13294
|
() => "sm"
|
|
@@ -12653,7 +13361,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
12653
13361
|
return SIZE$a.SM;
|
|
12654
13362
|
});
|
|
12655
13363
|
return (_ctx, _cache) => {
|
|
12656
|
-
return openBlock(), createBlock(_sfc_main$
|
|
13364
|
+
return openBlock(), createBlock(_sfc_main$14, mergeProps({
|
|
12657
13365
|
ref_key: "root",
|
|
12658
13366
|
ref: root,
|
|
12659
13367
|
href: __props.href,
|
|
@@ -12726,7 +13434,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
12726
13434
|
},
|
|
12727
13435
|
setup(__props) {
|
|
12728
13436
|
return (_ctx, _cache) => {
|
|
12729
|
-
return openBlock(), createBlock(_sfc_main$
|
|
13437
|
+
return openBlock(), createBlock(_sfc_main$M, mergeProps({
|
|
12730
13438
|
href: __props.href,
|
|
12731
13439
|
external: __props.external,
|
|
12732
13440
|
appearance: __props.appearance,
|
|
@@ -13189,7 +13897,7 @@ ${details.latitude}`
|
|
|
13189
13897
|
});
|
|
13190
13898
|
return (_ctx, _cache) => {
|
|
13191
13899
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
13192
|
-
!ready.value ? (openBlock(), createBlock(_sfc_main$
|
|
13900
|
+
!ready.value ? (openBlock(), createBlock(_sfc_main$L, {
|
|
13193
13901
|
key: 0,
|
|
13194
13902
|
transition: null
|
|
13195
13903
|
})) : createCommentVNode("", true),
|
|
@@ -13201,7 +13909,7 @@ ${details.latitude}`
|
|
|
13201
13909
|
onLoad: loadApi
|
|
13202
13910
|
}, null, 32)),
|
|
13203
13911
|
ready.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
13204
|
-
createVNode(_sfc_main$
|
|
13912
|
+
createVNode(_sfc_main$14, {
|
|
13205
13913
|
class: "ui-v1-yandex-map__control-button",
|
|
13206
13914
|
appearance: "secondary",
|
|
13207
13915
|
size: "sm",
|
|
@@ -13217,7 +13925,7 @@ ${details.latitude}`
|
|
|
13217
13925
|
}, 8, ["disabled"])
|
|
13218
13926
|
])) : createCommentVNode("", true),
|
|
13219
13927
|
ready.value ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
13220
|
-
createVNode(_sfc_main$
|
|
13928
|
+
createVNode(_sfc_main$14, {
|
|
13221
13929
|
class: "ui-v1-yandex-map__control-button",
|
|
13222
13930
|
appearance: "secondary",
|
|
13223
13931
|
size: "sm",
|
|
@@ -13230,7 +13938,7 @@ ${details.latitude}`
|
|
|
13230
13938
|
]),
|
|
13231
13939
|
_: 1
|
|
13232
13940
|
}),
|
|
13233
|
-
createVNode(_sfc_main$
|
|
13941
|
+
createVNode(_sfc_main$14, {
|
|
13234
13942
|
class: "ui-v1-yandex-map__control-button",
|
|
13235
13943
|
appearance: "secondary",
|
|
13236
13944
|
size: "sm",
|
|
@@ -13250,25 +13958,30 @@ ${details.latitude}`
|
|
|
13250
13958
|
});
|
|
13251
13959
|
const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13252
13960
|
__proto__: null,
|
|
13253
|
-
UiAddButton: _sfc_main$
|
|
13254
|
-
UiAlert: _sfc_main$
|
|
13255
|
-
UiAvatar: _sfc_main
|
|
13256
|
-
UiAvatarList: _sfc_main$
|
|
13257
|
-
UiButton: _sfc_main$
|
|
13258
|
-
UiCalendar: _sfc_main$
|
|
13259
|
-
UiCheckbox: _sfc_main
|
|
13260
|
-
UiCollapse: _sfc_main$
|
|
13261
|
-
UiCollapseBox: _sfc_main$
|
|
13262
|
-
UiCollapseGroup: _sfc_main$
|
|
13263
|
-
UiCopyButton: _sfc_main$
|
|
13264
|
-
UiDate: _sfc_main$
|
|
13265
|
-
UiDatePicker: _sfc_main$
|
|
13266
|
-
UiError: _sfc_main$
|
|
13267
|
-
UiImage: _sfc_main$
|
|
13268
|
-
UiInfobox: _sfc_main$
|
|
13269
|
-
UiLink: _sfc_main$
|
|
13270
|
-
UiLoader: _sfc_main$
|
|
13271
|
-
|
|
13961
|
+
UiAddButton: _sfc_main$18,
|
|
13962
|
+
UiAlert: _sfc_main$19,
|
|
13963
|
+
UiAvatar: _sfc_main$16,
|
|
13964
|
+
UiAvatarList: _sfc_main$15,
|
|
13965
|
+
UiButton: _sfc_main$14,
|
|
13966
|
+
UiCalendar: _sfc_main$10,
|
|
13967
|
+
UiCheckbox: _sfc_main$$,
|
|
13968
|
+
UiCollapse: _sfc_main$_,
|
|
13969
|
+
UiCollapseBox: _sfc_main$Z,
|
|
13970
|
+
UiCollapseGroup: _sfc_main$Y,
|
|
13971
|
+
UiCopyButton: _sfc_main$V,
|
|
13972
|
+
UiDate: _sfc_main$U,
|
|
13973
|
+
UiDatePicker: _sfc_main$P,
|
|
13974
|
+
UiError: _sfc_main$O,
|
|
13975
|
+
UiImage: _sfc_main$17,
|
|
13976
|
+
UiInfobox: _sfc_main$N,
|
|
13977
|
+
UiLink: _sfc_main$M,
|
|
13978
|
+
UiLoader: _sfc_main$L,
|
|
13979
|
+
UiLogicTreeCaret: _sfc_main$K,
|
|
13980
|
+
UiLogicTreeNode: _sfc_main$H,
|
|
13981
|
+
UiLogicTreeNodeIcon,
|
|
13982
|
+
UiLogicTreeNodeItem,
|
|
13983
|
+
UiLogicTreeRoot: _sfc_main$E,
|
|
13984
|
+
UiMenuItem: _sfc_main$S,
|
|
13272
13985
|
UiMenuItemGroup,
|
|
13273
13986
|
UiModalSidebar: _sfc_main$C,
|
|
13274
13987
|
UiModalWindow: _sfc_main$A,
|
|
@@ -13277,13 +13990,15 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
13277
13990
|
UiPageHeader: _sfc_main$w,
|
|
13278
13991
|
UiPageHeaderLayout: _sfc_main$x,
|
|
13279
13992
|
UiPageHeaderTitle: _sfc_main$y,
|
|
13280
|
-
|
|
13281
|
-
|
|
13282
|
-
|
|
13993
|
+
UiPopconfirmPopper: _sfc_main$v,
|
|
13994
|
+
UiPopconfirmTrigger: _sfc_main$u,
|
|
13995
|
+
UiPopper: _sfc_main$X,
|
|
13996
|
+
UiPopperConnector: _sfc_main$J,
|
|
13997
|
+
UiPopperTarget: _sfc_main$I,
|
|
13283
13998
|
UiRadio: _sfc_main$t,
|
|
13284
13999
|
UiRadioSwitchOptionShell: _sfc_main$s,
|
|
13285
14000
|
UiRadioSwitchRoot: _sfc_main$r,
|
|
13286
|
-
UiScrollBox: _sfc_main$
|
|
14001
|
+
UiScrollBox: _sfc_main$R,
|
|
13287
14002
|
UiSelectPopper: _sfc_main$o,
|
|
13288
14003
|
UiSelectTrigger: _sfc_main$n,
|
|
13289
14004
|
UiSkeleton: _sfc_main$q,
|
|
@@ -13301,15 +14016,15 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
13301
14016
|
UiTableSection: _sfc_main$e,
|
|
13302
14017
|
UiTableSorter: _sfc_main$d,
|
|
13303
14018
|
UiTag: _sfc_main$7,
|
|
13304
|
-
UiTextbox: _sfc_main$
|
|
14019
|
+
UiTextbox: _sfc_main$T,
|
|
13305
14020
|
UiTimePicker: _sfc_main$6,
|
|
13306
14021
|
UiToggleButton: _sfc_main$5,
|
|
13307
14022
|
UiToggleGroupRoot: _sfc_main$4,
|
|
13308
14023
|
UiToolbar: _sfc_main$3,
|
|
13309
14024
|
UiToolbarButton: _sfc_main$2,
|
|
13310
14025
|
UiToolbarLink: _sfc_main$1,
|
|
13311
|
-
UiTooltip: _sfc_main$
|
|
13312
|
-
UiTransition: _sfc_main$
|
|
14026
|
+
UiTooltip: _sfc_main$W,
|
|
14027
|
+
UiTransition: _sfc_main$1a,
|
|
13313
14028
|
UiYandexMap: _sfc_main
|
|
13314
14029
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
13315
14030
|
const createProvider = () => createProvider$1(components);
|
|
@@ -13327,25 +14042,30 @@ export {
|
|
|
13327
14042
|
SIZE$3 as SKELETON_SIZE,
|
|
13328
14043
|
APPEARANCE as TAB_APPEARANCE,
|
|
13329
14044
|
SIZE$2 as TAB_SIZE,
|
|
13330
|
-
_sfc_main$
|
|
13331
|
-
_sfc_main$
|
|
13332
|
-
_sfc_main
|
|
13333
|
-
_sfc_main$
|
|
13334
|
-
_sfc_main$
|
|
13335
|
-
_sfc_main$
|
|
13336
|
-
_sfc_main
|
|
13337
|
-
_sfc_main$
|
|
13338
|
-
_sfc_main$
|
|
13339
|
-
_sfc_main$
|
|
13340
|
-
_sfc_main$
|
|
13341
|
-
_sfc_main$
|
|
13342
|
-
_sfc_main$
|
|
13343
|
-
_sfc_main$
|
|
13344
|
-
_sfc_main$
|
|
13345
|
-
_sfc_main$
|
|
13346
|
-
_sfc_main$
|
|
13347
|
-
_sfc_main$
|
|
13348
|
-
_sfc_main$
|
|
14045
|
+
_sfc_main$18 as UiAddButton,
|
|
14046
|
+
_sfc_main$19 as UiAlert,
|
|
14047
|
+
_sfc_main$16 as UiAvatar,
|
|
14048
|
+
_sfc_main$15 as UiAvatarList,
|
|
14049
|
+
_sfc_main$14 as UiButton,
|
|
14050
|
+
_sfc_main$10 as UiCalendar,
|
|
14051
|
+
_sfc_main$$ as UiCheckbox,
|
|
14052
|
+
_sfc_main$_ as UiCollapse,
|
|
14053
|
+
_sfc_main$Z as UiCollapseBox,
|
|
14054
|
+
_sfc_main$Y as UiCollapseGroup,
|
|
14055
|
+
_sfc_main$V as UiCopyButton,
|
|
14056
|
+
_sfc_main$U as UiDate,
|
|
14057
|
+
_sfc_main$P as UiDatePicker,
|
|
14058
|
+
_sfc_main$O as UiError,
|
|
14059
|
+
_sfc_main$17 as UiImage,
|
|
14060
|
+
_sfc_main$N as UiInfobox,
|
|
14061
|
+
_sfc_main$M as UiLink,
|
|
14062
|
+
_sfc_main$L as UiLoader,
|
|
14063
|
+
_sfc_main$K as UiLogicTreeCaret,
|
|
14064
|
+
_sfc_main$H as UiLogicTreeNode,
|
|
14065
|
+
UiLogicTreeNodeIcon,
|
|
14066
|
+
UiLogicTreeNodeItem,
|
|
14067
|
+
_sfc_main$E as UiLogicTreeRoot,
|
|
14068
|
+
_sfc_main$S as UiMenuItem,
|
|
13349
14069
|
UiMenuItemGroup,
|
|
13350
14070
|
_sfc_main$C as UiModalSidebar,
|
|
13351
14071
|
_sfc_main$A as UiModalWindow,
|
|
@@ -13354,13 +14074,15 @@ export {
|
|
|
13354
14074
|
_sfc_main$w as UiPageHeader,
|
|
13355
14075
|
_sfc_main$x as UiPageHeaderLayout,
|
|
13356
14076
|
_sfc_main$y as UiPageHeaderTitle,
|
|
13357
|
-
_sfc_main$
|
|
13358
|
-
_sfc_main$
|
|
13359
|
-
_sfc_main$
|
|
14077
|
+
_sfc_main$v as UiPopconfirmPopper,
|
|
14078
|
+
_sfc_main$u as UiPopconfirmTrigger,
|
|
14079
|
+
_sfc_main$X as UiPopper,
|
|
14080
|
+
_sfc_main$J as UiPopperConnector,
|
|
14081
|
+
_sfc_main$I as UiPopperTarget,
|
|
13360
14082
|
_sfc_main$t as UiRadio,
|
|
13361
14083
|
_sfc_main$s as UiRadioSwitchOptionShell,
|
|
13362
14084
|
_sfc_main$r as UiRadioSwitchRoot,
|
|
13363
|
-
_sfc_main$
|
|
14085
|
+
_sfc_main$R as UiScrollBox,
|
|
13364
14086
|
_sfc_main$o as UiSelectPopper,
|
|
13365
14087
|
_sfc_main$n as UiSelectTrigger,
|
|
13366
14088
|
_sfc_main$q as UiSkeleton,
|
|
@@ -13378,15 +14100,15 @@ export {
|
|
|
13378
14100
|
_sfc_main$e as UiTableSection,
|
|
13379
14101
|
_sfc_main$d as UiTableSorter,
|
|
13380
14102
|
_sfc_main$7 as UiTag,
|
|
13381
|
-
_sfc_main$
|
|
14103
|
+
_sfc_main$T as UiTextbox,
|
|
13382
14104
|
_sfc_main$6 as UiTimePicker,
|
|
13383
14105
|
_sfc_main$5 as UiToggleButton,
|
|
13384
14106
|
_sfc_main$4 as UiToggleGroupRoot,
|
|
13385
14107
|
_sfc_main$3 as UiToolbar,
|
|
13386
14108
|
_sfc_main$2 as UiToolbarButton,
|
|
13387
14109
|
_sfc_main$1 as UiToolbarLink,
|
|
13388
|
-
_sfc_main$
|
|
13389
|
-
_sfc_main$
|
|
14110
|
+
_sfc_main$W as UiTooltip,
|
|
14111
|
+
_sfc_main$1a as UiTransition,
|
|
13390
14112
|
_sfc_main as UiYandexMap,
|
|
13391
14113
|
VALIGN,
|
|
13392
14114
|
VueI18n,
|