@webx-ui/module-inbox 0.11.1 → 0.11.2

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,5 +1,5 @@
1
1
  import { inject as Qe, defineComponent as oe, useModel as Fe, computed as A, ref as U, watch as ge, openBlock as m, createElementBlock as M, createElementVNode as G, toDisplayString as I, createCommentVNode as W, createBlock as _, unref as e, withCtx as d, createTextVNode as z, createVNode as u, mergeModels as Ie, nextTick as Je, isRef as Pe, Fragment as Z, renderList as Oe, useTemplateRef as et, createSlots as Le, mergeProps as tt, defineAsyncComponent as _e } from "vue";
2
- import { useLocales as ie, localizedValue as pe, WxBadge as xe, WxAction as De, WxAutocomplete as lt, useModal as Me, WxDialog as He, WxAlert as Ne, WxSkeleton as at, WxFormItem as L, WxTextarea as nt, WxSelect as we, WxRadioGroup as st, WxCheckboxGroup as ot, WxCheckbox as se, WxDatePicker as Ue, WxInput as K, WxSpace as Xe, WxButton as te, toast as j, useElementWidth as it, createModal as Ge, WxTabs as rt, WxTable as ut, WxEntityCard as dt, WxAvatar as qe, WxIcon as ke, WxTooltip as ct, WxText as ee, confirm as Ye, WxLocales as mt, WxRichText as ze, WxInputNumber as me, WxTagsInput as pt, WxCard as ht, WxEmpty as ft, WxSortableList as vt } from "@webx-ui/core";
2
+ import { useLocales as ie, localizedValue as pe, WxBadge as xe, WxAction as De, WxAutocomplete as lt, useModal as Me, WxDialog as He, WxAlert as Ne, WxSkeleton as at, WxFormItem as L, WxTextarea as nt, WxSelect as we, WxRadioGroup as st, WxCheckboxGroup as ot, WxCheckbox as se, WxDatePicker as Ue, WxInput as K, WxSpace as Xe, WxButton as te, toast as j, useElementWidth as it, createModal as Ge, WxTabs as rt, WxTable as ut, WxEntityCard as dt, WxAvatar as qe, WxIcon as ke, WxTooltip as ct, WxText as ee, confirm as Ye, WxLocales as mt, WxRichText as ze, WxInputNumber as me, WxTagsInput as pt, WxCard as ht, WxEmpty as vt, WxSortableList as ft } from "@webx-ui/core";
3
3
  import { useAdmin as re, i18nKey as bt, useTranslate as le, createRelationsApi as yt, useErrorText as Ve, rowMenuWidth as gt, WxScreenHead as xt, WxRowMenu as We, WxDate as Re, WxFilterChips as wt, useRichTextLabels as kt, useShortcodesWhen as _t, useRemoveConfirm as Vt, slugify as Tt } from "@webx-ui/module-admin";
4
4
  import { useRoute as $t, useRouter as St } from "vue-router";
5
5
  const At = {
@@ -302,15 +302,15 @@ const Nt = { class: "wx-inbox-form-field" }, Ut = {
302
302
  he();
303
303
  const b = re(), w = le("webx-inbox"), B = yt(b, "inbox-form"), t = A(() => typeof c.value == "string" ? c.value.trim() : ""), l = U(/* @__PURE__ */ new Map()), g = U(/* @__PURE__ */ new Set()), S = U([]), N = U(!1), C = U("");
304
304
  function q(V) {
305
- const v = new Map(l.value);
306
- for (const T of V) T.slug && v.set(T.slug, T);
307
- l.value = v;
305
+ const f = new Map(l.value);
306
+ for (const T of V) T.slug && f.set(T.slug, T);
307
+ l.value = f;
308
308
  }
309
309
  async function x(V) {
310
310
  if (!(V === "" || l.value.has(V) || g.value.has(V)))
311
311
  try {
312
- const v = await B.search(V);
313
- q(v), v.some((T) => T.slug === V) || (g.value = /* @__PURE__ */ new Set([...g.value, V]));
312
+ const f = await B.search(V);
313
+ q(f), f.some((T) => T.slug === V) || (g.value = /* @__PURE__ */ new Set([...g.value, V]));
314
314
  } catch {
315
315
  }
316
316
  }
@@ -320,15 +320,15 @@ const Nt = { class: "wx-inbox-form-field" }, Ut = {
320
320
  const p = A(() => t.value === "" ? null : l.value.get(t.value) ?? null), H = A(() => t.value === "" ? null : p.value === null ? g.value.has(t.value) ? w("relations.field-missing") : null : p.value.visible ? null : w("relations.field-off")), k = A(
321
321
  () => S.value.filter((V) => V.slug && V.slug !== t.value).map((V) => ({
322
322
  value: V.title,
323
- description: [V.slug, V.visible ? null : w("relations.field-off")].filter((v) => typeof v == "string" && v !== "").join(" · "),
323
+ description: [V.slug, V.visible ? null : w("relations.field-off")].filter((f) => typeof f == "string" && f !== "").join(" · "),
324
324
  id: V.slug
325
325
  }))
326
326
  );
327
327
  async function y(V) {
328
328
  N.value = !0;
329
329
  try {
330
- const v = await B.search(V);
331
- S.value = v, q(v);
330
+ const f = await B.search(V);
331
+ S.value = f, q(f);
332
332
  } catch {
333
333
  S.value = [];
334
334
  } finally {
@@ -347,7 +347,7 @@ const Nt = { class: "wx-inbox-form-field" }, Ut = {
347
347
  c.value = null;
348
348
  }
349
349
  const X = A(() => n.placeholder ?? w("relations.field-search"));
350
- return (V, v) => (m(), M("div", Nt, [
350
+ return (V, f) => (m(), M("div", Nt, [
351
351
  t.value !== "" ? (m(), M("div", Ut, [
352
352
  G("span", Wt, [
353
353
  G("span", Ft, I(p.value?.title ?? t.value), 1),
@@ -373,7 +373,7 @@ const Nt = { class: "wx-inbox-form-field" }, Ut = {
373
373
  G("div", qt, [
374
374
  u(e(lt), {
375
375
  modelValue: C.value,
376
- "onUpdate:modelValue": v[0] || (v[0] = (T) => C.value = T),
376
+ "onUpdate:modelValue": f[0] || (f[0] = (T) => C.value = T),
377
377
  options: k.value,
378
378
  remote: "",
379
379
  teleport: "",
@@ -390,12 +390,12 @@ const Nt = { class: "wx-inbox-form-field" }, Ut = {
390
390
  ])
391
391
  ]));
392
392
  }
393
- }), fe = (a, n) => {
393
+ }), ve = (a, n) => {
394
394
  const c = a.__vccOpts || a;
395
395
  for (const [b, w] of n)
396
396
  c[b] = w;
397
397
  return c;
398
- }, Rt = /* @__PURE__ */ fe(zt, [["__scopeId", "data-v-91f60441"]]);
398
+ }, Rt = /* @__PURE__ */ ve(zt, [["__scopeId", "data-v-91f60441"]]);
399
399
  function rl(a = {}) {
400
400
  const n = a.path ?? "/inbox";
401
401
  return {
@@ -408,19 +408,19 @@ function rl(a = {}) {
408
408
  {
409
409
  path: n,
410
410
  name: "webx.inbox",
411
- component: () => import("./InboxPage-PFFJg96Q.js"),
411
+ component: () => import("./InboxPage-GX_vLaDG.js"),
412
412
  props: { base: n }
413
413
  },
414
414
  {
415
415
  path: `${n}/statuses`,
416
416
  name: "webx.inbox.statuses",
417
- component: () => import("./StatusesPage-BlbcvbFo.js"),
417
+ component: () => import("./StatusesPage-BOjY4W1p.js"),
418
418
  props: { base: n }
419
419
  },
420
420
  {
421
421
  path: `${n}/forms/:id(\\d+)`,
422
422
  name: "webx.inbox.form",
423
- component: () => import("./FormEditorPage-Un9YA2YN.js"),
423
+ component: () => import("./FormEditorPage-DhlICloH.js"),
424
424
  props: { base: n }
425
425
  },
426
426
  // A submission has an address of its own, not a dialog over the list (§11): it goes in
@@ -428,7 +428,7 @@ function rl(a = {}) {
428
428
  {
429
429
  path: `${n}/submissions/:id(\\d+)`,
430
430
  name: "webx.inbox.submission",
431
- component: () => import("./SubmissionPage-BcTuujiw.js"),
431
+ component: () => import("./SubmissionPage-DKU21Oox.js"),
432
432
  props: { base: n }
433
433
  }
434
434
  ],
@@ -520,34 +520,34 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
520
520
  setup(a) {
521
521
  const n = a, { resolve: c, dismiss: b, open: w } = Me(), B = re(), t = Te(B), l = ie();
522
522
  he();
523
- const g = le("webx-inbox"), S = Ve(), N = U([]), C = U(!0), q = U(!1), x = U({}), p = U({}), H = A(() => N.value.filter((v) => v.type !== "file")), k = A(() => N.value.some((v) => v.type === "file"));
524
- function y(v) {
525
- return p.value[`fields.${v.key}`]?.[0];
523
+ const g = le("webx-inbox"), S = Ve(), N = U([]), C = U(!0), q = U(!1), x = U({}), p = U({}), H = A(() => N.value.filter((f) => f.type !== "file")), k = A(() => N.value.some((f) => f.type === "file"));
524
+ function y(f) {
525
+ return p.value[`fields.${f.key}`]?.[0];
526
526
  }
527
- function $(v) {
528
- return pe(v.title, l.active.value, v.key);
527
+ function $(f) {
528
+ return pe(f.title, l.active.value, f.key);
529
529
  }
530
- function E(v, T = "") {
530
+ function E(f, T = "") {
531
531
  return pe(
532
- v,
532
+ f,
533
533
  l.active.value,
534
534
  T
535
535
  );
536
536
  }
537
- function P(v) {
538
- return (v.options.choices ?? []).map((T) => ({
537
+ function P(f) {
538
+ return (f.options.choices ?? []).map((T) => ({
539
539
  value: T.value,
540
540
  label: E(T.label, T.value)
541
541
  }));
542
542
  }
543
543
  async function X() {
544
544
  try {
545
- const v = await t.form(n.form.id);
546
- N.value = (v.fields ?? []).filter((T) => T.is_enabled);
545
+ const f = await t.form(n.form.id);
546
+ N.value = (f.fields ?? []).filter((T) => T.is_enabled);
547
547
  for (const T of N.value)
548
548
  x.value[T.key] = T.type === "checkbox" ? [] : T.type === "consent" ? !1 : "";
549
- } catch (v) {
550
- j.danger(S(v));
549
+ } catch (f) {
550
+ j.danger(S(f));
551
551
  } finally {
552
552
  C.value = !1;
553
553
  }
@@ -557,14 +557,14 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
557
557
  q.value = !0, p.value = {};
558
558
  try {
559
559
  c(await t.createSubmission(n.form.id, x.value));
560
- } catch (v) {
561
- const T = v.body;
562
- T?.errors ? (p.value = T.errors, j.danger(g("panel.failed"))) : j.danger(S(v));
560
+ } catch (f) {
561
+ const T = f.body;
562
+ T?.errors ? (p.value = T.errors, j.danger(g("panel.failed"))) : j.danger(S(f));
563
563
  } finally {
564
564
  q.value = !1;
565
565
  }
566
566
  }
567
- return (v, T) => (m(), _(e(He), {
567
+ return (f, T) => (m(), _(e(He), {
568
568
  open: e(w),
569
569
  "onUpdate:open": T[1] || (T[1] = (i) => Pe(w) ? w.value = i : null),
570
570
  title: e(g)("panel.new-submission-title"),
@@ -680,7 +680,7 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
680
680
  _: 1
681
681
  }, 8, ["open", "title"]));
682
682
  }
683
- }), Ot = /* @__PURE__ */ fe(Pt, [["__scopeId", "data-v-72006299"]]), Lt = { class: "wx-submissions__mass" }, Dt = { class: "wx-submissions__state" }, Mt = 640, Ht = /* @__PURE__ */ oe({
683
+ }), Ot = /* @__PURE__ */ ve(Pt, [["__scopeId", "data-v-72006299"]]), Lt = { class: "wx-submissions__mass" }, Dt = { class: "wx-submissions__state" }, Mt = 640, Ht = /* @__PURE__ */ oe({
684
684
  __name: "SubmissionList",
685
685
  props: {
686
686
  form: {},
@@ -690,7 +690,7 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
690
690
  setup(a, { expose: n, emit: c }) {
691
691
  const b = a, w = c, B = re(), t = Te(B), l = $t(), g = St(), S = ie();
692
692
  he();
693
- const N = et("root"), C = it(N), q = A(() => C.value > 0 && C.value < Mt), x = A(() => q.value ? Number.POSITIVE_INFINITY : 0), p = le("webx-inbox"), H = le("webx-admin"), k = Ve(), y = U(null), $ = U([]), E = U(!1), P = U([]), X = U(!1), V = A(() => B.can("inbox.update")), v = Ge(Ot), T = A({
693
+ const N = et("root"), C = it(N), q = A(() => C.value > 0 && C.value < Mt), x = A(() => q.value ? Number.POSITIVE_INFINITY : 0), p = le("webx-inbox"), H = le("webx-admin"), k = Ve(), y = U(null), $ = U([]), E = U(!1), P = U([]), X = U(!1), V = A(() => B.can("inbox.update")), f = Ge(Ot), T = A({
694
694
  get: () => typeof l.query.view == "string" && l.query.view !== "" ? l.query.view : "all",
695
695
  set: (o) => {
696
696
  g.replace({
@@ -708,7 +708,7 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
708
708
  () => (y.value?.placements ?? []).map(
709
709
  (o) => o === null ? { value: "none", label: p("panel.placement-none") } : { value: o, label: o }
710
710
  )
711
- ), ve = A(
711
+ ), fe = A(
712
712
  () => R.value.length > 1 || i.value.placement !== null
713
713
  ), ue = A(() => {
714
714
  const o = i.value.placement;
@@ -806,7 +806,7 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
806
806
  E.value = !1;
807
807
  }
808
808
  }
809
- function f(o) {
809
+ function v(o) {
810
810
  const F = {
811
811
  ...l.query,
812
812
  search: o.search === "" ? void 0 : o.search,
@@ -874,7 +874,7 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
874
874
  }
875
875
  }
876
876
  async function je() {
877
- const o = await v({ form: b.form });
877
+ const o = await f({ form: b.form });
878
878
  o && (j.success(p("panel.created")), await ne(), w("changed"), g.push({ path: `${b.base}/submissions/${o.id}`, query: { ...l.query } }));
879
879
  }
880
880
  const Ke = A(
@@ -928,7 +928,7 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
928
928
  "cards-below": x.value,
929
929
  "filters-count": ue.value.length,
930
930
  onRowClick: s,
931
- onStateChange: f,
931
+ onStateChange: v,
932
932
  onSelectionChange: F[1] || (F[1] = (h, ce) => P.value = ce)
933
933
  }, Le({
934
934
  "cell-status": d(({ row: h }) => [
@@ -1059,7 +1059,7 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
1059
1059
  ]),
1060
1060
  key: "0"
1061
1061
  } : void 0,
1062
- ve.value ? {
1062
+ fe.value ? {
1063
1063
  name: "filters",
1064
1064
  fn: d(() => [
1065
1065
  u(e(L), {
@@ -1093,7 +1093,7 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
1093
1093
  }, 8, ["modelValue", "items", "aria-label"])
1094
1094
  ], 512));
1095
1095
  }
1096
- }), dl = /* @__PURE__ */ fe(Ht, [["__scopeId", "data-v-f6cb49f1"]]), Xt = /* @__PURE__ */ oe({
1096
+ }), dl = /* @__PURE__ */ ve(Ht, [["__scopeId", "data-v-c743b9e7"]]), Xt = /* @__PURE__ */ oe({
1097
1097
  __name: "LocalizedRichText",
1098
1098
  props: /* @__PURE__ */ Ie({
1099
1099
  placeholder: { default: void 0 },
@@ -1172,24 +1172,24 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
1172
1172
  setup(a) {
1173
1173
  const n = a, { resolve: c, dismiss: b, open: w } = Me(), B = re(), t = Te(B);
1174
1174
  he();
1175
- const l = le("webx-inbox"), g = Vt(), S = Ve(), N = U(!1), C = U({}), q = U(""), x = U("text"), p = U({}), H = U({}), k = U({}), y = U({}), $ = U(!1), E = ie(), P = U(!0), X = U(!1), V = U(!0), v = U(!1);
1175
+ const l = le("webx-inbox"), g = Vt(), S = Ve(), N = U(!1), C = U({}), q = U(""), x = U("text"), p = U({}), H = U({}), k = U({}), y = U({}), $ = U(!1), E = ie(), P = U(!0), X = U(!1), V = U(!0), f = U(!1);
1176
1176
  ge(
1177
1177
  () => n.field,
1178
- (f) => {
1179
- q.value = f?.name ?? "", x.value = f?.type ?? "text", p.value = { ...f?.title ?? {} }, H.value = { ...f?.placeholder ?? {} }, k.value = { ...f?.help ?? {} }, y.value = { ...f?.options ?? {} }, P.value = f?.is_enabled ?? !0, X.value = f?.is_required ?? !1, V.value = f?.is_fullsize ?? !0, v.value = f?.in_table ?? !1, $.value = f !== null, C.value = {};
1178
+ (v) => {
1179
+ q.value = v?.name ?? "", x.value = v?.type ?? "text", p.value = { ...v?.title ?? {} }, H.value = { ...v?.placeholder ?? {} }, k.value = { ...v?.help ?? {} }, y.value = { ...v?.options ?? {} }, P.value = v?.is_enabled ?? !0, X.value = v?.is_required ?? !1, V.value = v?.is_fullsize ?? !0, f.value = v?.in_table ?? !1, $.value = v !== null, C.value = {};
1180
1180
  },
1181
1181
  { immediate: !0 }
1182
1182
  );
1183
- function T(f) {
1184
- const r = f ?? {}, s = r[E.active.value];
1183
+ function T(v) {
1184
+ const r = v ?? {}, s = r[E.active.value];
1185
1185
  if (typeof s == "string" && s.trim() !== "") return [s, E.active.value];
1186
1186
  const O = Object.entries(r).find(
1187
1187
  ([, Y]) => typeof Y == "string" && Y.trim() !== ""
1188
1188
  );
1189
1189
  return O === void 0 ? ["", E.active.value] : [O[1], O[0]];
1190
1190
  }
1191
- function i([f, r]) {
1192
- let s = Tt(f, "_", r).slice(0, 60).replace(/_+$/, "");
1191
+ function i([v, r]) {
1192
+ let s = Tt(v, "_", r).slice(0, 60).replace(/_+$/, "");
1193
1193
  if (s === "") return "";
1194
1194
  /^[a-z]/.test(s) || (s = `field_${s}`);
1195
1195
  let O = s;
@@ -1198,51 +1198,51 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
1198
1198
  }
1199
1199
  ge(
1200
1200
  () => T(p.value),
1201
- (f) => {
1202
- $.value || (q.value = i(f));
1201
+ (v) => {
1202
+ $.value || (q.value = i(v));
1203
1203
  }
1204
1204
  );
1205
- function R(f) {
1206
- q.value = f, $.value = f.trim() !== "", $.value || (q.value = i(T(p.value)));
1205
+ function R(v) {
1206
+ q.value = v, $.value = v.trim() !== "", $.value || (q.value = i(T(p.value)));
1207
1207
  }
1208
- const ve = A(() => {
1209
- const f = n.field?.name ?? "", r = q.value.trim();
1210
- return f !== "" && r !== "" && r !== f ? f : null;
1208
+ const fe = A(() => {
1209
+ const v = n.field?.name ?? "", r = q.value.trim();
1210
+ return v !== "" && r !== "" && r !== v ? v : null;
1211
1211
  }), ue = A(
1212
- () => Gt.map((f) => ({ value: f, label: l(`fields.type-${f}`) }))
1212
+ () => Gt.map((v) => ({ value: v, label: l(`fields.type-${v}`) }))
1213
1213
  ), be = A(() => ["select", "radio", "checkbox"].includes(x.value)), Q = A(
1214
1214
  () => Array.isArray(y.value.choices) ? y.value.choices : []
1215
1215
  ), de = A({
1216
1216
  get: () => Array.isArray(y.value.extensions) ? y.value.extensions : [],
1217
- set: (f) => D(
1217
+ set: (v) => D(
1218
1218
  "extensions",
1219
- f.map((r) => r.replace(/^\./, ""))
1219
+ v.map((r) => r.replace(/^\./, ""))
1220
1220
  )
1221
1221
  });
1222
- function D(f, r) {
1223
- y.value = { ...y.value, [f]: r };
1222
+ function D(v, r) {
1223
+ y.value = { ...y.value, [v]: r };
1224
1224
  }
1225
1225
  function $e() {
1226
1226
  D("choices", [...Q.value, { value: "", label: {} }]);
1227
1227
  }
1228
- function Se(f) {
1228
+ function Se(v) {
1229
1229
  D(
1230
1230
  "choices",
1231
- Q.value.filter((r, s) => s !== f)
1231
+ Q.value.filter((r, s) => s !== v)
1232
1232
  );
1233
1233
  }
1234
- function J(f, r) {
1234
+ function J(v, r) {
1235
1235
  D(
1236
1236
  "choices",
1237
- Q.value.map((s, O) => O === f ? { ...s, ...r } : s)
1237
+ Q.value.map((s, O) => O === v ? { ...s, ...r } : s)
1238
1238
  );
1239
1239
  }
1240
- function ae(f) {
1241
- return C.value[f]?.[0];
1240
+ function ae(v) {
1241
+ return C.value[v]?.[0];
1242
1242
  }
1243
1243
  async function ne() {
1244
1244
  N.value = !0, C.value = {};
1245
- const f = {
1245
+ const v = {
1246
1246
  name: q.value.trim() === "" ? null : q.value.trim(),
1247
1247
  type: x.value,
1248
1248
  title: p.value,
@@ -1252,11 +1252,11 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
1252
1252
  is_enabled: P.value,
1253
1253
  is_required: X.value,
1254
1254
  is_fullsize: V.value,
1255
- in_table: v.value
1255
+ in_table: f.value
1256
1256
  };
1257
1257
  try {
1258
1258
  c(
1259
- n.field === null ? await t.createField(n.form.id, f) : await t.saveField(n.field.id, f)
1259
+ n.field === null ? await t.createField(n.form.id, v) : await t.saveField(n.field.id, v)
1260
1260
  );
1261
1261
  } catch (r) {
1262
1262
  const s = r.body;
@@ -1265,7 +1265,7 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
1265
1265
  N.value = !1;
1266
1266
  }
1267
1267
  }
1268
- return (f, r) => (m(), _(e(He), {
1268
+ return (v, r) => (m(), _(e(He), {
1269
1269
  open: e(w),
1270
1270
  "onUpdate:open": r[21] || (r[21] = (s) => Pe(w) ? w.value = s : null),
1271
1271
  title: a.field ? e(l)("fields.edit-field") : e(l)("fields.new-field"),
@@ -1578,8 +1578,8 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
1578
1578
  label: e(l)("fields.is-fullsize")
1579
1579
  }, null, 8, ["modelValue", "label"])) : W("", !0),
1580
1580
  u(e(se), {
1581
- modelValue: v.value,
1582
- "onUpdate:modelValue": r[18] || (r[18] = (s) => v.value = s),
1581
+ modelValue: f.value,
1582
+ "onUpdate:modelValue": r[18] || (r[18] = (s) => f.value = s),
1583
1583
  label: e(l)("fields.in-table")
1584
1584
  }, null, 8, ["modelValue", "label"])
1585
1585
  ]),
@@ -1608,11 +1608,11 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
1608
1608
  ]),
1609
1609
  _: 1
1610
1610
  }, 8, ["label", "help", "error"]),
1611
- ve.value ? (m(), _(e(Ne), {
1611
+ fe.value ? (m(), _(e(Ne), {
1612
1612
  key: 0,
1613
1613
  type: "warning",
1614
1614
  variant: "soft",
1615
- description: e(l)("fields.name-renamed", { old: ve.value, new: q.value.trim() })
1615
+ description: e(l)("fields.name-renamed", { old: fe.value, new: q.value.trim() })
1616
1616
  }, null, 8, ["description"])) : W("", !0)
1617
1617
  ])
1618
1618
  ])
@@ -1620,7 +1620,7 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
1620
1620
  _: 1
1621
1621
  }, 8, ["open", "title"]));
1622
1622
  }
1623
- }), el = /* @__PURE__ */ fe(Jt, [["__scopeId", "data-v-8b202bc1"]]), tl = { class: "wx-inbox-field" }, ll = { class: "wx-inbox-field__name" }, al = /* @__PURE__ */ oe({
1623
+ }), el = /* @__PURE__ */ ve(Jt, [["__scopeId", "data-v-8b202bc1"]]), tl = { class: "wx-inbox-field" }, ll = { class: "wx-inbox-field__name" }, al = /* @__PURE__ */ oe({
1624
1624
  __name: "FieldList",
1625
1625
  props: /* @__PURE__ */ Ie({
1626
1626
  form: {},
@@ -1694,11 +1694,11 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
1694
1694
  title: e(t)("panel.tab-fields")
1695
1695
  }, Le({
1696
1696
  default: d(() => [
1697
- C.value ? (m(), _(e(ft), {
1697
+ C.value ? (m(), _(e(vt), {
1698
1698
  key: 0,
1699
1699
  title: e(t)("fields.no-fields"),
1700
1700
  description: e(t)("fields.no-fields-help")
1701
- }, null, 8, ["title", "description"])) : (m(), _(e(vt), {
1701
+ }, null, 8, ["title", "description"])) : (m(), _(e(ft), {
1702
1702
  key: 1,
1703
1703
  modelValue: c.value,
1704
1704
  "onUpdate:modelValue": y[1] || (y[1] = ($) => c.value = $),
@@ -1780,12 +1780,12 @@ const Bt = { class: "wx-inbox-by-hand" }, Pt = /* @__PURE__ */ oe({
1780
1780
  } : void 0
1781
1781
  ]), 1032, ["title"]));
1782
1782
  }
1783
- }), ml = /* @__PURE__ */ fe(al, [["__scopeId", "data-v-5d9f662e"]]), pl = _e(() => import("./InboxPage-PFFJg96Q.js")), hl = _e(() => import("./FormEditorPage-Un9YA2YN.js")), fl = _e(() => import("./StatusesPage-BlbcvbFo.js")), vl = _e(() => import("./SubmissionPage-BcTuujiw.js"));
1783
+ }), ml = /* @__PURE__ */ ve(al, [["__scopeId", "data-v-5d9f662e"]]), pl = _e(() => import("./InboxPage-GX_vLaDG.js")), hl = _e(() => import("./FormEditorPage-DhlICloH.js")), vl = _e(() => import("./StatusesPage-BOjY4W1p.js")), fl = _e(() => import("./SubmissionPage-DKU21Oox.js"));
1784
1784
  export {
1785
1785
  ml as F,
1786
1786
  dl as S,
1787
1787
  hl as W,
1788
- fe as _,
1788
+ ve as _,
1789
1789
  Xt as a,
1790
1790
  cl as b,
1791
1791
  Te as c,
@@ -1793,11 +1793,11 @@ export {
1793
1793
  Gt as e,
1794
1794
  Rt as f,
1795
1795
  pl as g,
1796
- fl as h,
1797
- vl as i,
1796
+ vl as h,
1797
+ fl as i,
1798
1798
  rl as j,
1799
1799
  At as k,
1800
1800
  ul as o,
1801
1801
  he as u
1802
1802
  };
1803
- //# sourceMappingURL=index-R48FNXyN.js.map
1803
+ //# sourceMappingURL=index-BpBqmOqV.js.map