@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 +43 -3
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +40 -3
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +76 -14
- package/package.json +1 -1
package/dist/lib.umd.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
t((V["@qikdev/vue-ui"] = {}), V.Vue, V["@qikdev/sdk"]));
|
|
8
8
|
})(this, function (V, t, $r) {
|
|
9
9
|
"use strict";
|
|
10
|
-
const sc = "0.2.
|
|
10
|
+
const sc = "0.2.276";
|
|
11
11
|
class ct extends Error {}
|
|
12
12
|
class cc extends ct {
|
|
13
13
|
constructor(n) {
|
|
@@ -11184,6 +11184,24 @@
|
|
|
11184
11184
|
},
|
|
11185
11185
|
},
|
|
11186
11186
|
computed: {
|
|
11187
|
+
status() {
|
|
11188
|
+
var e, n;
|
|
11189
|
+
if ((e = this.model.meta) != null && e.deleted) return "deleted";
|
|
11190
|
+
if (
|
|
11191
|
+
((n = this.model.meta) == null ? void 0 : n.status) === "inactive"
|
|
11192
|
+
)
|
|
11193
|
+
return "inactive";
|
|
11194
|
+
},
|
|
11195
|
+
classes() {
|
|
11196
|
+
var n, o;
|
|
11197
|
+
const e = [];
|
|
11198
|
+
return (
|
|
11199
|
+
(n = this.model.meta) != null && n.deleted && e.push("deleted"),
|
|
11200
|
+
((o = this.model.meta) == null ? void 0 : o.status) ===
|
|
11201
|
+
"inactive" && e.push("inactive"),
|
|
11202
|
+
e
|
|
11203
|
+
);
|
|
11204
|
+
},
|
|
11187
11205
|
hasIcon() {
|
|
11188
11206
|
switch (this.basicType) {
|
|
11189
11207
|
case "formrequest":
|
|
@@ -11255,7 +11273,7 @@
|
|
|
11255
11273
|
t.createElementBlock(
|
|
11256
11274
|
"div",
|
|
11257
11275
|
{
|
|
11258
|
-
class: "content-item",
|
|
11276
|
+
class: t.normalizeClass(["content-item", r.classes]),
|
|
11259
11277
|
onClick:
|
|
11260
11278
|
n[0] ||
|
|
11261
11279
|
(n[0] = t.withModifiers(
|
|
@@ -11360,6 +11378,24 @@
|
|
|
11360
11378
|
_: 3,
|
|
11361
11379
|
},
|
|
11362
11380
|
),
|
|
11381
|
+
r.status
|
|
11382
|
+
? (t.openBlock(),
|
|
11383
|
+
t.createBlock(
|
|
11384
|
+
s,
|
|
11385
|
+
{ key: 2, shrink: "" },
|
|
11386
|
+
{
|
|
11387
|
+
default: t.withCtx(() => [
|
|
11388
|
+
t.createElementVNode(
|
|
11389
|
+
"div",
|
|
11390
|
+
{ class: t.normalizeClass(["pill", r.status]) },
|
|
11391
|
+
t.toDisplayString(r.status),
|
|
11392
|
+
3,
|
|
11393
|
+
),
|
|
11394
|
+
]),
|
|
11395
|
+
_: 1,
|
|
11396
|
+
},
|
|
11397
|
+
))
|
|
11398
|
+
: t.createCommentVNode("", !0),
|
|
11363
11399
|
t.createVNode(
|
|
11364
11400
|
s,
|
|
11365
11401
|
{ shrink: "" },
|
|
@@ -11375,12 +11411,13 @@
|
|
|
11375
11411
|
},
|
|
11376
11412
|
),
|
|
11377
11413
|
],
|
|
11414
|
+
2,
|
|
11378
11415
|
)
|
|
11379
11416
|
);
|
|
11380
11417
|
}
|
|
11381
11418
|
const er = g(H_, [
|
|
11382
11419
|
["render", K_],
|
|
11383
|
-
["__scopeId", "data-v-
|
|
11420
|
+
["__scopeId", "data-v-df4b8b3a"],
|
|
11384
11421
|
]);
|
|
11385
11422
|
/**!
|
|
11386
11423
|
* Sortable 1.14.0
|