@qikdev/vue-ui 0.2.111 → 0.2.113

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 Si, ref as Yt, toRefs as ma, onMounted as ha, onBeforeUnmount as Ao, watch as Oi, computed as ui, openBlock as o, createElementBlock as d, renderSlot as G, createCommentVNode as _, useSlots as Mo, reactive as wr, provide as $r, resolveComponent as y, normalizeClass as P, Fragment as S, unref as Rn, createBlock as k, withCtx as m, createVNode as h, renderList as $, toDisplayString as b, createElementVNode as x, withModifiers as q, createTextVNode as O, h as di, resolveDynamicComponent as St, mergeProps as Ti, toHandlers as pa, withDirectives as K, vModelSelect as Ot, pushScopeId as ot, popScopeId as ut, normalizeStyle as at, Teleport as Io, vModelText as se, withKeys as ge, TransitionGroup as Do, nextTick as ya, vModelDynamic as Bn, vShow as Zi } from "vue";
3
3
  import { EventDispatcher as Fo } from "@qikdev/sdk";
4
- const $o = "0.2.111";
4
+ const $o = "0.2.113";
5
5
  class $t extends Error {
6
6
  }
7
7
  class No extends $t {
@@ -9482,7 +9482,10 @@ function iv(e, t, n, i, s, r) {
9482
9482
  ]),
9483
9483
  _: 1
9484
9484
  })) : _("", !0),
9485
- h(l, { vcenter: "" }, {
9485
+ h(l, {
9486
+ class: "text",
9487
+ vcenter: ""
9488
+ }, {
9486
9489
  default: m(() => [
9487
9490
  x("div", null, [
9488
9491
  G(e.$slots, "default", {}, () => [
@@ -9503,7 +9506,7 @@ function iv(e, t, n, i, s, r) {
9503
9506
  })
9504
9507
  ]);
9505
9508
  }
9506
- const El = /* @__PURE__ */ C(rv, [["render", iv], ["__scopeId", "data-v-f1a20da8"]]);
9509
+ const El = /* @__PURE__ */ C(rv, [["render", iv], ["__scopeId", "data-v-6ca8ca73"]]);
9507
9510
  /**!
9508
9511
  * Sortable 1.14.0
9509
9512
  * @author RubaXa <trash@rubaxa.org>
@@ -15138,6 +15141,10 @@ const Mk = {
15138
15141
  type: Boolean,
15139
15142
  default: !1
15140
15143
  },
15144
+ ignoreDefaults: {
15145
+ type: Boolean,
15146
+ default: !1
15147
+ },
15141
15148
  includeOfficeOnly: {
15142
15149
  type: Boolean,
15143
15150
  default: !1
@@ -15333,13 +15340,14 @@ function Rk(e, t, n, i, s, r) {
15333
15340
  ref: "form",
15334
15341
  includeOfficeOnly: n.includeOfficeOnly,
15335
15342
  submission: n.submission,
15343
+ ignoreDefaults: n.ignoreDefaults,
15336
15344
  "onForm:state": r.stateChange,
15337
15345
  parentModel: e.parentModel,
15338
15346
  modelValue: e.model[A],
15339
15347
  "onUpdate:modelValue": (W) => e.model[A] = W,
15340
15348
  flex: r.sameLine,
15341
15349
  fields: e.field.fields
15342
- }, null, 8, ["trail", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "onUpdate:modelValue", "flex", "fields"])
15350
+ }, null, 8, ["trail", "includeOfficeOnly", "submission", "ignoreDefaults", "onForm:state", "parentModel", "modelValue", "onUpdate:modelValue", "flex", "fields"])
15343
15351
  ]),
15344
15352
  _: 2
15345
15353
  }, 1536), [
@@ -15436,13 +15444,14 @@ function Rk(e, t, n, i, s, r) {
15436
15444
  trail: n.trail,
15437
15445
  includeOfficeOnly: n.includeOfficeOnly,
15438
15446
  submission: n.submission,
15447
+ ignoreDefaults: n.ignoreDefaults,
15439
15448
  "onForm:state": r.stateChange,
15440
15449
  parentModel: e.parentModel,
15441
15450
  modelValue: e.model[A],
15442
15451
  "onUpdate:modelValue": (W) => e.model[A] = W,
15443
15452
  flex: r.sameLine,
15444
15453
  fields: e.field.fields
15445
- }, null, 8, ["trail", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "onUpdate:modelValue", "flex", "fields"])
15454
+ }, null, 8, ["trail", "includeOfficeOnly", "submission", "ignoreDefaults", "onForm:state", "parentModel", "modelValue", "onUpdate:modelValue", "flex", "fields"])
15446
15455
  ]),
15447
15456
  _: 2
15448
15457
  }, 1536), [
@@ -15515,13 +15524,14 @@ function Rk(e, t, n, i, s, r) {
15515
15524
  trail: n.trail,
15516
15525
  includeOfficeOnly: n.includeOfficeOnly,
15517
15526
  submission: n.submission,
15527
+ ignoreDefaults: n.ignoreDefaults,
15518
15528
  "onForm:state": r.stateChange,
15519
15529
  parentModel: e.parentModel,
15520
15530
  modelValue: e.model,
15521
15531
  "onUpdate:modelValue": t[7] || (t[7] = (T) => e.model = T),
15522
15532
  flex: r.sameLine,
15523
15533
  fields: e.field.fields
15524
- }, null, 8, ["trail", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"])
15534
+ }, null, 8, ["trail", "includeOfficeOnly", "submission", "ignoreDefaults", "onForm:state", "parentModel", "modelValue", "flex", "fields"])
15525
15535
  ]),
15526
15536
  _: 1
15527
15537
  })
@@ -15533,13 +15543,14 @@ function Rk(e, t, n, i, s, r) {
15533
15543
  trail: n.trail,
15534
15544
  includeOfficeOnly: n.includeOfficeOnly,
15535
15545
  submission: n.submission,
15546
+ ignoreDefaults: n.ignoreDefaults,
15536
15547
  "onForm:state": r.stateChange,
15537
15548
  parentModel: e.parentModel,
15538
15549
  modelValue: e.model,
15539
15550
  "onUpdate:modelValue": t[8] || (t[8] = (T) => e.model = T),
15540
15551
  flex: r.sameLine,
15541
15552
  fields: e.field.fields
15542
- }, null, 8, ["trail", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"]))
15553
+ }, null, 8, ["trail", "includeOfficeOnly", "submission", "ignoreDefaults", "onForm:state", "parentModel", "modelValue", "flex", "fields"]))
15543
15554
  ], 64)) : (o(), k(u, {
15544
15555
  key: 1,
15545
15556
  onClick: t[9] || (t[9] = (T) => r.createSingleObject())
@@ -15568,13 +15579,14 @@ function Rk(e, t, n, i, s, r) {
15568
15579
  trail: n.trail,
15569
15580
  includeOfficeOnly: n.includeOfficeOnly,
15570
15581
  submission: n.submission,
15582
+ ignoreDefaults: n.ignoreDefaults,
15571
15583
  "onForm:state": r.stateChange,
15572
15584
  parentModel: e.parentModel,
15573
15585
  modelValue: e.model,
15574
15586
  "onUpdate:modelValue": t[10] || (t[10] = (T) => e.model = T),
15575
15587
  flex: r.sameLine,
15576
15588
  fields: e.field.fields
15577
- }, null, 8, ["trail", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"])
15589
+ }, null, 8, ["trail", "includeOfficeOnly", "submission", "ignoreDefaults", "onForm:state", "parentModel", "modelValue", "flex", "fields"])
15578
15590
  ]),
15579
15591
  _: 1
15580
15592
  })
@@ -15587,17 +15599,18 @@ function Rk(e, t, n, i, s, r) {
15587
15599
  trail: n.trail,
15588
15600
  includeOfficeOnly: n.includeOfficeOnly,
15589
15601
  submission: n.submission,
15602
+ ignoreDefaults: n.ignoreDefaults,
15590
15603
  "onForm:state": r.stateChange,
15591
15604
  parentModel: e.parentModel,
15592
15605
  modelValue: e.model,
15593
15606
  "onUpdate:modelValue": t[11] || (t[11] = (T) => e.model = T),
15594
15607
  flex: r.sameLine,
15595
15608
  fields: e.field.fields
15596
- }, null, 8, ["trail", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"]))
15609
+ }, null, 8, ["trail", "includeOfficeOnly", "submission", "ignoreDefaults", "onForm:state", "parentModel", "modelValue", "flex", "fields"]))
15597
15610
  ], 64))
15598
15611
  ], 64));
15599
15612
  }
15600
- const Bk = /* @__PURE__ */ C(Mk, [["render", Rk], ["__scopeId", "data-v-a6158951"]]), zk = {
15613
+ const Bk = /* @__PURE__ */ C(Mk, [["render", Rk], ["__scopeId", "data-v-717041ca"]]), zk = {
15601
15614
  props: {
15602
15615
  option: {
15603
15616
  required: !0
@@ -18048,6 +18061,10 @@ const pO = {
18048
18061
  type: Boolean,
18049
18062
  default: !1
18050
18063
  },
18064
+ ignoreDefaults: {
18065
+ type: Boolean,
18066
+ default: !1
18067
+ },
18051
18068
  sandbox: {
18052
18069
  type: Boolean,
18053
18070
  default: !1
@@ -18120,7 +18137,7 @@ const pO = {
18120
18137
  },
18121
18138
  checkDirtyState() {
18122
18139
  const e = this;
18123
- var t = e.fieldModel, n = t || t === !1 || t === 0, i = e.fieldDefaultValue(), s = JSON.stringify(e.cleanOutput(t)), r = JSON.stringify(e.cleanOutput(i));
18140
+ var t = e.fieldModel, n = e.ignoreDefaults || t || t === !1 || t === 0, i = e.fieldDefaultValue(), s = JSON.stringify(e.cleanOutput(t)), r = JSON.stringify(e.cleanOutput(i));
18124
18141
  n && s != r ? (e.isDirty = !0, e.isDirtyBeforeInput = !0, e.fieldModel = t) : (e.isDirty = !1, e.isDirtyBeforeInput = !1, e.fieldModel = i), e.validateResults = e.$sdk.content.validateField(e.fieldModel, e.actualField);
18125
18142
  },
18126
18143
  groupStateAltered(e) {
@@ -18486,6 +18503,7 @@ function _O(e, t, n, i, s, r) {
18486
18503
  paymentConfiguration: n.paymentConfiguration,
18487
18504
  includeOfficeOnly: n.includeOfficeOnly,
18488
18505
  submission: n.submission,
18506
+ ignoreDefaults: n.ignoreDefaults,
18489
18507
  sandbox: n.sandbox,
18490
18508
  "onForm:state": r.groupStateAltered,
18491
18509
  ref: "group",
@@ -18494,12 +18512,13 @@ function _O(e, t, n, i, s, r) {
18494
18512
  parentModel: n.parentModel,
18495
18513
  modelValue: r.fieldModel,
18496
18514
  "onUpdate:modelValue": t[9] || (t[9] = (I) => r.fieldModel = I)
18497
- }, null, 8, ["trail", "paymentConfiguration", "includeOfficeOnly", "submission", "sandbox", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : (o(), k(T, {
18515
+ }, null, 8, ["trail", "paymentConfiguration", "includeOfficeOnly", "submission", "ignoreDefaults", "sandbox", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : (o(), k(T, {
18498
18516
  key: 1,
18499
18517
  trail: n.trail,
18500
18518
  paymentConfiguration: n.paymentConfiguration,
18501
18519
  includeOfficeOnly: n.includeOfficeOnly,
18502
18520
  submission: n.submission,
18521
+ ignoreDefaults: n.ignoreDefaults,
18503
18522
  sandbox: n.sandbox,
18504
18523
  "onForm:state": r.groupStateAltered,
18505
18524
  ref: "group",
@@ -18508,7 +18527,7 @@ function _O(e, t, n, i, s, r) {
18508
18527
  parentModel: n.parentModel,
18509
18528
  modelValue: r.sourceModel,
18510
18529
  "onUpdate:modelValue": t[10] || (t[10] = (I) => r.sourceModel = I)
18511
- }, null, 8, ["trail", "paymentConfiguration", "includeOfficeOnly", "submission", "sandbox", "onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
18530
+ }, null, 8, ["trail", "paymentConfiguration", "includeOfficeOnly", "submission", "ignoreDefaults", "sandbox", "onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
18512
18531
  ], 64)) : _("", !0),
18513
18532
  r.widget == "form" ? (o(), k(T, {
18514
18533
  key: 11,
@@ -18516,6 +18535,7 @@ function _O(e, t, n, i, s, r) {
18516
18535
  paymentConfiguration: n.paymentConfiguration,
18517
18536
  includeOfficeOnly: n.includeOfficeOnly,
18518
18537
  submission: n.submission,
18538
+ ignoreDefaults: n.ignoreDefaults,
18519
18539
  sandbox: n.sandbox,
18520
18540
  "onForm:state": r.groupStateAltered,
18521
18541
  ref: "group",
@@ -18524,7 +18544,7 @@ function _O(e, t, n, i, s, r) {
18524
18544
  parentModel: n.parentModel,
18525
18545
  modelValue: r.fieldModel,
18526
18546
  "onUpdate:modelValue": t[11] || (t[11] = (I) => r.fieldModel = I)
18527
- }, null, 8, ["trail", "paymentConfiguration", "includeOfficeOnly", "submission", "sandbox", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : _("", !0),
18547
+ }, null, 8, ["trail", "paymentConfiguration", "includeOfficeOnly", "submission", "ignoreDefaults", "sandbox", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : _("", !0),
18528
18548
  r.widget == "field-select" ? (o(), k(A, {
18529
18549
  key: 12,
18530
18550
  onTouched: r.touch,
@@ -18680,7 +18700,7 @@ function _O(e, t, n, i, s, r) {
18680
18700
  r.error && s.validateResults.message ? (o(), d("div", yO, b(s.validateResults.message), 1)) : _("", !0)
18681
18701
  ], 34)) : _("", !0);
18682
18702
  }
18683
- const zi = /* @__PURE__ */ C(pO, [["render", _O], ["__scopeId", "data-v-060245b6"]]);
18703
+ const zi = /* @__PURE__ */ C(pO, [["render", _O], ["__scopeId", "data-v-bf77f68b"]]);
18684
18704
  function gO(e, t, n, i) {
18685
18705
  var s = -1, r = e == null ? 0 : e.length;
18686
18706
  for (i && r && (n = e[++s]); ++s < r; )
@@ -18958,6 +18978,10 @@ const ET = {
18958
18978
  type: Boolean,
18959
18979
  default: !1
18960
18980
  },
18981
+ ignoreDefaults: {
18982
+ type: Boolean,
18983
+ default: !1
18984
+ },
18961
18985
  sandbox: {
18962
18986
  type: Boolean,
18963
18987
  default: !1
@@ -19127,6 +19151,7 @@ function AT(e, t, n, i, s, r) {
19127
19151
  trail: r.currentTrail,
19128
19152
  sandbox: n.sandbox,
19129
19153
  submission: n.submission,
19154
+ ignoreDefaults: n.ignoreDefaults,
19130
19155
  paymentConfiguration: n.paymentConfiguration,
19131
19156
  includeOfficeOnly: n.includeOfficeOnly,
19132
19157
  "onField:mount": r.fieldMounted,
@@ -19144,11 +19169,11 @@ function AT(e, t, n, i, s, r) {
19144
19169
  parentModel: n.parentModel || r.formModel,
19145
19170
  class: P([r.fieldClass, { "ux-field-clear": l.clear }]),
19146
19171
  key: `ux-form-field-${r.getFieldKey(l)}-${u}`
19147
- }, null, 8, ["trail", "sandbox", "submission", "paymentConfiguration", "includeOfficeOnly", "onField:mount", "onField:unmount", "onField:dirty", "onField:invalid", "onField:valid", "onField:error", "onField:focus", "onField:blur", "onField:touched", "field", "modelValue", "parentModel", "class"]))), 128))
19172
+ }, null, 8, ["trail", "sandbox", "submission", "ignoreDefaults", "paymentConfiguration", "includeOfficeOnly", "onField:mount", "onField:unmount", "onField:dirty", "onField:invalid", "onField:valid", "onField:error", "onField:focus", "onField:blur", "onField:touched", "field", "modelValue", "parentModel", "class"]))), 128))
19148
19173
  ], !0)
19149
19174
  ], 2);
19150
19175
  }
19151
- const bo = /* @__PURE__ */ C(ET, [["render", AT], ["__scopeId", "data-v-21c1df44"]]);
19176
+ const bo = /* @__PURE__ */ C(ET, [["render", AT], ["__scopeId", "data-v-5a0fe930"]]);
19152
19177
  const si = "form.ready", MT = "form.processing", oa = "form.complete", ua = "form.error", IT = "form.intent", DT = {
19153
19178
  methods: {
19154
19179
  formStateUpdated(e) {