@qikdev/vue-ui 0.2.15 → 0.2.17
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 +153 -118
- 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, vModelText, vModelSelect, withKeys, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, vModelCheckbox, reactive, watch } from "vue";
|
|
34
34
|
import { EventDispatcher } from "@qikdev/sdk";
|
|
35
|
-
const version$1 = "0.2.
|
|
35
|
+
const version$1 = "0.2.17";
|
|
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$1l = {};
|
|
45
|
+
const _hoisted_1$12 = { class: "flex-column" };
|
|
46
|
+
function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
47
|
+
return openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
48
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
49
|
+
]);
|
|
50
|
+
}
|
|
51
|
+
var FlexColumn = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__scopeId", "data-v-203ea86f"]]);
|
|
52
|
+
var flexBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
44
53
|
const _sfc_main$1k = {};
|
|
45
|
-
const _hoisted_1$11 = { class: "flex-column" };
|
|
54
|
+
const _hoisted_1$11 = { class: "flex-column-body" };
|
|
46
55
|
function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
47
56
|
return openBlock(), createElementBlock("div", _hoisted_1$11, [
|
|
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$1k, [["render", _sfc_render$1k], ["__scopeId", "data-v-64850355"]]);
|
|
61
|
+
var flexHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
53
62
|
const _sfc_main$1j = {};
|
|
54
|
-
const _hoisted_1$10 = { class: "flex-column-
|
|
63
|
+
const _hoisted_1$10 = { class: "flex-column-header" };
|
|
55
64
|
function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
56
65
|
return openBlock(), createElementBlock("div", _hoisted_1$10, [
|
|
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$1j, [["render", _sfc_render$1j], ["__scopeId", "data-v-10b28f00"]]);
|
|
70
|
+
var flexFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
62
71
|
const _sfc_main$1i = {};
|
|
63
|
-
const _hoisted_1$$ = { class: "flex-column-
|
|
72
|
+
const _hoisted_1$$ = { class: "flex-column-footer" };
|
|
64
73
|
function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
65
74
|
return openBlock(), createElementBlock("div", _hoisted_1$$, [
|
|
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$1i, [["render", _sfc_render$1i], ["__scopeId", "data-v-68216a72"]]);
|
|
79
|
+
var flexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
71
80
|
const _sfc_main$1h = {};
|
|
72
|
-
const _hoisted_1$_ = { class: "flex-
|
|
81
|
+
const _hoisted_1$_ = { class: "flex-cell" };
|
|
73
82
|
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
74
83
|
return openBlock(), createElementBlock("div", _hoisted_1$_, [
|
|
75
84
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
76
85
|
]);
|
|
77
86
|
}
|
|
78
|
-
var
|
|
79
|
-
var
|
|
87
|
+
var FlexCell = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1h], ["__scopeId", "data-v-644bb279"]]);
|
|
88
|
+
var flexRow_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
80
89
|
const _sfc_main$1g = {};
|
|
81
|
-
const _hoisted_1$Z = { class: "flex-
|
|
90
|
+
const _hoisted_1$Z = { class: "flex-row" };
|
|
82
91
|
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83
92
|
return openBlock(), createElementBlock("div", _hoisted_1$Z, [
|
|
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$1g, [["render", _sfc_render$1g], ["__scopeId", "data-v-5b76ad1f"]]);
|
|
97
|
+
var flexSpacer_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89
98
|
const _sfc_main$1f = {};
|
|
90
|
-
const _hoisted_1$Y = { class: "flex-
|
|
99
|
+
const _hoisted_1$Y = { class: "flex-spacer" };
|
|
91
100
|
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
92
|
-
return openBlock(), createElementBlock("div", _hoisted_1$Y
|
|
93
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
94
|
-
]);
|
|
101
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Y);
|
|
95
102
|
}
|
|
96
|
-
var
|
|
97
|
-
var
|
|
103
|
+
var FlexSpacer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$1f], ["__scopeId", "data-v-35b15579"]]);
|
|
104
|
+
var panel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
98
105
|
const _sfc_main$1e = {};
|
|
99
|
-
const _hoisted_1$X = { class: "
|
|
106
|
+
const _hoisted_1$X = { class: "panel" };
|
|
100
107
|
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
101
|
-
return openBlock(), createElementBlock("div", _hoisted_1$X
|
|
108
|
+
return openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
109
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
110
|
+
]);
|
|
102
111
|
}
|
|
103
|
-
var
|
|
104
|
-
var
|
|
112
|
+
var Panel = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1e], ["__scopeId", "data-v-50ae77fc"]]);
|
|
113
|
+
var panelBody_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
105
114
|
const _sfc_main$1d = {};
|
|
106
|
-
const _hoisted_1$W = { class: "panel" };
|
|
115
|
+
const _hoisted_1$W = { class: "panel-body" };
|
|
107
116
|
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
108
117
|
return openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
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$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-c82dca76"]]);
|
|
122
|
+
var panelHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
114
123
|
const _sfc_main$1c = {};
|
|
115
|
-
const _hoisted_1$V = { class: "panel-
|
|
124
|
+
const _hoisted_1$V = { class: "panel-header" };
|
|
116
125
|
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
117
126
|
return openBlock(), createElementBlock("div", _hoisted_1$V, [
|
|
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$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-13bf11da"]]);
|
|
131
|
+
var panelFooter_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
123
132
|
const _sfc_main$1b = {};
|
|
124
|
-
const _hoisted_1$U = { class: "panel-
|
|
133
|
+
const _hoisted_1$U = { class: "panel-footer" };
|
|
125
134
|
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
126
135
|
return openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
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$1a = {};
|
|
133
|
-
const _hoisted_1$T = { class: "panel-footer" };
|
|
134
|
-
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
135
|
-
return openBlock(), createElementBlock("div", _hoisted_1$T, [
|
|
136
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
137
|
-
]);
|
|
138
|
-
}
|
|
139
|
-
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__scopeId", "data-v-b4f4786a"]]);
|
|
139
|
+
var PanelFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$1b], ["__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$1a = {
|
|
142
142
|
data() {
|
|
143
143
|
return {
|
|
144
144
|
activeIndex: 0
|
|
@@ -163,8 +163,8 @@ const _sfc_main$19 = {
|
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
};
|
|
166
|
-
const _hoisted_1$
|
|
167
|
-
function _sfc_render$
|
|
166
|
+
const _hoisted_1$T = ["onClick"];
|
|
167
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
168
168
|
const _component_flex_row = resolveComponent("flex-row");
|
|
169
169
|
const _component_flex_header = resolveComponent("flex-header");
|
|
170
170
|
const _component_flex_column = resolveComponent("flex-column");
|
|
@@ -179,7 +179,7 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
179
179
|
class: normalizeClass({ active: index2 === $data.activeIndex }),
|
|
180
180
|
key: `tab-link-${tab.props.heading}`,
|
|
181
181
|
onClick: ($event) => $options.select(index2)
|
|
182
|
-
}, toDisplayString(tab.props.heading), 11, _hoisted_1$
|
|
182
|
+
}, toDisplayString(tab.props.heading), 11, _hoisted_1$T);
|
|
183
183
|
}), 128))
|
|
184
184
|
]),
|
|
185
185
|
_: 1
|
|
@@ -208,8 +208,8 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
208
208
|
_: 1
|
|
209
209
|
});
|
|
210
210
|
}
|
|
211
|
-
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
212
|
-
const _sfc_main$
|
|
211
|
+
var UXTabset = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a], ["__scopeId", "data-v-7e39d77e"]]);
|
|
212
|
+
const _sfc_main$19 = {
|
|
213
213
|
props: {
|
|
214
214
|
heading: {
|
|
215
215
|
type: String,
|
|
@@ -236,7 +236,7 @@ const _sfc_main$18 = {
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
};
|
|
239
|
-
function _sfc_render$
|
|
239
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
240
240
|
const _component_flex_column = resolveComponent("flex-column");
|
|
241
241
|
return openBlock(), createBlock(_component_flex_column, null, {
|
|
242
242
|
default: withCtx(() => [
|
|
@@ -245,7 +245,7 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
245
245
|
_: 3
|
|
246
246
|
});
|
|
247
247
|
}
|
|
248
|
-
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
248
|
+
var UXTab = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19]]);
|
|
249
249
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
250
250
|
var isArray$3 = Array.isArray;
|
|
251
251
|
var isArray_1 = isArray$3;
|
|
@@ -713,7 +713,7 @@ var TableCellMixin = {
|
|
|
713
713
|
}
|
|
714
714
|
};
|
|
715
715
|
var Thumbnail_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
716
|
-
const _sfc_main$
|
|
716
|
+
const _sfc_main$18 = {
|
|
717
717
|
mixins: [TableCellMixin],
|
|
718
718
|
computed: {
|
|
719
719
|
imageSource() {
|
|
@@ -730,11 +730,11 @@ const _sfc_main$17 = {
|
|
|
730
730
|
}
|
|
731
731
|
}
|
|
732
732
|
};
|
|
733
|
-
const _hoisted_1$
|
|
734
|
-
function _sfc_render$
|
|
733
|
+
const _hoisted_1$S = { class: "table-image-cell" };
|
|
734
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
735
735
|
const _component_ux_image = resolveComponent("ux-image");
|
|
736
736
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
737
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
737
|
+
return openBlock(), createElementBlock("td", _hoisted_1$S, [
|
|
738
738
|
$options.type == "image" || $options.type == "video" ? (openBlock(), createElementBlock("div", {
|
|
739
739
|
key: 0,
|
|
740
740
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.clicked(_ctx.value), ["stop", "prevent"])),
|
|
@@ -752,9 +752,9 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
752
752
|
}))
|
|
753
753
|
]);
|
|
754
754
|
}
|
|
755
|
-
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
755
|
+
var ThumbnailCell = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-246a2688"]]);
|
|
756
756
|
var Button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
757
|
-
const _sfc_main$
|
|
757
|
+
const _sfc_main$17 = {
|
|
758
758
|
data() {
|
|
759
759
|
return {
|
|
760
760
|
processing: false
|
|
@@ -778,11 +778,11 @@ const _sfc_main$16 = {
|
|
|
778
778
|
}
|
|
779
779
|
}
|
|
780
780
|
};
|
|
781
|
-
const _hoisted_1$
|
|
782
|
-
function _sfc_render$
|
|
781
|
+
const _hoisted_1$R = { class: "table-button-cell" };
|
|
782
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
783
783
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
784
784
|
const _component_ux_button = resolveComponent("ux-button");
|
|
785
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
785
|
+
return openBlock(), createElementBlock("td", _hoisted_1$R, [
|
|
786
786
|
createVNode(_component_ux_button, {
|
|
787
787
|
color: $options.button.color,
|
|
788
788
|
size: $options.button.size,
|
|
@@ -803,7 +803,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
803
803
|
}, 8, ["color", "size", "loading", "onClick"])
|
|
804
804
|
]);
|
|
805
805
|
}
|
|
806
|
-
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
806
|
+
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-1c498011"]]);
|
|
807
807
|
class LuxonError extends Error {
|
|
808
808
|
}
|
|
809
809
|
class InvalidDateTimeError extends LuxonError {
|
|
@@ -4637,7 +4637,7 @@ function friendlyDateTime(dateTimeish) {
|
|
|
4637
4637
|
}
|
|
4638
4638
|
}
|
|
4639
4639
|
var DateCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4640
|
-
const _sfc_main$
|
|
4640
|
+
const _sfc_main$16 = {
|
|
4641
4641
|
mixins: [TableCellMixin],
|
|
4642
4642
|
computed: {
|
|
4643
4643
|
hasValue() {
|
|
@@ -4658,13 +4658,13 @@ const _sfc_main$15 = {
|
|
|
4658
4658
|
}
|
|
4659
4659
|
}
|
|
4660
4660
|
};
|
|
4661
|
-
const _hoisted_1$
|
|
4661
|
+
const _hoisted_1$Q = { class: "table-date-cell" };
|
|
4662
4662
|
const _hoisted_2$I = { key: 0 };
|
|
4663
4663
|
const _hoisted_3$A = { class: "off" };
|
|
4664
4664
|
const _hoisted_4$w = { class: "on" };
|
|
4665
4665
|
const _hoisted_5$n = { class: "spacer" };
|
|
4666
|
-
function _sfc_render$
|
|
4667
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
4666
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4667
|
+
return openBlock(), createElementBlock("td", _hoisted_1$Q, [
|
|
4668
4668
|
$options.hasValue ? (openBlock(), createElementBlock("div", _hoisted_2$I, [
|
|
4669
4669
|
createElementVNode("span", _hoisted_3$A, toDisplayString($options.readable), 1),
|
|
4670
4670
|
createElementVNode("span", _hoisted_4$w, toDisplayString($options.timeago), 1),
|
|
@@ -4672,9 +4672,9 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4672
4672
|
])) : createCommentVNode("", true)
|
|
4673
4673
|
]);
|
|
4674
4674
|
}
|
|
4675
|
-
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4675
|
+
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-3687693f"]]);
|
|
4676
4676
|
var BooleanCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4677
|
-
const _sfc_main$
|
|
4677
|
+
const _sfc_main$15 = {
|
|
4678
4678
|
mixins: [TableCellMixin],
|
|
4679
4679
|
computed: {
|
|
4680
4680
|
boolean() {
|
|
@@ -4682,7 +4682,7 @@ const _sfc_main$14 = {
|
|
|
4682
4682
|
}
|
|
4683
4683
|
}
|
|
4684
4684
|
};
|
|
4685
|
-
function _sfc_render$
|
|
4685
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4686
4686
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4687
4687
|
return openBlock(), createElementBlock("td", {
|
|
4688
4688
|
class: normalizeClass(["table-boolean-cell", { true: $options.boolean, false: !$options.boolean }])
|
|
@@ -4692,9 +4692,9 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4692
4692
|
}, null, 8, ["icon"])
|
|
4693
4693
|
], 2);
|
|
4694
4694
|
}
|
|
4695
|
-
var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4695
|
+
var BooleanCell = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-27f127ae"]]);
|
|
4696
4696
|
var SecurityCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4697
|
-
const _sfc_main$
|
|
4697
|
+
const _sfc_main$14 = {
|
|
4698
4698
|
mixins: [TableCellMixin],
|
|
4699
4699
|
computed: {
|
|
4700
4700
|
public() {
|
|
@@ -4705,7 +4705,7 @@ const _sfc_main$13 = {
|
|
|
4705
4705
|
}
|
|
4706
4706
|
}
|
|
4707
4707
|
};
|
|
4708
|
-
function _sfc_render$
|
|
4708
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4709
4709
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4710
4710
|
return openBlock(), createElementBlock("td", {
|
|
4711
4711
|
class: normalizeClass(["table-security-cell", $options.security])
|
|
@@ -4715,9 +4715,9 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4715
4715
|
}, null, 8, ["icon"])
|
|
4716
4716
|
], 2);
|
|
4717
4717
|
}
|
|
4718
|
-
var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4718
|
+
var SecurityCell = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-51f8608e"]]);
|
|
4719
4719
|
var URLCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4720
|
-
const _sfc_main$
|
|
4720
|
+
const _sfc_main$13 = {
|
|
4721
4721
|
mixins: [TableCellMixin],
|
|
4722
4722
|
methods: {
|
|
4723
4723
|
open() {
|
|
@@ -4730,11 +4730,11 @@ const _sfc_main$12 = {
|
|
|
4730
4730
|
}
|
|
4731
4731
|
}
|
|
4732
4732
|
};
|
|
4733
|
-
const _hoisted_1$
|
|
4733
|
+
const _hoisted_1$P = { class: "table-url-cell" };
|
|
4734
4734
|
const _hoisted_2$H = ["href"];
|
|
4735
|
-
function _sfc_render$
|
|
4735
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4736
4736
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4737
|
-
return openBlock(), createElementBlock("td", _hoisted_1$
|
|
4737
|
+
return openBlock(), createElementBlock("td", _hoisted_1$P, [
|
|
4738
4738
|
createElementVNode("a", {
|
|
4739
4739
|
href: $options.href,
|
|
4740
4740
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => $options.open && $options.open(...args), ["stop", "prevent"])),
|
|
@@ -4748,9 +4748,9 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4748
4748
|
], 8, _hoisted_2$H)
|
|
4749
4749
|
]);
|
|
4750
4750
|
}
|
|
4751
|
-
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4751
|
+
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-17cf3a86"]]);
|
|
4752
4752
|
var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4753
|
-
const _sfc_main$
|
|
4753
|
+
const _sfc_main$12 = {
|
|
4754
4754
|
props: {
|
|
4755
4755
|
multi: {
|
|
4756
4756
|
type: Boolean
|
|
@@ -4798,8 +4798,8 @@ const _sfc_main$11 = {
|
|
|
4798
4798
|
}
|
|
4799
4799
|
}
|
|
4800
4800
|
};
|
|
4801
|
-
const _hoisted_1$
|
|
4802
|
-
function _sfc_render$
|
|
4801
|
+
const _hoisted_1$O = /* @__PURE__ */ createTextVNode(",\xA0");
|
|
4802
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4803
4803
|
return $options.reference ? (openBlock(), createElementBlock("a", {
|
|
4804
4804
|
key: 0,
|
|
4805
4805
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.clicked($props.value), ["stop", "prevent"]))
|
|
@@ -4808,11 +4808,11 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4808
4808
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
4809
4809
|
createTextVNode(toDisplayString($options.renderValue), 1),
|
|
4810
4810
|
$props.multi && !$props.last ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
4811
|
-
_hoisted_1$
|
|
4811
|
+
_hoisted_1$O
|
|
4812
4812
|
], 64)) : createCommentVNode("", true)
|
|
4813
4813
|
], 64));
|
|
4814
4814
|
}
|
|
4815
|
-
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4815
|
+
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-255b9ec8"]]);
|
|
4816
4816
|
var TableCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4817
4817
|
function extract(row, path) {
|
|
4818
4818
|
if (!row) {
|
|
@@ -4837,7 +4837,7 @@ function extract(row, path) {
|
|
|
4837
4837
|
return extract(stub, remainder);
|
|
4838
4838
|
}
|
|
4839
4839
|
}
|
|
4840
|
-
const _sfc_main$
|
|
4840
|
+
const _sfc_main$11 = {
|
|
4841
4841
|
data() {
|
|
4842
4842
|
return {
|
|
4843
4843
|
component: null
|
|
@@ -4926,20 +4926,20 @@ const _sfc_main$10 = {
|
|
|
4926
4926
|
}
|
|
4927
4927
|
}
|
|
4928
4928
|
};
|
|
4929
|
-
const _hoisted_1$
|
|
4929
|
+
const _hoisted_1$N = {
|
|
4930
4930
|
key: 1,
|
|
4931
4931
|
class: "table-cell"
|
|
4932
4932
|
};
|
|
4933
4933
|
const _hoisted_2$G = { class: "value" };
|
|
4934
4934
|
const _hoisted_3$z = { class: "value" };
|
|
4935
|
-
function _sfc_render$
|
|
4935
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4936
4936
|
const _component_value_renderer = resolveComponent("value-renderer");
|
|
4937
4937
|
return $data.component ? (openBlock(), createBlock(resolveDynamicComponent($data.component), {
|
|
4938
4938
|
key: 0,
|
|
4939
4939
|
column: $props.column,
|
|
4940
4940
|
row: $props.row,
|
|
4941
4941
|
value: $options.value
|
|
4942
|
-
}, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$
|
|
4942
|
+
}, null, 8, ["column", "row", "value"])) : (openBlock(), createElementBlock("td", _hoisted_1$N, [
|
|
4943
4943
|
$options.multiValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
4944
4944
|
$options.complex ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($options.value, (entry, index2) => {
|
|
4945
4945
|
return openBlock(), createElementBlock("span", _hoisted_2$G, [
|
|
@@ -4967,8 +4967,8 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4967
4967
|
}, null, 8, ["type", "value"]))
|
|
4968
4968
|
]));
|
|
4969
4969
|
}
|
|
4970
|
-
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4971
|
-
const _sfc_main
|
|
4970
|
+
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-6c8f100b"]]);
|
|
4971
|
+
const _sfc_main$10 = {
|
|
4972
4972
|
components: {
|
|
4973
4973
|
TableCell
|
|
4974
4974
|
},
|
|
@@ -5023,7 +5023,7 @@ const _sfc_main$$ = {
|
|
|
5023
5023
|
}
|
|
5024
5024
|
}
|
|
5025
5025
|
};
|
|
5026
|
-
function _sfc_render
|
|
5026
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5027
5027
|
const _component_ux_checkbox = resolveComponent("ux-checkbox");
|
|
5028
5028
|
const _component_table_cell = resolveComponent("table-cell");
|
|
5029
5029
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
@@ -5065,7 +5065,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5065
5065
|
])
|
|
5066
5066
|
], 2);
|
|
5067
5067
|
}
|
|
5068
|
-
var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
5068
|
+
var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10]]);
|
|
5069
5069
|
var RememberScrollMixin = {
|
|
5070
5070
|
data() {
|
|
5071
5071
|
return {
|
|
@@ -5096,7 +5096,7 @@ var RememberScrollMixin = {
|
|
|
5096
5096
|
}
|
|
5097
5097
|
};
|
|
5098
5098
|
var Table_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5099
|
-
const _sfc_main
|
|
5099
|
+
const _sfc_main$$ = {
|
|
5100
5100
|
mixins: [RememberScrollMixin],
|
|
5101
5101
|
components: {
|
|
5102
5102
|
TableRow,
|
|
@@ -5154,9 +5154,9 @@ const _sfc_main$_ = {
|
|
|
5154
5154
|
type: Object,
|
|
5155
5155
|
default() {
|
|
5156
5156
|
return {
|
|
5157
|
-
key: "
|
|
5158
|
-
type: "
|
|
5159
|
-
direction: "
|
|
5157
|
+
key: "meta.created",
|
|
5158
|
+
type: "date",
|
|
5159
|
+
direction: "desc"
|
|
5160
5160
|
};
|
|
5161
5161
|
}
|
|
5162
5162
|
},
|
|
@@ -5310,6 +5310,7 @@ const _sfc_main$_ = {
|
|
|
5310
5310
|
direction,
|
|
5311
5311
|
type: column.type
|
|
5312
5312
|
};
|
|
5313
|
+
this.$emit("");
|
|
5313
5314
|
},
|
|
5314
5315
|
clickRow(row) {
|
|
5315
5316
|
this.$emit("click:row", row);
|
|
@@ -5333,7 +5334,7 @@ const _sfc_main$_ = {
|
|
|
5333
5334
|
}
|
|
5334
5335
|
}
|
|
5335
5336
|
};
|
|
5336
|
-
const _hoisted_1$
|
|
5337
|
+
const _hoisted_1$M = { class: "table-wrapper" };
|
|
5337
5338
|
const _hoisted_2$F = {
|
|
5338
5339
|
class: "table-scroll",
|
|
5339
5340
|
ref: "scroll"
|
|
@@ -5350,7 +5351,7 @@ const _hoisted_8$8 = {
|
|
|
5350
5351
|
key: 1,
|
|
5351
5352
|
class: "last shrink"
|
|
5352
5353
|
};
|
|
5353
|
-
function _sfc_render
|
|
5354
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5354
5355
|
const _component_ux_checkbox = resolveComponent("ux-checkbox");
|
|
5355
5356
|
const _component_ux_list_item = resolveComponent("ux-list-item");
|
|
5356
5357
|
const _component_ux_list = resolveComponent("ux-list");
|
|
@@ -5358,7 +5359,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5358
5359
|
const _component_flex_cell = resolveComponent("flex-cell");
|
|
5359
5360
|
const _component_flex_row = resolveComponent("flex-row");
|
|
5360
5361
|
const _component_table_row = resolveComponent("table-row");
|
|
5361
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5362
|
+
return openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
5362
5363
|
createElementVNode("div", _hoisted_2$F, [
|
|
5363
5364
|
createElementVNode("table", null, [
|
|
5364
5365
|
createElementVNode("thead", null, [
|
|
@@ -5474,7 +5475,27 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5474
5475
|
], 512)
|
|
5475
5476
|
]);
|
|
5476
5477
|
}
|
|
5477
|
-
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
5478
|
+
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-03eb874f"]]);
|
|
5479
|
+
var avatar_vue_vue_type_style_index_0_lang = "";
|
|
5480
|
+
const _sfc_main$_ = {
|
|
5481
|
+
props: {
|
|
5482
|
+
id: {
|
|
5483
|
+
type: [Object, String]
|
|
5484
|
+
}
|
|
5485
|
+
},
|
|
5486
|
+
computed: {
|
|
5487
|
+
stringID() {
|
|
5488
|
+
return this.$sdk.utils.id(this.id);
|
|
5489
|
+
},
|
|
5490
|
+
url() {
|
|
5491
|
+
}
|
|
5492
|
+
}
|
|
5493
|
+
};
|
|
5494
|
+
const _hoisted_1$L = { class: "avatar" };
|
|
5495
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5496
|
+
return openBlock(), createElementBlock("div", _hoisted_1$L);
|
|
5497
|
+
}
|
|
5498
|
+
var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_]]);
|
|
5478
5499
|
var spinner_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5479
5500
|
const _sfc_main$Z = {
|
|
5480
5501
|
props: {
|
|
@@ -18656,22 +18677,21 @@ const _sfc_main$9 = {
|
|
|
18656
18677
|
},
|
|
18657
18678
|
async created() {
|
|
18658
18679
|
var self2 = this;
|
|
18659
|
-
await Promise
|
|
18660
|
-
|
|
18661
|
-
|
|
18662
|
-
|
|
18663
|
-
|
|
18664
|
-
|
|
18665
|
-
|
|
18666
|
-
|
|
18667
|
-
|
|
18668
|
-
|
|
18669
|
-
|
|
18670
|
-
|
|
18671
|
-
|
|
18672
|
-
|
|
18673
|
-
|
|
18674
|
-
]);
|
|
18680
|
+
await new Promise(async function(resolve, reject) {
|
|
18681
|
+
var glossary = await self2.$sdk.content.glossary({ hash: true });
|
|
18682
|
+
var definition = glossary[self2.type];
|
|
18683
|
+
self2.definition = definition;
|
|
18684
|
+
if (!definition) {
|
|
18685
|
+
return reject();
|
|
18686
|
+
}
|
|
18687
|
+
resolve();
|
|
18688
|
+
});
|
|
18689
|
+
self2.sort = self2.defaultSort;
|
|
18690
|
+
await new Promise(async function(resolve, reject) {
|
|
18691
|
+
var dataSource = await self2.load();
|
|
18692
|
+
self2.dataSource = dataSource;
|
|
18693
|
+
resolve();
|
|
18694
|
+
});
|
|
18675
18695
|
},
|
|
18676
18696
|
watch: {
|
|
18677
18697
|
keywords(k) {
|
|
@@ -18739,12 +18759,25 @@ const _sfc_main$9 = {
|
|
|
18739
18759
|
},
|
|
18740
18760
|
defaultSort() {
|
|
18741
18761
|
var _a;
|
|
18742
|
-
var defaultSort = (
|
|
18762
|
+
var defaultSort = (_a = this.definition) == null ? void 0 : _a.defaultSort;
|
|
18763
|
+
if (defaultSort) {
|
|
18764
|
+
return defaultSort;
|
|
18765
|
+
}
|
|
18766
|
+
defaultSort = {
|
|
18743
18767
|
key: "title",
|
|
18744
18768
|
direction: "asc",
|
|
18745
18769
|
type: "string"
|
|
18746
18770
|
};
|
|
18747
18771
|
switch (this.basicType) {
|
|
18772
|
+
case "profile":
|
|
18773
|
+
case "persona":
|
|
18774
|
+
case "user":
|
|
18775
|
+
defaultSort = {
|
|
18776
|
+
key: "lastName",
|
|
18777
|
+
direction: "asc",
|
|
18778
|
+
type: "string"
|
|
18779
|
+
};
|
|
18780
|
+
break;
|
|
18748
18781
|
case "email":
|
|
18749
18782
|
case "notification":
|
|
18750
18783
|
case "transaction":
|
|
@@ -18918,6 +18951,7 @@ const _sfc_main$9 = {
|
|
|
18918
18951
|
},
|
|
18919
18952
|
loadCriteria() {
|
|
18920
18953
|
var self2 = this;
|
|
18954
|
+
console.log("Load Criteria now", self2.sort);
|
|
18921
18955
|
var sort2 = self2.sort || self2.defaultSort;
|
|
18922
18956
|
var search = self2.keywords;
|
|
18923
18957
|
var select = self2.selectFields;
|
|
@@ -19089,7 +19123,7 @@ const _sfc_main$9 = {
|
|
|
19089
19123
|
};
|
|
19090
19124
|
}
|
|
19091
19125
|
};
|
|
19092
|
-
const _withScopeId$1 = (n2) => (pushScopeId("data-v-
|
|
19126
|
+
const _withScopeId$1 = (n2) => (pushScopeId("data-v-254f7eec"), n2 = n2(), popScopeId(), n2);
|
|
19093
19127
|
const _hoisted_1$7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
19094
19128
|
const _hoisted_2$6 = { key: 0 };
|
|
19095
19129
|
const _hoisted_3$5 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("p", null, null, -1));
|
|
@@ -19279,7 +19313,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19279
19313
|
_: 3
|
|
19280
19314
|
})) : createCommentVNode("", true);
|
|
19281
19315
|
}
|
|
19282
|
-
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-
|
|
19316
|
+
var ContentBrowser = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-254f7eec"]]);
|
|
19283
19317
|
var ScopeItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
19284
19318
|
const _sfc_main$8 = {
|
|
19285
19319
|
props: {
|
|
@@ -20372,6 +20406,7 @@ const defaultComponents = {
|
|
|
20372
20406
|
UxLink: UXLink,
|
|
20373
20407
|
UxTabset: UXTabset,
|
|
20374
20408
|
UxTab: UXTab,
|
|
20409
|
+
Avatar,
|
|
20375
20410
|
Spinner,
|
|
20376
20411
|
ProgressBar,
|
|
20377
20412
|
UxModal
|
|
@@ -20445,5 +20480,5 @@ const QikUI = {
|
|
|
20445
20480
|
}
|
|
20446
20481
|
}
|
|
20447
20482
|
};
|
|
20448
|
-
export { CodeEditor, ContentBrowser, Daterange as DateRange, device as Device, FileDrop, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikUI, RememberScrollMixin, 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 };
|
|
20483
|
+
export { Avatar, CodeEditor, ContentBrowser, Daterange as DateRange, device as Device, FileDrop, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar, QikUI, RememberScrollMixin, 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 };
|
|
20449
20484
|
//# sourceMappingURL=lib.es.js.map
|