startup-ui 0.5.3 → 0.5.6
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/index.css +1 -1
- package/dist/startup-ui.cjs.js +4 -6
- package/dist/startup-ui.cjs.js.map +1 -1
- package/dist/startup-ui.es.js +242 -239
- package/dist/startup-ui.es.js.map +1 -1
- package/dist/types/components/SFilterGroup.vue.d.ts.map +1 -1
- package/dist/types/components/SNote.vue.d.ts.map +1 -1
- package/dist/types/components/SRadioGroup.vue.d.ts.map +1 -1
- package/dist/types/components/SSelect.vue.d.ts.map +1 -1
- package/dist/types/components/STimeline.vue.d.ts.map +1 -1
- package/dist/types/components/SUpload.vue.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/startup-ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { mergeModels as ie, getCurrentInstance as ia, computed as V, useModel as Oe, ref as K, watch as we, provide as Fe, createElementBlock as S, openBlock as p, withModifiers as $e, normalizeClass as z, renderSlot as F, inject as Ae, useSlots as Jt, cloneVNode as la, useTemplateRef as Te, createElementVNode as E, normalizeStyle as ge, unref as R, toDisplayString as G, createCommentVNode as B, Fragment as ee, renderList as de, createBlock as ae, resolveDynamicComponent as wt, withDirectives as
|
|
1
|
+
import { mergeModels as ie, getCurrentInstance as ia, computed as V, useModel as Oe, ref as K, watch as we, provide as Fe, createElementBlock as S, openBlock as p, withModifiers as $e, normalizeClass as z, renderSlot as F, inject as Ae, useSlots as Jt, cloneVNode as la, useTemplateRef as Te, createElementVNode as E, normalizeStyle as ge, unref as R, toDisplayString as G, createCommentVNode as B, Fragment as ee, renderList as de, createBlock as ae, resolveDynamicComponent as wt, withDirectives as yt, createTextVNode as le, vModelText as ua, vModelDynamic as Gs, defineComponent as at, h as ca, useAttrs as Un, onMounted as tt, nextTick as st, onBeforeUnmount as fa, createVNode as Q, Teleport as Ge, vModelRadio as Xs, withCtx as ke, vModelCheckbox as Zs, resolveComponent as bt, createSlots as Qs, render as da, onBeforeMount as eo, Transition as to } from "vue";
|
|
2
2
|
import { router as zn, Link as yn, useRemember as no } from "@inertiajs/vue3";
|
|
3
3
|
import { templateRef as ro, useEventListener as ao, useDraggable as Hn, useResizeObserver as so, useClipboard as oo } from "@vueuse/core";
|
|
4
4
|
import io from "@tinymce/tinymce-vue";
|
|
@@ -188,7 +188,7 @@ const lo = {
|
|
|
188
188
|
le(G(e.prefix), 1)
|
|
189
189
|
], 64)) : F(i.$slots, "prefix", { key: 1 })
|
|
190
190
|
])) : B("", !0),
|
|
191
|
-
e.type === "textarea" ?
|
|
191
|
+
e.type === "textarea" ? yt((p(), S("textarea", {
|
|
192
192
|
key: 1,
|
|
193
193
|
class: "s-input-field",
|
|
194
194
|
"onUpdate:modelValue": l[0] || (l[0] = (u) => r.value = u),
|
|
@@ -199,7 +199,7 @@ const lo = {
|
|
|
199
199
|
style: ge(e.inputStyle)
|
|
200
200
|
}, null, 44, vo)), [
|
|
201
201
|
[ua, r.value]
|
|
202
|
-
]) :
|
|
202
|
+
]) : yt((p(), S("input", {
|
|
203
203
|
key: 2,
|
|
204
204
|
class: "s-input-field",
|
|
205
205
|
type: e.type,
|
|
@@ -1100,7 +1100,7 @@ An[me] = $($({}, An[me]), ii.kit);
|
|
|
1100
1100
|
xt(An);
|
|
1101
1101
|
var ul = Po, Wa = "fa-layers-text", cl = No, fl = $({}, Zo);
|
|
1102
1102
|
xt(fl);
|
|
1103
|
-
var dl = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], ln = Io, ml = [].concat(Ce(ni), Ce(rl)),
|
|
1103
|
+
var dl = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], ln = Io, ml = [].concat(Ce(ni), Ce(rl)), pt = Le.FontAwesomeConfig || {};
|
|
1104
1104
|
function hl(e) {
|
|
1105
1105
|
var t = se.querySelector("script[" + e + "]");
|
|
1106
1106
|
if (t)
|
|
@@ -1113,7 +1113,7 @@ if (se && typeof se.querySelector == "function") {
|
|
|
1113
1113
|
var vl = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-search-pseudo-elements-warnings", "searchPseudoElementsWarnings"], ["data-search-pseudo-elements-full-scan", "searchPseudoElementsFullScan"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
|
|
1114
1114
|
vl.forEach(function(e) {
|
|
1115
1115
|
var t = Kt(e, 2), n = t[0], r = t[1], a = pl(hl(n));
|
|
1116
|
-
a != null && (
|
|
1116
|
+
a != null && (pt[r] = a);
|
|
1117
1117
|
});
|
|
1118
1118
|
}
|
|
1119
1119
|
var Ya = {
|
|
@@ -1132,39 +1132,39 @@ var Ya = {
|
|
|
1132
1132
|
measurePerformance: !1,
|
|
1133
1133
|
showMissingIcons: !0
|
|
1134
1134
|
};
|
|
1135
|
-
|
|
1136
|
-
var
|
|
1137
|
-
|
|
1135
|
+
pt.familyPrefix && (pt.cssPrefix = pt.familyPrefix);
|
|
1136
|
+
var nt = $($({}, Ya), pt);
|
|
1137
|
+
nt.autoReplaceSvg || (nt.observeMutations = !1);
|
|
1138
1138
|
var j = {};
|
|
1139
1139
|
Object.keys(Ya).forEach(function(e) {
|
|
1140
1140
|
Object.defineProperty(j, e, {
|
|
1141
1141
|
enumerable: !0,
|
|
1142
1142
|
set: function(n) {
|
|
1143
|
-
|
|
1143
|
+
nt[e] = n, vt.forEach(function(r) {
|
|
1144
1144
|
return r(j);
|
|
1145
1145
|
});
|
|
1146
1146
|
},
|
|
1147
1147
|
get: function() {
|
|
1148
|
-
return
|
|
1148
|
+
return nt[e];
|
|
1149
1149
|
}
|
|
1150
1150
|
});
|
|
1151
1151
|
});
|
|
1152
1152
|
Object.defineProperty(j, "familyPrefix", {
|
|
1153
1153
|
enumerable: !0,
|
|
1154
1154
|
set: function(t) {
|
|
1155
|
-
|
|
1155
|
+
nt.cssPrefix = t, vt.forEach(function(n) {
|
|
1156
1156
|
return n(j);
|
|
1157
1157
|
});
|
|
1158
1158
|
},
|
|
1159
1159
|
get: function() {
|
|
1160
|
-
return
|
|
1160
|
+
return nt.cssPrefix;
|
|
1161
1161
|
}
|
|
1162
1162
|
});
|
|
1163
1163
|
Le.FontAwesomeConfig = j;
|
|
1164
|
-
var
|
|
1164
|
+
var vt = [];
|
|
1165
1165
|
function gl(e) {
|
|
1166
|
-
return
|
|
1167
|
-
|
|
1166
|
+
return vt.push(e), function() {
|
|
1167
|
+
vt.splice(vt.indexOf(e), 1);
|
|
1168
1168
|
};
|
|
1169
1169
|
}
|
|
1170
1170
|
var Ze = wn, Ie = {
|
|
@@ -1192,13 +1192,13 @@ function vr() {
|
|
|
1192
1192
|
t += bl[Math.random() * 62 | 0];
|
|
1193
1193
|
return t;
|
|
1194
1194
|
}
|
|
1195
|
-
function
|
|
1195
|
+
function ot(e) {
|
|
1196
1196
|
for (var t = [], n = (e || []).length >>> 0; n--; )
|
|
1197
1197
|
t[n] = e[n];
|
|
1198
1198
|
return t;
|
|
1199
1199
|
}
|
|
1200
1200
|
function Kn(e) {
|
|
1201
|
-
return e.classList ?
|
|
1201
|
+
return e.classList ? ot(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(t) {
|
|
1202
1202
|
return t;
|
|
1203
1203
|
});
|
|
1204
1204
|
}
|
|
@@ -2380,12 +2380,12 @@ var $r = function() {
|
|
|
2380
2380
|
}, Pn = j.measurePerformance && Ct && Ct.mark && Ct.measure ? Ct : {
|
|
2381
2381
|
mark: $r,
|
|
2382
2382
|
measure: $r
|
|
2383
|
-
},
|
|
2384
|
-
return Pn.mark("".concat(
|
|
2383
|
+
}, mt = 'FA "7.1.0"', Xl = function(t) {
|
|
2384
|
+
return Pn.mark("".concat(mt, " ").concat(t, " begins")), function() {
|
|
2385
2385
|
return ls(t);
|
|
2386
2386
|
};
|
|
2387
2387
|
}, ls = function(t) {
|
|
2388
|
-
Pn.mark("".concat(
|
|
2388
|
+
Pn.mark("".concat(mt, " ").concat(t, " ends")), Pn.measure("".concat(mt, " ").concat(t), "".concat(mt, " ").concat(t, " begins"), "".concat(mt, " ").concat(t, " ends"));
|
|
2389
2389
|
}, er = {
|
|
2390
2390
|
begin: Xl,
|
|
2391
2391
|
end: ls
|
|
@@ -2495,7 +2495,7 @@ function Er(e) {
|
|
|
2495
2495
|
Ht = new fr(function(u) {
|
|
2496
2496
|
if (!tr) {
|
|
2497
2497
|
var c = Be();
|
|
2498
|
-
|
|
2498
|
+
ot(u).forEach(function(f) {
|
|
2499
2499
|
if (f.type === "childList" && f.addedNodes.length > 0 && !Ar(f.addedNodes[0]) && (j.searchPseudoElements && s(f.target), n(f.target)), f.type === "attributes" && f.target.parentNode && j.searchPseudoElements && s([f.target], !0), f.type === "attributes" && Ar(f.target) && ~dl.indexOf(f.attributeName))
|
|
2500
2500
|
if (f.attributeName === "class" && Zl(f.target)) {
|
|
2501
2501
|
var h = Zt(Kn(f.target)), b = h.prefix, d = h.iconName;
|
|
@@ -2526,7 +2526,7 @@ function ou(e) {
|
|
|
2526
2526
|
return a.prefix || (a.prefix = Be()), t && n && (a.prefix = t, a.iconName = n), a.iconName && a.prefix || (a.prefix && r.length > 0 && (a.iconName = Cl(a.prefix, e.innerText) || Zn(a.prefix, Xa(e.innerText))), !a.iconName && j.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (a.iconName = e.firstChild.data)), a;
|
|
2527
2527
|
}
|
|
2528
2528
|
function iu(e) {
|
|
2529
|
-
var t =
|
|
2529
|
+
var t = ot(e.attributes).reduce(function(n, r) {
|
|
2530
2530
|
return n.name !== "class" && n.name !== "style" && (n[r.name] = r.value), n;
|
|
2531
2531
|
}, {});
|
|
2532
2532
|
return t;
|
|
@@ -2598,7 +2598,7 @@ function Tr(e) {
|
|
|
2598
2598
|
return Promise.resolve();
|
|
2599
2599
|
var i = [];
|
|
2600
2600
|
try {
|
|
2601
|
-
i =
|
|
2601
|
+
i = ot(e.querySelectorAll(s));
|
|
2602
2602
|
} catch {
|
|
2603
2603
|
}
|
|
2604
2604
|
if (i.length > 0)
|
|
@@ -2853,7 +2853,7 @@ function Nr(e, t) {
|
|
|
2853
2853
|
return new Promise(function(r, a) {
|
|
2854
2854
|
if (e.getAttribute(n) !== null)
|
|
2855
2855
|
return r();
|
|
2856
|
-
var o =
|
|
2856
|
+
var o = ot(e.children), s = o.filter(function(L) {
|
|
2857
2857
|
return L.getAttribute(kn) === t;
|
|
2858
2858
|
})[0], i = Le.getComputedStyle(e, t), l = i.getPropertyValue("font-family"), u = l.match(cl), c = i.getPropertyValue("font-weight"), f = i.getPropertyValue("content");
|
|
2859
2859
|
if (s && !u)
|
|
@@ -2979,7 +2979,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2979
2979
|
}
|
|
2980
2980
|
}
|
|
2981
2981
|
return new Promise(function(m, g) {
|
|
2982
|
-
var v =
|
|
2982
|
+
var v = ot(n).filter(xu).map(ku), w = er.begin("searchPseudoElements");
|
|
2983
2983
|
fs(), Promise.all(v).then(function() {
|
|
2984
2984
|
w(), Nn(), m();
|
|
2985
2985
|
}).catch(function() {
|
|
@@ -3385,7 +3385,7 @@ function Hu(e, t) {
|
|
|
3385
3385
|
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Fn(e, t) : void 0;
|
|
3386
3386
|
}
|
|
3387
3387
|
}
|
|
3388
|
-
function
|
|
3388
|
+
function gt(e, t) {
|
|
3389
3389
|
return Array.isArray(t) && t.length > 0 || !Array.isArray(t) && t ? he({}, e, t) : {};
|
|
3390
3390
|
}
|
|
3391
3391
|
function Vu(e) {
|
|
@@ -3554,7 +3554,7 @@ function Dr(e) {
|
|
|
3554
3554
|
iconName: e
|
|
3555
3555
|
};
|
|
3556
3556
|
}
|
|
3557
|
-
var re =
|
|
3557
|
+
var re = at({
|
|
3558
3558
|
name: "FontAwesomeIcon",
|
|
3559
3559
|
props: {
|
|
3560
3560
|
border: {
|
|
@@ -3689,11 +3689,11 @@ var re = rt({
|
|
|
3689
3689
|
var r = n.attrs, a = V(function() {
|
|
3690
3690
|
return Dr(t.icon);
|
|
3691
3691
|
}), o = V(function() {
|
|
3692
|
-
return
|
|
3692
|
+
return gt("classes", Vu(t));
|
|
3693
3693
|
}), s = V(function() {
|
|
3694
|
-
return
|
|
3694
|
+
return gt("transform", typeof t.transform == "string" ? Vt.transform(t.transform) : t.transform);
|
|
3695
3695
|
}), i = V(function() {
|
|
3696
|
-
return
|
|
3696
|
+
return gt("mask", Dr(t.mask));
|
|
3697
3697
|
}), l = V(function() {
|
|
3698
3698
|
var c = Ee(Ee(Ee(Ee({}, o.value), s.value), i.value), {}, {
|
|
3699
3699
|
symbol: t.symbol,
|
|
@@ -3715,7 +3715,7 @@ var re = rt({
|
|
|
3715
3715
|
};
|
|
3716
3716
|
}
|
|
3717
3717
|
});
|
|
3718
|
-
|
|
3718
|
+
at({
|
|
3719
3719
|
name: "FontAwesomeLayers",
|
|
3720
3720
|
props: {
|
|
3721
3721
|
fixedWidth: {
|
|
@@ -3734,7 +3734,7 @@ rt({
|
|
|
3734
3734
|
};
|
|
3735
3735
|
}
|
|
3736
3736
|
});
|
|
3737
|
-
|
|
3737
|
+
at({
|
|
3738
3738
|
name: "FontAwesomeLayersText",
|
|
3739
3739
|
props: {
|
|
3740
3740
|
value: {
|
|
@@ -3759,9 +3759,9 @@ rt({
|
|
|
3759
3759
|
},
|
|
3760
3760
|
setup: function(t, n) {
|
|
3761
3761
|
var r = n.attrs, a = hs.familyPrefix, o = V(function() {
|
|
3762
|
-
return
|
|
3762
|
+
return gt("classes", [].concat(Rn(t.counter ? ["".concat(a, "-layers-counter")] : []), Rn(t.position ? ["".concat(a, "-layers-").concat(t.position)] : [])));
|
|
3763
3763
|
}), s = V(function() {
|
|
3764
|
-
return
|
|
3764
|
+
return gt("transform", typeof t.transform == "string" ? Vt.transform(t.transform) : t.transform);
|
|
3765
3765
|
}), i = V(function() {
|
|
3766
3766
|
var u = Ru(t.value.toString(), Ee(Ee({}, s.value), o.value)), c = u.abstract;
|
|
3767
3767
|
return t.counter && (c[0].attributes.class = c[0].attributes.class.replace("fa-layers-text", "")), c[0];
|
|
@@ -3803,7 +3803,7 @@ const Xu = ["placeholder"], Zu = {
|
|
|
3803
3803
|
default: !1
|
|
3804
3804
|
},
|
|
3805
3805
|
/**
|
|
3806
|
-
* Количество элементов, которые рендерятся при виртуальном скролле
|
|
3806
|
+
* Количество элементов, которые рендерятся при виртуальном скролле
|
|
3807
3807
|
*/
|
|
3808
3808
|
virtualScrollSize: {
|
|
3809
3809
|
type: Number,
|
|
@@ -3857,8 +3857,8 @@ const Xu = ["placeholder"], Zu = {
|
|
|
3857
3857
|
v.value = "", a.value = _, r("change", _), d.value = !1;
|
|
3858
3858
|
}
|
|
3859
3859
|
function D(_) {
|
|
3860
|
-
const C = m.value.offsetHeight
|
|
3861
|
-
return k
|
|
3860
|
+
const C = m.value.offsetHeight, k = window.innerHeight - _.bottom, x = _.top;
|
|
3861
|
+
return k >= C ? "drop-down" : x > C || x > k ? "drop-up" : "drop-down";
|
|
3862
3862
|
}
|
|
3863
3863
|
const ne = K({});
|
|
3864
3864
|
function X() {
|
|
@@ -3879,8 +3879,8 @@ const Xu = ["placeholder"], Zu = {
|
|
|
3879
3879
|
function A() {
|
|
3880
3880
|
a.value = null, r("change", null);
|
|
3881
3881
|
}
|
|
3882
|
-
return
|
|
3883
|
-
document.addEventListener("click", H),
|
|
3882
|
+
return tt(() => {
|
|
3883
|
+
document.addEventListener("click", H), st(() => {
|
|
3884
3884
|
const _ = o.value.getBoundingClientRect();
|
|
3885
3885
|
g.value = D(_);
|
|
3886
3886
|
});
|
|
@@ -3894,7 +3894,7 @@ const Xu = ["placeholder"], Zu = {
|
|
|
3894
3894
|
class: z(["s-select-field", { selecting: d.value }]),
|
|
3895
3895
|
onClick: T
|
|
3896
3896
|
}, [
|
|
3897
|
-
e.filterable ?
|
|
3897
|
+
e.filterable ? yt((p(), S("input", {
|
|
3898
3898
|
key: 0,
|
|
3899
3899
|
"onUpdate:modelValue": C[0] || (C[0] = (k) => v.value = k),
|
|
3900
3900
|
class: "s-select-field-filter",
|
|
@@ -4064,7 +4064,7 @@ const Xu = ["placeholder"], Zu = {
|
|
|
4064
4064
|
return (s, i) => (p(), S("label", {
|
|
4065
4065
|
class: z(["s-radio", [e.labelClass, { disabled: e.disabled }]])
|
|
4066
4066
|
}, [
|
|
4067
|
-
|
|
4067
|
+
yt(E("input", {
|
|
4068
4068
|
type: "radio",
|
|
4069
4069
|
value: e.value,
|
|
4070
4070
|
"onUpdate:modelValue": i[0] || (i[0] = (l) => o.value = l),
|
|
@@ -4094,7 +4094,10 @@ const Xu = ["placeholder"], Zu = {
|
|
|
4094
4094
|
let l = s;
|
|
4095
4095
|
return s === "true" && (l = !0), s === "false" && (l = !1), !isNaN(s) && s !== "" && (l = Number(s)), { value: l, title: i };
|
|
4096
4096
|
}));
|
|
4097
|
-
return
|
|
4097
|
+
return tt(() => {
|
|
4098
|
+
var s;
|
|
4099
|
+
a.value === null && Object.values((s = n.options) != null ? s : {}).length && (a.value = Object.keys(n.options)[0]);
|
|
4100
|
+
}), Fe("sRadioGroupModel", a), we(a, (s) => {
|
|
4098
4101
|
r("change", s);
|
|
4099
4102
|
}), (s, i) => (p(), S("div", uc, [
|
|
4100
4103
|
E("div", {
|
|
@@ -4144,7 +4147,7 @@ const Xu = ["placeholder"], Zu = {
|
|
|
4144
4147
|
emits: ["update:modelValue"],
|
|
4145
4148
|
setup(e) {
|
|
4146
4149
|
const t = e, n = Oe(e, "modelValue");
|
|
4147
|
-
|
|
4150
|
+
tt(() => {
|
|
4148
4151
|
n.value = n.value === t.trueValue ? t.trueValue : t.falseValue;
|
|
4149
4152
|
});
|
|
4150
4153
|
function r() {
|
|
@@ -4158,7 +4161,7 @@ const Xu = ["placeholder"], Zu = {
|
|
|
4158
4161
|
o[1] || (o[1] = E("div", { class: "s-switch-control-activearea" }, [
|
|
4159
4162
|
E("div", { class: "s-switch-control-activearea-button" })
|
|
4160
4163
|
], -1)),
|
|
4161
|
-
|
|
4164
|
+
yt(E("input", {
|
|
4162
4165
|
type: "checkbox",
|
|
4163
4166
|
"onUpdate:modelValue": o[0] || (o[0] = (s) => n.value = s)
|
|
4164
4167
|
}, null, 512), [
|
|
@@ -4171,7 +4174,7 @@ const Xu = ["placeholder"], Zu = {
|
|
|
4171
4174
|
], 2));
|
|
4172
4175
|
}
|
|
4173
4176
|
};
|
|
4174
|
-
var
|
|
4177
|
+
var ht = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
4175
4178
|
function bs(e) {
|
|
4176
4179
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4177
4180
|
}
|
|
@@ -4179,7 +4182,7 @@ var Ss = { exports: {} };
|
|
|
4179
4182
|
(function(e, t) {
|
|
4180
4183
|
(function(n, r) {
|
|
4181
4184
|
e.exports = r();
|
|
4182
|
-
})(
|
|
4185
|
+
})(ht, function() {
|
|
4183
4186
|
var n = 1e3, r = 6e4, a = 36e5, o = "millisecond", s = "second", i = "minute", l = "hour", u = "day", c = "week", f = "month", h = "quarter", b = "year", d = "date", m = "Invalid Date", g = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, w = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(C) {
|
|
4184
4187
|
var k = ["th", "st", "nd", "rd"], x = C % 100;
|
|
4185
4188
|
return "[" + C + (k[(x - 20) % 10] || k[x] || k[0]) + "]";
|
|
@@ -4277,8 +4280,8 @@ var Ss = { exports: {} };
|
|
|
4277
4280
|
case f:
|
|
4278
4281
|
return I ? Z(1, ue) : Z(0, ue + 1);
|
|
4279
4282
|
case c:
|
|
4280
|
-
var ze = this.$locale().weekStart || 0,
|
|
4281
|
-
return Z(I ? ve -
|
|
4283
|
+
var ze = this.$locale().weekStart || 0, ut = (oe < ze ? oe + 7 : oe) - ze;
|
|
4284
|
+
return Z(I ? ve - ut : ve + (6 - ut), ue);
|
|
4282
4285
|
case u:
|
|
4283
4286
|
case d:
|
|
4284
4287
|
return te(Xe + "Hours", 0);
|
|
@@ -4322,17 +4325,17 @@ var Ss = { exports: {} };
|
|
|
4322
4325
|
}, k.format = function(x) {
|
|
4323
4326
|
var N = this, O = this.$locale();
|
|
4324
4327
|
if (!this.isValid()) return O.invalidDate || m;
|
|
4325
|
-
var I = x || "YYYY-MM-DDTHH:mm:ssZ", U = A.z(this), Z = this.$H, te = this.$m, oe = this.$M, ue = O.weekdays, ve = O.months, Xe = O.meridiem, ze = function(ye, De,
|
|
4326
|
-
return ye && (ye[De] || ye(N, I)) ||
|
|
4327
|
-
},
|
|
4328
|
+
var I = x || "YYYY-MM-DDTHH:mm:ssZ", U = A.z(this), Z = this.$H, te = this.$m, oe = this.$M, ue = O.weekdays, ve = O.months, Xe = O.meridiem, ze = function(ye, De, ct, Tt) {
|
|
4329
|
+
return ye && (ye[De] || ye(N, I)) || ct[De].slice(0, Tt);
|
|
4330
|
+
}, ut = function(ye) {
|
|
4328
4331
|
return A.s(Z % 12 || 12, ye, "0");
|
|
4329
|
-
}, He = Xe || function(ye, De,
|
|
4332
|
+
}, He = Xe || function(ye, De, ct) {
|
|
4330
4333
|
var Tt = ye < 12 ? "AM" : "PM";
|
|
4331
|
-
return
|
|
4334
|
+
return ct ? Tt.toLowerCase() : Tt;
|
|
4332
4335
|
};
|
|
4333
4336
|
return I.replace(v, function(ye, De) {
|
|
4334
|
-
return De || function(
|
|
4335
|
-
switch (
|
|
4337
|
+
return De || function(ct) {
|
|
4338
|
+
switch (ct) {
|
|
4336
4339
|
case "YY":
|
|
4337
4340
|
return String(N.$y).slice(-2);
|
|
4338
4341
|
case "YYYY":
|
|
@@ -4362,9 +4365,9 @@ var Ss = { exports: {} };
|
|
|
4362
4365
|
case "HH":
|
|
4363
4366
|
return A.s(Z, 2, "0");
|
|
4364
4367
|
case "h":
|
|
4365
|
-
return
|
|
4368
|
+
return ut(1);
|
|
4366
4369
|
case "hh":
|
|
4367
|
-
return
|
|
4370
|
+
return ut(2);
|
|
4368
4371
|
case "a":
|
|
4369
4372
|
return He(Z, te, !0);
|
|
4370
4373
|
case "A":
|
|
@@ -4670,9 +4673,9 @@ function ws(e, t) {
|
|
|
4670
4673
|
const { toString: Ac } = Object.prototype, { getPrototypeOf: rr } = Object, { iterator: en, toStringTag: ks } = Symbol, tn = /* @__PURE__ */ ((e) => (t) => {
|
|
4671
4674
|
const n = Ac.call(t);
|
|
4672
4675
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
4673
|
-
})(/* @__PURE__ */ Object.create(null)), Pe = (e) => (e = e.toLowerCase(), (t) => tn(t) === e), nn = (e) => (t) => typeof t === e, { isArray:
|
|
4676
|
+
})(/* @__PURE__ */ Object.create(null)), Pe = (e) => (e = e.toLowerCase(), (t) => tn(t) === e), nn = (e) => (t) => typeof t === e, { isArray: it } = Array, rt = nn("undefined");
|
|
4674
4677
|
function At(e) {
|
|
4675
|
-
return e !== null && !
|
|
4678
|
+
return e !== null && !rt(e) && e.constructor !== null && !rt(e.constructor) && be(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
4676
4679
|
}
|
|
4677
4680
|
const xs = Pe("ArrayBuffer");
|
|
4678
4681
|
function Oc(e) {
|
|
@@ -4701,7 +4704,7 @@ function Et(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
4701
4704
|
if (e === null || typeof e == "undefined")
|
|
4702
4705
|
return;
|
|
4703
4706
|
let r, a;
|
|
4704
|
-
if (typeof e != "object" && (e = [e]),
|
|
4707
|
+
if (typeof e != "object" && (e = [e]), it(e))
|
|
4705
4708
|
for (r = 0, a = e.length; r < a; r++)
|
|
4706
4709
|
t.call(null, e[r], r, e);
|
|
4707
4710
|
else {
|
|
@@ -4724,11 +4727,11 @@ function As(e, t) {
|
|
|
4724
4727
|
return a;
|
|
4725
4728
|
return null;
|
|
4726
4729
|
}
|
|
4727
|
-
const We = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : global, Os = (e) => !
|
|
4730
|
+
const We = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : global, Os = (e) => !rt(e) && e !== We;
|
|
4728
4731
|
function jn() {
|
|
4729
4732
|
const { caseless: e, skipUndefined: t } = Os(this) && this || {}, n = {}, r = (a, o) => {
|
|
4730
4733
|
const s = e && As(n, o) || o;
|
|
4731
|
-
Dt(n[s]) && Dt(a) ? n[s] = jn(n[s], a) : Dt(a) ? n[s] = jn({}, a) :
|
|
4734
|
+
Dt(n[s]) && Dt(a) ? n[s] = jn(n[s], a) : Dt(a) ? n[s] = jn({}, a) : it(a) ? n[s] = a.slice() : (!t || !rt(a)) && (n[s] = a);
|
|
4732
4735
|
};
|
|
4733
4736
|
for (let a = 0, o = arguments.length; a < o; a++)
|
|
4734
4737
|
arguments[a] && Et(arguments[a], r);
|
|
@@ -4756,7 +4759,7 @@ const zc = (e, t, n, { allOwnKeys: r } = {}) => (Et(t, (a, o) => {
|
|
|
4756
4759
|
return r !== -1 && r === n;
|
|
4757
4760
|
}, qc = (e) => {
|
|
4758
4761
|
if (!e) return null;
|
|
4759
|
-
if (
|
|
4762
|
+
if (it(e)) return e;
|
|
4760
4763
|
let t = e.length;
|
|
4761
4764
|
if (!$s(t)) return null;
|
|
4762
4765
|
const n = new Array(t);
|
|
@@ -4808,7 +4811,7 @@ const zc = (e, t, n, { allOwnKeys: r } = {}) => (Et(t, (a, o) => {
|
|
|
4808
4811
|
n[o] = !0;
|
|
4809
4812
|
});
|
|
4810
4813
|
};
|
|
4811
|
-
return
|
|
4814
|
+
return it(e) ? r(e) : r(String(e).split(t)), n;
|
|
4812
4815
|
}, nf = () => {
|
|
4813
4816
|
}, rf = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
4814
4817
|
function af(e) {
|
|
@@ -4823,10 +4826,10 @@ const sf = (e) => {
|
|
|
4823
4826
|
return r;
|
|
4824
4827
|
if (!("toJSON" in r)) {
|
|
4825
4828
|
t[a] = r;
|
|
4826
|
-
const o =
|
|
4829
|
+
const o = it(r) ? [] : {};
|
|
4827
4830
|
return Et(r, (s, i) => {
|
|
4828
4831
|
const l = n(s, a + 1);
|
|
4829
|
-
!
|
|
4832
|
+
!rt(l) && (o[i] = l);
|
|
4830
4833
|
}), t[a] = void 0, o;
|
|
4831
4834
|
}
|
|
4832
4835
|
}
|
|
@@ -4841,7 +4844,7 @@ const sf = (e) => {
|
|
|
4841
4844
|
typeof setImmediate == "function",
|
|
4842
4845
|
be(We.postMessage)
|
|
4843
4846
|
), uf = typeof queueMicrotask != "undefined" ? queueMicrotask.bind(We) : typeof process != "undefined" && process.nextTick || _s, cf = (e) => e != null && be(e[en]), y = {
|
|
4844
|
-
isArray:
|
|
4847
|
+
isArray: it,
|
|
4845
4848
|
isArrayBuffer: xs,
|
|
4846
4849
|
isBuffer: At,
|
|
4847
4850
|
isFormData: Rc,
|
|
@@ -4856,7 +4859,7 @@ const sf = (e) => {
|
|
|
4856
4859
|
isRequest: Dc,
|
|
4857
4860
|
isResponse: Lc,
|
|
4858
4861
|
isHeaders: Bc,
|
|
4859
|
-
isUndefined:
|
|
4862
|
+
isUndefined: rt,
|
|
4860
4863
|
isDate: Cc,
|
|
4861
4864
|
isFile: Pc,
|
|
4862
4865
|
isBlob: Nc,
|
|
@@ -5298,7 +5301,7 @@ const Ef = y.toObjectSet([
|
|
|
5298
5301
|
a = s.indexOf(":"), n = s.substring(0, a).trim().toLowerCase(), r = s.substring(a + 1).trim(), !(!n || t[n] && Ef[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
5299
5302
|
}), t;
|
|
5300
5303
|
}, Hr = Symbol("internals");
|
|
5301
|
-
function
|
|
5304
|
+
function ft(e) {
|
|
5302
5305
|
return e && String(e).trim().toLowerCase();
|
|
5303
5306
|
}
|
|
5304
5307
|
function Lt(e) {
|
|
@@ -5343,7 +5346,7 @@ let Se = class {
|
|
|
5343
5346
|
set(t, n, r) {
|
|
5344
5347
|
const a = this;
|
|
5345
5348
|
function o(i, l, u) {
|
|
5346
|
-
const c =
|
|
5349
|
+
const c = ft(l);
|
|
5347
5350
|
if (!c)
|
|
5348
5351
|
throw new Error("header name must be a non-empty string");
|
|
5349
5352
|
const f = y.findKey(a, c);
|
|
@@ -5367,7 +5370,7 @@ let Se = class {
|
|
|
5367
5370
|
return this;
|
|
5368
5371
|
}
|
|
5369
5372
|
get(t, n) {
|
|
5370
|
-
if (t =
|
|
5373
|
+
if (t = ft(t), t) {
|
|
5371
5374
|
const r = y.findKey(this, t);
|
|
5372
5375
|
if (r) {
|
|
5373
5376
|
const a = this[r];
|
|
@@ -5384,7 +5387,7 @@ let Se = class {
|
|
|
5384
5387
|
}
|
|
5385
5388
|
}
|
|
5386
5389
|
has(t, n) {
|
|
5387
|
-
if (t =
|
|
5390
|
+
if (t = ft(t), t) {
|
|
5388
5391
|
const r = y.findKey(this, t);
|
|
5389
5392
|
return !!(r && this[r] !== void 0 && (!n || mn(this, this[r], r, n)));
|
|
5390
5393
|
}
|
|
@@ -5394,7 +5397,7 @@ let Se = class {
|
|
|
5394
5397
|
const r = this;
|
|
5395
5398
|
let a = !1;
|
|
5396
5399
|
function o(s) {
|
|
5397
|
-
if (s =
|
|
5400
|
+
if (s = ft(s), s) {
|
|
5398
5401
|
const i = y.findKey(r, s);
|
|
5399
5402
|
i && (!n || mn(r, r[i], i, n)) && (delete r[i], a = !0);
|
|
5400
5403
|
}
|
|
@@ -5456,7 +5459,7 @@ let Se = class {
|
|
|
5456
5459
|
accessors: {}
|
|
5457
5460
|
}).accessors, a = this.prototype;
|
|
5458
5461
|
function o(s) {
|
|
5459
|
-
const i =
|
|
5462
|
+
const i = ft(s);
|
|
5460
5463
|
r[i] || (Nf(a, s), r[i] = !0);
|
|
5461
5464
|
}
|
|
5462
5465
|
return y.isArray(t) ? t.forEach(o) : o(t), this;
|
|
@@ -5483,10 +5486,10 @@ function hn(e, t) {
|
|
|
5483
5486
|
function Ms(e) {
|
|
5484
5487
|
return !!(e && e.__CANCEL__);
|
|
5485
5488
|
}
|
|
5486
|
-
function
|
|
5489
|
+
function lt(e, t, n) {
|
|
5487
5490
|
Y.call(this, e == null ? "canceled" : e, Y.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
5488
5491
|
}
|
|
5489
|
-
y.inherits(
|
|
5492
|
+
y.inherits(lt, Y, {
|
|
5490
5493
|
__CANCEL__: !0
|
|
5491
5494
|
});
|
|
5492
5495
|
function js(e, t, n) {
|
|
@@ -5734,7 +5737,7 @@ const Ls = (e) => {
|
|
|
5734
5737
|
}, o === void 0 && s.setContentType(null), "setRequestHeader" in g && y.forEach(s.toJSON(), function(W, H) {
|
|
5735
5738
|
g.setRequestHeader(H, W);
|
|
5736
5739
|
}), y.isUndefined(a.withCredentials) || (g.withCredentials = !!a.withCredentials), i && i !== "json" && (g.responseType = a.responseType), u && ([h, d] = Yt(u, !0), g.addEventListener("progress", h)), l && g.upload && ([f, b] = Yt(l), g.upload.addEventListener("progress", f), g.upload.addEventListener("loadend", b)), (a.cancelToken || a.signal) && (c = (P) => {
|
|
5737
|
-
g && (r(!P || P.type ? new
|
|
5740
|
+
g && (r(!P || P.type ? new lt(null, e, g) : P), g.abort(), g = null);
|
|
5738
5741
|
}, a.cancelToken && a.cancelToken.subscribe(c), a.signal && (a.signal.aborted ? c() : a.signal.addEventListener("abort", c)));
|
|
5739
5742
|
const w = If(a.url);
|
|
5740
5743
|
if (w && pe.protocols.indexOf(w) === -1) {
|
|
@@ -5751,7 +5754,7 @@ const Ls = (e) => {
|
|
|
5751
5754
|
if (!a) {
|
|
5752
5755
|
a = !0, i();
|
|
5753
5756
|
const c = u instanceof Error ? u : this.reason;
|
|
5754
|
-
r.abort(c instanceof Y ? c : new
|
|
5757
|
+
r.abort(c instanceof Y ? c : new lt(c instanceof Error ? c.message : c));
|
|
5755
5758
|
}
|
|
5756
5759
|
};
|
|
5757
5760
|
let s = t && setTimeout(() => {
|
|
@@ -6039,7 +6042,7 @@ const Us = {
|
|
|
6039
6042
|
};
|
|
6040
6043
|
function pn(e) {
|
|
6041
6044
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
6042
|
-
throw new
|
|
6045
|
+
throw new lt(null, e);
|
|
6043
6046
|
}
|
|
6044
6047
|
function Qr(e) {
|
|
6045
6048
|
return pn(e), e.headers = Se.from(e.headers), e.data = hn.call(
|
|
@@ -6256,7 +6259,7 @@ let Zf = class Hs {
|
|
|
6256
6259
|
r.unsubscribe(o);
|
|
6257
6260
|
}, s;
|
|
6258
6261
|
}, t(function(o, s, i) {
|
|
6259
|
-
r.reason || (r.reason = new
|
|
6262
|
+
r.reason || (r.reason = new lt(o, s, i), n(r.reason));
|
|
6260
6263
|
});
|
|
6261
6264
|
}
|
|
6262
6265
|
/**
|
|
@@ -6395,7 +6398,7 @@ function Vs(e) {
|
|
|
6395
6398
|
}
|
|
6396
6399
|
const fe = Vs(_t);
|
|
6397
6400
|
fe.Axios = Ye;
|
|
6398
|
-
fe.CanceledError =
|
|
6401
|
+
fe.CanceledError = lt;
|
|
6399
6402
|
fe.CancelToken = Zf;
|
|
6400
6403
|
fe.isCancel = Ms;
|
|
6401
6404
|
fe.VERSION = zs;
|
|
@@ -6414,22 +6417,22 @@ fe.getAdapter = Us.getAdapter;
|
|
|
6414
6417
|
fe.HttpStatusCode = Bn;
|
|
6415
6418
|
fe.default = fe;
|
|
6416
6419
|
const {
|
|
6417
|
-
Axios:
|
|
6418
|
-
AxiosError:
|
|
6419
|
-
CanceledError:
|
|
6420
|
-
isCancel:
|
|
6421
|
-
CancelToken:
|
|
6422
|
-
VERSION:
|
|
6423
|
-
all:
|
|
6424
|
-
Cancel:
|
|
6425
|
-
isAxiosError:
|
|
6426
|
-
spread:
|
|
6427
|
-
toFormData:
|
|
6428
|
-
AxiosHeaders:
|
|
6429
|
-
HttpStatusCode:
|
|
6430
|
-
formToJSON:
|
|
6431
|
-
getAdapter:
|
|
6432
|
-
mergeConfig:
|
|
6420
|
+
Axios: ep,
|
|
6421
|
+
AxiosError: tp,
|
|
6422
|
+
CanceledError: np,
|
|
6423
|
+
isCancel: rp,
|
|
6424
|
+
CancelToken: ap,
|
|
6425
|
+
VERSION: sp,
|
|
6426
|
+
all: op,
|
|
6427
|
+
Cancel: ip,
|
|
6428
|
+
isAxiosError: lp,
|
|
6429
|
+
spread: up,
|
|
6430
|
+
toFormData: cp,
|
|
6431
|
+
AxiosHeaders: fp,
|
|
6432
|
+
HttpStatusCode: dp,
|
|
6433
|
+
formToJSON: mp,
|
|
6434
|
+
getAdapter: hp,
|
|
6435
|
+
mergeConfig: pp
|
|
6433
6436
|
} = fe, td = { class: "s-htmleditor" }, nd = {
|
|
6434
6437
|
__name: "SHtmlEditor",
|
|
6435
6438
|
props: /* @__PURE__ */ ie({
|
|
@@ -6448,8 +6451,7 @@ const {
|
|
|
6448
6451
|
placeholder: r.placeholder || "",
|
|
6449
6452
|
menubar: !1,
|
|
6450
6453
|
body_class: "g-html",
|
|
6451
|
-
block_formats: `
|
|
6452
|
-
Обычный текст=p;
|
|
6454
|
+
block_formats: ` Обычный текст=p;
|
|
6453
6455
|
Заголовок 1=h1;
|
|
6454
6456
|
Заголовок 2=h2;
|
|
6455
6457
|
Заголовок 3=h3;
|
|
@@ -6461,8 +6463,7 @@ const {
|
|
|
6461
6463
|
Успех=success;
|
|
6462
6464
|
Ошибка=error;`,
|
|
6463
6465
|
// TODO Вынести в отдельный файл
|
|
6464
|
-
content_style: `
|
|
6465
|
-
.g-html {
|
|
6466
|
+
content_style: ` .g-html {
|
|
6466
6467
|
line-height: 1.8;
|
|
6467
6468
|
}
|
|
6468
6469
|
.g-html img,
|
|
@@ -6826,17 +6827,17 @@ const {
|
|
|
6826
6827
|
m[0] || (m[0] = le("Выберите файл ", -1))
|
|
6827
6828
|
]),
|
|
6828
6829
|
_: 1
|
|
6829
|
-
}))
|
|
6830
|
-
E("input", {
|
|
6831
|
-
ref_key: "fileInput",
|
|
6832
|
-
ref: s,
|
|
6833
|
-
class: "s-upload-hiddeninput",
|
|
6834
|
-
type: "file",
|
|
6835
|
-
multiple: e.multiple,
|
|
6836
|
-
accept: e.accept,
|
|
6837
|
-
onChange: u
|
|
6838
|
-
}, null, 40, sd)
|
|
6830
|
+
}))
|
|
6839
6831
|
]),
|
|
6832
|
+
E("input", {
|
|
6833
|
+
ref_key: "fileInput",
|
|
6834
|
+
ref: s,
|
|
6835
|
+
class: "s-upload-hiddeninput",
|
|
6836
|
+
type: "file",
|
|
6837
|
+
multiple: e.multiple,
|
|
6838
|
+
accept: e.accept,
|
|
6839
|
+
onChange: u
|
|
6840
|
+
}, null, 40, sd),
|
|
6840
6841
|
l.value.length ? (p(), S("div", od, [
|
|
6841
6842
|
d.$slots.preview ? F(d.$slots, "preview", {
|
|
6842
6843
|
key: 0,
|
|
@@ -6862,7 +6863,7 @@ function ld(e) {
|
|
|
6862
6863
|
var t = typeof e;
|
|
6863
6864
|
return e != null && (t == "object" || t == "function");
|
|
6864
6865
|
}
|
|
6865
|
-
var Ws = ld, ud = typeof
|
|
6866
|
+
var Ws = ld, ud = typeof ht == "object" && ht && ht.Object === Object && ht, cd = ud, fd = cd, dd = typeof self == "object" && self && self.Object === Object && self, md = fd || dd || Function("return this")(), Ys = md, hd = Ys, pd = function() {
|
|
6866
6867
|
return hd.Date.now();
|
|
6867
6868
|
}, vd = pd, gd = /\s/;
|
|
6868
6869
|
function yd(e) {
|
|
@@ -6874,16 +6875,16 @@ var bd = yd, Sd = bd, wd = /^\s+/;
|
|
|
6874
6875
|
function kd(e) {
|
|
6875
6876
|
return e && e.slice(0, Sd(e) + 1).replace(wd, "");
|
|
6876
6877
|
}
|
|
6877
|
-
var xd = kd, $d = Ys, Ad = $d.Symbol, qs = Ad, ta = qs, Js = Object.prototype, Od = Js.hasOwnProperty, Ed = Js.toString,
|
|
6878
|
+
var xd = kd, $d = Ys, Ad = $d.Symbol, qs = Ad, ta = qs, Js = Object.prototype, Od = Js.hasOwnProperty, Ed = Js.toString, dt = ta ? ta.toStringTag : void 0;
|
|
6878
6879
|
function _d(e) {
|
|
6879
|
-
var t = Od.call(e,
|
|
6880
|
+
var t = Od.call(e, dt), n = e[dt];
|
|
6880
6881
|
try {
|
|
6881
|
-
e[
|
|
6882
|
+
e[dt] = void 0;
|
|
6882
6883
|
var r = !0;
|
|
6883
6884
|
} catch {
|
|
6884
6885
|
}
|
|
6885
6886
|
var a = Ed.call(e);
|
|
6886
|
-
return r && (t ? e[
|
|
6887
|
+
return r && (t ? e[dt] = n : delete e[dt]), a;
|
|
6887
6888
|
}
|
|
6888
6889
|
var Td = _d, Cd = Object.prototype, Pd = Cd.toString;
|
|
6889
6890
|
function Nd(e) {
|
|
@@ -7016,26 +7017,26 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
|
|
|
7016
7017
|
const i = new URLSearchParams(window.location.search);
|
|
7017
7018
|
return Object.fromEntries(i.entries());
|
|
7018
7019
|
}
|
|
7019
|
-
Fe("params", n),
|
|
7020
|
+
Fe("params", n), tt(() => {
|
|
7020
7021
|
t.bindToGet ? n.value = { ...a() } : n.value = r.value;
|
|
7021
7022
|
});
|
|
7022
7023
|
const o = (i) => {
|
|
7023
|
-
|
|
7024
|
-
([u, c]) => !["", null, void 0, !1].includes(c) && u !== "page"
|
|
7025
|
-
));
|
|
7026
|
-
zn.get(window.location.pathname, new URLSearchParams(l), {
|
|
7024
|
+
zn.get(window.location.pathname, new URLSearchParams(i), {
|
|
7027
7025
|
preserveScroll: !0,
|
|
7028
7026
|
preserveState: !0,
|
|
7029
7027
|
replace: !0
|
|
7030
7028
|
});
|
|
7031
7029
|
};
|
|
7032
7030
|
we(n, (i) => {
|
|
7033
|
-
|
|
7031
|
+
const l = Object.fromEntries(Object.entries(i).filter(
|
|
7032
|
+
([u, c]) => !["", null, void 0, !1].includes(c) && u !== "page"
|
|
7033
|
+
));
|
|
7034
|
+
t.bindToGet && o(l), r.value = { ...l };
|
|
7034
7035
|
}, { deep: !0 });
|
|
7035
7036
|
const s = () => {
|
|
7036
7037
|
n.value = { ...a() };
|
|
7037
7038
|
};
|
|
7038
|
-
return t.bindToGet && (
|
|
7039
|
+
return t.bindToGet && (tt(() => window.addEventListener("popstate", s)), fa(() => window.removeEventListener("popstate", s))), (i, l) => (p(), S("div", cm, [
|
|
7039
7040
|
F(i.$slots, "default")
|
|
7040
7041
|
]));
|
|
7041
7042
|
}
|
|
@@ -7352,7 +7353,7 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
|
|
|
7352
7353
|
}
|
|
7353
7354
|
}, o = K({}), s = Te("$dialog"), i = Te("$header"), { x: l, y: u, style: c } = Hn(s, { handle: i });
|
|
7354
7355
|
function f(d, m) {
|
|
7355
|
-
r.value = d, o.value = { ...a, ...m }, n.value = !0,
|
|
7356
|
+
r.value = d, o.value = { ...a, ...m }, n.value = !0, st(() => {
|
|
7356
7357
|
var v;
|
|
7357
7358
|
const g = (v = s.value) == null ? void 0 : v.getBoundingClientRect();
|
|
7358
7359
|
g && (l.value = window.innerWidth / 2 - g.width / 2, u.value = window.innerHeight / 2 - g.height / 2);
|
|
@@ -7477,7 +7478,7 @@ const Ks = {
|
|
|
7477
7478
|
setup(e) {
|
|
7478
7479
|
const t = e, n = K(!1), r = Te("$tooltip"), a = Te("$icon"), o = K({}), s = K(null);
|
|
7479
7480
|
function i() {
|
|
7480
|
-
n.value || (n.value = !0,
|
|
7481
|
+
n.value || (n.value = !0, st(() => c()), document.addEventListener("mousemove", u), document.addEventListener("touchstart", u));
|
|
7481
7482
|
}
|
|
7482
7483
|
function l() {
|
|
7483
7484
|
document.removeEventListener("mousemove", u), document.removeEventListener("touchstart", u), n.value = !1;
|
|
@@ -7549,7 +7550,7 @@ const Ks = {
|
|
|
7549
7550
|
}, jm = {
|
|
7550
7551
|
key: 1,
|
|
7551
7552
|
class: "s-note-title"
|
|
7552
|
-
}, Dm = {
|
|
7553
|
+
}, Dm = { class: "s-note-content" }, Lm = {
|
|
7553
7554
|
__name: "SNote",
|
|
7554
7555
|
props: {
|
|
7555
7556
|
icon: String,
|
|
@@ -7568,10 +7569,12 @@ const Ks = {
|
|
|
7568
7569
|
icon: e.icon
|
|
7569
7570
|
}, null, 8, ["icon"])) : B("", !0),
|
|
7570
7571
|
e.title ? (p(), S("div", jm, G(e.title), 1)) : B("", !0),
|
|
7571
|
-
|
|
7572
|
+
E("div", Dm, [
|
|
7573
|
+
F(t.$slots, "default")
|
|
7574
|
+
])
|
|
7572
7575
|
], 2));
|
|
7573
7576
|
}
|
|
7574
|
-
},
|
|
7577
|
+
}, Bm = { class: "s-toggle-body" }, Um = /* @__PURE__ */ at({
|
|
7575
7578
|
__name: "SToggle",
|
|
7576
7579
|
props: {
|
|
7577
7580
|
title: String,
|
|
@@ -7596,7 +7599,7 @@ const Ks = {
|
|
|
7596
7599
|
}
|
|
7597
7600
|
a.value = !a.value;
|
|
7598
7601
|
}
|
|
7599
|
-
return
|
|
7602
|
+
return tt(() => {
|
|
7600
7603
|
t.opened && o && (o.value = r);
|
|
7601
7604
|
}), o && we(o, (l, u) => {
|
|
7602
7605
|
a.value = l === r && l !== u;
|
|
@@ -7614,23 +7617,23 @@ const Ks = {
|
|
|
7614
7617
|
icon: a.value ? "chevron-up" : "chevron-down"
|
|
7615
7618
|
}, null, 8, ["icon"])
|
|
7616
7619
|
]),
|
|
7617
|
-
E("div",
|
|
7620
|
+
E("div", Bm, [
|
|
7618
7621
|
F(l.$slots, "default")
|
|
7619
7622
|
])
|
|
7620
7623
|
], 2));
|
|
7621
7624
|
}
|
|
7622
|
-
}),
|
|
7625
|
+
}), zm = { class: "s-togglegroup" }, Hm = {
|
|
7623
7626
|
__name: "SToggleGroup",
|
|
7624
7627
|
props: {
|
|
7625
7628
|
multiple: Boolean
|
|
7626
7629
|
},
|
|
7627
7630
|
setup(e) {
|
|
7628
7631
|
const t = e, n = K(null), r = V(() => t.multiple);
|
|
7629
|
-
return Fe("openedItem", n), Fe("isMultiple", r), (a, o) => (p(), S("div",
|
|
7632
|
+
return Fe("openedItem", n), Fe("isMultiple", r), (a, o) => (p(), S("div", zm, [
|
|
7630
7633
|
F(a.$slots, "default")
|
|
7631
7634
|
]));
|
|
7632
7635
|
}
|
|
7633
|
-
},
|
|
7636
|
+
}, Vm = { class: "s-dialog" }, Wm = { class: "s-dialog-window-body" }, Ym = {
|
|
7634
7637
|
__name: "SDialog",
|
|
7635
7638
|
props: /* @__PURE__ */ ie({
|
|
7636
7639
|
title: String,
|
|
@@ -7651,7 +7654,7 @@ const Ks = {
|
|
|
7651
7654
|
window.removeEventListener("resize", c);
|
|
7652
7655
|
return;
|
|
7653
7656
|
}
|
|
7654
|
-
window.addEventListener("resize", c), c(),
|
|
7657
|
+
window.addEventListener("resize", c), c(), st(() => {
|
|
7655
7658
|
c();
|
|
7656
7659
|
});
|
|
7657
7660
|
};
|
|
@@ -7667,7 +7670,7 @@ const Ks = {
|
|
|
7667
7670
|
key: 0,
|
|
7668
7671
|
to: "body"
|
|
7669
7672
|
}, [
|
|
7670
|
-
E("div",
|
|
7673
|
+
E("div", Vm, [
|
|
7671
7674
|
E("div", {
|
|
7672
7675
|
ref_key: "$window",
|
|
7673
7676
|
ref: o,
|
|
@@ -7685,7 +7688,7 @@ const Ks = {
|
|
|
7685
7688
|
onClick: b
|
|
7686
7689
|
})
|
|
7687
7690
|
], 512),
|
|
7688
|
-
E("div",
|
|
7691
|
+
E("div", Wm, [
|
|
7689
7692
|
F(d.$slots, "default")
|
|
7690
7693
|
])
|
|
7691
7694
|
], 4),
|
|
@@ -7698,7 +7701,7 @@ const Ks = {
|
|
|
7698
7701
|
])) : B("", !0)
|
|
7699
7702
|
]));
|
|
7700
7703
|
}
|
|
7701
|
-
},
|
|
7704
|
+
}, qm = ["src"], Jm = { class: "s-imagepreview-icon" }, Km = ["src"], Gm = {
|
|
7702
7705
|
__name: "SImagePreview",
|
|
7703
7706
|
props: {
|
|
7704
7707
|
src: String,
|
|
@@ -7727,7 +7730,7 @@ const Ks = {
|
|
|
7727
7730
|
window.removeEventListener("resize", l);
|
|
7728
7731
|
return;
|
|
7729
7732
|
}
|
|
7730
|
-
window.addEventListener("resize", l),
|
|
7733
|
+
window.addEventListener("resize", l), st(() => {
|
|
7731
7734
|
l();
|
|
7732
7735
|
});
|
|
7733
7736
|
}), (c, f) => (p(), S("div", {
|
|
@@ -7739,10 +7742,10 @@ const Ks = {
|
|
|
7739
7742
|
return [
|
|
7740
7743
|
E("img", {
|
|
7741
7744
|
src: (h = e.preview) != null ? h : e.src
|
|
7742
|
-
}, null, 8,
|
|
7745
|
+
}, null, 8, qm)
|
|
7743
7746
|
];
|
|
7744
7747
|
}),
|
|
7745
|
-
E("div",
|
|
7748
|
+
E("div", Jm, [
|
|
7746
7749
|
F(c.$slots, "icon", {}, () => [
|
|
7747
7750
|
Q(R(re), { icon: "magnifying-glass-plus" })
|
|
7748
7751
|
])
|
|
@@ -7757,7 +7760,7 @@ const Ks = {
|
|
|
7757
7760
|
ref: r,
|
|
7758
7761
|
style: ge([R(i)])
|
|
7759
7762
|
}, [
|
|
7760
|
-
E("img", { src: e.src }, null, 8,
|
|
7763
|
+
E("img", { src: e.src }, null, 8, Km)
|
|
7761
7764
|
], 4),
|
|
7762
7765
|
E("div", {
|
|
7763
7766
|
class: "s-imagepreview-closeicon",
|
|
@@ -7772,7 +7775,7 @@ const Ks = {
|
|
|
7772
7775
|
])) : B("", !0)
|
|
7773
7776
|
]));
|
|
7774
7777
|
}
|
|
7775
|
-
},
|
|
7778
|
+
}, Xm = ["innerHTML"], Zm = {
|
|
7776
7779
|
__name: "SAlert",
|
|
7777
7780
|
setup(e, { expose: t }) {
|
|
7778
7781
|
const n = K(null), r = K(!1), a = K("type_info");
|
|
@@ -7791,7 +7794,7 @@ const Ks = {
|
|
|
7791
7794
|
class: z(["s-alert", [a.value]]),
|
|
7792
7795
|
innerHTML: n.value,
|
|
7793
7796
|
onClick: f[0] || (f[0] = (h) => r.value = !1)
|
|
7794
|
-
}, null, 10,
|
|
7797
|
+
}, null, 10, Xm)) : B("", !0)
|
|
7795
7798
|
]),
|
|
7796
7799
|
_: 1
|
|
7797
7800
|
})
|
|
@@ -7801,10 +7804,10 @@ const Ks = {
|
|
|
7801
7804
|
let Ft;
|
|
7802
7805
|
function gn() {
|
|
7803
7806
|
if (Ft) return Ft;
|
|
7804
|
-
const e = document.createElement("div"), t = Q(
|
|
7807
|
+
const e = document.createElement("div"), t = Q(Zm);
|
|
7805
7808
|
return da(t, e), document.body.appendChild(e.firstChild), Ft = t.component.exposed, Ft;
|
|
7806
7809
|
}
|
|
7807
|
-
const
|
|
7810
|
+
const Qm = {
|
|
7808
7811
|
success(e, t = {}) {
|
|
7809
7812
|
return gn().success(e, t);
|
|
7810
7813
|
},
|
|
@@ -7814,7 +7817,7 @@ const Zm = {
|
|
|
7814
7817
|
info(e, t = {}) {
|
|
7815
7818
|
return gn().info(e, t);
|
|
7816
7819
|
}
|
|
7817
|
-
},
|
|
7820
|
+
}, eh = /* @__PURE__ */ at({
|
|
7818
7821
|
__name: "STag",
|
|
7819
7822
|
props: {
|
|
7820
7823
|
color: {}
|
|
@@ -7826,7 +7829,7 @@ const Zm = {
|
|
|
7826
7829
|
F(t.$slots, "default")
|
|
7827
7830
|
], 2));
|
|
7828
7831
|
}
|
|
7829
|
-
}),
|
|
7832
|
+
}), th = /* @__PURE__ */ at({
|
|
7830
7833
|
__name: "SStatus",
|
|
7831
7834
|
props: {
|
|
7832
7835
|
color: {},
|
|
@@ -7844,18 +7847,18 @@ const Zm = {
|
|
|
7844
7847
|
F(t.$slots, "default")
|
|
7845
7848
|
], 2));
|
|
7846
7849
|
}
|
|
7847
|
-
}),
|
|
7850
|
+
}), nh = { class: "s-actionbar" }, rh = /* @__PURE__ */ Object.assign({
|
|
7848
7851
|
name: "SActionBar"
|
|
7849
7852
|
}, {
|
|
7850
7853
|
__name: "SActionBar",
|
|
7851
7854
|
setup(e) {
|
|
7852
7855
|
return (t, n) => (p(), ae(Ge, { to: "body" }, [
|
|
7853
|
-
E("div",
|
|
7856
|
+
E("div", nh, [
|
|
7854
7857
|
F(t.$slots, "default")
|
|
7855
7858
|
])
|
|
7856
7859
|
]));
|
|
7857
7860
|
}
|
|
7858
|
-
}),
|
|
7861
|
+
}), ah = { class: "s-progressbar" }, sh = { class: "s-progressbar-title" }, oh = { class: "s-progressbar-bar" }, ih = {
|
|
7859
7862
|
__name: "SProgressbar",
|
|
7860
7863
|
props: {
|
|
7861
7864
|
label: String,
|
|
@@ -7863,11 +7866,11 @@ const Zm = {
|
|
|
7863
7866
|
},
|
|
7864
7867
|
setup(e) {
|
|
7865
7868
|
const t = e, n = V(() => t.percentage < 5 ? "right" : "left");
|
|
7866
|
-
return (r, a) => (p(), S("div",
|
|
7867
|
-
E("div",
|
|
7869
|
+
return (r, a) => (p(), S("div", ah, [
|
|
7870
|
+
E("div", sh, [
|
|
7868
7871
|
F(r.$slots, "default")
|
|
7869
7872
|
]),
|
|
7870
|
-
E("div",
|
|
7873
|
+
E("div", oh, [
|
|
7871
7874
|
E("div", {
|
|
7872
7875
|
class: "s-progressbar-completed",
|
|
7873
7876
|
style: ge({ width: e.percentage + "%" })
|
|
@@ -7879,10 +7882,10 @@ const Zm = {
|
|
|
7879
7882
|
])
|
|
7880
7883
|
]));
|
|
7881
7884
|
}
|
|
7882
|
-
},
|
|
7885
|
+
}, lh = { class: "s-copytext-text" }, uh = {
|
|
7883
7886
|
key: 1,
|
|
7884
7887
|
class: "s-copytext layout_input"
|
|
7885
|
-
},
|
|
7888
|
+
}, ch = { class: "s-copytext-text" }, fh = {
|
|
7886
7889
|
__name: "SCopyText",
|
|
7887
7890
|
props: {
|
|
7888
7891
|
href: String,
|
|
@@ -7910,15 +7913,15 @@ const Zm = {
|
|
|
7910
7913
|
return R(n)((u = e.copytext) != null ? u : o.value);
|
|
7911
7914
|
})
|
|
7912
7915
|
}, [
|
|
7913
|
-
E("div",
|
|
7916
|
+
E("div", lh, [
|
|
7914
7917
|
F(s.$slots, "default")
|
|
7915
7918
|
]),
|
|
7916
7919
|
R(a) ? (p(), ae(R(re), {
|
|
7917
7920
|
key: 0,
|
|
7918
7921
|
icon: R(r) ? "check" : "copy"
|
|
7919
7922
|
}, null, 8, ["icon"])) : B("", !0)
|
|
7920
|
-
], 2)) : (p(), S("div",
|
|
7921
|
-
E("div",
|
|
7923
|
+
], 2)) : (p(), S("div", uh, [
|
|
7924
|
+
E("div", ch, [
|
|
7922
7925
|
F(s.$slots, "default")
|
|
7923
7926
|
]),
|
|
7924
7927
|
R(a) ? (p(), ae(R(re), {
|
|
@@ -7933,7 +7936,7 @@ const Zm = {
|
|
|
7933
7936
|
}, null, 8, ["icon", "class"])) : B("", !0)
|
|
7934
7937
|
]));
|
|
7935
7938
|
}
|
|
7936
|
-
},
|
|
7939
|
+
}, dh = { class: "s-timeline" }, mh = { class: "s-timeline-item" }, hh = {
|
|
7937
7940
|
__name: "STimeline",
|
|
7938
7941
|
props: {
|
|
7939
7942
|
items: Array,
|
|
@@ -7947,7 +7950,7 @@ const Zm = {
|
|
|
7947
7950
|
function n(r, a) {
|
|
7948
7951
|
return typeof t.keyBy == "function" ? t.keyBy(r, a) : typeof t.keyBy == "string" && r && t.keyBy in r ? r[t.keyBy] : a;
|
|
7949
7952
|
}
|
|
7950
|
-
return (r, a) => (p(), S("div",
|
|
7953
|
+
return (r, a) => (p(), S("div", dh, [
|
|
7951
7954
|
(p(!0), S(ee, null, de(e.items, (o, s) => (p(), S("div", {
|
|
7952
7955
|
class: "s-timeline-row",
|
|
7953
7956
|
key: n(o, s)
|
|
@@ -7956,7 +7959,7 @@ const Zm = {
|
|
|
7956
7959
|
E("div", { class: "s-timeline-decorator-marker" }),
|
|
7957
7960
|
E("div", { class: "s-timeline-decorator-line" })
|
|
7958
7961
|
], -1)),
|
|
7959
|
-
E("div",
|
|
7962
|
+
E("div", mh, [
|
|
7960
7963
|
F(r.$slots, "item", {
|
|
7961
7964
|
item: o,
|
|
7962
7965
|
index: s
|
|
@@ -7967,22 +7970,22 @@ const Zm = {
|
|
|
7967
7970
|
]))), 128))
|
|
7968
7971
|
]));
|
|
7969
7972
|
}
|
|
7970
|
-
},
|
|
7973
|
+
}, ph = { class: "s-dashboard" }, vh = /* @__PURE__ */ Object.assign({
|
|
7971
7974
|
name: "SDashboard"
|
|
7972
7975
|
}, {
|
|
7973
7976
|
__name: "SDashboard",
|
|
7974
7977
|
setup(e) {
|
|
7975
|
-
return (t, n) => (p(), S("div",
|
|
7978
|
+
return (t, n) => (p(), S("div", ph, [
|
|
7976
7979
|
F(t.$slots, "default")
|
|
7977
7980
|
]));
|
|
7978
7981
|
}
|
|
7979
|
-
}),
|
|
7982
|
+
}), gh = {
|
|
7980
7983
|
key: 0,
|
|
7981
7984
|
class: "s-dashboard-item-header"
|
|
7982
|
-
},
|
|
7985
|
+
}, yh = { class: "s-dashboard-item-title" }, bh = {
|
|
7983
7986
|
key: 0,
|
|
7984
7987
|
class: "s-dashboard-item-extra"
|
|
7985
|
-
},
|
|
7988
|
+
}, Sh = {
|
|
7986
7989
|
__name: "SDashboardItem",
|
|
7987
7990
|
props: {
|
|
7988
7991
|
title: String,
|
|
@@ -7996,13 +7999,13 @@ const Zm = {
|
|
|
7996
7999
|
return (r, a) => (p(), S("div", {
|
|
7997
8000
|
class: z(["s-dashboard-item", { gray: e.gray, green: e.green, red: e.red }])
|
|
7998
8001
|
}, [
|
|
7999
|
-
e.title || r.$slots.title || r.$slots.extra ? (p(), S("div",
|
|
8000
|
-
E("div",
|
|
8002
|
+
e.title || r.$slots.title || r.$slots.extra ? (p(), S("div", gh, [
|
|
8003
|
+
E("div", yh, [
|
|
8001
8004
|
F(r.$slots, "title", {}, () => [
|
|
8002
8005
|
le(G(e.title), 1)
|
|
8003
8006
|
])
|
|
8004
8007
|
]),
|
|
8005
|
-
r.$slots.extra ? (p(), S("div",
|
|
8008
|
+
r.$slots.extra ? (p(), S("div", bh, [
|
|
8006
8009
|
F(r.$slots, "extra")
|
|
8007
8010
|
])) : B("", !0)
|
|
8008
8011
|
])) : B("", !0),
|
|
@@ -8014,7 +8017,7 @@ const Zm = {
|
|
|
8014
8017
|
], 6)
|
|
8015
8018
|
], 2));
|
|
8016
8019
|
}
|
|
8017
|
-
},
|
|
8020
|
+
}, wh = { class: "s-stat-title" }, kh = { class: "s-stat-value" }, xh = {
|
|
8018
8021
|
__name: "SStat",
|
|
8019
8022
|
props: {
|
|
8020
8023
|
title: String,
|
|
@@ -8027,29 +8030,29 @@ const Zm = {
|
|
|
8027
8030
|
return (t, n) => (p(), S("div", {
|
|
8028
8031
|
class: z(["s-stat", { nowrap: e.nowrap, large: e.large, wide: e.wide }])
|
|
8029
8032
|
}, [
|
|
8030
|
-
E("div",
|
|
8033
|
+
E("div", wh, [
|
|
8031
8034
|
F(t.$slots, "title", {}, () => [
|
|
8032
8035
|
le(G(e.title), 1)
|
|
8033
8036
|
])
|
|
8034
8037
|
]),
|
|
8035
|
-
E("div",
|
|
8038
|
+
E("div", kh, [
|
|
8036
8039
|
F(t.$slots, "default", {}, () => [
|
|
8037
8040
|
le(G(e.value), 1)
|
|
8038
8041
|
])
|
|
8039
8042
|
])
|
|
8040
8043
|
], 2));
|
|
8041
8044
|
}
|
|
8042
|
-
},
|
|
8045
|
+
}, $h = { class: "s-canvas" }, Ah = {
|
|
8043
8046
|
key: 0,
|
|
8044
8047
|
class: "s-canvas-header"
|
|
8045
|
-
},
|
|
8048
|
+
}, Oh = {
|
|
8046
8049
|
key: 1,
|
|
8047
8050
|
class: "s-canvas-subheader"
|
|
8048
|
-
},
|
|
8051
|
+
}, Eh = { class: "s-main" }, _h = { class: "s-section" }, Th = { class: "s-section-h" }, Ch = {
|
|
8049
8052
|
key: 0,
|
|
8050
8053
|
class: "affix-wrapper",
|
|
8051
8054
|
style: "top: 20px"
|
|
8052
|
-
},
|
|
8055
|
+
}, Ph = { class: "s-canvas-content" }, Nh = {
|
|
8053
8056
|
__name: "SCanvas",
|
|
8054
8057
|
props: {
|
|
8055
8058
|
hasStickySidebar: {
|
|
@@ -8063,17 +8066,17 @@ const Zm = {
|
|
|
8063
8066
|
},
|
|
8064
8067
|
setup(e) {
|
|
8065
8068
|
const t = K(!1);
|
|
8066
|
-
return (n, r) => (p(), S("div",
|
|
8067
|
-
n.$slots.header ? (p(), S("header",
|
|
8069
|
+
return (n, r) => (p(), S("div", $h, [
|
|
8070
|
+
n.$slots.header ? (p(), S("header", Ah, [
|
|
8068
8071
|
F(n.$slots, "header")
|
|
8069
8072
|
])) : B("", !0),
|
|
8070
|
-
n.$slots.subheader ? (p(), S("div",
|
|
8073
|
+
n.$slots.subheader ? (p(), S("div", Oh, [
|
|
8071
8074
|
F(n.$slots, "subheader")
|
|
8072
8075
|
])) : B("", !0),
|
|
8073
8076
|
F(n.$slots, "default"),
|
|
8074
|
-
E("div",
|
|
8075
|
-
E("section",
|
|
8076
|
-
E("div",
|
|
8077
|
+
E("div", Eh, [
|
|
8078
|
+
E("section", _h, [
|
|
8079
|
+
E("div", Th, [
|
|
8077
8080
|
n.$slots.sidebar ? (p(), S("div", {
|
|
8078
8081
|
key: 0,
|
|
8079
8082
|
class: z(["s-canvas-subheader-mobile", { opened: t.value }])
|
|
@@ -8090,11 +8093,11 @@ const Zm = {
|
|
|
8090
8093
|
key: 1,
|
|
8091
8094
|
class: z(["s-canvas-sidebar", { "mobile-opened": t.value }])
|
|
8092
8095
|
}, [
|
|
8093
|
-
e.hasStickySidebar ? (p(), S("div",
|
|
8096
|
+
e.hasStickySidebar ? (p(), S("div", Ch, [
|
|
8094
8097
|
F(n.$slots, "sidebar")
|
|
8095
8098
|
])) : F(n.$slots, "sidebar", { key: 1 })
|
|
8096
8099
|
], 2)) : B("", !0),
|
|
8097
|
-
E("div",
|
|
8100
|
+
E("div", Ph, [
|
|
8098
8101
|
F(n.$slots, "content")
|
|
8099
8102
|
])
|
|
8100
8103
|
])
|
|
@@ -8102,16 +8105,16 @@ const Zm = {
|
|
|
8102
8105
|
])
|
|
8103
8106
|
]));
|
|
8104
8107
|
}
|
|
8105
|
-
},
|
|
8108
|
+
}, Ih = { class: "s-footer" }, Fh = /* @__PURE__ */ Object.assign({
|
|
8106
8109
|
name: "SFooter"
|
|
8107
8110
|
}, {
|
|
8108
8111
|
__name: "SFooter",
|
|
8109
8112
|
setup(e) {
|
|
8110
|
-
return (t, n) => (p(), S("div",
|
|
8113
|
+
return (t, n) => (p(), S("div", Ih, [
|
|
8111
8114
|
F(t.$slots, "default")
|
|
8112
8115
|
]));
|
|
8113
8116
|
}
|
|
8114
|
-
}),
|
|
8117
|
+
}), Rh = { key: 1 }, Mh = {
|
|
8115
8118
|
__name: "SDropdownMenu",
|
|
8116
8119
|
props: {
|
|
8117
8120
|
// В формате [{label: '', url: '', active: ''}]
|
|
@@ -8141,7 +8144,7 @@ const Zm = {
|
|
|
8141
8144
|
var c, f;
|
|
8142
8145
|
return (f = t.labelLink) != null ? f : (c = n.value) == null ? void 0 : c.url;
|
|
8143
8146
|
}), o = V(() => a.value ? yn : "span"), s = Te("$container"), i = Te("$list"), l = K("right"), u = async () => {
|
|
8144
|
-
await
|
|
8147
|
+
await st();
|
|
8145
8148
|
const c = s.value.getBoundingClientRect().x, f = i.value.getBoundingClientRect().width;
|
|
8146
8149
|
l.value = f + 10 > c ? "left" : "right";
|
|
8147
8150
|
};
|
|
@@ -8158,7 +8161,7 @@ const Zm = {
|
|
|
8158
8161
|
href: (h = e.labelLink) != null ? h : ""
|
|
8159
8162
|
}, {
|
|
8160
8163
|
default: ke(() => [
|
|
8161
|
-
c.$slots.label ? F(c.$slots, "label", { key: 0 }) : (p(), S("span",
|
|
8164
|
+
c.$slots.label ? F(c.$slots, "label", { key: 0 }) : (p(), S("span", Rh, G(r.value), 1)),
|
|
8162
8165
|
Q(R(re), { icon: "caret-down" })
|
|
8163
8166
|
]),
|
|
8164
8167
|
_: 3
|
|
@@ -8183,13 +8186,13 @@ const Zm = {
|
|
|
8183
8186
|
], 544);
|
|
8184
8187
|
};
|
|
8185
8188
|
}
|
|
8186
|
-
},
|
|
8189
|
+
}, jh = { class: "s-horizontalmenu" }, Dh = {
|
|
8187
8190
|
key: 1,
|
|
8188
8191
|
class: "s-horizontalmenu-label"
|
|
8189
|
-
},
|
|
8192
|
+
}, Lh = {
|
|
8190
8193
|
key: 2,
|
|
8191
8194
|
class: "s-horizontalmenu-children"
|
|
8192
|
-
},
|
|
8195
|
+
}, Bh = {
|
|
8193
8196
|
__name: "SHorizontalMenu",
|
|
8194
8197
|
props: {
|
|
8195
8198
|
// В формате [{label: '', url: '', active: '', stat: ''}]
|
|
@@ -8198,7 +8201,7 @@ const Zm = {
|
|
|
8198
8201
|
setup(e) {
|
|
8199
8202
|
return (t, n) => {
|
|
8200
8203
|
const r = bt("Link"), a = bt("SHorizontalMenu", !0);
|
|
8201
|
-
return p(), S("div",
|
|
8204
|
+
return p(), S("div", jh, [
|
|
8202
8205
|
(p(!0), S(ee, null, de(e.links, (o) => (p(), S("div", {
|
|
8203
8206
|
class: z(["s-horizontalmenu-item", [o.className, o.active ? "active" : ""]]),
|
|
8204
8207
|
key: o.label
|
|
@@ -8212,8 +8215,8 @@ const Zm = {
|
|
|
8212
8215
|
le(G(o.label), 1)
|
|
8213
8216
|
]),
|
|
8214
8217
|
_: 2
|
|
8215
|
-
}, 1032, ["href"])) : (p(), S("div",
|
|
8216
|
-
o.children ? (p(), S("div",
|
|
8218
|
+
}, 1032, ["href"])) : (p(), S("div", Dh, G(o.label), 1)),
|
|
8219
|
+
o.children ? (p(), S("div", Lh, [
|
|
8217
8220
|
Q(a, {
|
|
8218
8221
|
links: o.children
|
|
8219
8222
|
}, null, 8, ["links"])
|
|
@@ -8222,7 +8225,7 @@ const Zm = {
|
|
|
8222
8225
|
]);
|
|
8223
8226
|
};
|
|
8224
8227
|
}
|
|
8225
|
-
},
|
|
8228
|
+
}, Uh = { class: "s-verticalmenu" }, zh = ["onClick"], Hh = ["onClick"], Vh = {
|
|
8226
8229
|
__name: "SVerticalMenu",
|
|
8227
8230
|
props: {
|
|
8228
8231
|
// В формате [{label: '', url: '', active: ''}]
|
|
@@ -8241,7 +8244,7 @@ const Zm = {
|
|
|
8241
8244
|
};
|
|
8242
8245
|
return (o, s) => {
|
|
8243
8246
|
const i = bt("SVerticalMenu", !0);
|
|
8244
|
-
return p(), S("div",
|
|
8247
|
+
return p(), S("div", Uh, [
|
|
8245
8248
|
(p(!0), S(ee, null, de(e.links, (l) => (p(), S("div", {
|
|
8246
8249
|
class: z(["s-verticalmenu-item", [l.className, l.active ? "active" : "", l.type ? "type_" + l.type : ""]]),
|
|
8247
8250
|
key: l.label
|
|
@@ -8253,7 +8256,7 @@ const Zm = {
|
|
|
8253
8256
|
onClick: (u) => a(l.id)
|
|
8254
8257
|
}, [
|
|
8255
8258
|
Q(R(re), { icon: "fa-angle-right" })
|
|
8256
|
-
], 10,
|
|
8259
|
+
], 10, zh)) : B("", !0),
|
|
8257
8260
|
Q(R(yn), {
|
|
8258
8261
|
class: z(["s-verticalmenu-label", { "not-published": l.isPublished !== void 0 && !l.isPublished }]),
|
|
8259
8262
|
href: l.url
|
|
@@ -8283,7 +8286,7 @@ const Zm = {
|
|
|
8283
8286
|
key: 1,
|
|
8284
8287
|
icon: "eye-slash"
|
|
8285
8288
|
})) : B("", !0)
|
|
8286
|
-
], 10,
|
|
8289
|
+
], 10, Hh)),
|
|
8287
8290
|
l.children ? (p(), S("div", {
|
|
8288
8291
|
key: 2,
|
|
8289
8292
|
class: z(["s-verticalmenu-children", { "is-opened": R(r).includes(l.id) }])
|
|
@@ -8316,28 +8319,28 @@ J.push(Em);
|
|
|
8316
8319
|
J.push(qt);
|
|
8317
8320
|
J.push(Fm);
|
|
8318
8321
|
J.push(Mm);
|
|
8319
|
-
J.push(
|
|
8320
|
-
J.push(
|
|
8321
|
-
J.push(
|
|
8322
|
-
J.push(
|
|
8323
|
-
J.push(
|
|
8322
|
+
J.push(Lm);
|
|
8323
|
+
J.push(Um);
|
|
8324
|
+
J.push(Hm);
|
|
8325
|
+
J.push(Ym);
|
|
8326
|
+
J.push(Gm);
|
|
8324
8327
|
J.push(Ks);
|
|
8325
|
-
J.push(Zm);
|
|
8326
8328
|
J.push(Qm);
|
|
8327
8329
|
J.push(eh);
|
|
8328
|
-
J.push(
|
|
8329
|
-
J.push(
|
|
8330
|
-
J.push(
|
|
8331
|
-
J.push(
|
|
8332
|
-
J.push(
|
|
8333
|
-
J.push(
|
|
8334
|
-
J.push(
|
|
8335
|
-
J.push(
|
|
8336
|
-
J.push(
|
|
8337
|
-
J.push(
|
|
8338
|
-
J.push(
|
|
8339
|
-
J.push(
|
|
8340
|
-
|
|
8330
|
+
J.push(th);
|
|
8331
|
+
J.push(rh);
|
|
8332
|
+
J.push(ih);
|
|
8333
|
+
J.push(fh);
|
|
8334
|
+
J.push(hh);
|
|
8335
|
+
J.push(vh);
|
|
8336
|
+
J.push(Sh);
|
|
8337
|
+
J.push(xh);
|
|
8338
|
+
J.push(Nh);
|
|
8339
|
+
J.push(Fh);
|
|
8340
|
+
J.push(Mh);
|
|
8341
|
+
J.push(Bh);
|
|
8342
|
+
J.push(Vh);
|
|
8343
|
+
const vp = {
|
|
8341
8344
|
install(e) {
|
|
8342
8345
|
J.forEach((t) => {
|
|
8343
8346
|
var r, a;
|
|
@@ -8347,46 +8350,46 @@ const pp = {
|
|
|
8347
8350
|
}
|
|
8348
8351
|
};
|
|
8349
8352
|
export {
|
|
8350
|
-
|
|
8353
|
+
rh as SActionBar,
|
|
8351
8354
|
Fm as SActionIcon,
|
|
8352
|
-
|
|
8355
|
+
Qm as SAlert,
|
|
8353
8356
|
qt as SButton,
|
|
8354
|
-
|
|
8357
|
+
Nh as SCanvas,
|
|
8355
8358
|
oc as SCheckbox,
|
|
8356
8359
|
Ks as SConfirm,
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
+
fh as SCopyText,
|
|
8361
|
+
vh as SDashboard,
|
|
8362
|
+
Sh as SDashboardItem,
|
|
8360
8363
|
$c as SDatePicker,
|
|
8361
|
-
|
|
8362
|
-
|
|
8364
|
+
Ym as SDialog,
|
|
8365
|
+
Mh as SDropdownMenu,
|
|
8363
8366
|
um as SFilter,
|
|
8364
8367
|
fm as SFilterGroup,
|
|
8365
|
-
|
|
8368
|
+
Fh as SFooter,
|
|
8366
8369
|
lo as SForm,
|
|
8367
8370
|
ho as SFormRow,
|
|
8368
|
-
|
|
8371
|
+
Bh as SHorizontalMenu,
|
|
8369
8372
|
nd as SHtmlEditor,
|
|
8370
|
-
|
|
8373
|
+
Gm as SImagePreview,
|
|
8371
8374
|
bo as SInput,
|
|
8372
|
-
|
|
8375
|
+
Lm as SNote,
|
|
8373
8376
|
Am as SPagination,
|
|
8374
|
-
|
|
8377
|
+
ih as SProgressBar,
|
|
8375
8378
|
Mn as SRadio,
|
|
8376
8379
|
ys as SRadioGroup,
|
|
8377
8380
|
gs as SSelect,
|
|
8378
|
-
|
|
8379
|
-
|
|
8381
|
+
xh as SStat,
|
|
8382
|
+
th as SStatus,
|
|
8380
8383
|
mc as SSwitch,
|
|
8381
8384
|
ym as STable,
|
|
8382
|
-
|
|
8383
|
-
|
|
8384
|
-
|
|
8385
|
-
|
|
8385
|
+
eh as STag,
|
|
8386
|
+
hh as STimeline,
|
|
8387
|
+
Um as SToggle,
|
|
8388
|
+
Hm as SToggleGroup,
|
|
8386
8389
|
Mm as STooltip,
|
|
8387
8390
|
Em as STree,
|
|
8388
8391
|
id as SUpload,
|
|
8389
|
-
|
|
8390
|
-
|
|
8392
|
+
Vh as SVerticalMenu,
|
|
8393
|
+
vp as default
|
|
8391
8394
|
};
|
|
8392
8395
|
//# sourceMappingURL=startup-ui.es.js.map
|