@qikdev/vue-ui 0.1.42 → 0.1.46
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 +509 -317
- 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.46";
|
|
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;
|
|
@@ -42,97 +42,97 @@ var _export_sfc = (sfc, props2) => {
|
|
|
42
42
|
return target;
|
|
43
43
|
};
|
|
44
44
|
const _sfc_main$19 = {};
|
|
45
|
-
const _hoisted_1$
|
|
45
|
+
const _hoisted_1$Y = { class: "flex-column" };
|
|
46
46
|
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
47
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
47
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Y, [
|
|
48
48
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
49
49
|
]);
|
|
50
50
|
}
|
|
51
51
|
var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-203ea86f"]]);
|
|
52
52
|
var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
53
53
|
const _sfc_main$18 = {};
|
|
54
|
-
const _hoisted_1$
|
|
54
|
+
const _hoisted_1$X = { class: "flex-column-body" };
|
|
55
55
|
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
56
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
56
|
+
return openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
57
57
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
58
58
|
]);
|
|
59
59
|
}
|
|
60
60
|
var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-64850355"]]);
|
|
61
61
|
var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
62
62
|
const _sfc_main$17 = {};
|
|
63
|
-
const _hoisted_1$
|
|
63
|
+
const _hoisted_1$W = { class: "flex-column-header" };
|
|
64
64
|
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
65
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
65
|
+
return openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
66
66
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
67
67
|
]);
|
|
68
68
|
}
|
|
69
69
|
var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-10b28f00"]]);
|
|
70
70
|
var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
71
71
|
const _sfc_main$16 = {};
|
|
72
|
-
const _hoisted_1$
|
|
72
|
+
const _hoisted_1$V = { class: "flex-column-footer" };
|
|
73
73
|
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
74
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
74
|
+
return openBlock(), createElementBlock("div", _hoisted_1$V, [
|
|
75
75
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
76
76
|
]);
|
|
77
77
|
}
|
|
78
78
|
var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-68216a72"]]);
|
|
79
79
|
var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
80
80
|
const _sfc_main$15 = {};
|
|
81
|
-
const _hoisted_1$
|
|
81
|
+
const _hoisted_1$U = { class: "flex-cell" };
|
|
82
82
|
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
83
|
+
return openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
84
84
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
85
85
|
]);
|
|
86
86
|
}
|
|
87
87
|
var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-644bb279"]]);
|
|
88
88
|
var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89
89
|
const _sfc_main$14 = {};
|
|
90
|
-
const _hoisted_1$
|
|
90
|
+
const _hoisted_1$T = { class: "flex-row" };
|
|
91
91
|
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
92
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
92
|
+
return openBlock(), createElementBlock("div", _hoisted_1$T, [
|
|
93
93
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
94
94
|
]);
|
|
95
95
|
}
|
|
96
96
|
var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-5b76ad1f"]]);
|
|
97
97
|
var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
98
98
|
const _sfc_main$13 = {};
|
|
99
|
-
const _hoisted_1$
|
|
99
|
+
const _hoisted_1$S = { class: "flex-spacer" };
|
|
100
100
|
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
101
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
101
|
+
return openBlock(), createElementBlock("div", _hoisted_1$S);
|
|
102
102
|
}
|
|
103
103
|
var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-35b15579"]]);
|
|
104
104
|
var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
105
105
|
const _sfc_main$12 = {};
|
|
106
|
-
const _hoisted_1$
|
|
106
|
+
const _hoisted_1$R = { class: "panel" };
|
|
107
107
|
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
108
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
108
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
109
109
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
110
110
|
]);
|
|
111
111
|
}
|
|
112
112
|
var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-50ae77fc"]]);
|
|
113
113
|
var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
114
114
|
const _sfc_main$11 = {};
|
|
115
|
-
const _hoisted_1$
|
|
115
|
+
const _hoisted_1$Q = { class: "panel-body" };
|
|
116
116
|
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
117
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
117
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
118
118
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
119
119
|
]);
|
|
120
120
|
}
|
|
121
121
|
var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-c82dca76"]]);
|
|
122
122
|
var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
123
123
|
const _sfc_main$10 = {};
|
|
124
|
-
const _hoisted_1$
|
|
124
|
+
const _hoisted_1$P = { class: "panel-header" };
|
|
125
125
|
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
126
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
126
|
+
return openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
127
127
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
128
128
|
]);
|
|
129
129
|
}
|
|
130
130
|
var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-13bf11da"]]);
|
|
131
131
|
var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
132
132
|
const _sfc_main$$ = {};
|
|
133
|
-
const _hoisted_1$
|
|
133
|
+
const _hoisted_1$O = { class: "panel-footer" };
|
|
134
134
|
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
135
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
135
|
+
return openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
136
136
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
137
137
|
]);
|
|
138
138
|
}
|
|
@@ -156,7 +156,7 @@ const _sfc_main$_ = {
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
|
-
const _hoisted_1$
|
|
159
|
+
const _hoisted_1$N = ["onClick"];
|
|
160
160
|
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
161
161
|
const _component_flex_row = resolveComponent("flex-row");
|
|
162
162
|
const _component_flex_header = resolveComponent("flex-header");
|
|
@@ -171,7 +171,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
171
171
|
return openBlock(), createElementBlock("a", {
|
|
172
172
|
class: normalizeClass({ active: index2 === $data.activeIndex }),
|
|
173
173
|
onClick: ($event) => $options.select(index2)
|
|
174
|
-
}, toDisplayString(tab.props.heading), 11, _hoisted_1$
|
|
174
|
+
}, toDisplayString(tab.props.heading), 11, _hoisted_1$N);
|
|
175
175
|
}), 256))
|
|
176
176
|
]),
|
|
177
177
|
_: 1
|
|
@@ -240,10 +240,10 @@ const _sfc_main$Y = {
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
};
|
|
243
|
-
const _withScopeId$
|
|
244
|
-
const _hoisted_1$
|
|
243
|
+
const _withScopeId$5 = (n2) => (pushScopeId("data-v-27f20370"), n2 = n2(), popScopeId(), n2);
|
|
244
|
+
const _hoisted_1$M = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("i", { class: "fa fa-spin fa-spinner" }, null, -1));
|
|
245
245
|
const _hoisted_2$B = [
|
|
246
|
-
_hoisted_1$
|
|
246
|
+
_hoisted_1$M
|
|
247
247
|
];
|
|
248
248
|
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
249
249
|
return openBlock(), createElementBlock("div", {
|
|
@@ -351,7 +351,7 @@ const _sfc_main$X = {
|
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
};
|
|
354
|
-
const _hoisted_1$
|
|
354
|
+
const _hoisted_1$L = { class: "ux-btn-text" };
|
|
355
355
|
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
356
356
|
const _component_spinner = resolveComponent("spinner");
|
|
357
357
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
@@ -366,7 +366,7 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
366
366
|
}, {
|
|
367
367
|
default: withCtx(() => [
|
|
368
368
|
$props.loading ? (openBlock(), createBlock(_component_spinner, { key: 0 })) : createCommentVNode("", true),
|
|
369
|
-
createElementVNode("span", _hoisted_1$
|
|
369
|
+
createElementVNode("span", _hoisted_1$L, [
|
|
370
370
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
371
371
|
])
|
|
372
372
|
]),
|
|
@@ -864,13 +864,13 @@ const _sfc_main$R = {
|
|
|
864
864
|
}
|
|
865
865
|
}
|
|
866
866
|
};
|
|
867
|
-
const _hoisted_1$
|
|
867
|
+
const _hoisted_1$K = ["src"];
|
|
868
868
|
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
869
869
|
return openBlock(), createElementBlock("div", {
|
|
870
870
|
class: "ux-image",
|
|
871
871
|
style: normalizeStyle($options.style)
|
|
872
872
|
}, [
|
|
873
|
-
createElementVNode("img", { src: $options.src }, null, 8, _hoisted_1$
|
|
873
|
+
createElementVNode("img", { src: $options.src }, null, 8, _hoisted_1$K)
|
|
874
874
|
], 4);
|
|
875
875
|
}
|
|
876
876
|
var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-7b68ec1a"]]);
|
|
@@ -909,11 +909,11 @@ const _sfc_main$Q = {
|
|
|
909
909
|
}
|
|
910
910
|
}
|
|
911
911
|
};
|
|
912
|
-
const _withScopeId$
|
|
913
|
-
const _hoisted_1$
|
|
914
|
-
const _hoisted_2$A = /* @__PURE__ */ _withScopeId$
|
|
912
|
+
const _withScopeId$4 = (n2) => (pushScopeId("data-v-6581fb86"), n2 = n2(), popScopeId(), n2);
|
|
913
|
+
const _hoisted_1$J = { class: "ux-progress" };
|
|
914
|
+
const _hoisted_2$A = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "ux-progress-bg" }, null, -1));
|
|
915
915
|
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
916
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
916
|
+
return openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
917
917
|
_hoisted_2$A,
|
|
918
918
|
createElementVNode("div", {
|
|
919
919
|
class: "ux-progress-fg",
|
|
@@ -924,18 +924,18 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
924
924
|
var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-6581fb86"]]);
|
|
925
925
|
var list_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
926
926
|
const _sfc_main$P = {};
|
|
927
|
-
const _hoisted_1$
|
|
927
|
+
const _hoisted_1$I = { class: "ux-list" };
|
|
928
928
|
function _sfc_render$P(_ctx, _cache) {
|
|
929
|
-
return openBlock(), createElementBlock("ul", _hoisted_1$
|
|
929
|
+
return openBlock(), createElementBlock("ul", _hoisted_1$I, [
|
|
930
930
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
931
931
|
]);
|
|
932
932
|
}
|
|
933
933
|
var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__scopeId", "data-v-98e1e4e2"]]);
|
|
934
934
|
var listItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
935
935
|
const _sfc_main$O = {};
|
|
936
|
-
const _hoisted_1$
|
|
936
|
+
const _hoisted_1$H = { class: "ux-list-item" };
|
|
937
937
|
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
938
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
938
|
+
return openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
939
939
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
940
940
|
]);
|
|
941
941
|
}
|
|
@@ -1431,7 +1431,7 @@ const _sfc_main$N = {
|
|
|
1431
1431
|
}
|
|
1432
1432
|
}
|
|
1433
1433
|
};
|
|
1434
|
-
const _hoisted_1$
|
|
1434
|
+
const _hoisted_1$G = {
|
|
1435
1435
|
key: 0,
|
|
1436
1436
|
class: "ux-field-title"
|
|
1437
1437
|
};
|
|
@@ -1443,27 +1443,27 @@ const _hoisted_3$v = {
|
|
|
1443
1443
|
key: 1,
|
|
1444
1444
|
class: "ux-field-description"
|
|
1445
1445
|
};
|
|
1446
|
-
const _hoisted_4$
|
|
1446
|
+
const _hoisted_4$r = {
|
|
1447
1447
|
key: 2,
|
|
1448
1448
|
class: "ui-select-button"
|
|
1449
1449
|
};
|
|
1450
1450
|
const _hoisted_5$k = ["multiple"];
|
|
1451
|
-
const _hoisted_6$
|
|
1451
|
+
const _hoisted_6$h = {
|
|
1452
1452
|
key: 0,
|
|
1453
1453
|
value: ""
|
|
1454
1454
|
};
|
|
1455
|
-
const _hoisted_7$
|
|
1455
|
+
const _hoisted_7$f = ["value"];
|
|
1456
1456
|
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1457
1457
|
const _component_ux_button = resolveComponent("ux-button");
|
|
1458
1458
|
return openBlock(), createElementBlock("div", {
|
|
1459
1459
|
class: normalizeClass(["native-select", $options.classes])
|
|
1460
1460
|
}, [
|
|
1461
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
1461
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$G, [
|
|
1462
1462
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
1463
1463
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$z, "*")) : createCommentVNode("", true)
|
|
1464
1464
|
])) : createCommentVNode("", true),
|
|
1465
1465
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$v, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
1466
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1466
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$r, [
|
|
1467
1467
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1468
1468
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
1469
1469
|
default: withCtx(() => [
|
|
@@ -1478,11 +1478,11 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1478
1478
|
multiple: _ctx.multiValue,
|
|
1479
1479
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
|
|
1480
1480
|
}, [
|
|
1481
|
-
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$
|
|
1481
|
+
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$h, "None")) : createCommentVNode("", true),
|
|
1482
1482
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
1483
1483
|
return openBlock(), createElementBlock("option", {
|
|
1484
1484
|
value: option2.value
|
|
1485
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
1485
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$f);
|
|
1486
1486
|
}), 256))
|
|
1487
1487
|
], 40, _hoisted_5$k), [
|
|
1488
1488
|
[vModelSelect, _ctx.model]
|
|
@@ -1562,8 +1562,8 @@ const _sfc_main$M = {
|
|
|
1562
1562
|
}
|
|
1563
1563
|
}
|
|
1564
1564
|
};
|
|
1565
|
-
const _withScopeId$
|
|
1566
|
-
const _hoisted_1$
|
|
1565
|
+
const _withScopeId$3 = (n2) => (pushScopeId("data-v-856e04c2"), n2 = n2(), popScopeId(), n2);
|
|
1566
|
+
const _hoisted_1$F = {
|
|
1567
1567
|
key: 0,
|
|
1568
1568
|
class: "ux-field-title"
|
|
1569
1569
|
};
|
|
@@ -1575,13 +1575,13 @@ const _hoisted_3$u = {
|
|
|
1575
1575
|
key: 1,
|
|
1576
1576
|
class: "ux-field-description"
|
|
1577
1577
|
};
|
|
1578
|
-
const _hoisted_4$
|
|
1578
|
+
const _hoisted_4$q = { key: 2 };
|
|
1579
1579
|
const _hoisted_5$j = /* @__PURE__ */ createTextVNode(" Country Code ");
|
|
1580
|
-
const _hoisted_6$
|
|
1581
|
-
const _hoisted_7$
|
|
1582
|
-
const _hoisted_8$
|
|
1583
|
-
const _hoisted_9$
|
|
1584
|
-
const _hoisted_10$
|
|
1580
|
+
const _hoisted_6$g = { key: 0 };
|
|
1581
|
+
const _hoisted_7$e = { key: 1 };
|
|
1582
|
+
const _hoisted_8$8 = { class: "ux-text-wrap" };
|
|
1583
|
+
const _hoisted_9$6 = ["placeholder", "onUpdate:modelValue"];
|
|
1584
|
+
const _hoisted_10$5 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("option", { value: "" }, "None", -1));
|
|
1585
1585
|
const _hoisted_11$4 = ["value"];
|
|
1586
1586
|
const _hoisted_12$4 = { class: "ux-text-wrap" };
|
|
1587
1587
|
const _hoisted_13$3 = ["placeholder"];
|
|
@@ -1592,12 +1592,12 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1592
1592
|
const _component_ux_button = resolveComponent("ux-button");
|
|
1593
1593
|
const _component_flex_row = resolveComponent("flex-row");
|
|
1594
1594
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
1595
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
1595
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$F, [
|
|
1596
1596
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
1597
1597
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$y, "*")) : createCommentVNode("", true)
|
|
1598
1598
|
])) : createCommentVNode("", true),
|
|
1599
1599
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$u, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
1600
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1600
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$q, [
|
|
1601
1601
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
1602
1602
|
return openBlock(), createBlock(_component_flex_row, {
|
|
1603
1603
|
wrap: "",
|
|
@@ -1616,7 +1616,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1616
1616
|
!entry.countryCode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1617
1617
|
_hoisted_5$j
|
|
1618
1618
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1619
|
-
$data.lookup[entry.countryCode] ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
1619
|
+
$data.lookup[entry.countryCode] ? (openBlock(), createElementBlock("div", _hoisted_6$g, toDisplayString($data.lookup[entry.countryCode].emoji) + " - " + toDisplayString($data.lookup[entry.countryCode].alpha2), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$e, "Loading"))
|
|
1620
1620
|
], 64))
|
|
1621
1621
|
]),
|
|
1622
1622
|
_: 2
|
|
@@ -1626,7 +1626,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1626
1626
|
}, 1024),
|
|
1627
1627
|
createVNode(_component_flex_cell, null, {
|
|
1628
1628
|
default: withCtx(() => [
|
|
1629
|
-
createElementVNode("div", _hoisted_8$
|
|
1629
|
+
createElementVNode("div", _hoisted_8$8, [
|
|
1630
1630
|
withDirectives(createElementVNode("input", {
|
|
1631
1631
|
class: "ux-field-focus ux-text-input-multiple",
|
|
1632
1632
|
placeholder: $options.actualPlaceholder,
|
|
@@ -1635,7 +1635,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1635
1635
|
ref: "input",
|
|
1636
1636
|
onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
|
|
1637
1637
|
"onUpdate:modelValue": ($event) => entry.number = $event
|
|
1638
|
-
}, null, 40, _hoisted_9$
|
|
1638
|
+
}, null, 40, _hoisted_9$6), [
|
|
1639
1639
|
[vModelText, entry.number]
|
|
1640
1640
|
])
|
|
1641
1641
|
])
|
|
@@ -1690,7 +1690,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1690
1690
|
class: "ux-country-code-select",
|
|
1691
1691
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => _ctx.model.countryCode = $event)
|
|
1692
1692
|
}, [
|
|
1693
|
-
_hoisted_10$
|
|
1693
|
+
_hoisted_10$5,
|
|
1694
1694
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.countryCodes, (country) => {
|
|
1695
1695
|
return openBlock(), createElementBlock("option", {
|
|
1696
1696
|
value: country.value
|
|
@@ -2254,7 +2254,7 @@ const _sfc_main$L = {
|
|
|
2254
2254
|
}
|
|
2255
2255
|
}
|
|
2256
2256
|
};
|
|
2257
|
-
const _hoisted_1$
|
|
2257
|
+
const _hoisted_1$E = {
|
|
2258
2258
|
key: 0,
|
|
2259
2259
|
class: "ux-field-title"
|
|
2260
2260
|
};
|
|
@@ -2266,27 +2266,27 @@ const _hoisted_3$t = {
|
|
|
2266
2266
|
key: 1,
|
|
2267
2267
|
class: "ux-field-description"
|
|
2268
2268
|
};
|
|
2269
|
-
const _hoisted_4$
|
|
2269
|
+
const _hoisted_4$p = {
|
|
2270
2270
|
key: 2,
|
|
2271
2271
|
class: "ui-select-button"
|
|
2272
2272
|
};
|
|
2273
2273
|
const _hoisted_5$i = ["multiple"];
|
|
2274
|
-
const _hoisted_6$
|
|
2274
|
+
const _hoisted_6$f = {
|
|
2275
2275
|
key: 0,
|
|
2276
2276
|
value: ""
|
|
2277
2277
|
};
|
|
2278
|
-
const _hoisted_7$
|
|
2278
|
+
const _hoisted_7$d = ["value"];
|
|
2279
2279
|
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2280
2280
|
const _component_ux_button = resolveComponent("ux-button");
|
|
2281
2281
|
return openBlock(), createElementBlock("div", {
|
|
2282
2282
|
class: normalizeClass(["native-select", $options.classes])
|
|
2283
2283
|
}, [
|
|
2284
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
2284
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$E, [
|
|
2285
2285
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
2286
2286
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$x, "*")) : createCommentVNode("", true)
|
|
2287
2287
|
])) : createCommentVNode("", true),
|
|
2288
2288
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$t, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
2289
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
2289
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$p, [
|
|
2290
2290
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2291
2291
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
2292
2292
|
default: withCtx(() => [
|
|
@@ -2301,11 +2301,11 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2301
2301
|
multiple: _ctx.multiValue,
|
|
2302
2302
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
|
|
2303
2303
|
}, [
|
|
2304
|
-
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$
|
|
2304
|
+
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$f, "None")) : createCommentVNode("", true),
|
|
2305
2305
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
2306
2306
|
return openBlock(), createElementBlock("option", {
|
|
2307
2307
|
value: option2.value
|
|
2308
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
2308
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$d);
|
|
2309
2309
|
}), 256))
|
|
2310
2310
|
], 40, _hoisted_5$i), [
|
|
2311
2311
|
[vModelSelect, _ctx.model]
|
|
@@ -5133,7 +5133,7 @@ const _sfc_main$J = {
|
|
|
5133
5133
|
}
|
|
5134
5134
|
}
|
|
5135
5135
|
};
|
|
5136
|
-
const _hoisted_1$
|
|
5136
|
+
const _hoisted_1$D = {
|
|
5137
5137
|
key: 0,
|
|
5138
5138
|
class: "ux-field-title"
|
|
5139
5139
|
};
|
|
@@ -5145,7 +5145,7 @@ const _hoisted_3$s = {
|
|
|
5145
5145
|
key: 1,
|
|
5146
5146
|
class: "ux-field-description"
|
|
5147
5147
|
};
|
|
5148
|
-
const _hoisted_4$
|
|
5148
|
+
const _hoisted_4$o = {
|
|
5149
5149
|
key: 3,
|
|
5150
5150
|
class: "items"
|
|
5151
5151
|
};
|
|
@@ -5155,7 +5155,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5155
5155
|
const _component_item = resolveComponent("item");
|
|
5156
5156
|
const _component_draggable = resolveComponent("draggable");
|
|
5157
5157
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5158
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5158
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$D, [
|
|
5159
5159
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5160
5160
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$w, "*")) : createCommentVNode("", true)
|
|
5161
5161
|
])) : createCommentVNode("", true),
|
|
@@ -5198,7 +5198,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5198
5198
|
]),
|
|
5199
5199
|
_: 1
|
|
5200
5200
|
}, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
5201
|
-
], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5201
|
+
], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
|
|
5202
5202
|
createVNode(_component_item, { item: _ctx.model }, {
|
|
5203
5203
|
actions: withCtx(() => [
|
|
5204
5204
|
$options.canEdit(_ctx.model) ? (openBlock(), createBlock(_component_ux_button, {
|
|
@@ -5346,7 +5346,7 @@ const _sfc_main$I = {
|
|
|
5346
5346
|
}
|
|
5347
5347
|
}
|
|
5348
5348
|
};
|
|
5349
|
-
const _hoisted_1$
|
|
5349
|
+
const _hoisted_1$C = {
|
|
5350
5350
|
key: 0,
|
|
5351
5351
|
class: "ux-field-title"
|
|
5352
5352
|
};
|
|
@@ -5358,27 +5358,27 @@ const _hoisted_3$r = {
|
|
|
5358
5358
|
key: 1,
|
|
5359
5359
|
class: "ux-field-description"
|
|
5360
5360
|
};
|
|
5361
|
-
const _hoisted_4$
|
|
5361
|
+
const _hoisted_4$n = {
|
|
5362
5362
|
key: 2,
|
|
5363
5363
|
class: "ui-select-button"
|
|
5364
5364
|
};
|
|
5365
5365
|
const _hoisted_5$h = ["multiple"];
|
|
5366
|
-
const _hoisted_6$
|
|
5366
|
+
const _hoisted_6$e = {
|
|
5367
5367
|
key: 0,
|
|
5368
5368
|
value: ""
|
|
5369
5369
|
};
|
|
5370
|
-
const _hoisted_7$
|
|
5370
|
+
const _hoisted_7$c = ["value"];
|
|
5371
5371
|
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5372
5372
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5373
5373
|
return openBlock(), createElementBlock("div", {
|
|
5374
5374
|
class: normalizeClass(["native-select", $options.classes])
|
|
5375
5375
|
}, [
|
|
5376
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5376
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$C, [
|
|
5377
5377
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5378
5378
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$v, "*")) : createCommentVNode("", true)
|
|
5379
5379
|
])) : createCommentVNode("", true),
|
|
5380
5380
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$r, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
5381
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5381
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
|
|
5382
5382
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
5383
5383
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
5384
5384
|
default: withCtx(() => [
|
|
@@ -5393,11 +5393,11 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5393
5393
|
multiple: _ctx.multiValue,
|
|
5394
5394
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
|
|
5395
5395
|
}, [
|
|
5396
|
-
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$
|
|
5396
|
+
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$e, "None")) : createCommentVNode("", true),
|
|
5397
5397
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
5398
5398
|
return openBlock(), createElementBlock("option", {
|
|
5399
5399
|
value: option2.value
|
|
5400
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
5400
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$c);
|
|
5401
5401
|
}), 256))
|
|
5402
5402
|
], 40, _hoisted_5$h), [
|
|
5403
5403
|
[vModelSelect, _ctx.model]
|
|
@@ -5484,7 +5484,7 @@ const _sfc_main$H = {
|
|
|
5484
5484
|
}
|
|
5485
5485
|
}
|
|
5486
5486
|
};
|
|
5487
|
-
const _hoisted_1$
|
|
5487
|
+
const _hoisted_1$B = {
|
|
5488
5488
|
key: 0,
|
|
5489
5489
|
class: "ux-field-title"
|
|
5490
5490
|
};
|
|
@@ -5496,21 +5496,21 @@ const _hoisted_3$q = {
|
|
|
5496
5496
|
key: 1,
|
|
5497
5497
|
class: "ux-field-description"
|
|
5498
5498
|
};
|
|
5499
|
-
const _hoisted_4$
|
|
5499
|
+
const _hoisted_4$m = { key: 2 };
|
|
5500
5500
|
const _hoisted_5$g = {
|
|
5501
5501
|
key: 0,
|
|
5502
5502
|
class: "ux-text-prefix"
|
|
5503
5503
|
};
|
|
5504
|
-
const _hoisted_6$
|
|
5505
|
-
const _hoisted_7$
|
|
5504
|
+
const _hoisted_6$d = ["onBlur", "onUpdate:modelValue"];
|
|
5505
|
+
const _hoisted_7$b = {
|
|
5506
5506
|
key: 1,
|
|
5507
5507
|
class: "ux-text-suffix"
|
|
5508
5508
|
};
|
|
5509
|
-
const _hoisted_8$
|
|
5509
|
+
const _hoisted_8$7 = {
|
|
5510
5510
|
key: 0,
|
|
5511
5511
|
class: "ux-text-prefix"
|
|
5512
5512
|
};
|
|
5513
|
-
const _hoisted_9$
|
|
5513
|
+
const _hoisted_9$5 = {
|
|
5514
5514
|
key: 1,
|
|
5515
5515
|
class: "ux-text-suffix"
|
|
5516
5516
|
};
|
|
@@ -5520,12 +5520,12 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5520
5520
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5521
5521
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5522
5522
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5523
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5523
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
|
|
5524
5524
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5525
5525
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$u, "*")) : createCommentVNode("", true)
|
|
5526
5526
|
])) : createCommentVNode("", true),
|
|
5527
5527
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$q, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
5528
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5528
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
|
|
5529
5529
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
|
|
5530
5530
|
return openBlock(), createBlock(_component_flex_row, {
|
|
5531
5531
|
class: "ux-text-row",
|
|
@@ -5548,7 +5548,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5548
5548
|
onBlur: ($event) => $options.update($event, index2),
|
|
5549
5549
|
"onUpdate:modelValue": ($event) => $options.proxy[index2] = $event,
|
|
5550
5550
|
onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.touch && _ctx.touch(...args))
|
|
5551
|
-
}, null, 40, _hoisted_6$
|
|
5551
|
+
}, null, 40, _hoisted_6$d)), [
|
|
5552
5552
|
[
|
|
5553
5553
|
vModelText,
|
|
5554
5554
|
$options.proxy[index2],
|
|
@@ -5556,7 +5556,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5556
5556
|
{ lazy: true }
|
|
5557
5557
|
]
|
|
5558
5558
|
]),
|
|
5559
|
-
$options.suffix ? (openBlock(), createElementBlock("span", _hoisted_7$
|
|
5559
|
+
$options.suffix ? (openBlock(), createElementBlock("span", _hoisted_7$b, toDisplayString($options.suffix), 1)) : createCommentVNode("", true)
|
|
5560
5560
|
], 2)
|
|
5561
5561
|
]),
|
|
5562
5562
|
_: 2
|
|
@@ -5601,7 +5601,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5601
5601
|
key: 3,
|
|
5602
5602
|
class: normalizeClass(["ux-text-wrap", { prefixed: $options.prefix, suffixed: $options.suffix }])
|
|
5603
5603
|
}, [
|
|
5604
|
-
$options.prefix ? (openBlock(), createElementBlock("span", _hoisted_8$
|
|
5604
|
+
$options.prefix ? (openBlock(), createElementBlock("span", _hoisted_8$7, toDisplayString($options.prefix), 1)) : createCommentVNode("", true),
|
|
5605
5605
|
withDirectives((openBlock(), createElementBlock("input", {
|
|
5606
5606
|
class: "ux-field-focus ux-text-input-single",
|
|
5607
5607
|
ref: "input",
|
|
@@ -5618,7 +5618,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5618
5618
|
{ lazy: true }
|
|
5619
5619
|
]
|
|
5620
5620
|
]),
|
|
5621
|
-
$options.suffix ? (openBlock(), createElementBlock("span", _hoisted_9$
|
|
5621
|
+
$options.suffix ? (openBlock(), createElementBlock("span", _hoisted_9$5, toDisplayString($options.suffix), 1)) : createCommentVNode("", true)
|
|
5622
5622
|
], 2))
|
|
5623
5623
|
], 64);
|
|
5624
5624
|
}
|
|
@@ -5687,7 +5687,7 @@ const _sfc_main$G = {
|
|
|
5687
5687
|
}
|
|
5688
5688
|
}
|
|
5689
5689
|
};
|
|
5690
|
-
const _hoisted_1$
|
|
5690
|
+
const _hoisted_1$A = {
|
|
5691
5691
|
key: 0,
|
|
5692
5692
|
class: "ux-field-title"
|
|
5693
5693
|
};
|
|
@@ -5699,19 +5699,19 @@ const _hoisted_3$p = {
|
|
|
5699
5699
|
key: 1,
|
|
5700
5700
|
class: "ux-field-description"
|
|
5701
5701
|
};
|
|
5702
|
-
const _hoisted_4$
|
|
5702
|
+
const _hoisted_4$l = { key: 2 };
|
|
5703
5703
|
const _hoisted_5$f = { class: "ux-text-wrap" };
|
|
5704
|
-
const _hoisted_6$
|
|
5704
|
+
const _hoisted_6$c = {
|
|
5705
5705
|
key: 0,
|
|
5706
5706
|
class: "ux-text-prefix"
|
|
5707
5707
|
};
|
|
5708
|
-
const _hoisted_7$
|
|
5709
|
-
const _hoisted_8$
|
|
5710
|
-
const _hoisted_9$
|
|
5708
|
+
const _hoisted_7$a = ["type", "placeholder", "onUpdate:modelValue"];
|
|
5709
|
+
const _hoisted_8$6 = ["type", "placeholder", "onUpdate:modelValue"];
|
|
5710
|
+
const _hoisted_9$4 = {
|
|
5711
5711
|
key: 3,
|
|
5712
5712
|
class: "ux-text-suffix"
|
|
5713
5713
|
};
|
|
5714
|
-
const _hoisted_10$
|
|
5714
|
+
const _hoisted_10$4 = {
|
|
5715
5715
|
key: 3,
|
|
5716
5716
|
class: "ux-text-wrap"
|
|
5717
5717
|
};
|
|
@@ -5731,12 +5731,12 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5731
5731
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5732
5732
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5733
5733
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5734
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5734
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
|
|
5735
5735
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5736
5736
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$t, "*")) : createCommentVNode("", true)
|
|
5737
5737
|
])) : createCommentVNode("", true),
|
|
5738
5738
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$p, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
5739
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5739
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$l, [
|
|
5740
5740
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
5741
5741
|
return openBlock(), createBlock(_component_flex_row, {
|
|
5742
5742
|
class: "ux-text-row",
|
|
@@ -5746,7 +5746,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5746
5746
|
createVNode(_component_flex_cell, null, {
|
|
5747
5747
|
default: withCtx(() => [
|
|
5748
5748
|
createElementVNode("div", _hoisted_5$f, [
|
|
5749
|
-
_ctx.prefix ? (openBlock(), createElementBlock("span", _hoisted_6$
|
|
5749
|
+
_ctx.prefix ? (openBlock(), createElementBlock("span", _hoisted_6$c, toDisplayString(_ctx.prefix), 1)) : createCommentVNode("", true),
|
|
5750
5750
|
$options.lazy ? withDirectives((openBlock(), createElementBlock("input", {
|
|
5751
5751
|
key: 1,
|
|
5752
5752
|
type: $options.inputType,
|
|
@@ -5757,7 +5757,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5757
5757
|
ref: "input",
|
|
5758
5758
|
onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
|
|
5759
5759
|
"onUpdate:modelValue": ($event) => _ctx.model[index2] = $event
|
|
5760
|
-
}, null, 40, _hoisted_7$
|
|
5760
|
+
}, null, 40, _hoisted_7$a)), [
|
|
5761
5761
|
[
|
|
5762
5762
|
vModelDynamic,
|
|
5763
5763
|
_ctx.model[index2],
|
|
@@ -5775,10 +5775,10 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5775
5775
|
ref: "input",
|
|
5776
5776
|
onKeydown: _cache[3] || (_cache[3] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
|
|
5777
5777
|
"onUpdate:modelValue": ($event) => _ctx.model[index2] = $event
|
|
5778
|
-
}, null, 40, _hoisted_8$
|
|
5778
|
+
}, null, 40, _hoisted_8$6)), [
|
|
5779
5779
|
[vModelDynamic, _ctx.model[index2]]
|
|
5780
5780
|
]) : createCommentVNode("", true),
|
|
5781
|
-
_ctx.suffix ? (openBlock(), createElementBlock("span", _hoisted_9$
|
|
5781
|
+
_ctx.suffix ? (openBlock(), createElementBlock("span", _hoisted_9$4, toDisplayString(_ctx.suffix), 1)) : createCommentVNode("", true)
|
|
5782
5782
|
])
|
|
5783
5783
|
]),
|
|
5784
5784
|
_: 2
|
|
@@ -5819,7 +5819,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5819
5819
|
]),
|
|
5820
5820
|
_: 1
|
|
5821
5821
|
})) : createCommentVNode("", true)
|
|
5822
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_10$
|
|
5822
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_10$4, [
|
|
5823
5823
|
_ctx.prefix ? (openBlock(), createElementBlock("span", _hoisted_11$3, toDisplayString(_ctx.prefix), 1)) : createCommentVNode("", true),
|
|
5824
5824
|
$options.lazy ? withDirectives((openBlock(), createElementBlock("input", {
|
|
5825
5825
|
key: 1,
|
|
@@ -5867,7 +5867,7 @@ const _sfc_main$F = {
|
|
|
5867
5867
|
}
|
|
5868
5868
|
}
|
|
5869
5869
|
};
|
|
5870
|
-
const _hoisted_1$
|
|
5870
|
+
const _hoisted_1$z = {
|
|
5871
5871
|
key: 0,
|
|
5872
5872
|
class: "ux-field-title"
|
|
5873
5873
|
};
|
|
@@ -5879,7 +5879,7 @@ const _hoisted_3$o = {
|
|
|
5879
5879
|
key: 1,
|
|
5880
5880
|
class: "ux-field-description"
|
|
5881
5881
|
};
|
|
5882
|
-
const _hoisted_4$
|
|
5882
|
+
const _hoisted_4$k = { key: 2 };
|
|
5883
5883
|
const _hoisted_5$e = ["onUpdate:modelValue"];
|
|
5884
5884
|
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5885
5885
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
@@ -5887,12 +5887,12 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5887
5887
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5888
5888
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5889
5889
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5890
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5890
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$z, [
|
|
5891
5891
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5892
5892
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$s, "*")) : createCommentVNode("", true)
|
|
5893
5893
|
])) : createCommentVNode("", true),
|
|
5894
5894
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$o, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
5895
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5895
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$k, [
|
|
5896
5896
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
5897
5897
|
return openBlock(), createBlock(_component_flex_row, {
|
|
5898
5898
|
class: "ux-text-row",
|
|
@@ -6015,7 +6015,7 @@ const _sfc_main$E = {
|
|
|
6015
6015
|
}
|
|
6016
6016
|
}
|
|
6017
6017
|
};
|
|
6018
|
-
const _hoisted_1$
|
|
6018
|
+
const _hoisted_1$y = {
|
|
6019
6019
|
key: 0,
|
|
6020
6020
|
class: "ux-field-title"
|
|
6021
6021
|
};
|
|
@@ -6027,7 +6027,7 @@ const _hoisted_3$n = {
|
|
|
6027
6027
|
key: 1,
|
|
6028
6028
|
class: "ux-field-description"
|
|
6029
6029
|
};
|
|
6030
|
-
const _hoisted_4$
|
|
6030
|
+
const _hoisted_4$j = { key: 2 };
|
|
6031
6031
|
const _hoisted_5$d = ["onUpdate:modelValue"];
|
|
6032
6032
|
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6033
6033
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
@@ -6035,12 +6035,12 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6035
6035
|
const _component_ux_button = resolveComponent("ux-button");
|
|
6036
6036
|
const _component_flex_row = resolveComponent("flex-row");
|
|
6037
6037
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
6038
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
6038
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$y, [
|
|
6039
6039
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
6040
6040
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$r, "*")) : createCommentVNode("", true)
|
|
6041
6041
|
])) : createCommentVNode("", true),
|
|
6042
6042
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$n, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
6043
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
6043
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$j, [
|
|
6044
6044
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
|
|
6045
6045
|
return openBlock(), createBlock(_component_flex_row, {
|
|
6046
6046
|
class: "ux-text-row",
|
|
@@ -6150,7 +6150,7 @@ const _sfc_main$D = {
|
|
|
6150
6150
|
}
|
|
6151
6151
|
}
|
|
6152
6152
|
};
|
|
6153
|
-
const _hoisted_1$
|
|
6153
|
+
const _hoisted_1$x = {
|
|
6154
6154
|
key: 0,
|
|
6155
6155
|
class: "ux-field-title"
|
|
6156
6156
|
};
|
|
@@ -6186,7 +6186,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6186
6186
|
createVNode(_component_flex_cell, { vcenter: "" }, {
|
|
6187
6187
|
default: withCtx(() => [
|
|
6188
6188
|
createElementVNode("div", null, [
|
|
6189
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
6189
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$x, [
|
|
6190
6190
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
6191
6191
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$q, "*")) : createCommentVNode("", true)
|
|
6192
6192
|
])) : createCommentVNode("", true),
|
|
@@ -6213,7 +6213,7 @@ const _sfc_main$C = {
|
|
|
6213
6213
|
}
|
|
6214
6214
|
}
|
|
6215
6215
|
};
|
|
6216
|
-
const _hoisted_1$
|
|
6216
|
+
const _hoisted_1$w = { key: 0 };
|
|
6217
6217
|
const _hoisted_2$p = ["innerHTML"];
|
|
6218
6218
|
const _hoisted_3$l = ["innerHTML"];
|
|
6219
6219
|
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -6221,7 +6221,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6221
6221
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
6222
6222
|
const _component_ux_button = resolveComponent("ux-button");
|
|
6223
6223
|
const _component_flex_row = resolveComponent("flex-row");
|
|
6224
|
-
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6224
|
+
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
6225
6225
|
createVNode(_component_flex_row, { class: "ux-text-row" }, {
|
|
6226
6226
|
default: withCtx(() => [
|
|
6227
6227
|
createVNode(_component_flex_cell, null, {
|
|
@@ -6326,6 +6326,7 @@ const _sfc_main$B = {
|
|
|
6326
6326
|
keyOptions() {
|
|
6327
6327
|
return this.fields.reduce(function(set, entry) {
|
|
6328
6328
|
switch (entry.type) {
|
|
6329
|
+
case "object":
|
|
6329
6330
|
case "group":
|
|
6330
6331
|
break;
|
|
6331
6332
|
default:
|
|
@@ -6534,19 +6535,19 @@ const _sfc_main$B = {
|
|
|
6534
6535
|
NativeSelect
|
|
6535
6536
|
}
|
|
6536
6537
|
};
|
|
6537
|
-
const _hoisted_1$
|
|
6538
|
+
const _hoisted_1$v = {
|
|
6538
6539
|
key: 0,
|
|
6539
6540
|
class: "filter-condition"
|
|
6540
6541
|
};
|
|
6541
6542
|
const _hoisted_2$o = { key: 0 };
|
|
6542
6543
|
const _hoisted_3$k = { key: 1 };
|
|
6543
|
-
const _hoisted_4$
|
|
6544
|
+
const _hoisted_4$i = /* @__PURE__ */ createTextVNode(" And ");
|
|
6544
6545
|
const _hoisted_5$c = { key: 2 };
|
|
6545
|
-
const _hoisted_6$
|
|
6546
|
-
const _hoisted_7$
|
|
6547
|
-
const _hoisted_8$
|
|
6548
|
-
const _hoisted_9$
|
|
6549
|
-
const _hoisted_10$
|
|
6546
|
+
const _hoisted_6$b = { key: 3 };
|
|
6547
|
+
const _hoisted_7$9 = /* @__PURE__ */ createTextVNode(" And ");
|
|
6548
|
+
const _hoisted_8$5 = { key: 4 };
|
|
6549
|
+
const _hoisted_9$3 = { key: 5 };
|
|
6550
|
+
const _hoisted_10$3 = { key: 6 };
|
|
6550
6551
|
const _hoisted_11$2 = { key: 7 };
|
|
6551
6552
|
const _hoisted_12$2 = { key: 8 };
|
|
6552
6553
|
const _hoisted_13$1 = { key: 9 };
|
|
@@ -6560,7 +6561,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6560
6561
|
const _component_content_select = resolveComponent("content-select");
|
|
6561
6562
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
6562
6563
|
const _component_ux_button = resolveComponent("ux-button");
|
|
6563
|
-
return $data.comparators ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6564
|
+
return $data.comparators ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
6564
6565
|
createVNode(_component_flex_row, null, {
|
|
6565
6566
|
default: withCtx(() => [
|
|
6566
6567
|
createVNode(_component_flex_cell, null, {
|
|
@@ -6606,7 +6607,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6606
6607
|
modelValue: $data.model.value,
|
|
6607
6608
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.model.value = $event)
|
|
6608
6609
|
}, null, 8, ["field", "modelValue"]),
|
|
6609
|
-
_hoisted_4$
|
|
6610
|
+
_hoisted_4$i,
|
|
6610
6611
|
createVNode(_component_text_field, {
|
|
6611
6612
|
field: $options.normalField,
|
|
6612
6613
|
modelValue: $data.model.value2,
|
|
@@ -6640,34 +6641,34 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6640
6641
|
_: 1
|
|
6641
6642
|
})
|
|
6642
6643
|
])) : createCommentVNode("", true),
|
|
6643
|
-
$options.inputType == "daterange" ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
6644
|
+
$options.inputType == "daterange" ? (openBlock(), createElementBlock("div", _hoisted_6$b, [
|
|
6644
6645
|
createVNode(_component_date_field, {
|
|
6645
6646
|
field: $options.dateField,
|
|
6646
6647
|
modelValue: $data.model.value,
|
|
6647
6648
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $data.model.value = $event)
|
|
6648
6649
|
}, null, 8, ["field", "modelValue"]),
|
|
6649
|
-
_hoisted_7$
|
|
6650
|
+
_hoisted_7$9,
|
|
6650
6651
|
createVNode(_component_date_field, {
|
|
6651
6652
|
field: $options.dateField,
|
|
6652
6653
|
modelValue: $data.model.value2,
|
|
6653
6654
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $data.model.value2 = $event)
|
|
6654
6655
|
}, null, 8, ["field", "modelValue"])
|
|
6655
6656
|
])) : createCommentVNode("", true),
|
|
6656
|
-
$options.inputType == "date" ? (openBlock(), createElementBlock("div", _hoisted_8$
|
|
6657
|
+
$options.inputType == "date" ? (openBlock(), createElementBlock("div", _hoisted_8$5, [
|
|
6657
6658
|
createVNode(_component_date_field, {
|
|
6658
6659
|
field: $options.dateField,
|
|
6659
6660
|
modelValue: $data.model.value,
|
|
6660
6661
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $data.model.value = $event)
|
|
6661
6662
|
}, null, 8, ["field", "modelValue"])
|
|
6662
6663
|
])) : createCommentVNode("", true),
|
|
6663
|
-
$options.inputType == "reference" ? (openBlock(), createElementBlock("div", _hoisted_9$
|
|
6664
|
+
$options.inputType == "reference" ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
|
|
6664
6665
|
createVNode(_component_content_select, {
|
|
6665
6666
|
field: $options.singleReferenceField,
|
|
6666
6667
|
modelValue: $data.model.value,
|
|
6667
6668
|
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $data.model.value = $event)
|
|
6668
6669
|
}, null, 8, ["field", "modelValue"])
|
|
6669
6670
|
])) : createCommentVNode("", true),
|
|
6670
|
-
$options.inputType == "multireference" ? (openBlock(), createElementBlock("div", _hoisted_10$
|
|
6671
|
+
$options.inputType == "multireference" ? (openBlock(), createElementBlock("div", _hoisted_10$3, [
|
|
6671
6672
|
createVNode(_component_content_select, {
|
|
6672
6673
|
field: $options.multiReferenceField,
|
|
6673
6674
|
modelValue: $data.model.values,
|
|
@@ -6990,21 +6991,53 @@ const _sfc_main$A = {
|
|
|
6990
6991
|
}
|
|
6991
6992
|
},
|
|
6992
6993
|
fields() {
|
|
6993
|
-
|
|
6994
|
-
var
|
|
6994
|
+
const self2 = this;
|
|
6995
|
+
var allFields = self2.definition && self2.definition.fields ? [...self2.definition.fields] : [];
|
|
6996
|
+
var definedFields = self2.definition && self2.definition.definedFields ? self2.definition.definedFields : [];
|
|
6997
|
+
const isFormSubmission = self2.definition.definesType === "submission";
|
|
6995
6998
|
if (definedFields.length) {
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
6999
|
+
if (isFormSubmission) {
|
|
7000
|
+
var formDataFields = {
|
|
7001
|
+
title: `Form Data`,
|
|
7002
|
+
minimum: 1,
|
|
7003
|
+
maximum: 1,
|
|
7004
|
+
key: "formData",
|
|
7005
|
+
asObject: true,
|
|
7006
|
+
type: "group",
|
|
7007
|
+
fields: definedFields
|
|
7008
|
+
};
|
|
7009
|
+
allFields.push(formDataFields);
|
|
7010
|
+
const cleanedDataFields = definedFields.map(function(field) {
|
|
7011
|
+
if (field.type === "reference") {
|
|
7012
|
+
field = JSON.parse(JSON.stringify(field));
|
|
7013
|
+
delete field.fields;
|
|
7014
|
+
}
|
|
7015
|
+
return field;
|
|
7016
|
+
});
|
|
7017
|
+
var dataFields = {
|
|
7018
|
+
title: `Data`,
|
|
7019
|
+
minimum: 1,
|
|
7020
|
+
maximum: 1,
|
|
7021
|
+
key: "data",
|
|
7022
|
+
asObject: true,
|
|
7023
|
+
type: "group",
|
|
7024
|
+
fields: cleanedDataFields
|
|
7025
|
+
};
|
|
7026
|
+
allFields.push(dataFields);
|
|
7027
|
+
} else {
|
|
7028
|
+
var dataFields = {
|
|
7029
|
+
title: `${self2.definition.title}`,
|
|
7030
|
+
minimum: 1,
|
|
7031
|
+
maximum: 1,
|
|
7032
|
+
key: "data",
|
|
7033
|
+
asObject: true,
|
|
7034
|
+
type: "group",
|
|
7035
|
+
fields: definedFields
|
|
7036
|
+
};
|
|
7037
|
+
allFields.push(dataFields);
|
|
7038
|
+
}
|
|
7006
7039
|
}
|
|
7007
|
-
var mapped =
|
|
7040
|
+
var mapped = self2.$qik.utils.mapFields(allFields, { includeArrayDelimeter: true });
|
|
7008
7041
|
return mapped;
|
|
7009
7042
|
},
|
|
7010
7043
|
operatorField() {
|
|
@@ -7033,14 +7066,14 @@ const _sfc_main$A = {
|
|
|
7033
7066
|
NativeSelect
|
|
7034
7067
|
}
|
|
7035
7068
|
};
|
|
7036
|
-
const _hoisted_1$
|
|
7069
|
+
const _hoisted_1$u = { class: "filter-rule" };
|
|
7037
7070
|
const _hoisted_2$n = { class: "top" };
|
|
7038
7071
|
const _hoisted_3$j = { class: "summary" };
|
|
7039
|
-
const _hoisted_4$
|
|
7072
|
+
const _hoisted_4$h = /* @__PURE__ */ createTextVNode(" Match ");
|
|
7040
7073
|
const _hoisted_5$b = /* @__PURE__ */ createTextVNode(" of the following conditions ");
|
|
7041
|
-
const _hoisted_6$
|
|
7042
|
-
const _hoisted_7$
|
|
7043
|
-
const _hoisted_8$
|
|
7074
|
+
const _hoisted_6$a = /* @__PURE__ */ createElementVNode("span", { class: "line" }, null, -1);
|
|
7075
|
+
const _hoisted_7$8 = { class: "operator" };
|
|
7076
|
+
const _hoisted_8$4 = /* @__PURE__ */ createTextVNode("Add Condition");
|
|
7044
7077
|
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7045
7078
|
const _component_native_select = resolveComponent("native-select");
|
|
7046
7079
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
@@ -7048,14 +7081,14 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7048
7081
|
const _component_ux_button = resolveComponent("ux-button");
|
|
7049
7082
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7050
7083
|
const _component_filter_condition = resolveComponent("filter-condition");
|
|
7051
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7084
|
+
return openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
7052
7085
|
createElementVNode("div", _hoisted_2$n, [
|
|
7053
7086
|
createVNode(_component_flex_row, null, {
|
|
7054
7087
|
default: withCtx(() => [
|
|
7055
7088
|
createVNode(_component_flex_cell, null, {
|
|
7056
7089
|
default: withCtx(() => [
|
|
7057
7090
|
createElementVNode("div", _hoisted_3$j, [
|
|
7058
|
-
_hoisted_4$
|
|
7091
|
+
_hoisted_4$h,
|
|
7059
7092
|
createVNode(_component_native_select, {
|
|
7060
7093
|
modelValue: $data.model.operator,
|
|
7061
7094
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
|
|
@@ -7105,8 +7138,8 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7105
7138
|
shrink: ""
|
|
7106
7139
|
}, {
|
|
7107
7140
|
default: withCtx(() => [
|
|
7108
|
-
_hoisted_6$
|
|
7109
|
-
createElementVNode("div", _hoisted_7$
|
|
7141
|
+
_hoisted_6$a,
|
|
7142
|
+
createElementVNode("div", _hoisted_7$8, toDisplayString($data.model.operator), 1)
|
|
7110
7143
|
]),
|
|
7111
7144
|
_: 2
|
|
7112
7145
|
}, 1032, ["class"])) : createCommentVNode("", true),
|
|
@@ -7128,7 +7161,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7128
7161
|
}), 128)),
|
|
7129
7162
|
createVNode(_component_ux_button, { onClick: $options.addCondition }, {
|
|
7130
7163
|
default: withCtx(() => [
|
|
7131
|
-
_hoisted_8$
|
|
7164
|
+
_hoisted_8$4
|
|
7132
7165
|
]),
|
|
7133
7166
|
_: 1
|
|
7134
7167
|
}, 8, ["onClick"])
|
|
@@ -7237,15 +7270,15 @@ const _sfc_main$z = {
|
|
|
7237
7270
|
};
|
|
7238
7271
|
}
|
|
7239
7272
|
};
|
|
7240
|
-
const _hoisted_1$
|
|
7273
|
+
const _hoisted_1$t = { class: "filters" };
|
|
7241
7274
|
const _hoisted_2$m = {
|
|
7242
7275
|
key: 0,
|
|
7243
7276
|
class: "top"
|
|
7244
7277
|
};
|
|
7245
7278
|
const _hoisted_3$i = { class: "summary" };
|
|
7246
|
-
const _hoisted_4$
|
|
7279
|
+
const _hoisted_4$g = /* @__PURE__ */ createTextVNode(" Match ");
|
|
7247
7280
|
const _hoisted_5$a = /* @__PURE__ */ createTextVNode(" of the following rules ");
|
|
7248
|
-
const _hoisted_6$
|
|
7281
|
+
const _hoisted_6$9 = /* @__PURE__ */ createTextVNode("Add Filter Rule");
|
|
7249
7282
|
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7250
7283
|
const _component_native_select = resolveComponent("native-select");
|
|
7251
7284
|
const _component_filter_rule = resolveComponent("filter-rule");
|
|
@@ -7256,10 +7289,10 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7256
7289
|
default: withCtx(() => [
|
|
7257
7290
|
createVNode(_component_flex_body, null, {
|
|
7258
7291
|
default: withCtx(() => [
|
|
7259
|
-
createElementVNode("div", _hoisted_1$
|
|
7292
|
+
createElementVNode("div", _hoisted_1$t, [
|
|
7260
7293
|
$data.model && $data.model.filters && $data.model.filters.length ? (openBlock(), createElementBlock("div", _hoisted_2$m, [
|
|
7261
7294
|
createElementVNode("div", _hoisted_3$i, [
|
|
7262
|
-
_hoisted_4$
|
|
7295
|
+
_hoisted_4$g,
|
|
7263
7296
|
createVNode(_component_native_select, {
|
|
7264
7297
|
modelValue: $data.model.operator,
|
|
7265
7298
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
|
|
@@ -7288,7 +7321,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7288
7321
|
onClick: _cache[1] || (_cache[1] = ($event) => $options.addRule())
|
|
7289
7322
|
}, {
|
|
7290
7323
|
default: withCtx(() => [
|
|
7291
|
-
_hoisted_6$
|
|
7324
|
+
_hoisted_6$9
|
|
7292
7325
|
]),
|
|
7293
7326
|
_: 1
|
|
7294
7327
|
})
|
|
@@ -7344,7 +7377,7 @@ const _sfc_main$y = {
|
|
|
7344
7377
|
}
|
|
7345
7378
|
}
|
|
7346
7379
|
};
|
|
7347
|
-
const _hoisted_1$
|
|
7380
|
+
const _hoisted_1$s = {
|
|
7348
7381
|
key: 0,
|
|
7349
7382
|
class: "ux-field-title"
|
|
7350
7383
|
};
|
|
@@ -7356,7 +7389,7 @@ const _hoisted_3$h = {
|
|
|
7356
7389
|
key: 1,
|
|
7357
7390
|
class: "ux-field-description"
|
|
7358
7391
|
};
|
|
7359
|
-
const _hoisted_4$
|
|
7392
|
+
const _hoisted_4$f = { key: 2 };
|
|
7360
7393
|
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7361
7394
|
const _component_filter_builder = resolveComponent("filter-builder");
|
|
7362
7395
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
@@ -7364,12 +7397,12 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7364
7397
|
const _component_ux_button = resolveComponent("ux-button");
|
|
7365
7398
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7366
7399
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
7367
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7400
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$s, [
|
|
7368
7401
|
createTextVNode(toDisplayString(_ctx.label) + " (" + toDisplayString($options.definitionTitle) + ") ", 1),
|
|
7369
7402
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$l, "*")) : createCommentVNode("", true)
|
|
7370
7403
|
])) : createCommentVNode("", true),
|
|
7371
7404
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$h, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
7372
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
7405
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$f, [
|
|
7373
7406
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
7374
7407
|
return openBlock(), createBlock(_component_flex_row, {
|
|
7375
7408
|
class: "ux-text-row",
|
|
@@ -7467,7 +7500,7 @@ const _sfc_main$x = {
|
|
|
7467
7500
|
}
|
|
7468
7501
|
}
|
|
7469
7502
|
};
|
|
7470
|
-
const _hoisted_1$
|
|
7503
|
+
const _hoisted_1$r = {
|
|
7471
7504
|
key: 0,
|
|
7472
7505
|
class: "ux-field-title"
|
|
7473
7506
|
};
|
|
@@ -7503,7 +7536,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7503
7536
|
createVNode(_component_flex_cell, { vcenter: "" }, {
|
|
7504
7537
|
default: withCtx(() => [
|
|
7505
7538
|
createElementVNode("div", null, [
|
|
7506
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7539
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$r, [
|
|
7507
7540
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
7508
7541
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$k, "*")) : createCommentVNode("", true)
|
|
7509
7542
|
])) : createCommentVNode("", true),
|
|
@@ -7552,7 +7585,7 @@ const _sfc_main$w = {
|
|
|
7552
7585
|
}
|
|
7553
7586
|
}
|
|
7554
7587
|
};
|
|
7555
|
-
const _hoisted_1$
|
|
7588
|
+
const _hoisted_1$q = ["multiple"];
|
|
7556
7589
|
const _hoisted_2$j = /* @__PURE__ */ createTextVNode("Select Files");
|
|
7557
7590
|
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7558
7591
|
const _component_ux_button = resolveComponent("ux-button");
|
|
@@ -7566,7 +7599,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7566
7599
|
type: "file",
|
|
7567
7600
|
multiple: $props.multiple,
|
|
7568
7601
|
onChange: _cache[0] || (_cache[0] = ($event) => $options.filesSelected($event.target.files))
|
|
7569
|
-
}, null, 40, _hoisted_1$
|
|
7602
|
+
}, null, 40, _hoisted_1$q),
|
|
7570
7603
|
createElementVNode("div", {
|
|
7571
7604
|
class: "file-drop-ux",
|
|
7572
7605
|
onClick: _cache[1] || (_cache[1] = (...args) => $options.clicked && $options.clicked(...args))
|
|
@@ -7715,7 +7748,7 @@ const _sfc_main$v = {
|
|
|
7715
7748
|
},
|
|
7716
7749
|
computed: {}
|
|
7717
7750
|
};
|
|
7718
|
-
const _hoisted_1$
|
|
7751
|
+
const _hoisted_1$p = {
|
|
7719
7752
|
key: 0,
|
|
7720
7753
|
class: "ux-field-title"
|
|
7721
7754
|
};
|
|
@@ -7727,13 +7760,13 @@ const _hoisted_3$f = {
|
|
|
7727
7760
|
key: 1,
|
|
7728
7761
|
class: "ux-field-description"
|
|
7729
7762
|
};
|
|
7730
|
-
const _hoisted_4$
|
|
7763
|
+
const _hoisted_4$e = {
|
|
7731
7764
|
key: 2,
|
|
7732
7765
|
class: "files"
|
|
7733
7766
|
};
|
|
7734
7767
|
const _hoisted_5$9 = { class: "size" };
|
|
7735
|
-
const _hoisted_6$
|
|
7736
|
-
const _hoisted_7$
|
|
7768
|
+
const _hoisted_6$8 = /* @__PURE__ */ createTextVNode("Select Files");
|
|
7769
|
+
const _hoisted_7$7 = /* @__PURE__ */ createTextVNode("Select File");
|
|
7737
7770
|
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7738
7771
|
const _component_progress_bar = resolveComponent("progress-bar");
|
|
7739
7772
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
@@ -7742,12 +7775,12 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7742
7775
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7743
7776
|
const _component_file_drop = resolveComponent("file-drop");
|
|
7744
7777
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
7745
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7778
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$p, [
|
|
7746
7779
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
7747
7780
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$i, "*")) : createCommentVNode("", true)
|
|
7748
7781
|
])) : createCommentVNode("", true),
|
|
7749
7782
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$f, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
7750
|
-
$data.files && $data.files.length ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
7783
|
+
$data.files && $data.files.length ? (openBlock(), createElementBlock("div", _hoisted_4$e, [
|
|
7751
7784
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.files, (file, index2) => {
|
|
7752
7785
|
return openBlock(), createElementBlock("div", {
|
|
7753
7786
|
class: "file-item",
|
|
@@ -7794,7 +7827,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7794
7827
|
default: withCtx(() => [
|
|
7795
7828
|
createVNode(_component_ux_button, null, {
|
|
7796
7829
|
default: withCtx(() => [
|
|
7797
|
-
_hoisted_6$
|
|
7830
|
+
_hoisted_6$8
|
|
7798
7831
|
]),
|
|
7799
7832
|
_: 1
|
|
7800
7833
|
})
|
|
@@ -7808,7 +7841,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7808
7841
|
default: withCtx(() => [
|
|
7809
7842
|
createVNode(_component_ux_button, null, {
|
|
7810
7843
|
default: withCtx(() => [
|
|
7811
|
-
_hoisted_7$
|
|
7844
|
+
_hoisted_7$7
|
|
7812
7845
|
]),
|
|
7813
7846
|
_: 1
|
|
7814
7847
|
})
|
|
@@ -7823,6 +7856,10 @@ const _sfc_main$u = {
|
|
|
7823
7856
|
mixins: [InputMixin],
|
|
7824
7857
|
components: { draggable: draggableComponent },
|
|
7825
7858
|
props: {
|
|
7859
|
+
submission: {
|
|
7860
|
+
type: Boolean,
|
|
7861
|
+
default: false
|
|
7862
|
+
},
|
|
7826
7863
|
modelValue: {
|
|
7827
7864
|
type: [Object, Array]
|
|
7828
7865
|
}
|
|
@@ -7890,7 +7927,7 @@ const _sfc_main$u = {
|
|
|
7890
7927
|
}
|
|
7891
7928
|
}
|
|
7892
7929
|
};
|
|
7893
|
-
const _hoisted_1$
|
|
7930
|
+
const _hoisted_1$o = {
|
|
7894
7931
|
key: 0,
|
|
7895
7932
|
class: "ux-multi-group"
|
|
7896
7933
|
};
|
|
@@ -7904,7 +7941,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7904
7941
|
const _component_ux_panel_body = resolveComponent("ux-panel-body");
|
|
7905
7942
|
const _component_ux_panel = resolveComponent("ux-panel");
|
|
7906
7943
|
const _component_draggable = resolveComponent("draggable");
|
|
7907
|
-
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7944
|
+
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
7908
7945
|
$options.reorderable ? (openBlock(), createBlock(_component_draggable, {
|
|
7909
7946
|
key: 0,
|
|
7910
7947
|
modelValue: _ctx.model,
|
|
@@ -7993,13 +8030,14 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7993
8030
|
default: withCtx(() => [
|
|
7994
8031
|
createVNode(_component_ux_form, {
|
|
7995
8032
|
ref: "form",
|
|
8033
|
+
submission: $props.submission,
|
|
7996
8034
|
"onForm:state": $options.stateChange,
|
|
7997
8035
|
parentModel: _ctx.parentModel,
|
|
7998
8036
|
modelValue: _ctx.model[index2],
|
|
7999
8037
|
"onUpdate:modelValue": ($event) => _ctx.model[index2] = $event,
|
|
8000
8038
|
flex: $options.sameLine,
|
|
8001
8039
|
fields: _ctx.field.fields
|
|
8002
|
-
}, null, 8, ["onForm:state", "parentModel", "modelValue", "onUpdate:modelValue", "flex", "fields"])
|
|
8040
|
+
}, null, 8, ["submission", "onForm:state", "parentModel", "modelValue", "onUpdate:modelValue", "flex", "fields"])
|
|
8003
8041
|
]),
|
|
8004
8042
|
_: 2
|
|
8005
8043
|
}, 1536), [
|
|
@@ -8094,13 +8132,14 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8094
8132
|
createVNode(_component_ux_form, {
|
|
8095
8133
|
ref_for: true,
|
|
8096
8134
|
ref: "form",
|
|
8135
|
+
submission: $props.submission,
|
|
8097
8136
|
"onForm:state": $options.stateChange,
|
|
8098
8137
|
parentModel: _ctx.parentModel,
|
|
8099
8138
|
modelValue: _ctx.model[index2],
|
|
8100
8139
|
"onUpdate:modelValue": ($event) => _ctx.model[index2] = $event,
|
|
8101
8140
|
flex: $options.sameLine,
|
|
8102
8141
|
fields: _ctx.field.fields
|
|
8103
|
-
}, null, 8, ["onForm:state", "parentModel", "modelValue", "onUpdate:modelValue", "flex", "fields"])
|
|
8142
|
+
}, null, 8, ["submission", "onForm:state", "parentModel", "modelValue", "onUpdate:modelValue", "flex", "fields"])
|
|
8104
8143
|
]),
|
|
8105
8144
|
_: 2
|
|
8106
8145
|
}, 1536), [
|
|
@@ -8126,15 +8165,16 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8126
8165
|
])) : (openBlock(), createBlock(_component_ux_form, {
|
|
8127
8166
|
key: 1,
|
|
8128
8167
|
ref: "form",
|
|
8168
|
+
submission: $props.submission,
|
|
8129
8169
|
"onForm:state": $options.stateChange,
|
|
8130
8170
|
parentModel: _ctx.parentModel,
|
|
8131
8171
|
modelValue: _ctx.model,
|
|
8132
8172
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => _ctx.model = $event),
|
|
8133
8173
|
flex: $options.sameLine,
|
|
8134
8174
|
fields: _ctx.field.fields
|
|
8135
|
-
}, null, 8, ["onForm:state", "parentModel", "modelValue", "flex", "fields"]));
|
|
8175
|
+
}, null, 8, ["submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"]));
|
|
8136
8176
|
}
|
|
8137
|
-
var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-
|
|
8177
|
+
var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-106e1cf4"]]);
|
|
8138
8178
|
const _sfc_main$t = {
|
|
8139
8179
|
props: {
|
|
8140
8180
|
option: {
|
|
@@ -8278,7 +8318,7 @@ const _sfc_main$s = {
|
|
|
8278
8318
|
}
|
|
8279
8319
|
}
|
|
8280
8320
|
};
|
|
8281
|
-
const _hoisted_1$
|
|
8321
|
+
const _hoisted_1$n = {
|
|
8282
8322
|
key: 0,
|
|
8283
8323
|
class: "ux-field-title"
|
|
8284
8324
|
};
|
|
@@ -8290,18 +8330,18 @@ const _hoisted_3$e = {
|
|
|
8290
8330
|
key: 1,
|
|
8291
8331
|
class: "ux-field-description"
|
|
8292
8332
|
};
|
|
8293
|
-
const _hoisted_4$
|
|
8333
|
+
const _hoisted_4$d = { class: "buttons" };
|
|
8294
8334
|
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8295
8335
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
8296
8336
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8297
8337
|
const _component_option_slot = resolveComponent("option-slot");
|
|
8298
8338
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8299
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8339
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$n, [
|
|
8300
8340
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8301
8341
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$h, "*")) : createCommentVNode("", true)
|
|
8302
8342
|
])) : createCommentVNode("", true),
|
|
8303
8343
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$e, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8304
|
-
createElementVNode("div", _hoisted_4$
|
|
8344
|
+
createElementVNode("div", _hoisted_4$d, [
|
|
8305
8345
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selectableOptions, (option2) => {
|
|
8306
8346
|
return openBlock(), createBlock(_component_option_slot, { option: option2 }, {
|
|
8307
8347
|
default: withCtx(({ plainValue }) => [
|
|
@@ -8341,7 +8381,7 @@ const _sfc_main$r = {
|
|
|
8341
8381
|
}
|
|
8342
8382
|
}
|
|
8343
8383
|
};
|
|
8344
|
-
const _hoisted_1$
|
|
8384
|
+
const _hoisted_1$m = {
|
|
8345
8385
|
key: 0,
|
|
8346
8386
|
class: "ux-field-title"
|
|
8347
8387
|
};
|
|
@@ -8353,7 +8393,7 @@ const _hoisted_3$d = {
|
|
|
8353
8393
|
key: 1,
|
|
8354
8394
|
class: "ux-field-description"
|
|
8355
8395
|
};
|
|
8356
|
-
const _hoisted_4$
|
|
8396
|
+
const _hoisted_4$c = { key: 2 };
|
|
8357
8397
|
const _hoisted_5$8 = { key: 3 };
|
|
8358
8398
|
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8359
8399
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
@@ -8361,12 +8401,12 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8361
8401
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8362
8402
|
const _component_flex_row = resolveComponent("flex-row");
|
|
8363
8403
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8364
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8404
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$m, [
|
|
8365
8405
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8366
8406
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$g, "*")) : createCommentVNode("", true)
|
|
8367
8407
|
])) : createCommentVNode("", true),
|
|
8368
8408
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$d, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8369
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
8409
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
|
|
8370
8410
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
8371
8411
|
return openBlock(), createBlock(_component_flex_row, {
|
|
8372
8412
|
class: "ux-text-row",
|
|
@@ -8514,8 +8554,8 @@ const _sfc_main$q = {
|
|
|
8514
8554
|
}
|
|
8515
8555
|
}
|
|
8516
8556
|
};
|
|
8517
|
-
const _withScopeId$
|
|
8518
|
-
const _hoisted_1$
|
|
8557
|
+
const _withScopeId$2 = (n2) => (pushScopeId("data-v-42a51394"), n2 = n2(), popScopeId(), n2);
|
|
8558
|
+
const _hoisted_1$l = {
|
|
8519
8559
|
key: 0,
|
|
8520
8560
|
class: "ux-field-title"
|
|
8521
8561
|
};
|
|
@@ -8527,31 +8567,31 @@ const _hoisted_3$c = {
|
|
|
8527
8567
|
key: 1,
|
|
8528
8568
|
class: "ux-field-description"
|
|
8529
8569
|
};
|
|
8530
|
-
const _hoisted_4$
|
|
8570
|
+
const _hoisted_4$b = { key: 2 };
|
|
8531
8571
|
const _hoisted_5$7 = { class: "ux-text-wrap prefixed" };
|
|
8532
|
-
const _hoisted_6$
|
|
8533
|
-
const _hoisted_7$
|
|
8534
|
-
const _hoisted_8$
|
|
8535
|
-
const _hoisted_9$
|
|
8536
|
-
const _hoisted_10$
|
|
8572
|
+
const _hoisted_6$7 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
|
|
8573
|
+
const _hoisted_7$6 = ["onBlur", "onUpdate:modelValue"];
|
|
8574
|
+
const _hoisted_8$3 = ["onBlur", "onUpdate:modelValue"];
|
|
8575
|
+
const _hoisted_9$2 = { class: "ux-text-wrap prefixed" };
|
|
8576
|
+
const _hoisted_10$2 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Value", -1));
|
|
8537
8577
|
const _hoisted_11$1 = ["onFocus", "onUpdate:modelValue"];
|
|
8538
8578
|
const _hoisted_12$1 = ["onFocus", "onUpdate:modelValue"];
|
|
8539
8579
|
const _hoisted_13 = { class: "ux-text-wrap prefixed" };
|
|
8540
|
-
const _hoisted_14 = /* @__PURE__ */ _withScopeId$
|
|
8580
|
+
const _hoisted_14 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
|
|
8541
8581
|
const _hoisted_15 = { class: "ux-text-wrap prefixed" };
|
|
8542
|
-
const _hoisted_16 = /* @__PURE__ */ _withScopeId$
|
|
8582
|
+
const _hoisted_16 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Value", -1));
|
|
8543
8583
|
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8544
8584
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
8545
8585
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
8546
8586
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8547
8587
|
const _component_flex_row = resolveComponent("flex-row");
|
|
8548
8588
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8549
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8589
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$l, [
|
|
8550
8590
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8551
8591
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$f, "*")) : createCommentVNode("", true)
|
|
8552
8592
|
])) : createCommentVNode("", true),
|
|
8553
8593
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$c, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8554
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
8594
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
|
|
8555
8595
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
8556
8596
|
return openBlock(), createBlock(_component_flex_row, {
|
|
8557
8597
|
class: "ux-text-row",
|
|
@@ -8561,7 +8601,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8561
8601
|
createVNode(_component_flex_cell, null, {
|
|
8562
8602
|
default: withCtx(() => [
|
|
8563
8603
|
createElementVNode("div", _hoisted_5$7, [
|
|
8564
|
-
_hoisted_6$
|
|
8604
|
+
_hoisted_6$7,
|
|
8565
8605
|
$options.lazy ? withDirectives((openBlock(), createElementBlock("input", {
|
|
8566
8606
|
key: 0,
|
|
8567
8607
|
class: "ux-field-focus ux-text-input-multiple",
|
|
@@ -8572,7 +8612,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8572
8612
|
onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
|
|
8573
8613
|
onBlur: ($event) => $options.titleBlurred(index2),
|
|
8574
8614
|
"onUpdate:modelValue": [($event) => $options.entryTitleChanged(index2), ($event) => _ctx.model[index2].title = $event]
|
|
8575
|
-
}, null, 40, _hoisted_7$
|
|
8615
|
+
}, null, 40, _hoisted_7$6)), [
|
|
8576
8616
|
[
|
|
8577
8617
|
vModelText,
|
|
8578
8618
|
_ctx.model[index2].title,
|
|
@@ -8590,7 +8630,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8590
8630
|
onKeydown: _cache[3] || (_cache[3] = withKeys(withModifiers(($event) => _ctx.add(), ["stop", "prevent"]), ["enter"])),
|
|
8591
8631
|
onBlur: ($event) => $options.titleBlurred(index2),
|
|
8592
8632
|
"onUpdate:modelValue": [($event) => $options.entryTitleChanged(index2), ($event) => _ctx.model[index2].title = $event]
|
|
8593
|
-
}, null, 40, _hoisted_8$
|
|
8633
|
+
}, null, 40, _hoisted_8$3)), [
|
|
8594
8634
|
[vModelText, _ctx.model[index2].title]
|
|
8595
8635
|
]) : createCommentVNode("", true)
|
|
8596
8636
|
])
|
|
@@ -8599,8 +8639,8 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8599
8639
|
}, 1024),
|
|
8600
8640
|
createVNode(_component_flex_cell, null, {
|
|
8601
8641
|
default: withCtx(() => [
|
|
8602
|
-
createElementVNode("div", _hoisted_9$
|
|
8603
|
-
_hoisted_10$
|
|
8642
|
+
createElementVNode("div", _hoisted_9$2, [
|
|
8643
|
+
_hoisted_10$2,
|
|
8604
8644
|
$options.lazy ? withDirectives((openBlock(), createElementBlock("input", {
|
|
8605
8645
|
key: 0,
|
|
8606
8646
|
class: "ux-field-focus ux-text-input-multiple",
|
|
@@ -8837,7 +8877,7 @@ const _sfc_main$o = {
|
|
|
8837
8877
|
}
|
|
8838
8878
|
}
|
|
8839
8879
|
};
|
|
8840
|
-
const _hoisted_1$
|
|
8880
|
+
const _hoisted_1$k = {
|
|
8841
8881
|
key: 0,
|
|
8842
8882
|
class: "ux-field-title"
|
|
8843
8883
|
};
|
|
@@ -8849,9 +8889,9 @@ const _hoisted_3$b = {
|
|
|
8849
8889
|
key: 1,
|
|
8850
8890
|
class: "ux-field-description"
|
|
8851
8891
|
};
|
|
8852
|
-
const _hoisted_4$
|
|
8892
|
+
const _hoisted_4$a = { key: 2 };
|
|
8853
8893
|
const _hoisted_5$6 = { class: "code-editor-field-wrap" };
|
|
8854
|
-
const _hoisted_6$
|
|
8894
|
+
const _hoisted_6$6 = {
|
|
8855
8895
|
key: 3,
|
|
8856
8896
|
class: "code-editor-field-wrap"
|
|
8857
8897
|
};
|
|
@@ -8862,12 +8902,12 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8862
8902
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8863
8903
|
const _component_flex_row = resolveComponent("flex-row");
|
|
8864
8904
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8865
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8905
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$k, [
|
|
8866
8906
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8867
8907
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$e, "*")) : createCommentVNode("", true)
|
|
8868
8908
|
])) : createCommentVNode("", true),
|
|
8869
8909
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$b, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8870
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
8910
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
|
|
8871
8911
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
8872
8912
|
return openBlock(), createBlock(_component_flex_row, {
|
|
8873
8913
|
class: "ux-text-row",
|
|
@@ -8922,7 +8962,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8922
8962
|
]),
|
|
8923
8963
|
_: 1
|
|
8924
8964
|
})) : createCommentVNode("", true)
|
|
8925
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_6$
|
|
8965
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_6$6, [
|
|
8926
8966
|
createVNode(_component_code_editor, {
|
|
8927
8967
|
lang: $options.syntax,
|
|
8928
8968
|
class: "ux-code-editor ux-field-focus ux-text-area-single",
|
|
@@ -9057,7 +9097,7 @@ const _sfc_main$n = {
|
|
|
9057
9097
|
}
|
|
9058
9098
|
}
|
|
9059
9099
|
};
|
|
9060
|
-
const _hoisted_1$
|
|
9100
|
+
const _hoisted_1$j = {
|
|
9061
9101
|
key: 0,
|
|
9062
9102
|
class: "ux-field-title"
|
|
9063
9103
|
};
|
|
@@ -9069,27 +9109,27 @@ const _hoisted_3$a = {
|
|
|
9069
9109
|
key: 1,
|
|
9070
9110
|
class: "ux-field-description"
|
|
9071
9111
|
};
|
|
9072
|
-
const _hoisted_4$
|
|
9112
|
+
const _hoisted_4$9 = {
|
|
9073
9113
|
key: 2,
|
|
9074
9114
|
class: "ui-select-button"
|
|
9075
9115
|
};
|
|
9076
9116
|
const _hoisted_5$5 = ["multiple"];
|
|
9077
|
-
const _hoisted_6$
|
|
9117
|
+
const _hoisted_6$5 = {
|
|
9078
9118
|
key: 0,
|
|
9079
9119
|
value: ""
|
|
9080
9120
|
};
|
|
9081
|
-
const _hoisted_7$
|
|
9121
|
+
const _hoisted_7$5 = ["value"];
|
|
9082
9122
|
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9083
9123
|
const _component_ux_button = resolveComponent("ux-button");
|
|
9084
9124
|
return openBlock(), createElementBlock("div", {
|
|
9085
9125
|
class: normalizeClass(["native-select", $options.classes])
|
|
9086
9126
|
}, [
|
|
9087
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
9127
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$j, [
|
|
9088
9128
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
9089
9129
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$d, "*")) : createCommentVNode("", true)
|
|
9090
9130
|
])) : createCommentVNode("", true),
|
|
9091
9131
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$a, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
9092
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
9132
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$9, [
|
|
9093
9133
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
9094
9134
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
9095
9135
|
default: withCtx(() => [
|
|
@@ -9104,11 +9144,11 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9104
9144
|
multiple: _ctx.multiValue,
|
|
9105
9145
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
|
|
9106
9146
|
}, [
|
|
9107
|
-
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$
|
|
9147
|
+
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$5, "None")) : createCommentVNode("", true),
|
|
9108
9148
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
9109
9149
|
return openBlock(), createElementBlock("option", {
|
|
9110
9150
|
value: option2.value
|
|
9111
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
9151
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$5);
|
|
9112
9152
|
}), 256))
|
|
9113
9153
|
], 40, _hoisted_5$5), [
|
|
9114
9154
|
[vModelSelect, _ctx.model]
|
|
@@ -9223,7 +9263,7 @@ const _sfc_main$m = {
|
|
|
9223
9263
|
}
|
|
9224
9264
|
}
|
|
9225
9265
|
};
|
|
9226
|
-
const _hoisted_1$
|
|
9266
|
+
const _hoisted_1$i = {
|
|
9227
9267
|
key: 0,
|
|
9228
9268
|
class: "ux-field-title"
|
|
9229
9269
|
};
|
|
@@ -9235,27 +9275,27 @@ const _hoisted_3$9 = {
|
|
|
9235
9275
|
key: 1,
|
|
9236
9276
|
class: "ux-field-description"
|
|
9237
9277
|
};
|
|
9238
|
-
const _hoisted_4$
|
|
9278
|
+
const _hoisted_4$8 = {
|
|
9239
9279
|
key: 2,
|
|
9240
9280
|
class: "ui-select-button"
|
|
9241
9281
|
};
|
|
9242
9282
|
const _hoisted_5$4 = ["multiple"];
|
|
9243
|
-
const _hoisted_6$
|
|
9283
|
+
const _hoisted_6$4 = {
|
|
9244
9284
|
key: 0,
|
|
9245
9285
|
value: ""
|
|
9246
9286
|
};
|
|
9247
|
-
const _hoisted_7$
|
|
9287
|
+
const _hoisted_7$4 = ["value"];
|
|
9248
9288
|
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9249
9289
|
const _component_ux_button = resolveComponent("ux-button");
|
|
9250
9290
|
return openBlock(), createElementBlock("div", {
|
|
9251
9291
|
class: normalizeClass(["native-select", $options.classes])
|
|
9252
9292
|
}, [
|
|
9253
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
9293
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$i, [
|
|
9254
9294
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
9255
9295
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$c, "*")) : createCommentVNode("", true)
|
|
9256
9296
|
])) : createCommentVNode("", true),
|
|
9257
9297
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$9, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
9258
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
9298
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
|
|
9259
9299
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
9260
9300
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
9261
9301
|
default: withCtx(() => [
|
|
@@ -9270,11 +9310,11 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9270
9310
|
multiple: _ctx.multiValue,
|
|
9271
9311
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
|
|
9272
9312
|
}, [
|
|
9273
|
-
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$
|
|
9313
|
+
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$4, "None")) : createCommentVNode("", true),
|
|
9274
9314
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
9275
9315
|
return openBlock(), createElementBlock("option", {
|
|
9276
9316
|
value: option2.value
|
|
9277
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
9317
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$4);
|
|
9278
9318
|
}), 256))
|
|
9279
9319
|
], 40, _hoisted_5$4), [
|
|
9280
9320
|
[vModelSelect, _ctx.model]
|
|
@@ -9917,7 +9957,10 @@ function getDefaultValue(fieldData, currentValue) {
|
|
|
9917
9957
|
var ask = parseInt(fieldData.ask || 0);
|
|
9918
9958
|
ask = Math.max(ask, minimum);
|
|
9919
9959
|
ask = maximum ? Math.min(ask, maximum) : ask;
|
|
9920
|
-
var singleValue = maximum
|
|
9960
|
+
var singleValue = maximum === 1;
|
|
9961
|
+
if (fieldData.asObject && fieldData.type === "group") {
|
|
9962
|
+
singleValue = maximum === minimum === 1;
|
|
9963
|
+
}
|
|
9921
9964
|
var multiValue = !singleValue;
|
|
9922
9965
|
var defaultValues = (fieldData.type === "reference" ? fieldData.defaultReferences : fieldData.defaultValues) || [];
|
|
9923
9966
|
var firstDefaultValue = defaultValues[0];
|
|
@@ -10195,12 +10238,12 @@ const _sfc_main$l = {
|
|
|
10195
10238
|
this.fieldModel = this.getExpressionValue;
|
|
10196
10239
|
}
|
|
10197
10240
|
},
|
|
10198
|
-
reset() {
|
|
10199
|
-
this.touched = false;
|
|
10200
|
-
},
|
|
10201
10241
|
touch() {
|
|
10202
10242
|
this.touched = true;
|
|
10203
10243
|
},
|
|
10244
|
+
reset() {
|
|
10245
|
+
this.touched = false;
|
|
10246
|
+
},
|
|
10204
10247
|
cleanInput(val) {
|
|
10205
10248
|
return this.fieldCleanInput(val);
|
|
10206
10249
|
},
|
|
@@ -10291,7 +10334,10 @@ const _sfc_main$l = {
|
|
|
10291
10334
|
},
|
|
10292
10335
|
computed: {
|
|
10293
10336
|
fieldDefaultValue() {
|
|
10294
|
-
|
|
10337
|
+
var expressionDefaultValue = this.expressions && this.expressions.defaultValue ? this.getExpressionDefaultValue : void 0;
|
|
10338
|
+
var normalDefaultValue = getDefaultValue(this.actualField);
|
|
10339
|
+
var defaultValue = this.cleanInput(expressionDefaultValue || normalDefaultValue);
|
|
10340
|
+
return defaultValue;
|
|
10295
10341
|
},
|
|
10296
10342
|
title() {
|
|
10297
10343
|
return this.field.title;
|
|
@@ -10514,7 +10560,7 @@ const _sfc_main$l = {
|
|
|
10514
10560
|
}
|
|
10515
10561
|
}
|
|
10516
10562
|
};
|
|
10517
|
-
const _hoisted_1$
|
|
10563
|
+
const _hoisted_1$h = {
|
|
10518
10564
|
key: 24,
|
|
10519
10565
|
class: "ux-field-message"
|
|
10520
10566
|
};
|
|
@@ -10736,10 +10782,10 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10736
10782
|
]),
|
|
10737
10783
|
_: 1
|
|
10738
10784
|
})) : createCommentVNode("", true),
|
|
10739
|
-
$options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10785
|
+
$options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$h, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
|
|
10740
10786
|
], 34)) : createCommentVNode("", true);
|
|
10741
10787
|
}
|
|
10742
|
-
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-
|
|
10788
|
+
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-3e31f9aa"]]);
|
|
10743
10789
|
var form_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10744
10790
|
const _sfc_main$k = {
|
|
10745
10791
|
props: {
|
|
@@ -10790,7 +10836,20 @@ const _sfc_main$k = {
|
|
|
10790
10836
|
this.mounted = false;
|
|
10791
10837
|
},
|
|
10792
10838
|
methods: {
|
|
10839
|
+
touch() {
|
|
10840
|
+
this.childFields.forEach(function(field) {
|
|
10841
|
+
field.touch();
|
|
10842
|
+
});
|
|
10843
|
+
this.touched = true;
|
|
10844
|
+
},
|
|
10793
10845
|
reset() {
|
|
10846
|
+
this.childFields.forEach(function(field) {
|
|
10847
|
+
field.reset();
|
|
10848
|
+
});
|
|
10849
|
+
this.touched = false;
|
|
10850
|
+
},
|
|
10851
|
+
validate() {
|
|
10852
|
+
console.log("VALIDATE FORM");
|
|
10794
10853
|
},
|
|
10795
10854
|
fieldUnmounted(field) {
|
|
10796
10855
|
this.fieldStateChange(field, "unmount");
|
|
@@ -10845,7 +10904,8 @@ const _sfc_main$k = {
|
|
|
10845
10904
|
invalid = true;
|
|
10846
10905
|
invalidFields.push({
|
|
10847
10906
|
title: field.field.title,
|
|
10848
|
-
key: field.field.key
|
|
10907
|
+
key: field.field.key,
|
|
10908
|
+
message: field.invalidMessage
|
|
10849
10909
|
});
|
|
10850
10910
|
}
|
|
10851
10911
|
if (field.error) {
|
|
@@ -10988,37 +11048,62 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10988
11048
|
], true)
|
|
10989
11049
|
], 2);
|
|
10990
11050
|
}
|
|
10991
|
-
var UXForm = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-
|
|
11051
|
+
var UXForm = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-30496a0c"]]);
|
|
11052
|
+
var submissionform_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10992
11053
|
const STATE_READY = "form.ready";
|
|
10993
11054
|
const STATE_PROCESSING = "form.processing";
|
|
10994
11055
|
const STATE_COMPLETE = "form.complete";
|
|
10995
11056
|
const STATE_ERROR = "form.error";
|
|
10996
11057
|
const _sfc_main$j = {
|
|
10997
11058
|
methods: {
|
|
11059
|
+
formStateUpdated(state) {
|
|
11060
|
+
this.formState = state;
|
|
11061
|
+
},
|
|
10998
11062
|
softReset() {
|
|
10999
11063
|
this.state = STATE_READY;
|
|
11000
11064
|
},
|
|
11065
|
+
touch() {
|
|
11066
|
+
if (this.$refs.form) {
|
|
11067
|
+
this.$refs.form.touch();
|
|
11068
|
+
}
|
|
11069
|
+
},
|
|
11070
|
+
untouch() {
|
|
11071
|
+
if (this.$refs.form) {
|
|
11072
|
+
this.$refs.form.reset();
|
|
11073
|
+
}
|
|
11074
|
+
},
|
|
11001
11075
|
reset() {
|
|
11002
11076
|
this.model = {};
|
|
11077
|
+
this.untouch();
|
|
11003
11078
|
this.state = STATE_READY;
|
|
11004
11079
|
this.error = null;
|
|
11080
|
+
this.submitAttempted = false;
|
|
11005
11081
|
},
|
|
11006
11082
|
async submit() {
|
|
11007
11083
|
const self2 = this;
|
|
11084
|
+
self2.touch();
|
|
11085
|
+
if (!self2.submitAttempted) {
|
|
11086
|
+
self2.submitAttempted = true;
|
|
11087
|
+
self2.touch();
|
|
11088
|
+
}
|
|
11089
|
+
if (self2.buttonDisabled) {
|
|
11090
|
+
console.log("Form is invalid", this.formState);
|
|
11091
|
+
return;
|
|
11092
|
+
}
|
|
11008
11093
|
self2.state = STATE_PROCESSING;
|
|
11009
11094
|
await self2.preSubmit();
|
|
11010
11095
|
const submission = JSON.parse(JSON.stringify(self2.model));
|
|
11011
|
-
|
|
11012
|
-
|
|
11013
|
-
|
|
11014
|
-
|
|
11015
|
-
|
|
11016
|
-
|
|
11017
|
-
|
|
11018
|
-
|
|
11019
|
-
|
|
11020
|
-
|
|
11021
|
-
|
|
11096
|
+
self2.$qik.api.post(`/form/${self2.formID}`, submission).then(submissionComplete, submissionFailed);
|
|
11097
|
+
async function submissionComplete(res) {
|
|
11098
|
+
await self2.postSubmit();
|
|
11099
|
+
self2.state = STATE_COMPLETE;
|
|
11100
|
+
}
|
|
11101
|
+
async function submissionFailed(err) {
|
|
11102
|
+
var _a;
|
|
11103
|
+
err = ((_a = err.response) == null ? void 0 : _a.data) || err;
|
|
11104
|
+
self2.error = err;
|
|
11105
|
+
self2.state = STATE_ERROR;
|
|
11106
|
+
}
|
|
11022
11107
|
},
|
|
11023
11108
|
async preSubmit() {
|
|
11024
11109
|
},
|
|
@@ -11047,6 +11132,8 @@ const _sfc_main$j = {
|
|
|
11047
11132
|
},
|
|
11048
11133
|
data() {
|
|
11049
11134
|
return {
|
|
11135
|
+
submitAttempted: false,
|
|
11136
|
+
formState: null,
|
|
11050
11137
|
state: STATE_READY,
|
|
11051
11138
|
mounted: false,
|
|
11052
11139
|
model: this.modelValue,
|
|
@@ -11060,6 +11147,16 @@ const _sfc_main$j = {
|
|
|
11060
11147
|
this.mounted = false;
|
|
11061
11148
|
},
|
|
11062
11149
|
computed: {
|
|
11150
|
+
tooltip() {
|
|
11151
|
+
return this.buttonDisabled ? "Please check the errors in your form" : void 0;
|
|
11152
|
+
},
|
|
11153
|
+
buttonDisabled() {
|
|
11154
|
+
return this.submitAttempted && this.invalid;
|
|
11155
|
+
},
|
|
11156
|
+
invalid() {
|
|
11157
|
+
var _a;
|
|
11158
|
+
return (_a = this.formState) == null ? void 0 : _a.invalid;
|
|
11159
|
+
},
|
|
11063
11160
|
formID() {
|
|
11064
11161
|
return this.$qik.utils.id(this.form);
|
|
11065
11162
|
},
|
|
@@ -11068,52 +11165,80 @@ const _sfc_main$j = {
|
|
|
11068
11165
|
}
|
|
11069
11166
|
}
|
|
11070
11167
|
};
|
|
11071
|
-
const
|
|
11072
|
-
const
|
|
11073
|
-
const
|
|
11074
|
-
const
|
|
11075
|
-
const
|
|
11168
|
+
const _withScopeId$1 = (n2) => (pushScopeId("data-v-227974b0"), n2 = n2(), popScopeId(), n2);
|
|
11169
|
+
const _hoisted_1$g = { class: "ux-submission-form" };
|
|
11170
|
+
const _hoisted_2$b = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("h3", null, "An error occurred", -1));
|
|
11171
|
+
const _hoisted_3$8 = { key: 0 };
|
|
11172
|
+
const _hoisted_4$7 = { key: 1 };
|
|
11173
|
+
const _hoisted_5$3 = { key: 2 };
|
|
11174
|
+
const _hoisted_6$3 = /* @__PURE__ */ createTextVNode(" Try again ");
|
|
11175
|
+
const _hoisted_7$3 = /* @__PURE__ */ createTextVNode(" Complete! ");
|
|
11176
|
+
const _hoisted_8$2 = /* @__PURE__ */ createTextVNode(" Back to form ");
|
|
11177
|
+
const _hoisted_9$1 = ["tooltip"];
|
|
11178
|
+
const _hoisted_10$1 = /* @__PURE__ */ createTextVNode(" Submit ");
|
|
11076
11179
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11180
|
+
var _a;
|
|
11181
|
+
const _component_ux_icon = resolveComponent("ux-icon");
|
|
11077
11182
|
const _component_ux_button = resolveComponent("ux-button");
|
|
11078
11183
|
const _component_ux_form = resolveComponent("ux-form");
|
|
11079
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11184
|
+
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
11080
11185
|
$data.state === "form.error" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11081
|
-
|
|
11082
|
-
|
|
11186
|
+
_hoisted_2$b,
|
|
11187
|
+
$data.error.message ? (openBlock(), createElementBlock("pre", _hoisted_3$8, toDisplayString($data.error.message), 1)) : createCommentVNode("", true),
|
|
11188
|
+
((_a = $data.error.data) == null ? void 0 : _a.errors) ? (openBlock(), createElementBlock("div", _hoisted_4$7, [
|
|
11189
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.error.data.errors, (field) => {
|
|
11190
|
+
return openBlock(), createElementBlock("pre", {
|
|
11191
|
+
key: field.path
|
|
11192
|
+
}, toDisplayString(field.message), 1);
|
|
11193
|
+
}), 128))
|
|
11194
|
+
])) : (openBlock(), createElementBlock("pre", _hoisted_5$3, toDisplayString($data.error), 1)),
|
|
11195
|
+
createVNode(_component_ux_button, {
|
|
11196
|
+
color: "primary",
|
|
11197
|
+
onClick: $options.softReset
|
|
11198
|
+
}, {
|
|
11083
11199
|
default: withCtx(() => [
|
|
11084
|
-
|
|
11200
|
+
_hoisted_6$3,
|
|
11201
|
+
createVNode(_component_ux_icon, {
|
|
11202
|
+
right: "",
|
|
11203
|
+
icon: "fa-undo"
|
|
11204
|
+
})
|
|
11085
11205
|
]),
|
|
11086
11206
|
_: 1
|
|
11087
11207
|
}, 8, ["onClick"])
|
|
11088
11208
|
], 64)) : $data.state === "form.complete" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
11089
|
-
|
|
11209
|
+
_hoisted_7$3,
|
|
11090
11210
|
createVNode(_component_ux_button, { onClick: $options.reset }, {
|
|
11091
11211
|
default: withCtx(() => [
|
|
11092
|
-
|
|
11212
|
+
_hoisted_8$2
|
|
11093
11213
|
]),
|
|
11094
11214
|
_: 1
|
|
11095
11215
|
}, 8, ["onClick"])
|
|
11096
11216
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
11097
11217
|
createVNode(_component_ux_form, {
|
|
11098
11218
|
submission: "",
|
|
11219
|
+
ref: "form",
|
|
11099
11220
|
modelValue: $data.model,
|
|
11100
11221
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model = $event),
|
|
11222
|
+
"onForm:state": $options.formStateUpdated,
|
|
11101
11223
|
fields: $options.fields
|
|
11102
|
-
}, null, 8, ["modelValue", "fields"]),
|
|
11103
|
-
|
|
11104
|
-
|
|
11105
|
-
|
|
11106
|
-
|
|
11107
|
-
|
|
11108
|
-
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
11224
|
+
}, null, 8, ["modelValue", "onForm:state", "fields"]),
|
|
11225
|
+
createElementVNode("span", { tooltip: $options.tooltip }, [
|
|
11226
|
+
createVNode(_component_ux_button, {
|
|
11227
|
+
disabled: $options.buttonDisabled,
|
|
11228
|
+
color: "primary",
|
|
11229
|
+
onClick: $options.submit,
|
|
11230
|
+
loading: $data.state === "form.processing"
|
|
11231
|
+
}, {
|
|
11232
|
+
default: withCtx(() => [
|
|
11233
|
+
_hoisted_10$1
|
|
11234
|
+
]),
|
|
11235
|
+
_: 1
|
|
11236
|
+
}, 8, ["disabled", "onClick", "loading"])
|
|
11237
|
+
], 8, _hoisted_9$1)
|
|
11113
11238
|
], 64))
|
|
11114
11239
|
]);
|
|
11115
11240
|
}
|
|
11116
|
-
var UXSubmissionForm = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j]]);
|
|
11241
|
+
var UXSubmissionForm = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-227974b0"]]);
|
|
11117
11242
|
var search_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11118
11243
|
const _sfc_main$i = {
|
|
11119
11244
|
props: {
|
|
@@ -11180,11 +11305,11 @@ const _sfc_main$i = {
|
|
|
11180
11305
|
}
|
|
11181
11306
|
}
|
|
11182
11307
|
};
|
|
11183
|
-
const _hoisted_1$
|
|
11308
|
+
const _hoisted_1$f = { class: "search" };
|
|
11184
11309
|
const _hoisted_2$a = ["placeholder"];
|
|
11185
11310
|
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11186
11311
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
11187
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11312
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
11188
11313
|
withDirectives(createElementVNode("input", {
|
|
11189
11314
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.model = $event),
|
|
11190
11315
|
placeholder: $props.placeholder
|
|
@@ -11239,10 +11364,18 @@ var RenderMixin = {
|
|
|
11239
11364
|
return this.field.description;
|
|
11240
11365
|
},
|
|
11241
11366
|
singleValue() {
|
|
11242
|
-
|
|
11367
|
+
if (this.asObject) {
|
|
11368
|
+
var isSingle = this.minimum === 1 && this.maximum === 1;
|
|
11369
|
+
return isSingle;
|
|
11370
|
+
} else {
|
|
11371
|
+
return this.maximum === 1;
|
|
11372
|
+
}
|
|
11373
|
+
},
|
|
11374
|
+
type() {
|
|
11375
|
+
return this.field.type || "string";
|
|
11243
11376
|
},
|
|
11244
11377
|
multiValue() {
|
|
11245
|
-
return this.
|
|
11378
|
+
return !this.singleValue;
|
|
11246
11379
|
},
|
|
11247
11380
|
key() {
|
|
11248
11381
|
return this.field.key;
|
|
@@ -11325,7 +11458,7 @@ const _sfc_main$h = {
|
|
|
11325
11458
|
}
|
|
11326
11459
|
}
|
|
11327
11460
|
};
|
|
11328
|
-
const _hoisted_1$
|
|
11461
|
+
const _hoisted_1$e = {
|
|
11329
11462
|
key: 0,
|
|
11330
11463
|
class: "ux-multi-group"
|
|
11331
11464
|
};
|
|
@@ -11336,7 +11469,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11336
11469
|
const _component_ux_render = resolveComponent("ux-render");
|
|
11337
11470
|
const _component_ux_panel_body = resolveComponent("ux-panel-body");
|
|
11338
11471
|
const _component_ux_panel = resolveComponent("ux-panel");
|
|
11339
|
-
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
11472
|
+
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
11340
11473
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
11341
11474
|
return openBlock(), createBlock(_component_ux_panel, {
|
|
11342
11475
|
ref_for: true,
|
|
@@ -11389,7 +11522,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11389
11522
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model = $event)
|
|
11390
11523
|
}, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue"]));
|
|
11391
11524
|
}
|
|
11392
|
-
var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-
|
|
11525
|
+
var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-5d97d5ca"]]);
|
|
11393
11526
|
var field_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11394
11527
|
const _sfc_main$g = {
|
|
11395
11528
|
components: {
|
|
@@ -11581,10 +11714,10 @@ const _sfc_main$g = {
|
|
|
11581
11714
|
}
|
|
11582
11715
|
}
|
|
11583
11716
|
};
|
|
11584
|
-
const _hoisted_1$
|
|
11717
|
+
const _hoisted_1$d = { class: "ux-field-title" };
|
|
11585
11718
|
const _hoisted_2$9 = { class: "ux-field-description" };
|
|
11586
11719
|
const _hoisted_3$7 = { key: 1 };
|
|
11587
|
-
const _hoisted_4$
|
|
11720
|
+
const _hoisted_4$6 = { key: 1 };
|
|
11588
11721
|
const _hoisted_5$2 = { key: 1 };
|
|
11589
11722
|
const _hoisted_6$2 = ["href"];
|
|
11590
11723
|
const _hoisted_7$2 = { key: 1 };
|
|
@@ -11600,7 +11733,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11600
11733
|
key: 0,
|
|
11601
11734
|
class: normalizeClass(["ux-field-render", $options.classes])
|
|
11602
11735
|
}, [
|
|
11603
|
-
createElementVNode("label", _hoisted_1$
|
|
11736
|
+
createElementVNode("label", _hoisted_1$d, toDisplayString($options.title), 1),
|
|
11604
11737
|
createElementVNode("div", _hoisted_2$9, toDisplayString($props.field.description), 1),
|
|
11605
11738
|
$options.widget === "group" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11606
11739
|
$options.asObject ? (openBlock(), createBlock(_component_field_group, {
|
|
@@ -11647,7 +11780,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11647
11780
|
$options.type == "boolean" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
11648
11781
|
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
11649
11782
|
return openBlock(), createElementBlock("div", null, toDisplayString(!!value), 1);
|
|
11650
|
-
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
11783
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$6, toDisplayString(!!$options.fieldModel), 1))
|
|
11651
11784
|
], 64)) : createCommentVNode("", true),
|
|
11652
11785
|
$options.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
11653
11786
|
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
@@ -11684,7 +11817,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11684
11817
|
], 64))
|
|
11685
11818
|
], 2)) : createCommentVNode("", true);
|
|
11686
11819
|
}
|
|
11687
|
-
var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-
|
|
11820
|
+
var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-05569ffc"]]);
|
|
11688
11821
|
var render_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11689
11822
|
const _sfc_main$f = {
|
|
11690
11823
|
props: {
|
|
@@ -12178,11 +12311,11 @@ const _sfc_main$e = {
|
|
|
12178
12311
|
}
|
|
12179
12312
|
}
|
|
12180
12313
|
};
|
|
12181
|
-
const _hoisted_1$
|
|
12314
|
+
const _hoisted_1$c = { class: "table-image-cell" };
|
|
12182
12315
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12183
12316
|
const _component_ux_image = resolveComponent("ux-image");
|
|
12184
12317
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
12185
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
12318
|
+
return openBlock(), createElementBlock("td", _hoisted_1$c, [
|
|
12186
12319
|
$options.type == "image" || $options.type == "video" ? (openBlock(), createBlock(_component_ux_image, {
|
|
12187
12320
|
key: 0,
|
|
12188
12321
|
item: _ctx.row,
|
|
@@ -12220,11 +12353,11 @@ const _sfc_main$d = {
|
|
|
12220
12353
|
}
|
|
12221
12354
|
}
|
|
12222
12355
|
};
|
|
12223
|
-
const _hoisted_1$
|
|
12356
|
+
const _hoisted_1$b = { class: "table-button-cell" };
|
|
12224
12357
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12225
12358
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
12226
12359
|
const _component_ux_button = resolveComponent("ux-button");
|
|
12227
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
12360
|
+
return openBlock(), createElementBlock("td", _hoisted_1$b, [
|
|
12228
12361
|
createVNode(_component_ux_button, {
|
|
12229
12362
|
size: $options.button.size,
|
|
12230
12363
|
loading: $data.processing,
|
|
@@ -12834,7 +12967,7 @@ class Formatter {
|
|
|
12834
12967
|
return this.loc.numberFormatter(opts).format(n2);
|
|
12835
12968
|
}
|
|
12836
12969
|
formatDateTimeFromString(dt, fmt) {
|
|
12837
|
-
const knownEnglish = this.loc.listingMode() === "en", useDateTimeFormatter = this.loc.outputCalendar && this.loc.outputCalendar !== "gregory", string = (opts,
|
|
12970
|
+
const knownEnglish = this.loc.listingMode() === "en", useDateTimeFormatter = this.loc.outputCalendar && this.loc.outputCalendar !== "gregory", string = (opts, extract2) => this.loc.extract(dt, opts, extract2), formatOffset2 = (opts) => {
|
|
12838
12971
|
if (dt.isOffsetFixed && dt.offset === 0 && opts.allowZ) {
|
|
12839
12972
|
return "Z";
|
|
12840
12973
|
}
|
|
@@ -16096,16 +16229,16 @@ const _sfc_main$c = {
|
|
|
16096
16229
|
}
|
|
16097
16230
|
}
|
|
16098
16231
|
};
|
|
16099
|
-
const _hoisted_1$
|
|
16232
|
+
const _hoisted_1$a = { class: "table-date-cell" };
|
|
16100
16233
|
const _hoisted_2$8 = { class: "off" };
|
|
16101
16234
|
const _hoisted_3$6 = { class: "on" };
|
|
16102
|
-
const _hoisted_4$
|
|
16235
|
+
const _hoisted_4$5 = { class: "spacer" };
|
|
16103
16236
|
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16104
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
16237
|
+
return openBlock(), createElementBlock("td", _hoisted_1$a, [
|
|
16105
16238
|
createElementVNode("div", null, [
|
|
16106
16239
|
createElementVNode("span", _hoisted_2$8, toDisplayString($options.readable), 1),
|
|
16107
16240
|
createElementVNode("span", _hoisted_3$6, toDisplayString($options.timeago), 1),
|
|
16108
|
-
createElementVNode("span", _hoisted_4$
|
|
16241
|
+
createElementVNode("span", _hoisted_4$5, toDisplayString($options.readable), 1)
|
|
16109
16242
|
])
|
|
16110
16243
|
]);
|
|
16111
16244
|
}
|
|
@@ -16124,11 +16257,11 @@ const _sfc_main$b = {
|
|
|
16124
16257
|
}
|
|
16125
16258
|
}
|
|
16126
16259
|
};
|
|
16127
|
-
const _hoisted_1$
|
|
16260
|
+
const _hoisted_1$9 = { class: "table-url-cell" };
|
|
16128
16261
|
const _hoisted_2$7 = ["href"];
|
|
16129
16262
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16130
16263
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
16131
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
16264
|
+
return openBlock(), createElementBlock("td", _hoisted_1$9, [
|
|
16132
16265
|
createElementVNode("a", {
|
|
16133
16266
|
href: $options.href,
|
|
16134
16267
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
|
|
@@ -16146,6 +16279,12 @@ var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b
|
|
|
16146
16279
|
var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16147
16280
|
const _sfc_main$a = {
|
|
16148
16281
|
props: {
|
|
16282
|
+
multi: {
|
|
16283
|
+
type: Boolean
|
|
16284
|
+
},
|
|
16285
|
+
last: {
|
|
16286
|
+
type: Boolean
|
|
16287
|
+
},
|
|
16149
16288
|
value: {
|
|
16150
16289
|
required: true
|
|
16151
16290
|
},
|
|
@@ -16186,6 +16325,7 @@ const _sfc_main$a = {
|
|
|
16186
16325
|
}
|
|
16187
16326
|
}
|
|
16188
16327
|
};
|
|
16328
|
+
const _hoisted_1$8 = /* @__PURE__ */ createTextVNode(",\xA0");
|
|
16189
16329
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16190
16330
|
return $options.reference ? (openBlock(), createElementBlock("a", {
|
|
16191
16331
|
key: 0,
|
|
@@ -16193,11 +16333,37 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16193
16333
|
}, toDisplayString($options.renderValue), 1)) : $props.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
16194
16334
|
createTextVNode(toDisplayString($options.date), 1)
|
|
16195
16335
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
16196
|
-
createTextVNode(toDisplayString($options.renderValue), 1)
|
|
16336
|
+
createTextVNode(toDisplayString($options.renderValue), 1),
|
|
16337
|
+
$props.multi && !$props.last ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
16338
|
+
_hoisted_1$8
|
|
16339
|
+
], 64)) : createCommentVNode("", true)
|
|
16197
16340
|
], 64));
|
|
16198
16341
|
}
|
|
16199
|
-
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-
|
|
16342
|
+
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-ff63e962"]]);
|
|
16200
16343
|
var TableCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16344
|
+
function extract(row, path) {
|
|
16345
|
+
if (!row) {
|
|
16346
|
+
return;
|
|
16347
|
+
}
|
|
16348
|
+
if (!path) {
|
|
16349
|
+
return;
|
|
16350
|
+
}
|
|
16351
|
+
var pathValue = get_1(row, path);
|
|
16352
|
+
if (pathValue) {
|
|
16353
|
+
return pathValue;
|
|
16354
|
+
}
|
|
16355
|
+
const pieces = path.split(".");
|
|
16356
|
+
const key = pieces.shift();
|
|
16357
|
+
const remainder = pieces.join(".");
|
|
16358
|
+
const stub = get_1(row, key);
|
|
16359
|
+
if (Array.isArray(stub)) {
|
|
16360
|
+
return stub.map(function(r) {
|
|
16361
|
+
return extract(r, remainder);
|
|
16362
|
+
}).flat().filter(Boolean);
|
|
16363
|
+
} else {
|
|
16364
|
+
return extract(stub, remainder);
|
|
16365
|
+
}
|
|
16366
|
+
}
|
|
16201
16367
|
const _sfc_main$9 = {
|
|
16202
16368
|
data() {
|
|
16203
16369
|
return {
|
|
@@ -16268,7 +16434,7 @@ const _sfc_main$9 = {
|
|
|
16268
16434
|
return value.title || value.name || value;
|
|
16269
16435
|
},
|
|
16270
16436
|
value() {
|
|
16271
|
-
var v =
|
|
16437
|
+
var v = extract(this.row, this.column.key);
|
|
16272
16438
|
return v;
|
|
16273
16439
|
}
|
|
16274
16440
|
}
|
|
@@ -16279,7 +16445,6 @@ const _hoisted_1$7 = {
|
|
|
16279
16445
|
};
|
|
16280
16446
|
const _hoisted_2$6 = { class: "value" };
|
|
16281
16447
|
const _hoisted_3$5 = { class: "value" };
|
|
16282
|
-
const _hoisted_4$5 = /* @__PURE__ */ createTextVNode(", ");
|
|
16283
16448
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16284
16449
|
const _component_value_renderer = resolveComponent("value-renderer");
|
|
16285
16450
|
return $data.component ? (openBlock(), createBlock(resolveDynamicComponent($data.component), {
|
|
@@ -16289,20 +16454,23 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16289
16454
|
value: $options.value
|
|
16290
16455
|
}, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$7, [
|
|
16291
16456
|
$options.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
16292
|
-
$options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry) => {
|
|
16457
|
+
$options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry, index2) => {
|
|
16293
16458
|
return openBlock(), createElementBlock("span", _hoisted_2$6, [
|
|
16294
16459
|
createVNode(_component_value_renderer, {
|
|
16295
16460
|
type: $props.column.type,
|
|
16461
|
+
multi: "",
|
|
16462
|
+
last: index2 === $options.value.length - 1,
|
|
16296
16463
|
value: entry
|
|
16297
|
-
}, null, 8, ["type", "value"])
|
|
16464
|
+
}, null, 8, ["type", "last", "value"])
|
|
16298
16465
|
]);
|
|
16299
|
-
}), 256)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.value, (entry) => {
|
|
16466
|
+
}), 256)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.value, (entry, index2) => {
|
|
16300
16467
|
return openBlock(), createElementBlock("span", _hoisted_3$5, [
|
|
16301
16468
|
createVNode(_component_value_renderer, {
|
|
16302
16469
|
type: $props.column.type,
|
|
16470
|
+
multi: "",
|
|
16471
|
+
last: index2 === $options.value.length - 1,
|
|
16303
16472
|
value: entry
|
|
16304
|
-
}, null, 8, ["type", "value"])
|
|
16305
|
-
_hoisted_4$5
|
|
16473
|
+
}, null, 8, ["type", "last", "value"])
|
|
16306
16474
|
]);
|
|
16307
16475
|
}), 256))
|
|
16308
16476
|
], 64)) : (openBlock(), createBlock(_component_value_renderer, {
|
|
@@ -16312,7 +16480,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16312
16480
|
}, null, 8, ["type", "value"]))
|
|
16313
16481
|
]));
|
|
16314
16482
|
}
|
|
16315
|
-
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-
|
|
16483
|
+
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-054965d2"]]);
|
|
16316
16484
|
const _sfc_main$8 = {
|
|
16317
16485
|
components: {
|
|
16318
16486
|
TableCell
|
|
@@ -16692,7 +16860,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16692
16860
|
], 512)
|
|
16693
16861
|
]);
|
|
16694
16862
|
}
|
|
16695
|
-
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-
|
|
16863
|
+
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-e626ef3a"]]);
|
|
16696
16864
|
function Selection(options) {
|
|
16697
16865
|
options = options || {};
|
|
16698
16866
|
Math.max(parseInt(options.minimum || 0), 0);
|
|
@@ -17315,6 +17483,13 @@ const _sfc_main$5 = {
|
|
|
17315
17483
|
fields: definedFields
|
|
17316
17484
|
};
|
|
17317
17485
|
allFields.push(formDataFields);
|
|
17486
|
+
const cleanedDataFields = definedFields.map(function(field) {
|
|
17487
|
+
if (field.type === "reference") {
|
|
17488
|
+
field = JSON.parse(JSON.stringify(field));
|
|
17489
|
+
delete field.fields;
|
|
17490
|
+
}
|
|
17491
|
+
return field;
|
|
17492
|
+
});
|
|
17318
17493
|
var dataFields = {
|
|
17319
17494
|
title: `Data`,
|
|
17320
17495
|
minimum: 1,
|
|
@@ -17322,7 +17497,7 @@ const _sfc_main$5 = {
|
|
|
17322
17497
|
key: "data",
|
|
17323
17498
|
asObject: true,
|
|
17324
17499
|
type: "group",
|
|
17325
|
-
fields:
|
|
17500
|
+
fields: cleanedDataFields
|
|
17326
17501
|
};
|
|
17327
17502
|
allFields.push(dataFields);
|
|
17328
17503
|
} else {
|
|
@@ -17356,7 +17531,18 @@ const _sfc_main$5 = {
|
|
|
17356
17531
|
return this.manager.items.slice();
|
|
17357
17532
|
},
|
|
17358
17533
|
activeFilters() {
|
|
17359
|
-
var activeFilters = this.$qik.filter.activeFilters(this.filter)
|
|
17534
|
+
var activeFilters = this.$qik.filter.activeFilters(this.filter).reduce(function(set, filter) {
|
|
17535
|
+
if (!filter.key) {
|
|
17536
|
+
return set;
|
|
17537
|
+
}
|
|
17538
|
+
filter = __spreadValues({}, filter);
|
|
17539
|
+
filter.title = `Filter ${set.length + 1}`;
|
|
17540
|
+
filter.key = filter.key.split("[]").join("");
|
|
17541
|
+
filter.class = "active-filter";
|
|
17542
|
+
filter.shrink = true;
|
|
17543
|
+
set.push(filter);
|
|
17544
|
+
return set;
|
|
17545
|
+
}, []);
|
|
17360
17546
|
return activeFilters;
|
|
17361
17547
|
},
|
|
17362
17548
|
searching() {
|
|
@@ -17372,7 +17558,9 @@ const _sfc_main$5 = {
|
|
|
17372
17558
|
const self2 = this;
|
|
17373
17559
|
var fields = self2.columns.map(function(column) {
|
|
17374
17560
|
return column.path || column.key;
|
|
17375
|
-
}).flat()
|
|
17561
|
+
}).flat().filter(Boolean).map(function(string) {
|
|
17562
|
+
return string.split("[]").join("");
|
|
17563
|
+
});
|
|
17376
17564
|
if (self2.options.select) {
|
|
17377
17565
|
fields = [...fields, ...self2.options.select];
|
|
17378
17566
|
}
|
|
@@ -17567,7 +17755,7 @@ const _sfc_main$5 = {
|
|
|
17567
17755
|
};
|
|
17568
17756
|
}
|
|
17569
17757
|
};
|
|
17570
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
17758
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-93998f7a"), n2 = n2(), popScopeId(), n2);
|
|
17571
17759
|
const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
17572
17760
|
const _hoisted_2$4 = { class: "footer" };
|
|
17573
17761
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -17681,9 +17869,13 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17681
17869
|
})
|
|
17682
17870
|
]),
|
|
17683
17871
|
_: 1
|
|
17684
|
-
})) :
|
|
17685
|
-
$props.showFilters ? (openBlock(), createBlock(_component_flex_column, {
|
|
17872
|
+
})) : (openBlock(), createBlock(_component_flex_column, {
|
|
17686
17873
|
key: 2,
|
|
17874
|
+
class: "empty",
|
|
17875
|
+
center: ""
|
|
17876
|
+
})),
|
|
17877
|
+
$props.showFilters ? (openBlock(), createBlock(_component_flex_column, {
|
|
17878
|
+
key: 3,
|
|
17687
17879
|
class: "filter-column"
|
|
17688
17880
|
}, {
|
|
17689
17881
|
default: withCtx(() => [
|
|
@@ -17737,7 +17929,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17737
17929
|
_: 3
|
|
17738
17930
|
})) : createCommentVNode("", true);
|
|
17739
17931
|
}
|
|
17740
|
-
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-
|
|
17932
|
+
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-93998f7a"]]);
|
|
17741
17933
|
var ModalMixin = {
|
|
17742
17934
|
props: {
|
|
17743
17935
|
options: {
|