@qikdev/vue-ui 0.1.62 → 0.1.66

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
@@ -32,7 +32,7 @@ var __objRest = (source, exclude) => {
32
32
  };
33
33
  import { openBlock, createElementBlock, renderSlot, resolveComponent, createBlock, withCtx, createVNode, Fragment, renderList, normalizeClass, toDisplayString, withDirectives, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, mergeProps, toHandlers, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelSelect, withKeys, vModelText, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, vModelCheckbox, reactive, watch } from "vue";
34
34
  import { EventDispatcher } from "@qikdev/sdk";
35
- const version$1 = "0.1.62";
35
+ const version$1 = "0.1.66";
36
36
  var flexColumn_vue_vue_type_style_index_0_scoped_true_lang = "";
37
37
  var _export_sfc = (sfc, props2) => {
38
38
  const target = sfc.__vccOpts || sfc;
@@ -4633,13 +4633,13 @@ const _hoisted_1$L = { class: "table-date-cell" };
4633
4633
  const _hoisted_2$D = { key: 0 };
4634
4634
  const _hoisted_3$w = { class: "off" };
4635
4635
  const _hoisted_4$s = { class: "on" };
4636
- const _hoisted_5$m = { class: "spacer" };
4636
+ const _hoisted_5$n = { class: "spacer" };
4637
4637
  function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
4638
4638
  return openBlock(), createElementBlock("td", _hoisted_1$L, [
4639
4639
  $options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$D, [
4640
4640
  createElementVNode("span", _hoisted_3$w, toDisplayString($options.readable), 1),
4641
4641
  createElementVNode("span", _hoisted_4$s, toDisplayString($options.timeago), 1),
4642
- createElementVNode("span", _hoisted_5$m, toDisplayString($options.readable), 1)
4642
+ createElementVNode("span", _hoisted_5$n, toDisplayString($options.readable), 1)
4643
4643
  ])) : createCommentVNode("", true)
4644
4644
  ]);
4645
4645
  }
@@ -5186,7 +5186,7 @@ const _hoisted_3$u = {
5186
5186
  class: "first table-select shrink"
5187
5187
  };
5188
5188
  const _hoisted_4$r = /* @__PURE__ */ createTextVNode(" Select Page ");
5189
- const _hoisted_5$l = /* @__PURE__ */ createTextVNode(" Deselect Page ");
5189
+ const _hoisted_5$m = /* @__PURE__ */ createTextVNode(" Deselect Page ");
5190
5190
  const _hoisted_6$i = /* @__PURE__ */ createTextVNode(" Deselect All ");
5191
5191
  const _hoisted_7$f = ["onClick"];
5192
5192
  const _hoisted_8$8 = {
@@ -5225,7 +5225,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
5225
5225
  onClick: _cache[1] || (_cache[1] = ($event) => $options.deselectPage())
5226
5226
  }, {
5227
5227
  default: withCtx(() => [
5228
- _hoisted_5$l
5228
+ _hoisted_5$m
5229
5229
  ]),
5230
5230
  _: 1
5231
5231
  })) : createCommentVNode("", true),
@@ -5422,7 +5422,7 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
5422
5422
  _: 3
5423
5423
  }, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
5424
5424
  }
5425
- var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__scopeId", "data-v-6e53d3d2"]]);
5425
+ var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__scopeId", "data-v-56c95efc"]]);
5426
5426
  var checkbox_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
5427
5427
  const _sfc_main$R = {
5428
5428
  props: {
@@ -6606,7 +6606,7 @@ const _hoisted_4$q = {
6606
6606
  key: 2,
6607
6607
  class: "ui-select-button"
6608
6608
  };
6609
- const _hoisted_5$k = ["multiple"];
6609
+ const _hoisted_5$l = ["multiple"];
6610
6610
  const _hoisted_6$h = {
6611
6611
  key: 0,
6612
6612
  value: ""
@@ -6643,7 +6643,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
6643
6643
  value: option2.value
6644
6644
  }, toDisplayString(option2.title), 9, _hoisted_7$e);
6645
6645
  }), 256))
6646
- ], 40, _hoisted_5$k), [
6646
+ ], 40, _hoisted_5$l), [
6647
6647
  [vModelSelect, _ctx.model]
6648
6648
  ])
6649
6649
  ], 2);
@@ -6735,7 +6735,7 @@ const _hoisted_3$s = {
6735
6735
  class: "ux-field-description"
6736
6736
  };
6737
6737
  const _hoisted_4$p = { key: 2 };
6738
- const _hoisted_5$j = /* @__PURE__ */ createTextVNode(" Country Code ");
6738
+ const _hoisted_5$k = /* @__PURE__ */ createTextVNode(" Country Code ");
6739
6739
  const _hoisted_6$g = { key: 0 };
6740
6740
  const _hoisted_7$d = { key: 1 };
6741
6741
  const _hoisted_8$7 = { class: "ux-text-wrap" };
@@ -6773,7 +6773,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
6773
6773
  }, {
6774
6774
  default: withCtx(() => [
6775
6775
  !entry.countryCode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
6776
- _hoisted_5$j
6776
+ _hoisted_5$k
6777
6777
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
6778
6778
  $data.lookup[entry.countryCode] ? (openBlock(), createElementBlock("div", _hoisted_6$g, toDisplayString($data.lookup[entry.countryCode].emoji) + " - " + toDisplayString($data.lookup[entry.countryCode].alpha2), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$d, "Loading"))
6779
6779
  ], 64))
@@ -7429,7 +7429,7 @@ const _hoisted_4$o = {
7429
7429
  key: 2,
7430
7430
  class: "ui-select-button"
7431
7431
  };
7432
- const _hoisted_5$i = ["multiple"];
7432
+ const _hoisted_5$j = ["multiple"];
7433
7433
  const _hoisted_6$f = {
7434
7434
  key: 0,
7435
7435
  value: ""
@@ -7466,7 +7466,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
7466
7466
  value: option2.value
7467
7467
  }, toDisplayString(option2.title), 9, _hoisted_7$c);
7468
7468
  }), 256))
7469
- ], 40, _hoisted_5$i), [
7469
+ ], 40, _hoisted_5$j), [
7470
7470
  [vModelSelect, _ctx.model]
7471
7471
  ])
7472
7472
  ], 2);
@@ -10199,11 +10199,33 @@ const _sfc_main$D = {
10199
10199
  }
10200
10200
  },
10201
10201
  mixins: [InputMixin],
10202
- created() {
10202
+ async created() {
10203
+ this.glossary = await this.$sdk.content.glossary({ hash: true });
10203
10204
  this.value = this.cleanInput(this.value, true);
10204
10205
  this.dispatch();
10205
10206
  },
10207
+ data() {
10208
+ return {
10209
+ glossary: {}
10210
+ };
10211
+ },
10206
10212
  methods: {
10213
+ async create() {
10214
+ var _a;
10215
+ const self2 = this;
10216
+ if (!((_a = self2.$sdk.global) == null ? void 0 : _a.create)) {
10217
+ return;
10218
+ }
10219
+ const item = await self2.$sdk.global.create(self2.field.referenceType);
10220
+ if (self2.multiValue) {
10221
+ if (!self2.model) {
10222
+ self2.model = [];
10223
+ }
10224
+ self2.model.push(item);
10225
+ } else {
10226
+ self2.model = item;
10227
+ }
10228
+ },
10207
10229
  clear() {
10208
10230
  this.model = void 0;
10209
10231
  this.touch();
@@ -10264,6 +10286,27 @@ const _sfc_main$D = {
10264
10286
  }
10265
10287
  },
10266
10288
  computed: {
10289
+ canAdd() {
10290
+ const self2 = this;
10291
+ if (!self2.maximum) {
10292
+ return true;
10293
+ }
10294
+ return self2.multiValue ? self2.model.length < self2.maximum : !self2.model;
10295
+ },
10296
+ canCreate() {
10297
+ var _a;
10298
+ if (!((_a = this.$sdk.global) == null ? void 0 : _a.create)) {
10299
+ return;
10300
+ }
10301
+ var basicType = this.field.referenceType;
10302
+ var definedType = basicType;
10303
+ var match2 = this.glossary[this.field.referenceType];
10304
+ if (match2) {
10305
+ basicType = match2.definesType || match2.key;
10306
+ definedType = match2.key || match2.definesType;
10307
+ }
10308
+ return this.user && this.$sdk.access.canCreate(this.user, definedType, basicType);
10309
+ },
10267
10310
  summary() {
10268
10311
  if (this.multiValue) {
10269
10312
  if (this.model && this.model.length) {
@@ -10277,6 +10320,9 @@ const _sfc_main$D = {
10277
10320
  if (difference) {
10278
10321
  summary = `${summary}... +${difference} more...`;
10279
10322
  }
10323
+ if (!summary) {
10324
+ return `Click to select`;
10325
+ }
10280
10326
  return summary;
10281
10327
  } else {
10282
10328
  return `Click to select`;
@@ -10307,11 +10353,15 @@ const _hoisted_4$n = {
10307
10353
  key: 3,
10308
10354
  class: "items"
10309
10355
  };
10356
+ const _hoisted_5$i = /* @__PURE__ */ createTextVNode(" Create ");
10310
10357
  function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
10311
10358
  const _component_ux_icon = resolveComponent("ux-icon");
10312
10359
  const _component_ux_button = resolveComponent("ux-button");
10313
10360
  const _component_item = resolveComponent("item");
10314
10361
  const _component_draggable = resolveComponent("draggable");
10362
+ const _component_flex_cell = resolveComponent("flex-cell");
10363
+ const _component_flex_spacer = resolveComponent("flex-spacer");
10364
+ const _component_flex_row = resolveComponent("flex-row");
10315
10365
  return openBlock(), createElementBlock(Fragment, null, [
10316
10366
  _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$x, [
10317
10367
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
@@ -10382,15 +10432,50 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
10382
10432
  _: 1
10383
10433
  }, 8, ["item"])
10384
10434
  ])) : createCommentVNode("", true),
10385
- createVNode(_component_ux_button, { onClick: $options.open }, {
10435
+ $options.canAdd ? (openBlock(), createBlock(_component_flex_row, {
10436
+ key: 4,
10437
+ gap: ""
10438
+ }, {
10386
10439
  default: withCtx(() => [
10387
- createTextVNode(toDisplayString($options.summary), 1)
10440
+ createVNode(_component_flex_cell, { shrink: "" }, {
10441
+ default: withCtx(() => [
10442
+ createVNode(_component_ux_button, { onClick: $options.open }, {
10443
+ default: withCtx(() => [
10444
+ createTextVNode(toDisplayString($options.summary), 1)
10445
+ ]),
10446
+ _: 1
10447
+ }, 8, ["onClick"])
10448
+ ]),
10449
+ _: 1
10450
+ }),
10451
+ $options.canCreate ? (openBlock(), createBlock(_component_flex_cell, {
10452
+ key: 0,
10453
+ shrink: ""
10454
+ }, {
10455
+ default: withCtx(() => [
10456
+ createVNode(_component_ux_button, {
10457
+ color: "primary",
10458
+ onClick: $options.create
10459
+ }, {
10460
+ default: withCtx(() => [
10461
+ _hoisted_5$i,
10462
+ createVNode(_component_ux_icon, {
10463
+ right: "",
10464
+ icon: "fa-plus"
10465
+ })
10466
+ ]),
10467
+ _: 1
10468
+ }, 8, ["onClick"])
10469
+ ]),
10470
+ _: 1
10471
+ })) : createCommentVNode("", true),
10472
+ createVNode(_component_flex_spacer)
10388
10473
  ]),
10389
10474
  _: 1
10390
- }, 8, ["onClick"])
10475
+ })) : createCommentVNode("", true)
10391
10476
  ], 64);
10392
10477
  }
10393
- var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-49f2d443"]]);
10478
+ var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-60b312d0"]]);
10394
10479
  var typeSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
10395
10480
  function isUndefined$3(entry) {
10396
10481
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
@@ -12782,7 +12867,14 @@ const _sfc_main$p = {
12782
12867
  config.headers = {
12783
12868
  "Content-Type": void 0
12784
12869
  };
12785
- return self2.$sdk.api.post(`/file/upload`, body, config).then(function(res) {
12870
+ let uploadURL = `/file/upload`;
12871
+ if (self2.$sdk.fileAPI) {
12872
+ uploadURL = `${self2.$sdk.fileAPI}${uploadURL}`;
12873
+ console.log("UPLOADING BINARY", uploadURL);
12874
+ } else {
12875
+ console.log("PROXY UPLOAD");
12876
+ }
12877
+ return self2.$sdk.api.post(uploadURL, body, config).then(function(res) {
12786
12878
  fileItem.state = "complete";
12787
12879
  fileItem.result = res.data;
12788
12880
  fileItem.cancelToken = null;
@@ -12946,7 +13038,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
12946
13038
  }, 8, ["onFiles"]))
12947
13039
  ], 64);
12948
13040
  }
12949
- var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-1c070f26"]]);
13041
+ var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-5c2c5882"]]);
12950
13042
  var group_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
12951
13043
  const _sfc_main$o = {
12952
13044
  mixins: [InputMixin],
@@ -15944,6 +16036,7 @@ const _sfc_main$d = {
15944
16036
  case "type-select":
15945
16037
  case "html":
15946
16038
  case "filter":
16039
+ case "value":
15947
16040
  break;
15948
16041
  case "password":
15949
16042
  return "textfield";
@@ -15976,7 +16069,7 @@ const _sfc_main$d = {
15976
16069
  }
15977
16070
  };
15978
16071
  const _hoisted_1$a = {
15979
- key: 24,
16072
+ key: 25,
15980
16073
  class: "ux-field-message"
15981
16074
  };
15982
16075
  function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
@@ -16030,35 +16123,36 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
16030
16123
  modelValue: $options.fieldModel,
16031
16124
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $options.fieldModel = $event)
16032
16125
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16126
+ $options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [], 64)) : createCommentVNode("", true),
16033
16127
  $options.widget == "filter" ? (openBlock(), createBlock(_component_filter_input, {
16034
- key: 3,
16128
+ key: 4,
16035
16129
  onTouched: $options.touch,
16036
16130
  field: $options.actualField,
16037
16131
  modelValue: $options.fieldModel,
16038
16132
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $options.fieldModel = $event)
16039
16133
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16040
16134
  $options.widget == "checkbox" ? (openBlock(), createBlock(_component_checkbox, {
16041
- key: 4,
16135
+ key: 5,
16042
16136
  onTouched: $options.touch,
16043
16137
  field: $options.actualField,
16044
16138
  modelValue: $options.fieldModel,
16045
16139
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $options.fieldModel = $event)
16046
16140
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16047
16141
  $options.widget == "switch" ? (openBlock(), createBlock(_component_boolean_switch, {
16048
- key: 5,
16142
+ key: 6,
16049
16143
  onTouched: $options.touch,
16050
16144
  field: $options.actualField,
16051
16145
  modelValue: $options.fieldModel,
16052
16146
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $options.fieldModel = $event)
16053
16147
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16054
16148
  $options.widget == "upload" ? (openBlock(), createBlock(_component_upload, {
16055
- key: 6,
16149
+ key: 7,
16056
16150
  onTouched: $options.touch,
16057
16151
  field: $options.actualField,
16058
16152
  modelValue: $options.fieldModel,
16059
16153
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $options.fieldModel = $event)
16060
16154
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16061
- $options.widget == "group" ? (openBlock(), createElementBlock(Fragment, { key: 7 }, [
16155
+ $options.widget == "group" ? (openBlock(), createElementBlock(Fragment, { key: 8 }, [
16062
16156
  $options.asObject ? (openBlock(), createBlock(_component_field_group, {
16063
16157
  key: 0,
16064
16158
  submission: $props.submission,
@@ -16082,7 +16176,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
16082
16176
  }, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
16083
16177
  ], 64)) : createCommentVNode("", true),
16084
16178
  $options.widget == "form" ? (openBlock(), createBlock(_component_field_group, {
16085
- key: 8,
16179
+ key: 9,
16086
16180
  submission: $props.submission,
16087
16181
  "onForm:state": $options.groupStateAltered,
16088
16182
  ref: "group",
@@ -16093,99 +16187,99 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
16093
16187
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $options.fieldModel = $event)
16094
16188
  }, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : createCommentVNode("", true),
16095
16189
  $options.widget == "select" ? (openBlock(), createBlock(_component_native_select, {
16096
- key: 9,
16190
+ key: 10,
16097
16191
  onTouched: $options.touch,
16098
16192
  field: $options.actualField,
16099
16193
  modelValue: $options.fieldModel,
16100
16194
  "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $options.fieldModel = $event)
16101
16195
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16102
16196
  $options.widget == "button" ? (openBlock(), createBlock(_component_button_select, {
16103
- key: 10,
16197
+ key: 11,
16104
16198
  onTouched: $options.touch,
16105
16199
  field: $options.actualField,
16106
16200
  modelValue: $options.fieldModel,
16107
16201
  "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $options.fieldModel = $event)
16108
16202
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16109
16203
  $options.widget == "textfield" ? (openBlock(), createBlock(_component_text_field, {
16110
- key: 11,
16204
+ key: 12,
16111
16205
  onTouched: $options.touch,
16112
16206
  field: $options.actualField,
16113
16207
  modelValue: $options.fieldModel,
16114
16208
  "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => $options.fieldModel = $event)
16115
16209
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16116
16210
  $options.widget == "currency" ? (openBlock(), createBlock(_component_currency_field, {
16117
- key: 12,
16211
+ key: 13,
16118
16212
  onTouched: $options.touch,
16119
16213
  field: $options.actualField,
16120
16214
  modelValue: $options.fieldModel,
16121
16215
  "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $options.fieldModel = $event)
16122
16216
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16123
16217
  $options.widget == "datefield" ? (openBlock(), createBlock(_component_date_field, {
16124
- key: 13,
16218
+ key: 14,
16125
16219
  onTouched: $options.touch,
16126
16220
  field: $options.actualField,
16127
16221
  modelValue: $options.fieldModel,
16128
16222
  "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => $options.fieldModel = $event)
16129
16223
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16130
16224
  $options.widget == "content-select" ? (openBlock(), createBlock(_component_content_select, {
16131
- key: 14,
16225
+ key: 15,
16132
16226
  onTouched: $options.touch,
16133
16227
  field: $options.actualField,
16134
16228
  modelValue: $options.fieldModel,
16135
16229
  "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => $options.fieldModel = $event)
16136
16230
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16137
16231
  $options.widget == "type-select" ? (openBlock(), createBlock(_component_type_select, {
16138
- key: 15,
16232
+ key: 16,
16139
16233
  onTouched: $options.touch,
16140
16234
  field: $options.actualField,
16141
16235
  modelValue: $options.fieldModel,
16142
16236
  "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => $options.fieldModel = $event)
16143
16237
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16144
16238
  $options.widget == "richtext" ? (openBlock(), createBlock(_component_rich_text_field, {
16145
- key: 16,
16239
+ key: 17,
16146
16240
  onTouched: $options.touch,
16147
16241
  field: $options.actualField,
16148
16242
  modelValue: $options.fieldModel,
16149
16243
  "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => $options.fieldModel = $event)
16150
16244
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16151
16245
  $options.widget == "textarea" ? (openBlock(), createBlock(_component_text_area, {
16152
- key: 17,
16246
+ key: 18,
16153
16247
  onTouched: $options.touch,
16154
16248
  field: $options.actualField,
16155
16249
  modelValue: $options.fieldModel,
16156
16250
  "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => $options.fieldModel = $event)
16157
16251
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16158
16252
  $options.widget == "timezone" ? (openBlock(), createBlock(_component_timezone_select, {
16159
- key: 18,
16253
+ key: 19,
16160
16254
  onTouched: $options.touch,
16161
16255
  field: $options.actualField,
16162
16256
  modelValue: $options.fieldModel,
16163
16257
  "onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => $options.fieldModel = $event)
16164
16258
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16165
16259
  $options.widget == "phone" ? (openBlock(), createBlock(_component_phone_number_input, {
16166
- key: 19,
16260
+ key: 20,
16167
16261
  onTouched: $options.touch,
16168
16262
  field: $options.actualField,
16169
16263
  modelValue: $options.fieldModel,
16170
16264
  "onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => $options.fieldModel = $event)
16171
16265
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16172
- $options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 20 }, [], 64)) : createCommentVNode("", true),
16266
+ $options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 21 }, [], 64)) : createCommentVNode("", true),
16173
16267
  $options.widget == "object" ? (openBlock(), createBlock(_component_object_field, {
16174
- key: 21,
16268
+ key: 22,
16175
16269
  onTouched: $options.touch,
16176
16270
  field: $options.actualField,
16177
16271
  modelValue: $options.fieldModel,
16178
16272
  "onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => $options.fieldModel = $event)
16179
16273
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16180
16274
  $options.widget == "options" ? (openBlock(), createBlock(_component_options_manager, {
16181
- key: 22,
16275
+ key: 23,
16182
16276
  onTouched: $options.touch,
16183
16277
  field: $options.actualField,
16184
16278
  modelValue: $options.fieldModel,
16185
16279
  "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => $options.fieldModel = $event)
16186
16280
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
16187
16281
  $options.widget == "code" ? (openBlock(), createBlock(_component_flex_column, {
16188
- key: 23,
16282
+ key: 24,
16189
16283
  style: { "min-height": "300px" }
16190
16284
  }, {
16191
16285
  default: withCtx(() => [
@@ -16201,7 +16295,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
16201
16295
  $options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$a, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
16202
16296
  ], 34)) : createCommentVNode("", true);
16203
16297
  }
16204
- var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-7e4ae2fb"]]);
16298
+ var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-6c49b812"]]);
16205
16299
  var form_vue_vue_type_style_index_0_scoped_true_lang = "";
16206
16300
  const _sfc_main$c = {
16207
16301
  props: {