@dskripchenko/laravel-admin 1.19.4 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/client.d.ts +2 -0
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +250 -236
- package/dist/index.mjs.map +1 -1
- package/dist/stores/locale.d.ts +4 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { h as Se, ref as A, computed as M, defineComponent as ne, openBlock as c, createElementBlock as h, createVNode as w, unref as n, createBlock as z, withCtx as x, Fragment as X, renderList as ae, createTextVNode as D, toDisplayString as y, createElementVNode as u, createCommentVNode as H, renderSlot as ze, resolveDynamicComponent as $e, normalizeClass as fe, withKeys as A1, withModifiers as me, onMounted as Oe, onUnmounted as z9, watch as
|
|
1
|
+
import { h as Se, ref as A, computed as M, defineComponent as ne, openBlock as c, createElementBlock as h, createVNode as w, unref as n, createBlock as z, withCtx as x, Fragment as X, renderList as ae, createTextVNode as D, toDisplayString as y, createElementVNode as u, createCommentVNode as H, renderSlot as ze, resolveDynamicComponent as $e, normalizeClass as fe, withKeys as A1, withModifiers as me, onMounted as Oe, onUnmounted as z9, watch as Ie, resolveComponent as H9, normalizeStyle as Ve, nextTick as Je, withDirectives as s1, vModelText as q1, onBeforeUnmount as Do, Teleport as lI, Transition as _9, inject as rI, normalizeProps as O2, mergeProps as Qn, provide as Vw, vModelSelect as Pw, createSlots as RI, guardReactiveProps as Fw, reactive as $I, createApp as jw } from "vue";
|
|
2
2
|
import { defineStore as e1, createPinia as Dw } from "pinia";
|
|
3
3
|
import { useRouter as Ze, useRoute as l1, createWebHistory as TI, createRouter as Bw } from "vue-router";
|
|
4
|
-
import { UidIcon as ee, UidMenu as je, UidMenuItem as De, UidMenuSeparator as Rw, UidAvatar as dI, UidSidebarItem as $w, UidSidebar as Tw, UidSkeleton as Re, UidSidebarGroup as Uw, UidModal as Ow, UidSpinner as Ew, UidSidebarLayout as Zw, useToast as ec, provideLocale as Ww, en as Gw, ru as Nw, UidToastProvider as Xw, UidAlert as Ye, UidInput as Le, UidButton as oe, UidCard as we, UidCheckbox as UI, UidErrorState as sI, UidEmptyState as hI, UidTreeView as Kw, UidTable as
|
|
4
|
+
import { UidIcon as ee, UidMenu as je, UidMenuItem as De, UidMenuSeparator as Rw, UidAvatar as dI, UidSidebarItem as $w, UidSidebar as Tw, UidSkeleton as Re, UidSidebarGroup as Uw, UidModal as Ow, UidSpinner as Ew, UidSidebarLayout as Zw, useToast as ec, provideLocale as Ww, en as Gw, ru as Nw, UidToastProvider as Xw, UidAlert as Ye, UidInput as Le, UidButton as oe, UidCard as we, UidCheckbox as UI, UidErrorState as sI, UidEmptyState as hI, UidTreeView as Kw, UidTable as Co, UidPagination as Jw, UidGrid as OI, UidStack as Yw, UidBadge as uI, UidSelect as S9, UidStat as ic, UidGauge as Qw, UidFormField as Z2, UidTextarea as ex, UidNumberInput as ax, UidDatePicker as tx, usePopover as nx, UidTabs as EI, UidTabPanel as ZI, UidTab as lc, UidDescriptionList as ox, UidDescriptionItem as cx, UidDrawer as ix, UidStepper as lx, UidFileUpload as rx, UidProgress as dx } from "@dskripchenko/ui";
|
|
5
5
|
import { t as v, u as W2 } from "./i18n-CoRTQbVV.js";
|
|
6
6
|
import { t as sx, p as V9, u as Pe } from "./formState-DeRZBwWH.js";
|
|
7
7
|
import hx from "axios";
|
|
@@ -1681,7 +1681,7 @@ const Br = e("BotIcon", [
|
|
|
1681
1681
|
["path", { d: "M15 13v2", key: "1xurst" }],
|
|
1682
1682
|
["path", { d: "M9 13v2", key: "rq6x2g" }]
|
|
1683
1683
|
]);
|
|
1684
|
-
const
|
|
1684
|
+
const so = e("BoxIcon", [
|
|
1685
1685
|
[
|
|
1686
1686
|
"path",
|
|
1687
1687
|
{
|
|
@@ -2180,7 +2180,7 @@ const Cd = e("CalendarXIcon", [
|
|
|
2180
2180
|
["path", { d: "m14 14-4 4", key: "rymu2i" }],
|
|
2181
2181
|
["path", { d: "m10 14 4 4", key: "3sz06r" }]
|
|
2182
2182
|
]);
|
|
2183
|
-
const
|
|
2183
|
+
const ho = e("CalendarIcon", [
|
|
2184
2184
|
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
2185
2185
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
2186
2186
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
@@ -2588,7 +2588,7 @@ const r0 = e("ChevronLeftIcon", [
|
|
|
2588
2588
|
const Uo = e("ChevronRightIcon", [
|
|
2589
2589
|
["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
|
|
2590
2590
|
]);
|
|
2591
|
-
const
|
|
2591
|
+
const uo = e("ChevronUpIcon", [
|
|
2592
2592
|
["path", { d: "m18 15-6-6-6 6", key: "153udz" }]
|
|
2593
2593
|
]);
|
|
2594
2594
|
const Oo = e("ChevronsDownUpIcon", [
|
|
@@ -3495,7 +3495,7 @@ const Es = e("CopyXIcon", [
|
|
|
3495
3495
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
3496
3496
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
3497
3497
|
]);
|
|
3498
|
-
const
|
|
3498
|
+
const yo = e("CopyIcon", [
|
|
3499
3499
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
3500
3500
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
3501
3501
|
]);
|
|
@@ -3925,7 +3925,7 @@ const Th = e("DoorOpenIcon", [
|
|
|
3925
3925
|
const Uh = e("DotIcon", [
|
|
3926
3926
|
["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
|
|
3927
3927
|
]);
|
|
3928
|
-
const
|
|
3928
|
+
const po = e("DownloadIcon", [
|
|
3929
3929
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
3930
3930
|
["polyline", { points: "7 10 12 15 17 10", key: "2ggqvy" }],
|
|
3931
3931
|
["line", { x1: "12", x2: "12", y1: "15", y2: "3", key: "1vk2je" }]
|
|
@@ -4651,7 +4651,7 @@ const cy = e("FileTerminalIcon", [
|
|
|
4651
4651
|
["path", { d: "m8 16 2-2-2-2", key: "10vzyd" }],
|
|
4652
4652
|
["path", { d: "M12 18h4", key: "1wd2n7" }]
|
|
4653
4653
|
]);
|
|
4654
|
-
const
|
|
4654
|
+
const ko = e("FileTextIcon", [
|
|
4655
4655
|
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
|
|
4656
4656
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
|
|
4657
4657
|
["path", { d: "M10 9H8", key: "b1mrlr" }],
|
|
@@ -5665,7 +5665,7 @@ const ak = e("GlobeLockIcon", [
|
|
|
5665
5665
|
["path", { d: "M20 6V4a2 2 0 1 0-4 0v2", key: "1of5e8" }],
|
|
5666
5666
|
["rect", { width: "8", height: "5", x: "14", y: "6", rx: "1", key: "1fmf51" }]
|
|
5667
5667
|
]);
|
|
5668
|
-
const
|
|
5668
|
+
const mo = e("GlobeIcon", [
|
|
5669
5669
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
5670
5670
|
["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
|
|
5671
5671
|
["path", { d: "M2 12h20", key: "9i4pu4" }]
|
|
@@ -5759,7 +5759,7 @@ const rk = e("GripHorizontalIcon", [
|
|
|
5759
5759
|
["circle", { cx: "19", cy: "15", r: "1", key: "1a92ep" }],
|
|
5760
5760
|
["circle", { cx: "5", cy: "15", r: "1", key: "5r1jwy" }]
|
|
5761
5761
|
]);
|
|
5762
|
-
const
|
|
5762
|
+
const vo = e("GripVerticalIcon", [
|
|
5763
5763
|
["circle", { cx: "9", cy: "12", r: "1", key: "1vctgf" }],
|
|
5764
5764
|
["circle", { cx: "9", cy: "5", r: "1", key: "hp0tcf" }],
|
|
5765
5765
|
["circle", { cx: "9", cy: "19", r: "1", key: "fkjjf6" }],
|
|
@@ -7198,7 +7198,7 @@ const S5 = e("MailXIcon", [
|
|
|
7198
7198
|
["path", { d: "m17 17 4 4", key: "1b3523" }],
|
|
7199
7199
|
["path", { d: "m21 17-4 4", key: "uinynz" }]
|
|
7200
7200
|
]);
|
|
7201
|
-
const
|
|
7201
|
+
const fo = e("MailIcon", [
|
|
7202
7202
|
["rect", { width: "20", height: "16", x: "2", y: "4", rx: "2", key: "18n3k1" }],
|
|
7203
7203
|
["path", { d: "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7", key: "1ocrg3" }]
|
|
7204
7204
|
]);
|
|
@@ -7601,7 +7601,7 @@ const x3 = e("MessageSquareXIcon", [
|
|
|
7601
7601
|
["path", { d: "m14.5 7.5-5 5", key: "3lb6iw" }],
|
|
7602
7602
|
["path", { d: "m9.5 7.5 5 5", key: "ko136h" }]
|
|
7603
7603
|
]);
|
|
7604
|
-
const
|
|
7604
|
+
const go = e("MessageSquareIcon", [
|
|
7605
7605
|
["path", { d: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z", key: "1lielz" }]
|
|
7606
7606
|
]);
|
|
7607
7607
|
const b3 = e("MessagesSquareIcon", [
|
|
@@ -9404,7 +9404,7 @@ const Wm = e("RefreshCwOffIcon", [
|
|
|
9404
9404
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
9405
9405
|
["path", { d: "M22 22 2 2", key: "1r8tn9" }]
|
|
9406
9406
|
]);
|
|
9407
|
-
const
|
|
9407
|
+
const Mo = e("RefreshCwIcon", [
|
|
9408
9408
|
["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
|
|
9409
9409
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
9410
9410
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
@@ -9991,7 +9991,7 @@ const Qv = e("Settings2Icon", [
|
|
|
9991
9991
|
["circle", { cx: "17", cy: "17", r: "3", key: "18b49y" }],
|
|
9992
9992
|
["circle", { cx: "7", cy: "7", r: "3", key: "dfmy0x" }]
|
|
9993
9993
|
]);
|
|
9994
|
-
const
|
|
9994
|
+
const Io = e("SettingsIcon", [
|
|
9995
9995
|
[
|
|
9996
9996
|
"path",
|
|
9997
9997
|
{
|
|
@@ -10153,7 +10153,7 @@ const Ft = e("ShieldXIcon", [
|
|
|
10153
10153
|
["path", { d: "m14.5 9.5-5 5", key: "17q4r4" }],
|
|
10154
10154
|
["path", { d: "m9.5 9.5 5 5", key: "18nt4w" }]
|
|
10155
10155
|
]);
|
|
10156
|
-
const
|
|
10156
|
+
const wo = e("ShieldIcon", [
|
|
10157
10157
|
[
|
|
10158
10158
|
"path",
|
|
10159
10159
|
{
|
|
@@ -11279,7 +11279,7 @@ const Nf = e("TabletsIcon", [
|
|
|
11279
11279
|
["path", { d: "M12 17h10", key: "ls21zv" }],
|
|
11280
11280
|
["path", { d: "m3.46 10.54 7.08-7.08", key: "1rehiu" }]
|
|
11281
11281
|
]);
|
|
11282
|
-
const
|
|
11282
|
+
const xo = e("TagIcon", [
|
|
11283
11283
|
[
|
|
11284
11284
|
"path",
|
|
11285
11285
|
{
|
|
@@ -12930,7 +12930,7 @@ const px = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12930
12930
|
Bot: Br,
|
|
12931
12931
|
BotMessageSquare: jr,
|
|
12932
12932
|
BotOff: Dr,
|
|
12933
|
-
Box:
|
|
12933
|
+
Box: so,
|
|
12934
12934
|
Boxes: Rr,
|
|
12935
12935
|
Braces: Y1,
|
|
12936
12936
|
Brackets: $r,
|
|
@@ -12956,7 +12956,7 @@ const px = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12956
12956
|
Cake: id,
|
|
12957
12957
|
CakeSlice: cd,
|
|
12958
12958
|
Calculator: ld,
|
|
12959
|
-
Calendar:
|
|
12959
|
+
Calendar: ho,
|
|
12960
12960
|
Calendar1: rd,
|
|
12961
12961
|
CalendarArrowDown: dd,
|
|
12962
12962
|
CalendarArrowUp: sd,
|
|
@@ -13029,7 +13029,7 @@ const px = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13029
13029
|
ChevronLast: l0,
|
|
13030
13030
|
ChevronLeft: r0,
|
|
13031
13031
|
ChevronRight: Uo,
|
|
13032
|
-
ChevronUp:
|
|
13032
|
+
ChevronUp: uo,
|
|
13033
13033
|
ChevronsDown: d0,
|
|
13034
13034
|
ChevronsDownUp: Oo,
|
|
13035
13035
|
ChevronsLeft: u0,
|
|
@@ -13159,7 +13159,7 @@ const px = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13159
13159
|
Contrast: Ds,
|
|
13160
13160
|
Cookie: Bs,
|
|
13161
13161
|
CookingPot: Rs,
|
|
13162
|
-
Copy:
|
|
13162
|
+
Copy: yo,
|
|
13163
13163
|
CopyCheck: $s,
|
|
13164
13164
|
CopyMinus: Ts,
|
|
13165
13165
|
CopyPlus: Us,
|
|
@@ -13220,7 +13220,7 @@ const px = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13220
13220
|
DoorClosed: $h,
|
|
13221
13221
|
DoorOpen: Th,
|
|
13222
13222
|
Dot: Uh,
|
|
13223
|
-
Download:
|
|
13223
|
+
Download: po,
|
|
13224
13224
|
DraftingCompass: Oh,
|
|
13225
13225
|
Drama: Eh,
|
|
13226
13226
|
Dribbble: Zh,
|
|
@@ -13306,7 +13306,7 @@ const px = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13306
13306
|
FileStack: ny,
|
|
13307
13307
|
FileSymlink: oy,
|
|
13308
13308
|
FileTerminal: cy,
|
|
13309
|
-
FileText:
|
|
13309
|
+
FileText: ko,
|
|
13310
13310
|
FileType: ly,
|
|
13311
13311
|
FileType2: iy,
|
|
13312
13312
|
FileUp: ry,
|
|
@@ -13417,7 +13417,7 @@ const px = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13417
13417
|
Gitlab: Yp,
|
|
13418
13418
|
GlassWater: Qp,
|
|
13419
13419
|
Glasses: ek,
|
|
13420
|
-
Globe:
|
|
13420
|
+
Globe: mo,
|
|
13421
13421
|
GlobeLock: ak,
|
|
13422
13422
|
Goal: tk,
|
|
13423
13423
|
Grab: nk,
|
|
@@ -13430,7 +13430,7 @@ const px = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13430
13430
|
Grid3x3: Xe,
|
|
13431
13431
|
Grip: dk,
|
|
13432
13432
|
GripHorizontal: rk,
|
|
13433
|
-
GripVertical:
|
|
13433
|
+
GripVertical: vo,
|
|
13434
13434
|
Group: sk,
|
|
13435
13435
|
Guitar: hk,
|
|
13436
13436
|
Ham: uk,
|
|
@@ -13578,7 +13578,7 @@ const px = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13578
13578
|
Lollipop: f5,
|
|
13579
13579
|
Luggage: g5,
|
|
13580
13580
|
Magnet: M5,
|
|
13581
|
-
Mail:
|
|
13581
|
+
Mail: fo,
|
|
13582
13582
|
MailCheck: I5,
|
|
13583
13583
|
MailMinus: w5,
|
|
13584
13584
|
MailOpen: x5,
|
|
@@ -13623,7 +13623,7 @@ const px = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13623
13623
|
MessageCircleReply: c3,
|
|
13624
13624
|
MessageCircleWarning: i3,
|
|
13625
13625
|
MessageCircleX: l3,
|
|
13626
|
-
MessageSquare:
|
|
13626
|
+
MessageSquare: go,
|
|
13627
13627
|
MessageSquareCode: d3,
|
|
13628
13628
|
MessageSquareDashed: s3,
|
|
13629
13629
|
MessageSquareDiff: h3,
|
|
@@ -13847,7 +13847,7 @@ const px = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13847
13847
|
RedoDot: Um,
|
|
13848
13848
|
RefreshCcw: Zm,
|
|
13849
13849
|
RefreshCcwDot: Em,
|
|
13850
|
-
RefreshCw:
|
|
13850
|
+
RefreshCw: Mo,
|
|
13851
13851
|
RefreshCwOff: Wm,
|
|
13852
13852
|
Refrigerator: Gm,
|
|
13853
13853
|
Regex: Nm,
|
|
@@ -13919,14 +13919,14 @@ const px = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13919
13919
|
ServerCog: Kv,
|
|
13920
13920
|
ServerCrash: Jv,
|
|
13921
13921
|
ServerOff: Yv,
|
|
13922
|
-
Settings:
|
|
13922
|
+
Settings: Io,
|
|
13923
13923
|
Settings2: Qv,
|
|
13924
13924
|
Shapes: e7,
|
|
13925
13925
|
Share: t7,
|
|
13926
13926
|
Share2: a7,
|
|
13927
13927
|
Sheet: n7,
|
|
13928
13928
|
Shell: o7,
|
|
13929
|
-
Shield:
|
|
13929
|
+
Shield: wo,
|
|
13930
13930
|
ShieldAlert: c7,
|
|
13931
13931
|
ShieldBan: i7,
|
|
13932
13932
|
ShieldCheck: q2,
|
|
@@ -14088,7 +14088,7 @@ const px = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14088
14088
|
Tablet: Gf,
|
|
14089
14089
|
TabletSmartphone: Wf,
|
|
14090
14090
|
Tablets: Nf,
|
|
14091
|
-
Tag:
|
|
14091
|
+
Tag: xo,
|
|
14092
14092
|
Tags: j2,
|
|
14093
14093
|
Tally1: Xf,
|
|
14094
14094
|
Tally2: Kf,
|
|
@@ -14772,8 +14772,8 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14772
14772
|
BotMessageSquareIcon: jr,
|
|
14773
14773
|
BotOff: Dr,
|
|
14774
14774
|
BotOffIcon: Dr,
|
|
14775
|
-
Box:
|
|
14776
|
-
BoxIcon:
|
|
14775
|
+
Box: so,
|
|
14776
|
+
BoxIcon: so,
|
|
14777
14777
|
BoxSelect: rn,
|
|
14778
14778
|
BoxSelectIcon: rn,
|
|
14779
14779
|
Boxes: Rr,
|
|
@@ -14826,7 +14826,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14826
14826
|
CakeSliceIcon: cd,
|
|
14827
14827
|
Calculator: ld,
|
|
14828
14828
|
CalculatorIcon: ld,
|
|
14829
|
-
Calendar:
|
|
14829
|
+
Calendar: ho,
|
|
14830
14830
|
Calendar1: rd,
|
|
14831
14831
|
Calendar1Icon: rd,
|
|
14832
14832
|
CalendarArrowDown: dd,
|
|
@@ -14847,7 +14847,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14847
14847
|
CalendarFoldIcon: md,
|
|
14848
14848
|
CalendarHeart: vd,
|
|
14849
14849
|
CalendarHeartIcon: vd,
|
|
14850
|
-
CalendarIcon:
|
|
14850
|
+
CalendarIcon: ho,
|
|
14851
14851
|
CalendarMinus: gd,
|
|
14852
14852
|
CalendarMinus2: fd,
|
|
14853
14853
|
CalendarMinus2Icon: fd,
|
|
@@ -14994,10 +14994,10 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14994
14994
|
ChevronRightIcon: Uo,
|
|
14995
14995
|
ChevronRightSquare: tn,
|
|
14996
14996
|
ChevronRightSquareIcon: tn,
|
|
14997
|
-
ChevronUp:
|
|
14997
|
+
ChevronUp: uo,
|
|
14998
14998
|
ChevronUpCircle: wa,
|
|
14999
14999
|
ChevronUpCircleIcon: wa,
|
|
15000
|
-
ChevronUpIcon:
|
|
15000
|
+
ChevronUpIcon: uo,
|
|
15001
15001
|
ChevronUpSquare: nn,
|
|
15002
15002
|
ChevronUpSquareIcon: nn,
|
|
15003
15003
|
ChevronsDown: d0,
|
|
@@ -15272,10 +15272,10 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15272
15272
|
CookieIcon: Bs,
|
|
15273
15273
|
CookingPot: Rs,
|
|
15274
15274
|
CookingPotIcon: Rs,
|
|
15275
|
-
Copy:
|
|
15275
|
+
Copy: yo,
|
|
15276
15276
|
CopyCheck: $s,
|
|
15277
15277
|
CopyCheckIcon: $s,
|
|
15278
|
-
CopyIcon:
|
|
15278
|
+
CopyIcon: yo,
|
|
15279
15279
|
CopyMinus: Ts,
|
|
15280
15280
|
CopyMinusIcon: Ts,
|
|
15281
15281
|
CopyPlus: Us,
|
|
@@ -15402,10 +15402,10 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15402
15402
|
DotIcon: Uh,
|
|
15403
15403
|
DotSquare: sn,
|
|
15404
15404
|
DotSquareIcon: sn,
|
|
15405
|
-
Download:
|
|
15405
|
+
Download: po,
|
|
15406
15406
|
DownloadCloud: Ba,
|
|
15407
15407
|
DownloadCloudIcon: Ba,
|
|
15408
|
-
DownloadIcon:
|
|
15408
|
+
DownloadIcon: po,
|
|
15409
15409
|
DraftingCompass: Oh,
|
|
15410
15410
|
DraftingCompassIcon: Oh,
|
|
15411
15411
|
Drama: Eh,
|
|
@@ -15600,8 +15600,8 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15600
15600
|
FileSymlinkIcon: oy,
|
|
15601
15601
|
FileTerminal: cy,
|
|
15602
15602
|
FileTerminalIcon: cy,
|
|
15603
|
-
FileText:
|
|
15604
|
-
FileTextIcon:
|
|
15603
|
+
FileText: ko,
|
|
15604
|
+
FileTextIcon: ko,
|
|
15605
15605
|
FileType: ly,
|
|
15606
15606
|
FileType2: iy,
|
|
15607
15607
|
FileType2Icon: iy,
|
|
@@ -15842,10 +15842,10 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15842
15842
|
GlassWaterIcon: Qp,
|
|
15843
15843
|
Glasses: ek,
|
|
15844
15844
|
GlassesIcon: ek,
|
|
15845
|
-
Globe:
|
|
15845
|
+
Globe: mo,
|
|
15846
15846
|
Globe2: Ea,
|
|
15847
15847
|
Globe2Icon: Ea,
|
|
15848
|
-
GlobeIcon:
|
|
15848
|
+
GlobeIcon: mo,
|
|
15849
15849
|
GlobeLock: ak,
|
|
15850
15850
|
GlobeLockIcon: ak,
|
|
15851
15851
|
Goal: tk,
|
|
@@ -15878,8 +15878,8 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15878
15878
|
GripHorizontal: rk,
|
|
15879
15879
|
GripHorizontalIcon: rk,
|
|
15880
15880
|
GripIcon: dk,
|
|
15881
|
-
GripVertical:
|
|
15882
|
-
GripVerticalIcon:
|
|
15881
|
+
GripVertical: vo,
|
|
15882
|
+
GripVerticalIcon: vo,
|
|
15883
15883
|
Group: sk,
|
|
15884
15884
|
GroupIcon: sk,
|
|
15885
15885
|
Guitar: hk,
|
|
@@ -16455,7 +16455,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16455
16455
|
LucideBot: Br,
|
|
16456
16456
|
LucideBotMessageSquare: jr,
|
|
16457
16457
|
LucideBotOff: Dr,
|
|
16458
|
-
LucideBox:
|
|
16458
|
+
LucideBox: so,
|
|
16459
16459
|
LucideBoxSelect: rn,
|
|
16460
16460
|
LucideBoxes: Rr,
|
|
16461
16461
|
LucideBraces: Y1,
|
|
@@ -16482,7 +16482,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16482
16482
|
LucideCake: id,
|
|
16483
16483
|
LucideCakeSlice: cd,
|
|
16484
16484
|
LucideCalculator: ld,
|
|
16485
|
-
LucideCalendar:
|
|
16485
|
+
LucideCalendar: ho,
|
|
16486
16486
|
LucideCalendar1: rd,
|
|
16487
16487
|
LucideCalendarArrowDown: dd,
|
|
16488
16488
|
LucideCalendarArrowUp: sd,
|
|
@@ -16566,7 +16566,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16566
16566
|
LucideChevronRight: Uo,
|
|
16567
16567
|
LucideChevronRightCircle: Ia,
|
|
16568
16568
|
LucideChevronRightSquare: tn,
|
|
16569
|
-
LucideChevronUp:
|
|
16569
|
+
LucideChevronUp: uo,
|
|
16570
16570
|
LucideChevronUpCircle: wa,
|
|
16571
16571
|
LucideChevronUpSquare: nn,
|
|
16572
16572
|
LucideChevronsDown: d0,
|
|
@@ -16705,7 +16705,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16705
16705
|
LucideContrast: Ds,
|
|
16706
16706
|
LucideCookie: Bs,
|
|
16707
16707
|
LucideCookingPot: Rs,
|
|
16708
|
-
LucideCopy:
|
|
16708
|
+
LucideCopy: yo,
|
|
16709
16709
|
LucideCopyCheck: $s,
|
|
16710
16710
|
LucideCopyMinus: Ts,
|
|
16711
16711
|
LucideCopyPlus: Us,
|
|
@@ -16770,7 +16770,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16770
16770
|
LucideDoorOpen: Th,
|
|
16771
16771
|
LucideDot: Uh,
|
|
16772
16772
|
LucideDotSquare: sn,
|
|
16773
|
-
LucideDownload:
|
|
16773
|
+
LucideDownload: po,
|
|
16774
16774
|
LucideDownloadCloud: Ba,
|
|
16775
16775
|
LucideDraftingCompass: Oh,
|
|
16776
16776
|
LucideDrama: Eh,
|
|
@@ -16869,7 +16869,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16869
16869
|
LucideFileStack: ny,
|
|
16870
16870
|
LucideFileSymlink: oy,
|
|
16871
16871
|
LucideFileTerminal: cy,
|
|
16872
|
-
LucideFileText:
|
|
16872
|
+
LucideFileText: ko,
|
|
16873
16873
|
LucideFileType: ly,
|
|
16874
16874
|
LucideFileType2: iy,
|
|
16875
16875
|
LucideFileUp: ry,
|
|
@@ -16990,7 +16990,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16990
16990
|
LucideGitlab: Yp,
|
|
16991
16991
|
LucideGlassWater: Qp,
|
|
16992
16992
|
LucideGlasses: ek,
|
|
16993
|
-
LucideGlobe:
|
|
16993
|
+
LucideGlobe: mo,
|
|
16994
16994
|
LucideGlobe2: Ea,
|
|
16995
16995
|
LucideGlobeLock: ak,
|
|
16996
16996
|
LucideGoal: tk,
|
|
@@ -17008,7 +17008,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17008
17008
|
LucideGrid3x3: Xe,
|
|
17009
17009
|
LucideGrip: dk,
|
|
17010
17010
|
LucideGripHorizontal: rk,
|
|
17011
|
-
LucideGripVertical:
|
|
17011
|
+
LucideGripVertical: vo,
|
|
17012
17012
|
LucideGroup: sk,
|
|
17013
17013
|
LucideGuitar: hk,
|
|
17014
17014
|
LucideHam: uk,
|
|
@@ -17171,7 +17171,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17171
17171
|
LucideLuggage: g5,
|
|
17172
17172
|
LucideMSquare: kn,
|
|
17173
17173
|
LucideMagnet: M5,
|
|
17174
|
-
LucideMail:
|
|
17174
|
+
LucideMail: fo,
|
|
17175
17175
|
LucideMailCheck: I5,
|
|
17176
17176
|
LucideMailMinus: w5,
|
|
17177
17177
|
LucideMailOpen: x5,
|
|
@@ -17217,7 +17217,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17217
17217
|
LucideMessageCircleReply: c3,
|
|
17218
17218
|
LucideMessageCircleWarning: i3,
|
|
17219
17219
|
LucideMessageCircleX: l3,
|
|
17220
|
-
LucideMessageSquare:
|
|
17220
|
+
LucideMessageSquare: go,
|
|
17221
17221
|
LucideMessageSquareCode: d3,
|
|
17222
17222
|
LucideMessageSquareDashed: s3,
|
|
17223
17223
|
LucideMessageSquareDiff: h3,
|
|
@@ -17478,7 +17478,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17478
17478
|
LucideRedoDot: Um,
|
|
17479
17479
|
LucideRefreshCcw: Zm,
|
|
17480
17480
|
LucideRefreshCcwDot: Em,
|
|
17481
|
-
LucideRefreshCw:
|
|
17481
|
+
LucideRefreshCw: Mo,
|
|
17482
17482
|
LucideRefreshCwOff: Wm,
|
|
17483
17483
|
LucideRefrigerator: Gm,
|
|
17484
17484
|
LucideRegex: Nm,
|
|
@@ -17558,14 +17558,14 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17558
17558
|
LucideServerCog: Kv,
|
|
17559
17559
|
LucideServerCrash: Jv,
|
|
17560
17560
|
LucideServerOff: Yv,
|
|
17561
|
-
LucideSettings:
|
|
17561
|
+
LucideSettings: Io,
|
|
17562
17562
|
LucideSettings2: Qv,
|
|
17563
17563
|
LucideShapes: e7,
|
|
17564
17564
|
LucideShare: t7,
|
|
17565
17565
|
LucideShare2: a7,
|
|
17566
17566
|
LucideSheet: n7,
|
|
17567
17567
|
LucideShell: o7,
|
|
17568
|
-
LucideShield:
|
|
17568
|
+
LucideShield: wo,
|
|
17569
17569
|
LucideShieldAlert: c7,
|
|
17570
17570
|
LucideShieldBan: i7,
|
|
17571
17571
|
LucideShieldCheck: q2,
|
|
@@ -17742,7 +17742,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17742
17742
|
LucideTablet: Gf,
|
|
17743
17743
|
LucideTabletSmartphone: Wf,
|
|
17744
17744
|
LucideTablets: Nf,
|
|
17745
|
-
LucideTag:
|
|
17745
|
+
LucideTag: xo,
|
|
17746
17746
|
LucideTags: j2,
|
|
17747
17747
|
LucideTally1: Xf,
|
|
17748
17748
|
LucideTally2: Kf,
|
|
@@ -17942,10 +17942,10 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17942
17942
|
MSquareIcon: kn,
|
|
17943
17943
|
Magnet: M5,
|
|
17944
17944
|
MagnetIcon: M5,
|
|
17945
|
-
Mail:
|
|
17945
|
+
Mail: fo,
|
|
17946
17946
|
MailCheck: I5,
|
|
17947
17947
|
MailCheckIcon: I5,
|
|
17948
|
-
MailIcon:
|
|
17948
|
+
MailIcon: fo,
|
|
17949
17949
|
MailMinus: w5,
|
|
17950
17950
|
MailMinusIcon: w5,
|
|
17951
17951
|
MailOpen: x5,
|
|
@@ -18034,7 +18034,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
18034
18034
|
MessageCircleWarningIcon: i3,
|
|
18035
18035
|
MessageCircleX: l3,
|
|
18036
18036
|
MessageCircleXIcon: l3,
|
|
18037
|
-
MessageSquare:
|
|
18037
|
+
MessageSquare: go,
|
|
18038
18038
|
MessageSquareCode: d3,
|
|
18039
18039
|
MessageSquareCodeIcon: d3,
|
|
18040
18040
|
MessageSquareDashed: s3,
|
|
@@ -18045,7 +18045,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
18045
18045
|
MessageSquareDotIcon: u3,
|
|
18046
18046
|
MessageSquareHeart: y3,
|
|
18047
18047
|
MessageSquareHeartIcon: y3,
|
|
18048
|
-
MessageSquareIcon:
|
|
18048
|
+
MessageSquareIcon: go,
|
|
18049
18049
|
MessageSquareLock: p3,
|
|
18050
18050
|
MessageSquareLockIcon: p3,
|
|
18051
18051
|
MessageSquareMore: k3,
|
|
@@ -18556,8 +18556,8 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
18556
18556
|
RefreshCcwDot: Em,
|
|
18557
18557
|
RefreshCcwDotIcon: Em,
|
|
18558
18558
|
RefreshCcwIcon: Zm,
|
|
18559
|
-
RefreshCw:
|
|
18560
|
-
RefreshCwIcon:
|
|
18559
|
+
RefreshCw: Mo,
|
|
18560
|
+
RefreshCwIcon: Mo,
|
|
18561
18561
|
RefreshCwOff: Wm,
|
|
18562
18562
|
RefreshCwOffIcon: Wm,
|
|
18563
18563
|
Refrigerator: Gm,
|
|
@@ -18716,10 +18716,10 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
18716
18716
|
ServerIcon: S2,
|
|
18717
18717
|
ServerOff: Yv,
|
|
18718
18718
|
ServerOffIcon: Yv,
|
|
18719
|
-
Settings:
|
|
18719
|
+
Settings: Io,
|
|
18720
18720
|
Settings2: Qv,
|
|
18721
18721
|
Settings2Icon: Qv,
|
|
18722
|
-
SettingsIcon:
|
|
18722
|
+
SettingsIcon: Io,
|
|
18723
18723
|
Shapes: e7,
|
|
18724
18724
|
ShapesIcon: e7,
|
|
18725
18725
|
Share: t7,
|
|
@@ -18730,7 +18730,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
18730
18730
|
SheetIcon: n7,
|
|
18731
18731
|
Shell: o7,
|
|
18732
18732
|
ShellIcon: o7,
|
|
18733
|
-
Shield:
|
|
18733
|
+
Shield: wo,
|
|
18734
18734
|
ShieldAlert: c7,
|
|
18735
18735
|
ShieldAlertIcon: c7,
|
|
18736
18736
|
ShieldBan: i7,
|
|
@@ -18743,7 +18743,7 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
18743
18743
|
ShieldEllipsisIcon: l7,
|
|
18744
18744
|
ShieldHalf: r7,
|
|
18745
18745
|
ShieldHalfIcon: r7,
|
|
18746
|
-
ShieldIcon:
|
|
18746
|
+
ShieldIcon: wo,
|
|
18747
18747
|
ShieldMinus: d7,
|
|
18748
18748
|
ShieldMinusIcon: d7,
|
|
18749
18749
|
ShieldOff: A2,
|
|
@@ -19084,8 +19084,8 @@ const kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
19084
19084
|
TabletSmartphoneIcon: Wf,
|
|
19085
19085
|
Tablets: Nf,
|
|
19086
19086
|
TabletsIcon: Nf,
|
|
19087
|
-
Tag:
|
|
19088
|
-
TagIcon:
|
|
19087
|
+
Tag: xo,
|
|
19088
|
+
TagIcon: xo,
|
|
19089
19089
|
Tags: j2,
|
|
19090
19090
|
TagsIcon: j2,
|
|
19091
19091
|
Tally1: Xf,
|
|
@@ -19479,7 +19479,7 @@ let E2 = null;
|
|
|
19479
19479
|
function GI(a) {
|
|
19480
19480
|
E2 = a;
|
|
19481
19481
|
}
|
|
19482
|
-
function
|
|
19482
|
+
function Me() {
|
|
19483
19483
|
if (E2 === null)
|
|
19484
19484
|
throw new Error(
|
|
19485
19485
|
"[admin] AdminClient is not registered. Call setAdminClient(...) before using stores."
|
|
@@ -19495,7 +19495,7 @@ function vx() {
|
|
|
19495
19495
|
const qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19496
19496
|
__proto__: null,
|
|
19497
19497
|
clearAdminClient: mx,
|
|
19498
|
-
getAdminClient:
|
|
19498
|
+
getAdminClient: Me,
|
|
19499
19499
|
hasAdminClient: vx,
|
|
19500
19500
|
setAdminClient: GI
|
|
19501
19501
|
}, Symbol.toStringTag, { value: "Module" })), yI = e1("admin-theme", () => {
|
|
@@ -19514,7 +19514,7 @@ const qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
19514
19514
|
const p = a.value;
|
|
19515
19515
|
d(r);
|
|
19516
19516
|
try {
|
|
19517
|
-
await
|
|
19517
|
+
await Me().post("/system/setTheme", { theme: r });
|
|
19518
19518
|
} catch (m) {
|
|
19519
19519
|
throw d(p), m;
|
|
19520
19520
|
}
|
|
@@ -19554,31 +19554,37 @@ const qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
19554
19554
|
}, null, 8, ["icon", "data-icon"])
|
|
19555
19555
|
], 8, fx));
|
|
19556
19556
|
}
|
|
19557
|
-
}),
|
|
19557
|
+
}), co = e1("admin-locale", () => {
|
|
19558
19558
|
const a = A("ru"), t = A(["ru", "en"]);
|
|
19559
|
-
function o(
|
|
19560
|
-
a.value =
|
|
19559
|
+
function o(r) {
|
|
19560
|
+
a.value = r.locale, t.value = r.availableLocales, s(r.locale);
|
|
19561
19561
|
}
|
|
19562
|
-
function l(
|
|
19563
|
-
if (!t.value.includes(
|
|
19564
|
-
throw new Error(`Locale "${
|
|
19565
|
-
a.value =
|
|
19562
|
+
function l(r) {
|
|
19563
|
+
if (!t.value.includes(r))
|
|
19564
|
+
throw new Error(`Locale "${r}" is not available`);
|
|
19565
|
+
a.value = r, s(r);
|
|
19566
|
+
}
|
|
19567
|
+
function d() {
|
|
19568
|
+
try {
|
|
19569
|
+
Me().clearLocale();
|
|
19570
|
+
} catch {
|
|
19571
|
+
}
|
|
19566
19572
|
}
|
|
19567
|
-
async function
|
|
19568
|
-
if (!t.value.includes(
|
|
19569
|
-
throw new Error(`Locale "${
|
|
19570
|
-
const
|
|
19571
|
-
l(
|
|
19573
|
+
async function i(r) {
|
|
19574
|
+
if (!t.value.includes(r))
|
|
19575
|
+
throw new Error(`Locale "${r}" is not available`);
|
|
19576
|
+
const p = a.value;
|
|
19577
|
+
l(r);
|
|
19572
19578
|
try {
|
|
19573
|
-
await
|
|
19574
|
-
} catch (
|
|
19575
|
-
throw l(
|
|
19579
|
+
await Me().post("/system/setLocale", { locale: r });
|
|
19580
|
+
} catch (m) {
|
|
19581
|
+
throw l(p), m;
|
|
19576
19582
|
}
|
|
19577
19583
|
}
|
|
19578
|
-
function
|
|
19579
|
-
typeof document < "u" && document.documentElement && document.documentElement.setAttribute("lang",
|
|
19584
|
+
function s(r) {
|
|
19585
|
+
typeof document < "u" && document.documentElement && document.documentElement.setAttribute("lang", r);
|
|
19580
19586
|
try {
|
|
19581
|
-
|
|
19587
|
+
Me().setLocale(r);
|
|
19582
19588
|
} catch {
|
|
19583
19589
|
}
|
|
19584
19590
|
}
|
|
@@ -19587,12 +19593,13 @@ const qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
19587
19593
|
available: t,
|
|
19588
19594
|
hydrate: o,
|
|
19589
19595
|
applyLocal: l,
|
|
19590
|
-
setLocale:
|
|
19596
|
+
setLocale: i,
|
|
19597
|
+
release: d
|
|
19591
19598
|
};
|
|
19592
19599
|
}), gx = ["aria-label"], XI = /* @__PURE__ */ ne({
|
|
19593
19600
|
__name: "LocaleSwitcher",
|
|
19594
19601
|
setup(a) {
|
|
19595
|
-
const t =
|
|
19602
|
+
const t = co();
|
|
19596
19603
|
async function o(l) {
|
|
19597
19604
|
l !== t.current && (await t.setLocale(l), typeof window < "u" && window.location.reload());
|
|
19598
19605
|
}
|
|
@@ -19605,7 +19612,7 @@ const qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
19605
19612
|
"aria-label": n(v)("Сменить локаль")
|
|
19606
19613
|
}, [
|
|
19607
19614
|
w(n(ee), {
|
|
19608
|
-
icon: n(
|
|
19615
|
+
icon: n(mo),
|
|
19609
19616
|
size: 14,
|
|
19610
19617
|
"data-icon": "globe"
|
|
19611
19618
|
}, null, 8, ["icon"]),
|
|
@@ -19643,7 +19650,7 @@ const qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
19643
19650
|
async function g(f = "all", S = 1) {
|
|
19644
19651
|
o.value = !0;
|
|
19645
19652
|
try {
|
|
19646
|
-
const U = await
|
|
19653
|
+
const U = await Me().get(`/notifications/list?type=${f}&page=${S}`);
|
|
19647
19654
|
a.value = U.data, t.value = U.meta.unread_count, d.value = {
|
|
19648
19655
|
page: U.meta.page,
|
|
19649
19656
|
per_page: U.meta.per_page,
|
|
@@ -19655,25 +19662,25 @@ const qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
19655
19662
|
}
|
|
19656
19663
|
}
|
|
19657
19664
|
async function b() {
|
|
19658
|
-
const S = await
|
|
19665
|
+
const S = await Me().get(
|
|
19659
19666
|
"/notifications/unread"
|
|
19660
19667
|
);
|
|
19661
19668
|
t.value = S.count, l.value === "unread" && (a.value = S.data);
|
|
19662
19669
|
}
|
|
19663
19670
|
async function C(f) {
|
|
19664
|
-
await
|
|
19671
|
+
await Me().post("/notifications/markAsRead", { id: f });
|
|
19665
19672
|
const Z = a.value.find((U) => U.id === f);
|
|
19666
19673
|
Z && Z.read_at === null && (Z.read_at = (/* @__PURE__ */ new Date()).toISOString(), t.value = Math.max(0, t.value - 1));
|
|
19667
19674
|
}
|
|
19668
19675
|
async function I() {
|
|
19669
|
-
await
|
|
19676
|
+
await Me().post("/notifications/markAllAsRead");
|
|
19670
19677
|
const S = (/* @__PURE__ */ new Date()).toISOString();
|
|
19671
19678
|
for (const Z of a.value)
|
|
19672
19679
|
Z.read_at === null && (Z.read_at = S);
|
|
19673
19680
|
t.value = 0;
|
|
19674
19681
|
}
|
|
19675
19682
|
async function L(f) {
|
|
19676
|
-
await
|
|
19683
|
+
await Me().post("/notifications/destroy", { id: f });
|
|
19677
19684
|
const Z = a.value.findIndex((U) => U.id === f);
|
|
19678
19685
|
if (Z !== -1) {
|
|
19679
19686
|
const U = a.value[Z].read_at === null;
|
|
@@ -19794,7 +19801,7 @@ const Qe = e1("admin-auth", () => {
|
|
|
19794
19801
|
const f = L?.locale;
|
|
19795
19802
|
if (!(typeof f != "string" || f === ""))
|
|
19796
19803
|
try {
|
|
19797
|
-
const S =
|
|
19804
|
+
const S = co();
|
|
19798
19805
|
if (S.current === f) return;
|
|
19799
19806
|
S.applyLocal(f);
|
|
19800
19807
|
} catch {
|
|
@@ -19814,7 +19821,7 @@ const Qe = e1("admin-auth", () => {
|
|
|
19814
19821
|
return L.every(r);
|
|
19815
19822
|
}
|
|
19816
19823
|
async function k(L) {
|
|
19817
|
-
const f =
|
|
19824
|
+
const f = Me();
|
|
19818
19825
|
try {
|
|
19819
19826
|
const S = await f.post(
|
|
19820
19827
|
"/auth/login",
|
|
@@ -19835,7 +19842,7 @@ const Qe = e1("admin-auth", () => {
|
|
|
19835
19842
|
async function g(L) {
|
|
19836
19843
|
if (o.value === null)
|
|
19837
19844
|
throw new Error("No pending 2FA challenge");
|
|
19838
|
-
const S = await
|
|
19845
|
+
const S = await Me().post("/auth/twoFactorChallenge", {
|
|
19839
19846
|
challenge_token: o.value.challengeToken,
|
|
19840
19847
|
code: L
|
|
19841
19848
|
});
|
|
@@ -19844,7 +19851,7 @@ const Qe = e1("admin-auth", () => {
|
|
|
19844
19851
|
async function b(L) {
|
|
19845
19852
|
if (o.value === null)
|
|
19846
19853
|
throw new Error("No pending 2FA challenge");
|
|
19847
|
-
const S = await
|
|
19854
|
+
const S = await Me().post("/auth/twoFactorRecovery", {
|
|
19848
19855
|
challenge_token: o.value.challengeToken,
|
|
19849
19856
|
recovery_code: L
|
|
19850
19857
|
});
|
|
@@ -19854,11 +19861,15 @@ const Qe = e1("admin-auth", () => {
|
|
|
19854
19861
|
o.value = null;
|
|
19855
19862
|
}
|
|
19856
19863
|
async function I() {
|
|
19857
|
-
const L =
|
|
19864
|
+
const L = Me();
|
|
19858
19865
|
try {
|
|
19859
19866
|
await L.post("/auth/logout");
|
|
19860
19867
|
} finally {
|
|
19861
19868
|
a.value = null, t.value = [], o.value = null;
|
|
19869
|
+
try {
|
|
19870
|
+
co().release();
|
|
19871
|
+
} catch {
|
|
19872
|
+
}
|
|
19862
19873
|
}
|
|
19863
19874
|
}
|
|
19864
19875
|
return {
|
|
@@ -20030,7 +20041,7 @@ const Qe = e1("admin-auth", () => {
|
|
|
20030
20041
|
if (l.value && !m) return a.value;
|
|
20031
20042
|
t.value = !0, o.value = null;
|
|
20032
20043
|
try {
|
|
20033
|
-
const g = await
|
|
20044
|
+
const g = await Me().get("/system/menu");
|
|
20034
20045
|
return a.value = Array.isArray(g.items) ? g.items : [], l.value = !0, a.value;
|
|
20035
20046
|
} catch (k) {
|
|
20036
20047
|
throw o.value = k instanceof Error ? k : new Error(String(k)), k;
|
|
@@ -20077,7 +20088,7 @@ const Qe = e1("admin-auth", () => {
|
|
|
20077
20088
|
return a.value;
|
|
20078
20089
|
t.value = !0, o.value = null;
|
|
20079
20090
|
try {
|
|
20080
|
-
const U = await
|
|
20091
|
+
const U = await Me().get("/system/manifest");
|
|
20081
20092
|
return a.value = U, U;
|
|
20082
20093
|
} catch (Z) {
|
|
20083
20094
|
throw o.value = Z instanceof Error ? Z : new Error(String(Z)), Z;
|
|
@@ -20130,25 +20141,25 @@ const Vx = {
|
|
|
20130
20141
|
"bar-chart-3": c1,
|
|
20131
20142
|
bell: eo,
|
|
20132
20143
|
bookmark: ao,
|
|
20133
|
-
box:
|
|
20144
|
+
box: so,
|
|
20134
20145
|
briefcase: To,
|
|
20135
|
-
calendar:
|
|
20146
|
+
calendar: ho,
|
|
20136
20147
|
"check-circle": Ke,
|
|
20137
20148
|
clock: Eo,
|
|
20138
20149
|
code: Zo,
|
|
20139
20150
|
cog: Wo,
|
|
20140
20151
|
command: Go,
|
|
20141
20152
|
database: Xo,
|
|
20142
|
-
download:
|
|
20143
|
-
file:
|
|
20144
|
-
"file-text":
|
|
20153
|
+
download: po,
|
|
20154
|
+
file: ko,
|
|
20155
|
+
"file-text": ko,
|
|
20145
20156
|
"file-clock": Jo,
|
|
20146
20157
|
files: Yo,
|
|
20147
20158
|
flag: Qo,
|
|
20148
20159
|
folder: a2,
|
|
20149
20160
|
"folder-open": e2,
|
|
20150
20161
|
gauge: t2,
|
|
20151
|
-
globe:
|
|
20162
|
+
globe: mo,
|
|
20152
20163
|
grid: Xe,
|
|
20153
20164
|
"hard-drive": n2,
|
|
20154
20165
|
hash: o2,
|
|
@@ -20172,30 +20183,30 @@ const Vx = {
|
|
|
20172
20183
|
"list-checks": m2,
|
|
20173
20184
|
lock: f2,
|
|
20174
20185
|
"log-out": g2,
|
|
20175
|
-
mail:
|
|
20186
|
+
mail: fo,
|
|
20176
20187
|
map: I2,
|
|
20177
20188
|
"map-pin": M2,
|
|
20178
20189
|
media: to,
|
|
20179
|
-
"message-square":
|
|
20190
|
+
"message-square": go,
|
|
20180
20191
|
monitor: w2,
|
|
20181
20192
|
notifications: eo,
|
|
20182
20193
|
package: b2,
|
|
20183
20194
|
paperclip: L2,
|
|
20184
20195
|
"pie-chart": f1,
|
|
20185
|
-
"refresh-cw":
|
|
20196
|
+
"refresh-cw": Mo,
|
|
20186
20197
|
reports: c1,
|
|
20187
|
-
roles:
|
|
20198
|
+
roles: wo,
|
|
20188
20199
|
search: z1,
|
|
20189
20200
|
send: _2,
|
|
20190
20201
|
server: S2,
|
|
20191
|
-
settings:
|
|
20192
|
-
shield:
|
|
20202
|
+
settings: Io,
|
|
20203
|
+
shield: wo,
|
|
20193
20204
|
"shopping-bag": z2,
|
|
20194
20205
|
"shopping-cart": H2,
|
|
20195
20206
|
sliders: _1,
|
|
20196
20207
|
star: V2,
|
|
20197
20208
|
store: P2,
|
|
20198
|
-
tag:
|
|
20209
|
+
tag: xo,
|
|
20199
20210
|
tags: j2,
|
|
20200
20211
|
terminal: D2,
|
|
20201
20212
|
"trending-up": B2,
|
|
@@ -20241,7 +20252,7 @@ const Px = ["data-depth"], Fx = ["aria-expanded", "title"], jx = { class: "uid-s
|
|
|
20241
20252
|
return i(I) ? !0 : (I.children ?? []).some(s);
|
|
20242
20253
|
}
|
|
20243
20254
|
const r = M(() => s(t.item));
|
|
20244
|
-
|
|
20255
|
+
Ie(
|
|
20245
20256
|
() => r.value,
|
|
20246
20257
|
(I) => {
|
|
20247
20258
|
I && (d.value = !0);
|
|
@@ -20256,7 +20267,7 @@ const Px = ["data-depth"], Fx = ["aria-expanded", "title"], jx = { class: "uid-s
|
|
|
20256
20267
|
return I === 0 ? 0 : Math.max(0.12, 0.85 - (I - 1) * 0.18);
|
|
20257
20268
|
});
|
|
20258
20269
|
function b(I) {
|
|
20259
|
-
const L = q9(I) ??
|
|
20270
|
+
const L = q9(I) ?? so;
|
|
20260
20271
|
return () => Se(ee, { icon: L, size: 16 });
|
|
20261
20272
|
}
|
|
20262
20273
|
function C() {
|
|
@@ -20507,7 +20518,7 @@ const Px = ["data-depth"], Fx = ["aria-expanded", "title"], jx = { class: "uid-s
|
|
|
20507
20518
|
() => Z.value && !m.value && S.value.length === 0
|
|
20508
20519
|
);
|
|
20509
20520
|
let V = null, T = 0;
|
|
20510
|
-
|
|
20521
|
+
Ie(p, (G) => {
|
|
20511
20522
|
if (g.value = 0, V && clearTimeout(V), G.trim().length < 2) {
|
|
20512
20523
|
k.value = [], m.value = !1;
|
|
20513
20524
|
return;
|
|
@@ -20519,7 +20530,7 @@ const Px = ["data-depth"], Fx = ["aria-expanded", "title"], jx = { class: "uid-s
|
|
|
20519
20530
|
async function P(G) {
|
|
20520
20531
|
const te = ++T;
|
|
20521
20532
|
try {
|
|
20522
|
-
const W = await
|
|
20533
|
+
const W = await Me().get("/system/search", {
|
|
20523
20534
|
params: { q: G }
|
|
20524
20535
|
});
|
|
20525
20536
|
if (te !== T) return;
|
|
@@ -20545,7 +20556,7 @@ const Px = ["data-depth"], Fx = ["aria-expanded", "title"], jx = { class: "uid-s
|
|
|
20545
20556
|
const te = S.value.length;
|
|
20546
20557
|
te !== 0 && (g.value = (g.value + G + te) % te);
|
|
20547
20558
|
}
|
|
20548
|
-
return
|
|
20559
|
+
return Ie(C, (G) => {
|
|
20549
20560
|
G && (p.value = "", k.value = [], g.value = 0, Je(() => b.value?.focus()));
|
|
20550
20561
|
}), (G, te) => (c(), z(n(Ow), {
|
|
20551
20562
|
modelValue: C.value,
|
|
@@ -20643,7 +20654,7 @@ const Px = ["data-depth"], Fx = ["aria-expanded", "title"], jx = { class: "uid-s
|
|
|
20643
20654
|
k.value = T, T && !P && f(!0), !T && P && f(!1);
|
|
20644
20655
|
}
|
|
20645
20656
|
const C = l1();
|
|
20646
|
-
|
|
20657
|
+
Ie(
|
|
20647
20658
|
() => C.fullPath,
|
|
20648
20659
|
() => {
|
|
20649
20660
|
k.value && f(!0);
|
|
@@ -20658,7 +20669,7 @@ const Px = ["data-depth"], Fx = ["aria-expanded", "title"], jx = { class: "uid-s
|
|
|
20658
20669
|
function S() {
|
|
20659
20670
|
p("exit-impersonation");
|
|
20660
20671
|
}
|
|
20661
|
-
|
|
20672
|
+
Ie(
|
|
20662
20673
|
() => o.impersonation,
|
|
20663
20674
|
(T) => {
|
|
20664
20675
|
typeof document > "u" || (T !== null ? document.documentElement.setAttribute(G9, "true") : document.documentElement.removeAttribute(G9));
|
|
@@ -20782,7 +20793,7 @@ const Px = ["data-depth"], Fx = ["aria-expanded", "title"], jx = { class: "uid-s
|
|
|
20782
20793
|
setup(a) {
|
|
20783
20794
|
const t = pI(), o = A(!1);
|
|
20784
20795
|
let l = null;
|
|
20785
|
-
|
|
20796
|
+
Ie(
|
|
20786
20797
|
() => t.isLoading,
|
|
20787
20798
|
(i) => {
|
|
20788
20799
|
i ? (l !== null && (clearTimeout(l), l = null), o.value = !0) : l = setTimeout(() => {
|
|
@@ -20864,7 +20875,7 @@ const Px = ["data-depth"], Fx = ["aria-expanded", "title"], jx = { class: "uid-s
|
|
|
20864
20875
|
}
|
|
20865
20876
|
function m(L) {
|
|
20866
20877
|
const f = L.type.toLowerCase();
|
|
20867
|
-
return f.includes("import") || f.includes("finished") || f.includes("success") ? Ke : f.includes("comment") || f.includes("message") || f.includes("mention") ?
|
|
20878
|
+
return f.includes("import") || f.includes("finished") || f.includes("success") ? Ke : f.includes("comment") || f.includes("message") || f.includes("mention") ? go : f.includes("user") || f.includes("member") || f.includes("role") ? R2 : f.includes("warning") || f.includes("schedule") ? S1 : f.includes("delete") || f.includes("failed") || f.includes("error") ? Ue : Ke;
|
|
20868
20879
|
}
|
|
20869
20880
|
function k(L) {
|
|
20870
20881
|
const f = L.type.toLowerCase();
|
|
@@ -20885,7 +20896,7 @@ const Px = ["data-depth"], Fx = ["aria-expanded", "title"], jx = { class: "uid-s
|
|
|
20885
20896
|
const f = t.meta?.total ?? t.items.length, S = t.unreadCount, Z = Math.max(0, f - S);
|
|
20886
20897
|
return { all: f, unread: S, read: Z };
|
|
20887
20898
|
});
|
|
20888
|
-
|
|
20899
|
+
Ie(o, async (L) => {
|
|
20889
20900
|
L ? (await t.load(t.lastFilter, 1).catch(() => {
|
|
20890
20901
|
}), document.addEventListener("keydown", I)) : document.removeEventListener("keydown", I);
|
|
20891
20902
|
});
|
|
@@ -21025,7 +21036,7 @@ function B9() {
|
|
|
21025
21036
|
const Eb = { class: "admin-page-host" }, Zb = /* @__PURE__ */ ne({
|
|
21026
21037
|
__name: "AdminApp",
|
|
21027
21038
|
setup(a) {
|
|
21028
|
-
const t = l1(), o = Qe(), l = B9(), d =
|
|
21039
|
+
const t = l1(), o = Qe(), l = B9(), d = co();
|
|
21029
21040
|
Ww(M(() => d.current === "en" ? Gw : Nw));
|
|
21030
21041
|
const i = M(() => {
|
|
21031
21042
|
const b = o.user;
|
|
@@ -21040,7 +21051,7 @@ const Eb = { class: "admin-page-host" }, Zb = /* @__PURE__ */ ne({
|
|
|
21040
21051
|
}
|
|
21041
21052
|
}
|
|
21042
21053
|
const r = M(() => !(t.meta?.fullscreen === !0 || t.meta?.kind === "auth" || t.name === "admin.notFound")), m = JI(), k = A(!1);
|
|
21043
|
-
|
|
21054
|
+
Ie(m, (b) => {
|
|
21044
21055
|
b && Je(() => k.value = !0);
|
|
21045
21056
|
}, { immediate: !0 });
|
|
21046
21057
|
const g = M(() => k.value ? "admin-page" : "admin-boot");
|
|
@@ -21091,7 +21102,7 @@ const Eb = { class: "admin-page-host" }, Zb = /* @__PURE__ */ ne({
|
|
|
21091
21102
|
async function p(P) {
|
|
21092
21103
|
a.value = P, i.value = !0;
|
|
21093
21104
|
try {
|
|
21094
|
-
const F = await
|
|
21105
|
+
const F = await Me().get(
|
|
21095
21106
|
`/dashboard/get?key=${encodeURIComponent(P)}`
|
|
21096
21107
|
);
|
|
21097
21108
|
s.value = F.period ?? null;
|
|
@@ -21119,7 +21130,7 @@ const Eb = { class: "admin-page-host" }, Zb = /* @__PURE__ */ ne({
|
|
|
21119
21130
|
if (a.value !== null) {
|
|
21120
21131
|
d.value = !0;
|
|
21121
21132
|
try {
|
|
21122
|
-
const P =
|
|
21133
|
+
const P = Me(), B = o.value.map((F, O) => ({
|
|
21123
21134
|
slug: F.slug,
|
|
21124
21135
|
size: F.size,
|
|
21125
21136
|
position: O,
|
|
@@ -21137,7 +21148,7 @@ const Eb = { class: "admin-page-host" }, Zb = /* @__PURE__ */ ne({
|
|
|
21137
21148
|
if (a.value !== null) {
|
|
21138
21149
|
d.value = !0;
|
|
21139
21150
|
try {
|
|
21140
|
-
await
|
|
21151
|
+
await Me().post("/dashboard/reset", { key: a.value }), l.value = [], o.value = [], t.value = !1;
|
|
21141
21152
|
} finally {
|
|
21142
21153
|
d.value = !1;
|
|
21143
21154
|
}
|
|
@@ -21176,7 +21187,7 @@ const Eb = { class: "admin-page-host" }, Zb = /* @__PURE__ */ ne({
|
|
|
21176
21187
|
async function T(P, B) {
|
|
21177
21188
|
s.value = B;
|
|
21178
21189
|
try {
|
|
21179
|
-
await
|
|
21190
|
+
await Me().post("/dashboard/savePeriod", { key: P, period: B });
|
|
21180
21191
|
} catch {
|
|
21181
21192
|
}
|
|
21182
21193
|
}
|
|
@@ -21291,7 +21302,7 @@ const _o = R9(), Wb = _o.register, Gb = _o.get, Nb = _o.has, Xb = _o.list, EF =
|
|
|
21291
21302
|
"data-drag-handle": "true"
|
|
21292
21303
|
}, [
|
|
21293
21304
|
w(n(ee), {
|
|
21294
|
-
icon: n(
|
|
21305
|
+
icon: n(vo),
|
|
21295
21306
|
size: 14
|
|
21296
21307
|
}, null, 8, ["icon"])
|
|
21297
21308
|
], 8, Yb),
|
|
@@ -21303,7 +21314,7 @@ const _o = R9(), Wb = _o.register, Gb = _o.get, Nb = _o.has, Xb = _o.list, EF =
|
|
|
21303
21314
|
onClick: o[0] || (o[0] = (l) => t.$emit("configure"))
|
|
21304
21315
|
}, [
|
|
21305
21316
|
w(n(ee), {
|
|
21306
|
-
icon: n(
|
|
21317
|
+
icon: n(Io),
|
|
21307
21318
|
size: 14
|
|
21308
21319
|
}, null, 8, ["icon"])
|
|
21309
21320
|
], 8, Qb),
|
|
@@ -21378,7 +21389,7 @@ const _o = R9(), Wb = _o.register, Gb = _o.get, Nb = _o.has, Xb = _o.list, EF =
|
|
|
21378
21389
|
const i = M(() => Xb()), s = A(""), r = A(""), p = A("6"), m = A(`# Новая заметка
|
|
21379
21390
|
|
|
21380
21391
|
Текст…`), k = A("LABEL"), g = A("0"), b = A("50"), C = A(v("Янв, Фев, Мар, Апр")), I = A("10, 20, 15, 30"), L = A(""), f = A("5");
|
|
21381
|
-
|
|
21392
|
+
Ie(
|
|
21382
21393
|
() => o.open,
|
|
21383
21394
|
(B) => {
|
|
21384
21395
|
if (B)
|
|
@@ -21750,7 +21761,7 @@ const _o = R9(), Wb = _o.register, Gb = _o.get, Nb = _o.has, Xb = _o.list, EF =
|
|
|
21750
21761
|
function G() {
|
|
21751
21762
|
B !== null && (clearInterval(B), B = null);
|
|
21752
21763
|
}
|
|
21753
|
-
|
|
21764
|
+
Ie(
|
|
21754
21765
|
() => F.value,
|
|
21755
21766
|
() => O()
|
|
21756
21767
|
), Oe(async () => {
|
|
@@ -21761,7 +21772,7 @@ const _o = R9(), Wb = _o.register, Gb = _o.get, Nb = _o.has, Xb = _o.list, EF =
|
|
|
21761
21772
|
}), i.period && (U.value = i.period, await P())), O();
|
|
21762
21773
|
}), z9(() => {
|
|
21763
21774
|
G();
|
|
21764
|
-
}),
|
|
21775
|
+
}), Ie(
|
|
21765
21776
|
() => m.value,
|
|
21766
21777
|
async (Y, ie) => {
|
|
21767
21778
|
Y !== ie && (Y ? (await i.openDashboard(Y).catch(() => {
|
|
@@ -21849,18 +21860,18 @@ const _o = R9(), Wb = _o.register, Gb = _o.get, Nb = _o.has, Xb = _o.list, EF =
|
|
|
21849
21860
|
...Y
|
|
21850
21861
|
});
|
|
21851
21862
|
}
|
|
21852
|
-
const _e = A(null), Ge = A(null),
|
|
21863
|
+
const _e = A(null), Ge = A(null), lo = A(!1);
|
|
21853
21864
|
function H1(Y) {
|
|
21854
21865
|
if (!i.editMode) {
|
|
21855
|
-
|
|
21866
|
+
lo.value = !1;
|
|
21856
21867
|
return;
|
|
21857
21868
|
}
|
|
21858
21869
|
const ie = Y.target;
|
|
21859
|
-
|
|
21870
|
+
lo.value = !!ie?.closest('[data-drag-handle="true"]');
|
|
21860
21871
|
}
|
|
21861
21872
|
function y1(Y, ie) {
|
|
21862
21873
|
if (i.editMode && ie.dataTransfer !== null) {
|
|
21863
|
-
if (!
|
|
21874
|
+
if (!lo.value) {
|
|
21864
21875
|
ie.preventDefault();
|
|
21865
21876
|
return;
|
|
21866
21877
|
}
|
|
@@ -21868,7 +21879,7 @@ const _o = R9(), Wb = _o.register, Gb = _o.get, Nb = _o.has, Xb = _o.list, EF =
|
|
|
21868
21879
|
}
|
|
21869
21880
|
}
|
|
21870
21881
|
function $9() {
|
|
21871
|
-
|
|
21882
|
+
lo.value = !1, _e.value = null, Ge.value = null;
|
|
21872
21883
|
}
|
|
21873
21884
|
function T9(Y, ie) {
|
|
21874
21885
|
i.editMode && _e.value !== null && (ie.preventDefault(), Ge.value !== Y && (Ge.value = Y));
|
|
@@ -21950,7 +21961,7 @@ const _o = R9(), Wb = _o.register, Gb = _o.get, Nb = _o.has, Xb = _o.list, EF =
|
|
|
21950
21961
|
}, {
|
|
21951
21962
|
prepend: x(() => [
|
|
21952
21963
|
w(n(ee), {
|
|
21953
|
-
icon: n(
|
|
21964
|
+
icon: n(ho),
|
|
21954
21965
|
size: 14
|
|
21955
21966
|
}, null, 8, ["icon"])
|
|
21956
21967
|
]),
|
|
@@ -21987,7 +21998,7 @@ const _o = R9(), Wb = _o.register, Gb = _o.get, Nb = _o.has, Xb = _o.list, EF =
|
|
|
21987
21998
|
}, {
|
|
21988
21999
|
prepend: x(() => [
|
|
21989
22000
|
w(n(ee), {
|
|
21990
|
-
icon: n(
|
|
22001
|
+
icon: n(po),
|
|
21991
22002
|
size: 14
|
|
21992
22003
|
}, null, 8, ["icon"])
|
|
21993
22004
|
]),
|
|
@@ -22139,7 +22150,7 @@ const _o = R9(), Wb = _o.register, Gb = _o.get, Nb = _o.has, Xb = _o.list, EF =
|
|
|
22139
22150
|
), r = M(
|
|
22140
22151
|
() => s.value[0]?.slug ?? null
|
|
22141
22152
|
), p = QI();
|
|
22142
|
-
return
|
|
22153
|
+
return Ie(
|
|
22143
22154
|
r,
|
|
22144
22155
|
(m) => {
|
|
22145
22156
|
m && p.openDashboard(m);
|
|
@@ -22273,7 +22284,7 @@ const _o = R9(), Wb = _o.register, Gb = _o.get, Nb = _o.has, Xb = _o.list, EF =
|
|
|
22273
22284
|
async function U(F, O) {
|
|
22274
22285
|
a.value !== F && (C.value = null), a.value = F, k.value = !0, b.value = null, m.value = {};
|
|
22275
22286
|
try {
|
|
22276
|
-
const te = await
|
|
22287
|
+
const te = await Me().get(`/${F}/state`, {
|
|
22277
22288
|
params: O
|
|
22278
22289
|
});
|
|
22279
22290
|
t.value = te.name, o.value = te.description, l.value = f(te.layout), d.value = te.command_bar, i.value = te.permissions, s.value = te.etag, L(r.value, te.state), L(p.value, te.state);
|
|
@@ -22290,7 +22301,7 @@ const _o = R9(), Wb = _o.register, Gb = _o.get, Nb = _o.has, Xb = _o.list, EF =
|
|
|
22290
22301
|
throw new Error("Already running a method");
|
|
22291
22302
|
g.value = !0, b.value = null, m.value = {}, C.value = null;
|
|
22292
22303
|
try {
|
|
22293
|
-
const G =
|
|
22304
|
+
const G = Me(), te = O ?? r.value, W = await G.post(`/${a.value}/runMethod`, {
|
|
22294
22305
|
method: F,
|
|
22295
22306
|
payload: te
|
|
22296
22307
|
});
|
|
@@ -22418,7 +22429,7 @@ const ow = /* @__PURE__ */ ne({
|
|
|
22418
22429
|
}, null, 8, ["type", "name"]))
|
|
22419
22430
|
], 64)) : H("", !0);
|
|
22420
22431
|
}
|
|
22421
|
-
}),
|
|
22432
|
+
}), bo = /* @__PURE__ */ ne({
|
|
22422
22433
|
__name: "LayoutRenderer",
|
|
22423
22434
|
props: {
|
|
22424
22435
|
node: {}
|
|
@@ -22462,7 +22473,7 @@ const ow = /* @__PURE__ */ ne({
|
|
|
22462
22473
|
},
|
|
22463
22474
|
setup(a) {
|
|
22464
22475
|
const t = a, o = l1(), l = IC(), d = M(() => t.slug ? t.slug : String(o.params.slug ?? o.meta?.slug ?? "")), i = V9(l.state, l.errors);
|
|
22465
|
-
tw(l.state),
|
|
22476
|
+
tw(l.state), Ie(
|
|
22466
22477
|
() => l.errors,
|
|
22467
22478
|
(k) => {
|
|
22468
22479
|
i.setErrors({ ...k });
|
|
@@ -22475,7 +22486,7 @@ const ow = /* @__PURE__ */ ne({
|
|
|
22475
22486
|
Oe(async () => {
|
|
22476
22487
|
d.value && await l.load(d.value).catch(() => {
|
|
22477
22488
|
});
|
|
22478
|
-
}),
|
|
22489
|
+
}), Ie(
|
|
22479
22490
|
() => d.value,
|
|
22480
22491
|
async (k) => {
|
|
22481
22492
|
k ? await l.load(k).catch(() => {
|
|
@@ -22547,7 +22558,7 @@ const ow = /* @__PURE__ */ ne({
|
|
|
22547
22558
|
class: "admin-screen-page__body"
|
|
22548
22559
|
}, {
|
|
22549
22560
|
default: x(() => [
|
|
22550
|
-
(c(!0), h(X, null, ae(s.value, (b, C) => (c(), z(
|
|
22561
|
+
(c(!0), h(X, null, ae(s.value, (b, C) => (c(), z(bo, {
|
|
22551
22562
|
key: C,
|
|
22552
22563
|
node: b
|
|
22553
22564
|
}, null, 8, ["node"]))), 128))
|
|
@@ -22829,7 +22840,7 @@ const ow = /* @__PURE__ */ ne({
|
|
|
22829
22840
|
}
|
|
22830
22841
|
await l.push({ name: t.homeRouteName });
|
|
22831
22842
|
}
|
|
22832
|
-
return
|
|
22843
|
+
return Ie(
|
|
22833
22844
|
() => o.isAuthenticated,
|
|
22834
22845
|
(k) => {
|
|
22835
22846
|
k && m();
|
|
@@ -22957,7 +22968,7 @@ const ow = /* @__PURE__ */ ne({
|
|
|
22957
22968
|
}, {
|
|
22958
22969
|
prepend: x(() => [
|
|
22959
22970
|
w(n(ee), {
|
|
22960
|
-
icon: n(
|
|
22971
|
+
icon: n(fo),
|
|
22961
22972
|
size: 14
|
|
22962
22973
|
}, null, 8, ["icon"])
|
|
22963
22974
|
]),
|
|
@@ -23122,7 +23133,7 @@ const ow = /* @__PURE__ */ ne({
|
|
|
23122
23133
|
d.value = !0;
|
|
23123
23134
|
}, r);
|
|
23124
23135
|
try {
|
|
23125
|
-
const E =
|
|
23136
|
+
const E = Me(), ce = T(q), ye = await E.post(`/${a.value}/search`, ce);
|
|
23126
23137
|
t.value = ye.data, o.value = ye.meta;
|
|
23127
23138
|
} catch (E) {
|
|
23128
23139
|
throw i.value = E instanceof Error ? E : new Error(String(E)), E;
|
|
@@ -23421,7 +23432,7 @@ const qI = ne({
|
|
|
23421
23432
|
emits: ["update:search", "apply-filter", "reset", "group-by", "columns-visibility", "save-view"],
|
|
23422
23433
|
setup(a, { emit: t }) {
|
|
23423
23434
|
const o = a, l = t, d = A(o.search);
|
|
23424
|
-
|
|
23435
|
+
Ie(
|
|
23425
23436
|
() => o.search,
|
|
23426
23437
|
(_) => {
|
|
23427
23438
|
d.value = _;
|
|
@@ -24003,7 +24014,7 @@ const qI = ne({
|
|
|
24003
24014
|
async function f() {
|
|
24004
24015
|
r.value = !0, p.value = null;
|
|
24005
24016
|
try {
|
|
24006
|
-
const q =
|
|
24017
|
+
const q = Me(), E = {};
|
|
24007
24018
|
m.value.trim() !== "" && (E.q = m.value.trim());
|
|
24008
24019
|
const ce = await q.post(`/${t.slug}/tree`, E);
|
|
24009
24020
|
i.value = ce.data, s.value = ce.meta.total;
|
|
@@ -24084,13 +24095,13 @@ const qI = ne({
|
|
|
24084
24095
|
async function _() {
|
|
24085
24096
|
if (F.value !== null && confirm(v("Удалить выбранный узел?")))
|
|
24086
24097
|
try {
|
|
24087
|
-
await
|
|
24098
|
+
await Me().post(`/${B.value}/delete`, { id: F.value }), g.value = [], await f();
|
|
24088
24099
|
} catch (q) {
|
|
24089
24100
|
p.value = q instanceof Error ? q : new Error(String(q));
|
|
24090
24101
|
}
|
|
24091
24102
|
}
|
|
24092
24103
|
let j = null;
|
|
24093
|
-
return
|
|
24104
|
+
return Ie(m, () => {
|
|
24094
24105
|
j !== null && clearTimeout(j), j = setTimeout(() => {
|
|
24095
24106
|
f();
|
|
24096
24107
|
}, 300);
|
|
@@ -24372,17 +24383,17 @@ const qI = ne({
|
|
|
24372
24383
|
m.start();
|
|
24373
24384
|
const { getAdminClient: Q } = await Promise.resolve().then(() => qe), se = Q(), Ae = new FormData();
|
|
24374
24385
|
Ae.append("file", K), Ae.append("resource", i.slug);
|
|
24375
|
-
const
|
|
24386
|
+
const ro = await se.post(
|
|
24376
24387
|
"/import/upload",
|
|
24377
24388
|
Ae
|
|
24378
24389
|
), Vo = await se.post(
|
|
24379
24390
|
"/import/preview",
|
|
24380
|
-
{ resource: i.slug, upload_id:
|
|
24391
|
+
{ resource: i.slug, upload_id: ro.upload_id }
|
|
24381
24392
|
), W9 = await se.post(
|
|
24382
24393
|
"/import/start",
|
|
24383
24394
|
{
|
|
24384
24395
|
resource: i.slug,
|
|
24385
|
-
upload_id:
|
|
24396
|
+
upload_id: ro.upload_id,
|
|
24386
24397
|
mapping: Vo.mapping
|
|
24387
24398
|
}
|
|
24388
24399
|
), Y2 = await F(se, W9.process_id), Q2 = Y2.imported ?? 0, xI = Y2.failed ?? 0;
|
|
@@ -24491,7 +24502,7 @@ const qI = ne({
|
|
|
24491
24502
|
function ue($, N) {
|
|
24492
24503
|
const K = de(N) ?? {}, Q = ce.value[$]?.meta?.template ?? "";
|
|
24493
24504
|
if (!Q) return "";
|
|
24494
|
-
const se = Q.replace(/\{(\w+)\}/g, (Ae,
|
|
24505
|
+
const se = Q.replace(/\{(\w+)\}/g, (Ae, ro) => String(K[ro] ?? "")).replace(/:value/g, String(K[$] ?? ""));
|
|
24495
24506
|
return se.includes("{") || se === "" ? "" : se;
|
|
24496
24507
|
}
|
|
24497
24508
|
function ke($) {
|
|
@@ -24505,7 +24516,7 @@ const qI = ne({
|
|
|
24505
24516
|
() => g.value?.filters ?? []
|
|
24506
24517
|
), Ge = M(
|
|
24507
24518
|
() => g.value?.columns ?? []
|
|
24508
|
-
),
|
|
24519
|
+
), lo = M(() => `Поиск по ${(g.value?.label ?? i.slug).toLowerCase()}…`), H1 = A(null), y1 = A({});
|
|
24509
24520
|
async function $9($, N) {
|
|
24510
24521
|
await r.setFilter($, N);
|
|
24511
24522
|
}
|
|
@@ -24589,7 +24600,7 @@ const qI = ne({
|
|
|
24589
24600
|
}
|
|
24590
24601
|
const ve = A(null), be = A(0);
|
|
24591
24602
|
let Be = null;
|
|
24592
|
-
|
|
24603
|
+
Ie(
|
|
24593
24604
|
() => r.loading,
|
|
24594
24605
|
($, N) => {
|
|
24595
24606
|
N && !$ && r.error === null && (ve.value = Date.now());
|
|
@@ -24629,7 +24640,7 @@ const qI = ne({
|
|
|
24629
24640
|
Oe(async () => {
|
|
24630
24641
|
r.setSlug(i.slug), p.manifest === null && await p.load().catch(() => {
|
|
24631
24642
|
}), V1(), await r1();
|
|
24632
|
-
}),
|
|
24643
|
+
}), Ie(
|
|
24633
24644
|
() => i.slug,
|
|
24634
24645
|
async ($, N) => {
|
|
24635
24646
|
$ !== N && (r.setSlug($), t1.value = null, V1(), await r1());
|
|
@@ -24728,8 +24739,8 @@ const qI = ne({
|
|
|
24728
24739
|
if (N.preventDefault(), !O.value || k1.value === null) return;
|
|
24729
24740
|
const K = k1.value, Q = J2.value === "after" ? $ + 1 : $, se = Q > K ? Q - 1 : Q;
|
|
24730
24741
|
if (k1.value = null, j1.value = null, K === se) return;
|
|
24731
|
-
const Ae = [...r.items], [
|
|
24732
|
-
Ae.splice(se, 0,
|
|
24742
|
+
const Ae = [...r.items], [ro] = Ae.splice(K, 1);
|
|
24743
|
+
Ae.splice(se, 0, ro), r.items = Ae;
|
|
24733
24744
|
try {
|
|
24734
24745
|
m.start();
|
|
24735
24746
|
const { getAdminClient: Vo } = await Promise.resolve().then(() => qe), W9 = Vo(), Y2 = Ae.map((Q2) => r.rowId(Q2));
|
|
@@ -24997,7 +25008,7 @@ const qI = ne({
|
|
|
24997
25008
|
])) : Ce.value ? (c(), z(G_, {
|
|
24998
25009
|
key: 1,
|
|
24999
25010
|
search: n(r).search,
|
|
25000
|
-
"search-placeholder":
|
|
25011
|
+
"search-placeholder": lo.value,
|
|
25001
25012
|
filters: _e.value,
|
|
25002
25013
|
values: n(r).filters,
|
|
25003
25014
|
columns: Ge.value,
|
|
@@ -25062,7 +25073,7 @@ const qI = ne({
|
|
|
25062
25073
|
]),
|
|
25063
25074
|
_: 1
|
|
25064
25075
|
}, 8, ["title", "description"])) : (c(), h("div", _S, [
|
|
25065
|
-
w(n(
|
|
25076
|
+
w(n(Co), {
|
|
25066
25077
|
columns: j.value,
|
|
25067
25078
|
data: n(r).items,
|
|
25068
25079
|
"sort-key": n(r).sortKey,
|
|
@@ -25106,7 +25117,7 @@ const qI = ne({
|
|
|
25106
25117
|
)
|
|
25107
25118
|
}, [
|
|
25108
25119
|
w(n(ee), {
|
|
25109
|
-
icon: n(
|
|
25120
|
+
icon: n(vo),
|
|
25110
25121
|
size: 14
|
|
25111
25122
|
}, null, 8, ["icon"])
|
|
25112
25123
|
], 42, SS)) : K.key === zI ? (c(), h("div", qS, [
|
|
@@ -25243,7 +25254,7 @@ const qI = ne({
|
|
|
25243
25254
|
async function Z(O, G, te = "edit") {
|
|
25244
25255
|
a.value = O, t.value = te, o.value = G, s.value = !0, m.value = null, i.value = {};
|
|
25245
25256
|
try {
|
|
25246
|
-
const J = await
|
|
25257
|
+
const J = await Me().get(`/${O}/read`, {
|
|
25247
25258
|
params: { id: G }
|
|
25248
25259
|
});
|
|
25249
25260
|
L(l.value, J.record), L(d.value, J.record);
|
|
@@ -25274,7 +25285,7 @@ const qI = ne({
|
|
|
25274
25285
|
if (r.value) throw new Error("Already saving");
|
|
25275
25286
|
r.value = !0, m.value = null, i.value = {};
|
|
25276
25287
|
try {
|
|
25277
|
-
const O =
|
|
25288
|
+
const O = Me(), G = t.value === "create" ? `/${a.value}/create` : `/${a.value}/update`, te = t.value === "create" ? l.value : { id: o.value, ...l.value }, W = await O.post(G, te), J = W.record?.id ?? W.id;
|
|
25278
25289
|
if (J === void 0)
|
|
25279
25290
|
throw new Error("save: backend response does not contain record.id");
|
|
25280
25291
|
return o.value = J, L(d.value, { ...l.value }), t.value = "edit", Ee().refresh().catch(() => {
|
|
@@ -25291,7 +25302,7 @@ const qI = ne({
|
|
|
25291
25302
|
if (p.value) throw new Error("Already deleting");
|
|
25292
25303
|
p.value = !0, m.value = null;
|
|
25293
25304
|
try {
|
|
25294
|
-
await
|
|
25305
|
+
await Me().post(`/${a.value}/delete`, { id: o.value }), Ee().refresh().catch(() => {
|
|
25295
25306
|
});
|
|
25296
25307
|
} catch (O) {
|
|
25297
25308
|
throw O instanceof Error && (m.value = O), O;
|
|
@@ -25352,7 +25363,7 @@ const qI = ne({
|
|
|
25352
25363
|
key: r,
|
|
25353
25364
|
style: Ve({ gridColumn: `span ${o(s) || 12}` })
|
|
25354
25365
|
}, [
|
|
25355
|
-
w(
|
|
25366
|
+
w(bo, { node: s }, null, 8, ["node"])
|
|
25356
25367
|
], 4))), 128))
|
|
25357
25368
|
]),
|
|
25358
25369
|
_: 1
|
|
@@ -25363,7 +25374,7 @@ const qI = ne({
|
|
|
25363
25374
|
align: "stretch"
|
|
25364
25375
|
}, {
|
|
25365
25376
|
default: x(() => [
|
|
25366
|
-
(c(!0), h(X, null, ae(a.items, (s, r) => (c(), z(
|
|
25377
|
+
(c(!0), h(X, null, ae(a.items, (s, r) => (c(), z(bo, {
|
|
25367
25378
|
key: r,
|
|
25368
25379
|
node: s
|
|
25369
25380
|
}, null, 8, ["node"]))), 128))
|
|
@@ -25403,7 +25414,7 @@ const qI = ne({
|
|
|
25403
25414
|
o.errors,
|
|
25404
25415
|
t.id !== null && t.id !== void 0 ? "update" : "create"
|
|
25405
25416
|
);
|
|
25406
|
-
|
|
25417
|
+
Ie(
|
|
25407
25418
|
() => o.errors,
|
|
25408
25419
|
(V) => {
|
|
25409
25420
|
r.setErrors({ ...V });
|
|
@@ -25444,7 +25455,7 @@ const qI = ne({
|
|
|
25444
25455
|
l.manifest === null && await l.load().catch(() => {
|
|
25445
25456
|
}), t.id !== null && t.id !== void 0 ? await o.load(t.slug, t.id, "edit").catch(() => {
|
|
25446
25457
|
}) : (o.prepareCreate(t.slug, s()), b());
|
|
25447
|
-
}),
|
|
25458
|
+
}), Ie(
|
|
25448
25459
|
() => [t.slug, t.id],
|
|
25449
25460
|
async ([V, T]) => {
|
|
25450
25461
|
T != null ? await o.load(V, T, "edit").catch(() => {
|
|
@@ -25785,10 +25796,10 @@ const qI = ne({
|
|
|
25785
25796
|
l.value = !1;
|
|
25786
25797
|
}
|
|
25787
25798
|
}
|
|
25788
|
-
Oe(i),
|
|
25799
|
+
Oe(i), Ie(() => [t.subjectType, t.subjectId], i);
|
|
25789
25800
|
const s = M(() => o.value.length > 0);
|
|
25790
25801
|
function r(I) {
|
|
25791
|
-
return I === "created" ? Te : I === "deleted" || I === "destroyed" ? Ue : I.includes("tag") || I.includes("label") ?
|
|
25802
|
+
return I === "created" ? Te : I === "deleted" || I === "destroyed" ? Ue : I.includes("tag") || I.includes("label") ? xo : Fe;
|
|
25792
25803
|
}
|
|
25793
25804
|
function p(I) {
|
|
25794
25805
|
return {
|
|
@@ -25971,7 +25982,7 @@ const qI = ne({
|
|
|
25971
25982
|
l.manifest === null && await l.load().catch(() => {
|
|
25972
25983
|
}), await o.load(t.slug, t.id, "view").catch(() => {
|
|
25973
25984
|
});
|
|
25974
|
-
}),
|
|
25985
|
+
}), Ie(
|
|
25975
25986
|
() => [t.slug, t.id],
|
|
25976
25987
|
async ([P, B]) => {
|
|
25977
25988
|
await o.load(P, B, "view").catch(() => {
|
|
@@ -26172,7 +26183,7 @@ const qI = ne({
|
|
|
26172
26183
|
}), Kq = [0.2, 3 / 8, 5 / 9, 2 / 3], Jq = (a, t) => (o) => {
|
|
26173
26184
|
const l = 4 * a + o - 4, d = "*-04-39?2$%%$%%'$%''%'''%')(%'))%(++'(++'(+.'+-.',/3',33)-/5)-43).36)058*18<+37<+4:<,4:E,5<A-7>C/8@F/:EH/<EK0=FM1?IP2@KS3BNV4DPY5FS\\6HV_6IXb7K[e8N^i9Pam;Rdp<Tgt".charCodeAt(l) - 35, i = l > 8 ? d : 1, s = t / i | 0, r = t % i, p = i - r, m = l > 8 ? s * Kq[o] + (a > 5) & -2 : d, k = s - m;
|
|
26174
26185
|
return { t: p * k + r * k + r, o: [[p, k], [r, k + 1]], i: m };
|
|
26175
|
-
}, Yq = { min: 0, L: 0, M: 1, Q: 2, H: 3, max: 3 },
|
|
26186
|
+
}, Yq = { min: 0, L: 0, M: 1, Q: 2, H: 3, max: 3 }, io = (a) => new Uint8Array(a), jo = (a) => {
|
|
26176
26187
|
const t = new Error(`lean-qr error ${a}`);
|
|
26177
26188
|
throw t.code = a, t;
|
|
26178
26189
|
}, nc = (a) => "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:".indexOf(a), nI = (a) => a.charCodeAt(0), lw = (...a) => (t, o) => a.forEach((l) => l(t, o)), rw = (a) => (t) => {
|
|
@@ -26189,14 +26200,14 @@ const qI = ne({
|
|
|
26189
26200
|
let l = 0;
|
|
26190
26201
|
for (; l < a.length - 1; l += 2) t.push(45 * nc(a[l]) + nc(a[l + 1]), 11);
|
|
26191
26202
|
l < a.length && t.push(nc(a[l]), 6);
|
|
26192
|
-
}, (a) => nc(a) >= 0, (a, t) => 13 + 2 * (t > 26) + 2 * (t > 9) + 5.5 * a),
|
|
26193
|
-
|
|
26194
|
-
const gI = zo(
|
|
26203
|
+
}, (a) => nc(a) >= 0, (a, t) => 13 + 2 * (t > 26) + 2 * (t > 9) + 5.5 * a), Lo = zo((a) => fI([...a].map(nI)), (a) => nI(a) < 128, (a, t) => 12 + 8 * (t > 9) + 8 * a);
|
|
26204
|
+
Lo._ = !0, Lo.u = !0;
|
|
26205
|
+
const gI = zo(Lo, (a) => nI(a) < 256, Lo.l, 3);
|
|
26195
26206
|
gI._ = !0;
|
|
26196
26207
|
const PI = new TextEncoder(), MI = zo((a) => fI(PI.encode(a)), () => 1, 0, 26, (a, t) => 12 + 8 * (t > 9) + 8 * PI.encode(a).length);
|
|
26197
26208
|
MI._ = !0;
|
|
26198
26209
|
let oI = () => {
|
|
26199
|
-
const a = /* @__PURE__ */ new Map(), t = new TextDecoder("sjis"), o =
|
|
26210
|
+
const a = /* @__PURE__ */ new Map(), t = new TextDecoder("sjis"), o = io(2);
|
|
26200
26211
|
for (let l = 0; l < 7973; ++l) o[0] = l / 192 + 129 + 64 * (l > 5951), o[1] = l % 192 + 64, a.set(t.decode(o), l);
|
|
26201
26212
|
return a.delete("�"), oI = () => a, a;
|
|
26202
26213
|
};
|
|
@@ -26205,7 +26216,7 @@ const II = zo((a) => (t, o) => {
|
|
|
26205
26216
|
for (const l of a) t.push(oI().get(l), 13);
|
|
26206
26217
|
}, (a) => oI().has(a), (a, t) => 12 + 2 * (t > 26) + 2 * (t > 9) + 13 * a);
|
|
26207
26218
|
II._ = !0;
|
|
26208
|
-
const hw = [dw, sw,
|
|
26219
|
+
const hw = [dw, sw, Lo, gI, II, MI], Qq = { auto: (a, { modes: t = hw } = {}) => (o, l) => {
|
|
26209
26220
|
const d = t.map((k, g) => {
|
|
26210
26221
|
const b = /* @__PURE__ */ new Map(), C = (I, L) => (b.has(I) || b.set(I, L(I, l)), b.get(I));
|
|
26211
26222
|
return { m: k, h: 1 << g, C: k.est("", l), S: k.l ? (I, L) => C(L - I, k.l) : (I, L) => C(a.slice(I, L), k.est) };
|
|
@@ -26238,9 +26249,9 @@ const hw = [dw, sw, bo, gI, II, MI], Qq = { auto: (a, { modes: t = hw } = {}) =>
|
|
|
26238
26249
|
const m = [];
|
|
26239
26250
|
for (let k = i.reduce((g, b) => b.v < g.v ? b : g); k.m; k = k.V) m.push(k.m(a.slice(k.$, k.A)));
|
|
26240
26251
|
m.reverse().forEach((k) => k(o, l));
|
|
26241
|
-
}, multi: lw, eci: rw, bytes: fI, numeric: dw, alphaNumeric: sw, ascii:
|
|
26252
|
+
}, multi: lw, eci: rw, bytes: fI, numeric: dw, alphaNumeric: sw, ascii: Lo, iso8859_1: gI, shift_jis: II, utf8: MI }, eA = () => ({ F: io(2956), I: 0, push(a, t) {
|
|
26242
26253
|
for (let o = t, l = 8 - (7 & this.I); o > 0; o -= l, l = 8) this.F[this.I >> 3] |= a << l >> o, this.I += o < l ? o : l;
|
|
26243
|
-
} }), X9 = (a, t = a * a, o =
|
|
26254
|
+
} }), X9 = (a, t = a * a, o = io(t)) => ({ size: a, K: o, get: (l, d) => l >= 0 && l < a && !!(1 & o[d * a + l]), toString({ on: l = "##", off: d = " ", lf: i = `
|
|
26244
26255
|
`, pad: s = 4, padX: r = s, padY: p = s } = {}) {
|
|
26245
26256
|
let m = "";
|
|
26246
26257
|
for (let k = -p; k < a + p; ++k) {
|
|
@@ -26262,14 +26273,14 @@ const hw = [dw, sw, bo, gI, II, MI], Qq = { auto: (a, { modes: t = hw } = {}) =>
|
|
|
26262
26273
|
}, toDataURL({ type: l = "image/png", scale: d = 1, ...i } = {}) {
|
|
26263
26274
|
const s = document.createElement("canvas"), r = s.getContext("2d"), p = this.toImageData(r, i);
|
|
26264
26275
|
return s.width = p.width * d, s.height = p.height * d, r.putImageData(p, 0, 0), r.imageSmoothingEnabled = !1, r.globalCompositeOperation = "copy", r.drawImage(s, 0, 0, p.width, p.height, 0, 0, s.width, s.height), s.toDataURL(l, 1);
|
|
26265
|
-
} }), K9 = [(a, t) => 1 & (a ^ t), (a, t) => 1 & t, (a) => a % 3, (a, t) => (a + t) % 3, (a, t) => 1 & (a / 3 ^ t >> 1), (a, t) => (a & t & 1) + a * t % 3, (a, t) => (a & t) + a * t % 3 & 1, (a, t) => (a ^ t) + a * t % 3 & 1], A9 =
|
|
26276
|
+
} }), K9 = [(a, t) => 1 & (a ^ t), (a, t) => 1 & t, (a) => a % 3, (a, t) => (a + t) % 3, (a, t) => 1 & (a / 3 ^ t >> 1), (a, t) => (a & t & 1) + a * t % 3, (a, t) => (a & t) + a * t % 3 & 1, (a, t) => (a ^ t) + a * t % 3 & 1], A9 = io(511);
|
|
26266
26277
|
for (let a = 0, t = 1; a < 255; t = 2 * t ^ 285 * (t > 127)) A9[A9[t + 255] = a++] = t;
|
|
26267
26278
|
const uw = (a) => A9[a % 255], yw = (a) => A9[a + 255], aA = (a, t) => {
|
|
26268
|
-
const o =
|
|
26279
|
+
const o = io(a.length + t.length - 1);
|
|
26269
26280
|
for (let l = 0; l < a.length; ++l) for (let d = 0; d < t.length; ++d) o[l + d] ^= uw(a[l] + t[d]);
|
|
26270
26281
|
return o.map(yw);
|
|
26271
26282
|
}, tA = (a, t) => {
|
|
26272
|
-
const o =
|
|
26283
|
+
const o = io(a.length + t.length - 1);
|
|
26273
26284
|
o.set(a, 0);
|
|
26274
26285
|
for (let l = 0; l < a.length; ++l) if (o[l]) {
|
|
26275
26286
|
const d = yw(o[l]);
|
|
@@ -26285,7 +26296,7 @@ const nA = (a, t) => {
|
|
|
26285
26296
|
const m = a.slice(l, l + r);
|
|
26286
26297
|
o[0].push(m), o[1].push(tA(m, cI[t.i])), d += r + t.i;
|
|
26287
26298
|
}
|
|
26288
|
-
const i =
|
|
26299
|
+
const i = io(d);
|
|
26289
26300
|
d = 0;
|
|
26290
26301
|
for (const s of o) for (let r = 0, p = -1; p < d; ++r) {
|
|
26291
26302
|
p = d;
|
|
@@ -26540,7 +26551,7 @@ const dA = "http://www.w3.org/2000/svg", sA = (a, t, o, l = []) => [`<${t}`, ...
|
|
|
26540
26551
|
onClick: f
|
|
26541
26552
|
}, [
|
|
26542
26553
|
w(n(ee), {
|
|
26543
|
-
icon: n(
|
|
26554
|
+
icon: n(yo),
|
|
26544
26555
|
size: 12
|
|
26545
26556
|
}, null, 8, ["icon"]),
|
|
26546
26557
|
D(" " + y(n(v)("Копировать")), 1)
|
|
@@ -26598,7 +26609,7 @@ const dA = "http://www.w3.org/2000/svg", sA = (a, t, o, l = []) => [`<${t}`, ...
|
|
|
26598
26609
|
}, {
|
|
26599
26610
|
prepend: x(() => [
|
|
26600
26611
|
w(n(ee), {
|
|
26601
|
-
icon: n(
|
|
26612
|
+
icon: n(yo),
|
|
26602
26613
|
size: 14
|
|
26603
26614
|
}, null, 8, ["icon"])
|
|
26604
26615
|
]),
|
|
@@ -26632,7 +26643,7 @@ const dA = "http://www.w3.org/2000/svg", sA = (a, t, o, l = []) => [`<${t}`, ...
|
|
|
26632
26643
|
}, {
|
|
26633
26644
|
prepend: x(() => [
|
|
26634
26645
|
w(n(ee), {
|
|
26635
|
-
icon: n(
|
|
26646
|
+
icon: n(Mo),
|
|
26636
26647
|
size: 14
|
|
26637
26648
|
}, null, 8, ["icon"])
|
|
26638
26649
|
]),
|
|
@@ -26681,7 +26692,7 @@ const dA = "http://www.w3.org/2000/svg", sA = (a, t, o, l = []) => [`<${t}`, ...
|
|
|
26681
26692
|
},
|
|
26682
26693
|
emits: ["update:section", "avatar-replace", "two-factor-disable", "two-factor-regenerate", "save"],
|
|
26683
26694
|
setup(a, { emit: t }) {
|
|
26684
|
-
const o = a, l = t, d = Qe(), i = yI(), s =
|
|
26695
|
+
const o = a, l = t, d = Qe(), i = yI(), s = co(), r = [
|
|
26685
26696
|
{ id: "general", label: v("Основное"), icon: "user" },
|
|
26686
26697
|
{ id: "security", label: v("Безопасность"), icon: "shield" },
|
|
26687
26698
|
{ id: "tokens", label: v("API токены"), icon: "key" },
|
|
@@ -26700,7 +26711,7 @@ const dA = "http://www.w3.org/2000/svg", sA = (a, t, o, l = []) => [`<${t}`, ...
|
|
|
26700
26711
|
), b = M(
|
|
26701
26712
|
() => i.available.map((U) => ({ value: U, label: U === "dark" ? v("Тёмная") : U === "light" ? v("Светлая") : U }))
|
|
26702
26713
|
);
|
|
26703
|
-
|
|
26714
|
+
Ie(
|
|
26704
26715
|
() => k.value.locale,
|
|
26705
26716
|
(U, V) => {
|
|
26706
26717
|
U === V || !U || s.setLocale(U).then(() => {
|
|
@@ -26708,7 +26719,7 @@ const dA = "http://www.w3.org/2000/svg", sA = (a, t, o, l = []) => [`<${t}`, ...
|
|
|
26708
26719
|
}).catch(() => {
|
|
26709
26720
|
});
|
|
26710
26721
|
}
|
|
26711
|
-
),
|
|
26722
|
+
), Ie(
|
|
26712
26723
|
() => k.value.theme,
|
|
26713
26724
|
(U, V) => {
|
|
26714
26725
|
U === V || !U || i.setTheme(U).catch(() => {
|
|
@@ -27096,7 +27107,7 @@ const dA = "http://www.w3.org/2000/svg", sA = (a, t, o, l = []) => [`<${t}`, ...
|
|
|
27096
27107
|
a.title ? (c(), h("header", fz, [
|
|
27097
27108
|
u("h3", gz, y(a.title), 1)
|
|
27098
27109
|
])) : H("", !0),
|
|
27099
|
-
w(n(
|
|
27110
|
+
w(n(Co), {
|
|
27100
27111
|
columns: d.value,
|
|
27101
27112
|
data: i.value,
|
|
27102
27113
|
"empty-text": n(v)(a.emptyText),
|
|
@@ -27350,7 +27361,7 @@ const dA = "http://www.w3.org/2000/svg", sA = (a, t, o, l = []) => [`<${t}`, ...
|
|
|
27350
27361
|
a.title ? (c(), h("header", Bz, [
|
|
27351
27362
|
u("h3", Rz, y(a.title), 1)
|
|
27352
27363
|
])) : H("", !0),
|
|
27353
|
-
w(n(
|
|
27364
|
+
w(n(Co), {
|
|
27354
27365
|
columns: o.value,
|
|
27355
27366
|
data: l.value,
|
|
27356
27367
|
"empty-text": n(v)(a.emptyText)
|
|
@@ -27473,6 +27484,9 @@ function Xz(a) {
|
|
|
27473
27484
|
patch: (d, i, s) => l("patch", d, i, s),
|
|
27474
27485
|
setLocale: (d) => {
|
|
27475
27486
|
t.defaults.headers.common["X-Admin-Locale"] = d;
|
|
27487
|
+
},
|
|
27488
|
+
clearLocale: () => {
|
|
27489
|
+
delete t.defaults.headers.common["X-Admin-Locale"];
|
|
27476
27490
|
}
|
|
27477
27491
|
};
|
|
27478
27492
|
}
|
|
@@ -28046,7 +28060,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
28046
28060
|
function F(W) {
|
|
28047
28061
|
return W === V.value;
|
|
28048
28062
|
}
|
|
28049
|
-
|
|
28063
|
+
Ie(i, () => {
|
|
28050
28064
|
V.value = -1;
|
|
28051
28065
|
});
|
|
28052
28066
|
function O() {
|
|
@@ -28060,7 +28074,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
28060
28074
|
s.value = !1, i.value.trim() !== "" && f(i.value);
|
|
28061
28075
|
}, 120);
|
|
28062
28076
|
}
|
|
28063
|
-
return
|
|
28077
|
+
return Ie(
|
|
28064
28078
|
() => s.value && B.value.length > 0,
|
|
28065
28079
|
async (W) => {
|
|
28066
28080
|
W ? (C(), await Je(), g(), requestAnimationFrame(() => g()), window.addEventListener("resize", g), window.addEventListener("scroll", g, !0)) : (window.removeEventListener("resize", g), window.removeEventListener("scroll", g, !0));
|
|
@@ -28193,7 +28207,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
28193
28207
|
disabled: { type: Boolean, default: !1 }
|
|
28194
28208
|
},
|
|
28195
28209
|
setup(a) {
|
|
28196
|
-
const t = a, o = Pe(), l =
|
|
28210
|
+
const t = a, o = Pe(), l = co(), d = M(
|
|
28197
28211
|
() => t.locales ?? l.available ?? [l.current ?? "ru"]
|
|
28198
28212
|
), i = A(l.current ?? d.value[0] ?? "ru"), s = M(() => {
|
|
28199
28213
|
const k = o.getField(t.name);
|
|
@@ -28306,7 +28320,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
28306
28320
|
try {
|
|
28307
28321
|
const j = new FormData();
|
|
28308
28322
|
j.append("file", _);
|
|
28309
|
-
const q = await
|
|
28323
|
+
const q = await Me().post("/uploads/image", j, {
|
|
28310
28324
|
headers: { "Content-Type": "multipart/form-data" }
|
|
28311
28325
|
});
|
|
28312
28326
|
s.value.chain().setImage(q.url, q.name).run();
|
|
@@ -28435,7 +28449,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
28435
28449
|
}
|
|
28436
28450
|
return Do(() => {
|
|
28437
28451
|
S.forEach((R) => R()), S = [], T();
|
|
28438
|
-
}),
|
|
28452
|
+
}), Ie(l, () => {
|
|
28439
28453
|
C.value && f && !f.contains(C.value) && T();
|
|
28440
28454
|
}), (R, _) => (c(), h("div", {
|
|
28441
28455
|
class: fe(["admin-field", { "admin-field--invalid": d.value !== void 0 }])
|
|
@@ -28539,7 +28553,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
28539
28553
|
try {
|
|
28540
28554
|
const I = new FormData();
|
|
28541
28555
|
I.append("file", C);
|
|
28542
|
-
const L = t.image ? "/uploads/image" : "/uploads/upload", f = await
|
|
28556
|
+
const L = t.image ? "/uploads/image" : "/uploads/upload", f = await Me().post(L, I, {
|
|
28543
28557
|
headers: { "Content-Type": "multipart/form-data" }
|
|
28544
28558
|
});
|
|
28545
28559
|
o.setField(t.name, f);
|
|
@@ -28747,7 +28761,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
28747
28761
|
try {
|
|
28748
28762
|
const he = new FormData();
|
|
28749
28763
|
he.append("file", ke, "crop.png");
|
|
28750
|
-
const Ce = await
|
|
28764
|
+
const Ce = await Me().post("/uploads/image", he, {
|
|
28751
28765
|
headers: { "Content-Type": "multipart/form-data" }
|
|
28752
28766
|
});
|
|
28753
28767
|
o.setField(t.name, Ce), G();
|
|
@@ -28933,7 +28947,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
28933
28947
|
}));
|
|
28934
28948
|
}
|
|
28935
28949
|
const d = A(l());
|
|
28936
|
-
|
|
28950
|
+
Ie(
|
|
28937
28951
|
() => o.getField(t.name),
|
|
28938
28952
|
() => {
|
|
28939
28953
|
const k = l(), g = JSON.stringify(Object.fromEntries(d.value.map((b) => [b.key, b.value])));
|
|
@@ -29039,7 +29053,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29039
29053
|
emits: ["update:modelValue"],
|
|
29040
29054
|
setup(a, { emit: t }) {
|
|
29041
29055
|
const o = a, l = t, d = $I({ ...o.modelValue });
|
|
29042
|
-
return V9(d),
|
|
29056
|
+
return V9(d), Ie(
|
|
29043
29057
|
d,
|
|
29044
29058
|
() => l("update:modelValue", { ...d }),
|
|
29045
29059
|
{ deep: !0 }
|
|
@@ -29085,7 +29099,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29085
29099
|
return Array.isArray(C) ? C.map((I) => ({ ...I })) : [];
|
|
29086
29100
|
}
|
|
29087
29101
|
const d = A(l());
|
|
29088
|
-
|
|
29102
|
+
Ie(
|
|
29089
29103
|
() => o.getField(t.name),
|
|
29090
29104
|
(C) => {
|
|
29091
29105
|
JSON.stringify(C ?? []) !== JSON.stringify(d.value) && (d.value = l());
|
|
@@ -29142,7 +29156,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29142
29156
|
}, {
|
|
29143
29157
|
default: x(() => [
|
|
29144
29158
|
w(n(ee), {
|
|
29145
|
-
icon: n(
|
|
29159
|
+
icon: n(uo),
|
|
29146
29160
|
size: 14
|
|
29147
29161
|
}, null, 8, ["icon"])
|
|
29148
29162
|
]),
|
|
@@ -29244,7 +29258,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29244
29258
|
return Array.isArray(I) ? I.map((L) => ({ type: L.type, data: { ...L.data ?? {} } })) : [];
|
|
29245
29259
|
}
|
|
29246
29260
|
const d = A(l());
|
|
29247
|
-
|
|
29261
|
+
Ie(
|
|
29248
29262
|
() => o.getField(t.name),
|
|
29249
29263
|
(I) => {
|
|
29250
29264
|
JSON.stringify(I ?? []) !== JSON.stringify(d.value) && (d.value = l());
|
|
@@ -29301,7 +29315,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29301
29315
|
}, {
|
|
29302
29316
|
default: x(() => [
|
|
29303
29317
|
w(n(ee), {
|
|
29304
|
-
icon: n(
|
|
29318
|
+
icon: n(uo),
|
|
29305
29319
|
size: 14
|
|
29306
29320
|
}, null, 8, ["icon"])
|
|
29307
29321
|
]),
|
|
@@ -29419,7 +29433,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29419
29433
|
a.label ? (c(), h("label", JV, y(a.label), 1)) : H("", !0),
|
|
29420
29434
|
w(n(we), { padding: "sm" }, {
|
|
29421
29435
|
default: x(() => [
|
|
29422
|
-
w(n(
|
|
29436
|
+
w(n(Co), {
|
|
29423
29437
|
columns: d.value,
|
|
29424
29438
|
data: l.value,
|
|
29425
29439
|
"empty-text": n(v)(a.emptyText)
|
|
@@ -29477,7 +29491,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29477
29491
|
function k(g) {
|
|
29478
29492
|
m.value = !0, o.setField(t.name, g);
|
|
29479
29493
|
}
|
|
29480
|
-
return
|
|
29494
|
+
return Ie(
|
|
29481
29495
|
d,
|
|
29482
29496
|
(g) => {
|
|
29483
29497
|
t.autogenerate && !t.disabled && !m.value && g === "" && p();
|
|
@@ -29541,7 +29555,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29541
29555
|
class: "admin-columns__item",
|
|
29542
29556
|
style: Ve({ gridColumn: `span ${l(s)} / span ${l(s)}` })
|
|
29543
29557
|
}, [
|
|
29544
|
-
w(
|
|
29558
|
+
w(bo, { node: s }, null, 8, ["node"])
|
|
29545
29559
|
], 4))), 128))
|
|
29546
29560
|
]),
|
|
29547
29561
|
_: 1
|
|
@@ -29574,7 +29588,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29574
29588
|
a.description ? (c(), h("p", dP, y(a.description), 1)) : H("", !0)
|
|
29575
29589
|
])) : H("", !0),
|
|
29576
29590
|
u("div", sP, [
|
|
29577
|
-
(c(!0), h(X, null, ae(a.items, (l, d) => (c(), z(
|
|
29591
|
+
(c(!0), h(X, null, ae(a.items, (l, d) => (c(), z(bo, {
|
|
29578
29592
|
key: d,
|
|
29579
29593
|
node: l
|
|
29580
29594
|
}, null, 8, ["node"]))), 128))
|
|
@@ -29620,7 +29634,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29620
29634
|
value: d(m, k)
|
|
29621
29635
|
}, {
|
|
29622
29636
|
default: x(() => [
|
|
29623
|
-
(c(!0), h(X, null, ae(m.items, (g, b) => (c(), z(
|
|
29637
|
+
(c(!0), h(X, null, ae(m.items, (g, b) => (c(), z(bo, {
|
|
29624
29638
|
key: b,
|
|
29625
29639
|
node: g
|
|
29626
29640
|
}, null, 8, ["node"]))), 128))
|
|
@@ -29672,7 +29686,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29672
29686
|
}
|
|
29673
29687
|
s.value = !0, r.value = null;
|
|
29674
29688
|
try {
|
|
29675
|
-
const R = await
|
|
29689
|
+
const R = await Me().post(`/${t.resource}/search`, {
|
|
29676
29690
|
page: 1,
|
|
29677
29691
|
per_page: 100,
|
|
29678
29692
|
filters: { [t.foreign_key]: k.value }
|
|
@@ -29684,7 +29698,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29684
29698
|
s.value = !1;
|
|
29685
29699
|
}
|
|
29686
29700
|
}
|
|
29687
|
-
Oe(S),
|
|
29701
|
+
Oe(S), Ie(k, S);
|
|
29688
29702
|
function Z(J) {
|
|
29689
29703
|
return J.id ?? "";
|
|
29690
29704
|
}
|
|
@@ -29702,7 +29716,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29702
29716
|
const R = Z(J);
|
|
29703
29717
|
if (confirm(v("Удалить строку?")))
|
|
29704
29718
|
try {
|
|
29705
|
-
await
|
|
29719
|
+
await Me().post(`/${t.resource}/delete`, { id: R }), i.value = i.value.filter((_) => Z(_) !== R), p.value.delete(R), p.value = new Set(p.value);
|
|
29706
29720
|
} catch {
|
|
29707
29721
|
pe.error(v("Не удалось удалить строку."));
|
|
29708
29722
|
}
|
|
@@ -29711,7 +29725,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29711
29725
|
if (p.value.size === 0 || !confirm(`Удалить ${p.value.size} строк?`)) return;
|
|
29712
29726
|
const J = [...p.value];
|
|
29713
29727
|
try {
|
|
29714
|
-
await Promise.all(J.map((R) =>
|
|
29728
|
+
await Promise.all(J.map((R) => Me().post(`/${t.resource}/delete`, { id: R }))), p.value = /* @__PURE__ */ new Set(), await S();
|
|
29715
29729
|
} catch {
|
|
29716
29730
|
pe.error(v("Не удалось удалить часть строк.")), await S();
|
|
29717
29731
|
}
|
|
@@ -29727,7 +29741,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29727
29741
|
async function G() {
|
|
29728
29742
|
if (m.value !== null)
|
|
29729
29743
|
try {
|
|
29730
|
-
await
|
|
29744
|
+
await Me().post(`/${t.resource}/create`, m.value), m.value = null, await S();
|
|
29731
29745
|
} catch {
|
|
29732
29746
|
pe.error(v("Не удалось создать запись."));
|
|
29733
29747
|
}
|
|
@@ -29775,7 +29789,7 @@ const m1 = /* @__PURE__ */ ne({
|
|
|
29775
29789
|
key: 2,
|
|
29776
29790
|
title: n(v)("Нет данных"),
|
|
29777
29791
|
hint: n(v)("Нажмите «Добавить», чтобы создать первую запись.")
|
|
29778
|
-
}, null, 8, ["title", "hint"])) : (c(), z(n(
|
|
29792
|
+
}, null, 8, ["title", "hint"])) : (c(), z(n(Co), {
|
|
29779
29793
|
key: 3,
|
|
29780
29794
|
columns: b.value,
|
|
29781
29795
|
data: i.value,
|
|
@@ -30269,7 +30283,7 @@ function tj(a, t = {}) {
|
|
|
30269
30283
|
const i = jw(Zb), s = Dw();
|
|
30270
30284
|
i.use(s);
|
|
30271
30285
|
const r = a.brand ?? {};
|
|
30272
|
-
i.provide(YI, r), EP(r.favicon), Qe().hydrate(a),
|
|
30286
|
+
i.provide(YI, r), EP(r.favicon), Qe().hydrate(a), co().hydrate(a), yI().hydrate(a), P9().hydrate(a), W2().hydrate(a), CP(), Gz(), UP();
|
|
30273
30287
|
const p = dH({
|
|
30274
30288
|
base: l,
|
|
30275
30289
|
history: t.router?.history ?? TI(l),
|
|
@@ -30332,7 +30346,7 @@ function tj(a, t = {}) {
|
|
|
30332
30346
|
k.bootResolved = !0;
|
|
30333
30347
|
}
|
|
30334
30348
|
};
|
|
30335
|
-
g.isAuthenticated ? C() : k.bootResolved = !0,
|
|
30349
|
+
g.isAuthenticated ? C() : k.bootResolved = !0, Ie(
|
|
30336
30350
|
() => g.user,
|
|
30337
30351
|
(I, L) => {
|
|
30338
30352
|
I && !L && (k.bootResolved = !1, C());
|
|
@@ -30426,7 +30440,7 @@ const XP = { class: "admin-notifs__hd" }, KP = { class: "admin-notifs__title" },
|
|
|
30426
30440
|
function i(L) {
|
|
30427
30441
|
l("update:open", L);
|
|
30428
30442
|
}
|
|
30429
|
-
|
|
30443
|
+
Ie(
|
|
30430
30444
|
() => o.open,
|
|
30431
30445
|
async (L) => {
|
|
30432
30446
|
L && await d.load(d.lastFilter ?? "all", 1).catch(() => {
|
|
@@ -30738,7 +30752,7 @@ const XP = { class: "admin-notifs__hd" }, KP = { class: "admin-notifs__title" },
|
|
|
30738
30752
|
]),
|
|
30739
30753
|
_: 1
|
|
30740
30754
|
})) : H("", !0),
|
|
30741
|
-
a.previewColumns.length > 0 ? (c(), z(n(
|
|
30755
|
+
a.previewColumns.length > 0 ? (c(), z(n(Co), {
|
|
30742
30756
|
key: 1,
|
|
30743
30757
|
columns: a.previewColumns,
|
|
30744
30758
|
data: a.preview
|
|
@@ -30956,7 +30970,7 @@ export {
|
|
|
30956
30970
|
lj as ImportWizardPage,
|
|
30957
30971
|
sq as InfolistRenderer,
|
|
30958
30972
|
eI as KeyValueEntry,
|
|
30959
|
-
|
|
30973
|
+
bo as LayoutRenderer,
|
|
30960
30974
|
XI as LocaleSwitcher,
|
|
30961
30975
|
BC as LoginForm,
|
|
30962
30976
|
KC as LoginPage,
|
|
@@ -31002,7 +31016,7 @@ export {
|
|
|
31002
31016
|
dH as createAdminRouter,
|
|
31003
31017
|
cH as createAuthGuard,
|
|
31004
31018
|
iH as createTitleGuard,
|
|
31005
|
-
|
|
31019
|
+
Me as getAdminClient,
|
|
31006
31020
|
nw as getField,
|
|
31007
31021
|
tI as getInfolistEntry,
|
|
31008
31022
|
LI as getLayout,
|
|
@@ -31040,7 +31054,7 @@ export {
|
|
|
31040
31054
|
Qe as useAuthStore,
|
|
31041
31055
|
B9 as useBrand,
|
|
31042
31056
|
Pe as useFormState,
|
|
31043
|
-
|
|
31057
|
+
co as useLocaleStore,
|
|
31044
31058
|
Ee as useManifestStore,
|
|
31045
31059
|
j9 as useMenuStore,
|
|
31046
31060
|
P9 as useNotificationsStore,
|