@qikdev/vue-ui 0.1.52 → 0.1.56
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 +133 -73
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +3 -3
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -32,7 +32,7 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
import { openBlock, createElementBlock, renderSlot, resolveComponent, createBlock, withCtx, createVNode, Fragment, renderList, normalizeClass, toDisplayString, withDirectives, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, mergeProps, toHandlers, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelSelect, withKeys, vModelText, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, vModelCheckbox, reactive, watch } from "vue";
|
|
34
34
|
import { EventDispatcher } from "@qikdev/sdk";
|
|
35
|
-
const version$1 = "0.1.
|
|
35
|
+
const version$1 = "0.1.56";
|
|
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$
|
|
44
|
+
const _sfc_main$1b = {};
|
|
45
45
|
const _hoisted_1$Y = { class: "flex-column" };
|
|
46
|
-
function _sfc_render$
|
|
46
|
+
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
47
47
|
return openBlock(), createElementBlock("div", _hoisted_1$Y, [
|
|
48
48
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
49
49
|
]);
|
|
50
50
|
}
|
|
51
|
-
var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
51
|
+
var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__scopeId", "data-v-203ea86f"]]);
|
|
52
52
|
var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
53
|
-
const _sfc_main$
|
|
53
|
+
const _sfc_main$1a = {};
|
|
54
54
|
const _hoisted_1$X = { class: "flex-column-body" };
|
|
55
|
-
function _sfc_render$
|
|
55
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
56
56
|
return openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
57
57
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
58
58
|
]);
|
|
59
59
|
}
|
|
60
|
-
var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
60
|
+
var FlexBody = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__scopeId", "data-v-64850355"]]);
|
|
61
61
|
var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
62
|
-
const _sfc_main$
|
|
62
|
+
const _sfc_main$19 = {};
|
|
63
63
|
const _hoisted_1$W = { class: "flex-column-header" };
|
|
64
|
-
function _sfc_render$
|
|
64
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
65
65
|
return openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
66
66
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
67
67
|
]);
|
|
68
68
|
}
|
|
69
|
-
var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
69
|
+
var FlexHeader = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-10b28f00"]]);
|
|
70
70
|
var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
71
|
-
const _sfc_main$
|
|
71
|
+
const _sfc_main$18 = {};
|
|
72
72
|
const _hoisted_1$V = { class: "flex-column-footer" };
|
|
73
|
-
function _sfc_render$
|
|
73
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
74
74
|
return openBlock(), createElementBlock("div", _hoisted_1$V, [
|
|
75
75
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
76
76
|
]);
|
|
77
77
|
}
|
|
78
|
-
var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
78
|
+
var FlexFooter = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-68216a72"]]);
|
|
79
79
|
var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
80
|
-
const _sfc_main$
|
|
80
|
+
const _sfc_main$17 = {};
|
|
81
81
|
const _hoisted_1$U = { class: "flex-cell" };
|
|
82
|
-
function _sfc_render$
|
|
82
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83
83
|
return openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
84
84
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
85
85
|
]);
|
|
86
86
|
}
|
|
87
|
-
var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
87
|
+
var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-644bb279"]]);
|
|
88
88
|
var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89
|
-
const _sfc_main$
|
|
89
|
+
const _sfc_main$16 = {};
|
|
90
90
|
const _hoisted_1$T = { class: "flex-row" };
|
|
91
|
-
function _sfc_render$
|
|
91
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
92
92
|
return openBlock(), createElementBlock("div", _hoisted_1$T, [
|
|
93
93
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
94
94
|
]);
|
|
95
95
|
}
|
|
96
|
-
var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
96
|
+
var FlexRow = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-5b76ad1f"]]);
|
|
97
97
|
var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
98
|
-
const _sfc_main$
|
|
98
|
+
const _sfc_main$15 = {};
|
|
99
99
|
const _hoisted_1$S = { class: "flex-spacer" };
|
|
100
|
-
function _sfc_render$
|
|
100
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
101
101
|
return openBlock(), createElementBlock("div", _hoisted_1$S);
|
|
102
102
|
}
|
|
103
|
-
var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
103
|
+
var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-35b15579"]]);
|
|
104
104
|
var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
105
|
-
const _sfc_main$
|
|
105
|
+
const _sfc_main$14 = {};
|
|
106
106
|
const _hoisted_1$R = { class: "panel" };
|
|
107
|
-
function _sfc_render$
|
|
107
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
108
108
|
return openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
109
109
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
110
110
|
]);
|
|
111
111
|
}
|
|
112
|
-
var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
112
|
+
var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-50ae77fc"]]);
|
|
113
113
|
var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
114
|
-
const _sfc_main$
|
|
114
|
+
const _sfc_main$13 = {};
|
|
115
115
|
const _hoisted_1$Q = { class: "panel-body" };
|
|
116
|
-
function _sfc_render$
|
|
116
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
117
117
|
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
118
118
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
119
119
|
]);
|
|
120
120
|
}
|
|
121
|
-
var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
121
|
+
var PanelBody = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-c82dca76"]]);
|
|
122
122
|
var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
123
|
-
const _sfc_main$
|
|
123
|
+
const _sfc_main$12 = {};
|
|
124
124
|
const _hoisted_1$P = { class: "panel-header" };
|
|
125
|
-
function _sfc_render$
|
|
125
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
126
126
|
return openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
127
127
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
128
128
|
]);
|
|
129
129
|
}
|
|
130
|
-
var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
130
|
+
var PanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-13bf11da"]]);
|
|
131
131
|
var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
132
|
-
const _sfc_main$
|
|
132
|
+
const _sfc_main$11 = {};
|
|
133
133
|
const _hoisted_1$O = { class: "panel-footer" };
|
|
134
|
-
function _sfc_render$
|
|
134
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
135
135
|
return openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
136
136
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
137
137
|
]);
|
|
138
138
|
}
|
|
139
|
-
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
139
|
+
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__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$10 = {
|
|
142
142
|
data() {
|
|
143
143
|
return {
|
|
144
144
|
activeIndex: 0
|
|
@@ -157,7 +157,7 @@ const _sfc_main$$ = {
|
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
const _hoisted_1$N = ["onClick"];
|
|
160
|
-
function _sfc_render
|
|
160
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
161
161
|
const _component_flex_row = resolveComponent("flex-row");
|
|
162
162
|
const _component_flex_header = resolveComponent("flex-header");
|
|
163
163
|
const _component_flex_column = resolveComponent("flex-column");
|
|
@@ -198,8 +198,8 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
198
198
|
_: 1
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
|
-
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
202
|
-
const _sfc_main
|
|
201
|
+
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-1449f192"]]);
|
|
202
|
+
const _sfc_main$$ = {
|
|
203
203
|
props: {
|
|
204
204
|
heading: {
|
|
205
205
|
type: String,
|
|
@@ -222,7 +222,7 @@ const _sfc_main$_ = {
|
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
|
-
function _sfc_render
|
|
225
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
226
226
|
const _component_flex_column = resolveComponent("flex-column");
|
|
227
227
|
return openBlock(), createBlock(_component_flex_column, null, {
|
|
228
228
|
default: withCtx(() => [
|
|
@@ -231,7 +231,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
231
231
|
_: 3
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
|
-
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
234
|
+
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$]]);
|
|
235
235
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
236
236
|
var isArray$3 = Array.isArray;
|
|
237
237
|
var isArray_1 = isArray$3;
|
|
@@ -699,7 +699,7 @@ var TableCellMixin = {
|
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
701
|
var Thumbnail_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
702
|
-
const _sfc_main$
|
|
702
|
+
const _sfc_main$_ = {
|
|
703
703
|
mixins: [TableCellMixin],
|
|
704
704
|
computed: {
|
|
705
705
|
type() {
|
|
@@ -709,7 +709,7 @@ const _sfc_main$Z = {
|
|
|
709
709
|
}
|
|
710
710
|
};
|
|
711
711
|
const _hoisted_1$M = { class: "table-image-cell" };
|
|
712
|
-
function _sfc_render$
|
|
712
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
713
713
|
const _component_ux_image = resolveComponent("ux-image");
|
|
714
714
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
715
715
|
return openBlock(), createElementBlock("td", _hoisted_1$M, [
|
|
@@ -724,9 +724,9 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
724
724
|
}))
|
|
725
725
|
]);
|
|
726
726
|
}
|
|
727
|
-
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
727
|
+
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-6dbe8d2c"]]);
|
|
728
728
|
var Button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
729
|
-
const _sfc_main$
|
|
729
|
+
const _sfc_main$Z = {
|
|
730
730
|
data() {
|
|
731
731
|
return {
|
|
732
732
|
processing: false
|
|
@@ -751,7 +751,7 @@ const _sfc_main$Y = {
|
|
|
751
751
|
}
|
|
752
752
|
};
|
|
753
753
|
const _hoisted_1$L = { class: "table-button-cell" };
|
|
754
|
-
function _sfc_render$
|
|
754
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
755
755
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
756
756
|
const _component_ux_button = resolveComponent("ux-button");
|
|
757
757
|
return openBlock(), createElementBlock("td", _hoisted_1$L, [
|
|
@@ -774,7 +774,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
774
774
|
}, 8, ["size", "loading", "onClick"])
|
|
775
775
|
]);
|
|
776
776
|
}
|
|
777
|
-
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
777
|
+
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z], ["__scopeId", "data-v-3cbecb7e"]]);
|
|
778
778
|
class LuxonError extends Error {
|
|
779
779
|
}
|
|
780
780
|
class InvalidDateTimeError extends LuxonError {
|
|
@@ -4608,9 +4608,12 @@ function friendlyDateTime(dateTimeish) {
|
|
|
4608
4608
|
}
|
|
4609
4609
|
}
|
|
4610
4610
|
var DateCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4611
|
-
const _sfc_main$
|
|
4611
|
+
const _sfc_main$Y = {
|
|
4612
4612
|
mixins: [TableCellMixin],
|
|
4613
4613
|
computed: {
|
|
4614
|
+
hasValue() {
|
|
4615
|
+
return this.value !== void 0 && this.value !== null;
|
|
4616
|
+
},
|
|
4614
4617
|
timeago() {
|
|
4615
4618
|
return DateTime.fromISO(this.value).toRelative();
|
|
4616
4619
|
},
|
|
@@ -4627,19 +4630,40 @@ const _sfc_main$X = {
|
|
|
4627
4630
|
}
|
|
4628
4631
|
};
|
|
4629
4632
|
const _hoisted_1$K = { class: "table-date-cell" };
|
|
4630
|
-
const _hoisted_2$
|
|
4631
|
-
const _hoisted_3$v = { class: "
|
|
4632
|
-
const _hoisted_4$r = { class: "
|
|
4633
|
-
|
|
4633
|
+
const _hoisted_2$C = { key: 0 };
|
|
4634
|
+
const _hoisted_3$v = { class: "off" };
|
|
4635
|
+
const _hoisted_4$r = { class: "on" };
|
|
4636
|
+
const _hoisted_5$l = { class: "spacer" };
|
|
4637
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4634
4638
|
return openBlock(), createElementBlock("td", _hoisted_1$K, [
|
|
4635
|
-
|
|
4636
|
-
createElementVNode("span",
|
|
4637
|
-
createElementVNode("span",
|
|
4638
|
-
createElementVNode("span",
|
|
4639
|
-
])
|
|
4639
|
+
$options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$C, [
|
|
4640
|
+
createElementVNode("span", _hoisted_3$v, toDisplayString($options.readable), 1),
|
|
4641
|
+
createElementVNode("span", _hoisted_4$r, toDisplayString($options.timeago), 1),
|
|
4642
|
+
createElementVNode("span", _hoisted_5$l, toDisplayString($options.readable), 1)
|
|
4643
|
+
])) : createCommentVNode("", true)
|
|
4640
4644
|
]);
|
|
4641
4645
|
}
|
|
4642
|
-
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4646
|
+
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y], ["__scopeId", "data-v-3687693f"]]);
|
|
4647
|
+
var BooleanCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4648
|
+
const _sfc_main$X = {
|
|
4649
|
+
mixins: [TableCellMixin],
|
|
4650
|
+
computed: {
|
|
4651
|
+
boolean() {
|
|
4652
|
+
return !!this.value;
|
|
4653
|
+
}
|
|
4654
|
+
}
|
|
4655
|
+
};
|
|
4656
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4657
|
+
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4658
|
+
return openBlock(), createElementBlock("td", {
|
|
4659
|
+
class: normalizeClass(["table-boolean-cell", { true: $options.boolean, false: !$options.boolean }])
|
|
4660
|
+
}, [
|
|
4661
|
+
createVNode(_component_ux_icon, {
|
|
4662
|
+
icon: $options.boolean ? `fa-check` : `fa-times`
|
|
4663
|
+
}, null, 8, ["icon"])
|
|
4664
|
+
], 2);
|
|
4665
|
+
}
|
|
4666
|
+
var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__scopeId", "data-v-27f127ae"]]);
|
|
4643
4667
|
var URLCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4644
4668
|
const _sfc_main$W = {
|
|
4645
4669
|
mixins: [TableCellMixin],
|
|
@@ -4655,7 +4679,7 @@ const _sfc_main$W = {
|
|
|
4655
4679
|
}
|
|
4656
4680
|
};
|
|
4657
4681
|
const _hoisted_1$J = { class: "table-url-cell" };
|
|
4658
|
-
const _hoisted_2$
|
|
4682
|
+
const _hoisted_2$B = ["href"];
|
|
4659
4683
|
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4660
4684
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4661
4685
|
return openBlock(), createElementBlock("td", _hoisted_1$J, [
|
|
@@ -4669,7 +4693,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4669
4693
|
right: "",
|
|
4670
4694
|
icon: "fa-external-link"
|
|
4671
4695
|
})
|
|
4672
|
-
], 8, _hoisted_2$
|
|
4696
|
+
], 8, _hoisted_2$B)
|
|
4673
4697
|
]);
|
|
4674
4698
|
}
|
|
4675
4699
|
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-17cf3a86"]]);
|
|
@@ -4779,6 +4803,9 @@ const _sfc_main$U = {
|
|
|
4779
4803
|
case "button":
|
|
4780
4804
|
component = ButtonCell;
|
|
4781
4805
|
break;
|
|
4806
|
+
case "boolean":
|
|
4807
|
+
component = BooleanCell;
|
|
4808
|
+
break;
|
|
4782
4809
|
case "date":
|
|
4783
4810
|
case "datetime":
|
|
4784
4811
|
component = DateCell;
|
|
@@ -4794,6 +4821,9 @@ const _sfc_main$U = {
|
|
|
4794
4821
|
case "date":
|
|
4795
4822
|
component = DateCell;
|
|
4796
4823
|
break;
|
|
4824
|
+
case "boolean":
|
|
4825
|
+
component = BooleanCell;
|
|
4826
|
+
break;
|
|
4797
4827
|
case "url":
|
|
4798
4828
|
component = URLCell;
|
|
4799
4829
|
break;
|
|
@@ -4840,7 +4870,7 @@ const _hoisted_1$H = {
|
|
|
4840
4870
|
key: 1,
|
|
4841
4871
|
class: "table-cell"
|
|
4842
4872
|
};
|
|
4843
|
-
const _hoisted_2$
|
|
4873
|
+
const _hoisted_2$A = { class: "value" };
|
|
4844
4874
|
const _hoisted_3$u = { class: "value" };
|
|
4845
4875
|
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4846
4876
|
const _component_value_renderer = resolveComponent("value-renderer");
|
|
@@ -4852,7 +4882,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4852
4882
|
}, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$H, [
|
|
4853
4883
|
$options.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
4854
4884
|
$options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry, index2) => {
|
|
4855
|
-
return openBlock(), createElementBlock("span", _hoisted_2$
|
|
4885
|
+
return openBlock(), createElementBlock("span", _hoisted_2$A, [
|
|
4856
4886
|
createVNode(_component_value_renderer, {
|
|
4857
4887
|
type: $props.column.type,
|
|
4858
4888
|
multi: "",
|
|
@@ -4877,7 +4907,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4877
4907
|
}, null, 8, ["type", "value"]))
|
|
4878
4908
|
]));
|
|
4879
4909
|
}
|
|
4880
|
-
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-
|
|
4910
|
+
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-b6482442"]]);
|
|
4881
4911
|
const _sfc_main$T = {
|
|
4882
4912
|
components: {
|
|
4883
4913
|
TableCell
|
|
@@ -5147,7 +5177,7 @@ const _sfc_main$S = {
|
|
|
5147
5177
|
}
|
|
5148
5178
|
};
|
|
5149
5179
|
const _hoisted_1$G = { class: "table-wrapper" };
|
|
5150
|
-
const _hoisted_2$
|
|
5180
|
+
const _hoisted_2$z = {
|
|
5151
5181
|
class: "table-scroll",
|
|
5152
5182
|
ref: "scroll"
|
|
5153
5183
|
};
|
|
@@ -5170,7 +5200,7 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5170
5200
|
const _component_ux_menu = resolveComponent("ux-menu");
|
|
5171
5201
|
const _component_table_row = resolveComponent("table-row");
|
|
5172
5202
|
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
5173
|
-
createElementVNode("div", _hoisted_2$
|
|
5203
|
+
createElementVNode("div", _hoisted_2$z, [
|
|
5174
5204
|
createElementVNode("table", null, [
|
|
5175
5205
|
createElementVNode("thead", null, [
|
|
5176
5206
|
createElementVNode("tr", null, [
|
|
@@ -5266,13 +5296,13 @@ const _sfc_main$R = {
|
|
|
5266
5296
|
};
|
|
5267
5297
|
const _withScopeId$5 = (n2) => (pushScopeId("data-v-27f20370"), n2 = n2(), popScopeId(), n2);
|
|
5268
5298
|
const _hoisted_1$F = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("i", { class: "fa fa-spin fa-spinner" }, null, -1));
|
|
5269
|
-
const _hoisted_2$
|
|
5299
|
+
const _hoisted_2$y = [
|
|
5270
5300
|
_hoisted_1$F
|
|
5271
5301
|
];
|
|
5272
5302
|
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5273
5303
|
return openBlock(), createElementBlock("div", {
|
|
5274
5304
|
class: normalizeClass(["ux-spinner", { large: $props.large }])
|
|
5275
|
-
}, _hoisted_2$
|
|
5305
|
+
}, _hoisted_2$y, 2);
|
|
5276
5306
|
}
|
|
5277
5307
|
var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-27f20370"]]);
|
|
5278
5308
|
var button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
@@ -5891,6 +5921,9 @@ const _sfc_main$J = {
|
|
|
5891
5921
|
type: {
|
|
5892
5922
|
type: String,
|
|
5893
5923
|
default: "image"
|
|
5924
|
+
},
|
|
5925
|
+
svg: {
|
|
5926
|
+
type: Boolean
|
|
5894
5927
|
}
|
|
5895
5928
|
},
|
|
5896
5929
|
data() {
|
|
@@ -5899,6 +5932,17 @@ const _sfc_main$J = {
|
|
|
5899
5932
|
};
|
|
5900
5933
|
},
|
|
5901
5934
|
computed: {
|
|
5935
|
+
isSvg() {
|
|
5936
|
+
var _a;
|
|
5937
|
+
if (this.svg) {
|
|
5938
|
+
return true;
|
|
5939
|
+
}
|
|
5940
|
+
switch ((_a = this.item) == null ? void 0 : _a.fileMime) {
|
|
5941
|
+
case "image/svg+xml":
|
|
5942
|
+
case "image/svg":
|
|
5943
|
+
return true;
|
|
5944
|
+
}
|
|
5945
|
+
},
|
|
5902
5946
|
defaultWidth() {
|
|
5903
5947
|
return;
|
|
5904
5948
|
},
|
|
@@ -5965,21 +6009,33 @@ const _sfc_main$J = {
|
|
|
5965
6009
|
style.height = 0;
|
|
5966
6010
|
style.paddingBottom = `${dimensionHeight / dimensionWidth * 100}%`;
|
|
5967
6011
|
}
|
|
5968
|
-
|
|
6012
|
+
if (this.isSvg)
|
|
6013
|
+
;
|
|
6014
|
+
else {
|
|
6015
|
+
style.backgroundImage = `url(${this.previewSrc})`;
|
|
6016
|
+
}
|
|
5969
6017
|
return style;
|
|
5970
6018
|
}
|
|
5971
6019
|
}
|
|
5972
6020
|
};
|
|
5973
|
-
const _hoisted_1$D = ["
|
|
6021
|
+
const _hoisted_1$D = ["data"];
|
|
6022
|
+
const _hoisted_2$x = ["src"];
|
|
5974
6023
|
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5975
6024
|
return openBlock(), createElementBlock("div", {
|
|
5976
6025
|
class: "ux-image",
|
|
5977
6026
|
style: normalizeStyle($options.style)
|
|
5978
6027
|
}, [
|
|
5979
|
-
|
|
6028
|
+
$props.svg ? (openBlock(), createElementBlock("object", {
|
|
6029
|
+
key: 0,
|
|
6030
|
+
type: "image/svg+xml",
|
|
6031
|
+
data: $options.src
|
|
6032
|
+
}, null, 8, _hoisted_1$D)) : (openBlock(), createElementBlock("img", {
|
|
6033
|
+
key: 1,
|
|
6034
|
+
src: $options.src
|
|
6035
|
+
}, null, 8, _hoisted_2$x))
|
|
5980
6036
|
], 4);
|
|
5981
6037
|
}
|
|
5982
|
-
var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-
|
|
6038
|
+
var UXImage = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-92100196"]]);
|
|
5983
6039
|
var progressbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5984
6040
|
const _sfc_main$I = {
|
|
5985
6041
|
props: {
|
|
@@ -12596,6 +12652,9 @@ const _sfc_main$o = {
|
|
|
12596
12652
|
props: {
|
|
12597
12653
|
multiple: {
|
|
12598
12654
|
type: Boolean
|
|
12655
|
+
},
|
|
12656
|
+
accept: {
|
|
12657
|
+
type: String
|
|
12599
12658
|
}
|
|
12600
12659
|
},
|
|
12601
12660
|
methods: {
|
|
@@ -12626,7 +12685,7 @@ const _sfc_main$o = {
|
|
|
12626
12685
|
}
|
|
12627
12686
|
}
|
|
12628
12687
|
};
|
|
12629
|
-
const _hoisted_1$j = ["multiple"];
|
|
12688
|
+
const _hoisted_1$j = ["accept", "multiple"];
|
|
12630
12689
|
const _hoisted_2$f = /* @__PURE__ */ createTextVNode("Select Files");
|
|
12631
12690
|
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12632
12691
|
const _component_ux_button = resolveComponent("ux-button");
|
|
@@ -12637,6 +12696,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12637
12696
|
}, [
|
|
12638
12697
|
createElementVNode("input", {
|
|
12639
12698
|
ref: "file",
|
|
12699
|
+
accept: $props.accept,
|
|
12640
12700
|
type: "file",
|
|
12641
12701
|
multiple: $props.multiple,
|
|
12642
12702
|
onChange: _cache[0] || (_cache[0] = ($event) => $options.filesSelected($event.target.files))
|
|
@@ -12656,7 +12716,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12656
12716
|
])
|
|
12657
12717
|
], 32);
|
|
12658
12718
|
}
|
|
12659
|
-
var FileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-
|
|
12719
|
+
var FileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-65e7e548"]]);
|
|
12660
12720
|
var upload_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
12661
12721
|
const _sfc_main$n = {
|
|
12662
12722
|
mixins: [InputMixin],
|
|
@@ -18830,5 +18890,5 @@ const QikUI = {
|
|
|
18830
18890
|
}
|
|
18831
18891
|
}
|
|
18832
18892
|
};
|
|
18833
|
-
export { CodeEditor, ContentBrowser, device as Device, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikUI, RememberScrollMixin, Search, Selection, Spinner, UXButton, UXCheckbox, UXForm, UXFormField, UXIcon, UXImage, UXLink, UXList, UXListItem, UXMenu, UXMenuList, UXRender, UXRenderField, UXSubmissionForm, UXSwitch, UXTab, NativeTable as UXTable, UXTabset, UxConfirmModal, UxContentModal, UxModal, UxOptionsModal, UxPromptModal };
|
|
18893
|
+
export { CodeEditor, ContentBrowser, device as Device, FileDrop, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikUI, RememberScrollMixin, Search, Selection, Spinner, UXButton, UXCheckbox, UXForm, UXFormField, UXIcon, UXImage, UXLink, UXList, UXListItem, UXMenu, UXMenuList, UXRender, UXRenderField, UXSubmissionForm, UXSwitch, UXTab, NativeTable as UXTable, UXTabset, UxConfirmModal, UxContentModal, UxModal, UxOptionsModal, UxPromptModal };
|
|
18834
18894
|
//# sourceMappingURL=lib.es.js.map
|