@qikdev/vue-ui 0.2.25 → 0.2.28
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 +662 -335
- 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, normalizeClass, Fragment, createVNode, withCtx, renderList, toDisplayString, withDirectives, createBlock, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, mergeProps, toHandlers, vModelSelect, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelText, withKeys, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, reactive, watch } from "vue";
|
|
34
34
|
import { EventDispatcher } from "@qikdev/sdk";
|
|
35
|
-
const version$1 = "0.2.
|
|
35
|
+
const version$1 = "0.2.28";
|
|
36
36
|
var flexColumn_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
37
37
|
var _export_sfc = (sfc, props2) => {
|
|
38
38
|
const target = sfc.__vccOpts || sfc;
|
|
@@ -41,104 +41,104 @@ var _export_sfc = (sfc, props2) => {
|
|
|
41
41
|
}
|
|
42
42
|
return target;
|
|
43
43
|
};
|
|
44
|
+
const _sfc_main$1o = {};
|
|
45
|
+
const _hoisted_1$13 = { class: "flex-column" };
|
|
46
|
+
function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
47
|
+
return openBlock(), createElementBlock("div", _hoisted_1$13, [
|
|
48
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
49
|
+
]);
|
|
50
|
+
}
|
|
51
|
+
var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1o], ["__scopeId", "data-v-203ea86f"]]);
|
|
52
|
+
var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
44
53
|
const _sfc_main$1n = {};
|
|
45
|
-
const _hoisted_1$12 = { class: "flex-column" };
|
|
54
|
+
const _hoisted_1$12 = { class: "flex-column-body" };
|
|
46
55
|
function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
47
56
|
return openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
48
57
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
49
58
|
]);
|
|
50
59
|
}
|
|
51
|
-
var
|
|
52
|
-
var
|
|
60
|
+
var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__scopeId", "data-v-64850355"]]);
|
|
61
|
+
var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
53
62
|
const _sfc_main$1m = {};
|
|
54
|
-
const _hoisted_1$11 = { class: "flex-column-
|
|
63
|
+
const _hoisted_1$11 = { class: "flex-column-header" };
|
|
55
64
|
function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
56
65
|
return openBlock(), createElementBlock("div", _hoisted_1$11, [
|
|
57
66
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
58
67
|
]);
|
|
59
68
|
}
|
|
60
|
-
var
|
|
61
|
-
var
|
|
69
|
+
var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__scopeId", "data-v-10b28f00"]]);
|
|
70
|
+
var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
62
71
|
const _sfc_main$1l = {};
|
|
63
|
-
const _hoisted_1$10 = { class: "flex-column-
|
|
72
|
+
const _hoisted_1$10 = { class: "flex-column-footer" };
|
|
64
73
|
function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
65
74
|
return openBlock(), createElementBlock("div", _hoisted_1$10, [
|
|
66
75
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
67
76
|
]);
|
|
68
77
|
}
|
|
69
|
-
var
|
|
70
|
-
var
|
|
78
|
+
var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__scopeId", "data-v-68216a72"]]);
|
|
79
|
+
var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
71
80
|
const _sfc_main$1k = {};
|
|
72
|
-
const _hoisted_1$$ = { class: "flex-
|
|
81
|
+
const _hoisted_1$$ = { class: "flex-cell" };
|
|
73
82
|
function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
74
83
|
return openBlock(), createElementBlock("div", _hoisted_1$$, [
|
|
75
84
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
76
85
|
]);
|
|
77
86
|
}
|
|
78
|
-
var
|
|
79
|
-
var
|
|
87
|
+
var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__scopeId", "data-v-644bb279"]]);
|
|
88
|
+
var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
80
89
|
const _sfc_main$1j = {};
|
|
81
|
-
const _hoisted_1$_ = { class: "flex-
|
|
90
|
+
const _hoisted_1$_ = { class: "flex-row" };
|
|
82
91
|
function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83
92
|
return openBlock(), createElementBlock("div", _hoisted_1$_, [
|
|
84
93
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
85
94
|
]);
|
|
86
95
|
}
|
|
87
|
-
var
|
|
88
|
-
var
|
|
96
|
+
var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__scopeId", "data-v-5b76ad1f"]]);
|
|
97
|
+
var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89
98
|
const _sfc_main$1i = {};
|
|
90
|
-
const _hoisted_1$Z = { class: "flex-
|
|
99
|
+
const _hoisted_1$Z = { class: "flex-spacer" };
|
|
91
100
|
function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
92
|
-
return openBlock(), createElementBlock("div", _hoisted_1$Z
|
|
93
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
94
|
-
]);
|
|
101
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Z);
|
|
95
102
|
}
|
|
96
|
-
var
|
|
97
|
-
var
|
|
103
|
+
var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__scopeId", "data-v-35b15579"]]);
|
|
104
|
+
var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
98
105
|
const _sfc_main$1h = {};
|
|
99
|
-
const _hoisted_1$Y = { class: "
|
|
106
|
+
const _hoisted_1$Y = { class: "panel" };
|
|
100
107
|
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
101
|
-
return openBlock(), createElementBlock("div", _hoisted_1$Y
|
|
108
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Y, [
|
|
109
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
110
|
+
]);
|
|
102
111
|
}
|
|
103
|
-
var
|
|
104
|
-
var
|
|
112
|
+
var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__scopeId", "data-v-50ae77fc"]]);
|
|
113
|
+
var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
105
114
|
const _sfc_main$1g = {};
|
|
106
|
-
const _hoisted_1$X = { class: "panel" };
|
|
115
|
+
const _hoisted_1$X = { class: "panel-body" };
|
|
107
116
|
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
108
117
|
return openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
109
118
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
110
119
|
]);
|
|
111
120
|
}
|
|
112
|
-
var
|
|
113
|
-
var
|
|
121
|
+
var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__scopeId", "data-v-c82dca76"]]);
|
|
122
|
+
var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
114
123
|
const _sfc_main$1f = {};
|
|
115
|
-
const _hoisted_1$W = { class: "panel-
|
|
124
|
+
const _hoisted_1$W = { class: "panel-header" };
|
|
116
125
|
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
117
126
|
return openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
118
127
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
119
128
|
]);
|
|
120
129
|
}
|
|
121
|
-
var
|
|
122
|
-
var
|
|
130
|
+
var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__scopeId", "data-v-13bf11da"]]);
|
|
131
|
+
var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
123
132
|
const _sfc_main$1e = {};
|
|
124
|
-
const _hoisted_1$V = { class: "panel-
|
|
133
|
+
const _hoisted_1$V = { class: "panel-footer" };
|
|
125
134
|
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
126
135
|
return openBlock(), createElementBlock("div", _hoisted_1$V, [
|
|
127
136
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
128
137
|
]);
|
|
129
138
|
}
|
|
130
|
-
var
|
|
131
|
-
var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
132
|
-
const _sfc_main$1d = {};
|
|
133
|
-
const _hoisted_1$U = { class: "panel-footer" };
|
|
134
|
-
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
135
|
-
return openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
136
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
137
|
-
]);
|
|
138
|
-
}
|
|
139
|
-
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-b4f4786a"]]);
|
|
139
|
+
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__scopeId", "data-v-b4f4786a"]]);
|
|
140
140
|
var tabset_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
141
|
-
const _sfc_main$
|
|
141
|
+
const _sfc_main$1d = {
|
|
142
142
|
props: {
|
|
143
143
|
vertical: {
|
|
144
144
|
type: Boolean
|
|
@@ -167,9 +167,9 @@ const _sfc_main$1c = {
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
|
-
const _hoisted_1$
|
|
171
|
-
const _hoisted_2$
|
|
172
|
-
function _sfc_render$
|
|
170
|
+
const _hoisted_1$U = ["onClick"];
|
|
171
|
+
const _hoisted_2$K = ["onClick"];
|
|
172
|
+
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
173
173
|
const _component_flex_body = resolveComponent("flex-body");
|
|
174
174
|
const _component_flex_column = resolveComponent("flex-column");
|
|
175
175
|
const _component_flex_row = resolveComponent("flex-row");
|
|
@@ -187,7 +187,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
187
187
|
class: normalizeClass({ active: index2 === $data.activeIndex }),
|
|
188
188
|
key: `tab-link-${tab.props.heading}`,
|
|
189
189
|
onClick: ($event) => $options.select(index2)
|
|
190
|
-
}, toDisplayString(tab.props.heading), 11, _hoisted_1$
|
|
190
|
+
}, toDisplayString(tab.props.heading), 11, _hoisted_1$U);
|
|
191
191
|
}), 128))
|
|
192
192
|
]),
|
|
193
193
|
_: 1
|
|
@@ -222,7 +222,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
222
222
|
class: normalizeClass({ active: index2 === $data.activeIndex }),
|
|
223
223
|
key: `tab-link-${tab.props.heading}`,
|
|
224
224
|
onClick: ($event) => $options.select(index2)
|
|
225
|
-
}, toDisplayString(tab.props.heading), 11, _hoisted_2$
|
|
225
|
+
}, toDisplayString(tab.props.heading), 11, _hoisted_2$K);
|
|
226
226
|
}), 128))
|
|
227
227
|
]),
|
|
228
228
|
_: 1
|
|
@@ -250,8 +250,8 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
250
250
|
], 64))
|
|
251
251
|
], 2);
|
|
252
252
|
}
|
|
253
|
-
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
254
|
-
const _sfc_main$
|
|
253
|
+
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-2a0551fe"]]);
|
|
254
|
+
const _sfc_main$1c = {
|
|
255
255
|
props: {
|
|
256
256
|
heading: {
|
|
257
257
|
type: String,
|
|
@@ -278,7 +278,7 @@ const _sfc_main$1b = {
|
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
|
-
function _sfc_render$
|
|
281
|
+
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
282
282
|
const _component_flex_column = resolveComponent("flex-column");
|
|
283
283
|
return openBlock(), createBlock(_component_flex_column, null, {
|
|
284
284
|
default: withCtx(() => [
|
|
@@ -287,7 +287,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
287
287
|
_: 3
|
|
288
288
|
});
|
|
289
289
|
}
|
|
290
|
-
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
290
|
+
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c]]);
|
|
291
291
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
292
292
|
var isArray$5 = Array.isArray;
|
|
293
293
|
var isArray_1 = isArray$5;
|
|
@@ -755,7 +755,7 @@ var TableCellMixin = {
|
|
|
755
755
|
}
|
|
756
756
|
};
|
|
757
757
|
var Thumbnail_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
758
|
-
const _sfc_main$
|
|
758
|
+
const _sfc_main$1b = {
|
|
759
759
|
mixins: [TableCellMixin],
|
|
760
760
|
computed: {
|
|
761
761
|
imageSource() {
|
|
@@ -772,11 +772,11 @@ const _sfc_main$1a = {
|
|
|
772
772
|
}
|
|
773
773
|
}
|
|
774
774
|
};
|
|
775
|
-
const _hoisted_1$
|
|
776
|
-
function _sfc_render$
|
|
775
|
+
const _hoisted_1$T = { class: "table-image-cell" };
|
|
776
|
+
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
777
777
|
const _component_ux_image = resolveComponent("ux-image");
|
|
778
778
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
779
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
779
|
+
return openBlock(), createElementBlock("td", _hoisted_1$T, [
|
|
780
780
|
$options.type == "image" || $options.type == "video" ? (openBlock(), createElementBlock("div", {
|
|
781
781
|
key: 0,
|
|
782
782
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.clicked(_ctx.value), ["stop", "prevent"])),
|
|
@@ -794,9 +794,9 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
794
794
|
}))
|
|
795
795
|
]);
|
|
796
796
|
}
|
|
797
|
-
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
797
|
+
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__scopeId", "data-v-246a2688"]]);
|
|
798
798
|
var Currency_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
799
|
-
const _sfc_main$
|
|
799
|
+
const _sfc_main$1a = {
|
|
800
800
|
mixins: [TableCellMixin],
|
|
801
801
|
computed: {
|
|
802
802
|
string() {
|
|
@@ -819,14 +819,14 @@ const _sfc_main$19 = {
|
|
|
819
819
|
}
|
|
820
820
|
}
|
|
821
821
|
};
|
|
822
|
-
function _sfc_render$
|
|
822
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
823
823
|
return openBlock(), createElementBlock("td", {
|
|
824
824
|
class: normalizeClass(["table-currency-cell", { credit: $options.credit, empty: $options.empty, debit: $options.debit }])
|
|
825
825
|
}, toDisplayString($options.string), 3);
|
|
826
826
|
}
|
|
827
|
-
var CurrencyCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
827
|
+
var CurrencyCell = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__scopeId", "data-v-33a0b926"]]);
|
|
828
828
|
var Button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
829
|
-
const _sfc_main$
|
|
829
|
+
const _sfc_main$19 = {
|
|
830
830
|
data() {
|
|
831
831
|
return {
|
|
832
832
|
processing: false
|
|
@@ -850,11 +850,11 @@ const _sfc_main$18 = {
|
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
852
|
};
|
|
853
|
-
const _hoisted_1$
|
|
854
|
-
function _sfc_render$
|
|
853
|
+
const _hoisted_1$S = { class: "table-button-cell" };
|
|
854
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
855
855
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
856
856
|
const _component_ux_button = resolveComponent("ux-button");
|
|
857
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
857
|
+
return openBlock(), createElementBlock("td", _hoisted_1$S, [
|
|
858
858
|
createVNode(_component_ux_button, {
|
|
859
859
|
color: $options.button.color,
|
|
860
860
|
size: $options.button.size,
|
|
@@ -875,7 +875,7 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
875
875
|
}, 8, ["color", "size", "loading", "onClick"])
|
|
876
876
|
]);
|
|
877
877
|
}
|
|
878
|
-
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
878
|
+
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-36768853"]]);
|
|
879
879
|
class LuxonError extends Error {
|
|
880
880
|
}
|
|
881
881
|
class InvalidDateTimeError extends LuxonError {
|
|
@@ -1055,7 +1055,7 @@ const DATETIME_HUGE_WITH_SECONDS = {
|
|
|
1055
1055
|
second: n,
|
|
1056
1056
|
timeZoneName: l
|
|
1057
1057
|
};
|
|
1058
|
-
function isUndefined$
|
|
1058
|
+
function isUndefined$8(o) {
|
|
1059
1059
|
return typeof o === "undefined";
|
|
1060
1060
|
}
|
|
1061
1061
|
function isNumber(o) {
|
|
@@ -1121,21 +1121,21 @@ function padStart(input, n2 = 2) {
|
|
|
1121
1121
|
return padded;
|
|
1122
1122
|
}
|
|
1123
1123
|
function parseInteger(string) {
|
|
1124
|
-
if (isUndefined$
|
|
1124
|
+
if (isUndefined$8(string) || string === null || string === "") {
|
|
1125
1125
|
return void 0;
|
|
1126
1126
|
} else {
|
|
1127
1127
|
return parseInt(string, 10);
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
function parseFloating(string) {
|
|
1131
|
-
if (isUndefined$
|
|
1131
|
+
if (isUndefined$8(string) || string === null || string === "") {
|
|
1132
1132
|
return void 0;
|
|
1133
1133
|
} else {
|
|
1134
1134
|
return parseFloat(string);
|
|
1135
1135
|
}
|
|
1136
1136
|
}
|
|
1137
1137
|
function parseMillis(fraction) {
|
|
1138
|
-
if (isUndefined$
|
|
1138
|
+
if (isUndefined$8(fraction) || fraction === null || fraction === "") {
|
|
1139
1139
|
return void 0;
|
|
1140
1140
|
} else {
|
|
1141
1141
|
const f = parseFloat("0." + fraction) * 1e3;
|
|
@@ -1741,7 +1741,7 @@ function partsOffset(dtf, date) {
|
|
|
1741
1741
|
const pos = typeToPos[type];
|
|
1742
1742
|
if (type === "era") {
|
|
1743
1743
|
filled[pos] = value;
|
|
1744
|
-
} else if (!isUndefined$
|
|
1744
|
+
} else if (!isUndefined$8(pos)) {
|
|
1745
1745
|
filled[pos] = parseInt(value, 10);
|
|
1746
1746
|
}
|
|
1747
1747
|
}
|
|
@@ -1904,7 +1904,7 @@ class InvalidZone extends Zone {
|
|
|
1904
1904
|
}
|
|
1905
1905
|
}
|
|
1906
1906
|
function normalizeZone(input, defaultZone2) {
|
|
1907
|
-
if (isUndefined$
|
|
1907
|
+
if (isUndefined$8(input) || input === null) {
|
|
1908
1908
|
return defaultZone2;
|
|
1909
1909
|
} else if (input instanceof Zone) {
|
|
1910
1910
|
return input;
|
|
@@ -2315,7 +2315,7 @@ function simpleParse(...keys2) {
|
|
|
2315
2315
|
const offsetRegex = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, isoTimeBaseRegex = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, isoTimeRegex = RegExp(`${isoTimeBaseRegex.source}${offsetRegex.source}?`), isoTimeExtensionRegex = RegExp(`(?:T${isoTimeRegex.source})?`), isoYmdRegex = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, isoWeekRegex = /(\d{4})-?W(\d\d)(?:-?(\d))?/, isoOrdinalRegex = /(\d{4})-?(\d{3})/, extractISOWeekData = simpleParse("weekYear", "weekNumber", "weekDay"), extractISOOrdinalData = simpleParse("year", "ordinal"), sqlYmdRegex = /(\d{4})-(\d\d)-(\d\d)/, sqlTimeRegex = RegExp(`${isoTimeBaseRegex.source} ?(?:${offsetRegex.source}|(${ianaRegex.source}))?`), sqlTimeExtensionRegex = RegExp(`(?: ${sqlTimeRegex.source})?`);
|
|
2316
2316
|
function int(match2, pos, fallback) {
|
|
2317
2317
|
const m = match2[pos];
|
|
2318
|
-
return isUndefined$
|
|
2318
|
+
return isUndefined$8(m) ? fallback : parseInteger(m);
|
|
2319
2319
|
}
|
|
2320
2320
|
function extractISOYmd(match2, cursor) {
|
|
2321
2321
|
const item = {
|
|
@@ -2562,7 +2562,7 @@ function convert(matrix2, fromMap, fromUnit, toMap, toUnit) {
|
|
|
2562
2562
|
}
|
|
2563
2563
|
function normalizeValues(matrix2, vals) {
|
|
2564
2564
|
reverseUnits.reduce((previous, current) => {
|
|
2565
|
-
if (!isUndefined$
|
|
2565
|
+
if (!isUndefined$8(vals[current])) {
|
|
2566
2566
|
if (previous) {
|
|
2567
2567
|
convert(matrix2, vals, previous, vals, current);
|
|
2568
2568
|
}
|
|
@@ -2676,7 +2676,7 @@ class Duration {
|
|
|
2676
2676
|
toHuman(opts = {}) {
|
|
2677
2677
|
const l2 = orderedUnits$1.map((unit) => {
|
|
2678
2678
|
const val = this.values[unit];
|
|
2679
|
-
if (isUndefined$
|
|
2679
|
+
if (isUndefined$8(val)) {
|
|
2680
2680
|
return null;
|
|
2681
2681
|
}
|
|
2682
2682
|
return this.loc.numberFormatter(__spreadProps(__spreadValues({ style: "unit", unitDisplay: "long" }, opts), { unit: unit.slice(0, -1) })).format(val);
|
|
@@ -3605,19 +3605,19 @@ function dateTimeFromMatches(matches2) {
|
|
|
3605
3605
|
};
|
|
3606
3606
|
let zone = null;
|
|
3607
3607
|
let specificOffset;
|
|
3608
|
-
if (!isUndefined$
|
|
3608
|
+
if (!isUndefined$8(matches2.z)) {
|
|
3609
3609
|
zone = IANAZone.create(matches2.z);
|
|
3610
3610
|
}
|
|
3611
|
-
if (!isUndefined$
|
|
3611
|
+
if (!isUndefined$8(matches2.Z)) {
|
|
3612
3612
|
if (!zone) {
|
|
3613
3613
|
zone = new FixedOffsetZone(matches2.Z);
|
|
3614
3614
|
}
|
|
3615
3615
|
specificOffset = matches2.Z;
|
|
3616
3616
|
}
|
|
3617
|
-
if (!isUndefined$
|
|
3617
|
+
if (!isUndefined$8(matches2.q)) {
|
|
3618
3618
|
matches2.M = (matches2.q - 1) * 3 + 1;
|
|
3619
3619
|
}
|
|
3620
|
-
if (!isUndefined$
|
|
3620
|
+
if (!isUndefined$8(matches2.h)) {
|
|
3621
3621
|
if (matches2.h < 12 && matches2.a === 1) {
|
|
3622
3622
|
matches2.h += 12;
|
|
3623
3623
|
} else if (matches2.h === 12 && matches2.a === 0) {
|
|
@@ -3627,7 +3627,7 @@ function dateTimeFromMatches(matches2) {
|
|
|
3627
3627
|
if (matches2.G === 0 && matches2.y) {
|
|
3628
3628
|
matches2.y = -matches2.y;
|
|
3629
3629
|
}
|
|
3630
|
-
if (!isUndefined$
|
|
3630
|
+
if (!isUndefined$8(matches2.u)) {
|
|
3631
3631
|
matches2.S = parseMillis(matches2.u);
|
|
3632
3632
|
}
|
|
3633
3633
|
const vals = Object.keys(matches2).reduce((r, k) => {
|
|
@@ -3992,9 +3992,9 @@ function normalizeUnit(unit) {
|
|
|
3992
3992
|
function quickDT(obj, opts) {
|
|
3993
3993
|
const zone = normalizeZone(opts.zone, Settings.defaultZone), loc = Locale.fromObject(opts), tsNow = Settings.now();
|
|
3994
3994
|
let ts, o;
|
|
3995
|
-
if (!isUndefined$
|
|
3995
|
+
if (!isUndefined$8(obj.year)) {
|
|
3996
3996
|
for (const u2 of orderedUnits) {
|
|
3997
|
-
if (isUndefined$
|
|
3997
|
+
if (isUndefined$8(obj[u2])) {
|
|
3998
3998
|
obj[u2] = defaultUnitValues[u2];
|
|
3999
3999
|
}
|
|
4000
4000
|
}
|
|
@@ -4010,7 +4010,7 @@ function quickDT(obj, opts) {
|
|
|
4010
4010
|
return new DateTime({ ts, zone, loc, o });
|
|
4011
4011
|
}
|
|
4012
4012
|
function diffRelative(start, end, opts) {
|
|
4013
|
-
const round = isUndefined$
|
|
4013
|
+
const round = isUndefined$8(opts.round) ? true : opts.round, format = (c2, unit) => {
|
|
4014
4014
|
c2 = roundTo(c2, round || opts.calendary ? 0 : 2, true);
|
|
4015
4015
|
const formatter = end.loc.clone(opts).relFormatter(opts);
|
|
4016
4016
|
return formatter.format(c2, unit);
|
|
@@ -4049,7 +4049,7 @@ class DateTime {
|
|
|
4049
4049
|
constructor(config) {
|
|
4050
4050
|
const zone = config.zone || Settings.defaultZone;
|
|
4051
4051
|
let invalid = config.invalid || (Number.isNaN(config.ts) ? new Invalid("invalid input") : null) || (!zone.isValid ? unsupportedZone(zone) : null);
|
|
4052
|
-
this.ts = isUndefined$
|
|
4052
|
+
this.ts = isUndefined$8(config.ts) ? Settings.now() : config.ts;
|
|
4053
4053
|
let c2 = null, o = null;
|
|
4054
4054
|
if (!invalid) {
|
|
4055
4055
|
const unchanged = config.old && config.old.ts === this.ts && config.old.zone.equals(zone);
|
|
@@ -4128,7 +4128,7 @@ class DateTime {
|
|
|
4128
4128
|
if (!zoneToUse.isValid) {
|
|
4129
4129
|
return DateTime.invalid(unsupportedZone(zoneToUse));
|
|
4130
4130
|
}
|
|
4131
|
-
const tsNow = Settings.now(), offsetProvis = !isUndefined$
|
|
4131
|
+
const tsNow = Settings.now(), offsetProvis = !isUndefined$8(opts.specificOffset) ? opts.specificOffset : zoneToUse.offset(tsNow), normalized = normalizeObject(obj, normalizeUnit), containsOrdinal = !isUndefined$8(normalized.ordinal), containsGregorYear = !isUndefined$8(normalized.year), containsGregorMD = !isUndefined$8(normalized.month) || !isUndefined$8(normalized.day), containsGregor = containsGregorYear || containsGregorMD, definiteWeekDef = normalized.weekYear || normalized.weekNumber, loc = Locale.fromObject(opts);
|
|
4132
4132
|
if ((containsGregor || containsOrdinal) && definiteWeekDef) {
|
|
4133
4133
|
throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");
|
|
4134
4134
|
}
|
|
@@ -4152,7 +4152,7 @@ class DateTime {
|
|
|
4152
4152
|
let foundFirst = false;
|
|
4153
4153
|
for (const u2 of units) {
|
|
4154
4154
|
const v = normalized[u2];
|
|
4155
|
-
if (!isUndefined$
|
|
4155
|
+
if (!isUndefined$8(v)) {
|
|
4156
4156
|
foundFirst = true;
|
|
4157
4157
|
} else if (foundFirst) {
|
|
4158
4158
|
normalized[u2] = defaultValues[u2];
|
|
@@ -4188,7 +4188,7 @@ class DateTime {
|
|
|
4188
4188
|
return parseDataToDateTime(vals, parsedZone, opts, "HTTP", opts);
|
|
4189
4189
|
}
|
|
4190
4190
|
static fromFormat(text, fmt, opts = {}) {
|
|
4191
|
-
if (isUndefined$
|
|
4191
|
+
if (isUndefined$8(text) || isUndefined$8(fmt)) {
|
|
4192
4192
|
throw new InvalidArgumentError("fromFormat requires an input string and a format");
|
|
4193
4193
|
}
|
|
4194
4194
|
const { locale = null, numberingSystem = null } = opts, localeToUse = Locale.fromOpts({
|
|
@@ -4379,7 +4379,7 @@ class DateTime {
|
|
|
4379
4379
|
set(values2) {
|
|
4380
4380
|
if (!this.isValid)
|
|
4381
4381
|
return this;
|
|
4382
|
-
const normalized = normalizeObject(values2, normalizeUnit), settingWeekStuff = !isUndefined$
|
|
4382
|
+
const normalized = normalizeObject(values2, normalizeUnit), settingWeekStuff = !isUndefined$8(normalized.weekYear) || !isUndefined$8(normalized.weekNumber) || !isUndefined$8(normalized.weekday), containsOrdinal = !isUndefined$8(normalized.ordinal), containsGregorYear = !isUndefined$8(normalized.year), containsGregorMD = !isUndefined$8(normalized.month) || !isUndefined$8(normalized.day), containsGregor = containsGregorYear || containsGregorMD, definiteWeekDef = normalized.weekYear || normalized.weekNumber;
|
|
4383
4383
|
if ((containsGregor || containsOrdinal) && definiteWeekDef) {
|
|
4384
4384
|
throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");
|
|
4385
4385
|
}
|
|
@@ -4389,11 +4389,11 @@ class DateTime {
|
|
|
4389
4389
|
let mixed;
|
|
4390
4390
|
if (settingWeekStuff) {
|
|
4391
4391
|
mixed = weekToGregorian(__spreadValues(__spreadValues({}, gregorianToWeek(this.c)), normalized));
|
|
4392
|
-
} else if (!isUndefined$
|
|
4392
|
+
} else if (!isUndefined$8(normalized.ordinal)) {
|
|
4393
4393
|
mixed = ordinalToGregorian(__spreadValues(__spreadValues({}, gregorianToOrdinal(this.c)), normalized));
|
|
4394
4394
|
} else {
|
|
4395
4395
|
mixed = __spreadValues(__spreadValues({}, this.toObject()), normalized);
|
|
4396
|
-
if (isUndefined$
|
|
4396
|
+
if (isUndefined$8(normalized.day)) {
|
|
4397
4397
|
mixed.day = Math.min(daysInMonth(mixed.year, mixed.month), mixed.day);
|
|
4398
4398
|
}
|
|
4399
4399
|
}
|
|
@@ -4709,7 +4709,7 @@ function friendlyDateTime(dateTimeish) {
|
|
|
4709
4709
|
}
|
|
4710
4710
|
}
|
|
4711
4711
|
var DateCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4712
|
-
const _sfc_main$
|
|
4712
|
+
const _sfc_main$18 = {
|
|
4713
4713
|
mixins: [TableCellMixin],
|
|
4714
4714
|
computed: {
|
|
4715
4715
|
hasValue() {
|
|
@@ -4730,23 +4730,23 @@ const _sfc_main$17 = {
|
|
|
4730
4730
|
}
|
|
4731
4731
|
}
|
|
4732
4732
|
};
|
|
4733
|
-
const _hoisted_1$
|
|
4734
|
-
const _hoisted_2$
|
|
4735
|
-
const _hoisted_3$
|
|
4736
|
-
const _hoisted_4$
|
|
4737
|
-
const _hoisted_5$
|
|
4738
|
-
function _sfc_render$
|
|
4739
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
4740
|
-
$options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4741
|
-
createElementVNode("span", _hoisted_3$
|
|
4742
|
-
createElementVNode("span", _hoisted_4$
|
|
4743
|
-
createElementVNode("span", _hoisted_5$
|
|
4733
|
+
const _hoisted_1$R = { class: "table-date-cell" };
|
|
4734
|
+
const _hoisted_2$J = { key: 0 };
|
|
4735
|
+
const _hoisted_3$B = { class: "off" };
|
|
4736
|
+
const _hoisted_4$x = { class: "on" };
|
|
4737
|
+
const _hoisted_5$q = { class: "spacer" };
|
|
4738
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4739
|
+
return openBlock(), createElementBlock("td", _hoisted_1$R, [
|
|
4740
|
+
$options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$J, [
|
|
4741
|
+
createElementVNode("span", _hoisted_3$B, toDisplayString($options.readable), 1),
|
|
4742
|
+
createElementVNode("span", _hoisted_4$x, toDisplayString($options.timeago), 1),
|
|
4743
|
+
createElementVNode("span", _hoisted_5$q, toDisplayString($options.readable), 1)
|
|
4744
4744
|
])) : createCommentVNode("", true)
|
|
4745
4745
|
]);
|
|
4746
4746
|
}
|
|
4747
|
-
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4747
|
+
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-3687693f"]]);
|
|
4748
4748
|
var BooleanCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4749
|
-
const _sfc_main$
|
|
4749
|
+
const _sfc_main$17 = {
|
|
4750
4750
|
mixins: [TableCellMixin],
|
|
4751
4751
|
computed: {
|
|
4752
4752
|
boolean() {
|
|
@@ -4754,7 +4754,7 @@ const _sfc_main$16 = {
|
|
|
4754
4754
|
}
|
|
4755
4755
|
}
|
|
4756
4756
|
};
|
|
4757
|
-
function _sfc_render$
|
|
4757
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4758
4758
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4759
4759
|
return openBlock(), createElementBlock("td", {
|
|
4760
4760
|
class: normalizeClass(["table-boolean-cell", { true: $options.boolean, false: !$options.boolean }])
|
|
@@ -4764,9 +4764,9 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4764
4764
|
}, null, 8, ["icon"])
|
|
4765
4765
|
], 2);
|
|
4766
4766
|
}
|
|
4767
|
-
var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4767
|
+
var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-27f127ae"]]);
|
|
4768
4768
|
var SecurityCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4769
|
-
const _sfc_main$
|
|
4769
|
+
const _sfc_main$16 = {
|
|
4770
4770
|
mixins: [TableCellMixin],
|
|
4771
4771
|
computed: {
|
|
4772
4772
|
public() {
|
|
@@ -4777,7 +4777,7 @@ const _sfc_main$15 = {
|
|
|
4777
4777
|
}
|
|
4778
4778
|
}
|
|
4779
4779
|
};
|
|
4780
|
-
function _sfc_render$
|
|
4780
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4781
4781
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4782
4782
|
return openBlock(), createElementBlock("td", {
|
|
4783
4783
|
class: normalizeClass(["table-security-cell", $options.security])
|
|
@@ -4787,9 +4787,9 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4787
4787
|
}, null, 8, ["icon"])
|
|
4788
4788
|
], 2);
|
|
4789
4789
|
}
|
|
4790
|
-
var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4790
|
+
var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-51f8608e"]]);
|
|
4791
4791
|
var URLCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4792
|
-
const _sfc_main$
|
|
4792
|
+
const _sfc_main$15 = {
|
|
4793
4793
|
mixins: [TableCellMixin],
|
|
4794
4794
|
methods: {
|
|
4795
4795
|
open() {
|
|
@@ -4802,11 +4802,11 @@ const _sfc_main$14 = {
|
|
|
4802
4802
|
}
|
|
4803
4803
|
}
|
|
4804
4804
|
};
|
|
4805
|
-
const _hoisted_1$
|
|
4806
|
-
const _hoisted_2$
|
|
4807
|
-
function _sfc_render$
|
|
4805
|
+
const _hoisted_1$Q = { class: "table-url-cell" };
|
|
4806
|
+
const _hoisted_2$I = ["href"];
|
|
4807
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4808
4808
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4809
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
4809
|
+
return openBlock(), createElementBlock("td", _hoisted_1$Q, [
|
|
4810
4810
|
createElementVNode("a", {
|
|
4811
4811
|
href: $options.href,
|
|
4812
4812
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
|
|
@@ -4817,12 +4817,12 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4817
4817
|
right: "",
|
|
4818
4818
|
icon: "fa-external-link"
|
|
4819
4819
|
})
|
|
4820
|
-
], 8, _hoisted_2$
|
|
4820
|
+
], 8, _hoisted_2$I)
|
|
4821
4821
|
]);
|
|
4822
4822
|
}
|
|
4823
|
-
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4823
|
+
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-17cf3a86"]]);
|
|
4824
4824
|
var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4825
|
-
const _sfc_main$
|
|
4825
|
+
const _sfc_main$14 = {
|
|
4826
4826
|
props: {
|
|
4827
4827
|
multi: {
|
|
4828
4828
|
type: Boolean
|
|
@@ -4870,8 +4870,8 @@ const _sfc_main$13 = {
|
|
|
4870
4870
|
}
|
|
4871
4871
|
}
|
|
4872
4872
|
};
|
|
4873
|
-
const _hoisted_1$
|
|
4874
|
-
function _sfc_render$
|
|
4873
|
+
const _hoisted_1$P = /* @__PURE__ */ createTextVNode(",\xA0");
|
|
4874
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4875
4875
|
return $options.reference ? (openBlock(), createElementBlock("a", {
|
|
4876
4876
|
key: 0,
|
|
4877
4877
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.clicked($props.value), ["stop", "prevent"]))
|
|
@@ -4880,11 +4880,11 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4880
4880
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
4881
4881
|
createTextVNode(toDisplayString($options.renderValue), 1),
|
|
4882
4882
|
$props.multi && !$props.last ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
4883
|
-
_hoisted_1$
|
|
4883
|
+
_hoisted_1$P
|
|
4884
4884
|
], 64)) : createCommentVNode("", true)
|
|
4885
4885
|
], 64));
|
|
4886
4886
|
}
|
|
4887
|
-
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4887
|
+
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-255b9ec8"]]);
|
|
4888
4888
|
var TableCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4889
4889
|
function extract(row, path) {
|
|
4890
4890
|
if (!row) {
|
|
@@ -4909,7 +4909,7 @@ function extract(row, path) {
|
|
|
4909
4909
|
return extract(stub, remainder);
|
|
4910
4910
|
}
|
|
4911
4911
|
}
|
|
4912
|
-
const _sfc_main$
|
|
4912
|
+
const _sfc_main$13 = {
|
|
4913
4913
|
data() {
|
|
4914
4914
|
return {
|
|
4915
4915
|
component: null
|
|
@@ -5001,23 +5001,23 @@ const _sfc_main$12 = {
|
|
|
5001
5001
|
}
|
|
5002
5002
|
}
|
|
5003
5003
|
};
|
|
5004
|
-
const _hoisted_1$
|
|
5004
|
+
const _hoisted_1$O = {
|
|
5005
5005
|
key: 1,
|
|
5006
5006
|
class: "table-cell"
|
|
5007
5007
|
};
|
|
5008
|
-
const _hoisted_2$
|
|
5009
|
-
const _hoisted_3$
|
|
5010
|
-
function _sfc_render$
|
|
5008
|
+
const _hoisted_2$H = { class: "value" };
|
|
5009
|
+
const _hoisted_3$A = { class: "value" };
|
|
5010
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5011
5011
|
const _component_value_renderer = resolveComponent("value-renderer");
|
|
5012
5012
|
return $data.component ? (openBlock(), createBlock(resolveDynamicComponent($data.component), {
|
|
5013
5013
|
key: 0,
|
|
5014
5014
|
column: $props.column,
|
|
5015
5015
|
row: $props.row,
|
|
5016
5016
|
value: $options.value
|
|
5017
|
-
}, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$
|
|
5017
|
+
}, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$O, [
|
|
5018
5018
|
$options.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
5019
5019
|
$options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry, index2) => {
|
|
5020
|
-
return openBlock(), createElementBlock("span", _hoisted_2$
|
|
5020
|
+
return openBlock(), createElementBlock("span", _hoisted_2$H, [
|
|
5021
5021
|
createVNode(_component_value_renderer, {
|
|
5022
5022
|
type: $props.column.type,
|
|
5023
5023
|
multi: "",
|
|
@@ -5026,7 +5026,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5026
5026
|
}, null, 8, ["type", "last", "value"])
|
|
5027
5027
|
]);
|
|
5028
5028
|
}), 256)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.value, (entry, index2) => {
|
|
5029
|
-
return openBlock(), createElementBlock("span", _hoisted_3$
|
|
5029
|
+
return openBlock(), createElementBlock("span", _hoisted_3$A, [
|
|
5030
5030
|
createVNode(_component_value_renderer, {
|
|
5031
5031
|
type: $props.column.type,
|
|
5032
5032
|
multi: "",
|
|
@@ -5042,8 +5042,8 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5042
5042
|
}, null, 8, ["type", "value"]))
|
|
5043
5043
|
]));
|
|
5044
5044
|
}
|
|
5045
|
-
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5046
|
-
const _sfc_main$
|
|
5045
|
+
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-44c51175"]]);
|
|
5046
|
+
const _sfc_main$12 = {
|
|
5047
5047
|
components: {
|
|
5048
5048
|
TableCell
|
|
5049
5049
|
},
|
|
@@ -5098,7 +5098,7 @@ const _sfc_main$11 = {
|
|
|
5098
5098
|
}
|
|
5099
5099
|
}
|
|
5100
5100
|
};
|
|
5101
|
-
function _sfc_render$
|
|
5101
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5102
5102
|
const _component_ux_checkbox = resolveComponent("ux-checkbox");
|
|
5103
5103
|
const _component_table_cell = resolveComponent("table-cell");
|
|
5104
5104
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
@@ -5140,7 +5140,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5140
5140
|
])
|
|
5141
5141
|
], 2);
|
|
5142
5142
|
}
|
|
5143
|
-
var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5143
|
+
var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12]]);
|
|
5144
5144
|
var RememberScrollMixin = {
|
|
5145
5145
|
data() {
|
|
5146
5146
|
return {
|
|
@@ -5171,7 +5171,7 @@ var RememberScrollMixin = {
|
|
|
5171
5171
|
}
|
|
5172
5172
|
};
|
|
5173
5173
|
var Table_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5174
|
-
const _sfc_main$
|
|
5174
|
+
const _sfc_main$11 = {
|
|
5175
5175
|
mixins: [RememberScrollMixin],
|
|
5176
5176
|
components: {
|
|
5177
5177
|
TableRow,
|
|
@@ -5409,24 +5409,24 @@ const _sfc_main$10 = {
|
|
|
5409
5409
|
}
|
|
5410
5410
|
}
|
|
5411
5411
|
};
|
|
5412
|
-
const _hoisted_1$
|
|
5413
|
-
const _hoisted_2$
|
|
5412
|
+
const _hoisted_1$N = { class: "table-wrapper" };
|
|
5413
|
+
const _hoisted_2$G = {
|
|
5414
5414
|
class: "table-scroll",
|
|
5415
5415
|
ref: "scroll"
|
|
5416
5416
|
};
|
|
5417
|
-
const _hoisted_3$
|
|
5417
|
+
const _hoisted_3$z = {
|
|
5418
5418
|
key: 0,
|
|
5419
5419
|
class: "first table-select shrink"
|
|
5420
5420
|
};
|
|
5421
|
-
const _hoisted_4$
|
|
5422
|
-
const _hoisted_5$
|
|
5423
|
-
const _hoisted_6$
|
|
5424
|
-
const _hoisted_7$
|
|
5421
|
+
const _hoisted_4$w = /* @__PURE__ */ createTextVNode(" Select Page ");
|
|
5422
|
+
const _hoisted_5$p = /* @__PURE__ */ createTextVNode(" Deselect Page ");
|
|
5423
|
+
const _hoisted_6$k = /* @__PURE__ */ createTextVNode(" Deselect All ");
|
|
5424
|
+
const _hoisted_7$h = ["onClick"];
|
|
5425
5425
|
const _hoisted_8$9 = {
|
|
5426
5426
|
key: 1,
|
|
5427
5427
|
class: "last shrink"
|
|
5428
5428
|
};
|
|
5429
|
-
function _sfc_render$
|
|
5429
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5430
5430
|
const _component_ux_checkbox = resolveComponent("ux-checkbox");
|
|
5431
5431
|
const _component_ux_list_item = resolveComponent("ux-list-item");
|
|
5432
5432
|
const _component_ux_list = resolveComponent("ux-list");
|
|
@@ -5434,12 +5434,12 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5434
5434
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
5435
5435
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5436
5436
|
const _component_table_row = resolveComponent("table-row");
|
|
5437
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5438
|
-
createElementVNode("div", _hoisted_2$
|
|
5437
|
+
return openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
5438
|
+
createElementVNode("div", _hoisted_2$G, [
|
|
5439
5439
|
createElementVNode("table", null, [
|
|
5440
5440
|
createElementVNode("thead", null, [
|
|
5441
5441
|
createElementVNode("tr", null, [
|
|
5442
|
-
$props.enableSelection ? (openBlock(), createElementBlock("th", _hoisted_3$
|
|
5442
|
+
$props.enableSelection ? (openBlock(), createElementBlock("th", _hoisted_3$z, [
|
|
5443
5443
|
createVNode(_component_ux_menu, null, {
|
|
5444
5444
|
activator: withCtx(({ on: on2 }) => [
|
|
5445
5445
|
createVNode(_component_ux_checkbox, mergeProps(toHandlers(on2), { value: $options.pageSelected }), null, 16, ["value"])
|
|
@@ -5451,7 +5451,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5451
5451
|
onClick: _cache[0] || (_cache[0] = ($event) => $options.selectPage())
|
|
5452
5452
|
}, {
|
|
5453
5453
|
default: withCtx(() => [
|
|
5454
|
-
_hoisted_4$
|
|
5454
|
+
_hoisted_4$w
|
|
5455
5455
|
]),
|
|
5456
5456
|
_: 1
|
|
5457
5457
|
}),
|
|
@@ -5460,7 +5460,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5460
5460
|
onClick: _cache[1] || (_cache[1] = ($event) => $options.deselectPage())
|
|
5461
5461
|
}, {
|
|
5462
5462
|
default: withCtx(() => [
|
|
5463
|
-
_hoisted_5$
|
|
5463
|
+
_hoisted_5$p
|
|
5464
5464
|
]),
|
|
5465
5465
|
_: 1
|
|
5466
5466
|
})) : createCommentVNode("", true),
|
|
@@ -5478,7 +5478,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5478
5478
|
onClick: _cache[3] || (_cache[3] = ($event) => $props.deselectAll())
|
|
5479
5479
|
}, {
|
|
5480
5480
|
default: withCtx(() => [
|
|
5481
|
-
_hoisted_6$
|
|
5481
|
+
_hoisted_6$k
|
|
5482
5482
|
]),
|
|
5483
5483
|
_: 1
|
|
5484
5484
|
})) : createCommentVNode("", true)
|
|
@@ -5522,7 +5522,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5522
5522
|
}),
|
|
5523
5523
|
_: 2
|
|
5524
5524
|
}, 1024)
|
|
5525
|
-
], 10, _hoisted_7$
|
|
5525
|
+
], 10, _hoisted_7$h);
|
|
5526
5526
|
}), 256)),
|
|
5527
5527
|
$props.enableActions ? (openBlock(), createElementBlock("th", _hoisted_8$9, [
|
|
5528
5528
|
renderSlot(_ctx.$slots, "corner", {}, void 0, true)
|
|
@@ -5550,7 +5550,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5550
5550
|
], 512)
|
|
5551
5551
|
]);
|
|
5552
5552
|
}
|
|
5553
|
-
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5553
|
+
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-03eb874f"]]);
|
|
5554
5554
|
var safeJsonStringify$1 = { exports: {} };
|
|
5555
5555
|
var hasProp = Object.prototype.hasOwnProperty;
|
|
5556
5556
|
function throwsMessage(err) {
|
|
@@ -5604,7 +5604,7 @@ safeJsonStringify$1.exports = function(data, replacer, space) {
|
|
|
5604
5604
|
};
|
|
5605
5605
|
safeJsonStringify$1.exports.ensureProperties = ensureProperties;
|
|
5606
5606
|
var safeJsonStringify = safeJsonStringify$1.exports;
|
|
5607
|
-
function isUndefined$
|
|
5607
|
+
function isUndefined$7(v, type) {
|
|
5608
5608
|
return v === void 0 || v === null || type == "date" && v.toString && v.toString() === "Invalid Date";
|
|
5609
5609
|
}
|
|
5610
5610
|
function isNotEmpty(value) {
|
|
@@ -5812,7 +5812,7 @@ var InputMixin = {
|
|
|
5812
5812
|
val = instance.$sdk.utils.parseURL(val);
|
|
5813
5813
|
break;
|
|
5814
5814
|
case "key":
|
|
5815
|
-
val = String(instance.$sdk.utils.machineName(val)).trim();
|
|
5815
|
+
val = String(instance.$sdk.utils.machineName(val || "") || "").trim();
|
|
5816
5816
|
break;
|
|
5817
5817
|
case "integer":
|
|
5818
5818
|
val = parseInt(String(val).replace(/[^0-9-]/g, ""));
|
|
@@ -5902,7 +5902,7 @@ var InputMixin = {
|
|
|
5902
5902
|
},
|
|
5903
5903
|
cleanOutput(val) {
|
|
5904
5904
|
var self2 = this;
|
|
5905
|
-
if (isUndefined$
|
|
5905
|
+
if (isUndefined$7(val, self2.field.type)) {
|
|
5906
5906
|
if (self2.multiValue) {
|
|
5907
5907
|
val = [];
|
|
5908
5908
|
} else {
|
|
@@ -5968,10 +5968,10 @@ var InputMixin = {
|
|
|
5968
5968
|
}
|
|
5969
5969
|
};
|
|
5970
5970
|
var select_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5971
|
-
function isUndefined$
|
|
5971
|
+
function isUndefined$6(entry) {
|
|
5972
5972
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
5973
5973
|
}
|
|
5974
|
-
const _sfc_main
|
|
5974
|
+
const _sfc_main$10 = {
|
|
5975
5975
|
props: {
|
|
5976
5976
|
title: {
|
|
5977
5977
|
type: String
|
|
@@ -5985,7 +5985,7 @@ const _sfc_main$$ = {
|
|
|
5985
5985
|
methods: {
|
|
5986
5986
|
cleanOutput(val) {
|
|
5987
5987
|
var self2 = this;
|
|
5988
|
-
if (isUndefined$
|
|
5988
|
+
if (isUndefined$6(val)) {
|
|
5989
5989
|
if (self2.multiValue) {
|
|
5990
5990
|
val = [];
|
|
5991
5991
|
} else {
|
|
@@ -6072,39 +6072,39 @@ const _sfc_main$$ = {
|
|
|
6072
6072
|
}
|
|
6073
6073
|
}
|
|
6074
6074
|
};
|
|
6075
|
-
const _hoisted_1$
|
|
6075
|
+
const _hoisted_1$M = {
|
|
6076
6076
|
key: 0,
|
|
6077
6077
|
class: "ux-field-title"
|
|
6078
6078
|
};
|
|
6079
|
-
const _hoisted_2$
|
|
6079
|
+
const _hoisted_2$F = {
|
|
6080
6080
|
key: 0,
|
|
6081
6081
|
class: "ux-required-marker"
|
|
6082
6082
|
};
|
|
6083
|
-
const _hoisted_3$
|
|
6083
|
+
const _hoisted_3$y = {
|
|
6084
6084
|
key: 1,
|
|
6085
6085
|
class: "ux-field-description"
|
|
6086
6086
|
};
|
|
6087
|
-
const _hoisted_4$
|
|
6087
|
+
const _hoisted_4$v = {
|
|
6088
6088
|
key: 2,
|
|
6089
6089
|
class: "ui-select-button"
|
|
6090
6090
|
};
|
|
6091
|
-
const _hoisted_5$
|
|
6092
|
-
const _hoisted_6$
|
|
6091
|
+
const _hoisted_5$o = ["multiple"];
|
|
6092
|
+
const _hoisted_6$j = {
|
|
6093
6093
|
key: 0,
|
|
6094
6094
|
value: ""
|
|
6095
6095
|
};
|
|
6096
|
-
const _hoisted_7$
|
|
6097
|
-
function _sfc_render
|
|
6096
|
+
const _hoisted_7$g = ["value"];
|
|
6097
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6098
6098
|
const _component_ux_button = resolveComponent("ux-button");
|
|
6099
6099
|
return openBlock(), createElementBlock("div", {
|
|
6100
6100
|
class: normalizeClass(["native-select", $options.classes])
|
|
6101
6101
|
}, [
|
|
6102
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
6102
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$M, [
|
|
6103
6103
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
6104
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
6104
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$F, "*")) : createCommentVNode("", true)
|
|
6105
6105
|
])) : createCommentVNode("", true),
|
|
6106
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6107
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
6106
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$y, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
6107
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$v, [
|
|
6108
6108
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
6109
6109
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
6110
6110
|
default: withCtx(() => [
|
|
@@ -6119,20 +6119,20 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6119
6119
|
multiple: _ctx.multiValue,
|
|
6120
6120
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
|
|
6121
6121
|
}, [
|
|
6122
|
-
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$
|
|
6122
|
+
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$j, "None")) : createCommentVNode("", true),
|
|
6123
6123
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
6124
6124
|
return openBlock(), createElementBlock("option", {
|
|
6125
6125
|
value: option2.value
|
|
6126
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
6126
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$g);
|
|
6127
6127
|
}), 256))
|
|
6128
|
-
], 40, _hoisted_5$
|
|
6128
|
+
], 40, _hoisted_5$o), [
|
|
6129
6129
|
[vModelSelect, _ctx.model]
|
|
6130
6130
|
])
|
|
6131
6131
|
], 2);
|
|
6132
6132
|
}
|
|
6133
|
-
var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
6133
|
+
var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-a06c20f2"]]);
|
|
6134
6134
|
var Pager_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6135
|
-
const _sfc_main
|
|
6135
|
+
const _sfc_main$$ = {
|
|
6136
6136
|
props: {
|
|
6137
6137
|
total: {
|
|
6138
6138
|
type: Number,
|
|
@@ -6242,7 +6242,7 @@ const _sfc_main$_ = {
|
|
|
6242
6242
|
};
|
|
6243
6243
|
}
|
|
6244
6244
|
};
|
|
6245
|
-
function _sfc_render
|
|
6245
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6246
6246
|
const _component_native_select = resolveComponent("native-select");
|
|
6247
6247
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
6248
6248
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
@@ -6346,9 +6346,9 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6346
6346
|
_: 1
|
|
6347
6347
|
});
|
|
6348
6348
|
}
|
|
6349
|
-
var Pager$1 = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
6349
|
+
var Pager$1 = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-93d2aed8"]]);
|
|
6350
6350
|
var avatar_vue_vue_type_style_index_0_lang = "";
|
|
6351
|
-
const _sfc_main$
|
|
6351
|
+
const _sfc_main$_ = {
|
|
6352
6352
|
props: {
|
|
6353
6353
|
id: {
|
|
6354
6354
|
type: [Object, String]
|
|
@@ -6362,13 +6362,13 @@ const _sfc_main$Z = {
|
|
|
6362
6362
|
}
|
|
6363
6363
|
}
|
|
6364
6364
|
};
|
|
6365
|
-
const _hoisted_1$
|
|
6366
|
-
function _sfc_render$
|
|
6367
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6365
|
+
const _hoisted_1$L = { class: "avatar" };
|
|
6366
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6367
|
+
return openBlock(), createElementBlock("div", _hoisted_1$L);
|
|
6368
6368
|
}
|
|
6369
|
-
var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6369
|
+
var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_]]);
|
|
6370
6370
|
var spinner_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6371
|
-
const _sfc_main$
|
|
6371
|
+
const _sfc_main$Z = {
|
|
6372
6372
|
props: {
|
|
6373
6373
|
large: {
|
|
6374
6374
|
type: Boolean
|
|
@@ -6376,18 +6376,18 @@ const _sfc_main$Y = {
|
|
|
6376
6376
|
}
|
|
6377
6377
|
};
|
|
6378
6378
|
const _withScopeId$7 = (n2) => (pushScopeId("data-v-27f20370"), n2 = n2(), popScopeId(), n2);
|
|
6379
|
-
const _hoisted_1$
|
|
6380
|
-
const _hoisted_2$
|
|
6381
|
-
_hoisted_1$
|
|
6379
|
+
const _hoisted_1$K = /* @__PURE__ */ _withScopeId$7(() => /* @__PURE__ */ createElementVNode("i", { class: "fa fa-spin fa-spinner" }, null, -1));
|
|
6380
|
+
const _hoisted_2$E = [
|
|
6381
|
+
_hoisted_1$K
|
|
6382
6382
|
];
|
|
6383
|
-
function _sfc_render$
|
|
6383
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6384
6384
|
return openBlock(), createElementBlock("div", {
|
|
6385
6385
|
class: normalizeClass(["ux-spinner", { large: $props.large }])
|
|
6386
|
-
}, _hoisted_2$
|
|
6386
|
+
}, _hoisted_2$E, 2);
|
|
6387
6387
|
}
|
|
6388
|
-
var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6388
|
+
var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__scopeId", "data-v-27f20370"]]);
|
|
6389
6389
|
var button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6390
|
-
const _sfc_main$
|
|
6390
|
+
const _sfc_main$Y = {
|
|
6391
6391
|
components: {
|
|
6392
6392
|
Spinner
|
|
6393
6393
|
},
|
|
@@ -6481,8 +6481,8 @@ const _sfc_main$X = {
|
|
|
6481
6481
|
}
|
|
6482
6482
|
}
|
|
6483
6483
|
};
|
|
6484
|
-
const _hoisted_1$
|
|
6485
|
-
function _sfc_render$
|
|
6484
|
+
const _hoisted_1$J = { class: "ux-btn-text" };
|
|
6485
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6486
6486
|
const _component_spinner = resolveComponent("spinner");
|
|
6487
6487
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
6488
6488
|
active: $props.active,
|
|
@@ -6496,16 +6496,16 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6496
6496
|
}, {
|
|
6497
6497
|
default: withCtx(() => [
|
|
6498
6498
|
$props.loading ? (openBlock(), createBlock(_component_spinner, { key: 0 })) : createCommentVNode("", true),
|
|
6499
|
-
createElementVNode("span", _hoisted_1$
|
|
6499
|
+
createElementVNode("span", _hoisted_1$J, [
|
|
6500
6500
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
6501
6501
|
])
|
|
6502
6502
|
]),
|
|
6503
6503
|
_: 3
|
|
6504
6504
|
}, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
|
|
6505
6505
|
}
|
|
6506
|
-
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6506
|
+
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__scopeId", "data-v-56c95efc"]]);
|
|
6507
6507
|
var checkbox_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
6508
|
-
const _sfc_main$
|
|
6508
|
+
const _sfc_main$X = {
|
|
6509
6509
|
props: {
|
|
6510
6510
|
value: {
|
|
6511
6511
|
type: Boolean,
|
|
@@ -6526,7 +6526,7 @@ const _sfc_main$W = {
|
|
|
6526
6526
|
}
|
|
6527
6527
|
}
|
|
6528
6528
|
};
|
|
6529
|
-
function _sfc_render$
|
|
6529
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6530
6530
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
6531
6531
|
return openBlock(), createElementBlock("button", {
|
|
6532
6532
|
class: normalizeClass(["ux-checkbox", $options.classes])
|
|
@@ -6537,9 +6537,9 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6537
6537
|
})
|
|
6538
6538
|
], 2);
|
|
6539
6539
|
}
|
|
6540
|
-
var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6540
|
+
var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__scopeId", "data-v-6b7b7539"]]);
|
|
6541
6541
|
var switch_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
6542
|
-
const _sfc_main$
|
|
6542
|
+
const _sfc_main$W = {
|
|
6543
6543
|
props: {
|
|
6544
6544
|
value: {
|
|
6545
6545
|
type: Boolean,
|
|
@@ -6569,7 +6569,7 @@ const _sfc_main$V = {
|
|
|
6569
6569
|
}
|
|
6570
6570
|
}
|
|
6571
6571
|
};
|
|
6572
|
-
function _sfc_render$
|
|
6572
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6573
6573
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
6574
6574
|
return openBlock(), createElementBlock("a", {
|
|
6575
6575
|
class: normalizeClass(["ux-switch", $options.classes])
|
|
@@ -6582,9 +6582,9 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6582
6582
|
])
|
|
6583
6583
|
], 2);
|
|
6584
6584
|
}
|
|
6585
|
-
var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6585
|
+
var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-57a418e1"]]);
|
|
6586
6586
|
var link_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6587
|
-
const _sfc_main$
|
|
6587
|
+
const _sfc_main$V = {
|
|
6588
6588
|
props: {
|
|
6589
6589
|
to: {
|
|
6590
6590
|
type: [Object, String]
|
|
@@ -6657,7 +6657,7 @@ const _sfc_main$U = {
|
|
|
6657
6657
|
}
|
|
6658
6658
|
}
|
|
6659
6659
|
};
|
|
6660
|
-
function _sfc_render$
|
|
6660
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6661
6661
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
6662
6662
|
onClick: $options.clicked,
|
|
6663
6663
|
to: $props.to,
|
|
@@ -6671,9 +6671,9 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6671
6671
|
_: 3
|
|
6672
6672
|
}, 8, ["onClick", "to", "href", "target", "class"]);
|
|
6673
6673
|
}
|
|
6674
|
-
var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6674
|
+
var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__scopeId", "data-v-8b82829a"]]);
|
|
6675
6675
|
var icon_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6676
|
-
const _sfc_main$
|
|
6676
|
+
const _sfc_main$U = {
|
|
6677
6677
|
props: {
|
|
6678
6678
|
icon: {
|
|
6679
6679
|
type: [Object, String]
|
|
@@ -6708,17 +6708,17 @@ const _sfc_main$T = {
|
|
|
6708
6708
|
}
|
|
6709
6709
|
}
|
|
6710
6710
|
};
|
|
6711
|
-
function _sfc_render$
|
|
6711
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6712
6712
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
6713
6713
|
class: normalizeClass(["ux-icon fa", $options.classes])
|
|
6714
6714
|
}, null, 8, ["class"]);
|
|
6715
6715
|
}
|
|
6716
|
-
var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6716
|
+
var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-1764a3d0"]]);
|
|
6717
6717
|
var UXMenuService = {
|
|
6718
6718
|
cache: {}
|
|
6719
6719
|
};
|
|
6720
6720
|
var menu_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6721
|
-
const _sfc_main$
|
|
6721
|
+
const _sfc_main$T = {
|
|
6722
6722
|
props: {
|
|
6723
6723
|
group: {
|
|
6724
6724
|
type: String
|
|
@@ -6870,7 +6870,7 @@ const _sfc_main$S = {
|
|
|
6870
6870
|
}
|
|
6871
6871
|
}
|
|
6872
6872
|
};
|
|
6873
|
-
function _sfc_render$
|
|
6873
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6874
6874
|
return openBlock(), createElementBlock("div", {
|
|
6875
6875
|
class: normalizeClass(["ux-menu", { right: $props.right }])
|
|
6876
6876
|
}, [
|
|
@@ -6894,8 +6894,8 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6894
6894
|
]))
|
|
6895
6895
|
], 2);
|
|
6896
6896
|
}
|
|
6897
|
-
var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6898
|
-
const _sfc_main$
|
|
6897
|
+
var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__scopeId", "data-v-29d476a2"]]);
|
|
6898
|
+
const _sfc_main$S = {
|
|
6899
6899
|
name: "menulist",
|
|
6900
6900
|
props: {
|
|
6901
6901
|
items: {
|
|
@@ -6926,7 +6926,7 @@ const _sfc_main$R = {
|
|
|
6926
6926
|
return {};
|
|
6927
6927
|
}
|
|
6928
6928
|
};
|
|
6929
|
-
function _sfc_render$
|
|
6929
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6930
6930
|
const _component_ux_link = resolveComponent("ux-link");
|
|
6931
6931
|
const _component_menulist = resolveComponent("menulist", true);
|
|
6932
6932
|
return openBlock(), createElementBlock("ul", null, [
|
|
@@ -6974,9 +6974,9 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6974
6974
|
}), 256))
|
|
6975
6975
|
]);
|
|
6976
6976
|
}
|
|
6977
|
-
var UXMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6977
|
+
var UXMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S]]);
|
|
6978
6978
|
var image_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6979
|
-
const _sfc_main$
|
|
6979
|
+
const _sfc_main$R = {
|
|
6980
6980
|
props: {
|
|
6981
6981
|
item: {
|
|
6982
6982
|
type: Object
|
|
@@ -7155,9 +7155,9 @@ const _sfc_main$Q = {
|
|
|
7155
7155
|
}
|
|
7156
7156
|
}
|
|
7157
7157
|
};
|
|
7158
|
-
const _hoisted_1$
|
|
7159
|
-
const _hoisted_2$
|
|
7160
|
-
function _sfc_render$
|
|
7158
|
+
const _hoisted_1$I = ["alt", "data"];
|
|
7159
|
+
const _hoisted_2$D = ["alt", "src"];
|
|
7160
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7161
7161
|
return openBlock(), createElementBlock("div", {
|
|
7162
7162
|
class: normalizeClass(["ux-image", $options.className]),
|
|
7163
7163
|
style: normalizeStyle($options.style)
|
|
@@ -7167,17 +7167,17 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7167
7167
|
alt: $options.altText,
|
|
7168
7168
|
type: "image/svg+xml",
|
|
7169
7169
|
data: $options.src
|
|
7170
|
-
}, null, 8, _hoisted_1$
|
|
7170
|
+
}, null, 8, _hoisted_1$I)) : (openBlock(), createElementBlock("img", {
|
|
7171
7171
|
key: 1,
|
|
7172
7172
|
alt: $options.altText,
|
|
7173
7173
|
style: normalizeStyle($options.imageStyle),
|
|
7174
7174
|
src: $options.src
|
|
7175
|
-
}, null, 12, _hoisted_2$
|
|
7175
|
+
}, null, 12, _hoisted_2$D))
|
|
7176
7176
|
], 6);
|
|
7177
7177
|
}
|
|
7178
|
-
var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7178
|
+
var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-a7872864"]]);
|
|
7179
7179
|
var progressbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7180
|
-
const _sfc_main$
|
|
7180
|
+
const _sfc_main$Q = {
|
|
7181
7181
|
props: {
|
|
7182
7182
|
value: {
|
|
7183
7183
|
type: Number
|
|
@@ -7212,36 +7212,36 @@ const _sfc_main$P = {
|
|
|
7212
7212
|
}
|
|
7213
7213
|
};
|
|
7214
7214
|
const _withScopeId$6 = (n2) => (pushScopeId("data-v-317a7690"), n2 = n2(), popScopeId(), n2);
|
|
7215
|
-
const _hoisted_1$
|
|
7216
|
-
const _hoisted_2$
|
|
7217
|
-
function _sfc_render$
|
|
7218
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7219
|
-
_hoisted_2$
|
|
7215
|
+
const _hoisted_1$H = { class: "ux-progress" };
|
|
7216
|
+
const _hoisted_2$C = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ createElementVNode("div", { class: "ux-progress-bg" }, null, -1));
|
|
7217
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7218
|
+
return openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
7219
|
+
_hoisted_2$C,
|
|
7220
7220
|
createElementVNode("div", {
|
|
7221
7221
|
class: "ux-progress-fg",
|
|
7222
7222
|
style: normalizeStyle($options.barStyle)
|
|
7223
7223
|
}, null, 4)
|
|
7224
7224
|
]);
|
|
7225
7225
|
}
|
|
7226
|
-
var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7226
|
+
var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-317a7690"]]);
|
|
7227
7227
|
var list_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7228
|
-
const _sfc_main$
|
|
7229
|
-
const _hoisted_1$
|
|
7230
|
-
function _sfc_render$
|
|
7231
|
-
return openBlock(), createElementBlock("ul", _hoisted_1$
|
|
7228
|
+
const _sfc_main$P = {};
|
|
7229
|
+
const _hoisted_1$G = { class: "ux-list" };
|
|
7230
|
+
function _sfc_render$P(_ctx, _cache) {
|
|
7231
|
+
return openBlock(), createElementBlock("ul", _hoisted_1$G, [
|
|
7232
7232
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
7233
7233
|
]);
|
|
7234
7234
|
}
|
|
7235
|
-
var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7235
|
+
var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__scopeId", "data-v-98e1e4e2"]]);
|
|
7236
7236
|
var listItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7237
|
-
const _sfc_main$
|
|
7238
|
-
const _hoisted_1$
|
|
7239
|
-
function _sfc_render$
|
|
7240
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7237
|
+
const _sfc_main$O = {};
|
|
7238
|
+
const _hoisted_1$F = { class: "ux-list-item" };
|
|
7239
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7240
|
+
return openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
7241
7241
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
7242
7242
|
]);
|
|
7243
7243
|
}
|
|
7244
|
-
var UXListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7244
|
+
var UXListItem = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__scopeId", "data-v-0e73c260"]]);
|
|
7245
7245
|
var daterange_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
7246
7246
|
function checkDate(d) {
|
|
7247
7247
|
var date = new Date(d);
|
|
@@ -7250,7 +7250,7 @@ function checkDate(d) {
|
|
|
7250
7250
|
}
|
|
7251
7251
|
return;
|
|
7252
7252
|
}
|
|
7253
|
-
const _sfc_main$
|
|
7253
|
+
const _sfc_main$N = {
|
|
7254
7254
|
props: {
|
|
7255
7255
|
modelValue: {
|
|
7256
7256
|
type: Object
|
|
@@ -7301,9 +7301,9 @@ const _sfc_main$M = {
|
|
|
7301
7301
|
}
|
|
7302
7302
|
};
|
|
7303
7303
|
const _withScopeId$5 = (n2) => (pushScopeId("data-v-61cbf45e"), n2 = n2(), popScopeId(), n2);
|
|
7304
|
-
const _hoisted_1$
|
|
7305
|
-
const _hoisted_2$
|
|
7306
|
-
function _sfc_render$
|
|
7304
|
+
const _hoisted_1$E = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("label", null, "From Date", -1));
|
|
7305
|
+
const _hoisted_2$B = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("label", null, "To Date", -1));
|
|
7306
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7307
7307
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
7308
7308
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7309
7309
|
return openBlock(), createElementBlock("div", null, [
|
|
@@ -7316,7 +7316,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7316
7316
|
createVNode(_component_flex_cell, { class: "cell" }, {
|
|
7317
7317
|
default: withCtx(() => [
|
|
7318
7318
|
createElementVNode("div", null, [
|
|
7319
|
-
_hoisted_1$
|
|
7319
|
+
_hoisted_1$E,
|
|
7320
7320
|
withDirectives(createElementVNode("input", {
|
|
7321
7321
|
type: "date",
|
|
7322
7322
|
class: "ux-field-focus ux-text-input-multiple",
|
|
@@ -7332,7 +7332,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7332
7332
|
createVNode(_component_flex_cell, { class: "cell" }, {
|
|
7333
7333
|
default: withCtx(() => [
|
|
7334
7334
|
createElementVNode("div", null, [
|
|
7335
|
-
_hoisted_2$
|
|
7335
|
+
_hoisted_2$B,
|
|
7336
7336
|
withDirectives(createElementVNode("input", {
|
|
7337
7337
|
type: "date",
|
|
7338
7338
|
class: "ux-field-focus ux-text-input-multiple",
|
|
@@ -7350,9 +7350,9 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7350
7350
|
})
|
|
7351
7351
|
]);
|
|
7352
7352
|
}
|
|
7353
|
-
var Daterange = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7353
|
+
var Daterange = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__scopeId", "data-v-61cbf45e"]]);
|
|
7354
7354
|
var phoneNumberInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7355
|
-
const _sfc_main$
|
|
7355
|
+
const _sfc_main$M = {
|
|
7356
7356
|
props: {
|
|
7357
7357
|
modelValue: {
|
|
7358
7358
|
type: [Object, Array]
|
|
@@ -7424,41 +7424,41 @@ const _sfc_main$L = {
|
|
|
7424
7424
|
}
|
|
7425
7425
|
};
|
|
7426
7426
|
const _withScopeId$4 = (n2) => (pushScopeId("data-v-32219a94"), n2 = n2(), popScopeId(), n2);
|
|
7427
|
-
const _hoisted_1$
|
|
7427
|
+
const _hoisted_1$D = {
|
|
7428
7428
|
key: 0,
|
|
7429
7429
|
class: "ux-field-title"
|
|
7430
7430
|
};
|
|
7431
|
-
const _hoisted_2$
|
|
7431
|
+
const _hoisted_2$A = {
|
|
7432
7432
|
key: 0,
|
|
7433
7433
|
class: "ux-required-marker"
|
|
7434
7434
|
};
|
|
7435
|
-
const _hoisted_3$
|
|
7435
|
+
const _hoisted_3$x = {
|
|
7436
7436
|
key: 1,
|
|
7437
7437
|
class: "ux-field-description"
|
|
7438
7438
|
};
|
|
7439
|
-
const _hoisted_4$
|
|
7440
|
-
const _hoisted_5$
|
|
7441
|
-
const _hoisted_6$
|
|
7442
|
-
const _hoisted_7$
|
|
7439
|
+
const _hoisted_4$u = { key: 2 };
|
|
7440
|
+
const _hoisted_5$n = /* @__PURE__ */ createTextVNode(" Country Code ");
|
|
7441
|
+
const _hoisted_6$i = { key: 0 };
|
|
7442
|
+
const _hoisted_7$f = { key: 1 };
|
|
7443
7443
|
const _hoisted_8$8 = { class: "ux-text-wrap" };
|
|
7444
7444
|
const _hoisted_9$7 = ["placeholder", "onUpdate:modelValue"];
|
|
7445
7445
|
const _hoisted_10$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("option", { value: "" }, "None", -1));
|
|
7446
7446
|
const _hoisted_11$4 = ["value"];
|
|
7447
7447
|
const _hoisted_12$4 = { class: "ux-text-wrap" };
|
|
7448
7448
|
const _hoisted_13$4 = ["placeholder"];
|
|
7449
|
-
function _sfc_render$
|
|
7449
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7450
7450
|
const _component_ux_button = resolveComponent("ux-button");
|
|
7451
7451
|
const _component_native_select = resolveComponent("native-select");
|
|
7452
7452
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
7453
7453
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
7454
7454
|
const _component_flex_row = resolveComponent("flex-row");
|
|
7455
7455
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
7456
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7456
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$D, [
|
|
7457
7457
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
7458
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
7458
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$A, "*")) : createCommentVNode("", true)
|
|
7459
7459
|
])) : createCommentVNode("", true),
|
|
7460
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7461
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
7460
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$x, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
7461
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$u, [
|
|
7462
7462
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
7463
7463
|
return openBlock(), createBlock(_component_flex_row, {
|
|
7464
7464
|
gap: "",
|
|
@@ -7479,9 +7479,9 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7479
7479
|
createVNode(_component_ux_button, { tag: "a" }, {
|
|
7480
7480
|
default: withCtx(() => [
|
|
7481
7481
|
!entry.countryCode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
7482
|
-
_hoisted_5$
|
|
7482
|
+
_hoisted_5$n
|
|
7483
7483
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
7484
|
-
$data.lookup[entry.countryCode] ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
7484
|
+
$data.lookup[entry.countryCode] ? (openBlock(), createElementBlock("div", _hoisted_6$i, toDisplayString($data.lookup[entry.countryCode].emoji) + " - " + toDisplayString($data.lookup[entry.countryCode].alpha2), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$f, "Loading"))
|
|
7485
7485
|
], 64))
|
|
7486
7486
|
]),
|
|
7487
7487
|
_: 2
|
|
@@ -7592,12 +7592,12 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7592
7592
|
}))
|
|
7593
7593
|
], 64);
|
|
7594
7594
|
}
|
|
7595
|
-
var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7595
|
+
var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-32219a94"]]);
|
|
7596
7596
|
var timezone_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7597
|
-
function isUndefined$
|
|
7597
|
+
function isUndefined$5(entry) {
|
|
7598
7598
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
7599
7599
|
}
|
|
7600
|
-
const _sfc_main$
|
|
7600
|
+
const _sfc_main$L = {
|
|
7601
7601
|
props: {
|
|
7602
7602
|
modelValue: {}
|
|
7603
7603
|
},
|
|
@@ -7608,7 +7608,7 @@ const _sfc_main$K = {
|
|
|
7608
7608
|
methods: {
|
|
7609
7609
|
cleanOutput(val) {
|
|
7610
7610
|
var self2 = this;
|
|
7611
|
-
if (isUndefined$
|
|
7611
|
+
if (isUndefined$5(val)) {
|
|
7612
7612
|
if (self2.multiValue) {
|
|
7613
7613
|
val = [];
|
|
7614
7614
|
} else {
|
|
@@ -8122,39 +8122,39 @@ const _sfc_main$K = {
|
|
|
8122
8122
|
}
|
|
8123
8123
|
}
|
|
8124
8124
|
};
|
|
8125
|
-
const _hoisted_1$
|
|
8125
|
+
const _hoisted_1$C = {
|
|
8126
8126
|
key: 0,
|
|
8127
8127
|
class: "ux-field-title"
|
|
8128
8128
|
};
|
|
8129
|
-
const _hoisted_2$
|
|
8129
|
+
const _hoisted_2$z = {
|
|
8130
8130
|
key: 0,
|
|
8131
8131
|
class: "ux-required-marker"
|
|
8132
8132
|
};
|
|
8133
|
-
const _hoisted_3$
|
|
8133
|
+
const _hoisted_3$w = {
|
|
8134
8134
|
key: 1,
|
|
8135
8135
|
class: "ux-field-description"
|
|
8136
8136
|
};
|
|
8137
|
-
const _hoisted_4$
|
|
8137
|
+
const _hoisted_4$t = {
|
|
8138
8138
|
key: 2,
|
|
8139
8139
|
class: "ui-select-button"
|
|
8140
8140
|
};
|
|
8141
|
-
const _hoisted_5$
|
|
8142
|
-
const _hoisted_6$
|
|
8141
|
+
const _hoisted_5$m = ["multiple"];
|
|
8142
|
+
const _hoisted_6$h = {
|
|
8143
8143
|
key: 0,
|
|
8144
8144
|
value: ""
|
|
8145
8145
|
};
|
|
8146
|
-
const _hoisted_7$
|
|
8147
|
-
function _sfc_render$
|
|
8146
|
+
const _hoisted_7$e = ["value"];
|
|
8147
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8148
8148
|
const _component_ux_button = resolveComponent("ux-button");
|
|
8149
8149
|
return openBlock(), createElementBlock("div", {
|
|
8150
8150
|
class: normalizeClass(["native-select", $options.classes])
|
|
8151
8151
|
}, [
|
|
8152
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
8152
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$C, [
|
|
8153
8153
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
8154
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
8154
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$z, "*")) : createCommentVNode("", true)
|
|
8155
8155
|
])) : createCommentVNode("", true),
|
|
8156
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
8157
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
8156
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$w, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
8157
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$t, [
|
|
8158
8158
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
8159
8159
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
8160
8160
|
default: withCtx(() => [
|
|
@@ -8169,20 +8169,20 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8169
8169
|
multiple: _ctx.multiValue,
|
|
8170
8170
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
|
|
8171
8171
|
}, [
|
|
8172
|
-
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$
|
|
8172
|
+
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$h, "None")) : createCommentVNode("", true),
|
|
8173
8173
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
8174
8174
|
return openBlock(), createElementBlock("option", {
|
|
8175
8175
|
value: option2.value
|
|
8176
|
-
}, toDisplayString(option2.title), 9, _hoisted_7$
|
|
8176
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$e);
|
|
8177
8177
|
}), 256))
|
|
8178
|
-
], 40, _hoisted_5$
|
|
8178
|
+
], 40, _hoisted_5$m), [
|
|
8179
8179
|
[vModelSelect, _ctx.model]
|
|
8180
8180
|
])
|
|
8181
8181
|
], 2);
|
|
8182
8182
|
}
|
|
8183
|
-
var TimezoneSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8183
|
+
var TimezoneSelect = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-a15362c8"]]);
|
|
8184
8184
|
var item_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
8185
|
-
const _sfc_main$
|
|
8185
|
+
const _sfc_main$K = {
|
|
8186
8186
|
props: {
|
|
8187
8187
|
item: {
|
|
8188
8188
|
type: Object,
|
|
@@ -8212,7 +8212,7 @@ const _sfc_main$J = {
|
|
|
8212
8212
|
}
|
|
8213
8213
|
}
|
|
8214
8214
|
};
|
|
8215
|
-
function _sfc_render$
|
|
8215
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8216
8216
|
const _component_ux_image = resolveComponent("ux-image");
|
|
8217
8217
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
8218
8218
|
const _component_flex_row = resolveComponent("flex-row");
|
|
@@ -8263,7 +8263,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8263
8263
|
})
|
|
8264
8264
|
]);
|
|
8265
8265
|
}
|
|
8266
|
-
var Item = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8266
|
+
var Item = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-055fac6a"]]);
|
|
8267
8267
|
/**!
|
|
8268
8268
|
* Sortable 1.14.0
|
|
8269
8269
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -10931,7 +10931,7 @@ const draggableComponent = defineComponent({
|
|
|
10931
10931
|
}
|
|
10932
10932
|
});
|
|
10933
10933
|
var contentSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10934
|
-
const _sfc_main$
|
|
10934
|
+
const _sfc_main$J = {
|
|
10935
10935
|
components: {
|
|
10936
10936
|
Item,
|
|
10937
10937
|
draggable: draggableComponent
|
|
@@ -11104,24 +11104,24 @@ const _sfc_main$I = {
|
|
|
11104
11104
|
}
|
|
11105
11105
|
}
|
|
11106
11106
|
};
|
|
11107
|
-
const _hoisted_1$
|
|
11107
|
+
const _hoisted_1$B = {
|
|
11108
11108
|
key: 0,
|
|
11109
11109
|
class: "ux-field-title"
|
|
11110
11110
|
};
|
|
11111
|
-
const _hoisted_2$
|
|
11111
|
+
const _hoisted_2$y = {
|
|
11112
11112
|
key: 0,
|
|
11113
11113
|
class: "ux-required-marker"
|
|
11114
11114
|
};
|
|
11115
|
-
const _hoisted_3$
|
|
11115
|
+
const _hoisted_3$v = {
|
|
11116
11116
|
key: 1,
|
|
11117
11117
|
class: "ux-field-description"
|
|
11118
11118
|
};
|
|
11119
|
-
const _hoisted_4$
|
|
11119
|
+
const _hoisted_4$s = {
|
|
11120
11120
|
key: 1,
|
|
11121
11121
|
class: "items"
|
|
11122
11122
|
};
|
|
11123
|
-
const _hoisted_5$
|
|
11124
|
-
function _sfc_render$
|
|
11123
|
+
const _hoisted_5$l = /* @__PURE__ */ createTextVNode(" Create ");
|
|
11124
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11125
11125
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
11126
11126
|
const _component_ux_button = resolveComponent("ux-button");
|
|
11127
11127
|
const _component_item = resolveComponent("item");
|
|
@@ -11130,11 +11130,11 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11130
11130
|
const _component_flex_spacer = resolveComponent("flex-spacer");
|
|
11131
11131
|
const _component_flex_row = resolveComponent("flex-row");
|
|
11132
11132
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
11133
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
11133
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
|
|
11134
11134
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
11135
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
11135
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$y, "*")) : createCommentVNode("", true)
|
|
11136
11136
|
])) : createCommentVNode("", true),
|
|
11137
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
11137
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$v, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
11138
11138
|
$options.showList ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
11139
11139
|
_ctx.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11140
11140
|
_ctx.model && _ctx.model.length ? (openBlock(), createBlock(_component_draggable, {
|
|
@@ -11174,7 +11174,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11174
11174
|
]),
|
|
11175
11175
|
_: 1
|
|
11176
11176
|
}, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
11177
|
-
], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
11177
|
+
], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$s, [
|
|
11178
11178
|
createVNode(_component_item, { item: _ctx.model }, {
|
|
11179
11179
|
actions: withCtx(() => [
|
|
11180
11180
|
$options.canEdit(_ctx.model) ? (openBlock(), createBlock(_component_ux_button, {
|
|
@@ -11227,7 +11227,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11227
11227
|
onClick: $options.create
|
|
11228
11228
|
}, {
|
|
11229
11229
|
default: withCtx(() => [
|
|
11230
|
-
_hoisted_5$
|
|
11230
|
+
_hoisted_5$l,
|
|
11231
11231
|
createVNode(_component_ux_icon, {
|
|
11232
11232
|
right: "",
|
|
11233
11233
|
icon: "fa-plus"
|
|
@@ -11244,12 +11244,12 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11244
11244
|
})) : createCommentVNode("", true)
|
|
11245
11245
|
], 64);
|
|
11246
11246
|
}
|
|
11247
|
-
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11247
|
+
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-236b5d48"]]);
|
|
11248
11248
|
var typeSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11249
|
-
function isUndefined$
|
|
11249
|
+
function isUndefined$4(entry) {
|
|
11250
11250
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
11251
11251
|
}
|
|
11252
|
-
const _sfc_main$
|
|
11252
|
+
const _sfc_main$I = {
|
|
11253
11253
|
props: {
|
|
11254
11254
|
title: {
|
|
11255
11255
|
type: String
|
|
@@ -11287,7 +11287,7 @@ const _sfc_main$H = {
|
|
|
11287
11287
|
methods: {
|
|
11288
11288
|
cleanOutput(val) {
|
|
11289
11289
|
var self2 = this;
|
|
11290
|
-
if (isUndefined$
|
|
11290
|
+
if (isUndefined$4(val)) {
|
|
11291
11291
|
if (self2.multiValue) {
|
|
11292
11292
|
val = [];
|
|
11293
11293
|
} else {
|
|
@@ -11358,6 +11358,243 @@ const _sfc_main$H = {
|
|
|
11358
11358
|
}
|
|
11359
11359
|
}
|
|
11360
11360
|
};
|
|
11361
|
+
const _hoisted_1$A = {
|
|
11362
|
+
key: 0,
|
|
11363
|
+
class: "ux-field-title"
|
|
11364
|
+
};
|
|
11365
|
+
const _hoisted_2$x = {
|
|
11366
|
+
key: 0,
|
|
11367
|
+
class: "ux-required-marker"
|
|
11368
|
+
};
|
|
11369
|
+
const _hoisted_3$u = {
|
|
11370
|
+
key: 1,
|
|
11371
|
+
class: "ux-field-description"
|
|
11372
|
+
};
|
|
11373
|
+
const _hoisted_4$r = {
|
|
11374
|
+
key: 2,
|
|
11375
|
+
class: "ui-select-button"
|
|
11376
|
+
};
|
|
11377
|
+
const _hoisted_5$k = ["multiple"];
|
|
11378
|
+
const _hoisted_6$g = {
|
|
11379
|
+
key: 0,
|
|
11380
|
+
value: ""
|
|
11381
|
+
};
|
|
11382
|
+
const _hoisted_7$d = ["value"];
|
|
11383
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11384
|
+
const _component_ux_button = resolveComponent("ux-button");
|
|
11385
|
+
return openBlock(), createElementBlock("div", {
|
|
11386
|
+
class: normalizeClass(["native-select", $options.classes])
|
|
11387
|
+
}, [
|
|
11388
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
|
|
11389
|
+
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
11390
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$x, "*")) : createCommentVNode("", true)
|
|
11391
|
+
])) : createCommentVNode("", true),
|
|
11392
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$u, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
11393
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$r, [
|
|
11394
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
11395
|
+
createVNode(_component_ux_button, { tag: "div" }, {
|
|
11396
|
+
default: withCtx(() => [
|
|
11397
|
+
createTextVNode(toDisplayString($options.summary), 1)
|
|
11398
|
+
]),
|
|
11399
|
+
_: 1
|
|
11400
|
+
})
|
|
11401
|
+
], true)
|
|
11402
|
+
])) : createCommentVNode("", true),
|
|
11403
|
+
withDirectives(createElementVNode("select", {
|
|
11404
|
+
onFocus: _cache[0] || (_cache[0] = (...args) => _ctx.touch && _ctx.touch(...args)),
|
|
11405
|
+
multiple: _ctx.multiValue,
|
|
11406
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.model = $event)
|
|
11407
|
+
}, [
|
|
11408
|
+
_ctx.singleValue && !_ctx.minimum ? (openBlock(), createElementBlock("option", _hoisted_6$g, "None")) : createCommentVNode("", true),
|
|
11409
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectableOptions, (option2) => {
|
|
11410
|
+
return openBlock(), createElementBlock("option", {
|
|
11411
|
+
value: option2.value
|
|
11412
|
+
}, toDisplayString(option2.title), 9, _hoisted_7$d);
|
|
11413
|
+
}), 256))
|
|
11414
|
+
], 40, _hoisted_5$k), [
|
|
11415
|
+
[vModelSelect, _ctx.model]
|
|
11416
|
+
])
|
|
11417
|
+
], 2);
|
|
11418
|
+
}
|
|
11419
|
+
var TypeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-49a55ef8"]]);
|
|
11420
|
+
var fieldSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11421
|
+
function isUndefined$3(entry) {
|
|
11422
|
+
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
11423
|
+
}
|
|
11424
|
+
const _sfc_main$H = {
|
|
11425
|
+
props: {
|
|
11426
|
+
title: {
|
|
11427
|
+
type: String
|
|
11428
|
+
},
|
|
11429
|
+
modelValue: {}
|
|
11430
|
+
},
|
|
11431
|
+
mixins: [InputMixin],
|
|
11432
|
+
async created() {
|
|
11433
|
+
this.model = this.model;
|
|
11434
|
+
},
|
|
11435
|
+
watch: {
|
|
11436
|
+
referenceType: {
|
|
11437
|
+
async handler(referenceType) {
|
|
11438
|
+
const self2 = this;
|
|
11439
|
+
const glossary = await this.$sdk.content.glossary({ hash: true });
|
|
11440
|
+
self2.definition = glossary[referenceType];
|
|
11441
|
+
},
|
|
11442
|
+
immediate: true
|
|
11443
|
+
}
|
|
11444
|
+
},
|
|
11445
|
+
data() {
|
|
11446
|
+
return {
|
|
11447
|
+
types: [],
|
|
11448
|
+
definition: null
|
|
11449
|
+
};
|
|
11450
|
+
},
|
|
11451
|
+
methods: {
|
|
11452
|
+
cleanOutput(val) {
|
|
11453
|
+
var self2 = this;
|
|
11454
|
+
if (isUndefined$3(val)) {
|
|
11455
|
+
if (self2.multiValue) {
|
|
11456
|
+
val = [];
|
|
11457
|
+
} else {
|
|
11458
|
+
val = void 0;
|
|
11459
|
+
}
|
|
11460
|
+
} else {
|
|
11461
|
+
if (self2.multiValue) {
|
|
11462
|
+
val = (val || []).filter(Boolean).map(function(i2) {
|
|
11463
|
+
return self2.getValue(i2);
|
|
11464
|
+
});
|
|
11465
|
+
} else {
|
|
11466
|
+
val = self2.getValue(val);
|
|
11467
|
+
}
|
|
11468
|
+
}
|
|
11469
|
+
return val;
|
|
11470
|
+
},
|
|
11471
|
+
cleanInput(val) {
|
|
11472
|
+
var self2 = this;
|
|
11473
|
+
if (self2.multiValue) {
|
|
11474
|
+
if (!val) {
|
|
11475
|
+
val = [];
|
|
11476
|
+
}
|
|
11477
|
+
if (!Array.isArray(val)) {
|
|
11478
|
+
val = [val];
|
|
11479
|
+
}
|
|
11480
|
+
if (self2.maximum) {
|
|
11481
|
+
if (val.length > self2.maximum) {
|
|
11482
|
+
val.length = self2.maximum;
|
|
11483
|
+
}
|
|
11484
|
+
}
|
|
11485
|
+
val = val.filter(Boolean).map(function(v) {
|
|
11486
|
+
var valueKey2 = self2.getValue(v);
|
|
11487
|
+
return self2.returnObject ? self2.optionLookup[valueKey2] : valueKey2;
|
|
11488
|
+
});
|
|
11489
|
+
} else {
|
|
11490
|
+
var valueKey = self2.getValue(val);
|
|
11491
|
+
val = self2.returnObject ? self2.optionLookup[valueKey] : valueKey;
|
|
11492
|
+
}
|
|
11493
|
+
return val;
|
|
11494
|
+
}
|
|
11495
|
+
},
|
|
11496
|
+
computed: {
|
|
11497
|
+
fields() {
|
|
11498
|
+
const self2 = this;
|
|
11499
|
+
if (!self2.definition) {
|
|
11500
|
+
return [];
|
|
11501
|
+
}
|
|
11502
|
+
const isFormSubmission = self2.definition.definesType === "submission";
|
|
11503
|
+
var allFields = [...self2.definition.fields];
|
|
11504
|
+
var definedFields = self2.definition.definedFields || [];
|
|
11505
|
+
if (definedFields.length) {
|
|
11506
|
+
if (isFormSubmission) {
|
|
11507
|
+
var formDataFields = {
|
|
11508
|
+
title: `Form Data`,
|
|
11509
|
+
minimum: 1,
|
|
11510
|
+
maximum: 1,
|
|
11511
|
+
key: "formData",
|
|
11512
|
+
asObject: true,
|
|
11513
|
+
type: "group",
|
|
11514
|
+
fields: definedFields
|
|
11515
|
+
};
|
|
11516
|
+
allFields.push(formDataFields);
|
|
11517
|
+
const cleanedDataFields = definedFields.map(function(field) {
|
|
11518
|
+
if (field.type === "reference") {
|
|
11519
|
+
field = JSON.parse(JSON.stringify(field));
|
|
11520
|
+
delete field.fields;
|
|
11521
|
+
}
|
|
11522
|
+
return field;
|
|
11523
|
+
});
|
|
11524
|
+
var dataFields = {
|
|
11525
|
+
title: `Data`,
|
|
11526
|
+
minimum: 1,
|
|
11527
|
+
maximum: 1,
|
|
11528
|
+
key: "data",
|
|
11529
|
+
asObject: true,
|
|
11530
|
+
type: "group",
|
|
11531
|
+
fields: cleanedDataFields
|
|
11532
|
+
};
|
|
11533
|
+
allFields.push(dataFields);
|
|
11534
|
+
} else {
|
|
11535
|
+
var dataFields = {
|
|
11536
|
+
title: `${self2.definition.title}`,
|
|
11537
|
+
minimum: 1,
|
|
11538
|
+
maximum: 1,
|
|
11539
|
+
key: "data",
|
|
11540
|
+
asObject: true,
|
|
11541
|
+
type: "group",
|
|
11542
|
+
fields: definedFields
|
|
11543
|
+
};
|
|
11544
|
+
allFields.push(dataFields);
|
|
11545
|
+
}
|
|
11546
|
+
}
|
|
11547
|
+
var mapped = self2.$sdk.utils.mapFields(allFields).filter(function(field) {
|
|
11548
|
+
var isObject2 = field.type == "group" && field.asObject && (field.minimum == 1 && field.maximum == 1);
|
|
11549
|
+
return !isObject2;
|
|
11550
|
+
}).map(function(field) {
|
|
11551
|
+
field.title = field.titles.join(" > ");
|
|
11552
|
+
return field;
|
|
11553
|
+
}).sort(function(a2, b) {
|
|
11554
|
+
return a2.title < b.title ? -1 : 1;
|
|
11555
|
+
});
|
|
11556
|
+
return mapped;
|
|
11557
|
+
},
|
|
11558
|
+
fieldOptions() {
|
|
11559
|
+
const self2 = this;
|
|
11560
|
+
return self2.fields.map(function(field) {
|
|
11561
|
+
return {
|
|
11562
|
+
title: field.title,
|
|
11563
|
+
value: field.path
|
|
11564
|
+
};
|
|
11565
|
+
});
|
|
11566
|
+
},
|
|
11567
|
+
referenceType() {
|
|
11568
|
+
return this.field.referenceType;
|
|
11569
|
+
},
|
|
11570
|
+
returnObject() {
|
|
11571
|
+
return false;
|
|
11572
|
+
},
|
|
11573
|
+
classes() {
|
|
11574
|
+
var array = [];
|
|
11575
|
+
if (this.multiValue) {
|
|
11576
|
+
array.push("multiple");
|
|
11577
|
+
} else {
|
|
11578
|
+
array.push("single");
|
|
11579
|
+
}
|
|
11580
|
+
return array;
|
|
11581
|
+
},
|
|
11582
|
+
optionLookup() {
|
|
11583
|
+
var self2 = this;
|
|
11584
|
+
return self2.fieldOptions.reduce(function(set, option2) {
|
|
11585
|
+
const key = self2.getValue(option2);
|
|
11586
|
+
set[key] = option2;
|
|
11587
|
+
return set;
|
|
11588
|
+
}, {});
|
|
11589
|
+
},
|
|
11590
|
+
summary() {
|
|
11591
|
+
return this.model ? this.getLabel(this.optionLookup[this.model]) : this.title || "Click to select";
|
|
11592
|
+
},
|
|
11593
|
+
selectableOptions() {
|
|
11594
|
+
return this.fieldOptions;
|
|
11595
|
+
}
|
|
11596
|
+
}
|
|
11597
|
+
};
|
|
11361
11598
|
const _hoisted_1$z = {
|
|
11362
11599
|
key: 0,
|
|
11363
11600
|
class: "ux-field-title"
|
|
@@ -11416,7 +11653,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11416
11653
|
])
|
|
11417
11654
|
], 2);
|
|
11418
11655
|
}
|
|
11419
|
-
var
|
|
11656
|
+
var FieldSelect = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-3cff6dc8"]]);
|
|
11420
11657
|
var currency_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11421
11658
|
const _sfc_main$G = {
|
|
11422
11659
|
props: {
|
|
@@ -14011,6 +14248,10 @@ const _sfc_main$s = {
|
|
|
14011
14248
|
type: Boolean,
|
|
14012
14249
|
default: false
|
|
14013
14250
|
},
|
|
14251
|
+
includeOfficeOnly: {
|
|
14252
|
+
type: Boolean,
|
|
14253
|
+
default: false
|
|
14254
|
+
},
|
|
14014
14255
|
modelValue: {
|
|
14015
14256
|
type: [Object, Array]
|
|
14016
14257
|
},
|
|
@@ -14234,6 +14475,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14234
14475
|
createVNode(_component_ux_form, {
|
|
14235
14476
|
trail: $props.trail,
|
|
14236
14477
|
ref: "form",
|
|
14478
|
+
includeOfficeOnly: $props.includeOfficeOnly,
|
|
14237
14479
|
submission: $props.submission,
|
|
14238
14480
|
"onForm:state": $options.stateChange,
|
|
14239
14481
|
parentModel: _ctx.parentModel,
|
|
@@ -14241,7 +14483,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14241
14483
|
"onUpdate:modelValue": ($event) => _ctx.model[index2] = $event,
|
|
14242
14484
|
flex: $options.sameLine,
|
|
14243
14485
|
fields: _ctx.field.fields
|
|
14244
|
-
}, null, 8, ["trail", "submission", "onForm:state", "parentModel", "modelValue", "onUpdate:modelValue", "flex", "fields"])
|
|
14486
|
+
}, null, 8, ["trail", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "onUpdate:modelValue", "flex", "fields"])
|
|
14245
14487
|
]),
|
|
14246
14488
|
_: 2
|
|
14247
14489
|
}, 1536), [
|
|
@@ -14337,6 +14579,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14337
14579
|
ref_for: true,
|
|
14338
14580
|
ref: "form",
|
|
14339
14581
|
trail: $props.trail,
|
|
14582
|
+
includeOfficeOnly: $props.includeOfficeOnly,
|
|
14340
14583
|
submission: $props.submission,
|
|
14341
14584
|
"onForm:state": $options.stateChange,
|
|
14342
14585
|
parentModel: _ctx.parentModel,
|
|
@@ -14344,7 +14587,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14344
14587
|
"onUpdate:modelValue": ($event) => _ctx.model[index2] = $event,
|
|
14345
14588
|
flex: $options.sameLine,
|
|
14346
14589
|
fields: _ctx.field.fields
|
|
14347
|
-
}, null, 8, ["trail", "submission", "onForm:state", "parentModel", "modelValue", "onUpdate:modelValue", "flex", "fields"])
|
|
14590
|
+
}, null, 8, ["trail", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "onUpdate:modelValue", "flex", "fields"])
|
|
14348
14591
|
]),
|
|
14349
14592
|
_: 2
|
|
14350
14593
|
}, 1536), [
|
|
@@ -14416,6 +14659,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14416
14659
|
createVNode(_component_ux_form, {
|
|
14417
14660
|
ref: "form",
|
|
14418
14661
|
trail: $props.trail,
|
|
14662
|
+
includeOfficeOnly: $props.includeOfficeOnly,
|
|
14419
14663
|
submission: $props.submission,
|
|
14420
14664
|
"onForm:state": $options.stateChange,
|
|
14421
14665
|
parentModel: _ctx.parentModel,
|
|
@@ -14423,7 +14667,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14423
14667
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => _ctx.model = $event),
|
|
14424
14668
|
flex: $options.sameLine,
|
|
14425
14669
|
fields: _ctx.field.fields
|
|
14426
|
-
}, null, 8, ["trail", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"])
|
|
14670
|
+
}, null, 8, ["trail", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"])
|
|
14427
14671
|
]),
|
|
14428
14672
|
_: 1
|
|
14429
14673
|
})
|
|
@@ -14433,6 +14677,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14433
14677
|
key: 1,
|
|
14434
14678
|
ref: "form",
|
|
14435
14679
|
trail: $props.trail,
|
|
14680
|
+
includeOfficeOnly: $props.includeOfficeOnly,
|
|
14436
14681
|
submission: $props.submission,
|
|
14437
14682
|
"onForm:state": $options.stateChange,
|
|
14438
14683
|
parentModel: _ctx.parentModel,
|
|
@@ -14440,7 +14685,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14440
14685
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => _ctx.model = $event),
|
|
14441
14686
|
flex: $options.sameLine,
|
|
14442
14687
|
fields: _ctx.field.fields
|
|
14443
|
-
}, null, 8, ["trail", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"]))
|
|
14688
|
+
}, null, 8, ["trail", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"]))
|
|
14444
14689
|
], 64)) : (openBlock(), createBlock(_component_ux_button, {
|
|
14445
14690
|
key: 1,
|
|
14446
14691
|
onClick: _cache[9] || (_cache[9] = ($event) => $options.createSingleObject())
|
|
@@ -14467,6 +14712,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14467
14712
|
createVNode(_component_ux_form, {
|
|
14468
14713
|
ref: "form",
|
|
14469
14714
|
trail: $props.trail,
|
|
14715
|
+
includeOfficeOnly: $props.includeOfficeOnly,
|
|
14470
14716
|
submission: $props.submission,
|
|
14471
14717
|
"onForm:state": $options.stateChange,
|
|
14472
14718
|
parentModel: _ctx.parentModel,
|
|
@@ -14474,7 +14720,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14474
14720
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => _ctx.model = $event),
|
|
14475
14721
|
flex: $options.sameLine,
|
|
14476
14722
|
fields: _ctx.field.fields
|
|
14477
|
-
}, null, 8, ["trail", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"])
|
|
14723
|
+
}, null, 8, ["trail", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"])
|
|
14478
14724
|
]),
|
|
14479
14725
|
_: 1
|
|
14480
14726
|
})
|
|
@@ -14485,6 +14731,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14485
14731
|
key: 1,
|
|
14486
14732
|
ref: "form",
|
|
14487
14733
|
trail: $props.trail,
|
|
14734
|
+
includeOfficeOnly: $props.includeOfficeOnly,
|
|
14488
14735
|
submission: $props.submission,
|
|
14489
14736
|
"onForm:state": $options.stateChange,
|
|
14490
14737
|
parentModel: _ctx.parentModel,
|
|
@@ -14492,11 +14739,11 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14492
14739
|
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => _ctx.model = $event),
|
|
14493
14740
|
flex: $options.sameLine,
|
|
14494
14741
|
fields: _ctx.field.fields
|
|
14495
|
-
}, null, 8, ["trail", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"]))
|
|
14742
|
+
}, null, 8, ["trail", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"]))
|
|
14496
14743
|
], 64))
|
|
14497
14744
|
], 64));
|
|
14498
14745
|
}
|
|
14499
|
-
var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__scopeId", "data-v-
|
|
14746
|
+
var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s], ["__scopeId", "data-v-66c6137b"]]);
|
|
14500
14747
|
const _sfc_main$r = {
|
|
14501
14748
|
props: {
|
|
14502
14749
|
option: {
|
|
@@ -16989,6 +17236,7 @@ const _sfc_main$h = {
|
|
|
16989
17236
|
FieldGroup: FieldGroup$1,
|
|
16990
17237
|
ContentSelect,
|
|
16991
17238
|
TypeSelect,
|
|
17239
|
+
FieldSelect,
|
|
16992
17240
|
TimezoneSelect,
|
|
16993
17241
|
PhoneNumberInput,
|
|
16994
17242
|
Upload,
|
|
@@ -17018,6 +17266,10 @@ const _sfc_main$h = {
|
|
|
17018
17266
|
modelValue: {
|
|
17019
17267
|
type: Object,
|
|
17020
17268
|
required: true
|
|
17269
|
+
},
|
|
17270
|
+
includeOfficeOnly: {
|
|
17271
|
+
type: Boolean,
|
|
17272
|
+
default: false
|
|
17021
17273
|
}
|
|
17022
17274
|
},
|
|
17023
17275
|
data() {
|
|
@@ -17301,7 +17553,13 @@ const _sfc_main$h = {
|
|
|
17301
17553
|
};
|
|
17302
17554
|
return context;
|
|
17303
17555
|
},
|
|
17556
|
+
officeOnly() {
|
|
17557
|
+
return this.submission && this.field.officeOnly;
|
|
17558
|
+
},
|
|
17304
17559
|
hidden() {
|
|
17560
|
+
if (this.officeOnly && !this.includeOfficeOnly) {
|
|
17561
|
+
return true;
|
|
17562
|
+
}
|
|
17305
17563
|
if (this.actualField.readOnly) {
|
|
17306
17564
|
return true;
|
|
17307
17565
|
}
|
|
@@ -17400,12 +17658,12 @@ const _sfc_main$h = {
|
|
|
17400
17658
|
case "currency":
|
|
17401
17659
|
case "timezone":
|
|
17402
17660
|
case "country":
|
|
17403
|
-
case "typeselect":
|
|
17404
17661
|
case "upload":
|
|
17405
17662
|
case "code":
|
|
17406
17663
|
case "options":
|
|
17407
17664
|
case "button":
|
|
17408
17665
|
case "type-select":
|
|
17666
|
+
case "field-select":
|
|
17409
17667
|
case "html":
|
|
17410
17668
|
case "filter":
|
|
17411
17669
|
case "value":
|
|
@@ -17441,7 +17699,7 @@ const _sfc_main$h = {
|
|
|
17441
17699
|
}
|
|
17442
17700
|
};
|
|
17443
17701
|
const _hoisted_1$c = {
|
|
17444
|
-
key:
|
|
17702
|
+
key: 27,
|
|
17445
17703
|
class: "ux-field-message"
|
|
17446
17704
|
};
|
|
17447
17705
|
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -17453,6 +17711,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17453
17711
|
const _component_boolean_switch = resolveComponent("boolean-switch");
|
|
17454
17712
|
const _component_upload = resolveComponent("upload");
|
|
17455
17713
|
const _component_field_group = resolveComponent("field-group");
|
|
17714
|
+
const _component_field_select = resolveComponent("field-select");
|
|
17456
17715
|
const _component_native_select = resolveComponent("native-select");
|
|
17457
17716
|
const _component_button_select = resolveComponent("button-select");
|
|
17458
17717
|
const _component_text_field = resolveComponent("text-field");
|
|
@@ -17472,8 +17731,8 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17472
17731
|
return $options.visible ? (openBlock(), createElementBlock("div", {
|
|
17473
17732
|
key: 0,
|
|
17474
17733
|
class: normalizeClass(["ux-field", $options.classes]),
|
|
17475
|
-
onFocusin: _cache[
|
|
17476
|
-
onFocusout: _cache[
|
|
17734
|
+
onFocusin: _cache[26] || (_cache[26] = (...args) => $options.focus && $options.focus(...args)),
|
|
17735
|
+
onFocusout: _cache[27] || (_cache[27] = (...args) => $options.blur && $options.blur(...args))
|
|
17477
17736
|
}, [
|
|
17478
17737
|
$options.widget == "internal-route" ? (openBlock(), createBlock(_component_internal_route_select, {
|
|
17479
17738
|
key: 0,
|
|
@@ -17529,6 +17788,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17529
17788
|
$options.asObject ? (openBlock(), createBlock(_component_field_group, {
|
|
17530
17789
|
key: 0,
|
|
17531
17790
|
trail: $options.currentTrail,
|
|
17791
|
+
includeOfficeOnly: $props.includeOfficeOnly,
|
|
17532
17792
|
submission: $props.submission,
|
|
17533
17793
|
"onForm:state": $options.groupStateAltered,
|
|
17534
17794
|
ref: "group",
|
|
@@ -17537,9 +17797,10 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17537
17797
|
parentModel: $props.parentModel,
|
|
17538
17798
|
modelValue: $options.fieldModel,
|
|
17539
17799
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $options.fieldModel = $event)
|
|
17540
|
-
}, null, 8, ["trail", "submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
|
|
17800
|
+
}, null, 8, ["trail", "includeOfficeOnly", "submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : (openBlock(), createBlock(_component_field_group, {
|
|
17541
17801
|
key: 1,
|
|
17542
17802
|
trail: $props.trail,
|
|
17803
|
+
includeOfficeOnly: $props.includeOfficeOnly,
|
|
17543
17804
|
submission: $props.submission,
|
|
17544
17805
|
"onForm:state": $options.groupStateAltered,
|
|
17545
17806
|
ref: "group",
|
|
@@ -17548,11 +17809,12 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17548
17809
|
parentModel: $props.parentModel,
|
|
17549
17810
|
modelValue: $options.sourceModel,
|
|
17550
17811
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $options.sourceModel = $event)
|
|
17551
|
-
}, null, 8, ["trail", "submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
|
|
17812
|
+
}, null, 8, ["trail", "includeOfficeOnly", "submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
|
|
17552
17813
|
], 64)) : createCommentVNode("", true),
|
|
17553
17814
|
$options.widget == "form" ? (openBlock(), createBlock(_component_field_group, {
|
|
17554
17815
|
key: 9,
|
|
17555
17816
|
trail: $options.currentTrail,
|
|
17817
|
+
includeOfficeOnly: $props.includeOfficeOnly,
|
|
17556
17818
|
submission: $props.submission,
|
|
17557
17819
|
"onForm:state": $options.groupStateAltered,
|
|
17558
17820
|
ref: "group",
|
|
@@ -17561,108 +17823,115 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17561
17823
|
parentModel: $props.parentModel,
|
|
17562
17824
|
modelValue: $options.fieldModel,
|
|
17563
17825
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $options.fieldModel = $event)
|
|
17564
|
-
}, null, 8, ["trail", "submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : createCommentVNode("", true),
|
|
17565
|
-
$options.widget == "select" ? (openBlock(), createBlock(
|
|
17826
|
+
}, null, 8, ["trail", "includeOfficeOnly", "submission", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : createCommentVNode("", true),
|
|
17827
|
+
$options.widget == "field-select" ? (openBlock(), createBlock(_component_field_select, {
|
|
17566
17828
|
key: 10,
|
|
17567
17829
|
onTouched: $options.touch,
|
|
17568
17830
|
field: $options.actualField,
|
|
17569
17831
|
modelValue: $options.fieldModel,
|
|
17570
17832
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $options.fieldModel = $event)
|
|
17571
17833
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
17572
|
-
$options.widget == "
|
|
17834
|
+
$options.widget == "select" ? (openBlock(), createBlock(_component_native_select, {
|
|
17573
17835
|
key: 11,
|
|
17574
17836
|
onTouched: $options.touch,
|
|
17575
17837
|
field: $options.actualField,
|
|
17576
17838
|
modelValue: $options.fieldModel,
|
|
17577
17839
|
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $options.fieldModel = $event)
|
|
17578
17840
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
17579
|
-
$options.widget == "
|
|
17841
|
+
$options.widget == "button" ? (openBlock(), createBlock(_component_button_select, {
|
|
17580
17842
|
key: 12,
|
|
17581
17843
|
onTouched: $options.touch,
|
|
17582
17844
|
field: $options.actualField,
|
|
17583
17845
|
modelValue: $options.fieldModel,
|
|
17584
17846
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => $options.fieldModel = $event)
|
|
17585
17847
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
17586
|
-
$options.widget == "
|
|
17848
|
+
$options.widget == "textfield" ? (openBlock(), createBlock(_component_text_field, {
|
|
17587
17849
|
key: 13,
|
|
17588
17850
|
onTouched: $options.touch,
|
|
17589
17851
|
field: $options.actualField,
|
|
17590
17852
|
modelValue: $options.fieldModel,
|
|
17591
17853
|
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $options.fieldModel = $event)
|
|
17592
17854
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
17593
|
-
$options.widget == "
|
|
17855
|
+
$options.widget == "currency" ? (openBlock(), createBlock(_component_currency_field, {
|
|
17594
17856
|
key: 14,
|
|
17595
17857
|
onTouched: $options.touch,
|
|
17596
17858
|
field: $options.actualField,
|
|
17597
17859
|
modelValue: $options.fieldModel,
|
|
17598
17860
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => $options.fieldModel = $event)
|
|
17599
17861
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
17600
|
-
$options.widget == "
|
|
17862
|
+
$options.widget == "datefield" ? (openBlock(), createBlock(_component_date_field, {
|
|
17601
17863
|
key: 15,
|
|
17602
17864
|
onTouched: $options.touch,
|
|
17603
17865
|
field: $options.actualField,
|
|
17604
17866
|
modelValue: $options.fieldModel,
|
|
17605
17867
|
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => $options.fieldModel = $event)
|
|
17606
17868
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
17607
|
-
$options.widget == "
|
|
17869
|
+
$options.widget == "daterange" ? (openBlock(), createBlock(_component_date_range, {
|
|
17608
17870
|
key: 16,
|
|
17609
17871
|
onTouched: $options.touch,
|
|
17610
17872
|
field: $options.actualField,
|
|
17611
17873
|
modelValue: $options.fieldModel,
|
|
17612
17874
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => $options.fieldModel = $event)
|
|
17613
17875
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
17614
|
-
$options.widget == "
|
|
17876
|
+
$options.widget == "content-select" ? (openBlock(), createBlock(_component_content_select, {
|
|
17615
17877
|
key: 17,
|
|
17616
17878
|
onTouched: $options.touch,
|
|
17617
17879
|
field: $options.actualField,
|
|
17618
17880
|
modelValue: $options.fieldModel,
|
|
17619
17881
|
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => $options.fieldModel = $event)
|
|
17620
17882
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
17621
|
-
$options.widget == "
|
|
17883
|
+
$options.widget == "type-select" ? (openBlock(), createBlock(_component_type_select, {
|
|
17622
17884
|
key: 18,
|
|
17623
17885
|
onTouched: $options.touch,
|
|
17624
17886
|
field: $options.actualField,
|
|
17625
17887
|
modelValue: $options.fieldModel,
|
|
17626
17888
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => $options.fieldModel = $event)
|
|
17627
17889
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
17628
|
-
$options.widget == "
|
|
17890
|
+
$options.widget == "richtext" ? (openBlock(), createBlock(_component_rich_text_field, {
|
|
17629
17891
|
key: 19,
|
|
17630
17892
|
onTouched: $options.touch,
|
|
17631
17893
|
field: $options.actualField,
|
|
17632
17894
|
modelValue: $options.fieldModel,
|
|
17633
17895
|
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => $options.fieldModel = $event)
|
|
17634
17896
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
17635
|
-
$options.widget == "
|
|
17897
|
+
$options.widget == "textarea" ? (openBlock(), createBlock(_component_text_area, {
|
|
17636
17898
|
key: 20,
|
|
17637
17899
|
onTouched: $options.touch,
|
|
17638
17900
|
field: $options.actualField,
|
|
17639
17901
|
modelValue: $options.fieldModel,
|
|
17640
17902
|
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => $options.fieldModel = $event)
|
|
17641
17903
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
17642
|
-
$options.widget == "
|
|
17904
|
+
$options.widget == "timezone" ? (openBlock(), createBlock(_component_timezone_select, {
|
|
17643
17905
|
key: 21,
|
|
17644
17906
|
onTouched: $options.touch,
|
|
17645
17907
|
field: $options.actualField,
|
|
17646
17908
|
modelValue: $options.fieldModel,
|
|
17647
17909
|
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => $options.fieldModel = $event)
|
|
17648
17910
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
17649
|
-
$options.widget == "
|
|
17650
|
-
|
|
17651
|
-
key: 23,
|
|
17911
|
+
$options.widget == "phone" ? (openBlock(), createBlock(_component_phone_number_input, {
|
|
17912
|
+
key: 22,
|
|
17652
17913
|
onTouched: $options.touch,
|
|
17653
17914
|
field: $options.actualField,
|
|
17654
17915
|
modelValue: $options.fieldModel,
|
|
17655
17916
|
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => $options.fieldModel = $event)
|
|
17656
17917
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
17657
|
-
$options.widget == "
|
|
17918
|
+
$options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 23 }, [], 64)) : createCommentVNode("", true),
|
|
17919
|
+
$options.widget == "object" ? (openBlock(), createBlock(_component_object_field, {
|
|
17658
17920
|
key: 24,
|
|
17659
17921
|
onTouched: $options.touch,
|
|
17660
17922
|
field: $options.actualField,
|
|
17661
17923
|
modelValue: $options.fieldModel,
|
|
17662
17924
|
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => $options.fieldModel = $event)
|
|
17663
17925
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
17664
|
-
$options.widget == "
|
|
17926
|
+
$options.widget == "options" ? (openBlock(), createBlock(_component_options_manager, {
|
|
17665
17927
|
key: 25,
|
|
17928
|
+
onTouched: $options.touch,
|
|
17929
|
+
field: $options.actualField,
|
|
17930
|
+
modelValue: $options.fieldModel,
|
|
17931
|
+
"onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => $options.fieldModel = $event)
|
|
17932
|
+
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
17933
|
+
$options.widget == "code" ? (openBlock(), createBlock(_component_flex_column, {
|
|
17934
|
+
key: 26,
|
|
17666
17935
|
style: { "min-height": "300px" }
|
|
17667
17936
|
}, {
|
|
17668
17937
|
default: withCtx(() => [
|
|
@@ -17670,7 +17939,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17670
17939
|
onTouched: $options.touch,
|
|
17671
17940
|
field: $options.actualField,
|
|
17672
17941
|
modelValue: $options.fieldModel,
|
|
17673
|
-
"onUpdate:modelValue": _cache[
|
|
17942
|
+
"onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => $options.fieldModel = $event)
|
|
17674
17943
|
}, null, 8, ["onTouched", "field", "modelValue"])
|
|
17675
17944
|
]),
|
|
17676
17945
|
_: 1
|
|
@@ -17678,7 +17947,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17678
17947
|
$options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$c, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
|
|
17679
17948
|
], 34)) : createCommentVNode("", true);
|
|
17680
17949
|
}
|
|
17681
|
-
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-
|
|
17950
|
+
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-d3451c6c"]]);
|
|
17682
17951
|
function arrayReduce$1(array, iteratee, accumulator, initAccum) {
|
|
17683
17952
|
var index2 = -1, length = array == null ? 0 : array.length;
|
|
17684
17953
|
if (initAccum && length) {
|
|
@@ -17986,6 +18255,10 @@ const _sfc_main$g = {
|
|
|
17986
18255
|
submission: {
|
|
17987
18256
|
type: Boolean,
|
|
17988
18257
|
default: false
|
|
18258
|
+
},
|
|
18259
|
+
includeOfficeOnly: {
|
|
18260
|
+
type: Boolean,
|
|
18261
|
+
default: false
|
|
17989
18262
|
}
|
|
17990
18263
|
},
|
|
17991
18264
|
inject: ["form", "parentFormElement"],
|
|
@@ -18203,6 +18476,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18203
18476
|
ref: "field",
|
|
18204
18477
|
trail: $options.currentTrail,
|
|
18205
18478
|
submission: $props.submission,
|
|
18479
|
+
includeOfficeOnly: $props.includeOfficeOnly,
|
|
18206
18480
|
"onField:mount": $options.fieldMounted,
|
|
18207
18481
|
"onField:unmount": $options.fieldUnmounted,
|
|
18208
18482
|
"onField:dirty": $options.fieldDirty,
|
|
@@ -18218,12 +18492,12 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18218
18492
|
parentModel: $props.parentModel || $options.formModel,
|
|
18219
18493
|
class: normalizeClass($options.fieldClass),
|
|
18220
18494
|
key: `ux-form-field-${$options.getFieldKey(field)}-${index2}`
|
|
18221
|
-
}, null, 8, ["trail", "submission", "onField:mount", "onField:unmount", "onField:dirty", "onField:invalid", "onField:valid", "onField:error", "onField:focus", "onField:blur", "onField:touched", "field", "modelValue", "parentModel", "class"]);
|
|
18495
|
+
}, null, 8, ["trail", "submission", "includeOfficeOnly", "onField:mount", "onField:unmount", "onField:dirty", "onField:invalid", "onField:valid", "onField:error", "onField:focus", "onField:blur", "onField:touched", "field", "modelValue", "parentModel", "class"]);
|
|
18222
18496
|
}), 128))
|
|
18223
18497
|
], true)
|
|
18224
18498
|
], 2);
|
|
18225
18499
|
}
|
|
18226
|
-
var UXForm = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-
|
|
18500
|
+
var UXForm = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-09c6d713"]]);
|
|
18227
18501
|
var submissionform_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18228
18502
|
const STATE_READY = "form.ready";
|
|
18229
18503
|
const STATE_PROCESSING = "form.processing";
|
|
@@ -20109,7 +20383,7 @@ const _sfc_main$9 = {
|
|
|
20109
20383
|
};
|
|
20110
20384
|
}
|
|
20111
20385
|
};
|
|
20112
|
-
const _withScopeId$1 = (n2) => (pushScopeId("data-v-
|
|
20386
|
+
const _withScopeId$1 = (n2) => (pushScopeId("data-v-d42c2d1e"), n2 = n2(), popScopeId(), n2);
|
|
20113
20387
|
const _hoisted_1$7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
20114
20388
|
const _hoisted_2$6 = { key: 0 };
|
|
20115
20389
|
const _hoisted_3$5 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
@@ -20300,7 +20574,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20300
20574
|
_: 3
|
|
20301
20575
|
})) : createCommentVNode("", true);
|
|
20302
20576
|
}
|
|
20303
|
-
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-
|
|
20577
|
+
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-d42c2d1e"]]);
|
|
20304
20578
|
var ScopeItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
20305
20579
|
const _sfc_main$8 = {
|
|
20306
20580
|
props: {
|
|
@@ -20586,7 +20860,8 @@ const _sfc_main$6 = {
|
|
|
20586
20860
|
},
|
|
20587
20861
|
data() {
|
|
20588
20862
|
return {
|
|
20589
|
-
model: this.modelValue
|
|
20863
|
+
model: this.modelValue,
|
|
20864
|
+
definition: null
|
|
20590
20865
|
};
|
|
20591
20866
|
},
|
|
20592
20867
|
methods: {
|
|
@@ -20612,14 +20887,66 @@ const _sfc_main$6 = {
|
|
|
20612
20887
|
return self2.model.map(function(scope) {
|
|
20613
20888
|
return scope.title || "(hidden)";
|
|
20614
20889
|
}).join(", ");
|
|
20890
|
+
},
|
|
20891
|
+
definitionDefaultScopes() {
|
|
20892
|
+
var _a;
|
|
20893
|
+
return ((_a = this.definition) == null ? void 0 : _a.defaultScopes) || [];
|
|
20894
|
+
},
|
|
20895
|
+
definitionRestrictScopes() {
|
|
20896
|
+
var _a;
|
|
20897
|
+
return ((_a = this.definition) == null ? void 0 : _a.restrictScopes) || [];
|
|
20898
|
+
},
|
|
20899
|
+
restrictedLookup() {
|
|
20900
|
+
return this.definitionRestrictScopes.reduce(function(memo, scope) {
|
|
20901
|
+
if (!scope) {
|
|
20902
|
+
return memo;
|
|
20903
|
+
}
|
|
20904
|
+
var id = scope._id || scope;
|
|
20905
|
+
memo[id] = id;
|
|
20906
|
+
return memo;
|
|
20907
|
+
}, {});
|
|
20908
|
+
},
|
|
20909
|
+
availableDefaultScopes() {
|
|
20910
|
+
const self2 = this;
|
|
20911
|
+
let availableDefaultScopes;
|
|
20912
|
+
if (!self2.definitionRestrictScopes.length) {
|
|
20913
|
+
return self2.definitionDefaultScopes;
|
|
20914
|
+
}
|
|
20915
|
+
availableDefaultScopes = self2.definitionDefaultScopes.filter(function(scope) {
|
|
20916
|
+
if (!scope) {
|
|
20917
|
+
return false;
|
|
20918
|
+
}
|
|
20919
|
+
var id = scope._id || scope;
|
|
20920
|
+
return self2.restrictedLookup[id];
|
|
20921
|
+
});
|
|
20922
|
+
if (!availableDefaultScopes.length && self2.definitionRestrictScopes.length === 1) {
|
|
20923
|
+
availableDefaultScopes = self2.definitionRestrictScopes;
|
|
20924
|
+
}
|
|
20925
|
+
return availableDefaultScopes;
|
|
20615
20926
|
}
|
|
20616
20927
|
},
|
|
20617
20928
|
watch: {
|
|
20929
|
+
availableDefaultScopes: {
|
|
20930
|
+
handler(s2) {
|
|
20931
|
+
if (!this.model.length && s2.length) {
|
|
20932
|
+
this.model = [...s2];
|
|
20933
|
+
}
|
|
20934
|
+
},
|
|
20935
|
+
immediate: true
|
|
20936
|
+
},
|
|
20618
20937
|
modelValue(m) {
|
|
20619
20938
|
this.model = m;
|
|
20620
20939
|
},
|
|
20621
20940
|
model(m) {
|
|
20622
20941
|
this.$emit("update:modelValue", m);
|
|
20942
|
+
},
|
|
20943
|
+
type: {
|
|
20944
|
+
async handler(type) {
|
|
20945
|
+
const self2 = this;
|
|
20946
|
+
const glossary = await this.$sdk.content.glossary({ hash: true });
|
|
20947
|
+
self2.definition = glossary[type];
|
|
20948
|
+
},
|
|
20949
|
+
immediate: true
|
|
20623
20950
|
}
|
|
20624
20951
|
}
|
|
20625
20952
|
};
|
|
@@ -20636,7 +20963,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
20636
20963
|
}, 8, ["onClick"])
|
|
20637
20964
|
]);
|
|
20638
20965
|
}
|
|
20639
|
-
var ScopeSelectButton = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-
|
|
20966
|
+
var ScopeSelectButton = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-6b61f5a8"]]);
|
|
20640
20967
|
var ModalMixin = {
|
|
20641
20968
|
props: {
|
|
20642
20969
|
options: {
|