@qikdev/vue-ui 0.1.40 → 0.1.43
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 +315 -193
- 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.43";
|
|
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, {
|
|
@@ -6569,7 +6571,8 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6569
6571
|
modelValue: $data.model.key,
|
|
6570
6572
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.key = $event),
|
|
6571
6573
|
field: $options.keyField
|
|
6572
|
-
}, null, 8, ["modelValue", "field"])
|
|
6574
|
+
}, null, 8, ["modelValue", "field"]),
|
|
6575
|
+
createElementVNode("pre", null, toDisplayString($options.keyOptions), 1)
|
|
6573
6576
|
]),
|
|
6574
6577
|
_: 1
|
|
6575
6578
|
}),
|
|
@@ -6605,7 +6608,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6605
6608
|
modelValue: $data.model.value,
|
|
6606
6609
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.model.value = $event)
|
|
6607
6610
|
}, null, 8, ["field", "modelValue"]),
|
|
6608
|
-
_hoisted_4$
|
|
6611
|
+
_hoisted_4$i,
|
|
6609
6612
|
createVNode(_component_text_field, {
|
|
6610
6613
|
field: $options.normalField,
|
|
6611
6614
|
modelValue: $data.model.value2,
|
|
@@ -6989,21 +6992,53 @@ const _sfc_main$A = {
|
|
|
6989
6992
|
}
|
|
6990
6993
|
},
|
|
6991
6994
|
fields() {
|
|
6992
|
-
|
|
6993
|
-
var
|
|
6995
|
+
const self2 = this;
|
|
6996
|
+
var allFields = self2.definition && self2.definition.fields ? [...self2.definition.fields] : [];
|
|
6997
|
+
var definedFields = self2.definition && self2.definition.definedFields ? self2.definition.definedFields : [];
|
|
6998
|
+
const isFormSubmission = self2.definition.definesType === "submission";
|
|
6994
6999
|
if (definedFields.length) {
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
7000
|
+
if (isFormSubmission) {
|
|
7001
|
+
var formDataFields = {
|
|
7002
|
+
title: `Form Data`,
|
|
7003
|
+
minimum: 1,
|
|
7004
|
+
maximum: 1,
|
|
7005
|
+
key: "formData",
|
|
7006
|
+
asObject: true,
|
|
7007
|
+
type: "group",
|
|
7008
|
+
fields: definedFields
|
|
7009
|
+
};
|
|
7010
|
+
allFields.push(formDataFields);
|
|
7011
|
+
const cleanedDataFields = definedFields.map(function(field) {
|
|
7012
|
+
if (field.type === "reference") {
|
|
7013
|
+
field = JSON.parse(JSON.stringify(field));
|
|
7014
|
+
delete field.fields;
|
|
7015
|
+
}
|
|
7016
|
+
return field;
|
|
7017
|
+
});
|
|
7018
|
+
var dataFields = {
|
|
7019
|
+
title: `Data`,
|
|
7020
|
+
minimum: 1,
|
|
7021
|
+
maximum: 1,
|
|
7022
|
+
key: "data",
|
|
7023
|
+
asObject: true,
|
|
7024
|
+
type: "group",
|
|
7025
|
+
fields: cleanedDataFields
|
|
7026
|
+
};
|
|
7027
|
+
allFields.push(dataFields);
|
|
7028
|
+
} else {
|
|
7029
|
+
var dataFields = {
|
|
7030
|
+
title: `${self2.definition.title}`,
|
|
7031
|
+
minimum: 1,
|
|
7032
|
+
maximum: 1,
|
|
7033
|
+
key: "data",
|
|
7034
|
+
asObject: true,
|
|
7035
|
+
type: "group",
|
|
7036
|
+
fields: definedFields
|
|
7037
|
+
};
|
|
7038
|
+
allFields.push(dataFields);
|
|
7039
|
+
}
|
|
7005
7040
|
}
|
|
7006
|
-
var mapped =
|
|
7041
|
+
var mapped = self2.$qik.utils.mapFields(allFields, { includeArrayDelimeter: true });
|
|
7007
7042
|
return mapped;
|
|
7008
7043
|
},
|
|
7009
7044
|
operatorField() {
|
|
@@ -7032,10 +7067,10 @@ const _sfc_main$A = {
|
|
|
7032
7067
|
NativeSelect
|
|
7033
7068
|
}
|
|
7034
7069
|
};
|
|
7035
|
-
const _hoisted_1$
|
|
7070
|
+
const _hoisted_1$u = { class: "filter-rule" };
|
|
7036
7071
|
const _hoisted_2$n = { class: "top" };
|
|
7037
7072
|
const _hoisted_3$j = { class: "summary" };
|
|
7038
|
-
const _hoisted_4$
|
|
7073
|
+
const _hoisted_4$h = /* @__PURE__ */ createTextVNode(" Match ");
|
|
7039
7074
|
const _hoisted_5$b = /* @__PURE__ */ createTextVNode(" of the following conditions ");
|
|
7040
7075
|
const _hoisted_6$9 = /* @__PURE__ */ createElementVNode("span", { class: "line" }, null, -1);
|
|
7041
7076
|
const _hoisted_7$7 = { class: "operator" };
|
|
@@ -7047,14 +7082,14 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7047
7082
|
const _component_ux_button = resolveComponent("ux-button");
|
|
7048
7083
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7049
7084
|
const _component_filter_condition = resolveComponent("filter-condition");
|
|
7050
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7085
|
+
return openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
7051
7086
|
createElementVNode("div", _hoisted_2$n, [
|
|
7052
7087
|
createVNode(_component_flex_row, null, {
|
|
7053
7088
|
default: withCtx(() => [
|
|
7054
7089
|
createVNode(_component_flex_cell, null, {
|
|
7055
7090
|
default: withCtx(() => [
|
|
7056
7091
|
createElementVNode("div", _hoisted_3$j, [
|
|
7057
|
-
_hoisted_4$
|
|
7092
|
+
_hoisted_4$h,
|
|
7058
7093
|
createVNode(_component_native_select, {
|
|
7059
7094
|
modelValue: $data.model.operator,
|
|
7060
7095
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
|
|
@@ -7236,13 +7271,13 @@ const _sfc_main$z = {
|
|
|
7236
7271
|
};
|
|
7237
7272
|
}
|
|
7238
7273
|
};
|
|
7239
|
-
const _hoisted_1$
|
|
7274
|
+
const _hoisted_1$t = { class: "filters" };
|
|
7240
7275
|
const _hoisted_2$m = {
|
|
7241
7276
|
key: 0,
|
|
7242
7277
|
class: "top"
|
|
7243
7278
|
};
|
|
7244
7279
|
const _hoisted_3$i = { class: "summary" };
|
|
7245
|
-
const _hoisted_4$
|
|
7280
|
+
const _hoisted_4$g = /* @__PURE__ */ createTextVNode(" Match ");
|
|
7246
7281
|
const _hoisted_5$a = /* @__PURE__ */ createTextVNode(" of the following rules ");
|
|
7247
7282
|
const _hoisted_6$8 = /* @__PURE__ */ createTextVNode("Add Filter Rule");
|
|
7248
7283
|
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -7255,10 +7290,10 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7255
7290
|
default: withCtx(() => [
|
|
7256
7291
|
createVNode(_component_flex_body, null, {
|
|
7257
7292
|
default: withCtx(() => [
|
|
7258
|
-
createElementVNode("div", _hoisted_1$
|
|
7293
|
+
createElementVNode("div", _hoisted_1$t, [
|
|
7259
7294
|
$data.model && $data.model.filters && $data.model.filters.length ? (openBlock(), createElementBlock("div", _hoisted_2$m, [
|
|
7260
7295
|
createElementVNode("div", _hoisted_3$i, [
|
|
7261
|
-
_hoisted_4$
|
|
7296
|
+
_hoisted_4$g,
|
|
7262
7297
|
createVNode(_component_native_select, {
|
|
7263
7298
|
modelValue: $data.model.operator,
|
|
7264
7299
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
|
|
@@ -7343,7 +7378,7 @@ const _sfc_main$y = {
|
|
|
7343
7378
|
}
|
|
7344
7379
|
}
|
|
7345
7380
|
};
|
|
7346
|
-
const _hoisted_1$
|
|
7381
|
+
const _hoisted_1$s = {
|
|
7347
7382
|
key: 0,
|
|
7348
7383
|
class: "ux-field-title"
|
|
7349
7384
|
};
|
|
@@ -7355,7 +7390,7 @@ const _hoisted_3$h = {
|
|
|
7355
7390
|
key: 1,
|
|
7356
7391
|
class: "ux-field-description"
|
|
7357
7392
|
};
|
|
7358
|
-
const _hoisted_4$
|
|
7393
|
+
const _hoisted_4$f = { key: 2 };
|
|
7359
7394
|
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7360
7395
|
const _component_filter_builder = resolveComponent("filter-builder");
|
|
7361
7396
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
@@ -7363,12 +7398,12 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7363
7398
|
const _component_ux_button = resolveComponent("ux-button");
|
|
7364
7399
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7365
7400
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
7366
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7401
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$s, [
|
|
7367
7402
|
createTextVNode(toDisplayString(_ctx.label) + " (" + toDisplayString($options.definitionTitle) + ") ", 1),
|
|
7368
7403
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$l, "*")) : createCommentVNode("", true)
|
|
7369
7404
|
])) : createCommentVNode("", true),
|
|
7370
7405
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$h, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
7371
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
7406
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$f, [
|
|
7372
7407
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
7373
7408
|
return openBlock(), createBlock(_component_flex_row, {
|
|
7374
7409
|
class: "ux-text-row",
|
|
@@ -7466,7 +7501,7 @@ const _sfc_main$x = {
|
|
|
7466
7501
|
}
|
|
7467
7502
|
}
|
|
7468
7503
|
};
|
|
7469
|
-
const _hoisted_1$
|
|
7504
|
+
const _hoisted_1$r = {
|
|
7470
7505
|
key: 0,
|
|
7471
7506
|
class: "ux-field-title"
|
|
7472
7507
|
};
|
|
@@ -7502,7 +7537,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7502
7537
|
createVNode(_component_flex_cell, { vcenter: "" }, {
|
|
7503
7538
|
default: withCtx(() => [
|
|
7504
7539
|
createElementVNode("div", null, [
|
|
7505
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7540
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$r, [
|
|
7506
7541
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
7507
7542
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$k, "*")) : createCommentVNode("", true)
|
|
7508
7543
|
])) : createCommentVNode("", true),
|
|
@@ -7551,7 +7586,7 @@ const _sfc_main$w = {
|
|
|
7551
7586
|
}
|
|
7552
7587
|
}
|
|
7553
7588
|
};
|
|
7554
|
-
const _hoisted_1$
|
|
7589
|
+
const _hoisted_1$q = ["multiple"];
|
|
7555
7590
|
const _hoisted_2$j = /* @__PURE__ */ createTextVNode("Select Files");
|
|
7556
7591
|
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7557
7592
|
const _component_ux_button = resolveComponent("ux-button");
|
|
@@ -7565,7 +7600,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7565
7600
|
type: "file",
|
|
7566
7601
|
multiple: $props.multiple,
|
|
7567
7602
|
onChange: _cache[0] || (_cache[0] = ($event) => $options.filesSelected($event.target.files))
|
|
7568
|
-
}, null, 40, _hoisted_1$
|
|
7603
|
+
}, null, 40, _hoisted_1$q),
|
|
7569
7604
|
createElementVNode("div", {
|
|
7570
7605
|
class: "file-drop-ux",
|
|
7571
7606
|
onClick: _cache[1] || (_cache[1] = (...args) => $options.clicked && $options.clicked(...args))
|
|
@@ -7714,7 +7749,7 @@ const _sfc_main$v = {
|
|
|
7714
7749
|
},
|
|
7715
7750
|
computed: {}
|
|
7716
7751
|
};
|
|
7717
|
-
const _hoisted_1$
|
|
7752
|
+
const _hoisted_1$p = {
|
|
7718
7753
|
key: 0,
|
|
7719
7754
|
class: "ux-field-title"
|
|
7720
7755
|
};
|
|
@@ -7726,7 +7761,7 @@ const _hoisted_3$f = {
|
|
|
7726
7761
|
key: 1,
|
|
7727
7762
|
class: "ux-field-description"
|
|
7728
7763
|
};
|
|
7729
|
-
const _hoisted_4$
|
|
7764
|
+
const _hoisted_4$e = {
|
|
7730
7765
|
key: 2,
|
|
7731
7766
|
class: "files"
|
|
7732
7767
|
};
|
|
@@ -7741,12 +7776,12 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7741
7776
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7742
7777
|
const _component_file_drop = resolveComponent("file-drop");
|
|
7743
7778
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
7744
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7779
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$p, [
|
|
7745
7780
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
7746
7781
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$i, "*")) : createCommentVNode("", true)
|
|
7747
7782
|
])) : createCommentVNode("", true),
|
|
7748
7783
|
_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$
|
|
7784
|
+
$data.files && $data.files.length ? (openBlock(), createElementBlock("div", _hoisted_4$e, [
|
|
7750
7785
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.files, (file, index2) => {
|
|
7751
7786
|
return openBlock(), createElementBlock("div", {
|
|
7752
7787
|
class: "file-item",
|
|
@@ -7889,7 +7924,7 @@ const _sfc_main$u = {
|
|
|
7889
7924
|
}
|
|
7890
7925
|
}
|
|
7891
7926
|
};
|
|
7892
|
-
const _hoisted_1$
|
|
7927
|
+
const _hoisted_1$o = {
|
|
7893
7928
|
key: 0,
|
|
7894
7929
|
class: "ux-multi-group"
|
|
7895
7930
|
};
|
|
@@ -7903,7 +7938,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7903
7938
|
const _component_ux_panel_body = resolveComponent("ux-panel-body");
|
|
7904
7939
|
const _component_ux_panel = resolveComponent("ux-panel");
|
|
7905
7940
|
const _component_draggable = resolveComponent("draggable");
|
|
7906
|
-
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7941
|
+
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
7907
7942
|
$options.reorderable ? (openBlock(), createBlock(_component_draggable, {
|
|
7908
7943
|
key: 0,
|
|
7909
7944
|
modelValue: _ctx.model,
|
|
@@ -8133,7 +8168,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8133
8168
|
fields: _ctx.field.fields
|
|
8134
8169
|
}, null, 8, ["onForm:state", "parentModel", "modelValue", "flex", "fields"]));
|
|
8135
8170
|
}
|
|
8136
|
-
var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-
|
|
8171
|
+
var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-121d7a2c"]]);
|
|
8137
8172
|
const _sfc_main$t = {
|
|
8138
8173
|
props: {
|
|
8139
8174
|
option: {
|
|
@@ -8277,7 +8312,7 @@ const _sfc_main$s = {
|
|
|
8277
8312
|
}
|
|
8278
8313
|
}
|
|
8279
8314
|
};
|
|
8280
|
-
const _hoisted_1$
|
|
8315
|
+
const _hoisted_1$n = {
|
|
8281
8316
|
key: 0,
|
|
8282
8317
|
class: "ux-field-title"
|
|
8283
8318
|
};
|
|
@@ -8289,18 +8324,18 @@ const _hoisted_3$e = {
|
|
|
8289
8324
|
key: 1,
|
|
8290
8325
|
class: "ux-field-description"
|
|
8291
8326
|
};
|
|
8292
|
-
const _hoisted_4$
|
|
8327
|
+
const _hoisted_4$d = { class: "buttons" };
|
|
8293
8328
|
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8294
8329
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
8295
8330
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8296
8331
|
const _component_option_slot = resolveComponent("option-slot");
|
|
8297
8332
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8298
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8333
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$n, [
|
|
8299
8334
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8300
8335
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$h, "*")) : createCommentVNode("", true)
|
|
8301
8336
|
])) : createCommentVNode("", true),
|
|
8302
8337
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$e, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8303
|
-
createElementVNode("div", _hoisted_4$
|
|
8338
|
+
createElementVNode("div", _hoisted_4$d, [
|
|
8304
8339
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selectableOptions, (option2) => {
|
|
8305
8340
|
return openBlock(), createBlock(_component_option_slot, { option: option2 }, {
|
|
8306
8341
|
default: withCtx(({ plainValue }) => [
|
|
@@ -8340,7 +8375,7 @@ const _sfc_main$r = {
|
|
|
8340
8375
|
}
|
|
8341
8376
|
}
|
|
8342
8377
|
};
|
|
8343
|
-
const _hoisted_1$
|
|
8378
|
+
const _hoisted_1$m = {
|
|
8344
8379
|
key: 0,
|
|
8345
8380
|
class: "ux-field-title"
|
|
8346
8381
|
};
|
|
@@ -8352,7 +8387,7 @@ const _hoisted_3$d = {
|
|
|
8352
8387
|
key: 1,
|
|
8353
8388
|
class: "ux-field-description"
|
|
8354
8389
|
};
|
|
8355
|
-
const _hoisted_4$
|
|
8390
|
+
const _hoisted_4$c = { key: 2 };
|
|
8356
8391
|
const _hoisted_5$8 = { key: 3 };
|
|
8357
8392
|
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8358
8393
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
@@ -8360,12 +8395,12 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8360
8395
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8361
8396
|
const _component_flex_row = resolveComponent("flex-row");
|
|
8362
8397
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8363
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8398
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$m, [
|
|
8364
8399
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8365
8400
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$g, "*")) : createCommentVNode("", true)
|
|
8366
8401
|
])) : createCommentVNode("", true),
|
|
8367
8402
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$d, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8368
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
8403
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
|
|
8369
8404
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
8370
8405
|
return openBlock(), createBlock(_component_flex_row, {
|
|
8371
8406
|
class: "ux-text-row",
|
|
@@ -8514,7 +8549,7 @@ const _sfc_main$q = {
|
|
|
8514
8549
|
}
|
|
8515
8550
|
};
|
|
8516
8551
|
const _withScopeId$1 = (n2) => (pushScopeId("data-v-42a51394"), n2 = n2(), popScopeId(), n2);
|
|
8517
|
-
const _hoisted_1$
|
|
8552
|
+
const _hoisted_1$l = {
|
|
8518
8553
|
key: 0,
|
|
8519
8554
|
class: "ux-field-title"
|
|
8520
8555
|
};
|
|
@@ -8526,7 +8561,7 @@ const _hoisted_3$c = {
|
|
|
8526
8561
|
key: 1,
|
|
8527
8562
|
class: "ux-field-description"
|
|
8528
8563
|
};
|
|
8529
|
-
const _hoisted_4$
|
|
8564
|
+
const _hoisted_4$b = { key: 2 };
|
|
8530
8565
|
const _hoisted_5$7 = { class: "ux-text-wrap prefixed" };
|
|
8531
8566
|
const _hoisted_6$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
|
|
8532
8567
|
const _hoisted_7$5 = ["onBlur", "onUpdate:modelValue"];
|
|
@@ -8545,12 +8580,12 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8545
8580
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8546
8581
|
const _component_flex_row = resolveComponent("flex-row");
|
|
8547
8582
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8548
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8583
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$l, [
|
|
8549
8584
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8550
8585
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$f, "*")) : createCommentVNode("", true)
|
|
8551
8586
|
])) : createCommentVNode("", true),
|
|
8552
8587
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$c, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8553
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
8588
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
|
|
8554
8589
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
8555
8590
|
return openBlock(), createBlock(_component_flex_row, {
|
|
8556
8591
|
class: "ux-text-row",
|
|
@@ -8836,7 +8871,7 @@ const _sfc_main$o = {
|
|
|
8836
8871
|
}
|
|
8837
8872
|
}
|
|
8838
8873
|
};
|
|
8839
|
-
const _hoisted_1$
|
|
8874
|
+
const _hoisted_1$k = {
|
|
8840
8875
|
key: 0,
|
|
8841
8876
|
class: "ux-field-title"
|
|
8842
8877
|
};
|
|
@@ -8848,7 +8883,7 @@ const _hoisted_3$b = {
|
|
|
8848
8883
|
key: 1,
|
|
8849
8884
|
class: "ux-field-description"
|
|
8850
8885
|
};
|
|
8851
|
-
const _hoisted_4$
|
|
8886
|
+
const _hoisted_4$a = { key: 2 };
|
|
8852
8887
|
const _hoisted_5$6 = { class: "code-editor-field-wrap" };
|
|
8853
8888
|
const _hoisted_6$5 = {
|
|
8854
8889
|
key: 3,
|
|
@@ -8861,12 +8896,12 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8861
8896
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8862
8897
|
const _component_flex_row = resolveComponent("flex-row");
|
|
8863
8898
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
8864
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8899
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$k, [
|
|
8865
8900
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8866
8901
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$e, "*")) : createCommentVNode("", true)
|
|
8867
8902
|
])) : createCommentVNode("", true),
|
|
8868
8903
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$b, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8869
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
8904
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
|
|
8870
8905
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
8871
8906
|
return openBlock(), createBlock(_component_flex_row, {
|
|
8872
8907
|
class: "ux-text-row",
|
|
@@ -9056,7 +9091,7 @@ const _sfc_main$n = {
|
|
|
9056
9091
|
}
|
|
9057
9092
|
}
|
|
9058
9093
|
};
|
|
9059
|
-
const _hoisted_1$
|
|
9094
|
+
const _hoisted_1$j = {
|
|
9060
9095
|
key: 0,
|
|
9061
9096
|
class: "ux-field-title"
|
|
9062
9097
|
};
|
|
@@ -9068,7 +9103,7 @@ const _hoisted_3$a = {
|
|
|
9068
9103
|
key: 1,
|
|
9069
9104
|
class: "ux-field-description"
|
|
9070
9105
|
};
|
|
9071
|
-
const _hoisted_4$
|
|
9106
|
+
const _hoisted_4$9 = {
|
|
9072
9107
|
key: 2,
|
|
9073
9108
|
class: "ui-select-button"
|
|
9074
9109
|
};
|
|
@@ -9083,12 +9118,12 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9083
9118
|
return openBlock(), createElementBlock("div", {
|
|
9084
9119
|
class: normalizeClass(["native-select", $options.classes])
|
|
9085
9120
|
}, [
|
|
9086
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
9121
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$j, [
|
|
9087
9122
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
9088
9123
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$d, "*")) : createCommentVNode("", true)
|
|
9089
9124
|
])) : createCommentVNode("", true),
|
|
9090
9125
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$a, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
9091
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
9126
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$9, [
|
|
9092
9127
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
9093
9128
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
9094
9129
|
default: withCtx(() => [
|
|
@@ -9222,7 +9257,7 @@ const _sfc_main$m = {
|
|
|
9222
9257
|
}
|
|
9223
9258
|
}
|
|
9224
9259
|
};
|
|
9225
|
-
const _hoisted_1$
|
|
9260
|
+
const _hoisted_1$i = {
|
|
9226
9261
|
key: 0,
|
|
9227
9262
|
class: "ux-field-title"
|
|
9228
9263
|
};
|
|
@@ -9234,7 +9269,7 @@ const _hoisted_3$9 = {
|
|
|
9234
9269
|
key: 1,
|
|
9235
9270
|
class: "ux-field-description"
|
|
9236
9271
|
};
|
|
9237
|
-
const _hoisted_4$
|
|
9272
|
+
const _hoisted_4$8 = {
|
|
9238
9273
|
key: 2,
|
|
9239
9274
|
class: "ui-select-button"
|
|
9240
9275
|
};
|
|
@@ -9249,12 +9284,12 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9249
9284
|
return openBlock(), createElementBlock("div", {
|
|
9250
9285
|
class: normalizeClass(["native-select", $options.classes])
|
|
9251
9286
|
}, [
|
|
9252
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
9287
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$i, [
|
|
9253
9288
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
9254
9289
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$c, "*")) : createCommentVNode("", true)
|
|
9255
9290
|
])) : createCommentVNode("", true),
|
|
9256
9291
|
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$9, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
9257
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
9292
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
|
|
9258
9293
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
9259
9294
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
9260
9295
|
default: withCtx(() => [
|
|
@@ -10023,14 +10058,29 @@ function getDefaultValue(fieldData, currentValue) {
|
|
|
10023
10058
|
}
|
|
10024
10059
|
break;
|
|
10025
10060
|
case "reference":
|
|
10026
|
-
if (
|
|
10027
|
-
|
|
10028
|
-
|
|
10061
|
+
if (fieldData.widget === "form") {
|
|
10062
|
+
var number = ask;
|
|
10063
|
+
if (multiValue) {
|
|
10064
|
+
if (number > 0) {
|
|
10065
|
+
output = Array(number).fill().map(function() {
|
|
10066
|
+
return {};
|
|
10067
|
+
});
|
|
10068
|
+
} else {
|
|
10069
|
+
output = [];
|
|
10070
|
+
}
|
|
10029
10071
|
} else {
|
|
10030
|
-
output =
|
|
10072
|
+
output = isUndefined2(firstDefaultValue) ? {} : firstDefaultValue;
|
|
10031
10073
|
}
|
|
10032
10074
|
} else {
|
|
10033
|
-
|
|
10075
|
+
if (multiValue) {
|
|
10076
|
+
if (defaultValues.length) {
|
|
10077
|
+
output = defaultValues.slice(0, maximum);
|
|
10078
|
+
} else {
|
|
10079
|
+
output = [];
|
|
10080
|
+
}
|
|
10081
|
+
} else {
|
|
10082
|
+
output = isUndefined2(firstDefaultValue) ? void 0 : firstDefaultValue;
|
|
10083
|
+
}
|
|
10034
10084
|
}
|
|
10035
10085
|
break;
|
|
10036
10086
|
case "string":
|
|
@@ -10498,7 +10548,7 @@ const _sfc_main$l = {
|
|
|
10498
10548
|
}
|
|
10499
10549
|
}
|
|
10500
10550
|
};
|
|
10501
|
-
const _hoisted_1$
|
|
10551
|
+
const _hoisted_1$h = {
|
|
10502
10552
|
key: 24,
|
|
10503
10553
|
class: "ux-field-message"
|
|
10504
10554
|
};
|
|
@@ -10720,7 +10770,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10720
10770
|
]),
|
|
10721
10771
|
_: 1
|
|
10722
10772
|
})) : createCommentVNode("", true),
|
|
10723
|
-
$options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10773
|
+
$options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$h, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
|
|
10724
10774
|
], 34)) : createCommentVNode("", true);
|
|
10725
10775
|
}
|
|
10726
10776
|
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-54e7b3ce"]]);
|
|
@@ -11052,15 +11102,15 @@ const _sfc_main$j = {
|
|
|
11052
11102
|
}
|
|
11053
11103
|
}
|
|
11054
11104
|
};
|
|
11055
|
-
const _hoisted_1$
|
|
11105
|
+
const _hoisted_1$g = { class: "ux-submission-form" };
|
|
11056
11106
|
const _hoisted_2$b = /* @__PURE__ */ createTextVNode(" Try again ");
|
|
11057
11107
|
const _hoisted_3$8 = /* @__PURE__ */ createTextVNode(" Complete! ");
|
|
11058
|
-
const _hoisted_4$
|
|
11108
|
+
const _hoisted_4$7 = /* @__PURE__ */ createTextVNode(" Back to form ");
|
|
11059
11109
|
const _hoisted_5$3 = /* @__PURE__ */ createTextVNode(" Submit ");
|
|
11060
11110
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11061
11111
|
const _component_ux_button = resolveComponent("ux-button");
|
|
11062
11112
|
const _component_ux_form = resolveComponent("ux-form");
|
|
11063
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11113
|
+
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
11064
11114
|
$data.state === "form.error" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11065
11115
|
createElementVNode("pre", null, toDisplayString($data.error), 1),
|
|
11066
11116
|
createVNode(_component_ux_button, { onClick: $options.softReset }, {
|
|
@@ -11073,7 +11123,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11073
11123
|
_hoisted_3$8,
|
|
11074
11124
|
createVNode(_component_ux_button, { onClick: $options.reset }, {
|
|
11075
11125
|
default: withCtx(() => [
|
|
11076
|
-
_hoisted_4$
|
|
11126
|
+
_hoisted_4$7
|
|
11077
11127
|
]),
|
|
11078
11128
|
_: 1
|
|
11079
11129
|
}, 8, ["onClick"])
|
|
@@ -11164,11 +11214,11 @@ const _sfc_main$i = {
|
|
|
11164
11214
|
}
|
|
11165
11215
|
}
|
|
11166
11216
|
};
|
|
11167
|
-
const _hoisted_1$
|
|
11217
|
+
const _hoisted_1$f = { class: "search" };
|
|
11168
11218
|
const _hoisted_2$a = ["placeholder"];
|
|
11169
11219
|
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11170
11220
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
11171
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11221
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
11172
11222
|
withDirectives(createElementVNode("input", {
|
|
11173
11223
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.model = $event),
|
|
11174
11224
|
placeholder: $props.placeholder
|
|
@@ -11223,10 +11273,18 @@ var RenderMixin = {
|
|
|
11223
11273
|
return this.field.description;
|
|
11224
11274
|
},
|
|
11225
11275
|
singleValue() {
|
|
11226
|
-
|
|
11276
|
+
if (this.asObject) {
|
|
11277
|
+
var isSingle = this.minimum === 1 && this.maximum === 1;
|
|
11278
|
+
return isSingle;
|
|
11279
|
+
} else {
|
|
11280
|
+
return this.maximum === 1;
|
|
11281
|
+
}
|
|
11282
|
+
},
|
|
11283
|
+
type() {
|
|
11284
|
+
return this.field.type || "string";
|
|
11227
11285
|
},
|
|
11228
11286
|
multiValue() {
|
|
11229
|
-
return this.
|
|
11287
|
+
return !this.singleValue;
|
|
11230
11288
|
},
|
|
11231
11289
|
key() {
|
|
11232
11290
|
return this.field.key;
|
|
@@ -11309,7 +11367,7 @@ const _sfc_main$h = {
|
|
|
11309
11367
|
}
|
|
11310
11368
|
}
|
|
11311
11369
|
};
|
|
11312
|
-
const _hoisted_1$
|
|
11370
|
+
const _hoisted_1$e = {
|
|
11313
11371
|
key: 0,
|
|
11314
11372
|
class: "ux-multi-group"
|
|
11315
11373
|
};
|
|
@@ -11320,7 +11378,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11320
11378
|
const _component_ux_render = resolveComponent("ux-render");
|
|
11321
11379
|
const _component_ux_panel_body = resolveComponent("ux-panel-body");
|
|
11322
11380
|
const _component_ux_panel = resolveComponent("ux-panel");
|
|
11323
|
-
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
11381
|
+
return _ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
11324
11382
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
11325
11383
|
return openBlock(), createBlock(_component_ux_panel, {
|
|
11326
11384
|
ref_for: true,
|
|
@@ -11373,7 +11431,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11373
11431
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model = $event)
|
|
11374
11432
|
}, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue"]));
|
|
11375
11433
|
}
|
|
11376
|
-
var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-
|
|
11434
|
+
var FieldGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-5d97d5ca"]]);
|
|
11377
11435
|
var field_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11378
11436
|
const _sfc_main$g = {
|
|
11379
11437
|
components: {
|
|
@@ -11565,10 +11623,10 @@ const _sfc_main$g = {
|
|
|
11565
11623
|
}
|
|
11566
11624
|
}
|
|
11567
11625
|
};
|
|
11568
|
-
const _hoisted_1$
|
|
11626
|
+
const _hoisted_1$d = { class: "ux-field-title" };
|
|
11569
11627
|
const _hoisted_2$9 = { class: "ux-field-description" };
|
|
11570
11628
|
const _hoisted_3$7 = { key: 1 };
|
|
11571
|
-
const _hoisted_4$
|
|
11629
|
+
const _hoisted_4$6 = { key: 1 };
|
|
11572
11630
|
const _hoisted_5$2 = { key: 1 };
|
|
11573
11631
|
const _hoisted_6$2 = ["href"];
|
|
11574
11632
|
const _hoisted_7$2 = { key: 1 };
|
|
@@ -11584,7 +11642,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11584
11642
|
key: 0,
|
|
11585
11643
|
class: normalizeClass(["ux-field-render", $options.classes])
|
|
11586
11644
|
}, [
|
|
11587
|
-
createElementVNode("label", _hoisted_1$
|
|
11645
|
+
createElementVNode("label", _hoisted_1$d, toDisplayString($options.title), 1),
|
|
11588
11646
|
createElementVNode("div", _hoisted_2$9, toDisplayString($props.field.description), 1),
|
|
11589
11647
|
$options.widget === "group" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11590
11648
|
$options.asObject ? (openBlock(), createBlock(_component_field_group, {
|
|
@@ -11631,7 +11689,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11631
11689
|
$options.type == "boolean" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
11632
11690
|
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
11633
11691
|
return openBlock(), createElementBlock("div", null, toDisplayString(!!value), 1);
|
|
11634
|
-
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
11692
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$6, toDisplayString(!!$options.fieldModel), 1))
|
|
11635
11693
|
], 64)) : createCommentVNode("", true),
|
|
11636
11694
|
$options.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
11637
11695
|
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
@@ -11668,7 +11726,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11668
11726
|
], 64))
|
|
11669
11727
|
], 2)) : createCommentVNode("", true);
|
|
11670
11728
|
}
|
|
11671
|
-
var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-
|
|
11729
|
+
var UXRenderField = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-05569ffc"]]);
|
|
11672
11730
|
var render_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11673
11731
|
const _sfc_main$f = {
|
|
11674
11732
|
props: {
|
|
@@ -12162,11 +12220,11 @@ const _sfc_main$e = {
|
|
|
12162
12220
|
}
|
|
12163
12221
|
}
|
|
12164
12222
|
};
|
|
12165
|
-
const _hoisted_1$
|
|
12223
|
+
const _hoisted_1$c = { class: "table-image-cell" };
|
|
12166
12224
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12167
12225
|
const _component_ux_image = resolveComponent("ux-image");
|
|
12168
12226
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
12169
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
12227
|
+
return openBlock(), createElementBlock("td", _hoisted_1$c, [
|
|
12170
12228
|
$options.type == "image" || $options.type == "video" ? (openBlock(), createBlock(_component_ux_image, {
|
|
12171
12229
|
key: 0,
|
|
12172
12230
|
item: _ctx.row,
|
|
@@ -12204,11 +12262,11 @@ const _sfc_main$d = {
|
|
|
12204
12262
|
}
|
|
12205
12263
|
}
|
|
12206
12264
|
};
|
|
12207
|
-
const _hoisted_1$
|
|
12265
|
+
const _hoisted_1$b = { class: "table-button-cell" };
|
|
12208
12266
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12209
12267
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
12210
12268
|
const _component_ux_button = resolveComponent("ux-button");
|
|
12211
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
12269
|
+
return openBlock(), createElementBlock("td", _hoisted_1$b, [
|
|
12212
12270
|
createVNode(_component_ux_button, {
|
|
12213
12271
|
size: $options.button.size,
|
|
12214
12272
|
loading: $data.processing,
|
|
@@ -12818,7 +12876,7 @@ class Formatter {
|
|
|
12818
12876
|
return this.loc.numberFormatter(opts).format(n2);
|
|
12819
12877
|
}
|
|
12820
12878
|
formatDateTimeFromString(dt, fmt) {
|
|
12821
|
-
const knownEnglish = this.loc.listingMode() === "en", useDateTimeFormatter = this.loc.outputCalendar && this.loc.outputCalendar !== "gregory", string = (opts,
|
|
12879
|
+
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) => {
|
|
12822
12880
|
if (dt.isOffsetFixed && dt.offset === 0 && opts.allowZ) {
|
|
12823
12881
|
return "Z";
|
|
12824
12882
|
}
|
|
@@ -16080,16 +16138,16 @@ const _sfc_main$c = {
|
|
|
16080
16138
|
}
|
|
16081
16139
|
}
|
|
16082
16140
|
};
|
|
16083
|
-
const _hoisted_1$
|
|
16141
|
+
const _hoisted_1$a = { class: "table-date-cell" };
|
|
16084
16142
|
const _hoisted_2$8 = { class: "off" };
|
|
16085
16143
|
const _hoisted_3$6 = { class: "on" };
|
|
16086
|
-
const _hoisted_4$
|
|
16144
|
+
const _hoisted_4$5 = { class: "spacer" };
|
|
16087
16145
|
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16088
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
16146
|
+
return openBlock(), createElementBlock("td", _hoisted_1$a, [
|
|
16089
16147
|
createElementVNode("div", null, [
|
|
16090
16148
|
createElementVNode("span", _hoisted_2$8, toDisplayString($options.readable), 1),
|
|
16091
16149
|
createElementVNode("span", _hoisted_3$6, toDisplayString($options.timeago), 1),
|
|
16092
|
-
createElementVNode("span", _hoisted_4$
|
|
16150
|
+
createElementVNode("span", _hoisted_4$5, toDisplayString($options.readable), 1)
|
|
16093
16151
|
])
|
|
16094
16152
|
]);
|
|
16095
16153
|
}
|
|
@@ -16108,11 +16166,11 @@ const _sfc_main$b = {
|
|
|
16108
16166
|
}
|
|
16109
16167
|
}
|
|
16110
16168
|
};
|
|
16111
|
-
const _hoisted_1$
|
|
16169
|
+
const _hoisted_1$9 = { class: "table-url-cell" };
|
|
16112
16170
|
const _hoisted_2$7 = ["href"];
|
|
16113
16171
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16114
16172
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
16115
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
16173
|
+
return openBlock(), createElementBlock("td", _hoisted_1$9, [
|
|
16116
16174
|
createElementVNode("a", {
|
|
16117
16175
|
href: $options.href,
|
|
16118
16176
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
|
|
@@ -16130,6 +16188,12 @@ var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b
|
|
|
16130
16188
|
var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16131
16189
|
const _sfc_main$a = {
|
|
16132
16190
|
props: {
|
|
16191
|
+
multi: {
|
|
16192
|
+
type: Boolean
|
|
16193
|
+
},
|
|
16194
|
+
last: {
|
|
16195
|
+
type: Boolean
|
|
16196
|
+
},
|
|
16133
16197
|
value: {
|
|
16134
16198
|
required: true
|
|
16135
16199
|
},
|
|
@@ -16170,6 +16234,7 @@ const _sfc_main$a = {
|
|
|
16170
16234
|
}
|
|
16171
16235
|
}
|
|
16172
16236
|
};
|
|
16237
|
+
const _hoisted_1$8 = /* @__PURE__ */ createTextVNode(",\xA0");
|
|
16173
16238
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16174
16239
|
return $options.reference ? (openBlock(), createElementBlock("a", {
|
|
16175
16240
|
key: 0,
|
|
@@ -16177,11 +16242,37 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16177
16242
|
}, toDisplayString($options.renderValue), 1)) : $props.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
16178
16243
|
createTextVNode(toDisplayString($options.date), 1)
|
|
16179
16244
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
16180
|
-
createTextVNode(toDisplayString($options.renderValue), 1)
|
|
16245
|
+
createTextVNode(toDisplayString($options.renderValue), 1),
|
|
16246
|
+
$props.multi && !$props.last ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
16247
|
+
_hoisted_1$8
|
|
16248
|
+
], 64)) : createCommentVNode("", true)
|
|
16181
16249
|
], 64));
|
|
16182
16250
|
}
|
|
16183
|
-
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-
|
|
16251
|
+
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-ff63e962"]]);
|
|
16184
16252
|
var TableCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16253
|
+
function extract(row, path) {
|
|
16254
|
+
if (!row) {
|
|
16255
|
+
return;
|
|
16256
|
+
}
|
|
16257
|
+
if (!path) {
|
|
16258
|
+
return;
|
|
16259
|
+
}
|
|
16260
|
+
var pathValue = get_1(row, path);
|
|
16261
|
+
if (pathValue) {
|
|
16262
|
+
return pathValue;
|
|
16263
|
+
}
|
|
16264
|
+
const pieces = path.split(".");
|
|
16265
|
+
const key = pieces.shift();
|
|
16266
|
+
const remainder = pieces.join(".");
|
|
16267
|
+
const stub = get_1(row, key);
|
|
16268
|
+
if (Array.isArray(stub)) {
|
|
16269
|
+
return stub.map(function(r) {
|
|
16270
|
+
return extract(r, remainder);
|
|
16271
|
+
}).flat().filter(Boolean);
|
|
16272
|
+
} else {
|
|
16273
|
+
return extract(stub, remainder);
|
|
16274
|
+
}
|
|
16275
|
+
}
|
|
16185
16276
|
const _sfc_main$9 = {
|
|
16186
16277
|
data() {
|
|
16187
16278
|
return {
|
|
@@ -16252,7 +16343,10 @@ const _sfc_main$9 = {
|
|
|
16252
16343
|
return value.title || value.name || value;
|
|
16253
16344
|
},
|
|
16254
16345
|
value() {
|
|
16255
|
-
var v =
|
|
16346
|
+
var v = extract(this.row, this.column.key);
|
|
16347
|
+
if (!v) {
|
|
16348
|
+
console.log(this.row, this.column.key);
|
|
16349
|
+
}
|
|
16256
16350
|
return v;
|
|
16257
16351
|
}
|
|
16258
16352
|
}
|
|
@@ -16263,7 +16357,6 @@ const _hoisted_1$7 = {
|
|
|
16263
16357
|
};
|
|
16264
16358
|
const _hoisted_2$6 = { class: "value" };
|
|
16265
16359
|
const _hoisted_3$5 = { class: "value" };
|
|
16266
|
-
const _hoisted_4$5 = /* @__PURE__ */ createTextVNode(", ");
|
|
16267
16360
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16268
16361
|
const _component_value_renderer = resolveComponent("value-renderer");
|
|
16269
16362
|
return $data.component ? (openBlock(), createBlock(resolveDynamicComponent($data.component), {
|
|
@@ -16273,20 +16366,23 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16273
16366
|
value: $options.value
|
|
16274
16367
|
}, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$7, [
|
|
16275
16368
|
$options.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
16276
|
-
$options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry) => {
|
|
16369
|
+
$options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry, index2) => {
|
|
16277
16370
|
return openBlock(), createElementBlock("span", _hoisted_2$6, [
|
|
16278
16371
|
createVNode(_component_value_renderer, {
|
|
16279
16372
|
type: $props.column.type,
|
|
16373
|
+
multi: "",
|
|
16374
|
+
last: index2 === $options.value.length - 1,
|
|
16280
16375
|
value: entry
|
|
16281
|
-
}, null, 8, ["type", "value"])
|
|
16376
|
+
}, null, 8, ["type", "last", "value"])
|
|
16282
16377
|
]);
|
|
16283
|
-
}), 256)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.value, (entry) => {
|
|
16378
|
+
}), 256)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.value, (entry, index2) => {
|
|
16284
16379
|
return openBlock(), createElementBlock("span", _hoisted_3$5, [
|
|
16285
16380
|
createVNode(_component_value_renderer, {
|
|
16286
16381
|
type: $props.column.type,
|
|
16382
|
+
multi: "",
|
|
16383
|
+
last: index2 === $options.value.length - 1,
|
|
16287
16384
|
value: entry
|
|
16288
|
-
}, null, 8, ["type", "value"])
|
|
16289
|
-
_hoisted_4$5
|
|
16385
|
+
}, null, 8, ["type", "last", "value"])
|
|
16290
16386
|
]);
|
|
16291
16387
|
}), 256))
|
|
16292
16388
|
], 64)) : (openBlock(), createBlock(_component_value_renderer, {
|
|
@@ -16296,7 +16392,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16296
16392
|
}, null, 8, ["type", "value"]))
|
|
16297
16393
|
]));
|
|
16298
16394
|
}
|
|
16299
|
-
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-
|
|
16395
|
+
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-0e44bd7f"]]);
|
|
16300
16396
|
const _sfc_main$8 = {
|
|
16301
16397
|
components: {
|
|
16302
16398
|
TableCell
|
|
@@ -16676,7 +16772,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16676
16772
|
], 512)
|
|
16677
16773
|
]);
|
|
16678
16774
|
}
|
|
16679
|
-
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-
|
|
16775
|
+
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-e626ef3a"]]);
|
|
16680
16776
|
function Selection(options) {
|
|
16681
16777
|
options = options || {};
|
|
16682
16778
|
Math.max(parseInt(options.minimum || 0), 0);
|
|
@@ -17237,6 +17333,25 @@ const _sfc_main$5 = {
|
|
|
17237
17333
|
}
|
|
17238
17334
|
},
|
|
17239
17335
|
computed: {
|
|
17336
|
+
combinedFilter() {
|
|
17337
|
+
const self2 = this;
|
|
17338
|
+
let userSelectedFilters = self2.filter;
|
|
17339
|
+
let lockFilter = self2.options.lockFilter;
|
|
17340
|
+
if (!lockFilter) {
|
|
17341
|
+
return userSelectedFilters;
|
|
17342
|
+
}
|
|
17343
|
+
userSelectedFilters = JSON.parse(JSON.stringify(userSelectedFilters));
|
|
17344
|
+
lockFilter = JSON.parse(JSON.stringify(lockFilter));
|
|
17345
|
+
let combinedFilter;
|
|
17346
|
+
if (userSelectedFilters.operator === "and") {
|
|
17347
|
+
combinedFilter = userSelectedFilters;
|
|
17348
|
+
combinedFilter.filters.push(lockFilter);
|
|
17349
|
+
} else {
|
|
17350
|
+
combinedFilter = lockFilter;
|
|
17351
|
+
lockFilter.filters.push(userSelectedFilters);
|
|
17352
|
+
}
|
|
17353
|
+
return combinedFilter;
|
|
17354
|
+
},
|
|
17240
17355
|
viewMode() {
|
|
17241
17356
|
var view = this.view;
|
|
17242
17357
|
switch (view.key) {
|
|
@@ -17280,6 +17395,13 @@ const _sfc_main$5 = {
|
|
|
17280
17395
|
fields: definedFields
|
|
17281
17396
|
};
|
|
17282
17397
|
allFields.push(formDataFields);
|
|
17398
|
+
const cleanedDataFields = definedFields.map(function(field) {
|
|
17399
|
+
if (field.type === "reference") {
|
|
17400
|
+
field = JSON.parse(JSON.stringify(field));
|
|
17401
|
+
delete field.fields;
|
|
17402
|
+
}
|
|
17403
|
+
return field;
|
|
17404
|
+
});
|
|
17283
17405
|
var dataFields = {
|
|
17284
17406
|
title: `Data`,
|
|
17285
17407
|
minimum: 1,
|
|
@@ -17287,7 +17409,7 @@ const _sfc_main$5 = {
|
|
|
17287
17409
|
key: "data",
|
|
17288
17410
|
asObject: true,
|
|
17289
17411
|
type: "group",
|
|
17290
|
-
fields:
|
|
17412
|
+
fields: cleanedDataFields
|
|
17291
17413
|
};
|
|
17292
17414
|
allFields.push(dataFields);
|
|
17293
17415
|
} else {
|
|
@@ -17398,7 +17520,7 @@ const _sfc_main$5 = {
|
|
|
17398
17520
|
var search = self2.keywords;
|
|
17399
17521
|
var select = self2.selectFields;
|
|
17400
17522
|
var page = self2.page;
|
|
17401
|
-
var filter = self2.
|
|
17523
|
+
var filter = self2.combinedFilter;
|
|
17402
17524
|
return {
|
|
17403
17525
|
sort: sort2,
|
|
17404
17526
|
search,
|
|
@@ -17532,7 +17654,7 @@ const _sfc_main$5 = {
|
|
|
17532
17654
|
};
|
|
17533
17655
|
}
|
|
17534
17656
|
};
|
|
17535
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
17657
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-ca158dc8"), n2 = n2(), popScopeId(), n2);
|
|
17536
17658
|
const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
17537
17659
|
const _hoisted_2$4 = { class: "footer" };
|
|
17538
17660
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -17702,7 +17824,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17702
17824
|
_: 3
|
|
17703
17825
|
})) : createCommentVNode("", true);
|
|
17704
17826
|
}
|
|
17705
|
-
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-
|
|
17827
|
+
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-ca158dc8"]]);
|
|
17706
17828
|
var ModalMixin = {
|
|
17707
17829
|
props: {
|
|
17708
17830
|
options: {
|