@qikdev/vue-ui 0.2.267 → 0.2.268

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 Yn,
48
48
  } from "vue";
49
49
  import { EventDispatcher as jl } from "@qikdev/sdk";
50
- const cu = "0.2.267";
50
+ const cu = "0.2.268";
51
51
  class zt extends Error {}
52
52
  class fu extends zt {
53
53
  constructor(t) {
@@ -13402,10 +13402,30 @@ const vb = {
13402
13402
  },
13403
13403
  },
13404
13404
  computed: {
13405
+ hasIcon() {
13406
+ switch (this.basicType) {
13407
+ case "formrequest":
13408
+ return !0;
13409
+ }
13410
+ },
13411
+ iconClass() {
13412
+ switch (this.basicType) {
13413
+ case "formrequest":
13414
+ return this.model.complete ? "complete" : "pending";
13415
+ }
13416
+ },
13417
+ icon() {
13418
+ switch (this.basicType) {
13419
+ case "formrequest":
13420
+ return this.model.complete ? "fa-check-circle" : "fa-clock";
13421
+ }
13422
+ },
13405
13423
  summary() {
13406
13424
  var e;
13407
13425
  if ((e = this.model.venue) != null && e.title)
13408
13426
  return this.model.venue.title;
13427
+ if (this.basicType === "formrequest")
13428
+ return this.model.complete ? "Form completed" : "Awaiting response";
13409
13429
  },
13410
13430
  basicType() {
13411
13431
  var e, t;
@@ -13446,7 +13466,8 @@ const vb = {
13446
13466
  function xb(e, t, n, r, s, i) {
13447
13467
  const l = y("ux-image"),
13448
13468
  o = y("flex-cell"),
13449
- u = y("flex-row");
13469
+ u = y("ux-icon"),
13470
+ m = y("flex-row");
13450
13471
  return (
13451
13472
  a(),
13452
13473
  d(
@@ -13456,13 +13477,13 @@ function xb(e, t, n, r, s, i) {
13456
13477
  onClick:
13457
13478
  t[0] ||
13458
13479
  (t[0] = B(
13459
- (...m) => i.clicked && i.clicked(...m),
13480
+ (...f) => i.clicked && i.clicked(...f),
13460
13481
  ["stop", "prevent"],
13461
13482
  )),
13462
13483
  },
13463
13484
  [
13464
13485
  c(
13465
- u,
13486
+ m,
13466
13487
  {
13467
13488
  gap: "",
13468
13489
  vcenter: "",
@@ -13503,7 +13524,29 @@ function xb(e, t, n, r, s, i) {
13503
13524
  _: 1,
13504
13525
  },
13505
13526
  ))
13506
- : g("", !0),
13527
+ : i.hasIcon
13528
+ ? (a(),
13529
+ b(
13530
+ o,
13531
+ {
13532
+ key: 1,
13533
+ shrink: "",
13534
+ },
13535
+ {
13536
+ default: h(() => [
13537
+ x(
13538
+ "div",
13539
+ {
13540
+ class: A(["icon-wrapper", i.iconClass]),
13541
+ },
13542
+ [c(u, { icon: i.icon }, null, 8, ["icon"])],
13543
+ 2,
13544
+ ),
13545
+ ]),
13546
+ _: 1,
13547
+ },
13548
+ ))
13549
+ : g("", !0),
13507
13550
  c(
13508
13551
  o,
13509
13552
  {
@@ -13549,7 +13592,7 @@ function xb(e, t, n, r, s, i) {
13549
13592
  }
13550
13593
  const ia = /* @__PURE__ */ T(vb, [
13551
13594
  ["render", xb],
13552
- ["__scopeId", "data-v-7ecd8dae"],
13595
+ ["__scopeId", "data-v-cf0f8f29"],
13553
13596
  ]);
13554
13597
  /**!
13555
13598
  * Sortable 1.14.0