@aplus-frontend/ui 7.3.3 → 7.4.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/es/index.mjs +176 -174
- package/es/src/ag-grid/editable/form-item.vue.d.ts +2 -4
- package/es/src/ag-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ag-grid/index.vue.d.ts +2 -4
- package/es/src/ap-field/date/index.vue.mjs +68 -63
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/item/index.vue.mjs +95 -86
- package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
- package/es/src/ap-form/search-form/index.vue.d.ts +3 -4
- package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ap-grid/index.vue.d.ts +2 -4
- package/es/src/ap-grid/utils/table.mjs +2 -2
- package/es/src/ap-list/index.vue.d.ts +2 -4
- package/es/src/ap-modal/interface.d.ts +4 -0
- package/es/src/ap-modal/style/index.d.ts +3 -0
- package/es/src/ap-modal/style/index.mjs +20 -0
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-modal/utils/createModal.mjs +58 -56
- package/es/src/ap-table/ap-table.vue.d.ts +2 -4
- package/es/src/ap-table/constants.d.ts +10 -10
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs +24 -22
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs +26 -24
- package/es/src/business/ag-grid-modal/interface.d.ts +2 -1
- package/es/src/business/ag-grid-modal/wrapper/index.vue.d.ts +3 -1
- package/es/src/business/ag-grid-modal/wrapper/index.vue2.mjs +16 -15
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/es/src/business/ap-expand-alert/index.d.ts +4 -6
- package/es/src/business/ap-select-layout/index.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/index.d.ts +17 -5
- package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/business/ap-upload/components/Picture.vue.d.ts +2 -7
- package/es/src/business/ap-value-select-card/index.vue.d.ts +2 -4
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/es/src/design-token/interface.d.ts +2 -0
- package/es/src/editable-table/form-item.vue.d.ts +2 -4
- package/es/src/editable-table/index.vue.d.ts +2 -4
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +280 -278
- package/es/src/loading-bar/global.d.ts +13 -0
- package/es/src/loading-bar/global.mjs +35 -0
- package/es/src/loading-bar/index.d.ts +9 -0
- package/es/src/loading-bar/index.mjs +9 -0
- package/es/src/loading-bar/index.vue.d.ts +14 -0
- package/es/src/loading-bar/index.vue.mjs +4 -0
- package/es/src/loading-bar/index.vue2.mjs +112 -0
- package/es/src/loading-bar/interface.d.ts +48 -0
- package/es/src/loading-bar/interface.mjs +1 -0
- package/es/src/loading-bar/style/index.d.ts +12 -0
- package/es/src/loading-bar/style/index.mjs +85 -0
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/utils/cssinjs/TokenUtil.mjs +1 -1
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ag-grid/editable/index.vue.d.ts +2 -4
- package/lib/src/ag-grid/index.vue.d.ts +2 -4
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +3 -4
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +2 -4
- package/lib/src/ap-modal/interface.d.ts +4 -0
- package/lib/src/ap-modal/style/index.d.ts +3 -0
- package/lib/src/ap-modal/style/index.js +1 -0
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
- package/lib/src/ap-table/constants.d.ts +10 -10
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/interface.d.ts +2 -1
- package/lib/src/business/ag-grid-modal/wrapper/index.vue.d.ts +3 -1
- package/lib/src/business/ag-grid-modal/wrapper/index.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
- package/lib/src/business/ap-select-layout/index.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +17 -5
- package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue.d.ts +2 -7
- package/lib/src/business/ap-value-select-card/index.vue.d.ts +2 -4
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/lib/src/design-token/interface.d.ts +2 -0
- package/lib/src/editable-table/form-item.vue.d.ts +2 -4
- package/lib/src/editable-table/index.vue.d.ts +2 -4
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/loading-bar/global.d.ts +13 -0
- package/lib/src/loading-bar/global.js +1 -0
- package/lib/src/loading-bar/index.d.ts +9 -0
- package/lib/src/loading-bar/index.js +1 -0
- package/lib/src/loading-bar/index.vue.d.ts +14 -0
- package/lib/src/loading-bar/index.vue.js +1 -0
- package/lib/src/loading-bar/index.vue2.js +1 -0
- package/lib/src/loading-bar/interface.d.ts +48 -0
- package/lib/src/loading-bar/interface.js +1 -0
- package/lib/src/loading-bar/style/index.d.ts +12 -0
- package/lib/src/loading-bar/style/index.js +17 -0
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/utils/cssinjs/TokenUtil.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as LoadingBarComp } from './index.vue';
|
|
2
|
+
import { LoadingBar as LoadingBarGlobal } from './global';
|
|
3
|
+
declare const globalIns: LoadingBarGlobal;
|
|
4
|
+
type LoadingBarMix = typeof LoadingBarComp & {
|
|
5
|
+
open: typeof globalIns.open;
|
|
6
|
+
};
|
|
7
|
+
declare const LoadingBar: LoadingBarMix;
|
|
8
|
+
export * from './interface';
|
|
9
|
+
export { LoadingBar };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index.vue.js");const n=require("./global.js");require("./interface.js");const o=require("./index.vue2.js"),e=new n.LoadingBar,r=o.default;r.open=e.open.bind(e);exports.LoadingBar=r;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LoadingBarOptions, LoadingBarProps, LoadingStatus } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<LoadingBarProps, {
|
|
4
|
+
start: (option?: LoadingBarOptions) => void;
|
|
5
|
+
done: (status?: LoadingStatus) => void;
|
|
6
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LoadingBarProps> & Readonly<{}>, {
|
|
7
|
+
position: "top" | "bottom";
|
|
8
|
+
status: LoadingStatus;
|
|
9
|
+
stopProgress: number;
|
|
10
|
+
barSize: number;
|
|
11
|
+
defaultProgress: number;
|
|
12
|
+
manul: boolean;
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../config-provider/index.js");const A=require("./style/index.js"),h=require("../utils/index.js"),F=require("../config-provider/hooks/use-token.js"),B=require("../config-provider/hooks/use-namespace.js"),D=["aria-valuenow"],C=.05,I=e.defineComponent({__name:"index",props:{defaultProgress:{default:0},barSize:{default:2},status:{default:"default"},position:{default:"top"},stopProgress:{default:90},manul:{type:Boolean,default:!1}},setup(S,{expose:x}){const t=S,{token:_}=F.useToken(),u=e.computed(()=>_.value?.components?.LoadingBar?.loadingBarAnimateDuration??250),o=e.ref(!1),{b:f,m:z,e:w}=B.useNamespace("loading-bar"),P=A.default("loading-bar"),n=e.ref(t.position),s=e.ref(t.defaultProgress),l=e.ref(t.status),i=e.ref(t.stopProgress),c=e.ref(t.barSize),d=e.ref(!1);e.watch(()=>t.status,a=>{l.value=a}),e.watch(()=>t.stopProgress,a=>{i.value=a}),e.watch(()=>t.position,a=>n.value=a),e.watch(()=>t.barSize,a=>c.value=a);const q=e.computed(()=>[f(),z(l.value),P.value]),T=e.computed(()=>({[n.value]:0,height:`${c.value}px`,...d.value?{position:"fixed",zIndex:99}:{}})),k=e.computed(()=>({transform:`translateX(${(s.value-100)/2}%) scaleX(${s.value/100})`}));let r;const v=()=>{const a=i.value-s.value;if(a<=0){r&&cancelAnimationFrame(r);return}s.value+=a*C,r=requestAnimationFrame(v)};let p;const y=a=>{d.value=a?._globalMark??!1,a?.position&&(n.value=a?.position),a?.barSize&&(c.value=a.barSize),r&&cancelAnimationFrame(r),clearTimeout(p),o.value=!0,setTimeout(()=>{const{progress:m,stopProgress:g,status:b}=a||{};h.isDef(m)&&(s.value=m),h.isDef(g)&&(i.value=g),b&&(l.value=b),p=setTimeout(()=>{o.value=!0,r=requestAnimationFrame(v)},u.value)})};return e.onMounted(()=>{t.manul||(o.value=!0,requestAnimationFrame(v))}),e.onBeforeUnmount(()=>{o.value=!1,r&&cancelAnimationFrame(r)}),e.watch(()=>s.value,a=>{a===100&&setTimeout(()=>{o.value=!1,setTimeout(()=>{s.value=0,l.value="default"},u.value)},u.value)}),x({start:y,done(a){s.value=100,a&&(l.value=a)}}),(a,m)=>(e.openBlock(),e.createBlock(e.Transition,{name:e.unref(f)("fade")},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(q.value),style:e.normalizeStyle(T.value)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(w)("bar")),style:e.normalizeStyle(k.value),role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":s.value},null,14,D)],6),[[e.vShow,o.value]])]),_:1},8,["name"]))}});exports.default=I;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export type LoadingStatus = 'default' | 'success' | 'warning' | 'error';
|
|
2
|
+
export type LoadingBarProps = {
|
|
3
|
+
/**
|
|
4
|
+
* 默认加载进度
|
|
5
|
+
*/
|
|
6
|
+
defaultProgress?: number;
|
|
7
|
+
/**
|
|
8
|
+
* 加载条尺寸
|
|
9
|
+
*/
|
|
10
|
+
barSize?: number;
|
|
11
|
+
/**
|
|
12
|
+
* 加载状态
|
|
13
|
+
*/
|
|
14
|
+
status?: LoadingStatus;
|
|
15
|
+
/**
|
|
16
|
+
* 放置的位置
|
|
17
|
+
*/
|
|
18
|
+
position?: 'top' | 'bottom';
|
|
19
|
+
/**
|
|
20
|
+
* 停止进度
|
|
21
|
+
*/
|
|
22
|
+
stopProgress?: number;
|
|
23
|
+
/**
|
|
24
|
+
* 是否手动触发进度开始
|
|
25
|
+
*/
|
|
26
|
+
manul?: boolean;
|
|
27
|
+
};
|
|
28
|
+
export type LoadingBarOptions = Pick<LoadingBarProps, 'status' | 'stopProgress' | 'position' | 'barSize'> & {
|
|
29
|
+
progress?: number;
|
|
30
|
+
/**
|
|
31
|
+
* 全局使用标记,请勿传入
|
|
32
|
+
*/
|
|
33
|
+
_globalMark?: boolean;
|
|
34
|
+
};
|
|
35
|
+
export type LoadingBarExpose = {
|
|
36
|
+
/**
|
|
37
|
+
* 执行进度loading
|
|
38
|
+
* @param progress 初始进度
|
|
39
|
+
* @returns
|
|
40
|
+
*/
|
|
41
|
+
start: (option?: LoadingBarOptions) => void;
|
|
42
|
+
/**
|
|
43
|
+
* 完成进度条加载中
|
|
44
|
+
* @param status
|
|
45
|
+
* @returns
|
|
46
|
+
*/
|
|
47
|
+
done: (status?: LoadingStatus) => void;
|
|
48
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GenStyleFunc } from '../../design-token/interface';
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
|
+
export type LoadingBarToken = {
|
|
4
|
+
/**
|
|
5
|
+
* 动画持续时间
|
|
6
|
+
*/
|
|
7
|
+
loadingBarAnimateDuration: number;
|
|
8
|
+
};
|
|
9
|
+
export declare function genFadeKeyFrames(): string[];
|
|
10
|
+
export declare const genLoadingBarStyle: GenStyleFunc<LoadingBarToken>;
|
|
11
|
+
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("@emotion/css"),c=require("../../utils/cssinjs/index.js"),l={loadingBarAnimateDuration:250};function t(){const e=r.keyframes`
|
|
2
|
+
0% {
|
|
3
|
+
opacity: 0;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
100% {
|
|
7
|
+
opacity: 1;
|
|
8
|
+
}
|
|
9
|
+
`,a=r.keyframes`
|
|
10
|
+
0% {
|
|
11
|
+
opacity: 1;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
100% {
|
|
15
|
+
opacity: 0;
|
|
16
|
+
}
|
|
17
|
+
`;return[e,a]}const i=e=>{const[a,s]=t(),{componentCls:n,loadingBarAnimateDuration:o}=e;return{[n]:{position:"absolute",insetInlineStart:0,width:"100%",zIndex:1,[`${n}__bar`]:{width:"100%",height:"100%",pointerEvents:"none",transition:"background-color .25s ease, transform .25s ease",willChange:"transform"},"&--default":{[`${e.componentCls}__bar`]:{background:e.colorPrimary}},"&--success":{[`${e.componentCls}__bar`]:{background:e.colorSuccess}},"&--warning":{[`${e.componentCls}__bar`]:{background:e.colorWarn}},"&--error":{[`${e.componentCls}__bar`]:{background:e.colorError}},"&-fade":{"&-enter-active":{animationName:a,animationDuration:`${o}ms`},"&-leave-active":{animationName:s,animationDuration:`${o}ms`}}}}},u=c.genComponentStyleHook("LoadingBar",e=>[i(e)],l,{skipUnit:["loadingBarAnimateDuration"]});exports.default=u;exports.genFadeKeyFrames=t;exports.genLoadingBarStyle=i;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ScrollOptions, ScrollViewProps } from './interface';
|
|
2
|
-
import { ScrollBarDirection, InternalScrollBarProps
|
|
2
|
+
import { ScrollBarDirection, InternalScrollBarProps } from '../scroll-bar';
|
|
3
3
|
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ComputedRef } from 'vue';
|
|
4
4
|
declare function scroll(x?: number, y?: number): void;
|
|
5
5
|
declare function scrollTo({ smooth, left, top }: ScrollOptions): void;
|
|
@@ -106,8 +106,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
|
|
|
106
106
|
onScroll?: ((percent: number) => void) | undefined;
|
|
107
107
|
disabled?: boolean | undefined;
|
|
108
108
|
trackSpeed?: number | undefined;
|
|
109
|
-
barColor?:
|
|
110
|
-
trackColor?:
|
|
109
|
+
barColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
110
|
+
trackColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
111
111
|
trackWidth?: number | undefined;
|
|
112
112
|
showTrack?: boolean | undefined;
|
|
113
113
|
onScrollStart?: ((percent: number) => void) | undefined;
|
|
@@ -118,8 +118,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
|
|
|
118
118
|
onScroll?: ((percent: number) => void) | undefined;
|
|
119
119
|
disabled?: boolean | undefined;
|
|
120
120
|
trackSpeed?: number | undefined;
|
|
121
|
-
barColor?:
|
|
122
|
-
trackColor?:
|
|
121
|
+
barColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
122
|
+
trackColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
123
123
|
trackWidth?: number | undefined;
|
|
124
124
|
showTrack?: boolean | undefined;
|
|
125
125
|
onScrollStart?: ((percent: number) => void) | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
export declare const Wrapper: DefineComponent<{
|
|
3
|
-
uiMode?:
|
|
4
|
-
lang?:
|
|
3
|
+
uiMode?: "admin" | "aplus" | undefined;
|
|
4
|
+
lang?: "en" | "zh-cn" | undefined;
|
|
5
5
|
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
6
|
-
uiMode?:
|
|
7
|
-
lang?:
|
|
6
|
+
uiMode?: "admin" | "aplus" | undefined;
|
|
7
|
+
lang?: "en" | "zh-cn" | undefined;
|
|
8
8
|
}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class s{constructor(t){this.result="",this.result=t}add(t){return t instanceof s?this.result=`${this.result} + ${t.getResult()}`:this.result=`${this.result} + ${t}`,this.lowPriority=!0,this}sub(t){return
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class s{constructor(t){this.result="",this.result=t}add(t){return t instanceof s?this.result=`${this.result} + ${t.getResult()}`:this.result=`${this.result} + ${t}`,this.lowPriority=!0,this}sub(t){return t instanceof s?this.result=`${this.result} - ${t.getResult()}`:this.result=`${this.result} - ${t}`,this.lowPriority=!0,this}mul(t){return this.lowPriority&&(this.result=`(${this.result})`),t instanceof s?this.result=`${this.result} * ${t.getResult()}`:this.result=`${this.result} * ${t}`,this.lowPriority=!1,this}div(t){return this.lowPriority&&(this.result=`(${this.result})`),t instanceof s?this.result=`${this.result} / ${t.getResult()}`:this.result=`${this.result} / ${t}`,this.lowPriority=!1,this}getResult(){return this.lowPriority?`(${this.result})`:this.result}equal(){return typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}exports.TokenUtil=s;
|
package/lib/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "7.
|
|
1
|
+
declare const _default: "7.4.1";
|
|
2
2
|
export default _default;
|
package/lib/src/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="7.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="7.4.1";exports.default=e;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.1",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
40
40
|
"vue-virtual-scroller": "2.0.0-beta.8",
|
|
41
41
|
"vuedraggable": "^4.1.0",
|
|
42
|
-
"@aplus-frontend/
|
|
43
|
-
"@aplus-frontend/
|
|
42
|
+
"@aplus-frontend/utils": "1.0.61",
|
|
43
|
+
"@aplus-frontend/hooks": "1.0.7"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@aplus-frontend/antdv": "^1.2.
|
|
46
|
+
"@aplus-frontend/antdv": "^1.2.19",
|
|
47
47
|
"@aplus-frontend/icon": "^1.3.2",
|
|
48
48
|
"@aplus-frontend/oss": "^1.1.2",
|
|
49
49
|
"vue": "^3.5.17",
|
|
50
50
|
"vxe-table": "^4.13.37"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@aplus-frontend/antdv": "^1.2.
|
|
53
|
+
"@aplus-frontend/antdv": "^1.2.19",
|
|
54
54
|
"@aplus-frontend/icon": "^1.3.2",
|
|
55
55
|
"@aplus-frontend/oss": "^1.1.2",
|
|
56
56
|
"@emotion/serialize": "^1.3.3",
|