@mobileaction/action-kit 1.27.4 → 1.27.6
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 +78 -77
- package/dist/arrow-left-down-line-4cd819c9.mjs +19 -0
- package/dist/arrow-left-down-line-e7898161.js +1 -0
- package/dist/arrow-right-up-line-23ef1031.mjs +19 -0
- package/dist/arrow-right-up-line-c71c063d.js +1 -0
- package/dist/components/notification/components/notification.vue.d.ts +19 -0
- package/dist/components/notification/components/notificationContainer.vue.d.ts +7 -0
- package/dist/components/notification/composables/useNotificationAnimation.d.ts +4 -0
- package/dist/components/notification/index.d.ts +8 -0
- package/dist/components/notification/types.d.ts +26 -0
- package/dist/index-776a5742.mjs +12061 -0
- package/dist/index-b6f66434.js +53 -0
- package/dist/index.d.ts +1 -0
- package/dist/{lottie_light-c98e1fc1.mjs → lottie_light-5224323b.mjs} +1 -1
- package/dist/{lottie_light-a1c34d14.js → lottie_light-d19a8b38.js} +1 -1
- package/dist/{pause-999b3624.mjs → pause-e1ed0dac.mjs} +9 -9
- package/dist/pause-efb616d3.js +1 -0
- package/dist/src/components/notification/components/notification.vue.d.ts +17 -0
- package/dist/src/components/notification/components/notificationContainer.vue.d.ts +7 -0
- package/dist/src/components/notification/composables/useNotificationAnimation.d.ts +4 -0
- package/dist/src/components/notification/index.d.ts +8 -0
- package/dist/src/components/notification/notification.test.d.ts +1 -0
- package/dist/src/components/notification/stories/commonStories.d.ts +13 -0
- package/dist/src/components/notification/stories/constants.d.ts +3 -0
- package/dist/src/components/notification/stories/filled.stories.d.ts +13 -0
- package/dist/src/components/notification/stories/light.stories.d.ts +13 -0
- package/dist/src/components/notification/stories/stroke.stories.d.ts +13 -0
- package/dist/src/components/notification/types.d.ts +26 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/.vscode/extensions.json +0 -3
- package/CHANGELOG.md +0 -331
- package/dist/index-51fcab19.mjs +0 -11611
- package/dist/index-84c548d9.js +0 -53
- package/dist/pause-4632aba9.js +0 -1
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-b6f66434.js"),e=require("ant-design-vue");require("vue");require("@vueuse/core");require("vuedraggable");require("dayjs");require("@headlessui/vue");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.CheckboxPlacementRight=a.CheckboxPlacementRight;exports.CheckboxPlacements=a.CheckboxPlacements;exports.MaAlert=a._sfc_main$20;exports.MaAlertPropTypes=a.MaAlertPropTypes;exports.MaAlertPropVariants=a.MaAlertPropVariants;exports.MaAnimation=a._sfc_main$21;exports.MaAppCheckbox=a._sfc_main$47;exports.MaAppIcon=a._sfc_main$16;exports.MaAppTrackButton=a._sfc_main$15;exports.MaAutoComplete=a._sfc_main$35;exports.MaAvatar=a._sfc_main$48;exports.MaBadge=a._sfc_main$19;exports.MaBadgePropIconAlignments=a.MaBadgePropIconAlignments;exports.MaBadgePropSizes=a.MaBadgePropSizes;exports.MaBadgePropTypes=a.MaBadgePropTypes;exports.MaBadgePropVariants=a.MaBadgePropVariants;exports.MaBadgeShape=a.MaBadgeShape;exports.MaButton=a._sfc_main;exports.MaCard=a._sfc_main$39;exports.MaCardAlignments=a.MaCardAlignments;exports.MaCardIconColors=a.MaCardIconColors;exports.MaCardSizes=a.MaCardSizes;exports.MaCascader=a._sfc_main$67;exports.MaCheckbox=a._sfc_main$11;exports.MaCheckboxGroup=a._sfc_main$12;exports.MaContentScroller=a._sfc_main$13;exports.MaCountryRadio=a._sfc_main$45;exports.MaCountrySelect=a._sfc_main$38;exports.MaDatePicker=a._sfc_main$65;exports.MaDrawer=a._sfc_main$41;exports.MaDropdown=a._sfc_main$25;exports.MaDropdownPlacements=a.MaDropdownPlacements;exports.MaDropdownTriggers=a.MaDropdownTriggers;exports.MaEmpty=a._sfc_main$26;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$43;exports.MaIconSizeClassNames=a.MaIconSizeClassNames;exports.MaIconSizes=a.MaIconSizes;exports.MaImage=a._sfc_main$59;exports.MaImageGroup=a._sfc_main$60;exports.MaInput=a._sfc_main$7;exports.MaInputCurrency=a.MaInputCurrency;exports.MaInputNumber=a._sfc_main$40;exports.MaInputSize=a.MaInputSize;exports.MaInputType=a.MaInputType;exports.MaKeywordGroupSelection=a._sfc_main$42;exports.MaList=a._sfc_main$50;exports.MaListItem=a.MaListItem;exports.MaListItemMeta=a._sfc_main$51;exports.MaMenu=a._sfc_main$54;exports.MaMenuItem=a._sfc_main$55;exports.MaModal=a._sfc_main$22;exports.MaModalTypeIcon=a.MaModalTypeIcon;exports.MaModalTypes=a.MaModalTypes;exports.MaNotification=a.index$1;exports.MaNumericInput=a._sfc_main$14;exports.MaPagination=a._sfc_main$58;exports.MaPopconfirm=a._sfc_main$61;exports.MaPopover=a._sfc_main$46;exports.MaProgress=a._sfc_main$34;exports.MaProgressCircleSizes=a.MaProgressCircleSizes;exports.MaProgressColors=a.MaProgressColors;exports.MaProgressPercentAlignments=a.MaProgressPercentAlignments;exports.MaProgressTypes=a.MaProgressTypes;exports.MaRadio=a._sfc_main$17;exports.MaRadioCard=a._sfc_main$64;exports.MaRadioGroup=a._sfc_main$18;exports.MaRadioTypes=a.MaRadioTypes;exports.MaRate=a._sfc_main$23;exports.MaRateColors=a.MaRateColors;exports.MaRateSizes=a.MaRateSizes;exports.MaResult=a.index;exports.MaScrollableBadge=a._sfc_main$52;exports.MaSelect=a._sfc_main$9;exports.MaSelectOption=a._sfc_main$10;exports.MaSideMenuAddNewAppButton=a._sfc_main$33;exports.MaSideMenuAppButton=a._sfc_main$32;exports.MaSideMenuButton=a._sfc_main$28;exports.MaSideMenuIconButton=a._sfc_main$30;exports.MaSideMenuItem=a._sfc_main$29;exports.MaSideMenuItemColors=a.MaSideMenuItemColors;exports.MaSideMenuRoundIconButton=a._sfc_main$31;exports.MaSlider=a._sfc_main$44;exports.MaSpin=a._sfc_main$24;exports.MaSpinColors=a.MaSpinColors;exports.MaSpinTypes=a.MaSpinTypes;exports.MaStep=a._sfc_main$57;exports.MaStepItem=a._sfc_main$63;exports.MaStepItems=a._sfc_main$62;exports.MaSteps=a._sfc_main$56;exports.MaSwitch=a._sfc_main$3;exports.MaTabIconAlignMents=a.MaTabIconAlignMents;exports.MaTabPane=a._sfc_main$37;exports.MaTabPositions=a.MaTabPositions;exports.MaTabTypes=a.MaTabTypes;exports.MaTabs=a._sfc_main$36;exports.MaTagInput=a._sfc_main$49;exports.MaToggle=a._sfc_main$2;exports.MaTooltip=a._sfc_main$4;exports.MaTrackButton=a._sfc_main$1;exports.MaTypography=a._sfc_main$66;exports.MaUpload=a._sfc_main$27;exports.MaUploadFileStatus=a.MaUploadFileStatus;exports.MaUploadSizes=a.MaUploadSizes;exports.MaUploadTypes=a.MaUploadTypes;exports.MaWatchlistButton=a._sfc_main$53;exports.MultiSelectOptionCheckbox=a.MultiSelectOptionCheckbox;exports.MultiSelectOptions=a.MultiSelectOptions;exports.NumericInputSizes=a.NumericInputSizes;exports.SelectModes=a.SelectModes;exports.SelectOptionTypeRadio=a.SelectOptionTypeRadio;exports.SelectOptionTypes=a.SelectOptionTypes;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.TypographyTags=a.TypographyTags;exports.TypographyTypes=a.TypographyTypes;exports.TypographyWeights=a.TypographyWeights;exports.currencyOptions=a.currencyOptions;exports.currencySymbols=a.currencySymbols;exports.useActionKitConfig=a.useActionKitConfig;Object.defineProperty(exports,"MaSelectOptGroup",{enumerable:!0,get:()=>e.SelectOptGroup});
|
package/dist/action-kit.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SelectOptGroup as
|
|
1
|
+
import { aj as p, a_ as i, aR as r, aQ as c, aq as l, ao as u, an as S, ap as d, al as b, am as m, aK as T, aJ as g, v as y, aZ as I, aY as C, w as B, W as P, r as A, q as h, K as z, X as R, u as k, aW as f, aV as w, aU as x, aT as O, aX as G, _ as N, O as D, bl as F, bn as V, bm as E, ai as L, m as U, n as K, o as v, U as W, N as j, af as q, Q as H, A as J, b5 as Q, b6 as X, B as Y, b9 as Z, b7 as _, b8 as $, aF as aa, f as sa, h as ea, ay as oa, j as ta, S as Ma, aG as na, aE as pa, a8 as ia, a9 as ra, i as ca, aB as la, P as ua, aA as Sa, az as da, R as ba, Z as ma, $ as Ta, a0 as ga, a3 as ya, a4 as Ia, x as Ca, b0 as Ba, a$ as Pa, ah as Aa, p as ha, a7 as za, ab as Ra, V as ka, J as fa, bg as wa, bf as xa, bh as Oa, be as Ga, s as Na, ae as Da, t as Fa, aS as Va, y as Ea, b2 as La, b1 as Ua, aa as Ka, a1 as va, k as Wa, l as ja, I as qa, H as Ha, D as Ja, F as Qa, E as Xa, bd as Ya, G as Za, T as _a, z as $a, b4 as as, b3 as ss, a6 as es, ad as os, ac as ts, a5 as Ms, d as ns, bk as ps, M as is, bi as rs, bj as cs, L as ls, Y as us, b as Ss, e as ds, a as bs, ag as ms, C as Ts, bc as gs, bb as ys, ba as Is, a2 as Cs, aM as Bs, aL as Ps, aP as As, aI as hs, aO as zs, aN as Rs, aH as ks, au as fs, at as ws, av as xs, ax as Os, aw as Gs, as as Ns, ar as Ds, bp as Fs, bo as Vs, bq as Es, aD as Ls, aC as Us, ak as Ks } from "./index-776a5742.mjs";
|
|
2
|
+
import { SelectOptGroup as Ws } from "ant-design-vue";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "@vueuse/core";
|
|
5
5
|
import "vuedraggable";
|
|
@@ -7,15 +7,15 @@ import "dayjs";
|
|
|
7
7
|
import "@headlessui/vue";
|
|
8
8
|
export {
|
|
9
9
|
p as ActionKitConfig,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
i as Animations,
|
|
11
|
+
r as AppIconPlatforms,
|
|
12
12
|
c as AppIconSizes,
|
|
13
13
|
l as ButtonIconAlignMents,
|
|
14
14
|
u as ButtonShapes,
|
|
15
15
|
S as ButtonSizes,
|
|
16
16
|
d as ButtonTargets,
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
b as ButtonTypes,
|
|
18
|
+
m as ButtonVariants,
|
|
19
19
|
T as CheckboxPlacementRight,
|
|
20
20
|
g as CheckboxPlacements,
|
|
21
21
|
y as MaAlert,
|
|
@@ -28,14 +28,14 @@ export {
|
|
|
28
28
|
z as MaAutoComplete,
|
|
29
29
|
R as MaAvatar,
|
|
30
30
|
k as MaBadge,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
f as MaBadgePropIconAlignments,
|
|
32
|
+
w as MaBadgePropSizes,
|
|
33
|
+
x as MaBadgePropTypes,
|
|
34
|
+
O as MaBadgePropVariants,
|
|
35
35
|
G as MaBadgeShape,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
N as MaButton,
|
|
37
|
+
D as MaCard,
|
|
38
|
+
F as MaCardAlignments,
|
|
39
39
|
V as MaCardIconColors,
|
|
40
40
|
E as MaCardSizes,
|
|
41
41
|
L as MaCascader,
|
|
@@ -61,15 +61,15 @@ export {
|
|
|
61
61
|
Ma as MaIconButton,
|
|
62
62
|
na as MaIconSizeClassNames,
|
|
63
63
|
pa as MaIconSizes,
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
ia as MaImage,
|
|
65
|
+
ra as MaImageGroup,
|
|
66
66
|
ca as MaInput,
|
|
67
67
|
la as MaInputCurrency,
|
|
68
68
|
ua as MaInputNumber,
|
|
69
69
|
Sa as MaInputSize,
|
|
70
70
|
da as MaInputType,
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
ba as MaKeywordGroupSelection,
|
|
72
|
+
ma as MaList,
|
|
73
73
|
Ta as MaListItem,
|
|
74
74
|
ga as MaListItemMeta,
|
|
75
75
|
ya as MaMenu,
|
|
@@ -77,76 +77,77 @@ export {
|
|
|
77
77
|
Ca as MaModal,
|
|
78
78
|
Ba as MaModalTypeIcon,
|
|
79
79
|
Pa as MaModalTypes,
|
|
80
|
-
Aa as
|
|
81
|
-
ha as
|
|
82
|
-
za as
|
|
83
|
-
Ra as
|
|
84
|
-
ka as
|
|
80
|
+
Aa as MaNotification,
|
|
81
|
+
ha as MaNumericInput,
|
|
82
|
+
za as MaPagination,
|
|
83
|
+
Ra as MaPopconfirm,
|
|
84
|
+
ka as MaPopover,
|
|
85
|
+
fa as MaProgress,
|
|
85
86
|
wa as MaProgressCircleSizes,
|
|
86
87
|
xa as MaProgressColors,
|
|
87
88
|
Oa as MaProgressPercentAlignments,
|
|
88
|
-
|
|
89
|
-
|
|
89
|
+
Ga as MaProgressTypes,
|
|
90
|
+
Na as MaRadio,
|
|
90
91
|
Da as MaRadioCard,
|
|
91
92
|
Fa as MaRadioGroup,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
93
|
+
Va as MaRadioTypes,
|
|
94
|
+
Ea as MaRate,
|
|
95
|
+
La as MaRateColors,
|
|
96
|
+
Ua as MaRateSizes,
|
|
97
|
+
Ka as MaResult,
|
|
98
|
+
va as MaScrollableBadge,
|
|
99
|
+
Wa as MaSelect,
|
|
100
|
+
Ws as MaSelectOptGroup,
|
|
101
|
+
ja as MaSelectOption,
|
|
102
|
+
qa as MaSideMenuAddNewAppButton,
|
|
103
|
+
Ha as MaSideMenuAppButton,
|
|
104
|
+
Ja as MaSideMenuButton,
|
|
105
|
+
Qa as MaSideMenuIconButton,
|
|
106
|
+
Xa as MaSideMenuItem,
|
|
107
|
+
Ya as MaSideMenuItemColors,
|
|
108
|
+
Za as MaSideMenuRoundIconButton,
|
|
109
|
+
_a as MaSlider,
|
|
110
|
+
$a as MaSpin,
|
|
111
|
+
as as MaSpinColors,
|
|
112
|
+
ss as MaSpinTypes,
|
|
113
|
+
es as MaStep,
|
|
114
|
+
os as MaStepItem,
|
|
115
|
+
ts as MaStepItems,
|
|
116
|
+
Ms as MaSteps,
|
|
117
|
+
ns as MaSwitch,
|
|
118
|
+
ps as MaTabIconAlignMents,
|
|
119
|
+
is as MaTabPane,
|
|
119
120
|
rs as MaTabPositions,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
cs as MaTabTypes,
|
|
122
|
+
ls as MaTabs,
|
|
123
|
+
us as MaTagInput,
|
|
124
|
+
Ss as MaToggle,
|
|
125
|
+
ds as MaTooltip,
|
|
126
|
+
bs as MaTrackButton,
|
|
126
127
|
ms as MaTypography,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
128
|
+
Ts as MaUpload,
|
|
129
|
+
gs as MaUploadFileStatus,
|
|
130
|
+
ys as MaUploadSizes,
|
|
131
|
+
Is as MaUploadTypes,
|
|
132
|
+
Cs as MaWatchlistButton,
|
|
133
|
+
Bs as MultiSelectOptionCheckbox,
|
|
134
|
+
Ps as MultiSelectOptions,
|
|
135
|
+
As as NumericInputSizes,
|
|
136
|
+
hs as SelectModes,
|
|
137
|
+
zs as SelectOptionTypeRadio,
|
|
138
|
+
Rs as SelectOptionTypes,
|
|
139
|
+
ks as SelectSizes,
|
|
140
|
+
fs as SwitchTypes,
|
|
140
141
|
ws as ToggleSizes,
|
|
141
142
|
xs as TooltipPlacements,
|
|
142
143
|
Os as TooltipTriggerTypes,
|
|
143
|
-
|
|
144
|
-
|
|
144
|
+
Gs as TooltipTypes,
|
|
145
|
+
Ns as TrackButtonSizes,
|
|
145
146
|
Ds as TrackButtonVariants,
|
|
146
147
|
Fs as TypographyTags,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
148
|
+
Vs as TypographyTypes,
|
|
149
|
+
Es as TypographyWeights,
|
|
150
|
+
Ls as currencyOptions,
|
|
151
|
+
Us as currencySymbols,
|
|
152
|
+
Ks as useActionKitConfig
|
|
152
153
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
viewBox: "0 0 24 24",
|
|
4
|
+
fill: "none",
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
6
|
+
}, r = /* @__PURE__ */ t("path", {
|
|
7
|
+
d: "M8.33013 14.376L16.2061 6.5L17.5 7.7939L9.62403 15.6699H16.5657V17.5H6.5V7.43428H8.33013V14.3751V14.376Z",
|
|
8
|
+
fill: "currentColor"
|
|
9
|
+
}, null, -1), c = [
|
|
10
|
+
r
|
|
11
|
+
];
|
|
12
|
+
function l(s, i) {
|
|
13
|
+
return e(), o("svg", n, c);
|
|
14
|
+
}
|
|
15
|
+
const _ = { render: l };
|
|
16
|
+
export {
|
|
17
|
+
_ as default,
|
|
18
|
+
l as render
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n=e.createElementVNode("path",{d:"M8.33013 14.376L16.2061 6.5L17.5 7.7939L9.62403 15.6699H16.5657V17.5H6.5V7.43428H8.33013V14.3751V14.376Z",fill:"currentColor"},null,-1),r=[n];function t(l,s){return e.openBlock(),e.createElementBlock("svg",o,r)}const c={render:t};exports.default=c;exports.render=t;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
viewBox: "0 0 24 24",
|
|
4
|
+
fill: "none",
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
6
|
+
}, r = /* @__PURE__ */ o("path", {
|
|
7
|
+
d: "M15.6699 9.62403L7.7939 17.5L6.5 16.2061L14.3751 8.33013H7.43428V6.5H17.5V16.5657H15.6699V9.62403Z",
|
|
8
|
+
fill: "currentColor"
|
|
9
|
+
}, null, -1), c = [
|
|
10
|
+
r
|
|
11
|
+
];
|
|
12
|
+
function l(s, i) {
|
|
13
|
+
return e(), t("svg", n, c);
|
|
14
|
+
}
|
|
15
|
+
const _ = { render: l };
|
|
16
|
+
export {
|
|
17
|
+
_ as default,
|
|
18
|
+
l as render
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n=e.createElementVNode("path",{d:"M15.6699 9.62403L7.7939 17.5L6.5 16.2061L14.3751 8.33013H7.43428V6.5H17.5V16.5657H15.6699V9.62403Z",fill:"currentColor"},null,-1),r=[n];function t(l,i){return e.openBlock(),e.createElementBlock("svg",o,r)}const c={render:t};exports.default=c;exports.render=t;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
import { NotificationOptions } from '../types';
|
|
3
|
+
export interface MaNotificationProps {
|
|
4
|
+
notification: NotificationOptions;
|
|
5
|
+
}
|
|
6
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
7
|
+
notification: {
|
|
8
|
+
type: __PropType<NotificationOptions>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove"[], "remove", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
notification: {
|
|
13
|
+
type: __PropType<NotificationOptions>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}>> & {
|
|
17
|
+
onRemove?: (...args: any[]) => any;
|
|
18
|
+
}, {}>;
|
|
19
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NotificationOptions } from '../types';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
3
|
+
addNotification: (notification: NotificationOptions) => string | number;
|
|
4
|
+
removeNotification: (deletedId: number | string) => void;
|
|
5
|
+
removeAll: () => void;
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
7
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NotificationOptions } from './types';
|
|
2
|
+
export declare const dark: (options: NotificationOptions) => string | number;
|
|
3
|
+
export declare const success: (options: NotificationOptions) => string | number;
|
|
4
|
+
export declare const error: (options: NotificationOptions) => string | number;
|
|
5
|
+
export declare const info: (options: NotificationOptions) => string | number;
|
|
6
|
+
export declare const warning: (options: NotificationOptions) => string | number;
|
|
7
|
+
export declare const remove: (id: number | string) => void;
|
|
8
|
+
export declare const removeAll: () => void;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
export declare const NotificationTypes: readonly ["dark", "info", "error", "success", "warning"];
|
|
3
|
+
export type NotificationType = (typeof NotificationTypes)[number];
|
|
4
|
+
export declare const NotificationVariants: readonly ["filled", "light", "stroke"];
|
|
5
|
+
export type NotificationVariant = (typeof NotificationVariants)[number];
|
|
6
|
+
export declare const NotificationPlacements: readonly ["top", "topLeft", "topRight", "bottom", "bottomLeft", "bottomRight"];
|
|
7
|
+
export type NotificationPlacement = (typeof NotificationPlacements)[number];
|
|
8
|
+
export declare const NotificationSizes: readonly ["x-small", "small", "large"];
|
|
9
|
+
export type NotificationSize = (typeof NotificationSizes)[number];
|
|
10
|
+
export interface NotificationButton {
|
|
11
|
+
label: string;
|
|
12
|
+
onClick: (id: number | string) => void;
|
|
13
|
+
}
|
|
14
|
+
export interface NotificationOptions {
|
|
15
|
+
id?: number | string;
|
|
16
|
+
description?: string | VNode;
|
|
17
|
+
title?: string | VNode;
|
|
18
|
+
type?: NotificationType;
|
|
19
|
+
closable?: boolean;
|
|
20
|
+
buttons?: NotificationButton[];
|
|
21
|
+
placement?: NotificationPlacement;
|
|
22
|
+
duration?: number;
|
|
23
|
+
variant?: NotificationVariant;
|
|
24
|
+
size?: NotificationSize;
|
|
25
|
+
icon?: string;
|
|
26
|
+
}
|