@qikdev/vue-ui 0.1.80 → 0.1.83
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 +792 -389
- 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
|
@@ -30,9 +30,9 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
}
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
|
-
import { openBlock, createElementBlock, renderSlot, resolveComponent, createBlock, withCtx, createVNode, Fragment, renderList, normalizeClass, toDisplayString, withDirectives, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, mergeProps, toHandlers, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelSelect, withKeys,
|
|
33
|
+
import { openBlock, createElementBlock, renderSlot, resolveComponent, createBlock, withCtx, createVNode, Fragment, renderList, normalizeClass, toDisplayString, withDirectives, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, mergeProps, toHandlers, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelText, vModelSelect, withKeys, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, vModelCheckbox, reactive, watch } from "vue";
|
|
34
34
|
import { EventDispatcher } from "@qikdev/sdk";
|
|
35
|
-
const version$1 = "0.1.
|
|
35
|
+
const version$1 = "0.1.83";
|
|
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$1g = {};
|
|
45
|
+
const _hoisted_1$10 = { class: "flex-column" };
|
|
46
|
+
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
47
|
+
return openBlock(), createElementBlock("div", _hoisted_1$10, [
|
|
48
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
49
|
+
]);
|
|
50
|
+
}
|
|
51
|
+
var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g], ["__scopeId", "data-v-203ea86f"]]);
|
|
52
|
+
var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
53
|
+
const _sfc_main$1f = {};
|
|
54
|
+
const _hoisted_1$$ = { class: "flex-column-body" };
|
|
55
|
+
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
56
|
+
return openBlock(), createElementBlock("div", _hoisted_1$$, [
|
|
57
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
58
|
+
]);
|
|
59
|
+
}
|
|
60
|
+
var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__scopeId", "data-v-64850355"]]);
|
|
61
|
+
var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
44
62
|
const _sfc_main$1e = {};
|
|
45
|
-
const _hoisted_1$_ = { class: "flex-column" };
|
|
63
|
+
const _hoisted_1$_ = { class: "flex-column-header" };
|
|
46
64
|
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
47
65
|
return openBlock(), createElementBlock("div", _hoisted_1$_, [
|
|
48
66
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
49
67
|
]);
|
|
50
68
|
}
|
|
51
|
-
var
|
|
52
|
-
var
|
|
69
|
+
var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__scopeId", "data-v-10b28f00"]]);
|
|
70
|
+
var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
53
71
|
const _sfc_main$1d = {};
|
|
54
|
-
const _hoisted_1$Z = { class: "flex-column-
|
|
72
|
+
const _hoisted_1$Z = { class: "flex-column-footer" };
|
|
55
73
|
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
56
74
|
return openBlock(), createElementBlock("div", _hoisted_1$Z, [
|
|
57
75
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
58
76
|
]);
|
|
59
77
|
}
|
|
60
|
-
var
|
|
61
|
-
var
|
|
78
|
+
var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-68216a72"]]);
|
|
79
|
+
var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
62
80
|
const _sfc_main$1c = {};
|
|
63
|
-
const _hoisted_1$Y = { class: "flex-
|
|
81
|
+
const _hoisted_1$Y = { class: "flex-cell" };
|
|
64
82
|
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
65
83
|
return openBlock(), createElementBlock("div", _hoisted_1$Y, [
|
|
66
84
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
67
85
|
]);
|
|
68
86
|
}
|
|
69
|
-
var
|
|
70
|
-
var
|
|
87
|
+
var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-644bb279"]]);
|
|
88
|
+
var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
71
89
|
const _sfc_main$1b = {};
|
|
72
|
-
const _hoisted_1$X = { class: "flex-
|
|
90
|
+
const _hoisted_1$X = { class: "flex-row" };
|
|
73
91
|
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
74
92
|
return openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
75
93
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
76
94
|
]);
|
|
77
95
|
}
|
|
78
|
-
var
|
|
79
|
-
var
|
|
96
|
+
var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__scopeId", "data-v-5b76ad1f"]]);
|
|
97
|
+
var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
80
98
|
const _sfc_main$1a = {};
|
|
81
|
-
const _hoisted_1$W = { class: "flex-
|
|
99
|
+
const _hoisted_1$W = { class: "flex-spacer" };
|
|
82
100
|
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83
|
-
return openBlock(), createElementBlock("div", _hoisted_1$W
|
|
84
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
85
|
-
]);
|
|
101
|
+
return openBlock(), createElementBlock("div", _hoisted_1$W);
|
|
86
102
|
}
|
|
87
|
-
var
|
|
88
|
-
var
|
|
103
|
+
var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__scopeId", "data-v-35b15579"]]);
|
|
104
|
+
var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89
105
|
const _sfc_main$19 = {};
|
|
90
|
-
const _hoisted_1$V = { class: "
|
|
106
|
+
const _hoisted_1$V = { class: "panel" };
|
|
91
107
|
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
92
108
|
return openBlock(), createElementBlock("div", _hoisted_1$V, [
|
|
93
109
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
94
110
|
]);
|
|
95
111
|
}
|
|
96
|
-
var
|
|
97
|
-
var
|
|
112
|
+
var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-50ae77fc"]]);
|
|
113
|
+
var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
98
114
|
const _sfc_main$18 = {};
|
|
99
|
-
const _hoisted_1$U = { class: "
|
|
115
|
+
const _hoisted_1$U = { class: "panel-body" };
|
|
100
116
|
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
101
|
-
return openBlock(), createElementBlock("div", _hoisted_1$U
|
|
117
|
+
return openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
118
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
119
|
+
]);
|
|
102
120
|
}
|
|
103
|
-
var
|
|
104
|
-
var
|
|
121
|
+
var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-c82dca76"]]);
|
|
122
|
+
var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
105
123
|
const _sfc_main$17 = {};
|
|
106
|
-
const _hoisted_1$T = { class: "panel" };
|
|
124
|
+
const _hoisted_1$T = { class: "panel-header" };
|
|
107
125
|
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
108
126
|
return openBlock(), createElementBlock("div", _hoisted_1$T, [
|
|
109
127
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
110
128
|
]);
|
|
111
129
|
}
|
|
112
|
-
var
|
|
113
|
-
var
|
|
130
|
+
var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-13bf11da"]]);
|
|
131
|
+
var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
114
132
|
const _sfc_main$16 = {};
|
|
115
|
-
const _hoisted_1$S = { class: "panel-
|
|
133
|
+
const _hoisted_1$S = { class: "panel-footer" };
|
|
116
134
|
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
117
135
|
return openBlock(), createElementBlock("div", _hoisted_1$S, [
|
|
118
136
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
119
137
|
]);
|
|
120
138
|
}
|
|
121
|
-
var
|
|
122
|
-
var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
123
|
-
const _sfc_main$15 = {};
|
|
124
|
-
const _hoisted_1$R = { class: "panel-header" };
|
|
125
|
-
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
126
|
-
return openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
127
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
128
|
-
]);
|
|
129
|
-
}
|
|
130
|
-
var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-13bf11da"]]);
|
|
131
|
-
var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
132
|
-
const _sfc_main$14 = {};
|
|
133
|
-
const _hoisted_1$Q = { class: "panel-footer" };
|
|
134
|
-
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
135
|
-
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
136
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
137
|
-
]);
|
|
138
|
-
}
|
|
139
|
-
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-b4f4786a"]]);
|
|
139
|
+
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__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$15 = {
|
|
142
142
|
data() {
|
|
143
143
|
return {
|
|
144
144
|
activeIndex: 0
|
|
@@ -156,8 +156,8 @@ const _sfc_main$13 = {
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
|
-
const _hoisted_1$
|
|
160
|
-
function _sfc_render$
|
|
159
|
+
const _hoisted_1$R = ["onClick"];
|
|
160
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
161
161
|
const _component_flex_row = resolveComponent("flex-row");
|
|
162
162
|
const _component_flex_header = resolveComponent("flex-header");
|
|
163
163
|
const _component_flex_column = resolveComponent("flex-column");
|
|
@@ -171,7 +171,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
171
171
|
return openBlock(), createElementBlock("a", {
|
|
172
172
|
class: normalizeClass({ active: index2 === $data.activeIndex }),
|
|
173
173
|
onClick: ($event) => $options.select(index2)
|
|
174
|
-
}, toDisplayString(tab.props.heading), 11, _hoisted_1$
|
|
174
|
+
}, toDisplayString(tab.props.heading), 11, _hoisted_1$R);
|
|
175
175
|
}), 256))
|
|
176
176
|
]),
|
|
177
177
|
_: 1
|
|
@@ -198,8 +198,8 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
198
198
|
_: 1
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
|
-
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
202
|
-
const _sfc_main$
|
|
201
|
+
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-1449f192"]]);
|
|
202
|
+
const _sfc_main$14 = {
|
|
203
203
|
props: {
|
|
204
204
|
heading: {
|
|
205
205
|
type: String,
|
|
@@ -222,7 +222,7 @@ const _sfc_main$12 = {
|
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
|
-
function _sfc_render$
|
|
225
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
226
226
|
const _component_flex_column = resolveComponent("flex-column");
|
|
227
227
|
return openBlock(), createBlock(_component_flex_column, null, {
|
|
228
228
|
default: withCtx(() => [
|
|
@@ -231,7 +231,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
231
231
|
_: 3
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
|
-
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
234
|
+
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14]]);
|
|
235
235
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
236
236
|
var isArray$3 = Array.isArray;
|
|
237
237
|
var isArray_1 = isArray$3;
|
|
@@ -699,7 +699,7 @@ var TableCellMixin = {
|
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
701
|
var Thumbnail_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
702
|
-
const _sfc_main$
|
|
702
|
+
const _sfc_main$13 = {
|
|
703
703
|
mixins: [TableCellMixin],
|
|
704
704
|
computed: {
|
|
705
705
|
type() {
|
|
@@ -708,16 +708,16 @@ const _sfc_main$11 = {
|
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
710
|
};
|
|
711
|
-
const _hoisted_1$
|
|
712
|
-
const _hoisted_2$
|
|
711
|
+
const _hoisted_1$Q = { class: "table-image-cell" };
|
|
712
|
+
const _hoisted_2$G = {
|
|
713
713
|
key: 0,
|
|
714
714
|
class: "image-wrapper"
|
|
715
715
|
};
|
|
716
|
-
function _sfc_render$
|
|
716
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
717
717
|
const _component_ux_image = resolveComponent("ux-image");
|
|
718
718
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
719
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
720
|
-
$options.type == "image" || $options.type == "video" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
719
|
+
return openBlock(), createElementBlock("td", _hoisted_1$Q, [
|
|
720
|
+
$options.type == "image" || $options.type == "video" ? (openBlock(), createElementBlock("div", _hoisted_2$G, [
|
|
721
721
|
createVNode(_component_ux_image, {
|
|
722
722
|
item: _ctx.row,
|
|
723
723
|
type: $options.type,
|
|
@@ -730,9 +730,9 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
730
730
|
}))
|
|
731
731
|
]);
|
|
732
732
|
}
|
|
733
|
-
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
733
|
+
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-8ce152b2"]]);
|
|
734
734
|
var Button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
735
|
-
const _sfc_main$
|
|
735
|
+
const _sfc_main$12 = {
|
|
736
736
|
data() {
|
|
737
737
|
return {
|
|
738
738
|
processing: false
|
|
@@ -756,12 +756,13 @@ const _sfc_main$10 = {
|
|
|
756
756
|
}
|
|
757
757
|
}
|
|
758
758
|
};
|
|
759
|
-
const _hoisted_1$
|
|
760
|
-
function _sfc_render$
|
|
759
|
+
const _hoisted_1$P = { class: "table-button-cell" };
|
|
760
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
761
761
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
762
762
|
const _component_ux_button = resolveComponent("ux-button");
|
|
763
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
763
|
+
return openBlock(), createElementBlock("td", _hoisted_1$P, [
|
|
764
764
|
createVNode(_component_ux_button, {
|
|
765
|
+
color: $options.button.color,
|
|
765
766
|
size: $options.button.size,
|
|
766
767
|
loading: $data.processing,
|
|
767
768
|
onClick: withModifiers($options.clicked, ["stop", "prevent"])
|
|
@@ -777,10 +778,10 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
777
778
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
778
779
|
]),
|
|
779
780
|
_: 1
|
|
780
|
-
}, 8, ["size", "loading", "onClick"])
|
|
781
|
+
}, 8, ["color", "size", "loading", "onClick"])
|
|
781
782
|
]);
|
|
782
783
|
}
|
|
783
|
-
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
784
|
+
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-1c498011"]]);
|
|
784
785
|
class LuxonError extends Error {
|
|
785
786
|
}
|
|
786
787
|
class InvalidDateTimeError extends LuxonError {
|
|
@@ -4614,7 +4615,7 @@ function friendlyDateTime(dateTimeish) {
|
|
|
4614
4615
|
}
|
|
4615
4616
|
}
|
|
4616
4617
|
var DateCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4617
|
-
const _sfc_main
|
|
4618
|
+
const _sfc_main$11 = {
|
|
4618
4619
|
mixins: [TableCellMixin],
|
|
4619
4620
|
computed: {
|
|
4620
4621
|
hasValue() {
|
|
@@ -4635,23 +4636,23 @@ const _sfc_main$$ = {
|
|
|
4635
4636
|
}
|
|
4636
4637
|
}
|
|
4637
4638
|
};
|
|
4638
|
-
const _hoisted_1$
|
|
4639
|
-
const _hoisted_2$
|
|
4640
|
-
const _hoisted_3$
|
|
4641
|
-
const _hoisted_4$
|
|
4639
|
+
const _hoisted_1$O = { class: "table-date-cell" };
|
|
4640
|
+
const _hoisted_2$F = { key: 0 };
|
|
4641
|
+
const _hoisted_3$y = { class: "off" };
|
|
4642
|
+
const _hoisted_4$u = { class: "on" };
|
|
4642
4643
|
const _hoisted_5$n = { class: "spacer" };
|
|
4643
|
-
function _sfc_render
|
|
4644
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
4645
|
-
$options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4646
|
-
createElementVNode("span", _hoisted_3$
|
|
4647
|
-
createElementVNode("span", _hoisted_4$
|
|
4644
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4645
|
+
return openBlock(), createElementBlock("td", _hoisted_1$O, [
|
|
4646
|
+
$options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$F, [
|
|
4647
|
+
createElementVNode("span", _hoisted_3$y, toDisplayString($options.readable), 1),
|
|
4648
|
+
createElementVNode("span", _hoisted_4$u, toDisplayString($options.timeago), 1),
|
|
4648
4649
|
createElementVNode("span", _hoisted_5$n, toDisplayString($options.readable), 1)
|
|
4649
4650
|
])) : createCommentVNode("", true)
|
|
4650
4651
|
]);
|
|
4651
4652
|
}
|
|
4652
|
-
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
4653
|
+
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-3687693f"]]);
|
|
4653
4654
|
var BooleanCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4654
|
-
const _sfc_main$
|
|
4655
|
+
const _sfc_main$10 = {
|
|
4655
4656
|
mixins: [TableCellMixin],
|
|
4656
4657
|
computed: {
|
|
4657
4658
|
boolean() {
|
|
@@ -4659,7 +4660,7 @@ const _sfc_main$_ = {
|
|
|
4659
4660
|
}
|
|
4660
4661
|
}
|
|
4661
4662
|
};
|
|
4662
|
-
function _sfc_render$
|
|
4663
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4663
4664
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4664
4665
|
return openBlock(), createElementBlock("td", {
|
|
4665
4666
|
class: normalizeClass(["table-boolean-cell", { true: $options.boolean, false: !$options.boolean }])
|
|
@@ -4669,9 +4670,9 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4669
4670
|
}, null, 8, ["icon"])
|
|
4670
4671
|
], 2);
|
|
4671
4672
|
}
|
|
4672
|
-
var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4673
|
+
var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-27f127ae"]]);
|
|
4673
4674
|
var SecurityCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4674
|
-
const _sfc_main
|
|
4675
|
+
const _sfc_main$$ = {
|
|
4675
4676
|
mixins: [TableCellMixin],
|
|
4676
4677
|
computed: {
|
|
4677
4678
|
public() {
|
|
@@ -4682,7 +4683,7 @@ const _sfc_main$Z = {
|
|
|
4682
4683
|
}
|
|
4683
4684
|
}
|
|
4684
4685
|
};
|
|
4685
|
-
function _sfc_render
|
|
4686
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4686
4687
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4687
4688
|
return openBlock(), createElementBlock("td", {
|
|
4688
4689
|
class: normalizeClass(["table-security-cell", $options.security])
|
|
@@ -4692,9 +4693,9 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4692
4693
|
}, null, 8, ["icon"])
|
|
4693
4694
|
], 2);
|
|
4694
4695
|
}
|
|
4695
|
-
var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
4696
|
+
var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-51f8608e"]]);
|
|
4696
4697
|
var URLCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4697
|
-
const _sfc_main$
|
|
4698
|
+
const _sfc_main$_ = {
|
|
4698
4699
|
mixins: [TableCellMixin],
|
|
4699
4700
|
methods: {
|
|
4700
4701
|
open() {
|
|
@@ -4707,11 +4708,11 @@ const _sfc_main$Y = {
|
|
|
4707
4708
|
}
|
|
4708
4709
|
}
|
|
4709
4710
|
};
|
|
4710
|
-
const _hoisted_1$
|
|
4711
|
-
const _hoisted_2$
|
|
4712
|
-
function _sfc_render$
|
|
4711
|
+
const _hoisted_1$N = { class: "table-url-cell" };
|
|
4712
|
+
const _hoisted_2$E = ["href"];
|
|
4713
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4713
4714
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4714
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
4715
|
+
return openBlock(), createElementBlock("td", _hoisted_1$N, [
|
|
4715
4716
|
createElementVNode("a", {
|
|
4716
4717
|
href: $options.href,
|
|
4717
4718
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
|
|
@@ -4722,12 +4723,12 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4722
4723
|
right: "",
|
|
4723
4724
|
icon: "fa-external-link"
|
|
4724
4725
|
})
|
|
4725
|
-
], 8, _hoisted_2$
|
|
4726
|
+
], 8, _hoisted_2$E)
|
|
4726
4727
|
]);
|
|
4727
4728
|
}
|
|
4728
|
-
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4729
|
+
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-17cf3a86"]]);
|
|
4729
4730
|
var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4730
|
-
const _sfc_main$
|
|
4731
|
+
const _sfc_main$Z = {
|
|
4731
4732
|
props: {
|
|
4732
4733
|
multi: {
|
|
4733
4734
|
type: Boolean
|
|
@@ -4775,8 +4776,8 @@ const _sfc_main$X = {
|
|
|
4775
4776
|
}
|
|
4776
4777
|
}
|
|
4777
4778
|
};
|
|
4778
|
-
const _hoisted_1$
|
|
4779
|
-
function _sfc_render$
|
|
4779
|
+
const _hoisted_1$M = /* @__PURE__ */ createTextVNode(",\xA0");
|
|
4780
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4780
4781
|
return $options.reference ? (openBlock(), createElementBlock("a", {
|
|
4781
4782
|
key: 0,
|
|
4782
4783
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.clicked($props.value), ["stop", "prevent"]))
|
|
@@ -4785,11 +4786,11 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4785
4786
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
4786
4787
|
createTextVNode(toDisplayString($options.renderValue), 1),
|
|
4787
4788
|
$props.multi && !$props.last ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
4788
|
-
_hoisted_1$
|
|
4789
|
+
_hoisted_1$M
|
|
4789
4790
|
], 64)) : createCommentVNode("", true)
|
|
4790
4791
|
], 64));
|
|
4791
4792
|
}
|
|
4792
|
-
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4793
|
+
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__scopeId", "data-v-255b9ec8"]]);
|
|
4793
4794
|
var TableCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4794
4795
|
function extract(row, path) {
|
|
4795
4796
|
if (!row) {
|
|
@@ -4814,7 +4815,7 @@ function extract(row, path) {
|
|
|
4814
4815
|
return extract(stub, remainder);
|
|
4815
4816
|
}
|
|
4816
4817
|
}
|
|
4817
|
-
const _sfc_main$
|
|
4818
|
+
const _sfc_main$Y = {
|
|
4818
4819
|
data() {
|
|
4819
4820
|
return {
|
|
4820
4821
|
component: null
|
|
@@ -4898,23 +4899,23 @@ const _sfc_main$W = {
|
|
|
4898
4899
|
}
|
|
4899
4900
|
}
|
|
4900
4901
|
};
|
|
4901
|
-
const _hoisted_1$
|
|
4902
|
+
const _hoisted_1$L = {
|
|
4902
4903
|
key: 1,
|
|
4903
4904
|
class: "table-cell"
|
|
4904
4905
|
};
|
|
4905
|
-
const _hoisted_2$
|
|
4906
|
-
const _hoisted_3$
|
|
4907
|
-
function _sfc_render$
|
|
4906
|
+
const _hoisted_2$D = { class: "value" };
|
|
4907
|
+
const _hoisted_3$x = { class: "value" };
|
|
4908
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4908
4909
|
const _component_value_renderer = resolveComponent("value-renderer");
|
|
4909
4910
|
return $data.component ? (openBlock(), createBlock(resolveDynamicComponent($data.component), {
|
|
4910
4911
|
key: 0,
|
|
4911
4912
|
column: $props.column,
|
|
4912
4913
|
row: $props.row,
|
|
4913
4914
|
value: $options.value
|
|
4914
|
-
}, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$
|
|
4915
|
+
}, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$L, [
|
|
4915
4916
|
$options.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
4916
4917
|
$options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry, index2) => {
|
|
4917
|
-
return openBlock(), createElementBlock("span", _hoisted_2$
|
|
4918
|
+
return openBlock(), createElementBlock("span", _hoisted_2$D, [
|
|
4918
4919
|
createVNode(_component_value_renderer, {
|
|
4919
4920
|
type: $props.column.type,
|
|
4920
4921
|
multi: "",
|
|
@@ -4923,7 +4924,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4923
4924
|
}, null, 8, ["type", "last", "value"])
|
|
4924
4925
|
]);
|
|
4925
4926
|
}), 256)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.value, (entry, index2) => {
|
|
4926
|
-
return openBlock(), createElementBlock("span", _hoisted_3$
|
|
4927
|
+
return openBlock(), createElementBlock("span", _hoisted_3$x, [
|
|
4927
4928
|
createVNode(_component_value_renderer, {
|
|
4928
4929
|
type: $props.column.type,
|
|
4929
4930
|
multi: "",
|
|
@@ -4939,8 +4940,8 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4939
4940
|
}, null, 8, ["type", "value"]))
|
|
4940
4941
|
]));
|
|
4941
4942
|
}
|
|
4942
|
-
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4943
|
-
const _sfc_main$
|
|
4943
|
+
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__scopeId", "data-v-c6534cd4"]]);
|
|
4944
|
+
const _sfc_main$X = {
|
|
4944
4945
|
components: {
|
|
4945
4946
|
TableCell
|
|
4946
4947
|
},
|
|
@@ -4991,7 +4992,7 @@ const _sfc_main$V = {
|
|
|
4991
4992
|
}
|
|
4992
4993
|
}
|
|
4993
4994
|
};
|
|
4994
|
-
function _sfc_render$
|
|
4995
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4995
4996
|
const _component_ux_checkbox = resolveComponent("ux-checkbox");
|
|
4996
4997
|
const _component_table_cell = resolveComponent("table-cell");
|
|
4997
4998
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
@@ -5033,7 +5034,7 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5033
5034
|
])
|
|
5034
5035
|
], 2);
|
|
5035
5036
|
}
|
|
5036
|
-
var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5037
|
+
var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X]]);
|
|
5037
5038
|
var RememberScrollMixin = {
|
|
5038
5039
|
data() {
|
|
5039
5040
|
return {
|
|
@@ -5064,7 +5065,7 @@ var RememberScrollMixin = {
|
|
|
5064
5065
|
}
|
|
5065
5066
|
};
|
|
5066
5067
|
var Table_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5067
|
-
const _sfc_main$
|
|
5068
|
+
const _sfc_main$W = {
|
|
5068
5069
|
mixins: [RememberScrollMixin],
|
|
5069
5070
|
components: {
|
|
5070
5071
|
TableRow,
|
|
@@ -5076,6 +5077,12 @@ const _sfc_main$U = {
|
|
|
5076
5077
|
top: 0,
|
|
5077
5078
|
left: 0
|
|
5078
5079
|
});
|
|
5080
|
+
},
|
|
5081
|
+
sort(s2) {
|
|
5082
|
+
this.sorting = s2;
|
|
5083
|
+
},
|
|
5084
|
+
sorting(s2) {
|
|
5085
|
+
this.$emit("update:sort", s2);
|
|
5079
5086
|
}
|
|
5080
5087
|
},
|
|
5081
5088
|
props: {
|
|
@@ -5112,6 +5119,16 @@ const _sfc_main$U = {
|
|
|
5112
5119
|
return true;
|
|
5113
5120
|
}
|
|
5114
5121
|
},
|
|
5122
|
+
sort: {
|
|
5123
|
+
type: Object,
|
|
5124
|
+
default() {
|
|
5125
|
+
return {
|
|
5126
|
+
key: "title",
|
|
5127
|
+
type: "string",
|
|
5128
|
+
direction: "asc"
|
|
5129
|
+
};
|
|
5130
|
+
}
|
|
5131
|
+
},
|
|
5115
5132
|
selection: {
|
|
5116
5133
|
type: Array,
|
|
5117
5134
|
default() {
|
|
@@ -5125,7 +5142,16 @@ const _sfc_main$U = {
|
|
|
5125
5142
|
type: Function
|
|
5126
5143
|
}
|
|
5127
5144
|
},
|
|
5145
|
+
data() {
|
|
5146
|
+
return {
|
|
5147
|
+
sorting: this.sort
|
|
5148
|
+
};
|
|
5149
|
+
},
|
|
5128
5150
|
computed: {
|
|
5151
|
+
currentSortDirection() {
|
|
5152
|
+
var _a;
|
|
5153
|
+
return ((_a = this.sorting) == null ? void 0 : _a.direction) || "asc";
|
|
5154
|
+
},
|
|
5129
5155
|
selectionHash() {
|
|
5130
5156
|
var self2 = this;
|
|
5131
5157
|
return self2.selection.reduce(function(set, row) {
|
|
@@ -5193,6 +5219,18 @@ const _sfc_main$U = {
|
|
|
5193
5219
|
return array;
|
|
5194
5220
|
},
|
|
5195
5221
|
toggleSort(column) {
|
|
5222
|
+
var _a, _b;
|
|
5223
|
+
const currentKey = (_a = this.sorting) == null ? void 0 : _a.key;
|
|
5224
|
+
const currentDirection = ((_b = this.sorting) == null ? void 0 : _b.direction) || "asc";
|
|
5225
|
+
let { key, direction } = column;
|
|
5226
|
+
if (key === currentKey) {
|
|
5227
|
+
direction = currentDirection === "dsc" ? "asc" : "dsc";
|
|
5228
|
+
}
|
|
5229
|
+
this.sorting = {
|
|
5230
|
+
key,
|
|
5231
|
+
direction,
|
|
5232
|
+
type: column.type
|
|
5233
|
+
};
|
|
5196
5234
|
},
|
|
5197
5235
|
clickRow(row) {
|
|
5198
5236
|
this.$emit("click:row", row);
|
|
@@ -5208,16 +5246,16 @@ const _sfc_main$U = {
|
|
|
5208
5246
|
}
|
|
5209
5247
|
}
|
|
5210
5248
|
};
|
|
5211
|
-
const _hoisted_1$
|
|
5212
|
-
const _hoisted_2$
|
|
5249
|
+
const _hoisted_1$K = { class: "table-wrapper" };
|
|
5250
|
+
const _hoisted_2$C = {
|
|
5213
5251
|
class: "table-scroll",
|
|
5214
5252
|
ref: "scroll"
|
|
5215
5253
|
};
|
|
5216
|
-
const _hoisted_3$
|
|
5254
|
+
const _hoisted_3$w = {
|
|
5217
5255
|
key: 0,
|
|
5218
5256
|
class: "first table-select shrink"
|
|
5219
5257
|
};
|
|
5220
|
-
const _hoisted_4$
|
|
5258
|
+
const _hoisted_4$t = /* @__PURE__ */ createTextVNode(" Select Page ");
|
|
5221
5259
|
const _hoisted_5$m = /* @__PURE__ */ createTextVNode(" Deselect Page ");
|
|
5222
5260
|
const _hoisted_6$i = /* @__PURE__ */ createTextVNode(" Deselect All ");
|
|
5223
5261
|
const _hoisted_7$f = ["onClick"];
|
|
@@ -5225,18 +5263,20 @@ const _hoisted_8$8 = {
|
|
|
5225
5263
|
key: 1,
|
|
5226
5264
|
class: "last shrink"
|
|
5227
5265
|
};
|
|
5228
|
-
function _sfc_render$
|
|
5266
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5229
5267
|
const _component_ux_checkbox = resolveComponent("ux-checkbox");
|
|
5230
5268
|
const _component_ux_list_item = resolveComponent("ux-list-item");
|
|
5231
5269
|
const _component_ux_list = resolveComponent("ux-list");
|
|
5232
5270
|
const _component_ux_menu = resolveComponent("ux-menu");
|
|
5271
|
+
const _component_flex_cell = resolveComponent("flex-cell");
|
|
5272
|
+
const _component_flex_row = resolveComponent("flex-row");
|
|
5233
5273
|
const _component_table_row = resolveComponent("table-row");
|
|
5234
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5235
|
-
createElementVNode("div", _hoisted_2$
|
|
5274
|
+
return openBlock(), createElementBlock("div", _hoisted_1$K, [
|
|
5275
|
+
createElementVNode("div", _hoisted_2$C, [
|
|
5236
5276
|
createElementVNode("table", null, [
|
|
5237
5277
|
createElementVNode("thead", null, [
|
|
5238
5278
|
createElementVNode("tr", null, [
|
|
5239
|
-
$props.enableSelection ? (openBlock(), createElementBlock("th", _hoisted_3$
|
|
5279
|
+
$props.enableSelection ? (openBlock(), createElementBlock("th", _hoisted_3$w, [
|
|
5240
5280
|
createVNode(_component_ux_menu, null, {
|
|
5241
5281
|
activator: withCtx(({ on: on2 }) => [
|
|
5242
5282
|
createVNode(_component_ux_checkbox, mergeProps(toHandlers(on2), { value: $options.pageSelected }), null, 16, ["value"])
|
|
@@ -5248,7 +5288,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5248
5288
|
onClick: _cache[0] || (_cache[0] = ($event) => $options.selectPage())
|
|
5249
5289
|
}, {
|
|
5250
5290
|
default: withCtx(() => [
|
|
5251
|
-
_hoisted_4$
|
|
5291
|
+
_hoisted_4$t
|
|
5252
5292
|
]),
|
|
5253
5293
|
_: 1
|
|
5254
5294
|
}),
|
|
@@ -5287,10 +5327,38 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5287
5327
|
})
|
|
5288
5328
|
])) : createCommentVNode("", true),
|
|
5289
5329
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.renderColumns, (column) => {
|
|
5330
|
+
var _a;
|
|
5290
5331
|
return openBlock(), createElementBlock("th", {
|
|
5291
5332
|
onClick: ($event) => $options.toggleSort(column),
|
|
5292
|
-
class: normalizeClass(column.class)
|
|
5293
|
-
},
|
|
5333
|
+
class: normalizeClass([{ sortable: column.sortable !== false, active: column.key === ((_a = $data.sorting) == null ? void 0 : _a.key) }, column.class])
|
|
5334
|
+
}, [
|
|
5335
|
+
createVNode(_component_flex_row, {
|
|
5336
|
+
gap: "",
|
|
5337
|
+
vcenter: ""
|
|
5338
|
+
}, {
|
|
5339
|
+
default: withCtx(() => {
|
|
5340
|
+
var _a2;
|
|
5341
|
+
return [
|
|
5342
|
+
createVNode(_component_flex_cell, null, {
|
|
5343
|
+
default: withCtx(() => [
|
|
5344
|
+
createTextVNode(toDisplayString(column.title), 1)
|
|
5345
|
+
]),
|
|
5346
|
+
_: 2
|
|
5347
|
+
}, 1024),
|
|
5348
|
+
column.key === ((_a2 = $data.sorting) == null ? void 0 : _a2.key) ? (openBlock(), createBlock(_component_flex_cell, {
|
|
5349
|
+
key: 0,
|
|
5350
|
+
shrink: ""
|
|
5351
|
+
}, {
|
|
5352
|
+
default: withCtx(() => [
|
|
5353
|
+
createTextVNode(toDisplayString($options.currentSortDirection === "asc" ? "\u25B4" : "\u25BE"), 1)
|
|
5354
|
+
]),
|
|
5355
|
+
_: 1
|
|
5356
|
+
})) : createCommentVNode("", true)
|
|
5357
|
+
];
|
|
5358
|
+
}),
|
|
5359
|
+
_: 2
|
|
5360
|
+
}, 1024)
|
|
5361
|
+
], 10, _hoisted_7$f);
|
|
5294
5362
|
}), 256)),
|
|
5295
5363
|
$props.enableActions ? (openBlock(), createElementBlock("th", _hoisted_8$8, [
|
|
5296
5364
|
renderSlot(_ctx.$slots, "corner", {}, void 0, true)
|
|
@@ -5317,28 +5385,28 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5317
5385
|
], 512)
|
|
5318
5386
|
]);
|
|
5319
5387
|
}
|
|
5320
|
-
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5388
|
+
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-129ac46c"]]);
|
|
5321
5389
|
var spinner_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5322
|
-
const _sfc_main$
|
|
5390
|
+
const _sfc_main$V = {
|
|
5323
5391
|
props: {
|
|
5324
5392
|
large: {
|
|
5325
5393
|
type: Boolean
|
|
5326
5394
|
}
|
|
5327
5395
|
}
|
|
5328
5396
|
};
|
|
5329
|
-
const _withScopeId$
|
|
5330
|
-
const _hoisted_1$
|
|
5331
|
-
const _hoisted_2$
|
|
5332
|
-
_hoisted_1$
|
|
5397
|
+
const _withScopeId$6 = (n2) => (pushScopeId("data-v-27f20370"), n2 = n2(), popScopeId(), n2);
|
|
5398
|
+
const _hoisted_1$J = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ createElementVNode("i", { class: "fa fa-spin fa-spinner" }, null, -1));
|
|
5399
|
+
const _hoisted_2$B = [
|
|
5400
|
+
_hoisted_1$J
|
|
5333
5401
|
];
|
|
5334
|
-
function _sfc_render$
|
|
5402
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5335
5403
|
return openBlock(), createElementBlock("div", {
|
|
5336
5404
|
class: normalizeClass(["ux-spinner", { large: $props.large }])
|
|
5337
|
-
}, _hoisted_2$
|
|
5405
|
+
}, _hoisted_2$B, 2);
|
|
5338
5406
|
}
|
|
5339
|
-
var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5407
|
+
var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__scopeId", "data-v-27f20370"]]);
|
|
5340
5408
|
var button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5341
|
-
const _sfc_main$
|
|
5409
|
+
const _sfc_main$U = {
|
|
5342
5410
|
components: {
|
|
5343
5411
|
Spinner
|
|
5344
5412
|
},
|
|
@@ -5432,8 +5500,8 @@ const _sfc_main$S = {
|
|
|
5432
5500
|
}
|
|
5433
5501
|
}
|
|
5434
5502
|
};
|
|
5435
|
-
const _hoisted_1$
|
|
5436
|
-
function _sfc_render$
|
|
5503
|
+
const _hoisted_1$I = { class: "ux-btn-text" };
|
|
5504
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5437
5505
|
const _component_spinner = resolveComponent("spinner");
|
|
5438
5506
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
5439
5507
|
active: $props.active,
|
|
@@ -5447,16 +5515,16 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5447
5515
|
}, {
|
|
5448
5516
|
default: withCtx(() => [
|
|
5449
5517
|
$props.loading ? (openBlock(), createBlock(_component_spinner, { key: 0 })) : createCommentVNode("", true),
|
|
5450
|
-
createElementVNode("span", _hoisted_1$
|
|
5518
|
+
createElementVNode("span", _hoisted_1$I, [
|
|
5451
5519
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
5452
5520
|
])
|
|
5453
5521
|
]),
|
|
5454
5522
|
_: 3
|
|
5455
5523
|
}, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
|
|
5456
5524
|
}
|
|
5457
|
-
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5525
|
+
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-56c95efc"]]);
|
|
5458
5526
|
var checkbox_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
5459
|
-
const _sfc_main$
|
|
5527
|
+
const _sfc_main$T = {
|
|
5460
5528
|
props: {
|
|
5461
5529
|
value: {
|
|
5462
5530
|
type: Boolean,
|
|
@@ -5477,7 +5545,7 @@ const _sfc_main$R = {
|
|
|
5477
5545
|
}
|
|
5478
5546
|
}
|
|
5479
5547
|
};
|
|
5480
|
-
function _sfc_render$
|
|
5548
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5481
5549
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
5482
5550
|
return openBlock(), createElementBlock("button", {
|
|
5483
5551
|
class: normalizeClass(["ux-checkbox", $options.classes])
|
|
@@ -5488,9 +5556,9 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5488
5556
|
})
|
|
5489
5557
|
], 2);
|
|
5490
5558
|
}
|
|
5491
|
-
var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5559
|
+
var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__scopeId", "data-v-73f2c6b6"]]);
|
|
5492
5560
|
var switch_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
5493
|
-
const _sfc_main$
|
|
5561
|
+
const _sfc_main$S = {
|
|
5494
5562
|
props: {
|
|
5495
5563
|
value: {
|
|
5496
5564
|
type: Boolean,
|
|
@@ -5520,7 +5588,7 @@ const _sfc_main$Q = {
|
|
|
5520
5588
|
}
|
|
5521
5589
|
}
|
|
5522
5590
|
};
|
|
5523
|
-
function _sfc_render$
|
|
5591
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5524
5592
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
5525
5593
|
return openBlock(), createElementBlock("a", {
|
|
5526
5594
|
class: normalizeClass(["ux-switch", $options.classes])
|
|
@@ -5533,9 +5601,9 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5533
5601
|
])
|
|
5534
5602
|
], 2);
|
|
5535
5603
|
}
|
|
5536
|
-
var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5604
|
+
var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__scopeId", "data-v-57a418e1"]]);
|
|
5537
5605
|
var link_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5538
|
-
const _sfc_main$
|
|
5606
|
+
const _sfc_main$R = {
|
|
5539
5607
|
props: {
|
|
5540
5608
|
to: {
|
|
5541
5609
|
type: [Object, String]
|
|
@@ -5609,7 +5677,7 @@ const _sfc_main$P = {
|
|
|
5609
5677
|
}
|
|
5610
5678
|
}
|
|
5611
5679
|
};
|
|
5612
|
-
function _sfc_render$
|
|
5680
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5613
5681
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
5614
5682
|
onClick: $options.clicked,
|
|
5615
5683
|
to: $props.to,
|
|
@@ -5623,9 +5691,9 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5623
5691
|
_: 3
|
|
5624
5692
|
}, 8, ["onClick", "to", "href", "target", "class"]);
|
|
5625
5693
|
}
|
|
5626
|
-
var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5694
|
+
var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-efa81728"]]);
|
|
5627
5695
|
var icon_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5628
|
-
const _sfc_main$
|
|
5696
|
+
const _sfc_main$Q = {
|
|
5629
5697
|
props: {
|
|
5630
5698
|
icon: {
|
|
5631
5699
|
type: [Object, String]
|
|
@@ -5660,17 +5728,17 @@ const _sfc_main$O = {
|
|
|
5660
5728
|
}
|
|
5661
5729
|
}
|
|
5662
5730
|
};
|
|
5663
|
-
function _sfc_render$
|
|
5731
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5664
5732
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
5665
5733
|
class: normalizeClass(["ux-icon fa", $options.classes])
|
|
5666
5734
|
}, null, 8, ["class"]);
|
|
5667
5735
|
}
|
|
5668
|
-
var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5736
|
+
var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-1764a3d0"]]);
|
|
5669
5737
|
var UXMenuService = {
|
|
5670
5738
|
cache: {}
|
|
5671
5739
|
};
|
|
5672
5740
|
var menu_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5673
|
-
const _sfc_main$
|
|
5741
|
+
const _sfc_main$P = {
|
|
5674
5742
|
props: {
|
|
5675
5743
|
group: {
|
|
5676
5744
|
type: String
|
|
@@ -5822,7 +5890,7 @@ const _sfc_main$N = {
|
|
|
5822
5890
|
}
|
|
5823
5891
|
}
|
|
5824
5892
|
};
|
|
5825
|
-
function _sfc_render$
|
|
5893
|
+
function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5826
5894
|
return openBlock(), createElementBlock("div", {
|
|
5827
5895
|
class: normalizeClass(["ux-menu", { right: $props.right }])
|
|
5828
5896
|
}, [
|
|
@@ -5846,8 +5914,8 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5846
5914
|
]))
|
|
5847
5915
|
], 2);
|
|
5848
5916
|
}
|
|
5849
|
-
var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5850
|
-
const _sfc_main$
|
|
5917
|
+
var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__scopeId", "data-v-29d476a2"]]);
|
|
5918
|
+
const _sfc_main$O = {
|
|
5851
5919
|
name: "menulist",
|
|
5852
5920
|
props: {
|
|
5853
5921
|
items: {
|
|
@@ -5871,7 +5939,7 @@ const _sfc_main$M = {
|
|
|
5871
5939
|
return {};
|
|
5872
5940
|
}
|
|
5873
5941
|
};
|
|
5874
|
-
function _sfc_render$
|
|
5942
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5875
5943
|
const _component_ux_link = resolveComponent("ux-link");
|
|
5876
5944
|
const _component_menulist = resolveComponent("menulist", true);
|
|
5877
5945
|
return openBlock(), createElementBlock("ul", null, [
|
|
@@ -5919,9 +5987,9 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5919
5987
|
}), 256))
|
|
5920
5988
|
]);
|
|
5921
5989
|
}
|
|
5922
|
-
var UXMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5990
|
+
var UXMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O]]);
|
|
5923
5991
|
var image_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5924
|
-
const _sfc_main$
|
|
5992
|
+
const _sfc_main$N = {
|
|
5925
5993
|
props: {
|
|
5926
5994
|
item: {
|
|
5927
5995
|
type: Object
|
|
@@ -6094,9 +6162,9 @@ const _sfc_main$L = {
|
|
|
6094
6162
|
}
|
|
6095
6163
|
}
|
|
6096
6164
|
};
|
|
6097
|
-
const _hoisted_1$
|
|
6098
|
-
const _hoisted_2$
|
|
6099
|
-
function _sfc_render$
|
|
6165
|
+
const _hoisted_1$H = ["data"];
|
|
6166
|
+
const _hoisted_2$A = ["src"];
|
|
6167
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6100
6168
|
return openBlock(), createElementBlock("div", {
|
|
6101
6169
|
class: normalizeClass(["ux-image", $options.className]),
|
|
6102
6170
|
style: normalizeStyle($options.style)
|
|
@@ -6105,16 +6173,16 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6105
6173
|
key: 0,
|
|
6106
6174
|
type: "image/svg+xml",
|
|
6107
6175
|
data: $options.src
|
|
6108
|
-
}, null, 8, _hoisted_1$
|
|
6176
|
+
}, null, 8, _hoisted_1$H)) : (openBlock(), createElementBlock("img", {
|
|
6109
6177
|
key: 1,
|
|
6110
6178
|
style: normalizeStyle($options.imageStyle),
|
|
6111
6179
|
src: $options.src
|
|
6112
|
-
}, null, 12, _hoisted_2$
|
|
6180
|
+
}, null, 12, _hoisted_2$A))
|
|
6113
6181
|
], 6);
|
|
6114
6182
|
}
|
|
6115
|
-
var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6183
|
+
var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__scopeId", "data-v-1f7127ce"]]);
|
|
6116
6184
|
var progressbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6117
|
-
const _sfc_main$
|
|
6185
|
+
const _sfc_main$M = {
|
|
6118
6186
|
props: {
|
|
6119
6187
|
value: {
|
|
6120
6188
|
type: Number
|
|
@@ -6148,37 +6216,146 @@ const _sfc_main$K = {
|
|
|
6148
6216
|
}
|
|
6149
6217
|
}
|
|
6150
6218
|
};
|
|
6151
|
-
const _withScopeId$
|
|
6152
|
-
const _hoisted_1$
|
|
6153
|
-
const _hoisted_2$
|
|
6154
|
-
function _sfc_render$
|
|
6155
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6156
|
-
_hoisted_2$
|
|
6219
|
+
const _withScopeId$5 = (n2) => (pushScopeId("data-v-317a7690"), n2 = n2(), popScopeId(), n2);
|
|
6220
|
+
const _hoisted_1$G = { class: "ux-progress" };
|
|
6221
|
+
const _hoisted_2$z = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", { class: "ux-progress-bg" }, null, -1));
|
|
6222
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6223
|
+
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
6224
|
+
_hoisted_2$z,
|
|
6157
6225
|
createElementVNode("div", {
|
|
6158
6226
|
class: "ux-progress-fg",
|
|
6159
6227
|
style: normalizeStyle($options.barStyle)
|
|
6160
6228
|
}, null, 4)
|
|
6161
6229
|
]);
|
|
6162
6230
|
}
|
|
6163
|
-
var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6231
|
+
var ProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-317a7690"]]);
|
|
6164
6232
|
var list_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6165
|
-
const _sfc_main$
|
|
6166
|
-
const _hoisted_1$
|
|
6167
|
-
function _sfc_render$
|
|
6168
|
-
return openBlock(), createElementBlock("ul", _hoisted_1$
|
|
6233
|
+
const _sfc_main$L = {};
|
|
6234
|
+
const _hoisted_1$F = { class: "ux-list" };
|
|
6235
|
+
function _sfc_render$L(_ctx, _cache) {
|
|
6236
|
+
return openBlock(), createElementBlock("ul", _hoisted_1$F, [
|
|
6169
6237
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
6170
6238
|
]);
|
|
6171
6239
|
}
|
|
6172
|
-
var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6240
|
+
var UXList = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-98e1e4e2"]]);
|
|
6173
6241
|
var listItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6174
|
-
const _sfc_main$
|
|
6175
|
-
const _hoisted_1$
|
|
6176
|
-
function _sfc_render$
|
|
6177
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6242
|
+
const _sfc_main$K = {};
|
|
6243
|
+
const _hoisted_1$E = { class: "ux-list-item" };
|
|
6244
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6245
|
+
return openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
6178
6246
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
6179
6247
|
]);
|
|
6180
6248
|
}
|
|
6181
|
-
var UXListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6249
|
+
var UXListItem = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-0e73c260"]]);
|
|
6250
|
+
var daterange_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
6251
|
+
function checkDate(d) {
|
|
6252
|
+
var date = new Date(d);
|
|
6253
|
+
if (date instanceof Date && !isNaN(date)) {
|
|
6254
|
+
return date;
|
|
6255
|
+
}
|
|
6256
|
+
return;
|
|
6257
|
+
}
|
|
6258
|
+
const _sfc_main$J = {
|
|
6259
|
+
props: {
|
|
6260
|
+
modelValue: {
|
|
6261
|
+
type: Object
|
|
6262
|
+
}
|
|
6263
|
+
},
|
|
6264
|
+
data() {
|
|
6265
|
+
return {
|
|
6266
|
+
model: this.modelValue
|
|
6267
|
+
};
|
|
6268
|
+
},
|
|
6269
|
+
computed: {
|
|
6270
|
+
startDate: {
|
|
6271
|
+
get() {
|
|
6272
|
+
var _a;
|
|
6273
|
+
return (_a = checkDate(this.model.startDate)) == null ? void 0 : _a.toISOString().slice(0, 10);
|
|
6274
|
+
},
|
|
6275
|
+
set(d) {
|
|
6276
|
+
d = checkDate(d);
|
|
6277
|
+
if (d) {
|
|
6278
|
+
this.model.startDate = d;
|
|
6279
|
+
} else {
|
|
6280
|
+
this.model.startDate = void 0;
|
|
6281
|
+
}
|
|
6282
|
+
}
|
|
6283
|
+
},
|
|
6284
|
+
endDate: {
|
|
6285
|
+
get() {
|
|
6286
|
+
var _a;
|
|
6287
|
+
return (_a = checkDate(this.model.endDate)) == null ? void 0 : _a.toISOString().slice(0, 10);
|
|
6288
|
+
},
|
|
6289
|
+
set(d) {
|
|
6290
|
+
d = checkDate(d);
|
|
6291
|
+
if (checkDate(d)) {
|
|
6292
|
+
this.model.endDate = d;
|
|
6293
|
+
} else {
|
|
6294
|
+
this.model.endDate = void 0;
|
|
6295
|
+
}
|
|
6296
|
+
}
|
|
6297
|
+
}
|
|
6298
|
+
},
|
|
6299
|
+
watch: {
|
|
6300
|
+
model(m) {
|
|
6301
|
+
this.$emit("updated:modelValue", m);
|
|
6302
|
+
},
|
|
6303
|
+
modelValue(m) {
|
|
6304
|
+
this.model = m;
|
|
6305
|
+
}
|
|
6306
|
+
}
|
|
6307
|
+
};
|
|
6308
|
+
const _withScopeId$4 = (n2) => (pushScopeId("data-v-61cbf45e"), n2 = n2(), popScopeId(), n2);
|
|
6309
|
+
const _hoisted_1$D = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("label", null, "From Date", -1));
|
|
6310
|
+
const _hoisted_2$y = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("label", null, "To Date", -1));
|
|
6311
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6312
|
+
const _component_flex_cell = resolveComponent("flex-cell");
|
|
6313
|
+
const _component_flex_row = resolveComponent("flex-row");
|
|
6314
|
+
return openBlock(), createElementBlock("div", null, [
|
|
6315
|
+
createVNode(_component_flex_row, {
|
|
6316
|
+
wrap: "",
|
|
6317
|
+
gap: "",
|
|
6318
|
+
vcenter: ""
|
|
6319
|
+
}, {
|
|
6320
|
+
default: withCtx(() => [
|
|
6321
|
+
createVNode(_component_flex_cell, { class: "cell" }, {
|
|
6322
|
+
default: withCtx(() => [
|
|
6323
|
+
createElementVNode("div", null, [
|
|
6324
|
+
_hoisted_1$D,
|
|
6325
|
+
withDirectives(createElementVNode("input", {
|
|
6326
|
+
type: "date",
|
|
6327
|
+
class: "ux-field-focus ux-text-input-multiple",
|
|
6328
|
+
ref: "input",
|
|
6329
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.startDate = $event)
|
|
6330
|
+
}, null, 512), [
|
|
6331
|
+
[vModelText, $options.startDate]
|
|
6332
|
+
])
|
|
6333
|
+
])
|
|
6334
|
+
]),
|
|
6335
|
+
_: 1
|
|
6336
|
+
}),
|
|
6337
|
+
createVNode(_component_flex_cell, { class: "cell" }, {
|
|
6338
|
+
default: withCtx(() => [
|
|
6339
|
+
createElementVNode("div", null, [
|
|
6340
|
+
_hoisted_2$y,
|
|
6341
|
+
withDirectives(createElementVNode("input", {
|
|
6342
|
+
type: "date",
|
|
6343
|
+
class: "ux-field-focus ux-text-input-multiple",
|
|
6344
|
+
ref: "input",
|
|
6345
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $options.endDate = $event)
|
|
6346
|
+
}, null, 512), [
|
|
6347
|
+
[vModelText, $options.endDate]
|
|
6348
|
+
])
|
|
6349
|
+
])
|
|
6350
|
+
]),
|
|
6351
|
+
_: 1
|
|
6352
|
+
})
|
|
6353
|
+
]),
|
|
6354
|
+
_: 1
|
|
6355
|
+
})
|
|
6356
|
+
]);
|
|
6357
|
+
}
|
|
6358
|
+
var Daterange = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-61cbf45e"]]);
|
|
6182
6359
|
var safeJsonStringify$1 = { exports: {} };
|
|
6183
6360
|
var hasProp = Object.prototype.hasOwnProperty;
|
|
6184
6361
|
function throwsMessage(err) {
|
|
@@ -6588,7 +6765,7 @@ var select_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
6588
6765
|
function isUndefined$5(entry) {
|
|
6589
6766
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
6590
6767
|
}
|
|
6591
|
-
const _sfc_main$
|
|
6768
|
+
const _sfc_main$I = {
|
|
6592
6769
|
props: {
|
|
6593
6770
|
title: {
|
|
6594
6771
|
type: String
|
|
@@ -6673,19 +6850,19 @@ const _sfc_main$H = {
|
|
|
6673
6850
|
}
|
|
6674
6851
|
}
|
|
6675
6852
|
};
|
|
6676
|
-
const _hoisted_1$
|
|
6853
|
+
const _hoisted_1$C = {
|
|
6677
6854
|
key: 0,
|
|
6678
6855
|
class: "ux-field-title"
|
|
6679
6856
|
};
|
|
6680
|
-
const _hoisted_2$
|
|
6857
|
+
const _hoisted_2$x = {
|
|
6681
6858
|
key: 0,
|
|
6682
6859
|
class: "ux-required-marker"
|
|
6683
6860
|
};
|
|
6684
|
-
const _hoisted_3$
|
|
6861
|
+
const _hoisted_3$v = {
|
|
6685
6862
|
key: 1,
|
|
6686
6863
|
class: "ux-field-description"
|
|
6687
6864
|
};
|
|
6688
|
-
const _hoisted_4$
|
|
6865
|
+
const _hoisted_4$s = {
|
|
6689
6866
|
key: 2,
|
|
6690
6867
|
class: "ui-select-button"
|
|
6691
6868
|
};
|
|
@@ -6695,17 +6872,17 @@ const _hoisted_6$h = {
|
|
|
6695
6872
|
value: ""
|
|
6696
6873
|
};
|
|
6697
6874
|
const _hoisted_7$e = ["value"];
|
|
6698
|
-
function _sfc_render$
|
|
6875
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6699
6876
|
const _component_ux_button = resolveComponent("ux-button");
|
|
6700
6877
|
return openBlock(), createElementBlock("div", {
|
|
6701
6878
|
class: normalizeClass(["native-select", $options.classes])
|
|
6702
6879
|
}, [
|
|
6703
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
6880
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$C, [
|
|
6704
6881
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
6705
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
6882
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$x, "*")) : createCommentVNode("", true)
|
|
6706
6883
|
])) : createCommentVNode("", true),
|
|
6707
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6708
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
6884
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$v, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
6885
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$s, [
|
|
6709
6886
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
6710
6887
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
6711
6888
|
default: withCtx(() => [
|
|
@@ -6731,9 +6908,9 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6731
6908
|
])
|
|
6732
6909
|
], 2);
|
|
6733
6910
|
}
|
|
6734
|
-
var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6911
|
+
var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-be09a2cc"]]);
|
|
6735
6912
|
var phoneNumberInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6736
|
-
const _sfc_main$
|
|
6913
|
+
const _sfc_main$H = {
|
|
6737
6914
|
props: {
|
|
6738
6915
|
modelValue: {
|
|
6739
6916
|
type: [Object, Array]
|
|
@@ -6804,20 +6981,20 @@ const _sfc_main$G = {
|
|
|
6804
6981
|
}
|
|
6805
6982
|
}
|
|
6806
6983
|
};
|
|
6807
|
-
const _withScopeId$3 = (n2) => (pushScopeId("data-v-
|
|
6808
|
-
const _hoisted_1$
|
|
6984
|
+
const _withScopeId$3 = (n2) => (pushScopeId("data-v-32219a94"), n2 = n2(), popScopeId(), n2);
|
|
6985
|
+
const _hoisted_1$B = {
|
|
6809
6986
|
key: 0,
|
|
6810
6987
|
class: "ux-field-title"
|
|
6811
6988
|
};
|
|
6812
|
-
const _hoisted_2$
|
|
6989
|
+
const _hoisted_2$w = {
|
|
6813
6990
|
key: 0,
|
|
6814
6991
|
class: "ux-required-marker"
|
|
6815
6992
|
};
|
|
6816
|
-
const _hoisted_3$
|
|
6993
|
+
const _hoisted_3$u = {
|
|
6817
6994
|
key: 1,
|
|
6818
6995
|
class: "ux-field-description"
|
|
6819
6996
|
};
|
|
6820
|
-
const _hoisted_4$
|
|
6997
|
+
const _hoisted_4$r = { key: 2 };
|
|
6821
6998
|
const _hoisted_5$k = /* @__PURE__ */ createTextVNode(" Country Code ");
|
|
6822
6999
|
const _hoisted_6$g = { key: 0 };
|
|
6823
7000
|
const _hoisted_7$d = { key: 1 };
|
|
@@ -6827,21 +7004,23 @@ const _hoisted_10$5 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ creat
|
|
|
6827
7004
|
const _hoisted_11$4 = ["value"];
|
|
6828
7005
|
const _hoisted_12$4 = { class: "ux-text-wrap" };
|
|
6829
7006
|
const _hoisted_13$3 = ["placeholder"];
|
|
6830
|
-
function _sfc_render$
|
|
7007
|
+
function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7008
|
+
const _component_ux_button = resolveComponent("ux-button");
|
|
6831
7009
|
const _component_native_select = resolveComponent("native-select");
|
|
6832
7010
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
6833
7011
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
6834
|
-
const _component_ux_button = resolveComponent("ux-button");
|
|
6835
7012
|
const _component_flex_row = resolveComponent("flex-row");
|
|
6836
7013
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
6837
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7014
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$B, [
|
|
6838
7015
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
6839
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
7016
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$w, "*")) : createCommentVNode("", true)
|
|
6840
7017
|
])) : createCommentVNode("", true),
|
|
6841
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6842
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
7018
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$u, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
7019
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$r, [
|
|
6843
7020
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
6844
7021
|
return openBlock(), createBlock(_component_flex_row, {
|
|
7022
|
+
gap: "",
|
|
7023
|
+
vcenter: "",
|
|
6845
7024
|
wrap: "",
|
|
6846
7025
|
class: "ux-text-row",
|
|
6847
7026
|
key: index2
|
|
@@ -6855,11 +7034,16 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6855
7034
|
field: $options.countryCodeField
|
|
6856
7035
|
}, {
|
|
6857
7036
|
default: withCtx(() => [
|
|
6858
|
-
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
|
|
6862
|
-
|
|
7037
|
+
createVNode(_component_ux_button, { tag: "a" }, {
|
|
7038
|
+
default: withCtx(() => [
|
|
7039
|
+
!entry.countryCode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
7040
|
+
_hoisted_5$k
|
|
7041
|
+
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
7042
|
+
$data.lookup[entry.countryCode] ? (openBlock(), createElementBlock("div", _hoisted_6$g, toDisplayString($data.lookup[entry.countryCode].emoji) + " - " + toDisplayString($data.lookup[entry.countryCode].alpha2), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$d, "Loading"))
|
|
7043
|
+
], 64))
|
|
7044
|
+
]),
|
|
7045
|
+
_: 2
|
|
7046
|
+
}, 1024)
|
|
6863
7047
|
]),
|
|
6864
7048
|
_: 2
|
|
6865
7049
|
}, 1032, ["modelValue", "onUpdate:modelValue", "field"])
|
|
@@ -6966,12 +7150,12 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6966
7150
|
}))
|
|
6967
7151
|
], 64);
|
|
6968
7152
|
}
|
|
6969
|
-
var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7153
|
+
var PhoneNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-32219a94"]]);
|
|
6970
7154
|
var timezone_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6971
7155
|
function isUndefined$4(entry) {
|
|
6972
7156
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
6973
7157
|
}
|
|
6974
|
-
const _sfc_main$
|
|
7158
|
+
const _sfc_main$G = {
|
|
6975
7159
|
props: {
|
|
6976
7160
|
modelValue: {}
|
|
6977
7161
|
},
|
|
@@ -7496,19 +7680,19 @@ const _sfc_main$F = {
|
|
|
7496
7680
|
}
|
|
7497
7681
|
}
|
|
7498
7682
|
};
|
|
7499
|
-
const _hoisted_1$
|
|
7683
|
+
const _hoisted_1$A = {
|
|
7500
7684
|
key: 0,
|
|
7501
7685
|
class: "ux-field-title"
|
|
7502
7686
|
};
|
|
7503
|
-
const _hoisted_2$
|
|
7687
|
+
const _hoisted_2$v = {
|
|
7504
7688
|
key: 0,
|
|
7505
7689
|
class: "ux-required-marker"
|
|
7506
7690
|
};
|
|
7507
|
-
const _hoisted_3$
|
|
7691
|
+
const _hoisted_3$t = {
|
|
7508
7692
|
key: 1,
|
|
7509
7693
|
class: "ux-field-description"
|
|
7510
7694
|
};
|
|
7511
|
-
const _hoisted_4$
|
|
7695
|
+
const _hoisted_4$q = {
|
|
7512
7696
|
key: 2,
|
|
7513
7697
|
class: "ui-select-button"
|
|
7514
7698
|
};
|
|
@@ -7518,17 +7702,17 @@ const _hoisted_6$f = {
|
|
|
7518
7702
|
value: ""
|
|
7519
7703
|
};
|
|
7520
7704
|
const _hoisted_7$c = ["value"];
|
|
7521
|
-
function _sfc_render$
|
|
7705
|
+
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7522
7706
|
const _component_ux_button = resolveComponent("ux-button");
|
|
7523
7707
|
return openBlock(), createElementBlock("div", {
|
|
7524
7708
|
class: normalizeClass(["native-select", $options.classes])
|
|
7525
7709
|
}, [
|
|
7526
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
7710
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$A, [
|
|
7527
7711
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
7528
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
7712
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$v, "*")) : createCommentVNode("", true)
|
|
7529
7713
|
])) : createCommentVNode("", true),
|
|
7530
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7531
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
7714
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$t, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
7715
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$q, [
|
|
7532
7716
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
7533
7717
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
7534
7718
|
default: withCtx(() => [
|
|
@@ -7554,9 +7738,9 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7554
7738
|
])
|
|
7555
7739
|
], 2);
|
|
7556
7740
|
}
|
|
7557
|
-
var TimezoneSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7741
|
+
var TimezoneSelect = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G], ["__scopeId", "data-v-a15362c8"]]);
|
|
7558
7742
|
var item_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7559
|
-
const _sfc_main$
|
|
7743
|
+
const _sfc_main$F = {
|
|
7560
7744
|
props: {
|
|
7561
7745
|
item: {
|
|
7562
7746
|
type: Object,
|
|
@@ -7586,8 +7770,8 @@ const _sfc_main$E = {
|
|
|
7586
7770
|
}
|
|
7587
7771
|
}
|
|
7588
7772
|
};
|
|
7589
|
-
const _hoisted_1$
|
|
7590
|
-
function _sfc_render$
|
|
7773
|
+
const _hoisted_1$z = { class: "image-wrapper" };
|
|
7774
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7591
7775
|
const _component_ux_image = resolveComponent("ux-image");
|
|
7592
7776
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
7593
7777
|
const _component_flex_row = resolveComponent("flex-row");
|
|
@@ -7605,7 +7789,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7605
7789
|
shrink: ""
|
|
7606
7790
|
}, {
|
|
7607
7791
|
default: withCtx(() => [
|
|
7608
|
-
createElementVNode("div", _hoisted_1$
|
|
7792
|
+
createElementVNode("div", _hoisted_1$z, [
|
|
7609
7793
|
createVNode(_component_ux_image, {
|
|
7610
7794
|
item: $props.item,
|
|
7611
7795
|
width: 100,
|
|
@@ -7636,7 +7820,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7636
7820
|
})
|
|
7637
7821
|
]);
|
|
7638
7822
|
}
|
|
7639
|
-
var Item = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7823
|
+
var Item = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$F], ["__scopeId", "data-v-bae08240"]]);
|
|
7640
7824
|
/**!
|
|
7641
7825
|
* Sortable 1.14.0
|
|
7642
7826
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -10304,7 +10488,7 @@ const draggableComponent = defineComponent({
|
|
|
10304
10488
|
}
|
|
10305
10489
|
});
|
|
10306
10490
|
var contentSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10307
|
-
const _sfc_main$
|
|
10491
|
+
const _sfc_main$E = {
|
|
10308
10492
|
components: {
|
|
10309
10493
|
Item,
|
|
10310
10494
|
draggable: draggableComponent
|
|
@@ -10477,24 +10661,24 @@ const _sfc_main$D = {
|
|
|
10477
10661
|
}
|
|
10478
10662
|
}
|
|
10479
10663
|
};
|
|
10480
|
-
const _hoisted_1$
|
|
10664
|
+
const _hoisted_1$y = {
|
|
10481
10665
|
key: 0,
|
|
10482
10666
|
class: "ux-field-title"
|
|
10483
10667
|
};
|
|
10484
|
-
const _hoisted_2$
|
|
10668
|
+
const _hoisted_2$u = {
|
|
10485
10669
|
key: 0,
|
|
10486
10670
|
class: "ux-required-marker"
|
|
10487
10671
|
};
|
|
10488
|
-
const _hoisted_3$
|
|
10672
|
+
const _hoisted_3$s = {
|
|
10489
10673
|
key: 1,
|
|
10490
10674
|
class: "ux-field-description"
|
|
10491
10675
|
};
|
|
10492
|
-
const _hoisted_4$
|
|
10676
|
+
const _hoisted_4$p = {
|
|
10493
10677
|
key: 1,
|
|
10494
10678
|
class: "items"
|
|
10495
10679
|
};
|
|
10496
10680
|
const _hoisted_5$i = /* @__PURE__ */ createTextVNode(" Create ");
|
|
10497
|
-
function _sfc_render$
|
|
10681
|
+
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10498
10682
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
10499
10683
|
const _component_ux_button = resolveComponent("ux-button");
|
|
10500
10684
|
const _component_item = resolveComponent("item");
|
|
@@ -10503,11 +10687,11 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10503
10687
|
const _component_flex_spacer = resolveComponent("flex-spacer");
|
|
10504
10688
|
const _component_flex_row = resolveComponent("flex-row");
|
|
10505
10689
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
10506
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
10690
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$y, [
|
|
10507
10691
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
10508
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
10692
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$u, "*")) : createCommentVNode("", true)
|
|
10509
10693
|
])) : createCommentVNode("", true),
|
|
10510
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
10694
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$s, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
10511
10695
|
$options.showList ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
10512
10696
|
_ctx.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
10513
10697
|
_ctx.model && _ctx.model.length ? (openBlock(), createBlock(_component_draggable, {
|
|
@@ -10547,7 +10731,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10547
10731
|
]),
|
|
10548
10732
|
_: 1
|
|
10549
10733
|
}, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
10550
|
-
], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
10734
|
+
], 64)) : _ctx.model ? (openBlock(), createElementBlock("div", _hoisted_4$p, [
|
|
10551
10735
|
createVNode(_component_item, { item: _ctx.model }, {
|
|
10552
10736
|
actions: withCtx(() => [
|
|
10553
10737
|
$options.canEdit(_ctx.model) ? (openBlock(), createBlock(_component_ux_button, {
|
|
@@ -10617,12 +10801,12 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10617
10801
|
})) : createCommentVNode("", true)
|
|
10618
10802
|
], 64);
|
|
10619
10803
|
}
|
|
10620
|
-
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10804
|
+
var ContentSelect = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-236b5d48"]]);
|
|
10621
10805
|
var typeSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10622
10806
|
function isUndefined$3(entry) {
|
|
10623
10807
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
10624
10808
|
}
|
|
10625
|
-
const _sfc_main$
|
|
10809
|
+
const _sfc_main$D = {
|
|
10626
10810
|
props: {
|
|
10627
10811
|
title: {
|
|
10628
10812
|
type: String
|
|
@@ -10731,19 +10915,19 @@ const _sfc_main$C = {
|
|
|
10731
10915
|
}
|
|
10732
10916
|
}
|
|
10733
10917
|
};
|
|
10734
|
-
const _hoisted_1$
|
|
10918
|
+
const _hoisted_1$x = {
|
|
10735
10919
|
key: 0,
|
|
10736
10920
|
class: "ux-field-title"
|
|
10737
10921
|
};
|
|
10738
|
-
const _hoisted_2$
|
|
10922
|
+
const _hoisted_2$t = {
|
|
10739
10923
|
key: 0,
|
|
10740
10924
|
class: "ux-required-marker"
|
|
10741
10925
|
};
|
|
10742
|
-
const _hoisted_3$
|
|
10926
|
+
const _hoisted_3$r = {
|
|
10743
10927
|
key: 1,
|
|
10744
10928
|
class: "ux-field-description"
|
|
10745
10929
|
};
|
|
10746
|
-
const _hoisted_4$
|
|
10930
|
+
const _hoisted_4$o = {
|
|
10747
10931
|
key: 2,
|
|
10748
10932
|
class: "ui-select-button"
|
|
10749
10933
|
};
|
|
@@ -10753,17 +10937,17 @@ const _hoisted_6$e = {
|
|
|
10753
10937
|
value: ""
|
|
10754
10938
|
};
|
|
10755
10939
|
const _hoisted_7$b = ["value"];
|
|
10756
|
-
function _sfc_render$
|
|
10940
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10757
10941
|
const _component_ux_button = resolveComponent("ux-button");
|
|
10758
10942
|
return openBlock(), createElementBlock("div", {
|
|
10759
10943
|
class: normalizeClass(["native-select", $options.classes])
|
|
10760
10944
|
}, [
|
|
10761
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
10945
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$x, [
|
|
10762
10946
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
10763
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
10947
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$t, "*")) : createCommentVNode("", true)
|
|
10764
10948
|
])) : createCommentVNode("", true),
|
|
10765
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
10766
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
10949
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$r, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
10950
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
|
|
10767
10951
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
10768
10952
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
10769
10953
|
default: withCtx(() => [
|
|
@@ -10789,9 +10973,9 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10789
10973
|
])
|
|
10790
10974
|
], 2);
|
|
10791
10975
|
}
|
|
10792
|
-
var TypeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10976
|
+
var TypeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-49a55ef8"]]);
|
|
10793
10977
|
var currency_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10794
|
-
const _sfc_main$
|
|
10978
|
+
const _sfc_main$C = {
|
|
10795
10979
|
props: {
|
|
10796
10980
|
modelValue: {
|
|
10797
10981
|
type: [String, Array]
|
|
@@ -10868,19 +11052,19 @@ const _sfc_main$B = {
|
|
|
10868
11052
|
}
|
|
10869
11053
|
}
|
|
10870
11054
|
};
|
|
10871
|
-
const _hoisted_1$
|
|
11055
|
+
const _hoisted_1$w = {
|
|
10872
11056
|
key: 0,
|
|
10873
11057
|
class: "ux-field-title"
|
|
10874
11058
|
};
|
|
10875
|
-
const _hoisted_2$
|
|
11059
|
+
const _hoisted_2$s = {
|
|
10876
11060
|
key: 0,
|
|
10877
11061
|
class: "ux-required-marker"
|
|
10878
11062
|
};
|
|
10879
|
-
const _hoisted_3$
|
|
11063
|
+
const _hoisted_3$q = {
|
|
10880
11064
|
key: 1,
|
|
10881
11065
|
class: "ux-field-description"
|
|
10882
11066
|
};
|
|
10883
|
-
const _hoisted_4$
|
|
11067
|
+
const _hoisted_4$n = { key: 2 };
|
|
10884
11068
|
const _hoisted_5$g = {
|
|
10885
11069
|
key: 0,
|
|
10886
11070
|
class: "ux-text-prefix"
|
|
@@ -10898,18 +11082,18 @@ const _hoisted_9$5 = {
|
|
|
10898
11082
|
key: 1,
|
|
10899
11083
|
class: "ux-text-suffix"
|
|
10900
11084
|
};
|
|
10901
|
-
function _sfc_render$
|
|
11085
|
+
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10902
11086
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
10903
11087
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
10904
11088
|
const _component_ux_button = resolveComponent("ux-button");
|
|
10905
11089
|
const _component_flex_row = resolveComponent("flex-row");
|
|
10906
11090
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
10907
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
11091
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$w, [
|
|
10908
11092
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
10909
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
11093
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$s, "*")) : createCommentVNode("", true)
|
|
10910
11094
|
])) : createCommentVNode("", true),
|
|
10911
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
10912
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
11095
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$q, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
11096
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
|
|
10913
11097
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
|
|
10914
11098
|
return openBlock(), createBlock(_component_flex_row, {
|
|
10915
11099
|
class: "ux-text-row",
|
|
@@ -11006,9 +11190,9 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11006
11190
|
], 2))
|
|
11007
11191
|
], 64);
|
|
11008
11192
|
}
|
|
11009
|
-
var CurrencyField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11193
|
+
var CurrencyField = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-5dd6344d"]]);
|
|
11010
11194
|
var textfield_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11011
|
-
const _sfc_main$
|
|
11195
|
+
const _sfc_main$B = {
|
|
11012
11196
|
props: {
|
|
11013
11197
|
modelValue: {
|
|
11014
11198
|
type: [String, Array]
|
|
@@ -11071,19 +11255,19 @@ const _sfc_main$A = {
|
|
|
11071
11255
|
}
|
|
11072
11256
|
}
|
|
11073
11257
|
};
|
|
11074
|
-
const _hoisted_1$
|
|
11258
|
+
const _hoisted_1$v = {
|
|
11075
11259
|
key: 0,
|
|
11076
11260
|
class: "ux-field-title"
|
|
11077
11261
|
};
|
|
11078
|
-
const _hoisted_2$
|
|
11262
|
+
const _hoisted_2$r = {
|
|
11079
11263
|
key: 0,
|
|
11080
11264
|
class: "ux-required-marker"
|
|
11081
11265
|
};
|
|
11082
|
-
const _hoisted_3$
|
|
11266
|
+
const _hoisted_3$p = {
|
|
11083
11267
|
key: 1,
|
|
11084
11268
|
class: "ux-field-description"
|
|
11085
11269
|
};
|
|
11086
|
-
const _hoisted_4$
|
|
11270
|
+
const _hoisted_4$m = { key: 2 };
|
|
11087
11271
|
const _hoisted_5$f = { class: "ux-text-wrap" };
|
|
11088
11272
|
const _hoisted_6$c = {
|
|
11089
11273
|
key: 0,
|
|
@@ -11109,18 +11293,18 @@ const _hoisted_14$2 = {
|
|
|
11109
11293
|
key: 3,
|
|
11110
11294
|
class: "ux-text-suffix"
|
|
11111
11295
|
};
|
|
11112
|
-
function _sfc_render$
|
|
11296
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11113
11297
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
11114
11298
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
11115
11299
|
const _component_ux_button = resolveComponent("ux-button");
|
|
11116
11300
|
const _component_flex_row = resolveComponent("flex-row");
|
|
11117
11301
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
11118
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
11302
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$v, [
|
|
11119
11303
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
11120
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
11304
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$r, "*")) : createCommentVNode("", true)
|
|
11121
11305
|
])) : createCommentVNode("", true),
|
|
11122
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
11123
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
11306
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$p, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
11307
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
|
|
11124
11308
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
11125
11309
|
return openBlock(), createBlock(_component_flex_row, {
|
|
11126
11310
|
class: "ux-text-row",
|
|
@@ -11236,9 +11420,9 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11236
11420
|
]))
|
|
11237
11421
|
], 64);
|
|
11238
11422
|
}
|
|
11239
|
-
var TextField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11423
|
+
var TextField = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B], ["__scopeId", "data-v-d9e8503e"]]);
|
|
11240
11424
|
var textarea_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11241
|
-
const _sfc_main$
|
|
11425
|
+
const _sfc_main$A = {
|
|
11242
11426
|
props: {
|
|
11243
11427
|
modelValue: {
|
|
11244
11428
|
type: [String, Array]
|
|
@@ -11251,32 +11435,32 @@ const _sfc_main$z = {
|
|
|
11251
11435
|
}
|
|
11252
11436
|
}
|
|
11253
11437
|
};
|
|
11254
|
-
const _hoisted_1$
|
|
11438
|
+
const _hoisted_1$u = {
|
|
11255
11439
|
key: 0,
|
|
11256
11440
|
class: "ux-field-title"
|
|
11257
11441
|
};
|
|
11258
|
-
const _hoisted_2$
|
|
11442
|
+
const _hoisted_2$q = {
|
|
11259
11443
|
key: 0,
|
|
11260
11444
|
class: "ux-required-marker"
|
|
11261
11445
|
};
|
|
11262
|
-
const _hoisted_3$
|
|
11446
|
+
const _hoisted_3$o = {
|
|
11263
11447
|
key: 1,
|
|
11264
11448
|
class: "ux-field-description"
|
|
11265
11449
|
};
|
|
11266
|
-
const _hoisted_4$
|
|
11450
|
+
const _hoisted_4$l = { key: 2 };
|
|
11267
11451
|
const _hoisted_5$e = ["onUpdate:modelValue"];
|
|
11268
|
-
function _sfc_render$
|
|
11452
|
+
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11269
11453
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
11270
11454
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
11271
11455
|
const _component_ux_button = resolveComponent("ux-button");
|
|
11272
11456
|
const _component_flex_row = resolveComponent("flex-row");
|
|
11273
11457
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
11274
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
11458
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$u, [
|
|
11275
11459
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
11276
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
11460
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$q, "*")) : createCommentVNode("", true)
|
|
11277
11461
|
])) : createCommentVNode("", true),
|
|
11278
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
11279
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
11462
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$o, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
11463
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$l, [
|
|
11280
11464
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
11281
11465
|
return openBlock(), createBlock(_component_flex_row, {
|
|
11282
11466
|
class: "ux-text-row",
|
|
@@ -11342,7 +11526,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11342
11526
|
])
|
|
11343
11527
|
], 64);
|
|
11344
11528
|
}
|
|
11345
|
-
var TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11529
|
+
var TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A], ["__scopeId", "data-v-777c0703"]]);
|
|
11346
11530
|
var datefield_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11347
11531
|
function zero(input) {
|
|
11348
11532
|
if (String(input).length < 2) {
|
|
@@ -11350,7 +11534,7 @@ function zero(input) {
|
|
|
11350
11534
|
}
|
|
11351
11535
|
return input;
|
|
11352
11536
|
}
|
|
11353
|
-
const _sfc_main$
|
|
11537
|
+
const _sfc_main$z = {
|
|
11354
11538
|
props: {
|
|
11355
11539
|
modelValue: {
|
|
11356
11540
|
type: [Date, String, Array]
|
|
@@ -11399,32 +11583,32 @@ const _sfc_main$y = {
|
|
|
11399
11583
|
}
|
|
11400
11584
|
}
|
|
11401
11585
|
};
|
|
11402
|
-
const _hoisted_1$
|
|
11586
|
+
const _hoisted_1$t = {
|
|
11403
11587
|
key: 0,
|
|
11404
11588
|
class: "ux-field-title"
|
|
11405
11589
|
};
|
|
11406
|
-
const _hoisted_2$
|
|
11590
|
+
const _hoisted_2$p = {
|
|
11407
11591
|
key: 0,
|
|
11408
11592
|
class: "ux-required-marker"
|
|
11409
11593
|
};
|
|
11410
|
-
const _hoisted_3$
|
|
11594
|
+
const _hoisted_3$n = {
|
|
11411
11595
|
key: 1,
|
|
11412
11596
|
class: "ux-field-description"
|
|
11413
11597
|
};
|
|
11414
|
-
const _hoisted_4$
|
|
11598
|
+
const _hoisted_4$k = { key: 2 };
|
|
11415
11599
|
const _hoisted_5$d = ["onUpdate:modelValue"];
|
|
11416
|
-
function _sfc_render$
|
|
11600
|
+
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11417
11601
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
11418
11602
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
11419
11603
|
const _component_ux_button = resolveComponent("ux-button");
|
|
11420
11604
|
const _component_flex_row = resolveComponent("flex-row");
|
|
11421
11605
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
11422
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
11606
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$t, [
|
|
11423
11607
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
11424
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
11608
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$p, "*")) : createCommentVNode("", true)
|
|
11425
11609
|
])) : createCommentVNode("", true),
|
|
11426
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
11427
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
11610
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$n, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
11611
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$k, [
|
|
11428
11612
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
|
|
11429
11613
|
return openBlock(), createBlock(_component_flex_row, {
|
|
11430
11614
|
class: "ux-text-row",
|
|
@@ -11490,7 +11674,135 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11490
11674
|
])
|
|
11491
11675
|
], 64);
|
|
11492
11676
|
}
|
|
11493
|
-
var DateField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11677
|
+
var DateField = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z], ["__scopeId", "data-v-1c86b484"]]);
|
|
11678
|
+
var daterange_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11679
|
+
const _sfc_main$y = {
|
|
11680
|
+
components: {
|
|
11681
|
+
Daterange
|
|
11682
|
+
},
|
|
11683
|
+
props: {
|
|
11684
|
+
modelValue: {
|
|
11685
|
+
type: [Object, Array]
|
|
11686
|
+
}
|
|
11687
|
+
},
|
|
11688
|
+
mixins: [InputMixin],
|
|
11689
|
+
computed: {
|
|
11690
|
+
model: {
|
|
11691
|
+
get() {
|
|
11692
|
+
let val = this.cleanOutput(this.value);
|
|
11693
|
+
return val;
|
|
11694
|
+
},
|
|
11695
|
+
set(newValue) {
|
|
11696
|
+
if (!newValue) {
|
|
11697
|
+
this.value = void 0;
|
|
11698
|
+
this.dispatch();
|
|
11699
|
+
return;
|
|
11700
|
+
}
|
|
11701
|
+
var val = this.cleanOutput(newValue);
|
|
11702
|
+
var existing = this.cleanOutput(this.value);
|
|
11703
|
+
if (val != existing) {
|
|
11704
|
+
newValue = this.cleanInput(val);
|
|
11705
|
+
this.value = newValue;
|
|
11706
|
+
this.dispatch();
|
|
11707
|
+
}
|
|
11708
|
+
}
|
|
11709
|
+
}
|
|
11710
|
+
},
|
|
11711
|
+
methods: {
|
|
11712
|
+
cleanOutputValue(d) {
|
|
11713
|
+
return d;
|
|
11714
|
+
},
|
|
11715
|
+
cleanInputValue(d) {
|
|
11716
|
+
return d;
|
|
11717
|
+
},
|
|
11718
|
+
getNewDefaultEntry() {
|
|
11719
|
+
return {};
|
|
11720
|
+
}
|
|
11721
|
+
}
|
|
11722
|
+
};
|
|
11723
|
+
const _hoisted_1$s = {
|
|
11724
|
+
key: 0,
|
|
11725
|
+
class: "ux-field-title"
|
|
11726
|
+
};
|
|
11727
|
+
const _hoisted_2$o = {
|
|
11728
|
+
key: 0,
|
|
11729
|
+
class: "ux-required-marker"
|
|
11730
|
+
};
|
|
11731
|
+
const _hoisted_3$m = {
|
|
11732
|
+
key: 1,
|
|
11733
|
+
class: "ux-field-description"
|
|
11734
|
+
};
|
|
11735
|
+
const _hoisted_4$j = { key: 2 };
|
|
11736
|
+
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11737
|
+
const _component_daterange = resolveComponent("daterange", true);
|
|
11738
|
+
const _component_flex_cell = resolveComponent("flex-cell");
|
|
11739
|
+
const _component_ux_icon = resolveComponent("ux-icon");
|
|
11740
|
+
const _component_ux_button = resolveComponent("ux-button");
|
|
11741
|
+
const _component_flex_row = resolveComponent("flex-row");
|
|
11742
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
11743
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$s, [
|
|
11744
|
+
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
11745
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$o, "*")) : createCommentVNode("", true)
|
|
11746
|
+
])) : createCommentVNode("", true),
|
|
11747
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$m, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
11748
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$j, [
|
|
11749
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.model, (entry, index2) => {
|
|
11750
|
+
return openBlock(), createBlock(_component_flex_row, {
|
|
11751
|
+
class: "ux-text-row",
|
|
11752
|
+
key: index2
|
|
11753
|
+
}, {
|
|
11754
|
+
default: withCtx(() => [
|
|
11755
|
+
createVNode(_component_flex_cell, null, {
|
|
11756
|
+
default: withCtx(() => [
|
|
11757
|
+
createVNode(_component_daterange, {
|
|
11758
|
+
onFocus: _ctx.touch,
|
|
11759
|
+
modelValue: $options.model[index2],
|
|
11760
|
+
"onUpdate:modelValue": ($event) => $options.model[index2] = $event
|
|
11761
|
+
}, null, 8, ["onFocus", "modelValue", "onUpdate:modelValue"])
|
|
11762
|
+
]),
|
|
11763
|
+
_: 2
|
|
11764
|
+
}, 1024),
|
|
11765
|
+
createVNode(_component_flex_cell, {
|
|
11766
|
+
shrink: "",
|
|
11767
|
+
vcenter: ""
|
|
11768
|
+
}, {
|
|
11769
|
+
default: withCtx(() => [
|
|
11770
|
+
_ctx.canRemoveValue ? (openBlock(), createBlock(_component_ux_button, {
|
|
11771
|
+
key: 0,
|
|
11772
|
+
tag: "a",
|
|
11773
|
+
icon: "",
|
|
11774
|
+
onClick: ($event) => _ctx.remove(entry)
|
|
11775
|
+
}, {
|
|
11776
|
+
default: withCtx(() => [
|
|
11777
|
+
createVNode(_component_ux_icon, { icon: "fa-times" })
|
|
11778
|
+
]),
|
|
11779
|
+
_: 2
|
|
11780
|
+
}, 1032, ["onClick"])) : createCommentVNode("", true)
|
|
11781
|
+
]),
|
|
11782
|
+
_: 2
|
|
11783
|
+
}, 1024)
|
|
11784
|
+
]),
|
|
11785
|
+
_: 2
|
|
11786
|
+
}, 1024);
|
|
11787
|
+
}), 128)),
|
|
11788
|
+
_ctx.canAddValue ? (openBlock(), createBlock(_component_ux_button, {
|
|
11789
|
+
key: 0,
|
|
11790
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.add())
|
|
11791
|
+
}, {
|
|
11792
|
+
default: withCtx(() => [
|
|
11793
|
+
createTextVNode(toDisplayString(_ctx.addLabel), 1)
|
|
11794
|
+
]),
|
|
11795
|
+
_: 1
|
|
11796
|
+
})) : createCommentVNode("", true)
|
|
11797
|
+
])) : (openBlock(), createBlock(_component_daterange, {
|
|
11798
|
+
key: 3,
|
|
11799
|
+
onFocus: _ctx.touch,
|
|
11800
|
+
modelValue: $options.model,
|
|
11801
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $options.model = $event)
|
|
11802
|
+
}, null, 8, ["onFocus", "modelValue"]))
|
|
11803
|
+
], 64);
|
|
11804
|
+
}
|
|
11805
|
+
var DateRange = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y], ["__scopeId", "data-v-24228367"]]);
|
|
11494
11806
|
var checkbox_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11495
11807
|
const _sfc_main$x = {
|
|
11496
11808
|
computed: {
|
|
@@ -11542,7 +11854,7 @@ const _hoisted_2$n = {
|
|
|
11542
11854
|
key: 0,
|
|
11543
11855
|
class: "ux-required-marker"
|
|
11544
11856
|
};
|
|
11545
|
-
const _hoisted_3$
|
|
11857
|
+
const _hoisted_3$l = {
|
|
11546
11858
|
key: 1,
|
|
11547
11859
|
class: "ux-field-description"
|
|
11548
11860
|
};
|
|
@@ -11574,7 +11886,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11574
11886
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
11575
11887
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$n, "*")) : createCommentVNode("", true)
|
|
11576
11888
|
])) : createCommentVNode("", true),
|
|
11577
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
11889
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$l, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
|
|
11578
11890
|
])
|
|
11579
11891
|
]),
|
|
11580
11892
|
_: 1
|
|
@@ -11599,7 +11911,7 @@ const _sfc_main$w = {
|
|
|
11599
11911
|
};
|
|
11600
11912
|
const _hoisted_1$q = { key: 0 };
|
|
11601
11913
|
const _hoisted_2$m = ["innerHTML"];
|
|
11602
|
-
const _hoisted_3$
|
|
11914
|
+
const _hoisted_3$k = ["innerHTML"];
|
|
11603
11915
|
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11604
11916
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
11605
11917
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
@@ -11653,7 +11965,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11653
11965
|
])) : (openBlock(), createElementBlock("div", {
|
|
11654
11966
|
key: 1,
|
|
11655
11967
|
innerHTML: _ctx.field.template
|
|
11656
|
-
}, null, 8, _hoisted_3$
|
|
11968
|
+
}, null, 8, _hoisted_3$k));
|
|
11657
11969
|
}
|
|
11658
11970
|
var CustomHTML = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$w]]);
|
|
11659
11971
|
var FilterCondition_vue_vue_type_style_index_0_lang = "";
|
|
@@ -11929,8 +12241,8 @@ const _hoisted_1$p = {
|
|
|
11929
12241
|
class: "filter-condition"
|
|
11930
12242
|
};
|
|
11931
12243
|
const _hoisted_2$l = { key: 0 };
|
|
11932
|
-
const _hoisted_3$
|
|
11933
|
-
const _hoisted_4$
|
|
12244
|
+
const _hoisted_3$j = { key: 1 };
|
|
12245
|
+
const _hoisted_4$i = /* @__PURE__ */ createTextVNode(" And ");
|
|
11934
12246
|
const _hoisted_5$c = { key: 2 };
|
|
11935
12247
|
const _hoisted_6$b = { key: 3 };
|
|
11936
12248
|
const _hoisted_7$8 = /* @__PURE__ */ createTextVNode(" And ");
|
|
@@ -11993,13 +12305,13 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11993
12305
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.model.values = $event)
|
|
11994
12306
|
}, null, 8, ["field", "modelValue"]))
|
|
11995
12307
|
])) : createCommentVNode("", true),
|
|
11996
|
-
$options.inputType == "range" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
12308
|
+
$options.inputType == "range" ? (openBlock(), createElementBlock("div", _hoisted_3$j, [
|
|
11997
12309
|
createVNode(_component_text_field, {
|
|
11998
12310
|
field: $options.normalField,
|
|
11999
12311
|
modelValue: $data.model.value,
|
|
12000
12312
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.model.value = $event)
|
|
12001
12313
|
}, null, 8, ["field", "modelValue"]),
|
|
12002
|
-
_hoisted_4$
|
|
12314
|
+
_hoisted_4$i,
|
|
12003
12315
|
createVNode(_component_text_field, {
|
|
12004
12316
|
field: $options.normalField,
|
|
12005
12317
|
modelValue: $data.model.value2,
|
|
@@ -12399,8 +12711,8 @@ const _hoisted_1$o = {
|
|
|
12399
12711
|
class: "filter-rule"
|
|
12400
12712
|
};
|
|
12401
12713
|
const _hoisted_2$k = { class: "top" };
|
|
12402
|
-
const _hoisted_3$
|
|
12403
|
-
const _hoisted_4$
|
|
12714
|
+
const _hoisted_3$i = { class: "summary" };
|
|
12715
|
+
const _hoisted_4$h = /* @__PURE__ */ createTextVNode(" Match ");
|
|
12404
12716
|
const _hoisted_5$b = /* @__PURE__ */ createTextVNode(" of the following conditions ");
|
|
12405
12717
|
const _hoisted_6$a = /* @__PURE__ */ createElementVNode("span", { class: "line" }, null, -1);
|
|
12406
12718
|
const _hoisted_7$7 = { class: "operator" };
|
|
@@ -12418,8 +12730,8 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12418
12730
|
default: withCtx(() => [
|
|
12419
12731
|
createVNode(_component_flex_cell, null, {
|
|
12420
12732
|
default: withCtx(() => [
|
|
12421
|
-
createElementVNode("div", _hoisted_3$
|
|
12422
|
-
_hoisted_4$
|
|
12733
|
+
createElementVNode("div", _hoisted_3$i, [
|
|
12734
|
+
_hoisted_4$h,
|
|
12423
12735
|
createVNode(_component_native_select, {
|
|
12424
12736
|
modelValue: $data.model.operator,
|
|
12425
12737
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
|
|
@@ -12613,8 +12925,8 @@ const _hoisted_2$j = {
|
|
|
12613
12925
|
key: 0,
|
|
12614
12926
|
class: "top"
|
|
12615
12927
|
};
|
|
12616
|
-
const _hoisted_3$
|
|
12617
|
-
const _hoisted_4$
|
|
12928
|
+
const _hoisted_3$h = { class: "summary" };
|
|
12929
|
+
const _hoisted_4$g = /* @__PURE__ */ createTextVNode(" Match ");
|
|
12618
12930
|
const _hoisted_5$a = /* @__PURE__ */ createTextVNode(" of the following rules ");
|
|
12619
12931
|
const _hoisted_6$9 = /* @__PURE__ */ createTextVNode("Add Filter Rule");
|
|
12620
12932
|
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -12629,8 +12941,8 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12629
12941
|
default: withCtx(() => [
|
|
12630
12942
|
createElementVNode("div", _hoisted_1$n, [
|
|
12631
12943
|
$data.model && $data.model.filters && $data.model.filters.length ? (openBlock(), createElementBlock("div", _hoisted_2$j, [
|
|
12632
|
-
createElementVNode("div", _hoisted_3$
|
|
12633
|
-
_hoisted_4$
|
|
12944
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
12945
|
+
_hoisted_4$g,
|
|
12634
12946
|
createVNode(_component_native_select, {
|
|
12635
12947
|
modelValue: $data.model.operator,
|
|
12636
12948
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.model.operator = $event),
|
|
@@ -12723,11 +13035,11 @@ const _hoisted_2$i = {
|
|
|
12723
13035
|
key: 0,
|
|
12724
13036
|
class: "ux-required-marker"
|
|
12725
13037
|
};
|
|
12726
|
-
const _hoisted_3$
|
|
13038
|
+
const _hoisted_3$g = {
|
|
12727
13039
|
key: 1,
|
|
12728
13040
|
class: "ux-field-description"
|
|
12729
13041
|
};
|
|
12730
|
-
const _hoisted_4$
|
|
13042
|
+
const _hoisted_4$f = { key: 2 };
|
|
12731
13043
|
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12732
13044
|
const _component_filter_builder = resolveComponent("filter-builder");
|
|
12733
13045
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
@@ -12739,8 +13051,8 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12739
13051
|
createTextVNode(toDisplayString(_ctx.label) + " (" + toDisplayString($options.definitionTitle) + ") ", 1),
|
|
12740
13052
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$i, "*")) : createCommentVNode("", true)
|
|
12741
13053
|
])) : createCommentVNode("", true),
|
|
12742
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
12743
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
13054
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$g, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
13055
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$f, [
|
|
12744
13056
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
12745
13057
|
return openBlock(), createBlock(_component_flex_row, {
|
|
12746
13058
|
class: "ux-text-row",
|
|
@@ -12847,7 +13159,7 @@ const _hoisted_2$h = {
|
|
|
12847
13159
|
key: 0,
|
|
12848
13160
|
class: "ux-required-marker"
|
|
12849
13161
|
};
|
|
12850
|
-
const _hoisted_3$
|
|
13162
|
+
const _hoisted_3$f = {
|
|
12851
13163
|
key: 1,
|
|
12852
13164
|
class: "ux-field-description"
|
|
12853
13165
|
};
|
|
@@ -12879,7 +13191,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12879
13191
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
12880
13192
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$h, "*")) : createCommentVNode("", true)
|
|
12881
13193
|
])) : createCommentVNode("", true),
|
|
12882
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
13194
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$f, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
|
|
12883
13195
|
])
|
|
12884
13196
|
]),
|
|
12885
13197
|
_: 1
|
|
@@ -12899,6 +13211,11 @@ const _sfc_main$q = {
|
|
|
12899
13211
|
type: String
|
|
12900
13212
|
}
|
|
12901
13213
|
},
|
|
13214
|
+
data() {
|
|
13215
|
+
return {
|
|
13216
|
+
over: false
|
|
13217
|
+
};
|
|
13218
|
+
},
|
|
12902
13219
|
methods: {
|
|
12903
13220
|
clicked() {
|
|
12904
13221
|
if (!this.multiple) {
|
|
@@ -12906,9 +13223,19 @@ const _sfc_main$q = {
|
|
|
12906
13223
|
}
|
|
12907
13224
|
this.$refs.file.click();
|
|
12908
13225
|
},
|
|
13226
|
+
fileout(event) {
|
|
13227
|
+
this.over = true;
|
|
13228
|
+
},
|
|
12909
13229
|
fileover(event) {
|
|
13230
|
+
this.over = true;
|
|
12910
13231
|
},
|
|
12911
|
-
filedrop(
|
|
13232
|
+
filedrop(e) {
|
|
13233
|
+
const self2 = this;
|
|
13234
|
+
if (e.dataTransfer && e.dataTransfer.files && e.dataTransfer.files.length) {
|
|
13235
|
+
e.preventDefault();
|
|
13236
|
+
e.stopPropagation();
|
|
13237
|
+
self2.filesSelected(e.dataTransfer.files);
|
|
13238
|
+
}
|
|
12912
13239
|
},
|
|
12913
13240
|
filesSelected(files) {
|
|
12914
13241
|
console.log("FILES SELECTED", files);
|
|
@@ -12932,9 +13259,10 @@ const _hoisted_2$g = /* @__PURE__ */ createTextVNode("Select Files");
|
|
|
12932
13259
|
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12933
13260
|
const _component_ux_button = resolveComponent("ux-button");
|
|
12934
13261
|
return openBlock(), createElementBlock("label", {
|
|
12935
|
-
class: "file-drop",
|
|
13262
|
+
class: normalizeClass(["file-drop", { over: $data.over }]),
|
|
12936
13263
|
onDragover: _cache[2] || (_cache[2] = withModifiers((...args) => $options.fileover && $options.fileover(...args), ["prevent", "stop"])),
|
|
12937
|
-
|
|
13264
|
+
onDragleave: _cache[3] || (_cache[3] = withModifiers((...args) => $options.fileout && $options.fileout(...args), ["prevent", "stop"])),
|
|
13265
|
+
onDrop: _cache[4] || (_cache[4] = withModifiers((...args) => $options.filedrop && $options.filedrop(...args), ["prevent", "stop"]))
|
|
12938
13266
|
}, [
|
|
12939
13267
|
createElementVNode("input", {
|
|
12940
13268
|
ref: "file",
|
|
@@ -12956,9 +13284,9 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12956
13284
|
})
|
|
12957
13285
|
], true)
|
|
12958
13286
|
])
|
|
12959
|
-
],
|
|
13287
|
+
], 34);
|
|
12960
13288
|
}
|
|
12961
|
-
var FileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-
|
|
13289
|
+
var FileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-1960a794"]]);
|
|
12962
13290
|
var upload_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
12963
13291
|
const _sfc_main$p = {
|
|
12964
13292
|
mixins: [InputMixin],
|
|
@@ -13102,11 +13430,11 @@ const _hoisted_2$f = {
|
|
|
13102
13430
|
key: 0,
|
|
13103
13431
|
class: "ux-required-marker"
|
|
13104
13432
|
};
|
|
13105
|
-
const _hoisted_3$
|
|
13433
|
+
const _hoisted_3$e = {
|
|
13106
13434
|
key: 1,
|
|
13107
13435
|
class: "ux-field-description"
|
|
13108
13436
|
};
|
|
13109
|
-
const _hoisted_4$
|
|
13437
|
+
const _hoisted_4$e = {
|
|
13110
13438
|
key: 2,
|
|
13111
13439
|
class: "files"
|
|
13112
13440
|
};
|
|
@@ -13125,8 +13453,8 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13125
13453
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
13126
13454
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$f, "*")) : createCommentVNode("", true)
|
|
13127
13455
|
])) : createCommentVNode("", true),
|
|
13128
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
13129
|
-
$data.files && $data.files.length ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
13456
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$e, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
13457
|
+
$data.files && $data.files.length ? (openBlock(), createElementBlock("div", _hoisted_4$e, [
|
|
13130
13458
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.files, (file, index2) => {
|
|
13131
13459
|
return openBlock(), createElementBlock("div", {
|
|
13132
13460
|
class: "file-item",
|
|
@@ -13773,11 +14101,11 @@ const _hoisted_2$e = {
|
|
|
13773
14101
|
key: 0,
|
|
13774
14102
|
class: "ux-required-marker"
|
|
13775
14103
|
};
|
|
13776
|
-
const _hoisted_3$
|
|
14104
|
+
const _hoisted_3$d = {
|
|
13777
14105
|
key: 1,
|
|
13778
14106
|
class: "ux-field-description"
|
|
13779
14107
|
};
|
|
13780
|
-
const _hoisted_4$
|
|
14108
|
+
const _hoisted_4$d = { class: "buttons" };
|
|
13781
14109
|
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13782
14110
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
13783
14111
|
const _component_ux_button = resolveComponent("ux-button");
|
|
@@ -13787,8 +14115,8 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13787
14115
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
13788
14116
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$e, "*")) : createCommentVNode("", true)
|
|
13789
14117
|
])) : createCommentVNode("", true),
|
|
13790
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
13791
|
-
createElementVNode("div", _hoisted_4$
|
|
14118
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$d, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
14119
|
+
createElementVNode("div", _hoisted_4$d, [
|
|
13792
14120
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selectableOptions, (option2) => {
|
|
13793
14121
|
return openBlock(), createBlock(_component_option_slot, { option: option2 }, {
|
|
13794
14122
|
default: withCtx(({ plainValue }) => [
|
|
@@ -13836,11 +14164,11 @@ const _hoisted_2$d = {
|
|
|
13836
14164
|
key: 0,
|
|
13837
14165
|
class: "ux-required-marker"
|
|
13838
14166
|
};
|
|
13839
|
-
const _hoisted_3$
|
|
14167
|
+
const _hoisted_3$c = {
|
|
13840
14168
|
key: 1,
|
|
13841
14169
|
class: "ux-field-description"
|
|
13842
14170
|
};
|
|
13843
|
-
const _hoisted_4$
|
|
14171
|
+
const _hoisted_4$c = { key: 2 };
|
|
13844
14172
|
const _hoisted_5$8 = { key: 3 };
|
|
13845
14173
|
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13846
14174
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
@@ -13852,8 +14180,8 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13852
14180
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
13853
14181
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$d, "*")) : createCommentVNode("", true)
|
|
13854
14182
|
])) : createCommentVNode("", true),
|
|
13855
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
13856
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
14183
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$c, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
14184
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
|
|
13857
14185
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
13858
14186
|
return openBlock(), createBlock(_component_flex_row, {
|
|
13859
14187
|
class: "ux-text-row",
|
|
@@ -14010,11 +14338,11 @@ const _hoisted_2$c = {
|
|
|
14010
14338
|
key: 0,
|
|
14011
14339
|
class: "ux-required-marker"
|
|
14012
14340
|
};
|
|
14013
|
-
const _hoisted_3$
|
|
14341
|
+
const _hoisted_3$b = {
|
|
14014
14342
|
key: 1,
|
|
14015
14343
|
class: "ux-field-description"
|
|
14016
14344
|
};
|
|
14017
|
-
const _hoisted_4$
|
|
14345
|
+
const _hoisted_4$b = { key: 2 };
|
|
14018
14346
|
const _hoisted_5$7 = { class: "ux-text-wrap prefixed" };
|
|
14019
14347
|
const _hoisted_6$7 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "ux-text-prefix" }, "Label", -1));
|
|
14020
14348
|
const _hoisted_7$5 = ["onBlur", "onUpdate:modelValue"];
|
|
@@ -14037,8 +14365,8 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14037
14365
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
14038
14366
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$c, "*")) : createCommentVNode("", true)
|
|
14039
14367
|
])) : createCommentVNode("", true),
|
|
14040
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14041
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
14368
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$b, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
14369
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
|
|
14042
14370
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
14043
14371
|
return openBlock(), createBlock(_component_flex_row, {
|
|
14044
14372
|
class: "ux-text-row",
|
|
@@ -14372,11 +14700,11 @@ const _hoisted_2$b = {
|
|
|
14372
14700
|
key: 0,
|
|
14373
14701
|
class: "ux-required-marker"
|
|
14374
14702
|
};
|
|
14375
|
-
const _hoisted_3$
|
|
14703
|
+
const _hoisted_3$a = {
|
|
14376
14704
|
key: 1,
|
|
14377
14705
|
class: "ux-field-description"
|
|
14378
14706
|
};
|
|
14379
|
-
const _hoisted_4$
|
|
14707
|
+
const _hoisted_4$a = { key: 2 };
|
|
14380
14708
|
const _hoisted_5$6 = { class: "code-editor-field-wrap" };
|
|
14381
14709
|
const _hoisted_6$6 = {
|
|
14382
14710
|
key: 3,
|
|
@@ -14395,8 +14723,8 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14395
14723
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
14396
14724
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$b, "*")) : createCommentVNode("", true)
|
|
14397
14725
|
])) : createCommentVNode("", true),
|
|
14398
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14399
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
14726
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$a, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
14727
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
|
|
14400
14728
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
14401
14729
|
return openBlock(), createBlock(_component_flex_row, {
|
|
14402
14730
|
class: "ux-text-row",
|
|
@@ -14540,11 +14868,11 @@ const _hoisted_2$a = {
|
|
|
14540
14868
|
key: 0,
|
|
14541
14869
|
class: "ux-required-marker"
|
|
14542
14870
|
};
|
|
14543
|
-
const _hoisted_3$
|
|
14871
|
+
const _hoisted_3$9 = {
|
|
14544
14872
|
key: 1,
|
|
14545
14873
|
class: "ux-field-description"
|
|
14546
14874
|
};
|
|
14547
|
-
const _hoisted_4$
|
|
14875
|
+
const _hoisted_4$9 = { key: 2 };
|
|
14548
14876
|
const _hoisted_5$5 = { class: "richtext-field-wrap" };
|
|
14549
14877
|
const _hoisted_6$5 = {
|
|
14550
14878
|
key: 3,
|
|
@@ -14563,8 +14891,8 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14563
14891
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
14564
14892
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$a, "*")) : createCommentVNode("", true)
|
|
14565
14893
|
])) : createCommentVNode("", true),
|
|
14566
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14567
|
-
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
14894
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$9, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
14895
|
+
_ctx.multiValue ? (openBlock(), createElementBlock("div", _hoisted_4$9, [
|
|
14568
14896
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.model, (entry, index2) => {
|
|
14569
14897
|
return openBlock(), createBlock(_component_flex_row, {
|
|
14570
14898
|
class: "ux-text-row",
|
|
@@ -14760,11 +15088,11 @@ const _hoisted_2$9 = {
|
|
|
14760
15088
|
key: 0,
|
|
14761
15089
|
class: "ux-required-marker"
|
|
14762
15090
|
};
|
|
14763
|
-
const _hoisted_3$
|
|
15091
|
+
const _hoisted_3$8 = {
|
|
14764
15092
|
key: 1,
|
|
14765
15093
|
class: "ux-field-description"
|
|
14766
15094
|
};
|
|
14767
|
-
const _hoisted_4$
|
|
15095
|
+
const _hoisted_4$8 = {
|
|
14768
15096
|
key: 2,
|
|
14769
15097
|
class: "ui-select-button"
|
|
14770
15098
|
};
|
|
@@ -14783,8 +15111,8 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14783
15111
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
14784
15112
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$9, "*")) : createCommentVNode("", true)
|
|
14785
15113
|
])) : createCommentVNode("", true),
|
|
14786
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14787
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
15114
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$8, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
15115
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
|
|
14788
15116
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
14789
15117
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
14790
15118
|
default: withCtx(() => [
|
|
@@ -14926,11 +15254,11 @@ const _hoisted_2$8 = {
|
|
|
14926
15254
|
key: 0,
|
|
14927
15255
|
class: "ux-required-marker"
|
|
14928
15256
|
};
|
|
14929
|
-
const _hoisted_3$
|
|
15257
|
+
const _hoisted_3$7 = {
|
|
14930
15258
|
key: 1,
|
|
14931
15259
|
class: "ux-field-description"
|
|
14932
15260
|
};
|
|
14933
|
-
const _hoisted_4$
|
|
15261
|
+
const _hoisted_4$7 = {
|
|
14934
15262
|
key: 2,
|
|
14935
15263
|
class: "ui-select-button"
|
|
14936
15264
|
};
|
|
@@ -14949,8 +15277,8 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14949
15277
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
14950
15278
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$8, "*")) : createCommentVNode("", true)
|
|
14951
15279
|
])) : createCommentVNode("", true),
|
|
14952
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14953
|
-
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
15280
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$7, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
15281
|
+
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$7, [
|
|
14954
15282
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
14955
15283
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
14956
15284
|
default: withCtx(() => [
|
|
@@ -15813,6 +16141,7 @@ const _sfc_main$d = {
|
|
|
15813
16141
|
ButtonSelect,
|
|
15814
16142
|
NativeSelect,
|
|
15815
16143
|
DateField,
|
|
16144
|
+
DateRange,
|
|
15816
16145
|
TextField,
|
|
15817
16146
|
CurrencyField,
|
|
15818
16147
|
TextArea,
|
|
@@ -16207,6 +16536,7 @@ const _sfc_main$d = {
|
|
|
16207
16536
|
case "content-select":
|
|
16208
16537
|
case "select":
|
|
16209
16538
|
case "checkbox":
|
|
16539
|
+
case "daterange":
|
|
16210
16540
|
case "datefield":
|
|
16211
16541
|
case "richtext":
|
|
16212
16542
|
case "textarea":
|
|
@@ -16257,7 +16587,7 @@ const _sfc_main$d = {
|
|
|
16257
16587
|
}
|
|
16258
16588
|
};
|
|
16259
16589
|
const _hoisted_1$a = {
|
|
16260
|
-
key:
|
|
16590
|
+
key: 26,
|
|
16261
16591
|
class: "ux-field-message"
|
|
16262
16592
|
};
|
|
16263
16593
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -16274,6 +16604,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16274
16604
|
const _component_text_field = resolveComponent("text-field");
|
|
16275
16605
|
const _component_currency_field = resolveComponent("currency-field");
|
|
16276
16606
|
const _component_date_field = resolveComponent("date-field");
|
|
16607
|
+
const _component_date_range = resolveComponent("date-range");
|
|
16277
16608
|
const _component_content_select = resolveComponent("content-select");
|
|
16278
16609
|
const _component_type_select = resolveComponent("type-select");
|
|
16279
16610
|
const _component_rich_text_field = resolveComponent("rich-text-field");
|
|
@@ -16287,8 +16618,8 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16287
16618
|
return $options.visible ? (openBlock(), createElementBlock("div", {
|
|
16288
16619
|
key: 0,
|
|
16289
16620
|
class: normalizeClass(["ux-field", $options.classes]),
|
|
16290
|
-
onFocusin: _cache[
|
|
16291
|
-
onFocusout: _cache[
|
|
16621
|
+
onFocusin: _cache[25] || (_cache[25] = (...args) => $options.focus && $options.focus(...args)),
|
|
16622
|
+
onFocusout: _cache[26] || (_cache[26] = (...args) => $options.blur && $options.blur(...args))
|
|
16292
16623
|
}, [
|
|
16293
16624
|
$options.widget == "internal-route" ? (openBlock(), createBlock(_component_internal_route_select, {
|
|
16294
16625
|
key: 0,
|
|
@@ -16412,65 +16743,72 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16412
16743
|
modelValue: $options.fieldModel,
|
|
16413
16744
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => $options.fieldModel = $event)
|
|
16414
16745
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16415
|
-
$options.widget == "
|
|
16746
|
+
$options.widget == "daterange" ? (openBlock(), createBlock(_component_date_range, {
|
|
16416
16747
|
key: 15,
|
|
16417
16748
|
onTouched: $options.touch,
|
|
16418
16749
|
field: $options.actualField,
|
|
16419
16750
|
modelValue: $options.fieldModel,
|
|
16420
16751
|
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => $options.fieldModel = $event)
|
|
16421
16752
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16422
|
-
$options.widget == "
|
|
16753
|
+
$options.widget == "content-select" ? (openBlock(), createBlock(_component_content_select, {
|
|
16423
16754
|
key: 16,
|
|
16424
16755
|
onTouched: $options.touch,
|
|
16425
16756
|
field: $options.actualField,
|
|
16426
16757
|
modelValue: $options.fieldModel,
|
|
16427
16758
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => $options.fieldModel = $event)
|
|
16428
16759
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16429
|
-
$options.widget == "
|
|
16760
|
+
$options.widget == "type-select" ? (openBlock(), createBlock(_component_type_select, {
|
|
16430
16761
|
key: 17,
|
|
16431
16762
|
onTouched: $options.touch,
|
|
16432
16763
|
field: $options.actualField,
|
|
16433
16764
|
modelValue: $options.fieldModel,
|
|
16434
16765
|
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => $options.fieldModel = $event)
|
|
16435
16766
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16436
|
-
$options.widget == "
|
|
16767
|
+
$options.widget == "richtext" ? (openBlock(), createBlock(_component_rich_text_field, {
|
|
16437
16768
|
key: 18,
|
|
16438
16769
|
onTouched: $options.touch,
|
|
16439
16770
|
field: $options.actualField,
|
|
16440
16771
|
modelValue: $options.fieldModel,
|
|
16441
16772
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => $options.fieldModel = $event)
|
|
16442
16773
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16443
|
-
$options.widget == "
|
|
16774
|
+
$options.widget == "textarea" ? (openBlock(), createBlock(_component_text_area, {
|
|
16444
16775
|
key: 19,
|
|
16445
16776
|
onTouched: $options.touch,
|
|
16446
16777
|
field: $options.actualField,
|
|
16447
16778
|
modelValue: $options.fieldModel,
|
|
16448
16779
|
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => $options.fieldModel = $event)
|
|
16449
16780
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16450
|
-
$options.widget == "
|
|
16781
|
+
$options.widget == "timezone" ? (openBlock(), createBlock(_component_timezone_select, {
|
|
16451
16782
|
key: 20,
|
|
16452
16783
|
onTouched: $options.touch,
|
|
16453
16784
|
field: $options.actualField,
|
|
16454
16785
|
modelValue: $options.fieldModel,
|
|
16455
16786
|
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => $options.fieldModel = $event)
|
|
16456
16787
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16457
|
-
$options.widget == "
|
|
16458
|
-
|
|
16459
|
-
key: 22,
|
|
16788
|
+
$options.widget == "phone" ? (openBlock(), createBlock(_component_phone_number_input, {
|
|
16789
|
+
key: 21,
|
|
16460
16790
|
onTouched: $options.touch,
|
|
16461
16791
|
field: $options.actualField,
|
|
16462
16792
|
modelValue: $options.fieldModel,
|
|
16463
16793
|
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => $options.fieldModel = $event)
|
|
16464
16794
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16465
|
-
$options.widget == "
|
|
16795
|
+
$options.widget == "value" ? (openBlock(), createElementBlock(Fragment, { key: 22 }, [], 64)) : createCommentVNode("", true),
|
|
16796
|
+
$options.widget == "object" ? (openBlock(), createBlock(_component_object_field, {
|
|
16466
16797
|
key: 23,
|
|
16467
16798
|
onTouched: $options.touch,
|
|
16468
16799
|
field: $options.actualField,
|
|
16469
16800
|
modelValue: $options.fieldModel,
|
|
16470
16801
|
"onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => $options.fieldModel = $event)
|
|
16471
16802
|
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16472
|
-
$options.widget == "
|
|
16803
|
+
$options.widget == "options" ? (openBlock(), createBlock(_component_options_manager, {
|
|
16473
16804
|
key: 24,
|
|
16805
|
+
onTouched: $options.touch,
|
|
16806
|
+
field: $options.actualField,
|
|
16807
|
+
modelValue: $options.fieldModel,
|
|
16808
|
+
"onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => $options.fieldModel = $event)
|
|
16809
|
+
}, null, 8, ["onTouched", "field", "modelValue"])) : createCommentVNode("", true),
|
|
16810
|
+
$options.widget == "code" ? (openBlock(), createBlock(_component_flex_column, {
|
|
16811
|
+
key: 25,
|
|
16474
16812
|
style: { "min-height": "300px" }
|
|
16475
16813
|
}, {
|
|
16476
16814
|
default: withCtx(() => [
|
|
@@ -16478,7 +16816,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16478
16816
|
onTouched: $options.touch,
|
|
16479
16817
|
field: $options.actualField,
|
|
16480
16818
|
modelValue: $options.fieldModel,
|
|
16481
|
-
"onUpdate:modelValue": _cache[
|
|
16819
|
+
"onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => $options.fieldModel = $event)
|
|
16482
16820
|
}, null, 8, ["onTouched", "field", "modelValue"])
|
|
16483
16821
|
]),
|
|
16484
16822
|
_: 1
|
|
@@ -16486,7 +16824,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16486
16824
|
$options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$a, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
|
|
16487
16825
|
], 34)) : createCommentVNode("", true);
|
|
16488
16826
|
}
|
|
16489
|
-
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-
|
|
16827
|
+
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-1d0f7c92"]]);
|
|
16490
16828
|
var form_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16491
16829
|
const _sfc_main$c = {
|
|
16492
16830
|
props: {
|
|
@@ -16875,8 +17213,8 @@ const _sfc_main$b = {
|
|
|
16875
17213
|
const _withScopeId$1 = (n2) => (pushScopeId("data-v-5d5b3222"), n2 = n2(), popScopeId(), n2);
|
|
16876
17214
|
const _hoisted_1$9 = { class: "ux-submission-form" };
|
|
16877
17215
|
const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("h3", null, "An error occurred", -1));
|
|
16878
|
-
const _hoisted_3$
|
|
16879
|
-
const _hoisted_4$
|
|
17216
|
+
const _hoisted_3$6 = { key: 0 };
|
|
17217
|
+
const _hoisted_4$6 = { key: 1 };
|
|
16880
17218
|
const _hoisted_5$2 = { key: 2 };
|
|
16881
17219
|
const _hoisted_6$2 = /* @__PURE__ */ createTextVNode(" Try again ");
|
|
16882
17220
|
const _hoisted_7$2 = /* @__PURE__ */ createTextVNode(" Complete! ");
|
|
@@ -16891,8 +17229,8 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16891
17229
|
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
16892
17230
|
$data.state === "form.error" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
16893
17231
|
_hoisted_2$7,
|
|
16894
|
-
$data.error.message ? (openBlock(), createElementBlock("pre", _hoisted_3$
|
|
16895
|
-
((_a = $data.error.data) == null ? void 0 : _a.errors) ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
17232
|
+
$data.error.message ? (openBlock(), createElementBlock("pre", _hoisted_3$6, toDisplayString($data.error.message), 1)) : createCommentVNode("", true),
|
|
17233
|
+
((_a = $data.error.data) == null ? void 0 : _a.errors) ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
|
|
16896
17234
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.error.data.errors, (field) => {
|
|
16897
17235
|
return openBlock(), createElementBlock("pre", {
|
|
16898
17236
|
key: field.path
|
|
@@ -17423,8 +17761,8 @@ const _sfc_main$8 = {
|
|
|
17423
17761
|
};
|
|
17424
17762
|
const _hoisted_1$6 = { class: "ux-field-title" };
|
|
17425
17763
|
const _hoisted_2$5 = { class: "ux-field-description" };
|
|
17426
|
-
const _hoisted_3$
|
|
17427
|
-
const _hoisted_4$
|
|
17764
|
+
const _hoisted_3$5 = { key: 1 };
|
|
17765
|
+
const _hoisted_4$5 = { key: 1 };
|
|
17428
17766
|
const _hoisted_5$1 = { key: 1 };
|
|
17429
17767
|
const _hoisted_6$1 = ["href"];
|
|
17430
17768
|
const _hoisted_7$1 = { key: 1 };
|
|
@@ -17482,12 +17820,12 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17482
17820
|
$options.type == "string" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
17483
17821
|
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
17484
17822
|
return openBlock(), createElementBlock("div", null, toDisplayString(value), 1);
|
|
17485
|
-
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
17823
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_3$5, toDisplayString($options.fieldModel), 1))
|
|
17486
17824
|
], 64)) : createCommentVNode("", true),
|
|
17487
17825
|
$options.type == "boolean" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
17488
17826
|
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
17489
17827
|
return openBlock(), createElementBlock("div", null, toDisplayString(!!value), 1);
|
|
17490
|
-
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
17828
|
+
}), 256)) : (openBlock(), createElementBlock("div", _hoisted_4$5, toDisplayString(!!$options.fieldModel), 1))
|
|
17491
17829
|
], 64)) : createCommentVNode("", true),
|
|
17492
17830
|
$options.type == "date" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
17493
17831
|
$options.multiValue ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.fieldModel, (value, index2) => {
|
|
@@ -18086,6 +18424,10 @@ const _sfc_main$5 = {
|
|
|
18086
18424
|
type: String,
|
|
18087
18425
|
default: ""
|
|
18088
18426
|
},
|
|
18427
|
+
dateRange: {
|
|
18428
|
+
type: Object,
|
|
18429
|
+
default: {}
|
|
18430
|
+
},
|
|
18089
18431
|
options: {
|
|
18090
18432
|
type: Object,
|
|
18091
18433
|
default() {
|
|
@@ -18107,6 +18449,9 @@ const _sfc_main$5 = {
|
|
|
18107
18449
|
return 0;
|
|
18108
18450
|
}
|
|
18109
18451
|
},
|
|
18452
|
+
dateFilterEnabled: {
|
|
18453
|
+
type: Boolean
|
|
18454
|
+
},
|
|
18110
18455
|
selectionManager: {
|
|
18111
18456
|
type: Object
|
|
18112
18457
|
},
|
|
@@ -18123,7 +18468,8 @@ const _sfc_main$5 = {
|
|
|
18123
18468
|
Pager,
|
|
18124
18469
|
NativeTable,
|
|
18125
18470
|
FilterBuilder,
|
|
18126
|
-
Search
|
|
18471
|
+
Search,
|
|
18472
|
+
UxField: UXFormField
|
|
18127
18473
|
},
|
|
18128
18474
|
deactivated() {
|
|
18129
18475
|
typeCacheKey = this.$sdk.global.cacheKeys[this.type];
|
|
@@ -18168,6 +18514,9 @@ const _sfc_main$5 = {
|
|
|
18168
18514
|
keywords(k) {
|
|
18169
18515
|
this.$emit("update:search", k);
|
|
18170
18516
|
},
|
|
18517
|
+
dateRangeFilter(d) {
|
|
18518
|
+
this.$emit("update:dateRange", d);
|
|
18519
|
+
},
|
|
18171
18520
|
search(k) {
|
|
18172
18521
|
this.keywords = k;
|
|
18173
18522
|
},
|
|
@@ -18182,6 +18531,18 @@ const _sfc_main$5 = {
|
|
|
18182
18531
|
}
|
|
18183
18532
|
},
|
|
18184
18533
|
computed: {
|
|
18534
|
+
viewModeCacheKey() {
|
|
18535
|
+
return `${this.cacheKey}-${this.loadKey}`;
|
|
18536
|
+
},
|
|
18537
|
+
dateRangeField() {
|
|
18538
|
+
return {
|
|
18539
|
+
type: "object",
|
|
18540
|
+
widget: "daterange",
|
|
18541
|
+
key: "dateRange",
|
|
18542
|
+
minimum: 0,
|
|
18543
|
+
maximum: 1
|
|
18544
|
+
};
|
|
18545
|
+
},
|
|
18185
18546
|
combinedFilter() {
|
|
18186
18547
|
const self2 = this;
|
|
18187
18548
|
let userSelectedFilters = self2.filter;
|
|
@@ -18210,7 +18571,7 @@ const _sfc_main$5 = {
|
|
|
18210
18571
|
}
|
|
18211
18572
|
return view;
|
|
18212
18573
|
},
|
|
18213
|
-
|
|
18574
|
+
defaultSort() {
|
|
18214
18575
|
var _a;
|
|
18215
18576
|
var defaultSort = ((_a = this.definition) == null ? void 0 : _a.defaultSort) || {
|
|
18216
18577
|
key: "title",
|
|
@@ -18378,7 +18739,7 @@ const _sfc_main$5 = {
|
|
|
18378
18739
|
return string;
|
|
18379
18740
|
},
|
|
18380
18741
|
change() {
|
|
18381
|
-
return `${JSON.stringify([this.page, this.sort, this.keywords, this.selectFields, this.type, this.filterChangeString])}-${this.cacheKey}-${this.$sdk.global.cacheKeys[this.type]}`;
|
|
18742
|
+
return `${JSON.stringify([this.page, this.dateRangeFilter, this.sort, this.keywords, this.selectFields, this.type, this.filterChangeString])}-${this.cacheKey}-${this.$sdk.global.cacheKeys[this.type]}`;
|
|
18382
18743
|
},
|
|
18383
18744
|
items() {
|
|
18384
18745
|
return this.dataSource.items;
|
|
@@ -18391,7 +18752,7 @@ const _sfc_main$5 = {
|
|
|
18391
18752
|
},
|
|
18392
18753
|
loadCriteria() {
|
|
18393
18754
|
var self2 = this;
|
|
18394
|
-
var sort2 = self2.sort;
|
|
18755
|
+
var sort2 = self2.sort || self2.defaultSort;
|
|
18395
18756
|
var search = self2.keywords;
|
|
18396
18757
|
var select = self2.selectFields;
|
|
18397
18758
|
var page = self2.page;
|
|
@@ -18483,6 +18844,7 @@ const _sfc_main$5 = {
|
|
|
18483
18844
|
this.manager.toggle(row);
|
|
18484
18845
|
},
|
|
18485
18846
|
async load(includeAll) {
|
|
18847
|
+
var _a, _b, _c, _d;
|
|
18486
18848
|
var self2 = this;
|
|
18487
18849
|
self2.loading = true;
|
|
18488
18850
|
if (cancelInflight) {
|
|
@@ -18494,11 +18856,33 @@ const _sfc_main$5 = {
|
|
|
18494
18856
|
if (self2.trash) {
|
|
18495
18857
|
loadCriteria.trash = true;
|
|
18496
18858
|
}
|
|
18859
|
+
if (self2.dateFilterEnabled && !loadCriteria.search) {
|
|
18860
|
+
let startDate = (_b = (_a = self2.dateRangeFilter) == null ? void 0 : _a.dateRange) == null ? void 0 : _b.startDate;
|
|
18861
|
+
let endDate = (_d = (_c = self2.dateRangeFilter) == null ? void 0 : _c.dateRange) == null ? void 0 : _d.endDate;
|
|
18862
|
+
if (startDate || endDate) {
|
|
18863
|
+
let timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
18864
|
+
if (startDate.toISOString() == endDate.toISOString()) {
|
|
18865
|
+
startDate = new Date(startDate);
|
|
18866
|
+
startDate.setHours(0, 0, 0, 0);
|
|
18867
|
+
endDate = new Date(startDate);
|
|
18868
|
+
endDate.setHours(23, 59, 59, 999);
|
|
18869
|
+
} else {
|
|
18870
|
+
endDate = new Date(endDate);
|
|
18871
|
+
endDate.setHours(23, 59, 59, 999);
|
|
18872
|
+
}
|
|
18873
|
+
loadCriteria.date = {
|
|
18874
|
+
startDate,
|
|
18875
|
+
endDate,
|
|
18876
|
+
timezone
|
|
18877
|
+
};
|
|
18878
|
+
}
|
|
18879
|
+
}
|
|
18497
18880
|
const { promise, cancel } = await self2.$sdk.content.list(self2.type, loadCriteria, { cancellable: true });
|
|
18498
18881
|
cancelInflight = cancel;
|
|
18499
18882
|
promise.then(function(res) {
|
|
18500
18883
|
cancelInflight = null;
|
|
18501
18884
|
self2.loading = false;
|
|
18885
|
+
self2.loadKey++;
|
|
18502
18886
|
});
|
|
18503
18887
|
promise.catch(function(err) {
|
|
18504
18888
|
cancelInflight = null;
|
|
@@ -18521,6 +18905,7 @@ const _sfc_main$5 = {
|
|
|
18521
18905
|
manager,
|
|
18522
18906
|
loading: true,
|
|
18523
18907
|
additionalFields: [],
|
|
18908
|
+
loadKey: 1,
|
|
18524
18909
|
page: {
|
|
18525
18910
|
size: 50,
|
|
18526
18911
|
index: 1
|
|
@@ -18529,14 +18914,20 @@ const _sfc_main$5 = {
|
|
|
18529
18914
|
operator: "and",
|
|
18530
18915
|
filters: []
|
|
18531
18916
|
},
|
|
18917
|
+
sort: this.defaultSort,
|
|
18532
18918
|
keywords: this.search,
|
|
18919
|
+
dateRangeFilter: {
|
|
18920
|
+
dateRange: this.dateRange
|
|
18921
|
+
},
|
|
18533
18922
|
dataSource: null
|
|
18534
18923
|
};
|
|
18535
18924
|
}
|
|
18536
18925
|
};
|
|
18537
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
18926
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-651a3eab"), n2 = n2(), popScopeId(), n2);
|
|
18538
18927
|
const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
18539
|
-
const _hoisted_2$4 = {
|
|
18928
|
+
const _hoisted_2$4 = { key: 0 };
|
|
18929
|
+
const _hoisted_3$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
18930
|
+
const _hoisted_4$4 = { class: "footer" };
|
|
18540
18931
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18541
18932
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
18542
18933
|
const _component_ux_button = resolveComponent("ux-button");
|
|
@@ -18548,6 +18939,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18548
18939
|
const _component_ux_panel_body = resolveComponent("ux-panel-body");
|
|
18549
18940
|
const _component_ux_panel = resolveComponent("ux-panel");
|
|
18550
18941
|
const _component_search = resolveComponent("search");
|
|
18942
|
+
const _component_ux_field = resolveComponent("ux-field");
|
|
18551
18943
|
const _component_filter_builder = resolveComponent("filter-builder");
|
|
18552
18944
|
const _component_flex_body = resolveComponent("flex-body");
|
|
18553
18945
|
const _component_flex_row = resolveComponent("flex-row");
|
|
@@ -18570,13 +18962,16 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18570
18962
|
default: withCtx(() => [
|
|
18571
18963
|
$options.viewMode && $options.viewMode.component ? (openBlock(), createBlock(resolveDynamicComponent($options.viewMode.component), {
|
|
18572
18964
|
key: 0,
|
|
18965
|
+
cacheKey: $options.viewModeCacheKey,
|
|
18573
18966
|
selection: $data.manager.items,
|
|
18574
18967
|
items: $options.items,
|
|
18575
18968
|
"onClick:actions": $options.actionsClicked,
|
|
18576
18969
|
"onSelect:item:toggle": $options.rowToggled,
|
|
18577
18970
|
"onClick:item": $options.rowClicked
|
|
18578
|
-
}, null, 8, ["selection", "items", "onClick:actions", "onSelect:item:toggle", "onClick:item"])) : (openBlock(), createBlock(_component_native_table, {
|
|
18971
|
+
}, null, 8, ["cacheKey", "selection", "items", "onClick:actions", "onSelect:item:toggle", "onClick:item"])) : (openBlock(), createBlock(_component_native_table, {
|
|
18579
18972
|
key: 1,
|
|
18973
|
+
sort: $data.sort,
|
|
18974
|
+
"onUpdate:sort": _cache[0] || (_cache[0] = ($event) => $data.sort = $event),
|
|
18580
18975
|
enableActions: $props.enableActions,
|
|
18581
18976
|
total: $options.totalItems,
|
|
18582
18977
|
selectAll: $options.selectAll,
|
|
@@ -18626,7 +19021,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18626
19021
|
})
|
|
18627
19022
|
]),
|
|
18628
19023
|
_: 1
|
|
18629
|
-
}, 8, ["enableActions", "total", "selectAll", "deselectAll", "selection", "onClick:row", "onClick:actions", "onSelect:row:toggle", "onSelect:multiple", "onDeselect:multiple", "rows", "columns"]))
|
|
19024
|
+
}, 8, ["sort", "enableActions", "total", "selectAll", "deselectAll", "selection", "onClick:row", "onClick:actions", "onSelect:row:toggle", "onSelect:multiple", "onDeselect:multiple", "rows", "columns"]))
|
|
18630
19025
|
]),
|
|
18631
19026
|
_: 1
|
|
18632
19027
|
})) : !$data.loading ? (openBlock(), createBlock(_component_flex_column, {
|
|
@@ -18662,16 +19057,24 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18662
19057
|
default: withCtx(() => [
|
|
18663
19058
|
createVNode(_component_search, {
|
|
18664
19059
|
modelValue: $data.keywords,
|
|
18665
|
-
"onUpdate:modelValue": _cache[
|
|
19060
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.keywords = $event),
|
|
18666
19061
|
loading: $options.searching,
|
|
18667
19062
|
debounce: 500,
|
|
18668
19063
|
placeholder: "Keyword Search"
|
|
18669
19064
|
}, null, 8, ["modelValue", "loading"]),
|
|
18670
19065
|
_hoisted_1$5,
|
|
19066
|
+
$props.dateFilterEnabled ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
|
|
19067
|
+
createVNode(_component_ux_field, {
|
|
19068
|
+
field: $options.dateRangeField,
|
|
19069
|
+
modelValue: $data.dateRangeFilter,
|
|
19070
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.dateRangeFilter = $event)
|
|
19071
|
+
}, null, 8, ["field", "modelValue"])
|
|
19072
|
+
])) : createCommentVNode("", true),
|
|
19073
|
+
_hoisted_3$4,
|
|
18671
19074
|
createVNode(_component_filter_builder, {
|
|
18672
19075
|
definition: $data.definition,
|
|
18673
19076
|
modelValue: $data.filter,
|
|
18674
|
-
"onUpdate:modelValue": _cache[
|
|
19077
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.filter = $event)
|
|
18675
19078
|
}, null, 8, ["definition", "modelValue"])
|
|
18676
19079
|
]),
|
|
18677
19080
|
_: 1
|
|
@@ -18688,10 +19091,10 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18688
19091
|
createVNode(_component_flex_footer, null, {
|
|
18689
19092
|
default: withCtx(() => [
|
|
18690
19093
|
renderSlot(_ctx.$slots, "footera", {}, void 0, true),
|
|
18691
|
-
createElementVNode("div",
|
|
19094
|
+
createElementVNode("div", _hoisted_4$4, [
|
|
18692
19095
|
createVNode(_component_pager, {
|
|
18693
19096
|
page: $data.page,
|
|
18694
|
-
"onUpdate:page": _cache[
|
|
19097
|
+
"onUpdate:page": _cache[4] || (_cache[4] = ($event) => $data.page = $event),
|
|
18695
19098
|
total: $options.totalItems
|
|
18696
19099
|
}, null, 8, ["page", "total"])
|
|
18697
19100
|
]),
|
|
@@ -18708,7 +19111,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18708
19111
|
_: 3
|
|
18709
19112
|
})) : createCommentVNode("", true);
|
|
18710
19113
|
}
|
|
18711
|
-
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-
|
|
19114
|
+
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-651a3eab"]]);
|
|
18712
19115
|
var ModalMixin = {
|
|
18713
19116
|
props: {
|
|
18714
19117
|
options: {
|
|
@@ -19437,5 +19840,5 @@ const QikUI = {
|
|
|
19437
19840
|
}
|
|
19438
19841
|
}
|
|
19439
19842
|
};
|
|
19440
|
-
export { CodeEditor, ContentBrowser, device as Device, FileDrop, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikUI, RememberScrollMixin, Search, Selection, Spinner, UXButton, UXCheckbox, UXForm, UXFormField, UXIcon, UXImage, UXLink, UXList, UXListItem, UXMenu, UXMenuList, UXRender, UXRenderField, UXSubmissionForm, UXSwitch, UXTab, NativeTable as UXTable, UXTabset, UxConfirmModal, UxContentModal, UxModal, UxOptionsModal, UxPromptModal };
|
|
19843
|
+
export { CodeEditor, ContentBrowser, Daterange as DateRange, device as Device, FileDrop, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikUI, RememberScrollMixin, Search, Selection, Spinner, UXButton, UXCheckbox, UXForm, UXFormField, UXIcon, UXImage, UXLink, UXList, UXListItem, UXMenu, UXMenuList, UXRender, UXRenderField, UXSubmissionForm, UXSwitch, UXTab, NativeTable as UXTable, UXTabset, UxConfirmModal, UxContentModal, UxModal, UxOptionsModal, UxPromptModal };
|
|
19441
19844
|
//# sourceMappingURL=lib.es.js.map
|