@caipira/tamandua 0.0.52 → 0.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Avatar.js +2 -2
- package/dist/{Avatar.vue_vue_type_script_setup_true_lang-DUWgm42g.js → Avatar.vue_vue_type_script_setup_true_lang-D7NdR9hu.js} +1 -1
- package/dist/{Button-e3n89ixO.js → Button-A0bEGvjL.js} +2 -2
- package/dist/Button.js +2 -2
- package/dist/GraphyPrice.js +2 -2
- package/dist/{GraphyPrice.vue_vue_type_script_setup_true_lang-BRYLNEub.js → GraphyPrice.vue_vue_type_script_setup_true_lang-BDYxfzF6.js} +1 -1
- package/dist/Icon.js +2 -2
- package/dist/Icon.vue_vue_type_script_setup_true_lang-C2QvF2xM.js +45 -0
- package/dist/InputSelect.js +2 -2
- package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-qo8I6edp.js → InputSelect.vue_vue_type_script_setup_true_lang-Hhni6iWH.js} +1 -1
- package/dist/Link.js +2 -2
- package/dist/{Link.vue_vue_type_script_setup_true_lang-Gvmff9-3.js → Link.vue_vue_type_script_setup_true_lang-BE-Gh_jJ.js} +1 -1
- package/dist/Pagination.js +2 -2
- package/dist/Pagination.vue_vue_type_script_setup_true_lang-Bgc3FPMU.js +108 -0
- package/dist/Popconfirm.js +2 -2
- package/dist/{Popconfirm.vue_vue_type_script_setup_true_lang-C811ZrE7.js → Popconfirm.vue_vue_type_script_setup_true_lang-D67BalwA.js} +1 -1
- package/dist/Popover.js +2 -2
- package/dist/{Popover.vue_vue_type_script_setup_true_lang-D1oZrofv.js → Popover.vue_vue_type_script_setup_true_lang-DP4SOSib.js} +1 -1
- package/dist/Tag.js +2 -2
- package/dist/{Tag.vue_vue_type_script_setup_true_lang-todthrF3.js → Tag.vue_vue_type_script_setup_true_lang-ChaIzjzP.js} +1 -1
- package/dist/Toast.js +2 -2
- package/dist/{Toast.vue_vue_type_script_setup_true_lang-DafyPpHT.js → Toast.vue_vue_type_script_setup_true_lang--bDaVOod.js} +1 -1
- package/dist/book-alphabet-nYV6OuYG.js +5 -0
- package/dist/components.js +11 -11
- package/dist/enums.js +1 -1
- package/dist/{plugin-B1A9IA24.js → plugin-BE_a-6l3.js} +1 -1
- package/dist/{plugin-pmSk_PLu.js → plugin-BShPzL82.js} +1 -1
- package/dist/{plugin-CkyGQW3y.js → plugin-BcpHjv9l.js} +1 -1
- package/dist/{plugin-OLiFUzUI.js → plugin-BfJHkHAS.js} +1 -1
- package/dist/{plugin-tCWn1gjD.js → plugin-CEByTREY.js} +1 -1
- package/dist/{plugin--oqIr0hS.js → plugin-CGE6W117.js} +1 -1
- package/dist/{plugin-D0pv_KhI.js → plugin-CdotHNi-.js} +1 -1
- package/dist/{plugin-BlGCxPvT.js → plugin-DKFvNBEz.js} +1 -1
- package/dist/{plugin-egbXwaGq.js → plugin-DNwjBl_u.js} +1 -1
- package/dist/{plugin-N-HVkReo.js → plugin-DyFQY_0q.js} +1 -1
- package/dist/{plugin-Da5BWlyX.js → plugin-KCYRmKkj.js} +1 -1
- package/dist/{plugins-D7QPM9Ae.js → plugins-Bp5IKWid.js} +20 -20
- package/dist/plugins.js +20 -20
- package/dist/tamandua.js +1 -1
- package/dist/types/components/Button/Button.vue.d.ts +3 -3
- package/dist/types/components/Dropdown/Dropdown.vue.d.ts +3 -3
- package/dist/types/components/InputSelect/InputSelect.vue.d.ts +3 -3
- package/dist/types/components/Pagination/Pagination.story.d.ts +3 -4
- package/dist/types/components/Pagination/Pagination.vue.d.ts +39 -36
- package/dist/types/components/Pagination/index.d.ts +1 -1
- package/dist/types/components/Pagination/types.d.ts +0 -6
- package/dist/types/components/types.d.ts +2 -2
- package/dist/types/enums/ui.d.ts +1 -0
- package/dist/ui-J-lhC9qd.js +13 -0
- package/package.json +1 -1
- package/dist/Icon.vue_vue_type_script_setup_true_lang-ANNvmTpX.js +0 -45
- package/dist/Pagination.vue_vue_type_script_setup_true_lang-BJO_aOJk.js +0 -107
- package/dist/ui-Zkd1OIva.js +0 -13
package/dist/plugins.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./Avatar.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as C } from "./plugin-
|
|
1
|
+
import "./Avatar.vue_vue_type_script_setup_true_lang-D7NdR9hu.js";
|
|
2
|
+
import { p as C } from "./plugin-DNwjBl_u.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { p as b } from "./plugin-C-iGigb_.js";
|
|
5
|
-
import "./Button-
|
|
6
|
-
import { p as S } from "./plugin-
|
|
5
|
+
import "./Button-A0bEGvjL.js";
|
|
6
|
+
import { p as S } from "./plugin-BcpHjv9l.js";
|
|
7
7
|
import "./transform-DSaNEFMr.js";
|
|
8
8
|
import "./ChartLine.vue_vue_type_style_index_0_lang-DO_gKCe4.js";
|
|
9
9
|
import { p as v } from "./plugin-DDXOF4cU.js";
|
|
@@ -17,12 +17,12 @@ import { p as j } from "./plugin-BJJ1-Os1.js";
|
|
|
17
17
|
import { p as z } from "./plugin-CvohbpUQ.js";
|
|
18
18
|
import { p as J } from "./plugin-Buc7eEox.js";
|
|
19
19
|
import { p as N } from "./plugin-D9k93Uu1.js";
|
|
20
|
-
import "./GraphyPrice.vue_vue_type_script_setup_true_lang-
|
|
21
|
-
import { p as Q } from "./plugin
|
|
20
|
+
import "./GraphyPrice.vue_vue_type_script_setup_true_lang-BDYxfzF6.js";
|
|
21
|
+
import { p as Q } from "./plugin-CGE6W117.js";
|
|
22
22
|
import { p as V } from "./plugin-F3dxY_wr.js";
|
|
23
23
|
import { p as X } from "./plugin-DOeDaXWj.js";
|
|
24
|
-
import "./Icon.vue_vue_type_script_setup_true_lang-
|
|
25
|
-
import { p as Z } from "./plugin-
|
|
24
|
+
import "./Icon.vue_vue_type_script_setup_true_lang-C2QvF2xM.js";
|
|
25
|
+
import { p as Z } from "./plugin-BShPzL82.js";
|
|
26
26
|
import { p as $ } from "./plugin--F5QK2vy.js";
|
|
27
27
|
import "./InputCheckbox.vue_vue_type_style_index_0_lang-DnRqQiOj.js";
|
|
28
28
|
import { p as or } from "./plugin-4XhHBTQc.js";
|
|
@@ -35,20 +35,20 @@ import { p as gr } from "./plugin-CrHDShgh.js";
|
|
|
35
35
|
import { p as fr } from "./plugin-CQ-FpZui.js";
|
|
36
36
|
import "./InputRadio.vue_vue_type_style_index_0_lang-DusKEybQ.js";
|
|
37
37
|
import { p as cr } from "./plugin-Y4yYnlO3.js";
|
|
38
|
-
import "./InputSelect.vue_vue_type_script_setup_true_lang-
|
|
39
|
-
import { p as yr } from "./plugin-
|
|
38
|
+
import "./InputSelect.vue_vue_type_script_setup_true_lang-Hhni6iWH.js";
|
|
39
|
+
import { p as yr } from "./plugin-DyFQY_0q.js";
|
|
40
40
|
import { p as Cr } from "./plugin-BZOU6h10.js";
|
|
41
41
|
import { p as br } from "./plugin-lYDlOt8p.js";
|
|
42
42
|
import { p as Sr } from "./plugin-BQFwx3d5.js";
|
|
43
|
-
import "./Link.vue_vue_type_script_setup_true_lang-
|
|
44
|
-
import { p as vr } from "./plugin-
|
|
43
|
+
import "./Link.vue_vue_type_script_setup_true_lang-BE-Gh_jJ.js";
|
|
44
|
+
import { p as vr } from "./plugin-CEByTREY.js";
|
|
45
45
|
import { p as Dr } from "./plugin-DKjcKBPg.js";
|
|
46
46
|
import { p as Lr } from "./plugin-DNXazWwT.js";
|
|
47
|
-
import { p as Ar } from "./plugin-
|
|
48
|
-
import "./Popconfirm.vue_vue_type_script_setup_true_lang-
|
|
49
|
-
import { p as Er } from "./plugin-
|
|
50
|
-
import "./Popover.vue_vue_type_script_setup_true_lang-
|
|
51
|
-
import { p as jr } from "./plugin-
|
|
47
|
+
import { p as Ar } from "./plugin-KCYRmKkj.js";
|
|
48
|
+
import "./Popconfirm.vue_vue_type_script_setup_true_lang-D67BalwA.js";
|
|
49
|
+
import { p as Er } from "./plugin-BfJHkHAS.js";
|
|
50
|
+
import "./Popover.vue_vue_type_script_setup_true_lang-DP4SOSib.js";
|
|
51
|
+
import { p as jr } from "./plugin-DKFvNBEz.js";
|
|
52
52
|
import "./ProgressCircle-Cpmi2CpO.js";
|
|
53
53
|
import { p as zr } from "./plugin-MAzqwXys.js";
|
|
54
54
|
import "./ProgressLine-bKh0terH.js";
|
|
@@ -58,9 +58,9 @@ import { p as Qr } from "./plugin-B9wG8DUw.js";
|
|
|
58
58
|
import { p as Vr } from "./plugin-BV-k02s1.js";
|
|
59
59
|
import "./Table-C0Sr_Lfm.js";
|
|
60
60
|
import { p as Xr } from "./plugin-CTMcmMdr.js";
|
|
61
|
-
import "./Tag.vue_vue_type_script_setup_true_lang-
|
|
62
|
-
import { p as Zr } from "./plugin-
|
|
63
|
-
import { p as $r } from "./plugin-
|
|
61
|
+
import "./Tag.vue_vue_type_script_setup_true_lang-ChaIzjzP.js";
|
|
62
|
+
import { p as Zr } from "./plugin-CdotHNi-.js";
|
|
63
|
+
import { p as $r } from "./plugin-BE_a-6l3.js";
|
|
64
64
|
export {
|
|
65
65
|
C as AvatarPlugin,
|
|
66
66
|
b as BackdropPlugin,
|
package/dist/tamandua.js
CHANGED
|
@@ -16,7 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
16
16
|
}>, {
|
|
17
17
|
iconReference: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
icon: {
|
|
19
|
-
type: import("vue").PropType<number | "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box">;
|
|
19
|
+
type: import("vue").PropType<number | "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box">;
|
|
20
20
|
required: true;
|
|
21
21
|
};
|
|
22
22
|
role: {
|
|
@@ -31,7 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
31
31
|
reference: import("vue").Ref<HTMLElement | null>;
|
|
32
32
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
33
33
|
icon: {
|
|
34
|
-
type: import("vue").PropType<number | "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box">;
|
|
34
|
+
type: import("vue").PropType<number | "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box">;
|
|
35
35
|
required: true;
|
|
36
36
|
};
|
|
37
37
|
role: {
|
|
@@ -54,7 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
54
54
|
Defaults: {};
|
|
55
55
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
56
56
|
icon: {
|
|
57
|
-
type: import("vue").PropType<number | "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box">;
|
|
57
|
+
type: import("vue").PropType<number | "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box">;
|
|
58
58
|
required: true;
|
|
59
59
|
};
|
|
60
60
|
role: {
|
|
@@ -44,7 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
44
44
|
wrapperRoundnessClass: string;
|
|
45
45
|
}, {}>, {
|
|
46
46
|
default?(_: {
|
|
47
|
-
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
47
|
+
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
48
48
|
label: string | object;
|
|
49
49
|
type?: string | undefined;
|
|
50
50
|
renderer?: string | undefined;
|
|
@@ -52,7 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
52
52
|
value?: undefined;
|
|
53
53
|
action?: undefined;
|
|
54
54
|
} | {
|
|
55
|
-
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
55
|
+
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
56
56
|
label: string | object;
|
|
57
57
|
type?: string | undefined;
|
|
58
58
|
renderer?: string | undefined;
|
|
@@ -60,7 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
60
60
|
action?: undefined;
|
|
61
61
|
isGroupLabel?: undefined;
|
|
62
62
|
} | {
|
|
63
|
-
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
63
|
+
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
64
64
|
label: string | object;
|
|
65
65
|
type?: string | undefined;
|
|
66
66
|
renderer?: string | undefined;
|
|
@@ -146,7 +146,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
146
146
|
roundnessClass: string;
|
|
147
147
|
}, {}>, {
|
|
148
148
|
selection?(_: {
|
|
149
|
-
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
149
|
+
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
150
150
|
label: string | object;
|
|
151
151
|
type?: string | undefined;
|
|
152
152
|
renderer?: string | undefined;
|
|
@@ -154,7 +154,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
154
154
|
value?: undefined;
|
|
155
155
|
action?: undefined;
|
|
156
156
|
} | {
|
|
157
|
-
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
157
|
+
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
158
158
|
label: string | object;
|
|
159
159
|
type?: string | undefined;
|
|
160
160
|
renderer?: string | undefined;
|
|
@@ -162,7 +162,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
162
162
|
action?: undefined;
|
|
163
163
|
isGroupLabel?: undefined;
|
|
164
164
|
} | {
|
|
165
|
-
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
165
|
+
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
166
166
|
label: string | object;
|
|
167
167
|
type?: string | undefined;
|
|
168
168
|
renderer?: string | undefined;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
+
import { Pagination as TPagination } from '../../types/ui.js';
|
|
2
|
+
|
|
1
3
|
declare const _default: {
|
|
2
4
|
title: string;
|
|
3
5
|
args: {
|
|
6
|
+
modelValue: TPagination;
|
|
4
7
|
hasPageSize: boolean;
|
|
5
8
|
showDescription: boolean;
|
|
6
|
-
pagination: {
|
|
7
|
-
page: number;
|
|
8
|
-
pages: number;
|
|
9
|
-
};
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
export default _default;
|
|
@@ -1,44 +1,47 @@
|
|
|
1
|
-
import { PaginationProps } from './types.js';
|
|
2
1
|
import { Pagination } from '../../types/ui.js';
|
|
3
2
|
|
|
4
|
-
declare const _default: import('vue').DefineComponent<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
modelValue: import("vue").PropType<Pagination>;
|
|
5
|
+
disabled: {
|
|
6
|
+
type: import("vue").PropType<boolean>;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
hasPageSize: {
|
|
10
|
+
type: import("vue").PropType<boolean>;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
pageLengths: {
|
|
14
|
+
type: import("vue").PropType<number[]>;
|
|
15
|
+
default: () => number[];
|
|
16
|
+
};
|
|
17
|
+
showDescription: {
|
|
18
|
+
type: import("vue").PropType<boolean>;
|
|
19
|
+
required: true;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
modelValue: import("vue").PropType<Pagination>;
|
|
24
|
+
disabled: {
|
|
25
|
+
type: import("vue").PropType<boolean>;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
hasPageSize: {
|
|
29
|
+
type: import("vue").PropType<boolean>;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
pageLengths: {
|
|
33
|
+
type: import("vue").PropType<number[]>;
|
|
34
|
+
default: () => number[];
|
|
35
|
+
};
|
|
36
|
+
showDescription: {
|
|
37
|
+
type: import("vue").PropType<boolean>;
|
|
38
|
+
required: true;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
}>>, {
|
|
21
42
|
disabled: boolean;
|
|
22
|
-
pagination: Pagination;
|
|
23
43
|
hasPageSize: boolean;
|
|
24
44
|
pageLengths: number[];
|
|
25
45
|
showDescription: boolean;
|
|
26
46
|
}, {}>;
|
|
27
47
|
export default _default;
|
|
28
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
-
} : {
|
|
33
|
-
type: import('vue').PropType<T[K]>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
type __VLS_WithDefaults<P, D> = {
|
|
38
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
39
|
-
default: D[K];
|
|
40
|
-
}> : P[K];
|
|
41
|
-
};
|
|
42
|
-
type __VLS_Prettify<T> = {
|
|
43
|
-
[K in keyof T]: T[K];
|
|
44
|
-
} & {};
|
|
@@ -2,4 +2,4 @@ import { default as PaginationPlugin } from './plugin.js';
|
|
|
2
2
|
import { default as Pagination } from './Pagination.vue';
|
|
3
3
|
|
|
4
4
|
export { Pagination, PaginationPlugin };
|
|
5
|
-
export type { PaginationProps
|
|
5
|
+
export type { PaginationProps } from './types.js';
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import { Pagination } from '../../types/ui.js';
|
|
2
|
-
|
|
3
1
|
export type PaginationProps = {
|
|
4
2
|
disabled?: boolean;
|
|
5
|
-
pagination?: Pagination;
|
|
6
3
|
hasPageSize?: boolean;
|
|
7
4
|
pageLengths?: Array<number>;
|
|
8
5
|
showDescription: boolean;
|
|
9
6
|
};
|
|
10
|
-
export type PaginationEvents = {
|
|
11
|
-
(e: "updated", val: Pagination): void;
|
|
12
|
-
};
|
|
@@ -8,7 +8,7 @@ import { ProgressLineProps } from './ProgressLine/index.js';
|
|
|
8
8
|
import { ProgressCircleProps } from './ProgressCircle/index.js';
|
|
9
9
|
import { PopoverProps } from './Popover/index.js';
|
|
10
10
|
import { PopconfirmProps, PopconfirmEvents } from './Popconfirm/index.js';
|
|
11
|
-
import { PaginationProps
|
|
11
|
+
import { PaginationProps } from './Pagination/index.js';
|
|
12
12
|
import { ModalFormProps, ModalFormEvents } from './ModalForm/index.js';
|
|
13
13
|
import { ModalProps, ModalEvents } from './Modal/index.js';
|
|
14
14
|
import { LinkProps, LinkEvents } from './Link/index.js';
|
|
@@ -42,4 +42,4 @@ import { ButtonProps, ButtonEvents } from './Button/index.js';
|
|
|
42
42
|
import { BackdropProps, BackdropEvents } from './Backdrop/index.js';
|
|
43
43
|
import { AvatarProps } from './Avatar/index.js';
|
|
44
44
|
|
|
45
|
-
export type { AvatarProps, BackdropProps, BackdropEvents, ButtonProps, ButtonEvents, ChartLineProps, ChartTreemapProps, DrawerProps, DrawerEvents, DropdownProps, DropdownEvents, FileDropProps, FileDropEvents, FormProps, FormEvents, FormItemProps, GraphyEmptyProps, GraphyLabelProps, GraphyPriceProps, GraphySubtitleProps, GraphyTitleProps, IconProps, InputAvatarProps, InputAvatarEvents, InputCheckboxProps, InputCheckboxEvents, InputColorProps, InputColorEvents, InputDateProps, InputDateEvents, InputMultiplierEvents, InputPasswordModel, InputPasswordProps, InputPasswordEvents, InputPhoneProps, InputPhoneEvents, InputPriceModel, InputPriceProps, InputPriceEvents, InputRadioProps, InputRadioGroupProps, InputRadioGroupEvents, InputSelectValue, InputSelectProps, InputSelectOption, InputSelectEvents, InputSwitchProps, InputSwitchEvents, InputMultiplierProps, InputTextProps, InputTextEvents, InputTextareaProps, InputTextareaEvents, LinkProps, LinkEvents, ModalProps, ModalEvents, ModalFormProps, ModalFormEvents, PaginationProps,
|
|
45
|
+
export type { AvatarProps, BackdropProps, BackdropEvents, ButtonProps, ButtonEvents, ChartLineProps, ChartTreemapProps, DrawerProps, DrawerEvents, DropdownProps, DropdownEvents, FileDropProps, FileDropEvents, FormProps, FormEvents, FormItemProps, GraphyEmptyProps, GraphyLabelProps, GraphyPriceProps, GraphySubtitleProps, GraphyTitleProps, IconProps, InputAvatarProps, InputAvatarEvents, InputCheckboxProps, InputCheckboxEvents, InputColorProps, InputColorEvents, InputDateProps, InputDateEvents, InputMultiplierEvents, InputPasswordModel, InputPasswordProps, InputPasswordEvents, InputPhoneProps, InputPhoneEvents, InputPriceModel, InputPriceProps, InputPriceEvents, InputRadioProps, InputRadioGroupProps, InputRadioGroupEvents, InputSelectValue, InputSelectProps, InputSelectOption, InputSelectEvents, InputSwitchProps, InputSwitchEvents, InputMultiplierProps, InputTextProps, InputTextEvents, InputTextareaProps, InputTextareaEvents, LinkProps, LinkEvents, ModalProps, ModalEvents, ModalFormProps, ModalFormEvents, PaginationProps, PopconfirmProps, PopconfirmEvents, PopoverProps, ProgressCircleProps, ProgressLineProps, SensitiveInfoProps, SkeletonProps, TabProps, TableProps, TableEvents, TagEvents, TagProps, ToastProps, ToastEvents, };
|
package/dist/types/enums/ui.d.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var r = /* @__PURE__ */ ((e) => (e.Unset = "", e.ExtraSmall = "xs", e.Small = "sm", e.Default = "default", e.Large = "lg", e.ExtraLarge = "xl", e))(r || {}), l = /* @__PURE__ */ ((e) => (e.Unset = "", e.Square = "square", e.Rounded = "rounded", e.Circle = "circle", e))(l || {}), t = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.PRIMARY = "primary", e.SUCCESS = "success", e.DANGER = "danger", e.WARNING = "warning", e.LINK = "link", e.TRANSPARENT = "transparent", e))(t || {}), u = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.PRIMARY = "primary", e.SUCCESS = "success", e.DANGER = "danger", e.WARNING = "warning", e))(u || {}), a = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.HOVER = "hover", e))(a || {}), i = /* @__PURE__ */ ((e) => (e.TOP_START = "top-start", e.TOP = "top", e.TOP_END = "top-end", e.RIGHT_START = "right-start", e.RIGHT = "right", e.RIGHT_END = "right-end", e.BOTTOM_END = "bottom-end", e.BOTTOM = "bottom", e.BOTTOM_START = "bottom-start", e.LEFT_END = "left-end", e.LEFT = "left", e.LEFT_START = "left-start", e))(i || {}), s = /* @__PURE__ */ ((e) => (e.BUTTON = "button", e.SUBMIT = "submit", e.FILE = "file", e))(s || {}), C = /* @__PURE__ */ ((e) => (e.Default = "default", e.Router = "router", e))(C || {}), h = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.INCREASE = "increase", e.DECREASE = "decrease", e.AUTO = "auto", e))(h || {}), g = /* @__PURE__ */ ((e) => (e.Account = "account", e.AlertOctagon = "alert-octagon", e.AlertOctagonOutline = "alert-octagon-outline", e.Archive = "archive", e.ArchiveOutline = "archive-outline", e.ArrowLeft = "arrow-left", e.ArrowRight = "arrow-right", e.Bank = "bank", e.BankOutline = "bank-outline", e.BookAlphabet = "book-alphabet", e.Camera = "camera", e.CardsOutline = "cards-outline", e.CardsVariant = "cards-variant", e.CartOutline = "cart-outline", e.ChartBox = "chart-box", e.ChartBoxOutline = "chart-box-outline", e.Check = "check", e.CheckCircle = "check-circle", e.CheckCircleOutline = "check-circle-outline", e.ChevronDown = "chevron-down", e.ChevronLeft = "chevron-left", e.ChevronRight = "chevron-right", e.ChevronUp = "chevron-up", e.Circle = "circle", e.Clock = "clock", e.Close = "close", e.CloseCircle = "close-circle", e.CloseCircleOutline = "close-circle-outline", e.Cog = "cog", e.ColorFill = "color-fill", e.Copy = "copy", e.CreditCard = "credit-card", e.CreditCardPlus = "credit-card-plus", e.Currency = "currency", e.Database = "database", e.DotsGrid = "dots-grid", e.DotsVertical = "dots-vertical", e.EmailOpenOutline = "email-open-outline", e.EmailOutline = "email-outline", e.Eye = "eye", e.EyeOff = "eye-off", e.FIleDocumentPlusOutline = "file-document-plus-outline", e.Filmstrip = "filmstrip", e.Filter = "filter", e.Fullscreen = "fullscreen", e.FullscreenExit = "fullscreen-exit", e.Group = "group", e.Image = "image", e.ImageAlbum = "image-album", e.ImageAlbumOutline = "image-album-outline", e.ImageOutline = "image-outline", e.InfoOutline = "info-outline", e.Key = "key", e.KeyChain = "key-chain", e.KeyVariant = "key-variant", e.ListboxOutline = "listbox-outline", e.Loading = "loading", e.Lock = "lock", e.LockOutline = "lock-outline", e.Logout = "logout", e.Menu = "menu", e.MenuDown = "menu-down", e.MenuLeft = "menu-left", e.MenuRight = "menu-right", e.Minus = "minus", e.MinusCircle = "minus-circle", e.MinusCircleOutline = "minus-circle-outline", e.Moon = "moon", e.OpenInNew = "open-in-new", e.Pencil = "pencil", e.People = "people", e.PiggyBankOutline = "piggy-bank-outline", e.Plus = "plus", e.PlusCircle = "plus-circle", e.PlusCircleOutline = "plus-circle-outline", e.QrcodeScan = "qrcode-scan", e.Refresh = "refresh", e.Save = "save", e.Search = "search", e.Spotlight = "spotlight", e.StoreOutline = "store-outline", e.Sun = "sun", e.Swap = "swap", e.SwapHorizontal = "swap-horizontal", e.SwapLeft = "swap-left", e.SwapRight = "swap-right", e.SystemTheme = "system-theme", e.TagOutline = "tag-outline", e.TextBox = "text-box", e.TextBoxMultiple = "text-box-multiple", e.TextBoxMultipleOutline = "text-box-multiple-outline", e.TextBoxOutline = "text-box-outline", e.TrashCan = "trash-can", e.TrashCanOutline = "trash-can-outline", e.Upload = "upload", e.UserCircle = "user-circle", e.ZipBox = "zip-box", e))(g || {});
|
|
2
|
+
export {
|
|
3
|
+
t as B,
|
|
4
|
+
i as E,
|
|
5
|
+
h as G,
|
|
6
|
+
g as I,
|
|
7
|
+
C as L,
|
|
8
|
+
u as T,
|
|
9
|
+
r as a,
|
|
10
|
+
l as b,
|
|
11
|
+
s as c,
|
|
12
|
+
a as d
|
|
13
|
+
};
|
package/package.json
CHANGED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, ref as m, computed as p, watch as f, openBlock as h, createElementBlock as d, normalizeClass as k, unref as o, normalizeStyle as b } from "vue";
|
|
2
|
-
import { a as t } from "./ui-Zkd1OIva.js";
|
|
3
|
-
const x = (n, i) => {
|
|
4
|
-
const s = n[i];
|
|
5
|
-
return s ? typeof s == "function" ? s() : Promise.resolve(s) : new Promise((r, e) => {
|
|
6
|
-
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(e.bind(null, new Error("Unknown variable dynamic import: " + i)));
|
|
7
|
-
});
|
|
8
|
-
}, w = ["innerHTML", "role"], _ = /* @__PURE__ */ u({
|
|
9
|
-
name: "TIcon",
|
|
10
|
-
__name: "Icon",
|
|
11
|
-
props: {
|
|
12
|
-
icon: {},
|
|
13
|
-
role: { default: "" },
|
|
14
|
-
size: { default: t.Default }
|
|
15
|
-
},
|
|
16
|
-
setup(n, { expose: i }) {
|
|
17
|
-
const s = n, r = m(""), e = m(null), g = p(() => s.role === "button"), l = p(() => s.role !== "" ? s.role : ""), v = async () => (await x(/* @__PURE__ */ Object.assign({ "../../assets/icons/account.svg": () => import("./account-BJGxzbeL.js"), "../../assets/icons/alert-octagon-outline.svg": () => import("./alert-octagon-outline-fM2QVbyq.js"), "../../assets/icons/alert-octagon.svg": () => import("./alert-octagon-BIUtdQBd.js"), "../../assets/icons/archive-outline.svg": () => import("./archive-outline-BT6uCRX5.js"), "../../assets/icons/archive.svg": () => import("./archive-DDuuzVUo.js"), "../../assets/icons/arrow-left.svg": () => import("./arrow-left-CVipcGWo.js"), "../../assets/icons/arrow-right.svg": () => import("./arrow-right-DHFo5L72.js"), "../../assets/icons/bank-outline.svg": () => import("./bank-outline-wy0O9ni0.js"), "../../assets/icons/bank.svg": () => import("./bank-lwoR1P6d.js"), "../../assets/icons/camera.svg": () => import("./camera-BXoPauop.js"), "../../assets/icons/cards-outline.svg": () => import("./cards-outline-B0no8Z63.js"), "../../assets/icons/cards-variant.svg": () => import("./cards-variant-CU6V8mdM.js"), "../../assets/icons/cart-outline.svg": () => import("./cart-outline-C99s8OpS.js"), "../../assets/icons/chart-box-outline.svg": () => import("./chart-box-outline-C9ymwfIH.js"), "../../assets/icons/chart-box.svg": () => import("./chart-box-tyepg_QH.js"), "../../assets/icons/check-circle-outline.svg": () => import("./check-circle-outline-B4zmPfuc.js"), "../../assets/icons/check-circle.svg": () => import("./check-circle-C3Kf7DnE.js"), "../../assets/icons/check.svg": () => import("./check-iUT-FuWa.js"), "../../assets/icons/checkbox-dark.svg": () => import("./checkbox-dark-D_btgwCX.js"), "../../assets/icons/checkbox-indeterminate-dark.svg": () => import("./checkbox-indeterminate-dark-CSrkJBRG.js"), "../../assets/icons/checkbox-indeterminate.svg": () => import("./checkbox-indeterminate-CtbmyFkw.js"), "../../assets/icons/checkbox.svg": () => import("./checkbox-TojXdFTq.js"), "../../assets/icons/chevron-down.svg": () => import("./chevron-down-CJLshITY.js"), "../../assets/icons/chevron-left.svg": () => import("./chevron-left-n_sGCmlG.js"), "../../assets/icons/chevron-right.svg": () => import("./chevron-right-C8uLqjmq.js"), "../../assets/icons/chevron-up.svg": () => import("./chevron-up-b6VdQM8S.js"), "../../assets/icons/circle.svg": () => import("./circle-DhoEDuC5.js"), "../../assets/icons/clock.svg": () => import("./clock-BqMI2OIG.js"), "../../assets/icons/close-circle-outline.svg": () => import("./close-circle-outline-CUXfYV4M.js"), "../../assets/icons/close-circle.svg": () => import("./close-circle-Bvyw4JKW.js"), "../../assets/icons/close.svg": () => import("./close-DemH4JAO.js"), "../../assets/icons/cog.svg": () => import("./cog-Dd9I6z5D.js"), "../../assets/icons/color-fill.svg": () => import("./color-fill-DWx77G0p.js"), "../../assets/icons/copy.svg": () => import("./copy-D-Dqxp8h.js"), "../../assets/icons/credit-card-plus.svg": () => import("./credit-card-plus-TUZq5Zi0.js"), "../../assets/icons/credit-card.svg": () => import("./credit-card-B3VjoUad.js"), "../../assets/icons/currency.svg": () => import("./currency-BuSji4qA.js"), "../../assets/icons/database.svg": () => import("./database-CNG_l2Or.js"), "../../assets/icons/dots-grid.svg": () => import("./dots-grid-BhRGZg1t.js"), "../../assets/icons/dots-vertical.svg": () => import("./dots-vertical-nYIDxlT1.js"), "../../assets/icons/email-open-outline.svg": () => import("./email-open-outline-NlRAK8vu.js"), "../../assets/icons/email-outline.svg": () => import("./email-outline-v-beMKo_.js"), "../../assets/icons/eye-off.svg": () => import("./eye-off-Dq2WOPSG.js"), "../../assets/icons/eye.svg": () => import("./eye-C7_UM0rn.js"), "../../assets/icons/file-document-plus-outline.svg": () => import("./file-document-plus-outline-C_GeG8ak.js"), "../../assets/icons/filmstrip.svg": () => import("./filmstrip-Dg66xHap.js"), "../../assets/icons/filter.svg": () => import("./filter-07gM0IrM.js"), "../../assets/icons/fullscreen-exit.svg": () => import("./fullscreen-exit-DvHy2f8E.js"), "../../assets/icons/fullscreen.svg": () => import("./fullscreen-daZRwm-1.js"), "../../assets/icons/group.svg": () => import("./group-B1HQcmCl.js"), "../../assets/icons/image-album-outline.svg": () => import("./image-album-outline-oiPipPnp.js"), "../../assets/icons/image-album.svg": () => import("./image-album-DVl72ioK.js"), "../../assets/icons/image-outline.svg": () => import("./image-outline-CLpFyr7w.js"), "../../assets/icons/image.svg": () => import("./image-C-DY_SfK.js"), "../../assets/icons/info-outline.svg": () => import("./info-outline-Mn6Hjz_K.js"), "../../assets/icons/key-chain.svg": () => import("./key-chain-D-8-GrU2.js"), "../../assets/icons/key-variant.svg": () => import("./key-variant-DViBRFAJ.js"), "../../assets/icons/key.svg": () => import("./key-B8iEXxGx.js"), "../../assets/icons/listbox-outline.svg": () => import("./listbox-outline-BBriTS-r.js"), "../../assets/icons/loading.svg": () => import("./loading-E4eFmVsP.js"), "../../assets/icons/lock-outline.svg": () => import("./lock-outline-K2LxC2b6.js"), "../../assets/icons/lock.svg": () => import("./lock-Nv-e-b24.js"), "../../assets/icons/logout.svg": () => import("./logout-BHwFpuou.js"), "../../assets/icons/menu-down.svg": () => import("./menu-down-B4Fy5IG1.js"), "../../assets/icons/menu-left.svg": () => import("./menu-left-D8G3frKt.js"), "../../assets/icons/menu-right.svg": () => import("./menu-right-CMt4thJ2.js"), "../../assets/icons/menu.svg": () => import("./menu-pq7WWaJu.js"), "../../assets/icons/minus-circle-outline.svg": () => import("./minus-circle-outline-B-x6EXPD.js"), "../../assets/icons/minus-circle.svg": () => import("./minus-circle-D_N5NZW-.js"), "../../assets/icons/minus.svg": () => import("./minus-CSCkQnOm.js"), "../../assets/icons/moon.svg": () => import("./moon-Bhm_ZTV6.js"), "../../assets/icons/open-in-new.svg": () => import("./open-in-new-C2Btl_1k.js"), "../../assets/icons/pencil.svg": () => import("./pencil-BETebgXX.js"), "../../assets/icons/people.svg": () => import("./people-BUW1DRzH.js"), "../../assets/icons/piggy-bank-outline.svg": () => import("./piggy-bank-outline-5cDQNrSU.js"), "../../assets/icons/plus-circle-outline.svg": () => import("./plus-circle-outline-C-kkX0ke.js"), "../../assets/icons/plus-circle.svg": () => import("./plus-circle-Cl0YprEp.js"), "../../assets/icons/plus.svg": () => import("./plus-sbcOm60H.js"), "../../assets/icons/qrcode-scan.svg": () => import("./qrcode-scan-CpLrVFw_.js"), "../../assets/icons/radio-dark.svg": () => import("./radio-dark-Cr5v17AF.js"), "../../assets/icons/radio.svg": () => import("./radio-DkjVAhsO.js"), "../../assets/icons/refresh.svg": () => import("./refresh-DPlMWd1M.js"), "../../assets/icons/save.svg": () => import("./save-BmMH4S8b.js"), "../../assets/icons/search.svg": () => import("./search-Co2MwWOK.js"), "../../assets/icons/spotlight.svg": () => import("./spotlight-TNyCQzOY.js"), "../../assets/icons/store-outline.svg": () => import("./store-outline-B-fuVZzv.js"), "../../assets/icons/sun.svg": () => import("./sun-BWKjCEHH.js"), "../../assets/icons/swap-horizontal.svg": () => import("./swap-horizontal-DociZUG2.js"), "../../assets/icons/swap-left.svg": () => import("./swap-left-Bd2DOgf3.js"), "../../assets/icons/swap-right.svg": () => import("./swap-right-D0VYxBDb.js"), "../../assets/icons/swap.svg": () => import("./swap-CNbqKTl0.js"), "../../assets/icons/system-theme.svg": () => import("./system-theme-Cez6mSv_.js"), "../../assets/icons/tag-outline.svg": () => import("./tag-outline-Ce_qOxif.js"), "../../assets/icons/text-box-multiple-outline.svg": () => import("./text-box-multiple-outline-B3r1hkOs.js"), "../../assets/icons/text-box-multiple.svg": () => import("./text-box-multiple-6B79Kunt.js"), "../../assets/icons/text-box-outline.svg": () => import("./text-box-outline-Ckr037Wz.js"), "../../assets/icons/text-box.svg": () => import("./text-box-BVc9B9n0.js"), "../../assets/icons/trash-can-outline.svg": () => import("./trash-can-outline-DjtqZHOC.js"), "../../assets/icons/trash-can.svg": () => import("./trash-can-CKPtMqSf.js"), "../../assets/icons/upload.svg": () => import("./upload-CKfrBexU.js"), "../../assets/icons/user-circle.svg": () => import("./user-circle-D102n1FB.js"), "../../assets/icons/zip-box.svg": () => import("./zip-box-C10560VY.js") }), `../../assets/icons/${s.icon}.svg`)).default;
|
|
18
|
-
return f(
|
|
19
|
-
() => s.icon,
|
|
20
|
-
async (c, a) => {
|
|
21
|
-
c !== a && (r.value = await v());
|
|
22
|
-
},
|
|
23
|
-
{ immediate: !0 }
|
|
24
|
-
), i({ reference: e }), (c, a) => (h(), d("i", {
|
|
25
|
-
innerHTML: r.value,
|
|
26
|
-
ref_key: "reference",
|
|
27
|
-
ref: e,
|
|
28
|
-
class: k(["inline-block fill-current", {
|
|
29
|
-
"w-3 h-3": s.size === o(t).ExtraSmall,
|
|
30
|
-
"w-5 h-5": s.size === o(t).Small,
|
|
31
|
-
"w-6 h-6": s.size === o(t).Default,
|
|
32
|
-
"w-12 h-12": s.size === o(t).Large,
|
|
33
|
-
"w-16 h-16": s.size === o(t).ExtraLarge,
|
|
34
|
-
"cursor-pointer": g.value
|
|
35
|
-
}]),
|
|
36
|
-
style: b(
|
|
37
|
-
typeof s.size == "number" ? `width: ${s.size}px; height: ${s.size}px;` : ""
|
|
38
|
-
),
|
|
39
|
-
role: l.value
|
|
40
|
-
}, null, 14, w));
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
export {
|
|
44
|
-
_
|
|
45
|
-
};
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { defineComponent as B, computed as s, watch as S, resolveComponent as h, openBlock as p, createElementBlock as g, toDisplayString as V, createCommentVNode as v, createElementVNode as _, createVNode as b, normalizeClass as d, Fragment as L, renderList as N, createBlock as y } from "vue";
|
|
2
|
-
const O = { class: "flex gap-2 items-center flex-wrap" }, D = {
|
|
3
|
-
key: 0,
|
|
4
|
-
class: "md:block hidden"
|
|
5
|
-
}, I = { class: "h-9 flex" }, E = /* @__PURE__ */ B({
|
|
6
|
-
name: "TPagination",
|
|
7
|
-
__name: "Pagination",
|
|
8
|
-
props: {
|
|
9
|
-
disabled: { type: Boolean, default: !1 },
|
|
10
|
-
pagination: { default: () => ({}) },
|
|
11
|
-
hasPageSize: { type: Boolean, default: !0 },
|
|
12
|
-
pageLengths: { default: () => [12, 18, 24, 30, 36, 42] },
|
|
13
|
-
showDescription: { type: Boolean, default: !1 }
|
|
14
|
-
},
|
|
15
|
-
emits: ["updated"],
|
|
16
|
-
setup(P, { emit: k }) {
|
|
17
|
-
const e = P, u = k, c = s(() => e.pagination.page === 1), m = s(
|
|
18
|
-
() => e.pagination.page === e.pagination.pages
|
|
19
|
-
), w = s(() => {
|
|
20
|
-
const a = e.pagination.pages || 1, n = e.pagination.page || 1, t = [], r = Math.max(2, n - 2), i = Math.min(a - 1, n + 2);
|
|
21
|
-
a > 1 && t.push(1);
|
|
22
|
-
for (let o = r; o <= i; o++)
|
|
23
|
-
o > 1 && o < a && t.push(o);
|
|
24
|
-
return a > 1 && t.push(a), t;
|
|
25
|
-
}), $ = s(() => e.pageLengths.map((a) => ({
|
|
26
|
-
label: `${a} / page`,
|
|
27
|
-
value: a
|
|
28
|
-
}))), C = s(() => {
|
|
29
|
-
if (e.pagination.items && e.pagination.skip && e.pagination.items) {
|
|
30
|
-
const a = e.pagination.skip + 1, n = e.pagination.skip + e.pagination.items, t = e.pagination.totalItems;
|
|
31
|
-
return `Showing ${a} to ${n} of ${t} entries`;
|
|
32
|
-
}
|
|
33
|
-
return `Page ${e.pagination.page} of ${e.pagination.pages}`;
|
|
34
|
-
}), f = (a = e.pagination.page) => {
|
|
35
|
-
const n = {
|
|
36
|
-
...e.pagination,
|
|
37
|
-
page: a
|
|
38
|
-
};
|
|
39
|
-
"perPage" in e.pagination && "skip" in e.pagination && "totalItems" in e.pagination && (n.skip = a > 1 ? (a - 1) * e.pagination.perPage : 0, n.items = e.pagination.perPage ? e.pagination.perPage : e.pagination.totalItems - n.skip), JSON.stringify(e.pagination) !== JSON.stringify(n) && (Object.assign(e.pagination, n), u("updated", e.pagination));
|
|
40
|
-
}, l = (a) => {
|
|
41
|
-
a === e.pagination.page || a < 1 || a > e.pagination.pages || f(a);
|
|
42
|
-
}, z = (a) => {
|
|
43
|
-
Object.assign(e.pagination, {
|
|
44
|
-
...e.pagination,
|
|
45
|
-
perPage: a,
|
|
46
|
-
page: 1
|
|
47
|
-
}), u("updated", e.pagination);
|
|
48
|
-
};
|
|
49
|
-
return S(
|
|
50
|
-
() => e.pagination,
|
|
51
|
-
() => f(),
|
|
52
|
-
{ deep: !0, immediate: !0 }
|
|
53
|
-
), (a, n) => {
|
|
54
|
-
const t = h("t-button"), r = h("t-input-select");
|
|
55
|
-
return p(), g("div", O, [
|
|
56
|
-
a.showDescription ? (p(), g("div", D, V(C.value), 1)) : v("", !0),
|
|
57
|
-
_("div", I, [
|
|
58
|
-
b(t, {
|
|
59
|
-
size: "sm",
|
|
60
|
-
variant: "primary",
|
|
61
|
-
"disable-style": !0,
|
|
62
|
-
class: d(["h-9 px-2 input-roundness rounded-r-none", { "opacity-50 cursor-not-allowed": c.value }]),
|
|
63
|
-
icon: "chevron-left",
|
|
64
|
-
disabled: c.value,
|
|
65
|
-
onClick: n[0] || (n[0] = (i) => l(a.pagination.page - 1))
|
|
66
|
-
}, null, 8, ["class", "disabled"]),
|
|
67
|
-
(p(!0), g(L, null, N(w.value, (i) => (p(), y(t, {
|
|
68
|
-
"disable-style": !0,
|
|
69
|
-
label: `${i}`,
|
|
70
|
-
disabled: i === a.pagination.page,
|
|
71
|
-
class: d([{
|
|
72
|
-
"opacity-50 cursor-not-allowed": i === a.pagination.page
|
|
73
|
-
}, "h-9 px-2 rounded-none"]),
|
|
74
|
-
size: "sm",
|
|
75
|
-
variant: "primary",
|
|
76
|
-
onClick: (o) => l(i)
|
|
77
|
-
}, null, 8, ["label", "disabled", "class", "onClick"]))), 256)),
|
|
78
|
-
b(t, {
|
|
79
|
-
size: "sm",
|
|
80
|
-
variant: "primary",
|
|
81
|
-
"disable-style": !0,
|
|
82
|
-
class: d(["h-9 px-2 input-roundness rounded-l-none", { "opacity-50 cursor-not-allowed": m.value }]),
|
|
83
|
-
icon: "chevron-right",
|
|
84
|
-
disabled: m.value,
|
|
85
|
-
onClick: n[1] || (n[1] = (i) => l(a.pagination.page + 1))
|
|
86
|
-
}, null, 8, ["class", "disabled"])
|
|
87
|
-
]),
|
|
88
|
-
e.hasPageSize ? (p(), y(r, {
|
|
89
|
-
key: 1,
|
|
90
|
-
modelValue: a.pagination.perPage,
|
|
91
|
-
"onUpdate:modelValue": [
|
|
92
|
-
n[2] || (n[2] = (i) => a.pagination.perPage = i),
|
|
93
|
-
z
|
|
94
|
-
],
|
|
95
|
-
"width-class": "",
|
|
96
|
-
class: "w-fit min-w-32",
|
|
97
|
-
"dropdown-placement": "top",
|
|
98
|
-
disabled: a.disabled,
|
|
99
|
-
options: $.value
|
|
100
|
-
}, null, 8, ["modelValue", "disabled", "options"])) : v("", !0)
|
|
101
|
-
]);
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
export {
|
|
106
|
-
E as _
|
|
107
|
-
};
|