@dskripchenko/laravel-admin 1.9.0 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -20956,7 +20956,7 @@ function gg() {
20956
20956
  }
20957
20957
  };
20958
20958
  }
20959
- const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH = p2.clear, jx = p2.registerBundle, _I = /* @__PURE__ */ ee({
20959
+ const p2 = gg(), Vx = p2.register, Px = p2.get, jx = p2.has, Fx = p2.list, GH = p2.clear, NH = p2.registerBundle, _I = /* @__PURE__ */ ee({
20960
20960
  __name: "UnknownWidget",
20961
20961
  props: {
20962
20962
  type: {}
@@ -20974,13 +20974,13 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
20974
20974
  _: 1
20975
20975
  }));
20976
20976
  }
20977
- }), Fx = /* @__PURE__ */ ee({
20977
+ }), Bx = /* @__PURE__ */ ee({
20978
20978
  __name: "WidgetRenderer",
20979
20979
  props: {
20980
20980
  node: {}
20981
20981
  },
20982
20982
  setup(a) {
20983
- const t = a, n = M(() => Vx(t.node.type)), r = M(() => {
20983
+ const t = a, n = M(() => Px(t.node.type)), r = M(() => {
20984
20984
  const {
20985
20985
  type: l,
20986
20986
  span: i,
@@ -21001,22 +21001,22 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21001
21001
  type: a.node.type
21002
21002
  }, null, 8, ["type"]));
21003
21003
  }
21004
- }), Bx = {
21004
+ }), Dx = {
21005
21005
  class: "admin-widget-actions",
21006
21006
  role: "toolbar",
21007
21007
  "aria-label": "Действия с виджетом"
21008
- }, Dx = {
21008
+ }, Rx = {
21009
21009
  type: "button",
21010
21010
  class: "admin-widget-actions__btn admin-widget-actions__drag",
21011
21011
  "aria-label": "Перетащить",
21012
21012
  title: "Перетащить",
21013
21013
  "data-drag-handle": "true"
21014
- }, Rx = /* @__PURE__ */ ee({
21014
+ }, Tx = /* @__PURE__ */ ee({
21015
21015
  __name: "WidgetActionsOverlay",
21016
21016
  emits: ["configure", "remove"],
21017
21017
  setup(a) {
21018
- return (t, n) => (o(), s("div", Bx, [
21019
- u("button", Dx, [
21018
+ return (t, n) => (o(), s("div", Dx, [
21019
+ u("button", Rx, [
21020
21020
  v(c(Y), {
21021
21021
  icon: c(i2),
21022
21022
  size: 14
@@ -21048,31 +21048,31 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21048
21048
  ])
21049
21049
  ]));
21050
21050
  }
21051
- }), Tx = {
21051
+ }), $x = {
21052
21052
  key: 0,
21053
21053
  class: "admin-dialog-root",
21054
21054
  role: "dialog",
21055
21055
  "aria-modal": "true",
21056
21056
  "aria-labelledby": "widget-config-title"
21057
- }, $x = { class: "admin-dialog" }, Ux = { class: "admin-dialog__hd" }, Ox = {
21057
+ }, Ux = { class: "admin-dialog" }, Ox = { class: "admin-dialog__hd" }, Ex = {
21058
21058
  id: "widget-config-title",
21059
21059
  class: "admin-dialog__title"
21060
- }, Ex = { class: "admin-dialog__body" }, Zx = {
21060
+ }, Zx = { class: "admin-dialog__body" }, Wx = {
21061
21061
  key: 0,
21062
21062
  class: "admin-dialog__field"
21063
- }, Wx = { class: "admin-dialog__type-grid" }, Gx = ["onClick"], Nx = { class: "admin-dialog__type-name" }, Xx = { class: "admin-dialog__type-help" }, Kx = {
21063
+ }, Gx = { class: "admin-dialog__type-grid" }, Nx = ["onClick"], Xx = { class: "admin-dialog__type-name" }, Kx = { class: "admin-dialog__type-help" }, Jx = {
21064
21064
  key: 1,
21065
21065
  class: "admin-dialog__field"
21066
- }, Jx = { class: "admin-dialog__readonly" }, Yx = { class: "admin-dialog__field" }, Qx = { class: "admin-dialog__field" }, eL = {
21066
+ }, Yx = { class: "admin-dialog__readonly" }, Qx = { class: "admin-dialog__field" }, eL = { class: "admin-dialog__field" }, aL = {
21067
21067
  key: 2,
21068
21068
  class: "admin-dialog__field"
21069
- }, aL = { class: "admin-dialog__field" }, tL = { class: "admin-dialog__field" }, nL = {
21069
+ }, tL = { class: "admin-dialog__field" }, nL = { class: "admin-dialog__field" }, oL = {
21070
21070
  key: 4,
21071
21071
  class: "admin-dialog__field"
21072
- }, oL = { class: "admin-dialog__field" }, cL = { class: "admin-dialog__field" }, iL = { class: "admin-dialog__field" }, lL = { class: "admin-dialog__field" }, dL = { class: "admin-dialog__ft" }, rL = {
21072
+ }, cL = { class: "admin-dialog__field" }, iL = { class: "admin-dialog__field" }, lL = { class: "admin-dialog__field" }, dL = { class: "admin-dialog__field" }, rL = { class: "admin-dialog__ft" }, sL = {
21073
21073
  key: 0,
21074
21074
  class: "admin-dialog__hint"
21075
- }, sL = /* @__PURE__ */ ee({
21075
+ }, hL = /* @__PURE__ */ ee({
21076
21076
  __name: "WidgetConfigDialog",
21077
21077
  props: {
21078
21078
  open: { type: Boolean },
@@ -21082,7 +21082,7 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21082
21082
  },
21083
21083
  emits: ["close", "add", "save"],
21084
21084
  setup(a, { emit: t }) {
21085
- const n = a, r = t, l = M(() => Px()), i = _(""), d = _(""), h = _("6"), y = _(`# Новая заметка
21085
+ const n = a, r = t, l = M(() => Fx()), i = _(""), d = _(""), h = _("6"), y = _(`# Новая заметка
21086
21086
 
21087
21087
  Текст…`), k = _("LABEL"), m = _("0"), x = _("50"), b = _("Янв, Фев, Мар, Апр"), L = _("10, 20, 15, 30"), g = _(""), S = _("5");
21088
21088
  xe(
@@ -21163,14 +21163,14 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21163
21163
  return (T, H) => (o(), V(Tg, { to: "body" }, [
21164
21164
  v(ug, { name: "admin-dialog" }, {
21165
21165
  default: f(() => [
21166
- a.open ? (o(), s("div", Tx, [
21166
+ a.open ? (o(), s("div", $x, [
21167
21167
  u("div", {
21168
21168
  class: "admin-dialog-root__backdrop",
21169
21169
  onClick: W
21170
21170
  }),
21171
- u("div", $x, [
21172
- u("header", Ux, [
21173
- u("h2", Ox, w(a.mode === "add" ? "Добавить виджет" : "Настроить виджет"), 1),
21171
+ u("div", Ux, [
21172
+ u("header", Ox, [
21173
+ u("h2", Ex, w(a.mode === "add" ? "Добавить виджет" : "Настроить виджет"), 1),
21174
21174
  u("button", {
21175
21175
  type: "button",
21176
21176
  class: "admin-dialog__close",
@@ -21183,13 +21183,13 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21183
21183
  }, null, 8, ["icon"])
21184
21184
  ])
21185
21185
  ]),
21186
- u("div", Ex, [
21187
- a.mode === "add" ? (o(), s("div", Zx, [
21186
+ u("div", Zx, [
21187
+ a.mode === "add" ? (o(), s("div", Wx, [
21188
21188
  H[10] || (H[10] = u("label", { class: "admin-dialog__label" }, [
21189
21189
  j(" Тип виджета "),
21190
21190
  u("span", { class: "admin-dialog__required" }, "*")
21191
21191
  ], -1)),
21192
- u("div", Wx, [
21192
+ u("div", Gx, [
21193
21193
  (o(!0), s(E, null, Q(l.value, ($) => (o(), s("button", {
21194
21194
  key: $,
21195
21195
  type: "button",
@@ -21199,15 +21199,15 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21199
21199
  ]),
21200
21200
  onClick: (G) => i.value = $
21201
21201
  }, [
21202
- u("span", Nx, w($), 1),
21203
- u("span", Xx, w(z[$] ?? ""), 1)
21204
- ], 10, Gx))), 128))
21202
+ u("span", Xx, w($), 1),
21203
+ u("span", Kx, w(z[$] ?? ""), 1)
21204
+ ], 10, Nx))), 128))
21205
21205
  ])
21206
- ])) : (o(), s("div", Kx, [
21206
+ ])) : (o(), s("div", Jx, [
21207
21207
  H[11] || (H[11] = u("label", { class: "admin-dialog__label" }, "Тип", -1)),
21208
- u("div", Jx, w(i.value || "unknown"), 1)
21208
+ u("div", Yx, w(i.value || "unknown"), 1)
21209
21209
  ])),
21210
- u("div", Yx, [
21210
+ u("div", Qx, [
21211
21211
  H[12] || (H[12] = u("label", { class: "admin-dialog__label" }, [
21212
21212
  j(" Заголовок "),
21213
21213
  u("span", { class: "admin-dialog__required" }, "*")
@@ -21218,7 +21218,7 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21218
21218
  placeholder: "Название виджета"
21219
21219
  }, null, 8, ["modelValue"])
21220
21220
  ]),
21221
- u("div", Qx, [
21221
+ u("div", eL, [
21222
21222
  H[13] || (H[13] = u("label", { class: "admin-dialog__label" }, "Ширина (1..12)", -1)),
21223
21223
  v(c(Ce), {
21224
21224
  modelValue: h.value,
@@ -21226,7 +21226,7 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21226
21226
  type: "number"
21227
21227
  }, null, 8, ["modelValue"])
21228
21228
  ]),
21229
- U(i.value) === "markdown" ? (o(), s("div", eL, [
21229
+ U(i.value) === "markdown" ? (o(), s("div", aL, [
21230
21230
  H[14] || (H[14] = u("label", { class: "admin-dialog__label" }, "Markdown содержимое", -1)),
21231
21231
  w1(u("textarea", {
21232
21232
  "onUpdate:modelValue": H[2] || (H[2] = ($) => y.value = $),
@@ -21236,21 +21236,21 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21236
21236
  [$n, y.value]
21237
21237
  ])
21238
21238
  ])) : U(i.value) === "stat" ? (o(), s(E, { key: 3 }, [
21239
- u("div", aL, [
21239
+ u("div", tL, [
21240
21240
  H[15] || (H[15] = u("label", { class: "admin-dialog__label" }, "Метка", -1)),
21241
21241
  v(c(Ce), {
21242
21242
  modelValue: k.value,
21243
21243
  "onUpdate:modelValue": H[3] || (H[3] = ($) => k.value = $)
21244
21244
  }, null, 8, ["modelValue"])
21245
21245
  ]),
21246
- u("div", tL, [
21246
+ u("div", nL, [
21247
21247
  H[16] || (H[16] = u("label", { class: "admin-dialog__label" }, "Значение", -1)),
21248
21248
  v(c(Ce), {
21249
21249
  modelValue: m.value,
21250
21250
  "onUpdate:modelValue": H[4] || (H[4] = ($) => m.value = $)
21251
21251
  }, null, 8, ["modelValue"])
21252
21252
  ])
21253
- ], 64)) : U(i.value) === "gauge" ? (o(), s("div", nL, [
21253
+ ], 64)) : U(i.value) === "gauge" ? (o(), s("div", oL, [
21254
21254
  H[17] || (H[17] = u("label", { class: "admin-dialog__label" }, "Значение (0..100)", -1)),
21255
21255
  v(c(Ce), {
21256
21256
  modelValue: x.value,
@@ -21258,7 +21258,7 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21258
21258
  type: "number"
21259
21259
  }, null, 8, ["modelValue"])
21260
21260
  ])) : U(i.value) === "chart" ? (o(), s(E, { key: 5 }, [
21261
- u("div", oL, [
21261
+ u("div", cL, [
21262
21262
  H[18] || (H[18] = u("label", { class: "admin-dialog__label" }, "Метки (через запятую)", -1)),
21263
21263
  v(c(Ce), {
21264
21264
  modelValue: b.value,
@@ -21266,7 +21266,7 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21266
21266
  placeholder: "Янв, Фев, Мар"
21267
21267
  }, null, 8, ["modelValue"])
21268
21268
  ]),
21269
- u("div", cL, [
21269
+ u("div", iL, [
21270
21270
  H[19] || (H[19] = u("label", { class: "admin-dialog__label" }, "Значения (через запятую)", -1)),
21271
21271
  v(c(Ce), {
21272
21272
  modelValue: L.value,
@@ -21275,7 +21275,7 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21275
21275
  }, null, 8, ["modelValue"])
21276
21276
  ])
21277
21277
  ], 64)) : U(i.value) === "recent" ? (o(), s(E, { key: 6 }, [
21278
- u("div", iL, [
21278
+ u("div", lL, [
21279
21279
  H[20] || (H[20] = u("label", { class: "admin-dialog__label" }, "Resource slug", -1)),
21280
21280
  v(c(Ce), {
21281
21281
  modelValue: g.value,
@@ -21283,7 +21283,7 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21283
21283
  placeholder: "articles"
21284
21284
  }, null, 8, ["modelValue"])
21285
21285
  ]),
21286
- u("div", lL, [
21286
+ u("div", dL, [
21287
21287
  H[21] || (H[21] = u("label", { class: "admin-dialog__label" }, "Limit", -1)),
21288
21288
  v(c(Ce), {
21289
21289
  modelValue: S.value,
@@ -21293,8 +21293,8 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21293
21293
  ])
21294
21294
  ], 64)) : F("", !0)
21295
21295
  ]),
21296
- u("footer", dL, [
21297
- p.value ? F("", !0) : (o(), s("span", rL, [...H[22] || (H[22] = [
21296
+ u("footer", rL, [
21297
+ p.value ? F("", !0) : (o(), s("span", sL, [...H[22] || (H[22] = [
21298
21298
  j(" Заполните ", -1),
21299
21299
  u("span", { class: "admin-dialog__required" }, "*", -1),
21300
21300
  j("-поля ", -1)
@@ -21327,10 +21327,10 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21327
21327
  })
21328
21328
  ]));
21329
21329
  }
21330
- }), hL = { class: "admin-page admin-dashboard" }, uL = { class: "admin-page__hd" }, yL = { class: "admin-page__title-wrap" }, pL = { class: "admin-page__title" }, kL = {
21330
+ }), uL = { class: "admin-page admin-dashboard" }, yL = { class: "admin-page__hd" }, pL = { class: "admin-page__title-wrap" }, kL = { class: "admin-page__title" }, mL = {
21331
21331
  key: 0,
21332
21332
  class: "admin-page__count"
21333
- }, mL = { class: "admin-page__actions" }, vL = ["draggable", "onDragstart", "onDragover", "onDrop"], fL = ["onMousedown"], ML = 140, gL = 16, qI = /* @__PURE__ */ ee({
21333
+ }, vL = { class: "admin-page__actions" }, fL = ["draggable", "onDragstart", "onDragover", "onDrop"], ML = ["onMousedown"], gL = 140, IL = 16, qI = /* @__PURE__ */ ee({
21334
21334
  __name: "DashboardPage",
21335
21335
  props: {
21336
21336
  slug: { default: void 0 },
@@ -21577,7 +21577,7 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21577
21577
  }
21578
21578
  function Jn(K) {
21579
21579
  if (!Ue.value) return;
21580
- const ie = Kn / 12, re = Math.round((K.clientX - Ue.value.startX) / ie), se = Math.max(1, Math.min(12, Ue.value.startSpan + re)), pe = ML + gL, Le = Math.round((K.clientY - Ue.value.startY) / pe), t1 = Math.max(1, Math.min(6, Ue.value.startRowSpan + Le)), Yn = i.draft.find((Sg) => Sg.slug === Ue.value.slug);
21580
+ const ie = Kn / 12, re = Math.round((K.clientX - Ue.value.startX) / ie), se = Math.max(1, Math.min(12, Ue.value.startSpan + re)), pe = gL + IL, Le = Math.round((K.clientY - Ue.value.startY) / pe), t1 = Math.max(1, Math.min(6, Ue.value.startRowSpan + Le)), Yn = i.draft.find((Sg) => Sg.slug === Ue.value.slug);
21581
21581
  if (!Yn) return;
21582
21582
  const Cg = Yn.config?.rowSpan, Qn = {};
21583
21583
  Yn.size !== se && (Qn.size = se), Cg !== t1 && (Qn.config = { ...Yn.config ?? {}, rowSpan: t1 }), Object.keys(Qn).length > 0 && i.updateWidget(Ue.value.slug, Qn);
@@ -21588,13 +21588,13 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21588
21588
  function bg() {
21589
21589
  r("export");
21590
21590
  }
21591
- return (K, ie) => (o(), s("section", hL, [
21592
- u("header", uL, [
21593
- u("div", yL, [
21594
- u("h1", pL, w(b.value), 1),
21595
- L.value ? (o(), s("div", kL, w(L.value), 1)) : F("", !0)
21591
+ return (K, ie) => (o(), s("section", uL, [
21592
+ u("header", yL, [
21593
+ u("div", pL, [
21594
+ u("h1", kL, w(b.value), 1),
21595
+ L.value ? (o(), s("div", mL, w(L.value), 1)) : F("", !0)
21596
21596
  ]),
21597
- u("div", mL, [
21597
+ u("div", vL, [
21598
21598
  ze(K.$slots, "actions"),
21599
21599
  v(c(Fe), null, {
21600
21600
  trigger: f(() => [
@@ -21747,10 +21747,10 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21747
21747
  onDrop: (pe) => Lg(se, pe),
21748
21748
  onDragend: wg
21749
21749
  }, [
21750
- v(Fx, {
21750
+ v(Bx, {
21751
21751
  node: re.node
21752
21752
  }, null, 8, ["node"]),
21753
- c(i).editMode ? (o(), V(Rx, {
21753
+ c(i).editMode ? (o(), V(Tx, {
21754
21754
  key: 0,
21755
21755
  onConfigure: (pe) => ue(re.layoutSlug),
21756
21756
  onRemove: (pe) => ye(re.layoutSlug)
@@ -21760,10 +21760,10 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21760
21760
  class: "admin-dashboard__resize",
21761
21761
  "aria-label": "Изменить размер",
21762
21762
  onMousedown: (pe) => Ao(pe, re.layoutSlug, S(re.node), p(re.layoutSlug, re.node))
21763
- }, null, 40, fL)) : F("", !0)
21764
- ], 46, vL))), 128))
21763
+ }, null, 40, ML)) : F("", !0)
21764
+ ], 46, fL))), 128))
21765
21765
  ], 2),
21766
- v(sL, {
21766
+ v(hL, {
21767
21767
  open: oe.value !== null,
21768
21768
  mode: oe.value ?? "add",
21769
21769
  item: Z.value,
@@ -21774,13 +21774,13 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21774
21774
  }, null, 8, ["open", "mode", "item", "initial-title"])
21775
21775
  ]));
21776
21776
  }
21777
- }), IL = {
21777
+ }), wL = {
21778
21778
  key: 1,
21779
21779
  class: "admin-home"
21780
- }, wL = { class: "admin-home__title" }, xL = {
21780
+ }, xL = { class: "admin-home__title" }, LL = {
21781
21781
  key: 0,
21782
21782
  class: "admin-home__resources"
21783
- }, LL = { class: "admin-home__grid" }, bL = ["onClick"], CL = { class: "admin-home__card-label" }, SL = { class: "admin-home__card-slug" }, _L = /* @__PURE__ */ ee({
21783
+ }, bL = { class: "admin-home__grid" }, CL = ["onClick"], SL = { class: "admin-home__card-label" }, _L = { class: "admin-home__card-slug" }, qL = /* @__PURE__ */ ee({
21784
21784
  __name: "HomePage",
21785
21785
  setup(a) {
21786
21786
  const t = Ne(), n = Ge(), r = Xe(), l = M(() => n.user?.name ?? ""), i = M(() => t.manifest?.resources ?? []), d = M(
@@ -21797,20 +21797,20 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21797
21797
  ), (k, m) => h.value ? (o(), V(qI, {
21798
21798
  key: 0,
21799
21799
  slug: h.value
21800
- }, null, 8, ["slug"])) : (o(), s("div", IL, [
21800
+ }, null, 8, ["slug"])) : (o(), s("div", wL, [
21801
21801
  v(c(ge), {
21802
21802
  padding: "lg",
21803
21803
  class: "admin-home__hero"
21804
21804
  }, {
21805
21805
  default: f(() => [
21806
- u("h1", wL, "Добро пожаловать" + w(l.value ? ", " + l.value : ""), 1),
21806
+ u("h1", xL, "Добро пожаловать" + w(l.value ? ", " + l.value : ""), 1),
21807
21807
  m[0] || (m[0] = u("p", { class: "admin-home__lead" }, " Админ-панель готова. Зарегистрируйте DashboardScreen чтобы увидеть widget-grid здесь, либо переходите к ресурсам ниже. ", -1))
21808
21808
  ]),
21809
21809
  _: 1
21810
21810
  }),
21811
- i.value.length ? (o(), s("section", xL, [
21811
+ i.value.length ? (o(), s("section", LL, [
21812
21812
  m[1] || (m[1] = u("h2", { class: "admin-home__heading" }, "Ресурсы", -1)),
21813
- u("ul", LL, [
21813
+ u("ul", bL, [
21814
21814
  (o(!0), s(E, null, Q(i.value, (x) => (o(), s("li", {
21815
21815
  key: x.slug
21816
21816
  }, [
@@ -21819,19 +21819,19 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21819
21819
  class: "admin-home__card",
21820
21820
  onClick: (b) => c(r).push({ name: `admin.resource.${x.slug}.index` })
21821
21821
  }, [
21822
- u("span", CL, w(x.label), 1),
21823
- u("span", SL, w(x.slug), 1)
21824
- ], 8, bL)
21822
+ u("span", SL, w(x.label), 1),
21823
+ u("span", _L, w(x.slug), 1)
21824
+ ], 8, CL)
21825
21825
  ]))), 128))
21826
21826
  ])
21827
21827
  ])) : F("", !0)
21828
21828
  ]));
21829
21829
  }
21830
- }), qL = { class: "admin-status-page" }, AL = /* @__PURE__ */ ee({
21830
+ }), AL = { class: "admin-status-page" }, zL = /* @__PURE__ */ ee({
21831
21831
  __name: "ForbiddenPage",
21832
21832
  setup(a) {
21833
21833
  const t = Xe();
21834
- return (n, r) => (o(), s("div", qL, [
21834
+ return (n, r) => (o(), s("div", AL, [
21835
21835
  v(c(ge), {
21836
21836
  padding: "lg",
21837
21837
  class: "admin-status-page__card"
@@ -21853,11 +21853,11 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21853
21853
  })
21854
21854
  ]));
21855
21855
  }
21856
- }), zL = { class: "admin-status-page" }, HL = /* @__PURE__ */ ee({
21856
+ }), HL = { class: "admin-status-page" }, VL = /* @__PURE__ */ ee({
21857
21857
  __name: "NotFoundPage",
21858
21858
  setup(a) {
21859
21859
  const t = Xe();
21860
- return (n, r) => (o(), s("div", zL, [
21860
+ return (n, r) => (o(), s("div", HL, [
21861
21861
  v(c(ge), {
21862
21862
  padding: "lg",
21863
21863
  class: "admin-status-page__card"
@@ -21879,27 +21879,27 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21879
21879
  })
21880
21880
  ]));
21881
21881
  }
21882
- }), VL = { class: "admin-settings-page" }, PL = { class: "admin-settings-page__title" }, jL = {
21882
+ }), PL = { class: "admin-settings-page" }, jL = { class: "admin-settings-page__title" }, FL = {
21883
21883
  key: 0,
21884
21884
  class: "admin-settings-page__hint"
21885
- }, FL = {
21885
+ }, BL = {
21886
21886
  key: 1,
21887
21887
  class: "admin-settings-page__debug"
21888
- }, BL = /* @__PURE__ */ ee({
21888
+ }, DL = /* @__PURE__ */ ee({
21889
21889
  __name: "SettingsPage",
21890
21890
  setup(a) {
21891
21891
  const t = l1(), n = Ne(), r = M(() => String(t.params.slug ?? "")), l = M(() => n.manifest?.settings?.find((i) => i.slug === r.value) ?? null);
21892
- return (i, d) => (o(), s("div", VL, [
21892
+ return (i, d) => (o(), s("div", PL, [
21893
21893
  v(c(ge), { padding: "lg" }, {
21894
21894
  default: f(() => [
21895
- u("h1", PL, w(l.value?.label ?? r.value), 1),
21896
- l.value ? (o(), s("pre", FL, w(JSON.stringify(l.value.fields, null, 2)), 1)) : (o(), s("p", jL, " Settings «" + w(r.value) + "» не найдено в manifest'е. ", 1))
21895
+ u("h1", jL, w(l.value?.label ?? r.value), 1),
21896
+ l.value ? (o(), s("pre", BL, w(JSON.stringify(l.value.fields, null, 2)), 1)) : (o(), s("p", FL, " Settings «" + w(r.value) + "» не найдено в manifest'е. ", 1))
21897
21897
  ]),
21898
21898
  _: 1
21899
21899
  })
21900
21900
  ]));
21901
21901
  }
21902
- }), DL = $e("admin-screen", () => {
21902
+ }), RL = $e("admin-screen", () => {
21903
21903
  const a = _(null), t = _(""), n = _(null), r = _([]), l = _([]), i = _([]), d = _(null), h = _({}), y = _({}), k = _({}), m = _(!1), x = _(!1), b = _(null), L = _(null), g = M(() => b.value !== null);
21904
21904
  function S($, G) {
21905
21905
  for (const ae of Object.keys($)) delete $[ae];
@@ -21993,7 +21993,7 @@ const p2 = gg(), UH = p2.register, Vx = p2.get, OH = p2.has, Px = p2.list, EH =
21993
21993
  function AI(a) {
21994
21994
  ZI(Ng, a);
21995
21995
  }
21996
- function ZH() {
21996
+ function XH() {
21997
21997
  const a = uI(Ng);
21998
21998
  if (!a)
21999
21999
  throw new Error("useRecord() called outside of provideRecord() scope");
@@ -22002,11 +22002,11 @@ function ZH() {
22002
22002
  function qo() {
22003
22003
  return uI(Ng, null);
22004
22004
  }
22005
- const k2 = gg(), m2 = gg(), WH = k2.register, zI = k2.get, GH = k2.has, NH = k2.list, XH = m2.register, eI = m2.get, KH = m2.has, JH = m2.list;
22005
+ const k2 = gg(), m2 = gg(), TL = k2.register, zI = k2.get, $L = k2.has, KH = k2.list, UL = m2.register, eI = m2.get, OL = m2.has, JH = m2.list;
22006
22006
  function YH() {
22007
22007
  k2.clear(), m2.clear();
22008
22008
  }
22009
- function RL(a) {
22009
+ function QH(a) {
22010
22010
  a.fields && k2.registerBundle(a.fields), a.layouts && m2.registerBundle(a.layouts);
22011
22011
  }
22012
22012
  const HI = /* @__PURE__ */ ee({
@@ -22091,22 +22091,22 @@ const HI = /* @__PURE__ */ ee({
22091
22091
  name: a.node.name
22092
22092
  }, null, 8, ["type", "name"]));
22093
22093
  }
22094
- }), TL = { class: "admin-page admin-screen-page" }, $L = { class: "admin-page__hd" }, UL = { class: "admin-page__title-wrap" }, OL = { class: "admin-page__title" }, EL = {
22094
+ }), EL = { class: "admin-page admin-screen-page" }, ZL = { class: "admin-page__hd" }, WL = { class: "admin-page__title-wrap" }, GL = { class: "admin-page__title" }, NL = {
22095
22095
  key: 0,
22096
22096
  class: "admin-screen-page__description"
22097
- }, ZL = {
22097
+ }, XL = {
22098
22098
  key: 0,
22099
22099
  class: "admin-page__actions"
22100
- }, WL = {
22100
+ }, KL = {
22101
22101
  key: 2,
22102
22102
  class: "admin-screen-page__loading"
22103
- }, GL = /* @__PURE__ */ ee({
22103
+ }, JL = /* @__PURE__ */ ee({
22104
22104
  __name: "ScreenPage",
22105
22105
  props: {
22106
22106
  slug: { default: null }
22107
22107
  },
22108
22108
  setup(a) {
22109
- const t = a, n = l1(), r = DL(), l = M(() => t.slug ? t.slug : String(n.params.slug ?? n.meta?.slug ?? "")), i = kg(r.state, r.errors);
22109
+ const t = a, n = l1(), r = RL(), l = M(() => t.slug ? t.slug : String(n.params.slug ?? n.meta?.slug ?? "")), i = kg(r.state, r.errors);
22110
22110
  AI(r.state), xe(
22111
22111
  () => r.errors,
22112
22112
  (m) => {
@@ -22138,13 +22138,13 @@ const HI = /* @__PURE__ */ ee({
22138
22138
  function k(m) {
22139
22139
  return m.destructive ? "danger" : m.primary ? "primary" : "secondary";
22140
22140
  }
22141
- return (m, x) => (o(), s("section", TL, [
22142
- u("header", $L, [
22143
- u("div", UL, [
22144
- u("h1", OL, w(c(r).name || l.value), 1),
22145
- c(r).description ? (o(), s("p", EL, w(c(r).description), 1)) : F("", !0)
22141
+ return (m, x) => (o(), s("section", EL, [
22142
+ u("header", ZL, [
22143
+ u("div", WL, [
22144
+ u("h1", GL, w(c(r).name || l.value), 1),
22145
+ c(r).description ? (o(), s("p", NL, w(c(r).description), 1)) : F("", !0)
22146
22146
  ]),
22147
- c(r).commandBar.length > 0 ? (o(), s("div", ZL, [
22147
+ c(r).commandBar.length > 0 ? (o(), s("div", XL, [
22148
22148
  (o(!0), s(E, null, Q(c(r).commandBar, (b) => (o(), V(c(te), {
22149
22149
  key: b.name,
22150
22150
  variant: k(b),
@@ -22181,7 +22181,7 @@ const HI = /* @__PURE__ */ ee({
22181
22181
  ]),
22182
22182
  _: 1
22183
22183
  })) : F("", !0),
22184
- c(r).loading ? (o(), s("div", WL, [
22184
+ c(r).loading ? (o(), s("div", KL, [
22185
22185
  (o(), s(E, null, Q(4, (b) => v(c(Xn), {
22186
22186
  key: b,
22187
22187
  height: "40px"
@@ -22201,10 +22201,10 @@ const HI = /* @__PURE__ */ ee({
22201
22201
  })) : F("", !0)
22202
22202
  ]));
22203
22203
  }
22204
- }), NL = { class: "admin-auth-card__row" }, XL = ["href"], KL = {
22204
+ }), YL = { class: "admin-auth-card__row" }, QL = ["href"], eb = {
22205
22205
  key: 1,
22206
22206
  style: { "text-align": "center", "font-size": "var(--uid-font-size-xs)", color: "var(--uid-text-secondary)", "padding-top": "4px" }
22207
- }, JL = ["href"], YL = /* @__PURE__ */ ee({
22207
+ }, ab = ["href"], tb = /* @__PURE__ */ ee({
22208
22208
  __name: "LoginForm",
22209
22209
  props: {
22210
22210
  forgotUrl: { default: null },
@@ -22270,7 +22270,7 @@ const HI = /* @__PURE__ */ ee({
22270
22270
  error: x.value,
22271
22271
  name: "password"
22272
22272
  }, null, 8, ["modelValue", "disabled", "error"]),
22273
- u("div", NL, [
22273
+ u("div", YL, [
22274
22274
  v(c(mI), {
22275
22275
  modelValue: d.value,
22276
22276
  "onUpdate:modelValue": g[2] || (g[2] = (S) => d.value = S),
@@ -22285,7 +22285,7 @@ const HI = /* @__PURE__ */ ee({
22285
22285
  key: 0,
22286
22286
  href: a.forgotUrl,
22287
22287
  class: "admin-auth-card__link"
22288
- }, " Забыли пароль? ", 8, XL)) : F("", !0)
22288
+ }, " Забыли пароль? ", 8, QL)) : F("", !0)
22289
22289
  ]),
22290
22290
  v(c(te), {
22291
22291
  type: "submit",
@@ -22299,16 +22299,16 @@ const HI = /* @__PURE__ */ ee({
22299
22299
  ]),
22300
22300
  _: 1
22301
22301
  }, 8, ["loading", "disabled"]),
22302
- a.ssoLinkLabel && a.ssoUrl ? (o(), s("div", KL, [
22302
+ a.ssoLinkLabel && a.ssoUrl ? (o(), s("div", eb, [
22303
22303
  g[4] || (g[4] = j(" или войдите через ", -1)),
22304
22304
  u("a", {
22305
22305
  href: a.ssoUrl,
22306
22306
  class: "admin-auth-card__link"
22307
- }, w(a.ssoLinkLabel), 9, JL)
22307
+ }, w(a.ssoLinkLabel), 9, ab)
22308
22308
  ])) : F("", !0)
22309
22309
  ], 32));
22310
22310
  }
22311
- }), QL = ["value", "disabled", "aria-label", "onInput", "onKeydown"], eb = { class: "admin-auth-card__row" }, ab = /* @__PURE__ */ ee({
22311
+ }), nb = ["value", "disabled", "aria-label", "onInput", "onKeydown"], ob = { class: "admin-auth-card__row" }, cb = /* @__PURE__ */ ee({
22312
22312
  __name: "TwoFactorForm",
22313
22313
  emits: ["success", "cancel"],
22314
22314
  setup(a, { emit: t }) {
@@ -22403,7 +22403,7 @@ const HI = /* @__PURE__ */ ee({
22403
22403
  "aria-label": `Цифра ${H + 1}`,
22404
22404
  onInput: ($) => g(H, $),
22405
22405
  onKeydown: ($) => S(H, $)
22406
- }, null, 40, QL))), 128))
22406
+ }, null, 40, nb))), 128))
22407
22407
  ], 32)) : (o(), V(c(Ce), {
22408
22408
  key: 3,
22409
22409
  modelValue: d.value,
@@ -22426,7 +22426,7 @@ const HI = /* @__PURE__ */ ee({
22426
22426
  ]),
22427
22427
  _: 1
22428
22428
  }, 8, ["loading", "disabled"]),
22429
- u("div", eb, [
22429
+ u("div", ob, [
22430
22430
  u("button", {
22431
22431
  type: "button",
22432
22432
  class: "admin-auth-card__link",
@@ -22446,13 +22446,13 @@ const HI = /* @__PURE__ */ ee({
22446
22446
  ])
22447
22447
  ], 32));
22448
22448
  }
22449
- }), tb = { class: "admin-auth-page" }, nb = {
22449
+ }), ib = { class: "admin-auth-page" }, lb = {
22450
22450
  key: 0,
22451
22451
  class: "admin-auth-page__corner"
22452
- }, ob = { class: "admin-auth-card__hd" }, cb = ["src", "alt"], ib = {
22452
+ }, db = { class: "admin-auth-card__hd" }, rb = ["src", "alt"], sb = {
22453
22453
  key: 1,
22454
22454
  "aria-hidden": "true"
22455
- }, lb = { key: 2 }, db = { class: "admin-auth-card__title" }, rb = { class: "admin-auth-card__sub" }, sb = /* @__PURE__ */ ee({
22455
+ }, hb = { key: 2 }, ub = { class: "admin-auth-card__title" }, yb = { class: "admin-auth-card__sub" }, pb = /* @__PURE__ */ ee({
22456
22456
  __name: "LoginPage",
22457
22457
  props: {
22458
22458
  brandName: { default: "Laravel Admin" },
@@ -22482,8 +22482,8 @@ const HI = /* @__PURE__ */ ee({
22482
22482
  }
22483
22483
  ), e1(() => {
22484
22484
  n.isAuthenticated && i();
22485
- }), (d, h) => (o(), s("div", tb, [
22486
- a.showCornerActions ? (o(), s("div", nb, [
22485
+ }), (d, h) => (o(), s("div", ib, [
22486
+ a.showCornerActions ? (o(), s("div", lb, [
22487
22487
  v(wI),
22488
22488
  v(xI)
22489
22489
  ])) : F("", !0),
@@ -22492,7 +22492,7 @@ const HI = /* @__PURE__ */ ee({
22492
22492
  padding: "none"
22493
22493
  }, {
22494
22494
  default: f(() => [
22495
- u("div", ob, [
22495
+ u("div", db, [
22496
22496
  u("div", {
22497
22497
  class: fe(["admin-auth-card__logo", c(n).isChallengePending ? "admin-auth-card__logo--accent" : ""])
22498
22498
  }, [
@@ -22500,19 +22500,19 @@ const HI = /* @__PURE__ */ ee({
22500
22500
  key: 0,
22501
22501
  src: a.brandLogo,
22502
22502
  alt: a.brandName
22503
- }, null, 8, cb)) : c(n).isChallengePending ? (o(), s("span", ib, "🛡")) : a.brandMark ? (o(), s("span", lb, w(a.brandMark), 1)) : (o(), V(Mg, {
22503
+ }, null, 8, rb)) : c(n).isChallengePending ? (o(), s("span", sb, "🛡")) : a.brandMark ? (o(), s("span", hb, w(a.brandMark), 1)) : (o(), V(Mg, {
22504
22504
  key: 3,
22505
22505
  size: 40
22506
22506
  }))
22507
22507
  ], 2),
22508
- u("div", db, [
22508
+ u("div", ub, [
22509
22509
  c(n).isChallengePending ? (o(), s(E, { key: 0 }, [
22510
22510
  j("Двухфакторная проверка")
22511
22511
  ], 64)) : (o(), s(E, { key: 1 }, [
22512
22512
  j(w(a.brandName), 1)
22513
22513
  ], 64))
22514
22514
  ]),
22515
- u("div", rb, [
22515
+ u("div", yb, [
22516
22516
  c(n).isChallengePending ? (o(), s(E, { key: 0 }, [
22517
22517
  j(" Введите 6-значный код из приложения-аутентификатора ")
22518
22518
  ], 64)) : (o(), s(E, { key: 1 }, [
@@ -22520,13 +22520,13 @@ const HI = /* @__PURE__ */ ee({
22520
22520
  ], 64))
22521
22521
  ])
22522
22522
  ]),
22523
- c(n).isChallengePending ? (o(), V(ab, {
22523
+ c(n).isChallengePending ? (o(), V(cb, {
22524
22524
  key: 0,
22525
22525
  onSuccess: h[0] || (h[0] = () => {
22526
22526
  }),
22527
22527
  onCancel: h[1] || (h[1] = () => {
22528
22528
  })
22529
- })) : (o(), V(YL, {
22529
+ })) : (o(), V(tb, {
22530
22530
  key: 1,
22531
22531
  "forgot-url": a.forgotUrl,
22532
22532
  "sso-link-label": a.ssoLinkLabel,
@@ -22539,7 +22539,7 @@ const HI = /* @__PURE__ */ ee({
22539
22539
  }, 8, ["class"])
22540
22540
  ]));
22541
22541
  }
22542
- }), hb = { class: "admin-auth-page" }, ub = { class: "admin-auth-card__hd" }, yb = { class: "admin-auth-card__logo" }, pb = { class: "admin-auth-card__sub" }, kb = { class: "admin-auth-card__body" }, mb = /* @__PURE__ */ ee({
22542
+ }), kb = { class: "admin-auth-page" }, mb = { class: "admin-auth-card__hd" }, vb = { class: "admin-auth-card__logo" }, fb = { class: "admin-auth-card__sub" }, Mb = { class: "admin-auth-card__body" }, gb = /* @__PURE__ */ ee({
22543
22543
  __name: "ForgotPasswordPage",
22544
22544
  props: {
22545
22545
  brandName: { default: "Laravel Admin" },
@@ -22562,20 +22562,20 @@ const HI = /* @__PURE__ */ ee({
22562
22562
  l.value = !1;
22563
22563
  }
22564
22564
  }
22565
- return (d, h) => (o(), s("div", hb, [
22565
+ return (d, h) => (o(), s("div", kb, [
22566
22566
  v(c(ge), {
22567
22567
  padding: "none",
22568
22568
  class: "admin-auth-card"
22569
22569
  }, {
22570
22570
  default: f(() => [
22571
- u("div", ub, [
22572
- u("div", yb, [
22571
+ u("div", mb, [
22572
+ u("div", vb, [
22573
22573
  v(Mg, { size: 40 })
22574
22574
  ]),
22575
22575
  h[2] || (h[2] = u("div", { class: "admin-auth-card__title" }, "Восстановление пароля", -1)),
22576
- u("div", pb, w(r.value ? "Если такой email зарегистрирован — мы отправили письмо со ссылкой на сброс." : "Введите email — отправим ссылку для сброса пароля."), 1)
22576
+ u("div", fb, w(r.value ? "Если такой email зарегистрирован — мы отправили письмо со ссылкой на сброс." : "Введите email — отправим ссылку для сброса пароля."), 1)
22577
22577
  ]),
22578
- u("div", kb, [
22578
+ u("div", Mb, [
22579
22579
  r.value ? F("", !0) : (o(), s("form", {
22580
22580
  key: 0,
22581
22581
  onSubmit: ve(i, ["prevent"])
@@ -22622,10 +22622,10 @@ const HI = /* @__PURE__ */ ee({
22622
22622
  })
22623
22623
  ]));
22624
22624
  }
22625
- }), vb = { class: "admin-auth-page" }, fb = { class: "admin-auth-card__hd" }, Mb = { class: "admin-auth-card__logo" }, gb = { class: "admin-auth-card__body" }, Ib = {
22625
+ }), Ib = { class: "admin-auth-page" }, wb = { class: "admin-auth-card__hd" }, xb = { class: "admin-auth-card__logo" }, Lb = { class: "admin-auth-card__body" }, bb = {
22626
22626
  key: 0,
22627
22627
  class: "admin-auth-card__error"
22628
- }, wb = /* @__PURE__ */ ee({
22628
+ }, Cb = /* @__PURE__ */ ee({
22629
22629
  __name: "ResetPasswordPage",
22630
22630
  props: {
22631
22631
  loginRouteName: { default: "admin.login" }
@@ -22656,20 +22656,20 @@ const HI = /* @__PURE__ */ ee({
22656
22656
  y.value = !1;
22657
22657
  }
22658
22658
  }
22659
- return (x, b) => (o(), s("div", vb, [
22659
+ return (x, b) => (o(), s("div", Ib, [
22660
22660
  v(c(ge), {
22661
22661
  padding: "none",
22662
22662
  class: "admin-auth-card"
22663
22663
  }, {
22664
22664
  default: f(() => [
22665
- u("div", fb, [
22666
- u("div", Mb, [
22665
+ u("div", wb, [
22666
+ u("div", xb, [
22667
22667
  v(Mg, { size: 40 })
22668
22668
  ]),
22669
22669
  b[3] || (b[3] = u("div", { class: "admin-auth-card__title" }, "Новый пароль", -1)),
22670
22670
  b[4] || (b[4] = u("div", { class: "admin-auth-card__sub" }, "Задайте новый пароль для своего аккаунта.", -1))
22671
22671
  ]),
22672
- u("div", gb, [
22672
+ u("div", Lb, [
22673
22673
  u("form", {
22674
22674
  onSubmit: ve(m, ["prevent"])
22675
22675
  }, [
@@ -22696,7 +22696,7 @@ const HI = /* @__PURE__ */ ee({
22696
22696
  autocomplete: "new-password",
22697
22697
  required: ""
22698
22698
  }, null, 8, ["modelValue"]),
22699
- k.value ? (o(), s("p", Ib, w(k.value), 1)) : F("", !0),
22699
+ k.value ? (o(), s("p", bb, w(k.value), 1)) : F("", !0),
22700
22700
  v(c(te), {
22701
22701
  type: "submit",
22702
22702
  variant: "primary",
@@ -22834,25 +22834,25 @@ const HI = /* @__PURE__ */ ee({
22834
22834
  isSelected: q,
22835
22835
  rowId: U
22836
22836
  };
22837
- }), xb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22837
+ }), Sb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22838
22838
  __proto__: null,
22839
22839
  useResourceIndexStore: VI
22840
- }, Symbol.toStringTag, { value: "Module" })), tI = "d.m.Y H:i:s", Lb = "d.m.Y", bb = /^\d{4}-\d{2}-\d{2}[T\s]\d{2}:\d{2}/;
22840
+ }, Symbol.toStringTag, { value: "Module" })), tI = "d.m.Y H:i:s", _b = "d.m.Y", qb = /^\d{4}-\d{2}-\d{2}[T\s]\d{2}:\d{2}/;
22841
22841
  function Ig(a, t, n = {}) {
22842
22842
  if (a == null) return "";
22843
- if (!t && typeof a == "string" && bb.test(a))
22843
+ if (!t && typeof a == "string" && qb.test(a))
22844
22844
  return zg(a, tI);
22845
22845
  switch (t) {
22846
22846
  case "date":
22847
- return zg(String(a), n.format ?? Lb);
22847
+ return zg(String(a), n.format ?? _b);
22848
22848
  case "datetime":
22849
22849
  return zg(String(a), n.format ?? tI);
22850
22850
  case "money":
22851
- return Cb(a, n.currency ?? "RUB", n.decimals ?? 2);
22851
+ return Ab(a, n.currency ?? "RUB", n.decimals ?? 2);
22852
22852
  case "boolean":
22853
- return Sb(a, n.trueLabel ?? "Да", n.falseLabel ?? "Нет");
22853
+ return zb(a, n.trueLabel ?? "Да", n.falseLabel ?? "Нет");
22854
22854
  case "bytes":
22855
- return _b(a);
22855
+ return Hb(a);
22856
22856
  case "json":
22857
22857
  return nI(a);
22858
22858
  default:
@@ -22894,14 +22894,14 @@ function zg(a, t) {
22894
22894
  }
22895
22895
  return i;
22896
22896
  }
22897
- function Cb(a, t, n) {
22897
+ function Ab(a, t, n) {
22898
22898
  const r = typeof a == "number" ? a : Number(a);
22899
22899
  return isNaN(r) ? String(a) : `${r.toFixed(n)} ${t}`;
22900
22900
  }
22901
- function Sb(a, t, n) {
22901
+ function zb(a, t, n) {
22902
22902
  return a === !0 || a === 1 || a === "1" || a === "true" ? t : n;
22903
22903
  }
22904
- function _b(a) {
22904
+ function Hb(a) {
22905
22905
  const t = typeof a == "number" ? a : Number(a);
22906
22906
  return isNaN(t) ? String(a) : t < 1024 ? `${t} B` : t < 1024 * 1024 ? `${(t / 1024).toFixed(1)} KB` : t < 1024 * 1024 * 1024 ? `${(t / 1024 / 1024).toFixed(1)} MB` : `${(t / 1024 / 1024 / 1024).toFixed(1)} GB`;
22907
22907
  }
@@ -23010,31 +23010,31 @@ const oI = ee({
23010
23010
  });
23011
23011
  };
23012
23012
  }
23013
- }), qb = { class: "admin-toolbar" }, Ab = { class: "admin-toolbar__row admin-toolbar__row--filters" }, zb = { class: "admin-toolbar__search" }, Hb = ["placeholder"], Vb = {
23013
+ }), Vb = { class: "admin-toolbar" }, Pb = { class: "admin-toolbar__row admin-toolbar__row--filters" }, jb = { class: "admin-toolbar__search" }, Fb = ["placeholder"], Bb = {
23014
23014
  key: 0,
23015
23015
  class: "admin-toolbar__divider"
23016
- }, Pb = {
23016
+ }, Db = {
23017
23017
  type: "button",
23018
23018
  class: "admin-toolbar__chip admin-toolbar__chip--active"
23019
- }, jb = { class: "admin-toolbar__chip-text" }, Fb = ["onClick", "onKeydown"], Bb = { class: "admin-toolbar__popover-actions" }, Db = {
23019
+ }, Rb = { class: "admin-toolbar__chip-text" }, Tb = ["onClick", "onKeydown"], $b = { class: "admin-toolbar__popover-actions" }, Ub = {
23020
23020
  type: "button",
23021
23021
  class: "admin-toolbar__chip"
23022
- }, Rb = { class: "admin-toolbar__chip-text" }, Tb = { class: "admin-toolbar__popover-actions" }, $b = {
23022
+ }, Ob = { class: "admin-toolbar__chip-text" }, Eb = { class: "admin-toolbar__popover-actions" }, Zb = {
23023
23023
  type: "button",
23024
23024
  class: "admin-toolbar__chip"
23025
- }, Ub = ["onClick"], Ob = {
23025
+ }, Wb = ["onClick"], Gb = {
23026
23026
  key: 3,
23027
23027
  class: "admin-toolbar__spacer admin-toolbar__spacer--actions"
23028
- }, Eb = {
23028
+ }, Nb = {
23029
23029
  type: "button",
23030
23030
  class: "admin-toolbar__chip"
23031
- }, Zb = { class: "admin-toolbar__chip-text" }, Wb = ["onClick"], Gb = {
23031
+ }, Xb = { class: "admin-toolbar__chip-text" }, Kb = ["onClick"], Jb = {
23032
23032
  type: "button",
23033
23033
  class: "admin-toolbar__chip"
23034
- }, Nb = ["checked", "onChange"], Xb = {
23034
+ }, Yb = ["checked", "onChange"], Qb = {
23035
23035
  type: "button",
23036
23036
  class: "admin-toolbar__chip"
23037
- }, Kb = { class: "admin-toolbar__popover-actions" }, cI = 4, Jb = /* @__PURE__ */ ee({
23037
+ }, eC = { class: "admin-toolbar__popover-actions" }, cI = 4, aC = /* @__PURE__ */ ee({
23038
23038
  __name: "AdminFilterToolbar",
23039
23039
  props: {
23040
23040
  search: {},
@@ -23147,9 +23147,9 @@ const oI = ee({
23147
23147
  function D(I) {
23148
23148
  return CI(I) ?? null;
23149
23149
  }
23150
- return (I, q) => (o(), s("div", qb, [
23151
- u("div", Ab, [
23152
- u("label", zb, [
23150
+ return (I, q) => (o(), s("div", Vb, [
23151
+ u("div", Pb, [
23152
+ u("label", jb, [
23153
23153
  v(c(Y), {
23154
23154
  icon: c(Gn),
23155
23155
  size: 14,
@@ -23162,22 +23162,22 @@ const oI = ee({
23162
23162
  class: "admin-toolbar__search-input",
23163
23163
  onKeydown: qg(i, ["enter"]),
23164
23164
  onBlur: i
23165
- }, null, 40, Hb), [
23165
+ }, null, 40, Fb), [
23166
23166
  [$n, l.value]
23167
23167
  ])
23168
23168
  ]),
23169
- a.filters.length > 0 ? (o(), s("span", Vb)) : F("", !0),
23169
+ a.filters.length > 0 ? (o(), s("span", Bb)) : F("", !0),
23170
23170
  (o(!0), s(E, null, Q(h.value, (C) => (o(), V(c(Fe), {
23171
23171
  key: `active-${C.name}`
23172
23172
  }, {
23173
23173
  trigger: f(() => [
23174
- u("button", Pb, [
23174
+ u("button", Db, [
23175
23175
  D(C.icon) !== null ? (o(), V(c(Y), {
23176
23176
  key: 0,
23177
23177
  icon: D(C.icon),
23178
23178
  size: 14
23179
23179
  }, null, 8, ["icon"])) : F("", !0),
23180
- u("span", jb, w(S(C)), 1),
23180
+ u("span", Rb, w(S(C)), 1),
23181
23181
  u("span", {
23182
23182
  role: "button",
23183
23183
  tabindex: "0",
@@ -23190,7 +23190,7 @@ const oI = ee({
23190
23190
  icon: c(He),
23191
23191
  size: 12
23192
23192
  }, null, 8, ["icon"])
23193
- ], 40, Fb)
23193
+ ], 40, Tb)
23194
23194
  ])
23195
23195
  ]),
23196
23196
  default: f(() => [
@@ -23206,7 +23206,7 @@ const oI = ee({
23206
23206
  onToggleOption: (R) => A(C.name, R, C.multiple ?? !1),
23207
23207
  onSetDraft: (R) => U(C.name, R)
23208
23208
  }, null, 8, ["filter", "draft", "is-checked", "onToggleOption", "onSetDraft"]),
23209
- u("div", Bb, [
23209
+ u("div", $b, [
23210
23210
  v(c(te), {
23211
23211
  size: "sm",
23212
23212
  variant: "ghost",
@@ -23237,13 +23237,13 @@ const oI = ee({
23237
23237
  key: `inactive-${C.name}`
23238
23238
  }, {
23239
23239
  trigger: f(() => [
23240
- u("button", Db, [
23240
+ u("button", Ub, [
23241
23241
  D(C.icon) !== null ? (o(), V(c(Y), {
23242
23242
  key: 0,
23243
23243
  icon: D(C.icon),
23244
23244
  size: 14
23245
23245
  }, null, 8, ["icon"])) : F("", !0),
23246
- u("span", Rb, w(C.label), 1)
23246
+ u("span", Ob, w(C.label), 1)
23247
23247
  ])
23248
23248
  ]),
23249
23249
  default: f(() => [
@@ -23259,7 +23259,7 @@ const oI = ee({
23259
23259
  onToggleOption: (R) => A(C.name, R, C.multiple ?? !1),
23260
23260
  onSetDraft: (R) => U(C.name, R)
23261
23261
  }, null, 8, ["filter", "draft", "is-checked", "onToggleOption", "onSetDraft"]),
23262
- u("div", Tb, [
23262
+ u("div", Eb, [
23263
23263
  v(c(te), {
23264
23264
  size: "sm",
23265
23265
  variant: "ghost",
@@ -23288,7 +23288,7 @@ const oI = ee({
23288
23288
  }, 1024))), 128)),
23289
23289
  x.value.length > 0 ? (o(), V(c(Fe), { key: 1 }, {
23290
23290
  trigger: f(() => [
23291
- u("button", $b, [
23291
+ u("button", Zb, [
23292
23292
  v(c(Y), {
23293
23293
  icon: c(De),
23294
23294
  size: 14
@@ -23315,7 +23315,7 @@ const oI = ee({
23315
23315
  size: 14
23316
23316
  }, null, 8, ["icon"])) : F("", !0),
23317
23317
  j(" " + w(C.label), 1)
23318
- ], 8, Ub))), 128))
23318
+ ], 8, Wb))), 128))
23319
23319
  ], 32)
23320
23320
  ]),
23321
23321
  _: 1
@@ -23338,15 +23338,15 @@ const oI = ee({
23338
23338
  ]),
23339
23339
  _: 1
23340
23340
  })) : F("", !0),
23341
- T.value.length > 0 || a.columns.length > 0 || a.enableSavedViews ? (o(), s("span", Ob)) : F("", !0),
23341
+ T.value.length > 0 || a.columns.length > 0 || a.enableSavedViews ? (o(), s("span", Gb)) : F("", !0),
23342
23342
  T.value.length > 0 ? (o(), V(c(Fe), { key: 4 }, {
23343
23343
  trigger: f(() => [
23344
- u("button", Eb, [
23344
+ u("button", Nb, [
23345
23345
  v(c(Y), {
23346
23346
  icon: c(X2),
23347
23347
  size: 14
23348
23348
  }, null, 8, ["icon"]),
23349
- u("span", Zb, w(a.groupBy ? `Группа: ${G(a.columns.find((C) => $(C) === a.groupBy) ?? {})}` : "Группировать"), 1)
23349
+ u("span", Xb, w(a.groupBy ? `Группа: ${G(a.columns.find((C) => $(C) === a.groupBy) ?? {})}` : "Группировать"), 1)
23350
23350
  ])
23351
23351
  ]),
23352
23352
  default: f(() => [
@@ -23383,14 +23383,14 @@ const oI = ee({
23383
23383
  size: 14
23384
23384
  }, null, 8, ["icon"])) : F("", !0),
23385
23385
  u("span", null, w(G(C)), 1)
23386
- ], 8, Wb))), 128))
23386
+ ], 8, Kb))), 128))
23387
23387
  ], 32)
23388
23388
  ]),
23389
23389
  _: 1
23390
23390
  })) : F("", !0),
23391
23391
  a.columns.length > 0 ? (o(), V(c(Fe), { key: 5 }, {
23392
23392
  trigger: f(() => [
23393
- u("button", Gb, [
23393
+ u("button", Jb, [
23394
23394
  v(c(Y), {
23395
23395
  icon: c(m1),
23396
23396
  size: 14
@@ -23412,7 +23412,7 @@ const oI = ee({
23412
23412
  type: "checkbox",
23413
23413
  checked: ae(C),
23414
23414
  onChange: (R) => oe(C)
23415
- }, null, 40, Nb),
23415
+ }, null, 40, Yb),
23416
23416
  u("span", null, w(G(C)), 1)
23417
23417
  ]))), 128))
23418
23418
  ], 32)
@@ -23421,7 +23421,7 @@ const oI = ee({
23421
23421
  })) : F("", !0),
23422
23422
  a.enableSavedViews ? (o(), V(c(Fe), { key: 6 }, {
23423
23423
  trigger: f(() => [
23424
- u("button", Xb, [
23424
+ u("button", Qb, [
23425
23425
  v(c(Y), {
23426
23426
  icon: c(En),
23427
23427
  size: 14
@@ -23445,7 +23445,7 @@ const oI = ee({
23445
23445
  }, null, 544), [
23446
23446
  [$n, Z.value]
23447
23447
  ]),
23448
- u("div", Kb, [
23448
+ u("div", eC, [
23449
23449
  v(c(te), {
23450
23450
  size: "sm",
23451
23451
  variant: "primary",
@@ -23466,7 +23466,7 @@ const oI = ee({
23466
23466
  ])
23467
23467
  ]));
23468
23468
  }
23469
- }), Yb = ["title"], Qb = ["disabled"], eC = ["disabled"], aC = ["disabled"], tC = ["value"], nC = ["disabled"], oC = ["disabled"], PI = /* @__PURE__ */ ee({
23469
+ }), tC = ["title"], nC = ["disabled"], oC = ["disabled"], cC = ["disabled"], iC = ["value"], lC = ["disabled"], dC = ["disabled"], PI = /* @__PURE__ */ ee({
23470
23470
  __name: "InlineEditCell",
23471
23471
  props: {
23472
23472
  resourceSlug: {},
@@ -23538,7 +23538,7 @@ const oI = ee({
23538
23538
  onBlur: x,
23539
23539
  onClick: p[1] || (p[1] = ve(() => {
23540
23540
  }, ["stop"]))
23541
- }, null, 40, Qb)), [
23541
+ }, null, 40, nC)), [
23542
23542
  [$n, i.value]
23543
23543
  ]) : a.inputType === "date" ? w1((o(), s("input", {
23544
23544
  key: 2,
@@ -23552,7 +23552,7 @@ const oI = ee({
23552
23552
  onBlur: x,
23553
23553
  onClick: p[3] || (p[3] = ve(() => {
23554
23554
  }, ["stop"]))
23555
- }, null, 40, eC)), [
23555
+ }, null, 40, oC)), [
23556
23556
  [$n, i.value]
23557
23557
  ]) : a.inputType === "select" ? w1((o(), s("select", {
23558
23558
  key: 3,
@@ -23570,8 +23570,8 @@ const oI = ee({
23570
23570
  (o(!0), s(E, null, Q(g.value, (z) => (o(), s("option", {
23571
23571
  key: z.value,
23572
23572
  value: z.value
23573
- }, w(z.label), 9, tC))), 128))
23574
- ], 40, aC)), [
23573
+ }, w(z.label), 9, iC))), 128))
23574
+ ], 40, cC)), [
23575
23575
  [WI, i.value]
23576
23576
  ]) : a.inputType === "textarea" ? w1((o(), s("textarea", {
23577
23577
  key: 4,
@@ -23585,7 +23585,7 @@ const oI = ee({
23585
23585
  onBlur: x,
23586
23586
  onClick: p[7] || (p[7] = ve(() => {
23587
23587
  }, ["stop"]))
23588
- }, null, 40, nC)), [
23588
+ }, null, 40, lC)), [
23589
23589
  [$n, i.value]
23590
23590
  ]) : w1((o(), s("input", {
23591
23591
  key: 5,
@@ -23599,7 +23599,7 @@ const oI = ee({
23599
23599
  onBlur: x,
23600
23600
  onClick: p[9] || (p[9] = ve(() => {
23601
23601
  }, ["stop"]))
23602
- }, null, 40, oC)), [
23602
+ }, null, 40, dC)), [
23603
23603
  [$n, i.value]
23604
23604
  ]) : (o(), s("span", {
23605
23605
  key: 0,
@@ -23610,16 +23610,16 @@ const oI = ee({
23610
23610
  ze(S.$slots, "default", {}, () => [
23611
23611
  j(w(a.value), 1)
23612
23612
  ])
23613
- ], 42, Yb))
23613
+ ], 42, tC))
23614
23614
  ], 64));
23615
23615
  }
23616
- }), cC = { class: "admin-resource-tree-page" }, iC = { class: "admin-resource-tree-page__header" }, lC = { class: "admin-resource-tree-page__title" }, dC = {
23616
+ }), rC = { class: "admin-resource-tree-page" }, sC = { class: "admin-resource-tree-page__header" }, hC = { class: "admin-resource-tree-page__title" }, uC = {
23617
23617
  key: 0,
23618
23618
  class: "admin-resource-tree-page__count"
23619
- }, rC = {
23619
+ }, yC = {
23620
23620
  key: 0,
23621
23621
  class: "admin-resource-tree-page__subtitle"
23622
- }, sC = { class: "admin-resource-tree-page__actions" }, hC = { class: "admin-resource-tree-page__toolbar" }, uC = { class: "admin-resource-tree-page__selection-label" }, yC = { class: "admin-resource-tree-page__body" }, pC = /* @__PURE__ */ ee({
23622
+ }, pC = { class: "admin-resource-tree-page__actions" }, kC = { class: "admin-resource-tree-page__toolbar" }, mC = { class: "admin-resource-tree-page__selection-label" }, vC = { class: "admin-resource-tree-page__body" }, fC = /* @__PURE__ */ ee({
23623
23623
  __name: "ResourceTreePage",
23624
23624
  props: {
23625
23625
  slug: {},
@@ -23722,16 +23722,16 @@ const oI = ee({
23722
23722
  q !== null && clearTimeout(q), q = setTimeout(() => {
23723
23723
  p();
23724
23724
  }, 300);
23725
- }), e1(p), (C, R) => (o(), s("div", cC, [
23726
- u("header", iC, [
23725
+ }), e1(p), (C, R) => (o(), s("div", rC, [
23726
+ u("header", sC, [
23727
23727
  u("div", null, [
23728
- u("h1", lC, [
23728
+ u("h1", hC, [
23729
23729
  j(w(b.value) + " ", 1),
23730
- d.value > 0 ? (o(), s("span", dC, w(d.value), 1)) : F("", !0)
23730
+ d.value > 0 ? (o(), s("span", uC, w(d.value), 1)) : F("", !0)
23731
23731
  ]),
23732
- L.value ? (o(), s("p", rC, w(L.value), 1)) : F("", !0)
23732
+ L.value ? (o(), s("p", yC, w(L.value), 1)) : F("", !0)
23733
23733
  ]),
23734
- u("div", sC, [
23734
+ u("div", pC, [
23735
23735
  g.value ? (o(), V(c(te), {
23736
23736
  key: 0,
23737
23737
  variant: "primary",
@@ -23745,7 +23745,7 @@ const oI = ee({
23745
23745
  })) : F("", !0)
23746
23746
  ])
23747
23747
  ]),
23748
- u("div", hC, [
23748
+ u("div", kC, [
23749
23749
  v(c(Ce), {
23750
23750
  modelValue: k.value,
23751
23751
  "onUpdate:modelValue": R[0] || (R[0] = (ne) => k.value = ne),
@@ -23784,7 +23784,7 @@ const oI = ee({
23784
23784
  class: "admin-resource-tree-page__selection-divider",
23785
23785
  "aria-hidden": "true"
23786
23786
  }, "|", -1)),
23787
- u("span", uC, w(T.value?.label ?? A.value), 1),
23787
+ u("span", mC, w(T.value?.label ?? A.value), 1),
23788
23788
  v(c(te), {
23789
23789
  variant: "ghost",
23790
23790
  onClick: oe
@@ -23837,7 +23837,7 @@ const oI = ee({
23837
23837
  })
23838
23838
  ], 64)) : F("", !0)
23839
23839
  ]),
23840
- u("div", yC, [
23840
+ u("div", vC, [
23841
23841
  h.value && i.value.length === 0 ? (o(), s(E, { key: 0 }, Q(6, (ne) => v(c(Xn), { key: ne })), 64)) : y.value ? (o(), V(c(Ug), {
23842
23842
  key: 1,
23843
23843
  message: y.value.message,
@@ -23865,36 +23865,36 @@ const oI = ee({
23865
23865
  for (const [r, l] of t)
23866
23866
  n[r] = l;
23867
23867
  return n;
23868
- }, kC = /* @__PURE__ */ a1(pC, [["__scopeId", "data-v-e5611ddf"]]), mC = {
23868
+ }, MC = /* @__PURE__ */ a1(fC, [["__scopeId", "data-v-e5611ddf"]]), gC = {
23869
23869
  key: 1,
23870
23870
  class: "admin-page admin-resource-index"
23871
- }, vC = { class: "admin-page__hd" }, fC = { class: "admin-page__title-wrap" }, MC = { class: "admin-page__title-row" }, gC = { class: "admin-page__title" }, IC = {
23871
+ }, IC = { class: "admin-page__hd" }, wC = { class: "admin-page__title-wrap" }, xC = { class: "admin-page__title-row" }, LC = { class: "admin-page__title" }, bC = {
23872
23872
  key: 0,
23873
23873
  class: "admin-page__live",
23874
23874
  role: "status"
23875
- }, wC = {
23875
+ }, CC = {
23876
23876
  key: 0,
23877
23877
  class: "admin-page__count"
23878
- }, xC = { class: "admin-page__actions" }, LC = { class: "admin-page__view-row" }, bC = { class: "admin-page__view-name" }, CC = {
23878
+ }, SC = { class: "admin-page__actions" }, _C = { class: "admin-page__view-row" }, qC = { class: "admin-page__view-name" }, AC = {
23879
23879
  key: 0,
23880
23880
  class: "admin-page__view-badge"
23881
- }, SC = ["onClick"], _C = {
23881
+ }, zC = ["onClick"], HC = {
23882
23882
  key: 0,
23883
23883
  class: "admin-bulk-toolbar",
23884
23884
  role: "toolbar"
23885
- }, qC = { class: "admin-bulk-toolbar__count" }, AC = {
23885
+ }, VC = { class: "admin-bulk-toolbar__count" }, PC = {
23886
23886
  key: 2,
23887
23887
  class: "admin-resource-index__loading"
23888
- }, zC = {
23888
+ }, jC = {
23889
23889
  key: 5,
23890
23890
  class: "admin-resource-index__table"
23891
- }, HC = ["draggable", "onDragstart", "onDragover", "onDrop"], VC = {
23891
+ }, FC = ["draggable", "onDragstart", "onDragover", "onDrop"], BC = {
23892
23892
  key: 1,
23893
23893
  class: "admin-resource-index__row-actions"
23894
- }, PC = ["onClick"], jC = ["onClick"], FC = ["onClick"], BC = ["onClick"], DC = ["onClick"], RC = { class: "admin-cell-truncate" }, TC = ["title"], $C = {
23894
+ }, DC = ["onClick"], RC = ["onClick"], TC = ["onClick"], $C = ["onClick"], UC = ["onClick"], OC = { class: "admin-cell-truncate" }, EC = ["title"], ZC = {
23895
23895
  key: 6,
23896
23896
  class: "admin-resource-index__footer"
23897
- }, iI = "__row_actions__", lI = "__row_reorder__", UC = /* @__PURE__ */ ee({
23897
+ }, iI = "__row_actions__", lI = "__row_reorder__", WC = /* @__PURE__ */ ee({
23898
23898
  __name: "ResourceIndexPage",
23899
23899
  props: {
23900
23900
  slug: {},
@@ -24334,17 +24334,17 @@ const oI = ee({
24334
24334
  await d.load().catch(() => {
24335
24335
  });
24336
24336
  }
24337
- return (O, B) => m.value?.view_mode === "tree" ? (o(), V(kC, {
24337
+ return (O, B) => m.value?.view_mode === "tree" ? (o(), V(MC, {
24338
24338
  key: 0,
24339
24339
  slug: a.slug,
24340
24340
  title: a.title,
24341
24341
  subtitle: a.subtitle
24342
- }, null, 8, ["slug", "title", "subtitle"])) : (o(), s("section", mC, [
24343
- u("header", vC, [
24344
- u("div", fC, [
24345
- u("div", MC, [
24346
- u("h1", gC, w(x.value), 1),
24347
- f2.value ? (o(), s("span", IC, [
24342
+ }, null, 8, ["slug", "title", "subtitle"])) : (o(), s("section", gC, [
24343
+ u("header", IC, [
24344
+ u("div", wC, [
24345
+ u("div", xC, [
24346
+ u("h1", LC, w(x.value), 1),
24347
+ f2.value ? (o(), s("span", bC, [
24348
24348
  B[10] || (B[10] = u("span", {
24349
24349
  class: "admin-page__live-dot",
24350
24350
  "aria-hidden": "true"
@@ -24352,7 +24352,7 @@ const oI = ee({
24352
24352
  j(" " + w(f2.value), 1)
24353
24353
  ])) : F("", !0)
24354
24354
  ]),
24355
- a.subtitle || d1.value ? (o(), s("div", wC, [
24355
+ a.subtitle || d1.value ? (o(), s("div", CC, [
24356
24356
  a.subtitle ? (o(), s(E, { key: 0 }, [
24357
24357
  j(w(a.subtitle), 1)
24358
24358
  ], 64)) : F("", !0),
@@ -24364,7 +24364,7 @@ const oI = ee({
24364
24364
  ], 64)) : F("", !0)
24365
24365
  ])) : F("", !0)
24366
24366
  ]),
24367
- u("div", xC, [
24367
+ u("div", SC, [
24368
24368
  ze(O.$slots, "actions"),
24369
24369
  v(c(Fe), null, {
24370
24370
  trigger: f(() => [
@@ -24403,10 +24403,10 @@ const oI = ee({
24403
24403
  onClick: (J) => x1(N)
24404
24404
  }, {
24405
24405
  default: f(() => [
24406
- u("span", LC, [
24407
- u("span", bC, [
24406
+ u("span", _C, [
24407
+ u("span", qC, [
24408
24408
  j(w(N.name) + " ", 1),
24409
- N.is_default ? (o(), s("span", CC, "default")) : F("", !0)
24409
+ N.is_default ? (o(), s("span", AC, "default")) : F("", !0)
24410
24410
  ]),
24411
24411
  N.owned ? (o(), s("button", {
24412
24412
  key: 0,
@@ -24419,7 +24419,7 @@ const oI = ee({
24419
24419
  icon: c(Re),
24420
24420
  size: 12
24421
24421
  }, null, 8, ["icon"])
24422
- ], 8, SC)) : F("", !0)
24422
+ ], 8, zC)) : F("", !0)
24423
24423
  ])
24424
24424
  ]),
24425
24425
  _: 2
@@ -24539,8 +24539,8 @@ const oI = ee({
24539
24539
  })) : F("", !0)
24540
24540
  ])
24541
24541
  ]),
24542
- c(d).hasSelection ? (o(), s("div", _C, [
24543
- u("span", qC, [
24542
+ c(d).hasSelection ? (o(), s("div", HC, [
24543
+ u("span", VC, [
24544
24544
  B[17] || (B[17] = j(" Выбрано ", -1)),
24545
24545
  u("b", null, w(c(d).selectedCount), 1)
24546
24546
  ]),
@@ -24596,7 +24596,7 @@ const oI = ee({
24596
24596
  ])]),
24597
24597
  _: 1
24598
24598
  }, 8, ["onClick"])
24599
- ])) : D.value ? (o(), V(Jb, {
24599
+ ])) : D.value ? (o(), V(aC, {
24600
24600
  key: 1,
24601
24601
  search: c(d).search,
24602
24602
  "search-placeholder": C.value,
@@ -24620,7 +24620,7 @@ const oI = ee({
24620
24620
  ]),
24621
24621
  _: 3
24622
24622
  }, 8, ["search", "search-placeholder", "filters", "values", "columns", "group-by", "column-visibility"])) : F("", !0),
24623
- c(d).loading && c(d).items.length === 0 ? (o(), s("div", AC, [
24623
+ c(d).loading && c(d).items.length === 0 ? (o(), s("div", PC, [
24624
24624
  c(d).slowLoading ? (o(), s(E, { key: 0 }, Q(8, (N) => v(c(Xn), {
24625
24625
  key: N,
24626
24626
  height: "40px"
@@ -24662,7 +24662,7 @@ const oI = ee({
24662
24662
  })) : F("", !0)
24663
24663
  ]),
24664
24664
  _: 1
24665
- })) : (o(), s("div", zC, [
24665
+ })) : (o(), s("div", jC, [
24666
24666
  v(c(y2), {
24667
24667
  columns: H.value,
24668
24668
  data: c(d).items,
@@ -24710,7 +24710,7 @@ const oI = ee({
24710
24710
  icon: c(i2),
24711
24711
  size: 14
24712
24712
  }, null, 8, ["icon"])
24713
- ], 42, HC)) : N.key === iI ? (o(), s("div", VC, [
24713
+ ], 42, FC)) : N.key === iI ? (o(), s("div", BC, [
24714
24714
  u("button", {
24715
24715
  type: "button",
24716
24716
  class: "admin-resource-index__row-action",
@@ -24721,7 +24721,7 @@ const oI = ee({
24721
24721
  icon: c(H2),
24722
24722
  size: 16
24723
24723
  }, null, 8, ["icon"])
24724
- ], 8, PC),
24724
+ ], 8, DC),
24725
24725
  DI(Z(J) ?? {}) ? (o(), s(E, { key: 1 }, [
24726
24726
  u("button", {
24727
24727
  type: "button",
@@ -24733,7 +24733,7 @@ const oI = ee({
24733
24733
  icon: c(Wn),
24734
24734
  size: 16
24735
24735
  }, null, 8, ["icon"])
24736
- ], 8, BC),
24736
+ ], 8, $C),
24737
24737
  u("button", {
24738
24738
  type: "button",
24739
24739
  class: "admin-resource-index__row-action admin-resource-index__row-action--danger",
@@ -24744,7 +24744,7 @@ const oI = ee({
24744
24744
  icon: c(Re),
24745
24745
  size: 16
24746
24746
  }, null, 8, ["icon"])
24747
- ], 8, DC)
24747
+ ], 8, UC)
24748
24748
  ], 64)) : (o(), s(E, { key: 0 }, [
24749
24749
  T.value ? (o(), s("button", {
24750
24750
  key: 0,
@@ -24757,7 +24757,7 @@ const oI = ee({
24757
24757
  icon: c(i1),
24758
24758
  size: 16
24759
24759
  }, null, 8, ["icon"])
24760
- ], 8, jC)) : F("", !0),
24760
+ ], 8, RC)) : F("", !0),
24761
24761
  T.value ? (o(), s("button", {
24762
24762
  key: 1,
24763
24763
  type: "button",
@@ -24769,7 +24769,7 @@ const oI = ee({
24769
24769
  icon: c(Re),
24770
24770
  size: 16
24771
24771
  }, null, 8, ["icon"])
24772
- ], 8, FC)) : F("", !0)
24772
+ ], 8, TC)) : F("", !0)
24773
24773
  ], 64))
24774
24774
  ])) : ze(O.$slots, `cell-${N.key}`, {
24775
24775
  key: 2,
@@ -24791,20 +24791,20 @@ const oI = ee({
24791
24791
  }
24792
24792
  }, {
24793
24793
  default: f(() => [
24794
- u("span", RC, w(oe(N.key, J)), 1)
24794
+ u("span", OC, w(oe(N.key, J)), 1)
24795
24795
  ]),
24796
24796
  _: 2
24797
24797
  }, 1032, ["resource-slug", "row-id", "column", "value", "input-type", "options", "row-override", "onSaved"])) : (o(), s("span", {
24798
24798
  key: 1,
24799
24799
  class: "admin-cell-truncate",
24800
24800
  title: oe(N.key, J)
24801
- }, w(oe(N.key, J)), 9, TC))
24801
+ }, w(oe(N.key, J)), 9, EC))
24802
24802
  ])
24803
24803
  ])
24804
24804
  }))
24805
24805
  ]), 1032, ["columns", "data", "sort-key", "sort-direction", "selection", "row-key"])
24806
24806
  ])),
24807
- !c(d).loading && !c(d).hasError && !c(d).isEmpty ? (o(), s("footer", $C, [
24807
+ !c(d).loading && !c(d).hasError && !c(d).isEmpty ? (o(), s("footer", ZC, [
24808
24808
  v(c(ow), {
24809
24809
  "model-value": c(d).meta.page,
24810
24810
  total: c(d).meta.total,
@@ -24964,10 +24964,10 @@ const oI = ee({
24964
24964
  _: 1
24965
24965
  }, 8, ["gap"]));
24966
24966
  }
24967
- }), OC = { class: "admin-page admin-resource-form" }, EC = { class: "admin-page__hd" }, ZC = { class: "admin-page__title-wrap" }, WC = { class: "admin-page__title" }, GC = { class: "admin-page__actions" }, NC = {
24967
+ }), GC = { class: "admin-page admin-resource-form" }, NC = { class: "admin-page__hd" }, XC = { class: "admin-page__title-wrap" }, KC = { class: "admin-page__title" }, JC = { class: "admin-page__actions" }, YC = {
24968
24968
  key: 1,
24969
24969
  class: "admin-resource-form__loading"
24970
- }, XC = {
24970
+ }, QC = {
24971
24971
  key: 3,
24972
24972
  class: "admin-resource-form__savebar"
24973
24973
  }, dI = /* @__PURE__ */ ee({
@@ -25067,14 +25067,14 @@ const oI = ee({
25067
25067
  n.isDirty && !confirm("Несохранённые изменения будут потеряны. Продолжить?") || l.push({ name: p.value }).catch(() => {
25068
25068
  });
25069
25069
  }
25070
- return (P, A) => (o(), s("section", OC, [
25071
- u("header", EC, [
25072
- u("div", ZC, [
25070
+ return (P, A) => (o(), s("section", GC, [
25071
+ u("header", NC, [
25072
+ u("div", XC, [
25073
25073
  u("a", {
25074
25074
  class: "admin-resource-form__back",
25075
25075
  onClick: U
25076
25076
  }, "← Назад"),
25077
- u("h1", WC, w(b.value), 1),
25077
+ u("h1", KC, w(b.value), 1),
25078
25078
  L.value ? (o(), V(c(Eg), {
25079
25079
  key: 0,
25080
25080
  variant: g.value
@@ -25085,7 +25085,7 @@ const oI = ee({
25085
25085
  _: 1
25086
25086
  }, 8, ["variant"])) : F("", !0)
25087
25087
  ]),
25088
- u("div", GC, [
25088
+ u("div", JC, [
25089
25089
  v(c(te), {
25090
25090
  variant: "ghost",
25091
25091
  disabled: c(n).saving || c(n).deleting,
@@ -25132,7 +25132,7 @@ const oI = ee({
25132
25132
  ]),
25133
25133
  _: 1
25134
25134
  })) : F("", !0),
25135
- c(n).loading ? (o(), s("div", NC, [
25135
+ c(n).loading ? (o(), s("div", YC, [
25136
25136
  (o(), s(E, null, Q(6, (W) => v(c(Xn), {
25137
25137
  key: W,
25138
25138
  height: "40px"
@@ -25147,7 +25147,7 @@ const oI = ee({
25147
25147
  ]),
25148
25148
  _: 1
25149
25149
  })),
25150
- c(n).isDirty && !c(n).loading ? (o(), s("div", XC, [
25150
+ c(n).isDirty && !c(n).loading ? (o(), s("div", QC, [
25151
25151
  A[4] || (A[4] = u("span", { class: "admin-resource-form__savebar-hint" }, " Есть несохранённые изменения ", -1)),
25152
25152
  v(c(te), {
25153
25153
  variant: "ghost",
@@ -25174,7 +25174,7 @@ const oI = ee({
25174
25174
  ])) : F("", !0)
25175
25175
  ]));
25176
25176
  }
25177
- }), v2 = gg(), QH = v2.register, Bg = v2.get, eV = v2.has, aV = v2.list, tV = v2.clear, KC = v2.registerBundle, JC = /* @__PURE__ */ ee({
25177
+ }), v2 = gg(), eV = v2.register, Bg = v2.get, aV = v2.has, tV = v2.list, nV = v2.clear, eS = v2.registerBundle, aS = /* @__PURE__ */ ee({
25178
25178
  __name: "UnknownEntry",
25179
25179
  props: {
25180
25180
  type: {},
@@ -25193,34 +25193,34 @@ const oI = ee({
25193
25193
  _: 1
25194
25194
  }));
25195
25195
  }
25196
- }), YC = {
25196
+ }), tS = {
25197
25197
  key: 0,
25198
25198
  class: "admin-infolist-entry"
25199
- }, QC = { class: "admin-infolist-entry__label" }, eS = {
25199
+ }, nS = { class: "admin-infolist-entry__label" }, oS = {
25200
25200
  key: 2,
25201
25201
  class: "admin-infolist-rows"
25202
- }, aS = {
25202
+ }, cS = {
25203
25203
  key: 3,
25204
25204
  class: "admin-infolist-cols"
25205
- }, tS = {
25205
+ }, iS = {
25206
25206
  key: 4,
25207
25207
  class: "admin-infolist-section"
25208
- }, nS = {
25208
+ }, lS = {
25209
25209
  key: 0,
25210
25210
  class: "admin-infolist-section__hd"
25211
- }, oS = {
25211
+ }, dS = {
25212
25212
  key: 0,
25213
25213
  class: "admin-infolist-section__title"
25214
- }, cS = {
25214
+ }, rS = {
25215
25215
  key: 1,
25216
25216
  class: "admin-infolist-section__description"
25217
- }, iS = { class: "admin-infolist-section__body" }, lS = {
25217
+ }, sS = { class: "admin-infolist-section__body" }, hS = {
25218
25218
  key: 5,
25219
25219
  class: "admin-infolist-tabs"
25220
- }, dS = {
25220
+ }, uS = {
25221
25221
  class: "admin-infolist-tabs__list",
25222
25222
  role: "tablist"
25223
- }, rS = { class: "admin-infolist-tabs__panel" }, sS = /* @__PURE__ */ ee({
25223
+ }, yS = { class: "admin-infolist-tabs__panel" }, pS = /* @__PURE__ */ ee({
25224
25224
  __name: "InfolistRenderer",
25225
25225
  props: {
25226
25226
  node: {}
@@ -25250,15 +25250,15 @@ const oI = ee({
25250
25250
  }), k = M(() => t.node.items ?? []);
25251
25251
  return (m, x) => {
25252
25252
  const b = pg("InfolistRenderer", !0);
25253
- return r.value.kind === "entry" && a.node.label ? (o(), s("div", YC, [
25254
- u("span", QC, w(a.node.label), 1),
25253
+ return r.value.kind === "entry" && a.node.label ? (o(), s("div", tS, [
25254
+ u("span", nS, w(a.node.label), 1),
25255
25255
  (o(), V(Be(r.value.component), bo(GI(l.value)), null, 16))
25256
- ])) : r.value.kind === "entry" ? (o(), V(Be(r.value.component), bo(Un({ key: 1 }, l.value)), null, 16)) : r.value.kind === "layout" && r.value.layoutType === "rows" ? (o(), s("div", eS, [
25256
+ ])) : r.value.kind === "entry" ? (o(), V(Be(r.value.component), bo(Un({ key: 1 }, l.value)), null, 16)) : r.value.kind === "layout" && r.value.layoutType === "rows" ? (o(), s("div", oS, [
25257
25257
  (o(!0), s(E, null, Q(i.value, (L, g) => (o(), V(b, {
25258
25258
  key: g,
25259
25259
  node: L
25260
25260
  }, null, 8, ["node"]))), 128))
25261
- ])) : r.value.kind === "layout" && r.value.layoutType === "columns" ? (o(), s("div", aS, [
25261
+ ])) : r.value.kind === "layout" && r.value.layoutType === "columns" ? (o(), s("div", cS, [
25262
25262
  (o(!0), s(E, null, Q(i.value, (L, g) => (o(), s("div", {
25263
25263
  key: g,
25264
25264
  class: "admin-infolist-cols__item",
@@ -25268,19 +25268,19 @@ const oI = ee({
25268
25268
  }, [
25269
25269
  v(b, { node: L }, null, 8, ["node"])
25270
25270
  ], 4))), 128))
25271
- ])) : r.value.kind === "layout" && (r.value.layoutType === "section" || r.value.layoutType === "block") ? (o(), s("section", tS, [
25272
- d.value || h.value ? (o(), s("header", nS, [
25273
- d.value ? (o(), s("h3", oS, w(d.value), 1)) : F("", !0),
25274
- h.value ? (o(), s("p", cS, w(h.value), 1)) : F("", !0)
25271
+ ])) : r.value.kind === "layout" && (r.value.layoutType === "section" || r.value.layoutType === "block") ? (o(), s("section", iS, [
25272
+ d.value || h.value ? (o(), s("header", lS, [
25273
+ d.value ? (o(), s("h3", dS, w(d.value), 1)) : F("", !0),
25274
+ h.value ? (o(), s("p", rS, w(h.value), 1)) : F("", !0)
25275
25275
  ])) : F("", !0),
25276
- u("div", iS, [
25276
+ u("div", sS, [
25277
25277
  (o(!0), s(E, null, Q(i.value, (L, g) => (o(), V(b, {
25278
25278
  key: g,
25279
25279
  node: L
25280
25280
  }, null, 8, ["node"]))), 128))
25281
25281
  ])
25282
- ])) : r.value.kind === "layout" && r.value.layoutType === "tabs" ? (o(), s("div", lS, [
25283
- u("ul", dS, [
25282
+ ])) : r.value.kind === "layout" && r.value.layoutType === "tabs" ? (o(), s("div", hS, [
25283
+ u("ul", uS, [
25284
25284
  (o(!0), s(E, null, Q(k.value, (L, g) => (o(), s("li", {
25285
25285
  key: L.key ?? g,
25286
25286
  class: fe([
@@ -25289,44 +25289,44 @@ const oI = ee({
25289
25289
  ])
25290
25290
  }, w(L.label), 3))), 128))
25291
25291
  ]),
25292
- u("div", rS, [
25292
+ u("div", yS, [
25293
25293
  (o(!0), s(E, null, Q(k.value[y.value]?.items ?? [], (L, g) => (o(), V(b, {
25294
25294
  key: g,
25295
25295
  node: L
25296
25296
  }, null, 8, ["node"]))), 128))
25297
25297
  ])
25298
- ])) : (o(), V(JC, {
25298
+ ])) : (o(), V(aS, {
25299
25299
  key: 6,
25300
25300
  type: a.node.type,
25301
25301
  name: a.node.name
25302
25302
  }, null, 8, ["type", "name"]));
25303
25303
  };
25304
25304
  }
25305
- }), hS = { class: "admin-audit-timeline" }, uS = {
25305
+ }), kS = { class: "admin-audit-timeline" }, mS = {
25306
25306
  key: 0,
25307
25307
  class: "admin-audit-timeline__loading"
25308
- }, yS = {
25308
+ }, vS = {
25309
25309
  key: 1,
25310
25310
  class: "admin-audit-timeline__error"
25311
- }, pS = {
25311
+ }, fS = {
25312
25312
  key: 2,
25313
25313
  class: "admin-audit-timeline__empty"
25314
- }, kS = {
25314
+ }, MS = {
25315
25315
  key: 3,
25316
25316
  class: "admin-audit-timeline__list"
25317
- }, mS = {
25317
+ }, gS = {
25318
25318
  class: "admin-audit-timeline__icon",
25319
25319
  "aria-hidden": "true"
25320
- }, vS = { class: "admin-audit-timeline__body" }, fS = { class: "admin-audit-timeline__row" }, MS = { class: "admin-audit-timeline__actor" }, gS = { class: "admin-audit-timeline__verb" }, IS = { class: "admin-audit-timeline__when" }, wS = {
25320
+ }, IS = { class: "admin-audit-timeline__body" }, wS = { class: "admin-audit-timeline__row" }, xS = { class: "admin-audit-timeline__actor" }, LS = { class: "admin-audit-timeline__verb" }, bS = { class: "admin-audit-timeline__when" }, CS = {
25321
25321
  key: 0,
25322
25322
  class: "admin-audit-timeline__diff"
25323
- }, xS = { class: "admin-audit-timeline__diff-field" }, LS = { class: "admin-audit-timeline__diff-values" }, bS = { class: "admin-audit-timeline__diff-after" }, CS = {
25323
+ }, SS = { class: "admin-audit-timeline__diff-field" }, _S = { class: "admin-audit-timeline__diff-values" }, qS = { class: "admin-audit-timeline__diff-after" }, AS = {
25324
25324
  key: 1,
25325
25325
  class: "admin-audit-timeline__diff-before"
25326
- }, SS = { class: "admin-audit-timeline__diff-before" }, _S = { class: "admin-audit-timeline__diff-after" }, qS = {
25326
+ }, zS = { class: "admin-audit-timeline__diff-before" }, HS = { class: "admin-audit-timeline__diff-after" }, VS = {
25327
25327
  key: 1,
25328
25328
  class: "admin-audit-timeline__detail"
25329
- }, AS = /* @__PURE__ */ ee({
25329
+ }, PS = /* @__PURE__ */ ee({
25330
25330
  __name: "AuditTimeline",
25331
25331
  props: {
25332
25332
  subjectType: {},
@@ -25396,71 +25396,71 @@ const oI = ee({
25396
25396
  }
25397
25397
  return String(g);
25398
25398
  }
25399
- return (g, S) => (o(), s("section", hS, [
25399
+ return (g, S) => (o(), s("section", kS, [
25400
25400
  S[2] || (S[2] = u("h2", { class: "admin-audit-timeline__title" }, "История изменений", -1)),
25401
- r.value ? (o(), s("div", uS, [
25401
+ r.value ? (o(), s("div", mS, [
25402
25402
  (o(), s(E, null, Q(3, (p) => v(c(Xn), {
25403
25403
  key: p,
25404
25404
  height: "48px"
25405
25405
  })), 64))
25406
- ])) : l.value ? (o(), s("div", yS, " Не удалось загрузить историю: " + w(l.value.message), 1)) : d.value ? (o(), s("ol", kS, [
25406
+ ])) : l.value ? (o(), s("div", vS, " Не удалось загрузить историю: " + w(l.value.message), 1)) : d.value ? (o(), s("ol", MS, [
25407
25407
  (o(!0), s(E, null, Q(n.value, (p) => (o(), s("li", {
25408
25408
  key: p.id,
25409
25409
  class: "admin-audit-timeline__item"
25410
25410
  }, [
25411
- u("span", mS, [
25411
+ u("span", gS, [
25412
25412
  v(c(Y), {
25413
25413
  icon: h(p.event),
25414
25414
  size: 14
25415
25415
  }, null, 8, ["icon"])
25416
25416
  ]),
25417
- u("div", vS, [
25418
- u("div", fS, [
25417
+ u("div", IS, [
25418
+ u("div", wS, [
25419
25419
  v(c($g), {
25420
25420
  name: p.actor?.name ?? "?",
25421
25421
  alt: p.actor?.name ?? "Неизвестный",
25422
25422
  size: "xs"
25423
25423
  }, null, 8, ["name", "alt"]),
25424
- u("span", MS, w(p.actor?.name ?? "Система"), 1),
25425
- u("span", gS, w(y(p.event)), 1),
25426
- u("span", IS, w(k(p.created_at)), 1)
25424
+ u("span", xS, w(p.actor?.name ?? "Система"), 1),
25425
+ u("span", LS, w(y(p.event)), 1),
25426
+ u("span", bS, w(k(p.created_at)), 1)
25427
25427
  ]),
25428
- m(p) ? (o(), s("ul", wS, [
25428
+ m(p) ? (o(), s("ul", CS, [
25429
25429
  (o(!0), s(E, null, Q(p.diff, (z) => (o(), s("li", {
25430
25430
  key: z.field,
25431
25431
  class: fe(["admin-audit-timeline__diff-row", `admin-audit-timeline__diff-row--${p.event}`])
25432
25432
  }, [
25433
- u("span", xS, w(z.field), 1),
25434
- u("span", LS, [
25433
+ u("span", SS, w(z.field), 1),
25434
+ u("span", _S, [
25435
25435
  p.event === "created" || p.event === "restored" ? (o(), s(E, { key: 0 }, [
25436
25436
  S[0] || (S[0] = u("span", {
25437
25437
  class: "admin-audit-timeline__diff-arrow",
25438
25438
  "aria-hidden": "true"
25439
25439
  }, "→", -1)),
25440
- u("span", bS, w(L(z.after)), 1)
25441
- ], 64)) : p.event === "deleted" || p.event === "destroyed" ? (o(), s("span", CS, w(L(z.before)), 1)) : (o(), s(E, { key: 2 }, [
25442
- u("span", SS, w(L(z.before)), 1),
25440
+ u("span", qS, w(L(z.after)), 1)
25441
+ ], 64)) : p.event === "deleted" || p.event === "destroyed" ? (o(), s("span", AS, w(L(z.before)), 1)) : (o(), s(E, { key: 2 }, [
25442
+ u("span", zS, w(L(z.before)), 1),
25443
25443
  S[1] || (S[1] = u("span", {
25444
25444
  class: "admin-audit-timeline__diff-arrow",
25445
25445
  "aria-hidden": "true"
25446
25446
  }, "→", -1)),
25447
- u("span", _S, w(L(z.after)), 1)
25447
+ u("span", HS, w(L(z.after)), 1)
25448
25448
  ], 64))
25449
25449
  ])
25450
25450
  ], 2))), 128))
25451
- ])) : x(p) ? (o(), s("div", qS, w(x(p)), 1)) : F("", !0)
25451
+ ])) : x(p) ? (o(), s("div", VS, w(x(p)), 1)) : F("", !0)
25452
25452
  ])
25453
25453
  ]))), 128))
25454
- ])) : (o(), s("div", pS, " Записей в истории пока нет. "))
25454
+ ])) : (o(), s("div", fS, " Записей в истории пока нет. "))
25455
25455
  ]));
25456
25456
  }
25457
- }), zS = { class: "admin-page admin-resource-view" }, HS = { class: "admin-resource-view__hd" }, VS = { class: "admin-resource-view__hd-left" }, PS = { class: "admin-page__title" }, jS = { class: "admin-resource-view__meta" }, FS = ["data-variant", "data-status"], BS = { class: "admin-resource-view__uid" }, DS = { class: "admin-resource-view__hd-right" }, RS = {
25457
+ }), jS = { class: "admin-page admin-resource-view" }, FS = { class: "admin-resource-view__hd" }, BS = { class: "admin-resource-view__hd-left" }, DS = { class: "admin-page__title" }, RS = { class: "admin-resource-view__meta" }, TS = ["data-variant", "data-status"], $S = { class: "admin-resource-view__uid" }, US = { class: "admin-resource-view__hd-right" }, OS = {
25458
25458
  key: 1,
25459
25459
  class: "admin-resource-view__loading"
25460
- }, TS = {
25460
+ }, ES = {
25461
25461
  key: 2,
25462
25462
  class: "admin-resource-view__grid"
25463
- }, $S = { class: "admin-resource-view__main" }, US = { class: "admin-resource-view__aside" }, OS = { class: "admin-resource-view__metrics" }, ES = { class: "admin-resource-view__metric-label" }, ZS = { class: "admin-resource-view__metric-value" }, WS = /* @__PURE__ */ ee({
25463
+ }, ZS = { class: "admin-resource-view__main" }, WS = { class: "admin-resource-view__aside" }, GS = { class: "admin-resource-view__metrics" }, NS = { class: "admin-resource-view__metric-label" }, XS = { class: "admin-resource-view__metric-value" }, KS = /* @__PURE__ */ ee({
25464
25464
  __name: "ResourceViewPage",
25465
25465
  props: {
25466
25466
  slug: {},
@@ -25568,9 +25568,9 @@ const oI = ee({
25568
25568
  }), n.hasError || l.push({ name: U.value }).catch(() => {
25569
25569
  }));
25570
25570
  }
25571
- return (T, H) => (o(), s("section", zS, [
25572
- u("header", HS, [
25573
- u("div", VS, [
25571
+ return (T, H) => (o(), s("section", jS, [
25572
+ u("header", FS, [
25573
+ u("div", BS, [
25574
25574
  u("button", {
25575
25575
  type: "button",
25576
25576
  class: "admin-resource-view__back",
@@ -25582,8 +25582,8 @@ const oI = ee({
25582
25582
  }, null, 8, ["icon"]),
25583
25583
  j(" " + w(x.value), 1)
25584
25584
  ]),
25585
- u("h1", PS, w(m.value), 1),
25586
- u("div", jS, [
25585
+ u("h1", DS, w(m.value), 1),
25586
+ u("div", RS, [
25587
25587
  L.value ? (o(), s("span", {
25588
25588
  key: 0,
25589
25589
  class: "admin-status-badge",
@@ -25595,11 +25595,11 @@ const oI = ee({
25595
25595
  "aria-hidden": "true"
25596
25596
  }, null, -1)),
25597
25597
  j(" " + w(L.value), 1)
25598
- ], 8, FS)) : F("", !0),
25599
- u("span", BS, w(b.value), 1)
25598
+ ], 8, TS)) : F("", !0),
25599
+ u("span", $S, w(b.value), 1)
25600
25600
  ])
25601
25601
  ]),
25602
- u("div", DS, [
25602
+ u("div", US, [
25603
25603
  d.value ? (o(), V(c(te), {
25604
25604
  key: 0,
25605
25605
  variant: "secondary",
@@ -25675,20 +25675,20 @@ const oI = ee({
25675
25675
  ]),
25676
25676
  _: 1
25677
25677
  })) : F("", !0),
25678
- c(n).loading ? (o(), s("div", RS, [
25678
+ c(n).loading ? (o(), s("div", OS, [
25679
25679
  (o(), s(E, null, Q(8, ($) => v(c(Xn), {
25680
25680
  key: $,
25681
25681
  height: "24px"
25682
25682
  })), 64))
25683
- ])) : (o(), s("div", TS, [
25684
- u("div", $S, [
25683
+ ])) : (o(), s("div", ES, [
25684
+ u("div", ZS, [
25685
25685
  v(c(ge), {
25686
25686
  padding: "md",
25687
25687
  class: "admin-resource-view__card"
25688
25688
  }, {
25689
25689
  default: f(() => [
25690
25690
  H[3] || (H[3] = u("h2", { class: "admin-resource-view__card-title" }, "Основные данные", -1)),
25691
- (o(!0), s(E, null, Q(h.value, ($, G) => (o(), V(sS, {
25691
+ (o(!0), s(E, null, Q(h.value, ($, G) => (o(), V(pS, {
25692
25692
  key: G,
25693
25693
  node: $
25694
25694
  }, null, 8, ["node"]))), 128))
@@ -25700,7 +25700,7 @@ const oI = ee({
25700
25700
  class: "admin-resource-view__card"
25701
25701
  }, {
25702
25702
  default: f(() => [
25703
- v(AS, {
25703
+ v(PS, {
25704
25704
  "subject-type": y.value,
25705
25705
  "subject-id": a.id
25706
25706
  }, null, 8, ["subject-type", "subject-id"])
@@ -25708,7 +25708,7 @@ const oI = ee({
25708
25708
  _: 1
25709
25709
  })
25710
25710
  ]),
25711
- u("aside", US, [
25711
+ u("aside", WS, [
25712
25712
  k.value.length > 0 ? (o(), V(c(ge), {
25713
25713
  key: 0,
25714
25714
  padding: "md",
@@ -25716,12 +25716,12 @@ const oI = ee({
25716
25716
  }, {
25717
25717
  default: f(() => [
25718
25718
  H[4] || (H[4] = u("h2", { class: "admin-resource-view__card-title" }, "Метрики", -1)),
25719
- u("dl", OS, [
25719
+ u("dl", GS, [
25720
25720
  (o(!0), s(E, null, Q(k.value, ($) => (o(), s(E, {
25721
25721
  key: $.label
25722
25722
  }, [
25723
- u("dt", ES, w($.label), 1),
25724
- u("dd", ZS, w($.value), 1)
25723
+ u("dt", NS, w($.label), 1),
25724
+ u("dd", XS, w($.value), 1)
25725
25725
  ], 64))), 128))
25726
25726
  ])
25727
25727
  ]),
@@ -25735,16 +25735,16 @@ const oI = ee({
25735
25735
  ]))
25736
25736
  ]));
25737
25737
  }
25738
- }), GS = { class: "admin-page admin-profile" }, NS = { class: "admin-page__hd" }, XS = { class: "admin-page__title-wrap" }, KS = { class: "admin-page__title" }, JS = { class: "admin-page__count" }, YS = { class: "admin-profile__layout" }, QS = {
25738
+ }), JS = { class: "admin-page admin-profile" }, YS = { class: "admin-page__hd" }, QS = { class: "admin-page__title-wrap" }, e_ = { class: "admin-page__title" }, a_ = { class: "admin-page__count" }, t_ = { class: "admin-profile__layout" }, n_ = {
25739
25739
  class: "admin-profile__nav",
25740
25740
  "aria-label": "Profile sections"
25741
- }, e_ = ["onClick"], a_ = ["data-icon"], t_ = { class: "admin-profile__content" }, n_ = { class: "admin-profile__hero" }, o_ = { class: "admin-profile__hero-text" }, c_ = { class: "admin-profile__hero-name" }, i_ = { class: "admin-profile__hero-meta" }, l_ = { class: "admin-profile__form" }, d_ = { class: "admin-profile__card-ft" }, r_ = { class: "admin-profile__card-hd" }, s_ = {
25741
+ }, o_ = ["onClick"], c_ = ["data-icon"], i_ = { class: "admin-profile__content" }, l_ = { class: "admin-profile__hero" }, d_ = { class: "admin-profile__hero-text" }, r_ = { class: "admin-profile__hero-name" }, s_ = { class: "admin-profile__hero-meta" }, h_ = { class: "admin-profile__form" }, u_ = { class: "admin-profile__card-ft" }, y_ = { class: "admin-profile__card-hd" }, p_ = {
25742
25742
  key: 0,
25743
25743
  class: "admin-profile__hint"
25744
- }, h_ = {
25744
+ }, k_ = {
25745
25745
  key: 1,
25746
25746
  class: "admin-profile__hint"
25747
- }, u_ = { class: "admin-profile__card-ft" }, y_ = { class: "admin-profile__hint" }, p_ = /* @__PURE__ */ ee({
25747
+ }, m_ = { class: "admin-profile__card-ft" }, v_ = { class: "admin-profile__hint" }, f_ = /* @__PURE__ */ ee({
25748
25748
  __name: "ProfilePage",
25749
25749
  props: {
25750
25750
  title: { default: "Profile" },
@@ -25798,15 +25798,15 @@ const oI = ee({
25798
25798
  r("two-factor-regenerate");
25799
25799
  }
25800
25800
  const z = M(() => !!l.user?.twoFactorEnabled);
25801
- return (U, P) => (o(), s("section", GS, [
25802
- u("header", NS, [
25803
- u("div", XS, [
25804
- u("h1", KS, w(a.title), 1),
25805
- u("div", JS, w(a.subtitle), 1)
25801
+ return (U, P) => (o(), s("section", JS, [
25802
+ u("header", YS, [
25803
+ u("div", QS, [
25804
+ u("h1", e_, w(a.title), 1),
25805
+ u("div", a_, w(a.subtitle), 1)
25806
25806
  ])
25807
25807
  ]),
25808
- u("div", YS, [
25809
- u("nav", QS, [
25808
+ u("div", t_, [
25809
+ u("nav", n_, [
25810
25810
  (o(), s(E, null, Q(h, (A) => u("button", {
25811
25811
  key: A.id,
25812
25812
  type: "button",
@@ -25819,11 +25819,11 @@ const oI = ee({
25819
25819
  u("span", {
25820
25820
  class: "admin-profile__nav-icon",
25821
25821
  "data-icon": A.icon
25822
- }, null, 8, a_),
25822
+ }, null, 8, c_),
25823
25823
  u("span", null, w(A.label), 1)
25824
- ], 10, e_)), 64))
25824
+ ], 10, o_)), 64))
25825
25825
  ]),
25826
- u("div", t_, [
25826
+ u("div", i_, [
25827
25827
  y.value === "general" ? (o(), V(c(ge), {
25828
25828
  key: 0,
25829
25829
  padding: "md"
@@ -25832,15 +25832,15 @@ const oI = ee({
25832
25832
  P[7] || (P[7] = u("header", { class: "admin-profile__card-hd" }, [
25833
25833
  u("h3", { class: "admin-profile__card-title" }, "Профиль")
25834
25834
  ], -1)),
25835
- u("div", n_, [
25835
+ u("div", l_, [
25836
25836
  v(c($g), {
25837
25837
  src: c(l).user?.avatar ?? void 0,
25838
25838
  name: c(l).user?.name ?? "?",
25839
25839
  size: "lg"
25840
25840
  }, null, 8, ["src", "name"]),
25841
- u("div", o_, [
25842
- u("div", c_, w(c(l).user?.name ?? "—"), 1),
25843
- u("div", i_, w(c(l).user?.email ?? "—"), 1)
25841
+ u("div", d_, [
25842
+ u("div", r_, w(c(l).user?.name ?? "—"), 1),
25843
+ u("div", s_, w(c(l).user?.email ?? "—"), 1)
25844
25844
  ]),
25845
25845
  P[5] || (P[5] = u("div", { style: { flex: "1" } }, null, -1)),
25846
25846
  v(c(te), {
@@ -25854,7 +25854,7 @@ const oI = ee({
25854
25854
  _: 1
25855
25855
  })
25856
25856
  ]),
25857
- u("div", l_, [
25857
+ u("div", h_, [
25858
25858
  v(c(Ce), {
25859
25859
  modelValue: m.value.name,
25860
25860
  "onUpdate:modelValue": P[0] || (P[0] = (A) => m.value.name = A),
@@ -25881,7 +25881,7 @@ const oI = ee({
25881
25881
  label: "Тема"
25882
25882
  }, null, 8, ["modelValue", "options"])
25883
25883
  ]),
25884
- u("footer", d_, [
25884
+ u("footer", u_, [
25885
25885
  v(c(te), {
25886
25886
  variant: "primary",
25887
25887
  onClick: L
@@ -25899,7 +25899,7 @@ const oI = ee({
25899
25899
  padding: "md"
25900
25900
  }, {
25901
25901
  default: f(() => [
25902
- u("header", r_, [
25902
+ u("header", y_, [
25903
25903
  P[8] || (P[8] = u("h3", { class: "admin-profile__card-title" }, "Двухфакторная аутентификация", -1)),
25904
25904
  v(c(Eg), {
25905
25905
  variant: z.value ? "success" : "default"
@@ -25910,8 +25910,8 @@ const oI = ee({
25910
25910
  _: 1
25911
25911
  }, 8, ["variant"])
25912
25912
  ]),
25913
- z.value ? (o(), s("p", s_, " 2FA включена. У вас остались recovery-коды на случай потери устройства. ")) : (o(), s("p", h_, " Включите 2FA для дополнительной защиты аккаунта. ")),
25914
- u("footer", u_, [
25913
+ z.value ? (o(), s("p", p_, " 2FA включена. У вас остались recovery-коды на случай потери устройства. ")) : (o(), s("p", k_, " Включите 2FA для дополнительной защиты аккаунта. ")),
25914
+ u("footer", m_, [
25915
25915
  z.value ? (o(), s(E, { key: 0 }, [
25916
25916
  v(c(te), {
25917
25917
  variant: "ghost",
@@ -25953,7 +25953,7 @@ const oI = ee({
25953
25953
  }, () => [
25954
25954
  v(c(ge), { padding: "md" }, {
25955
25955
  default: f(() => [
25956
- u("p", y_, " Section «" + w(y.value) + "» не реализована библиотекой — host-проект подключает её через slot " + w(y.value) + ". ", 1)
25956
+ u("p", v_, " Section «" + w(y.value) + "» не реализована библиотекой — host-проект подключает её через slot " + w(y.value) + ". ", 1)
25957
25957
  ]),
25958
25958
  _: 1
25959
25959
  })
@@ -26001,19 +26001,19 @@ const oI = ee({
26001
26001
  loading: a.loading
26002
26002
  }, null, 8, ["title", "value", "prefix", "suffix", "trend", "precision", "tone", "loading"]));
26003
26003
  }
26004
- }), k_ = {
26004
+ }), M_ = {
26005
26005
  key: 0,
26006
26006
  class: "admin-widget__hd"
26007
- }, m_ = {
26007
+ }, g_ = {
26008
26008
  key: 0,
26009
26009
  class: "admin-widget__title"
26010
- }, v_ = {
26010
+ }, I_ = {
26011
26011
  key: 1,
26012
26012
  class: "admin-widget__desc"
26013
- }, f_ = {
26013
+ }, w_ = {
26014
26014
  key: 1,
26015
26015
  class: "admin-widget__empty"
26016
- }, M_ = ["viewBox", "height", "aria-label"], g_ = ["x", "y", "width", "height", "fill", "data-label", "data-value"], jI = /* @__PURE__ */ ee({
26016
+ }, x_ = ["viewBox", "height", "aria-label"], L_ = ["x", "y", "width", "height", "fill", "data-label", "data-value"], jI = /* @__PURE__ */ ee({
26017
26017
  __name: "BarChartWidget",
26018
26018
  props: {
26019
26019
  title: { default: "" },
@@ -26040,11 +26040,11 @@ const oI = ee({
26040
26040
  class: "admin-widget"
26041
26041
  }, {
26042
26042
  default: f(() => [
26043
- a.title || a.description ? (o(), s("header", k_, [
26044
- a.title ? (o(), s("h3", m_, w(a.title), 1)) : F("", !0),
26045
- a.description ? (o(), s("p", v_, w(a.description), 1)) : F("", !0)
26043
+ a.title || a.description ? (o(), s("header", M_, [
26044
+ a.title ? (o(), s("h3", g_, w(a.title), 1)) : F("", !0),
26045
+ a.description ? (o(), s("p", I_, w(a.description), 1)) : F("", !0)
26046
26046
  ])) : F("", !0),
26047
- n.value ? (o(), s("div", f_, "Нет данных за период")) : (o(), s("svg", {
26047
+ n.value ? (o(), s("div", w_, "Нет данных за период")) : (o(), s("svg", {
26048
26048
  key: 2,
26049
26049
  class: "admin-widget-bar-chart",
26050
26050
  viewBox: `0 0 100 ${a.height}`,
@@ -26066,22 +26066,22 @@ const oI = ee({
26066
26066
  "data-value": h.value
26067
26067
  }, [
26068
26068
  u("title", null, w(h.label) + ": " + w(h.value), 1)
26069
- ], 8, g_))), 128))
26070
- ], 8, M_))
26069
+ ], 8, L_))), 128))
26070
+ ], 8, x_))
26071
26071
  ]),
26072
26072
  _: 1
26073
26073
  }));
26074
26074
  }
26075
- }), I_ = {
26075
+ }), b_ = {
26076
26076
  key: 0,
26077
26077
  class: "admin-widget__hd"
26078
- }, w_ = { class: "admin-widget__title" }, x_ = {
26078
+ }, C_ = { class: "admin-widget__title" }, S_ = {
26079
26079
  key: 1,
26080
26080
  class: "admin-widget__empty"
26081
- }, L_ = {
26081
+ }, __ = {
26082
26082
  key: 2,
26083
26083
  class: "admin-donut-widget__row"
26084
- }, b_ = ["aria-label"], C_ = ["d", "fill"], S_ = { class: "admin-donut-widget__legend" }, __ = { class: "admin-donut-widget__label" }, q_ = { class: "admin-donut-widget__value" }, FI = /* @__PURE__ */ ee({
26084
+ }, q_ = ["aria-label"], A_ = ["d", "fill"], z_ = { class: "admin-donut-widget__legend" }, H_ = { class: "admin-donut-widget__label" }, V_ = { class: "admin-donut-widget__value" }, FI = /* @__PURE__ */ ee({
26085
26085
  __name: "DonutChartWidget",
26086
26086
  props: {
26087
26087
  title: { default: "" },
@@ -26115,10 +26115,10 @@ const oI = ee({
26115
26115
  class: "admin-widget admin-donut-widget"
26116
26116
  }, {
26117
26117
  default: f(() => [
26118
- a.title ? (o(), s("header", I_, [
26119
- u("h3", w_, w(a.title), 1)
26118
+ a.title ? (o(), s("header", b_, [
26119
+ u("h3", C_, w(a.title), 1)
26120
26120
  ])) : F("", !0),
26121
- r.value ? (o(), s("div", x_, "Нет данных")) : (o(), s("div", L_, [
26121
+ r.value ? (o(), s("div", S_, "Нет данных")) : (o(), s("div", __, [
26122
26122
  (o(), s("svg", {
26123
26123
  viewBox: "0 0 120 120",
26124
26124
  class: "admin-donut-widget__svg",
@@ -26131,22 +26131,22 @@ const oI = ee({
26131
26131
  fill: y.color
26132
26132
  }, [
26133
26133
  u("title", null, w(y.label) + ": " + w(y.value) + " (" + w(y.pct) + "%)", 1)
26134
- ], 8, C_))), 128)),
26134
+ ], 8, A_))), 128)),
26135
26135
  h[0] || (h[0] = u("circle", {
26136
26136
  cx: "60",
26137
26137
  cy: "60",
26138
26138
  r: "30",
26139
26139
  fill: "var(--uid-surface-raised)"
26140
26140
  }, null, -1))
26141
- ], 8, b_)),
26142
- u("ul", S_, [
26141
+ ], 8, q_)),
26142
+ u("ul", z_, [
26143
26143
  (o(!0), s(E, null, Q(i.value, (y, k) => (o(), s("li", { key: k }, [
26144
26144
  u("span", {
26145
26145
  class: "admin-donut-widget__dot",
26146
26146
  style: Ve({ background: y.color })
26147
26147
  }, null, 4),
26148
- u("span", __, w(y.label), 1),
26149
- u("span", q_, w(y.pct) + "%", 1)
26148
+ u("span", H_, w(y.label), 1),
26149
+ u("span", V_, w(y.pct) + "%", 1)
26150
26150
  ]))), 128))
26151
26151
  ])
26152
26152
  ]))
@@ -26154,10 +26154,10 @@ const oI = ee({
26154
26154
  _: 1
26155
26155
  }));
26156
26156
  }
26157
- }), A_ = {
26157
+ }), P_ = {
26158
26158
  key: 0,
26159
26159
  class: "admin-widget__hd"
26160
- }, z_ = { class: "admin-widget__title" }, Hg = /* @__PURE__ */ ee({
26160
+ }, j_ = { class: "admin-widget__title" }, Hg = /* @__PURE__ */ ee({
26161
26161
  __name: "RecentTableWidget",
26162
26162
  props: {
26163
26163
  title: { default: "" },
@@ -26181,8 +26181,8 @@ const oI = ee({
26181
26181
  class: "admin-widget"
26182
26182
  }, {
26183
26183
  default: f(() => [
26184
- a.title ? (o(), s("header", A_, [
26185
- u("h3", z_, w(a.title), 1)
26184
+ a.title ? (o(), s("header", P_, [
26185
+ u("h3", j_, w(a.title), 1)
26186
26186
  ])) : F("", !0),
26187
26187
  v(c(y2), {
26188
26188
  columns: n.value,
@@ -26193,16 +26193,16 @@ const oI = ee({
26193
26193
  _: 1
26194
26194
  }));
26195
26195
  }
26196
- }), H_ = {
26196
+ }), F_ = {
26197
26197
  key: 0,
26198
26198
  class: "admin-widget__hd"
26199
- }, V_ = { class: "admin-widget__title" }, P_ = {
26199
+ }, B_ = { class: "admin-widget__title" }, D_ = {
26200
26200
  class: "admin-heatmap__cols-axis",
26201
26201
  "aria-hidden": "true"
26202
- }, j_ = { class: "admin-heatmap__row-label" }, F_ = { class: "admin-heatmap__cells" }, B_ = ["title"], D_ = {
26202
+ }, R_ = { class: "admin-heatmap__row-label" }, T_ = { class: "admin-heatmap__cells" }, $_ = ["title"], U_ = {
26203
26203
  key: 2,
26204
26204
  class: "admin-heatmap__empty"
26205
- }, R_ = /* @__PURE__ */ ee({
26205
+ }, O_ = /* @__PURE__ */ ee({
26206
26206
  __name: "HeatmapWidget",
26207
26207
  props: {
26208
26208
  title: { default: "" },
@@ -26232,15 +26232,15 @@ const oI = ee({
26232
26232
  class: "admin-widget admin-heatmap-widget"
26233
26233
  }, {
26234
26234
  default: f(() => [
26235
- a.title ? (o(), s("header", H_, [
26236
- u("h3", V_, w(a.title), 1)
26235
+ a.title ? (o(), s("header", F_, [
26236
+ u("h3", B_, w(a.title), 1)
26237
26237
  ])) : F("", !0),
26238
26238
  a.rows.length > 0 && a.cols.length > 0 && a.matrix.length > 0 ? (o(), s("div", {
26239
26239
  key: 1,
26240
26240
  class: "admin-heatmap",
26241
26241
  style: Ve({ "--admin-heatmap-cols": a.cols.length })
26242
26242
  }, [
26243
- u("div", P_, [
26243
+ u("div", D_, [
26244
26244
  (o(!0), s(E, null, Q(a.cols, (h, y) => (o(), s("span", {
26245
26245
  key: `c-${y}`,
26246
26246
  class: "admin-heatmap__col-label"
@@ -26250,25 +26250,25 @@ const oI = ee({
26250
26250
  key: `r-${y}`,
26251
26251
  class: "admin-heatmap__row"
26252
26252
  }, [
26253
- u("span", j_, w(a.rows[y] ?? ""), 1),
26254
- u("div", F_, [
26253
+ u("span", R_, w(a.rows[y] ?? ""), 1),
26254
+ u("div", T_, [
26255
26255
  (o(!0), s(E, null, Q(h, (k, m) => (o(), s("span", {
26256
26256
  key: `cell-${y}-${m}`,
26257
26257
  class: "admin-heatmap__cell",
26258
26258
  style: Ve({ background: a.color, opacity: r(k) }),
26259
26259
  title: l(k, y, m)
26260
- }, null, 12, B_))), 128))
26260
+ }, null, 12, $_))), 128))
26261
26261
  ])
26262
26262
  ]))), 128))
26263
- ], 4)) : (o(), s("div", D_, "Нет данных"))
26263
+ ], 4)) : (o(), s("div", U_, "Нет данных"))
26264
26264
  ]),
26265
26265
  _: 1
26266
26266
  }));
26267
26267
  }
26268
- }), T_ = {
26268
+ }), E_ = {
26269
26269
  key: 0,
26270
26270
  class: "admin-widget__hd"
26271
- }, $_ = { class: "admin-widget__title" }, U_ = { class: "admin-gauge-widget__body" }, O_ = /* @__PURE__ */ ee({
26271
+ }, Z_ = { class: "admin-widget__title" }, W_ = { class: "admin-gauge-widget__body" }, G_ = /* @__PURE__ */ ee({
26272
26272
  __name: "GaugeWidget",
26273
26273
  props: {
26274
26274
  title: { default: "" },
@@ -26301,10 +26301,10 @@ const oI = ee({
26301
26301
  class: "admin-widget"
26302
26302
  }, {
26303
26303
  default: f(() => [
26304
- a.title ? (o(), s("header", T_, [
26305
- u("h3", $_, w(a.title), 1)
26304
+ a.title ? (o(), s("header", E_, [
26305
+ u("h3", Z_, w(a.title), 1)
26306
26306
  ])) : F("", !0),
26307
- u("div", U_, [
26307
+ u("div", W_, [
26308
26308
  v(c(iw), {
26309
26309
  value: a.value,
26310
26310
  min: a.min,
@@ -26322,10 +26322,10 @@ const oI = ee({
26322
26322
  _: 1
26323
26323
  }));
26324
26324
  }
26325
- }), E_ = {
26325
+ }), N_ = {
26326
26326
  key: 0,
26327
26327
  class: "admin-widget__hd"
26328
- }, Z_ = { class: "admin-widget__title" }, W_ = { class: "admin-markdown-widget" }, G_ = /* @__PURE__ */ ee({
26328
+ }, X_ = { class: "admin-widget__title" }, K_ = { class: "admin-markdown-widget" }, J_ = /* @__PURE__ */ ee({
26329
26329
  __name: "MarkdownWidget",
26330
26330
  props: {
26331
26331
  title: { default: "" },
@@ -26337,15 +26337,15 @@ const oI = ee({
26337
26337
  class: "admin-widget"
26338
26338
  }, {
26339
26339
  default: f(() => [
26340
- a.title ? (o(), s("header", E_, [
26341
- u("h3", Z_, w(a.title), 1)
26340
+ a.title ? (o(), s("header", N_, [
26341
+ u("h3", X_, w(a.title), 1)
26342
26342
  ])) : F("", !0),
26343
- u("div", W_, w(a.content), 1)
26343
+ u("div", K_, w(a.content), 1)
26344
26344
  ]),
26345
26345
  _: 1
26346
26346
  }));
26347
26347
  }
26348
- }), N_ = /* @__PURE__ */ ee({
26348
+ }), Y_ = /* @__PURE__ */ ee({
26349
26349
  __name: "ChartWidget",
26350
26350
  props: {
26351
26351
  type: {},
@@ -26401,10 +26401,10 @@ const oI = ee({
26401
26401
  type: `chart:${n.value}`
26402
26402
  }, null, 8, ["type"]));
26403
26403
  }
26404
- }), X_ = {
26404
+ }), Q_ = {
26405
26405
  key: 0,
26406
26406
  class: "admin-widget__hd"
26407
- }, K_ = { class: "admin-widget__title" }, J_ = /* @__PURE__ */ ee({
26407
+ }, eq = { class: "admin-widget__title" }, aq = /* @__PURE__ */ ee({
26408
26408
  __name: "TableWidget",
26409
26409
  props: {
26410
26410
  title: { default: "" },
@@ -26433,8 +26433,8 @@ const oI = ee({
26433
26433
  class: "admin-widget"
26434
26434
  }, {
26435
26435
  default: f(() => [
26436
- a.title ? (o(), s("header", X_, [
26437
- u("h3", K_, w(a.title), 1)
26436
+ a.title ? (o(), s("header", Q_, [
26437
+ u("h3", eq, w(a.title), 1)
26438
26438
  ])) : F("", !0),
26439
26439
  v(c(y2), {
26440
26440
  columns: n.value,
@@ -26445,13 +26445,13 @@ const oI = ee({
26445
26445
  _: 1
26446
26446
  }));
26447
26447
  }
26448
- }), Y_ = {
26448
+ }), tq = {
26449
26449
  key: 0,
26450
26450
  class: "admin-widget__hd"
26451
- }, Q_ = { class: "admin-widget__title" }, eq = ["src", "sandbox"], aq = {
26451
+ }, nq = { class: "admin-widget__title" }, oq = ["src", "sandbox"], cq = {
26452
26452
  key: 2,
26453
26453
  class: "admin-widget__empty"
26454
- }, tq = /* @__PURE__ */ ee({
26454
+ }, iq = /* @__PURE__ */ ee({
26455
26455
  __name: "IframeWidget",
26456
26456
  props: {
26457
26457
  title: { default: "" },
@@ -26468,8 +26468,8 @@ const oI = ee({
26468
26468
  class: "admin-widget admin-widget--iframe"
26469
26469
  }, {
26470
26470
  default: f(() => [
26471
- a.title ? (o(), s("header", Y_, [
26472
- u("h3", Q_, w(a.title), 1)
26471
+ a.title ? (o(), s("header", tq, [
26472
+ u("h3", nq, w(a.title), 1)
26473
26473
  ])) : F("", !0),
26474
26474
  a.src ? (o(), s("iframe", {
26475
26475
  key: 1,
@@ -26479,19 +26479,22 @@ const oI = ee({
26479
26479
  class: "admin-widget__iframe",
26480
26480
  loading: "lazy",
26481
26481
  referrerpolicy: "no-referrer"
26482
- }, null, 12, eq)) : (o(), s("p", aq, "Не задан src"))
26482
+ }, null, 12, oq)) : (o(), s("p", cq, "Не задан src"))
26483
26483
  ]),
26484
26484
  _: 1
26485
26485
  }));
26486
26486
  }
26487
- }), nq = /* @__PURE__ */ a1(tq, [["__scopeId", "data-v-6edf0603"]]);
26488
- function oq() {
26489
- jx({
26487
+ }), lq = /* @__PURE__ */ a1(iq, [["__scopeId", "data-v-6edf0603"]]);
26488
+ function dq() {
26489
+ ((t) => {
26490
+ for (const [n, r] of Object.entries(t))
26491
+ jx(n) || Vx(n, r);
26492
+ })({
26490
26493
  // Stat / Stats overview
26491
26494
  stat: rI,
26492
26495
  stats: rI,
26493
26496
  // Charts: универсальный диспетчер по data.type → bar/donut/...
26494
- chart: N_,
26497
+ chart: Y_,
26495
26498
  "bar-chart": jI,
26496
26499
  "donut-chart": FI,
26497
26500
  // Recent list (таблица последних записей)
@@ -26499,21 +26502,21 @@ function oq() {
26499
26502
  recent_list: Hg,
26500
26503
  "recent-list": Hg,
26501
26504
  // Heatmap / Gauge / Markdown
26502
- heatmap: R_,
26503
- gauge: O_,
26504
- markdown: G_,
26505
+ heatmap: O_,
26506
+ gauge: G_,
26507
+ markdown: J_,
26505
26508
  // Полнофункциональная таблица (resource-колонки) и iframe-встройка
26506
- table: J_,
26507
- iframe: nq
26509
+ table: aq,
26510
+ iframe: lq
26508
26511
  });
26509
26512
  }
26510
- function cq(a) {
26513
+ function rq(a) {
26511
26514
  return a.success === !0;
26512
26515
  }
26513
- function nV(a) {
26516
+ function oV(a) {
26514
26517
  return a.success === !1;
26515
26518
  }
26516
- function iq(a) {
26519
+ function sq(a) {
26517
26520
  const t = fw.create({
26518
26521
  baseURL: a.baseURL,
26519
26522
  withCredentials: !0,
@@ -26523,13 +26526,13 @@ function iq(a) {
26523
26526
  }
26524
26527
  });
26525
26528
  a.csrfToken && (t.defaults.headers.common["X-CSRF-TOKEN"] = a.csrfToken), a.locale && (t.defaults.headers.common["X-Admin-Locale"] = a.locale), t.interceptors.request.use((l) => {
26526
- const i = lq("XSRF-TOKEN");
26529
+ const i = hq("XSRF-TOKEN");
26527
26530
  return i && l.headers.set("X-XSRF-TOKEN", decodeURIComponent(i)), l;
26528
26531
  }), t.interceptors.response.use(
26529
26532
  (l) => {
26530
26533
  const i = l.data;
26531
26534
  if (i && typeof i == "object" && "success" in i) {
26532
- if (cq(i))
26535
+ if (rq(i))
26533
26536
  return l.data = i.payload, l;
26534
26537
  throw Qg(l.status, i.payload);
26535
26538
  }
@@ -26559,26 +26562,26 @@ function iq(a) {
26559
26562
  }
26560
26563
  };
26561
26564
  }
26562
- function lq(a) {
26565
+ function hq(a) {
26563
26566
  if (typeof document > "u") return null;
26564
- const t = document.cookie.match(new RegExp("(^|; )" + dq(a) + "=([^;]*)"));
26567
+ const t = document.cookie.match(new RegExp("(^|; )" + uq(a) + "=([^;]*)"));
26565
26568
  return t ? t[2] : null;
26566
26569
  }
26567
- function dq(a) {
26570
+ function uq(a) {
26568
26571
  return a.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
26569
26572
  }
26570
26573
  function Ro(a, t) {
26571
26574
  const n = a.permissions?.[t];
26572
26575
  return typeof n == "string" && n.length > 0 ? [n] : [];
26573
26576
  }
26574
- function rq(a, t) {
26577
+ function yq(a, t) {
26575
26578
  const n = a.permissions?.[t];
26576
26579
  return typeof n == "string" && n.length > 0 ? [n] : [];
26577
26580
  }
26578
- function sq(a) {
26581
+ function pq(a) {
26579
26582
  return Array.isArray(a.permission) ? a.permission : typeof a.permission == "string" && a.permission.length > 0 ? [a.permission] : [];
26580
26583
  }
26581
- function hq(a, t) {
26584
+ function kq(a, t) {
26582
26585
  const n = a.slug, r = `/r/${n}`;
26583
26586
  return [
26584
26587
  {
@@ -26639,7 +26642,7 @@ function hq(a, t) {
26639
26642
  }
26640
26643
  ];
26641
26644
  }
26642
- function uq(a, t) {
26645
+ function mq(a, t) {
26643
26646
  return {
26644
26647
  path: `/screens/${a.slug}`,
26645
26648
  name: `admin.screen.${a.slug}`,
@@ -26649,11 +26652,11 @@ function uq(a, t) {
26649
26652
  kind: "screen",
26650
26653
  slug: a.slug,
26651
26654
  title: a.name,
26652
- permissions: sq(a)
26655
+ permissions: pq(a)
26653
26656
  }
26654
26657
  };
26655
26658
  }
26656
- function yq(a, t) {
26659
+ function vq(a, t) {
26657
26660
  return {
26658
26661
  path: `/settings/${a.slug}`,
26659
26662
  name: `admin.settings.${a.slug}`,
@@ -26663,11 +26666,11 @@ function yq(a, t) {
26663
26666
  kind: "settings",
26664
26667
  slug: a.slug,
26665
26668
  title: a.label,
26666
- permissions: rq(a, "view")
26669
+ permissions: yq(a, "view")
26667
26670
  }
26668
26671
  };
26669
26672
  }
26670
- function pq(a, t) {
26673
+ function fq(a, t) {
26671
26674
  if (typeof a.slug != "string" || a.slug.length === 0) return null;
26672
26675
  const n = a.permission, r = Array.isArray(n) ? n : typeof n == "string" && n.length > 0 ? [n] : [];
26673
26676
  return {
@@ -26683,22 +26686,22 @@ function pq(a, t) {
26683
26686
  }
26684
26687
  };
26685
26688
  }
26686
- function kq(a, t) {
26689
+ function Mq(a, t) {
26687
26690
  if (a === null) return [];
26688
26691
  const n = [];
26689
26692
  for (const r of a.resources)
26690
- n.push(...hq(r, t));
26693
+ n.push(...kq(r, t));
26691
26694
  for (const r of a.screens)
26692
- n.push(uq(r, t));
26695
+ n.push(mq(r, t));
26693
26696
  for (const r of a.settings)
26694
- n.push(yq(r, t));
26697
+ n.push(vq(r, t));
26695
26698
  for (const r of a.dashboards) {
26696
- const l = pq(r, t);
26699
+ const l = fq(r, t);
26697
26700
  l && n.push(l);
26698
26701
  }
26699
26702
  return n;
26700
26703
  }
26701
- function mq(a = {}) {
26704
+ function gq(a = {}) {
26702
26705
  const t = a.loginRouteName ?? "admin.login", n = a.forbiddenRouteName ?? "admin.forbidden", r = a.redirectQueryKey ?? "redirect";
26703
26706
  return (l) => {
26704
26707
  if (l.name === t)
@@ -26718,7 +26721,7 @@ function mq(a = {}) {
26718
26721
  return Array.isArray(h) && h.length > 0 && !i.hasAnyPermission(h) ? { name: n } : !0;
26719
26722
  };
26720
26723
  }
26721
- function vq(a = {}) {
26724
+ function Iq(a = {}) {
26722
26725
  const t = a.template, n = a.brand ?? "", r = a.fallback ?? "";
26723
26726
  return (l) => {
26724
26727
  if (typeof document > "u") return;
@@ -26727,16 +26730,16 @@ function vq(a = {}) {
26727
26730
  t ? d = t.replace("{title}", i).replace("{brand}", n) : i && n ? d = `${i} · ${n}` : d = i || n, document.title = d;
26728
26731
  };
26729
26732
  }
26730
- const fq = [
26733
+ const wq = [
26731
26734
  "admin.resource.",
26732
26735
  "admin.screen.",
26733
26736
  "admin.settings.",
26734
26737
  "admin.dashboard."
26735
26738
  ];
26736
- function Mq(a) {
26737
- return typeof a != "string" ? !1 : fq.some((t) => a.startsWith(t));
26739
+ function xq(a) {
26740
+ return typeof a != "string" ? !1 : wq.some((t) => a.startsWith(t));
26738
26741
  }
26739
- function gq(a) {
26742
+ function Lq(a) {
26740
26743
  const t = a.base ?? "/admin", n = a.history ?? kI(t), r = [
26741
26744
  {
26742
26745
  path: "/login",
@@ -26787,12 +26790,12 @@ function gq(a) {
26787
26790
  history: n,
26788
26791
  routes: [...r, ...a.extraRoutes ?? [], l]
26789
26792
  });
26790
- return i.beforeEach(mq(a.authGuard)), i.afterEach(vq(a.titleGuard)), i.replaceManifestRoutes = (d) => {
26793
+ return i.beforeEach(gq(a.authGuard)), i.afterEach(Iq(a.titleGuard)), i.replaceManifestRoutes = (d) => {
26791
26794
  const h = i.getRoutes();
26792
26795
  for (const k of h)
26793
- Mq(k.name) && i.removeRoute(k.name);
26796
+ xq(k.name) && i.removeRoute(k.name);
26794
26797
  i.hasRoute("admin.notFound") && i.removeRoute("admin.notFound");
26795
- const y = kq(d, a.components);
26798
+ const y = Mq(d, a.components);
26796
26799
  for (const k of y)
26797
26800
  i.addRoute(k);
26798
26801
  i.addRoute(l);
@@ -27039,20 +27042,20 @@ const Te = /* @__PURE__ */ ee({
27039
27042
  _: 1
27040
27043
  }, 8, ["label", "hint", "error", "required", "disabled"]));
27041
27044
  }
27042
- }), Iq = {
27045
+ }), bq = {
27043
27046
  key: 0,
27044
27047
  class: "admin-field__label"
27045
- }, wq = {
27048
+ }, Cq = {
27046
27049
  key: 0,
27047
27050
  class: "admin-field__required",
27048
27051
  "aria-hidden": "true"
27049
- }, xq = { class: "admin-tags__chip-text" }, Lq = ["onClick"], bq = ["value", "placeholder", "disabled"], Cq = { class: "admin-tags__group-label" }, Sq = ["aria-selected", "onMousedown", "onMouseenter"], _q = ["aria-selected", "onMousedown", "onMouseenter"], qq = {
27052
+ }, Sq = { class: "admin-tags__chip-text" }, _q = ["onClick"], qq = ["value", "placeholder", "disabled"], Aq = { class: "admin-tags__group-label" }, zq = ["aria-selected", "onMousedown", "onMouseenter"], Hq = ["aria-selected", "onMousedown", "onMouseenter"], Vq = {
27050
27053
  key: 1,
27051
27054
  class: "admin-field__error"
27052
- }, Aq = {
27055
+ }, Pq = {
27053
27056
  key: 2,
27054
27057
  class: "admin-field__help"
27055
- }, zq = /* @__PURE__ */ ee({
27058
+ }, jq = /* @__PURE__ */ ee({
27056
27059
  __name: "TagsField",
27057
27060
  props: {
27058
27061
  name: {},
@@ -27158,9 +27161,9 @@ const Te = /* @__PURE__ */ ee({
27158
27161
  ), (Z, X) => (o(), s("div", {
27159
27162
  class: fe(["admin-field", { "admin-field--invalid": l.value !== void 0 }])
27160
27163
  }, [
27161
- a.label ? (o(), s("label", Iq, [
27164
+ a.label ? (o(), s("label", bq, [
27162
27165
  u("span", null, w(a.label), 1),
27163
- a.required ? (o(), s("span", wq, "*")) : F("", !0)
27166
+ a.required ? (o(), s("span", Cq, "*")) : F("", !0)
27164
27167
  ])) : F("", !0),
27165
27168
  u("div", {
27166
27169
  ref_key: "containerRef",
@@ -27178,7 +27181,7 @@ const Te = /* @__PURE__ */ ee({
27178
27181
  key: `${D}-${I}`,
27179
27182
  class: "admin-tags__chip"
27180
27183
  }, [
27181
- u("span", xq, w(D), 1),
27184
+ u("span", Sq, w(D), 1),
27182
27185
  a.disabled ? F("", !0) : (o(), s("button", {
27183
27186
  key: 0,
27184
27187
  type: "button",
@@ -27190,7 +27193,7 @@ const Te = /* @__PURE__ */ ee({
27190
27193
  icon: c(He),
27191
27194
  size: 10
27192
27195
  }, null, 8, ["icon"])
27193
- ], 8, Lq))
27196
+ ], 8, _q))
27194
27197
  ]))), 128)),
27195
27198
  u("input", {
27196
27199
  ref_key: "inputRef",
@@ -27204,7 +27207,7 @@ const Te = /* @__PURE__ */ ee({
27204
27207
  onKeydown: U,
27205
27208
  onFocus: X[0] || (X[0] = (D) => d.value = !0),
27206
27209
  onBlur: oe
27207
- }, null, 40, bq),
27210
+ }, null, 40, qq),
27208
27211
  (o(), V(Tg, { to: "body" }, [
27209
27212
  d.value && H.value.length > 0 ? (o(), s("div", {
27210
27213
  key: 0,
@@ -27217,7 +27220,7 @@ const Te = /* @__PURE__ */ ee({
27217
27220
  W.value ? (o(!0), s(E, { key: 0 }, Q(T.value, (D, I) => (o(), s(E, {
27218
27221
  key: `g-${I}-${D.label}`
27219
27222
  }, [
27220
- u("div", Cq, w(D.label), 1),
27223
+ u("div", Aq, w(D.label), 1),
27221
27224
  (o(!0), s(E, null, Q(D.items, (q) => (o(), s("button", {
27222
27225
  key: q,
27223
27226
  type: "button",
@@ -27233,7 +27236,7 @@ const Te = /* @__PURE__ */ ee({
27233
27236
  "aria-selected": $(H.value.indexOf(q)),
27234
27237
  onMousedown: ve((C) => ae(q), ["prevent"]),
27235
27238
  onMouseenter: (C) => A.value = H.value.indexOf(q)
27236
- }, w(q), 43, Sq))), 128))
27239
+ }, w(q), 43, zq))), 128))
27237
27240
  ], 64))), 128)) : (o(!0), s(E, { key: 1 }, Q(H.value, (D, I) => (o(), s("button", {
27238
27241
  key: D,
27239
27242
  type: "button",
@@ -27242,31 +27245,31 @@ const Te = /* @__PURE__ */ ee({
27242
27245
  "aria-selected": I === A.value,
27243
27246
  onMousedown: ve((q) => ae(D), ["prevent"]),
27244
27247
  onMouseenter: (q) => A.value = I
27245
- }, w(D), 43, _q))), 128))
27248
+ }, w(D), 43, Hq))), 128))
27246
27249
  ], 4)) : F("", !0)
27247
27250
  ]))
27248
27251
  ], 2),
27249
- l.value ? (o(), s("p", qq, w(l.value), 1)) : a.help ? (o(), s("p", Aq, w(a.help), 1)) : F("", !0)
27252
+ l.value ? (o(), s("p", Vq, w(l.value), 1)) : a.help ? (o(), s("p", Pq, w(a.help), 1)) : F("", !0)
27250
27253
  ], 2));
27251
27254
  }
27252
- }), Hq = {
27255
+ }), Fq = {
27253
27256
  key: 0,
27254
27257
  class: "admin-field__label"
27255
- }, Vq = {
27258
+ }, Bq = {
27256
27259
  key: 0,
27257
27260
  class: "admin-field__required",
27258
27261
  "aria-hidden": "true"
27259
- }, Pq = { class: "admin-translatable" }, jq = {
27262
+ }, Dq = { class: "admin-translatable" }, Rq = {
27260
27263
  class: "admin-translatable__tabs",
27261
27264
  role: "tablist"
27262
- }, Fq = ["aria-selected", "onClick"], Bq = {
27265
+ }, Tq = ["aria-selected", "onClick"], $q = {
27263
27266
  key: 0,
27264
27267
  class: "admin-translatable__dot",
27265
27268
  "aria-hidden": "true"
27266
- }, Dq = { class: "admin-translatable__panel" }, Rq = ["value", "placeholder", "rows", "disabled"], Tq = {
27269
+ }, Uq = { class: "admin-translatable__panel" }, Oq = ["value", "placeholder", "rows", "disabled"], Eq = {
27267
27270
  key: 1,
27268
27271
  class: "admin-field__error"
27269
- }, $q = {
27272
+ }, Zq = {
27270
27273
  key: 2,
27271
27274
  class: "admin-field__help"
27272
27275
  }, sI = /* @__PURE__ */ ee({
@@ -27308,12 +27311,12 @@ const Te = /* @__PURE__ */ ee({
27308
27311
  return (m, x) => (o(), s("div", {
27309
27312
  class: fe(["admin-field", { "admin-field--invalid": y.value !== void 0 }])
27310
27313
  }, [
27311
- a.label ? (o(), s("label", Hq, [
27314
+ a.label ? (o(), s("label", Fq, [
27312
27315
  u("span", null, w(a.label), 1),
27313
- a.required ? (o(), s("span", Vq, "*")) : F("", !0)
27316
+ a.required ? (o(), s("span", Bq, "*")) : F("", !0)
27314
27317
  ])) : F("", !0),
27315
- u("div", Pq, [
27316
- u("div", jq, [
27318
+ u("div", Dq, [
27319
+ u("div", Rq, [
27317
27320
  (o(!0), s(E, null, Q(l.value, (b) => (o(), s("button", {
27318
27321
  key: b,
27319
27322
  type: "button",
@@ -27329,10 +27332,10 @@ const Te = /* @__PURE__ */ ee({
27329
27332
  onClick: (L) => i.value = b
27330
27333
  }, [
27331
27334
  j(w(b.toUpperCase()) + " ", 1),
27332
- k(b) ? (o(), s("span", Bq)) : F("", !0)
27333
- ], 10, Fq))), 128))
27335
+ k(b) ? (o(), s("span", $q)) : F("", !0)
27336
+ ], 10, Tq))), 128))
27334
27337
  ]),
27335
- u("div", Dq, [
27338
+ u("div", Uq, [
27336
27339
  a.multiline ? (o(), s("textarea", {
27337
27340
  key: 1,
27338
27341
  value: d.value[i.value] ?? "",
@@ -27341,7 +27344,7 @@ const Te = /* @__PURE__ */ ee({
27341
27344
  disabled: a.disabled,
27342
27345
  class: "admin-translatable__textarea",
27343
27346
  onInput: x[1] || (x[1] = (b) => h(i.value, b.target.value))
27344
- }, null, 40, Rq)) : (o(), V(c(Ce), {
27347
+ }, null, 40, Oq)) : (o(), V(c(Ce), {
27345
27348
  key: 0,
27346
27349
  "model-value": d.value[i.value] ?? "",
27347
27350
  placeholder: a.placeholder ?? "",
@@ -27350,23 +27353,23 @@ const Te = /* @__PURE__ */ ee({
27350
27353
  }, null, 8, ["model-value", "placeholder", "disabled"]))
27351
27354
  ])
27352
27355
  ]),
27353
- y.value ? (o(), s("p", Tq, w(y.value), 1)) : a.help ? (o(), s("p", $q, w(a.help), 1)) : F("", !0)
27356
+ y.value ? (o(), s("p", Eq, w(y.value), 1)) : a.help ? (o(), s("p", Zq, w(a.help), 1)) : F("", !0)
27354
27357
  ], 2));
27355
27358
  }
27356
- }), Uq = {
27359
+ }), Wq = {
27357
27360
  key: 0,
27358
27361
  class: "admin-field__label"
27359
- }, Oq = {
27362
+ }, Gq = {
27360
27363
  key: 0,
27361
27364
  class: "admin-field__required",
27362
27365
  "aria-hidden": "true"
27363
- }, Eq = ["onMousedown"], Zq = {
27366
+ }, Nq = ["onMousedown"], Xq = {
27364
27367
  key: 1,
27365
27368
  class: "admin-field__error"
27366
- }, Wq = {
27369
+ }, Kq = {
27367
27370
  key: 2,
27368
27371
  class: "admin-field__help"
27369
- }, Gq = /* @__PURE__ */ ee({
27372
+ }, Jq = /* @__PURE__ */ ee({
27370
27373
  __name: "WysiwygField",
27371
27374
  props: {
27372
27375
  name: {},
@@ -27530,9 +27533,9 @@ const Te = /* @__PURE__ */ ee({
27530
27533
  }), (D, I) => (o(), s("div", {
27531
27534
  class: fe(["admin-field", { "admin-field--invalid": l.value !== void 0 }])
27532
27535
  }, [
27533
- a.label ? (o(), s("label", Uq, [
27536
+ a.label ? (o(), s("label", Wq, [
27534
27537
  u("span", null, w(a.label), 1),
27535
- a.required ? (o(), s("span", Oq, "*")) : F("", !0)
27538
+ a.required ? (o(), s("span", Gq, "*")) : F("", !0)
27536
27539
  ])) : F("", !0),
27537
27540
  u("div", {
27538
27541
  ref_key: "containerRef",
@@ -27563,7 +27566,7 @@ const Te = /* @__PURE__ */ ee({
27563
27566
  class: fe(["admin-wysiwyg-img__handle", `admin-wysiwyg-img__handle--${q}`]),
27564
27567
  style: Ve(X(q, g.value)),
27565
27568
  onMousedown: (C) => ae(q, C)
27566
- }, null, 46, Eq)), 64)) : F("", !0),
27569
+ }, null, 46, Nq)), 64)) : F("", !0),
27567
27570
  S.value ? (o(), s("div", {
27568
27571
  key: 1,
27569
27572
  class: "admin-wysiwyg-img__dropline",
@@ -27574,25 +27577,25 @@ const Te = /* @__PURE__ */ ee({
27574
27577
  })
27575
27578
  }, null, 4)) : F("", !0)
27576
27579
  ], 512),
27577
- l.value ? (o(), s("p", Zq, w(l.value), 1)) : a.help ? (o(), s("p", Wq, w(a.help), 1)) : F("", !0)
27580
+ l.value ? (o(), s("p", Xq, w(l.value), 1)) : a.help ? (o(), s("p", Kq, w(a.help), 1)) : F("", !0)
27578
27581
  ], 2));
27579
27582
  }
27580
- }), Nq = /* @__PURE__ */ a1(Gq, [["__scopeId", "data-v-f47e6515"]]), Xq = { class: "admin-file-field" }, Kq = {
27583
+ }), Yq = /* @__PURE__ */ a1(Jq, [["__scopeId", "data-v-f47e6515"]]), Qq = { class: "admin-file-field" }, eA = {
27581
27584
  key: 0,
27582
27585
  class: "admin-file-field__label"
27583
- }, Jq = {
27586
+ }, aA = {
27584
27587
  key: 0,
27585
27588
  class: "admin-file-field__required"
27586
- }, Yq = { key: 1 }, Qq = { class: "admin-file-field__hint" }, eA = ["accept"], aA = {
27589
+ }, tA = { key: 1 }, nA = { class: "admin-file-field__hint" }, oA = ["accept"], cA = {
27587
27590
  key: 2,
27588
27591
  class: "admin-file-field__preview"
27589
- }, tA = { class: "admin-file-field__preview-info" }, nA = ["href"], oA = { class: "admin-file-field__preview-meta" }, cA = {
27592
+ }, iA = { class: "admin-file-field__preview-info" }, lA = ["href"], dA = { class: "admin-file-field__preview-meta" }, rA = {
27590
27593
  key: 3,
27591
27594
  class: "admin-file-field__help"
27592
- }, iA = {
27595
+ }, sA = {
27593
27596
  key: 4,
27594
27597
  class: "admin-file-field__error"
27595
- }, lA = /* @__PURE__ */ ee({
27598
+ }, hA = /* @__PURE__ */ ee({
27596
27599
  __name: "FileField",
27597
27600
  props: {
27598
27601
  name: {},
@@ -27642,19 +27645,19 @@ const Te = /* @__PURE__ */ ee({
27642
27645
  function b() {
27643
27646
  n.setField(t.name, null);
27644
27647
  }
27645
- return (L, g) => (o(), s("div", Xq, [
27646
- a.label ? (o(), s("label", Kq, [
27648
+ return (L, g) => (o(), s("div", Qq, [
27649
+ a.label ? (o(), s("label", eA, [
27647
27650
  j(w(a.label), 1),
27648
- a.required ? (o(), s("span", Jq, "*")) : F("", !0)
27651
+ a.required ? (o(), s("span", aA, "*")) : F("", !0)
27649
27652
  ])) : F("", !0),
27650
- r.value ? (o(), s("div", aA, [
27651
- u("div", tA, [
27653
+ r.value ? (o(), s("div", cA, [
27654
+ u("div", iA, [
27652
27655
  u("a", {
27653
27656
  href: r.value.url,
27654
27657
  target: "_blank",
27655
27658
  rel: "noopener"
27656
- }, w(r.value.name), 9, nA),
27657
- u("span", oA, w(r.value.mime), 1)
27659
+ }, w(r.value.name), 9, lA),
27660
+ u("span", dA, w(r.value.mime), 1)
27658
27661
  ]),
27659
27662
  v(c(te), {
27660
27663
  variant: "ghost",
@@ -27667,7 +27670,7 @@ const Te = /* @__PURE__ */ ee({
27667
27670
  ]),
27668
27671
  _: 1
27669
27672
  })
27670
- ])) : (o(), s("div", Yq, [
27673
+ ])) : (o(), s("div", tA, [
27671
27674
  u("div", {
27672
27675
  class: fe(["admin-file-field__drop", { "admin-file-field__drop--over": h.value }]),
27673
27676
  onClick: y,
@@ -27679,7 +27682,7 @@ const Te = /* @__PURE__ */ ee({
27679
27682
  icon: c(Nn),
27680
27683
  size: 24
27681
27684
  }, null, 8, ["icon"]),
27682
- u("p", Qq, w(d.value ? "Загрузка…" : "Кликните или перетащите файл сюда"), 1)
27685
+ u("p", nA, w(d.value ? "Загрузка…" : "Кликните или перетащите файл сюда"), 1)
27683
27686
  ], 34),
27684
27687
  u("input", {
27685
27688
  ref_key: "fileInput",
@@ -27688,34 +27691,34 @@ const Te = /* @__PURE__ */ ee({
27688
27691
  accept: a.accept ?? void 0,
27689
27692
  class: "admin-file-field__input",
27690
27693
  onChange: k
27691
- }, null, 40, eA)
27694
+ }, null, 40, oA)
27692
27695
  ])),
27693
- a.help && !l.value ? (o(), s("p", cA, w(a.help), 1)) : F("", !0),
27694
- l.value ? (o(), s("p", iA, w(l.value), 1)) : F("", !0)
27696
+ a.help && !l.value ? (o(), s("p", rA, w(a.help), 1)) : F("", !0),
27697
+ l.value ? (o(), s("p", sA, w(l.value), 1)) : F("", !0)
27695
27698
  ]));
27696
27699
  }
27697
- }), hI = /* @__PURE__ */ a1(lA, [["__scopeId", "data-v-7e06b8c7"]]), dA = { class: "admin-image-cropper" }, rA = {
27700
+ }), hI = /* @__PURE__ */ a1(hA, [["__scopeId", "data-v-7e06b8c7"]]), uA = { class: "admin-image-cropper" }, yA = {
27698
27701
  key: 0,
27699
27702
  class: "admin-image-cropper__label"
27700
- }, sA = {
27703
+ }, pA = {
27701
27704
  key: 0,
27702
27705
  class: "admin-image-cropper__required"
27703
- }, hA = { key: 1 }, uA = {
27706
+ }, kA = { key: 1 }, mA = {
27704
27707
  key: 0,
27705
27708
  class: "admin-image-cropper__hint-sub"
27706
- }, yA = ["accept"], pA = {
27709
+ }, vA = ["accept"], fA = {
27707
27710
  key: 2,
27708
27711
  class: "admin-image-cropper__crop"
27709
- }, kA = ["src", "width", "height"], mA = { class: "admin-image-cropper__actions" }, vA = {
27712
+ }, MA = ["src", "width", "height"], gA = { class: "admin-image-cropper__actions" }, IA = {
27710
27713
  key: 3,
27711
27714
  class: "admin-image-cropper__preview"
27712
- }, fA = ["src", "alt"], MA = { class: "admin-image-cropper__preview-info" }, gA = { class: "admin-image-cropper__preview-name" }, IA = { class: "admin-image-cropper__preview-meta" }, wA = { class: "admin-image-cropper__preview-actions" }, xA = {
27715
+ }, wA = ["src", "alt"], xA = { class: "admin-image-cropper__preview-info" }, LA = { class: "admin-image-cropper__preview-name" }, bA = { class: "admin-image-cropper__preview-meta" }, CA = { class: "admin-image-cropper__preview-actions" }, SA = {
27713
27716
  key: 4,
27714
27717
  class: "admin-image-cropper__help"
27715
- }, LA = {
27718
+ }, _A = {
27716
27719
  key: 5,
27717
27720
  class: "admin-image-cropper__error"
27718
- }, bA = 500, CA = 400, SA = /* @__PURE__ */ ee({
27721
+ }, qA = 500, AA = 400, zA = /* @__PURE__ */ ee({
27719
27722
  __name: "ImageCropperField",
27720
27723
  props: {
27721
27724
  name: {},
@@ -27765,7 +27768,7 @@ const Te = /* @__PURE__ */ ee({
27765
27768
  }
27766
27769
  function U() {
27767
27770
  if (!y.value) return;
27768
- const D = y.value.naturalWidth, I = y.value.naturalHeight, q = Math.min(bA / D, CA / I, 1);
27771
+ const D = y.value.naturalWidth, I = y.value.naturalHeight, q = Math.min(qA / D, AA / I, 1);
27769
27772
  m.value = q, x.value = { w: D * q, h: I * q };
27770
27773
  }
27771
27774
  function P() {
@@ -27859,12 +27862,12 @@ const Te = /* @__PURE__ */ ee({
27859
27862
  function X() {
27860
27863
  n.setField(t.name, null);
27861
27864
  }
27862
- return Dg(oe), (D, I) => (o(), s("div", dA, [
27863
- a.label ? (o(), s("label", rA, [
27865
+ return Dg(oe), (D, I) => (o(), s("div", uA, [
27866
+ a.label ? (o(), s("label", yA, [
27864
27867
  j(w(a.label), 1),
27865
- a.required ? (o(), s("span", sA, "*")) : F("", !0)
27868
+ a.required ? (o(), s("span", pA, "*")) : F("", !0)
27866
27869
  ])) : F("", !0),
27867
- !r.value && !y.value ? (o(), s("div", hA, [
27870
+ !r.value && !y.value ? (o(), s("div", kA, [
27868
27871
  u("div", {
27869
27872
  class: fe(["admin-image-cropper__drop", { "admin-image-cropper__drop--over": d.value }]),
27870
27873
  onClick: g,
@@ -27877,7 +27880,7 @@ const Te = /* @__PURE__ */ ee({
27877
27880
  size: 28
27878
27881
  }, null, 8, ["icon"]),
27879
27882
  I[7] || (I[7] = u("p", { class: "admin-image-cropper__hint" }, "Кликните или перетащите картинку", -1)),
27880
- a.outputWidth && a.outputHeight ? (o(), s("p", uA, " Будет обрезано до " + w(a.outputWidth) + "×" + w(a.outputHeight) + " px ", 1)) : F("", !0)
27883
+ a.outputWidth && a.outputHeight ? (o(), s("p", mA, " Будет обрезано до " + w(a.outputWidth) + "×" + w(a.outputHeight) + " px ", 1)) : F("", !0)
27881
27884
  ], 34),
27882
27885
  u("input", {
27883
27886
  ref_key: "fileInput",
@@ -27886,8 +27889,8 @@ const Te = /* @__PURE__ */ ee({
27886
27889
  accept: a.accept ?? "image/*",
27887
27890
  class: "admin-image-cropper__input",
27888
27891
  onChange: S
27889
- }, null, 40, yA)
27890
- ])) : y.value ? (o(), s("div", pA, [
27892
+ }, null, 40, vA)
27893
+ ])) : y.value ? (o(), s("div", fA, [
27891
27894
  u("div", {
27892
27895
  class: "admin-image-cropper__canvas-wrap",
27893
27896
  style: Ve({ width: x.value.w + "px", height: x.value.h + "px" })
@@ -27898,7 +27901,7 @@ const Te = /* @__PURE__ */ ee({
27898
27901
  height: x.value.h,
27899
27902
  class: "admin-image-cropper__img",
27900
27903
  alt: ""
27901
- }, null, 8, kA),
27904
+ }, null, 8, MA),
27902
27905
  u("div", {
27903
27906
  class: "admin-image-cropper__rect",
27904
27907
  style: Ve({ left: b.value.x + "px", top: b.value.y + "px", width: b.value.w + "px", height: b.value.h + "px" }),
@@ -27922,7 +27925,7 @@ const Te = /* @__PURE__ */ ee({
27922
27925
  }, null, 32)
27923
27926
  ], 36)
27924
27927
  ], 4),
27925
- u("div", mA, [
27928
+ u("div", gA, [
27926
27929
  v(c(te), {
27927
27930
  variant: "primary",
27928
27931
  size: "sm",
@@ -27948,16 +27951,16 @@ const Te = /* @__PURE__ */ ee({
27948
27951
  _: 1
27949
27952
  }, 8, ["disabled"])
27950
27953
  ])
27951
- ])) : r.value ? (o(), s("div", vA, [
27954
+ ])) : r.value ? (o(), s("div", IA, [
27952
27955
  u("img", {
27953
27956
  src: r.value.url,
27954
27957
  alt: r.value.name,
27955
27958
  class: "admin-image-cropper__preview-img"
27956
- }, null, 8, fA),
27957
- u("div", MA, [
27958
- u("div", gA, w(r.value.name), 1),
27959
- u("div", IA, w(r.value.mime) + " · " + w((r.value.size / 1024).toFixed(1)) + " KB", 1),
27960
- u("div", wA, [
27959
+ }, null, 8, wA),
27960
+ u("div", xA, [
27961
+ u("div", LA, w(r.value.name), 1),
27962
+ u("div", bA, w(r.value.mime) + " · " + w((r.value.size / 1024).toFixed(1)) + " KB", 1),
27963
+ u("div", CA, [
27961
27964
  v(c(te), {
27962
27965
  variant: "ghost",
27963
27966
  size: "sm",
@@ -27983,24 +27986,24 @@ const Te = /* @__PURE__ */ ee({
27983
27986
  ])
27984
27987
  ])
27985
27988
  ])) : F("", !0),
27986
- a.help && !l.value ? (o(), s("p", xA, w(a.help), 1)) : F("", !0),
27987
- l.value ? (o(), s("p", LA, w(l.value), 1)) : F("", !0)
27989
+ a.help && !l.value ? (o(), s("p", SA, w(a.help), 1)) : F("", !0),
27990
+ l.value ? (o(), s("p", _A, w(l.value), 1)) : F("", !0)
27988
27991
  ]));
27989
27992
  }
27990
- }), _A = /* @__PURE__ */ a1(SA, [["__scopeId", "data-v-16f50500"]]), qA = {
27993
+ }), HA = /* @__PURE__ */ a1(zA, [["__scopeId", "data-v-16f50500"]]), VA = {
27991
27994
  key: 0,
27992
27995
  class: "uid-form-field__label"
27993
- }, AA = {
27996
+ }, PA = {
27994
27997
  key: 0,
27995
27998
  class: "uid-form-field__required",
27996
27999
  "aria-hidden": "true"
27997
- }, zA = { class: "admin-keyvalue__rows" }, HA = { class: "admin-keyvalue__head" }, VA = ["id"], PA = ["value"], jA = {
28000
+ }, jA = { class: "admin-keyvalue__rows" }, FA = { class: "admin-keyvalue__head" }, BA = ["id"], DA = ["value"], RA = {
27998
28001
  key: 2,
27999
28002
  class: "uid-form-field__hint uid-form-field__hint--error"
28000
- }, FA = {
28003
+ }, TA = {
28001
28004
  key: 3,
28002
28005
  class: "uid-form-field__hint"
28003
- }, BA = /* @__PURE__ */ ee({
28006
+ }, $A = /* @__PURE__ */ ee({
28004
28007
  __name: "KeyValueField",
28005
28008
  props: {
28006
28009
  name: {},
@@ -28046,12 +28049,12 @@ const Te = /* @__PURE__ */ ee({
28046
28049
  return (m, x) => (o(), s("div", {
28047
28050
  class: fe(["uid-form-field admin-keyvalue", { "uid-form-field--error": !!y.value }])
28048
28051
  }, [
28049
- a.label ? (o(), s("label", qA, [
28052
+ a.label ? (o(), s("label", VA, [
28050
28053
  j(w(a.label), 1),
28051
- a.required ? (o(), s("span", AA, "*")) : F("", !0)
28054
+ a.required ? (o(), s("span", PA, "*")) : F("", !0)
28052
28055
  ])) : F("", !0),
28053
- u("div", zA, [
28054
- u("div", HA, [
28056
+ u("div", jA, [
28057
+ u("div", FA, [
28055
28058
  u("span", null, w(a.keyLabel), 1),
28056
28059
  u("span", null, w(a.valueLabel), 1),
28057
28060
  x[0] || (x[0] = u("span", null, null, -1))
@@ -28096,8 +28099,8 @@ const Te = /* @__PURE__ */ ee({
28096
28099
  (o(!0), s(E, null, Q(a.allowedKeys, (b) => (o(), s("option", {
28097
28100
  key: b,
28098
28101
  value: b
28099
- }, null, 8, PA))), 128))
28100
- ], 8, VA)) : F("", !0)
28102
+ }, null, 8, DA))), 128))
28103
+ ], 8, BA)) : F("", !0)
28101
28104
  ]),
28102
28105
  a.addable ? (o(), V(c(te), {
28103
28106
  key: 1,
@@ -28117,10 +28120,10 @@ const Te = /* @__PURE__ */ ee({
28117
28120
  ]),
28118
28121
  _: 1
28119
28122
  })) : F("", !0),
28120
- y.value ? (o(), s("p", jA, w(y.value), 1)) : a.help ? (o(), s("p", FA, w(a.help), 1)) : F("", !0)
28123
+ y.value ? (o(), s("p", RA, w(y.value), 1)) : a.help ? (o(), s("p", TA, w(a.help), 1)) : F("", !0)
28121
28124
  ], 2));
28122
28125
  }
28123
- }), DA = /* @__PURE__ */ a1(BA, [["__scopeId", "data-v-cc26b451"]]), RA = { class: "admin-nested-fields" }, TA = /* @__PURE__ */ ee({
28126
+ }), UA = /* @__PURE__ */ a1($A, [["__scopeId", "data-v-cc26b451"]]), OA = { class: "admin-nested-fields" }, EA = /* @__PURE__ */ ee({
28124
28127
  __name: "NestedFieldsGroup",
28125
28128
  props: {
28126
28129
  fields: {},
@@ -28133,27 +28136,27 @@ const Te = /* @__PURE__ */ ee({
28133
28136
  l,
28134
28137
  () => r("update:modelValue", { ...l }),
28135
28138
  { deep: !0 }
28136
- ), (i, d) => (o(), s("div", RA, [
28139
+ ), (i, d) => (o(), s("div", OA, [
28137
28140
  (o(!0), s(E, null, Q(a.fields, (h) => (o(), V(Xg, {
28138
28141
  key: h.name,
28139
28142
  node: h
28140
28143
  }, null, 8, ["node"]))), 128))
28141
28144
  ]));
28142
28145
  }
28143
- }), BI = /* @__PURE__ */ a1(TA, [["__scopeId", "data-v-fdba98be"]]), $A = {
28146
+ }), BI = /* @__PURE__ */ a1(EA, [["__scopeId", "data-v-fdba98be"]]), ZA = {
28144
28147
  key: 0,
28145
28148
  class: "uid-form-field__label"
28146
- }, UA = {
28149
+ }, WA = {
28147
28150
  key: 0,
28148
28151
  class: "uid-form-field__required",
28149
28152
  "aria-hidden": "true"
28150
- }, OA = { class: "admin-repeater__item-hd" }, EA = { class: "admin-repeater__item-no" }, ZA = { class: "admin-repeater__item-actions" }, WA = {
28153
+ }, GA = { class: "admin-repeater__item-hd" }, NA = { class: "admin-repeater__item-no" }, XA = { class: "admin-repeater__item-actions" }, KA = {
28151
28154
  key: 2,
28152
28155
  class: "uid-form-field__hint uid-form-field__hint--error"
28153
- }, GA = {
28156
+ }, JA = {
28154
28157
  key: 3,
28155
28158
  class: "uid-form-field__hint"
28156
- }, NA = /* @__PURE__ */ ee({
28159
+ }, YA = /* @__PURE__ */ ee({
28157
28160
  __name: "RepeaterField",
28158
28161
  props: {
28159
28162
  name: {},
@@ -28209,9 +28212,9 @@ const Te = /* @__PURE__ */ ee({
28209
28212
  return (L, g) => (o(), s("div", {
28210
28213
  class: fe(["uid-form-field admin-repeater", { "uid-form-field--error": !!b.value }])
28211
28214
  }, [
28212
- a.label ? (o(), s("label", $A, [
28215
+ a.label ? (o(), s("label", ZA, [
28213
28216
  j(w(a.label), 1),
28214
- a.required ? (o(), s("span", UA, "*")) : F("", !0)
28217
+ a.required ? (o(), s("span", WA, "*")) : F("", !0)
28215
28218
  ])) : F("", !0),
28216
28219
  (o(!0), s(E, null, Q(l.value, (S, p) => (o(), V(c(ge), {
28217
28220
  key: p,
@@ -28219,9 +28222,9 @@ const Te = /* @__PURE__ */ ee({
28219
28222
  class: "admin-repeater__item"
28220
28223
  }, {
28221
28224
  default: f(() => [
28222
- u("header", OA, [
28223
- u("span", EA, "#" + w(p + 1), 1),
28224
- u("span", ZA, [
28225
+ u("header", GA, [
28226
+ u("span", NA, "#" + w(p + 1), 1),
28227
+ u("span", XA, [
28225
28228
  a.reorderable ? (o(), V(c(te), {
28226
28229
  key: 0,
28227
28230
  variant: "ghost",
@@ -28297,26 +28300,26 @@ const Te = /* @__PURE__ */ ee({
28297
28300
  ]),
28298
28301
  _: 1
28299
28302
  })) : F("", !0),
28300
- b.value ? (o(), s("p", WA, w(b.value), 1)) : a.help ? (o(), s("p", GA, w(a.help), 1)) : F("", !0)
28303
+ b.value ? (o(), s("p", KA, w(b.value), 1)) : a.help ? (o(), s("p", JA, w(a.help), 1)) : F("", !0)
28301
28304
  ], 2));
28302
28305
  }
28303
- }), XA = /* @__PURE__ */ a1(NA, [["__scopeId", "data-v-aa660ff9"]]), KA = {
28306
+ }), QA = /* @__PURE__ */ a1(YA, [["__scopeId", "data-v-aa660ff9"]]), ez = {
28304
28307
  key: 0,
28305
28308
  class: "uid-form-field__label"
28306
- }, JA = {
28309
+ }, az = {
28307
28310
  key: 0,
28308
28311
  class: "uid-form-field__required",
28309
28312
  "aria-hidden": "true"
28310
- }, YA = { class: "admin-builder__block-hd" }, QA = { class: "admin-builder__block-type" }, ez = { class: "admin-builder__block-actions" }, az = {
28313
+ }, tz = { class: "admin-builder__block-hd" }, nz = { class: "admin-builder__block-type" }, oz = { class: "admin-builder__block-actions" }, cz = {
28311
28314
  key: 1,
28312
28315
  class: "uid-form-field__hint"
28313
- }, tz = {
28316
+ }, iz = {
28314
28317
  key: 2,
28315
28318
  class: "uid-form-field__hint uid-form-field__hint--error"
28316
- }, nz = {
28319
+ }, lz = {
28317
28320
  key: 3,
28318
28321
  class: "uid-form-field__hint"
28319
- }, oz = /* @__PURE__ */ ee({
28322
+ }, dz = /* @__PURE__ */ ee({
28320
28323
  __name: "BuilderField",
28321
28324
  props: {
28322
28325
  name: {},
@@ -28368,9 +28371,9 @@ const Te = /* @__PURE__ */ ee({
28368
28371
  return (g, S) => (o(), s("div", {
28369
28372
  class: fe(["uid-form-field admin-builder", { "uid-form-field--error": !!L.value }])
28370
28373
  }, [
28371
- a.label ? (o(), s("label", KA, [
28374
+ a.label ? (o(), s("label", ez, [
28372
28375
  j(w(a.label), 1),
28373
- a.required ? (o(), s("span", JA, "*")) : F("", !0)
28376
+ a.required ? (o(), s("span", az, "*")) : F("", !0)
28374
28377
  ])) : F("", !0),
28375
28378
  (o(!0), s(E, null, Q(l.value, (p, z) => (o(), V(c(ge), {
28376
28379
  key: z,
@@ -28378,9 +28381,9 @@ const Te = /* @__PURE__ */ ee({
28378
28381
  class: "admin-builder__block"
28379
28382
  }, {
28380
28383
  default: f(() => [
28381
- u("header", YA, [
28382
- u("span", QA, w(b(p.type)?.label ?? p.type), 1),
28383
- u("span", ez, [
28384
+ u("header", tz, [
28385
+ u("span", nz, w(b(p.type)?.label ?? p.type), 1),
28386
+ u("span", oz, [
28384
28387
  a.reorderable ? (o(), V(c(te), {
28385
28388
  key: 0,
28386
28389
  variant: "ghost",
@@ -28434,7 +28437,7 @@ const Te = /* @__PURE__ */ ee({
28434
28437
  fields: b(p.type).fields,
28435
28438
  "model-value": p.data,
28436
28439
  "onUpdate:modelValue": (U) => x(z, U)
28437
- }, null, 8, ["fields", "model-value", "onUpdate:modelValue"])) : (o(), s("p", az, "Неизвестный тип блока: " + w(p.type), 1))
28440
+ }, null, 8, ["fields", "model-value", "onUpdate:modelValue"])) : (o(), s("p", cz, "Неизвестный тип блока: " + w(p.type), 1))
28438
28441
  ]),
28439
28442
  _: 2
28440
28443
  }, 1024))), 128)),
@@ -28470,16 +28473,16 @@ const Te = /* @__PURE__ */ ee({
28470
28473
  ]),
28471
28474
  _: 1
28472
28475
  })) : F("", !0),
28473
- L.value ? (o(), s("p", tz, w(L.value), 1)) : a.help ? (o(), s("p", nz, w(a.help), 1)) : F("", !0)
28476
+ L.value ? (o(), s("p", iz, w(L.value), 1)) : a.help ? (o(), s("p", lz, w(a.help), 1)) : F("", !0)
28474
28477
  ], 2));
28475
28478
  }
28476
- }), cz = /* @__PURE__ */ a1(oz, [["__scopeId", "data-v-f45b2771"]]), iz = { class: "uid-form-field admin-relation-table" }, lz = {
28479
+ }), rz = /* @__PURE__ */ a1(dz, [["__scopeId", "data-v-f45b2771"]]), sz = { class: "uid-form-field admin-relation-table" }, hz = {
28477
28480
  key: 0,
28478
28481
  class: "uid-form-field__label"
28479
- }, dz = {
28482
+ }, uz = {
28480
28483
  key: 1,
28481
28484
  class: "uid-form-field__hint"
28482
- }, rz = /* @__PURE__ */ ee({
28485
+ }, yz = /* @__PURE__ */ ee({
28483
28486
  __name: "RelationTableField",
28484
28487
  props: {
28485
28488
  name: {},
@@ -28505,8 +28508,8 @@ const Te = /* @__PURE__ */ ee({
28505
28508
  width: i.width ?? void 0
28506
28509
  }))
28507
28510
  );
28508
- return (i, d) => (o(), s("div", iz, [
28509
- a.label ? (o(), s("label", lz, w(a.label), 1)) : F("", !0),
28511
+ return (i, d) => (o(), s("div", sz, [
28512
+ a.label ? (o(), s("label", hz, w(a.label), 1)) : F("", !0),
28510
28513
  v(c(ge), { padding: "sm" }, {
28511
28514
  default: f(() => [
28512
28515
  v(c(y2), {
@@ -28517,10 +28520,10 @@ const Te = /* @__PURE__ */ ee({
28517
28520
  ]),
28518
28521
  _: 1
28519
28522
  }),
28520
- a.help ? (o(), s("p", dz, w(a.help), 1)) : F("", !0)
28523
+ a.help ? (o(), s("p", uz, w(a.help), 1)) : F("", !0)
28521
28524
  ]));
28522
28525
  }
28523
- }), sz = /* @__PURE__ */ ee({
28526
+ }), pz = /* @__PURE__ */ ee({
28524
28527
  __name: "ColumnsLayout",
28525
28528
  props: {
28526
28529
  items: {},
@@ -28549,16 +28552,16 @@ const Te = /* @__PURE__ */ ee({
28549
28552
  _: 1
28550
28553
  }, 8, ["cols", "gap"]));
28551
28554
  }
28552
- }), hz = {
28555
+ }), kz = {
28553
28556
  key: 0,
28554
28557
  class: "admin-section__header"
28555
- }, uz = {
28558
+ }, mz = {
28556
28559
  key: 0,
28557
28560
  class: "admin-section__title"
28558
- }, yz = {
28561
+ }, vz = {
28559
28562
  key: 1,
28560
28563
  class: "admin-section__description"
28561
- }, pz = { class: "admin-section__body" }, g2 = /* @__PURE__ */ ee({
28564
+ }, fz = { class: "admin-section__body" }, g2 = /* @__PURE__ */ ee({
28562
28565
  __name: "SectionLayout",
28563
28566
  props: {
28564
28567
  items: {},
@@ -28571,11 +28574,11 @@ const Te = /* @__PURE__ */ ee({
28571
28574
  class: "admin-section"
28572
28575
  }, {
28573
28576
  default: f(() => [
28574
- a.title || a.description ? (o(), s("header", hz, [
28575
- a.title ? (o(), s("h3", uz, w(a.title), 1)) : F("", !0),
28576
- a.description ? (o(), s("p", yz, w(a.description), 1)) : F("", !0)
28577
+ a.title || a.description ? (o(), s("header", kz, [
28578
+ a.title ? (o(), s("h3", mz, w(a.title), 1)) : F("", !0),
28579
+ a.description ? (o(), s("p", vz, w(a.description), 1)) : F("", !0)
28577
28580
  ])) : F("", !0),
28578
- u("div", pz, [
28581
+ u("div", fz, [
28579
28582
  (o(!0), s(E, null, Q(a.items, (r, l) => (o(), V(u2, {
28580
28583
  key: l,
28581
28584
  node: r
@@ -28585,7 +28588,7 @@ const Te = /* @__PURE__ */ ee({
28585
28588
  _: 1
28586
28589
  }));
28587
28590
  }
28588
- }), kz = /* @__PURE__ */ ee({
28591
+ }), Mz = /* @__PURE__ */ ee({
28589
28592
  __name: "TabsLayout",
28590
28593
  props: {
28591
28594
  items: {},
@@ -28633,10 +28636,10 @@ const Te = /* @__PURE__ */ ee({
28633
28636
  _: 1
28634
28637
  }, 8, ["model-value"]));
28635
28638
  }
28636
- }), mz = { class: "admin-embedded-table" }, vz = { class: "admin-embedded-table__toolbar" }, fz = { key: 1 }, Mz = ["onClick"], gz = {
28639
+ }), gz = { class: "admin-embedded-table" }, Iz = { class: "admin-embedded-table__toolbar" }, wz = { key: 1 }, xz = ["onClick"], Lz = {
28637
28640
  key: 4,
28638
28641
  class: "admin-embedded-table__draft"
28639
- }, Iz = { class: "admin-embedded-table__draft-cells" }, wz = { class: "admin-embedded-table__draft-label" }, xz = ["value", "onChange"], Lz = ["value"], bz = ["type", "value", "onInput"], Cz = { class: "admin-embedded-table__draft-actions" }, Sz = /* @__PURE__ */ ee({
28642
+ }, bz = { class: "admin-embedded-table__draft-cells" }, Cz = { class: "admin-embedded-table__draft-label" }, Sz = ["value", "onChange"], _z = ["value"], qz = ["type", "value", "onInput"], Az = { class: "admin-embedded-table__draft-actions" }, zz = /* @__PURE__ */ ee({
28640
28643
  __name: "EmbeddedResourceTable",
28641
28644
  props: {
28642
28645
  resource: {},
@@ -28741,8 +28744,8 @@ const Te = /* @__PURE__ */ ee({
28741
28744
  const I = X[D];
28742
28745
  return I == null ? "" : String(I);
28743
28746
  }
28744
- return (X, D) => (o(), s("div", mz, [
28745
- u("div", vz, [
28747
+ return (X, D) => (o(), s("div", gz, [
28748
+ u("div", Iz, [
28746
28749
  L.value ? (o(), V(c(te), {
28747
28750
  key: 0,
28748
28751
  variant: "primary",
@@ -28809,7 +28812,7 @@ const Te = /* @__PURE__ */ ee({
28809
28812
  u("span", null, w(Z(P(q), I.key)), 1)
28810
28813
  ]),
28811
28814
  _: 2
28812
- }, 1032, ["resource-slug", "row-id", "column", "value", "input-type", "options", "row-override", "onSaved"])) : (o(), s("span", fz, w(Z(P(q) ?? {}, I.key)), 1))
28815
+ }, 1032, ["resource-slug", "row-id", "column", "value", "input-type", "options", "row-override", "onSaved"])) : (o(), s("span", wz, w(Z(P(q) ?? {}, I.key)), 1))
28813
28816
  ])
28814
28817
  })),
28815
28818
  g.value ? {
@@ -28825,18 +28828,18 @@ const Te = /* @__PURE__ */ ee({
28825
28828
  icon: c(Re),
28826
28829
  size: 14
28827
28830
  }, null, 8, ["icon"])
28828
- ], 8, Mz)
28831
+ ], 8, xz)
28829
28832
  ]),
28830
28833
  key: "0"
28831
28834
  } : void 0
28832
28835
  ]), 1032, ["columns", "data", "selectable", "selection"])),
28833
- k.value !== null ? (o(), s("div", gz, [
28834
- u("div", Iz, [
28836
+ k.value !== null ? (o(), s("div", Lz, [
28837
+ u("div", bz, [
28835
28838
  (o(!0), s(E, null, Q(b.value, (I) => (o(), s("div", {
28836
28839
  key: I.key,
28837
28840
  class: "admin-embedded-table__draft-cell"
28838
28841
  }, [
28839
- u("label", wz, w(I.label), 1),
28842
+ u("label", Cz, w(I.label), 1),
28840
28843
  p(I.key)?.as === "select" ? (o(), s("select", {
28841
28844
  key: 0,
28842
28845
  class: "admin-embedded-table__draft-input",
@@ -28847,17 +28850,17 @@ const Te = /* @__PURE__ */ ee({
28847
28850
  (o(!0), s(E, null, Q(p(I.key).options, (q, C) => (o(), s("option", {
28848
28851
  key: C,
28849
28852
  value: C
28850
- }, w(q), 9, Lz))), 128))
28851
- ], 40, xz)) : (o(), s("input", {
28853
+ }, w(q), 9, _z))), 128))
28854
+ ], 40, Sz)) : (o(), s("input", {
28852
28855
  key: 1,
28853
28856
  class: "admin-embedded-table__draft-input",
28854
28857
  type: p(I.key)?.as === "number" ? "number" : p(I.key)?.as === "date" ? "date" : "text",
28855
28858
  value: k.value[I.key] ?? "",
28856
28859
  onInput: (q) => oe(I.key, q.target.value)
28857
- }, null, 40, bz))
28860
+ }, null, 40, qz))
28858
28861
  ]))), 128))
28859
28862
  ]),
28860
- u("div", Cz, [
28863
+ u("div", Az, [
28861
28864
  v(c(te), {
28862
28865
  variant: "primary",
28863
28866
  size: "sm",
@@ -28884,9 +28887,15 @@ const Te = /* @__PURE__ */ ee({
28884
28887
  ])) : F("", !0)
28885
28888
  ]));
28886
28889
  }
28887
- }), _z = /* @__PURE__ */ a1(Sz, [["__scopeId", "data-v-f09a1d64"]]);
28888
- function qz() {
28889
- RL({
28890
+ }), Hz = /* @__PURE__ */ a1(zz, [["__scopeId", "data-v-f09a1d64"]]);
28891
+ function Vz(a) {
28892
+ for (const [t, n] of Object.entries(a.fields ?? {}))
28893
+ $L(t) || TL(t, n);
28894
+ for (const [t, n] of Object.entries(a.layouts ?? {}))
28895
+ OL(t) || UL(t, n);
28896
+ }
28897
+ function Pz() {
28898
+ Vz({
28890
28899
  fields: {
28891
28900
  // Backend Field-классы из dskripchenko/laravel-admin отдают эти fieldType()
28892
28901
  // строки. Соответствие см. core/src/Field/{Input,TextArea,Select,...}.php.
@@ -28905,7 +28914,7 @@ function qz() {
28905
28914
  // ~7 KB gzip). Host может перебить:
28906
28915
  // import { QuillField } from '@dskripchenko/laravel-admin/quill'
28907
28916
  // registerField('wysiwyg', QuillField)
28908
- wysiwyg: Nq,
28917
+ wysiwyg: Yq,
28909
28918
  markdown: Vg,
28910
28919
  code: Vg,
28911
28920
  number: Pg,
@@ -28914,7 +28923,7 @@ function qz() {
28914
28923
  select: Ke,
28915
28924
  combobox: Ke,
28916
28925
  radio: Ke,
28917
- tags: zq,
28926
+ tags: jq,
28918
28927
  // Translatable: backend Field\TranslatableInput → fieldType()='translatable'.
28919
28928
  // Хранит value как Record<locale, string>; UI показывает табы по локалям.
28920
28929
  translatable: sI,
@@ -28943,24 +28952,24 @@ function qz() {
28943
28952
  "color-picker": Te,
28944
28953
  file: hI,
28945
28954
  image: hI,
28946
- image_cropper: _A,
28955
+ image_cropper: HA,
28947
28956
  // Составные поля (backlog ROADMAP): рендерились UnknownField.
28948
- key_value: DA,
28949
- repeater: XA,
28950
- builder: cz,
28951
- relation_table: rz
28957
+ key_value: UA,
28958
+ repeater: QA,
28959
+ builder: rz,
28960
+ relation_table: yz
28952
28961
  },
28953
28962
  layouts: {
28954
28963
  rows: Fg,
28955
- columns: sz,
28964
+ columns: pz,
28956
28965
  section: g2,
28957
28966
  block: g2,
28958
- tabs: kz,
28967
+ tabs: Mz,
28959
28968
  accordion: g2,
28960
28969
  group: Fg,
28961
28970
  step: g2,
28962
28971
  wizard: g2,
28963
- "admin.resource-table": _z
28972
+ "admin.resource-table": Hz
28964
28973
  }
28965
28974
  });
28966
28975
  }
@@ -28986,10 +28995,10 @@ const ke = /* @__PURE__ */ ee({
28986
28995
  class: fe(["admin-infolist-text", a.mono ? "admin-infolist-text--mono" : ""])
28987
28996
  }, w(r.value), 3));
28988
28997
  }
28989
- }), Az = {
28998
+ }), jz = {
28990
28999
  key: 1,
28991
29000
  class: "admin-infolist-text"
28992
- }, zz = /* @__PURE__ */ ee({
29001
+ }, Fz = /* @__PURE__ */ ee({
28993
29002
  __name: "BadgeEntry",
28994
29003
  props: {
28995
29004
  name: { default: "" },
@@ -29011,9 +29020,9 @@ const ke = /* @__PURE__ */ ee({
29011
29020
  j(w(r.value), 1)
29012
29021
  ]),
29013
29022
  _: 1
29014
- }, 8, ["variant"])) : (o(), s("span", Az, "—"));
29023
+ }, 8, ["variant"])) : (o(), s("span", jz, "—"));
29015
29024
  }
29016
- }), Hz = { key: 1 }, Vz = /* @__PURE__ */ ee({
29025
+ }), Bz = { key: 1 }, Dz = /* @__PURE__ */ ee({
29017
29026
  __name: "IconEntry",
29018
29027
  props: {
29019
29028
  name: { default: "" },
@@ -29045,10 +29054,10 @@ const ke = /* @__PURE__ */ ee({
29045
29054
  size: 14,
29046
29055
  class: "admin-infolist-icon__glyph"
29047
29056
  }, null, 8, ["icon"])) : F("", !0),
29048
- d.value ? (o(), s("span", Hz, w(d.value), 1)) : F("", !0)
29057
+ d.value ? (o(), s("span", Bz, w(d.value), 1)) : F("", !0)
29049
29058
  ], 2));
29050
29059
  }
29051
- }), Pz = {
29060
+ }), Rz = {
29052
29061
  key: 1,
29053
29062
  class: "admin-infolist-text"
29054
29063
  }, jg = /* @__PURE__ */ ee({
@@ -29083,24 +29092,24 @@ const ke = /* @__PURE__ */ ee({
29083
29092
  }, 1032, ["label"]))), 128))
29084
29093
  ]),
29085
29094
  _: 1
29086
- })) : (o(), s("span", Pz, "—"));
29095
+ })) : (o(), s("span", Rz, "—"));
29087
29096
  }
29088
- }), jz = { class: "admin-repeatable" }, Fz = {
29097
+ }), Tz = { class: "admin-repeatable" }, $z = {
29089
29098
  key: 0,
29090
29099
  class: "admin-repeatable__lbl"
29091
- }, Bz = {
29100
+ }, Uz = {
29092
29101
  key: 1,
29093
29102
  class: "admin-repeatable__empty"
29094
- }, Dz = {
29103
+ }, Oz = {
29095
29104
  key: 2,
29096
29105
  class: "admin-repeatable__tbl"
29097
- }, Rz = { class: "admin-repeatable__idx" }, Tz = {
29106
+ }, Ez = { class: "admin-repeatable__idx" }, Zz = {
29098
29107
  key: 3,
29099
29108
  class: "admin-repeatable__cards"
29100
- }, $z = { class: "admin-repeatable__card-hd" }, Uz = { class: "admin-repeatable__dl" }, Oz = {
29109
+ }, Wz = { class: "admin-repeatable__card-hd" }, Gz = { class: "admin-repeatable__dl" }, Nz = {
29101
29110
  key: 4,
29102
29111
  class: "admin-repeatable__inline"
29103
- }, Ez = /* @__PURE__ */ ee({
29112
+ }, Xz = /* @__PURE__ */ ee({
29104
29113
  __name: "RepeatableEntry",
29105
29114
  props: {
29106
29115
  name: { default: "" },
@@ -29138,9 +29147,9 @@ const ke = /* @__PURE__ */ ee({
29138
29147
  name: h.name
29139
29148
  };
29140
29149
  }
29141
- return (h, y) => (o(), s("div", jz, [
29142
- a.label ? (o(), s("span", Fz, w(a.label), 1)) : F("", !0),
29143
- r.value.length === 0 ? (o(), s("p", Bz, w(a.placeholder), 1)) : a.layout === "columns" ? (o(), s("table", Dz, [
29150
+ return (h, y) => (o(), s("div", Tz, [
29151
+ a.label ? (o(), s("span", $z, w(a.label), 1)) : F("", !0),
29152
+ r.value.length === 0 ? (o(), s("p", Uz, w(a.placeholder), 1)) : a.layout === "columns" ? (o(), s("table", Oz, [
29144
29153
  u("thead", null, [
29145
29154
  u("tr", null, [
29146
29155
  y[0] || (y[0] = u("th", { class: "admin-repeatable__idx" }, "#", -1)),
@@ -29151,7 +29160,7 @@ const ke = /* @__PURE__ */ ee({
29151
29160
  ]),
29152
29161
  u("tbody", null, [
29153
29162
  (o(!0), s(E, null, Q(r.value, (k, m) => (o(), s("tr", { key: m }, [
29154
- u("td", Rz, w(m + 1), 1),
29163
+ u("td", Ez, w(m + 1), 1),
29155
29164
  (o(!0), s(E, null, Q(a.entries, (x) => (o(), s("td", {
29156
29165
  key: x.name
29157
29166
  }, [
@@ -29159,13 +29168,13 @@ const ke = /* @__PURE__ */ ee({
29159
29168
  ]))), 128))
29160
29169
  ]))), 128))
29161
29170
  ])
29162
- ])) : a.layout === "rows" ? (o(), s("div", Tz, [
29171
+ ])) : a.layout === "rows" ? (o(), s("div", Zz, [
29163
29172
  (o(!0), s(E, null, Q(r.value, (k, m) => (o(), s("article", {
29164
29173
  key: m,
29165
29174
  class: "admin-repeatable__card"
29166
29175
  }, [
29167
- u("header", $z, "#" + w(m + 1), 1),
29168
- u("dl", Uz, [
29176
+ u("header", Wz, "#" + w(m + 1), 1),
29177
+ u("dl", Gz, [
29169
29178
  (o(!0), s(E, null, Q(a.entries, (x) => (o(), s(E, {
29170
29179
  key: x.name
29171
29180
  }, [
@@ -29176,7 +29185,7 @@ const ke = /* @__PURE__ */ ee({
29176
29185
  ], 64))), 128))
29177
29186
  ])
29178
29187
  ]))), 128))
29179
- ])) : (o(), s("div", Oz, [
29188
+ ])) : (o(), s("div", Nz, [
29180
29189
  (o(!0), s(E, null, Q(r.value, (k, m) => (o(), s("span", {
29181
29190
  key: m,
29182
29191
  class: "admin-repeatable__chip"
@@ -29190,17 +29199,17 @@ const ke = /* @__PURE__ */ ee({
29190
29199
  ]));
29191
29200
  }
29192
29201
  });
29193
- function Zz() {
29194
- KC({
29202
+ function Kz() {
29203
+ eS({
29195
29204
  // Дефолтные типы infolist (BadgeEntry::make() и т.п.).
29196
29205
  text: ke,
29197
- badge: zz,
29198
- icon: Vz,
29206
+ badge: Fz,
29207
+ icon: Dz,
29199
29208
  keyvalue: jg,
29200
29209
  key_value: jg,
29201
29210
  "key-value": jg,
29202
29211
  // Repeatable: коллекция объектов с nested-entries (таблица/cards/inline).
29203
- repeatable: Ez,
29212
+ repeatable: Xz,
29204
29213
  // Маппинг от backend Field::fieldType() → TextEntry для view-режима.
29205
29214
  // Host'ы могут перебить registerInfolistEntry('wysiwyg', WysiwygEntry).
29206
29215
  input: ke,
@@ -29240,32 +29249,32 @@ function Zz() {
29240
29249
  "color-picker": ke
29241
29250
  });
29242
29251
  }
29243
- function oV(a, t = {}) {
29244
- const n = t.pages ?? {}, r = t.base ?? Wz(a.baseUrl) ?? "/admin", l = iq({
29252
+ function cV(a, t = {}) {
29253
+ const n = t.pages ?? {}, r = t.base ?? Jz(a.baseUrl) ?? "/admin", l = sq({
29245
29254
  baseURL: a.apiUrl,
29246
29255
  csrfToken: a.csrf
29247
29256
  });
29248
29257
  II(l);
29249
29258
  const i = NI(Hx), d = XI();
29250
- i.use(d), Ge().hydrate(a), mg().hydrate(a), Zg().hydrate(a), vg().hydrate(a), Gg().hydrate(a), qz(), oq(), Zz();
29251
- const h = gq({
29259
+ i.use(d), Ge().hydrate(a), mg().hydrate(a), Zg().hydrate(a), vg().hydrate(a), Gg().hydrate(a), Pz(), dq(), Kz();
29260
+ const h = Lq({
29252
29261
  base: r,
29253
29262
  history: t.router?.history ?? kI(r),
29254
29263
  components: {
29255
- login: n.login ?? sb,
29256
- home: n.home ?? _L,
29257
- forbidden: n.forbidden ?? AL,
29258
- notFound: n.notFound ?? HL,
29259
- profile: n.profile ?? p_,
29260
- forgotPassword: n.forgotPassword ?? mb,
29261
- resetPassword: n.resetPassword ?? wb,
29262
- resourceIndex: n.resourceIndex ?? UC,
29264
+ login: n.login ?? pb,
29265
+ home: n.home ?? qL,
29266
+ forbidden: n.forbidden ?? zL,
29267
+ notFound: n.notFound ?? VL,
29268
+ profile: n.profile ?? f_,
29269
+ forgotPassword: n.forgotPassword ?? gb,
29270
+ resetPassword: n.resetPassword ?? Cb,
29271
+ resourceIndex: n.resourceIndex ?? WC,
29263
29272
  resourceCreate: n.resourceCreate ?? dI,
29264
29273
  resourceEdit: n.resourceEdit ?? dI,
29265
- resourceView: n.resourceView ?? WS,
29274
+ resourceView: n.resourceView ?? KS,
29266
29275
  dashboard: n.dashboard ?? qI,
29267
- settings: n.settings ?? BL,
29268
- screen: n.screen ?? GL
29276
+ settings: n.settings ?? DL,
29277
+ screen: n.screen ?? JL
29269
29278
  },
29270
29279
  extraRoutes: t.router?.extraRoutes,
29271
29280
  authGuard: t.router?.authGuard,
@@ -29285,7 +29294,7 @@ function oV(a, t = {}) {
29285
29294
  const L = k.params.slug ?? k.meta.slug;
29286
29295
  if (L)
29287
29296
  try {
29288
- const { useResourceIndexStore: g } = await Promise.resolve().then(() => xb), S = g();
29297
+ const { useResourceIndexStore: g } = await Promise.resolve().then(() => Sb), S = g();
29289
29298
  (S.slug !== L || S.items.length === 0) && (S.setSlug(L), await S.load().catch(() => {
29290
29299
  }));
29291
29300
  } catch {
@@ -29319,7 +29328,7 @@ function oV(a, t = {}) {
29319
29328
  }
29320
29329
  return t.onAppCreated?.(i), { app: i, router: h, client: l };
29321
29330
  }
29322
- function Wz(a) {
29331
+ function Jz(a) {
29323
29332
  if (!a) return null;
29324
29333
  try {
29325
29334
  return new URL(a).pathname || "/admin";
@@ -29327,18 +29336,18 @@ function Wz(a) {
29327
29336
  return a.startsWith("/") ? a : null;
29328
29337
  }
29329
29338
  }
29330
- const Gz = { class: "admin-status-page" }, Nz = { class: "admin-status-page__title" }, Xz = { class: "admin-status-page__hint" }, cV = /* @__PURE__ */ ee({
29339
+ const Yz = { class: "admin-status-page" }, Qz = { class: "admin-status-page__title" }, eH = { class: "admin-status-page__hint" }, iV = /* @__PURE__ */ ee({
29331
29340
  __name: "UnknownScreenPage",
29332
29341
  setup(a) {
29333
29342
  const t = l1(), n = M(() => String(t.params.slug ?? "")), r = M(() => String(t.meta?.title ?? n.value));
29334
- return (l, i) => (o(), s("div", Gz, [
29343
+ return (l, i) => (o(), s("div", Yz, [
29335
29344
  v(c(ge), {
29336
29345
  padding: "lg",
29337
29346
  class: "admin-status-page__card"
29338
29347
  }, {
29339
29348
  default: f(() => [
29340
- u("h1", Nz, w(r.value), 1),
29341
- u("p", Xz, [
29349
+ u("h1", Qz, w(r.value), 1),
29350
+ u("p", eH, [
29342
29351
  j(" Это заглушка для screen «" + w(n.value) + "». Передайте свой компонент через ", 1),
29343
29352
  i[0] || (i[0] = u("code", null, "createAdminApp(" + w("{") + " pages: " + w("{") + " screen: MyScreen " + w("}") + " " + w("}") + ")", -1)),
29344
29353
  i[1] || (i[1] = j(". ", -1))
@@ -29349,8 +29358,8 @@ const Gz = { class: "admin-status-page" }, Nz = { class: "admin-status-page__tit
29349
29358
  ]));
29350
29359
  }
29351
29360
  });
29352
- async function iV(a = {}) {
29353
- const t = Kz();
29361
+ async function lV(a = {}) {
29362
+ const t = aH();
29354
29363
  if (t)
29355
29364
  return t;
29356
29365
  if (a.client)
@@ -29364,31 +29373,31 @@ async function iV(a = {}) {
29364
29373
  }
29365
29374
  return null;
29366
29375
  }
29367
- function Kz() {
29376
+ function aH() {
29368
29377
  return typeof window > "u" ? null : window.__ADMIN_BOOTSTRAP__ ?? null;
29369
29378
  }
29370
- function lV() {
29379
+ function dV() {
29371
29380
  return typeof document > "u" ? null : document.querySelector('meta[name="csrf-token"]')?.getAttribute("content") ?? null;
29372
29381
  }
29373
- const Jz = { class: "admin-notifs__hd" }, Yz = { class: "admin-notifs__title" }, Qz = {
29382
+ const tH = { class: "admin-notifs__hd" }, nH = { class: "admin-notifs__title" }, oH = {
29374
29383
  key: 0,
29375
29384
  class: "admin-notifs__count"
29376
- }, eH = { class: "admin-notifs__list" }, aH = {
29385
+ }, cH = { class: "admin-notifs__list" }, iH = {
29377
29386
  key: 0,
29378
29387
  class: "admin-notifs__empty"
29379
- }, tH = {
29388
+ }, lH = {
29380
29389
  key: 1,
29381
29390
  class: "admin-notifs__empty"
29382
- }, nH = ["onClick"], oH = ["data-kind"], cH = { class: "admin-notifs__body" }, iH = { class: "admin-notifs__row1" }, lH = {
29391
+ }, dH = ["onClick"], rH = ["data-kind"], sH = { class: "admin-notifs__body" }, hH = { class: "admin-notifs__row1" }, uH = {
29383
29392
  key: 0,
29384
29393
  class: "admin-notifs__title-strong"
29385
- }, dH = {
29394
+ }, yH = {
29386
29395
  key: 1,
29387
29396
  class: "admin-notifs__title-soft"
29388
- }, rH = { class: "admin-notifs__time" }, sH = {
29397
+ }, pH = { class: "admin-notifs__time" }, kH = {
29389
29398
  key: 0,
29390
29399
  class: "admin-notifs__text"
29391
- }, hH = ["onClick"], dV = /* @__PURE__ */ ee({
29400
+ }, mH = ["onClick"], rV = /* @__PURE__ */ ee({
29392
29401
  __name: "NotificationsDrawer",
29393
29402
  props: {
29394
29403
  open: { type: Boolean }
@@ -29452,10 +29461,10 @@ const Jz = { class: "admin-notifs__hd" }, Yz = { class: "admin-notifs__title" },
29452
29461
  "onUpdate:modelValue": i
29453
29462
  }, {
29454
29463
  header: f(() => [
29455
- u("div", Jz, [
29456
- u("h2", Yz, [
29464
+ u("div", tH, [
29465
+ u("h2", nH, [
29457
29466
  p[0] || (p[0] = j(" Уведомления ", -1)),
29458
- c(l).unreadCount > 0 ? (o(), s("span", Qz, " (" + w(c(l).unreadCount) + ") ", 1)) : F("", !0)
29467
+ c(l).unreadCount > 0 ? (o(), s("span", oH, " (" + w(c(l).unreadCount) + ") ", 1)) : F("", !0)
29459
29468
  ]),
29460
29469
  c(l).unreadCount > 0 ? (o(), V(c(te), {
29461
29470
  key: 0,
@@ -29504,8 +29513,8 @@ const Jz = { class: "admin-notifs__hd" }, Yz = { class: "admin-notifs__title" },
29504
29513
  value: z
29505
29514
  }, {
29506
29515
  default: f(() => [
29507
- u("ul", eH, [
29508
- c(l).loading ? (o(), s("li", aH, " Загрузка… ")) : c(l).items.length === 0 ? (o(), s("li", tH, " Нет уведомлений ")) : F("", !0),
29516
+ u("ul", cH, [
29517
+ c(l).loading ? (o(), s("li", iH, " Загрузка… ")) : c(l).items.length === 0 ? (o(), s("li", lH, " Нет уведомлений ")) : F("", !0),
29509
29518
  (o(!0), s(E, null, Q(c(l).items, (U) => (o(), s("li", {
29510
29519
  key: U.id,
29511
29520
  class: fe([
@@ -29518,21 +29527,21 @@ const Jz = { class: "admin-notifs__hd" }, Yz = { class: "admin-notifs__title" },
29518
29527
  u("span", {
29519
29528
  class: "admin-notifs__icon",
29520
29529
  "data-kind": x(U)
29521
- }, null, 8, oH),
29522
- u("div", cH, [
29523
- u("div", iH, [
29524
- U.read_at ? (o(), s("span", dH, w(b(U)), 1)) : (o(), s("strong", lH, w(b(U)), 1)),
29525
- u("span", rH, w(g(U.created_at)), 1)
29530
+ }, null, 8, rH),
29531
+ u("div", sH, [
29532
+ u("div", hH, [
29533
+ U.read_at ? (o(), s("span", yH, w(b(U)), 1)) : (o(), s("strong", uH, w(b(U)), 1)),
29534
+ u("span", pH, w(g(U.created_at)), 1)
29526
29535
  ]),
29527
- L(U) ? (o(), s("p", sH, w(L(U)), 1)) : F("", !0)
29536
+ L(U) ? (o(), s("p", kH, w(L(U)), 1)) : F("", !0)
29528
29537
  ]),
29529
29538
  u("button", {
29530
29539
  type: "button",
29531
29540
  class: "admin-notifs__close",
29532
29541
  "aria-label": "Удалить",
29533
29542
  onClick: (P) => m(U, P)
29534
- }, " × ", 8, hH)
29535
- ], 10, nH))), 128))
29543
+ }, " × ", 8, mH)
29544
+ ], 10, dH))), 128))
29536
29545
  ])
29537
29546
  ]),
29538
29547
  _: 1
@@ -29544,22 +29553,22 @@ const Jz = { class: "admin-notifs__hd" }, Yz = { class: "admin-notifs__title" },
29544
29553
  _: 1
29545
29554
  }, 8, ["model-value"]));
29546
29555
  }
29547
- }), uH = { class: "admin-page admin-import-wizard" }, yH = { class: "admin-page__hd" }, pH = { class: "admin-page__title-wrap" }, kH = { class: "admin-page__title" }, mH = { class: "admin-page__actions" }, vH = {
29556
+ }), vH = { class: "admin-page admin-import-wizard" }, fH = { class: "admin-page__hd" }, MH = { class: "admin-page__title-wrap" }, gH = { class: "admin-page__title" }, IH = { class: "admin-page__actions" }, wH = {
29548
29557
  key: 0,
29549
29558
  class: "admin-import-wizard__empty"
29550
- }, fH = {
29559
+ }, xH = {
29551
29560
  key: 1,
29552
29561
  class: "admin-import-wizard__mapping"
29553
- }, MH = { class: "admin-import-wizard__map-source" }, gH = {
29562
+ }, LH = { class: "admin-import-wizard__map-source" }, bH = {
29554
29563
  key: 0,
29555
29564
  class: "admin-import-wizard__map-sample"
29556
- }, IH = { class: "admin-import-wizard__card-hd" }, wH = {
29565
+ }, CH = { class: "admin-import-wizard__card-hd" }, SH = {
29557
29566
  key: 2,
29558
29567
  class: "admin-import-wizard__empty"
29559
- }, xH = {
29568
+ }, _H = {
29560
29569
  key: 0,
29561
29570
  class: "admin-import-wizard__empty"
29562
- }, LH = { class: "admin-import-wizard__kpi" }, bH = { class: "admin-import-wizard__nav" }, rV = /* @__PURE__ */ ee({
29571
+ }, qH = { class: "admin-import-wizard__kpi" }, AH = { class: "admin-import-wizard__nav" }, sV = /* @__PURE__ */ ee({
29563
29572
  __name: "ImportWizardPage",
29564
29573
  props: {
29565
29574
  title: { default: "Импорт" },
@@ -29619,12 +29628,12 @@ const Jz = { class: "admin-notifs__hd" }, Yz = { class: "admin-notifs__title" },
29619
29628
  function U() {
29620
29629
  r("cancel");
29621
29630
  }
29622
- return (P, A) => (o(), s("section", uH, [
29623
- u("header", yH, [
29624
- u("div", pH, [
29625
- u("h1", kH, w(a.title), 1)
29631
+ return (P, A) => (o(), s("section", vH, [
29632
+ u("header", fH, [
29633
+ u("div", MH, [
29634
+ u("h1", gH, w(a.title), 1)
29626
29635
  ]),
29627
- u("div", mH, [
29636
+ u("div", IH, [
29628
29637
  v(c(te), {
29629
29638
  variant: "ghost",
29630
29639
  onClick: U
@@ -29671,14 +29680,14 @@ const Jz = { class: "admin-notifs__hd" }, Yz = { class: "admin-notifs__title" },
29671
29680
  u("h3", null, "2. Сопоставьте колонки"),
29672
29681
  u("p", null, "Выберите поле ресурса для каждой колонки файла")
29673
29682
  ], -1)),
29674
- a.headers.length === 0 ? (o(), s("div", vH, " Нет данных — host ещё не отдал headers. Загрузите файл сначала. ")) : (o(), s("div", fH, [
29683
+ a.headers.length === 0 ? (o(), s("div", wH, " Нет данных — host ещё не отдал headers. Загрузите файл сначала. ")) : (o(), s("div", xH, [
29675
29684
  (o(!0), s(E, null, Q(a.headers, (W) => (o(), s("div", {
29676
29685
  key: W.key,
29677
29686
  class: "admin-import-wizard__map-row"
29678
29687
  }, [
29679
- u("div", MH, [
29688
+ u("div", LH, [
29680
29689
  u("strong", null, w(W.label), 1),
29681
- W.sample ? (o(), s("span", gH, " «" + w(W.sample) + "» ", 1)) : F("", !0)
29690
+ W.sample ? (o(), s("span", bH, " «" + w(W.sample) + "» ", 1)) : F("", !0)
29682
29691
  ]),
29683
29692
  A[4] || (A[4] = u("span", { class: "admin-import-wizard__map-arrow" }, "→", -1)),
29684
29693
  v(c(yg), {
@@ -29697,7 +29706,7 @@ const Jz = { class: "admin-notifs__hd" }, Yz = { class: "admin-notifs__title" },
29697
29706
  class: "admin-import-wizard__card"
29698
29707
  }, {
29699
29708
  default: f(() => [
29700
- u("header", IH, [
29709
+ u("header", CH, [
29701
29710
  A[6] || (A[6] = u("h3", null, "3. Предпросмотр", -1)),
29702
29711
  u("p", null, "Первые " + w(a.preview.length) + " строк перед импортом", 1)
29703
29712
  ]),
@@ -29715,7 +29724,7 @@ const Jz = { class: "admin-notifs__hd" }, Yz = { class: "admin-notifs__title" },
29715
29724
  key: 1,
29716
29725
  columns: a.previewColumns,
29717
29726
  data: a.preview
29718
- }, null, 8, ["columns", "data"])) : (o(), s("div", wH, " Host не передал previewColumns/preview. "))
29727
+ }, null, 8, ["columns", "data"])) : (o(), s("div", SH, " Host не передал previewColumns/preview. "))
29719
29728
  ]),
29720
29729
  _: 1
29721
29730
  })) : (o(), V(c(ge), {
@@ -29733,7 +29742,7 @@ const Jz = { class: "admin-notifs__hd" }, Yz = { class: "admin-notifs__title" },
29733
29742
  "model-value": a.progress.created + a.progress.updated + a.progress.errors,
29734
29743
  max: a.progress.total
29735
29744
  }, null, 8, ["model-value", "max"])) : F("", !0),
29736
- u("div", LH, [
29745
+ u("div", qH, [
29737
29746
  v(c($o), {
29738
29747
  title: "Создано",
29739
29748
  value: a.progress.created,
@@ -29750,11 +29759,11 @@ const Jz = { class: "admin-notifs__hd" }, Yz = { class: "admin-notifs__title" },
29750
29759
  tone: "danger"
29751
29760
  }, null, 8, ["value"])
29752
29761
  ])
29753
- ], 64)) : (o(), s("div", xH, " Запускается импорт… "))
29762
+ ], 64)) : (o(), s("div", _H, " Запускается импорт… "))
29754
29763
  ]),
29755
29764
  _: 1
29756
29765
  })),
29757
- u("footer", bH, [
29766
+ u("footer", AH, [
29758
29767
  S.value ? (o(), V(c(te), {
29759
29768
  key: 0,
29760
29769
  variant: "ghost",
@@ -29799,7 +29808,7 @@ const Jz = { class: "admin-notifs__hd" }, Yz = { class: "admin-notifs__title" },
29799
29808
  ])
29800
29809
  ]));
29801
29810
  }
29802
- }), CH = { class: "admin-page admin-field-gallery" }, SH = { class: "admin-gallery__group-title" }, _H = { class: "admin-gallery__grid" }, qH = { class: "admin-gallery__card-hd" }, AH = { class: "admin-gallery__card-title" }, zH = { class: "admin-gallery__card-type" }, HH = { class: "admin-gallery__card-desc" }, VH = { class: "admin-gallery__card-demo" }, sV = /* @__PURE__ */ ee({
29811
+ }), zH = { class: "admin-page admin-field-gallery" }, HH = { class: "admin-gallery__group-title" }, VH = { class: "admin-gallery__grid" }, PH = { class: "admin-gallery__card-hd" }, jH = { class: "admin-gallery__card-title" }, FH = { class: "admin-gallery__card-type" }, BH = { class: "admin-gallery__card-desc" }, DH = { class: "admin-gallery__card-demo" }, hV = /* @__PURE__ */ ee({
29803
29812
  __name: "FieldGalleryPage",
29804
29813
  setup(a) {
29805
29814
  const t = [
@@ -29866,7 +29875,7 @@ const Jz = { class: "admin-notifs__hd" }, Yz = { class: "admin-notifs__title" },
29866
29875
  ], n = t.reduce((l, i) => (l[i.group] || (l[i.group] = []), l[i.group].push(i), l), {}), r = pI(
29867
29876
  t.reduce((l, i) => Object.assign(l, i.initial), {})
29868
29877
  );
29869
- return kg(r), (l, i) => (o(), s("section", CH, [
29878
+ return kg(r), (l, i) => (o(), s("section", zH, [
29870
29879
  i[0] || (i[0] = u("header", { class: "admin-page__hd" }, [
29871
29880
  u("div", { class: "admin-page__title-wrap" }, [
29872
29881
  u("h1", { class: "admin-page__title" }, "Field Gallery"),
@@ -29877,20 +29886,20 @@ const Jz = { class: "admin-notifs__hd" }, Yz = { class: "admin-notifs__title" },
29877
29886
  key: h,
29878
29887
  class: "admin-gallery__group"
29879
29888
  }, [
29880
- u("h2", SH, w(h), 1),
29881
- u("div", _H, [
29889
+ u("h2", HH, w(h), 1),
29890
+ u("div", VH, [
29882
29891
  (o(!0), s(E, null, Q(d, (y) => (o(), V(c(ge), {
29883
29892
  key: y.type + y.title,
29884
29893
  padding: "md",
29885
29894
  class: "admin-gallery__card"
29886
29895
  }, {
29887
29896
  default: f(() => [
29888
- u("header", qH, [
29889
- u("h3", AH, w(y.title), 1),
29890
- u("code", zH, "type: " + w(y.type), 1)
29897
+ u("header", PH, [
29898
+ u("h3", jH, w(y.title), 1),
29899
+ u("code", FH, "type: " + w(y.type), 1)
29891
29900
  ]),
29892
- u("p", HH, w(y.description), 1),
29893
- u("div", VH, [
29901
+ u("p", BH, w(y.description), 1),
29902
+ u("div", DH, [
29894
29903
  v(Xg, {
29895
29904
  node: y.node
29896
29905
  }, null, 8, ["node"])
@@ -29909,101 +29918,101 @@ export {
29909
29918
  ax as AdminSidebar,
29910
29919
  Dw as AdminTopBar,
29911
29920
  We as ApiError,
29912
- zz as BadgeEntry,
29921
+ Fz as BadgeEntry,
29913
29922
  jI as BarChartWidget,
29914
29923
  To as CheckboxField,
29915
- sz as ColumnsLayout,
29924
+ pz as ColumnsLayout,
29916
29925
  qI as DashboardPage,
29917
29926
  b1 as DateField,
29918
29927
  FI as DonutChartWidget,
29919
- sV as FieldGalleryPage,
29928
+ hV as FieldGalleryPage,
29920
29929
  Xg as FieldRenderer,
29921
29930
  Aw as ForbiddenError,
29922
- AL as ForbiddenPage,
29923
- O_ as GaugeWidget,
29924
- R_ as HeatmapWidget,
29925
- _L as HomePage,
29926
- Vz as IconEntry,
29927
- rV as ImportWizardPage,
29928
- sS as InfolistRenderer,
29931
+ zL as ForbiddenPage,
29932
+ G_ as GaugeWidget,
29933
+ O_ as HeatmapWidget,
29934
+ qL as HomePage,
29935
+ Dz as IconEntry,
29936
+ sV as ImportWizardPage,
29937
+ pS as InfolistRenderer,
29929
29938
  jg as KeyValueEntry,
29930
29939
  u2 as LayoutRenderer,
29931
29940
  xI as LocaleSwitcher,
29932
- YL as LoginForm,
29933
- sb as LoginPage,
29934
- G_ as MarkdownWidget,
29941
+ tb as LoginForm,
29942
+ pb as LoginPage,
29943
+ J_ as MarkdownWidget,
29935
29944
  fg as NetworkError,
29936
29945
  zw as NotFoundError,
29937
- HL as NotFoundPage,
29946
+ VL as NotFoundPage,
29938
29947
  qw as NotificationBell,
29939
- dV as NotificationsDrawer,
29948
+ rV as NotificationsDrawer,
29940
29949
  Pg as NumberField,
29941
- p_ as ProfilePage,
29950
+ f_ as ProfilePage,
29942
29951
  Hg as RecentTableWidget,
29943
29952
  dI as ResourceFormPage,
29944
- UC as ResourceIndexPage,
29945
- WS as ResourceViewPage,
29953
+ WC as ResourceIndexPage,
29954
+ KS as ResourceViewPage,
29946
29955
  Fg as RowsLayout,
29947
- GL as ScreenPage,
29956
+ JL as ScreenPage,
29948
29957
  g2 as SectionLayout,
29949
29958
  Ke as SelectField,
29950
- BL as SettingsPage,
29959
+ DL as SettingsPage,
29951
29960
  rI as StatWidget,
29952
- kz as TabsLayout,
29961
+ Mz as TabsLayout,
29953
29962
  Vg as TextAreaField,
29954
29963
  ke as TextEntry,
29955
29964
  Te as TextField,
29956
29965
  wI as ThemeToggle,
29957
- ab as TwoFactorForm,
29966
+ cb as TwoFactorForm,
29958
29967
  LI as UnauthenticatedError,
29959
- JC as UnknownEntry,
29968
+ aS as UnknownEntry,
29960
29969
  HI as UnknownField,
29961
- cV as UnknownScreenPage,
29970
+ iV as UnknownScreenPage,
29962
29971
  _I as UnknownWidget,
29963
29972
  Vw as UserMenu,
29964
29973
  _o as ValidationError,
29965
- Fx as WidgetRenderer,
29966
- kq as buildRoutesFromManifest,
29974
+ Bx as WidgetRenderer,
29975
+ Mq as buildRoutesFromManifest,
29967
29976
  xw as clearAdminClient,
29968
- tV as clearInfolistRegistry,
29977
+ nV as clearInfolistRegistry,
29969
29978
  YH as clearRegistry,
29970
- EH as clearWidgetRegistry,
29971
- oV as createAdminApp,
29972
- iq as createAdminClient,
29973
- gq as createAdminRouter,
29974
- mq as createAuthGuard,
29975
- vq as createTitleGuard,
29979
+ GH as clearWidgetRegistry,
29980
+ cV as createAdminApp,
29981
+ sq as createAdminClient,
29982
+ Lq as createAdminRouter,
29983
+ gq as createAuthGuard,
29984
+ Iq as createTitleGuard,
29976
29985
  Me as getAdminClient,
29977
29986
  zI as getField,
29978
29987
  Bg as getInfolistEntry,
29979
29988
  eI as getLayout,
29980
- Vx as getWidget,
29989
+ Px as getWidget,
29981
29990
  Lw as hasAdminClient,
29982
- GH as hasField,
29983
- eV as hasInfolistEntry,
29984
- KH as hasLayout,
29985
- OH as hasWidget,
29986
- nV as isError,
29987
- cq as isSuccess,
29988
- NH as listFields,
29989
- aV as listInfolistEntries,
29991
+ $L as hasField,
29992
+ aV as hasInfolistEntry,
29993
+ OL as hasLayout,
29994
+ jx as hasWidget,
29995
+ oV as isError,
29996
+ rq as isSuccess,
29997
+ KH as listFields,
29998
+ tV as listInfolistEntries,
29990
29999
  JH as listLayouts,
29991
- Px as listWidgets,
29992
- iV as loadBootstrap,
30000
+ Fx as listWidgets,
30001
+ lV as loadBootstrap,
29993
30002
  kg as provideFormState,
29994
30003
  AI as provideRecord,
29995
- lV as readCsrfFromMeta,
29996
- Kz as readInlineBootstrap,
29997
- qz as registerBuiltinComponents,
29998
- Zz as registerBuiltinInfolistEntries,
29999
- oq as registerBuiltinWidgets,
30000
- RL as registerComponents,
30001
- WH as registerField,
30002
- KC as registerInfolistEntries,
30003
- QH as registerInfolistEntry,
30004
- XH as registerLayout,
30005
- UH as registerWidget,
30006
- jx as registerWidgets,
30004
+ dV as readCsrfFromMeta,
30005
+ aH as readInlineBootstrap,
30006
+ Pz as registerBuiltinComponents,
30007
+ Kz as registerBuiltinInfolistEntries,
30008
+ dq as registerBuiltinWidgets,
30009
+ QH as registerComponents,
30010
+ TL as registerField,
30011
+ eS as registerInfolistEntries,
30012
+ eV as registerInfolistEntry,
30013
+ UL as registerLayout,
30014
+ Vx as registerWidget,
30015
+ NH as registerWidgets,
30007
30016
  II as setAdminClient,
30008
30017
  Qg as toApiError,
30009
30018
  vw as tryUseFormState,
@@ -30014,7 +30023,7 @@ export {
30014
30023
  Ne as useManifestStore,
30015
30024
  bI as useMenuStore,
30016
30025
  vg as useNotificationsStore,
30017
- ZH as useRecord,
30026
+ XH as useRecord,
30018
30027
  Kg as useResourceFormStore,
30019
30028
  VI as useResourceIndexStore,
30020
30029
  Zg as useThemeStore