@ditojs/admin 3.1.0 → 3.1.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.
@@ -1,4 +1,4 @@
1
- import { Comment as e, Fragment as t, Teleport as n, Transition as r, TransitionGroup as i, computed as a, createApp as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, effectScope as m, guardReactiveProps as h, h as g, isRef as ee, markRaw as te, mergeProps as _, nextTick as ne, normalizeClass as v, normalizeProps as re, normalizeStyle as y, openBlock as b, reactive as ie, renderList as x, renderSlot as S, resolveComponent as C, resolveDirective as ae, resolveDynamicComponent as w, shallowRef as oe, toDisplayString as T, toRaw as se, toValue as ce, useSlots as le, vModelCheckbox as ue, vModelDynamic as de, vModelRadio as fe, vModelSelect as pe, vModelText as me, vShow as E, watch as D, withCtx as O, withDirectives as k, withKeys as he, withModifiers as A } from "vue";
1
+ import { Comment as e, Fragment as t, Teleport as n, Transition as r, TransitionGroup as i, computed as a, createApp as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, effectScope as m, guardReactiveProps as h, h as g, isRef as _, markRaw as ee, mergeProps as v, nextTick as te, normalizeClass as y, normalizeProps as ne, normalizeStyle as b, openBlock as x, reactive as re, renderList as S, renderSlot as C, resolveComponent as w, resolveDirective as ie, resolveDynamicComponent as T, shallowRef as ae, toDisplayString as E, toRaw as oe, toValue as se, useSlots as ce, vModelCheckbox as le, vModelDynamic as ue, vModelRadio as de, vModelSelect as fe, vModelText as pe, vShow as D, watch as me, withCtx as O, withDirectives as k, withKeys as he, withModifiers as A } from "vue";
2
2
  import { RouterView as ge, createRouter as _e, createWebHistory as ve } from "vue-router";
3
3
  import ye from "@kyvg/vue3-notification";
4
4
  import { asArray as j, assignDeeply as be, camelize as xe, capitalize as Se, clone as M, debounce as Ce, debounceAsync as we, defaultFormats as Te, deindent as Ee, equals as N, escapeHtml as De, format as Oe, formatPlainDate as ke, getCommonPrefix as Ae, getValueAtDataPath as je, hyphenate as Me, isAbsoluteUrl as Ne, isArray as P, isBoolean as Pe, isCreditCard as Fe, isDate as Ie, isDomain as Le, isEmail as Re, isFunction as F, isHostname as ze, isInteger as Be, isModule as Ve, isNumber as I, isObject as L, isPlainObject as He, isPromise as Ue, isRegExp as We, isString as R, isUrl as Ge, labelize as z, mapConcurrently as Ke, normalizeDataPath as B, parseDataPath as V, parsePlainDate as qe, pickBy as Je, stripHtml as Ye } from "@ditojs/utils";
@@ -61,7 +61,7 @@ function Ht(e = "") {
61
61
  }
62
62
  //#endregion
63
63
  //#region src/appState.js
64
- var Ut = ie({
64
+ var Ut = re({
65
65
  title: "",
66
66
  routeComponents: [],
67
67
  user: null,
@@ -247,7 +247,7 @@ function Ln(e) {
247
247
  //#region src/DitoContext.js
248
248
  var { hasOwnProperty: Rn } = Object.prototype, zn = /* @__PURE__ */ new WeakMap();
249
249
  function Bn(e) {
250
- let t = se(e), n = t, r;
250
+ let t = oe(e), n = t, r;
251
251
  do {
252
252
  if (r = zn.get(n), r) break;
253
253
  n = Object.getPrototypeOf(n);
@@ -519,7 +519,7 @@ var G = class e {
519
519
  }
520
520
  }, Un = /* @__PURE__ */ new WeakMap(), Wn = 0;
521
521
  function Gn(e, t = null) {
522
- let n = se(e), r = Un.get(n);
522
+ let n = oe(e), r = Un.get(n);
523
523
  return !r && e && (r = t?.(e) || `@${++Wn}`, Un.set(n, r)), r;
524
524
  }
525
525
  //#endregion
@@ -665,7 +665,7 @@ function ar(e, t, n) {
665
665
  };
666
666
  else return {};
667
667
  }
668
- return a ||= { default: i }, Object.fromEntries(Object.entries(a).map(([e, r]) => (t && F(r.components) && (r = ie({
668
+ return a ||= { default: i }, Object.fromEntries(Object.entries(a).map(([e, r]) => (t && F(r.components) && (r = re({
669
669
  ...r,
670
670
  components: r.components(t)
671
671
  }), vi(t.api, r).catch(console.error)), [e, n?.(r) ?? r])));
@@ -763,20 +763,21 @@ function Sr(e) {
763
763
  function Cr(e, t, n, r, { shouldSetDefaultsOfComponentsWithCompute: i = !0 } = {}) {
764
764
  return (i || !e.compute) && br(e, t, n, r) && !yr(e, r);
765
765
  }
766
- function wr(e, t = {}, n, { dataPath: r = null, rootData: i = t, shouldProcess: a, shouldSetDefaultsOfComponentsWithCompute: o = !0 } = {}) {
766
+ function wr(e, t = {}, n, { dataPath: r = null, rootData: i = t, shouldProcess: a, shouldSkipSourcesWithResource: o = !1, shouldSetDefaultsOfComponentsWithCompute: s = !0 } = {}) {
767
767
  return kr(e, t, {
768
768
  dataPath: r,
769
769
  before: ({ schema: e, data: t, name: r, dataPath: a }) => {
770
- let s = () => new G(n, {
770
+ let o = () => new G(n, {
771
771
  schema: e,
772
772
  name: r,
773
773
  data: t,
774
774
  dataPath: a,
775
775
  rootData: i
776
776
  });
777
- Cr(e, t, r, s, { shouldSetDefaultsOfComponentsWithCompute: o }) && (t[r] = _r(e, s)), Mr(e) && P(t[r]) && Nr(e, t[r]);
777
+ Cr(e, t, r, o, { shouldSetDefaultsOfComponentsWithCompute: s }) && (t[r] = _r(e, o)), Mr(e) && P(t[r]) && Nr(e, t[r]);
778
778
  },
779
779
  shouldProcess: a,
780
+ shouldSkipSourcesWithResource: o,
780
781
  options: {
781
782
  component: n,
782
783
  rootData: i
@@ -862,60 +863,67 @@ function Or(e, t, n, r, { component: i, rootData: a, schemaOnly: o, target: s, s
862
863
  options: l
863
864
  }), d.process(t, u, l);
864
865
  }
865
- function kr(e, t, { dataPath: n = null, componentPath: r = "", processedData: i = null, wrappedPrimitiveName: a = null, before: o = null, after: s = null, shouldProcess: c = () => !0, options: l }) {
866
- let u = {
866
+ function kr(e, t, { dataPath: n = null, componentPath: r = "", processedData: i = null, wrappedPrimitiveName: a = null, before: o = null, after: s = null, shouldProcess: c = () => !0, shouldSkipSourcesWithResource: l = !1, options: u }) {
867
+ let d = {
867
868
  before: o,
868
869
  after: s,
869
870
  shouldProcess: c,
870
- options: l
871
- }, d = (e, t) => e == null ? null : H(e, t), f = (e, r) => {
872
- if (e) for (let [f, m] of Object.entries(e)) {
873
- let e = An(m), h = e && f !== a ? d(n, f) : n, g = {
874
- schema: m,
871
+ shouldSkipSourcesWithResource: l,
872
+ options: u
873
+ }, f = (e, t) => e == null ? null : H(e, t), p = (e, r) => {
874
+ if (e) for (let [p, h] of Object.entries(e)) {
875
+ let e = An(h), g = e && p !== a ? f(n, p) : n, _ = {
876
+ schema: h,
875
877
  data: t,
876
- name: f,
877
- dataPath: h,
878
- componentPath: H(r, f),
878
+ name: p,
879
+ dataPath: g,
880
+ componentPath: H(r, p),
879
881
  processedData: i
880
882
  };
881
- if (c(g) && !wn(m)) {
882
- if (!e) kr(m, t, {
883
- ...u,
884
- dataPath: n,
885
- componentPath: g.componentPath,
886
- processedData: i
887
- });
888
- else {
889
- let { wrapPrimitives: e } = m, n = (n, r = null) => {
890
- e && !L(n) && (n = { [e]: n });
891
- let a = r === null ? h : d(h, r), o = r === null ? g.componentPath : H(g.componentPath, r), s = new G(l.component, {
892
- schema: m,
893
- data: t,
894
- dataPath: h,
895
- name: f,
896
- rootData: l.rootData
897
- }), c = or((U(m)?.getFormSchemasForProcessing || ar)(m, s), n);
898
- if (c) {
899
- let t = i ? Dr(m, n, l) : null;
900
- return kr(c, n, {
901
- ...u,
902
- dataPath: a,
903
- componentPath: o,
904
- processedData: t,
905
- wrappedPrimitiveName: e ?? null
906
- });
883
+ if (c(_)) {
884
+ if (l && Ln(h)) {
885
+ m(h.panels, _.componentPath);
886
+ continue;
887
+ }
888
+ if (!wn(h)) {
889
+ if (!e) kr(h, t, {
890
+ ...d,
891
+ dataPath: n,
892
+ componentPath: _.componentPath,
893
+ processedData: i
894
+ });
895
+ else {
896
+ let { wrapPrimitives: e } = h, n = (n, r = null) => {
897
+ e && !L(n) && (n = { [e]: n });
898
+ let a = r === null ? g : f(g, r), o = r === null ? _.componentPath : H(_.componentPath, r), s = new G(u.component, {
899
+ schema: h,
900
+ data: t,
901
+ dataPath: g,
902
+ name: p,
903
+ rootData: u.rootData
904
+ }), c = or((U(h)?.getFormSchemasForProcessing || ar)(h, s), n);
905
+ if (c) {
906
+ let t = i ? Dr(h, n, u) : null;
907
+ return kr(c, n, {
908
+ ...d,
909
+ dataPath: a,
910
+ componentPath: o,
911
+ processedData: t,
912
+ wrappedPrimitiveName: e ?? null
913
+ });
914
+ }
915
+ return { ...n };
916
+ };
917
+ if (o?.(_), Qn(h)) {
918
+ let e = i ? i[p] : t[p];
919
+ e != null && (e = P(e) ? i ? e.map(n) : e.forEach(n) : n(e), i && (i[p] = e));
907
920
  }
908
- return { ...n };
909
- };
910
- if (o?.(g), Qn(m)) {
911
- let e = i ? i[f] : t[f];
912
- e != null && (e = P(e) ? i ? e.map(n) : e.forEach(n) : n(e), i && (i[f] = e));
921
+ s?.(_), m(h.panels, _.componentPath);
913
922
  }
914
- s?.(g), p(m.panels, g.componentPath);
915
923
  }
916
924
  }
917
925
  }
918
- }, p = (e, r) => {
926
+ }, m = (e, r) => {
919
927
  for (let [a, o] of Object.entries(e || {})) {
920
928
  let e = {
921
929
  schema: o,
@@ -925,10 +933,10 @@ function kr(e, t, { dataPath: n = null, componentPath: r = "", processedData: i
925
933
  componentPath: H(r, a),
926
934
  processedData: i
927
935
  };
928
- c(e) && !wn(o) && f(o.components, e.componentPath);
936
+ c(e) && !wn(o) && p(o.components, e.componentPath);
929
937
  }
930
938
  };
931
- return f(e.components, r), p(e.tabs, r), p(e.panels, r), i || t;
939
+ return p(e.components, r), m(e.tabs, r), m(e.panels, r), i || t;
932
940
  }
933
941
  function Ar(e, t, n, { componentPath: r = "", component: i = null, rootData: a = t } = {}) {
934
942
  let o = {
@@ -1106,7 +1114,8 @@ function Qr(e, t, { dataPath: n = "", component: r = null, rootData: i = t } = {
1106
1114
  });
1107
1115
  return kr(e, t, {
1108
1116
  dataPath: n,
1109
- shouldProcess: (e) => !Ln(e.schema) && hr(e.schema, o(e)),
1117
+ shouldProcess: (e) => hr(e.schema, o(e)),
1118
+ shouldSkipSourcesWithResource: !0,
1110
1119
  before: (e) => {
1111
1120
  let { schema: t, data: n, name: r, dataPath: i } = e, s = o(e), c = n[r], { format: l } = t;
1112
1121
  F(l) && (c = l(s));
@@ -1456,7 +1465,7 @@ function si(e) {
1456
1465
  }
1457
1466
  async function ci(e) {
1458
1467
  let { component: t } = e;
1459
- t && (t = await ii(t, !0), t && (e.component = te({
1468
+ t && (t = await ii(t, !0), t && (e.component = ee({
1460
1469
  ...t,
1461
1470
  mixins: [
1462
1471
  wi,
@@ -1714,7 +1723,7 @@ var wi = {
1714
1723
  let r = this.getStoreKeyByIndex(t);
1715
1724
  n = this.getStore(r), n && (this.setStore(e, n), this.removeStore(r));
1716
1725
  }
1717
- return n ||= this.setStore(e, ie({})), t != null && this.setStoreKeyByIndex(t, e), n;
1726
+ return n ||= this.setStore(e, re({})), t != null && this.setStoreKeyByIndex(t, e), n;
1718
1727
  },
1719
1728
  removeChildStore(e, t) {
1720
1729
  this.getChildStore(e, t), this.removeStore(e);
@@ -1946,7 +1955,7 @@ function ji(t) {
1946
1955
  return t && j(t).some((t) => t.type !== e);
1947
1956
  }
1948
1957
  function Mi(e, t = {}) {
1949
- return e = R(e) ? le()[e] : e, ji(e?.(t));
1958
+ return e = R(e) ? ce()[e] : e, ji(e?.(t));
1950
1959
  }
1951
1960
  //#endregion
1952
1961
  //#region ../ui/src/components/DitoButton.vue?vue&type=template&lang.js
@@ -1965,15 +1974,15 @@ var Ni = [
1965
1974
  class: "dito-button__suffix"
1966
1975
  };
1967
1976
  function Li(e, t, n, r, i, a) {
1968
- return b(), l("button", _({
1977
+ return x(), l("button", v({
1969
1978
  class: ["dito-button", [a.classes, { "dito-button--affixed": a.hasAffixes }]],
1970
1979
  type: n.type,
1971
1980
  title: n.title,
1972
1981
  disabled: n.disabled
1973
1982
  }, a.attributes), [
1974
- a.hasAffixes ? (b(), l("div", Pi, [S(e.$slots, "prefix")])) : c("", !0),
1975
- n.text || a.hasAffixes ? (b(), l("div", Fi, [d(T(n.text || ""), 1), S(e.$slots, "default")])) : c("", !0),
1976
- a.hasAffixes ? (b(), l("div", Ii, [S(e.$slots, "suffix")])) : c("", !0)
1983
+ a.hasAffixes ? (x(), l("div", Pi, [C(e.$slots, "prefix")])) : c("", !0),
1984
+ n.text || a.hasAffixes ? (x(), l("div", Fi, [d(E(n.text || ""), 1), C(e.$slots, "default")])) : c("", !0),
1985
+ a.hasAffixes ? (x(), l("div", Ii, [C(e.$slots, "suffix")])) : c("", !0)
1977
1986
  ], 16, Ni);
1978
1987
  }
1979
1988
  //#endregion
@@ -2141,7 +2150,7 @@ var Gi = {
2141
2150
  "onClick"
2142
2151
  ];
2143
2152
  function la(e, n, r, i, a, o) {
2144
- return b(), l("div", Gi, [u("div", Ki, [u("div", qi, [a.currentMode === "day" ? (b(), l(t, { key: 0 }, [
2153
+ return x(), l("div", Gi, [u("div", Ki, [u("div", qi, [a.currentMode === "day" ? (x(), l(t, { key: 0 }, [
2145
2154
  u("div", Ji, [
2146
2155
  u("a", {
2147
2156
  class: "dito-calendar-step-prev dito-calendar-step-year",
@@ -2163,13 +2172,13 @@ function la(e, n, r, i, a, o) {
2163
2172
  tabindex: "0",
2164
2173
  "aria-label": "Switch to year selection",
2165
2174
  onClick: n[2] ||= (e) => o.setMode("year")
2166
- }, T(o.dateToString(a.currentValue, { year: !0 })), 1), u("a", {
2175
+ }, E(o.dateToString(a.currentValue, { year: !0 })), 1), u("a", {
2167
2176
  class: "dito-calendar-select-month",
2168
2177
  role: "button",
2169
2178
  tabindex: "0",
2170
2179
  "aria-label": "Switch to month selection",
2171
2180
  onClick: n[3] ||= (e) => o.setMode("month")
2172
- }, T(o.dateToString(a.currentValue, { month: !0 })), 1)]),
2181
+ }, E(o.dateToString(a.currentValue, { month: !0 })), 1)]),
2173
2182
  u("a", {
2174
2183
  class: "dito-calendar-step-next dito-calendar-step-month",
2175
2184
  role: "button",
@@ -2185,14 +2194,14 @@ function la(e, n, r, i, a, o) {
2185
2194
  onClick: n[5] ||= (e) => o.stepYear(1)
2186
2195
  })
2187
2196
  ]),
2188
- u("div", Yi, [u("div", Xi, [(b(!0), l(t, null, x(a.weekdayNames, (e) => (b(), l("span", null, T(e.short), 1))), 256))]), u("div", Zi, [(b(!0), l(t, null, x(a.dateRange, (e) => (b(), l("span", {
2189
- class: v(e.state && `dito-calendar-item-${e.state}`),
2197
+ u("div", Yi, [u("div", Xi, [(x(!0), l(t, null, S(a.weekdayNames, (e) => (x(), l("span", null, E(e.short), 1))), 256))]), u("div", Zi, [(x(!0), l(t, null, S(a.dateRange, (e) => (x(), l("span", {
2198
+ class: y(e.state && `dito-calendar-item-${e.state}`),
2190
2199
  role: "gridcell",
2191
2200
  "aria-label": o.dateToString(e.date),
2192
2201
  "aria-selected": e.state === "active",
2193
2202
  "aria-disabled": e.state === "disabled",
2194
2203
  onClick: (t) => e.state !== "disabled" && o.selectDate(e.date)
2195
- }, T(e.text), 11, Qi))), 256))])]),
2204
+ }, E(e.text), 11, Qi))), 256))])]),
2196
2205
  u("div", $i, [u("a", {
2197
2206
  class: "dito-calendar-select-now",
2198
2207
  role: "button",
@@ -2201,7 +2210,7 @@ function la(e, n, r, i, a, o) {
2201
2210
  title: o.dateToString(/* @__PURE__ */ new Date()),
2202
2211
  onClick: n[6] ||= (e) => o.selectDate(/* @__PURE__ */ new Date())
2203
2212
  }, null, 8, ea)])
2204
- ], 64)) : a.currentMode === "month" ? (b(), l(t, { key: 1 }, [u("div", ta, [
2213
+ ], 64)) : a.currentMode === "month" ? (x(), l(t, { key: 1 }, [u("div", ta, [
2205
2214
  u("a", {
2206
2215
  class: "dito-calendar-step-prev",
2207
2216
  role: "button",
@@ -2215,7 +2224,7 @@ function la(e, n, r, i, a, o) {
2215
2224
  tabindex: "0",
2216
2225
  "aria-label": "Switch to year selection",
2217
2226
  onClick: n[8] ||= (e) => o.setMode("year")
2218
- }, T(o.dateToString(a.currentValue, { year: !0 })), 1)]),
2227
+ }, E(o.dateToString(a.currentValue, { year: !0 })), 1)]),
2219
2228
  u("a", {
2220
2229
  class: "dito-calendar-step-next",
2221
2230
  role: "button",
@@ -2223,13 +2232,13 @@ function la(e, n, r, i, a, o) {
2223
2232
  "aria-label": "Next year",
2224
2233
  onClick: n[9] ||= (e) => o.stepYear(1)
2225
2234
  })
2226
- ]), u("div", na, [u("div", ra, [(b(!0), l(t, null, x(a.monthNames, (e, t) => (b(), l("span", {
2227
- class: v(o.getMonthClass(t)),
2235
+ ]), u("div", na, [u("div", ra, [(x(!0), l(t, null, S(a.monthNames, (e, t) => (x(), l("span", {
2236
+ class: y(o.getMonthClass(t)),
2228
2237
  role: "option",
2229
2238
  "aria-label": e.long,
2230
2239
  "aria-selected": o.getMonthClass(t)["dito-calendar-item-active"],
2231
2240
  onClick: (e) => o.selectMonth(t)
2232
- }, T(e.short), 11, ia))), 256))])])], 64)) : a.currentMode === "year" ? (b(), l(t, { key: 2 }, [u("div", aa, [
2241
+ }, E(e.short), 11, ia))), 256))])])], 64)) : a.currentMode === "year" ? (x(), l(t, { key: 2 }, [u("div", aa, [
2233
2242
  u("a", {
2234
2243
  class: "dito-calendar-step-prev",
2235
2244
  role: "button",
@@ -2237,7 +2246,7 @@ function la(e, n, r, i, a, o) {
2237
2246
  "aria-label": "Previous decade",
2238
2247
  onClick: n[10] ||= (e) => o.stepDecade(-1)
2239
2248
  }),
2240
- u("span", null, T(o.decadeToString(a.currentValue)), 1),
2249
+ u("span", null, E(o.decadeToString(a.currentValue)), 1),
2241
2250
  u("a", {
2242
2251
  class: "dito-calendar-step-next",
2243
2252
  role: "button",
@@ -2245,13 +2254,13 @@ function la(e, n, r, i, a, o) {
2245
2254
  "aria-label": "Next decade",
2246
2255
  onClick: n[11] ||= (e) => o.stepDecade(1)
2247
2256
  })
2248
- ]), u("div", oa, [u("div", sa, [(b(!0), l(t, null, x(a.yearRange, (e) => (b(), l("span", {
2249
- class: v(o.getYearClass(e)),
2257
+ ]), u("div", oa, [u("div", sa, [(x(!0), l(t, null, S(a.yearRange, (e) => (x(), l("span", {
2258
+ class: y(o.getYearClass(e)),
2250
2259
  role: "option",
2251
2260
  "aria-label": String(e),
2252
2261
  "aria-selected": o.getYearClass(e)["dito-calendar-item-active"],
2253
2262
  onClick: (t) => o.selectYear(e)
2254
- }, T(e), 11, ca))), 256))])])], 64)) : c("", !0)])])]);
2263
+ }, E(e), 11, ca))), 256))])])], 64)) : c("", !0)])])]);
2255
2264
  }
2256
2265
  //#endregion
2257
2266
  //#region ../ui/src/components/DitoCalendar.vue
@@ -2520,39 +2529,39 @@ function va(e) {
2520
2529
  //#region ../ui/src/components/DitoTrigger.vue?vue&type=template&lang.js
2521
2530
  var ya = { class: "dito-trigger-container" };
2522
2531
  function ba(e, t, n, i, a, o) {
2523
- return b(), l("div", ya, [n.alwaysShow ? (b(), l("div", {
2532
+ return x(), l("div", ya, [n.alwaysShow ? (x(), l("div", {
2524
2533
  key: 0,
2525
- class: v(["dito-trigger", o.triggerClass]),
2534
+ class: y(["dito-trigger", o.triggerClass]),
2526
2535
  ref: "trigger"
2527
- }, [S(e.$slots, "trigger")], 2)) : n.trigger === "click" ? (b(), l("div", {
2536
+ }, [C(e.$slots, "trigger")], 2)) : n.trigger === "click" ? (x(), l("div", {
2528
2537
  key: 1,
2529
- class: v(["dito-trigger", o.triggerClass]),
2538
+ class: y(["dito-trigger", o.triggerClass]),
2530
2539
  ref: "trigger",
2531
2540
  onClick: t[0] ||= (...e) => o.onClick && o.onClick(...e)
2532
- }, [S(e.$slots, "trigger")], 2)) : n.trigger === "hover" ? (b(), l("div", {
2541
+ }, [C(e.$slots, "trigger")], 2)) : n.trigger === "hover" ? (x(), l("div", {
2533
2542
  key: 2,
2534
- class: v(["dito-trigger", o.triggerClass]),
2543
+ class: y(["dito-trigger", o.triggerClass]),
2535
2544
  ref: "trigger",
2536
2545
  onMouseenter: t[1] ||= (e) => o.onHover(!0),
2537
2546
  onMouseleave: t[2] ||= (e) => o.onHover(!1)
2538
- }, [S(e.$slots, "trigger")], 34)) : n.trigger === "focus" || n.trigger === "always" ? (b(), l("div", {
2547
+ }, [C(e.$slots, "trigger")], 34)) : n.trigger === "focus" || n.trigger === "always" ? (x(), l("div", {
2539
2548
  key: 3,
2540
- class: v(["dito-trigger", o.triggerClass]),
2549
+ class: y(["dito-trigger", o.triggerClass]),
2541
2550
  ref: "trigger"
2542
- }, [S(e.$slots, "trigger")], 2)) : c("", !0), f(r, { name: `dito-${n.transition}` }, {
2543
- default: O(() => [n.trigger === "hover" ? k((b(), l("div", {
2551
+ }, [C(e.$slots, "trigger")], 2)) : c("", !0), f(r, { name: `dito-${n.transition}` }, {
2552
+ default: O(() => [n.trigger === "hover" ? k((x(), l("div", {
2544
2553
  key: 0,
2545
- class: v(["dito-popup", o.popupClass]),
2554
+ class: y(["dito-popup", o.popupClass]),
2546
2555
  ref: "popup",
2547
- style: y(o.popupStyle),
2556
+ style: b(o.popupStyle),
2548
2557
  onMouseenter: t[3] ||= (e) => o.onHover(!0),
2549
2558
  onMouseleave: t[4] ||= (e) => o.onHover(!1)
2550
- }, [a.showPopup ? S(e.$slots, "popup", {}, void 0, void 0, 0) : c("", !0)], 38)), [[E, a.showPopup]]) : k((b(), l("div", {
2559
+ }, [a.showPopup ? C(e.$slots, "popup", {}, void 0, void 0, 0) : c("", !0)], 38)), [[D, a.showPopup]]) : k((x(), l("div", {
2551
2560
  key: 1,
2552
- class: v(["dito-popup", o.popupClass]),
2561
+ class: y(["dito-popup", o.popupClass]),
2553
2562
  ref: "popup",
2554
- style: y(o.popupStyle)
2555
- }, [a.showPopup ? S(e.$slots, "popup", {}, void 0, void 0, 0) : c("", !0)], 6)), [[E, a.showPopup]])]),
2563
+ style: b(o.popupStyle)
2564
+ }, [a.showPopup ? C(e.$slots, "popup", {}, void 0, void 0, 0) : c("", !0)], 6)), [[D, a.showPopup]])]),
2556
2565
  _: 3
2557
2566
  }, 8, ["name"])]);
2558
2567
  }
@@ -2752,12 +2761,12 @@ var xa = /*#__PURE__*/ X({
2752
2761
  "aria-label"
2753
2762
  ];
2754
2763
  function Ca(e, t, n, r, i, a) {
2755
- return b(), l("div", {
2756
- class: v(["dito-input", a.classes]),
2764
+ return x(), l("div", {
2765
+ class: y(["dito-input", a.classes]),
2757
2766
  onMousedown: t[2] ||= (...e) => a.onMouseDown && a.onMouseDown(...e)
2758
2767
  }, [
2759
- S(e.$slots, "prefix"),
2760
- k(u("input", _({
2768
+ C(e.$slots, "prefix"),
2769
+ k(u("input", v({
2761
2770
  id: n.id,
2762
2771
  ref: "input",
2763
2772
  "onUpdate:modelValue": t[0] ||= (e) => i.currentValue = e,
@@ -2770,8 +2779,8 @@ function Ca(e, t, n, r, i, a) {
2770
2779
  placeholder: n.placeholder,
2771
2780
  autocomplete: n.autocomplete,
2772
2781
  "aria-label": n.title
2773
- }, a.attributes, { onMousedown: t[1] ||= (...e) => a.onMouseDown && a.onMouseDown(...e) }), null, 16, Sa), [[de, i.currentValue]]),
2774
- S(e.$slots, "suffix")
2782
+ }, a.attributes, { onMousedown: t[1] ||= (...e) => a.onMouseDown && a.onMouseDown(...e) }), null, 16, Sa), [[ue, i.currentValue]]),
2783
+ C(e.$slots, "suffix")
2775
2784
  ], 34);
2776
2785
  }
2777
2786
  var wa = /*#__PURE__*/ X({
@@ -2865,7 +2874,7 @@ var wa = /*#__PURE__*/ X({
2865
2874
  //#endregion
2866
2875
  //#region ../ui/src/components/DitoIcon.vue?vue&type=template&lang.js
2867
2876
  function Ta(e, t, n, r, i, a) {
2868
- return b(), l("i", { class: v(["dito-icon", a.classes]) }, null, 2);
2877
+ return x(), l("i", { class: y(["dito-icon", a.classes]) }, null, 2);
2869
2878
  }
2870
2879
  var Ea = /*#__PURE__*/ X({
2871
2880
  props: {
@@ -2900,8 +2909,8 @@ function Oa(e) {
2900
2909
  //#endregion
2901
2910
  //#region ../ui/src/components/DitoDatePicker.vue?vue&type=template&lang.js
2902
2911
  function ka(e, t, n, r, i, a) {
2903
- let o = C("DitoIcon"), c = C("DitoInput"), l = C("DitoCalendar"), u = C("DitoTrigger");
2904
- return b(), s(u, _({
2912
+ let o = w("DitoIcon"), c = w("DitoInput"), l = w("DitoCalendar"), u = w("DitoTrigger");
2913
+ return x(), s(u, v({
2905
2914
  class: "dito-date-picker",
2906
2915
  ref: "trigger",
2907
2916
  show: i.showPopup,
@@ -2913,7 +2922,7 @@ function ka(e, t, n, r, i, a) {
2913
2922
  disabled: n.disabled,
2914
2923
  target: n.target
2915
2924
  }), {
2916
- trigger: O(() => [e.$slots.trigger ? S(e.$slots, "trigger", {}, void 0, void 0, 0) : (b(), s(c, _({
2925
+ trigger: O(() => [e.$slots.trigger ? C(e.$slots, "trigger", {}, void 0, void 0, 0) : (x(), s(c, v({
2917
2926
  key: 1,
2918
2927
  class: "dito-date-picker-input",
2919
2928
  ref: "input",
@@ -2931,15 +2940,15 @@ function ka(e, t, n, r, i, a) {
2931
2940
  onKeydown: a.onKeyDown,
2932
2941
  onMousedown: t[4] ||= A((e) => a.onMouseDown(!1), ["stop"])
2933
2942
  }), {
2934
- prefix: O(() => [S(e.$slots, "prefix")]),
2943
+ prefix: O(() => [C(e.$slots, "prefix")]),
2935
2944
  suffix: O(() => [f(o, {
2936
2945
  name: "calendar",
2937
2946
  disabled: n.disabled,
2938
2947
  onMousedown: t[0] ||= A((e) => a.onMouseDown(!0), ["prevent"])
2939
- }, null, 8, ["disabled"]), S(e.$slots, "suffix")]),
2948
+ }, null, 8, ["disabled"]), C(e.$slots, "suffix")]),
2940
2949
  _: 3
2941
2950
  }, 16, ["modelValue", "onKeydown"]))]),
2942
- popup: O(() => [f(l, _({
2951
+ popup: O(() => [f(l, v({
2943
2952
  class: "dito-date-picker-popup",
2944
2953
  ref: "calendar",
2945
2954
  modelValue: i.currentValue,
@@ -3129,8 +3138,8 @@ var Aa = /*#__PURE__*/ X({
3129
3138
  "onClick"
3130
3139
  ];
3131
3140
  function Va(e, n, r, i, a, o) {
3132
- let d = C("DitoIcon"), p = C("DitoInput"), m = C("DitoTrigger");
3133
- return b(), s(m, _({
3141
+ let d = w("DitoIcon"), p = w("DitoInput"), m = w("DitoTrigger");
3142
+ return x(), s(m, v({
3134
3143
  class: "dito-time-picker",
3135
3144
  ref: "trigger",
3136
3145
  show: a.showPopup,
@@ -3142,7 +3151,7 @@ function Va(e, n, r, i, a, o) {
3142
3151
  disabled: r.disabled,
3143
3152
  target: r.target
3144
3153
  }), {
3145
- trigger: O(() => [e.$slots.trigger ? S(e.$slots, "trigger", {}, void 0, void 0, 0) : (b(), s(p, _({
3154
+ trigger: O(() => [e.$slots.trigger ? C(e.$slots, "trigger", {}, void 0, void 0, 0) : (x(), s(p, v({
3146
3155
  key: 1,
3147
3156
  class: "dito-time-picker-input",
3148
3157
  ref: "input",
@@ -3160,39 +3169,39 @@ function Va(e, n, r, i, a, o) {
3160
3169
  onKeydown: o.onKeyDown,
3161
3170
  onMousedown: n[4] ||= A((e) => o.onMouseDown(!1), ["stop"])
3162
3171
  }), {
3163
- prefix: O(() => [S(e.$slots, "prefix")]),
3172
+ prefix: O(() => [C(e.$slots, "prefix")]),
3164
3173
  suffix: O(() => [f(d, {
3165
3174
  name: "clock",
3166
3175
  disabled: r.disabled,
3167
3176
  onMousedown: n[0] ||= A((e) => o.onMouseDown(!0), ["prevent"])
3168
- }, null, 8, ["disabled"]), S(e.$slots, "suffix")]),
3177
+ }, null, 8, ["disabled"]), C(e.$slots, "suffix")]),
3169
3178
  _: 3
3170
3179
  }, 16, ["modelValue", "onKeydown"]))]),
3171
3180
  popup: O(() => [u("div", ja, [
3172
- u("div", Ma, [u("ul", Na, [(b(), l(t, null, x(24, (e) => (b(), l(t, null, [r.disabledHour(e - 1) ? c("", !0) : (b(), l("li", {
3181
+ u("div", Ma, [u("ul", Na, [(x(), l(t, null, S(24, (e) => (x(), l(t, null, [r.disabledHour(e - 1) ? c("", !0) : (x(), l("li", {
3173
3182
  key: 0,
3174
3183
  role: "option",
3175
3184
  "aria-label": o.leftPad(e - 1),
3176
3185
  "aria-selected": o.hour === e - 1,
3177
- class: v({ selected: o.hour === e - 1 }),
3186
+ class: y({ selected: o.hour === e - 1 }),
3178
3187
  onClick: (t) => o.hour = e - 1
3179
- }, T(o.leftPad(e - 1)), 11, Pa))], 64))), 64))], 512)]),
3180
- u("div", Fa, [u("ul", Ia, [(b(), l(t, null, x(60, (e) => (b(), l(t, null, [r.disabledMinute(e - 1) ? c("", !0) : (b(), l("li", {
3188
+ }, E(o.leftPad(e - 1)), 11, Pa))], 64))), 64))], 512)]),
3189
+ u("div", Fa, [u("ul", Ia, [(x(), l(t, null, S(60, (e) => (x(), l(t, null, [r.disabledMinute(e - 1) ? c("", !0) : (x(), l("li", {
3181
3190
  key: 0,
3182
3191
  role: "option",
3183
3192
  "aria-label": o.leftPad(e - 1),
3184
3193
  "aria-selected": o.minute === e - 1,
3185
- class: v({ selected: o.minute === e - 1 }),
3194
+ class: y({ selected: o.minute === e - 1 }),
3186
3195
  onClick: (t) => o.minute = e - 1
3187
- }, T(o.leftPad(e - 1)), 11, La))], 64))), 64))], 512)]),
3188
- u("div", Ra, [u("ul", za, [(b(), l(t, null, x(60, (e) => (b(), l(t, null, [r.disabledSecond(e - 1) ? c("", !0) : (b(), l("li", {
3196
+ }, E(o.leftPad(e - 1)), 11, La))], 64))), 64))], 512)]),
3197
+ u("div", Ra, [u("ul", za, [(x(), l(t, null, S(60, (e) => (x(), l(t, null, [r.disabledSecond(e - 1) ? c("", !0) : (x(), l("li", {
3189
3198
  key: 0,
3190
3199
  role: "option",
3191
3200
  "aria-label": o.leftPad(e - 1),
3192
3201
  "aria-selected": o.second === e - 1,
3193
- class: v({ selected: o.second === e - 1 }),
3202
+ class: y({ selected: o.second === e - 1 }),
3194
3203
  onClick: (t) => o.second = e - 1
3195
- }, T(o.leftPad(e - 1)), 11, Ba))], 64))), 64))], 512)])
3204
+ }, E(o.leftPad(e - 1)), 11, Ba))], 64))), 64))], 512)])
3196
3205
  ])]),
3197
3206
  _: 3
3198
3207
  }, 16, ["show"]);
@@ -3430,9 +3439,9 @@ var Ha = /*#__PURE__*/ X({
3430
3439
  ref: "picker"
3431
3440
  };
3432
3441
  function Wa(e, t, n, r, i, a) {
3433
- let o = C("DitoIcon"), s = C("DitoInput"), c = C("DitoDatePicker"), d = C("DitoTimePicker");
3434
- return b(), l("div", Ua, [u("div", { class: v(["dito-date-time-picker__inner", { "dito-date-time-picker__inner--focus": a.focused }]) }, [
3435
- f(s, _({
3442
+ let o = w("DitoIcon"), s = w("DitoInput"), c = w("DitoDatePicker"), d = w("DitoTimePicker");
3443
+ return x(), l("div", Ua, [u("div", { class: y(["dito-date-time-picker__inner", { "dito-date-time-picker__inner--focus": a.focused }]) }, [
3444
+ f(s, v({
3436
3445
  class: "dito-date-time-picker__input",
3437
3446
  ref: "input",
3438
3447
  modelValue: a.currentText,
@@ -3449,15 +3458,15 @@ function Wa(e, t, n, r, i, a) {
3449
3458
  onKeydown: a.onKeyDown,
3450
3459
  onMousedown: t[4] ||= A((e) => a.onMouseDown(!1), ["stop"])
3451
3460
  }), {
3452
- prefix: O(() => [S(e.$slots, "prefix")]),
3461
+ prefix: O(() => [C(e.$slots, "prefix")]),
3453
3462
  suffix: O(() => [f(o, {
3454
3463
  name: "calendar",
3455
3464
  disabled: n.disabled,
3456
3465
  onMousedown: t[0] ||= A((e) => a.onMouseDown(!0), ["prevent"])
3457
- }, null, 8, ["disabled"]), S(e.$slots, "suffix")]),
3466
+ }, null, 8, ["disabled"]), C(e.$slots, "suffix")]),
3458
3467
  _: 3
3459
3468
  }, 16, ["modelValue", "onKeydown"]),
3460
- f(c, _({
3469
+ f(c, v({
3461
3470
  ref: "date",
3462
3471
  modelValue: i.currentValue,
3463
3472
  "onUpdate:modelValue": t[5] ||= (e) => i.currentValue = e,
@@ -3473,7 +3482,7 @@ function Wa(e, t, n, r, i, a) {
3473
3482
  "show",
3474
3483
  "target"
3475
3484
  ]),
3476
- f(d, _({
3485
+ f(d, v({
3477
3486
  ref: "time",
3478
3487
  modelValue: i.currentValue,
3479
3488
  "onUpdate:modelValue": t[7] ||= (e) => i.currentValue = e,
@@ -3641,13 +3650,13 @@ var Ga = /*#__PURE__*/ X({
3641
3650
  "onClick"
3642
3651
  ], Xa = { key: 0 };
3643
3652
  function Za(e, n, r, i, a, o) {
3644
- return b(), l("nav", Ka, [r.showTotal ? (b(), l("div", qa, [r.total > 0 ? (b(), l(t, { key: 0 }, [d(T(o.first) + " – " + T(o.last) + " / " + T(r.total), 1)], 64)) : c("", !0)])) : c("", !0), o.numPages > 1 ? (b(), l("div", Ja, [(b(!0), l(t, null, x(o.buttons, (e) => (b(), l("button", {
3645
- class: v(["dito-button", o.getButtonClasses(e)]),
3653
+ return x(), l("nav", Ka, [r.showTotal ? (x(), l("div", qa, [r.total > 0 ? (x(), l(t, { key: 0 }, [d(E(o.first) + " – " + E(o.last) + " / " + E(r.total), 1)], 64)) : c("", !0)])) : c("", !0), o.numPages > 1 ? (x(), l("div", Ja, [(x(!0), l(t, null, S(o.buttons, (e) => (x(), l("button", {
3654
+ class: y(["dito-button", o.getButtonClasses(e)]),
3646
3655
  disabled: e.disabled,
3647
3656
  "aria-label": o.getButtonLabel(e),
3648
3657
  "aria-current": e.active ? "page" : null,
3649
3658
  onClick: (t) => o.onClickButton(e)
3650
- }, [e.text ? (b(), l("span", Xa, T(e.text), 1)) : c("", !0)], 10, Ya))), 256))])) : c("", !0)]);
3659
+ }, [e.text ? (x(), l("span", Xa, E(e.text), 1)) : c("", !0)], 10, Ya))), 256))])) : c("", !0)]);
3651
3660
  }
3652
3661
  var Qa = /*#__PURE__*/ X({
3653
3662
  emits: ["update:page"],
@@ -3758,11 +3767,11 @@ var Qa = /*#__PURE__*/ X({
3758
3767
  class: "dito-switch__label"
3759
3768
  };
3760
3769
  function no(e, t, n, r, i, a) {
3761
- return b(), l("div", {
3762
- class: v(["dito-switch", a.classes]),
3763
- style: y(a.styles)
3770
+ return x(), l("div", {
3771
+ class: y(["dito-switch", a.classes]),
3772
+ style: b(a.styles)
3764
3773
  }, [u("div", $a, [
3765
- k(u("input", _({
3774
+ k(u("input", v({
3766
3775
  id: n.id,
3767
3776
  ref: "input"
3768
3777
  }, a.attributes, {
@@ -3772,9 +3781,9 @@ function no(e, t, n, r, i, a) {
3772
3781
  "aria-checked": i.checked,
3773
3782
  name: n.name,
3774
3783
  disabled: n.disabled
3775
- }), null, 16, eo), [[ue, i.checked]]),
3784
+ }), null, 16, eo), [[le, i.checked]]),
3776
3785
  t[1] ||= u("div", { class: "dito-switch__button" }, null, -1),
3777
- n.labels ? (b(), l("span", to, [i.checked ? S(e.$slots, "checked", {}, () => [d(T(n.labels.checked || "on"), 1)], void 0, 0) : S(e.$slots, "unchecked", {}, () => [d(T(n.labels.unchecked || "off"), 1)], void 0, 1)])) : c("", !0)
3786
+ n.labels ? (x(), l("span", to, [i.checked ? C(e.$slots, "checked", {}, () => [d(E(n.labels.checked || "on"), 1)], void 0, 0) : C(e.$slots, "unchecked", {}, () => [d(E(n.labels.unchecked || "off"), 1)], void 0, 1)])) : c("", !0)
3778
3787
  ])], 6);
3779
3788
  }
3780
3789
  var ro = /*#__PURE__*/ X({
@@ -4015,7 +4024,7 @@ var ao = io, oo = (e, t) => Object.assign(e.style, t), so = (e) => setTimeout(e,
4015
4024
  immediate: !0,
4016
4025
  flush: "sync",
4017
4026
  handler(e) {
4018
- e && (!this.routeRecord || e.path === this.routeRecord.path) && (this.routeRecord = te(e));
4027
+ e && (!this.routeRecord || e.path === this.routeRecord.path) && (this.routeRecord = ee(e));
4019
4028
  }
4020
4029
  } },
4021
4030
  beforeRouteUpdate(e, t) {
@@ -4051,7 +4060,7 @@ var ao = io, oo = (e, t) => Object.assign(e.style, t), so = (e) => setTimeout(e,
4051
4060
  }, go = class {
4052
4061
  currentPromiseOrLoader = null;
4053
4062
  currentLoadPromise = null;
4054
- lastFinishedLoad = oe({
4063
+ lastFinishedLoad = ae({
4055
4064
  promiseOrLoader: null,
4056
4065
  value: void 0,
4057
4066
  error: null
@@ -4113,11 +4122,11 @@ var vo = class {
4113
4122
  computedValueRecords = /* @__PURE__ */ new Map();
4114
4123
  optionsRecords = /* @__PURE__ */ new Map();
4115
4124
  pendingLoads = /* @__PURE__ */ new Set();
4116
- processedDataSnapshot = oe(null);
4125
+ processedDataSnapshot = ae(null);
4117
4126
  derivedValueDataPaths = null;
4118
4127
  constructor({ component: e, getSchema: t, getData: n, getSourceSchema: r = null }) {
4119
4128
  this.component = e, this.getSchema = t, this.getData = n, this.getSourceSchema = r, this.rootScope = m(!0), this.rootScope.run(() => {
4120
- D([t, n], ([e, t]) => this.initializeData(e, t), { immediate: !0 }), this.dataEntries = a(() => this.getDataEntries()), D(() => this.dataEntries.value.computedValueEntries, (e) => this.updateComputedValueRecords(e), { immediate: !0 }), D(() => this.dataEntries.value.entriesWithMissingValues, (e) => this.setDefaultValues(e), { immediate: !0 }), r && D(n, () => this.takeProcessedDataSnapshot().catch(console.error), { immediate: !0 });
4129
+ me([t, n], ([e, t]) => this.initializeData(e, t), { immediate: !0 }), this.dataEntries = a(() => this.getDataEntries()), me(() => this.dataEntries.value.computedValueEntries, (e) => this.updateComputedValueRecords(e), { immediate: !0 }), me(() => this.dataEntries.value.entriesWithMissingValues, (e) => this.setDefaultValues(e), { immediate: !0 }), r && me(n, () => this.takeProcessedDataSnapshot().catch(console.error), { immediate: !0 });
4121
4130
  });
4122
4131
  }
4123
4132
  get dataPath() {
@@ -4139,7 +4148,7 @@ var vo = class {
4139
4148
  this.rootScope.stop(), this.computedValueRecords.clear(), this.optionsRecords.clear(), this.pendingLoads.clear();
4140
4149
  }
4141
4150
  async waitForPendingLoads() {
4142
- for (; this.pendingLoads.size > 0;) await Promise.all(this.pendingLoads), await ne();
4151
+ for (; this.pendingLoads.size > 0;) await Promise.all(this.pendingLoads), await te();
4143
4152
  }
4144
4153
  async takeProcessedDataSnapshot() {
4145
4154
  let e = this.getData(), t = e ? /* @__PURE__ */ new Set() : null;
@@ -4147,7 +4156,7 @@ var vo = class {
4147
4156
  data: e,
4148
4157
  processedData: M(this.getProcessedDataForDirtyCheck())
4149
4158
  } : null, !e) return;
4150
- await ne(), await this.waitForPendingLoads();
4159
+ await te(), await this.waitForPendingLoads();
4151
4160
  let n = this.derivedValueDataPaths !== t, r = !this.rootScope.active;
4152
4161
  if (n || r) return;
4153
4162
  this.derivedValueDataPaths = null;
@@ -4170,7 +4179,7 @@ var vo = class {
4170
4179
  async applyCleanChanges(e) {
4171
4180
  let t = this.getData(), n = this.processedDataSnapshot.value?.data === t, r = n ? M(this.getProcessedDataForDirtyCheck()) : null;
4172
4181
  if (e(), n) {
4173
- await ne(), await this.waitForPendingLoads();
4182
+ await te(), await this.waitForPendingLoads();
4174
4183
  let e = this.processedDataSnapshot.value;
4175
4184
  e?.data === t && this.rootScope.active && (this.processedDataSnapshot.value = {
4176
4185
  data: t,
@@ -4185,7 +4194,7 @@ var vo = class {
4185
4194
  t && !cr(e) && wr(e, t, this.component, {
4186
4195
  dataPath: this.dataPath,
4187
4196
  rootData: this.rootData,
4188
- shouldProcess: (e) => !Ln(e.schema),
4197
+ shouldSkipSourcesWithResource: !0,
4189
4198
  shouldSetDefaultsOfComponentsWithCompute: !1
4190
4199
  });
4191
4200
  }
@@ -4194,7 +4203,8 @@ var vo = class {
4194
4203
  return t && !cr(e) && kr(e, t, {
4195
4204
  dataPath: this.dataPath,
4196
4205
  componentPath: this.componentPath,
4197
- shouldProcess: (e) => !Ln(e.schema) && this.isEntryShown(e),
4206
+ shouldProcess: (e) => this.isEntryShown(e),
4207
+ shouldSkipSourcesWithResource: !0,
4198
4208
  before: (e) => {
4199
4209
  So(e.schema) && n.set(e.componentPath, e), this.shouldSetDefaultValue(e) && r.push(e);
4200
4210
  },
@@ -4241,11 +4251,11 @@ var vo = class {
4241
4251
  let t = this.rootScope.run(() => m());
4242
4252
  return t.run(() => {
4243
4253
  let t = a(() => this.isEntryCurrent(e));
4244
- if (e.schema.compute && D(() => t.value ? { value: this.getComputedValue(e) } : null, (t) => {
4254
+ if (e.schema.compute && me(() => t.value ? { value: this.getComputedValue(e) } : null, (t) => {
4245
4255
  t && this.writeComputedValue(e, t.value);
4246
4256
  }, { immediate: !0 }), xr(e.schema)) {
4247
4257
  let n = this.createDataSchemaResolver(e.schema, e);
4248
- D(() => t.value && !n.isLoading ? { value: n.value } : null, (t) => {
4258
+ me(() => t.value && !n.isLoading ? { value: n.value } : null, (t) => {
4249
4259
  t && this.writeComputedValue(e, t.value);
4250
4260
  }, { immediate: !0 });
4251
4261
  }
@@ -4323,12 +4333,12 @@ function So(e) {
4323
4333
  //#region src/components/DitoView.vue?vue&type=template&lang.js
4324
4334
  var Co = ["data-resource"];
4325
4335
  function wo(e, n, r, i, a, o) {
4326
- let u = C("DitoRouterView"), d = C("DitoSchema");
4327
- return e.user && e.shouldRenderSchema(e.viewSchema) ? (b(), l(t, { key: 0 }, [e.isLastRoute ? (b(), l("div", {
4336
+ let u = w("DitoRouterView"), d = w("DitoSchema");
4337
+ return e.user && e.shouldRenderSchema(e.viewSchema) ? (x(), l(t, { key: 0 }, [e.isLastRoute ? (x(), l("div", {
4328
4338
  key: 1,
4329
4339
  class: "dito-view dito-scroll-parent",
4330
4340
  "data-resource": e.sourceSchema.path
4331
- }, [(b(), s(d, {
4341
+ }, [(x(), s(d, {
4332
4342
  key: e.name,
4333
4343
  schema: e.viewSchema,
4334
4344
  data: e.data,
@@ -4344,7 +4354,7 @@ function wo(e, n, r, i, a, o) {
4344
4354
  "meta",
4345
4355
  "store",
4346
4356
  "disabled"
4347
- ]))], 8, Co)) : (b(), s(u, {
4357
+ ]))], 8, Co)) : (x(), s(u, {
4348
4358
  key: 0,
4349
4359
  routeLevel: e.routeLevel + 1
4350
4360
  }, null, 8, ["routeLevel"]))], 64)) : c("", !0);
@@ -4428,18 +4438,18 @@ var To = /*#__PURE__*/ X(Y.component("DitoView", {
4428
4438
  //#endregion
4429
4439
  //#region ../../node_modules/@vueuse/integrations/dist/useFocusTrap.js
4430
4440
  function Eo(e, t = {}) {
4431
- let n, { immediate: r, ...i } = t, o = oe(!1), s = oe(!1), c = (e) => n && n.activate(e), l = (e) => n && n.deactivate(e), u = () => {
4441
+ let n, { immediate: r, ...i } = t, o = ae(!1), s = ae(!1), c = (e) => n && n.activate(e), l = (e) => n && n.deactivate(e), u = () => {
4432
4442
  n && (n.pause(), s.value = !0);
4433
4443
  }, d = () => {
4434
4444
  n && (n.unpause(), s.value = !1);
4435
4445
  }, f = a(() => {
4436
- let t = ce(e);
4446
+ let t = se(e);
4437
4447
  return tt(t).map((e) => {
4438
- let t = ce(e);
4448
+ let t = se(e);
4439
4449
  return typeof t == "string" ? t : it(t);
4440
4450
  }).filter($e);
4441
4451
  });
4442
- return D(f, (e) => {
4452
+ return me(f, (e) => {
4443
4453
  if (e.length) {
4444
4454
  if (!n) n = ot(e, {
4445
4455
  ...i,
@@ -4467,7 +4477,7 @@ function Eo(e, t = {}) {
4467
4477
  //#endregion
4468
4478
  //#region ../../node_modules/@vueuse/integrations/dist/useFocusTrap/component.js
4469
4479
  var Do = /* #__PURE__ */ p((e, { slots: t }) => {
4470
- let n = oe(), r = ie(Eo(n, e.options));
4480
+ let n = ae(), r = re(Eo(n, e.options));
4471
4481
  return () => {
4472
4482
  if (t.default) return g(e.as || "div", { ref: n }, t.default(r));
4473
4483
  };
@@ -4476,14 +4486,14 @@ var Do = /* #__PURE__ */ p((e, { slots: t }) => {
4476
4486
  props: ["as", "options"]
4477
4487
  }), Oo = ["aria-label"];
4478
4488
  function ko(e, t, n, r, i, a) {
4479
- let o = C("DitoButtons"), s = C("DitoSchema"), c = C("UseFocusTrap");
4480
- return b(), l("div", {
4489
+ let o = w("DitoButtons"), s = w("DitoSchema"), c = w("UseFocusTrap");
4490
+ return x(), l("div", {
4481
4491
  class: "dito-dialog",
4482
4492
  ref: "dialog",
4483
4493
  role: "dialog",
4484
4494
  "aria-label": e.schema.label || "Dialog",
4485
4495
  "aria-modal": "true",
4486
- style: y({ "--width": e.settings.width ? `${e.settings.width}px` : null }),
4496
+ style: b({ "--width": e.settings.width ? `${e.settings.width}px` : null }),
4487
4497
  onMouseup: t[2] ||= (...t) => e.onMouseUp && e.onMouseUp(...t)
4488
4498
  }, [f(c, {
4489
4499
  class: "dito-dialog__focus-trap",
@@ -4493,7 +4503,7 @@ function ko(e, t, n, r, i, a) {
4493
4503
  class: "dito-scroll-parent",
4494
4504
  onSubmit: t[0] ||= A((...t) => e.submit && e.submit(...t), ["prevent"]),
4495
4505
  onKeydown: t[1] ||= he((...t) => e.onEnter && e.onEnter(...t), ["enter"])
4496
- }, [k(u("button", null, null, 512), [[E, !1]]), f(s, {
4506
+ }, [k(u("button", null, null, 512), [[D, !1]]), f(s, {
4497
4507
  schema: e.schema,
4498
4508
  data: e.dialogData,
4499
4509
  padding: "root",
@@ -4627,19 +4637,19 @@ var Ao = /*#__PURE__*/ X(Y.component("DitoDialog", {
4627
4637
  class: "dito-drag-overlay"
4628
4638
  };
4629
4639
  function No(e, n, a, o, d, p) {
4630
- let m = C("DitoDialog"), h = C("DitoNavigation"), g = C("DitoHeader"), ee = C("DitoRouterView"), te = C("DitoAccount"), _ = C("DitoSidebar"), ne = C("DitoNotifications"), re = ae("resize");
4631
- return b(), l("div", {
4640
+ let m = w("DitoDialog"), h = w("DitoNavigation"), g = w("DitoHeader"), _ = w("DitoRouterView"), ee = w("DitoAccount"), v = w("DitoSidebar"), te = w("DitoNotifications"), ne = ie("resize");
4641
+ return x(), l("div", {
4632
4642
  class: "dito-root",
4633
4643
  "data-agent-browser": e.appState.agent.browser,
4634
4644
  "data-agent-platform": e.appState.agent.platform,
4635
4645
  "data-agent-version": e.appState.agent.versionNumber
4636
4646
  }, [
4637
4647
  f(r, { name: "dito-drag" }, {
4638
- default: O(() => [e.isDraggingFiles ? (b(), l("div", Mo)) : c("", !0)]),
4648
+ default: O(() => [e.isDraggingFiles ? (x(), l("div", Mo)) : c("", !0)]),
4639
4649
  _: 1
4640
4650
  }),
4641
4651
  f(i, { name: "dito-dialog" }, {
4642
- default: O(() => [(b(!0), l(t, null, x(e.dialogs, (t, n) => (b(), s(m, {
4652
+ default: O(() => [(x(!0), l(t, null, S(e.dialogs, (t, n) => (x(), s(m, {
4643
4653
  key: n,
4644
4654
  components: t.components,
4645
4655
  buttons: t.buttons,
@@ -4658,19 +4668,19 @@ function No(e, n, a, o, d, p) {
4658
4668
  _: 1
4659
4669
  }),
4660
4670
  f(h),
4661
- k((b(), l("main", { class: v(["dito-page dito-scroll-parent", e.pageClasses]) }, [f(g, {
4671
+ k((x(), l("main", { class: y(["dito-page dito-scroll-parent", e.pageClasses]) }, [f(g, {
4662
4672
  spinner: e.options.spinner,
4663
4673
  isLoading: e.isLoading
4664
- }, null, 8, ["spinner", "isLoading"]), f(ee, { routeLevel: 0 })], 2)), [[re, e.onResizePage]]),
4665
- f(_, null, {
4666
- default: O(() => [e.user ? (b(), s(te, { key: 0 })) : e.allowLogin ? (b(), l("a", {
4674
+ }, null, 8, ["spinner", "isLoading"]), f(_, { routeLevel: 0 })], 2)), [[ne, e.onResizePage]]),
4675
+ f(v, null, {
4676
+ default: O(() => [e.user ? (x(), s(ee, { key: 0 })) : e.allowLogin ? (x(), l("a", {
4667
4677
  key: 1,
4668
4678
  class: "dito-login",
4669
4679
  onClick: n[0] ||= (t) => e.rootComponent.login()
4670
4680
  }, [...n[1] ||= [u("span", null, "Login", -1)]])) : c("", !0)]),
4671
4681
  _: 1
4672
4682
  }),
4673
- f(ne, { ref: "notifications" }, null, 512)
4683
+ f(te, { ref: "notifications" }, null, 512)
4674
4684
  ], 8, jo);
4675
4685
  }
4676
4686
  //#endregion
@@ -4929,16 +4939,16 @@ var Lo = /*#__PURE__*/ X(Po, [["render", No]]), Ro = { class: "dito-menu__item"
4929
4939
  "onClick"
4930
4940
  ];
4931
4941
  function Bo(e, n, r, i, a, o) {
4932
- let d = C("DitoMenu", !0), f = ae("resize");
4933
- return k((b(), l("ul", {
4942
+ let d = w("DitoMenu", !0), f = ie("resize");
4943
+ return k((x(), l("ul", {
4934
4944
  class: "dito-menu",
4935
- style: y({ "--width": e.width ? `${e.width}px` : null })
4936
- }, [(b(!0), l(t, null, x(e.items, (n) => (b(), l("li", Ro, [e.shouldShowItem(n) ? (b(), l(t, { key: 0 }, [u("a", {
4937
- class: v(["dito-menu__link", { "dito-menu__link--active": e.isActiveItem(n) }]),
4945
+ style: b({ "--width": e.width ? `${e.width}px` : null })
4946
+ }, [(x(!0), l(t, null, S(e.items, (n) => (x(), l("li", Ro, [e.shouldShowItem(n) ? (x(), l(t, { key: 0 }, [u("a", {
4947
+ class: y(["dito-menu__link", { "dito-menu__link--active": e.isActiveItem(n) }]),
4938
4948
  href: e.getItemHref(n),
4939
4949
  "aria-current": e.isActiveItem(n) ? "page" : null,
4940
4950
  onClick: A((t) => e.onClickItem(n), ["prevent", "stop"])
4941
- }, T(e.getLabel(n)), 11, zo), n.items ? (b(), s(d, {
4951
+ }, E(e.getLabel(n)), 11, zo), n.items ? (x(), s(d, {
4942
4952
  key: 0,
4943
4953
  class: "dito-menu__sub",
4944
4954
  items: n.items,
@@ -4994,12 +5004,12 @@ var Vo = /*#__PURE__*/ X(Y.component("DitoMenu", {
4994
5004
  "onClick"
4995
5005
  ];
4996
5006
  function Wo(e, n, r, i, a, o) {
4997
- return b(), l("div", Ho, [u("ul", null, [(b(!0), l(t, null, x(e.trail, (t) => (b(), l("li", null, [u("a", {
4998
- class: v(["dito-trail__link", { "dito-trail__link--active": t.path === e.$route.path }]),
5007
+ return x(), l("div", Ho, [u("ul", null, [(x(!0), l(t, null, S(e.trail, (t) => (x(), l("li", null, [u("a", {
5008
+ class: y(["dito-trail__link", { "dito-trail__link--active": t.path === e.$route.path }]),
4999
5009
  "aria-current": t.path === e.$route.path ? "page" : null,
5000
5010
  href: e.getComponentHref(t),
5001
5011
  onClick: A((n) => e.onClickComponent(t), ["prevent", "stop"])
5002
- }, [u("span", { class: v(["dito-trail__text", { "dito-trail__text--dirty": t.isDirty }]) }, T(t.breadcrumb), 3)], 10, Uo)]))), 256))]), S(e.$slots, "default")]);
5012
+ }, [u("span", { class: y(["dito-trail__text", { "dito-trail__text--dirty": t.isDirty }]) }, E(t.breadcrumb), 3)], 10, Uo)]))), 256))]), C(e.$slots, "default")]);
5003
5013
  }
5004
5014
  var Go = /*#__PURE__*/ X(Y.component("DitoTrail", {
5005
5015
  computed: { trail() {
@@ -5022,13 +5032,13 @@ var Go = /*#__PURE__*/ X(Y.component("DitoTrail", {
5022
5032
  }
5023
5033
  }), [["render", Wo]]), Ko = ["aria-busy"];
5024
5034
  function qo(e, t, n, r, i, a) {
5025
- let o = C("DitoSpinner"), d = C("DitoTrail");
5026
- return b(), l("nav", {
5035
+ let o = w("DitoSpinner"), d = w("DitoTrail");
5036
+ return x(), l("nav", {
5027
5037
  class: "dito-header",
5028
5038
  "aria-busy": e.isLoading
5029
5039
  }, [
5030
5040
  f(d, null, {
5031
- default: O(() => [e.isLoading ? (b(), s(o, {
5041
+ default: O(() => [e.isLoading ? (x(), s(o, {
5032
5042
  key: 0,
5033
5043
  size: e.spinner?.size,
5034
5044
  color: e.spinner?.color
@@ -5036,7 +5046,7 @@ function qo(e, t, n, r, i, a) {
5036
5046
  _: 1
5037
5047
  }),
5038
5048
  t[0] ||= u("div", { class: "dito-header__teleport" }, null, -1),
5039
- S(e.$slots, "default")
5049
+ C(e.$slots, "default")
5040
5050
  ], 8, Ko);
5041
5051
  }
5042
5052
  var Jo = /*#__PURE__*/ X(Y.component("DitoHeader", { props: {
@@ -5053,12 +5063,12 @@ var Jo = /*#__PURE__*/ X(Y.component("DitoHeader", { props: {
5053
5063
  "aria-label": "Main navigation"
5054
5064
  };
5055
5065
  function Xo(e, t, n, r, i, a) {
5056
- let o = C("RouterLink"), s = C("DitoMenu");
5057
- return b(), l("nav", Yo, [u("h1", null, [f(o, {
5066
+ let o = w("RouterLink"), s = w("DitoMenu");
5067
+ return x(), l("nav", Yo, [u("h1", null, [f(o, {
5058
5068
  class: "dito-link",
5059
5069
  to: "/"
5060
5070
  }, {
5061
- default: O(() => [d(T(e.appState.title), 1)]),
5071
+ default: O(() => [d(E(e.appState.title), 1)]),
5062
5072
  _: 1
5063
5073
  })]), f(s, {
5064
5074
  class: "dito-scroll",
@@ -5070,8 +5080,8 @@ var Zo = /*#__PURE__*/ X(Y.component("DitoNavigation", {}), [["render", Xo]]), Q
5070
5080
  "aria-live": "polite"
5071
5081
  }, $o = { class: "dito-notifications__inner" };
5072
5082
  function es(e, t, n, r, i, a) {
5073
- let o = C("VueNotifications");
5074
- return b(), l("div", Qo, [t[0] ||= u("div", { class: "dito-header" }, [u("span")], -1), u("div", $o, [f(o, {
5083
+ let o = w("VueNotifications");
5084
+ return x(), l("div", Qo, [t[0] ||= u("div", { class: "dito-header" }, [u("span")], -1), u("div", $o, [f(o, {
5075
5085
  ref: "notifications",
5076
5086
  classes: "dito-notification",
5077
5087
  dangerouslySetInnerHtml: !0,
@@ -5115,8 +5125,8 @@ var ts = /*#__PURE__*/ X(Y.component("DitoNotifications", {
5115
5125
  }
5116
5126
  }), [["render", es]]), ns = { class: "dito-header" };
5117
5127
  function rs(e, t, n, r, i, a) {
5118
- let o = ae("resize");
5119
- return k((b(), l("aside", { class: v(["dito-sidebar dito-scroll-parent", e.classes]) }, [u("nav", ns, [S(e.$slots, "default")]), t[0] ||= u("div", { class: "dito-sidebar__teleport dito-scroll" }, null, -1)], 2)), [[o, e.onResizeSidebar]]);
5128
+ let o = ie("resize");
5129
+ return k((x(), l("aside", { class: y(["dito-sidebar dito-scroll-parent", e.classes]) }, [u("nav", ns, [C(e.$slots, "default")]), t[0] ||= u("div", { class: "dito-sidebar__teleport dito-scroll" }, null, -1)], 2)), [[o, e.onResizeSidebar]]);
5120
5130
  }
5121
5131
  var is = /*#__PURE__*/ X(Y.component("DitoSidebar", {
5122
5132
  data() {
@@ -5171,15 +5181,15 @@ var is = /*#__PURE__*/ X(Y.component("DitoSidebar", {
5171
5181
  }
5172
5182
  }, os = { class: "dito-account" }, ss = ["onMousedown", "onMouseup"];
5173
5183
  function cs(e, n, r, i, a, o) {
5174
- return b(), l("div", os, [u("a", _({ role: "button" }, e.pulldownTriggerAttributes, { onMousedown: n[0] ||= A((t) => e.onPulldownMouseDown(), ["stop"]) }), [u("span", null, T(e.user.username), 1)], 16), u("ul", {
5175
- class: v(["dito-pulldown", { "dito-pulldown--open": e.pulldown.open }]),
5184
+ return x(), l("div", os, [u("a", v({ role: "button" }, e.pulldownTriggerAttributes, { onMousedown: n[0] ||= A((t) => e.onPulldownMouseDown(), ["stop"]) }), [u("span", null, E(e.user.username), 1)], 16), u("ul", {
5185
+ class: y(["dito-pulldown", { "dito-pulldown--open": e.pulldown.open }]),
5176
5186
  role: "menu"
5177
- }, [(b(!0), l(t, null, x(e.items, (t, n) => (b(), l("li", null, [u("a", {
5187
+ }, [(x(!0), l(t, null, S(e.items, (t, n) => (x(), l("li", null, [u("a", {
5178
5188
  class: "dito-pulldown__item",
5179
5189
  role: "menuitem",
5180
5190
  onMousedown: A((t) => e.onPulldownMouseDown(n), ["stop"]),
5181
5191
  onMouseup: (t) => e.onPulldownMouseUp(n)
5182
- }, T(t), 41, ss)]))), 256))], 2)]);
5192
+ }, E(t), 41, ss)]))), 256))], 2)]);
5183
5193
  }
5184
5194
  var ls = /*#__PURE__*/ X(Y.component("DitoAccount", {
5185
5195
  mixins: [as],
@@ -5201,11 +5211,11 @@ var ls = /*#__PURE__*/ X(Y.component("DitoAccount", {
5201
5211
  //#endregion
5202
5212
  //#region src/components/DitoSpinner.vue?vue&type=template&lang.js
5203
5213
  function us(e, t, n, r, i, a) {
5204
- return k((b(), l("div", {
5214
+ return k((x(), l("div", {
5205
5215
  class: "dito-spinner",
5206
5216
  role: "status",
5207
5217
  "aria-label": "Loading",
5208
- style: y({
5218
+ style: b({
5209
5219
  "--color": e.color,
5210
5220
  "--size": e.size,
5211
5221
  "--margin": e.margin
@@ -5214,7 +5224,7 @@ function us(e, t, n, r, i, a) {
5214
5224
  u("div", { class: "dito-spinner__pulse dito-spinner__pulse1" }, null, -1),
5215
5225
  u("div", { class: "dito-spinner__pulse dito-spinner__pulse2" }, null, -1),
5216
5226
  u("div", { class: "dito-spinner__pulse dito-spinner__pulse3" }, null, -1)
5217
- ]], 4)), [[E, e.loading]]);
5227
+ ]], 4)), [[D, e.loading]]);
5218
5228
  }
5219
5229
  var ds = /*#__PURE__*/ X(Y.component("DitoSpinner", { props: {
5220
5230
  loading: {
@@ -5237,22 +5247,22 @@ var ds = /*#__PURE__*/ X(Y.component("DitoSpinner", { props: {
5237
5247
  //#endregion
5238
5248
  //#region src/components/DitoAffix.vue?vue&type=template&lang.js
5239
5249
  function fs(e, t, n, r, i, a) {
5240
- let o = C("DitoSpinner"), l = C("DitoIcon");
5241
- return e.item.type === "text" ? (b(), s(w(e.item.as || "div"), { key: 0 }, {
5242
- default: O(() => [d(T(e.item.text), 1)]),
5250
+ let o = w("DitoSpinner"), l = w("DitoIcon");
5251
+ return e.item.type === "text" ? (x(), s(T(e.item.as || "div"), { key: 0 }, {
5252
+ default: O(() => [d(E(e.item.text), 1)]),
5243
5253
  _: 1
5244
- })) : e.item.type === "html" ? (b(), s(w(e.item.as || "div"), {
5254
+ })) : e.item.type === "html" ? (x(), s(T(e.item.as || "div"), {
5245
5255
  key: 1,
5246
5256
  innerHTML: e.item.html
5247
- }, null, 8, ["innerHTML"])) : e.item.type === "spinner" ? (b(), s(o, {
5257
+ }, null, 8, ["innerHTML"])) : e.item.type === "spinner" ? (x(), s(o, {
5248
5258
  key: 2,
5249
5259
  size: e.item.size,
5250
5260
  color: e.item.color
5251
- }, null, 8, ["size", "color"])) : e.item.type === "icon" ? (b(), s(l, {
5261
+ }, null, 8, ["size", "color"])) : e.item.type === "icon" ? (x(), s(l, {
5252
5262
  key: 3,
5253
5263
  name: e.item.name,
5254
5264
  disabled: e.item.disabled
5255
- }, null, 8, ["name", "disabled"])) : e.item.type === "component" ? (b(), s(w(e.item.component), re(_({ key: 4 }, e.item.props)), null, 16)) : c("", !0);
5265
+ }, null, 8, ["name", "disabled"])) : e.item.type === "component" ? (x(), s(T(e.item.component), ne(v({ key: 4 }, e.item.props)), null, 16)) : c("", !0);
5256
5266
  }
5257
5267
  var ps = /*#__PURE__*/ X(Y.component("DitoAffix", {
5258
5268
  components: {
@@ -5274,16 +5284,16 @@ var ps = /*#__PURE__*/ X(Y.component("DitoAffix", {
5274
5284
  } }
5275
5285
  }), [["render", fs]]), ms = ["disabled"], hs = ["data-info"];
5276
5286
  function gs(e, n, r, i, a, o) {
5277
- let u = C("DitoAffix");
5278
- return e.hasContent ? (b(), l("div", {
5287
+ let u = w("DitoAffix");
5288
+ return e.hasContent ? (x(), l("div", {
5279
5289
  key: 0,
5280
- class: v(["dito-affixes", e.classes])
5290
+ class: y(["dito-affixes", e.classes])
5281
5291
  }, [
5282
- S(e.$slots, "prepend"),
5283
- (b(!0), l(t, null, x(e.visibleItems, (t, n) => (b(), s(u, {
5284
- class: v(["dito-affix", e.getItemClasses(t)]),
5292
+ C(e.$slots, "prepend"),
5293
+ (x(!0), l(t, null, S(e.visibleItems, (t, n) => (x(), s(u, {
5294
+ class: y(["dito-affix", e.getItemClasses(t)]),
5285
5295
  key: n,
5286
- style: y(t.style),
5296
+ style: b(t.style),
5287
5297
  item: t,
5288
5298
  parentContext: e.parentContext
5289
5299
  }, null, 8, [
@@ -5292,7 +5302,7 @@ function gs(e, n, r, i, a, o) {
5292
5302
  "item",
5293
5303
  "parentContext"
5294
5304
  ]))), 128)),
5295
- e.clearable ? (b(), l("button", {
5305
+ e.clearable ? (x(), l("button", {
5296
5306
  key: 0,
5297
5307
  class: "dito-affixes__clear",
5298
5308
  type: "button",
@@ -5301,8 +5311,8 @@ function gs(e, n, r, i, a, o) {
5301
5311
  onClick: n[0] ||= A((t) => e.$emit("clear"), ["stop"]),
5302
5312
  onMousedown: n[1] ||= A(() => {}, ["stop"])
5303
5313
  }, null, 40, ms)) : c("", !0),
5304
- S(e.$slots, "append"),
5305
- e.inlineInfo ? (b(), l("div", {
5314
+ C(e.$slots, "append"),
5315
+ e.inlineInfo ? (x(), l("div", {
5306
5316
  key: 1,
5307
5317
  class: "dito-info",
5308
5318
  "data-info": e.inlineInfo
@@ -5393,22 +5403,22 @@ var Z = /*#__PURE__*/ X(Y.component("DitoAffixes", {
5393
5403
  class: "dito-label__inner"
5394
5404
  }, vs = ["for", "innerHTML"], ys = ["data-info"];
5395
5405
  function bs(e, t, n, r, i, a) {
5396
- let o = C("DitoAffixes");
5397
- return e.text || e.collapsible ? (b(), s(w(e.collapsible ? "button" : "div"), _({
5406
+ let o = w("DitoAffixes");
5407
+ return e.text || e.collapsible ? (x(), s(T(e.collapsible ? "button" : "div"), v({
5398
5408
  key: 0,
5399
5409
  class: "dito-label",
5400
5410
  type: e.collapsible ? "button" : null
5401
5411
  }, e.attributes, { class: { "dito-label--active": e.isActive } }), {
5402
- default: O(() => [e.collapsible ? (b(), l("div", {
5412
+ default: O(() => [e.collapsible ? (x(), l("div", {
5403
5413
  key: 0,
5404
- class: v(["dito-chevron", { "dito-chevron--open": !e.collapsed }])
5405
- }, null, 2)) : c("", !0), e.text || e.prefixes.length > 0 || e.suffixes.length > 0 ? (b(), l("div", _s, [
5414
+ class: y(["dito-chevron", { "dito-chevron--open": !e.collapsed }])
5415
+ }, null, 2)) : c("", !0), e.text || e.prefixes.length > 0 || e.suffixes.length > 0 ? (x(), l("div", _s, [
5406
5416
  f(o, {
5407
5417
  items: e.prefixes,
5408
5418
  position: "prefix",
5409
5419
  parentContext: e.context
5410
5420
  }, null, 8, ["items", "parentContext"]),
5411
- e.text ? (b(), l("label", {
5421
+ e.text ? (x(), l("label", {
5412
5422
  key: 0,
5413
5423
  for: e.htmlFor,
5414
5424
  innerHTML: e.text
@@ -5419,7 +5429,7 @@ function bs(e, t, n, r, i, a) {
5419
5429
  position: "suffix",
5420
5430
  parentContext: e.context
5421
5431
  }, null, 8, ["items", "parentContext"]),
5422
- e.info ? (b(), l("div", {
5432
+ e.info ? (x(), l("div", {
5423
5433
  key: 1,
5424
5434
  class: "dito-info",
5425
5435
  "data-info": e.info
@@ -5536,17 +5546,17 @@ var xs = /*#__PURE__*/ X(Y.component("DitoLabel", {
5536
5546
  class: "dito-schema-header"
5537
5547
  };
5538
5548
  function ws(e, i, a, o, d, p) {
5539
- let m = C("DitoPanels"), h = C("DitoLabel"), g = C("DitoTabs"), ee = C("DitoClipboard"), te = C("DitoPane"), ne = C("TransitionHeight");
5540
- return b(), l(t, null, [
5541
- S(e.$slots, "prepend"),
5542
- u("div", _({ class: ["dito-schema", {
5549
+ let m = w("DitoPanels"), h = w("DitoLabel"), g = w("DitoTabs"), _ = w("DitoClipboard"), ee = w("DitoPane"), te = w("TransitionHeight");
5550
+ return x(), l(t, null, [
5551
+ C(e.$slots, "prepend"),
5552
+ u("div", v({ class: ["dito-schema", {
5543
5553
  "dito-scroll-parent": e.scrollable,
5544
5554
  "dito-schema--open": e.opened
5545
5555
  }] }, e.$attrs), [
5546
- e.isPopulated && e.panelEntries.length > 0 ? (b(), s(n, {
5556
+ e.isPopulated && e.panelEntries.length > 0 ? (x(), s(n, {
5547
5557
  key: 0,
5548
5558
  to: ".dito-sidebar__teleport"
5549
- }, [e.active ? (b(), s(m, {
5559
+ }, [e.active ? (x(), s(m, {
5550
5560
  key: 0,
5551
5561
  panels: e.panelEntries,
5552
5562
  data: e.data,
@@ -5560,12 +5570,12 @@ function ws(e, i, a, o, d, p) {
5560
5570
  "store",
5561
5571
  "disabled"
5562
5572
  ])) : c("", !0)])) : c("", !0),
5563
- e.hasHeader ? (b(), s(n, {
5573
+ e.hasHeader ? (x(), s(n, {
5564
5574
  key: 1,
5565
5575
  to: e.headerTeleport,
5566
5576
  disabled: !e.headerTeleport
5567
- }, [e.active ? (b(), l("div", Cs, [
5568
- e.hasLabel ? (b(), s(h, {
5577
+ }, [e.active ? (x(), l("div", Cs, [
5578
+ e.hasLabel ? (x(), s(h, {
5569
5579
  key: 0,
5570
5580
  label: e.label,
5571
5581
  info: e.info,
@@ -5579,11 +5589,11 @@ function ws(e, i, a, o, d, p) {
5579
5589
  "collapsed",
5580
5590
  "onOpen"
5581
5591
  ])) : c("", !0),
5582
- e.tabs ? (b(), s(r, {
5592
+ e.tabs ? (x(), s(r, {
5583
5593
  key: 1,
5584
5594
  name: "dito-fade"
5585
5595
  }, {
5586
- default: O(() => [e.opened ? (b(), s(g, {
5596
+ default: O(() => [e.opened ? (x(), s(g, {
5587
5597
  key: 0,
5588
5598
  modelValue: e.selectedTab,
5589
5599
  "onUpdate:modelValue": i[0] ||= (t) => e.selectedTab = t,
@@ -5591,20 +5601,20 @@ function ws(e, i, a, o, d, p) {
5591
5601
  }, null, 8, ["modelValue", "tabs"])) : c("", !0)]),
5592
5602
  _: 1
5593
5603
  })) : c("", !0),
5594
- e.clipboard ? (b(), s(ee, {
5604
+ e.clipboard ? (x(), s(_, {
5595
5605
  key: 2,
5596
5606
  clipboard: e.clipboard,
5597
5607
  schema: e.schema
5598
5608
  }, null, 8, ["clipboard", "schema"])) : c("", !0),
5599
- S(e.$slots, "edit-buttons")
5609
+ C(e.$slots, "edit-buttons")
5600
5610
  ])) : c("", !0)], 8, ["to", "disabled"])) : c("", !0),
5601
- f(ne, { enabled: e.inlined }, {
5602
- default: O(() => [e.opened ? (b(), l("div", {
5611
+ f(te, { enabled: e.inlined }, {
5612
+ default: O(() => [e.opened ? (x(), l("div", {
5603
5613
  key: 0,
5604
- class: v(["dito-schema-content", { "dito-scroll": e.scrollable }]),
5614
+ class: y(["dito-schema-content", { "dito-scroll": e.scrollable }]),
5605
5615
  ref: "content"
5606
5616
  }, [
5607
- e.hasTabs ? (b(!0), l(t, { key: 0 }, x(e.tabs, (t, n) => k((b(), s(te, {
5617
+ e.hasTabs ? (x(!0), l(t, { key: 0 }, S(e.tabs, (t, n) => k((x(), s(ee, {
5608
5618
  key: n,
5609
5619
  class: "dito-pane__tab",
5610
5620
  ref_for: !0,
@@ -5634,8 +5644,8 @@ function ws(e, i, a, o, d, p) {
5634
5644
  "compact",
5635
5645
  "generateLabels",
5636
5646
  "accumulatedBasis"
5637
- ])), [[E, e.selectedTab === n]])), 128)) : c("", !0),
5638
- e.hasMainPane ? (b(), s(te, {
5647
+ ])), [[D, e.selectedTab === n]])), 128)) : c("", !0),
5648
+ e.hasMainPane ? (x(), s(ee, {
5639
5649
  key: 1,
5640
5650
  class: "dito-pane__main",
5641
5651
  ref: "components",
@@ -5663,13 +5673,13 @@ function ws(e, i, a, o, d, p) {
5663
5673
  "generateLabels",
5664
5674
  "accumulatedBasis"
5665
5675
  ])) : c("", !0),
5666
- !e.inlined && e.isPopulated ? S(e.$slots, "buttons", {}, void 0, void 0, 2) : c("", !0)
5676
+ !e.inlined && e.isPopulated ? C(e.$slots, "buttons", {}, void 0, void 0, 2) : c("", !0)
5667
5677
  ], 2)) : c("", !0)]),
5668
5678
  _: 3
5669
5679
  }, 8, ["enabled"]),
5670
- e.inlined && !e.hasHeader ? S(e.$slots, "edit-buttons", {}, void 0, void 0, 2) : c("", !0)
5680
+ e.inlined && !e.hasHeader ? C(e.$slots, "edit-buttons", {}, void 0, void 0, 2) : c("", !0)
5671
5681
  ], 16),
5672
- S(e.$slots, "append")
5682
+ C(e.$slots, "append")
5673
5683
  ], 64);
5674
5684
  }
5675
5685
  //#endregion
@@ -6151,8 +6161,8 @@ var Os = /*#__PURE__*/ X(Ts, [["render", ws]]);
6151
6161
  //#endregion
6152
6162
  //#region src/components/DitoSchemaInlined.vue?vue&type=template&lang.js
6153
6163
  function ks(e, t, n, r, i, a) {
6154
- let o = C("DitoEditButtons"), l = C("DitoSchema");
6155
- return b(), s(l, {
6164
+ let o = w("DitoEditButtons"), l = w("DitoSchema");
6165
+ return x(), s(l, {
6156
6166
  class: "dito-schema-inlined",
6157
6167
  schema: e.schema,
6158
6168
  dataPath: e.dataPath,
@@ -6171,7 +6181,7 @@ function ks(e, t, n, r, i, a) {
6171
6181
  labelNode: e.labelNode,
6172
6182
  accumulatedBasis: e.accumulatedBasis
6173
6183
  }, {
6174
- "edit-buttons": O(() => [e.deletable || e.draggable || e.editable || e.insertIndex != null ? (b(), s(o, {
6184
+ "edit-buttons": O(() => [e.deletable || e.draggable || e.editable || e.insertIndex != null ? (x(), s(o, {
6175
6185
  key: 0,
6176
6186
  schema: e.schema,
6177
6187
  dataPath: e.dataPath,
@@ -6321,16 +6331,16 @@ var As = /*#__PURE__*/ X(Y.component("DitoSchemaInlined", {
6321
6331
  class: "dito-pane__break"
6322
6332
  };
6323
6333
  function Ps(e, n, r, i, a, o) {
6324
- let u = C("DitoContainer"), d = ae("resize");
6325
- return e.isPopulated && e.componentSchemas.length > 0 ? k((b(), l("div", {
6334
+ let u = w("DitoContainer"), d = ie("resize");
6335
+ return e.isPopulated && e.componentSchemas.length > 0 ? k((x(), l("div", {
6326
6336
  key: 0,
6327
- class: v(["dito-pane", e.classes]),
6337
+ class: y(["dito-pane", e.classes]),
6328
6338
  id: e.tabPanelId,
6329
6339
  role: e.tab ? "tabpanel" : null,
6330
6340
  "aria-labelledby": e.tabId
6331
- }, [(b(!0), l(t, null, x(e.componentSchemas, ({ schema: n, dataPath: r, nestedDataPath: i, nested: a, store: o }, d) => (b(), l(t, null, [
6332
- ["before", "both"].includes(n.break) ? (b(), l("span", Ms)) : c("", !0),
6333
- e.shouldRenderComponent(n, a, r) ? (b(), s(u, {
6341
+ }, [(x(!0), l(t, null, S(e.componentSchemas, ({ schema: n, dataPath: r, nestedDataPath: i, nested: a, store: o }, d) => (x(), l(t, null, [
6342
+ ["before", "both"].includes(n.break) ? (x(), l("span", Ms)) : c("", !0),
6343
+ e.shouldRenderComponent(n, a, r) ? (x(), s(u, {
6334
6344
  ref_for: !0,
6335
6345
  ref: "containers",
6336
6346
  key: i,
@@ -6362,7 +6372,7 @@ function Ps(e, n, r, i, a, o) {
6362
6372
  "verticalLabels",
6363
6373
  "accumulatedBasis"
6364
6374
  ])) : c("", !0),
6365
- ["after", "both"].includes(n.break) ? (b(), l("span", Ns)) : c("", !0)
6375
+ ["after", "both"].includes(n.break) ? (x(), l("span", Ns)) : c("", !0)
6366
6376
  ], 64))), 256))], 10, js)), [[d, e.onResizePane]]) : c("", !0);
6367
6377
  }
6368
6378
  var Fs = /*#__PURE__*/ X(Y.component("DitoPane", {
@@ -6552,12 +6562,12 @@ function Is(e) {
6552
6562
  //#endregion
6553
6563
  //#region src/components/DitoContainer.vue?vue&type=template&lang.js
6554
6564
  function Ls(e, t, r, i, a, o) {
6555
- let u = C("DitoPanels"), d = C("DitoLabel"), p = C("DitoErrors");
6556
- return k((b(), l("div", {
6557
- class: v(["dito-container", e.containerClasses]),
6558
- style: y(e.containerStyles)
6565
+ let u = w("DitoPanels"), d = w("DitoLabel"), p = w("DitoErrors");
6566
+ return k((x(), l("div", {
6567
+ class: y(["dito-container", e.containerClasses]),
6568
+ style: b(e.containerStyles)
6559
6569
  }, [
6560
- e.isMounted && e.panelEntries.length > 0 ? (b(), s(n, {
6570
+ e.isMounted && e.panelEntries.length > 0 ? (x(), s(n, {
6561
6571
  key: 0,
6562
6572
  to: ".dito-sidebar__teleport"
6563
6573
  }, [f(u, {
@@ -6573,9 +6583,9 @@ function Ls(e, t, r, i, a, o) {
6573
6583
  "store",
6574
6584
  "disabled"
6575
6585
  ])])) : c("", !0),
6576
- e.hasLabel ? (b(), s(d, {
6586
+ e.hasLabel ? (x(), s(d, {
6577
6587
  key: 1,
6578
- class: v(e.labelClasses),
6588
+ class: y(e.labelClasses),
6579
6589
  htmlFor: e.labelHtmlFor,
6580
6590
  label: e.label,
6581
6591
  info: e.info
@@ -6585,9 +6595,9 @@ function Ls(e, t, r, i, a, o) {
6585
6595
  "label",
6586
6596
  "info"
6587
6597
  ])) : c("", !0),
6588
- e.hasLabel && e.isLabel ? c("", !0) : (b(), s(w(e.typeComponent), {
6598
+ e.hasLabel && e.isLabel ? c("", !0) : (x(), s(T(e.typeComponent), {
6589
6599
  key: 2,
6590
- class: v(["dito-component", e.componentClasses]),
6600
+ class: y(["dito-component", e.componentClasses]),
6591
6601
  ref: "component",
6592
6602
  schema: e.schema,
6593
6603
  dataPath: e.dataPath,
@@ -6616,7 +6626,7 @@ function Ls(e, t, r, i, a, o) {
6616
6626
  "onErrors"
6617
6627
  ])),
6618
6628
  f(p, { errors: e.errors }, null, 8, ["errors"])
6619
- ], 6)), [[E, e.componentVisible]]);
6629
+ ], 6)), [[D, e.componentVisible]]);
6620
6630
  }
6621
6631
  var Rs = /*#__PURE__*/ X(Y.component("DitoContainer", {
6622
6632
  mixins: [Fr, K],
@@ -6814,8 +6824,8 @@ var Rs = /*#__PURE__*/ X(Y.component("DitoContainer", {
6814
6824
  "onClick"
6815
6825
  ];
6816
6826
  function Vs(e, n, r, i, a, o) {
6817
- return b(), l("div", zs, [(b(!0), l(t, null, x(e.tabs, (t, n) => (b(), l("a", {
6818
- class: v(["dito-tabs__link", { "dito-tabs__link--active": e.modelValue === n }]),
6827
+ return x(), l("div", zs, [(x(!0), l(t, null, S(e.tabs, (t, n) => (x(), l("a", {
6828
+ class: y(["dito-tabs__link", { "dito-tabs__link--active": e.modelValue === n }]),
6819
6829
  id: e.getTabId(n),
6820
6830
  key: n,
6821
6831
  role: "tab",
@@ -6823,7 +6833,7 @@ function Vs(e, n, r, i, a, o) {
6823
6833
  "aria-controls": e.getTabPanelId(n),
6824
6834
  tabindex: e.modelValue === n ? 0 : -1,
6825
6835
  onClick: (t) => e.$emit("update:modelValue", n)
6826
- }, T(e.getLabel(t, n)), 11, Bs))), 128))]);
6836
+ }, E(e.getLabel(t, n)), 11, Bs))), 128))]);
6827
6837
  }
6828
6838
  var Hs = /*#__PURE__*/ X(Y.component("DitoTabs", {
6829
6839
  emits: ["update:modelValue"],
@@ -6849,8 +6859,8 @@ var Hs = /*#__PURE__*/ X(Y.component("DitoTabs", {
6849
6859
  //#endregion
6850
6860
  //#region src/components/DitoPanel.vue?vue&type=template&lang.js
6851
6861
  function Us(e, t, n, r, i, a) {
6852
- let o = C("DitoButtons"), l = C("DitoSchema");
6853
- return e.shouldRenderSchema(e.panelSchema) ? k((b(), s(w(e.panelTag), {
6862
+ let o = w("DitoButtons"), l = w("DitoSchema");
6863
+ return e.shouldRenderSchema(e.panelSchema) ? k((x(), s(T(e.panelTag), {
6854
6864
  key: 0,
6855
6865
  class: "dito-panel",
6856
6866
  role: "region",
@@ -6870,7 +6880,7 @@ function Us(e, t, n, r, i, a) {
6870
6880
  hasOwnData: e.hasOwnData,
6871
6881
  generateLabels: ""
6872
6882
  }, {
6873
- prepend: O(() => [u("h2", { class: v(["dito-panel__header", { "dito-panel__header--sticky": e.sticky }]) }, [u("span", null, T(e.getLabel(e.schema)), 1), f(o, {
6883
+ prepend: O(() => [u("h2", { class: y(["dito-panel__header", { "dito-panel__header--sticky": e.sticky }]) }, [u("span", null, E(e.getLabel(e.schema)), 1), f(o, {
6874
6884
  class: "dito-buttons--small",
6875
6885
  buttons: e.panelButtonSchemas,
6876
6886
  buttonsName: "panelButtons",
@@ -6914,7 +6924,7 @@ function Us(e, t, n, r, i, a) {
6914
6924
  "hasOwnData"
6915
6925
  ])]),
6916
6926
  _: 1
6917
- }, 40, ["aria-label"])), [[E, e.visible && (!e.panelTabComponent || e.panelTabComponent.visible)]]) : c("", !0);
6927
+ }, 40, ["aria-label"])), [[D, e.visible && (!e.panelTabComponent || e.panelTabComponent.visible)]]) : c("", !0);
6918
6928
  }
6919
6929
  var Ws = /*#__PURE__*/ X(Y.component("DitoPanel", {
6920
6930
  mixins: [K, mo],
@@ -7037,8 +7047,8 @@ var Ws = /*#__PURE__*/ X(Y.component("DitoPanel", {
7037
7047
  class: "dito-panels"
7038
7048
  };
7039
7049
  function Ks(e, n, r, i, a, o) {
7040
- let u = C("DitoPanel");
7041
- return e.panels.length > 0 ? (b(), l("div", Gs, [(b(!0), l(t, null, x(e.panels, ({ schema: n, dataPath: r, componentPath: i, tabComponent: a }) => (b(), l(t, null, [e.shouldRenderSchema(n) ? (b(), s(u, {
7050
+ let u = w("DitoPanel");
7051
+ return e.panels.length > 0 ? (x(), l("div", Gs, [(x(!0), l(t, null, S(e.panels, ({ schema: n, dataPath: r, componentPath: i, tabComponent: a }) => (x(), l(t, null, [e.shouldRenderSchema(n) ? (x(), s(u, {
7042
7052
  key: e.getPanelKey(r, a),
7043
7053
  schema: n,
7044
7054
  dataPath: r,
@@ -7097,8 +7107,8 @@ var qs = /*#__PURE__*/ X(Y.component("DitoPanels", {
7097
7107
  class: "dito-container"
7098
7108
  };
7099
7109
  function Xs(e, n, r, i, a, o) {
7100
- let u = C("DitoContainer"), d = C("DitoVnode");
7101
- return e.buttonSchemas || e.hasSlotContent(e.$slots.default) ? (b(), l("div", Js, [(b(!0), l(t, null, x(e.buttonSchemas, (n, r) => (b(), l(t, null, [e.shouldRenderSchema(n) ? (b(), s(u, {
7110
+ let u = w("DitoContainer"), d = w("DitoVnode");
7111
+ return e.buttonSchemas || e.hasSlotContent(e.$slots.default) ? (x(), l("div", Js, [(x(!0), l(t, null, S(e.buttonSchemas, (n, r) => (x(), l(t, null, [e.shouldRenderSchema(n) ? (x(), s(u, {
7102
7112
  key: r,
7103
7113
  schema: n,
7104
7114
  dataPath: r,
@@ -7115,7 +7125,7 @@ function Xs(e, n, r, i, a, o) {
7115
7125
  "nested",
7116
7126
  "store",
7117
7127
  "disabled"
7118
- ])) : c("", !0)], 64))), 256)), (b(!0), l(t, null, x(e.$slots.default?.(), (n) => (b(), l(t, null, [e.hasVNodeContent(n) ? (b(), l("div", Ys, [f(d, { vnode: n }, null, 8, ["vnode"])])) : c("", !0)], 64))), 256))])) : c("", !0);
7128
+ ])) : c("", !0)], 64))), 256)), (x(!0), l(t, null, S(e.$slots.default?.(), (n) => (x(), l(t, null, [e.hasVNodeContent(n) ? (x(), l("div", Ys, [f(d, { vnode: n }, null, 8, ["vnode"])])) : c("", !0)], 64))), 256))])) : c("", !0);
7119
7129
  }
7120
7130
  var Zs = /*#__PURE__*/ X(Y.component("DitoButtons", {
7121
7131
  mixins: [K],
@@ -7169,8 +7179,8 @@ var Zs = /*#__PURE__*/ X(Y.component("DitoButtons", {
7169
7179
  }
7170
7180
  }), [["render", Xs]]), Qs = ["disabled"];
7171
7181
  function $s(e, t, n, r, i, a) {
7172
- let o = C("RouterLink"), u = C("DitoCreateButton"), d = C("DitoButtons");
7173
- return b(), s(d, {
7182
+ let o = w("RouterLink"), u = w("DitoCreateButton"), d = w("DitoButtons");
7183
+ return x(), s(d, {
7174
7184
  class: "dito-edit-buttons dito-buttons--round",
7175
7185
  buttons: e.buttons,
7176
7186
  dataPath: e.dataPath,
@@ -7181,16 +7191,16 @@ function $s(e, t, n, r, i, a) {
7181
7191
  onClick: t[1] ||= A(() => {}, ["stop"])
7182
7192
  }, {
7183
7193
  default: O(() => [
7184
- e.draggable ? (b(), l("a", _({
7194
+ e.draggable ? (x(), l("a", v({
7185
7195
  key: 0,
7186
7196
  class: ["dito-button", { "dito-button--disabled": e.isDraggableDisabled }]
7187
7197
  }, e.getButtonAttributes(e.verbs.drag)), null, 16)) : c("", !0),
7188
- e.editable ? (b(), s(o, _({
7198
+ e.editable ? (x(), s(o, v({
7189
7199
  key: 1,
7190
7200
  class: ["dito-button", { "dito-button--disabled": e.isEditableDisabled }],
7191
7201
  to: e.editPath ? { path: e.editPath } : {}
7192
7202
  }, e.getButtonAttributes(e.verbs.edit)), null, 16, ["class", "to"])) : c("", !0),
7193
- e.creatable ? (b(), s(u, {
7203
+ e.creatable ? (x(), s(u, {
7194
7204
  key: 2,
7195
7205
  schema: e.schema,
7196
7206
  dataPath: e.dataPath,
@@ -7216,7 +7226,7 @@ function $s(e, t, n, r, i, a) {
7216
7226
  "disabled",
7217
7227
  "insertIndex"
7218
7228
  ])) : c("", !0),
7219
- e.deletable ? (b(), l("button", _({
7229
+ e.deletable ? (x(), l("button", v({
7220
7230
  key: 3,
7221
7231
  class: "dito-button",
7222
7232
  type: "button",
@@ -7326,27 +7336,27 @@ var ec = /*#__PURE__*/ X(Y.component("DitoEditButtons", {
7326
7336
  } }
7327
7337
  }), [["render", $s]]), tc = { class: "dito-create-button" }, nc = ["type", "disabled"], rc = ["disabled"], ic = ["onMousedown", "onMouseup"];
7328
7338
  function ac(e, n, r, i, a, o) {
7329
- return b(), l("div", tc, [e.creatableForm ? (b(), l("button", _({
7339
+ return x(), l("div", tc, [e.creatableForm ? (x(), l("button", v({
7330
7340
  key: 0,
7331
7341
  class: "dito-button",
7332
7342
  type: e.isInlined ? "button" : "submit",
7333
7343
  disabled: e.disabled
7334
- }, e.getButtonAttributes(e.verb, e.formLabel), { onClick: n[0] ||= (t) => e.createItem(e.creatableForm) }), T(e.text), 17, nc)) : e.creatableForms ? (b(), l(t, { key: 1 }, [u("button", _({
7344
+ }, e.getButtonAttributes(e.verb, e.formLabel), { onClick: n[0] ||= (t) => e.createItem(e.creatableForm) }), E(e.text), 17, nc)) : e.creatableForms ? (x(), l(t, { key: 1 }, [u("button", v({
7335
7345
  class: "dito-button",
7336
7346
  type: "button",
7337
7347
  disabled: e.disabled
7338
7348
  }, {
7339
7349
  ...e.pulldownTriggerAttributes,
7340
7350
  ...e.getButtonAttributes(e.verb)
7341
- }, { onMousedown: n[1] ||= A((t) => e.onPulldownMouseDown(), ["stop"]) }), T(e.text), 17, rc), u("ul", {
7342
- class: v(["dito-pulldown", { "dito-pulldown--open": e.pulldown.open }]),
7351
+ }, { onMousedown: n[1] ||= A((t) => e.onPulldownMouseDown(), ["stop"]) }), E(e.text), 17, rc), u("ul", {
7352
+ class: y(["dito-pulldown", { "dito-pulldown--open": e.pulldown.open }]),
7343
7353
  role: "menu"
7344
- }, [(b(!0), l(t, null, x(e.creatableForms, (t, n) => k((b(), l("li", null, [u("a", {
7345
- class: v(["dito-pulldown__item", { "dito-pulldown__item--disabled": e.shouldDisableSchema(t) }]),
7354
+ }, [(x(!0), l(t, null, S(e.creatableForms, (t, n) => k((x(), l("li", null, [u("a", {
7355
+ class: y(["dito-pulldown__item", { "dito-pulldown__item--disabled": e.shouldDisableSchema(t) }]),
7346
7356
  role: "menuitem",
7347
7357
  onMousedown: A((t) => e.onPulldownMouseDown(n), ["stop"]),
7348
7358
  onMouseup: (t) => e.onPulldownMouseUp(n)
7349
- }, T(e.getLabel(t)), 43, ic)], 512)), [[E, e.shouldShowSchema(t)]])), 256))], 2)], 64)) : c("", !0)]);
7359
+ }, E(e.getLabel(t)), 43, ic)], 512)), [[D, e.shouldShowSchema(t)]])), 256))], 2)], 64)) : c("", !0)]);
7350
7360
  }
7351
7361
  var oc = /*#__PURE__*/ X(Y.component("DitoCreateButton", {
7352
7362
  mixins: [K, as],
@@ -7450,7 +7460,7 @@ var oc = /*#__PURE__*/ X(Y.component("DitoCreateButton", {
7450
7460
  class: "dito-clipboard dito-buttons dito-buttons--round"
7451
7461
  }, cc = ["disabled"], lc = ["disabled"];
7452
7462
  function uc(e, t, n, r, i, a) {
7453
- return e.clipboard ? (b(), l("div", sc, [u("button", {
7463
+ return e.clipboard ? (x(), l("div", sc, [u("button", {
7454
7464
  class: "dito-button dito-button--copy",
7455
7465
  ref: "copyData",
7456
7466
  type: "button",
@@ -7823,18 +7833,18 @@ var gc = ["data-resource"], _c = {
7823
7833
  disabled: ""
7824
7834
  };
7825
7835
  function vc(e, t, n, r, i, a) {
7826
- let o = C("DitoRouterView"), d = C("DitoButtons"), p = C("DitoSchema"), m = C("DitoFormInner");
7827
- return b(), l("div", {
7828
- class: v(["dito-form dito-scroll-parent", { "dito-form-nested": e.isNestedRoute }]),
7836
+ let o = w("DitoRouterView"), d = w("DitoButtons"), p = w("DitoSchema"), m = w("DitoFormInner");
7837
+ return x(), l("div", {
7838
+ class: y(["dito-form dito-scroll-parent", { "dito-form-nested": e.isNestedRoute }]),
7829
7839
  "data-resource": e.sourceSchema.path
7830
- }, [!e.isLastUnnestedRoute && !e.isNestedRoute ? k((b(), s(o, {
7840
+ }, [!e.isLastUnnestedRoute && !e.isNestedRoute ? k((x(), s(o, {
7831
7841
  key: 0,
7832
7842
  routeLevel: e.routeLevel + 1
7833
- }, null, 8, ["routeLevel"])), [[E, !e.isActiveRoute]]) : c("", !0), k(f(m, {
7843
+ }, null, 8, ["routeLevel"])), [[D, !e.isActiveRoute]]) : c("", !0), k(f(m, {
7834
7844
  nested: e.isNestedRoute,
7835
7845
  label: e.itemLabel
7836
7846
  }, {
7837
- default: O(() => [k(u("button", _c, null, 512), [[E, !1]]), f(p, {
7847
+ default: O(() => [k(u("button", _c, null, 512), [[D, !1]]), f(p, {
7838
7848
  schema: e.schema,
7839
7849
  dataPath: e.dataPath,
7840
7850
  data: e.data,
@@ -7847,7 +7857,7 @@ function vc(e, t, n, r, i, a) {
7847
7857
  generateLabels: ""
7848
7858
  }, {
7849
7859
  buttons: O(() => [f(d, {
7850
- class: v(["dito-buttons--round dito-buttons--large dito-buttons--main", { "dito-buttons--sticky": !e.isNestedRoute }]),
7860
+ class: y(["dito-buttons--round dito-buttons--large dito-buttons--main", { "dito-buttons--sticky": !e.isNestedRoute }]),
7851
7861
  buttons: e.buttonSchemas,
7852
7862
  dataPath: e.dataPath,
7853
7863
  data: e.data,
@@ -7876,7 +7886,7 @@ function vc(e, t, n, r, i, a) {
7876
7886
  "scrollable"
7877
7887
  ])]),
7878
7888
  _: 1
7879
- }, 8, ["nested", "label"]), [[E, e.isActiveRoute]])], 10, gc);
7889
+ }, 8, ["nested", "label"]), [[D, e.isActiveRoute]])], 10, gc);
7880
7890
  }
7881
7891
  var yc = /*#__PURE__*/ X(Y.component("DitoForm", {
7882
7892
  mixins: [ho, mc],
@@ -8138,12 +8148,12 @@ var yc = /*#__PURE__*/ X(Y.component("DitoForm", {
8138
8148
  }
8139
8149
  }), [["render", vc]]), bc = { key: 0 }, xc = ["aria-label"];
8140
8150
  function Sc(e, t, n, r, i, a) {
8141
- return e.nested ? (b(), l("div", bc, [S(e.$slots, "default")])) : (b(), l("form", {
8151
+ return e.nested ? (x(), l("div", bc, [C(e.$slots, "default")])) : (x(), l("form", {
8142
8152
  key: 1,
8143
8153
  class: "dito-scroll-parent",
8144
8154
  "aria-label": e.label,
8145
8155
  onSubmit: t[0] ||= A(() => {}, ["prevent"])
8146
- }, [S(e.$slots, "default")], 40, xc));
8156
+ }, [C(e.$slots, "default")], 40, xc));
8147
8157
  }
8148
8158
  var Cc = /*#__PURE__*/ X(Y.component("DitoFormInner", { props: {
8149
8159
  nested: {
@@ -8160,7 +8170,7 @@ var Cc = /*#__PURE__*/ X(Y.component("DitoFormInner", { props: {
8160
8170
  role: "alert"
8161
8171
  };
8162
8172
  function Ec(e, n, r, i, a, o) {
8163
- return e.errors ? (b(), l("div", Tc, [u("ul", null, [(b(!0), l(t, null, x(e.errors, (e) => (b(), l("li", null, T(e), 1))), 256))])])) : c("", !0);
8173
+ return e.errors ? (x(), l("div", Tc, [u("ul", null, [(x(!0), l(t, null, S(e.errors, (e) => (x(), l("li", null, E(e), 1))), 256))])])) : c("", !0);
8164
8174
  }
8165
8175
  var Dc = /*#__PURE__*/ X(Y.component("DitoErrors", {
8166
8176
  props: { errors: {
@@ -8178,7 +8188,7 @@ var Dc = /*#__PURE__*/ X(Y.component("DitoErrors", {
8178
8188
  },
8179
8189
  methods: { updateErrors() {
8180
8190
  let { tip: e } = this;
8181
- e?.hide(), this.errors && (e = this.tip ??= te(Xe(this.$el.closest(".dito-container"))), e.setProps({
8191
+ e?.hide(), this.errors && (e = this.tip ??= ee(Xe(this.$el.closest(".dito-container"))), e.setProps({
8182
8192
  content: this.errors.join("\n"),
8183
8193
  theme: "error",
8184
8194
  trigger: "manual",
@@ -8201,19 +8211,19 @@ var Dc = /*#__PURE__*/ X(Y.component("DitoErrors", {
8201
8211
  "onClick"
8202
8212
  ];
8203
8213
  function Ac(e, n, r, i, a, o) {
8204
- let c = C("RouterLink");
8205
- return b(), l("div", Oc, [(b(!0), l(t, null, x(e.scopes, (t, n) => (b(), s(c, {
8214
+ let c = w("RouterLink");
8215
+ return x(), l("div", Oc, [(x(!0), l(t, null, S(e.scopes, (t, n) => (x(), s(c, {
8206
8216
  key: n,
8207
8217
  to: e.getScopeLink(t),
8208
8218
  custom: ""
8209
8219
  }, {
8210
8220
  default: O(({ navigate: n }) => [u("button", {
8211
- class: v(["dito-button", { "dito-button--selected": t.name === e.query.scope }]),
8221
+ class: y(["dito-button", { "dito-button--selected": t.name === e.query.scope }]),
8212
8222
  type: "button",
8213
8223
  "aria-pressed": t.name === e.query.scope,
8214
8224
  title: t.hint || e.getLabel(t),
8215
8225
  onClick: n
8216
- }, T(e.getLabel(t)), 11, kc)]),
8226
+ }, E(e.getLabel(t)), 11, kc)]),
8217
8227
  _: 2
8218
8228
  }, 1032, ["to"]))), 128))]);
8219
8229
  }
@@ -8239,8 +8249,8 @@ var jc = /*#__PURE__*/ X(Y.component("DitoScopes", {
8239
8249
  //#endregion
8240
8250
  //#region src/components/DitoPagination.vue?vue&type=template&lang.js
8241
8251
  function Mc(e, t, n, r, i, a) {
8242
- let o = C("Pagination");
8243
- return b(), s(o, {
8252
+ let o = w("Pagination");
8253
+ return x(), s(o, {
8244
8254
  page: e.page,
8245
8255
  "onUpdate:page": t[0] ||= (t) => e.page = t,
8246
8256
  pageSize: e.limit,
@@ -8321,17 +8331,17 @@ var Nc = /*#__PURE__*/ X(Y.component("DitoPagination", {
8321
8331
  class: "dito-properties"
8322
8332
  };
8323
8333
  function Wc(e, n, r, i, a, o) {
8324
- let d = C("DitoLabel"), p = C("DitoTableCell"), m = C("DitoTreeItem", !0), h = C("DitoDraggable");
8325
- return b(), l("div", {
8326
- class: v(["dito-tree-item", {
8334
+ let d = w("DitoLabel"), p = w("DitoTableCell"), m = w("DitoTreeItem", !0), h = w("DitoDraggable");
8335
+ return x(), l("div", {
8336
+ class: y(["dito-tree-item", {
8327
8337
  "dito-tree-item--dragging": e.isDragging,
8328
8338
  "dito-tree-item--active": e.active
8329
8339
  }]),
8330
8340
  id: e.componentPath,
8331
- style: y(e.level > 0 && { "--level": e.level }),
8341
+ style: b(e.level > 0 && { "--level": e.level }),
8332
8342
  "data-path": e.path
8333
8343
  }, [
8334
- e.label ? (b(), l("div", Ic, [e.numEntries ? (b(), l("div", {
8344
+ e.label ? (x(), l("div", Ic, [e.numEntries ? (x(), l("div", {
8335
8345
  key: 0,
8336
8346
  class: "dito-tree-branch",
8337
8347
  role: "button",
@@ -8341,35 +8351,35 @@ function Wc(e, n, r, i, a, o) {
8341
8351
  onClick: n[0] ||= A((t) => e.opened = !e.opened, ["stop"]),
8342
8352
  onKeydown: n[1] ||= he(A((t) => e.opened = !e.opened, ["prevent"]), ["enter", "space"])
8343
8353
  }, [
8344
- e.numEntries ? (b(), l("div", {
8354
+ e.numEntries ? (x(), l("div", {
8345
8355
  key: 0,
8346
- class: v(["dito-chevron", { "dito-chevron--open": e.opened }])
8356
+ class: y(["dito-chevron", { "dito-chevron--open": e.opened }])
8347
8357
  }, null, 2)) : c("", !0),
8348
8358
  u("div", {
8349
8359
  class: "dito-tree-label",
8350
8360
  innerHTML: e.label
8351
8361
  }, null, 8, Rc),
8352
- e.details ? (b(), l("div", zc, T(e.details), 1)) : c("", !0)
8353
- ], 40, Lc)) : (b(), l("div", Bc, [u("div", {
8362
+ e.details ? (x(), l("div", zc, E(e.details), 1)) : c("", !0)
8363
+ ], 40, Lc)) : (x(), l("div", Bc, [u("div", {
8354
8364
  class: "dito-tree-label",
8355
8365
  innerHTML: e.label
8356
- }, null, 8, Vc)])), e.hasEditButtons ? (b(), l("div", Hc, [
8357
- e.draggable ? (b(), l("a", _({
8366
+ }, null, 8, Vc)])), e.hasEditButtons ? (x(), l("div", Hc, [
8367
+ e.draggable ? (x(), l("a", v({
8358
8368
  key: 0,
8359
8369
  class: "dito-button"
8360
8370
  }, e.getButtonAttributes(e.verbs.drag)), null, 16)) : c("", !0),
8361
- e.editable ? (b(), l("button", _({
8371
+ e.editable ? (x(), l("button", v({
8362
8372
  key: 1,
8363
8373
  class: "dito-button",
8364
8374
  type: "button"
8365
8375
  }, e.getButtonAttributes(e.verbs.edit), { onClick: n[2] ||= (...t) => e.onEdit && e.onEdit(...t) }), null, 16)) : c("", !0),
8366
- e.deletable ? (b(), l("button", _({
8376
+ e.deletable ? (x(), l("button", v({
8367
8377
  key: 2,
8368
8378
  class: "dito-button",
8369
8379
  type: "button"
8370
8380
  }, e.getButtonAttributes(e.verbs.delete), { onClick: n[3] ||= (...t) => e.onDelete && e.onDelete(...t) }), null, 16)) : c("", !0)
8371
8381
  ])) : c("", !0)])) : c("", !0),
8372
- e.properties ? k((b(), l("table", Uc, [(b(!0), l(t, null, x(e.properties, (t) => (b(), l("tr", null, [u("td", null, [t.label === !1 ? c("", !0) : (b(), s(d, {
8382
+ e.properties ? k((x(), l("table", Uc, [(x(!0), l(t, null, S(e.properties, (t) => (x(), l("tr", null, [u("td", null, [t.label === !1 ? c("", !0) : (x(), s(d, {
8373
8383
  key: 0,
8374
8384
  label: e.getLabel(t)
8375
8385
  }, null, 8, ["label"]))]), f(p, {
@@ -8388,15 +8398,15 @@ function Wc(e, n, r, i, a, o) {
8388
8398
  "meta",
8389
8399
  "store",
8390
8400
  "disabled"
8391
- ])]))), 256))], 512)), [[E, e.opened]]) : c("", !0),
8392
- e.childrenSchema ? k((b(), s(h, {
8401
+ ])]))), 256))], 512)), [[D, e.opened]]) : c("", !0),
8402
+ e.childrenSchema ? k((x(), s(h, {
8393
8403
  key: 2,
8394
8404
  options: e.getDraggableOptions(!0),
8395
8405
  draggable: e.childrenDraggable,
8396
8406
  modelValue: e.childrenList,
8397
8407
  "onUpdate:modelValue": n[4] ||= (t) => e.childrenList = t
8398
8408
  }, {
8399
- default: O(() => [(b(!0), l(t, null, x(e.childrenItems, (t, n) => (b(), s(m, {
8409
+ default: O(() => [(x(!0), l(t, null, S(e.childrenItems, (t, n) => (x(), s(m, {
8400
8410
  key: e.getItemUid(e.childrenSchema, t.data),
8401
8411
  schema: e.childrenSchema,
8402
8412
  dataPath: e.getItemDataPath(e.childrenSchema, n),
@@ -8423,7 +8433,7 @@ function Wc(e, n, r, i, a, o) {
8423
8433
  "options",
8424
8434
  "draggable",
8425
8435
  "modelValue"
8426
- ])), [[E, e.opened]]) : c("", !0)
8436
+ ])), [[D, e.opened]]) : c("", !0)
8427
8437
  ], 14, Fc);
8428
8438
  }
8429
8439
  var Gc = /*#__PURE__*/ X(Y.component("DitoTreeItem", {
@@ -8595,24 +8605,24 @@ var Gc = /*#__PURE__*/ X(Y.component("DitoTreeItem", {
8595
8605
  }
8596
8606
  }), [["render", Wc]]), Kc = { class: "dito-table-head" }, qc = ["aria-sort", "onClick"], Jc = { key: 1 }, Yc = { key: 0 };
8597
8607
  function Xc(e, n, r, i, a, o) {
8598
- let d = C("RouterLink");
8599
- return b(), l("thead", Kc, [u("tr", null, [(b(!0), l(t, null, x(e.columns, (r) => (b(), l(t, null, [e.shouldRenderSchema(r) ? (b(), l("th", {
8608
+ let d = w("RouterLink");
8609
+ return x(), l("thead", Kc, [u("tr", null, [(x(!0), l(t, null, S(e.columns, (r) => (x(), l(t, null, [e.shouldRenderSchema(r) ? (x(), l("th", {
8600
8610
  key: 0,
8601
8611
  scope: "col",
8602
- class: v(e.getColumnClass(r))
8603
- }, [r.sortable ? (b(), s(d, {
8612
+ class: y(e.getColumnClass(r))
8613
+ }, [r.sortable ? (x(), s(d, {
8604
8614
  key: 0,
8605
8615
  to: e.getSortLink(r),
8606
8616
  custom: ""
8607
8617
  }, {
8608
8618
  default: O(({ navigate: t }) => [u("button", {
8609
- class: v(["dito-button", e.getSortClass(r)]),
8619
+ class: y(["dito-button", e.getSortClass(r)]),
8610
8620
  type: "button",
8611
8621
  "aria-sort": e.getSortState(r),
8612
8622
  onClick: t
8613
- }, [n[0] ||= u("div", { class: "dito-button__order-arrows" }, null, -1), u("span", null, T(e.getLabel(r)), 1)], 10, qc)]),
8623
+ }, [n[0] ||= u("div", { class: "dito-button__order-arrows" }, null, -1), u("span", null, E(e.getLabel(r)), 1)], 10, qc)]),
8614
8624
  _: 2
8615
- }, 1032, ["to"])) : (b(), l("span", Jc, T(e.getLabel(r)), 1))], 2)) : c("", !0)], 64))), 256)), e.hasEditButtons ? (b(), l("th", Yc, [...n[1] ||= [u("span", null, null, -1)]])) : c("", !0)])]);
8625
+ }, 1032, ["to"])) : (x(), l("span", Jc, E(e.getLabel(r)), 1))], 2)) : c("", !0)], 64))), 256)), e.hasEditButtons ? (x(), l("th", Yc, [...n[1] ||= [u("span", null, null, -1)]])) : c("", !0)])]);
8616
8626
  }
8617
8627
  var Zc = /*#__PURE__*/ X(Y.component("DitoTableHead", {
8618
8628
  props: {
@@ -8659,10 +8669,10 @@ var Zc = /*#__PURE__*/ X(Y.component("DitoTableHead", {
8659
8669
  }
8660
8670
  }), [["render", Xc]]), Qc = ["innerHTML"];
8661
8671
  function $c(e, t, n, r, i, a) {
8662
- return b(), l("td", {
8663
- class: v(e.cell.class),
8664
- style: y(e.cell.style)
8665
- }, [e.cell.component ? (b(), s(w(e.cell.component), {
8672
+ return x(), l("td", {
8673
+ class: y(e.cell.class),
8674
+ style: b(e.cell.style)
8675
+ }, [e.cell.component ? (x(), s(T(e.cell.component), {
8666
8676
  key: 0,
8667
8677
  schema: e.schema,
8668
8678
  dataPath: e.dataPath,
@@ -8679,7 +8689,7 @@ function $c(e, t, n, r, i, a) {
8679
8689
  "store",
8680
8690
  "nested",
8681
8691
  "disabled"
8682
- ])) : (b(), l("span", {
8692
+ ])) : (x(), l("span", {
8683
8693
  key: 1,
8684
8694
  innerHTML: e.renderCell(e.data)
8685
8695
  }, null, 8, Qc))], 6);
@@ -8734,14 +8744,14 @@ var el = /*#__PURE__*/ X(Y.component("DitoTableCell", {
8734
8744
  class: "dito-thumbnail__type"
8735
8745
  };
8736
8746
  function al(e, t, n, r, i, a) {
8737
- return b(), l("div", tl, [e.thumbnail ? (b(), l("div", {
8747
+ return x(), l("div", tl, [e.thumbnail ? (x(), l("div", {
8738
8748
  key: 0,
8739
- class: v(["dito-thumbnail", `dito-thumbnail--${e.thumbnail}`])
8740
- }, [u("div", nl, [e.source ? (b(), l("img", {
8749
+ class: y(["dito-thumbnail", `dito-thumbnail--${e.thumbnail}`])
8750
+ }, [u("div", nl, [e.source ? (x(), l("img", {
8741
8751
  key: 0,
8742
8752
  src: e.source,
8743
8753
  crossorigin: "anonymous"
8744
- }, null, 8, rl)) : (b(), l("div", il, [u("span", null, T(e.type), 1)]))])], 2)) : c("", !0), u("span", null, T(e.file.name), 1)]);
8754
+ }, null, 8, rl)) : (x(), l("div", il, [u("span", null, E(e.type), 1)]))])], 2)) : c("", !0), u("span", null, E(e.file.name), 1)]);
8745
8755
  }
8746
8756
  //#endregion
8747
8757
  //#region src/components/DitoUploadFile.vue
@@ -8817,7 +8827,7 @@ function ll(e, t, n = {}) {
8817
8827
  if (t !== void 0) r?.option(e, t);
8818
8828
  else return r?.option(e);
8819
8829
  }, f;
8820
- return a && typeof e != "string" ? f = D(() => it(e), (e) => {
8830
+ return a && typeof e != "string" ? f = me(() => it(e), (e) => {
8821
8831
  c(), e && l(e);
8822
8832
  }, {
8823
8833
  immediate: !0,
@@ -8841,10 +8851,10 @@ function dl(e) {
8841
8851
  }
8842
8852
  function fl(e, t, n, r = null) {
8843
8853
  r != null && (dl(r.item), ul(r.from, r.item, t));
8844
- let i = ee(e), a = i ? [...ce(e)] : ce(e);
8854
+ let i = _(e), a = i ? [...se(e)] : se(e);
8845
8855
  if (n >= 0 && n < a.length) {
8846
8856
  let r = a.splice(t, 1)[0];
8847
- ne(() => {
8857
+ te(() => {
8848
8858
  a.splice(n, 0, r), i && (e.value = a);
8849
8859
  });
8850
8860
  }
@@ -8852,7 +8862,7 @@ function fl(e, t, n, r = null) {
8852
8862
  //#endregion
8853
8863
  //#region ../../node_modules/@vueuse/integrations/dist/useSortable/component.js
8854
8864
  var pl = /* #__PURE__ */ p((e, { slots: t }) => {
8855
- let n = at(e, "modelValue"), r = oe(), i = ie(ll(r, n, e.options));
8865
+ let n = at(e, "modelValue"), r = ae(), i = re(ll(r, n, e.options));
8856
8866
  return () => {
8857
8867
  if (t.default) return g(e.as || "div", { ref: r }, t.default(i));
8858
8868
  };
@@ -8867,10 +8877,10 @@ var pl = /* #__PURE__ */ p((e, { slots: t }) => {
8867
8877
  //#endregion
8868
8878
  //#region src/components/DitoDraggable.vue?vue&type=template&lang.js
8869
8879
  function ml(e, t, n, r, i, a) {
8870
- let o = C("UseSortable");
8871
- return e.draggable ? (b(), s(o, {
8880
+ let o = w("UseSortable");
8881
+ return e.draggable ? (x(), s(o, {
8872
8882
  key: 0,
8873
- class: v(["dito-draggable", { "dito-draggable--dragging": e.isDragging }]),
8883
+ class: y(["dito-draggable", { "dito-draggable--dragging": e.isDragging }]),
8874
8884
  as: e.as,
8875
8885
  modelValue: e.modelValue,
8876
8886
  options: {
@@ -8880,15 +8890,15 @@ function ml(e, t, n, r, i, a) {
8880
8890
  },
8881
8891
  "onUpdate:modelValue": t[0] ||= (t) => e.$emit("update:modelValue", t)
8882
8892
  }, {
8883
- default: O(() => [S(e.$slots, "default")]),
8893
+ default: O(() => [C(e.$slots, "default")]),
8884
8894
  _: 3
8885
8895
  }, 8, [
8886
8896
  "class",
8887
8897
  "as",
8888
8898
  "modelValue",
8889
8899
  "options"
8890
- ])) : (b(), s(w(e.as), { key: 1 }, {
8891
- default: O(() => [S(e.$slots, "default")]),
8900
+ ])) : (x(), s(T(e.as), { key: 1 }, {
8901
+ default: O(() => [C(e.$slots, "default")]),
8892
8902
  _: 3
8893
8903
  }));
8894
8904
  }
@@ -9015,8 +9025,8 @@ function yl(e) {
9015
9025
  //#region src/types/DitoTypeButton.vue?vue&type=template&lang.js
9016
9026
  var bl = ["data-info"];
9017
9027
  function xl(e, t, n, r, i, a) {
9018
- let o = C("DitoAffixes"), u = C("DitoButton");
9019
- return b(), s(u, _({
9028
+ let o = w("DitoAffixes"), u = w("DitoButton");
9029
+ return x(), s(u, v({
9020
9030
  class: ["dito-button", e.buttonClass],
9021
9031
  id: e.componentPath,
9022
9032
  ref: "element",
@@ -9025,7 +9035,7 @@ function xl(e, t, n, r, i, a) {
9025
9035
  title: e.title,
9026
9036
  disabled: e.disabled
9027
9037
  }, e.attributes), {
9028
- prefix: O(() => [e.prefixes.length > 0 ? (b(), s(o, {
9038
+ prefix: O(() => [e.prefixes.length > 0 ? (x(), s(o, {
9029
9039
  key: 0,
9030
9040
  items: e.prefixes,
9031
9041
  position: "prefix",
@@ -9036,7 +9046,7 @@ function xl(e, t, n, r, i, a) {
9036
9046
  "disabled",
9037
9047
  "parentContext"
9038
9048
  ])) : c("", !0)]),
9039
- suffix: O(() => [e.suffixes.length > 0 ? (b(), s(o, {
9049
+ suffix: O(() => [e.suffixes.length > 0 ? (x(), s(o, {
9040
9050
  key: 0,
9041
9051
  items: e.suffixes,
9042
9052
  position: "suffix",
@@ -9046,7 +9056,7 @@ function xl(e, t, n, r, i, a) {
9046
9056
  "items",
9047
9057
  "disabled",
9048
9058
  "parentContext"
9049
- ])) : c("", !0), !e.label && e.info ? (b(), l("div", {
9059
+ ])) : c("", !0), !e.label && e.info ? (x(), l("div", {
9050
9060
  key: 1,
9051
9061
  class: "dito-info",
9052
9062
  "data-info": e.info
@@ -9129,12 +9139,12 @@ var Sl = /*#__PURE__*/ X(Q.register(["button", "submit"], {
9129
9139
  }
9130
9140
  }), [["render", xl]]), Cl = { class: "dito-checkbox" }, wl = ["id"];
9131
9141
  function Tl(e, t, n, r, i, a) {
9132
- return b(), l("div", Cl, [k(u("input", _({
9142
+ return x(), l("div", Cl, [k(u("input", v({
9133
9143
  id: e.componentPath,
9134
9144
  ref: "element",
9135
9145
  "onUpdate:modelValue": t[0] ||= (t) => e.value = t,
9136
9146
  type: "checkbox"
9137
- }, e.attributes), null, 16, wl), [[ue, e.value]])]);
9147
+ }, e.attributes), null, 16, wl), [[le, e.value]])]);
9138
9148
  }
9139
9149
  var El = /*#__PURE__*/ X(Q.register("checkbox", { nativeField: !0 }), [["render", Tl]]), Dl = {
9140
9150
  computed: {
@@ -9295,7 +9305,7 @@ var El = /*#__PURE__*/ X(Q.register("checkbox", { nativeField: !0 }), [["render"
9295
9305
  return this.optionValue ? t(this.activeOptions, e, this.groupBy) : e;
9296
9306
  },
9297
9307
  getValueForOption(e) {
9298
- if (this.shouldSetTemporaryId(e)) return se(e);
9308
+ if (this.shouldSetTemporaryId(e)) return oe(e);
9299
9309
  let { optionValue: t } = this;
9300
9310
  return R(t) ? e?.[t] ?? null : F(t) ? t(new G(this, { option: e })) : e;
9301
9311
  },
@@ -9315,18 +9325,18 @@ var El = /*#__PURE__*/ X(Q.register("checkbox", { nativeField: !0 }), [["render"
9315
9325
  }
9316
9326
  }, Ol = ["id", "aria-label"], kl = { class: "dito-checkbox" }, Al = ["value"];
9317
9327
  function jl(e, n, r, i, a, o) {
9318
- return b(), l("ul", {
9319
- class: v(["dito-checkboxes", `dito-layout--${e.schema.layout || "vertical"}`]),
9328
+ return x(), l("ul", {
9329
+ class: y(["dito-checkboxes", `dito-layout--${e.schema.layout || "vertical"}`]),
9320
9330
  id: e.componentPath,
9321
9331
  role: "group",
9322
9332
  "aria-label": e.label
9323
- }, [(b(!0), l(t, null, x(e.options, (t) => (b(), l("li", null, [u("label", null, [u("div", kl, [k(u("input", _({
9333
+ }, [(x(!0), l(t, null, S(e.options, (t) => (x(), l("li", null, [u("label", null, [u("div", kl, [k(u("input", v({
9324
9334
  ref_for: !0,
9325
9335
  ref: "element",
9326
9336
  "onUpdate:modelValue": n[0] ||= (t) => e.selectedOptions = t,
9327
9337
  type: "checkbox",
9328
9338
  value: e.getValueForOption(t)
9329
- }, { ref_for: !0 }, e.attributes), null, 16, Al), [[ue, e.selectedOptions]]), u("span", null, T(e.getLabelForOption(t)), 1)])])]))), 256))], 10, Ol);
9339
+ }, { ref_for: !0 }, e.attributes), null, 16, Al), [[le, e.selectedOptions]]), u("span", null, E(e.getLabelForOption(t)), 1)])])]))), 256))], 10, Ol);
9330
9340
  }
9331
9341
  var Ml = /*#__PURE__*/ X(Q.register("checkboxes", {
9332
9342
  mixins: [Dl],
@@ -9352,11 +9362,11 @@ var Ml = /*#__PURE__*/ X(Q.register("checkboxes", {
9352
9362
  ref: "editor"
9353
9363
  };
9354
9364
  function Fl(e, t, n, r, i, a) {
9355
- return b(), l("div", {
9365
+ return x(), l("div", {
9356
9366
  class: "dito-code",
9357
9367
  id: e.componentPath,
9358
- style: y(e.style)
9359
- }, [u("div", Pl, null, 512), e.resizable ? (b(), l("div", {
9368
+ style: b(e.style)
9369
+ }, [u("div", Pl, null, 512), e.resizable ? (x(), l("div", {
9360
9370
  key: 0,
9361
9371
  class: "dito-resize",
9362
9372
  onMousedown: t[0] ||= A((...t) => e.onDragResize && e.onDragResize(...t), ["stop", "prevent"])
@@ -9442,14 +9452,14 @@ var Il = /*#__PURE__*/ X(Q.register("code", {
9442
9452
  class: "dito-color__preview"
9443
9453
  };
9444
9454
  function Rl(e, t, n, r, i, a) {
9445
- let o = C("DitoAffixes"), d = C("DitoInput"), p = C("SketchPicker"), m = C("DitoTrigger");
9446
- return b(), s(m, {
9455
+ let o = w("DitoAffixes"), d = w("DitoInput"), p = w("SketchPicker"), m = w("DitoTrigger");
9456
+ return x(), s(m, {
9447
9457
  class: "dito-color",
9448
9458
  show: e.showPopup,
9449
9459
  "onUpdate:show": t[2] ||= (t) => e.showPopup = t,
9450
9460
  trigger: "focus"
9451
9461
  }, {
9452
- trigger: O(() => [f(d, _({
9462
+ trigger: O(() => [f(d, v({
9453
9463
  id: e.componentPath,
9454
9464
  ref: "element",
9455
9465
  modelValue: e.hexValue,
@@ -9479,7 +9489,7 @@ function Rl(e, t, n, r, i, a) {
9479
9489
  parentContext: e.context,
9480
9490
  onClear: e.clear
9481
9491
  }, {
9482
- append: O(() => [e.value ? (b(), l("div", Ll, [u("div", { style: y({ background: `#${e.hexValue || "00000000"}` }) }, null, 4)])) : c("", !0)]),
9492
+ append: O(() => [e.value ? (x(), l("div", Ll, [u("div", { style: b({ background: `#${e.hexValue || "00000000"}` }) }, null, 4)])) : c("", !0)]),
9483
9493
  _: 1
9484
9494
  }, 8, [
9485
9495
  "items",
@@ -9613,7 +9623,7 @@ var Hl = /*#__PURE__*/ X(zl, [["render", Rl]]);
9613
9623
  //#endregion
9614
9624
  //#region src/types/DitoTypeComponent.vue?vue&type=template&lang.js
9615
9625
  function Ul(e, t, n, r, i, a) {
9616
- return b(), s(w(e.schema.component), re(h(e.$props)), null, 16);
9626
+ return x(), s(T(e.schema.component), ne(h(e.$props)), null, 16);
9617
9627
  }
9618
9628
  var Wl = /*#__PURE__*/ X(Q.register("component", {
9619
9629
  defaultValue: () => void 0,
@@ -9628,7 +9638,7 @@ var Wl = /*#__PURE__*/ X(Q.register("component", {
9628
9638
  "disabled"
9629
9639
  ];
9630
9640
  function Kl(e, t, n, r, i, a) {
9631
- return b(), l("input", {
9641
+ return x(), l("input", {
9632
9642
  class: "dito-text dito-input",
9633
9643
  id: e.componentPath,
9634
9644
  ref: "element",
@@ -9649,8 +9659,8 @@ var ql = /*#__PURE__*/ X(Q.register([
9649
9659
  valueFromDataSchema: !0
9650
9660
  }), [["render", Kl]]), Jl = { class: "dito-date" };
9651
9661
  function Yl(e, t, n, r, i, a) {
9652
- let o = C("DitoAffixes");
9653
- return b(), l("div", Jl, [(b(), s(w(e.getComponent(e.type)), _({
9662
+ let o = w("DitoAffixes");
9663
+ return x(), l("div", Jl, [(x(), s(T(e.getComponent(e.type)), v({
9654
9664
  id: e.componentPath,
9655
9665
  ref: "element",
9656
9666
  modelValue: e.dateValue,
@@ -10326,19 +10336,19 @@ var du = ["id", "aria-label"], fu = {
10326
10336
  class: "dito-table__buttons"
10327
10337
  }, yu = { key: 1 }, bu = ["colspan"];
10328
10338
  function xu(e, n, r, i, a, o) {
10329
- let d = C("DitoScopes"), p = C("DitoPagination"), m = C("DitoTableHead"), h = C("DitoTableCell"), g = C("DitoSchemaInlined"), ee = C("DitoEditButtons"), te = C("DitoDraggable");
10330
- return e.isReady ? (b(), l("div", {
10339
+ let d = w("DitoScopes"), p = w("DitoPagination"), m = w("DitoTableHead"), h = w("DitoTableCell"), g = w("DitoSchemaInlined"), _ = w("DitoEditButtons"), ee = w("DitoDraggable");
10340
+ return e.isReady ? (x(), l("div", {
10331
10341
  key: 0,
10332
10342
  class: "dito-list",
10333
10343
  id: e.componentPath,
10334
10344
  role: "region",
10335
10345
  "aria-label": e.label || e.labelize(e.schema.name)
10336
10346
  }, [
10337
- e.scopes || e.hasPagination ? (b(), l("div", fu, [e.scopes ? (b(), s(d, {
10347
+ e.scopes || e.hasPagination ? (x(), l("div", fu, [e.scopes ? (x(), s(d, {
10338
10348
  key: 0,
10339
10349
  query: e.query,
10340
10350
  scopes: e.scopes
10341
- }, null, 8, ["query", "scopes"])) : e.hasPagination ? (b(), l("div", pu)) : c("", !0), e.hasPagination ? (b(), s(p, {
10351
+ }, null, 8, ["query", "scopes"])) : e.hasPagination ? (x(), l("div", pu)) : c("", !0), e.hasPagination ? (x(), s(p, {
10342
10352
  key: 2,
10343
10353
  query: e.query,
10344
10354
  limit: e.paginate,
@@ -10348,13 +10358,13 @@ function xu(e, n, r, i, a, o) {
10348
10358
  "limit",
10349
10359
  "total"
10350
10360
  ])) : c("", !0)])) : c("", !0),
10351
- u("table", { class: v(["dito-table", {
10361
+ u("table", { class: y(["dito-table", {
10352
10362
  "dito-table--separators": e.isInlined,
10353
10363
  "dito-table--larger-padding": e.hasEditButtons && !e.isInlined,
10354
10364
  "dito-table--alternate-colors": !e.isInlined,
10355
10365
  "dito-table--even-count": e.hasEvenCount
10356
10366
  }]) }, [
10357
- e.columns ? (b(), s(m, {
10367
+ e.columns ? (x(), s(m, {
10358
10368
  key: 0,
10359
10369
  query: e.query,
10360
10370
  columns: e.columns,
@@ -10364,19 +10374,19 @@ function xu(e, n, r, i, a, o) {
10364
10374
  "columns",
10365
10375
  "hasEditButtons"
10366
10376
  ])) : c("", !0),
10367
- f(te, {
10377
+ f(ee, {
10368
10378
  as: "tbody",
10369
10379
  options: e.getDraggableOptions(),
10370
10380
  draggable: e.draggable,
10371
10381
  modelValue: e.listData,
10372
10382
  "onUpdate:modelValue": n[0] ||= (t) => e.listData = t
10373
10383
  }, {
10374
- default: O(() => [(b(!0), l(t, null, x(e.listData, (n, r) => (b(), l("tr", {
10384
+ default: O(() => [(x(!0), l(t, null, S(e.listData, (n, r) => (x(), l("tr", {
10375
10385
  id: e.getComponentPath(r),
10376
10386
  key: e.getItemUid(e.schema, n)
10377
- }, [e.columns ? (b(!0), l(t, { key: 0 }, x(e.columns, (i) => (b(), l(t, null, [e.shouldRenderSchema(i) ? (b(), s(h, {
10387
+ }, [e.columns ? (x(!0), l(t, { key: 0 }, S(e.columns, (i) => (x(), l(t, null, [e.shouldRenderSchema(i) ? (x(), s(h, {
10378
10388
  key: i.name,
10379
- class: v(e.getCellClass(i)),
10389
+ class: y(e.getCellClass(i)),
10380
10390
  cell: i,
10381
10391
  schema: e.schema,
10382
10392
  dataPath: e.getDataPath(r),
@@ -10394,7 +10404,7 @@ function xu(e, n, r, i, a, o) {
10394
10404
  "meta",
10395
10405
  "store",
10396
10406
  "disabled"
10397
- ])) : c("", !0)], 64))), 256)) : (b(), l("td", hu, [e.isInlined ? (b(), s(g, {
10407
+ ])) : c("", !0)], 64))), 256)) : (x(), l("td", hu, [e.isInlined ? (x(), s(g, {
10398
10408
  key: 0,
10399
10409
  label: e.getItemLabel(e.schema, n, {
10400
10410
  index: r,
@@ -10432,18 +10442,18 @@ function xu(e, n, r, i, a, o) {
10432
10442
  "createPath",
10433
10443
  "insertIndex",
10434
10444
  "onDelete"
10435
- ])) : e.schema.component ? (b(), s(w(e.schema.component), {
10445
+ ])) : e.schema.component ? (x(), s(T(e.schema.component), {
10436
10446
  key: 1,
10437
10447
  dataPath: e.getDataPath(r),
10438
10448
  data: n,
10439
10449
  nested: !1
10440
- }, null, 8, ["dataPath", "data"])) : e.render ? (b(), l("span", {
10450
+ }, null, 8, ["dataPath", "data"])) : e.render ? (x(), l("span", {
10441
10451
  key: 2,
10442
10452
  innerHTML: e.render(e.getContext(n, r))
10443
- }, null, 8, gu)) : (b(), l("span", {
10453
+ }, null, 8, gu)) : (x(), l("span", {
10444
10454
  key: 3,
10445
10455
  innerHTML: e.getItemLabel(e.schema, n, { index: r })
10446
- }, null, 8, _u))])), e.hasCellEditButtons ? (b(), l("td", vu, [f(ee, {
10456
+ }, null, 8, _u))])), e.hasCellEditButtons ? (x(), l("td", vu, [f(_, {
10447
10457
  nested: "",
10448
10458
  schema: e.getItemFormSchema(e.schema, n, e.context),
10449
10459
  dataPath: e.getDataPath(r),
@@ -10475,10 +10485,10 @@ function xu(e, n, r, i, a, o) {
10475
10485
  "draggable",
10476
10486
  "modelValue"
10477
10487
  ]),
10478
- e.hasListButtons && !e.single ? (b(), l("tfoot", yu, [u("tr", null, [u("td", {
10488
+ e.hasListButtons && !e.single ? (x(), l("tfoot", yu, [u("tr", null, [u("td", {
10479
10489
  class: "dito-table__buttons",
10480
10490
  colspan: e.numColumns
10481
- }, [f(ee, {
10491
+ }, [f(_, {
10482
10492
  buttons: e.buttonSchemas,
10483
10493
  schema: e.schema,
10484
10494
  dataPath: e.dataPath,
@@ -10502,7 +10512,7 @@ function xu(e, n, r, i, a, o) {
10502
10512
  "createPath"
10503
10513
  ])], 8, bu)])])) : c("", !0)
10504
10514
  ], 2),
10505
- e.hasListButtons && e.single ? (b(), s(ee, {
10515
+ e.hasListButtons && e.single ? (x(), s(_, {
10506
10516
  key: 1,
10507
10517
  class: "dito-buttons--large dito-buttons--main dito-buttons--sticky",
10508
10518
  buttons: e.buttonSchemas,
@@ -10606,8 +10616,8 @@ var Su = /*#__PURE__*/ X(Q.register("list", {
10606
10616
  //#endregion
10607
10617
  //#region src/types/DitoTypeLabel.vue?vue&type=template&lang.js
10608
10618
  function Cu(e, t, n, r, i, a) {
10609
- let o = C("DitoLabel");
10610
- return b(), s(o, {
10619
+ let o = w("DitoLabel");
10620
+ return x(), s(o, {
10611
10621
  class: "dito-label-component",
10612
10622
  label: e.value
10613
10623
  }, null, 8, ["label"]);
@@ -11636,13 +11646,13 @@ var gd = ["id"], _d = {
11636
11646
  "onClick"
11637
11647
  ];
11638
11648
  function bd(e, n, r, i, a, o) {
11639
- let s = C("DitoIcon"), u = C("EditorContent");
11640
- return b(), l("div", {
11649
+ let s = w("DitoIcon"), u = w("EditorContent");
11650
+ return x(), l("div", {
11641
11651
  class: "dito-markup",
11642
11652
  id: e.componentPath
11643
11653
  }, [
11644
- e.groupedButtons.length > 0 ? (b(), l("div", _d, [(b(!0), l(t, null, x(e.groupedButtons, (e) => (b(), l("div", vd, [(b(!0), l(t, null, x(e, ({ id: e, label: t, icon: n, isActive: r, onClick: i }) => (b(), l("button", {
11645
- class: v(["dito-button", { "dito-button--active": r }]),
11654
+ e.groupedButtons.length > 0 ? (x(), l("div", _d, [(x(!0), l(t, null, S(e.groupedButtons, (e) => (x(), l("div", vd, [(x(!0), l(t, null, S(e, ({ id: e, label: t, icon: n, isActive: r, onClick: i }) => (x(), l("button", {
11655
+ class: y(["dito-button", { "dito-button--active": r }]),
11646
11656
  key: e,
11647
11657
  "aria-label": t,
11648
11658
  "aria-pressed": r,
@@ -11652,9 +11662,9 @@ function bd(e, n, r, i, a, o) {
11652
11662
  class: "dito-markup-editor",
11653
11663
  ref: "editor",
11654
11664
  editor: e.editor,
11655
- style: y(e.styles)
11665
+ style: b(e.styles)
11656
11666
  }, null, 8, ["editor", "style"]),
11657
- e.resizable ? (b(), l("div", {
11667
+ e.resizable ? (x(), l("div", {
11658
11668
  key: 1,
11659
11669
  class: "dito-resize",
11660
11670
  onMousedown: n[0] ||= A((...t) => e.onDragResize && e.onDragResize(...t), ["stop", "prevent"])
@@ -11995,8 +12005,8 @@ var xd = Q.register("markup", {
11995
12005
  }
11996
12006
  }), wd = /*#__PURE__*/ X(xd, [["render", bd]]), Td = { class: "dito-multiselect" }, Ed = { class: "dito-multiselect__inner" };
11997
12007
  function Dd(e, t, n, r, i, a) {
11998
- let o = C("DitoAffixes"), d = C("VueMultiselect"), p = C("DitoEditButtons");
11999
- return b(), l("div", Td, [u("div", Ed, [
12008
+ let o = w("DitoAffixes"), d = w("VueMultiselect"), p = w("DitoEditButtons");
12009
+ return x(), l("div", Td, [u("div", Ed, [
12000
12010
  f(o, {
12001
12011
  items: e.schema.prefix,
12002
12012
  position: "prefix",
@@ -12009,7 +12019,7 @@ function Dd(e, t, n, r, i, a) {
12009
12019
  "disabled",
12010
12020
  "parentContext"
12011
12021
  ]),
12012
- f(d, _({
12022
+ f(d, v({
12013
12023
  id: e.componentPath,
12014
12024
  ref: "element",
12015
12025
  modelValue: e.selectedOptions,
@@ -12079,7 +12089,7 @@ function Dd(e, t, n, r, i, a) {
12079
12089
  "parentContext",
12080
12090
  "onClear"
12081
12091
  ])
12082
- ]), e.editable ? (b(), s(p, {
12092
+ ]), e.editable ? (x(), s(p, {
12083
12093
  key: 0,
12084
12094
  schema: e.schema,
12085
12095
  dataPath: e.dataPath,
@@ -12275,8 +12285,8 @@ var Od = /*#__PURE__*/ X(Q.register("multiselect", {
12275
12285
  //#endregion
12276
12286
  //#region src/types/DitoTypeNumber.vue?vue&type=template&lang.js
12277
12287
  function Ad(e, t, n, r, i, a) {
12278
- let o = C("DitoAffixes"), c = C("DitoInput");
12279
- return b(), s(c, _({
12288
+ let o = w("DitoAffixes"), c = w("DitoInput");
12289
+ return x(), s(c, v({
12280
12290
  class: "dito-number",
12281
12291
  id: e.componentPath,
12282
12292
  ref: "element",
@@ -12341,12 +12351,12 @@ var jd = /*#__PURE__*/ X(Q.register(["number", "integer"], {
12341
12351
  class: "dito-object-content"
12342
12352
  }, Pd = ["innerHTML"], Fd = ["innerHTML"];
12343
12353
  function Id(e, t, n, r, i, a) {
12344
- let o = C("DitoSchemaInlined"), u = C("DitoEditButtons");
12345
- return e.isReady ? (b(), l("div", {
12354
+ let o = w("DitoSchemaInlined"), u = w("DitoEditButtons");
12355
+ return e.isReady ? (x(), l("div", {
12346
12356
  key: 0,
12347
12357
  class: "dito-object",
12348
12358
  id: e.componentPath
12349
- }, [e.objectData ? (b(), l("div", Nd, [e.isInlined ? (b(), s(o, {
12359
+ }, [e.objectData ? (x(), l("div", Nd, [e.isInlined ? (x(), s(o, {
12350
12360
  key: 0,
12351
12361
  label: e.objectLabel,
12352
12362
  schema: e.getItemFormSchema(e.schema, e.objectData, e.context),
@@ -12372,15 +12382,15 @@ function Id(e, t, n, r, i, a) {
12372
12382
  "collapsible",
12373
12383
  "deletable",
12374
12384
  "accumulatedBasis"
12375
- ])) : e.schema.component ? (b(), s(w(e.schema.component), {
12385
+ ])) : e.schema.component ? (x(), s(T(e.schema.component), {
12376
12386
  key: 1,
12377
12387
  dataPath: e.dataPath,
12378
12388
  data: e.objectData,
12379
12389
  nested: !1
12380
- }, null, 8, ["dataPath", "data"])) : e.render ? (b(), l("span", {
12390
+ }, null, 8, ["dataPath", "data"])) : e.render ? (x(), l("span", {
12381
12391
  key: 2,
12382
12392
  innerHTML: e.render(e.getContext())
12383
- }, null, 8, Pd)) : (b(), l("span", {
12393
+ }, null, 8, Pd)) : (x(), l("span", {
12384
12394
  key: 3,
12385
12395
  innerHTML: e.getItemLabel(e.schema, e.objectData)
12386
12396
  }, null, 8, Fd))])) : c("", !0), f(u, {
@@ -12447,7 +12457,7 @@ var Ld = /*#__PURE__*/ X(Q.register("object", {
12447
12457
  "max"
12448
12458
  ];
12449
12459
  function Bd(e, t, n, r, i, a) {
12450
- return b(), l("progress", _({
12460
+ return x(), l("progress", v({
12451
12461
  class: "dito-progress",
12452
12462
  id: e.componentPath,
12453
12463
  ref: "element",
@@ -12469,19 +12479,19 @@ var Vd = /*#__PURE__*/ X(Q.register("progress", {
12469
12479
  }
12470
12480
  }), [["render", Bd]]), Hd = ["id", "aria-label"], Ud = ["value"];
12471
12481
  function Wd(e, n, r, i, a, o) {
12472
- return b(), l("ul", {
12473
- class: v(["dito-radio-buttons", `dito-layout--${e.schema.layout || "vertical"}`]),
12482
+ return x(), l("ul", {
12483
+ class: y(["dito-radio-buttons", `dito-layout--${e.schema.layout || "vertical"}`]),
12474
12484
  id: e.componentPath,
12475
12485
  role: "radiogroup",
12476
12486
  "aria-label": e.label
12477
- }, [(b(!0), l(t, null, x(e.options, (t) => (b(), l("li", null, [u("label", null, [k(u("input", _({
12487
+ }, [(x(!0), l(t, null, S(e.options, (t) => (x(), l("li", null, [u("label", null, [k(u("input", v({
12478
12488
  class: "dito-radio-button",
12479
12489
  ref_for: !0,
12480
12490
  ref: "element",
12481
12491
  "onUpdate:modelValue": n[0] ||= (t) => e.selectedValue = t,
12482
12492
  type: "radio",
12483
12493
  value: e.getValueForOption(t)
12484
- }, { ref_for: !0 }, e.attributes), null, 16, Ud), [[fe, e.selectedValue]]), d(T(e.getLabelForOption(t)), 1)])]))), 256))], 10, Hd);
12494
+ }, { ref_for: !0 }, e.attributes), null, 16, Ud), [[de, e.selectedValue]]), d(E(e.getLabelForOption(t)), 1)])]))), 256))], 10, Hd);
12485
12495
  }
12486
12496
  var Gd = /*#__PURE__*/ X(Q.register("radio", {
12487
12497
  mixins: [Dl],
@@ -12491,8 +12501,8 @@ var Gd = /*#__PURE__*/ X(Q.register("radio", {
12491
12501
  //#endregion
12492
12502
  //#region src/types/DitoTypeSection.vue?vue&type=template&lang.js
12493
12503
  function Kd(e, t, n, r, i, a) {
12494
- let o = C("DitoSchemaInlined");
12495
- return b(), l("div", { class: v(["dito-section", { "dito-section--labelled": e.hasLabel }]) }, [f(o, {
12504
+ let o = w("DitoSchemaInlined");
12505
+ return x(), l("div", { class: y(["dito-section", { "dito-section--labelled": e.hasLabel }]) }, [f(o, {
12496
12506
  class: "dito-section__schema",
12497
12507
  schema: e.getItemFormSchema(e.schema, e.item, e.context),
12498
12508
  dataPath: e.dataPath,
@@ -12559,8 +12569,8 @@ var qd = /*#__PURE__*/ X(Q.register("section", {
12559
12569
  }
12560
12570
  }), [["render", Kd]]), Jd = { class: "dito-select" }, Yd = { class: "dito-select__inner" }, Xd = ["id"], Zd = ["label"], Qd = ["value"], $d = ["value"], ef = ["value"];
12561
12571
  function tf(e, n, r, i, a, o) {
12562
- let d = C("DitoAffixes"), p = C("DitoEditButtons");
12563
- return b(), l("div", Jd, [u("div", Yd, [
12572
+ let d = w("DitoAffixes"), p = w("DitoEditButtons");
12573
+ return x(), l("div", Jd, [u("div", Yd, [
12564
12574
  f(d, {
12565
12575
  items: e.schema.prefix,
12566
12576
  position: "prefix",
@@ -12573,23 +12583,23 @@ function tf(e, n, r, i, a, o) {
12573
12583
  "disabled",
12574
12584
  "parentContext"
12575
12585
  ]),
12576
- k(u("select", _({
12586
+ k(u("select", v({
12577
12587
  id: e.componentPath,
12578
12588
  ref: "element",
12579
12589
  "onUpdate:modelValue": n[0] ||= (t) => e.selectedValue = t
12580
12590
  }, e.attributes, {
12581
12591
  onMousedown: n[1] ||= (t) => e.populate = !0,
12582
12592
  onFocus: n[2] ||= (t) => e.populate = !0
12583
- }), [e.populate ? (b(!0), l(t, { key: 0 }, x(e.options, (n) => (b(), l(t, null, [e.groupBy ? (b(), l("optgroup", {
12593
+ }), [e.populate ? (x(!0), l(t, { key: 0 }, S(e.options, (n) => (x(), l(t, null, [e.groupBy ? (x(), l("optgroup", {
12584
12594
  key: 0,
12585
12595
  label: n[e.groupByLabel]
12586
- }, [(b(!0), l(t, null, x(n[e.groupByOptions], (t) => (b(), l("option", { value: e.getValueForOption(t) }, T(e.getLabelForOption(t)), 9, Qd))), 256))], 8, Zd)) : (b(), l("option", {
12596
+ }, [(x(!0), l(t, null, S(n[e.groupByOptions], (t) => (x(), l("option", { value: e.getValueForOption(t) }, E(e.getLabelForOption(t)), 9, Qd))), 256))], 8, Zd)) : (x(), l("option", {
12587
12597
  key: 1,
12588
12598
  value: e.getValueForOption(n)
12589
- }, T(e.getLabelForOption(n)), 9, $d))], 64))), 256)) : e.selectedOption ? (b(), l("option", {
12599
+ }, E(e.getLabelForOption(n)), 9, $d))], 64))), 256)) : e.selectedOption ? (x(), l("option", {
12590
12600
  key: 1,
12591
12601
  value: e.selectedValue
12592
- }, T(e.getLabelForOption(e.selectedOption)), 9, ef)) : c("", !0)], 16, Xd), [[pe, e.selectedValue]]),
12602
+ }, E(e.getLabelForOption(e.selectedOption)), 9, ef)) : c("", !0)], 16, Xd), [[fe, e.selectedValue]]),
12593
12603
  f(d, {
12594
12604
  items: e.schema.suffix,
12595
12605
  position: "suffix",
@@ -12608,7 +12618,7 @@ function tf(e, n, r, i, a, o) {
12608
12618
  "parentContext",
12609
12619
  "onClear"
12610
12620
  ])
12611
- ]), e.editable ? (b(), s(p, {
12621
+ ]), e.editable ? (x(), s(p, {
12612
12622
  key: 0,
12613
12623
  schema: e.schema,
12614
12624
  dataPath: e.dataPath,
@@ -12642,8 +12652,8 @@ var nf = /*#__PURE__*/ X(Q.register("select", {
12642
12652
  "step"
12643
12653
  ];
12644
12654
  function of(e, t, n, r, i, a) {
12645
- let o = C("DitoInput");
12646
- return b(), l("div", rf, [k(u("input", _({
12655
+ let o = w("DitoInput");
12656
+ return x(), l("div", rf, [k(u("input", v({
12647
12657
  class: "dito-range",
12648
12658
  id: e.componentPath,
12649
12659
  ref: "element",
@@ -12653,7 +12663,7 @@ function of(e, t, n, r, i, a) {
12653
12663
  min: e.min,
12654
12664
  max: e.max,
12655
12665
  step: e.stepValue
12656
- }), null, 16, af), [[me, e.inputValue]]), e.input ? (b(), s(o, _({
12666
+ }), null, 16, af), [[pe, e.inputValue]]), e.input ? (x(), s(o, v({
12657
12667
  key: 0,
12658
12668
  class: "dito-number",
12659
12669
  modelValue: e.inputValue,
@@ -12692,8 +12702,8 @@ var lf = /*#__PURE__*/ X(Q.register("spacer", {
12692
12702
  //#endregion
12693
12703
  //#region src/types/DitoTypeSwitch.vue?vue&type=template&lang.js
12694
12704
  function uf(e, t, n, r, i, a) {
12695
- let o = C("DitoSwitch");
12696
- return b(), s(o, _({
12705
+ let o = w("DitoSwitch");
12706
+ return x(), s(o, v({
12697
12707
  class: "dito-switch",
12698
12708
  id: e.componentPath,
12699
12709
  ref: "element",
@@ -12726,8 +12736,8 @@ var df = /*#__PURE__*/ X(Q.register("switch", {
12726
12736
  //#endregion
12727
12737
  //#region src/types/DitoTypeText.vue?vue&type=template&lang.js
12728
12738
  function pf(e, t, n, r, i, a) {
12729
- let o = C("DitoAffixes"), c = C("DitoInput");
12730
- return b(), s(c, _({
12739
+ let o = w("DitoAffixes"), c = w("DitoInput");
12740
+ return x(), s(c, v({
12731
12741
  class: "dito-text",
12732
12742
  id: e.componentPath,
12733
12743
  ref: "element",
@@ -12820,7 +12830,7 @@ var mf = "****************", hf = /*#__PURE__*/ X(Q.register([
12820
12830
  }
12821
12831
  }), [["render", pf]]), gf = ["id", "rows"];
12822
12832
  function _f(e, t, n, r, i, a) {
12823
- return k((b(), l("textarea", _({
12833
+ return k((x(), l("textarea", v({
12824
12834
  class: "dito-textarea dito-input",
12825
12835
  id: e.componentPath,
12826
12836
  ref: "element",
@@ -12828,7 +12838,7 @@ function _f(e, t, n, r, i, a) {
12828
12838
  }, e.attributes, {
12829
12839
  rows: e.lines,
12830
12840
  class: { "dito-textarea--resizable": e.resizable }
12831
- }), null, 16, gf)), [[me, e.value]]);
12841
+ }), null, 16, gf)), [[pe, e.value]]);
12832
12842
  }
12833
12843
  var vf = /*#__PURE__*/ X(Q.register("textarea", {
12834
12844
  mixins: [ff],
@@ -12848,8 +12858,8 @@ var vf = /*#__PURE__*/ X(Q.register("textarea", {
12848
12858
  class: "dito-tree-form-container"
12849
12859
  };
12850
12860
  function Sf(e, t, n, r, i, a) {
12851
- let o = C("DitoScopes"), d = C("DitoTreeItem"), p = C("DitoRouterView");
12852
- return b(), l("div", yf, [e.scopes ? (b(), s(o, {
12861
+ let o = w("DitoScopes"), d = w("DitoTreeItem"), p = w("DitoRouterView");
12862
+ return x(), l("div", yf, [e.scopes ? (x(), s(o, {
12853
12863
  key: 0,
12854
12864
  query: e.query,
12855
12865
  scopes: e.scopes
@@ -12865,7 +12875,7 @@ function Sf(e, t, n, r, i, a) {
12865
12875
  "dataPath",
12866
12876
  "data",
12867
12877
  "draggable"
12868
- ]), e.editPath && e.hasEditableForms ? (b(), l("div", xf, [f(p, { routeLevel: e.routeComponent.routeLevel + 1 }, null, 8, ["routeLevel"])])) : c("", !0)])]);
12878
+ ]), e.editPath && e.hasEditableForms ? (x(), l("div", xf, [f(p, { routeLevel: e.routeComponent.routeLevel + 1 }, null, 8, ["routeLevel"])])) : c("", !0)])]);
12869
12879
  }
12870
12880
  var Cf = /*#__PURE__*/ X(Q.register(["tree-list", "tree-object"], {
12871
12881
  mixins: [$l],
@@ -12964,8 +12974,8 @@ var kf = { class: "dito-upload" }, Af = { class: "dito-table dito-table--separat
12964
12974
  "onClick"
12965
12975
  ], Pf = { key: 2 }, Ff = { class: "dito-upload__size" }, If = { class: "dito-upload__status" }, Lf = { class: "dito-table__buttons" }, Rf = { class: "dito-buttons dito-buttons--round" }, zf = ["title"], Bf = ["onClick"], Vf = { key: 0 }, Hf = { colspan: 4 }, Uf = { class: "dito-upload-footer" }, Wf = ["value"], Gf = { class: "dito-buttons dito-buttons--round" }, Kf = ["title"];
12966
12976
  function qf(e, n, r, i, a, o) {
12967
- let s = C("VueUpload"), p = C("DitoUploadFile"), m = C("DitoDraggable");
12968
- return b(), l("div", kf, [f(s, {
12977
+ let s = w("VueUpload"), p = w("DitoUploadFile"), m = w("DitoDraggable");
12978
+ return x(), l("div", kf, [f(s, {
12969
12979
  class: "dito-upload__input",
12970
12980
  ref: "upload",
12971
12981
  modelValue: e.uploads,
@@ -13009,11 +13019,11 @@ function qf(e, n, r, i, a, o) {
13009
13019
  options: e.getDraggableOptions(),
13010
13020
  draggable: e.draggable
13011
13021
  }, {
13012
- default: O(() => [e.multiple || !e.isUploadActive ? (b(!0), l(t, { key: 0 }, x(e.files, (r, i) => (b(), l("tr", { key: r.name }, [
13013
- e.render ? (b(), l("td", {
13022
+ default: O(() => [e.multiple || !e.isUploadActive ? (x(!0), l(t, { key: 0 }, S(e.files, (r, i) => (x(), l("tr", { key: r.name }, [
13023
+ e.render ? (x(), l("td", {
13014
13024
  key: 0,
13015
13025
  innerHTML: e.renderFile(r, i)
13016
- }, null, 8, jf)) : e.downloadUrls[i] ? (b(), l("td", Mf, [u("a", {
13026
+ }, null, 8, jf)) : e.downloadUrls[i] ? (x(), l("td", Mf, [u("a", {
13017
13027
  download: r.name,
13018
13028
  href: e.downloadUrls[i],
13019
13029
  target: "_blank",
@@ -13026,7 +13036,7 @@ function qf(e, n, r, i, a, o) {
13026
13036
  "file",
13027
13037
  "thumbnail",
13028
13038
  "thumbnailUrl"
13029
- ])], 8, Nf)])) : (b(), l("td", Pf, [f(p, {
13039
+ ])], 8, Nf)])) : (x(), l("td", Pf, [f(p, {
13030
13040
  file: r,
13031
13041
  thumbnail: e.thumbnails,
13032
13042
  thumbnailUrl: e.thumbnailUrls[i]
@@ -13035,20 +13045,20 @@ function qf(e, n, r, i, a, o) {
13035
13045
  "thumbnail",
13036
13046
  "thumbnailUrl"
13037
13047
  ])])),
13038
- u("td", Ff, T(e.formatFileSize(r.size)), 1),
13039
- u("td", If, [r.upload ? (b(), l(t, { key: 0 }, [r.upload.error ? (b(), l(t, { key: 0 }, [d("Error: " + T(r.upload.error), 1)], 64)) : r.upload.active ? (b(), l(t, { key: 1 }, [d("Uploading...")], 64)) : r.upload.success ? (b(), l(t, { key: 2 }, [d("Uploaded")], 64)) : c("", !0)], 64)) : (b(), l(t, { key: 1 }, [d("Stored")], 64))]),
13048
+ u("td", Ff, E(e.formatFileSize(r.size)), 1),
13049
+ u("td", If, [r.upload ? (x(), l(t, { key: 0 }, [r.upload.error ? (x(), l(t, { key: 0 }, [d("Error: " + E(r.upload.error), 1)], 64)) : r.upload.active ? (x(), l(t, { key: 1 }, [d("Uploading...")], 64)) : r.upload.success ? (x(), l(t, { key: 2 }, [d("Uploaded")], 64)) : c("", !0)], 64)) : (x(), l(t, { key: 1 }, [d("Stored")], 64))]),
13040
13050
  u("td", Lf, [u("div", Rf, [
13041
- e.multiple ? c("", !0) : (b(), l("button", {
13051
+ e.multiple ? c("", !0) : (x(), l("button", {
13042
13052
  key: 0,
13043
13053
  class: "dito-button dito-button--upload",
13044
13054
  title: e.uploadTitle,
13045
13055
  onClick: n[1] ||= (...t) => e.onClickUpload && e.onClickUpload(...t)
13046
13056
  }, null, 8, zf)),
13047
- e.draggable ? (b(), l("a", _({
13057
+ e.draggable ? (x(), l("a", v({
13048
13058
  key: 1,
13049
13059
  class: "dito-button"
13050
13060
  }, { ref_for: !0 }, e.getButtonAttributes(e.verbs.drag)), null, 16)) : c("", !0),
13051
- e.deletable ? (b(), l("button", _({
13061
+ e.deletable ? (x(), l("button", v({
13052
13062
  key: 2,
13053
13063
  class: "dito-button",
13054
13064
  type: "button"
@@ -13061,17 +13071,17 @@ function qf(e, n, r, i, a, o) {
13061
13071
  "options",
13062
13072
  "draggable"
13063
13073
  ]),
13064
- e.multiple || e.isUploadActive || !e.hasFiles ? (b(), l("tfoot", Vf, [u("tr", null, [u("td", Hf, [u("div", Uf, [e.isUploadActive ? (b(), l("progress", {
13074
+ e.multiple || e.isUploadActive || !e.hasFiles ? (x(), l("tfoot", Vf, [u("tr", null, [u("td", Hf, [u("div", Uf, [e.isUploadActive ? (x(), l("progress", {
13065
13075
  key: 0,
13066
13076
  class: "dito-progress",
13067
13077
  value: e.uploadProgress,
13068
13078
  max: "100"
13069
- }, null, 8, Wf)) : c("", !0), u("div", Gf, [e.isUploadActive ? (b(), l("button", {
13079
+ }, null, 8, Wf)) : c("", !0), u("div", Gf, [e.isUploadActive ? (x(), l("button", {
13070
13080
  key: 0,
13071
13081
  class: "dito-button",
13072
13082
  type: "button",
13073
13083
  onClick: n[3] ||= A((t) => e.upload.active = !1, ["prevent"])
13074
- }, "Cancel")) : c("", !0), e.multiple || !e.hasFiles ? (b(), l("button", {
13084
+ }, "Cancel")) : c("", !0), e.multiple || !e.hasFiles ? (x(), l("button", {
13075
13085
  key: 1,
13076
13086
  class: "dito-button dito-button--upload",
13077
13087
  title: e.uploadTitle,