@everchron/ec-shards 8.10.5 → 8.10.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ec-shards.js CHANGED
@@ -97,7 +97,7 @@ const pi = {
97
97
  /** The alert variant, which defines it's background color. */
98
98
  type: {
99
99
  type: String,
100
- validator: (e) => ["success", "info", "error", "warning", "important"].includes(e),
100
+ validator: (e) => ["success", "info", "error", "warning", "important", "none"].includes(e),
101
101
  default: "info"
102
102
  },
103
103
  /** When set to true, a close button is displayed which allows the user to dismiss the alert. */
@@ -211,7 +211,7 @@ function vi(e, s, t, a, n, i) {
211
211
  ])) : u("", !0)
212
212
  ], 6)) : u("", !0);
213
213
  }
214
- const ks = /* @__PURE__ */ y(pi, [["render", vi], ["__scopeId", "data-v-3dba37f1"]]);
214
+ const ks = /* @__PURE__ */ y(pi, [["render", vi], ["__scopeId", "data-v-5beb2d65"]]);
215
215
  const _i = {
216
216
  name: "ecs-action-toolbar"
217
217
  }, yi = {
@@ -11665,6 +11665,12 @@ const eh = {
11665
11665
  sidebarIconLoading: {
11666
11666
  type: Boolean,
11667
11667
  default: !1
11668
+ },
11669
+ // Props for alert slot
11670
+ /** Allows the change the alert type being shown if the #alert slot is being used. */
11671
+ alertType: {
11672
+ type: String,
11673
+ default: "warning"
11668
11674
  }
11669
11675
  },
11670
11676
  data() {
@@ -11818,7 +11824,7 @@ function hh(e, s, t, a, n, i) {
11818
11824
  ], 4),
11819
11825
  e.$slots.alert ? (o(), _(d, {
11820
11826
  key: 0,
11821
- type: "warning",
11827
+ type: t.alertType,
11822
11828
  inset: "",
11823
11829
  border: [0, 0, 1, 0],
11824
11830
  class: "ecs-overlay-alert"
@@ -11827,7 +11833,7 @@ function hh(e, s, t, a, n, i) {
11827
11833
  m(e.$slots, "alert", {}, void 0, !0)
11828
11834
  ]),
11829
11835
  _: 3
11830
- })) : u("", !0),
11836
+ }, 8, ["type"])) : u("", !0),
11831
11837
  f("main", {
11832
11838
  ref: "content",
11833
11839
  class: "ecs-overlay-content scrollbar",
@@ -11878,7 +11884,7 @@ function hh(e, s, t, a, n, i) {
11878
11884
  _: 3
11879
11885
  });
11880
11886
  }
11881
- const yb = /* @__PURE__ */ y(eh, [["render", hh], ["__scopeId", "data-v-b226eb17"]]);
11887
+ const yb = /* @__PURE__ */ y(eh, [["render", hh], ["__scopeId", "data-v-9e17191b"]]);
11882
11888
  const vh = {
11883
11889
  name: "ecs-pagination",
11884
11890
  emits: ["firstPage", "prevPage", "nextPage", "lastPage", "updatePage", "itemsPerPage"],