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