@qikdev/vue-ui 0.2.50 → 0.2.53
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 +525 -326
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +3 -3
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -32,7 +32,7 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
import { openBlock, createElementBlock, renderSlot, resolveComponent, normalizeClass, Fragment, createVNode, withCtx, renderList, toDisplayString, withDirectives, createBlock, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, h, mergeProps, toHandlers, vModelSelect, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelText, withKeys, TransitionGroup, defineComponent, nextTick, vModelDynamic, reactive, watch } from "vue";
|
|
34
34
|
import { EventDispatcher } from "@qikdev/sdk";
|
|
35
|
-
const version$1 = "0.2.
|
|
35
|
+
const version$1 = "0.2.53";
|
|
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,107 +41,110 @@ var _export_sfc = (sfc, props2) => {
|
|
|
41
41
|
}
|
|
42
42
|
return target;
|
|
43
43
|
};
|
|
44
|
+
const _sfc_main$1s = {};
|
|
45
|
+
const _hoisted_1$16 = { class: "flex-column" };
|
|
46
|
+
function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
47
|
+
return openBlock(), createElementBlock("div", _hoisted_1$16, [
|
|
48
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
49
|
+
]);
|
|
50
|
+
}
|
|
51
|
+
var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$1s], ["__scopeId", "data-v-203ea86f"]]);
|
|
52
|
+
var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
44
53
|
const _sfc_main$1r = {};
|
|
45
|
-
const _hoisted_1$15 = { class: "flex-column" };
|
|
54
|
+
const _hoisted_1$15 = { class: "flex-column-body" };
|
|
46
55
|
function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
47
56
|
return openBlock(), createElementBlock("div", _hoisted_1$15, [
|
|
48
57
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
49
58
|
]);
|
|
50
59
|
}
|
|
51
|
-
var
|
|
52
|
-
var
|
|
60
|
+
var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1r], ["__scopeId", "data-v-64850355"]]);
|
|
61
|
+
var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
53
62
|
const _sfc_main$1q = {};
|
|
54
|
-
const _hoisted_1$14 = { class: "flex-column-
|
|
63
|
+
const _hoisted_1$14 = { class: "flex-column-header" };
|
|
55
64
|
function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
56
65
|
return openBlock(), createElementBlock("div", _hoisted_1$14, [
|
|
57
66
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
58
67
|
]);
|
|
59
68
|
}
|
|
60
|
-
var
|
|
61
|
-
var
|
|
69
|
+
var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$1q], ["__scopeId", "data-v-10b28f00"]]);
|
|
70
|
+
var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
62
71
|
const _sfc_main$1p = {};
|
|
63
|
-
const _hoisted_1$13 = { class: "flex-column-
|
|
72
|
+
const _hoisted_1$13 = { class: "flex-column-footer" };
|
|
64
73
|
function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
65
74
|
return openBlock(), createElementBlock("div", _hoisted_1$13, [
|
|
66
75
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
67
76
|
]);
|
|
68
77
|
}
|
|
69
|
-
var
|
|
70
|
-
var
|
|
78
|
+
var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1p], ["__scopeId", "data-v-68216a72"]]);
|
|
79
|
+
var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
71
80
|
const _sfc_main$1o = {};
|
|
72
|
-
const _hoisted_1$12 = { class: "flex-
|
|
81
|
+
const _hoisted_1$12 = { class: "flex-cell" };
|
|
73
82
|
function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
74
83
|
return openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
75
84
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
76
85
|
]);
|
|
77
86
|
}
|
|
78
|
-
var
|
|
79
|
-
var
|
|
87
|
+
var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1o], ["__scopeId", "data-v-644bb279"]]);
|
|
88
|
+
var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
80
89
|
const _sfc_main$1n = {};
|
|
81
|
-
const _hoisted_1$11 = { class: "flex-
|
|
90
|
+
const _hoisted_1$11 = { class: "flex-row" };
|
|
82
91
|
function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83
92
|
return openBlock(), createElementBlock("div", _hoisted_1$11, [
|
|
84
93
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
85
94
|
]);
|
|
86
95
|
}
|
|
87
|
-
var
|
|
88
|
-
var
|
|
96
|
+
var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__scopeId", "data-v-5b76ad1f"]]);
|
|
97
|
+
var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89
98
|
const _sfc_main$1m = {};
|
|
90
|
-
const _hoisted_1$10 = { class: "flex-
|
|
99
|
+
const _hoisted_1$10 = { class: "flex-spacer" };
|
|
91
100
|
function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
92
|
-
return openBlock(), createElementBlock("div", _hoisted_1$10
|
|
93
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
94
|
-
]);
|
|
101
|
+
return openBlock(), createElementBlock("div", _hoisted_1$10);
|
|
95
102
|
}
|
|
96
|
-
var
|
|
97
|
-
var
|
|
103
|
+
var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__scopeId", "data-v-35b15579"]]);
|
|
104
|
+
var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
98
105
|
const _sfc_main$1l = {};
|
|
99
|
-
const _hoisted_1$$ = { class: "
|
|
106
|
+
const _hoisted_1$$ = { class: "panel" };
|
|
100
107
|
function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
101
|
-
return openBlock(), createElementBlock("div", _hoisted_1
|
|
108
|
+
return openBlock(), createElementBlock("div", _hoisted_1$$, [
|
|
109
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
110
|
+
]);
|
|
102
111
|
}
|
|
103
|
-
var
|
|
104
|
-
var
|
|
112
|
+
var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__scopeId", "data-v-50ae77fc"]]);
|
|
113
|
+
var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
105
114
|
const _sfc_main$1k = {};
|
|
106
|
-
const _hoisted_1$_ = { class: "panel" };
|
|
115
|
+
const _hoisted_1$_ = { class: "panel-body" };
|
|
107
116
|
function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
108
117
|
return openBlock(), createElementBlock("div", _hoisted_1$_, [
|
|
109
118
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
110
119
|
]);
|
|
111
120
|
}
|
|
112
|
-
var
|
|
113
|
-
var
|
|
121
|
+
var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1k], ["__scopeId", "data-v-c82dca76"]]);
|
|
122
|
+
var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
114
123
|
const _sfc_main$1j = {};
|
|
115
|
-
const _hoisted_1$Z = { class: "panel-
|
|
124
|
+
const _hoisted_1$Z = { class: "panel-header" };
|
|
116
125
|
function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
117
126
|
return openBlock(), createElementBlock("div", _hoisted_1$Z, [
|
|
118
127
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
119
128
|
]);
|
|
120
129
|
}
|
|
121
|
-
var
|
|
122
|
-
var
|
|
130
|
+
var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1j], ["__scopeId", "data-v-13bf11da"]]);
|
|
131
|
+
var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
123
132
|
const _sfc_main$1i = {};
|
|
124
|
-
const _hoisted_1$Y = { class: "panel-
|
|
133
|
+
const _hoisted_1$Y = { class: "panel-footer" };
|
|
125
134
|
function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
126
135
|
return openBlock(), createElementBlock("div", _hoisted_1$Y, [
|
|
127
136
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
128
137
|
]);
|
|
129
138
|
}
|
|
130
|
-
var
|
|
131
|
-
var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
132
|
-
const _sfc_main$1h = {};
|
|
133
|
-
const _hoisted_1$X = { class: "panel-footer" };
|
|
134
|
-
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
135
|
-
return openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
136
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
137
|
-
]);
|
|
138
|
-
}
|
|
139
|
-
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__scopeId", "data-v-b4f4786a"]]);
|
|
139
|
+
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1i], ["__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$1h = {
|
|
142
142
|
props: {
|
|
143
143
|
vertical: {
|
|
144
144
|
type: Boolean
|
|
145
|
+
},
|
|
146
|
+
inline: {
|
|
147
|
+
type: Boolean
|
|
145
148
|
}
|
|
146
149
|
},
|
|
147
150
|
data() {
|
|
@@ -162,7 +165,8 @@ const _sfc_main$1g = {
|
|
|
162
165
|
if (!child.props) {
|
|
163
166
|
return;
|
|
164
167
|
}
|
|
165
|
-
|
|
168
|
+
const disabled = ((_a = child.props) == null ? void 0 : _a.enabled) === false;
|
|
169
|
+
if (disabled) {
|
|
166
170
|
return;
|
|
167
171
|
}
|
|
168
172
|
return child;
|
|
@@ -171,15 +175,15 @@ const _sfc_main$1g = {
|
|
|
171
175
|
}
|
|
172
176
|
}
|
|
173
177
|
};
|
|
174
|
-
const _hoisted_1$
|
|
175
|
-
const _hoisted_2$
|
|
176
|
-
function _sfc_render$
|
|
178
|
+
const _hoisted_1$X = ["onClick"];
|
|
179
|
+
const _hoisted_2$M = ["onClick"];
|
|
180
|
+
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
177
181
|
const _component_flex_body = resolveComponent("flex-body");
|
|
178
182
|
const _component_flex_column = resolveComponent("flex-column");
|
|
179
183
|
const _component_flex_row = resolveComponent("flex-row");
|
|
180
184
|
const _component_flex_header = resolveComponent("flex-header");
|
|
181
185
|
return openBlock(), createElementBlock("div", {
|
|
182
|
-
class: normalizeClass(["ux-tabset", { vertical: $props.vertical, horizontal: !$props.vertical }])
|
|
186
|
+
class: normalizeClass(["ux-tabset", { vertical: $props.vertical, horizontal: !$props.vertical, inline: $props.inline, block: !$props.inline }])
|
|
183
187
|
}, [
|
|
184
188
|
$props.vertical ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
185
189
|
createVNode(_component_flex_column, { class: "tabset-menu" }, {
|
|
@@ -191,7 +195,7 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
191
195
|
class: normalizeClass({ active: index2 === $data.activeIndex }),
|
|
192
196
|
key: `tab-link-${tab.props.heading}`,
|
|
193
197
|
onClick: ($event) => $options.select(index2)
|
|
194
|
-
}, toDisplayString(tab.props.heading), 11, _hoisted_1$
|
|
198
|
+
}, toDisplayString(tab.props.heading), 11, _hoisted_1$X);
|
|
195
199
|
}), 128))
|
|
196
200
|
]),
|
|
197
201
|
_: 1
|
|
@@ -226,7 +230,7 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
226
230
|
class: normalizeClass({ active: index2 === $data.activeIndex }),
|
|
227
231
|
key: `tab-link-${tab.props.heading}`,
|
|
228
232
|
onClick: ($event) => $options.select(index2)
|
|
229
|
-
}, toDisplayString(tab.props.heading), 11, _hoisted_2$
|
|
233
|
+
}, toDisplayString(tab.props.heading), 11, _hoisted_2$M);
|
|
230
234
|
}), 128))
|
|
231
235
|
]),
|
|
232
236
|
_: 1
|
|
@@ -254,8 +258,8 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
254
258
|
], 64))
|
|
255
259
|
], 2);
|
|
256
260
|
}
|
|
257
|
-
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
258
|
-
const _sfc_main$
|
|
261
|
+
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__scopeId", "data-v-fc1e48c4"]]);
|
|
262
|
+
const _sfc_main$1g = {
|
|
259
263
|
props: {
|
|
260
264
|
heading: {
|
|
261
265
|
type: String,
|
|
@@ -282,7 +286,7 @@ const _sfc_main$1f = {
|
|
|
282
286
|
}
|
|
283
287
|
}
|
|
284
288
|
};
|
|
285
|
-
function _sfc_render$
|
|
289
|
+
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
286
290
|
const _component_flex_column = resolveComponent("flex-column");
|
|
287
291
|
return openBlock(), createBlock(_component_flex_column, null, {
|
|
288
292
|
default: withCtx(() => [
|
|
@@ -291,7 +295,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
291
295
|
_: 3
|
|
292
296
|
});
|
|
293
297
|
}
|
|
294
|
-
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
298
|
+
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g]]);
|
|
295
299
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
296
300
|
var isArray$5 = Array.isArray;
|
|
297
301
|
var isArray_1 = isArray$5;
|
|
@@ -759,7 +763,7 @@ var TableCellMixin = {
|
|
|
759
763
|
}
|
|
760
764
|
};
|
|
761
765
|
var Thumbnail_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
762
|
-
const _sfc_main$
|
|
766
|
+
const _sfc_main$1f = {
|
|
763
767
|
mixins: [TableCellMixin],
|
|
764
768
|
computed: {
|
|
765
769
|
imageSource() {
|
|
@@ -776,11 +780,11 @@ const _sfc_main$1e = {
|
|
|
776
780
|
}
|
|
777
781
|
}
|
|
778
782
|
};
|
|
779
|
-
const _hoisted_1$
|
|
780
|
-
function _sfc_render$
|
|
783
|
+
const _hoisted_1$W = { class: "table-image-cell" };
|
|
784
|
+
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
781
785
|
const _component_ux_image = resolveComponent("ux-image");
|
|
782
786
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
783
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
787
|
+
return openBlock(), createElementBlock("td", _hoisted_1$W, [
|
|
784
788
|
$options.type == "image" || $options.type == "video" ? (openBlock(), createElementBlock("div", {
|
|
785
789
|
key: 0,
|
|
786
790
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.clicked(_ctx.value), ["stop", "prevent"])),
|
|
@@ -798,9 +802,9 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
798
802
|
}))
|
|
799
803
|
]);
|
|
800
804
|
}
|
|
801
|
-
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
805
|
+
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__scopeId", "data-v-246a2688"]]);
|
|
802
806
|
var Currency_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
803
|
-
const _sfc_main$
|
|
807
|
+
const _sfc_main$1e = {
|
|
804
808
|
mixins: [TableCellMixin],
|
|
805
809
|
computed: {
|
|
806
810
|
string() {
|
|
@@ -823,14 +827,14 @@ const _sfc_main$1d = {
|
|
|
823
827
|
}
|
|
824
828
|
}
|
|
825
829
|
};
|
|
826
|
-
function _sfc_render$
|
|
830
|
+
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
827
831
|
return openBlock(), createElementBlock("td", {
|
|
828
832
|
class: normalizeClass(["table-currency-cell", { credit: $options.credit, empty: $options.empty, debit: $options.debit }])
|
|
829
833
|
}, toDisplayString($options.string), 3);
|
|
830
834
|
}
|
|
831
|
-
var CurrencyCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
835
|
+
var CurrencyCell = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__scopeId", "data-v-33a0b926"]]);
|
|
832
836
|
var Button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
833
|
-
const _sfc_main$
|
|
837
|
+
const _sfc_main$1d = {
|
|
834
838
|
data() {
|
|
835
839
|
return {
|
|
836
840
|
processing: false
|
|
@@ -862,11 +866,11 @@ const _sfc_main$1c = {
|
|
|
862
866
|
}
|
|
863
867
|
}
|
|
864
868
|
};
|
|
865
|
-
const _hoisted_1$
|
|
866
|
-
function _sfc_render$
|
|
869
|
+
const _hoisted_1$V = { class: "table-button-cell" };
|
|
870
|
+
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
867
871
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
868
872
|
const _component_ux_button = resolveComponent("ux-button");
|
|
869
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
873
|
+
return openBlock(), createElementBlock("td", _hoisted_1$V, [
|
|
870
874
|
createVNode(_component_ux_button, {
|
|
871
875
|
color: $options.button.color,
|
|
872
876
|
size: $options.button.size,
|
|
@@ -887,7 +891,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
887
891
|
}, 8, ["color", "size", "loading", "onClick"])
|
|
888
892
|
]);
|
|
889
893
|
}
|
|
890
|
-
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
894
|
+
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-ac248c56"]]);
|
|
891
895
|
class LuxonError extends Error {
|
|
892
896
|
}
|
|
893
897
|
class InvalidDateTimeError extends LuxonError {
|
|
@@ -4721,7 +4725,7 @@ function friendlyDateTime(dateTimeish) {
|
|
|
4721
4725
|
}
|
|
4722
4726
|
}
|
|
4723
4727
|
var DateCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4724
|
-
const _sfc_main$
|
|
4728
|
+
const _sfc_main$1c = {
|
|
4725
4729
|
mixins: [TableCellMixin],
|
|
4726
4730
|
computed: {
|
|
4727
4731
|
hasValue() {
|
|
@@ -4742,23 +4746,23 @@ const _sfc_main$1b = {
|
|
|
4742
4746
|
}
|
|
4743
4747
|
}
|
|
4744
4748
|
};
|
|
4745
|
-
const _hoisted_1$
|
|
4746
|
-
const _hoisted_2$
|
|
4747
|
-
const _hoisted_3$
|
|
4749
|
+
const _hoisted_1$U = { class: "table-date-cell" };
|
|
4750
|
+
const _hoisted_2$L = { key: 0 };
|
|
4751
|
+
const _hoisted_3$E = { class: "off" };
|
|
4748
4752
|
const _hoisted_4$t = { class: "on" };
|
|
4749
4753
|
const _hoisted_5$o = { class: "spacer" };
|
|
4750
|
-
function _sfc_render$
|
|
4751
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
4752
|
-
$options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4753
|
-
createElementVNode("span", _hoisted_3$
|
|
4754
|
+
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4755
|
+
return openBlock(), createElementBlock("td", _hoisted_1$U, [
|
|
4756
|
+
$options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$L, [
|
|
4757
|
+
createElementVNode("span", _hoisted_3$E, toDisplayString($options.readable), 1),
|
|
4754
4758
|
createElementVNode("span", _hoisted_4$t, toDisplayString($options.timeago), 1),
|
|
4755
4759
|
createElementVNode("span", _hoisted_5$o, toDisplayString($options.readable), 1)
|
|
4756
4760
|
])) : createCommentVNode("", true)
|
|
4757
4761
|
]);
|
|
4758
4762
|
}
|
|
4759
|
-
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4763
|
+
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-3687693f"]]);
|
|
4760
4764
|
var BooleanCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4761
|
-
const _sfc_main$
|
|
4765
|
+
const _sfc_main$1b = {
|
|
4762
4766
|
mixins: [TableCellMixin],
|
|
4763
4767
|
computed: {
|
|
4764
4768
|
boolean() {
|
|
@@ -4766,7 +4770,7 @@ const _sfc_main$1a = {
|
|
|
4766
4770
|
}
|
|
4767
4771
|
}
|
|
4768
4772
|
};
|
|
4769
|
-
function _sfc_render$
|
|
4773
|
+
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4770
4774
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4771
4775
|
return openBlock(), createElementBlock("td", {
|
|
4772
4776
|
class: normalizeClass(["table-boolean-cell", { true: $options.boolean, false: !$options.boolean }])
|
|
@@ -4776,9 +4780,9 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4776
4780
|
}, null, 8, ["icon"])
|
|
4777
4781
|
], 2);
|
|
4778
4782
|
}
|
|
4779
|
-
var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4783
|
+
var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__scopeId", "data-v-27f127ae"]]);
|
|
4780
4784
|
var SecurityCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4781
|
-
const _sfc_main$
|
|
4785
|
+
const _sfc_main$1a = {
|
|
4782
4786
|
mixins: [TableCellMixin],
|
|
4783
4787
|
methods: {
|
|
4784
4788
|
async clicked() {
|
|
@@ -4819,7 +4823,7 @@ const _sfc_main$19 = {
|
|
|
4819
4823
|
}
|
|
4820
4824
|
}
|
|
4821
4825
|
};
|
|
4822
|
-
function _sfc_render$
|
|
4826
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4823
4827
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4824
4828
|
const _component_ux_button = resolveComponent("ux-button");
|
|
4825
4829
|
return openBlock(), createElementBlock("td", {
|
|
@@ -4843,9 +4847,9 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4843
4847
|
}, null, 8, ["icon"]))
|
|
4844
4848
|
], 2);
|
|
4845
4849
|
}
|
|
4846
|
-
var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4850
|
+
var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__scopeId", "data-v-8845b144"]]);
|
|
4847
4851
|
var URLCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4848
|
-
const _sfc_main$
|
|
4852
|
+
const _sfc_main$19 = {
|
|
4849
4853
|
mixins: [TableCellMixin],
|
|
4850
4854
|
methods: {
|
|
4851
4855
|
open() {
|
|
@@ -4858,11 +4862,11 @@ const _sfc_main$18 = {
|
|
|
4858
4862
|
}
|
|
4859
4863
|
}
|
|
4860
4864
|
};
|
|
4861
|
-
const _hoisted_1$
|
|
4862
|
-
const _hoisted_2$
|
|
4863
|
-
function _sfc_render$
|
|
4865
|
+
const _hoisted_1$T = { class: "table-url-cell" };
|
|
4866
|
+
const _hoisted_2$K = ["href"];
|
|
4867
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4864
4868
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4865
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
4869
|
+
return openBlock(), createElementBlock("td", _hoisted_1$T, [
|
|
4866
4870
|
createElementVNode("a", {
|
|
4867
4871
|
href: $options.href,
|
|
4868
4872
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
|
|
@@ -4873,10 +4877,10 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4873
4877
|
right: "",
|
|
4874
4878
|
icon: "fa-external-link"
|
|
4875
4879
|
})
|
|
4876
|
-
], 8, _hoisted_2$
|
|
4880
|
+
], 8, _hoisted_2$K)
|
|
4877
4881
|
]);
|
|
4878
4882
|
}
|
|
4879
|
-
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4883
|
+
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-17cf3a86"]]);
|
|
4880
4884
|
var o = function(t, o2, e) {
|
|
4881
4885
|
if (!o2.hasOwnProperty(e)) {
|
|
4882
4886
|
var r = Object.getOwnPropertyDescriptor(t, e);
|
|
@@ -4938,24 +4942,24 @@ var Compile = { props: { template: String, parent: Object, templateProps: { type
|
|
|
4938
4942
|
var E, P;
|
|
4939
4943
|
} };
|
|
4940
4944
|
var ComputedCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4941
|
-
const _sfc_main$
|
|
4945
|
+
const _sfc_main$18 = {
|
|
4942
4946
|
components: {
|
|
4943
4947
|
Compile
|
|
4944
4948
|
},
|
|
4945
4949
|
mixins: [TableCellMixin]
|
|
4946
4950
|
};
|
|
4947
|
-
const _hoisted_1$
|
|
4948
|
-
function _sfc_render$
|
|
4951
|
+
const _hoisted_1$S = { class: "table-computed-cell" };
|
|
4952
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4949
4953
|
const _component_compile = resolveComponent("compile");
|
|
4950
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
4954
|
+
return openBlock(), createElementBlock("td", _hoisted_1$S, [
|
|
4951
4955
|
createVNode(_component_compile, {
|
|
4952
4956
|
template: this.column.code
|
|
4953
4957
|
}, null, 8, ["template"])
|
|
4954
4958
|
]);
|
|
4955
4959
|
}
|
|
4956
|
-
var ComputedCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4960
|
+
var ComputedCell = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-5f42b10c"]]);
|
|
4957
4961
|
var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4958
|
-
const _sfc_main$
|
|
4962
|
+
const _sfc_main$17 = {
|
|
4959
4963
|
props: {
|
|
4960
4964
|
multi: {
|
|
4961
4965
|
type: Boolean
|
|
@@ -5003,7 +5007,7 @@ const _sfc_main$16 = {
|
|
|
5003
5007
|
}
|
|
5004
5008
|
}
|
|
5005
5009
|
};
|
|
5006
|
-
function _sfc_render$
|
|
5010
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5007
5011
|
return $options.reference ? (openBlock(), createElementBlock("a", {
|
|
5008
5012
|
key: 0,
|
|
5009
5013
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.clicked($props.value), ["stop", "prevent"]))
|
|
@@ -5016,7 +5020,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5016
5020
|
], 64)) : createCommentVNode("", true)
|
|
5017
5021
|
], 64));
|
|
5018
5022
|
}
|
|
5019
|
-
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5023
|
+
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-255b9ec8"]]);
|
|
5020
5024
|
var TableCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5021
5025
|
function extract(row, path) {
|
|
5022
5026
|
if (!row) {
|
|
@@ -5041,7 +5045,7 @@ function extract(row, path) {
|
|
|
5041
5045
|
return extract(stub, remainder);
|
|
5042
5046
|
}
|
|
5043
5047
|
}
|
|
5044
|
-
const _sfc_main$
|
|
5048
|
+
const _sfc_main$16 = {
|
|
5045
5049
|
data() {
|
|
5046
5050
|
return {
|
|
5047
5051
|
component: null
|
|
@@ -5136,23 +5140,23 @@ const _sfc_main$15 = {
|
|
|
5136
5140
|
}
|
|
5137
5141
|
}
|
|
5138
5142
|
};
|
|
5139
|
-
const _hoisted_1$
|
|
5143
|
+
const _hoisted_1$R = {
|
|
5140
5144
|
key: 1,
|
|
5141
5145
|
class: "table-cell"
|
|
5142
5146
|
};
|
|
5143
|
-
const _hoisted_2$
|
|
5144
|
-
const _hoisted_3$
|
|
5145
|
-
function _sfc_render$
|
|
5147
|
+
const _hoisted_2$J = { class: "value" };
|
|
5148
|
+
const _hoisted_3$D = { class: "value" };
|
|
5149
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5146
5150
|
const _component_value_renderer = resolveComponent("value-renderer");
|
|
5147
5151
|
return $data.component ? (openBlock(), createBlock(resolveDynamicComponent($data.component), {
|
|
5148
5152
|
key: 0,
|
|
5149
5153
|
column: $props.column,
|
|
5150
5154
|
row: $props.row,
|
|
5151
5155
|
value: $options.value
|
|
5152
|
-
}, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$
|
|
5156
|
+
}, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$R, [
|
|
5153
5157
|
$options.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
5154
5158
|
$options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry, index2) => {
|
|
5155
|
-
return openBlock(), createElementBlock("span", _hoisted_2$
|
|
5159
|
+
return openBlock(), createElementBlock("span", _hoisted_2$J, [
|
|
5156
5160
|
createVNode(_component_value_renderer, {
|
|
5157
5161
|
type: $props.column.type,
|
|
5158
5162
|
multi: "",
|
|
@@ -5161,7 +5165,7 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5161
5165
|
}, null, 8, ["type", "last", "value"])
|
|
5162
5166
|
]);
|
|
5163
5167
|
}), 256)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.value, (entry, index2) => {
|
|
5164
|
-
return openBlock(), createElementBlock("span", _hoisted_3$
|
|
5168
|
+
return openBlock(), createElementBlock("span", _hoisted_3$D, [
|
|
5165
5169
|
createVNode(_component_value_renderer, {
|
|
5166
5170
|
type: $props.column.type,
|
|
5167
5171
|
multi: "",
|
|
@@ -5177,8 +5181,8 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5177
5181
|
}, null, 8, ["type", "value"]))
|
|
5178
5182
|
]));
|
|
5179
5183
|
}
|
|
5180
|
-
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5181
|
-
const _sfc_main$
|
|
5184
|
+
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-342f534a"]]);
|
|
5185
|
+
const _sfc_main$15 = {
|
|
5182
5186
|
components: {
|
|
5183
5187
|
TableCell
|
|
5184
5188
|
},
|
|
@@ -5233,7 +5237,7 @@ const _sfc_main$14 = {
|
|
|
5233
5237
|
}
|
|
5234
5238
|
}
|
|
5235
5239
|
};
|
|
5236
|
-
function _sfc_render$
|
|
5240
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5237
5241
|
const _component_ux_checkbox = resolveComponent("ux-checkbox");
|
|
5238
5242
|
const _component_table_cell = resolveComponent("table-cell");
|
|
5239
5243
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
@@ -5275,7 +5279,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5275
5279
|
])
|
|
5276
5280
|
], 2);
|
|
5277
5281
|
}
|
|
5278
|
-
var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5282
|
+
var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15]]);
|
|
5279
5283
|
var RememberScrollMixin = {
|
|
5280
5284
|
data() {
|
|
5281
5285
|
return {
|
|
@@ -5306,7 +5310,7 @@ var RememberScrollMixin = {
|
|
|
5306
5310
|
}
|
|
5307
5311
|
};
|
|
5308
5312
|
var Table_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5309
|
-
const _sfc_main$
|
|
5313
|
+
const _sfc_main$14 = {
|
|
5310
5314
|
mixins: [RememberScrollMixin],
|
|
5311
5315
|
components: {
|
|
5312
5316
|
TableRow,
|
|
@@ -5544,12 +5548,12 @@ const _sfc_main$13 = {
|
|
|
5544
5548
|
}
|
|
5545
5549
|
}
|
|
5546
5550
|
};
|
|
5547
|
-
const _hoisted_1$
|
|
5548
|
-
const _hoisted_2$
|
|
5551
|
+
const _hoisted_1$Q = { class: "table-wrapper" };
|
|
5552
|
+
const _hoisted_2$I = {
|
|
5549
5553
|
class: "table-scroll",
|
|
5550
5554
|
ref: "scroll"
|
|
5551
5555
|
};
|
|
5552
|
-
const _hoisted_3$
|
|
5556
|
+
const _hoisted_3$C = {
|
|
5553
5557
|
key: 0,
|
|
5554
5558
|
class: "first table-select shrink"
|
|
5555
5559
|
};
|
|
@@ -5558,7 +5562,7 @@ const _hoisted_5$n = {
|
|
|
5558
5562
|
key: 1,
|
|
5559
5563
|
class: "last shrink"
|
|
5560
5564
|
};
|
|
5561
|
-
function _sfc_render$
|
|
5565
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5562
5566
|
const _component_ux_checkbox = resolveComponent("ux-checkbox");
|
|
5563
5567
|
const _component_ux_list_item = resolveComponent("ux-list-item");
|
|
5564
5568
|
const _component_ux_list = resolveComponent("ux-list");
|
|
@@ -5566,12 +5570,12 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5566
5570
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
5567
5571
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5568
5572
|
const _component_table_row = resolveComponent("table-row");
|
|
5569
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5570
|
-
createElementVNode("div", _hoisted_2$
|
|
5573
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
5574
|
+
createElementVNode("div", _hoisted_2$I, [
|
|
5571
5575
|
createElementVNode("table", null, [
|
|
5572
5576
|
createElementVNode("thead", null, [
|
|
5573
5577
|
createElementVNode("tr", null, [
|
|
5574
|
-
$props.enableSelection ? (openBlock(), createElementBlock("th", _hoisted_3$
|
|
5578
|
+
$props.enableSelection ? (openBlock(), createElementBlock("th", _hoisted_3$C, [
|
|
5575
5579
|
createVNode(_component_ux_menu, null, {
|
|
5576
5580
|
activator: withCtx(({ on: on2 }) => [
|
|
5577
5581
|
createVNode(_component_ux_checkbox, mergeProps(toHandlers(on2), { value: $options.pageSelected }), null, 16, ["value"])
|
|
@@ -5682,7 +5686,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5682
5686
|
], 512)
|
|
5683
5687
|
]);
|
|
5684
5688
|
}
|
|
5685
|
-
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5689
|
+
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-03eb874f"]]);
|
|
5686
5690
|
var safeJsonStringify$1 = { exports: {} };
|
|
5687
5691
|
var hasProp = Object.prototype.hasOwnProperty;
|
|
5688
5692
|
function throwsMessage(err) {
|
|
@@ -6103,7 +6107,7 @@ var select_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
6103
6107
|
function isUndefined$7(entry) {
|
|
6104
6108
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
6105
6109
|
}
|
|
6106
|
-
const _sfc_main$
|
|
6110
|
+
const _sfc_main$13 = {
|
|
6107
6111
|
props: {
|
|
6108
6112
|
title: {
|
|
6109
6113
|
type: String
|
|
@@ -6204,15 +6208,15 @@ const _sfc_main$12 = {
|
|
|
6204
6208
|
}
|
|
6205
6209
|
}
|
|
6206
6210
|
};
|
|
6207
|
-
const _hoisted_1$
|
|
6211
|
+
const _hoisted_1$P = {
|
|
6208
6212
|
key: 0,
|
|
6209
6213
|
class: "ux-field-title"
|
|
6210
6214
|
};
|
|
6211
|
-
const _hoisted_2$
|
|
6215
|
+
const _hoisted_2$H = {
|
|
6212
6216
|
key: 0,
|
|
6213
6217
|
class: "ux-required-marker"
|
|
6214
6218
|
};
|
|
6215
|
-
const _hoisted_3$
|
|
6219
|
+
const _hoisted_3$B = {
|
|
6216
6220
|
key: 1,
|
|
6217
6221
|
class: "ux-field-description"
|
|
6218
6222
|
};
|
|
@@ -6226,16 +6230,16 @@ const _hoisted_6$g = {
|
|
|
6226
6230
|
value: ""
|
|
6227
6231
|
};
|
|
6228
6232
|
const _hoisted_7$c = ["value"];
|
|
6229
|
-
function _sfc_render$
|
|
6233
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6230
6234
|
const _component_ux_button = resolveComponent("ux-button");
|
|
6231
6235
|
return openBlock(), createElementBlock("div", {
|
|
6232
6236
|
class: normalizeClass(["native-select", $options.classes])
|
|
6233
6237
|
}, [
|
|
6234
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
6238
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$P, [
|
|
6235
6239
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
6236
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
6240
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$H, "*")) : createCommentVNode("", true)
|
|
6237
6241
|
])) : createCommentVNode("", true),
|
|
6238
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6242
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$B, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
6239
6243
|
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$r, [
|
|
6240
6244
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
6241
6245
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
@@ -6262,9 +6266,9 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6262
6266
|
])
|
|
6263
6267
|
], 2);
|
|
6264
6268
|
}
|
|
6265
|
-
var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6269
|
+
var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-a06c20f2"]]);
|
|
6266
6270
|
var Pager_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6267
|
-
const _sfc_main$
|
|
6271
|
+
const _sfc_main$12 = {
|
|
6268
6272
|
props: {
|
|
6269
6273
|
total: {
|
|
6270
6274
|
type: Number,
|
|
@@ -6374,7 +6378,7 @@ const _sfc_main$11 = {
|
|
|
6374
6378
|
};
|
|
6375
6379
|
}
|
|
6376
6380
|
};
|
|
6377
|
-
function _sfc_render$
|
|
6381
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6378
6382
|
const _component_native_select = resolveComponent("native-select");
|
|
6379
6383
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
6380
6384
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
@@ -6478,9 +6482,9 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6478
6482
|
_: 1
|
|
6479
6483
|
});
|
|
6480
6484
|
}
|
|
6481
|
-
var Pager$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6485
|
+
var Pager$1 = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-93d2aed8"]]);
|
|
6482
6486
|
var avatar_vue_vue_type_style_index_0_lang = "";
|
|
6483
|
-
const _sfc_main$
|
|
6487
|
+
const _sfc_main$11 = {
|
|
6484
6488
|
props: {
|
|
6485
6489
|
id: {
|
|
6486
6490
|
type: [Object, String]
|
|
@@ -6494,13 +6498,13 @@ const _sfc_main$10 = {
|
|
|
6494
6498
|
}
|
|
6495
6499
|
}
|
|
6496
6500
|
};
|
|
6497
|
-
const _hoisted_1$
|
|
6498
|
-
function _sfc_render$
|
|
6499
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6501
|
+
const _hoisted_1$O = { class: "avatar" };
|
|
6502
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6503
|
+
return openBlock(), createElementBlock("div", _hoisted_1$O);
|
|
6500
6504
|
}
|
|
6501
|
-
var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6505
|
+
var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11]]);
|
|
6502
6506
|
var spinner_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6503
|
-
const _sfc_main
|
|
6507
|
+
const _sfc_main$10 = {
|
|
6504
6508
|
props: {
|
|
6505
6509
|
large: {
|
|
6506
6510
|
type: Boolean
|
|
@@ -6508,18 +6512,18 @@ const _sfc_main$$ = {
|
|
|
6508
6512
|
}
|
|
6509
6513
|
};
|
|
6510
6514
|
const _withScopeId$7 = (n2) => (pushScopeId("data-v-27f20370"), n2 = n2(), popScopeId(), n2);
|
|
6511
|
-
const _hoisted_1$
|
|
6512
|
-
const _hoisted_2$
|
|
6513
|
-
_hoisted_1$
|
|
6515
|
+
const _hoisted_1$N = /* @__PURE__ */ _withScopeId$7(() => /* @__PURE__ */ createElementVNode("i", { class: "fa fa-spin fa-spinner" }, null, -1));
|
|
6516
|
+
const _hoisted_2$G = [
|
|
6517
|
+
_hoisted_1$N
|
|
6514
6518
|
];
|
|
6515
|
-
function _sfc_render
|
|
6519
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6516
6520
|
return openBlock(), createElementBlock("div", {
|
|
6517
6521
|
class: normalizeClass(["ux-spinner", { large: $props.large }])
|
|
6518
|
-
}, _hoisted_2$
|
|
6522
|
+
}, _hoisted_2$G, 2);
|
|
6519
6523
|
}
|
|
6520
|
-
var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
6524
|
+
var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-27f20370"]]);
|
|
6521
6525
|
var button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6522
|
-
const _sfc_main
|
|
6526
|
+
const _sfc_main$$ = {
|
|
6523
6527
|
components: {
|
|
6524
6528
|
Spinner
|
|
6525
6529
|
},
|
|
@@ -6613,8 +6617,8 @@ const _sfc_main$_ = {
|
|
|
6613
6617
|
}
|
|
6614
6618
|
}
|
|
6615
6619
|
};
|
|
6616
|
-
const _hoisted_1$
|
|
6617
|
-
function _sfc_render
|
|
6620
|
+
const _hoisted_1$M = { class: "ux-btn-text" };
|
|
6621
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6618
6622
|
const _component_spinner = resolveComponent("spinner");
|
|
6619
6623
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
6620
6624
|
active: $props.active,
|
|
@@ -6628,16 +6632,16 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6628
6632
|
}, {
|
|
6629
6633
|
default: withCtx(() => [
|
|
6630
6634
|
$props.loading ? (openBlock(), createBlock(_component_spinner, { key: 0 })) : createCommentVNode("", true),
|
|
6631
|
-
createElementVNode("span", _hoisted_1$
|
|
6635
|
+
createElementVNode("span", _hoisted_1$M, [
|
|
6632
6636
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
6633
6637
|
])
|
|
6634
6638
|
]),
|
|
6635
6639
|
_: 3
|
|
6636
6640
|
}, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
|
|
6637
6641
|
}
|
|
6638
|
-
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
6642
|
+
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-56c95efc"]]);
|
|
6639
6643
|
var checkbox_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
6640
|
-
const _sfc_main$
|
|
6644
|
+
const _sfc_main$_ = {
|
|
6641
6645
|
props: {
|
|
6642
6646
|
value: {
|
|
6643
6647
|
type: Boolean,
|
|
@@ -6658,7 +6662,7 @@ const _sfc_main$Z = {
|
|
|
6658
6662
|
}
|
|
6659
6663
|
}
|
|
6660
6664
|
};
|
|
6661
|
-
function _sfc_render$
|
|
6665
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6662
6666
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
6663
6667
|
return openBlock(), createElementBlock("button", {
|
|
6664
6668
|
class: normalizeClass(["ux-checkbox", $options.classes])
|
|
@@ -6669,9 +6673,9 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6669
6673
|
})
|
|
6670
6674
|
], 2);
|
|
6671
6675
|
}
|
|
6672
|
-
var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6676
|
+
var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-6b7b7539"]]);
|
|
6673
6677
|
var switch_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
6674
|
-
const _sfc_main$
|
|
6678
|
+
const _sfc_main$Z = {
|
|
6675
6679
|
props: {
|
|
6676
6680
|
value: {
|
|
6677
6681
|
type: Boolean,
|
|
@@ -6701,7 +6705,7 @@ const _sfc_main$Y = {
|
|
|
6701
6705
|
}
|
|
6702
6706
|
}
|
|
6703
6707
|
};
|
|
6704
|
-
function _sfc_render$
|
|
6708
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6705
6709
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
6706
6710
|
return openBlock(), createElementBlock("a", {
|
|
6707
6711
|
class: normalizeClass(["ux-switch", $options.classes])
|
|
@@ -6714,9 +6718,9 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6714
6718
|
])
|
|
6715
6719
|
], 2);
|
|
6716
6720
|
}
|
|
6717
|
-
var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6721
|
+
var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__scopeId", "data-v-57a418e1"]]);
|
|
6718
6722
|
var link_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6719
|
-
const _sfc_main$
|
|
6723
|
+
const _sfc_main$Y = {
|
|
6720
6724
|
props: {
|
|
6721
6725
|
to: {
|
|
6722
6726
|
type: [Object, String]
|
|
@@ -6789,7 +6793,7 @@ const _sfc_main$X = {
|
|
|
6789
6793
|
}
|
|
6790
6794
|
}
|
|
6791
6795
|
};
|
|
6792
|
-
function _sfc_render$
|
|
6796
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6793
6797
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
6794
6798
|
onClick: $options.clicked,
|
|
6795
6799
|
to: $props.to,
|
|
@@ -6803,9 +6807,9 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6803
6807
|
_: 3
|
|
6804
6808
|
}, 8, ["onClick", "to", "href", "target", "class"]);
|
|
6805
6809
|
}
|
|
6806
|
-
var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6810
|
+
var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__scopeId", "data-v-8b82829a"]]);
|
|
6807
6811
|
var icon_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6808
|
-
const _sfc_main$
|
|
6812
|
+
const _sfc_main$X = {
|
|
6809
6813
|
props: {
|
|
6810
6814
|
icon: {
|
|
6811
6815
|
type: [Object, String]
|
|
@@ -6840,17 +6844,17 @@ const _sfc_main$W = {
|
|
|
6840
6844
|
}
|
|
6841
6845
|
}
|
|
6842
6846
|
};
|
|
6843
|
-
function _sfc_render$
|
|
6847
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6844
6848
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
6845
6849
|
class: normalizeClass(["ux-icon fa", $options.classes])
|
|
6846
6850
|
}, null, 8, ["class"]);
|
|
6847
6851
|
}
|
|
6848
|
-
var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6852
|
+
var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__scopeId", "data-v-1764a3d0"]]);
|
|
6849
6853
|
var UXMenuService = {
|
|
6850
6854
|
cache: {}
|
|
6851
6855
|
};
|
|
6852
6856
|
var menu_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6853
|
-
const _sfc_main$
|
|
6857
|
+
const _sfc_main$W = {
|
|
6854
6858
|
props: {
|
|
6855
6859
|
group: {
|
|
6856
6860
|
type: String
|
|
@@ -7002,7 +7006,7 @@ const _sfc_main$V = {
|
|
|
7002
7006
|
}
|
|
7003
7007
|
}
|
|
7004
7008
|
};
|
|
7005
|
-
function _sfc_render$
|
|
7009
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7006
7010
|
return openBlock(), createElementBlock("div", {
|
|
7007
7011
|
class: normalizeClass(["ux-menu", { right: $props.right }])
|
|
7008
7012
|
}, [
|
|
@@ -7026,8 +7030,8 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7026
7030
|
]))
|
|
7027
7031
|
], 2);
|
|
7028
7032
|
}
|
|
7029
|
-
var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7030
|
-
const _sfc_main$
|
|
7033
|
+
var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-29d476a2"]]);
|
|
7034
|
+
const _sfc_main$V = {
|
|
7031
7035
|
name: "menulist",
|
|
7032
7036
|
props: {
|
|
7033
7037
|
items: {
|
|
@@ -7058,7 +7062,7 @@ const _sfc_main$U = {
|
|
|
7058
7062
|
return {};
|
|
7059
7063
|
}
|
|
7060
7064
|
};
|
|
7061
|
-
function _sfc_render$
|
|
7065
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7062
7066
|
const _component_ux_link = resolveComponent("ux-link");
|
|
7063
7067
|
const _component_menulist = resolveComponent("menulist", true);
|
|
7064
7068
|
return openBlock(), createElementBlock("ul", null, [
|
|
@@ -7106,9 +7110,9 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7106
7110
|
}), 256))
|
|
7107
7111
|
]);
|
|
7108
7112
|
}
|
|
7109
|
-
var UXMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7113
|
+
var UXMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V]]);
|
|
7110
7114
|
var image_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7111
|
-
const _sfc_main$
|
|
7115
|
+
const _sfc_main$U = {
|
|
7112
7116
|
props: {
|
|
7113
7117
|
item: {
|
|
7114
7118
|
type: [Object, String]
|
|
@@ -7229,13 +7233,15 @@ const _sfc_main$T = {
|
|
|
7229
7233
|
return params;
|
|
7230
7234
|
},
|
|
7231
7235
|
src() {
|
|
7232
|
-
|
|
7236
|
+
const mediaType = "image";
|
|
7237
|
+
return this.$sdk.api.generateEndpointURL(`/${mediaType}/${this.id}`, this.params, { file: true });
|
|
7233
7238
|
},
|
|
7234
7239
|
previewSrc() {
|
|
7235
7240
|
var params = Object.assign({}, this.params);
|
|
7236
7241
|
params.w = 50;
|
|
7237
7242
|
delete params.h;
|
|
7238
|
-
|
|
7243
|
+
const mediaType = "image";
|
|
7244
|
+
return this.$sdk.api.generateEndpointURL(`/${mediaType}/${this.id}`, params, { file: true });
|
|
7239
7245
|
},
|
|
7240
7246
|
imageStyle() {
|
|
7241
7247
|
var style = {};
|
|
@@ -7287,9 +7293,9 @@ const _sfc_main$T = {
|
|
|
7287
7293
|
}
|
|
7288
7294
|
}
|
|
7289
7295
|
};
|
|
7290
|
-
const _hoisted_1$
|
|
7291
|
-
const _hoisted_2$
|
|
7292
|
-
function _sfc_render$
|
|
7296
|
+
const _hoisted_1$L = ["alt", "data"];
|
|
7297
|
+
const _hoisted_2$F = ["alt", "src"];
|
|
7298
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7293
7299
|
return openBlock(), createElementBlock("div", {
|
|
7294
7300
|
class: normalizeClass(["ux-image", $options.className]),
|
|
7295
7301
|
style: normalizeStyle($options.style)
|
|
@@ -7299,15 +7305,117 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7299
7305
|
alt: $options.altText,
|
|
7300
7306
|
type: "image/svg+xml",
|
|
7301
7307
|
data: $options.src
|
|
7302
|
-
}, null, 8, _hoisted_1$
|
|
7308
|
+
}, null, 8, _hoisted_1$L)) : (openBlock(), createElementBlock("img", {
|
|
7303
7309
|
key: 1,
|
|
7304
7310
|
alt: $options.altText,
|
|
7305
7311
|
style: normalizeStyle($options.imageStyle),
|
|
7306
7312
|
src: $options.src
|
|
7307
|
-
}, null, 12, _hoisted_2$
|
|
7313
|
+
}, null, 12, _hoisted_2$F))
|
|
7314
|
+
], 6);
|
|
7315
|
+
}
|
|
7316
|
+
var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-6cf1e4ba"]]);
|
|
7317
|
+
var video_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7318
|
+
const _sfc_main$T = {
|
|
7319
|
+
props: {
|
|
7320
|
+
item: {
|
|
7321
|
+
type: [Object, String]
|
|
7322
|
+
},
|
|
7323
|
+
width: {
|
|
7324
|
+
type: [Number, String]
|
|
7325
|
+
},
|
|
7326
|
+
height: {
|
|
7327
|
+
type: [Number, String]
|
|
7328
|
+
},
|
|
7329
|
+
controls: {
|
|
7330
|
+
type: Boolean,
|
|
7331
|
+
default: true
|
|
7332
|
+
}
|
|
7333
|
+
},
|
|
7334
|
+
data() {
|
|
7335
|
+
return {
|
|
7336
|
+
model: this.item
|
|
7337
|
+
};
|
|
7338
|
+
},
|
|
7339
|
+
computed: {
|
|
7340
|
+
mediaType() {
|
|
7341
|
+
return this.model.mediaIntegrationType || "upload";
|
|
7342
|
+
},
|
|
7343
|
+
mimetype() {
|
|
7344
|
+
return this.model.fileMime || "video/mp4";
|
|
7345
|
+
},
|
|
7346
|
+
actualWidth() {
|
|
7347
|
+
return parseInt(this.width) || this.modelWidth || 1920;
|
|
7348
|
+
},
|
|
7349
|
+
actualHeight() {
|
|
7350
|
+
return parseInt(this.height) || this.modelHeight || 1080;
|
|
7351
|
+
},
|
|
7352
|
+
className() {
|
|
7353
|
+
var classes = [];
|
|
7354
|
+
if (this.portrait) {
|
|
7355
|
+
classes.push("video-portrait");
|
|
7356
|
+
}
|
|
7357
|
+
classes.push(`video-type-${this.mediaType}`);
|
|
7358
|
+
return classes.join(" ");
|
|
7359
|
+
},
|
|
7360
|
+
portrait() {
|
|
7361
|
+
return this.actualHeight > this.actualWidth;
|
|
7362
|
+
},
|
|
7363
|
+
modelWidth() {
|
|
7364
|
+
var _a;
|
|
7365
|
+
return parseInt(((_a = this.model) == null ? void 0 : _a.width) || 0);
|
|
7366
|
+
},
|
|
7367
|
+
modelHeight() {
|
|
7368
|
+
var _a;
|
|
7369
|
+
return parseInt(((_a = this.model) == null ? void 0 : _a.height) || 0);
|
|
7370
|
+
},
|
|
7371
|
+
id() {
|
|
7372
|
+
return this.$sdk.utils.id(this.model);
|
|
7373
|
+
},
|
|
7374
|
+
params() {
|
|
7375
|
+
var params = {};
|
|
7376
|
+
params.access_token = this.$sdk.auth.getCurrentToken();
|
|
7377
|
+
return params;
|
|
7378
|
+
},
|
|
7379
|
+
src() {
|
|
7380
|
+
return this.$sdk.api.generateEndpointURL(`/video/${this.id}`, this.params, { file: true });
|
|
7381
|
+
},
|
|
7382
|
+
thumbnailSrc() {
|
|
7383
|
+
var params = Object.assign({}, this.params);
|
|
7384
|
+
params.w = this.actualWidth;
|
|
7385
|
+
params.h = this.actualHeight;
|
|
7386
|
+
delete params.h;
|
|
7387
|
+
return this.$sdk.api.generateEndpointURL(`/image/${this.id}`, params, { file: true });
|
|
7388
|
+
},
|
|
7389
|
+
style() {
|
|
7390
|
+
var style = {};
|
|
7391
|
+
return style;
|
|
7392
|
+
}
|
|
7393
|
+
}
|
|
7394
|
+
};
|
|
7395
|
+
const _hoisted_1$K = { class: "ux-video-embed-upload" };
|
|
7396
|
+
const _hoisted_2$E = ["width", "height", "controls"];
|
|
7397
|
+
const _hoisted_3$A = ["src", "type"];
|
|
7398
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7399
|
+
return openBlock(), createElementBlock("div", {
|
|
7400
|
+
class: normalizeClass(["ux-video", $options.className]),
|
|
7401
|
+
style: normalizeStyle($options.style)
|
|
7402
|
+
}, [
|
|
7403
|
+
createElementVNode("div", _hoisted_1$K, [
|
|
7404
|
+
createElementVNode("video", {
|
|
7405
|
+
width: $options.actualWidth,
|
|
7406
|
+
height: $options.actualHeight,
|
|
7407
|
+
controls: $props.controls
|
|
7408
|
+
}, [
|
|
7409
|
+
createElementVNode("source", {
|
|
7410
|
+
src: $options.src,
|
|
7411
|
+
type: $options.mimetype
|
|
7412
|
+
}, null, 8, _hoisted_3$A),
|
|
7413
|
+
createTextVNode(" Your browser does not support the video tag. ")
|
|
7414
|
+
], 8, _hoisted_2$E)
|
|
7415
|
+
])
|
|
7308
7416
|
], 6);
|
|
7309
7417
|
}
|
|
7310
|
-
var
|
|
7418
|
+
var UXVideo = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__scopeId", "data-v-c85ee2a2"]]);
|
|
7311
7419
|
var progressbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7312
7420
|
const _sfc_main$S = {
|
|
7313
7421
|
props: {
|
|
@@ -13425,6 +13533,16 @@ const _sfc_main$x = {
|
|
|
13425
13533
|
field() {
|
|
13426
13534
|
return this.fieldHash[this.model.key];
|
|
13427
13535
|
},
|
|
13536
|
+
fieldWidget() {
|
|
13537
|
+
var _a, _b;
|
|
13538
|
+
if ((_a = this.comparator) == null ? void 0 : _a.inputWidget) {
|
|
13539
|
+
return this.comparator.inputWidget;
|
|
13540
|
+
}
|
|
13541
|
+
switch ((_b = this.field) == null ? void 0 : _b.widget) {
|
|
13542
|
+
case "currency":
|
|
13543
|
+
return this.field.widget;
|
|
13544
|
+
}
|
|
13545
|
+
},
|
|
13428
13546
|
fieldType() {
|
|
13429
13547
|
if (!this.field) {
|
|
13430
13548
|
return;
|
|
@@ -13586,12 +13704,18 @@ const _sfc_main$x = {
|
|
|
13586
13704
|
};
|
|
13587
13705
|
},
|
|
13588
13706
|
normalField() {
|
|
13589
|
-
|
|
13707
|
+
var _a, _b;
|
|
13708
|
+
const settings = {};
|
|
13709
|
+
const extras = {};
|
|
13710
|
+
extras.currency = (_a = this.field) == null ? void 0 : _a.currency;
|
|
13711
|
+
extras.syntax = (_b = this.field) == null ? void 0 : _b.syntax;
|
|
13712
|
+
return Object.assign(settings, {
|
|
13590
13713
|
type: this.fieldType,
|
|
13591
13714
|
maximum: 1,
|
|
13592
13715
|
minimum: 1,
|
|
13593
|
-
placeholder: this.inputPlaceholder
|
|
13594
|
-
|
|
13716
|
+
placeholder: this.inputPlaceholder,
|
|
13717
|
+
widget: this.fieldWidget
|
|
13718
|
+
}, extras);
|
|
13595
13719
|
},
|
|
13596
13720
|
arrayField() {
|
|
13597
13721
|
return {
|
|
@@ -13625,6 +13749,7 @@ const _sfc_main$x = {
|
|
|
13625
13749
|
methods: {},
|
|
13626
13750
|
components: {
|
|
13627
13751
|
TextField,
|
|
13752
|
+
CurrencyField,
|
|
13628
13753
|
DateField,
|
|
13629
13754
|
NativeSelect,
|
|
13630
13755
|
ContentSelect
|
|
@@ -13649,6 +13774,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13649
13774
|
const _component_native_select = resolveComponent("native-select");
|
|
13650
13775
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
13651
13776
|
const _component_text_field = resolveComponent("text-field");
|
|
13777
|
+
const _component_currency_field = resolveComponent("currency-field");
|
|
13652
13778
|
const _component_flex_row = resolveComponent("flex-row");
|
|
13653
13779
|
const _component_date_field = resolveComponent("date-field");
|
|
13654
13780
|
const _component_content_select = resolveComponent("content-select");
|
|
@@ -13699,17 +13825,31 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13699
13825
|
}, null, 8, ["field", "modelValue"]))
|
|
13700
13826
|
])) : createCommentVNode("", true),
|
|
13701
13827
|
$options.inputType == "range" ? (openBlock(), createElementBlock("div", _hoisted_3$m, [
|
|
13702
|
-
|
|
13703
|
-
|
|
13704
|
-
|
|
13705
|
-
|
|
13706
|
-
|
|
13707
|
-
|
|
13708
|
-
|
|
13709
|
-
|
|
13710
|
-
|
|
13711
|
-
|
|
13712
|
-
|
|
13828
|
+
$options.fieldWidget == "currency" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
13829
|
+
createVNode(_component_currency_field, {
|
|
13830
|
+
field: $options.normalField,
|
|
13831
|
+
modelValue: $data.model.value,
|
|
13832
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.model.value = $event)
|
|
13833
|
+
}, null, 8, ["field", "modelValue"]),
|
|
13834
|
+
createTextVNode(" And "),
|
|
13835
|
+
createVNode(_component_currency_field, {
|
|
13836
|
+
field: $options.normalField,
|
|
13837
|
+
modelValue: $data.model.value2,
|
|
13838
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.model.value2 = $event)
|
|
13839
|
+
}, null, 8, ["field", "modelValue"])
|
|
13840
|
+
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
13841
|
+
createVNode(_component_text_field, {
|
|
13842
|
+
field: $options.normalField,
|
|
13843
|
+
modelValue: $data.model.value,
|
|
13844
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => $data.model.value = $event)
|
|
13845
|
+
}, null, 8, ["field", "modelValue"]),
|
|
13846
|
+
createTextVNode(" And "),
|
|
13847
|
+
createVNode(_component_text_field, {
|
|
13848
|
+
field: $options.normalField,
|
|
13849
|
+
modelValue: $data.model.value2,
|
|
13850
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $data.model.value2 = $event)
|
|
13851
|
+
}, null, 8, ["field", "modelValue"])
|
|
13852
|
+
], 64))
|
|
13713
13853
|
])) : createCommentVNode("", true),
|
|
13714
13854
|
$options.inputType == "daterelative" ? (openBlock(), createElementBlock("div", _hoisted_4$g, [
|
|
13715
13855
|
createVNode(_component_flex_row, null, {
|
|
@@ -13719,7 +13859,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13719
13859
|
createVNode(_component_text_field, {
|
|
13720
13860
|
field: $options.relativeNumberField,
|
|
13721
13861
|
modelValue: $data.model.value,
|
|
13722
|
-
"onUpdate:modelValue": _cache[
|
|
13862
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $data.model.value = $event)
|
|
13723
13863
|
}, null, 8, ["field", "modelValue"])
|
|
13724
13864
|
]),
|
|
13725
13865
|
_: 1
|
|
@@ -13728,7 +13868,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13728
13868
|
default: withCtx(() => [
|
|
13729
13869
|
createVNode(_component_native_select, {
|
|
13730
13870
|
modelValue: $data.model.value2,
|
|
13731
|
-
"onUpdate:modelValue": _cache[
|
|
13871
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $data.model.value2 = $event),
|
|
13732
13872
|
field: $options.relativePeriodField
|
|
13733
13873
|
}, null, 8, ["modelValue", "field"])
|
|
13734
13874
|
]),
|
|
@@ -13742,34 +13882,34 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13742
13882
|
createVNode(_component_date_field, {
|
|
13743
13883
|
field: $options.dateField,
|
|
13744
13884
|
modelValue: $data.model.value,
|
|
13745
|
-
"onUpdate:modelValue": _cache[
|
|
13885
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => $data.model.value = $event)
|
|
13746
13886
|
}, null, 8, ["field", "modelValue"]),
|
|
13747
13887
|
createTextVNode(" And "),
|
|
13748
13888
|
createVNode(_component_date_field, {
|
|
13749
13889
|
field: $options.dateField,
|
|
13750
13890
|
modelValue: $data.model.value2,
|
|
13751
|
-
"onUpdate:modelValue": _cache[
|
|
13891
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => $data.model.value2 = $event)
|
|
13752
13892
|
}, null, 8, ["field", "modelValue"])
|
|
13753
13893
|
])) : createCommentVNode("", true),
|
|
13754
13894
|
$options.inputType == "date" ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
|
|
13755
13895
|
createVNode(_component_date_field, {
|
|
13756
13896
|
field: $options.dateField,
|
|
13757
13897
|
modelValue: $data.model.value,
|
|
13758
|
-
"onUpdate:modelValue": _cache[
|
|
13898
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => $data.model.value = $event)
|
|
13759
13899
|
}, null, 8, ["field", "modelValue"])
|
|
13760
13900
|
])) : createCommentVNode("", true),
|
|
13761
13901
|
$options.inputType == "reference" ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
|
|
13762
13902
|
createVNode(_component_content_select, {
|
|
13763
13903
|
field: $options.singleReferenceField,
|
|
13764
13904
|
modelValue: $data.model.value,
|
|
13765
|
-
"onUpdate:modelValue": _cache[
|
|
13905
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $data.model.value = $event)
|
|
13766
13906
|
}, null, 8, ["field", "modelValue"])
|
|
13767
13907
|
])) : createCommentVNode("", true),
|
|
13768
13908
|
$options.inputType == "multireference" ? (openBlock(), createElementBlock("div", _hoisted_8$3, [
|
|
13769
13909
|
createVNode(_component_content_select, {
|
|
13770
13910
|
field: $options.multiReferenceField,
|
|
13771
13911
|
modelValue: $data.model.values,
|
|
13772
|
-
"onUpdate:modelValue": _cache[
|
|
13912
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => $data.model.values = $event)
|
|
13773
13913
|
}, null, 8, ["field", "modelValue"])
|
|
13774
13914
|
])) : createCommentVNode("", true),
|
|
13775
13915
|
$options.inputType == "boolean" ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
|
|
@@ -13781,7 +13921,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13781
13921
|
createVNode(_component_flex_cell, { shrink: "" }, {
|
|
13782
13922
|
default: withCtx(() => [
|
|
13783
13923
|
createVNode(_component_ux_switch, {
|
|
13784
|
-
onClick: _cache[
|
|
13924
|
+
onClick: _cache[15] || (_cache[15] = ($event) => $data.model.value = !$data.model.value),
|
|
13785
13925
|
value: $data.model.value
|
|
13786
13926
|
}, null, 8, ["value"])
|
|
13787
13927
|
]),
|
|
@@ -13799,23 +13939,29 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13799
13939
|
])) : createCommentVNode("", true),
|
|
13800
13940
|
$options.inputType == "none" ? (openBlock(), createElementBlock("div", _hoisted_10$2)) : createCommentVNode("", true),
|
|
13801
13941
|
$options.inputType == "number" ? (openBlock(), createElementBlock("div", _hoisted_11$2, [
|
|
13802
|
-
|
|
13942
|
+
$options.fieldWidget == "currency" ? (openBlock(), createBlock(_component_currency_field, {
|
|
13943
|
+
key: 0,
|
|
13803
13944
|
field: $options.normalField,
|
|
13804
13945
|
modelValue: $data.model.value,
|
|
13805
|
-
"onUpdate:modelValue": _cache[
|
|
13806
|
-
}, null, 8, ["field", "modelValue"])
|
|
13946
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => $data.model.value = $event)
|
|
13947
|
+
}, null, 8, ["field", "modelValue"])) : (openBlock(), createBlock(_component_text_field, {
|
|
13948
|
+
key: 1,
|
|
13949
|
+
field: $options.normalField,
|
|
13950
|
+
modelValue: $data.model.value,
|
|
13951
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => $data.model.value = $event)
|
|
13952
|
+
}, null, 8, ["field", "modelValue"]))
|
|
13807
13953
|
])) : createCommentVNode("", true),
|
|
13808
13954
|
$options.inputType == "normal" ? (openBlock(), createElementBlock("div", _hoisted_12$2, [
|
|
13809
13955
|
$options.hasOptions ? (openBlock(), createBlock(_component_native_select, {
|
|
13810
13956
|
key: 0,
|
|
13811
13957
|
modelValue: $data.model.value,
|
|
13812
|
-
"onUpdate:modelValue": _cache[
|
|
13958
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => $data.model.value = $event),
|
|
13813
13959
|
field: $options.singleOptionsField
|
|
13814
13960
|
}, null, 8, ["modelValue", "field"])) : (openBlock(), createBlock(_component_text_field, {
|
|
13815
13961
|
key: 1,
|
|
13816
13962
|
field: $options.normalField,
|
|
13817
13963
|
modelValue: $data.model.value,
|
|
13818
|
-
"onUpdate:modelValue": _cache[
|
|
13964
|
+
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => $data.model.value = $event)
|
|
13819
13965
|
}, null, 8, ["field", "modelValue"]))
|
|
13820
13966
|
])) : createCommentVNode("", true)
|
|
13821
13967
|
]),
|
|
@@ -13829,7 +13975,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13829
13975
|
createVNode(_component_ux_button, {
|
|
13830
13976
|
size: "sm",
|
|
13831
13977
|
icon: "",
|
|
13832
|
-
onClick: _cache[
|
|
13978
|
+
onClick: _cache[20] || (_cache[20] = ($event) => _ctx.$emit("remove"))
|
|
13833
13979
|
}, {
|
|
13834
13980
|
default: withCtx(() => [
|
|
13835
13981
|
createVNode(_component_ux_icon, { icon: "fa-times" })
|
|
@@ -20721,7 +20867,7 @@ function emptyFilter() {
|
|
|
20721
20867
|
filters: []
|
|
20722
20868
|
};
|
|
20723
20869
|
}
|
|
20724
|
-
let
|
|
20870
|
+
let inflightRequest;
|
|
20725
20871
|
let cancelledUnmount;
|
|
20726
20872
|
let typeCacheKey;
|
|
20727
20873
|
const _sfc_main$6 = {
|
|
@@ -20813,9 +20959,9 @@ const _sfc_main$6 = {
|
|
|
20813
20959
|
},
|
|
20814
20960
|
deactivated() {
|
|
20815
20961
|
typeCacheKey = this.$sdk.global.cacheKeys[this.type];
|
|
20816
|
-
if (
|
|
20817
|
-
|
|
20818
|
-
|
|
20962
|
+
if (inflightRequest) {
|
|
20963
|
+
inflightRequest.cancel();
|
|
20964
|
+
inflightRequest = null;
|
|
20819
20965
|
cancelledUnmount = true;
|
|
20820
20966
|
}
|
|
20821
20967
|
},
|
|
@@ -20893,6 +21039,15 @@ const _sfc_main$6 = {
|
|
|
20893
21039
|
}
|
|
20894
21040
|
},
|
|
20895
21041
|
computed: {
|
|
21042
|
+
showFilterSidebar() {
|
|
21043
|
+
return this.showFilters;
|
|
21044
|
+
},
|
|
21045
|
+
boundaryMessage() {
|
|
21046
|
+
var _a;
|
|
21047
|
+
if ((_a = this.dataSource) == null ? void 0 : _a.boundary) {
|
|
21048
|
+
return this.dataSource.message || "Limit was reached. Please provide more selective criteria";
|
|
21049
|
+
}
|
|
21050
|
+
},
|
|
20896
21051
|
viewModeCacheKey() {
|
|
20897
21052
|
return `${this.cacheKey}-${this.loadKey}`;
|
|
20898
21053
|
},
|
|
@@ -21228,9 +21383,9 @@ const _sfc_main$6 = {
|
|
|
21228
21383
|
var _a, _b, _c, _d;
|
|
21229
21384
|
var self2 = this;
|
|
21230
21385
|
self2.loading = true;
|
|
21231
|
-
if (
|
|
21232
|
-
|
|
21233
|
-
|
|
21386
|
+
if (inflightRequest) {
|
|
21387
|
+
inflightRequest.cancel();
|
|
21388
|
+
inflightRequest = null;
|
|
21234
21389
|
}
|
|
21235
21390
|
var loadCriteria = Object.assign({}, self2.loadCriteria);
|
|
21236
21391
|
loadCriteria.includeAll = includeAll;
|
|
@@ -21258,15 +21413,20 @@ const _sfc_main$6 = {
|
|
|
21258
21413
|
};
|
|
21259
21414
|
}
|
|
21260
21415
|
}
|
|
21416
|
+
const id = Math.random();
|
|
21261
21417
|
const { promise, cancel } = await self2.$sdk.content.list(self2.type, loadCriteria, { cancellable: true });
|
|
21262
|
-
|
|
21418
|
+
inflightRequest = { id, cancel };
|
|
21263
21419
|
promise.then(function(res) {
|
|
21264
|
-
|
|
21265
|
-
|
|
21266
|
-
|
|
21420
|
+
if ((inflightRequest == null ? void 0 : inflightRequest.id) === id) {
|
|
21421
|
+
inflightRequest = null;
|
|
21422
|
+
self2.loading = false;
|
|
21423
|
+
self2.loadKey++;
|
|
21424
|
+
}
|
|
21267
21425
|
});
|
|
21268
21426
|
promise.catch(function(err) {
|
|
21269
|
-
|
|
21427
|
+
if ((inflightRequest == null ? void 0 : inflightRequest.id) === id) {
|
|
21428
|
+
inflightRequest = null;
|
|
21429
|
+
}
|
|
21270
21430
|
});
|
|
21271
21431
|
const { data } = await promise;
|
|
21272
21432
|
data.items.forEach(self2.ensureMeta);
|
|
@@ -21304,28 +21464,28 @@ const _sfc_main$6 = {
|
|
|
21304
21464
|
};
|
|
21305
21465
|
}
|
|
21306
21466
|
};
|
|
21307
|
-
const _withScopeId$1 = (n2) => (pushScopeId("data-v-
|
|
21308
|
-
const _hoisted_1$6 =
|
|
21309
|
-
const _hoisted_2$5 =
|
|
21310
|
-
const _hoisted_3$5 =
|
|
21311
|
-
const _hoisted_4$1 =
|
|
21467
|
+
const _withScopeId$1 = (n2) => (pushScopeId("data-v-ebe5f108"), n2 = n2(), popScopeId(), n2);
|
|
21468
|
+
const _hoisted_1$6 = { class: "footer" };
|
|
21469
|
+
const _hoisted_2$5 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
21470
|
+
const _hoisted_3$5 = { key: 0 };
|
|
21471
|
+
const _hoisted_4$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
21312
21472
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21313
21473
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
21474
|
+
const _component_ux_panel_body = resolveComponent("ux-panel-body");
|
|
21475
|
+
const _component_ux_panel = resolveComponent("ux-panel");
|
|
21476
|
+
const _component_flex_column = resolveComponent("flex-column");
|
|
21314
21477
|
const _component_ux_button = resolveComponent("ux-button");
|
|
21315
21478
|
const _component_ux_list_item = resolveComponent("ux-list-item");
|
|
21316
21479
|
const _component_ux_list = resolveComponent("ux-list");
|
|
21317
21480
|
const _component_ux_menu = resolveComponent("ux-menu");
|
|
21318
21481
|
const _component_native_table = resolveComponent("native-table");
|
|
21319
|
-
const
|
|
21320
|
-
const
|
|
21321
|
-
const _component_ux_panel = resolveComponent("ux-panel");
|
|
21482
|
+
const _component_pager = resolveComponent("pager");
|
|
21483
|
+
const _component_flex_footer = resolveComponent("flex-footer");
|
|
21322
21484
|
const _component_flex_row = resolveComponent("flex-row");
|
|
21323
21485
|
const _component_search = resolveComponent("search");
|
|
21324
21486
|
const _component_ux_field = resolveComponent("ux-field");
|
|
21325
21487
|
const _component_filter_builder = resolveComponent("filter-builder");
|
|
21326
21488
|
const _component_flex_body = resolveComponent("flex-body");
|
|
21327
|
-
const _component_pager = resolveComponent("pager");
|
|
21328
|
-
const _component_flex_footer = resolveComponent("flex-footer");
|
|
21329
21489
|
const _component_spinner = resolveComponent("spinner");
|
|
21330
21490
|
return $data.definition ? (openBlock(), createBlock(_component_flex_column, {
|
|
21331
21491
|
key: 0,
|
|
@@ -21342,107 +21502,148 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21342
21502
|
default: withCtx(() => [
|
|
21343
21503
|
createVNode(_component_flex_column, null, {
|
|
21344
21504
|
default: withCtx(() => [
|
|
21345
|
-
|
|
21346
|
-
|
|
21347
|
-
|
|
21348
|
-
|
|
21349
|
-
$options.
|
|
21505
|
+
createVNode(_component_flex_column, null, {
|
|
21506
|
+
default: withCtx(() => [
|
|
21507
|
+
$data.dataSource ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
21508
|
+
renderSlot(_ctx.$slots, "abovecontent", {}, void 0, true),
|
|
21509
|
+
$options.boundaryMessage ? (openBlock(), createBlock(_component_flex_column, {
|
|
21350
21510
|
key: 0,
|
|
21351
|
-
|
|
21352
|
-
selection: $data.manager.items,
|
|
21353
|
-
items: $options.items,
|
|
21354
|
-
"onClick:actions": $options.actionsClicked,
|
|
21355
|
-
"onSelect:item:toggle": $options.rowToggled,
|
|
21356
|
-
"onClick:item": $options.rowClicked
|
|
21357
|
-
}, null, 40, ["cacheKey", "selection", "items", "onClick:actions", "onSelect:item:toggle", "onClick:item"])) : (openBlock(), createBlock(_component_native_table, {
|
|
21358
|
-
key: 1,
|
|
21359
|
-
sort: $data.sort,
|
|
21360
|
-
"onUpdate:sort": _cache[0] || (_cache[0] = ($event) => $data.sort = $event),
|
|
21361
|
-
enableSelection: $props.enableSelection,
|
|
21362
|
-
enableActions: $props.enableActions,
|
|
21363
|
-
total: $options.totalItems,
|
|
21364
|
-
selectAll: $options.selectAll,
|
|
21365
|
-
deselectAll: $options.deselectAllFunction,
|
|
21366
|
-
selection: $data.manager.items,
|
|
21367
|
-
"onClick:row": $options.rowClicked,
|
|
21368
|
-
"onClick:actions": $options.actionsClicked,
|
|
21369
|
-
"onSelect:row:toggle": $options.rowToggled,
|
|
21370
|
-
"onSelect:multiple": $options.selectMultiple,
|
|
21371
|
-
"onDeselect:multiple": $options.deselectMultiple,
|
|
21372
|
-
rows: $options.items,
|
|
21373
|
-
columns: $options.columns
|
|
21511
|
+
class: "empty"
|
|
21374
21512
|
}, {
|
|
21375
|
-
|
|
21376
|
-
createVNode(
|
|
21377
|
-
|
|
21378
|
-
createVNode(
|
|
21513
|
+
default: withCtx(() => [
|
|
21514
|
+
createVNode(_component_ux_panel, null, {
|
|
21515
|
+
default: withCtx(() => [
|
|
21516
|
+
createVNode(_component_ux_panel_body, null, {
|
|
21379
21517
|
default: withCtx(() => [
|
|
21380
|
-
createVNode(_component_ux_icon, {
|
|
21518
|
+
createVNode(_component_ux_icon, {
|
|
21519
|
+
class: "large-icon",
|
|
21520
|
+
icon: "fa-database"
|
|
21521
|
+
}),
|
|
21522
|
+
createElementVNode("div", null, toDisplayString($options.boundaryMessage), 1)
|
|
21381
21523
|
]),
|
|
21382
|
-
_:
|
|
21383
|
-
}
|
|
21524
|
+
_: 1
|
|
21525
|
+
})
|
|
21384
21526
|
]),
|
|
21385
|
-
|
|
21386
|
-
|
|
21527
|
+
_: 1
|
|
21528
|
+
})
|
|
21529
|
+
]),
|
|
21530
|
+
_: 1
|
|
21531
|
+
})) : $options.items.length ? (openBlock(), createBlock(_component_flex_column, { key: 1 }, {
|
|
21532
|
+
default: withCtx(() => [
|
|
21533
|
+
$options.viewMode && $options.viewMode.component ? (openBlock(), createBlock(resolveDynamicComponent($options.viewMode.component), {
|
|
21534
|
+
key: 0,
|
|
21535
|
+
cacheKey: $options.viewModeCacheKey,
|
|
21536
|
+
selection: $data.manager.items,
|
|
21537
|
+
items: $options.items,
|
|
21538
|
+
"onClick:actions": $options.actionsClicked,
|
|
21539
|
+
"onSelect:item:toggle": $options.rowToggled,
|
|
21540
|
+
"onClick:item": $options.rowClicked
|
|
21541
|
+
}, null, 40, ["cacheKey", "selection", "items", "onClick:actions", "onSelect:item:toggle", "onClick:item"])) : (openBlock(), createBlock(_component_native_table, {
|
|
21542
|
+
key: 1,
|
|
21543
|
+
sort: $data.sort,
|
|
21544
|
+
"onUpdate:sort": _cache[0] || (_cache[0] = ($event) => $data.sort = $event),
|
|
21545
|
+
enableSelection: $props.enableSelection,
|
|
21546
|
+
enableActions: $props.enableActions,
|
|
21547
|
+
total: $options.totalItems,
|
|
21548
|
+
selectAll: $options.selectAll,
|
|
21549
|
+
deselectAll: $options.deselectAllFunction,
|
|
21550
|
+
selection: $data.manager.items,
|
|
21551
|
+
"onClick:row": $options.rowClicked,
|
|
21552
|
+
"onClick:actions": $options.actionsClicked,
|
|
21553
|
+
"onSelect:row:toggle": $options.rowToggled,
|
|
21554
|
+
"onSelect:multiple": $options.selectMultiple,
|
|
21555
|
+
"onDeselect:multiple": $options.deselectMultiple,
|
|
21556
|
+
rows: $options.items,
|
|
21557
|
+
columns: $options.columns
|
|
21558
|
+
}, {
|
|
21559
|
+
corner: withCtx(() => [
|
|
21560
|
+
createVNode(_component_ux_menu, { right: "" }, {
|
|
21561
|
+
activator: withCtx(({ on: on2 }) => [
|
|
21562
|
+
createVNode(_component_ux_button, mergeProps({ icon: "" }, toHandlers(on2)), {
|
|
21563
|
+
default: withCtx(() => [
|
|
21564
|
+
createVNode(_component_ux_icon, { icon: "fa-cog" })
|
|
21565
|
+
]),
|
|
21566
|
+
_: 2
|
|
21567
|
+
}, 1040)
|
|
21568
|
+
]),
|
|
21387
21569
|
default: withCtx(() => [
|
|
21388
|
-
(
|
|
21389
|
-
|
|
21390
|
-
|
|
21391
|
-
|
|
21392
|
-
|
|
21393
|
-
|
|
21394
|
-
|
|
21395
|
-
|
|
21396
|
-
|
|
21397
|
-
|
|
21398
|
-
|
|
21399
|
-
|
|
21400
|
-
|
|
21401
|
-
|
|
21402
|
-
|
|
21570
|
+
createVNode(_component_ux_list, null, {
|
|
21571
|
+
default: withCtx(() => [
|
|
21572
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.fields, (field) => {
|
|
21573
|
+
return openBlock(), createBlock(_component_ux_list_item, {
|
|
21574
|
+
onClick: ($event) => $options.toggleField(field),
|
|
21575
|
+
key: field.path
|
|
21576
|
+
}, {
|
|
21577
|
+
default: withCtx(() => [
|
|
21578
|
+
createVNode(_component_ux_icon, {
|
|
21579
|
+
icon: $options.fieldEnabled[field.path] ? "fa-check-square" : "fa-regular fa-square",
|
|
21580
|
+
left: ""
|
|
21581
|
+
}, null, 8, ["icon"]),
|
|
21582
|
+
createTextVNode(" " + toDisplayString(field.title), 1)
|
|
21583
|
+
]),
|
|
21584
|
+
_: 2
|
|
21585
|
+
}, 1032, ["onClick"]);
|
|
21586
|
+
}), 128))
|
|
21587
|
+
]),
|
|
21588
|
+
_: 1
|
|
21589
|
+
})
|
|
21403
21590
|
]),
|
|
21404
21591
|
_: 1
|
|
21405
21592
|
})
|
|
21406
21593
|
]),
|
|
21407
21594
|
_: 1
|
|
21408
|
-
})
|
|
21595
|
+
}, 8, ["sort", "enableSelection", "enableActions", "total", "selectAll", "deselectAll", "selection", "onClick:row", "onClick:actions", "onSelect:row:toggle", "onSelect:multiple", "onDeselect:multiple", "rows", "columns"]))
|
|
21409
21596
|
]),
|
|
21410
21597
|
_: 1
|
|
21411
|
-
}
|
|
21412
|
-
|
|
21413
|
-
|
|
21414
|
-
|
|
21415
|
-
|
|
21416
|
-
class: "empty",
|
|
21417
|
-
center: ""
|
|
21418
|
-
}, {
|
|
21419
|
-
default: withCtx(() => [
|
|
21420
|
-
createVNode(_component_ux_panel, null, {
|
|
21598
|
+
})) : !$data.loading ? (openBlock(), createBlock(_component_flex_column, {
|
|
21599
|
+
key: 2,
|
|
21600
|
+
class: "empty",
|
|
21601
|
+
center: ""
|
|
21602
|
+
}, {
|
|
21421
21603
|
default: withCtx(() => [
|
|
21422
|
-
createVNode(
|
|
21604
|
+
createVNode(_component_ux_panel, null, {
|
|
21423
21605
|
default: withCtx(() => [
|
|
21424
|
-
|
|
21606
|
+
createVNode(_component_ux_panel_body, null, {
|
|
21607
|
+
default: withCtx(() => [
|
|
21608
|
+
createElementVNode("div", null, "No " + toDisplayString($data.definition.plural) + " found.", 1)
|
|
21609
|
+
]),
|
|
21610
|
+
_: 1
|
|
21611
|
+
})
|
|
21425
21612
|
]),
|
|
21426
21613
|
_: 1
|
|
21427
21614
|
})
|
|
21428
21615
|
]),
|
|
21429
21616
|
_: 1
|
|
21430
|
-
})
|
|
21617
|
+
})) : (openBlock(), createBlock(_component_flex_column, {
|
|
21618
|
+
key: 3,
|
|
21619
|
+
class: "empty",
|
|
21620
|
+
center: ""
|
|
21621
|
+
}))
|
|
21622
|
+
], 64)) : createCommentVNode("", true)
|
|
21623
|
+
]),
|
|
21624
|
+
_: 3
|
|
21625
|
+
}),
|
|
21626
|
+
$data.dataSource && !$options.boundaryMessage ? (openBlock(), createBlock(_component_flex_footer, { key: 0 }, {
|
|
21627
|
+
default: withCtx(() => [
|
|
21628
|
+
renderSlot(_ctx.$slots, "footera", {}, void 0, true),
|
|
21629
|
+
createElementVNode("div", _hoisted_1$6, [
|
|
21630
|
+
createVNode(_component_pager, {
|
|
21631
|
+
page: $data.page,
|
|
21632
|
+
"onUpdate:page": _cache[1] || (_cache[1] = ($event) => $data.page = $event),
|
|
21633
|
+
total: $options.totalItems
|
|
21634
|
+
}, null, 8, ["page", "total"])
|
|
21431
21635
|
]),
|
|
21432
|
-
|
|
21433
|
-
|
|
21434
|
-
|
|
21435
|
-
|
|
21436
|
-
center: ""
|
|
21437
|
-
}))
|
|
21438
|
-
], 64)) : createCommentVNode("", true)
|
|
21636
|
+
renderSlot(_ctx.$slots, "footerb", {}, void 0, true)
|
|
21637
|
+
]),
|
|
21638
|
+
_: 3
|
|
21639
|
+
})) : createCommentVNode("", true)
|
|
21439
21640
|
]),
|
|
21440
21641
|
_: 3
|
|
21441
21642
|
})
|
|
21442
21643
|
]),
|
|
21443
21644
|
_: 3
|
|
21444
21645
|
}, 8, ["class"]),
|
|
21445
|
-
$
|
|
21646
|
+
$options.showFilterSidebar ? (openBlock(), createBlock(_component_flex_column, {
|
|
21446
21647
|
key: 0,
|
|
21447
21648
|
class: "filter-column"
|
|
21448
21649
|
}, {
|
|
@@ -21452,24 +21653,24 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21452
21653
|
default: withCtx(() => [
|
|
21453
21654
|
createVNode(_component_search, {
|
|
21454
21655
|
modelValue: $data.keywords,
|
|
21455
|
-
"onUpdate:modelValue": _cache[
|
|
21656
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.keywords = $event),
|
|
21456
21657
|
loading: $options.searching,
|
|
21457
21658
|
debounce: 500,
|
|
21458
21659
|
placeholder: "Keyword Search"
|
|
21459
21660
|
}, null, 8, ["modelValue", "loading"]),
|
|
21460
|
-
|
|
21461
|
-
$props.dateFilterEnabled ? (openBlock(), createElementBlock("div",
|
|
21661
|
+
_hoisted_2$5,
|
|
21662
|
+
$props.dateFilterEnabled ? (openBlock(), createElementBlock("div", _hoisted_3$5, [
|
|
21462
21663
|
createVNode(_component_ux_field, {
|
|
21463
21664
|
field: $options.dateRangeField,
|
|
21464
21665
|
modelValue: $data.dateRangeFilter,
|
|
21465
|
-
"onUpdate:modelValue": _cache[
|
|
21666
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.dateRangeFilter = $event)
|
|
21466
21667
|
}, null, 8, ["field", "modelValue"])
|
|
21467
21668
|
])) : createCommentVNode("", true),
|
|
21468
|
-
|
|
21669
|
+
_hoisted_4$1,
|
|
21469
21670
|
createVNode(_component_filter_builder, {
|
|
21470
21671
|
definition: $data.definition,
|
|
21471
21672
|
modelValue: $data.actualFilter,
|
|
21472
|
-
"onUpdate:modelValue": _cache[
|
|
21673
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.actualFilter = $event)
|
|
21473
21674
|
}, null, 8, ["definition", "modelValue"])
|
|
21474
21675
|
]),
|
|
21475
21676
|
_: 1
|
|
@@ -21484,29 +21685,15 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21484
21685
|
]),
|
|
21485
21686
|
_: 3
|
|
21486
21687
|
}),
|
|
21487
|
-
$data.dataSource ? (openBlock(), createBlock(_component_flex_footer, { key: 0 }, {
|
|
21488
|
-
default: withCtx(() => [
|
|
21489
|
-
renderSlot(_ctx.$slots, "footera", {}, void 0, true),
|
|
21490
|
-
createElementVNode("div", _hoisted_4$1, [
|
|
21491
|
-
createVNode(_component_pager, {
|
|
21492
|
-
page: $data.page,
|
|
21493
|
-
"onUpdate:page": _cache[4] || (_cache[4] = ($event) => $data.page = $event),
|
|
21494
|
-
total: $options.totalItems
|
|
21495
|
-
}, null, 8, ["page", "total"])
|
|
21496
|
-
]),
|
|
21497
|
-
renderSlot(_ctx.$slots, "footerb", {}, void 0, true)
|
|
21498
|
-
]),
|
|
21499
|
-
_: 3
|
|
21500
|
-
})) : createCommentVNode("", true),
|
|
21501
21688
|
$data.loading ? (openBlock(), createBlock(_component_spinner, {
|
|
21502
|
-
key:
|
|
21689
|
+
key: 0,
|
|
21503
21690
|
large: ""
|
|
21504
21691
|
})) : createCommentVNode("", true)
|
|
21505
21692
|
]),
|
|
21506
21693
|
_: 3
|
|
21507
21694
|
})) : createCommentVNode("", true);
|
|
21508
21695
|
}
|
|
21509
|
-
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-
|
|
21696
|
+
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-ebe5f108"]]);
|
|
21510
21697
|
var ModalMixin = {
|
|
21511
21698
|
props: {
|
|
21512
21699
|
options: {
|
|
@@ -22018,7 +22205,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22018
22205
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.search = $event),
|
|
22019
22206
|
loading: $data.searching,
|
|
22020
22207
|
debounce: 500,
|
|
22021
|
-
placeholder: "Search"
|
|
22208
|
+
placeholder: "Keyword Search"
|
|
22022
22209
|
}, null, 8, ["modelValue", "loading"])
|
|
22023
22210
|
]),
|
|
22024
22211
|
_: 1
|
|
@@ -22065,14 +22252,14 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22065
22252
|
}),
|
|
22066
22253
|
createVNode(_component_content_browser, {
|
|
22067
22254
|
rolodexPrimary: $options.rolodexPrimary,
|
|
22068
|
-
"onUpdate:rolodexPrimary": _cache[
|
|
22255
|
+
"onUpdate:rolodexPrimary": _cache[3] || (_cache[3] = ($event) => $options.rolodexPrimary = $event),
|
|
22069
22256
|
showFilters: $data.showFilters,
|
|
22070
22257
|
ref: "browser",
|
|
22071
22258
|
search: $data.search,
|
|
22072
22259
|
"onClick:row": $options.rowClicked,
|
|
22073
22260
|
maximum: _ctx.options.maximum,
|
|
22074
22261
|
modelValue: $data.model,
|
|
22075
|
-
"onUpdate:modelValue": _cache[
|
|
22262
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => $data.model = $event),
|
|
22076
22263
|
type: _ctx.options.type,
|
|
22077
22264
|
options: $options.browserOptions
|
|
22078
22265
|
}, {
|
|
@@ -22080,6 +22267,17 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22080
22267
|
$options.rolodexEnabled ? (openBlock(), createBlock(_component_flex_header, { key: 0 }, {
|
|
22081
22268
|
default: withCtx(() => [
|
|
22082
22269
|
createElementVNode("div", _hoisted_3$1, [
|
|
22270
|
+
createVNode(_component_ux_button, {
|
|
22271
|
+
size: "sm",
|
|
22272
|
+
onClick: _cache[2] || (_cache[2] = ($event) => $options.toggleRolodex("")),
|
|
22273
|
+
icon: "",
|
|
22274
|
+
color: !$options.rolodexPrimary ? "primary" : ""
|
|
22275
|
+
}, {
|
|
22276
|
+
default: withCtx(() => [
|
|
22277
|
+
createTextVNode("All")
|
|
22278
|
+
]),
|
|
22279
|
+
_: 1
|
|
22280
|
+
}, 8, ["color"]),
|
|
22083
22281
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.letters, (letter) => {
|
|
22084
22282
|
return openBlock(), createBlock(_component_ux_button, {
|
|
22085
22283
|
size: "sm",
|
|
@@ -22106,7 +22304,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
22106
22304
|
_: 1
|
|
22107
22305
|
});
|
|
22108
22306
|
}
|
|
22109
|
-
var UxContentModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
22307
|
+
var UxContentModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-46991808"]]);
|
|
22110
22308
|
var ScopeModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22111
22309
|
const _sfc_main = {
|
|
22112
22310
|
components: {
|
|
@@ -22368,6 +22566,7 @@ const defaultComponents = {
|
|
|
22368
22566
|
UxMenu: UXMenu,
|
|
22369
22567
|
UxMenuList: UXMenuList,
|
|
22370
22568
|
UxImage: UXImage,
|
|
22569
|
+
UxVideo: UXVideo,
|
|
22371
22570
|
UxButton: UXButton,
|
|
22372
22571
|
UxCheckbox: UXCheckbox,
|
|
22373
22572
|
UxSwitch: UXSwitch,
|
|
@@ -22449,5 +22648,5 @@ const QikUI = {
|
|
|
22449
22648
|
}
|
|
22450
22649
|
}
|
|
22451
22650
|
};
|
|
22452
|
-
export { Avatar, CodeEditor, ContentBrowser, Daterange as DateRange, device as Device, FileDrop, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Pager$1 as Pager, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikUI, RememberScrollMixin, ScopeSelect$1 as ScopeSelect, ScopeSelectButton, 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, UxScopeModal };
|
|
22651
|
+
export { Avatar, CodeEditor, ContentBrowser, Daterange as DateRange, device as Device, FileDrop, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Pager$1 as Pager, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikUI, RememberScrollMixin, ScopeSelect$1 as ScopeSelect, ScopeSelectButton, Search, Selection, Spinner, UXButton, UXCheckbox, UXForm, UXFormField, UXIcon, UXImage, UXLink, UXList, UXListItem, UXMenu, UXMenuList, UXRender, UXRenderField, UXSubmissionForm, UXSwitch, UXTab, NativeTable as UXTable, UXTabset, UXVideo, UxConfirmModal, UxContentModal, UxModal, UxOptionsModal, UxPromptModal, UxScopeModal };
|
|
22453
22652
|
//# sourceMappingURL=lib.es.js.map
|