@qikdev/vue-ui 0.1.36 → 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 +1019 -746
- 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 = "";
|
|
44
62
|
const _sfc_main$17 = {};
|
|
45
|
-
const _hoisted_1$V = { class: "flex-column" };
|
|
63
|
+
const _hoisted_1$V = { class: "flex-column-header" };
|
|
46
64
|
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
47
65
|
return openBlock(), createElementBlock("div", _hoisted_1$V, [
|
|
48
66
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
49
67
|
]);
|
|
50
68
|
}
|
|
51
|
-
var
|
|
52
|
-
var
|
|
69
|
+
var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-10b28f00"]]);
|
|
70
|
+
var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
53
71
|
const _sfc_main$16 = {};
|
|
54
|
-
const _hoisted_1$U = { class: "flex-column-
|
|
72
|
+
const _hoisted_1$U = { class: "flex-column-footer" };
|
|
55
73
|
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
56
74
|
return openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
57
75
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
58
76
|
]);
|
|
59
77
|
}
|
|
60
|
-
var
|
|
61
|
-
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 = "";
|
|
62
80
|
const _sfc_main$15 = {};
|
|
63
|
-
const _hoisted_1$T = { class: "flex-
|
|
81
|
+
const _hoisted_1$T = { class: "flex-cell" };
|
|
64
82
|
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
65
83
|
return openBlock(), createElementBlock("div", _hoisted_1$T, [
|
|
66
84
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
67
85
|
]);
|
|
68
86
|
}
|
|
69
|
-
var
|
|
70
|
-
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 = "";
|
|
71
89
|
const _sfc_main$14 = {};
|
|
72
|
-
const _hoisted_1$S = { class: "flex-
|
|
90
|
+
const _hoisted_1$S = { class: "flex-row" };
|
|
73
91
|
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
74
92
|
return openBlock(), createElementBlock("div", _hoisted_1$S, [
|
|
75
93
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
76
94
|
]);
|
|
77
95
|
}
|
|
78
|
-
var
|
|
79
|
-
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 = "";
|
|
80
98
|
const _sfc_main$13 = {};
|
|
81
|
-
const _hoisted_1$R = { class: "flex-
|
|
99
|
+
const _hoisted_1$R = { class: "flex-spacer" };
|
|
82
100
|
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83
|
-
return openBlock(), createElementBlock("div", _hoisted_1$R
|
|
84
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
85
|
-
]);
|
|
101
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R);
|
|
86
102
|
}
|
|
87
|
-
var
|
|
88
|
-
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 = "";
|
|
89
105
|
const _sfc_main$12 = {};
|
|
90
|
-
const _hoisted_1$Q = { class: "
|
|
106
|
+
const _hoisted_1$Q = { class: "panel" };
|
|
91
107
|
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
92
108
|
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
93
109
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
94
110
|
]);
|
|
95
111
|
}
|
|
96
|
-
var
|
|
97
|
-
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 = "";
|
|
98
114
|
const _sfc_main$11 = {};
|
|
99
|
-
const _hoisted_1$P = { class: "
|
|
115
|
+
const _hoisted_1$P = { class: "panel-body" };
|
|
100
116
|
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
101
|
-
return openBlock(), createElementBlock("div", _hoisted_1$P
|
|
117
|
+
return openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
118
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
119
|
+
]);
|
|
102
120
|
}
|
|
103
|
-
var
|
|
104
|
-
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 = "";
|
|
105
123
|
const _sfc_main$10 = {};
|
|
106
|
-
const _hoisted_1$O = { class: "panel" };
|
|
124
|
+
const _hoisted_1$O = { class: "panel-header" };
|
|
107
125
|
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
108
126
|
return openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
109
127
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
110
128
|
]);
|
|
111
129
|
}
|
|
112
|
-
var
|
|
113
|
-
var
|
|
130
|
+
var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-13bf11da"]]);
|
|
131
|
+
var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
114
132
|
const _sfc_main$$ = {};
|
|
115
|
-
const _hoisted_1$N = { class: "panel-
|
|
133
|
+
const _hoisted_1$N = { class: "panel-footer" };
|
|
116
134
|
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
117
135
|
return openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
118
136
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
119
137
|
]);
|
|
120
138
|
}
|
|
121
|
-
var
|
|
122
|
-
var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
123
|
-
const _sfc_main$_ = {};
|
|
124
|
-
const _hoisted_1$M = { class: "panel-header" };
|
|
125
|
-
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
126
|
-
return openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
127
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
128
|
-
]);
|
|
129
|
-
}
|
|
130
|
-
var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-13bf11da"]]);
|
|
131
|
-
var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
132
|
-
const _sfc_main$Z = {};
|
|
133
|
-
const _hoisted_1$L = { class: "panel-footer" };
|
|
134
|
-
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
135
|
-
return openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
136
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
137
|
-
]);
|
|
138
|
-
}
|
|
139
|
-
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__scopeId", "data-v-b4f4786a"]]);
|
|
139
|
+
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-b4f4786a"]]);
|
|
140
140
|
var tabset_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
141
|
-
const _sfc_main$
|
|
141
|
+
const _sfc_main$_ = {
|
|
142
142
|
data() {
|
|
143
143
|
return {
|
|
144
144
|
activeIndex: 0
|
|
@@ -158,8 +158,8 @@ const _sfc_main$Y = {
|
|
|
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$Y(_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$Y(_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$X = {
|
|
|
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$X(_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
|
},
|
|
@@ -353,8 +353,8 @@ const _sfc_main$V = {
|
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
};
|
|
356
|
-
const _hoisted_1$
|
|
357
|
-
function _sfc_render$
|
|
356
|
+
const _hoisted_1$K = { class: "ux-btn-text" };
|
|
357
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
358
358
|
const _component_spinner = resolveComponent("spinner");
|
|
359
359
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
360
360
|
active: $props.active,
|
|
@@ -368,16 +368,16 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
368
368
|
}, {
|
|
369
369
|
default: withCtx(() => [
|
|
370
370
|
$props.loading ? (openBlock(), createBlock(_component_spinner, { key: 0 })) : createCommentVNode("", true),
|
|
371
|
-
createElementVNode("span", _hoisted_1$
|
|
371
|
+
createElementVNode("span", _hoisted_1$K, [
|
|
372
372
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
373
373
|
])
|
|
374
374
|
]),
|
|
375
375
|
_: 3
|
|
376
376
|
}, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
|
|
377
377
|
}
|
|
378
|
-
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
378
|
+
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__scopeId", "data-v-bcaad93a"]]);
|
|
379
379
|
var checkbox_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
380
|
-
const _sfc_main$
|
|
380
|
+
const _sfc_main$W = {
|
|
381
381
|
props: {
|
|
382
382
|
value: {
|
|
383
383
|
type: Boolean,
|
|
@@ -398,7 +398,7 @@ const _sfc_main$U = {
|
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
};
|
|
401
|
-
function _sfc_render$
|
|
401
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
402
402
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
403
403
|
return openBlock(), createElementBlock("button", {
|
|
404
404
|
class: normalizeClass(["ux-checkbox", $options.classes])
|
|
@@ -409,9 +409,9 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
409
409
|
})
|
|
410
410
|
], 2);
|
|
411
411
|
}
|
|
412
|
-
var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
412
|
+
var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-7dd035b9"]]);
|
|
413
413
|
var switch_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
414
|
-
const _sfc_main$
|
|
414
|
+
const _sfc_main$V = {
|
|
415
415
|
props: {
|
|
416
416
|
value: {
|
|
417
417
|
type: Boolean,
|
|
@@ -441,7 +441,7 @@ const _sfc_main$T = {
|
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
};
|
|
444
|
-
function _sfc_render$
|
|
444
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
445
445
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
446
446
|
return openBlock(), createElementBlock("a", {
|
|
447
447
|
class: normalizeClass(["ux-switch", $options.classes])
|
|
@@ -454,9 +454,9 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
454
454
|
])
|
|
455
455
|
], 2);
|
|
456
456
|
}
|
|
457
|
-
var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
457
|
+
var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__scopeId", "data-v-4063e9b5"]]);
|
|
458
458
|
var link_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
459
|
-
const _sfc_main$
|
|
459
|
+
const _sfc_main$U = {
|
|
460
460
|
props: {
|
|
461
461
|
to: {
|
|
462
462
|
type: [Object, String]
|
|
@@ -521,7 +521,7 @@ const _sfc_main$S = {
|
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
};
|
|
524
|
-
function _sfc_render$
|
|
524
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
525
525
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
526
526
|
onClick: $options.clicked,
|
|
527
527
|
to: $props.to,
|
|
@@ -535,9 +535,9 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
535
535
|
_: 3
|
|
536
536
|
}, 8, ["onClick", "to", "href", "target", "class"]);
|
|
537
537
|
}
|
|
538
|
-
var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
538
|
+
var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-4ed46cbc"]]);
|
|
539
539
|
var icon_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
540
|
-
const _sfc_main$
|
|
540
|
+
const _sfc_main$T = {
|
|
541
541
|
props: {
|
|
542
542
|
icon: {
|
|
543
543
|
type: [Object, String]
|
|
@@ -572,17 +572,17 @@ const _sfc_main$R = {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
};
|
|
575
|
-
function _sfc_render$
|
|
575
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
576
576
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
577
577
|
class: normalizeClass(["ux-icon fa", $options.classes])
|
|
578
578
|
}, null, 8, ["class"]);
|
|
579
579
|
}
|
|
580
|
-
var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
580
|
+
var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__scopeId", "data-v-1764a3d0"]]);
|
|
581
581
|
var UXMenuService = {
|
|
582
582
|
cache: {}
|
|
583
583
|
};
|
|
584
584
|
var menu_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
585
|
-
const _sfc_main$
|
|
585
|
+
const _sfc_main$S = {
|
|
586
586
|
props: {
|
|
587
587
|
group: {
|
|
588
588
|
type: String
|
|
@@ -734,7 +734,7 @@ const _sfc_main$Q = {
|
|
|
734
734
|
}
|
|
735
735
|
}
|
|
736
736
|
};
|
|
737
|
-
function _sfc_render$
|
|
737
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
738
738
|
return openBlock(), createElementBlock("div", {
|
|
739
739
|
class: normalizeClass(["ux-menu", { right: $props.right }])
|
|
740
740
|
}, [
|
|
@@ -758,9 +758,9 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
758
758
|
]))
|
|
759
759
|
], 2);
|
|
760
760
|
}
|
|
761
|
-
var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
761
|
+
var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__scopeId", "data-v-3d55731c"]]);
|
|
762
762
|
var image_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
763
|
-
const _sfc_main$
|
|
763
|
+
const _sfc_main$R = {
|
|
764
764
|
props: {
|
|
765
765
|
item: {
|
|
766
766
|
type: Object
|
|
@@ -866,18 +866,18 @@ const _sfc_main$P = {
|
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
868
|
};
|
|
869
|
-
const _hoisted_1$
|
|
870
|
-
function _sfc_render$
|
|
869
|
+
const _hoisted_1$J = ["src"];
|
|
870
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
871
871
|
return openBlock(), createElementBlock("div", {
|
|
872
872
|
class: "ux-image",
|
|
873
873
|
style: normalizeStyle($options.style)
|
|
874
874
|
}, [
|
|
875
|
-
createElementVNode("img", { src: $options.src }, null, 8, _hoisted_1$
|
|
875
|
+
createElementVNode("img", { src: $options.src }, null, 8, _hoisted_1$J)
|
|
876
876
|
], 4);
|
|
877
877
|
}
|
|
878
|
-
var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
878
|
+
var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-7b68ec1a"]]);
|
|
879
879
|
var progressbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
880
|
-
const _sfc_main$
|
|
880
|
+
const _sfc_main$Q = {
|
|
881
881
|
props: {
|
|
882
882
|
value: {
|
|
883
883
|
type: Number
|
|
@@ -912,36 +912,36 @@ const _sfc_main$O = {
|
|
|
912
912
|
}
|
|
913
913
|
};
|
|
914
914
|
const _withScopeId$3 = (n2) => (pushScopeId("data-v-6581fb86"), n2 = n2(), popScopeId(), n2);
|
|
915
|
-
const _hoisted_1$
|
|
916
|
-
const _hoisted_2$
|
|
917
|
-
function _sfc_render$
|
|
918
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
919
|
-
_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,
|
|
920
920
|
createElementVNode("div", {
|
|
921
921
|
class: "ux-progress-fg",
|
|
922
922
|
style: normalizeStyle($options.barStyle)
|
|
923
923
|
}, null, 4)
|
|
924
924
|
]);
|
|
925
925
|
}
|
|
926
|
-
var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
926
|
+
var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-6581fb86"]]);
|
|
927
927
|
var list_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
928
|
-
const _sfc_main$
|
|
929
|
-
const _hoisted_1$
|
|
930
|
-
function _sfc_render$
|
|
931
|
-
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, [
|
|
932
932
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
933
933
|
]);
|
|
934
934
|
}
|
|
935
|
-
var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
935
|
+
var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__scopeId", "data-v-98e1e4e2"]]);
|
|
936
936
|
var listItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
937
|
-
const _sfc_main$
|
|
938
|
-
const _hoisted_1$
|
|
939
|
-
function _sfc_render$
|
|
940
|
-
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, [
|
|
941
941
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
942
942
|
]);
|
|
943
943
|
}
|
|
944
|
-
var UXListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
944
|
+
var UXListItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__scopeId", "data-v-0e73c260"]]);
|
|
945
945
|
function isUndefined$7(v, type) {
|
|
946
946
|
return v === void 0 || v === null || type == "date" && v.toString && v.toString() === "Invalid Date";
|
|
947
947
|
}
|
|
@@ -1294,7 +1294,7 @@ var select_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
1294
1294
|
function isUndefined$6(entry) {
|
|
1295
1295
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
1296
1296
|
}
|
|
1297
|
-
const _sfc_main$
|
|
1297
|
+
const _sfc_main$N = {
|
|
1298
1298
|
props: {
|
|
1299
1299
|
title: {
|
|
1300
1300
|
type: String
|
|
@@ -1379,19 +1379,19 @@ const _sfc_main$L = {
|
|
|
1379
1379
|
}
|
|
1380
1380
|
}
|
|
1381
1381
|
};
|
|
1382
|
-
const _hoisted_1$
|
|
1382
|
+
const _hoisted_1$F = {
|
|
1383
1383
|
key: 0,
|
|
1384
1384
|
class: "ux-field-title"
|
|
1385
1385
|
};
|
|
1386
|
-
const _hoisted_2$
|
|
1386
|
+
const _hoisted_2$z = {
|
|
1387
1387
|
key: 0,
|
|
1388
1388
|
class: "ux-required-marker"
|
|
1389
1389
|
};
|
|
1390
|
-
const _hoisted_3$
|
|
1390
|
+
const _hoisted_3$v = {
|
|
1391
1391
|
key: 1,
|
|
1392
1392
|
class: "ux-field-description"
|
|
1393
1393
|
};
|
|
1394
|
-
const _hoisted_4$
|
|
1394
|
+
const _hoisted_4$s = {
|
|
1395
1395
|
key: 2,
|
|
1396
1396
|
class: "ui-select-button"
|
|
1397
1397
|
};
|
|
@@ -1400,18 +1400,18 @@ const _hoisted_6$g = {
|
|
|
1400
1400
|
key: 0,
|
|
1401
1401
|
value: ""
|
|
1402
1402
|
};
|
|
1403
|
-
const _hoisted_7$
|
|
1404
|
-
function _sfc_render$
|
|
1403
|
+
const _hoisted_7$e = ["value"];
|
|
1404
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1405
1405
|
const _component_ux_button = resolveComponent("ux-button");
|
|
1406
1406
|
return openBlock(), createElementBlock("div", {
|
|
1407
1407
|
class: normalizeClass(["native-select", $options.classes])
|
|
1408
1408
|
}, [
|
|
1409
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
1409
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$F, [
|
|
1410
1410
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
1411
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1411
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$z, "*")) : createCommentVNode("", true)
|
|
1412
1412
|
])) : createCommentVNode("", true),
|
|
1413
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
1414
|
-
_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, [
|
|
1415
1415
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1416
1416
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
1417
1417
|
default: withCtx(() => [
|
|
@@ -1430,16 +1430,16 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1430
1430
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
1431
1431
|
return openBlock(), createElementBlock("option", {
|
|
1432
1432
|
value: option2.value
|
|
1433
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
1433
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$e);
|
|
1434
1434
|
}), 256))
|
|
1435
1435
|
], 40, _hoisted_5$k), [
|
|
1436
1436
|
[vModelSelect, _ctx.model]
|
|
1437
1437
|
])
|
|
1438
1438
|
], 2);
|
|
1439
1439
|
}
|
|
1440
|
-
var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1440
|
+
var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__scopeId", "data-v-6d808434"]]);
|
|
1441
1441
|
var phoneNumberInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
1442
|
-
const _sfc_main$
|
|
1442
|
+
const _sfc_main$M = {
|
|
1443
1443
|
props: {
|
|
1444
1444
|
modelValue: {
|
|
1445
1445
|
type: [Object, Array]
|
|
@@ -1511,41 +1511,41 @@ const _sfc_main$K = {
|
|
|
1511
1511
|
}
|
|
1512
1512
|
};
|
|
1513
1513
|
const _withScopeId$2 = (n2) => (pushScopeId("data-v-856e04c2"), n2 = n2(), popScopeId(), n2);
|
|
1514
|
-
const _hoisted_1$
|
|
1514
|
+
const _hoisted_1$E = {
|
|
1515
1515
|
key: 0,
|
|
1516
1516
|
class: "ux-field-title"
|
|
1517
1517
|
};
|
|
1518
|
-
const _hoisted_2$
|
|
1518
|
+
const _hoisted_2$y = {
|
|
1519
1519
|
key: 0,
|
|
1520
1520
|
class: "ux-required-marker"
|
|
1521
1521
|
};
|
|
1522
|
-
const _hoisted_3$
|
|
1522
|
+
const _hoisted_3$u = {
|
|
1523
1523
|
key: 1,
|
|
1524
1524
|
class: "ux-field-description"
|
|
1525
1525
|
};
|
|
1526
|
-
const _hoisted_4$
|
|
1526
|
+
const _hoisted_4$r = { key: 2 };
|
|
1527
1527
|
const _hoisted_5$j = /* @__PURE__ */ createTextVNode(" Country Code ");
|
|
1528
1528
|
const _hoisted_6$f = { key: 0 };
|
|
1529
|
-
const _hoisted_7$
|
|
1529
|
+
const _hoisted_7$d = { key: 1 };
|
|
1530
1530
|
const _hoisted_8$7 = { class: "ux-text-wrap" };
|
|
1531
1531
|
const _hoisted_9$5 = ["placeholder", "onUpdate:modelValue"];
|
|
1532
1532
|
const _hoisted_10$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("option", { value: "" }, "None", -1));
|
|
1533
1533
|
const _hoisted_11$4 = ["value"];
|
|
1534
|
-
const _hoisted_12$
|
|
1534
|
+
const _hoisted_12$4 = { class: "ux-text-wrap" };
|
|
1535
1535
|
const _hoisted_13$3 = ["placeholder"];
|
|
1536
|
-
function _sfc_render$
|
|
1536
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1537
1537
|
const _component_native_select = resolveComponent("native-select");
|
|
1538
1538
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
1539
1539
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
1540
1540
|
const _component_ux_button = resolveComponent("ux-button");
|
|
1541
1541
|
const _component_flex_row = resolveComponent("flex-row");
|
|
1542
1542
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
1543
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
1543
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$E, [
|
|
1544
1544
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
1545
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1545
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$y, "*")) : createCommentVNode("", true)
|
|
1546
1546
|
])) : createCommentVNode("", true),
|
|
1547
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
1548
|
-
_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, [
|
|
1549
1549
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
1550
1550
|
return openBlock(), createBlock(_component_flex_row, {
|
|
1551
1551
|
wrap: "",
|
|
@@ -1564,7 +1564,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1564
1564
|
!entry.countryCode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1565
1565
|
_hoisted_5$j
|
|
1566
1566
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1567
|
-
$data.lookup[entry.countryCode] ? (openBlock(), createElementBlock("div", _hoisted_6$f, toDisplayString($data.lookup[entry.countryCode].emoji) + " - " + toDisplayString($data.lookup[entry.countryCode].alpha2), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$
|
|
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"))
|
|
1568
1568
|
], 64))
|
|
1569
1569
|
]),
|
|
1570
1570
|
_: 2
|
|
@@ -1652,7 +1652,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1652
1652
|
}),
|
|
1653
1653
|
createVNode(_component_flex_cell, null, {
|
|
1654
1654
|
default: withCtx(() => [
|
|
1655
|
-
createElementVNode("div", _hoisted_12$
|
|
1655
|
+
createElementVNode("div", _hoisted_12$4, [
|
|
1656
1656
|
withDirectives(createElementVNode("input", {
|
|
1657
1657
|
class: "ux-field-focus ux-text-input-multiple",
|
|
1658
1658
|
placeholder: $options.actualPlaceholder,
|
|
@@ -1672,12 +1672,12 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1672
1672
|
}))
|
|
1673
1673
|
], 64);
|
|
1674
1674
|
}
|
|
1675
|
-
var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1675
|
+
var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-856e04c2"]]);
|
|
1676
1676
|
var timezone_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
1677
1677
|
function isUndefined$5(entry) {
|
|
1678
1678
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
1679
1679
|
}
|
|
1680
|
-
const _sfc_main$
|
|
1680
|
+
const _sfc_main$L = {
|
|
1681
1681
|
props: {
|
|
1682
1682
|
modelValue: {}
|
|
1683
1683
|
},
|
|
@@ -2202,19 +2202,19 @@ const _sfc_main$J = {
|
|
|
2202
2202
|
}
|
|
2203
2203
|
}
|
|
2204
2204
|
};
|
|
2205
|
-
const _hoisted_1$
|
|
2205
|
+
const _hoisted_1$D = {
|
|
2206
2206
|
key: 0,
|
|
2207
2207
|
class: "ux-field-title"
|
|
2208
2208
|
};
|
|
2209
|
-
const _hoisted_2$
|
|
2209
|
+
const _hoisted_2$x = {
|
|
2210
2210
|
key: 0,
|
|
2211
2211
|
class: "ux-required-marker"
|
|
2212
2212
|
};
|
|
2213
|
-
const _hoisted_3$
|
|
2213
|
+
const _hoisted_3$t = {
|
|
2214
2214
|
key: 1,
|
|
2215
2215
|
class: "ux-field-description"
|
|
2216
2216
|
};
|
|
2217
|
-
const _hoisted_4$
|
|
2217
|
+
const _hoisted_4$q = {
|
|
2218
2218
|
key: 2,
|
|
2219
2219
|
class: "ui-select-button"
|
|
2220
2220
|
};
|
|
@@ -2223,18 +2223,18 @@ const _hoisted_6$e = {
|
|
|
2223
2223
|
key: 0,
|
|
2224
2224
|
value: ""
|
|
2225
2225
|
};
|
|
2226
|
-
const _hoisted_7$
|
|
2227
|
-
function _sfc_render$
|
|
2226
|
+
const _hoisted_7$c = ["value"];
|
|
2227
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2228
2228
|
const _component_ux_button = resolveComponent("ux-button");
|
|
2229
2229
|
return openBlock(), createElementBlock("div", {
|
|
2230
2230
|
class: normalizeClass(["native-select", $options.classes])
|
|
2231
2231
|
}, [
|
|
2232
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
2232
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$D, [
|
|
2233
2233
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
2234
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
2234
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$x, "*")) : createCommentVNode("", true)
|
|
2235
2235
|
])) : createCommentVNode("", true),
|
|
2236
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
2237
|
-
_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, [
|
|
2238
2238
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2239
2239
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
2240
2240
|
default: withCtx(() => [
|
|
@@ -2253,16 +2253,16 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2253
2253
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
2254
2254
|
return openBlock(), createElementBlock("option", {
|
|
2255
2255
|
value: option2.value
|
|
2256
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
2256
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$c);
|
|
2257
2257
|
}), 256))
|
|
2258
2258
|
], 40, _hoisted_5$i), [
|
|
2259
2259
|
[vModelSelect, _ctx.model]
|
|
2260
2260
|
])
|
|
2261
2261
|
], 2);
|
|
2262
2262
|
}
|
|
2263
|
-
var TimezoneSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2263
|
+
var TimezoneSelect = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-2b83f766"]]);
|
|
2264
2264
|
var item_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
2265
|
-
const _sfc_main$
|
|
2265
|
+
const _sfc_main$K = {
|
|
2266
2266
|
props: {
|
|
2267
2267
|
item: {
|
|
2268
2268
|
type: Object,
|
|
@@ -2280,7 +2280,7 @@ const _sfc_main$I = {
|
|
|
2280
2280
|
}
|
|
2281
2281
|
}
|
|
2282
2282
|
};
|
|
2283
|
-
function _sfc_render$
|
|
2283
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2284
2284
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
2285
2285
|
const _component_flex_row = resolveComponent("flex-row");
|
|
2286
2286
|
return openBlock(), createElementBlock("div", {
|
|
@@ -2309,7 +2309,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2309
2309
|
})
|
|
2310
2310
|
]);
|
|
2311
2311
|
}
|
|
2312
|
-
var Item = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2312
|
+
var Item = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-4f7e8052"]]);
|
|
2313
2313
|
/**!
|
|
2314
2314
|
* Sortable 1.14.0
|
|
2315
2315
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -4977,7 +4977,7 @@ const draggableComponent = defineComponent({
|
|
|
4977
4977
|
}
|
|
4978
4978
|
});
|
|
4979
4979
|
var contentSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4980
|
-
const _sfc_main$
|
|
4980
|
+
const _sfc_main$J = {
|
|
4981
4981
|
components: {
|
|
4982
4982
|
Item,
|
|
4983
4983
|
draggable: draggableComponent
|
|
@@ -5080,33 +5080,33 @@ const _sfc_main$H = {
|
|
|
5080
5080
|
}
|
|
5081
5081
|
}
|
|
5082
5082
|
};
|
|
5083
|
-
const _hoisted_1$
|
|
5083
|
+
const _hoisted_1$C = {
|
|
5084
5084
|
key: 0,
|
|
5085
5085
|
class: "ux-field-title"
|
|
5086
5086
|
};
|
|
5087
|
-
const _hoisted_2$
|
|
5087
|
+
const _hoisted_2$w = {
|
|
5088
5088
|
key: 0,
|
|
5089
5089
|
class: "ux-required-marker"
|
|
5090
5090
|
};
|
|
5091
|
-
const _hoisted_3$
|
|
5091
|
+
const _hoisted_3$s = {
|
|
5092
5092
|
key: 1,
|
|
5093
5093
|
class: "ux-field-description"
|
|
5094
5094
|
};
|
|
5095
|
-
const _hoisted_4$
|
|
5095
|
+
const _hoisted_4$p = {
|
|
5096
5096
|
key: 3,
|
|
5097
5097
|
class: "items"
|
|
5098
5098
|
};
|
|
5099
|
-
function _sfc_render$
|
|
5099
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5100
5100
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
5101
5101
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5102
5102
|
const _component_item = resolveComponent("item");
|
|
5103
5103
|
const _component_draggable = resolveComponent("draggable");
|
|
5104
5104
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5105
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5105
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$C, [
|
|
5106
5106
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5107
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5107
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$w, "*")) : createCommentVNode("", true)
|
|
5108
5108
|
])) : createCommentVNode("", true),
|
|
5109
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5109
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$s, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
5110
5110
|
_ctx.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
5111
5111
|
_ctx.model && _ctx.model.length ? (openBlock(), createBlock(_component_draggable, {
|
|
5112
5112
|
key: 0,
|
|
@@ -5145,7 +5145,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5145
5145
|
]),
|
|
5146
5146
|
_: 1
|
|
5147
5147
|
}, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
5148
|
-
], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5148
|
+
], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$p, [
|
|
5149
5149
|
createVNode(_component_item, { item: _ctx.model }, {
|
|
5150
5150
|
actions: withCtx(() => [
|
|
5151
5151
|
$options.canEdit(_ctx.model) ? (openBlock(), createBlock(_component_ux_button, {
|
|
@@ -5179,12 +5179,12 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5179
5179
|
}, 8, ["onClick"])
|
|
5180
5180
|
], 64);
|
|
5181
5181
|
}
|
|
5182
|
-
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5182
|
+
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-858ab1cc"]]);
|
|
5183
5183
|
var typeSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5184
5184
|
function isUndefined$4(entry) {
|
|
5185
5185
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
5186
5186
|
}
|
|
5187
|
-
const _sfc_main$
|
|
5187
|
+
const _sfc_main$I = {
|
|
5188
5188
|
props: {
|
|
5189
5189
|
title: {
|
|
5190
5190
|
type: String
|
|
@@ -5293,19 +5293,19 @@ const _sfc_main$G = {
|
|
|
5293
5293
|
}
|
|
5294
5294
|
}
|
|
5295
5295
|
};
|
|
5296
|
-
const _hoisted_1$
|
|
5296
|
+
const _hoisted_1$B = {
|
|
5297
5297
|
key: 0,
|
|
5298
5298
|
class: "ux-field-title"
|
|
5299
5299
|
};
|
|
5300
|
-
const _hoisted_2$
|
|
5300
|
+
const _hoisted_2$v = {
|
|
5301
5301
|
key: 0,
|
|
5302
5302
|
class: "ux-required-marker"
|
|
5303
5303
|
};
|
|
5304
|
-
const _hoisted_3$
|
|
5304
|
+
const _hoisted_3$r = {
|
|
5305
5305
|
key: 1,
|
|
5306
5306
|
class: "ux-field-description"
|
|
5307
5307
|
};
|
|
5308
|
-
const _hoisted_4$
|
|
5308
|
+
const _hoisted_4$o = {
|
|
5309
5309
|
key: 2,
|
|
5310
5310
|
class: "ui-select-button"
|
|
5311
5311
|
};
|
|
@@ -5314,18 +5314,18 @@ const _hoisted_6$d = {
|
|
|
5314
5314
|
key: 0,
|
|
5315
5315
|
value: ""
|
|
5316
5316
|
};
|
|
5317
|
-
const _hoisted_7$
|
|
5318
|
-
function _sfc_render$
|
|
5317
|
+
const _hoisted_7$b = ["value"];
|
|
5318
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5319
5319
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5320
5320
|
return openBlock(), createElementBlock("div", {
|
|
5321
5321
|
class: normalizeClass(["native-select", $options.classes])
|
|
5322
5322
|
}, [
|
|
5323
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5323
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
|
|
5324
5324
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5325
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5325
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$v, "*")) : createCommentVNode("", true)
|
|
5326
5326
|
])) : createCommentVNode("", true),
|
|
5327
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5328
|
-
_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, [
|
|
5329
5329
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
5330
5330
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
5331
5331
|
default: withCtx(() => [
|
|
@@ -5344,16 +5344,16 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5344
5344
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
5345
5345
|
return openBlock(), createElementBlock("option", {
|
|
5346
5346
|
value: option2.value
|
|
5347
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
5347
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$b);
|
|
5348
5348
|
}), 256))
|
|
5349
5349
|
], 40, _hoisted_5$h), [
|
|
5350
5350
|
[vModelSelect, _ctx.model]
|
|
5351
5351
|
])
|
|
5352
5352
|
], 2);
|
|
5353
5353
|
}
|
|
5354
|
-
var TypeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5354
|
+
var TypeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-3c487f67"]]);
|
|
5355
5355
|
var currency_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5356
|
-
const _sfc_main$
|
|
5356
|
+
const _sfc_main$H = {
|
|
5357
5357
|
props: {
|
|
5358
5358
|
modelValue: {
|
|
5359
5359
|
type: [String, Array]
|
|
@@ -5431,25 +5431,25 @@ const _sfc_main$F = {
|
|
|
5431
5431
|
}
|
|
5432
5432
|
}
|
|
5433
5433
|
};
|
|
5434
|
-
const _hoisted_1$
|
|
5434
|
+
const _hoisted_1$A = {
|
|
5435
5435
|
key: 0,
|
|
5436
5436
|
class: "ux-field-title"
|
|
5437
5437
|
};
|
|
5438
|
-
const _hoisted_2$
|
|
5438
|
+
const _hoisted_2$u = {
|
|
5439
5439
|
key: 0,
|
|
5440
5440
|
class: "ux-required-marker"
|
|
5441
5441
|
};
|
|
5442
|
-
const _hoisted_3$
|
|
5442
|
+
const _hoisted_3$q = {
|
|
5443
5443
|
key: 1,
|
|
5444
5444
|
class: "ux-field-description"
|
|
5445
5445
|
};
|
|
5446
|
-
const _hoisted_4$
|
|
5446
|
+
const _hoisted_4$n = { key: 2 };
|
|
5447
5447
|
const _hoisted_5$g = {
|
|
5448
5448
|
key: 0,
|
|
5449
5449
|
class: "ux-text-prefix"
|
|
5450
5450
|
};
|
|
5451
5451
|
const _hoisted_6$c = ["onBlur", "onUpdate:modelValue"];
|
|
5452
|
-
const _hoisted_7$
|
|
5452
|
+
const _hoisted_7$a = {
|
|
5453
5453
|
key: 1,
|
|
5454
5454
|
class: "ux-text-suffix"
|
|
5455
5455
|
};
|
|
@@ -5461,18 +5461,18 @@ const _hoisted_9$4 = {
|
|
|
5461
5461
|
key: 1,
|
|
5462
5462
|
class: "ux-text-suffix"
|
|
5463
5463
|
};
|
|
5464
|
-
function _sfc_render$
|
|
5464
|
+
function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5465
5465
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
5466
5466
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
5467
5467
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5468
5468
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5469
5469
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5470
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5470
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
|
|
5471
5471
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5472
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5472
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$u, "*")) : createCommentVNode("", true)
|
|
5473
5473
|
])) : createCommentVNode("", true),
|
|
5474
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5475
|
-
_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, [
|
|
5476
5476
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
|
|
5477
5477
|
return openBlock(), createBlock(_component_flex_row, {
|
|
5478
5478
|
class: "ux-text-row",
|
|
@@ -5503,7 +5503,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5503
5503
|
{ lazy: true }
|
|
5504
5504
|
]
|
|
5505
5505
|
]),
|
|
5506
|
-
$options.suffix ? (openBlock(), createElementBlock("span", _hoisted_7$
|
|
5506
|
+
$options.suffix ? (openBlock(), createElementBlock("span", _hoisted_7$a, toDisplayString($options.suffix), 1)) : createCommentVNode("", true)
|
|
5507
5507
|
], 2)
|
|
5508
5508
|
]),
|
|
5509
5509
|
_: 2
|
|
@@ -5569,9 +5569,9 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5569
5569
|
], 2))
|
|
5570
5570
|
], 64);
|
|
5571
5571
|
}
|
|
5572
|
-
var CurrencyField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5572
|
+
var CurrencyField = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-5afb1a86"]]);
|
|
5573
5573
|
var textfield_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5574
|
-
const _sfc_main$
|
|
5574
|
+
const _sfc_main$G = {
|
|
5575
5575
|
props: {
|
|
5576
5576
|
modelValue: {
|
|
5577
5577
|
type: [String, Array]
|
|
@@ -5634,25 +5634,25 @@ const _sfc_main$E = {
|
|
|
5634
5634
|
}
|
|
5635
5635
|
}
|
|
5636
5636
|
};
|
|
5637
|
-
const _hoisted_1$
|
|
5637
|
+
const _hoisted_1$z = {
|
|
5638
5638
|
key: 0,
|
|
5639
5639
|
class: "ux-field-title"
|
|
5640
5640
|
};
|
|
5641
|
-
const _hoisted_2$
|
|
5641
|
+
const _hoisted_2$t = {
|
|
5642
5642
|
key: 0,
|
|
5643
5643
|
class: "ux-required-marker"
|
|
5644
5644
|
};
|
|
5645
|
-
const _hoisted_3$
|
|
5645
|
+
const _hoisted_3$p = {
|
|
5646
5646
|
key: 1,
|
|
5647
5647
|
class: "ux-field-description"
|
|
5648
5648
|
};
|
|
5649
|
-
const _hoisted_4$
|
|
5649
|
+
const _hoisted_4$m = { key: 2 };
|
|
5650
5650
|
const _hoisted_5$f = { class: "ux-text-wrap" };
|
|
5651
5651
|
const _hoisted_6$b = {
|
|
5652
5652
|
key: 0,
|
|
5653
5653
|
class: "ux-text-prefix"
|
|
5654
5654
|
};
|
|
5655
|
-
const _hoisted_7$
|
|
5655
|
+
const _hoisted_7$9 = ["type", "placeholder", "onUpdate:modelValue"];
|
|
5656
5656
|
const _hoisted_8$5 = ["type", "placeholder", "onUpdate:modelValue"];
|
|
5657
5657
|
const _hoisted_9$3 = {
|
|
5658
5658
|
key: 3,
|
|
@@ -5666,24 +5666,24 @@ const _hoisted_11$3 = {
|
|
|
5666
5666
|
key: 0,
|
|
5667
5667
|
class: "ux-text-prefix"
|
|
5668
5668
|
};
|
|
5669
|
-
const _hoisted_12$
|
|
5669
|
+
const _hoisted_12$3 = ["type", "placeholder"];
|
|
5670
5670
|
const _hoisted_13$2 = ["type", "placeholder"];
|
|
5671
5671
|
const _hoisted_14$2 = {
|
|
5672
5672
|
key: 3,
|
|
5673
5673
|
class: "ux-text-suffix"
|
|
5674
5674
|
};
|
|
5675
|
-
function _sfc_render$
|
|
5675
|
+
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5676
5676
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
5677
5677
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
5678
5678
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5679
5679
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5680
5680
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5681
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5681
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$z, [
|
|
5682
5682
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5683
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5683
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$t, "*")) : createCommentVNode("", true)
|
|
5684
5684
|
])) : createCommentVNode("", true),
|
|
5685
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5686
|
-
_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, [
|
|
5687
5687
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
5688
5688
|
return openBlock(), createBlock(_component_flex_row, {
|
|
5689
5689
|
class: "ux-text-row",
|
|
@@ -5704,7 +5704,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5704
5704
|
ref: "input",
|
|
5705
5705
|
onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
|
|
5706
5706
|
"onUpdate:modelValue": ($event) => _ctx.model[index2] = $event
|
|
5707
|
-
}, null, 40, _hoisted_7$
|
|
5707
|
+
}, null, 40, _hoisted_7$9)), [
|
|
5708
5708
|
[
|
|
5709
5709
|
vModelDynamic,
|
|
5710
5710
|
_ctx.model[index2],
|
|
@@ -5776,7 +5776,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5776
5776
|
placeholder: $options.actualPlaceholder,
|
|
5777
5777
|
onFocus: _cache[5] || (_cache[5] = (...args) => _ctx.touch && _ctx.touch(...args)),
|
|
5778
5778
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => _ctx.model = $event)
|
|
5779
|
-
}, null, 40, _hoisted_12$
|
|
5779
|
+
}, null, 40, _hoisted_12$3)), [
|
|
5780
5780
|
[
|
|
5781
5781
|
vModelDynamic,
|
|
5782
5782
|
_ctx.model,
|
|
@@ -5799,9 +5799,9 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5799
5799
|
]))
|
|
5800
5800
|
], 64);
|
|
5801
5801
|
}
|
|
5802
|
-
var TextField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5802
|
+
var TextField = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G], ["__scopeId", "data-v-8f2cb452"]]);
|
|
5803
5803
|
var textarea_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5804
|
-
const _sfc_main$
|
|
5804
|
+
const _sfc_main$F = {
|
|
5805
5805
|
props: {
|
|
5806
5806
|
modelValue: {
|
|
5807
5807
|
type: [String, Array]
|
|
@@ -5814,32 +5814,32 @@ const _sfc_main$D = {
|
|
|
5814
5814
|
}
|
|
5815
5815
|
}
|
|
5816
5816
|
};
|
|
5817
|
-
const _hoisted_1$
|
|
5817
|
+
const _hoisted_1$y = {
|
|
5818
5818
|
key: 0,
|
|
5819
5819
|
class: "ux-field-title"
|
|
5820
5820
|
};
|
|
5821
|
-
const _hoisted_2$
|
|
5821
|
+
const _hoisted_2$s = {
|
|
5822
5822
|
key: 0,
|
|
5823
5823
|
class: "ux-required-marker"
|
|
5824
5824
|
};
|
|
5825
|
-
const _hoisted_3$
|
|
5825
|
+
const _hoisted_3$o = {
|
|
5826
5826
|
key: 1,
|
|
5827
5827
|
class: "ux-field-description"
|
|
5828
5828
|
};
|
|
5829
|
-
const _hoisted_4$
|
|
5829
|
+
const _hoisted_4$l = { key: 2 };
|
|
5830
5830
|
const _hoisted_5$e = ["onUpdate:modelValue"];
|
|
5831
|
-
function _sfc_render$
|
|
5831
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5832
5832
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
5833
5833
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
5834
5834
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5835
5835
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5836
5836
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5837
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5837
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$y, [
|
|
5838
5838
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5839
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5839
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$s, "*")) : createCommentVNode("", true)
|
|
5840
5840
|
])) : createCommentVNode("", true),
|
|
5841
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5842
|
-
_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, [
|
|
5843
5843
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
5844
5844
|
return openBlock(), createBlock(_component_flex_row, {
|
|
5845
5845
|
class: "ux-text-row",
|
|
@@ -5905,7 +5905,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5905
5905
|
])
|
|
5906
5906
|
], 64);
|
|
5907
5907
|
}
|
|
5908
|
-
var TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5908
|
+
var TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$F], ["__scopeId", "data-v-72eafde6"]]);
|
|
5909
5909
|
var datefield_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5910
5910
|
function zero(input) {
|
|
5911
5911
|
if (String(input).length < 2) {
|
|
@@ -5913,7 +5913,7 @@ function zero(input) {
|
|
|
5913
5913
|
}
|
|
5914
5914
|
return input;
|
|
5915
5915
|
}
|
|
5916
|
-
const _sfc_main$
|
|
5916
|
+
const _sfc_main$E = {
|
|
5917
5917
|
props: {
|
|
5918
5918
|
modelValue: {
|
|
5919
5919
|
type: [Date, String, Array]
|
|
@@ -5962,32 +5962,32 @@ const _sfc_main$C = {
|
|
|
5962
5962
|
}
|
|
5963
5963
|
}
|
|
5964
5964
|
};
|
|
5965
|
-
const _hoisted_1$
|
|
5965
|
+
const _hoisted_1$x = {
|
|
5966
5966
|
key: 0,
|
|
5967
5967
|
class: "ux-field-title"
|
|
5968
5968
|
};
|
|
5969
|
-
const _hoisted_2$
|
|
5969
|
+
const _hoisted_2$r = {
|
|
5970
5970
|
key: 0,
|
|
5971
5971
|
class: "ux-required-marker"
|
|
5972
5972
|
};
|
|
5973
|
-
const _hoisted_3$
|
|
5973
|
+
const _hoisted_3$n = {
|
|
5974
5974
|
key: 1,
|
|
5975
5975
|
class: "ux-field-description"
|
|
5976
5976
|
};
|
|
5977
|
-
const _hoisted_4$
|
|
5977
|
+
const _hoisted_4$k = { key: 2 };
|
|
5978
5978
|
const _hoisted_5$d = ["onUpdate:modelValue"];
|
|
5979
|
-
function _sfc_render$
|
|
5979
|
+
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5980
5980
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
5981
5981
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
5982
5982
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5983
5983
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5984
5984
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5985
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5985
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$x, [
|
|
5986
5986
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5987
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5987
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$r, "*")) : createCommentVNode("", true)
|
|
5988
5988
|
])) : createCommentVNode("", true),
|
|
5989
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5990
|
-
_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, [
|
|
5991
5991
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
|
|
5992
5992
|
return openBlock(), createBlock(_component_flex_row, {
|
|
5993
5993
|
class: "ux-text-row",
|
|
@@ -6053,9 +6053,9 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6053
6053
|
])
|
|
6054
6054
|
], 64);
|
|
6055
6055
|
}
|
|
6056
|
-
var DateField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6056
|
+
var DateField = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-578af064"]]);
|
|
6057
6057
|
var checkbox_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6058
|
-
const _sfc_main$
|
|
6058
|
+
const _sfc_main$D = {
|
|
6059
6059
|
computed: {
|
|
6060
6060
|
NativeCheckbox: UXCheckbox
|
|
6061
6061
|
},
|
|
@@ -6097,19 +6097,19 @@ const _sfc_main$B = {
|
|
|
6097
6097
|
}
|
|
6098
6098
|
}
|
|
6099
6099
|
};
|
|
6100
|
-
const _hoisted_1$
|
|
6100
|
+
const _hoisted_1$w = {
|
|
6101
6101
|
key: 0,
|
|
6102
6102
|
class: "ux-field-title"
|
|
6103
6103
|
};
|
|
6104
|
-
const _hoisted_2$
|
|
6104
|
+
const _hoisted_2$q = {
|
|
6105
6105
|
key: 0,
|
|
6106
6106
|
class: "ux-required-marker"
|
|
6107
6107
|
};
|
|
6108
|
-
const _hoisted_3$
|
|
6108
|
+
const _hoisted_3$m = {
|
|
6109
6109
|
key: 1,
|
|
6110
6110
|
class: "ux-field-description"
|
|
6111
6111
|
};
|
|
6112
|
-
function _sfc_render$
|
|
6112
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6113
6113
|
const _component_ux_checkbox = resolveComponent("ux-checkbox");
|
|
6114
6114
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
6115
6115
|
const _component_flex_row = resolveComponent("flex-row");
|
|
@@ -6133,11 +6133,11 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6133
6133
|
createVNode(_component_flex_cell, { vcenter: "" }, {
|
|
6134
6134
|
default: withCtx(() => [
|
|
6135
6135
|
createElementVNode("div", null, [
|
|
6136
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
6136
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$w, [
|
|
6137
6137
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
6138
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
6138
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$q, "*")) : createCommentVNode("", true)
|
|
6139
6139
|
])) : createCommentVNode("", true),
|
|
6140
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6140
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$m, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
|
|
6141
6141
|
])
|
|
6142
6142
|
]),
|
|
6143
6143
|
_: 1
|
|
@@ -6146,8 +6146,8 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6146
6146
|
_: 1
|
|
6147
6147
|
});
|
|
6148
6148
|
}
|
|
6149
|
-
var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6150
|
-
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 = {
|
|
6151
6151
|
props: {
|
|
6152
6152
|
modelValue: {
|
|
6153
6153
|
type: [String, Array]
|
|
@@ -6160,86 +6160,67 @@ const _sfc_main$A = {
|
|
|
6160
6160
|
}
|
|
6161
6161
|
}
|
|
6162
6162
|
};
|
|
6163
|
-
const _hoisted_1$
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
const _hoisted_2$m = {
|
|
6168
|
-
key: 0,
|
|
6169
|
-
class: "ux-required-marker"
|
|
6170
|
-
};
|
|
6171
|
-
const _hoisted_3$j = {
|
|
6172
|
-
key: 1,
|
|
6173
|
-
class: "ux-field-description"
|
|
6174
|
-
};
|
|
6175
|
-
const _hoisted_4$i = { key: 2 };
|
|
6176
|
-
const _hoisted_5$c = ["innerHTML"];
|
|
6177
|
-
const _hoisted_6$a = ["innerHTML"];
|
|
6178
|
-
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
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) {
|
|
6179
6167
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
6180
6168
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
6181
6169
|
const _component_ux_button = resolveComponent("ux-button");
|
|
6182
6170
|
const _component_flex_row = resolveComponent("flex-row");
|
|
6183
|
-
return openBlock(), createElementBlock(
|
|
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
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
_: 1
|
|
6233
|
-
})) : createCommentVNode("", true)
|
|
6234
|
-
])) : (openBlock(), createElementBlock("div", {
|
|
6235
|
-
key: 3,
|
|
6236
|
-
innerHTML: _ctx.field.template
|
|
6237
|
-
}, null, 8, _hoisted_6$a))
|
|
6238
|
-
], 64);
|
|
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));
|
|
6239
6220
|
}
|
|
6240
|
-
var CustomHTML = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6221
|
+
var CustomHTML = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C]]);
|
|
6241
6222
|
var FilterCondition_vue_vue_type_style_index_0_lang = "";
|
|
6242
|
-
const _sfc_main$
|
|
6223
|
+
const _sfc_main$B = {
|
|
6243
6224
|
props: {
|
|
6244
6225
|
fields: {
|
|
6245
6226
|
type: Array,
|
|
@@ -6500,24 +6481,24 @@ const _sfc_main$z = {
|
|
|
6500
6481
|
NativeSelect
|
|
6501
6482
|
}
|
|
6502
6483
|
};
|
|
6503
|
-
const _hoisted_1$
|
|
6484
|
+
const _hoisted_1$u = {
|
|
6504
6485
|
key: 0,
|
|
6505
6486
|
class: "filter-condition"
|
|
6506
6487
|
};
|
|
6507
|
-
const _hoisted_2$
|
|
6508
|
-
const _hoisted_3$
|
|
6509
|
-
const _hoisted_4$
|
|
6510
|
-
const _hoisted_5$
|
|
6511
|
-
const _hoisted_6$
|
|
6512
|
-
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 ");
|
|
6513
6494
|
const _hoisted_8$4 = { key: 4 };
|
|
6514
6495
|
const _hoisted_9$2 = { key: 5 };
|
|
6515
6496
|
const _hoisted_10$2 = { key: 6 };
|
|
6516
6497
|
const _hoisted_11$2 = { key: 7 };
|
|
6517
|
-
const _hoisted_12$
|
|
6498
|
+
const _hoisted_12$2 = { key: 8 };
|
|
6518
6499
|
const _hoisted_13$1 = { key: 9 };
|
|
6519
6500
|
const _hoisted_14$1 = { key: 10 };
|
|
6520
|
-
function _sfc_render$
|
|
6501
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6521
6502
|
const _component_native_select = resolveComponent("native-select");
|
|
6522
6503
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
6523
6504
|
const _component_text_field = resolveComponent("text-field");
|
|
@@ -6526,7 +6507,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6526
6507
|
const _component_content_select = resolveComponent("content-select");
|
|
6527
6508
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
6528
6509
|
const _component_ux_button = resolveComponent("ux-button");
|
|
6529
|
-
return $data.comparators ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6510
|
+
return $data.comparators ? (openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
6530
6511
|
createVNode(_component_flex_row, null, {
|
|
6531
6512
|
default: withCtx(() => [
|
|
6532
6513
|
createVNode(_component_flex_cell, null, {
|
|
@@ -6553,7 +6534,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6553
6534
|
})) : createCommentVNode("", true),
|
|
6554
6535
|
$data.model.comparator ? (openBlock(), createBlock(_component_flex_cell, { key: 1 }, {
|
|
6555
6536
|
default: withCtx(() => [
|
|
6556
|
-
$options.inputType == "array" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6537
|
+
$options.inputType == "array" ? (openBlock(), createElementBlock("div", _hoisted_2$o, [
|
|
6557
6538
|
$options.hasOptions ? (openBlock(), createBlock(_component_native_select, {
|
|
6558
6539
|
key: 0,
|
|
6559
6540
|
modelValue: $data.model.values,
|
|
@@ -6566,20 +6547,20 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6566
6547
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.model.values = $event)
|
|
6567
6548
|
}, null, 8, ["field", "modelValue"]))
|
|
6568
6549
|
])) : createCommentVNode("", true),
|
|
6569
|
-
$options.inputType == "range" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6550
|
+
$options.inputType == "range" ? (openBlock(), createElementBlock("div", _hoisted_3$k, [
|
|
6570
6551
|
createVNode(_component_text_field, {
|
|
6571
6552
|
field: $options.normalField,
|
|
6572
6553
|
modelValue: $data.model.value,
|
|
6573
6554
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.model.value = $event)
|
|
6574
6555
|
}, null, 8, ["field", "modelValue"]),
|
|
6575
|
-
_hoisted_4$
|
|
6556
|
+
_hoisted_4$j,
|
|
6576
6557
|
createVNode(_component_text_field, {
|
|
6577
6558
|
field: $options.normalField,
|
|
6578
6559
|
modelValue: $data.model.value2,
|
|
6579
6560
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.model.value2 = $event)
|
|
6580
6561
|
}, null, 8, ["field", "modelValue"])
|
|
6581
6562
|
])) : createCommentVNode("", true),
|
|
6582
|
-
$options.inputType == "daterelative" ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
6563
|
+
$options.inputType == "daterelative" ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
|
|
6583
6564
|
createVNode(_component_flex_row, null, {
|
|
6584
6565
|
default: withCtx(() => [
|
|
6585
6566
|
createVNode(_component_flex_cell, { style: { "width": "80px" } }, {
|
|
@@ -6606,13 +6587,13 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6606
6587
|
_: 1
|
|
6607
6588
|
})
|
|
6608
6589
|
])) : createCommentVNode("", true),
|
|
6609
|
-
$options.inputType == "daterange" ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
6590
|
+
$options.inputType == "daterange" ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
|
|
6610
6591
|
createVNode(_component_date_field, {
|
|
6611
6592
|
field: $options.dateField,
|
|
6612
6593
|
modelValue: $data.model.value,
|
|
6613
6594
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $data.model.value = $event)
|
|
6614
6595
|
}, null, 8, ["field", "modelValue"]),
|
|
6615
|
-
_hoisted_7$
|
|
6596
|
+
_hoisted_7$8,
|
|
6616
6597
|
createVNode(_component_date_field, {
|
|
6617
6598
|
field: $options.dateField,
|
|
6618
6599
|
modelValue: $data.model.value2,
|
|
@@ -6648,7 +6629,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6648
6629
|
[vModelCheckbox, $data.model.value]
|
|
6649
6630
|
])
|
|
6650
6631
|
])) : createCommentVNode("", true),
|
|
6651
|
-
$options.inputType == "none" ? (openBlock(), createElementBlock("div", _hoisted_12$
|
|
6632
|
+
$options.inputType == "none" ? (openBlock(), createElementBlock("div", _hoisted_12$2)) : createCommentVNode("", true),
|
|
6652
6633
|
$options.inputType == "number" ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
|
|
6653
6634
|
createVNode(_component_text_field, {
|
|
6654
6635
|
field: $options.normalField,
|
|
@@ -6695,7 +6676,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6695
6676
|
})
|
|
6696
6677
|
])) : createCommentVNode("", true);
|
|
6697
6678
|
}
|
|
6698
|
-
var FilterCondition = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6679
|
+
var FilterCondition = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B]]);
|
|
6699
6680
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
6700
6681
|
function isObject$4(value) {
|
|
6701
6682
|
var type = typeof value;
|
|
@@ -6890,7 +6871,7 @@ function debounce(func, wait, options) {
|
|
|
6890
6871
|
}
|
|
6891
6872
|
var debounce_1 = debounce;
|
|
6892
6873
|
var FilterRule_vue_vue_type_style_index_0_lang = "";
|
|
6893
|
-
const _sfc_main$
|
|
6874
|
+
const _sfc_main$A = {
|
|
6894
6875
|
props: {
|
|
6895
6876
|
enableRemove: {
|
|
6896
6877
|
type: Boolean
|
|
@@ -7000,29 +6981,29 @@ const _sfc_main$y = {
|
|
|
7000
6981
|
NativeSelect
|
|
7001
6982
|
}
|
|
7002
6983
|
};
|
|
7003
|
-
const _hoisted_1$
|
|
7004
|
-
const _hoisted_2$
|
|
7005
|
-
const _hoisted_3$
|
|
7006
|
-
const _hoisted_4$
|
|
7007
|
-
const _hoisted_5$
|
|
7008
|
-
const _hoisted_6$
|
|
7009
|
-
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" };
|
|
7010
6991
|
const _hoisted_8$3 = /* @__PURE__ */ createTextVNode("Add Condition");
|
|
7011
|
-
function _sfc_render$
|
|
6992
|
+
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7012
6993
|
const _component_native_select = resolveComponent("native-select");
|
|
7013
6994
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
7014
6995
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
7015
6996
|
const _component_ux_button = resolveComponent("ux-button");
|
|
7016
6997
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7017
6998
|
const _component_filter_condition = resolveComponent("filter-condition");
|
|
7018
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7019
|
-
createElementVNode("div", _hoisted_2$
|
|
6999
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
7000
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
7020
7001
|
createVNode(_component_flex_row, null, {
|
|
7021
7002
|
default: withCtx(() => [
|
|
7022
7003
|
createVNode(_component_flex_cell, null, {
|
|
7023
7004
|
default: withCtx(() => [
|
|
7024
|
-
createElementVNode("div", _hoisted_3$
|
|
7025
|
-
_hoisted_4$
|
|
7005
|
+
createElementVNode("div", _hoisted_3$j, [
|
|
7006
|
+
_hoisted_4$i,
|
|
7026
7007
|
createVNode(_component_native_select, {
|
|
7027
7008
|
modelValue: $data.model.operator,
|
|
7028
7009
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
|
|
@@ -7033,7 +7014,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7033
7014
|
]),
|
|
7034
7015
|
_: 1
|
|
7035
7016
|
}, 8, ["modelValue", "field"]),
|
|
7036
|
-
_hoisted_5$
|
|
7017
|
+
_hoisted_5$b
|
|
7037
7018
|
])
|
|
7038
7019
|
]),
|
|
7039
7020
|
_: 1
|
|
@@ -7072,8 +7053,8 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7072
7053
|
shrink: ""
|
|
7073
7054
|
}, {
|
|
7074
7055
|
default: withCtx(() => [
|
|
7075
|
-
_hoisted_6$
|
|
7076
|
-
createElementVNode("div", _hoisted_7$
|
|
7056
|
+
_hoisted_6$9,
|
|
7057
|
+
createElementVNode("div", _hoisted_7$7, toDisplayString($data.model.operator), 1)
|
|
7077
7058
|
]),
|
|
7078
7059
|
_: 2
|
|
7079
7060
|
}, 1032, ["class"])) : createCommentVNode("", true),
|
|
@@ -7101,9 +7082,9 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7101
7082
|
}, 8, ["onClick"])
|
|
7102
7083
|
]);
|
|
7103
7084
|
}
|
|
7104
|
-
var FilterRule = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7085
|
+
var FilterRule = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A]]);
|
|
7105
7086
|
var FilterBuilder_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7106
|
-
const _sfc_main$
|
|
7087
|
+
const _sfc_main$z = {
|
|
7107
7088
|
components: {
|
|
7108
7089
|
FilterRule,
|
|
7109
7090
|
NativeSelect
|
|
@@ -7204,16 +7185,16 @@ const _sfc_main$x = {
|
|
|
7204
7185
|
};
|
|
7205
7186
|
}
|
|
7206
7187
|
};
|
|
7207
|
-
const _hoisted_1$
|
|
7208
|
-
const _hoisted_2$
|
|
7188
|
+
const _hoisted_1$s = { class: "filters" };
|
|
7189
|
+
const _hoisted_2$m = {
|
|
7209
7190
|
key: 0,
|
|
7210
7191
|
class: "top"
|
|
7211
7192
|
};
|
|
7212
|
-
const _hoisted_3$
|
|
7213
|
-
const _hoisted_4$
|
|
7214
|
-
const _hoisted_5$
|
|
7215
|
-
const _hoisted_6$
|
|
7216
|
-
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) {
|
|
7217
7198
|
const _component_native_select = resolveComponent("native-select");
|
|
7218
7199
|
const _component_filter_rule = resolveComponent("filter-rule");
|
|
7219
7200
|
const _component_ux_button = resolveComponent("ux-button");
|
|
@@ -7223,10 +7204,10 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7223
7204
|
default: withCtx(() => [
|
|
7224
7205
|
createVNode(_component_flex_body, null, {
|
|
7225
7206
|
default: withCtx(() => [
|
|
7226
|
-
createElementVNode("div", _hoisted_1$
|
|
7227
|
-
$data.model && $data.model.filters && $data.model.filters.length ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
7228
|
-
createElementVNode("div", _hoisted_3$
|
|
7229
|
-
_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,
|
|
7230
7211
|
createVNode(_component_native_select, {
|
|
7231
7212
|
modelValue: $data.model.operator,
|
|
7232
7213
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
|
|
@@ -7237,7 +7218,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7237
7218
|
]),
|
|
7238
7219
|
_: 1
|
|
7239
7220
|
}, 8, ["modelValue", "field"]),
|
|
7240
|
-
_hoisted_5$
|
|
7221
|
+
_hoisted_5$a
|
|
7241
7222
|
])
|
|
7242
7223
|
])) : createCommentVNode("", true),
|
|
7243
7224
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.model.filters, (rule, index2) => {
|
|
@@ -7255,7 +7236,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7255
7236
|
onClick: _cache[1] || (_cache[1] = ($event) => $options.addRule())
|
|
7256
7237
|
}, {
|
|
7257
7238
|
default: withCtx(() => [
|
|
7258
|
-
_hoisted_6$
|
|
7239
|
+
_hoisted_6$8
|
|
7259
7240
|
]),
|
|
7260
7241
|
_: 1
|
|
7261
7242
|
})
|
|
@@ -7267,9 +7248,9 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7267
7248
|
_: 1
|
|
7268
7249
|
});
|
|
7269
7250
|
}
|
|
7270
|
-
var FilterBuilder = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7251
|
+
var FilterBuilder = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z], ["__scopeId", "data-v-30449bfc"]]);
|
|
7271
7252
|
var filter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7272
|
-
const _sfc_main$
|
|
7253
|
+
const _sfc_main$y = {
|
|
7273
7254
|
mixins: [InputMixin],
|
|
7274
7255
|
components: {
|
|
7275
7256
|
FilterBuilder
|
|
@@ -7311,32 +7292,32 @@ const _sfc_main$w = {
|
|
|
7311
7292
|
}
|
|
7312
7293
|
}
|
|
7313
7294
|
};
|
|
7314
|
-
const _hoisted_1$
|
|
7295
|
+
const _hoisted_1$r = {
|
|
7315
7296
|
key: 0,
|
|
7316
7297
|
class: "ux-field-title"
|
|
7317
7298
|
};
|
|
7318
|
-
const _hoisted_2$
|
|
7299
|
+
const _hoisted_2$l = {
|
|
7319
7300
|
key: 0,
|
|
7320
7301
|
class: "ux-required-marker"
|
|
7321
7302
|
};
|
|
7322
|
-
const _hoisted_3$
|
|
7303
|
+
const _hoisted_3$h = {
|
|
7323
7304
|
key: 1,
|
|
7324
7305
|
class: "ux-field-description"
|
|
7325
7306
|
};
|
|
7326
|
-
const _hoisted_4$
|
|
7327
|
-
function _sfc_render$
|
|
7307
|
+
const _hoisted_4$g = { key: 2 };
|
|
7308
|
+
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7328
7309
|
const _component_filter_builder = resolveComponent("filter-builder");
|
|
7329
7310
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
7330
7311
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
7331
7312
|
const _component_ux_button = resolveComponent("ux-button");
|
|
7332
7313
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7333
7314
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
7334
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7315
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$r, [
|
|
7335
7316
|
createTextVNode(toDisplayString(_ctx.label) + " (" + toDisplayString($options.definitionTitle) + ") ", 1),
|
|
7336
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
7317
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$l, "*")) : createCommentVNode("", true)
|
|
7337
7318
|
])) : createCommentVNode("", true),
|
|
7338
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7339
|
-
_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, [
|
|
7340
7321
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
7341
7322
|
return openBlock(), createBlock(_component_flex_row, {
|
|
7342
7323
|
class: "ux-text-row",
|
|
@@ -7393,9 +7374,9 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7393
7374
|
}, null, 8, ["definition", "modelValue"]))
|
|
7394
7375
|
], 64);
|
|
7395
7376
|
}
|
|
7396
|
-
var FilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7377
|
+
var FilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y], ["__scopeId", "data-v-5a049062"]]);
|
|
7397
7378
|
var switch_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7398
|
-
const _sfc_main$
|
|
7379
|
+
const _sfc_main$x = {
|
|
7399
7380
|
mixins: [InputMixin],
|
|
7400
7381
|
props: {
|
|
7401
7382
|
modelValue: {
|
|
@@ -7434,19 +7415,19 @@ const _sfc_main$v = {
|
|
|
7434
7415
|
}
|
|
7435
7416
|
}
|
|
7436
7417
|
};
|
|
7437
|
-
const _hoisted_1$
|
|
7418
|
+
const _hoisted_1$q = {
|
|
7438
7419
|
key: 0,
|
|
7439
7420
|
class: "ux-field-title"
|
|
7440
7421
|
};
|
|
7441
|
-
const _hoisted_2$
|
|
7422
|
+
const _hoisted_2$k = {
|
|
7442
7423
|
key: 0,
|
|
7443
7424
|
class: "ux-required-marker"
|
|
7444
7425
|
};
|
|
7445
|
-
const _hoisted_3$
|
|
7426
|
+
const _hoisted_3$g = {
|
|
7446
7427
|
key: 1,
|
|
7447
7428
|
class: "ux-field-description"
|
|
7448
7429
|
};
|
|
7449
|
-
function _sfc_render$
|
|
7430
|
+
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7450
7431
|
const _component_ux_switch = resolveComponent("ux-switch");
|
|
7451
7432
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
7452
7433
|
const _component_flex_row = resolveComponent("flex-row");
|
|
@@ -7470,11 +7451,11 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7470
7451
|
createVNode(_component_flex_cell, { vcenter: "" }, {
|
|
7471
7452
|
default: withCtx(() => [
|
|
7472
7453
|
createElementVNode("div", null, [
|
|
7473
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7454
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$q, [
|
|
7474
7455
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
7475
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
7456
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$k, "*")) : createCommentVNode("", true)
|
|
7476
7457
|
])) : createCommentVNode("", true),
|
|
7477
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7458
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$g, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
|
|
7478
7459
|
])
|
|
7479
7460
|
]),
|
|
7480
7461
|
_: 1
|
|
@@ -7483,9 +7464,9 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7483
7464
|
_: 1
|
|
7484
7465
|
});
|
|
7485
7466
|
}
|
|
7486
|
-
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7467
|
+
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$x], ["__scopeId", "data-v-7ee9d4cd"]]);
|
|
7487
7468
|
var filedrop_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7488
|
-
const _sfc_main$
|
|
7469
|
+
const _sfc_main$w = {
|
|
7489
7470
|
props: {
|
|
7490
7471
|
multiple: {
|
|
7491
7472
|
type: Boolean
|
|
@@ -7519,9 +7500,9 @@ const _sfc_main$u = {
|
|
|
7519
7500
|
}
|
|
7520
7501
|
}
|
|
7521
7502
|
};
|
|
7522
|
-
const _hoisted_1$
|
|
7523
|
-
const _hoisted_2$
|
|
7524
|
-
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) {
|
|
7525
7506
|
const _component_ux_button = resolveComponent("ux-button");
|
|
7526
7507
|
return openBlock(), createElementBlock("label", {
|
|
7527
7508
|
class: "file-drop",
|
|
@@ -7533,7 +7514,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7533
7514
|
type: "file",
|
|
7534
7515
|
multiple: $props.multiple,
|
|
7535
7516
|
onChange: _cache[0] || (_cache[0] = ($event) => $options.filesSelected($event.target.files))
|
|
7536
|
-
}, null, 40, _hoisted_1$
|
|
7517
|
+
}, null, 40, _hoisted_1$p),
|
|
7537
7518
|
createElementVNode("div", {
|
|
7538
7519
|
class: "file-drop-ux",
|
|
7539
7520
|
onClick: _cache[1] || (_cache[1] = (...args) => $options.clicked && $options.clicked(...args))
|
|
@@ -7541,7 +7522,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7541
7522
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
7542
7523
|
createVNode(_component_ux_button, null, {
|
|
7543
7524
|
default: withCtx(() => [
|
|
7544
|
-
_hoisted_2$
|
|
7525
|
+
_hoisted_2$j
|
|
7545
7526
|
]),
|
|
7546
7527
|
_: 1
|
|
7547
7528
|
})
|
|
@@ -7549,9 +7530,9 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7549
7530
|
])
|
|
7550
7531
|
], 32);
|
|
7551
7532
|
}
|
|
7552
|
-
var FileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7533
|
+
var FileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$w], ["__scopeId", "data-v-67879182"]]);
|
|
7553
7534
|
var upload_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7554
|
-
const _sfc_main$
|
|
7535
|
+
const _sfc_main$v = {
|
|
7555
7536
|
mixins: [InputMixin],
|
|
7556
7537
|
components: {
|
|
7557
7538
|
FileDrop
|
|
@@ -7682,26 +7663,26 @@ const _sfc_main$t = {
|
|
|
7682
7663
|
},
|
|
7683
7664
|
computed: {}
|
|
7684
7665
|
};
|
|
7685
|
-
const _hoisted_1$
|
|
7666
|
+
const _hoisted_1$o = {
|
|
7686
7667
|
key: 0,
|
|
7687
7668
|
class: "ux-field-title"
|
|
7688
7669
|
};
|
|
7689
|
-
const _hoisted_2$
|
|
7670
|
+
const _hoisted_2$i = {
|
|
7690
7671
|
key: 0,
|
|
7691
7672
|
class: "ux-required-marker"
|
|
7692
7673
|
};
|
|
7693
|
-
const _hoisted_3$
|
|
7674
|
+
const _hoisted_3$f = {
|
|
7694
7675
|
key: 1,
|
|
7695
7676
|
class: "ux-field-description"
|
|
7696
7677
|
};
|
|
7697
|
-
const _hoisted_4$
|
|
7678
|
+
const _hoisted_4$f = {
|
|
7698
7679
|
key: 2,
|
|
7699
7680
|
class: "files"
|
|
7700
7681
|
};
|
|
7701
|
-
const _hoisted_5$
|
|
7702
|
-
const _hoisted_6$
|
|
7703
|
-
const _hoisted_7$
|
|
7704
|
-
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) {
|
|
7705
7686
|
const _component_progress_bar = resolveComponent("progress-bar");
|
|
7706
7687
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
7707
7688
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
@@ -7709,12 +7690,12 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7709
7690
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7710
7691
|
const _component_file_drop = resolveComponent("file-drop");
|
|
7711
7692
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
7712
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7693
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$o, [
|
|
7713
7694
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
7714
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
7695
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$i, "*")) : createCommentVNode("", true)
|
|
7715
7696
|
])) : createCommentVNode("", true),
|
|
7716
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7717
|
-
$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, [
|
|
7718
7699
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.files, (file, index2) => {
|
|
7719
7700
|
return openBlock(), createElementBlock("div", {
|
|
7720
7701
|
class: "file-item",
|
|
@@ -7725,7 +7706,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7725
7706
|
createVNode(_component_flex_cell, null, {
|
|
7726
7707
|
default: withCtx(() => [
|
|
7727
7708
|
createElementVNode("strong", null, toDisplayString(file.name), 1),
|
|
7728
|
-
createElementVNode("div", _hoisted_5$
|
|
7709
|
+
createElementVNode("div", _hoisted_5$9, toDisplayString($options.filesize(file.size)), 1),
|
|
7729
7710
|
createVNode(_component_progress_bar, {
|
|
7730
7711
|
value: file.progress
|
|
7731
7712
|
}, null, 8, ["value"])
|
|
@@ -7761,7 +7742,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7761
7742
|
default: withCtx(() => [
|
|
7762
7743
|
createVNode(_component_ux_button, null, {
|
|
7763
7744
|
default: withCtx(() => [
|
|
7764
|
-
_hoisted_6$
|
|
7745
|
+
_hoisted_6$7
|
|
7765
7746
|
]),
|
|
7766
7747
|
_: 1
|
|
7767
7748
|
})
|
|
@@ -7775,7 +7756,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7775
7756
|
default: withCtx(() => [
|
|
7776
7757
|
createVNode(_component_ux_button, null, {
|
|
7777
7758
|
default: withCtx(() => [
|
|
7778
|
-
_hoisted_7$
|
|
7759
|
+
_hoisted_7$6
|
|
7779
7760
|
]),
|
|
7780
7761
|
_: 1
|
|
7781
7762
|
})
|
|
@@ -7784,9 +7765,9 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7784
7765
|
}, 8, ["onFiles"]))
|
|
7785
7766
|
], 64);
|
|
7786
7767
|
}
|
|
7787
|
-
var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7768
|
+
var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$v], ["__scopeId", "data-v-124f63e6"]]);
|
|
7788
7769
|
var group_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
7789
|
-
const _sfc_main$
|
|
7770
|
+
const _sfc_main$u = {
|
|
7790
7771
|
mixins: [InputMixin],
|
|
7791
7772
|
components: { draggable: draggableComponent },
|
|
7792
7773
|
props: {
|
|
@@ -7857,11 +7838,11 @@ const _sfc_main$s = {
|
|
|
7857
7838
|
}
|
|
7858
7839
|
}
|
|
7859
7840
|
};
|
|
7860
|
-
const _hoisted_1$
|
|
7841
|
+
const _hoisted_1$n = {
|
|
7861
7842
|
key: 0,
|
|
7862
7843
|
class: "ux-multi-group"
|
|
7863
7844
|
};
|
|
7864
|
-
function _sfc_render$
|
|
7845
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7865
7846
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
7866
7847
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
7867
7848
|
const _component_ux_button = resolveComponent("ux-button");
|
|
@@ -7871,7 +7852,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7871
7852
|
const _component_ux_panel_body = resolveComponent("ux-panel-body");
|
|
7872
7853
|
const _component_ux_panel = resolveComponent("ux-panel");
|
|
7873
7854
|
const _component_draggable = resolveComponent("draggable");
|
|
7874
|
-
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7855
|
+
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
7875
7856
|
$options.reorderable ? (openBlock(), createBlock(_component_draggable, {
|
|
7876
7857
|
key: 0,
|
|
7877
7858
|
modelValue: _ctx.model,
|
|
@@ -8101,8 +8082,8 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8101
8082
|
fields: _ctx.field.fields
|
|
8102
8083
|
}, null, 8, ["onForm:state", "parentModel", "modelValue", "flex", "fields"]));
|
|
8103
8084
|
}
|
|
8104
|
-
var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8105
|
-
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 = {
|
|
8106
8087
|
props: {
|
|
8107
8088
|
option: {
|
|
8108
8089
|
required: true
|
|
@@ -8114,17 +8095,17 @@ const _sfc_main$r = {
|
|
|
8114
8095
|
}
|
|
8115
8096
|
}
|
|
8116
8097
|
};
|
|
8117
|
-
function _sfc_render$
|
|
8098
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8118
8099
|
return renderSlot(_ctx.$slots, "default", { plainValue: $options.plainValue }, () => [
|
|
8119
8100
|
createElementVNode("pre", null, toDisplayString($props.option), 1)
|
|
8120
8101
|
]);
|
|
8121
8102
|
}
|
|
8122
|
-
var OptionSlot = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8103
|
+
var OptionSlot = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$t]]);
|
|
8123
8104
|
var buttonSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
8124
8105
|
function isUndefined$3(entry) {
|
|
8125
8106
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
8126
8107
|
}
|
|
8127
|
-
const _sfc_main$
|
|
8108
|
+
const _sfc_main$s = {
|
|
8128
8109
|
components: {
|
|
8129
8110
|
OptionSlot
|
|
8130
8111
|
},
|
|
@@ -8245,30 +8226,30 @@ const _sfc_main$q = {
|
|
|
8245
8226
|
}
|
|
8246
8227
|
}
|
|
8247
8228
|
};
|
|
8248
|
-
const _hoisted_1$
|
|
8229
|
+
const _hoisted_1$m = {
|
|
8249
8230
|
key: 0,
|
|
8250
8231
|
class: "ux-field-title"
|
|
8251
8232
|
};
|
|
8252
|
-
const _hoisted_2$
|
|
8233
|
+
const _hoisted_2$h = {
|
|
8253
8234
|
key: 0,
|
|
8254
8235
|
class: "ux-required-marker"
|
|
8255
8236
|
};
|
|
8256
|
-
const _hoisted_3$
|
|
8237
|
+
const _hoisted_3$e = {
|
|
8257
8238
|
key: 1,
|
|
8258
8239
|
class: "ux-field-description"
|
|
8259
8240
|
};
|
|
8260
|
-
const _hoisted_4$
|
|
8261
|
-
function _sfc_render$
|
|
8241
|
+
const _hoisted_4$e = { class: "buttons" };
|
|
8242
|
+
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8262
8243
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
8263
8244
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8264
8245
|
const _component_option_slot = resolveComponent("option-slot");
|
|
8265
8246
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8266
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8247
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$m, [
|
|
8267
8248
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8268
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
8249
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$h, "*")) : createCommentVNode("", true)
|
|
8269
8250
|
])) : createCommentVNode("", true),
|
|
8270
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
8271
|
-
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, [
|
|
8272
8253
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selectableOptions, (option2) => {
|
|
8273
8254
|
return openBlock(), createBlock(_component_option_slot, { option: option2 }, {
|
|
8274
8255
|
default: withCtx(({ plainValue }) => [
|
|
@@ -8292,9 +8273,9 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8292
8273
|
])
|
|
8293
8274
|
], 64);
|
|
8294
8275
|
}
|
|
8295
|
-
var ButtonSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8276
|
+
var ButtonSelect = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__scopeId", "data-v-4b69def8"]]);
|
|
8296
8277
|
var objectField_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
8297
|
-
const _sfc_main$
|
|
8278
|
+
const _sfc_main$r = {
|
|
8298
8279
|
props: {
|
|
8299
8280
|
modelValue: {
|
|
8300
8281
|
type: Object
|
|
@@ -8308,32 +8289,32 @@ const _sfc_main$p = {
|
|
|
8308
8289
|
}
|
|
8309
8290
|
}
|
|
8310
8291
|
};
|
|
8311
|
-
const _hoisted_1$
|
|
8292
|
+
const _hoisted_1$l = {
|
|
8312
8293
|
key: 0,
|
|
8313
8294
|
class: "ux-field-title"
|
|
8314
8295
|
};
|
|
8315
|
-
const _hoisted_2$
|
|
8296
|
+
const _hoisted_2$g = {
|
|
8316
8297
|
key: 0,
|
|
8317
8298
|
class: "ux-required-marker"
|
|
8318
8299
|
};
|
|
8319
|
-
const _hoisted_3$
|
|
8300
|
+
const _hoisted_3$d = {
|
|
8320
8301
|
key: 1,
|
|
8321
8302
|
class: "ux-field-description"
|
|
8322
8303
|
};
|
|
8323
|
-
const _hoisted_4$
|
|
8324
|
-
const _hoisted_5$
|
|
8325
|
-
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) {
|
|
8326
8307
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
8327
8308
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
8328
8309
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8329
8310
|
const _component_flex_row = resolveComponent("flex-row");
|
|
8330
8311
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8331
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8312
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$l, [
|
|
8332
8313
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8333
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
8314
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$g, "*")) : createCommentVNode("", true)
|
|
8334
8315
|
])) : createCommentVNode("", true),
|
|
8335
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
8336
|
-
_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, [
|
|
8337
8318
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
8338
8319
|
return openBlock(), createBlock(_component_flex_row, {
|
|
8339
8320
|
class: "ux-text-row",
|
|
@@ -8382,12 +8363,12 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8382
8363
|
]),
|
|
8383
8364
|
_: 1
|
|
8384
8365
|
})) : createCommentVNode("", true)
|
|
8385
|
-
])) : (openBlock(), createElementBlock("pre", _hoisted_5$
|
|
8366
|
+
])) : (openBlock(), createElementBlock("pre", _hoisted_5$8, toDisplayString(_ctx.model), 1))
|
|
8386
8367
|
], 64);
|
|
8387
8368
|
}
|
|
8388
|
-
var ObjectField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8369
|
+
var ObjectField = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r], ["__scopeId", "data-v-6b3fc2f2"]]);
|
|
8389
8370
|
var optionsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
8390
|
-
const _sfc_main$
|
|
8371
|
+
const _sfc_main$q = {
|
|
8391
8372
|
props: {
|
|
8392
8373
|
modelValue: {
|
|
8393
8374
|
type: [String, Array]
|
|
@@ -8482,43 +8463,43 @@ const _sfc_main$o = {
|
|
|
8482
8463
|
}
|
|
8483
8464
|
};
|
|
8484
8465
|
const _withScopeId$1 = (n2) => (pushScopeId("data-v-42a51394"), n2 = n2(), popScopeId(), n2);
|
|
8485
|
-
const _hoisted_1$
|
|
8466
|
+
const _hoisted_1$k = {
|
|
8486
8467
|
key: 0,
|
|
8487
8468
|
class: "ux-field-title"
|
|
8488
8469
|
};
|
|
8489
|
-
const _hoisted_2$
|
|
8470
|
+
const _hoisted_2$f = {
|
|
8490
8471
|
key: 0,
|
|
8491
8472
|
class: "ux-required-marker"
|
|
8492
8473
|
};
|
|
8493
|
-
const _hoisted_3$
|
|
8474
|
+
const _hoisted_3$c = {
|
|
8494
8475
|
key: 1,
|
|
8495
8476
|
class: "ux-field-description"
|
|
8496
8477
|
};
|
|
8497
|
-
const _hoisted_4$
|
|
8498
|
-
const _hoisted_5$
|
|
8499
|
-
const _hoisted_6$
|
|
8500
|
-
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"];
|
|
8501
8482
|
const _hoisted_8$2 = ["onBlur", "onUpdate:modelValue"];
|
|
8502
8483
|
const _hoisted_9$1 = { class: "ux-text-wrap prefixed" };
|
|
8503
8484
|
const _hoisted_10$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Value", -1));
|
|
8504
8485
|
const _hoisted_11$1 = ["onFocus", "onUpdate:modelValue"];
|
|
8505
|
-
const _hoisted_12 = ["onFocus", "onUpdate:modelValue"];
|
|
8486
|
+
const _hoisted_12$1 = ["onFocus", "onUpdate:modelValue"];
|
|
8506
8487
|
const _hoisted_13 = { class: "ux-text-wrap prefixed" };
|
|
8507
8488
|
const _hoisted_14 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
|
|
8508
8489
|
const _hoisted_15 = { class: "ux-text-wrap prefixed" };
|
|
8509
8490
|
const _hoisted_16 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Value", -1));
|
|
8510
|
-
function _sfc_render$
|
|
8491
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8511
8492
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
8512
8493
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
8513
8494
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8514
8495
|
const _component_flex_row = resolveComponent("flex-row");
|
|
8515
8496
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8516
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8497
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$k, [
|
|
8517
8498
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8518
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
8499
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$f, "*")) : createCommentVNode("", true)
|
|
8519
8500
|
])) : createCommentVNode("", true),
|
|
8520
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
8521
|
-
_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, [
|
|
8522
8503
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
8523
8504
|
return openBlock(), createBlock(_component_flex_row, {
|
|
8524
8505
|
class: "ux-text-row",
|
|
@@ -8527,8 +8508,8 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8527
8508
|
default: withCtx(() => [
|
|
8528
8509
|
createVNode(_component_flex_cell, null, {
|
|
8529
8510
|
default: withCtx(() => [
|
|
8530
|
-
createElementVNode("div", _hoisted_5$
|
|
8531
|
-
_hoisted_6$
|
|
8511
|
+
createElementVNode("div", _hoisted_5$7, [
|
|
8512
|
+
_hoisted_6$6,
|
|
8532
8513
|
$options.lazy ? withDirectives((openBlock(), createElementBlock("input", {
|
|
8533
8514
|
key: 0,
|
|
8534
8515
|
class: "ux-field-focus ux-text-input-multiple",
|
|
@@ -8539,7 +8520,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8539
8520
|
onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
|
|
8540
8521
|
onBlur: ($event) => $options.titleBlurred(index2),
|
|
8541
8522
|
"onUpdate:modelValue": [($event) => $options.entryTitleChanged(index2), ($event) => _ctx.model[index2].title = $event]
|
|
8542
|
-
}, null, 40, _hoisted_7$
|
|
8523
|
+
}, null, 40, _hoisted_7$5)), [
|
|
8543
8524
|
[
|
|
8544
8525
|
vModelText,
|
|
8545
8526
|
_ctx.model[index2].title,
|
|
@@ -8594,7 +8575,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8594
8575
|
ref: "valueInput",
|
|
8595
8576
|
onKeydown: _cache[5] || (_cache[5] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
|
|
8596
8577
|
"onUpdate:modelValue": ($event) => _ctx.model[index2].value = $event
|
|
8597
|
-
}, null, 40, _hoisted_12)), [
|
|
8578
|
+
}, null, 40, _hoisted_12$1)), [
|
|
8598
8579
|
[vModelText, _ctx.model[index2].value]
|
|
8599
8580
|
]) : createCommentVNode("", true)
|
|
8600
8581
|
])
|
|
@@ -8725,9 +8706,9 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8725
8706
|
}))
|
|
8726
8707
|
], 64);
|
|
8727
8708
|
}
|
|
8728
|
-
var OptionsManager = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8709
|
+
var OptionsManager = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-42a51394"]]);
|
|
8729
8710
|
var codeEditor_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
8730
|
-
const _sfc_main$
|
|
8711
|
+
const _sfc_main$p = {
|
|
8731
8712
|
components: {},
|
|
8732
8713
|
methods: {
|
|
8733
8714
|
editorInit() {
|
|
@@ -8762,7 +8743,7 @@ const _sfc_main$n = {
|
|
|
8762
8743
|
};
|
|
8763
8744
|
}
|
|
8764
8745
|
};
|
|
8765
|
-
function _sfc_render$
|
|
8746
|
+
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8766
8747
|
const _component_v_ace_editor = resolveComponent("v-ace-editor");
|
|
8767
8748
|
const _component_flex_column = resolveComponent("flex-column");
|
|
8768
8749
|
return $data.mounted ? (openBlock(), createBlock(_component_flex_column, { key: 0 }, {
|
|
@@ -8781,9 +8762,9 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8781
8762
|
_: 1
|
|
8782
8763
|
})) : createCommentVNode("", true);
|
|
8783
8764
|
}
|
|
8784
|
-
var CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8765
|
+
var CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-38988542"]]);
|
|
8785
8766
|
var codeEditorField_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
8786
|
-
const _sfc_main$
|
|
8767
|
+
const _sfc_main$o = {
|
|
8787
8768
|
components: {
|
|
8788
8769
|
CodeEditor
|
|
8789
8770
|
},
|
|
@@ -8804,37 +8785,37 @@ const _sfc_main$m = {
|
|
|
8804
8785
|
}
|
|
8805
8786
|
}
|
|
8806
8787
|
};
|
|
8807
|
-
const _hoisted_1$
|
|
8788
|
+
const _hoisted_1$j = {
|
|
8808
8789
|
key: 0,
|
|
8809
8790
|
class: "ux-field-title"
|
|
8810
8791
|
};
|
|
8811
|
-
const _hoisted_2$
|
|
8792
|
+
const _hoisted_2$e = {
|
|
8812
8793
|
key: 0,
|
|
8813
8794
|
class: "ux-required-marker"
|
|
8814
8795
|
};
|
|
8815
|
-
const _hoisted_3$
|
|
8796
|
+
const _hoisted_3$b = {
|
|
8816
8797
|
key: 1,
|
|
8817
8798
|
class: "ux-field-description"
|
|
8818
8799
|
};
|
|
8819
|
-
const _hoisted_4$
|
|
8820
|
-
const _hoisted_5$
|
|
8821
|
-
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 = {
|
|
8822
8803
|
key: 3,
|
|
8823
8804
|
class: "code-editor-field-wrap"
|
|
8824
8805
|
};
|
|
8825
|
-
function _sfc_render$
|
|
8806
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8826
8807
|
const _component_code_editor = resolveComponent("code-editor");
|
|
8827
8808
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
8828
8809
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
8829
8810
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8830
8811
|
const _component_flex_row = resolveComponent("flex-row");
|
|
8831
8812
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8832
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8813
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$j, [
|
|
8833
8814
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8834
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
8815
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$e, "*")) : createCommentVNode("", true)
|
|
8835
8816
|
])) : createCommentVNode("", true),
|
|
8836
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
8837
|
-
_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, [
|
|
8838
8819
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
8839
8820
|
return openBlock(), createBlock(_component_flex_row, {
|
|
8840
8821
|
class: "ux-text-row",
|
|
@@ -8843,7 +8824,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8843
8824
|
default: withCtx(() => [
|
|
8844
8825
|
createVNode(_component_flex_cell, null, {
|
|
8845
8826
|
default: withCtx(() => [
|
|
8846
|
-
createElementVNode("div", _hoisted_5$
|
|
8827
|
+
createElementVNode("div", _hoisted_5$6, [
|
|
8847
8828
|
createVNode(_component_code_editor, {
|
|
8848
8829
|
lang: $options.syntax,
|
|
8849
8830
|
onFocus: _ctx.touch,
|
|
@@ -8889,7 +8870,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8889
8870
|
]),
|
|
8890
8871
|
_: 1
|
|
8891
8872
|
})) : createCommentVNode("", true)
|
|
8892
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_6$
|
|
8873
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_6$5, [
|
|
8893
8874
|
createVNode(_component_code_editor, {
|
|
8894
8875
|
lang: $options.syntax,
|
|
8895
8876
|
class: "ux-code-editor ux-field-focus ux-text-area-single",
|
|
@@ -8900,12 +8881,12 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8900
8881
|
]))
|
|
8901
8882
|
], 64);
|
|
8902
8883
|
}
|
|
8903
|
-
var CodeEditorField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8884
|
+
var CodeEditorField = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-06a239bb"]]);
|
|
8904
8885
|
var InternalRouteSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
8905
8886
|
function isUndefined$2(entry) {
|
|
8906
8887
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
8907
8888
|
}
|
|
8908
|
-
const _sfc_main$
|
|
8889
|
+
const _sfc_main$n = {
|
|
8909
8890
|
props: {
|
|
8910
8891
|
title: {
|
|
8911
8892
|
type: String
|
|
@@ -9024,39 +9005,39 @@ const _sfc_main$l = {
|
|
|
9024
9005
|
}
|
|
9025
9006
|
}
|
|
9026
9007
|
};
|
|
9027
|
-
const _hoisted_1$
|
|
9008
|
+
const _hoisted_1$i = {
|
|
9028
9009
|
key: 0,
|
|
9029
9010
|
class: "ux-field-title"
|
|
9030
9011
|
};
|
|
9031
|
-
const _hoisted_2$
|
|
9012
|
+
const _hoisted_2$d = {
|
|
9032
9013
|
key: 0,
|
|
9033
9014
|
class: "ux-required-marker"
|
|
9034
9015
|
};
|
|
9035
|
-
const _hoisted_3$
|
|
9016
|
+
const _hoisted_3$a = {
|
|
9036
9017
|
key: 1,
|
|
9037
9018
|
class: "ux-field-description"
|
|
9038
9019
|
};
|
|
9039
|
-
const _hoisted_4$
|
|
9020
|
+
const _hoisted_4$a = {
|
|
9040
9021
|
key: 2,
|
|
9041
9022
|
class: "ui-select-button"
|
|
9042
9023
|
};
|
|
9043
|
-
const _hoisted_5$
|
|
9044
|
-
const _hoisted_6$
|
|
9024
|
+
const _hoisted_5$5 = ["multiple"];
|
|
9025
|
+
const _hoisted_6$4 = {
|
|
9045
9026
|
key: 0,
|
|
9046
9027
|
value: ""
|
|
9047
9028
|
};
|
|
9048
|
-
const _hoisted_7$
|
|
9049
|
-
function _sfc_render$
|
|
9029
|
+
const _hoisted_7$4 = ["value"];
|
|
9030
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9050
9031
|
const _component_ux_button = resolveComponent("ux-button");
|
|
9051
9032
|
return openBlock(), createElementBlock("div", {
|
|
9052
9033
|
class: normalizeClass(["native-select", $options.classes])
|
|
9053
9034
|
}, [
|
|
9054
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
9035
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$i, [
|
|
9055
9036
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
9056
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
9037
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$d, "*")) : createCommentVNode("", true)
|
|
9057
9038
|
])) : createCommentVNode("", true),
|
|
9058
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
9059
|
-
_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, [
|
|
9060
9041
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
9061
9042
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
9062
9043
|
default: withCtx(() => [
|
|
@@ -9071,23 +9052,23 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9071
9052
|
multiple: _ctx.multiValue,
|
|
9072
9053
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
|
|
9073
9054
|
}, [
|
|
9074
|
-
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$
|
|
9055
|
+
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$4, "None")) : createCommentVNode("", true),
|
|
9075
9056
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
9076
9057
|
return openBlock(), createElementBlock("option", {
|
|
9077
9058
|
value: option2.value
|
|
9078
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
9059
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$4);
|
|
9079
9060
|
}), 256))
|
|
9080
|
-
], 40, _hoisted_5$
|
|
9061
|
+
], 40, _hoisted_5$5), [
|
|
9081
9062
|
[vModelSelect, _ctx.model]
|
|
9082
9063
|
])
|
|
9083
9064
|
], 2);
|
|
9084
9065
|
}
|
|
9085
|
-
var InternalRouteSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9066
|
+
var InternalRouteSelect = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-7662837a"]]);
|
|
9086
9067
|
var InternalMenuSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9087
9068
|
function isUndefined$1(entry) {
|
|
9088
9069
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
9089
9070
|
}
|
|
9090
|
-
const _sfc_main$
|
|
9071
|
+
const _sfc_main$m = {
|
|
9091
9072
|
props: {
|
|
9092
9073
|
title: {
|
|
9093
9074
|
type: String
|
|
@@ -9190,39 +9171,39 @@ const _sfc_main$k = {
|
|
|
9190
9171
|
}
|
|
9191
9172
|
}
|
|
9192
9173
|
};
|
|
9193
|
-
const _hoisted_1$
|
|
9174
|
+
const _hoisted_1$h = {
|
|
9194
9175
|
key: 0,
|
|
9195
9176
|
class: "ux-field-title"
|
|
9196
9177
|
};
|
|
9197
|
-
const _hoisted_2$
|
|
9178
|
+
const _hoisted_2$c = {
|
|
9198
9179
|
key: 0,
|
|
9199
9180
|
class: "ux-required-marker"
|
|
9200
9181
|
};
|
|
9201
|
-
const _hoisted_3$
|
|
9182
|
+
const _hoisted_3$9 = {
|
|
9202
9183
|
key: 1,
|
|
9203
9184
|
class: "ux-field-description"
|
|
9204
9185
|
};
|
|
9205
|
-
const _hoisted_4$
|
|
9186
|
+
const _hoisted_4$9 = {
|
|
9206
9187
|
key: 2,
|
|
9207
9188
|
class: "ui-select-button"
|
|
9208
9189
|
};
|
|
9209
|
-
const _hoisted_5$
|
|
9210
|
-
const _hoisted_6$
|
|
9190
|
+
const _hoisted_5$4 = ["multiple"];
|
|
9191
|
+
const _hoisted_6$3 = {
|
|
9211
9192
|
key: 0,
|
|
9212
9193
|
value: ""
|
|
9213
9194
|
};
|
|
9214
|
-
const _hoisted_7$
|
|
9215
|
-
function _sfc_render$
|
|
9195
|
+
const _hoisted_7$3 = ["value"];
|
|
9196
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9216
9197
|
const _component_ux_button = resolveComponent("ux-button");
|
|
9217
9198
|
return openBlock(), createElementBlock("div", {
|
|
9218
9199
|
class: normalizeClass(["native-select", $options.classes])
|
|
9219
9200
|
}, [
|
|
9220
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
9201
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$h, [
|
|
9221
9202
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
9222
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
9203
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$c, "*")) : createCommentVNode("", true)
|
|
9223
9204
|
])) : createCommentVNode("", true),
|
|
9224
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
9225
|
-
_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, [
|
|
9226
9207
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
9227
9208
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
9228
9209
|
default: withCtx(() => [
|
|
@@ -9237,18 +9218,18 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9237
9218
|
multiple: _ctx.multiValue,
|
|
9238
9219
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
|
|
9239
9220
|
}, [
|
|
9240
|
-
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$
|
|
9221
|
+
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$3, "None")) : createCommentVNode("", true),
|
|
9241
9222
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
9242
9223
|
return openBlock(), createElementBlock("option", {
|
|
9243
9224
|
value: option2.value
|
|
9244
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
9225
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$3);
|
|
9245
9226
|
}), 256))
|
|
9246
|
-
], 40, _hoisted_5$
|
|
9227
|
+
], 40, _hoisted_5$4), [
|
|
9247
9228
|
[vModelSelect, _ctx.model]
|
|
9248
9229
|
])
|
|
9249
9230
|
], 2);
|
|
9250
9231
|
}
|
|
9251
|
-
var InternalMenuSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9232
|
+
var InternalMenuSelect = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-a9c8bb64"]]);
|
|
9252
9233
|
var jsep = { exports: {} };
|
|
9253
9234
|
(function(module, exports) {
|
|
9254
9235
|
(function(root2) {
|
|
@@ -10055,7 +10036,7 @@ function computedExpression(key) {
|
|
|
10055
10036
|
return service.evaluateExpression(expression, context);
|
|
10056
10037
|
};
|
|
10057
10038
|
}
|
|
10058
|
-
const _sfc_main$
|
|
10039
|
+
const _sfc_main$l = {
|
|
10059
10040
|
components: {
|
|
10060
10041
|
InternalRouteSelect,
|
|
10061
10042
|
InternalMenuSelect,
|
|
@@ -10080,6 +10061,10 @@ const _sfc_main$j = {
|
|
|
10080
10061
|
CodeEditorField
|
|
10081
10062
|
},
|
|
10082
10063
|
props: {
|
|
10064
|
+
submission: {
|
|
10065
|
+
type: Boolean,
|
|
10066
|
+
default: false
|
|
10067
|
+
},
|
|
10083
10068
|
field: {
|
|
10084
10069
|
type: Object,
|
|
10085
10070
|
required: true
|
|
@@ -10348,7 +10333,7 @@ const _sfc_main$j = {
|
|
|
10348
10333
|
return this.type === "group";
|
|
10349
10334
|
},
|
|
10350
10335
|
asObject() {
|
|
10351
|
-
return this.isGroup && this.actualField.asObject;
|
|
10336
|
+
return this.widget === "form" || this.isGroup && this.actualField.asObject;
|
|
10352
10337
|
},
|
|
10353
10338
|
layoutGroup() {
|
|
10354
10339
|
return this.isGroup && !this.actualField.asObject;
|
|
@@ -10404,6 +10389,9 @@ const _sfc_main$j = {
|
|
|
10404
10389
|
}
|
|
10405
10390
|
var widget = this.actualField.widget;
|
|
10406
10391
|
switch (widget) {
|
|
10392
|
+
case "form":
|
|
10393
|
+
widget = this.submission ? "form" : "content-select";
|
|
10394
|
+
break;
|
|
10407
10395
|
case "internal-menu":
|
|
10408
10396
|
case "internal-route":
|
|
10409
10397
|
case "content-select":
|
|
@@ -10457,11 +10445,11 @@ const _sfc_main$j = {
|
|
|
10457
10445
|
}
|
|
10458
10446
|
}
|
|
10459
10447
|
};
|
|
10460
|
-
const _hoisted_1$
|
|
10461
|
-
key:
|
|
10448
|
+
const _hoisted_1$g = {
|
|
10449
|
+
key: 24,
|
|
10462
10450
|
class: "ux-field-message"
|
|
10463
10451
|
};
|
|
10464
|
-
function _sfc_render$
|
|
10452
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10465
10453
|
const _component_internal_route_select = resolveComponent("internal-route-select");
|
|
10466
10454
|
const _component_internal_menu_select = resolveComponent("internal-menu-select");
|
|
10467
10455
|
const _component_custom_html = resolveComponent("custom-html");
|
|
@@ -10487,8 +10475,8 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10487
10475
|
return $options.visible ? (openBlock(), createElementBlock("div", {
|
|
10488
10476
|
key: 0,
|
|
10489
10477
|
class: normalizeClass(["ux-field", $options.classes]),
|
|
10490
|
-
onFocusin: _cache[
|
|
10491
|
-
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))
|
|
10492
10480
|
}, [
|
|
10493
10481
|
$options.widget == "internal-route" ? (openBlock(), createBlock(_component_internal_route_select, {
|
|
10494
10482
|
key: 0,
|
|
@@ -10542,6 +10530,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10542
10530
|
$options.widget == "group" ? (openBlock(), createElementBlock(Fragment, { key: 7 }, [
|
|
10543
10531
|
$options.asObject ? (openBlock(), createBlock(_component_field_group, {
|
|
10544
10532
|
key: 0,
|
|
10533
|
+
submission: $props.submission,
|
|
10545
10534
|
"onForm:state": $options.groupStateAltered,
|
|
10546
10535
|
ref: "group",
|
|
10547
10536
|
onTouched: $options.touch,
|
|
@@ -10549,8 +10538,9 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10549
10538
|
parentModel: $props.parentModel,
|
|
10550
10539
|
modelValue: $options.fieldModel,
|
|
10551
10540
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $options.fieldModel = $event)
|
|
10552
|
-
}, 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, {
|
|
10553
10542
|
key: 1,
|
|
10543
|
+
submission: $props.submission,
|
|
10554
10544
|
"onForm:state": $options.groupStateAltered,
|
|
10555
10545
|
ref: "group",
|
|
10556
10546
|
onTouched: $options.touch,
|
|
@@ -10558,102 +10548,113 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10558
10548
|
parentModel: $props.parentModel,
|
|
10559
10549
|
modelValue: $options.sourceModel,
|
|
10560
10550
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $options.sourceModel = $event)
|
|
10561
|
-
}, null, 8, ["onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
|
|
10551
|
+
}, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
|
|
10562
10552
|
], 64)) : createCommentVNode("", true),
|
|
10563
|
-
$options.widget == "
|
|
10553
|
+
$options.widget == "form" ? (openBlock(), createBlock(_component_field_group, {
|
|
10564
10554
|
key: 8,
|
|
10555
|
+
submission: $props.submission,
|
|
10556
|
+
"onForm:state": $options.groupStateAltered,
|
|
10557
|
+
ref: "group",
|
|
10565
10558
|
onTouched: $options.touch,
|
|
10566
10559
|
field: $options.actualField,
|
|
10560
|
+
parentModel: $props.parentModel,
|
|
10567
10561
|
modelValue: $options.fieldModel,
|
|
10568
10562
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $options.fieldModel = $event)
|
|
10569
|
-
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10570
|
-
$options.widget == "
|
|
10563
|
+
}, null, 8, ["submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : createCommentVNode("", true),
|
|
10564
|
+
$options.widget == "select" ? (openBlock(), createBlock(_component_native_select, {
|
|
10571
10565
|
key: 9,
|
|
10572
10566
|
onTouched: $options.touch,
|
|
10573
10567
|
field: $options.actualField,
|
|
10574
10568
|
modelValue: $options.fieldModel,
|
|
10575
10569
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $options.fieldModel = $event)
|
|
10576
10570
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10577
|
-
$options.widget == "
|
|
10571
|
+
$options.widget == "button" ? (openBlock(), createBlock(_component_button_select, {
|
|
10578
10572
|
key: 10,
|
|
10579
10573
|
onTouched: $options.touch,
|
|
10580
10574
|
field: $options.actualField,
|
|
10581
10575
|
modelValue: $options.fieldModel,
|
|
10582
10576
|
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $options.fieldModel = $event)
|
|
10583
10577
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10584
|
-
$options.widget == "
|
|
10578
|
+
$options.widget == "textfield" ? (openBlock(), createBlock(_component_text_field, {
|
|
10585
10579
|
key: 11,
|
|
10586
10580
|
onTouched: $options.touch,
|
|
10587
10581
|
field: $options.actualField,
|
|
10588
10582
|
modelValue: $options.fieldModel,
|
|
10589
10583
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => $options.fieldModel = $event)
|
|
10590
10584
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10591
|
-
$options.widget == "
|
|
10585
|
+
$options.widget == "currency" ? (openBlock(), createBlock(_component_currency_field, {
|
|
10592
10586
|
key: 12,
|
|
10593
10587
|
onTouched: $options.touch,
|
|
10594
10588
|
field: $options.actualField,
|
|
10595
10589
|
modelValue: $options.fieldModel,
|
|
10596
10590
|
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $options.fieldModel = $event)
|
|
10597
10591
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10598
|
-
$options.widget == "
|
|
10592
|
+
$options.widget == "datefield" ? (openBlock(), createBlock(_component_date_field, {
|
|
10599
10593
|
key: 13,
|
|
10600
10594
|
onTouched: $options.touch,
|
|
10601
10595
|
field: $options.actualField,
|
|
10602
10596
|
modelValue: $options.fieldModel,
|
|
10603
10597
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => $options.fieldModel = $event)
|
|
10604
10598
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10605
|
-
$options.widget == "
|
|
10599
|
+
$options.widget == "content-select" ? (openBlock(), createBlock(_component_content_select, {
|
|
10606
10600
|
key: 14,
|
|
10607
10601
|
onTouched: $options.touch,
|
|
10608
10602
|
field: $options.actualField,
|
|
10609
10603
|
modelValue: $options.fieldModel,
|
|
10610
10604
|
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => $options.fieldModel = $event)
|
|
10611
10605
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10612
|
-
$options.widget == "
|
|
10606
|
+
$options.widget == "type-select" ? (openBlock(), createBlock(_component_type_select, {
|
|
10613
10607
|
key: 15,
|
|
10614
10608
|
onTouched: $options.touch,
|
|
10615
10609
|
field: $options.actualField,
|
|
10616
10610
|
modelValue: $options.fieldModel,
|
|
10617
10611
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => $options.fieldModel = $event)
|
|
10618
10612
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10619
|
-
$options.widget == "
|
|
10613
|
+
$options.widget == "richtext" ? (openBlock(), createBlock(_component_text_area, {
|
|
10620
10614
|
key: 16,
|
|
10621
10615
|
onTouched: $options.touch,
|
|
10622
10616
|
field: $options.actualField,
|
|
10623
10617
|
modelValue: $options.fieldModel,
|
|
10624
10618
|
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => $options.fieldModel = $event)
|
|
10625
10619
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10626
|
-
$options.widget == "
|
|
10620
|
+
$options.widget == "textarea" ? (openBlock(), createBlock(_component_text_area, {
|
|
10627
10621
|
key: 17,
|
|
10628
10622
|
onTouched: $options.touch,
|
|
10629
10623
|
field: $options.actualField,
|
|
10630
10624
|
modelValue: $options.fieldModel,
|
|
10631
10625
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => $options.fieldModel = $event)
|
|
10632
10626
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10633
|
-
$options.widget == "
|
|
10627
|
+
$options.widget == "timezone" ? (openBlock(), createBlock(_component_timezone_select, {
|
|
10634
10628
|
key: 18,
|
|
10635
10629
|
onTouched: $options.touch,
|
|
10636
10630
|
field: $options.actualField,
|
|
10637
10631
|
modelValue: $options.fieldModel,
|
|
10638
10632
|
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => $options.fieldModel = $event)
|
|
10639
10633
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10640
|
-
$options.widget == "
|
|
10641
|
-
|
|
10642
|
-
key: 20,
|
|
10634
|
+
$options.widget == "phone" ? (openBlock(), createBlock(_component_phone_number_input, {
|
|
10635
|
+
key: 19,
|
|
10643
10636
|
onTouched: $options.touch,
|
|
10644
10637
|
field: $options.actualField,
|
|
10645
10638
|
modelValue: $options.fieldModel,
|
|
10646
10639
|
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => $options.fieldModel = $event)
|
|
10647
10640
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10641
|
+
$options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 20 }, [], 64)) : createCommentVNode("", true),
|
|
10642
|
+
$options.widget == "object" ? (openBlock(), createBlock(_component_object_field, {
|
|
10643
|
+
key: 21,
|
|
10644
|
+
onTouched: $options.touch,
|
|
10645
|
+
field: $options.actualField,
|
|
10646
|
+
modelValue: $options.fieldModel,
|
|
10647
|
+
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => $options.fieldModel = $event)
|
|
10648
|
+
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10648
10649
|
$options.widget == "options" ? (openBlock(), createBlock(_component_options_manager, {
|
|
10649
|
-
key:
|
|
10650
|
+
key: 22,
|
|
10650
10651
|
onTouched: $options.touch,
|
|
10651
10652
|
field: $options.actualField,
|
|
10652
10653
|
modelValue: $options.fieldModel,
|
|
10653
|
-
"onUpdate:modelValue": _cache[
|
|
10654
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => $options.fieldModel = $event)
|
|
10654
10655
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
10655
10656
|
$options.widget == "code" ? (openBlock(), createBlock(_component_flex_column, {
|
|
10656
|
-
key:
|
|
10657
|
+
key: 23,
|
|
10657
10658
|
style: { "min-height": "300px" }
|
|
10658
10659
|
}, {
|
|
10659
10660
|
default: withCtx(() => [
|
|
@@ -10661,17 +10662,17 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10661
10662
|
onTouched: $options.touch,
|
|
10662
10663
|
field: $options.actualField,
|
|
10663
10664
|
modelValue: $options.fieldModel,
|
|
10664
|
-
"onUpdate:modelValue": _cache[
|
|
10665
|
+
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => $options.fieldModel = $event)
|
|
10665
10666
|
}, null, 8, ["onTouched", "field", "modelValue"])
|
|
10666
10667
|
]),
|
|
10667
10668
|
_: 1
|
|
10668
10669
|
})) : createCommentVNode("", true),
|
|
10669
|
-
$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)
|
|
10670
10671
|
], 34)) : createCommentVNode("", true);
|
|
10671
10672
|
}
|
|
10672
|
-
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10673
|
+
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-8477ba44"]]);
|
|
10673
10674
|
var form_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10674
|
-
const _sfc_main$
|
|
10675
|
+
const _sfc_main$k = {
|
|
10675
10676
|
props: {
|
|
10676
10677
|
parentModel: {
|
|
10677
10678
|
type: Object
|
|
@@ -10691,6 +10692,10 @@ const _sfc_main$i = {
|
|
|
10691
10692
|
flex: {
|
|
10692
10693
|
type: Boolean,
|
|
10693
10694
|
default: false
|
|
10695
|
+
},
|
|
10696
|
+
submission: {
|
|
10697
|
+
type: Boolean,
|
|
10698
|
+
default: false
|
|
10694
10699
|
}
|
|
10695
10700
|
},
|
|
10696
10701
|
watch: {
|
|
@@ -10880,7 +10885,7 @@ const _sfc_main$i = {
|
|
|
10880
10885
|
}
|
|
10881
10886
|
}
|
|
10882
10887
|
};
|
|
10883
|
-
function _sfc_render$
|
|
10888
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10884
10889
|
const _component_ux_field = resolveComponent("ux-field");
|
|
10885
10890
|
return openBlock(), createElementBlock("div", {
|
|
10886
10891
|
class: normalizeClass(["ux-form", $options.formClass])
|
|
@@ -10893,6 +10898,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10893
10898
|
return openBlock(), createBlock(_component_ux_field, {
|
|
10894
10899
|
ref_for: true,
|
|
10895
10900
|
ref: "field",
|
|
10901
|
+
submission: $props.submission,
|
|
10896
10902
|
"onField:mount": $options.fieldMounted,
|
|
10897
10903
|
"onField:unmount": $options.fieldUnmounted,
|
|
10898
10904
|
"onField:dirty": $options.fieldDirty,
|
|
@@ -10908,14 +10914,139 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10908
10914
|
parentModel: $props.parentModel || $options.formModel,
|
|
10909
10915
|
class: normalizeClass($options.fieldClass),
|
|
10910
10916
|
key: `ux-form-field-${field.key}-${index2}`
|
|
10911
|
-
}, null, 8, ["onField:mount", "onField:unmount", "onField:dirty", "onField:invalid", "onField:valid", "onField:error", "onField:focus", "onField:blur", "onField:touched", "field", "modelValue", "parentModel", "class"]);
|
|
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"]);
|
|
10912
10918
|
}), 128))
|
|
10913
10919
|
], true)
|
|
10914
10920
|
], 2);
|
|
10915
10921
|
}
|
|
10916
|
-
var UXForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
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 || [];
|
|
10999
|
+
}
|
|
11000
|
+
}
|
|
11001
|
+
};
|
|
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
|
+
]);
|
|
11046
|
+
}
|
|
11047
|
+
var UXSubmissionForm = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j]]);
|
|
10917
11048
|
var search_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10918
|
-
const _sfc_main$
|
|
11049
|
+
const _sfc_main$i = {
|
|
10919
11050
|
props: {
|
|
10920
11051
|
modelValue: {
|
|
10921
11052
|
type: String
|
|
@@ -10980,15 +11111,15 @@ const _sfc_main$h = {
|
|
|
10980
11111
|
}
|
|
10981
11112
|
}
|
|
10982
11113
|
};
|
|
10983
|
-
const _hoisted_1$
|
|
10984
|
-
const _hoisted_2$
|
|
10985
|
-
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) {
|
|
10986
11117
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
10987
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11118
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
10988
11119
|
withDirectives(createElementVNode("input", {
|
|
10989
11120
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.model = $event),
|
|
10990
11121
|
placeholder: $props.placeholder
|
|
10991
|
-
}, null, 8, _hoisted_2$
|
|
11122
|
+
}, null, 8, _hoisted_2$a), [
|
|
10992
11123
|
[vModelText, $options.model]
|
|
10993
11124
|
]),
|
|
10994
11125
|
createElementVNode("div", {
|
|
@@ -10999,7 +11130,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10999
11130
|
])
|
|
11000
11131
|
]);
|
|
11001
11132
|
}
|
|
11002
|
-
var Search = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11133
|
+
var Search = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-0a1831cd"]]);
|
|
11003
11134
|
var RenderMixin = {
|
|
11004
11135
|
props: {
|
|
11005
11136
|
field: {
|
|
@@ -11094,11 +11225,15 @@ var RenderMixin = {
|
|
|
11094
11225
|
}
|
|
11095
11226
|
};
|
|
11096
11227
|
var group_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11097
|
-
const _sfc_main$
|
|
11228
|
+
const _sfc_main$h = {
|
|
11098
11229
|
mixins: [RenderMixin],
|
|
11099
11230
|
props: {
|
|
11100
11231
|
modelValue: {
|
|
11101
11232
|
type: [Object, Array]
|
|
11233
|
+
},
|
|
11234
|
+
submission: {
|
|
11235
|
+
type: Boolean,
|
|
11236
|
+
default: false
|
|
11102
11237
|
}
|
|
11103
11238
|
},
|
|
11104
11239
|
computed: {
|
|
@@ -11121,18 +11256,18 @@ const _sfc_main$g = {
|
|
|
11121
11256
|
}
|
|
11122
11257
|
}
|
|
11123
11258
|
};
|
|
11124
|
-
const _hoisted_1$
|
|
11259
|
+
const _hoisted_1$d = {
|
|
11125
11260
|
key: 0,
|
|
11126
11261
|
class: "ux-multi-group"
|
|
11127
11262
|
};
|
|
11128
|
-
function _sfc_render$
|
|
11263
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11129
11264
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
11130
11265
|
const _component_flex_row = resolveComponent("flex-row");
|
|
11131
11266
|
const _component_ux_panel_header = resolveComponent("ux-panel-header");
|
|
11132
11267
|
const _component_ux_render = resolveComponent("ux-render");
|
|
11133
11268
|
const _component_ux_panel_body = resolveComponent("ux-panel-body");
|
|
11134
11269
|
const _component_ux_panel = resolveComponent("ux-panel");
|
|
11135
|
-
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
11270
|
+
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
11136
11271
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
11137
11272
|
return openBlock(), createBlock(_component_ux_panel, {
|
|
11138
11273
|
ref_for: true,
|
|
@@ -11161,12 +11296,13 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11161
11296
|
createVNode(_component_ux_panel_body, null, {
|
|
11162
11297
|
default: withCtx(() => [
|
|
11163
11298
|
createVNode(_component_ux_render, {
|
|
11299
|
+
submission: $props.submission,
|
|
11164
11300
|
fields: _ctx.fields,
|
|
11165
11301
|
flex: $options.sameLine,
|
|
11166
11302
|
parentModel: _ctx.parentModel,
|
|
11167
11303
|
modelValue: _ctx.model[index2],
|
|
11168
11304
|
"onUpdate:modelValue": ($event) => _ctx.model[index2] = $event
|
|
11169
|
-
}, null, 8, ["fields", "flex", "parentModel", "modelValue", "onUpdate:modelValue"])
|
|
11305
|
+
}, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue", "onUpdate:modelValue"])
|
|
11170
11306
|
]),
|
|
11171
11307
|
_: 2
|
|
11172
11308
|
}, 1024)
|
|
@@ -11176,16 +11312,17 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11176
11312
|
}), 128))
|
|
11177
11313
|
])) : (openBlock(), createBlock(_component_ux_render, {
|
|
11178
11314
|
key: 1,
|
|
11315
|
+
submission: $props.submission,
|
|
11179
11316
|
fields: _ctx.fields,
|
|
11180
11317
|
flex: $options.sameLine,
|
|
11181
11318
|
parentModel: _ctx.parentModel,
|
|
11182
11319
|
modelValue: _ctx.model,
|
|
11183
11320
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model = $event)
|
|
11184
|
-
}, null, 8, ["fields", "flex", "parentModel", "modelValue"]));
|
|
11321
|
+
}, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue"]));
|
|
11185
11322
|
}
|
|
11186
|
-
var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11323
|
+
var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-1d1202c5"]]);
|
|
11187
11324
|
var field_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11188
|
-
const _sfc_main$
|
|
11325
|
+
const _sfc_main$g = {
|
|
11189
11326
|
components: {
|
|
11190
11327
|
Item,
|
|
11191
11328
|
FieldGroup
|
|
@@ -11201,6 +11338,10 @@ const _sfc_main$f = {
|
|
|
11201
11338
|
modelValue: {
|
|
11202
11339
|
type: Object,
|
|
11203
11340
|
required: true
|
|
11341
|
+
},
|
|
11342
|
+
submission: {
|
|
11343
|
+
type: Boolean,
|
|
11344
|
+
default: false
|
|
11204
11345
|
}
|
|
11205
11346
|
},
|
|
11206
11347
|
data() {
|
|
@@ -11232,11 +11373,14 @@ const _sfc_main$f = {
|
|
|
11232
11373
|
type() {
|
|
11233
11374
|
return this.field.type || "string";
|
|
11234
11375
|
},
|
|
11376
|
+
isEmbedded() {
|
|
11377
|
+
return this.submission && (this.field.widget === "form" && this.field.type === "reference");
|
|
11378
|
+
},
|
|
11235
11379
|
isGroup() {
|
|
11236
|
-
return this.type === "group";
|
|
11380
|
+
return this.isEmbedded || this.type === "group";
|
|
11237
11381
|
},
|
|
11238
11382
|
asObject() {
|
|
11239
|
-
return this.isGroup && this.field.asObject;
|
|
11383
|
+
return this.isEmbedded || this.isGroup && this.field.asObject;
|
|
11240
11384
|
},
|
|
11241
11385
|
isNumber() {
|
|
11242
11386
|
switch (this.type) {
|
|
@@ -11280,7 +11424,9 @@ const _sfc_main$f = {
|
|
|
11280
11424
|
return this.getExpressionHide;
|
|
11281
11425
|
},
|
|
11282
11426
|
visible() {
|
|
11283
|
-
|
|
11427
|
+
var visible = !this.hidden;
|
|
11428
|
+
var hasModel = this.layoutGroup || this.fieldModel;
|
|
11429
|
+
return visible && hasModel;
|
|
11284
11430
|
},
|
|
11285
11431
|
type() {
|
|
11286
11432
|
return this.field.type || "string";
|
|
@@ -11325,6 +11471,9 @@ const _sfc_main$f = {
|
|
|
11325
11471
|
}
|
|
11326
11472
|
var widget = this.field.widget;
|
|
11327
11473
|
switch (widget) {
|
|
11474
|
+
case "form":
|
|
11475
|
+
widget = this.submission ? "form" : "content-select";
|
|
11476
|
+
break;
|
|
11328
11477
|
case "content-select":
|
|
11329
11478
|
case "select":
|
|
11330
11479
|
case "checkbox":
|
|
@@ -11363,94 +11512,112 @@ const _sfc_main$f = {
|
|
|
11363
11512
|
}
|
|
11364
11513
|
}
|
|
11365
11514
|
};
|
|
11366
|
-
const _hoisted_1$
|
|
11367
|
-
const _hoisted_2$
|
|
11368
|
-
const _hoisted_3$
|
|
11369
|
-
const _hoisted_4$
|
|
11370
|
-
const _hoisted_5$2 =
|
|
11371
|
-
const _hoisted_6$
|
|
11372
|
-
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 };
|
|
11373
11522
|
const _hoisted_8$1 = ["href"];
|
|
11374
|
-
const _hoisted_9 =
|
|
11375
|
-
const _hoisted_10 =
|
|
11376
|
-
const _hoisted_11 =
|
|
11377
|
-
|
|
11378
|
-
|
|
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) {
|
|
11379
11528
|
const _component_field_group = resolveComponent("field-group");
|
|
11529
|
+
const _component_item = resolveComponent("item");
|
|
11380
11530
|
return $options.visible ? (openBlock(), createElementBlock("div", {
|
|
11381
11531
|
key: 0,
|
|
11382
11532
|
class: normalizeClass(["ux-field-render", $options.classes])
|
|
11383
11533
|
}, [
|
|
11384
|
-
createElementVNode("label", _hoisted_1$
|
|
11385
|
-
createElementVNode("div", _hoisted_2$
|
|
11386
|
-
$options.
|
|
11387
|
-
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (item, index2) => {
|
|
11388
|
-
return openBlock(), createBlock(_component_item, {
|
|
11389
|
-
key: item._id,
|
|
11390
|
-
item
|
|
11391
|
-
}, null, 8, ["item"]);
|
|
11392
|
-
}), 128)) : (openBlock(), createBlock(_component_item, {
|
|
11393
|
-
key: 1,
|
|
11394
|
-
item: $options.fieldModel
|
|
11395
|
-
}, null, 8, ["item"]))
|
|
11396
|
-
], 64)) : createCommentVNode("", true),
|
|
11397
|
-
$options.widget == "group" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
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 }, [
|
|
11398
11537
|
$options.asObject ? (openBlock(), createBlock(_component_field_group, {
|
|
11399
11538
|
key: 0,
|
|
11539
|
+
submission: $props.submission,
|
|
11400
11540
|
field: $props.field,
|
|
11401
11541
|
parentModel: $props.parentModel,
|
|
11402
11542
|
modelValue: $options.fieldModel,
|
|
11403
11543
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.fieldModel = $event)
|
|
11404
|
-
}, null, 8, ["field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
|
|
11544
|
+
}, null, 8, ["submission", "field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
|
|
11405
11545
|
key: 1,
|
|
11546
|
+
submission: $props.submission,
|
|
11406
11547
|
field: $props.field,
|
|
11407
11548
|
parentModel: $props.parentModel,
|
|
11408
11549
|
modelValue: $options.sourceModel,
|
|
11409
11550
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $options.sourceModel = $event)
|
|
11410
|
-
}, null, 8, ["field", "parentModel", "modelValue"]))
|
|
11411
|
-
], 64)) :
|
|
11412
|
-
|
|
11413
|
-
|
|
11414
|
-
|
|
11415
|
-
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11420
|
-
|
|
11421
|
-
|
|
11422
|
-
|
|
11423
|
-
|
|
11424
|
-
|
|
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, [
|
|
11425
11596
|
createElementVNode("a", {
|
|
11426
|
-
href: `mailto:${
|
|
11427
|
-
}, toDisplayString(
|
|
11428
|
-
])
|
|
11429
|
-
|
|
11430
|
-
|
|
11431
|
-
|
|
11432
|
-
|
|
11433
|
-
|
|
11434
|
-
|
|
11435
|
-
|
|
11436
|
-
|
|
11437
|
-
|
|
11438
|
-
|
|
11439
|
-
|
|
11440
|
-
|
|
11441
|
-
|
|
11442
|
-
|
|
11443
|
-
|
|
11444
|
-
|
|
11445
|
-
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
11446
|
-
return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
|
|
11447
|
-
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_11, toDisplayString($options.fieldModel), 1))
|
|
11448
|
-
], 64)) : createCommentVNode("", true)
|
|
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))
|
|
11449
11616
|
], 2)) : createCommentVNode("", true);
|
|
11450
11617
|
}
|
|
11451
|
-
var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11618
|
+
var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-28427b70"]]);
|
|
11452
11619
|
var render_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11453
|
-
const _sfc_main$
|
|
11620
|
+
const _sfc_main$f = {
|
|
11454
11621
|
props: {
|
|
11455
11622
|
parentModel: {
|
|
11456
11623
|
type: Object
|
|
@@ -11470,6 +11637,10 @@ const _sfc_main$e = {
|
|
|
11470
11637
|
flex: {
|
|
11471
11638
|
type: Boolean,
|
|
11472
11639
|
default: false
|
|
11640
|
+
},
|
|
11641
|
+
submission: {
|
|
11642
|
+
type: Boolean,
|
|
11643
|
+
default: false
|
|
11473
11644
|
}
|
|
11474
11645
|
},
|
|
11475
11646
|
watch: {
|
|
@@ -11505,7 +11676,7 @@ const _sfc_main$e = {
|
|
|
11505
11676
|
}
|
|
11506
11677
|
}
|
|
11507
11678
|
};
|
|
11508
|
-
function _sfc_render$
|
|
11679
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11509
11680
|
const _component_ux_field_render = resolveComponent("ux-field-render");
|
|
11510
11681
|
return openBlock(), createElementBlock("div", {
|
|
11511
11682
|
class: normalizeClass(["ux-render", $options.renderClass])
|
|
@@ -11513,18 +11684,19 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11513
11684
|
renderSlot(_ctx.$slots, "render", { fields: $props.fields }, () => [
|
|
11514
11685
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.renderFields, (field, index2) => {
|
|
11515
11686
|
return openBlock(), createBlock(_component_ux_field_render, {
|
|
11687
|
+
submission: $props.submission,
|
|
11516
11688
|
field,
|
|
11517
11689
|
modelValue: $data.model,
|
|
11518
11690
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model = $event),
|
|
11519
11691
|
parentModel: $props.parentModel || $data.model,
|
|
11520
11692
|
key: `ux-render-field-${field.key}-${index2}`,
|
|
11521
11693
|
class: normalizeClass($options.fieldClass)
|
|
11522
|
-
}, null, 8, ["field", "modelValue", "parentModel", "class"]);
|
|
11694
|
+
}, null, 8, ["submission", "field", "modelValue", "parentModel", "class"]);
|
|
11523
11695
|
}), 128))
|
|
11524
11696
|
], true)
|
|
11525
11697
|
], 2);
|
|
11526
11698
|
}
|
|
11527
|
-
var UXRender = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11699
|
+
var UXRender = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-4d848e06"]]);
|
|
11528
11700
|
var isArray$3 = Array.isArray;
|
|
11529
11701
|
var isArray_1 = isArray$3;
|
|
11530
11702
|
var isArray$2 = isArray_1, isSymbol$2 = isSymbol_1;
|
|
@@ -11928,7 +12100,7 @@ var TableCellMixin = {
|
|
|
11928
12100
|
}
|
|
11929
12101
|
};
|
|
11930
12102
|
var Thumbnail_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11931
|
-
const _sfc_main$
|
|
12103
|
+
const _sfc_main$e = {
|
|
11932
12104
|
mixins: [TableCellMixin],
|
|
11933
12105
|
computed: {
|
|
11934
12106
|
type() {
|
|
@@ -11937,11 +12109,11 @@ const _sfc_main$d = {
|
|
|
11937
12109
|
}
|
|
11938
12110
|
}
|
|
11939
12111
|
};
|
|
11940
|
-
const _hoisted_1$
|
|
11941
|
-
function _sfc_render$
|
|
12112
|
+
const _hoisted_1$b = { class: "table-image-cell" };
|
|
12113
|
+
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11942
12114
|
const _component_ux_image = resolveComponent("ux-image");
|
|
11943
12115
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
11944
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
12116
|
+
return openBlock(), createElementBlock("td", _hoisted_1$b, [
|
|
11945
12117
|
$options.type == "image" || $options.type == "video" ? (openBlock(), createBlock(_component_ux_image, {
|
|
11946
12118
|
key: 0,
|
|
11947
12119
|
item: _ctx.row,
|
|
@@ -11953,9 +12125,9 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11953
12125
|
}))
|
|
11954
12126
|
]);
|
|
11955
12127
|
}
|
|
11956
|
-
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12128
|
+
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-6dbe8d2c"]]);
|
|
11957
12129
|
var Button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11958
|
-
const _sfc_main$
|
|
12130
|
+
const _sfc_main$d = {
|
|
11959
12131
|
data() {
|
|
11960
12132
|
return {
|
|
11961
12133
|
processing: false
|
|
@@ -11979,11 +12151,11 @@ const _sfc_main$c = {
|
|
|
11979
12151
|
}
|
|
11980
12152
|
}
|
|
11981
12153
|
};
|
|
11982
|
-
const _hoisted_1$
|
|
11983
|
-
function _sfc_render$
|
|
12154
|
+
const _hoisted_1$a = { class: "table-button-cell" };
|
|
12155
|
+
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11984
12156
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
11985
12157
|
const _component_ux_button = resolveComponent("ux-button");
|
|
11986
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
12158
|
+
return openBlock(), createElementBlock("td", _hoisted_1$a, [
|
|
11987
12159
|
createVNode(_component_ux_button, {
|
|
11988
12160
|
size: $options.button.size,
|
|
11989
12161
|
loading: $data.processing,
|
|
@@ -12003,7 +12175,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12003
12175
|
}, 8, ["size", "loading", "onClick"])
|
|
12004
12176
|
]);
|
|
12005
12177
|
}
|
|
12006
|
-
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12178
|
+
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-3cbecb7e"]]);
|
|
12007
12179
|
class LuxonError extends Error {
|
|
12008
12180
|
}
|
|
12009
12181
|
class InvalidDateTimeError extends LuxonError {
|
|
@@ -15837,19 +16009,71 @@ function friendlyDateTime(dateTimeish) {
|
|
|
15837
16009
|
}
|
|
15838
16010
|
}
|
|
15839
16011
|
var DateCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
15840
|
-
const _sfc_main$
|
|
16012
|
+
const _sfc_main$c = {
|
|
15841
16013
|
mixins: [TableCellMixin],
|
|
15842
16014
|
computed: {
|
|
16015
|
+
timeago() {
|
|
16016
|
+
return DateTime.fromISO(this.value).toRelative();
|
|
16017
|
+
},
|
|
15843
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
|
+
}
|
|
15844
16026
|
return DateTime.fromISO(this.value).toFormat("h:mm a - dd MMM yyyy");
|
|
15845
16027
|
}
|
|
15846
16028
|
}
|
|
15847
16029
|
};
|
|
15848
|
-
const _hoisted_1$
|
|
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"];
|
|
15849
16060
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
15850
|
-
|
|
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
|
+
]);
|
|
15851
16075
|
}
|
|
15852
|
-
var
|
|
16076
|
+
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-17cf3a86"]]);
|
|
15853
16077
|
var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
15854
16078
|
const _sfc_main$a = {
|
|
15855
16079
|
props: {
|
|
@@ -15915,9 +16139,11 @@ const _sfc_main$9 = {
|
|
|
15915
16139
|
ValueRenderer
|
|
15916
16140
|
},
|
|
15917
16141
|
async created() {
|
|
15918
|
-
|
|
15919
|
-
|
|
15920
|
-
|
|
16142
|
+
const self2 = this;
|
|
16143
|
+
let component;
|
|
16144
|
+
const cellType = self2.column.type;
|
|
16145
|
+
const cellRenderer = self2.column.renderer;
|
|
16146
|
+
switch (cellRenderer) {
|
|
15921
16147
|
case "button":
|
|
15922
16148
|
component = ButtonCell;
|
|
15923
16149
|
break;
|
|
@@ -15925,18 +16151,24 @@ const _sfc_main$9 = {
|
|
|
15925
16151
|
case "datetime":
|
|
15926
16152
|
component = DateCell;
|
|
15927
16153
|
break;
|
|
16154
|
+
case "url":
|
|
16155
|
+
component = URLCell;
|
|
16156
|
+
break;
|
|
15928
16157
|
case "thumbnail":
|
|
15929
16158
|
component = ThumbnailCell;
|
|
15930
16159
|
break;
|
|
15931
16160
|
default:
|
|
15932
|
-
switch (
|
|
16161
|
+
switch (cellType) {
|
|
15933
16162
|
case "date":
|
|
15934
16163
|
component = DateCell;
|
|
15935
16164
|
break;
|
|
16165
|
+
case "url":
|
|
16166
|
+
component = URLCell;
|
|
16167
|
+
break;
|
|
15936
16168
|
}
|
|
15937
16169
|
break;
|
|
15938
16170
|
}
|
|
15939
|
-
|
|
16171
|
+
self2.component = component;
|
|
15940
16172
|
},
|
|
15941
16173
|
props: {
|
|
15942
16174
|
column: {
|
|
@@ -16011,7 +16243,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16011
16243
|
}, null, 8, ["type", "value"]))
|
|
16012
16244
|
]));
|
|
16013
16245
|
}
|
|
16014
|
-
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"]]);
|
|
16015
16247
|
const _sfc_main$8 = {
|
|
16016
16248
|
components: {
|
|
16017
16249
|
TableCell
|
|
@@ -16081,13 +16313,14 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16081
16313
|
}, [
|
|
16082
16314
|
createVNode(_component_ux_checkbox, { value: $props.selected }, null, 8, ["value"])
|
|
16083
16315
|
])) : createCommentVNode("", true),
|
|
16084
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($props.columns, (column) => {
|
|
16316
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.columns, (column, index2) => {
|
|
16085
16317
|
return openBlock(), createBlock(_component_table_cell, {
|
|
16318
|
+
key: `${column.path || column.key}-${index2}`,
|
|
16086
16319
|
onClick: withModifiers(($event) => $options.clickCell(column), ["stop", "prevent"]),
|
|
16087
16320
|
column,
|
|
16088
16321
|
row: $props.row
|
|
16089
16322
|
}, null, 8, ["onClick", "column", "row"]);
|
|
16090
|
-
}),
|
|
16323
|
+
}), 128)),
|
|
16091
16324
|
$props.enableActions ? (openBlock(), createElementBlock("th", {
|
|
16092
16325
|
key: 1,
|
|
16093
16326
|
class: "table-cell last shrink",
|
|
@@ -16292,8 +16525,8 @@ const _hoisted_3$4 = {
|
|
|
16292
16525
|
};
|
|
16293
16526
|
const _hoisted_4$4 = /* @__PURE__ */ createTextVNode(" Select Page ");
|
|
16294
16527
|
const _hoisted_5$1 = /* @__PURE__ */ createTextVNode(" Deselect Page ");
|
|
16295
|
-
const _hoisted_6 = /* @__PURE__ */ createTextVNode(" Deselect All ");
|
|
16296
|
-
const _hoisted_7 = ["onClick"];
|
|
16528
|
+
const _hoisted_6$1 = /* @__PURE__ */ createTextVNode(" Deselect All ");
|
|
16529
|
+
const _hoisted_7$1 = ["onClick"];
|
|
16297
16530
|
const _hoisted_8 = {
|
|
16298
16531
|
key: 1,
|
|
16299
16532
|
class: "last shrink"
|
|
@@ -16348,7 +16581,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16348
16581
|
onClick: _cache[3] || (_cache[3] = ($event) => $props.deselectAll())
|
|
16349
16582
|
}, {
|
|
16350
16583
|
default: withCtx(() => [
|
|
16351
|
-
_hoisted_6
|
|
16584
|
+
_hoisted_6$1
|
|
16352
16585
|
]),
|
|
16353
16586
|
_: 1
|
|
16354
16587
|
})) : createCommentVNode("", true)
|
|
@@ -16363,7 +16596,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16363
16596
|
return openBlock(), createElementBlock("th", {
|
|
16364
16597
|
onClick: ($event) => $options.toggleSort(column),
|
|
16365
16598
|
class: normalizeClass(column.class)
|
|
16366
|
-
}, toDisplayString(column.title), 11, _hoisted_7);
|
|
16599
|
+
}, toDisplayString(column.title), 11, _hoisted_7$1);
|
|
16367
16600
|
}), 256)),
|
|
16368
16601
|
$props.enableActions ? (openBlock(), createElementBlock("th", _hoisted_8, [
|
|
16369
16602
|
renderSlot(_ctx.$slots, "corner", {}, void 0, true)
|
|
@@ -16390,7 +16623,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16390
16623
|
], 512)
|
|
16391
16624
|
]);
|
|
16392
16625
|
}
|
|
16393
|
-
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"]]);
|
|
16394
16627
|
function Selection(options) {
|
|
16395
16628
|
options = options || {};
|
|
16396
16629
|
Math.max(parseInt(options.minimum || 0), 0);
|
|
@@ -16723,19 +16956,23 @@ function defaultColumns(self2, type) {
|
|
|
16723
16956
|
ignoreTitle = true;
|
|
16724
16957
|
columns.push({
|
|
16725
16958
|
title: "First Name",
|
|
16726
|
-
key: "firstName"
|
|
16959
|
+
key: "firstName",
|
|
16960
|
+
shrink: true
|
|
16727
16961
|
});
|
|
16728
16962
|
columns.push({
|
|
16729
16963
|
title: "Last Name",
|
|
16730
|
-
key: "lastName"
|
|
16964
|
+
key: "lastName",
|
|
16965
|
+
shrink: true
|
|
16731
16966
|
});
|
|
16732
16967
|
columns.push({
|
|
16733
16968
|
title: "Gender",
|
|
16734
|
-
key: "gender"
|
|
16969
|
+
key: "gender",
|
|
16970
|
+
shrink: true
|
|
16735
16971
|
});
|
|
16736
16972
|
columns.push({
|
|
16737
16973
|
title: "Age",
|
|
16738
|
-
key: "age"
|
|
16974
|
+
key: "age",
|
|
16975
|
+
shrink: true
|
|
16739
16976
|
});
|
|
16740
16977
|
break;
|
|
16741
16978
|
case "definition":
|
|
@@ -16787,13 +17024,19 @@ function defaultColumns(self2, type) {
|
|
|
16787
17024
|
});
|
|
16788
17025
|
columns.push({
|
|
16789
17026
|
title: "Mime Type",
|
|
16790
|
-
key: "fileMime"
|
|
16791
|
-
});
|
|
16792
|
-
columns.push({
|
|
16793
|
-
title: "File Type",
|
|
16794
|
-
key: "mediaIntegrationType",
|
|
17027
|
+
key: "fileMime",
|
|
16795
17028
|
shrink: true
|
|
16796
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
|
+
}
|
|
16797
17040
|
break;
|
|
16798
17041
|
}
|
|
16799
17042
|
if (!ignoreTitle) {
|
|
@@ -16881,6 +17124,10 @@ const _sfc_main$5 = {
|
|
|
16881
17124
|
enableActions: {
|
|
16882
17125
|
type: Boolean,
|
|
16883
17126
|
default: false
|
|
17127
|
+
},
|
|
17128
|
+
trash: {
|
|
17129
|
+
type: Boolean,
|
|
17130
|
+
default: false
|
|
16884
17131
|
}
|
|
16885
17132
|
},
|
|
16886
17133
|
components: {
|
|
@@ -17009,54 +17256,46 @@ const _sfc_main$5 = {
|
|
|
17009
17256
|
return this.definition.plural;
|
|
17010
17257
|
},
|
|
17011
17258
|
selectFields() {
|
|
17012
|
-
|
|
17013
|
-
|
|
17014
|
-
|
|
17015
|
-
}
|
|
17016
|
-
return column.key;
|
|
17259
|
+
const self2 = this;
|
|
17260
|
+
var fields = self2.columns.map(function(column) {
|
|
17261
|
+
return column.path || column.key;
|
|
17017
17262
|
}).flat();
|
|
17018
|
-
if (
|
|
17019
|
-
fields = [...fields, ...
|
|
17263
|
+
if (self2.options.select) {
|
|
17264
|
+
fields = [...fields, ...self2.options.select];
|
|
17020
17265
|
}
|
|
17021
17266
|
return fields;
|
|
17022
17267
|
},
|
|
17023
17268
|
columns() {
|
|
17024
17269
|
let columns = [];
|
|
17025
|
-
|
|
17026
|
-
|
|
17027
|
-
|
|
17028
|
-
|
|
17029
|
-
|
|
17030
|
-
|
|
17031
|
-
|
|
17032
|
-
|
|
17033
|
-
|
|
17034
|
-
|
|
17035
|
-
|
|
17036
|
-
|
|
17037
|
-
|
|
17038
|
-
|
|
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));
|
|
17039
17293
|
var additionalFields = this.additionalFields;
|
|
17040
|
-
additionalFields.forEach(
|
|
17041
|
-
|
|
17042
|
-
|
|
17043
|
-
columns.push({
|
|
17044
|
-
title: field.title,
|
|
17045
|
-
key: field.path || field.key,
|
|
17046
|
-
type: field.type
|
|
17047
|
-
});
|
|
17048
|
-
}
|
|
17049
|
-
});
|
|
17294
|
+
additionalFields.forEach(addColumn());
|
|
17295
|
+
var suffixColumns = this.options.suffixColumns || [];
|
|
17296
|
+
suffixColumns.forEach(addColumn(true));
|
|
17050
17297
|
var activeFilters = this.activeFilters;
|
|
17051
|
-
activeFilters.forEach(
|
|
17052
|
-
if (!existingColumns[filter.key]) {
|
|
17053
|
-
existingColumns[filter.key] = 1;
|
|
17054
|
-
columns.push({
|
|
17055
|
-
title: filter.key,
|
|
17056
|
-
key: filter.key
|
|
17057
|
-
});
|
|
17058
|
-
}
|
|
17059
|
-
});
|
|
17298
|
+
activeFilters.forEach(addColumn());
|
|
17060
17299
|
return columns;
|
|
17061
17300
|
},
|
|
17062
17301
|
filterChangeString() {
|
|
@@ -17116,6 +17355,9 @@ const _sfc_main$5 = {
|
|
|
17116
17355
|
}
|
|
17117
17356
|
row.meta.type = this.basicType;
|
|
17118
17357
|
row.meta.definition = this.definition.key;
|
|
17358
|
+
if (this.trash) {
|
|
17359
|
+
row.meta.deleted = true;
|
|
17360
|
+
}
|
|
17119
17361
|
return row;
|
|
17120
17362
|
},
|
|
17121
17363
|
deselectAll() {
|
|
@@ -17170,6 +17412,9 @@ const _sfc_main$5 = {
|
|
|
17170
17412
|
}
|
|
17171
17413
|
var loadCriteria = Object.assign({}, self2.loadCriteria);
|
|
17172
17414
|
loadCriteria.includeAll = includeAll;
|
|
17415
|
+
if (self2.trash) {
|
|
17416
|
+
loadCriteria.trash = true;
|
|
17417
|
+
}
|
|
17173
17418
|
const { promise, cancel } = await self2.$qik.content.list(self2.type, loadCriteria, { cancellable: true });
|
|
17174
17419
|
cancelInflight = cancel;
|
|
17175
17420
|
promise.then(function(res) {
|
|
@@ -17208,7 +17453,7 @@ const _sfc_main$5 = {
|
|
|
17208
17453
|
};
|
|
17209
17454
|
}
|
|
17210
17455
|
};
|
|
17211
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
17456
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-0f7f08aa"), n2 = n2(), popScopeId(), n2);
|
|
17212
17457
|
const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
17213
17458
|
const _hoisted_2$4 = { class: "footer" };
|
|
17214
17459
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -17377,7 +17622,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17377
17622
|
_: 3
|
|
17378
17623
|
})) : createCommentVNode("", true);
|
|
17379
17624
|
}
|
|
17380
|
-
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"]]);
|
|
17381
17626
|
var ModalMixin = {
|
|
17382
17627
|
props: {
|
|
17383
17628
|
options: {
|
|
@@ -17524,67 +17769,93 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17524
17769
|
var QikConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-20b62981"]]);
|
|
17525
17770
|
var OptionsModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
17526
17771
|
const _sfc_main$2 = {
|
|
17527
|
-
|
|
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"
|
|
17528
17795
|
};
|
|
17529
|
-
const
|
|
17530
|
-
const
|
|
17531
|
-
const _hoisted_3$2 = { class: "padder" };
|
|
17532
|
-
const _hoisted_4$2 = /* @__PURE__ */ createTextVNode("Cancel");
|
|
17533
|
-
const _hoisted_5 = /* @__PURE__ */ createTextVNode("Confirm");
|
|
17796
|
+
const _hoisted_6 = { class: "padder" };
|
|
17797
|
+
const _hoisted_7 = /* @__PURE__ */ createTextVNode("Cancel");
|
|
17534
17798
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
17535
17799
|
const _component_flex_header = resolveComponent("flex-header");
|
|
17536
|
-
const _component_flex_body = resolveComponent("flex-body");
|
|
17537
|
-
const _component_ux_button = resolveComponent("ux-button");
|
|
17538
17800
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
17539
|
-
const
|
|
17801
|
+
const _component_ux_icon = resolveComponent("ux-icon");
|
|
17540
17802
|
const _component_flex_row = resolveComponent("flex-row");
|
|
17803
|
+
const _component_flex_body = resolveComponent("flex-body");
|
|
17804
|
+
const _component_ux_button = resolveComponent("ux-button");
|
|
17541
17805
|
const _component_flex_footer = resolveComponent("flex-footer");
|
|
17542
17806
|
const _component_flex_column = resolveComponent("flex-column");
|
|
17543
|
-
return openBlock(), createBlock(_component_flex_column,
|
|
17807
|
+
return openBlock(), createBlock(_component_flex_column, { class: "wrapper" }, {
|
|
17544
17808
|
default: withCtx(() => [
|
|
17545
17809
|
createVNode(_component_flex_header, null, {
|
|
17546
17810
|
default: withCtx(() => [
|
|
17547
|
-
_hoisted_1$2
|
|
17548
|
-
|
|
17549
|
-
|
|
17550
|
-
|
|
17551
|
-
createVNode(_component_flex_body, null, {
|
|
17552
|
-
default: withCtx(() => [
|
|
17553
|
-
_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
|
+
])
|
|
17554
17815
|
]),
|
|
17555
17816
|
_: 1
|
|
17556
17817
|
}),
|
|
17557
|
-
createVNode(
|
|
17818
|
+
createVNode(_component_flex_body, { class: "body" }, {
|
|
17558
17819
|
default: withCtx(() => [
|
|
17559
|
-
createElementVNode("div",
|
|
17560
|
-
|
|
17561
|
-
|
|
17562
|
-
|
|
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: "" }, {
|
|
17563
17827
|
default: withCtx(() => [
|
|
17564
|
-
createVNode(
|
|
17828
|
+
createVNode(_component_flex_cell, null, {
|
|
17565
17829
|
default: withCtx(() => [
|
|
17566
|
-
_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)
|
|
17567
17832
|
]),
|
|
17568
|
-
_:
|
|
17569
|
-
},
|
|
17570
|
-
|
|
17571
|
-
_: 1
|
|
17572
|
-
}),
|
|
17573
|
-
createVNode(_component_flex_spacer),
|
|
17574
|
-
createVNode(_component_flex_cell, { shrink: "" }, {
|
|
17575
|
-
default: withCtx(() => [
|
|
17576
|
-
createVNode(_component_ux_button, { onClick: _ctx.close }, {
|
|
17833
|
+
_: 2
|
|
17834
|
+
}, 1024),
|
|
17835
|
+
createVNode(_component_flex_cell, { shrink: "" }, {
|
|
17577
17836
|
default: withCtx(() => [
|
|
17578
|
-
|
|
17837
|
+
createVNode(_component_ux_icon, { icon: "fa-angle-right" })
|
|
17579
17838
|
]),
|
|
17580
17839
|
_: 1
|
|
17581
|
-
}
|
|
17840
|
+
})
|
|
17582
17841
|
]),
|
|
17583
|
-
_:
|
|
17584
|
-
})
|
|
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
|
|
17585
17856
|
]),
|
|
17586
17857
|
_: 1
|
|
17587
|
-
})
|
|
17858
|
+
}, 8, ["onClick"])
|
|
17588
17859
|
])
|
|
17589
17860
|
]),
|
|
17590
17861
|
_: 1
|
|
@@ -17593,7 +17864,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17593
17864
|
_: 1
|
|
17594
17865
|
});
|
|
17595
17866
|
}
|
|
17596
|
-
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"]]);
|
|
17597
17868
|
var PromptModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
17598
17869
|
const _sfc_main$1 = {
|
|
17599
17870
|
mixins: [ModalMixin],
|
|
@@ -18004,7 +18275,9 @@ const defaultComponents = {
|
|
|
18004
18275
|
UxList: UXList,
|
|
18005
18276
|
UxListItem: UXListItem,
|
|
18006
18277
|
UxForm: UXForm,
|
|
18278
|
+
UxSubmissionForm: UXSubmissionForm,
|
|
18007
18279
|
UxFormField: UXFormField,
|
|
18280
|
+
UxSubmissionForm: UXSubmissionForm,
|
|
18008
18281
|
UxRender: UXRender,
|
|
18009
18282
|
UxRenderField: UXRenderField,
|
|
18010
18283
|
UxIcon: UXIcon,
|
|
@@ -18081,5 +18354,5 @@ const QikUI = {
|
|
|
18081
18354
|
}
|
|
18082
18355
|
}
|
|
18083
18356
|
};
|
|
18084
|
-
export { CodeEditor, ContentBrowser, device as Device, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikConfirmModal, QikContentModal, QikModal, QikOptionsModal, QikPromptModal, QikUI, RememberScrollMixin, Search, Selection, Spinner, UXButton, UXCheckbox, UXForm, UXFormField, UXIcon, UXImage, UXLink, UXList, UXListItem, UXMenu, UXRender, UXRenderField, UXSwitch, UXTab, UXTabset };
|
|
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 };
|
|
18085
18358
|
//# sourceMappingURL=lib.es.js.map
|