@qikdev/vue-ui 0.1.49 → 0.1.52
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 +200 -117
- 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.52";
|
|
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$1a = {};
|
|
45
45
|
const _hoisted_1$Y = { class: "flex-column" };
|
|
46
|
-
function _sfc_render$
|
|
46
|
+
function _sfc_render$1a(_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$1a, [["render", _sfc_render$1a], ["__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$19 = {};
|
|
54
54
|
const _hoisted_1$X = { class: "flex-column-body" };
|
|
55
|
-
function _sfc_render$
|
|
55
|
+
function _sfc_render$19(_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$19, [["render", _sfc_render$19], ["__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$18 = {};
|
|
63
63
|
const _hoisted_1$W = { class: "flex-column-header" };
|
|
64
|
-
function _sfc_render$
|
|
64
|
+
function _sfc_render$18(_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$18, [["render", _sfc_render$18], ["__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$17 = {};
|
|
72
72
|
const _hoisted_1$V = { class: "flex-column-footer" };
|
|
73
|
-
function _sfc_render$
|
|
73
|
+
function _sfc_render$17(_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$17, [["render", _sfc_render$17], ["__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$16 = {};
|
|
81
81
|
const _hoisted_1$U = { class: "flex-cell" };
|
|
82
|
-
function _sfc_render$
|
|
82
|
+
function _sfc_render$16(_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$16, [["render", _sfc_render$16], ["__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$15 = {};
|
|
90
90
|
const _hoisted_1$T = { class: "flex-row" };
|
|
91
|
-
function _sfc_render$
|
|
91
|
+
function _sfc_render$15(_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$15, [["render", _sfc_render$15], ["__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$14 = {};
|
|
99
99
|
const _hoisted_1$S = { class: "flex-spacer" };
|
|
100
|
-
function _sfc_render$
|
|
100
|
+
function _sfc_render$14(_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$14, [["render", _sfc_render$14], ["__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$13 = {};
|
|
106
106
|
const _hoisted_1$R = { class: "panel" };
|
|
107
|
-
function _sfc_render$
|
|
107
|
+
function _sfc_render$13(_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$13, [["render", _sfc_render$13], ["__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$12 = {};
|
|
115
115
|
const _hoisted_1$Q = { class: "panel-body" };
|
|
116
|
-
function _sfc_render$
|
|
116
|
+
function _sfc_render$12(_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$12, [["render", _sfc_render$12], ["__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$11 = {};
|
|
124
124
|
const _hoisted_1$P = { class: "panel-header" };
|
|
125
|
-
function _sfc_render$
|
|
125
|
+
function _sfc_render$11(_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$11, [["render", _sfc_render$11], ["__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$10 = {};
|
|
133
133
|
const _hoisted_1$O = { class: "panel-footer" };
|
|
134
|
-
function _sfc_render
|
|
134
|
+
function _sfc_render$10(_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$10, [["render", _sfc_render$10], ["__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$$ = {
|
|
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$$(_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$$, [["render", _sfc_render$$], ["__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$Z = {
|
|
|
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$Z(_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$Z = {
|
|
703
703
|
mixins: [TableCellMixin],
|
|
704
704
|
computed: {
|
|
705
705
|
type() {
|
|
@@ -709,7 +709,7 @@ const _sfc_main$Y = {
|
|
|
709
709
|
}
|
|
710
710
|
};
|
|
711
711
|
const _hoisted_1$M = { class: "table-image-cell" };
|
|
712
|
-
function _sfc_render$
|
|
712
|
+
function _sfc_render$Z(_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$Y(_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$Z, [["render", _sfc_render$Z], ["__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$Y = {
|
|
730
730
|
data() {
|
|
731
731
|
return {
|
|
732
732
|
processing: false
|
|
@@ -751,7 +751,7 @@ const _sfc_main$X = {
|
|
|
751
751
|
}
|
|
752
752
|
};
|
|
753
753
|
const _hoisted_1$L = { class: "table-button-cell" };
|
|
754
|
-
function _sfc_render$
|
|
754
|
+
function _sfc_render$Y(_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$X(_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$Y, [["render", _sfc_render$Y], ["__scopeId", "data-v-3cbecb7e"]]);
|
|
778
778
|
class LuxonError extends Error {
|
|
779
779
|
}
|
|
780
780
|
class InvalidDateTimeError extends LuxonError {
|
|
@@ -4608,7 +4608,7 @@ 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$X = {
|
|
4612
4612
|
mixins: [TableCellMixin],
|
|
4613
4613
|
computed: {
|
|
4614
4614
|
timeago() {
|
|
@@ -4630,7 +4630,7 @@ const _hoisted_1$K = { class: "table-date-cell" };
|
|
|
4630
4630
|
const _hoisted_2$B = { class: "off" };
|
|
4631
4631
|
const _hoisted_3$v = { class: "on" };
|
|
4632
4632
|
const _hoisted_4$r = { class: "spacer" };
|
|
4633
|
-
function _sfc_render$
|
|
4633
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4634
4634
|
return openBlock(), createElementBlock("td", _hoisted_1$K, [
|
|
4635
4635
|
createElementVNode("div", null, [
|
|
4636
4636
|
createElementVNode("span", _hoisted_2$B, toDisplayString($options.readable), 1),
|
|
@@ -4639,9 +4639,9 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4639
4639
|
])
|
|
4640
4640
|
]);
|
|
4641
4641
|
}
|
|
4642
|
-
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4642
|
+
var DateCell = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X], ["__scopeId", "data-v-bde0ae3a"]]);
|
|
4643
4643
|
var URLCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4644
|
-
const _sfc_main$
|
|
4644
|
+
const _sfc_main$W = {
|
|
4645
4645
|
mixins: [TableCellMixin],
|
|
4646
4646
|
methods: {
|
|
4647
4647
|
open() {
|
|
@@ -4656,7 +4656,7 @@ const _sfc_main$V = {
|
|
|
4656
4656
|
};
|
|
4657
4657
|
const _hoisted_1$J = { class: "table-url-cell" };
|
|
4658
4658
|
const _hoisted_2$A = ["href"];
|
|
4659
|
-
function _sfc_render$
|
|
4659
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4660
4660
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
4661
4661
|
return openBlock(), createElementBlock("td", _hoisted_1$J, [
|
|
4662
4662
|
createElementVNode("a", {
|
|
@@ -4672,9 +4672,9 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4672
4672
|
], 8, _hoisted_2$A)
|
|
4673
4673
|
]);
|
|
4674
4674
|
}
|
|
4675
|
-
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4675
|
+
var URLCell = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-17cf3a86"]]);
|
|
4676
4676
|
var Value_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4677
|
-
const _sfc_main$
|
|
4677
|
+
const _sfc_main$V = {
|
|
4678
4678
|
props: {
|
|
4679
4679
|
multi: {
|
|
4680
4680
|
type: Boolean
|
|
@@ -4723,7 +4723,7 @@ const _sfc_main$U = {
|
|
|
4723
4723
|
}
|
|
4724
4724
|
};
|
|
4725
4725
|
const _hoisted_1$I = /* @__PURE__ */ createTextVNode(",\xA0");
|
|
4726
|
-
function _sfc_render$
|
|
4726
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4727
4727
|
return $options.reference ? (openBlock(), createElementBlock("a", {
|
|
4728
4728
|
key: 0,
|
|
4729
4729
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.clicked($props.value), ["stop", "prevent"]))
|
|
@@ -4736,7 +4736,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4736
4736
|
], 64)) : createCommentVNode("", true)
|
|
4737
4737
|
], 64));
|
|
4738
4738
|
}
|
|
4739
|
-
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4739
|
+
var ValueRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V], ["__scopeId", "data-v-255b9ec8"]]);
|
|
4740
4740
|
var TableCell_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
4741
4741
|
function extract(row, path) {
|
|
4742
4742
|
if (!row) {
|
|
@@ -4761,7 +4761,7 @@ function extract(row, path) {
|
|
|
4761
4761
|
return extract(stub, remainder);
|
|
4762
4762
|
}
|
|
4763
4763
|
}
|
|
4764
|
-
const _sfc_main$
|
|
4764
|
+
const _sfc_main$U = {
|
|
4765
4765
|
data() {
|
|
4766
4766
|
return {
|
|
4767
4767
|
component: null
|
|
@@ -4842,7 +4842,7 @@ const _hoisted_1$H = {
|
|
|
4842
4842
|
};
|
|
4843
4843
|
const _hoisted_2$z = { class: "value" };
|
|
4844
4844
|
const _hoisted_3$u = { class: "value" };
|
|
4845
|
-
function _sfc_render$
|
|
4845
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4846
4846
|
const _component_value_renderer = resolveComponent("value-renderer");
|
|
4847
4847
|
return $data.component ? (openBlock(), createBlock(resolveDynamicComponent($data.component), {
|
|
4848
4848
|
key: 0,
|
|
@@ -4877,8 +4877,8 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4877
4877
|
}, null, 8, ["type", "value"]))
|
|
4878
4878
|
]));
|
|
4879
4879
|
}
|
|
4880
|
-
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4881
|
-
const _sfc_main$
|
|
4880
|
+
var TableCell = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-d2ef28aa"]]);
|
|
4881
|
+
const _sfc_main$T = {
|
|
4882
4882
|
components: {
|
|
4883
4883
|
TableCell
|
|
4884
4884
|
},
|
|
@@ -4929,7 +4929,7 @@ const _sfc_main$S = {
|
|
|
4929
4929
|
}
|
|
4930
4930
|
}
|
|
4931
4931
|
};
|
|
4932
|
-
function _sfc_render$
|
|
4932
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4933
4933
|
const _component_ux_checkbox = resolveComponent("ux-checkbox");
|
|
4934
4934
|
const _component_table_cell = resolveComponent("table-cell");
|
|
4935
4935
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
@@ -4971,7 +4971,7 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4971
4971
|
])
|
|
4972
4972
|
], 2);
|
|
4973
4973
|
}
|
|
4974
|
-
var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4974
|
+
var TableRow = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T]]);
|
|
4975
4975
|
var RememberScrollMixin = {
|
|
4976
4976
|
data() {
|
|
4977
4977
|
return {
|
|
@@ -5002,7 +5002,7 @@ var RememberScrollMixin = {
|
|
|
5002
5002
|
}
|
|
5003
5003
|
};
|
|
5004
5004
|
var Table_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5005
|
-
const _sfc_main$
|
|
5005
|
+
const _sfc_main$S = {
|
|
5006
5006
|
mixins: [RememberScrollMixin],
|
|
5007
5007
|
components: {
|
|
5008
5008
|
TableRow,
|
|
@@ -5163,7 +5163,7 @@ const _hoisted_8$8 = {
|
|
|
5163
5163
|
key: 1,
|
|
5164
5164
|
class: "last shrink"
|
|
5165
5165
|
};
|
|
5166
|
-
function _sfc_render$
|
|
5166
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5167
5167
|
const _component_ux_checkbox = resolveComponent("ux-checkbox");
|
|
5168
5168
|
const _component_ux_list_item = resolveComponent("ux-list-item");
|
|
5169
5169
|
const _component_ux_list = resolveComponent("ux-list");
|
|
@@ -5255,9 +5255,9 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5255
5255
|
], 512)
|
|
5256
5256
|
]);
|
|
5257
5257
|
}
|
|
5258
|
-
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5258
|
+
var NativeTable = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S], ["__scopeId", "data-v-e626ef3a"]]);
|
|
5259
5259
|
var spinner_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5260
|
-
const _sfc_main$
|
|
5260
|
+
const _sfc_main$R = {
|
|
5261
5261
|
props: {
|
|
5262
5262
|
large: {
|
|
5263
5263
|
type: Boolean
|
|
@@ -5269,14 +5269,14 @@ const _hoisted_1$F = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ create
|
|
|
5269
5269
|
const _hoisted_2$x = [
|
|
5270
5270
|
_hoisted_1$F
|
|
5271
5271
|
];
|
|
5272
|
-
function _sfc_render$
|
|
5272
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5273
5273
|
return openBlock(), createElementBlock("div", {
|
|
5274
5274
|
class: normalizeClass(["ux-spinner", { large: $props.large }])
|
|
5275
5275
|
}, _hoisted_2$x, 2);
|
|
5276
5276
|
}
|
|
5277
|
-
var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5277
|
+
var Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-27f20370"]]);
|
|
5278
5278
|
var button_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5279
|
-
const _sfc_main$
|
|
5279
|
+
const _sfc_main$Q = {
|
|
5280
5280
|
components: {
|
|
5281
5281
|
Spinner
|
|
5282
5282
|
},
|
|
@@ -5376,7 +5376,7 @@ const _sfc_main$P = {
|
|
|
5376
5376
|
}
|
|
5377
5377
|
};
|
|
5378
5378
|
const _hoisted_1$E = { class: "ux-btn-text" };
|
|
5379
|
-
function _sfc_render$
|
|
5379
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5380
5380
|
const _component_spinner = resolveComponent("spinner");
|
|
5381
5381
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
5382
5382
|
active: $props.active,
|
|
@@ -5397,9 +5397,9 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5397
5397
|
_: 3
|
|
5398
5398
|
}, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
|
|
5399
5399
|
}
|
|
5400
|
-
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5400
|
+
var UXButton = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-ef0c5e26"]]);
|
|
5401
5401
|
var checkbox_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
5402
|
-
const _sfc_main$
|
|
5402
|
+
const _sfc_main$P = {
|
|
5403
5403
|
props: {
|
|
5404
5404
|
value: {
|
|
5405
5405
|
type: Boolean,
|
|
@@ -5420,7 +5420,7 @@ const _sfc_main$O = {
|
|
|
5420
5420
|
}
|
|
5421
5421
|
}
|
|
5422
5422
|
};
|
|
5423
|
-
function _sfc_render$
|
|
5423
|
+
function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5424
5424
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
5425
5425
|
return openBlock(), createElementBlock("button", {
|
|
5426
5426
|
class: normalizeClass(["ux-checkbox", $options.classes])
|
|
@@ -5431,9 +5431,9 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5431
5431
|
})
|
|
5432
5432
|
], 2);
|
|
5433
5433
|
}
|
|
5434
|
-
var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5434
|
+
var UXCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P], ["__scopeId", "data-v-73f2c6b6"]]);
|
|
5435
5435
|
var switch_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
5436
|
-
const _sfc_main$
|
|
5436
|
+
const _sfc_main$O = {
|
|
5437
5437
|
props: {
|
|
5438
5438
|
value: {
|
|
5439
5439
|
type: Boolean,
|
|
@@ -5463,7 +5463,7 @@ const _sfc_main$N = {
|
|
|
5463
5463
|
}
|
|
5464
5464
|
}
|
|
5465
5465
|
};
|
|
5466
|
-
function _sfc_render$
|
|
5466
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5467
5467
|
const _component_ux_icon = resolveComponent("ux-icon");
|
|
5468
5468
|
return openBlock(), createElementBlock("a", {
|
|
5469
5469
|
class: normalizeClass(["ux-switch", $options.classes])
|
|
@@ -5476,9 +5476,9 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5476
5476
|
])
|
|
5477
5477
|
], 2);
|
|
5478
5478
|
}
|
|
5479
|
-
var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5479
|
+
var UXSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O], ["__scopeId", "data-v-57a418e1"]]);
|
|
5480
5480
|
var link_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5481
|
-
const _sfc_main$
|
|
5481
|
+
const _sfc_main$N = {
|
|
5482
5482
|
props: {
|
|
5483
5483
|
to: {
|
|
5484
5484
|
type: [Object, String]
|
|
@@ -5496,10 +5496,19 @@ const _sfc_main$M = {
|
|
|
5496
5496
|
methods: {
|
|
5497
5497
|
clicked(event) {
|
|
5498
5498
|
var self2 = this;
|
|
5499
|
-
if (self2.
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5499
|
+
if (self2.to) {
|
|
5500
|
+
if (self2.buildMode || self2.nuxtMode) {
|
|
5501
|
+
event.preventDefault();
|
|
5502
|
+
event.stopImmediatePropagation();
|
|
5503
|
+
return self2.$sdk.app.to(self2.to);
|
|
5504
|
+
}
|
|
5505
|
+
}
|
|
5506
|
+
if (self2.href) {
|
|
5507
|
+
if (self2.buildMode || self2.nuxtMode) {
|
|
5508
|
+
event.preventDefault();
|
|
5509
|
+
event.stopImmediatePropagation();
|
|
5510
|
+
return;
|
|
5511
|
+
}
|
|
5503
5512
|
}
|
|
5504
5513
|
}
|
|
5505
5514
|
},
|
|
@@ -5543,7 +5552,7 @@ const _sfc_main$M = {
|
|
|
5543
5552
|
}
|
|
5544
5553
|
}
|
|
5545
5554
|
};
|
|
5546
|
-
function _sfc_render$
|
|
5555
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5547
5556
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
5548
5557
|
onClick: $options.clicked,
|
|
5549
5558
|
to: $props.to,
|
|
@@ -5557,9 +5566,9 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5557
5566
|
_: 3
|
|
5558
5567
|
}, 8, ["onClick", "to", "href", "target", "class"]);
|
|
5559
5568
|
}
|
|
5560
|
-
var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5569
|
+
var UXLink = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$N], ["__scopeId", "data-v-efa81728"]]);
|
|
5561
5570
|
var icon_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5562
|
-
const _sfc_main$
|
|
5571
|
+
const _sfc_main$M = {
|
|
5563
5572
|
props: {
|
|
5564
5573
|
icon: {
|
|
5565
5574
|
type: [Object, String]
|
|
@@ -5594,17 +5603,17 @@ const _sfc_main$L = {
|
|
|
5594
5603
|
}
|
|
5595
5604
|
}
|
|
5596
5605
|
};
|
|
5597
|
-
function _sfc_render$
|
|
5606
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5598
5607
|
return openBlock(), createBlock(resolveDynamicComponent($options.element), {
|
|
5599
5608
|
class: normalizeClass(["ux-icon fa", $options.classes])
|
|
5600
5609
|
}, null, 8, ["class"]);
|
|
5601
5610
|
}
|
|
5602
|
-
var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5611
|
+
var UXIcon = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-1764a3d0"]]);
|
|
5603
5612
|
var UXMenuService = {
|
|
5604
5613
|
cache: {}
|
|
5605
5614
|
};
|
|
5606
5615
|
var menu_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5607
|
-
const _sfc_main$
|
|
5616
|
+
const _sfc_main$L = {
|
|
5608
5617
|
props: {
|
|
5609
5618
|
group: {
|
|
5610
5619
|
type: String
|
|
@@ -5756,7 +5765,7 @@ const _sfc_main$K = {
|
|
|
5756
5765
|
}
|
|
5757
5766
|
}
|
|
5758
5767
|
};
|
|
5759
|
-
function _sfc_render$
|
|
5768
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5760
5769
|
return openBlock(), createElementBlock("div", {
|
|
5761
5770
|
class: normalizeClass(["ux-menu", { right: $props.right }])
|
|
5762
5771
|
}, [
|
|
@@ -5780,7 +5789,80 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5780
5789
|
]))
|
|
5781
5790
|
], 2);
|
|
5782
5791
|
}
|
|
5783
|
-
var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5792
|
+
var UXMenu = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-29d476a2"]]);
|
|
5793
|
+
const _sfc_main$K = {
|
|
5794
|
+
name: "menulist",
|
|
5795
|
+
props: {
|
|
5796
|
+
items: {
|
|
5797
|
+
type: Array,
|
|
5798
|
+
default() {
|
|
5799
|
+
return [];
|
|
5800
|
+
}
|
|
5801
|
+
},
|
|
5802
|
+
expandOn: {
|
|
5803
|
+
type: String,
|
|
5804
|
+
default: "click"
|
|
5805
|
+
}
|
|
5806
|
+
},
|
|
5807
|
+
methods: {
|
|
5808
|
+
toggle(item) {
|
|
5809
|
+
item.expanded = !item.expanded;
|
|
5810
|
+
item.collapsed = !item.expanded;
|
|
5811
|
+
}
|
|
5812
|
+
},
|
|
5813
|
+
data() {
|
|
5814
|
+
return {};
|
|
5815
|
+
}
|
|
5816
|
+
};
|
|
5817
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5818
|
+
const _component_ux_link = resolveComponent("ux-link");
|
|
5819
|
+
const _component_menulist = resolveComponent("menulist", true);
|
|
5820
|
+
return openBlock(), createElementBlock("ul", null, [
|
|
5821
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.items, (item) => {
|
|
5822
|
+
var _a;
|
|
5823
|
+
return openBlock(), createElementBlock("li", {
|
|
5824
|
+
class: normalizeClass({ expanded: item.expanded, collapsed: item.collapsed })
|
|
5825
|
+
}, [
|
|
5826
|
+
$props.expandOn === "click" && ((_a = item.items) == null ? void 0 : _a.length) ? (openBlock(), createBlock(_component_ux_link, {
|
|
5827
|
+
key: 0,
|
|
5828
|
+
onClick: withModifiers(($event) => $options.toggle(item), ["stop", "prevent"]),
|
|
5829
|
+
class: normalizeClass(item.class)
|
|
5830
|
+
}, {
|
|
5831
|
+
default: withCtx(() => [
|
|
5832
|
+
createTextVNode(toDisplayString(item.title), 1)
|
|
5833
|
+
]),
|
|
5834
|
+
_: 2
|
|
5835
|
+
}, 1032, ["onClick", "class"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
5836
|
+
item.type === "url" ? (openBlock(), createBlock(_component_ux_link, {
|
|
5837
|
+
key: 0,
|
|
5838
|
+
class: normalizeClass(item.class),
|
|
5839
|
+
target: item.target,
|
|
5840
|
+
href: item.href || item.url
|
|
5841
|
+
}, {
|
|
5842
|
+
default: withCtx(() => [
|
|
5843
|
+
createTextVNode(toDisplayString(item.title), 1)
|
|
5844
|
+
]),
|
|
5845
|
+
_: 2
|
|
5846
|
+
}, 1032, ["class", "target", "href"])) : item.type === "route" ? (openBlock(), createBlock(_component_ux_link, {
|
|
5847
|
+
key: 1,
|
|
5848
|
+
class: normalizeClass(item.class),
|
|
5849
|
+
to: { name: item.route }
|
|
5850
|
+
}, {
|
|
5851
|
+
default: withCtx(() => [
|
|
5852
|
+
createTextVNode(toDisplayString(item.title), 1)
|
|
5853
|
+
]),
|
|
5854
|
+
_: 2
|
|
5855
|
+
}, 1032, ["class", "to"])) : createCommentVNode("", true)
|
|
5856
|
+
], 64)),
|
|
5857
|
+
item.items && item.items.length ? (openBlock(), createBlock(_component_menulist, {
|
|
5858
|
+
key: 2,
|
|
5859
|
+
items: item.items
|
|
5860
|
+
}, null, 8, ["items"])) : createCommentVNode("", true)
|
|
5861
|
+
], 2);
|
|
5862
|
+
}), 256))
|
|
5863
|
+
]);
|
|
5864
|
+
}
|
|
5865
|
+
var UXMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K]]);
|
|
5784
5866
|
var image_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
5785
5867
|
const _sfc_main$J = {
|
|
5786
5868
|
props: {
|
|
@@ -18098,7 +18180,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18098
18180
|
], 4)
|
|
18099
18181
|
]);
|
|
18100
18182
|
}
|
|
18101
|
-
var
|
|
18183
|
+
var UxModal = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-53027fe5"]]);
|
|
18102
18184
|
var ConfirmModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18103
18185
|
const _sfc_main$3 = {
|
|
18104
18186
|
mixins: [ModalMixin]
|
|
@@ -18163,7 +18245,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18163
18245
|
_: 1
|
|
18164
18246
|
});
|
|
18165
18247
|
}
|
|
18166
|
-
var
|
|
18248
|
+
var UxConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-20b62981"]]);
|
|
18167
18249
|
var OptionsModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18168
18250
|
const _sfc_main$2 = {
|
|
18169
18251
|
data() {
|
|
@@ -18261,7 +18343,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18261
18343
|
_: 1
|
|
18262
18344
|
});
|
|
18263
18345
|
}
|
|
18264
|
-
var
|
|
18346
|
+
var UxOptionsModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-09008c8a"]]);
|
|
18265
18347
|
var PromptModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18266
18348
|
const _sfc_main$1 = {
|
|
18267
18349
|
mixins: [ModalMixin],
|
|
@@ -18362,7 +18444,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18362
18444
|
})
|
|
18363
18445
|
], 32);
|
|
18364
18446
|
}
|
|
18365
|
-
var
|
|
18447
|
+
var UxPromptModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-4af3c888"]]);
|
|
18366
18448
|
var ContentModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18367
18449
|
const _sfc_main = {
|
|
18368
18450
|
components: {
|
|
@@ -18507,7 +18589,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18507
18589
|
_: 1
|
|
18508
18590
|
});
|
|
18509
18591
|
}
|
|
18510
|
-
var
|
|
18592
|
+
var UxContentModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-57c31aea"]]);
|
|
18511
18593
|
function device() {
|
|
18512
18594
|
var service2 = reactive({
|
|
18513
18595
|
mounted: false,
|
|
@@ -18675,6 +18757,7 @@ const defaultComponents = {
|
|
|
18675
18757
|
UxRenderField: UXRenderField,
|
|
18676
18758
|
UxIcon: UXIcon,
|
|
18677
18759
|
UxMenu: UXMenu,
|
|
18760
|
+
UxMenuList: UXMenuList,
|
|
18678
18761
|
UxImage: UXImage,
|
|
18679
18762
|
UxButton: UXButton,
|
|
18680
18763
|
UxCheckbox: UXCheckbox,
|
|
@@ -18684,32 +18767,32 @@ const defaultComponents = {
|
|
|
18684
18767
|
UxTab: UXTab,
|
|
18685
18768
|
Spinner,
|
|
18686
18769
|
ProgressBar,
|
|
18687
|
-
|
|
18770
|
+
UxModal
|
|
18688
18771
|
};
|
|
18689
18772
|
const QikUI = {
|
|
18690
|
-
install(Vue,
|
|
18773
|
+
install(Vue, sdk) {
|
|
18691
18774
|
console.log(versionName);
|
|
18692
|
-
|
|
18693
|
-
|
|
18775
|
+
sdk.modals = reactive([]);
|
|
18776
|
+
sdk.modal = function(modal) {
|
|
18694
18777
|
return new Promise(function(resolve, reject) {
|
|
18695
|
-
modal.id =
|
|
18778
|
+
modal.id = sdk.modals.length;
|
|
18696
18779
|
modal.resolve = resolve;
|
|
18697
18780
|
modal.reject = reject;
|
|
18698
|
-
|
|
18781
|
+
sdk.modals.splice(modal.id, 0, modal);
|
|
18699
18782
|
});
|
|
18700
18783
|
};
|
|
18701
|
-
|
|
18784
|
+
sdk.browse = function(type, options) {
|
|
18702
18785
|
options = options || {};
|
|
18703
18786
|
options.type = type;
|
|
18704
18787
|
options.model = options.model || [];
|
|
18705
|
-
return
|
|
18706
|
-
component:
|
|
18788
|
+
return sdk.modal({
|
|
18789
|
+
component: UxContentModal,
|
|
18707
18790
|
options
|
|
18708
18791
|
});
|
|
18709
18792
|
};
|
|
18710
|
-
|
|
18711
|
-
return
|
|
18712
|
-
component:
|
|
18793
|
+
sdk.options = function(choices, title, description) {
|
|
18794
|
+
return sdk.modal({
|
|
18795
|
+
component: UxOptionsModal,
|
|
18713
18796
|
options: {
|
|
18714
18797
|
title,
|
|
18715
18798
|
description,
|
|
@@ -18717,29 +18800,29 @@ const QikUI = {
|
|
|
18717
18800
|
}
|
|
18718
18801
|
});
|
|
18719
18802
|
};
|
|
18720
|
-
|
|
18803
|
+
sdk.prompt = function(fields, options) {
|
|
18721
18804
|
options = options || {};
|
|
18722
18805
|
options.model = options.model || {};
|
|
18723
18806
|
options.fields = fields;
|
|
18724
|
-
return
|
|
18725
|
-
component:
|
|
18807
|
+
return sdk.modal({
|
|
18808
|
+
component: UxPromptModal,
|
|
18726
18809
|
options
|
|
18727
18810
|
});
|
|
18728
18811
|
};
|
|
18729
|
-
|
|
18812
|
+
sdk.confirm = function(title, options) {
|
|
18730
18813
|
options = options || {};
|
|
18731
18814
|
options.title = title;
|
|
18732
|
-
return
|
|
18733
|
-
component:
|
|
18815
|
+
return sdk.modal({
|
|
18816
|
+
component: UxConfirmModal,
|
|
18734
18817
|
options
|
|
18735
18818
|
});
|
|
18736
18819
|
};
|
|
18737
|
-
|
|
18738
|
-
var modal =
|
|
18820
|
+
sdk.closeModal = function(id) {
|
|
18821
|
+
var modal = sdk.modals.find(function(modal2) {
|
|
18739
18822
|
return modal2.id == id;
|
|
18740
18823
|
});
|
|
18741
|
-
var index2 =
|
|
18742
|
-
|
|
18824
|
+
var index2 = sdk.modals.indexOf(modal);
|
|
18825
|
+
sdk.modals.splice(index2, 1);
|
|
18743
18826
|
};
|
|
18744
18827
|
for (const prop in defaultComponents) {
|
|
18745
18828
|
const component = defaultComponents[prop];
|
|
@@ -18747,5 +18830,5 @@ const QikUI = {
|
|
|
18747
18830
|
}
|
|
18748
18831
|
}
|
|
18749
18832
|
};
|
|
18750
|
-
export { CodeEditor, ContentBrowser, device as Device, FlexBody, FlexCell, FlexColumn, FlexFooter, FlexHeader, FlexRow, FlexSpacer, ModalMixin, NativeSelect, Panel, PanelBody, PanelFooter, PanelHeader, ProgressBar,
|
|
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 };
|
|
18751
18834
|
//# sourceMappingURL=lib.es.js.map
|