test-bentoweb-ui 1.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/README.md +29 -0
  2. package/dist/bentoweb-ui.css +1 -0
  3. package/dist/bentoweb-ui.es.js +628 -0
  4. package/dist/bentoweb-ui.umd.js +5 -0
  5. package/dist/favicon.ico +0 -0
  6. package/dist/images/icon_shopee.svg +10 -0
  7. package/dist/images/platform-btw.jpg +0 -0
  8. package/dist/images/t-shirt.jpg +0 -0
  9. package/dist/images/vdo.jpg +0 -0
  10. package/dist/img/bento-logo.svg +18 -0
  11. package/dist/img/delivery/cj.svg +13 -0
  12. package/dist/img/delivery/cod.svg +30 -0
  13. package/dist/img/delivery/d-jandt.svg +13 -0
  14. package/dist/img/delivery/d-kerry.svg +16 -0
  15. package/dist/img/delivery/d-thaipost.svg +8 -0
  16. package/dist/img/delivery/delivery-other.svg +9 -0
  17. package/dist/img/delivery/dhl.svg +23 -0
  18. package/dist/img/delivery/flash.svg +31 -0
  19. package/dist/img/delivery/other.svg +9 -0
  20. package/dist/img/delivery/scg.svg +67 -0
  21. package/dist/img/delivery/thaipost.svg +16 -0
  22. package/dist/img/icon-pack.svg +3 -0
  23. package/dist/img/icon-save-pack.svg +4 -0
  24. package/dist/img/icon-scan.svg +16 -0
  25. package/dist/img/icon-stockbox.svg +4 -0
  26. package/dist/img/line-gradient.png +0 -0
  27. package/dist/img/line-gradient.svg +33 -0
  28. package/dist/img/sales-channels/sales-channels-btw.svg +11 -0
  29. package/dist/img/sales-channels/sales-channels-fbex.svg +13 -0
  30. package/dist/img/sales-channels/sales-channels-lazada.svg +26 -0
  31. package/dist/img/sales-channels/sales-channels-line.svg +12 -0
  32. package/dist/img/sales-channels/sales-channels-radars.svg +16 -0
  33. package/dist/img/sales-channels/sales-channels-shopify.svg +5 -0
  34. package/dist/img/sales-channels/sales-channels-shoppee.svg +4 -0
  35. package/dist/img/sales-channels/sales-channels-tiktok.svg +8 -0
  36. package/dist/img/sales-channels/sales-channels-zapier.svg +3 -0
  37. package/package.json +45 -0
package/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # bentoweb-ui
2
+
3
+ This template should help get you started developing with Vue 3 in Vite.
4
+
5
+ ## Recommended IDE Setup
6
+
7
+ [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
8
+
9
+ ## Customize configuration
10
+
11
+ See [Vite Configuration Reference](https://vitejs.dev/config/).
12
+
13
+ ## Project Setup
14
+
15
+ ```sh
16
+ npm install
17
+ ```
18
+
19
+ ### Compile and Hot-Reload for Development
20
+
21
+ ```sh
22
+ npm run dev
23
+ ```
24
+
25
+ ### Compile and Minify for Production
26
+
27
+ ```sh
28
+ npm run build
29
+ ```
@@ -0,0 +1 @@
1
+ .btn-success[data-v-8a6bc7dd],.btn-success[data-v-2f61fe32],.btn-success[data-v-55608666]{background-color:#0a3622}.nav-tabs .nav-link[data-v-01e864de]{cursor:pointer}
@@ -0,0 +1,628 @@
1
+ import { openBlock as a, createElementBlock as s, normalizeClass as c, renderSlot as m, inject as M, resolveComponent as N, createElementVNode as n, Fragment as f, renderList as v, unref as z, createBlock as I, withCtx as _, createCommentVNode as h, createTextVNode as b, toDisplayString as d, computed as S, ref as y, createVNode as k, createStaticVNode as j, withModifiers as G, withDirectives as L, vShow as q } from "vue";
2
+ const p = (e, r) => {
3
+ const t = e.__vccOpts || e;
4
+ for (const [u, l] of r)
5
+ t[u] = l;
6
+ return t;
7
+ }, A = {
8
+ name: "BtwBadge",
9
+ props: {
10
+ size: {
11
+ type: String,
12
+ default: null,
13
+ validator(e) {
14
+ return ["14", "16", "18"].includes(e);
15
+ }
16
+ },
17
+ variant: {
18
+ type: String,
19
+ default: null,
20
+ validator(e) {
21
+ return ["primary", "success", "secondary", "danger", "warning", "light", "dim-danger", "light-border"].includes(e);
22
+ }
23
+ },
24
+ pill: {
25
+ type: String,
26
+ default: null,
27
+ validator(e) {
28
+ return ["pill"].includes(e);
29
+ }
30
+ }
31
+ },
32
+ computed: {
33
+ sizeClass() {
34
+ return this.size ? `size${this.size}` : "";
35
+ },
36
+ pillClass() {
37
+ return this.pill ? `rounded-${this.pill}` : "";
38
+ }
39
+ }
40
+ };
41
+ function U(e, r, t, u, l, i) {
42
+ return a(), s("span", {
43
+ class: c(["badge", "text-bg-" + t.variant, i.sizeClass, i.pillClass])
44
+ }, [
45
+ m(e.$slots, "default", {}, void 0, !0)
46
+ ], 2);
47
+ }
48
+ const H = /* @__PURE__ */ p(A, [["render", U], ["__scopeId", "data-v-8a6bc7dd"]]), K = {
49
+ name: "BtwButton",
50
+ props: {
51
+ size: {
52
+ type: String,
53
+ default: null,
54
+ validator(e) {
55
+ return ["sm", "md", "lg"].includes(e);
56
+ }
57
+ },
58
+ variant: {
59
+ type: String,
60
+ default: "",
61
+ validator(e) {
62
+ return ["primary", "secondary", "success", "danger", "btn-info", "warning", "light", "disable", "outline-secondary", "outline-danger", "dim-success", "dim-danger", "link", "icon"].includes(e);
63
+ }
64
+ },
65
+ block: {
66
+ type: String,
67
+ default: null
68
+ }
69
+ },
70
+ computed: {
71
+ sizeClass() {
72
+ return this.size ? `btn-${this.size}` : "";
73
+ },
74
+ blockClass() {
75
+ return this.block ? `btn-${this.block}` : "";
76
+ }
77
+ }
78
+ };
79
+ function J(e, r, t, u, l, i) {
80
+ return a(), s("button", {
81
+ class: c(["btn", "btn-" + t.variant, i.blockClass, i.sizeClass]),
82
+ onClick: r[0] || (r[0] = (o) => e.$emit("click"))
83
+ }, [
84
+ m(e.$slots, "default")
85
+ ], 2);
86
+ }
87
+ const Q = /* @__PURE__ */ p(K, [["render", J]]);
88
+ /*!
89
+ * vue-router v4.4.3
90
+ * (c) 2024 Eduardo San Martin Morote
91
+ * @license MIT
92
+ */
93
+ var D;
94
+ (function(e) {
95
+ e.pop = "pop", e.push = "push";
96
+ })(D || (D = {}));
97
+ var P;
98
+ (function(e) {
99
+ e.back = "back", e.forward = "forward", e.unknown = "";
100
+ })(P || (P = {}));
101
+ Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
102
+ var O;
103
+ (function(e) {
104
+ e[e.aborted = 4] = "aborted", e[e.cancelled = 8] = "cancelled", e[e.duplicated = 16] = "duplicated";
105
+ })(O || (O = {}));
106
+ Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
107
+ Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
108
+ Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
109
+ const W = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
110
+ Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
111
+ function T(e) {
112
+ return M(W);
113
+ }
114
+ const X = { "aria-label": "breadcrumb" }, Y = { class: "breadcrumb" }, Z = { key: 1 }, F = {
115
+ __name: "BtwBreadcrumb",
116
+ setup(e) {
117
+ const t = T().meta.breadcrumb || [];
118
+ return (u, l) => {
119
+ const i = N("router-link");
120
+ return a(), s("nav", X, [
121
+ n("ol", Y, [
122
+ (a(!0), s(f, null, v(z(t), (o, g) => (a(), s("li", {
123
+ key: g,
124
+ class: c(["breadcrumb-item", { active: g === z(t).length - 1 }])
125
+ }, [
126
+ o.link && g !== z(t).length - 1 ? (a(), I(i, {
127
+ key: 0,
128
+ to: o.link
129
+ }, {
130
+ default: _(() => [
131
+ o.icon ? (a(), s("i", {
132
+ key: 0,
133
+ class: c(o.icon)
134
+ }, null, 2)) : h("", !0),
135
+ b(" " + d(o.name), 1)
136
+ ]),
137
+ _: 2
138
+ }, 1032, ["to"])) : (a(), s("span", Z, d(o.name), 1))
139
+ ], 2))), 128))
140
+ ])
141
+ ]);
142
+ };
143
+ }
144
+ }, ee = {
145
+ name: "Btwcard",
146
+ props: {
147
+ hideHeaderSlot: {
148
+ type: Boolean,
149
+ default: !1
150
+ },
151
+ cardHeaderClass: {
152
+ type: String,
153
+ default: "card-header border-bottom border-light py-3"
154
+ },
155
+ cardBodyClass: {
156
+ type: String,
157
+ default: "card-body p-0 "
158
+ },
159
+ border: {
160
+ type: String,
161
+ default: "white",
162
+ validator(e) {
163
+ return ["white", "light"].includes(e);
164
+ }
165
+ },
166
+ rounded: {
167
+ type: String,
168
+ default: "3",
169
+ validator(e) {
170
+ return ["2", "3", "4", "5"].includes(e);
171
+ }
172
+ },
173
+ headerBg: {
174
+ type: String,
175
+ default: "white",
176
+ validator(e) {
177
+ return ["primary", "secondary", "light", "white", "dark", "success"].includes(e);
178
+ }
179
+ },
180
+ bodyBg: {
181
+ type: String,
182
+ default: null,
183
+ validator(e) {
184
+ return ["light", "white", "dark", "success"].includes(e);
185
+ }
186
+ }
187
+ },
188
+ computed: {
189
+ bodyBgClass() {
190
+ return this.bodyBg ? `bg-${this.bodyBg}` : "";
191
+ }
192
+ }
193
+ };
194
+ function te(e, r, t, u, l, i) {
195
+ return a(), s("div", {
196
+ class: c(["card border", "border-" + t.border, "rounded-" + t.rounded])
197
+ }, [
198
+ t.hideHeaderSlot ? h("", !0) : (a(), s("div", {
199
+ key: 0,
200
+ class: c([t.cardHeaderClass, "bg-" + t.headerBg])
201
+ }, [
202
+ m(e.$slots, "card-header")
203
+ ], 2)),
204
+ n("div", {
205
+ class: c([t.cardBodyClass, i.bodyBgClass])
206
+ }, [
207
+ m(e.$slots, "card-body")
208
+ ], 2)
209
+ ], 2);
210
+ }
211
+ const ne = /* @__PURE__ */ p(ee, [["render", te]]), ae = {
212
+ name: "BtwDropdownButton",
213
+ props: {
214
+ variant: {
215
+ type: String,
216
+ default: null
217
+ },
218
+ size: {
219
+ type: String,
220
+ default: null,
221
+ validator(e) {
222
+ return ["sm", "md", "lg"].includes(e);
223
+ }
224
+ },
225
+ icon: {
226
+ type: String,
227
+ default: null
228
+ }
229
+ },
230
+ computed: {
231
+ sizeClass() {
232
+ return this.size ? `btn-${this.size}` : "";
233
+ }
234
+ }
235
+ }, se = { class: "dropdown" }, oe = {
236
+ class: "dropdown-menu",
237
+ "aria-labelledby": "dropdownMenuButton"
238
+ };
239
+ function re(e, r, t, u, l, i) {
240
+ return a(), s("div", se, [
241
+ n("button", {
242
+ class: c(["btn dropdown-toggle", ["btn-" + t.variant, i.sizeClass]]),
243
+ type: "button",
244
+ id: "dropdownMenuButton",
245
+ "data-bs-toggle": "dropdown",
246
+ "aria-expanded": "false"
247
+ }, [
248
+ t.icon ? (a(), s("i", {
249
+ key: 0,
250
+ class: c(t.icon)
251
+ }, null, 2)) : h("", !0),
252
+ e.$slots["button-content"] ? (a(), s("div", {
253
+ key: 1,
254
+ class: c(t.icon ? "me-2" : "")
255
+ }, [
256
+ m(e.$slots, "button-content")
257
+ ], 2)) : h("", !0)
258
+ ], 2),
259
+ n("ul", oe, [
260
+ m(e.$slots, "default")
261
+ ])
262
+ ]);
263
+ }
264
+ const C = /* @__PURE__ */ p(ae, [["render", re]]), ie = { class: "border-bottom bg-white py-10" }, le = { class: "container-fluid d-flex justify-content-between" }, de = { class: "d-flex align-items-center" }, ce = { class: "ms-2" }, ue = ["src"], ge = { class: "d-flex align-items-end align-items-stretch" }, me = ["href"], _e = {
265
+ __name: "BtwHeader",
266
+ setup(e) {
267
+ const r = T(), t = S(() => r.name === "dashboard" ? "danger" : "disabled"), u = S(() => r.name === "dashboard" ? "outline-success" : "outline-danger"), l = S(() => r.name === "dashboard" ? "2000 Parcel" : "-50 Parcel"), i = y("../img/bento-logo.svg"), o = y("ณัฐนันท์"), g = y([
268
+ { link: "#", name: "บัญชีของฉัน" },
269
+ { link: "#", name: "ออกจากระบบ" }
270
+ ]), B = y("30"), w = y([
271
+ { page: "/messagebox", name: "Booking failed" },
272
+ { page: "/messagebox", name: "ออเดอร์ที่มีปัญหา" }
273
+ ]);
274
+ return (E, V) => {
275
+ const R = N("router-link");
276
+ return a(), s("header", ie, [
277
+ n("div", le, [
278
+ n("div", de, [
279
+ n("div", ce, [
280
+ n("img", {
281
+ src: i.value,
282
+ alt: "Logo",
283
+ height: "40"
284
+ }, null, 8, ue)
285
+ ])
286
+ ]),
287
+ n("div", ge, [
288
+ k(H, {
289
+ size: "18",
290
+ class: "me-2",
291
+ variant: u.value
292
+ }, {
293
+ default: _(() => [
294
+ V[0] || (V[0] = n("i", { class: "icon-wallet me-2" }, null, -1)),
295
+ b(d(l.value), 1)
296
+ ]),
297
+ _: 1
298
+ }, 8, ["variant"]),
299
+ k(C, {
300
+ variant: t.value,
301
+ icon: "icon-ntfy",
302
+ class: "me-2"
303
+ }, {
304
+ "button-content": _(() => [
305
+ b(d(B.value), 1)
306
+ ]),
307
+ default: _(() => [
308
+ (a(!0), s(f, null, v(w.value, ($, x) => (a(), s("li", { key: x }, [
309
+ k(R, {
310
+ to: $.page,
311
+ class: "dropdown-item"
312
+ }, {
313
+ default: _(() => [
314
+ b(d($.name), 1)
315
+ ]),
316
+ _: 2
317
+ }, 1032, ["to"])
318
+ ]))), 128))
319
+ ]),
320
+ _: 1
321
+ }, 8, ["variant"]),
322
+ k(C, {
323
+ variant: "light",
324
+ icon: "icon-user"
325
+ }, {
326
+ "button-content": _(() => [
327
+ b(d(o.value), 1)
328
+ ]),
329
+ default: _(() => [
330
+ (a(!0), s(f, null, v(g.value, ($, x) => (a(), s("li", { key: x }, [
331
+ n("a", {
332
+ class: "dropdown-item",
333
+ href: $.link
334
+ }, d($.name), 9, me)
335
+ ]))), 128))
336
+ ]),
337
+ _: 1
338
+ })
339
+ ])
340
+ ])
341
+ ]);
342
+ };
343
+ }
344
+ }, be = {
345
+ key: 0,
346
+ class: "modal",
347
+ tabindex: "-1",
348
+ role: "dialog"
349
+ }, fe = { class: "modal-content" }, ve = {
350
+ key: 0,
351
+ class: "modal-header"
352
+ }, he = { class: "modal-title" }, pe = { class: "d-flex justify-content-end align-items-center" }, we = { class: "modal-body" }, ye = /* @__PURE__ */ Object.assign({
353
+ name: "BtwModal"
354
+ }, {
355
+ __name: "BtwModal",
356
+ props: {
357
+ //visible: Boolean, // Boolean prop to control visibility
358
+ id: String,
359
+ activeId: String,
360
+ size: {
361
+ type: String,
362
+ default: "md",
363
+ validator(e) {
364
+ return ["sm", "md", "lg"].includes(e);
365
+ }
366
+ },
367
+ hideHeaderSlot: {
368
+ type: Boolean,
369
+ default: !1
370
+ }
371
+ },
372
+ emits: ["close"],
373
+ setup(e, { emit: r }) {
374
+ const t = e, u = S(() => t.id === t.activeId);
375
+ return (l, i) => u.value ? (a(), s("div", be, [
376
+ n("div", {
377
+ class: c(["modal-dialog", "modal-" + e.size])
378
+ }, [
379
+ n("div", fe, [
380
+ e.hideHeaderSlot ? h("", !0) : (a(), s("div", ve, [
381
+ n("h5", he, [
382
+ m(l.$slots, "modal-title")
383
+ ]),
384
+ n("div", pe, [
385
+ m(l.$slots, "modal-close"),
386
+ n("button", {
387
+ type: "button",
388
+ class: "btn-close",
389
+ onClick: i[0] || (i[0] = (o) => l.$emit("close")),
390
+ "aria-label": "Close"
391
+ })
392
+ ])
393
+ ])),
394
+ n("div", we, [
395
+ m(l.$slots, "modal-body")
396
+ ])
397
+ ])
398
+ ], 2)
399
+ ])) : h("", !0);
400
+ }
401
+ }), $e = {
402
+ name: "BtwPagination",
403
+ props: {
404
+ size: {
405
+ type: String,
406
+ default: "md",
407
+ validator(e) {
408
+ return ["sm", "md", "lg"].includes(e);
409
+ }
410
+ }
411
+ }
412
+ };
413
+ function ke(e, r, t, u, l, i) {
414
+ return a(), s("nav", null, [
415
+ n("ul", {
416
+ class: c(["pagination", "pagination-" + t.size])
417
+ }, r[0] || (r[0] = [
418
+ j('<li class="page-item disabled" data-v-2f61fe32><a class="page-link" data-v-2f61fe32>Previous</a></li><li class="page-item active" data-v-2f61fe32><a class="page-link" href="#" data-v-2f61fe32>1</a></li><li class="page-item" data-v-2f61fe32><a class="page-link" href="#" data-v-2f61fe32>2</a></li><li class="page-item" data-v-2f61fe32><a class="page-link" href="#" data-v-2f61fe32>3</a></li><li class="page-item" data-v-2f61fe32><a class="page-link" href="#" data-v-2f61fe32>Next</a></li>', 5)
419
+ ]), 2)
420
+ ]);
421
+ }
422
+ const Be = /* @__PURE__ */ p($e, [["render", ke], ["__scopeId", "data-v-2f61fe32"]]), Se = { class: "btw-sidebar bg-white px-3 py-4" }, xe = { class: "list-unstyled mb-0" }, ze = { class: "btw-links-heading py-3" }, Ce = { class: "list-unstyled" }, Ne = {
423
+ __name: "BtwSidebar",
424
+ setup(e) {
425
+ const r = T(), t = y([
426
+ {
427
+ heading: "Packing",
428
+ sidebarSubGroup: [
429
+ { to: "/", icon: "home", text: "Dashboard", activeRoutes: ["dashboard"] },
430
+ { to: "/packing", icon: "print-2", text: "แพ็ค", activeRoutes: ["packing", "createpickslip"] },
431
+ { to: "/orders", icon: "doc", text: "ออเดอร์", activeRoutes: ["orders"] },
432
+ { to: "/task", icon: "upload", text: "Task", activeRoutes: ["task", "taskid"] }
433
+ ]
434
+ },
435
+ {
436
+ heading: "เตรียมการจัดการ",
437
+ sidebarSubGroup: [
438
+ { to: "/boxs", icon: "box", text: "กล่อง", activeRoutes: ["boxs"] },
439
+ { to: "/orderspattern", icon: "box", text: "Order Pattern", activeRoutes: ["orderspattern", "orderspatternid", "orderspatternadd", "orderspatternedit"] },
440
+ { to: "/privacy", icon: "setting", text: "นโยบาย", activeRoutes: ["privacy"] }
441
+ ]
442
+ }
443
+ ]);
444
+ function u(l) {
445
+ return l.activeRoutes.includes(r.name);
446
+ }
447
+ return (l, i) => {
448
+ const o = N("router-link");
449
+ return a(), s("aside", Se, [
450
+ n("ul", xe, [
451
+ (a(!0), s(f, null, v(t.value, (g, B) => (a(), s("li", {
452
+ class: "btw-link-group",
453
+ key: B
454
+ }, [
455
+ n("strong", ze, d(g.heading), 1),
456
+ n("ul", Ce, [
457
+ (a(!0), s(f, null, v(g.sidebarSubGroup, (w, E) => (a(), s("li", { key: E }, [
458
+ k(o, {
459
+ to: w.to,
460
+ "exact-active-class": "active",
461
+ class: c(["btw-links-link", { active: u(w) }])
462
+ }, {
463
+ default: _(() => [
464
+ n("i", {
465
+ class: c(["me-2", ["icon-" + w.icon]])
466
+ }, null, 2),
467
+ b(" " + d(w.text), 1)
468
+ ]),
469
+ _: 2
470
+ }, 1032, ["to", "class"])
471
+ ]))), 128))
472
+ ])
473
+ ]))), 128))
474
+ ])
475
+ ]);
476
+ };
477
+ }
478
+ }, Te = {
479
+ name: "BtwBadge",
480
+ props: {
481
+ size: {
482
+ type: String,
483
+ default: null,
484
+ validator(e) {
485
+ return ["sm", "md", "lg"].includes(e);
486
+ }
487
+ },
488
+ variant: {
489
+ type: String,
490
+ default: null,
491
+ validator(e) {
492
+ return ["primary", "success", "secondary", "danger", "warning", "light"].includes(e);
493
+ }
494
+ }
495
+ }
496
+ };
497
+ function Ee(e, r, t, u, l, i) {
498
+ return a(), s("span", {
499
+ class: c(["badge rounded-pill", "text-bg-" + t.variant, "size-" + t.size])
500
+ }, [
501
+ m(e.$slots, "default", {}, void 0, !0)
502
+ ], 2);
503
+ }
504
+ const Ve = /* @__PURE__ */ p(Te, [["render", Ee], ["__scopeId", "data-v-55608666"]]), De = {
505
+ name: "Btwcard",
506
+ props: {
507
+ titlePage: {
508
+ type: String,
509
+ required: !0
510
+ },
511
+ selectedTab: {
512
+ type: String,
513
+ default: null
514
+ // Initially selected tab passed from parent
515
+ },
516
+ tabs: {
517
+ type: Array,
518
+ required: !0
519
+ // Array of tab objects passed from parent
520
+ },
521
+ contentTab: {
522
+ type: String,
523
+ default: "mt-4"
524
+ }
525
+ },
526
+ methods: {
527
+ selectTab(e) {
528
+ this.$emit("update:selectedTab", e);
529
+ }
530
+ }
531
+ }, Pe = { class: "card border border-white p-3" }, Oe = { class: "topic-normal mb-3" }, He = { class: "nav nav-tabs" }, Re = ["onClick"], Me = { class: "nav-text size25 fw-bold" }, Ie = {
532
+ key: 0,
533
+ class: "text-muted size18"
534
+ }, je = { class: "size40 fw-bolder" }, Ge = { class: "tab-content" };
535
+ function Le(e, r, t, u, l, i) {
536
+ return a(), s("div", null, [
537
+ n("div", Pe, [
538
+ n("h1", Oe, [
539
+ m(e.$slots, "topbar-title", {}, () => [
540
+ b(d(t.titlePage), 1)
541
+ ], !0)
542
+ ]),
543
+ n("ul", He, [
544
+ (a(!0), s(f, null, v(t.tabs, (o, g) => (a(), s("li", {
545
+ key: g,
546
+ class: "nav-item"
547
+ }, [
548
+ n("a", {
549
+ class: c(["nav-link rounded-3", { active: t.selectedTab === o.name }]),
550
+ href: "#",
551
+ onClick: G((B) => i.selectTab(o.name), ["prevent"])
552
+ }, [
553
+ n("div", Me, [
554
+ b(d(o.label) + " ", 1),
555
+ o.labelSub ? (a(), s("div", Ie, d(o.labelSub), 1)) : h("", !0)
556
+ ]),
557
+ n("div", je, d(o.number), 1)
558
+ ], 10, Re)
559
+ ]))), 128))
560
+ ])
561
+ ]),
562
+ n("div", {
563
+ class: c([t.contentTab])
564
+ }, [
565
+ n("div", Ge, [
566
+ (a(!0), s(f, null, v(t.tabs, (o, g) => L((a(), s("div", { key: g }, [
567
+ m(e.$slots, o.name, {}, void 0, !0)
568
+ ])), [
569
+ [q, t.selectedTab === o.name]
570
+ ])), 128))
571
+ ])
572
+ ], 2)
573
+ ]);
574
+ }
575
+ const qe = /* @__PURE__ */ p(De, [["render", Le], ["__scopeId", "data-v-01e864de"]]), Ae = { class: "switches-container" }, Ue = ["id", "name", "value"], Ke = ["id", "name", "value"], Je = ["for"], Qe = ["for"], We = { class: "switch-wrapper" }, Xe = { class: "switch" }, Ye = /* @__PURE__ */ Object.assign({
576
+ name: "BtwToggleSwitch"
577
+ }, {
578
+ __name: "BtwToggleSwitch",
579
+ props: {
580
+ toggle1: String,
581
+ toggle2: String,
582
+ name: String
583
+ },
584
+ setup(e) {
585
+ return (r, t) => (a(), s("div", Ae, [
586
+ n("input", {
587
+ type: "radio",
588
+ id: e.toggle1,
589
+ name: e.name,
590
+ value: e.toggle1,
591
+ checked: "checked"
592
+ }, null, 8, Ue),
593
+ n("input", {
594
+ type: "radio",
595
+ id: e.toggle2,
596
+ name: e.name,
597
+ value: e.toggle2
598
+ }, null, 8, Ke),
599
+ n("label", { for: e.toggle1 }, d(e.toggle1), 9, Je),
600
+ n("label", { for: e.toggle2 }, d(e.toggle2), 9, Qe),
601
+ n("div", We, [
602
+ n("div", Xe, [
603
+ n("div", null, d(e.toggle1), 1),
604
+ n("div", null, d(e.toggle2), 1)
605
+ ])
606
+ ])
607
+ ]));
608
+ }
609
+ }), Fe = {
610
+ install(e) {
611
+ e.component("BtwBadge", H), e.component("BtwButton", Q), e.component("BtwBreadcrumb", F), e.component("BtwCard", ne), e.component("BtwDropdownButton", C), e.component("BtwHeader", _e), e.component("BtwModal", ye), e.component("BtwPagination", Be), e.component("BtwSidebar", Ne), e.component("BtwTable", Ve), e.component("BtwTabs", qe), e.component("BtwToggleSwitch", Ye);
612
+ }
613
+ };
614
+ export {
615
+ H as BtwBadge,
616
+ F as BtwBreadcrumb,
617
+ Q as BtwButton,
618
+ ne as BtwCard,
619
+ C as BtwDropdownButton,
620
+ _e as BtwHeader,
621
+ ye as BtwModal,
622
+ Be as BtwPagination,
623
+ Ne as BtwSidebar,
624
+ Ve as BtwTable,
625
+ qe as BtwTabs,
626
+ Ye as BtwToggleSwitch,
627
+ Fe as default
628
+ };