@skyservice-developers/vue-dev-kit 2.20.0 → 2.21.0
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/shared/lib/button-classes.d.ts +44 -0
- package/dist/shared/ui/SkyButton/SkyButton.vue.d.ts +63 -15
- package/dist/shared/ui/SkyButton/button-dom-contract.d.ts +32 -0
- package/dist/style.css +1 -1
- package/dist/vue-dev-kit.cjs +11 -11
- package/dist/vue-dev-kit.js +2166 -2172
- package/dist/vue2/vue-dev-kit.cjs +1 -1
- package/dist/vue2/vue-dev-kit.js +237 -225
- package/package.json +5 -2
package/dist/vue2/vue-dev-kit.js
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { BAlert as
|
|
2
|
-
|
|
1
|
+
import { BAlert as b, BBadge as y, BFormCheckbox as h, BFormCheckboxGroup as v, BCollapse as S, BDropdown as g, BDropdownDivider as $, BDropdownItem as k, BFormFile as x, BFormGroup as B, BFormInput as V, BInputGroup as z, BSpinner as w, BProgress as F, BFormRadio as A, BFormRadioGroup as R, BFormSelectOption as C, BFormSelect as T, BSkeleton as I, BTab as O, BTabs as N, BFormTags as D, BFormTextarea as j, VBTooltip as G } from "bootstrap-vue";
|
|
2
|
+
import { BButton as P } from "bootstrap-vue/esm/components/button";
|
|
3
|
+
const i = (n) => n === "success" ? !0 : n === "error" ? !1 : null, _ = (n) => n === "outline" ? "outline-primary" : n, s = (n) => n === "md" || !n ? null : n, d = (n) => ({
|
|
3
4
|
success: "success",
|
|
4
5
|
error: "danger",
|
|
5
6
|
warning: "warning",
|
|
6
7
|
info: "info",
|
|
7
8
|
pending: "warning",
|
|
8
9
|
default: "secondary"
|
|
9
|
-
})[n] || "info",
|
|
10
|
+
})[n] || "info", u = (n) => (n || []).map(
|
|
10
11
|
(e) => e !== null && typeof e == "object" ? {
|
|
11
12
|
value: e.value,
|
|
12
13
|
text: e.text !== void 0 ? e.text : String(e.value),
|
|
13
14
|
disabled: !!e.disabled
|
|
14
15
|
} : { value: e, text: String(e), disabled: !1 }
|
|
15
16
|
);
|
|
16
|
-
function r(n, e, a, t,
|
|
17
|
-
var
|
|
18
|
-
return e && (
|
|
17
|
+
function r(n, e, a, t, p, c, o, Jt) {
|
|
18
|
+
var l = typeof n == "function" ? n.options : n;
|
|
19
|
+
return e && (l.render = e, l.staticRenderFns = a, l._compiled = !0), {
|
|
19
20
|
exports: n,
|
|
20
|
-
options:
|
|
21
|
+
options: l
|
|
21
22
|
};
|
|
22
23
|
}
|
|
23
|
-
const
|
|
24
|
+
const M = {
|
|
24
25
|
name: "SkyAlert",
|
|
25
|
-
components: { BAlert:
|
|
26
|
+
components: { BAlert: b },
|
|
26
27
|
inheritAttrs: !1,
|
|
27
28
|
props: {
|
|
28
29
|
tone: {
|
|
@@ -37,23 +38,23 @@ const j = {
|
|
|
37
38
|
},
|
|
38
39
|
computed: {
|
|
39
40
|
bsVariant() {
|
|
40
|
-
return
|
|
41
|
+
return d(this.tone);
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
};
|
|
44
|
-
var
|
|
45
|
+
var L = function() {
|
|
45
46
|
var e = this, a = e._self._c;
|
|
46
47
|
return a("b-alert", e._b({ attrs: { show: "", variant: e.bsVariant, dismissible: e.dismissible }, on: { dismissed: function(t) {
|
|
47
48
|
return e.$emit("dismissed");
|
|
48
49
|
} } }, "b-alert", e.$attrs, !1), [e._t("default")], 2);
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
}, q = [], E = /* @__PURE__ */ r(
|
|
51
|
+
M,
|
|
52
|
+
L,
|
|
53
|
+
q
|
|
53
54
|
);
|
|
54
|
-
const
|
|
55
|
+
const U = E.exports, H = {
|
|
55
56
|
name: "SkyBadge",
|
|
56
|
-
components: { BBadge:
|
|
57
|
+
components: { BBadge: y },
|
|
57
58
|
inheritAttrs: !1,
|
|
58
59
|
props: {
|
|
59
60
|
tone: { type: String, default: "default" },
|
|
@@ -64,23 +65,28 @@ const L = M.exports, q = {
|
|
|
64
65
|
},
|
|
65
66
|
computed: {
|
|
66
67
|
bsVariant() {
|
|
67
|
-
return
|
|
68
|
+
return d(this.tone);
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
71
|
};
|
|
71
|
-
var
|
|
72
|
+
var J = function() {
|
|
72
73
|
var e = this, a = e._self._c;
|
|
73
74
|
return a("b-badge", e._b({ attrs: { variant: e.bsVariant, pill: e.pill } }, "b-badge", e.$attrs, !1), [e._t("default", function() {
|
|
74
75
|
return [e._v(e._s(e.label))];
|
|
75
76
|
})], 2);
|
|
76
|
-
},
|
|
77
|
-
q,
|
|
77
|
+
}, K = [], Q = /* @__PURE__ */ r(
|
|
78
78
|
H,
|
|
79
|
-
J
|
|
79
|
+
J,
|
|
80
|
+
K
|
|
80
81
|
);
|
|
81
|
-
const
|
|
82
|
+
const W = Q.exports, X = (n) => n === "sm" || n === "lg";
|
|
83
|
+
function Y(n = {}) {
|
|
84
|
+
const { variant: e = "primary", size: a = "md", block: t, loading: p, icon: c } = n, o = ["sky-btn", `sky-btn-${e}`];
|
|
85
|
+
return X(a) && o.push(`sky-btn-${a}`), t && o.push("sky-btn-block"), p && o.push("sky-btn-loading"), c && o.push("sky-btn-icon"), o;
|
|
86
|
+
}
|
|
87
|
+
const Z = ["sky-btn-spinner", "spinner-border", "spinner-border-sm"], ee = {
|
|
82
88
|
name: "SkyButton",
|
|
83
|
-
components: { BButton:
|
|
89
|
+
components: { BButton: P },
|
|
84
90
|
inheritAttrs: !1,
|
|
85
91
|
props: {
|
|
86
92
|
variant: {
|
|
@@ -101,24 +107,30 @@ const Q = K.exports, U = {
|
|
|
101
107
|
},
|
|
102
108
|
computed: {
|
|
103
109
|
bsVariant() {
|
|
104
|
-
return
|
|
110
|
+
return _(this.variant);
|
|
105
111
|
},
|
|
106
112
|
bsSize() {
|
|
107
113
|
return s(this.size);
|
|
114
|
+
},
|
|
115
|
+
skyClasses() {
|
|
116
|
+
return Y(this.$props);
|
|
117
|
+
},
|
|
118
|
+
spinnerClasses() {
|
|
119
|
+
return Z;
|
|
108
120
|
}
|
|
109
121
|
}
|
|
110
122
|
};
|
|
111
|
-
var
|
|
123
|
+
var te = function() {
|
|
112
124
|
var e = this, a = e._self._c;
|
|
113
|
-
return a("b-button", e._g(e._b({ attrs: { variant: e.bsVariant, size: e.bsSize, type: e.type, block: e.block, disabled: e.disabled || e.loading } }, "b-button", e.$attrs, !1), e.$listeners), [e.loading ? a("
|
|
114
|
-
},
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
125
|
+
return a("b-button", e._g(e._b({ class: e.skyClasses, attrs: { variant: e.bsVariant, size: e.bsSize, type: e.type, block: e.block, disabled: e.disabled || e.loading } }, "b-button", e.$attrs, !1), e.$listeners), [e.loading ? a("span", { class: e.spinnerClasses, attrs: { "aria-hidden": "true" } }) : e._e(), e._t("default")], 2);
|
|
126
|
+
}, ne = [], ae = /* @__PURE__ */ r(
|
|
127
|
+
ee,
|
|
128
|
+
te,
|
|
129
|
+
ne
|
|
118
130
|
);
|
|
119
|
-
const
|
|
131
|
+
const re = ae.exports, se = {
|
|
120
132
|
name: "SkyCheckbox",
|
|
121
|
-
components: { BFormCheckbox:
|
|
133
|
+
components: { BFormCheckbox: h },
|
|
122
134
|
inheritAttrs: !1,
|
|
123
135
|
model: { prop: "modelValue", event: "update:modelValue" },
|
|
124
136
|
props: {
|
|
@@ -142,21 +154,21 @@ const Z = Y.exports, E = {
|
|
|
142
154
|
}
|
|
143
155
|
}
|
|
144
156
|
};
|
|
145
|
-
var
|
|
157
|
+
var oe = function() {
|
|
146
158
|
var e = this, a = e._self._c;
|
|
147
159
|
return a("b-form-checkbox", e._b({ attrs: { id: e.id, checked: e.modelValue, value: e.value, "unchecked-value": e.uncheckedValue, switch: e.switchMode, disabled: e.disabled, indeterminate: e.indeterminate, size: e.bsSize, name: e.name }, on: { input: function(t) {
|
|
148
160
|
e.$emit("update:modelValue", t), e.$emit("input", t);
|
|
149
161
|
}, change: function(t) {
|
|
150
162
|
return e.$emit("change", t);
|
|
151
163
|
} } }, "b-form-checkbox", e.$attrs, !1), [e._t("default")], 2);
|
|
152
|
-
},
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
164
|
+
}, ie = [], le = /* @__PURE__ */ r(
|
|
165
|
+
se,
|
|
166
|
+
oe,
|
|
167
|
+
ie
|
|
156
168
|
);
|
|
157
|
-
const
|
|
169
|
+
const de = le.exports, ue = {
|
|
158
170
|
name: "SkyCheckboxGroup",
|
|
159
|
-
components: { BFormCheckboxGroup:
|
|
171
|
+
components: { BFormCheckboxGroup: v },
|
|
160
172
|
inheritAttrs: !1,
|
|
161
173
|
model: { prop: "modelValue", event: "update:modelValue" },
|
|
162
174
|
props: {
|
|
@@ -170,28 +182,28 @@ const ae = ne.exports, re = {
|
|
|
170
182
|
},
|
|
171
183
|
computed: {
|
|
172
184
|
bsOptions() {
|
|
173
|
-
return
|
|
185
|
+
return u(this.options);
|
|
174
186
|
},
|
|
175
187
|
bsSize() {
|
|
176
188
|
return s(this.size);
|
|
177
189
|
}
|
|
178
190
|
}
|
|
179
191
|
};
|
|
180
|
-
var
|
|
192
|
+
var pe = function() {
|
|
181
193
|
var e = this, a = e._self._c;
|
|
182
194
|
return a("b-form-checkbox-group", e._b({ attrs: { id: e.id, checked: e.modelValue, options: e.bsOptions, name: e.name, stacked: e.stacked, disabled: e.disabled, size: e.bsSize }, on: { input: function(t) {
|
|
183
195
|
e.$emit("update:modelValue", t), e.$emit("input", t);
|
|
184
196
|
}, change: function(t) {
|
|
185
197
|
return e.$emit("change", t);
|
|
186
198
|
} } }, "b-form-checkbox-group", e.$attrs, !1), [e._t("default")], 2);
|
|
187
|
-
},
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
199
|
+
}, ce = [], fe = /* @__PURE__ */ r(
|
|
200
|
+
ue,
|
|
201
|
+
pe,
|
|
202
|
+
ce
|
|
191
203
|
);
|
|
192
|
-
const
|
|
204
|
+
const me = fe.exports, _e = {
|
|
193
205
|
name: "SkyCollapse",
|
|
194
|
-
components: { BCollapse:
|
|
206
|
+
components: { BCollapse: S },
|
|
195
207
|
inheritAttrs: !1,
|
|
196
208
|
model: { prop: "modelValue", event: "update:modelValue" },
|
|
197
209
|
props: {
|
|
@@ -200,7 +212,7 @@ const le = ie.exports, de = {
|
|
|
200
212
|
accordion: { type: String, default: void 0 }
|
|
201
213
|
}
|
|
202
214
|
};
|
|
203
|
-
var
|
|
215
|
+
var be = function() {
|
|
204
216
|
var e = this, a = e._self._c;
|
|
205
217
|
return a("b-collapse", e._b({ attrs: { id: e.id, visible: e.modelValue, accordion: e.accordion }, on: { input: function(t) {
|
|
206
218
|
e.$emit("update:modelValue", t), e.$emit("input", t);
|
|
@@ -209,14 +221,14 @@ var ue = function() {
|
|
|
209
221
|
}, hidden: function(t) {
|
|
210
222
|
return e.$emit("hide");
|
|
211
223
|
} } }, "b-collapse", e.$attrs, !1), [e._t("default")], 2);
|
|
212
|
-
},
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
224
|
+
}, ye = [], he = /* @__PURE__ */ r(
|
|
225
|
+
_e,
|
|
226
|
+
be,
|
|
227
|
+
ye
|
|
216
228
|
);
|
|
217
|
-
const
|
|
229
|
+
const ve = he.exports, Se = {
|
|
218
230
|
name: "SkyDropdown",
|
|
219
|
-
components: { BDropdown:
|
|
231
|
+
components: { BDropdown: g },
|
|
220
232
|
inheritAttrs: !1,
|
|
221
233
|
props: {
|
|
222
234
|
text: { type: String, default: "" },
|
|
@@ -235,56 +247,56 @@ const fe = ce.exports, me = {
|
|
|
235
247
|
},
|
|
236
248
|
computed: {
|
|
237
249
|
bsVariant() {
|
|
238
|
-
return
|
|
250
|
+
return _(this.variant);
|
|
239
251
|
},
|
|
240
252
|
bsSize() {
|
|
241
253
|
return s(this.size);
|
|
242
254
|
}
|
|
243
255
|
}
|
|
244
256
|
};
|
|
245
|
-
var
|
|
257
|
+
var ge = function() {
|
|
246
258
|
var e = this, a = e._self._c;
|
|
247
259
|
return a("b-dropdown", e._g(e._b({ attrs: { text: e.text, variant: e.bsVariant, size: e.bsSize, disabled: e.disabled, right: e.align === "right", block: e.block, "menu-class": e.menuClass, icon: e.icon }, scopedSlots: e._u([e.$slots.trigger ? { key: "button-content", fn: function() {
|
|
248
260
|
return [e._t("trigger")];
|
|
249
261
|
}, proxy: !0 } : null], null, !0) }, "b-dropdown", e.$attrs, !1), e.$listeners), [e._t("default")], 2);
|
|
250
|
-
},
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
262
|
+
}, $e = [], ke = /* @__PURE__ */ r(
|
|
263
|
+
Se,
|
|
264
|
+
ge,
|
|
265
|
+
$e
|
|
254
266
|
);
|
|
255
|
-
const
|
|
267
|
+
const xe = ke.exports, Be = {
|
|
256
268
|
name: "SkyDropdownDivider",
|
|
257
|
-
components: { BDropdownDivider:
|
|
269
|
+
components: { BDropdownDivider: $ },
|
|
258
270
|
inheritAttrs: !1
|
|
259
271
|
};
|
|
260
|
-
var
|
|
272
|
+
var Ve = function() {
|
|
261
273
|
var e = this, a = e._self._c;
|
|
262
274
|
return a("b-dropdown-divider", e._b({}, "b-dropdown-divider", e.$attrs, !1));
|
|
263
|
-
},
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
275
|
+
}, ze = [], we = /* @__PURE__ */ r(
|
|
276
|
+
Be,
|
|
277
|
+
Ve,
|
|
278
|
+
ze
|
|
267
279
|
);
|
|
268
|
-
const
|
|
280
|
+
const Fe = we.exports, Ae = {
|
|
269
281
|
name: "SkyDropdownItem",
|
|
270
|
-
components: { BDropdownItem:
|
|
282
|
+
components: { BDropdownItem: k },
|
|
271
283
|
inheritAttrs: !1,
|
|
272
284
|
props: {
|
|
273
285
|
href: { type: String, default: void 0 },
|
|
274
286
|
disabled: { type: Boolean, default: !1 }
|
|
275
287
|
}
|
|
276
288
|
};
|
|
277
|
-
var
|
|
289
|
+
var Re = function() {
|
|
278
290
|
var e = this, a = e._self._c;
|
|
279
291
|
return a("b-dropdown-item", e._g(e._b({ attrs: { href: e.href, disabled: e.disabled } }, "b-dropdown-item", e.$attrs, !1), e.$listeners), [e._t("default")], 2);
|
|
280
|
-
},
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
292
|
+
}, Ce = [], Te = /* @__PURE__ */ r(
|
|
293
|
+
Ae,
|
|
294
|
+
Re,
|
|
295
|
+
Ce
|
|
284
296
|
);
|
|
285
|
-
const
|
|
297
|
+
const Ie = Te.exports, Oe = {
|
|
286
298
|
name: "SkyFileInput",
|
|
287
|
-
components: { BFormFile:
|
|
299
|
+
components: { BFormFile: x },
|
|
288
300
|
inheritAttrs: !1,
|
|
289
301
|
model: { prop: "modelValue", event: "update:modelValue" },
|
|
290
302
|
props: {
|
|
@@ -298,25 +310,25 @@ const we = ze.exports, Fe = {
|
|
|
298
310
|
},
|
|
299
311
|
computed: {
|
|
300
312
|
bsState() {
|
|
301
|
-
return
|
|
313
|
+
return i(this.state);
|
|
302
314
|
}
|
|
303
315
|
}
|
|
304
316
|
};
|
|
305
|
-
var
|
|
317
|
+
var Ne = function() {
|
|
306
318
|
var e = this, a = e._self._c;
|
|
307
319
|
return a("b-form-file", e._b({ attrs: { value: e.modelValue, accept: e.accept, multiple: e.multiple, placeholder: e.placeholder, "browse-text": e.browseText, "drop-placeholder": e.dropPlaceholder, state: e.bsState }, on: { input: function(t) {
|
|
308
320
|
e.$emit("update:modelValue", t), e.$emit("input", t);
|
|
309
321
|
}, change: function(t) {
|
|
310
322
|
return e.$emit("change", t);
|
|
311
323
|
} } }, "b-form-file", e.$attrs, !1));
|
|
312
|
-
},
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
324
|
+
}, De = [], je = /* @__PURE__ */ r(
|
|
325
|
+
Oe,
|
|
326
|
+
Ne,
|
|
327
|
+
De
|
|
316
328
|
);
|
|
317
|
-
const
|
|
329
|
+
const Ge = je.exports, Pe = {
|
|
318
330
|
name: "SkyFormGroup",
|
|
319
|
-
components: { BFormGroup:
|
|
331
|
+
components: { BFormGroup: B },
|
|
320
332
|
inheritAttrs: !1,
|
|
321
333
|
props: {
|
|
322
334
|
label: { type: String, default: "" },
|
|
@@ -329,23 +341,23 @@ const Ie = Ce.exports, Te = {
|
|
|
329
341
|
},
|
|
330
342
|
computed: {
|
|
331
343
|
bsState() {
|
|
332
|
-
return
|
|
344
|
+
return i(this.state);
|
|
333
345
|
}
|
|
334
346
|
}
|
|
335
347
|
};
|
|
336
|
-
var
|
|
348
|
+
var Me = function() {
|
|
337
349
|
var e = this, a = e._self._c;
|
|
338
350
|
return a("b-form-group", e._b({ attrs: { label: e.label, "label-for": e.labelFor, description: e.description, "invalid-feedback": e.invalidFeedback, state: e.bsState, "label-cols": e.labelCols, "content-cols": e.contentCols }, scopedSlots: e._u([e.$slots.label ? { key: "label", fn: function() {
|
|
339
351
|
return [e._t("label")];
|
|
340
352
|
}, proxy: !0 } : null, e.$slots.description ? { key: "description", fn: function() {
|
|
341
353
|
return [e._t("description")];
|
|
342
354
|
}, proxy: !0 } : null], null, !0) }, "b-form-group", e.$attrs, !1), [e._t("default")], 2);
|
|
343
|
-
},
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
355
|
+
}, Le = [], qe = /* @__PURE__ */ r(
|
|
356
|
+
Pe,
|
|
357
|
+
Me,
|
|
358
|
+
Le
|
|
347
359
|
);
|
|
348
|
-
const
|
|
360
|
+
const Ee = qe.exports, Ue = {
|
|
349
361
|
name: "SkyInput",
|
|
350
362
|
components: { BFormInput: V },
|
|
351
363
|
inheritAttrs: !1,
|
|
@@ -361,7 +373,7 @@ const je = De.exports, Ge = {
|
|
|
361
373
|
},
|
|
362
374
|
computed: {
|
|
363
375
|
bsState() {
|
|
364
|
-
return
|
|
376
|
+
return i(this.state);
|
|
365
377
|
}
|
|
366
378
|
},
|
|
367
379
|
methods: {
|
|
@@ -377,7 +389,7 @@ const je = De.exports, Ge = {
|
|
|
377
389
|
}
|
|
378
390
|
}
|
|
379
391
|
};
|
|
380
|
-
var
|
|
392
|
+
var He = function() {
|
|
381
393
|
var e = this, a = e._self._c;
|
|
382
394
|
return e.hint ? a("div", { staticClass: "sky-input-with-hint" }, [a("b-form-input", e._b({ ref: "input", attrs: { id: e.id, type: e.type, value: e.modelValue, placeholder: e.placeholder, disabled: e.disabled, state: e.bsState }, on: { input: function(t) {
|
|
383
395
|
e.$emit("update:modelValue", t), e.$emit("input", t);
|
|
@@ -396,14 +408,14 @@ var Pe = function() {
|
|
|
396
408
|
}, focus: function(t) {
|
|
397
409
|
return e.$emit("focus", t);
|
|
398
410
|
} } }, "b-form-input", e.$attrs, !1));
|
|
399
|
-
},
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
411
|
+
}, Je = [], Ke = /* @__PURE__ */ r(
|
|
412
|
+
Ue,
|
|
413
|
+
He,
|
|
414
|
+
Je
|
|
403
415
|
);
|
|
404
|
-
const
|
|
416
|
+
const Qe = Ke.exports, We = {
|
|
405
417
|
name: "SkyInputGroup",
|
|
406
|
-
components: { BInputGroup:
|
|
418
|
+
components: { BInputGroup: z },
|
|
407
419
|
inheritAttrs: !1,
|
|
408
420
|
props: {
|
|
409
421
|
size: { type: String, default: "md" },
|
|
@@ -416,21 +428,21 @@ const qe = Le.exports, He = {
|
|
|
416
428
|
}
|
|
417
429
|
}
|
|
418
430
|
};
|
|
419
|
-
var
|
|
431
|
+
var Xe = function() {
|
|
420
432
|
var e = this, a = e._self._c;
|
|
421
433
|
return a("b-input-group", e._b({ attrs: { size: e.bsSize, prepend: e.prepend, append: e.append }, scopedSlots: e._u([e.$slots.prepend ? { key: "prepend", fn: function() {
|
|
422
434
|
return [e._t("prepend")];
|
|
423
435
|
}, proxy: !0 } : null, e.$slots.append ? { key: "append", fn: function() {
|
|
424
436
|
return [e._t("append")];
|
|
425
437
|
}, proxy: !0 } : null], null, !0) }, "b-input-group", e.$attrs, !1), [e._t("default")], 2);
|
|
426
|
-
},
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
438
|
+
}, Ye = [], Ze = /* @__PURE__ */ r(
|
|
439
|
+
We,
|
|
440
|
+
Xe,
|
|
441
|
+
Ye
|
|
430
442
|
);
|
|
431
|
-
const
|
|
443
|
+
const et = Ze.exports, tt = {
|
|
432
444
|
name: "SkyLoader",
|
|
433
|
-
components: { BSpinner:
|
|
445
|
+
components: { BSpinner: w },
|
|
434
446
|
inheritAttrs: !1,
|
|
435
447
|
props: {
|
|
436
448
|
text: { type: String, default: "" },
|
|
@@ -440,21 +452,21 @@ const Ue = Qe.exports, We = {
|
|
|
440
452
|
},
|
|
441
453
|
computed: {
|
|
442
454
|
bsVariant() {
|
|
443
|
-
return
|
|
455
|
+
return d(this.tone);
|
|
444
456
|
}
|
|
445
457
|
}
|
|
446
458
|
};
|
|
447
|
-
var
|
|
459
|
+
var nt = function() {
|
|
448
460
|
var e = this, a = e._self._c;
|
|
449
461
|
return a("b-spinner", e._b({ attrs: { small: e.size === "sm", variant: e.bsVariant, label: e.text } }, "b-spinner", e.$attrs, !1));
|
|
450
|
-
},
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
462
|
+
}, at = [], rt = /* @__PURE__ */ r(
|
|
463
|
+
tt,
|
|
464
|
+
nt,
|
|
465
|
+
at
|
|
454
466
|
);
|
|
455
|
-
const
|
|
467
|
+
const st = rt.exports, ot = {
|
|
456
468
|
name: "SkyProgress",
|
|
457
|
-
components: { BProgress:
|
|
469
|
+
components: { BProgress: F },
|
|
458
470
|
inheritAttrs: !1,
|
|
459
471
|
props: {
|
|
460
472
|
value: { type: Number, default: 0 },
|
|
@@ -466,21 +478,21 @@ const Ee = Ze.exports, et = {
|
|
|
466
478
|
},
|
|
467
479
|
computed: {
|
|
468
480
|
bsVariant() {
|
|
469
|
-
return
|
|
481
|
+
return d(this.tone);
|
|
470
482
|
}
|
|
471
483
|
}
|
|
472
484
|
};
|
|
473
|
-
var
|
|
485
|
+
var it = function() {
|
|
474
486
|
var e = this, a = e._self._c;
|
|
475
487
|
return a("b-progress", e._b({ attrs: { value: e.value, max: e.max, "show-value": e.showValue, precision: e.precision, variant: e.bsVariant, height: e.height } }, "b-progress", e.$attrs, !1));
|
|
476
|
-
},
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
488
|
+
}, lt = [], dt = /* @__PURE__ */ r(
|
|
489
|
+
ot,
|
|
490
|
+
it,
|
|
491
|
+
lt
|
|
480
492
|
);
|
|
481
|
-
const
|
|
493
|
+
const ut = dt.exports, pt = {
|
|
482
494
|
name: "SkyRadio",
|
|
483
|
-
components: { BFormRadio:
|
|
495
|
+
components: { BFormRadio: A },
|
|
484
496
|
inheritAttrs: !1,
|
|
485
497
|
model: { prop: "modelValue", event: "update:modelValue" },
|
|
486
498
|
props: {
|
|
@@ -497,21 +509,21 @@ const rt = at.exports, st = {
|
|
|
497
509
|
}
|
|
498
510
|
}
|
|
499
511
|
};
|
|
500
|
-
var
|
|
512
|
+
var ct = function() {
|
|
501
513
|
var e = this, a = e._self._c;
|
|
502
514
|
return a("b-form-radio", e._b({ attrs: { id: e.id, checked: e.modelValue, value: e.value, name: e.name, disabled: e.disabled, size: e.bsSize }, on: { input: function(t) {
|
|
503
515
|
e.$emit("update:modelValue", t), e.$emit("input", t);
|
|
504
516
|
}, change: function(t) {
|
|
505
517
|
return e.$emit("change", t);
|
|
506
518
|
} } }, "b-form-radio", e.$attrs, !1), [e._t("default")], 2);
|
|
507
|
-
},
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
519
|
+
}, ft = [], mt = /* @__PURE__ */ r(
|
|
520
|
+
pt,
|
|
521
|
+
ct,
|
|
522
|
+
ft
|
|
511
523
|
);
|
|
512
|
-
const
|
|
524
|
+
const _t = mt.exports, bt = {
|
|
513
525
|
name: "SkyRadioGroup",
|
|
514
|
-
components: { BFormRadioGroup:
|
|
526
|
+
components: { BFormRadioGroup: R },
|
|
515
527
|
inheritAttrs: !1,
|
|
516
528
|
model: { prop: "modelValue", event: "update:modelValue" },
|
|
517
529
|
props: {
|
|
@@ -525,28 +537,28 @@ const dt = lt.exports, ut = {
|
|
|
525
537
|
},
|
|
526
538
|
computed: {
|
|
527
539
|
bsOptions() {
|
|
528
|
-
return
|
|
540
|
+
return u(this.options);
|
|
529
541
|
},
|
|
530
542
|
bsSize() {
|
|
531
543
|
return s(this.size);
|
|
532
544
|
}
|
|
533
545
|
}
|
|
534
546
|
};
|
|
535
|
-
var
|
|
547
|
+
var yt = function() {
|
|
536
548
|
var e = this, a = e._self._c;
|
|
537
549
|
return a("b-form-radio-group", e._b({ attrs: { id: e.id, checked: e.modelValue, options: e.bsOptions, name: e.name, stacked: e.stacked, disabled: e.disabled, size: e.bsSize }, on: { input: function(t) {
|
|
538
550
|
e.$emit("update:modelValue", t), e.$emit("input", t);
|
|
539
551
|
}, change: function(t) {
|
|
540
552
|
return e.$emit("change", t);
|
|
541
553
|
} } }, "b-form-radio-group", e.$attrs, !1), [e._t("default")], 2);
|
|
542
|
-
},
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
554
|
+
}, ht = [], vt = /* @__PURE__ */ r(
|
|
555
|
+
bt,
|
|
556
|
+
yt,
|
|
557
|
+
ht
|
|
546
558
|
);
|
|
547
|
-
const
|
|
559
|
+
const St = vt.exports, gt = {
|
|
548
560
|
name: "SkySelect",
|
|
549
|
-
components: { BFormSelect:
|
|
561
|
+
components: { BFormSelect: T, BFormSelectOption: C },
|
|
550
562
|
inheritAttrs: !1,
|
|
551
563
|
model: { prop: "modelValue", event: "update:modelValue" },
|
|
552
564
|
props: {
|
|
@@ -560,14 +572,14 @@ const mt = ft.exports, _t = {
|
|
|
560
572
|
},
|
|
561
573
|
computed: {
|
|
562
574
|
bsOptions() {
|
|
563
|
-
return
|
|
575
|
+
return u(this.options);
|
|
564
576
|
},
|
|
565
577
|
bsState() {
|
|
566
|
-
return
|
|
578
|
+
return i(this.state);
|
|
567
579
|
}
|
|
568
580
|
}
|
|
569
581
|
};
|
|
570
|
-
var
|
|
582
|
+
var $t = function() {
|
|
571
583
|
var e = this, a = e._self._c;
|
|
572
584
|
return e.hint ? a("div", { staticClass: "sky-select-with-hint" }, [a("b-form-select", e._b({ attrs: { id: e.id, value: e.modelValue, options: e.bsOptions, disabled: e.disabled, state: e.bsState }, on: { input: function(t) {
|
|
573
585
|
e.$emit("update:modelValue", t), e.$emit("input", t);
|
|
@@ -582,14 +594,14 @@ var bt = function() {
|
|
|
582
594
|
} }, scopedSlots: e._u([e.placeholder ? { key: "first", fn: function() {
|
|
583
595
|
return [a("b-form-select-option", { attrs: { value: "", disabled: "" } }, [e._v(e._s(e.placeholder))])];
|
|
584
596
|
}, proxy: !0 } : null], null, !0) }, "b-form-select", e.$attrs, !1), [e._t("default")], 2);
|
|
585
|
-
},
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
597
|
+
}, kt = [], xt = /* @__PURE__ */ r(
|
|
598
|
+
gt,
|
|
599
|
+
$t,
|
|
600
|
+
kt
|
|
589
601
|
);
|
|
590
|
-
const
|
|
602
|
+
const Bt = xt.exports, Vt = {
|
|
591
603
|
name: "SkySkeleton",
|
|
592
|
-
components: { BSkeleton:
|
|
604
|
+
components: { BSkeleton: I },
|
|
593
605
|
inheritAttrs: !1,
|
|
594
606
|
props: {
|
|
595
607
|
type: {
|
|
@@ -602,17 +614,17 @@ const vt = ht.exports, St = {
|
|
|
602
614
|
animation: { type: String, default: "wave" }
|
|
603
615
|
}
|
|
604
616
|
};
|
|
605
|
-
var
|
|
617
|
+
var zt = function() {
|
|
606
618
|
var e = this, a = e._self._c;
|
|
607
619
|
return a("b-skeleton", e._b({ attrs: { type: e.type, width: e.width, height: e.height, animation: e.animation } }, "b-skeleton", e.$attrs, !1));
|
|
608
|
-
},
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
620
|
+
}, wt = [], Ft = /* @__PURE__ */ r(
|
|
621
|
+
Vt,
|
|
622
|
+
zt,
|
|
623
|
+
wt
|
|
612
624
|
);
|
|
613
|
-
const
|
|
625
|
+
const At = Ft.exports, Rt = {
|
|
614
626
|
name: "SkyTabs",
|
|
615
|
-
components: { BTabs:
|
|
627
|
+
components: { BTabs: N, BTab: O },
|
|
616
628
|
inheritAttrs: !1,
|
|
617
629
|
model: { prop: "modelValue", event: "update:modelValue" },
|
|
618
630
|
props: {
|
|
@@ -622,7 +634,7 @@ const xt = kt.exports, Vt = {
|
|
|
622
634
|
},
|
|
623
635
|
computed: {
|
|
624
636
|
normalized() {
|
|
625
|
-
return
|
|
637
|
+
return u(this.options);
|
|
626
638
|
},
|
|
627
639
|
activeIndex() {
|
|
628
640
|
const n = this.normalized.findIndex((e) => e.value === this.modelValue);
|
|
@@ -636,19 +648,19 @@ const xt = kt.exports, Vt = {
|
|
|
636
648
|
}
|
|
637
649
|
}
|
|
638
650
|
};
|
|
639
|
-
var
|
|
651
|
+
var Ct = function() {
|
|
640
652
|
var e = this, a = e._self._c;
|
|
641
653
|
return a("b-tabs", e._b({ attrs: { value: e.activeIndex }, on: { input: e.onIndexChange } }, "b-tabs", e.$attrs, !1), e._l(e.normalized, function(t) {
|
|
642
654
|
return a("b-tab", { key: t.value, attrs: { title: t.text, disabled: e.disabled || t.disabled } });
|
|
643
655
|
}), 1);
|
|
644
|
-
},
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
656
|
+
}, Tt = [], It = /* @__PURE__ */ r(
|
|
657
|
+
Rt,
|
|
658
|
+
Ct,
|
|
659
|
+
Tt
|
|
648
660
|
);
|
|
649
|
-
const
|
|
661
|
+
const Ot = It.exports, Nt = {
|
|
650
662
|
name: "SkyTagsInput",
|
|
651
|
-
components: { BFormTags:
|
|
663
|
+
components: { BFormTags: D },
|
|
652
664
|
inheritAttrs: !1,
|
|
653
665
|
model: { prop: "modelValue", event: "update:modelValue" },
|
|
654
666
|
props: {
|
|
@@ -670,19 +682,19 @@ const Ft = wt.exports, At = {
|
|
|
670
682
|
}
|
|
671
683
|
}
|
|
672
684
|
};
|
|
673
|
-
var
|
|
685
|
+
var Dt = function() {
|
|
674
686
|
var e = this, a = e._self._c;
|
|
675
687
|
return a("b-form-tags", e._b({ attrs: { value: e.modelValue, placeholder: e.placeholder, size: e.bsSize, separator: e.separator, "add-on-change": e.addOnChange, "remove-on-delete": e.removeOnDelete, "duplicate-tag-text": e.duplicateTagText, "add-button-text": e.addButtonText, "input-id": e.inputId, autofocus: e.autofocus, "no-outer-focus": e.noOuterFocus }, on: { input: function(t) {
|
|
676
688
|
e.$emit("update:modelValue", t), e.$emit("input", t);
|
|
677
689
|
} } }, "b-form-tags", e.$attrs, !1));
|
|
678
|
-
},
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
690
|
+
}, jt = [], Gt = /* @__PURE__ */ r(
|
|
691
|
+
Nt,
|
|
692
|
+
Dt,
|
|
693
|
+
jt
|
|
682
694
|
);
|
|
683
|
-
const
|
|
695
|
+
const Pt = Gt.exports, Mt = {
|
|
684
696
|
name: "SkyTextarea",
|
|
685
|
-
components: { BFormTextarea:
|
|
697
|
+
components: { BFormTextarea: j },
|
|
686
698
|
inheritAttrs: !1,
|
|
687
699
|
model: { prop: "modelValue", event: "update:modelValue" },
|
|
688
700
|
props: {
|
|
@@ -696,11 +708,11 @@ const Tt = It.exports, Ot = {
|
|
|
696
708
|
},
|
|
697
709
|
computed: {
|
|
698
710
|
bsState() {
|
|
699
|
-
return
|
|
711
|
+
return i(this.state);
|
|
700
712
|
}
|
|
701
713
|
}
|
|
702
714
|
};
|
|
703
|
-
var
|
|
715
|
+
var Lt = function() {
|
|
704
716
|
var e = this, a = e._self._c;
|
|
705
717
|
return a("b-form-textarea", e._b({ attrs: { id: e.id, value: e.modelValue, rows: e.rows, "max-rows": e.maxRows, placeholder: e.placeholder, disabled: e.disabled, state: e.bsState }, on: { input: function(t) {
|
|
706
718
|
e.$emit("update:modelValue", t), e.$emit("input", t);
|
|
@@ -709,64 +721,64 @@ var Nt = function() {
|
|
|
709
721
|
}, blur: function(t) {
|
|
710
722
|
return e.$emit("blur", t);
|
|
711
723
|
} } }, "b-form-textarea", e.$attrs, !1));
|
|
712
|
-
},
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
724
|
+
}, qt = [], Et = /* @__PURE__ */ r(
|
|
725
|
+
Mt,
|
|
726
|
+
Lt,
|
|
727
|
+
qt
|
|
716
728
|
);
|
|
717
|
-
const
|
|
729
|
+
const Ut = Et.exports, f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
718
730
|
__proto__: null,
|
|
719
|
-
SkyAlert:
|
|
720
|
-
SkyBadge:
|
|
721
|
-
SkyButton:
|
|
722
|
-
SkyCheckbox:
|
|
723
|
-
SkyCheckboxGroup:
|
|
724
|
-
SkyCollapse:
|
|
725
|
-
SkyDropdown:
|
|
726
|
-
SkyDropdownDivider:
|
|
727
|
-
SkyDropdownItem:
|
|
728
|
-
SkyFileInput:
|
|
729
|
-
SkyFormGroup:
|
|
730
|
-
SkyInput:
|
|
731
|
-
SkyInputGroup:
|
|
732
|
-
SkyLoader:
|
|
733
|
-
SkyProgress:
|
|
734
|
-
SkyRadio:
|
|
735
|
-
SkyRadioGroup:
|
|
736
|
-
SkySelect:
|
|
737
|
-
SkySkeleton:
|
|
738
|
-
SkyTabs:
|
|
739
|
-
SkyTagsInput:
|
|
740
|
-
SkyTextarea:
|
|
741
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
731
|
+
SkyAlert: U,
|
|
732
|
+
SkyBadge: W,
|
|
733
|
+
SkyButton: re,
|
|
734
|
+
SkyCheckbox: de,
|
|
735
|
+
SkyCheckboxGroup: me,
|
|
736
|
+
SkyCollapse: ve,
|
|
737
|
+
SkyDropdown: xe,
|
|
738
|
+
SkyDropdownDivider: Fe,
|
|
739
|
+
SkyDropdownItem: Ie,
|
|
740
|
+
SkyFileInput: Ge,
|
|
741
|
+
SkyFormGroup: Ee,
|
|
742
|
+
SkyInput: Qe,
|
|
743
|
+
SkyInputGroup: et,
|
|
744
|
+
SkyLoader: st,
|
|
745
|
+
SkyProgress: ut,
|
|
746
|
+
SkyRadio: _t,
|
|
747
|
+
SkyRadioGroup: St,
|
|
748
|
+
SkySelect: Bt,
|
|
749
|
+
SkySkeleton: At,
|
|
750
|
+
SkyTabs: Ot,
|
|
751
|
+
SkyTagsInput: Pt,
|
|
752
|
+
SkyTextarea: Ut
|
|
753
|
+
}, Symbol.toStringTag, { value: "Module" })), Ht = G, m = { SkyTooltip: Ht }, Wt = {
|
|
742
754
|
install(n) {
|
|
743
|
-
Object.keys(
|
|
755
|
+
Object.keys(f).forEach((e) => n.component(e, f[e])), Object.keys(m).forEach((e) => n.directive(e, m[e]));
|
|
744
756
|
}
|
|
745
757
|
};
|
|
746
758
|
export {
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
759
|
+
U as SkyAlert,
|
|
760
|
+
W as SkyBadge,
|
|
761
|
+
re as SkyButton,
|
|
762
|
+
de as SkyCheckbox,
|
|
763
|
+
me as SkyCheckboxGroup,
|
|
764
|
+
ve as SkyCollapse,
|
|
765
|
+
xe as SkyDropdown,
|
|
766
|
+
Fe as SkyDropdownDivider,
|
|
767
|
+
Ie as SkyDropdownItem,
|
|
768
|
+
Ge as SkyFileInput,
|
|
769
|
+
Ee as SkyFormGroup,
|
|
770
|
+
Qe as SkyInput,
|
|
771
|
+
et as SkyInputGroup,
|
|
772
|
+
st as SkyLoader,
|
|
773
|
+
ut as SkyProgress,
|
|
774
|
+
_t as SkyRadio,
|
|
775
|
+
St as SkyRadioGroup,
|
|
776
|
+
Bt as SkySelect,
|
|
777
|
+
At as SkySkeleton,
|
|
778
|
+
Ot as SkyTabs,
|
|
779
|
+
Pt as SkyTagsInput,
|
|
780
|
+
Ut as SkyTextarea,
|
|
781
|
+
Ht as SkyTooltip,
|
|
782
|
+
Wt as default,
|
|
783
|
+
m as directives
|
|
772
784
|
};
|