@qikdev/vue-ui 0.1.41 → 0.1.45
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 +320 -202
- 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.45";
|
|
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
|
|
@@ -241,9 +241,9 @@ const _sfc_main$Y = {
|
|
|
241
241
|
}
|
|
242
242
|
};
|
|
243
243
|
const _withScopeId$4 = (n2) => (pushScopeId("data-v-27f20370"), n2 = n2(), popScopeId(), n2);
|
|
244
|
-
const _hoisted_1$
|
|
244
|
+
const _hoisted_1$M = /* @__PURE__ */ _withScopeId$4(() => /* @__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"]]);
|
|
@@ -910,10 +910,10 @@ const _sfc_main$Q = {
|
|
|
910
910
|
}
|
|
911
911
|
};
|
|
912
912
|
const _withScopeId$3 = (n2) => (pushScopeId("data-v-6581fb86"), n2 = n2(), popScopeId(), n2);
|
|
913
|
-
const _hoisted_1$
|
|
913
|
+
const _hoisted_1$J = { class: "ux-progress" };
|
|
914
914
|
const _hoisted_2$A = /* @__PURE__ */ _withScopeId$3(() => /* @__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,7 +1443,7 @@ 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
|
};
|
|
@@ -1458,12 +1458,12 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
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(() => [
|
|
@@ -1563,7 +1563,7 @@ const _sfc_main$M = {
|
|
|
1563
1563
|
}
|
|
1564
1564
|
};
|
|
1565
1565
|
const _withScopeId$2 = (n2) => (pushScopeId("data-v-856e04c2"), n2 = n2(), popScopeId(), n2);
|
|
1566
|
-
const _hoisted_1$
|
|
1566
|
+
const _hoisted_1$F = {
|
|
1567
1567
|
key: 0,
|
|
1568
1568
|
class: "ux-field-title"
|
|
1569
1569
|
};
|
|
@@ -1575,7 +1575,7 @@ 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
1580
|
const _hoisted_6$f = { key: 0 };
|
|
1581
1581
|
const _hoisted_7$d = { key: 1 };
|
|
@@ -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: "",
|
|
@@ -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,7 +2266,7 @@ 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
|
};
|
|
@@ -2281,12 +2281,12 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
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(() => [
|
|
@@ -5072,7 +5072,8 @@ const _sfc_main$J = {
|
|
|
5072
5072
|
maximum: self2.field.maximum,
|
|
5073
5073
|
browserOptions: {
|
|
5074
5074
|
columns: self2.field.columns,
|
|
5075
|
-
select: self2.field.select
|
|
5075
|
+
select: self2.field.select,
|
|
5076
|
+
lockFilter: self2.field.lockFilter
|
|
5076
5077
|
}
|
|
5077
5078
|
};
|
|
5078
5079
|
console.log("Modal options", modalOptions);
|
|
@@ -5132,7 +5133,7 @@ const _sfc_main$J = {
|
|
|
5132
5133
|
}
|
|
5133
5134
|
}
|
|
5134
5135
|
};
|
|
5135
|
-
const _hoisted_1$
|
|
5136
|
+
const _hoisted_1$D = {
|
|
5136
5137
|
key: 0,
|
|
5137
5138
|
class: "ux-field-title"
|
|
5138
5139
|
};
|
|
@@ -5144,7 +5145,7 @@ const _hoisted_3$s = {
|
|
|
5144
5145
|
key: 1,
|
|
5145
5146
|
class: "ux-field-description"
|
|
5146
5147
|
};
|
|
5147
|
-
const _hoisted_4$
|
|
5148
|
+
const _hoisted_4$o = {
|
|
5148
5149
|
key: 3,
|
|
5149
5150
|
class: "items"
|
|
5150
5151
|
};
|
|
@@ -5154,7 +5155,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5154
5155
|
const _component_item = resolveComponent("item");
|
|
5155
5156
|
const _component_draggable = resolveComponent("draggable");
|
|
5156
5157
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5157
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5158
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$D, [
|
|
5158
5159
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5159
5160
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$w, "*")) : createCommentVNode("", true)
|
|
5160
5161
|
])) : createCommentVNode("", true),
|
|
@@ -5197,7 +5198,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5197
5198
|
]),
|
|
5198
5199
|
_: 1
|
|
5199
5200
|
}, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
5200
|
-
], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5201
|
+
], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
|
|
5201
5202
|
createVNode(_component_item, { item: _ctx.model }, {
|
|
5202
5203
|
actions: withCtx(() => [
|
|
5203
5204
|
$options.canEdit(_ctx.model) ? (openBlock(), createBlock(_component_ux_button, {
|
|
@@ -5231,7 +5232,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5231
5232
|
}, 8, ["onClick"])
|
|
5232
5233
|
], 64);
|
|
5233
5234
|
}
|
|
5234
|
-
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-
|
|
5235
|
+
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-41fe69cc"]]);
|
|
5235
5236
|
var typeSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5236
5237
|
function isUndefined$4(entry) {
|
|
5237
5238
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
@@ -5345,7 +5346,7 @@ const _sfc_main$I = {
|
|
|
5345
5346
|
}
|
|
5346
5347
|
}
|
|
5347
5348
|
};
|
|
5348
|
-
const _hoisted_1$
|
|
5349
|
+
const _hoisted_1$C = {
|
|
5349
5350
|
key: 0,
|
|
5350
5351
|
class: "ux-field-title"
|
|
5351
5352
|
};
|
|
@@ -5357,7 +5358,7 @@ const _hoisted_3$r = {
|
|
|
5357
5358
|
key: 1,
|
|
5358
5359
|
class: "ux-field-description"
|
|
5359
5360
|
};
|
|
5360
|
-
const _hoisted_4$
|
|
5361
|
+
const _hoisted_4$n = {
|
|
5361
5362
|
key: 2,
|
|
5362
5363
|
class: "ui-select-button"
|
|
5363
5364
|
};
|
|
@@ -5372,12 +5373,12 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5372
5373
|
return openBlock(), createElementBlock("div", {
|
|
5373
5374
|
class: normalizeClass(["native-select", $options.classes])
|
|
5374
5375
|
}, [
|
|
5375
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5376
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$C, [
|
|
5376
5377
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5377
5378
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$v, "*")) : createCommentVNode("", true)
|
|
5378
5379
|
])) : createCommentVNode("", true),
|
|
5379
5380
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$r, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
5380
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5381
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
|
|
5381
5382
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
5382
5383
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
5383
5384
|
default: withCtx(() => [
|
|
@@ -5483,7 +5484,7 @@ const _sfc_main$H = {
|
|
|
5483
5484
|
}
|
|
5484
5485
|
}
|
|
5485
5486
|
};
|
|
5486
|
-
const _hoisted_1$
|
|
5487
|
+
const _hoisted_1$B = {
|
|
5487
5488
|
key: 0,
|
|
5488
5489
|
class: "ux-field-title"
|
|
5489
5490
|
};
|
|
@@ -5495,7 +5496,7 @@ const _hoisted_3$q = {
|
|
|
5495
5496
|
key: 1,
|
|
5496
5497
|
class: "ux-field-description"
|
|
5497
5498
|
};
|
|
5498
|
-
const _hoisted_4$
|
|
5499
|
+
const _hoisted_4$m = { key: 2 };
|
|
5499
5500
|
const _hoisted_5$g = {
|
|
5500
5501
|
key: 0,
|
|
5501
5502
|
class: "ux-text-prefix"
|
|
@@ -5519,12 +5520,12 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5519
5520
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5520
5521
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5521
5522
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5522
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5523
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
|
|
5523
5524
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5524
5525
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$u, "*")) : createCommentVNode("", true)
|
|
5525
5526
|
])) : createCommentVNode("", true),
|
|
5526
5527
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$q, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
5527
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5528
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
|
|
5528
5529
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
|
|
5529
5530
|
return openBlock(), createBlock(_component_flex_row, {
|
|
5530
5531
|
class: "ux-text-row",
|
|
@@ -5686,7 +5687,7 @@ const _sfc_main$G = {
|
|
|
5686
5687
|
}
|
|
5687
5688
|
}
|
|
5688
5689
|
};
|
|
5689
|
-
const _hoisted_1$
|
|
5690
|
+
const _hoisted_1$A = {
|
|
5690
5691
|
key: 0,
|
|
5691
5692
|
class: "ux-field-title"
|
|
5692
5693
|
};
|
|
@@ -5698,7 +5699,7 @@ const _hoisted_3$p = {
|
|
|
5698
5699
|
key: 1,
|
|
5699
5700
|
class: "ux-field-description"
|
|
5700
5701
|
};
|
|
5701
|
-
const _hoisted_4$
|
|
5702
|
+
const _hoisted_4$l = { key: 2 };
|
|
5702
5703
|
const _hoisted_5$f = { class: "ux-text-wrap" };
|
|
5703
5704
|
const _hoisted_6$b = {
|
|
5704
5705
|
key: 0,
|
|
@@ -5730,12 +5731,12 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5730
5731
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5731
5732
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5732
5733
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5733
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5734
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
|
|
5734
5735
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5735
5736
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$t, "*")) : createCommentVNode("", true)
|
|
5736
5737
|
])) : createCommentVNode("", true),
|
|
5737
5738
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$p, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
5738
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5739
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$l, [
|
|
5739
5740
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
5740
5741
|
return openBlock(), createBlock(_component_flex_row, {
|
|
5741
5742
|
class: "ux-text-row",
|
|
@@ -5866,7 +5867,7 @@ const _sfc_main$F = {
|
|
|
5866
5867
|
}
|
|
5867
5868
|
}
|
|
5868
5869
|
};
|
|
5869
|
-
const _hoisted_1$
|
|
5870
|
+
const _hoisted_1$z = {
|
|
5870
5871
|
key: 0,
|
|
5871
5872
|
class: "ux-field-title"
|
|
5872
5873
|
};
|
|
@@ -5878,7 +5879,7 @@ const _hoisted_3$o = {
|
|
|
5878
5879
|
key: 1,
|
|
5879
5880
|
class: "ux-field-description"
|
|
5880
5881
|
};
|
|
5881
|
-
const _hoisted_4$
|
|
5882
|
+
const _hoisted_4$k = { key: 2 };
|
|
5882
5883
|
const _hoisted_5$e = ["onUpdate:modelValue"];
|
|
5883
5884
|
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5884
5885
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
@@ -5886,12 +5887,12 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5886
5887
|
const _component_ux_button = resolveComponent("ux-button");
|
|
5887
5888
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5888
5889
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
5889
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
5890
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$z, [
|
|
5890
5891
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
5891
5892
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$s, "*")) : createCommentVNode("", true)
|
|
5892
5893
|
])) : createCommentVNode("", true),
|
|
5893
5894
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$o, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
5894
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5895
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$k, [
|
|
5895
5896
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
5896
5897
|
return openBlock(), createBlock(_component_flex_row, {
|
|
5897
5898
|
class: "ux-text-row",
|
|
@@ -6014,7 +6015,7 @@ const _sfc_main$E = {
|
|
|
6014
6015
|
}
|
|
6015
6016
|
}
|
|
6016
6017
|
};
|
|
6017
|
-
const _hoisted_1$
|
|
6018
|
+
const _hoisted_1$y = {
|
|
6018
6019
|
key: 0,
|
|
6019
6020
|
class: "ux-field-title"
|
|
6020
6021
|
};
|
|
@@ -6026,7 +6027,7 @@ const _hoisted_3$n = {
|
|
|
6026
6027
|
key: 1,
|
|
6027
6028
|
class: "ux-field-description"
|
|
6028
6029
|
};
|
|
6029
|
-
const _hoisted_4$
|
|
6030
|
+
const _hoisted_4$j = { key: 2 };
|
|
6030
6031
|
const _hoisted_5$d = ["onUpdate:modelValue"];
|
|
6031
6032
|
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6032
6033
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
@@ -6034,12 +6035,12 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6034
6035
|
const _component_ux_button = resolveComponent("ux-button");
|
|
6035
6036
|
const _component_flex_row = resolveComponent("flex-row");
|
|
6036
6037
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
6037
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
6038
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$y, [
|
|
6038
6039
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
6039
6040
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$r, "*")) : createCommentVNode("", true)
|
|
6040
6041
|
])) : createCommentVNode("", true),
|
|
6041
6042
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$n, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
6042
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
6043
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$j, [
|
|
6043
6044
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
|
|
6044
6045
|
return openBlock(), createBlock(_component_flex_row, {
|
|
6045
6046
|
class: "ux-text-row",
|
|
@@ -6149,7 +6150,7 @@ const _sfc_main$D = {
|
|
|
6149
6150
|
}
|
|
6150
6151
|
}
|
|
6151
6152
|
};
|
|
6152
|
-
const _hoisted_1$
|
|
6153
|
+
const _hoisted_1$x = {
|
|
6153
6154
|
key: 0,
|
|
6154
6155
|
class: "ux-field-title"
|
|
6155
6156
|
};
|
|
@@ -6185,7 +6186,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6185
6186
|
createVNode(_component_flex_cell, { vcenter: "" }, {
|
|
6186
6187
|
default: withCtx(() => [
|
|
6187
6188
|
createElementVNode("div", null, [
|
|
6188
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
6189
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$x, [
|
|
6189
6190
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
6190
6191
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$q, "*")) : createCommentVNode("", true)
|
|
6191
6192
|
])) : createCommentVNode("", true),
|
|
@@ -6212,7 +6213,7 @@ const _sfc_main$C = {
|
|
|
6212
6213
|
}
|
|
6213
6214
|
}
|
|
6214
6215
|
};
|
|
6215
|
-
const _hoisted_1$
|
|
6216
|
+
const _hoisted_1$w = { key: 0 };
|
|
6216
6217
|
const _hoisted_2$p = ["innerHTML"];
|
|
6217
6218
|
const _hoisted_3$l = ["innerHTML"];
|
|
6218
6219
|
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -6220,7 +6221,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6220
6221
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
6221
6222
|
const _component_ux_button = resolveComponent("ux-button");
|
|
6222
6223
|
const _component_flex_row = resolveComponent("flex-row");
|
|
6223
|
-
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6224
|
+
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
6224
6225
|
createVNode(_component_flex_row, { class: "ux-text-row" }, {
|
|
6225
6226
|
default: withCtx(() => [
|
|
6226
6227
|
createVNode(_component_flex_cell, null, {
|
|
@@ -6325,6 +6326,7 @@ const _sfc_main$B = {
|
|
|
6325
6326
|
keyOptions() {
|
|
6326
6327
|
return this.fields.reduce(function(set, entry) {
|
|
6327
6328
|
switch (entry.type) {
|
|
6329
|
+
case "object":
|
|
6328
6330
|
case "group":
|
|
6329
6331
|
break;
|
|
6330
6332
|
default:
|
|
@@ -6533,13 +6535,13 @@ const _sfc_main$B = {
|
|
|
6533
6535
|
NativeSelect
|
|
6534
6536
|
}
|
|
6535
6537
|
};
|
|
6536
|
-
const _hoisted_1$
|
|
6538
|
+
const _hoisted_1$v = {
|
|
6537
6539
|
key: 0,
|
|
6538
6540
|
class: "filter-condition"
|
|
6539
6541
|
};
|
|
6540
6542
|
const _hoisted_2$o = { key: 0 };
|
|
6541
6543
|
const _hoisted_3$k = { key: 1 };
|
|
6542
|
-
const _hoisted_4$
|
|
6544
|
+
const _hoisted_4$i = /* @__PURE__ */ createTextVNode(" And ");
|
|
6543
6545
|
const _hoisted_5$c = { key: 2 };
|
|
6544
6546
|
const _hoisted_6$a = { key: 3 };
|
|
6545
6547
|
const _hoisted_7$8 = /* @__PURE__ */ createTextVNode(" And ");
|
|
@@ -6559,7 +6561,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6559
6561
|
const _component_content_select = resolveComponent("content-select");
|
|
6560
6562
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
6561
6563
|
const _component_ux_button = resolveComponent("ux-button");
|
|
6562
|
-
return $data.comparators ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6564
|
+
return $data.comparators ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
6563
6565
|
createVNode(_component_flex_row, null, {
|
|
6564
6566
|
default: withCtx(() => [
|
|
6565
6567
|
createVNode(_component_flex_cell, null, {
|
|
@@ -6605,7 +6607,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6605
6607
|
modelValue: $data.model.value,
|
|
6606
6608
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.model.value = $event)
|
|
6607
6609
|
}, null, 8, ["field", "modelValue"]),
|
|
6608
|
-
_hoisted_4$
|
|
6610
|
+
_hoisted_4$i,
|
|
6609
6611
|
createVNode(_component_text_field, {
|
|
6610
6612
|
field: $options.normalField,
|
|
6611
6613
|
modelValue: $data.model.value2,
|
|
@@ -6989,21 +6991,53 @@ const _sfc_main$A = {
|
|
|
6989
6991
|
}
|
|
6990
6992
|
},
|
|
6991
6993
|
fields() {
|
|
6992
|
-
|
|
6993
|
-
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";
|
|
6994
6998
|
if (definedFields.length) {
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
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
|
+
}
|
|
7005
7039
|
}
|
|
7006
|
-
var mapped =
|
|
7040
|
+
var mapped = self2.$qik.utils.mapFields(allFields, { includeArrayDelimeter: true });
|
|
7007
7041
|
return mapped;
|
|
7008
7042
|
},
|
|
7009
7043
|
operatorField() {
|
|
@@ -7032,10 +7066,10 @@ const _sfc_main$A = {
|
|
|
7032
7066
|
NativeSelect
|
|
7033
7067
|
}
|
|
7034
7068
|
};
|
|
7035
|
-
const _hoisted_1$
|
|
7069
|
+
const _hoisted_1$u = { class: "filter-rule" };
|
|
7036
7070
|
const _hoisted_2$n = { class: "top" };
|
|
7037
7071
|
const _hoisted_3$j = { class: "summary" };
|
|
7038
|
-
const _hoisted_4$
|
|
7072
|
+
const _hoisted_4$h = /* @__PURE__ */ createTextVNode(" Match ");
|
|
7039
7073
|
const _hoisted_5$b = /* @__PURE__ */ createTextVNode(" of the following conditions ");
|
|
7040
7074
|
const _hoisted_6$9 = /* @__PURE__ */ createElementVNode("span", { class: "line" }, null, -1);
|
|
7041
7075
|
const _hoisted_7$7 = { class: "operator" };
|
|
@@ -7047,14 +7081,14 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7047
7081
|
const _component_ux_button = resolveComponent("ux-button");
|
|
7048
7082
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7049
7083
|
const _component_filter_condition = resolveComponent("filter-condition");
|
|
7050
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7084
|
+
return openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
7051
7085
|
createElementVNode("div", _hoisted_2$n, [
|
|
7052
7086
|
createVNode(_component_flex_row, null, {
|
|
7053
7087
|
default: withCtx(() => [
|
|
7054
7088
|
createVNode(_component_flex_cell, null, {
|
|
7055
7089
|
default: withCtx(() => [
|
|
7056
7090
|
createElementVNode("div", _hoisted_3$j, [
|
|
7057
|
-
_hoisted_4$
|
|
7091
|
+
_hoisted_4$h,
|
|
7058
7092
|
createVNode(_component_native_select, {
|
|
7059
7093
|
modelValue: $data.model.operator,
|
|
7060
7094
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
|
|
@@ -7236,13 +7270,13 @@ const _sfc_main$z = {
|
|
|
7236
7270
|
};
|
|
7237
7271
|
}
|
|
7238
7272
|
};
|
|
7239
|
-
const _hoisted_1$
|
|
7273
|
+
const _hoisted_1$t = { class: "filters" };
|
|
7240
7274
|
const _hoisted_2$m = {
|
|
7241
7275
|
key: 0,
|
|
7242
7276
|
class: "top"
|
|
7243
7277
|
};
|
|
7244
7278
|
const _hoisted_3$i = { class: "summary" };
|
|
7245
|
-
const _hoisted_4$
|
|
7279
|
+
const _hoisted_4$g = /* @__PURE__ */ createTextVNode(" Match ");
|
|
7246
7280
|
const _hoisted_5$a = /* @__PURE__ */ createTextVNode(" of the following rules ");
|
|
7247
7281
|
const _hoisted_6$8 = /* @__PURE__ */ createTextVNode("Add Filter Rule");
|
|
7248
7282
|
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -7255,10 +7289,10 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7255
7289
|
default: withCtx(() => [
|
|
7256
7290
|
createVNode(_component_flex_body, null, {
|
|
7257
7291
|
default: withCtx(() => [
|
|
7258
|
-
createElementVNode("div", _hoisted_1$
|
|
7292
|
+
createElementVNode("div", _hoisted_1$t, [
|
|
7259
7293
|
$data.model && $data.model.filters && $data.model.filters.length ? (openBlock(), createElementBlock("div", _hoisted_2$m, [
|
|
7260
7294
|
createElementVNode("div", _hoisted_3$i, [
|
|
7261
|
-
_hoisted_4$
|
|
7295
|
+
_hoisted_4$g,
|
|
7262
7296
|
createVNode(_component_native_select, {
|
|
7263
7297
|
modelValue: $data.model.operator,
|
|
7264
7298
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
|
|
@@ -7343,7 +7377,7 @@ const _sfc_main$y = {
|
|
|
7343
7377
|
}
|
|
7344
7378
|
}
|
|
7345
7379
|
};
|
|
7346
|
-
const _hoisted_1$
|
|
7380
|
+
const _hoisted_1$s = {
|
|
7347
7381
|
key: 0,
|
|
7348
7382
|
class: "ux-field-title"
|
|
7349
7383
|
};
|
|
@@ -7355,7 +7389,7 @@ const _hoisted_3$h = {
|
|
|
7355
7389
|
key: 1,
|
|
7356
7390
|
class: "ux-field-description"
|
|
7357
7391
|
};
|
|
7358
|
-
const _hoisted_4$
|
|
7392
|
+
const _hoisted_4$f = { key: 2 };
|
|
7359
7393
|
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7360
7394
|
const _component_filter_builder = resolveComponent("filter-builder");
|
|
7361
7395
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
@@ -7363,12 +7397,12 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7363
7397
|
const _component_ux_button = resolveComponent("ux-button");
|
|
7364
7398
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7365
7399
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
7366
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7400
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$s, [
|
|
7367
7401
|
createTextVNode(toDisplayString(_ctx.label) + " (" + toDisplayString($options.definitionTitle) + ") ", 1),
|
|
7368
7402
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$l, "*")) : createCommentVNode("", true)
|
|
7369
7403
|
])) : createCommentVNode("", true),
|
|
7370
7404
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$h, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
7371
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
7405
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$f, [
|
|
7372
7406
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
7373
7407
|
return openBlock(), createBlock(_component_flex_row, {
|
|
7374
7408
|
class: "ux-text-row",
|
|
@@ -7466,7 +7500,7 @@ const _sfc_main$x = {
|
|
|
7466
7500
|
}
|
|
7467
7501
|
}
|
|
7468
7502
|
};
|
|
7469
|
-
const _hoisted_1$
|
|
7503
|
+
const _hoisted_1$r = {
|
|
7470
7504
|
key: 0,
|
|
7471
7505
|
class: "ux-field-title"
|
|
7472
7506
|
};
|
|
@@ -7502,7 +7536,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7502
7536
|
createVNode(_component_flex_cell, { vcenter: "" }, {
|
|
7503
7537
|
default: withCtx(() => [
|
|
7504
7538
|
createElementVNode("div", null, [
|
|
7505
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7539
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$r, [
|
|
7506
7540
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
7507
7541
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$k, "*")) : createCommentVNode("", true)
|
|
7508
7542
|
])) : createCommentVNode("", true),
|
|
@@ -7551,7 +7585,7 @@ const _sfc_main$w = {
|
|
|
7551
7585
|
}
|
|
7552
7586
|
}
|
|
7553
7587
|
};
|
|
7554
|
-
const _hoisted_1$
|
|
7588
|
+
const _hoisted_1$q = ["multiple"];
|
|
7555
7589
|
const _hoisted_2$j = /* @__PURE__ */ createTextVNode("Select Files");
|
|
7556
7590
|
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7557
7591
|
const _component_ux_button = resolveComponent("ux-button");
|
|
@@ -7565,7 +7599,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7565
7599
|
type: "file",
|
|
7566
7600
|
multiple: $props.multiple,
|
|
7567
7601
|
onChange: _cache[0] || (_cache[0] = ($event) => $options.filesSelected($event.target.files))
|
|
7568
|
-
}, null, 40, _hoisted_1$
|
|
7602
|
+
}, null, 40, _hoisted_1$q),
|
|
7569
7603
|
createElementVNode("div", {
|
|
7570
7604
|
class: "file-drop-ux",
|
|
7571
7605
|
onClick: _cache[1] || (_cache[1] = (...args) => $options.clicked && $options.clicked(...args))
|
|
@@ -7714,7 +7748,7 @@ const _sfc_main$v = {
|
|
|
7714
7748
|
},
|
|
7715
7749
|
computed: {}
|
|
7716
7750
|
};
|
|
7717
|
-
const _hoisted_1$
|
|
7751
|
+
const _hoisted_1$p = {
|
|
7718
7752
|
key: 0,
|
|
7719
7753
|
class: "ux-field-title"
|
|
7720
7754
|
};
|
|
@@ -7726,7 +7760,7 @@ const _hoisted_3$f = {
|
|
|
7726
7760
|
key: 1,
|
|
7727
7761
|
class: "ux-field-description"
|
|
7728
7762
|
};
|
|
7729
|
-
const _hoisted_4$
|
|
7763
|
+
const _hoisted_4$e = {
|
|
7730
7764
|
key: 2,
|
|
7731
7765
|
class: "files"
|
|
7732
7766
|
};
|
|
@@ -7741,12 +7775,12 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7741
7775
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7742
7776
|
const _component_file_drop = resolveComponent("file-drop");
|
|
7743
7777
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
7744
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7778
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$p, [
|
|
7745
7779
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
7746
7780
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$i, "*")) : createCommentVNode("", true)
|
|
7747
7781
|
])) : createCommentVNode("", true),
|
|
7748
7782
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$f, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
7749
|
-
$data.files && $data.files.length ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
7783
|
+
$data.files && $data.files.length ? (openBlock(), createElementBlock("div", _hoisted_4$e, [
|
|
7750
7784
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.files, (file, index2) => {
|
|
7751
7785
|
return openBlock(), createElementBlock("div", {
|
|
7752
7786
|
class: "file-item",
|
|
@@ -7889,7 +7923,7 @@ const _sfc_main$u = {
|
|
|
7889
7923
|
}
|
|
7890
7924
|
}
|
|
7891
7925
|
};
|
|
7892
|
-
const _hoisted_1$
|
|
7926
|
+
const _hoisted_1$o = {
|
|
7893
7927
|
key: 0,
|
|
7894
7928
|
class: "ux-multi-group"
|
|
7895
7929
|
};
|
|
@@ -7903,7 +7937,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7903
7937
|
const _component_ux_panel_body = resolveComponent("ux-panel-body");
|
|
7904
7938
|
const _component_ux_panel = resolveComponent("ux-panel");
|
|
7905
7939
|
const _component_draggable = resolveComponent("draggable");
|
|
7906
|
-
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7940
|
+
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
7907
7941
|
$options.reorderable ? (openBlock(), createBlock(_component_draggable, {
|
|
7908
7942
|
key: 0,
|
|
7909
7943
|
modelValue: _ctx.model,
|
|
@@ -8133,7 +8167,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8133
8167
|
fields: _ctx.field.fields
|
|
8134
8168
|
}, null, 8, ["onForm:state", "parentModel", "modelValue", "flex", "fields"]));
|
|
8135
8169
|
}
|
|
8136
|
-
var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-
|
|
8170
|
+
var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-121d7a2c"]]);
|
|
8137
8171
|
const _sfc_main$t = {
|
|
8138
8172
|
props: {
|
|
8139
8173
|
option: {
|
|
@@ -8277,7 +8311,7 @@ const _sfc_main$s = {
|
|
|
8277
8311
|
}
|
|
8278
8312
|
}
|
|
8279
8313
|
};
|
|
8280
|
-
const _hoisted_1$
|
|
8314
|
+
const _hoisted_1$n = {
|
|
8281
8315
|
key: 0,
|
|
8282
8316
|
class: "ux-field-title"
|
|
8283
8317
|
};
|
|
@@ -8289,18 +8323,18 @@ const _hoisted_3$e = {
|
|
|
8289
8323
|
key: 1,
|
|
8290
8324
|
class: "ux-field-description"
|
|
8291
8325
|
};
|
|
8292
|
-
const _hoisted_4$
|
|
8326
|
+
const _hoisted_4$d = { class: "buttons" };
|
|
8293
8327
|
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8294
8328
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
8295
8329
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8296
8330
|
const _component_option_slot = resolveComponent("option-slot");
|
|
8297
8331
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8298
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8332
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$n, [
|
|
8299
8333
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8300
8334
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$h, "*")) : createCommentVNode("", true)
|
|
8301
8335
|
])) : createCommentVNode("", true),
|
|
8302
8336
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$e, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8303
|
-
createElementVNode("div", _hoisted_4$
|
|
8337
|
+
createElementVNode("div", _hoisted_4$d, [
|
|
8304
8338
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selectableOptions, (option2) => {
|
|
8305
8339
|
return openBlock(), createBlock(_component_option_slot, { option: option2 }, {
|
|
8306
8340
|
default: withCtx(({ plainValue }) => [
|
|
@@ -8340,7 +8374,7 @@ const _sfc_main$r = {
|
|
|
8340
8374
|
}
|
|
8341
8375
|
}
|
|
8342
8376
|
};
|
|
8343
|
-
const _hoisted_1$
|
|
8377
|
+
const _hoisted_1$m = {
|
|
8344
8378
|
key: 0,
|
|
8345
8379
|
class: "ux-field-title"
|
|
8346
8380
|
};
|
|
@@ -8352,7 +8386,7 @@ const _hoisted_3$d = {
|
|
|
8352
8386
|
key: 1,
|
|
8353
8387
|
class: "ux-field-description"
|
|
8354
8388
|
};
|
|
8355
|
-
const _hoisted_4$
|
|
8389
|
+
const _hoisted_4$c = { key: 2 };
|
|
8356
8390
|
const _hoisted_5$8 = { key: 3 };
|
|
8357
8391
|
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8358
8392
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
@@ -8360,12 +8394,12 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8360
8394
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8361
8395
|
const _component_flex_row = resolveComponent("flex-row");
|
|
8362
8396
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8363
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8397
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$m, [
|
|
8364
8398
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8365
8399
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$g, "*")) : createCommentVNode("", true)
|
|
8366
8400
|
])) : createCommentVNode("", true),
|
|
8367
8401
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$d, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8368
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
8402
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
|
|
8369
8403
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
8370
8404
|
return openBlock(), createBlock(_component_flex_row, {
|
|
8371
8405
|
class: "ux-text-row",
|
|
@@ -8514,7 +8548,7 @@ const _sfc_main$q = {
|
|
|
8514
8548
|
}
|
|
8515
8549
|
};
|
|
8516
8550
|
const _withScopeId$1 = (n2) => (pushScopeId("data-v-42a51394"), n2 = n2(), popScopeId(), n2);
|
|
8517
|
-
const _hoisted_1$
|
|
8551
|
+
const _hoisted_1$l = {
|
|
8518
8552
|
key: 0,
|
|
8519
8553
|
class: "ux-field-title"
|
|
8520
8554
|
};
|
|
@@ -8526,7 +8560,7 @@ const _hoisted_3$c = {
|
|
|
8526
8560
|
key: 1,
|
|
8527
8561
|
class: "ux-field-description"
|
|
8528
8562
|
};
|
|
8529
|
-
const _hoisted_4$
|
|
8563
|
+
const _hoisted_4$b = { key: 2 };
|
|
8530
8564
|
const _hoisted_5$7 = { class: "ux-text-wrap prefixed" };
|
|
8531
8565
|
const _hoisted_6$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
|
|
8532
8566
|
const _hoisted_7$5 = ["onBlur", "onUpdate:modelValue"];
|
|
@@ -8545,12 +8579,12 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8545
8579
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8546
8580
|
const _component_flex_row = resolveComponent("flex-row");
|
|
8547
8581
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8548
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8582
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$l, [
|
|
8549
8583
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8550
8584
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$f, "*")) : createCommentVNode("", true)
|
|
8551
8585
|
])) : createCommentVNode("", true),
|
|
8552
8586
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$c, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8553
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
8587
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
|
|
8554
8588
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
8555
8589
|
return openBlock(), createBlock(_component_flex_row, {
|
|
8556
8590
|
class: "ux-text-row",
|
|
@@ -8836,7 +8870,7 @@ const _sfc_main$o = {
|
|
|
8836
8870
|
}
|
|
8837
8871
|
}
|
|
8838
8872
|
};
|
|
8839
|
-
const _hoisted_1$
|
|
8873
|
+
const _hoisted_1$k = {
|
|
8840
8874
|
key: 0,
|
|
8841
8875
|
class: "ux-field-title"
|
|
8842
8876
|
};
|
|
@@ -8848,7 +8882,7 @@ const _hoisted_3$b = {
|
|
|
8848
8882
|
key: 1,
|
|
8849
8883
|
class: "ux-field-description"
|
|
8850
8884
|
};
|
|
8851
|
-
const _hoisted_4$
|
|
8885
|
+
const _hoisted_4$a = { key: 2 };
|
|
8852
8886
|
const _hoisted_5$6 = { class: "code-editor-field-wrap" };
|
|
8853
8887
|
const _hoisted_6$5 = {
|
|
8854
8888
|
key: 3,
|
|
@@ -8861,12 +8895,12 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8861
8895
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8862
8896
|
const _component_flex_row = resolveComponent("flex-row");
|
|
8863
8897
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8864
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8898
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$k, [
|
|
8865
8899
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8866
8900
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$e, "*")) : createCommentVNode("", true)
|
|
8867
8901
|
])) : createCommentVNode("", true),
|
|
8868
8902
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$b, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8869
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
8903
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
|
|
8870
8904
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
8871
8905
|
return openBlock(), createBlock(_component_flex_row, {
|
|
8872
8906
|
class: "ux-text-row",
|
|
@@ -9056,7 +9090,7 @@ const _sfc_main$n = {
|
|
|
9056
9090
|
}
|
|
9057
9091
|
}
|
|
9058
9092
|
};
|
|
9059
|
-
const _hoisted_1$
|
|
9093
|
+
const _hoisted_1$j = {
|
|
9060
9094
|
key: 0,
|
|
9061
9095
|
class: "ux-field-title"
|
|
9062
9096
|
};
|
|
@@ -9068,7 +9102,7 @@ const _hoisted_3$a = {
|
|
|
9068
9102
|
key: 1,
|
|
9069
9103
|
class: "ux-field-description"
|
|
9070
9104
|
};
|
|
9071
|
-
const _hoisted_4$
|
|
9105
|
+
const _hoisted_4$9 = {
|
|
9072
9106
|
key: 2,
|
|
9073
9107
|
class: "ui-select-button"
|
|
9074
9108
|
};
|
|
@@ -9083,12 +9117,12 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9083
9117
|
return openBlock(), createElementBlock("div", {
|
|
9084
9118
|
class: normalizeClass(["native-select", $options.classes])
|
|
9085
9119
|
}, [
|
|
9086
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
9120
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$j, [
|
|
9087
9121
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
9088
9122
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$d, "*")) : createCommentVNode("", true)
|
|
9089
9123
|
])) : createCommentVNode("", true),
|
|
9090
9124
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$a, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
9091
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
9125
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$9, [
|
|
9092
9126
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
9093
9127
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
9094
9128
|
default: withCtx(() => [
|
|
@@ -9222,7 +9256,7 @@ const _sfc_main$m = {
|
|
|
9222
9256
|
}
|
|
9223
9257
|
}
|
|
9224
9258
|
};
|
|
9225
|
-
const _hoisted_1$
|
|
9259
|
+
const _hoisted_1$i = {
|
|
9226
9260
|
key: 0,
|
|
9227
9261
|
class: "ux-field-title"
|
|
9228
9262
|
};
|
|
@@ -9234,7 +9268,7 @@ const _hoisted_3$9 = {
|
|
|
9234
9268
|
key: 1,
|
|
9235
9269
|
class: "ux-field-description"
|
|
9236
9270
|
};
|
|
9237
|
-
const _hoisted_4$
|
|
9271
|
+
const _hoisted_4$8 = {
|
|
9238
9272
|
key: 2,
|
|
9239
9273
|
class: "ui-select-button"
|
|
9240
9274
|
};
|
|
@@ -9249,12 +9283,12 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9249
9283
|
return openBlock(), createElementBlock("div", {
|
|
9250
9284
|
class: normalizeClass(["native-select", $options.classes])
|
|
9251
9285
|
}, [
|
|
9252
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
9286
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$i, [
|
|
9253
9287
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
9254
9288
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$c, "*")) : createCommentVNode("", true)
|
|
9255
9289
|
])) : createCommentVNode("", true),
|
|
9256
9290
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$9, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
9257
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
9291
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
|
|
9258
9292
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
9259
9293
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
9260
9294
|
default: withCtx(() => [
|
|
@@ -10513,7 +10547,7 @@ const _sfc_main$l = {
|
|
|
10513
10547
|
}
|
|
10514
10548
|
}
|
|
10515
10549
|
};
|
|
10516
|
-
const _hoisted_1$
|
|
10550
|
+
const _hoisted_1$h = {
|
|
10517
10551
|
key: 24,
|
|
10518
10552
|
class: "ux-field-message"
|
|
10519
10553
|
};
|
|
@@ -10735,7 +10769,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10735
10769
|
]),
|
|
10736
10770
|
_: 1
|
|
10737
10771
|
})) : createCommentVNode("", true),
|
|
10738
|
-
$options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10772
|
+
$options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$h, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
|
|
10739
10773
|
], 34)) : createCommentVNode("", true);
|
|
10740
10774
|
}
|
|
10741
10775
|
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-54e7b3ce"]]);
|
|
@@ -11007,17 +11041,15 @@ const _sfc_main$j = {
|
|
|
11007
11041
|
self2.state = STATE_PROCESSING;
|
|
11008
11042
|
await self2.preSubmit();
|
|
11009
11043
|
const submission = JSON.parse(JSON.stringify(self2.model));
|
|
11010
|
-
|
|
11011
|
-
|
|
11012
|
-
|
|
11013
|
-
|
|
11014
|
-
|
|
11015
|
-
|
|
11016
|
-
|
|
11017
|
-
|
|
11018
|
-
}
|
|
11019
|
-
await self2.postSubmit();
|
|
11020
|
-
self2.state = STATE_COMPLETE;
|
|
11044
|
+
self2.$qik.api.post(`/form/${self2.formID}`, submission).then(submissionComplete, submissionFailed);
|
|
11045
|
+
async function submissionComplete(res) {
|
|
11046
|
+
await self2.postSubmit();
|
|
11047
|
+
self2.state = STATE_COMPLETE;
|
|
11048
|
+
}
|
|
11049
|
+
async function submissionFailed(err) {
|
|
11050
|
+
self2.error = err;
|
|
11051
|
+
self2.state = STATE_ERROR;
|
|
11052
|
+
}
|
|
11021
11053
|
},
|
|
11022
11054
|
async preSubmit() {
|
|
11023
11055
|
},
|
|
@@ -11067,15 +11099,15 @@ const _sfc_main$j = {
|
|
|
11067
11099
|
}
|
|
11068
11100
|
}
|
|
11069
11101
|
};
|
|
11070
|
-
const _hoisted_1$
|
|
11102
|
+
const _hoisted_1$g = { class: "ux-submission-form" };
|
|
11071
11103
|
const _hoisted_2$b = /* @__PURE__ */ createTextVNode(" Try again ");
|
|
11072
11104
|
const _hoisted_3$8 = /* @__PURE__ */ createTextVNode(" Complete! ");
|
|
11073
|
-
const _hoisted_4$
|
|
11105
|
+
const _hoisted_4$7 = /* @__PURE__ */ createTextVNode(" Back to form ");
|
|
11074
11106
|
const _hoisted_5$3 = /* @__PURE__ */ createTextVNode(" Submit ");
|
|
11075
11107
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11076
11108
|
const _component_ux_button = resolveComponent("ux-button");
|
|
11077
11109
|
const _component_ux_form = resolveComponent("ux-form");
|
|
11078
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11110
|
+
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
11079
11111
|
$data.state === "form.error" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11080
11112
|
createElementVNode("pre", null, toDisplayString($data.error), 1),
|
|
11081
11113
|
createVNode(_component_ux_button, { onClick: $options.softReset }, {
|
|
@@ -11088,7 +11120,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11088
11120
|
_hoisted_3$8,
|
|
11089
11121
|
createVNode(_component_ux_button, { onClick: $options.reset }, {
|
|
11090
11122
|
default: withCtx(() => [
|
|
11091
|
-
_hoisted_4$
|
|
11123
|
+
_hoisted_4$7
|
|
11092
11124
|
]),
|
|
11093
11125
|
_: 1
|
|
11094
11126
|
}, 8, ["onClick"])
|
|
@@ -11179,11 +11211,11 @@ const _sfc_main$i = {
|
|
|
11179
11211
|
}
|
|
11180
11212
|
}
|
|
11181
11213
|
};
|
|
11182
|
-
const _hoisted_1$
|
|
11214
|
+
const _hoisted_1$f = { class: "search" };
|
|
11183
11215
|
const _hoisted_2$a = ["placeholder"];
|
|
11184
11216
|
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11185
11217
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
11186
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11218
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
11187
11219
|
withDirectives(createElementVNode("input", {
|
|
11188
11220
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.model = $event),
|
|
11189
11221
|
placeholder: $props.placeholder
|
|
@@ -11238,10 +11270,18 @@ var RenderMixin = {
|
|
|
11238
11270
|
return this.field.description;
|
|
11239
11271
|
},
|
|
11240
11272
|
singleValue() {
|
|
11241
|
-
|
|
11273
|
+
if (this.asObject) {
|
|
11274
|
+
var isSingle = this.minimum === 1 && this.maximum === 1;
|
|
11275
|
+
return isSingle;
|
|
11276
|
+
} else {
|
|
11277
|
+
return this.maximum === 1;
|
|
11278
|
+
}
|
|
11279
|
+
},
|
|
11280
|
+
type() {
|
|
11281
|
+
return this.field.type || "string";
|
|
11242
11282
|
},
|
|
11243
11283
|
multiValue() {
|
|
11244
|
-
return this.
|
|
11284
|
+
return !this.singleValue;
|
|
11245
11285
|
},
|
|
11246
11286
|
key() {
|
|
11247
11287
|
return this.field.key;
|
|
@@ -11324,7 +11364,7 @@ const _sfc_main$h = {
|
|
|
11324
11364
|
}
|
|
11325
11365
|
}
|
|
11326
11366
|
};
|
|
11327
|
-
const _hoisted_1$
|
|
11367
|
+
const _hoisted_1$e = {
|
|
11328
11368
|
key: 0,
|
|
11329
11369
|
class: "ux-multi-group"
|
|
11330
11370
|
};
|
|
@@ -11335,7 +11375,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11335
11375
|
const _component_ux_render = resolveComponent("ux-render");
|
|
11336
11376
|
const _component_ux_panel_body = resolveComponent("ux-panel-body");
|
|
11337
11377
|
const _component_ux_panel = resolveComponent("ux-panel");
|
|
11338
|
-
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
11378
|
+
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
11339
11379
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
11340
11380
|
return openBlock(), createBlock(_component_ux_panel, {
|
|
11341
11381
|
ref_for: true,
|
|
@@ -11388,7 +11428,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11388
11428
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model = $event)
|
|
11389
11429
|
}, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue"]));
|
|
11390
11430
|
}
|
|
11391
|
-
var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-
|
|
11431
|
+
var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-5d97d5ca"]]);
|
|
11392
11432
|
var field_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11393
11433
|
const _sfc_main$g = {
|
|
11394
11434
|
components: {
|
|
@@ -11580,10 +11620,10 @@ const _sfc_main$g = {
|
|
|
11580
11620
|
}
|
|
11581
11621
|
}
|
|
11582
11622
|
};
|
|
11583
|
-
const _hoisted_1$
|
|
11623
|
+
const _hoisted_1$d = { class: "ux-field-title" };
|
|
11584
11624
|
const _hoisted_2$9 = { class: "ux-field-description" };
|
|
11585
11625
|
const _hoisted_3$7 = { key: 1 };
|
|
11586
|
-
const _hoisted_4$
|
|
11626
|
+
const _hoisted_4$6 = { key: 1 };
|
|
11587
11627
|
const _hoisted_5$2 = { key: 1 };
|
|
11588
11628
|
const _hoisted_6$2 = ["href"];
|
|
11589
11629
|
const _hoisted_7$2 = { key: 1 };
|
|
@@ -11599,7 +11639,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11599
11639
|
key: 0,
|
|
11600
11640
|
class: normalizeClass(["ux-field-render", $options.classes])
|
|
11601
11641
|
}, [
|
|
11602
|
-
createElementVNode("label", _hoisted_1$
|
|
11642
|
+
createElementVNode("label", _hoisted_1$d, toDisplayString($options.title), 1),
|
|
11603
11643
|
createElementVNode("div", _hoisted_2$9, toDisplayString($props.field.description), 1),
|
|
11604
11644
|
$options.widget === "group" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11605
11645
|
$options.asObject ? (openBlock(), createBlock(_component_field_group, {
|
|
@@ -11646,7 +11686,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11646
11686
|
$options.type == "boolean" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
11647
11687
|
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
11648
11688
|
return openBlock(), createElementBlock("div", null, toDisplayString(!!value), 1);
|
|
11649
|
-
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
11689
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$6, toDisplayString(!!$options.fieldModel), 1))
|
|
11650
11690
|
], 64)) : createCommentVNode("", true),
|
|
11651
11691
|
$options.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
11652
11692
|
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
@@ -11683,7 +11723,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11683
11723
|
], 64))
|
|
11684
11724
|
], 2)) : createCommentVNode("", true);
|
|
11685
11725
|
}
|
|
11686
|
-
var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-
|
|
11726
|
+
var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-05569ffc"]]);
|
|
11687
11727
|
var render_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11688
11728
|
const _sfc_main$f = {
|
|
11689
11729
|
props: {
|
|
@@ -12177,11 +12217,11 @@ const _sfc_main$e = {
|
|
|
12177
12217
|
}
|
|
12178
12218
|
}
|
|
12179
12219
|
};
|
|
12180
|
-
const _hoisted_1$
|
|
12220
|
+
const _hoisted_1$c = { class: "table-image-cell" };
|
|
12181
12221
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12182
12222
|
const _component_ux_image = resolveComponent("ux-image");
|
|
12183
12223
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
12184
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
12224
|
+
return openBlock(), createElementBlock("td", _hoisted_1$c, [
|
|
12185
12225
|
$options.type == "image" || $options.type == "video" ? (openBlock(), createBlock(_component_ux_image, {
|
|
12186
12226
|
key: 0,
|
|
12187
12227
|
item: _ctx.row,
|
|
@@ -12219,11 +12259,11 @@ const _sfc_main$d = {
|
|
|
12219
12259
|
}
|
|
12220
12260
|
}
|
|
12221
12261
|
};
|
|
12222
|
-
const _hoisted_1$
|
|
12262
|
+
const _hoisted_1$b = { class: "table-button-cell" };
|
|
12223
12263
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12224
12264
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
12225
12265
|
const _component_ux_button = resolveComponent("ux-button");
|
|
12226
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
12266
|
+
return openBlock(), createElementBlock("td", _hoisted_1$b, [
|
|
12227
12267
|
createVNode(_component_ux_button, {
|
|
12228
12268
|
size: $options.button.size,
|
|
12229
12269
|
loading: $data.processing,
|
|
@@ -12833,7 +12873,7 @@ class Formatter {
|
|
|
12833
12873
|
return this.loc.numberFormatter(opts).format(n2);
|
|
12834
12874
|
}
|
|
12835
12875
|
formatDateTimeFromString(dt, fmt) {
|
|
12836
|
-
const knownEnglish = this.loc.listingMode() === "en", useDateTimeFormatter = this.loc.outputCalendar && this.loc.outputCalendar !== "gregory", string = (opts,
|
|
12876
|
+
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) => {
|
|
12837
12877
|
if (dt.isOffsetFixed && dt.offset === 0 && opts.allowZ) {
|
|
12838
12878
|
return "Z";
|
|
12839
12879
|
}
|
|
@@ -16095,16 +16135,16 @@ const _sfc_main$c = {
|
|
|
16095
16135
|
}
|
|
16096
16136
|
}
|
|
16097
16137
|
};
|
|
16098
|
-
const _hoisted_1$
|
|
16138
|
+
const _hoisted_1$a = { class: "table-date-cell" };
|
|
16099
16139
|
const _hoisted_2$8 = { class: "off" };
|
|
16100
16140
|
const _hoisted_3$6 = { class: "on" };
|
|
16101
|
-
const _hoisted_4$
|
|
16141
|
+
const _hoisted_4$5 = { class: "spacer" };
|
|
16102
16142
|
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16103
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
16143
|
+
return openBlock(), createElementBlock("td", _hoisted_1$a, [
|
|
16104
16144
|
createElementVNode("div", null, [
|
|
16105
16145
|
createElementVNode("span", _hoisted_2$8, toDisplayString($options.readable), 1),
|
|
16106
16146
|
createElementVNode("span", _hoisted_3$6, toDisplayString($options.timeago), 1),
|
|
16107
|
-
createElementVNode("span", _hoisted_4$
|
|
16147
|
+
createElementVNode("span", _hoisted_4$5, toDisplayString($options.readable), 1)
|
|
16108
16148
|
])
|
|
16109
16149
|
]);
|
|
16110
16150
|
}
|
|
@@ -16123,11 +16163,11 @@ const _sfc_main$b = {
|
|
|
16123
16163
|
}
|
|
16124
16164
|
}
|
|
16125
16165
|
};
|
|
16126
|
-
const _hoisted_1$
|
|
16166
|
+
const _hoisted_1$9 = { class: "table-url-cell" };
|
|
16127
16167
|
const _hoisted_2$7 = ["href"];
|
|
16128
16168
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16129
16169
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
16130
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
16170
|
+
return openBlock(), createElementBlock("td", _hoisted_1$9, [
|
|
16131
16171
|
createElementVNode("a", {
|
|
16132
16172
|
href: $options.href,
|
|
16133
16173
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
|
|
@@ -16145,6 +16185,12 @@ var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b
|
|
|
16145
16185
|
var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16146
16186
|
const _sfc_main$a = {
|
|
16147
16187
|
props: {
|
|
16188
|
+
multi: {
|
|
16189
|
+
type: Boolean
|
|
16190
|
+
},
|
|
16191
|
+
last: {
|
|
16192
|
+
type: Boolean
|
|
16193
|
+
},
|
|
16148
16194
|
value: {
|
|
16149
16195
|
required: true
|
|
16150
16196
|
},
|
|
@@ -16185,6 +16231,7 @@ const _sfc_main$a = {
|
|
|
16185
16231
|
}
|
|
16186
16232
|
}
|
|
16187
16233
|
};
|
|
16234
|
+
const _hoisted_1$8 = /* @__PURE__ */ createTextVNode(",\xA0");
|
|
16188
16235
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16189
16236
|
return $options.reference ? (openBlock(), createElementBlock("a", {
|
|
16190
16237
|
key: 0,
|
|
@@ -16192,11 +16239,37 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16192
16239
|
}, toDisplayString($options.renderValue), 1)) : $props.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
16193
16240
|
createTextVNode(toDisplayString($options.date), 1)
|
|
16194
16241
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
16195
|
-
createTextVNode(toDisplayString($options.renderValue), 1)
|
|
16242
|
+
createTextVNode(toDisplayString($options.renderValue), 1),
|
|
16243
|
+
$props.multi && !$props.last ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
16244
|
+
_hoisted_1$8
|
|
16245
|
+
], 64)) : createCommentVNode("", true)
|
|
16196
16246
|
], 64));
|
|
16197
16247
|
}
|
|
16198
|
-
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-
|
|
16248
|
+
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-ff63e962"]]);
|
|
16199
16249
|
var TableCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16250
|
+
function extract(row, path) {
|
|
16251
|
+
if (!row) {
|
|
16252
|
+
return;
|
|
16253
|
+
}
|
|
16254
|
+
if (!path) {
|
|
16255
|
+
return;
|
|
16256
|
+
}
|
|
16257
|
+
var pathValue = get_1(row, path);
|
|
16258
|
+
if (pathValue) {
|
|
16259
|
+
return pathValue;
|
|
16260
|
+
}
|
|
16261
|
+
const pieces = path.split(".");
|
|
16262
|
+
const key = pieces.shift();
|
|
16263
|
+
const remainder = pieces.join(".");
|
|
16264
|
+
const stub = get_1(row, key);
|
|
16265
|
+
if (Array.isArray(stub)) {
|
|
16266
|
+
return stub.map(function(r) {
|
|
16267
|
+
return extract(r, remainder);
|
|
16268
|
+
}).flat().filter(Boolean);
|
|
16269
|
+
} else {
|
|
16270
|
+
return extract(stub, remainder);
|
|
16271
|
+
}
|
|
16272
|
+
}
|
|
16200
16273
|
const _sfc_main$9 = {
|
|
16201
16274
|
data() {
|
|
16202
16275
|
return {
|
|
@@ -16267,7 +16340,7 @@ const _sfc_main$9 = {
|
|
|
16267
16340
|
return value.title || value.name || value;
|
|
16268
16341
|
},
|
|
16269
16342
|
value() {
|
|
16270
|
-
var v =
|
|
16343
|
+
var v = extract(this.row, this.column.key);
|
|
16271
16344
|
return v;
|
|
16272
16345
|
}
|
|
16273
16346
|
}
|
|
@@ -16278,7 +16351,6 @@ const _hoisted_1$7 = {
|
|
|
16278
16351
|
};
|
|
16279
16352
|
const _hoisted_2$6 = { class: "value" };
|
|
16280
16353
|
const _hoisted_3$5 = { class: "value" };
|
|
16281
|
-
const _hoisted_4$5 = /* @__PURE__ */ createTextVNode(", ");
|
|
16282
16354
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16283
16355
|
const _component_value_renderer = resolveComponent("value-renderer");
|
|
16284
16356
|
return $data.component ? (openBlock(), createBlock(resolveDynamicComponent($data.component), {
|
|
@@ -16288,20 +16360,23 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16288
16360
|
value: $options.value
|
|
16289
16361
|
}, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$7, [
|
|
16290
16362
|
$options.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
16291
|
-
$options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry) => {
|
|
16363
|
+
$options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry, index2) => {
|
|
16292
16364
|
return openBlock(), createElementBlock("span", _hoisted_2$6, [
|
|
16293
16365
|
createVNode(_component_value_renderer, {
|
|
16294
16366
|
type: $props.column.type,
|
|
16367
|
+
multi: "",
|
|
16368
|
+
last: index2 === $options.value.length - 1,
|
|
16295
16369
|
value: entry
|
|
16296
|
-
}, null, 8, ["type", "value"])
|
|
16370
|
+
}, null, 8, ["type", "last", "value"])
|
|
16297
16371
|
]);
|
|
16298
|
-
}), 256)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.value, (entry) => {
|
|
16372
|
+
}), 256)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.value, (entry, index2) => {
|
|
16299
16373
|
return openBlock(), createElementBlock("span", _hoisted_3$5, [
|
|
16300
16374
|
createVNode(_component_value_renderer, {
|
|
16301
16375
|
type: $props.column.type,
|
|
16376
|
+
multi: "",
|
|
16377
|
+
last: index2 === $options.value.length - 1,
|
|
16302
16378
|
value: entry
|
|
16303
|
-
}, null, 8, ["type", "value"])
|
|
16304
|
-
_hoisted_4$5
|
|
16379
|
+
}, null, 8, ["type", "last", "value"])
|
|
16305
16380
|
]);
|
|
16306
16381
|
}), 256))
|
|
16307
16382
|
], 64)) : (openBlock(), createBlock(_component_value_renderer, {
|
|
@@ -16311,7 +16386,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16311
16386
|
}, null, 8, ["type", "value"]))
|
|
16312
16387
|
]));
|
|
16313
16388
|
}
|
|
16314
|
-
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-
|
|
16389
|
+
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-054965d2"]]);
|
|
16315
16390
|
const _sfc_main$8 = {
|
|
16316
16391
|
components: {
|
|
16317
16392
|
TableCell
|
|
@@ -16691,7 +16766,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16691
16766
|
], 512)
|
|
16692
16767
|
]);
|
|
16693
16768
|
}
|
|
16694
|
-
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-
|
|
16769
|
+
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-e626ef3a"]]);
|
|
16695
16770
|
function Selection(options) {
|
|
16696
16771
|
options = options || {};
|
|
16697
16772
|
Math.max(parseInt(options.minimum || 0), 0);
|
|
@@ -17252,6 +17327,25 @@ const _sfc_main$5 = {
|
|
|
17252
17327
|
}
|
|
17253
17328
|
},
|
|
17254
17329
|
computed: {
|
|
17330
|
+
combinedFilter() {
|
|
17331
|
+
const self2 = this;
|
|
17332
|
+
let userSelectedFilters = self2.filter;
|
|
17333
|
+
let lockFilter = self2.options.lockFilter;
|
|
17334
|
+
if (!lockFilter) {
|
|
17335
|
+
return userSelectedFilters;
|
|
17336
|
+
}
|
|
17337
|
+
userSelectedFilters = JSON.parse(JSON.stringify(userSelectedFilters));
|
|
17338
|
+
lockFilter = JSON.parse(JSON.stringify(lockFilter));
|
|
17339
|
+
let combinedFilter;
|
|
17340
|
+
if (userSelectedFilters.operator === "and") {
|
|
17341
|
+
combinedFilter = userSelectedFilters;
|
|
17342
|
+
combinedFilter.filters.push(lockFilter);
|
|
17343
|
+
} else {
|
|
17344
|
+
combinedFilter = lockFilter;
|
|
17345
|
+
lockFilter.filters.push(userSelectedFilters);
|
|
17346
|
+
}
|
|
17347
|
+
return combinedFilter;
|
|
17348
|
+
},
|
|
17255
17349
|
viewMode() {
|
|
17256
17350
|
var view = this.view;
|
|
17257
17351
|
switch (view.key) {
|
|
@@ -17295,6 +17389,13 @@ const _sfc_main$5 = {
|
|
|
17295
17389
|
fields: definedFields
|
|
17296
17390
|
};
|
|
17297
17391
|
allFields.push(formDataFields);
|
|
17392
|
+
const cleanedDataFields = definedFields.map(function(field) {
|
|
17393
|
+
if (field.type === "reference") {
|
|
17394
|
+
field = JSON.parse(JSON.stringify(field));
|
|
17395
|
+
delete field.fields;
|
|
17396
|
+
}
|
|
17397
|
+
return field;
|
|
17398
|
+
});
|
|
17298
17399
|
var dataFields = {
|
|
17299
17400
|
title: `Data`,
|
|
17300
17401
|
minimum: 1,
|
|
@@ -17302,7 +17403,7 @@ const _sfc_main$5 = {
|
|
|
17302
17403
|
key: "data",
|
|
17303
17404
|
asObject: true,
|
|
17304
17405
|
type: "group",
|
|
17305
|
-
fields:
|
|
17406
|
+
fields: cleanedDataFields
|
|
17306
17407
|
};
|
|
17307
17408
|
allFields.push(dataFields);
|
|
17308
17409
|
} else {
|
|
@@ -17336,7 +17437,18 @@ const _sfc_main$5 = {
|
|
|
17336
17437
|
return this.manager.items.slice();
|
|
17337
17438
|
},
|
|
17338
17439
|
activeFilters() {
|
|
17339
|
-
var activeFilters = this.$qik.filter.activeFilters(this.filter)
|
|
17440
|
+
var activeFilters = this.$qik.filter.activeFilters(this.filter).reduce(function(set, filter) {
|
|
17441
|
+
if (!filter.key) {
|
|
17442
|
+
return set;
|
|
17443
|
+
}
|
|
17444
|
+
filter = __spreadValues({}, filter);
|
|
17445
|
+
filter.title = `Filter ${set.length + 1}`;
|
|
17446
|
+
filter.key = filter.key.split("[]").join("");
|
|
17447
|
+
filter.class = "active-filter";
|
|
17448
|
+
filter.shrink = true;
|
|
17449
|
+
set.push(filter);
|
|
17450
|
+
return set;
|
|
17451
|
+
}, []);
|
|
17340
17452
|
return activeFilters;
|
|
17341
17453
|
},
|
|
17342
17454
|
searching() {
|
|
@@ -17352,7 +17464,9 @@ const _sfc_main$5 = {
|
|
|
17352
17464
|
const self2 = this;
|
|
17353
17465
|
var fields = self2.columns.map(function(column) {
|
|
17354
17466
|
return column.path || column.key;
|
|
17355
|
-
}).flat()
|
|
17467
|
+
}).flat().filter(Boolean).map(function(string) {
|
|
17468
|
+
return string.split("[]").join("");
|
|
17469
|
+
});
|
|
17356
17470
|
if (self2.options.select) {
|
|
17357
17471
|
fields = [...fields, ...self2.options.select];
|
|
17358
17472
|
}
|
|
@@ -17413,7 +17527,7 @@ const _sfc_main$5 = {
|
|
|
17413
17527
|
var search = self2.keywords;
|
|
17414
17528
|
var select = self2.selectFields;
|
|
17415
17529
|
var page = self2.page;
|
|
17416
|
-
var filter = self2.
|
|
17530
|
+
var filter = self2.combinedFilter;
|
|
17417
17531
|
return {
|
|
17418
17532
|
sort: sort2,
|
|
17419
17533
|
search,
|
|
@@ -17547,7 +17661,7 @@ const _sfc_main$5 = {
|
|
|
17547
17661
|
};
|
|
17548
17662
|
}
|
|
17549
17663
|
};
|
|
17550
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
17664
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-93998f7a"), n2 = n2(), popScopeId(), n2);
|
|
17551
17665
|
const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
17552
17666
|
const _hoisted_2$4 = { class: "footer" };
|
|
17553
17667
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -17661,9 +17775,13 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17661
17775
|
})
|
|
17662
17776
|
]),
|
|
17663
17777
|
_: 1
|
|
17664
|
-
})) :
|
|
17665
|
-
$props.showFilters ? (openBlock(), createBlock(_component_flex_column, {
|
|
17778
|
+
})) : (openBlock(), createBlock(_component_flex_column, {
|
|
17666
17779
|
key: 2,
|
|
17780
|
+
class: "empty",
|
|
17781
|
+
center: ""
|
|
17782
|
+
})),
|
|
17783
|
+
$props.showFilters ? (openBlock(), createBlock(_component_flex_column, {
|
|
17784
|
+
key: 3,
|
|
17667
17785
|
class: "filter-column"
|
|
17668
17786
|
}, {
|
|
17669
17787
|
default: withCtx(() => [
|
|
@@ -17717,7 +17835,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17717
17835
|
_: 3
|
|
17718
17836
|
})) : createCommentVNode("", true);
|
|
17719
17837
|
}
|
|
17720
|
-
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-
|
|
17838
|
+
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-93998f7a"]]);
|
|
17721
17839
|
var ModalMixin = {
|
|
17722
17840
|
props: {
|
|
17723
17841
|
options: {
|