@anzusystems/common-admin 1.47.0-beta.dev-1771894803 → 1.47.0-beta.dev-1771894805

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.
@@ -1732,6 +1732,7 @@ buttonClass: string;
1732
1732
  disableRedirect: boolean;
1733
1733
  redirectRouteName: string;
1734
1734
  redirectParamName: string;
1735
+ disableShowErrorsDefault: boolean;
1735
1736
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1736
1737
 
1737
1738
  declare const __VLS_component_16: DefineComponent<__VLS_Props_37, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -6362,6 +6363,7 @@ declare type __VLS_Props_34 = {
6362
6363
  disableRedirect?: boolean;
6363
6364
  redirectRouteName?: string | undefined;
6364
6365
  redirectParamName?: string;
6366
+ disableShowErrorsDefault?: boolean;
6365
6367
  };
6366
6368
 
6367
6369
  declare type __VLS_Props_35 = {
@@ -10487,6 +10489,7 @@ declare function __VLS_template_34(): {
10487
10489
  attrs: Partial<{}>;
10488
10490
  slots: {
10489
10491
  default?(_: {}): any;
10492
+ actions?(_: {}): any;
10490
10493
  };
10491
10494
  refs: {};
10492
10495
  rootEl: HTMLDivElement;
@@ -654,7 +654,8 @@ const Kc = { key: 1 }, Gr = /* @__PURE__ */ H({
654
654
  callCreate: {},
655
655
  disableRedirect: { type: Boolean, default: !1 },
656
656
  redirectRouteName: { default: void 0 },
657
- redirectParamName: { default: "id" }
657
+ redirectParamName: { default: "id" },
658
+ disableShowErrorsDefault: { type: Boolean, default: !1 }
658
659
  }, {
659
660
  modelValue: { type: Boolean, default: !1, required: !1 },
660
661
  modelModifiers: {}
@@ -678,7 +679,7 @@ const Kc = { key: 1 }, Gr = /* @__PURE__ */ H({
678
679
  params: { [t.redirectParamName]: F[t.redirectParamName] }
679
680
  });
680
681
  } catch (F) {
681
- g(F), s("onError", F);
682
+ t.disableShowErrorsDefault || g(F), s("onError", F);
682
683
  } finally {
683
684
  r.value = !1;
684
685
  }
@@ -5270,16 +5271,18 @@ const hf = { class: "text-center w-100 text-body-small pb-1" }, IK = /* @__PURE_
5270
5271
  e.title ? (v(), K("span", Lf, A(e.title), 1)) : E("", !0)
5271
5272
  ])) : E("", !0),
5272
5273
  e.text ? (v(), K("p", zf, A(e.text), 1)) : E("", !0),
5273
- e.buttonText && e.returnRouteName ? (v(), x(s, {
5274
- key: 2,
5275
- to: { name: e.returnRouteName },
5276
- size: "large"
5277
- }, {
5278
- default: f(() => [
5279
- M(A(e.buttonText), 1)
5280
- ]),
5281
- _: 1
5282
- }, 8, ["to"])) : E("", !0)
5274
+ le(a.$slots, "actions", {}, () => [
5275
+ e.buttonText && e.returnRouteName ? (v(), x(s, {
5276
+ key: 0,
5277
+ to: { name: e.returnRouteName },
5278
+ size: "large"
5279
+ }, {
5280
+ default: f(() => [
5281
+ M(A(e.buttonText), 1)
5282
+ ]),
5283
+ _: 1
5284
+ }, 8, ["to"])) : E("", !0)
5285
+ ])
5283
5286
  ])
5284
5287
  ])
5285
5288
  ]);
@@ -9027,7 +9030,7 @@ function wg(e = 30) {
9027
9030
  };
9028
9031
  }
9029
9032
  let cr = null;
9030
- const ao = () => (cr || (cr = import("./index-CS8NJO8z.mjs").then((e) => e).catch(() => null)), cr);
9033
+ const ao = () => (cr || (cr = import("./index-D3GfWQ5v.mjs").then((e) => e).catch(() => null)), cr);
9031
9034
  function Jd() {
9032
9035
  return {
9033
9036
  logError: (o, i) => {