@qikdev/vue-ui 0.2.275 → 0.2.276

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/lib.es.js CHANGED
@@ -47,7 +47,7 @@ import {
47
47
  vModelDynamic as Zn,
48
48
  } from "vue";
49
49
  import { EventDispatcher as jl } from "@qikdev/sdk";
50
- const fu = "0.2.275";
50
+ const fu = "0.2.276";
51
51
  class qt extends Error {}
52
52
  class mu extends qt {
53
53
  constructor(t) {
@@ -13563,6 +13563,22 @@ const Cb = {
13563
13563
  },
13564
13564
  },
13565
13565
  computed: {
13566
+ status() {
13567
+ var e, t;
13568
+ if ((e = this.model.meta) != null && e.deleted) return "deleted";
13569
+ if (((t = this.model.meta) == null ? void 0 : t.status) === "inactive")
13570
+ return "inactive";
13571
+ },
13572
+ classes() {
13573
+ var t, n;
13574
+ const e = [];
13575
+ return (
13576
+ (t = this.model.meta) != null && t.deleted && e.push("deleted"),
13577
+ ((n = this.model.meta) == null ? void 0 : n.status) === "inactive" &&
13578
+ e.push("inactive"),
13579
+ e
13580
+ );
13581
+ },
13566
13582
  hasIcon() {
13567
13583
  switch (this.basicType) {
13568
13584
  case "formrequest":
@@ -13634,7 +13650,7 @@ function Fb(e, t, n, r, s, i) {
13634
13650
  d(
13635
13651
  "div",
13636
13652
  {
13637
- class: "content-item",
13653
+ class: A(["content-item", i.classes]),
13638
13654
  onClick:
13639
13655
  t[0] ||
13640
13656
  (t[0] = B(
@@ -13735,6 +13751,29 @@ function Fb(e, t, n, r, s, i) {
13735
13751
  _: 3,
13736
13752
  },
13737
13753
  ),
13754
+ i.status
13755
+ ? (a(),
13756
+ k(
13757
+ o,
13758
+ {
13759
+ key: 2,
13760
+ shrink: "",
13761
+ },
13762
+ {
13763
+ default: h(() => [
13764
+ x(
13765
+ "div",
13766
+ {
13767
+ class: A(["pill", i.status]),
13768
+ },
13769
+ b(i.status),
13770
+ 3,
13771
+ ),
13772
+ ]),
13773
+ _: 1,
13774
+ },
13775
+ ))
13776
+ : g("", !0),
13738
13777
  c(
13739
13778
  o,
13740
13779
  { shrink: "" },
@@ -13748,12 +13787,13 @@ function Fb(e, t, n, r, s, i) {
13748
13787
  },
13749
13788
  ),
13750
13789
  ],
13790
+ 2,
13751
13791
  )
13752
13792
  );
13753
13793
  }
13754
13794
  const ia = /* @__PURE__ */ V(Cb, [
13755
13795
  ["render", Fb],
13756
- ["__scopeId", "data-v-cf0f8f29"],
13796
+ ["__scopeId", "data-v-df4b8b3a"],
13757
13797
  ]);
13758
13798
  /**!
13759
13799
  * Sortable 1.14.0