vlite3 0.4.8 → 0.5.2
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/README.md +201 -100
- package/_virtual/Barcode.js +4 -0
- package/_virtual/CODE128.js +4 -0
- package/_virtual/CODE128A.js +4 -0
- package/_virtual/CODE128B.js +4 -0
- package/_virtual/CODE128C.js +4 -0
- package/_virtual/CODE128_AUTO.js +4 -0
- package/_virtual/CODE93.js +4 -0
- package/_virtual/CODE93FullASCII.js +4 -0
- package/_virtual/EAN.js +4 -0
- package/_virtual/EAN13.js +4 -0
- package/_virtual/EAN2.js +4 -0
- package/_virtual/EAN5.js +4 -0
- package/_virtual/EAN8.js +4 -0
- package/_virtual/ErrorHandler.js +4 -0
- package/_virtual/FileSaver.min.js +5 -0
- package/_virtual/FileSaver.min2.js +4 -0
- package/_virtual/ITF.js +4 -0
- package/_virtual/ITF14.js +4 -0
- package/_virtual/JsBarcode.js +7 -0
- package/_virtual/MSI.js +4 -0
- package/_virtual/MSI10.js +4 -0
- package/_virtual/MSI1010.js +4 -0
- package/_virtual/MSI11.js +4 -0
- package/_virtual/MSI1110.js +4 -0
- package/_virtual/UPC.js +4 -0
- package/_virtual/UPCE.js +4 -0
- package/_virtual/_commonjsHelpers.js +8 -0
- package/_virtual/alignment-pattern.js +4 -0
- package/_virtual/auto.js +4 -0
- package/_virtual/browser.js +7 -0
- package/_virtual/browser2.js +4 -0
- package/_virtual/canvas.js +4 -0
- package/_virtual/canvas2.js +4 -0
- package/_virtual/checksums.js +4 -0
- package/_virtual/constants.js +4 -0
- package/_virtual/constants2.js +4 -0
- package/_virtual/constants3.js +4 -0
- package/_virtual/constants4.js +4 -0
- package/_virtual/defaults.js +4 -0
- package/_virtual/dijkstra.js +4 -0
- package/_virtual/encoder.js +4 -0
- package/_virtual/error-correction-code.js +4 -0
- package/_virtual/error-correction-level.js +4 -0
- package/_virtual/exceptions.js +4 -0
- package/_virtual/finder-pattern.js +4 -0
- package/_virtual/fixOptions.js +4 -0
- package/_virtual/format-info.js +4 -0
- package/_virtual/galois-field.js +4 -0
- package/_virtual/getOptionsFromElement.js +4 -0
- package/_virtual/getRenderProperties.js +4 -0
- package/_virtual/index.js +4 -0
- package/_virtual/index10.js +4 -0
- package/_virtual/index11.js +4 -0
- package/_virtual/index2.js +4 -0
- package/_virtual/index3.js +4 -0
- package/_virtual/index4.js +4 -0
- package/_virtual/index5.js +4 -0
- package/_virtual/index6.js +4 -0
- package/_virtual/index7.js +4 -0
- package/_virtual/index8.js +4 -0
- package/_virtual/index9.js +4 -0
- package/_virtual/linearizeEncodings.js +4 -0
- package/_virtual/mask-pattern.js +4 -0
- package/_virtual/merge.js +4 -0
- package/_virtual/mode.js +4 -0
- package/_virtual/object.js +4 -0
- package/_virtual/optionsFromStrings.js +4 -0
- package/_virtual/papaparse.min.js +7 -0
- package/_virtual/papaparse.min2.js +4 -0
- package/_virtual/polynomial.js +4 -0
- package/_virtual/qrcode.js +4 -0
- package/_virtual/regex.js +4 -0
- package/_virtual/segments.js +4 -0
- package/_virtual/shared.js +4 -0
- package/_virtual/svg-tag.js +4 -0
- package/_virtual/svg.js +4 -0
- package/_virtual/utils.js +4 -0
- package/_virtual/utils2.js +4 -0
- package/_virtual/version-check.js +4 -0
- package/_virtual/version.js +4 -0
- package/components/Accordion/Accordion.vue.d.ts +7 -7
- package/components/Accordion/AccordionItem.vue.d.ts +4 -4
- package/components/Accordion/AccordionTrigger.vue.d.ts +2 -2
- package/components/Alert.vue.d.ts +1 -1
- package/components/Avatar.vue.d.ts +2 -2
- package/components/Avatar.vue.js +2 -2
- package/components/AvatarUploader/AvatarUploader.vue.d.ts +5 -5
- package/components/Badge.vue.d.ts +1 -1
- package/components/Barcode/Barcode.vue.d.ts +22 -0
- package/components/Barcode/Barcode.vue.js +58 -0
- package/components/Barcode/Barcode.vue2.js +4 -0
- package/components/Barcode/index.d.ts +2 -0
- package/components/Barcode/types.d.ts +5 -0
- package/components/Barcode/types.js +15 -0
- package/components/Breadcrumb/Breadcrumb.vue.d.ts +23 -0
- package/components/Breadcrumb/Breadcrumb.vue.js +7 -0
- package/components/Breadcrumb/Breadcrumb.vue2.js +84 -0
- package/components/Breadcrumb/BreadcrumbItem.vue.d.ts +27 -0
- package/components/Breadcrumb/BreadcrumbItem.vue.js +7 -0
- package/components/Breadcrumb/BreadcrumbItem.vue2.js +50 -0
- package/components/Breadcrumb/index.d.ts +3 -0
- package/components/Breadcrumb/types.d.ts +19 -0
- package/components/Button.vue.d.ts +4 -4
- package/components/Button.vue.js +32 -29
- package/components/ButtonGroup.vue.d.ts +1 -1
- package/components/Carousel/Carousel.vue.d.ts +58 -58
- package/components/CheckBox.vue.d.ts +2 -2
- package/components/Chip/Chip.vue.d.ts +3 -3
- package/components/ChoiceBox/ChoiceBox.vue.d.ts +4 -4
- package/components/ColorPicker/ColorPicker.vue.d.ts +3 -3
- package/components/ColorPicker/index.d.ts +1 -0
- package/components/CommandPaletteContent.vue.d.ts +15 -0
- package/components/CommandPaletteContent.vue.js +7 -0
- package/components/CommandPaletteContent.vue2.js +287 -0
- package/components/ConfirmationModal.vue.js +12 -10
- package/components/DataList/DataList.vue.d.ts +2 -2
- package/components/DataTable/DataTable.vue.d.ts +6 -6
- package/components/DataTable/DataTableRow.vue.d.ts +3 -3
- package/components/DatePicker.vue.d.ts +2 -2
- package/components/DatePicker.vue.js +7 -7
- package/components/DateRangePicker.vue.d.ts +29 -0
- package/components/DateRangePicker.vue.js +231 -0
- package/components/DateRangePicker.vue2.js +4 -0
- package/components/Dropdown/Dropdown.vue.d.ts +11 -6
- package/components/Dropdown/Dropdown.vue.js +147 -109
- package/components/Dropdown/DropdownBooleanItem.vue.js +9 -8
- package/components/Dropdown/DropdownGroupedLayout.vue.d.ts +1 -1
- package/components/Dropdown/DropdownGroupedLayout.vue.js +35 -34
- package/components/Dropdown/DropdownItem.vue.js +11 -10
- package/components/Dropdown/DropdownMenu.vue.d.ts +5 -3
- package/components/Dropdown/DropdownMenu.vue.js +114 -111
- package/components/Dropdown/DropdownTrigger.vue.d.ts +2 -0
- package/components/Dropdown/DropdownTrigger.vue.js +9 -7
- package/components/ExportData/ExportData.vue.d.ts +16 -0
- package/components/ExportData/ExportData.vue.js +135 -0
- package/components/ExportData/ExportData.vue2.js +4 -0
- package/components/ExportData/index.d.ts +2 -0
- package/components/ExportData/types.d.ts +17 -0
- package/components/FilePicker/FilePicker.vue.d.ts +5 -5
- package/components/Form/CustomFields.vue.d.ts +6 -6
- package/components/Form/CustomFields.vue.js +1 -1
- package/components/Form/Form.vue.d.ts +4 -5
- package/components/Form/Form.vue.js +2 -2
- package/components/Form/Form.vue2.js +221 -178
- package/components/Form/FormField.vue.d.ts +4 -3
- package/components/Form/FormField.vue.js +70 -62
- package/components/Form/FormFields.vue.d.ts +3 -1
- package/components/Form/FormFields.vue.js +2 -2
- package/components/Form/FormFields.vue2.js +105 -59
- package/components/GoogleLogin.vue.d.ts +2 -2
- package/components/Icon.vue.d.ts +2 -0
- package/components/Icon.vue.js +12 -11
- package/components/ImportData/ImportData.vue.d.ts +31 -0
- package/components/ImportData/ImportData.vue.js +242 -0
- package/components/ImportData/ImportData.vue2.js +4 -0
- package/components/ImportData/ImportStep1.vue.d.ts +23 -0
- package/components/ImportData/ImportStep1.vue.js +162 -0
- package/components/ImportData/ImportStep1.vue2.js +4 -0
- package/components/ImportData/ImportStep2.vue.d.ts +20 -0
- package/components/ImportData/ImportStep2.vue.js +98 -0
- package/components/ImportData/ImportStep2.vue2.js +4 -0
- package/components/ImportData/ImportStep3.vue.d.ts +6 -0
- package/components/ImportData/ImportStep3.vue.js +98 -0
- package/components/ImportData/ImportStep3.vue2.js +4 -0
- package/components/ImportData/ImportStep4.vue.d.ts +6 -0
- package/components/ImportData/ImportStep4.vue.js +139 -0
- package/components/ImportData/ImportStep4.vue2.js +4 -0
- package/components/ImportData/index.d.ts +2 -0
- package/components/ImportData/types.d.ts +51 -0
- package/components/Input.vue.d.ts +9 -9
- package/components/Input.vue.js +137 -120
- package/components/List/List.vue.d.ts +18 -0
- package/components/List/List.vue.js +189 -0
- package/components/List/List.vue2.js +4 -0
- package/components/List/ListFieldRow.vue.d.ts +35 -0
- package/components/List/ListFieldRow.vue.js +119 -0
- package/components/List/ListFieldRow.vue2.js +4 -0
- package/components/List/index.d.ts +4 -0
- package/components/List/types.d.ts +1 -0
- package/components/List/utils.d.ts +9 -0
- package/components/List/utils.js +64 -0
- package/components/Masonry/Masonry.vue.d.ts +2 -2
- package/components/Modal.vue.js +5 -122
- package/components/Modal.vue2.js +133 -2
- package/components/MultiSelect/MultiSelect.vue.d.ts +12 -9
- package/components/MultiSelect/MultiSelect.vue.js +101 -64
- package/components/Navbar/Navbar.vue.d.ts +48 -9
- package/components/Navbar/Navbar.vue.js +418 -146
- package/components/Navbar/NavbarItem.vue.d.ts +2 -2
- package/components/Navbar/NavbarTabs.vue.d.ts +21 -0
- package/components/Navbar/NavbarTabs.vue.js +179 -0
- package/components/Navbar/NavbarTabs.vue3.js +5 -0
- package/components/Navbar/index.d.ts +3 -0
- package/components/NavbarCommandPalette.vue.d.ts +48 -0
- package/components/NumberInput.vue.d.ts +8 -8
- package/components/OTPInput/OTPInput.vue.d.ts +7 -7
- package/components/Pagination/Pagination.vue.d.ts +1 -1
- package/components/PermissionMatrix/PermissionEditor.vue.d.ts +36 -0
- package/components/PermissionMatrix/PermissionEditor.vue.js +323 -0
- package/components/PermissionMatrix/PermissionEditor.vue2.js +4 -0
- package/components/PermissionMatrix/PermissionMatrix.vue.d.ts +15 -0
- package/components/PermissionMatrix/PermissionMatrix.vue.js +7 -0
- package/components/PermissionMatrix/PermissionMatrix.vue2.js +245 -0
- package/components/PermissionMatrix/index.d.ts +3 -0
- package/components/PermissionMatrix/types.d.ts +59 -0
- package/components/PricingPlan/PricingPlan.vue.d.ts +3 -3
- package/components/ProgressBar/ProgressBar.vue.d.ts +3 -3
- package/components/QRCode/QRCode.vue.d.ts +15 -0
- package/components/QRCode/QRCode.vue.js +38 -0
- package/components/QRCode/QRCode.vue2.js +4 -0
- package/components/QRCode/index.d.ts +1 -0
- package/components/Screen/Screen.vue.d.ts +232 -5
- package/components/Screen/Screen.vue.js +423 -271
- package/components/Screen/ScreenFilter.vue.d.ts +2 -2
- package/components/Screen/ScreenFilter.vue.js +9 -9
- package/components/Screen/types.d.ts +12 -0
- package/components/SidePanel.vue.d.ts +2 -2
- package/components/SidebarMenu/SidebarMenu.vue.d.ts +15 -2
- package/components/SidebarMenu/SidebarMenu.vue.js +117 -47
- package/components/SidebarMenu/SidebarMenuItem.vue.d.ts +2 -0
- package/components/SidebarMenu/SidebarMenuItem.vue.js +192 -175
- package/components/SidebarMenu/types.d.ts +32 -5
- package/components/Slider.vue.d.ts +2 -2
- package/components/Spinner/Spinner.vue.d.ts +2 -2
- package/components/Stats/Stats.vue.d.ts +14 -0
- package/components/Stats/Stats.vue.js +307 -0
- package/components/Stats/Stats.vue2.js +4 -0
- package/components/Stats/index.d.ts +2 -0
- package/components/Stats/types.d.ts +32 -0
- package/components/Switch.vue.d.ts +2 -1
- package/components/Switch.vue.js +4 -2
- package/components/Tabes/Tabes.vue.d.ts +3 -3
- package/components/Tabes/Tabes.vue.js +60 -57
- package/components/Tabes/types.d.ts +5 -0
- package/components/Textarea.vue.d.ts +3 -3
- package/components/{Timeline.vue.d.ts → Timeline/Timeline.vue.d.ts} +23 -2
- package/components/Timeline/Timeline.vue.js +92 -0
- package/components/Timeline/TimelineIndicator.vue.d.ts +9 -0
- package/components/Timeline/TimelineIndicator.vue.js +68 -0
- package/components/Timeline/TimelineIndicator.vue2.js +4 -0
- package/components/Timeline/TimelineItem.vue.d.ts +56 -0
- package/components/Timeline/TimelineItem.vue.js +173 -0
- package/components/Timeline/TimelineItem.vue2.js +4 -0
- package/components/Timeline/index.d.ts +3 -0
- package/components/Tooltip.vue.d.ts +2 -2
- package/components/Workbook/Sheet.vue.d.ts +2 -2
- package/components/Workbook/Workbook.vue.d.ts +3 -3
- package/components/index.d.ts +62 -0
- package/composables/useBreadcrumb.d.ts +17 -0
- package/composables/useBreadcrumb.js +27 -0
- package/core/config.d.ts +34 -0
- package/core/config.js +10 -7
- package/core/index.js +15 -8
- package/index.d.ts +55 -44
- package/index.js +243 -200
- package/package.json +12 -2
- package/router.d.ts +2 -0
- package/style.css +7 -5
- package/types/button.d.ts +1 -1
- package/types/config.type.d.ts +35 -0
- package/types/form.type.d.ts +3 -1
- package/types/index.d.ts +2 -1
- package/types/list.type.d.ts +57 -0
- package/types/navbar.type.d.ts +38 -1
- package/types/timeline.type.d.ts +14 -4
- package/components/Timeline.vue.js +0 -160
- /package/components/{Timeline.vue2.js → Timeline/Timeline.vue2.js} +0 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { defineComponent as C, ref as y, computed as s, openBlock as l, createElementBlock as n, normalizeClass as z, createElementVNode as r, Fragment as i, renderList as I, toDisplayString as f, createCommentVNode as v, createVNode as x, mergeProps as B, renderSlot as w } from "vue";
|
|
2
|
+
import _ from "./BreadcrumbItem.vue.js";
|
|
3
|
+
const M = { class: "breadcrumb-list" }, N = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "breadcrumb-separator",
|
|
6
|
+
"aria-hidden": "true"
|
|
7
|
+
}, S = {
|
|
8
|
+
class: "breadcrumb-separator",
|
|
9
|
+
"aria-hidden": "true"
|
|
10
|
+
}, j = /* @__PURE__ */ C({
|
|
11
|
+
__name: "Breadcrumb",
|
|
12
|
+
props: {
|
|
13
|
+
items: {},
|
|
14
|
+
variant: { default: "default" },
|
|
15
|
+
separator: { default: "chevron" },
|
|
16
|
+
size: { default: "md" },
|
|
17
|
+
maxItems: {},
|
|
18
|
+
class: { default: "" }
|
|
19
|
+
},
|
|
20
|
+
setup(t) {
|
|
21
|
+
const e = t, c = y(!0), m = s(() => !e.maxItems || !e.items ? !1 : e.items.length > e.maxItems && c.value), d = s(() => {
|
|
22
|
+
if (!e.items) return [];
|
|
23
|
+
if (!m.value) return e.items;
|
|
24
|
+
const a = e.maxItems, u = Math.max(a - 1, 1);
|
|
25
|
+
return [e.items[0], ...e.items.slice(-u)];
|
|
26
|
+
}), h = s(() => m.value ? 1 : -1);
|
|
27
|
+
function g() {
|
|
28
|
+
c.value = !1;
|
|
29
|
+
}
|
|
30
|
+
const k = s(() => {
|
|
31
|
+
const a = {
|
|
32
|
+
default: "breadcrumb--default",
|
|
33
|
+
contained: "breadcrumb--contained",
|
|
34
|
+
pills: "breadcrumb--pills",
|
|
35
|
+
arrow: "breadcrumb--arrow"
|
|
36
|
+
}, u = {
|
|
37
|
+
sm: "breadcrumb--sm",
|
|
38
|
+
md: "breadcrumb--md",
|
|
39
|
+
lg: "breadcrumb--lg"
|
|
40
|
+
};
|
|
41
|
+
return ["breadcrumb", a[e.variant], u[e.size], e.class].filter(Boolean).join(" ");
|
|
42
|
+
}), b = s(() => ({
|
|
43
|
+
slash: "/",
|
|
44
|
+
chevron: "›",
|
|
45
|
+
dot: "·",
|
|
46
|
+
arrow: "→"
|
|
47
|
+
})[e.separator] || "›");
|
|
48
|
+
return (a, u) => (l(), n("nav", {
|
|
49
|
+
class: z(k.value),
|
|
50
|
+
"aria-label": "Breadcrumb"
|
|
51
|
+
}, [
|
|
52
|
+
r("ol", M, [
|
|
53
|
+
t.items && t.items.length ? (l(!0), n(i, { key: 0 }, I(d.value, (p, o) => (l(), n(i, {
|
|
54
|
+
key: p.label + o
|
|
55
|
+
}, [
|
|
56
|
+
o > 0 ? (l(), n("li", N, [
|
|
57
|
+
r("span", null, f(b.value), 1)
|
|
58
|
+
])) : v("", !0),
|
|
59
|
+
o === h.value ? (l(), n(i, { key: 1 }, [
|
|
60
|
+
r("li", S, [
|
|
61
|
+
r("span", null, f(b.value), 1)
|
|
62
|
+
]),
|
|
63
|
+
r("li", { class: "breadcrumb-ellipsis" }, [
|
|
64
|
+
r("button", {
|
|
65
|
+
type: "button",
|
|
66
|
+
class: "breadcrumb-ellipsis-btn",
|
|
67
|
+
"aria-label": "Show all breadcrumb items",
|
|
68
|
+
onClick: g
|
|
69
|
+
}, " … ")
|
|
70
|
+
])
|
|
71
|
+
], 64)) : v("", !0),
|
|
72
|
+
x(_, B({ ref_for: !0 }, p, {
|
|
73
|
+
size: t.size,
|
|
74
|
+
variant: t.variant,
|
|
75
|
+
"is-current": o === d.value.length - 1
|
|
76
|
+
}), null, 16, ["size", "variant", "is-current"])
|
|
77
|
+
], 64))), 128)) : w(a.$slots, "default", { key: 1 }, void 0, !0)
|
|
78
|
+
])
|
|
79
|
+
], 2));
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
export {
|
|
83
|
+
j as default
|
|
84
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BreadcrumbItemSchema, BreadcrumbSize } from './types';
|
|
2
|
+
interface Props extends BreadcrumbItemSchema {
|
|
3
|
+
size?: BreadcrumbSize;
|
|
4
|
+
isCurrent?: boolean;
|
|
5
|
+
variant?: string;
|
|
6
|
+
}
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLLIElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
17
|
+
variant: string;
|
|
18
|
+
size: BreadcrumbSize;
|
|
19
|
+
isCurrent: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { defineComponent as u, computed as a, openBlock as i, createElementBlock as c, normalizeClass as n, createBlock as l, resolveDynamicComponent as m, mergeProps as f, withCtx as b, createCommentVNode as C, renderSlot as h, createTextVNode as v, toDisplayString as k } from "vue";
|
|
2
|
+
import B from "../Icon.vue.js";
|
|
3
|
+
const w = /* @__PURE__ */ u({
|
|
4
|
+
__name: "BreadcrumbItem",
|
|
5
|
+
props: {
|
|
6
|
+
size: { default: "md" },
|
|
7
|
+
isCurrent: { type: Boolean, default: !1 },
|
|
8
|
+
variant: { default: "default" },
|
|
9
|
+
label: {},
|
|
10
|
+
to: {},
|
|
11
|
+
href: {},
|
|
12
|
+
icon: {},
|
|
13
|
+
disabled: { type: Boolean },
|
|
14
|
+
active: { type: Boolean }
|
|
15
|
+
},
|
|
16
|
+
setup(r) {
|
|
17
|
+
const e = r, s = a(() => e.disabled || e.isCurrent ? "span" : e.to ? "router-link" : e.href ? "a" : "span"), o = a(() => e.to && !e.disabled && !e.isCurrent ? { to: e.to } : e.href && !e.disabled && !e.isCurrent ? { href: e.href } : {}), d = a(() => {
|
|
18
|
+
const t = {
|
|
19
|
+
sm: "w-3 h-3",
|
|
20
|
+
md: "w-3.5 h-3.5",
|
|
21
|
+
lg: "w-4 h-4"
|
|
22
|
+
};
|
|
23
|
+
return t[e.size] || t.md;
|
|
24
|
+
});
|
|
25
|
+
return (t, y) => (i(), c("li", {
|
|
26
|
+
class: n(["breadcrumb-item", { "is-current": r.isCurrent, "is-disabled": r.disabled }])
|
|
27
|
+
}, [
|
|
28
|
+
(i(), l(m(s.value), f(o.value, {
|
|
29
|
+
class: ["breadcrumb-link", { current: r.isCurrent, disabled: r.disabled }],
|
|
30
|
+
"aria-current": r.isCurrent ? "page" : void 0,
|
|
31
|
+
"aria-disabled": r.disabled || void 0
|
|
32
|
+
}), {
|
|
33
|
+
default: b(() => [
|
|
34
|
+
r.icon ? (i(), l(B, {
|
|
35
|
+
key: 0,
|
|
36
|
+
icon: r.icon,
|
|
37
|
+
class: n(["breadcrumb-icon", d.value])
|
|
38
|
+
}, null, 8, ["icon", "class"])) : C("", !0),
|
|
39
|
+
h(t.$slots, "default", {}, () => [
|
|
40
|
+
v(k(r.label), 1)
|
|
41
|
+
], !0)
|
|
42
|
+
]),
|
|
43
|
+
_: 3
|
|
44
|
+
}, 16, ["class", "aria-current", "aria-disabled"]))
|
|
45
|
+
], 2));
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
export {
|
|
49
|
+
w as default
|
|
50
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type BreadcrumbVariant = 'default' | 'contained' | 'pills' | 'arrow';
|
|
2
|
+
export type BreadcrumbSeparator = 'slash' | 'chevron' | 'dot' | 'arrow';
|
|
3
|
+
export type BreadcrumbSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
export interface BreadcrumbItemSchema {
|
|
5
|
+
label: string;
|
|
6
|
+
to?: string;
|
|
7
|
+
href?: string;
|
|
8
|
+
icon?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
active?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface BreadcrumbProps {
|
|
13
|
+
items?: BreadcrumbItemSchema[];
|
|
14
|
+
variant?: BreadcrumbVariant;
|
|
15
|
+
separator?: BreadcrumbSeparator;
|
|
16
|
+
size?: BreadcrumbSize;
|
|
17
|
+
maxItems?: number;
|
|
18
|
+
class?: string;
|
|
19
|
+
}
|
|
@@ -10,12 +10,12 @@ declare function __VLS_template(): {
|
|
|
10
10
|
};
|
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
12
|
declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
type: "button" | "submit" | "reset";
|
|
15
|
-
class: any;
|
|
16
|
-
size: ButtonSize;
|
|
17
13
|
variant: ButtonVariant;
|
|
14
|
+
size: ButtonSize;
|
|
18
15
|
rounded: ButtonRounded;
|
|
16
|
+
type: "button" | "submit" | "reset";
|
|
17
|
+
class: any;
|
|
18
|
+
disabled: boolean;
|
|
19
19
|
loading: boolean;
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
21
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
package/components/Button.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, computed as
|
|
1
|
+
import { defineComponent as B, computed as o, useSlots as R, inject as S, withDirectives as G, openBlock as s, createElementBlock as h, normalizeClass as i, createBlock as d, createCommentVNode as m, renderSlot as f, createTextVNode as b, toDisplayString as x, unref as $ } from "vue";
|
|
2
2
|
import g from "./Icon.vue.js";
|
|
3
3
|
import { vRipple as j } from "../directives/vRipple.js";
|
|
4
4
|
import { $t as V } from "../utils/i18n.js";
|
|
@@ -22,8 +22,10 @@ const D = ["type", "disabled"], q = /* @__PURE__ */ B({
|
|
|
22
22
|
asIcon: { type: Boolean }
|
|
23
23
|
},
|
|
24
24
|
setup(e) {
|
|
25
|
-
const
|
|
26
|
-
|
|
25
|
+
const t = e, a = o(() => t.textI18n ? V(t.textI18n) : t.text), v = R(), l = o(
|
|
26
|
+
() => t?.asIcon || t.icon && !a.value && !v.default
|
|
27
|
+
), p = S("buttonGroup", null), w = o(() => !!p?.isInGroup), y = o(() => {
|
|
28
|
+
const n = "inline-flex items-center justify-center whitespace-nowrap text-sm font-medium ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 active:scale-[0.98] cursor-pointer gap-2", r = {
|
|
27
29
|
primary: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
28
30
|
"primary-light": "bg-primary-light text-primary-fg-light hover:bg-primary/20",
|
|
29
31
|
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
@@ -36,6 +38,7 @@ const D = ["type", "disabled"], q = /* @__PURE__ */ B({
|
|
|
36
38
|
success: "bg-success text-success-fg hover:bg-success/80",
|
|
37
39
|
"success-light": "bg-success-light text-success-fg-light hover:bg-success/20",
|
|
38
40
|
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground text-foreground",
|
|
41
|
+
"outline-floating": "border border-input bg-transparent hover:bg-transparent text-foreground border-input",
|
|
39
42
|
"outline-primary": "border border-primary text-primary hover:bg-primary/10",
|
|
40
43
|
"outline-danger": "border border-destructive text-destructive hover:bg-destructive/10",
|
|
41
44
|
"outline-warning": "border border-warning text-warning hover:bg-warning/10",
|
|
@@ -52,11 +55,11 @@ const D = ["type", "disabled"], q = /* @__PURE__ */ B({
|
|
|
52
55
|
xl: "h-12 px-10"
|
|
53
56
|
}, C = {
|
|
54
57
|
xs: "h-6.5 w-6.5 min-h-6.5 min-w-6.5",
|
|
55
|
-
sm: "h-7 w-7 min-h-7 min-w-7",
|
|
56
|
-
sm2: "h-
|
|
57
|
-
md: "h-
|
|
58
|
-
lg: "h-
|
|
59
|
-
xl: "h-
|
|
58
|
+
sm: "h-7.5 w-7.5 min-h-7.5 min-w-7.5",
|
|
59
|
+
sm2: "h-8 w-8 min-h-8 min-w-8",
|
|
60
|
+
md: "h-9 w-9 min-h-9 min-w-9",
|
|
61
|
+
lg: "h-9.5 w-9.5 min-h-9.5 min-w-9.5",
|
|
62
|
+
xl: "h-10 w-10 min-h-10 min-w-10"
|
|
60
63
|
}, k = {
|
|
61
64
|
xs: "px-2",
|
|
62
65
|
sm: "px-3",
|
|
@@ -75,15 +78,15 @@ const D = ["type", "disabled"], q = /* @__PURE__ */ B({
|
|
|
75
78
|
full: "rounded-full"
|
|
76
79
|
};
|
|
77
80
|
let u;
|
|
78
|
-
return
|
|
79
|
-
|
|
80
|
-
r[
|
|
81
|
-
I[
|
|
81
|
+
return l.value ? u = w.value ? k[t.size] : C[t.size] : u = z[t.size], [
|
|
82
|
+
n,
|
|
83
|
+
r[t.variant],
|
|
84
|
+
I[t.rounded],
|
|
82
85
|
u,
|
|
83
|
-
|
|
86
|
+
t.class
|
|
84
87
|
].join(" ");
|
|
85
|
-
}), c =
|
|
86
|
-
const
|
|
88
|
+
}), c = o(() => {
|
|
89
|
+
const n = {
|
|
87
90
|
xs: "w-3 h-3",
|
|
88
91
|
sm: "w-4 h-4",
|
|
89
92
|
sm2: "w-4 h-4",
|
|
@@ -92,39 +95,39 @@ const D = ["type", "disabled"], q = /* @__PURE__ */ B({
|
|
|
92
95
|
xl: "w-4 h-4"
|
|
93
96
|
}, r = {
|
|
94
97
|
xs: "w-3 h-3",
|
|
95
|
-
sm: "w-
|
|
96
|
-
sm2: "w-
|
|
97
|
-
md: "w-
|
|
98
|
+
sm: "w-4 h-4",
|
|
99
|
+
sm2: "w-4 h-4",
|
|
100
|
+
md: "w-4 h-4",
|
|
98
101
|
lg: "w-4 h-4",
|
|
99
102
|
xl: "w-4 h-4"
|
|
100
103
|
};
|
|
101
|
-
return
|
|
104
|
+
return l.value ? r[t.size] : n[t.size];
|
|
102
105
|
});
|
|
103
|
-
return (
|
|
106
|
+
return (n, r) => G((s(), h("button", {
|
|
104
107
|
type: e.type,
|
|
105
108
|
class: i(y.value),
|
|
106
109
|
disabled: e.disabled || e.loading
|
|
107
110
|
}, [
|
|
108
|
-
e.loading ? (
|
|
111
|
+
e.loading ? (s(), d(g, {
|
|
109
112
|
key: 0,
|
|
110
113
|
icon: "lucide:loader-2",
|
|
111
114
|
class: i(["animate-spin pointer-events-none", c.value])
|
|
112
|
-
}, null, 8, ["class"])) : e.icon ? (
|
|
115
|
+
}, null, 8, ["class"])) : e.icon ? (s(), d(g, {
|
|
113
116
|
key: 1,
|
|
114
117
|
icon: e.icon,
|
|
115
|
-
class: i(["pointer-events-none", [e.iconClass, c.value,
|
|
118
|
+
class: i(["pointer-events-none", [e.iconClass, c.value, l.value ? "mx-auto" : ""]])
|
|
116
119
|
}, null, 8, ["icon", "class"])) : m("", !0),
|
|
117
|
-
e.textClass ? (
|
|
120
|
+
e.textClass ? (s(), h("span", {
|
|
118
121
|
key: 2,
|
|
119
122
|
class: i(e.textClass)
|
|
120
123
|
}, [
|
|
121
|
-
f(
|
|
122
|
-
x(
|
|
124
|
+
f(n.$slots, "default", {}, () => [
|
|
125
|
+
b(x(a.value), 1)
|
|
123
126
|
])
|
|
124
|
-
], 2)) : f(
|
|
125
|
-
x(
|
|
127
|
+
], 2)) : f(n.$slots, "default", { key: 3 }, () => [
|
|
128
|
+
b(x(a.value), 1)
|
|
126
129
|
]),
|
|
127
|
-
e.iconRight && !e.loading ? (
|
|
130
|
+
e.iconRight && !e.loading ? (s(), d(g, {
|
|
128
131
|
key: 4,
|
|
129
132
|
icon: e.iconRight,
|
|
130
133
|
class: i([[e.iconRightClass, c.value], "h-4 w-4 pointer-events-none"])
|
|
@@ -17,8 +17,8 @@ declare function __VLS_template(): {
|
|
|
17
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
18
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
19
19
|
class: string;
|
|
20
|
-
attached: boolean;
|
|
21
20
|
direction: ButtonGroupDirection;
|
|
21
|
+
attached: boolean;
|
|
22
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
23
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
24
|
export default _default;
|
|
@@ -30,18 +30,18 @@ declare function __VLS_template(): {
|
|
|
30
30
|
}> & Omit<{
|
|
31
31
|
readonly data: any[];
|
|
32
32
|
readonly direction: "horizontal" | "vertical";
|
|
33
|
+
readonly draggable: boolean;
|
|
34
|
+
readonly easing: string;
|
|
35
|
+
readonly gap: number;
|
|
33
36
|
readonly pagination: import('vue-carousel-lite').PaginationType | import('vue-carousel-lite').PaginationType[];
|
|
34
37
|
readonly paginationSize: "sm" | "md" | "lg";
|
|
35
38
|
readonly paginationVisibility: import('vue-carousel-lite/types').PaginationVisibility | import('vue-carousel-lite/types').PaginationVisibility[];
|
|
36
39
|
readonly paginationHoverInitialTimeout: number;
|
|
37
40
|
readonly paginationHoverEdgeThreshold: number;
|
|
38
41
|
readonly autoPlay: boolean;
|
|
39
|
-
readonly draggable: boolean;
|
|
40
42
|
readonly autoPlayInterval: number;
|
|
41
43
|
readonly itemsToShow: number | import('vue-carousel-lite').SlidesPerView;
|
|
42
|
-
readonly gap: number;
|
|
43
44
|
readonly speed: number;
|
|
44
|
-
readonly easing: string;
|
|
45
45
|
readonly mousewheel: boolean;
|
|
46
46
|
readonly loop: boolean;
|
|
47
47
|
readonly currentItem: number;
|
|
@@ -53,7 +53,7 @@ declare function __VLS_template(): {
|
|
|
53
53
|
readonly updateKey?: string | number;
|
|
54
54
|
readonly paginationBackground?: boolean;
|
|
55
55
|
readonly "onSlide-change"?: ((index: number) => any) | undefined;
|
|
56
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "direction" | "
|
|
56
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "direction" | "draggable" | "easing" | "gap" | "pagination" | "paginationSize" | "paginationVisibility" | "paginationHoverInitialTimeout" | "paginationHoverEdgeThreshold" | "autoPlay" | "autoPlayInterval" | "itemsToShow" | "speed" | "mousewheel" | "loop" | "currentItem" | "bufferSize" | "maxDomElements" | "autoFocus" | "wheelOptions">;
|
|
57
57
|
$attrs: {
|
|
58
58
|
[x: string]: unknown;
|
|
59
59
|
};
|
|
@@ -77,6 +77,18 @@ declare function __VLS_template(): {
|
|
|
77
77
|
type: import('vue').PropType<"horizontal" | "vertical">;
|
|
78
78
|
default: string;
|
|
79
79
|
};
|
|
80
|
+
draggable: {
|
|
81
|
+
type: import('vue').PropType<boolean>;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
easing: {
|
|
85
|
+
type: import('vue').PropType<string>;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
gap: {
|
|
89
|
+
type: import('vue').PropType<number>;
|
|
90
|
+
default: number;
|
|
91
|
+
};
|
|
80
92
|
pagination: {
|
|
81
93
|
type: import('vue').PropType<import('vue-carousel-lite').PaginationType | import('vue-carousel-lite').PaginationType[]>;
|
|
82
94
|
default: string;
|
|
@@ -104,10 +116,6 @@ declare function __VLS_template(): {
|
|
|
104
116
|
type: import('vue').PropType<boolean>;
|
|
105
117
|
default: boolean;
|
|
106
118
|
};
|
|
107
|
-
draggable: {
|
|
108
|
-
type: import('vue').PropType<boolean>;
|
|
109
|
-
default: boolean;
|
|
110
|
-
};
|
|
111
119
|
autoPlayInterval: {
|
|
112
120
|
type: import('vue').PropType<number>;
|
|
113
121
|
default: number;
|
|
@@ -116,18 +124,10 @@ declare function __VLS_template(): {
|
|
|
116
124
|
type: import('vue').PropType<number | import('vue-carousel-lite').SlidesPerView>;
|
|
117
125
|
default: number;
|
|
118
126
|
};
|
|
119
|
-
gap: {
|
|
120
|
-
type: import('vue').PropType<number>;
|
|
121
|
-
default: number;
|
|
122
|
-
};
|
|
123
127
|
speed: {
|
|
124
128
|
type: import('vue').PropType<number>;
|
|
125
129
|
default: number;
|
|
126
130
|
};
|
|
127
|
-
easing: {
|
|
128
|
-
type: import('vue').PropType<string>;
|
|
129
|
-
default: string;
|
|
130
|
-
};
|
|
131
131
|
mousewheel: {
|
|
132
132
|
type: import('vue').PropType<boolean>;
|
|
133
133
|
default: boolean;
|
|
@@ -258,6 +258,18 @@ declare function __VLS_template(): {
|
|
|
258
258
|
type: import('vue').PropType<"horizontal" | "vertical">;
|
|
259
259
|
default: string;
|
|
260
260
|
};
|
|
261
|
+
draggable: {
|
|
262
|
+
type: import('vue').PropType<boolean>;
|
|
263
|
+
default: boolean;
|
|
264
|
+
};
|
|
265
|
+
easing: {
|
|
266
|
+
type: import('vue').PropType<string>;
|
|
267
|
+
default: string;
|
|
268
|
+
};
|
|
269
|
+
gap: {
|
|
270
|
+
type: import('vue').PropType<number>;
|
|
271
|
+
default: number;
|
|
272
|
+
};
|
|
261
273
|
pagination: {
|
|
262
274
|
type: import('vue').PropType<import('vue-carousel-lite').PaginationType | import('vue-carousel-lite').PaginationType[]>;
|
|
263
275
|
default: string;
|
|
@@ -285,10 +297,6 @@ declare function __VLS_template(): {
|
|
|
285
297
|
type: import('vue').PropType<boolean>;
|
|
286
298
|
default: boolean;
|
|
287
299
|
};
|
|
288
|
-
draggable: {
|
|
289
|
-
type: import('vue').PropType<boolean>;
|
|
290
|
-
default: boolean;
|
|
291
|
-
};
|
|
292
300
|
autoPlayInterval: {
|
|
293
301
|
type: import('vue').PropType<number>;
|
|
294
302
|
default: number;
|
|
@@ -297,18 +305,10 @@ declare function __VLS_template(): {
|
|
|
297
305
|
type: import('vue').PropType<number | import('vue-carousel-lite').SlidesPerView>;
|
|
298
306
|
default: number;
|
|
299
307
|
};
|
|
300
|
-
gap: {
|
|
301
|
-
type: import('vue').PropType<number>;
|
|
302
|
-
default: number;
|
|
303
|
-
};
|
|
304
308
|
speed: {
|
|
305
309
|
type: import('vue').PropType<number>;
|
|
306
310
|
default: number;
|
|
307
311
|
};
|
|
308
|
-
easing: {
|
|
309
|
-
type: import('vue').PropType<string>;
|
|
310
|
-
default: string;
|
|
311
|
-
};
|
|
312
312
|
mousewheel: {
|
|
313
313
|
type: import('vue').PropType<boolean>;
|
|
314
314
|
default: boolean;
|
|
@@ -352,7 +352,7 @@ declare function __VLS_template(): {
|
|
|
352
352
|
};
|
|
353
353
|
}>> & Readonly<{
|
|
354
354
|
"onSlide-change"?: ((index: number) => any) | undefined;
|
|
355
|
-
}>, "focus" | "direction" | "
|
|
355
|
+
}>, "focus" | "state" | "direction" | "goNext" | "draggable" | "easing" | "gap" | "pagination" | "paginationSize" | "paginationVisibility" | "paginationHoverInitialTimeout" | "paginationHoverEdgeThreshold" | "autoPlay" | "autoPlayInterval" | "itemsToShow" | "speed" | "mousewheel" | "loop" | "currentItem" | "bufferSize" | "maxDomElements" | "goToSlide" | "goPrev" | "autoFocus" | "wheelOptions" | "canGoNext" | "canGoPrev"> & import('vue').ShallowUnwrapRef<{
|
|
356
356
|
goToSlide: (index: number, smooth?: boolean) => void;
|
|
357
357
|
goNext: (smooth?: boolean) => void;
|
|
358
358
|
goPrev: (smooth?: boolean) => void;
|
|
@@ -456,18 +456,18 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
456
456
|
}> & Omit<{
|
|
457
457
|
readonly data: any[];
|
|
458
458
|
readonly direction: "horizontal" | "vertical";
|
|
459
|
+
readonly draggable: boolean;
|
|
460
|
+
readonly easing: string;
|
|
461
|
+
readonly gap: number;
|
|
459
462
|
readonly pagination: import('vue-carousel-lite').PaginationType | import('vue-carousel-lite').PaginationType[];
|
|
460
463
|
readonly paginationSize: "sm" | "md" | "lg";
|
|
461
464
|
readonly paginationVisibility: import('vue-carousel-lite/types').PaginationVisibility | import('vue-carousel-lite/types').PaginationVisibility[];
|
|
462
465
|
readonly paginationHoverInitialTimeout: number;
|
|
463
466
|
readonly paginationHoverEdgeThreshold: number;
|
|
464
467
|
readonly autoPlay: boolean;
|
|
465
|
-
readonly draggable: boolean;
|
|
466
468
|
readonly autoPlayInterval: number;
|
|
467
469
|
readonly itemsToShow: number | import('vue-carousel-lite').SlidesPerView;
|
|
468
|
-
readonly gap: number;
|
|
469
470
|
readonly speed: number;
|
|
470
|
-
readonly easing: string;
|
|
471
471
|
readonly mousewheel: boolean;
|
|
472
472
|
readonly loop: boolean;
|
|
473
473
|
readonly currentItem: number;
|
|
@@ -479,7 +479,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
479
479
|
readonly updateKey?: string | number;
|
|
480
480
|
readonly paginationBackground?: boolean;
|
|
481
481
|
readonly "onSlide-change"?: ((index: number) => any) | undefined;
|
|
482
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "direction" | "
|
|
482
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "direction" | "draggable" | "easing" | "gap" | "pagination" | "paginationSize" | "paginationVisibility" | "paginationHoverInitialTimeout" | "paginationHoverEdgeThreshold" | "autoPlay" | "autoPlayInterval" | "itemsToShow" | "speed" | "mousewheel" | "loop" | "currentItem" | "bufferSize" | "maxDomElements" | "autoFocus" | "wheelOptions">;
|
|
483
483
|
$attrs: {
|
|
484
484
|
[x: string]: unknown;
|
|
485
485
|
};
|
|
@@ -503,6 +503,18 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
503
503
|
type: import('vue').PropType<"horizontal" | "vertical">;
|
|
504
504
|
default: string;
|
|
505
505
|
};
|
|
506
|
+
draggable: {
|
|
507
|
+
type: import('vue').PropType<boolean>;
|
|
508
|
+
default: boolean;
|
|
509
|
+
};
|
|
510
|
+
easing: {
|
|
511
|
+
type: import('vue').PropType<string>;
|
|
512
|
+
default: string;
|
|
513
|
+
};
|
|
514
|
+
gap: {
|
|
515
|
+
type: import('vue').PropType<number>;
|
|
516
|
+
default: number;
|
|
517
|
+
};
|
|
506
518
|
pagination: {
|
|
507
519
|
type: import('vue').PropType<import('vue-carousel-lite').PaginationType | import('vue-carousel-lite').PaginationType[]>;
|
|
508
520
|
default: string;
|
|
@@ -530,10 +542,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
530
542
|
type: import('vue').PropType<boolean>;
|
|
531
543
|
default: boolean;
|
|
532
544
|
};
|
|
533
|
-
draggable: {
|
|
534
|
-
type: import('vue').PropType<boolean>;
|
|
535
|
-
default: boolean;
|
|
536
|
-
};
|
|
537
545
|
autoPlayInterval: {
|
|
538
546
|
type: import('vue').PropType<number>;
|
|
539
547
|
default: number;
|
|
@@ -542,18 +550,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
542
550
|
type: import('vue').PropType<number | import('vue-carousel-lite').SlidesPerView>;
|
|
543
551
|
default: number;
|
|
544
552
|
};
|
|
545
|
-
gap: {
|
|
546
|
-
type: import('vue').PropType<number>;
|
|
547
|
-
default: number;
|
|
548
|
-
};
|
|
549
553
|
speed: {
|
|
550
554
|
type: import('vue').PropType<number>;
|
|
551
555
|
default: number;
|
|
552
556
|
};
|
|
553
|
-
easing: {
|
|
554
|
-
type: import('vue').PropType<string>;
|
|
555
|
-
default: string;
|
|
556
|
-
};
|
|
557
557
|
mousewheel: {
|
|
558
558
|
type: import('vue').PropType<boolean>;
|
|
559
559
|
default: boolean;
|
|
@@ -684,6 +684,18 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
684
684
|
type: import('vue').PropType<"horizontal" | "vertical">;
|
|
685
685
|
default: string;
|
|
686
686
|
};
|
|
687
|
+
draggable: {
|
|
688
|
+
type: import('vue').PropType<boolean>;
|
|
689
|
+
default: boolean;
|
|
690
|
+
};
|
|
691
|
+
easing: {
|
|
692
|
+
type: import('vue').PropType<string>;
|
|
693
|
+
default: string;
|
|
694
|
+
};
|
|
695
|
+
gap: {
|
|
696
|
+
type: import('vue').PropType<number>;
|
|
697
|
+
default: number;
|
|
698
|
+
};
|
|
687
699
|
pagination: {
|
|
688
700
|
type: import('vue').PropType<import('vue-carousel-lite').PaginationType | import('vue-carousel-lite').PaginationType[]>;
|
|
689
701
|
default: string;
|
|
@@ -711,10 +723,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
711
723
|
type: import('vue').PropType<boolean>;
|
|
712
724
|
default: boolean;
|
|
713
725
|
};
|
|
714
|
-
draggable: {
|
|
715
|
-
type: import('vue').PropType<boolean>;
|
|
716
|
-
default: boolean;
|
|
717
|
-
};
|
|
718
726
|
autoPlayInterval: {
|
|
719
727
|
type: import('vue').PropType<number>;
|
|
720
728
|
default: number;
|
|
@@ -723,18 +731,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
723
731
|
type: import('vue').PropType<number | import('vue-carousel-lite').SlidesPerView>;
|
|
724
732
|
default: number;
|
|
725
733
|
};
|
|
726
|
-
gap: {
|
|
727
|
-
type: import('vue').PropType<number>;
|
|
728
|
-
default: number;
|
|
729
|
-
};
|
|
730
734
|
speed: {
|
|
731
735
|
type: import('vue').PropType<number>;
|
|
732
736
|
default: number;
|
|
733
737
|
};
|
|
734
|
-
easing: {
|
|
735
|
-
type: import('vue').PropType<string>;
|
|
736
|
-
default: string;
|
|
737
|
-
};
|
|
738
738
|
mousewheel: {
|
|
739
739
|
type: import('vue').PropType<boolean>;
|
|
740
740
|
default: boolean;
|
|
@@ -778,7 +778,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
778
778
|
};
|
|
779
779
|
}>> & Readonly<{
|
|
780
780
|
"onSlide-change"?: ((index: number) => any) | undefined;
|
|
781
|
-
}>, "focus" | "direction" | "
|
|
781
|
+
}>, "focus" | "state" | "direction" | "goNext" | "draggable" | "easing" | "gap" | "pagination" | "paginationSize" | "paginationVisibility" | "paginationHoverInitialTimeout" | "paginationHoverEdgeThreshold" | "autoPlay" | "autoPlayInterval" | "itemsToShow" | "speed" | "mousewheel" | "loop" | "currentItem" | "bufferSize" | "maxDomElements" | "goToSlide" | "goPrev" | "autoFocus" | "wheelOptions" | "canGoNext" | "canGoPrev"> & import('vue').ShallowUnwrapRef<{
|
|
782
782
|
goToSlide: (index: number, smooth?: boolean) => void;
|
|
783
783
|
goNext: (smooth?: boolean) => void;
|
|
784
784
|
goPrev: (smooth?: boolean) => void;
|
|
@@ -18,9 +18,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
18
18
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
19
19
|
"onUpdate:checked"?: (value: boolean) => any;
|
|
20
20
|
}>, {
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
class: string;
|
|
23
21
|
size: CheckboxSize;
|
|
22
|
+
class: string;
|
|
23
|
+
disabled: boolean;
|
|
24
24
|
modelValue: boolean;
|
|
25
25
|
checked: boolean;
|
|
26
26
|
indeterminate: boolean;
|
|
@@ -16,11 +16,11 @@ declare const __VLS_component: import('vue').DefineComponent<ChipProps, {}, {},
|
|
|
16
16
|
onClick?: (event: MouseEvent) => any;
|
|
17
17
|
onDelete?: (event: MouseEvent) => any;
|
|
18
18
|
}>, {
|
|
19
|
-
disabled: boolean;
|
|
20
19
|
text: string;
|
|
21
|
-
class: string;
|
|
22
|
-
size: import('./types').ChipSize;
|
|
23
20
|
variant: ChipVariant;
|
|
21
|
+
size: import('./types').ChipSize;
|
|
22
|
+
class: string;
|
|
23
|
+
disabled: boolean;
|
|
24
24
|
clickable: boolean;
|
|
25
25
|
deletable: boolean;
|
|
26
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|