@qikdev/vue-ui 0.1.42 → 0.1.43

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, pushScopeId, popScopeId, createElementVNode, normalizeStyle, createCommentVNode, Teleport, createTextVNode, vModelSelect, withKeys, withModifiers, vModelText, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, vModelCheckbox, mergeProps, toHandlers, reactive, watch } from "vue";
34
34
  import { EventDispatcher } from "@qikdev/sdk";
35
- const version$1 = "0.1.42";
35
+ const version$1 = "0.1.43";
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;
@@ -42,97 +42,97 @@ var _export_sfc = (sfc, props2) => {
42
42
  return target;
43
43
  };
44
44
  const _sfc_main$19 = {};
45
- const _hoisted_1$X = { class: "flex-column" };
45
+ const _hoisted_1$Y = { class: "flex-column" };
46
46
  function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
47
- return openBlock(), createElementBlock("div", _hoisted_1$X, [
47
+ return openBlock(), createElementBlock("div", _hoisted_1$Y, [
48
48
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
49
49
  ]);
50
50
  }
51
51
  var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-203ea86f"]]);
52
52
  var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
53
53
  const _sfc_main$18 = {};
54
- const _hoisted_1$W = { class: "flex-column-body" };
54
+ const _hoisted_1$X = { class: "flex-column-body" };
55
55
  function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
56
- return openBlock(), createElementBlock("div", _hoisted_1$W, [
56
+ return openBlock(), createElementBlock("div", _hoisted_1$X, [
57
57
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
58
58
  ]);
59
59
  }
60
60
  var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-64850355"]]);
61
61
  var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
62
62
  const _sfc_main$17 = {};
63
- const _hoisted_1$V = { class: "flex-column-header" };
63
+ const _hoisted_1$W = { class: "flex-column-header" };
64
64
  function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
65
- return openBlock(), createElementBlock("div", _hoisted_1$V, [
65
+ return openBlock(), createElementBlock("div", _hoisted_1$W, [
66
66
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
67
67
  ]);
68
68
  }
69
69
  var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-10b28f00"]]);
70
70
  var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
71
71
  const _sfc_main$16 = {};
72
- const _hoisted_1$U = { class: "flex-column-footer" };
72
+ const _hoisted_1$V = { class: "flex-column-footer" };
73
73
  function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
74
- return openBlock(), createElementBlock("div", _hoisted_1$U, [
74
+ return openBlock(), createElementBlock("div", _hoisted_1$V, [
75
75
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
76
76
  ]);
77
77
  }
78
78
  var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-68216a72"]]);
79
79
  var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
80
80
  const _sfc_main$15 = {};
81
- const _hoisted_1$T = { class: "flex-cell" };
81
+ const _hoisted_1$U = { class: "flex-cell" };
82
82
  function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
83
- return openBlock(), createElementBlock("div", _hoisted_1$T, [
83
+ return openBlock(), createElementBlock("div", _hoisted_1$U, [
84
84
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
85
85
  ]);
86
86
  }
87
87
  var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-644bb279"]]);
88
88
  var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
89
89
  const _sfc_main$14 = {};
90
- const _hoisted_1$S = { class: "flex-row" };
90
+ const _hoisted_1$T = { class: "flex-row" };
91
91
  function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
92
- return openBlock(), createElementBlock("div", _hoisted_1$S, [
92
+ return openBlock(), createElementBlock("div", _hoisted_1$T, [
93
93
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
94
94
  ]);
95
95
  }
96
96
  var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-5b76ad1f"]]);
97
97
  var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
98
98
  const _sfc_main$13 = {};
99
- const _hoisted_1$R = { class: "flex-spacer" };
99
+ const _hoisted_1$S = { class: "flex-spacer" };
100
100
  function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
101
- return openBlock(), createElementBlock("div", _hoisted_1$R);
101
+ return openBlock(), createElementBlock("div", _hoisted_1$S);
102
102
  }
103
103
  var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-35b15579"]]);
104
104
  var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
105
105
  const _sfc_main$12 = {};
106
- const _hoisted_1$Q = { class: "panel" };
106
+ const _hoisted_1$R = { class: "panel" };
107
107
  function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
108
- return openBlock(), createElementBlock("div", _hoisted_1$Q, [
108
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
109
109
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
110
110
  ]);
111
111
  }
112
112
  var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-50ae77fc"]]);
113
113
  var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
114
114
  const _sfc_main$11 = {};
115
- const _hoisted_1$P = { class: "panel-body" };
115
+ const _hoisted_1$Q = { class: "panel-body" };
116
116
  function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
117
- return openBlock(), createElementBlock("div", _hoisted_1$P, [
117
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
118
118
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
119
119
  ]);
120
120
  }
121
121
  var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-c82dca76"]]);
122
122
  var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
123
123
  const _sfc_main$10 = {};
124
- const _hoisted_1$O = { class: "panel-header" };
124
+ const _hoisted_1$P = { class: "panel-header" };
125
125
  function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
126
- return openBlock(), createElementBlock("div", _hoisted_1$O, [
126
+ return openBlock(), createElementBlock("div", _hoisted_1$P, [
127
127
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
128
128
  ]);
129
129
  }
130
130
  var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-13bf11da"]]);
131
131
  var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
132
132
  const _sfc_main$$ = {};
133
- const _hoisted_1$N = { class: "panel-footer" };
133
+ const _hoisted_1$O = { class: "panel-footer" };
134
134
  function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
135
- return openBlock(), createElementBlock("div", _hoisted_1$N, [
135
+ return openBlock(), createElementBlock("div", _hoisted_1$O, [
136
136
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
137
137
  ]);
138
138
  }
@@ -156,7 +156,7 @@ const _sfc_main$_ = {
156
156
  }
157
157
  }
158
158
  };
159
- const _hoisted_1$M = ["onClick"];
159
+ const _hoisted_1$N = ["onClick"];
160
160
  function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
161
161
  const _component_flex_row = resolveComponent("flex-row");
162
162
  const _component_flex_header = resolveComponent("flex-header");
@@ -171,7 +171,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
171
171
  return openBlock(), createElementBlock("a", {
172
172
  class: normalizeClass({ active: index2 === $data.activeIndex }),
173
173
  onClick: ($event) => $options.select(index2)
174
- }, toDisplayString(tab.props.heading), 11, _hoisted_1$M);
174
+ }, toDisplayString(tab.props.heading), 11, _hoisted_1$N);
175
175
  }), 256))
176
176
  ]),
177
177
  _: 1
@@ -241,9 +241,9 @@ const _sfc_main$Y = {
241
241
  }
242
242
  };
243
243
  const _withScopeId$4 = (n2) => (pushScopeId("data-v-27f20370"), n2 = n2(), popScopeId(), n2);
244
- const _hoisted_1$L = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("i", { class: "fa fa-spin fa-spinner" }, null, -1));
244
+ const _hoisted_1$M = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("i", { class: "fa fa-spin fa-spinner" }, null, -1));
245
245
  const _hoisted_2$B = [
246
- _hoisted_1$L
246
+ _hoisted_1$M
247
247
  ];
248
248
  function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
249
249
  return openBlock(), createElementBlock("div", {
@@ -351,7 +351,7 @@ const _sfc_main$X = {
351
351
  }
352
352
  }
353
353
  };
354
- const _hoisted_1$K = { class: "ux-btn-text" };
354
+ const _hoisted_1$L = { class: "ux-btn-text" };
355
355
  function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
356
356
  const _component_spinner = resolveComponent("spinner");
357
357
  return openBlock(), createBlock(resolveDynamicComponent($options.element), {
@@ -366,7 +366,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
366
366
  }, {
367
367
  default: withCtx(() => [
368
368
  $props.loading ? (openBlock(), createBlock(_component_spinner, { key: 0 })) : createCommentVNode("", true),
369
- createElementVNode("span", _hoisted_1$K, [
369
+ createElementVNode("span", _hoisted_1$L, [
370
370
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
371
371
  ])
372
372
  ]),
@@ -864,13 +864,13 @@ const _sfc_main$R = {
864
864
  }
865
865
  }
866
866
  };
867
- const _hoisted_1$J = ["src"];
867
+ const _hoisted_1$K = ["src"];
868
868
  function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
869
869
  return openBlock(), createElementBlock("div", {
870
870
  class: "ux-image",
871
871
  style: normalizeStyle($options.style)
872
872
  }, [
873
- createElementVNode("img", { src: $options.src }, null, 8, _hoisted_1$J)
873
+ createElementVNode("img", { src: $options.src }, null, 8, _hoisted_1$K)
874
874
  ], 4);
875
875
  }
876
876
  var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-7b68ec1a"]]);
@@ -910,10 +910,10 @@ const _sfc_main$Q = {
910
910
  }
911
911
  };
912
912
  const _withScopeId$3 = (n2) => (pushScopeId("data-v-6581fb86"), n2 = n2(), popScopeId(), n2);
913
- const _hoisted_1$I = { class: "ux-progress" };
913
+ const _hoisted_1$J = { class: "ux-progress" };
914
914
  const _hoisted_2$A = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ux-progress-bg" }, null, -1));
915
915
  function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
916
- return openBlock(), createElementBlock("div", _hoisted_1$I, [
916
+ return openBlock(), createElementBlock("div", _hoisted_1$J, [
917
917
  _hoisted_2$A,
918
918
  createElementVNode("div", {
919
919
  class: "ux-progress-fg",
@@ -924,18 +924,18 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
924
924
  var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-6581fb86"]]);
925
925
  var list_vue_vue_type_style_index_0_scoped_true_lang = "";
926
926
  const _sfc_main$P = {};
927
- const _hoisted_1$H = { class: "ux-list" };
927
+ const _hoisted_1$I = { class: "ux-list" };
928
928
  function _sfc_render$P(_ctx, _cache) {
929
- return openBlock(), createElementBlock("ul", _hoisted_1$H, [
929
+ return openBlock(), createElementBlock("ul", _hoisted_1$I, [
930
930
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
931
931
  ]);
932
932
  }
933
933
  var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__scopeId", "data-v-98e1e4e2"]]);
934
934
  var listItem_vue_vue_type_style_index_0_scoped_true_lang = "";
935
935
  const _sfc_main$O = {};
936
- const _hoisted_1$G = { class: "ux-list-item" };
936
+ const _hoisted_1$H = { class: "ux-list-item" };
937
937
  function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
938
- return openBlock(), createElementBlock("div", _hoisted_1$G, [
938
+ return openBlock(), createElementBlock("div", _hoisted_1$H, [
939
939
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
940
940
  ]);
941
941
  }
@@ -1431,7 +1431,7 @@ const _sfc_main$N = {
1431
1431
  }
1432
1432
  }
1433
1433
  };
1434
- const _hoisted_1$F = {
1434
+ const _hoisted_1$G = {
1435
1435
  key: 0,
1436
1436
  class: "ux-field-title"
1437
1437
  };
@@ -1443,7 +1443,7 @@ const _hoisted_3$v = {
1443
1443
  key: 1,
1444
1444
  class: "ux-field-description"
1445
1445
  };
1446
- const _hoisted_4$s = {
1446
+ const _hoisted_4$r = {
1447
1447
  key: 2,
1448
1448
  class: "ui-select-button"
1449
1449
  };
@@ -1458,12 +1458,12 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
1458
1458
  return openBlock(), createElementBlock("div", {
1459
1459
  class: normalizeClass(["native-select", $options.classes])
1460
1460
  }, [
1461
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$F, [
1461
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$G, [
1462
1462
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
1463
1463
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$z, "*")) : createCommentVNode("", true)
1464
1464
  ])) : createCommentVNode("", true),
1465
1465
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$v, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
1466
- _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$s, [
1466
+ _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$r, [
1467
1467
  renderSlot(_ctx.$slots, "default", {}, () => [
1468
1468
  createVNode(_component_ux_button, { tag: "div" }, {
1469
1469
  default: withCtx(() => [
@@ -1563,7 +1563,7 @@ const _sfc_main$M = {
1563
1563
  }
1564
1564
  };
1565
1565
  const _withScopeId$2 = (n2) => (pushScopeId("data-v-856e04c2"), n2 = n2(), popScopeId(), n2);
1566
- const _hoisted_1$E = {
1566
+ const _hoisted_1$F = {
1567
1567
  key: 0,
1568
1568
  class: "ux-field-title"
1569
1569
  };
@@ -1575,7 +1575,7 @@ const _hoisted_3$u = {
1575
1575
  key: 1,
1576
1576
  class: "ux-field-description"
1577
1577
  };
1578
- const _hoisted_4$r = { key: 2 };
1578
+ const _hoisted_4$q = { key: 2 };
1579
1579
  const _hoisted_5$j = /* @__PURE__ */ createTextVNode(" Country Code ");
1580
1580
  const _hoisted_6$f = { key: 0 };
1581
1581
  const _hoisted_7$d = { key: 1 };
@@ -1592,12 +1592,12 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
1592
1592
  const _component_ux_button = resolveComponent("ux-button");
1593
1593
  const _component_flex_row = resolveComponent("flex-row");
1594
1594
  return openBlock(), createElementBlock(Fragment, null, [
1595
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$E, [
1595
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$F, [
1596
1596
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
1597
1597
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$y, "*")) : createCommentVNode("", true)
1598
1598
  ])) : createCommentVNode("", true),
1599
1599
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$u, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
1600
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$r, [
1600
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$q, [
1601
1601
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
1602
1602
  return openBlock(), createBlock(_component_flex_row, {
1603
1603
  wrap: "",
@@ -2254,7 +2254,7 @@ const _sfc_main$L = {
2254
2254
  }
2255
2255
  }
2256
2256
  };
2257
- const _hoisted_1$D = {
2257
+ const _hoisted_1$E = {
2258
2258
  key: 0,
2259
2259
  class: "ux-field-title"
2260
2260
  };
@@ -2266,7 +2266,7 @@ const _hoisted_3$t = {
2266
2266
  key: 1,
2267
2267
  class: "ux-field-description"
2268
2268
  };
2269
- const _hoisted_4$q = {
2269
+ const _hoisted_4$p = {
2270
2270
  key: 2,
2271
2271
  class: "ui-select-button"
2272
2272
  };
@@ -2281,12 +2281,12 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
2281
2281
  return openBlock(), createElementBlock("div", {
2282
2282
  class: normalizeClass(["native-select", $options.classes])
2283
2283
  }, [
2284
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$D, [
2284
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$E, [
2285
2285
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
2286
2286
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$x, "*")) : createCommentVNode("", true)
2287
2287
  ])) : createCommentVNode("", true),
2288
2288
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$t, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
2289
- _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$q, [
2289
+ _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$p, [
2290
2290
  renderSlot(_ctx.$slots, "default", {}, () => [
2291
2291
  createVNode(_component_ux_button, { tag: "div" }, {
2292
2292
  default: withCtx(() => [
@@ -5133,7 +5133,7 @@ const _sfc_main$J = {
5133
5133
  }
5134
5134
  }
5135
5135
  };
5136
- const _hoisted_1$C = {
5136
+ const _hoisted_1$D = {
5137
5137
  key: 0,
5138
5138
  class: "ux-field-title"
5139
5139
  };
@@ -5145,7 +5145,7 @@ const _hoisted_3$s = {
5145
5145
  key: 1,
5146
5146
  class: "ux-field-description"
5147
5147
  };
5148
- const _hoisted_4$p = {
5148
+ const _hoisted_4$o = {
5149
5149
  key: 3,
5150
5150
  class: "items"
5151
5151
  };
@@ -5155,7 +5155,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
5155
5155
  const _component_item = resolveComponent("item");
5156
5156
  const _component_draggable = resolveComponent("draggable");
5157
5157
  return openBlock(), createElementBlock(Fragment, null, [
5158
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$C, [
5158
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$D, [
5159
5159
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5160
5160
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$w, "*")) : createCommentVNode("", true)
5161
5161
  ])) : createCommentVNode("", true),
@@ -5198,7 +5198,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
5198
5198
  ]),
5199
5199
  _: 1
5200
5200
  }, 8, ["modelValue"])) : createCommentVNode("", true)
5201
- ], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$p, [
5201
+ ], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
5202
5202
  createVNode(_component_item, { item: _ctx.model }, {
5203
5203
  actions: withCtx(() => [
5204
5204
  $options.canEdit(_ctx.model) ? (openBlock(), createBlock(_component_ux_button, {
@@ -5346,7 +5346,7 @@ const _sfc_main$I = {
5346
5346
  }
5347
5347
  }
5348
5348
  };
5349
- const _hoisted_1$B = {
5349
+ const _hoisted_1$C = {
5350
5350
  key: 0,
5351
5351
  class: "ux-field-title"
5352
5352
  };
@@ -5358,7 +5358,7 @@ const _hoisted_3$r = {
5358
5358
  key: 1,
5359
5359
  class: "ux-field-description"
5360
5360
  };
5361
- const _hoisted_4$o = {
5361
+ const _hoisted_4$n = {
5362
5362
  key: 2,
5363
5363
  class: "ui-select-button"
5364
5364
  };
@@ -5373,12 +5373,12 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
5373
5373
  return openBlock(), createElementBlock("div", {
5374
5374
  class: normalizeClass(["native-select", $options.classes])
5375
5375
  }, [
5376
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
5376
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$C, [
5377
5377
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5378
5378
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$v, "*")) : createCommentVNode("", true)
5379
5379
  ])) : createCommentVNode("", true),
5380
5380
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$r, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5381
- _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
5381
+ _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
5382
5382
  renderSlot(_ctx.$slots, "default", {}, () => [
5383
5383
  createVNode(_component_ux_button, { tag: "div" }, {
5384
5384
  default: withCtx(() => [
@@ -5484,7 +5484,7 @@ const _sfc_main$H = {
5484
5484
  }
5485
5485
  }
5486
5486
  };
5487
- const _hoisted_1$A = {
5487
+ const _hoisted_1$B = {
5488
5488
  key: 0,
5489
5489
  class: "ux-field-title"
5490
5490
  };
@@ -5496,7 +5496,7 @@ const _hoisted_3$q = {
5496
5496
  key: 1,
5497
5497
  class: "ux-field-description"
5498
5498
  };
5499
- const _hoisted_4$n = { key: 2 };
5499
+ const _hoisted_4$m = { key: 2 };
5500
5500
  const _hoisted_5$g = {
5501
5501
  key: 0,
5502
5502
  class: "ux-text-prefix"
@@ -5520,12 +5520,12 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
5520
5520
  const _component_ux_button = resolveComponent("ux-button");
5521
5521
  const _component_flex_row = resolveComponent("flex-row");
5522
5522
  return openBlock(), createElementBlock(Fragment, null, [
5523
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
5523
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
5524
5524
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5525
5525
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$u, "*")) : createCommentVNode("", true)
5526
5526
  ])) : createCommentVNode("", true),
5527
5527
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$q, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5528
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
5528
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
5529
5529
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
5530
5530
  return openBlock(), createBlock(_component_flex_row, {
5531
5531
  class: "ux-text-row",
@@ -5687,7 +5687,7 @@ const _sfc_main$G = {
5687
5687
  }
5688
5688
  }
5689
5689
  };
5690
- const _hoisted_1$z = {
5690
+ const _hoisted_1$A = {
5691
5691
  key: 0,
5692
5692
  class: "ux-field-title"
5693
5693
  };
@@ -5699,7 +5699,7 @@ const _hoisted_3$p = {
5699
5699
  key: 1,
5700
5700
  class: "ux-field-description"
5701
5701
  };
5702
- const _hoisted_4$m = { key: 2 };
5702
+ const _hoisted_4$l = { key: 2 };
5703
5703
  const _hoisted_5$f = { class: "ux-text-wrap" };
5704
5704
  const _hoisted_6$b = {
5705
5705
  key: 0,
@@ -5731,12 +5731,12 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
5731
5731
  const _component_ux_button = resolveComponent("ux-button");
5732
5732
  const _component_flex_row = resolveComponent("flex-row");
5733
5733
  return openBlock(), createElementBlock(Fragment, null, [
5734
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$z, [
5734
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
5735
5735
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5736
5736
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$t, "*")) : createCommentVNode("", true)
5737
5737
  ])) : createCommentVNode("", true),
5738
5738
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$p, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5739
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
5739
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$l, [
5740
5740
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
5741
5741
  return openBlock(), createBlock(_component_flex_row, {
5742
5742
  class: "ux-text-row",
@@ -5867,7 +5867,7 @@ const _sfc_main$F = {
5867
5867
  }
5868
5868
  }
5869
5869
  };
5870
- const _hoisted_1$y = {
5870
+ const _hoisted_1$z = {
5871
5871
  key: 0,
5872
5872
  class: "ux-field-title"
5873
5873
  };
@@ -5879,7 +5879,7 @@ const _hoisted_3$o = {
5879
5879
  key: 1,
5880
5880
  class: "ux-field-description"
5881
5881
  };
5882
- const _hoisted_4$l = { key: 2 };
5882
+ const _hoisted_4$k = { key: 2 };
5883
5883
  const _hoisted_5$e = ["onUpdate:modelValue"];
5884
5884
  function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
5885
5885
  const _component_flex_cell = resolveComponent("flex-cell");
@@ -5887,12 +5887,12 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
5887
5887
  const _component_ux_button = resolveComponent("ux-button");
5888
5888
  const _component_flex_row = resolveComponent("flex-row");
5889
5889
  return openBlock(), createElementBlock(Fragment, null, [
5890
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$y, [
5890
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$z, [
5891
5891
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5892
5892
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$s, "*")) : createCommentVNode("", true)
5893
5893
  ])) : createCommentVNode("", true),
5894
5894
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$o, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5895
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$l, [
5895
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$k, [
5896
5896
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
5897
5897
  return openBlock(), createBlock(_component_flex_row, {
5898
5898
  class: "ux-text-row",
@@ -6015,7 +6015,7 @@ const _sfc_main$E = {
6015
6015
  }
6016
6016
  }
6017
6017
  };
6018
- const _hoisted_1$x = {
6018
+ const _hoisted_1$y = {
6019
6019
  key: 0,
6020
6020
  class: "ux-field-title"
6021
6021
  };
@@ -6027,7 +6027,7 @@ const _hoisted_3$n = {
6027
6027
  key: 1,
6028
6028
  class: "ux-field-description"
6029
6029
  };
6030
- const _hoisted_4$k = { key: 2 };
6030
+ const _hoisted_4$j = { key: 2 };
6031
6031
  const _hoisted_5$d = ["onUpdate:modelValue"];
6032
6032
  function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
6033
6033
  const _component_flex_cell = resolveComponent("flex-cell");
@@ -6035,12 +6035,12 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
6035
6035
  const _component_ux_button = resolveComponent("ux-button");
6036
6036
  const _component_flex_row = resolveComponent("flex-row");
6037
6037
  return openBlock(), createElementBlock(Fragment, null, [
6038
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$x, [
6038
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$y, [
6039
6039
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
6040
6040
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$r, "*")) : createCommentVNode("", true)
6041
6041
  ])) : createCommentVNode("", true),
6042
6042
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$n, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
6043
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$k, [
6043
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$j, [
6044
6044
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
6045
6045
  return openBlock(), createBlock(_component_flex_row, {
6046
6046
  class: "ux-text-row",
@@ -6150,7 +6150,7 @@ const _sfc_main$D = {
6150
6150
  }
6151
6151
  }
6152
6152
  };
6153
- const _hoisted_1$w = {
6153
+ const _hoisted_1$x = {
6154
6154
  key: 0,
6155
6155
  class: "ux-field-title"
6156
6156
  };
@@ -6186,7 +6186,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
6186
6186
  createVNode(_component_flex_cell, { vcenter: "" }, {
6187
6187
  default: withCtx(() => [
6188
6188
  createElementVNode("div", null, [
6189
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$w, [
6189
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$x, [
6190
6190
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
6191
6191
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$q, "*")) : createCommentVNode("", true)
6192
6192
  ])) : createCommentVNode("", true),
@@ -6213,7 +6213,7 @@ const _sfc_main$C = {
6213
6213
  }
6214
6214
  }
6215
6215
  };
6216
- const _hoisted_1$v = { key: 0 };
6216
+ const _hoisted_1$w = { key: 0 };
6217
6217
  const _hoisted_2$p = ["innerHTML"];
6218
6218
  const _hoisted_3$l = ["innerHTML"];
6219
6219
  function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
@@ -6221,7 +6221,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
6221
6221
  const _component_ux_icon = resolveComponent("ux-icon");
6222
6222
  const _component_ux_button = resolveComponent("ux-button");
6223
6223
  const _component_flex_row = resolveComponent("flex-row");
6224
- return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
6224
+ return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
6225
6225
  createVNode(_component_flex_row, { class: "ux-text-row" }, {
6226
6226
  default: withCtx(() => [
6227
6227
  createVNode(_component_flex_cell, null, {
@@ -6326,6 +6326,7 @@ const _sfc_main$B = {
6326
6326
  keyOptions() {
6327
6327
  return this.fields.reduce(function(set, entry) {
6328
6328
  switch (entry.type) {
6329
+ case "object":
6329
6330
  case "group":
6330
6331
  break;
6331
6332
  default:
@@ -6534,13 +6535,13 @@ const _sfc_main$B = {
6534
6535
  NativeSelect
6535
6536
  }
6536
6537
  };
6537
- const _hoisted_1$u = {
6538
+ const _hoisted_1$v = {
6538
6539
  key: 0,
6539
6540
  class: "filter-condition"
6540
6541
  };
6541
6542
  const _hoisted_2$o = { key: 0 };
6542
6543
  const _hoisted_3$k = { key: 1 };
6543
- const _hoisted_4$j = /* @__PURE__ */ createTextVNode(" And ");
6544
+ const _hoisted_4$i = /* @__PURE__ */ createTextVNode(" And ");
6544
6545
  const _hoisted_5$c = { key: 2 };
6545
6546
  const _hoisted_6$a = { key: 3 };
6546
6547
  const _hoisted_7$8 = /* @__PURE__ */ createTextVNode(" And ");
@@ -6560,7 +6561,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
6560
6561
  const _component_content_select = resolveComponent("content-select");
6561
6562
  const _component_ux_icon = resolveComponent("ux-icon");
6562
6563
  const _component_ux_button = resolveComponent("ux-button");
6563
- return $data.comparators ? (openBlock(), createElementBlock("div", _hoisted_1$u, [
6564
+ return $data.comparators ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
6564
6565
  createVNode(_component_flex_row, null, {
6565
6566
  default: withCtx(() => [
6566
6567
  createVNode(_component_flex_cell, null, {
@@ -6570,7 +6571,8 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
6570
6571
  modelValue: $data.model.key,
6571
6572
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.key = $event),
6572
6573
  field: $options.keyField
6573
- }, null, 8, ["modelValue", "field"])
6574
+ }, null, 8, ["modelValue", "field"]),
6575
+ createElementVNode("pre", null, toDisplayString($options.keyOptions), 1)
6574
6576
  ]),
6575
6577
  _: 1
6576
6578
  }),
@@ -6606,7 +6608,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
6606
6608
  modelValue: $data.model.value,
6607
6609
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.model.value = $event)
6608
6610
  }, null, 8, ["field", "modelValue"]),
6609
- _hoisted_4$j,
6611
+ _hoisted_4$i,
6610
6612
  createVNode(_component_text_field, {
6611
6613
  field: $options.normalField,
6612
6614
  modelValue: $data.model.value2,
@@ -6990,21 +6992,53 @@ const _sfc_main$A = {
6990
6992
  }
6991
6993
  },
6992
6994
  fields() {
6993
- var allFields = this.definition && this.definition.fields ? [...this.definition.fields] : [];
6994
- var definedFields = this.definition && this.definition.definedFields ? this.definition.definedFields : [];
6995
+ const self2 = this;
6996
+ var allFields = self2.definition && self2.definition.fields ? [...self2.definition.fields] : [];
6997
+ var definedFields = self2.definition && self2.definition.definedFields ? self2.definition.definedFields : [];
6998
+ const isFormSubmission = self2.definition.definesType === "submission";
6995
6999
  if (definedFields.length) {
6996
- var customFields = {
6997
- title: `${this.definition.title}`,
6998
- minimum: 1,
6999
- maximum: 1,
7000
- key: "data",
7001
- asObject: true,
7002
- type: "group",
7003
- fields: definedFields
7004
- };
7005
- allFields.push(customFields);
7000
+ if (isFormSubmission) {
7001
+ var formDataFields = {
7002
+ title: `Form Data`,
7003
+ minimum: 1,
7004
+ maximum: 1,
7005
+ key: "formData",
7006
+ asObject: true,
7007
+ type: "group",
7008
+ fields: definedFields
7009
+ };
7010
+ allFields.push(formDataFields);
7011
+ const cleanedDataFields = definedFields.map(function(field) {
7012
+ if (field.type === "reference") {
7013
+ field = JSON.parse(JSON.stringify(field));
7014
+ delete field.fields;
7015
+ }
7016
+ return field;
7017
+ });
7018
+ var dataFields = {
7019
+ title: `Data`,
7020
+ minimum: 1,
7021
+ maximum: 1,
7022
+ key: "data",
7023
+ asObject: true,
7024
+ type: "group",
7025
+ fields: cleanedDataFields
7026
+ };
7027
+ allFields.push(dataFields);
7028
+ } else {
7029
+ var dataFields = {
7030
+ title: `${self2.definition.title}`,
7031
+ minimum: 1,
7032
+ maximum: 1,
7033
+ key: "data",
7034
+ asObject: true,
7035
+ type: "group",
7036
+ fields: definedFields
7037
+ };
7038
+ allFields.push(dataFields);
7039
+ }
7006
7040
  }
7007
- var mapped = this.$qik.utils.mapFields(allFields);
7041
+ var mapped = self2.$qik.utils.mapFields(allFields, { includeArrayDelimeter: true });
7008
7042
  return mapped;
7009
7043
  },
7010
7044
  operatorField() {
@@ -7033,10 +7067,10 @@ const _sfc_main$A = {
7033
7067
  NativeSelect
7034
7068
  }
7035
7069
  };
7036
- const _hoisted_1$t = { class: "filter-rule" };
7070
+ const _hoisted_1$u = { class: "filter-rule" };
7037
7071
  const _hoisted_2$n = { class: "top" };
7038
7072
  const _hoisted_3$j = { class: "summary" };
7039
- const _hoisted_4$i = /* @__PURE__ */ createTextVNode(" Match ");
7073
+ const _hoisted_4$h = /* @__PURE__ */ createTextVNode(" Match ");
7040
7074
  const _hoisted_5$b = /* @__PURE__ */ createTextVNode(" of the following conditions ");
7041
7075
  const _hoisted_6$9 = /* @__PURE__ */ createElementVNode("span", { class: "line" }, null, -1);
7042
7076
  const _hoisted_7$7 = { class: "operator" };
@@ -7048,14 +7082,14 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
7048
7082
  const _component_ux_button = resolveComponent("ux-button");
7049
7083
  const _component_flex_row = resolveComponent("flex-row");
7050
7084
  const _component_filter_condition = resolveComponent("filter-condition");
7051
- return openBlock(), createElementBlock("div", _hoisted_1$t, [
7085
+ return openBlock(), createElementBlock("div", _hoisted_1$u, [
7052
7086
  createElementVNode("div", _hoisted_2$n, [
7053
7087
  createVNode(_component_flex_row, null, {
7054
7088
  default: withCtx(() => [
7055
7089
  createVNode(_component_flex_cell, null, {
7056
7090
  default: withCtx(() => [
7057
7091
  createElementVNode("div", _hoisted_3$j, [
7058
- _hoisted_4$i,
7092
+ _hoisted_4$h,
7059
7093
  createVNode(_component_native_select, {
7060
7094
  modelValue: $data.model.operator,
7061
7095
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
@@ -7237,13 +7271,13 @@ const _sfc_main$z = {
7237
7271
  };
7238
7272
  }
7239
7273
  };
7240
- const _hoisted_1$s = { class: "filters" };
7274
+ const _hoisted_1$t = { class: "filters" };
7241
7275
  const _hoisted_2$m = {
7242
7276
  key: 0,
7243
7277
  class: "top"
7244
7278
  };
7245
7279
  const _hoisted_3$i = { class: "summary" };
7246
- const _hoisted_4$h = /* @__PURE__ */ createTextVNode(" Match ");
7280
+ const _hoisted_4$g = /* @__PURE__ */ createTextVNode(" Match ");
7247
7281
  const _hoisted_5$a = /* @__PURE__ */ createTextVNode(" of the following rules ");
7248
7282
  const _hoisted_6$8 = /* @__PURE__ */ createTextVNode("Add Filter Rule");
7249
7283
  function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
@@ -7256,10 +7290,10 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
7256
7290
  default: withCtx(() => [
7257
7291
  createVNode(_component_flex_body, null, {
7258
7292
  default: withCtx(() => [
7259
- createElementVNode("div", _hoisted_1$s, [
7293
+ createElementVNode("div", _hoisted_1$t, [
7260
7294
  $data.model && $data.model.filters && $data.model.filters.length ? (openBlock(), createElementBlock("div", _hoisted_2$m, [
7261
7295
  createElementVNode("div", _hoisted_3$i, [
7262
- _hoisted_4$h,
7296
+ _hoisted_4$g,
7263
7297
  createVNode(_component_native_select, {
7264
7298
  modelValue: $data.model.operator,
7265
7299
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
@@ -7344,7 +7378,7 @@ const _sfc_main$y = {
7344
7378
  }
7345
7379
  }
7346
7380
  };
7347
- const _hoisted_1$r = {
7381
+ const _hoisted_1$s = {
7348
7382
  key: 0,
7349
7383
  class: "ux-field-title"
7350
7384
  };
@@ -7356,7 +7390,7 @@ const _hoisted_3$h = {
7356
7390
  key: 1,
7357
7391
  class: "ux-field-description"
7358
7392
  };
7359
- const _hoisted_4$g = { key: 2 };
7393
+ const _hoisted_4$f = { key: 2 };
7360
7394
  function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
7361
7395
  const _component_filter_builder = resolveComponent("filter-builder");
7362
7396
  const _component_flex_cell = resolveComponent("flex-cell");
@@ -7364,12 +7398,12 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
7364
7398
  const _component_ux_button = resolveComponent("ux-button");
7365
7399
  const _component_flex_row = resolveComponent("flex-row");
7366
7400
  return openBlock(), createElementBlock(Fragment, null, [
7367
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$r, [
7401
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$s, [
7368
7402
  createTextVNode(toDisplayString(_ctx.label) + " (" + toDisplayString($options.definitionTitle) + ") ", 1),
7369
7403
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$l, "*")) : createCommentVNode("", true)
7370
7404
  ])) : createCommentVNode("", true),
7371
7405
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$h, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
7372
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$g, [
7406
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$f, [
7373
7407
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
7374
7408
  return openBlock(), createBlock(_component_flex_row, {
7375
7409
  class: "ux-text-row",
@@ -7467,7 +7501,7 @@ const _sfc_main$x = {
7467
7501
  }
7468
7502
  }
7469
7503
  };
7470
- const _hoisted_1$q = {
7504
+ const _hoisted_1$r = {
7471
7505
  key: 0,
7472
7506
  class: "ux-field-title"
7473
7507
  };
@@ -7503,7 +7537,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
7503
7537
  createVNode(_component_flex_cell, { vcenter: "" }, {
7504
7538
  default: withCtx(() => [
7505
7539
  createElementVNode("div", null, [
7506
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$q, [
7540
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$r, [
7507
7541
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
7508
7542
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$k, "*")) : createCommentVNode("", true)
7509
7543
  ])) : createCommentVNode("", true),
@@ -7552,7 +7586,7 @@ const _sfc_main$w = {
7552
7586
  }
7553
7587
  }
7554
7588
  };
7555
- const _hoisted_1$p = ["multiple"];
7589
+ const _hoisted_1$q = ["multiple"];
7556
7590
  const _hoisted_2$j = /* @__PURE__ */ createTextVNode("Select Files");
7557
7591
  function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
7558
7592
  const _component_ux_button = resolveComponent("ux-button");
@@ -7566,7 +7600,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
7566
7600
  type: "file",
7567
7601
  multiple: $props.multiple,
7568
7602
  onChange: _cache[0] || (_cache[0] = ($event) => $options.filesSelected($event.target.files))
7569
- }, null, 40, _hoisted_1$p),
7603
+ }, null, 40, _hoisted_1$q),
7570
7604
  createElementVNode("div", {
7571
7605
  class: "file-drop-ux",
7572
7606
  onClick: _cache[1] || (_cache[1] = (...args) => $options.clicked && $options.clicked(...args))
@@ -7715,7 +7749,7 @@ const _sfc_main$v = {
7715
7749
  },
7716
7750
  computed: {}
7717
7751
  };
7718
- const _hoisted_1$o = {
7752
+ const _hoisted_1$p = {
7719
7753
  key: 0,
7720
7754
  class: "ux-field-title"
7721
7755
  };
@@ -7727,7 +7761,7 @@ const _hoisted_3$f = {
7727
7761
  key: 1,
7728
7762
  class: "ux-field-description"
7729
7763
  };
7730
- const _hoisted_4$f = {
7764
+ const _hoisted_4$e = {
7731
7765
  key: 2,
7732
7766
  class: "files"
7733
7767
  };
@@ -7742,12 +7776,12 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
7742
7776
  const _component_flex_row = resolveComponent("flex-row");
7743
7777
  const _component_file_drop = resolveComponent("file-drop");
7744
7778
  return openBlock(), createElementBlock(Fragment, null, [
7745
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$o, [
7779
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$p, [
7746
7780
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
7747
7781
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$i, "*")) : createCommentVNode("", true)
7748
7782
  ])) : createCommentVNode("", true),
7749
7783
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$f, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
7750
- $data.files && $data.files.length ? (openBlock(), createElementBlock("div", _hoisted_4$f, [
7784
+ $data.files && $data.files.length ? (openBlock(), createElementBlock("div", _hoisted_4$e, [
7751
7785
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.files, (file, index2) => {
7752
7786
  return openBlock(), createElementBlock("div", {
7753
7787
  class: "file-item",
@@ -7890,7 +7924,7 @@ const _sfc_main$u = {
7890
7924
  }
7891
7925
  }
7892
7926
  };
7893
- const _hoisted_1$n = {
7927
+ const _hoisted_1$o = {
7894
7928
  key: 0,
7895
7929
  class: "ux-multi-group"
7896
7930
  };
@@ -7904,7 +7938,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
7904
7938
  const _component_ux_panel_body = resolveComponent("ux-panel-body");
7905
7939
  const _component_ux_panel = resolveComponent("ux-panel");
7906
7940
  const _component_draggable = resolveComponent("draggable");
7907
- return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
7941
+ return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
7908
7942
  $options.reorderable ? (openBlock(), createBlock(_component_draggable, {
7909
7943
  key: 0,
7910
7944
  modelValue: _ctx.model,
@@ -8134,7 +8168,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
8134
8168
  fields: _ctx.field.fields
8135
8169
  }, null, 8, ["onForm:state", "parentModel", "modelValue", "flex", "fields"]));
8136
8170
  }
8137
- var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-67669f46"]]);
8171
+ var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-121d7a2c"]]);
8138
8172
  const _sfc_main$t = {
8139
8173
  props: {
8140
8174
  option: {
@@ -8278,7 +8312,7 @@ const _sfc_main$s = {
8278
8312
  }
8279
8313
  }
8280
8314
  };
8281
- const _hoisted_1$m = {
8315
+ const _hoisted_1$n = {
8282
8316
  key: 0,
8283
8317
  class: "ux-field-title"
8284
8318
  };
@@ -8290,18 +8324,18 @@ const _hoisted_3$e = {
8290
8324
  key: 1,
8291
8325
  class: "ux-field-description"
8292
8326
  };
8293
- const _hoisted_4$e = { class: "buttons" };
8327
+ const _hoisted_4$d = { class: "buttons" };
8294
8328
  function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
8295
8329
  const _component_ux_icon = resolveComponent("ux-icon");
8296
8330
  const _component_ux_button = resolveComponent("ux-button");
8297
8331
  const _component_option_slot = resolveComponent("option-slot");
8298
8332
  return openBlock(), createElementBlock(Fragment, null, [
8299
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$m, [
8333
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$n, [
8300
8334
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
8301
8335
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$h, "*")) : createCommentVNode("", true)
8302
8336
  ])) : createCommentVNode("", true),
8303
8337
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$e, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8304
- createElementVNode("div", _hoisted_4$e, [
8338
+ createElementVNode("div", _hoisted_4$d, [
8305
8339
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selectableOptions, (option2) => {
8306
8340
  return openBlock(), createBlock(_component_option_slot, { option: option2 }, {
8307
8341
  default: withCtx(({ plainValue }) => [
@@ -8341,7 +8375,7 @@ const _sfc_main$r = {
8341
8375
  }
8342
8376
  }
8343
8377
  };
8344
- const _hoisted_1$l = {
8378
+ const _hoisted_1$m = {
8345
8379
  key: 0,
8346
8380
  class: "ux-field-title"
8347
8381
  };
@@ -8353,7 +8387,7 @@ const _hoisted_3$d = {
8353
8387
  key: 1,
8354
8388
  class: "ux-field-description"
8355
8389
  };
8356
- const _hoisted_4$d = { key: 2 };
8390
+ const _hoisted_4$c = { key: 2 };
8357
8391
  const _hoisted_5$8 = { key: 3 };
8358
8392
  function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
8359
8393
  const _component_flex_cell = resolveComponent("flex-cell");
@@ -8361,12 +8395,12 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
8361
8395
  const _component_ux_button = resolveComponent("ux-button");
8362
8396
  const _component_flex_row = resolveComponent("flex-row");
8363
8397
  return openBlock(), createElementBlock(Fragment, null, [
8364
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$l, [
8398
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$m, [
8365
8399
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
8366
8400
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$g, "*")) : createCommentVNode("", true)
8367
8401
  ])) : createCommentVNode("", true),
8368
8402
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$d, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8369
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$d, [
8403
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
8370
8404
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
8371
8405
  return openBlock(), createBlock(_component_flex_row, {
8372
8406
  class: "ux-text-row",
@@ -8515,7 +8549,7 @@ const _sfc_main$q = {
8515
8549
  }
8516
8550
  };
8517
8551
  const _withScopeId$1 = (n2) => (pushScopeId("data-v-42a51394"), n2 = n2(), popScopeId(), n2);
8518
- const _hoisted_1$k = {
8552
+ const _hoisted_1$l = {
8519
8553
  key: 0,
8520
8554
  class: "ux-field-title"
8521
8555
  };
@@ -8527,7 +8561,7 @@ const _hoisted_3$c = {
8527
8561
  key: 1,
8528
8562
  class: "ux-field-description"
8529
8563
  };
8530
- const _hoisted_4$c = { key: 2 };
8564
+ const _hoisted_4$b = { key: 2 };
8531
8565
  const _hoisted_5$7 = { class: "ux-text-wrap prefixed" };
8532
8566
  const _hoisted_6$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
8533
8567
  const _hoisted_7$5 = ["onBlur", "onUpdate:modelValue"];
@@ -8546,12 +8580,12 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
8546
8580
  const _component_ux_button = resolveComponent("ux-button");
8547
8581
  const _component_flex_row = resolveComponent("flex-row");
8548
8582
  return openBlock(), createElementBlock(Fragment, null, [
8549
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$k, [
8583
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$l, [
8550
8584
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
8551
8585
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$f, "*")) : createCommentVNode("", true)
8552
8586
  ])) : createCommentVNode("", true),
8553
8587
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$c, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8554
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
8588
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
8555
8589
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
8556
8590
  return openBlock(), createBlock(_component_flex_row, {
8557
8591
  class: "ux-text-row",
@@ -8837,7 +8871,7 @@ const _sfc_main$o = {
8837
8871
  }
8838
8872
  }
8839
8873
  };
8840
- const _hoisted_1$j = {
8874
+ const _hoisted_1$k = {
8841
8875
  key: 0,
8842
8876
  class: "ux-field-title"
8843
8877
  };
@@ -8849,7 +8883,7 @@ const _hoisted_3$b = {
8849
8883
  key: 1,
8850
8884
  class: "ux-field-description"
8851
8885
  };
8852
- const _hoisted_4$b = { key: 2 };
8886
+ const _hoisted_4$a = { key: 2 };
8853
8887
  const _hoisted_5$6 = { class: "code-editor-field-wrap" };
8854
8888
  const _hoisted_6$5 = {
8855
8889
  key: 3,
@@ -8862,12 +8896,12 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
8862
8896
  const _component_ux_button = resolveComponent("ux-button");
8863
8897
  const _component_flex_row = resolveComponent("flex-row");
8864
8898
  return openBlock(), createElementBlock(Fragment, null, [
8865
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$j, [
8899
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$k, [
8866
8900
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
8867
8901
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$e, "*")) : createCommentVNode("", true)
8868
8902
  ])) : createCommentVNode("", true),
8869
8903
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$b, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8870
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
8904
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
8871
8905
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
8872
8906
  return openBlock(), createBlock(_component_flex_row, {
8873
8907
  class: "ux-text-row",
@@ -9057,7 +9091,7 @@ const _sfc_main$n = {
9057
9091
  }
9058
9092
  }
9059
9093
  };
9060
- const _hoisted_1$i = {
9094
+ const _hoisted_1$j = {
9061
9095
  key: 0,
9062
9096
  class: "ux-field-title"
9063
9097
  };
@@ -9069,7 +9103,7 @@ const _hoisted_3$a = {
9069
9103
  key: 1,
9070
9104
  class: "ux-field-description"
9071
9105
  };
9072
- const _hoisted_4$a = {
9106
+ const _hoisted_4$9 = {
9073
9107
  key: 2,
9074
9108
  class: "ui-select-button"
9075
9109
  };
@@ -9084,12 +9118,12 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
9084
9118
  return openBlock(), createElementBlock("div", {
9085
9119
  class: normalizeClass(["native-select", $options.classes])
9086
9120
  }, [
9087
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$i, [
9121
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$j, [
9088
9122
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
9089
9123
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$d, "*")) : createCommentVNode("", true)
9090
9124
  ])) : createCommentVNode("", true),
9091
9125
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$a, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
9092
- _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
9126
+ _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$9, [
9093
9127
  renderSlot(_ctx.$slots, "default", {}, () => [
9094
9128
  createVNode(_component_ux_button, { tag: "div" }, {
9095
9129
  default: withCtx(() => [
@@ -9223,7 +9257,7 @@ const _sfc_main$m = {
9223
9257
  }
9224
9258
  }
9225
9259
  };
9226
- const _hoisted_1$h = {
9260
+ const _hoisted_1$i = {
9227
9261
  key: 0,
9228
9262
  class: "ux-field-title"
9229
9263
  };
@@ -9235,7 +9269,7 @@ const _hoisted_3$9 = {
9235
9269
  key: 1,
9236
9270
  class: "ux-field-description"
9237
9271
  };
9238
- const _hoisted_4$9 = {
9272
+ const _hoisted_4$8 = {
9239
9273
  key: 2,
9240
9274
  class: "ui-select-button"
9241
9275
  };
@@ -9250,12 +9284,12 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
9250
9284
  return openBlock(), createElementBlock("div", {
9251
9285
  class: normalizeClass(["native-select", $options.classes])
9252
9286
  }, [
9253
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$h, [
9287
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$i, [
9254
9288
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
9255
9289
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$c, "*")) : createCommentVNode("", true)
9256
9290
  ])) : createCommentVNode("", true),
9257
9291
  _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$9, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
9258
- _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$9, [
9292
+ _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
9259
9293
  renderSlot(_ctx.$slots, "default", {}, () => [
9260
9294
  createVNode(_component_ux_button, { tag: "div" }, {
9261
9295
  default: withCtx(() => [
@@ -10514,7 +10548,7 @@ const _sfc_main$l = {
10514
10548
  }
10515
10549
  }
10516
10550
  };
10517
- const _hoisted_1$g = {
10551
+ const _hoisted_1$h = {
10518
10552
  key: 24,
10519
10553
  class: "ux-field-message"
10520
10554
  };
@@ -10736,7 +10770,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
10736
10770
  ]),
10737
10771
  _: 1
10738
10772
  })) : createCommentVNode("", true),
10739
- $options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$g, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
10773
+ $options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$h, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
10740
10774
  ], 34)) : createCommentVNode("", true);
10741
10775
  }
10742
10776
  var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-54e7b3ce"]]);
@@ -11068,15 +11102,15 @@ const _sfc_main$j = {
11068
11102
  }
11069
11103
  }
11070
11104
  };
11071
- const _hoisted_1$f = { class: "ux-submission-form" };
11105
+ const _hoisted_1$g = { class: "ux-submission-form" };
11072
11106
  const _hoisted_2$b = /* @__PURE__ */ createTextVNode(" Try again ");
11073
11107
  const _hoisted_3$8 = /* @__PURE__ */ createTextVNode(" Complete! ");
11074
- const _hoisted_4$8 = /* @__PURE__ */ createTextVNode(" Back to form ");
11108
+ const _hoisted_4$7 = /* @__PURE__ */ createTextVNode(" Back to form ");
11075
11109
  const _hoisted_5$3 = /* @__PURE__ */ createTextVNode(" Submit ");
11076
11110
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
11077
11111
  const _component_ux_button = resolveComponent("ux-button");
11078
11112
  const _component_ux_form = resolveComponent("ux-form");
11079
- return openBlock(), createElementBlock("div", _hoisted_1$f, [
11113
+ return openBlock(), createElementBlock("div", _hoisted_1$g, [
11080
11114
  $data.state === "form.error" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11081
11115
  createElementVNode("pre", null, toDisplayString($data.error), 1),
11082
11116
  createVNode(_component_ux_button, { onClick: $options.softReset }, {
@@ -11089,7 +11123,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
11089
11123
  _hoisted_3$8,
11090
11124
  createVNode(_component_ux_button, { onClick: $options.reset }, {
11091
11125
  default: withCtx(() => [
11092
- _hoisted_4$8
11126
+ _hoisted_4$7
11093
11127
  ]),
11094
11128
  _: 1
11095
11129
  }, 8, ["onClick"])
@@ -11180,11 +11214,11 @@ const _sfc_main$i = {
11180
11214
  }
11181
11215
  }
11182
11216
  };
11183
- const _hoisted_1$e = { class: "search" };
11217
+ const _hoisted_1$f = { class: "search" };
11184
11218
  const _hoisted_2$a = ["placeholder"];
11185
11219
  function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
11186
11220
  const _component_ux_icon = resolveComponent("ux-icon");
11187
- return openBlock(), createElementBlock("div", _hoisted_1$e, [
11221
+ return openBlock(), createElementBlock("div", _hoisted_1$f, [
11188
11222
  withDirectives(createElementVNode("input", {
11189
11223
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.model = $event),
11190
11224
  placeholder: $props.placeholder
@@ -11239,10 +11273,18 @@ var RenderMixin = {
11239
11273
  return this.field.description;
11240
11274
  },
11241
11275
  singleValue() {
11242
- return this.maximum == 1;
11276
+ if (this.asObject) {
11277
+ var isSingle = this.minimum === 1 && this.maximum === 1;
11278
+ return isSingle;
11279
+ } else {
11280
+ return this.maximum === 1;
11281
+ }
11282
+ },
11283
+ type() {
11284
+ return this.field.type || "string";
11243
11285
  },
11244
11286
  multiValue() {
11245
- return this.maximum != 1;
11287
+ return !this.singleValue;
11246
11288
  },
11247
11289
  key() {
11248
11290
  return this.field.key;
@@ -11325,7 +11367,7 @@ const _sfc_main$h = {
11325
11367
  }
11326
11368
  }
11327
11369
  };
11328
- const _hoisted_1$d = {
11370
+ const _hoisted_1$e = {
11329
11371
  key: 0,
11330
11372
  class: "ux-multi-group"
11331
11373
  };
@@ -11336,7 +11378,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
11336
11378
  const _component_ux_render = resolveComponent("ux-render");
11337
11379
  const _component_ux_panel_body = resolveComponent("ux-panel-body");
11338
11380
  const _component_ux_panel = resolveComponent("ux-panel");
11339
- return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
11381
+ return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
11340
11382
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
11341
11383
  return openBlock(), createBlock(_component_ux_panel, {
11342
11384
  ref_for: true,
@@ -11389,7 +11431,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
11389
11431
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model = $event)
11390
11432
  }, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue"]));
11391
11433
  }
11392
- var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-1d1202c5"]]);
11434
+ var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-5d97d5ca"]]);
11393
11435
  var field_vue_vue_type_style_index_0_scoped_true_lang = "";
11394
11436
  const _sfc_main$g = {
11395
11437
  components: {
@@ -11581,10 +11623,10 @@ const _sfc_main$g = {
11581
11623
  }
11582
11624
  }
11583
11625
  };
11584
- const _hoisted_1$c = { class: "ux-field-title" };
11626
+ const _hoisted_1$d = { class: "ux-field-title" };
11585
11627
  const _hoisted_2$9 = { class: "ux-field-description" };
11586
11628
  const _hoisted_3$7 = { key: 1 };
11587
- const _hoisted_4$7 = { key: 1 };
11629
+ const _hoisted_4$6 = { key: 1 };
11588
11630
  const _hoisted_5$2 = { key: 1 };
11589
11631
  const _hoisted_6$2 = ["href"];
11590
11632
  const _hoisted_7$2 = { key: 1 };
@@ -11600,7 +11642,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
11600
11642
  key: 0,
11601
11643
  class: normalizeClass(["ux-field-render", $options.classes])
11602
11644
  }, [
11603
- createElementVNode("label", _hoisted_1$c, toDisplayString($options.title), 1),
11645
+ createElementVNode("label", _hoisted_1$d, toDisplayString($options.title), 1),
11604
11646
  createElementVNode("div", _hoisted_2$9, toDisplayString($props.field.description), 1),
11605
11647
  $options.widget === "group" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11606
11648
  $options.asObject ? (openBlock(), createBlock(_component_field_group, {
@@ -11647,7 +11689,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
11647
11689
  $options.type == "boolean" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
11648
11690
  $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11649
11691
  return openBlock(), createElementBlock("div", null, toDisplayString(!!value), 1);
11650
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$7, toDisplayString(!!$options.fieldModel), 1))
11692
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$6, toDisplayString(!!$options.fieldModel), 1))
11651
11693
  ], 64)) : createCommentVNode("", true),
11652
11694
  $options.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
11653
11695
  $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
@@ -11684,7 +11726,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
11684
11726
  ], 64))
11685
11727
  ], 2)) : createCommentVNode("", true);
11686
11728
  }
11687
- var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-28427b70"]]);
11729
+ var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-05569ffc"]]);
11688
11730
  var render_vue_vue_type_style_index_0_scoped_true_lang = "";
11689
11731
  const _sfc_main$f = {
11690
11732
  props: {
@@ -12178,11 +12220,11 @@ const _sfc_main$e = {
12178
12220
  }
12179
12221
  }
12180
12222
  };
12181
- const _hoisted_1$b = { class: "table-image-cell" };
12223
+ const _hoisted_1$c = { class: "table-image-cell" };
12182
12224
  function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
12183
12225
  const _component_ux_image = resolveComponent("ux-image");
12184
12226
  const _component_ux_icon = resolveComponent("ux-icon");
12185
- return openBlock(), createElementBlock("td", _hoisted_1$b, [
12227
+ return openBlock(), createElementBlock("td", _hoisted_1$c, [
12186
12228
  $options.type == "image" || $options.type == "video" ? (openBlock(), createBlock(_component_ux_image, {
12187
12229
  key: 0,
12188
12230
  item: _ctx.row,
@@ -12220,11 +12262,11 @@ const _sfc_main$d = {
12220
12262
  }
12221
12263
  }
12222
12264
  };
12223
- const _hoisted_1$a = { class: "table-button-cell" };
12265
+ const _hoisted_1$b = { class: "table-button-cell" };
12224
12266
  function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
12225
12267
  const _component_ux_icon = resolveComponent("ux-icon");
12226
12268
  const _component_ux_button = resolveComponent("ux-button");
12227
- return openBlock(), createElementBlock("td", _hoisted_1$a, [
12269
+ return openBlock(), createElementBlock("td", _hoisted_1$b, [
12228
12270
  createVNode(_component_ux_button, {
12229
12271
  size: $options.button.size,
12230
12272
  loading: $data.processing,
@@ -12834,7 +12876,7 @@ class Formatter {
12834
12876
  return this.loc.numberFormatter(opts).format(n2);
12835
12877
  }
12836
12878
  formatDateTimeFromString(dt, fmt) {
12837
- const knownEnglish = this.loc.listingMode() === "en", useDateTimeFormatter = this.loc.outputCalendar && this.loc.outputCalendar !== "gregory", string = (opts, extract) => this.loc.extract(dt, opts, extract), formatOffset2 = (opts) => {
12879
+ const knownEnglish = this.loc.listingMode() === "en", useDateTimeFormatter = this.loc.outputCalendar && this.loc.outputCalendar !== "gregory", string = (opts, extract2) => this.loc.extract(dt, opts, extract2), formatOffset2 = (opts) => {
12838
12880
  if (dt.isOffsetFixed && dt.offset === 0 && opts.allowZ) {
12839
12881
  return "Z";
12840
12882
  }
@@ -16096,16 +16138,16 @@ const _sfc_main$c = {
16096
16138
  }
16097
16139
  }
16098
16140
  };
16099
- const _hoisted_1$9 = { class: "table-date-cell" };
16141
+ const _hoisted_1$a = { class: "table-date-cell" };
16100
16142
  const _hoisted_2$8 = { class: "off" };
16101
16143
  const _hoisted_3$6 = { class: "on" };
16102
- const _hoisted_4$6 = { class: "spacer" };
16144
+ const _hoisted_4$5 = { class: "spacer" };
16103
16145
  function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
16104
- return openBlock(), createElementBlock("td", _hoisted_1$9, [
16146
+ return openBlock(), createElementBlock("td", _hoisted_1$a, [
16105
16147
  createElementVNode("div", null, [
16106
16148
  createElementVNode("span", _hoisted_2$8, toDisplayString($options.readable), 1),
16107
16149
  createElementVNode("span", _hoisted_3$6, toDisplayString($options.timeago), 1),
16108
- createElementVNode("span", _hoisted_4$6, toDisplayString($options.readable), 1)
16150
+ createElementVNode("span", _hoisted_4$5, toDisplayString($options.readable), 1)
16109
16151
  ])
16110
16152
  ]);
16111
16153
  }
@@ -16124,11 +16166,11 @@ const _sfc_main$b = {
16124
16166
  }
16125
16167
  }
16126
16168
  };
16127
- const _hoisted_1$8 = { class: "table-url-cell" };
16169
+ const _hoisted_1$9 = { class: "table-url-cell" };
16128
16170
  const _hoisted_2$7 = ["href"];
16129
16171
  function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
16130
16172
  const _component_ux_icon = resolveComponent("ux-icon");
16131
- return openBlock(), createElementBlock("td", _hoisted_1$8, [
16173
+ return openBlock(), createElementBlock("td", _hoisted_1$9, [
16132
16174
  createElementVNode("a", {
16133
16175
  href: $options.href,
16134
16176
  onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
@@ -16146,6 +16188,12 @@ var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b
16146
16188
  var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
16147
16189
  const _sfc_main$a = {
16148
16190
  props: {
16191
+ multi: {
16192
+ type: Boolean
16193
+ },
16194
+ last: {
16195
+ type: Boolean
16196
+ },
16149
16197
  value: {
16150
16198
  required: true
16151
16199
  },
@@ -16186,6 +16234,7 @@ const _sfc_main$a = {
16186
16234
  }
16187
16235
  }
16188
16236
  };
16237
+ const _hoisted_1$8 = /* @__PURE__ */ createTextVNode(",\xA0");
16189
16238
  function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
16190
16239
  return $options.reference ? (openBlock(), createElementBlock("a", {
16191
16240
  key: 0,
@@ -16193,11 +16242,37 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
16193
16242
  }, toDisplayString($options.renderValue), 1)) : $props.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
16194
16243
  createTextVNode(toDisplayString($options.date), 1)
16195
16244
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
16196
- createTextVNode(toDisplayString($options.renderValue), 1)
16245
+ createTextVNode(toDisplayString($options.renderValue), 1),
16246
+ $props.multi && !$props.last ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
16247
+ _hoisted_1$8
16248
+ ], 64)) : createCommentVNode("", true)
16197
16249
  ], 64));
16198
16250
  }
16199
- var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-1d4b9bcb"]]);
16251
+ var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-ff63e962"]]);
16200
16252
  var TableCell_vue_vue_type_style_index_0_scoped_true_lang = "";
16253
+ function extract(row, path) {
16254
+ if (!row) {
16255
+ return;
16256
+ }
16257
+ if (!path) {
16258
+ return;
16259
+ }
16260
+ var pathValue = get_1(row, path);
16261
+ if (pathValue) {
16262
+ return pathValue;
16263
+ }
16264
+ const pieces = path.split(".");
16265
+ const key = pieces.shift();
16266
+ const remainder = pieces.join(".");
16267
+ const stub = get_1(row, key);
16268
+ if (Array.isArray(stub)) {
16269
+ return stub.map(function(r) {
16270
+ return extract(r, remainder);
16271
+ }).flat().filter(Boolean);
16272
+ } else {
16273
+ return extract(stub, remainder);
16274
+ }
16275
+ }
16201
16276
  const _sfc_main$9 = {
16202
16277
  data() {
16203
16278
  return {
@@ -16268,7 +16343,10 @@ const _sfc_main$9 = {
16268
16343
  return value.title || value.name || value;
16269
16344
  },
16270
16345
  value() {
16271
- var v = get_1(this.row, this.column.key);
16346
+ var v = extract(this.row, this.column.key);
16347
+ if (!v) {
16348
+ console.log(this.row, this.column.key);
16349
+ }
16272
16350
  return v;
16273
16351
  }
16274
16352
  }
@@ -16279,7 +16357,6 @@ const _hoisted_1$7 = {
16279
16357
  };
16280
16358
  const _hoisted_2$6 = { class: "value" };
16281
16359
  const _hoisted_3$5 = { class: "value" };
16282
- const _hoisted_4$5 = /* @__PURE__ */ createTextVNode(", ");
16283
16360
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
16284
16361
  const _component_value_renderer = resolveComponent("value-renderer");
16285
16362
  return $data.component ? (openBlock(), createBlock(resolveDynamicComponent($data.component), {
@@ -16289,20 +16366,23 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
16289
16366
  value: $options.value
16290
16367
  }, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$7, [
16291
16368
  $options.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
16292
- $options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry) => {
16369
+ $options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry, index2) => {
16293
16370
  return openBlock(), createElementBlock("span", _hoisted_2$6, [
16294
16371
  createVNode(_component_value_renderer, {
16295
16372
  type: $props.column.type,
16373
+ multi: "",
16374
+ last: index2 === $options.value.length - 1,
16296
16375
  value: entry
16297
- }, null, 8, ["type", "value"])
16376
+ }, null, 8, ["type", "last", "value"])
16298
16377
  ]);
16299
- }), 256)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.value, (entry) => {
16378
+ }), 256)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.value, (entry, index2) => {
16300
16379
  return openBlock(), createElementBlock("span", _hoisted_3$5, [
16301
16380
  createVNode(_component_value_renderer, {
16302
16381
  type: $props.column.type,
16382
+ multi: "",
16383
+ last: index2 === $options.value.length - 1,
16303
16384
  value: entry
16304
- }, null, 8, ["type", "value"]),
16305
- _hoisted_4$5
16385
+ }, null, 8, ["type", "last", "value"])
16306
16386
  ]);
16307
16387
  }), 256))
16308
16388
  ], 64)) : (openBlock(), createBlock(_component_value_renderer, {
@@ -16312,7 +16392,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
16312
16392
  }, null, 8, ["type", "value"]))
16313
16393
  ]));
16314
16394
  }
16315
- var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-b65aded4"]]);
16395
+ var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-0e44bd7f"]]);
16316
16396
  const _sfc_main$8 = {
16317
16397
  components: {
16318
16398
  TableCell
@@ -16692,7 +16772,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
16692
16772
  ], 512)
16693
16773
  ]);
16694
16774
  }
16695
- var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-6a2e9dbe"]]);
16775
+ var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-e626ef3a"]]);
16696
16776
  function Selection(options) {
16697
16777
  options = options || {};
16698
16778
  Math.max(parseInt(options.minimum || 0), 0);
@@ -17315,6 +17395,13 @@ const _sfc_main$5 = {
17315
17395
  fields: definedFields
17316
17396
  };
17317
17397
  allFields.push(formDataFields);
17398
+ const cleanedDataFields = definedFields.map(function(field) {
17399
+ if (field.type === "reference") {
17400
+ field = JSON.parse(JSON.stringify(field));
17401
+ delete field.fields;
17402
+ }
17403
+ return field;
17404
+ });
17318
17405
  var dataFields = {
17319
17406
  title: `Data`,
17320
17407
  minimum: 1,
@@ -17322,7 +17409,7 @@ const _sfc_main$5 = {
17322
17409
  key: "data",
17323
17410
  asObject: true,
17324
17411
  type: "group",
17325
- fields: definedFields
17412
+ fields: cleanedDataFields
17326
17413
  };
17327
17414
  allFields.push(dataFields);
17328
17415
  } else {
@@ -17567,7 +17654,7 @@ const _sfc_main$5 = {
17567
17654
  };
17568
17655
  }
17569
17656
  };
17570
- const _withScopeId = (n2) => (pushScopeId("data-v-04072c44"), n2 = n2(), popScopeId(), n2);
17657
+ const _withScopeId = (n2) => (pushScopeId("data-v-ca158dc8"), n2 = n2(), popScopeId(), n2);
17571
17658
  const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
17572
17659
  const _hoisted_2$4 = { class: "footer" };
17573
17660
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
@@ -17737,7 +17824,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
17737
17824
  _: 3
17738
17825
  })) : createCommentVNode("", true);
17739
17826
  }
17740
- var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-04072c44"]]);
17827
+ var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-ca158dc8"]]);
17741
17828
  var ModalMixin = {
17742
17829
  props: {
17743
17830
  options: {