@mobileaction/action-kit 1.40.7-beta.0 → 1.40.7-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 (31) hide show
  1. package/dist/action-kit.mjs +9132 -9558
  2. package/dist/{chevron-down-Crl-9ZCo.js → chevron-down-C2QrbBk7.js} +3 -3
  3. package/dist/chevron-left-Do1nR84c.js +21 -0
  4. package/dist/chevron-right-DSAfvAlZ.js +21 -0
  5. package/dist/{chevron-up-gGvSq6tg.js → chevron-up-BN5TUeRs.js} +3 -3
  6. package/dist/src/components/date-picker-2/index.vue.d.ts +4 -4
  7. package/dist/src/components/modal/stories/constants.d.ts +1 -0
  8. package/dist/src/components/modal/stories/default.stories.d.ts +1 -0
  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/index.d.ts +0 -3
  14. package/dist/style.css +1 -1
  15. package/package.json +1 -2
  16. package/dist/chevron-left-dQluou6f.js +0 -22
  17. package/dist/chevron-right-eujt5l7O.js +0 -22
  18. package/dist/src/components/select-2/components/selectOption.vue.d.ts +0 -33
  19. package/dist/src/components/select-2/components/selectOptionGroup.vue.d.ts +0 -19
  20. package/dist/src/components/select-2/composables/use-keyboard-navigation.d.ts +0 -8
  21. package/dist/src/components/select-2/composables/use-options-registry.d.ts +0 -7
  22. package/dist/src/components/select-2/index.vue.d.ts +0 -328
  23. package/dist/src/components/select-2/select.test.d.ts +0 -1
  24. package/dist/src/components/select-2/stories/borderless.stories.d.ts +0 -8
  25. package/dist/src/components/select-2/stories/constants.d.ts +0 -12
  26. package/dist/src/components/select-2/stories/inline.stories.d.ts +0 -8
  27. package/dist/src/components/select-2/stories/multiple.stories.d.ts +0 -14
  28. package/dist/src/components/select-2/stories/select-option-group.stories.d.ts +0 -41
  29. package/dist/src/components/select-2/stories/select-option.stories.d.ts +0 -81
  30. package/dist/src/components/select-2/stories/single.stories.d.ts +0 -25
  31. package/dist/src/components/select-2/types.d.ts +0 -180
@@ -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,180 +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
- * disable arrow and enter keys actions
139
- * @default false
140
- */
141
- disableKeywordActions?: boolean;
142
- }
143
- export interface MaSelectOptionProps {
144
- /**
145
- * checkbox will appear on the right, left or hidden
146
- * works only multiple mode
147
- * @default left
148
- */
149
- checkboxPosition?: MaSelectOptionCheckboxPosition;
150
- /**
151
- * Whether there will be a check icon on the selected item label or not
152
- * works only single mode
153
- */
154
- hideCheckIcon?: boolean;
155
- /**
156
- * Active selection item input
157
- * works only multiple mode
158
- * @default checkbox
159
- */
160
- multiSelectionInput?: MaSelectMultiSelectionInput;
161
- /**
162
- * The value of the option
163
- */
164
- value: MaSelectOptionValue;
165
- /**
166
- * The label of the option
167
- */
168
- label?: string;
169
- /**
170
- * The disabled state of the option
171
- * @default false
172
- */
173
- disabled?: boolean;
174
- }
175
- export interface MaSelectGroupProps {
176
- /**
177
- * The label of the option group
178
- */
179
- label?: string;
180
- }