@qikdev/vue-ui 0.1.34 → 0.1.37
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 +1108 -782
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +3 -3
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -32,7 +32,7 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
import { openBlock, createElementBlock, renderSlot, resolveComponent, createBlock, withCtx, createVNode, Fragment, renderList, normalizeClass, toDisplayString, withDirectives, resolveDynamicComponent, vShow, pushScopeId, popScopeId, createElementVNode, normalizeStyle, createCommentVNode, Teleport, createTextVNode, vModelSelect, withKeys, withModifiers, vModelText, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, vModelCheckbox, mergeProps, toHandlers, reactive, watch } from "vue";
|
|
34
34
|
import { EventDispatcher } from "@qikdev/sdk";
|
|
35
|
-
const version$1 = "0.1.
|
|
35
|
+
const version$1 = "0.1.37";
|
|
36
36
|
var flexColumn_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
37
37
|
var _export_sfc = (sfc, props2) => {
|
|
38
38
|
const target = sfc.__vccOpts || sfc;
|
|
@@ -41,104 +41,104 @@ var _export_sfc = (sfc, props2) => {
|
|
|
41
41
|
}
|
|
42
42
|
return target;
|
|
43
43
|
};
|
|
44
|
+
const _sfc_main$19 = {};
|
|
45
|
+
const _hoisted_1$X = { class: "flex-column" };
|
|
46
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
47
|
+
return openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
48
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
49
|
+
]);
|
|
50
|
+
}
|
|
51
|
+
var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-203ea86f"]]);
|
|
52
|
+
var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
53
|
+
const _sfc_main$18 = {};
|
|
54
|
+
const _hoisted_1$W = { class: "flex-column-body" };
|
|
55
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
56
|
+
return openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
57
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
58
|
+
]);
|
|
59
|
+
}
|
|
60
|
+
var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-64850355"]]);
|
|
61
|
+
var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
62
|
+
const _sfc_main$17 = {};
|
|
63
|
+
const _hoisted_1$V = { class: "flex-column-header" };
|
|
64
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
65
|
+
return openBlock(), createElementBlock("div", _hoisted_1$V, [
|
|
66
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
67
|
+
]);
|
|
68
|
+
}
|
|
69
|
+
var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-10b28f00"]]);
|
|
70
|
+
var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
44
71
|
const _sfc_main$16 = {};
|
|
45
|
-
const _hoisted_1$U = { class: "flex-column" };
|
|
72
|
+
const _hoisted_1$U = { class: "flex-column-footer" };
|
|
46
73
|
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
47
74
|
return openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
48
75
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
49
76
|
]);
|
|
50
77
|
}
|
|
51
|
-
var
|
|
52
|
-
var
|
|
78
|
+
var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-68216a72"]]);
|
|
79
|
+
var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
53
80
|
const _sfc_main$15 = {};
|
|
54
|
-
const _hoisted_1$T = { class: "flex-
|
|
81
|
+
const _hoisted_1$T = { class: "flex-cell" };
|
|
55
82
|
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
56
83
|
return openBlock(), createElementBlock("div", _hoisted_1$T, [
|
|
57
84
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
58
85
|
]);
|
|
59
86
|
}
|
|
60
|
-
var
|
|
61
|
-
var
|
|
87
|
+
var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-644bb279"]]);
|
|
88
|
+
var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
62
89
|
const _sfc_main$14 = {};
|
|
63
|
-
const _hoisted_1$S = { class: "flex-
|
|
90
|
+
const _hoisted_1$S = { class: "flex-row" };
|
|
64
91
|
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
65
92
|
return openBlock(), createElementBlock("div", _hoisted_1$S, [
|
|
66
93
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
67
94
|
]);
|
|
68
95
|
}
|
|
69
|
-
var
|
|
70
|
-
var
|
|
96
|
+
var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-5b76ad1f"]]);
|
|
97
|
+
var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
71
98
|
const _sfc_main$13 = {};
|
|
72
|
-
const _hoisted_1$R = { class: "flex-
|
|
99
|
+
const _hoisted_1$R = { class: "flex-spacer" };
|
|
73
100
|
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
74
|
-
return openBlock(), createElementBlock("div", _hoisted_1$R
|
|
75
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
76
|
-
]);
|
|
101
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R);
|
|
77
102
|
}
|
|
78
|
-
var
|
|
79
|
-
var
|
|
103
|
+
var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-35b15579"]]);
|
|
104
|
+
var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
80
105
|
const _sfc_main$12 = {};
|
|
81
|
-
const _hoisted_1$Q = { class: "
|
|
106
|
+
const _hoisted_1$Q = { class: "panel" };
|
|
82
107
|
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83
108
|
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
84
109
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
85
110
|
]);
|
|
86
111
|
}
|
|
87
|
-
var
|
|
88
|
-
var
|
|
112
|
+
var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-50ae77fc"]]);
|
|
113
|
+
var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89
114
|
const _sfc_main$11 = {};
|
|
90
|
-
const _hoisted_1$P = { class: "
|
|
115
|
+
const _hoisted_1$P = { class: "panel-body" };
|
|
91
116
|
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
92
117
|
return openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
93
118
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
94
119
|
]);
|
|
95
120
|
}
|
|
96
|
-
var
|
|
97
|
-
var
|
|
121
|
+
var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-c82dca76"]]);
|
|
122
|
+
var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
98
123
|
const _sfc_main$10 = {};
|
|
99
|
-
const _hoisted_1$O = { class: "
|
|
124
|
+
const _hoisted_1$O = { class: "panel-header" };
|
|
100
125
|
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
101
|
-
return openBlock(), createElementBlock("div", _hoisted_1$O
|
|
102
|
-
}
|
|
103
|
-
var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-35b15579"]]);
|
|
104
|
-
var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
105
|
-
const _sfc_main$$ = {};
|
|
106
|
-
const _hoisted_1$N = { class: "panel" };
|
|
107
|
-
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
108
|
-
return openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
109
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
110
|
-
]);
|
|
111
|
-
}
|
|
112
|
-
var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-50ae77fc"]]);
|
|
113
|
-
var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
114
|
-
const _sfc_main$_ = {};
|
|
115
|
-
const _hoisted_1$M = { class: "panel-body" };
|
|
116
|
-
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
117
|
-
return openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
118
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
119
|
-
]);
|
|
120
|
-
}
|
|
121
|
-
var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-c82dca76"]]);
|
|
122
|
-
var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
123
|
-
const _sfc_main$Z = {};
|
|
124
|
-
const _hoisted_1$L = { class: "panel-header" };
|
|
125
|
-
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
126
|
-
return openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
126
|
+
return openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
127
127
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
128
128
|
]);
|
|
129
129
|
}
|
|
130
|
-
var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
130
|
+
var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-13bf11da"]]);
|
|
131
131
|
var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
132
|
-
const _sfc_main
|
|
133
|
-
const _hoisted_1$
|
|
134
|
-
function _sfc_render
|
|
135
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
132
|
+
const _sfc_main$$ = {};
|
|
133
|
+
const _hoisted_1$N = { class: "panel-footer" };
|
|
134
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
135
|
+
return openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
136
136
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
137
137
|
]);
|
|
138
138
|
}
|
|
139
|
-
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
139
|
+
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-b4f4786a"]]);
|
|
140
140
|
var tabset_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
141
|
-
const _sfc_main$
|
|
141
|
+
const _sfc_main$_ = {
|
|
142
142
|
data() {
|
|
143
143
|
return {
|
|
144
144
|
activeIndex: 0
|
|
@@ -158,8 +158,8 @@ const _sfc_main$X = {
|
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
};
|
|
161
|
-
const _hoisted_1$
|
|
162
|
-
function _sfc_render$
|
|
161
|
+
const _hoisted_1$M = ["onClick"];
|
|
162
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
163
163
|
const _component_flex_row = resolveComponent("flex-row");
|
|
164
164
|
const _component_flex_header = resolveComponent("flex-header");
|
|
165
165
|
const _component_flex_column = resolveComponent("flex-column");
|
|
@@ -173,7 +173,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
173
173
|
return openBlock(), createElementBlock("a", {
|
|
174
174
|
class: normalizeClass({ active: index2 === $data.activeIndex }),
|
|
175
175
|
onClick: ($event) => $options.select(index2)
|
|
176
|
-
}, toDisplayString(tab.props.heading), 11, _hoisted_1$
|
|
176
|
+
}, toDisplayString(tab.props.heading), 11, _hoisted_1$M);
|
|
177
177
|
}), 256))
|
|
178
178
|
]),
|
|
179
179
|
_: 1
|
|
@@ -200,8 +200,8 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
200
200
|
_: 1
|
|
201
201
|
});
|
|
202
202
|
}
|
|
203
|
-
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
204
|
-
const _sfc_main$
|
|
203
|
+
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-b5715b66"]]);
|
|
204
|
+
const _sfc_main$Z = {
|
|
205
205
|
props: {
|
|
206
206
|
heading: {
|
|
207
207
|
type: String,
|
|
@@ -224,7 +224,7 @@ const _sfc_main$W = {
|
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
|
-
function _sfc_render$
|
|
227
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
228
228
|
const _component_flex_column = resolveComponent("flex-column");
|
|
229
229
|
return openBlock(), createBlock(_component_flex_column, null, {
|
|
230
230
|
default: withCtx(() => [
|
|
@@ -233,28 +233,28 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
233
233
|
_: 3
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
|
-
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
236
|
+
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z]]);
|
|
237
237
|
var spinner_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
238
|
-
const _sfc_main$
|
|
238
|
+
const _sfc_main$Y = {
|
|
239
239
|
props: {
|
|
240
240
|
large: {
|
|
241
241
|
type: Boolean
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
|
-
const _withScopeId$4 = (n2) => (pushScopeId("data-v-
|
|
246
|
-
const _hoisted_1$
|
|
247
|
-
const _hoisted_2$
|
|
248
|
-
_hoisted_1$
|
|
245
|
+
const _withScopeId$4 = (n2) => (pushScopeId("data-v-5ef0f22e"), n2 = n2(), popScopeId(), n2);
|
|
246
|
+
const _hoisted_1$L = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("i", { class: "fa fa-spin fa-spinner" }, null, -1));
|
|
247
|
+
const _hoisted_2$B = [
|
|
248
|
+
_hoisted_1$L
|
|
249
249
|
];
|
|
250
|
-
function _sfc_render$
|
|
250
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
251
251
|
return openBlock(), createElementBlock("div", {
|
|
252
252
|
class: normalizeClass(["ux-spinner", { large: $props.large }])
|
|
253
|
-
}, _hoisted_2$
|
|
253
|
+
}, _hoisted_2$B, 2);
|
|
254
254
|
}
|
|
255
|
-
var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
255
|
+
var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__scopeId", "data-v-5ef0f22e"]]);
|
|
256
256
|
var button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
257
|
-
const _sfc_main$
|
|
257
|
+
const _sfc_main$X = {
|
|
258
258
|
components: {
|
|
259
259
|
Spinner
|
|
260
260
|
},
|
|
@@ -287,6 +287,9 @@ const _sfc_main$U = {
|
|
|
287
287
|
loading: {
|
|
288
288
|
type: Boolean
|
|
289
289
|
},
|
|
290
|
+
active: {
|
|
291
|
+
type: Boolean
|
|
292
|
+
},
|
|
290
293
|
disabled: {
|
|
291
294
|
type: Boolean
|
|
292
295
|
},
|
|
@@ -318,6 +321,9 @@ const _sfc_main$U = {
|
|
|
318
321
|
if (this.loading) {
|
|
319
322
|
array.push(`ux-btn-loading`);
|
|
320
323
|
}
|
|
324
|
+
if (this.active) {
|
|
325
|
+
array.push(`ux-btn-active`);
|
|
326
|
+
}
|
|
321
327
|
if (this.icon) {
|
|
322
328
|
array.push(`ux-btn-icon`);
|
|
323
329
|
}
|
|
@@ -347,10 +353,11 @@ const _sfc_main$U = {
|
|
|
347
353
|
}
|
|
348
354
|
}
|
|
349
355
|
};
|
|
350
|
-
const _hoisted_1$
|
|
351
|
-
function _sfc_render$
|
|
356
|
+
const _hoisted_1$K = { class: "ux-btn-text" };
|
|
357
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
352
358
|
const _component_spinner = resolveComponent("spinner");
|
|
353
359
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
360
|
+
active: $props.active,
|
|
354
361
|
loading: $props.loading,
|
|
355
362
|
to: $props.to,
|
|
356
363
|
href: $props.href,
|
|
@@ -361,16 +368,16 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
361
368
|
}, {
|
|
362
369
|
default: withCtx(() => [
|
|
363
370
|
$props.loading ? (openBlock(), createBlock(_component_spinner, { key: 0 })) : createCommentVNode("", true),
|
|
364
|
-
createElementVNode("span", _hoisted_1$
|
|
371
|
+
createElementVNode("span", _hoisted_1$K, [
|
|
365
372
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
366
373
|
])
|
|
367
374
|
]),
|
|
368
375
|
_: 3
|
|
369
|
-
}, 8, ["loading", "to", "href", "target", "style", "class", "disabled"]);
|
|
376
|
+
}, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
|
|
370
377
|
}
|
|
371
|
-
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
378
|
+
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__scopeId", "data-v-bcaad93a"]]);
|
|
372
379
|
var checkbox_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
373
|
-
const _sfc_main$
|
|
380
|
+
const _sfc_main$W = {
|
|
374
381
|
props: {
|
|
375
382
|
value: {
|
|
376
383
|
type: Boolean,
|
|
@@ -391,7 +398,7 @@ const _sfc_main$T = {
|
|
|
391
398
|
}
|
|
392
399
|
}
|
|
393
400
|
};
|
|
394
|
-
function _sfc_render$
|
|
401
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
395
402
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
396
403
|
return openBlock(), createElementBlock("button", {
|
|
397
404
|
class: normalizeClass(["ux-checkbox", $options.classes])
|
|
@@ -402,9 +409,9 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
402
409
|
})
|
|
403
410
|
], 2);
|
|
404
411
|
}
|
|
405
|
-
var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
412
|
+
var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-7dd035b9"]]);
|
|
406
413
|
var switch_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
407
|
-
const _sfc_main$
|
|
414
|
+
const _sfc_main$V = {
|
|
408
415
|
props: {
|
|
409
416
|
value: {
|
|
410
417
|
type: Boolean,
|
|
@@ -434,7 +441,7 @@ const _sfc_main$S = {
|
|
|
434
441
|
}
|
|
435
442
|
}
|
|
436
443
|
};
|
|
437
|
-
function _sfc_render$
|
|
444
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
438
445
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
439
446
|
return openBlock(), createElementBlock("a", {
|
|
440
447
|
class: normalizeClass(["ux-switch", $options.classes])
|
|
@@ -447,9 +454,9 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
447
454
|
])
|
|
448
455
|
], 2);
|
|
449
456
|
}
|
|
450
|
-
var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
457
|
+
var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__scopeId", "data-v-4063e9b5"]]);
|
|
451
458
|
var link_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
452
|
-
const _sfc_main$
|
|
459
|
+
const _sfc_main$U = {
|
|
453
460
|
props: {
|
|
454
461
|
to: {
|
|
455
462
|
type: [Object, String]
|
|
@@ -500,15 +507,21 @@ const _sfc_main$R = {
|
|
|
500
507
|
return array;
|
|
501
508
|
},
|
|
502
509
|
element() {
|
|
510
|
+
if (this.nuxtMode) {
|
|
511
|
+
return "a";
|
|
512
|
+
}
|
|
513
|
+
if (this.buildMode) {
|
|
514
|
+
return "a";
|
|
515
|
+
}
|
|
503
516
|
if (this.to) {
|
|
504
|
-
return
|
|
517
|
+
return `router-link`;
|
|
505
518
|
} else {
|
|
506
519
|
return "a";
|
|
507
520
|
}
|
|
508
521
|
}
|
|
509
522
|
}
|
|
510
523
|
};
|
|
511
|
-
function _sfc_render$
|
|
524
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
512
525
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
513
526
|
onClick: $options.clicked,
|
|
514
527
|
to: $props.to,
|
|
@@ -522,9 +535,9 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
522
535
|
_: 3
|
|
523
536
|
}, 8, ["onClick", "to", "href", "target", "class"]);
|
|
524
537
|
}
|
|
525
|
-
var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
538
|
+
var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-4ed46cbc"]]);
|
|
526
539
|
var icon_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
527
|
-
const _sfc_main$
|
|
540
|
+
const _sfc_main$T = {
|
|
528
541
|
props: {
|
|
529
542
|
icon: {
|
|
530
543
|
type: [Object, String]
|
|
@@ -559,17 +572,17 @@ const _sfc_main$Q = {
|
|
|
559
572
|
}
|
|
560
573
|
}
|
|
561
574
|
};
|
|
562
|
-
function _sfc_render$
|
|
575
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
563
576
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
564
577
|
class: normalizeClass(["ux-icon fa", $options.classes])
|
|
565
578
|
}, null, 8, ["class"]);
|
|
566
579
|
}
|
|
567
|
-
var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
580
|
+
var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__scopeId", "data-v-1764a3d0"]]);
|
|
568
581
|
var UXMenuService = {
|
|
569
582
|
cache: {}
|
|
570
583
|
};
|
|
571
584
|
var menu_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
572
|
-
const _sfc_main$
|
|
585
|
+
const _sfc_main$S = {
|
|
573
586
|
props: {
|
|
574
587
|
group: {
|
|
575
588
|
type: String
|
|
@@ -721,7 +734,7 @@ const _sfc_main$P = {
|
|
|
721
734
|
}
|
|
722
735
|
}
|
|
723
736
|
};
|
|
724
|
-
function _sfc_render$
|
|
737
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
725
738
|
return openBlock(), createElementBlock("div", {
|
|
726
739
|
class: normalizeClass(["ux-menu", { right: $props.right }])
|
|
727
740
|
}, [
|
|
@@ -745,9 +758,9 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
745
758
|
]))
|
|
746
759
|
], 2);
|
|
747
760
|
}
|
|
748
|
-
var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
761
|
+
var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__scopeId", "data-v-3d55731c"]]);
|
|
749
762
|
var image_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
750
|
-
const _sfc_main$
|
|
763
|
+
const _sfc_main$R = {
|
|
751
764
|
props: {
|
|
752
765
|
item: {
|
|
753
766
|
type: Object
|
|
@@ -853,18 +866,18 @@ const _sfc_main$O = {
|
|
|
853
866
|
}
|
|
854
867
|
}
|
|
855
868
|
};
|
|
856
|
-
const _hoisted_1$
|
|
857
|
-
function _sfc_render$
|
|
869
|
+
const _hoisted_1$J = ["src"];
|
|
870
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
858
871
|
return openBlock(), createElementBlock("div", {
|
|
859
872
|
class: "ux-image",
|
|
860
873
|
style: normalizeStyle($options.style)
|
|
861
874
|
}, [
|
|
862
|
-
createElementVNode("img", { src: $options.src }, null, 8, _hoisted_1$
|
|
875
|
+
createElementVNode("img", { src: $options.src }, null, 8, _hoisted_1$J)
|
|
863
876
|
], 4);
|
|
864
877
|
}
|
|
865
|
-
var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
878
|
+
var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-7b68ec1a"]]);
|
|
866
879
|
var progressbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
867
|
-
const _sfc_main$
|
|
880
|
+
const _sfc_main$Q = {
|
|
868
881
|
props: {
|
|
869
882
|
value: {
|
|
870
883
|
type: Number
|
|
@@ -899,36 +912,36 @@ const _sfc_main$N = {
|
|
|
899
912
|
}
|
|
900
913
|
};
|
|
901
914
|
const _withScopeId$3 = (n2) => (pushScopeId("data-v-6581fb86"), n2 = n2(), popScopeId(), n2);
|
|
902
|
-
const _hoisted_1$
|
|
903
|
-
const _hoisted_2$
|
|
904
|
-
function _sfc_render$
|
|
905
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
906
|
-
_hoisted_2$
|
|
915
|
+
const _hoisted_1$I = { class: "ux-progress" };
|
|
916
|
+
const _hoisted_2$A = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ux-progress-bg" }, null, -1));
|
|
917
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
918
|
+
return openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
919
|
+
_hoisted_2$A,
|
|
907
920
|
createElementVNode("div", {
|
|
908
921
|
class: "ux-progress-fg",
|
|
909
922
|
style: normalizeStyle($options.barStyle)
|
|
910
923
|
}, null, 4)
|
|
911
924
|
]);
|
|
912
925
|
}
|
|
913
|
-
var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
926
|
+
var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-6581fb86"]]);
|
|
914
927
|
var list_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
915
|
-
const _sfc_main$
|
|
916
|
-
const _hoisted_1$
|
|
917
|
-
function _sfc_render$
|
|
918
|
-
return openBlock(), createElementBlock("ul", _hoisted_1$
|
|
928
|
+
const _sfc_main$P = {};
|
|
929
|
+
const _hoisted_1$H = { class: "ux-list" };
|
|
930
|
+
function _sfc_render$P(_ctx, _cache) {
|
|
931
|
+
return openBlock(), createElementBlock("ul", _hoisted_1$H, [
|
|
919
932
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
920
933
|
]);
|
|
921
934
|
}
|
|
922
|
-
var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
935
|
+
var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__scopeId", "data-v-98e1e4e2"]]);
|
|
923
936
|
var listItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
924
|
-
const _sfc_main$
|
|
925
|
-
const _hoisted_1$
|
|
926
|
-
function _sfc_render$
|
|
927
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
937
|
+
const _sfc_main$O = {};
|
|
938
|
+
const _hoisted_1$G = { class: "ux-list-item" };
|
|
939
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
940
|
+
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
928
941
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
929
942
|
]);
|
|
930
943
|
}
|
|
931
|
-
var UXListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
944
|
+
var UXListItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__scopeId", "data-v-0e73c260"]]);
|
|
932
945
|
function isUndefined$7(v, type) {
|
|
933
946
|
return v === void 0 || v === null || type == "date" && v.toString && v.toString() === "Invalid Date";
|
|
934
947
|
}
|
|
@@ -1281,7 +1294,7 @@ var select_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
1281
1294
|
function isUndefined$6(entry) {
|
|
1282
1295
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
1283
1296
|
}
|
|
1284
|
-
const _sfc_main$
|
|
1297
|
+
const _sfc_main$N = {
|
|
1285
1298
|
props: {
|
|
1286
1299
|
title: {
|
|
1287
1300
|
type: String
|
|
@@ -1366,19 +1379,19 @@ const _sfc_main$K = {
|
|
|
1366
1379
|
}
|
|
1367
1380
|
}
|
|
1368
1381
|
};
|
|
1369
|
-
const _hoisted_1$
|
|
1382
|
+
const _hoisted_1$F = {
|
|
1370
1383
|
key: 0,
|
|
1371
1384
|
class: "ux-field-title"
|
|
1372
1385
|
};
|
|
1373
|
-
const _hoisted_2$
|
|
1386
|
+
const _hoisted_2$z = {
|
|
1374
1387
|
key: 0,
|
|
1375
1388
|
class: "ux-required-marker"
|
|
1376
1389
|
};
|
|
1377
|
-
const _hoisted_3$
|
|
1390
|
+
const _hoisted_3$v = {
|
|
1378
1391
|
key: 1,
|
|
1379
1392
|
class: "ux-field-description"
|
|
1380
1393
|
};
|
|
1381
|
-
const _hoisted_4$
|
|
1394
|
+
const _hoisted_4$s = {
|
|
1382
1395
|
key: 2,
|
|
1383
1396
|
class: "ui-select-button"
|
|
1384
1397
|
};
|
|
@@ -1387,18 +1400,18 @@ const _hoisted_6$g = {
|
|
|
1387
1400
|
key: 0,
|
|
1388
1401
|
value: ""
|
|
1389
1402
|
};
|
|
1390
|
-
const _hoisted_7$
|
|
1391
|
-
function _sfc_render$
|
|
1403
|
+
const _hoisted_7$e = ["value"];
|
|
1404
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1392
1405
|
const _component_ux_button = resolveComponent("ux-button");
|
|
1393
1406
|
return openBlock(), createElementBlock("div", {
|
|
1394
1407
|
class: normalizeClass(["native-select", $options.classes])
|
|
1395
1408
|
}, [
|
|
1396
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
1409
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$F, [
|
|
1397
1410
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
1398
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1411
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$z, "*")) : createCommentVNode("", true)
|
|
1399
1412
|
])) : createCommentVNode("", true),
|
|
1400
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
1401
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1413
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$v, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
1414
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$s, [
|
|
1402
1415
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1403
1416
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
1404
1417
|
default: withCtx(() => [
|
|
@@ -1417,16 +1430,16 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1417
1430
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
1418
1431
|
return openBlock(), createElementBlock("option", {
|
|
1419
1432
|
value: option2.value
|
|
1420
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
1433
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$e);
|
|
1421
1434
|
}), 256))
|
|
1422
1435
|
], 40, _hoisted_5$k), [
|
|
1423
1436
|
[vModelSelect, _ctx.model]
|
|
1424
1437
|
])
|
|
1425
1438
|
], 2);
|
|
1426
1439
|
}
|
|
1427
|
-
var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1440
|
+
var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__scopeId", "data-v-6d808434"]]);
|
|
1428
1441
|
var phoneNumberInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
1429
|
-
const _sfc_main$
|
|
1442
|
+
const _sfc_main$M = {
|
|
1430
1443
|
props: {
|
|
1431
1444
|
modelValue: {
|
|
1432
1445
|
type: [Object, Array]
|
|
@@ -1498,41 +1511,41 @@ const _sfc_main$J = {
|
|
|
1498
1511
|
}
|
|
1499
1512
|
};
|
|
1500
1513
|
const _withScopeId$2 = (n2) => (pushScopeId("data-v-856e04c2"), n2 = n2(), popScopeId(), n2);
|
|
1501
|
-
const _hoisted_1$
|
|
1514
|
+
const _hoisted_1$E = {
|
|
1502
1515
|
key: 0,
|
|
1503
1516
|
class: "ux-field-title"
|
|
1504
1517
|
};
|
|
1505
|
-
const _hoisted_2$
|
|
1518
|
+
const _hoisted_2$y = {
|
|
1506
1519
|
key: 0,
|
|
1507
1520
|
class: "ux-required-marker"
|
|
1508
1521
|
};
|
|
1509
|
-
const _hoisted_3$
|
|
1522
|
+
const _hoisted_3$u = {
|
|
1510
1523
|
key: 1,
|
|
1511
1524
|
class: "ux-field-description"
|
|
1512
1525
|
};
|
|
1513
|
-
const _hoisted_4$
|
|
1526
|
+
const _hoisted_4$r = { key: 2 };
|
|
1514
1527
|
const _hoisted_5$j = /* @__PURE__ */ createTextVNode(" Country Code ");
|
|
1515
1528
|
const _hoisted_6$f = { key: 0 };
|
|
1516
|
-
const _hoisted_7$
|
|
1529
|
+
const _hoisted_7$d = { key: 1 };
|
|
1517
1530
|
const _hoisted_8$7 = { class: "ux-text-wrap" };
|
|
1518
1531
|
const _hoisted_9$5 = ["placeholder", "onUpdate:modelValue"];
|
|
1519
1532
|
const _hoisted_10$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("option", { value: "" }, "None", -1));
|
|
1520
1533
|
const _hoisted_11$4 = ["value"];
|
|
1521
|
-
const _hoisted_12$
|
|
1534
|
+
const _hoisted_12$4 = { class: "ux-text-wrap" };
|
|
1522
1535
|
const _hoisted_13$3 = ["placeholder"];
|
|
1523
|
-
function _sfc_render$
|
|
1536
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1524
1537
|
const _component_native_select = resolveComponent("native-select");
|
|
1525
1538
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
1526
1539
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
1527
1540
|
const _component_ux_button = resolveComponent("ux-button");
|
|
1528
1541
|
const _component_flex_row = resolveComponent("flex-row");
|
|
1529
1542
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
1530
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
1543
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$E, [
|
|
1531
1544
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
1532
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1545
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$y, "*")) : createCommentVNode("", true)
|
|
1533
1546
|
])) : createCommentVNode("", true),
|
|
1534
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
1535
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1547
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$u, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
1548
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$r, [
|
|
1536
1549
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
1537
1550
|
return openBlock(), createBlock(_component_flex_row, {
|
|
1538
1551
|
wrap: "",
|
|
@@ -1551,7 +1564,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1551
1564
|
!entry.countryCode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1552
1565
|
_hoisted_5$j
|
|
1553
1566
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1554
|
-
$data.lookup[entry.countryCode] ? (openBlock(), createElementBlock("div", _hoisted_6$f, toDisplayString($data.lookup[entry.countryCode].emoji) + " - " + toDisplayString($data.lookup[entry.countryCode].alpha2), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$
|
|
1567
|
+
$data.lookup[entry.countryCode] ? (openBlock(), createElementBlock("div", _hoisted_6$f, toDisplayString($data.lookup[entry.countryCode].emoji) + " - " + toDisplayString($data.lookup[entry.countryCode].alpha2), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$d, "Loading"))
|
|
1555
1568
|
], 64))
|
|
1556
1569
|
]),
|
|
1557
1570
|
_: 2
|
|
@@ -1639,7 +1652,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1639
1652
|
}),
|
|
1640
1653
|
createVNode(_component_flex_cell, null, {
|
|
1641
1654
|
default: withCtx(() => [
|
|
1642
|
-
createElementVNode("div", _hoisted_12$
|
|
1655
|
+
createElementVNode("div", _hoisted_12$4, [
|
|
1643
1656
|
withDirectives(createElementVNode("input", {
|
|
1644
1657
|
class: "ux-field-focus ux-text-input-multiple",
|
|
1645
1658
|
placeholder: $options.actualPlaceholder,
|
|
@@ -1659,12 +1672,12 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1659
1672
|
}))
|
|
1660
1673
|
], 64);
|
|
1661
1674
|
}
|
|
1662
|
-
var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1675
|
+
var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-856e04c2"]]);
|
|
1663
1676
|
var timezone_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
1664
1677
|
function isUndefined$5(entry) {
|
|
1665
1678
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
1666
1679
|
}
|
|
1667
|
-
const _sfc_main$
|
|
1680
|
+
const _sfc_main$L = {
|
|
1668
1681
|
props: {
|
|
1669
1682
|
modelValue: {}
|
|
1670
1683
|
},
|
|
@@ -2189,19 +2202,19 @@ const _sfc_main$I = {
|
|
|
2189
2202
|
}
|
|
2190
2203
|
}
|
|
2191
2204
|
};
|
|
2192
|
-
const _hoisted_1$
|
|
2205
|
+
const _hoisted_1$D = {
|
|
2193
2206
|
key: 0,
|
|
2194
2207
|
class: "ux-field-title"
|
|
2195
2208
|
};
|
|
2196
|
-
const _hoisted_2$
|
|
2209
|
+
const _hoisted_2$x = {
|
|
2197
2210
|
key: 0,
|
|
2198
2211
|
class: "ux-required-marker"
|
|
2199
2212
|
};
|
|
2200
|
-
const _hoisted_3$
|
|
2213
|
+
const _hoisted_3$t = {
|
|
2201
2214
|
key: 1,
|
|
2202
2215
|
class: "ux-field-description"
|
|
2203
2216
|
};
|
|
2204
|
-
const _hoisted_4$
|
|
2217
|
+
const _hoisted_4$q = {
|
|
2205
2218
|
key: 2,
|
|
2206
2219
|
class: "ui-select-button"
|
|
2207
2220
|
};
|
|
@@ -2210,18 +2223,18 @@ const _hoisted_6$e = {
|
|
|
2210
2223
|
key: 0,
|
|
2211
2224
|
value: ""
|
|
2212
2225
|
};
|
|
2213
|
-
const _hoisted_7$
|
|
2214
|
-
function _sfc_render$
|
|
2226
|
+
const _hoisted_7$c = ["value"];
|
|
2227
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2215
2228
|
const _component_ux_button = resolveComponent("ux-button");
|
|
2216
2229
|
return openBlock(), createElementBlock("div", {
|
|
2217
2230
|
class: normalizeClass(["native-select", $options.classes])
|
|
2218
2231
|
}, [
|
|
2219
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
2232
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$D, [
|
|
2220
2233
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
2221
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
2234
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$x, "*")) : createCommentVNode("", true)
|
|
2222
2235
|
])) : createCommentVNode("", true),
|
|
2223
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
2224
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
2236
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$t, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
2237
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$q, [
|
|
2225
2238
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2226
2239
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
2227
2240
|
default: withCtx(() => [
|
|
@@ -2240,16 +2253,16 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2240
2253
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
2241
2254
|
return openBlock(), createElementBlock("option", {
|
|
2242
2255
|
value: option2.value
|
|
2243
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
2256
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$c);
|
|
2244
2257
|
}), 256))
|
|
2245
2258
|
], 40, _hoisted_5$i), [
|
|
2246
2259
|
[vModelSelect, _ctx.model]
|
|
2247
2260
|
])
|
|
2248
2261
|
], 2);
|
|
2249
2262
|
}
|
|
2250
|
-
var TimezoneSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2263
|
+
var TimezoneSelect = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-2b83f766"]]);
|
|
2251
2264
|
var item_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
2252
|
-
const _sfc_main$
|
|
2265
|
+
const _sfc_main$K = {
|
|
2253
2266
|
props: {
|
|
2254
2267
|
item: {
|
|
2255
2268
|
type: Object,
|
|
@@ -2267,7 +2280,7 @@ const _sfc_main$H = {
|
|
|
2267
2280
|
}
|
|
2268
2281
|
}
|
|
2269
2282
|
};
|
|
2270
|
-
function _sfc_render$
|
|
2283
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2271
2284
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
2272
2285
|
const _component_flex_row = resolveComponent("flex-row");
|
|
2273
2286
|
return openBlock(), createElementBlock("div", {
|
|
@@ -2296,7 +2309,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2296
2309
|
})
|
|
2297
2310
|
]);
|
|
2298
2311
|
}
|
|
2299
|
-
var Item = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2312
|
+
var Item = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-4f7e8052"]]);
|
|
2300
2313
|
/**!
|
|
2301
2314
|
* Sortable 1.14.0
|
|
2302
2315
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -4964,7 +4977,7 @@ const draggableComponent = defineComponent({
|
|
|
4964
4977
|
}
|
|
4965
4978
|
});
|
|
4966
4979
|
var contentSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4967
|
-
const _sfc_main$
|
|
4980
|
+
const _sfc_main$J = {
|
|
4968
4981
|
components: {
|
|
4969
4982
|
Item,
|
|
4970
4983
|
draggable: draggableComponent
|
|
@@ -5067,33 +5080,33 @@ const _sfc_main$G = {
|
|
|
5067
5080
|
}
|
|
5068
5081
|
}
|
|
5069
5082
|
};
|
|
5070
|
-
const _hoisted_1$
|
|
5083
|
+
const _hoisted_1$C = {
|
|
5071
5084
|
key: 0,
|
|
5072
5085
|
class: "ux-field-title"
|
|
5073
5086
|
};
|
|
5074
|
-
const _hoisted_2$
|
|
5087
|
+
const _hoisted_2$w = {
|
|
5075
5088
|
key: 0,
|
|
5076
5089
|
class: "ux-required-marker"
|
|
5077
5090
|
};
|
|
5078
|
-
const _hoisted_3$
|
|
5091
|
+
const _hoisted_3$s = {
|
|
5079
5092
|
key: 1,
|
|
5080
5093
|
class: "ux-field-description"
|
|
5081
5094
|
};
|
|
5082
|
-
const _hoisted_4$
|
|
5095
|
+
const _hoisted_4$p = {
|
|
5083
5096
|
key: 3,
|
|
5084
5097
|
class: "items"
|
|
5085
5098
|
};
|
|
5086
|
-
function _sfc_render$
|
|
5099
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5087
5100
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
5088
5101
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5089
5102
|
const _component_item = resolveComponent("item");
|
|
5090
5103
|
const _component_draggable = resolveComponent("draggable");
|
|
5091
5104
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5092
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5105
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$C, [
|
|
5093
5106
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5094
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5107
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$w, "*")) : createCommentVNode("", true)
|
|
5095
5108
|
])) : createCommentVNode("", true),
|
|
5096
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5109
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$s, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
5097
5110
|
_ctx.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
5098
5111
|
_ctx.model && _ctx.model.length ? (openBlock(), createBlock(_component_draggable, {
|
|
5099
5112
|
key: 0,
|
|
@@ -5132,7 +5145,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5132
5145
|
]),
|
|
5133
5146
|
_: 1
|
|
5134
5147
|
}, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
5135
|
-
], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5148
|
+
], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$p, [
|
|
5136
5149
|
createVNode(_component_item, { item: _ctx.model }, {
|
|
5137
5150
|
actions: withCtx(() => [
|
|
5138
5151
|
$options.canEdit(_ctx.model) ? (openBlock(), createBlock(_component_ux_button, {
|
|
@@ -5166,12 +5179,12 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5166
5179
|
}, 8, ["onClick"])
|
|
5167
5180
|
], 64);
|
|
5168
5181
|
}
|
|
5169
|
-
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5182
|
+
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-858ab1cc"]]);
|
|
5170
5183
|
var typeSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5171
5184
|
function isUndefined$4(entry) {
|
|
5172
5185
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
5173
5186
|
}
|
|
5174
|
-
const _sfc_main$
|
|
5187
|
+
const _sfc_main$I = {
|
|
5175
5188
|
props: {
|
|
5176
5189
|
title: {
|
|
5177
5190
|
type: String
|
|
@@ -5280,19 +5293,19 @@ const _sfc_main$F = {
|
|
|
5280
5293
|
}
|
|
5281
5294
|
}
|
|
5282
5295
|
};
|
|
5283
|
-
const _hoisted_1$
|
|
5296
|
+
const _hoisted_1$B = {
|
|
5284
5297
|
key: 0,
|
|
5285
5298
|
class: "ux-field-title"
|
|
5286
5299
|
};
|
|
5287
|
-
const _hoisted_2$
|
|
5300
|
+
const _hoisted_2$v = {
|
|
5288
5301
|
key: 0,
|
|
5289
5302
|
class: "ux-required-marker"
|
|
5290
5303
|
};
|
|
5291
|
-
const _hoisted_3$
|
|
5304
|
+
const _hoisted_3$r = {
|
|
5292
5305
|
key: 1,
|
|
5293
5306
|
class: "ux-field-description"
|
|
5294
5307
|
};
|
|
5295
|
-
const _hoisted_4$
|
|
5308
|
+
const _hoisted_4$o = {
|
|
5296
5309
|
key: 2,
|
|
5297
5310
|
class: "ui-select-button"
|
|
5298
5311
|
};
|
|
@@ -5301,18 +5314,18 @@ const _hoisted_6$d = {
|
|
|
5301
5314
|
key: 0,
|
|
5302
5315
|
value: ""
|
|
5303
5316
|
};
|
|
5304
|
-
const _hoisted_7$
|
|
5305
|
-
function _sfc_render$
|
|
5317
|
+
const _hoisted_7$b = ["value"];
|
|
5318
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5306
5319
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5307
5320
|
return openBlock(), createElementBlock("div", {
|
|
5308
5321
|
class: normalizeClass(["native-select", $options.classes])
|
|
5309
5322
|
}, [
|
|
5310
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5323
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
|
|
5311
5324
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5312
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5325
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$v, "*")) : createCommentVNode("", true)
|
|
5313
5326
|
])) : createCommentVNode("", true),
|
|
5314
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5315
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5327
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$r, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
5328
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
|
|
5316
5329
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
5317
5330
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
5318
5331
|
default: withCtx(() => [
|
|
@@ -5331,16 +5344,16 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5331
5344
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
5332
5345
|
return openBlock(), createElementBlock("option", {
|
|
5333
5346
|
value: option2.value
|
|
5334
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
5347
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$b);
|
|
5335
5348
|
}), 256))
|
|
5336
5349
|
], 40, _hoisted_5$h), [
|
|
5337
5350
|
[vModelSelect, _ctx.model]
|
|
5338
5351
|
])
|
|
5339
5352
|
], 2);
|
|
5340
5353
|
}
|
|
5341
|
-
var TypeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5354
|
+
var TypeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-3c487f67"]]);
|
|
5342
5355
|
var currency_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5343
|
-
const _sfc_main$
|
|
5356
|
+
const _sfc_main$H = {
|
|
5344
5357
|
props: {
|
|
5345
5358
|
modelValue: {
|
|
5346
5359
|
type: [String, Array]
|
|
@@ -5418,25 +5431,25 @@ const _sfc_main$E = {
|
|
|
5418
5431
|
}
|
|
5419
5432
|
}
|
|
5420
5433
|
};
|
|
5421
|
-
const _hoisted_1$
|
|
5434
|
+
const _hoisted_1$A = {
|
|
5422
5435
|
key: 0,
|
|
5423
5436
|
class: "ux-field-title"
|
|
5424
5437
|
};
|
|
5425
|
-
const _hoisted_2$
|
|
5438
|
+
const _hoisted_2$u = {
|
|
5426
5439
|
key: 0,
|
|
5427
5440
|
class: "ux-required-marker"
|
|
5428
5441
|
};
|
|
5429
|
-
const _hoisted_3$
|
|
5442
|
+
const _hoisted_3$q = {
|
|
5430
5443
|
key: 1,
|
|
5431
5444
|
class: "ux-field-description"
|
|
5432
5445
|
};
|
|
5433
|
-
const _hoisted_4$
|
|
5446
|
+
const _hoisted_4$n = { key: 2 };
|
|
5434
5447
|
const _hoisted_5$g = {
|
|
5435
5448
|
key: 0,
|
|
5436
5449
|
class: "ux-text-prefix"
|
|
5437
5450
|
};
|
|
5438
5451
|
const _hoisted_6$c = ["onBlur", "onUpdate:modelValue"];
|
|
5439
|
-
const _hoisted_7$
|
|
5452
|
+
const _hoisted_7$a = {
|
|
5440
5453
|
key: 1,
|
|
5441
5454
|
class: "ux-text-suffix"
|
|
5442
5455
|
};
|
|
@@ -5448,18 +5461,18 @@ const _hoisted_9$4 = {
|
|
|
5448
5461
|
key: 1,
|
|
5449
5462
|
class: "ux-text-suffix"
|
|
5450
5463
|
};
|
|
5451
|
-
function _sfc_render$
|
|
5464
|
+
function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5452
5465
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
5453
5466
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
5454
5467
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5455
5468
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5456
5469
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5457
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5470
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
|
|
5458
5471
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5459
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5472
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$u, "*")) : createCommentVNode("", true)
|
|
5460
5473
|
])) : createCommentVNode("", true),
|
|
5461
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5462
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5474
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$q, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
5475
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
|
|
5463
5476
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
|
|
5464
5477
|
return openBlock(), createBlock(_component_flex_row, {
|
|
5465
5478
|
class: "ux-text-row",
|
|
@@ -5490,7 +5503,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5490
5503
|
{ lazy: true }
|
|
5491
5504
|
]
|
|
5492
5505
|
]),
|
|
5493
|
-
$options.suffix ? (openBlock(), createElementBlock("span", _hoisted_7$
|
|
5506
|
+
$options.suffix ? (openBlock(), createElementBlock("span", _hoisted_7$a, toDisplayString($options.suffix), 1)) : createCommentVNode("", true)
|
|
5494
5507
|
], 2)
|
|
5495
5508
|
]),
|
|
5496
5509
|
_: 2
|
|
@@ -5556,9 +5569,9 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5556
5569
|
], 2))
|
|
5557
5570
|
], 64);
|
|
5558
5571
|
}
|
|
5559
|
-
var CurrencyField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5572
|
+
var CurrencyField = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-5afb1a86"]]);
|
|
5560
5573
|
var textfield_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5561
|
-
const _sfc_main$
|
|
5574
|
+
const _sfc_main$G = {
|
|
5562
5575
|
props: {
|
|
5563
5576
|
modelValue: {
|
|
5564
5577
|
type: [String, Array]
|
|
@@ -5621,25 +5634,25 @@ const _sfc_main$D = {
|
|
|
5621
5634
|
}
|
|
5622
5635
|
}
|
|
5623
5636
|
};
|
|
5624
|
-
const _hoisted_1$
|
|
5637
|
+
const _hoisted_1$z = {
|
|
5625
5638
|
key: 0,
|
|
5626
5639
|
class: "ux-field-title"
|
|
5627
5640
|
};
|
|
5628
|
-
const _hoisted_2$
|
|
5641
|
+
const _hoisted_2$t = {
|
|
5629
5642
|
key: 0,
|
|
5630
5643
|
class: "ux-required-marker"
|
|
5631
5644
|
};
|
|
5632
|
-
const _hoisted_3$
|
|
5645
|
+
const _hoisted_3$p = {
|
|
5633
5646
|
key: 1,
|
|
5634
5647
|
class: "ux-field-description"
|
|
5635
5648
|
};
|
|
5636
|
-
const _hoisted_4$
|
|
5649
|
+
const _hoisted_4$m = { key: 2 };
|
|
5637
5650
|
const _hoisted_5$f = { class: "ux-text-wrap" };
|
|
5638
5651
|
const _hoisted_6$b = {
|
|
5639
5652
|
key: 0,
|
|
5640
5653
|
class: "ux-text-prefix"
|
|
5641
5654
|
};
|
|
5642
|
-
const _hoisted_7$
|
|
5655
|
+
const _hoisted_7$9 = ["type", "placeholder", "onUpdate:modelValue"];
|
|
5643
5656
|
const _hoisted_8$5 = ["type", "placeholder", "onUpdate:modelValue"];
|
|
5644
5657
|
const _hoisted_9$3 = {
|
|
5645
5658
|
key: 3,
|
|
@@ -5653,24 +5666,24 @@ const _hoisted_11$3 = {
|
|
|
5653
5666
|
key: 0,
|
|
5654
5667
|
class: "ux-text-prefix"
|
|
5655
5668
|
};
|
|
5656
|
-
const _hoisted_12$
|
|
5669
|
+
const _hoisted_12$3 = ["type", "placeholder"];
|
|
5657
5670
|
const _hoisted_13$2 = ["type", "placeholder"];
|
|
5658
5671
|
const _hoisted_14$2 = {
|
|
5659
5672
|
key: 3,
|
|
5660
5673
|
class: "ux-text-suffix"
|
|
5661
5674
|
};
|
|
5662
|
-
function _sfc_render$
|
|
5675
|
+
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5663
5676
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
5664
5677
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
5665
5678
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5666
5679
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5667
5680
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5668
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5681
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$z, [
|
|
5669
5682
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5670
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5683
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$t, "*")) : createCommentVNode("", true)
|
|
5671
5684
|
])) : createCommentVNode("", true),
|
|
5672
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5673
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5685
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$p, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
5686
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
|
|
5674
5687
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
5675
5688
|
return openBlock(), createBlock(_component_flex_row, {
|
|
5676
5689
|
class: "ux-text-row",
|
|
@@ -5691,7 +5704,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5691
5704
|
ref: "input",
|
|
5692
5705
|
onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
|
|
5693
5706
|
"onUpdate:modelValue": ($event) => _ctx.model[index2] = $event
|
|
5694
|
-
}, null, 40, _hoisted_7$
|
|
5707
|
+
}, null, 40, _hoisted_7$9)), [
|
|
5695
5708
|
[
|
|
5696
5709
|
vModelDynamic,
|
|
5697
5710
|
_ctx.model[index2],
|
|
@@ -5763,7 +5776,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5763
5776
|
placeholder: $options.actualPlaceholder,
|
|
5764
5777
|
onFocus: _cache[5] || (_cache[5] = (...args) => _ctx.touch && _ctx.touch(...args)),
|
|
5765
5778
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => _ctx.model = $event)
|
|
5766
|
-
}, null, 40, _hoisted_12$
|
|
5779
|
+
}, null, 40, _hoisted_12$3)), [
|
|
5767
5780
|
[
|
|
5768
5781
|
vModelDynamic,
|
|
5769
5782
|
_ctx.model,
|
|
@@ -5786,9 +5799,9 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5786
5799
|
]))
|
|
5787
5800
|
], 64);
|
|
5788
5801
|
}
|
|
5789
|
-
var TextField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5802
|
+
var TextField = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G], ["__scopeId", "data-v-8f2cb452"]]);
|
|
5790
5803
|
var textarea_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5791
|
-
const _sfc_main$
|
|
5804
|
+
const _sfc_main$F = {
|
|
5792
5805
|
props: {
|
|
5793
5806
|
modelValue: {
|
|
5794
5807
|
type: [String, Array]
|
|
@@ -5801,32 +5814,32 @@ const _sfc_main$C = {
|
|
|
5801
5814
|
}
|
|
5802
5815
|
}
|
|
5803
5816
|
};
|
|
5804
|
-
const _hoisted_1$
|
|
5817
|
+
const _hoisted_1$y = {
|
|
5805
5818
|
key: 0,
|
|
5806
5819
|
class: "ux-field-title"
|
|
5807
5820
|
};
|
|
5808
|
-
const _hoisted_2$
|
|
5821
|
+
const _hoisted_2$s = {
|
|
5809
5822
|
key: 0,
|
|
5810
5823
|
class: "ux-required-marker"
|
|
5811
5824
|
};
|
|
5812
|
-
const _hoisted_3$
|
|
5825
|
+
const _hoisted_3$o = {
|
|
5813
5826
|
key: 1,
|
|
5814
5827
|
class: "ux-field-description"
|
|
5815
5828
|
};
|
|
5816
|
-
const _hoisted_4$
|
|
5829
|
+
const _hoisted_4$l = { key: 2 };
|
|
5817
5830
|
const _hoisted_5$e = ["onUpdate:modelValue"];
|
|
5818
|
-
function _sfc_render$
|
|
5831
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5819
5832
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
5820
5833
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
5821
5834
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5822
5835
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5823
5836
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5824
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5837
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$y, [
|
|
5825
5838
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5826
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5839
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$s, "*")) : createCommentVNode("", true)
|
|
5827
5840
|
])) : createCommentVNode("", true),
|
|
5828
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5829
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5841
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$o, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
5842
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$l, [
|
|
5830
5843
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
5831
5844
|
return openBlock(), createBlock(_component_flex_row, {
|
|
5832
5845
|
class: "ux-text-row",
|
|
@@ -5892,7 +5905,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5892
5905
|
])
|
|
5893
5906
|
], 64);
|
|
5894
5907
|
}
|
|
5895
|
-
var TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5908
|
+
var TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$F], ["__scopeId", "data-v-72eafde6"]]);
|
|
5896
5909
|
var datefield_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5897
5910
|
function zero(input) {
|
|
5898
5911
|
if (String(input).length < 2) {
|
|
@@ -5900,7 +5913,7 @@ function zero(input) {
|
|
|
5900
5913
|
}
|
|
5901
5914
|
return input;
|
|
5902
5915
|
}
|
|
5903
|
-
const _sfc_main$
|
|
5916
|
+
const _sfc_main$E = {
|
|
5904
5917
|
props: {
|
|
5905
5918
|
modelValue: {
|
|
5906
5919
|
type: [Date, String, Array]
|
|
@@ -5949,32 +5962,32 @@ const _sfc_main$B = {
|
|
|
5949
5962
|
}
|
|
5950
5963
|
}
|
|
5951
5964
|
};
|
|
5952
|
-
const _hoisted_1$
|
|
5965
|
+
const _hoisted_1$x = {
|
|
5953
5966
|
key: 0,
|
|
5954
5967
|
class: "ux-field-title"
|
|
5955
5968
|
};
|
|
5956
|
-
const _hoisted_2$
|
|
5969
|
+
const _hoisted_2$r = {
|
|
5957
5970
|
key: 0,
|
|
5958
5971
|
class: "ux-required-marker"
|
|
5959
5972
|
};
|
|
5960
|
-
const _hoisted_3$
|
|
5973
|
+
const _hoisted_3$n = {
|
|
5961
5974
|
key: 1,
|
|
5962
5975
|
class: "ux-field-description"
|
|
5963
5976
|
};
|
|
5964
|
-
const _hoisted_4$
|
|
5977
|
+
const _hoisted_4$k = { key: 2 };
|
|
5965
5978
|
const _hoisted_5$d = ["onUpdate:modelValue"];
|
|
5966
|
-
function _sfc_render$
|
|
5979
|
+
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5967
5980
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
5968
5981
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
5969
5982
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5970
5983
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5971
5984
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5972
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5985
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$x, [
|
|
5973
5986
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5974
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5987
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$r, "*")) : createCommentVNode("", true)
|
|
5975
5988
|
])) : createCommentVNode("", true),
|
|
5976
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5977
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5989
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$n, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
5990
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$k, [
|
|
5978
5991
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
|
|
5979
5992
|
return openBlock(), createBlock(_component_flex_row, {
|
|
5980
5993
|
class: "ux-text-row",
|
|
@@ -6040,9 +6053,9 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6040
6053
|
])
|
|
6041
6054
|
], 64);
|
|
6042
6055
|
}
|
|
6043
|
-
var DateField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6056
|
+
var DateField = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-578af064"]]);
|
|
6044
6057
|
var checkbox_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6045
|
-
const _sfc_main$
|
|
6058
|
+
const _sfc_main$D = {
|
|
6046
6059
|
computed: {
|
|
6047
6060
|
NativeCheckbox: UXCheckbox
|
|
6048
6061
|
},
|
|
@@ -6084,19 +6097,19 @@ const _sfc_main$A = {
|
|
|
6084
6097
|
}
|
|
6085
6098
|
}
|
|
6086
6099
|
};
|
|
6087
|
-
const _hoisted_1$
|
|
6100
|
+
const _hoisted_1$w = {
|
|
6088
6101
|
key: 0,
|
|
6089
6102
|
class: "ux-field-title"
|
|
6090
6103
|
};
|
|
6091
|
-
const _hoisted_2$
|
|
6104
|
+
const _hoisted_2$q = {
|
|
6092
6105
|
key: 0,
|
|
6093
6106
|
class: "ux-required-marker"
|
|
6094
6107
|
};
|
|
6095
|
-
const _hoisted_3$
|
|
6108
|
+
const _hoisted_3$m = {
|
|
6096
6109
|
key: 1,
|
|
6097
6110
|
class: "ux-field-description"
|
|
6098
6111
|
};
|
|
6099
|
-
function _sfc_render$
|
|
6112
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6100
6113
|
const _component_ux_checkbox = resolveComponent("ux-checkbox");
|
|
6101
6114
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
6102
6115
|
const _component_flex_row = resolveComponent("flex-row");
|
|
@@ -6120,11 +6133,11 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6120
6133
|
createVNode(_component_flex_cell, { vcenter: "" }, {
|
|
6121
6134
|
default: withCtx(() => [
|
|
6122
6135
|
createElementVNode("div", null, [
|
|
6123
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
6136
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$w, [
|
|
6124
6137
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
6125
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
6138
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$q, "*")) : createCommentVNode("", true)
|
|
6126
6139
|
])) : createCommentVNode("", true),
|
|
6127
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6140
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$m, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
|
|
6128
6141
|
])
|
|
6129
6142
|
]),
|
|
6130
6143
|
_: 1
|
|
@@ -6133,8 +6146,8 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6133
6146
|
_: 1
|
|
6134
6147
|
});
|
|
6135
6148
|
}
|
|
6136
|
-
var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6137
|
-
const _sfc_main$
|
|
6149
|
+
var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-a346dafc"]]);
|
|
6150
|
+
const _sfc_main$C = {
|
|
6138
6151
|
props: {
|
|
6139
6152
|
modelValue: {
|
|
6140
6153
|
type: [String, Array]
|
|
@@ -6147,86 +6160,67 @@ const _sfc_main$z = {
|
|
|
6147
6160
|
}
|
|
6148
6161
|
}
|
|
6149
6162
|
};
|
|
6150
|
-
const _hoisted_1$
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
const _hoisted_2$m = {
|
|
6155
|
-
key: 0,
|
|
6156
|
-
class: "ux-required-marker"
|
|
6157
|
-
};
|
|
6158
|
-
const _hoisted_3$j = {
|
|
6159
|
-
key: 1,
|
|
6160
|
-
class: "ux-field-description"
|
|
6161
|
-
};
|
|
6162
|
-
const _hoisted_4$i = { key: 2 };
|
|
6163
|
-
const _hoisted_5$c = ["innerHTML"];
|
|
6164
|
-
const _hoisted_6$a = ["innerHTML"];
|
|
6165
|
-
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6163
|
+
const _hoisted_1$v = { key: 0 };
|
|
6164
|
+
const _hoisted_2$p = ["innerHTML"];
|
|
6165
|
+
const _hoisted_3$l = ["innerHTML"];
|
|
6166
|
+
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6166
6167
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
6167
6168
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
6168
6169
|
const _component_ux_button = resolveComponent("ux-button");
|
|
6169
6170
|
const _component_flex_row = resolveComponent("flex-row");
|
|
6170
|
-
return openBlock(), createElementBlock(
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
_: 1
|
|
6220
|
-
})) : createCommentVNode("", true)
|
|
6221
|
-
])) : (openBlock(), createElementBlock("div", {
|
|
6222
|
-
key: 3,
|
|
6223
|
-
innerHTML: _ctx.field.template
|
|
6224
|
-
}, null, 8, _hoisted_6$a))
|
|
6225
|
-
], 64);
|
|
6171
|
+
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
6172
|
+
createVNode(_component_flex_row, { class: "ux-text-row" }, {
|
|
6173
|
+
default: withCtx(() => [
|
|
6174
|
+
createVNode(_component_flex_cell, null, {
|
|
6175
|
+
default: withCtx(() => [
|
|
6176
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
6177
|
+
return openBlock(), createElementBlock("div", {
|
|
6178
|
+
innerHTML: _ctx.field.template,
|
|
6179
|
+
key: index2
|
|
6180
|
+
}, null, 8, _hoisted_2$p);
|
|
6181
|
+
}), 128))
|
|
6182
|
+
]),
|
|
6183
|
+
_: 1
|
|
6184
|
+
}),
|
|
6185
|
+
createVNode(_component_flex_cell, {
|
|
6186
|
+
shrink: "",
|
|
6187
|
+
vcenter: ""
|
|
6188
|
+
}, {
|
|
6189
|
+
default: withCtx(() => [
|
|
6190
|
+
_ctx.canRemoveValue ? (openBlock(), createBlock(_component_ux_button, {
|
|
6191
|
+
key: 0,
|
|
6192
|
+
tag: "a",
|
|
6193
|
+
icon: "",
|
|
6194
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.remove(_ctx.entry))
|
|
6195
|
+
}, {
|
|
6196
|
+
default: withCtx(() => [
|
|
6197
|
+
createVNode(_component_ux_icon, { icon: "fa-times" })
|
|
6198
|
+
]),
|
|
6199
|
+
_: 1
|
|
6200
|
+
})) : createCommentVNode("", true)
|
|
6201
|
+
]),
|
|
6202
|
+
_: 1
|
|
6203
|
+
})
|
|
6204
|
+
]),
|
|
6205
|
+
_: 1
|
|
6206
|
+
}),
|
|
6207
|
+
_ctx.canAddValue ? (openBlock(), createBlock(_component_ux_button, {
|
|
6208
|
+
key: 0,
|
|
6209
|
+
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.add())
|
|
6210
|
+
}, {
|
|
6211
|
+
default: withCtx(() => [
|
|
6212
|
+
createTextVNode(toDisplayString(_ctx.addLabel), 1)
|
|
6213
|
+
]),
|
|
6214
|
+
_: 1
|
|
6215
|
+
})) : createCommentVNode("", true)
|
|
6216
|
+
])) : (openBlock(), createElementBlock("div", {
|
|
6217
|
+
key: 1,
|
|
6218
|
+
innerHTML: _ctx.field.template
|
|
6219
|
+
}, null, 8, _hoisted_3$l));
|
|
6226
6220
|
}
|
|
6227
|
-
var CustomHTML = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6221
|
+
var CustomHTML = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C]]);
|
|
6228
6222
|
var FilterCondition_vue_vue_type_style_index_0_lang = "";
|
|
6229
|
-
const _sfc_main$
|
|
6223
|
+
const _sfc_main$B = {
|
|
6230
6224
|
props: {
|
|
6231
6225
|
fields: {
|
|
6232
6226
|
type: Array,
|
|
@@ -6487,24 +6481,24 @@ const _sfc_main$y = {
|
|
|
6487
6481
|
NativeSelect
|
|
6488
6482
|
}
|
|
6489
6483
|
};
|
|
6490
|
-
const _hoisted_1$
|
|
6484
|
+
const _hoisted_1$u = {
|
|
6491
6485
|
key: 0,
|
|
6492
6486
|
class: "filter-condition"
|
|
6493
6487
|
};
|
|
6494
|
-
const _hoisted_2$
|
|
6495
|
-
const _hoisted_3$
|
|
6496
|
-
const _hoisted_4$
|
|
6497
|
-
const _hoisted_5$
|
|
6498
|
-
const _hoisted_6$
|
|
6499
|
-
const _hoisted_7$
|
|
6488
|
+
const _hoisted_2$o = { key: 0 };
|
|
6489
|
+
const _hoisted_3$k = { key: 1 };
|
|
6490
|
+
const _hoisted_4$j = /* @__PURE__ */ createTextVNode(" And ");
|
|
6491
|
+
const _hoisted_5$c = { key: 2 };
|
|
6492
|
+
const _hoisted_6$a = { key: 3 };
|
|
6493
|
+
const _hoisted_7$8 = /* @__PURE__ */ createTextVNode(" And ");
|
|
6500
6494
|
const _hoisted_8$4 = { key: 4 };
|
|
6501
6495
|
const _hoisted_9$2 = { key: 5 };
|
|
6502
6496
|
const _hoisted_10$2 = { key: 6 };
|
|
6503
6497
|
const _hoisted_11$2 = { key: 7 };
|
|
6504
|
-
const _hoisted_12$
|
|
6498
|
+
const _hoisted_12$2 = { key: 8 };
|
|
6505
6499
|
const _hoisted_13$1 = { key: 9 };
|
|
6506
6500
|
const _hoisted_14$1 = { key: 10 };
|
|
6507
|
-
function _sfc_render$
|
|
6501
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6508
6502
|
const _component_native_select = resolveComponent("native-select");
|
|
6509
6503
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
6510
6504
|
const _component_text_field = resolveComponent("text-field");
|
|
@@ -6513,7 +6507,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6513
6507
|
const _component_content_select = resolveComponent("content-select");
|
|
6514
6508
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
6515
6509
|
const _component_ux_button = resolveComponent("ux-button");
|
|
6516
|
-
return $data.comparators ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6510
|
+
return $data.comparators ? (openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
6517
6511
|
createVNode(_component_flex_row, null, {
|
|
6518
6512
|
default: withCtx(() => [
|
|
6519
6513
|
createVNode(_component_flex_cell, null, {
|
|
@@ -6540,7 +6534,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6540
6534
|
})) : createCommentVNode("", true),
|
|
6541
6535
|
$data.model.comparator ? (openBlock(), createBlock(_component_flex_cell, { key: 1 }, {
|
|
6542
6536
|
default: withCtx(() => [
|
|
6543
|
-
$options.inputType == "array" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6537
|
+
$options.inputType == "array" ? (openBlock(), createElementBlock("div", _hoisted_2$o, [
|
|
6544
6538
|
$options.hasOptions ? (openBlock(), createBlock(_component_native_select, {
|
|
6545
6539
|
key: 0,
|
|
6546
6540
|
modelValue: $data.model.values,
|
|
@@ -6553,20 +6547,20 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6553
6547
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.model.values = $event)
|
|
6554
6548
|
}, null, 8, ["field", "modelValue"]))
|
|
6555
6549
|
])) : createCommentVNode("", true),
|
|
6556
|
-
$options.inputType == "range" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6550
|
+
$options.inputType == "range" ? (openBlock(), createElementBlock("div", _hoisted_3$k, [
|
|
6557
6551
|
createVNode(_component_text_field, {
|
|
6558
6552
|
field: $options.normalField,
|
|
6559
6553
|
modelValue: $data.model.value,
|
|
6560
6554
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.model.value = $event)
|
|
6561
6555
|
}, null, 8, ["field", "modelValue"]),
|
|
6562
|
-
_hoisted_4$
|
|
6556
|
+
_hoisted_4$j,
|
|
6563
6557
|
createVNode(_component_text_field, {
|
|
6564
6558
|
field: $options.normalField,
|
|
6565
6559
|
modelValue: $data.model.value2,
|
|
6566
6560
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.model.value2 = $event)
|
|
6567
6561
|
}, null, 8, ["field", "modelValue"])
|
|
6568
6562
|
])) : createCommentVNode("", true),
|
|
6569
|
-
$options.inputType == "daterelative" ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
6563
|
+
$options.inputType == "daterelative" ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
|
|
6570
6564
|
createVNode(_component_flex_row, null, {
|
|
6571
6565
|
default: withCtx(() => [
|
|
6572
6566
|
createVNode(_component_flex_cell, { style: { "width": "80px" } }, {
|
|
@@ -6593,13 +6587,13 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6593
6587
|
_: 1
|
|
6594
6588
|
})
|
|
6595
6589
|
])) : createCommentVNode("", true),
|
|
6596
|
-
$options.inputType == "daterange" ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
6590
|
+
$options.inputType == "daterange" ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
|
|
6597
6591
|
createVNode(_component_date_field, {
|
|
6598
6592
|
field: $options.dateField,
|
|
6599
6593
|
modelValue: $data.model.value,
|
|
6600
6594
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $data.model.value = $event)
|
|
6601
6595
|
}, null, 8, ["field", "modelValue"]),
|
|
6602
|
-
_hoisted_7$
|
|
6596
|
+
_hoisted_7$8,
|
|
6603
6597
|
createVNode(_component_date_field, {
|
|
6604
6598
|
field: $options.dateField,
|
|
6605
6599
|
modelValue: $data.model.value2,
|
|
@@ -6635,7 +6629,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6635
6629
|
[vModelCheckbox, $data.model.value]
|
|
6636
6630
|
])
|
|
6637
6631
|
])) : createCommentVNode("", true),
|
|
6638
|
-
$options.inputType == "none" ? (openBlock(), createElementBlock("div", _hoisted_12$
|
|
6632
|
+
$options.inputType == "none" ? (openBlock(), createElementBlock("div", _hoisted_12$2)) : createCommentVNode("", true),
|
|
6639
6633
|
$options.inputType == "number" ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
|
|
6640
6634
|
createVNode(_component_text_field, {
|
|
6641
6635
|
field: $options.normalField,
|
|
@@ -6682,7 +6676,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6682
6676
|
})
|
|
6683
6677
|
])) : createCommentVNode("", true);
|
|
6684
6678
|
}
|
|
6685
|
-
var FilterCondition = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6679
|
+
var FilterCondition = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B]]);
|
|
6686
6680
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
6687
6681
|
function isObject$4(value) {
|
|
6688
6682
|
var type = typeof value;
|
|
@@ -6877,7 +6871,7 @@ function debounce(func, wait, options) {
|
|
|
6877
6871
|
}
|
|
6878
6872
|
var debounce_1 = debounce;
|
|
6879
6873
|
var FilterRule_vue_vue_type_style_index_0_lang = "";
|
|
6880
|
-
const _sfc_main$
|
|
6874
|
+
const _sfc_main$A = {
|
|
6881
6875
|
props: {
|
|
6882
6876
|
enableRemove: {
|
|
6883
6877
|
type: Boolean
|
|
@@ -6987,29 +6981,29 @@ const _sfc_main$x = {
|
|
|
6987
6981
|
NativeSelect
|
|
6988
6982
|
}
|
|
6989
6983
|
};
|
|
6990
|
-
const _hoisted_1$
|
|
6991
|
-
const _hoisted_2$
|
|
6992
|
-
const _hoisted_3$
|
|
6993
|
-
const _hoisted_4$
|
|
6994
|
-
const _hoisted_5$
|
|
6995
|
-
const _hoisted_6$
|
|
6996
|
-
const _hoisted_7$
|
|
6984
|
+
const _hoisted_1$t = { class: "filter-rule" };
|
|
6985
|
+
const _hoisted_2$n = { class: "top" };
|
|
6986
|
+
const _hoisted_3$j = { class: "summary" };
|
|
6987
|
+
const _hoisted_4$i = /* @__PURE__ */ createTextVNode(" Match ");
|
|
6988
|
+
const _hoisted_5$b = /* @__PURE__ */ createTextVNode(" of the following conditions ");
|
|
6989
|
+
const _hoisted_6$9 = /* @__PURE__ */ createElementVNode("span", { class: "line" }, null, -1);
|
|
6990
|
+
const _hoisted_7$7 = { class: "operator" };
|
|
6997
6991
|
const _hoisted_8$3 = /* @__PURE__ */ createTextVNode("Add Condition");
|
|
6998
|
-
function _sfc_render$
|
|
6992
|
+
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6999
6993
|
const _component_native_select = resolveComponent("native-select");
|
|
7000
6994
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
7001
6995
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
7002
6996
|
const _component_ux_button = resolveComponent("ux-button");
|
|
7003
6997
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7004
6998
|
const _component_filter_condition = resolveComponent("filter-condition");
|
|
7005
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7006
|
-
createElementVNode("div", _hoisted_2$
|
|
6999
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
7000
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
7007
7001
|
createVNode(_component_flex_row, null, {
|
|
7008
7002
|
default: withCtx(() => [
|
|
7009
7003
|
createVNode(_component_flex_cell, null, {
|
|
7010
7004
|
default: withCtx(() => [
|
|
7011
|
-
createElementVNode("div", _hoisted_3$
|
|
7012
|
-
_hoisted_4$
|
|
7005
|
+
createElementVNode("div", _hoisted_3$j, [
|
|
7006
|
+
_hoisted_4$i,
|
|
7013
7007
|
createVNode(_component_native_select, {
|
|
7014
7008
|
modelValue: $data.model.operator,
|
|
7015
7009
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
|
|
@@ -7020,7 +7014,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7020
7014
|
]),
|
|
7021
7015
|
_: 1
|
|
7022
7016
|
}, 8, ["modelValue", "field"]),
|
|
7023
|
-
_hoisted_5$
|
|
7017
|
+
_hoisted_5$b
|
|
7024
7018
|
])
|
|
7025
7019
|
]),
|
|
7026
7020
|
_: 1
|
|
@@ -7059,8 +7053,8 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7059
7053
|
shrink: ""
|
|
7060
7054
|
}, {
|
|
7061
7055
|
default: withCtx(() => [
|
|
7062
|
-
_hoisted_6$
|
|
7063
|
-
createElementVNode("div", _hoisted_7$
|
|
7056
|
+
_hoisted_6$9,
|
|
7057
|
+
createElementVNode("div", _hoisted_7$7, toDisplayString($data.model.operator), 1)
|
|
7064
7058
|
]),
|
|
7065
7059
|
_: 2
|
|
7066
7060
|
}, 1032, ["class"])) : createCommentVNode("", true),
|
|
@@ -7088,9 +7082,9 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7088
7082
|
}, 8, ["onClick"])
|
|
7089
7083
|
]);
|
|
7090
7084
|
}
|
|
7091
|
-
var FilterRule = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7085
|
+
var FilterRule = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A]]);
|
|
7092
7086
|
var FilterBuilder_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7093
|
-
const _sfc_main$
|
|
7087
|
+
const _sfc_main$z = {
|
|
7094
7088
|
components: {
|
|
7095
7089
|
FilterRule,
|
|
7096
7090
|
NativeSelect
|
|
@@ -7191,16 +7185,16 @@ const _sfc_main$w = {
|
|
|
7191
7185
|
};
|
|
7192
7186
|
}
|
|
7193
7187
|
};
|
|
7194
|
-
const _hoisted_1$
|
|
7195
|
-
const _hoisted_2$
|
|
7188
|
+
const _hoisted_1$s = { class: "filters" };
|
|
7189
|
+
const _hoisted_2$m = {
|
|
7196
7190
|
key: 0,
|
|
7197
7191
|
class: "top"
|
|
7198
7192
|
};
|
|
7199
|
-
const _hoisted_3$
|
|
7200
|
-
const _hoisted_4$
|
|
7201
|
-
const _hoisted_5$
|
|
7202
|
-
const _hoisted_6$
|
|
7203
|
-
function _sfc_render$
|
|
7193
|
+
const _hoisted_3$i = { class: "summary" };
|
|
7194
|
+
const _hoisted_4$h = /* @__PURE__ */ createTextVNode(" Match ");
|
|
7195
|
+
const _hoisted_5$a = /* @__PURE__ */ createTextVNode(" of the following rules ");
|
|
7196
|
+
const _hoisted_6$8 = /* @__PURE__ */ createTextVNode("Add Filter Rule");
|
|
7197
|
+
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7204
7198
|
const _component_native_select = resolveComponent("native-select");
|
|
7205
7199
|
const _component_filter_rule = resolveComponent("filter-rule");
|
|
7206
7200
|
const _component_ux_button = resolveComponent("ux-button");
|
|
@@ -7210,10 +7204,10 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7210
7204
|
default: withCtx(() => [
|
|
7211
7205
|
createVNode(_component_flex_body, null, {
|
|
7212
7206
|
default: withCtx(() => [
|
|
7213
|
-
createElementVNode("div", _hoisted_1$
|
|
7214
|
-
$data.model && $data.model.filters && $data.model.filters.length ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
7215
|
-
createElementVNode("div", _hoisted_3$
|
|
7216
|
-
_hoisted_4$
|
|
7207
|
+
createElementVNode("div", _hoisted_1$s, [
|
|
7208
|
+
$data.model && $data.model.filters && $data.model.filters.length ? (openBlock(), createElementBlock("div", _hoisted_2$m, [
|
|
7209
|
+
createElementVNode("div", _hoisted_3$i, [
|
|
7210
|
+
_hoisted_4$h,
|
|
7217
7211
|
createVNode(_component_native_select, {
|
|
7218
7212
|
modelValue: $data.model.operator,
|
|
7219
7213
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
|
|
@@ -7224,7 +7218,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7224
7218
|
]),
|
|
7225
7219
|
_: 1
|
|
7226
7220
|
}, 8, ["modelValue", "field"]),
|
|
7227
|
-
_hoisted_5$
|
|
7221
|
+
_hoisted_5$a
|
|
7228
7222
|
])
|
|
7229
7223
|
])) : createCommentVNode("", true),
|
|
7230
7224
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.model.filters, (rule, index2) => {
|
|
@@ -7242,7 +7236,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7242
7236
|
onClick: _cache[1] || (_cache[1] = ($event) => $options.addRule())
|
|
7243
7237
|
}, {
|
|
7244
7238
|
default: withCtx(() => [
|
|
7245
|
-
_hoisted_6$
|
|
7239
|
+
_hoisted_6$8
|
|
7246
7240
|
]),
|
|
7247
7241
|
_: 1
|
|
7248
7242
|
})
|
|
@@ -7254,9 +7248,9 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7254
7248
|
_: 1
|
|
7255
7249
|
});
|
|
7256
7250
|
}
|
|
7257
|
-
var FilterBuilder = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7251
|
+
var FilterBuilder = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z], ["__scopeId", "data-v-30449bfc"]]);
|
|
7258
7252
|
var filter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7259
|
-
const _sfc_main$
|
|
7253
|
+
const _sfc_main$y = {
|
|
7260
7254
|
mixins: [InputMixin],
|
|
7261
7255
|
components: {
|
|
7262
7256
|
FilterBuilder
|
|
@@ -7298,32 +7292,32 @@ const _sfc_main$v = {
|
|
|
7298
7292
|
}
|
|
7299
7293
|
}
|
|
7300
7294
|
};
|
|
7301
|
-
const _hoisted_1$
|
|
7295
|
+
const _hoisted_1$r = {
|
|
7302
7296
|
key: 0,
|
|
7303
7297
|
class: "ux-field-title"
|
|
7304
7298
|
};
|
|
7305
|
-
const _hoisted_2$
|
|
7299
|
+
const _hoisted_2$l = {
|
|
7306
7300
|
key: 0,
|
|
7307
7301
|
class: "ux-required-marker"
|
|
7308
7302
|
};
|
|
7309
|
-
const _hoisted_3$
|
|
7303
|
+
const _hoisted_3$h = {
|
|
7310
7304
|
key: 1,
|
|
7311
7305
|
class: "ux-field-description"
|
|
7312
7306
|
};
|
|
7313
|
-
const _hoisted_4$
|
|
7314
|
-
function _sfc_render$
|
|
7307
|
+
const _hoisted_4$g = { key: 2 };
|
|
7308
|
+
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7315
7309
|
const _component_filter_builder = resolveComponent("filter-builder");
|
|
7316
7310
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
7317
7311
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
7318
7312
|
const _component_ux_button = resolveComponent("ux-button");
|
|
7319
7313
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7320
7314
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
7321
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7315
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$r, [
|
|
7322
7316
|
createTextVNode(toDisplayString(_ctx.label) + " (" + toDisplayString($options.definitionTitle) + ") ", 1),
|
|
7323
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
7317
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$l, "*")) : createCommentVNode("", true)
|
|
7324
7318
|
])) : createCommentVNode("", true),
|
|
7325
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7326
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
7319
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$h, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
7320
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$g, [
|
|
7327
7321
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
7328
7322
|
return openBlock(), createBlock(_component_flex_row, {
|
|
7329
7323
|
class: "ux-text-row",
|
|
@@ -7380,9 +7374,9 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7380
7374
|
}, null, 8, ["definition", "modelValue"]))
|
|
7381
7375
|
], 64);
|
|
7382
7376
|
}
|
|
7383
|
-
var FilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7377
|
+
var FilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y], ["__scopeId", "data-v-5a049062"]]);
|
|
7384
7378
|
var switch_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7385
|
-
const _sfc_main$
|
|
7379
|
+
const _sfc_main$x = {
|
|
7386
7380
|
mixins: [InputMixin],
|
|
7387
7381
|
props: {
|
|
7388
7382
|
modelValue: {
|
|
@@ -7421,19 +7415,19 @@ const _sfc_main$u = {
|
|
|
7421
7415
|
}
|
|
7422
7416
|
}
|
|
7423
7417
|
};
|
|
7424
|
-
const _hoisted_1$
|
|
7418
|
+
const _hoisted_1$q = {
|
|
7425
7419
|
key: 0,
|
|
7426
7420
|
class: "ux-field-title"
|
|
7427
7421
|
};
|
|
7428
|
-
const _hoisted_2$
|
|
7422
|
+
const _hoisted_2$k = {
|
|
7429
7423
|
key: 0,
|
|
7430
7424
|
class: "ux-required-marker"
|
|
7431
7425
|
};
|
|
7432
|
-
const _hoisted_3$
|
|
7426
|
+
const _hoisted_3$g = {
|
|
7433
7427
|
key: 1,
|
|
7434
7428
|
class: "ux-field-description"
|
|
7435
7429
|
};
|
|
7436
|
-
function _sfc_render$
|
|
7430
|
+
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7437
7431
|
const _component_ux_switch = resolveComponent("ux-switch");
|
|
7438
7432
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
7439
7433
|
const _component_flex_row = resolveComponent("flex-row");
|
|
@@ -7457,11 +7451,11 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7457
7451
|
createVNode(_component_flex_cell, { vcenter: "" }, {
|
|
7458
7452
|
default: withCtx(() => [
|
|
7459
7453
|
createElementVNode("div", null, [
|
|
7460
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7454
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$q, [
|
|
7461
7455
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
7462
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
7456
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$k, "*")) : createCommentVNode("", true)
|
|
7463
7457
|
])) : createCommentVNode("", true),
|
|
7464
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7458
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$g, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
|
|
7465
7459
|
])
|
|
7466
7460
|
]),
|
|
7467
7461
|
_: 1
|
|
@@ -7470,9 +7464,9 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7470
7464
|
_: 1
|
|
7471
7465
|
});
|
|
7472
7466
|
}
|
|
7473
|
-
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7467
|
+
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$x], ["__scopeId", "data-v-7ee9d4cd"]]);
|
|
7474
7468
|
var filedrop_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7475
|
-
const _sfc_main$
|
|
7469
|
+
const _sfc_main$w = {
|
|
7476
7470
|
props: {
|
|
7477
7471
|
multiple: {
|
|
7478
7472
|
type: Boolean
|
|
@@ -7506,9 +7500,9 @@ const _sfc_main$t = {
|
|
|
7506
7500
|
}
|
|
7507
7501
|
}
|
|
7508
7502
|
};
|
|
7509
|
-
const _hoisted_1$
|
|
7510
|
-
const _hoisted_2$
|
|
7511
|
-
function _sfc_render$
|
|
7503
|
+
const _hoisted_1$p = ["multiple"];
|
|
7504
|
+
const _hoisted_2$j = /* @__PURE__ */ createTextVNode("Select Files");
|
|
7505
|
+
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7512
7506
|
const _component_ux_button = resolveComponent("ux-button");
|
|
7513
7507
|
return openBlock(), createElementBlock("label", {
|
|
7514
7508
|
class: "file-drop",
|
|
@@ -7520,7 +7514,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7520
7514
|
type: "file",
|
|
7521
7515
|
multiple: $props.multiple,
|
|
7522
7516
|
onChange: _cache[0] || (_cache[0] = ($event) => $options.filesSelected($event.target.files))
|
|
7523
|
-
}, null, 40, _hoisted_1$
|
|
7517
|
+
}, null, 40, _hoisted_1$p),
|
|
7524
7518
|
createElementVNode("div", {
|
|
7525
7519
|
class: "file-drop-ux",
|
|
7526
7520
|
onClick: _cache[1] || (_cache[1] = (...args) => $options.clicked && $options.clicked(...args))
|
|
@@ -7528,7 +7522,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7528
7522
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
7529
7523
|
createVNode(_component_ux_button, null, {
|
|
7530
7524
|
default: withCtx(() => [
|
|
7531
|
-
_hoisted_2$
|
|
7525
|
+
_hoisted_2$j
|
|
7532
7526
|
]),
|
|
7533
7527
|
_: 1
|
|
7534
7528
|
})
|
|
@@ -7536,9 +7530,9 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7536
7530
|
])
|
|
7537
7531
|
], 32);
|
|
7538
7532
|
}
|
|
7539
|
-
var FileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7533
|
+
var FileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$w], ["__scopeId", "data-v-67879182"]]);
|
|
7540
7534
|
var upload_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7541
|
-
const _sfc_main$
|
|
7535
|
+
const _sfc_main$v = {
|
|
7542
7536
|
mixins: [InputMixin],
|
|
7543
7537
|
components: {
|
|
7544
7538
|
FileDrop
|
|
@@ -7669,26 +7663,26 @@ const _sfc_main$s = {
|
|
|
7669
7663
|
},
|
|
7670
7664
|
computed: {}
|
|
7671
7665
|
};
|
|
7672
|
-
const _hoisted_1$
|
|
7666
|
+
const _hoisted_1$o = {
|
|
7673
7667
|
key: 0,
|
|
7674
7668
|
class: "ux-field-title"
|
|
7675
7669
|
};
|
|
7676
|
-
const _hoisted_2$
|
|
7670
|
+
const _hoisted_2$i = {
|
|
7677
7671
|
key: 0,
|
|
7678
7672
|
class: "ux-required-marker"
|
|
7679
7673
|
};
|
|
7680
|
-
const _hoisted_3$
|
|
7674
|
+
const _hoisted_3$f = {
|
|
7681
7675
|
key: 1,
|
|
7682
7676
|
class: "ux-field-description"
|
|
7683
7677
|
};
|
|
7684
|
-
const _hoisted_4$
|
|
7678
|
+
const _hoisted_4$f = {
|
|
7685
7679
|
key: 2,
|
|
7686
7680
|
class: "files"
|
|
7687
7681
|
};
|
|
7688
|
-
const _hoisted_5$
|
|
7689
|
-
const _hoisted_6$
|
|
7690
|
-
const _hoisted_7$
|
|
7691
|
-
function _sfc_render$
|
|
7682
|
+
const _hoisted_5$9 = { class: "size" };
|
|
7683
|
+
const _hoisted_6$7 = /* @__PURE__ */ createTextVNode("Select Files");
|
|
7684
|
+
const _hoisted_7$6 = /* @__PURE__ */ createTextVNode("Select File");
|
|
7685
|
+
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7692
7686
|
const _component_progress_bar = resolveComponent("progress-bar");
|
|
7693
7687
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
7694
7688
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
@@ -7696,12 +7690,12 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7696
7690
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7697
7691
|
const _component_file_drop = resolveComponent("file-drop");
|
|
7698
7692
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
7699
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7693
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$o, [
|
|
7700
7694
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
7701
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
7695
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$i, "*")) : createCommentVNode("", true)
|
|
7702
7696
|
])) : createCommentVNode("", true),
|
|
7703
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7704
|
-
$data.files && $data.files.length ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
7697
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$f, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
7698
|
+
$data.files && $data.files.length ? (openBlock(), createElementBlock("div", _hoisted_4$f, [
|
|
7705
7699
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.files, (file, index2) => {
|
|
7706
7700
|
return openBlock(), createElementBlock("div", {
|
|
7707
7701
|
class: "file-item",
|
|
@@ -7712,7 +7706,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7712
7706
|
createVNode(_component_flex_cell, null, {
|
|
7713
7707
|
default: withCtx(() => [
|
|
7714
7708
|
createElementVNode("strong", null, toDisplayString(file.name), 1),
|
|
7715
|
-
createElementVNode("div", _hoisted_5$
|
|
7709
|
+
createElementVNode("div", _hoisted_5$9, toDisplayString($options.filesize(file.size)), 1),
|
|
7716
7710
|
createVNode(_component_progress_bar, {
|
|
7717
7711
|
value: file.progress
|
|
7718
7712
|
}, null, 8, ["value"])
|
|
@@ -7748,7 +7742,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7748
7742
|
default: withCtx(() => [
|
|
7749
7743
|
createVNode(_component_ux_button, null, {
|
|
7750
7744
|
default: withCtx(() => [
|
|
7751
|
-
_hoisted_6$
|
|
7745
|
+
_hoisted_6$7
|
|
7752
7746
|
]),
|
|
7753
7747
|
_: 1
|
|
7754
7748
|
})
|
|
@@ -7762,7 +7756,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7762
7756
|
default: withCtx(() => [
|
|
7763
7757
|
createVNode(_component_ux_button, null, {
|
|
7764
7758
|
default: withCtx(() => [
|
|
7765
|
-
_hoisted_7$
|
|
7759
|
+
_hoisted_7$6
|
|
7766
7760
|
]),
|
|
7767
7761
|
_: 1
|
|
7768
7762
|
})
|
|
@@ -7771,9 +7765,9 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7771
7765
|
}, 8, ["onFiles"]))
|
|
7772
7766
|
], 64);
|
|
7773
7767
|
}
|
|
7774
|
-
var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7768
|
+
var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$v], ["__scopeId", "data-v-124f63e6"]]);
|
|
7775
7769
|
var group_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
7776
|
-
const _sfc_main$
|
|
7770
|
+
const _sfc_main$u = {
|
|
7777
7771
|
mixins: [InputMixin],
|
|
7778
7772
|
components: { draggable: draggableComponent },
|
|
7779
7773
|
props: {
|
|
@@ -7844,11 +7838,11 @@ const _sfc_main$r = {
|
|
|
7844
7838
|
}
|
|
7845
7839
|
}
|
|
7846
7840
|
};
|
|
7847
|
-
const _hoisted_1$
|
|
7841
|
+
const _hoisted_1$n = {
|
|
7848
7842
|
key: 0,
|
|
7849
7843
|
class: "ux-multi-group"
|
|
7850
7844
|
};
|
|
7851
|
-
function _sfc_render$
|
|
7845
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7852
7846
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
7853
7847
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
7854
7848
|
const _component_ux_button = resolveComponent("ux-button");
|
|
@@ -7858,7 +7852,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7858
7852
|
const _component_ux_panel_body = resolveComponent("ux-panel-body");
|
|
7859
7853
|
const _component_ux_panel = resolveComponent("ux-panel");
|
|
7860
7854
|
const _component_draggable = resolveComponent("draggable");
|
|
7861
|
-
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7855
|
+
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
7862
7856
|
$options.reorderable ? (openBlock(), createBlock(_component_draggable, {
|
|
7863
7857
|
key: 0,
|
|
7864
7858
|
modelValue: _ctx.model,
|
|
@@ -8088,8 +8082,8 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8088
8082
|
fields: _ctx.field.fields
|
|
8089
8083
|
}, null, 8, ["onForm:state", "parentModel", "modelValue", "flex", "fields"]));
|
|
8090
8084
|
}
|
|
8091
|
-
var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8092
|
-
const _sfc_main$
|
|
8085
|
+
var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-67669f46"]]);
|
|
8086
|
+
const _sfc_main$t = {
|
|
8093
8087
|
props: {
|
|
8094
8088
|
option: {
|
|
8095
8089
|
required: true
|
|
@@ -8101,17 +8095,17 @@ const _sfc_main$q = {
|
|
|
8101
8095
|
}
|
|
8102
8096
|
}
|
|
8103
8097
|
};
|
|
8104
|
-
function _sfc_render$
|
|
8098
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8105
8099
|
return renderSlot(_ctx.$slots, "default", { plainValue: $options.plainValue }, () => [
|
|
8106
8100
|
createElementVNode("pre", null, toDisplayString($props.option), 1)
|
|
8107
8101
|
]);
|
|
8108
8102
|
}
|
|
8109
|
-
var OptionSlot = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8103
|
+
var OptionSlot = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$t]]);
|
|
8110
8104
|
var buttonSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
8111
8105
|
function isUndefined$3(entry) {
|
|
8112
8106
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
8113
8107
|
}
|
|
8114
|
-
const _sfc_main$
|
|
8108
|
+
const _sfc_main$s = {
|
|
8115
8109
|
components: {
|
|
8116
8110
|
OptionSlot
|
|
8117
8111
|
},
|
|
@@ -8232,30 +8226,30 @@ const _sfc_main$p = {
|
|
|
8232
8226
|
}
|
|
8233
8227
|
}
|
|
8234
8228
|
};
|
|
8235
|
-
const _hoisted_1$
|
|
8229
|
+
const _hoisted_1$m = {
|
|
8236
8230
|
key: 0,
|
|
8237
8231
|
class: "ux-field-title"
|
|
8238
8232
|
};
|
|
8239
|
-
const _hoisted_2$
|
|
8233
|
+
const _hoisted_2$h = {
|
|
8240
8234
|
key: 0,
|
|
8241
8235
|
class: "ux-required-marker"
|
|
8242
8236
|
};
|
|
8243
|
-
const _hoisted_3$
|
|
8237
|
+
const _hoisted_3$e = {
|
|
8244
8238
|
key: 1,
|
|
8245
8239
|
class: "ux-field-description"
|
|
8246
8240
|
};
|
|
8247
|
-
const _hoisted_4$
|
|
8248
|
-
function _sfc_render$
|
|
8241
|
+
const _hoisted_4$e = { class: "buttons" };
|
|
8242
|
+
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8249
8243
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
8250
8244
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8251
8245
|
const _component_option_slot = resolveComponent("option-slot");
|
|
8252
8246
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8253
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8247
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$m, [
|
|
8254
8248
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8255
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
8249
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$h, "*")) : createCommentVNode("", true)
|
|
8256
8250
|
])) : createCommentVNode("", true),
|
|
8257
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
8258
|
-
createElementVNode("div", _hoisted_4$
|
|
8251
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$e, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8252
|
+
createElementVNode("div", _hoisted_4$e, [
|
|
8259
8253
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selectableOptions, (option2) => {
|
|
8260
8254
|
return openBlock(), createBlock(_component_option_slot, { option: option2 }, {
|
|
8261
8255
|
default: withCtx(({ plainValue }) => [
|
|
@@ -8279,9 +8273,9 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8279
8273
|
])
|
|
8280
8274
|
], 64);
|
|
8281
8275
|
}
|
|
8282
|
-
var ButtonSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8276
|
+
var ButtonSelect = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__scopeId", "data-v-4b69def8"]]);
|
|
8283
8277
|
var objectField_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
8284
|
-
const _sfc_main$
|
|
8278
|
+
const _sfc_main$r = {
|
|
8285
8279
|
props: {
|
|
8286
8280
|
modelValue: {
|
|
8287
8281
|
type: Object
|
|
@@ -8295,32 +8289,32 @@ const _sfc_main$o = {
|
|
|
8295
8289
|
}
|
|
8296
8290
|
}
|
|
8297
8291
|
};
|
|
8298
|
-
const _hoisted_1$
|
|
8292
|
+
const _hoisted_1$l = {
|
|
8299
8293
|
key: 0,
|
|
8300
8294
|
class: "ux-field-title"
|
|
8301
8295
|
};
|
|
8302
|
-
const _hoisted_2$
|
|
8296
|
+
const _hoisted_2$g = {
|
|
8303
8297
|
key: 0,
|
|
8304
8298
|
class: "ux-required-marker"
|
|
8305
8299
|
};
|
|
8306
|
-
const _hoisted_3$
|
|
8300
|
+
const _hoisted_3$d = {
|
|
8307
8301
|
key: 1,
|
|
8308
8302
|
class: "ux-field-description"
|
|
8309
8303
|
};
|
|
8310
|
-
const _hoisted_4$
|
|
8311
|
-
const _hoisted_5$
|
|
8312
|
-
function _sfc_render$
|
|
8304
|
+
const _hoisted_4$d = { key: 2 };
|
|
8305
|
+
const _hoisted_5$8 = { key: 3 };
|
|
8306
|
+
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8313
8307
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
8314
8308
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
8315
8309
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8316
8310
|
const _component_flex_row = resolveComponent("flex-row");
|
|
8317
8311
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8318
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8312
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$l, [
|
|
8319
8313
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8320
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
8314
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$g, "*")) : createCommentVNode("", true)
|
|
8321
8315
|
])) : createCommentVNode("", true),
|
|
8322
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
8323
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
8316
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$d, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8317
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$d, [
|
|
8324
8318
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
8325
8319
|
return openBlock(), createBlock(_component_flex_row, {
|
|
8326
8320
|
class: "ux-text-row",
|
|
@@ -8369,12 +8363,12 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8369
8363
|
]),
|
|
8370
8364
|
_: 1
|
|
8371
8365
|
})) : createCommentVNode("", true)
|
|
8372
|
-
])) : (openBlock(), createElementBlock("pre", _hoisted_5$
|
|
8366
|
+
])) : (openBlock(), createElementBlock("pre", _hoisted_5$8, toDisplayString(_ctx.model), 1))
|
|
8373
8367
|
], 64);
|
|
8374
8368
|
}
|
|
8375
|
-
var ObjectField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8369
|
+
var ObjectField = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r], ["__scopeId", "data-v-6b3fc2f2"]]);
|
|
8376
8370
|
var optionsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
8377
|
-
const _sfc_main$
|
|
8371
|
+
const _sfc_main$q = {
|
|
8378
8372
|
props: {
|
|
8379
8373
|
modelValue: {
|
|
8380
8374
|
type: [String, Array]
|
|
@@ -8469,43 +8463,43 @@ const _sfc_main$n = {
|
|
|
8469
8463
|
}
|
|
8470
8464
|
};
|
|
8471
8465
|
const _withScopeId$1 = (n2) => (pushScopeId("data-v-42a51394"), n2 = n2(), popScopeId(), n2);
|
|
8472
|
-
const _hoisted_1$
|
|
8466
|
+
const _hoisted_1$k = {
|
|
8473
8467
|
key: 0,
|
|
8474
8468
|
class: "ux-field-title"
|
|
8475
8469
|
};
|
|
8476
|
-
const _hoisted_2$
|
|
8470
|
+
const _hoisted_2$f = {
|
|
8477
8471
|
key: 0,
|
|
8478
8472
|
class: "ux-required-marker"
|
|
8479
8473
|
};
|
|
8480
|
-
const _hoisted_3$
|
|
8474
|
+
const _hoisted_3$c = {
|
|
8481
8475
|
key: 1,
|
|
8482
8476
|
class: "ux-field-description"
|
|
8483
8477
|
};
|
|
8484
|
-
const _hoisted_4$
|
|
8485
|
-
const _hoisted_5$
|
|
8486
|
-
const _hoisted_6$
|
|
8487
|
-
const _hoisted_7$
|
|
8478
|
+
const _hoisted_4$c = { key: 2 };
|
|
8479
|
+
const _hoisted_5$7 = { class: "ux-text-wrap prefixed" };
|
|
8480
|
+
const _hoisted_6$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
|
|
8481
|
+
const _hoisted_7$5 = ["onBlur", "onUpdate:modelValue"];
|
|
8488
8482
|
const _hoisted_8$2 = ["onBlur", "onUpdate:modelValue"];
|
|
8489
8483
|
const _hoisted_9$1 = { class: "ux-text-wrap prefixed" };
|
|
8490
8484
|
const _hoisted_10$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Value", -1));
|
|
8491
8485
|
const _hoisted_11$1 = ["onFocus", "onUpdate:modelValue"];
|
|
8492
|
-
const _hoisted_12 = ["onFocus", "onUpdate:modelValue"];
|
|
8486
|
+
const _hoisted_12$1 = ["onFocus", "onUpdate:modelValue"];
|
|
8493
8487
|
const _hoisted_13 = { class: "ux-text-wrap prefixed" };
|
|
8494
8488
|
const _hoisted_14 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
|
|
8495
8489
|
const _hoisted_15 = { class: "ux-text-wrap prefixed" };
|
|
8496
8490
|
const _hoisted_16 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Value", -1));
|
|
8497
|
-
function _sfc_render$
|
|
8491
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8498
8492
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
8499
8493
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
8500
8494
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8501
8495
|
const _component_flex_row = resolveComponent("flex-row");
|
|
8502
8496
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8503
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8497
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$k, [
|
|
8504
8498
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8505
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
8499
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$f, "*")) : createCommentVNode("", true)
|
|
8506
8500
|
])) : createCommentVNode("", true),
|
|
8507
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
8508
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
8501
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$c, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8502
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
|
|
8509
8503
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
8510
8504
|
return openBlock(), createBlock(_component_flex_row, {
|
|
8511
8505
|
class: "ux-text-row",
|
|
@@ -8514,8 +8508,8 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8514
8508
|
default: withCtx(() => [
|
|
8515
8509
|
createVNode(_component_flex_cell, null, {
|
|
8516
8510
|
default: withCtx(() => [
|
|
8517
|
-
createElementVNode("div", _hoisted_5$
|
|
8518
|
-
_hoisted_6$
|
|
8511
|
+
createElementVNode("div", _hoisted_5$7, [
|
|
8512
|
+
_hoisted_6$6,
|
|
8519
8513
|
$options.lazy ? withDirectives((openBlock(), createElementBlock("input", {
|
|
8520
8514
|
key: 0,
|
|
8521
8515
|
class: "ux-field-focus ux-text-input-multiple",
|
|
@@ -8526,7 +8520,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8526
8520
|
onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
|
|
8527
8521
|
onBlur: ($event) => $options.titleBlurred(index2),
|
|
8528
8522
|
"onUpdate:modelValue": [($event) => $options.entryTitleChanged(index2), ($event) => _ctx.model[index2].title = $event]
|
|
8529
|
-
}, null, 40, _hoisted_7$
|
|
8523
|
+
}, null, 40, _hoisted_7$5)), [
|
|
8530
8524
|
[
|
|
8531
8525
|
vModelText,
|
|
8532
8526
|
_ctx.model[index2].title,
|
|
@@ -8581,7 +8575,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8581
8575
|
ref: "valueInput",
|
|
8582
8576
|
onKeydown: _cache[5] || (_cache[5] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
|
|
8583
8577
|
"onUpdate:modelValue": ($event) => _ctx.model[index2].value = $event
|
|
8584
|
-
}, null, 40, _hoisted_12)), [
|
|
8578
|
+
}, null, 40, _hoisted_12$1)), [
|
|
8585
8579
|
[vModelText, _ctx.model[index2].value]
|
|
8586
8580
|
]) : createCommentVNode("", true)
|
|
8587
8581
|
])
|
|
@@ -8712,9 +8706,9 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8712
8706
|
}))
|
|
8713
8707
|
], 64);
|
|
8714
8708
|
}
|
|
8715
|
-
var OptionsManager = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8709
|
+
var OptionsManager = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-42a51394"]]);
|
|
8716
8710
|
var codeEditor_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
8717
|
-
const _sfc_main$
|
|
8711
|
+
const _sfc_main$p = {
|
|
8718
8712
|
components: {},
|
|
8719
8713
|
methods: {
|
|
8720
8714
|
editorInit() {
|
|
@@ -8749,7 +8743,7 @@ const _sfc_main$m = {
|
|
|
8749
8743
|
};
|
|
8750
8744
|
}
|
|
8751
8745
|
};
|
|
8752
|
-
function _sfc_render$
|
|
8746
|
+
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8753
8747
|
const _component_v_ace_editor = resolveComponent("v-ace-editor");
|
|
8754
8748
|
const _component_flex_column = resolveComponent("flex-column");
|
|
8755
8749
|
return $data.mounted ? (openBlock(), createBlock(_component_flex_column, { key: 0 }, {
|
|
@@ -8768,9 +8762,9 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8768
8762
|
_: 1
|
|
8769
8763
|
})) : createCommentVNode("", true);
|
|
8770
8764
|
}
|
|
8771
|
-
var CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8765
|
+
var CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-38988542"]]);
|
|
8772
8766
|
var codeEditorField_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
8773
|
-
const _sfc_main$
|
|
8767
|
+
const _sfc_main$o = {
|
|
8774
8768
|
components: {
|
|
8775
8769
|
CodeEditor
|
|
8776
8770
|
},
|
|
@@ -8791,37 +8785,37 @@ const _sfc_main$l = {
|
|
|
8791
8785
|
}
|
|
8792
8786
|
}
|
|
8793
8787
|
};
|
|
8794
|
-
const _hoisted_1$
|
|
8788
|
+
const _hoisted_1$j = {
|
|
8795
8789
|
key: 0,
|
|
8796
8790
|
class: "ux-field-title"
|
|
8797
8791
|
};
|
|
8798
|
-
const _hoisted_2$
|
|
8792
|
+
const _hoisted_2$e = {
|
|
8799
8793
|
key: 0,
|
|
8800
8794
|
class: "ux-required-marker"
|
|
8801
8795
|
};
|
|
8802
|
-
const _hoisted_3$
|
|
8796
|
+
const _hoisted_3$b = {
|
|
8803
8797
|
key: 1,
|
|
8804
8798
|
class: "ux-field-description"
|
|
8805
8799
|
};
|
|
8806
|
-
const _hoisted_4$
|
|
8807
|
-
const _hoisted_5$
|
|
8808
|
-
const _hoisted_6$
|
|
8800
|
+
const _hoisted_4$b = { key: 2 };
|
|
8801
|
+
const _hoisted_5$6 = { class: "code-editor-field-wrap" };
|
|
8802
|
+
const _hoisted_6$5 = {
|
|
8809
8803
|
key: 3,
|
|
8810
8804
|
class: "code-editor-field-wrap"
|
|
8811
8805
|
};
|
|
8812
|
-
function _sfc_render$
|
|
8806
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8813
8807
|
const _component_code_editor = resolveComponent("code-editor");
|
|
8814
8808
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
8815
8809
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
8816
8810
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8817
8811
|
const _component_flex_row = resolveComponent("flex-row");
|
|
8818
8812
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8819
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8813
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$j, [
|
|
8820
8814
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8821
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
8815
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$e, "*")) : createCommentVNode("", true)
|
|
8822
8816
|
])) : createCommentVNode("", true),
|
|
8823
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
8824
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
8817
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$b, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8818
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
|
|
8825
8819
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
8826
8820
|
return openBlock(), createBlock(_component_flex_row, {
|
|
8827
8821
|
class: "ux-text-row",
|
|
@@ -8830,7 +8824,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8830
8824
|
default: withCtx(() => [
|
|
8831
8825
|
createVNode(_component_flex_cell, null, {
|
|
8832
8826
|
default: withCtx(() => [
|
|
8833
|
-
createElementVNode("div", _hoisted_5$
|
|
8827
|
+
createElementVNode("div", _hoisted_5$6, [
|
|
8834
8828
|
createVNode(_component_code_editor, {
|
|
8835
8829
|
lang: $options.syntax,
|
|
8836
8830
|
onFocus: _ctx.touch,
|
|
@@ -8876,7 +8870,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8876
8870
|
]),
|
|
8877
8871
|
_: 1
|
|
8878
8872
|
})) : createCommentVNode("", true)
|
|
8879
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_6$
|
|
8873
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_6$5, [
|
|
8880
8874
|
createVNode(_component_code_editor, {
|
|
8881
8875
|
lang: $options.syntax,
|
|
8882
8876
|
class: "ux-code-editor ux-field-focus ux-text-area-single",
|
|
@@ -8887,12 +8881,12 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8887
8881
|
]))
|
|
8888
8882
|
], 64);
|
|
8889
8883
|
}
|
|
8890
|
-
var CodeEditorField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8884
|
+
var CodeEditorField = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-06a239bb"]]);
|
|
8891
8885
|
var InternalRouteSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
8892
8886
|
function isUndefined$2(entry) {
|
|
8893
8887
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
8894
8888
|
}
|
|
8895
|
-
const _sfc_main$
|
|
8889
|
+
const _sfc_main$n = {
|
|
8896
8890
|
props: {
|
|
8897
8891
|
title: {
|
|
8898
8892
|
type: String
|
|
@@ -9011,39 +9005,39 @@ const _sfc_main$k = {
|
|
|
9011
9005
|
}
|
|
9012
9006
|
}
|
|
9013
9007
|
};
|
|
9014
|
-
const _hoisted_1$
|
|
9008
|
+
const _hoisted_1$i = {
|
|
9015
9009
|
key: 0,
|
|
9016
9010
|
class: "ux-field-title"
|
|
9017
9011
|
};
|
|
9018
|
-
const _hoisted_2$
|
|
9012
|
+
const _hoisted_2$d = {
|
|
9019
9013
|
key: 0,
|
|
9020
9014
|
class: "ux-required-marker"
|
|
9021
9015
|
};
|
|
9022
|
-
const _hoisted_3$
|
|
9016
|
+
const _hoisted_3$a = {
|
|
9023
9017
|
key: 1,
|
|
9024
9018
|
class: "ux-field-description"
|
|
9025
9019
|
};
|
|
9026
|
-
const _hoisted_4$
|
|
9020
|
+
const _hoisted_4$a = {
|
|
9027
9021
|
key: 2,
|
|
9028
9022
|
class: "ui-select-button"
|
|
9029
9023
|
};
|
|
9030
|
-
const _hoisted_5$
|
|
9031
|
-
const _hoisted_6$
|
|
9024
|
+
const _hoisted_5$5 = ["multiple"];
|
|
9025
|
+
const _hoisted_6$4 = {
|
|
9032
9026
|
key: 0,
|
|
9033
9027
|
value: ""
|
|
9034
9028
|
};
|
|
9035
|
-
const _hoisted_7$
|
|
9036
|
-
function _sfc_render$
|
|
9029
|
+
const _hoisted_7$4 = ["value"];
|
|
9030
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9037
9031
|
const _component_ux_button = resolveComponent("ux-button");
|
|
9038
9032
|
return openBlock(), createElementBlock("div", {
|
|
9039
9033
|
class: normalizeClass(["native-select", $options.classes])
|
|
9040
9034
|
}, [
|
|
9041
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
9035
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$i, [
|
|
9042
9036
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
9043
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
9037
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$d, "*")) : createCommentVNode("", true)
|
|
9044
9038
|
])) : createCommentVNode("", true),
|
|
9045
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
9046
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
9039
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$a, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
9040
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
|
|
9047
9041
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
9048
9042
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
9049
9043
|
default: withCtx(() => [
|
|
@@ -9058,23 +9052,23 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9058
9052
|
multiple: _ctx.multiValue,
|
|
9059
9053
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
|
|
9060
9054
|
}, [
|
|
9061
|
-
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$
|
|
9055
|
+
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$4, "None")) : createCommentVNode("", true),
|
|
9062
9056
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
9063
9057
|
return openBlock(), createElementBlock("option", {
|
|
9064
9058
|
value: option2.value
|
|
9065
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
9059
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$4);
|
|
9066
9060
|
}), 256))
|
|
9067
|
-
], 40, _hoisted_5$
|
|
9061
|
+
], 40, _hoisted_5$5), [
|
|
9068
9062
|
[vModelSelect, _ctx.model]
|
|
9069
9063
|
])
|
|
9070
9064
|
], 2);
|
|
9071
9065
|
}
|
|
9072
|
-
var InternalRouteSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9066
|
+
var InternalRouteSelect = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-7662837a"]]);
|
|
9073
9067
|
var InternalMenuSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9074
9068
|
function isUndefined$1(entry) {
|
|
9075
9069
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
9076
9070
|
}
|
|
9077
|
-
const _sfc_main$
|
|
9071
|
+
const _sfc_main$m = {
|
|
9078
9072
|
props: {
|
|
9079
9073
|
title: {
|
|
9080
9074
|
type: String
|
|
@@ -9177,39 +9171,39 @@ const _sfc_main$j = {
|
|
|
9177
9171
|
}
|
|
9178
9172
|
}
|
|
9179
9173
|
};
|
|
9180
|
-
const _hoisted_1$
|
|
9174
|
+
const _hoisted_1$h = {
|
|
9181
9175
|
key: 0,
|
|
9182
9176
|
class: "ux-field-title"
|
|
9183
9177
|
};
|
|
9184
|
-
const _hoisted_2$
|
|
9178
|
+
const _hoisted_2$c = {
|
|
9185
9179
|
key: 0,
|
|
9186
9180
|
class: "ux-required-marker"
|
|
9187
9181
|
};
|
|
9188
|
-
const _hoisted_3$
|
|
9182
|
+
const _hoisted_3$9 = {
|
|
9189
9183
|
key: 1,
|
|
9190
9184
|
class: "ux-field-description"
|
|
9191
9185
|
};
|
|
9192
|
-
const _hoisted_4$
|
|
9186
|
+
const _hoisted_4$9 = {
|
|
9193
9187
|
key: 2,
|
|
9194
9188
|
class: "ui-select-button"
|
|
9195
9189
|
};
|
|
9196
|
-
const _hoisted_5$
|
|
9197
|
-
const _hoisted_6$
|
|
9190
|
+
const _hoisted_5$4 = ["multiple"];
|
|
9191
|
+
const _hoisted_6$3 = {
|
|
9198
9192
|
key: 0,
|
|
9199
9193
|
value: ""
|
|
9200
9194
|
};
|
|
9201
|
-
const _hoisted_7$
|
|
9202
|
-
function _sfc_render$
|
|
9195
|
+
const _hoisted_7$3 = ["value"];
|
|
9196
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9203
9197
|
const _component_ux_button = resolveComponent("ux-button");
|
|
9204
9198
|
return openBlock(), createElementBlock("div", {
|
|
9205
9199
|
class: normalizeClass(["native-select", $options.classes])
|
|
9206
9200
|
}, [
|
|
9207
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
9201
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$h, [
|
|
9208
9202
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
9209
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
9203
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$c, "*")) : createCommentVNode("", true)
|
|
9210
9204
|
])) : createCommentVNode("", true),
|
|
9211
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
9212
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
9205
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$9, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
9206
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$9, [
|
|
9213
9207
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
9214
9208
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
9215
9209
|
default: withCtx(() => [
|
|
@@ -9224,18 +9218,18 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9224
9218
|
multiple: _ctx.multiValue,
|
|
9225
9219
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
|
|
9226
9220
|
}, [
|
|
9227
|
-
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$
|
|
9221
|
+
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$3, "None")) : createCommentVNode("", true),
|
|
9228
9222
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
9229
9223
|
return openBlock(), createElementBlock("option", {
|
|
9230
9224
|
value: option2.value
|
|
9231
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
9225
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$3);
|
|
9232
9226
|
}), 256))
|
|
9233
|
-
], 40, _hoisted_5$
|
|
9227
|
+
], 40, _hoisted_5$4), [
|
|
9234
9228
|
[vModelSelect, _ctx.model]
|
|
9235
9229
|
])
|
|
9236
9230
|
], 2);
|
|
9237
9231
|
}
|
|
9238
|
-
var InternalMenuSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9232
|
+
var InternalMenuSelect = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-a9c8bb64"]]);
|
|
9239
9233
|
var jsep = { exports: {} };
|
|
9240
9234
|
(function(module, exports) {
|
|
9241
9235
|
(function(root2) {
|
|
@@ -10042,7 +10036,7 @@ function computedExpression(key) {
|
|
|
10042
10036
|
return service.evaluateExpression(expression, context);
|
|
10043
10037
|
};
|
|
10044
10038
|
}
|
|
10045
|
-
const _sfc_main$
|
|
10039
|
+
const _sfc_main$l = {
|
|
10046
10040
|
components: {
|
|
10047
10041
|
InternalRouteSelect,
|
|
10048
10042
|
InternalMenuSelect,
|
|
@@ -10067,6 +10061,10 @@ const _sfc_main$i = {
|
|
|
10067
10061
|
CodeEditorField
|
|
10068
10062
|
},
|
|
10069
10063
|
props: {
|
|
10064
|
+
submission: {
|
|
10065
|
+
type: Boolean,
|
|
10066
|
+
default: false
|
|
10067
|
+
},
|
|
10070
10068
|
field: {
|
|
10071
10069
|
type: Object,
|
|
10072
10070
|
required: true
|
|
@@ -10335,7 +10333,7 @@ const _sfc_main$i = {
|
|
|
10335
10333
|
return this.type === "group";
|
|
10336
10334
|
},
|
|
10337
10335
|
asObject() {
|
|
10338
|
-
return this.isGroup && this.actualField.asObject;
|
|
10336
|
+
return this.widget === "form" || this.isGroup && this.actualField.asObject;
|
|
10339
10337
|
},
|
|
10340
10338
|
layoutGroup() {
|
|
10341
10339
|
return this.isGroup && !this.actualField.asObject;
|
|
@@ -10391,6 +10389,9 @@ const _sfc_main$i = {
|
|
|
10391
10389
|
}
|
|
10392
10390
|
var widget = this.actualField.widget;
|
|
10393
10391
|
switch (widget) {
|
|
10392
|
+
case "form":
|
|
10393
|
+
widget = this.submission ? "form" : "content-select";
|
|
10394
|
+
break;
|
|
10394
10395
|
case "internal-menu":
|
|
10395
10396
|
case "internal-route":
|
|
10396
10397
|
case "content-select":
|
|
@@ -10444,11 +10445,11 @@ const _sfc_main$i = {
|
|
|
10444
10445
|
}
|
|
10445
10446
|
}
|
|
10446
10447
|
};
|
|
10447
|
-
const _hoisted_1$
|
|
10448
|
-
key:
|
|
10448
|
+
const _hoisted_1$g = {
|
|
10449
|
+
key: 24,
|
|
10449
10450
|
class: "ux-field-message"
|
|
10450
10451
|
};
|
|
10451
|
-
function _sfc_render$
|
|
10452
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10452
10453
|
const _component_internal_route_select = resolveComponent("internal-route-select");
|
|
10453
10454
|
const _component_internal_menu_select = resolveComponent("internal-menu-select");
|
|
10454
10455
|
const _component_custom_html = resolveComponent("custom-html");
|
|
@@ -10474,8 +10475,8 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10474
10475
|
return $options.visible ? (openBlock(), createElementBlock("div", {
|
|
10475
10476
|
key: 0,
|
|
10476
10477
|
class: normalizeClass(["ux-field", $options.classes]),
|
|
10477
|
-
onFocusin: _cache[
|
|
10478
|
-
onFocusout: _cache[
|
|
10478
|
+
onFocusin: _cache[24] || (_cache[24] = (...args) => $options.focus && $options.focus(...args)),
|
|
10479
|
+
onFocusout: _cache[25] || (_cache[25] = (...args) => $options.blur && $options.blur(...args))
|
|
10479
10480
|
}, [
|
|
10480
10481
|
$options.widget == "internal-route" ? (openBlock(), createBlock(_component_internal_route_select, {
|
|
10481
10482
|
key: 0,
|
|
@@ -10529,6 +10530,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10529
10530
|
$options.widget == "group" ? (openBlock(), createElementBlock(Fragment, { key: 7 }, [
|
|
10530
10531
|
$options.asObject ? (openBlock(), createBlock(_component_field_group, {
|
|
10531
10532
|
key: 0,
|
|
10533
|
+
submission: $props.submission,
|
|
10532
10534
|
"onForm:state": $options.groupStateAltered,
|
|
10533
10535
|
ref: "group",
|
|
10534
10536
|
onTouched: $options.touch,
|
|
@@ -10536,8 +10538,9 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10536
10538
|
parentModel: $props.parentModel,
|
|
10537
10539
|
modelValue: $options.fieldModel,
|
|
10538
10540
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $options.fieldModel = $event)
|
|
10539
|
-
}, null, 8, ["onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
|
|
10541
|
+
}, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
|
|
10540
10542
|
key: 1,
|
|
10543
|
+
submission: $props.submission,
|
|
10541
10544
|
"onForm:state": $options.groupStateAltered,
|
|
10542
10545
|
ref: "group",
|
|
10543
10546
|
onTouched: $options.touch,
|
|
@@ -10545,102 +10548,113 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10545
10548
|
parentModel: $props.parentModel,
|
|
10546
10549
|
modelValue: $options.sourceModel,
|
|
10547
10550
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $options.sourceModel = $event)
|
|
10548
|
-
}, null, 8, ["onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
|
|
10551
|
+
}, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
|
|
10549
10552
|
], 64)) : createCommentVNode("", true),
|
|
10550
|
-
$options.widget == "
|
|
10553
|
+
$options.widget == "form" ? (openBlock(), createBlock(_component_field_group, {
|
|
10551
10554
|
key: 8,
|
|
10555
|
+
submission: $props.submission,
|
|
10556
|
+
"onForm:state": $options.groupStateAltered,
|
|
10557
|
+
ref: "group",
|
|
10552
10558
|
onTouched: $options.touch,
|
|
10553
10559
|
field: $options.actualField,
|
|
10560
|
+
parentModel: $props.parentModel,
|
|
10554
10561
|
modelValue: $options.fieldModel,
|
|
10555
10562
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $options.fieldModel = $event)
|
|
10556
|
-
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10557
|
-
$options.widget == "
|
|
10563
|
+
}, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : createCommentVNode("", true),
|
|
10564
|
+
$options.widget == "select" ? (openBlock(), createBlock(_component_native_select, {
|
|
10558
10565
|
key: 9,
|
|
10559
10566
|
onTouched: $options.touch,
|
|
10560
10567
|
field: $options.actualField,
|
|
10561
10568
|
modelValue: $options.fieldModel,
|
|
10562
10569
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $options.fieldModel = $event)
|
|
10563
10570
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10564
|
-
$options.widget == "
|
|
10571
|
+
$options.widget == "button" ? (openBlock(), createBlock(_component_button_select, {
|
|
10565
10572
|
key: 10,
|
|
10566
10573
|
onTouched: $options.touch,
|
|
10567
10574
|
field: $options.actualField,
|
|
10568
10575
|
modelValue: $options.fieldModel,
|
|
10569
10576
|
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $options.fieldModel = $event)
|
|
10570
10577
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10571
|
-
$options.widget == "
|
|
10578
|
+
$options.widget == "textfield" ? (openBlock(), createBlock(_component_text_field, {
|
|
10572
10579
|
key: 11,
|
|
10573
10580
|
onTouched: $options.touch,
|
|
10574
10581
|
field: $options.actualField,
|
|
10575
10582
|
modelValue: $options.fieldModel,
|
|
10576
10583
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => $options.fieldModel = $event)
|
|
10577
10584
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10578
|
-
$options.widget == "
|
|
10585
|
+
$options.widget == "currency" ? (openBlock(), createBlock(_component_currency_field, {
|
|
10579
10586
|
key: 12,
|
|
10580
10587
|
onTouched: $options.touch,
|
|
10581
10588
|
field: $options.actualField,
|
|
10582
10589
|
modelValue: $options.fieldModel,
|
|
10583
10590
|
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $options.fieldModel = $event)
|
|
10584
10591
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10585
|
-
$options.widget == "
|
|
10592
|
+
$options.widget == "datefield" ? (openBlock(), createBlock(_component_date_field, {
|
|
10586
10593
|
key: 13,
|
|
10587
10594
|
onTouched: $options.touch,
|
|
10588
10595
|
field: $options.actualField,
|
|
10589
10596
|
modelValue: $options.fieldModel,
|
|
10590
10597
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => $options.fieldModel = $event)
|
|
10591
10598
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10592
|
-
$options.widget == "
|
|
10599
|
+
$options.widget == "content-select" ? (openBlock(), createBlock(_component_content_select, {
|
|
10593
10600
|
key: 14,
|
|
10594
10601
|
onTouched: $options.touch,
|
|
10595
10602
|
field: $options.actualField,
|
|
10596
10603
|
modelValue: $options.fieldModel,
|
|
10597
10604
|
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => $options.fieldModel = $event)
|
|
10598
10605
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10599
|
-
$options.widget == "
|
|
10606
|
+
$options.widget == "type-select" ? (openBlock(), createBlock(_component_type_select, {
|
|
10600
10607
|
key: 15,
|
|
10601
10608
|
onTouched: $options.touch,
|
|
10602
10609
|
field: $options.actualField,
|
|
10603
10610
|
modelValue: $options.fieldModel,
|
|
10604
10611
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => $options.fieldModel = $event)
|
|
10605
10612
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10606
|
-
$options.widget == "
|
|
10613
|
+
$options.widget == "richtext" ? (openBlock(), createBlock(_component_text_area, {
|
|
10607
10614
|
key: 16,
|
|
10608
10615
|
onTouched: $options.touch,
|
|
10609
10616
|
field: $options.actualField,
|
|
10610
10617
|
modelValue: $options.fieldModel,
|
|
10611
10618
|
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => $options.fieldModel = $event)
|
|
10612
10619
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10613
|
-
$options.widget == "
|
|
10620
|
+
$options.widget == "textarea" ? (openBlock(), createBlock(_component_text_area, {
|
|
10614
10621
|
key: 17,
|
|
10615
10622
|
onTouched: $options.touch,
|
|
10616
10623
|
field: $options.actualField,
|
|
10617
10624
|
modelValue: $options.fieldModel,
|
|
10618
10625
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => $options.fieldModel = $event)
|
|
10619
10626
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10620
|
-
$options.widget == "
|
|
10627
|
+
$options.widget == "timezone" ? (openBlock(), createBlock(_component_timezone_select, {
|
|
10621
10628
|
key: 18,
|
|
10622
10629
|
onTouched: $options.touch,
|
|
10623
10630
|
field: $options.actualField,
|
|
10624
10631
|
modelValue: $options.fieldModel,
|
|
10625
10632
|
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => $options.fieldModel = $event)
|
|
10626
10633
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10627
|
-
$options.widget == "
|
|
10628
|
-
|
|
10629
|
-
key: 20,
|
|
10634
|
+
$options.widget == "phone" ? (openBlock(), createBlock(_component_phone_number_input, {
|
|
10635
|
+
key: 19,
|
|
10630
10636
|
onTouched: $options.touch,
|
|
10631
10637
|
field: $options.actualField,
|
|
10632
10638
|
modelValue: $options.fieldModel,
|
|
10633
10639
|
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => $options.fieldModel = $event)
|
|
10634
10640
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10635
|
-
$options.widget == "
|
|
10641
|
+
$options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 20 }, [], 64)) : createCommentVNode("", true),
|
|
10642
|
+
$options.widget == "object" ? (openBlock(), createBlock(_component_object_field, {
|
|
10636
10643
|
key: 21,
|
|
10637
10644
|
onTouched: $options.touch,
|
|
10638
10645
|
field: $options.actualField,
|
|
10639
10646
|
modelValue: $options.fieldModel,
|
|
10640
10647
|
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => $options.fieldModel = $event)
|
|
10641
10648
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10642
|
-
$options.widget == "
|
|
10649
|
+
$options.widget == "options" ? (openBlock(), createBlock(_component_options_manager, {
|
|
10643
10650
|
key: 22,
|
|
10651
|
+
onTouched: $options.touch,
|
|
10652
|
+
field: $options.actualField,
|
|
10653
|
+
modelValue: $options.fieldModel,
|
|
10654
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => $options.fieldModel = $event)
|
|
10655
|
+
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10656
|
+
$options.widget == "code" ? (openBlock(), createBlock(_component_flex_column, {
|
|
10657
|
+
key: 23,
|
|
10644
10658
|
style: { "min-height": "300px" }
|
|
10645
10659
|
}, {
|
|
10646
10660
|
default: withCtx(() => [
|
|
@@ -10648,17 +10662,17 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10648
10662
|
onTouched: $options.touch,
|
|
10649
10663
|
field: $options.actualField,
|
|
10650
10664
|
modelValue: $options.fieldModel,
|
|
10651
|
-
"onUpdate:modelValue": _cache[
|
|
10665
|
+
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => $options.fieldModel = $event)
|
|
10652
10666
|
}, null, 8, ["onTouched", "field", "modelValue"])
|
|
10653
10667
|
]),
|
|
10654
10668
|
_: 1
|
|
10655
10669
|
})) : createCommentVNode("", true),
|
|
10656
|
-
$options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10670
|
+
$options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$g, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
|
|
10657
10671
|
], 34)) : createCommentVNode("", true);
|
|
10658
10672
|
}
|
|
10659
|
-
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10673
|
+
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-8477ba44"]]);
|
|
10660
10674
|
var form_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10661
|
-
const _sfc_main$
|
|
10675
|
+
const _sfc_main$k = {
|
|
10662
10676
|
props: {
|
|
10663
10677
|
parentModel: {
|
|
10664
10678
|
type: Object
|
|
@@ -10678,6 +10692,10 @@ const _sfc_main$h = {
|
|
|
10678
10692
|
flex: {
|
|
10679
10693
|
type: Boolean,
|
|
10680
10694
|
default: false
|
|
10695
|
+
},
|
|
10696
|
+
submission: {
|
|
10697
|
+
type: Boolean,
|
|
10698
|
+
default: false
|
|
10681
10699
|
}
|
|
10682
10700
|
},
|
|
10683
10701
|
watch: {
|
|
@@ -10862,47 +10880,173 @@ const _sfc_main$h = {
|
|
|
10862
10880
|
this.$emit("update:modelValue", this.model);
|
|
10863
10881
|
}
|
|
10864
10882
|
},
|
|
10865
|
-
renderFields() {
|
|
10866
|
-
return this.fields.filter(Boolean);
|
|
10883
|
+
renderFields() {
|
|
10884
|
+
return this.fields.filter(Boolean);
|
|
10885
|
+
}
|
|
10886
|
+
}
|
|
10887
|
+
};
|
|
10888
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10889
|
+
const _component_ux_field = resolveComponent("ux-field");
|
|
10890
|
+
return openBlock(), createElementBlock("div", {
|
|
10891
|
+
class: normalizeClass(["ux-form", $options.formClass])
|
|
10892
|
+
}, [
|
|
10893
|
+
renderSlot(_ctx.$slots, "fields", {
|
|
10894
|
+
fields: $options.renderFields,
|
|
10895
|
+
hash: $options.fieldHash
|
|
10896
|
+
}, () => [
|
|
10897
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.renderFields, (field, index2) => {
|
|
10898
|
+
return openBlock(), createBlock(_component_ux_field, {
|
|
10899
|
+
ref_for: true,
|
|
10900
|
+
ref: "field",
|
|
10901
|
+
submission: $props.submission,
|
|
10902
|
+
"onField:mount": $options.fieldMounted,
|
|
10903
|
+
"onField:unmount": $options.fieldUnmounted,
|
|
10904
|
+
"onField:dirty": $options.fieldDirty,
|
|
10905
|
+
"onField:invalid": $options.fieldInvalid,
|
|
10906
|
+
"onField:valid": $options.fieldValid,
|
|
10907
|
+
"onField:error": $options.fieldError,
|
|
10908
|
+
"onField:focus": $options.fieldFocus,
|
|
10909
|
+
"onField:blur": $options.fieldBlur,
|
|
10910
|
+
"onField:touched": $options.fieldTouch,
|
|
10911
|
+
field,
|
|
10912
|
+
modelValue: $options.formModel,
|
|
10913
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.formModel = $event),
|
|
10914
|
+
parentModel: $props.parentModel || $options.formModel,
|
|
10915
|
+
class: normalizeClass($options.fieldClass),
|
|
10916
|
+
key: `ux-form-field-${field.key}-${index2}`
|
|
10917
|
+
}, null, 8, ["submission", "onField:mount", "onField:unmount", "onField:dirty", "onField:invalid", "onField:valid", "onField:error", "onField:focus", "onField:blur", "onField:touched", "field", "modelValue", "parentModel", "class"]);
|
|
10918
|
+
}), 128))
|
|
10919
|
+
], true)
|
|
10920
|
+
], 2);
|
|
10921
|
+
}
|
|
10922
|
+
var UXForm = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-03d1fed4"]]);
|
|
10923
|
+
const STATE_READY = "form.ready";
|
|
10924
|
+
const STATE_PROCESSING = "form.processing";
|
|
10925
|
+
const STATE_COMPLETE = "form.complete";
|
|
10926
|
+
const STATE_ERROR = "form.error";
|
|
10927
|
+
const _sfc_main$j = {
|
|
10928
|
+
methods: {
|
|
10929
|
+
softReset() {
|
|
10930
|
+
this.state = STATE_READY;
|
|
10931
|
+
},
|
|
10932
|
+
reset() {
|
|
10933
|
+
this.model = {};
|
|
10934
|
+
this.state = STATE_READY;
|
|
10935
|
+
this.error = null;
|
|
10936
|
+
},
|
|
10937
|
+
async submit() {
|
|
10938
|
+
const self2 = this;
|
|
10939
|
+
self2.state = STATE_PROCESSING;
|
|
10940
|
+
await self2.preSubmit();
|
|
10941
|
+
const submission = JSON.parse(JSON.stringify(self2.model));
|
|
10942
|
+
await new Promise(function(resolve, reject) {
|
|
10943
|
+
self2.$qik.api.post(`/form/${self2.formID}`, submission).then(function(res) {
|
|
10944
|
+
return resolve(res.data);
|
|
10945
|
+
}, function(err) {
|
|
10946
|
+
self2.error = err;
|
|
10947
|
+
self2.state = STATE_ERROR;
|
|
10948
|
+
return reject(err);
|
|
10949
|
+
});
|
|
10950
|
+
});
|
|
10951
|
+
await self2.postSubmit();
|
|
10952
|
+
self2.state = STATE_COMPLETE;
|
|
10953
|
+
},
|
|
10954
|
+
async preSubmit() {
|
|
10955
|
+
},
|
|
10956
|
+
async postSubmit() {
|
|
10957
|
+
}
|
|
10958
|
+
},
|
|
10959
|
+
components: {
|
|
10960
|
+
UxForm: UXForm
|
|
10961
|
+
},
|
|
10962
|
+
props: {
|
|
10963
|
+
modelValue: {
|
|
10964
|
+
type: Object,
|
|
10965
|
+
default() {
|
|
10966
|
+
return {};
|
|
10967
|
+
}
|
|
10968
|
+
},
|
|
10969
|
+
form: {
|
|
10970
|
+
type: Object,
|
|
10971
|
+
required: true
|
|
10972
|
+
}
|
|
10973
|
+
},
|
|
10974
|
+
watch: {
|
|
10975
|
+
modelValue(val, old) {
|
|
10976
|
+
this.model = val;
|
|
10977
|
+
}
|
|
10978
|
+
},
|
|
10979
|
+
data() {
|
|
10980
|
+
return {
|
|
10981
|
+
state: STATE_READY,
|
|
10982
|
+
mounted: false,
|
|
10983
|
+
model: this.modelValue,
|
|
10984
|
+
error: null
|
|
10985
|
+
};
|
|
10986
|
+
},
|
|
10987
|
+
mounted() {
|
|
10988
|
+
this.mounted = true;
|
|
10989
|
+
},
|
|
10990
|
+
beforeUnmount() {
|
|
10991
|
+
this.mounted = false;
|
|
10992
|
+
},
|
|
10993
|
+
computed: {
|
|
10994
|
+
formID() {
|
|
10995
|
+
return this.$qik.utils.id(this.form);
|
|
10996
|
+
},
|
|
10997
|
+
fields() {
|
|
10998
|
+
return this.form.fields || [];
|
|
10867
10999
|
}
|
|
10868
11000
|
}
|
|
10869
11001
|
};
|
|
10870
|
-
|
|
10871
|
-
|
|
10872
|
-
|
|
10873
|
-
|
|
10874
|
-
|
|
10875
|
-
|
|
10876
|
-
|
|
10877
|
-
|
|
10878
|
-
|
|
10879
|
-
|
|
10880
|
-
|
|
10881
|
-
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
|
|
10885
|
-
|
|
10886
|
-
|
|
10887
|
-
|
|
10888
|
-
|
|
10889
|
-
|
|
10890
|
-
|
|
10891
|
-
|
|
10892
|
-
|
|
10893
|
-
|
|
10894
|
-
|
|
10895
|
-
|
|
10896
|
-
|
|
10897
|
-
|
|
10898
|
-
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
|
|
11002
|
+
const _hoisted_1$f = { class: "ux-submission-form" };
|
|
11003
|
+
const _hoisted_2$b = /* @__PURE__ */ createTextVNode(" Try again ");
|
|
11004
|
+
const _hoisted_3$8 = /* @__PURE__ */ createTextVNode(" Complete! ");
|
|
11005
|
+
const _hoisted_4$8 = /* @__PURE__ */ createTextVNode(" Back to form ");
|
|
11006
|
+
const _hoisted_5$3 = /* @__PURE__ */ createTextVNode(" Submit ");
|
|
11007
|
+
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11008
|
+
const _component_ux_button = resolveComponent("ux-button");
|
|
11009
|
+
const _component_ux_form = resolveComponent("ux-form");
|
|
11010
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
11011
|
+
$data.state === "form.error" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11012
|
+
createElementVNode("pre", null, toDisplayString($data.error), 1),
|
|
11013
|
+
createVNode(_component_ux_button, { onClick: $options.softReset }, {
|
|
11014
|
+
default: withCtx(() => [
|
|
11015
|
+
_hoisted_2$b
|
|
11016
|
+
]),
|
|
11017
|
+
_: 1
|
|
11018
|
+
}, 8, ["onClick"])
|
|
11019
|
+
], 64)) : $data.state === "form.complete" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
11020
|
+
_hoisted_3$8,
|
|
11021
|
+
createVNode(_component_ux_button, { onClick: $options.reset }, {
|
|
11022
|
+
default: withCtx(() => [
|
|
11023
|
+
_hoisted_4$8
|
|
11024
|
+
]),
|
|
11025
|
+
_: 1
|
|
11026
|
+
}, 8, ["onClick"])
|
|
11027
|
+
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
11028
|
+
createVNode(_component_ux_form, {
|
|
11029
|
+
submission: "",
|
|
11030
|
+
modelValue: $data.model,
|
|
11031
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model = $event),
|
|
11032
|
+
fields: $options.fields
|
|
11033
|
+
}, null, 8, ["modelValue", "fields"]),
|
|
11034
|
+
createVNode(_component_ux_button, {
|
|
11035
|
+
color: "primary",
|
|
11036
|
+
onClick: $options.submit,
|
|
11037
|
+
loading: $data.state === "form.processing"
|
|
11038
|
+
}, {
|
|
11039
|
+
default: withCtx(() => [
|
|
11040
|
+
_hoisted_5$3
|
|
11041
|
+
]),
|
|
11042
|
+
_: 1
|
|
11043
|
+
}, 8, ["onClick", "loading"])
|
|
11044
|
+
], 64))
|
|
11045
|
+
]);
|
|
10902
11046
|
}
|
|
10903
|
-
var
|
|
11047
|
+
var UXSubmissionForm = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j]]);
|
|
10904
11048
|
var search_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10905
|
-
const _sfc_main$
|
|
11049
|
+
const _sfc_main$i = {
|
|
10906
11050
|
props: {
|
|
10907
11051
|
modelValue: {
|
|
10908
11052
|
type: String
|
|
@@ -10967,15 +11111,15 @@ const _sfc_main$g = {
|
|
|
10967
11111
|
}
|
|
10968
11112
|
}
|
|
10969
11113
|
};
|
|
10970
|
-
const _hoisted_1$
|
|
10971
|
-
const _hoisted_2$
|
|
10972
|
-
function _sfc_render$
|
|
11114
|
+
const _hoisted_1$e = { class: "search" };
|
|
11115
|
+
const _hoisted_2$a = ["placeholder"];
|
|
11116
|
+
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10973
11117
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
10974
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11118
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
10975
11119
|
withDirectives(createElementVNode("input", {
|
|
10976
11120
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.model = $event),
|
|
10977
11121
|
placeholder: $props.placeholder
|
|
10978
|
-
}, null, 8, _hoisted_2$
|
|
11122
|
+
}, null, 8, _hoisted_2$a), [
|
|
10979
11123
|
[vModelText, $options.model]
|
|
10980
11124
|
]),
|
|
10981
11125
|
createElementVNode("div", {
|
|
@@ -10986,7 +11130,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10986
11130
|
])
|
|
10987
11131
|
]);
|
|
10988
11132
|
}
|
|
10989
|
-
var Search = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11133
|
+
var Search = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-0a1831cd"]]);
|
|
10990
11134
|
var RenderMixin = {
|
|
10991
11135
|
props: {
|
|
10992
11136
|
field: {
|
|
@@ -11081,11 +11225,15 @@ var RenderMixin = {
|
|
|
11081
11225
|
}
|
|
11082
11226
|
};
|
|
11083
11227
|
var group_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11084
|
-
const _sfc_main$
|
|
11228
|
+
const _sfc_main$h = {
|
|
11085
11229
|
mixins: [RenderMixin],
|
|
11086
11230
|
props: {
|
|
11087
11231
|
modelValue: {
|
|
11088
11232
|
type: [Object, Array]
|
|
11233
|
+
},
|
|
11234
|
+
submission: {
|
|
11235
|
+
type: Boolean,
|
|
11236
|
+
default: false
|
|
11089
11237
|
}
|
|
11090
11238
|
},
|
|
11091
11239
|
computed: {
|
|
@@ -11108,18 +11256,18 @@ const _sfc_main$f = {
|
|
|
11108
11256
|
}
|
|
11109
11257
|
}
|
|
11110
11258
|
};
|
|
11111
|
-
const _hoisted_1$
|
|
11259
|
+
const _hoisted_1$d = {
|
|
11112
11260
|
key: 0,
|
|
11113
11261
|
class: "ux-multi-group"
|
|
11114
11262
|
};
|
|
11115
|
-
function _sfc_render$
|
|
11263
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11116
11264
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
11117
11265
|
const _component_flex_row = resolveComponent("flex-row");
|
|
11118
11266
|
const _component_ux_panel_header = resolveComponent("ux-panel-header");
|
|
11119
11267
|
const _component_ux_render = resolveComponent("ux-render");
|
|
11120
11268
|
const _component_ux_panel_body = resolveComponent("ux-panel-body");
|
|
11121
11269
|
const _component_ux_panel = resolveComponent("ux-panel");
|
|
11122
|
-
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
11270
|
+
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
11123
11271
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
11124
11272
|
return openBlock(), createBlock(_component_ux_panel, {
|
|
11125
11273
|
ref_for: true,
|
|
@@ -11148,12 +11296,13 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11148
11296
|
createVNode(_component_ux_panel_body, null, {
|
|
11149
11297
|
default: withCtx(() => [
|
|
11150
11298
|
createVNode(_component_ux_render, {
|
|
11299
|
+
submission: $props.submission,
|
|
11151
11300
|
fields: _ctx.fields,
|
|
11152
11301
|
flex: $options.sameLine,
|
|
11153
11302
|
parentModel: _ctx.parentModel,
|
|
11154
11303
|
modelValue: _ctx.model[index2],
|
|
11155
11304
|
"onUpdate:modelValue": ($event) => _ctx.model[index2] = $event
|
|
11156
|
-
}, null, 8, ["fields", "flex", "parentModel", "modelValue", "onUpdate:modelValue"])
|
|
11305
|
+
}, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue", "onUpdate:modelValue"])
|
|
11157
11306
|
]),
|
|
11158
11307
|
_: 2
|
|
11159
11308
|
}, 1024)
|
|
@@ -11163,16 +11312,17 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11163
11312
|
}), 128))
|
|
11164
11313
|
])) : (openBlock(), createBlock(_component_ux_render, {
|
|
11165
11314
|
key: 1,
|
|
11315
|
+
submission: $props.submission,
|
|
11166
11316
|
fields: _ctx.fields,
|
|
11167
11317
|
flex: $options.sameLine,
|
|
11168
11318
|
parentModel: _ctx.parentModel,
|
|
11169
11319
|
modelValue: _ctx.model,
|
|
11170
11320
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model = $event)
|
|
11171
|
-
}, null, 8, ["fields", "flex", "parentModel", "modelValue"]));
|
|
11321
|
+
}, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue"]));
|
|
11172
11322
|
}
|
|
11173
|
-
var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11323
|
+
var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-1d1202c5"]]);
|
|
11174
11324
|
var field_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11175
|
-
const _sfc_main$
|
|
11325
|
+
const _sfc_main$g = {
|
|
11176
11326
|
components: {
|
|
11177
11327
|
Item,
|
|
11178
11328
|
FieldGroup
|
|
@@ -11188,6 +11338,10 @@ const _sfc_main$e = {
|
|
|
11188
11338
|
modelValue: {
|
|
11189
11339
|
type: Object,
|
|
11190
11340
|
required: true
|
|
11341
|
+
},
|
|
11342
|
+
submission: {
|
|
11343
|
+
type: Boolean,
|
|
11344
|
+
default: false
|
|
11191
11345
|
}
|
|
11192
11346
|
},
|
|
11193
11347
|
data() {
|
|
@@ -11219,11 +11373,14 @@ const _sfc_main$e = {
|
|
|
11219
11373
|
type() {
|
|
11220
11374
|
return this.field.type || "string";
|
|
11221
11375
|
},
|
|
11376
|
+
isEmbedded() {
|
|
11377
|
+
return this.submission && (this.field.widget === "form" && this.field.type === "reference");
|
|
11378
|
+
},
|
|
11222
11379
|
isGroup() {
|
|
11223
|
-
return this.type === "group";
|
|
11380
|
+
return this.isEmbedded || this.type === "group";
|
|
11224
11381
|
},
|
|
11225
11382
|
asObject() {
|
|
11226
|
-
return this.isGroup && this.field.asObject;
|
|
11383
|
+
return this.isEmbedded || this.isGroup && this.field.asObject;
|
|
11227
11384
|
},
|
|
11228
11385
|
isNumber() {
|
|
11229
11386
|
switch (this.type) {
|
|
@@ -11267,7 +11424,9 @@ const _sfc_main$e = {
|
|
|
11267
11424
|
return this.getExpressionHide;
|
|
11268
11425
|
},
|
|
11269
11426
|
visible() {
|
|
11270
|
-
|
|
11427
|
+
var visible = !this.hidden;
|
|
11428
|
+
var hasModel = this.layoutGroup || this.fieldModel;
|
|
11429
|
+
return visible && hasModel;
|
|
11271
11430
|
},
|
|
11272
11431
|
type() {
|
|
11273
11432
|
return this.field.type || "string";
|
|
@@ -11312,6 +11471,9 @@ const _sfc_main$e = {
|
|
|
11312
11471
|
}
|
|
11313
11472
|
var widget = this.field.widget;
|
|
11314
11473
|
switch (widget) {
|
|
11474
|
+
case "form":
|
|
11475
|
+
widget = this.submission ? "form" : "content-select";
|
|
11476
|
+
break;
|
|
11315
11477
|
case "content-select":
|
|
11316
11478
|
case "select":
|
|
11317
11479
|
case "checkbox":
|
|
@@ -11350,94 +11512,112 @@ const _sfc_main$e = {
|
|
|
11350
11512
|
}
|
|
11351
11513
|
}
|
|
11352
11514
|
};
|
|
11353
|
-
const _hoisted_1$
|
|
11354
|
-
const _hoisted_2$
|
|
11355
|
-
const _hoisted_3$
|
|
11356
|
-
const _hoisted_4$
|
|
11357
|
-
const _hoisted_5$2 =
|
|
11358
|
-
const _hoisted_6$
|
|
11359
|
-
const _hoisted_7$
|
|
11515
|
+
const _hoisted_1$c = { class: "ux-field-title" };
|
|
11516
|
+
const _hoisted_2$9 = { class: "ux-field-description" };
|
|
11517
|
+
const _hoisted_3$7 = { key: 1 };
|
|
11518
|
+
const _hoisted_4$7 = { key: 1 };
|
|
11519
|
+
const _hoisted_5$2 = { key: 1 };
|
|
11520
|
+
const _hoisted_6$2 = ["href"];
|
|
11521
|
+
const _hoisted_7$2 = { key: 1 };
|
|
11360
11522
|
const _hoisted_8$1 = ["href"];
|
|
11361
|
-
const _hoisted_9 =
|
|
11362
|
-
const _hoisted_10 =
|
|
11363
|
-
const _hoisted_11 =
|
|
11364
|
-
|
|
11365
|
-
|
|
11523
|
+
const _hoisted_9 = ["href"];
|
|
11524
|
+
const _hoisted_10 = { key: 1 };
|
|
11525
|
+
const _hoisted_11 = ["href"];
|
|
11526
|
+
const _hoisted_12 = { key: 1 };
|
|
11527
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11366
11528
|
const _component_field_group = resolveComponent("field-group");
|
|
11529
|
+
const _component_item = resolveComponent("item");
|
|
11367
11530
|
return $options.visible ? (openBlock(), createElementBlock("div", {
|
|
11368
11531
|
key: 0,
|
|
11369
11532
|
class: normalizeClass(["ux-field-render", $options.classes])
|
|
11370
11533
|
}, [
|
|
11371
|
-
createElementVNode("label", _hoisted_1$
|
|
11372
|
-
createElementVNode("div", _hoisted_2$
|
|
11373
|
-
$options.
|
|
11374
|
-
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (item, index2) => {
|
|
11375
|
-
return openBlock(), createBlock(_component_item, {
|
|
11376
|
-
key: item._id,
|
|
11377
|
-
item
|
|
11378
|
-
}, null, 8, ["item"]);
|
|
11379
|
-
}), 128)) : (openBlock(), createBlock(_component_item, {
|
|
11380
|
-
key: 1,
|
|
11381
|
-
item: $options.fieldModel
|
|
11382
|
-
}, null, 8, ["item"]))
|
|
11383
|
-
], 64)) : createCommentVNode("", true),
|
|
11384
|
-
$options.widget == "group" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
11534
|
+
createElementVNode("label", _hoisted_1$c, toDisplayString($options.title), 1),
|
|
11535
|
+
createElementVNode("div", _hoisted_2$9, toDisplayString($props.field.description), 1),
|
|
11536
|
+
$options.widget === "group" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11385
11537
|
$options.asObject ? (openBlock(), createBlock(_component_field_group, {
|
|
11386
11538
|
key: 0,
|
|
11539
|
+
submission: $props.submission,
|
|
11387
11540
|
field: $props.field,
|
|
11388
11541
|
parentModel: $props.parentModel,
|
|
11389
11542
|
modelValue: $options.fieldModel,
|
|
11390
11543
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.fieldModel = $event)
|
|
11391
|
-
}, null, 8, ["field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
|
|
11544
|
+
}, null, 8, ["submission", "field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
|
|
11392
11545
|
key: 1,
|
|
11546
|
+
submission: $props.submission,
|
|
11393
11547
|
field: $props.field,
|
|
11394
11548
|
parentModel: $props.parentModel,
|
|
11395
11549
|
modelValue: $options.sourceModel,
|
|
11396
11550
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $options.sourceModel = $event)
|
|
11397
|
-
}, null, 8, ["field", "parentModel", "modelValue"]))
|
|
11398
|
-
], 64)) :
|
|
11399
|
-
|
|
11400
|
-
|
|
11401
|
-
|
|
11402
|
-
|
|
11403
|
-
|
|
11404
|
-
|
|
11405
|
-
|
|
11406
|
-
|
|
11407
|
-
|
|
11408
|
-
|
|
11409
|
-
|
|
11410
|
-
|
|
11411
|
-
|
|
11551
|
+
}, null, 8, ["submission", "field", "parentModel", "modelValue"]))
|
|
11552
|
+
], 64)) : $options.widget === "form" ? (openBlock(), createBlock(_component_field_group, {
|
|
11553
|
+
key: 1,
|
|
11554
|
+
submission: $props.submission,
|
|
11555
|
+
field: $props.field,
|
|
11556
|
+
parentModel: $props.parentModel,
|
|
11557
|
+
modelValue: $options.fieldModel,
|
|
11558
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $options.fieldModel = $event)
|
|
11559
|
+
}, null, 8, ["submission", "field", "parentModel", "modelValue"])) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
11560
|
+
$options.type === "reference" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11561
|
+
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (item, index2) => {
|
|
11562
|
+
return openBlock(), createBlock(_component_item, {
|
|
11563
|
+
submission: $props.submission,
|
|
11564
|
+
key: item._id,
|
|
11565
|
+
item
|
|
11566
|
+
}, null, 8, ["submission", "item"]);
|
|
11567
|
+
}), 128)) : (openBlock(), createBlock(_component_item, {
|
|
11568
|
+
key: 1,
|
|
11569
|
+
submission: $props.submission,
|
|
11570
|
+
item: $options.fieldModel
|
|
11571
|
+
}, null, 8, ["submission", "item"]))
|
|
11572
|
+
], 64)) : createCommentVNode("", true),
|
|
11573
|
+
$options.type == "string" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
11574
|
+
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
11575
|
+
return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
|
|
11576
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_3$7, toDisplayString($options.fieldModel), 1))
|
|
11577
|
+
], 64)) : createCommentVNode("", true),
|
|
11578
|
+
$options.type == "boolean" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
11579
|
+
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
11580
|
+
return openBlock(), createElementBlock("div", null, toDisplayString(!!value), 1);
|
|
11581
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$7, toDisplayString(!!$options.fieldModel), 1))
|
|
11582
|
+
], 64)) : createCommentVNode("", true),
|
|
11583
|
+
$options.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
11584
|
+
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
11585
|
+
return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
|
|
11586
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_5$2, toDisplayString($options.fieldModel), 1))
|
|
11587
|
+
], 64)) : createCommentVNode("", true),
|
|
11588
|
+
$options.type == "email" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
|
|
11589
|
+
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
11590
|
+
return openBlock(), createElementBlock("div", null, [
|
|
11591
|
+
createElementVNode("a", {
|
|
11592
|
+
href: `mailto:${value}`
|
|
11593
|
+
}, toDisplayString(value), 9, _hoisted_6$2)
|
|
11594
|
+
]);
|
|
11595
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_7$2, [
|
|
11412
11596
|
createElementVNode("a", {
|
|
11413
|
-
href: `mailto:${
|
|
11414
|
-
}, toDisplayString(
|
|
11415
|
-
])
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11420
|
-
|
|
11421
|
-
|
|
11422
|
-
|
|
11423
|
-
|
|
11424
|
-
|
|
11425
|
-
|
|
11426
|
-
|
|
11427
|
-
|
|
11428
|
-
|
|
11429
|
-
|
|
11430
|
-
|
|
11431
|
-
|
|
11432
|
-
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
11433
|
-
return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
|
|
11434
|
-
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_11, toDisplayString($options.fieldModel), 1))
|
|
11435
|
-
], 64)) : createCommentVNode("", true)
|
|
11597
|
+
href: `mailto:${$options.fieldModel}`
|
|
11598
|
+
}, toDisplayString($options.fieldModel), 9, _hoisted_8$1)
|
|
11599
|
+
]))
|
|
11600
|
+
], 64)) : createCommentVNode("", true),
|
|
11601
|
+
$options.type == "url" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
|
|
11602
|
+
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
11603
|
+
return openBlock(), createElementBlock("div", null, [
|
|
11604
|
+
createElementVNode("a", { href: value }, toDisplayString(value), 9, _hoisted_9)
|
|
11605
|
+
]);
|
|
11606
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
11607
|
+
createElementVNode("a", { href: $options.fieldModel }, toDisplayString($options.fieldModel), 9, _hoisted_11)
|
|
11608
|
+
]))
|
|
11609
|
+
], 64)) : createCommentVNode("", true),
|
|
11610
|
+
$options.isNumber ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
|
|
11611
|
+
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
11612
|
+
return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
|
|
11613
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_12, toDisplayString($options.fieldModel), 1))
|
|
11614
|
+
], 64)) : createCommentVNode("", true)
|
|
11615
|
+
], 64))
|
|
11436
11616
|
], 2)) : createCommentVNode("", true);
|
|
11437
11617
|
}
|
|
11438
|
-
var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11618
|
+
var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-28427b70"]]);
|
|
11439
11619
|
var render_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11440
|
-
const _sfc_main$
|
|
11620
|
+
const _sfc_main$f = {
|
|
11441
11621
|
props: {
|
|
11442
11622
|
parentModel: {
|
|
11443
11623
|
type: Object
|
|
@@ -11457,6 +11637,10 @@ const _sfc_main$d = {
|
|
|
11457
11637
|
flex: {
|
|
11458
11638
|
type: Boolean,
|
|
11459
11639
|
default: false
|
|
11640
|
+
},
|
|
11641
|
+
submission: {
|
|
11642
|
+
type: Boolean,
|
|
11643
|
+
default: false
|
|
11460
11644
|
}
|
|
11461
11645
|
},
|
|
11462
11646
|
watch: {
|
|
@@ -11492,7 +11676,7 @@ const _sfc_main$d = {
|
|
|
11492
11676
|
}
|
|
11493
11677
|
}
|
|
11494
11678
|
};
|
|
11495
|
-
function _sfc_render$
|
|
11679
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11496
11680
|
const _component_ux_field_render = resolveComponent("ux-field-render");
|
|
11497
11681
|
return openBlock(), createElementBlock("div", {
|
|
11498
11682
|
class: normalizeClass(["ux-render", $options.renderClass])
|
|
@@ -11500,18 +11684,19 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11500
11684
|
renderSlot(_ctx.$slots, "render", { fields: $props.fields }, () => [
|
|
11501
11685
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.renderFields, (field, index2) => {
|
|
11502
11686
|
return openBlock(), createBlock(_component_ux_field_render, {
|
|
11687
|
+
submission: $props.submission,
|
|
11503
11688
|
field,
|
|
11504
11689
|
modelValue: $data.model,
|
|
11505
11690
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model = $event),
|
|
11506
11691
|
parentModel: $props.parentModel || $data.model,
|
|
11507
11692
|
key: `ux-render-field-${field.key}-${index2}`,
|
|
11508
11693
|
class: normalizeClass($options.fieldClass)
|
|
11509
|
-
}, null, 8, ["field", "modelValue", "parentModel", "class"]);
|
|
11694
|
+
}, null, 8, ["submission", "field", "modelValue", "parentModel", "class"]);
|
|
11510
11695
|
}), 128))
|
|
11511
11696
|
], true)
|
|
11512
11697
|
], 2);
|
|
11513
11698
|
}
|
|
11514
|
-
var UXRender = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11699
|
+
var UXRender = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-4d848e06"]]);
|
|
11515
11700
|
var isArray$3 = Array.isArray;
|
|
11516
11701
|
var isArray_1 = isArray$3;
|
|
11517
11702
|
var isArray$2 = isArray_1, isSymbol$2 = isSymbol_1;
|
|
@@ -11915,7 +12100,7 @@ var TableCellMixin = {
|
|
|
11915
12100
|
}
|
|
11916
12101
|
};
|
|
11917
12102
|
var Thumbnail_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11918
|
-
const _sfc_main$
|
|
12103
|
+
const _sfc_main$e = {
|
|
11919
12104
|
mixins: [TableCellMixin],
|
|
11920
12105
|
computed: {
|
|
11921
12106
|
type() {
|
|
@@ -11924,11 +12109,11 @@ const _sfc_main$c = {
|
|
|
11924
12109
|
}
|
|
11925
12110
|
}
|
|
11926
12111
|
};
|
|
11927
|
-
const _hoisted_1$
|
|
11928
|
-
function _sfc_render$
|
|
12112
|
+
const _hoisted_1$b = { class: "table-image-cell" };
|
|
12113
|
+
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11929
12114
|
const _component_ux_image = resolveComponent("ux-image");
|
|
11930
12115
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
11931
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
12116
|
+
return openBlock(), createElementBlock("td", _hoisted_1$b, [
|
|
11932
12117
|
$options.type == "image" || $options.type == "video" ? (openBlock(), createBlock(_component_ux_image, {
|
|
11933
12118
|
key: 0,
|
|
11934
12119
|
item: _ctx.row,
|
|
@@ -11940,9 +12125,9 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11940
12125
|
}))
|
|
11941
12126
|
]);
|
|
11942
12127
|
}
|
|
11943
|
-
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12128
|
+
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-6dbe8d2c"]]);
|
|
11944
12129
|
var Button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11945
|
-
const _sfc_main$
|
|
12130
|
+
const _sfc_main$d = {
|
|
11946
12131
|
data() {
|
|
11947
12132
|
return {
|
|
11948
12133
|
processing: false
|
|
@@ -11966,11 +12151,11 @@ const _sfc_main$b = {
|
|
|
11966
12151
|
}
|
|
11967
12152
|
}
|
|
11968
12153
|
};
|
|
11969
|
-
const _hoisted_1$
|
|
11970
|
-
function _sfc_render$
|
|
12154
|
+
const _hoisted_1$a = { class: "table-button-cell" };
|
|
12155
|
+
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11971
12156
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
11972
12157
|
const _component_ux_button = resolveComponent("ux-button");
|
|
11973
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
12158
|
+
return openBlock(), createElementBlock("td", _hoisted_1$a, [
|
|
11974
12159
|
createVNode(_component_ux_button, {
|
|
11975
12160
|
size: $options.button.size,
|
|
11976
12161
|
loading: $data.processing,
|
|
@@ -11990,7 +12175,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11990
12175
|
}, 8, ["size", "loading", "onClick"])
|
|
11991
12176
|
]);
|
|
11992
12177
|
}
|
|
11993
|
-
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12178
|
+
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-3cbecb7e"]]);
|
|
11994
12179
|
class LuxonError extends Error {
|
|
11995
12180
|
}
|
|
11996
12181
|
class InvalidDateTimeError extends LuxonError {
|
|
@@ -15823,6 +16008,72 @@ function friendlyDateTime(dateTimeish) {
|
|
|
15823
16008
|
throw new InvalidArgumentError(`Unknown datetime argument: ${dateTimeish}, of type ${typeof dateTimeish}`);
|
|
15824
16009
|
}
|
|
15825
16010
|
}
|
|
16011
|
+
var DateCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16012
|
+
const _sfc_main$c = {
|
|
16013
|
+
mixins: [TableCellMixin],
|
|
16014
|
+
computed: {
|
|
16015
|
+
timeago() {
|
|
16016
|
+
return DateTime.fromISO(this.value).toRelative();
|
|
16017
|
+
},
|
|
16018
|
+
readable() {
|
|
16019
|
+
let value = DateTime.fromISO(this.value);
|
|
16020
|
+
let now2 = DateTime.now();
|
|
16021
|
+
let currentYear = now2.toFormat("yyyy");
|
|
16022
|
+
now2.toFormat("MMM yyyy");
|
|
16023
|
+
if (value.toFormat("yyyy") === currentYear) {
|
|
16024
|
+
return DateTime.fromISO(this.value).toFormat("h:mm a - dd MMM");
|
|
16025
|
+
}
|
|
16026
|
+
return DateTime.fromISO(this.value).toFormat("h:mm a - dd MMM yyyy");
|
|
16027
|
+
}
|
|
16028
|
+
}
|
|
16029
|
+
};
|
|
16030
|
+
const _hoisted_1$9 = { class: "table-date-cell" };
|
|
16031
|
+
const _hoisted_2$8 = { class: "off" };
|
|
16032
|
+
const _hoisted_3$6 = { class: "on" };
|
|
16033
|
+
const _hoisted_4$6 = { class: "spacer" };
|
|
16034
|
+
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16035
|
+
return openBlock(), createElementBlock("td", _hoisted_1$9, [
|
|
16036
|
+
createElementVNode("div", null, [
|
|
16037
|
+
createElementVNode("span", _hoisted_2$8, toDisplayString($options.readable), 1),
|
|
16038
|
+
createElementVNode("span", _hoisted_3$6, toDisplayString($options.timeago), 1),
|
|
16039
|
+
createElementVNode("span", _hoisted_4$6, toDisplayString($options.readable), 1)
|
|
16040
|
+
])
|
|
16041
|
+
]);
|
|
16042
|
+
}
|
|
16043
|
+
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-bde0ae3a"]]);
|
|
16044
|
+
var URLCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16045
|
+
const _sfc_main$b = {
|
|
16046
|
+
mixins: [TableCellMixin],
|
|
16047
|
+
methods: {
|
|
16048
|
+
open() {
|
|
16049
|
+
window.open(this.href);
|
|
16050
|
+
}
|
|
16051
|
+
},
|
|
16052
|
+
computed: {
|
|
16053
|
+
href() {
|
|
16054
|
+
return `http://${this.value}`;
|
|
16055
|
+
}
|
|
16056
|
+
}
|
|
16057
|
+
};
|
|
16058
|
+
const _hoisted_1$8 = { class: "table-url-cell" };
|
|
16059
|
+
const _hoisted_2$7 = ["href"];
|
|
16060
|
+
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16061
|
+
const _component_ux_icon = resolveComponent("ux-icon");
|
|
16062
|
+
return openBlock(), createElementBlock("td", _hoisted_1$8, [
|
|
16063
|
+
createElementVNode("a", {
|
|
16064
|
+
href: $options.href,
|
|
16065
|
+
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
|
|
16066
|
+
target: "_blank"
|
|
16067
|
+
}, [
|
|
16068
|
+
createTextVNode(toDisplayString(_ctx.value) + " ", 1),
|
|
16069
|
+
createVNode(_component_ux_icon, {
|
|
16070
|
+
right: "",
|
|
16071
|
+
icon: "fa-external-link"
|
|
16072
|
+
})
|
|
16073
|
+
], 8, _hoisted_2$7)
|
|
16074
|
+
]);
|
|
16075
|
+
}
|
|
16076
|
+
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-17cf3a86"]]);
|
|
15826
16077
|
var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
15827
16078
|
const _sfc_main$a = {
|
|
15828
16079
|
props: {
|
|
@@ -15831,6 +16082,9 @@ const _sfc_main$a = {
|
|
|
15831
16082
|
},
|
|
15832
16083
|
type: {
|
|
15833
16084
|
type: String
|
|
16085
|
+
},
|
|
16086
|
+
widget: {
|
|
16087
|
+
type: String
|
|
15834
16088
|
}
|
|
15835
16089
|
},
|
|
15836
16090
|
computed: {
|
|
@@ -15842,6 +16096,19 @@ const _sfc_main$a = {
|
|
|
15842
16096
|
},
|
|
15843
16097
|
date() {
|
|
15844
16098
|
return DateTime.fromISO(this.value).toFormat("dd MMM yyyy");
|
|
16099
|
+
},
|
|
16100
|
+
actualWidget() {
|
|
16101
|
+
var widget;
|
|
16102
|
+
if (this.widget) {
|
|
16103
|
+
widget = this.widget;
|
|
16104
|
+
} else {
|
|
16105
|
+
switch (this.type) {
|
|
16106
|
+
case "date":
|
|
16107
|
+
widget = "datetime";
|
|
16108
|
+
break;
|
|
16109
|
+
}
|
|
16110
|
+
}
|
|
16111
|
+
return widget;
|
|
15845
16112
|
}
|
|
15846
16113
|
},
|
|
15847
16114
|
methods: {
|
|
@@ -15860,7 +16127,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15860
16127
|
createTextVNode(toDisplayString($options.renderValue), 1)
|
|
15861
16128
|
], 64));
|
|
15862
16129
|
}
|
|
15863
|
-
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-
|
|
16130
|
+
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-1d4b9bcb"]]);
|
|
15864
16131
|
var TableCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
15865
16132
|
const _sfc_main$9 = {
|
|
15866
16133
|
data() {
|
|
@@ -15872,16 +16139,36 @@ const _sfc_main$9 = {
|
|
|
15872
16139
|
ValueRenderer
|
|
15873
16140
|
},
|
|
15874
16141
|
async created() {
|
|
15875
|
-
|
|
15876
|
-
|
|
16142
|
+
const self2 = this;
|
|
16143
|
+
let component;
|
|
16144
|
+
const cellType = self2.column.type;
|
|
16145
|
+
const cellRenderer = self2.column.renderer;
|
|
16146
|
+
switch (cellRenderer) {
|
|
15877
16147
|
case "button":
|
|
15878
16148
|
component = ButtonCell;
|
|
15879
16149
|
break;
|
|
16150
|
+
case "date":
|
|
16151
|
+
case "datetime":
|
|
16152
|
+
component = DateCell;
|
|
16153
|
+
break;
|
|
16154
|
+
case "url":
|
|
16155
|
+
component = URLCell;
|
|
16156
|
+
break;
|
|
15880
16157
|
case "thumbnail":
|
|
15881
16158
|
component = ThumbnailCell;
|
|
15882
16159
|
break;
|
|
16160
|
+
default:
|
|
16161
|
+
switch (cellType) {
|
|
16162
|
+
case "date":
|
|
16163
|
+
component = DateCell;
|
|
16164
|
+
break;
|
|
16165
|
+
case "url":
|
|
16166
|
+
component = URLCell;
|
|
16167
|
+
break;
|
|
16168
|
+
}
|
|
16169
|
+
break;
|
|
15883
16170
|
}
|
|
15884
|
-
|
|
16171
|
+
self2.component = component;
|
|
15885
16172
|
},
|
|
15886
16173
|
props: {
|
|
15887
16174
|
column: {
|
|
@@ -15956,7 +16243,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15956
16243
|
}, null, 8, ["type", "value"]))
|
|
15957
16244
|
]));
|
|
15958
16245
|
}
|
|
15959
|
-
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-
|
|
16246
|
+
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-b65aded4"]]);
|
|
15960
16247
|
const _sfc_main$8 = {
|
|
15961
16248
|
components: {
|
|
15962
16249
|
TableCell
|
|
@@ -16026,13 +16313,14 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16026
16313
|
}, [
|
|
16027
16314
|
createVNode(_component_ux_checkbox, { value: $props.selected }, null, 8, ["value"])
|
|
16028
16315
|
])) : createCommentVNode("", true),
|
|
16029
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($props.columns, (column) => {
|
|
16316
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.columns, (column, index2) => {
|
|
16030
16317
|
return openBlock(), createBlock(_component_table_cell, {
|
|
16318
|
+
key: `${column.path || column.key}-${index2}`,
|
|
16031
16319
|
onClick: withModifiers(($event) => $options.clickCell(column), ["stop", "prevent"]),
|
|
16032
16320
|
column,
|
|
16033
16321
|
row: $props.row
|
|
16034
16322
|
}, null, 8, ["onClick", "column", "row"]);
|
|
16035
|
-
}),
|
|
16323
|
+
}), 128)),
|
|
16036
16324
|
$props.enableActions ? (openBlock(), createElementBlock("th", {
|
|
16037
16325
|
key: 1,
|
|
16038
16326
|
class: "table-cell last shrink",
|
|
@@ -16237,8 +16525,8 @@ const _hoisted_3$4 = {
|
|
|
16237
16525
|
};
|
|
16238
16526
|
const _hoisted_4$4 = /* @__PURE__ */ createTextVNode(" Select Page ");
|
|
16239
16527
|
const _hoisted_5$1 = /* @__PURE__ */ createTextVNode(" Deselect Page ");
|
|
16240
|
-
const _hoisted_6 = /* @__PURE__ */ createTextVNode(" Deselect All ");
|
|
16241
|
-
const _hoisted_7 = ["onClick"];
|
|
16528
|
+
const _hoisted_6$1 = /* @__PURE__ */ createTextVNode(" Deselect All ");
|
|
16529
|
+
const _hoisted_7$1 = ["onClick"];
|
|
16242
16530
|
const _hoisted_8 = {
|
|
16243
16531
|
key: 1,
|
|
16244
16532
|
class: "last shrink"
|
|
@@ -16293,7 +16581,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16293
16581
|
onClick: _cache[3] || (_cache[3] = ($event) => $props.deselectAll())
|
|
16294
16582
|
}, {
|
|
16295
16583
|
default: withCtx(() => [
|
|
16296
|
-
_hoisted_6
|
|
16584
|
+
_hoisted_6$1
|
|
16297
16585
|
]),
|
|
16298
16586
|
_: 1
|
|
16299
16587
|
})) : createCommentVNode("", true)
|
|
@@ -16308,7 +16596,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16308
16596
|
return openBlock(), createElementBlock("th", {
|
|
16309
16597
|
onClick: ($event) => $options.toggleSort(column),
|
|
16310
16598
|
class: normalizeClass(column.class)
|
|
16311
|
-
}, toDisplayString(column.title), 11, _hoisted_7);
|
|
16599
|
+
}, toDisplayString(column.title), 11, _hoisted_7$1);
|
|
16312
16600
|
}), 256)),
|
|
16313
16601
|
$props.enableActions ? (openBlock(), createElementBlock("th", _hoisted_8, [
|
|
16314
16602
|
renderSlot(_ctx.$slots, "corner", {}, void 0, true)
|
|
@@ -16335,7 +16623,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16335
16623
|
], 512)
|
|
16336
16624
|
]);
|
|
16337
16625
|
}
|
|
16338
|
-
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-
|
|
16626
|
+
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-6a2e9dbe"]]);
|
|
16339
16627
|
function Selection(options) {
|
|
16340
16628
|
options = options || {};
|
|
16341
16629
|
Math.max(parseInt(options.minimum || 0), 0);
|
|
@@ -16668,19 +16956,23 @@ function defaultColumns(self2, type) {
|
|
|
16668
16956
|
ignoreTitle = true;
|
|
16669
16957
|
columns.push({
|
|
16670
16958
|
title: "First Name",
|
|
16671
|
-
key: "firstName"
|
|
16959
|
+
key: "firstName",
|
|
16960
|
+
shrink: true
|
|
16672
16961
|
});
|
|
16673
16962
|
columns.push({
|
|
16674
16963
|
title: "Last Name",
|
|
16675
|
-
key: "lastName"
|
|
16964
|
+
key: "lastName",
|
|
16965
|
+
shrink: true
|
|
16676
16966
|
});
|
|
16677
16967
|
columns.push({
|
|
16678
16968
|
title: "Gender",
|
|
16679
|
-
key: "gender"
|
|
16969
|
+
key: "gender",
|
|
16970
|
+
shrink: true
|
|
16680
16971
|
});
|
|
16681
16972
|
columns.push({
|
|
16682
16973
|
title: "Age",
|
|
16683
|
-
key: "age"
|
|
16974
|
+
key: "age",
|
|
16975
|
+
shrink: true
|
|
16684
16976
|
});
|
|
16685
16977
|
break;
|
|
16686
16978
|
case "definition":
|
|
@@ -16732,13 +17024,19 @@ function defaultColumns(self2, type) {
|
|
|
16732
17024
|
});
|
|
16733
17025
|
columns.push({
|
|
16734
17026
|
title: "Mime Type",
|
|
16735
|
-
key: "fileMime"
|
|
16736
|
-
});
|
|
16737
|
-
columns.push({
|
|
16738
|
-
title: "File Type",
|
|
16739
|
-
key: "mediaIntegrationType",
|
|
17027
|
+
key: "fileMime",
|
|
16740
17028
|
shrink: true
|
|
16741
17029
|
});
|
|
17030
|
+
switch (type) {
|
|
17031
|
+
case "image":
|
|
17032
|
+
case "video":
|
|
17033
|
+
columns.push({
|
|
17034
|
+
title: "Media Type",
|
|
17035
|
+
key: "mediaIntegrationType",
|
|
17036
|
+
shrink: true
|
|
17037
|
+
});
|
|
17038
|
+
break;
|
|
17039
|
+
}
|
|
16742
17040
|
break;
|
|
16743
17041
|
}
|
|
16744
17042
|
if (!ignoreTitle) {
|
|
@@ -16826,6 +17124,10 @@ const _sfc_main$5 = {
|
|
|
16826
17124
|
enableActions: {
|
|
16827
17125
|
type: Boolean,
|
|
16828
17126
|
default: false
|
|
17127
|
+
},
|
|
17128
|
+
trash: {
|
|
17129
|
+
type: Boolean,
|
|
17130
|
+
default: false
|
|
16829
17131
|
}
|
|
16830
17132
|
},
|
|
16831
17133
|
components: {
|
|
@@ -16954,56 +17256,46 @@ const _sfc_main$5 = {
|
|
|
16954
17256
|
return this.definition.plural;
|
|
16955
17257
|
},
|
|
16956
17258
|
selectFields() {
|
|
16957
|
-
|
|
16958
|
-
|
|
16959
|
-
|
|
16960
|
-
}
|
|
16961
|
-
return column.key;
|
|
17259
|
+
const self2 = this;
|
|
17260
|
+
var fields = self2.columns.map(function(column) {
|
|
17261
|
+
return column.path || column.key;
|
|
16962
17262
|
}).flat();
|
|
16963
|
-
if (
|
|
16964
|
-
fields = [...fields, ...
|
|
17263
|
+
if (self2.options.select) {
|
|
17264
|
+
fields = [...fields, ...self2.options.select];
|
|
16965
17265
|
}
|
|
16966
17266
|
return fields;
|
|
16967
17267
|
},
|
|
16968
17268
|
columns() {
|
|
16969
17269
|
let columns = [];
|
|
16970
|
-
|
|
16971
|
-
|
|
16972
|
-
|
|
16973
|
-
|
|
16974
|
-
|
|
16975
|
-
|
|
16976
|
-
|
|
16977
|
-
|
|
16978
|
-
|
|
16979
|
-
|
|
16980
|
-
|
|
16981
|
-
|
|
16982
|
-
|
|
16983
|
-
|
|
16984
|
-
|
|
16985
|
-
|
|
17270
|
+
let columnHash = {};
|
|
17271
|
+
function addColumn(force) {
|
|
17272
|
+
return function(col) {
|
|
17273
|
+
var alreadySelected = columnHash[col.path || col.key];
|
|
17274
|
+
if (force || !alreadySelected) {
|
|
17275
|
+
columnHash[col.path || col.key] = 1;
|
|
17276
|
+
columns.push(__spreadProps(__spreadValues({}, col), {
|
|
17277
|
+
key: col.path || col.key
|
|
17278
|
+
}));
|
|
17279
|
+
}
|
|
17280
|
+
};
|
|
17281
|
+
}
|
|
17282
|
+
var prefixColumns = this.options.prefixColumns || [];
|
|
17283
|
+
prefixColumns.forEach(addColumn(true));
|
|
17284
|
+
var optionColumns = this.options.columns;
|
|
17285
|
+
var basicColumns = optionColumns && optionColumns.length ? optionColumns : defaultColumns(this, this.basicType);
|
|
17286
|
+
if (!basicColumns.length) {
|
|
17287
|
+
basicColumns.push({
|
|
17288
|
+
title: "Title",
|
|
17289
|
+
key: "title"
|
|
17290
|
+
});
|
|
17291
|
+
}
|
|
17292
|
+
basicColumns.forEach(addColumn(true));
|
|
16986
17293
|
var additionalFields = this.additionalFields;
|
|
16987
|
-
additionalFields.forEach(
|
|
16988
|
-
|
|
16989
|
-
|
|
16990
|
-
columns.push({
|
|
16991
|
-
title: field.title,
|
|
16992
|
-
key: field.path,
|
|
16993
|
-
type: field.type
|
|
16994
|
-
});
|
|
16995
|
-
}
|
|
16996
|
-
});
|
|
17294
|
+
additionalFields.forEach(addColumn());
|
|
17295
|
+
var suffixColumns = this.options.suffixColumns || [];
|
|
17296
|
+
suffixColumns.forEach(addColumn(true));
|
|
16997
17297
|
var activeFilters = this.activeFilters;
|
|
16998
|
-
activeFilters.forEach(
|
|
16999
|
-
if (!existingColumns[filter.key]) {
|
|
17000
|
-
existingColumns[filter.key] = 1;
|
|
17001
|
-
columns.push({
|
|
17002
|
-
title: filter.key,
|
|
17003
|
-
key: filter.key
|
|
17004
|
-
});
|
|
17005
|
-
}
|
|
17006
|
-
});
|
|
17298
|
+
activeFilters.forEach(addColumn());
|
|
17007
17299
|
return columns;
|
|
17008
17300
|
},
|
|
17009
17301
|
filterChangeString() {
|
|
@@ -17063,6 +17355,9 @@ const _sfc_main$5 = {
|
|
|
17063
17355
|
}
|
|
17064
17356
|
row.meta.type = this.basicType;
|
|
17065
17357
|
row.meta.definition = this.definition.key;
|
|
17358
|
+
if (this.trash) {
|
|
17359
|
+
row.meta.deleted = true;
|
|
17360
|
+
}
|
|
17066
17361
|
return row;
|
|
17067
17362
|
},
|
|
17068
17363
|
deselectAll() {
|
|
@@ -17117,6 +17412,9 @@ const _sfc_main$5 = {
|
|
|
17117
17412
|
}
|
|
17118
17413
|
var loadCriteria = Object.assign({}, self2.loadCriteria);
|
|
17119
17414
|
loadCriteria.includeAll = includeAll;
|
|
17415
|
+
if (self2.trash) {
|
|
17416
|
+
loadCriteria.trash = true;
|
|
17417
|
+
}
|
|
17120
17418
|
const { promise, cancel } = await self2.$qik.content.list(self2.type, loadCriteria, { cancellable: true });
|
|
17121
17419
|
cancelInflight = cancel;
|
|
17122
17420
|
promise.then(function(res) {
|
|
@@ -17155,7 +17453,7 @@ const _sfc_main$5 = {
|
|
|
17155
17453
|
};
|
|
17156
17454
|
}
|
|
17157
17455
|
};
|
|
17158
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
17456
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-0f7f08aa"), n2 = n2(), popScopeId(), n2);
|
|
17159
17457
|
const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
17160
17458
|
const _hoisted_2$4 = { class: "footer" };
|
|
17161
17459
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -17324,7 +17622,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17324
17622
|
_: 3
|
|
17325
17623
|
})) : createCommentVNode("", true);
|
|
17326
17624
|
}
|
|
17327
|
-
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-
|
|
17625
|
+
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-0f7f08aa"]]);
|
|
17328
17626
|
var ModalMixin = {
|
|
17329
17627
|
props: {
|
|
17330
17628
|
options: {
|
|
@@ -17471,67 +17769,93 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17471
17769
|
var QikConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-20b62981"]]);
|
|
17472
17770
|
var OptionsModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
17473
17771
|
const _sfc_main$2 = {
|
|
17474
|
-
|
|
17772
|
+
data() {
|
|
17773
|
+
return {
|
|
17774
|
+
selected: null
|
|
17775
|
+
};
|
|
17776
|
+
},
|
|
17777
|
+
mixins: [ModalMixin],
|
|
17778
|
+
methods: {
|
|
17779
|
+
select(choice) {
|
|
17780
|
+
this.selected = choice;
|
|
17781
|
+
this.close(choice);
|
|
17782
|
+
}
|
|
17783
|
+
}
|
|
17784
|
+
};
|
|
17785
|
+
const _hoisted_1$2 = { class: "header" };
|
|
17786
|
+
const _hoisted_2$2 = { class: "padder" };
|
|
17787
|
+
const _hoisted_3$2 = ["onClick"];
|
|
17788
|
+
const _hoisted_4$2 = {
|
|
17789
|
+
key: 0,
|
|
17790
|
+
class: "title"
|
|
17791
|
+
};
|
|
17792
|
+
const _hoisted_5 = {
|
|
17793
|
+
key: 1,
|
|
17794
|
+
class: "description"
|
|
17475
17795
|
};
|
|
17476
|
-
const
|
|
17477
|
-
const
|
|
17478
|
-
const _hoisted_3$2 = { class: "padder" };
|
|
17479
|
-
const _hoisted_4$2 = /* @__PURE__ */ createTextVNode("Cancel");
|
|
17480
|
-
const _hoisted_5 = /* @__PURE__ */ createTextVNode("Confirm");
|
|
17796
|
+
const _hoisted_6 = { class: "padder" };
|
|
17797
|
+
const _hoisted_7 = /* @__PURE__ */ createTextVNode("Cancel");
|
|
17481
17798
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
17482
17799
|
const _component_flex_header = resolveComponent("flex-header");
|
|
17483
|
-
const _component_flex_body = resolveComponent("flex-body");
|
|
17484
|
-
const _component_ux_button = resolveComponent("ux-button");
|
|
17485
17800
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
17486
|
-
const
|
|
17801
|
+
const _component_ux_icon = resolveComponent("ux-icon");
|
|
17487
17802
|
const _component_flex_row = resolveComponent("flex-row");
|
|
17803
|
+
const _component_flex_body = resolveComponent("flex-body");
|
|
17804
|
+
const _component_ux_button = resolveComponent("ux-button");
|
|
17488
17805
|
const _component_flex_footer = resolveComponent("flex-footer");
|
|
17489
17806
|
const _component_flex_column = resolveComponent("flex-column");
|
|
17490
|
-
return openBlock(), createBlock(_component_flex_column,
|
|
17807
|
+
return openBlock(), createBlock(_component_flex_column, { class: "wrapper" }, {
|
|
17491
17808
|
default: withCtx(() => [
|
|
17492
17809
|
createVNode(_component_flex_header, null, {
|
|
17493
17810
|
default: withCtx(() => [
|
|
17494
|
-
_hoisted_1$2
|
|
17495
|
-
|
|
17496
|
-
|
|
17497
|
-
|
|
17498
|
-
createVNode(_component_flex_body, null, {
|
|
17499
|
-
default: withCtx(() => [
|
|
17500
|
-
_hoisted_2$2
|
|
17811
|
+
createElementVNode("div", _hoisted_1$2, [
|
|
17812
|
+
createElementVNode("h5", null, toDisplayString(_ctx.options.title), 1),
|
|
17813
|
+
createElementVNode("div", null, toDisplayString(_ctx.options.description), 1)
|
|
17814
|
+
])
|
|
17501
17815
|
]),
|
|
17502
17816
|
_: 1
|
|
17503
17817
|
}),
|
|
17504
|
-
createVNode(
|
|
17818
|
+
createVNode(_component_flex_body, { class: "body" }, {
|
|
17505
17819
|
default: withCtx(() => [
|
|
17506
|
-
createElementVNode("div",
|
|
17507
|
-
|
|
17508
|
-
|
|
17509
|
-
|
|
17820
|
+
createElementVNode("div", _hoisted_2$2, [
|
|
17821
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options.choices, (choice) => {
|
|
17822
|
+
return openBlock(), createElementBlock("div", {
|
|
17823
|
+
class: "choice",
|
|
17824
|
+
onClick: ($event) => $options.select(choice)
|
|
17825
|
+
}, [
|
|
17826
|
+
createVNode(_component_flex_row, { vcenter: "" }, {
|
|
17510
17827
|
default: withCtx(() => [
|
|
17511
|
-
createVNode(
|
|
17828
|
+
createVNode(_component_flex_cell, null, {
|
|
17512
17829
|
default: withCtx(() => [
|
|
17513
|
-
_hoisted_4$2
|
|
17830
|
+
choice.title ? (openBlock(), createElementBlock("div", _hoisted_4$2, toDisplayString(choice.title), 1)) : createCommentVNode("", true),
|
|
17831
|
+
choice.description ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(choice.description), 1)) : createCommentVNode("", true)
|
|
17514
17832
|
]),
|
|
17515
|
-
_:
|
|
17516
|
-
},
|
|
17517
|
-
|
|
17518
|
-
_: 1
|
|
17519
|
-
}),
|
|
17520
|
-
createVNode(_component_flex_spacer),
|
|
17521
|
-
createVNode(_component_flex_cell, { shrink: "" }, {
|
|
17522
|
-
default: withCtx(() => [
|
|
17523
|
-
createVNode(_component_ux_button, { onClick: _ctx.close }, {
|
|
17833
|
+
_: 2
|
|
17834
|
+
}, 1024),
|
|
17835
|
+
createVNode(_component_flex_cell, { shrink: "" }, {
|
|
17524
17836
|
default: withCtx(() => [
|
|
17525
|
-
|
|
17837
|
+
createVNode(_component_ux_icon, { icon: "fa-angle-right" })
|
|
17526
17838
|
]),
|
|
17527
17839
|
_: 1
|
|
17528
|
-
}
|
|
17840
|
+
})
|
|
17529
17841
|
]),
|
|
17530
|
-
_:
|
|
17531
|
-
})
|
|
17842
|
+
_: 2
|
|
17843
|
+
}, 1024)
|
|
17844
|
+
], 8, _hoisted_3$2);
|
|
17845
|
+
}), 256))
|
|
17846
|
+
])
|
|
17847
|
+
]),
|
|
17848
|
+
_: 1
|
|
17849
|
+
}),
|
|
17850
|
+
createVNode(_component_flex_footer, null, {
|
|
17851
|
+
default: withCtx(() => [
|
|
17852
|
+
createElementVNode("div", _hoisted_6, [
|
|
17853
|
+
createVNode(_component_ux_button, { onClick: _ctx.dismiss }, {
|
|
17854
|
+
default: withCtx(() => [
|
|
17855
|
+
_hoisted_7
|
|
17532
17856
|
]),
|
|
17533
17857
|
_: 1
|
|
17534
|
-
})
|
|
17858
|
+
}, 8, ["onClick"])
|
|
17535
17859
|
])
|
|
17536
17860
|
]),
|
|
17537
17861
|
_: 1
|
|
@@ -17540,7 +17864,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17540
17864
|
_: 1
|
|
17541
17865
|
});
|
|
17542
17866
|
}
|
|
17543
|
-
var QikOptionsModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
17867
|
+
var QikOptionsModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-52f8951e"]]);
|
|
17544
17868
|
var PromptModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
17545
17869
|
const _sfc_main$1 = {
|
|
17546
17870
|
mixins: [ModalMixin],
|
|
@@ -17951,7 +18275,9 @@ const defaultComponents = {
|
|
|
17951
18275
|
UxList: UXList,
|
|
17952
18276
|
UxListItem: UXListItem,
|
|
17953
18277
|
UxForm: UXForm,
|
|
18278
|
+
UxSubmissionForm: UXSubmissionForm,
|
|
17954
18279
|
UxFormField: UXFormField,
|
|
18280
|
+
UxSubmissionForm: UXSubmissionForm,
|
|
17955
18281
|
UxRender: UXRender,
|
|
17956
18282
|
UxRenderField: UXRenderField,
|
|
17957
18283
|
UxIcon: UXIcon,
|
|
@@ -18028,5 +18354,5 @@ const QikUI = {
|
|
|
18028
18354
|
}
|
|
18029
18355
|
}
|
|
18030
18356
|
};
|
|
18031
|
-
export { CodeEditor, ContentBrowser, device as Device, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikConfirmModal, QikContentModal, QikModal, QikOptionsModal, QikPromptModal, QikUI, RememberScrollMixin, Search, Selection, Spinner, UXButton, UXCheckbox, UXForm, UXFormField, UXIcon, UXImage, UXLink, UXList, UXListItem, UXMenu, UXRender, UXRenderField, UXSwitch, UXTab, UXTabset };
|
|
18357
|
+
export { CodeEditor, ContentBrowser, device as Device, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikConfirmModal, QikContentModal, QikModal, QikOptionsModal, QikPromptModal, QikUI, RememberScrollMixin, Search, Selection, Spinner, UXButton, UXCheckbox, UXForm, UXFormField, UXIcon, UXImage, UXLink, UXList, UXListItem, UXMenu, UXRender, UXRenderField, UXSubmissionForm, UXSwitch, UXTab, UXTabset };
|
|
18032
18358
|
//# sourceMappingURL=lib.es.js.map
|