@mobileaction/action-kit 1.22.0 → 1.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action-kit.js +1 -1
- package/dist/action-kit.mjs +124 -122
- package/dist/chevrons-down-8c0ee366.js +1 -0
- package/dist/chevrons-down-8e5edbe5.mjs +22 -0
- package/dist/chevrons-left-942888a4.js +1 -0
- package/dist/chevrons-left-9d99cf9e.mjs +22 -0
- package/dist/chevrons-right-9b6a1b26.mjs +22 -0
- package/dist/chevrons-right-da7b4c93.js +1 -0
- package/dist/chevrons-up-3c8b9737.mjs +22 -0
- package/dist/chevrons-up-d257ad9b.js +1 -0
- package/dist/components/date-picker/index.vue.d.ts +264 -0
- package/dist/components/date-picker/types.d.ts +4 -0
- package/dist/index-3d3f0590.mjs +10157 -0
- package/dist/index-59b9705d.js +53 -0
- package/dist/index.d.ts +1 -0
- package/dist/{lottie_light-dc5b306d.mjs → lottie_light-51fc9840.mjs} +1 -1
- package/dist/{lottie_light-1423b6a7.js → lottie_light-8a776c50.js} +1 -1
- package/dist/src/components/date-picker/index.vue.d.ts +105 -0
- package/dist/src/components/date-picker/stories/constants.d.ts +5 -0
- package/dist/src/components/date-picker/stories/default.stories.d.ts +16 -0
- package/dist/src/components/date-picker/stories/range.stories.d.ts +17 -0
- package/dist/src/components/date-picker/types.d.ts +4 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +2 -1
- package/dist/index-0071f266.mjs +0 -9930
- package/dist/index-47430f7f.js +0 -53
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-59b9705d.js"),e=require("ant-design-vue");require("vue");require("vuedraggable");require("dayjs");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.MaDatePicker=a._sfc_main$62;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.MaImage=a._sfc_main$56;exports.MaImageGroup=a._sfc_main$57;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.MaPopconfirm=a._sfc_main$58;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.MaRadioCard=a._sfc_main$61;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.MaResult=a.index;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.MaStepItem=a._sfc_main$60;exports.MaStepItems=a._sfc_main$59;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;Object.defineProperty(exports,"MaSelectOptGroup",{enumerable:!0,get:()=>e.SelectOptGroup});
|
package/dist/action-kit.mjs
CHANGED
|
@@ -1,133 +1,135 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SelectOptGroup as
|
|
1
|
+
import { ad as M, aN as n, aF as r, aE as p, ak as i, ai as u, ah as c, aj as l, af as S, ag as d, u as m, aM as I, aL as T, v as g, V as y, q as B, p as b, J as A, W as C, t as P, aK as z, aJ as R, aI as k, aH as w, _ as h, N as f, b8 as G, ba as x, b9 as D, m as F, n as N, T as V, M as E, ac as L, P as O, z as U, aU as K, aV as v, A as W, aY as j, aW as q, aX as H, az as J, f as Q, h as X, as as Y, j as Z, R as _, aA as $, ay as aa, a5 as sa, a6 as ea, i as oa, av as ta, O as Ma, au as na, at as ra, Q as pa, Y as ia, Z as ua, $ as ca, w as la, aP as Sa, aO as da, o as ma, a4 as Ia, a8 as Ta, U as ga, I as ya, b3 as Ba, b2 as ba, b4 as Aa, b1 as Ca, r as Pa, ab as za, s as Ra, aG as ka, x as wa, aR as ha, aQ as fa, a7 as Ga, a0 as xa, k as Da, l as Fa, H as Na, G as Va, C as Ea, E as La, D as Oa, b0 as Ua, F as Ka, S as va, y as Wa, aT as ja, aS as qa, a3 as Ha, aa as Ja, a9 as Qa, a2 as Xa, d as Ya, b7 as Za, L as _a, b5 as $a, b6 as as, K as ss, X as es, b as os, e as ts, a as Ms, B as ns, a$ as rs, a_ as ps, aZ as is, a1 as us, aD as cs, aC as ls, aB as Ss, ao as ds, an as ms, ap as Is, ar as Ts, aq as gs, am as ys, al as Bs, ax as bs, aw as As, ae as Cs } from "./index-3d3f0590.mjs";
|
|
2
|
+
import { SelectOptGroup as zs } from "ant-design-vue";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "vuedraggable";
|
|
5
|
+
import "dayjs";
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
M as ActionKitConfig,
|
|
8
|
+
n as Animations,
|
|
9
|
+
r as AppIconPlatforms,
|
|
10
|
+
p as AppIconSizes,
|
|
11
|
+
i as ButtonIconAlignMents,
|
|
12
|
+
u as ButtonShapes,
|
|
13
|
+
c as ButtonSizes,
|
|
13
14
|
l as ButtonTargets,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
S as ButtonTypes,
|
|
16
|
+
d as ButtonVariants,
|
|
17
|
+
m as MaAlert,
|
|
18
|
+
I as MaAlertPropTypes,
|
|
19
|
+
T as MaAlertPropVariants,
|
|
20
|
+
g as MaAnimation,
|
|
21
|
+
y as MaAppCheckbox,
|
|
22
|
+
B as MaAppIcon,
|
|
23
|
+
b as MaAppTrackButton,
|
|
23
24
|
A as MaAutoComplete,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
C as MaAvatar,
|
|
26
|
+
P as MaBadge,
|
|
27
|
+
z as MaBadgePropIconAlignments,
|
|
28
|
+
R as MaBadgePropSizes,
|
|
29
|
+
k as MaBadgePropTypes,
|
|
29
30
|
w as MaBadgePropVariants,
|
|
30
31
|
h as MaButton,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
f as MaCard,
|
|
33
|
+
G as MaCardAlignments,
|
|
34
|
+
x as MaCardIconColors,
|
|
35
|
+
D as MaCardSizes,
|
|
35
36
|
F as MaCheckbox,
|
|
36
37
|
N as MaCheckboxGroup,
|
|
37
38
|
V as MaCountryRadio,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
la as
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
Aa as
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
wa as
|
|
84
|
-
ha as
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
Fa as
|
|
91
|
-
Na as
|
|
92
|
-
Va as
|
|
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
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
ls as
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
As as
|
|
39
|
+
E as MaCountrySelect,
|
|
40
|
+
L as MaDatePicker,
|
|
41
|
+
O as MaDrawer,
|
|
42
|
+
U as MaDropdown,
|
|
43
|
+
K as MaDropdownPlacements,
|
|
44
|
+
v as MaDropdownTriggers,
|
|
45
|
+
W as MaEmpty,
|
|
46
|
+
j as MaEmptyIcons,
|
|
47
|
+
q as MaEmptySizes,
|
|
48
|
+
H as MaEmptyVariants,
|
|
49
|
+
J as MaFlagIconRatios,
|
|
50
|
+
Q as MaForm,
|
|
51
|
+
X as MaFormItem,
|
|
52
|
+
Y as MaFormLayouts,
|
|
53
|
+
Z as MaIcon,
|
|
54
|
+
_ as MaIconButton,
|
|
55
|
+
$ as MaIconSizeClassNames,
|
|
56
|
+
aa as MaIconSizes,
|
|
57
|
+
sa as MaImage,
|
|
58
|
+
ea as MaImageGroup,
|
|
59
|
+
oa as MaInput,
|
|
60
|
+
ta as MaInputCurrency,
|
|
61
|
+
Ma as MaInputNumber,
|
|
62
|
+
na as MaInputSize,
|
|
63
|
+
ra as MaInputType,
|
|
64
|
+
pa as MaKeywordGroupSelection,
|
|
65
|
+
ia as MaList,
|
|
66
|
+
ua as MaListItem,
|
|
67
|
+
ca as MaListItemMeta,
|
|
68
|
+
la as MaModal,
|
|
69
|
+
Sa as MaModalTypeIcon,
|
|
70
|
+
da as MaModalTypes,
|
|
71
|
+
ma as MaNumericInput,
|
|
72
|
+
Ia as MaPagination,
|
|
73
|
+
Ta as MaPopconfirm,
|
|
74
|
+
ga as MaPopover,
|
|
75
|
+
ya as MaProgress,
|
|
76
|
+
Ba as MaProgressCircleSizes,
|
|
77
|
+
ba as MaProgressColors,
|
|
78
|
+
Aa as MaProgressPercentAlignments,
|
|
79
|
+
Ca as MaProgressTypes,
|
|
80
|
+
Pa as MaRadio,
|
|
81
|
+
za as MaRadioCard,
|
|
82
|
+
Ra as MaRadioGroup,
|
|
83
|
+
ka as MaRadioTypes,
|
|
84
|
+
wa as MaRate,
|
|
85
|
+
ha as MaRateColors,
|
|
86
|
+
fa as MaRateSizes,
|
|
87
|
+
Ga as MaResult,
|
|
88
|
+
xa as MaScrollableBadge,
|
|
89
|
+
Da as MaSelect,
|
|
90
|
+
zs as MaSelectOptGroup,
|
|
91
|
+
Fa as MaSelectOption,
|
|
92
|
+
Na as MaSideMenuAddNewAppButton,
|
|
93
|
+
Va as MaSideMenuAppButton,
|
|
94
|
+
Ea as MaSideMenuButton,
|
|
95
|
+
La as MaSideMenuIconButton,
|
|
96
|
+
Oa as MaSideMenuItem,
|
|
97
|
+
Ua as MaSideMenuItemColors,
|
|
98
|
+
Ka as MaSideMenuRoundIconButton,
|
|
99
|
+
va as MaSlider,
|
|
100
|
+
Wa as MaSpin,
|
|
101
|
+
ja as MaSpinColors,
|
|
102
|
+
qa as MaSpinTypes,
|
|
103
|
+
Ha as MaStep,
|
|
104
|
+
Ja as MaStepItem,
|
|
105
|
+
Qa as MaStepItems,
|
|
106
|
+
Xa as MaSteps,
|
|
107
|
+
Ya as MaSwitch,
|
|
108
|
+
Za as MaTabIconAlignMents,
|
|
109
|
+
_a as MaTabPane,
|
|
110
|
+
$a as MaTabPositions,
|
|
111
|
+
as as MaTabTypes,
|
|
112
|
+
ss as MaTabs,
|
|
113
|
+
es as MaTagInput,
|
|
114
|
+
os as MaToggle,
|
|
115
|
+
ts as MaTooltip,
|
|
116
|
+
Ms as MaTrackButton,
|
|
117
|
+
ns as MaUpload,
|
|
118
|
+
rs as MaUploadFileStatus,
|
|
119
|
+
ps as MaUploadSizes,
|
|
120
|
+
is as MaUploadTypes,
|
|
121
|
+
us as MaWatchlistButton,
|
|
122
|
+
cs as NumericInputSizes,
|
|
123
|
+
ls as SelectModes,
|
|
124
|
+
Ss as SelectSizes,
|
|
125
|
+
ds as SwitchTypes,
|
|
126
|
+
ms as ToggleSizes,
|
|
127
|
+
Is as TooltipPlacements,
|
|
128
|
+
Ts as TooltipTriggerTypes,
|
|
129
|
+
gs as TooltipTypes,
|
|
130
|
+
ys as TrackButtonSizes,
|
|
131
|
+
Bs as TrackButtonVariants,
|
|
132
|
+
bs as currencyOptions,
|
|
133
|
+
As as currencySymbols,
|
|
134
|
+
Cs as useActionKitConfig
|
|
133
135
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n=e.createElementVNode("path",{d:"M7 13L12 18L17 13M7 6L12 11L17 6",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),r=[n];function o(s,l){return e.openBlock(),e.createElementBlock("svg",t,r)}const c={render:o};exports.default=c;exports.render=o;
|
|
@@ -0,0 +1,22 @@
|
|
|
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: "M7 13L12 18L17 13M7 6L12 11L17 6",
|
|
8
|
+
stroke: "currentColor",
|
|
9
|
+
"stroke-width": "2",
|
|
10
|
+
"stroke-linecap": "round",
|
|
11
|
+
"stroke-linejoin": "round"
|
|
12
|
+
}, null, -1), s = [
|
|
13
|
+
r
|
|
14
|
+
];
|
|
15
|
+
function c(l, d) {
|
|
16
|
+
return e(), o("svg", n, s);
|
|
17
|
+
}
|
|
18
|
+
const h = { render: c };
|
|
19
|
+
export {
|
|
20
|
+
h as default,
|
|
21
|
+
c as render
|
|
22
|
+
};
|
|
@@ -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:"M11 17L6 12L11 7M18 17L13 12L18 7",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),r=[n];function t(s,l){return e.openBlock(),e.createElementBlock("svg",o,r)}const c={render:t};exports.default=c;exports.render=t;
|
|
@@ -0,0 +1,22 @@
|
|
|
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: "M11 17L6 12L11 7M18 17L13 12L18 7",
|
|
8
|
+
stroke: "currentColor",
|
|
9
|
+
"stroke-width": "2",
|
|
10
|
+
"stroke-linecap": "round",
|
|
11
|
+
"stroke-linejoin": "round"
|
|
12
|
+
}, null, -1), s = [
|
|
13
|
+
r
|
|
14
|
+
];
|
|
15
|
+
function c(l, d) {
|
|
16
|
+
return e(), o("svg", n, s);
|
|
17
|
+
}
|
|
18
|
+
const h = { render: c };
|
|
19
|
+
export {
|
|
20
|
+
h as default,
|
|
21
|
+
c as render
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
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: "M13 17L18 12L13 7M6 17L11 12L6 7",
|
|
8
|
+
stroke: "currentColor",
|
|
9
|
+
"stroke-width": "2",
|
|
10
|
+
"stroke-linecap": "round",
|
|
11
|
+
"stroke-linejoin": "round"
|
|
12
|
+
}, null, -1), s = [
|
|
13
|
+
r
|
|
14
|
+
];
|
|
15
|
+
function c(l, i) {
|
|
16
|
+
return e(), o("svg", n, s);
|
|
17
|
+
}
|
|
18
|
+
const h = { render: c };
|
|
19
|
+
export {
|
|
20
|
+
h as default,
|
|
21
|
+
c as render
|
|
22
|
+
};
|
|
@@ -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:"M13 17L18 12L13 7M6 17L11 12L6 7",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),r=[n];function t(s,l){return e.openBlock(),e.createElementBlock("svg",o,r)}const c={render:t};exports.default=c;exports.render=t;
|
|
@@ -0,0 +1,22 @@
|
|
|
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: "M17 11L12 6L7 11M17 18L12 13L7 18",
|
|
8
|
+
stroke: "currentColor",
|
|
9
|
+
"stroke-width": "2",
|
|
10
|
+
"stroke-linecap": "round",
|
|
11
|
+
"stroke-linejoin": "round"
|
|
12
|
+
}, null, -1), s = [
|
|
13
|
+
r
|
|
14
|
+
];
|
|
15
|
+
function c(l, d) {
|
|
16
|
+
return e(), o("svg", n, s);
|
|
17
|
+
}
|
|
18
|
+
const h = { render: c };
|
|
19
|
+
export {
|
|
20
|
+
h as default,
|
|
21
|
+
c as render
|
|
22
|
+
};
|
|
@@ -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:"M17 11L12 6L7 11M17 18L12 13L7 18",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),r=[n];function t(s,l){return e.openBlock(),e.createElementBlock("svg",o,r)}const c={render:t};exports.default=c;exports.render=t;
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
import { PanelMode, PickerMode } from 'ant-design-vue/lib/vc-picker/interface';
|
|
3
|
+
import { MaDatePickerSize, MaDateValue } from './types';
|
|
4
|
+
import dayjs, { type Dayjs } from 'dayjs';
|
|
5
|
+
import type { DefineComponent } from 'vue';
|
|
6
|
+
export interface MaDatePickerProps {
|
|
7
|
+
size?: MaDatePickerSize;
|
|
8
|
+
getPopupContainer?: (node: HTMLElement) => HTMLElement;
|
|
9
|
+
mode?: PanelMode;
|
|
10
|
+
open?: boolean;
|
|
11
|
+
picker?: PickerMode;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
allowClear?: boolean;
|
|
15
|
+
format?: string;
|
|
16
|
+
valueFormat?: string;
|
|
17
|
+
value?: MaDateValue;
|
|
18
|
+
rangePicker?: boolean;
|
|
19
|
+
showTime?: Object | boolean;
|
|
20
|
+
disabledDate?: (currentDate: Dayjs) => boolean;
|
|
21
|
+
dropdownClassName?: string;
|
|
22
|
+
prefixIcon?: string;
|
|
23
|
+
showToday?: boolean;
|
|
24
|
+
showNow?: boolean;
|
|
25
|
+
showApply?: boolean;
|
|
26
|
+
ranges?: {
|
|
27
|
+
[range: string]: Dayjs[];
|
|
28
|
+
} | {
|
|
29
|
+
[range: string]: () => Dayjs[];
|
|
30
|
+
};
|
|
31
|
+
presets?: {
|
|
32
|
+
[name: string]: Dayjs;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
declare const _sfc_main: DefineComponent<{
|
|
36
|
+
size: {
|
|
37
|
+
type: __PropType<"small" | "medium" | "large">;
|
|
38
|
+
required: false;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
getPopupContainer: {
|
|
42
|
+
type: __PropType<(node: HTMLElement) => HTMLElement>;
|
|
43
|
+
required: false;
|
|
44
|
+
};
|
|
45
|
+
mode: {
|
|
46
|
+
type: __PropType<PanelMode>;
|
|
47
|
+
required: false;
|
|
48
|
+
};
|
|
49
|
+
open: {
|
|
50
|
+
type: __PropType<boolean>;
|
|
51
|
+
required: false;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
picker: {
|
|
55
|
+
type: __PropType<PickerMode>;
|
|
56
|
+
required: false;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
placeholder: {
|
|
60
|
+
type: __PropType<string>;
|
|
61
|
+
required: false;
|
|
62
|
+
};
|
|
63
|
+
disabled: {
|
|
64
|
+
type: __PropType<boolean>;
|
|
65
|
+
required: false;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
allowClear: {
|
|
69
|
+
type: __PropType<boolean>;
|
|
70
|
+
required: false;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
format: {
|
|
74
|
+
type: __PropType<string>;
|
|
75
|
+
required: false;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
valueFormat: {
|
|
79
|
+
type: __PropType<string>;
|
|
80
|
+
required: false;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
value: {
|
|
84
|
+
type: __PropType<MaDateValue>;
|
|
85
|
+
required: false;
|
|
86
|
+
};
|
|
87
|
+
rangePicker: {
|
|
88
|
+
type: __PropType<boolean>;
|
|
89
|
+
required: false;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
showTime: {
|
|
93
|
+
type: __PropType<boolean | Object>;
|
|
94
|
+
required: false;
|
|
95
|
+
};
|
|
96
|
+
disabledDate: {
|
|
97
|
+
type: __PropType<(currentDate: Dayjs) => boolean>;
|
|
98
|
+
required: false;
|
|
99
|
+
};
|
|
100
|
+
dropdownClassName: {
|
|
101
|
+
type: __PropType<string>;
|
|
102
|
+
required: false;
|
|
103
|
+
};
|
|
104
|
+
prefixIcon: {
|
|
105
|
+
type: __PropType<string>;
|
|
106
|
+
required: false;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
showToday: {
|
|
110
|
+
type: __PropType<boolean>;
|
|
111
|
+
required: false;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
showNow: {
|
|
115
|
+
type: __PropType<boolean>;
|
|
116
|
+
required: false;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
showApply: {
|
|
120
|
+
type: __PropType<boolean>;
|
|
121
|
+
required: false;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
ranges: {
|
|
125
|
+
type: __PropType<{
|
|
126
|
+
[range: string]: dayjs.Dayjs[];
|
|
127
|
+
} | {
|
|
128
|
+
[range: string]: () => Dayjs[];
|
|
129
|
+
}>;
|
|
130
|
+
required: false;
|
|
131
|
+
};
|
|
132
|
+
presets: {
|
|
133
|
+
type: __PropType<{
|
|
134
|
+
[name: string]: dayjs.Dayjs;
|
|
135
|
+
}>;
|
|
136
|
+
required: false;
|
|
137
|
+
default: () => {};
|
|
138
|
+
};
|
|
139
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:value" | "openChange")[], "change" | "update:value" | "openChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
140
|
+
size: {
|
|
141
|
+
type: __PropType<"small" | "medium" | "large">;
|
|
142
|
+
required: false;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
getPopupContainer: {
|
|
146
|
+
type: __PropType<(node: HTMLElement) => HTMLElement>;
|
|
147
|
+
required: false;
|
|
148
|
+
};
|
|
149
|
+
mode: {
|
|
150
|
+
type: __PropType<PanelMode>;
|
|
151
|
+
required: false;
|
|
152
|
+
};
|
|
153
|
+
open: {
|
|
154
|
+
type: __PropType<boolean>;
|
|
155
|
+
required: false;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
picker: {
|
|
159
|
+
type: __PropType<PickerMode>;
|
|
160
|
+
required: false;
|
|
161
|
+
default: string;
|
|
162
|
+
};
|
|
163
|
+
placeholder: {
|
|
164
|
+
type: __PropType<string>;
|
|
165
|
+
required: false;
|
|
166
|
+
};
|
|
167
|
+
disabled: {
|
|
168
|
+
type: __PropType<boolean>;
|
|
169
|
+
required: false;
|
|
170
|
+
default: boolean;
|
|
171
|
+
};
|
|
172
|
+
allowClear: {
|
|
173
|
+
type: __PropType<boolean>;
|
|
174
|
+
required: false;
|
|
175
|
+
default: boolean;
|
|
176
|
+
};
|
|
177
|
+
format: {
|
|
178
|
+
type: __PropType<string>;
|
|
179
|
+
required: false;
|
|
180
|
+
default: string;
|
|
181
|
+
};
|
|
182
|
+
valueFormat: {
|
|
183
|
+
type: __PropType<string>;
|
|
184
|
+
required: false;
|
|
185
|
+
default: string;
|
|
186
|
+
};
|
|
187
|
+
value: {
|
|
188
|
+
type: __PropType<MaDateValue>;
|
|
189
|
+
required: false;
|
|
190
|
+
};
|
|
191
|
+
rangePicker: {
|
|
192
|
+
type: __PropType<boolean>;
|
|
193
|
+
required: false;
|
|
194
|
+
default: boolean;
|
|
195
|
+
};
|
|
196
|
+
showTime: {
|
|
197
|
+
type: __PropType<boolean | Object>;
|
|
198
|
+
required: false;
|
|
199
|
+
};
|
|
200
|
+
disabledDate: {
|
|
201
|
+
type: __PropType<(currentDate: Dayjs) => boolean>;
|
|
202
|
+
required: false;
|
|
203
|
+
};
|
|
204
|
+
dropdownClassName: {
|
|
205
|
+
type: __PropType<string>;
|
|
206
|
+
required: false;
|
|
207
|
+
};
|
|
208
|
+
prefixIcon: {
|
|
209
|
+
type: __PropType<string>;
|
|
210
|
+
required: false;
|
|
211
|
+
default: string;
|
|
212
|
+
};
|
|
213
|
+
showToday: {
|
|
214
|
+
type: __PropType<boolean>;
|
|
215
|
+
required: false;
|
|
216
|
+
default: boolean;
|
|
217
|
+
};
|
|
218
|
+
showNow: {
|
|
219
|
+
type: __PropType<boolean>;
|
|
220
|
+
required: false;
|
|
221
|
+
default: boolean;
|
|
222
|
+
};
|
|
223
|
+
showApply: {
|
|
224
|
+
type: __PropType<boolean>;
|
|
225
|
+
required: false;
|
|
226
|
+
default: boolean;
|
|
227
|
+
};
|
|
228
|
+
ranges: {
|
|
229
|
+
type: __PropType<{
|
|
230
|
+
[range: string]: dayjs.Dayjs[];
|
|
231
|
+
} | {
|
|
232
|
+
[range: string]: () => Dayjs[];
|
|
233
|
+
}>;
|
|
234
|
+
required: false;
|
|
235
|
+
};
|
|
236
|
+
presets: {
|
|
237
|
+
type: __PropType<{
|
|
238
|
+
[name: string]: dayjs.Dayjs;
|
|
239
|
+
}>;
|
|
240
|
+
required: false;
|
|
241
|
+
default: () => {};
|
|
242
|
+
};
|
|
243
|
+
}>> & {
|
|
244
|
+
onChange?: (...args: any[]) => any;
|
|
245
|
+
"onUpdate:value"?: (...args: any[]) => any;
|
|
246
|
+
onOpenChange?: (...args: any[]) => any;
|
|
247
|
+
}, {
|
|
248
|
+
size: "small" | "medium" | "large";
|
|
249
|
+
disabled: boolean;
|
|
250
|
+
prefixIcon: string;
|
|
251
|
+
open: boolean;
|
|
252
|
+
allowClear: boolean;
|
|
253
|
+
picker: PickerMode;
|
|
254
|
+
format: string;
|
|
255
|
+
valueFormat: string;
|
|
256
|
+
rangePicker: boolean;
|
|
257
|
+
showToday: boolean;
|
|
258
|
+
showNow: boolean;
|
|
259
|
+
showApply: boolean;
|
|
260
|
+
presets: {
|
|
261
|
+
[name: string]: dayjs.Dayjs;
|
|
262
|
+
};
|
|
263
|
+
}>;
|
|
264
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Dayjs } from 'dayjs';
|
|
2
|
+
export declare const MaDatePickerSizes: readonly ["small", "medium", "large"];
|
|
3
|
+
export type MaDateValue = string | [string, string] | Dayjs | [Dayjs, Dayjs] | null | undefined | [];
|
|
4
|
+
export type MaDatePickerSize = (typeof MaDatePickerSizes)[number];
|