@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.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 ac = "0.2.267";
10
+ const ac = "0.2.268";
11
11
  class st extends Error {}
12
12
  class sc extends st {
13
13
  constructor(n) {
@@ -11021,10 +11021,30 @@
11021
11021
  },
11022
11022
  },
11023
11023
  computed: {
11024
+ hasIcon() {
11025
+ switch (this.basicType) {
11026
+ case "formrequest":
11027
+ return !0;
11028
+ }
11029
+ },
11030
+ iconClass() {
11031
+ switch (this.basicType) {
11032
+ case "formrequest":
11033
+ return this.model.complete ? "complete" : "pending";
11034
+ }
11035
+ },
11036
+ icon() {
11037
+ switch (this.basicType) {
11038
+ case "formrequest":
11039
+ return this.model.complete ? "fa-check-circle" : "fa-clock";
11040
+ }
11041
+ },
11024
11042
  summary() {
11025
11043
  var e;
11026
11044
  if ((e = this.model.venue) != null && e.title)
11027
11045
  return this.model.venue.title;
11046
+ if (this.basicType === "formrequest")
11047
+ return this.model.complete ? "Form completed" : "Awaiting response";
11028
11048
  },
11029
11049
  basicType() {
11030
11050
  var e, n;
@@ -11065,7 +11085,8 @@
11065
11085
  function U_(e, n, o, l, i, r) {
11066
11086
  const a = t.resolveComponent("ux-image"),
11067
11087
  s = t.resolveComponent("flex-cell"),
11068
- c = t.resolveComponent("flex-row");
11088
+ c = t.resolveComponent("ux-icon"),
11089
+ u = t.resolveComponent("flex-row");
11069
11090
  return (
11070
11091
  t.openBlock(),
11071
11092
  t.createElementBlock(
@@ -11075,13 +11096,13 @@
11075
11096
  onClick:
11076
11097
  n[0] ||
11077
11098
  (n[0] = t.withModifiers(
11078
- (...u) => r.clicked && r.clicked(...u),
11099
+ (...d) => r.clicked && r.clicked(...d),
11079
11100
  ["stop", "prevent"],
11080
11101
  )),
11081
11102
  },
11082
11103
  [
11083
11104
  t.createVNode(
11084
- c,
11105
+ u,
11085
11106
  { gap: "", vcenter: "" },
11086
11107
  {
11087
11108
  default: t.withCtx(() => [
@@ -11115,7 +11136,33 @@
11115
11136
  _: 1,
11116
11137
  },
11117
11138
  ))
11118
- : t.createCommentVNode("", !0),
11139
+ : r.hasIcon
11140
+ ? (t.openBlock(),
11141
+ t.createBlock(
11142
+ s,
11143
+ { key: 1, shrink: "" },
11144
+ {
11145
+ default: t.withCtx(() => [
11146
+ t.createElementVNode(
11147
+ "div",
11148
+ {
11149
+ class: t.normalizeClass([
11150
+ "icon-wrapper",
11151
+ r.iconClass,
11152
+ ]),
11153
+ },
11154
+ [
11155
+ t.createVNode(c, { icon: r.icon }, null, 8, [
11156
+ "icon",
11157
+ ]),
11158
+ ],
11159
+ 2,
11160
+ ),
11161
+ ]),
11162
+ _: 1,
11163
+ },
11164
+ ))
11165
+ : t.createCommentVNode("", !0),
11119
11166
  t.createVNode(
11120
11167
  s,
11121
11168
  { class: "text", vcenter: "" },
@@ -11170,7 +11217,7 @@
11170
11217
  }
11171
11218
  const er = g($_, [
11172
11219
  ["render", U_],
11173
- ["__scopeId", "data-v-7ecd8dae"],
11220
+ ["__scopeId", "data-v-cf0f8f29"],
11174
11221
  ]);
11175
11222
  /**!
11176
11223
  * Sortable 1.14.0