@everchron/ec-shards 9.15.5 → 9.15.6

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
@@ -2184,6 +2184,11 @@ const Vs = /* @__PURE__ */ y(Ca, [["render", wa], ["__scopeId", "data-v-b0731279
2184
2184
  inline: {
2185
2185
  type: Boolean,
2186
2186
  default: !1
2187
+ },
2188
+ /** Sets the checkbox to error state */
2189
+ error: {
2190
+ type: Boolean,
2191
+ default: !1
2187
2192
  }
2188
2193
  }
2189
2194
  };
@@ -2192,7 +2197,8 @@ function xa(e, s, t, a, n, i) {
2192
2197
  return o(), r("div", {
2193
2198
  class: v(["ecs-form-check", [
2194
2199
  t.inline ? "ecs-form-check-inline" : "",
2195
- t.disabled ? "disabled" : ""
2200
+ t.disabled ? "disabled" : "",
2201
+ t.error ? "error" : ""
2196
2202
  ]])
2197
2203
  }, [
2198
2204
  h(e.$slots, "default"),
@@ -2313,6 +2319,11 @@ const Je = /* @__PURE__ */ y(Ba, [["render", za], ["__scopeId", "data-v-b3c32482
2313
2319
  /** Help text that appears underneath (or next to, for inline checkboxes) the label. */
2314
2320
  help: {
2315
2321
  type: String
2322
+ },
2323
+ /** Shows the checkbox in error state */
2324
+ error: {
2325
+ type: Boolean,
2326
+ default: !1
2316
2327
  }
2317
2328
  },
2318
2329
  data() {
@@ -2363,7 +2374,8 @@ function Pa(e, s, t, a, n, i) {
2363
2374
  class: v([
2364
2375
  t.inline ? "ecs-form-check-inline" : "",
2365
2376
  e.$slots.default ? "" : "stand-alone"
2366
- ])
2377
+ ]),
2378
+ error: t.error
2367
2379
  }, {
2368
2380
  default: w(() => [
2369
2381
  f("input", {
@@ -2396,9 +2408,9 @@ function Pa(e, s, t, a, n, i) {
2396
2408
  ], 8, Ta)
2397
2409
  ]),
2398
2410
  _: 3
2399
- }, 8, ["class"]);
2411
+ }, 8, ["class", "error"]);
2400
2412
  }
2401
- const lt = /* @__PURE__ */ y(Ia, [["render", Pa], ["__scopeId", "data-v-e15ff286"]]), Ma = {
2413
+ const lt = /* @__PURE__ */ y(Ia, [["render", Pa], ["__scopeId", "data-v-d9c7f9ef"]]), Ma = {
2402
2414
  name: "ecs-radiobutton",
2403
2415
  emits: ["input", "change"],
2404
2416
  components: { EcsFormCheck: Wt, EcsText: Je },