@qikdev/vue-ui 0.2.51 → 0.2.55
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 +325 -195
- 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, normalizeClass, Fragment,
|
|
33
|
+
import { openBlock, createElementBlock, renderSlot, resolveComponent, normalizeClass, Fragment, createBlock, withCtx, createVNode, renderList, toDisplayString, createCommentVNode, withDirectives, resolveDynamicComponent, vShow, withModifiers, createTextVNode, 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.55";
|
|
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$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
|
|
@@ -158,6 +158,9 @@ const _sfc_main$1g = {
|
|
|
158
158
|
}
|
|
159
159
|
},
|
|
160
160
|
computed: {
|
|
161
|
+
menuRequired() {
|
|
162
|
+
return this.tabs.length > 1;
|
|
163
|
+
},
|
|
161
164
|
tabs() {
|
|
162
165
|
const self2 = this;
|
|
163
166
|
const slotChildren = self2.$slots.default().map(function(child) {
|
|
@@ -175,9 +178,9 @@ const _sfc_main$1g = {
|
|
|
175
178
|
}
|
|
176
179
|
}
|
|
177
180
|
};
|
|
178
|
-
const _hoisted_1$
|
|
179
|
-
const _hoisted_2$
|
|
180
|
-
function _sfc_render$
|
|
181
|
+
const _hoisted_1$X = ["onClick"];
|
|
182
|
+
const _hoisted_2$M = ["onClick"];
|
|
183
|
+
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
181
184
|
const _component_flex_body = resolveComponent("flex-body");
|
|
182
185
|
const _component_flex_column = resolveComponent("flex-column");
|
|
183
186
|
const _component_flex_row = resolveComponent("flex-row");
|
|
@@ -186,7 +189,10 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
186
189
|
class: normalizeClass(["ux-tabset", { vertical: $props.vertical, horizontal: !$props.vertical, inline: $props.inline, block: !$props.inline }])
|
|
187
190
|
}, [
|
|
188
191
|
$props.vertical ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
189
|
-
|
|
192
|
+
$options.menuRequired ? (openBlock(), createBlock(_component_flex_column, {
|
|
193
|
+
key: 0,
|
|
194
|
+
class: "tabset-menu"
|
|
195
|
+
}, {
|
|
190
196
|
default: withCtx(() => [
|
|
191
197
|
createVNode(_component_flex_body, null, {
|
|
192
198
|
default: withCtx(() => [
|
|
@@ -195,14 +201,14 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
195
201
|
class: normalizeClass({ active: index2 === $data.activeIndex }),
|
|
196
202
|
key: `tab-link-${tab.props.heading}`,
|
|
197
203
|
onClick: ($event) => $options.select(index2)
|
|
198
|
-
}, toDisplayString(tab.props.heading), 11, _hoisted_1$
|
|
204
|
+
}, toDisplayString(tab.props.heading), 11, _hoisted_1$X);
|
|
199
205
|
}), 128))
|
|
200
206
|
]),
|
|
201
207
|
_: 1
|
|
202
208
|
})
|
|
203
209
|
]),
|
|
204
210
|
_: 1
|
|
205
|
-
}),
|
|
211
|
+
})) : createCommentVNode("", true),
|
|
206
212
|
createVNode(_component_flex_column, null, {
|
|
207
213
|
default: withCtx(() => [
|
|
208
214
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.tabs, (tab, index2) => {
|
|
@@ -221,7 +227,10 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
221
227
|
_: 1
|
|
222
228
|
})
|
|
223
229
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
224
|
-
|
|
230
|
+
$options.menuRequired ? (openBlock(), createBlock(_component_flex_header, {
|
|
231
|
+
key: 0,
|
|
232
|
+
class: "tabset-menu"
|
|
233
|
+
}, {
|
|
225
234
|
default: withCtx(() => [
|
|
226
235
|
createVNode(_component_flex_row, null, {
|
|
227
236
|
default: withCtx(() => [
|
|
@@ -230,14 +239,14 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
230
239
|
class: normalizeClass({ active: index2 === $data.activeIndex }),
|
|
231
240
|
key: `tab-link-${tab.props.heading}`,
|
|
232
241
|
onClick: ($event) => $options.select(index2)
|
|
233
|
-
}, toDisplayString(tab.props.heading), 11, _hoisted_2$
|
|
242
|
+
}, toDisplayString(tab.props.heading), 11, _hoisted_2$M);
|
|
234
243
|
}), 128))
|
|
235
244
|
]),
|
|
236
245
|
_: 1
|
|
237
246
|
})
|
|
238
247
|
]),
|
|
239
248
|
_: 1
|
|
240
|
-
}),
|
|
249
|
+
})) : createCommentVNode("", true),
|
|
241
250
|
createVNode(_component_flex_column, null, {
|
|
242
251
|
default: withCtx(() => [
|
|
243
252
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.tabs, (tab, index2) => {
|
|
@@ -258,8 +267,8 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
258
267
|
], 64))
|
|
259
268
|
], 2);
|
|
260
269
|
}
|
|
261
|
-
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
262
|
-
const _sfc_main$
|
|
270
|
+
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__scopeId", "data-v-99e2c0be"]]);
|
|
271
|
+
const _sfc_main$1g = {
|
|
263
272
|
props: {
|
|
264
273
|
heading: {
|
|
265
274
|
type: String,
|
|
@@ -286,7 +295,7 @@ const _sfc_main$1f = {
|
|
|
286
295
|
}
|
|
287
296
|
}
|
|
288
297
|
};
|
|
289
|
-
function _sfc_render$
|
|
298
|
+
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
290
299
|
const _component_flex_column = resolveComponent("flex-column");
|
|
291
300
|
return openBlock(), createBlock(_component_flex_column, null, {
|
|
292
301
|
default: withCtx(() => [
|
|
@@ -295,7 +304,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
295
304
|
_: 3
|
|
296
305
|
});
|
|
297
306
|
}
|
|
298
|
-
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
307
|
+
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1g]]);
|
|
299
308
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
300
309
|
var isArray$5 = Array.isArray;
|
|
301
310
|
var isArray_1 = isArray$5;
|
|
@@ -763,7 +772,7 @@ var TableCellMixin = {
|
|
|
763
772
|
}
|
|
764
773
|
};
|
|
765
774
|
var Thumbnail_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
766
|
-
const _sfc_main$
|
|
775
|
+
const _sfc_main$1f = {
|
|
767
776
|
mixins: [TableCellMixin],
|
|
768
777
|
computed: {
|
|
769
778
|
imageSource() {
|
|
@@ -780,11 +789,11 @@ const _sfc_main$1e = {
|
|
|
780
789
|
}
|
|
781
790
|
}
|
|
782
791
|
};
|
|
783
|
-
const _hoisted_1$
|
|
784
|
-
function _sfc_render$
|
|
792
|
+
const _hoisted_1$W = { class: "table-image-cell" };
|
|
793
|
+
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
785
794
|
const _component_ux_image = resolveComponent("ux-image");
|
|
786
795
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
787
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
796
|
+
return openBlock(), createElementBlock("td", _hoisted_1$W, [
|
|
788
797
|
$options.type == "image" || $options.type == "video" ? (openBlock(), createElementBlock("div", {
|
|
789
798
|
key: 0,
|
|
790
799
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.clicked(_ctx.value), ["stop", "prevent"])),
|
|
@@ -802,9 +811,9 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
802
811
|
}))
|
|
803
812
|
]);
|
|
804
813
|
}
|
|
805
|
-
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
814
|
+
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__scopeId", "data-v-246a2688"]]);
|
|
806
815
|
var Currency_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
807
|
-
const _sfc_main$
|
|
816
|
+
const _sfc_main$1e = {
|
|
808
817
|
mixins: [TableCellMixin],
|
|
809
818
|
computed: {
|
|
810
819
|
string() {
|
|
@@ -827,14 +836,14 @@ const _sfc_main$1d = {
|
|
|
827
836
|
}
|
|
828
837
|
}
|
|
829
838
|
};
|
|
830
|
-
function _sfc_render$
|
|
839
|
+
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
831
840
|
return openBlock(), createElementBlock("td", {
|
|
832
841
|
class: normalizeClass(["table-currency-cell", { credit: $options.credit, empty: $options.empty, debit: $options.debit }])
|
|
833
842
|
}, toDisplayString($options.string), 3);
|
|
834
843
|
}
|
|
835
|
-
var CurrencyCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
844
|
+
var CurrencyCell = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__scopeId", "data-v-33a0b926"]]);
|
|
836
845
|
var Button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
837
|
-
const _sfc_main$
|
|
846
|
+
const _sfc_main$1d = {
|
|
838
847
|
data() {
|
|
839
848
|
return {
|
|
840
849
|
processing: false
|
|
@@ -866,11 +875,11 @@ const _sfc_main$1c = {
|
|
|
866
875
|
}
|
|
867
876
|
}
|
|
868
877
|
};
|
|
869
|
-
const _hoisted_1$
|
|
870
|
-
function _sfc_render$
|
|
878
|
+
const _hoisted_1$V = { class: "table-button-cell" };
|
|
879
|
+
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
871
880
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
872
881
|
const _component_ux_button = resolveComponent("ux-button");
|
|
873
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
882
|
+
return openBlock(), createElementBlock("td", _hoisted_1$V, [
|
|
874
883
|
createVNode(_component_ux_button, {
|
|
875
884
|
color: $options.button.color,
|
|
876
885
|
size: $options.button.size,
|
|
@@ -891,7 +900,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
891
900
|
}, 8, ["color", "size", "loading", "onClick"])
|
|
892
901
|
]);
|
|
893
902
|
}
|
|
894
|
-
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
903
|
+
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-ac248c56"]]);
|
|
895
904
|
class LuxonError extends Error {
|
|
896
905
|
}
|
|
897
906
|
class InvalidDateTimeError extends LuxonError {
|
|
@@ -4725,7 +4734,7 @@ function friendlyDateTime(dateTimeish) {
|
|
|
4725
4734
|
}
|
|
4726
4735
|
}
|
|
4727
4736
|
var DateCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4728
|
-
const _sfc_main$
|
|
4737
|
+
const _sfc_main$1c = {
|
|
4729
4738
|
mixins: [TableCellMixin],
|
|
4730
4739
|
computed: {
|
|
4731
4740
|
hasValue() {
|
|
@@ -4746,23 +4755,23 @@ const _sfc_main$1b = {
|
|
|
4746
4755
|
}
|
|
4747
4756
|
}
|
|
4748
4757
|
};
|
|
4749
|
-
const _hoisted_1$
|
|
4750
|
-
const _hoisted_2$
|
|
4751
|
-
const _hoisted_3$
|
|
4758
|
+
const _hoisted_1$U = { class: "table-date-cell" };
|
|
4759
|
+
const _hoisted_2$L = { key: 0 };
|
|
4760
|
+
const _hoisted_3$E = { class: "off" };
|
|
4752
4761
|
const _hoisted_4$t = { class: "on" };
|
|
4753
4762
|
const _hoisted_5$o = { class: "spacer" };
|
|
4754
|
-
function _sfc_render$
|
|
4755
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
4756
|
-
$options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4757
|
-
createElementVNode("span", _hoisted_3$
|
|
4763
|
+
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4764
|
+
return openBlock(), createElementBlock("td", _hoisted_1$U, [
|
|
4765
|
+
$options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$L, [
|
|
4766
|
+
createElementVNode("span", _hoisted_3$E, toDisplayString($options.readable), 1),
|
|
4758
4767
|
createElementVNode("span", _hoisted_4$t, toDisplayString($options.timeago), 1),
|
|
4759
4768
|
createElementVNode("span", _hoisted_5$o, toDisplayString($options.readable), 1)
|
|
4760
4769
|
])) : createCommentVNode("", true)
|
|
4761
4770
|
]);
|
|
4762
4771
|
}
|
|
4763
|
-
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4772
|
+
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-3687693f"]]);
|
|
4764
4773
|
var BooleanCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4765
|
-
const _sfc_main$
|
|
4774
|
+
const _sfc_main$1b = {
|
|
4766
4775
|
mixins: [TableCellMixin],
|
|
4767
4776
|
computed: {
|
|
4768
4777
|
boolean() {
|
|
@@ -4770,7 +4779,7 @@ const _sfc_main$1a = {
|
|
|
4770
4779
|
}
|
|
4771
4780
|
}
|
|
4772
4781
|
};
|
|
4773
|
-
function _sfc_render$
|
|
4782
|
+
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4774
4783
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4775
4784
|
return openBlock(), createElementBlock("td", {
|
|
4776
4785
|
class: normalizeClass(["table-boolean-cell", { true: $options.boolean, false: !$options.boolean }])
|
|
@@ -4780,9 +4789,9 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4780
4789
|
}, null, 8, ["icon"])
|
|
4781
4790
|
], 2);
|
|
4782
4791
|
}
|
|
4783
|
-
var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4792
|
+
var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__scopeId", "data-v-27f127ae"]]);
|
|
4784
4793
|
var SecurityCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4785
|
-
const _sfc_main$
|
|
4794
|
+
const _sfc_main$1a = {
|
|
4786
4795
|
mixins: [TableCellMixin],
|
|
4787
4796
|
methods: {
|
|
4788
4797
|
async clicked() {
|
|
@@ -4823,7 +4832,7 @@ const _sfc_main$19 = {
|
|
|
4823
4832
|
}
|
|
4824
4833
|
}
|
|
4825
4834
|
};
|
|
4826
|
-
function _sfc_render$
|
|
4835
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4827
4836
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4828
4837
|
const _component_ux_button = resolveComponent("ux-button");
|
|
4829
4838
|
return openBlock(), createElementBlock("td", {
|
|
@@ -4847,9 +4856,9 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4847
4856
|
}, null, 8, ["icon"]))
|
|
4848
4857
|
], 2);
|
|
4849
4858
|
}
|
|
4850
|
-
var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4859
|
+
var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__scopeId", "data-v-8845b144"]]);
|
|
4851
4860
|
var URLCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4852
|
-
const _sfc_main$
|
|
4861
|
+
const _sfc_main$19 = {
|
|
4853
4862
|
mixins: [TableCellMixin],
|
|
4854
4863
|
methods: {
|
|
4855
4864
|
open() {
|
|
@@ -4862,11 +4871,11 @@ const _sfc_main$18 = {
|
|
|
4862
4871
|
}
|
|
4863
4872
|
}
|
|
4864
4873
|
};
|
|
4865
|
-
const _hoisted_1$
|
|
4866
|
-
const _hoisted_2$
|
|
4867
|
-
function _sfc_render$
|
|
4874
|
+
const _hoisted_1$T = { class: "table-url-cell" };
|
|
4875
|
+
const _hoisted_2$K = ["href"];
|
|
4876
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4868
4877
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4869
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
4878
|
+
return openBlock(), createElementBlock("td", _hoisted_1$T, [
|
|
4870
4879
|
createElementVNode("a", {
|
|
4871
4880
|
href: $options.href,
|
|
4872
4881
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
|
|
@@ -4877,10 +4886,10 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4877
4886
|
right: "",
|
|
4878
4887
|
icon: "fa-external-link"
|
|
4879
4888
|
})
|
|
4880
|
-
], 8, _hoisted_2$
|
|
4889
|
+
], 8, _hoisted_2$K)
|
|
4881
4890
|
]);
|
|
4882
4891
|
}
|
|
4883
|
-
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4892
|
+
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-17cf3a86"]]);
|
|
4884
4893
|
var o = function(t, o2, e) {
|
|
4885
4894
|
if (!o2.hasOwnProperty(e)) {
|
|
4886
4895
|
var r = Object.getOwnPropertyDescriptor(t, e);
|
|
@@ -4942,24 +4951,24 @@ var Compile = { props: { template: String, parent: Object, templateProps: { type
|
|
|
4942
4951
|
var E, P;
|
|
4943
4952
|
} };
|
|
4944
4953
|
var ComputedCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4945
|
-
const _sfc_main$
|
|
4954
|
+
const _sfc_main$18 = {
|
|
4946
4955
|
components: {
|
|
4947
4956
|
Compile
|
|
4948
4957
|
},
|
|
4949
4958
|
mixins: [TableCellMixin]
|
|
4950
4959
|
};
|
|
4951
|
-
const _hoisted_1$
|
|
4952
|
-
function _sfc_render$
|
|
4960
|
+
const _hoisted_1$S = { class: "table-computed-cell" };
|
|
4961
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4953
4962
|
const _component_compile = resolveComponent("compile");
|
|
4954
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
4963
|
+
return openBlock(), createElementBlock("td", _hoisted_1$S, [
|
|
4955
4964
|
createVNode(_component_compile, {
|
|
4956
4965
|
template: this.column.code
|
|
4957
4966
|
}, null, 8, ["template"])
|
|
4958
4967
|
]);
|
|
4959
4968
|
}
|
|
4960
|
-
var ComputedCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4969
|
+
var ComputedCell = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-5f42b10c"]]);
|
|
4961
4970
|
var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4962
|
-
const _sfc_main$
|
|
4971
|
+
const _sfc_main$17 = {
|
|
4963
4972
|
props: {
|
|
4964
4973
|
multi: {
|
|
4965
4974
|
type: Boolean
|
|
@@ -5007,7 +5016,7 @@ const _sfc_main$16 = {
|
|
|
5007
5016
|
}
|
|
5008
5017
|
}
|
|
5009
5018
|
};
|
|
5010
|
-
function _sfc_render$
|
|
5019
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5011
5020
|
return $options.reference ? (openBlock(), createElementBlock("a", {
|
|
5012
5021
|
key: 0,
|
|
5013
5022
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.clicked($props.value), ["stop", "prevent"]))
|
|
@@ -5020,7 +5029,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5020
5029
|
], 64)) : createCommentVNode("", true)
|
|
5021
5030
|
], 64));
|
|
5022
5031
|
}
|
|
5023
|
-
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5032
|
+
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-255b9ec8"]]);
|
|
5024
5033
|
var TableCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5025
5034
|
function extract(row, path) {
|
|
5026
5035
|
if (!row) {
|
|
@@ -5045,7 +5054,7 @@ function extract(row, path) {
|
|
|
5045
5054
|
return extract(stub, remainder);
|
|
5046
5055
|
}
|
|
5047
5056
|
}
|
|
5048
|
-
const _sfc_main$
|
|
5057
|
+
const _sfc_main$16 = {
|
|
5049
5058
|
data() {
|
|
5050
5059
|
return {
|
|
5051
5060
|
component: null
|
|
@@ -5140,23 +5149,23 @@ const _sfc_main$15 = {
|
|
|
5140
5149
|
}
|
|
5141
5150
|
}
|
|
5142
5151
|
};
|
|
5143
|
-
const _hoisted_1$
|
|
5152
|
+
const _hoisted_1$R = {
|
|
5144
5153
|
key: 1,
|
|
5145
5154
|
class: "table-cell"
|
|
5146
5155
|
};
|
|
5147
|
-
const _hoisted_2$
|
|
5148
|
-
const _hoisted_3$
|
|
5149
|
-
function _sfc_render$
|
|
5156
|
+
const _hoisted_2$J = { class: "value" };
|
|
5157
|
+
const _hoisted_3$D = { class: "value" };
|
|
5158
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5150
5159
|
const _component_value_renderer = resolveComponent("value-renderer");
|
|
5151
5160
|
return $data.component ? (openBlock(), createBlock(resolveDynamicComponent($data.component), {
|
|
5152
5161
|
key: 0,
|
|
5153
5162
|
column: $props.column,
|
|
5154
5163
|
row: $props.row,
|
|
5155
5164
|
value: $options.value
|
|
5156
|
-
}, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$
|
|
5165
|
+
}, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$R, [
|
|
5157
5166
|
$options.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
5158
5167
|
$options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry, index2) => {
|
|
5159
|
-
return openBlock(), createElementBlock("span", _hoisted_2$
|
|
5168
|
+
return openBlock(), createElementBlock("span", _hoisted_2$J, [
|
|
5160
5169
|
createVNode(_component_value_renderer, {
|
|
5161
5170
|
type: $props.column.type,
|
|
5162
5171
|
multi: "",
|
|
@@ -5165,7 +5174,7 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5165
5174
|
}, null, 8, ["type", "last", "value"])
|
|
5166
5175
|
]);
|
|
5167
5176
|
}), 256)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($options.value, (entry, index2) => {
|
|
5168
|
-
return openBlock(), createElementBlock("span", _hoisted_3$
|
|
5177
|
+
return openBlock(), createElementBlock("span", _hoisted_3$D, [
|
|
5169
5178
|
createVNode(_component_value_renderer, {
|
|
5170
5179
|
type: $props.column.type,
|
|
5171
5180
|
multi: "",
|
|
@@ -5181,8 +5190,8 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5181
5190
|
}, null, 8, ["type", "value"]))
|
|
5182
5191
|
]));
|
|
5183
5192
|
}
|
|
5184
|
-
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5185
|
-
const _sfc_main$
|
|
5193
|
+
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-342f534a"]]);
|
|
5194
|
+
const _sfc_main$15 = {
|
|
5186
5195
|
components: {
|
|
5187
5196
|
TableCell
|
|
5188
5197
|
},
|
|
@@ -5237,7 +5246,7 @@ const _sfc_main$14 = {
|
|
|
5237
5246
|
}
|
|
5238
5247
|
}
|
|
5239
5248
|
};
|
|
5240
|
-
function _sfc_render$
|
|
5249
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5241
5250
|
const _component_ux_checkbox = resolveComponent("ux-checkbox");
|
|
5242
5251
|
const _component_table_cell = resolveComponent("table-cell");
|
|
5243
5252
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
@@ -5279,7 +5288,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5279
5288
|
])
|
|
5280
5289
|
], 2);
|
|
5281
5290
|
}
|
|
5282
|
-
var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5291
|
+
var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15]]);
|
|
5283
5292
|
var RememberScrollMixin = {
|
|
5284
5293
|
data() {
|
|
5285
5294
|
return {
|
|
@@ -5310,7 +5319,7 @@ var RememberScrollMixin = {
|
|
|
5310
5319
|
}
|
|
5311
5320
|
};
|
|
5312
5321
|
var Table_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5313
|
-
const _sfc_main$
|
|
5322
|
+
const _sfc_main$14 = {
|
|
5314
5323
|
mixins: [RememberScrollMixin],
|
|
5315
5324
|
components: {
|
|
5316
5325
|
TableRow,
|
|
@@ -5548,12 +5557,12 @@ const _sfc_main$13 = {
|
|
|
5548
5557
|
}
|
|
5549
5558
|
}
|
|
5550
5559
|
};
|
|
5551
|
-
const _hoisted_1$
|
|
5552
|
-
const _hoisted_2$
|
|
5560
|
+
const _hoisted_1$Q = { class: "table-wrapper" };
|
|
5561
|
+
const _hoisted_2$I = {
|
|
5553
5562
|
class: "table-scroll",
|
|
5554
5563
|
ref: "scroll"
|
|
5555
5564
|
};
|
|
5556
|
-
const _hoisted_3$
|
|
5565
|
+
const _hoisted_3$C = {
|
|
5557
5566
|
key: 0,
|
|
5558
5567
|
class: "first table-select shrink"
|
|
5559
5568
|
};
|
|
@@ -5562,7 +5571,7 @@ const _hoisted_5$n = {
|
|
|
5562
5571
|
key: 1,
|
|
5563
5572
|
class: "last shrink"
|
|
5564
5573
|
};
|
|
5565
|
-
function _sfc_render$
|
|
5574
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5566
5575
|
const _component_ux_checkbox = resolveComponent("ux-checkbox");
|
|
5567
5576
|
const _component_ux_list_item = resolveComponent("ux-list-item");
|
|
5568
5577
|
const _component_ux_list = resolveComponent("ux-list");
|
|
@@ -5570,12 +5579,12 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5570
5579
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
5571
5580
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5572
5581
|
const _component_table_row = resolveComponent("table-row");
|
|
5573
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5574
|
-
createElementVNode("div", _hoisted_2$
|
|
5582
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
5583
|
+
createElementVNode("div", _hoisted_2$I, [
|
|
5575
5584
|
createElementVNode("table", null, [
|
|
5576
5585
|
createElementVNode("thead", null, [
|
|
5577
5586
|
createElementVNode("tr", null, [
|
|
5578
|
-
$props.enableSelection ? (openBlock(), createElementBlock("th", _hoisted_3$
|
|
5587
|
+
$props.enableSelection ? (openBlock(), createElementBlock("th", _hoisted_3$C, [
|
|
5579
5588
|
createVNode(_component_ux_menu, null, {
|
|
5580
5589
|
activator: withCtx(({ on: on2 }) => [
|
|
5581
5590
|
createVNode(_component_ux_checkbox, mergeProps(toHandlers(on2), { value: $options.pageSelected }), null, 16, ["value"])
|
|
@@ -5686,7 +5695,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5686
5695
|
], 512)
|
|
5687
5696
|
]);
|
|
5688
5697
|
}
|
|
5689
|
-
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5698
|
+
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-03eb874f"]]);
|
|
5690
5699
|
var safeJsonStringify$1 = { exports: {} };
|
|
5691
5700
|
var hasProp = Object.prototype.hasOwnProperty;
|
|
5692
5701
|
function throwsMessage(err) {
|
|
@@ -5765,11 +5774,7 @@ var InputMixin = {
|
|
|
5765
5774
|
},
|
|
5766
5775
|
watch: {
|
|
5767
5776
|
modelValue(val, old) {
|
|
5768
|
-
|
|
5769
|
-
var cleanedModel = this.cleanInput(this.model);
|
|
5770
|
-
if (safeJsonStringify(cleanedValue) != safeJsonStringify(cleanedModel)) {
|
|
5771
|
-
this.model = cleanedValue;
|
|
5772
|
-
}
|
|
5777
|
+
this.model = val;
|
|
5773
5778
|
}
|
|
5774
5779
|
},
|
|
5775
5780
|
mounted() {
|
|
@@ -5797,9 +5802,22 @@ var InputMixin = {
|
|
|
5797
5802
|
return cleaned;
|
|
5798
5803
|
},
|
|
5799
5804
|
set(val) {
|
|
5800
|
-
|
|
5801
|
-
this.
|
|
5802
|
-
|
|
5805
|
+
let force;
|
|
5806
|
+
if (this.isGroup || this.widget === "form") {
|
|
5807
|
+
if (val === this.value) {
|
|
5808
|
+
force = false;
|
|
5809
|
+
} else {
|
|
5810
|
+
force = true;
|
|
5811
|
+
}
|
|
5812
|
+
}
|
|
5813
|
+
const cleanedValue = this.cleanInput(val);
|
|
5814
|
+
const cleanedModel = this.cleanInput(this.value);
|
|
5815
|
+
const contentHasChanged = safeJsonStringify(cleanedValue) != safeJsonStringify(cleanedModel);
|
|
5816
|
+
if (contentHasChanged || force) {
|
|
5817
|
+
this.value = cleanedValue;
|
|
5818
|
+
this.checkAutofocus();
|
|
5819
|
+
this.dispatch();
|
|
5820
|
+
}
|
|
5803
5821
|
}
|
|
5804
5822
|
},
|
|
5805
5823
|
options() {
|
|
@@ -6029,6 +6047,7 @@ var InputMixin = {
|
|
|
6029
6047
|
},
|
|
6030
6048
|
dispatch() {
|
|
6031
6049
|
this.$emit("update:modelValue", this.value);
|
|
6050
|
+
console.log("Update", this.field.title);
|
|
6032
6051
|
},
|
|
6033
6052
|
cleanInputValue(val) {
|
|
6034
6053
|
return val;
|
|
@@ -6107,7 +6126,7 @@ var select_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
6107
6126
|
function isUndefined$7(entry) {
|
|
6108
6127
|
return entry === void 0 || typeof entry === "undefined" || entry === null || String(entry) === "null" || String(entry) === "undefined";
|
|
6109
6128
|
}
|
|
6110
|
-
const _sfc_main$
|
|
6129
|
+
const _sfc_main$13 = {
|
|
6111
6130
|
props: {
|
|
6112
6131
|
title: {
|
|
6113
6132
|
type: String
|
|
@@ -6208,15 +6227,15 @@ const _sfc_main$12 = {
|
|
|
6208
6227
|
}
|
|
6209
6228
|
}
|
|
6210
6229
|
};
|
|
6211
|
-
const _hoisted_1$
|
|
6230
|
+
const _hoisted_1$P = {
|
|
6212
6231
|
key: 0,
|
|
6213
6232
|
class: "ux-field-title"
|
|
6214
6233
|
};
|
|
6215
|
-
const _hoisted_2$
|
|
6234
|
+
const _hoisted_2$H = {
|
|
6216
6235
|
key: 0,
|
|
6217
6236
|
class: "ux-required-marker"
|
|
6218
6237
|
};
|
|
6219
|
-
const _hoisted_3$
|
|
6238
|
+
const _hoisted_3$B = {
|
|
6220
6239
|
key: 1,
|
|
6221
6240
|
class: "ux-field-description"
|
|
6222
6241
|
};
|
|
@@ -6230,16 +6249,16 @@ const _hoisted_6$g = {
|
|
|
6230
6249
|
value: ""
|
|
6231
6250
|
};
|
|
6232
6251
|
const _hoisted_7$c = ["value"];
|
|
6233
|
-
function _sfc_render$
|
|
6252
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6234
6253
|
const _component_ux_button = resolveComponent("ux-button");
|
|
6235
6254
|
return openBlock(), createElementBlock("div", {
|
|
6236
6255
|
class: normalizeClass(["native-select", $options.classes])
|
|
6237
6256
|
}, [
|
|
6238
|
-
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
6257
|
+
_ctx.showLabel ? (openBlock(), createElementBlock("label", _hoisted_1$P, [
|
|
6239
6258
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
6240
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
6259
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2$H, "*")) : createCommentVNode("", true)
|
|
6241
6260
|
])) : createCommentVNode("", true),
|
|
6242
|
-
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6261
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_3$B, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true),
|
|
6243
6262
|
_ctx.singleValue ? (openBlock(), createElementBlock("div", _hoisted_4$r, [
|
|
6244
6263
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
6245
6264
|
createVNode(_component_ux_button, { tag: "div" }, {
|
|
@@ -6266,9 +6285,9 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6266
6285
|
])
|
|
6267
6286
|
], 2);
|
|
6268
6287
|
}
|
|
6269
|
-
var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6288
|
+
var NativeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-a06c20f2"]]);
|
|
6270
6289
|
var Pager_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6271
|
-
const _sfc_main$
|
|
6290
|
+
const _sfc_main$12 = {
|
|
6272
6291
|
props: {
|
|
6273
6292
|
total: {
|
|
6274
6293
|
type: Number,
|
|
@@ -6378,7 +6397,7 @@ const _sfc_main$11 = {
|
|
|
6378
6397
|
};
|
|
6379
6398
|
}
|
|
6380
6399
|
};
|
|
6381
|
-
function _sfc_render$
|
|
6400
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6382
6401
|
const _component_native_select = resolveComponent("native-select");
|
|
6383
6402
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
6384
6403
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
@@ -6482,9 +6501,9 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6482
6501
|
_: 1
|
|
6483
6502
|
});
|
|
6484
6503
|
}
|
|
6485
|
-
var Pager$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6504
|
+
var Pager$1 = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-93d2aed8"]]);
|
|
6486
6505
|
var avatar_vue_vue_type_style_index_0_lang = "";
|
|
6487
|
-
const _sfc_main$
|
|
6506
|
+
const _sfc_main$11 = {
|
|
6488
6507
|
props: {
|
|
6489
6508
|
id: {
|
|
6490
6509
|
type: [Object, String]
|
|
@@ -6498,13 +6517,13 @@ const _sfc_main$10 = {
|
|
|
6498
6517
|
}
|
|
6499
6518
|
}
|
|
6500
6519
|
};
|
|
6501
|
-
const _hoisted_1$
|
|
6502
|
-
function _sfc_render$
|
|
6503
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6520
|
+
const _hoisted_1$O = { class: "avatar" };
|
|
6521
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6522
|
+
return openBlock(), createElementBlock("div", _hoisted_1$O);
|
|
6504
6523
|
}
|
|
6505
|
-
var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6524
|
+
var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11]]);
|
|
6506
6525
|
var spinner_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6507
|
-
const _sfc_main
|
|
6526
|
+
const _sfc_main$10 = {
|
|
6508
6527
|
props: {
|
|
6509
6528
|
large: {
|
|
6510
6529
|
type: Boolean
|
|
@@ -6512,18 +6531,18 @@ const _sfc_main$$ = {
|
|
|
6512
6531
|
}
|
|
6513
6532
|
};
|
|
6514
6533
|
const _withScopeId$7 = (n2) => (pushScopeId("data-v-27f20370"), n2 = n2(), popScopeId(), n2);
|
|
6515
|
-
const _hoisted_1$
|
|
6516
|
-
const _hoisted_2$
|
|
6517
|
-
_hoisted_1$
|
|
6534
|
+
const _hoisted_1$N = /* @__PURE__ */ _withScopeId$7(() => /* @__PURE__ */ createElementVNode("i", { class: "fa fa-spin fa-spinner" }, null, -1));
|
|
6535
|
+
const _hoisted_2$G = [
|
|
6536
|
+
_hoisted_1$N
|
|
6518
6537
|
];
|
|
6519
|
-
function _sfc_render
|
|
6538
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6520
6539
|
return openBlock(), createElementBlock("div", {
|
|
6521
6540
|
class: normalizeClass(["ux-spinner", { large: $props.large }])
|
|
6522
|
-
}, _hoisted_2$
|
|
6541
|
+
}, _hoisted_2$G, 2);
|
|
6523
6542
|
}
|
|
6524
|
-
var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
6543
|
+
var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-27f20370"]]);
|
|
6525
6544
|
var button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6526
|
-
const _sfc_main
|
|
6545
|
+
const _sfc_main$$ = {
|
|
6527
6546
|
components: {
|
|
6528
6547
|
Spinner
|
|
6529
6548
|
},
|
|
@@ -6617,8 +6636,8 @@ const _sfc_main$_ = {
|
|
|
6617
6636
|
}
|
|
6618
6637
|
}
|
|
6619
6638
|
};
|
|
6620
|
-
const _hoisted_1$
|
|
6621
|
-
function _sfc_render
|
|
6639
|
+
const _hoisted_1$M = { class: "ux-btn-text" };
|
|
6640
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6622
6641
|
const _component_spinner = resolveComponent("spinner");
|
|
6623
6642
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
6624
6643
|
active: $props.active,
|
|
@@ -6632,16 +6651,16 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6632
6651
|
}, {
|
|
6633
6652
|
default: withCtx(() => [
|
|
6634
6653
|
$props.loading ? (openBlock(), createBlock(_component_spinner, { key: 0 })) : createCommentVNode("", true),
|
|
6635
|
-
createElementVNode("span", _hoisted_1$
|
|
6654
|
+
createElementVNode("span", _hoisted_1$M, [
|
|
6636
6655
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
6637
6656
|
])
|
|
6638
6657
|
]),
|
|
6639
6658
|
_: 3
|
|
6640
6659
|
}, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
|
|
6641
6660
|
}
|
|
6642
|
-
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
6661
|
+
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-56c95efc"]]);
|
|
6643
6662
|
var checkbox_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
6644
|
-
const _sfc_main$
|
|
6663
|
+
const _sfc_main$_ = {
|
|
6645
6664
|
props: {
|
|
6646
6665
|
value: {
|
|
6647
6666
|
type: Boolean,
|
|
@@ -6662,7 +6681,7 @@ const _sfc_main$Z = {
|
|
|
6662
6681
|
}
|
|
6663
6682
|
}
|
|
6664
6683
|
};
|
|
6665
|
-
function _sfc_render$
|
|
6684
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6666
6685
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
6667
6686
|
return openBlock(), createElementBlock("button", {
|
|
6668
6687
|
class: normalizeClass(["ux-checkbox", $options.classes])
|
|
@@ -6673,9 +6692,9 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6673
6692
|
})
|
|
6674
6693
|
], 2);
|
|
6675
6694
|
}
|
|
6676
|
-
var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6695
|
+
var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-6b7b7539"]]);
|
|
6677
6696
|
var switch_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
6678
|
-
const _sfc_main$
|
|
6697
|
+
const _sfc_main$Z = {
|
|
6679
6698
|
props: {
|
|
6680
6699
|
value: {
|
|
6681
6700
|
type: Boolean,
|
|
@@ -6705,7 +6724,7 @@ const _sfc_main$Y = {
|
|
|
6705
6724
|
}
|
|
6706
6725
|
}
|
|
6707
6726
|
};
|
|
6708
|
-
function _sfc_render$
|
|
6727
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6709
6728
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
6710
6729
|
return openBlock(), createElementBlock("a", {
|
|
6711
6730
|
class: normalizeClass(["ux-switch", $options.classes])
|
|
@@ -6718,9 +6737,9 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6718
6737
|
])
|
|
6719
6738
|
], 2);
|
|
6720
6739
|
}
|
|
6721
|
-
var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6740
|
+
var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__scopeId", "data-v-57a418e1"]]);
|
|
6722
6741
|
var link_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6723
|
-
const _sfc_main$
|
|
6742
|
+
const _sfc_main$Y = {
|
|
6724
6743
|
props: {
|
|
6725
6744
|
to: {
|
|
6726
6745
|
type: [Object, String]
|
|
@@ -6733,6 +6752,9 @@ const _sfc_main$X = {
|
|
|
6733
6752
|
},
|
|
6734
6753
|
disabled: {
|
|
6735
6754
|
type: Boolean
|
|
6755
|
+
},
|
|
6756
|
+
active: {
|
|
6757
|
+
type: Boolean
|
|
6736
6758
|
}
|
|
6737
6759
|
},
|
|
6738
6760
|
methods: {
|
|
@@ -6774,6 +6796,9 @@ const _sfc_main$X = {
|
|
|
6774
6796
|
if (this.disabled) {
|
|
6775
6797
|
array.push("disabled");
|
|
6776
6798
|
}
|
|
6799
|
+
if (this.active) {
|
|
6800
|
+
array.push("active");
|
|
6801
|
+
}
|
|
6777
6802
|
if (this.href || this.to) {
|
|
6778
6803
|
array.push("haslink");
|
|
6779
6804
|
}
|
|
@@ -6793,7 +6818,7 @@ const _sfc_main$X = {
|
|
|
6793
6818
|
}
|
|
6794
6819
|
}
|
|
6795
6820
|
};
|
|
6796
|
-
function _sfc_render$
|
|
6821
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6797
6822
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
6798
6823
|
onClick: $options.clicked,
|
|
6799
6824
|
to: $props.to,
|
|
@@ -6807,9 +6832,9 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6807
6832
|
_: 3
|
|
6808
6833
|
}, 8, ["onClick", "to", "href", "target", "class"]);
|
|
6809
6834
|
}
|
|
6810
|
-
var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6835
|
+
var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__scopeId", "data-v-f100ab44"]]);
|
|
6811
6836
|
var icon_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6812
|
-
const _sfc_main$
|
|
6837
|
+
const _sfc_main$X = {
|
|
6813
6838
|
props: {
|
|
6814
6839
|
icon: {
|
|
6815
6840
|
type: [Object, String]
|
|
@@ -6844,17 +6869,17 @@ const _sfc_main$W = {
|
|
|
6844
6869
|
}
|
|
6845
6870
|
}
|
|
6846
6871
|
};
|
|
6847
|
-
function _sfc_render$
|
|
6872
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6848
6873
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
6849
6874
|
class: normalizeClass(["ux-icon fa", $options.classes])
|
|
6850
6875
|
}, null, 8, ["class"]);
|
|
6851
6876
|
}
|
|
6852
|
-
var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6877
|
+
var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__scopeId", "data-v-1764a3d0"]]);
|
|
6853
6878
|
var UXMenuService = {
|
|
6854
6879
|
cache: {}
|
|
6855
6880
|
};
|
|
6856
6881
|
var menu_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
6857
|
-
const _sfc_main$
|
|
6882
|
+
const _sfc_main$W = {
|
|
6858
6883
|
props: {
|
|
6859
6884
|
group: {
|
|
6860
6885
|
type: String
|
|
@@ -7006,7 +7031,7 @@ const _sfc_main$V = {
|
|
|
7006
7031
|
}
|
|
7007
7032
|
}
|
|
7008
7033
|
};
|
|
7009
|
-
function _sfc_render$
|
|
7034
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7010
7035
|
return openBlock(), createElementBlock("div", {
|
|
7011
7036
|
class: normalizeClass(["ux-menu", { right: $props.right }])
|
|
7012
7037
|
}, [
|
|
@@ -7030,8 +7055,8 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7030
7055
|
]))
|
|
7031
7056
|
], 2);
|
|
7032
7057
|
}
|
|
7033
|
-
var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7034
|
-
const _sfc_main$
|
|
7058
|
+
var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-29d476a2"]]);
|
|
7059
|
+
const _sfc_main$V = {
|
|
7035
7060
|
name: "menulist",
|
|
7036
7061
|
props: {
|
|
7037
7062
|
items: {
|
|
@@ -7062,7 +7087,7 @@ const _sfc_main$U = {
|
|
|
7062
7087
|
return {};
|
|
7063
7088
|
}
|
|
7064
7089
|
};
|
|
7065
|
-
function _sfc_render$
|
|
7090
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7066
7091
|
const _component_ux_link = resolveComponent("ux-link");
|
|
7067
7092
|
const _component_menulist = resolveComponent("menulist", true);
|
|
7068
7093
|
return openBlock(), createElementBlock("ul", null, [
|
|
@@ -7110,9 +7135,9 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7110
7135
|
}), 256))
|
|
7111
7136
|
]);
|
|
7112
7137
|
}
|
|
7113
|
-
var UXMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7138
|
+
var UXMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V]]);
|
|
7114
7139
|
var image_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7115
|
-
const _sfc_main$
|
|
7140
|
+
const _sfc_main$U = {
|
|
7116
7141
|
props: {
|
|
7117
7142
|
item: {
|
|
7118
7143
|
type: [Object, String]
|
|
@@ -7233,13 +7258,15 @@ const _sfc_main$T = {
|
|
|
7233
7258
|
return params;
|
|
7234
7259
|
},
|
|
7235
7260
|
src() {
|
|
7236
|
-
|
|
7261
|
+
const mediaType = "image";
|
|
7262
|
+
return this.$sdk.api.generateEndpointURL(`/${mediaType}/${this.id}`, this.params, { file: true });
|
|
7237
7263
|
},
|
|
7238
7264
|
previewSrc() {
|
|
7239
7265
|
var params = Object.assign({}, this.params);
|
|
7240
7266
|
params.w = 50;
|
|
7241
7267
|
delete params.h;
|
|
7242
|
-
|
|
7268
|
+
const mediaType = "image";
|
|
7269
|
+
return this.$sdk.api.generateEndpointURL(`/${mediaType}/${this.id}`, params, { file: true });
|
|
7243
7270
|
},
|
|
7244
7271
|
imageStyle() {
|
|
7245
7272
|
var style = {};
|
|
@@ -7291,9 +7318,9 @@ const _sfc_main$T = {
|
|
|
7291
7318
|
}
|
|
7292
7319
|
}
|
|
7293
7320
|
};
|
|
7294
|
-
const _hoisted_1$
|
|
7295
|
-
const _hoisted_2$
|
|
7296
|
-
function _sfc_render$
|
|
7321
|
+
const _hoisted_1$L = ["alt", "data"];
|
|
7322
|
+
const _hoisted_2$F = ["alt", "src"];
|
|
7323
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7297
7324
|
return openBlock(), createElementBlock("div", {
|
|
7298
7325
|
class: normalizeClass(["ux-image", $options.className]),
|
|
7299
7326
|
style: normalizeStyle($options.style)
|
|
@@ -7303,15 +7330,119 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7303
7330
|
alt: $options.altText,
|
|
7304
7331
|
type: "image/svg+xml",
|
|
7305
7332
|
data: $options.src
|
|
7306
|
-
}, null, 8, _hoisted_1$
|
|
7333
|
+
}, null, 8, _hoisted_1$L)) : (openBlock(), createElementBlock("img", {
|
|
7307
7334
|
key: 1,
|
|
7308
7335
|
alt: $options.altText,
|
|
7309
7336
|
style: normalizeStyle($options.imageStyle),
|
|
7310
7337
|
src: $options.src
|
|
7311
|
-
}, null, 12, _hoisted_2$
|
|
7338
|
+
}, null, 12, _hoisted_2$F))
|
|
7339
|
+
], 6);
|
|
7340
|
+
}
|
|
7341
|
+
var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-6cf1e4ba"]]);
|
|
7342
|
+
var video_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7343
|
+
const _sfc_main$T = {
|
|
7344
|
+
props: {
|
|
7345
|
+
item: {
|
|
7346
|
+
type: [Object, String]
|
|
7347
|
+
},
|
|
7348
|
+
width: {
|
|
7349
|
+
type: [Number, String]
|
|
7350
|
+
},
|
|
7351
|
+
height: {
|
|
7352
|
+
type: [Number, String]
|
|
7353
|
+
},
|
|
7354
|
+
controls: {
|
|
7355
|
+
type: Boolean,
|
|
7356
|
+
default: true
|
|
7357
|
+
}
|
|
7358
|
+
},
|
|
7359
|
+
data() {
|
|
7360
|
+
return {
|
|
7361
|
+
model: this.item
|
|
7362
|
+
};
|
|
7363
|
+
},
|
|
7364
|
+
computed: {
|
|
7365
|
+
mediaType() {
|
|
7366
|
+
var _a;
|
|
7367
|
+
return ((_a = this.model) == null ? void 0 : _a.mediaIntegrationType) || "upload";
|
|
7368
|
+
},
|
|
7369
|
+
mimetype() {
|
|
7370
|
+
var _a;
|
|
7371
|
+
return ((_a = this.model) == null ? void 0 : _a.fileMime) || "video/mp4";
|
|
7372
|
+
},
|
|
7373
|
+
actualWidth() {
|
|
7374
|
+
return parseInt(this.width) || this.modelWidth || 1920;
|
|
7375
|
+
},
|
|
7376
|
+
actualHeight() {
|
|
7377
|
+
return parseInt(this.height) || this.modelHeight || 1080;
|
|
7378
|
+
},
|
|
7379
|
+
className() {
|
|
7380
|
+
var classes = [];
|
|
7381
|
+
if (this.portrait) {
|
|
7382
|
+
classes.push("video-portrait");
|
|
7383
|
+
}
|
|
7384
|
+
classes.push(`video-type-${this.mediaType}`);
|
|
7385
|
+
return classes.join(" ");
|
|
7386
|
+
},
|
|
7387
|
+
portrait() {
|
|
7388
|
+
return this.actualHeight > this.actualWidth;
|
|
7389
|
+
},
|
|
7390
|
+
modelWidth() {
|
|
7391
|
+
var _a;
|
|
7392
|
+
return parseInt(((_a = this.model) == null ? void 0 : _a.width) || 0);
|
|
7393
|
+
},
|
|
7394
|
+
modelHeight() {
|
|
7395
|
+
var _a;
|
|
7396
|
+
return parseInt(((_a = this.model) == null ? void 0 : _a.height) || 0);
|
|
7397
|
+
},
|
|
7398
|
+
id() {
|
|
7399
|
+
return this.$sdk.utils.id(this.model);
|
|
7400
|
+
},
|
|
7401
|
+
params() {
|
|
7402
|
+
var params = {};
|
|
7403
|
+
params.access_token = this.$sdk.auth.getCurrentToken();
|
|
7404
|
+
return params;
|
|
7405
|
+
},
|
|
7406
|
+
src() {
|
|
7407
|
+
return this.$sdk.api.generateEndpointURL(`/video/${this.id}`, this.params, { file: true });
|
|
7408
|
+
},
|
|
7409
|
+
thumbnailSrc() {
|
|
7410
|
+
var params = Object.assign({}, this.params);
|
|
7411
|
+
params.w = this.actualWidth;
|
|
7412
|
+
params.h = this.actualHeight;
|
|
7413
|
+
delete params.h;
|
|
7414
|
+
return this.$sdk.api.generateEndpointURL(`/image/${this.id}`, params, { file: true });
|
|
7415
|
+
},
|
|
7416
|
+
style() {
|
|
7417
|
+
var style = {};
|
|
7418
|
+
return style;
|
|
7419
|
+
}
|
|
7420
|
+
}
|
|
7421
|
+
};
|
|
7422
|
+
const _hoisted_1$K = { class: "ux-video-embed-upload" };
|
|
7423
|
+
const _hoisted_2$E = ["width", "height", "controls"];
|
|
7424
|
+
const _hoisted_3$A = ["src", "type"];
|
|
7425
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7426
|
+
return openBlock(), createElementBlock("div", {
|
|
7427
|
+
class: normalizeClass(["ux-video", $options.className]),
|
|
7428
|
+
style: normalizeStyle($options.style)
|
|
7429
|
+
}, [
|
|
7430
|
+
createElementVNode("div", _hoisted_1$K, [
|
|
7431
|
+
createElementVNode("video", {
|
|
7432
|
+
width: $options.actualWidth,
|
|
7433
|
+
height: $options.actualHeight,
|
|
7434
|
+
controls: $props.controls
|
|
7435
|
+
}, [
|
|
7436
|
+
createElementVNode("source", {
|
|
7437
|
+
src: $options.src,
|
|
7438
|
+
type: $options.mimetype
|
|
7439
|
+
}, null, 8, _hoisted_3$A),
|
|
7440
|
+
createTextVNode(" Your browser does not support the video tag. ")
|
|
7441
|
+
], 8, _hoisted_2$E)
|
|
7442
|
+
])
|
|
7312
7443
|
], 6);
|
|
7313
7444
|
}
|
|
7314
|
-
var
|
|
7445
|
+
var UXVideo = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T], ["__scopeId", "data-v-1f51798b"]]);
|
|
7315
7446
|
var progressbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
7316
7447
|
const _sfc_main$S = {
|
|
7317
7448
|
props: {
|
|
@@ -15037,11 +15168,8 @@ const _sfc_main$q = {
|
|
|
15037
15168
|
return `${this.label} ${index2 + 1}`;
|
|
15038
15169
|
},
|
|
15039
15170
|
enterPress(event) {
|
|
15040
|
-
|
|
15041
|
-
|
|
15042
|
-
event.preventDefault();
|
|
15043
|
-
this.add();
|
|
15044
|
-
}
|
|
15171
|
+
console.log("Enter", event);
|
|
15172
|
+
return;
|
|
15045
15173
|
},
|
|
15046
15174
|
refocus() {
|
|
15047
15175
|
this.$nextTick(function() {
|
|
@@ -15474,7 +15602,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15474
15602
|
], 64))
|
|
15475
15603
|
], 64));
|
|
15476
15604
|
}
|
|
15477
|
-
var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-
|
|
15605
|
+
var FieldGroup$1 = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-f616ab46"]]);
|
|
15478
15606
|
const _sfc_main$p = {
|
|
15479
15607
|
props: {
|
|
15480
15608
|
option: {
|
|
@@ -18450,7 +18578,8 @@ const _sfc_main$e = {
|
|
|
18450
18578
|
},
|
|
18451
18579
|
set(value) {
|
|
18452
18580
|
var cleaned = this.cleanInput(value);
|
|
18453
|
-
|
|
18581
|
+
const existing = this.model[this.key];
|
|
18582
|
+
if (existing != cleaned) {
|
|
18454
18583
|
this.model[this.key] = cleaned;
|
|
18455
18584
|
this.isDirty = true;
|
|
18456
18585
|
this.$emit("update:modelValue", this.model);
|
|
@@ -18827,7 +18956,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18827
18956
|
$options.error && $data.validateResults.message ? (openBlock(), createElementBlock("div", _hoisted_1$b, toDisplayString($data.validateResults.message), 1)) : createCommentVNode("", true)
|
|
18828
18957
|
], 34)) : createCommentVNode("", true);
|
|
18829
18958
|
}
|
|
18830
|
-
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-
|
|
18959
|
+
var UXFormField = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-353dd59e"]]);
|
|
18831
18960
|
function arrayReduce$1(array, iteratee, accumulator, initAccum) {
|
|
18832
18961
|
var index2 = -1, length = array == null ? 0 : array.length;
|
|
18833
18962
|
if (initAccum && length) {
|
|
@@ -22462,6 +22591,7 @@ const defaultComponents = {
|
|
|
22462
22591
|
UxMenu: UXMenu,
|
|
22463
22592
|
UxMenuList: UXMenuList,
|
|
22464
22593
|
UxImage: UXImage,
|
|
22594
|
+
UxVideo: UXVideo,
|
|
22465
22595
|
UxButton: UXButton,
|
|
22466
22596
|
UxCheckbox: UXCheckbox,
|
|
22467
22597
|
UxSwitch: UXSwitch,
|
|
@@ -22543,5 +22673,5 @@ const QikUI = {
|
|
|
22543
22673
|
}
|
|
22544
22674
|
}
|
|
22545
22675
|
};
|
|
22546
|
-
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 };
|
|
22676
|
+
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 };
|
|
22547
22677
|
//# sourceMappingURL=lib.es.js.map
|