@mobileaction/action-kit 1.42.11 → 1.42.12-beta.1

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 (72) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/action-kit.mjs +8271 -8598
  3. package/dist/src/components/avatar/stories/default.stories.d.ts +1 -2
  4. package/dist/src/components/button/link-button/stories/link.stories.d.ts +1 -1
  5. package/dist/src/components/button/social-button/stories/social.stories.d.ts +3 -3
  6. package/dist/src/components/button/stories/constants.d.ts +2 -3
  7. package/dist/src/components/cascader/stories/default.stories.d.ts +4789 -13
  8. package/dist/src/components/content-scroller/stories/default.stories.d.ts +1 -1
  9. package/dist/src/components/country-radio/stories/default.stories.d.ts +1 -1
  10. package/dist/src/components/ellipsis/stories/default.stories.d.ts +1 -1
  11. package/dist/src/components/image-2/stories/default.stories.d.ts +7 -6
  12. package/dist/src/components/input/stories/amount.stories.d.ts +2 -2
  13. package/dist/src/components/input/stories/credit-card.stories.d.ts +2 -2
  14. package/dist/src/components/input/stories/default.stories.d.ts +2 -2
  15. package/dist/src/components/input/stories/email.stories.d.ts +2 -2
  16. package/dist/src/components/input/stories/password.stories.d.ts +2 -2
  17. package/dist/src/components/input/stories/textarea.stories.d.ts +2 -2
  18. package/dist/src/components/input/stories/url.stories.d.ts +2 -2
  19. package/dist/src/components/input/stories/user-info.stories.d.ts +6 -6
  20. package/dist/src/components/input-number/stories/default.stories.d.ts +609 -10
  21. package/dist/src/components/modal/stories/default.stories.d.ts +1 -1
  22. package/dist/src/components/modal/stories/functions.stories.d.ts +1 -1
  23. package/dist/src/components/numeric-input/stories/default.stories.d.ts +1 -1
  24. package/dist/src/components/pagination/stories/default.stories.d.ts +1 -1
  25. package/dist/src/components/popconfirm/stories/default.stories.d.ts +5 -2
  26. package/dist/src/components/popconfirm-2/index.vue.d.ts +56 -0
  27. package/dist/src/components/popconfirm-2/stories/default.stories.d.ts +6 -0
  28. package/dist/src/components/popconfirm-2/types.d.ts +4 -0
  29. package/dist/src/components/popover-2/stories/default.stories.d.ts +3 -3
  30. package/dist/src/components/radio/stories/default.stories.d.ts +1 -1
  31. package/dist/src/components/radio-card/stories/default.stories.d.ts +1 -1
  32. package/dist/src/components/rate/stories/default.stories.d.ts +2 -1
  33. package/dist/src/components/side-menu-2/menu-button/stories/default.stories.d.ts +2 -2
  34. package/dist/src/components/slider/stories/default.stories.d.ts +3 -1
  35. package/dist/src/components/spin/stories/container.stories.d.ts +1 -1
  36. package/dist/src/components/spin/stories/default.stories.d.ts +1 -1
  37. package/dist/src/components/step-items/stories/default.stories.d.ts +3 -3
  38. package/dist/src/components/step-items/stories/step-item.stories.d.ts +2 -1
  39. package/dist/src/components/toggle/stories/default.stories.d.ts +5 -3
  40. package/dist/src/index.d.ts +1 -1
  41. package/dist/style.css +1 -1
  42. package/package.json +2 -2
  43. package/dist/src/components/avatar/stories/constants.d.ts +0 -10
  44. package/dist/src/components/button/link-button/stories/constants.d.ts +0 -4
  45. package/dist/src/components/button/social-button/stories/constants.d.ts +0 -5
  46. package/dist/src/components/cascader/stories/constants.d.ts +0 -7
  47. package/dist/src/components/collapse/stories/constants.d.ts +0 -74
  48. package/dist/src/components/content-scroller/stories/constants.d.ts +0 -53
  49. package/dist/src/components/country-radio/stories/constants.d.ts +0 -5
  50. package/dist/src/components/country-select/stories/constants.d.ts +0 -4
  51. package/dist/src/components/image-2/stories/constants.d.ts +0 -8
  52. package/dist/src/components/input/stories/constants.d.ts +0 -5
  53. package/dist/src/components/input-number/stories/constants.d.ts +0 -8
  54. package/dist/src/components/input-number/stories/with-select.stories.d.ts +0 -8
  55. package/dist/src/components/keyword-group-selection/components/kwGroupForm.vue.d.ts +0 -11
  56. package/dist/src/components/keyword-group-selection/components/kwGroupItem.vue.d.ts +0 -20
  57. package/dist/src/components/keyword-group-selection/composables/index.d.ts +0 -10
  58. package/dist/src/components/keyword-group-selection/index.vue.d.ts +0 -58
  59. package/dist/src/components/keyword-group-selection/stories/constants.d.ts +0 -5
  60. package/dist/src/components/keyword-group-selection/stories/default.stories.d.ts +0 -8
  61. package/dist/src/components/keyword-group-selection/types.d.ts +0 -19
  62. package/dist/src/components/pagination/stories/constants.d.ts +0 -263
  63. package/dist/src/components/popconfirm/stories/constants.d.ts +0 -79
  64. package/dist/src/components/popover-2/stories/constants.d.ts +0 -84
  65. package/dist/src/components/radio/stories/constants.d.ts +0 -5
  66. package/dist/src/components/radio-card/stories/constants.d.ts +0 -4
  67. package/dist/src/components/rate/stories/constants.d.ts +0 -4
  68. package/dist/src/components/side-menu-2/menu-button/stories/constants.d.ts +0 -4
  69. package/dist/src/components/slider/stories/constants.d.ts +0 -71
  70. package/dist/src/components/step-items/stories/constants.d.ts +0 -6
  71. package/dist/src/components/toggle/stories/constants.d.ts +0 -4
  72. /package/dist/src/components/menu/stories/{default.stories1.d.ts → default.stories.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobileaction/action-kit",
3
- "version": "1.42.11",
3
+ "version": "1.42.12-beta.1",
4
4
  "type": "module",
5
5
  "main": "dist/action-kit.mjs",
6
6
  "module": "dist/action-kit.mjs",
@@ -123,4 +123,4 @@
123
123
  "url": "https://github.com/mobileaction/action-kit/issues"
124
124
  },
125
125
  "homepage": "https://mobileaction.github.io/action-kit"
126
- }
126
+ }
@@ -1,10 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import MaAvatar from '../index.vue';
3
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
4
- MaAvatar: import("vue").DefineComponent<import("../index.vue").MaAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("../index.vue").MaAvatarProps> & Readonly<{}>, {
5
- size: import("../types").MaAvatarPropSize;
6
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
7
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
- export default _default;
9
- export declare const profileBaseConfig: Meta<typeof MaAvatar>;
10
- export declare const ProfilePhotoTemplate: StoryFn;
@@ -1,4 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import MaLinkButton from '../index.vue';
3
- export declare const baseConfig: Meta<typeof MaLinkButton>;
4
- export declare const Template: StoryFn;
@@ -1,5 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import MaSocialButton from '../index.vue';
3
- export declare const baseConfig: Meta<typeof MaSocialButton>;
4
- export declare const TemplateOnlyIcon: StoryFn;
5
- export declare const Template: StoryFn;
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { MaCascader } from '@/index';
3
- export declare const baseConfig: Meta<typeof MaCascader>;
4
- export declare const Template: StoryFn;
5
- export declare const TemplateOptionSlot: StoryFn;
6
- export declare const TemplateCustomInputLabel: StoryFn;
7
- export declare const TemplateOverflow: StoryFn;
@@ -1,74 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { MaCollapse } from '@/index';
3
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
4
- MaTypography: {
5
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("@/components/typography/index.vue").MaTypographyProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
6
- type: import("@/index").TypographyType;
7
- tag: import("@/index").TypographyTag;
8
- weight: import("@/index").TypographyWeight;
9
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
10
- P: {};
11
- B: {};
12
- D: {};
13
- C: {};
14
- M: {};
15
- Defaults: {};
16
- }, Readonly<import("@/components/typography/index.vue").MaTypographyProps> & Readonly<{}>, {}, {}, {}, {}, {
17
- type: import("@/index").TypographyType;
18
- tag: import("@/index").TypographyTag;
19
- weight: import("@/index").TypographyWeight;
20
- }>;
21
- __isFragment?: never;
22
- __isTeleport?: never;
23
- __isSuspense?: never;
24
- } & import("vue").ComponentOptionsBase<Readonly<import("@/components/typography/index.vue").MaTypographyProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
25
- type: import("@/index").TypographyType;
26
- tag: import("@/index").TypographyTag;
27
- weight: import("@/index").TypographyWeight;
28
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
29
- $slots: {
30
- default?(_: {}): any;
31
- };
32
- });
33
- MaBadge: {
34
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("@/components/badge/index.vue").MaBadgeProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
35
- size: import("@/index").MaBadgePropSize;
36
- variant: import("@/index").MaBadgePropVariant;
37
- shape: string;
38
- iconAlignment: string;
39
- type: import("@/index").MaBadgePropType;
40
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLDivElement, import("vue").ComponentProvideOptions, {
41
- P: {};
42
- B: {};
43
- D: {};
44
- C: {};
45
- M: {};
46
- Defaults: {};
47
- }, Readonly<import("@/components/badge/index.vue").MaBadgeProps> & Readonly<{}>, {}, {}, {}, {}, {
48
- size: import("@/index").MaBadgePropSize;
49
- variant: import("@/index").MaBadgePropVariant;
50
- shape: string;
51
- iconAlignment: string;
52
- type: import("@/index").MaBadgePropType;
53
- }>;
54
- __isFragment?: never;
55
- __isTeleport?: never;
56
- __isSuspense?: never;
57
- } & import("vue").ComponentOptionsBase<Readonly<import("@/components/badge/index.vue").MaBadgeProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
58
- size: import("@/index").MaBadgePropSize;
59
- variant: import("@/index").MaBadgePropVariant;
60
- shape: string;
61
- iconAlignment: string;
62
- type: import("@/index").MaBadgePropType;
63
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
64
- $slots: {
65
- default?(_: {}): any;
66
- };
67
- });
68
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
69
- export default _default;
70
- export declare const baseConfig: Meta<typeof MaCollapse>;
71
- export declare const Template: StoryFn;
72
- export declare const Disabled: StoryFn;
73
- export declare const CollapseAllTemplate: StoryFn;
74
- export declare const Sizes: StoryFn;
@@ -1,53 +0,0 @@
1
- import { Meta, StoryFn } from '@storybook/vue3';
2
- import MaContentScroller from '../index.vue';
3
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
4
- MaContentScroller: {
5
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../index.vue").MaContentScrollerProps> & Readonly<{}>, {
6
- scrollLeft: () => void;
7
- scrollRight: () => void;
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
9
- size: import("../types").MaScrollerSize;
10
- type: import("../types").MaScrollerType;
11
- alwaysShowButtons: boolean;
12
- showScrollBarOnHover: boolean;
13
- scrollThresholdDistance: number;
14
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLDivElement, import("vue").ComponentProvideOptions, {
15
- P: {};
16
- B: {};
17
- D: {};
18
- C: {};
19
- M: {};
20
- Defaults: {};
21
- }, Readonly<import("../index.vue").MaContentScrollerProps> & Readonly<{}>, {
22
- scrollLeft: () => void;
23
- scrollRight: () => void;
24
- }, {}, {}, {}, {
25
- size: import("../types").MaScrollerSize;
26
- type: import("../types").MaScrollerType;
27
- alwaysShowButtons: boolean;
28
- showScrollBarOnHover: boolean;
29
- scrollThresholdDistance: number;
30
- }>;
31
- __isFragment?: never;
32
- __isTeleport?: never;
33
- __isSuspense?: never;
34
- } & import("vue").ComponentOptionsBase<Readonly<import("../index.vue").MaContentScrollerProps> & Readonly<{}>, {
35
- scrollLeft: () => void;
36
- scrollRight: () => void;
37
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
38
- size: import("../types").MaScrollerSize;
39
- type: import("../types").MaScrollerType;
40
- alwaysShowButtons: boolean;
41
- showScrollBarOnHover: boolean;
42
- scrollThresholdDistance: number;
43
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
44
- $slots: {
45
- buttonLeft?(_: {}): any;
46
- default?(_: {}): any;
47
- buttonRight?(_: {}): any;
48
- };
49
- });
50
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
51
- export default _default;
52
- export declare const baseConfig: Meta<typeof MaContentScroller>;
53
- export declare const Template: StoryFn;
@@ -1,5 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { MaCountryRadio } from '@/index';
3
- export declare const baseConfig: Meta<typeof MaCountryRadio>;
4
- export declare const Template: StoryFn;
5
- export declare const TemplateRadioGroup: StoryFn;
@@ -1,4 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import MaCountrySelect from '../index.vue';
3
- export declare const baseConfig: Meta<typeof MaCountrySelect>;
4
- export declare const Template: StoryFn;
@@ -1,8 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { MaImage2 } from '@/index';
3
- export declare const baseConfig: Meta<typeof MaImage2>;
4
- export declare const Template: StoryFn;
5
- export declare const GroupSlotTemplate: StoryFn;
6
- export declare const GroupImagesTemplate: StoryFn;
7
- export declare const CustomPreviewOverlaySlotTemplate: StoryFn;
8
- export declare const FallbackPreviewTemplate: StoryFn;
@@ -1,5 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import MaInput from '../index.vue';
3
- export declare const baseConfig: Meta<typeof MaInput>;
4
- export declare const Template: StoryFn;
5
- export declare const TemplateAmount: StoryFn;
@@ -1,8 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import MaInputNumber from '../index.vue';
3
- export declare const baseConfig: Meta<typeof MaInputNumber>;
4
- export declare const Template: StoryFn;
5
- export declare const TemplatePreWithSelect: StoryFn;
6
- export declare const TemplatePostWithSelect: StoryFn;
7
- export declare const TemplateWithSelect: StoryFn;
8
- export declare const TemplateWithFormatter: StoryFn;
@@ -1,8 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/vue3';
2
- import MaInputNumber from '@/components/input-number/index.vue';
3
- type Story = StoryObj<typeof MaInputNumber>;
4
- declare const meta: Meta<typeof MaInputNumber>;
5
- export default meta;
6
- export declare const PrePostList: Story;
7
- export declare const PreList: Story;
8
- export declare const PostList: Story;
@@ -1,11 +0,0 @@
1
- import { KeywordGroup } from '../types';
2
- export interface KWGroupItemProps {
3
- keywordGroup: KeywordGroup;
4
- groupNameCharLimit?: number;
5
- }
6
- declare const _default: import("vue").DefineComponent<KWGroupItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- saveKwGroup: (...args: any[]) => void;
8
- }, string, import("vue").PublicProps, Readonly<KWGroupItemProps> & Readonly<{
9
- onSaveKwGroup?: (...args: any[]) => any;
10
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
- export default _default;
@@ -1,20 +0,0 @@
1
- import { KeywordGroup } from "../types";
2
- export interface KWGroupItemProps {
3
- keywordGroup: KeywordGroup;
4
- selected?: boolean;
5
- showActions?: boolean;
6
- }
7
- declare const _default: import("vue").DefineComponent<KWGroupItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- updateEditable: (...args: any[]) => void;
9
- updatePublic: (...args: any[]) => void;
10
- deleteKwGroup: (...args: any[]) => void;
11
- edit: (...args: any[]) => void;
12
- }, string, import("vue").PublicProps, Readonly<KWGroupItemProps> & Readonly<{
13
- onUpdateEditable?: (...args: any[]) => any;
14
- onUpdatePublic?: (...args: any[]) => any;
15
- onDeleteKwGroup?: (...args: any[]) => any;
16
- onEdit?: (...args: any[]) => any;
17
- }>, {
18
- showActions: boolean;
19
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
20
- export default _default;
@@ -1,10 +0,0 @@
1
- export declare const randomKwGroupID: (length?: number) => string;
2
- export declare const initialKwGroup: () => {
3
- id: string;
4
- name: string;
5
- color: "#060B27" | "#392DCA" | "#6FDDA6" | "#7C5CFC" | "#92BAFB" | "#F29E61" | "#F97066" | "#4478FF" | "#36BFFA" | "#98A2B3" | "#BDB4FE" | "#B54708" | "#027A48" | "#026AA2";
6
- keywordCount: number;
7
- editable: boolean;
8
- public: boolean;
9
- new: boolean;
10
- };
@@ -1,58 +0,0 @@
1
- import { KeywordGroupListItem, MaKeywordGroupSize } from "./types";
2
- import { type TooltipPlacement } from "ant-design-vue/lib/tooltip/index";
3
- import { MaRateProps } from "@/components/empty/index.vue";
4
- export interface MaKeywordGroupSelectionProps {
5
- value?: number | string;
6
- options?: KeywordGroupListItem[];
7
- label?: string;
8
- placeholder?: string;
9
- closable?: boolean;
10
- groupNameCharLimit?: number;
11
- overlayPlacement?: TooltipPlacement;
12
- badgeVisible?: boolean;
13
- emptyProps?: MaRateProps;
14
- size?: MaKeywordGroupSize;
15
- }
16
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MaKeywordGroupSelectionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
- change: (...args: any[]) => void;
18
- copy: (...args: any[]) => void;
19
- sort: (...args: any[]) => void;
20
- download: (...args: any[]) => void;
21
- "update:value": (...args: any[]) => void;
22
- "update:options": (...args: any[]) => void;
23
- changeOptions: (...args: any[]) => void;
24
- changeEditable: (...args: any[]) => void;
25
- changeVisibility: (...args: any[]) => void;
26
- deleteKeywordGroup: (...args: any[]) => void;
27
- addKeywordGroup: (...args: any[]) => void;
28
- updateKeywordGroup: (...args: any[]) => void;
29
- closeBadge: (...args: any[]) => void;
30
- }, string, import("vue").PublicProps, Readonly<MaKeywordGroupSelectionProps> & Readonly<{
31
- onChange?: (...args: any[]) => any;
32
- onCopy?: (...args: any[]) => any;
33
- onSort?: (...args: any[]) => any;
34
- onDownload?: (...args: any[]) => any;
35
- "onUpdate:value"?: (...args: any[]) => any;
36
- "onUpdate:options"?: (...args: any[]) => any;
37
- onChangeOptions?: (...args: any[]) => any;
38
- onChangeEditable?: (...args: any[]) => any;
39
- onChangeVisibility?: (...args: any[]) => any;
40
- onDeleteKeywordGroup?: (...args: any[]) => any;
41
- onAddKeywordGroup?: (...args: any[]) => any;
42
- onUpdateKeywordGroup?: (...args: any[]) => any;
43
- onCloseBadge?: (...args: any[]) => any;
44
- }>, {
45
- size: MaKeywordGroupSize;
46
- value: number | string;
47
- options: KeywordGroupListItem[];
48
- closable: boolean;
49
- overlayPlacement: TooltipPlacement;
50
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>, {
51
- fallback?(_: {}): any;
52
- }>;
53
- export default _default;
54
- type __VLS_WithTemplateSlots<T, S> = T & {
55
- new (): {
56
- $slots: S;
57
- };
58
- };
@@ -1,5 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import MaKeywordGroupSelection from '../index.vue';
3
- export declare const baseConfig: Meta<typeof MaKeywordGroupSelection>;
4
- export declare const Template: StoryFn;
5
- export declare const TemplatePreview: StoryFn;
@@ -1,8 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/vue3';
2
- import type MaKeywordGroupSelection from '../index.vue';
3
- declare const meta: Meta<typeof MaKeywordGroupSelection>;
4
- export default meta;
5
- type Story = StoryObj<typeof MaKeywordGroupSelection>;
6
- export declare const Default: Story;
7
- export declare const WithOutputPreview: Story;
8
- export declare const WithNoData: Story;
@@ -1,19 +0,0 @@
1
- export declare const MaKeywordGroupColors: readonly ["#060B27", "#392DCA", "#6FDDA6", "#7C5CFC", "#92BAFB", "#F29E61", "#F97066", "#4478FF", "#36BFFA", "#98A2B3", "#BDB4FE", "#B54708", "#027A48", "#026AA2"];
2
- export type MaKeywordGroupColor = (typeof MaKeywordGroupColors)[number];
3
- export interface KeywordGroup {
4
- id: number | string;
5
- name: string;
6
- color: MaKeywordGroupColor;
7
- keywordCount?: number;
8
- editable: boolean;
9
- public: boolean;
10
- new?: boolean;
11
- }
12
- export interface KeywordGroupListItem {
13
- id: number | string;
14
- title: string;
15
- keywordGroups: KeywordGroup[];
16
- editable: boolean;
17
- }
18
- export declare const MaKeywordGroupSize: readonly ["small", "medium", "large"];
19
- export type MaKeywordGroupSize = (typeof MaKeywordGroupSize)[number];
@@ -1,263 +0,0 @@
1
- import { Meta, StoryFn } from "@storybook/vue3";
2
- import MaPagination from "@/components/pagination/index.vue";
3
- import { MaPaginationMode, MaPaginationSize } from "@/components/pagination/types";
4
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
5
- MaPagination: {
6
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
7
- mode: {
8
- type: import("vue").PropType<MaPaginationMode>;
9
- required: false;
10
- default: string;
11
- };
12
- size: {
13
- type: import("vue").PropType<MaPaginationSize>;
14
- required: false;
15
- default: string;
16
- };
17
- rounded: {
18
- type: BooleanConstructor;
19
- required: false;
20
- default: boolean;
21
- };
22
- current: {
23
- type: NumberConstructor;
24
- required: false;
25
- default: number;
26
- validator(value: number): boolean;
27
- };
28
- perPage: {
29
- type: NumberConstructor;
30
- required: false;
31
- default: number;
32
- validator(value: number): boolean;
33
- };
34
- totalItems: {
35
- type: NumberConstructor;
36
- required: false;
37
- default: number;
38
- };
39
- limits: {
40
- type: import("vue").PropType<import("@/components/pagination/types").MaPaginationLimit>;
41
- required: false;
42
- default: () => {
43
- xs: number;
44
- sm: number;
45
- md: number;
46
- lg: number;
47
- default: number;
48
- };
49
- validator: (value: import("@/components/pagination/types").MaPaginationLimit) => boolean;
50
- };
51
- pageSizeOptions: {
52
- type: import("vue").PropType<number[]>;
53
- required: false;
54
- default: () => number[];
55
- };
56
- showPrevNext: {
57
- type: BooleanConstructor;
58
- required: false;
59
- default: boolean;
60
- };
61
- disabled: {
62
- type: BooleanConstructor;
63
- required: false;
64
- default: boolean;
65
- };
66
- }>> & Readonly<{
67
- onChange?: (...args: any[]) => any;
68
- "onUpdate:current"?: (...args: any[]) => any;
69
- "onUpdate:perPage"?: (...args: any[]) => any;
70
- onPerPageChange?: (...args: any[]) => any;
71
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
72
- change: (...args: any[]) => void;
73
- "update:current": (...args: any[]) => void;
74
- "update:perPage": (...args: any[]) => void;
75
- perPageChange: (...args: any[]) => void;
76
- }, import("vue").PublicProps, {
77
- rounded: boolean;
78
- mode: "simple" | "advanced";
79
- size: "small" | "medium" | "large";
80
- disabled: boolean;
81
- current: number;
82
- perPage: number;
83
- totalItems: number;
84
- limits: import("@/components/pagination/types").MaPaginationLimit;
85
- pageSizeOptions: number[];
86
- showPrevNext: boolean;
87
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
88
- P: {};
89
- B: {};
90
- D: {};
91
- C: {};
92
- M: {};
93
- Defaults: {};
94
- }, Readonly<import("vue").ExtractPropTypes<{
95
- mode: {
96
- type: import("vue").PropType<MaPaginationMode>;
97
- required: false;
98
- default: string;
99
- };
100
- size: {
101
- type: import("vue").PropType<MaPaginationSize>;
102
- required: false;
103
- default: string;
104
- };
105
- rounded: {
106
- type: BooleanConstructor;
107
- required: false;
108
- default: boolean;
109
- };
110
- current: {
111
- type: NumberConstructor;
112
- required: false;
113
- default: number;
114
- validator(value: number): boolean;
115
- };
116
- perPage: {
117
- type: NumberConstructor;
118
- required: false;
119
- default: number;
120
- validator(value: number): boolean;
121
- };
122
- totalItems: {
123
- type: NumberConstructor;
124
- required: false;
125
- default: number;
126
- };
127
- limits: {
128
- type: import("vue").PropType<import("@/components/pagination/types").MaPaginationLimit>;
129
- required: false;
130
- default: () => {
131
- xs: number;
132
- sm: number;
133
- md: number;
134
- lg: number;
135
- default: number;
136
- };
137
- validator: (value: import("@/components/pagination/types").MaPaginationLimit) => boolean;
138
- };
139
- pageSizeOptions: {
140
- type: import("vue").PropType<number[]>;
141
- required: false;
142
- default: () => number[];
143
- };
144
- showPrevNext: {
145
- type: BooleanConstructor;
146
- required: false;
147
- default: boolean;
148
- };
149
- disabled: {
150
- type: BooleanConstructor;
151
- required: false;
152
- default: boolean;
153
- };
154
- }>> & Readonly<{
155
- onChange?: (...args: any[]) => any;
156
- "onUpdate:current"?: (...args: any[]) => any;
157
- "onUpdate:perPage"?: (...args: any[]) => any;
158
- onPerPageChange?: (...args: any[]) => any;
159
- }>, {}, {}, {}, {}, {
160
- rounded: boolean;
161
- mode: "simple" | "advanced";
162
- size: "small" | "medium" | "large";
163
- disabled: boolean;
164
- current: number;
165
- perPage: number;
166
- totalItems: number;
167
- limits: import("@/components/pagination/types").MaPaginationLimit;
168
- pageSizeOptions: number[];
169
- showPrevNext: boolean;
170
- }>;
171
- __isFragment?: never;
172
- __isTeleport?: never;
173
- __isSuspense?: never;
174
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
175
- mode: {
176
- type: import("vue").PropType<MaPaginationMode>;
177
- required: false;
178
- default: string;
179
- };
180
- size: {
181
- type: import("vue").PropType<MaPaginationSize>;
182
- required: false;
183
- default: string;
184
- };
185
- rounded: {
186
- type: BooleanConstructor;
187
- required: false;
188
- default: boolean;
189
- };
190
- current: {
191
- type: NumberConstructor;
192
- required: false;
193
- default: number;
194
- validator(value: number): boolean;
195
- };
196
- perPage: {
197
- type: NumberConstructor;
198
- required: false;
199
- default: number;
200
- validator(value: number): boolean;
201
- };
202
- totalItems: {
203
- type: NumberConstructor;
204
- required: false;
205
- default: number;
206
- };
207
- limits: {
208
- type: import("vue").PropType<import("@/components/pagination/types").MaPaginationLimit>;
209
- required: false;
210
- default: () => {
211
- xs: number;
212
- sm: number;
213
- md: number;
214
- lg: number;
215
- default: number;
216
- };
217
- validator: (value: import("@/components/pagination/types").MaPaginationLimit) => boolean;
218
- };
219
- pageSizeOptions: {
220
- type: import("vue").PropType<number[]>;
221
- required: false;
222
- default: () => number[];
223
- };
224
- showPrevNext: {
225
- type: BooleanConstructor;
226
- required: false;
227
- default: boolean;
228
- };
229
- disabled: {
230
- type: BooleanConstructor;
231
- required: false;
232
- default: boolean;
233
- };
234
- }>> & Readonly<{
235
- onChange?: (...args: any[]) => any;
236
- "onUpdate:current"?: (...args: any[]) => any;
237
- "onUpdate:perPage"?: (...args: any[]) => any;
238
- onPerPageChange?: (...args: any[]) => any;
239
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
240
- change: (...args: any[]) => void;
241
- "update:current": (...args: any[]) => void;
242
- "update:perPage": (...args: any[]) => void;
243
- perPageChange: (...args: any[]) => void;
244
- }, string, {
245
- rounded: boolean;
246
- mode: "simple" | "advanced";
247
- size: "small" | "medium" | "large";
248
- disabled: boolean;
249
- current: number;
250
- perPage: number;
251
- totalItems: number;
252
- limits: import("@/components/pagination/types").MaPaginationLimit;
253
- pageSizeOptions: number[];
254
- showPrevNext: boolean;
255
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
256
- $slots: {
257
- totalText?(_: {}): any;
258
- };
259
- });
260
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
261
- export default _default;
262
- export declare const baseConfig: Meta<typeof MaPagination>;
263
- export declare const Template: StoryFn;