@dv.net/ui-kit 7.7.6 → 7.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{lib.DicwPVgY.js → lib.B8b21L1c.js} +136 -116
- package/dist/components/UiAvatar/UiAvatar.js +1 -1
- package/dist/components/UiBlockTitle/UiBlockTitle.js +1 -1
- package/dist/components/UiButton/UiButton.js +1 -1
- package/dist/components/UiChat/UiChat.js +1 -1
- package/dist/components/UiChat/UiChatFooter.js +1 -1
- package/dist/components/UiChat/UiChatHeader.js +1 -1
- package/dist/components/UiCheckbox/UiCheckbox.js +1 -1
- package/dist/components/UiCollapseItem/UiCollapseItem.js +1 -1
- package/dist/components/UiConfirm/UiConfirm.js +1 -1
- package/dist/components/UiDatepicker/UiDatepickerRange.js +1 -1
- package/dist/components/UiDatepicker/components/DatePickerInput.js +1 -1
- package/dist/components/UiDatepicker/components/DatePickerInputs.js +1 -1
- package/dist/components/UiDatepicker/components/DatePickerSlider.js +1 -1
- package/dist/components/UiDragAndDrop/UiDragAndDrop.js +1 -1
- package/dist/components/UiDragAndDrop/UiFileItem.js +1 -1
- package/dist/components/UiDragAndDrop/UiFileItemLoading.js +1 -1
- package/dist/components/UiIconButton/UiIconButton.js +1 -1
- package/dist/components/UiInput/UiInput.js +1 -1
- package/dist/components/UiLanguages/UiLanguages.js +1 -1
- package/dist/components/UiLanguages/UiLanguages.vue.d.ts +1 -0
- package/dist/components/UiLanguages/components/UiLanguageButton.js +1 -1
- package/dist/components/UiLanguages/types.d.ts +1 -0
- package/dist/components/UiLayoutMenu/UiLayoutMenu.js +1 -1
- package/dist/components/UiLayoutMenu/UiLayoutMenuItem.js +1 -1
- package/dist/components/UiLoading/UiLoading.js +1 -1
- package/dist/components/UiMobileMenu/UiMobileMenu.js +1 -1
- package/dist/components/UiModal/UiModal.js +1 -1
- package/dist/components/UiModal/UiModal.vue.d.ts +1 -0
- package/dist/components/UiModal/types.d.ts +1 -1
- package/dist/components/UiPagination/UiPagination.js +1 -1
- package/dist/components/UiProfileMenu/UiProfileMenu.js +1 -1
- package/dist/components/UiProfileMenu/components/UiProfileMenuItem.js +1 -1
- package/dist/components/UiSelect/UiSelect.js +1 -1
- package/dist/components/UiSelect/components/SelectSearch.js +1 -1
- package/dist/components/UiSelect/components/SelectTrigger.js +1 -1
- package/dist/components/UiSelect/components/SelectVirtualList.js +1 -1
- package/dist/components/UiSwitch/UiSwitch.js +1 -1
- package/dist/components/UiTable/UiTable.js +1 -1
- package/dist/components/UiTable/components/TableEmptyState.js +1 -1
- package/dist/components/UiTable/components/TableSort.js +1 -1
- package/dist/components/UiTooltip/UiTooltip.js +1 -1
- package/dist/composables/useNotification/UiNotification.js +1 -1
- package/dist/composables/useNotification/useNotification.js +1 -1
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -26761,19 +26761,26 @@ function Bh(e, t) {
|
|
|
26761
26761
|
d: "m15 15 4 4M9 17A8 8 0 1 0 9 1a8 8 0 0 0 0 16"
|
|
26762
26762
|
}, null, -1)]]);
|
|
26763
26763
|
}
|
|
26764
|
-
var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"
|
|
26764
|
+
var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled", "aria-busy"], Wh = {
|
|
26765
|
+
key: 0,
|
|
26766
|
+
class: "ui-languages--trigger__loading"
|
|
26767
|
+
}, Gh = { class: "ui-languages--modal" }, Kh = { class: "ui-languages--modal__search" }, qh = {
|
|
26765
26768
|
key: 0,
|
|
26766
26769
|
class: "ui-languages__favourites"
|
|
26767
|
-
},
|
|
26770
|
+
}, Jh = { key: 1 }, Yh = {
|
|
26768
26771
|
key: 2,
|
|
26769
26772
|
class: "ui-languages--modal__empty"
|
|
26770
|
-
},
|
|
26773
|
+
}, Xh = { class: "ui-languages--drawer__wrapper" }, Zh = { class: "ui-languages--drawer__header" }, Qh = { class: "ui-languages--drawer__search" }, $h = { class: "ui-languages--drawer__items" }, eg = {
|
|
26771
26774
|
key: 0,
|
|
26772
26775
|
class: "ui-languages__favourites"
|
|
26773
|
-
},
|
|
26776
|
+
}, tg = /* @__PURE__ */ V({
|
|
26774
26777
|
__name: "UiLanguages",
|
|
26775
26778
|
props: /* @__PURE__ */ Le({
|
|
26776
26779
|
locales: {},
|
|
26780
|
+
localesLoading: {
|
|
26781
|
+
type: Boolean,
|
|
26782
|
+
default: !1
|
|
26783
|
+
},
|
|
26777
26784
|
disabled: { type: Boolean },
|
|
26778
26785
|
minNumbersLocalesDisplayFavorites: { default: 10 },
|
|
26779
26786
|
forHeader: {
|
|
@@ -26815,8 +26822,13 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
26815
26822
|
u.value = i.locales.filter(({ isoCode: t }) => e.includes(t));
|
|
26816
26823
|
}), (t, n) => (U(), R("div", Hh, [e.isHidden ? L("", !0) : (U(), R("button", {
|
|
26817
26824
|
key: 0,
|
|
26818
|
-
|
|
26819
|
-
|
|
26825
|
+
type: "button",
|
|
26826
|
+
disabled: e.disabled || e.localesLoading,
|
|
26827
|
+
class: H([{
|
|
26828
|
+
"for-header": e.forHeader,
|
|
26829
|
+
"is-loading": e.localesLoading
|
|
26830
|
+
}, "ui-languages--trigger"]),
|
|
26831
|
+
"aria-busy": e.localesLoading || void 0,
|
|
26820
26832
|
onClick: h
|
|
26821
26833
|
}, [K(t.$slots, "trigger", { locale: a.value }, () => [e.forHeader ? (U(), R(P, { key: 0 }, [B(me, {
|
|
26822
26834
|
isoCode: a.value?.isoCode ?? "",
|
|
@@ -26825,22 +26837,26 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
26825
26837
|
B(me, { isoCode: a.value?.isoCode ?? "" }, null, 8, ["isoCode"]),
|
|
26826
26838
|
je(" " + q(a.value?.name) + " ", 1),
|
|
26827
26839
|
a.value?.nativeName ? (U(), R(P, { key: 0 }, [je("(" + q(a.value?.nativeName) + ")", 1)], 64)) : L("", !0)
|
|
26828
|
-
], 64))])
|
|
26840
|
+
], 64))]), e.localesLoading ? (U(), R("span", Wh, [B(J(Ht), {
|
|
26841
|
+
"is-show": !0,
|
|
26842
|
+
"icon-size": "sm",
|
|
26843
|
+
filled: ""
|
|
26844
|
+
})])) : L("", !0)], 10, Uh)), J(s) ? (U(), I(J(pe), {
|
|
26829
26845
|
key: 2,
|
|
26830
26846
|
class: "ui-languages--drawer",
|
|
26831
26847
|
direction: "btt",
|
|
26832
26848
|
modelValue: o.value,
|
|
26833
26849
|
"onUpdate:modelValue": n[5] ||= (e) => o.value = e
|
|
26834
26850
|
}, {
|
|
26835
|
-
default: Y(() => [z("div",
|
|
26836
|
-
z("div",
|
|
26851
|
+
default: Y(() => [z("div", Xh, [
|
|
26852
|
+
z("div", Zh, [z("p", null, q(J(T).uiLanguages.translations.changeLanguage), 1), B(J(r), {
|
|
26837
26853
|
style: { cursor: "pointer" },
|
|
26838
26854
|
name: "close",
|
|
26839
26855
|
type: "400",
|
|
26840
26856
|
size: "lg",
|
|
26841
26857
|
onClick: n[3] ||= (e) => o.value = !1
|
|
26842
26858
|
})]),
|
|
26843
|
-
z("div",
|
|
26859
|
+
z("div", Qh, [B(J(Ih), {
|
|
26844
26860
|
size: "sm",
|
|
26845
26861
|
modelValue: c.value,
|
|
26846
26862
|
"onUpdate:modelValue": n[4] ||= (e) => c.value = e,
|
|
@@ -26850,7 +26866,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
26850
26866
|
prepend: Y(() => [B(J(Vh))]),
|
|
26851
26867
|
_: 1
|
|
26852
26868
|
}, 8, ["modelValue", "placeholder"])]),
|
|
26853
|
-
z("div",
|
|
26869
|
+
z("div", $h, [d.value?.length && p.value.length >= e.minNumbersLocalesDisplayFavorites ? (U(), R("div", eg, [(U(!0), R(P, null, G(d.value, (t) => (U(), I(Rh, {
|
|
26854
26870
|
key: t.id,
|
|
26855
26871
|
locale: t,
|
|
26856
26872
|
onChange: m,
|
|
@@ -26873,7 +26889,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
26873
26889
|
]))), 128))])
|
|
26874
26890
|
])]),
|
|
26875
26891
|
_: 1
|
|
26876
|
-
}, 8, ["modelValue"])) : (U(), I(J(
|
|
26892
|
+
}, 8, ["modelValue"])) : (U(), I(J(ug), {
|
|
26877
26893
|
key: 1,
|
|
26878
26894
|
onClose: n[1] ||= (e) => c.value = "",
|
|
26879
26895
|
modelValue: o.value,
|
|
@@ -26881,7 +26897,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
26881
26897
|
isShowBtnClose: !1,
|
|
26882
26898
|
popperClass: "transparent-bg"
|
|
26883
26899
|
}, {
|
|
26884
|
-
default: Y(() => [z("div",
|
|
26900
|
+
default: Y(() => [z("div", Gh, [z("div", Kh, [B(J(Ih), {
|
|
26885
26901
|
ref_key: "inputRef",
|
|
26886
26902
|
ref: l,
|
|
26887
26903
|
autofocus: "",
|
|
@@ -26892,7 +26908,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
26892
26908
|
}, {
|
|
26893
26909
|
prepend: Y(() => [B(J(Vh))]),
|
|
26894
26910
|
_: 1
|
|
26895
|
-
}, 8, ["modelValue", "placeholder"])]), z("div", { class: H(["ui-languages--modal__items", { "is-empty": !p.value.length }]) }, [d.value?.length && p.value.length >= e.minNumbersLocalesDisplayFavorites ? (U(), R("div",
|
|
26911
|
+
}, 8, ["modelValue", "placeholder"])]), z("div", { class: H(["ui-languages--modal__items", { "is-empty": !p.value.length }]) }, [d.value?.length && p.value.length >= e.minNumbersLocalesDisplayFavorites ? (U(), R("div", qh, [(U(!0), R(P, null, G(d.value, (t) => (U(), I(Rh, {
|
|
26896
26912
|
key: t.id,
|
|
26897
26913
|
locale: t,
|
|
26898
26914
|
onChange: m,
|
|
@@ -26902,7 +26918,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
26902
26918
|
"locale",
|
|
26903
26919
|
"selected",
|
|
26904
26920
|
"for-header"
|
|
26905
|
-
]))), 128))])) : L("", !0), p.value.length ? (U(), R("div",
|
|
26921
|
+
]))), 128))])) : L("", !0), p.value.length ? (U(), R("div", Jh, [(U(!0), R(P, null, G(p.value, (t) => (U(), I(Rh, {
|
|
26906
26922
|
key: t.id,
|
|
26907
26923
|
locale: t,
|
|
26908
26924
|
onChange: m,
|
|
@@ -26912,17 +26928,17 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
26912
26928
|
"locale",
|
|
26913
26929
|
"selected",
|
|
26914
26930
|
"for-header"
|
|
26915
|
-
]))), 128))])) : (U(), R("div",
|
|
26931
|
+
]))), 128))])) : (U(), R("div", Yh, q(J(T).uiLanguages.translations.modalSearchNotFound), 1))], 2)])]),
|
|
26916
26932
|
_: 1
|
|
26917
26933
|
}, 8, ["modelValue"]))]));
|
|
26918
26934
|
}
|
|
26919
|
-
}),
|
|
26935
|
+
}), ng = {
|
|
26920
26936
|
key: 3,
|
|
26921
26937
|
class: "ui-layout-menu-item__indicator"
|
|
26922
|
-
},
|
|
26938
|
+
}, rg = {
|
|
26923
26939
|
key: 0,
|
|
26924
26940
|
class: "ui-layout-menu"
|
|
26925
|
-
},
|
|
26941
|
+
}, ig = /* @__PURE__ */ V({
|
|
26926
26942
|
__name: "UiLayoutMenuItem",
|
|
26927
26943
|
props: {
|
|
26928
26944
|
routeItem: {},
|
|
@@ -26980,7 +26996,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
26980
26996
|
}, null, 8, ["name"]), [[dt, !s.value.isSelected]])], 64)) : L("", !0),
|
|
26981
26997
|
e.routeItem.meta?.iconComponent ? (U(), R(P, { key: 2 }, [pt((U(), I(Qe(e.routeItem.meta?.iconComponentActive), null, null, 512)), [[dt, s.value.isSelected]]), pt((U(), I(Qe(e.routeItem.meta?.iconComponent), null, null, 512)), [[dt, !s.value.isSelected]])], 64)) : L("", !0),
|
|
26982
26998
|
z("span", { class: H(["ui-layout-menu-item__title", [{ children: s.value.isChildren }, { "children-active": s.value.isSelected }]]) }, q(e.routeItem.meta?.title), 3),
|
|
26983
|
-
e.routeItem.meta.indicator ? (U(), R("span",
|
|
26999
|
+
e.routeItem.meta.indicator ? (U(), R("span", ng, q(e.routeItem.meta.indicator), 1)) : L("", !0),
|
|
26984
27000
|
e.routeItem.children?.length && !e.collapsed && !e.routeItem.meta.alwaysOpen ? (U(), R("button", {
|
|
26985
27001
|
key: 4,
|
|
26986
27002
|
onClick: c[0] ||= ht((e) => a.value = !a.value, ["stop", "prevent"]),
|
|
@@ -26991,7 +27007,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
26991
27007
|
})], 2)) : L("", !0)
|
|
26992
27008
|
], 34)]),
|
|
26993
27009
|
_: 1
|
|
26994
|
-
}, 8, ["to"])), e.routeItem?.children && e.routeItem.children?.length && !e.collapsed && (a.value || e.routeItem.meta.alwaysOpen) ? (U(), R("ul",
|
|
27010
|
+
}, 8, ["to"])), e.routeItem?.children && e.routeItem.children?.length && !e.collapsed && (a.value || e.routeItem.meta.alwaysOpen) ? (U(), R("ul", rg, [(U(!0), R(P, null, G(e.routeItem.children, (t) => (U(), R("li", { key: t?.path }, [(U(), I(u, {
|
|
26995
27011
|
routeItems: e.routeItems,
|
|
26996
27012
|
key: t?.path,
|
|
26997
27013
|
"route-item": t,
|
|
@@ -27008,7 +27024,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27008
27024
|
]))]))), 128))])) : L("", !0)], 64);
|
|
27009
27025
|
};
|
|
27010
27026
|
}
|
|
27011
|
-
}),
|
|
27027
|
+
}), ag = /* @__PURE__ */ V({
|
|
27012
27028
|
__name: "UiLayoutMenu",
|
|
27013
27029
|
props: {
|
|
27014
27030
|
routeItems: {},
|
|
@@ -27042,7 +27058,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27042
27058
|
};
|
|
27043
27059
|
return a(t.routeItems), i;
|
|
27044
27060
|
});
|
|
27045
|
-
return (t, n) => (U(), R("ul", { class: H(["ui-layout-menu", { "is-collapsed": e.collapsed }]) }, [e.collapsed ? (U(!0), R(P, { key: 0 }, G(i.value, (r) => (U(), R("li", { key: r?.path }, [B(
|
|
27061
|
+
return (t, n) => (U(), R("ul", { class: H(["ui-layout-menu", { "is-collapsed": e.collapsed }]) }, [e.collapsed ? (U(!0), R(P, { key: 0 }, G(i.value, (r) => (U(), R("li", { key: r?.path }, [B(ig, {
|
|
27046
27062
|
"route-item": r,
|
|
27047
27063
|
collapsed: e.collapsed,
|
|
27048
27064
|
"route-items": e.routeItems,
|
|
@@ -27055,7 +27071,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27055
27071
|
"route-items",
|
|
27056
27072
|
"parrentRoutes",
|
|
27057
27073
|
"active-menu-path"
|
|
27058
|
-
])]))), 128)) : (U(!0), R(P, { key: 1 }, G(e.routeItems, (r) => (U(), R("li", { key: r?.path }, [B(
|
|
27074
|
+
])]))), 128)) : (U(!0), R(P, { key: 1 }, G(e.routeItems, (r) => (U(), R("li", { key: r?.path }, [B(ig, {
|
|
27059
27075
|
"route-item": r,
|
|
27060
27076
|
collapsed: e.collapsed,
|
|
27061
27077
|
"route-items": e.routeItems,
|
|
@@ -27070,7 +27086,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27070
27086
|
"active-menu-path"
|
|
27071
27087
|
])]))), 128))], 2));
|
|
27072
27088
|
}
|
|
27073
|
-
}),
|
|
27089
|
+
}), og = { class: "ui-mobile__header" }, sg = { class: "ui-mobile__header-title" }, cg = { class: "ui-mobile__content" }, lg = /* @__PURE__ */ V({
|
|
27074
27090
|
__name: "UiMobileMenu",
|
|
27075
27091
|
props: /* @__PURE__ */ Le({
|
|
27076
27092
|
size: { default: "50%" },
|
|
@@ -27089,25 +27105,28 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27089
27105
|
size: e.size,
|
|
27090
27106
|
direction: "btt"
|
|
27091
27107
|
}, {
|
|
27092
|
-
default: Y(() => [z("div",
|
|
27108
|
+
default: Y(() => [z("div", og, [z("p", sg, q(e.title), 1), z("div", {
|
|
27093
27109
|
class: "ui-mobile__header-icon-wrapper",
|
|
27094
27110
|
onClick: i[0] ||= (e) => t.value = !1
|
|
27095
27111
|
}, [B(J(r), {
|
|
27096
27112
|
size: "lg",
|
|
27097
27113
|
name: "close",
|
|
27098
27114
|
type: "400"
|
|
27099
|
-
})])]), z("div",
|
|
27115
|
+
})])]), z("div", cg, [K(n.$slots, "default")])]),
|
|
27100
27116
|
_: 3
|
|
27101
27117
|
}, 8, ["modelValue", "size"]));
|
|
27102
27118
|
}
|
|
27103
|
-
}),
|
|
27119
|
+
}), ug = /* @__PURE__ */ V({
|
|
27104
27120
|
__name: "UiModal",
|
|
27105
27121
|
props: /* @__PURE__ */ Le({
|
|
27122
|
+
teleport: {
|
|
27123
|
+
type: [Boolean, String],
|
|
27124
|
+
default: !0
|
|
27125
|
+
},
|
|
27106
27126
|
isShowBtnClose: {
|
|
27107
27127
|
type: Boolean,
|
|
27108
27128
|
default: !0
|
|
27109
27129
|
},
|
|
27110
|
-
disabled: { type: Boolean },
|
|
27111
27130
|
padding: { default: "30" },
|
|
27112
27131
|
borderRadius: { default: "12" },
|
|
27113
27132
|
width: {},
|
|
@@ -27124,57 +27143,58 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27124
27143
|
}),
|
|
27125
27144
|
emits: /* @__PURE__ */ Le(["close"], ["update:modelValue"]),
|
|
27126
27145
|
setup(e, { emit: t }) {
|
|
27127
|
-
let n =
|
|
27128
|
-
|
|
27129
|
-
|
|
27130
|
-
|
|
27146
|
+
let n = e, r = F(() => {
|
|
27147
|
+
let e = {
|
|
27148
|
+
"--ui-modal-content-bg": n.background,
|
|
27149
|
+
"--ui-modal-content-padding": `${n.padding}px`,
|
|
27150
|
+
"--ui-modal-content-radius": `${n.borderRadius}px`
|
|
27151
|
+
};
|
|
27152
|
+
return n.width && (e["--ui-modal-content-width"] = `${n.width}px`), n.positionTop && (e["--ui-modal-content-top"] = `${n.positionTop}px`, e["--ui-modal-content-translate-y"] = "0"), n.positionLeft && (e["--ui-modal-content-left"] = `${n.positionLeft}px`, e["--ui-modal-content-translate-x"] = "0"), e;
|
|
27153
|
+
}), i = t, a = at(e, "modelValue"), o = W();
|
|
27154
|
+
p(o, s);
|
|
27155
|
+
function s() {
|
|
27156
|
+
a.value = !1, i("close"), document.removeEventListener("keydown", c);
|
|
27131
27157
|
}
|
|
27132
|
-
|
|
27133
|
-
|
|
27134
|
-
e.key === "Escape" && a();
|
|
27158
|
+
let c = (e) => {
|
|
27159
|
+
e.key === "Escape" && s();
|
|
27135
27160
|
};
|
|
27136
|
-
return Ge(() => {
|
|
27137
|
-
document.addEventListener("keydown",
|
|
27161
|
+
return ft(a, (e) => he(e)), Ge(() => {
|
|
27162
|
+
document.addEventListener("keydown", c);
|
|
27138
27163
|
}), Ke(() => {
|
|
27139
27164
|
he(!1);
|
|
27140
|
-
}), (t, n) => (U(), I(De, {
|
|
27141
|
-
|
|
27165
|
+
}), (t, n) => (U(), I(De, {
|
|
27166
|
+
disabled: !e.teleport,
|
|
27167
|
+
to: typeof e.teleport == "string" ? e.teleport : "body"
|
|
27168
|
+
}, [B(Oe, { name: "fade" }, {
|
|
27169
|
+
default: Y(() => [a.value ? (U(), R("div", {
|
|
27142
27170
|
key: 0,
|
|
27143
|
-
class: H(["ui-modal", [e.popperClass]])
|
|
27171
|
+
class: H(["ui-modal", [e.popperClass]]),
|
|
27172
|
+
style: Ve(r.value)
|
|
27144
27173
|
}, [z("div", {
|
|
27145
27174
|
ref_key: "contentRef",
|
|
27146
|
-
ref:
|
|
27147
|
-
class: "ui-modal__content"
|
|
27148
|
-
style: Ve({
|
|
27149
|
-
background: e.background,
|
|
27150
|
-
padding: `${e.padding}px`,
|
|
27151
|
-
borderRadius: `${e.borderRadius}px`,
|
|
27152
|
-
width: `${e.width}px`,
|
|
27153
|
-
top: `${e.positionTop}px`,
|
|
27154
|
-
left: `${e.positionLeft}px`,
|
|
27155
|
-
transform: `translate(${e.positionLeft === void 0 ? "-50%" : "0"}, ${e.positionTop === void 0 ? "-50%" : "0"})`
|
|
27156
|
-
})
|
|
27175
|
+
ref: o,
|
|
27176
|
+
class: "ui-modal__content"
|
|
27157
27177
|
}, [K(t.$slots, "default"), e.isShowBtnClose ? (U(), I(J(Mt), {
|
|
27158
27178
|
key: 0,
|
|
27159
27179
|
class: "ui-modal__close-icon",
|
|
27160
27180
|
"no-size": "",
|
|
27161
27181
|
size: "sm",
|
|
27162
27182
|
"icon-color": "var(--color-icon-tertiary)",
|
|
27163
|
-
onClick:
|
|
27183
|
+
onClick: s,
|
|
27164
27184
|
"icon-name": "close",
|
|
27165
27185
|
"icon-type": "400",
|
|
27166
27186
|
tabindex: "-1"
|
|
27167
|
-
})) : L("", !0)],
|
|
27187
|
+
})) : L("", !0)], 512)], 6)) : L("", !0)]),
|
|
27168
27188
|
_: 3
|
|
27169
|
-
})]));
|
|
27189
|
+
})], 8, ["disabled", "to"]));
|
|
27170
27190
|
}
|
|
27171
|
-
}),
|
|
27191
|
+
}), dg = {
|
|
27172
27192
|
key: 0,
|
|
27173
27193
|
class: "ui-pagination"
|
|
27174
|
-
},
|
|
27194
|
+
}, fg = {
|
|
27175
27195
|
key: 0,
|
|
27176
27196
|
class: "ui-pagination__show"
|
|
27177
|
-
},
|
|
27197
|
+
}, pg = { key: 1 }, mg = { class: "ui-pagination__actions" }, hg = { class: "ui-pagination__btns" }, gg = ["disabled"], _g = ["disabled"], vg = ["disabled"], yg = ["disabled"], bg = /* @__PURE__ */ V({
|
|
27178
27198
|
__name: "UiPagination",
|
|
27179
27199
|
props: /* @__PURE__ */ Le({
|
|
27180
27200
|
keyPerPagPagination: {},
|
|
@@ -27226,7 +27246,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27226
27246
|
function m() {
|
|
27227
27247
|
o.value > 1 && (--o.value, l());
|
|
27228
27248
|
}
|
|
27229
|
-
return (t, i) => e.isShowAlwaysPagination && n.total || c.value > 1 || a && !(e.nextPageExists === !1 && o.value === 1) ? (U(), R("div",
|
|
27249
|
+
return (t, i) => e.isShowAlwaysPagination && n.total || c.value > 1 || a && !(e.nextPageExists === !1 && o.value === 1) ? (U(), R("div", dg, [e.isShowPerPageSelect && !a ? (U(), R("div", fg, [z("span", null, q(J(T).uiPagination.translations.show), 1), B(J(Un), {
|
|
27230
27250
|
disabled: e.disabled,
|
|
27231
27251
|
onChange: u,
|
|
27232
27252
|
filled: "",
|
|
@@ -27239,39 +27259,39 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27239
27259
|
"disabled",
|
|
27240
27260
|
"modelValue",
|
|
27241
27261
|
"options"
|
|
27242
|
-
])])) : (U(), R("div",
|
|
27262
|
+
])])) : (U(), R("div", pg)), z("div", mg, [z("span", null, [je(q(o.value) + " ", 1), a ? L("", !0) : (U(), R(P, { key: 0 }, [je(q(J(T).uiPagination.translations.from) + " " + q(c.value), 1)], 64))]), z("div", hg, [
|
|
27243
27263
|
a ? L("", !0) : (U(), R("button", {
|
|
27244
27264
|
key: 0,
|
|
27245
27265
|
onClick: p,
|
|
27246
27266
|
disabled: o.value === 1 || e.disabled,
|
|
27247
27267
|
class: "ui-pagination__btn-first"
|
|
27248
|
-
}, [B(ve)], 8,
|
|
27268
|
+
}, [B(ve)], 8, gg)),
|
|
27249
27269
|
z("button", {
|
|
27250
27270
|
onClick: m,
|
|
27251
27271
|
disabled: o.value === 1 || e.disabled
|
|
27252
27272
|
}, [B(J(r), {
|
|
27253
27273
|
name: "chevron-left 1",
|
|
27254
27274
|
type: "400"
|
|
27255
|
-
})], 8,
|
|
27275
|
+
})], 8, _g),
|
|
27256
27276
|
z("button", {
|
|
27257
27277
|
onClick: d,
|
|
27258
27278
|
disabled: o.value === c.value || e.nextPageExists === !1 || e.disabled
|
|
27259
27279
|
}, [B(J(r), {
|
|
27260
27280
|
name: "chevron-right",
|
|
27261
27281
|
type: "400"
|
|
27262
|
-
})], 8,
|
|
27282
|
+
})], 8, vg),
|
|
27263
27283
|
a ? L("", !0) : (U(), R("button", {
|
|
27264
27284
|
key: 1,
|
|
27265
27285
|
onClick: f,
|
|
27266
27286
|
disabled: o.value === c.value,
|
|
27267
27287
|
class: "ui-pagination__btn-last"
|
|
27268
|
-
}, [B(ve)], 8,
|
|
27288
|
+
}, [B(ve)], 8, yg))
|
|
27269
27289
|
])])])) : L("", !0);
|
|
27270
27290
|
}
|
|
27271
|
-
}),
|
|
27291
|
+
}), xg = ["id"], Sg = {
|
|
27272
27292
|
key: 0,
|
|
27273
27293
|
class: "ui-profile-menu--item__animation"
|
|
27274
|
-
},
|
|
27294
|
+
}, Cg = /* @__PURE__ */ V({
|
|
27275
27295
|
__name: "UiProfileMenuItem",
|
|
27276
27296
|
props: { item: {} },
|
|
27277
27297
|
emits: ["closeMenu"],
|
|
@@ -27288,7 +27308,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27288
27308
|
onMouseover: i[1] ||= (t) => e.item.animationIcon && a.value?.lottie?.play(),
|
|
27289
27309
|
onMouseleave: i[2] ||= (t) => e.item.animationIcon && a.value?.lottie?.stop()
|
|
27290
27310
|
}, [
|
|
27291
|
-
e.item.animationIcon ? (U(), R("div",
|
|
27311
|
+
e.item.animationIcon ? (U(), R("div", Sg, [B(J(t), {
|
|
27292
27312
|
ref_key: "animationRef",
|
|
27293
27313
|
ref: a,
|
|
27294
27314
|
width: 24,
|
|
@@ -27307,9 +27327,9 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27307
27327
|
"type"
|
|
27308
27328
|
])) : L("", !0),
|
|
27309
27329
|
z("p", null, q(e.item.label), 1)
|
|
27310
|
-
], 42,
|
|
27330
|
+
], 42, xg)) : L("", !0);
|
|
27311
27331
|
}
|
|
27312
|
-
}),
|
|
27332
|
+
}), wg = { class: "ui-profile-menu--trigger" }, Tg = { class: "ui-profile-menu--items" }, Eg = { class: "ui-profile-menu--header" }, Dg = { class: "ui-profile-menu--header__info" }, Og = { class: "ui-profile-menu--header__email" }, kg = /* @__PURE__ */ V({
|
|
27313
27333
|
__name: "UiProfileMenu",
|
|
27314
27334
|
props: /* @__PURE__ */ Le({
|
|
27315
27335
|
userEmail: {},
|
|
@@ -27340,7 +27360,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27340
27360
|
modelValue: t.value,
|
|
27341
27361
|
"onUpdate:modelValue": a[0] ||= (e) => t.value = e
|
|
27342
27362
|
}, {
|
|
27343
|
-
reference: Y(() => [z("div",
|
|
27363
|
+
reference: Y(() => [z("div", wg, [(U(), I(J(Ct), {
|
|
27344
27364
|
key: n.value,
|
|
27345
27365
|
avatar: e.avatar,
|
|
27346
27366
|
status: e.status,
|
|
@@ -27351,7 +27371,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27351
27371
|
"status",
|
|
27352
27372
|
"email"
|
|
27353
27373
|
]))])]),
|
|
27354
|
-
default: Y(() => [z("div",
|
|
27374
|
+
default: Y(() => [z("div", Tg, [z("div", Eg, [(U(), I(J(Ct), {
|
|
27355
27375
|
key: `${n.value}-header`,
|
|
27356
27376
|
avatar: e.avatar,
|
|
27357
27377
|
status: e.status,
|
|
@@ -27361,7 +27381,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27361
27381
|
"avatar",
|
|
27362
27382
|
"status",
|
|
27363
27383
|
"email"
|
|
27364
|
-
])), z("div",
|
|
27384
|
+
])), z("div", Dg, [z("p", Og, q(e.userEmail ?? "-"), 1)])]), (U(!0), R(P, null, G(e.menuItems, (e, t) => (U(), R("div", {
|
|
27365
27385
|
class: H(["ui-profile-menu--group", { "is-empty": !e.length || e.every((e) => typeof e.isShow == "boolean" && !e.isShow) }]),
|
|
27366
27386
|
key: t
|
|
27367
27387
|
}, [(U(!0), R(P, null, G(e, (e) => (U(), R(P, { key: e.name }, [i.$slots[`menu-item-${e.name}`] && e.isShow ? K(i.$slots, `menu-item-${e.name}`, {
|
|
@@ -27369,7 +27389,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27369
27389
|
item: e,
|
|
27370
27390
|
index: e.name,
|
|
27371
27391
|
closeMenu: r
|
|
27372
|
-
}) : (U(), I(
|
|
27392
|
+
}) : (U(), I(Cg, {
|
|
27373
27393
|
key: 1,
|
|
27374
27394
|
onCloseMenu: r,
|
|
27375
27395
|
item: e
|
|
@@ -27377,7 +27397,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27377
27397
|
_: 3
|
|
27378
27398
|
}, 8, ["modelValue"])], 2));
|
|
27379
27399
|
}
|
|
27380
|
-
}),
|
|
27400
|
+
}), Ag = { class: "ui-switch__inner" }, jg = ["checked", "disabled"], Mg = { class: "ui-switch__dot" }, Ng = /* @__PURE__ */ V({
|
|
27381
27401
|
__name: "UiSwitch",
|
|
27382
27402
|
props: /* @__PURE__ */ Le({
|
|
27383
27403
|
disabled: {
|
|
@@ -27414,14 +27434,14 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27414
27434
|
"is-disabled": e.disabled,
|
|
27415
27435
|
"is-loading": e.loading
|
|
27416
27436
|
}])
|
|
27417
|
-
}, [z("div",
|
|
27437
|
+
}, [z("div", Ag, [
|
|
27418
27438
|
z("input", {
|
|
27419
27439
|
checked: n.value,
|
|
27420
27440
|
disabled: e.disabled || e.loading,
|
|
27421
27441
|
class: "ui-switch__input",
|
|
27422
27442
|
type: "checkbox"
|
|
27423
|
-
}, null, 8,
|
|
27424
|
-
z("span",
|
|
27443
|
+
}, null, 8, jg),
|
|
27444
|
+
z("span", Mg, [B(J(Ht), {
|
|
27425
27445
|
"icon-color": "#fff",
|
|
27426
27446
|
"is-show": e.loading
|
|
27427
27447
|
}, null, 8, ["is-show"])]),
|
|
@@ -27431,10 +27451,10 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27431
27451
|
class: H(["ui-switch__label", { "text-position-left": !e.textPositionRight }])
|
|
27432
27452
|
}, [z("h4", null, q(e.label), 1), z("p", null, q(e.text), 1)], 2)) : L("", !0)], 2));
|
|
27433
27453
|
}
|
|
27434
|
-
}),
|
|
27454
|
+
}), Pg = { class: "empty-content" }, Fg = { class: "empty-content__title" }, Ig = { class: "empty-content__description" }, Lg = /* @__PURE__ */ V({
|
|
27435
27455
|
__name: "TableEmptyState",
|
|
27436
27456
|
setup(e) {
|
|
27437
|
-
return (e, t) => (U(), R("div",
|
|
27457
|
+
return (e, t) => (U(), R("div", Pg, [
|
|
27438
27458
|
t[0] ||= z("svg", {
|
|
27439
27459
|
class: "empty-content__icon",
|
|
27440
27460
|
viewBox: "0 0 24 24",
|
|
@@ -27447,11 +27467,11 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27447
27467
|
"stroke-linecap": "round",
|
|
27448
27468
|
"stroke-linejoin": "round"
|
|
27449
27469
|
})], -1),
|
|
27450
|
-
z("span",
|
|
27451
|
-
z("p",
|
|
27470
|
+
z("span", Fg, q(J(T).uiTable.translations.noDataTitle), 1),
|
|
27471
|
+
z("p", Ig, q(J(T).uiTable.translations.noDataDescription), 1)
|
|
27452
27472
|
]));
|
|
27453
27473
|
}
|
|
27454
|
-
}),
|
|
27474
|
+
}), Rg = /* @__PURE__ */ V({
|
|
27455
27475
|
__name: "TableSort",
|
|
27456
27476
|
props: {
|
|
27457
27477
|
modelValue: { default: null },
|
|
@@ -27472,19 +27492,19 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27472
27492
|
class: H([n.value])
|
|
27473
27493
|
}, null, 8, ["class"])]));
|
|
27474
27494
|
}
|
|
27475
|
-
}),
|
|
27495
|
+
}), zg = { class: "ui-table-root" }, Bg = { class: "ui-table__wrapper" }, Vg = { class: "ui-table__header" }, Hg = ["colspan"], Ug = { key: 1 }, Wg = { key: 1 }, Gg = ["colspan"], Kg = { key: 2 }, qg = ["colspan"], Jg = {
|
|
27476
27496
|
key: 1,
|
|
27477
27497
|
class: "ui-table__empty"
|
|
27478
|
-
},
|
|
27498
|
+
}, Yg = ["onClick"], Xg = {
|
|
27479
27499
|
key: 0,
|
|
27480
27500
|
class: "ui-table__row-animation"
|
|
27481
|
-
},
|
|
27501
|
+
}, Zg = {
|
|
27482
27502
|
key: 0,
|
|
27483
27503
|
class: "ui-table__expande-row"
|
|
27484
|
-
},
|
|
27504
|
+
}, Qg = ["colspan"], $g = {
|
|
27485
27505
|
key: 1,
|
|
27486
27506
|
class: "ui-table__footer-row"
|
|
27487
|
-
},
|
|
27507
|
+
}, e_ = ["colspan"], t_ = /* @__PURE__ */ V({
|
|
27488
27508
|
__name: "UiTable",
|
|
27489
27509
|
props: /* @__PURE__ */ Le({
|
|
27490
27510
|
data: { default: () => [] },
|
|
@@ -27561,13 +27581,13 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27561
27581
|
}
|
|
27562
27582
|
return ft(() => n.loading, (e, t) => {
|
|
27563
27583
|
t && !e && f.value && (f.value = !1);
|
|
27564
|
-
}), (t, r) => (U(), R("div",
|
|
27584
|
+
}), (t, r) => (U(), R("div", zg, [z("div", Bg, [z("table", {
|
|
27565
27585
|
cellpadding: 0,
|
|
27566
27586
|
cellspacing: 0,
|
|
27567
27587
|
style: Ve({ tableLayout: e.tableLayout }),
|
|
27568
27588
|
class: "ui-table"
|
|
27569
27589
|
}, [
|
|
27570
|
-
z("thead", null, [z("tr",
|
|
27590
|
+
z("thead", null, [z("tr", Vg, [t.$slots.header ? K(t.$slots, "header", {
|
|
27571
27591
|
key: 0,
|
|
27572
27592
|
headers: e.headers
|
|
27573
27593
|
}) : (U(!0), R(P, { key: 1 }, G(n.headers, (e) => (U(), R(P, { key: e.name }, [e.isShow === void 0 || e.isShow ? (U(), R("th", {
|
|
@@ -27594,7 +27614,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27594
27614
|
header: e
|
|
27595
27615
|
}) : e.label ? (U(), R(P, { key: 3 }, [
|
|
27596
27616
|
K(t.$slots, `header-cell-${e.name}-prepend`),
|
|
27597
|
-
e.sortable ? (U(), I(
|
|
27617
|
+
e.sortable ? (U(), I(Rg, {
|
|
27598
27618
|
key: 0,
|
|
27599
27619
|
title: e.label,
|
|
27600
27620
|
onSort: (t) => {
|
|
@@ -27611,9 +27631,9 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27611
27631
|
"title",
|
|
27612
27632
|
"onSort",
|
|
27613
27633
|
"model-value"
|
|
27614
|
-
])) : (U(), R("span",
|
|
27634
|
+
])) : (U(), R("span", Ug, q(e.label), 1)),
|
|
27615
27635
|
K(t.$slots, `header-cell-${e.name}-append`)
|
|
27616
|
-
], 64)) : L("", !0)], 2)], 14,
|
|
27636
|
+
], 64)) : L("", !0)], 2)], 14, Hg)) : L("", !0)], 64))), 128))])]),
|
|
27617
27637
|
z("tbody", null, [e.showSummary && J(u).length && e.summaryPosition === "top" ? (U(), I(xe, {
|
|
27618
27638
|
key: 0,
|
|
27619
27639
|
"empty-value": e.emptyValue,
|
|
@@ -27628,10 +27648,10 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27628
27648
|
"loading",
|
|
27629
27649
|
"prepared-data",
|
|
27630
27650
|
"headers"
|
|
27631
|
-
])) : L("", !0), e.loading && !J(u).length ? (U(), R("tr",
|
|
27651
|
+
])) : L("", !0), e.loading && !J(u).length ? (U(), R("tr", Wg, [z("td", {
|
|
27632
27652
|
colspan: e.headers.length,
|
|
27633
27653
|
class: "ui-table__skeleton-container"
|
|
27634
|
-
}, [B(J(ye), { rows: e.skeletonRows }, null, 8, ["rows"])], 8,
|
|
27654
|
+
}, [B(J(ye), { rows: e.skeletonRows }, null, 8, ["rows"])], 8, Gg)])) : J(u).length ? (U(!0), R(P, { key: 3 }, G(J(u), (s, c) => (U(), R(P, { key: s.id }, [z("tr", {
|
|
27635
27655
|
onClick: (e) => t.$emit("rowClick", s.row),
|
|
27636
27656
|
class: H(["ui-table__body-row", [
|
|
27637
27657
|
S(s.row),
|
|
@@ -27656,7 +27676,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27656
27676
|
n.columnClass && n.columnClass(s.row, n.name)
|
|
27657
27677
|
])
|
|
27658
27678
|
}, [B(Oe, { name: "fade" }, {
|
|
27659
|
-
default: Y(() => [e.loading ? (U(), R("div",
|
|
27679
|
+
default: Y(() => [e.loading ? (U(), R("div", Xg)) : L("", !0)]),
|
|
27660
27680
|
_: 1
|
|
27661
27681
|
}), z("div", { class: H(["ui-table__body-cell-inner", [n.align]]) }, [
|
|
27662
27682
|
(typeof n.expande == "function" ? n.expande(s.row) : n.expande) ? (U(), I(Mt, {
|
|
@@ -27694,10 +27714,10 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27694
27714
|
row: s.row,
|
|
27695
27715
|
index: c
|
|
27696
27716
|
}) : (U(), R(P, { key: 1 }, [je(q(J(be)(s.row, n.name, e.emptyValue)), 1)], 64))], 64)) : L("", !0)
|
|
27697
|
-
], 2)], 2)) : L("", !0)], 64))), 128))], 10,
|
|
27717
|
+
], 2)], 2)) : L("", !0)], 64))), 128))], 10, Yg), (e.expandeKey ? o.value.includes(s.row[e.expandeKey]) : J(y)[s.id]) ? (U(), R("tr", Zg, [z("td", { colspan: e.headers.length }, [K(t.$slots, "expande", {
|
|
27698
27718
|
row: s.row,
|
|
27699
27719
|
index: c
|
|
27700
|
-
})], 8,
|
|
27720
|
+
})], 8, Qg)])) : L("", !0)], 64))), 128)) : (U(), R("tr", Kg, [z("td", { colspan: e.headers.length }, [e.showSimpleEmptyState ? (U(), R("div", Jg, q(J(T).uiTable.translations.noData), 1)) : (U(), I(Lg, { key: 0 }))], 8, qg)]))]),
|
|
27701
27721
|
z("tfoot", null, [e.showSummary && J(u).length && e.summaryPosition === "bottom" ? (U(), I(xe, {
|
|
27702
27722
|
key: 0,
|
|
27703
27723
|
"empty-value": e.emptyValue,
|
|
@@ -27712,11 +27732,11 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27712
27732
|
"loading",
|
|
27713
27733
|
"prepared-data",
|
|
27714
27734
|
"headers"
|
|
27715
|
-
])) : L("", !0), t.$slots.footer ? (U(), R("tr",
|
|
27735
|
+
])) : L("", !0), t.$slots.footer ? (U(), R("tr", $g, [z("td", {
|
|
27716
27736
|
colspan: e.headers.length,
|
|
27717
27737
|
class: "ui-table__footer-cell"
|
|
27718
|
-
}, [K(t.$slots, "footer")], 8,
|
|
27719
|
-
], 4)]), e.meta ? (U(), I(J(
|
|
27738
|
+
}, [K(t.$slots, "footer")], 8, e_)])) : L("", !0)])
|
|
27739
|
+
], 4)]), e.meta ? (U(), I(J(bg), {
|
|
27720
27740
|
key: 0,
|
|
27721
27741
|
class: "ui-table__pagination",
|
|
27722
27742
|
onChangePage: r[3] ||= (e) => t.$emit("changePagination", e),
|
|
@@ -27742,10 +27762,10 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27742
27762
|
"per-page-presets"
|
|
27743
27763
|
])) : L("", !0)]));
|
|
27744
27764
|
}
|
|
27745
|
-
}),
|
|
27765
|
+
}), n_ = { class: "ui-notification__top" }, r_ = ["innerHTML"], i_ = {
|
|
27746
27766
|
key: 1,
|
|
27747
27767
|
class: "ui-notification__text"
|
|
27748
|
-
},
|
|
27768
|
+
}, a_ = /* @__PURE__ */ le(/* @__PURE__ */ V({
|
|
27749
27769
|
__name: "UiNotification",
|
|
27750
27770
|
props: {
|
|
27751
27771
|
id: {},
|
|
@@ -27789,7 +27809,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27789
27809
|
style: Ve(s.value),
|
|
27790
27810
|
onMouseenter: d,
|
|
27791
27811
|
onMouseleave: f
|
|
27792
|
-
}, [z("div",
|
|
27812
|
+
}, [z("div", n_, [e.type === "error" ? (U(), I(J(r), {
|
|
27793
27813
|
key: 0,
|
|
27794
27814
|
name: "block",
|
|
27795
27815
|
type: "400",
|
|
@@ -27808,18 +27828,18 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
|
|
|
27808
27828
|
key: 0,
|
|
27809
27829
|
innerHTML: e.message,
|
|
27810
27830
|
class: "ui-notification__text"
|
|
27811
|
-
}, null, 8,
|
|
27831
|
+
}, null, 8, r_)) : (U(), R("div", i_, q(e.message), 1))], 36), [[dt, a.value]])]),
|
|
27812
27832
|
_: 1
|
|
27813
27833
|
}));
|
|
27814
27834
|
}
|
|
27815
|
-
}), [["__scopeId", "data-v-2bd67e86"]]),
|
|
27816
|
-
function
|
|
27817
|
-
let i =
|
|
27818
|
-
for (let e of
|
|
27819
|
-
let a = document.createElement("div"), o = Ne(
|
|
27835
|
+
}), [["__scopeId", "data-v-2bd67e86"]]), o_ = 16, s_ = [];
|
|
27836
|
+
function c_(e, t, n, r) {
|
|
27837
|
+
let i = o_;
|
|
27838
|
+
for (let e of s_) i += e.el.offsetHeight + o_;
|
|
27839
|
+
let a = document.createElement("div"), o = Ne(a_, {
|
|
27820
27840
|
id: fe(),
|
|
27821
27841
|
top: i,
|
|
27822
|
-
onDeleteFromList:
|
|
27842
|
+
onDeleteFromList: l_,
|
|
27823
27843
|
onRemove: () => {
|
|
27824
27844
|
Xe(null, a);
|
|
27825
27845
|
},
|
|
@@ -27828,13 +27848,13 @@ function s_(e, t, n, r) {
|
|
|
27828
27848
|
isHTMLMessage: n,
|
|
27829
27849
|
title: r
|
|
27830
27850
|
});
|
|
27831
|
-
Xe(o, a),
|
|
27851
|
+
Xe(o, a), s_.push(o), document.body.appendChild(a.firstElementChild);
|
|
27832
27852
|
}
|
|
27833
|
-
function
|
|
27834
|
-
let t =
|
|
27835
|
-
|
|
27836
|
-
e.component.props.top = t, t += e.el.offsetHeight +
|
|
27853
|
+
function l_(e) {
|
|
27854
|
+
let t = o_;
|
|
27855
|
+
s_ = s_.filter((t) => e !== t.component.props.id), s_.forEach((e) => {
|
|
27856
|
+
e.component.props.top = t, t += e.el.offsetHeight + o_;
|
|
27837
27857
|
});
|
|
27838
27858
|
}
|
|
27839
27859
|
//#endregion
|
|
27840
|
-
export { Un as A, Ct as B, Yr as C, vr as D, Cr as E, Vt as F, Lt as I, Mt as L, en as M, Gt as N, dr as O, Ht as P, jt as R, $r as S, Er as T, Ih as _,
|
|
27860
|
+
export { Un as A, Ct as B, Yr as C, vr as D, Cr as E, Vt as F, Lt as I, Mt as L, en as M, Gt as N, dr as O, Ht as P, jt as R, $r as S, Er as T, Ih as _, Rg as a, bh as b, kg as c, ug as d, lg as f, Rh as g, tg as h, t_ as i, In as j, er as k, Cg as l, ig as m, c_ as n, Lg as o, ag as p, a_ as r, Ng as s, tr as t, bg as u, Mh as v, qr as w, gh as x, Eh as y, Dt as z };
|