@mobileaction/action-kit 1.21.43 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action-kit.js +1 -1
- package/dist/action-kit.mjs +7 -7
- package/dist/chevron-left-26b60cf0.mjs +21 -0
- package/dist/chevron-left-9597863c.js +1 -0
- package/dist/chevron-right-53fbda71.mjs +21 -0
- package/dist/chevron-right-e08e788e.js +1 -0
- package/dist/components/checkbox/group.vue.d.ts +3 -3
- package/dist/components/checkbox/index.vue.d.ts +3 -3
- package/dist/components/icon/components/flagIcon.vue.d.ts +1 -1
- package/dist/components/icon/components/maIcon.vue.d.ts +3 -3
- package/dist/components/icon/index.vue.d.ts +3 -3
- package/dist/components/icon-button/components/button.vue.d.ts +2 -2
- package/dist/components/icon-button/index.vue.d.ts +3 -3
- package/dist/components/pagination/index.vue.d.ts +132 -42
- package/dist/components/pagination/types.d.ts +19 -2
- package/dist/components/progress/components/circle.vue.d.ts +2 -2
- package/dist/components/progress/components/halfCircle.vue.d.ts +2 -2
- package/dist/components/progress/components/line.vue.d.ts +2 -2
- package/dist/components/progress/components/stepLine.vue.d.ts +2 -2
- package/dist/components/progress/index.vue.d.ts +3 -3
- package/dist/components/rate/components/star.vue.d.ts +2 -2
- package/dist/components/tag-input/index.vue.d.ts +3 -3
- package/dist/components/track-button/index.vue.d.ts +3 -3
- package/dist/components/upload/index.vue.d.ts +3 -3
- package/dist/components/watchlist-button/components/button.vue.d.ts +2 -2
- package/dist/components/watchlist-button/index.vue.d.ts +3 -3
- package/dist/index-0071f266.mjs +9930 -0
- package/dist/index-47430f7f.js +53 -0
- package/dist/lottie_light-1423b6a7.js +9 -0
- package/dist/{lottie_light-98c80831.mjs → lottie_light-dc5b306d.mjs} +473 -492
- package/dist/src/components/pagination/index.vue.d.ts +171 -39
- package/dist/src/components/pagination/pagination.test.d.ts +1 -0
- package/dist/src/components/pagination/stories/default.stories.d.ts +1 -2
- package/dist/src/components/pagination/types.d.ts +19 -2
- package/dist/src/utils/breakpoints.d.ts +16 -0
- package/dist/src/utils/breakpoints.test.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/utils/breakpoints.d.ts +16 -0
- package/package.json +4 -4
- package/dist/chevron-left-326ad5ea.js +0 -1
- package/dist/chevron-left-cc52a4d7.mjs +0 -22
- package/dist/chevron-right-1fc62c60.js +0 -1
- package/dist/chevron-right-817fda2d.mjs +0 -22
- package/dist/index-163b07e0.js +0 -53
- package/dist/index-e2b3b395.mjs +0 -9596
- package/dist/lottie_light-7680adde.js +0 -9
package/dist/action-kit.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-47430f7f.js"),e=require("ant-design-vue");require("vue");require("vuedraggable");exports.ActionKitConfig=a.ActionKitConfig;exports.Animations=a.Animations;exports.AppIconPlatforms=a.AppIconPlatforms;exports.AppIconSizes=a.AppIconSizes;exports.ButtonIconAlignMents=a.ButtonIconAlignMents;exports.ButtonShapes=a.ButtonShapes;exports.ButtonSizes=a.ButtonSizes;exports.ButtonTargets=a.ButtonTargets;exports.ButtonTypes=a.ButtonTypes;exports.ButtonVariants=a.ButtonVariants;exports.MaAlert=a._sfc_main$19;exports.MaAlertPropTypes=a.MaAlertPropTypes;exports.MaAlertPropVariants=a.MaAlertPropVariants;exports.MaAnimation=a._sfc_main$20;exports.MaAppCheckbox=a._sfc_main$46;exports.MaAppIcon=a._sfc_main$15;exports.MaAppTrackButton=a._sfc_main$14;exports.MaAutoComplete=a._sfc_main$34;exports.MaAvatar=a._sfc_main$47;exports.MaBadge=a._sfc_main$18;exports.MaBadgePropIconAlignments=a.MaBadgePropIconAlignments;exports.MaBadgePropSizes=a.MaBadgePropSizes;exports.MaBadgePropTypes=a.MaBadgePropTypes;exports.MaBadgePropVariants=a.MaBadgePropVariants;exports.MaButton=a._sfc_main;exports.MaCard=a._sfc_main$38;exports.MaCardAlignments=a.MaCardAlignments;exports.MaCardIconColors=a.MaCardIconColors;exports.MaCardSizes=a.MaCardSizes;exports.MaCheckbox=a._sfc_main$11;exports.MaCheckboxGroup=a._sfc_main$12;exports.MaCountryRadio=a._sfc_main$44;exports.MaCountrySelect=a._sfc_main$37;exports.MaDrawer=a._sfc_main$40;exports.MaDropdown=a._sfc_main$24;exports.MaDropdownPlacements=a.MaDropdownPlacements;exports.MaDropdownTriggers=a.MaDropdownTriggers;exports.MaEmpty=a._sfc_main$25;exports.MaEmptyIcons=a.MaEmptyIcons;exports.MaEmptySizes=a.MaEmptySizes;exports.MaEmptyVariants=a.MaEmptyVariants;exports.MaFlagIconRatios=a.MaFlagIconRatios;exports.MaForm=a._sfc_main$5;exports.MaFormItem=a._sfc_main$6;exports.MaFormLayouts=a.MaFormLayouts;exports.MaIcon=a._sfc_main$8;exports.MaIconButton=a._sfc_main$42;exports.MaIconSizeClassNames=a.MaIconSizeClassNames;exports.MaIconSizes=a.MaIconSizes;exports.MaImage=a._sfc_main$56;exports.MaImageGroup=a._sfc_main$57;exports.MaInput=a._sfc_main$7;exports.MaInputCurrency=a.MaInputCurrency;exports.MaInputNumber=a._sfc_main$39;exports.MaInputSize=a.MaInputSize;exports.MaInputType=a.MaInputType;exports.MaKeywordGroupSelection=a._sfc_main$41;exports.MaList=a._sfc_main$49;exports.MaListItem=a.MaListItem;exports.MaListItemMeta=a._sfc_main$50;exports.MaModal=a._sfc_main$21;exports.MaModalTypeIcon=a.MaModalTypeIcon;exports.MaModalTypes=a.MaModalTypes;exports.MaNumericInput=a._sfc_main$13;exports.MaPagination=a._sfc_main$55;exports.MaPopconfirm=a._sfc_main$58;exports.MaPopover=a._sfc_main$45;exports.MaProgress=a._sfc_main$33;exports.MaProgressCircleSizes=a.MaProgressCircleSizes;exports.MaProgressColors=a.MaProgressColors;exports.MaProgressPercentAlignments=a.MaProgressPercentAlignments;exports.MaProgressTypes=a.MaProgressTypes;exports.MaRadio=a._sfc_main$16;exports.MaRadioCard=a._sfc_main$61;exports.MaRadioGroup=a._sfc_main$17;exports.MaRadioTypes=a.MaRadioTypes;exports.MaRate=a._sfc_main$22;exports.MaRateColors=a.MaRateColors;exports.MaRateSizes=a.MaRateSizes;exports.MaResult=a.index;exports.MaScrollableBadge=a._sfc_main$51;exports.MaSelect=a._sfc_main$9;exports.MaSelectOption=a._sfc_main$10;exports.MaSideMenuAddNewAppButton=a._sfc_main$32;exports.MaSideMenuAppButton=a._sfc_main$31;exports.MaSideMenuButton=a._sfc_main$27;exports.MaSideMenuIconButton=a._sfc_main$29;exports.MaSideMenuItem=a._sfc_main$28;exports.MaSideMenuItemColors=a.MaSideMenuItemColors;exports.MaSideMenuRoundIconButton=a._sfc_main$30;exports.MaSlider=a._sfc_main$43;exports.MaSpin=a._sfc_main$23;exports.MaSpinColors=a.MaSpinColors;exports.MaSpinTypes=a.MaSpinTypes;exports.MaStep=a._sfc_main$54;exports.MaStepItem=a._sfc_main$60;exports.MaStepItems=a._sfc_main$59;exports.MaSteps=a._sfc_main$53;exports.MaSwitch=a._sfc_main$3;exports.MaTabIconAlignMents=a.MaTabIconAlignMents;exports.MaTabPane=a._sfc_main$36;exports.MaTabPositions=a.MaTabPositions;exports.MaTabTypes=a.MaTabTypes;exports.MaTabs=a._sfc_main$35;exports.MaTagInput=a._sfc_main$48;exports.MaToggle=a._sfc_main$2;exports.MaTooltip=a._sfc_main$4;exports.MaTrackButton=a._sfc_main$1;exports.MaUpload=a._sfc_main$26;exports.MaUploadFileStatus=a.MaUploadFileStatus;exports.MaUploadSizes=a.MaUploadSizes;exports.MaUploadTypes=a.MaUploadTypes;exports.MaWatchlistButton=a._sfc_main$52;exports.NumericInputSizes=a.NumericInputSizes;exports.SelectModes=a.SelectModes;exports.SelectSizes=a.SelectSizes;exports.SwitchTypes=a.SwitchTypes;exports.ToggleSizes=a.ToggleSizes;exports.TooltipPlacements=a.TooltipPlacements;exports.TooltipTriggerTypes=a.TooltipTriggerTypes;exports.TooltipTypes=a.TooltipTypes;exports.TrackButtonSizes=a.TrackButtonSizes;exports.TrackButtonVariants=a.TrackButtonVariants;exports.currencyOptions=a.currencyOptions;exports.currencySymbols=a.currencySymbols;exports.useActionKitConfig=a.useActionKitConfig;Object.defineProperty(exports,"MaSelectOptGroup",{enumerable:!0,get:()=>e.SelectOptGroup});
|
package/dist/action-kit.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SelectOptGroup as
|
|
1
|
+
import { ac as t, aM as M, aE as n, aD as r, aj as p, ah as i, ag as u, ai as l, ae as c, af as S, u as d, aL as m, aK as I, v as T, V as g, q as y, p as B, J as A, W as b, t as C, aJ as P, aI as z, aH as R, aG as w, _ as h, N as k, b7 as f, b9 as G, b8 as x, m as F, n as N, T as V, M as D, P as E, z as L, aT as O, aU as U, A as K, aX as v, aV as W, aW as j, ay as q, f as H, h as J, ar as Q, j as X, R as Y, az as Z, ax as _, a5 as $, a6 as aa, i as sa, au as ea, O as oa, at as ta, as as Ma, Q as na, Y as ra, Z as pa, $ as ia, w as ua, aO as la, aN as ca, o as Sa, a4 as da, a8 as ma, U as Ia, I as Ta, b2 as ga, b1 as ya, b3 as Ba, b0 as Aa, r as ba, ab as Ca, s as Pa, aF as za, x as Ra, aQ as wa, aP as ha, a7 as ka, a0 as fa, k as Ga, l as xa, H as Fa, G as Na, C as Va, E as Da, D as Ea, a$ as La, F as Oa, S as Ua, y as Ka, aS as va, aR as Wa, a3 as ja, aa as qa, a9 as Ha, a2 as Ja, d as Qa, b6 as Xa, L as Ya, b4 as Za, b5 as _a, K as $a, X as as, b as ss, e as es, a as os, B as ts, a_ as Ms, aZ as ns, aY as rs, a1 as ps, aC as is, aB as us, aA as ls, an as cs, am as Ss, ao as ds, aq as ms, ap as Is, al as Ts, ak as gs, aw as ys, av as Bs, ad as As } from "./index-0071f266.mjs";
|
|
2
|
+
import { SelectOptGroup as Cs } from "ant-design-vue";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "vuedraggable";
|
|
5
5
|
export {
|
|
@@ -21,8 +21,8 @@ export {
|
|
|
21
21
|
y as MaAppIcon,
|
|
22
22
|
B as MaAppTrackButton,
|
|
23
23
|
A as MaAutoComplete,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
b as MaAvatar,
|
|
25
|
+
C as MaBadge,
|
|
26
26
|
P as MaBadgePropIconAlignments,
|
|
27
27
|
z as MaBadgePropSizes,
|
|
28
28
|
R as MaBadgePropTypes,
|
|
@@ -75,8 +75,8 @@ export {
|
|
|
75
75
|
ya as MaProgressColors,
|
|
76
76
|
Ba as MaProgressPercentAlignments,
|
|
77
77
|
Aa as MaProgressTypes,
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
ba as MaRadio,
|
|
79
|
+
Ca as MaRadioCard,
|
|
80
80
|
Pa as MaRadioGroup,
|
|
81
81
|
za as MaRadioTypes,
|
|
82
82
|
Ra as MaRate,
|
|
@@ -85,7 +85,7 @@ export {
|
|
|
85
85
|
ka as MaResult,
|
|
86
86
|
fa as MaScrollableBadge,
|
|
87
87
|
Ga as MaSelect,
|
|
88
|
-
|
|
88
|
+
Cs as MaSelectOptGroup,
|
|
89
89
|
xa as MaSelectOption,
|
|
90
90
|
Fa as MaSideMenuAddNewAppButton,
|
|
91
91
|
Na as MaSideMenuAppButton,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
viewBox: "0 0 20 20",
|
|
4
|
+
fill: "none",
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
6
|
+
}, l = /* @__PURE__ */ t("path", {
|
|
7
|
+
"fill-rule": "evenodd",
|
|
8
|
+
"clip-rule": "evenodd",
|
|
9
|
+
d: "M12.4053 5.92798C12.1124 5.63509 11.6376 5.63509 11.3447 5.92798L8.01134 9.26132C7.71844 9.55421 7.71844 10.0291 8.01134 10.322L11.3447 13.6553C11.6376 13.9482 12.1124 13.9482 12.4053 13.6553C12.6982 13.3624 12.6982 12.8875 12.4053 12.5946L9.60233 9.79165L12.4053 6.98864C12.6982 6.69575 12.6982 6.22088 12.4053 5.92798Z",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
}, null, -1), r = [
|
|
12
|
+
l
|
|
13
|
+
];
|
|
14
|
+
function c(d, s) {
|
|
15
|
+
return e(), o("svg", n, r);
|
|
16
|
+
}
|
|
17
|
+
const _ = { render: c };
|
|
18
|
+
export {
|
|
19
|
+
_ as default,
|
|
20
|
+
c as render
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.4053 5.92798C12.1124 5.63509 11.6376 5.63509 11.3447 5.92798L8.01134 9.26132C7.71844 9.55421 7.71844 10.0291 8.01134 10.322L11.3447 13.6553C11.6376 13.9482 12.1124 13.9482 12.4053 13.6553C12.6982 13.3624 12.6982 12.8875 12.4053 12.5946L9.60233 9.79165L12.4053 6.98864C12.6982 6.69575 12.6982 6.22088 12.4053 5.92798Z",fill:"currentColor"},null,-1),r=[n];function t(c,d){return e.openBlock(),e.createElementBlock("svg",o,r)}const l={render:t};exports.default=l;exports.render=t;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
viewBox: "0 0 20 20",
|
|
4
|
+
fill: "none",
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
6
|
+
}, l = /* @__PURE__ */ t("path", {
|
|
7
|
+
"fill-rule": "evenodd",
|
|
8
|
+
"clip-rule": "evenodd",
|
|
9
|
+
d: "M7.59467 5.92798C7.88756 5.63509 8.36244 5.63509 8.65533 5.92798L11.9887 9.26132C12.2816 9.55421 12.2816 10.0291 11.9887 10.322L8.65533 13.6553C8.36244 13.9482 7.88756 13.9482 7.59467 13.6553C7.30178 13.3624 7.30178 12.8875 7.59467 12.5946L10.3977 9.79165L7.59467 6.98864C7.30178 6.69575 7.30178 6.22088 7.59467 5.92798Z",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
}, null, -1), r = [
|
|
12
|
+
l
|
|
13
|
+
];
|
|
14
|
+
function c(d, i) {
|
|
15
|
+
return e(), o("svg", n, r);
|
|
16
|
+
}
|
|
17
|
+
const h = { render: c };
|
|
18
|
+
export {
|
|
19
|
+
h as default,
|
|
20
|
+
c as render
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.59467 5.92798C7.88756 5.63509 8.36244 5.63509 8.65533 5.92798L11.9887 9.26132C12.2816 9.55421 12.2816 10.0291 11.9887 10.322L8.65533 13.6553C8.36244 13.9482 7.88756 13.9482 7.59467 13.6553C7.30178 13.3624 7.30178 12.8875 7.59467 12.5946L10.3977 9.79165L7.59467 6.98864C7.30178 6.69575 7.30178 6.22088 7.59467 5.92798Z",fill:"currentColor"},null,-1),r=[n];function t(c,d){return e.openBlock(),e.createElementBlock("svg",o,r)}const l={render:t};exports.default=l;exports.render=t;
|
|
@@ -17,7 +17,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
17
17
|
required: false;
|
|
18
18
|
};
|
|
19
19
|
size: {
|
|
20
|
-
type: __PropType<"
|
|
20
|
+
type: __PropType<"lg" | "md">;
|
|
21
21
|
required: false;
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
@@ -35,7 +35,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
35
35
|
required: false;
|
|
36
36
|
};
|
|
37
37
|
size: {
|
|
38
|
-
type: __PropType<"
|
|
38
|
+
type: __PropType<"lg" | "md">;
|
|
39
39
|
required: false;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
@@ -44,6 +44,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
44
44
|
required: false;
|
|
45
45
|
};
|
|
46
46
|
}>>, {
|
|
47
|
-
size: "
|
|
47
|
+
size: "lg" | "md";
|
|
48
48
|
}>;
|
|
49
49
|
export default _sfc_main;
|
|
@@ -22,7 +22,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
22
22
|
required: false;
|
|
23
23
|
};
|
|
24
24
|
size: {
|
|
25
|
-
type: __PropType<"
|
|
25
|
+
type: __PropType<"lg" | "md">;
|
|
26
26
|
required: false;
|
|
27
27
|
default: string;
|
|
28
28
|
};
|
|
@@ -41,12 +41,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
41
41
|
required: false;
|
|
42
42
|
};
|
|
43
43
|
size: {
|
|
44
|
-
type: __PropType<"
|
|
44
|
+
type: __PropType<"lg" | "md">;
|
|
45
45
|
required: false;
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
48
|
}>>, {
|
|
49
|
-
size: "
|
|
49
|
+
size: "lg" | "md";
|
|
50
50
|
indeterminate: boolean;
|
|
51
51
|
}>;
|
|
52
52
|
export default _sfc_main;
|
|
@@ -11,7 +11,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
13
|
size: {
|
|
14
|
-
type: __PropType<"
|
|
14
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
15
15
|
required: false;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
@@ -25,7 +25,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
25
25
|
required: true;
|
|
26
26
|
};
|
|
27
27
|
size: {
|
|
28
|
-
type: __PropType<"
|
|
28
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
29
29
|
required: false;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
@@ -34,6 +34,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
34
34
|
required: false;
|
|
35
35
|
};
|
|
36
36
|
}>>, {
|
|
37
|
-
size: "
|
|
37
|
+
size: "xl" | "lg" | "md" | "sm" | "xs";
|
|
38
38
|
}>;
|
|
39
39
|
export default _sfc_main;
|
|
@@ -13,7 +13,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
13
13
|
required: true;
|
|
14
14
|
};
|
|
15
15
|
size: {
|
|
16
|
-
type: __PropType<"
|
|
16
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
17
17
|
required: false;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
@@ -37,7 +37,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
37
37
|
required: true;
|
|
38
38
|
};
|
|
39
39
|
size: {
|
|
40
|
-
type: __PropType<"
|
|
40
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
41
41
|
required: false;
|
|
42
42
|
default: string;
|
|
43
43
|
};
|
|
@@ -56,7 +56,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
56
56
|
default: string;
|
|
57
57
|
};
|
|
58
58
|
}>>, {
|
|
59
|
-
size: "
|
|
59
|
+
size: "xl" | "lg" | "md" | "sm" | "xs";
|
|
60
60
|
round: boolean;
|
|
61
61
|
ratio: "1x1" | "4x3";
|
|
62
62
|
}>;
|
|
@@ -33,7 +33,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
33
33
|
required: false;
|
|
34
34
|
};
|
|
35
35
|
size: {
|
|
36
|
-
type: __PropType<"
|
|
36
|
+
type: __PropType<"lg" | "md" | "sm" | "xs">;
|
|
37
37
|
required: true;
|
|
38
38
|
};
|
|
39
39
|
active: {
|
|
@@ -82,7 +82,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
82
82
|
required: false;
|
|
83
83
|
};
|
|
84
84
|
size: {
|
|
85
|
-
type: __PropType<"
|
|
85
|
+
type: __PropType<"lg" | "md" | "sm" | "xs">;
|
|
86
86
|
required: true;
|
|
87
87
|
};
|
|
88
88
|
active: {
|
|
@@ -44,7 +44,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
44
44
|
required: false;
|
|
45
45
|
};
|
|
46
46
|
size: {
|
|
47
|
-
type: __PropType<"
|
|
47
|
+
type: __PropType<"lg" | "md" | "sm" | "xs">;
|
|
48
48
|
required: false;
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
@@ -103,7 +103,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
103
103
|
required: false;
|
|
104
104
|
};
|
|
105
105
|
size: {
|
|
106
|
-
type: __PropType<"
|
|
106
|
+
type: __PropType<"lg" | "md" | "sm" | "xs">;
|
|
107
107
|
required: false;
|
|
108
108
|
default: string;
|
|
109
109
|
};
|
|
@@ -137,7 +137,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
137
137
|
};
|
|
138
138
|
}>>, {
|
|
139
139
|
type: "primary" | "secondary";
|
|
140
|
-
size: "
|
|
140
|
+
size: "lg" | "md" | "sm" | "xs";
|
|
141
141
|
rounded: boolean;
|
|
142
142
|
disabled: boolean;
|
|
143
143
|
loading: boolean;
|
|
@@ -1,83 +1,173 @@
|
|
|
1
|
-
import type { PropType
|
|
2
|
-
import {
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import { MaPaginationMode, MaPaginationSize, MaPaginationLimit } from './types';
|
|
3
3
|
export interface MaPaginationProps {
|
|
4
|
+
mode?: MaPaginationMode;
|
|
5
|
+
size?: MaPaginationSize;
|
|
6
|
+
/**
|
|
7
|
+
* Full radius or not.
|
|
8
|
+
*/
|
|
9
|
+
rounded?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Number of current page.
|
|
12
|
+
*/
|
|
13
|
+
current?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Number of items per page.
|
|
16
|
+
*/
|
|
17
|
+
perPage?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Total number of items.
|
|
20
|
+
*/
|
|
4
21
|
totalItems?: number;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
22
|
+
/**
|
|
23
|
+
* The object must contain the xs, sm, md, lg, and default keys.
|
|
24
|
+
*/
|
|
25
|
+
limits?: MaPaginationLimit;
|
|
26
|
+
/**
|
|
27
|
+
* Number of items to display per page.
|
|
28
|
+
*/
|
|
29
|
+
pageSizeOptions?: number[];
|
|
30
|
+
/**
|
|
31
|
+
* Show or hide the Prev / Next navigation buttons. Default true.
|
|
32
|
+
*/
|
|
33
|
+
showPrevNext?: boolean;
|
|
34
|
+
disabled?: boolean;
|
|
10
35
|
}
|
|
11
36
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
12
|
-
|
|
13
|
-
type:
|
|
37
|
+
mode: {
|
|
38
|
+
type: PropType<"simple" | "advanced">;
|
|
39
|
+
required: false;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
size: {
|
|
43
|
+
type: PropType<"small" | "medium" | "large">;
|
|
44
|
+
required: false;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
rounded: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
required: false;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
current: {
|
|
53
|
+
type: NumberConstructor;
|
|
14
54
|
required: false;
|
|
15
55
|
default: number;
|
|
56
|
+
validator(value: number): boolean;
|
|
16
57
|
};
|
|
17
|
-
|
|
18
|
-
type:
|
|
58
|
+
perPage: {
|
|
59
|
+
type: NumberConstructor;
|
|
19
60
|
required: false;
|
|
20
61
|
default: number;
|
|
62
|
+
validator(value: number): boolean;
|
|
21
63
|
};
|
|
22
|
-
|
|
23
|
-
type:
|
|
64
|
+
totalItems: {
|
|
65
|
+
type: NumberConstructor;
|
|
24
66
|
required: false;
|
|
25
|
-
default:
|
|
67
|
+
default: number;
|
|
68
|
+
};
|
|
69
|
+
limits: {
|
|
70
|
+
type: PropType<MaPaginationLimit>;
|
|
71
|
+
required: false;
|
|
72
|
+
default: () => {
|
|
73
|
+
xs: number;
|
|
74
|
+
sm: number;
|
|
75
|
+
md: number;
|
|
76
|
+
lg: number;
|
|
77
|
+
default: number;
|
|
78
|
+
};
|
|
79
|
+
validator: (value: MaPaginationLimit) => boolean;
|
|
80
|
+
};
|
|
81
|
+
pageSizeOptions: {
|
|
82
|
+
type: PropType<number[]>;
|
|
83
|
+
required: false;
|
|
84
|
+
default: () => number[];
|
|
85
|
+
};
|
|
86
|
+
showPrevNext: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
required: false;
|
|
89
|
+
default: boolean;
|
|
26
90
|
};
|
|
27
|
-
|
|
28
|
-
type:
|
|
91
|
+
disabled: {
|
|
92
|
+
type: BooleanConstructor;
|
|
29
93
|
required: false;
|
|
30
94
|
default: boolean;
|
|
31
95
|
};
|
|
32
|
-
|
|
33
|
-
|
|
96
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:current" | "update:perPage" | "perPageChange")[], "change" | "update:current" | "update:perPage" | "perPageChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
97
|
+
mode: {
|
|
98
|
+
type: PropType<"simple" | "advanced">;
|
|
99
|
+
required: false;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
size: {
|
|
103
|
+
type: PropType<"small" | "medium" | "large">;
|
|
104
|
+
required: false;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
rounded: {
|
|
108
|
+
type: BooleanConstructor;
|
|
34
109
|
required: false;
|
|
35
110
|
default: boolean;
|
|
36
111
|
};
|
|
37
|
-
|
|
38
|
-
type:
|
|
112
|
+
current: {
|
|
113
|
+
type: NumberConstructor;
|
|
39
114
|
required: false;
|
|
40
115
|
default: number;
|
|
116
|
+
validator(value: number): boolean;
|
|
41
117
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
type: __PropType<number>;
|
|
118
|
+
perPage: {
|
|
119
|
+
type: NumberConstructor;
|
|
45
120
|
required: false;
|
|
46
121
|
default: number;
|
|
122
|
+
validator(value: number): boolean;
|
|
47
123
|
};
|
|
48
|
-
|
|
49
|
-
type:
|
|
124
|
+
totalItems: {
|
|
125
|
+
type: NumberConstructor;
|
|
50
126
|
required: false;
|
|
51
127
|
default: number;
|
|
52
128
|
};
|
|
53
|
-
|
|
54
|
-
type:
|
|
129
|
+
limits: {
|
|
130
|
+
type: PropType<MaPaginationLimit>;
|
|
55
131
|
required: false;
|
|
56
|
-
default:
|
|
132
|
+
default: () => {
|
|
133
|
+
xs: number;
|
|
134
|
+
sm: number;
|
|
135
|
+
md: number;
|
|
136
|
+
lg: number;
|
|
137
|
+
default: number;
|
|
138
|
+
};
|
|
139
|
+
validator: (value: MaPaginationLimit) => boolean;
|
|
57
140
|
};
|
|
58
|
-
|
|
59
|
-
type:
|
|
141
|
+
pageSizeOptions: {
|
|
142
|
+
type: PropType<number[]>;
|
|
60
143
|
required: false;
|
|
61
|
-
default:
|
|
144
|
+
default: () => number[];
|
|
62
145
|
};
|
|
63
|
-
|
|
64
|
-
type:
|
|
146
|
+
showPrevNext: {
|
|
147
|
+
type: BooleanConstructor;
|
|
65
148
|
required: false;
|
|
66
149
|
default: boolean;
|
|
67
150
|
};
|
|
68
|
-
|
|
69
|
-
type:
|
|
151
|
+
disabled: {
|
|
152
|
+
type: BooleanConstructor;
|
|
70
153
|
required: false;
|
|
71
|
-
default:
|
|
154
|
+
default: boolean;
|
|
72
155
|
};
|
|
73
156
|
}>> & {
|
|
74
|
-
|
|
157
|
+
onChange?: (...args: any[]) => any;
|
|
158
|
+
"onUpdate:current"?: (...args: any[]) => any;
|
|
159
|
+
"onUpdate:perPage"?: (...args: any[]) => any;
|
|
160
|
+
onPerPageChange?: (...args: any[]) => any;
|
|
75
161
|
}, {
|
|
76
|
-
|
|
77
|
-
|
|
162
|
+
size: "small" | "medium" | "large";
|
|
163
|
+
rounded: boolean;
|
|
164
|
+
disabled: boolean;
|
|
165
|
+
mode: "simple" | "advanced";
|
|
166
|
+
current: number;
|
|
167
|
+
perPage: number;
|
|
78
168
|
totalItems: number;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
169
|
+
limits: MaPaginationLimit;
|
|
170
|
+
pageSizeOptions: number[];
|
|
171
|
+
showPrevNext: boolean;
|
|
82
172
|
}>;
|
|
83
173
|
export default _sfc_main;
|
|
@@ -1,2 +1,19 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export type
|
|
1
|
+
export declare const MaPaginationMode: readonly ["simple", "advanced"];
|
|
2
|
+
export type MaPaginationMode = (typeof MaPaginationMode)[number];
|
|
3
|
+
export declare const MaPaginationSize: readonly ["small", "medium", "large"];
|
|
4
|
+
export type MaPaginationSize = (typeof MaPaginationSize)[number];
|
|
5
|
+
export type MaPaginationLimit = {
|
|
6
|
+
xs: number;
|
|
7
|
+
sm: number;
|
|
8
|
+
md: number;
|
|
9
|
+
lg: number;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
export type MaPaginationItem = {
|
|
13
|
+
key: string | number;
|
|
14
|
+
pageNumber: number;
|
|
15
|
+
label: string | number;
|
|
16
|
+
isEllipsis: boolean;
|
|
17
|
+
isActive: boolean;
|
|
18
|
+
isDisabled: boolean;
|
|
19
|
+
};
|
|
@@ -36,7 +36,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
36
36
|
required: false;
|
|
37
37
|
};
|
|
38
38
|
size: {
|
|
39
|
-
type: __PropType<"
|
|
39
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
40
40
|
required: false;
|
|
41
41
|
};
|
|
42
42
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -65,7 +65,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
65
65
|
required: false;
|
|
66
66
|
};
|
|
67
67
|
size: {
|
|
68
|
-
type: __PropType<"
|
|
68
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
69
69
|
required: false;
|
|
70
70
|
};
|
|
71
71
|
}>>, {}>;
|
|
@@ -36,7 +36,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
36
36
|
required: false;
|
|
37
37
|
};
|
|
38
38
|
size: {
|
|
39
|
-
type: __PropType<"
|
|
39
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
40
40
|
required: false;
|
|
41
41
|
};
|
|
42
42
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -65,7 +65,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
65
65
|
required: false;
|
|
66
66
|
};
|
|
67
67
|
size: {
|
|
68
|
-
type: __PropType<"
|
|
68
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
69
69
|
required: false;
|
|
70
70
|
};
|
|
71
71
|
}>>, {}>;
|
|
@@ -36,7 +36,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
36
36
|
required: false;
|
|
37
37
|
};
|
|
38
38
|
size: {
|
|
39
|
-
type: __PropType<"
|
|
39
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
40
40
|
required: false;
|
|
41
41
|
};
|
|
42
42
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -65,7 +65,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
65
65
|
required: false;
|
|
66
66
|
};
|
|
67
67
|
size: {
|
|
68
|
-
type: __PropType<"
|
|
68
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
69
69
|
required: false;
|
|
70
70
|
};
|
|
71
71
|
}>>, {}>;
|
|
@@ -36,7 +36,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
36
36
|
required: false;
|
|
37
37
|
};
|
|
38
38
|
size: {
|
|
39
|
-
type: __PropType<"
|
|
39
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
40
40
|
required: false;
|
|
41
41
|
};
|
|
42
42
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -65,7 +65,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
65
65
|
required: false;
|
|
66
66
|
};
|
|
67
67
|
size: {
|
|
68
|
-
type: __PropType<"
|
|
68
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
69
69
|
required: false;
|
|
70
70
|
};
|
|
71
71
|
}>>, {}>;
|
|
@@ -55,7 +55,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
55
55
|
default: string;
|
|
56
56
|
};
|
|
57
57
|
circleSize: {
|
|
58
|
-
type: __PropType<"
|
|
58
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
59
59
|
required: false;
|
|
60
60
|
default: string;
|
|
61
61
|
};
|
|
@@ -101,7 +101,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
101
101
|
default: string;
|
|
102
102
|
};
|
|
103
103
|
circleSize: {
|
|
104
|
-
type: __PropType<"
|
|
104
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
105
105
|
required: false;
|
|
106
106
|
default: string;
|
|
107
107
|
};
|
|
@@ -110,6 +110,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
110
110
|
color: "dark" | "blue" | "green" | "orange" | "red";
|
|
111
111
|
showPercent: boolean;
|
|
112
112
|
percentAlignment: "left" | "right";
|
|
113
|
-
circleSize: "
|
|
113
|
+
circleSize: "xl" | "lg" | "md" | "sm" | "xs";
|
|
114
114
|
}>;
|
|
115
115
|
export default _sfc_main;
|
|
@@ -15,7 +15,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
17
|
iconSize: {
|
|
18
|
-
type: __PropType<"
|
|
18
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
19
19
|
required: true;
|
|
20
20
|
};
|
|
21
21
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -28,7 +28,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
28
28
|
required: true;
|
|
29
29
|
};
|
|
30
30
|
iconSize: {
|
|
31
|
-
type: __PropType<"
|
|
31
|
+
type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
|
|
32
32
|
required: true;
|
|
33
33
|
};
|
|
34
34
|
}>>, {}>;
|