@qikdev/vue-ui 0.1.35 → 0.1.38

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.35";
35
+ const version$1 = "0.1.38";
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 = "";
62
+ const _sfc_main$17 = {};
63
+ const _hoisted_1$V = { class: "flex-column-header" };
64
+ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
65
+ return openBlock(), createElementBlock("div", _hoisted_1$V, [
66
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
67
+ ]);
68
+ }
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 = "";
44
71
  const _sfc_main$16 = {};
45
- const _hoisted_1$U = { class: "flex-column" };
72
+ const _hoisted_1$U = { class: "flex-column-footer" };
46
73
  function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
47
74
  return openBlock(), createElementBlock("div", _hoisted_1$U, [
48
75
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
49
76
  ]);
50
77
  }
51
- var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-203ea86f"]]);
52
- var flexBody_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 = "";
53
80
  const _sfc_main$15 = {};
54
- const _hoisted_1$T = { class: "flex-column-body" };
81
+ const _hoisted_1$T = { class: "flex-cell" };
55
82
  function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
56
83
  return openBlock(), createElementBlock("div", _hoisted_1$T, [
57
84
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
58
85
  ]);
59
86
  }
60
- var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-64850355"]]);
61
- var flexHeader_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 = "";
62
89
  const _sfc_main$14 = {};
63
- const _hoisted_1$S = { class: "flex-column-header" };
90
+ const _hoisted_1$S = { class: "flex-row" };
64
91
  function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
65
92
  return openBlock(), createElementBlock("div", _hoisted_1$S, [
66
93
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
67
94
  ]);
68
95
  }
69
- var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-10b28f00"]]);
70
- var flexFooter_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 = "";
71
98
  const _sfc_main$13 = {};
72
- const _hoisted_1$R = { class: "flex-column-footer" };
99
+ const _hoisted_1$R = { class: "flex-spacer" };
73
100
  function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
74
- return openBlock(), createElementBlock("div", _hoisted_1$R, [
75
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
76
- ]);
101
+ return openBlock(), createElementBlock("div", _hoisted_1$R);
77
102
  }
78
- var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-68216a72"]]);
79
- var flexCell_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 = "";
80
105
  const _sfc_main$12 = {};
81
- const _hoisted_1$Q = { class: "flex-cell" };
106
+ const _hoisted_1$Q = { class: "panel" };
82
107
  function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
83
108
  return openBlock(), createElementBlock("div", _hoisted_1$Q, [
84
109
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
85
110
  ]);
86
111
  }
87
- var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-644bb279"]]);
88
- var flexRow_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 = "";
89
114
  const _sfc_main$11 = {};
90
- const _hoisted_1$P = { class: "flex-row" };
115
+ const _hoisted_1$P = { class: "panel-body" };
91
116
  function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
92
117
  return openBlock(), createElementBlock("div", _hoisted_1$P, [
93
118
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
94
119
  ]);
95
120
  }
96
- var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-5b76ad1f"]]);
97
- var flexSpacer_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 = "";
98
123
  const _sfc_main$10 = {};
99
- const _hoisted_1$O = { class: "flex-spacer" };
124
+ const _hoisted_1$O = { class: "panel-header" };
100
125
  function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
101
- return openBlock(), createElementBlock("div", _hoisted_1$O);
102
- }
103
- var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-35b15579"]]);
104
- var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
105
- const _sfc_main$$ = {};
106
- const _hoisted_1$N = { class: "panel" };
107
- function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
108
- return openBlock(), createElementBlock("div", _hoisted_1$N, [
109
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
110
- ]);
111
- }
112
- var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-50ae77fc"]]);
113
- var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
114
- const _sfc_main$_ = {};
115
- const _hoisted_1$M = { class: "panel-body" };
116
- function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
117
- return openBlock(), createElementBlock("div", _hoisted_1$M, [
118
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
119
- ]);
120
- }
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$Z = {};
124
- const _hoisted_1$L = { class: "panel-header" };
125
- function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
126
- return openBlock(), createElementBlock("div", _hoisted_1$L, [
126
+ return openBlock(), createElementBlock("div", _hoisted_1$O, [
127
127
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
128
128
  ]);
129
129
  }
130
- var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__scopeId", "data-v-13bf11da"]]);
130
+ var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-13bf11da"]]);
131
131
  var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
132
- const _sfc_main$Y = {};
133
- const _hoisted_1$K = { class: "panel-footer" };
134
- function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
135
- return openBlock(), createElementBlock("div", _hoisted_1$K, [
132
+ const _sfc_main$$ = {};
133
+ const _hoisted_1$N = { class: "panel-footer" };
134
+ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
135
+ return openBlock(), createElementBlock("div", _hoisted_1$N, [
136
136
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
137
137
  ]);
138
138
  }
139
- var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__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$X = {
141
+ const _sfc_main$_ = {
142
142
  data() {
143
143
  return {
144
144
  activeIndex: 0
@@ -146,20 +146,18 @@ const _sfc_main$X = {
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$J = ["onClick"];
162
- function _sfc_render$X(_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$X(_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$J);
174
+ }, toDisplayString(tab.props.heading), 11, _hoisted_1$M);
177
175
  }), 256))
178
176
  ]),
179
177
  _: 1
@@ -200,8 +198,8 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
200
198
  _: 1
201
199
  });
202
200
  }
203
- var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__scopeId", "data-v-b5715b66"]]);
204
- const _sfc_main$W = {
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$W = {
224
222
  }
225
223
  }
226
224
  };
227
- function _sfc_render$W(_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$W(_ctx, _cache, $props, $setup, $data, $options) {
233
231
  _: 3
234
232
  });
235
233
  }
236
- var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W]]);
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$V = {
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$I = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("i", { class: "fa fa-spin fa-spinner" }, null, -1));
247
- const _hoisted_2$y = [
248
- _hoisted_1$I
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$V(_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$V, [["render", _sfc_render$V], ["__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$U = {
255
+ const _sfc_main$X = {
258
256
  components: {
259
257
  Spinner
260
258
  },
@@ -287,6 +285,9 @@ const _sfc_main$U = {
287
285
  loading: {
288
286
  type: Boolean
289
287
  },
288
+ active: {
289
+ type: Boolean
290
+ },
290
291
  disabled: {
291
292
  type: Boolean
292
293
  },
@@ -318,6 +319,9 @@ const _sfc_main$U = {
318
319
  if (this.loading) {
319
320
  array.push(`ux-btn-loading`);
320
321
  }
322
+ if (this.active) {
323
+ array.push(`ux-btn-active`);
324
+ }
321
325
  if (this.icon) {
322
326
  array.push(`ux-btn-icon`);
323
327
  }
@@ -347,10 +351,11 @@ const _sfc_main$U = {
347
351
  }
348
352
  }
349
353
  };
350
- const _hoisted_1$H = { class: "ux-btn-text" };
351
- function _sfc_render$U(_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) {
352
356
  const _component_spinner = resolveComponent("spinner");
353
357
  return openBlock(), createBlock(resolveDynamicComponent($options.element), {
358
+ active: $props.active,
354
359
  loading: $props.loading,
355
360
  to: $props.to,
356
361
  href: $props.href,
@@ -361,16 +366,16 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
361
366
  }, {
362
367
  default: withCtx(() => [
363
368
  $props.loading ? (openBlock(), createBlock(_component_spinner, { key: 0 })) : createCommentVNode("", true),
364
- createElementVNode("span", _hoisted_1$H, [
369
+ createElementVNode("span", _hoisted_1$K, [
365
370
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
366
371
  ])
367
372
  ]),
368
373
  _: 3
369
- }, 8, ["loading", "to", "href", "target", "style", "class", "disabled"]);
374
+ }, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
370
375
  }
371
- var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-17674eca"]]);
376
+ var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__scopeId", "data-v-bcaad93a"]]);
372
377
  var checkbox_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
373
- const _sfc_main$T = {
378
+ const _sfc_main$W = {
374
379
  props: {
375
380
  value: {
376
381
  type: Boolean,
@@ -391,7 +396,7 @@ const _sfc_main$T = {
391
396
  }
392
397
  }
393
398
  };
394
- function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
399
+ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
395
400
  const _component_ux_icon = resolveComponent("ux-icon");
396
401
  return openBlock(), createElementBlock("button", {
397
402
  class: normalizeClass(["ux-checkbox", $options.classes])
@@ -402,9 +407,9 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
402
407
  })
403
408
  ], 2);
404
409
  }
405
- var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__scopeId", "data-v-7dd035b9"]]);
410
+ var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-7dd035b9"]]);
406
411
  var switch_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
407
- const _sfc_main$S = {
412
+ const _sfc_main$V = {
408
413
  props: {
409
414
  value: {
410
415
  type: Boolean,
@@ -434,7 +439,7 @@ const _sfc_main$S = {
434
439
  }
435
440
  }
436
441
  };
437
- function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
442
+ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
438
443
  const _component_ux_icon = resolveComponent("ux-icon");
439
444
  return openBlock(), createElementBlock("a", {
440
445
  class: normalizeClass(["ux-switch", $options.classes])
@@ -447,9 +452,9 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
447
452
  ])
448
453
  ], 2);
449
454
  }
450
- var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__scopeId", "data-v-4063e9b5"]]);
455
+ var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__scopeId", "data-v-4063e9b5"]]);
451
456
  var link_vue_vue_type_style_index_0_scoped_true_lang = "";
452
- const _sfc_main$R = {
457
+ const _sfc_main$U = {
453
458
  props: {
454
459
  to: {
455
460
  type: [Object, String]
@@ -514,7 +519,7 @@ const _sfc_main$R = {
514
519
  }
515
520
  }
516
521
  };
517
- function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
522
+ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
518
523
  return openBlock(), createBlock(resolveDynamicComponent($options.element), {
519
524
  onClick: $options.clicked,
520
525
  to: $props.to,
@@ -528,9 +533,9 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
528
533
  _: 3
529
534
  }, 8, ["onClick", "to", "href", "target", "class"]);
530
535
  }
531
- var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-4ed46cbc"]]);
536
+ var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-4ed46cbc"]]);
532
537
  var icon_vue_vue_type_style_index_0_scoped_true_lang = "";
533
- const _sfc_main$Q = {
538
+ const _sfc_main$T = {
534
539
  props: {
535
540
  icon: {
536
541
  type: [Object, String]
@@ -565,17 +570,17 @@ const _sfc_main$Q = {
565
570
  }
566
571
  }
567
572
  };
568
- function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
573
+ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
569
574
  return openBlock(), createBlock(resolveDynamicComponent($options.element), {
570
575
  class: normalizeClass(["ux-icon fa", $options.classes])
571
576
  }, null, 8, ["class"]);
572
577
  }
573
- var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-1764a3d0"]]);
578
+ var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__scopeId", "data-v-1764a3d0"]]);
574
579
  var UXMenuService = {
575
580
  cache: {}
576
581
  };
577
582
  var menu_vue_vue_type_style_index_0_scoped_true_lang = "";
578
- const _sfc_main$P = {
583
+ const _sfc_main$S = {
579
584
  props: {
580
585
  group: {
581
586
  type: String
@@ -727,7 +732,7 @@ const _sfc_main$P = {
727
732
  }
728
733
  }
729
734
  };
730
- function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
735
+ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
731
736
  return openBlock(), createElementBlock("div", {
732
737
  class: normalizeClass(["ux-menu", { right: $props.right }])
733
738
  }, [
@@ -751,9 +756,9 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
751
756
  ]))
752
757
  ], 2);
753
758
  }
754
- var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__scopeId", "data-v-3d55731c"]]);
759
+ var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__scopeId", "data-v-29d476a2"]]);
755
760
  var image_vue_vue_type_style_index_0_scoped_true_lang = "";
756
- const _sfc_main$O = {
761
+ const _sfc_main$R = {
757
762
  props: {
758
763
  item: {
759
764
  type: Object
@@ -859,18 +864,18 @@ const _sfc_main$O = {
859
864
  }
860
865
  }
861
866
  };
862
- const _hoisted_1$G = ["src"];
863
- function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
867
+ const _hoisted_1$J = ["src"];
868
+ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
864
869
  return openBlock(), createElementBlock("div", {
865
870
  class: "ux-image",
866
871
  style: normalizeStyle($options.style)
867
872
  }, [
868
- createElementVNode("img", { src: $options.src }, null, 8, _hoisted_1$G)
873
+ createElementVNode("img", { src: $options.src }, null, 8, _hoisted_1$J)
869
874
  ], 4);
870
875
  }
871
- var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__scopeId", "data-v-7b68ec1a"]]);
876
+ var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-7b68ec1a"]]);
872
877
  var progressbar_vue_vue_type_style_index_0_scoped_true_lang = "";
873
- const _sfc_main$N = {
878
+ const _sfc_main$Q = {
874
879
  props: {
875
880
  value: {
876
881
  type: Number
@@ -905,36 +910,90 @@ const _sfc_main$N = {
905
910
  }
906
911
  };
907
912
  const _withScopeId$3 = (n2) => (pushScopeId("data-v-6581fb86"), n2 = n2(), popScopeId(), n2);
908
- const _hoisted_1$F = { class: "ux-progress" };
909
- const _hoisted_2$x = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ux-progress-bg" }, null, -1));
910
- function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
911
- return openBlock(), createElementBlock("div", _hoisted_1$F, [
912
- _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,
913
918
  createElementVNode("div", {
914
919
  class: "ux-progress-fg",
915
920
  style: normalizeStyle($options.barStyle)
916
921
  }, null, 4)
917
922
  ]);
918
923
  }
919
- var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__scopeId", "data-v-6581fb86"]]);
924
+ var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-6581fb86"]]);
920
925
  var list_vue_vue_type_style_index_0_scoped_true_lang = "";
921
- const _sfc_main$M = {};
922
- const _hoisted_1$E = { class: "ux-list" };
923
- function _sfc_render$M(_ctx, _cache) {
924
- return openBlock(), createElementBlock("ul", _hoisted_1$E, [
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, [
925
930
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
926
931
  ]);
927
932
  }
928
- var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-98e1e4e2"]]);
933
+ var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__scopeId", "data-v-98e1e4e2"]]);
929
934
  var listItem_vue_vue_type_style_index_0_scoped_true_lang = "";
930
- const _sfc_main$L = {};
931
- const _hoisted_1$D = { class: "ux-list-item" };
932
- function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
933
- return openBlock(), createElementBlock("div", _hoisted_1$D, [
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, [
934
939
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
935
940
  ]);
936
941
  }
937
- var UXListItem = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__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;
938
997
  function isUndefined$7(v, type) {
939
998
  return v === void 0 || v === null || type == "date" && v.toString && v.toString() === "Invalid Date";
940
999
  }
@@ -959,7 +1018,7 @@ var InputMixin = {
959
1018
  modelValue(val, old) {
960
1019
  var cleanedValue = this.cleanInput(val);
961
1020
  var cleanedModel = this.cleanInput(this.model);
962
- if (JSON.stringify(cleanedValue) != JSON.stringify(cleanedModel)) {
1021
+ if (safeJsonStringify$1(cleanedValue) != safeJsonStringify$1(cleanedModel)) {
963
1022
  this.model = cleanedValue;
964
1023
  }
965
1024
  }
@@ -1287,7 +1346,7 @@ var select_vue_vue_type_style_index_0_scoped_true_lang = "";
1287
1346
  function isUndefined$6(entry) {
1288
1347
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
1289
1348
  }
1290
- const _sfc_main$K = {
1349
+ const _sfc_main$N = {
1291
1350
  props: {
1292
1351
  title: {
1293
1352
  type: String
@@ -1372,19 +1431,19 @@ const _sfc_main$K = {
1372
1431
  }
1373
1432
  }
1374
1433
  };
1375
- const _hoisted_1$C = {
1434
+ const _hoisted_1$F = {
1376
1435
  key: 0,
1377
1436
  class: "ux-field-title"
1378
1437
  };
1379
- const _hoisted_2$w = {
1438
+ const _hoisted_2$z = {
1380
1439
  key: 0,
1381
1440
  class: "ux-required-marker"
1382
1441
  };
1383
- const _hoisted_3$t = {
1442
+ const _hoisted_3$v = {
1384
1443
  key: 1,
1385
1444
  class: "ux-field-description"
1386
1445
  };
1387
- const _hoisted_4$r = {
1446
+ const _hoisted_4$s = {
1388
1447
  key: 2,
1389
1448
  class: "ui-select-button"
1390
1449
  };
@@ -1393,18 +1452,18 @@ const _hoisted_6$g = {
1393
1452
  key: 0,
1394
1453
  value: ""
1395
1454
  };
1396
- const _hoisted_7$d = ["value"];
1397
- function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
1455
+ const _hoisted_7$e = ["value"];
1456
+ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
1398
1457
  const _component_ux_button = resolveComponent("ux-button");
1399
1458
  return openBlock(), createElementBlock("div", {
1400
1459
  class: normalizeClass(["native-select", $options.classes])
1401
1460
  }, [
1402
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$C, [
1461
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$F, [
1403
1462
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
1404
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$w, "*")) : createCommentVNode("", true)
1463
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$z, "*")) : createCommentVNode("", true)
1405
1464
  ])) : createCommentVNode("", true),
1406
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$t, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
1407
- _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, [
1408
1467
  renderSlot(_ctx.$slots, "default", {}, () => [
1409
1468
  createVNode(_component_ux_button, { tag: "div" }, {
1410
1469
  default: withCtx(() => [
@@ -1423,16 +1482,16 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
1423
1482
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
1424
1483
  return openBlock(), createElementBlock("option", {
1425
1484
  value: option2.value
1426
- }, toDisplayString(option2.title), 9, _hoisted_7$d);
1485
+ }, toDisplayString(option2.title), 9, _hoisted_7$e);
1427
1486
  }), 256))
1428
1487
  ], 40, _hoisted_5$k), [
1429
1488
  [vModelSelect, _ctx.model]
1430
1489
  ])
1431
1490
  ], 2);
1432
1491
  }
1433
- var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-6d808434"]]);
1492
+ var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__scopeId", "data-v-6d808434"]]);
1434
1493
  var phoneNumberInput_vue_vue_type_style_index_0_scoped_true_lang = "";
1435
- const _sfc_main$J = {
1494
+ const _sfc_main$M = {
1436
1495
  props: {
1437
1496
  modelValue: {
1438
1497
  type: [Object, Array]
@@ -1504,41 +1563,41 @@ const _sfc_main$J = {
1504
1563
  }
1505
1564
  };
1506
1565
  const _withScopeId$2 = (n2) => (pushScopeId("data-v-856e04c2"), n2 = n2(), popScopeId(), n2);
1507
- const _hoisted_1$B = {
1566
+ const _hoisted_1$E = {
1508
1567
  key: 0,
1509
1568
  class: "ux-field-title"
1510
1569
  };
1511
- const _hoisted_2$v = {
1570
+ const _hoisted_2$y = {
1512
1571
  key: 0,
1513
1572
  class: "ux-required-marker"
1514
1573
  };
1515
- const _hoisted_3$s = {
1574
+ const _hoisted_3$u = {
1516
1575
  key: 1,
1517
1576
  class: "ux-field-description"
1518
1577
  };
1519
- const _hoisted_4$q = { key: 2 };
1578
+ const _hoisted_4$r = { key: 2 };
1520
1579
  const _hoisted_5$j = /* @__PURE__ */ createTextVNode(" Country Code ");
1521
1580
  const _hoisted_6$f = { key: 0 };
1522
- const _hoisted_7$c = { key: 1 };
1581
+ const _hoisted_7$d = { key: 1 };
1523
1582
  const _hoisted_8$7 = { class: "ux-text-wrap" };
1524
1583
  const _hoisted_9$5 = ["placeholder", "onUpdate:modelValue"];
1525
1584
  const _hoisted_10$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("option", { value: "" }, "None", -1));
1526
1585
  const _hoisted_11$4 = ["value"];
1527
- const _hoisted_12$3 = { class: "ux-text-wrap" };
1586
+ const _hoisted_12$4 = { class: "ux-text-wrap" };
1528
1587
  const _hoisted_13$3 = ["placeholder"];
1529
- function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
1588
+ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
1530
1589
  const _component_native_select = resolveComponent("native-select");
1531
1590
  const _component_flex_cell = resolveComponent("flex-cell");
1532
1591
  const _component_ux_icon = resolveComponent("ux-icon");
1533
1592
  const _component_ux_button = resolveComponent("ux-button");
1534
1593
  const _component_flex_row = resolveComponent("flex-row");
1535
1594
  return openBlock(), createElementBlock(Fragment, null, [
1536
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
1595
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$E, [
1537
1596
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
1538
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$v, "*")) : createCommentVNode("", true)
1597
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$y, "*")) : createCommentVNode("", true)
1539
1598
  ])) : createCommentVNode("", true),
1540
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$s, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
1541
- _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, [
1542
1601
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
1543
1602
  return openBlock(), createBlock(_component_flex_row, {
1544
1603
  wrap: "",
@@ -1557,7 +1616,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
1557
1616
  !entry.countryCode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
1558
1617
  _hoisted_5$j
1559
1618
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1560
- $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"))
1561
1620
  ], 64))
1562
1621
  ]),
1563
1622
  _: 2
@@ -1645,7 +1704,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
1645
1704
  }),
1646
1705
  createVNode(_component_flex_cell, null, {
1647
1706
  default: withCtx(() => [
1648
- createElementVNode("div", _hoisted_12$3, [
1707
+ createElementVNode("div", _hoisted_12$4, [
1649
1708
  withDirectives(createElementVNode("input", {
1650
1709
  class: "ux-field-focus ux-text-input-multiple",
1651
1710
  placeholder: $options.actualPlaceholder,
@@ -1665,12 +1724,12 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
1665
1724
  }))
1666
1725
  ], 64);
1667
1726
  }
1668
- var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-856e04c2"]]);
1727
+ var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-856e04c2"]]);
1669
1728
  var timezone_vue_vue_type_style_index_0_scoped_true_lang = "";
1670
1729
  function isUndefined$5(entry) {
1671
1730
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
1672
1731
  }
1673
- const _sfc_main$I = {
1732
+ const _sfc_main$L = {
1674
1733
  props: {
1675
1734
  modelValue: {}
1676
1735
  },
@@ -2195,19 +2254,19 @@ const _sfc_main$I = {
2195
2254
  }
2196
2255
  }
2197
2256
  };
2198
- const _hoisted_1$A = {
2257
+ const _hoisted_1$D = {
2199
2258
  key: 0,
2200
2259
  class: "ux-field-title"
2201
2260
  };
2202
- const _hoisted_2$u = {
2261
+ const _hoisted_2$x = {
2203
2262
  key: 0,
2204
2263
  class: "ux-required-marker"
2205
2264
  };
2206
- const _hoisted_3$r = {
2265
+ const _hoisted_3$t = {
2207
2266
  key: 1,
2208
2267
  class: "ux-field-description"
2209
2268
  };
2210
- const _hoisted_4$p = {
2269
+ const _hoisted_4$q = {
2211
2270
  key: 2,
2212
2271
  class: "ui-select-button"
2213
2272
  };
@@ -2216,18 +2275,18 @@ const _hoisted_6$e = {
2216
2275
  key: 0,
2217
2276
  value: ""
2218
2277
  };
2219
- const _hoisted_7$b = ["value"];
2220
- function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
2278
+ const _hoisted_7$c = ["value"];
2279
+ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
2221
2280
  const _component_ux_button = resolveComponent("ux-button");
2222
2281
  return openBlock(), createElementBlock("div", {
2223
2282
  class: normalizeClass(["native-select", $options.classes])
2224
2283
  }, [
2225
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
2284
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$D, [
2226
2285
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
2227
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$u, "*")) : createCommentVNode("", true)
2286
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$x, "*")) : createCommentVNode("", true)
2228
2287
  ])) : createCommentVNode("", true),
2229
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$r, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
2230
- _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, [
2231
2290
  renderSlot(_ctx.$slots, "default", {}, () => [
2232
2291
  createVNode(_component_ux_button, { tag: "div" }, {
2233
2292
  default: withCtx(() => [
@@ -2246,16 +2305,16 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
2246
2305
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
2247
2306
  return openBlock(), createElementBlock("option", {
2248
2307
  value: option2.value
2249
- }, toDisplayString(option2.title), 9, _hoisted_7$b);
2308
+ }, toDisplayString(option2.title), 9, _hoisted_7$c);
2250
2309
  }), 256))
2251
2310
  ], 40, _hoisted_5$i), [
2252
2311
  [vModelSelect, _ctx.model]
2253
2312
  ])
2254
2313
  ], 2);
2255
2314
  }
2256
- var TimezoneSelect = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-2b83f766"]]);
2315
+ var TimezoneSelect = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-2b83f766"]]);
2257
2316
  var item_vue_vue_type_style_index_0_scoped_true_lang = "";
2258
- const _sfc_main$H = {
2317
+ const _sfc_main$K = {
2259
2318
  props: {
2260
2319
  item: {
2261
2320
  type: Object,
@@ -2273,7 +2332,7 @@ const _sfc_main$H = {
2273
2332
  }
2274
2333
  }
2275
2334
  };
2276
- function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
2335
+ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
2277
2336
  const _component_flex_cell = resolveComponent("flex-cell");
2278
2337
  const _component_flex_row = resolveComponent("flex-row");
2279
2338
  return openBlock(), createElementBlock("div", {
@@ -2302,7 +2361,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
2302
2361
  })
2303
2362
  ]);
2304
2363
  }
2305
- var Item = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-4f7e8052"]]);
2364
+ var Item = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-4f7e8052"]]);
2306
2365
  /**!
2307
2366
  * Sortable 1.14.0
2308
2367
  * @author RubaXa <trash@rubaxa.org>
@@ -4970,7 +5029,7 @@ const draggableComponent = defineComponent({
4970
5029
  }
4971
5030
  });
4972
5031
  var contentSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
4973
- const _sfc_main$G = {
5032
+ const _sfc_main$J = {
4974
5033
  components: {
4975
5034
  Item,
4976
5035
  draggable: draggableComponent
@@ -5073,33 +5132,33 @@ const _sfc_main$G = {
5073
5132
  }
5074
5133
  }
5075
5134
  };
5076
- const _hoisted_1$z = {
5135
+ const _hoisted_1$C = {
5077
5136
  key: 0,
5078
5137
  class: "ux-field-title"
5079
5138
  };
5080
- const _hoisted_2$t = {
5139
+ const _hoisted_2$w = {
5081
5140
  key: 0,
5082
5141
  class: "ux-required-marker"
5083
5142
  };
5084
- const _hoisted_3$q = {
5143
+ const _hoisted_3$s = {
5085
5144
  key: 1,
5086
5145
  class: "ux-field-description"
5087
5146
  };
5088
- const _hoisted_4$o = {
5147
+ const _hoisted_4$p = {
5089
5148
  key: 3,
5090
5149
  class: "items"
5091
5150
  };
5092
- function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
5151
+ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
5093
5152
  const _component_ux_icon = resolveComponent("ux-icon");
5094
5153
  const _component_ux_button = resolveComponent("ux-button");
5095
5154
  const _component_item = resolveComponent("item");
5096
5155
  const _component_draggable = resolveComponent("draggable");
5097
5156
  return openBlock(), createElementBlock(Fragment, null, [
5098
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$z, [
5157
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$C, [
5099
5158
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5100
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$t, "*")) : createCommentVNode("", true)
5159
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$w, "*")) : createCommentVNode("", true)
5101
5160
  ])) : createCommentVNode("", true),
5102
- _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),
5103
5162
  _ctx.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
5104
5163
  _ctx.model && _ctx.model.length ? (openBlock(), createBlock(_component_draggable, {
5105
5164
  key: 0,
@@ -5138,7 +5197,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
5138
5197
  ]),
5139
5198
  _: 1
5140
5199
  }, 8, ["modelValue"])) : createCommentVNode("", true)
5141
- ], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
5200
+ ], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$p, [
5142
5201
  createVNode(_component_item, { item: _ctx.model }, {
5143
5202
  actions: withCtx(() => [
5144
5203
  $options.canEdit(_ctx.model) ? (openBlock(), createBlock(_component_ux_button, {
@@ -5172,12 +5231,12 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
5172
5231
  }, 8, ["onClick"])
5173
5232
  ], 64);
5174
5233
  }
5175
- var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G], ["__scopeId", "data-v-858ab1cc"]]);
5234
+ var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-858ab1cc"]]);
5176
5235
  var typeSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
5177
5236
  function isUndefined$4(entry) {
5178
5237
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
5179
5238
  }
5180
- const _sfc_main$F = {
5239
+ const _sfc_main$I = {
5181
5240
  props: {
5182
5241
  title: {
5183
5242
  type: String
@@ -5286,19 +5345,19 @@ const _sfc_main$F = {
5286
5345
  }
5287
5346
  }
5288
5347
  };
5289
- const _hoisted_1$y = {
5348
+ const _hoisted_1$B = {
5290
5349
  key: 0,
5291
5350
  class: "ux-field-title"
5292
5351
  };
5293
- const _hoisted_2$s = {
5352
+ const _hoisted_2$v = {
5294
5353
  key: 0,
5295
5354
  class: "ux-required-marker"
5296
5355
  };
5297
- const _hoisted_3$p = {
5356
+ const _hoisted_3$r = {
5298
5357
  key: 1,
5299
5358
  class: "ux-field-description"
5300
5359
  };
5301
- const _hoisted_4$n = {
5360
+ const _hoisted_4$o = {
5302
5361
  key: 2,
5303
5362
  class: "ui-select-button"
5304
5363
  };
@@ -5307,18 +5366,18 @@ const _hoisted_6$d = {
5307
5366
  key: 0,
5308
5367
  value: ""
5309
5368
  };
5310
- const _hoisted_7$a = ["value"];
5311
- function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
5369
+ const _hoisted_7$b = ["value"];
5370
+ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
5312
5371
  const _component_ux_button = resolveComponent("ux-button");
5313
5372
  return openBlock(), createElementBlock("div", {
5314
5373
  class: normalizeClass(["native-select", $options.classes])
5315
5374
  }, [
5316
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$y, [
5375
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
5317
5376
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5318
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$s, "*")) : createCommentVNode("", true)
5377
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$v, "*")) : createCommentVNode("", true)
5319
5378
  ])) : createCommentVNode("", true),
5320
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$p, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5321
- _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, [
5322
5381
  renderSlot(_ctx.$slots, "default", {}, () => [
5323
5382
  createVNode(_component_ux_button, { tag: "div" }, {
5324
5383
  default: withCtx(() => [
@@ -5337,16 +5396,16 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
5337
5396
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
5338
5397
  return openBlock(), createElementBlock("option", {
5339
5398
  value: option2.value
5340
- }, toDisplayString(option2.title), 9, _hoisted_7$a);
5399
+ }, toDisplayString(option2.title), 9, _hoisted_7$b);
5341
5400
  }), 256))
5342
5401
  ], 40, _hoisted_5$h), [
5343
5402
  [vModelSelect, _ctx.model]
5344
5403
  ])
5345
5404
  ], 2);
5346
5405
  }
5347
- var TypeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$F], ["__scopeId", "data-v-3c487f67"]]);
5406
+ var TypeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-3c487f67"]]);
5348
5407
  var currency_vue_vue_type_style_index_0_scoped_true_lang = "";
5349
- const _sfc_main$E = {
5408
+ const _sfc_main$H = {
5350
5409
  props: {
5351
5410
  modelValue: {
5352
5411
  type: [String, Array]
@@ -5424,25 +5483,25 @@ const _sfc_main$E = {
5424
5483
  }
5425
5484
  }
5426
5485
  };
5427
- const _hoisted_1$x = {
5486
+ const _hoisted_1$A = {
5428
5487
  key: 0,
5429
5488
  class: "ux-field-title"
5430
5489
  };
5431
- const _hoisted_2$r = {
5490
+ const _hoisted_2$u = {
5432
5491
  key: 0,
5433
5492
  class: "ux-required-marker"
5434
5493
  };
5435
- const _hoisted_3$o = {
5494
+ const _hoisted_3$q = {
5436
5495
  key: 1,
5437
5496
  class: "ux-field-description"
5438
5497
  };
5439
- const _hoisted_4$m = { key: 2 };
5498
+ const _hoisted_4$n = { key: 2 };
5440
5499
  const _hoisted_5$g = {
5441
5500
  key: 0,
5442
5501
  class: "ux-text-prefix"
5443
5502
  };
5444
5503
  const _hoisted_6$c = ["onBlur", "onUpdate:modelValue"];
5445
- const _hoisted_7$9 = {
5504
+ const _hoisted_7$a = {
5446
5505
  key: 1,
5447
5506
  class: "ux-text-suffix"
5448
5507
  };
@@ -5454,18 +5513,18 @@ const _hoisted_9$4 = {
5454
5513
  key: 1,
5455
5514
  class: "ux-text-suffix"
5456
5515
  };
5457
- function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
5516
+ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
5458
5517
  const _component_flex_cell = resolveComponent("flex-cell");
5459
5518
  const _component_ux_icon = resolveComponent("ux-icon");
5460
5519
  const _component_ux_button = resolveComponent("ux-button");
5461
5520
  const _component_flex_row = resolveComponent("flex-row");
5462
5521
  return openBlock(), createElementBlock(Fragment, null, [
5463
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$x, [
5522
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
5464
5523
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5465
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$r, "*")) : createCommentVNode("", true)
5524
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$u, "*")) : createCommentVNode("", true)
5466
5525
  ])) : createCommentVNode("", true),
5467
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$o, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5468
- _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, [
5469
5528
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
5470
5529
  return openBlock(), createBlock(_component_flex_row, {
5471
5530
  class: "ux-text-row",
@@ -5496,7 +5555,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
5496
5555
  { lazy: true }
5497
5556
  ]
5498
5557
  ]),
5499
- $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)
5500
5559
  ], 2)
5501
5560
  ]),
5502
5561
  _: 2
@@ -5562,9 +5621,9 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
5562
5621
  ], 2))
5563
5622
  ], 64);
5564
5623
  }
5565
- var CurrencyField = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-5afb1a86"]]);
5624
+ var CurrencyField = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-5afb1a86"]]);
5566
5625
  var textfield_vue_vue_type_style_index_0_scoped_true_lang = "";
5567
- const _sfc_main$D = {
5626
+ const _sfc_main$G = {
5568
5627
  props: {
5569
5628
  modelValue: {
5570
5629
  type: [String, Array]
@@ -5627,25 +5686,25 @@ const _sfc_main$D = {
5627
5686
  }
5628
5687
  }
5629
5688
  };
5630
- const _hoisted_1$w = {
5689
+ const _hoisted_1$z = {
5631
5690
  key: 0,
5632
5691
  class: "ux-field-title"
5633
5692
  };
5634
- const _hoisted_2$q = {
5693
+ const _hoisted_2$t = {
5635
5694
  key: 0,
5636
5695
  class: "ux-required-marker"
5637
5696
  };
5638
- const _hoisted_3$n = {
5697
+ const _hoisted_3$p = {
5639
5698
  key: 1,
5640
5699
  class: "ux-field-description"
5641
5700
  };
5642
- const _hoisted_4$l = { key: 2 };
5701
+ const _hoisted_4$m = { key: 2 };
5643
5702
  const _hoisted_5$f = { class: "ux-text-wrap" };
5644
5703
  const _hoisted_6$b = {
5645
5704
  key: 0,
5646
5705
  class: "ux-text-prefix"
5647
5706
  };
5648
- const _hoisted_7$8 = ["type", "placeholder", "onUpdate:modelValue"];
5707
+ const _hoisted_7$9 = ["type", "placeholder", "onUpdate:modelValue"];
5649
5708
  const _hoisted_8$5 = ["type", "placeholder", "onUpdate:modelValue"];
5650
5709
  const _hoisted_9$3 = {
5651
5710
  key: 3,
@@ -5659,24 +5718,24 @@ const _hoisted_11$3 = {
5659
5718
  key: 0,
5660
5719
  class: "ux-text-prefix"
5661
5720
  };
5662
- const _hoisted_12$2 = ["type", "placeholder"];
5721
+ const _hoisted_12$3 = ["type", "placeholder"];
5663
5722
  const _hoisted_13$2 = ["type", "placeholder"];
5664
5723
  const _hoisted_14$2 = {
5665
5724
  key: 3,
5666
5725
  class: "ux-text-suffix"
5667
5726
  };
5668
- function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
5727
+ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
5669
5728
  const _component_flex_cell = resolveComponent("flex-cell");
5670
5729
  const _component_ux_icon = resolveComponent("ux-icon");
5671
5730
  const _component_ux_button = resolveComponent("ux-button");
5672
5731
  const _component_flex_row = resolveComponent("flex-row");
5673
5732
  return openBlock(), createElementBlock(Fragment, null, [
5674
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$w, [
5733
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$z, [
5675
5734
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5676
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$q, "*")) : createCommentVNode("", true)
5735
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$t, "*")) : createCommentVNode("", true)
5677
5736
  ])) : createCommentVNode("", true),
5678
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$n, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5679
- _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, [
5680
5739
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
5681
5740
  return openBlock(), createBlock(_component_flex_row, {
5682
5741
  class: "ux-text-row",
@@ -5697,7 +5756,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
5697
5756
  ref: "input",
5698
5757
  onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
5699
5758
  "onUpdate:modelValue": ($event) => _ctx.model[index2] = $event
5700
- }, null, 40, _hoisted_7$8)), [
5759
+ }, null, 40, _hoisted_7$9)), [
5701
5760
  [
5702
5761
  vModelDynamic,
5703
5762
  _ctx.model[index2],
@@ -5769,7 +5828,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
5769
5828
  placeholder: $options.actualPlaceholder,
5770
5829
  onFocus: _cache[5] || (_cache[5] = (...args) => _ctx.touch && _ctx.touch(...args)),
5771
5830
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => _ctx.model = $event)
5772
- }, null, 40, _hoisted_12$2)), [
5831
+ }, null, 40, _hoisted_12$3)), [
5773
5832
  [
5774
5833
  vModelDynamic,
5775
5834
  _ctx.model,
@@ -5792,9 +5851,9 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
5792
5851
  ]))
5793
5852
  ], 64);
5794
5853
  }
5795
- var TextField = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-8f2cb452"]]);
5854
+ var TextField = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G], ["__scopeId", "data-v-8f2cb452"]]);
5796
5855
  var textarea_vue_vue_type_style_index_0_scoped_true_lang = "";
5797
- const _sfc_main$C = {
5856
+ const _sfc_main$F = {
5798
5857
  props: {
5799
5858
  modelValue: {
5800
5859
  type: [String, Array]
@@ -5807,32 +5866,32 @@ const _sfc_main$C = {
5807
5866
  }
5808
5867
  }
5809
5868
  };
5810
- const _hoisted_1$v = {
5869
+ const _hoisted_1$y = {
5811
5870
  key: 0,
5812
5871
  class: "ux-field-title"
5813
5872
  };
5814
- const _hoisted_2$p = {
5873
+ const _hoisted_2$s = {
5815
5874
  key: 0,
5816
5875
  class: "ux-required-marker"
5817
5876
  };
5818
- const _hoisted_3$m = {
5877
+ const _hoisted_3$o = {
5819
5878
  key: 1,
5820
5879
  class: "ux-field-description"
5821
5880
  };
5822
- const _hoisted_4$k = { key: 2 };
5881
+ const _hoisted_4$l = { key: 2 };
5823
5882
  const _hoisted_5$e = ["onUpdate:modelValue"];
5824
- function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
5883
+ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
5825
5884
  const _component_flex_cell = resolveComponent("flex-cell");
5826
5885
  const _component_ux_icon = resolveComponent("ux-icon");
5827
5886
  const _component_ux_button = resolveComponent("ux-button");
5828
5887
  const _component_flex_row = resolveComponent("flex-row");
5829
5888
  return openBlock(), createElementBlock(Fragment, null, [
5830
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$v, [
5889
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$y, [
5831
5890
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5832
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$p, "*")) : createCommentVNode("", true)
5891
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$s, "*")) : createCommentVNode("", true)
5833
5892
  ])) : createCommentVNode("", true),
5834
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$m, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5835
- _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, [
5836
5895
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
5837
5896
  return openBlock(), createBlock(_component_flex_row, {
5838
5897
  class: "ux-text-row",
@@ -5898,7 +5957,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
5898
5957
  ])
5899
5958
  ], 64);
5900
5959
  }
5901
- var TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-72eafde6"]]);
5960
+ var TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$F], ["__scopeId", "data-v-72eafde6"]]);
5902
5961
  var datefield_vue_vue_type_style_index_0_scoped_true_lang = "";
5903
5962
  function zero(input) {
5904
5963
  if (String(input).length < 2) {
@@ -5906,7 +5965,7 @@ function zero(input) {
5906
5965
  }
5907
5966
  return input;
5908
5967
  }
5909
- const _sfc_main$B = {
5968
+ const _sfc_main$E = {
5910
5969
  props: {
5911
5970
  modelValue: {
5912
5971
  type: [Date, String, Array]
@@ -5955,32 +6014,32 @@ const _sfc_main$B = {
5955
6014
  }
5956
6015
  }
5957
6016
  };
5958
- const _hoisted_1$u = {
6017
+ const _hoisted_1$x = {
5959
6018
  key: 0,
5960
6019
  class: "ux-field-title"
5961
6020
  };
5962
- const _hoisted_2$o = {
6021
+ const _hoisted_2$r = {
5963
6022
  key: 0,
5964
6023
  class: "ux-required-marker"
5965
6024
  };
5966
- const _hoisted_3$l = {
6025
+ const _hoisted_3$n = {
5967
6026
  key: 1,
5968
6027
  class: "ux-field-description"
5969
6028
  };
5970
- const _hoisted_4$j = { key: 2 };
6029
+ const _hoisted_4$k = { key: 2 };
5971
6030
  const _hoisted_5$d = ["onUpdate:modelValue"];
5972
- function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
6031
+ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
5973
6032
  const _component_flex_cell = resolveComponent("flex-cell");
5974
6033
  const _component_ux_icon = resolveComponent("ux-icon");
5975
6034
  const _component_ux_button = resolveComponent("ux-button");
5976
6035
  const _component_flex_row = resolveComponent("flex-row");
5977
6036
  return openBlock(), createElementBlock(Fragment, null, [
5978
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$u, [
6037
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$x, [
5979
6038
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
5980
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$o, "*")) : createCommentVNode("", true)
6039
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$r, "*")) : createCommentVNode("", true)
5981
6040
  ])) : createCommentVNode("", true),
5982
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$l, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
5983
- _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, [
5984
6043
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
5985
6044
  return openBlock(), createBlock(_component_flex_row, {
5986
6045
  class: "ux-text-row",
@@ -6046,9 +6105,9 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
6046
6105
  ])
6047
6106
  ], 64);
6048
6107
  }
6049
- var DateField = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B], ["__scopeId", "data-v-578af064"]]);
6108
+ var DateField = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-578af064"]]);
6050
6109
  var checkbox_vue_vue_type_style_index_0_scoped_true_lang = "";
6051
- const _sfc_main$A = {
6110
+ const _sfc_main$D = {
6052
6111
  computed: {
6053
6112
  NativeCheckbox: UXCheckbox
6054
6113
  },
@@ -6090,19 +6149,19 @@ const _sfc_main$A = {
6090
6149
  }
6091
6150
  }
6092
6151
  };
6093
- const _hoisted_1$t = {
6152
+ const _hoisted_1$w = {
6094
6153
  key: 0,
6095
6154
  class: "ux-field-title"
6096
6155
  };
6097
- const _hoisted_2$n = {
6156
+ const _hoisted_2$q = {
6098
6157
  key: 0,
6099
6158
  class: "ux-required-marker"
6100
6159
  };
6101
- const _hoisted_3$k = {
6160
+ const _hoisted_3$m = {
6102
6161
  key: 1,
6103
6162
  class: "ux-field-description"
6104
6163
  };
6105
- function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
6164
+ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
6106
6165
  const _component_ux_checkbox = resolveComponent("ux-checkbox");
6107
6166
  const _component_flex_cell = resolveComponent("flex-cell");
6108
6167
  const _component_flex_row = resolveComponent("flex-row");
@@ -6126,11 +6185,11 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
6126
6185
  createVNode(_component_flex_cell, { vcenter: "" }, {
6127
6186
  default: withCtx(() => [
6128
6187
  createElementVNode("div", null, [
6129
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$t, [
6188
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$w, [
6130
6189
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
6131
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$n, "*")) : createCommentVNode("", true)
6190
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$q, "*")) : createCommentVNode("", true)
6132
6191
  ])) : createCommentVNode("", true),
6133
- _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)
6134
6193
  ])
6135
6194
  ]),
6136
6195
  _: 1
@@ -6139,8 +6198,8 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
6139
6198
  _: 1
6140
6199
  });
6141
6200
  }
6142
- var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A], ["__scopeId", "data-v-a346dafc"]]);
6143
- const _sfc_main$z = {
6201
+ var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-a346dafc"]]);
6202
+ const _sfc_main$C = {
6144
6203
  props: {
6145
6204
  modelValue: {
6146
6205
  type: [String, Array]
@@ -6153,86 +6212,67 @@ const _sfc_main$z = {
6153
6212
  }
6154
6213
  }
6155
6214
  };
6156
- const _hoisted_1$s = {
6157
- key: 0,
6158
- class: "ux-field-title"
6159
- };
6160
- const _hoisted_2$m = {
6161
- key: 0,
6162
- class: "ux-required-marker"
6163
- };
6164
- const _hoisted_3$j = {
6165
- key: 1,
6166
- class: "ux-field-description"
6167
- };
6168
- const _hoisted_4$i = { key: 2 };
6169
- const _hoisted_5$c = ["innerHTML"];
6170
- const _hoisted_6$a = ["innerHTML"];
6171
- function _sfc_render$z(_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) {
6172
6219
  const _component_flex_cell = resolveComponent("flex-cell");
6173
6220
  const _component_ux_icon = resolveComponent("ux-icon");
6174
6221
  const _component_ux_button = resolveComponent("ux-button");
6175
6222
  const _component_flex_row = resolveComponent("flex-row");
6176
- return openBlock(), createElementBlock(Fragment, null, [
6177
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$s, [
6178
- createTextVNode(toDisplayString(_ctx.label) + " ", 1),
6179
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$m, "*")) : createCommentVNode("", true)
6180
- ])) : createCommentVNode("", true),
6181
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$j, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
6182
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$i, [
6183
- createVNode(_component_flex_row, { class: "ux-text-row" }, {
6184
- default: withCtx(() => [
6185
- createVNode(_component_flex_cell, null, {
6186
- default: withCtx(() => [
6187
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
6188
- return openBlock(), createElementBlock("div", {
6189
- innerHTML: _ctx.field.template,
6190
- key: index2
6191
- }, null, 8, _hoisted_5$c);
6192
- }), 128))
6193
- ]),
6194
- _: 1
6195
- }),
6196
- createVNode(_component_flex_cell, {
6197
- shrink: "",
6198
- vcenter: ""
6199
- }, {
6200
- default: withCtx(() => [
6201
- _ctx.canRemoveValue ? (openBlock(), createBlock(_component_ux_button, {
6202
- key: 0,
6203
- tag: "a",
6204
- icon: "",
6205
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.remove(_ctx.entry))
6206
- }, {
6207
- default: withCtx(() => [
6208
- createVNode(_component_ux_icon, { icon: "fa-times" })
6209
- ]),
6210
- _: 1
6211
- })) : createCommentVNode("", true)
6212
- ]),
6213
- _: 1
6214
- })
6215
- ]),
6216
- _: 1
6217
- }),
6218
- _ctx.canAddValue ? (openBlock(), createBlock(_component_ux_button, {
6219
- key: 0,
6220
- onClick: _cache[1] || (_cache[1] = ($event) => _ctx.add())
6221
- }, {
6222
- default: withCtx(() => [
6223
- createTextVNode(toDisplayString(_ctx.addLabel), 1)
6224
- ]),
6225
- _: 1
6226
- })) : createCommentVNode("", true)
6227
- ])) : (openBlock(), createElementBlock("div", {
6228
- key: 3,
6229
- innerHTML: _ctx.field.template
6230
- }, null, 8, _hoisted_6$a))
6231
- ], 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));
6232
6272
  }
6233
- var CustomHTML = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z]]);
6273
+ var CustomHTML = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C]]);
6234
6274
  var FilterCondition_vue_vue_type_style_index_0_lang = "";
6235
- const _sfc_main$y = {
6275
+ const _sfc_main$B = {
6236
6276
  props: {
6237
6277
  fields: {
6238
6278
  type: Array,
@@ -6493,24 +6533,24 @@ const _sfc_main$y = {
6493
6533
  NativeSelect
6494
6534
  }
6495
6535
  };
6496
- const _hoisted_1$r = {
6536
+ const _hoisted_1$u = {
6497
6537
  key: 0,
6498
6538
  class: "filter-condition"
6499
6539
  };
6500
- const _hoisted_2$l = { key: 0 };
6501
- const _hoisted_3$i = { key: 1 };
6502
- const _hoisted_4$h = /* @__PURE__ */ createTextVNode(" And ");
6503
- const _hoisted_5$b = { key: 2 };
6504
- const _hoisted_6$9 = { key: 3 };
6505
- 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 ");
6506
6546
  const _hoisted_8$4 = { key: 4 };
6507
6547
  const _hoisted_9$2 = { key: 5 };
6508
6548
  const _hoisted_10$2 = { key: 6 };
6509
6549
  const _hoisted_11$2 = { key: 7 };
6510
- const _hoisted_12$1 = { key: 8 };
6550
+ const _hoisted_12$2 = { key: 8 };
6511
6551
  const _hoisted_13$1 = { key: 9 };
6512
6552
  const _hoisted_14$1 = { key: 10 };
6513
- function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
6553
+ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
6514
6554
  const _component_native_select = resolveComponent("native-select");
6515
6555
  const _component_flex_cell = resolveComponent("flex-cell");
6516
6556
  const _component_text_field = resolveComponent("text-field");
@@ -6519,7 +6559,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
6519
6559
  const _component_content_select = resolveComponent("content-select");
6520
6560
  const _component_ux_icon = resolveComponent("ux-icon");
6521
6561
  const _component_ux_button = resolveComponent("ux-button");
6522
- return $data.comparators ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
6562
+ return $data.comparators ? (openBlock(), createElementBlock("div", _hoisted_1$u, [
6523
6563
  createVNode(_component_flex_row, null, {
6524
6564
  default: withCtx(() => [
6525
6565
  createVNode(_component_flex_cell, null, {
@@ -6546,7 +6586,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
6546
6586
  })) : createCommentVNode("", true),
6547
6587
  $data.model.comparator ? (openBlock(), createBlock(_component_flex_cell, { key: 1 }, {
6548
6588
  default: withCtx(() => [
6549
- $options.inputType == "array" ? (openBlock(), createElementBlock("div", _hoisted_2$l, [
6589
+ $options.inputType == "array" ? (openBlock(), createElementBlock("div", _hoisted_2$o, [
6550
6590
  $options.hasOptions ? (openBlock(), createBlock(_component_native_select, {
6551
6591
  key: 0,
6552
6592
  modelValue: $data.model.values,
@@ -6559,20 +6599,20 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
6559
6599
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.model.values = $event)
6560
6600
  }, null, 8, ["field", "modelValue"]))
6561
6601
  ])) : createCommentVNode("", true),
6562
- $options.inputType == "range" ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
6602
+ $options.inputType == "range" ? (openBlock(), createElementBlock("div", _hoisted_3$k, [
6563
6603
  createVNode(_component_text_field, {
6564
6604
  field: $options.normalField,
6565
6605
  modelValue: $data.model.value,
6566
6606
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.model.value = $event)
6567
6607
  }, null, 8, ["field", "modelValue"]),
6568
- _hoisted_4$h,
6608
+ _hoisted_4$j,
6569
6609
  createVNode(_component_text_field, {
6570
6610
  field: $options.normalField,
6571
6611
  modelValue: $data.model.value2,
6572
6612
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.model.value2 = $event)
6573
6613
  }, null, 8, ["field", "modelValue"])
6574
6614
  ])) : createCommentVNode("", true),
6575
- $options.inputType == "daterelative" ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
6615
+ $options.inputType == "daterelative" ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
6576
6616
  createVNode(_component_flex_row, null, {
6577
6617
  default: withCtx(() => [
6578
6618
  createVNode(_component_flex_cell, { style: { "width": "80px" } }, {
@@ -6599,13 +6639,13 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
6599
6639
  _: 1
6600
6640
  })
6601
6641
  ])) : createCommentVNode("", true),
6602
- $options.inputType == "daterange" ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
6642
+ $options.inputType == "daterange" ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
6603
6643
  createVNode(_component_date_field, {
6604
6644
  field: $options.dateField,
6605
6645
  modelValue: $data.model.value,
6606
6646
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $data.model.value = $event)
6607
6647
  }, null, 8, ["field", "modelValue"]),
6608
- _hoisted_7$7,
6648
+ _hoisted_7$8,
6609
6649
  createVNode(_component_date_field, {
6610
6650
  field: $options.dateField,
6611
6651
  modelValue: $data.model.value2,
@@ -6641,7 +6681,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
6641
6681
  [vModelCheckbox, $data.model.value]
6642
6682
  ])
6643
6683
  ])) : createCommentVNode("", true),
6644
- $options.inputType == "none" ? (openBlock(), createElementBlock("div", _hoisted_12$1)) : createCommentVNode("", true),
6684
+ $options.inputType == "none" ? (openBlock(), createElementBlock("div", _hoisted_12$2)) : createCommentVNode("", true),
6645
6685
  $options.inputType == "number" ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
6646
6686
  createVNode(_component_text_field, {
6647
6687
  field: $options.normalField,
@@ -6688,8 +6728,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
6688
6728
  })
6689
6729
  ])) : createCommentVNode("", true);
6690
6730
  }
6691
- var FilterCondition = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y]]);
6692
- 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]]);
6693
6732
  function isObject$4(value) {
6694
6733
  var type = typeof value;
6695
6734
  return value != null && (type == "object" || type == "function");
@@ -6883,7 +6922,7 @@ function debounce(func, wait, options) {
6883
6922
  }
6884
6923
  var debounce_1 = debounce;
6885
6924
  var FilterRule_vue_vue_type_style_index_0_lang = "";
6886
- const _sfc_main$x = {
6925
+ const _sfc_main$A = {
6887
6926
  props: {
6888
6927
  enableRemove: {
6889
6928
  type: Boolean
@@ -6993,29 +7032,29 @@ const _sfc_main$x = {
6993
7032
  NativeSelect
6994
7033
  }
6995
7034
  };
6996
- const _hoisted_1$q = { class: "filter-rule" };
6997
- const _hoisted_2$k = { class: "top" };
6998
- const _hoisted_3$h = { class: "summary" };
6999
- const _hoisted_4$g = /* @__PURE__ */ createTextVNode(" Match ");
7000
- const _hoisted_5$a = /* @__PURE__ */ createTextVNode(" of the following conditions ");
7001
- const _hoisted_6$8 = /* @__PURE__ */ createElementVNode("span", { class: "line" }, null, -1);
7002
- 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" };
7003
7042
  const _hoisted_8$3 = /* @__PURE__ */ createTextVNode("Add Condition");
7004
- function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
7043
+ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
7005
7044
  const _component_native_select = resolveComponent("native-select");
7006
7045
  const _component_flex_cell = resolveComponent("flex-cell");
7007
7046
  const _component_ux_icon = resolveComponent("ux-icon");
7008
7047
  const _component_ux_button = resolveComponent("ux-button");
7009
7048
  const _component_flex_row = resolveComponent("flex-row");
7010
7049
  const _component_filter_condition = resolveComponent("filter-condition");
7011
- return openBlock(), createElementBlock("div", _hoisted_1$q, [
7012
- createElementVNode("div", _hoisted_2$k, [
7050
+ return openBlock(), createElementBlock("div", _hoisted_1$t, [
7051
+ createElementVNode("div", _hoisted_2$n, [
7013
7052
  createVNode(_component_flex_row, null, {
7014
7053
  default: withCtx(() => [
7015
7054
  createVNode(_component_flex_cell, null, {
7016
7055
  default: withCtx(() => [
7017
- createElementVNode("div", _hoisted_3$h, [
7018
- _hoisted_4$g,
7056
+ createElementVNode("div", _hoisted_3$j, [
7057
+ _hoisted_4$i,
7019
7058
  createVNode(_component_native_select, {
7020
7059
  modelValue: $data.model.operator,
7021
7060
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
@@ -7026,7 +7065,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
7026
7065
  ]),
7027
7066
  _: 1
7028
7067
  }, 8, ["modelValue", "field"]),
7029
- _hoisted_5$a
7068
+ _hoisted_5$b
7030
7069
  ])
7031
7070
  ]),
7032
7071
  _: 1
@@ -7065,8 +7104,8 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
7065
7104
  shrink: ""
7066
7105
  }, {
7067
7106
  default: withCtx(() => [
7068
- _hoisted_6$8,
7069
- 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)
7070
7109
  ]),
7071
7110
  _: 2
7072
7111
  }, 1032, ["class"])) : createCommentVNode("", true),
@@ -7094,9 +7133,9 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
7094
7133
  }, 8, ["onClick"])
7095
7134
  ]);
7096
7135
  }
7097
- var FilterRule = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$x]]);
7136
+ var FilterRule = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A]]);
7098
7137
  var FilterBuilder_vue_vue_type_style_index_0_scoped_true_lang = "";
7099
- const _sfc_main$w = {
7138
+ const _sfc_main$z = {
7100
7139
  components: {
7101
7140
  FilterRule,
7102
7141
  NativeSelect
@@ -7197,16 +7236,16 @@ const _sfc_main$w = {
7197
7236
  };
7198
7237
  }
7199
7238
  };
7200
- const _hoisted_1$p = { class: "filters" };
7201
- const _hoisted_2$j = {
7239
+ const _hoisted_1$s = { class: "filters" };
7240
+ const _hoisted_2$m = {
7202
7241
  key: 0,
7203
7242
  class: "top"
7204
7243
  };
7205
- const _hoisted_3$g = { class: "summary" };
7206
- const _hoisted_4$f = /* @__PURE__ */ createTextVNode(" Match ");
7207
- const _hoisted_5$9 = /* @__PURE__ */ createTextVNode(" of the following rules ");
7208
- const _hoisted_6$7 = /* @__PURE__ */ createTextVNode("Add Filter Rule");
7209
- function _sfc_render$w(_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) {
7210
7249
  const _component_native_select = resolveComponent("native-select");
7211
7250
  const _component_filter_rule = resolveComponent("filter-rule");
7212
7251
  const _component_ux_button = resolveComponent("ux-button");
@@ -7216,10 +7255,10 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
7216
7255
  default: withCtx(() => [
7217
7256
  createVNode(_component_flex_body, null, {
7218
7257
  default: withCtx(() => [
7219
- createElementVNode("div", _hoisted_1$p, [
7220
- $data.model && $data.model.filters && $data.model.filters.length ? (openBlock(), createElementBlock("div", _hoisted_2$j, [
7221
- createElementVNode("div", _hoisted_3$g, [
7222
- _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,
7223
7262
  createVNode(_component_native_select, {
7224
7263
  modelValue: $data.model.operator,
7225
7264
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
@@ -7230,7 +7269,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
7230
7269
  ]),
7231
7270
  _: 1
7232
7271
  }, 8, ["modelValue", "field"]),
7233
- _hoisted_5$9
7272
+ _hoisted_5$a
7234
7273
  ])
7235
7274
  ])) : createCommentVNode("", true),
7236
7275
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.model.filters, (rule, index2) => {
@@ -7248,7 +7287,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
7248
7287
  onClick: _cache[1] || (_cache[1] = ($event) => $options.addRule())
7249
7288
  }, {
7250
7289
  default: withCtx(() => [
7251
- _hoisted_6$7
7290
+ _hoisted_6$8
7252
7291
  ]),
7253
7292
  _: 1
7254
7293
  })
@@ -7260,9 +7299,9 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
7260
7299
  _: 1
7261
7300
  });
7262
7301
  }
7263
- var FilterBuilder = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$w], ["__scopeId", "data-v-30449bfc"]]);
7302
+ var FilterBuilder = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z], ["__scopeId", "data-v-30449bfc"]]);
7264
7303
  var filter_vue_vue_type_style_index_0_scoped_true_lang = "";
7265
- const _sfc_main$v = {
7304
+ const _sfc_main$y = {
7266
7305
  mixins: [InputMixin],
7267
7306
  components: {
7268
7307
  FilterBuilder
@@ -7304,32 +7343,32 @@ const _sfc_main$v = {
7304
7343
  }
7305
7344
  }
7306
7345
  };
7307
- const _hoisted_1$o = {
7346
+ const _hoisted_1$r = {
7308
7347
  key: 0,
7309
7348
  class: "ux-field-title"
7310
7349
  };
7311
- const _hoisted_2$i = {
7350
+ const _hoisted_2$l = {
7312
7351
  key: 0,
7313
7352
  class: "ux-required-marker"
7314
7353
  };
7315
- const _hoisted_3$f = {
7354
+ const _hoisted_3$h = {
7316
7355
  key: 1,
7317
7356
  class: "ux-field-description"
7318
7357
  };
7319
- const _hoisted_4$e = { key: 2 };
7320
- function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
7358
+ const _hoisted_4$g = { key: 2 };
7359
+ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
7321
7360
  const _component_filter_builder = resolveComponent("filter-builder");
7322
7361
  const _component_flex_cell = resolveComponent("flex-cell");
7323
7362
  const _component_ux_icon = resolveComponent("ux-icon");
7324
7363
  const _component_ux_button = resolveComponent("ux-button");
7325
7364
  const _component_flex_row = resolveComponent("flex-row");
7326
7365
  return openBlock(), createElementBlock(Fragment, null, [
7327
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$o, [
7366
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$r, [
7328
7367
  createTextVNode(toDisplayString(_ctx.label) + " (" + toDisplayString($options.definitionTitle) + ") ", 1),
7329
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$i, "*")) : createCommentVNode("", true)
7368
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$l, "*")) : createCommentVNode("", true)
7330
7369
  ])) : createCommentVNode("", true),
7331
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$f, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
7332
- _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, [
7333
7372
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
7334
7373
  return openBlock(), createBlock(_component_flex_row, {
7335
7374
  class: "ux-text-row",
@@ -7386,9 +7425,9 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
7386
7425
  }, null, 8, ["definition", "modelValue"]))
7387
7426
  ], 64);
7388
7427
  }
7389
- var FilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$v], ["__scopeId", "data-v-5a049062"]]);
7428
+ var FilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y], ["__scopeId", "data-v-5a049062"]]);
7390
7429
  var switch_vue_vue_type_style_index_0_scoped_true_lang = "";
7391
- const _sfc_main$u = {
7430
+ const _sfc_main$x = {
7392
7431
  mixins: [InputMixin],
7393
7432
  props: {
7394
7433
  modelValue: {
@@ -7427,19 +7466,19 @@ const _sfc_main$u = {
7427
7466
  }
7428
7467
  }
7429
7468
  };
7430
- const _hoisted_1$n = {
7469
+ const _hoisted_1$q = {
7431
7470
  key: 0,
7432
7471
  class: "ux-field-title"
7433
7472
  };
7434
- const _hoisted_2$h = {
7473
+ const _hoisted_2$k = {
7435
7474
  key: 0,
7436
7475
  class: "ux-required-marker"
7437
7476
  };
7438
- const _hoisted_3$e = {
7477
+ const _hoisted_3$g = {
7439
7478
  key: 1,
7440
7479
  class: "ux-field-description"
7441
7480
  };
7442
- function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
7481
+ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
7443
7482
  const _component_ux_switch = resolveComponent("ux-switch");
7444
7483
  const _component_flex_cell = resolveComponent("flex-cell");
7445
7484
  const _component_flex_row = resolveComponent("flex-row");
@@ -7463,11 +7502,11 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
7463
7502
  createVNode(_component_flex_cell, { vcenter: "" }, {
7464
7503
  default: withCtx(() => [
7465
7504
  createElementVNode("div", null, [
7466
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$n, [
7505
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$q, [
7467
7506
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
7468
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$h, "*")) : createCommentVNode("", true)
7507
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$k, "*")) : createCommentVNode("", true)
7469
7508
  ])) : createCommentVNode("", true),
7470
- _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)
7471
7510
  ])
7472
7511
  ]),
7473
7512
  _: 1
@@ -7476,9 +7515,9 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
7476
7515
  _: 1
7477
7516
  });
7478
7517
  }
7479
- var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-7ee9d4cd"]]);
7518
+ var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$x], ["__scopeId", "data-v-7ee9d4cd"]]);
7480
7519
  var filedrop_vue_vue_type_style_index_0_scoped_true_lang = "";
7481
- const _sfc_main$t = {
7520
+ const _sfc_main$w = {
7482
7521
  props: {
7483
7522
  multiple: {
7484
7523
  type: Boolean
@@ -7512,9 +7551,9 @@ const _sfc_main$t = {
7512
7551
  }
7513
7552
  }
7514
7553
  };
7515
- const _hoisted_1$m = ["multiple"];
7516
- const _hoisted_2$g = /* @__PURE__ */ createTextVNode("Select Files");
7517
- function _sfc_render$t(_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) {
7518
7557
  const _component_ux_button = resolveComponent("ux-button");
7519
7558
  return openBlock(), createElementBlock("label", {
7520
7559
  class: "file-drop",
@@ -7526,7 +7565,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
7526
7565
  type: "file",
7527
7566
  multiple: $props.multiple,
7528
7567
  onChange: _cache[0] || (_cache[0] = ($event) => $options.filesSelected($event.target.files))
7529
- }, null, 40, _hoisted_1$m),
7568
+ }, null, 40, _hoisted_1$p),
7530
7569
  createElementVNode("div", {
7531
7570
  class: "file-drop-ux",
7532
7571
  onClick: _cache[1] || (_cache[1] = (...args) => $options.clicked && $options.clicked(...args))
@@ -7534,7 +7573,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
7534
7573
  renderSlot(_ctx.$slots, "default", {}, () => [
7535
7574
  createVNode(_component_ux_button, null, {
7536
7575
  default: withCtx(() => [
7537
- _hoisted_2$g
7576
+ _hoisted_2$j
7538
7577
  ]),
7539
7578
  _: 1
7540
7579
  })
@@ -7542,9 +7581,9 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
7542
7581
  ])
7543
7582
  ], 32);
7544
7583
  }
7545
- var FileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$t], ["__scopeId", "data-v-67879182"]]);
7584
+ var FileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$w], ["__scopeId", "data-v-67879182"]]);
7546
7585
  var upload_vue_vue_type_style_index_0_scoped_true_lang = "";
7547
- const _sfc_main$s = {
7586
+ const _sfc_main$v = {
7548
7587
  mixins: [InputMixin],
7549
7588
  components: {
7550
7589
  FileDrop
@@ -7675,26 +7714,26 @@ const _sfc_main$s = {
7675
7714
  },
7676
7715
  computed: {}
7677
7716
  };
7678
- const _hoisted_1$l = {
7717
+ const _hoisted_1$o = {
7679
7718
  key: 0,
7680
7719
  class: "ux-field-title"
7681
7720
  };
7682
- const _hoisted_2$f = {
7721
+ const _hoisted_2$i = {
7683
7722
  key: 0,
7684
7723
  class: "ux-required-marker"
7685
7724
  };
7686
- const _hoisted_3$d = {
7725
+ const _hoisted_3$f = {
7687
7726
  key: 1,
7688
7727
  class: "ux-field-description"
7689
7728
  };
7690
- const _hoisted_4$d = {
7729
+ const _hoisted_4$f = {
7691
7730
  key: 2,
7692
7731
  class: "files"
7693
7732
  };
7694
- const _hoisted_5$8 = { class: "size" };
7695
- const _hoisted_6$6 = /* @__PURE__ */ createTextVNode("Select Files");
7696
- const _hoisted_7$5 = /* @__PURE__ */ createTextVNode("Select File");
7697
- function _sfc_render$s(_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) {
7698
7737
  const _component_progress_bar = resolveComponent("progress-bar");
7699
7738
  const _component_flex_cell = resolveComponent("flex-cell");
7700
7739
  const _component_ux_icon = resolveComponent("ux-icon");
@@ -7702,12 +7741,12 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
7702
7741
  const _component_flex_row = resolveComponent("flex-row");
7703
7742
  const _component_file_drop = resolveComponent("file-drop");
7704
7743
  return openBlock(), createElementBlock(Fragment, null, [
7705
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$l, [
7744
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$o, [
7706
7745
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
7707
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$f, "*")) : createCommentVNode("", true)
7746
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$i, "*")) : createCommentVNode("", true)
7708
7747
  ])) : createCommentVNode("", true),
7709
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$d, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
7710
- $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, [
7711
7750
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.files, (file, index2) => {
7712
7751
  return openBlock(), createElementBlock("div", {
7713
7752
  class: "file-item",
@@ -7718,7 +7757,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
7718
7757
  createVNode(_component_flex_cell, null, {
7719
7758
  default: withCtx(() => [
7720
7759
  createElementVNode("strong", null, toDisplayString(file.name), 1),
7721
- createElementVNode("div", _hoisted_5$8, toDisplayString($options.filesize(file.size)), 1),
7760
+ createElementVNode("div", _hoisted_5$9, toDisplayString($options.filesize(file.size)), 1),
7722
7761
  createVNode(_component_progress_bar, {
7723
7762
  value: file.progress
7724
7763
  }, null, 8, ["value"])
@@ -7754,7 +7793,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
7754
7793
  default: withCtx(() => [
7755
7794
  createVNode(_component_ux_button, null, {
7756
7795
  default: withCtx(() => [
7757
- _hoisted_6$6
7796
+ _hoisted_6$7
7758
7797
  ]),
7759
7798
  _: 1
7760
7799
  })
@@ -7768,7 +7807,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
7768
7807
  default: withCtx(() => [
7769
7808
  createVNode(_component_ux_button, null, {
7770
7809
  default: withCtx(() => [
7771
- _hoisted_7$5
7810
+ _hoisted_7$6
7772
7811
  ]),
7773
7812
  _: 1
7774
7813
  })
@@ -7777,9 +7816,9 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
7777
7816
  }, 8, ["onFiles"]))
7778
7817
  ], 64);
7779
7818
  }
7780
- var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__scopeId", "data-v-124f63e6"]]);
7819
+ var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$v], ["__scopeId", "data-v-124f63e6"]]);
7781
7820
  var group_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
7782
- const _sfc_main$r = {
7821
+ const _sfc_main$u = {
7783
7822
  mixins: [InputMixin],
7784
7823
  components: { draggable: draggableComponent },
7785
7824
  props: {
@@ -7850,11 +7889,11 @@ const _sfc_main$r = {
7850
7889
  }
7851
7890
  }
7852
7891
  };
7853
- const _hoisted_1$k = {
7892
+ const _hoisted_1$n = {
7854
7893
  key: 0,
7855
7894
  class: "ux-multi-group"
7856
7895
  };
7857
- function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
7896
+ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
7858
7897
  const _component_ux_icon = resolveComponent("ux-icon");
7859
7898
  const _component_flex_cell = resolveComponent("flex-cell");
7860
7899
  const _component_ux_button = resolveComponent("ux-button");
@@ -7864,7 +7903,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
7864
7903
  const _component_ux_panel_body = resolveComponent("ux-panel-body");
7865
7904
  const _component_ux_panel = resolveComponent("ux-panel");
7866
7905
  const _component_draggable = resolveComponent("draggable");
7867
- return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
7906
+ return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
7868
7907
  $options.reorderable ? (openBlock(), createBlock(_component_draggable, {
7869
7908
  key: 0,
7870
7909
  modelValue: _ctx.model,
@@ -8094,8 +8133,8 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
8094
8133
  fields: _ctx.field.fields
8095
8134
  }, null, 8, ["onForm:state", "parentModel", "modelValue", "flex", "fields"]));
8096
8135
  }
8097
- var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r], ["__scopeId", "data-v-67669f46"]]);
8098
- const _sfc_main$q = {
8136
+ var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-67669f46"]]);
8137
+ const _sfc_main$t = {
8099
8138
  props: {
8100
8139
  option: {
8101
8140
  required: true
@@ -8107,17 +8146,17 @@ const _sfc_main$q = {
8107
8146
  }
8108
8147
  }
8109
8148
  };
8110
- function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
8149
+ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
8111
8150
  return renderSlot(_ctx.$slots, "default", { plainValue: $options.plainValue }, () => [
8112
8151
  createElementVNode("pre", null, toDisplayString($props.option), 1)
8113
8152
  ]);
8114
8153
  }
8115
- var OptionSlot = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q]]);
8154
+ var OptionSlot = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$t]]);
8116
8155
  var buttonSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
8117
8156
  function isUndefined$3(entry) {
8118
8157
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
8119
8158
  }
8120
- const _sfc_main$p = {
8159
+ const _sfc_main$s = {
8121
8160
  components: {
8122
8161
  OptionSlot
8123
8162
  },
@@ -8238,30 +8277,30 @@ const _sfc_main$p = {
8238
8277
  }
8239
8278
  }
8240
8279
  };
8241
- const _hoisted_1$j = {
8280
+ const _hoisted_1$m = {
8242
8281
  key: 0,
8243
8282
  class: "ux-field-title"
8244
8283
  };
8245
- const _hoisted_2$e = {
8284
+ const _hoisted_2$h = {
8246
8285
  key: 0,
8247
8286
  class: "ux-required-marker"
8248
8287
  };
8249
- const _hoisted_3$c = {
8288
+ const _hoisted_3$e = {
8250
8289
  key: 1,
8251
8290
  class: "ux-field-description"
8252
8291
  };
8253
- const _hoisted_4$c = { class: "buttons" };
8254
- function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
8292
+ const _hoisted_4$e = { class: "buttons" };
8293
+ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
8255
8294
  const _component_ux_icon = resolveComponent("ux-icon");
8256
8295
  const _component_ux_button = resolveComponent("ux-button");
8257
8296
  const _component_option_slot = resolveComponent("option-slot");
8258
8297
  return openBlock(), createElementBlock(Fragment, null, [
8259
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$j, [
8298
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$m, [
8260
8299
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
8261
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$e, "*")) : createCommentVNode("", true)
8300
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$h, "*")) : createCommentVNode("", true)
8262
8301
  ])) : createCommentVNode("", true),
8263
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$c, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8264
- 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, [
8265
8304
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selectableOptions, (option2) => {
8266
8305
  return openBlock(), createBlock(_component_option_slot, { option: option2 }, {
8267
8306
  default: withCtx(({ plainValue }) => [
@@ -8285,9 +8324,9 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
8285
8324
  ])
8286
8325
  ], 64);
8287
8326
  }
8288
- var ButtonSelect = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-4b69def8"]]);
8327
+ var ButtonSelect = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__scopeId", "data-v-4b69def8"]]);
8289
8328
  var objectField_vue_vue_type_style_index_0_scoped_true_lang = "";
8290
- const _sfc_main$o = {
8329
+ const _sfc_main$r = {
8291
8330
  props: {
8292
8331
  modelValue: {
8293
8332
  type: Object
@@ -8301,32 +8340,32 @@ const _sfc_main$o = {
8301
8340
  }
8302
8341
  }
8303
8342
  };
8304
- const _hoisted_1$i = {
8343
+ const _hoisted_1$l = {
8305
8344
  key: 0,
8306
8345
  class: "ux-field-title"
8307
8346
  };
8308
- const _hoisted_2$d = {
8347
+ const _hoisted_2$g = {
8309
8348
  key: 0,
8310
8349
  class: "ux-required-marker"
8311
8350
  };
8312
- const _hoisted_3$b = {
8351
+ const _hoisted_3$d = {
8313
8352
  key: 1,
8314
8353
  class: "ux-field-description"
8315
8354
  };
8316
- const _hoisted_4$b = { key: 2 };
8317
- const _hoisted_5$7 = { key: 3 };
8318
- function _sfc_render$o(_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) {
8319
8358
  const _component_flex_cell = resolveComponent("flex-cell");
8320
8359
  const _component_ux_icon = resolveComponent("ux-icon");
8321
8360
  const _component_ux_button = resolveComponent("ux-button");
8322
8361
  const _component_flex_row = resolveComponent("flex-row");
8323
8362
  return openBlock(), createElementBlock(Fragment, null, [
8324
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$i, [
8363
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$l, [
8325
8364
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
8326
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$d, "*")) : createCommentVNode("", true)
8365
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$g, "*")) : createCommentVNode("", true)
8327
8366
  ])) : createCommentVNode("", true),
8328
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$b, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8329
- _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, [
8330
8369
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
8331
8370
  return openBlock(), createBlock(_component_flex_row, {
8332
8371
  class: "ux-text-row",
@@ -8375,12 +8414,12 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
8375
8414
  ]),
8376
8415
  _: 1
8377
8416
  })) : createCommentVNode("", true)
8378
- ])) : (openBlock(), createElementBlock("pre", _hoisted_5$7, toDisplayString(_ctx.model), 1))
8417
+ ])) : (openBlock(), createElementBlock("pre", _hoisted_5$8, toDisplayString(_ctx.model), 1))
8379
8418
  ], 64);
8380
8419
  }
8381
- var ObjectField = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-6b3fc2f2"]]);
8420
+ var ObjectField = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r], ["__scopeId", "data-v-6b3fc2f2"]]);
8382
8421
  var optionsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
8383
- const _sfc_main$n = {
8422
+ const _sfc_main$q = {
8384
8423
  props: {
8385
8424
  modelValue: {
8386
8425
  type: [String, Array]
@@ -8475,43 +8514,43 @@ const _sfc_main$n = {
8475
8514
  }
8476
8515
  };
8477
8516
  const _withScopeId$1 = (n2) => (pushScopeId("data-v-42a51394"), n2 = n2(), popScopeId(), n2);
8478
- const _hoisted_1$h = {
8517
+ const _hoisted_1$k = {
8479
8518
  key: 0,
8480
8519
  class: "ux-field-title"
8481
8520
  };
8482
- const _hoisted_2$c = {
8521
+ const _hoisted_2$f = {
8483
8522
  key: 0,
8484
8523
  class: "ux-required-marker"
8485
8524
  };
8486
- const _hoisted_3$a = {
8525
+ const _hoisted_3$c = {
8487
8526
  key: 1,
8488
8527
  class: "ux-field-description"
8489
8528
  };
8490
- const _hoisted_4$a = { key: 2 };
8491
- const _hoisted_5$6 = { class: "ux-text-wrap prefixed" };
8492
- const _hoisted_6$5 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
8493
- 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"];
8494
8533
  const _hoisted_8$2 = ["onBlur", "onUpdate:modelValue"];
8495
8534
  const _hoisted_9$1 = { class: "ux-text-wrap prefixed" };
8496
8535
  const _hoisted_10$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Value", -1));
8497
8536
  const _hoisted_11$1 = ["onFocus", "onUpdate:modelValue"];
8498
- const _hoisted_12 = ["onFocus", "onUpdate:modelValue"];
8537
+ const _hoisted_12$1 = ["onFocus", "onUpdate:modelValue"];
8499
8538
  const _hoisted_13 = { class: "ux-text-wrap prefixed" };
8500
8539
  const _hoisted_14 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
8501
8540
  const _hoisted_15 = { class: "ux-text-wrap prefixed" };
8502
8541
  const _hoisted_16 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Value", -1));
8503
- function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
8542
+ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
8504
8543
  const _component_flex_cell = resolveComponent("flex-cell");
8505
8544
  const _component_ux_icon = resolveComponent("ux-icon");
8506
8545
  const _component_ux_button = resolveComponent("ux-button");
8507
8546
  const _component_flex_row = resolveComponent("flex-row");
8508
8547
  return openBlock(), createElementBlock(Fragment, null, [
8509
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$h, [
8548
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$k, [
8510
8549
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
8511
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$c, "*")) : createCommentVNode("", true)
8550
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$f, "*")) : createCommentVNode("", true)
8512
8551
  ])) : createCommentVNode("", true),
8513
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$a, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8514
- _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, [
8515
8554
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
8516
8555
  return openBlock(), createBlock(_component_flex_row, {
8517
8556
  class: "ux-text-row",
@@ -8520,8 +8559,8 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
8520
8559
  default: withCtx(() => [
8521
8560
  createVNode(_component_flex_cell, null, {
8522
8561
  default: withCtx(() => [
8523
- createElementVNode("div", _hoisted_5$6, [
8524
- _hoisted_6$5,
8562
+ createElementVNode("div", _hoisted_5$7, [
8563
+ _hoisted_6$6,
8525
8564
  $options.lazy ? withDirectives((openBlock(), createElementBlock("input", {
8526
8565
  key: 0,
8527
8566
  class: "ux-field-focus ux-text-input-multiple",
@@ -8532,7 +8571,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
8532
8571
  onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
8533
8572
  onBlur: ($event) => $options.titleBlurred(index2),
8534
8573
  "onUpdate:modelValue": [($event) => $options.entryTitleChanged(index2), ($event) => _ctx.model[index2].title = $event]
8535
- }, null, 40, _hoisted_7$4)), [
8574
+ }, null, 40, _hoisted_7$5)), [
8536
8575
  [
8537
8576
  vModelText,
8538
8577
  _ctx.model[index2].title,
@@ -8587,7 +8626,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
8587
8626
  ref: "valueInput",
8588
8627
  onKeydown: _cache[5] || (_cache[5] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
8589
8628
  "onUpdate:modelValue": ($event) => _ctx.model[index2].value = $event
8590
- }, null, 40, _hoisted_12)), [
8629
+ }, null, 40, _hoisted_12$1)), [
8591
8630
  [vModelText, _ctx.model[index2].value]
8592
8631
  ]) : createCommentVNode("", true)
8593
8632
  ])
@@ -8718,9 +8757,9 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
8718
8757
  }))
8719
8758
  ], 64);
8720
8759
  }
8721
- var OptionsManager = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-42a51394"]]);
8760
+ var OptionsManager = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-42a51394"]]);
8722
8761
  var codeEditor_vue_vue_type_style_index_0_scoped_true_lang = "";
8723
- const _sfc_main$m = {
8762
+ const _sfc_main$p = {
8724
8763
  components: {},
8725
8764
  methods: {
8726
8765
  editorInit() {
@@ -8755,7 +8794,7 @@ const _sfc_main$m = {
8755
8794
  };
8756
8795
  }
8757
8796
  };
8758
- function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
8797
+ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
8759
8798
  const _component_v_ace_editor = resolveComponent("v-ace-editor");
8760
8799
  const _component_flex_column = resolveComponent("flex-column");
8761
8800
  return $data.mounted ? (openBlock(), createBlock(_component_flex_column, { key: 0 }, {
@@ -8774,9 +8813,9 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
8774
8813
  _: 1
8775
8814
  })) : createCommentVNode("", true);
8776
8815
  }
8777
- var CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-38988542"]]);
8816
+ var CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-38988542"]]);
8778
8817
  var codeEditorField_vue_vue_type_style_index_0_scoped_true_lang = "";
8779
- const _sfc_main$l = {
8818
+ const _sfc_main$o = {
8780
8819
  components: {
8781
8820
  CodeEditor
8782
8821
  },
@@ -8797,37 +8836,37 @@ const _sfc_main$l = {
8797
8836
  }
8798
8837
  }
8799
8838
  };
8800
- const _hoisted_1$g = {
8839
+ const _hoisted_1$j = {
8801
8840
  key: 0,
8802
8841
  class: "ux-field-title"
8803
8842
  };
8804
- const _hoisted_2$b = {
8843
+ const _hoisted_2$e = {
8805
8844
  key: 0,
8806
8845
  class: "ux-required-marker"
8807
8846
  };
8808
- const _hoisted_3$9 = {
8847
+ const _hoisted_3$b = {
8809
8848
  key: 1,
8810
8849
  class: "ux-field-description"
8811
8850
  };
8812
- const _hoisted_4$9 = { key: 2 };
8813
- const _hoisted_5$5 = { class: "code-editor-field-wrap" };
8814
- 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 = {
8815
8854
  key: 3,
8816
8855
  class: "code-editor-field-wrap"
8817
8856
  };
8818
- function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
8857
+ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
8819
8858
  const _component_code_editor = resolveComponent("code-editor");
8820
8859
  const _component_flex_cell = resolveComponent("flex-cell");
8821
8860
  const _component_ux_icon = resolveComponent("ux-icon");
8822
8861
  const _component_ux_button = resolveComponent("ux-button");
8823
8862
  const _component_flex_row = resolveComponent("flex-row");
8824
8863
  return openBlock(), createElementBlock(Fragment, null, [
8825
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$g, [
8864
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$j, [
8826
8865
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
8827
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$b, "*")) : createCommentVNode("", true)
8866
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$e, "*")) : createCommentVNode("", true)
8828
8867
  ])) : createCommentVNode("", true),
8829
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$9, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8830
- _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, [
8831
8870
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
8832
8871
  return openBlock(), createBlock(_component_flex_row, {
8833
8872
  class: "ux-text-row",
@@ -8836,7 +8875,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
8836
8875
  default: withCtx(() => [
8837
8876
  createVNode(_component_flex_cell, null, {
8838
8877
  default: withCtx(() => [
8839
- createElementVNode("div", _hoisted_5$5, [
8878
+ createElementVNode("div", _hoisted_5$6, [
8840
8879
  createVNode(_component_code_editor, {
8841
8880
  lang: $options.syntax,
8842
8881
  onFocus: _ctx.touch,
@@ -8882,7 +8921,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
8882
8921
  ]),
8883
8922
  _: 1
8884
8923
  })) : createCommentVNode("", true)
8885
- ])) : (openBlock(), createElementBlock("div", _hoisted_6$4, [
8924
+ ])) : (openBlock(), createElementBlock("div", _hoisted_6$5, [
8886
8925
  createVNode(_component_code_editor, {
8887
8926
  lang: $options.syntax,
8888
8927
  class: "ux-code-editor ux-field-focus ux-text-area-single",
@@ -8893,12 +8932,12 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
8893
8932
  ]))
8894
8933
  ], 64);
8895
8934
  }
8896
- var CodeEditorField = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-06a239bb"]]);
8935
+ var CodeEditorField = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-06a239bb"]]);
8897
8936
  var InternalRouteSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
8898
8937
  function isUndefined$2(entry) {
8899
8938
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
8900
8939
  }
8901
- const _sfc_main$k = {
8940
+ const _sfc_main$n = {
8902
8941
  props: {
8903
8942
  title: {
8904
8943
  type: String
@@ -9017,39 +9056,39 @@ const _sfc_main$k = {
9017
9056
  }
9018
9057
  }
9019
9058
  };
9020
- const _hoisted_1$f = {
9059
+ const _hoisted_1$i = {
9021
9060
  key: 0,
9022
9061
  class: "ux-field-title"
9023
9062
  };
9024
- const _hoisted_2$a = {
9063
+ const _hoisted_2$d = {
9025
9064
  key: 0,
9026
9065
  class: "ux-required-marker"
9027
9066
  };
9028
- const _hoisted_3$8 = {
9067
+ const _hoisted_3$a = {
9029
9068
  key: 1,
9030
9069
  class: "ux-field-description"
9031
9070
  };
9032
- const _hoisted_4$8 = {
9071
+ const _hoisted_4$a = {
9033
9072
  key: 2,
9034
9073
  class: "ui-select-button"
9035
9074
  };
9036
- const _hoisted_5$4 = ["multiple"];
9037
- const _hoisted_6$3 = {
9075
+ const _hoisted_5$5 = ["multiple"];
9076
+ const _hoisted_6$4 = {
9038
9077
  key: 0,
9039
9078
  value: ""
9040
9079
  };
9041
- const _hoisted_7$3 = ["value"];
9042
- function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
9080
+ const _hoisted_7$4 = ["value"];
9081
+ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
9043
9082
  const _component_ux_button = resolveComponent("ux-button");
9044
9083
  return openBlock(), createElementBlock("div", {
9045
9084
  class: normalizeClass(["native-select", $options.classes])
9046
9085
  }, [
9047
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$f, [
9086
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$i, [
9048
9087
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
9049
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$a, "*")) : createCommentVNode("", true)
9088
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$d, "*")) : createCommentVNode("", true)
9050
9089
  ])) : createCommentVNode("", true),
9051
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$8, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
9052
- _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, [
9053
9092
  renderSlot(_ctx.$slots, "default", {}, () => [
9054
9093
  createVNode(_component_ux_button, { tag: "div" }, {
9055
9094
  default: withCtx(() => [
@@ -9064,23 +9103,23 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
9064
9103
  multiple: _ctx.multiValue,
9065
9104
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
9066
9105
  }, [
9067
- _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),
9068
9107
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
9069
9108
  return openBlock(), createElementBlock("option", {
9070
9109
  value: option2.value
9071
- }, toDisplayString(option2.title), 9, _hoisted_7$3);
9110
+ }, toDisplayString(option2.title), 9, _hoisted_7$4);
9072
9111
  }), 256))
9073
- ], 40, _hoisted_5$4), [
9112
+ ], 40, _hoisted_5$5), [
9074
9113
  [vModelSelect, _ctx.model]
9075
9114
  ])
9076
9115
  ], 2);
9077
9116
  }
9078
- var InternalRouteSelect = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-7662837a"]]);
9117
+ var InternalRouteSelect = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-7662837a"]]);
9079
9118
  var InternalMenuSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
9080
9119
  function isUndefined$1(entry) {
9081
9120
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
9082
9121
  }
9083
- const _sfc_main$j = {
9122
+ const _sfc_main$m = {
9084
9123
  props: {
9085
9124
  title: {
9086
9125
  type: String
@@ -9183,39 +9222,39 @@ const _sfc_main$j = {
9183
9222
  }
9184
9223
  }
9185
9224
  };
9186
- const _hoisted_1$e = {
9225
+ const _hoisted_1$h = {
9187
9226
  key: 0,
9188
9227
  class: "ux-field-title"
9189
9228
  };
9190
- const _hoisted_2$9 = {
9229
+ const _hoisted_2$c = {
9191
9230
  key: 0,
9192
9231
  class: "ux-required-marker"
9193
9232
  };
9194
- const _hoisted_3$7 = {
9233
+ const _hoisted_3$9 = {
9195
9234
  key: 1,
9196
9235
  class: "ux-field-description"
9197
9236
  };
9198
- const _hoisted_4$7 = {
9237
+ const _hoisted_4$9 = {
9199
9238
  key: 2,
9200
9239
  class: "ui-select-button"
9201
9240
  };
9202
- const _hoisted_5$3 = ["multiple"];
9203
- const _hoisted_6$2 = {
9241
+ const _hoisted_5$4 = ["multiple"];
9242
+ const _hoisted_6$3 = {
9204
9243
  key: 0,
9205
9244
  value: ""
9206
9245
  };
9207
- const _hoisted_7$2 = ["value"];
9208
- function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
9246
+ const _hoisted_7$3 = ["value"];
9247
+ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
9209
9248
  const _component_ux_button = resolveComponent("ux-button");
9210
9249
  return openBlock(), createElementBlock("div", {
9211
9250
  class: normalizeClass(["native-select", $options.classes])
9212
9251
  }, [
9213
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$e, [
9252
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$h, [
9214
9253
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
9215
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$9, "*")) : createCommentVNode("", true)
9254
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$c, "*")) : createCommentVNode("", true)
9216
9255
  ])) : createCommentVNode("", true),
9217
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$7, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
9218
- _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, [
9219
9258
  renderSlot(_ctx.$slots, "default", {}, () => [
9220
9259
  createVNode(_component_ux_button, { tag: "div" }, {
9221
9260
  default: withCtx(() => [
@@ -9230,18 +9269,18 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
9230
9269
  multiple: _ctx.multiValue,
9231
9270
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
9232
9271
  }, [
9233
- _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),
9234
9273
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
9235
9274
  return openBlock(), createElementBlock("option", {
9236
9275
  value: option2.value
9237
- }, toDisplayString(option2.title), 9, _hoisted_7$2);
9276
+ }, toDisplayString(option2.title), 9, _hoisted_7$3);
9238
9277
  }), 256))
9239
- ], 40, _hoisted_5$3), [
9278
+ ], 40, _hoisted_5$4), [
9240
9279
  [vModelSelect, _ctx.model]
9241
9280
  ])
9242
9281
  ], 2);
9243
9282
  }
9244
- var InternalMenuSelect = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-a9c8bb64"]]);
9283
+ var InternalMenuSelect = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-a9c8bb64"]]);
9245
9284
  var jsep = { exports: {} };
9246
9285
  (function(module, exports) {
9247
9286
  (function(root2) {
@@ -10048,7 +10087,7 @@ function computedExpression(key) {
10048
10087
  return service.evaluateExpression(expression, context);
10049
10088
  };
10050
10089
  }
10051
- const _sfc_main$i = {
10090
+ const _sfc_main$l = {
10052
10091
  components: {
10053
10092
  InternalRouteSelect,
10054
10093
  InternalMenuSelect,
@@ -10073,6 +10112,10 @@ const _sfc_main$i = {
10073
10112
  CodeEditorField
10074
10113
  },
10075
10114
  props: {
10115
+ submission: {
10116
+ type: Boolean,
10117
+ default: false
10118
+ },
10076
10119
  field: {
10077
10120
  type: Object,
10078
10121
  required: true
@@ -10258,7 +10301,9 @@ const _sfc_main$i = {
10258
10301
  return actual;
10259
10302
  },
10260
10303
  changeString() {
10261
- return `${JSON.stringify(this.fieldModel)}-${this.actualField.minimum}-${this.actualField.referenceType}`;
10304
+ const fieldModel = this.fieldModel;
10305
+ const stringified = safeJsonStringify(fieldModel);
10306
+ return `${stringified}-${this.actualField.minimum}-${this.actualField.referenceType}`;
10262
10307
  },
10263
10308
  valid() {
10264
10309
  return !this.invalid;
@@ -10341,7 +10386,7 @@ const _sfc_main$i = {
10341
10386
  return this.type === "group";
10342
10387
  },
10343
10388
  asObject() {
10344
- return this.isGroup && this.actualField.asObject;
10389
+ return this.widget === "form" || this.isGroup && this.actualField.asObject;
10345
10390
  },
10346
10391
  layoutGroup() {
10347
10392
  return this.isGroup && !this.actualField.asObject;
@@ -10397,6 +10442,9 @@ const _sfc_main$i = {
10397
10442
  }
10398
10443
  var widget = this.actualField.widget;
10399
10444
  switch (widget) {
10445
+ case "form":
10446
+ widget = this.submission ? "form" : "content-select";
10447
+ break;
10400
10448
  case "internal-menu":
10401
10449
  case "internal-route":
10402
10450
  case "content-select":
@@ -10450,11 +10498,11 @@ const _sfc_main$i = {
10450
10498
  }
10451
10499
  }
10452
10500
  };
10453
- const _hoisted_1$d = {
10454
- key: 23,
10501
+ const _hoisted_1$g = {
10502
+ key: 24,
10455
10503
  class: "ux-field-message"
10456
10504
  };
10457
- function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
10505
+ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
10458
10506
  const _component_internal_route_select = resolveComponent("internal-route-select");
10459
10507
  const _component_internal_menu_select = resolveComponent("internal-menu-select");
10460
10508
  const _component_custom_html = resolveComponent("custom-html");
@@ -10480,8 +10528,8 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
10480
10528
  return $options.visible ? (openBlock(), createElementBlock("div", {
10481
10529
  key: 0,
10482
10530
  class: normalizeClass(["ux-field", $options.classes]),
10483
- onFocusin: _cache[23] || (_cache[23] = (...args) => $options.focus && $options.focus(...args)),
10484
- onFocusout: _cache[24] || (_cache[24] = (...args) => $options.blur && $options.blur(...args))
10531
+ onFocusin: _cache[24] || (_cache[24] = (...args) => $options.focus && $options.focus(...args)),
10532
+ onFocusout: _cache[25] || (_cache[25] = (...args) => $options.blur && $options.blur(...args))
10485
10533
  }, [
10486
10534
  $options.widget == "internal-route" ? (openBlock(), createBlock(_component_internal_route_select, {
10487
10535
  key: 0,
@@ -10535,6 +10583,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
10535
10583
  $options.widget == "group" ? (openBlock(), createElementBlock(Fragment, { key: 7 }, [
10536
10584
  $options.asObject ? (openBlock(), createBlock(_component_field_group, {
10537
10585
  key: 0,
10586
+ submission: $props.submission,
10538
10587
  "onForm:state": $options.groupStateAltered,
10539
10588
  ref: "group",
10540
10589
  onTouched: $options.touch,
@@ -10542,8 +10591,9 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
10542
10591
  parentModel: $props.parentModel,
10543
10592
  modelValue: $options.fieldModel,
10544
10593
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $options.fieldModel = $event)
10545
- }, null, 8, ["onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
10594
+ }, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
10546
10595
  key: 1,
10596
+ submission: $props.submission,
10547
10597
  "onForm:state": $options.groupStateAltered,
10548
10598
  ref: "group",
10549
10599
  onTouched: $options.touch,
@@ -10551,102 +10601,113 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
10551
10601
  parentModel: $props.parentModel,
10552
10602
  modelValue: $options.sourceModel,
10553
10603
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $options.sourceModel = $event)
10554
- }, null, 8, ["onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
10604
+ }, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
10555
10605
  ], 64)) : createCommentVNode("", true),
10556
- $options.widget == "select" ? (openBlock(), createBlock(_component_native_select, {
10606
+ $options.widget == "form" ? (openBlock(), createBlock(_component_field_group, {
10557
10607
  key: 8,
10608
+ submission: $props.submission,
10609
+ "onForm:state": $options.groupStateAltered,
10610
+ ref: "group",
10558
10611
  onTouched: $options.touch,
10559
10612
  field: $options.actualField,
10613
+ parentModel: $props.parentModel,
10560
10614
  modelValue: $options.fieldModel,
10561
10615
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $options.fieldModel = $event)
10562
- }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10563
- $options.widget == "button" ? (openBlock(), createBlock(_component_button_select, {
10616
+ }, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : createCommentVNode("", true),
10617
+ $options.widget == "select" ? (openBlock(), createBlock(_component_native_select, {
10564
10618
  key: 9,
10565
10619
  onTouched: $options.touch,
10566
10620
  field: $options.actualField,
10567
10621
  modelValue: $options.fieldModel,
10568
10622
  "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $options.fieldModel = $event)
10569
10623
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10570
- $options.widget == "textfield" ? (openBlock(), createBlock(_component_text_field, {
10624
+ $options.widget == "button" ? (openBlock(), createBlock(_component_button_select, {
10571
10625
  key: 10,
10572
10626
  onTouched: $options.touch,
10573
10627
  field: $options.actualField,
10574
10628
  modelValue: $options.fieldModel,
10575
10629
  "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $options.fieldModel = $event)
10576
10630
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10577
- $options.widget == "currency" ? (openBlock(), createBlock(_component_currency_field, {
10631
+ $options.widget == "textfield" ? (openBlock(), createBlock(_component_text_field, {
10578
10632
  key: 11,
10579
10633
  onTouched: $options.touch,
10580
10634
  field: $options.actualField,
10581
10635
  modelValue: $options.fieldModel,
10582
10636
  "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => $options.fieldModel = $event)
10583
10637
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10584
- $options.widget == "datefield" ? (openBlock(), createBlock(_component_date_field, {
10638
+ $options.widget == "currency" ? (openBlock(), createBlock(_component_currency_field, {
10585
10639
  key: 12,
10586
10640
  onTouched: $options.touch,
10587
10641
  field: $options.actualField,
10588
10642
  modelValue: $options.fieldModel,
10589
10643
  "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $options.fieldModel = $event)
10590
10644
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10591
- $options.widget == "content-select" ? (openBlock(), createBlock(_component_content_select, {
10645
+ $options.widget == "datefield" ? (openBlock(), createBlock(_component_date_field, {
10592
10646
  key: 13,
10593
10647
  onTouched: $options.touch,
10594
10648
  field: $options.actualField,
10595
10649
  modelValue: $options.fieldModel,
10596
10650
  "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => $options.fieldModel = $event)
10597
10651
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10598
- $options.widget == "type-select" ? (openBlock(), createBlock(_component_type_select, {
10652
+ $options.widget == "content-select" ? (openBlock(), createBlock(_component_content_select, {
10599
10653
  key: 14,
10600
10654
  onTouched: $options.touch,
10601
10655
  field: $options.actualField,
10602
10656
  modelValue: $options.fieldModel,
10603
10657
  "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => $options.fieldModel = $event)
10604
10658
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10605
- $options.widget == "richtext" ? (openBlock(), createBlock(_component_text_area, {
10659
+ $options.widget == "type-select" ? (openBlock(), createBlock(_component_type_select, {
10606
10660
  key: 15,
10607
10661
  onTouched: $options.touch,
10608
10662
  field: $options.actualField,
10609
10663
  modelValue: $options.fieldModel,
10610
10664
  "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => $options.fieldModel = $event)
10611
10665
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10612
- $options.widget == "textarea" ? (openBlock(), createBlock(_component_text_area, {
10666
+ $options.widget == "richtext" ? (openBlock(), createBlock(_component_text_area, {
10613
10667
  key: 16,
10614
10668
  onTouched: $options.touch,
10615
10669
  field: $options.actualField,
10616
10670
  modelValue: $options.fieldModel,
10617
10671
  "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => $options.fieldModel = $event)
10618
10672
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10619
- $options.widget == "timezone" ? (openBlock(), createBlock(_component_timezone_select, {
10673
+ $options.widget == "textarea" ? (openBlock(), createBlock(_component_text_area, {
10620
10674
  key: 17,
10621
10675
  onTouched: $options.touch,
10622
10676
  field: $options.actualField,
10623
10677
  modelValue: $options.fieldModel,
10624
10678
  "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => $options.fieldModel = $event)
10625
10679
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10626
- $options.widget == "phone" ? (openBlock(), createBlock(_component_phone_number_input, {
10680
+ $options.widget == "timezone" ? (openBlock(), createBlock(_component_timezone_select, {
10627
10681
  key: 18,
10628
10682
  onTouched: $options.touch,
10629
10683
  field: $options.actualField,
10630
10684
  modelValue: $options.fieldModel,
10631
10685
  "onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => $options.fieldModel = $event)
10632
10686
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10633
- $options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 19 }, [], 64)) : createCommentVNode("", true),
10634
- $options.widget == "object" ? (openBlock(), createBlock(_component_object_field, {
10635
- key: 20,
10687
+ $options.widget == "phone" ? (openBlock(), createBlock(_component_phone_number_input, {
10688
+ key: 19,
10636
10689
  onTouched: $options.touch,
10637
10690
  field: $options.actualField,
10638
10691
  modelValue: $options.fieldModel,
10639
10692
  "onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => $options.fieldModel = $event)
10640
10693
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10641
- $options.widget == "options" ? (openBlock(), createBlock(_component_options_manager, {
10694
+ $options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 20 }, [], 64)) : createCommentVNode("", true),
10695
+ $options.widget == "object" ? (openBlock(), createBlock(_component_object_field, {
10642
10696
  key: 21,
10643
10697
  onTouched: $options.touch,
10644
10698
  field: $options.actualField,
10645
10699
  modelValue: $options.fieldModel,
10646
10700
  "onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => $options.fieldModel = $event)
10647
10701
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10648
- $options.widget == "code" ? (openBlock(), createBlock(_component_flex_column, {
10702
+ $options.widget == "options" ? (openBlock(), createBlock(_component_options_manager, {
10649
10703
  key: 22,
10704
+ onTouched: $options.touch,
10705
+ field: $options.actualField,
10706
+ modelValue: $options.fieldModel,
10707
+ "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => $options.fieldModel = $event)
10708
+ }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
10709
+ $options.widget == "code" ? (openBlock(), createBlock(_component_flex_column, {
10710
+ key: 23,
10650
10711
  style: { "min-height": "300px" }
10651
10712
  }, {
10652
10713
  default: withCtx(() => [
@@ -10654,17 +10715,17 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
10654
10715
  onTouched: $options.touch,
10655
10716
  field: $options.actualField,
10656
10717
  modelValue: $options.fieldModel,
10657
- "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => $options.fieldModel = $event)
10718
+ "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => $options.fieldModel = $event)
10658
10719
  }, null, 8, ["onTouched", "field", "modelValue"])
10659
10720
  ]),
10660
10721
  _: 1
10661
10722
  })) : createCommentVNode("", true),
10662
- $options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$d, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
10723
+ $options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$g, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
10663
10724
  ], 34)) : createCommentVNode("", true);
10664
10725
  }
10665
- var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-41ce4fe8"]]);
10726
+ var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-00411086"]]);
10666
10727
  var form_vue_vue_type_style_index_0_scoped_true_lang = "";
10667
- const _sfc_main$h = {
10728
+ const _sfc_main$k = {
10668
10729
  props: {
10669
10730
  parentModel: {
10670
10731
  type: Object
@@ -10684,6 +10745,10 @@ const _sfc_main$h = {
10684
10745
  flex: {
10685
10746
  type: Boolean,
10686
10747
  default: false
10748
+ },
10749
+ submission: {
10750
+ type: Boolean,
10751
+ default: false
10687
10752
  }
10688
10753
  },
10689
10754
  watch: {
@@ -10873,7 +10938,7 @@ const _sfc_main$h = {
10873
10938
  }
10874
10939
  }
10875
10940
  };
10876
- function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
10941
+ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
10877
10942
  const _component_ux_field = resolveComponent("ux-field");
10878
10943
  return openBlock(), createElementBlock("div", {
10879
10944
  class: normalizeClass(["ux-form", $options.formClass])
@@ -10886,6 +10951,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
10886
10951
  return openBlock(), createBlock(_component_ux_field, {
10887
10952
  ref_for: true,
10888
10953
  ref: "field",
10954
+ submission: $props.submission,
10889
10955
  "onField:mount": $options.fieldMounted,
10890
10956
  "onField:unmount": $options.fieldUnmounted,
10891
10957
  "onField:dirty": $options.fieldDirty,
@@ -10901,14 +10967,139 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
10901
10967
  parentModel: $props.parentModel || $options.formModel,
10902
10968
  class: normalizeClass($options.fieldClass),
10903
10969
  key: `ux-form-field-${field.key}-${index2}`
10904
- }, null, 8, ["onField:mount", "onField:unmount", "onField:dirty", "onField:invalid", "onField:valid", "onField:error", "onField:focus", "onField:blur", "onField:touched", "field", "modelValue", "parentModel", "class"]);
10970
+ }, 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"]);
10905
10971
  }), 128))
10906
10972
  ], true)
10907
10973
  ], 2);
10908
10974
  }
10909
- var UXForm = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-58fbce85"]]);
10975
+ var UXForm = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-03d1fed4"]]);
10976
+ const STATE_READY = "form.ready";
10977
+ const STATE_PROCESSING = "form.processing";
10978
+ const STATE_COMPLETE = "form.complete";
10979
+ const STATE_ERROR = "form.error";
10980
+ const _sfc_main$j = {
10981
+ methods: {
10982
+ softReset() {
10983
+ this.state = STATE_READY;
10984
+ },
10985
+ reset() {
10986
+ this.model = {};
10987
+ this.state = STATE_READY;
10988
+ this.error = null;
10989
+ },
10990
+ async submit() {
10991
+ const self2 = this;
10992
+ self2.state = STATE_PROCESSING;
10993
+ await self2.preSubmit();
10994
+ const submission = JSON.parse(JSON.stringify(self2.model));
10995
+ await new Promise(function(resolve, reject) {
10996
+ self2.$qik.api.post(`/form/${self2.formID}`, submission).then(function(res) {
10997
+ return resolve(res.data);
10998
+ }, function(err) {
10999
+ self2.error = err;
11000
+ self2.state = STATE_ERROR;
11001
+ return reject(err);
11002
+ });
11003
+ });
11004
+ await self2.postSubmit();
11005
+ self2.state = STATE_COMPLETE;
11006
+ },
11007
+ async preSubmit() {
11008
+ },
11009
+ async postSubmit() {
11010
+ }
11011
+ },
11012
+ components: {
11013
+ UxForm: UXForm
11014
+ },
11015
+ props: {
11016
+ modelValue: {
11017
+ type: Object,
11018
+ default() {
11019
+ return {};
11020
+ }
11021
+ },
11022
+ form: {
11023
+ type: Object,
11024
+ required: true
11025
+ }
11026
+ },
11027
+ watch: {
11028
+ modelValue(val, old) {
11029
+ this.model = val;
11030
+ }
11031
+ },
11032
+ data() {
11033
+ return {
11034
+ state: STATE_READY,
11035
+ mounted: false,
11036
+ model: this.modelValue,
11037
+ error: null
11038
+ };
11039
+ },
11040
+ mounted() {
11041
+ this.mounted = true;
11042
+ },
11043
+ beforeUnmount() {
11044
+ this.mounted = false;
11045
+ },
11046
+ computed: {
11047
+ formID() {
11048
+ return this.$qik.utils.id(this.form);
11049
+ },
11050
+ fields() {
11051
+ return this.form.fields || [];
11052
+ }
11053
+ }
11054
+ };
11055
+ const _hoisted_1$f = { class: "ux-submission-form" };
11056
+ const _hoisted_2$b = /* @__PURE__ */ createTextVNode(" Try again ");
11057
+ const _hoisted_3$8 = /* @__PURE__ */ createTextVNode(" Complete! ");
11058
+ const _hoisted_4$8 = /* @__PURE__ */ createTextVNode(" Back to form ");
11059
+ const _hoisted_5$3 = /* @__PURE__ */ createTextVNode(" Submit ");
11060
+ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
11061
+ const _component_ux_button = resolveComponent("ux-button");
11062
+ const _component_ux_form = resolveComponent("ux-form");
11063
+ return openBlock(), createElementBlock("div", _hoisted_1$f, [
11064
+ $data.state === "form.error" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11065
+ createElementVNode("pre", null, toDisplayString($data.error), 1),
11066
+ createVNode(_component_ux_button, { onClick: $options.softReset }, {
11067
+ default: withCtx(() => [
11068
+ _hoisted_2$b
11069
+ ]),
11070
+ _: 1
11071
+ }, 8, ["onClick"])
11072
+ ], 64)) : $data.state === "form.complete" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
11073
+ _hoisted_3$8,
11074
+ createVNode(_component_ux_button, { onClick: $options.reset }, {
11075
+ default: withCtx(() => [
11076
+ _hoisted_4$8
11077
+ ]),
11078
+ _: 1
11079
+ }, 8, ["onClick"])
11080
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
11081
+ createVNode(_component_ux_form, {
11082
+ submission: "",
11083
+ modelValue: $data.model,
11084
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model = $event),
11085
+ fields: $options.fields
11086
+ }, null, 8, ["modelValue", "fields"]),
11087
+ createVNode(_component_ux_button, {
11088
+ color: "primary",
11089
+ onClick: $options.submit,
11090
+ loading: $data.state === "form.processing"
11091
+ }, {
11092
+ default: withCtx(() => [
11093
+ _hoisted_5$3
11094
+ ]),
11095
+ _: 1
11096
+ }, 8, ["onClick", "loading"])
11097
+ ], 64))
11098
+ ]);
11099
+ }
11100
+ var UXSubmissionForm = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j]]);
10910
11101
  var search_vue_vue_type_style_index_0_scoped_true_lang = "";
10911
- const _sfc_main$g = {
11102
+ const _sfc_main$i = {
10912
11103
  props: {
10913
11104
  modelValue: {
10914
11105
  type: String
@@ -10973,15 +11164,15 @@ const _sfc_main$g = {
10973
11164
  }
10974
11165
  }
10975
11166
  };
10976
- const _hoisted_1$c = { class: "search" };
10977
- const _hoisted_2$8 = ["placeholder"];
10978
- function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
11167
+ const _hoisted_1$e = { class: "search" };
11168
+ const _hoisted_2$a = ["placeholder"];
11169
+ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
10979
11170
  const _component_ux_icon = resolveComponent("ux-icon");
10980
- return openBlock(), createElementBlock("div", _hoisted_1$c, [
11171
+ return openBlock(), createElementBlock("div", _hoisted_1$e, [
10981
11172
  withDirectives(createElementVNode("input", {
10982
11173
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.model = $event),
10983
11174
  placeholder: $props.placeholder
10984
- }, null, 8, _hoisted_2$8), [
11175
+ }, null, 8, _hoisted_2$a), [
10985
11176
  [vModelText, $options.model]
10986
11177
  ]),
10987
11178
  createElementVNode("div", {
@@ -10992,7 +11183,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
10992
11183
  ])
10993
11184
  ]);
10994
11185
  }
10995
- var Search = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-0a1831cd"]]);
11186
+ var Search = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-0a1831cd"]]);
10996
11187
  var RenderMixin = {
10997
11188
  props: {
10998
11189
  field: {
@@ -11087,11 +11278,15 @@ var RenderMixin = {
11087
11278
  }
11088
11279
  };
11089
11280
  var group_vue_vue_type_style_index_0_scoped_true_lang = "";
11090
- const _sfc_main$f = {
11281
+ const _sfc_main$h = {
11091
11282
  mixins: [RenderMixin],
11092
11283
  props: {
11093
11284
  modelValue: {
11094
11285
  type: [Object, Array]
11286
+ },
11287
+ submission: {
11288
+ type: Boolean,
11289
+ default: false
11095
11290
  }
11096
11291
  },
11097
11292
  computed: {
@@ -11114,18 +11309,18 @@ const _sfc_main$f = {
11114
11309
  }
11115
11310
  }
11116
11311
  };
11117
- const _hoisted_1$b = {
11312
+ const _hoisted_1$d = {
11118
11313
  key: 0,
11119
11314
  class: "ux-multi-group"
11120
11315
  };
11121
- function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
11316
+ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
11122
11317
  const _component_flex_cell = resolveComponent("flex-cell");
11123
11318
  const _component_flex_row = resolveComponent("flex-row");
11124
11319
  const _component_ux_panel_header = resolveComponent("ux-panel-header");
11125
11320
  const _component_ux_render = resolveComponent("ux-render");
11126
11321
  const _component_ux_panel_body = resolveComponent("ux-panel-body");
11127
11322
  const _component_ux_panel = resolveComponent("ux-panel");
11128
- return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
11323
+ return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
11129
11324
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
11130
11325
  return openBlock(), createBlock(_component_ux_panel, {
11131
11326
  ref_for: true,
@@ -11154,12 +11349,13 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
11154
11349
  createVNode(_component_ux_panel_body, null, {
11155
11350
  default: withCtx(() => [
11156
11351
  createVNode(_component_ux_render, {
11352
+ submission: $props.submission,
11157
11353
  fields: _ctx.fields,
11158
11354
  flex: $options.sameLine,
11159
11355
  parentModel: _ctx.parentModel,
11160
11356
  modelValue: _ctx.model[index2],
11161
11357
  "onUpdate:modelValue": ($event) => _ctx.model[index2] = $event
11162
- }, null, 8, ["fields", "flex", "parentModel", "modelValue", "onUpdate:modelValue"])
11358
+ }, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue", "onUpdate:modelValue"])
11163
11359
  ]),
11164
11360
  _: 2
11165
11361
  }, 1024)
@@ -11169,16 +11365,17 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
11169
11365
  }), 128))
11170
11366
  ])) : (openBlock(), createBlock(_component_ux_render, {
11171
11367
  key: 1,
11368
+ submission: $props.submission,
11172
11369
  fields: _ctx.fields,
11173
11370
  flex: $options.sameLine,
11174
11371
  parentModel: _ctx.parentModel,
11175
11372
  modelValue: _ctx.model,
11176
11373
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model = $event)
11177
- }, null, 8, ["fields", "flex", "parentModel", "modelValue"]));
11374
+ }, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue"]));
11178
11375
  }
11179
- var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-f9347560"]]);
11376
+ var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-1d1202c5"]]);
11180
11377
  var field_vue_vue_type_style_index_0_scoped_true_lang = "";
11181
- const _sfc_main$e = {
11378
+ const _sfc_main$g = {
11182
11379
  components: {
11183
11380
  Item,
11184
11381
  FieldGroup
@@ -11194,6 +11391,10 @@ const _sfc_main$e = {
11194
11391
  modelValue: {
11195
11392
  type: Object,
11196
11393
  required: true
11394
+ },
11395
+ submission: {
11396
+ type: Boolean,
11397
+ default: false
11197
11398
  }
11198
11399
  },
11199
11400
  data() {
@@ -11225,11 +11426,14 @@ const _sfc_main$e = {
11225
11426
  type() {
11226
11427
  return this.field.type || "string";
11227
11428
  },
11429
+ isEmbedded() {
11430
+ return this.submission && (this.field.widget === "form" && this.field.type === "reference");
11431
+ },
11228
11432
  isGroup() {
11229
- return this.type === "group";
11433
+ return this.isEmbedded || this.type === "group";
11230
11434
  },
11231
11435
  asObject() {
11232
- return this.isGroup && this.field.asObject;
11436
+ return this.isEmbedded || this.isGroup && this.field.asObject;
11233
11437
  },
11234
11438
  isNumber() {
11235
11439
  switch (this.type) {
@@ -11273,7 +11477,9 @@ const _sfc_main$e = {
11273
11477
  return this.getExpressionHide;
11274
11478
  },
11275
11479
  visible() {
11276
- return !this.hidden && this.fieldModel;
11480
+ var visible = !this.hidden;
11481
+ var hasModel = this.layoutGroup || this.fieldModel;
11482
+ return visible && hasModel;
11277
11483
  },
11278
11484
  type() {
11279
11485
  return this.field.type || "string";
@@ -11318,6 +11524,9 @@ const _sfc_main$e = {
11318
11524
  }
11319
11525
  var widget = this.field.widget;
11320
11526
  switch (widget) {
11527
+ case "form":
11528
+ widget = this.submission ? "form" : "content-select";
11529
+ break;
11321
11530
  case "content-select":
11322
11531
  case "select":
11323
11532
  case "checkbox":
@@ -11356,94 +11565,112 @@ const _sfc_main$e = {
11356
11565
  }
11357
11566
  }
11358
11567
  };
11359
- const _hoisted_1$a = { class: "ux-field-title" };
11360
- const _hoisted_2$7 = { class: "ux-field-description" };
11361
- const _hoisted_3$6 = { key: 1 };
11362
- const _hoisted_4$6 = { key: 1 };
11363
- const _hoisted_5$2 = ["href"];
11364
- const _hoisted_6$1 = { key: 1 };
11365
- const _hoisted_7$1 = ["href"];
11568
+ const _hoisted_1$c = { class: "ux-field-title" };
11569
+ const _hoisted_2$9 = { class: "ux-field-description" };
11570
+ const _hoisted_3$7 = { key: 1 };
11571
+ const _hoisted_4$7 = { key: 1 };
11572
+ const _hoisted_5$2 = { key: 1 };
11573
+ const _hoisted_6$2 = ["href"];
11574
+ const _hoisted_7$2 = { key: 1 };
11366
11575
  const _hoisted_8$1 = ["href"];
11367
- const _hoisted_9 = { key: 1 };
11368
- const _hoisted_10 = ["href"];
11369
- const _hoisted_11 = { key: 1 };
11370
- function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
11371
- const _component_item = resolveComponent("item");
11576
+ const _hoisted_9 = ["href"];
11577
+ const _hoisted_10 = { key: 1 };
11578
+ const _hoisted_11 = ["href"];
11579
+ const _hoisted_12 = { key: 1 };
11580
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
11372
11581
  const _component_field_group = resolveComponent("field-group");
11582
+ const _component_item = resolveComponent("item");
11373
11583
  return $options.visible ? (openBlock(), createElementBlock("div", {
11374
11584
  key: 0,
11375
11585
  class: normalizeClass(["ux-field-render", $options.classes])
11376
11586
  }, [
11377
- createElementVNode("label", _hoisted_1$a, toDisplayString($options.title), 1),
11378
- createElementVNode("div", _hoisted_2$7, toDisplayString($props.field.description), 1),
11379
- $options.type == "reference" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11380
- $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (item, index2) => {
11381
- return openBlock(), createBlock(_component_item, {
11382
- key: item._id,
11383
- item
11384
- }, null, 8, ["item"]);
11385
- }), 128)) : (openBlock(), createBlock(_component_item, {
11386
- key: 1,
11387
- item: $options.fieldModel
11388
- }, null, 8, ["item"]))
11389
- ], 64)) : createCommentVNode("", true),
11390
- $options.widget == "group" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
11587
+ createElementVNode("label", _hoisted_1$c, toDisplayString($options.title), 1),
11588
+ createElementVNode("div", _hoisted_2$9, toDisplayString($props.field.description), 1),
11589
+ $options.widget === "group" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11391
11590
  $options.asObject ? (openBlock(), createBlock(_component_field_group, {
11392
11591
  key: 0,
11592
+ submission: $props.submission,
11393
11593
  field: $props.field,
11394
11594
  parentModel: $props.parentModel,
11395
11595
  modelValue: $options.fieldModel,
11396
11596
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.fieldModel = $event)
11397
- }, null, 8, ["field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
11597
+ }, null, 8, ["submission", "field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
11398
11598
  key: 1,
11599
+ submission: $props.submission,
11399
11600
  field: $props.field,
11400
11601
  parentModel: $props.parentModel,
11401
11602
  modelValue: $options.sourceModel,
11402
11603
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $options.sourceModel = $event)
11403
- }, null, 8, ["field", "parentModel", "modelValue"]))
11404
- ], 64)) : createCommentVNode("", true),
11405
- $options.type == "string" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
11406
- $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11407
- return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
11408
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_3$6, toDisplayString($options.fieldModel), 1))
11409
- ], 64)) : createCommentVNode("", true),
11410
- $options.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
11411
- $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11412
- return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
11413
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$6, toDisplayString($options.fieldModel), 1))
11414
- ], 64)) : createCommentVNode("", true),
11415
- $options.type == "email" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
11416
- $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11417
- return openBlock(), createElementBlock("div", null, [
11604
+ }, null, 8, ["submission", "field", "parentModel", "modelValue"]))
11605
+ ], 64)) : $options.widget === "form" ? (openBlock(), createBlock(_component_field_group, {
11606
+ key: 1,
11607
+ submission: $props.submission,
11608
+ field: $props.field,
11609
+ parentModel: $props.parentModel,
11610
+ modelValue: $options.fieldModel,
11611
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $options.fieldModel = $event)
11612
+ }, null, 8, ["submission", "field", "parentModel", "modelValue"])) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
11613
+ $options.type === "reference" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11614
+ $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (item, index2) => {
11615
+ return openBlock(), createBlock(_component_item, {
11616
+ submission: $props.submission,
11617
+ key: item._id,
11618
+ item
11619
+ }, null, 8, ["submission", "item"]);
11620
+ }), 128)) : (openBlock(), createBlock(_component_item, {
11621
+ key: 1,
11622
+ submission: $props.submission,
11623
+ item: $options.fieldModel
11624
+ }, null, 8, ["submission", "item"]))
11625
+ ], 64)) : createCommentVNode("", true),
11626
+ $options.type == "string" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
11627
+ $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11628
+ return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
11629
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_3$7, toDisplayString($options.fieldModel), 1))
11630
+ ], 64)) : createCommentVNode("", true),
11631
+ $options.type == "boolean" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
11632
+ $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11633
+ return openBlock(), createElementBlock("div", null, toDisplayString(!!value), 1);
11634
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$7, toDisplayString(!!$options.fieldModel), 1))
11635
+ ], 64)) : createCommentVNode("", true),
11636
+ $options.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
11637
+ $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11638
+ return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
11639
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_5$2, toDisplayString($options.fieldModel), 1))
11640
+ ], 64)) : createCommentVNode("", true),
11641
+ $options.type == "email" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
11642
+ $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11643
+ return openBlock(), createElementBlock("div", null, [
11644
+ createElementVNode("a", {
11645
+ href: `mailto:${value}`
11646
+ }, toDisplayString(value), 9, _hoisted_6$2)
11647
+ ]);
11648
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_7$2, [
11418
11649
  createElementVNode("a", {
11419
- href: `mailto:${value}`
11420
- }, toDisplayString(value), 9, _hoisted_5$2)
11421
- ]);
11422
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_6$1, [
11423
- createElementVNode("a", {
11424
- href: `mailto:${$options.fieldModel}`
11425
- }, toDisplayString($options.fieldModel), 9, _hoisted_7$1)
11426
- ]))
11427
- ], 64)) : createCommentVNode("", true),
11428
- $options.type == "url" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
11429
- $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11430
- return openBlock(), createElementBlock("div", null, [
11431
- createElementVNode("a", { href: value }, toDisplayString(value), 9, _hoisted_8$1)
11432
- ]);
11433
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_9, [
11434
- createElementVNode("a", { href: $options.fieldModel }, toDisplayString($options.fieldModel), 9, _hoisted_10)
11435
- ]))
11436
- ], 64)) : createCommentVNode("", true),
11437
- $options.isNumber ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
11438
- $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11439
- return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
11440
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_11, toDisplayString($options.fieldModel), 1))
11441
- ], 64)) : createCommentVNode("", true)
11650
+ href: `mailto:${$options.fieldModel}`
11651
+ }, toDisplayString($options.fieldModel), 9, _hoisted_8$1)
11652
+ ]))
11653
+ ], 64)) : createCommentVNode("", true),
11654
+ $options.type == "url" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
11655
+ $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11656
+ return openBlock(), createElementBlock("div", null, [
11657
+ createElementVNode("a", { href: value }, toDisplayString(value), 9, _hoisted_9)
11658
+ ]);
11659
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_10, [
11660
+ createElementVNode("a", { href: $options.fieldModel }, toDisplayString($options.fieldModel), 9, _hoisted_11)
11661
+ ]))
11662
+ ], 64)) : createCommentVNode("", true),
11663
+ $options.isNumber ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
11664
+ $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
11665
+ return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
11666
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_12, toDisplayString($options.fieldModel), 1))
11667
+ ], 64)) : createCommentVNode("", true)
11668
+ ], 64))
11442
11669
  ], 2)) : createCommentVNode("", true);
11443
11670
  }
11444
- var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-02f0b094"]]);
11671
+ var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-28427b70"]]);
11445
11672
  var render_vue_vue_type_style_index_0_scoped_true_lang = "";
11446
- const _sfc_main$d = {
11673
+ const _sfc_main$f = {
11447
11674
  props: {
11448
11675
  parentModel: {
11449
11676
  type: Object
@@ -11463,6 +11690,10 @@ const _sfc_main$d = {
11463
11690
  flex: {
11464
11691
  type: Boolean,
11465
11692
  default: false
11693
+ },
11694
+ submission: {
11695
+ type: Boolean,
11696
+ default: false
11466
11697
  }
11467
11698
  },
11468
11699
  watch: {
@@ -11498,7 +11729,7 @@ const _sfc_main$d = {
11498
11729
  }
11499
11730
  }
11500
11731
  };
11501
- function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
11732
+ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
11502
11733
  const _component_ux_field_render = resolveComponent("ux-field-render");
11503
11734
  return openBlock(), createElementBlock("div", {
11504
11735
  class: normalizeClass(["ux-render", $options.renderClass])
@@ -11506,18 +11737,19 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
11506
11737
  renderSlot(_ctx.$slots, "render", { fields: $props.fields }, () => [
11507
11738
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.renderFields, (field, index2) => {
11508
11739
  return openBlock(), createBlock(_component_ux_field_render, {
11740
+ submission: $props.submission,
11509
11741
  field,
11510
11742
  modelValue: $data.model,
11511
11743
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model = $event),
11512
11744
  parentModel: $props.parentModel || $data.model,
11513
11745
  key: `ux-render-field-${field.key}-${index2}`,
11514
11746
  class: normalizeClass($options.fieldClass)
11515
- }, null, 8, ["field", "modelValue", "parentModel", "class"]);
11747
+ }, null, 8, ["submission", "field", "modelValue", "parentModel", "class"]);
11516
11748
  }), 128))
11517
11749
  ], true)
11518
11750
  ], 2);
11519
11751
  }
11520
- var UXRender = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-31c62e32"]]);
11752
+ var UXRender = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-4d848e06"]]);
11521
11753
  var isArray$3 = Array.isArray;
11522
11754
  var isArray_1 = isArray$3;
11523
11755
  var isArray$2 = isArray_1, isSymbol$2 = isSymbol_1;
@@ -11921,7 +12153,7 @@ var TableCellMixin = {
11921
12153
  }
11922
12154
  };
11923
12155
  var Thumbnail_vue_vue_type_style_index_0_scoped_true_lang = "";
11924
- const _sfc_main$c = {
12156
+ const _sfc_main$e = {
11925
12157
  mixins: [TableCellMixin],
11926
12158
  computed: {
11927
12159
  type() {
@@ -11930,11 +12162,11 @@ const _sfc_main$c = {
11930
12162
  }
11931
12163
  }
11932
12164
  };
11933
- const _hoisted_1$9 = { class: "table-image-cell" };
11934
- function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
12165
+ const _hoisted_1$b = { class: "table-image-cell" };
12166
+ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
11935
12167
  const _component_ux_image = resolveComponent("ux-image");
11936
12168
  const _component_ux_icon = resolveComponent("ux-icon");
11937
- return openBlock(), createElementBlock("td", _hoisted_1$9, [
12169
+ return openBlock(), createElementBlock("td", _hoisted_1$b, [
11938
12170
  $options.type == "image" || $options.type == "video" ? (openBlock(), createBlock(_component_ux_image, {
11939
12171
  key: 0,
11940
12172
  item: _ctx.row,
@@ -11946,9 +12178,9 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
11946
12178
  }))
11947
12179
  ]);
11948
12180
  }
11949
- var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-6dbe8d2c"]]);
12181
+ var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-6dbe8d2c"]]);
11950
12182
  var Button_vue_vue_type_style_index_0_scoped_true_lang = "";
11951
- const _sfc_main$b = {
12183
+ const _sfc_main$d = {
11952
12184
  data() {
11953
12185
  return {
11954
12186
  processing: false
@@ -11972,11 +12204,11 @@ const _sfc_main$b = {
11972
12204
  }
11973
12205
  }
11974
12206
  };
11975
- const _hoisted_1$8 = { class: "table-button-cell" };
11976
- function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
12207
+ const _hoisted_1$a = { class: "table-button-cell" };
12208
+ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
11977
12209
  const _component_ux_icon = resolveComponent("ux-icon");
11978
12210
  const _component_ux_button = resolveComponent("ux-button");
11979
- return openBlock(), createElementBlock("td", _hoisted_1$8, [
12211
+ return openBlock(), createElementBlock("td", _hoisted_1$a, [
11980
12212
  createVNode(_component_ux_button, {
11981
12213
  size: $options.button.size,
11982
12214
  loading: $data.processing,
@@ -11996,7 +12228,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
11996
12228
  }, 8, ["size", "loading", "onClick"])
11997
12229
  ]);
11998
12230
  }
11999
- var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-3cbecb7e"]]);
12231
+ var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-3cbecb7e"]]);
12000
12232
  class LuxonError extends Error {
12001
12233
  }
12002
12234
  class InvalidDateTimeError extends LuxonError {
@@ -15829,6 +16061,72 @@ function friendlyDateTime(dateTimeish) {
15829
16061
  throw new InvalidArgumentError(`Unknown datetime argument: ${dateTimeish}, of type ${typeof dateTimeish}`);
15830
16062
  }
15831
16063
  }
16064
+ var DateCell_vue_vue_type_style_index_0_scoped_true_lang = "";
16065
+ const _sfc_main$c = {
16066
+ mixins: [TableCellMixin],
16067
+ computed: {
16068
+ timeago() {
16069
+ return DateTime.fromISO(this.value).toRelative();
16070
+ },
16071
+ readable() {
16072
+ let value = DateTime.fromISO(this.value);
16073
+ let now2 = DateTime.now();
16074
+ let currentYear = now2.toFormat("yyyy");
16075
+ now2.toFormat("MMM yyyy");
16076
+ if (value.toFormat("yyyy") === currentYear) {
16077
+ return DateTime.fromISO(this.value).toFormat("h:mm a - dd MMM");
16078
+ }
16079
+ return DateTime.fromISO(this.value).toFormat("h:mm a - dd MMM yyyy");
16080
+ }
16081
+ }
16082
+ };
16083
+ const _hoisted_1$9 = { class: "table-date-cell" };
16084
+ const _hoisted_2$8 = { class: "off" };
16085
+ const _hoisted_3$6 = { class: "on" };
16086
+ const _hoisted_4$6 = { class: "spacer" };
16087
+ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
16088
+ return openBlock(), createElementBlock("td", _hoisted_1$9, [
16089
+ createElementVNode("div", null, [
16090
+ createElementVNode("span", _hoisted_2$8, toDisplayString($options.readable), 1),
16091
+ createElementVNode("span", _hoisted_3$6, toDisplayString($options.timeago), 1),
16092
+ createElementVNode("span", _hoisted_4$6, toDisplayString($options.readable), 1)
16093
+ ])
16094
+ ]);
16095
+ }
16096
+ var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-bde0ae3a"]]);
16097
+ var URLCell_vue_vue_type_style_index_0_scoped_true_lang = "";
16098
+ const _sfc_main$b = {
16099
+ mixins: [TableCellMixin],
16100
+ methods: {
16101
+ open() {
16102
+ window.open(this.href);
16103
+ }
16104
+ },
16105
+ computed: {
16106
+ href() {
16107
+ return `http://${this.value}`;
16108
+ }
16109
+ }
16110
+ };
16111
+ const _hoisted_1$8 = { class: "table-url-cell" };
16112
+ const _hoisted_2$7 = ["href"];
16113
+ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
16114
+ const _component_ux_icon = resolveComponent("ux-icon");
16115
+ return openBlock(), createElementBlock("td", _hoisted_1$8, [
16116
+ createElementVNode("a", {
16117
+ href: $options.href,
16118
+ onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
16119
+ target: "_blank"
16120
+ }, [
16121
+ createTextVNode(toDisplayString(_ctx.value) + " ", 1),
16122
+ createVNode(_component_ux_icon, {
16123
+ right: "",
16124
+ icon: "fa-external-link"
16125
+ })
16126
+ ], 8, _hoisted_2$7)
16127
+ ]);
16128
+ }
16129
+ var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-17cf3a86"]]);
15832
16130
  var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
15833
16131
  const _sfc_main$a = {
15834
16132
  props: {
@@ -15837,6 +16135,9 @@ const _sfc_main$a = {
15837
16135
  },
15838
16136
  type: {
15839
16137
  type: String
16138
+ },
16139
+ widget: {
16140
+ type: String
15840
16141
  }
15841
16142
  },
15842
16143
  computed: {
@@ -15848,6 +16149,19 @@ const _sfc_main$a = {
15848
16149
  },
15849
16150
  date() {
15850
16151
  return DateTime.fromISO(this.value).toFormat("dd MMM yyyy");
16152
+ },
16153
+ actualWidget() {
16154
+ var widget;
16155
+ if (this.widget) {
16156
+ widget = this.widget;
16157
+ } else {
16158
+ switch (this.type) {
16159
+ case "date":
16160
+ widget = "datetime";
16161
+ break;
16162
+ }
16163
+ }
16164
+ return widget;
15851
16165
  }
15852
16166
  },
15853
16167
  methods: {
@@ -15866,7 +16180,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
15866
16180
  createTextVNode(toDisplayString($options.renderValue), 1)
15867
16181
  ], 64));
15868
16182
  }
15869
- var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-59c79a19"]]);
16183
+ var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-1d4b9bcb"]]);
15870
16184
  var TableCell_vue_vue_type_style_index_0_scoped_true_lang = "";
15871
16185
  const _sfc_main$9 = {
15872
16186
  data() {
@@ -15878,16 +16192,36 @@ const _sfc_main$9 = {
15878
16192
  ValueRenderer
15879
16193
  },
15880
16194
  async created() {
15881
- var component;
15882
- switch (this.column.renderer) {
16195
+ const self2 = this;
16196
+ let component;
16197
+ const cellType = self2.column.type;
16198
+ const cellRenderer = self2.column.renderer;
16199
+ switch (cellRenderer) {
15883
16200
  case "button":
15884
16201
  component = ButtonCell;
15885
16202
  break;
16203
+ case "date":
16204
+ case "datetime":
16205
+ component = DateCell;
16206
+ break;
16207
+ case "url":
16208
+ component = URLCell;
16209
+ break;
15886
16210
  case "thumbnail":
15887
16211
  component = ThumbnailCell;
15888
16212
  break;
16213
+ default:
16214
+ switch (cellType) {
16215
+ case "date":
16216
+ component = DateCell;
16217
+ break;
16218
+ case "url":
16219
+ component = URLCell;
16220
+ break;
16221
+ }
16222
+ break;
15889
16223
  }
15890
- this.component = component;
16224
+ self2.component = component;
15891
16225
  },
15892
16226
  props: {
15893
16227
  column: {
@@ -15962,7 +16296,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
15962
16296
  }, null, 8, ["type", "value"]))
15963
16297
  ]));
15964
16298
  }
15965
- var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-3bb9fc86"]]);
16299
+ var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-b65aded4"]]);
15966
16300
  const _sfc_main$8 = {
15967
16301
  components: {
15968
16302
  TableCell
@@ -16032,13 +16366,14 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
16032
16366
  }, [
16033
16367
  createVNode(_component_ux_checkbox, { value: $props.selected }, null, 8, ["value"])
16034
16368
  ])) : createCommentVNode("", true),
16035
- (openBlock(true), createElementBlock(Fragment, null, renderList($props.columns, (column) => {
16369
+ (openBlock(true), createElementBlock(Fragment, null, renderList($props.columns, (column, index2) => {
16036
16370
  return openBlock(), createBlock(_component_table_cell, {
16371
+ key: `${column.path || column.key}-${index2}`,
16037
16372
  onClick: withModifiers(($event) => $options.clickCell(column), ["stop", "prevent"]),
16038
16373
  column,
16039
16374
  row: $props.row
16040
16375
  }, null, 8, ["onClick", "column", "row"]);
16041
- }), 256)),
16376
+ }), 128)),
16042
16377
  $props.enableActions ? (openBlock(), createElementBlock("th", {
16043
16378
  key: 1,
16044
16379
  class: "table-cell last shrink",
@@ -16243,8 +16578,8 @@ const _hoisted_3$4 = {
16243
16578
  };
16244
16579
  const _hoisted_4$4 = /* @__PURE__ */ createTextVNode(" Select Page ");
16245
16580
  const _hoisted_5$1 = /* @__PURE__ */ createTextVNode(" Deselect Page ");
16246
- const _hoisted_6 = /* @__PURE__ */ createTextVNode(" Deselect All ");
16247
- const _hoisted_7 = ["onClick"];
16581
+ const _hoisted_6$1 = /* @__PURE__ */ createTextVNode(" Deselect All ");
16582
+ const _hoisted_7$1 = ["onClick"];
16248
16583
  const _hoisted_8 = {
16249
16584
  key: 1,
16250
16585
  class: "last shrink"
@@ -16299,7 +16634,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
16299
16634
  onClick: _cache[3] || (_cache[3] = ($event) => $props.deselectAll())
16300
16635
  }, {
16301
16636
  default: withCtx(() => [
16302
- _hoisted_6
16637
+ _hoisted_6$1
16303
16638
  ]),
16304
16639
  _: 1
16305
16640
  })) : createCommentVNode("", true)
@@ -16314,7 +16649,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
16314
16649
  return openBlock(), createElementBlock("th", {
16315
16650
  onClick: ($event) => $options.toggleSort(column),
16316
16651
  class: normalizeClass(column.class)
16317
- }, toDisplayString(column.title), 11, _hoisted_7);
16652
+ }, toDisplayString(column.title), 11, _hoisted_7$1);
16318
16653
  }), 256)),
16319
16654
  $props.enableActions ? (openBlock(), createElementBlock("th", _hoisted_8, [
16320
16655
  renderSlot(_ctx.$slots, "corner", {}, void 0, true)
@@ -16341,7 +16676,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
16341
16676
  ], 512)
16342
16677
  ]);
16343
16678
  }
16344
- var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-5a1f230c"]]);
16679
+ var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-6a2e9dbe"]]);
16345
16680
  function Selection(options) {
16346
16681
  options = options || {};
16347
16682
  Math.max(parseInt(options.minimum || 0), 0);
@@ -16674,19 +17009,23 @@ function defaultColumns(self2, type) {
16674
17009
  ignoreTitle = true;
16675
17010
  columns.push({
16676
17011
  title: "First Name",
16677
- key: "firstName"
17012
+ key: "firstName",
17013
+ shrink: true
16678
17014
  });
16679
17015
  columns.push({
16680
17016
  title: "Last Name",
16681
- key: "lastName"
17017
+ key: "lastName",
17018
+ shrink: true
16682
17019
  });
16683
17020
  columns.push({
16684
17021
  title: "Gender",
16685
- key: "gender"
17022
+ key: "gender",
17023
+ shrink: true
16686
17024
  });
16687
17025
  columns.push({
16688
17026
  title: "Age",
16689
- key: "age"
17027
+ key: "age",
17028
+ shrink: true
16690
17029
  });
16691
17030
  break;
16692
17031
  case "definition":
@@ -16738,13 +17077,19 @@ function defaultColumns(self2, type) {
16738
17077
  });
16739
17078
  columns.push({
16740
17079
  title: "Mime Type",
16741
- key: "fileMime"
16742
- });
16743
- columns.push({
16744
- title: "File Type",
16745
- key: "mediaIntegrationType",
17080
+ key: "fileMime",
16746
17081
  shrink: true
16747
17082
  });
17083
+ switch (type) {
17084
+ case "image":
17085
+ case "video":
17086
+ columns.push({
17087
+ title: "Media Type",
17088
+ key: "mediaIntegrationType",
17089
+ shrink: true
17090
+ });
17091
+ break;
17092
+ }
16748
17093
  break;
16749
17094
  }
16750
17095
  if (!ignoreTitle) {
@@ -16832,6 +17177,10 @@ const _sfc_main$5 = {
16832
17177
  enableActions: {
16833
17178
  type: Boolean,
16834
17179
  default: false
17180
+ },
17181
+ trash: {
17182
+ type: Boolean,
17183
+ default: false
16835
17184
  }
16836
17185
  },
16837
17186
  components: {
@@ -16915,21 +17264,46 @@ const _sfc_main$5 = {
16915
17264
  return defaultSort;
16916
17265
  },
16917
17266
  fields() {
16918
- var allFields = [...this.definition.fields];
16919
- var definedFields = this.definition.definedFields || [];
17267
+ const self2 = this;
17268
+ const isFormSubmission = self2.definition.definesType === "submission";
17269
+ var allFields = [...self2.definition.fields];
17270
+ var definedFields = self2.definition.definedFields || [];
16920
17271
  if (definedFields.length) {
16921
- var customFields = {
16922
- title: `${this.definition.title}`,
16923
- minimum: 1,
16924
- maximum: 1,
16925
- key: "data",
16926
- asObject: true,
16927
- type: "group",
16928
- fields: definedFields
16929
- };
16930
- allFields.push(customFields);
17272
+ if (isFormSubmission) {
17273
+ var formDataFields = {
17274
+ title: `Form Data`,
17275
+ minimum: 1,
17276
+ maximum: 1,
17277
+ key: "formData",
17278
+ asObject: true,
17279
+ type: "group",
17280
+ fields: definedFields
17281
+ };
17282
+ allFields.push(formDataFields);
17283
+ var dataFields = {
17284
+ title: `Data`,
17285
+ minimum: 1,
17286
+ maximum: 1,
17287
+ key: "data",
17288
+ asObject: true,
17289
+ type: "group",
17290
+ fields: definedFields
17291
+ };
17292
+ allFields.push(dataFields);
17293
+ } else {
17294
+ var dataFields = {
17295
+ title: `${self2.definition.title}`,
17296
+ minimum: 1,
17297
+ maximum: 1,
17298
+ key: "data",
17299
+ asObject: true,
17300
+ type: "group",
17301
+ fields: definedFields
17302
+ };
17303
+ allFields.push(dataFields);
17304
+ }
16931
17305
  }
16932
- var mapped = this.$qik.utils.mapFields(allFields).filter(function(field) {
17306
+ var mapped = self2.$qik.utils.mapFields(allFields).filter(function(field) {
16933
17307
  var isObject2 = field.type == "group" && field.asObject && (field.minimum == 1 && field.maximum == 1);
16934
17308
  return !isObject2;
16935
17309
  }).map(function(field) {
@@ -16960,56 +17334,46 @@ const _sfc_main$5 = {
16960
17334
  return this.definition.plural;
16961
17335
  },
16962
17336
  selectFields() {
16963
- var fields = this.columns.map(function(column) {
16964
- if (column.fields) {
16965
- return [column.key, ...column.fields];
16966
- }
16967
- return column.key;
17337
+ const self2 = this;
17338
+ var fields = self2.columns.map(function(column) {
17339
+ return column.path || column.key;
16968
17340
  }).flat();
16969
- if (this.options.select) {
16970
- fields = [...fields, ...this.options.select];
17341
+ if (self2.options.select) {
17342
+ fields = [...fields, ...self2.options.select];
16971
17343
  }
16972
17344
  return fields;
16973
17345
  },
16974
17346
  columns() {
16975
17347
  let columns = [];
16976
- columns = defaultColumns(this, this.basicType);
16977
- var existingColumns = columns.reduce(function(set, column) {
16978
- set[column.key] = 1;
16979
- return set;
16980
- }, {});
16981
- var augmentColumns = this.options.columns || [];
16982
- augmentColumns.forEach(function(field) {
16983
- if (!existingColumns[field.key]) {
16984
- existingColumns[field.key] = 1;
16985
- columns.push({
16986
- title: field.title,
16987
- key: field.path,
16988
- type: field.type
16989
- });
16990
- }
16991
- });
17348
+ let columnHash = {};
17349
+ function addColumn(force) {
17350
+ return function(col) {
17351
+ var alreadySelected = columnHash[col.path || col.key];
17352
+ if (force || !alreadySelected) {
17353
+ columnHash[col.path || col.key] = 1;
17354
+ columns.push(__spreadProps(__spreadValues({}, col), {
17355
+ key: col.path || col.key
17356
+ }));
17357
+ }
17358
+ };
17359
+ }
17360
+ var prefixColumns = this.options.prefixColumns || [];
17361
+ prefixColumns.forEach(addColumn(true));
17362
+ var optionColumns = this.options.columns;
17363
+ var basicColumns = optionColumns && optionColumns.length ? optionColumns : defaultColumns(this, this.basicType);
17364
+ if (!basicColumns.length) {
17365
+ basicColumns.push({
17366
+ title: "Title",
17367
+ key: "title"
17368
+ });
17369
+ }
17370
+ basicColumns.forEach(addColumn(true));
16992
17371
  var additionalFields = this.additionalFields;
16993
- additionalFields.forEach(function(field) {
16994
- if (!existingColumns[field.key]) {
16995
- existingColumns[field.key] = 1;
16996
- columns.push({
16997
- title: field.title,
16998
- key: field.path,
16999
- type: field.type
17000
- });
17001
- }
17002
- });
17372
+ additionalFields.forEach(addColumn());
17373
+ var suffixColumns = this.options.suffixColumns || [];
17374
+ suffixColumns.forEach(addColumn(true));
17003
17375
  var activeFilters = this.activeFilters;
17004
- activeFilters.forEach(function(filter) {
17005
- if (!existingColumns[filter.key]) {
17006
- existingColumns[filter.key] = 1;
17007
- columns.push({
17008
- title: filter.key,
17009
- key: filter.key
17010
- });
17011
- }
17012
- });
17376
+ activeFilters.forEach(addColumn());
17013
17377
  return columns;
17014
17378
  },
17015
17379
  filterChangeString() {
@@ -17053,11 +17417,12 @@ const _sfc_main$5 = {
17053
17417
  },
17054
17418
  methods: {
17055
17419
  toggleField(field) {
17056
- var key = field.path;
17420
+ var key = field.path || field.key;
17057
17421
  var index2 = this.additionalFields.findIndex(function(f) {
17058
- return f.key == key;
17422
+ return f.path === key || f.key === key;
17059
17423
  });
17060
- if (index2 == -1) {
17424
+ console.log("index", index2, key);
17425
+ if (index2 === -1) {
17061
17426
  this.additionalFields.push(field);
17062
17427
  } else {
17063
17428
  this.additionalFields.splice(index2, 1);
@@ -17069,6 +17434,9 @@ const _sfc_main$5 = {
17069
17434
  }
17070
17435
  row.meta.type = this.basicType;
17071
17436
  row.meta.definition = this.definition.key;
17437
+ if (this.trash) {
17438
+ row.meta.deleted = true;
17439
+ }
17072
17440
  return row;
17073
17441
  },
17074
17442
  deselectAll() {
@@ -17123,6 +17491,9 @@ const _sfc_main$5 = {
17123
17491
  }
17124
17492
  var loadCriteria = Object.assign({}, self2.loadCriteria);
17125
17493
  loadCriteria.includeAll = includeAll;
17494
+ if (self2.trash) {
17495
+ loadCriteria.trash = true;
17496
+ }
17126
17497
  const { promise, cancel } = await self2.$qik.content.list(self2.type, loadCriteria, { cancellable: true });
17127
17498
  cancelInflight = cancel;
17128
17499
  promise.then(function(res) {
@@ -17161,7 +17532,7 @@ const _sfc_main$5 = {
17161
17532
  };
17162
17533
  }
17163
17534
  };
17164
- const _withScopeId = (n2) => (pushScopeId("data-v-3bfbea74"), n2 = n2(), popScopeId(), n2);
17535
+ const _withScopeId = (n2) => (pushScopeId("data-v-685be52b"), n2 = n2(), popScopeId(), n2);
17165
17536
  const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
17166
17537
  const _hoisted_2$4 = { class: "footer" };
17167
17538
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
@@ -17232,7 +17603,8 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
17232
17603
  default: withCtx(() => [
17233
17604
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.fields, (field) => {
17234
17605
  return openBlock(), createBlock(_component_ux_list_item, {
17235
- onClick: ($event) => $options.toggleField(field)
17606
+ onClick: ($event) => $options.toggleField(field),
17607
+ key: field.path
17236
17608
  }, {
17237
17609
  default: withCtx(() => [
17238
17610
  createVNode(_component_ux_icon, {
@@ -17243,7 +17615,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
17243
17615
  ]),
17244
17616
  _: 2
17245
17617
  }, 1032, ["onClick"]);
17246
- }), 256))
17618
+ }), 128))
17247
17619
  ]),
17248
17620
  _: 1
17249
17621
  })
@@ -17330,7 +17702,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
17330
17702
  _: 3
17331
17703
  })) : createCommentVNode("", true);
17332
17704
  }
17333
- var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-3bfbea74"]]);
17705
+ var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-685be52b"]]);
17334
17706
  var ModalMixin = {
17335
17707
  props: {
17336
17708
  options: {
@@ -17477,67 +17849,93 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
17477
17849
  var QikConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-20b62981"]]);
17478
17850
  var OptionsModal_vue_vue_type_style_index_0_scoped_true_lang = "";
17479
17851
  const _sfc_main$2 = {
17480
- mixins: [ModalMixin]
17852
+ data() {
17853
+ return {
17854
+ selected: null
17855
+ };
17856
+ },
17857
+ mixins: [ModalMixin],
17858
+ methods: {
17859
+ select(choice) {
17860
+ this.selected = choice;
17861
+ this.close(choice);
17862
+ }
17863
+ }
17864
+ };
17865
+ const _hoisted_1$2 = { class: "header" };
17866
+ const _hoisted_2$2 = { class: "padder" };
17867
+ const _hoisted_3$2 = ["onClick"];
17868
+ const _hoisted_4$2 = {
17869
+ key: 0,
17870
+ class: "title"
17871
+ };
17872
+ const _hoisted_5 = {
17873
+ key: 1,
17874
+ class: "description"
17481
17875
  };
17482
- const _hoisted_1$2 = /* @__PURE__ */ createTextVNode(" Options ");
17483
- const _hoisted_2$2 = /* @__PURE__ */ createTextVNode(" Options ");
17484
- const _hoisted_3$2 = { class: "padder" };
17485
- const _hoisted_4$2 = /* @__PURE__ */ createTextVNode("Cancel");
17486
- const _hoisted_5 = /* @__PURE__ */ createTextVNode("Confirm");
17876
+ const _hoisted_6 = { class: "padder" };
17877
+ const _hoisted_7 = /* @__PURE__ */ createTextVNode("Cancel");
17487
17878
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
17488
17879
  const _component_flex_header = resolveComponent("flex-header");
17489
- const _component_flex_body = resolveComponent("flex-body");
17490
- const _component_ux_button = resolveComponent("ux-button");
17491
17880
  const _component_flex_cell = resolveComponent("flex-cell");
17492
- const _component_flex_spacer = resolveComponent("flex-spacer");
17881
+ const _component_ux_icon = resolveComponent("ux-icon");
17493
17882
  const _component_flex_row = resolveComponent("flex-row");
17883
+ const _component_flex_body = resolveComponent("flex-body");
17884
+ const _component_ux_button = resolveComponent("ux-button");
17494
17885
  const _component_flex_footer = resolveComponent("flex-footer");
17495
17886
  const _component_flex_column = resolveComponent("flex-column");
17496
- return openBlock(), createBlock(_component_flex_column, null, {
17887
+ return openBlock(), createBlock(_component_flex_column, { class: "wrapper" }, {
17497
17888
  default: withCtx(() => [
17498
17889
  createVNode(_component_flex_header, null, {
17499
17890
  default: withCtx(() => [
17500
- _hoisted_1$2
17501
- ]),
17502
- _: 1
17503
- }),
17504
- createVNode(_component_flex_body, null, {
17505
- default: withCtx(() => [
17506
- _hoisted_2$2
17891
+ createElementVNode("div", _hoisted_1$2, [
17892
+ createElementVNode("h5", null, toDisplayString(_ctx.options.title), 1),
17893
+ createElementVNode("div", null, toDisplayString(_ctx.options.description), 1)
17894
+ ])
17507
17895
  ]),
17508
17896
  _: 1
17509
17897
  }),
17510
- createVNode(_component_flex_footer, null, {
17898
+ createVNode(_component_flex_body, { class: "body" }, {
17511
17899
  default: withCtx(() => [
17512
- createElementVNode("div", _hoisted_3$2, [
17513
- createVNode(_component_flex_row, null, {
17514
- default: withCtx(() => [
17515
- createVNode(_component_flex_cell, { shrink: "" }, {
17900
+ createElementVNode("div", _hoisted_2$2, [
17901
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options.choices, (choice) => {
17902
+ return openBlock(), createElementBlock("div", {
17903
+ class: "choice",
17904
+ onClick: ($event) => $options.select(choice)
17905
+ }, [
17906
+ createVNode(_component_flex_row, { vcenter: "" }, {
17516
17907
  default: withCtx(() => [
17517
- createVNode(_component_ux_button, { onClick: _ctx.dismiss }, {
17908
+ createVNode(_component_flex_cell, null, {
17518
17909
  default: withCtx(() => [
17519
- _hoisted_4$2
17910
+ choice.title ? (openBlock(), createElementBlock("div", _hoisted_4$2, toDisplayString(choice.title), 1)) : createCommentVNode("", true),
17911
+ choice.description ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(choice.description), 1)) : createCommentVNode("", true)
17520
17912
  ]),
17521
- _: 1
17522
- }, 8, ["onClick"])
17523
- ]),
17524
- _: 1
17525
- }),
17526
- createVNode(_component_flex_spacer),
17527
- createVNode(_component_flex_cell, { shrink: "" }, {
17528
- default: withCtx(() => [
17529
- createVNode(_component_ux_button, { onClick: _ctx.close }, {
17913
+ _: 2
17914
+ }, 1024),
17915
+ createVNode(_component_flex_cell, { shrink: "" }, {
17530
17916
  default: withCtx(() => [
17531
- _hoisted_5
17917
+ createVNode(_component_ux_icon, { icon: "fa-angle-right" })
17532
17918
  ]),
17533
17919
  _: 1
17534
- }, 8, ["onClick"])
17920
+ })
17535
17921
  ]),
17536
- _: 1
17537
- })
17922
+ _: 2
17923
+ }, 1024)
17924
+ ], 8, _hoisted_3$2);
17925
+ }), 256))
17926
+ ])
17927
+ ]),
17928
+ _: 1
17929
+ }),
17930
+ createVNode(_component_flex_footer, null, {
17931
+ default: withCtx(() => [
17932
+ createElementVNode("div", _hoisted_6, [
17933
+ createVNode(_component_ux_button, { onClick: _ctx.dismiss }, {
17934
+ default: withCtx(() => [
17935
+ _hoisted_7
17538
17936
  ]),
17539
17937
  _: 1
17540
- })
17938
+ }, 8, ["onClick"])
17541
17939
  ])
17542
17940
  ]),
17543
17941
  _: 1
@@ -17546,7 +17944,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
17546
17944
  _: 1
17547
17945
  });
17548
17946
  }
17549
- var QikOptionsModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-62010c97"]]);
17947
+ var QikOptionsModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-52f8951e"]]);
17550
17948
  var PromptModal_vue_vue_type_style_index_0_scoped_true_lang = "";
17551
17949
  const _sfc_main$1 = {
17552
17950
  mixins: [ModalMixin],
@@ -17957,7 +18355,9 @@ const defaultComponents = {
17957
18355
  UxList: UXList,
17958
18356
  UxListItem: UXListItem,
17959
18357
  UxForm: UXForm,
18358
+ UxSubmissionForm: UXSubmissionForm,
17960
18359
  UxFormField: UXFormField,
18360
+ UxSubmissionForm: UXSubmissionForm,
17961
18361
  UxRender: UXRender,
17962
18362
  UxRenderField: UXRenderField,
17963
18363
  UxIcon: UXIcon,
@@ -18034,5 +18434,5 @@ const QikUI = {
18034
18434
  }
18035
18435
  }
18036
18436
  };
18037
- 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 };
18437
+ 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 };
18038
18438
  //# sourceMappingURL=lib.es.js.map