@mobileaction/action-kit 1.40.3-beta.13 → 1.40.3-beta.15

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 (43) hide show
  1. package/dist/action-kit.mjs +8251 -8554
  2. package/dist/apple-ZGKRhm4e.js +20 -0
  3. package/dist/{apple-LpH5iom0.js → apple-bold-D6SXHcrf.js} +8 -8
  4. package/dist/chart-BXk3T-FN.js +31 -0
  5. package/dist/chart-bold-DFRK3e8Y.js +31 -0
  6. package/dist/logout-bold-5Yv1P_3D.js +23 -0
  7. package/dist/logout-pAJxytET.js +27 -0
  8. package/dist/src/components/date-picker-2/index.vue.d.ts +4 -4
  9. package/dist/src/components/popconfirm/index.vue.d.ts +2 -2
  10. package/dist/src/components/popconfirm/stories/constants.d.ts +5 -5
  11. package/dist/src/components/popover-2/index.vue.d.ts +1 -3
  12. package/dist/src/components/popover-2/stories/constants.d.ts +3 -6
  13. package/dist/src/components/side-menu/menu-item/index.vue.d.ts +1 -1
  14. package/dist/src/components/side-menu-2/menu-button/index.vue.d.ts +24 -0
  15. package/dist/src/components/side-menu-2/menu-button/stories/constants.d.ts +4 -0
  16. package/dist/src/components/side-menu-2/menu-button/stories/default.stories.d.ts +9 -0
  17. package/dist/src/components/side-menu-2/menu-button/types.d.ts +2 -0
  18. package/dist/src/components/side-menu-2/menu-item/index.vue.d.ts +17 -0
  19. package/dist/src/components/side-menu-2/menu-item/stories/constants.d.ts +4 -0
  20. package/dist/src/components/side-menu-2/menu-item/stories/default.stories.d.ts +10 -0
  21. package/dist/src/index.d.ts +3 -3
  22. package/dist/style.css +1 -1
  23. package/package.json +1 -2
  24. package/dist/chart-COqA8ajD.js +0 -44
  25. package/dist/chart-bold-ByQxVqmG.js +0 -31
  26. package/dist/logout-CAdXv95g.js +0 -39
  27. package/dist/logout-bold-DF5Nim1a.js +0 -23
  28. package/dist/src/components/select-2/components/selectOption.vue.d.ts +0 -33
  29. package/dist/src/components/select-2/components/selectOptionGroup.vue.d.ts +0 -19
  30. package/dist/src/components/select-2/composables/use-keyboard-navigation.d.ts +0 -8
  31. package/dist/src/components/select-2/composables/use-options-registry.d.ts +0 -7
  32. package/dist/src/components/select-2/index.vue.d.ts +0 -327
  33. package/dist/src/components/select-2/stories/borderless.stories.d.ts +0 -8
  34. package/dist/src/components/select-2/stories/constants.d.ts +0 -12
  35. package/dist/src/components/select-2/stories/inline.stories.d.ts +0 -8
  36. package/dist/src/components/select-2/stories/multiple.stories.d.ts +0 -14
  37. package/dist/src/components/select-2/stories/select-option-group.stories.d.ts +0 -41
  38. package/dist/src/components/select-2/stories/select-option.stories.d.ts +0 -81
  39. package/dist/src/components/select-2/stories/single.stories.d.ts +0 -25
  40. package/dist/src/components/select-2/types.d.ts +0 -175
  41. package/dist/trend-up-CZVY6-2U.js +0 -26
  42. /package/dist/src/components/{select-2/select.test.d.ts → side-menu-2/side-menu-2.test.d.ts} +0 -0
  43. /package/dist/{trend-up-linear-fVBmX1Lo.js → trend-up-fVBmX1Lo.js} +0 -0
@@ -1,81 +0,0 @@
1
- import type { Meta } from '@storybook/vue3';
2
- import { MaSelectOptionProps } from '../types';
3
- import { MaSelect2Option as MaSelectOption } from '@/index';
4
- declare const meta: Meta<typeof MaSelectOption>;
5
- export default meta;
6
- export declare const Single: import("@storybook/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
7
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaSelectOptionProps> & Readonly<{
8
- onSelected?: (...args: any[]) => any;
9
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- selected: (...args: any[]) => void;
11
- }, import("vue").PublicProps, {
12
- checkboxPosition: import("../types").MaSelectOptionCheckboxPosition;
13
- multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
14
- }, false, {}, {}, 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<MaSelectOptionProps> & Readonly<{
22
- onSelected?: (...args: any[]) => any;
23
- }>, {}, {}, {}, {}, {
24
- checkboxPosition: import("../types").MaSelectOptionCheckboxPosition;
25
- multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
26
- }>;
27
- __isFragment?: never;
28
- __isTeleport?: never;
29
- __isSuspense?: never;
30
- } & import("vue").ComponentOptionsBase<Readonly<MaSelectOptionProps> & Readonly<{
31
- onSelected?: (...args: any[]) => any;
32
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
- selected: (...args: any[]) => void;
34
- }, string, {
35
- checkboxPosition: import("../types").MaSelectOptionCheckboxPosition;
36
- multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
37
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
38
- $slots: Readonly<{
39
- default(): unknown;
40
- }> & {
41
- default(): unknown;
42
- };
43
- })>>;
44
- export declare const Multiple: import("@storybook/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
45
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaSelectOptionProps> & Readonly<{
46
- onSelected?: (...args: any[]) => any;
47
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
- selected: (...args: any[]) => void;
49
- }, import("vue").PublicProps, {
50
- checkboxPosition: import("../types").MaSelectOptionCheckboxPosition;
51
- multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
52
- }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLDivElement, import("vue").ComponentProvideOptions, {
53
- P: {};
54
- B: {};
55
- D: {};
56
- C: {};
57
- M: {};
58
- Defaults: {};
59
- }, Readonly<MaSelectOptionProps> & Readonly<{
60
- onSelected?: (...args: any[]) => any;
61
- }>, {}, {}, {}, {}, {
62
- checkboxPosition: import("../types").MaSelectOptionCheckboxPosition;
63
- multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
64
- }>;
65
- __isFragment?: never;
66
- __isTeleport?: never;
67
- __isSuspense?: never;
68
- } & import("vue").ComponentOptionsBase<Readonly<MaSelectOptionProps> & Readonly<{
69
- onSelected?: (...args: any[]) => any;
70
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
71
- selected: (...args: any[]) => void;
72
- }, string, {
73
- checkboxPosition: import("../types").MaSelectOptionCheckboxPosition;
74
- multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
75
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
76
- $slots: Readonly<{
77
- default(): unknown;
78
- }> & {
79
- default(): unknown;
80
- };
81
- })>>;
@@ -1,25 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/vue3';
2
- import { MaSelect2 as MaSelect } from '@/index';
3
- declare const meta: Meta<typeof MaSelect>;
4
- export default meta;
5
- type Story = StoryObj<typeof MaSelect>;
6
- export declare const Default: Story;
7
- export declare const WithHintText: Story;
8
- export declare const Disabled: Story;
9
- export declare const Loading: Story;
10
- export declare const ErrorState: Story;
11
- export declare const ErrorWithHintText: Story;
12
- export declare const WithSearch: Story;
13
- export declare const CustomDropdownRender: Story;
14
- export declare const WithOptionSlot: Story;
15
- export declare const CustomListHeight: Story;
16
- export declare const CustomListWidth: Story;
17
- export declare const Overflow: Story;
18
- export declare const WithAppIcon: Story;
19
- export declare const WithBadge: Story;
20
- export declare const WithIcon: Story;
21
- export declare const CustomFooterAndHeader: Story;
22
- export declare const CustomInputSlot: Story;
23
- export declare const CompactSelectFlag: Story;
24
- export declare const CompactSelectNumber: Story;
25
- export declare const AllowClear: Story;
@@ -1,175 +0,0 @@
1
- import { MaPopover2Props as MaPopoverProps } from '@/components/popover-2/index.vue';
2
- export declare const MaSelectSizes: readonly ["small", "medium", "large"];
3
- export declare const MaSelectOptionCheckboxPositions: readonly ["left", "right", "hidden"];
4
- export declare const MaSelectMultiSelectionInputs: readonly ["checkbox", "toggle"];
5
- export type MaSelectSize = (typeof MaSelectSizes)[number];
6
- export type MaSelectOptionCheckboxPosition = (typeof MaSelectOptionCheckboxPositions)[number];
7
- export type MaSelectMultiSelectionInput = (typeof MaSelectMultiSelectionInputs)[number];
8
- export type MaSelectValue = string | number | string[] | number[];
9
- export type MaSelectOptionValue = string | number;
10
- export interface MaSelectOption {
11
- label?: string;
12
- value: MaSelectOptionValue;
13
- disabled?: boolean;
14
- }
15
- export interface MaSelectProps {
16
- /**
17
- * Size of the select input
18
- * @default small
19
- */
20
- size?: MaSelectSize;
21
- /**
22
- * Determines if the select component should operate in single or multiple selection mode.
23
- * @default false
24
- */
25
- multiple?: boolean;
26
- /**
27
- * Current selected option (v-model)
28
- */
29
- value?: MaSelectValue;
30
- /**
31
- * Placeholder of select
32
- */
33
- placeholder?: string;
34
- /**
35
- * Data of the selectOption, manual construction work is no longer needed if this property has been set
36
- * @default []
37
- */
38
- options?: MaSelectOption[];
39
- /**
40
- * Show clear button.
41
- * @default false
42
- */
43
- allowClear?: boolean;
44
- /**
45
- * Show search input on the dropdown.
46
- * @default false
47
- */
48
- showSearch?: boolean;
49
- /**
50
- * The placeholder of the search button.
51
- * @default Search...
52
- */
53
- searchPlaceholder?: string;
54
- /**
55
- * The custom prefix icon
56
- */
57
- prefixIcon?: string;
58
- /**
59
- * className of dropdown menu
60
- */
61
- dropdownClassName?: string;
62
- /**
63
- * The disabled state of the component
64
- * @default false
65
- */
66
- disabled?: boolean;
67
- /**
68
- * The loading state of the component
69
- * @default false
70
- */
71
- loading?: boolean;
72
- /**
73
- * Controlled open state of dropdown
74
- */
75
- open?: boolean;
76
- /**
77
- * Config popup max height
78
- * @default 256
79
- */
80
- listHeight?: number;
81
- /**
82
- * Determine whether the dropdown menu and the select input are the same width.
83
- * When it is false, a specific width must be given for the dropdown! Otherwise virtual scroll does not work
84
- * @default true
85
- */
86
- dropdownMatchSelectWidth?: boolean;
87
- /**
88
- * borderless version of the select
89
- * @default false
90
- */
91
- borderless?: boolean;
92
- /**
93
- * inline version of the select
94
- * @default false
95
- */
96
- inline?: boolean;
97
- /**
98
- * error version of the select
99
- * @default false
100
- */
101
- hasError?: boolean;
102
- /**
103
- * hint text of the select
104
- */
105
- hint?: string;
106
- /**
107
- * popover component props, See the popover component props for details
108
- */
109
- dropdownProps?: MaPopoverProps;
110
- /**
111
- * checkbox will appear on the right, left or hidden
112
- * works only multiple mode
113
- * @default left
114
- */
115
- checkboxPosition?: MaSelectOptionCheckboxPosition;
116
- /**
117
- * Active selection item input
118
- * works only multiple mode
119
- * @default checkbox
120
- */
121
- multiSelectionInput?: MaSelectMultiSelectionInput;
122
- /**
123
- * Whether there will be a check icon on the selected item label or not
124
- * works only single mode
125
- */
126
- hideCheckIcon?: boolean;
127
- /**
128
- * compact mode, Some spaces change in the input
129
- * @default false
130
- */
131
- compact?: boolean;
132
- /**
133
- * Hide the suffix arrow icon & slot
134
- * @default false
135
- */
136
- hideSuffix?: boolean;
137
- }
138
- export interface MaSelectOptionProps {
139
- /**
140
- * checkbox will appear on the right, left or hidden
141
- * works only multiple mode
142
- * @default left
143
- */
144
- checkboxPosition?: MaSelectOptionCheckboxPosition;
145
- /**
146
- * Whether there will be a check icon on the selected item label or not
147
- * works only single mode
148
- */
149
- hideCheckIcon?: boolean;
150
- /**
151
- * Active selection item input
152
- * works only multiple mode
153
- * @default checkbox
154
- */
155
- multiSelectionInput?: MaSelectMultiSelectionInput;
156
- /**
157
- * The value of the option
158
- */
159
- value: MaSelectOptionValue;
160
- /**
161
- * The label of the option
162
- */
163
- label?: string;
164
- /**
165
- * The disabled state of the option
166
- * @default false
167
- */
168
- disabled?: boolean;
169
- }
170
- export interface MaSelectGroupProps {
171
- /**
172
- * The label of the option group
173
- */
174
- label?: string;
175
- }
@@ -1,26 +0,0 @@
1
- import { openBlock as e, createElementBlock as o, createElementVNode as r } from "vue";
2
- const t = {
3
- viewBox: "0 0 24 24",
4
- fill: "none",
5
- xmlns: "http://www.w3.org/2000/svg"
6
- };
7
- function l(n, C) {
8
- return e(), o("svg", t, C[0] || (C[0] = [
9
- r("path", {
10
- opacity: "0.4",
11
- d: "M21.49 7.80863V7.81V16.19C21.49 17.9106 20.9791 19.2238 20.0964 20.1064C19.2138 20.9891 17.9006 21.5 16.18 21.5H7.81C6.08945 21.5 4.77634 20.9891 3.89377 20.1054C3.01114 19.2217 2.5 17.9059 2.5 16.18V7.81C2.5 6.08944 3.01093 4.77618 3.89355 3.89355C4.77618 3.01093 6.08944 2.5 7.81 2.5H16.19C17.9107 2.5 19.2237 3.01097 20.105 3.89333C20.9861 4.77559 21.4947 6.08838 21.49 7.80863Z",
12
- fill: "currentColor",
13
- stroke: "currentColor"
14
- }, null, -1),
15
- r("path", {
16
- d: "M16.3676 9.60035L16.3746 9.61725L16.38 9.6282C16.3809 9.63106 16.3826 9.63717 16.385 9.64764C16.388 9.66081 16.391 9.67567 16.3955 9.69871L16.3964 9.70304C16.3975 9.70865 16.3987 9.71477 16.3999 9.72129V11.54C16.3999 11.6538 16.3138 11.74 16.1999 11.74C16.0861 11.74 15.9999 11.6538 15.9999 11.54V11.36V10.1529L15.1464 11.0064L12.4264 13.7264C12.3825 13.7703 12.3393 13.7885 12.2665 13.7821C12.2248 13.7779 12.1699 13.7527 12.1211 13.6854L11.1051 12.1714L10.7663 11.6665L10.3364 12.0964L7.95639 14.4764C7.92501 14.5078 7.87436 14.53 7.81994 14.53C7.76146 14.53 7.72329 14.5149 7.68677 14.4796C7.60339 14.3899 7.61309 14.2639 7.68349 14.1935L10.6635 11.2135C10.7074 11.1697 10.7506 11.1514 10.8234 11.1578C10.865 11.1621 10.9199 11.1873 10.9688 11.2546L11.9848 12.7686L12.3236 13.2735L12.7535 12.8435L14.8635 10.7335L15.717 9.87998H14.5099H14.3299C14.2161 9.87998 14.1299 9.79384 14.1299 9.67998C14.1299 9.56612 14.2161 9.47998 14.3299 9.47998H16.1899C16.2069 9.47998 16.2338 9.48398 16.266 9.49511C16.3101 9.51543 16.3493 9.55579 16.3676 9.60035Z",
17
- fill: "currentColor",
18
- stroke: "currentColor"
19
- }, null, -1)
20
- ]));
21
- }
22
- const c = { render: l };
23
- export {
24
- c as default,
25
- l as render
26
- };