@qikdev/vue-ui 0.2.141 → 0.2.142

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
@@ -1,7 +1,7 @@
1
1
  import './style.css';
2
2
  import { defineComponent as Vi, ref as Zt, toRefs as ba, onMounted as ka, onBeforeUnmount as zo, watch as Ci, computed as di, openBlock as o, createElementBlock as d, renderSlot as z, createCommentVNode as _, normalizeClass as L, useSlots as Ho, reactive as Sr, provide as $r, resolveComponent as y, Fragment as w, unref as Bn, createBlock as k, withCtx as h, createVNode as m, renderList as $, toDisplayString as v, withDirectives as K, vShow as ci, createElementVNode as x, withModifiers as B, createTextVNode as S, h as fi, resolveDynamicComponent as Ot, mergeProps as Ei, toHandlers as xa, vModelSelect as Tt, pushScopeId as tt, popScopeId as nt, normalizeStyle as ut, Teleport as qo, vModelText as se, withKeys as ge, TransitionGroup as Go, nextTick as wa, vModelDynamic as zn } from "vue";
3
3
  import { EventDispatcher as Wo } from "@qikdev/sdk";
4
- const Ko = "0.2.141";
4
+ const Ko = "0.2.142";
5
5
  class Lt extends Error {
6
6
  }
7
7
  class Yo extends Lt {
@@ -4742,7 +4742,7 @@ function pn(e) {
4742
4742
  }
4743
4743
  const He = {};
4744
4744
  He.format = function(e, t) {
4745
- return P.fromJSDate(new Date(e)).toFormat(t);
4745
+ return e = e ? new Date(e) : new Date(), P.fromJSDate(e).toFormat(t);
4746
4746
  };
4747
4747
  He.readableDateRange = function(e, t) {
4748
4748
  if (!e)
@@ -19118,7 +19118,8 @@ const rT = {
19118
19118
  getExpressionVisualHide: Me("visualHide"),
19119
19119
  // hasExpressionDefaultValue: hasExpression('defaultValue'), // Not sure what this is for
19120
19120
  expressions() {
19121
- return this.field.expressions;
19121
+ var e;
19122
+ return (e = this.field) == null ? void 0 : e.expressions;
19122
19123
  },
19123
19124
  expressionsContext() {
19124
19125
  var s;
@@ -19140,16 +19141,19 @@ const rT = {
19140
19141
  return this.submission && this.field.officeOnly;
19141
19142
  },
19142
19143
  hidden() {
19143
- return this.officeOnly && !this.includeOfficeOnly || this.actualField.readOnly ? !0 : this.getExpressionHide;
19144
+ var e;
19145
+ return this.officeOnly && !this.includeOfficeOnly || (e = this.actualField) != null && e.readOnly ? !0 : this.getExpressionHide;
19144
19146
  },
19145
19147
  visible() {
19146
- return this.mounted && !this.hidden;
19148
+ return this.field && this.mounted && !this.hidden;
19147
19149
  },
19148
19150
  type() {
19149
- return this.actualField.type || "string";
19151
+ var e;
19152
+ return ((e = this.actualField) == null ? void 0 : e.type) || "string";
19150
19153
  },
19151
19154
  key() {
19152
- return this.actualField.key;
19155
+ var e;
19156
+ return (e = this.actualField) == null ? void 0 : e.key;
19153
19157
  },
19154
19158
  isGroup() {
19155
19159
  return this.type === "group";
@@ -19158,7 +19162,8 @@ const rT = {
19158
19162
  return this.widget === "form" || this.isGroup && this.actualField.asObject;
19159
19163
  },
19160
19164
  visualHide() {
19161
- return this.actualField.visualHide;
19165
+ var e;
19166
+ return (e = this.actualField) == null ? void 0 : e.visualHide;
19162
19167
  },
19163
19168
  layoutGroup() {
19164
19169
  return this.isGroup && !this.actualField.asObject;
@@ -19544,7 +19549,7 @@ function sT(e, t, n, i, s, r) {
19544
19549
  r.error && s.validateResults.message ? (o(), d("div", iT, v(s.validateResults.message), 1)) : _("", !0)
19545
19550
  ], 34)) : _("", !0);
19546
19551
  }
19547
- const Gi = /* @__PURE__ */ V(rT, [["render", sT], ["__scopeId", "data-v-b6cb8f4a"]]);
19552
+ const Gi = /* @__PURE__ */ V(rT, [["render", sT], ["__scopeId", "data-v-037db580"]]);
19548
19553
  function aT(e, t, n, i) {
19549
19554
  var s = -1, r = e == null ? 0 : e.length;
19550
19555
  for (i && r && (n = e[++s]); ++s < r; )