@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.
Files changed (147) hide show
  1. package/es/index.mjs +176 -174
  2. package/es/src/ag-grid/editable/form-item.vue.d.ts +2 -4
  3. package/es/src/ag-grid/editable/index.vue.d.ts +2 -4
  4. package/es/src/ag-grid/index.vue.d.ts +2 -4
  5. package/es/src/ap-field/date/index.vue.mjs +68 -63
  6. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  7. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  8. package/es/src/ap-form/ap-form.vue.d.ts +1 -2
  9. package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  10. package/es/src/ap-form/item/index.vue.mjs +95 -86
  11. package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
  12. package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
  13. package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
  14. package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
  15. package/es/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
  16. package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
  17. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
  18. package/es/src/ap-form/search-form/index.vue.d.ts +3 -4
  19. package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  20. package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
  21. package/es/src/ap-grid/index.vue.d.ts +2 -4
  22. package/es/src/ap-grid/utils/table.mjs +2 -2
  23. package/es/src/ap-list/index.vue.d.ts +2 -4
  24. package/es/src/ap-modal/interface.d.ts +4 -0
  25. package/es/src/ap-modal/style/index.d.ts +3 -0
  26. package/es/src/ap-modal/style/index.mjs +20 -0
  27. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  28. package/es/src/ap-modal/utils/createModal.mjs +58 -56
  29. package/es/src/ap-table/ap-table.vue.d.ts +2 -4
  30. package/es/src/ap-table/constants.d.ts +10 -10
  31. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  32. package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs +24 -22
  33. package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs +26 -24
  34. package/es/src/business/ag-grid-modal/interface.d.ts +2 -1
  35. package/es/src/business/ag-grid-modal/wrapper/index.vue.d.ts +3 -1
  36. package/es/src/business/ag-grid-modal/wrapper/index.vue2.mjs +16 -15
  37. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  38. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  39. package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
  40. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  41. package/es/src/business/ap-expand-alert/index.d.ts +4 -6
  42. package/es/src/business/ap-select-layout/index.d.ts +2 -4
  43. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  44. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +2 -2
  45. package/es/src/business/ap-table-modal/index.d.ts +17 -5
  46. package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  47. package/es/src/business/ap-upload/components/Picture.vue.d.ts +2 -7
  48. package/es/src/business/ap-value-select-card/index.vue.d.ts +2 -4
  49. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
  50. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
  51. package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
  52. package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
  53. package/es/src/design-token/interface.d.ts +2 -0
  54. package/es/src/editable-table/form-item.vue.d.ts +2 -4
  55. package/es/src/editable-table/index.vue.d.ts +2 -4
  56. package/es/src/index.d.ts +1 -0
  57. package/es/src/index.mjs +280 -278
  58. package/es/src/loading-bar/global.d.ts +13 -0
  59. package/es/src/loading-bar/global.mjs +35 -0
  60. package/es/src/loading-bar/index.d.ts +9 -0
  61. package/es/src/loading-bar/index.mjs +9 -0
  62. package/es/src/loading-bar/index.vue.d.ts +14 -0
  63. package/es/src/loading-bar/index.vue.mjs +4 -0
  64. package/es/src/loading-bar/index.vue2.mjs +112 -0
  65. package/es/src/loading-bar/interface.d.ts +48 -0
  66. package/es/src/loading-bar/interface.mjs +1 -0
  67. package/es/src/loading-bar/style/index.d.ts +12 -0
  68. package/es/src/loading-bar/style/index.mjs +85 -0
  69. package/es/src/scroll-view/index.vue.d.ts +5 -5
  70. package/es/src/tests/wrapper.d.ts +4 -4
  71. package/es/src/utils/cssinjs/TokenUtil.mjs +1 -1
  72. package/es/src/version.d.ts +1 -1
  73. package/es/src/version.mjs +1 -1
  74. package/lib/index.js +1 -1
  75. package/lib/src/ag-grid/editable/form-item.vue.d.ts +2 -4
  76. package/lib/src/ag-grid/editable/index.vue.d.ts +2 -4
  77. package/lib/src/ag-grid/index.vue.d.ts +2 -4
  78. package/lib/src/ap-field/date/index.vue.js +1 -1
  79. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  80. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  81. package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
  82. package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  83. package/lib/src/ap-form/item/index.vue.js +1 -1
  84. package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
  85. package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
  86. package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
  87. package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
  88. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
  89. package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
  90. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
  91. package/lib/src/ap-form/search-form/index.vue.d.ts +3 -4
  92. package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  93. package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
  94. package/lib/src/ap-grid/index.vue.d.ts +2 -4
  95. package/lib/src/ap-grid/utils/table.js +1 -1
  96. package/lib/src/ap-list/index.vue.d.ts +2 -4
  97. package/lib/src/ap-modal/interface.d.ts +4 -0
  98. package/lib/src/ap-modal/style/index.d.ts +3 -0
  99. package/lib/src/ap-modal/style/index.js +1 -0
  100. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  101. package/lib/src/ap-modal/utils/createModal.js +1 -1
  102. package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
  103. package/lib/src/ap-table/constants.d.ts +10 -10
  104. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  105. package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.js +1 -1
  106. package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.js +1 -1
  107. package/lib/src/business/ag-grid-modal/interface.d.ts +2 -1
  108. package/lib/src/business/ag-grid-modal/wrapper/index.vue.d.ts +3 -1
  109. package/lib/src/business/ag-grid-modal/wrapper/index.vue2.js +1 -1
  110. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  111. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  112. package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
  113. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  114. package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
  115. package/lib/src/business/ap-select-layout/index.d.ts +2 -4
  116. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  117. package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
  118. package/lib/src/business/ap-table-modal/index.d.ts +17 -5
  119. package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  120. package/lib/src/business/ap-upload/components/Picture.vue.d.ts +2 -7
  121. package/lib/src/business/ap-value-select-card/index.vue.d.ts +2 -4
  122. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
  123. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
  124. package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
  125. package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
  126. package/lib/src/design-token/interface.d.ts +2 -0
  127. package/lib/src/editable-table/form-item.vue.d.ts +2 -4
  128. package/lib/src/editable-table/index.vue.d.ts +2 -4
  129. package/lib/src/index.d.ts +1 -0
  130. package/lib/src/index.js +1 -1
  131. package/lib/src/loading-bar/global.d.ts +13 -0
  132. package/lib/src/loading-bar/global.js +1 -0
  133. package/lib/src/loading-bar/index.d.ts +9 -0
  134. package/lib/src/loading-bar/index.js +1 -0
  135. package/lib/src/loading-bar/index.vue.d.ts +14 -0
  136. package/lib/src/loading-bar/index.vue.js +1 -0
  137. package/lib/src/loading-bar/index.vue2.js +1 -0
  138. package/lib/src/loading-bar/interface.d.ts +48 -0
  139. package/lib/src/loading-bar/interface.js +1 -0
  140. package/lib/src/loading-bar/style/index.d.ts +12 -0
  141. package/lib/src/loading-bar/style/index.js +17 -0
  142. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  143. package/lib/src/tests/wrapper.d.ts +4 -4
  144. package/lib/src/utils/cssinjs/TokenUtil.js +1 -1
  145. package/lib/src/version.d.ts +1 -1
  146. package/lib/src/version.js +1 -1
  147. 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, ColorType } from '../scroll-bar';
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?: ColorType;
110
- trackColor?: ColorType;
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?: ColorType;
122
- trackColor?: ColorType;
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?: ("admin" | "aplus") | undefined;
4
- lang?: ("en" | "zh-cn") | undefined;
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?: ("admin" | "aplus") | undefined;
7
- lang?: ("en" | "zh-cn") | undefined;
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 console.log("cssVar",t),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;
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;
@@ -1,2 +1,2 @@
1
- declare const _default: "7.3.3";
1
+ declare const _default: "7.4.1";
2
2
  export default _default;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="7.3.3";exports.default=e;
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.3",
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/hooks": "1.0.7",
43
- "@aplus-frontend/utils": "1.0.61"
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.17",
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.17",
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",