@wwtdev/bsds-components-vue3 1.5.1 → 1.6.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.
@@ -1,321 +1,686 @@
1
- import { defineComponent as ee, ref as f, getCurrentInstance as te, inject as se, h as ae, reactive as R, onMounted as C, watch as L, nextTick as E, onBeforeUnmount as I, openBlock as u, createElementBlock as $, Fragment as P, createBlock as m, unref as y, withCtx as B, Teleport as q, renderSlot as h, createCommentVNode as W, createElementVNode as _, mergeProps as g, createVNode as O, normalizeProps as T } from "vue";
2
- import { useAsyncData as V } from "#imports";
3
- import { ClientOnly as k } from "#components";
4
- const K = "update:modelValue", H = "modelValue", re = "routerLink", Z = "navManager", oe = "router", le = "aria", A = Symbol(), j = { default: A }, J = (s) => (s == null ? void 0 : s.split(" ")) || [], ne = (s, v, o = []) => {
5
- var e;
6
- return [...Array.from(((e = s.value) == null ? void 0 : e.classList) || []), ...o].filter(
7
- (a, r, n) => !v.has(a) && n.indexOf(a) === r
1
+ import { defineComponent as ee, ref as b, getCurrentInstance as te, inject as ae, h as se, openBlock as n, createElementBlock as o, mergeProps as d, renderSlot as h, reactive as S, onMounted as I, watch as q, nextTick as V, onBeforeUnmount as C, Fragment as L, createBlock as $, unref as B, withCtx as g, Teleport as R, createCommentVNode as z, createElementVNode as P, createVNode as x, normalizeProps as p } from "vue";
2
+ import { useAsyncData as E } from "#imports";
3
+ import { ClientOnly as w } from "#components";
4
+ const U = "update:modelValue", N = "modelValue", le = "routerLink", Z = "navManager", re = "router", ne = "aria", T = Symbol(), F = { default: T }, K = (e) => (e == null ? void 0 : e.split(" ")) || [], ie = (e, r, a = []) => {
5
+ var t;
6
+ return [...Array.from(((t = e.value) == null ? void 0 : t.classList) || []), ...a].filter(
7
+ (s, i, c) => !r.has(s) && c.indexOf(s) === i
8
8
  );
9
- }, c = (s, v, o = [], e, a, r) => {
10
- v !== void 0 && v();
11
- const n = ee((i, { attrs: t, slots: d, emit: l }) => {
9
+ }, J = (e, r, a = [], t, s, i) => {
10
+ r !== void 0 && r();
11
+ const c = ee((f, { attrs: l, slots: m, emit: u }) => {
12
12
  var Y;
13
- let p = i[e];
14
- const G = f(), U = new Set(J(t.class)), Q = (w) => {
15
- w.el && (Array.isArray(a) ? a : [a]).forEach((S) => {
16
- w.el.addEventListener(S.toLowerCase(), (b) => {
17
- p = (b == null ? void 0 : b.target)[e], l(K, p), r && l(r, b);
13
+ let v = f[t];
14
+ const H = b(), G = new Set(K(l.class)), Q = (A) => {
15
+ A.el && (Array.isArray(s) ? s : [s]).forEach((k) => {
16
+ A.el.addEventListener(k.toLowerCase(), (y) => {
17
+ v = (y == null ? void 0 : y.target)[t], u(U, v), i && u(i, y);
18
18
  });
19
19
  });
20
- }, F = te(), X = ((Y = F == null ? void 0 : F.appContext) == null ? void 0 : Y.provides[Z]) ? se(Z) : void 0, x = (w) => {
21
- const { routerLink: D } = i;
22
- if (D !== A)
20
+ }, j = te(), X = ((Y = j == null ? void 0 : j.appContext) == null ? void 0 : Y.provides[Z]) ? ae(Z) : void 0, _ = (A) => {
21
+ const { routerLink: M } = f;
22
+ if (M !== T)
23
23
  if (X !== void 0) {
24
- let S = { event: w };
25
- for (const b in i) {
26
- const z = i[b];
27
- i.hasOwnProperty(b) && b.startsWith(oe) && z !== A && (S[b] = z);
24
+ let k = { event: A };
25
+ for (const y in f) {
26
+ const D = f[y];
27
+ f.hasOwnProperty(y) && y.startsWith(re) && D !== T && (k[y] = D);
28
28
  }
29
- X.navigate(S);
29
+ X.navigate(k);
30
30
  } else
31
31
  console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.");
32
32
  };
33
33
  return () => {
34
- p = i[e], J(t.class).forEach((b) => {
35
- U.add(b);
34
+ v = f[t], K(l.class).forEach((y) => {
35
+ G.add(y);
36
36
  });
37
- const w = i.onClick, D = (b) => {
38
- w !== void 0 && w(b), b.defaultPrevented || x(b);
37
+ const A = f.onClick, M = (y) => {
38
+ A !== void 0 && A(y), y.defaultPrevented || _(y);
39
39
  };
40
- let S = {
41
- ref: G,
42
- class: ne(G, U),
43
- onClick: D,
44
- onVnodeBeforeMount: a ? Q : void 0
40
+ let k = {
41
+ ref: H,
42
+ class: ie(H, G),
43
+ onClick: M,
44
+ onVnodeBeforeMount: s ? Q : void 0
45
45
  };
46
- for (const b in i) {
47
- const z = i[b];
48
- (i.hasOwnProperty(b) && z !== A || b.startsWith(le)) && (S[b] = z);
46
+ for (const y in f) {
47
+ const D = f[y];
48
+ (f.hasOwnProperty(y) && D !== T || y.startsWith(ne)) && (k[y] = D);
49
49
  }
50
- return e && (i[H] !== A ? S = {
51
- ...S,
52
- [e]: i[H]
53
- } : p !== A && (S = {
54
- ...S,
55
- [e]: p
56
- })), ae(s, S, d.default && d.default());
50
+ return t && (f[N] !== T ? k = {
51
+ ...k,
52
+ [t]: f[N]
53
+ } : v !== T && (k = {
54
+ ...k,
55
+ [t]: v
56
+ })), se(e, k, m.default && m.default());
57
57
  };
58
58
  });
59
- return typeof n != "function" && (n.name = s, n.props = {
60
- [re]: j
61
- }, o.forEach((i) => {
62
- n.props[i] = j;
63
- }), e && (n.props[H] = j, n.emits = [K, r])), n;
64
- }, Le = /* @__PURE__ */ c("bs-badge", void 0, [
65
- "color",
66
- "count",
67
- "countMax",
68
- "dot",
69
- "label",
70
- "position",
71
- "showZero"
72
- ]), Ee = /* @__PURE__ */ c("bs-character-count", void 0, [
73
- "charCount",
74
- "charMax"
75
- ]), Ie = /* @__PURE__ */ c("bs-chart-bar", void 0, [
76
- "chartTitle",
77
- "data",
78
- "dataIdxLabels",
79
- "showLegend",
80
- "showTooltips",
81
- "showXGrid",
82
- "showYGrid",
83
- "stacked",
84
- "xLabel",
85
- "yLabel"
86
- ]), Pe = /* @__PURE__ */ c("bs-chart-table", void 0, [
87
- "data",
88
- "dataIdxLabels",
89
- "tableTitle"
90
- ]), qe = /* @__PURE__ */ c(
91
- "bs-checkbox",
92
- void 0,
93
- [
94
- "label",
95
- "checked",
96
- "checkedPartially",
97
- "disabled",
98
- "error",
99
- "passAttrs",
100
- "required",
101
- "size"
102
- ],
103
- "checked",
104
- "change"
105
- ), We = /* @__PURE__ */ c("bs-dropdown", void 0, [
106
- "dropdownId",
107
- "shown",
108
- "label",
109
- "position",
110
- "justify",
111
- "variant",
112
- "dropdownchange",
113
- "close"
114
- ]), _e = /* @__PURE__ */ c("bs-dropdown-option", void 0, [
115
- "value",
116
- "variant",
117
- "selected",
118
- "shown",
119
- "focused",
120
- "index",
121
- "dropdownId",
122
- "mousefocus",
123
- "optionselect"
124
- ]), Oe = /* @__PURE__ */ c("bs-dropdown-options", void 0, [
125
- "dropdownId",
126
- "shown",
127
- "label",
128
- "position",
129
- "variant",
130
- "dropdownchange",
131
- "close"
132
- ]), Ve = /* @__PURE__ */ c("bs-field-layout", void 0, [
133
- "charCount",
134
- "charMax",
135
- "disabled",
136
- "error",
137
- "hints",
138
- "label",
139
- "labelFor",
140
- "required",
141
- "hintId"
142
- ]), Me = /* @__PURE__ */ c("bs-hint", void 0, [
143
- "error",
144
- "hintId",
145
- "hints"
146
- ]), Ne = /* @__PURE__ */ c(
147
- "bs-input",
148
- void 0,
149
- [
150
- "disabled",
151
- "error",
152
- "passAttrs",
153
- "placeholder",
154
- "required",
155
- "type",
156
- "value",
157
- "hintId"
158
- ],
159
- "value",
160
- "input"
161
- ), ze = /* @__PURE__ */ c("bs-input-addon", void 0, [
59
+ return typeof c != "function" && (c.name = e, c.props = {
60
+ [le]: F
61
+ }, a.forEach((f) => {
62
+ c.props[f] = F;
63
+ }), t && (c.props[N] = F, c.emits = [U, i])), c;
64
+ }, et = /* @__PURE__ */ J("bs-input-addon", void 0, [
162
65
  "disabled",
163
66
  "error",
164
67
  "multifocus",
165
68
  "variant"
166
- ]), De = /* @__PURE__ */ c(
167
- "bs-input-field",
168
- void 0,
169
- [
170
- "disabled",
171
- "error",
172
- "hints",
173
- "label",
174
- "passAttrs",
175
- "placeholder",
176
- "required",
177
- "type",
178
- "value"
179
- ],
180
- "value",
181
- "input"
182
- ), Fe = /* @__PURE__ */ c("bs-input-search", void 0, [
183
- "disabled",
184
- "passAttrs",
185
- "placeholder",
186
- "ariaLabel",
187
- "hintId",
188
- "value",
189
- "onclear"
190
- ]), He = /* @__PURE__ */ c("bs-profile", void 0, [
191
- "layout",
192
- "href",
193
- "imageSrc",
194
- "imageSize",
195
- "initials",
196
- "profileName",
197
- "company",
198
- "jobTitle",
199
- "email"
200
- ]), je = /* @__PURE__ */ c("bs-profile-details", void 0, [
201
- "profileName",
202
- "company",
203
- "jobTitle",
204
- "email"
205
- ]), Ge = /* @__PURE__ */ c("bs-profile-img", void 0, [
206
- "src",
207
- "size",
208
- "initials",
209
- "profileName"
210
- ]), Ue = /* @__PURE__ */ c("bs-profile-layout", void 0, [
211
- "layout",
212
- "href",
213
- "passAttrs"
214
- ]), Xe = /* @__PURE__ */ c(
215
- "bs-radio",
216
- void 0,
217
- [
218
- "label",
219
- "checked",
220
- "disabled",
221
- "error",
222
- "passAttrs",
223
- "required",
224
- "size",
225
- "value"
226
- ],
227
- "checked",
228
- "change"
229
- ), Ye = /* @__PURE__ */ c(
230
- "bs-select-field",
231
- void 0,
232
- [
233
- "disabled",
234
- "error",
235
- "required",
236
- "label",
237
- "hints",
238
- "placeholder",
239
- "value",
240
- "passAttrs",
241
- "data"
242
- ],
243
- "value",
244
- "change"
245
- ), Ke = /* @__PURE__ */ c(
246
- "bs-switch",
247
- void 0,
248
- [
249
- "checked",
250
- "disabled",
251
- "innerOnLabel",
252
- "innerOffLabel",
253
- "label",
254
- "passAttrs",
255
- "size"
256
- ],
257
- "checked",
258
- "change"
259
- ), Ze = /* @__PURE__ */ c(
260
- "bs-textarea",
261
- void 0,
262
- [
263
- "disabled",
264
- "error",
265
- "passAttrs",
266
- "placeholder",
267
- "required",
268
- "value",
269
- "hintId"
270
- ],
271
- "value",
272
- "input"
273
- ), Je = /* @__PURE__ */ c(
274
- "bs-textarea-field",
275
- void 0,
276
- [
277
- "charMax",
278
- "disabled",
279
- "error",
280
- "hints",
281
- "label",
282
- "placeholder",
283
- "required",
284
- "value",
285
- "passAttrs"
286
- ],
287
- "value",
288
- "input"
289
- ), Qe = /* @__PURE__ */ c("bs-toast", void 0, [
290
- "toastId",
291
- "shown",
292
- "variant",
293
- "toastTitle",
294
- "content",
295
- "stacked",
296
- "duration",
297
- "primaryAction",
298
- "primaryActionType",
299
- "secondaryAction",
300
- "secondaryActionType",
301
- "tertiaryAction",
302
- "tertiaryActionType",
303
- "dismissAction",
304
- "dismiss",
305
- "actionclick"
306
- ]), xe = /* @__PURE__ */ c("bs-toaster", void 0), et = /* @__PURE__ */ c("bs-tooltip", void 0, [
307
- "tooltipId",
308
- "content",
309
- "position"
310
- ]);
311
- function M(s) {
312
- const { height: v, width: o } = s.value.getBoundingClientRect();
313
- s.value.style.minHeight = v + "px", s.value.style.minWidth = o + "px", s.value.replaceChildren();
69
+ ]), tt = /* @__PURE__ */ J("bs-toaster", void 0), de = ["color", "count", "count-max", "dot", "label", "position", "show-zero"], at = {
70
+ __name: "BsBadge",
71
+ props: {
72
+ color: {},
73
+ count: {},
74
+ countMax: { default: 99 },
75
+ dot: {},
76
+ label: { default: "item" },
77
+ position: {},
78
+ showZero: {}
79
+ },
80
+ emits: [],
81
+ setup(e, { emit: r }) {
82
+ return (a, t) => (n(), o("bs-badge", d(a.$attrs, {
83
+ color: e.color,
84
+ count: e.count,
85
+ "count-max": e.countMax,
86
+ dot: e.dot,
87
+ label: e.label,
88
+ position: e.position,
89
+ "show-zero": e.showZero
90
+ }), [
91
+ h(a.$slots, "default")
92
+ ], 16, de));
93
+ }
94
+ }, oe = ["char-count", "char-max"], st = {
95
+ __name: "BsCharacterCount",
96
+ props: {
97
+ charCount: {},
98
+ charMax: {}
99
+ },
100
+ emits: [],
101
+ setup(e, { emit: r }) {
102
+ return (a, t) => (n(), o("bs-character-count", d(a.$attrs, {
103
+ "char-count": e.charCount,
104
+ "char-max": e.charMax
105
+ }), null, 16, oe));
106
+ }
107
+ }, ue = ["chart-title", "data", "dataIdxLabels", "show-legend", "show-tooltips", "show-x-grid", "show-y-grid", "stacked", "x-label", "y-label"], lt = {
108
+ __name: "BsChartBar",
109
+ props: {
110
+ chartTitle: {},
111
+ data: {},
112
+ dataIdxLabels: {},
113
+ showLegend: { default: !0 },
114
+ showTooltips: { default: !0 },
115
+ showXGrid: { default: !1 },
116
+ showYGrid: { default: !1 },
117
+ stacked: { default: !1 },
118
+ xLabel: { default: "" },
119
+ yLabel: { default: "" }
120
+ },
121
+ emits: [],
122
+ setup(e, { emit: r }) {
123
+ return (a, t) => (n(), o("bs-chart-bar", d(a.$attrs, {
124
+ "chart-title": e.chartTitle,
125
+ data: e.data,
126
+ dataIdxLabels: e.dataIdxLabels,
127
+ "show-legend": e.showLegend,
128
+ "show-tooltips": e.showTooltips,
129
+ "show-x-grid": e.showXGrid,
130
+ "show-y-grid": e.showYGrid,
131
+ stacked: e.stacked,
132
+ "x-label": e.xLabel,
133
+ "y-label": e.yLabel
134
+ }), null, 16, ue));
135
+ }
136
+ }, ce = ["data", "dataIdxLabels", "table-title"], rt = {
137
+ __name: "BsChartTable",
138
+ props: {
139
+ data: {},
140
+ dataIdxLabels: {},
141
+ tableTitle: { default: "" }
142
+ },
143
+ emits: [],
144
+ setup(e, { emit: r }) {
145
+ return (a, t) => (n(), o("bs-chart-table", d(a.$attrs, {
146
+ data: e.data,
147
+ dataIdxLabels: e.dataIdxLabels,
148
+ "table-title": e.tableTitle
149
+ }), null, 16, ce));
150
+ }
151
+ }, fe = ["label", "checked", "checked-partially", "disabled", "error", "pass-attrs", "required", "size"], nt = {
152
+ __name: "BsCheckbox",
153
+ props: {
154
+ label: {},
155
+ checked: { default: !1 },
156
+ checkedPartially: { default: !1 },
157
+ disabled: { default: !1 },
158
+ error: {},
159
+ passAttrs: { default: "" },
160
+ required: {},
161
+ size: {},
162
+ modelValue: {}
163
+ },
164
+ emits: ["update:modelValue"],
165
+ setup(e, { emit: r }) {
166
+ return (a, t) => (n(), o("bs-checkbox", d(a.$attrs, {
167
+ label: e.label,
168
+ checked: e.checked || e.modelValue,
169
+ "checked-partially": e.checkedPartially,
170
+ disabled: e.disabled,
171
+ error: e.error,
172
+ "pass-attrs": e.passAttrs,
173
+ required: e.required,
174
+ size: e.size,
175
+ onChange: t[0] || (t[0] = (s) => r("update:modelValue", s.target.checked))
176
+ }), null, 16, fe));
177
+ }
178
+ }, he = ["disabled", "ghost-btn", "hover-effect", "href", "icon", "icon-position", "label", "pass-attrs", "text-btn", "size"], it = {
179
+ __name: "BsCircleButton",
180
+ props: {
181
+ disabled: {},
182
+ ghostBtn: {},
183
+ hoverEffect: { default: !1 },
184
+ href: {},
185
+ icon: {},
186
+ iconPosition: {},
187
+ label: {},
188
+ passAttrs: { default: "" },
189
+ textBtn: {},
190
+ size: {}
191
+ },
192
+ emits: [],
193
+ setup(e, { emit: r }) {
194
+ return (a, t) => (n(), o("bs-circle-button", d(a.$attrs, {
195
+ disabled: e.disabled,
196
+ "ghost-btn": e.ghostBtn,
197
+ "hover-effect": e.hoverEffect,
198
+ href: e.href,
199
+ icon: e.icon,
200
+ "icon-position": e.iconPosition,
201
+ label: e.label,
202
+ "pass-attrs": e.passAttrs,
203
+ "text-btn": e.textBtn,
204
+ size: e.size
205
+ }), null, 16, he));
206
+ }
207
+ }, me = ["dropdown-id", "shown", "label", "position", "justify", "variant"], dt = {
208
+ __name: "BsDropdown",
209
+ props: {
210
+ dropdownId: {},
211
+ shown: {},
212
+ label: {},
213
+ position: {},
214
+ justify: {},
215
+ variant: {}
216
+ },
217
+ emits: ["dropdownchange", "close"],
218
+ setup(e, { emit: r }) {
219
+ return (a, t) => (n(), o("bs-dropdown", d(a.$attrs, {
220
+ "dropdown-id": e.dropdownId,
221
+ shown: e.shown,
222
+ label: e.label,
223
+ position: e.position,
224
+ justify: e.justify,
225
+ variant: e.variant,
226
+ onDropdownchange: t[0] || (t[0] = (s) => r("dropdownchange", s.detail)),
227
+ onClose: t[1] || (t[1] = (s) => r("close", s.detail))
228
+ }), [
229
+ h(a.$slots, "default")
230
+ ], 16, me));
231
+ }
232
+ }, be = ["value", "variant", "selected", "shown", "focused", "index", "dropdown-id"], ot = {
233
+ __name: "BsDropdownOption",
234
+ props: {
235
+ value: {},
236
+ variant: {},
237
+ selected: { default: !1 },
238
+ shown: {},
239
+ focused: {},
240
+ index: {},
241
+ dropdownId: {}
242
+ },
243
+ emits: ["mousefocus", "optionselect"],
244
+ setup(e, { emit: r }) {
245
+ return (a, t) => (n(), o("bs-dropdown-option", d(a.$attrs, {
246
+ value: e.value,
247
+ variant: e.variant,
248
+ selected: e.selected,
249
+ shown: e.shown,
250
+ focused: e.focused,
251
+ index: e.index,
252
+ "dropdown-id": e.dropdownId,
253
+ onMousefocus: t[0] || (t[0] = (s) => r("mousefocus", s.detail)),
254
+ onOptionselect: t[1] || (t[1] = (s) => r("optionselect", s.detail))
255
+ }), [
256
+ h(a.$slots, "default")
257
+ ], 16, be));
258
+ }
259
+ }, ve = ["dropdown-id", "shown", "label", "position", "variant"], ut = {
260
+ __name: "BsDropdownOptions",
261
+ props: {
262
+ dropdownId: {},
263
+ shown: {},
264
+ label: {},
265
+ position: {},
266
+ variant: {}
267
+ },
268
+ emits: ["dropdownchange", "close"],
269
+ setup(e, { emit: r }) {
270
+ return (a, t) => (n(), o("bs-dropdown-options", d(a.$attrs, {
271
+ "dropdown-id": e.dropdownId,
272
+ shown: e.shown,
273
+ label: e.label,
274
+ position: e.position,
275
+ variant: e.variant,
276
+ onDropdownchange: t[0] || (t[0] = (s) => r("dropdownchange", s.detail)),
277
+ onClose: t[1] || (t[1] = (s) => r("close", s.detail))
278
+ }), [
279
+ h(a.$slots, "default")
280
+ ], 16, ve));
281
+ }
282
+ }, ye = ["char-count", "char-max", "disabled", "error", "hints", "label", "label-for", "required", "hint-id"], ct = {
283
+ __name: "BsFieldLayout",
284
+ props: {
285
+ charCount: {},
286
+ charMax: {},
287
+ disabled: { default: !1 },
288
+ error: {},
289
+ hints: {},
290
+ label: {},
291
+ labelFor: {},
292
+ required: {},
293
+ hintId: {}
294
+ },
295
+ emits: [],
296
+ setup(e, { emit: r }) {
297
+ return (a, t) => (n(), o("bs-field-layout", d(a.$attrs, {
298
+ "char-count": e.charCount,
299
+ "char-max": e.charMax,
300
+ disabled: e.disabled,
301
+ error: e.error,
302
+ hints: e.hints,
303
+ label: e.label,
304
+ "label-for": e.labelFor,
305
+ required: e.required,
306
+ "hint-id": e.hintId
307
+ }), [
308
+ h(a.$slots, "default")
309
+ ], 16, ye));
310
+ }
311
+ }, $e = ["error", "hint-id", "hints"], ft = {
312
+ __name: "BsHint",
313
+ props: {
314
+ error: {},
315
+ hintId: {},
316
+ hints: {}
317
+ },
318
+ emits: [],
319
+ setup(e, { emit: r }) {
320
+ return (a, t) => (n(), o("bs-hint", d(a.$attrs, {
321
+ error: e.error,
322
+ "hint-id": e.hintId,
323
+ hints: e.hints
324
+ }), null, 16, $e));
325
+ }
326
+ }, Be = ["disabled", "error", "pass-attrs", "placeholder", "required", "type", "value", "hint-id"], ht = {
327
+ __name: "BsInput",
328
+ props: {
329
+ disabled: { default: !1 },
330
+ error: {},
331
+ passAttrs: { default: "" },
332
+ placeholder: {},
333
+ required: {},
334
+ type: { default: "text" },
335
+ value: {},
336
+ hintId: {},
337
+ modelValue: {}
338
+ },
339
+ emits: ["update:modelValue"],
340
+ setup(e, { emit: r }) {
341
+ return (a, t) => (n(), o("bs-input", d(a.$attrs, {
342
+ disabled: e.disabled,
343
+ error: e.error,
344
+ "pass-attrs": e.passAttrs,
345
+ placeholder: e.placeholder,
346
+ required: e.required,
347
+ type: e.type,
348
+ value: e.value || e.modelValue,
349
+ "hint-id": e.hintId,
350
+ onInput: t[0] || (t[0] = (s) => r("update:modelValue", s.target.value))
351
+ }), null, 16, Be));
352
+ }
353
+ }, ge = ["disabled", "error", "hints", "label", "pass-attrs", "placeholder", "required", "type", "value"], mt = {
354
+ __name: "BsInputField",
355
+ props: {
356
+ disabled: { default: !1 },
357
+ error: {},
358
+ hints: {},
359
+ label: {},
360
+ passAttrs: { default: "" },
361
+ placeholder: {},
362
+ required: {},
363
+ type: { default: "text" },
364
+ value: {},
365
+ modelValue: {}
366
+ },
367
+ emits: ["update:modelValue"],
368
+ setup(e, { emit: r }) {
369
+ return (a, t) => (n(), o("bs-input-field", d(a.$attrs, {
370
+ disabled: e.disabled,
371
+ error: e.error,
372
+ hints: e.hints,
373
+ label: e.label,
374
+ "pass-attrs": e.passAttrs,
375
+ placeholder: e.placeholder,
376
+ required: e.required,
377
+ type: e.type,
378
+ value: e.value || e.modelValue,
379
+ onInput: t[0] || (t[0] = (s) => r("update:modelValue", s.target.value))
380
+ }), null, 16, ge));
381
+ }
382
+ }, we = ["disabled", "pass-attrs", "placeholder", "aria-label", "hint-id", "value"], bt = {
383
+ __name: "BsInputSearch",
384
+ props: {
385
+ disabled: { default: !1 },
386
+ passAttrs: { default: "" },
387
+ placeholder: { default: "Search Items" },
388
+ ariaLabel: { default: "Search Items" },
389
+ hintId: {},
390
+ value: { default: "" }
391
+ },
392
+ emits: ["onclear"],
393
+ setup(e, { emit: r }) {
394
+ return (a, t) => (n(), o("bs-input-search", d(a.$attrs, {
395
+ disabled: e.disabled,
396
+ "pass-attrs": e.passAttrs,
397
+ placeholder: e.placeholder,
398
+ "aria-label": e.ariaLabel,
399
+ "hint-id": e.hintId,
400
+ value: e.value,
401
+ onOnclear: t[0] || (t[0] = (s) => r("onclear", s.detail))
402
+ }), null, 16, we));
403
+ }
404
+ }, ke = ["layout", "href", "image-src", "image-size", "initials", "profile-name", "company", "job-title", "email"], vt = {
405
+ __name: "BsProfile",
406
+ props: {
407
+ layout: {},
408
+ href: {},
409
+ imageSrc: {},
410
+ imageSize: { default: "lg" },
411
+ initials: {},
412
+ profileName: {},
413
+ company: {},
414
+ jobTitle: {},
415
+ email: {}
416
+ },
417
+ emits: [],
418
+ setup(e, { emit: r }) {
419
+ return (a, t) => (n(), o("bs-profile", d(a.$attrs, {
420
+ layout: e.layout,
421
+ href: e.href,
422
+ "image-src": e.imageSrc,
423
+ "image-size": e.imageSize,
424
+ initials: e.initials,
425
+ "profile-name": e.profileName,
426
+ company: e.company,
427
+ "job-title": e.jobTitle,
428
+ email: e.email
429
+ }), null, 16, ke));
430
+ }
431
+ }, pe = ["profile-name", "company", "job-title", "email"], yt = {
432
+ __name: "BsProfileDetails",
433
+ props: {
434
+ profileName: {},
435
+ company: {},
436
+ jobTitle: {},
437
+ email: {}
438
+ },
439
+ emits: [],
440
+ setup(e, { emit: r }) {
441
+ return (a, t) => (n(), o("bs-profile-details", d(a.$attrs, {
442
+ "profile-name": e.profileName,
443
+ company: e.company,
444
+ "job-title": e.jobTitle,
445
+ email: e.email
446
+ }), null, 16, pe));
447
+ }
448
+ }, Ae = ["src", "size", "initials", "profile-name"], $t = {
449
+ __name: "BsProfileImg",
450
+ props: {
451
+ src: {},
452
+ size: {},
453
+ initials: {},
454
+ profileName: {}
455
+ },
456
+ emits: [],
457
+ setup(e, { emit: r }) {
458
+ return (a, t) => (n(), o("bs-profile-img", d(a.$attrs, {
459
+ src: e.src,
460
+ size: e.size,
461
+ initials: e.initials,
462
+ "profile-name": e.profileName
463
+ }), null, 16, Ae));
464
+ }
465
+ }, Te = ["layout", "href", "pass-attrs"], Bt = {
466
+ __name: "BsProfileLayout",
467
+ props: {
468
+ layout: { default: "vertical" },
469
+ href: {},
470
+ passAttrs: { default: "" }
471
+ },
472
+ emits: [],
473
+ setup(e, { emit: r }) {
474
+ return (a, t) => (n(), o("bs-profile-layout", d(a.$attrs, {
475
+ layout: e.layout,
476
+ href: e.href,
477
+ "pass-attrs": e.passAttrs
478
+ }), [
479
+ h(a.$slots, "default")
480
+ ], 16, Te));
481
+ }
482
+ }, Se = ["label", "checked", "disabled", "error", "pass-attrs", "required", "size", "value"], gt = {
483
+ __name: "BsRadio",
484
+ props: {
485
+ label: {},
486
+ checked: { default: !1 },
487
+ disabled: { default: !1 },
488
+ error: {},
489
+ passAttrs: { default: "" },
490
+ required: {},
491
+ size: {},
492
+ value: {},
493
+ modelValue: {}
494
+ },
495
+ emits: ["update:modelValue"],
496
+ setup(e, { emit: r }) {
497
+ return (a, t) => (n(), o("bs-radio", d(a.$attrs, {
498
+ label: e.label,
499
+ checked: e.checked || e.modelValue === e.value,
500
+ disabled: e.disabled,
501
+ error: e.error,
502
+ "pass-attrs": e.passAttrs,
503
+ required: e.required,
504
+ size: e.size,
505
+ value: e.value,
506
+ onChange: t[0] || (t[0] = (s) => r("update:modelValue", s.target.value))
507
+ }), null, 16, Se));
508
+ }
509
+ }, Ie = ["disabled", "error", "required", "label", "hints", "placeholder", "value", "pass-attrs", "data"], wt = {
510
+ __name: "BsSelectField",
511
+ props: {
512
+ disabled: { default: !1 },
513
+ error: {},
514
+ required: {},
515
+ label: {},
516
+ hints: {},
517
+ placeholder: { default: "" },
518
+ value: {},
519
+ passAttrs: { default: "" },
520
+ data: { default: [] },
521
+ modelValue: {}
522
+ },
523
+ emits: ["update:modelValue"],
524
+ setup(e, { emit: r }) {
525
+ return (a, t) => (n(), o("bs-select-field", d(a.$attrs, {
526
+ disabled: e.disabled,
527
+ error: e.error,
528
+ required: e.required,
529
+ label: e.label,
530
+ hints: e.hints,
531
+ placeholder: e.placeholder,
532
+ value: e.value || e.modelValue,
533
+ "pass-attrs": e.passAttrs,
534
+ data: e.data,
535
+ onChange: t[0] || (t[0] = (s) => r("update:modelValue", s.target.value))
536
+ }), null, 16, Ie));
537
+ }
538
+ }, qe = ["checked", "disabled", "inner-on-label", "inner-off-label", "label", "pass-attrs", "size"], kt = {
539
+ __name: "BsSwitch",
540
+ props: {
541
+ checked: { default: !1 },
542
+ disabled: { default: !1 },
543
+ innerOnLabel: {},
544
+ innerOffLabel: {},
545
+ label: {},
546
+ passAttrs: { default: "" },
547
+ size: {},
548
+ modelValue: {}
549
+ },
550
+ emits: ["update:modelValue"],
551
+ setup(e, { emit: r }) {
552
+ return (a, t) => (n(), o("bs-switch", d(a.$attrs, {
553
+ checked: e.checked || e.modelValue,
554
+ disabled: e.disabled,
555
+ "inner-on-label": e.innerOnLabel,
556
+ "inner-off-label": e.innerOffLabel,
557
+ label: e.label,
558
+ "pass-attrs": e.passAttrs,
559
+ size: e.size,
560
+ onChange: t[0] || (t[0] = (s) => r("update:modelValue", s.target.checked))
561
+ }), null, 16, qe));
562
+ }
563
+ }, Ve = ["disabled", "error", "pass-attrs", "placeholder", "required", "value", "hint-id"], pt = {
564
+ __name: "BsTextarea",
565
+ props: {
566
+ disabled: { default: !1 },
567
+ error: {},
568
+ passAttrs: { default: "" },
569
+ placeholder: {},
570
+ required: {},
571
+ value: {},
572
+ hintId: {},
573
+ modelValue: {}
574
+ },
575
+ emits: ["update:modelValue"],
576
+ setup(e, { emit: r }) {
577
+ return (a, t) => (n(), o("bs-textarea", d(a.$attrs, {
578
+ disabled: e.disabled,
579
+ error: e.error,
580
+ "pass-attrs": e.passAttrs,
581
+ placeholder: e.placeholder,
582
+ required: e.required,
583
+ value: e.value || e.modelValue,
584
+ "hint-id": e.hintId,
585
+ onInput: t[0] || (t[0] = (s) => r("update:modelValue", s.target.value))
586
+ }), null, 16, Ve));
587
+ }
588
+ }, Ce = ["char-max", "disabled", "error", "hints", "label", "placeholder", "required", "value", "pass-attrs"], At = {
589
+ __name: "BsTextareaField",
590
+ props: {
591
+ charMax: {},
592
+ disabled: { default: !1 },
593
+ error: {},
594
+ hints: {},
595
+ label: {},
596
+ placeholder: {},
597
+ required: {},
598
+ value: { default: "" },
599
+ passAttrs: { default: "" },
600
+ modelValue: {}
601
+ },
602
+ emits: ["update:modelValue"],
603
+ setup(e, { emit: r }) {
604
+ return (a, t) => (n(), o("bs-textarea-field", d(a.$attrs, {
605
+ "char-max": e.charMax,
606
+ disabled: e.disabled,
607
+ error: e.error,
608
+ hints: e.hints,
609
+ label: e.label,
610
+ placeholder: e.placeholder,
611
+ required: e.required,
612
+ value: e.value || e.modelValue,
613
+ "pass-attrs": e.passAttrs,
614
+ onInput: t[0] || (t[0] = (s) => r("update:modelValue", s.target.value))
615
+ }), null, 16, Ce));
616
+ }
617
+ }, Le = ["toast-id", "shown", "variant", "toast-title", "content", "stacked", "duration", "primary-action", "primary-action-type", "secondary-action", "secondary-action-type", "tertiary-action", "tertiary-action-type", "dismiss-action"], Tt = {
618
+ __name: "BsToast",
619
+ props: {
620
+ toastId: {},
621
+ shown: {},
622
+ variant: {},
623
+ toastTitle: {},
624
+ content: {},
625
+ stacked: { default: !1 },
626
+ duration: { default: 1e4 },
627
+ primaryAction: { default: "Dismiss" },
628
+ primaryActionType: { default: "text" },
629
+ secondaryAction: {},
630
+ secondaryActionType: { default: "text" },
631
+ tertiaryAction: {},
632
+ tertiaryActionType: { default: "text" },
633
+ dismissAction: { default: "Dismiss" }
634
+ },
635
+ emits: ["dismiss", "actionclick"],
636
+ setup(e, { emit: r }) {
637
+ return (a, t) => (n(), o("bs-toast", d(a.$attrs, {
638
+ "toast-id": e.toastId,
639
+ shown: e.shown,
640
+ variant: e.variant,
641
+ "toast-title": e.toastTitle,
642
+ content: e.content,
643
+ stacked: e.stacked,
644
+ duration: e.duration,
645
+ "primary-action": e.primaryAction,
646
+ "primary-action-type": e.primaryActionType,
647
+ "secondary-action": e.secondaryAction,
648
+ "secondary-action-type": e.secondaryActionType,
649
+ "tertiary-action": e.tertiaryAction,
650
+ "tertiary-action-type": e.tertiaryActionType,
651
+ "dismiss-action": e.dismissAction,
652
+ onDismiss: t[0] || (t[0] = (s) => r("dismiss", s.detail)),
653
+ onActionclick: t[1] || (t[1] = (s) => r("actionclick", s.detail))
654
+ }), [
655
+ h(a.$slots, "default")
656
+ ], 16, Le));
657
+ }
658
+ }, Re = ["tooltip-id", "content", "position"], St = {
659
+ __name: "BsTooltip",
660
+ props: {
661
+ tooltipId: {},
662
+ content: {},
663
+ position: {}
664
+ },
665
+ emits: [],
666
+ setup(e, { emit: r }) {
667
+ return (a, t) => (n(), o("bs-tooltip", d(a.$attrs, {
668
+ "tooltip-id": e.tooltipId,
669
+ content: e.content,
670
+ position: e.position
671
+ }), [
672
+ h(a.$slots, "default")
673
+ ], 16, Re));
674
+ }
675
+ };
676
+ function W(e) {
677
+ const { height: r, width: a } = e.value.getBoundingClientRect();
678
+ e.value.style.minHeight = r + "px", e.value.style.minWidth = a + "px", e.value.replaceChildren();
314
679
  }
315
- function N(s) {
316
- s.value.style.minHeight = null, s.value.style.minWidth = null;
680
+ function O(e) {
681
+ e.value.style.minHeight = null, e.value.style.minWidth = null;
317
682
  }
318
- const ie = ["controlled", "icon", "header-text", "heading-level", "open-item", "stacked"], de = {
683
+ const ze = ["controlled", "icon", "header-text", "heading-level", "open-item", "stacked"], Pe = {
319
684
  __name: "BsAccordionServer",
320
685
  props: {
321
686
  controlled: { default: !1 },
@@ -326,49 +691,49 @@ const ie = ["controlled", "icon", "header-text", "heading-level", "open-item", "
326
691
  stacked: { default: !1 }
327
692
  },
328
693
  emits: ["toggled"],
329
- setup(s, { emit: v }) {
330
- const o = f(!1), e = f(null), a = f(""), r = R([]), n = f(null), i = (t, d = 0) => {
331
- var l, p;
332
- e.value || d >= 4 || (e.value = (p = (l = t.value) == null ? void 0 : l.querySelector) == null ? void 0 : p.call(l, "[data-slot]"), e.value || r.push(setTimeout(() => i(t, d + 1), 50)));
694
+ setup(e, { emit: r }) {
695
+ const a = b(!1), t = b(null), s = b(""), i = S([]), c = b(null), f = (l, m = 0) => {
696
+ var u, v;
697
+ t.value || m >= 4 || (t.value = (v = (u = l.value) == null ? void 0 : u.querySelector) == null ? void 0 : v.call(u, "[data-slot]"), t.value || i.push(setTimeout(() => f(l, m + 1), 50)));
333
698
  };
334
- return C(() => i(n, 0)), L(e, (t) => {
335
- !t || o.value || (M(e), r.push(setTimeout(() => {
336
- N(e), E(() => {
337
- a.value = customElements.get("bs-accordion") ? "hydrated superhydrated" : "superhydrated";
699
+ return I(() => f(c, 0)), q(t, (l) => {
700
+ !l || a.value || (W(t), i.push(setTimeout(() => {
701
+ O(t), V(() => {
702
+ s.value = customElements.get("bs-accordion") ? "hydrated superhydrated" : "superhydrated";
338
703
  });
339
- }, 100)), o.value = !0);
340
- }, { immediate: !0 }), I(() => r.forEach((t) => clearTimeout(t))), (t, d) => (u(), $(P, null, [
341
- e.value ? (u(), m(y(k), { key: 0 }, {
342
- default: B(() => [
343
- (u(), m(q, { to: e.value }, [
344
- h(t.$slots, "default")
704
+ }, 100)), a.value = !0);
705
+ }, { immediate: !0 }), C(() => i.forEach((l) => clearTimeout(l))), (l, m) => (n(), o(L, null, [
706
+ t.value ? (n(), $(B(w), { key: 0 }, {
707
+ default: g(() => [
708
+ (n(), $(R, { to: t.value }, [
709
+ h(l.$slots, "default")
345
710
  ], 8, ["to"]))
346
711
  ]),
347
712
  _: 3
348
- })) : W("", !0),
349
- _("bs-accordion", g({
713
+ })) : z("", !0),
714
+ P("bs-accordion", d({
350
715
  ref_key: "wcRef",
351
- ref: n,
352
- class: a.value,
716
+ ref: c,
717
+ class: s.value,
353
718
  "data-bsds-ssr": "",
354
- controlled: s.controlled,
355
- icon: s.icon,
356
- "header-text": s.headerText,
357
- "heading-level": s.headingLevel,
358
- "open-item": s.openItem,
359
- stacked: s.stacked,
360
- onToggled: d[0] || (d[0] = (l) => v("toggled", l.detail))
361
- }, t.$attrs), [
362
- O(y(k), null, {
363
- fallback: B(() => [
364
- h(t.$slots, "default")
719
+ controlled: e.controlled,
720
+ icon: e.icon,
721
+ "header-text": e.headerText,
722
+ "heading-level": e.headingLevel,
723
+ "open-item": e.openItem,
724
+ stacked: e.stacked,
725
+ onToggled: m[0] || (m[0] = (u) => r("toggled", u.detail))
726
+ }, l.$attrs), [
727
+ x(B(w), null, {
728
+ fallback: g(() => [
729
+ h(l.$slots, "default")
365
730
  ]),
366
731
  _: 3
367
732
  })
368
- ], 16, ie)
733
+ ], 16, ze)
369
734
  ], 64));
370
735
  }
371
- }, ue = "bs-accordion", tt = {
736
+ }, xe = "bs-accordion", It = {
372
737
  __name: "BsAccordion",
373
738
  props: {
374
739
  controlled: { default: !1 },
@@ -379,87 +744,87 @@ const ie = ["controlled", "icon", "header-text", "heading-level", "open-item", "
379
744
  stacked: { default: !1 }
380
745
  },
381
746
  emits: ["toggled"],
382
- setup(s, { emit: v }) {
383
- const o = s, { data: e } = V(ue, () => {
747
+ setup(e, { emit: r }) {
748
+ const a = e, { data: t } = E(xe, () => {
384
749
  if (process.server)
385
750
  return !0;
386
751
  });
387
- return (a, r) => y(e) ? (u(), m(de, g({ key: 0 }, { ...o, ...a.$attrs }, {
388
- onToggled: r[0] || (r[0] = (n) => v("toggled", n.detail))
752
+ return (s, i) => B(t) ? (n(), $(Pe, d({ key: 0 }, { ...a, ...s.$attrs }, {
753
+ onToggled: i[0] || (i[0] = (c) => r("toggled", c.detail))
389
754
  }), {
390
- default: B(() => [
391
- h(a.$slots, "default")
755
+ default: g(() => [
756
+ h(s.$slots, "default")
392
757
  ]),
393
758
  _: 3
394
- }, 16)) : (u(), $("bs-accordion", g({ key: 1 }, { ...o, ...a.$attrs }, {
395
- onToggled: r[1] || (r[1] = (n) => v("toggled", n.detail))
759
+ }, 16)) : (n(), o("bs-accordion", d({ key: 1 }, { ...a, ...s.$attrs }, {
760
+ onToggled: i[1] || (i[1] = (c) => r("toggled", c.detail))
396
761
  }), [
397
- h(a.$slots, "default")
762
+ h(s.$slots, "default")
398
763
  ], 16));
399
764
  }
400
- }, ce = {
765
+ }, Ee = {
401
766
  __name: "BsBannerServer",
402
767
  props: {},
403
768
  emits: ["dismiss"],
404
- setup(s, { emit: v }) {
405
- const o = f(!1), e = f(null), a = f(""), r = R([]), n = f(null), i = (t, d = 0) => {
406
- var l, p;
407
- e.value || d >= 4 || (e.value = (p = (l = t.value) == null ? void 0 : l.querySelector) == null ? void 0 : p.call(l, "[data-slot]"), e.value || r.push(setTimeout(() => i(t, d + 1), 50)));
769
+ setup(e, { emit: r }) {
770
+ const a = b(!1), t = b(null), s = b(""), i = S([]), c = b(null), f = (l, m = 0) => {
771
+ var u, v;
772
+ t.value || m >= 4 || (t.value = (v = (u = l.value) == null ? void 0 : u.querySelector) == null ? void 0 : v.call(u, "[data-slot]"), t.value || i.push(setTimeout(() => f(l, m + 1), 50)));
408
773
  };
409
- return C(() => i(n, 0)), L(e, (t) => {
410
- !t || o.value || (M(e), r.push(setTimeout(() => {
411
- N(e), E(() => {
412
- a.value = customElements.get("bs-banner") ? "hydrated superhydrated" : "superhydrated";
774
+ return I(() => f(c, 0)), q(t, (l) => {
775
+ !l || a.value || (W(t), i.push(setTimeout(() => {
776
+ O(t), V(() => {
777
+ s.value = customElements.get("bs-banner") ? "hydrated superhydrated" : "superhydrated";
413
778
  });
414
- }, 100)), o.value = !0);
415
- }, { immediate: !0 }), I(() => r.forEach((t) => clearTimeout(t))), (t, d) => (u(), $(P, null, [
416
- e.value ? (u(), m(y(k), { key: 0 }, {
417
- default: B(() => [
418
- (u(), m(q, { to: e.value }, [
419
- h(t.$slots, "default")
779
+ }, 100)), a.value = !0);
780
+ }, { immediate: !0 }), C(() => i.forEach((l) => clearTimeout(l))), (l, m) => (n(), o(L, null, [
781
+ t.value ? (n(), $(B(w), { key: 0 }, {
782
+ default: g(() => [
783
+ (n(), $(R, { to: t.value }, [
784
+ h(l.$slots, "default")
420
785
  ], 8, ["to"]))
421
786
  ]),
422
787
  _: 3
423
- })) : W("", !0),
424
- _("bs-banner", g({
788
+ })) : z("", !0),
789
+ P("bs-banner", d({
425
790
  ref_key: "wcRef",
426
- ref: n,
427
- class: a.value,
791
+ ref: c,
792
+ class: s.value,
428
793
  "data-bsds-ssr": "",
429
- onDismiss: d[0] || (d[0] = (l) => v("dismiss", l.detail))
430
- }, t.$attrs), [
431
- O(y(k), null, {
432
- fallback: B(() => [
433
- h(t.$slots, "default")
794
+ onDismiss: m[0] || (m[0] = (u) => r("dismiss", u.detail))
795
+ }, l.$attrs), [
796
+ x(B(w), null, {
797
+ fallback: g(() => [
798
+ h(l.$slots, "default")
434
799
  ]),
435
800
  _: 3
436
801
  })
437
802
  ], 16)
438
803
  ], 64));
439
804
  }
440
- }, fe = "bs-banner", st = {
805
+ }, We = "bs-banner", qt = {
441
806
  __name: "BsBanner",
442
807
  props: {},
443
808
  emits: ["dismiss"],
444
- setup(s, { emit: v }) {
445
- const o = s, { data: e } = V(fe, () => {
809
+ setup(e, { emit: r }) {
810
+ const a = e, { data: t } = E(We, () => {
446
811
  if (process.server)
447
812
  return !0;
448
813
  });
449
- return (a, r) => y(e) ? (u(), m(ce, g({ key: 0 }, { ...o, ...a.$attrs }, {
450
- onDismiss: r[0] || (r[0] = (n) => v("dismiss", n.detail))
814
+ return (s, i) => B(t) ? (n(), $(Ee, d({ key: 0 }, { ...a, ...s.$attrs }, {
815
+ onDismiss: i[0] || (i[0] = (c) => r("dismiss", c.detail))
451
816
  }), {
452
- default: B(() => [
453
- h(a.$slots, "default")
817
+ default: g(() => [
818
+ h(s.$slots, "default")
454
819
  ]),
455
820
  _: 3
456
- }, 16)) : (u(), $("bs-banner", g({ key: 1 }, { ...o, ...a.$attrs }, {
457
- onDismiss: r[1] || (r[1] = (n) => v("dismiss", n.detail))
821
+ }, 16)) : (n(), o("bs-banner", d({ key: 1 }, { ...a, ...s.$attrs }, {
822
+ onDismiss: i[1] || (i[1] = (c) => r("dismiss", c.detail))
458
823
  }), [
459
- h(a.$slots, "default")
824
+ h(s.$slots, "default")
460
825
  ], 16));
461
826
  }
462
- }, ve = ["variant", "disabled", "ghost-btn", "href", "pass-attrs", "text-btn", "size"], he = {
827
+ }, Oe = ["variant", "disabled", "ghost-btn", "href", "pass-attrs", "text-btn", "size"], De = {
463
828
  __name: "BsButtonServer",
464
829
  props: {
465
830
  variant: {},
@@ -471,49 +836,49 @@ const ie = ["controlled", "icon", "header-text", "heading-level", "open-item", "
471
836
  size: {}
472
837
  },
473
838
  emits: [],
474
- setup(s, { emit: v }) {
475
- const o = f(!1), e = f(null), a = f(""), r = R([]), n = f(null), i = (t, d = 0) => {
476
- var l, p;
477
- e.value || d >= 4 || (e.value = (p = (l = t.value) == null ? void 0 : l.querySelector) == null ? void 0 : p.call(l, "[data-slot]"), e.value || r.push(setTimeout(() => i(t, d + 1), 50)));
839
+ setup(e, { emit: r }) {
840
+ const a = b(!1), t = b(null), s = b(""), i = S([]), c = b(null), f = (l, m = 0) => {
841
+ var u, v;
842
+ t.value || m >= 4 || (t.value = (v = (u = l.value) == null ? void 0 : u.querySelector) == null ? void 0 : v.call(u, "[data-slot]"), t.value || i.push(setTimeout(() => f(l, m + 1), 50)));
478
843
  };
479
- return C(() => i(n, 0)), L(e, (t) => {
480
- !t || o.value || (M(e), r.push(setTimeout(() => {
481
- N(e), E(() => {
482
- a.value = customElements.get("bs-button") ? "hydrated superhydrated" : "superhydrated";
844
+ return I(() => f(c, 0)), q(t, (l) => {
845
+ !l || a.value || (W(t), i.push(setTimeout(() => {
846
+ O(t), V(() => {
847
+ s.value = customElements.get("bs-button") ? "hydrated superhydrated" : "superhydrated";
483
848
  });
484
- }, 100)), o.value = !0);
485
- }, { immediate: !0 }), I(() => r.forEach((t) => clearTimeout(t))), (t, d) => (u(), $(P, null, [
486
- e.value ? (u(), m(y(k), { key: 0 }, {
487
- default: B(() => [
488
- (u(), m(q, { to: e.value }, [
489
- h(t.$slots, "default")
849
+ }, 100)), a.value = !0);
850
+ }, { immediate: !0 }), C(() => i.forEach((l) => clearTimeout(l))), (l, m) => (n(), o(L, null, [
851
+ t.value ? (n(), $(B(w), { key: 0 }, {
852
+ default: g(() => [
853
+ (n(), $(R, { to: t.value }, [
854
+ h(l.$slots, "default")
490
855
  ], 8, ["to"]))
491
856
  ]),
492
857
  _: 3
493
- })) : W("", !0),
494
- _("bs-button", g({
858
+ })) : z("", !0),
859
+ P("bs-button", d({
495
860
  ref_key: "wcRef",
496
- ref: n,
497
- class: a.value,
861
+ ref: c,
862
+ class: s.value,
498
863
  "data-bsds-ssr": "",
499
- variant: s.variant,
500
- disabled: s.disabled,
501
- "ghost-btn": s.ghostBtn,
502
- href: s.href,
503
- "pass-attrs": s.passAttrs,
504
- "text-btn": s.textBtn,
505
- size: s.size
506
- }, t.$attrs), [
507
- O(y(k), null, {
508
- fallback: B(() => [
509
- h(t.$slots, "default")
864
+ variant: e.variant,
865
+ disabled: e.disabled,
866
+ "ghost-btn": e.ghostBtn,
867
+ href: e.href,
868
+ "pass-attrs": e.passAttrs,
869
+ "text-btn": e.textBtn,
870
+ size: e.size
871
+ }, l.$attrs), [
872
+ x(B(w), null, {
873
+ fallback: g(() => [
874
+ h(l.$slots, "default")
510
875
  ]),
511
876
  _: 3
512
877
  })
513
- ], 16, ve)
878
+ ], 16, Oe)
514
879
  ], 64));
515
880
  }
516
- }, pe = "bs-button", at = {
881
+ }, Me = "bs-button", Vt = {
517
882
  __name: "BsButton",
518
883
  props: {
519
884
  variant: {},
@@ -525,21 +890,21 @@ const ie = ["controlled", "icon", "header-text", "heading-level", "open-item", "
525
890
  size: {}
526
891
  },
527
892
  emits: [],
528
- setup(s, { emit: v }) {
529
- const o = s, { data: e } = V(pe, () => {
893
+ setup(e, { emit: r }) {
894
+ const a = e, { data: t } = E(Me, () => {
530
895
  if (process.server)
531
896
  return !0;
532
897
  });
533
- return (a, r) => y(e) ? (u(), m(he, T(g({ key: 0 }, { ...o, ...a.$attrs })), {
534
- default: B(() => [
535
- h(a.$slots, "default")
898
+ return (s, i) => B(t) ? (n(), $(De, p(d({ key: 0 }, { ...a, ...s.$attrs })), {
899
+ default: g(() => [
900
+ h(s.$slots, "default")
536
901
  ]),
537
902
  _: 3
538
- }, 16)) : (u(), $("bs-button", T(g({ key: 1 }, { ...o, ...a.$attrs })), [
539
- h(a.$slots, "default")
903
+ }, 16)) : (n(), o("bs-button", p(d({ key: 1 }, { ...a, ...s.$attrs })), [
904
+ h(s.$slots, "default")
540
905
  ], 16));
541
906
  }
542
- }, be = ["disabled", "for", "hide", "pass-attrs", "required"], me = {
907
+ }, je = ["disabled", "for", "hide", "pass-attrs", "required"], Ne = {
543
908
  __name: "BsLabelServer",
544
909
  props: {
545
910
  disabled: {},
@@ -549,47 +914,47 @@ const ie = ["controlled", "icon", "header-text", "heading-level", "open-item", "
549
914
  required: {}
550
915
  },
551
916
  emits: [],
552
- setup(s, { emit: v }) {
553
- const o = f(!1), e = f(null), a = f(""), r = R([]), n = f(null), i = (t, d = 0) => {
554
- var l, p;
555
- e.value || d >= 4 || (e.value = (p = (l = t.value) == null ? void 0 : l.querySelector) == null ? void 0 : p.call(l, "[data-slot]"), e.value || r.push(setTimeout(() => i(t, d + 1), 50)));
917
+ setup(e, { emit: r }) {
918
+ const a = b(!1), t = b(null), s = b(""), i = S([]), c = b(null), f = (l, m = 0) => {
919
+ var u, v;
920
+ t.value || m >= 4 || (t.value = (v = (u = l.value) == null ? void 0 : u.querySelector) == null ? void 0 : v.call(u, "[data-slot]"), t.value || i.push(setTimeout(() => f(l, m + 1), 50)));
556
921
  };
557
- return C(() => i(n, 0)), L(e, (t) => {
558
- !t || o.value || (M(e), r.push(setTimeout(() => {
559
- N(e), E(() => {
560
- a.value = customElements.get("bs-label") ? "hydrated superhydrated" : "superhydrated";
922
+ return I(() => f(c, 0)), q(t, (l) => {
923
+ !l || a.value || (W(t), i.push(setTimeout(() => {
924
+ O(t), V(() => {
925
+ s.value = customElements.get("bs-label") ? "hydrated superhydrated" : "superhydrated";
561
926
  });
562
- }, 100)), o.value = !0);
563
- }, { immediate: !0 }), I(() => r.forEach((t) => clearTimeout(t))), (t, d) => (u(), $(P, null, [
564
- e.value ? (u(), m(y(k), { key: 0 }, {
565
- default: B(() => [
566
- (u(), m(q, { to: e.value }, [
567
- h(t.$slots, "default")
927
+ }, 100)), a.value = !0);
928
+ }, { immediate: !0 }), C(() => i.forEach((l) => clearTimeout(l))), (l, m) => (n(), o(L, null, [
929
+ t.value ? (n(), $(B(w), { key: 0 }, {
930
+ default: g(() => [
931
+ (n(), $(R, { to: t.value }, [
932
+ h(l.$slots, "default")
568
933
  ], 8, ["to"]))
569
934
  ]),
570
935
  _: 3
571
- })) : W("", !0),
572
- _("bs-label", g({
936
+ })) : z("", !0),
937
+ P("bs-label", d({
573
938
  ref_key: "wcRef",
574
- ref: n,
575
- class: a.value,
939
+ ref: c,
940
+ class: s.value,
576
941
  "data-bsds-ssr": "",
577
- disabled: s.disabled,
578
- for: s.for,
579
- hide: s.hide,
580
- "pass-attrs": s.passAttrs,
581
- required: s.required
582
- }, t.$attrs), [
583
- O(y(k), null, {
584
- fallback: B(() => [
585
- h(t.$slots, "default")
942
+ disabled: e.disabled,
943
+ for: e.for,
944
+ hide: e.hide,
945
+ "pass-attrs": e.passAttrs,
946
+ required: e.required
947
+ }, l.$attrs), [
948
+ x(B(w), null, {
949
+ fallback: g(() => [
950
+ h(l.$slots, "default")
586
951
  ]),
587
952
  _: 3
588
953
  })
589
- ], 16, be)
954
+ ], 16, je)
590
955
  ], 64));
591
956
  }
592
- }, ye = "bs-label", rt = {
957
+ }, Fe = "bs-label", Ct = {
593
958
  __name: "BsLabel",
594
959
  props: {
595
960
  disabled: {},
@@ -599,21 +964,21 @@ const ie = ["controlled", "icon", "header-text", "heading-level", "open-item", "
599
964
  required: {}
600
965
  },
601
966
  emits: [],
602
- setup(s, { emit: v }) {
603
- const o = s, { data: e } = V(ye, () => {
967
+ setup(e, { emit: r }) {
968
+ const a = e, { data: t } = E(Fe, () => {
604
969
  if (process.server)
605
970
  return !0;
606
971
  });
607
- return (a, r) => y(e) ? (u(), m(me, T(g({ key: 0 }, { ...o, ...a.$attrs })), {
608
- default: B(() => [
609
- h(a.$slots, "default")
972
+ return (s, i) => B(t) ? (n(), $(Ne, p(d({ key: 0 }, { ...a, ...s.$attrs })), {
973
+ default: g(() => [
974
+ h(s.$slots, "default")
610
975
  ]),
611
976
  _: 3
612
- }, 16)) : (u(), $("bs-label", T(g({ key: 1 }, { ...o, ...a.$attrs })), [
613
- h(a.$slots, "default")
977
+ }, 16)) : (n(), o("bs-label", p(d({ key: 1 }, { ...a, ...s.$attrs })), [
978
+ h(s.$slots, "default")
614
979
  ], 16));
615
980
  }
616
- }, Be = ["variant", "status", "href", "active", "disabled", "pass-attrs"], ge = {
981
+ }, He = ["variant", "status", "href", "active", "disabled", "pass-attrs"], Ge = {
617
982
  __name: "BsPillServer",
618
983
  props: {
619
984
  variant: {},
@@ -624,48 +989,48 @@ const ie = ["controlled", "icon", "header-text", "heading-level", "open-item", "
624
989
  passAttrs: { default: "" }
625
990
  },
626
991
  emits: [],
627
- setup(s, { emit: v }) {
628
- const o = f(!1), e = f(null), a = f(""), r = R([]), n = f(null), i = (t, d = 0) => {
629
- var l, p;
630
- e.value || d >= 4 || (e.value = (p = (l = t.value) == null ? void 0 : l.querySelector) == null ? void 0 : p.call(l, "[data-slot]"), e.value || r.push(setTimeout(() => i(t, d + 1), 50)));
992
+ setup(e, { emit: r }) {
993
+ const a = b(!1), t = b(null), s = b(""), i = S([]), c = b(null), f = (l, m = 0) => {
994
+ var u, v;
995
+ t.value || m >= 4 || (t.value = (v = (u = l.value) == null ? void 0 : u.querySelector) == null ? void 0 : v.call(u, "[data-slot]"), t.value || i.push(setTimeout(() => f(l, m + 1), 50)));
631
996
  };
632
- return C(() => i(n, 0)), L(e, (t) => {
633
- !t || o.value || (M(e), r.push(setTimeout(() => {
634
- N(e), E(() => {
635
- a.value = customElements.get("bs-pill") ? "hydrated superhydrated" : "superhydrated";
997
+ return I(() => f(c, 0)), q(t, (l) => {
998
+ !l || a.value || (W(t), i.push(setTimeout(() => {
999
+ O(t), V(() => {
1000
+ s.value = customElements.get("bs-pill") ? "hydrated superhydrated" : "superhydrated";
636
1001
  });
637
- }, 100)), o.value = !0);
638
- }, { immediate: !0 }), I(() => r.forEach((t) => clearTimeout(t))), (t, d) => (u(), $(P, null, [
639
- e.value ? (u(), m(y(k), { key: 0 }, {
640
- default: B(() => [
641
- (u(), m(q, { to: e.value }, [
642
- h(t.$slots, "default")
1002
+ }, 100)), a.value = !0);
1003
+ }, { immediate: !0 }), C(() => i.forEach((l) => clearTimeout(l))), (l, m) => (n(), o(L, null, [
1004
+ t.value ? (n(), $(B(w), { key: 0 }, {
1005
+ default: g(() => [
1006
+ (n(), $(R, { to: t.value }, [
1007
+ h(l.$slots, "default")
643
1008
  ], 8, ["to"]))
644
1009
  ]),
645
1010
  _: 3
646
- })) : W("", !0),
647
- _("bs-pill", g({
1011
+ })) : z("", !0),
1012
+ P("bs-pill", d({
648
1013
  ref_key: "wcRef",
649
- ref: n,
650
- class: a.value,
1014
+ ref: c,
1015
+ class: s.value,
651
1016
  "data-bsds-ssr": "",
652
- variant: s.variant,
653
- status: s.status,
654
- href: s.href,
655
- active: s.active,
656
- disabled: s.disabled,
657
- "pass-attrs": s.passAttrs
658
- }, t.$attrs), [
659
- O(y(k), null, {
660
- fallback: B(() => [
661
- h(t.$slots, "default")
1017
+ variant: e.variant,
1018
+ status: e.status,
1019
+ href: e.href,
1020
+ active: e.active,
1021
+ disabled: e.disabled,
1022
+ "pass-attrs": e.passAttrs
1023
+ }, l.$attrs), [
1024
+ x(B(w), null, {
1025
+ fallback: g(() => [
1026
+ h(l.$slots, "default")
662
1027
  ]),
663
1028
  _: 3
664
1029
  })
665
- ], 16, Be)
1030
+ ], 16, He)
666
1031
  ], 64));
667
1032
  }
668
- }, ke = "bs-pill", ot = {
1033
+ }, Xe = "bs-pill", Lt = {
669
1034
  __name: "BsPill",
670
1035
  props: {
671
1036
  variant: {},
@@ -676,21 +1041,21 @@ const ie = ["controlled", "icon", "header-text", "heading-level", "open-item", "
676
1041
  passAttrs: { default: "" }
677
1042
  },
678
1043
  emits: [],
679
- setup(s, { emit: v }) {
680
- const o = s, { data: e } = V(ke, () => {
1044
+ setup(e, { emit: r }) {
1045
+ const a = e, { data: t } = E(Xe, () => {
681
1046
  if (process.server)
682
1047
  return !0;
683
1048
  });
684
- return (a, r) => y(e) ? (u(), m(ge, T(g({ key: 0 }, { ...o, ...a.$attrs })), {
685
- default: B(() => [
686
- h(a.$slots, "default")
1049
+ return (s, i) => B(t) ? (n(), $(Ge, p(d({ key: 0 }, { ...a, ...s.$attrs })), {
1050
+ default: g(() => [
1051
+ h(s.$slots, "default")
687
1052
  ]),
688
1053
  _: 3
689
- }, 16)) : (u(), $("bs-pill", T(g({ key: 1 }, { ...o, ...a.$attrs })), [
690
- h(a.$slots, "default")
1054
+ }, 16)) : (n(), o("bs-pill", p(d({ key: 1 }, { ...a, ...s.$attrs })), [
1055
+ h(s.$slots, "default")
691
1056
  ], 16));
692
1057
  }
693
- }, $e = ["disabled", "required", "error", "hint-id", "value", "pass-attrs"], Se = {
1058
+ }, Ye = ["disabled", "required", "error", "hint-id", "value", "pass-attrs"], Ue = {
694
1059
  __name: "BsSelectServer",
695
1060
  props: {
696
1061
  disabled: { default: !1 },
@@ -701,48 +1066,48 @@ const ie = ["controlled", "icon", "header-text", "heading-level", "open-item", "
701
1066
  passAttrs: { default: "" }
702
1067
  },
703
1068
  emits: [],
704
- setup(s, { emit: v }) {
705
- const o = f(!1), e = f(null), a = f(""), r = R([]), n = f(null), i = (t, d = 0) => {
706
- var l, p;
707
- e.value || d >= 4 || (e.value = (p = (l = t.value) == null ? void 0 : l.querySelector) == null ? void 0 : p.call(l, "[data-slot]"), e.value || r.push(setTimeout(() => i(t, d + 1), 50)));
1069
+ setup(e, { emit: r }) {
1070
+ const a = b(!1), t = b(null), s = b(""), i = S([]), c = b(null), f = (l, m = 0) => {
1071
+ var u, v;
1072
+ t.value || m >= 4 || (t.value = (v = (u = l.value) == null ? void 0 : u.querySelector) == null ? void 0 : v.call(u, "[data-slot]"), t.value || i.push(setTimeout(() => f(l, m + 1), 50)));
708
1073
  };
709
- return C(() => i(n, 0)), L(e, (t) => {
710
- !t || o.value || (M(e), r.push(setTimeout(() => {
711
- N(e), E(() => {
712
- a.value = customElements.get("bs-select") ? "hydrated superhydrated" : "superhydrated";
1074
+ return I(() => f(c, 0)), q(t, (l) => {
1075
+ !l || a.value || (W(t), i.push(setTimeout(() => {
1076
+ O(t), V(() => {
1077
+ s.value = customElements.get("bs-select") ? "hydrated superhydrated" : "superhydrated";
713
1078
  });
714
- }, 100)), o.value = !0);
715
- }, { immediate: !0 }), I(() => r.forEach((t) => clearTimeout(t))), (t, d) => (u(), $(P, null, [
716
- e.value ? (u(), m(y(k), { key: 0 }, {
717
- default: B(() => [
718
- (u(), m(q, { to: e.value }, [
719
- h(t.$slots, "default")
1079
+ }, 100)), a.value = !0);
1080
+ }, { immediate: !0 }), C(() => i.forEach((l) => clearTimeout(l))), (l, m) => (n(), o(L, null, [
1081
+ t.value ? (n(), $(B(w), { key: 0 }, {
1082
+ default: g(() => [
1083
+ (n(), $(R, { to: t.value }, [
1084
+ h(l.$slots, "default")
720
1085
  ], 8, ["to"]))
721
1086
  ]),
722
1087
  _: 3
723
- })) : W("", !0),
724
- _("bs-select", g({
1088
+ })) : z("", !0),
1089
+ P("bs-select", d({
725
1090
  ref_key: "wcRef",
726
- ref: n,
727
- class: a.value,
1091
+ ref: c,
1092
+ class: s.value,
728
1093
  "data-bsds-ssr": "",
729
- disabled: s.disabled,
730
- required: s.required,
731
- error: s.error,
732
- "hint-id": s.hintId,
733
- value: s.value,
734
- "pass-attrs": s.passAttrs
735
- }, t.$attrs), [
736
- O(y(k), null, {
737
- fallback: B(() => [
738
- h(t.$slots, "default")
1094
+ disabled: e.disabled,
1095
+ required: e.required,
1096
+ error: e.error,
1097
+ "hint-id": e.hintId,
1098
+ value: e.value,
1099
+ "pass-attrs": e.passAttrs
1100
+ }, l.$attrs), [
1101
+ x(B(w), null, {
1102
+ fallback: g(() => [
1103
+ h(l.$slots, "default")
739
1104
  ]),
740
1105
  _: 3
741
1106
  })
742
- ], 16, $e)
1107
+ ], 16, Ye)
743
1108
  ], 64));
744
1109
  }
745
- }, Te = "bs-select", lt = {
1110
+ }, Ze = "bs-select", Rt = {
746
1111
  __name: "BsSelect",
747
1112
  props: {
748
1113
  disabled: { default: !1 },
@@ -753,58 +1118,59 @@ const ie = ["controlled", "icon", "header-text", "heading-level", "open-item", "
753
1118
  passAttrs: { default: "" }
754
1119
  },
755
1120
  emits: [],
756
- setup(s, { emit: v }) {
757
- const o = s, { data: e } = V(Te, () => {
1121
+ setup(e, { emit: r }) {
1122
+ const a = e, { data: t } = E(Ze, () => {
758
1123
  if (process.server)
759
1124
  return !0;
760
1125
  });
761
- return (a, r) => y(e) ? (u(), m(Se, T(g({ key: 0 }, { ...o, ...a.$attrs })), {
762
- default: B(() => [
763
- h(a.$slots, "default")
1126
+ return (s, i) => B(t) ? (n(), $(Ue, p(d({ key: 0 }, { ...a, ...s.$attrs })), {
1127
+ default: g(() => [
1128
+ h(s.$slots, "default")
764
1129
  ]),
765
1130
  _: 3
766
- }, 16)) : (u(), $("bs-select", T(g({ key: 1 }, { ...o, ...a.$attrs })), [
767
- h(a.$slots, "default")
1131
+ }, 16)) : (n(), o("bs-select", p(d({ key: 1 }, { ...a, ...s.$attrs })), [
1132
+ h(s.$slots, "default")
768
1133
  ], 16));
769
1134
  }
770
1135
  };
771
1136
  export {
772
- tt as BsAccordion,
773
- de as BsAccordionServer,
774
- Le as BsBadge,
775
- st as BsBanner,
776
- ce as BsBannerServer,
777
- at as BsButton,
778
- he as BsButtonServer,
779
- Ee as BsCharacterCount,
780
- Ie as BsChartBar,
781
- Pe as BsChartTable,
782
- qe as BsCheckbox,
783
- We as BsDropdown,
784
- _e as BsDropdownOption,
785
- Oe as BsDropdownOptions,
786
- Ve as BsFieldLayout,
787
- Me as BsHint,
788
- Ne as BsInput,
789
- ze as BsInputAddon,
790
- De as BsInputField,
791
- Fe as BsInputSearch,
792
- rt as BsLabel,
793
- me as BsLabelServer,
794
- ot as BsPill,
795
- ge as BsPillServer,
796
- He as BsProfile,
797
- je as BsProfileDetails,
798
- Ge as BsProfileImg,
799
- Ue as BsProfileLayout,
800
- Xe as BsRadio,
801
- lt as BsSelect,
802
- Ye as BsSelectField,
803
- Se as BsSelectServer,
804
- Ke as BsSwitch,
805
- Ze as BsTextarea,
806
- Je as BsTextareaField,
807
- Qe as BsToast,
808
- xe as BsToaster,
809
- et as BsTooltip
1137
+ It as BsAccordion,
1138
+ Pe as BsAccordionServer,
1139
+ at as BsBadge,
1140
+ qt as BsBanner,
1141
+ Ee as BsBannerServer,
1142
+ Vt as BsButton,
1143
+ De as BsButtonServer,
1144
+ st as BsCharacterCount,
1145
+ lt as BsChartBar,
1146
+ rt as BsChartTable,
1147
+ nt as BsCheckbox,
1148
+ it as BsCircleButton,
1149
+ dt as BsDropdown,
1150
+ ot as BsDropdownOption,
1151
+ ut as BsDropdownOptions,
1152
+ ct as BsFieldLayout,
1153
+ ft as BsHint,
1154
+ ht as BsInput,
1155
+ et as BsInputAddon,
1156
+ mt as BsInputField,
1157
+ bt as BsInputSearch,
1158
+ Ct as BsLabel,
1159
+ Ne as BsLabelServer,
1160
+ Lt as BsPill,
1161
+ Ge as BsPillServer,
1162
+ vt as BsProfile,
1163
+ yt as BsProfileDetails,
1164
+ $t as BsProfileImg,
1165
+ Bt as BsProfileLayout,
1166
+ gt as BsRadio,
1167
+ Rt as BsSelect,
1168
+ wt as BsSelectField,
1169
+ Ue as BsSelectServer,
1170
+ kt as BsSwitch,
1171
+ pt as BsTextarea,
1172
+ At as BsTextareaField,
1173
+ Tt as BsToast,
1174
+ tt as BsToaster,
1175
+ St as BsTooltip
810
1176
  };