@mobileaction/action-kit 1.1.22 → 1.1.23
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.
- package/dist/action-kit.js +3 -3
- package/dist/action-kit.mjs +733 -579
- package/dist/add-app-c6cfc484.mjs +16 -0
- package/dist/add-app-ca2d1245.js +1 -0
- package/dist/box-empty-2e81a600.js +1 -0
- package/dist/box-empty-c7e5e478.mjs +39 -0
- package/dist/components/button/index.vue.d.ts +3 -3
- package/dist/components/dropdown/index.vue.d.ts +81 -0
- package/dist/components/dropdown/types.d.ts +4 -0
- package/dist/components/empty/index.vue.d.ts +51 -0
- package/dist/components/empty/types.d.ts +7 -0
- package/dist/components/modal/index.vue.d.ts +1 -1
- package/dist/components/spin/index.vue.d.ts +45 -0
- package/dist/components/spin/types.d.ts +4 -0
- package/dist/components/tooltip/index.vue.d.ts +3 -3
- package/dist/empty-table-41155dd6.mjs +16 -0
- package/dist/empty-table-855edce8.js +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/selection-08a9c952.mjs +16 -0
- package/dist/selection-f5ae8ebf.js +1 -0
- package/dist/spin-dots-25d015b7.mjs +16 -0
- package/dist/spin-dots-388f853c.js +1 -0
- package/dist/spin-round-23788f05.js +1 -0
- package/dist/spin-round-9db617b7.mjs +26 -0
- package/dist/spin-three-circles-00b10e29.js +1 -0
- package/dist/spin-three-circles-13ae8650.mjs +33 -0
- package/dist/spin-three-dots-7cdf047c.js +1 -0
- package/dist/spin-three-dots-c116245e.mjs +36 -0
- package/dist/src/components/button/index.vue.d.ts +1 -1
- package/dist/src/components/dropdown/index.vue.d.ts +54 -0
- package/dist/src/components/dropdown/stories/constants.d.ts +4 -0
- package/dist/src/components/dropdown/stories/default.stories.d.ts +6 -0
- package/dist/src/components/dropdown/types.d.ts +4 -0
- package/dist/src/components/empty/index.vue.d.ts +39 -0
- package/dist/src/components/empty/stories/constants.d.ts +4 -0
- package/dist/src/components/empty/stories/default.stories.d.ts +6 -0
- package/dist/src/components/empty/types.d.ts +7 -0
- package/dist/src/components/modal/index.vue.d.ts +1 -1
- package/dist/src/components/spin/index.vue.d.ts +41 -0
- package/dist/src/components/spin/stories/constants.d.ts +5 -0
- package/dist/src/components/spin/stories/container.stories.d.ts +6 -0
- package/dist/src/components/spin/stories/default.stories.d.ts +6 -0
- package/dist/src/components/spin/types.d.ts +4 -0
- package/dist/src/components/tooltip/index.vue.d.ts +1 -1
- package/dist/src/index.d.ts +6 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -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" | "
|
|
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" | "
|
|
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" | "
|
|
91
|
+
trigger: "click" | "hover" | "contextmenu" | "focus";
|
|
92
92
|
defaultVisible: boolean;
|
|
93
93
|
}>;
|
|
94
94
|
export default _sfc_main;
|
|
@@ -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;
|
package/dist/index.d.ts
CHANGED
|
@@ -38,5 +38,11 @@ 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';
|
|
41
47
|
export { ActionKitConfig } from './services/config';
|
|
42
48
|
export { useActionKitConfig } from './composables/config';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { openBlock as e, createElementBlock as t, createStaticVNode as i } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 120 120"
|
|
6
|
+
}, l = /* @__PURE__ */ i('<g filter="url(#a)"><g clip-path="url(#b)"><rect width="120" height="120" fill="#F2F4F7" rx="60"></rect><g clip-path="url(#c)"><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="29.4" height="4.8" x="25.2" y="42.6" fill="#EAECF0" rx="2.4"></rect><rect width="70.8" height="13.2" x="24.6" y="51.6" fill="#fff" rx="3"></rect><rect width="70.8" height="13.2" x="24.6" y="51.6" stroke="#4478FF" stroke-width="1.2" rx="3"></rect><rect width="29.4" height="4.8" x="25.2" y="76.2" fill="#EAECF0" rx="2.4"></rect><rect width="69.6" height="12" x="25.2" y="85.8" fill="#F2F4F7" rx="2.4"></rect><rect width="29.4" height="4.8" x="25.2" y="109.8" fill="#EAECF0" rx="2.4"></rect><rect width="69.6" height="12" x="25.2" y="119.4" fill="#F2F4F7" rx="2.4"></rect></g><rect width="24" height="24" x="48" y="13.8" fill="#4478FF" rx="12"></rect><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width=".9" d="M56.4 25.8h7.2M60 29.4v-7.2"></path></g></g><defs><clipPath id="b"><rect width="120" height="120" fill="#fff" rx="60"></rect></clipPath><clipPath id="c"><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></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_74942"></feBlend></filter></defs>', 2), h = [
|
|
7
|
+
l
|
|
8
|
+
];
|
|
9
|
+
function f(o, a) {
|
|
10
|
+
return e(), t("svg", r, h);
|
|
11
|
+
}
|
|
12
|
+
const d = { render: f };
|
|
13
|
+
export {
|
|
14
|
+
d 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><g clip-path="url(#c)"><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="29.4" height="4.8" x="25.2" y="42.6" fill="#EAECF0" rx="2.4"></rect><rect width="70.8" height="13.2" x="24.6" y="51.6" fill="#fff" rx="3"></rect><rect width="70.8" height="13.2" x="24.6" y="51.6" stroke="#4478FF" stroke-width="1.2" rx="3"></rect><rect width="29.4" height="4.8" x="25.2" y="76.2" fill="#EAECF0" rx="2.4"></rect><rect width="69.6" height="12" x="25.2" y="85.8" fill="#F2F4F7" rx="2.4"></rect><rect width="29.4" height="4.8" x="25.2" y="109.8" fill="#EAECF0" rx="2.4"></rect><rect width="69.6" height="12" x="25.2" y="119.4" fill="#F2F4F7" rx="2.4"></rect></g><rect width="24" height="24" x="48" y="13.8" fill="#4478FF" rx="12"></rect><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width=".9" d="M56.4 25.8h7.2M60 29.4v-7.2"></path></g></g><defs><clipPath id="b"><rect width="120" height="120" fill="#fff" rx="60"></rect></clipPath><clipPath id="c"><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></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_74942"></feBlend></filter></defs>',2),l=[i];function t(o,f){return e.openBlock(),e.createElementBlock("svg",r,l)}const h={render:t};exports.default=h;exports.render=t;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as r, createStaticVNode as e } from "vue";
|
|
2
|
+
const i = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 48 48"
|
|
6
|
+
}, o = /* @__PURE__ */ e('<rect width="4" height="12" x="22" fill="#EAECF0" rx="2"></rect><rect width="4" height="12" x="33.899" y="16.929" fill="#EAECF0" rx="2" transform="rotate(-135 33.9 16.929)"></rect><rect width="4" height="12" x="36" y="26" fill="#EAECF0" rx="2" transform="rotate(-90 36 26)"></rect><rect width="4" height="12" x="31.071" y="33.9" fill="#EAECF0" rx="2" transform="rotate(-45 31.071 33.9)"></rect><rect width="4" height="12" x="22" y="36" fill="#EAECF0" rx="2"></rect><rect width="4" height="12" x="8.444" y="42.385" fill="#EAECF0" rx="2" transform="rotate(-135 8.444 42.385)"></rect><rect width="4" height="12" y="26" fill="currentColor" rx="2" transform="rotate(-90 0 26)"></rect><rect width="4" height="12" x="5.615" y="8.444" fill="#EAECF0" rx="2" transform="rotate(-45 5.615 8.444)"></rect>', 8), c = [
|
|
7
|
+
o
|
|
8
|
+
];
|
|
9
|
+
function h(l, n) {
|
|
10
|
+
return t(), r("svg", i, c);
|
|
11
|
+
}
|
|
12
|
+
const x = { render: h };
|
|
13
|
+
export {
|
|
14
|
+
x as default,
|
|
15
|
+
h as render
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 48 48"},i=t.createStaticVNode('<rect width="4" height="12" x="22" fill="#EAECF0" rx="2"></rect><rect width="4" height="12" x="33.899" y="16.929" fill="#EAECF0" rx="2" transform="rotate(-135 33.9 16.929)"></rect><rect width="4" height="12" x="36" y="26" fill="#EAECF0" rx="2" transform="rotate(-90 36 26)"></rect><rect width="4" height="12" x="31.071" y="33.9" fill="#EAECF0" rx="2" transform="rotate(-45 31.071 33.9)"></rect><rect width="4" height="12" x="22" y="36" fill="#EAECF0" rx="2"></rect><rect width="4" height="12" x="8.444" y="42.385" fill="#EAECF0" rx="2" transform="rotate(-135 8.444 42.385)"></rect><rect width="4" height="12" y="26" fill="currentColor" rx="2" transform="rotate(-90 0 26)"></rect><rect width="4" height="12" x="5.615" y="8.444" fill="#EAECF0" rx="2" transform="rotate(-45 5.615 8.444)"></rect>',8),o=[i];function e(h,l){return t.openBlock(),t.createElementBlock("svg",r,o)}const c={render:e};exports.default=c;exports.render=e;
|
|
@@ -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 56 56"},n=e.createElementVNode("path",{stroke:"#EAECF0","stroke-width":"8",d:"M36.639 5.609a24 24 0 1 1-17.278 44.783A24 24 0 0 1 36.64 5.61Z"},null,-1),r=e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-width":"8",d:"M36.639 5.609a24 24 0 0 1 9.987 37.527"},null,-1),s=[n,r];function t(d,l){return e.openBlock(),e.createElementBlock("svg",o,s)}const c={render:t};exports.default=c;exports.render=t;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as o, createElementVNode as e } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 56 56"
|
|
6
|
+
}, r = /* @__PURE__ */ e("path", {
|
|
7
|
+
stroke: "#EAECF0",
|
|
8
|
+
"stroke-width": "8",
|
|
9
|
+
d: "M36.639 5.609a24 24 0 1 1-17.278 44.783A24 24 0 0 1 36.64 5.61Z"
|
|
10
|
+
}, null, -1), s = /* @__PURE__ */ e("path", {
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
"stroke-linecap": "round",
|
|
13
|
+
"stroke-width": "8",
|
|
14
|
+
d: "M36.639 5.609a24 24 0 0 1 9.987 37.527"
|
|
15
|
+
}, null, -1), c = [
|
|
16
|
+
r,
|
|
17
|
+
s
|
|
18
|
+
];
|
|
19
|
+
function d(l, i) {
|
|
20
|
+
return t(), o("svg", n, c);
|
|
21
|
+
}
|
|
22
|
+
const h = { render: d };
|
|
23
|
+
export {
|
|
24
|
+
h as default,
|
|
25
|
+
d as render
|
|
26
|
+
};
|
|
@@ -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 48 48"},r=e.createElementVNode("path",{stroke:"#EAECF0","stroke-linecap":"round","stroke-width":"4",d:"M43 24a19 19 0 1 1-38 0"},null,-1),n=e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-width":"4",d:"M12 24a12 12 0 0 1 24 0"},null,-1),s=e.createElementVNode("path",{stroke:"#EAECF0","stroke-linecap":"round","stroke-width":"4",d:"M20 24a4 4 0 0 0 8 0"},null,-1),c=[r,n,s];function t(d,i){return e.openBlock(),e.createElementBlock("svg",o,c)}const l={render:t};exports.default=l;exports.render=t;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as o, createElementVNode as e } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 48 48"
|
|
6
|
+
}, n = /* @__PURE__ */ e("path", {
|
|
7
|
+
stroke: "#EAECF0",
|
|
8
|
+
"stroke-linecap": "round",
|
|
9
|
+
"stroke-width": "4",
|
|
10
|
+
d: "M43 24a19 19 0 1 1-38 0"
|
|
11
|
+
}, null, -1), s = /* @__PURE__ */ e("path", {
|
|
12
|
+
stroke: "currentColor",
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-width": "4",
|
|
15
|
+
d: "M12 24a12 12 0 0 1 24 0"
|
|
16
|
+
}, null, -1), c = /* @__PURE__ */ e("path", {
|
|
17
|
+
stroke: "#EAECF0",
|
|
18
|
+
"stroke-linecap": "round",
|
|
19
|
+
"stroke-width": "4",
|
|
20
|
+
d: "M20 24a4 4 0 0 0 8 0"
|
|
21
|
+
}, null, -1), l = [
|
|
22
|
+
n,
|
|
23
|
+
s,
|
|
24
|
+
c
|
|
25
|
+
];
|
|
26
|
+
function d(i, a) {
|
|
27
|
+
return t(), o("svg", r, l);
|
|
28
|
+
}
|
|
29
|
+
const _ = { render: d };
|
|
30
|
+
export {
|
|
31
|
+
_ as default,
|
|
32
|
+
d as render
|
|
33
|
+
};
|
|
@@ -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 48 48"},o=e.createElementVNode("circle",{cx:"10",cy:"24",r:"4",fill:"currentColor",transform:"rotate(180 10 24)"},null,-1),c=e.createElementVNode("circle",{cx:"24",cy:"24",r:"4",fill:"#EAECF0",transform:"rotate(180 24 24)"},null,-1),n=e.createElementVNode("circle",{cx:"38",cy:"24",r:"4",fill:"#EAECF0",transform:"rotate(180 38 24)"},null,-1),l=[o,c,n];function t(i,a){return e.openBlock(),e.createElementBlock("svg",r,l)}const s={render:t};exports.default=s;exports.render=t;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as o, createElementVNode as e } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 48 48"
|
|
6
|
+
}, c = /* @__PURE__ */ e("circle", {
|
|
7
|
+
cx: "10",
|
|
8
|
+
cy: "24",
|
|
9
|
+
r: "4",
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
transform: "rotate(180 10 24)"
|
|
12
|
+
}, null, -1), n = /* @__PURE__ */ e("circle", {
|
|
13
|
+
cx: "24",
|
|
14
|
+
cy: "24",
|
|
15
|
+
r: "4",
|
|
16
|
+
fill: "#EAECF0",
|
|
17
|
+
transform: "rotate(180 24 24)"
|
|
18
|
+
}, null, -1), l = /* @__PURE__ */ e("circle", {
|
|
19
|
+
cx: "38",
|
|
20
|
+
cy: "24",
|
|
21
|
+
r: "4",
|
|
22
|
+
fill: "#EAECF0",
|
|
23
|
+
transform: "rotate(180 38 24)"
|
|
24
|
+
}, null, -1), s = [
|
|
25
|
+
c,
|
|
26
|
+
n,
|
|
27
|
+
l
|
|
28
|
+
];
|
|
29
|
+
function i(_, a) {
|
|
30
|
+
return t(), o("svg", r, s);
|
|
31
|
+
}
|
|
32
|
+
const d = { render: i };
|
|
33
|
+
export {
|
|
34
|
+
d as default,
|
|
35
|
+
i as render
|
|
36
|
+
};
|
|
@@ -9,7 +9,7 @@ export interface MaButtonProps {
|
|
|
9
9
|
loading?: boolean;
|
|
10
10
|
shape?: ButtonShape;
|
|
11
11
|
icon?: string;
|
|
12
|
-
|
|
12
|
+
iconAlignment?: IconAlignment;
|
|
13
13
|
}
|
|
14
14
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaButtonProps>, {
|
|
15
15
|
type: string;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { MaDropdownPlacement, MaDropdownTrigger } from "./types";
|
|
2
|
+
export interface MaDropdownProps {
|
|
3
|
+
destroyPopupOnHide?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
placement?: MaDropdownPlacement;
|
|
6
|
+
trigger?: MaDropdownTrigger[];
|
|
7
|
+
visible?: boolean;
|
|
8
|
+
overlayClassName?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaDropdownProps>, {
|
|
11
|
+
destroyPopupOnHide: boolean;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
placement: string;
|
|
14
|
+
trigger: () => string[];
|
|
15
|
+
visible: boolean;
|
|
16
|
+
}>, {}, 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<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaDropdownProps>, {
|
|
17
|
+
destroyPopupOnHide: boolean;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
placement: string;
|
|
20
|
+
trigger: () => string[];
|
|
21
|
+
visible: boolean;
|
|
22
|
+
}>>> & {
|
|
23
|
+
"onUpdate:visible"?: (...args: any[]) => any;
|
|
24
|
+
onVisibleChange?: (...args: any[]) => any;
|
|
25
|
+
}, {
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
destroyPopupOnHide: boolean;
|
|
28
|
+
placement: "bottomLeft" | "bottom" | "bottomRight" | "topLeft" | "top" | "topRight";
|
|
29
|
+
trigger: ("click" | "hover" | "contextmenu")[];
|
|
30
|
+
visible: boolean;
|
|
31
|
+
}>, {
|
|
32
|
+
default: (_: {}) => any;
|
|
33
|
+
overlay: (_: {}) => any;
|
|
34
|
+
}>;
|
|
35
|
+
export default _default;
|
|
36
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
+
} : {
|
|
41
|
+
type: import('vue').PropType<T[K]>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
46
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
47
|
+
default: D[K];
|
|
48
|
+
} : P[K];
|
|
49
|
+
};
|
|
50
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -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 declare type MaDropdownPlacement = (typeof MaDropdownPlacements)[number];
|
|
4
|
+
export declare type MaDropdownTrigger = (typeof MaDropdownTriggers)[number];
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { MaEmptySize, MaEmptyVariant } from './types';
|
|
2
|
+
export interface MaRateProps {
|
|
3
|
+
size?: MaEmptySize;
|
|
4
|
+
variant?: MaEmptyVariant;
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaRateProps>, {
|
|
9
|
+
size: string;
|
|
10
|
+
variant: string;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaRateProps>, {
|
|
12
|
+
size: string;
|
|
13
|
+
variant: string;
|
|
14
|
+
}>>>, {
|
|
15
|
+
size: "small" | "medium" | "large";
|
|
16
|
+
variant: "table" | "general" | "add-app" | "selection";
|
|
17
|
+
}>, {
|
|
18
|
+
default: (_: {}) => any;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
} : P[K];
|
|
34
|
+
};
|
|
35
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -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 declare type MaEmptySize = (typeof MaEmptySizes)[number];
|
|
7
|
+
export declare type MaEmptyVariant = (typeof MaEmptyVariants)[number];
|
|
@@ -29,9 +29,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
29
|
maskClosable: boolean;
|
|
30
30
|
width: number;
|
|
31
31
|
}>>> & {
|
|
32
|
+
"onUpdate:visible"?: (...args: any[]) => any;
|
|
32
33
|
onOk?: (...args: any[]) => any;
|
|
33
34
|
onCancel?: (...args: any[]) => any;
|
|
34
|
-
"onUpdate:visible"?: (...args: any[]) => any;
|
|
35
35
|
}, {
|
|
36
36
|
mask: boolean;
|
|
37
37
|
closable: boolean;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { MaSpinColor, MaSpinType } from './types';
|
|
2
|
+
export interface MaSpinProps {
|
|
3
|
+
type?: MaSpinType;
|
|
4
|
+
color?: MaSpinColor;
|
|
5
|
+
spinning?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaSpinProps>, {
|
|
8
|
+
type: string;
|
|
9
|
+
color: string;
|
|
10
|
+
spinning: boolean;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaSpinProps>, {
|
|
12
|
+
type: string;
|
|
13
|
+
color: string;
|
|
14
|
+
spinning: boolean;
|
|
15
|
+
}>>>, {
|
|
16
|
+
type: "round" | "dots" | "three-circles" | "three-dots";
|
|
17
|
+
color: "dark" | "blue" | "orange" | "jordy" | "grey";
|
|
18
|
+
spinning: boolean;
|
|
19
|
+
}>, {
|
|
20
|
+
default: (_: {}) => any;
|
|
21
|
+
}>;
|
|
22
|
+
export default _default;
|
|
23
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
+
} : {
|
|
28
|
+
type: import('vue').PropType<T[K]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
33
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
34
|
+
default: D[K];
|
|
35
|
+
} : P[K];
|
|
36
|
+
};
|
|
37
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -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 declare type MaSpinType = (typeof MaSpinTypes)[number];
|
|
4
|
+
export declare type MaSpinColor = (typeof MaSpinColors)[number];
|
|
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
23
23
|
}>>>, {
|
|
24
24
|
type: "primary" | "secondary";
|
|
25
25
|
placement: TooltipPlacement;
|
|
26
|
-
trigger: "click" | "
|
|
26
|
+
trigger: "click" | "hover" | "contextmenu" | "focus";
|
|
27
27
|
defaultVisible: boolean;
|
|
28
28
|
}>, {
|
|
29
29
|
default: (_: {}) => any;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -39,5 +39,11 @@ export { default as MaModal } from './components/modal/index';
|
|
|
39
39
|
export * from './components/modal/types';
|
|
40
40
|
export { default as MaRate } from './components/rate/index.vue';
|
|
41
41
|
export * from './components/rate/types';
|
|
42
|
+
export { default as MaSpin } from './components/spin/index.vue';
|
|
43
|
+
export * from './components/spin/types';
|
|
44
|
+
export { default as MaDropdown } from './components/dropdown/index.vue';
|
|
45
|
+
export * from './components/dropdown/types';
|
|
46
|
+
export { default as MaEmpty } from './components/empty/index.vue';
|
|
47
|
+
export * from './components/empty/types';
|
|
42
48
|
export { ActionKitConfig } from './services/config';
|
|
43
49
|
export { useActionKitConfig } from './composables/config';
|