@mobileaction/action-kit 1.34.0 → 1.34.3
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/CHANGELOG.md +22 -0
- package/dist/action-kit.js +1 -1
- package/dist/action-kit.mjs +1 -1
- package/dist/components/tree/components/treeNode.vue.d.ts +10 -0
- package/dist/components/tree/index.vue.d.ts +13 -1
- package/dist/index-4478855d.js +47 -0
- package/dist/{index-1f6e7c7f.mjs → index-ae45e5aa.mjs} +1599 -1592
- package/dist/{lottie_light-df59faac.js → lottie_light-069a3b99.js} +1 -1
- package/dist/{lottie_light-90539487.mjs → lottie_light-f584f388.mjs} +1 -1
- package/dist/src/components/tree/components/treeNode.vue.d.ts +2 -0
- package/dist/src/components/tree/index.vue.d.ts +5 -1
- package/dist/src/components/tree/stories/default.stories.d.ts +4 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index-14b99aa9.js +0 -47
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.34.3](https://github.com/mobileaction/action-kit/compare/v1.34.2...v1.34.3) (2024-09-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **DUV-6258:** input hint text icon no repeat added ([257d613](https://github.com/mobileaction/action-kit/commit/257d61371a298bce5f11f2f8eeb15cc4035dece1))
|
|
11
|
+
* **DUV-6258:** input hint text icon no repeat added ([1fa88bc](https://github.com/mobileaction/action-kit/commit/1fa88bc3d3f55738dfd77c05d45d173e90d0d433))
|
|
12
|
+
|
|
13
|
+
## [1.34.2](https://github.com/mobileaction/action-kit/compare/v1.34.1...v1.34.2) (2024-09-17)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **PEC-4343:** test case fix with on change update ([4ae30a5](https://github.com/mobileaction/action-kit/commit/4ae30a51acf82af390f8efd986540b84586ea30f))
|
|
19
|
+
|
|
20
|
+
## [1.34.1](https://github.com/mobileaction/action-kit/compare/v1.34.0...v1.34.1) (2024-09-17)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* **PEC-4343:** tree component style fix and story additions ([8df49b6](https://github.com/mobileaction/action-kit/commit/8df49b67285780685f65fb59304b4788108647b1))
|
|
26
|
+
|
|
5
27
|
## [1.34.0](https://github.com/mobileaction/action-kit/compare/v1.33.4...v1.34.0) (2024-09-12)
|
|
6
28
|
|
|
7
29
|
|
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-4478855d.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.ButtonColors=a.ButtonColors;exports.ButtonHtmlTypes=a.ButtonHtmlTypes;exports.ButtonIconAlignMents=a.ButtonIconAlignMents;exports.ButtonShapes=a.ButtonShapes;exports.ButtonSizes=a.ButtonSizes;exports.ButtonTargets=a.ButtonTargets;exports.ButtonVariants=a.ButtonVariants;exports.CheckboxPlacementRight=a.CheckboxPlacementRight;exports.CheckboxPlacements=a.CheckboxPlacements;exports.LinkButtonColors=a.LinkButtonColors;exports.LinkButtonSizes=a.LinkButtonSizes;exports.MaAlert=a._sfc_main$22;exports.MaAlertPropTypes=a.MaAlertPropTypes;exports.MaAlertPropVariants=a.MaAlertPropVariants;exports.MaAnimation=a._sfc_main$23;exports.MaAppCheckbox=a._sfc_main$49;exports.MaAppIcon=a._sfc_main$18;exports.MaAppTrackButton=a._sfc_main$17;exports.MaAutoComplete=a._sfc_main$37;exports.MaAvatar=a._sfc_main$50;exports.MaBadge=a._sfc_main$21;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$41;exports.MaCardAlignments=a.MaCardAlignments;exports.MaCardIconColors=a.MaCardIconColors;exports.MaCardSizes=a.MaCardSizes;exports.MaCascader=a._sfc_main$68;exports.MaCheckbox=a._sfc_main$13;exports.MaCheckboxGroup=a._sfc_main$14;exports.MaContentScroller=a._sfc_main$15;exports.MaCountryRadio=a._sfc_main$47;exports.MaCountrySelect=a._sfc_main$40;exports.MaDatePicker=a._sfc_main$64;exports.MaDrawer=a._sfc_main$43;exports.MaDropdown=a._sfc_main$27;exports.MaDropdownPlacements=a.MaDropdownPlacements;exports.MaDropdownTriggers=a.MaDropdownTriggers;exports.MaEllipsis=a._sfc_main$65;exports.MaEmpty=a._sfc_main$28;exports.MaEmptyIcons=a.MaEmptyIcons;exports.MaEmptySizes=a.MaEmptySizes;exports.MaEmptyVariants=a.MaEmptyVariants;exports.MaFlagIconRatios=a.MaFlagIconRatios;exports.MaForm=a._sfc_main$7;exports.MaFormItem=a._sfc_main$8;exports.MaFormLayouts=a.MaFormLayouts;exports.MaIcon=a._sfc_main$10;exports.MaIconButton=a._sfc_main$45;exports.MaIconSizeClassNames=a.MaIconSizeClassNames;exports.MaIconSizes=a.MaIconSizes;exports.MaImage=a._sfc_main$58;exports.MaImageGroup=a._sfc_main$59;exports.MaInput=a._sfc_main$9;exports.MaInputCurrency=a.MaInputCurrency;exports.MaInputNumber=a._sfc_main$42;exports.MaInputSize=a.MaInputSize;exports.MaInputType=a.MaInputType;exports.MaKeywordGroupSelection=a._sfc_main$44;exports.MaLinkButton=a._sfc_main$1;exports.MaMenu=a._sfc_main$53;exports.MaMenuItem=a._sfc_main$54;exports.MaModal=a._sfc_main$24;exports.MaModalTypeIcon=a.MaModalTypeIcon;exports.MaModalTypes=a.MaModalTypes;exports.MaNotification=a.index$1;exports.MaNumericInput=a._sfc_main$16;exports.MaPagination=a._sfc_main$57;exports.MaPopconfirm=a._sfc_main$60;exports.MaPopover=a._sfc_main$48;exports.MaProgress=a._sfc_main$36;exports.MaProgressCircleSizes=a.MaProgressCircleSizes;exports.MaProgressColors=a.MaProgressColors;exports.MaProgressPercentAlignments=a.MaProgressPercentAlignments;exports.MaProgressTypes=a.MaProgressTypes;exports.MaRadio=a._sfc_main$19;exports.MaRadioCard=a._sfc_main$63;exports.MaRadioGroup=a._sfc_main$20;exports.MaRadioTypes=a.MaRadioTypes;exports.MaRate=a._sfc_main$25;exports.MaRateColors=a.MaRateColors;exports.MaRateSizes=a.MaRateSizes;exports.MaResult=a.index;exports.MaSelect=a._sfc_main$11;exports.MaSelectOption=a._sfc_main$12;exports.MaSideMenuAddNewAppButton=a._sfc_main$35;exports.MaSideMenuAppButton=a._sfc_main$34;exports.MaSideMenuButton=a._sfc_main$30;exports.MaSideMenuIconButton=a._sfc_main$32;exports.MaSideMenuItem=a._sfc_main$31;exports.MaSideMenuItemColors=a.MaSideMenuItemColors;exports.MaSideMenuRoundIconButton=a._sfc_main$33;exports.MaSlider=a._sfc_main$46;exports.MaSocialButton=a._sfc_main$2;exports.MaSpin=a._sfc_main$26;exports.MaSpinColors=a.MaSpinColors;exports.MaSpinTypes=a.MaSpinTypes;exports.MaStep=a._sfc_main$56;exports.MaStepItem=a._sfc_main$62;exports.MaStepItems=a._sfc_main$61;exports.MaSteps=a._sfc_main$55;exports.MaSwitch=a._sfc_main$5;exports.MaTabIconAlignMents=a.MaTabIconAlignMents;exports.MaTabPane=a._sfc_main$39;exports.MaTabPositions=a.MaTabPositions;exports.MaTabTypes=a.MaTabTypes;exports.MaTabs=a._sfc_main$38;exports.MaTagInput=a._sfc_main$51;exports.MaToggle=a._sfc_main$4;exports.MaTooltip=a._sfc_main$6;exports.MaTrackButton=a._sfc_main$3;exports.MaTree=a._sfc_main$67;exports.MaTypography=a._sfc_main$66;exports.MaUpload=a._sfc_main$29;exports.MaUploadFileStatus=a.MaUploadFileStatus;exports.MaUploadSizes=a.MaUploadSizes;exports.MaUploadTypes=a.MaUploadTypes;exports.MaWatchlistButton=a._sfc_main$52;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.SocialButtonBrands=a.SocialButtonBrands;exports.SocialButtonVariants=a.SocialButtonVariants;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.TreeModes=a.TreeModes;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,4 +1,4 @@
|
|
|
1
|
-
import { aj as p, b3 as i, aW as r, aV as l, am as u, aq as c, ar as S, ao as b, an as d, ap as T, al as m, aP as g, aO as y, as as B, at as I, x as C, b2 as P, b1 as A, y as h, Y as z, t as k, s as R, M as w, Z as f, w as x, a$ as O, a_ as G, aZ as N, aY as V, b0 as D, _ as E, Q as F, bq as L, bs as U, br as v, ai as K, o as W, p as j, q, W as H, P as J, ad as Q, S as X, C as Y, ba as Z, bb as _, ae as $, D as aa, be as sa, bc as ea, bd as oa, aK as ta, i as Ma, j as na, aD as pa, l as ia, U as ra, aL as la, aJ as ua, a6 as ca, a7 as Sa, k as ba, aG as da, R as Ta, aF as ma, aE as ga, T as ya, a as Ba, a1 as Ia, a2 as Ca, z as Pa, b5 as Aa, b4 as ha, ah as za, r as ka, a5 as Ra, a9 as wa, X as fa, L as xa, bl as Oa, bk as Ga, bm as Na, bj as Va, u as Da, ac as Ea, v as Fa, aX as La, A as Ua, b7 as va, b6 as Ka, a8 as Wa, m as ja, n as qa, K as Ha, J as Ja, F as Qa, H as Xa, G as Ya, bi as Za, I as _a, V as $a, b as as, B as ss, b9 as es, b8 as os, a4 as ts, ab as Ms, aa as ns, a3 as ps, f as is, bp as rs, O as ls, bn as us, bo as cs, N as Ss, $ as bs, e as ds, h as Ts, d as ms, ag as gs, af as ys, E as Bs, bh as Is, bg as Cs, bf as Ps, a0 as As, aR as hs, aQ as zs, aU as ks, aN as Rs, aT as ws, aS as fs, aM as xs, au as Os, av as Gs, az as Ns, ay as Vs, aA as Ds, aC as Es, aB as Fs, ax as Ls, aw as Us, bw as vs, bu as Ks, bt as Ws, bv as js, aI as qs, aH as Hs, ak as Js } from "./index-
|
|
1
|
+
import { aj as p, b3 as i, aW as r, aV as l, am as u, aq as c, ar as S, ao as b, an as d, ap as T, al as m, aP as g, aO as y, as as B, at as I, x as C, b2 as P, b1 as A, y as h, Y as z, t as k, s as R, M as w, Z as f, w as x, a$ as O, a_ as G, aZ as N, aY as V, b0 as D, _ as E, Q as F, bq as L, bs as U, br as v, ai as K, o as W, p as j, q, W as H, P as J, ad as Q, S as X, C as Y, ba as Z, bb as _, ae as $, D as aa, be as sa, bc as ea, bd as oa, aK as ta, i as Ma, j as na, aD as pa, l as ia, U as ra, aL as la, aJ as ua, a6 as ca, a7 as Sa, k as ba, aG as da, R as Ta, aF as ma, aE as ga, T as ya, a as Ba, a1 as Ia, a2 as Ca, z as Pa, b5 as Aa, b4 as ha, ah as za, r as ka, a5 as Ra, a9 as wa, X as fa, L as xa, bl as Oa, bk as Ga, bm as Na, bj as Va, u as Da, ac as Ea, v as Fa, aX as La, A as Ua, b7 as va, b6 as Ka, a8 as Wa, m as ja, n as qa, K as Ha, J as Ja, F as Qa, H as Xa, G as Ya, bi as Za, I as _a, V as $a, b as as, B as ss, b9 as es, b8 as os, a4 as ts, ab as Ms, aa as ns, a3 as ps, f as is, bp as rs, O as ls, bn as us, bo as cs, N as Ss, $ as bs, e as ds, h as Ts, d as ms, ag as gs, af as ys, E as Bs, bh as Is, bg as Cs, bf as Ps, a0 as As, aR as hs, aQ as zs, aU as ks, aN as Rs, aT as ws, aS as fs, aM as xs, au as Os, av as Gs, az as Ns, ay as Vs, aA as Ds, aC as Es, aB as Fs, ax as Ls, aw as Us, bw as vs, bu as Ks, bt as Ws, bv as js, aI as qs, aH as Hs, ak as Js } from "./index-ae45e5aa.mjs";
|
|
2
2
|
import { SelectOptGroup as Xs } from "ant-design-vue";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { PropType as __PropType } from 'vue';
|
|
2
2
|
import { TreeNode, TreeNodeValue } from '../types';
|
|
3
|
+
import { TypographyType } from '../../../components/typography/types';
|
|
3
4
|
export interface MaTreeNodeProps {
|
|
4
5
|
node?: TreeNode;
|
|
5
6
|
selectedValue?: TreeNodeValue;
|
|
6
7
|
expandedKeys?: TreeNodeValue[];
|
|
7
8
|
checkedKeys?: TreeNodeValue[];
|
|
9
|
+
fontType?: TypographyType;
|
|
8
10
|
isMultiple?: boolean;
|
|
9
11
|
showIcon?: boolean;
|
|
10
12
|
hideTick?: boolean;
|
|
@@ -30,6 +32,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
30
32
|
required: false;
|
|
31
33
|
default: () => TreeNodeValue[];
|
|
32
34
|
};
|
|
35
|
+
fontType: {
|
|
36
|
+
type: __PropType<"display-1" | "display-2" | "heading-1" | "heading-2" | "heading-3" | "heading-4" | "heading-5" | "heading-6" | "body-1" | "body-2" | "body-3" | "body-4" | "caption-1" | "caption-2">;
|
|
37
|
+
required: false;
|
|
38
|
+
};
|
|
33
39
|
isMultiple: {
|
|
34
40
|
type: __PropType<boolean>;
|
|
35
41
|
required: false;
|
|
@@ -69,6 +75,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
69
75
|
required: false;
|
|
70
76
|
default: () => TreeNodeValue[];
|
|
71
77
|
};
|
|
78
|
+
fontType: {
|
|
79
|
+
type: __PropType<"display-1" | "display-2" | "heading-1" | "heading-2" | "heading-3" | "heading-4" | "heading-5" | "heading-6" | "body-1" | "body-2" | "body-3" | "body-4" | "caption-1" | "caption-2">;
|
|
80
|
+
required: false;
|
|
81
|
+
};
|
|
72
82
|
isMultiple: {
|
|
73
83
|
type: __PropType<boolean>;
|
|
74
84
|
required: false;
|
|
@@ -10,6 +10,7 @@ export interface MaTreeProps {
|
|
|
10
10
|
showIcon?: boolean;
|
|
11
11
|
hideTick?: boolean;
|
|
12
12
|
search?: MaSearchType;
|
|
13
|
+
size?: MaEmptySize;
|
|
13
14
|
emptySize?: MaEmptySize;
|
|
14
15
|
emptyTitle?: string;
|
|
15
16
|
emptyDescription?: string;
|
|
@@ -49,6 +50,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
49
50
|
required: false;
|
|
50
51
|
default: string;
|
|
51
52
|
};
|
|
53
|
+
size: {
|
|
54
|
+
type: __PropType<"small" | "medium" | "large">;
|
|
55
|
+
required: false;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
52
58
|
emptySize: {
|
|
53
59
|
type: __PropType<"small" | "medium" | "large">;
|
|
54
60
|
required: false;
|
|
@@ -68,7 +74,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
68
74
|
checkedKeys: import("vue").Ref<TreeNodeValue[]>;
|
|
69
75
|
expandedKeys: import("vue").Ref<TreeNodeValue[]>;
|
|
70
76
|
treeData: import("vue").ComputedRef<TreeNode[]>;
|
|
71
|
-
onChange: (value: TreeNodeValue) => void;
|
|
77
|
+
onChange: (value: TreeNodeValue, node: TreeNode) => void;
|
|
72
78
|
toggleExpand: (value: TreeNodeValue) => void;
|
|
73
79
|
checkNodeChange: (node: TreeNode, isChecked: boolean) => void;
|
|
74
80
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:value" | "update:selectedValues" | "update:expandedValues")[], "change" | "update:value" | "update:selectedValues" | "update:expandedValues", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -106,6 +112,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
106
112
|
required: false;
|
|
107
113
|
default: string;
|
|
108
114
|
};
|
|
115
|
+
size: {
|
|
116
|
+
type: __PropType<"small" | "medium" | "large">;
|
|
117
|
+
required: false;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
109
120
|
emptySize: {
|
|
110
121
|
type: __PropType<"small" | "medium" | "large">;
|
|
111
122
|
required: false;
|
|
@@ -127,6 +138,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
127
138
|
"onUpdate:selectedValues"?: (...args: any[]) => any;
|
|
128
139
|
"onUpdate:expandedValues"?: (...args: any[]) => any;
|
|
129
140
|
}, {
|
|
141
|
+
size: "small" | "medium" | "large";
|
|
130
142
|
search: MaSearchType;
|
|
131
143
|
mode: "multiple" | "single";
|
|
132
144
|
emptySize: "small" | "medium" | "large";
|