@qikdev/vue-ui 0.1.36 → 0.1.39

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.36";
35
+ const version$1 = "0.1.39";
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;
@@ -41,104 +41,104 @@ var _export_sfc = (sfc, props2) => {
41
41
  }
42
42
  return target;
43
43
  };
44
+ const _sfc_main$19 = {};
45
+ const _hoisted_1$X = { class: "flex-column" };
46
+ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
47
+ return openBlock(), createElementBlock("div", _hoisted_1$X, [
48
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
49
+ ]);
50
+ }
51
+ var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-203ea86f"]]);
52
+ var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
53
+ const _sfc_main$18 = {};
54
+ const _hoisted_1$W = { class: "flex-column-body" };
55
+ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
56
+ return openBlock(), createElementBlock("div", _hoisted_1$W, [
57
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
58
+ ]);
59
+ }
60
+ var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-64850355"]]);
61
+ var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
44
62
  const _sfc_main$17 = {};
45
- const _hoisted_1$V = { class: "flex-column" };
63
+ const _hoisted_1$V = { class: "flex-column-header" };
46
64
  function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
47
65
  return openBlock(), createElementBlock("div", _hoisted_1$V, [
48
66
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
49
67
  ]);
50
68
  }
51
- var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-203ea86f"]]);
52
- var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
69
+ var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-10b28f00"]]);
70
+ var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
53
71
  const _sfc_main$16 = {};
54
- const _hoisted_1$U = { class: "flex-column-body" };
72
+ const _hoisted_1$U = { class: "flex-column-footer" };
55
73
  function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
56
74
  return openBlock(), createElementBlock("div", _hoisted_1$U, [
57
75
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
58
76
  ]);
59
77
  }
60
- var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-64850355"]]);
61
- var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
78
+ var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-68216a72"]]);
79
+ var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
62
80
  const _sfc_main$15 = {};
63
- const _hoisted_1$T = { class: "flex-column-header" };
81
+ const _hoisted_1$T = { class: "flex-cell" };
64
82
  function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
65
83
  return openBlock(), createElementBlock("div", _hoisted_1$T, [
66
84
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
67
85
  ]);
68
86
  }
69
- var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-10b28f00"]]);
70
- var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
87
+ var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-644bb279"]]);
88
+ var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
71
89
  const _sfc_main$14 = {};
72
- const _hoisted_1$S = { class: "flex-column-footer" };
90
+ const _hoisted_1$S = { class: "flex-row" };
73
91
  function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
74
92
  return openBlock(), createElementBlock("div", _hoisted_1$S, [
75
93
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
76
94
  ]);
77
95
  }
78
- var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-68216a72"]]);
79
- var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
96
+ var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-5b76ad1f"]]);
97
+ var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
80
98
  const _sfc_main$13 = {};
81
- const _hoisted_1$R = { class: "flex-cell" };
99
+ const _hoisted_1$R = { class: "flex-spacer" };
82
100
  function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
83
- return openBlock(), createElementBlock("div", _hoisted_1$R, [
84
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
85
- ]);
101
+ return openBlock(), createElementBlock("div", _hoisted_1$R);
86
102
  }
87
- var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-644bb279"]]);
88
- var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
103
+ var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-35b15579"]]);
104
+ var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
89
105
  const _sfc_main$12 = {};
90
- const _hoisted_1$Q = { class: "flex-row" };
106
+ const _hoisted_1$Q = { class: "panel" };
91
107
  function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
92
108
  return openBlock(), createElementBlock("div", _hoisted_1$Q, [
93
109
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
94
110
  ]);
95
111
  }
96
- var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-5b76ad1f"]]);
97
- var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
112
+ var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-50ae77fc"]]);
113
+ var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
98
114
  const _sfc_main$11 = {};
99
- const _hoisted_1$P = { class: "flex-spacer" };
115
+ const _hoisted_1$P = { class: "panel-body" };
100
116
  function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
101
- return openBlock(), createElementBlock("div", _hoisted_1$P);
117
+ return openBlock(), createElementBlock("div", _hoisted_1$P, [
118
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
119
+ ]);
102
120
  }
103
- var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-35b15579"]]);
104
- var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
121
+ var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-c82dca76"]]);
122
+ var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
105
123
  const _sfc_main$10 = {};
106
- const _hoisted_1$O = { class: "panel" };
124
+ const _hoisted_1$O = { class: "panel-header" };
107
125
  function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
108
126
  return openBlock(), createElementBlock("div", _hoisted_1$O, [
109
127
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
110
128
  ]);
111
129
  }
112
- var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-50ae77fc"]]);
113
- var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
130
+ var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-13bf11da"]]);
131
+ var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
114
132
  const _sfc_main$$ = {};
115
- const _hoisted_1$N = { class: "panel-body" };
133
+ const _hoisted_1$N = { class: "panel-footer" };
116
134
  function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
117
135
  return openBlock(), createElementBlock("div", _hoisted_1$N, [
118
136
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
119
137
  ]);
120
138
  }
121
- var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-c82dca76"]]);
122
- var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
123
- const _sfc_main$_ = {};
124
- const _hoisted_1$M = { class: "panel-header" };
125
- function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
126
- return openBlock(), createElementBlock("div", _hoisted_1$M, [
127
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
128
- ]);
129
- }
130
- var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-13bf11da"]]);
131
- var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
132
- const _sfc_main$Z = {};
133
- const _hoisted_1$L = { class: "panel-footer" };
134
- function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
135
- return openBlock(), createElementBlock("div", _hoisted_1$L, [
136
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
137
- ]);
138
- }
139
- var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__scopeId", "data-v-b4f4786a"]]);
139
+ var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-b4f4786a"]]);
140
140
  var tabset_vue_vue_type_style_index_0_scoped_true_lang = "";
141
- const _sfc_main$Y = {
141
+ const _sfc_main$_ = {
142
142
  data() {
143
143
  return {
144
144
  activeIndex: 0
@@ -146,20 +146,18 @@ const _sfc_main$Y = {
146
146
  },
147
147
  methods: {
148
148
  select(i2) {
149
- console.log("SELECT", this.activeIndex);
150
149
  this.activeIndex = i2;
151
150
  }
152
151
  },
153
152
  computed: {
154
153
  tabs() {
155
154
  var slotChildren = this.$slots.default();
156
- console.log("SLOT CHILDREN", slotChildren);
157
155
  return slotChildren;
158
156
  }
159
157
  }
160
158
  };
161
- const _hoisted_1$K = ["onClick"];
162
- function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
159
+ const _hoisted_1$M = ["onClick"];
160
+ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
163
161
  const _component_flex_row = resolveComponent("flex-row");
164
162
  const _component_flex_header = resolveComponent("flex-header");
165
163
  const _component_flex_column = resolveComponent("flex-column");
@@ -173,7 +171,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
173
171
  return openBlock(), createElementBlock("a", {
174
172
  class: normalizeClass({ active: index2 === $data.activeIndex }),
175
173
  onClick: ($event) => $options.select(index2)
176
- }, toDisplayString(tab.props.heading), 11, _hoisted_1$K);
174
+ }, toDisplayString(tab.props.heading), 11, _hoisted_1$M);
177
175
  }), 256))
178
176
  ]),
179
177
  _: 1
@@ -200,8 +198,8 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
200
198
  _: 1
201
199
  });
202
200
  }
203
- var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__scopeId", "data-v-b5715b66"]]);
204
- const _sfc_main$X = {
201
+ var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-1835b512"]]);
202
+ const _sfc_main$Z = {
205
203
  props: {
206
204
  heading: {
207
205
  type: String,
@@ -224,7 +222,7 @@ const _sfc_main$X = {
224
222
  }
225
223
  }
226
224
  };
227
- function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
225
+ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
228
226
  const _component_flex_column = resolveComponent("flex-column");
229
227
  return openBlock(), createBlock(_component_flex_column, null, {
230
228
  default: withCtx(() => [
@@ -233,28 +231,28 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
233
231
  _: 3
234
232
  });
235
233
  }
236
- var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X]]);
234
+ var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z]]);
237
235
  var spinner_vue_vue_type_style_index_0_scoped_true_lang = "";
238
- const _sfc_main$W = {
236
+ const _sfc_main$Y = {
239
237
  props: {
240
238
  large: {
241
239
  type: Boolean
242
240
  }
243
241
  }
244
242
  };
245
- const _withScopeId$4 = (n2) => (pushScopeId("data-v-3284debd"), n2 = n2(), popScopeId(), n2);
246
- const _hoisted_1$J = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("i", { class: "fa fa-spin fa-spinner" }, null, -1));
247
- const _hoisted_2$y = [
248
- _hoisted_1$J
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));
245
+ const _hoisted_2$B = [
246
+ _hoisted_1$L
249
247
  ];
250
- function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
248
+ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
251
249
  return openBlock(), createElementBlock("div", {
252
250
  class: normalizeClass(["ux-spinner", { large: $props.large }])
253
- }, _hoisted_2$y, 2);
251
+ }, _hoisted_2$B, 2);
254
252
  }
255
- var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-3284debd"]]);
253
+ var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__scopeId", "data-v-27f20370"]]);
256
254
  var button_vue_vue_type_style_index_0_scoped_true_lang = "";
257
- const _sfc_main$V = {
255
+ const _sfc_main$X = {
258
256
  components: {
259
257
  Spinner
260
258
  },
@@ -353,8 +351,8 @@ const _sfc_main$V = {
353
351
  }
354
352
  }
355
353
  };
356
- const _hoisted_1$I = { class: "ux-btn-text" };
357
- function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
354
+ const _hoisted_1$K = { class: "ux-btn-text" };
355
+ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
358
356
  const _component_spinner = resolveComponent("spinner");
359
357
  return openBlock(), createBlock(resolveDynamicComponent($options.element), {
360
358
  active: $props.active,
@@ -368,16 +366,16 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
368
366
  }, {
369
367
  default: withCtx(() => [
370
368
  $props.loading ? (openBlock(), createBlock(_component_spinner, { key: 0 })) : createCommentVNode("", true),
371
- createElementVNode("span", _hoisted_1$I, [
369
+ createElementVNode("span", _hoisted_1$K, [
372
370
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
373
371
  ])
374
372
  ]),
375
373
  _: 3
376
374
  }, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
377
375
  }
378
- var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__scopeId", "data-v-bcaad93a"]]);
376
+ var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__scopeId", "data-v-bcaad93a"]]);
379
377
  var checkbox_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
380
- const _sfc_main$U = {
378
+ const _sfc_main$W = {
381
379
  props: {
382
380
  value: {
383
381
  type: Boolean,
@@ -398,7 +396,7 @@ const _sfc_main$U = {
398
396
  }
399
397
  }
400
398
  };
401
- function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
399
+ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
402
400
  const _component_ux_icon = resolveComponent("ux-icon");
403
401
  return openBlock(), createElementBlock("button", {
404
402
  class: normalizeClass(["ux-checkbox", $options.classes])
@@ -409,9 +407,9 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
409
407
  })
410
408
  ], 2);
411
409
  }
412
- var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-7dd035b9"]]);
410
+ var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-7dd035b9"]]);
413
411
  var switch_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
414
- const _sfc_main$T = {
412
+ const _sfc_main$V = {
415
413
  props: {
416
414
  value: {
417
415
  type: Boolean,
@@ -441,7 +439,7 @@ const _sfc_main$T = {
441
439
  }
442
440
  }
443
441
  };
444
- function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
442
+ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
445
443
  const _component_ux_icon = resolveComponent("ux-icon");
446
444
  return openBlock(), createElementBlock("a", {
447
445
  class: normalizeClass(["ux-switch", $options.classes])
@@ -454,9 +452,9 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
454
452
  ])
455
453
  ], 2);
456
454
  }
457
- var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__scopeId", "data-v-4063e9b5"]]);
455
+ var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__scopeId", "data-v-4063e9b5"]]);
458
456
  var link_vue_vue_type_style_index_0_scoped_true_lang = "";
459
- const _sfc_main$S = {
457
+ const _sfc_main$U = {
460
458
  props: {
461
459
  to: {
462
460
  type: [Object, String]
@@ -521,7 +519,7 @@ const _sfc_main$S = {
521
519
  }
522
520
  }
523
521
  };
524
- function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
522
+ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
525
523
  return openBlock(), createBlock(resolveDynamicComponent($options.element), {
526
524
  onClick: $options.clicked,
527
525
  to: $props.to,
@@ -535,9 +533,9 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
535
533
  _: 3
536
534
  }, 8, ["onClick", "to", "href", "target", "class"]);
537
535
  }
538
- var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__scopeId", "data-v-4ed46cbc"]]);
536
+ var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-4ed46cbc"]]);
539
537
  var icon_vue_vue_type_style_index_0_scoped_true_lang = "";
540
- const _sfc_main$R = {
538
+ const _sfc_main$T = {
541
539
  props: {
542
540
  icon: {
543
541
  type: [Object, String]
@@ -572,17 +570,17 @@ const _sfc_main$R = {
572
570
  }
573
571
  }
574
572
  };
575
- function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
573
+ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
576
574
  return openBlock(), createBlock(resolveDynamicComponent($options.element), {
577
575
  class: normalizeClass(["ux-icon fa", $options.classes])
578
576
  }, null, 8, ["class"]);
579
577
  }
580
- var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-1764a3d0"]]);
578
+ var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__scopeId", "data-v-1764a3d0"]]);
581
579
  var UXMenuService = {
582
580
  cache: {}
583
581
  };
584
582
  var menu_vue_vue_type_style_index_0_scoped_true_lang = "";
585
- const _sfc_main$Q = {
583
+ const _sfc_main$S = {
586
584
  props: {
587
585
  group: {
588
586
  type: String
@@ -734,7 +732,7 @@ const _sfc_main$Q = {
734
732
  }
735
733
  }
736
734
  };
737
- function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
735
+ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
738
736
  return openBlock(), createElementBlock("div", {
739
737
  class: normalizeClass(["ux-menu", { right: $props.right }])
740
738
  }, [
@@ -758,9 +756,9 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
758
756
  ]))
759
757
  ], 2);
760
758
  }
761
- var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-3d55731c"]]);
759
+ var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__scopeId", "data-v-29d476a2"]]);
762
760
  var image_vue_vue_type_style_index_0_scoped_true_lang = "";
763
- const _sfc_main$P = {
761
+ const _sfc_main$R = {
764
762
  props: {
765
763
  item: {
766
764
  type: Object
@@ -866,18 +864,18 @@ const _sfc_main$P = {
866
864
  }
867
865
  }
868
866
  };
869
- const _hoisted_1$H = ["src"];
870
- function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
867
+ const _hoisted_1$J = ["src"];
868
+ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
871
869
  return openBlock(), createElementBlock("div", {
872
870
  class: "ux-image",
873
871
  style: normalizeStyle($options.style)
874
872
  }, [
875
- createElementVNode("img", { src: $options.src }, null, 8, _hoisted_1$H)
873
+ createElementVNode("img", { src: $options.src }, null, 8, _hoisted_1$J)
876
874
  ], 4);
877
875
  }
878
- var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__scopeId", "data-v-7b68ec1a"]]);
876
+ var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-7b68ec1a"]]);
879
877
  var progressbar_vue_vue_type_style_index_0_scoped_true_lang = "";
880
- const _sfc_main$O = {
878
+ const _sfc_main$Q = {
881
879
  props: {
882
880
  value: {
883
881
  type: Number
@@ -912,36 +910,90 @@ const _sfc_main$O = {
912
910
  }
913
911
  };
914
912
  const _withScopeId$3 = (n2) => (pushScopeId("data-v-6581fb86"), n2 = n2(), popScopeId(), n2);
915
- const _hoisted_1$G = { class: "ux-progress" };
916
- const _hoisted_2$x = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ux-progress-bg" }, null, -1));
917
- function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
918
- return openBlock(), createElementBlock("div", _hoisted_1$G, [
919
- _hoisted_2$x,
913
+ const _hoisted_1$I = { class: "ux-progress" };
914
+ const _hoisted_2$A = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ux-progress-bg" }, null, -1));
915
+ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
916
+ return openBlock(), createElementBlock("div", _hoisted_1$I, [
917
+ _hoisted_2$A,
920
918
  createElementVNode("div", {
921
919
  class: "ux-progress-fg",
922
920
  style: normalizeStyle($options.barStyle)
923
921
  }, null, 4)
924
922
  ]);
925
923
  }
926
- var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__scopeId", "data-v-6581fb86"]]);
924
+ var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-6581fb86"]]);
927
925
  var list_vue_vue_type_style_index_0_scoped_true_lang = "";
928
- const _sfc_main$N = {};
929
- const _hoisted_1$F = { class: "ux-list" };
930
- function _sfc_render$N(_ctx, _cache) {
931
- return openBlock(), createElementBlock("ul", _hoisted_1$F, [
926
+ const _sfc_main$P = {};
927
+ const _hoisted_1$H = { class: "ux-list" };
928
+ function _sfc_render$P(_ctx, _cache) {
929
+ return openBlock(), createElementBlock("ul", _hoisted_1$H, [
932
930
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
933
931
  ]);
934
932
  }
935
- var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__scopeId", "data-v-98e1e4e2"]]);
933
+ var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__scopeId", "data-v-98e1e4e2"]]);
936
934
  var listItem_vue_vue_type_style_index_0_scoped_true_lang = "";
937
- const _sfc_main$M = {};
938
- const _hoisted_1$E = { class: "ux-list-item" };
939
- function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
940
- return openBlock(), createElementBlock("div", _hoisted_1$E, [
935
+ const _sfc_main$O = {};
936
+ const _hoisted_1$G = { class: "ux-list-item" };
937
+ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
938
+ return openBlock(), createElementBlock("div", _hoisted_1$G, [
941
939
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
942
940
  ]);
943
941
  }
944
- var UXListItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-0e73c260"]]);
942
+ var UXListItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__scopeId", "data-v-0e73c260"]]);
943
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
944
+ var safeJsonStringify$2 = { exports: {} };
945
+ var hasProp = Object.prototype.hasOwnProperty;
946
+ function throwsMessage(err) {
947
+ return "[Throws: " + (err ? err.message : "?") + "]";
948
+ }
949
+ function safeGetValueFromPropertyOnObject(obj, property) {
950
+ if (hasProp.call(obj, property)) {
951
+ try {
952
+ return obj[property];
953
+ } catch (err) {
954
+ return throwsMessage(err);
955
+ }
956
+ }
957
+ return obj[property];
958
+ }
959
+ function ensureProperties(obj) {
960
+ var seen = [];
961
+ function visit(obj2) {
962
+ if (obj2 === null || typeof obj2 !== "object") {
963
+ return obj2;
964
+ }
965
+ if (seen.indexOf(obj2) !== -1) {
966
+ return "[Circular]";
967
+ }
968
+ seen.push(obj2);
969
+ if (typeof obj2.toJSON === "function") {
970
+ try {
971
+ var fResult = visit(obj2.toJSON());
972
+ seen.pop();
973
+ return fResult;
974
+ } catch (err) {
975
+ return throwsMessage(err);
976
+ }
977
+ }
978
+ if (Array.isArray(obj2)) {
979
+ var aResult = obj2.map(visit);
980
+ seen.pop();
981
+ return aResult;
982
+ }
983
+ var result = Object.keys(obj2).reduce(function(result2, prop) {
984
+ result2[prop] = visit(safeGetValueFromPropertyOnObject(obj2, prop));
985
+ return result2;
986
+ }, {});
987
+ seen.pop();
988
+ return result;
989
+ }
990
+ return visit(obj);
991
+ }
992
+ safeJsonStringify$2.exports = function(data, replacer, space) {
993
+ return JSON.stringify(ensureProperties(data), replacer, space);
994
+ };
995
+ safeJsonStringify$2.exports.ensureProperties = ensureProperties;
996
+ var safeJsonStringify$1 = safeJsonStringify$2.exports;
945
997
  function isUndefined$7(v, type) {
946
998
  return v === void 0 || v === null || type == "date" && v.toString && v.toString() === "Invalid Date";
947
999
  }
@@ -966,7 +1018,7 @@ var InputMixin = {
966
1018
  modelValue(val, old) {
967
1019
  var cleanedValue = this.cleanInput(val);
968
1020
  var cleanedModel = this.cleanInput(this.model);
969
- if (JSON.stringify(cleanedValue) != JSON.stringify(cleanedModel)) {
1021
+ if (safeJsonStringify$1(cleanedValue) != safeJsonStringify$1(cleanedModel)) {
970
1022
  this.model = cleanedValue;
971
1023
  }
972
1024
  }
@@ -1294,7 +1346,7 @@ var select_vue_vue_type_style_index_0_scoped_true_lang = "";
1294
1346
  function isUndefined$6(entry) {
1295
1347
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
1296
1348
  }
1297
- const _sfc_main$L = {
1349
+ const _sfc_main$N = {
1298
1350
  props: {
1299
1351
  title: {
1300
1352
  type: String
@@ -1379,19 +1431,19 @@ const _sfc_main$L = {
1379
1431
  }
1380
1432
  }
1381
1433
  };
1382
- const _hoisted_1$D = {
1434
+ const _hoisted_1$F = {
1383
1435
  key: 0,
1384
1436
  class: "ux-field-title"
1385
1437
  };
1386
- const _hoisted_2$w = {
1438
+ const _hoisted_2$z = {
1387
1439
  key: 0,
1388
1440
  class: "ux-required-marker"
1389
1441
  };
1390
- const _hoisted_3$t = {
1442
+ const _hoisted_3$v = {
1391
1443
  key: 1,
1392
1444
  class: "ux-field-description"
1393
1445
  };
1394
- const _hoisted_4$r = {
1446
+ const _hoisted_4$s = {
1395
1447
  key: 2,
1396
1448
  class: "ui-select-button"
1397
1449
  };
@@ -1400,18 +1452,18 @@ const _hoisted_6$g = {
1400
1452
  key: 0,
1401
1453
  value: ""
1402
1454
  };
1403
- const _hoisted_7$d = ["value"];
1404
- function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
1455
+ const _hoisted_7$e = ["value"];
1456
+ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
1405
1457
  const _component_ux_button = resolveComponent("ux-button");
1406
1458
  return openBlock(), createElementBlock("div", {
1407
1459
  class: normalizeClass(["native-select", $options.classes])
1408
1460
  }, [
1409
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$D, [
1461
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$F, [
1410
1462
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
1411
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$w, "*")) : createCommentVNode("", true)
1463
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$z, "*")) : createCommentVNode("", true)
1412
1464
  ])) : createCommentVNode("", true),
1413
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$t, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
1414
- _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$r, [
1465
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$v, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
1466
+ _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$s, [
1415
1467
  renderSlot(_ctx.$slots, "default", {}, () => [
1416
1468
  createVNode(_component_ux_button, { tag: "div" }, {
1417
1469
  default: withCtx(() => [
@@ -1430,16 +1482,16 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
1430
1482
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
1431
1483
  return openBlock(), createElementBlock("option", {
1432
1484
  value: option2.value
1433
- }, toDisplayString(option2.title), 9, _hoisted_7$d);
1485
+ }, toDisplayString(option2.title), 9, _hoisted_7$e);
1434
1486
  }), 256))
1435
1487
  ], 40, _hoisted_5$k), [
1436
1488
  [vModelSelect, _ctx.model]
1437
1489
  ])
1438
1490
  ], 2);
1439
1491
  }
1440
- var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-6d808434"]]);
1492
+ var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__scopeId", "data-v-6d808434"]]);
1441
1493
  var phoneNumberInput_vue_vue_type_style_index_0_scoped_true_lang = "";
1442
- const _sfc_main$K = {
1494
+ const _sfc_main$M = {
1443
1495
  props: {
1444
1496
  modelValue: {
1445
1497
  type: [Object, Array]
@@ -1511,41 +1563,41 @@ const _sfc_main$K = {
1511
1563
  }
1512
1564
  };
1513
1565
  const _withScopeId$2 = (n2) => (pushScopeId("data-v-856e04c2"), n2 = n2(), popScopeId(), n2);
1514
- const _hoisted_1$C = {
1566
+ const _hoisted_1$E = {
1515
1567
  key: 0,
1516
1568
  class: "ux-field-title"
1517
1569
  };
1518
- const _hoisted_2$v = {
1570
+ const _hoisted_2$y = {
1519
1571
  key: 0,
1520
1572
  class: "ux-required-marker"
1521
1573
  };
1522
- const _hoisted_3$s = {
1574
+ const _hoisted_3$u = {
1523
1575
  key: 1,
1524
1576
  class: "ux-field-description"
1525
1577
  };
1526
- const _hoisted_4$q = { key: 2 };
1578
+ const _hoisted_4$r = { key: 2 };
1527
1579
  const _hoisted_5$j = /* @__PURE__ */ createTextVNode(" Country Code ");
1528
1580
  const _hoisted_6$f = { key: 0 };
1529
- const _hoisted_7$c = { key: 1 };
1581
+ const _hoisted_7$d = { key: 1 };
1530
1582
  const _hoisted_8$7 = { class: "ux-text-wrap" };
1531
1583
  const _hoisted_9$5 = ["placeholder", "onUpdate:modelValue"];
1532
1584
  const _hoisted_10$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("option", { value: "" }, "None", -1));
1533
1585
  const _hoisted_11$4 = ["value"];
1534
- const _hoisted_12$3 = { class: "ux-text-wrap" };
1586
+ const _hoisted_12$4 = { class: "ux-text-wrap" };
1535
1587
  const _hoisted_13$3 = ["placeholder"];
1536
- function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
1588
+ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
1537
1589
  const _component_native_select = resolveComponent("native-select");
1538
1590
  const _component_flex_cell = resolveComponent("flex-cell");
1539
1591
  const _component_ux_icon = resolveComponent("ux-icon");
1540
1592
  const _component_ux_button = resolveComponent("ux-button");
1541
1593
  const _component_flex_row = resolveComponent("flex-row");
1542
1594
  return openBlock(), createElementBlock(Fragment, null, [
1543
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$C, [
1595
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$E, [
1544
1596
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
1545
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$v, "*")) : createCommentVNode("", true)
1597
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$y, "*")) : createCommentVNode("", true)
1546
1598
  ])) : createCommentVNode("", true),
1547
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$s, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
1548
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$q, [
1599
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$u, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
1600
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$r, [
1549
1601
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
1550
1602
  return openBlock(), createBlock(_component_flex_row, {
1551
1603
  wrap: "",
@@ -1564,7 +1616,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
1564
1616
  !entry.countryCode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
1565
1617
  _hoisted_5$j
1566
1618
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1567
- $data.lookup[entry.countryCode] ? (openBlock(), createElementBlock("div", _hoisted_6$f, toDisplayString($data.lookup[entry.countryCode].emoji) + " - " + toDisplayString($data.lookup[entry.countryCode].alpha2), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$c, "Loading"))
1619
+ $data.lookup[entry.countryCode] ? (openBlock(), createElementBlock("div", _hoisted_6$f, toDisplayString($data.lookup[entry.countryCode].emoji) + " - " + toDisplayString($data.lookup[entry.countryCode].alpha2), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$d, "Loading"))
1568
1620
  ], 64))
1569
1621
  ]),
1570
1622
  _: 2
@@ -1652,7 +1704,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
1652
1704
  }),
1653
1705
  createVNode(_component_flex_cell, null, {
1654
1706
  default: withCtx(() => [
1655
- createElementVNode("div", _hoisted_12$3, [
1707
+ createElementVNode("div", _hoisted_12$4, [
1656
1708
  withDirectives(createElementVNode("input", {
1657
1709
  class: "ux-field-focus ux-text-input-multiple",
1658
1710
  placeholder: $options.actualPlaceholder,
@@ -1672,12 +1724,12 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
1672
1724
  }))
1673
1725
  ], 64);
1674
1726
  }
1675
- var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-856e04c2"]]);
1727
+ var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-856e04c2"]]);
1676
1728
  var timezone_vue_vue_type_style_index_0_scoped_true_lang = "";
1677
1729
  function isUndefined$5(entry) {
1678
1730
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
1679
1731
  }
1680
- const _sfc_main$J = {
1732
+ const _sfc_main$L = {
1681
1733
  props: {
1682
1734
  modelValue: {}
1683
1735
  },
@@ -2202,19 +2254,19 @@ const _sfc_main$J = {
2202
2254
  }
2203
2255
  }
2204
2256
  };
2205
- const _hoisted_1$B = {
2257
+ const _hoisted_1$D = {
2206
2258
  key: 0,
2207
2259
  class: "ux-field-title"
2208
2260
  };
2209
- const _hoisted_2$u = {
2261
+ const _hoisted_2$x = {
2210
2262
  key: 0,
2211
2263
  class: "ux-required-marker"
2212
2264
  };
2213
- const _hoisted_3$r = {
2265
+ const _hoisted_3$t = {
2214
2266
  key: 1,
2215
2267
  class: "ux-field-description"
2216
2268
  };
2217
- const _hoisted_4$p = {
2269
+ const _hoisted_4$q = {
2218
2270
  key: 2,
2219
2271
  class: "ui-select-button"
2220
2272
  };
@@ -2223,18 +2275,18 @@ const _hoisted_6$e = {
2223
2275
  key: 0,
2224
2276
  value: ""
2225
2277
  };
2226
- const _hoisted_7$b = ["value"];
2227
- function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
2278
+ const _hoisted_7$c = ["value"];
2279
+ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
2228
2280
  const _component_ux_button = resolveComponent("ux-button");
2229
2281
  return openBlock(), createElementBlock("div", {
2230
2282
  class: normalizeClass(["native-select", $options.classes])
2231
2283
  }, [
2232
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
2284
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$D, [
2233
2285
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
2234
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$u, "*")) : createCommentVNode("", true)
2286
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$x, "*")) : createCommentVNode("", true)
2235
2287
  ])) : createCommentVNode("", true),
2236
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$r, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
2237
- _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$p, [
2288
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$t, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
2289
+ _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$q, [
2238
2290
  renderSlot(_ctx.$slots, "default", {}, () => [
2239
2291
  createVNode(_component_ux_button, { tag: "div" }, {
2240
2292
  default: withCtx(() => [
@@ -2253,16 +2305,16 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
2253
2305
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
2254
2306
  return openBlock(), createElementBlock("option", {
2255
2307
  value: option2.value
2256
- }, toDisplayString(option2.title), 9, _hoisted_7$b);
2308
+ }, toDisplayString(option2.title), 9, _hoisted_7$c);
2257
2309
  }), 256))
2258
2310
  ], 40, _hoisted_5$i), [
2259
2311
  [vModelSelect, _ctx.model]
2260
2312
  ])
2261
2313
  ], 2);
2262
2314
  }
2263
- var TimezoneSelect = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-2b83f766"]]);
2315
+ var TimezoneSelect = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-2b83f766"]]);
2264
2316
  var item_vue_vue_type_style_index_0_scoped_true_lang = "";
2265
- const _sfc_main$I = {
2317
+ const _sfc_main$K = {
2266
2318
  props: {
2267
2319
  item: {
2268
2320
  type: Object,
@@ -2280,7 +2332,7 @@ const _sfc_main$I = {
2280
2332
  }
2281
2333
  }
2282
2334
  };
2283
- function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
2335
+ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
2284
2336
  const _component_flex_cell = resolveComponent("flex-cell");
2285
2337
  const _component_flex_row = resolveComponent("flex-row");
2286
2338
  return openBlock(), createElementBlock("div", {
@@ -2309,7 +2361,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
2309
2361
  })
2310
2362
  ]);
2311
2363
  }
2312
- var Item = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-4f7e8052"]]);
2364
+ var Item = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-4f7e8052"]]);
2313
2365
  /**!
2314
2366
  * Sortable 1.14.0
2315
2367
  * @author RubaXa <trash@rubaxa.org>
@@ -4977,7 +5029,7 @@ const draggableComponent = defineComponent({
4977
5029
  }
4978
5030
  });
4979
5031
  var contentSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
4980
- const _sfc_main$H = {
5032
+ const _sfc_main$J = {
4981
5033
  components: {
4982
5034
  Item,
4983
5035
  draggable: draggableComponent
@@ -5080,33 +5132,33 @@ const _sfc_main$H = {
5080
5132
  }
5081
5133
  }
5082
5134
  };
5083
- const _hoisted_1$A = {
5135
+ const _hoisted_1$C = {
5084
5136
  key: 0,
5085
5137
  class: "ux-field-title"
5086
5138
  };
5087
- const _hoisted_2$t = {
5139
+ const _hoisted_2$w = {
5088
5140
  key: 0,
5089
5141
  class: "ux-required-marker"
5090
5142
  };
5091
- const _hoisted_3$q = {
5143
+ const _hoisted_3$s = {
5092
5144
  key: 1,
5093
5145
  class: "ux-field-description"
5094
5146
  };
5095
- const _hoisted_4$o = {
5147
+ const _hoisted_4$p = {
5096
5148
  key: 3,
5097
5149
  class: "items"
5098
5150
  };
5099
- function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
5151
+ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
5100
5152
  const _component_ux_icon = resolveComponent("ux-icon");
5101
5153
  const _component_ux_button = resolveComponent("ux-button");
5102
5154
  const _component_item = resolveComponent("item");
5103
5155
  const _component_draggable = resolveComponent("draggable");
5104
5156
  return openBlock(), createElementBlock(Fragment, null, [
5105
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
5157
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$C, [
5106
5158
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5107
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$t, "*")) : createCommentVNode("", true)
5159
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$w, "*")) : createCommentVNode("", true)
5108
5160
  ])) : createCommentVNode("", true),
5109
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$q, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5161
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$s, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5110
5162
  _ctx.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
5111
5163
  _ctx.model && _ctx.model.length ? (openBlock(), createBlock(_component_draggable, {
5112
5164
  key: 0,
@@ -5145,7 +5197,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
5145
5197
  ]),
5146
5198
  _: 1
5147
5199
  }, 8, ["modelValue"])) : createCommentVNode("", true)
5148
- ], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
5200
+ ], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$p, [
5149
5201
  createVNode(_component_item, { item: _ctx.model }, {
5150
5202
  actions: withCtx(() => [
5151
5203
  $options.canEdit(_ctx.model) ? (openBlock(), createBlock(_component_ux_button, {
@@ -5179,12 +5231,12 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
5179
5231
  }, 8, ["onClick"])
5180
5232
  ], 64);
5181
5233
  }
5182
- var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-858ab1cc"]]);
5234
+ var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-858ab1cc"]]);
5183
5235
  var typeSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
5184
5236
  function isUndefined$4(entry) {
5185
5237
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
5186
5238
  }
5187
- const _sfc_main$G = {
5239
+ const _sfc_main$I = {
5188
5240
  props: {
5189
5241
  title: {
5190
5242
  type: String
@@ -5293,19 +5345,19 @@ const _sfc_main$G = {
5293
5345
  }
5294
5346
  }
5295
5347
  };
5296
- const _hoisted_1$z = {
5348
+ const _hoisted_1$B = {
5297
5349
  key: 0,
5298
5350
  class: "ux-field-title"
5299
5351
  };
5300
- const _hoisted_2$s = {
5352
+ const _hoisted_2$v = {
5301
5353
  key: 0,
5302
5354
  class: "ux-required-marker"
5303
5355
  };
5304
- const _hoisted_3$p = {
5356
+ const _hoisted_3$r = {
5305
5357
  key: 1,
5306
5358
  class: "ux-field-description"
5307
5359
  };
5308
- const _hoisted_4$n = {
5360
+ const _hoisted_4$o = {
5309
5361
  key: 2,
5310
5362
  class: "ui-select-button"
5311
5363
  };
@@ -5314,18 +5366,18 @@ const _hoisted_6$d = {
5314
5366
  key: 0,
5315
5367
  value: ""
5316
5368
  };
5317
- const _hoisted_7$a = ["value"];
5318
- function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
5369
+ const _hoisted_7$b = ["value"];
5370
+ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
5319
5371
  const _component_ux_button = resolveComponent("ux-button");
5320
5372
  return openBlock(), createElementBlock("div", {
5321
5373
  class: normalizeClass(["native-select", $options.classes])
5322
5374
  }, [
5323
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$z, [
5375
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
5324
5376
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5325
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$s, "*")) : createCommentVNode("", true)
5377
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$v, "*")) : createCommentVNode("", true)
5326
5378
  ])) : createCommentVNode("", true),
5327
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$p, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5328
- _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
5379
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$r, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5380
+ _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
5329
5381
  renderSlot(_ctx.$slots, "default", {}, () => [
5330
5382
  createVNode(_component_ux_button, { tag: "div" }, {
5331
5383
  default: withCtx(() => [
@@ -5344,16 +5396,16 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
5344
5396
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
5345
5397
  return openBlock(), createElementBlock("option", {
5346
5398
  value: option2.value
5347
- }, toDisplayString(option2.title), 9, _hoisted_7$a);
5399
+ }, toDisplayString(option2.title), 9, _hoisted_7$b);
5348
5400
  }), 256))
5349
5401
  ], 40, _hoisted_5$h), [
5350
5402
  [vModelSelect, _ctx.model]
5351
5403
  ])
5352
5404
  ], 2);
5353
5405
  }
5354
- var TypeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G], ["__scopeId", "data-v-3c487f67"]]);
5406
+ var TypeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-3c487f67"]]);
5355
5407
  var currency_vue_vue_type_style_index_0_scoped_true_lang = "";
5356
- const _sfc_main$F = {
5408
+ const _sfc_main$H = {
5357
5409
  props: {
5358
5410
  modelValue: {
5359
5411
  type: [String, Array]
@@ -5431,25 +5483,25 @@ const _sfc_main$F = {
5431
5483
  }
5432
5484
  }
5433
5485
  };
5434
- const _hoisted_1$y = {
5486
+ const _hoisted_1$A = {
5435
5487
  key: 0,
5436
5488
  class: "ux-field-title"
5437
5489
  };
5438
- const _hoisted_2$r = {
5490
+ const _hoisted_2$u = {
5439
5491
  key: 0,
5440
5492
  class: "ux-required-marker"
5441
5493
  };
5442
- const _hoisted_3$o = {
5494
+ const _hoisted_3$q = {
5443
5495
  key: 1,
5444
5496
  class: "ux-field-description"
5445
5497
  };
5446
- const _hoisted_4$m = { key: 2 };
5498
+ const _hoisted_4$n = { key: 2 };
5447
5499
  const _hoisted_5$g = {
5448
5500
  key: 0,
5449
5501
  class: "ux-text-prefix"
5450
5502
  };
5451
5503
  const _hoisted_6$c = ["onBlur", "onUpdate:modelValue"];
5452
- const _hoisted_7$9 = {
5504
+ const _hoisted_7$a = {
5453
5505
  key: 1,
5454
5506
  class: "ux-text-suffix"
5455
5507
  };
@@ -5461,18 +5513,18 @@ const _hoisted_9$4 = {
5461
5513
  key: 1,
5462
5514
  class: "ux-text-suffix"
5463
5515
  };
5464
- function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
5516
+ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
5465
5517
  const _component_flex_cell = resolveComponent("flex-cell");
5466
5518
  const _component_ux_icon = resolveComponent("ux-icon");
5467
5519
  const _component_ux_button = resolveComponent("ux-button");
5468
5520
  const _component_flex_row = resolveComponent("flex-row");
5469
5521
  return openBlock(), createElementBlock(Fragment, null, [
5470
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$y, [
5522
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
5471
5523
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5472
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$r, "*")) : createCommentVNode("", true)
5524
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$u, "*")) : createCommentVNode("", true)
5473
5525
  ])) : createCommentVNode("", true),
5474
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$o, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5475
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
5526
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$q, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5527
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
5476
5528
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
5477
5529
  return openBlock(), createBlock(_component_flex_row, {
5478
5530
  class: "ux-text-row",
@@ -5503,7 +5555,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
5503
5555
  { lazy: true }
5504
5556
  ]
5505
5557
  ]),
5506
- $options.suffix ? (openBlock(), createElementBlock("span", _hoisted_7$9, toDisplayString($options.suffix), 1)) : createCommentVNode("", true)
5558
+ $options.suffix ? (openBlock(), createElementBlock("span", _hoisted_7$a, toDisplayString($options.suffix), 1)) : createCommentVNode("", true)
5507
5559
  ], 2)
5508
5560
  ]),
5509
5561
  _: 2
@@ -5569,9 +5621,9 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
5569
5621
  ], 2))
5570
5622
  ], 64);
5571
5623
  }
5572
- var CurrencyField = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$F], ["__scopeId", "data-v-5afb1a86"]]);
5624
+ var CurrencyField = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-5afb1a86"]]);
5573
5625
  var textfield_vue_vue_type_style_index_0_scoped_true_lang = "";
5574
- const _sfc_main$E = {
5626
+ const _sfc_main$G = {
5575
5627
  props: {
5576
5628
  modelValue: {
5577
5629
  type: [String, Array]
@@ -5634,25 +5686,25 @@ const _sfc_main$E = {
5634
5686
  }
5635
5687
  }
5636
5688
  };
5637
- const _hoisted_1$x = {
5689
+ const _hoisted_1$z = {
5638
5690
  key: 0,
5639
5691
  class: "ux-field-title"
5640
5692
  };
5641
- const _hoisted_2$q = {
5693
+ const _hoisted_2$t = {
5642
5694
  key: 0,
5643
5695
  class: "ux-required-marker"
5644
5696
  };
5645
- const _hoisted_3$n = {
5697
+ const _hoisted_3$p = {
5646
5698
  key: 1,
5647
5699
  class: "ux-field-description"
5648
5700
  };
5649
- const _hoisted_4$l = { key: 2 };
5701
+ const _hoisted_4$m = { key: 2 };
5650
5702
  const _hoisted_5$f = { class: "ux-text-wrap" };
5651
5703
  const _hoisted_6$b = {
5652
5704
  key: 0,
5653
5705
  class: "ux-text-prefix"
5654
5706
  };
5655
- const _hoisted_7$8 = ["type", "placeholder", "onUpdate:modelValue"];
5707
+ const _hoisted_7$9 = ["type", "placeholder", "onUpdate:modelValue"];
5656
5708
  const _hoisted_8$5 = ["type", "placeholder", "onUpdate:modelValue"];
5657
5709
  const _hoisted_9$3 = {
5658
5710
  key: 3,
@@ -5666,24 +5718,24 @@ const _hoisted_11$3 = {
5666
5718
  key: 0,
5667
5719
  class: "ux-text-prefix"
5668
5720
  };
5669
- const _hoisted_12$2 = ["type", "placeholder"];
5721
+ const _hoisted_12$3 = ["type", "placeholder"];
5670
5722
  const _hoisted_13$2 = ["type", "placeholder"];
5671
5723
  const _hoisted_14$2 = {
5672
5724
  key: 3,
5673
5725
  class: "ux-text-suffix"
5674
5726
  };
5675
- function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
5727
+ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
5676
5728
  const _component_flex_cell = resolveComponent("flex-cell");
5677
5729
  const _component_ux_icon = resolveComponent("ux-icon");
5678
5730
  const _component_ux_button = resolveComponent("ux-button");
5679
5731
  const _component_flex_row = resolveComponent("flex-row");
5680
5732
  return openBlock(), createElementBlock(Fragment, null, [
5681
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$x, [
5733
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$z, [
5682
5734
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5683
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$q, "*")) : createCommentVNode("", true)
5735
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$t, "*")) : createCommentVNode("", true)
5684
5736
  ])) : createCommentVNode("", true),
5685
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$n, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5686
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$l, [
5737
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$p, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5738
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
5687
5739
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
5688
5740
  return openBlock(), createBlock(_component_flex_row, {
5689
5741
  class: "ux-text-row",
@@ -5704,7 +5756,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
5704
5756
  ref: "input",
5705
5757
  onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
5706
5758
  "onUpdate:modelValue": ($event) => _ctx.model[index2] = $event
5707
- }, null, 40, _hoisted_7$8)), [
5759
+ }, null, 40, _hoisted_7$9)), [
5708
5760
  [
5709
5761
  vModelDynamic,
5710
5762
  _ctx.model[index2],
@@ -5776,7 +5828,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
5776
5828
  placeholder: $options.actualPlaceholder,
5777
5829
  onFocus: _cache[5] || (_cache[5] = (...args) => _ctx.touch && _ctx.touch(...args)),
5778
5830
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => _ctx.model = $event)
5779
- }, null, 40, _hoisted_12$2)), [
5831
+ }, null, 40, _hoisted_12$3)), [
5780
5832
  [
5781
5833
  vModelDynamic,
5782
5834
  _ctx.model,
@@ -5799,9 +5851,9 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
5799
5851
  ]))
5800
5852
  ], 64);
5801
5853
  }
5802
- var TextField = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-8f2cb452"]]);
5854
+ var TextField = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G], ["__scopeId", "data-v-8f2cb452"]]);
5803
5855
  var textarea_vue_vue_type_style_index_0_scoped_true_lang = "";
5804
- const _sfc_main$D = {
5856
+ const _sfc_main$F = {
5805
5857
  props: {
5806
5858
  modelValue: {
5807
5859
  type: [String, Array]
@@ -5814,32 +5866,32 @@ const _sfc_main$D = {
5814
5866
  }
5815
5867
  }
5816
5868
  };
5817
- const _hoisted_1$w = {
5869
+ const _hoisted_1$y = {
5818
5870
  key: 0,
5819
5871
  class: "ux-field-title"
5820
5872
  };
5821
- const _hoisted_2$p = {
5873
+ const _hoisted_2$s = {
5822
5874
  key: 0,
5823
5875
  class: "ux-required-marker"
5824
5876
  };
5825
- const _hoisted_3$m = {
5877
+ const _hoisted_3$o = {
5826
5878
  key: 1,
5827
5879
  class: "ux-field-description"
5828
5880
  };
5829
- const _hoisted_4$k = { key: 2 };
5881
+ const _hoisted_4$l = { key: 2 };
5830
5882
  const _hoisted_5$e = ["onUpdate:modelValue"];
5831
- function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
5883
+ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
5832
5884
  const _component_flex_cell = resolveComponent("flex-cell");
5833
5885
  const _component_ux_icon = resolveComponent("ux-icon");
5834
5886
  const _component_ux_button = resolveComponent("ux-button");
5835
5887
  const _component_flex_row = resolveComponent("flex-row");
5836
5888
  return openBlock(), createElementBlock(Fragment, null, [
5837
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$w, [
5889
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$y, [
5838
5890
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5839
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$p, "*")) : createCommentVNode("", true)
5891
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$s, "*")) : createCommentVNode("", true)
5840
5892
  ])) : createCommentVNode("", true),
5841
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$m, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5842
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$k, [
5893
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$o, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5894
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$l, [
5843
5895
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
5844
5896
  return openBlock(), createBlock(_component_flex_row, {
5845
5897
  class: "ux-text-row",
@@ -5905,7 +5957,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
5905
5957
  ])
5906
5958
  ], 64);
5907
5959
  }
5908
- var TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-72eafde6"]]);
5960
+ var TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$F], ["__scopeId", "data-v-72eafde6"]]);
5909
5961
  var datefield_vue_vue_type_style_index_0_scoped_true_lang = "";
5910
5962
  function zero(input) {
5911
5963
  if (String(input).length < 2) {
@@ -5913,7 +5965,7 @@ function zero(input) {
5913
5965
  }
5914
5966
  return input;
5915
5967
  }
5916
- const _sfc_main$C = {
5968
+ const _sfc_main$E = {
5917
5969
  props: {
5918
5970
  modelValue: {
5919
5971
  type: [Date, String, Array]
@@ -5962,32 +6014,32 @@ const _sfc_main$C = {
5962
6014
  }
5963
6015
  }
5964
6016
  };
5965
- const _hoisted_1$v = {
6017
+ const _hoisted_1$x = {
5966
6018
  key: 0,
5967
6019
  class: "ux-field-title"
5968
6020
  };
5969
- const _hoisted_2$o = {
6021
+ const _hoisted_2$r = {
5970
6022
  key: 0,
5971
6023
  class: "ux-required-marker"
5972
6024
  };
5973
- const _hoisted_3$l = {
6025
+ const _hoisted_3$n = {
5974
6026
  key: 1,
5975
6027
  class: "ux-field-description"
5976
6028
  };
5977
- const _hoisted_4$j = { key: 2 };
6029
+ const _hoisted_4$k = { key: 2 };
5978
6030
  const _hoisted_5$d = ["onUpdate:modelValue"];
5979
- function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
6031
+ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
5980
6032
  const _component_flex_cell = resolveComponent("flex-cell");
5981
6033
  const _component_ux_icon = resolveComponent("ux-icon");
5982
6034
  const _component_ux_button = resolveComponent("ux-button");
5983
6035
  const _component_flex_row = resolveComponent("flex-row");
5984
6036
  return openBlock(), createElementBlock(Fragment, null, [
5985
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$v, [
6037
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$x, [
5986
6038
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5987
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$o, "*")) : createCommentVNode("", true)
6039
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$r, "*")) : createCommentVNode("", true)
5988
6040
  ])) : createCommentVNode("", true),
5989
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$l, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5990
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$j, [
6041
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$n, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
6042
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$k, [
5991
6043
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
5992
6044
  return openBlock(), createBlock(_component_flex_row, {
5993
6045
  class: "ux-text-row",
@@ -6053,9 +6105,9 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
6053
6105
  ])
6054
6106
  ], 64);
6055
6107
  }
6056
- var DateField = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-578af064"]]);
6108
+ var DateField = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-578af064"]]);
6057
6109
  var checkbox_vue_vue_type_style_index_0_scoped_true_lang = "";
6058
- const _sfc_main$B = {
6110
+ const _sfc_main$D = {
6059
6111
  computed: {
6060
6112
  NativeCheckbox: UXCheckbox
6061
6113
  },
@@ -6097,19 +6149,19 @@ const _sfc_main$B = {
6097
6149
  }
6098
6150
  }
6099
6151
  };
6100
- const _hoisted_1$u = {
6152
+ const _hoisted_1$w = {
6101
6153
  key: 0,
6102
6154
  class: "ux-field-title"
6103
6155
  };
6104
- const _hoisted_2$n = {
6156
+ const _hoisted_2$q = {
6105
6157
  key: 0,
6106
6158
  class: "ux-required-marker"
6107
6159
  };
6108
- const _hoisted_3$k = {
6160
+ const _hoisted_3$m = {
6109
6161
  key: 1,
6110
6162
  class: "ux-field-description"
6111
6163
  };
6112
- function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
6164
+ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
6113
6165
  const _component_ux_checkbox = resolveComponent("ux-checkbox");
6114
6166
  const _component_flex_cell = resolveComponent("flex-cell");
6115
6167
  const _component_flex_row = resolveComponent("flex-row");
@@ -6133,11 +6185,11 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
6133
6185
  createVNode(_component_flex_cell, { vcenter: "" }, {
6134
6186
  default: withCtx(() => [
6135
6187
  createElementVNode("div", null, [
6136
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$u, [
6188
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$w, [
6137
6189
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
6138
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$n, "*")) : createCommentVNode("", true)
6190
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$q, "*")) : createCommentVNode("", true)
6139
6191
  ])) : createCommentVNode("", true),
6140
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$k, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
6192
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$m, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
6141
6193
  ])
6142
6194
  ]),
6143
6195
  _: 1
@@ -6146,8 +6198,8 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
6146
6198
  _: 1
6147
6199
  });
6148
6200
  }
6149
- var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B], ["__scopeId", "data-v-a346dafc"]]);
6150
- const _sfc_main$A = {
6201
+ var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-a346dafc"]]);
6202
+ const _sfc_main$C = {
6151
6203
  props: {
6152
6204
  modelValue: {
6153
6205
  type: [String, Array]
@@ -6160,86 +6212,67 @@ const _sfc_main$A = {
6160
6212
  }
6161
6213
  }
6162
6214
  };
6163
- const _hoisted_1$t = {
6164
- key: 0,
6165
- class: "ux-field-title"
6166
- };
6167
- const _hoisted_2$m = {
6168
- key: 0,
6169
- class: "ux-required-marker"
6170
- };
6171
- const _hoisted_3$j = {
6172
- key: 1,
6173
- class: "ux-field-description"
6174
- };
6175
- const _hoisted_4$i = { key: 2 };
6176
- const _hoisted_5$c = ["innerHTML"];
6177
- const _hoisted_6$a = ["innerHTML"];
6178
- function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
6215
+ const _hoisted_1$v = { key: 0 };
6216
+ const _hoisted_2$p = ["innerHTML"];
6217
+ const _hoisted_3$l = ["innerHTML"];
6218
+ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
6179
6219
  const _component_flex_cell = resolveComponent("flex-cell");
6180
6220
  const _component_ux_icon = resolveComponent("ux-icon");
6181
6221
  const _component_ux_button = resolveComponent("ux-button");
6182
6222
  const _component_flex_row = resolveComponent("flex-row");
6183
- return openBlock(), createElementBlock(Fragment, null, [
6184
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$t, [
6185
- createTextVNode(toDisplayString(_ctx.label) + " ", 1),
6186
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$m, "*")) : createCommentVNode("", true)
6187
- ])) : createCommentVNode("", true),
6188
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$j, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
6189
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$i, [
6190
- createVNode(_component_flex_row, { class: "ux-text-row" }, {
6191
- default: withCtx(() => [
6192
- createVNode(_component_flex_cell, null, {
6193
- default: withCtx(() => [
6194
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
6195
- return openBlock(), createElementBlock("div", {
6196
- innerHTML: _ctx.field.template,
6197
- key: index2
6198
- }, null, 8, _hoisted_5$c);
6199
- }), 128))
6200
- ]),
6201
- _: 1
6202
- }),
6203
- createVNode(_component_flex_cell, {
6204
- shrink: "",
6205
- vcenter: ""
6206
- }, {
6207
- default: withCtx(() => [
6208
- _ctx.canRemoveValue ? (openBlock(), createBlock(_component_ux_button, {
6209
- key: 0,
6210
- tag: "a",
6211
- icon: "",
6212
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.remove(_ctx.entry))
6213
- }, {
6214
- default: withCtx(() => [
6215
- createVNode(_component_ux_icon, { icon: "fa-times" })
6216
- ]),
6217
- _: 1
6218
- })) : createCommentVNode("", true)
6219
- ]),
6220
- _: 1
6221
- })
6222
- ]),
6223
- _: 1
6224
- }),
6225
- _ctx.canAddValue ? (openBlock(), createBlock(_component_ux_button, {
6226
- key: 0,
6227
- onClick: _cache[1] || (_cache[1] = ($event) => _ctx.add())
6228
- }, {
6229
- default: withCtx(() => [
6230
- createTextVNode(toDisplayString(_ctx.addLabel), 1)
6231
- ]),
6232
- _: 1
6233
- })) : createCommentVNode("", true)
6234
- ])) : (openBlock(), createElementBlock("div", {
6235
- key: 3,
6236
- innerHTML: _ctx.field.template
6237
- }, null, 8, _hoisted_6$a))
6238
- ], 64);
6223
+ return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
6224
+ createVNode(_component_flex_row, { class: "ux-text-row" }, {
6225
+ default: withCtx(() => [
6226
+ createVNode(_component_flex_cell, null, {
6227
+ default: withCtx(() => [
6228
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
6229
+ return openBlock(), createElementBlock("div", {
6230
+ innerHTML: _ctx.field.template,
6231
+ key: index2
6232
+ }, null, 8, _hoisted_2$p);
6233
+ }), 128))
6234
+ ]),
6235
+ _: 1
6236
+ }),
6237
+ createVNode(_component_flex_cell, {
6238
+ shrink: "",
6239
+ vcenter: ""
6240
+ }, {
6241
+ default: withCtx(() => [
6242
+ _ctx.canRemoveValue ? (openBlock(), createBlock(_component_ux_button, {
6243
+ key: 0,
6244
+ tag: "a",
6245
+ icon: "",
6246
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.remove(_ctx.entry))
6247
+ }, {
6248
+ default: withCtx(() => [
6249
+ createVNode(_component_ux_icon, { icon: "fa-times" })
6250
+ ]),
6251
+ _: 1
6252
+ })) : createCommentVNode("", true)
6253
+ ]),
6254
+ _: 1
6255
+ })
6256
+ ]),
6257
+ _: 1
6258
+ }),
6259
+ _ctx.canAddValue ? (openBlock(), createBlock(_component_ux_button, {
6260
+ key: 0,
6261
+ onClick: _cache[1] || (_cache[1] = ($event) => _ctx.add())
6262
+ }, {
6263
+ default: withCtx(() => [
6264
+ createTextVNode(toDisplayString(_ctx.addLabel), 1)
6265
+ ]),
6266
+ _: 1
6267
+ })) : createCommentVNode("", true)
6268
+ ])) : (openBlock(), createElementBlock("div", {
6269
+ key: 1,
6270
+ innerHTML: _ctx.field.template
6271
+ }, null, 8, _hoisted_3$l));
6239
6272
  }
6240
- var CustomHTML = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A]]);
6273
+ var CustomHTML = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C]]);
6241
6274
  var FilterCondition_vue_vue_type_style_index_0_lang = "";
6242
- const _sfc_main$z = {
6275
+ const _sfc_main$B = {
6243
6276
  props: {
6244
6277
  fields: {
6245
6278
  type: Array,
@@ -6500,24 +6533,24 @@ const _sfc_main$z = {
6500
6533
  NativeSelect
6501
6534
  }
6502
6535
  };
6503
- const _hoisted_1$s = {
6536
+ const _hoisted_1$u = {
6504
6537
  key: 0,
6505
6538
  class: "filter-condition"
6506
6539
  };
6507
- const _hoisted_2$l = { key: 0 };
6508
- const _hoisted_3$i = { key: 1 };
6509
- const _hoisted_4$h = /* @__PURE__ */ createTextVNode(" And ");
6510
- const _hoisted_5$b = { key: 2 };
6511
- const _hoisted_6$9 = { key: 3 };
6512
- const _hoisted_7$7 = /* @__PURE__ */ createTextVNode(" And ");
6540
+ const _hoisted_2$o = { key: 0 };
6541
+ const _hoisted_3$k = { key: 1 };
6542
+ const _hoisted_4$j = /* @__PURE__ */ createTextVNode(" And ");
6543
+ const _hoisted_5$c = { key: 2 };
6544
+ const _hoisted_6$a = { key: 3 };
6545
+ const _hoisted_7$8 = /* @__PURE__ */ createTextVNode(" And ");
6513
6546
  const _hoisted_8$4 = { key: 4 };
6514
6547
  const _hoisted_9$2 = { key: 5 };
6515
6548
  const _hoisted_10$2 = { key: 6 };
6516
6549
  const _hoisted_11$2 = { key: 7 };
6517
- const _hoisted_12$1 = { key: 8 };
6550
+ const _hoisted_12$2 = { key: 8 };
6518
6551
  const _hoisted_13$1 = { key: 9 };
6519
6552
  const _hoisted_14$1 = { key: 10 };
6520
- function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
6553
+ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
6521
6554
  const _component_native_select = resolveComponent("native-select");
6522
6555
  const _component_flex_cell = resolveComponent("flex-cell");
6523
6556
  const _component_text_field = resolveComponent("text-field");
@@ -6526,7 +6559,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
6526
6559
  const _component_content_select = resolveComponent("content-select");
6527
6560
  const _component_ux_icon = resolveComponent("ux-icon");
6528
6561
  const _component_ux_button = resolveComponent("ux-button");
6529
- return $data.comparators ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
6562
+ return $data.comparators ? (openBlock(), createElementBlock("div", _hoisted_1$u, [
6530
6563
  createVNode(_component_flex_row, null, {
6531
6564
  default: withCtx(() => [
6532
6565
  createVNode(_component_flex_cell, null, {
@@ -6553,7 +6586,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
6553
6586
  })) : createCommentVNode("", true),
6554
6587
  $data.model.comparator ? (openBlock(), createBlock(_component_flex_cell, { key: 1 }, {
6555
6588
  default: withCtx(() => [
6556
- $options.inputType == "array" ? (openBlock(), createElementBlock("div", _hoisted_2$l, [
6589
+ $options.inputType == "array" ? (openBlock(), createElementBlock("div", _hoisted_2$o, [
6557
6590
  $options.hasOptions ? (openBlock(), createBlock(_component_native_select, {
6558
6591
  key: 0,
6559
6592
  modelValue: $data.model.values,
@@ -6566,20 +6599,20 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
6566
6599
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.model.values = $event)
6567
6600
  }, null, 8, ["field", "modelValue"]))
6568
6601
  ])) : createCommentVNode("", true),
6569
- $options.inputType == "range" ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
6602
+ $options.inputType == "range" ? (openBlock(), createElementBlock("div", _hoisted_3$k, [
6570
6603
  createVNode(_component_text_field, {
6571
6604
  field: $options.normalField,
6572
6605
  modelValue: $data.model.value,
6573
6606
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.model.value = $event)
6574
6607
  }, null, 8, ["field", "modelValue"]),
6575
- _hoisted_4$h,
6608
+ _hoisted_4$j,
6576
6609
  createVNode(_component_text_field, {
6577
6610
  field: $options.normalField,
6578
6611
  modelValue: $data.model.value2,
6579
6612
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.model.value2 = $event)
6580
6613
  }, null, 8, ["field", "modelValue"])
6581
6614
  ])) : createCommentVNode("", true),
6582
- $options.inputType == "daterelative" ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
6615
+ $options.inputType == "daterelative" ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
6583
6616
  createVNode(_component_flex_row, null, {
6584
6617
  default: withCtx(() => [
6585
6618
  createVNode(_component_flex_cell, { style: { "width": "80px" } }, {
@@ -6606,13 +6639,13 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
6606
6639
  _: 1
6607
6640
  })
6608
6641
  ])) : createCommentVNode("", true),
6609
- $options.inputType == "daterange" ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
6642
+ $options.inputType == "daterange" ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
6610
6643
  createVNode(_component_date_field, {
6611
6644
  field: $options.dateField,
6612
6645
  modelValue: $data.model.value,
6613
6646
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $data.model.value = $event)
6614
6647
  }, null, 8, ["field", "modelValue"]),
6615
- _hoisted_7$7,
6648
+ _hoisted_7$8,
6616
6649
  createVNode(_component_date_field, {
6617
6650
  field: $options.dateField,
6618
6651
  modelValue: $data.model.value2,
@@ -6648,7 +6681,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
6648
6681
  [vModelCheckbox, $data.model.value]
6649
6682
  ])
6650
6683
  ])) : createCommentVNode("", true),
6651
- $options.inputType == "none" ? (openBlock(), createElementBlock("div", _hoisted_12$1)) : createCommentVNode("", true),
6684
+ $options.inputType == "none" ? (openBlock(), createElementBlock("div", _hoisted_12$2)) : createCommentVNode("", true),
6652
6685
  $options.inputType == "number" ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
6653
6686
  createVNode(_component_text_field, {
6654
6687
  field: $options.normalField,
@@ -6695,8 +6728,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
6695
6728
  })
6696
6729
  ])) : createCommentVNode("", true);
6697
6730
  }
6698
- var FilterCondition = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z]]);
6699
- var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
6731
+ var FilterCondition = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B]]);
6700
6732
  function isObject$4(value) {
6701
6733
  var type = typeof value;
6702
6734
  return value != null && (type == "object" || type == "function");
@@ -6890,7 +6922,7 @@ function debounce(func, wait, options) {
6890
6922
  }
6891
6923
  var debounce_1 = debounce;
6892
6924
  var FilterRule_vue_vue_type_style_index_0_lang = "";
6893
- const _sfc_main$y = {
6925
+ const _sfc_main$A = {
6894
6926
  props: {
6895
6927
  enableRemove: {
6896
6928
  type: Boolean
@@ -7000,29 +7032,29 @@ const _sfc_main$y = {
7000
7032
  NativeSelect
7001
7033
  }
7002
7034
  };
7003
- const _hoisted_1$r = { class: "filter-rule" };
7004
- const _hoisted_2$k = { class: "top" };
7005
- const _hoisted_3$h = { class: "summary" };
7006
- const _hoisted_4$g = /* @__PURE__ */ createTextVNode(" Match ");
7007
- const _hoisted_5$a = /* @__PURE__ */ createTextVNode(" of the following conditions ");
7008
- const _hoisted_6$8 = /* @__PURE__ */ createElementVNode("span", { class: "line" }, null, -1);
7009
- const _hoisted_7$6 = { class: "operator" };
7035
+ const _hoisted_1$t = { class: "filter-rule" };
7036
+ const _hoisted_2$n = { class: "top" };
7037
+ const _hoisted_3$j = { class: "summary" };
7038
+ const _hoisted_4$i = /* @__PURE__ */ createTextVNode(" Match ");
7039
+ const _hoisted_5$b = /* @__PURE__ */ createTextVNode(" of the following conditions ");
7040
+ const _hoisted_6$9 = /* @__PURE__ */ createElementVNode("span", { class: "line" }, null, -1);
7041
+ const _hoisted_7$7 = { class: "operator" };
7010
7042
  const _hoisted_8$3 = /* @__PURE__ */ createTextVNode("Add Condition");
7011
- function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
7043
+ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
7012
7044
  const _component_native_select = resolveComponent("native-select");
7013
7045
  const _component_flex_cell = resolveComponent("flex-cell");
7014
7046
  const _component_ux_icon = resolveComponent("ux-icon");
7015
7047
  const _component_ux_button = resolveComponent("ux-button");
7016
7048
  const _component_flex_row = resolveComponent("flex-row");
7017
7049
  const _component_filter_condition = resolveComponent("filter-condition");
7018
- return openBlock(), createElementBlock("div", _hoisted_1$r, [
7019
- createElementVNode("div", _hoisted_2$k, [
7050
+ return openBlock(), createElementBlock("div", _hoisted_1$t, [
7051
+ createElementVNode("div", _hoisted_2$n, [
7020
7052
  createVNode(_component_flex_row, null, {
7021
7053
  default: withCtx(() => [
7022
7054
  createVNode(_component_flex_cell, null, {
7023
7055
  default: withCtx(() => [
7024
- createElementVNode("div", _hoisted_3$h, [
7025
- _hoisted_4$g,
7056
+ createElementVNode("div", _hoisted_3$j, [
7057
+ _hoisted_4$i,
7026
7058
  createVNode(_component_native_select, {
7027
7059
  modelValue: $data.model.operator,
7028
7060
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
@@ -7033,7 +7065,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
7033
7065
  ]),
7034
7066
  _: 1
7035
7067
  }, 8, ["modelValue", "field"]),
7036
- _hoisted_5$a
7068
+ _hoisted_5$b
7037
7069
  ])
7038
7070
  ]),
7039
7071
  _: 1
@@ -7072,8 +7104,8 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
7072
7104
  shrink: ""
7073
7105
  }, {
7074
7106
  default: withCtx(() => [
7075
- _hoisted_6$8,
7076
- createElementVNode("div", _hoisted_7$6, toDisplayString($data.model.operator), 1)
7107
+ _hoisted_6$9,
7108
+ createElementVNode("div", _hoisted_7$7, toDisplayString($data.model.operator), 1)
7077
7109
  ]),
7078
7110
  _: 2
7079
7111
  }, 1032, ["class"])) : createCommentVNode("", true),
@@ -7101,9 +7133,9 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
7101
7133
  }, 8, ["onClick"])
7102
7134
  ]);
7103
7135
  }
7104
- var FilterRule = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y]]);
7136
+ var FilterRule = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A]]);
7105
7137
  var FilterBuilder_vue_vue_type_style_index_0_scoped_true_lang = "";
7106
- const _sfc_main$x = {
7138
+ const _sfc_main$z = {
7107
7139
  components: {
7108
7140
  FilterRule,
7109
7141
  NativeSelect
@@ -7204,16 +7236,16 @@ const _sfc_main$x = {
7204
7236
  };
7205
7237
  }
7206
7238
  };
7207
- const _hoisted_1$q = { class: "filters" };
7208
- const _hoisted_2$j = {
7239
+ const _hoisted_1$s = { class: "filters" };
7240
+ const _hoisted_2$m = {
7209
7241
  key: 0,
7210
7242
  class: "top"
7211
7243
  };
7212
- const _hoisted_3$g = { class: "summary" };
7213
- const _hoisted_4$f = /* @__PURE__ */ createTextVNode(" Match ");
7214
- const _hoisted_5$9 = /* @__PURE__ */ createTextVNode(" of the following rules ");
7215
- const _hoisted_6$7 = /* @__PURE__ */ createTextVNode("Add Filter Rule");
7216
- function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
7244
+ const _hoisted_3$i = { class: "summary" };
7245
+ const _hoisted_4$h = /* @__PURE__ */ createTextVNode(" Match ");
7246
+ const _hoisted_5$a = /* @__PURE__ */ createTextVNode(" of the following rules ");
7247
+ const _hoisted_6$8 = /* @__PURE__ */ createTextVNode("Add Filter Rule");
7248
+ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
7217
7249
  const _component_native_select = resolveComponent("native-select");
7218
7250
  const _component_filter_rule = resolveComponent("filter-rule");
7219
7251
  const _component_ux_button = resolveComponent("ux-button");
@@ -7223,10 +7255,10 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
7223
7255
  default: withCtx(() => [
7224
7256
  createVNode(_component_flex_body, null, {
7225
7257
  default: withCtx(() => [
7226
- createElementVNode("div", _hoisted_1$q, [
7227
- $data.model && $data.model.filters && $data.model.filters.length ? (openBlock(), createElementBlock("div", _hoisted_2$j, [
7228
- createElementVNode("div", _hoisted_3$g, [
7229
- _hoisted_4$f,
7258
+ createElementVNode("div", _hoisted_1$s, [
7259
+ $data.model && $data.model.filters && $data.model.filters.length ? (openBlock(), createElementBlock("div", _hoisted_2$m, [
7260
+ createElementVNode("div", _hoisted_3$i, [
7261
+ _hoisted_4$h,
7230
7262
  createVNode(_component_native_select, {
7231
7263
  modelValue: $data.model.operator,
7232
7264
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
@@ -7237,7 +7269,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
7237
7269
  ]),
7238
7270
  _: 1
7239
7271
  }, 8, ["modelValue", "field"]),
7240
- _hoisted_5$9
7272
+ _hoisted_5$a
7241
7273
  ])
7242
7274
  ])) : createCommentVNode("", true),
7243
7275
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.model.filters, (rule, index2) => {
@@ -7255,7 +7287,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
7255
7287
  onClick: _cache[1] || (_cache[1] = ($event) => $options.addRule())
7256
7288
  }, {
7257
7289
  default: withCtx(() => [
7258
- _hoisted_6$7
7290
+ _hoisted_6$8
7259
7291
  ]),
7260
7292
  _: 1
7261
7293
  })
@@ -7267,9 +7299,9 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
7267
7299
  _: 1
7268
7300
  });
7269
7301
  }
7270
- var FilterBuilder = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$x], ["__scopeId", "data-v-30449bfc"]]);
7302
+ var FilterBuilder = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z], ["__scopeId", "data-v-30449bfc"]]);
7271
7303
  var filter_vue_vue_type_style_index_0_scoped_true_lang = "";
7272
- const _sfc_main$w = {
7304
+ const _sfc_main$y = {
7273
7305
  mixins: [InputMixin],
7274
7306
  components: {
7275
7307
  FilterBuilder
@@ -7311,32 +7343,32 @@ const _sfc_main$w = {
7311
7343
  }
7312
7344
  }
7313
7345
  };
7314
- const _hoisted_1$p = {
7346
+ const _hoisted_1$r = {
7315
7347
  key: 0,
7316
7348
  class: "ux-field-title"
7317
7349
  };
7318
- const _hoisted_2$i = {
7350
+ const _hoisted_2$l = {
7319
7351
  key: 0,
7320
7352
  class: "ux-required-marker"
7321
7353
  };
7322
- const _hoisted_3$f = {
7354
+ const _hoisted_3$h = {
7323
7355
  key: 1,
7324
7356
  class: "ux-field-description"
7325
7357
  };
7326
- const _hoisted_4$e = { key: 2 };
7327
- function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
7358
+ const _hoisted_4$g = { key: 2 };
7359
+ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
7328
7360
  const _component_filter_builder = resolveComponent("filter-builder");
7329
7361
  const _component_flex_cell = resolveComponent("flex-cell");
7330
7362
  const _component_ux_icon = resolveComponent("ux-icon");
7331
7363
  const _component_ux_button = resolveComponent("ux-button");
7332
7364
  const _component_flex_row = resolveComponent("flex-row");
7333
7365
  return openBlock(), createElementBlock(Fragment, null, [
7334
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$p, [
7366
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$r, [
7335
7367
  createTextVNode(toDisplayString(_ctx.label) + " (" + toDisplayString($options.definitionTitle) + ") ", 1),
7336
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$i, "*")) : createCommentVNode("", true)
7368
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$l, "*")) : createCommentVNode("", true)
7337
7369
  ])) : createCommentVNode("", true),
7338
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$f, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
7339
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$e, [
7370
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$h, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
7371
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$g, [
7340
7372
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
7341
7373
  return openBlock(), createBlock(_component_flex_row, {
7342
7374
  class: "ux-text-row",
@@ -7393,9 +7425,9 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
7393
7425
  }, null, 8, ["definition", "modelValue"]))
7394
7426
  ], 64);
7395
7427
  }
7396
- var FilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$w], ["__scopeId", "data-v-5a049062"]]);
7428
+ var FilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y], ["__scopeId", "data-v-5a049062"]]);
7397
7429
  var switch_vue_vue_type_style_index_0_scoped_true_lang = "";
7398
- const _sfc_main$v = {
7430
+ const _sfc_main$x = {
7399
7431
  mixins: [InputMixin],
7400
7432
  props: {
7401
7433
  modelValue: {
@@ -7434,19 +7466,19 @@ const _sfc_main$v = {
7434
7466
  }
7435
7467
  }
7436
7468
  };
7437
- const _hoisted_1$o = {
7469
+ const _hoisted_1$q = {
7438
7470
  key: 0,
7439
7471
  class: "ux-field-title"
7440
7472
  };
7441
- const _hoisted_2$h = {
7473
+ const _hoisted_2$k = {
7442
7474
  key: 0,
7443
7475
  class: "ux-required-marker"
7444
7476
  };
7445
- const _hoisted_3$e = {
7477
+ const _hoisted_3$g = {
7446
7478
  key: 1,
7447
7479
  class: "ux-field-description"
7448
7480
  };
7449
- function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
7481
+ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
7450
7482
  const _component_ux_switch = resolveComponent("ux-switch");
7451
7483
  const _component_flex_cell = resolveComponent("flex-cell");
7452
7484
  const _component_flex_row = resolveComponent("flex-row");
@@ -7470,11 +7502,11 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
7470
7502
  createVNode(_component_flex_cell, { vcenter: "" }, {
7471
7503
  default: withCtx(() => [
7472
7504
  createElementVNode("div", null, [
7473
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$o, [
7505
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$q, [
7474
7506
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
7475
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$h, "*")) : createCommentVNode("", true)
7507
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$k, "*")) : createCommentVNode("", true)
7476
7508
  ])) : createCommentVNode("", true),
7477
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$e, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
7509
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$g, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
7478
7510
  ])
7479
7511
  ]),
7480
7512
  _: 1
@@ -7483,9 +7515,9 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
7483
7515
  _: 1
7484
7516
  });
7485
7517
  }
7486
- var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$v], ["__scopeId", "data-v-7ee9d4cd"]]);
7518
+ var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$x], ["__scopeId", "data-v-7ee9d4cd"]]);
7487
7519
  var filedrop_vue_vue_type_style_index_0_scoped_true_lang = "";
7488
- const _sfc_main$u = {
7520
+ const _sfc_main$w = {
7489
7521
  props: {
7490
7522
  multiple: {
7491
7523
  type: Boolean
@@ -7519,9 +7551,9 @@ const _sfc_main$u = {
7519
7551
  }
7520
7552
  }
7521
7553
  };
7522
- const _hoisted_1$n = ["multiple"];
7523
- const _hoisted_2$g = /* @__PURE__ */ createTextVNode("Select Files");
7524
- function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
7554
+ const _hoisted_1$p = ["multiple"];
7555
+ const _hoisted_2$j = /* @__PURE__ */ createTextVNode("Select Files");
7556
+ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
7525
7557
  const _component_ux_button = resolveComponent("ux-button");
7526
7558
  return openBlock(), createElementBlock("label", {
7527
7559
  class: "file-drop",
@@ -7533,7 +7565,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
7533
7565
  type: "file",
7534
7566
  multiple: $props.multiple,
7535
7567
  onChange: _cache[0] || (_cache[0] = ($event) => $options.filesSelected($event.target.files))
7536
- }, null, 40, _hoisted_1$n),
7568
+ }, null, 40, _hoisted_1$p),
7537
7569
  createElementVNode("div", {
7538
7570
  class: "file-drop-ux",
7539
7571
  onClick: _cache[1] || (_cache[1] = (...args) => $options.clicked && $options.clicked(...args))
@@ -7541,7 +7573,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
7541
7573
  renderSlot(_ctx.$slots, "default", {}, () => [
7542
7574
  createVNode(_component_ux_button, null, {
7543
7575
  default: withCtx(() => [
7544
- _hoisted_2$g
7576
+ _hoisted_2$j
7545
7577
  ]),
7546
7578
  _: 1
7547
7579
  })
@@ -7549,9 +7581,9 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
7549
7581
  ])
7550
7582
  ], 32);
7551
7583
  }
7552
- var FileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-67879182"]]);
7584
+ var FileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$w], ["__scopeId", "data-v-67879182"]]);
7553
7585
  var upload_vue_vue_type_style_index_0_scoped_true_lang = "";
7554
- const _sfc_main$t = {
7586
+ const _sfc_main$v = {
7555
7587
  mixins: [InputMixin],
7556
7588
  components: {
7557
7589
  FileDrop
@@ -7682,26 +7714,26 @@ const _sfc_main$t = {
7682
7714
  },
7683
7715
  computed: {}
7684
7716
  };
7685
- const _hoisted_1$m = {
7717
+ const _hoisted_1$o = {
7686
7718
  key: 0,
7687
7719
  class: "ux-field-title"
7688
7720
  };
7689
- const _hoisted_2$f = {
7721
+ const _hoisted_2$i = {
7690
7722
  key: 0,
7691
7723
  class: "ux-required-marker"
7692
7724
  };
7693
- const _hoisted_3$d = {
7725
+ const _hoisted_3$f = {
7694
7726
  key: 1,
7695
7727
  class: "ux-field-description"
7696
7728
  };
7697
- const _hoisted_4$d = {
7729
+ const _hoisted_4$f = {
7698
7730
  key: 2,
7699
7731
  class: "files"
7700
7732
  };
7701
- const _hoisted_5$8 = { class: "size" };
7702
- const _hoisted_6$6 = /* @__PURE__ */ createTextVNode("Select Files");
7703
- const _hoisted_7$5 = /* @__PURE__ */ createTextVNode("Select File");
7704
- function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
7733
+ const _hoisted_5$9 = { class: "size" };
7734
+ const _hoisted_6$7 = /* @__PURE__ */ createTextVNode("Select Files");
7735
+ const _hoisted_7$6 = /* @__PURE__ */ createTextVNode("Select File");
7736
+ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
7705
7737
  const _component_progress_bar = resolveComponent("progress-bar");
7706
7738
  const _component_flex_cell = resolveComponent("flex-cell");
7707
7739
  const _component_ux_icon = resolveComponent("ux-icon");
@@ -7709,12 +7741,12 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
7709
7741
  const _component_flex_row = resolveComponent("flex-row");
7710
7742
  const _component_file_drop = resolveComponent("file-drop");
7711
7743
  return openBlock(), createElementBlock(Fragment, null, [
7712
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$m, [
7744
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$o, [
7713
7745
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
7714
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$f, "*")) : createCommentVNode("", true)
7746
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$i, "*")) : createCommentVNode("", true)
7715
7747
  ])) : createCommentVNode("", true),
7716
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$d, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
7717
- $data.files && $data.files.length ? (openBlock(), createElementBlock("div", _hoisted_4$d, [
7748
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$f, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
7749
+ $data.files && $data.files.length ? (openBlock(), createElementBlock("div", _hoisted_4$f, [
7718
7750
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.files, (file, index2) => {
7719
7751
  return openBlock(), createElementBlock("div", {
7720
7752
  class: "file-item",
@@ -7725,7 +7757,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
7725
7757
  createVNode(_component_flex_cell, null, {
7726
7758
  default: withCtx(() => [
7727
7759
  createElementVNode("strong", null, toDisplayString(file.name), 1),
7728
- createElementVNode("div", _hoisted_5$8, toDisplayString($options.filesize(file.size)), 1),
7760
+ createElementVNode("div", _hoisted_5$9, toDisplayString($options.filesize(file.size)), 1),
7729
7761
  createVNode(_component_progress_bar, {
7730
7762
  value: file.progress
7731
7763
  }, null, 8, ["value"])
@@ -7761,7 +7793,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
7761
7793
  default: withCtx(() => [
7762
7794
  createVNode(_component_ux_button, null, {
7763
7795
  default: withCtx(() => [
7764
- _hoisted_6$6
7796
+ _hoisted_6$7
7765
7797
  ]),
7766
7798
  _: 1
7767
7799
  })
@@ -7775,7 +7807,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
7775
7807
  default: withCtx(() => [
7776
7808
  createVNode(_component_ux_button, null, {
7777
7809
  default: withCtx(() => [
7778
- _hoisted_7$5
7810
+ _hoisted_7$6
7779
7811
  ]),
7780
7812
  _: 1
7781
7813
  })
@@ -7784,9 +7816,9 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
7784
7816
  }, 8, ["onFiles"]))
7785
7817
  ], 64);
7786
7818
  }
7787
- var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$t], ["__scopeId", "data-v-124f63e6"]]);
7819
+ var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$v], ["__scopeId", "data-v-124f63e6"]]);
7788
7820
  var group_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
7789
- const _sfc_main$s = {
7821
+ const _sfc_main$u = {
7790
7822
  mixins: [InputMixin],
7791
7823
  components: { draggable: draggableComponent },
7792
7824
  props: {
@@ -7857,11 +7889,11 @@ const _sfc_main$s = {
7857
7889
  }
7858
7890
  }
7859
7891
  };
7860
- const _hoisted_1$l = {
7892
+ const _hoisted_1$n = {
7861
7893
  key: 0,
7862
7894
  class: "ux-multi-group"
7863
7895
  };
7864
- function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
7896
+ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
7865
7897
  const _component_ux_icon = resolveComponent("ux-icon");
7866
7898
  const _component_flex_cell = resolveComponent("flex-cell");
7867
7899
  const _component_ux_button = resolveComponent("ux-button");
@@ -7871,7 +7903,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
7871
7903
  const _component_ux_panel_body = resolveComponent("ux-panel-body");
7872
7904
  const _component_ux_panel = resolveComponent("ux-panel");
7873
7905
  const _component_draggable = resolveComponent("draggable");
7874
- return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
7906
+ return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
7875
7907
  $options.reorderable ? (openBlock(), createBlock(_component_draggable, {
7876
7908
  key: 0,
7877
7909
  modelValue: _ctx.model,
@@ -8101,8 +8133,8 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
8101
8133
  fields: _ctx.field.fields
8102
8134
  }, null, 8, ["onForm:state", "parentModel", "modelValue", "flex", "fields"]));
8103
8135
  }
8104
- var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__scopeId", "data-v-67669f46"]]);
8105
- const _sfc_main$r = {
8136
+ var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-67669f46"]]);
8137
+ const _sfc_main$t = {
8106
8138
  props: {
8107
8139
  option: {
8108
8140
  required: true
@@ -8114,17 +8146,17 @@ const _sfc_main$r = {
8114
8146
  }
8115
8147
  }
8116
8148
  };
8117
- function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
8149
+ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
8118
8150
  return renderSlot(_ctx.$slots, "default", { plainValue: $options.plainValue }, () => [
8119
8151
  createElementVNode("pre", null, toDisplayString($props.option), 1)
8120
8152
  ]);
8121
8153
  }
8122
- var OptionSlot = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r]]);
8154
+ var OptionSlot = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$t]]);
8123
8155
  var buttonSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
8124
8156
  function isUndefined$3(entry) {
8125
8157
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
8126
8158
  }
8127
- const _sfc_main$q = {
8159
+ const _sfc_main$s = {
8128
8160
  components: {
8129
8161
  OptionSlot
8130
8162
  },
@@ -8245,30 +8277,30 @@ const _sfc_main$q = {
8245
8277
  }
8246
8278
  }
8247
8279
  };
8248
- const _hoisted_1$k = {
8280
+ const _hoisted_1$m = {
8249
8281
  key: 0,
8250
8282
  class: "ux-field-title"
8251
8283
  };
8252
- const _hoisted_2$e = {
8284
+ const _hoisted_2$h = {
8253
8285
  key: 0,
8254
8286
  class: "ux-required-marker"
8255
8287
  };
8256
- const _hoisted_3$c = {
8288
+ const _hoisted_3$e = {
8257
8289
  key: 1,
8258
8290
  class: "ux-field-description"
8259
8291
  };
8260
- const _hoisted_4$c = { class: "buttons" };
8261
- function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
8292
+ const _hoisted_4$e = { class: "buttons" };
8293
+ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
8262
8294
  const _component_ux_icon = resolveComponent("ux-icon");
8263
8295
  const _component_ux_button = resolveComponent("ux-button");
8264
8296
  const _component_option_slot = resolveComponent("option-slot");
8265
8297
  return openBlock(), createElementBlock(Fragment, null, [
8266
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$k, [
8298
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$m, [
8267
8299
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
8268
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$e, "*")) : createCommentVNode("", true)
8300
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$h, "*")) : createCommentVNode("", true)
8269
8301
  ])) : createCommentVNode("", true),
8270
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$c, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8271
- createElementVNode("div", _hoisted_4$c, [
8302
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$e, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8303
+ createElementVNode("div", _hoisted_4$e, [
8272
8304
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selectableOptions, (option2) => {
8273
8305
  return openBlock(), createBlock(_component_option_slot, { option: option2 }, {
8274
8306
  default: withCtx(({ plainValue }) => [
@@ -8292,9 +8324,9 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
8292
8324
  ])
8293
8325
  ], 64);
8294
8326
  }
8295
- var ButtonSelect = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-4b69def8"]]);
8327
+ var ButtonSelect = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__scopeId", "data-v-4b69def8"]]);
8296
8328
  var objectField_vue_vue_type_style_index_0_scoped_true_lang = "";
8297
- const _sfc_main$p = {
8329
+ const _sfc_main$r = {
8298
8330
  props: {
8299
8331
  modelValue: {
8300
8332
  type: Object
@@ -8308,32 +8340,32 @@ const _sfc_main$p = {
8308
8340
  }
8309
8341
  }
8310
8342
  };
8311
- const _hoisted_1$j = {
8343
+ const _hoisted_1$l = {
8312
8344
  key: 0,
8313
8345
  class: "ux-field-title"
8314
8346
  };
8315
- const _hoisted_2$d = {
8347
+ const _hoisted_2$g = {
8316
8348
  key: 0,
8317
8349
  class: "ux-required-marker"
8318
8350
  };
8319
- const _hoisted_3$b = {
8351
+ const _hoisted_3$d = {
8320
8352
  key: 1,
8321
8353
  class: "ux-field-description"
8322
8354
  };
8323
- const _hoisted_4$b = { key: 2 };
8324
- const _hoisted_5$7 = { key: 3 };
8325
- function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
8355
+ const _hoisted_4$d = { key: 2 };
8356
+ const _hoisted_5$8 = { key: 3 };
8357
+ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
8326
8358
  const _component_flex_cell = resolveComponent("flex-cell");
8327
8359
  const _component_ux_icon = resolveComponent("ux-icon");
8328
8360
  const _component_ux_button = resolveComponent("ux-button");
8329
8361
  const _component_flex_row = resolveComponent("flex-row");
8330
8362
  return openBlock(), createElementBlock(Fragment, null, [
8331
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$j, [
8363
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$l, [
8332
8364
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
8333
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$d, "*")) : createCommentVNode("", true)
8365
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$g, "*")) : createCommentVNode("", true)
8334
8366
  ])) : createCommentVNode("", true),
8335
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$b, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8336
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
8367
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$d, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8368
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$d, [
8337
8369
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
8338
8370
  return openBlock(), createBlock(_component_flex_row, {
8339
8371
  class: "ux-text-row",
@@ -8382,12 +8414,12 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
8382
8414
  ]),
8383
8415
  _: 1
8384
8416
  })) : createCommentVNode("", true)
8385
- ])) : (openBlock(), createElementBlock("pre", _hoisted_5$7, toDisplayString(_ctx.model), 1))
8417
+ ])) : (openBlock(), createElementBlock("pre", _hoisted_5$8, toDisplayString(_ctx.model), 1))
8386
8418
  ], 64);
8387
8419
  }
8388
- var ObjectField = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-6b3fc2f2"]]);
8420
+ var ObjectField = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r], ["__scopeId", "data-v-6b3fc2f2"]]);
8389
8421
  var optionsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
8390
- const _sfc_main$o = {
8422
+ const _sfc_main$q = {
8391
8423
  props: {
8392
8424
  modelValue: {
8393
8425
  type: [String, Array]
@@ -8482,43 +8514,43 @@ const _sfc_main$o = {
8482
8514
  }
8483
8515
  };
8484
8516
  const _withScopeId$1 = (n2) => (pushScopeId("data-v-42a51394"), n2 = n2(), popScopeId(), n2);
8485
- const _hoisted_1$i = {
8517
+ const _hoisted_1$k = {
8486
8518
  key: 0,
8487
8519
  class: "ux-field-title"
8488
8520
  };
8489
- const _hoisted_2$c = {
8521
+ const _hoisted_2$f = {
8490
8522
  key: 0,
8491
8523
  class: "ux-required-marker"
8492
8524
  };
8493
- const _hoisted_3$a = {
8525
+ const _hoisted_3$c = {
8494
8526
  key: 1,
8495
8527
  class: "ux-field-description"
8496
8528
  };
8497
- const _hoisted_4$a = { key: 2 };
8498
- const _hoisted_5$6 = { class: "ux-text-wrap prefixed" };
8499
- const _hoisted_6$5 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
8500
- const _hoisted_7$4 = ["onBlur", "onUpdate:modelValue"];
8529
+ const _hoisted_4$c = { key: 2 };
8530
+ const _hoisted_5$7 = { class: "ux-text-wrap prefixed" };
8531
+ const _hoisted_6$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
8532
+ const _hoisted_7$5 = ["onBlur", "onUpdate:modelValue"];
8501
8533
  const _hoisted_8$2 = ["onBlur", "onUpdate:modelValue"];
8502
8534
  const _hoisted_9$1 = { class: "ux-text-wrap prefixed" };
8503
8535
  const _hoisted_10$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Value", -1));
8504
8536
  const _hoisted_11$1 = ["onFocus", "onUpdate:modelValue"];
8505
- const _hoisted_12 = ["onFocus", "onUpdate:modelValue"];
8537
+ const _hoisted_12$1 = ["onFocus", "onUpdate:modelValue"];
8506
8538
  const _hoisted_13 = { class: "ux-text-wrap prefixed" };
8507
8539
  const _hoisted_14 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
8508
8540
  const _hoisted_15 = { class: "ux-text-wrap prefixed" };
8509
8541
  const _hoisted_16 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Value", -1));
8510
- function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
8542
+ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
8511
8543
  const _component_flex_cell = resolveComponent("flex-cell");
8512
8544
  const _component_ux_icon = resolveComponent("ux-icon");
8513
8545
  const _component_ux_button = resolveComponent("ux-button");
8514
8546
  const _component_flex_row = resolveComponent("flex-row");
8515
8547
  return openBlock(), createElementBlock(Fragment, null, [
8516
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$i, [
8548
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$k, [
8517
8549
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
8518
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$c, "*")) : createCommentVNode("", true)
8550
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$f, "*")) : createCommentVNode("", true)
8519
8551
  ])) : createCommentVNode("", true),
8520
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$a, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8521
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
8552
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$c, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8553
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
8522
8554
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
8523
8555
  return openBlock(), createBlock(_component_flex_row, {
8524
8556
  class: "ux-text-row",
@@ -8527,8 +8559,8 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
8527
8559
  default: withCtx(() => [
8528
8560
  createVNode(_component_flex_cell, null, {
8529
8561
  default: withCtx(() => [
8530
- createElementVNode("div", _hoisted_5$6, [
8531
- _hoisted_6$5,
8562
+ createElementVNode("div", _hoisted_5$7, [
8563
+ _hoisted_6$6,
8532
8564
  $options.lazy ? withDirectives((openBlock(), createElementBlock("input", {
8533
8565
  key: 0,
8534
8566
  class: "ux-field-focus ux-text-input-multiple",
@@ -8539,7 +8571,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
8539
8571
  onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
8540
8572
  onBlur: ($event) => $options.titleBlurred(index2),
8541
8573
  "onUpdate:modelValue": [($event) => $options.entryTitleChanged(index2), ($event) => _ctx.model[index2].title = $event]
8542
- }, null, 40, _hoisted_7$4)), [
8574
+ }, null, 40, _hoisted_7$5)), [
8543
8575
  [
8544
8576
  vModelText,
8545
8577
  _ctx.model[index2].title,
@@ -8594,7 +8626,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
8594
8626
  ref: "valueInput",
8595
8627
  onKeydown: _cache[5] || (_cache[5] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
8596
8628
  "onUpdate:modelValue": ($event) => _ctx.model[index2].value = $event
8597
- }, null, 40, _hoisted_12)), [
8629
+ }, null, 40, _hoisted_12$1)), [
8598
8630
  [vModelText, _ctx.model[index2].value]
8599
8631
  ]) : createCommentVNode("", true)
8600
8632
  ])
@@ -8725,9 +8757,9 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
8725
8757
  }))
8726
8758
  ], 64);
8727
8759
  }
8728
- var OptionsManager = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-42a51394"]]);
8760
+ var OptionsManager = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-42a51394"]]);
8729
8761
  var codeEditor_vue_vue_type_style_index_0_scoped_true_lang = "";
8730
- const _sfc_main$n = {
8762
+ const _sfc_main$p = {
8731
8763
  components: {},
8732
8764
  methods: {
8733
8765
  editorInit() {
@@ -8762,7 +8794,7 @@ const _sfc_main$n = {
8762
8794
  };
8763
8795
  }
8764
8796
  };
8765
- function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
8797
+ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
8766
8798
  const _component_v_ace_editor = resolveComponent("v-ace-editor");
8767
8799
  const _component_flex_column = resolveComponent("flex-column");
8768
8800
  return $data.mounted ? (openBlock(), createBlock(_component_flex_column, { key: 0 }, {
@@ -8781,9 +8813,9 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
8781
8813
  _: 1
8782
8814
  })) : createCommentVNode("", true);
8783
8815
  }
8784
- var CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-38988542"]]);
8816
+ var CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-38988542"]]);
8785
8817
  var codeEditorField_vue_vue_type_style_index_0_scoped_true_lang = "";
8786
- const _sfc_main$m = {
8818
+ const _sfc_main$o = {
8787
8819
  components: {
8788
8820
  CodeEditor
8789
8821
  },
@@ -8804,37 +8836,37 @@ const _sfc_main$m = {
8804
8836
  }
8805
8837
  }
8806
8838
  };
8807
- const _hoisted_1$h = {
8839
+ const _hoisted_1$j = {
8808
8840
  key: 0,
8809
8841
  class: "ux-field-title"
8810
8842
  };
8811
- const _hoisted_2$b = {
8843
+ const _hoisted_2$e = {
8812
8844
  key: 0,
8813
8845
  class: "ux-required-marker"
8814
8846
  };
8815
- const _hoisted_3$9 = {
8847
+ const _hoisted_3$b = {
8816
8848
  key: 1,
8817
8849
  class: "ux-field-description"
8818
8850
  };
8819
- const _hoisted_4$9 = { key: 2 };
8820
- const _hoisted_5$5 = { class: "code-editor-field-wrap" };
8821
- const _hoisted_6$4 = {
8851
+ const _hoisted_4$b = { key: 2 };
8852
+ const _hoisted_5$6 = { class: "code-editor-field-wrap" };
8853
+ const _hoisted_6$5 = {
8822
8854
  key: 3,
8823
8855
  class: "code-editor-field-wrap"
8824
8856
  };
8825
- function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
8857
+ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
8826
8858
  const _component_code_editor = resolveComponent("code-editor");
8827
8859
  const _component_flex_cell = resolveComponent("flex-cell");
8828
8860
  const _component_ux_icon = resolveComponent("ux-icon");
8829
8861
  const _component_ux_button = resolveComponent("ux-button");
8830
8862
  const _component_flex_row = resolveComponent("flex-row");
8831
8863
  return openBlock(), createElementBlock(Fragment, null, [
8832
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$h, [
8864
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$j, [
8833
8865
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
8834
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$b, "*")) : createCommentVNode("", true)
8866
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$e, "*")) : createCommentVNode("", true)
8835
8867
  ])) : createCommentVNode("", true),
8836
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$9, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8837
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$9, [
8868
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$b, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8869
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
8838
8870
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
8839
8871
  return openBlock(), createBlock(_component_flex_row, {
8840
8872
  class: "ux-text-row",
@@ -8843,7 +8875,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
8843
8875
  default: withCtx(() => [
8844
8876
  createVNode(_component_flex_cell, null, {
8845
8877
  default: withCtx(() => [
8846
- createElementVNode("div", _hoisted_5$5, [
8878
+ createElementVNode("div", _hoisted_5$6, [
8847
8879
  createVNode(_component_code_editor, {
8848
8880
  lang: $options.syntax,
8849
8881
  onFocus: _ctx.touch,
@@ -8889,7 +8921,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
8889
8921
  ]),
8890
8922
  _: 1
8891
8923
  })) : createCommentVNode("", true)
8892
- ])) : (openBlock(), createElementBlock("div", _hoisted_6$4, [
8924
+ ])) : (openBlock(), createElementBlock("div", _hoisted_6$5, [
8893
8925
  createVNode(_component_code_editor, {
8894
8926
  lang: $options.syntax,
8895
8927
  class: "ux-code-editor ux-field-focus ux-text-area-single",
@@ -8900,12 +8932,12 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
8900
8932
  ]))
8901
8933
  ], 64);
8902
8934
  }
8903
- var CodeEditorField = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-06a239bb"]]);
8935
+ var CodeEditorField = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-06a239bb"]]);
8904
8936
  var InternalRouteSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
8905
8937
  function isUndefined$2(entry) {
8906
8938
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
8907
8939
  }
8908
- const _sfc_main$l = {
8940
+ const _sfc_main$n = {
8909
8941
  props: {
8910
8942
  title: {
8911
8943
  type: String
@@ -9024,39 +9056,39 @@ const _sfc_main$l = {
9024
9056
  }
9025
9057
  }
9026
9058
  };
9027
- const _hoisted_1$g = {
9059
+ const _hoisted_1$i = {
9028
9060
  key: 0,
9029
9061
  class: "ux-field-title"
9030
9062
  };
9031
- const _hoisted_2$a = {
9063
+ const _hoisted_2$d = {
9032
9064
  key: 0,
9033
9065
  class: "ux-required-marker"
9034
9066
  };
9035
- const _hoisted_3$8 = {
9067
+ const _hoisted_3$a = {
9036
9068
  key: 1,
9037
9069
  class: "ux-field-description"
9038
9070
  };
9039
- const _hoisted_4$8 = {
9071
+ const _hoisted_4$a = {
9040
9072
  key: 2,
9041
9073
  class: "ui-select-button"
9042
9074
  };
9043
- const _hoisted_5$4 = ["multiple"];
9044
- const _hoisted_6$3 = {
9075
+ const _hoisted_5$5 = ["multiple"];
9076
+ const _hoisted_6$4 = {
9045
9077
  key: 0,
9046
9078
  value: ""
9047
9079
  };
9048
- const _hoisted_7$3 = ["value"];
9049
- function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
9080
+ const _hoisted_7$4 = ["value"];
9081
+ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
9050
9082
  const _component_ux_button = resolveComponent("ux-button");
9051
9083
  return openBlock(), createElementBlock("div", {
9052
9084
  class: normalizeClass(["native-select", $options.classes])
9053
9085
  }, [
9054
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$g, [
9086
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$i, [
9055
9087
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
9056
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$a, "*")) : createCommentVNode("", true)
9088
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$d, "*")) : createCommentVNode("", true)
9057
9089
  ])) : createCommentVNode("", true),
9058
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$8, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
9059
- _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
9090
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$a, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
9091
+ _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
9060
9092
  renderSlot(_ctx.$slots, "default", {}, () => [
9061
9093
  createVNode(_component_ux_button, { tag: "div" }, {
9062
9094
  default: withCtx(() => [
@@ -9071,23 +9103,23 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
9071
9103
  multiple: _ctx.multiValue,
9072
9104
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
9073
9105
  }, [
9074
- _ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$3, "None")) : createCommentVNode("", true),
9106
+ _ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$4, "None")) : createCommentVNode("", true),
9075
9107
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
9076
9108
  return openBlock(), createElementBlock("option", {
9077
9109
  value: option2.value
9078
- }, toDisplayString(option2.title), 9, _hoisted_7$3);
9110
+ }, toDisplayString(option2.title), 9, _hoisted_7$4);
9079
9111
  }), 256))
9080
- ], 40, _hoisted_5$4), [
9112
+ ], 40, _hoisted_5$5), [
9081
9113
  [vModelSelect, _ctx.model]
9082
9114
  ])
9083
9115
  ], 2);
9084
9116
  }
9085
- var InternalRouteSelect = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-7662837a"]]);
9117
+ var InternalRouteSelect = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-7662837a"]]);
9086
9118
  var InternalMenuSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
9087
9119
  function isUndefined$1(entry) {
9088
9120
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
9089
9121
  }
9090
- const _sfc_main$k = {
9122
+ const _sfc_main$m = {
9091
9123
  props: {
9092
9124
  title: {
9093
9125
  type: String
@@ -9190,39 +9222,39 @@ const _sfc_main$k = {
9190
9222
  }
9191
9223
  }
9192
9224
  };
9193
- const _hoisted_1$f = {
9225
+ const _hoisted_1$h = {
9194
9226
  key: 0,
9195
9227
  class: "ux-field-title"
9196
9228
  };
9197
- const _hoisted_2$9 = {
9229
+ const _hoisted_2$c = {
9198
9230
  key: 0,
9199
9231
  class: "ux-required-marker"
9200
9232
  };
9201
- const _hoisted_3$7 = {
9233
+ const _hoisted_3$9 = {
9202
9234
  key: 1,
9203
9235
  class: "ux-field-description"
9204
9236
  };
9205
- const _hoisted_4$7 = {
9237
+ const _hoisted_4$9 = {
9206
9238
  key: 2,
9207
9239
  class: "ui-select-button"
9208
9240
  };
9209
- const _hoisted_5$3 = ["multiple"];
9210
- const _hoisted_6$2 = {
9241
+ const _hoisted_5$4 = ["multiple"];
9242
+ const _hoisted_6$3 = {
9211
9243
  key: 0,
9212
9244
  value: ""
9213
9245
  };
9214
- const _hoisted_7$2 = ["value"];
9215
- function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
9246
+ const _hoisted_7$3 = ["value"];
9247
+ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
9216
9248
  const _component_ux_button = resolveComponent("ux-button");
9217
9249
  return openBlock(), createElementBlock("div", {
9218
9250
  class: normalizeClass(["native-select", $options.classes])
9219
9251
  }, [
9220
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$f, [
9252
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$h, [
9221
9253
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
9222
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$9, "*")) : createCommentVNode("", true)
9254
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$c, "*")) : createCommentVNode("", true)
9223
9255
  ])) : createCommentVNode("", true),
9224
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$7, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
9225
- _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$7, [
9256
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$9, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
9257
+ _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$9, [
9226
9258
  renderSlot(_ctx.$slots, "default", {}, () => [
9227
9259
  createVNode(_component_ux_button, { tag: "div" }, {
9228
9260
  default: withCtx(() => [
@@ -9237,18 +9269,18 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
9237
9269
  multiple: _ctx.multiValue,
9238
9270
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
9239
9271
  }, [
9240
- _ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$2, "None")) : createCommentVNode("", true),
9272
+ _ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$3, "None")) : createCommentVNode("", true),
9241
9273
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
9242
9274
  return openBlock(), createElementBlock("option", {
9243
9275
  value: option2.value
9244
- }, toDisplayString(option2.title), 9, _hoisted_7$2);
9276
+ }, toDisplayString(option2.title), 9, _hoisted_7$3);
9245
9277
  }), 256))
9246
- ], 40, _hoisted_5$3), [
9278
+ ], 40, _hoisted_5$4), [
9247
9279
  [vModelSelect, _ctx.model]
9248
9280
  ])
9249
9281
  ], 2);
9250
9282
  }
9251
- var InternalMenuSelect = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-a9c8bb64"]]);
9283
+ var InternalMenuSelect = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-a9c8bb64"]]);
9252
9284
  var jsep = { exports: {} };
9253
9285
  (function(module, exports) {
9254
9286
  (function(root2) {
@@ -10055,7 +10087,7 @@ function computedExpression(key) {
10055
10087
  return service.evaluateExpression(expression, context);
10056
10088
  };
10057
10089
  }
10058
- const _sfc_main$j = {
10090
+ const _sfc_main$l = {
10059
10091
  components: {
10060
10092
  InternalRouteSelect,
10061
10093
  InternalMenuSelect,
@@ -10080,6 +10112,10 @@ const _sfc_main$j = {
10080
10112
  CodeEditorField
10081
10113
  },
10082
10114
  props: {
10115
+ submission: {
10116
+ type: Boolean,
10117
+ default: false
10118
+ },
10083
10119
  field: {
10084
10120
  type: Object,
10085
10121
  required: true
@@ -10217,6 +10253,7 @@ const _sfc_main$j = {
10217
10253
  this.$emit("field:dirty", this);
10218
10254
  },
10219
10255
  changeString(v) {
10256
+ console.log("CHANGE STRING", v);
10220
10257
  this.validateResults = this.$qik.content.validateField(this.fieldModel, this.actualField);
10221
10258
  },
10222
10259
  modelValue(val, old) {
@@ -10265,7 +10302,9 @@ const _sfc_main$j = {
10265
10302
  return actual;
10266
10303
  },
10267
10304
  changeString() {
10268
- return `${JSON.stringify(this.fieldModel)}-${this.actualField.minimum}-${this.actualField.referenceType}`;
10305
+ const fieldModel = this.fieldModel;
10306
+ const stringified = safeJsonStringify(fieldModel);
10307
+ return `${stringified}-${this.actualField.minimum}-${this.actualField.referenceType}`;
10269
10308
  },
10270
10309
  valid() {
10271
10310
  return !this.invalid;
@@ -10348,7 +10387,7 @@ const _sfc_main$j = {
10348
10387
  return this.type === "group";
10349
10388
  },
10350
10389
  asObject() {
10351
- return this.isGroup && this.actualField.asObject;
10390
+ return this.widget === "form" || this.isGroup && this.actualField.asObject;
10352
10391
  },
10353
10392
  layoutGroup() {
10354
10393
  return this.isGroup && !this.actualField.asObject;
@@ -10404,6 +10443,9 @@ const _sfc_main$j = {
10404
10443
  }
10405
10444
  var widget = this.actualField.widget;
10406
10445
  switch (widget) {
10446
+ case "form":
10447
+ widget = this.submission ? "form" : "content-select";
10448
+ break;
10407
10449
  case "internal-menu":
10408
10450
  case "internal-route":
10409
10451
  case "content-select":
@@ -10457,11 +10499,11 @@ const _sfc_main$j = {
10457
10499
  }
10458
10500
  }
10459
10501
  };
10460
- const _hoisted_1$e = {
10461
- key: 23,
10502
+ const _hoisted_1$g = {
10503
+ key: 24,
10462
10504
  class: "ux-field-message"
10463
10505
  };
10464
- function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
10506
+ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
10465
10507
  const _component_internal_route_select = resolveComponent("internal-route-select");
10466
10508
  const _component_internal_menu_select = resolveComponent("internal-menu-select");
10467
10509
  const _component_custom_html = resolveComponent("custom-html");
@@ -10487,8 +10529,8 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
10487
10529
  return $options.visible ? (openBlock(), createElementBlock("div", {
10488
10530
  key: 0,
10489
10531
  class: normalizeClass(["ux-field", $options.classes]),
10490
- onFocusin: _cache[23] || (_cache[23] = (...args) => $options.focus && $options.focus(...args)),
10491
- onFocusout: _cache[24] || (_cache[24] = (...args) => $options.blur && $options.blur(...args))
10532
+ onFocusin: _cache[24] || (_cache[24] = (...args) => $options.focus && $options.focus(...args)),
10533
+ onFocusout: _cache[25] || (_cache[25] = (...args) => $options.blur && $options.blur(...args))
10492
10534
  }, [
10493
10535
  $options.widget == "internal-route" ? (openBlock(), createBlock(_component_internal_route_select, {
10494
10536
  key: 0,
@@ -10542,6 +10584,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
10542
10584
  $options.widget == "group" ? (openBlock(), createElementBlock(Fragment, { key: 7 }, [
10543
10585
  $options.asObject ? (openBlock(), createBlock(_component_field_group, {
10544
10586
  key: 0,
10587
+ submission: $props.submission,
10545
10588
  "onForm:state": $options.groupStateAltered,
10546
10589
  ref: "group",
10547
10590
  onTouched: $options.touch,
@@ -10549,8 +10592,9 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
10549
10592
  parentModel: $props.parentModel,
10550
10593
  modelValue: $options.fieldModel,
10551
10594
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $options.fieldModel = $event)
10552
- }, null, 8, ["onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
10595
+ }, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
10553
10596
  key: 1,
10597
+ submission: $props.submission,
10554
10598
  "onForm:state": $options.groupStateAltered,
10555
10599
  ref: "group",
10556
10600
  onTouched: $options.touch,
@@ -10558,102 +10602,113 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
10558
10602
  parentModel: $props.parentModel,
10559
10603
  modelValue: $options.sourceModel,
10560
10604
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $options.sourceModel = $event)
10561
- }, null, 8, ["onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
10605
+ }, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
10562
10606
  ], 64)) : createCommentVNode("", true),
10563
- $options.widget == "select" ? (openBlock(), createBlock(_component_native_select, {
10607
+ $options.widget == "form" ? (openBlock(), createBlock(_component_field_group, {
10564
10608
  key: 8,
10609
+ submission: $props.submission,
10610
+ "onForm:state": $options.groupStateAltered,
10611
+ ref: "group",
10565
10612
  onTouched: $options.touch,
10566
10613
  field: $options.actualField,
10614
+ parentModel: $props.parentModel,
10567
10615
  modelValue: $options.fieldModel,
10568
10616
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $options.fieldModel = $event)
10569
- }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10570
- $options.widget == "button" ? (openBlock(), createBlock(_component_button_select, {
10617
+ }, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : createCommentVNode("", true),
10618
+ $options.widget == "select" ? (openBlock(), createBlock(_component_native_select, {
10571
10619
  key: 9,
10572
10620
  onTouched: $options.touch,
10573
10621
  field: $options.actualField,
10574
10622
  modelValue: $options.fieldModel,
10575
10623
  "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $options.fieldModel = $event)
10576
10624
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10577
- $options.widget == "textfield" ? (openBlock(), createBlock(_component_text_field, {
10625
+ $options.widget == "button" ? (openBlock(), createBlock(_component_button_select, {
10578
10626
  key: 10,
10579
10627
  onTouched: $options.touch,
10580
10628
  field: $options.actualField,
10581
10629
  modelValue: $options.fieldModel,
10582
10630
  "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $options.fieldModel = $event)
10583
10631
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10584
- $options.widget == "currency" ? (openBlock(), createBlock(_component_currency_field, {
10632
+ $options.widget == "textfield" ? (openBlock(), createBlock(_component_text_field, {
10585
10633
  key: 11,
10586
10634
  onTouched: $options.touch,
10587
10635
  field: $options.actualField,
10588
10636
  modelValue: $options.fieldModel,
10589
10637
  "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => $options.fieldModel = $event)
10590
10638
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10591
- $options.widget == "datefield" ? (openBlock(), createBlock(_component_date_field, {
10639
+ $options.widget == "currency" ? (openBlock(), createBlock(_component_currency_field, {
10592
10640
  key: 12,
10593
10641
  onTouched: $options.touch,
10594
10642
  field: $options.actualField,
10595
10643
  modelValue: $options.fieldModel,
10596
10644
  "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $options.fieldModel = $event)
10597
10645
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10598
- $options.widget == "content-select" ? (openBlock(), createBlock(_component_content_select, {
10646
+ $options.widget == "datefield" ? (openBlock(), createBlock(_component_date_field, {
10599
10647
  key: 13,
10600
10648
  onTouched: $options.touch,
10601
10649
  field: $options.actualField,
10602
10650
  modelValue: $options.fieldModel,
10603
10651
  "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => $options.fieldModel = $event)
10604
10652
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10605
- $options.widget == "type-select" ? (openBlock(), createBlock(_component_type_select, {
10653
+ $options.widget == "content-select" ? (openBlock(), createBlock(_component_content_select, {
10606
10654
  key: 14,
10607
10655
  onTouched: $options.touch,
10608
10656
  field: $options.actualField,
10609
10657
  modelValue: $options.fieldModel,
10610
10658
  "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => $options.fieldModel = $event)
10611
10659
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10612
- $options.widget == "richtext" ? (openBlock(), createBlock(_component_text_area, {
10660
+ $options.widget == "type-select" ? (openBlock(), createBlock(_component_type_select, {
10613
10661
  key: 15,
10614
10662
  onTouched: $options.touch,
10615
10663
  field: $options.actualField,
10616
10664
  modelValue: $options.fieldModel,
10617
10665
  "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => $options.fieldModel = $event)
10618
10666
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10619
- $options.widget == "textarea" ? (openBlock(), createBlock(_component_text_area, {
10667
+ $options.widget == "richtext" ? (openBlock(), createBlock(_component_text_area, {
10620
10668
  key: 16,
10621
10669
  onTouched: $options.touch,
10622
10670
  field: $options.actualField,
10623
10671
  modelValue: $options.fieldModel,
10624
10672
  "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => $options.fieldModel = $event)
10625
10673
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10626
- $options.widget == "timezone" ? (openBlock(), createBlock(_component_timezone_select, {
10674
+ $options.widget == "textarea" ? (openBlock(), createBlock(_component_text_area, {
10627
10675
  key: 17,
10628
10676
  onTouched: $options.touch,
10629
10677
  field: $options.actualField,
10630
10678
  modelValue: $options.fieldModel,
10631
10679
  "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => $options.fieldModel = $event)
10632
10680
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10633
- $options.widget == "phone" ? (openBlock(), createBlock(_component_phone_number_input, {
10681
+ $options.widget == "timezone" ? (openBlock(), createBlock(_component_timezone_select, {
10634
10682
  key: 18,
10635
10683
  onTouched: $options.touch,
10636
10684
  field: $options.actualField,
10637
10685
  modelValue: $options.fieldModel,
10638
10686
  "onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => $options.fieldModel = $event)
10639
10687
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10640
- $options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 19 }, [], 64)) : createCommentVNode("", true),
10641
- $options.widget == "object" ? (openBlock(), createBlock(_component_object_field, {
10642
- key: 20,
10688
+ $options.widget == "phone" ? (openBlock(), createBlock(_component_phone_number_input, {
10689
+ key: 19,
10643
10690
  onTouched: $options.touch,
10644
10691
  field: $options.actualField,
10645
10692
  modelValue: $options.fieldModel,
10646
10693
  "onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => $options.fieldModel = $event)
10647
10694
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10648
- $options.widget == "options" ? (openBlock(), createBlock(_component_options_manager, {
10695
+ $options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 20 }, [], 64)) : createCommentVNode("", true),
10696
+ $options.widget == "object" ? (openBlock(), createBlock(_component_object_field, {
10649
10697
  key: 21,
10650
10698
  onTouched: $options.touch,
10651
10699
  field: $options.actualField,
10652
10700
  modelValue: $options.fieldModel,
10653
10701
  "onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => $options.fieldModel = $event)
10654
10702
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10655
- $options.widget == "code" ? (openBlock(), createBlock(_component_flex_column, {
10703
+ $options.widget == "options" ? (openBlock(), createBlock(_component_options_manager, {
10656
10704
  key: 22,
10705
+ onTouched: $options.touch,
10706
+ field: $options.actualField,
10707
+ modelValue: $options.fieldModel,
10708
+ "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => $options.fieldModel = $event)
10709
+ }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10710
+ $options.widget == "code" ? (openBlock(), createBlock(_component_flex_column, {
10711
+ key: 23,
10657
10712
  style: { "min-height": "300px" }
10658
10713
  }, {
10659
10714
  default: withCtx(() => [
@@ -10661,17 +10716,17 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
10661
10716
  onTouched: $options.touch,
10662
10717
  field: $options.actualField,
10663
10718
  modelValue: $options.fieldModel,
10664
- "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => $options.fieldModel = $event)
10719
+ "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => $options.fieldModel = $event)
10665
10720
  }, null, 8, ["onTouched", "field", "modelValue"])
10666
10721
  ]),
10667
10722
  _: 1
10668
10723
  })) : createCommentVNode("", true),
10669
- $options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$e, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
10724
+ $options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$g, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
10670
10725
  ], 34)) : createCommentVNode("", true);
10671
10726
  }
10672
- var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-41ce4fe8"]]);
10727
+ var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-addc0926"]]);
10673
10728
  var form_vue_vue_type_style_index_0_scoped_true_lang = "";
10674
- const _sfc_main$i = {
10729
+ const _sfc_main$k = {
10675
10730
  props: {
10676
10731
  parentModel: {
10677
10732
  type: Object
@@ -10691,6 +10746,10 @@ const _sfc_main$i = {
10691
10746
  flex: {
10692
10747
  type: Boolean,
10693
10748
  default: false
10749
+ },
10750
+ submission: {
10751
+ type: Boolean,
10752
+ default: false
10694
10753
  }
10695
10754
  },
10696
10755
  watch: {
@@ -10875,47 +10934,173 @@ const _sfc_main$i = {
10875
10934
  this.$emit("update:modelValue", this.model);
10876
10935
  }
10877
10936
  },
10878
- renderFields() {
10879
- return this.fields.filter(Boolean);
10937
+ renderFields() {
10938
+ return this.fields.filter(Boolean);
10939
+ }
10940
+ }
10941
+ };
10942
+ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
10943
+ const _component_ux_field = resolveComponent("ux-field");
10944
+ return openBlock(), createElementBlock("div", {
10945
+ class: normalizeClass(["ux-form", $options.formClass])
10946
+ }, [
10947
+ renderSlot(_ctx.$slots, "fields", {
10948
+ fields: $options.renderFields,
10949
+ hash: $options.fieldHash
10950
+ }, () => [
10951
+ (openBlock(true), createElementBlock(Fragment, null, renderList($options.renderFields, (field, index2) => {
10952
+ return openBlock(), createBlock(_component_ux_field, {
10953
+ ref_for: true,
10954
+ ref: "field",
10955
+ submission: $props.submission,
10956
+ "onField:mount": $options.fieldMounted,
10957
+ "onField:unmount": $options.fieldUnmounted,
10958
+ "onField:dirty": $options.fieldDirty,
10959
+ "onField:invalid": $options.fieldInvalid,
10960
+ "onField:valid": $options.fieldValid,
10961
+ "onField:error": $options.fieldError,
10962
+ "onField:focus": $options.fieldFocus,
10963
+ "onField:blur": $options.fieldBlur,
10964
+ "onField:touched": $options.fieldTouch,
10965
+ field,
10966
+ modelValue: $options.formModel,
10967
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.formModel = $event),
10968
+ parentModel: $props.parentModel || $options.formModel,
10969
+ class: normalizeClass($options.fieldClass),
10970
+ key: `ux-form-field-${field.key}-${index2}`
10971
+ }, null, 8, ["submission", "onField:mount", "onField:unmount", "onField:dirty", "onField:invalid", "onField:valid", "onField:error", "onField:focus", "onField:blur", "onField:touched", "field", "modelValue", "parentModel", "class"]);
10972
+ }), 128))
10973
+ ], true)
10974
+ ], 2);
10975
+ }
10976
+ var UXForm = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-03d1fed4"]]);
10977
+ const STATE_READY = "form.ready";
10978
+ const STATE_PROCESSING = "form.processing";
10979
+ const STATE_COMPLETE = "form.complete";
10980
+ const STATE_ERROR = "form.error";
10981
+ const _sfc_main$j = {
10982
+ methods: {
10983
+ softReset() {
10984
+ this.state = STATE_READY;
10985
+ },
10986
+ reset() {
10987
+ this.model = {};
10988
+ this.state = STATE_READY;
10989
+ this.error = null;
10990
+ },
10991
+ async submit() {
10992
+ const self2 = this;
10993
+ self2.state = STATE_PROCESSING;
10994
+ await self2.preSubmit();
10995
+ const submission = JSON.parse(JSON.stringify(self2.model));
10996
+ await new Promise(function(resolve, reject) {
10997
+ self2.$qik.api.post(`/form/${self2.formID}`, submission).then(function(res) {
10998
+ return resolve(res.data);
10999
+ }, function(err) {
11000
+ self2.error = err;
11001
+ self2.state = STATE_ERROR;
11002
+ return reject(err);
11003
+ });
11004
+ });
11005
+ await self2.postSubmit();
11006
+ self2.state = STATE_COMPLETE;
11007
+ },
11008
+ async preSubmit() {
11009
+ },
11010
+ async postSubmit() {
11011
+ }
11012
+ },
11013
+ components: {
11014
+ UxForm: UXForm
11015
+ },
11016
+ props: {
11017
+ modelValue: {
11018
+ type: Object,
11019
+ default() {
11020
+ return {};
11021
+ }
11022
+ },
11023
+ form: {
11024
+ type: Object,
11025
+ required: true
11026
+ }
11027
+ },
11028
+ watch: {
11029
+ modelValue(val, old) {
11030
+ this.model = val;
11031
+ }
11032
+ },
11033
+ data() {
11034
+ return {
11035
+ state: STATE_READY,
11036
+ mounted: false,
11037
+ model: this.modelValue,
11038
+ error: null
11039
+ };
11040
+ },
11041
+ mounted() {
11042
+ this.mounted = true;
11043
+ },
11044
+ beforeUnmount() {
11045
+ this.mounted = false;
11046
+ },
11047
+ computed: {
11048
+ formID() {
11049
+ return this.$qik.utils.id(this.form);
11050
+ },
11051
+ fields() {
11052
+ return this.form.fields || [];
10880
11053
  }
10881
11054
  }
10882
11055
  };
10883
- function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
10884
- const _component_ux_field = resolveComponent("ux-field");
10885
- return openBlock(), createElementBlock("div", {
10886
- class: normalizeClass(["ux-form", $options.formClass])
10887
- }, [
10888
- renderSlot(_ctx.$slots, "fields", {
10889
- fields: $options.renderFields,
10890
- hash: $options.fieldHash
10891
- }, () => [
10892
- (openBlock(true), createElementBlock(Fragment, null, renderList($options.renderFields, (field, index2) => {
10893
- return openBlock(), createBlock(_component_ux_field, {
10894
- ref_for: true,
10895
- ref: "field",
10896
- "onField:mount": $options.fieldMounted,
10897
- "onField:unmount": $options.fieldUnmounted,
10898
- "onField:dirty": $options.fieldDirty,
10899
- "onField:invalid": $options.fieldInvalid,
10900
- "onField:valid": $options.fieldValid,
10901
- "onField:error": $options.fieldError,
10902
- "onField:focus": $options.fieldFocus,
10903
- "onField:blur": $options.fieldBlur,
10904
- "onField:touched": $options.fieldTouch,
10905
- field,
10906
- modelValue: $options.formModel,
10907
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.formModel = $event),
10908
- parentModel: $props.parentModel || $options.formModel,
10909
- class: normalizeClass($options.fieldClass),
10910
- key: `ux-form-field-${field.key}-${index2}`
10911
- }, null, 8, ["onField:mount", "onField:unmount", "onField:dirty", "onField:invalid", "onField:valid", "onField:error", "onField:focus", "onField:blur", "onField:touched", "field", "modelValue", "parentModel", "class"]);
10912
- }), 128))
10913
- ], true)
10914
- ], 2);
11056
+ const _hoisted_1$f = { class: "ux-submission-form" };
11057
+ const _hoisted_2$b = /* @__PURE__ */ createTextVNode(" Try again ");
11058
+ const _hoisted_3$8 = /* @__PURE__ */ createTextVNode(" Complete! ");
11059
+ const _hoisted_4$8 = /* @__PURE__ */ createTextVNode(" Back to form ");
11060
+ const _hoisted_5$3 = /* @__PURE__ */ createTextVNode(" Submit ");
11061
+ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
11062
+ const _component_ux_button = resolveComponent("ux-button");
11063
+ const _component_ux_form = resolveComponent("ux-form");
11064
+ return openBlock(), createElementBlock("div", _hoisted_1$f, [
11065
+ $data.state === "form.error" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11066
+ createElementVNode("pre", null, toDisplayString($data.error), 1),
11067
+ createVNode(_component_ux_button, { onClick: $options.softReset }, {
11068
+ default: withCtx(() => [
11069
+ _hoisted_2$b
11070
+ ]),
11071
+ _: 1
11072
+ }, 8, ["onClick"])
11073
+ ], 64)) : $data.state === "form.complete" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
11074
+ _hoisted_3$8,
11075
+ createVNode(_component_ux_button, { onClick: $options.reset }, {
11076
+ default: withCtx(() => [
11077
+ _hoisted_4$8
11078
+ ]),
11079
+ _: 1
11080
+ }, 8, ["onClick"])
11081
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
11082
+ createVNode(_component_ux_form, {
11083
+ submission: "",
11084
+ modelValue: $data.model,
11085
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model = $event),
11086
+ fields: $options.fields
11087
+ }, null, 8, ["modelValue", "fields"]),
11088
+ createVNode(_component_ux_button, {
11089
+ color: "primary",
11090
+ onClick: $options.submit,
11091
+ loading: $data.state === "form.processing"
11092
+ }, {
11093
+ default: withCtx(() => [
11094
+ _hoisted_5$3
11095
+ ]),
11096
+ _: 1
11097
+ }, 8, ["onClick", "loading"])
11098
+ ], 64))
11099
+ ]);
10915
11100
  }
10916
- var UXForm = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-58fbce85"]]);
11101
+ var UXSubmissionForm = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j]]);
10917
11102
  var search_vue_vue_type_style_index_0_scoped_true_lang = "";
10918
- const _sfc_main$h = {
11103
+ const _sfc_main$i = {
10919
11104
  props: {
10920
11105
  modelValue: {
10921
11106
  type: String
@@ -10980,15 +11165,15 @@ const _sfc_main$h = {
10980
11165
  }
10981
11166
  }
10982
11167
  };
10983
- const _hoisted_1$d = { class: "search" };
10984
- const _hoisted_2$8 = ["placeholder"];
10985
- function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
11168
+ const _hoisted_1$e = { class: "search" };
11169
+ const _hoisted_2$a = ["placeholder"];
11170
+ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
10986
11171
  const _component_ux_icon = resolveComponent("ux-icon");
10987
- return openBlock(), createElementBlock("div", _hoisted_1$d, [
11172
+ return openBlock(), createElementBlock("div", _hoisted_1$e, [
10988
11173
  withDirectives(createElementVNode("input", {
10989
11174
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.model = $event),
10990
11175
  placeholder: $props.placeholder
10991
- }, null, 8, _hoisted_2$8), [
11176
+ }, null, 8, _hoisted_2$a), [
10992
11177
  [vModelText, $options.model]
10993
11178
  ]),
10994
11179
  createElementVNode("div", {
@@ -10999,7 +11184,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
10999
11184
  ])
11000
11185
  ]);
11001
11186
  }
11002
- var Search = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-0a1831cd"]]);
11187
+ var Search = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-0a1831cd"]]);
11003
11188
  var RenderMixin = {
11004
11189
  props: {
11005
11190
  field: {
@@ -11094,11 +11279,15 @@ var RenderMixin = {
11094
11279
  }
11095
11280
  };
11096
11281
  var group_vue_vue_type_style_index_0_scoped_true_lang = "";
11097
- const _sfc_main$g = {
11282
+ const _sfc_main$h = {
11098
11283
  mixins: [RenderMixin],
11099
11284
  props: {
11100
11285
  modelValue: {
11101
11286
  type: [Object, Array]
11287
+ },
11288
+ submission: {
11289
+ type: Boolean,
11290
+ default: false
11102
11291
  }
11103
11292
  },
11104
11293
  computed: {
@@ -11121,18 +11310,18 @@ const _sfc_main$g = {
11121
11310
  }
11122
11311
  }
11123
11312
  };
11124
- const _hoisted_1$c = {
11313
+ const _hoisted_1$d = {
11125
11314
  key: 0,
11126
11315
  class: "ux-multi-group"
11127
11316
  };
11128
- function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
11317
+ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
11129
11318
  const _component_flex_cell = resolveComponent("flex-cell");
11130
11319
  const _component_flex_row = resolveComponent("flex-row");
11131
11320
  const _component_ux_panel_header = resolveComponent("ux-panel-header");
11132
11321
  const _component_ux_render = resolveComponent("ux-render");
11133
11322
  const _component_ux_panel_body = resolveComponent("ux-panel-body");
11134
11323
  const _component_ux_panel = resolveComponent("ux-panel");
11135
- return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
11324
+ return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
11136
11325
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
11137
11326
  return openBlock(), createBlock(_component_ux_panel, {
11138
11327
  ref_for: true,
@@ -11161,12 +11350,13 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
11161
11350
  createVNode(_component_ux_panel_body, null, {
11162
11351
  default: withCtx(() => [
11163
11352
  createVNode(_component_ux_render, {
11353
+ submission: $props.submission,
11164
11354
  fields: _ctx.fields,
11165
11355
  flex: $options.sameLine,
11166
11356
  parentModel: _ctx.parentModel,
11167
11357
  modelValue: _ctx.model[index2],
11168
11358
  "onUpdate:modelValue": ($event) => _ctx.model[index2] = $event
11169
- }, null, 8, ["fields", "flex", "parentModel", "modelValue", "onUpdate:modelValue"])
11359
+ }, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue", "onUpdate:modelValue"])
11170
11360
  ]),
11171
11361
  _: 2
11172
11362
  }, 1024)
@@ -11176,16 +11366,17 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
11176
11366
  }), 128))
11177
11367
  ])) : (openBlock(), createBlock(_component_ux_render, {
11178
11368
  key: 1,
11369
+ submission: $props.submission,
11179
11370
  fields: _ctx.fields,
11180
11371
  flex: $options.sameLine,
11181
11372
  parentModel: _ctx.parentModel,
11182
11373
  modelValue: _ctx.model,
11183
11374
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model = $event)
11184
- }, null, 8, ["fields", "flex", "parentModel", "modelValue"]));
11375
+ }, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue"]));
11185
11376
  }
11186
- var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-f9347560"]]);
11377
+ var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-1d1202c5"]]);
11187
11378
  var field_vue_vue_type_style_index_0_scoped_true_lang = "";
11188
- const _sfc_main$f = {
11379
+ const _sfc_main$g = {
11189
11380
  components: {
11190
11381
  Item,
11191
11382
  FieldGroup
@@ -11201,6 +11392,10 @@ const _sfc_main$f = {
11201
11392
  modelValue: {
11202
11393
  type: Object,
11203
11394
  required: true
11395
+ },
11396
+ submission: {
11397
+ type: Boolean,
11398
+ default: false
11204
11399
  }
11205
11400
  },
11206
11401
  data() {
@@ -11232,11 +11427,14 @@ const _sfc_main$f = {
11232
11427
  type() {
11233
11428
  return this.field.type || "string";
11234
11429
  },
11430
+ isEmbedded() {
11431
+ return this.submission && (this.field.widget === "form" && this.field.type === "reference");
11432
+ },
11235
11433
  isGroup() {
11236
- return this.type === "group";
11434
+ return this.isEmbedded || this.type === "group";
11237
11435
  },
11238
11436
  asObject() {
11239
- return this.isGroup && this.field.asObject;
11437
+ return this.isEmbedded || this.isGroup && this.field.asObject;
11240
11438
  },
11241
11439
  isNumber() {
11242
11440
  switch (this.type) {
@@ -11280,7 +11478,9 @@ const _sfc_main$f = {
11280
11478
  return this.getExpressionHide;
11281
11479
  },
11282
11480
  visible() {
11283
- return !this.hidden && this.fieldModel;
11481
+ var visible = !this.hidden;
11482
+ var hasModel = this.layoutGroup || this.fieldModel;
11483
+ return visible && hasModel;
11284
11484
  },
11285
11485
  type() {
11286
11486
  return this.field.type || "string";
@@ -11325,6 +11525,9 @@ const _sfc_main$f = {
11325
11525
  }
11326
11526
  var widget = this.field.widget;
11327
11527
  switch (widget) {
11528
+ case "form":
11529
+ widget = this.submission ? "form" : "content-select";
11530
+ break;
11328
11531
  case "content-select":
11329
11532
  case "select":
11330
11533
  case "checkbox":
@@ -11363,94 +11566,112 @@ const _sfc_main$f = {
11363
11566
  }
11364
11567
  }
11365
11568
  };
11366
- const _hoisted_1$b = { class: "ux-field-title" };
11367
- const _hoisted_2$7 = { class: "ux-field-description" };
11368
- const _hoisted_3$6 = { key: 1 };
11369
- const _hoisted_4$6 = { key: 1 };
11370
- const _hoisted_5$2 = ["href"];
11371
- const _hoisted_6$1 = { key: 1 };
11372
- const _hoisted_7$1 = ["href"];
11569
+ const _hoisted_1$c = { class: "ux-field-title" };
11570
+ const _hoisted_2$9 = { class: "ux-field-description" };
11571
+ const _hoisted_3$7 = { key: 1 };
11572
+ const _hoisted_4$7 = { key: 1 };
11573
+ const _hoisted_5$2 = { key: 1 };
11574
+ const _hoisted_6$2 = ["href"];
11575
+ const _hoisted_7$2 = { key: 1 };
11373
11576
  const _hoisted_8$1 = ["href"];
11374
- const _hoisted_9 = { key: 1 };
11375
- const _hoisted_10 = ["href"];
11376
- const _hoisted_11 = { key: 1 };
11377
- function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
11378
- const _component_item = resolveComponent("item");
11577
+ const _hoisted_9 = ["href"];
11578
+ const _hoisted_10 = { key: 1 };
11579
+ const _hoisted_11 = ["href"];
11580
+ const _hoisted_12 = { key: 1 };
11581
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
11379
11582
  const _component_field_group = resolveComponent("field-group");
11583
+ const _component_item = resolveComponent("item");
11380
11584
  return $options.visible ? (openBlock(), createElementBlock("div", {
11381
11585
  key: 0,
11382
11586
  class: normalizeClass(["ux-field-render", $options.classes])
11383
11587
  }, [
11384
- createElementVNode("label", _hoisted_1$b, toDisplayString($options.title), 1),
11385
- createElementVNode("div", _hoisted_2$7, toDisplayString($props.field.description), 1),
11386
- $options.type == "reference" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11387
- $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (item, index2) => {
11388
- return openBlock(), createBlock(_component_item, {
11389
- key: item._id,
11390
- item
11391
- }, null, 8, ["item"]);
11392
- }), 128)) : (openBlock(), createBlock(_component_item, {
11393
- key: 1,
11394
- item: $options.fieldModel
11395
- }, null, 8, ["item"]))
11396
- ], 64)) : createCommentVNode("", true),
11397
- $options.widget == "group" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
11588
+ createElementVNode("label", _hoisted_1$c, toDisplayString($options.title), 1),
11589
+ createElementVNode("div", _hoisted_2$9, toDisplayString($props.field.description), 1),
11590
+ $options.widget === "group" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11398
11591
  $options.asObject ? (openBlock(), createBlock(_component_field_group, {
11399
11592
  key: 0,
11593
+ submission: $props.submission,
11400
11594
  field: $props.field,
11401
11595
  parentModel: $props.parentModel,
11402
11596
  modelValue: $options.fieldModel,
11403
11597
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.fieldModel = $event)
11404
- }, null, 8, ["field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
11598
+ }, null, 8, ["submission", "field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
11405
11599
  key: 1,
11600
+ submission: $props.submission,
11406
11601
  field: $props.field,
11407
11602
  parentModel: $props.parentModel,
11408
11603
  modelValue: $options.sourceModel,
11409
11604
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $options.sourceModel = $event)
11410
- }, null, 8, ["field", "parentModel", "modelValue"]))
11411
- ], 64)) : createCommentVNode("", true),
11412
- $options.type == "string" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
11413
- $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11414
- return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
11415
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_3$6, toDisplayString($options.fieldModel), 1))
11416
- ], 64)) : createCommentVNode("", true),
11417
- $options.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
11418
- $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11419
- return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
11420
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$6, toDisplayString($options.fieldModel), 1))
11421
- ], 64)) : createCommentVNode("", true),
11422
- $options.type == "email" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
11423
- $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11424
- return openBlock(), createElementBlock("div", null, [
11605
+ }, null, 8, ["submission", "field", "parentModel", "modelValue"]))
11606
+ ], 64)) : $options.widget === "form" ? (openBlock(), createBlock(_component_field_group, {
11607
+ key: 1,
11608
+ submission: $props.submission,
11609
+ field: $props.field,
11610
+ parentModel: $props.parentModel,
11611
+ modelValue: $options.fieldModel,
11612
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $options.fieldModel = $event)
11613
+ }, null, 8, ["submission", "field", "parentModel", "modelValue"])) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
11614
+ $options.type === "reference" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11615
+ $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (item, index2) => {
11616
+ return openBlock(), createBlock(_component_item, {
11617
+ submission: $props.submission,
11618
+ key: item._id,
11619
+ item
11620
+ }, null, 8, ["submission", "item"]);
11621
+ }), 128)) : (openBlock(), createBlock(_component_item, {
11622
+ key: 1,
11623
+ submission: $props.submission,
11624
+ item: $options.fieldModel
11625
+ }, null, 8, ["submission", "item"]))
11626
+ ], 64)) : createCommentVNode("", true),
11627
+ $options.type == "string" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
11628
+ $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11629
+ return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
11630
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_3$7, toDisplayString($options.fieldModel), 1))
11631
+ ], 64)) : createCommentVNode("", true),
11632
+ $options.type == "boolean" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
11633
+ $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11634
+ return openBlock(), createElementBlock("div", null, toDisplayString(!!value), 1);
11635
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$7, toDisplayString(!!$options.fieldModel), 1))
11636
+ ], 64)) : createCommentVNode("", true),
11637
+ $options.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
11638
+ $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11639
+ return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
11640
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_5$2, toDisplayString($options.fieldModel), 1))
11641
+ ], 64)) : createCommentVNode("", true),
11642
+ $options.type == "email" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
11643
+ $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11644
+ return openBlock(), createElementBlock("div", null, [
11645
+ createElementVNode("a", {
11646
+ href: `mailto:${value}`
11647
+ }, toDisplayString(value), 9, _hoisted_6$2)
11648
+ ]);
11649
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_7$2, [
11425
11650
  createElementVNode("a", {
11426
- href: `mailto:${value}`
11427
- }, toDisplayString(value), 9, _hoisted_5$2)
11428
- ]);
11429
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_6$1, [
11430
- createElementVNode("a", {
11431
- href: `mailto:${$options.fieldModel}`
11432
- }, toDisplayString($options.fieldModel), 9, _hoisted_7$1)
11433
- ]))
11434
- ], 64)) : createCommentVNode("", true),
11435
- $options.type == "url" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
11436
- $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11437
- return openBlock(), createElementBlock("div", null, [
11438
- createElementVNode("a", { href: value }, toDisplayString(value), 9, _hoisted_8$1)
11439
- ]);
11440
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_9, [
11441
- createElementVNode("a", { href: $options.fieldModel }, toDisplayString($options.fieldModel), 9, _hoisted_10)
11442
- ]))
11443
- ], 64)) : createCommentVNode("", true),
11444
- $options.isNumber ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
11445
- $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11446
- return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
11447
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_11, toDisplayString($options.fieldModel), 1))
11448
- ], 64)) : createCommentVNode("", true)
11651
+ href: `mailto:${$options.fieldModel}`
11652
+ }, toDisplayString($options.fieldModel), 9, _hoisted_8$1)
11653
+ ]))
11654
+ ], 64)) : createCommentVNode("", true),
11655
+ $options.type == "url" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
11656
+ $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11657
+ return openBlock(), createElementBlock("div", null, [
11658
+ createElementVNode("a", { href: value }, toDisplayString(value), 9, _hoisted_9)
11659
+ ]);
11660
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_10, [
11661
+ createElementVNode("a", { href: $options.fieldModel }, toDisplayString($options.fieldModel), 9, _hoisted_11)
11662
+ ]))
11663
+ ], 64)) : createCommentVNode("", true),
11664
+ $options.isNumber ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
11665
+ $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11666
+ return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
11667
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_12, toDisplayString($options.fieldModel), 1))
11668
+ ], 64)) : createCommentVNode("", true)
11669
+ ], 64))
11449
11670
  ], 2)) : createCommentVNode("", true);
11450
11671
  }
11451
- var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-02f0b094"]]);
11672
+ var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-28427b70"]]);
11452
11673
  var render_vue_vue_type_style_index_0_scoped_true_lang = "";
11453
- const _sfc_main$e = {
11674
+ const _sfc_main$f = {
11454
11675
  props: {
11455
11676
  parentModel: {
11456
11677
  type: Object
@@ -11470,6 +11691,10 @@ const _sfc_main$e = {
11470
11691
  flex: {
11471
11692
  type: Boolean,
11472
11693
  default: false
11694
+ },
11695
+ submission: {
11696
+ type: Boolean,
11697
+ default: false
11473
11698
  }
11474
11699
  },
11475
11700
  watch: {
@@ -11505,7 +11730,7 @@ const _sfc_main$e = {
11505
11730
  }
11506
11731
  }
11507
11732
  };
11508
- function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
11733
+ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
11509
11734
  const _component_ux_field_render = resolveComponent("ux-field-render");
11510
11735
  return openBlock(), createElementBlock("div", {
11511
11736
  class: normalizeClass(["ux-render", $options.renderClass])
@@ -11513,18 +11738,19 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
11513
11738
  renderSlot(_ctx.$slots, "render", { fields: $props.fields }, () => [
11514
11739
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.renderFields, (field, index2) => {
11515
11740
  return openBlock(), createBlock(_component_ux_field_render, {
11741
+ submission: $props.submission,
11516
11742
  field,
11517
11743
  modelValue: $data.model,
11518
11744
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model = $event),
11519
11745
  parentModel: $props.parentModel || $data.model,
11520
11746
  key: `ux-render-field-${field.key}-${index2}`,
11521
11747
  class: normalizeClass($options.fieldClass)
11522
- }, null, 8, ["field", "modelValue", "parentModel", "class"]);
11748
+ }, null, 8, ["submission", "field", "modelValue", "parentModel", "class"]);
11523
11749
  }), 128))
11524
11750
  ], true)
11525
11751
  ], 2);
11526
11752
  }
11527
- var UXRender = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-31c62e32"]]);
11753
+ var UXRender = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-4d848e06"]]);
11528
11754
  var isArray$3 = Array.isArray;
11529
11755
  var isArray_1 = isArray$3;
11530
11756
  var isArray$2 = isArray_1, isSymbol$2 = isSymbol_1;
@@ -11928,7 +12154,7 @@ var TableCellMixin = {
11928
12154
  }
11929
12155
  };
11930
12156
  var Thumbnail_vue_vue_type_style_index_0_scoped_true_lang = "";
11931
- const _sfc_main$d = {
12157
+ const _sfc_main$e = {
11932
12158
  mixins: [TableCellMixin],
11933
12159
  computed: {
11934
12160
  type() {
@@ -11937,11 +12163,11 @@ const _sfc_main$d = {
11937
12163
  }
11938
12164
  }
11939
12165
  };
11940
- const _hoisted_1$a = { class: "table-image-cell" };
11941
- function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
12166
+ const _hoisted_1$b = { class: "table-image-cell" };
12167
+ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
11942
12168
  const _component_ux_image = resolveComponent("ux-image");
11943
12169
  const _component_ux_icon = resolveComponent("ux-icon");
11944
- return openBlock(), createElementBlock("td", _hoisted_1$a, [
12170
+ return openBlock(), createElementBlock("td", _hoisted_1$b, [
11945
12171
  $options.type == "image" || $options.type == "video" ? (openBlock(), createBlock(_component_ux_image, {
11946
12172
  key: 0,
11947
12173
  item: _ctx.row,
@@ -11953,9 +12179,9 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
11953
12179
  }))
11954
12180
  ]);
11955
12181
  }
11956
- var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-6dbe8d2c"]]);
12182
+ var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-6dbe8d2c"]]);
11957
12183
  var Button_vue_vue_type_style_index_0_scoped_true_lang = "";
11958
- const _sfc_main$c = {
12184
+ const _sfc_main$d = {
11959
12185
  data() {
11960
12186
  return {
11961
12187
  processing: false
@@ -11979,11 +12205,11 @@ const _sfc_main$c = {
11979
12205
  }
11980
12206
  }
11981
12207
  };
11982
- const _hoisted_1$9 = { class: "table-button-cell" };
11983
- function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
12208
+ const _hoisted_1$a = { class: "table-button-cell" };
12209
+ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
11984
12210
  const _component_ux_icon = resolveComponent("ux-icon");
11985
12211
  const _component_ux_button = resolveComponent("ux-button");
11986
- return openBlock(), createElementBlock("td", _hoisted_1$9, [
12212
+ return openBlock(), createElementBlock("td", _hoisted_1$a, [
11987
12213
  createVNode(_component_ux_button, {
11988
12214
  size: $options.button.size,
11989
12215
  loading: $data.processing,
@@ -12003,7 +12229,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
12003
12229
  }, 8, ["size", "loading", "onClick"])
12004
12230
  ]);
12005
12231
  }
12006
- var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-3cbecb7e"]]);
12232
+ var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-3cbecb7e"]]);
12007
12233
  class LuxonError extends Error {
12008
12234
  }
12009
12235
  class InvalidDateTimeError extends LuxonError {
@@ -15837,19 +16063,71 @@ function friendlyDateTime(dateTimeish) {
15837
16063
  }
15838
16064
  }
15839
16065
  var DateCell_vue_vue_type_style_index_0_scoped_true_lang = "";
15840
- const _sfc_main$b = {
16066
+ const _sfc_main$c = {
15841
16067
  mixins: [TableCellMixin],
15842
16068
  computed: {
16069
+ timeago() {
16070
+ return DateTime.fromISO(this.value).toRelative();
16071
+ },
15843
16072
  readable() {
16073
+ let value = DateTime.fromISO(this.value);
16074
+ let now2 = DateTime.now();
16075
+ let currentYear = now2.toFormat("yyyy");
16076
+ now2.toFormat("MMM yyyy");
16077
+ if (value.toFormat("yyyy") === currentYear) {
16078
+ return DateTime.fromISO(this.value).toFormat("h:mm a - dd MMM");
16079
+ }
15844
16080
  return DateTime.fromISO(this.value).toFormat("h:mm a - dd MMM yyyy");
15845
16081
  }
15846
16082
  }
15847
16083
  };
15848
- const _hoisted_1$8 = { class: "table-date-cell" };
16084
+ const _hoisted_1$9 = { class: "table-date-cell" };
16085
+ const _hoisted_2$8 = { class: "off" };
16086
+ const _hoisted_3$6 = { class: "on" };
16087
+ const _hoisted_4$6 = { class: "spacer" };
16088
+ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
16089
+ return openBlock(), createElementBlock("td", _hoisted_1$9, [
16090
+ createElementVNode("div", null, [
16091
+ createElementVNode("span", _hoisted_2$8, toDisplayString($options.readable), 1),
16092
+ createElementVNode("span", _hoisted_3$6, toDisplayString($options.timeago), 1),
16093
+ createElementVNode("span", _hoisted_4$6, toDisplayString($options.readable), 1)
16094
+ ])
16095
+ ]);
16096
+ }
16097
+ var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-bde0ae3a"]]);
16098
+ var URLCell_vue_vue_type_style_index_0_scoped_true_lang = "";
16099
+ const _sfc_main$b = {
16100
+ mixins: [TableCellMixin],
16101
+ methods: {
16102
+ open() {
16103
+ window.open(this.href);
16104
+ }
16105
+ },
16106
+ computed: {
16107
+ href() {
16108
+ return `http://${this.value}`;
16109
+ }
16110
+ }
16111
+ };
16112
+ const _hoisted_1$8 = { class: "table-url-cell" };
16113
+ const _hoisted_2$7 = ["href"];
15849
16114
  function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
15850
- return openBlock(), createElementBlock("td", _hoisted_1$8, toDisplayString($options.readable), 1);
16115
+ const _component_ux_icon = resolveComponent("ux-icon");
16116
+ return openBlock(), createElementBlock("td", _hoisted_1$8, [
16117
+ createElementVNode("a", {
16118
+ href: $options.href,
16119
+ onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
16120
+ target: "_blank"
16121
+ }, [
16122
+ createTextVNode(toDisplayString(_ctx.value) + " ", 1),
16123
+ createVNode(_component_ux_icon, {
16124
+ right: "",
16125
+ icon: "fa-external-link"
16126
+ })
16127
+ ], 8, _hoisted_2$7)
16128
+ ]);
15851
16129
  }
15852
- var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-c81a1b0e"]]);
16130
+ var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-17cf3a86"]]);
15853
16131
  var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
15854
16132
  const _sfc_main$a = {
15855
16133
  props: {
@@ -15915,9 +16193,11 @@ const _sfc_main$9 = {
15915
16193
  ValueRenderer
15916
16194
  },
15917
16195
  async created() {
15918
- var self2 = this;
15919
- var component;
15920
- switch (self2.column.renderer) {
16196
+ const self2 = this;
16197
+ let component;
16198
+ const cellType = self2.column.type;
16199
+ const cellRenderer = self2.column.renderer;
16200
+ switch (cellRenderer) {
15921
16201
  case "button":
15922
16202
  component = ButtonCell;
15923
16203
  break;
@@ -15925,18 +16205,24 @@ const _sfc_main$9 = {
15925
16205
  case "datetime":
15926
16206
  component = DateCell;
15927
16207
  break;
16208
+ case "url":
16209
+ component = URLCell;
16210
+ break;
15928
16211
  case "thumbnail":
15929
16212
  component = ThumbnailCell;
15930
16213
  break;
15931
16214
  default:
15932
- switch (self2.column.type) {
16215
+ switch (cellType) {
15933
16216
  case "date":
15934
16217
  component = DateCell;
15935
16218
  break;
16219
+ case "url":
16220
+ component = URLCell;
16221
+ break;
15936
16222
  }
15937
16223
  break;
15938
16224
  }
15939
- this.component = component;
16225
+ self2.component = component;
15940
16226
  },
15941
16227
  props: {
15942
16228
  column: {
@@ -16011,7 +16297,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
16011
16297
  }, null, 8, ["type", "value"]))
16012
16298
  ]));
16013
16299
  }
16014
- var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-556162a3"]]);
16300
+ var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-b65aded4"]]);
16015
16301
  const _sfc_main$8 = {
16016
16302
  components: {
16017
16303
  TableCell
@@ -16081,13 +16367,14 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
16081
16367
  }, [
16082
16368
  createVNode(_component_ux_checkbox, { value: $props.selected }, null, 8, ["value"])
16083
16369
  ])) : createCommentVNode("", true),
16084
- (openBlock(true), createElementBlock(Fragment, null, renderList($props.columns, (column) => {
16370
+ (openBlock(true), createElementBlock(Fragment, null, renderList($props.columns, (column, index2) => {
16085
16371
  return openBlock(), createBlock(_component_table_cell, {
16372
+ key: `${column.path || column.key}-${index2}`,
16086
16373
  onClick: withModifiers(($event) => $options.clickCell(column), ["stop", "prevent"]),
16087
16374
  column,
16088
16375
  row: $props.row
16089
16376
  }, null, 8, ["onClick", "column", "row"]);
16090
- }), 256)),
16377
+ }), 128)),
16091
16378
  $props.enableActions ? (openBlock(), createElementBlock("th", {
16092
16379
  key: 1,
16093
16380
  class: "table-cell last shrink",
@@ -16292,8 +16579,8 @@ const _hoisted_3$4 = {
16292
16579
  };
16293
16580
  const _hoisted_4$4 = /* @__PURE__ */ createTextVNode(" Select Page ");
16294
16581
  const _hoisted_5$1 = /* @__PURE__ */ createTextVNode(" Deselect Page ");
16295
- const _hoisted_6 = /* @__PURE__ */ createTextVNode(" Deselect All ");
16296
- const _hoisted_7 = ["onClick"];
16582
+ const _hoisted_6$1 = /* @__PURE__ */ createTextVNode(" Deselect All ");
16583
+ const _hoisted_7$1 = ["onClick"];
16297
16584
  const _hoisted_8 = {
16298
16585
  key: 1,
16299
16586
  class: "last shrink"
@@ -16348,7 +16635,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
16348
16635
  onClick: _cache[3] || (_cache[3] = ($event) => $props.deselectAll())
16349
16636
  }, {
16350
16637
  default: withCtx(() => [
16351
- _hoisted_6
16638
+ _hoisted_6$1
16352
16639
  ]),
16353
16640
  _: 1
16354
16641
  })) : createCommentVNode("", true)
@@ -16363,7 +16650,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
16363
16650
  return openBlock(), createElementBlock("th", {
16364
16651
  onClick: ($event) => $options.toggleSort(column),
16365
16652
  class: normalizeClass(column.class)
16366
- }, toDisplayString(column.title), 11, _hoisted_7);
16653
+ }, toDisplayString(column.title), 11, _hoisted_7$1);
16367
16654
  }), 256)),
16368
16655
  $props.enableActions ? (openBlock(), createElementBlock("th", _hoisted_8, [
16369
16656
  renderSlot(_ctx.$slots, "corner", {}, void 0, true)
@@ -16390,7 +16677,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
16390
16677
  ], 512)
16391
16678
  ]);
16392
16679
  }
16393
- var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-5a1f230c"]]);
16680
+ var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-6a2e9dbe"]]);
16394
16681
  function Selection(options) {
16395
16682
  options = options || {};
16396
16683
  Math.max(parseInt(options.minimum || 0), 0);
@@ -16723,19 +17010,23 @@ function defaultColumns(self2, type) {
16723
17010
  ignoreTitle = true;
16724
17011
  columns.push({
16725
17012
  title: "First Name",
16726
- key: "firstName"
17013
+ key: "firstName",
17014
+ shrink: true
16727
17015
  });
16728
17016
  columns.push({
16729
17017
  title: "Last Name",
16730
- key: "lastName"
17018
+ key: "lastName",
17019
+ shrink: true
16731
17020
  });
16732
17021
  columns.push({
16733
17022
  title: "Gender",
16734
- key: "gender"
17023
+ key: "gender",
17024
+ shrink: true
16735
17025
  });
16736
17026
  columns.push({
16737
17027
  title: "Age",
16738
- key: "age"
17028
+ key: "age",
17029
+ shrink: true
16739
17030
  });
16740
17031
  break;
16741
17032
  case "definition":
@@ -16787,13 +17078,19 @@ function defaultColumns(self2, type) {
16787
17078
  });
16788
17079
  columns.push({
16789
17080
  title: "Mime Type",
16790
- key: "fileMime"
16791
- });
16792
- columns.push({
16793
- title: "File Type",
16794
- key: "mediaIntegrationType",
17081
+ key: "fileMime",
16795
17082
  shrink: true
16796
17083
  });
17084
+ switch (type) {
17085
+ case "image":
17086
+ case "video":
17087
+ columns.push({
17088
+ title: "Media Type",
17089
+ key: "mediaIntegrationType",
17090
+ shrink: true
17091
+ });
17092
+ break;
17093
+ }
16797
17094
  break;
16798
17095
  }
16799
17096
  if (!ignoreTitle) {
@@ -16881,6 +17178,10 @@ const _sfc_main$5 = {
16881
17178
  enableActions: {
16882
17179
  type: Boolean,
16883
17180
  default: false
17181
+ },
17182
+ trash: {
17183
+ type: Boolean,
17184
+ default: false
16884
17185
  }
16885
17186
  },
16886
17187
  components: {
@@ -16964,21 +17265,46 @@ const _sfc_main$5 = {
16964
17265
  return defaultSort;
16965
17266
  },
16966
17267
  fields() {
16967
- var allFields = [...this.definition.fields];
16968
- var definedFields = this.definition.definedFields || [];
17268
+ const self2 = this;
17269
+ const isFormSubmission = self2.definition.definesType === "submission";
17270
+ var allFields = [...self2.definition.fields];
17271
+ var definedFields = self2.definition.definedFields || [];
16969
17272
  if (definedFields.length) {
16970
- var customFields = {
16971
- title: `${this.definition.title}`,
16972
- minimum: 1,
16973
- maximum: 1,
16974
- key: "data",
16975
- asObject: true,
16976
- type: "group",
16977
- fields: definedFields
16978
- };
16979
- allFields.push(customFields);
17273
+ if (isFormSubmission) {
17274
+ var formDataFields = {
17275
+ title: `Form Data`,
17276
+ minimum: 1,
17277
+ maximum: 1,
17278
+ key: "formData",
17279
+ asObject: true,
17280
+ type: "group",
17281
+ fields: definedFields
17282
+ };
17283
+ allFields.push(formDataFields);
17284
+ var dataFields = {
17285
+ title: `Data`,
17286
+ minimum: 1,
17287
+ maximum: 1,
17288
+ key: "data",
17289
+ asObject: true,
17290
+ type: "group",
17291
+ fields: definedFields
17292
+ };
17293
+ allFields.push(dataFields);
17294
+ } else {
17295
+ var dataFields = {
17296
+ title: `${self2.definition.title}`,
17297
+ minimum: 1,
17298
+ maximum: 1,
17299
+ key: "data",
17300
+ asObject: true,
17301
+ type: "group",
17302
+ fields: definedFields
17303
+ };
17304
+ allFields.push(dataFields);
17305
+ }
16980
17306
  }
16981
- var mapped = this.$qik.utils.mapFields(allFields).filter(function(field) {
17307
+ var mapped = self2.$qik.utils.mapFields(allFields).filter(function(field) {
16982
17308
  var isObject2 = field.type == "group" && field.asObject && (field.minimum == 1 && field.maximum == 1);
16983
17309
  return !isObject2;
16984
17310
  }).map(function(field) {
@@ -17009,54 +17335,46 @@ const _sfc_main$5 = {
17009
17335
  return this.definition.plural;
17010
17336
  },
17011
17337
  selectFields() {
17012
- var fields = this.columns.map(function(column) {
17013
- if (column.fields) {
17014
- return [column.key, ...column.fields];
17015
- }
17016
- return column.key;
17338
+ const self2 = this;
17339
+ var fields = self2.columns.map(function(column) {
17340
+ return column.path || column.key;
17017
17341
  }).flat();
17018
- if (this.options.select) {
17019
- fields = [...fields, ...this.options.select];
17342
+ if (self2.options.select) {
17343
+ fields = [...fields, ...self2.options.select];
17020
17344
  }
17021
17345
  return fields;
17022
17346
  },
17023
17347
  columns() {
17024
17348
  let columns = [];
17025
- columns = defaultColumns(this, this.basicType);
17026
- var existingColumns = columns.reduce(function(set, column) {
17027
- set[column.key] = 1;
17028
- return set;
17029
- }, {});
17030
- var augmentColumns = this.options.columns || [];
17031
- augmentColumns.forEach(function(col) {
17032
- if (!existingColumns[col.path || col.key]) {
17033
- existingColumns[col.path || col.key] = 1;
17034
- columns.push(__spreadProps(__spreadValues({}, col), {
17035
- key: col.path || col.key
17036
- }));
17037
- }
17038
- });
17349
+ let columnHash = {};
17350
+ function addColumn(force) {
17351
+ return function(col) {
17352
+ var alreadySelected = columnHash[col.path || col.key];
17353
+ if (force || !alreadySelected) {
17354
+ columnHash[col.path || col.key] = 1;
17355
+ columns.push(__spreadProps(__spreadValues({}, col), {
17356
+ key: col.path || col.key
17357
+ }));
17358
+ }
17359
+ };
17360
+ }
17361
+ var prefixColumns = this.options.prefixColumns || [];
17362
+ prefixColumns.forEach(addColumn(true));
17363
+ var optionColumns = this.options.columns;
17364
+ var basicColumns = optionColumns && optionColumns.length ? optionColumns : defaultColumns(this, this.basicType);
17365
+ if (!basicColumns.length) {
17366
+ basicColumns.push({
17367
+ title: "Title",
17368
+ key: "title"
17369
+ });
17370
+ }
17371
+ basicColumns.forEach(addColumn(true));
17039
17372
  var additionalFields = this.additionalFields;
17040
- additionalFields.forEach(function(field) {
17041
- if (!existingColumns[field.path || field.key]) {
17042
- existingColumns[field.path || field.key] = 1;
17043
- columns.push({
17044
- title: field.title,
17045
- key: field.path || field.key,
17046
- type: field.type
17047
- });
17048
- }
17049
- });
17373
+ additionalFields.forEach(addColumn());
17374
+ var suffixColumns = this.options.suffixColumns || [];
17375
+ suffixColumns.forEach(addColumn(true));
17050
17376
  var activeFilters = this.activeFilters;
17051
- activeFilters.forEach(function(filter) {
17052
- if (!existingColumns[filter.key]) {
17053
- existingColumns[filter.key] = 1;
17054
- columns.push({
17055
- title: filter.key,
17056
- key: filter.key
17057
- });
17058
- }
17059
- });
17377
+ activeFilters.forEach(addColumn());
17060
17378
  return columns;
17061
17379
  },
17062
17380
  filterChangeString() {
@@ -17100,11 +17418,12 @@ const _sfc_main$5 = {
17100
17418
  },
17101
17419
  methods: {
17102
17420
  toggleField(field) {
17103
- var key = field.path;
17421
+ var key = field.path || field.key;
17104
17422
  var index2 = this.additionalFields.findIndex(function(f) {
17105
- return f.key == key;
17423
+ return f.path === key || f.key === key;
17106
17424
  });
17107
- if (index2 == -1) {
17425
+ console.log("index", index2, key);
17426
+ if (index2 === -1) {
17108
17427
  this.additionalFields.push(field);
17109
17428
  } else {
17110
17429
  this.additionalFields.splice(index2, 1);
@@ -17116,6 +17435,9 @@ const _sfc_main$5 = {
17116
17435
  }
17117
17436
  row.meta.type = this.basicType;
17118
17437
  row.meta.definition = this.definition.key;
17438
+ if (this.trash) {
17439
+ row.meta.deleted = true;
17440
+ }
17119
17441
  return row;
17120
17442
  },
17121
17443
  deselectAll() {
@@ -17170,6 +17492,9 @@ const _sfc_main$5 = {
17170
17492
  }
17171
17493
  var loadCriteria = Object.assign({}, self2.loadCriteria);
17172
17494
  loadCriteria.includeAll = includeAll;
17495
+ if (self2.trash) {
17496
+ loadCriteria.trash = true;
17497
+ }
17173
17498
  const { promise, cancel } = await self2.$qik.content.list(self2.type, loadCriteria, { cancellable: true });
17174
17499
  cancelInflight = cancel;
17175
17500
  promise.then(function(res) {
@@ -17208,7 +17533,7 @@ const _sfc_main$5 = {
17208
17533
  };
17209
17534
  }
17210
17535
  };
17211
- const _withScopeId = (n2) => (pushScopeId("data-v-366dafae"), n2 = n2(), popScopeId(), n2);
17536
+ const _withScopeId = (n2) => (pushScopeId("data-v-685be52b"), n2 = n2(), popScopeId(), n2);
17212
17537
  const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
17213
17538
  const _hoisted_2$4 = { class: "footer" };
17214
17539
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
@@ -17279,7 +17604,8 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
17279
17604
  default: withCtx(() => [
17280
17605
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.fields, (field) => {
17281
17606
  return openBlock(), createBlock(_component_ux_list_item, {
17282
- onClick: ($event) => $options.toggleField(field)
17607
+ onClick: ($event) => $options.toggleField(field),
17608
+ key: field.path
17283
17609
  }, {
17284
17610
  default: withCtx(() => [
17285
17611
  createVNode(_component_ux_icon, {
@@ -17290,7 +17616,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
17290
17616
  ]),
17291
17617
  _: 2
17292
17618
  }, 1032, ["onClick"]);
17293
- }), 256))
17619
+ }), 128))
17294
17620
  ]),
17295
17621
  _: 1
17296
17622
  })
@@ -17377,7 +17703,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
17377
17703
  _: 3
17378
17704
  })) : createCommentVNode("", true);
17379
17705
  }
17380
- var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-366dafae"]]);
17706
+ var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-685be52b"]]);
17381
17707
  var ModalMixin = {
17382
17708
  props: {
17383
17709
  options: {
@@ -17524,67 +17850,93 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
17524
17850
  var QikConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-20b62981"]]);
17525
17851
  var OptionsModal_vue_vue_type_style_index_0_scoped_true_lang = "";
17526
17852
  const _sfc_main$2 = {
17527
- mixins: [ModalMixin]
17853
+ data() {
17854
+ return {
17855
+ selected: null
17856
+ };
17857
+ },
17858
+ mixins: [ModalMixin],
17859
+ methods: {
17860
+ select(choice) {
17861
+ this.selected = choice;
17862
+ this.close(choice);
17863
+ }
17864
+ }
17865
+ };
17866
+ const _hoisted_1$2 = { class: "header" };
17867
+ const _hoisted_2$2 = { class: "padder" };
17868
+ const _hoisted_3$2 = ["onClick"];
17869
+ const _hoisted_4$2 = {
17870
+ key: 0,
17871
+ class: "title"
17872
+ };
17873
+ const _hoisted_5 = {
17874
+ key: 1,
17875
+ class: "description"
17528
17876
  };
17529
- const _hoisted_1$2 = /* @__PURE__ */ createTextVNode(" Options ");
17530
- const _hoisted_2$2 = /* @__PURE__ */ createTextVNode(" Options ");
17531
- const _hoisted_3$2 = { class: "padder" };
17532
- const _hoisted_4$2 = /* @__PURE__ */ createTextVNode("Cancel");
17533
- const _hoisted_5 = /* @__PURE__ */ createTextVNode("Confirm");
17877
+ const _hoisted_6 = { class: "padder" };
17878
+ const _hoisted_7 = /* @__PURE__ */ createTextVNode("Cancel");
17534
17879
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
17535
17880
  const _component_flex_header = resolveComponent("flex-header");
17536
- const _component_flex_body = resolveComponent("flex-body");
17537
- const _component_ux_button = resolveComponent("ux-button");
17538
17881
  const _component_flex_cell = resolveComponent("flex-cell");
17539
- const _component_flex_spacer = resolveComponent("flex-spacer");
17882
+ const _component_ux_icon = resolveComponent("ux-icon");
17540
17883
  const _component_flex_row = resolveComponent("flex-row");
17884
+ const _component_flex_body = resolveComponent("flex-body");
17885
+ const _component_ux_button = resolveComponent("ux-button");
17541
17886
  const _component_flex_footer = resolveComponent("flex-footer");
17542
17887
  const _component_flex_column = resolveComponent("flex-column");
17543
- return openBlock(), createBlock(_component_flex_column, null, {
17888
+ return openBlock(), createBlock(_component_flex_column, { class: "wrapper" }, {
17544
17889
  default: withCtx(() => [
17545
17890
  createVNode(_component_flex_header, null, {
17546
17891
  default: withCtx(() => [
17547
- _hoisted_1$2
17548
- ]),
17549
- _: 1
17550
- }),
17551
- createVNode(_component_flex_body, null, {
17552
- default: withCtx(() => [
17553
- _hoisted_2$2
17892
+ createElementVNode("div", _hoisted_1$2, [
17893
+ createElementVNode("h5", null, toDisplayString(_ctx.options.title), 1),
17894
+ createElementVNode("div", null, toDisplayString(_ctx.options.description), 1)
17895
+ ])
17554
17896
  ]),
17555
17897
  _: 1
17556
17898
  }),
17557
- createVNode(_component_flex_footer, null, {
17899
+ createVNode(_component_flex_body, { class: "body" }, {
17558
17900
  default: withCtx(() => [
17559
- createElementVNode("div", _hoisted_3$2, [
17560
- createVNode(_component_flex_row, null, {
17561
- default: withCtx(() => [
17562
- createVNode(_component_flex_cell, { shrink: "" }, {
17901
+ createElementVNode("div", _hoisted_2$2, [
17902
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options.choices, (choice) => {
17903
+ return openBlock(), createElementBlock("div", {
17904
+ class: "choice",
17905
+ onClick: ($event) => $options.select(choice)
17906
+ }, [
17907
+ createVNode(_component_flex_row, { vcenter: "" }, {
17563
17908
  default: withCtx(() => [
17564
- createVNode(_component_ux_button, { onClick: _ctx.dismiss }, {
17909
+ createVNode(_component_flex_cell, null, {
17565
17910
  default: withCtx(() => [
17566
- _hoisted_4$2
17911
+ choice.title ? (openBlock(), createElementBlock("div", _hoisted_4$2, toDisplayString(choice.title), 1)) : createCommentVNode("", true),
17912
+ choice.description ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(choice.description), 1)) : createCommentVNode("", true)
17567
17913
  ]),
17568
- _: 1
17569
- }, 8, ["onClick"])
17570
- ]),
17571
- _: 1
17572
- }),
17573
- createVNode(_component_flex_spacer),
17574
- createVNode(_component_flex_cell, { shrink: "" }, {
17575
- default: withCtx(() => [
17576
- createVNode(_component_ux_button, { onClick: _ctx.close }, {
17914
+ _: 2
17915
+ }, 1024),
17916
+ createVNode(_component_flex_cell, { shrink: "" }, {
17577
17917
  default: withCtx(() => [
17578
- _hoisted_5
17918
+ createVNode(_component_ux_icon, { icon: "fa-angle-right" })
17579
17919
  ]),
17580
17920
  _: 1
17581
- }, 8, ["onClick"])
17921
+ })
17582
17922
  ]),
17583
- _: 1
17584
- })
17923
+ _: 2
17924
+ }, 1024)
17925
+ ], 8, _hoisted_3$2);
17926
+ }), 256))
17927
+ ])
17928
+ ]),
17929
+ _: 1
17930
+ }),
17931
+ createVNode(_component_flex_footer, null, {
17932
+ default: withCtx(() => [
17933
+ createElementVNode("div", _hoisted_6, [
17934
+ createVNode(_component_ux_button, { onClick: _ctx.dismiss }, {
17935
+ default: withCtx(() => [
17936
+ _hoisted_7
17585
17937
  ]),
17586
17938
  _: 1
17587
- })
17939
+ }, 8, ["onClick"])
17588
17940
  ])
17589
17941
  ]),
17590
17942
  _: 1
@@ -17593,7 +17945,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
17593
17945
  _: 1
17594
17946
  });
17595
17947
  }
17596
- var QikOptionsModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-62010c97"]]);
17948
+ var QikOptionsModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-52f8951e"]]);
17597
17949
  var PromptModal_vue_vue_type_style_index_0_scoped_true_lang = "";
17598
17950
  const _sfc_main$1 = {
17599
17951
  mixins: [ModalMixin],
@@ -18004,7 +18356,9 @@ const defaultComponents = {
18004
18356
  UxList: UXList,
18005
18357
  UxListItem: UXListItem,
18006
18358
  UxForm: UXForm,
18359
+ UxSubmissionForm: UXSubmissionForm,
18007
18360
  UxFormField: UXFormField,
18361
+ UxSubmissionForm: UXSubmissionForm,
18008
18362
  UxRender: UXRender,
18009
18363
  UxRenderField: UXRenderField,
18010
18364
  UxIcon: UXIcon,
@@ -18081,5 +18435,5 @@ const QikUI = {
18081
18435
  }
18082
18436
  }
18083
18437
  };
18084
- export { CodeEditor, ContentBrowser, device as Device, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikConfirmModal, QikContentModal, QikModal, QikOptionsModal, QikPromptModal, QikUI, RememberScrollMixin, Search, Selection, Spinner, UXButton, UXCheckbox, UXForm, UXFormField, UXIcon, UXImage, UXLink, UXList, UXListItem, UXMenu, UXRender, UXRenderField, UXSwitch, UXTab, UXTabset };
18438
+ export { CodeEditor, ContentBrowser, device as Device, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikConfirmModal, QikContentModal, QikModal, QikOptionsModal, QikPromptModal, QikUI, RememberScrollMixin, Search, Selection, Spinner, UXButton, UXCheckbox, UXForm, UXFormField, UXIcon, UXImage, UXLink, UXList, UXListItem, UXMenu, UXRender, UXRenderField, UXSubmissionForm, UXSwitch, UXTab, UXTabset };
18085
18439
  //# sourceMappingURL=lib.es.js.map