@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.
Files changed (46) hide show
  1. package/dist/action-kit.js +1 -1
  2. package/dist/action-kit.mjs +7 -7
  3. package/dist/chevron-left-26b60cf0.mjs +21 -0
  4. package/dist/chevron-left-9597863c.js +1 -0
  5. package/dist/chevron-right-53fbda71.mjs +21 -0
  6. package/dist/chevron-right-e08e788e.js +1 -0
  7. package/dist/components/checkbox/group.vue.d.ts +3 -3
  8. package/dist/components/checkbox/index.vue.d.ts +3 -3
  9. package/dist/components/icon/components/flagIcon.vue.d.ts +1 -1
  10. package/dist/components/icon/components/maIcon.vue.d.ts +3 -3
  11. package/dist/components/icon/index.vue.d.ts +3 -3
  12. package/dist/components/icon-button/components/button.vue.d.ts +2 -2
  13. package/dist/components/icon-button/index.vue.d.ts +3 -3
  14. package/dist/components/pagination/index.vue.d.ts +132 -42
  15. package/dist/components/pagination/types.d.ts +19 -2
  16. package/dist/components/progress/components/circle.vue.d.ts +2 -2
  17. package/dist/components/progress/components/halfCircle.vue.d.ts +2 -2
  18. package/dist/components/progress/components/line.vue.d.ts +2 -2
  19. package/dist/components/progress/components/stepLine.vue.d.ts +2 -2
  20. package/dist/components/progress/index.vue.d.ts +3 -3
  21. package/dist/components/rate/components/star.vue.d.ts +2 -2
  22. package/dist/components/tag-input/index.vue.d.ts +3 -3
  23. package/dist/components/track-button/index.vue.d.ts +3 -3
  24. package/dist/components/upload/index.vue.d.ts +3 -3
  25. package/dist/components/watchlist-button/components/button.vue.d.ts +2 -2
  26. package/dist/components/watchlist-button/index.vue.d.ts +3 -3
  27. package/dist/index-0071f266.mjs +9930 -0
  28. package/dist/index-47430f7f.js +53 -0
  29. package/dist/lottie_light-1423b6a7.js +9 -0
  30. package/dist/{lottie_light-98c80831.mjs → lottie_light-dc5b306d.mjs} +473 -492
  31. package/dist/src/components/pagination/index.vue.d.ts +171 -39
  32. package/dist/src/components/pagination/pagination.test.d.ts +1 -0
  33. package/dist/src/components/pagination/stories/default.stories.d.ts +1 -2
  34. package/dist/src/components/pagination/types.d.ts +19 -2
  35. package/dist/src/utils/breakpoints.d.ts +16 -0
  36. package/dist/src/utils/breakpoints.test.d.ts +1 -0
  37. package/dist/style.css +1 -1
  38. package/dist/utils/breakpoints.d.ts +16 -0
  39. package/package.json +4 -4
  40. package/dist/chevron-left-326ad5ea.js +0 -1
  41. package/dist/chevron-left-cc52a4d7.mjs +0 -22
  42. package/dist/chevron-right-1fc62c60.js +0 -1
  43. package/dist/chevron-right-817fda2d.mjs +0 -22
  44. package/dist/index-163b07e0.js +0 -53
  45. package/dist/index-e2b3b395.mjs +0 -9596
  46. package/dist/lottie_light-7680adde.js +0 -9
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-163b07e0.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});
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});
@@ -1,5 +1,5 @@
1
- import { ab as t, aL as M, aD as n, aC as r, ai as p, ag as i, af as u, ah as l, ad as c, ae as S, t as d, aK as m, aJ as I, u as T, U as g, p as y, o as B, I as A, V as C, s as b, aI as P, aH as z, aG as R, aF as w, _ as h, M as k, b6 as f, b8 as G, b7 as x, l as F, m as N, S as V, L as D, O as E, y as L, aS as O, aT as U, z as K, aW as v, aU as W, aV as j, ax as q, f as H, g as J, aq as Q, i as X, Q as Y, ay as Z, aw as _, a4 as $, a5 as aa, h as sa, at as ea, N as oa, as as ta, ar as Ma, P as na, X as ra, Y as pa, Z as ia, v as ua, aN as la, aM as ca, n as Sa, a3 as da, a7 as ma, T as Ia, H as Ta, b1 as ga, b0 as ya, b2 as Ba, a$ as Aa, q as Ca, aa as ba, r as Pa, aE as za, w as Ra, aP as wa, aO as ha, a6 as ka, $ as fa, j as Ga, k as xa, G as Fa, F as Na, B as Va, D as Da, C as Ea, a_ as La, E as Oa, R as Ua, x as Ka, aR as va, aQ as Wa, a2 as ja, a9 as qa, a8 as Ha, a1 as Ja, d as Qa, b5 as Xa, K as Ya, b3 as Za, b4 as _a, J as $a, W as as, b as ss, e as es, a as os, A as ts, aZ as Ms, aY as ns, aX as rs, a0 as ps, aB as is, aA as us, az as ls, am as cs, al as Ss, an as ds, ap as ms, ao as Is, ak as Ts, aj as gs, av as ys, au as Bs, ac as As } from "./index-e2b3b395.mjs";
2
- import { SelectOptGroup as bs } from "ant-design-vue";
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
- C as MaAvatar,
25
- b as MaBadge,
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
- Ca as MaRadio,
79
- ba as MaRadioCard,
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
- bs as MaSelectOptGroup,
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<"md" | "lg">;
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<"md" | "lg">;
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: "md" | "lg";
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<"md" | "lg">;
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<"md" | "lg">;
44
+ type: __PropType<"lg" | "md">;
45
45
  required: false;
46
46
  default: string;
47
47
  };
48
48
  }>>, {
49
- size: "md" | "lg";
49
+ size: "lg" | "md";
50
50
  indeterminate: boolean;
51
51
  }>;
52
52
  export default _sfc_main;
@@ -12,7 +12,7 @@ declare const _sfc_main: {
12
12
  required: boolean;
13
13
  };
14
14
  size: {
15
- type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
15
+ type: PropType<"xl" | "lg" | "md" | "sm" | "xs">;
16
16
  default: string;
17
17
  };
18
18
  ratio: {
@@ -11,7 +11,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
11
11
  required: true;
12
12
  };
13
13
  size: {
14
- type: __PropType<"xs" | "sm" | "md" | "lg" | "xl">;
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<"xs" | "sm" | "md" | "lg" | "xl">;
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: "xs" | "sm" | "md" | "lg" | "xl";
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<"xs" | "sm" | "md" | "lg" | "xl">;
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<"xs" | "sm" | "md" | "lg" | "xl">;
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: "xs" | "sm" | "md" | "lg" | "xl";
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<"xs" | "sm" | "md" | "lg">;
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<"xs" | "sm" | "md" | "lg">;
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<"xs" | "sm" | "md" | "lg">;
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<"xs" | "sm" | "md" | "lg">;
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: "xs" | "sm" | "md" | "lg";
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 as __PropType } from 'vue';
2
- import { MaPaginationType } from '../../components/pagination/types';
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
- itemsPerPage?: number;
6
- type?: MaPaginationType;
7
- showEllipsis?: boolean;
8
- showTotalItems?: boolean;
9
- modelValue?: number;
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
- totalItems: {
13
- type: __PropType<number>;
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
- itemsPerPage: {
18
- type: __PropType<number>;
58
+ perPage: {
59
+ type: NumberConstructor;
19
60
  required: false;
20
61
  default: number;
62
+ validator(value: number): boolean;
21
63
  };
22
- type: {
23
- type: __PropType<"compact" | "divided">;
64
+ totalItems: {
65
+ type: NumberConstructor;
24
66
  required: false;
25
- default: string;
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
- showEllipsis: {
28
- type: __PropType<boolean>;
91
+ disabled: {
92
+ type: BooleanConstructor;
29
93
  required: false;
30
94
  default: boolean;
31
95
  };
32
- showTotalItems: {
33
- type: __PropType<boolean>;
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
- modelValue: {
38
- type: __PropType<number>;
112
+ current: {
113
+ type: NumberConstructor;
39
114
  required: false;
40
115
  default: number;
116
+ validator(value: number): boolean;
41
117
  };
42
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
- totalItems: {
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
- itemsPerPage: {
49
- type: __PropType<number>;
124
+ totalItems: {
125
+ type: NumberConstructor;
50
126
  required: false;
51
127
  default: number;
52
128
  };
53
- type: {
54
- type: __PropType<"compact" | "divided">;
129
+ limits: {
130
+ type: PropType<MaPaginationLimit>;
55
131
  required: false;
56
- default: string;
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
- showEllipsis: {
59
- type: __PropType<boolean>;
141
+ pageSizeOptions: {
142
+ type: PropType<number[]>;
60
143
  required: false;
61
- default: boolean;
144
+ default: () => number[];
62
145
  };
63
- showTotalItems: {
64
- type: __PropType<boolean>;
146
+ showPrevNext: {
147
+ type: BooleanConstructor;
65
148
  required: false;
66
149
  default: boolean;
67
150
  };
68
- modelValue: {
69
- type: __PropType<number>;
151
+ disabled: {
152
+ type: BooleanConstructor;
70
153
  required: false;
71
- default: number;
154
+ default: boolean;
72
155
  };
73
156
  }>> & {
74
- "onUpdate:modelValue"?: (...args: any[]) => any;
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
- type: "compact" | "divided";
77
- modelValue: number;
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
- itemsPerPage: number;
80
- showEllipsis: boolean;
81
- showTotalItems: boolean;
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 MaPaginationTypes: readonly ["divided", "compact"];
2
- export type MaPaginationType = (typeof MaPaginationTypes)[number];
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<"xs" | "sm" | "md" | "lg" | "xl">;
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<"xs" | "sm" | "md" | "lg" | "xl">;
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<"xs" | "sm" | "md" | "lg" | "xl">;
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<"xs" | "sm" | "md" | "lg" | "xl">;
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<"xs" | "sm" | "md" | "lg" | "xl">;
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<"xs" | "sm" | "md" | "lg" | "xl">;
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<"xs" | "sm" | "md" | "lg" | "xl">;
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<"xs" | "sm" | "md" | "lg" | "xl">;
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<"xs" | "sm" | "md" | "lg" | "xl">;
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<"xs" | "sm" | "md" | "lg" | "xl">;
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: "xs" | "sm" | "md" | "lg" | "xl";
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<"xs" | "sm" | "md" | "lg" | "xl">;
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<"xs" | "sm" | "md" | "lg" | "xl">;
31
+ type: __PropType<"xl" | "lg" | "md" | "sm" | "xs">;
32
32
  required: true;
33
33
  };
34
34
  }>>, {}>;