@mobileaction/action-kit 1.15.1 → 1.16.0
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 +1 -1
- package/dist/action-kit.mjs +35 -34
- package/dist/components/keyword-group-selection/index.vue.d.ts +12 -0
- package/dist/components/pagination/index.vue.d.ts +16 -2
- package/dist/components/watchlist-button/components/button.vue.d.ts +88 -0
- package/dist/components/watchlist-button/index.vue.d.ts +101 -0
- package/dist/components/watchlist-button/types.d.ts +4 -0
- package/dist/index-77826f65.js +56 -0
- package/dist/{index-f7fb73bf.mjs → index-92374bbf.mjs} +3286 -3123
- package/dist/index.d.ts +2 -1
- package/dist/{lottie_light-64d53144.js → lottie_light-d3772612.js} +1 -1
- package/dist/{lottie_light-698cd07c.mjs → lottie_light-e2ba5349.mjs} +1 -1
- package/dist/src/components/keyword-group-selection/index.vue.d.ts +4 -0
- package/dist/src/components/pagination/index.vue.d.ts +8 -2
- package/dist/src/components/pagination/stories/default.stories.d.ts +2 -1
- package/dist/src/components/watchlist-button/components/button.vue.d.ts +44 -0
- package/dist/src/components/watchlist-button/index.vue.d.ts +50 -0
- package/dist/src/components/watchlist-button/stories/constants.d.ts +5 -0
- package/dist/src/components/watchlist-button/stories/dashed.stories.d.ts +6 -0
- package/dist/src/components/watchlist-button/stories/default.stories.d.ts +11 -0
- package/dist/src/components/watchlist-button/types.d.ts +4 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index-478f9143.js +0 -56
package/dist/action-kit.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-77826f65.js");require("vue");require("ant-design-vue");require("vuedraggable");exports.ActionKitConfig=a.ActionKitConfig;exports.Animations=a.Animations;exports.AppIconPlatforms=a.AppIconPlatforms;exports.AppIconSizes=a.AppIconSizes;exports.ButtonIconAlignMents=a.ButtonIconAlignMents;exports.ButtonShapes=a.ButtonShapes;exports.ButtonSizes=a.ButtonSizes;exports.ButtonTargets=a.ButtonTargets;exports.ButtonTypes=a.ButtonTypes;exports.ButtonVariants=a.ButtonVariants;exports.MaAlert=a._sfc_main$19;exports.MaAlertPropTypes=a.MaAlertPropTypes;exports.MaAlertPropVariants=a.MaAlertPropVariants;exports.MaAnimation=a._sfc_main$20;exports.MaAppCheckbox=a._sfc_main$46;exports.MaAppIcon=a._sfc_main$15;exports.MaAppTrackButton=a._sfc_main$14;exports.MaAutoComplete=a._sfc_main$34;exports.MaAvatar=a._sfc_main$47;exports.MaBadge=a._sfc_main$18;exports.MaBadgePropIconAlignments=a.MaBadgePropIconAlignments;exports.MaBadgePropSizes=a.MaBadgePropSizes;exports.MaBadgePropTypes=a.MaBadgePropTypes;exports.MaBadgePropVariants=a.MaBadgePropVariants;exports.MaButton=a._sfc_main;exports.MaCard=a._sfc_main$38;exports.MaCardAlignments=a.MaCardAlignments;exports.MaCardIconColors=a.MaCardIconColors;exports.MaCardSizes=a.MaCardSizes;exports.MaCheckbox=a._sfc_main$11;exports.MaCheckboxGroup=a._sfc_main$12;exports.MaCountryRadio=a._sfc_main$44;exports.MaCountrySelect=a._sfc_main$37;exports.MaDrawer=a._sfc_main$40;exports.MaDropdown=a._sfc_main$24;exports.MaDropdownPlacements=a.MaDropdownPlacements;exports.MaDropdownTriggers=a.MaDropdownTriggers;exports.MaEmpty=a._sfc_main$25;exports.MaEmptyIcons=a.MaEmptyIcons;exports.MaEmptySizes=a.MaEmptySizes;exports.MaEmptyVariants=a.MaEmptyVariants;exports.MaFlagIconRatios=a.MaFlagIconRatios;exports.MaForm=a._sfc_main$5;exports.MaFormItem=a._sfc_main$6;exports.MaFormLayouts=a.MaFormLayouts;exports.MaIcon=a._sfc_main$8;exports.MaIconButton=a._sfc_main$42;exports.MaIconSizeClassNames=a.MaIconSizeClassNames;exports.MaIconSizes=a.MaIconSizes;exports.MaInput=a._sfc_main$7;exports.MaInputCurrency=a.MaInputCurrency;exports.MaInputNumber=a._sfc_main$39;exports.MaInputSize=a.MaInputSize;exports.MaInputType=a.MaInputType;exports.MaKeywordGroupSelection=a._sfc_main$41;exports.MaList=a._sfc_main$49;exports.MaListItem=a.MaListItem;exports.MaListItemMeta=a._sfc_main$50;exports.MaModal=a._sfc_main$21;exports.MaModalTypeIcon=a.MaModalTypeIcon;exports.MaModalTypes=a.MaModalTypes;exports.MaNumericInput=a._sfc_main$13;exports.MaPagination=a._sfc_main$55;exports.MaPopover=a._sfc_main$45;exports.MaProgress=a._sfc_main$33;exports.MaProgressCircleSizes=a.MaProgressCircleSizes;exports.MaProgressColors=a.MaProgressColors;exports.MaProgressPercentAlignments=a.MaProgressPercentAlignments;exports.MaProgressTypes=a.MaProgressTypes;exports.MaRadio=a._sfc_main$16;exports.MaRadioGroup=a._sfc_main$17;exports.MaRadioTypes=a.MaRadioTypes;exports.MaRate=a._sfc_main$22;exports.MaRateColors=a.MaRateColors;exports.MaRateSizes=a.MaRateSizes;exports.MaScrollableBadge=a._sfc_main$51;exports.MaSelect=a._sfc_main$9;exports.MaSelectOption=a._sfc_main$10;exports.MaSideMenuAddNewAppButton=a._sfc_main$32;exports.MaSideMenuAppButton=a._sfc_main$31;exports.MaSideMenuButton=a._sfc_main$27;exports.MaSideMenuIconButton=a._sfc_main$29;exports.MaSideMenuItem=a._sfc_main$28;exports.MaSideMenuItemColors=a.MaSideMenuItemColors;exports.MaSideMenuRoundIconButton=a._sfc_main$30;exports.MaSlider=a._sfc_main$43;exports.MaSpin=a._sfc_main$23;exports.MaSpinColors=a.MaSpinColors;exports.MaSpinTypes=a.MaSpinTypes;exports.MaStep=a._sfc_main$54;exports.MaSteps=a._sfc_main$53;exports.MaSwitch=a._sfc_main$3;exports.MaTabIconAlignMents=a.MaTabIconAlignMents;exports.MaTabPane=a._sfc_main$36;exports.MaTabPositions=a.MaTabPositions;exports.MaTabTypes=a.MaTabTypes;exports.MaTabs=a._sfc_main$35;exports.MaTagInput=a._sfc_main$48;exports.MaToggle=a._sfc_main$2;exports.MaTooltip=a._sfc_main$4;exports.MaTrackButton=a._sfc_main$1;exports.MaUpload=a._sfc_main$26;exports.MaUploadFileStatus=a.MaUploadFileStatus;exports.MaUploadSizes=a.MaUploadSizes;exports.MaUploadTypes=a.MaUploadTypes;exports.MaWatchlistButton=a._sfc_main$52;exports.NumericInputSizes=a.NumericInputSizes;exports.SelectModes=a.SelectModes;exports.SelectSizes=a.SelectSizes;exports.SwitchTypes=a.SwitchTypes;exports.ToggleSizes=a.ToggleSizes;exports.TooltipPlacements=a.TooltipPlacements;exports.TooltipTriggerTypes=a.TooltipTriggerTypes;exports.TooltipTypes=a.TooltipTypes;exports.TrackButtonSizes=a.TrackButtonSizes;exports.TrackButtonVariants=a.TrackButtonVariants;exports.currencyOptions=a.currencyOptions;exports.currencySymbols=a.currencySymbols;exports.useActionKitConfig=a.useActionKitConfig;
|
package/dist/action-kit.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a4 as M, aE as n, aw as i, av as r, ab as p, a9 as u, a8 as l, aa as c, a6 as S, a7 as d, t as T, aD as g, aC as m, u as I, U as y, p as B, o as A, I as C, V as P, s as z, aB as b, aA as R, az as w, ay as h, _ as k, M as F, a$ as N, b1 as V, b0 as f, l as x, m as D, S as E, L, O as U, y as G, aL as K, aM as v, z as O, aP as W, aN as j, aO as q, aq as H, f as J, g as Q, aj as X, i as Y, Q as Z, ar as _, ap as $, h as aa, am as sa, N as oa, al as ea, ak as ta, P as Ma, X as na, Y as ia, Z as ra, v as pa, aG as ua, aF as la, n as ca, a3 as Sa, T as da, H as Ta, aW as ga, aV as ma, aX as Ia, aU as ya, q as Ba, r as Aa, ax as Ca, w as Pa, aI as za, aH as ba, $ as Ra, j as wa, k as ha, G as ka, F as Fa, B as Na, D as Va, C as fa, aT as xa, E as Da, R as Ea, x as La, aK as Ua, aJ as Ga, a2 as Ka, a1 as va, d as Oa, a_ as Wa, K as ja, aY as qa, aZ as Ha, J as Ja, W as Qa, b as Xa, e as Ya, a as Za, A as _a, aS as $a, aR as as, aQ as ss, a0 as os, au as es, at as ts, as as Ms, af as ns, ae as is, ag as rs, ai as ps, ah as us, ad as ls, ac as cs, ao as Ss, an as ds, a5 as Ts } from "./index-92374bbf.mjs";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "ant-design-vue";
|
|
4
4
|
import "vuedraggable";
|
|
5
5
|
export {
|
|
6
6
|
M as ActionKitConfig,
|
|
7
7
|
n as Animations,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
i as AppIconPlatforms,
|
|
9
|
+
r as AppIconSizes,
|
|
10
10
|
p as ButtonIconAlignMents,
|
|
11
11
|
u as ButtonShapes,
|
|
12
12
|
l as ButtonSizes,
|
|
@@ -26,8 +26,8 @@ export {
|
|
|
26
26
|
b as MaBadgePropIconAlignments,
|
|
27
27
|
R as MaBadgePropSizes,
|
|
28
28
|
w as MaBadgePropTypes,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
h as MaBadgePropVariants,
|
|
30
|
+
k as MaButton,
|
|
31
31
|
F as MaCard,
|
|
32
32
|
N as MaCardAlignments,
|
|
33
33
|
V as MaCardIconColors,
|
|
@@ -41,12 +41,12 @@ export {
|
|
|
41
41
|
K as MaDropdownPlacements,
|
|
42
42
|
v as MaDropdownTriggers,
|
|
43
43
|
O as MaEmpty,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
W as MaEmptyIcons,
|
|
45
|
+
j as MaEmptySizes,
|
|
46
|
+
q as MaEmptyVariants,
|
|
47
|
+
H as MaFlagIconRatios,
|
|
48
|
+
J as MaForm,
|
|
49
|
+
Q as MaFormItem,
|
|
50
50
|
X as MaFormLayouts,
|
|
51
51
|
Y as MaIcon,
|
|
52
52
|
Z as MaIconButton,
|
|
@@ -54,13 +54,13 @@ export {
|
|
|
54
54
|
$ as MaIconSizes,
|
|
55
55
|
aa as MaInput,
|
|
56
56
|
sa as MaInputCurrency,
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
oa as MaInputNumber,
|
|
58
|
+
ea as MaInputSize,
|
|
59
59
|
ta as MaInputType,
|
|
60
60
|
Ma as MaKeywordGroupSelection,
|
|
61
61
|
na as MaList,
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
ia as MaListItem,
|
|
63
|
+
ra as MaListItemMeta,
|
|
64
64
|
pa as MaModal,
|
|
65
65
|
ua as MaModalTypeIcon,
|
|
66
66
|
la as MaModalTypes,
|
|
@@ -80,8 +80,8 @@ export {
|
|
|
80
80
|
ba as MaRateSizes,
|
|
81
81
|
Ra as MaScrollableBadge,
|
|
82
82
|
wa as MaSelect,
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
ha as MaSelectOption,
|
|
84
|
+
ka as MaSideMenuAddNewAppButton,
|
|
85
85
|
Fa as MaSideMenuAppButton,
|
|
86
86
|
Na as MaSideMenuButton,
|
|
87
87
|
Va as MaSideMenuIconButton,
|
|
@@ -95,12 +95,12 @@ export {
|
|
|
95
95
|
Ka as MaStep,
|
|
96
96
|
va as MaSteps,
|
|
97
97
|
Oa as MaSwitch,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
98
|
+
Wa as MaTabIconAlignMents,
|
|
99
|
+
ja as MaTabPane,
|
|
100
|
+
qa as MaTabPositions,
|
|
101
|
+
Ha as MaTabTypes,
|
|
102
|
+
Ja as MaTabs,
|
|
103
|
+
Qa as MaTagInput,
|
|
104
104
|
Xa as MaToggle,
|
|
105
105
|
Ya as MaTooltip,
|
|
106
106
|
Za as MaTrackButton,
|
|
@@ -108,17 +108,18 @@ export {
|
|
|
108
108
|
$a as MaUploadFileStatus,
|
|
109
109
|
as as MaUploadSizes,
|
|
110
110
|
ss as MaUploadTypes,
|
|
111
|
+
os as MaWatchlistButton,
|
|
111
112
|
es as NumericInputSizes,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
ts as SelectModes,
|
|
114
|
+
Ms as SelectSizes,
|
|
115
|
+
ns as SwitchTypes,
|
|
116
|
+
is as ToggleSizes,
|
|
116
117
|
rs as TooltipPlacements,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
118
|
+
ps as TooltipTriggerTypes,
|
|
119
|
+
us as TooltipTypes,
|
|
120
|
+
ls as TrackButtonSizes,
|
|
121
|
+
cs as TrackButtonVariants,
|
|
122
|
+
Ss as currencyOptions,
|
|
123
|
+
ds as currencySymbols,
|
|
124
|
+
Ts as useActionKitConfig
|
|
124
125
|
};
|
|
@@ -5,6 +5,7 @@ export interface MaKeywordGroupSelectionProps {
|
|
|
5
5
|
options?: KeywordGroupListItem[];
|
|
6
6
|
label?: string;
|
|
7
7
|
placeholder?: string;
|
|
8
|
+
closable?: boolean;
|
|
8
9
|
}
|
|
9
10
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
10
11
|
value: {
|
|
@@ -25,6 +26,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
25
26
|
type: __PropType<string>;
|
|
26
27
|
required: false;
|
|
27
28
|
};
|
|
29
|
+
closable: {
|
|
30
|
+
type: __PropType<boolean>;
|
|
31
|
+
required: false;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
28
34
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("sort" | "change" | "update:value" | "copy" | "update:options" | "changeOptions" | "changeEditable" | "changeVisibility" | "deleteKeywordGroup" | "addKeywordGroup" | "updateKeywordGroup" | "download")[], "sort" | "change" | "update:value" | "copy" | "update:options" | "changeOptions" | "changeEditable" | "changeVisibility" | "deleteKeywordGroup" | "addKeywordGroup" | "updateKeywordGroup" | "download", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
35
|
value: {
|
|
30
36
|
type: __PropType<string | number>;
|
|
@@ -44,6 +50,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
44
50
|
type: __PropType<string>;
|
|
45
51
|
required: false;
|
|
46
52
|
};
|
|
53
|
+
closable: {
|
|
54
|
+
type: __PropType<boolean>;
|
|
55
|
+
required: false;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
47
58
|
}>> & {
|
|
48
59
|
onChange?: (...args: any[]) => any;
|
|
49
60
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
@@ -59,6 +70,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
59
70
|
onDownload?: (...args: any[]) => any;
|
|
60
71
|
}, {
|
|
61
72
|
value: string | number;
|
|
73
|
+
closable: boolean;
|
|
62
74
|
options: KeywordGroupListItem[];
|
|
63
75
|
}>;
|
|
64
76
|
export default _sfc_main;
|
|
@@ -6,6 +6,7 @@ export interface MaPaginationProps {
|
|
|
6
6
|
type?: MaPaginationType;
|
|
7
7
|
showEllipsis?: boolean;
|
|
8
8
|
showTotalItems?: boolean;
|
|
9
|
+
modelValue?: number;
|
|
9
10
|
}
|
|
10
11
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
11
12
|
totalItems: {
|
|
@@ -33,7 +34,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
33
34
|
required: false;
|
|
34
35
|
default: boolean;
|
|
35
36
|
};
|
|
36
|
-
|
|
37
|
+
modelValue: {
|
|
38
|
+
type: __PropType<number>;
|
|
39
|
+
required: false;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
43
|
totalItems: {
|
|
38
44
|
type: __PropType<number>;
|
|
39
45
|
required: false;
|
|
@@ -59,8 +65,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
59
65
|
required: false;
|
|
60
66
|
default: boolean;
|
|
61
67
|
};
|
|
62
|
-
|
|
68
|
+
modelValue: {
|
|
69
|
+
type: __PropType<number>;
|
|
70
|
+
required: false;
|
|
71
|
+
default: number;
|
|
72
|
+
};
|
|
73
|
+
}>> & {
|
|
74
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
75
|
+
}, {
|
|
63
76
|
type: "compact" | "divided";
|
|
77
|
+
modelValue: number;
|
|
64
78
|
totalItems: number;
|
|
65
79
|
itemsPerPage: number;
|
|
66
80
|
showEllipsis: boolean;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
import { MaWatchlistButtonType, MaWatchlistButtonSize } from "../types";
|
|
3
|
+
import { ButtonTarget } from '../../../components/button/types';
|
|
4
|
+
export interface MaIconButtonProps {
|
|
5
|
+
type?: MaWatchlistButtonType;
|
|
6
|
+
icon: string;
|
|
7
|
+
href?: string;
|
|
8
|
+
target?: ButtonTarget;
|
|
9
|
+
size: MaWatchlistButtonSize;
|
|
10
|
+
active?: boolean;
|
|
11
|
+
activeIcon?: string;
|
|
12
|
+
rounded?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
15
|
+
type: {
|
|
16
|
+
type: __PropType<"default" | "dashed">;
|
|
17
|
+
required: false;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
icon: {
|
|
21
|
+
type: __PropType<string>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
href: {
|
|
25
|
+
type: __PropType<string>;
|
|
26
|
+
required: false;
|
|
27
|
+
};
|
|
28
|
+
target: {
|
|
29
|
+
type: __PropType<"_blank" | "_self" | "_top" | "_parent">;
|
|
30
|
+
required: false;
|
|
31
|
+
};
|
|
32
|
+
size: {
|
|
33
|
+
type: __PropType<"xs" | "sm" | "md" | "lg">;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
active: {
|
|
37
|
+
type: __PropType<boolean>;
|
|
38
|
+
required: false;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
activeIcon: {
|
|
42
|
+
type: __PropType<string>;
|
|
43
|
+
required: false;
|
|
44
|
+
};
|
|
45
|
+
rounded: {
|
|
46
|
+
type: __PropType<boolean>;
|
|
47
|
+
required: false;
|
|
48
|
+
};
|
|
49
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
type: {
|
|
51
|
+
type: __PropType<"default" | "dashed">;
|
|
52
|
+
required: false;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
icon: {
|
|
56
|
+
type: __PropType<string>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
href: {
|
|
60
|
+
type: __PropType<string>;
|
|
61
|
+
required: false;
|
|
62
|
+
};
|
|
63
|
+
target: {
|
|
64
|
+
type: __PropType<"_blank" | "_self" | "_top" | "_parent">;
|
|
65
|
+
required: false;
|
|
66
|
+
};
|
|
67
|
+
size: {
|
|
68
|
+
type: __PropType<"xs" | "sm" | "md" | "lg">;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
active: {
|
|
72
|
+
type: __PropType<boolean>;
|
|
73
|
+
required: false;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
activeIcon: {
|
|
77
|
+
type: __PropType<string>;
|
|
78
|
+
required: false;
|
|
79
|
+
};
|
|
80
|
+
rounded: {
|
|
81
|
+
type: __PropType<boolean>;
|
|
82
|
+
required: false;
|
|
83
|
+
};
|
|
84
|
+
}>>, {
|
|
85
|
+
type: "default" | "dashed";
|
|
86
|
+
active: boolean;
|
|
87
|
+
}>;
|
|
88
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
import { MaWatchlistButtonType, MaWatchlistButtonSize } from "./types";
|
|
3
|
+
import { ButtonTarget } from '../../components/button/types';
|
|
4
|
+
import { MaTooltipProps } from '../tooltip/index.vue';
|
|
5
|
+
export interface MaWatchlistButtonProps {
|
|
6
|
+
type?: MaWatchlistButtonType;
|
|
7
|
+
icon?: string;
|
|
8
|
+
activeIcon?: string;
|
|
9
|
+
tooltipText?: string;
|
|
10
|
+
href?: string;
|
|
11
|
+
target?: ButtonTarget;
|
|
12
|
+
size?: MaWatchlistButtonSize;
|
|
13
|
+
active?: boolean;
|
|
14
|
+
tooltipProps?: MaTooltipProps;
|
|
15
|
+
}
|
|
16
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
17
|
+
type: {
|
|
18
|
+
type: __PropType<"default" | "dashed">;
|
|
19
|
+
required: false;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
icon: {
|
|
23
|
+
type: __PropType<string>;
|
|
24
|
+
required: false;
|
|
25
|
+
};
|
|
26
|
+
activeIcon: {
|
|
27
|
+
type: __PropType<string>;
|
|
28
|
+
required: false;
|
|
29
|
+
};
|
|
30
|
+
tooltipText: {
|
|
31
|
+
type: __PropType<string>;
|
|
32
|
+
required: false;
|
|
33
|
+
};
|
|
34
|
+
href: {
|
|
35
|
+
type: __PropType<string>;
|
|
36
|
+
required: false;
|
|
37
|
+
};
|
|
38
|
+
target: {
|
|
39
|
+
type: __PropType<"_blank" | "_self" | "_top" | "_parent">;
|
|
40
|
+
required: false;
|
|
41
|
+
};
|
|
42
|
+
size: {
|
|
43
|
+
type: __PropType<"xs" | "sm" | "md" | "lg">;
|
|
44
|
+
required: false;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
active: {
|
|
48
|
+
type: __PropType<boolean>;
|
|
49
|
+
required: false;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
tooltipProps: {
|
|
53
|
+
type: __PropType<MaTooltipProps>;
|
|
54
|
+
required: false;
|
|
55
|
+
};
|
|
56
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
57
|
+
type: {
|
|
58
|
+
type: __PropType<"default" | "dashed">;
|
|
59
|
+
required: false;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
icon: {
|
|
63
|
+
type: __PropType<string>;
|
|
64
|
+
required: false;
|
|
65
|
+
};
|
|
66
|
+
activeIcon: {
|
|
67
|
+
type: __PropType<string>;
|
|
68
|
+
required: false;
|
|
69
|
+
};
|
|
70
|
+
tooltipText: {
|
|
71
|
+
type: __PropType<string>;
|
|
72
|
+
required: false;
|
|
73
|
+
};
|
|
74
|
+
href: {
|
|
75
|
+
type: __PropType<string>;
|
|
76
|
+
required: false;
|
|
77
|
+
};
|
|
78
|
+
target: {
|
|
79
|
+
type: __PropType<"_blank" | "_self" | "_top" | "_parent">;
|
|
80
|
+
required: false;
|
|
81
|
+
};
|
|
82
|
+
size: {
|
|
83
|
+
type: __PropType<"xs" | "sm" | "md" | "lg">;
|
|
84
|
+
required: false;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
active: {
|
|
88
|
+
type: __PropType<boolean>;
|
|
89
|
+
required: false;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
tooltipProps: {
|
|
93
|
+
type: __PropType<MaTooltipProps>;
|
|
94
|
+
required: false;
|
|
95
|
+
};
|
|
96
|
+
}>>, {
|
|
97
|
+
type: "default" | "dashed";
|
|
98
|
+
size: "xs" | "sm" | "md" | "lg";
|
|
99
|
+
active: boolean;
|
|
100
|
+
}>;
|
|
101
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const MaWatchlistButtonTypes: readonly ["default", "dashed"];
|
|
2
|
+
export declare const MaWatchlistButtonSizes: readonly ["xs", "sm", "md", "lg"];
|
|
3
|
+
export type MaWatchlistButtonType = (typeof MaWatchlistButtonTypes)[number];
|
|
4
|
+
export type MaWatchlistButtonSize = (typeof MaWatchlistButtonSizes)[number];
|