@mobileaction/action-kit 1.1.22 → 1.1.24

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 (73) hide show
  1. package/dist/action-kit.js +3 -3
  2. package/dist/action-kit.mjs +1429 -906
  3. package/dist/add-app-c6cfc484.mjs +16 -0
  4. package/dist/add-app-ca2d1245.js +1 -0
  5. package/dist/box-empty-2e81a600.js +1 -0
  6. package/dist/box-empty-c7e5e478.mjs +39 -0
  7. package/dist/close-circle-bulk-49febd0e.mjs +24 -0
  8. package/dist/close-circle-bulk-b52bdb88.js +1 -0
  9. package/dist/components/button/index.vue.d.ts +3 -3
  10. package/dist/components/dropdown/index.vue.d.ts +81 -0
  11. package/dist/components/dropdown/types.d.ts +4 -0
  12. package/dist/components/empty/index.vue.d.ts +51 -0
  13. package/dist/components/empty/types.d.ts +7 -0
  14. package/dist/components/modal/index.vue.d.ts +1 -1
  15. package/dist/components/spin/index.vue.d.ts +45 -0
  16. package/dist/components/spin/types.d.ts +4 -0
  17. package/dist/components/tooltip/index.vue.d.ts +3 -3
  18. package/dist/components/upload/composables/file.d.ts +7 -0
  19. package/dist/components/upload/index.vue.d.ts +203 -0
  20. package/dist/components/upload/singleFile.vue.d.ts +38 -0
  21. package/dist/components/upload/types.d.ts +17 -0
  22. package/dist/document-bulk-1d978376.mjs +24 -0
  23. package/dist/document-bulk-86acdc42.js +1 -0
  24. package/dist/empty-table-41155dd6.mjs +16 -0
  25. package/dist/empty-table-855edce8.js +1 -0
  26. package/dist/export-2-6595b6fa.mjs +22 -0
  27. package/dist/export-2-69f06f16.js +1 -0
  28. package/dist/export-2-bold-5629dc36.js +1 -0
  29. package/dist/export-2-bold-8832fb34.mjs +19 -0
  30. package/dist/export-2-bulk-25deffb0.mjs +24 -0
  31. package/dist/export-2-bulk-e71812db.js +1 -0
  32. package/dist/index.d.ts +8 -0
  33. package/dist/selection-08a9c952.mjs +16 -0
  34. package/dist/selection-f5ae8ebf.js +1 -0
  35. package/dist/spin-dots-25d015b7.mjs +16 -0
  36. package/dist/spin-dots-388f853c.js +1 -0
  37. package/dist/spin-round-23788f05.js +1 -0
  38. package/dist/spin-round-9db617b7.mjs +26 -0
  39. package/dist/spin-three-circles-00b10e29.js +1 -0
  40. package/dist/spin-three-circles-13ae8650.mjs +33 -0
  41. package/dist/spin-three-dots-7cdf047c.js +1 -0
  42. package/dist/spin-three-dots-c116245e.mjs +36 -0
  43. package/dist/src/components/button/index.vue.d.ts +1 -1
  44. package/dist/src/components/dropdown/index.vue.d.ts +54 -0
  45. package/dist/src/components/dropdown/stories/constants.d.ts +4 -0
  46. package/dist/src/components/dropdown/stories/default.stories.d.ts +6 -0
  47. package/dist/src/components/dropdown/types.d.ts +4 -0
  48. package/dist/src/components/empty/index.vue.d.ts +39 -0
  49. package/dist/src/components/empty/stories/constants.d.ts +4 -0
  50. package/dist/src/components/empty/stories/default.stories.d.ts +6 -0
  51. package/dist/src/components/empty/types.d.ts +7 -0
  52. package/dist/src/components/modal/index.vue.d.ts +1 -1
  53. package/dist/src/components/spin/index.vue.d.ts +41 -0
  54. package/dist/src/components/spin/stories/constants.d.ts +5 -0
  55. package/dist/src/components/spin/stories/container.stories.d.ts +6 -0
  56. package/dist/src/components/spin/stories/default.stories.d.ts +6 -0
  57. package/dist/src/components/spin/types.d.ts +4 -0
  58. package/dist/src/components/tooltip/index.vue.d.ts +1 -1
  59. package/dist/src/components/upload/composables/file.d.ts +7 -0
  60. package/dist/src/components/upload/index.vue.d.ts +72 -0
  61. package/dist/src/components/upload/singleFile.vue.d.ts +25 -0
  62. package/dist/src/components/upload/stories/box.stories.d.ts +11 -0
  63. package/dist/src/components/upload/stories/button.stories.d.ts +6 -0
  64. package/dist/src/components/upload/stories/constants.d.ts +6 -0
  65. package/dist/src/components/upload/stories/small-box.stories.d.ts +6 -0
  66. package/dist/src/components/upload/types.d.ts +17 -0
  67. package/dist/src/index.d.ts +8 -0
  68. package/dist/style.css +1 -1
  69. package/dist/trash-bulk-034c6526.js +1 -0
  70. package/dist/trash-bulk-89ab0a45.mjs +30 -0
  71. package/dist/upload-bulk-4dd4fc57.js +1 -0
  72. package/dist/upload-bulk-c4de9af1.mjs +24 -0
  73. package/package.json +1 -1
@@ -0,0 +1,81 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import { MaDropdownPlacement, MaDropdownTrigger } from "./types";
3
+ export interface MaDropdownProps {
4
+ destroyPopupOnHide?: boolean;
5
+ disabled?: boolean;
6
+ placement?: MaDropdownPlacement;
7
+ trigger?: MaDropdownTrigger[];
8
+ visible?: boolean;
9
+ overlayClassName?: string;
10
+ }
11
+ declare const _sfc_main: import("vue").DefineComponent<{
12
+ destroyPopupOnHide: {
13
+ type: __PropType<boolean>;
14
+ required: false;
15
+ default: boolean;
16
+ };
17
+ disabled: {
18
+ type: __PropType<boolean>;
19
+ required: false;
20
+ default: boolean;
21
+ };
22
+ placement: {
23
+ type: __PropType<"bottomLeft" | "bottom" | "bottomRight" | "topLeft" | "top" | "topRight">;
24
+ required: false;
25
+ default: string;
26
+ };
27
+ trigger: {
28
+ type: __PropType<("click" | "hover" | "contextmenu")[]>;
29
+ required: false;
30
+ default: () => string[];
31
+ };
32
+ visible: {
33
+ type: __PropType<boolean>;
34
+ required: false;
35
+ default: boolean;
36
+ };
37
+ overlayClassName: {
38
+ type: __PropType<string>;
39
+ required: false;
40
+ };
41
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "visibleChange")[], "update:visible" | "visibleChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
+ destroyPopupOnHide: {
43
+ type: __PropType<boolean>;
44
+ required: false;
45
+ default: boolean;
46
+ };
47
+ disabled: {
48
+ type: __PropType<boolean>;
49
+ required: false;
50
+ default: boolean;
51
+ };
52
+ placement: {
53
+ type: __PropType<"bottomLeft" | "bottom" | "bottomRight" | "topLeft" | "top" | "topRight">;
54
+ required: false;
55
+ default: string;
56
+ };
57
+ trigger: {
58
+ type: __PropType<("click" | "hover" | "contextmenu")[]>;
59
+ required: false;
60
+ default: () => string[];
61
+ };
62
+ visible: {
63
+ type: __PropType<boolean>;
64
+ required: false;
65
+ default: boolean;
66
+ };
67
+ overlayClassName: {
68
+ type: __PropType<string>;
69
+ required: false;
70
+ };
71
+ }>> & {
72
+ "onUpdate:visible"?: (...args: any[]) => any;
73
+ onVisibleChange?: (...args: any[]) => any;
74
+ }, {
75
+ disabled: boolean;
76
+ destroyPopupOnHide: boolean;
77
+ placement: "bottomLeft" | "bottom" | "bottomRight" | "topLeft" | "top" | "topRight";
78
+ trigger: ("click" | "hover" | "contextmenu")[];
79
+ visible: boolean;
80
+ }>;
81
+ export default _sfc_main;
@@ -0,0 +1,4 @@
1
+ export declare const MaDropdownPlacements: readonly ["bottomLeft", "bottom", "bottomRight", "topLeft", "top", "topRight"];
2
+ export declare const MaDropdownTriggers: readonly ["click", "hover", "contextmenu"];
3
+ export type MaDropdownPlacement = (typeof MaDropdownPlacements)[number];
4
+ export type MaDropdownTrigger = (typeof MaDropdownTriggers)[number];
@@ -0,0 +1,51 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import { MaEmptySize, MaEmptyVariant } from './types';
3
+ export interface MaRateProps {
4
+ size?: MaEmptySize;
5
+ variant?: MaEmptyVariant;
6
+ title?: string;
7
+ description?: string;
8
+ }
9
+ declare const _sfc_main: import("vue").DefineComponent<{
10
+ size: {
11
+ type: __PropType<"small" | "medium" | "large">;
12
+ required: false;
13
+ default: string;
14
+ };
15
+ variant: {
16
+ type: __PropType<"general" | "add-app" | "table" | "selection">;
17
+ required: false;
18
+ default: string;
19
+ };
20
+ title: {
21
+ type: __PropType<string>;
22
+ required: false;
23
+ };
24
+ description: {
25
+ type: __PropType<string>;
26
+ required: false;
27
+ };
28
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
+ size: {
30
+ type: __PropType<"small" | "medium" | "large">;
31
+ required: false;
32
+ default: string;
33
+ };
34
+ variant: {
35
+ type: __PropType<"general" | "add-app" | "table" | "selection">;
36
+ required: false;
37
+ default: string;
38
+ };
39
+ title: {
40
+ type: __PropType<string>;
41
+ required: false;
42
+ };
43
+ description: {
44
+ type: __PropType<string>;
45
+ required: false;
46
+ };
47
+ }>>, {
48
+ variant: "general" | "add-app" | "table" | "selection";
49
+ size: "small" | "medium" | "large";
50
+ }>;
51
+ export default _sfc_main;
@@ -0,0 +1,7 @@
1
+ export declare const MaEmptySizes: readonly ["small", "medium", "large"];
2
+ export declare const MaEmptyVariants: readonly ["general", "add-app", "table", "selection"];
3
+ export declare const MaEmptyIcons: {
4
+ [K in MaEmptyVariant]: string;
5
+ };
6
+ export type MaEmptySize = (typeof MaEmptySizes)[number];
7
+ export type MaEmptyVariant = (typeof MaEmptyVariants)[number];
@@ -134,9 +134,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
134
134
  default: number;
135
135
  };
136
136
  }>> & {
137
+ "onUpdate:visible"?: (...args: any[]) => any;
137
138
  onOk?: (...args: any[]) => any;
138
139
  onCancel?: (...args: any[]) => any;
139
- "onUpdate:visible"?: (...args: any[]) => any;
140
140
  }, {
141
141
  closable: boolean;
142
142
  width: number;
@@ -0,0 +1,45 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import { MaSpinColor, MaSpinType } from './types';
3
+ export interface MaSpinProps {
4
+ type?: MaSpinType;
5
+ color?: MaSpinColor;
6
+ spinning?: boolean;
7
+ }
8
+ declare const _sfc_main: import("vue").DefineComponent<{
9
+ type: {
10
+ type: __PropType<"round" | "dots" | "three-circles" | "three-dots">;
11
+ required: false;
12
+ default: string;
13
+ };
14
+ color: {
15
+ type: __PropType<"dark" | "blue" | "orange" | "jordy" | "grey">;
16
+ required: false;
17
+ default: string;
18
+ };
19
+ spinning: {
20
+ type: __PropType<boolean>;
21
+ required: false;
22
+ default: boolean;
23
+ };
24
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ type: {
26
+ type: __PropType<"round" | "dots" | "three-circles" | "three-dots">;
27
+ required: false;
28
+ default: string;
29
+ };
30
+ color: {
31
+ type: __PropType<"dark" | "blue" | "orange" | "jordy" | "grey">;
32
+ required: false;
33
+ default: string;
34
+ };
35
+ spinning: {
36
+ type: __PropType<boolean>;
37
+ required: false;
38
+ default: boolean;
39
+ };
40
+ }>>, {
41
+ type: "round" | "dots" | "three-circles" | "three-dots";
42
+ color: "dark" | "blue" | "orange" | "jordy" | "grey";
43
+ spinning: boolean;
44
+ }>;
45
+ export default _sfc_main;
@@ -0,0 +1,4 @@
1
+ export declare const MaSpinTypes: readonly ["round", "dots", "three-circles", "three-dots"];
2
+ export declare const MaSpinColors: readonly ["dark", "jordy", "blue", "orange", "grey"];
3
+ export type MaSpinType = (typeof MaSpinTypes)[number];
4
+ export type MaSpinColor = (typeof MaSpinColors)[number];
@@ -35,7 +35,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
35
35
  required: false;
36
36
  };
37
37
  trigger: {
38
- type: __PropType<"click" | "focus" | "hover" | "contextmenu">;
38
+ type: __PropType<"click" | "hover" | "contextmenu" | "focus">;
39
39
  required: false;
40
40
  default: string;
41
41
  };
@@ -72,7 +72,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
72
72
  required: false;
73
73
  };
74
74
  trigger: {
75
- type: __PropType<"click" | "focus" | "hover" | "contextmenu">;
75
+ type: __PropType<"click" | "hover" | "contextmenu" | "focus">;
76
76
  required: false;
77
77
  default: string;
78
78
  };
@@ -88,7 +88,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
88
88
  }>>, {
89
89
  type: "primary" | "secondary";
90
90
  placement: TooltipPlacement;
91
- trigger: "click" | "focus" | "hover" | "contextmenu";
91
+ trigger: "click" | "hover" | "contextmenu" | "focus";
92
92
  defaultVisible: boolean;
93
93
  }>;
94
94
  export default _sfc_main;
@@ -0,0 +1,7 @@
1
+ import { MAUploadFile, MaUploadFileStatus } from './../types';
2
+ export declare const generateFileID: (length?: number) => string;
3
+ export declare const useUploadFile: (action: string, headers: Record<string, string>, additionalData: Record<string, any>, name: string) => {
4
+ progress: import("vue").Ref<number>;
5
+ upload: (maFile: MAUploadFile, cb: (status: MaUploadFileStatus, progress: number, response?: any) => void) => Promise<void>;
6
+ };
7
+ export declare const validateFile: (file: File, acceptedTypesStr: string) => boolean;
@@ -0,0 +1,203 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import { MaUploadType, MaUploadSize, MAUploadFile } from './types';
3
+ export interface MaUploadProps {
4
+ fileList: MAUploadFile[];
5
+ type?: MaUploadType;
6
+ size?: MaUploadSize;
7
+ accept?: string;
8
+ action?: string;
9
+ beforeUpload?: (file: File) => Promise<File>;
10
+ data?: Object;
11
+ disabled?: boolean;
12
+ headers?: Record<string, string>;
13
+ maxCount?: number;
14
+ maxFileSize?: number;
15
+ multiple?: boolean;
16
+ name?: string;
17
+ ordered?: boolean;
18
+ showFileList?: boolean;
19
+ title?: string;
20
+ description?: string;
21
+ wait?: boolean;
22
+ }
23
+ declare const _sfc_main: import("vue").DefineComponent<{
24
+ fileList: {
25
+ type: __PropType<MAUploadFile[]>;
26
+ required: true;
27
+ };
28
+ type: {
29
+ type: __PropType<"button" | "box" | "small-box">;
30
+ required: false;
31
+ default: string;
32
+ };
33
+ size: {
34
+ type: __PropType<"xs" | "sm" | "md" | "lg" | "xl">;
35
+ required: false;
36
+ default: string;
37
+ };
38
+ accept: {
39
+ type: __PropType<string>;
40
+ required: false;
41
+ };
42
+ action: {
43
+ type: __PropType<string>;
44
+ required: false;
45
+ };
46
+ beforeUpload: {
47
+ type: __PropType<(file: File) => Promise<File>>;
48
+ required: false;
49
+ };
50
+ data: {
51
+ type: __PropType<Object>;
52
+ required: false;
53
+ };
54
+ disabled: {
55
+ type: __PropType<boolean>;
56
+ required: false;
57
+ default: boolean;
58
+ };
59
+ headers: {
60
+ type: __PropType<Record<string, string>>;
61
+ required: false;
62
+ default: () => {};
63
+ };
64
+ maxCount: {
65
+ type: __PropType<number>;
66
+ required: false;
67
+ };
68
+ maxFileSize: {
69
+ type: __PropType<number>;
70
+ required: false;
71
+ };
72
+ multiple: {
73
+ type: __PropType<boolean>;
74
+ required: false;
75
+ default: boolean;
76
+ };
77
+ name: {
78
+ type: __PropType<string>;
79
+ required: false;
80
+ default: string;
81
+ };
82
+ ordered: {
83
+ type: __PropType<boolean>;
84
+ required: false;
85
+ default: boolean;
86
+ };
87
+ showFileList: {
88
+ type: __PropType<boolean>;
89
+ required: false;
90
+ default: boolean;
91
+ };
92
+ title: {
93
+ type: __PropType<string>;
94
+ required: false;
95
+ };
96
+ description: {
97
+ type: __PropType<string>;
98
+ required: false;
99
+ };
100
+ wait: {
101
+ type: __PropType<boolean>;
102
+ required: false;
103
+ default: boolean;
104
+ };
105
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "change" | "update:fileList" | "remove")[], "error" | "change" | "update:fileList" | "remove", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
106
+ fileList: {
107
+ type: __PropType<MAUploadFile[]>;
108
+ required: true;
109
+ };
110
+ type: {
111
+ type: __PropType<"button" | "box" | "small-box">;
112
+ required: false;
113
+ default: string;
114
+ };
115
+ size: {
116
+ type: __PropType<"xs" | "sm" | "md" | "lg" | "xl">;
117
+ required: false;
118
+ default: string;
119
+ };
120
+ accept: {
121
+ type: __PropType<string>;
122
+ required: false;
123
+ };
124
+ action: {
125
+ type: __PropType<string>;
126
+ required: false;
127
+ };
128
+ beforeUpload: {
129
+ type: __PropType<(file: File) => Promise<File>>;
130
+ required: false;
131
+ };
132
+ data: {
133
+ type: __PropType<Object>;
134
+ required: false;
135
+ };
136
+ disabled: {
137
+ type: __PropType<boolean>;
138
+ required: false;
139
+ default: boolean;
140
+ };
141
+ headers: {
142
+ type: __PropType<Record<string, string>>;
143
+ required: false;
144
+ default: () => {};
145
+ };
146
+ maxCount: {
147
+ type: __PropType<number>;
148
+ required: false;
149
+ };
150
+ maxFileSize: {
151
+ type: __PropType<number>;
152
+ required: false;
153
+ };
154
+ multiple: {
155
+ type: __PropType<boolean>;
156
+ required: false;
157
+ default: boolean;
158
+ };
159
+ name: {
160
+ type: __PropType<string>;
161
+ required: false;
162
+ default: string;
163
+ };
164
+ ordered: {
165
+ type: __PropType<boolean>;
166
+ required: false;
167
+ default: boolean;
168
+ };
169
+ showFileList: {
170
+ type: __PropType<boolean>;
171
+ required: false;
172
+ default: boolean;
173
+ };
174
+ title: {
175
+ type: __PropType<string>;
176
+ required: false;
177
+ };
178
+ description: {
179
+ type: __PropType<string>;
180
+ required: false;
181
+ };
182
+ wait: {
183
+ type: __PropType<boolean>;
184
+ required: false;
185
+ default: boolean;
186
+ };
187
+ }>> & {
188
+ onError?: (...args: any[]) => any;
189
+ onChange?: (...args: any[]) => any;
190
+ "onUpdate:fileList"?: (...args: any[]) => any;
191
+ onRemove?: (...args: any[]) => any;
192
+ }, {
193
+ type: "button" | "box" | "small-box";
194
+ name: string;
195
+ size: "xs" | "sm" | "md" | "lg" | "xl";
196
+ disabled: boolean;
197
+ multiple: boolean;
198
+ headers: Record<string, string>;
199
+ ordered: boolean;
200
+ showFileList: boolean;
201
+ wait: boolean;
202
+ }>;
203
+ export default _sfc_main;
@@ -0,0 +1,38 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import { MAUploadFile } from './types';
3
+ export interface SingleFileProps {
4
+ file: MAUploadFile;
5
+ action?: string;
6
+ disabled: boolean;
7
+ }
8
+ declare const _sfc_main: import("vue").DefineComponent<{
9
+ file: {
10
+ type: __PropType<MAUploadFile>;
11
+ required: true;
12
+ };
13
+ action: {
14
+ type: __PropType<string>;
15
+ required: false;
16
+ };
17
+ disabled: {
18
+ type: __PropType<boolean>;
19
+ required: true;
20
+ };
21
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "remove")[], "cancel" | "remove", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ file: {
23
+ type: __PropType<MAUploadFile>;
24
+ required: true;
25
+ };
26
+ action: {
27
+ type: __PropType<string>;
28
+ required: false;
29
+ };
30
+ disabled: {
31
+ type: __PropType<boolean>;
32
+ required: true;
33
+ };
34
+ }>> & {
35
+ onCancel?: (...args: any[]) => any;
36
+ onRemove?: (...args: any[]) => any;
37
+ }, {}>;
38
+ export default _sfc_main;
@@ -0,0 +1,17 @@
1
+ export declare const MaUploadTypes: readonly ["button", "box", "small-box"];
2
+ export declare const MaUploadSizes: readonly ["xs", "sm", "md", "lg", "xl"];
3
+ export declare enum MaUploadFileStatus {
4
+ error = "error",
5
+ done = "done",
6
+ uploading = "uploading"
7
+ }
8
+ export interface MAUploadFile {
9
+ id: string;
10
+ file: File;
11
+ status: MaUploadFileStatus;
12
+ response: any;
13
+ progress: number;
14
+ cancelRequest?: () => void;
15
+ }
16
+ export type MaUploadType = (typeof MaUploadTypes)[number];
17
+ export type MaUploadSize = (typeof MaUploadSizes)[number];
@@ -0,0 +1,24 @@
1
+ import { openBlock as e, createElementBlock as t, createElementVNode as c } from "vue";
2
+ const o = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 24 24"
6
+ }, n = /* @__PURE__ */ c("path", {
7
+ fill: "currentColor",
8
+ d: "M21 7v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z",
9
+ opacity: ".4"
10
+ }, null, -1), l = /* @__PURE__ */ c("path", {
11
+ fill: "currentColor",
12
+ d: "M18.5 9.25h-2c-1.52 0-2.75-1.23-2.75-2.75v-2c0-.41.34-.75.75-.75s.75.34.75.75v2c0 .69.56 1.25 1.25 1.25h2c.41 0 .75.34.75.75s-.34.75-.75.75ZM12 13.75H8c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h4c.41 0 .75.34.75.75s-.34.75-.75.75ZM16 17.75H8c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h8c.41 0 .75.34.75.75s-.34.75-.75.75Z"
13
+ }, null, -1), s = [
14
+ n,
15
+ l
16
+ ];
17
+ function r(h, d) {
18
+ return e(), t("svg", o, s);
19
+ }
20
+ const _ = { render: r };
21
+ export {
22
+ _ as default,
23
+ r as render
24
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},o=e.createElementVNode("path",{fill:"currentColor",d:"M21 7v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z",opacity:".4"},null,-1),n=e.createElementVNode("path",{fill:"currentColor",d:"M18.5 9.25h-2c-1.52 0-2.75-1.23-2.75-2.75v-2c0-.41.34-.75.75-.75s.75.34.75.75v2c0 .69.56 1.25 1.25 1.25h2c.41 0 .75.34.75.75s-.34.75-.75.75ZM12 13.75H8c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h4c.41 0 .75.34.75.75s-.34.75-.75.75ZM16 17.75H8c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h8c.41 0 .75.34.75.75s-.34.75-.75.75Z"},null,-1),r=[o,n];function t(s,d){return e.openBlock(),e.createElementBlock("svg",c,r)}const l={render:t};exports.default=l;exports.render=t;
@@ -0,0 +1,16 @@
1
+ import { openBlock as e, createElementBlock as t, createStaticVNode as r } from "vue";
2
+ const i = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 120 120"
6
+ }, l = /* @__PURE__ */ r('<g filter="url(#a)"><g clip-path="url(#b)"><rect width="120" height="120" fill="#F2F4F7" rx="60"></rect><path fill="#fff" d="M18 35.4a4.8 4.8 0 0 1 4.8-4.8h74.4a4.8 4.8 0 0 1 4.8 4.8v85.8H18V35.4Z"></path><rect width="69.6" height="12" x="24.6" y="44.4" fill="#D0D5DD" rx="2.4"></rect><rect width="53.4" height="12" x="25.2" y="67.2" fill="#EAECF0" rx="2.4"></rect><rect width="40.2" height="12" x="24.6" y="90" fill="#F2F4F7" rx="2.4"></rect></g></g><defs><clipPath id="b"><rect width="120" height="120" fill="#fff" rx="60"></rect></clipPath><filter id="a" width="120" height="120.6" x="0" y="-.6" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="-.6"></feOffset><feGaussianBlur stdDeviation="1.2"></feGaussianBlur><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"></feComposite><feColorMatrix values="0 0 0 0 0.20434 0 0 0 0 0.329917 0 0 0 0 0.445833 0 0 0 0.12 0"></feColorMatrix><feBlend in2="shape" result="effect1_innerShadow_589_74940"></feBlend></filter></defs>', 2), o = [
7
+ l
8
+ ];
9
+ function f(a, h) {
10
+ return e(), t("svg", i, o);
11
+ }
12
+ const s = { render: f };
13
+ export {
14
+ s as default,
15
+ f as render
16
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 120 120"},i=e.createStaticVNode('<g filter="url(#a)"><g clip-path="url(#b)"><rect width="120" height="120" fill="#F2F4F7" rx="60"></rect><path fill="#fff" d="M18 35.4a4.8 4.8 0 0 1 4.8-4.8h74.4a4.8 4.8 0 0 1 4.8 4.8v85.8H18V35.4Z"></path><rect width="69.6" height="12" x="24.6" y="44.4" fill="#D0D5DD" rx="2.4"></rect><rect width="53.4" height="12" x="25.2" y="67.2" fill="#EAECF0" rx="2.4"></rect><rect width="40.2" height="12" x="24.6" y="90" fill="#F2F4F7" rx="2.4"></rect></g></g><defs><clipPath id="b"><rect width="120" height="120" fill="#fff" rx="60"></rect></clipPath><filter id="a" width="120" height="120.6" x="0" y="-.6" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"></feColorMatrix><feOffset dy="-.6"></feOffset><feGaussianBlur stdDeviation="1.2"></feGaussianBlur><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"></feComposite><feColorMatrix values="0 0 0 0 0.20434 0 0 0 0 0.329917 0 0 0 0 0.445833 0 0 0 0.12 0"></feColorMatrix><feBlend in2="shape" result="effect1_innerShadow_589_74940"></feBlend></filter></defs>',2),l=[i];function t(a,f){return e.openBlock(),e.createElementBlock("svg",r,l)}const o={render:t};exports.default=o;exports.render=t;
@@ -0,0 +1,22 @@
1
+ import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
2
+ const n = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 24 24"
6
+ }, r = /* @__PURE__ */ t("path", {
7
+ stroke: "currentColor",
8
+ "stroke-linecap": "round",
9
+ "stroke-linejoin": "round",
10
+ "stroke-width": "1.5",
11
+ d: "M16.44 8.9c3.6.31 5.07 2.16 5.07 6.21v.13c0 4.47-1.79 6.26-6.26 6.26H8.74c-4.47 0-6.26-1.79-6.26-6.26v-.13c0-4.02 1.45-5.87 4.99-6.2M12 15V3.62M15.35 5.85 12 2.5 8.65 5.85"
12
+ }, null, -1), c = [
13
+ r
14
+ ];
15
+ function s(l, d) {
16
+ return e(), o("svg", n, c);
17
+ }
18
+ const _ = { render: s };
19
+ export {
20
+ _ as default,
21
+ s as render
22
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},r=e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M16.44 8.9c3.6.31 5.07 2.16 5.07 6.21v.13c0 4.47-1.79 6.26-6.26 6.26H8.74c-4.47 0-6.26-1.79-6.26-6.26v-.13c0-4.02 1.45-5.87 4.99-6.2M12 15V3.62M15.35 5.85 12 2.5 8.65 5.85"},null,-1),n=[r];function t(s,l){return e.openBlock(),e.createElementBlock("svg",o,n)}const c={render:t};exports.default=c;exports.render=t;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},c=e.createElementVNode("path",{fill:"currentColor",d:"M16.8 9h-4.05v6.25c0 .41-.34.75-.75.75s-.75-.34-.75-.75V9H7.2C4 9 2 11 2 14.2v2.59C2 20 4 22 7.2 22h9.59c3.2 0 5.2-2 5.2-5.2v-2.6C22 11 20 9 16.8 9ZM12.75 4.56l2.07 2.07c.15.15.34.22.53.22s.38-.07.53-.22c.29-.29.29-.77 0-1.06l-3.35-3.35a.754.754 0 0 0-1.06 0L8.12 5.57c-.29.29-.29.77 0 1.06.29.29.77.29 1.06 0l2.07-2.07V9h1.5V4.56Z"},null,-1),n=[c];function t(l,s){return e.openBlock(),e.createElementBlock("svg",o,n)}const r={render:t};exports.default=r;exports.render=t;
@@ -0,0 +1,19 @@
1
+ import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
2
+ const c = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 24 24"
6
+ }, l = /* @__PURE__ */ t("path", {
7
+ fill: "currentColor",
8
+ d: "M16.8 9h-4.05v6.25c0 .41-.34.75-.75.75s-.75-.34-.75-.75V9H7.2C4 9 2 11 2 14.2v2.59C2 20 4 22 7.2 22h9.59c3.2 0 5.2-2 5.2-5.2v-2.6C22 11 20 9 16.8 9ZM12.75 4.56l2.07 2.07c.15.15.34.22.53.22s.38-.07.53-.22c.29-.29.29-.77 0-1.06l-3.35-3.35a.754.754 0 0 0-1.06 0L8.12 5.57c-.29.29-.29.77 0 1.06.29.29.77.29 1.06 0l2.07-2.07V9h1.5V4.56Z"
9
+ }, null, -1), n = [
10
+ l
11
+ ];
12
+ function r(s, d) {
13
+ return e(), o("svg", c, n);
14
+ }
15
+ const i = { render: r };
16
+ export {
17
+ i as default,
18
+ r as render
19
+ };
@@ -0,0 +1,24 @@
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as e } from "vue";
2
+ const c = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 24 24"
6
+ }, l = /* @__PURE__ */ e("path", {
7
+ fill: "currentColor",
8
+ d: "M16.8 9H7.2C4 9 2 11 2 14.2v2.59C2 20 4 22 7.2 22h9.59c3.2 0 5.2-2 5.2-5.2v-2.6C22 11 20 9 16.8 9Z",
9
+ opacity: ".4"
10
+ }, null, -1), n = /* @__PURE__ */ e("path", {
11
+ fill: "currentColor",
12
+ d: "m15.88 5.57-3.35-3.35a.754.754 0 0 0-1.06 0L8.12 5.57c-.29.29-.29.77 0 1.06.29.29.77.29 1.06 0l2.07-2.07v10.69c0 .41.34.75.75.75s.75-.34.75-.75V4.56l2.07 2.07c.15.15.34.22.53.22s.38-.07.53-.22c.3-.29.3-.76 0-1.06Z"
13
+ }, null, -1), r = [
14
+ l,
15
+ n
16
+ ];
17
+ function s(i, d) {
18
+ return t(), o("svg", c, r);
19
+ }
20
+ const a = { render: s };
21
+ export {
22
+ a as default,
23
+ s as render
24
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},c=e.createElementVNode("path",{fill:"currentColor",d:"M16.8 9H7.2C4 9 2 11 2 14.2v2.59C2 20 4 22 7.2 22h9.59c3.2 0 5.2-2 5.2-5.2v-2.6C22 11 20 9 16.8 9Z",opacity:".4"},null,-1),l=e.createElementVNode("path",{fill:"currentColor",d:"m15.88 5.57-3.35-3.35a.754.754 0 0 0-1.06 0L8.12 5.57c-.29.29-.29.77 0 1.06.29.29.77.29 1.06 0l2.07-2.07v10.69c0 .41.34.75.75.75s.75-.34.75-.75V4.56l2.07 2.07c.15.15.34.22.53.22s.38-.07.53-.22c.3-.29.3-.76 0-1.06Z"},null,-1),n=[c,l];function t(s,d){return e.openBlock(),e.createElementBlock("svg",o,n)}const r={render:t};exports.default=r;exports.render=t;
package/dist/index.d.ts CHANGED
@@ -38,5 +38,13 @@ export { default as MaModal } from './components/modal/index';
38
38
  export * from './components/modal/types';
39
39
  export { default as MaRate } from './components/rate/index.vue';
40
40
  export * from './components/rate/types';
41
+ export { default as MaSpin } from './components/spin/index.vue';
42
+ export * from './components/spin/types';
43
+ export { default as MaDropdown } from './components/dropdown/index.vue';
44
+ export * from './components/dropdown/types';
45
+ export { default as MaEmpty } from './components/empty/index.vue';
46
+ export * from './components/empty/types';
47
+ export { default as MaUpload } from './components/upload/index.vue';
48
+ export * from './components/upload/types';
41
49
  export { ActionKitConfig } from './services/config';
42
50
  export { useActionKitConfig } from './composables/config';