@qikdev/vue-ui 0.2.15 → 0.2.20

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
@@ -30,9 +30,9 @@ var __objRest = (source, exclude) => {
30
30
  }
31
31
  return target;
32
32
  };
33
- import { openBlock, createElementBlock, renderSlot, resolveComponent, createBlock, withCtx, createVNode, Fragment, renderList, normalizeClass, toDisplayString, withDirectives, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, mergeProps, toHandlers, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelText, vModelSelect, withKeys, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, vModelCheckbox, reactive, watch } from "vue";
33
+ import { openBlock, createElementBlock, renderSlot, resolveComponent, normalizeClass, Fragment, createVNode, withCtx, renderList, toDisplayString, withDirectives, createBlock, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, mergeProps, toHandlers, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelText, vModelSelect, withKeys, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, vModelCheckbox, reactive, watch } from "vue";
34
34
  import { EventDispatcher } from "@qikdev/sdk";
35
- const version$1 = "0.2.15";
35
+ const version$1 = "0.2.20";
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,109 @@ var _export_sfc = (sfc, props2) => {
41
41
  }
42
42
  return target;
43
43
  };
44
+ const _sfc_main$1m = {};
45
+ const _hoisted_1$12 = { class: "flex-column" };
46
+ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
47
+ return openBlock(), createElementBlock("div", _hoisted_1$12, [
48
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
49
+ ]);
50
+ }
51
+ var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__scopeId", "data-v-203ea86f"]]);
52
+ var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
53
+ const _sfc_main$1l = {};
54
+ const _hoisted_1$11 = { class: "flex-column-body" };
55
+ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
56
+ return openBlock(), createElementBlock("div", _hoisted_1$11, [
57
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
58
+ ]);
59
+ }
60
+ var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__scopeId", "data-v-64850355"]]);
61
+ var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
44
62
  const _sfc_main$1k = {};
45
- const _hoisted_1$11 = { class: "flex-column" };
63
+ const _hoisted_1$10 = { class: "flex-column-header" };
46
64
  function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
47
- return openBlock(), createElementBlock("div", _hoisted_1$11, [
65
+ return openBlock(), createElementBlock("div", _hoisted_1$10, [
48
66
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
49
67
  ]);
50
68
  }
51
- var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__scopeId", "data-v-203ea86f"]]);
52
- var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
69
+ var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__scopeId", "data-v-10b28f00"]]);
70
+ var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
53
71
  const _sfc_main$1j = {};
54
- const _hoisted_1$10 = { class: "flex-column-body" };
72
+ const _hoisted_1$$ = { class: "flex-column-footer" };
55
73
  function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
56
- return openBlock(), createElementBlock("div", _hoisted_1$10, [
74
+ return openBlock(), createElementBlock("div", _hoisted_1$$, [
57
75
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
58
76
  ]);
59
77
  }
60
- var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__scopeId", "data-v-64850355"]]);
61
- var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
78
+ var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__scopeId", "data-v-68216a72"]]);
79
+ var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
62
80
  const _sfc_main$1i = {};
63
- const _hoisted_1$$ = { class: "flex-column-header" };
81
+ const _hoisted_1$_ = { class: "flex-cell" };
64
82
  function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
65
- return openBlock(), createElementBlock("div", _hoisted_1$$, [
83
+ return openBlock(), createElementBlock("div", _hoisted_1$_, [
66
84
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
67
85
  ]);
68
86
  }
69
- var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__scopeId", "data-v-10b28f00"]]);
70
- var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
87
+ var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__scopeId", "data-v-644bb279"]]);
88
+ var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
71
89
  const _sfc_main$1h = {};
72
- const _hoisted_1$_ = { class: "flex-column-footer" };
90
+ const _hoisted_1$Z = { class: "flex-row" };
73
91
  function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
74
- return openBlock(), createElementBlock("div", _hoisted_1$_, [
92
+ return openBlock(), createElementBlock("div", _hoisted_1$Z, [
75
93
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
76
94
  ]);
77
95
  }
78
- var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__scopeId", "data-v-68216a72"]]);
79
- var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
96
+ var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__scopeId", "data-v-5b76ad1f"]]);
97
+ var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
80
98
  const _sfc_main$1g = {};
81
- const _hoisted_1$Z = { class: "flex-cell" };
99
+ const _hoisted_1$Y = { class: "flex-spacer" };
82
100
  function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
83
- return openBlock(), createElementBlock("div", _hoisted_1$Z, [
84
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
85
- ]);
101
+ return openBlock(), createElementBlock("div", _hoisted_1$Y);
86
102
  }
87
- var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__scopeId", "data-v-644bb279"]]);
88
- var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
103
+ var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__scopeId", "data-v-35b15579"]]);
104
+ var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
89
105
  const _sfc_main$1f = {};
90
- const _hoisted_1$Y = { class: "flex-row" };
106
+ const _hoisted_1$X = { class: "panel" };
91
107
  function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
92
- return openBlock(), createElementBlock("div", _hoisted_1$Y, [
108
+ return openBlock(), createElementBlock("div", _hoisted_1$X, [
93
109
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
94
110
  ]);
95
111
  }
96
- var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__scopeId", "data-v-5b76ad1f"]]);
97
- var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
112
+ var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__scopeId", "data-v-50ae77fc"]]);
113
+ var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
98
114
  const _sfc_main$1e = {};
99
- const _hoisted_1$X = { class: "flex-spacer" };
115
+ const _hoisted_1$W = { class: "panel-body" };
100
116
  function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
101
- return openBlock(), createElementBlock("div", _hoisted_1$X);
102
- }
103
- var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__scopeId", "data-v-35b15579"]]);
104
- var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
105
- const _sfc_main$1d = {};
106
- const _hoisted_1$W = { class: "panel" };
107
- function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
108
117
  return openBlock(), createElementBlock("div", _hoisted_1$W, [
109
118
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
110
119
  ]);
111
120
  }
112
- var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-50ae77fc"]]);
113
- var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
114
- const _sfc_main$1c = {};
115
- const _hoisted_1$V = { class: "panel-body" };
116
- function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
117
- return openBlock(), createElementBlock("div", _hoisted_1$V, [
118
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
119
- ]);
120
- }
121
- var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-c82dca76"]]);
121
+ var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__scopeId", "data-v-c82dca76"]]);
122
122
  var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
123
- const _sfc_main$1b = {};
124
- const _hoisted_1$U = { class: "panel-header" };
125
- function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
126
- return openBlock(), createElementBlock("div", _hoisted_1$U, [
123
+ const _sfc_main$1d = {};
124
+ const _hoisted_1$V = { class: "panel-header" };
125
+ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
126
+ return openBlock(), createElementBlock("div", _hoisted_1$V, [
127
127
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
128
128
  ]);
129
129
  }
130
- var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__scopeId", "data-v-13bf11da"]]);
130
+ var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-13bf11da"]]);
131
131
  var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
132
- const _sfc_main$1a = {};
133
- const _hoisted_1$T = { class: "panel-footer" };
134
- function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
135
- return openBlock(), createElementBlock("div", _hoisted_1$T, [
132
+ const _sfc_main$1c = {};
133
+ const _hoisted_1$U = { class: "panel-footer" };
134
+ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
135
+ return openBlock(), createElementBlock("div", _hoisted_1$U, [
136
136
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
137
137
  ]);
138
138
  }
139
- var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__scopeId", "data-v-b4f4786a"]]);
139
+ var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-b4f4786a"]]);
140
140
  var tabset_vue_vue_type_style_index_0_scoped_true_lang = "";
141
- const _sfc_main$19 = {
141
+ const _sfc_main$1b = {
142
+ props: {
143
+ vertical: {
144
+ type: Boolean
145
+ }
146
+ },
142
147
  data() {
143
148
  return {
144
149
  activeIndex: 0
@@ -158,18 +163,56 @@ const _sfc_main$19 = {
158
163
  }
159
164
  return child;
160
165
  }).filter(Boolean);
161
- console.log("TABS", slotChildren);
162
166
  return slotChildren;
163
167
  }
164
168
  }
165
169
  };
166
- const _hoisted_1$S = ["onClick"];
167
- function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
170
+ const _hoisted_1$T = ["onClick"];
171
+ const _hoisted_2$J = ["onClick"];
172
+ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
173
+ const _component_flex_body = resolveComponent("flex-body");
174
+ const _component_flex_column = resolveComponent("flex-column");
168
175
  const _component_flex_row = resolveComponent("flex-row");
169
176
  const _component_flex_header = resolveComponent("flex-header");
170
- const _component_flex_column = resolveComponent("flex-column");
171
- return openBlock(), createBlock(_component_flex_column, null, {
172
- default: withCtx(() => [
177
+ return openBlock(), createElementBlock("div", {
178
+ class: normalizeClass(["ux-tabset", { vertical: $props.vertical, horizontal: !$props.vertical }])
179
+ }, [
180
+ $props.vertical ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
181
+ createVNode(_component_flex_column, { class: "tabset-menu" }, {
182
+ default: withCtx(() => [
183
+ createVNode(_component_flex_body, null, {
184
+ default: withCtx(() => [
185
+ (openBlock(true), createElementBlock(Fragment, null, renderList($options.tabs, (tab, index2) => {
186
+ return openBlock(), createElementBlock("a", {
187
+ class: normalizeClass({ active: index2 === $data.activeIndex }),
188
+ key: `tab-link-${tab.props.heading}`,
189
+ onClick: ($event) => $options.select(index2)
190
+ }, toDisplayString(tab.props.heading), 11, _hoisted_1$T);
191
+ }), 128))
192
+ ]),
193
+ _: 1
194
+ })
195
+ ]),
196
+ _: 1
197
+ }),
198
+ createVNode(_component_flex_column, null, {
199
+ default: withCtx(() => [
200
+ (openBlock(true), createElementBlock(Fragment, null, renderList($options.tabs, (tab, index2) => {
201
+ return withDirectives((openBlock(), createBlock(_component_flex_column, {
202
+ key: `tab-panel-${tab.props.heading}`
203
+ }, {
204
+ default: withCtx(() => [
205
+ (openBlock(), createBlock(resolveDynamicComponent(tab)))
206
+ ]),
207
+ _: 2
208
+ }, 1024)), [
209
+ [vShow, index2 === $data.activeIndex]
210
+ ]);
211
+ }), 128))
212
+ ]),
213
+ _: 1
214
+ })
215
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
173
216
  createVNode(_component_flex_header, { class: "tabset-menu" }, {
174
217
  default: withCtx(() => [
175
218
  createVNode(_component_flex_row, null, {
@@ -179,7 +222,7 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
179
222
  class: normalizeClass({ active: index2 === $data.activeIndex }),
180
223
  key: `tab-link-${tab.props.heading}`,
181
224
  onClick: ($event) => $options.select(index2)
182
- }, toDisplayString(tab.props.heading), 11, _hoisted_1$S);
225
+ }, toDisplayString(tab.props.heading), 11, _hoisted_2$J);
183
226
  }), 128))
184
227
  ]),
185
228
  _: 1
@@ -204,12 +247,11 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
204
247
  ]),
205
248
  _: 1
206
249
  })
207
- ]),
208
- _: 1
209
- });
250
+ ], 64))
251
+ ], 2);
210
252
  }
211
- var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-7e39d77e"]]);
212
- const _sfc_main$18 = {
253
+ var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__scopeId", "data-v-2a0551fe"]]);
254
+ const _sfc_main$1a = {
213
255
  props: {
214
256
  heading: {
215
257
  type: String,
@@ -236,7 +278,7 @@ const _sfc_main$18 = {
236
278
  }
237
279
  }
238
280
  };
239
- function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
281
+ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
240
282
  const _component_flex_column = resolveComponent("flex-column");
241
283
  return openBlock(), createBlock(_component_flex_column, null, {
242
284
  default: withCtx(() => [
@@ -245,10 +287,10 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
245
287
  _: 3
246
288
  });
247
289
  }
248
- var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18]]);
290
+ var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a]]);
249
291
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
250
- var isArray$3 = Array.isArray;
251
- var isArray_1 = isArray$3;
292
+ var isArray$5 = Array.isArray;
293
+ var isArray_1 = isArray$5;
252
294
  var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
253
295
  var _freeGlobal = freeGlobal$1;
254
296
  var freeGlobal = _freeGlobal;
@@ -259,12 +301,12 @@ var root$3 = _root;
259
301
  var Symbol$4 = root$3.Symbol;
260
302
  var _Symbol = Symbol$4;
261
303
  var Symbol$3 = _Symbol;
262
- var objectProto$4 = Object.prototype;
263
- var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
264
- var nativeObjectToString$1 = objectProto$4.toString;
304
+ var objectProto$8 = Object.prototype;
305
+ var hasOwnProperty$7 = objectProto$8.hasOwnProperty;
306
+ var nativeObjectToString$1 = objectProto$8.toString;
265
307
  var symToStringTag$1 = Symbol$3 ? Symbol$3.toStringTag : void 0;
266
308
  function getRawTag$1(value) {
267
- var isOwn = hasOwnProperty$4.call(value, symToStringTag$1), tag = value[symToStringTag$1];
309
+ var isOwn = hasOwnProperty$7.call(value, symToStringTag$1), tag = value[symToStringTag$1];
268
310
  try {
269
311
  value[symToStringTag$1] = void 0;
270
312
  var unmasked = true;
@@ -281,8 +323,8 @@ function getRawTag$1(value) {
281
323
  return result;
282
324
  }
283
325
  var _getRawTag = getRawTag$1;
284
- var objectProto$3 = Object.prototype;
285
- var nativeObjectToString = objectProto$3.toString;
326
+ var objectProto$7 = Object.prototype;
327
+ var nativeObjectToString = objectProto$7.toString;
286
328
  function objectToString$1(value) {
287
329
  return nativeObjectToString.call(value);
288
330
  }
@@ -290,27 +332,27 @@ var _objectToString = objectToString$1;
290
332
  var Symbol$2 = _Symbol, getRawTag = _getRawTag, objectToString = _objectToString;
291
333
  var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
292
334
  var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : void 0;
293
- function baseGetTag$2(value) {
335
+ function baseGetTag$5(value) {
294
336
  if (value == null) {
295
337
  return value === void 0 ? undefinedTag : nullTag;
296
338
  }
297
339
  return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
298
340
  }
299
- var _baseGetTag = baseGetTag$2;
300
- function isObjectLike$1(value) {
341
+ var _baseGetTag = baseGetTag$5;
342
+ function isObjectLike$5(value) {
301
343
  return value != null && typeof value == "object";
302
344
  }
303
- var isObjectLike_1 = isObjectLike$1;
304
- var baseGetTag$1 = _baseGetTag, isObjectLike = isObjectLike_1;
345
+ var isObjectLike_1 = isObjectLike$5;
346
+ var baseGetTag$4 = _baseGetTag, isObjectLike$4 = isObjectLike_1;
305
347
  var symbolTag = "[object Symbol]";
306
348
  function isSymbol$4(value) {
307
- return typeof value == "symbol" || isObjectLike(value) && baseGetTag$1(value) == symbolTag;
349
+ return typeof value == "symbol" || isObjectLike$4(value) && baseGetTag$4(value) == symbolTag;
308
350
  }
309
351
  var isSymbol_1 = isSymbol$4;
310
- var isArray$2 = isArray_1, isSymbol$3 = isSymbol_1;
352
+ var isArray$4 = isArray_1, isSymbol$3 = isSymbol_1;
311
353
  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
312
354
  function isKey$1(value, object) {
313
- if (isArray$2(value)) {
355
+ if (isArray$4(value)) {
314
356
  return false;
315
357
  }
316
358
  var type = typeof value;
@@ -325,16 +367,16 @@ function isObject$4(value) {
325
367
  return value != null && (type == "object" || type == "function");
326
368
  }
327
369
  var isObject_1 = isObject$4;
328
- var baseGetTag = _baseGetTag, isObject$3 = isObject_1;
329
- var asyncTag = "[object AsyncFunction]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
330
- function isFunction$1(value) {
370
+ var baseGetTag$3 = _baseGetTag, isObject$3 = isObject_1;
371
+ var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
372
+ function isFunction$2(value) {
331
373
  if (!isObject$3(value)) {
332
374
  return false;
333
375
  }
334
- var tag = baseGetTag(value);
335
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
376
+ var tag = baseGetTag$3(value);
377
+ return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
336
378
  }
337
- var isFunction_1 = isFunction$1;
379
+ var isFunction_1 = isFunction$2;
338
380
  var root$2 = _root;
339
381
  var coreJsData$1 = root$2["__core-js_shared__"];
340
382
  var _coreJsData = coreJsData$1;
@@ -363,18 +405,18 @@ function toSource$1(func) {
363
405
  return "";
364
406
  }
365
407
  var _toSource = toSource$1;
366
- var isFunction = isFunction_1, isMasked = _isMasked, isObject$2 = isObject_1, toSource = _toSource;
408
+ var isFunction$1 = isFunction_1, isMasked = _isMasked, isObject$2 = isObject_1, toSource = _toSource;
367
409
  var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
368
410
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
369
- var funcProto = Function.prototype, objectProto$2 = Object.prototype;
411
+ var funcProto = Function.prototype, objectProto$6 = Object.prototype;
370
412
  var funcToString = funcProto.toString;
371
- var hasOwnProperty$3 = objectProto$2.hasOwnProperty;
372
- var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty$3).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
413
+ var hasOwnProperty$6 = objectProto$6.hasOwnProperty;
414
+ var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty$6).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
373
415
  function baseIsNative$1(value) {
374
416
  if (!isObject$2(value) || isMasked(value)) {
375
417
  return false;
376
418
  }
377
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
419
+ var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
378
420
  return pattern.test(toSource(value));
379
421
  }
380
422
  var _baseIsNative = baseIsNative$1;
@@ -405,23 +447,23 @@ function hashDelete$1(key) {
405
447
  var _hashDelete = hashDelete$1;
406
448
  var nativeCreate$2 = _nativeCreate;
407
449
  var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
408
- var objectProto$1 = Object.prototype;
409
- var hasOwnProperty$2 = objectProto$1.hasOwnProperty;
450
+ var objectProto$5 = Object.prototype;
451
+ var hasOwnProperty$5 = objectProto$5.hasOwnProperty;
410
452
  function hashGet$1(key) {
411
453
  var data = this.__data__;
412
454
  if (nativeCreate$2) {
413
455
  var result = data[key];
414
456
  return result === HASH_UNDEFINED$1 ? void 0 : result;
415
457
  }
416
- return hasOwnProperty$2.call(data, key) ? data[key] : void 0;
458
+ return hasOwnProperty$5.call(data, key) ? data[key] : void 0;
417
459
  }
418
460
  var _hashGet = hashGet$1;
419
461
  var nativeCreate$1 = _nativeCreate;
420
- var objectProto = Object.prototype;
421
- var hasOwnProperty$1 = objectProto.hasOwnProperty;
462
+ var objectProto$4 = Object.prototype;
463
+ var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
422
464
  function hashHas$1(key) {
423
465
  var data = this.__data__;
424
- return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$1.call(data, key);
466
+ return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$4.call(data, key);
425
467
  }
426
468
  var _hashHas = hashHas$1;
427
469
  var nativeCreate = _nativeCreate;
@@ -635,29 +677,29 @@ var stringToPath$1 = memoizeCapped(function(string) {
635
677
  return result;
636
678
  });
637
679
  var _stringToPath = stringToPath$1;
638
- function arrayMap$1(array, iteratee) {
680
+ function arrayMap$2(array, iteratee) {
639
681
  var index2 = -1, length = array == null ? 0 : array.length, result = Array(length);
640
682
  while (++index2 < length) {
641
683
  result[index2] = iteratee(array[index2], index2, array);
642
684
  }
643
685
  return result;
644
686
  }
645
- var _arrayMap = arrayMap$1;
646
- var Symbol$1 = _Symbol, arrayMap = _arrayMap, isArray$1 = isArray_1, isSymbol$2 = isSymbol_1;
647
- var INFINITY$1 = 1 / 0;
687
+ var _arrayMap = arrayMap$2;
688
+ var Symbol$1 = _Symbol, arrayMap$1 = _arrayMap, isArray$3 = isArray_1, isSymbol$2 = isSymbol_1;
689
+ var INFINITY$2 = 1 / 0;
648
690
  var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
649
691
  function baseToString$1(value) {
650
692
  if (typeof value == "string") {
651
693
  return value;
652
694
  }
653
- if (isArray$1(value)) {
654
- return arrayMap(value, baseToString$1) + "";
695
+ if (isArray$3(value)) {
696
+ return arrayMap$1(value, baseToString$1) + "";
655
697
  }
656
698
  if (isSymbol$2(value)) {
657
699
  return symbolToString ? symbolToString.call(value) : "";
658
700
  }
659
701
  var result = value + "";
660
- return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
702
+ return result == "0" && 1 / value == -INFINITY$2 ? "-0" : result;
661
703
  }
662
704
  var _baseToString = baseToString$1;
663
705
  var baseToString = _baseToString;
@@ -665,22 +707,22 @@ function toString$1(value) {
665
707
  return value == null ? "" : baseToString(value);
666
708
  }
667
709
  var toString_1 = toString$1;
668
- var isArray = isArray_1, isKey = _isKey, stringToPath = _stringToPath, toString = toString_1;
710
+ var isArray$2 = isArray_1, isKey = _isKey, stringToPath = _stringToPath, toString = toString_1;
669
711
  function castPath$1(value, object) {
670
- if (isArray(value)) {
712
+ if (isArray$2(value)) {
671
713
  return value;
672
714
  }
673
715
  return isKey(value, object) ? [value] : stringToPath(toString(value));
674
716
  }
675
717
  var _castPath = castPath$1;
676
718
  var isSymbol$1 = isSymbol_1;
677
- var INFINITY = 1 / 0;
719
+ var INFINITY$1 = 1 / 0;
678
720
  function toKey$1(value) {
679
721
  if (typeof value == "string" || isSymbol$1(value)) {
680
722
  return value;
681
723
  }
682
724
  var result = value + "";
683
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
725
+ return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
684
726
  }
685
727
  var _toKey = toKey$1;
686
728
  var castPath = _castPath, toKey = _toKey;
@@ -713,7 +755,7 @@ var TableCellMixin = {
713
755
  }
714
756
  };
715
757
  var Thumbnail_vue_vue_type_style_index_0_scoped_true_lang = "";
716
- const _sfc_main$17 = {
758
+ const _sfc_main$19 = {
717
759
  mixins: [TableCellMixin],
718
760
  computed: {
719
761
  imageSource() {
@@ -730,11 +772,11 @@ const _sfc_main$17 = {
730
772
  }
731
773
  }
732
774
  };
733
- const _hoisted_1$R = { class: "table-image-cell" };
734
- function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
775
+ const _hoisted_1$S = { class: "table-image-cell" };
776
+ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
735
777
  const _component_ux_image = resolveComponent("ux-image");
736
778
  const _component_ux_icon = resolveComponent("ux-icon");
737
- return openBlock(), createElementBlock("td", _hoisted_1$R, [
779
+ return openBlock(), createElementBlock("td", _hoisted_1$S, [
738
780
  $options.type == "image" || $options.type == "video" ? (openBlock(), createElementBlock("div", {
739
781
  key: 0,
740
782
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.clicked(_ctx.value), ["stop", "prevent"])),
@@ -752,9 +794,39 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
752
794
  }))
753
795
  ]);
754
796
  }
755
- var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-246a2688"]]);
797
+ var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-246a2688"]]);
798
+ var Currency_vue_vue_type_style_index_0_scoped_true_lang = "";
799
+ const _sfc_main$18 = {
800
+ mixins: [TableCellMixin],
801
+ computed: {
802
+ string() {
803
+ return this.amount.toFixed(2);
804
+ },
805
+ amount() {
806
+ return Number(parseInt(this.value) / 100);
807
+ },
808
+ credit() {
809
+ return this.amount > 0;
810
+ },
811
+ debit() {
812
+ return this.amount < 0;
813
+ },
814
+ empty() {
815
+ return parseInt(this.value) === 0;
816
+ },
817
+ currency() {
818
+ return this.column.currency || this.row.currency;
819
+ }
820
+ }
821
+ };
822
+ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
823
+ return openBlock(), createElementBlock("td", {
824
+ class: normalizeClass(["table-currency-cell", { credit: $options.credit, empty: $options.empty, debit: $options.debit }])
825
+ }, toDisplayString($options.string), 3);
826
+ }
827
+ var CurrencyCell = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-33a0b926"]]);
756
828
  var Button_vue_vue_type_style_index_0_scoped_true_lang = "";
757
- const _sfc_main$16 = {
829
+ const _sfc_main$17 = {
758
830
  data() {
759
831
  return {
760
832
  processing: false
@@ -778,11 +850,11 @@ const _sfc_main$16 = {
778
850
  }
779
851
  }
780
852
  };
781
- const _hoisted_1$Q = { class: "table-button-cell" };
782
- function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
853
+ const _hoisted_1$R = { class: "table-button-cell" };
854
+ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
783
855
  const _component_ux_icon = resolveComponent("ux-icon");
784
856
  const _component_ux_button = resolveComponent("ux-button");
785
- return openBlock(), createElementBlock("td", _hoisted_1$Q, [
857
+ return openBlock(), createElementBlock("td", _hoisted_1$R, [
786
858
  createVNode(_component_ux_button, {
787
859
  color: $options.button.color,
788
860
  size: $options.button.size,
@@ -803,7 +875,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
803
875
  }, 8, ["color", "size", "loading", "onClick"])
804
876
  ]);
805
877
  }
806
- var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-1c498011"]]);
878
+ var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-1c498011"]]);
807
879
  class LuxonError extends Error {
808
880
  }
809
881
  class InvalidDateTimeError extends LuxonError {
@@ -992,7 +1064,7 @@ function isNumber(o) {
992
1064
  function isInteger(o) {
993
1065
  return typeof o === "number" && o % 1 === 0;
994
1066
  }
995
- function isString(o) {
1067
+ function isString$2(o) {
996
1068
  return typeof o === "string";
997
1069
  }
998
1070
  function isDate(o) {
@@ -1023,13 +1095,13 @@ function bestBy(arr, by, compare) {
1023
1095
  }
1024
1096
  }, null)[1];
1025
1097
  }
1026
- function pick(obj, keys) {
1027
- return keys.reduce((a2, k) => {
1098
+ function pick(obj, keys2) {
1099
+ return keys2.reduce((a2, k) => {
1028
1100
  a2[k] = obj[k];
1029
1101
  return a2;
1030
1102
  }, {});
1031
1103
  }
1032
- function hasOwnProperty(obj, prop) {
1104
+ function hasOwnProperty$3(obj, prop) {
1033
1105
  return Object.prototype.hasOwnProperty.call(obj, prop);
1034
1106
  }
1035
1107
  function integerBetween(thing, bottom, top) {
@@ -1139,7 +1211,7 @@ function asNumber(value) {
1139
1211
  function normalizeObject(obj, normalizer) {
1140
1212
  const normalized = {};
1141
1213
  for (const u2 in obj) {
1142
- if (hasOwnProperty(obj, u2)) {
1214
+ if (hasOwnProperty$3(obj, u2)) {
1143
1215
  const v = obj[u2];
1144
1216
  if (v === void 0 || v === null)
1145
1217
  continue;
@@ -1836,7 +1908,7 @@ function normalizeZone(input, defaultZone2) {
1836
1908
  return defaultZone2;
1837
1909
  } else if (input instanceof Zone) {
1838
1910
  return input;
1839
- } else if (isString(input)) {
1911
+ } else if (isString$2(input)) {
1840
1912
  const lowered = input.toLowerCase();
1841
1913
  if (lowered === "local" || lowered === "system")
1842
1914
  return defaultZone2;
@@ -2230,12 +2302,12 @@ function parse(s2, ...patterns) {
2230
2302
  }
2231
2303
  return [null, null];
2232
2304
  }
2233
- function simpleParse(...keys) {
2305
+ function simpleParse(...keys2) {
2234
2306
  return (match2, cursor) => {
2235
2307
  const ret = {};
2236
2308
  let i2;
2237
- for (i2 = 0; i2 < keys.length; i2++) {
2238
- ret[keys[i2]] = parseInteger(match2[cursor + i2]);
2309
+ for (i2 = 0; i2 < keys2.length; i2++) {
2310
+ ret[keys2[i2]] = parseInteger(match2[cursor + i2]);
2239
2311
  }
2240
2312
  return [ret, null, cursor + i2];
2241
2313
  };
@@ -2683,7 +2755,7 @@ class Duration {
2683
2755
  return this;
2684
2756
  const dur = Duration.fromDurationLike(duration), result = {};
2685
2757
  for (const k of orderedUnits$1) {
2686
- if (hasOwnProperty(dur.values, k) || hasOwnProperty(this.values, k)) {
2758
+ if (hasOwnProperty$3(dur.values, k) || hasOwnProperty$3(this.values, k)) {
2687
2759
  result[k] = dur.get(k) + this.get(k);
2688
2760
  }
2689
2761
  }
@@ -2707,10 +2779,10 @@ class Duration {
2707
2779
  get(unit) {
2708
2780
  return this[Duration.normalizeUnit(unit)];
2709
2781
  }
2710
- set(values) {
2782
+ set(values2) {
2711
2783
  if (!this.isValid)
2712
2784
  return this;
2713
- const mixed = __spreadValues(__spreadValues({}, this.values), normalizeObject(values, Duration.normalizeUnit));
2785
+ const mixed = __spreadValues(__spreadValues({}, this.values), normalizeObject(values2, Duration.normalizeUnit));
2714
2786
  return clone$2(this, { values: mixed });
2715
2787
  }
2716
2788
  reconfigure({ locale, numberingSystem, conversionAccuracy } = {}) {
@@ -3484,7 +3556,7 @@ function match(input, regex2, handlers) {
3484
3556
  const all = {};
3485
3557
  let matchIndex = 1;
3486
3558
  for (const i2 in handlers) {
3487
- if (hasOwnProperty(handlers, i2)) {
3559
+ if (hasOwnProperty$3(handlers, i2)) {
3488
3560
  const h2 = handlers[i2], groups = h2.groups ? h2.groups + 1 : 1;
3489
3561
  if (!h2.literal && h2.token) {
3490
3562
  all[h2.token.val[0]] = h2.deser(matches2.slice(matchIndex, matchIndex + groups));
@@ -3599,7 +3671,7 @@ function explainFromTokens(locale, input, format) {
3599
3671
  return { input, tokens, invalidReason: disqualifyingUnit.invalidReason };
3600
3672
  } else {
3601
3673
  const [regexString, handlers] = buildRegex(units), regex2 = RegExp(regexString, "i"), [rawMatches, matches2] = match(input, regex2, handlers), [result, zone, specificOffset] = matches2 ? dateTimeFromMatches(matches2) : [null, null, void 0];
3602
- if (hasOwnProperty(matches2, "a") && hasOwnProperty(matches2, "H")) {
3674
+ if (hasOwnProperty$3(matches2, "a") && hasOwnProperty$3(matches2, "H")) {
3603
3675
  throw new ConflictingSpecificationError("Can't include meridiem when specifying 24-hour format");
3604
3676
  }
3605
3677
  return { input, tokens, regex: regex2, rawMatches, matches: matches2, result, zone, specificOffset };
@@ -4304,10 +4376,10 @@ class DateTime {
4304
4376
  setLocale(locale) {
4305
4377
  return this.reconfigure({ locale });
4306
4378
  }
4307
- set(values) {
4379
+ set(values2) {
4308
4380
  if (!this.isValid)
4309
4381
  return this;
4310
- const normalized = normalizeObject(values, 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$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;
4311
4383
  if ((containsGregor || containsOrdinal) && definiteWeekDef) {
4312
4384
  throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");
4313
4385
  }
@@ -4637,7 +4709,7 @@ function friendlyDateTime(dateTimeish) {
4637
4709
  }
4638
4710
  }
4639
4711
  var DateCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4640
- const _sfc_main$15 = {
4712
+ const _sfc_main$16 = {
4641
4713
  mixins: [TableCellMixin],
4642
4714
  computed: {
4643
4715
  hasValue() {
@@ -4658,23 +4730,23 @@ const _sfc_main$15 = {
4658
4730
  }
4659
4731
  }
4660
4732
  };
4661
- const _hoisted_1$P = { class: "table-date-cell" };
4733
+ const _hoisted_1$Q = { class: "table-date-cell" };
4662
4734
  const _hoisted_2$I = { key: 0 };
4663
4735
  const _hoisted_3$A = { class: "off" };
4664
4736
  const _hoisted_4$w = { class: "on" };
4665
- const _hoisted_5$n = { class: "spacer" };
4666
- function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
4667
- return openBlock(), createElementBlock("td", _hoisted_1$P, [
4737
+ const _hoisted_5$o = { class: "spacer" };
4738
+ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
4739
+ return openBlock(), createElementBlock("td", _hoisted_1$Q, [
4668
4740
  $options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$I, [
4669
4741
  createElementVNode("span", _hoisted_3$A, toDisplayString($options.readable), 1),
4670
4742
  createElementVNode("span", _hoisted_4$w, toDisplayString($options.timeago), 1),
4671
- createElementVNode("span", _hoisted_5$n, toDisplayString($options.readable), 1)
4743
+ createElementVNode("span", _hoisted_5$o, toDisplayString($options.readable), 1)
4672
4744
  ])) : createCommentVNode("", true)
4673
4745
  ]);
4674
4746
  }
4675
- var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-3687693f"]]);
4747
+ var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-3687693f"]]);
4676
4748
  var BooleanCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4677
- const _sfc_main$14 = {
4749
+ const _sfc_main$15 = {
4678
4750
  mixins: [TableCellMixin],
4679
4751
  computed: {
4680
4752
  boolean() {
@@ -4682,7 +4754,7 @@ const _sfc_main$14 = {
4682
4754
  }
4683
4755
  }
4684
4756
  };
4685
- function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
4757
+ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
4686
4758
  const _component_ux_icon = resolveComponent("ux-icon");
4687
4759
  return openBlock(), createElementBlock("td", {
4688
4760
  class: normalizeClass(["table-boolean-cell", { true: $options.boolean, false: !$options.boolean }])
@@ -4692,9 +4764,9 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
4692
4764
  }, null, 8, ["icon"])
4693
4765
  ], 2);
4694
4766
  }
4695
- var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-27f127ae"]]);
4767
+ var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-27f127ae"]]);
4696
4768
  var SecurityCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4697
- const _sfc_main$13 = {
4769
+ const _sfc_main$14 = {
4698
4770
  mixins: [TableCellMixin],
4699
4771
  computed: {
4700
4772
  public() {
@@ -4705,7 +4777,7 @@ const _sfc_main$13 = {
4705
4777
  }
4706
4778
  }
4707
4779
  };
4708
- function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
4780
+ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
4709
4781
  const _component_ux_icon = resolveComponent("ux-icon");
4710
4782
  return openBlock(), createElementBlock("td", {
4711
4783
  class: normalizeClass(["table-security-cell", $options.security])
@@ -4715,9 +4787,9 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
4715
4787
  }, null, 8, ["icon"])
4716
4788
  ], 2);
4717
4789
  }
4718
- var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-51f8608e"]]);
4790
+ var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-51f8608e"]]);
4719
4791
  var URLCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4720
- const _sfc_main$12 = {
4792
+ const _sfc_main$13 = {
4721
4793
  mixins: [TableCellMixin],
4722
4794
  methods: {
4723
4795
  open() {
@@ -4730,11 +4802,11 @@ const _sfc_main$12 = {
4730
4802
  }
4731
4803
  }
4732
4804
  };
4733
- const _hoisted_1$O = { class: "table-url-cell" };
4805
+ const _hoisted_1$P = { class: "table-url-cell" };
4734
4806
  const _hoisted_2$H = ["href"];
4735
- function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
4807
+ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
4736
4808
  const _component_ux_icon = resolveComponent("ux-icon");
4737
- return openBlock(), createElementBlock("td", _hoisted_1$O, [
4809
+ return openBlock(), createElementBlock("td", _hoisted_1$P, [
4738
4810
  createElementVNode("a", {
4739
4811
  href: $options.href,
4740
4812
  onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
@@ -4748,9 +4820,9 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
4748
4820
  ], 8, _hoisted_2$H)
4749
4821
  ]);
4750
4822
  }
4751
- var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-17cf3a86"]]);
4823
+ var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-17cf3a86"]]);
4752
4824
  var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
4753
- const _sfc_main$11 = {
4825
+ const _sfc_main$12 = {
4754
4826
  props: {
4755
4827
  multi: {
4756
4828
  type: Boolean
@@ -4798,8 +4870,8 @@ const _sfc_main$11 = {
4798
4870
  }
4799
4871
  }
4800
4872
  };
4801
- const _hoisted_1$N = /* @__PURE__ */ createTextVNode(",\xA0");
4802
- function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
4873
+ const _hoisted_1$O = /* @__PURE__ */ createTextVNode(",\xA0");
4874
+ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
4803
4875
  return $options.reference ? (openBlock(), createElementBlock("a", {
4804
4876
  key: 0,
4805
4877
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.clicked($props.value), ["stop", "prevent"]))
@@ -4808,11 +4880,11 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
4808
4880
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
4809
4881
  createTextVNode(toDisplayString($options.renderValue), 1),
4810
4882
  $props.multi && !$props.last ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
4811
- _hoisted_1$N
4883
+ _hoisted_1$O
4812
4884
  ], 64)) : createCommentVNode("", true)
4813
4885
  ], 64));
4814
4886
  }
4815
- var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-255b9ec8"]]);
4887
+ var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-255b9ec8"]]);
4816
4888
  var TableCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4817
4889
  function extract(row, path) {
4818
4890
  if (!row) {
@@ -4837,7 +4909,7 @@ function extract(row, path) {
4837
4909
  return extract(stub, remainder);
4838
4910
  }
4839
4911
  }
4840
- const _sfc_main$10 = {
4912
+ const _sfc_main$11 = {
4841
4913
  data() {
4842
4914
  return {
4843
4915
  component: null
@@ -4850,7 +4922,7 @@ const _sfc_main$10 = {
4850
4922
  const self2 = this;
4851
4923
  let component;
4852
4924
  let cellType = self2.column.type;
4853
- let cellRenderer = self2.column.renderer;
4925
+ let cellRenderer = self2.column.renderer || self2.column.widget;
4854
4926
  if (cellType == "reference") {
4855
4927
  if (self2.column.referenceType === "image") {
4856
4928
  cellRenderer = "thumbnail";
@@ -4873,6 +4945,9 @@ const _sfc_main$10 = {
4873
4945
  case "url":
4874
4946
  component = URLCell;
4875
4947
  break;
4948
+ case "currency":
4949
+ component = CurrencyCell;
4950
+ break;
4876
4951
  case "thumbnail":
4877
4952
  component = ThumbnailCell;
4878
4953
  break;
@@ -4926,20 +5001,20 @@ const _sfc_main$10 = {
4926
5001
  }
4927
5002
  }
4928
5003
  };
4929
- const _hoisted_1$M = {
5004
+ const _hoisted_1$N = {
4930
5005
  key: 1,
4931
5006
  class: "table-cell"
4932
5007
  };
4933
5008
  const _hoisted_2$G = { class: "value" };
4934
5009
  const _hoisted_3$z = { class: "value" };
4935
- function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
5010
+ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
4936
5011
  const _component_value_renderer = resolveComponent("value-renderer");
4937
5012
  return $data.component ? (openBlock(), createBlock(resolveDynamicComponent($data.component), {
4938
5013
  key: 0,
4939
5014
  column: $props.column,
4940
5015
  row: $props.row,
4941
5016
  value: $options.value
4942
- }, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$M, [
5017
+ }, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$N, [
4943
5018
  $options.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
4944
5019
  $options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry, index2) => {
4945
5020
  return openBlock(), createElementBlock("span", _hoisted_2$G, [
@@ -4967,8 +5042,8 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
4967
5042
  }, null, 8, ["type", "value"]))
4968
5043
  ]));
4969
5044
  }
4970
- var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-6c8f100b"]]);
4971
- const _sfc_main$$ = {
5045
+ var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-44c51175"]]);
5046
+ const _sfc_main$10 = {
4972
5047
  components: {
4973
5048
  TableCell
4974
5049
  },
@@ -5023,7 +5098,7 @@ const _sfc_main$$ = {
5023
5098
  }
5024
5099
  }
5025
5100
  };
5026
- function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
5101
+ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
5027
5102
  const _component_ux_checkbox = resolveComponent("ux-checkbox");
5028
5103
  const _component_table_cell = resolveComponent("table-cell");
5029
5104
  const _component_ux_icon = resolveComponent("ux-icon");
@@ -5065,7 +5140,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
5065
5140
  ])
5066
5141
  ], 2);
5067
5142
  }
5068
- var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$]]);
5143
+ var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10]]);
5069
5144
  var RememberScrollMixin = {
5070
5145
  data() {
5071
5146
  return {
@@ -5096,7 +5171,7 @@ var RememberScrollMixin = {
5096
5171
  }
5097
5172
  };
5098
5173
  var Table_vue_vue_type_style_index_0_scoped_true_lang = "";
5099
- const _sfc_main$_ = {
5174
+ const _sfc_main$$ = {
5100
5175
  mixins: [RememberScrollMixin],
5101
5176
  components: {
5102
5177
  TableRow,
@@ -5154,9 +5229,9 @@ const _sfc_main$_ = {
5154
5229
  type: Object,
5155
5230
  default() {
5156
5231
  return {
5157
- key: "title",
5158
- type: "string",
5159
- direction: "asc"
5232
+ key: "meta.created",
5233
+ type: "date",
5234
+ direction: "desc"
5160
5235
  };
5161
5236
  }
5162
5237
  },
@@ -5310,6 +5385,7 @@ const _sfc_main$_ = {
5310
5385
  direction,
5311
5386
  type: column.type
5312
5387
  };
5388
+ this.$emit("");
5313
5389
  },
5314
5390
  clickRow(row) {
5315
5391
  this.$emit("click:row", row);
@@ -5333,7 +5409,7 @@ const _sfc_main$_ = {
5333
5409
  }
5334
5410
  }
5335
5411
  };
5336
- const _hoisted_1$L = { class: "table-wrapper" };
5412
+ const _hoisted_1$M = { class: "table-wrapper" };
5337
5413
  const _hoisted_2$F = {
5338
5414
  class: "table-scroll",
5339
5415
  ref: "scroll"
@@ -5343,14 +5419,14 @@ const _hoisted_3$y = {
5343
5419
  class: "first table-select shrink"
5344
5420
  };
5345
5421
  const _hoisted_4$v = /* @__PURE__ */ createTextVNode(" Select Page ");
5346
- const _hoisted_5$m = /* @__PURE__ */ createTextVNode(" Deselect Page ");
5347
- const _hoisted_6$i = /* @__PURE__ */ createTextVNode(" Deselect All ");
5348
- const _hoisted_7$f = ["onClick"];
5349
- const _hoisted_8$8 = {
5422
+ const _hoisted_5$n = /* @__PURE__ */ createTextVNode(" Deselect Page ");
5423
+ const _hoisted_6$j = /* @__PURE__ */ createTextVNode(" Deselect All ");
5424
+ const _hoisted_7$g = ["onClick"];
5425
+ const _hoisted_8$9 = {
5350
5426
  key: 1,
5351
5427
  class: "last shrink"
5352
5428
  };
5353
- function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
5429
+ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
5354
5430
  const _component_ux_checkbox = resolveComponent("ux-checkbox");
5355
5431
  const _component_ux_list_item = resolveComponent("ux-list-item");
5356
5432
  const _component_ux_list = resolveComponent("ux-list");
@@ -5358,7 +5434,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
5358
5434
  const _component_flex_cell = resolveComponent("flex-cell");
5359
5435
  const _component_flex_row = resolveComponent("flex-row");
5360
5436
  const _component_table_row = resolveComponent("table-row");
5361
- return openBlock(), createElementBlock("div", _hoisted_1$L, [
5437
+ return openBlock(), createElementBlock("div", _hoisted_1$M, [
5362
5438
  createElementVNode("div", _hoisted_2$F, [
5363
5439
  createElementVNode("table", null, [
5364
5440
  createElementVNode("thead", null, [
@@ -5384,7 +5460,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
5384
5460
  onClick: _cache[1] || (_cache[1] = ($event) => $options.deselectPage())
5385
5461
  }, {
5386
5462
  default: withCtx(() => [
5387
- _hoisted_5$m
5463
+ _hoisted_5$n
5388
5464
  ]),
5389
5465
  _: 1
5390
5466
  })) : createCommentVNode("", true),
@@ -5402,7 +5478,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
5402
5478
  onClick: _cache[3] || (_cache[3] = ($event) => $props.deselectAll())
5403
5479
  }, {
5404
5480
  default: withCtx(() => [
5405
- _hoisted_6$i
5481
+ _hoisted_6$j
5406
5482
  ]),
5407
5483
  _: 1
5408
5484
  })) : createCommentVNode("", true)
@@ -5446,9 +5522,9 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
5446
5522
  }),
5447
5523
  _: 2
5448
5524
  }, 1024)
5449
- ], 10, _hoisted_7$f);
5525
+ ], 10, _hoisted_7$g);
5450
5526
  }), 256)),
5451
- $props.enableActions ? (openBlock(), createElementBlock("th", _hoisted_8$8, [
5527
+ $props.enableActions ? (openBlock(), createElementBlock("th", _hoisted_8$9, [
5452
5528
  renderSlot(_ctx.$slots, "corner", {}, void 0, true)
5453
5529
  ])) : createCommentVNode("", true)
5454
5530
  ])
@@ -5474,7 +5550,27 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
5474
5550
  ], 512)
5475
5551
  ]);
5476
5552
  }
5477
- var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-20035b8b"]]);
5553
+ var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-03eb874f"]]);
5554
+ var avatar_vue_vue_type_style_index_0_lang = "";
5555
+ const _sfc_main$_ = {
5556
+ props: {
5557
+ id: {
5558
+ type: [Object, String]
5559
+ }
5560
+ },
5561
+ computed: {
5562
+ stringID() {
5563
+ return this.$sdk.utils.id(this.id);
5564
+ },
5565
+ url() {
5566
+ }
5567
+ }
5568
+ };
5569
+ const _hoisted_1$L = { class: "avatar" };
5570
+ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
5571
+ return openBlock(), createElementBlock("div", _hoisted_1$L);
5572
+ }
5573
+ var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_]]);
5478
5574
  var spinner_vue_vue_type_style_index_0_scoped_true_lang = "";
5479
5575
  const _sfc_main$Z = {
5480
5576
  props: {
@@ -6641,6 +6737,9 @@ var InputMixin = {
6641
6737
  label() {
6642
6738
  return this.field.title;
6643
6739
  },
6740
+ title() {
6741
+ return this.label;
6742
+ },
6644
6743
  plural() {
6645
6744
  return this.field.plural;
6646
6745
  },
@@ -6993,12 +7092,12 @@ const _hoisted_4$u = {
6993
7092
  key: 2,
6994
7093
  class: "ui-select-button"
6995
7094
  };
6996
- const _hoisted_5$l = ["multiple"];
6997
- const _hoisted_6$h = {
7095
+ const _hoisted_5$m = ["multiple"];
7096
+ const _hoisted_6$i = {
6998
7097
  key: 0,
6999
7098
  value: ""
7000
7099
  };
7001
- const _hoisted_7$e = ["value"];
7100
+ const _hoisted_7$f = ["value"];
7002
7101
  function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
7003
7102
  const _component_ux_button = resolveComponent("ux-button");
7004
7103
  return openBlock(), createElementBlock("div", {
@@ -7024,13 +7123,13 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
7024
7123
  multiple: _ctx.multiValue,
7025
7124
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
7026
7125
  }, [
7027
- _ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$h, "None")) : createCommentVNode("", true),
7126
+ _ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$i, "None")) : createCommentVNode("", true),
7028
7127
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
7029
7128
  return openBlock(), createElementBlock("option", {
7030
7129
  value: option2.value
7031
- }, toDisplayString(option2.title), 9, _hoisted_7$e);
7130
+ }, toDisplayString(option2.title), 9, _hoisted_7$f);
7032
7131
  }), 256))
7033
- ], 40, _hoisted_5$l), [
7132
+ ], 40, _hoisted_5$m), [
7034
7133
  [vModelSelect, _ctx.model]
7035
7134
  ])
7036
7135
  ], 2);
@@ -7122,15 +7221,15 @@ const _hoisted_3$w = {
7122
7221
  class: "ux-field-description"
7123
7222
  };
7124
7223
  const _hoisted_4$t = { key: 2 };
7125
- const _hoisted_5$k = /* @__PURE__ */ createTextVNode(" Country Code ");
7126
- const _hoisted_6$g = { key: 0 };
7127
- const _hoisted_7$d = { key: 1 };
7128
- const _hoisted_8$7 = { class: "ux-text-wrap" };
7129
- const _hoisted_9$6 = ["placeholder", "onUpdate:modelValue"];
7224
+ const _hoisted_5$l = /* @__PURE__ */ createTextVNode(" Country Code ");
7225
+ const _hoisted_6$h = { key: 0 };
7226
+ const _hoisted_7$e = { key: 1 };
7227
+ const _hoisted_8$8 = { class: "ux-text-wrap" };
7228
+ const _hoisted_9$7 = ["placeholder", "onUpdate:modelValue"];
7130
7229
  const _hoisted_10$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("option", { value: "" }, "None", -1));
7131
7230
  const _hoisted_11$4 = ["value"];
7132
7231
  const _hoisted_12$4 = { class: "ux-text-wrap" };
7133
- const _hoisted_13$3 = ["placeholder"];
7232
+ const _hoisted_13$4 = ["placeholder"];
7134
7233
  function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
7135
7234
  const _component_ux_button = resolveComponent("ux-button");
7136
7235
  const _component_native_select = resolveComponent("native-select");
@@ -7164,9 +7263,9 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
7164
7263
  createVNode(_component_ux_button, { tag: "a" }, {
7165
7264
  default: withCtx(() => [
7166
7265
  !entry.countryCode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
7167
- _hoisted_5$k
7266
+ _hoisted_5$l
7168
7267
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
7169
- $data.lookup[entry.countryCode] ? (openBlock(), createElementBlock("div", _hoisted_6$g, toDisplayString($data.lookup[entry.countryCode].emoji) + " - " + toDisplayString($data.lookup[entry.countryCode].alpha2), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$d, "Loading"))
7268
+ $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"))
7170
7269
  ], 64))
7171
7270
  ]),
7172
7271
  _: 2
@@ -7179,7 +7278,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
7179
7278
  }, 1024),
7180
7279
  createVNode(_component_flex_cell, null, {
7181
7280
  default: withCtx(() => [
7182
- createElementVNode("div", _hoisted_8$7, [
7281
+ createElementVNode("div", _hoisted_8$8, [
7183
7282
  withDirectives(createElementVNode("input", {
7184
7283
  class: "ux-field-focus ux-text-input-multiple",
7185
7284
  placeholder: $options.actualPlaceholder,
@@ -7188,7 +7287,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
7188
7287
  ref: "input",
7189
7288
  onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
7190
7289
  "onUpdate:modelValue": ($event) => entry.number = $event
7191
- }, null, 40, _hoisted_9$6), [
7290
+ }, null, 40, _hoisted_9$7), [
7192
7291
  [vModelText, entry.number]
7193
7292
  ])
7194
7293
  ])
@@ -7265,7 +7364,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
7265
7364
  ref: "input",
7266
7365
  onKeydown: _cache[5] || (_cache[5] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
7267
7366
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => _ctx.model.number = $event)
7268
- }, null, 40, _hoisted_13$3), [
7367
+ }, null, 40, _hoisted_13$4), [
7269
7368
  [vModelText, _ctx.model.number]
7270
7369
  ])
7271
7370
  ])
@@ -7823,12 +7922,12 @@ const _hoisted_4$s = {
7823
7922
  key: 2,
7824
7923
  class: "ui-select-button"
7825
7924
  };
7826
- const _hoisted_5$j = ["multiple"];
7827
- const _hoisted_6$f = {
7925
+ const _hoisted_5$k = ["multiple"];
7926
+ const _hoisted_6$g = {
7828
7927
  key: 0,
7829
7928
  value: ""
7830
7929
  };
7831
- const _hoisted_7$c = ["value"];
7930
+ const _hoisted_7$d = ["value"];
7832
7931
  function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
7833
7932
  const _component_ux_button = resolveComponent("ux-button");
7834
7933
  return openBlock(), createElementBlock("div", {
@@ -7854,13 +7953,13 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
7854
7953
  multiple: _ctx.multiValue,
7855
7954
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
7856
7955
  }, [
7857
- _ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$f, "None")) : createCommentVNode("", true),
7956
+ _ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$g, "None")) : createCommentVNode("", true),
7858
7957
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
7859
7958
  return openBlock(), createElementBlock("option", {
7860
7959
  value: option2.value
7861
- }, toDisplayString(option2.title), 9, _hoisted_7$c);
7960
+ }, toDisplayString(option2.title), 9, _hoisted_7$d);
7862
7961
  }), 256))
7863
- ], 40, _hoisted_5$j), [
7962
+ ], 40, _hoisted_5$k), [
7864
7963
  [vModelSelect, _ctx.model]
7865
7964
  ])
7866
7965
  ], 2);
@@ -7948,7 +8047,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
7948
8047
  })
7949
8048
  ]);
7950
8049
  }
7951
- var Item = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-a859ba7a"]]);
8050
+ var Item = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-055fac6a"]]);
7952
8051
  /**!
7953
8052
  * Sortable 1.14.0
7954
8053
  * @author RubaXa <trash@rubaxa.org>
@@ -7956,7 +8055,7 @@ var Item = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J],
7956
8055
  * @license MIT
7957
8056
  */
7958
8057
  function ownKeys(object, enumerableOnly) {
7959
- var keys = Object.keys(object);
8058
+ var keys2 = Object.keys(object);
7960
8059
  if (Object.getOwnPropertySymbols) {
7961
8060
  var symbols = Object.getOwnPropertySymbols(object);
7962
8061
  if (enumerableOnly) {
@@ -7964,9 +8063,9 @@ function ownKeys(object, enumerableOnly) {
7964
8063
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
7965
8064
  });
7966
8065
  }
7967
- keys.push.apply(keys, symbols);
8066
+ keys2.push.apply(keys2, symbols);
7968
8067
  }
7969
- return keys;
8068
+ return keys2;
7970
8069
  }
7971
8070
  function _objectSpread2(target) {
7972
8071
  for (var i2 = 1; i2 < arguments.length; i2++) {
@@ -10805,7 +10904,7 @@ const _hoisted_4$r = {
10805
10904
  key: 1,
10806
10905
  class: "items"
10807
10906
  };
10808
- const _hoisted_5$i = /* @__PURE__ */ createTextVNode(" Create ");
10907
+ const _hoisted_5$j = /* @__PURE__ */ createTextVNode(" Create ");
10809
10908
  function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
10810
10909
  const _component_ux_icon = resolveComponent("ux-icon");
10811
10910
  const _component_ux_button = resolveComponent("ux-button");
@@ -10912,7 +11011,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
10912
11011
  onClick: $options.create
10913
11012
  }, {
10914
11013
  default: withCtx(() => [
10915
- _hoisted_5$i,
11014
+ _hoisted_5$j,
10916
11015
  createVNode(_component_ux_icon, {
10917
11016
  right: "",
10918
11017
  icon: "fa-plus"
@@ -11059,12 +11158,12 @@ const _hoisted_4$q = {
11059
11158
  key: 2,
11060
11159
  class: "ui-select-button"
11061
11160
  };
11062
- const _hoisted_5$h = ["multiple"];
11063
- const _hoisted_6$e = {
11161
+ const _hoisted_5$i = ["multiple"];
11162
+ const _hoisted_6$f = {
11064
11163
  key: 0,
11065
11164
  value: ""
11066
11165
  };
11067
- const _hoisted_7$b = ["value"];
11166
+ const _hoisted_7$c = ["value"];
11068
11167
  function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
11069
11168
  const _component_ux_button = resolveComponent("ux-button");
11070
11169
  return openBlock(), createElementBlock("div", {
@@ -11090,13 +11189,13 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
11090
11189
  multiple: _ctx.multiValue,
11091
11190
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
11092
11191
  }, [
11093
- _ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$e, "None")) : createCommentVNode("", true),
11192
+ _ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$f, "None")) : createCommentVNode("", true),
11094
11193
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
11095
11194
  return openBlock(), createElementBlock("option", {
11096
11195
  value: option2.value
11097
- }, toDisplayString(option2.title), 9, _hoisted_7$b);
11196
+ }, toDisplayString(option2.title), 9, _hoisted_7$c);
11098
11197
  }), 256))
11099
- ], 40, _hoisted_5$h), [
11198
+ ], 40, _hoisted_5$i), [
11100
11199
  [vModelSelect, _ctx.model]
11101
11200
  ])
11102
11201
  ], 2);
@@ -11193,20 +11292,20 @@ const _hoisted_3$s = {
11193
11292
  class: "ux-field-description"
11194
11293
  };
11195
11294
  const _hoisted_4$p = { key: 2 };
11196
- const _hoisted_5$g = {
11295
+ const _hoisted_5$h = {
11197
11296
  key: 0,
11198
11297
  class: "ux-text-prefix"
11199
11298
  };
11200
- const _hoisted_6$d = ["onBlur", "onUpdate:modelValue"];
11201
- const _hoisted_7$a = {
11299
+ const _hoisted_6$e = ["onBlur", "onUpdate:modelValue"];
11300
+ const _hoisted_7$b = {
11202
11301
  key: 1,
11203
11302
  class: "ux-text-suffix"
11204
11303
  };
11205
- const _hoisted_8$6 = {
11304
+ const _hoisted_8$7 = {
11206
11305
  key: 0,
11207
11306
  class: "ux-text-prefix"
11208
11307
  };
11209
- const _hoisted_9$5 = {
11308
+ const _hoisted_9$6 = {
11210
11309
  key: 1,
11211
11310
  class: "ux-text-suffix"
11212
11311
  };
@@ -11233,7 +11332,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
11233
11332
  createElementVNode("div", {
11234
11333
  class: normalizeClass(["ux-text-wrap", { prefixed: $options.prefix, suffixed: $options.suffix }])
11235
11334
  }, [
11236
- $options.prefix ? (openBlock(), createElementBlock("span", _hoisted_5$g, toDisplayString($options.prefix), 1)) : createCommentVNode("", true),
11335
+ $options.prefix ? (openBlock(), createElementBlock("span", _hoisted_5$h, toDisplayString($options.prefix), 1)) : createCommentVNode("", true),
11237
11336
  withDirectives((openBlock(), createElementBlock("input", {
11238
11337
  class: "ux-field-focus ux-text-input-multiple",
11239
11338
  ref_for: true,
@@ -11244,7 +11343,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
11244
11343
  onBlur: ($event) => $options.update($event, index2),
11245
11344
  "onUpdate:modelValue": ($event) => $options.proxy[index2] = $event,
11246
11345
  onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.touch && _ctx.touch(...args))
11247
- }, null, 40, _hoisted_6$d)), [
11346
+ }, null, 40, _hoisted_6$e)), [
11248
11347
  [
11249
11348
  vModelText,
11250
11349
  $options.proxy[index2],
@@ -11252,7 +11351,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
11252
11351
  { lazy: true }
11253
11352
  ]
11254
11353
  ]),
11255
- $options.suffix ? (openBlock(), createElementBlock("span", _hoisted_7$a, toDisplayString($options.suffix), 1)) : createCommentVNode("", true)
11354
+ $options.suffix ? (openBlock(), createElementBlock("span", _hoisted_7$b, toDisplayString($options.suffix), 1)) : createCommentVNode("", true)
11256
11355
  ], 2)
11257
11356
  ]),
11258
11357
  _: 2
@@ -11297,7 +11396,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
11297
11396
  key: 3,
11298
11397
  class: normalizeClass(["ux-text-wrap", { prefixed: $options.prefix, suffixed: $options.suffix }])
11299
11398
  }, [
11300
- $options.prefix ? (openBlock(), createElementBlock("span", _hoisted_8$6, toDisplayString($options.prefix), 1)) : createCommentVNode("", true),
11399
+ $options.prefix ? (openBlock(), createElementBlock("span", _hoisted_8$7, toDisplayString($options.prefix), 1)) : createCommentVNode("", true),
11301
11400
  withDirectives((openBlock(), createElementBlock("input", {
11302
11401
  class: "ux-field-focus ux-text-input-single",
11303
11402
  ref: "input",
@@ -11314,7 +11413,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
11314
11413
  { lazy: true }
11315
11414
  ]
11316
11415
  ]),
11317
- $options.suffix ? (openBlock(), createElementBlock("span", _hoisted_9$5, toDisplayString($options.suffix), 1)) : createCommentVNode("", true)
11416
+ $options.suffix ? (openBlock(), createElementBlock("span", _hoisted_9$6, toDisplayString($options.suffix), 1)) : createCommentVNode("", true)
11318
11417
  ], 2))
11319
11418
  ], 64);
11320
11419
  }
@@ -11396,14 +11495,14 @@ const _hoisted_3$r = {
11396
11495
  class: "ux-field-description"
11397
11496
  };
11398
11497
  const _hoisted_4$o = { key: 2 };
11399
- const _hoisted_5$f = { class: "ux-text-wrap" };
11400
- const _hoisted_6$c = {
11498
+ const _hoisted_5$g = { class: "ux-text-wrap" };
11499
+ const _hoisted_6$d = {
11401
11500
  key: 0,
11402
11501
  class: "ux-text-prefix"
11403
11502
  };
11404
- const _hoisted_7$9 = ["type", "placeholder", "onUpdate:modelValue"];
11405
- const _hoisted_8$5 = ["type", "placeholder", "onUpdate:modelValue"];
11406
- const _hoisted_9$4 = {
11503
+ const _hoisted_7$a = ["type", "placeholder", "onUpdate:modelValue"];
11504
+ const _hoisted_8$6 = ["type", "placeholder", "onUpdate:modelValue"];
11505
+ const _hoisted_9$5 = {
11407
11506
  key: 3,
11408
11507
  class: "ux-text-suffix"
11409
11508
  };
@@ -11416,8 +11515,8 @@ const _hoisted_11$3 = {
11416
11515
  class: "ux-text-prefix"
11417
11516
  };
11418
11517
  const _hoisted_12$3 = ["type", "placeholder"];
11419
- const _hoisted_13$2 = ["type", "placeholder"];
11420
- const _hoisted_14$2 = {
11518
+ const _hoisted_13$3 = ["type", "placeholder"];
11519
+ const _hoisted_14$3 = {
11421
11520
  key: 3,
11422
11521
  class: "ux-text-suffix"
11423
11522
  };
@@ -11441,8 +11540,8 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
11441
11540
  default: withCtx(() => [
11442
11541
  createVNode(_component_flex_cell, null, {
11443
11542
  default: withCtx(() => [
11444
- createElementVNode("div", _hoisted_5$f, [
11445
- _ctx.prefix ? (openBlock(), createElementBlock("span", _hoisted_6$c, toDisplayString(_ctx.prefix), 1)) : createCommentVNode("", true),
11543
+ createElementVNode("div", _hoisted_5$g, [
11544
+ _ctx.prefix ? (openBlock(), createElementBlock("span", _hoisted_6$d, toDisplayString(_ctx.prefix), 1)) : createCommentVNode("", true),
11446
11545
  $options.lazy ? withDirectives((openBlock(), createElementBlock("input", {
11447
11546
  key: 1,
11448
11547
  type: $options.inputType,
@@ -11453,7 +11552,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
11453
11552
  ref: "input",
11454
11553
  onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
11455
11554
  "onUpdate:modelValue": ($event) => _ctx.model[index2] = $event
11456
- }, null, 40, _hoisted_7$9)), [
11555
+ }, null, 40, _hoisted_7$a)), [
11457
11556
  [
11458
11557
  vModelDynamic,
11459
11558
  _ctx.model[index2],
@@ -11471,10 +11570,10 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
11471
11570
  ref: "input",
11472
11571
  onKeydown: _cache[3] || (_cache[3] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
11473
11572
  "onUpdate:modelValue": ($event) => _ctx.model[index2] = $event
11474
- }, null, 40, _hoisted_8$5)), [
11573
+ }, null, 40, _hoisted_8$6)), [
11475
11574
  [vModelDynamic, _ctx.model[index2]]
11476
11575
  ]) : createCommentVNode("", true),
11477
- _ctx.suffix ? (openBlock(), createElementBlock("span", _hoisted_9$4, toDisplayString(_ctx.suffix), 1)) : createCommentVNode("", true)
11576
+ _ctx.suffix ? (openBlock(), createElementBlock("span", _hoisted_9$5, toDisplayString(_ctx.suffix), 1)) : createCommentVNode("", true)
11478
11577
  ])
11479
11578
  ]),
11480
11579
  _: 2
@@ -11541,10 +11640,10 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
11541
11640
  placeholder: $options.actualPlaceholder,
11542
11641
  onFocus: _cache[7] || (_cache[7] = (...args) => _ctx.touch && _ctx.touch(...args)),
11543
11642
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => _ctx.model = $event)
11544
- }, null, 40, _hoisted_13$2)), [
11643
+ }, null, 40, _hoisted_13$3)), [
11545
11644
  [vModelDynamic, _ctx.model]
11546
11645
  ]) : createCommentVNode("", true),
11547
- _ctx.suffix ? (openBlock(), createElementBlock("span", _hoisted_14$2, toDisplayString(_ctx.suffix), 1)) : createCommentVNode("", true)
11646
+ _ctx.suffix ? (openBlock(), createElementBlock("span", _hoisted_14$3, toDisplayString(_ctx.suffix), 1)) : createCommentVNode("", true)
11548
11647
  ]))
11549
11648
  ], 64);
11550
11649
  }
@@ -11576,7 +11675,7 @@ const _hoisted_3$q = {
11576
11675
  class: "ux-field-description"
11577
11676
  };
11578
11677
  const _hoisted_4$n = { key: 2 };
11579
- const _hoisted_5$e = ["onUpdate:modelValue"];
11678
+ const _hoisted_5$f = ["onUpdate:modelValue"];
11580
11679
  function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
11581
11680
  const _component_flex_cell = resolveComponent("flex-cell");
11582
11681
  const _component_ux_icon = resolveComponent("ux-icon");
@@ -11604,7 +11703,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
11604
11703
  ref: "input",
11605
11704
  "onUpdate:modelValue": ($event) => _ctx.model[index2] = $event,
11606
11705
  class: "ux-textarea ux-field-focus ux-text-area-multiple"
11607
- }, null, 40, _hoisted_5$e), [
11706
+ }, null, 40, _hoisted_5$f), [
11608
11707
  [vModelText, _ctx.model[index2]]
11609
11708
  ])
11610
11709
  ]),
@@ -11724,7 +11823,7 @@ const _hoisted_3$p = {
11724
11823
  class: "ux-field-description"
11725
11824
  };
11726
11825
  const _hoisted_4$m = { key: 2 };
11727
- const _hoisted_5$d = ["onUpdate:modelValue"];
11826
+ const _hoisted_5$e = ["onUpdate:modelValue"];
11728
11827
  function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
11729
11828
  const _component_flex_cell = resolveComponent("flex-cell");
11730
11829
  const _component_ux_icon = resolveComponent("ux-icon");
@@ -11753,7 +11852,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
11753
11852
  ref: "input",
11754
11853
  onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
11755
11854
  "onUpdate:modelValue": ($event) => $options.model[index2] = $event
11756
- }, null, 40, _hoisted_5$d), [
11855
+ }, null, 40, _hoisted_5$e), [
11757
11856
  [vModelText, $options.model[index2]]
11758
11857
  ])
11759
11858
  ]),
@@ -12371,16 +12470,16 @@ const _hoisted_1$r = {
12371
12470
  const _hoisted_2$o = { key: 0 };
12372
12471
  const _hoisted_3$l = { key: 1 };
12373
12472
  const _hoisted_4$k = /* @__PURE__ */ createTextVNode(" And ");
12374
- const _hoisted_5$c = { key: 2 };
12375
- const _hoisted_6$b = { key: 3 };
12376
- const _hoisted_7$8 = /* @__PURE__ */ createTextVNode(" And ");
12377
- const _hoisted_8$4 = { key: 4 };
12378
- const _hoisted_9$3 = { key: 5 };
12473
+ const _hoisted_5$d = { key: 2 };
12474
+ const _hoisted_6$c = { key: 3 };
12475
+ const _hoisted_7$9 = /* @__PURE__ */ createTextVNode(" And ");
12476
+ const _hoisted_8$5 = { key: 4 };
12477
+ const _hoisted_9$4 = { key: 5 };
12379
12478
  const _hoisted_10$3 = { key: 6 };
12380
12479
  const _hoisted_11$2 = { key: 7 };
12381
12480
  const _hoisted_12$2 = { key: 8 };
12382
- const _hoisted_13$1 = { key: 9 };
12383
- const _hoisted_14$1 = { key: 10 };
12481
+ const _hoisted_13$2 = { key: 9 };
12482
+ const _hoisted_14$2 = { key: 10 };
12384
12483
  function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
12385
12484
  const _component_native_select = resolveComponent("native-select");
12386
12485
  const _component_flex_cell = resolveComponent("flex-cell");
@@ -12446,7 +12545,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
12446
12545
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.model.value2 = $event)
12447
12546
  }, null, 8, ["field", "modelValue"])
12448
12547
  ])) : createCommentVNode("", true),
12449
- $options.inputType == "daterelative" ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
12548
+ $options.inputType == "daterelative" ? (openBlock(), createElementBlock("div", _hoisted_5$d, [
12450
12549
  createVNode(_component_flex_row, null, {
12451
12550
  default: withCtx(() => [
12452
12551
  createVNode(_component_flex_cell, { style: { "width": "80px" } }, {
@@ -12473,27 +12572,27 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
12473
12572
  _: 1
12474
12573
  })
12475
12574
  ])) : createCommentVNode("", true),
12476
- $options.inputType == "daterange" ? (openBlock(), createElementBlock("div", _hoisted_6$b, [
12575
+ $options.inputType == "daterange" ? (openBlock(), createElementBlock("div", _hoisted_6$c, [
12477
12576
  createVNode(_component_date_field, {
12478
12577
  field: $options.dateField,
12479
12578
  modelValue: $data.model.value,
12480
12579
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $data.model.value = $event)
12481
12580
  }, null, 8, ["field", "modelValue"]),
12482
- _hoisted_7$8,
12581
+ _hoisted_7$9,
12483
12582
  createVNode(_component_date_field, {
12484
12583
  field: $options.dateField,
12485
12584
  modelValue: $data.model.value2,
12486
12585
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $data.model.value2 = $event)
12487
12586
  }, null, 8, ["field", "modelValue"])
12488
12587
  ])) : createCommentVNode("", true),
12489
- $options.inputType == "date" ? (openBlock(), createElementBlock("div", _hoisted_8$4, [
12588
+ $options.inputType == "date" ? (openBlock(), createElementBlock("div", _hoisted_8$5, [
12490
12589
  createVNode(_component_date_field, {
12491
12590
  field: $options.dateField,
12492
12591
  modelValue: $data.model.value,
12493
12592
  "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $data.model.value = $event)
12494
12593
  }, null, 8, ["field", "modelValue"])
12495
12594
  ])) : createCommentVNode("", true),
12496
- $options.inputType == "reference" ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
12595
+ $options.inputType == "reference" ? (openBlock(), createElementBlock("div", _hoisted_9$4, [
12497
12596
  createVNode(_component_content_select, {
12498
12597
  field: $options.singleReferenceField,
12499
12598
  modelValue: $data.model.value,
@@ -12516,14 +12615,14 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
12516
12615
  ])
12517
12616
  ])) : createCommentVNode("", true),
12518
12617
  $options.inputType == "none" ? (openBlock(), createElementBlock("div", _hoisted_12$2)) : createCommentVNode("", true),
12519
- $options.inputType == "number" ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
12618
+ $options.inputType == "number" ? (openBlock(), createElementBlock("div", _hoisted_13$2, [
12520
12619
  createVNode(_component_text_field, {
12521
12620
  field: $options.normalField,
12522
12621
  modelValue: $data.model.value,
12523
12622
  "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => $data.model.value = $event)
12524
12623
  }, null, 8, ["field", "modelValue"])
12525
12624
  ])) : createCommentVNode("", true),
12526
- $options.inputType == "normal" ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
12625
+ $options.inputType == "normal" ? (openBlock(), createElementBlock("div", _hoisted_14$2, [
12527
12626
  $options.hasOptions ? (openBlock(), createBlock(_component_native_select, {
12528
12627
  key: 0,
12529
12628
  modelValue: $data.model.value,
@@ -12588,7 +12687,7 @@ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
12588
12687
  var reIsBinary = /^0b[01]+$/i;
12589
12688
  var reIsOctal = /^0o[0-7]+$/i;
12590
12689
  var freeParseInt = parseInt;
12591
- function toNumber$1(value) {
12690
+ function toNumber$2(value) {
12592
12691
  if (typeof value == "number") {
12593
12692
  return value;
12594
12693
  }
@@ -12606,20 +12705,20 @@ function toNumber$1(value) {
12606
12705
  var isBinary = reIsBinary.test(value);
12607
12706
  return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
12608
12707
  }
12609
- var toNumber_1 = toNumber$1;
12610
- var isObject = isObject_1, now = now_1, toNumber = toNumber_1;
12708
+ var toNumber_1 = toNumber$2;
12709
+ var isObject = isObject_1, now = now_1, toNumber$1 = toNumber_1;
12611
12710
  var FUNC_ERROR_TEXT = "Expected a function";
12612
- var nativeMax = Math.max, nativeMin = Math.min;
12711
+ var nativeMax$1 = Math.max, nativeMin = Math.min;
12613
12712
  function debounce(func, wait, options) {
12614
12713
  var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
12615
12714
  if (typeof func != "function") {
12616
12715
  throw new TypeError(FUNC_ERROR_TEXT);
12617
12716
  }
12618
- wait = toNumber(wait) || 0;
12717
+ wait = toNumber$1(wait) || 0;
12619
12718
  if (isObject(options)) {
12620
12719
  leading = !!options.leading;
12621
12720
  maxing = "maxWait" in options;
12622
- maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
12721
+ maxWait = maxing ? nativeMax$1(toNumber$1(options.maxWait) || 0, wait) : maxWait;
12623
12722
  trailing = "trailing" in options ? !!options.trailing : trailing;
12624
12723
  }
12625
12724
  function invokeFunc(time) {
@@ -12841,10 +12940,10 @@ const _hoisted_1$q = {
12841
12940
  const _hoisted_2$n = { class: "top" };
12842
12941
  const _hoisted_3$k = { class: "summary" };
12843
12942
  const _hoisted_4$j = /* @__PURE__ */ createTextVNode(" Match ");
12844
- const _hoisted_5$b = /* @__PURE__ */ createTextVNode(" of the following conditions ");
12845
- const _hoisted_6$a = /* @__PURE__ */ createElementVNode("span", { class: "line" }, null, -1);
12846
- const _hoisted_7$7 = { class: "operator" };
12847
- const _hoisted_8$3 = /* @__PURE__ */ createTextVNode(" Add Condition ");
12943
+ const _hoisted_5$c = /* @__PURE__ */ createTextVNode(" of the following conditions ");
12944
+ const _hoisted_6$b = /* @__PURE__ */ createElementVNode("span", { class: "line" }, null, -1);
12945
+ const _hoisted_7$8 = { class: "operator" };
12946
+ const _hoisted_8$4 = /* @__PURE__ */ createTextVNode(" Add Condition ");
12848
12947
  function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
12849
12948
  const _component_native_select = resolveComponent("native-select");
12850
12949
  const _component_flex_cell = resolveComponent("flex-cell");
@@ -12870,7 +12969,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
12870
12969
  ]),
12871
12970
  _: 1
12872
12971
  }, 8, ["modelValue", "field"]),
12873
- _hoisted_5$b
12972
+ _hoisted_5$c
12874
12973
  ])
12875
12974
  ]),
12876
12975
  _: 1
@@ -12909,8 +13008,8 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
12909
13008
  shrink: ""
12910
13009
  }, {
12911
13010
  default: withCtx(() => [
12912
- _hoisted_6$a,
12913
- createElementVNode("div", _hoisted_7$7, toDisplayString($data.model.operator), 1)
13011
+ _hoisted_6$b,
13012
+ createElementVNode("div", _hoisted_7$8, toDisplayString($data.model.operator), 1)
12914
13013
  ]),
12915
13014
  _: 2
12916
13015
  }, 1032, ["class"])) : createCommentVNode("", true),
@@ -12935,7 +13034,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
12935
13034
  onClick: $options.addCondition
12936
13035
  }, {
12937
13036
  default: withCtx(() => [
12938
- _hoisted_8$3,
13037
+ _hoisted_8$4,
12939
13038
  createVNode(_component_ux_icon, {
12940
13039
  icon: "fa-plus",
12941
13040
  right: ""
@@ -13055,8 +13154,8 @@ const _hoisted_2$m = {
13055
13154
  };
13056
13155
  const _hoisted_3$j = { class: "summary" };
13057
13156
  const _hoisted_4$i = /* @__PURE__ */ createTextVNode(" Match ");
13058
- const _hoisted_5$a = /* @__PURE__ */ createTextVNode(" of the following rules ");
13059
- const _hoisted_6$9 = /* @__PURE__ */ createTextVNode("Add Filter Rule");
13157
+ const _hoisted_5$b = /* @__PURE__ */ createTextVNode(" of the following rules ");
13158
+ const _hoisted_6$a = /* @__PURE__ */ createTextVNode("Add Filter Rule");
13060
13159
  function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
13061
13160
  const _component_native_select = resolveComponent("native-select");
13062
13161
  const _component_filter_rule = resolveComponent("filter-rule");
@@ -13081,7 +13180,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
13081
13180
  ]),
13082
13181
  _: 1
13083
13182
  }, 8, ["modelValue", "field"]),
13084
- _hoisted_5$a
13183
+ _hoisted_5$b
13085
13184
  ])
13086
13185
  ])) : createCommentVNode("", true),
13087
13186
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.model.filters, (rule, index2) => {
@@ -13100,7 +13199,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
13100
13199
  onClick: _cache[1] || (_cache[1] = ($event) => $options.addRule())
13101
13200
  }, {
13102
13201
  default: withCtx(() => [
13103
- _hoisted_6$9
13202
+ _hoisted_6$a
13104
13203
  ]),
13105
13204
  _: 1
13106
13205
  })
@@ -13566,9 +13665,9 @@ const _hoisted_4$g = {
13566
13665
  key: 2,
13567
13666
  class: "files"
13568
13667
  };
13569
- const _hoisted_5$9 = { class: "size" };
13570
- const _hoisted_6$8 = /* @__PURE__ */ createTextVNode("Select Files");
13571
- const _hoisted_7$6 = /* @__PURE__ */ createTextVNode("Select File");
13668
+ const _hoisted_5$a = { class: "size" };
13669
+ const _hoisted_6$9 = /* @__PURE__ */ createTextVNode("Select Files");
13670
+ const _hoisted_7$7 = /* @__PURE__ */ createTextVNode("Select File");
13572
13671
  function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
13573
13672
  const _component_progress_bar = resolveComponent("progress-bar");
13574
13673
  const _component_flex_cell = resolveComponent("flex-cell");
@@ -13593,7 +13692,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
13593
13692
  createVNode(_component_flex_cell, null, {
13594
13693
  default: withCtx(() => [
13595
13694
  createElementVNode("strong", null, toDisplayString(file.name), 1),
13596
- createElementVNode("div", _hoisted_5$9, toDisplayString($options.filesize(file.size)), 1),
13695
+ createElementVNode("div", _hoisted_5$a, toDisplayString($options.filesize(file.size)), 1),
13597
13696
  createVNode(_component_progress_bar, {
13598
13697
  value: file.progress
13599
13698
  }, null, 8, ["value"])
@@ -13629,7 +13728,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
13629
13728
  default: withCtx(() => [
13630
13729
  createVNode(_component_ux_button, null, {
13631
13730
  default: withCtx(() => [
13632
- _hoisted_6$8
13731
+ _hoisted_6$9
13633
13732
  ]),
13634
13733
  _: 1
13635
13734
  })
@@ -13643,7 +13742,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
13643
13742
  default: withCtx(() => [
13644
13743
  createVNode(_component_ux_button, null, {
13645
13744
  default: withCtx(() => [
13646
- _hoisted_7$6
13745
+ _hoisted_7$7
13647
13746
  ]),
13648
13747
  _: 1
13649
13748
  })
@@ -13716,7 +13815,6 @@ const _sfc_main$s = {
13716
13815
  return `${this.label} ${index2 + 1}`;
13717
13816
  },
13718
13817
  enterPress(event) {
13719
- console.log("EVENT", event);
13720
13818
  if (this.canAddValue) {
13721
13819
  event.stopImmediatePropagation();
13722
13820
  event.preventDefault();
@@ -13748,13 +13846,30 @@ const _hoisted_1$k = {
13748
13846
  };
13749
13847
  const _hoisted_2$h = {
13750
13848
  key: 0,
13751
- class: "ux-field-title"
13849
+ class: "ux-group-title"
13752
13850
  };
13753
13851
  const _hoisted_3$f = {
13754
13852
  key: 0,
13755
- class: "ux-required-marker"
13853
+ class: "ux-field-title"
13756
13854
  };
13757
13855
  const _hoisted_4$f = {
13856
+ key: 0,
13857
+ class: "ux-required-marker"
13858
+ };
13859
+ const _hoisted_5$9 = {
13860
+ key: 1,
13861
+ class: "ux-field-description"
13862
+ };
13863
+ const _hoisted_6$8 = {
13864
+ key: 0,
13865
+ class: "ux-single-group"
13866
+ };
13867
+ const _hoisted_7$6 = { class: "ux-group-title" };
13868
+ const _hoisted_8$3 = {
13869
+ key: 0,
13870
+ class: "ux-field-title"
13871
+ };
13872
+ const _hoisted_9$3 = {
13758
13873
  key: 1,
13759
13874
  class: "ux-field-description"
13760
13875
  };
@@ -13769,13 +13884,13 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
13769
13884
  const _component_ux_panel = resolveComponent("ux-panel");
13770
13885
  const _component_draggable = resolveComponent("draggable");
13771
13886
  return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
13772
- $options.showLabel ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
13773
- $options.showLabel ? (openBlock(), createElementBlock("label", _hoisted_2$h, [
13774
- createTextVNode(toDisplayString(_ctx.plural) + " ", 1),
13775
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$f, "*")) : createCommentVNode("", true)
13887
+ $options.showLabel ? (openBlock(), createElementBlock("div", _hoisted_2$h, [
13888
+ $options.showLabel ? (openBlock(), createElementBlock("label", _hoisted_3$f, [
13889
+ createTextVNode(toDisplayString(_ctx.plural || _ctx.title) + " ", 1),
13890
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_4$f, "*")) : createCommentVNode("", true)
13776
13891
  ])) : createCommentVNode("", true),
13777
- _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_4$f, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
13778
- ], 64)) : createCommentVNode("", true),
13892
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_5$9, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
13893
+ ])) : createCommentVNode("", true),
13779
13894
  $options.reorderable ? (openBlock(), createBlock(_component_draggable, {
13780
13895
  key: 1,
13781
13896
  modelValue: _ctx.model,
@@ -14085,21 +14200,49 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
14085
14200
  ]),
14086
14201
  _: 1
14087
14202
  }))
14088
- ], 64)) : (openBlock(), createBlock(_component_ux_form, {
14089
- key: 1,
14090
- ref: "form",
14091
- trail: $props.trail,
14092
- submission: $props.submission,
14093
- "onForm:state": $options.stateChange,
14094
- parentModel: _ctx.parentModel,
14095
- modelValue: _ctx.model,
14096
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => _ctx.model = $event),
14097
- flex: $options.sameLine,
14098
- fields: _ctx.field.fields
14099
- }, null, 8, ["trail", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"]))
14203
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
14204
+ $options.showLabel ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
14205
+ createElementVNode("div", _hoisted_7$6, [
14206
+ $options.showLabel ? (openBlock(), createElementBlock("label", _hoisted_8$3, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
14207
+ _ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_9$3, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
14208
+ ]),
14209
+ createVNode(_component_ux_panel, null, {
14210
+ default: withCtx(() => [
14211
+ createVNode(_component_ux_panel_body, null, {
14212
+ default: withCtx(() => [
14213
+ createVNode(_component_ux_form, {
14214
+ ref: "form",
14215
+ trail: $props.trail,
14216
+ submission: $props.submission,
14217
+ "onForm:state": $options.stateChange,
14218
+ parentModel: _ctx.parentModel,
14219
+ modelValue: _ctx.model,
14220
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => _ctx.model = $event),
14221
+ flex: $options.sameLine,
14222
+ fields: _ctx.field.fields
14223
+ }, null, 8, ["trail", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"])
14224
+ ]),
14225
+ _: 1
14226
+ })
14227
+ ]),
14228
+ _: 1
14229
+ })
14230
+ ])) : (openBlock(), createBlock(_component_ux_form, {
14231
+ key: 1,
14232
+ ref: "form",
14233
+ trail: $props.trail,
14234
+ submission: $props.submission,
14235
+ "onForm:state": $options.stateChange,
14236
+ parentModel: _ctx.parentModel,
14237
+ modelValue: _ctx.model,
14238
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => _ctx.model = $event),
14239
+ flex: $options.sameLine,
14240
+ fields: _ctx.field.fields
14241
+ }, null, 8, ["trail", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"]))
14242
+ ], 64))
14100
14243
  ], 64));
14101
14244
  }
14102
- var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__scopeId", "data-v-5188e4ee"]]);
14245
+ var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__scopeId", "data-v-500e8025"]]);
14103
14246
  const _sfc_main$r = {
14104
14247
  props: {
14105
14248
  option: {
@@ -14501,9 +14644,9 @@ const _hoisted_9$2 = { class: "ux-text-wrap prefixed" };
14501
14644
  const _hoisted_10$2 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Value", -1));
14502
14645
  const _hoisted_11$1 = ["onFocus", "onUpdate:modelValue"];
14503
14646
  const _hoisted_12$1 = ["onFocus", "onUpdate:modelValue"];
14504
- const _hoisted_13 = { class: "ux-text-wrap prefixed" };
14505
- const _hoisted_14 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
14506
- const _hoisted_15 = { class: "ux-text-wrap prefixed" };
14647
+ const _hoisted_13$1 = { class: "ux-text-wrap prefixed" };
14648
+ const _hoisted_14$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
14649
+ const _hoisted_15$1 = { class: "ux-text-wrap prefixed" };
14507
14650
  const _hoisted_16 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Value", -1));
14508
14651
  function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
14509
14652
  const _component_flex_cell = resolveComponent("flex-cell");
@@ -14644,8 +14787,8 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
14644
14787
  default: withCtx(() => [
14645
14788
  createVNode(_component_flex_cell, null, {
14646
14789
  default: withCtx(() => [
14647
- createElementVNode("div", _hoisted_13, [
14648
- _hoisted_14,
14790
+ createElementVNode("div", _hoisted_13$1, [
14791
+ _hoisted_14$1,
14649
14792
  $options.lazy ? withDirectives((openBlock(), createElementBlock("input", {
14650
14793
  key: 0,
14651
14794
  class: "ux-field-focus ux-text-input-multiple",
@@ -14683,7 +14826,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
14683
14826
  }),
14684
14827
  createVNode(_component_flex_cell, null, {
14685
14828
  default: withCtx(() => [
14686
- createElementVNode("div", _hoisted_15, [
14829
+ createElementVNode("div", _hoisted_15$1, [
14687
14830
  _hoisted_16,
14688
14831
  $options.lazy ? withDirectives((openBlock(), createElementBlock("input", {
14689
14832
  key: 0,
@@ -16012,7 +16155,302 @@ function a(r, e) {
16012
16155
  return;
16013
16156
  }
16014
16157
  }
16158
+ function baseFindIndex$1(array, predicate, fromIndex, fromRight) {
16159
+ var length = array.length, index2 = fromIndex + (fromRight ? 1 : -1);
16160
+ while (fromRight ? index2-- : ++index2 < length) {
16161
+ if (predicate(array[index2], index2, array)) {
16162
+ return index2;
16163
+ }
16164
+ }
16165
+ return -1;
16166
+ }
16167
+ var _baseFindIndex = baseFindIndex$1;
16168
+ function baseIsNaN$1(value) {
16169
+ return value !== value;
16170
+ }
16171
+ var _baseIsNaN = baseIsNaN$1;
16172
+ function strictIndexOf$1(array, value, fromIndex) {
16173
+ var index2 = fromIndex - 1, length = array.length;
16174
+ while (++index2 < length) {
16175
+ if (array[index2] === value) {
16176
+ return index2;
16177
+ }
16178
+ }
16179
+ return -1;
16180
+ }
16181
+ var _strictIndexOf = strictIndexOf$1;
16182
+ var baseFindIndex = _baseFindIndex, baseIsNaN = _baseIsNaN, strictIndexOf = _strictIndexOf;
16183
+ function baseIndexOf$1(array, value, fromIndex) {
16184
+ return value === value ? strictIndexOf(array, value, fromIndex) : baseFindIndex(array, baseIsNaN, fromIndex);
16185
+ }
16186
+ var _baseIndexOf = baseIndexOf$1;
16187
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
16188
+ function isLength$2(value) {
16189
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1;
16190
+ }
16191
+ var isLength_1 = isLength$2;
16192
+ var isFunction = isFunction_1, isLength$1 = isLength_1;
16193
+ function isArrayLike$2(value) {
16194
+ return value != null && isLength$1(value.length) && !isFunction(value);
16195
+ }
16196
+ var isArrayLike_1 = isArrayLike$2;
16197
+ var baseGetTag$2 = _baseGetTag, isArray$1 = isArray_1, isObjectLike$3 = isObjectLike_1;
16198
+ var stringTag$1 = "[object String]";
16199
+ function isString$1(value) {
16200
+ return typeof value == "string" || !isArray$1(value) && isObjectLike$3(value) && baseGetTag$2(value) == stringTag$1;
16201
+ }
16202
+ var isString_1 = isString$1;
16203
+ var toNumber = toNumber_1;
16204
+ var INFINITY = 1 / 0, MAX_INTEGER = 17976931348623157e292;
16205
+ function toFinite$1(value) {
16206
+ if (!value) {
16207
+ return value === 0 ? value : 0;
16208
+ }
16209
+ value = toNumber(value);
16210
+ if (value === INFINITY || value === -INFINITY) {
16211
+ var sign = value < 0 ? -1 : 1;
16212
+ return sign * MAX_INTEGER;
16213
+ }
16214
+ return value === value ? value : 0;
16215
+ }
16216
+ var toFinite_1 = toFinite$1;
16217
+ var toFinite = toFinite_1;
16218
+ function toInteger$1(value) {
16219
+ var result = toFinite(value), remainder = result % 1;
16220
+ return result === result ? remainder ? result - remainder : result : 0;
16221
+ }
16222
+ var toInteger_1 = toInteger$1;
16223
+ var arrayMap = _arrayMap;
16224
+ function baseValues$1(object, props2) {
16225
+ return arrayMap(props2, function(key) {
16226
+ return object[key];
16227
+ });
16228
+ }
16229
+ var _baseValues = baseValues$1;
16230
+ function baseTimes$1(n2, iteratee) {
16231
+ var index2 = -1, result = Array(n2);
16232
+ while (++index2 < n2) {
16233
+ result[index2] = iteratee(index2);
16234
+ }
16235
+ return result;
16236
+ }
16237
+ var _baseTimes = baseTimes$1;
16238
+ var baseGetTag$1 = _baseGetTag, isObjectLike$2 = isObjectLike_1;
16239
+ var argsTag$1 = "[object Arguments]";
16240
+ function baseIsArguments$1(value) {
16241
+ return isObjectLike$2(value) && baseGetTag$1(value) == argsTag$1;
16242
+ }
16243
+ var _baseIsArguments = baseIsArguments$1;
16244
+ var baseIsArguments = _baseIsArguments, isObjectLike$1 = isObjectLike_1;
16245
+ var objectProto$3 = Object.prototype;
16246
+ var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
16247
+ var propertyIsEnumerable = objectProto$3.propertyIsEnumerable;
16248
+ var isArguments$1 = baseIsArguments(function() {
16249
+ return arguments;
16250
+ }()) ? baseIsArguments : function(value) {
16251
+ return isObjectLike$1(value) && hasOwnProperty$2.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
16252
+ };
16253
+ var isArguments_1 = isArguments$1;
16254
+ var isBuffer$1 = { exports: {} };
16255
+ function stubFalse() {
16256
+ return false;
16257
+ }
16258
+ var stubFalse_1 = stubFalse;
16259
+ (function(module, exports) {
16260
+ var root2 = _root, stubFalse2 = stubFalse_1;
16261
+ var freeExports = exports && !exports.nodeType && exports;
16262
+ var freeModule = freeExports && true && module && !module.nodeType && module;
16263
+ var moduleExports = freeModule && freeModule.exports === freeExports;
16264
+ var Buffer2 = moduleExports ? root2.Buffer : void 0;
16265
+ var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0;
16266
+ var isBuffer2 = nativeIsBuffer || stubFalse2;
16267
+ module.exports = isBuffer2;
16268
+ })(isBuffer$1, isBuffer$1.exports);
16269
+ var MAX_SAFE_INTEGER = 9007199254740991;
16270
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
16271
+ function isIndex$1(value, length) {
16272
+ var type = typeof value;
16273
+ length = length == null ? MAX_SAFE_INTEGER : length;
16274
+ return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
16275
+ }
16276
+ var _isIndex = isIndex$1;
16277
+ var baseGetTag = _baseGetTag, isLength = isLength_1, isObjectLike = isObjectLike_1;
16278
+ var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", weakMapTag = "[object WeakMap]";
16279
+ var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
16280
+ var typedArrayTags = {};
16281
+ typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
16282
+ typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
16283
+ function baseIsTypedArray$1(value) {
16284
+ return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
16285
+ }
16286
+ var _baseIsTypedArray = baseIsTypedArray$1;
16287
+ function baseUnary$1(func) {
16288
+ return function(value) {
16289
+ return func(value);
16290
+ };
16291
+ }
16292
+ var _baseUnary = baseUnary$1;
16293
+ var _nodeUtil = { exports: {} };
16294
+ (function(module, exports) {
16295
+ var freeGlobal2 = _freeGlobal;
16296
+ var freeExports = exports && !exports.nodeType && exports;
16297
+ var freeModule = freeExports && true && module && !module.nodeType && module;
16298
+ var moduleExports = freeModule && freeModule.exports === freeExports;
16299
+ var freeProcess = moduleExports && freeGlobal2.process;
16300
+ var nodeUtil2 = function() {
16301
+ try {
16302
+ var types = freeModule && freeModule.require && freeModule.require("util").types;
16303
+ if (types) {
16304
+ return types;
16305
+ }
16306
+ return freeProcess && freeProcess.binding && freeProcess.binding("util");
16307
+ } catch (e) {
16308
+ }
16309
+ }();
16310
+ module.exports = nodeUtil2;
16311
+ })(_nodeUtil, _nodeUtil.exports);
16312
+ var baseIsTypedArray = _baseIsTypedArray, baseUnary = _baseUnary, nodeUtil = _nodeUtil.exports;
16313
+ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
16314
+ var isTypedArray$1 = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
16315
+ var isTypedArray_1 = isTypedArray$1;
16316
+ var baseTimes = _baseTimes, isArguments = isArguments_1, isArray = isArray_1, isBuffer = isBuffer$1.exports, isIndex = _isIndex, isTypedArray = isTypedArray_1;
16317
+ var objectProto$2 = Object.prototype;
16318
+ var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
16319
+ function arrayLikeKeys$1(value, inherited) {
16320
+ var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
16321
+ for (var key in value) {
16322
+ if ((inherited || hasOwnProperty$1.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) {
16323
+ result.push(key);
16324
+ }
16325
+ }
16326
+ return result;
16327
+ }
16328
+ var _arrayLikeKeys = arrayLikeKeys$1;
16329
+ var objectProto$1 = Object.prototype;
16330
+ function isPrototype$1(value) {
16331
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$1;
16332
+ return value === proto;
16333
+ }
16334
+ var _isPrototype = isPrototype$1;
16335
+ function overArg$1(func, transform) {
16336
+ return function(arg) {
16337
+ return func(transform(arg));
16338
+ };
16339
+ }
16340
+ var _overArg = overArg$1;
16341
+ var overArg = _overArg;
16342
+ var nativeKeys$1 = overArg(Object.keys, Object);
16343
+ var _nativeKeys = nativeKeys$1;
16344
+ var isPrototype = _isPrototype, nativeKeys = _nativeKeys;
16345
+ var objectProto = Object.prototype;
16346
+ var hasOwnProperty = objectProto.hasOwnProperty;
16347
+ function baseKeys$1(object) {
16348
+ if (!isPrototype(object)) {
16349
+ return nativeKeys(object);
16350
+ }
16351
+ var result = [];
16352
+ for (var key in Object(object)) {
16353
+ if (hasOwnProperty.call(object, key) && key != "constructor") {
16354
+ result.push(key);
16355
+ }
16356
+ }
16357
+ return result;
16358
+ }
16359
+ var _baseKeys = baseKeys$1;
16360
+ var arrayLikeKeys = _arrayLikeKeys, baseKeys = _baseKeys, isArrayLike$1 = isArrayLike_1;
16361
+ function keys$1(object) {
16362
+ return isArrayLike$1(object) ? arrayLikeKeys(object) : baseKeys(object);
16363
+ }
16364
+ var keys_1 = keys$1;
16365
+ var baseValues = _baseValues, keys = keys_1;
16366
+ function values$1(object) {
16367
+ return object == null ? [] : baseValues(object, keys(object));
16368
+ }
16369
+ var values_1 = values$1;
16370
+ var baseIndexOf = _baseIndexOf, isArrayLike = isArrayLike_1, isString = isString_1, toInteger = toInteger_1, values = values_1;
16371
+ var nativeMax = Math.max;
16372
+ function includes(collection, value, fromIndex, guard) {
16373
+ collection = isArrayLike(collection) ? collection : values(collection);
16374
+ fromIndex = fromIndex && !guard ? toInteger(fromIndex) : 0;
16375
+ var length = collection.length;
16376
+ if (fromIndex < 0) {
16377
+ fromIndex = nativeMax(length + fromIndex, 0);
16378
+ }
16379
+ return isString(collection) ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 : !!length && baseIndexOf(collection, value, fromIndex) > -1;
16380
+ }
16381
+ var includes_1 = includes;
16015
16382
  const service = {};
16383
+ function arrayFilter(array, key, matchValue, operator) {
16384
+ if (!array) {
16385
+ return [];
16386
+ }
16387
+ if (!Array.isArray(array)) {
16388
+ console.error("array.filter value was not provided as array", { input: array });
16389
+ return [];
16390
+ }
16391
+ return array.filter(function(object) {
16392
+ const extractedValue = get_1(object, key);
16393
+ let isCorrect;
16394
+ switch (operator) {
16395
+ case ">":
16396
+ isCorrect = extractedValue > matchValue;
16397
+ break;
16398
+ case "<":
16399
+ isCorrect = extractedValue < matchValue;
16400
+ break;
16401
+ case ">=":
16402
+ isCorrect = extractedValue >= matchValue;
16403
+ break;
16404
+ case "<=":
16405
+ isCorrect = extractedValue <= matchValue;
16406
+ break;
16407
+ case "in":
16408
+ isCorrect = includes_1(extractedValue, matchValue);
16409
+ break;
16410
+ default:
16411
+ if (matchValue === void 0) {
16412
+ isCorrect = extractedValue;
16413
+ } else {
16414
+ isCorrect = extractedValue == matchValue;
16415
+ }
16416
+ break;
16417
+ }
16418
+ return isCorrect;
16419
+ });
16420
+ }
16421
+ function arraySum(array) {
16422
+ return array.reduce(function(a2, b) {
16423
+ return a2 + b;
16424
+ }, 0);
16425
+ }
16426
+ function arrayExtract(array, key, flat, unique, options) {
16427
+ if (!array) {
16428
+ return [];
16429
+ }
16430
+ options = options || {};
16431
+ options.flat = flat;
16432
+ options.unique = unique;
16433
+ if (!Array.isArray(array)) {
16434
+ console.error("array.filter value was not provided as array", { input: array });
16435
+ return [];
16436
+ }
16437
+ let results = array.reduce(function(memo, input) {
16438
+ const extractedValue = get_1(input, key);
16439
+ const isNull = !extractedValue && extractedValue !== false && extractedValue !== 0;
16440
+ if (options.excludeNull && isNull) {
16441
+ return memo;
16442
+ }
16443
+ memo.push(extractedValue);
16444
+ return memo;
16445
+ }, []);
16446
+ if (options.unique) {
16447
+ results = [...new Set(results)];
16448
+ }
16449
+ if (options.flat) {
16450
+ results = results.flat();
16451
+ }
16452
+ return results;
16453
+ }
16016
16454
  service.evaluateExpression = function(expression, context) {
16017
16455
  if (typeof expression == "function") {
16018
16456
  return expression(context);
@@ -16025,6 +16463,11 @@ service.evaluateExpression = function(expression, context) {
16025
16463
  Boolean,
16026
16464
  parseInt,
16027
16465
  parseFloat,
16466
+ array: {
16467
+ filter: arrayFilter,
16468
+ extract: arrayExtract,
16469
+ sum: arraySum
16470
+ },
16028
16471
  create(Class, ...rest) {
16029
16472
  return new Class(...rest);
16030
16473
  }
@@ -16036,9 +16479,10 @@ service.evaluateExpression = function(expression, context) {
16036
16479
  ast = exprParse(expression);
16037
16480
  result = a(ast, context);
16038
16481
  } catch (err) {
16482
+ console.log("There was an error evaluating your expression", { expression, error: err });
16039
16483
  } finally {
16040
- return result;
16041
16484
  }
16485
+ return result;
16042
16486
  };
16043
16487
  function parseBoolean(value) {
16044
16488
  switch (String(value).toLowerCase()) {
@@ -16258,18 +16702,6 @@ function getDefaultValue(fieldData, currentValue) {
16258
16702
  return output;
16259
16703
  }
16260
16704
  var field_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
16261
- function hasExpression(key) {
16262
- return function() {
16263
- var self2 = this;
16264
- if (!self2.expressions) {
16265
- return;
16266
- }
16267
- let expression = self2.expressions[key];
16268
- if (expression) {
16269
- return true;
16270
- }
16271
- };
16272
- }
16273
16705
  function computedExpression(key) {
16274
16706
  return function() {
16275
16707
  var self2 = this;
@@ -16536,6 +16968,9 @@ const _sfc_main$h = {
16536
16968
  if (this.getExpressionReferenceType) {
16537
16969
  actual = Object.assign({}, actual, { referenceType: this.getExpressionReferenceType });
16538
16970
  }
16971
+ if (this.getExpressionVisualHide) {
16972
+ actual = Object.assign({}, actual, { visualHide: this.getExpressionVisualHide });
16973
+ }
16539
16974
  if (this.getExpressionWidgetType) {
16540
16975
  actual = Object.assign({}, actual, { widget: this.getExpressionWidgetType });
16541
16976
  }
@@ -16597,7 +17032,7 @@ const _sfc_main$h = {
16597
17032
  getExpressionOptions: computedExpression("options"),
16598
17033
  getExpressionSyntax: computedExpression("syntax"),
16599
17034
  getExpressionCurrency: computedExpression("currency"),
16600
- hasExpressionDefaultValue: hasExpression("defaultValue"),
17035
+ getExpressionVisualHide: computedExpression("visualHide"),
16601
17036
  expressions() {
16602
17037
  return this.field.expressions;
16603
17038
  },
@@ -16607,7 +17042,7 @@ const _sfc_main$h = {
16607
17042
  const context = {
16608
17043
  this: this.model,
16609
17044
  model: this.model,
16610
- data: this.parentModel,
17045
+ data: this.parentModel || this.model,
16611
17046
  additional: __spreadValues({}, additionalContext)
16612
17047
  };
16613
17048
  return context;
@@ -16989,7 +17424,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
16989
17424
  $options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$c, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
16990
17425
  ], 34)) : createCommentVNode("", true);
16991
17426
  }
16992
- var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-86ad7a7a"]]);
17427
+ var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-04b49e9e"]]);
16993
17428
  var form_vue_vue_type_style_index_0_scoped_true_lang = "";
16994
17429
  const _sfc_main$g = {
16995
17430
  props: {
@@ -17756,6 +18191,9 @@ const _sfc_main$c = {
17756
18191
  };
17757
18192
  },
17758
18193
  methods: {
18194
+ formatCurrency(val) {
18195
+ return `${this.$sdk.utils.formatCurrency(val, this.field.currency)}`.toUpperCase();
18196
+ },
17759
18197
  cleanInput(val) {
17760
18198
  return val;
17761
18199
  },
@@ -17923,17 +18361,20 @@ const _sfc_main$c = {
17923
18361
  }
17924
18362
  };
17925
18363
  const _hoisted_1$8 = { class: "ux-field-title" };
17926
- const _hoisted_2$7 = ["innerHTML"];
17927
- const _hoisted_3$6 = ["innerHTML"];
17928
- const _hoisted_4$6 = { key: 1 };
17929
- const _hoisted_5$1 = { key: 1 };
17930
- const _hoisted_6$1 = ["href"];
18364
+ const _hoisted_2$7 = { class: "currency" };
18365
+ const _hoisted_3$6 = { key: 1 };
18366
+ const _hoisted_4$6 = { class: "currency" };
18367
+ const _hoisted_5$1 = ["innerHTML"];
18368
+ const _hoisted_6$1 = ["innerHTML"];
17931
18369
  const _hoisted_7$1 = { key: 1 };
17932
- const _hoisted_8 = ["href"];
18370
+ const _hoisted_8 = { key: 1 };
17933
18371
  const _hoisted_9 = ["href"];
17934
18372
  const _hoisted_10 = { key: 1 };
17935
18373
  const _hoisted_11 = ["href"];
17936
- const _hoisted_12 = { key: 1 };
18374
+ const _hoisted_12 = ["href"];
18375
+ const _hoisted_13 = { key: 1 };
18376
+ const _hoisted_14 = ["href"];
18377
+ const _hoisted_15 = { key: 1 };
17937
18378
  function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
17938
18379
  const _component_field_group = resolveComponent("field-group");
17939
18380
  const _component_item = resolveComponent("item");
@@ -17965,7 +18406,17 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
17965
18406
  parentModel: $props.parentModel,
17966
18407
  modelValue: $options.fieldModel,
17967
18408
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $options.fieldModel = $event)
17968
- }, null, 8, ["submission", "field", "parentModel", "modelValue"])) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
18409
+ }, null, 8, ["submission", "field", "parentModel", "modelValue"])) : $options.widget === "currency" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
18410
+ $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
18411
+ return openBlock(), createElementBlock("div", null, [
18412
+ createTextVNode(toDisplayString($options.formatCurrency(value)) + " ", 1),
18413
+ createElementVNode("span", _hoisted_2$7, toDisplayString($props.field.currency), 1)
18414
+ ]);
18415
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_3$6, [
18416
+ createTextVNode(toDisplayString($options.formatCurrency($options.fieldModel)) + " ", 1),
18417
+ createElementVNode("span", _hoisted_4$6, toDisplayString($props.field.currency), 1)
18418
+ ]))
18419
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
17969
18420
  $options.type === "reference" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
17970
18421
  $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (item, index2) => {
17971
18422
  return openBlock(), createBlock(_component_item, {
@@ -17981,53 +18432,53 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
17981
18432
  ], 64)) : createCommentVNode("", true),
17982
18433
  $options.type == "string" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
17983
18434
  $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
17984
- return openBlock(), createElementBlock("div", { innerHTML: value }, null, 8, _hoisted_2$7);
18435
+ return openBlock(), createElementBlock("div", { innerHTML: value }, null, 8, _hoisted_5$1);
17985
18436
  }), 256)) : (openBlock(), createElementBlock("div", {
17986
18437
  key: 1,
17987
18438
  innerHTML: $options.fieldModel
17988
- }, null, 8, _hoisted_3$6))
18439
+ }, null, 8, _hoisted_6$1))
17989
18440
  ], 64)) : createCommentVNode("", true),
17990
18441
  $options.type == "boolean" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
17991
18442
  $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
17992
18443
  return openBlock(), createElementBlock("div", null, toDisplayString(!!value), 1);
17993
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$6, toDisplayString(!!$options.fieldModel), 1))
18444
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_7$1, toDisplayString(!!$options.fieldModel), 1))
17994
18445
  ], 64)) : createCommentVNode("", true),
17995
18446
  $options.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
17996
18447
  $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
17997
18448
  return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
17998
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_5$1, toDisplayString($options.fieldModel), 1))
18449
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_8, toDisplayString($options.fieldModel), 1))
17999
18450
  ], 64)) : createCommentVNode("", true),
18000
18451
  $options.type == "email" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
18001
18452
  $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
18002
18453
  return openBlock(), createElementBlock("div", null, [
18003
18454
  createElementVNode("a", {
18004
18455
  href: `mailto:${value}`
18005
- }, toDisplayString(value), 9, _hoisted_6$1)
18456
+ }, toDisplayString(value), 9, _hoisted_9)
18006
18457
  ]);
18007
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_7$1, [
18458
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_10, [
18008
18459
  createElementVNode("a", {
18009
18460
  href: `mailto:${$options.fieldModel}`
18010
- }, toDisplayString($options.fieldModel), 9, _hoisted_8)
18461
+ }, toDisplayString($options.fieldModel), 9, _hoisted_11)
18011
18462
  ]))
18012
18463
  ], 64)) : createCommentVNode("", true),
18013
18464
  $options.type == "url" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
18014
18465
  $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
18015
18466
  return openBlock(), createElementBlock("div", null, [
18016
- createElementVNode("a", { href: value }, toDisplayString(value), 9, _hoisted_9)
18467
+ createElementVNode("a", { href: value }, toDisplayString(value), 9, _hoisted_12)
18017
18468
  ]);
18018
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_10, [
18019
- createElementVNode("a", { href: $options.fieldModel }, toDisplayString($options.fieldModel), 9, _hoisted_11)
18469
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_13, [
18470
+ createElementVNode("a", { href: $options.fieldModel }, toDisplayString($options.fieldModel), 9, _hoisted_14)
18020
18471
  ]))
18021
18472
  ], 64)) : createCommentVNode("", true),
18022
18473
  $options.isNumber ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
18023
18474
  $options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
18024
18475
  return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
18025
- }), 256)) : (openBlock(), createElementBlock("div", _hoisted_12, toDisplayString($options.fieldModel), 1))
18476
+ }), 256)) : (openBlock(), createElementBlock("div", _hoisted_15, toDisplayString($options.fieldModel), 1))
18026
18477
  ], 64)) : createCommentVNode("", true)
18027
18478
  ], 64))
18028
18479
  ], 2)) : createCommentVNode("", true);
18029
18480
  }
18030
- var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-3ba53078"]]);
18481
+ var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-240bc28f"]]);
18031
18482
  var render_vue_vue_type_style_index_0_scoped_true_lang = "";
18032
18483
  const _sfc_main$b = {
18033
18484
  props: {
@@ -18656,22 +19107,21 @@ const _sfc_main$9 = {
18656
19107
  },
18657
19108
  async created() {
18658
19109
  var self2 = this;
18659
- await Promise.all([
18660
- new Promise(async function(resolve, reject) {
18661
- var glossary = await self2.$sdk.content.glossary({ hash: true });
18662
- var definition = glossary[self2.type];
18663
- self2.definition = definition;
18664
- if (!definition) {
18665
- return reject();
18666
- }
18667
- resolve();
18668
- }),
18669
- new Promise(async function(resolve, reject) {
18670
- var dataSource = await self2.load();
18671
- self2.dataSource = dataSource;
18672
- resolve();
18673
- })
18674
- ]);
19110
+ await new Promise(async function(resolve, reject) {
19111
+ var glossary = await self2.$sdk.content.glossary({ hash: true });
19112
+ var definition = glossary[self2.type];
19113
+ self2.definition = definition;
19114
+ if (!definition) {
19115
+ return reject();
19116
+ }
19117
+ resolve();
19118
+ });
19119
+ self2.sort = self2.defaultSort;
19120
+ await new Promise(async function(resolve, reject) {
19121
+ var dataSource = await self2.load();
19122
+ self2.dataSource = dataSource;
19123
+ resolve();
19124
+ });
18675
19125
  },
18676
19126
  watch: {
18677
19127
  keywords(k) {
@@ -18739,12 +19189,25 @@ const _sfc_main$9 = {
18739
19189
  },
18740
19190
  defaultSort() {
18741
19191
  var _a;
18742
- var defaultSort = ((_a = this.definition) == null ? void 0 : _a.defaultSort) || {
19192
+ var defaultSort = (_a = this.definition) == null ? void 0 : _a.defaultSort;
19193
+ if (defaultSort) {
19194
+ return defaultSort;
19195
+ }
19196
+ defaultSort = {
18743
19197
  key: "title",
18744
19198
  direction: "asc",
18745
19199
  type: "string"
18746
19200
  };
18747
19201
  switch (this.basicType) {
19202
+ case "profile":
19203
+ case "persona":
19204
+ case "user":
19205
+ defaultSort = {
19206
+ key: "lastName",
19207
+ direction: "asc",
19208
+ type: "string"
19209
+ };
19210
+ break;
18748
19211
  case "email":
18749
19212
  case "notification":
18750
19213
  case "transaction":
@@ -18858,7 +19321,7 @@ const _sfc_main$9 = {
18858
19321
  selectFields() {
18859
19322
  const self2 = this;
18860
19323
  var fields = self2.columns.map(function(column) {
18861
- return column.path || column.key;
19324
+ return [column.path || column.key, ...column.select || []];
18862
19325
  }).flat().filter(Boolean).map(function(string) {
18863
19326
  return string.split("[]").join("");
18864
19327
  });
@@ -18918,6 +19381,7 @@ const _sfc_main$9 = {
18918
19381
  },
18919
19382
  loadCriteria() {
18920
19383
  var self2 = this;
19384
+ console.log("Load Criteria now", self2.sort);
18921
19385
  var sort2 = self2.sort || self2.defaultSort;
18922
19386
  var search = self2.keywords;
18923
19387
  var select = self2.selectFields;
@@ -19089,7 +19553,7 @@ const _sfc_main$9 = {
19089
19553
  };
19090
19554
  }
19091
19555
  };
19092
- const _withScopeId$1 = (n2) => (pushScopeId("data-v-044b04e3"), n2 = n2(), popScopeId(), n2);
19556
+ const _withScopeId$1 = (n2) => (pushScopeId("data-v-7a05893b"), n2 = n2(), popScopeId(), n2);
19093
19557
  const _hoisted_1$7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
19094
19558
  const _hoisted_2$6 = { key: 0 };
19095
19559
  const _hoisted_3$5 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
@@ -19279,7 +19743,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
19279
19743
  _: 3
19280
19744
  })) : createCommentVNode("", true);
19281
19745
  }
19282
- var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-044b04e3"]]);
19746
+ var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-7a05893b"]]);
19283
19747
  var ScopeItem_vue_vue_type_style_index_0_scoped_true_lang = "";
19284
19748
  const _sfc_main$8 = {
19285
19749
  props: {
@@ -20372,6 +20836,7 @@ const defaultComponents = {
20372
20836
  UxLink: UXLink,
20373
20837
  UxTabset: UXTabset,
20374
20838
  UxTab: UXTab,
20839
+ Avatar,
20375
20840
  Spinner,
20376
20841
  ProgressBar,
20377
20842
  UxModal
@@ -20445,5 +20910,5 @@ const QikUI = {
20445
20910
  }
20446
20911
  }
20447
20912
  };
20448
- export { CodeEditor, ContentBrowser, Daterange as DateRange, device as Device, FileDrop, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikUI, RememberScrollMixin, ScopeSelect, ScopeSelectButton, Search, Selection, Spinner, UXButton, UXCheckbox, UXForm, UXFormField, UXIcon, UXImage, UXLink, UXList, UXListItem, UXMenu, UXMenuList, UXRender, UXRenderField, UXSubmissionForm, UXSwitch, UXTab, NativeTable as UXTable, UXTabset, UxConfirmModal, UxContentModal, UxModal, UxOptionsModal, UxPromptModal, UxScopeModal };
20913
+ export { Avatar, CodeEditor, ContentBrowser, Daterange as DateRange, device as Device, FileDrop, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikUI, RememberScrollMixin, ScopeSelect, ScopeSelectButton, Search, Selection, Spinner, UXButton, UXCheckbox, UXForm, UXFormField, UXIcon, UXImage, UXLink, UXList, UXListItem, UXMenu, UXMenuList, UXRender, UXRenderField, UXSubmissionForm, UXSwitch, UXTab, NativeTable as UXTable, UXTabset, UxConfirmModal, UxContentModal, UxModal, UxOptionsModal, UxPromptModal, UxScopeModal };
20449
20914
  //# sourceMappingURL=lib.es.js.map