@qikdev/vue-ui 0.2.25 → 0.2.27

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, normalizeClass, Fragment, createVNode, withCtx, renderList, toDisplayString, withDirectives, createBlock, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, mergeProps, toHandlers, vModelSelect, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelText, withKeys, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, reactive, watch } from "vue";
34
34
  import { EventDispatcher } from "@qikdev/sdk";
35
- const version$1 = "0.2.25";
35
+ const version$1 = "0.2.27";
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$1o = {};
45
+ const _hoisted_1$13 = { class: "flex-column" };
46
+ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
47
+ return openBlock(), createElementBlock("div", _hoisted_1$13, [
48
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
49
+ ]);
50
+ }
51
+ var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1o], ["__scopeId", "data-v-203ea86f"]]);
52
+ var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
44
53
  const _sfc_main$1n = {};
45
- const _hoisted_1$12 = { class: "flex-column" };
54
+ const _hoisted_1$12 = { class: "flex-column-body" };
46
55
  function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
47
56
  return openBlock(), createElementBlock("div", _hoisted_1$12, [
48
57
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
49
58
  ]);
50
59
  }
51
- var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__scopeId", "data-v-203ea86f"]]);
52
- var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
60
+ var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__scopeId", "data-v-64850355"]]);
61
+ var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
53
62
  const _sfc_main$1m = {};
54
- const _hoisted_1$11 = { class: "flex-column-body" };
63
+ const _hoisted_1$11 = { class: "flex-column-header" };
55
64
  function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
56
65
  return openBlock(), createElementBlock("div", _hoisted_1$11, [
57
66
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
58
67
  ]);
59
68
  }
60
- var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__scopeId", "data-v-64850355"]]);
61
- var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
69
+ var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__scopeId", "data-v-10b28f00"]]);
70
+ var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
62
71
  const _sfc_main$1l = {};
63
- const _hoisted_1$10 = { class: "flex-column-header" };
72
+ const _hoisted_1$10 = { class: "flex-column-footer" };
64
73
  function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
65
74
  return openBlock(), createElementBlock("div", _hoisted_1$10, [
66
75
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
67
76
  ]);
68
77
  }
69
- var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__scopeId", "data-v-10b28f00"]]);
70
- var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
78
+ var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__scopeId", "data-v-68216a72"]]);
79
+ var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
71
80
  const _sfc_main$1k = {};
72
- const _hoisted_1$$ = { class: "flex-column-footer" };
81
+ const _hoisted_1$$ = { class: "flex-cell" };
73
82
  function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
74
83
  return openBlock(), createElementBlock("div", _hoisted_1$$, [
75
84
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
76
85
  ]);
77
86
  }
78
- var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__scopeId", "data-v-68216a72"]]);
79
- var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
87
+ var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__scopeId", "data-v-644bb279"]]);
88
+ var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
80
89
  const _sfc_main$1j = {};
81
- const _hoisted_1$_ = { class: "flex-cell" };
90
+ const _hoisted_1$_ = { class: "flex-row" };
82
91
  function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
83
92
  return openBlock(), createElementBlock("div", _hoisted_1$_, [
84
93
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
85
94
  ]);
86
95
  }
87
- var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__scopeId", "data-v-644bb279"]]);
88
- var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
96
+ var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__scopeId", "data-v-5b76ad1f"]]);
97
+ var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
89
98
  const _sfc_main$1i = {};
90
- const _hoisted_1$Z = { class: "flex-row" };
99
+ const _hoisted_1$Z = { class: "flex-spacer" };
91
100
  function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
92
- return openBlock(), createElementBlock("div", _hoisted_1$Z, [
93
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
94
- ]);
101
+ return openBlock(), createElementBlock("div", _hoisted_1$Z);
95
102
  }
96
- var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__scopeId", "data-v-5b76ad1f"]]);
97
- var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
103
+ var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__scopeId", "data-v-35b15579"]]);
104
+ var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
98
105
  const _sfc_main$1h = {};
99
- const _hoisted_1$Y = { class: "flex-spacer" };
106
+ const _hoisted_1$Y = { class: "panel" };
100
107
  function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
101
- return openBlock(), createElementBlock("div", _hoisted_1$Y);
108
+ return openBlock(), createElementBlock("div", _hoisted_1$Y, [
109
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
110
+ ]);
102
111
  }
103
- var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__scopeId", "data-v-35b15579"]]);
104
- var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
112
+ var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__scopeId", "data-v-50ae77fc"]]);
113
+ var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
105
114
  const _sfc_main$1g = {};
106
- const _hoisted_1$X = { class: "panel" };
115
+ const _hoisted_1$X = { class: "panel-body" };
107
116
  function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
108
117
  return openBlock(), createElementBlock("div", _hoisted_1$X, [
109
118
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
110
119
  ]);
111
120
  }
112
- var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__scopeId", "data-v-50ae77fc"]]);
113
- var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
121
+ var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__scopeId", "data-v-c82dca76"]]);
122
+ var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
114
123
  const _sfc_main$1f = {};
115
- const _hoisted_1$W = { class: "panel-body" };
124
+ const _hoisted_1$W = { class: "panel-header" };
116
125
  function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
117
126
  return openBlock(), createElementBlock("div", _hoisted_1$W, [
118
127
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
119
128
  ]);
120
129
  }
121
- var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__scopeId", "data-v-c82dca76"]]);
122
- var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
130
+ var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__scopeId", "data-v-13bf11da"]]);
131
+ var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
123
132
  const _sfc_main$1e = {};
124
- const _hoisted_1$V = { class: "panel-header" };
133
+ const _hoisted_1$V = { class: "panel-footer" };
125
134
  function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
126
135
  return openBlock(), createElementBlock("div", _hoisted_1$V, [
127
136
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
128
137
  ]);
129
138
  }
130
- var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__scopeId", "data-v-13bf11da"]]);
131
- var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
132
- const _sfc_main$1d = {};
133
- const _hoisted_1$U = { class: "panel-footer" };
134
- function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
135
- return openBlock(), createElementBlock("div", _hoisted_1$U, [
136
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
137
- ]);
138
- }
139
- var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-b4f4786a"]]);
139
+ var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__scopeId", "data-v-b4f4786a"]]);
140
140
  var tabset_vue_vue_type_style_index_0_scoped_true_lang = "";
141
- const _sfc_main$1c = {
141
+ const _sfc_main$1d = {
142
142
  props: {
143
143
  vertical: {
144
144
  type: Boolean
@@ -167,9 +167,9 @@ const _sfc_main$1c = {
167
167
  }
168
168
  }
169
169
  };
170
- const _hoisted_1$T = ["onClick"];
171
- const _hoisted_2$J = ["onClick"];
172
- function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
170
+ const _hoisted_1$U = ["onClick"];
171
+ const _hoisted_2$K = ["onClick"];
172
+ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
173
173
  const _component_flex_body = resolveComponent("flex-body");
174
174
  const _component_flex_column = resolveComponent("flex-column");
175
175
  const _component_flex_row = resolveComponent("flex-row");
@@ -187,7 +187,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
187
187
  class: normalizeClass({ active: index2 === $data.activeIndex }),
188
188
  key: `tab-link-${tab.props.heading}`,
189
189
  onClick: ($event) => $options.select(index2)
190
- }, toDisplayString(tab.props.heading), 11, _hoisted_1$T);
190
+ }, toDisplayString(tab.props.heading), 11, _hoisted_1$U);
191
191
  }), 128))
192
192
  ]),
193
193
  _: 1
@@ -222,7 +222,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
222
222
  class: normalizeClass({ active: index2 === $data.activeIndex }),
223
223
  key: `tab-link-${tab.props.heading}`,
224
224
  onClick: ($event) => $options.select(index2)
225
- }, toDisplayString(tab.props.heading), 11, _hoisted_2$J);
225
+ }, toDisplayString(tab.props.heading), 11, _hoisted_2$K);
226
226
  }), 128))
227
227
  ]),
228
228
  _: 1
@@ -250,8 +250,8 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
250
250
  ], 64))
251
251
  ], 2);
252
252
  }
253
- var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-2a0551fe"]]);
254
- const _sfc_main$1b = {
253
+ var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-2a0551fe"]]);
254
+ const _sfc_main$1c = {
255
255
  props: {
256
256
  heading: {
257
257
  type: String,
@@ -278,7 +278,7 @@ const _sfc_main$1b = {
278
278
  }
279
279
  }
280
280
  };
281
- function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
281
+ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
282
282
  const _component_flex_column = resolveComponent("flex-column");
283
283
  return openBlock(), createBlock(_component_flex_column, null, {
284
284
  default: withCtx(() => [
@@ -287,7 +287,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
287
287
  _: 3
288
288
  });
289
289
  }
290
- var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b]]);
290
+ var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c]]);
291
291
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
292
292
  var isArray$5 = Array.isArray;
293
293
  var isArray_1 = isArray$5;
@@ -755,7 +755,7 @@ var TableCellMixin = {
755
755
  }
756
756
  };
757
757
  var Thumbnail_vue_vue_type_style_index_0_scoped_true_lang = "";
758
- const _sfc_main$1a = {
758
+ const _sfc_main$1b = {
759
759
  mixins: [TableCellMixin],
760
760
  computed: {
761
761
  imageSource() {
@@ -772,11 +772,11 @@ const _sfc_main$1a = {
772
772
  }
773
773
  }
774
774
  };
775
- const _hoisted_1$S = { class: "table-image-cell" };
776
- function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
775
+ const _hoisted_1$T = { class: "table-image-cell" };
776
+ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
777
777
  const _component_ux_image = resolveComponent("ux-image");
778
778
  const _component_ux_icon = resolveComponent("ux-icon");
779
- return openBlock(), createElementBlock("td", _hoisted_1$S, [
779
+ return openBlock(), createElementBlock("td", _hoisted_1$T, [
780
780
  $options.type == "image" || $options.type == "video" ? (openBlock(), createElementBlock("div", {
781
781
  key: 0,
782
782
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.clicked(_ctx.value), ["stop", "prevent"])),
@@ -794,9 +794,9 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
794
794
  }))
795
795
  ]);
796
796
  }
797
- var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__scopeId", "data-v-246a2688"]]);
797
+ var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__scopeId", "data-v-246a2688"]]);
798
798
  var Currency_vue_vue_type_style_index_0_scoped_true_lang = "";
799
- const _sfc_main$19 = {
799
+ const _sfc_main$1a = {
800
800
  mixins: [TableCellMixin],
801
801
  computed: {
802
802
  string() {
@@ -819,14 +819,14 @@ const _sfc_main$19 = {
819
819
  }
820
820
  }
821
821
  };
822
- function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
822
+ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
823
823
  return openBlock(), createElementBlock("td", {
824
824
  class: normalizeClass(["table-currency-cell", { credit: $options.credit, empty: $options.empty, debit: $options.debit }])
825
825
  }, toDisplayString($options.string), 3);
826
826
  }
827
- var CurrencyCell = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-33a0b926"]]);
827
+ var CurrencyCell = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__scopeId", "data-v-33a0b926"]]);
828
828
  var Button_vue_vue_type_style_index_0_scoped_true_lang = "";
829
- const _sfc_main$18 = {
829
+ const _sfc_main$19 = {
830
830
  data() {
831
831
  return {
832
832
  processing: false
@@ -850,11 +850,11 @@ const _sfc_main$18 = {
850
850
  }
851
851
  }
852
852
  };
853
- const _hoisted_1$R = { class: "table-button-cell" };
854
- function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
853
+ const _hoisted_1$S = { class: "table-button-cell" };
854
+ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
855
855
  const _component_ux_icon = resolveComponent("ux-icon");
856
856
  const _component_ux_button = resolveComponent("ux-button");
857
- return openBlock(), createElementBlock("td", _hoisted_1$R, [
857
+ return openBlock(), createElementBlock("td", _hoisted_1$S, [
858
858
  createVNode(_component_ux_button, {
859
859
  color: $options.button.color,
860
860
  size: $options.button.size,
@@ -875,7 +875,7 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
875
875
  }, 8, ["color", "size", "loading", "onClick"])
876
876
  ]);
877
877
  }
878
- var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-36768853"]]);
878
+ var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-36768853"]]);
879
879
  class LuxonError extends Error {
880
880
  }
881
881
  class InvalidDateTimeError extends LuxonError {
@@ -1055,7 +1055,7 @@ const DATETIME_HUGE_WITH_SECONDS = {
1055
1055
  second: n,
1056
1056
  timeZoneName: l
1057
1057
  };
1058
- function isUndefined$7(o) {
1058
+ function isUndefined$8(o) {
1059
1059
  return typeof o === "undefined";
1060
1060
  }
1061
1061
  function isNumber(o) {
@@ -1121,21 +1121,21 @@ function padStart(input, n2 = 2) {
1121
1121
  return padded;
1122
1122
  }
1123
1123
  function parseInteger(string) {
1124
- if (isUndefined$7(string) || string === null || string === "") {
1124
+ if (isUndefined$8(string) || string === null || string === "") {
1125
1125
  return void 0;
1126
1126
  } else {
1127
1127
  return parseInt(string, 10);
1128
1128
  }
1129
1129
  }
1130
1130
  function parseFloating(string) {
1131
- if (isUndefined$7(string) || string === null || string === "") {
1131
+ if (isUndefined$8(string) || string === null || string === "") {
1132
1132
  return void 0;
1133
1133
  } else {
1134
1134
  return parseFloat(string);
1135
1135
  }
1136
1136
  }
1137
1137
  function parseMillis(fraction) {
1138
- if (isUndefined$7(fraction) || fraction === null || fraction === "") {
1138
+ if (isUndefined$8(fraction) || fraction === null || fraction === "") {
1139
1139
  return void 0;
1140
1140
  } else {
1141
1141
  const f = parseFloat("0." + fraction) * 1e3;
@@ -1741,7 +1741,7 @@ function partsOffset(dtf, date) {
1741
1741
  const pos = typeToPos[type];
1742
1742
  if (type === "era") {
1743
1743
  filled[pos] = value;
1744
- } else if (!isUndefined$7(pos)) {
1744
+ } else if (!isUndefined$8(pos)) {
1745
1745
  filled[pos] = parseInt(value, 10);
1746
1746
  }
1747
1747
  }
@@ -1904,7 +1904,7 @@ class InvalidZone extends Zone {
1904
1904
  }
1905
1905
  }
1906
1906
  function normalizeZone(input, defaultZone2) {
1907
- if (isUndefined$7(input) || input === null) {
1907
+ if (isUndefined$8(input) || input === null) {
1908
1908
  return defaultZone2;
1909
1909
  } else if (input instanceof Zone) {
1910
1910
  return input;
@@ -2315,7 +2315,7 @@ function simpleParse(...keys2) {
2315
2315
  const offsetRegex = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, isoTimeBaseRegex = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, isoTimeRegex = RegExp(`${isoTimeBaseRegex.source}${offsetRegex.source}?`), isoTimeExtensionRegex = RegExp(`(?:T${isoTimeRegex.source})?`), isoYmdRegex = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, isoWeekRegex = /(\d{4})-?W(\d\d)(?:-?(\d))?/, isoOrdinalRegex = /(\d{4})-?(\d{3})/, extractISOWeekData = simpleParse("weekYear", "weekNumber", "weekDay"), extractISOOrdinalData = simpleParse("year", "ordinal"), sqlYmdRegex = /(\d{4})-(\d\d)-(\d\d)/, sqlTimeRegex = RegExp(`${isoTimeBaseRegex.source} ?(?:${offsetRegex.source}|(${ianaRegex.source}))?`), sqlTimeExtensionRegex = RegExp(`(?: ${sqlTimeRegex.source})?`);
2316
2316
  function int(match2, pos, fallback) {
2317
2317
  const m = match2[pos];
2318
- return isUndefined$7(m) ? fallback : parseInteger(m);
2318
+ return isUndefined$8(m) ? fallback : parseInteger(m);
2319
2319
  }
2320
2320
  function extractISOYmd(match2, cursor) {
2321
2321
  const item = {
@@ -2562,7 +2562,7 @@ function convert(matrix2, fromMap, fromUnit, toMap, toUnit) {
2562
2562
  }
2563
2563
  function normalizeValues(matrix2, vals) {
2564
2564
  reverseUnits.reduce((previous, current) => {
2565
- if (!isUndefined$7(vals[current])) {
2565
+ if (!isUndefined$8(vals[current])) {
2566
2566
  if (previous) {
2567
2567
  convert(matrix2, vals, previous, vals, current);
2568
2568
  }
@@ -2676,7 +2676,7 @@ class Duration {
2676
2676
  toHuman(opts = {}) {
2677
2677
  const l2 = orderedUnits$1.map((unit) => {
2678
2678
  const val = this.values[unit];
2679
- if (isUndefined$7(val)) {
2679
+ if (isUndefined$8(val)) {
2680
2680
  return null;
2681
2681
  }
2682
2682
  return this.loc.numberFormatter(__spreadProps(__spreadValues({ style: "unit", unitDisplay: "long" }, opts), { unit: unit.slice(0, -1) })).format(val);
@@ -3605,19 +3605,19 @@ function dateTimeFromMatches(matches2) {
3605
3605
  };
3606
3606
  let zone = null;
3607
3607
  let specificOffset;
3608
- if (!isUndefined$7(matches2.z)) {
3608
+ if (!isUndefined$8(matches2.z)) {
3609
3609
  zone = IANAZone.create(matches2.z);
3610
3610
  }
3611
- if (!isUndefined$7(matches2.Z)) {
3611
+ if (!isUndefined$8(matches2.Z)) {
3612
3612
  if (!zone) {
3613
3613
  zone = new FixedOffsetZone(matches2.Z);
3614
3614
  }
3615
3615
  specificOffset = matches2.Z;
3616
3616
  }
3617
- if (!isUndefined$7(matches2.q)) {
3617
+ if (!isUndefined$8(matches2.q)) {
3618
3618
  matches2.M = (matches2.q - 1) * 3 + 1;
3619
3619
  }
3620
- if (!isUndefined$7(matches2.h)) {
3620
+ if (!isUndefined$8(matches2.h)) {
3621
3621
  if (matches2.h < 12 && matches2.a === 1) {
3622
3622
  matches2.h += 12;
3623
3623
  } else if (matches2.h === 12 && matches2.a === 0) {
@@ -3627,7 +3627,7 @@ function dateTimeFromMatches(matches2) {
3627
3627
  if (matches2.G === 0 && matches2.y) {
3628
3628
  matches2.y = -matches2.y;
3629
3629
  }
3630
- if (!isUndefined$7(matches2.u)) {
3630
+ if (!isUndefined$8(matches2.u)) {
3631
3631
  matches2.S = parseMillis(matches2.u);
3632
3632
  }
3633
3633
  const vals = Object.keys(matches2).reduce((r, k) => {
@@ -3992,9 +3992,9 @@ function normalizeUnit(unit) {
3992
3992
  function quickDT(obj, opts) {
3993
3993
  const zone = normalizeZone(opts.zone, Settings.defaultZone), loc = Locale.fromObject(opts), tsNow = Settings.now();
3994
3994
  let ts, o;
3995
- if (!isUndefined$7(obj.year)) {
3995
+ if (!isUndefined$8(obj.year)) {
3996
3996
  for (const u2 of orderedUnits) {
3997
- if (isUndefined$7(obj[u2])) {
3997
+ if (isUndefined$8(obj[u2])) {
3998
3998
  obj[u2] = defaultUnitValues[u2];
3999
3999
  }
4000
4000
  }
@@ -4010,7 +4010,7 @@ function quickDT(obj, opts) {
4010
4010
  return new DateTime({ ts, zone, loc, o });
4011
4011
  }
4012
4012
  function diffRelative(start, end, opts) {
4013
- const round = isUndefined$7(opts.round) ? true : opts.round, format = (c2, unit) => {
4013
+ const round = isUndefined$8(opts.round) ? true : opts.round, format = (c2, unit) => {
4014
4014
  c2 = roundTo(c2, round || opts.calendary ? 0 : 2, true);
4015
4015
  const formatter = end.loc.clone(opts).relFormatter(opts);
4016
4016
  return formatter.format(c2, unit);
@@ -4049,7 +4049,7 @@ class DateTime {
4049
4049
  constructor(config) {
4050
4050
  const zone = config.zone || Settings.defaultZone;
4051
4051
  let invalid = config.invalid || (Number.isNaN(config.ts) ? new Invalid("invalid input") : null) || (!zone.isValid ? unsupportedZone(zone) : null);
4052
- this.ts = isUndefined$7(config.ts) ? Settings.now() : config.ts;
4052
+ this.ts = isUndefined$8(config.ts) ? Settings.now() : config.ts;
4053
4053
  let c2 = null, o = null;
4054
4054
  if (!invalid) {
4055
4055
  const unchanged = config.old && config.old.ts === this.ts && config.old.zone.equals(zone);
@@ -4128,7 +4128,7 @@ class DateTime {
4128
4128
  if (!zoneToUse.isValid) {
4129
4129
  return DateTime.invalid(unsupportedZone(zoneToUse));
4130
4130
  }
4131
- const tsNow = Settings.now(), offsetProvis = !isUndefined$7(opts.specificOffset) ? opts.specificOffset : zoneToUse.offset(tsNow), normalized = normalizeObject(obj, normalizeUnit), containsOrdinal = !isUndefined$7(normalized.ordinal), containsGregorYear = !isUndefined$7(normalized.year), containsGregorMD = !isUndefined$7(normalized.month) || !isUndefined$7(normalized.day), containsGregor = containsGregorYear || containsGregorMD, definiteWeekDef = normalized.weekYear || normalized.weekNumber, loc = Locale.fromObject(opts);
4131
+ const tsNow = Settings.now(), offsetProvis = !isUndefined$8(opts.specificOffset) ? opts.specificOffset : zoneToUse.offset(tsNow), normalized = normalizeObject(obj, normalizeUnit), containsOrdinal = !isUndefined$8(normalized.ordinal), containsGregorYear = !isUndefined$8(normalized.year), containsGregorMD = !isUndefined$8(normalized.month) || !isUndefined$8(normalized.day), containsGregor = containsGregorYear || containsGregorMD, definiteWeekDef = normalized.weekYear || normalized.weekNumber, loc = Locale.fromObject(opts);
4132
4132
  if ((containsGregor || containsOrdinal) && definiteWeekDef) {
4133
4133
  throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");
4134
4134
  }
@@ -4152,7 +4152,7 @@ class DateTime {
4152
4152
  let foundFirst = false;
4153
4153
  for (const u2 of units) {
4154
4154
  const v = normalized[u2];
4155
- if (!isUndefined$7(v)) {
4155
+ if (!isUndefined$8(v)) {
4156
4156
  foundFirst = true;
4157
4157
  } else if (foundFirst) {
4158
4158
  normalized[u2] = defaultValues[u2];
@@ -4188,7 +4188,7 @@ class DateTime {
4188
4188
  return parseDataToDateTime(vals, parsedZone, opts, "HTTP", opts);
4189
4189
  }
4190
4190
  static fromFormat(text, fmt, opts = {}) {
4191
- if (isUndefined$7(text) || isUndefined$7(fmt)) {
4191
+ if (isUndefined$8(text) || isUndefined$8(fmt)) {
4192
4192
  throw new InvalidArgumentError("fromFormat requires an input string and a format");
4193
4193
  }
4194
4194
  const { locale = null, numberingSystem = null } = opts, localeToUse = Locale.fromOpts({
@@ -4379,7 +4379,7 @@ class DateTime {
4379
4379
  set(values2) {
4380
4380
  if (!this.isValid)
4381
4381
  return this;
4382
- const normalized = normalizeObject(values2, normalizeUnit), settingWeekStuff = !isUndefined$7(normalized.weekYear) || !isUndefined$7(normalized.weekNumber) || !isUndefined$7(normalized.weekday), containsOrdinal = !isUndefined$7(normalized.ordinal), containsGregorYear = !isUndefined$7(normalized.year), containsGregorMD = !isUndefined$7(normalized.month) || !isUndefined$7(normalized.day), containsGregor = containsGregorYear || containsGregorMD, definiteWeekDef = normalized.weekYear || normalized.weekNumber;
4382
+ const normalized = normalizeObject(values2, normalizeUnit), settingWeekStuff = !isUndefined$8(normalized.weekYear) || !isUndefined$8(normalized.weekNumber) || !isUndefined$8(normalized.weekday), containsOrdinal = !isUndefined$8(normalized.ordinal), containsGregorYear = !isUndefined$8(normalized.year), containsGregorMD = !isUndefined$8(normalized.month) || !isUndefined$8(normalized.day), containsGregor = containsGregorYear || containsGregorMD, definiteWeekDef = normalized.weekYear || normalized.weekNumber;
4383
4383
  if ((containsGregor || containsOrdinal) && definiteWeekDef) {
4384
4384
  throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");
4385
4385
  }
@@ -4389,11 +4389,11 @@ class DateTime {
4389
4389
  let mixed;
4390
4390
  if (settingWeekStuff) {
4391
4391
  mixed = weekToGregorian(__spreadValues(__spreadValues({}, gregorianToWeek(this.c)), normalized));
4392
- } else if (!isUndefined$7(normalized.ordinal)) {
4392
+ } else if (!isUndefined$8(normalized.ordinal)) {
4393
4393
  mixed = ordinalToGregorian(__spreadValues(__spreadValues({}, gregorianToOrdinal(this.c)), normalized));
4394
4394
  } else {
4395
4395
  mixed = __spreadValues(__spreadValues({}, this.toObject()), normalized);
4396
- if (isUndefined$7(normalized.day)) {
4396
+ if (isUndefined$8(normalized.day)) {
4397
4397
  mixed.day = Math.min(daysInMonth(mixed.year, mixed.month), mixed.day);
4398
4398
  }
4399
4399
  }
@@ -4709,7 +4709,7 @@ function friendlyDateTime(dateTimeish) {
4709
4709
  }
4710
4710
  }
4711
4711
  var DateCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4712
- const _sfc_main$17 = {
4712
+ const _sfc_main$18 = {
4713
4713
  mixins: [TableCellMixin],
4714
4714
  computed: {
4715
4715
  hasValue() {
@@ -4730,23 +4730,23 @@ const _sfc_main$17 = {
4730
4730
  }
4731
4731
  }
4732
4732
  };
4733
- const _hoisted_1$Q = { class: "table-date-cell" };
4734
- const _hoisted_2$I = { key: 0 };
4735
- const _hoisted_3$A = { class: "off" };
4736
- const _hoisted_4$w = { class: "on" };
4737
- const _hoisted_5$p = { class: "spacer" };
4738
- function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
4739
- return openBlock(), createElementBlock("td", _hoisted_1$Q, [
4740
- $options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$I, [
4741
- createElementVNode("span", _hoisted_3$A, toDisplayString($options.readable), 1),
4742
- createElementVNode("span", _hoisted_4$w, toDisplayString($options.timeago), 1),
4743
- createElementVNode("span", _hoisted_5$p, toDisplayString($options.readable), 1)
4733
+ const _hoisted_1$R = { class: "table-date-cell" };
4734
+ const _hoisted_2$J = { key: 0 };
4735
+ const _hoisted_3$B = { class: "off" };
4736
+ const _hoisted_4$x = { class: "on" };
4737
+ const _hoisted_5$q = { class: "spacer" };
4738
+ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
4739
+ return openBlock(), createElementBlock("td", _hoisted_1$R, [
4740
+ $options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$J, [
4741
+ createElementVNode("span", _hoisted_3$B, toDisplayString($options.readable), 1),
4742
+ createElementVNode("span", _hoisted_4$x, toDisplayString($options.timeago), 1),
4743
+ createElementVNode("span", _hoisted_5$q, toDisplayString($options.readable), 1)
4744
4744
  ])) : createCommentVNode("", true)
4745
4745
  ]);
4746
4746
  }
4747
- var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-3687693f"]]);
4747
+ var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-3687693f"]]);
4748
4748
  var BooleanCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4749
- const _sfc_main$16 = {
4749
+ const _sfc_main$17 = {
4750
4750
  mixins: [TableCellMixin],
4751
4751
  computed: {
4752
4752
  boolean() {
@@ -4754,7 +4754,7 @@ const _sfc_main$16 = {
4754
4754
  }
4755
4755
  }
4756
4756
  };
4757
- function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
4757
+ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
4758
4758
  const _component_ux_icon = resolveComponent("ux-icon");
4759
4759
  return openBlock(), createElementBlock("td", {
4760
4760
  class: normalizeClass(["table-boolean-cell", { true: $options.boolean, false: !$options.boolean }])
@@ -4764,9 +4764,9 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
4764
4764
  }, null, 8, ["icon"])
4765
4765
  ], 2);
4766
4766
  }
4767
- var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-27f127ae"]]);
4767
+ var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-27f127ae"]]);
4768
4768
  var SecurityCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4769
- const _sfc_main$15 = {
4769
+ const _sfc_main$16 = {
4770
4770
  mixins: [TableCellMixin],
4771
4771
  computed: {
4772
4772
  public() {
@@ -4777,7 +4777,7 @@ const _sfc_main$15 = {
4777
4777
  }
4778
4778
  }
4779
4779
  };
4780
- function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
4780
+ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
4781
4781
  const _component_ux_icon = resolveComponent("ux-icon");
4782
4782
  return openBlock(), createElementBlock("td", {
4783
4783
  class: normalizeClass(["table-security-cell", $options.security])
@@ -4787,9 +4787,9 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
4787
4787
  }, null, 8, ["icon"])
4788
4788
  ], 2);
4789
4789
  }
4790
- var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-51f8608e"]]);
4790
+ var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-51f8608e"]]);
4791
4791
  var URLCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4792
- const _sfc_main$14 = {
4792
+ const _sfc_main$15 = {
4793
4793
  mixins: [TableCellMixin],
4794
4794
  methods: {
4795
4795
  open() {
@@ -4802,11 +4802,11 @@ const _sfc_main$14 = {
4802
4802
  }
4803
4803
  }
4804
4804
  };
4805
- const _hoisted_1$P = { class: "table-url-cell" };
4806
- const _hoisted_2$H = ["href"];
4807
- function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
4805
+ const _hoisted_1$Q = { class: "table-url-cell" };
4806
+ const _hoisted_2$I = ["href"];
4807
+ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
4808
4808
  const _component_ux_icon = resolveComponent("ux-icon");
4809
- return openBlock(), createElementBlock("td", _hoisted_1$P, [
4809
+ return openBlock(), createElementBlock("td", _hoisted_1$Q, [
4810
4810
  createElementVNode("a", {
4811
4811
  href: $options.href,
4812
4812
  onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
@@ -4817,12 +4817,12 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
4817
4817
  right: "",
4818
4818
  icon: "fa-external-link"
4819
4819
  })
4820
- ], 8, _hoisted_2$H)
4820
+ ], 8, _hoisted_2$I)
4821
4821
  ]);
4822
4822
  }
4823
- var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-17cf3a86"]]);
4823
+ var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-17cf3a86"]]);
4824
4824
  var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
4825
- const _sfc_main$13 = {
4825
+ const _sfc_main$14 = {
4826
4826
  props: {
4827
4827
  multi: {
4828
4828
  type: Boolean
@@ -4870,8 +4870,8 @@ const _sfc_main$13 = {
4870
4870
  }
4871
4871
  }
4872
4872
  };
4873
- const _hoisted_1$O = /* @__PURE__ */ createTextVNode(",\xA0");
4874
- function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
4873
+ const _hoisted_1$P = /* @__PURE__ */ createTextVNode(",\xA0");
4874
+ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
4875
4875
  return $options.reference ? (openBlock(), createElementBlock("a", {
4876
4876
  key: 0,
4877
4877
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.clicked($props.value), ["stop", "prevent"]))
@@ -4880,11 +4880,11 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
4880
4880
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
4881
4881
  createTextVNode(toDisplayString($options.renderValue), 1),
4882
4882
  $props.multi && !$props.last ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
4883
- _hoisted_1$O
4883
+ _hoisted_1$P
4884
4884
  ], 64)) : createCommentVNode("", true)
4885
4885
  ], 64));
4886
4886
  }
4887
- var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-255b9ec8"]]);
4887
+ var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-255b9ec8"]]);
4888
4888
  var TableCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4889
4889
  function extract(row, path) {
4890
4890
  if (!row) {
@@ -4909,7 +4909,7 @@ function extract(row, path) {
4909
4909
  return extract(stub, remainder);
4910
4910
  }
4911
4911
  }
4912
- const _sfc_main$12 = {
4912
+ const _sfc_main$13 = {
4913
4913
  data() {
4914
4914
  return {
4915
4915
  component: null
@@ -5001,23 +5001,23 @@ const _sfc_main$12 = {
5001
5001
  }
5002
5002
  }
5003
5003
  };
5004
- const _hoisted_1$N = {
5004
+ const _hoisted_1$O = {
5005
5005
  key: 1,
5006
5006
  class: "table-cell"
5007
5007
  };
5008
- const _hoisted_2$G = { class: "value" };
5009
- const _hoisted_3$z = { class: "value" };
5010
- function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
5008
+ const _hoisted_2$H = { class: "value" };
5009
+ const _hoisted_3$A = { class: "value" };
5010
+ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
5011
5011
  const _component_value_renderer = resolveComponent("value-renderer");
5012
5012
  return $data.component ? (openBlock(), createBlock(resolveDynamicComponent($data.component), {
5013
5013
  key: 0,
5014
5014
  column: $props.column,
5015
5015
  row: $props.row,
5016
5016
  value: $options.value
5017
- }, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$N, [
5017
+ }, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$O, [
5018
5018
  $options.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
5019
5019
  $options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry, index2) => {
5020
- return openBlock(), createElementBlock("span", _hoisted_2$G, [
5020
+ return openBlock(), createElementBlock("span", _hoisted_2$H, [
5021
5021
  createVNode(_component_value_renderer, {
5022
5022
  type: $props.column.type,
5023
5023
  multi: "",
@@ -5026,7 +5026,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
5026
5026
  }, null, 8, ["type", "last", "value"])
5027
5027
  ]);
5028
5028
  }), 256)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.value, (entry, index2) => {
5029
- return openBlock(), createElementBlock("span", _hoisted_3$z, [
5029
+ return openBlock(), createElementBlock("span", _hoisted_3$A, [
5030
5030
  createVNode(_component_value_renderer, {
5031
5031
  type: $props.column.type,
5032
5032
  multi: "",
@@ -5042,8 +5042,8 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
5042
5042
  }, null, 8, ["type", "value"]))
5043
5043
  ]));
5044
5044
  }
5045
- var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-44c51175"]]);
5046
- const _sfc_main$11 = {
5045
+ var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-44c51175"]]);
5046
+ const _sfc_main$12 = {
5047
5047
  components: {
5048
5048
  TableCell
5049
5049
  },
@@ -5098,7 +5098,7 @@ const _sfc_main$11 = {
5098
5098
  }
5099
5099
  }
5100
5100
  };
5101
- function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
5101
+ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
5102
5102
  const _component_ux_checkbox = resolveComponent("ux-checkbox");
5103
5103
  const _component_table_cell = resolveComponent("table-cell");
5104
5104
  const _component_ux_icon = resolveComponent("ux-icon");
@@ -5140,7 +5140,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
5140
5140
  ])
5141
5141
  ], 2);
5142
5142
  }
5143
- var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11]]);
5143
+ var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12]]);
5144
5144
  var RememberScrollMixin = {
5145
5145
  data() {
5146
5146
  return {
@@ -5171,7 +5171,7 @@ var RememberScrollMixin = {
5171
5171
  }
5172
5172
  };
5173
5173
  var Table_vue_vue_type_style_index_0_scoped_true_lang = "";
5174
- const _sfc_main$10 = {
5174
+ const _sfc_main$11 = {
5175
5175
  mixins: [RememberScrollMixin],
5176
5176
  components: {
5177
5177
  TableRow,
@@ -5409,24 +5409,24 @@ const _sfc_main$10 = {
5409
5409
  }
5410
5410
  }
5411
5411
  };
5412
- const _hoisted_1$M = { class: "table-wrapper" };
5413
- const _hoisted_2$F = {
5412
+ const _hoisted_1$N = { class: "table-wrapper" };
5413
+ const _hoisted_2$G = {
5414
5414
  class: "table-scroll",
5415
5415
  ref: "scroll"
5416
5416
  };
5417
- const _hoisted_3$y = {
5417
+ const _hoisted_3$z = {
5418
5418
  key: 0,
5419
5419
  class: "first table-select shrink"
5420
5420
  };
5421
- const _hoisted_4$v = /* @__PURE__ */ createTextVNode(" Select Page ");
5422
- const _hoisted_5$o = /* @__PURE__ */ createTextVNode(" Deselect Page ");
5423
- const _hoisted_6$j = /* @__PURE__ */ createTextVNode(" Deselect All ");
5424
- const _hoisted_7$g = ["onClick"];
5421
+ const _hoisted_4$w = /* @__PURE__ */ createTextVNode(" Select Page ");
5422
+ const _hoisted_5$p = /* @__PURE__ */ createTextVNode(" Deselect Page ");
5423
+ const _hoisted_6$k = /* @__PURE__ */ createTextVNode(" Deselect All ");
5424
+ const _hoisted_7$h = ["onClick"];
5425
5425
  const _hoisted_8$9 = {
5426
5426
  key: 1,
5427
5427
  class: "last shrink"
5428
5428
  };
5429
- function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
5429
+ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
5430
5430
  const _component_ux_checkbox = resolveComponent("ux-checkbox");
5431
5431
  const _component_ux_list_item = resolveComponent("ux-list-item");
5432
5432
  const _component_ux_list = resolveComponent("ux-list");
@@ -5434,12 +5434,12 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
5434
5434
  const _component_flex_cell = resolveComponent("flex-cell");
5435
5435
  const _component_flex_row = resolveComponent("flex-row");
5436
5436
  const _component_table_row = resolveComponent("table-row");
5437
- return openBlock(), createElementBlock("div", _hoisted_1$M, [
5438
- createElementVNode("div", _hoisted_2$F, [
5437
+ return openBlock(), createElementBlock("div", _hoisted_1$N, [
5438
+ createElementVNode("div", _hoisted_2$G, [
5439
5439
  createElementVNode("table", null, [
5440
5440
  createElementVNode("thead", null, [
5441
5441
  createElementVNode("tr", null, [
5442
- $props.enableSelection ? (openBlock(), createElementBlock("th", _hoisted_3$y, [
5442
+ $props.enableSelection ? (openBlock(), createElementBlock("th", _hoisted_3$z, [
5443
5443
  createVNode(_component_ux_menu, null, {
5444
5444
  activator: withCtx(({ on: on2 }) => [
5445
5445
  createVNode(_component_ux_checkbox, mergeProps(toHandlers(on2), { value: $options.pageSelected }), null, 16, ["value"])
@@ -5451,7 +5451,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
5451
5451
  onClick: _cache[0] || (_cache[0] = ($event) => $options.selectPage())
5452
5452
  }, {
5453
5453
  default: withCtx(() => [
5454
- _hoisted_4$v
5454
+ _hoisted_4$w
5455
5455
  ]),
5456
5456
  _: 1
5457
5457
  }),
@@ -5460,7 +5460,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
5460
5460
  onClick: _cache[1] || (_cache[1] = ($event) => $options.deselectPage())
5461
5461
  }, {
5462
5462
  default: withCtx(() => [
5463
- _hoisted_5$o
5463
+ _hoisted_5$p
5464
5464
  ]),
5465
5465
  _: 1
5466
5466
  })) : createCommentVNode("", true),
@@ -5478,7 +5478,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
5478
5478
  onClick: _cache[3] || (_cache[3] = ($event) => $props.deselectAll())
5479
5479
  }, {
5480
5480
  default: withCtx(() => [
5481
- _hoisted_6$j
5481
+ _hoisted_6$k
5482
5482
  ]),
5483
5483
  _: 1
5484
5484
  })) : createCommentVNode("", true)
@@ -5522,7 +5522,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
5522
5522
  }),
5523
5523
  _: 2
5524
5524
  }, 1024)
5525
- ], 10, _hoisted_7$g);
5525
+ ], 10, _hoisted_7$h);
5526
5526
  }), 256)),
5527
5527
  $props.enableActions ? (openBlock(), createElementBlock("th", _hoisted_8$9, [
5528
5528
  renderSlot(_ctx.$slots, "corner", {}, void 0, true)
@@ -5550,7 +5550,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
5550
5550
  ], 512)
5551
5551
  ]);
5552
5552
  }
5553
- var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-03eb874f"]]);
5553
+ var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-03eb874f"]]);
5554
5554
  var safeJsonStringify$1 = { exports: {} };
5555
5555
  var hasProp = Object.prototype.hasOwnProperty;
5556
5556
  function throwsMessage(err) {
@@ -5604,7 +5604,7 @@ safeJsonStringify$1.exports = function(data, replacer, space) {
5604
5604
  };
5605
5605
  safeJsonStringify$1.exports.ensureProperties = ensureProperties;
5606
5606
  var safeJsonStringify = safeJsonStringify$1.exports;
5607
- function isUndefined$6(v, type) {
5607
+ function isUndefined$7(v, type) {
5608
5608
  return v === void 0 || v === null || type == "date" && v.toString && v.toString() === "Invalid Date";
5609
5609
  }
5610
5610
  function isNotEmpty(value) {
@@ -5812,7 +5812,7 @@ var InputMixin = {
5812
5812
  val = instance.$sdk.utils.parseURL(val);
5813
5813
  break;
5814
5814
  case "key":
5815
- val = String(instance.$sdk.utils.machineName(val)).trim();
5815
+ val = String(instance.$sdk.utils.machineName(val || "") || "").trim();
5816
5816
  break;
5817
5817
  case "integer":
5818
5818
  val = parseInt(String(val).replace(/[^0-9-]/g, ""));
@@ -5902,7 +5902,7 @@ var InputMixin = {
5902
5902
  },
5903
5903
  cleanOutput(val) {
5904
5904
  var self2 = this;
5905
- if (isUndefined$6(val, self2.field.type)) {
5905
+ if (isUndefined$7(val, self2.field.type)) {
5906
5906
  if (self2.multiValue) {
5907
5907
  val = [];
5908
5908
  } else {
@@ -5968,10 +5968,10 @@ var InputMixin = {
5968
5968
  }
5969
5969
  };
5970
5970
  var select_vue_vue_type_style_index_0_scoped_true_lang = "";
5971
- function isUndefined$5(entry) {
5971
+ function isUndefined$6(entry) {
5972
5972
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
5973
5973
  }
5974
- const _sfc_main$$ = {
5974
+ const _sfc_main$10 = {
5975
5975
  props: {
5976
5976
  title: {
5977
5977
  type: String
@@ -5985,7 +5985,7 @@ const _sfc_main$$ = {
5985
5985
  methods: {
5986
5986
  cleanOutput(val) {
5987
5987
  var self2 = this;
5988
- if (isUndefined$5(val)) {
5988
+ if (isUndefined$6(val)) {
5989
5989
  if (self2.multiValue) {
5990
5990
  val = [];
5991
5991
  } else {
@@ -6072,39 +6072,39 @@ const _sfc_main$$ = {
6072
6072
  }
6073
6073
  }
6074
6074
  };
6075
- const _hoisted_1$L = {
6075
+ const _hoisted_1$M = {
6076
6076
  key: 0,
6077
6077
  class: "ux-field-title"
6078
6078
  };
6079
- const _hoisted_2$E = {
6079
+ const _hoisted_2$F = {
6080
6080
  key: 0,
6081
6081
  class: "ux-required-marker"
6082
6082
  };
6083
- const _hoisted_3$x = {
6083
+ const _hoisted_3$y = {
6084
6084
  key: 1,
6085
6085
  class: "ux-field-description"
6086
6086
  };
6087
- const _hoisted_4$u = {
6087
+ const _hoisted_4$v = {
6088
6088
  key: 2,
6089
6089
  class: "ui-select-button"
6090
6090
  };
6091
- const _hoisted_5$n = ["multiple"];
6092
- const _hoisted_6$i = {
6091
+ const _hoisted_5$o = ["multiple"];
6092
+ const _hoisted_6$j = {
6093
6093
  key: 0,
6094
6094
  value: ""
6095
6095
  };
6096
- const _hoisted_7$f = ["value"];
6097
- function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
6096
+ const _hoisted_7$g = ["value"];
6097
+ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
6098
6098
  const _component_ux_button = resolveComponent("ux-button");
6099
6099
  return openBlock(), createElementBlock("div", {
6100
6100
  class: normalizeClass(["native-select", $options.classes])
6101
6101
  }, [
6102
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$L, [
6102
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$M, [
6103
6103
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
6104
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$E, "*")) : createCommentVNode("", true)
6104
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$F, "*")) : createCommentVNode("", true)
6105
6105
  ])) : createCommentVNode("", true),
6106
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$x, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
6107
- _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$u, [
6106
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$y, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
6107
+ _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$v, [
6108
6108
  renderSlot(_ctx.$slots, "default", {}, () => [
6109
6109
  createVNode(_component_ux_button, { tag: "div" }, {
6110
6110
  default: withCtx(() => [
@@ -6119,20 +6119,20 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
6119
6119
  multiple: _ctx.multiValue,
6120
6120
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
6121
6121
  }, [
6122
- _ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$i, "None")) : createCommentVNode("", true),
6122
+ _ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$j, "None")) : createCommentVNode("", true),
6123
6123
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
6124
6124
  return openBlock(), createElementBlock("option", {
6125
6125
  value: option2.value
6126
- }, toDisplayString(option2.title), 9, _hoisted_7$f);
6126
+ }, toDisplayString(option2.title), 9, _hoisted_7$g);
6127
6127
  }), 256))
6128
- ], 40, _hoisted_5$n), [
6128
+ ], 40, _hoisted_5$o), [
6129
6129
  [vModelSelect, _ctx.model]
6130
6130
  ])
6131
6131
  ], 2);
6132
6132
  }
6133
- var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-a06c20f2"]]);
6133
+ var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-a06c20f2"]]);
6134
6134
  var Pager_vue_vue_type_style_index_0_scoped_true_lang = "";
6135
- const _sfc_main$_ = {
6135
+ const _sfc_main$$ = {
6136
6136
  props: {
6137
6137
  total: {
6138
6138
  type: Number,
@@ -6242,7 +6242,7 @@ const _sfc_main$_ = {
6242
6242
  };
6243
6243
  }
6244
6244
  };
6245
- function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
6245
+ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
6246
6246
  const _component_native_select = resolveComponent("native-select");
6247
6247
  const _component_flex_cell = resolveComponent("flex-cell");
6248
6248
  const _component_ux_icon = resolveComponent("ux-icon");
@@ -6346,9 +6346,9 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
6346
6346
  _: 1
6347
6347
  });
6348
6348
  }
6349
- var Pager$1 = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-93d2aed8"]]);
6349
+ var Pager$1 = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-93d2aed8"]]);
6350
6350
  var avatar_vue_vue_type_style_index_0_lang = "";
6351
- const _sfc_main$Z = {
6351
+ const _sfc_main$_ = {
6352
6352
  props: {
6353
6353
  id: {
6354
6354
  type: [Object, String]
@@ -6362,13 +6362,13 @@ const _sfc_main$Z = {
6362
6362
  }
6363
6363
  }
6364
6364
  };
6365
- const _hoisted_1$K = { class: "avatar" };
6366
- function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
6367
- return openBlock(), createElementBlock("div", _hoisted_1$K);
6365
+ const _hoisted_1$L = { class: "avatar" };
6366
+ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
6367
+ return openBlock(), createElementBlock("div", _hoisted_1$L);
6368
6368
  }
6369
- var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z]]);
6369
+ var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_]]);
6370
6370
  var spinner_vue_vue_type_style_index_0_scoped_true_lang = "";
6371
- const _sfc_main$Y = {
6371
+ const _sfc_main$Z = {
6372
6372
  props: {
6373
6373
  large: {
6374
6374
  type: Boolean
@@ -6376,18 +6376,18 @@ const _sfc_main$Y = {
6376
6376
  }
6377
6377
  };
6378
6378
  const _withScopeId$7 = (n2) => (pushScopeId("data-v-27f20370"), n2 = n2(), popScopeId(), n2);
6379
- const _hoisted_1$J = /* @__PURE__ */ _withScopeId$7(() => /* @__PURE__ */ createElementVNode("i", { class: "fa fa-spin fa-spinner" }, null, -1));
6380
- const _hoisted_2$D = [
6381
- _hoisted_1$J
6379
+ const _hoisted_1$K = /* @__PURE__ */ _withScopeId$7(() => /* @__PURE__ */ createElementVNode("i", { class: "fa fa-spin fa-spinner" }, null, -1));
6380
+ const _hoisted_2$E = [
6381
+ _hoisted_1$K
6382
6382
  ];
6383
- function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
6383
+ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
6384
6384
  return openBlock(), createElementBlock("div", {
6385
6385
  class: normalizeClass(["ux-spinner", { large: $props.large }])
6386
- }, _hoisted_2$D, 2);
6386
+ }, _hoisted_2$E, 2);
6387
6387
  }
6388
- var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__scopeId", "data-v-27f20370"]]);
6388
+ var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__scopeId", "data-v-27f20370"]]);
6389
6389
  var button_vue_vue_type_style_index_0_scoped_true_lang = "";
6390
- const _sfc_main$X = {
6390
+ const _sfc_main$Y = {
6391
6391
  components: {
6392
6392
  Spinner
6393
6393
  },
@@ -6481,8 +6481,8 @@ const _sfc_main$X = {
6481
6481
  }
6482
6482
  }
6483
6483
  };
6484
- const _hoisted_1$I = { class: "ux-btn-text" };
6485
- function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
6484
+ const _hoisted_1$J = { class: "ux-btn-text" };
6485
+ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
6486
6486
  const _component_spinner = resolveComponent("spinner");
6487
6487
  return openBlock(), createBlock(resolveDynamicComponent($options.element), {
6488
6488
  active: $props.active,
@@ -6496,16 +6496,16 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
6496
6496
  }, {
6497
6497
  default: withCtx(() => [
6498
6498
  $props.loading ? (openBlock(), createBlock(_component_spinner, { key: 0 })) : createCommentVNode("", true),
6499
- createElementVNode("span", _hoisted_1$I, [
6499
+ createElementVNode("span", _hoisted_1$J, [
6500
6500
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
6501
6501
  ])
6502
6502
  ]),
6503
6503
  _: 3
6504
6504
  }, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
6505
6505
  }
6506
- var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__scopeId", "data-v-56c95efc"]]);
6506
+ var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__scopeId", "data-v-56c95efc"]]);
6507
6507
  var checkbox_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
6508
- const _sfc_main$W = {
6508
+ const _sfc_main$X = {
6509
6509
  props: {
6510
6510
  value: {
6511
6511
  type: Boolean,
@@ -6526,7 +6526,7 @@ const _sfc_main$W = {
6526
6526
  }
6527
6527
  }
6528
6528
  };
6529
- function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
6529
+ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
6530
6530
  const _component_ux_icon = resolveComponent("ux-icon");
6531
6531
  return openBlock(), createElementBlock("button", {
6532
6532
  class: normalizeClass(["ux-checkbox", $options.classes])
@@ -6537,9 +6537,9 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
6537
6537
  })
6538
6538
  ], 2);
6539
6539
  }
6540
- var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-6b7b7539"]]);
6540
+ var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__scopeId", "data-v-6b7b7539"]]);
6541
6541
  var switch_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
6542
- const _sfc_main$V = {
6542
+ const _sfc_main$W = {
6543
6543
  props: {
6544
6544
  value: {
6545
6545
  type: Boolean,
@@ -6569,7 +6569,7 @@ const _sfc_main$V = {
6569
6569
  }
6570
6570
  }
6571
6571
  };
6572
- function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
6572
+ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
6573
6573
  const _component_ux_icon = resolveComponent("ux-icon");
6574
6574
  return openBlock(), createElementBlock("a", {
6575
6575
  class: normalizeClass(["ux-switch", $options.classes])
@@ -6582,9 +6582,9 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
6582
6582
  ])
6583
6583
  ], 2);
6584
6584
  }
6585
- var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__scopeId", "data-v-57a418e1"]]);
6585
+ var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-57a418e1"]]);
6586
6586
  var link_vue_vue_type_style_index_0_scoped_true_lang = "";
6587
- const _sfc_main$U = {
6587
+ const _sfc_main$V = {
6588
6588
  props: {
6589
6589
  to: {
6590
6590
  type: [Object, String]
@@ -6657,7 +6657,7 @@ const _sfc_main$U = {
6657
6657
  }
6658
6658
  }
6659
6659
  };
6660
- function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
6660
+ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
6661
6661
  return openBlock(), createBlock(resolveDynamicComponent($options.element), {
6662
6662
  onClick: $options.clicked,
6663
6663
  to: $props.to,
@@ -6671,9 +6671,9 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
6671
6671
  _: 3
6672
6672
  }, 8, ["onClick", "to", "href", "target", "class"]);
6673
6673
  }
6674
- var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-8b82829a"]]);
6674
+ var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__scopeId", "data-v-8b82829a"]]);
6675
6675
  var icon_vue_vue_type_style_index_0_scoped_true_lang = "";
6676
- const _sfc_main$T = {
6676
+ const _sfc_main$U = {
6677
6677
  props: {
6678
6678
  icon: {
6679
6679
  type: [Object, String]
@@ -6708,17 +6708,17 @@ const _sfc_main$T = {
6708
6708
  }
6709
6709
  }
6710
6710
  };
6711
- function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
6711
+ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
6712
6712
  return openBlock(), createBlock(resolveDynamicComponent($options.element), {
6713
6713
  class: normalizeClass(["ux-icon fa", $options.classes])
6714
6714
  }, null, 8, ["class"]);
6715
6715
  }
6716
- var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__scopeId", "data-v-1764a3d0"]]);
6716
+ var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-1764a3d0"]]);
6717
6717
  var UXMenuService = {
6718
6718
  cache: {}
6719
6719
  };
6720
6720
  var menu_vue_vue_type_style_index_0_scoped_true_lang = "";
6721
- const _sfc_main$S = {
6721
+ const _sfc_main$T = {
6722
6722
  props: {
6723
6723
  group: {
6724
6724
  type: String
@@ -6870,7 +6870,7 @@ const _sfc_main$S = {
6870
6870
  }
6871
6871
  }
6872
6872
  };
6873
- function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
6873
+ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
6874
6874
  return openBlock(), createElementBlock("div", {
6875
6875
  class: normalizeClass(["ux-menu", { right: $props.right }])
6876
6876
  }, [
@@ -6894,8 +6894,8 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
6894
6894
  ]))
6895
6895
  ], 2);
6896
6896
  }
6897
- var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__scopeId", "data-v-29d476a2"]]);
6898
- const _sfc_main$R = {
6897
+ var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__scopeId", "data-v-29d476a2"]]);
6898
+ const _sfc_main$S = {
6899
6899
  name: "menulist",
6900
6900
  props: {
6901
6901
  items: {
@@ -6926,7 +6926,7 @@ const _sfc_main$R = {
6926
6926
  return {};
6927
6927
  }
6928
6928
  };
6929
- function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
6929
+ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
6930
6930
  const _component_ux_link = resolveComponent("ux-link");
6931
6931
  const _component_menulist = resolveComponent("menulist", true);
6932
6932
  return openBlock(), createElementBlock("ul", null, [
@@ -6974,9 +6974,9 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
6974
6974
  }), 256))
6975
6975
  ]);
6976
6976
  }
6977
- var UXMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R]]);
6977
+ var UXMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S]]);
6978
6978
  var image_vue_vue_type_style_index_0_scoped_true_lang = "";
6979
- const _sfc_main$Q = {
6979
+ const _sfc_main$R = {
6980
6980
  props: {
6981
6981
  item: {
6982
6982
  type: Object
@@ -7155,9 +7155,9 @@ const _sfc_main$Q = {
7155
7155
  }
7156
7156
  }
7157
7157
  };
7158
- const _hoisted_1$H = ["alt", "data"];
7159
- const _hoisted_2$C = ["alt", "src"];
7160
- function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
7158
+ const _hoisted_1$I = ["alt", "data"];
7159
+ const _hoisted_2$D = ["alt", "src"];
7160
+ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
7161
7161
  return openBlock(), createElementBlock("div", {
7162
7162
  class: normalizeClass(["ux-image", $options.className]),
7163
7163
  style: normalizeStyle($options.style)
@@ -7167,17 +7167,17 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
7167
7167
  alt: $options.altText,
7168
7168
  type: "image/svg+xml",
7169
7169
  data: $options.src
7170
- }, null, 8, _hoisted_1$H)) : (openBlock(), createElementBlock("img", {
7170
+ }, null, 8, _hoisted_1$I)) : (openBlock(), createElementBlock("img", {
7171
7171
  key: 1,
7172
7172
  alt: $options.altText,
7173
7173
  style: normalizeStyle($options.imageStyle),
7174
7174
  src: $options.src
7175
- }, null, 12, _hoisted_2$C))
7175
+ }, null, 12, _hoisted_2$D))
7176
7176
  ], 6);
7177
7177
  }
7178
- var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-a7872864"]]);
7178
+ var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-a7872864"]]);
7179
7179
  var progressbar_vue_vue_type_style_index_0_scoped_true_lang = "";
7180
- const _sfc_main$P = {
7180
+ const _sfc_main$Q = {
7181
7181
  props: {
7182
7182
  value: {
7183
7183
  type: Number
@@ -7212,36 +7212,36 @@ const _sfc_main$P = {
7212
7212
  }
7213
7213
  };
7214
7214
  const _withScopeId$6 = (n2) => (pushScopeId("data-v-317a7690"), n2 = n2(), popScopeId(), n2);
7215
- const _hoisted_1$G = { class: "ux-progress" };
7216
- const _hoisted_2$B = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ createElementVNode("div", { class: "ux-progress-bg" }, null, -1));
7217
- function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
7218
- return openBlock(), createElementBlock("div", _hoisted_1$G, [
7219
- _hoisted_2$B,
7215
+ const _hoisted_1$H = { class: "ux-progress" };
7216
+ const _hoisted_2$C = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ createElementVNode("div", { class: "ux-progress-bg" }, null, -1));
7217
+ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
7218
+ return openBlock(), createElementBlock("div", _hoisted_1$H, [
7219
+ _hoisted_2$C,
7220
7220
  createElementVNode("div", {
7221
7221
  class: "ux-progress-fg",
7222
7222
  style: normalizeStyle($options.barStyle)
7223
7223
  }, null, 4)
7224
7224
  ]);
7225
7225
  }
7226
- var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__scopeId", "data-v-317a7690"]]);
7226
+ var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-317a7690"]]);
7227
7227
  var list_vue_vue_type_style_index_0_scoped_true_lang = "";
7228
- const _sfc_main$O = {};
7229
- const _hoisted_1$F = { class: "ux-list" };
7230
- function _sfc_render$O(_ctx, _cache) {
7231
- return openBlock(), createElementBlock("ul", _hoisted_1$F, [
7228
+ const _sfc_main$P = {};
7229
+ const _hoisted_1$G = { class: "ux-list" };
7230
+ function _sfc_render$P(_ctx, _cache) {
7231
+ return openBlock(), createElementBlock("ul", _hoisted_1$G, [
7232
7232
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
7233
7233
  ]);
7234
7234
  }
7235
- var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__scopeId", "data-v-98e1e4e2"]]);
7235
+ var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__scopeId", "data-v-98e1e4e2"]]);
7236
7236
  var listItem_vue_vue_type_style_index_0_scoped_true_lang = "";
7237
- const _sfc_main$N = {};
7238
- const _hoisted_1$E = { class: "ux-list-item" };
7239
- function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
7240
- return openBlock(), createElementBlock("div", _hoisted_1$E, [
7237
+ const _sfc_main$O = {};
7238
+ const _hoisted_1$F = { class: "ux-list-item" };
7239
+ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
7240
+ return openBlock(), createElementBlock("div", _hoisted_1$F, [
7241
7241
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
7242
7242
  ]);
7243
7243
  }
7244
- var UXListItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__scopeId", "data-v-0e73c260"]]);
7244
+ var UXListItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__scopeId", "data-v-0e73c260"]]);
7245
7245
  var daterange_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
7246
7246
  function checkDate(d) {
7247
7247
  var date = new Date(d);
@@ -7250,7 +7250,7 @@ function checkDate(d) {
7250
7250
  }
7251
7251
  return;
7252
7252
  }
7253
- const _sfc_main$M = {
7253
+ const _sfc_main$N = {
7254
7254
  props: {
7255
7255
  modelValue: {
7256
7256
  type: Object
@@ -7301,9 +7301,9 @@ const _sfc_main$M = {
7301
7301
  }
7302
7302
  };
7303
7303
  const _withScopeId$5 = (n2) => (pushScopeId("data-v-61cbf45e"), n2 = n2(), popScopeId(), n2);
7304
- const _hoisted_1$D = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("label", null, "From Date", -1));
7305
- const _hoisted_2$A = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("label", null, "To Date", -1));
7306
- function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
7304
+ const _hoisted_1$E = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("label", null, "From Date", -1));
7305
+ const _hoisted_2$B = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("label", null, "To Date", -1));
7306
+ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
7307
7307
  const _component_flex_cell = resolveComponent("flex-cell");
7308
7308
  const _component_flex_row = resolveComponent("flex-row");
7309
7309
  return openBlock(), createElementBlock("div", null, [
@@ -7316,7 +7316,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
7316
7316
  createVNode(_component_flex_cell, { class: "cell" }, {
7317
7317
  default: withCtx(() => [
7318
7318
  createElementVNode("div", null, [
7319
- _hoisted_1$D,
7319
+ _hoisted_1$E,
7320
7320
  withDirectives(createElementVNode("input", {
7321
7321
  type: "date",
7322
7322
  class: "ux-field-focus ux-text-input-multiple",
@@ -7332,7 +7332,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
7332
7332
  createVNode(_component_flex_cell, { class: "cell" }, {
7333
7333
  default: withCtx(() => [
7334
7334
  createElementVNode("div", null, [
7335
- _hoisted_2$A,
7335
+ _hoisted_2$B,
7336
7336
  withDirectives(createElementVNode("input", {
7337
7337
  type: "date",
7338
7338
  class: "ux-field-focus ux-text-input-multiple",
@@ -7350,9 +7350,9 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
7350
7350
  })
7351
7351
  ]);
7352
7352
  }
7353
- var Daterange = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-61cbf45e"]]);
7353
+ var Daterange = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__scopeId", "data-v-61cbf45e"]]);
7354
7354
  var phoneNumberInput_vue_vue_type_style_index_0_scoped_true_lang = "";
7355
- const _sfc_main$L = {
7355
+ const _sfc_main$M = {
7356
7356
  props: {
7357
7357
  modelValue: {
7358
7358
  type: [Object, Array]
@@ -7424,41 +7424,41 @@ const _sfc_main$L = {
7424
7424
  }
7425
7425
  };
7426
7426
  const _withScopeId$4 = (n2) => (pushScopeId("data-v-32219a94"), n2 = n2(), popScopeId(), n2);
7427
- const _hoisted_1$C = {
7427
+ const _hoisted_1$D = {
7428
7428
  key: 0,
7429
7429
  class: "ux-field-title"
7430
7430
  };
7431
- const _hoisted_2$z = {
7431
+ const _hoisted_2$A = {
7432
7432
  key: 0,
7433
7433
  class: "ux-required-marker"
7434
7434
  };
7435
- const _hoisted_3$w = {
7435
+ const _hoisted_3$x = {
7436
7436
  key: 1,
7437
7437
  class: "ux-field-description"
7438
7438
  };
7439
- const _hoisted_4$t = { key: 2 };
7440
- const _hoisted_5$m = /* @__PURE__ */ createTextVNode(" Country Code ");
7441
- const _hoisted_6$h = { key: 0 };
7442
- const _hoisted_7$e = { key: 1 };
7439
+ const _hoisted_4$u = { key: 2 };
7440
+ const _hoisted_5$n = /* @__PURE__ */ createTextVNode(" Country Code ");
7441
+ const _hoisted_6$i = { key: 0 };
7442
+ const _hoisted_7$f = { key: 1 };
7443
7443
  const _hoisted_8$8 = { class: "ux-text-wrap" };
7444
7444
  const _hoisted_9$7 = ["placeholder", "onUpdate:modelValue"];
7445
7445
  const _hoisted_10$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("option", { value: "" }, "None", -1));
7446
7446
  const _hoisted_11$4 = ["value"];
7447
7447
  const _hoisted_12$4 = { class: "ux-text-wrap" };
7448
7448
  const _hoisted_13$4 = ["placeholder"];
7449
- function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
7449
+ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
7450
7450
  const _component_ux_button = resolveComponent("ux-button");
7451
7451
  const _component_native_select = resolveComponent("native-select");
7452
7452
  const _component_flex_cell = resolveComponent("flex-cell");
7453
7453
  const _component_ux_icon = resolveComponent("ux-icon");
7454
7454
  const _component_flex_row = resolveComponent("flex-row");
7455
7455
  return openBlock(), createElementBlock(Fragment, null, [
7456
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$C, [
7456
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$D, [
7457
7457
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
7458
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$z, "*")) : createCommentVNode("", true)
7458
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$A, "*")) : createCommentVNode("", true)
7459
7459
  ])) : createCommentVNode("", true),
7460
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$w, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
7461
- _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$t, [
7460
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$x, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
7461
+ _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$u, [
7462
7462
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
7463
7463
  return openBlock(), createBlock(_component_flex_row, {
7464
7464
  gap: "",
@@ -7479,9 +7479,9 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
7479
7479
  createVNode(_component_ux_button, { tag: "a" }, {
7480
7480
  default: withCtx(() => [
7481
7481
  !entry.countryCode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
7482
- _hoisted_5$m
7482
+ _hoisted_5$n
7483
7483
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
7484
- $data.lookup[entry.countryCode] ? (openBlock(), createElementBlock("div", _hoisted_6$h, toDisplayString($data.lookup[entry.countryCode].emoji) + " - " + toDisplayString($data.lookup[entry.countryCode].alpha2), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$e, "Loading"))
7484
+ $data.lookup[entry.countryCode] ? (openBlock(), createElementBlock("div", _hoisted_6$i, toDisplayString($data.lookup[entry.countryCode].emoji) + " - " + toDisplayString($data.lookup[entry.countryCode].alpha2), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$f, "Loading"))
7485
7485
  ], 64))
7486
7486
  ]),
7487
7487
  _: 2
@@ -7592,12 +7592,12 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
7592
7592
  }))
7593
7593
  ], 64);
7594
7594
  }
7595
- var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-32219a94"]]);
7595
+ var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-32219a94"]]);
7596
7596
  var timezone_vue_vue_type_style_index_0_scoped_true_lang = "";
7597
- function isUndefined$4(entry) {
7597
+ function isUndefined$5(entry) {
7598
7598
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
7599
7599
  }
7600
- const _sfc_main$K = {
7600
+ const _sfc_main$L = {
7601
7601
  props: {
7602
7602
  modelValue: {}
7603
7603
  },
@@ -7608,7 +7608,7 @@ const _sfc_main$K = {
7608
7608
  methods: {
7609
7609
  cleanOutput(val) {
7610
7610
  var self2 = this;
7611
- if (isUndefined$4(val)) {
7611
+ if (isUndefined$5(val)) {
7612
7612
  if (self2.multiValue) {
7613
7613
  val = [];
7614
7614
  } else {
@@ -8122,39 +8122,39 @@ const _sfc_main$K = {
8122
8122
  }
8123
8123
  }
8124
8124
  };
8125
- const _hoisted_1$B = {
8125
+ const _hoisted_1$C = {
8126
8126
  key: 0,
8127
8127
  class: "ux-field-title"
8128
8128
  };
8129
- const _hoisted_2$y = {
8129
+ const _hoisted_2$z = {
8130
8130
  key: 0,
8131
8131
  class: "ux-required-marker"
8132
8132
  };
8133
- const _hoisted_3$v = {
8133
+ const _hoisted_3$w = {
8134
8134
  key: 1,
8135
8135
  class: "ux-field-description"
8136
8136
  };
8137
- const _hoisted_4$s = {
8137
+ const _hoisted_4$t = {
8138
8138
  key: 2,
8139
8139
  class: "ui-select-button"
8140
8140
  };
8141
- const _hoisted_5$l = ["multiple"];
8142
- const _hoisted_6$g = {
8141
+ const _hoisted_5$m = ["multiple"];
8142
+ const _hoisted_6$h = {
8143
8143
  key: 0,
8144
8144
  value: ""
8145
8145
  };
8146
- const _hoisted_7$d = ["value"];
8147
- function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
8146
+ const _hoisted_7$e = ["value"];
8147
+ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
8148
8148
  const _component_ux_button = resolveComponent("ux-button");
8149
8149
  return openBlock(), createElementBlock("div", {
8150
8150
  class: normalizeClass(["native-select", $options.classes])
8151
8151
  }, [
8152
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
8152
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$C, [
8153
8153
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
8154
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$y, "*")) : createCommentVNode("", true)
8154
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$z, "*")) : createCommentVNode("", true)
8155
8155
  ])) : createCommentVNode("", true),
8156
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$v, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8157
- _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$s, [
8156
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$w, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
8157
+ _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$t, [
8158
8158
  renderSlot(_ctx.$slots, "default", {}, () => [
8159
8159
  createVNode(_component_ux_button, { tag: "div" }, {
8160
8160
  default: withCtx(() => [
@@ -8169,20 +8169,20 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
8169
8169
  multiple: _ctx.multiValue,
8170
8170
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
8171
8171
  }, [
8172
- _ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$g, "None")) : createCommentVNode("", true),
8172
+ _ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$h, "None")) : createCommentVNode("", true),
8173
8173
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
8174
8174
  return openBlock(), createElementBlock("option", {
8175
8175
  value: option2.value
8176
- }, toDisplayString(option2.title), 9, _hoisted_7$d);
8176
+ }, toDisplayString(option2.title), 9, _hoisted_7$e);
8177
8177
  }), 256))
8178
- ], 40, _hoisted_5$l), [
8178
+ ], 40, _hoisted_5$m), [
8179
8179
  [vModelSelect, _ctx.model]
8180
8180
  ])
8181
8181
  ], 2);
8182
8182
  }
8183
- var TimezoneSelect = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-a15362c8"]]);
8183
+ var TimezoneSelect = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-a15362c8"]]);
8184
8184
  var item_vue_vue_type_style_index_0_scoped_true_lang = "";
8185
- const _sfc_main$J = {
8185
+ const _sfc_main$K = {
8186
8186
  props: {
8187
8187
  item: {
8188
8188
  type: Object,
@@ -8212,7 +8212,7 @@ const _sfc_main$J = {
8212
8212
  }
8213
8213
  }
8214
8214
  };
8215
- function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
8215
+ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
8216
8216
  const _component_ux_image = resolveComponent("ux-image");
8217
8217
  const _component_flex_cell = resolveComponent("flex-cell");
8218
8218
  const _component_flex_row = resolveComponent("flex-row");
@@ -8263,7 +8263,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
8263
8263
  })
8264
8264
  ]);
8265
8265
  }
8266
- var Item = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-055fac6a"]]);
8266
+ var Item = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-055fac6a"]]);
8267
8267
  /**!
8268
8268
  * Sortable 1.14.0
8269
8269
  * @author RubaXa <trash@rubaxa.org>
@@ -10931,7 +10931,7 @@ const draggableComponent = defineComponent({
10931
10931
  }
10932
10932
  });
10933
10933
  var contentSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
10934
- const _sfc_main$I = {
10934
+ const _sfc_main$J = {
10935
10935
  components: {
10936
10936
  Item,
10937
10937
  draggable: draggableComponent
@@ -11104,24 +11104,24 @@ const _sfc_main$I = {
11104
11104
  }
11105
11105
  }
11106
11106
  };
11107
- const _hoisted_1$A = {
11107
+ const _hoisted_1$B = {
11108
11108
  key: 0,
11109
11109
  class: "ux-field-title"
11110
11110
  };
11111
- const _hoisted_2$x = {
11111
+ const _hoisted_2$y = {
11112
11112
  key: 0,
11113
11113
  class: "ux-required-marker"
11114
11114
  };
11115
- const _hoisted_3$u = {
11115
+ const _hoisted_3$v = {
11116
11116
  key: 1,
11117
11117
  class: "ux-field-description"
11118
11118
  };
11119
- const _hoisted_4$r = {
11119
+ const _hoisted_4$s = {
11120
11120
  key: 1,
11121
11121
  class: "items"
11122
11122
  };
11123
- const _hoisted_5$k = /* @__PURE__ */ createTextVNode(" Create ");
11124
- function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
11123
+ const _hoisted_5$l = /* @__PURE__ */ createTextVNode(" Create ");
11124
+ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
11125
11125
  const _component_ux_icon = resolveComponent("ux-icon");
11126
11126
  const _component_ux_button = resolveComponent("ux-button");
11127
11127
  const _component_item = resolveComponent("item");
@@ -11130,11 +11130,11 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
11130
11130
  const _component_flex_spacer = resolveComponent("flex-spacer");
11131
11131
  const _component_flex_row = resolveComponent("flex-row");
11132
11132
  return openBlock(), createElementBlock(Fragment, null, [
11133
- _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
11133
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
11134
11134
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
11135
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$x, "*")) : createCommentVNode("", true)
11135
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$y, "*")) : createCommentVNode("", true)
11136
11136
  ])) : createCommentVNode("", true),
11137
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$u, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
11137
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$v, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
11138
11138
  $options.showList ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
11139
11139
  _ctx.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11140
11140
  _ctx.model && _ctx.model.length ? (openBlock(), createBlock(_component_draggable, {
@@ -11174,7 +11174,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
11174
11174
  ]),
11175
11175
  _: 1
11176
11176
  }, 8, ["modelValue"])) : createCommentVNode("", true)
11177
- ], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$r, [
11177
+ ], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$s, [
11178
11178
  createVNode(_component_item, { item: _ctx.model }, {
11179
11179
  actions: withCtx(() => [
11180
11180
  $options.canEdit(_ctx.model) ? (openBlock(), createBlock(_component_ux_button, {
@@ -11227,7 +11227,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
11227
11227
  onClick: $options.create
11228
11228
  }, {
11229
11229
  default: withCtx(() => [
11230
- _hoisted_5$k,
11230
+ _hoisted_5$l,
11231
11231
  createVNode(_component_ux_icon, {
11232
11232
  right: "",
11233
11233
  icon: "fa-plus"
@@ -11244,12 +11244,12 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
11244
11244
  })) : createCommentVNode("", true)
11245
11245
  ], 64);
11246
11246
  }
11247
- var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-236b5d48"]]);
11247
+ var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-236b5d48"]]);
11248
11248
  var typeSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
11249
- function isUndefined$3(entry) {
11249
+ function isUndefined$4(entry) {
11250
11250
  return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
11251
11251
  }
11252
- const _sfc_main$H = {
11252
+ const _sfc_main$I = {
11253
11253
  props: {
11254
11254
  title: {
11255
11255
  type: String
@@ -11287,7 +11287,7 @@ const _sfc_main$H = {
11287
11287
  methods: {
11288
11288
  cleanOutput(val) {
11289
11289
  var self2 = this;
11290
- if (isUndefined$3(val)) {
11290
+ if (isUndefined$4(val)) {
11291
11291
  if (self2.multiValue) {
11292
11292
  val = [];
11293
11293
  } else {
@@ -11358,6 +11358,243 @@ const _sfc_main$H = {
11358
11358
  }
11359
11359
  }
11360
11360
  };
11361
+ const _hoisted_1$A = {
11362
+ key: 0,
11363
+ class: "ux-field-title"
11364
+ };
11365
+ const _hoisted_2$x = {
11366
+ key: 0,
11367
+ class: "ux-required-marker"
11368
+ };
11369
+ const _hoisted_3$u = {
11370
+ key: 1,
11371
+ class: "ux-field-description"
11372
+ };
11373
+ const _hoisted_4$r = {
11374
+ key: 2,
11375
+ class: "ui-select-button"
11376
+ };
11377
+ const _hoisted_5$k = ["multiple"];
11378
+ const _hoisted_6$g = {
11379
+ key: 0,
11380
+ value: ""
11381
+ };
11382
+ const _hoisted_7$d = ["value"];
11383
+ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
11384
+ const _component_ux_button = resolveComponent("ux-button");
11385
+ return openBlock(), createElementBlock("div", {
11386
+ class: normalizeClass(["native-select", $options.classes])
11387
+ }, [
11388
+ _ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
11389
+ createTextVNode(toDisplayString(_ctx.label) + " ", 1),
11390
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$x, "*")) : createCommentVNode("", true)
11391
+ ])) : createCommentVNode("", true),
11392
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$u, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
11393
+ _ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$r, [
11394
+ renderSlot(_ctx.$slots, "default", {}, () => [
11395
+ createVNode(_component_ux_button, { tag: "div" }, {
11396
+ default: withCtx(() => [
11397
+ createTextVNode(toDisplayString($options.summary), 1)
11398
+ ]),
11399
+ _: 1
11400
+ })
11401
+ ], true)
11402
+ ])) : createCommentVNode("", true),
11403
+ withDirectives(createElementVNode("select", {
11404
+ onFocus: _cache[0] || (_cache[0] = (...args) => _ctx.touch && _ctx.touch(...args)),
11405
+ multiple: _ctx.multiValue,
11406
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
11407
+ }, [
11408
+ _ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$g, "None")) : createCommentVNode("", true),
11409
+ (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
11410
+ return openBlock(), createElementBlock("option", {
11411
+ value: option2.value
11412
+ }, toDisplayString(option2.title), 9, _hoisted_7$d);
11413
+ }), 256))
11414
+ ], 40, _hoisted_5$k), [
11415
+ [vModelSelect, _ctx.model]
11416
+ ])
11417
+ ], 2);
11418
+ }
11419
+ var TypeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-49a55ef8"]]);
11420
+ var fieldSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
11421
+ function isUndefined$3(entry) {
11422
+ return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
11423
+ }
11424
+ const _sfc_main$H = {
11425
+ props: {
11426
+ title: {
11427
+ type: String
11428
+ },
11429
+ modelValue: {}
11430
+ },
11431
+ mixins: [InputMixin],
11432
+ async created() {
11433
+ this.model = this.model;
11434
+ },
11435
+ watch: {
11436
+ referenceType: {
11437
+ async handler(referenceType) {
11438
+ const self2 = this;
11439
+ const glossary = await this.$sdk.content.glossary({ hash: true });
11440
+ self2.definition = glossary[referenceType];
11441
+ },
11442
+ immediate: true
11443
+ }
11444
+ },
11445
+ data() {
11446
+ return {
11447
+ types: [],
11448
+ definition: null
11449
+ };
11450
+ },
11451
+ methods: {
11452
+ cleanOutput(val) {
11453
+ var self2 = this;
11454
+ if (isUndefined$3(val)) {
11455
+ if (self2.multiValue) {
11456
+ val = [];
11457
+ } else {
11458
+ val = void 0;
11459
+ }
11460
+ } else {
11461
+ if (self2.multiValue) {
11462
+ val = (val || []).filter(Boolean).map(function(i2) {
11463
+ return self2.getValue(i2);
11464
+ });
11465
+ } else {
11466
+ val = self2.getValue(val);
11467
+ }
11468
+ }
11469
+ return val;
11470
+ },
11471
+ cleanInput(val) {
11472
+ var self2 = this;
11473
+ if (self2.multiValue) {
11474
+ if (!val) {
11475
+ val = [];
11476
+ }
11477
+ if (!Array.isArray(val)) {
11478
+ val = [val];
11479
+ }
11480
+ if (self2.maximum) {
11481
+ if (val.length > self2.maximum) {
11482
+ val.length = self2.maximum;
11483
+ }
11484
+ }
11485
+ val = val.filter(Boolean).map(function(v) {
11486
+ var valueKey2 = self2.getValue(v);
11487
+ return self2.returnObject ? self2.optionLookup[valueKey2] : valueKey2;
11488
+ });
11489
+ } else {
11490
+ var valueKey = self2.getValue(val);
11491
+ val = self2.returnObject ? self2.optionLookup[valueKey] : valueKey;
11492
+ }
11493
+ return val;
11494
+ }
11495
+ },
11496
+ computed: {
11497
+ fields() {
11498
+ const self2 = this;
11499
+ if (!self2.definition) {
11500
+ return [];
11501
+ }
11502
+ const isFormSubmission = self2.definition.definesType === "submission";
11503
+ var allFields = [...self2.definition.fields];
11504
+ var definedFields = self2.definition.definedFields || [];
11505
+ if (definedFields.length) {
11506
+ if (isFormSubmission) {
11507
+ var formDataFields = {
11508
+ title: `Form Data`,
11509
+ minimum: 1,
11510
+ maximum: 1,
11511
+ key: "formData",
11512
+ asObject: true,
11513
+ type: "group",
11514
+ fields: definedFields
11515
+ };
11516
+ allFields.push(formDataFields);
11517
+ const cleanedDataFields = definedFields.map(function(field) {
11518
+ if (field.type === "reference") {
11519
+ field = JSON.parse(JSON.stringify(field));
11520
+ delete field.fields;
11521
+ }
11522
+ return field;
11523
+ });
11524
+ var dataFields = {
11525
+ title: `Data`,
11526
+ minimum: 1,
11527
+ maximum: 1,
11528
+ key: "data",
11529
+ asObject: true,
11530
+ type: "group",
11531
+ fields: cleanedDataFields
11532
+ };
11533
+ allFields.push(dataFields);
11534
+ } else {
11535
+ var dataFields = {
11536
+ title: `${self2.definition.title}`,
11537
+ minimum: 1,
11538
+ maximum: 1,
11539
+ key: "data",
11540
+ asObject: true,
11541
+ type: "group",
11542
+ fields: definedFields
11543
+ };
11544
+ allFields.push(dataFields);
11545
+ }
11546
+ }
11547
+ var mapped = self2.$sdk.utils.mapFields(allFields).filter(function(field) {
11548
+ var isObject2 = field.type == "group" && field.asObject && (field.minimum == 1 && field.maximum == 1);
11549
+ return !isObject2;
11550
+ }).map(function(field) {
11551
+ field.title = field.titles.join(" > ");
11552
+ return field;
11553
+ }).sort(function(a2, b) {
11554
+ return a2.title < b.title ? -1 : 1;
11555
+ });
11556
+ return mapped;
11557
+ },
11558
+ fieldOptions() {
11559
+ const self2 = this;
11560
+ return self2.fields.map(function(field) {
11561
+ return {
11562
+ title: field.title,
11563
+ value: field.path
11564
+ };
11565
+ });
11566
+ },
11567
+ referenceType() {
11568
+ return this.field.referenceType;
11569
+ },
11570
+ returnObject() {
11571
+ return false;
11572
+ },
11573
+ classes() {
11574
+ var array = [];
11575
+ if (this.multiValue) {
11576
+ array.push("multiple");
11577
+ } else {
11578
+ array.push("single");
11579
+ }
11580
+ return array;
11581
+ },
11582
+ optionLookup() {
11583
+ var self2 = this;
11584
+ return self2.fieldOptions.reduce(function(set, option2) {
11585
+ const key = self2.getValue(option2);
11586
+ set[key] = option2;
11587
+ return set;
11588
+ }, {});
11589
+ },
11590
+ summary() {
11591
+ return this.model ? this.getLabel(this.optionLookup[this.model]) : this.title || "Click to select";
11592
+ },
11593
+ selectableOptions() {
11594
+ return this.fieldOptions;
11595
+ }
11596
+ }
11597
+ };
11361
11598
  const _hoisted_1$z = {
11362
11599
  key: 0,
11363
11600
  class: "ux-field-title"
@@ -11416,7 +11653,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
11416
11653
  ])
11417
11654
  ], 2);
11418
11655
  }
11419
- var TypeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-49a55ef8"]]);
11656
+ var FieldSelect = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-3cff6dc8"]]);
11420
11657
  var currency_vue_vue_type_style_index_0_scoped_true_lang = "";
11421
11658
  const _sfc_main$G = {
11422
11659
  props: {
@@ -16989,6 +17226,7 @@ const _sfc_main$h = {
16989
17226
  FieldGroup: FieldGroup$1,
16990
17227
  ContentSelect,
16991
17228
  TypeSelect,
17229
+ FieldSelect,
16992
17230
  TimezoneSelect,
16993
17231
  PhoneNumberInput,
16994
17232
  Upload,
@@ -17400,12 +17638,12 @@ const _sfc_main$h = {
17400
17638
  case "currency":
17401
17639
  case "timezone":
17402
17640
  case "country":
17403
- case "typeselect":
17404
17641
  case "upload":
17405
17642
  case "code":
17406
17643
  case "options":
17407
17644
  case "button":
17408
17645
  case "type-select":
17646
+ case "field-select":
17409
17647
  case "html":
17410
17648
  case "filter":
17411
17649
  case "value":
@@ -17441,7 +17679,7 @@ const _sfc_main$h = {
17441
17679
  }
17442
17680
  };
17443
17681
  const _hoisted_1$c = {
17444
- key: 26,
17682
+ key: 27,
17445
17683
  class: "ux-field-message"
17446
17684
  };
17447
17685
  function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
@@ -17453,6 +17691,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
17453
17691
  const _component_boolean_switch = resolveComponent("boolean-switch");
17454
17692
  const _component_upload = resolveComponent("upload");
17455
17693
  const _component_field_group = resolveComponent("field-group");
17694
+ const _component_field_select = resolveComponent("field-select");
17456
17695
  const _component_native_select = resolveComponent("native-select");
17457
17696
  const _component_button_select = resolveComponent("button-select");
17458
17697
  const _component_text_field = resolveComponent("text-field");
@@ -17472,8 +17711,8 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
17472
17711
  return $options.visible ? (openBlock(), createElementBlock("div", {
17473
17712
  key: 0,
17474
17713
  class: normalizeClass(["ux-field", $options.classes]),
17475
- onFocusin: _cache[25] || (_cache[25] = (...args) => $options.focus && $options.focus(...args)),
17476
- onFocusout: _cache[26] || (_cache[26] = (...args) => $options.blur && $options.blur(...args))
17714
+ onFocusin: _cache[26] || (_cache[26] = (...args) => $options.focus && $options.focus(...args)),
17715
+ onFocusout: _cache[27] || (_cache[27] = (...args) => $options.blur && $options.blur(...args))
17477
17716
  }, [
17478
17717
  $options.widget == "internal-route" ? (openBlock(), createBlock(_component_internal_route_select, {
17479
17718
  key: 0,
@@ -17562,107 +17801,114 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
17562
17801
  modelValue: $options.fieldModel,
17563
17802
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $options.fieldModel = $event)
17564
17803
  }, null, 8, ["trail", "submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : createCommentVNode("", true),
17565
- $options.widget == "select" ? (openBlock(), createBlock(_component_native_select, {
17804
+ $options.widget == "field-select" ? (openBlock(), createBlock(_component_field_select, {
17566
17805
  key: 10,
17567
17806
  onTouched: $options.touch,
17568
17807
  field: $options.actualField,
17569
17808
  modelValue: $options.fieldModel,
17570
17809
  "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $options.fieldModel = $event)
17571
17810
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
17572
- $options.widget == "button" ? (openBlock(), createBlock(_component_button_select, {
17811
+ $options.widget == "select" ? (openBlock(), createBlock(_component_native_select, {
17573
17812
  key: 11,
17574
17813
  onTouched: $options.touch,
17575
17814
  field: $options.actualField,
17576
17815
  modelValue: $options.fieldModel,
17577
17816
  "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $options.fieldModel = $event)
17578
17817
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
17579
- $options.widget == "textfield" ? (openBlock(), createBlock(_component_text_field, {
17818
+ $options.widget == "button" ? (openBlock(), createBlock(_component_button_select, {
17580
17819
  key: 12,
17581
17820
  onTouched: $options.touch,
17582
17821
  field: $options.actualField,
17583
17822
  modelValue: $options.fieldModel,
17584
17823
  "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => $options.fieldModel = $event)
17585
17824
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
17586
- $options.widget == "currency" ? (openBlock(), createBlock(_component_currency_field, {
17825
+ $options.widget == "textfield" ? (openBlock(), createBlock(_component_text_field, {
17587
17826
  key: 13,
17588
17827
  onTouched: $options.touch,
17589
17828
  field: $options.actualField,
17590
17829
  modelValue: $options.fieldModel,
17591
17830
  "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $options.fieldModel = $event)
17592
17831
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
17593
- $options.widget == "datefield" ? (openBlock(), createBlock(_component_date_field, {
17832
+ $options.widget == "currency" ? (openBlock(), createBlock(_component_currency_field, {
17594
17833
  key: 14,
17595
17834
  onTouched: $options.touch,
17596
17835
  field: $options.actualField,
17597
17836
  modelValue: $options.fieldModel,
17598
17837
  "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => $options.fieldModel = $event)
17599
17838
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
17600
- $options.widget == "daterange" ? (openBlock(), createBlock(_component_date_range, {
17839
+ $options.widget == "datefield" ? (openBlock(), createBlock(_component_date_field, {
17601
17840
  key: 15,
17602
17841
  onTouched: $options.touch,
17603
17842
  field: $options.actualField,
17604
17843
  modelValue: $options.fieldModel,
17605
17844
  "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => $options.fieldModel = $event)
17606
17845
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
17607
- $options.widget == "content-select" ? (openBlock(), createBlock(_component_content_select, {
17846
+ $options.widget == "daterange" ? (openBlock(), createBlock(_component_date_range, {
17608
17847
  key: 16,
17609
17848
  onTouched: $options.touch,
17610
17849
  field: $options.actualField,
17611
17850
  modelValue: $options.fieldModel,
17612
17851
  "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => $options.fieldModel = $event)
17613
17852
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
17614
- $options.widget == "type-select" ? (openBlock(), createBlock(_component_type_select, {
17853
+ $options.widget == "content-select" ? (openBlock(), createBlock(_component_content_select, {
17615
17854
  key: 17,
17616
17855
  onTouched: $options.touch,
17617
17856
  field: $options.actualField,
17618
17857
  modelValue: $options.fieldModel,
17619
17858
  "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => $options.fieldModel = $event)
17620
17859
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
17621
- $options.widget == "richtext" ? (openBlock(), createBlock(_component_rich_text_field, {
17860
+ $options.widget == "type-select" ? (openBlock(), createBlock(_component_type_select, {
17622
17861
  key: 18,
17623
17862
  onTouched: $options.touch,
17624
17863
  field: $options.actualField,
17625
17864
  modelValue: $options.fieldModel,
17626
17865
  "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => $options.fieldModel = $event)
17627
17866
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
17628
- $options.widget == "textarea" ? (openBlock(), createBlock(_component_text_area, {
17867
+ $options.widget == "richtext" ? (openBlock(), createBlock(_component_rich_text_field, {
17629
17868
  key: 19,
17630
17869
  onTouched: $options.touch,
17631
17870
  field: $options.actualField,
17632
17871
  modelValue: $options.fieldModel,
17633
17872
  "onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => $options.fieldModel = $event)
17634
17873
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
17635
- $options.widget == "timezone" ? (openBlock(), createBlock(_component_timezone_select, {
17874
+ $options.widget == "textarea" ? (openBlock(), createBlock(_component_text_area, {
17636
17875
  key: 20,
17637
17876
  onTouched: $options.touch,
17638
17877
  field: $options.actualField,
17639
17878
  modelValue: $options.fieldModel,
17640
17879
  "onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => $options.fieldModel = $event)
17641
17880
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
17642
- $options.widget == "phone" ? (openBlock(), createBlock(_component_phone_number_input, {
17881
+ $options.widget == "timezone" ? (openBlock(), createBlock(_component_timezone_select, {
17643
17882
  key: 21,
17644
17883
  onTouched: $options.touch,
17645
17884
  field: $options.actualField,
17646
17885
  modelValue: $options.fieldModel,
17647
17886
  "onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => $options.fieldModel = $event)
17648
17887
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
17649
- $options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 22 }, [], 64)) : createCommentVNode("", true),
17650
- $options.widget == "object" ? (openBlock(), createBlock(_component_object_field, {
17651
- key: 23,
17888
+ $options.widget == "phone" ? (openBlock(), createBlock(_component_phone_number_input, {
17889
+ key: 22,
17652
17890
  onTouched: $options.touch,
17653
17891
  field: $options.actualField,
17654
17892
  modelValue: $options.fieldModel,
17655
17893
  "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => $options.fieldModel = $event)
17656
17894
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
17657
- $options.widget == "options" ? (openBlock(), createBlock(_component_options_manager, {
17895
+ $options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 23 }, [], 64)) : createCommentVNode("", true),
17896
+ $options.widget == "object" ? (openBlock(), createBlock(_component_object_field, {
17658
17897
  key: 24,
17659
17898
  onTouched: $options.touch,
17660
17899
  field: $options.actualField,
17661
17900
  modelValue: $options.fieldModel,
17662
17901
  "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => $options.fieldModel = $event)
17663
17902
  }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
17664
- $options.widget == "code" ? (openBlock(), createBlock(_component_flex_column, {
17903
+ $options.widget == "options" ? (openBlock(), createBlock(_component_options_manager, {
17665
17904
  key: 25,
17905
+ onTouched: $options.touch,
17906
+ field: $options.actualField,
17907
+ modelValue: $options.fieldModel,
17908
+ "onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => $options.fieldModel = $event)
17909
+ }, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
17910
+ $options.widget == "code" ? (openBlock(), createBlock(_component_flex_column, {
17911
+ key: 26,
17666
17912
  style: { "min-height": "300px" }
17667
17913
  }, {
17668
17914
  default: withCtx(() => [
@@ -17670,7 +17916,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
17670
17916
  onTouched: $options.touch,
17671
17917
  field: $options.actualField,
17672
17918
  modelValue: $options.fieldModel,
17673
- "onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => $options.fieldModel = $event)
17919
+ "onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => $options.fieldModel = $event)
17674
17920
  }, null, 8, ["onTouched", "field", "modelValue"])
17675
17921
  ]),
17676
17922
  _: 1
@@ -17678,7 +17924,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
17678
17924
  $options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$c, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
17679
17925
  ], 34)) : createCommentVNode("", true);
17680
17926
  }
17681
- var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-299e79b2"]]);
17927
+ var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-8fa95082"]]);
17682
17928
  function arrayReduce$1(array, iteratee, accumulator, initAccum) {
17683
17929
  var index2 = -1, length = array == null ? 0 : array.length;
17684
17930
  if (initAccum && length) {
@@ -20109,7 +20355,7 @@ const _sfc_main$9 = {
20109
20355
  };
20110
20356
  }
20111
20357
  };
20112
- const _withScopeId$1 = (n2) => (pushScopeId("data-v-2dc4a071"), n2 = n2(), popScopeId(), n2);
20358
+ const _withScopeId$1 = (n2) => (pushScopeId("data-v-d42c2d1e"), n2 = n2(), popScopeId(), n2);
20113
20359
  const _hoisted_1$7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
20114
20360
  const _hoisted_2$6 = { key: 0 };
20115
20361
  const _hoisted_3$5 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
@@ -20300,7 +20546,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
20300
20546
  _: 3
20301
20547
  })) : createCommentVNode("", true);
20302
20548
  }
20303
- var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-2dc4a071"]]);
20549
+ var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-d42c2d1e"]]);
20304
20550
  var ScopeItem_vue_vue_type_style_index_0_scoped_true_lang = "";
20305
20551
  const _sfc_main$8 = {
20306
20552
  props: {
@@ -20586,7 +20832,8 @@ const _sfc_main$6 = {
20586
20832
  },
20587
20833
  data() {
20588
20834
  return {
20589
- model: this.modelValue
20835
+ model: this.modelValue,
20836
+ definition: null
20590
20837
  };
20591
20838
  },
20592
20839
  methods: {
@@ -20612,14 +20859,66 @@ const _sfc_main$6 = {
20612
20859
  return self2.model.map(function(scope) {
20613
20860
  return scope.title || "(hidden)";
20614
20861
  }).join(", ");
20862
+ },
20863
+ definitionDefaultScopes() {
20864
+ var _a;
20865
+ return ((_a = this.definition) == null ? void 0 : _a.defaultScopes) || [];
20866
+ },
20867
+ definitionRestrictScopes() {
20868
+ var _a;
20869
+ return ((_a = this.definition) == null ? void 0 : _a.restrictScopes) || [];
20870
+ },
20871
+ restrictedLookup() {
20872
+ return this.definitionRestrictScopes.reduce(function(memo, scope) {
20873
+ if (!scope) {
20874
+ return memo;
20875
+ }
20876
+ var id = scope._id || scope;
20877
+ memo[id] = id;
20878
+ return memo;
20879
+ }, {});
20880
+ },
20881
+ availableDefaultScopes() {
20882
+ const self2 = this;
20883
+ let availableDefaultScopes;
20884
+ if (!self2.definitionRestrictScopes.length) {
20885
+ return self2.definitionDefaultScopes;
20886
+ }
20887
+ availableDefaultScopes = self2.definitionDefaultScopes.filter(function(scope) {
20888
+ if (!scope) {
20889
+ return false;
20890
+ }
20891
+ var id = scope._id || scope;
20892
+ return self2.restrictedLookup[id];
20893
+ });
20894
+ if (!availableDefaultScopes.length && self2.definitionRestrictScopes.length === 1) {
20895
+ availableDefaultScopes = self2.definitionRestrictScopes;
20896
+ }
20897
+ return availableDefaultScopes;
20615
20898
  }
20616
20899
  },
20617
20900
  watch: {
20901
+ availableDefaultScopes: {
20902
+ handler(s2) {
20903
+ if (!this.model.length && s2.length) {
20904
+ this.model = [...s2];
20905
+ }
20906
+ },
20907
+ immediate: true
20908
+ },
20618
20909
  modelValue(m) {
20619
20910
  this.model = m;
20620
20911
  },
20621
20912
  model(m) {
20622
20913
  this.$emit("update:modelValue", m);
20914
+ },
20915
+ type: {
20916
+ async handler(type) {
20917
+ const self2 = this;
20918
+ const glossary = await this.$sdk.content.glossary({ hash: true });
20919
+ self2.definition = glossary[type];
20920
+ },
20921
+ immediate: true
20623
20922
  }
20624
20923
  }
20625
20924
  };
@@ -20636,7 +20935,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
20636
20935
  }, 8, ["onClick"])
20637
20936
  ]);
20638
20937
  }
20639
- var ScopeSelectButton = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-d699ee9c"]]);
20938
+ var ScopeSelectButton = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-6b61f5a8"]]);
20640
20939
  var ModalMixin = {
20641
20940
  props: {
20642
20941
  options: {