@aplus-frontend/ui 0.4.9 → 0.4.11

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 (113) hide show
  1. package/es/index.mjs +42 -36
  2. package/es/src/ap-field/date/index.vue.mjs +98 -65
  3. package/es/src/ap-field/date-range/index.vue.mjs +98 -70
  4. package/es/src/ap-field/hooks/use-date-timezone.d.ts +7 -0
  5. package/es/src/ap-field/hooks/use-date-timezone.mjs +10 -0
  6. package/es/src/ap-field/hooks/use-default-presets.d.ts +3 -2
  7. package/es/src/ap-field/hooks/use-default-presets.mjs +8 -8
  8. package/es/src/ap-field/interface.d.ts +8 -2
  9. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +6 -2
  10. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +118 -95
  11. package/es/src/business/ap-ladder/index.d.ts +3 -1
  12. package/es/src/full-screen/index.d.ts +3 -0
  13. package/es/src/full-screen/index.mjs +2 -0
  14. package/es/src/full-screen/index.vue.d.ts +43 -0
  15. package/es/src/full-screen/index.vue.mjs +84 -0
  16. package/es/src/full-screen/index.vue2.mjs +4 -0
  17. package/es/src/full-screen/interface.d.ts +50 -0
  18. package/es/src/full-screen/interface.mjs +1 -0
  19. package/es/src/full-screen/style/css.d.ts +0 -0
  20. package/es/src/full-screen/style/css.js +1 -0
  21. package/es/src/full-screen/style/index.d.ts +0 -0
  22. package/es/src/full-screen/style/index.js +1 -0
  23. package/es/src/hooks/index.d.ts +1 -0
  24. package/es/src/hooks/index.mjs +6 -4
  25. package/es/src/hooks/useFullScreen.d.ts +8 -0
  26. package/es/src/hooks/useFullScreen.mjs +50 -0
  27. package/es/src/index.d.ts +2 -0
  28. package/es/src/index.mjs +243 -237
  29. package/es/src/path-map.mjs +3 -1
  30. package/es/src/portal/index.d.ts +3 -0
  31. package/es/src/portal/index.mjs +2 -0
  32. package/es/src/portal/index.vue.d.ts +18 -0
  33. package/es/src/portal/index.vue.mjs +21 -0
  34. package/es/src/portal/index.vue2.mjs +4 -0
  35. package/es/src/portal/interface.d.ts +2 -0
  36. package/es/src/portal/interface.mjs +1 -0
  37. package/es/src/portal/style/css.d.ts +1 -0
  38. package/es/src/portal/style/css.js +1 -0
  39. package/es/src/portal/style/index.d.ts +1 -0
  40. package/es/src/portal/style/index.js +1 -0
  41. package/es/src/scroll-view/hooks/use-scroll-back.d.ts +26 -0
  42. package/es/src/scroll-view/hooks/use-scroll-back.mjs +37 -0
  43. package/es/src/scroll-view/hooks/use-scroll-smooth.d.ts +26 -0
  44. package/es/src/scroll-view/hooks/use-scroll-smooth.mjs +50 -0
  45. package/es/src/scroll-view/index.vue.d.ts +12 -3
  46. package/es/src/scroll-view/index.vue.mjs +172 -120
  47. package/es/src/scroll-view/interface.d.ts +40 -0
  48. package/es/src/scroll-view/utils/index.d.ts +11 -0
  49. package/es/src/scroll-view/utils/index.mjs +18 -0
  50. package/lib/index.js +1 -1
  51. package/lib/src/ap-field/date/index.vue.js +1 -1
  52. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  53. package/lib/src/ap-field/hooks/use-date-timezone.d.ts +7 -0
  54. package/lib/src/ap-field/hooks/use-date-timezone.js +1 -0
  55. package/lib/src/ap-field/hooks/use-default-presets.d.ts +3 -2
  56. package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
  57. package/lib/src/ap-field/interface.d.ts +8 -2
  58. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +6 -2
  59. package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
  60. package/lib/src/business/ap-ladder/index.d.ts +3 -1
  61. package/lib/src/full-screen/index.d.ts +3 -0
  62. package/lib/src/full-screen/index.js +1 -0
  63. package/lib/src/full-screen/index.vue.d.ts +43 -0
  64. package/lib/src/full-screen/index.vue.js +1 -0
  65. package/lib/src/full-screen/index.vue2.js +1 -0
  66. package/lib/src/full-screen/interface.d.ts +50 -0
  67. package/lib/src/full-screen/interface.js +1 -0
  68. package/lib/src/full-screen/style/css.cjs +1 -0
  69. package/lib/src/full-screen/style/css.d.ts +0 -0
  70. package/lib/src/full-screen/style/index.cjs +1 -0
  71. package/lib/src/full-screen/style/index.d.ts +0 -0
  72. package/lib/src/hooks/index.d.ts +1 -0
  73. package/lib/src/hooks/index.js +1 -1
  74. package/lib/src/hooks/useFullScreen.d.ts +8 -0
  75. package/lib/src/hooks/useFullScreen.js +1 -0
  76. package/lib/src/index.d.ts +2 -0
  77. package/lib/src/index.js +1 -1
  78. package/lib/src/path-map.js +1 -1
  79. package/lib/src/portal/index.d.ts +3 -0
  80. package/lib/src/portal/index.js +1 -0
  81. package/lib/src/portal/index.vue.d.ts +18 -0
  82. package/lib/src/portal/index.vue.js +1 -0
  83. package/lib/src/portal/index.vue2.js +1 -0
  84. package/lib/src/portal/interface.d.ts +2 -0
  85. package/lib/src/portal/interface.js +1 -0
  86. package/lib/src/portal/style/css.cjs +1 -0
  87. package/lib/src/portal/style/css.d.ts +1 -0
  88. package/lib/src/portal/style/index.cjs +1 -0
  89. package/lib/src/portal/style/index.d.ts +1 -0
  90. package/lib/src/scroll-view/hooks/use-scroll-back.d.ts +26 -0
  91. package/lib/src/scroll-view/hooks/use-scroll-back.js +1 -0
  92. package/lib/src/scroll-view/hooks/use-scroll-smooth.d.ts +26 -0
  93. package/lib/src/scroll-view/hooks/use-scroll-smooth.js +1 -0
  94. package/lib/src/scroll-view/index.vue.d.ts +12 -3
  95. package/lib/src/scroll-view/index.vue.js +1 -1
  96. package/lib/src/scroll-view/interface.d.ts +40 -0
  97. package/lib/src/scroll-view/utils/index.d.ts +11 -0
  98. package/lib/src/scroll-view/utils/index.js +1 -0
  99. package/package.json +3 -3
  100. package/theme/ap-form/ap-form-item.css +4 -0
  101. package/theme/ap-form/ap-form-item.less +7 -0
  102. package/theme/ap-form/index.css +18 -0
  103. package/theme/ap-form/item-text-group.css +14 -0
  104. package/theme/ap-form/item-text-group.less +11 -1
  105. package/theme/ap-form/item-text.css +14 -0
  106. package/theme/ap-form/search-form.css +4 -0
  107. package/theme/ap-table/ap-table.css +18 -0
  108. package/theme/ap-table-modal/index.css +18 -0
  109. package/theme/editable-table/index.css +18 -0
  110. package/theme/full-screen/index.css +6 -0
  111. package/theme/full-screen/index.less +12 -0
  112. package/theme/index.css +24 -0
  113. package/theme/index.less +1 -0
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=e.defineComponent({name:"Portal",__name:"index",props:{to:{},disabled:{type:Boolean},defer:{type:Boolean}},setup(t){const r=t;return(o,l)=>(e.openBlock(),e.createBlock(e.Teleport,e.mergeProps(r,{to:o.to||"body"}),[e.renderSlot(o.$slots,"default")],16,["to"]))}});exports.default=n;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1,2 @@
1
+ import { TeleportProps } from 'vue';
2
+ export type PortalProps = Partial<TeleportProps>;
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,26 @@
1
+ import { ScrollBarDirection } from '../../scroll-bar';
2
+ import { Ref } from 'vue';
3
+ type ScrollBackOptions = {
4
+ scrollOffset: {
5
+ x: number;
6
+ y: number;
7
+ };
8
+ maxScrollDistance: {
9
+ x: number;
10
+ y: number;
11
+ };
12
+ timer?: number;
13
+ onScroll?: (direction: ScrollBarDirection) => void;
14
+ onScrollEnd?: (direction: ScrollBarDirection) => void;
15
+ };
16
+ /**
17
+ * 在特定的时间内滚动到0
18
+ * @param options
19
+ * @returns
20
+ */
21
+ declare const useScrollBack: ({ scrollOffset, maxScrollDistance, timer, onScroll, onScrollEnd }: ScrollBackOptions) => {
22
+ start: (direction: ScrollBarDirection) => void;
23
+ stop: () => void;
24
+ isActive: Readonly< Ref<boolean, boolean>>;
25
+ };
26
+ export { useScrollBack };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../scroll-bar/index.js");const y=require("@vueuse/core"),u=require("../../scroll-bar/utils/index.js"),l={horizontal:"x",vertical:"y"},d=()=>{},D=e=>1-Math.pow(1-e,3),M=({scrollOffset:e,maxScrollDistance:p,timer:m=500,onScroll:a=d,onScrollEnd:g=d})=>{let o,t,r;const{pause:c,resume:T,isActive:b}=y.useRafFn(()=>{const n=Date.now(),s=l[t],v=n-o,i=u.ensureRangeValue(v/m,0,1),w=D(i);i===1?(e[s]=0,c(),a(t),g(t)):(e[s]=u.ensureRangeValue(r*(1-w),0,p[s]),a(t))},{immediate:!1});function h(n){t=n,o=Date.now(),r=e[l[n]],T()}function q(){c()}return{start:h,stop:q,isActive:b}};exports.useScrollBack=M;
@@ -0,0 +1,26 @@
1
+ import { ScrollOffsetType } from '../interface';
2
+ import { Ref } from 'vue';
3
+ type ScrollBackOptions = {
4
+ scrollOffset: {
5
+ x: number;
6
+ y: number;
7
+ };
8
+ maxScrollDistance: {
9
+ x: number;
10
+ y: number;
11
+ };
12
+ timer?: number;
13
+ onScroll?: (x: boolean, y: boolean) => void;
14
+ onScrollEnd?: (x: boolean, y: boolean) => void;
15
+ };
16
+ /**
17
+ * 在特定的时间内滚动到0
18
+ * @param options
19
+ * @returns
20
+ */
21
+ declare const useScrollSmooth: ({ scrollOffset, maxScrollDistance, timer, onScroll, onScrollEnd }: ScrollBackOptions) => {
22
+ start: (target: Partial<ScrollOffsetType>) => void;
23
+ stop: () => void;
24
+ isActive: Readonly< Ref<boolean, boolean>>;
25
+ };
26
+ export { useScrollSmooth };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../scroll-bar/index.js");const b=require("@vueuse/core"),m=require("../../utils/index.js"),i=require("../../scroll-bar/utils/index.js"),f=()=>{},h=t=>1-Math.pow(1-t,3),v=({scrollOffset:t,maxScrollDistance:y,timer:p=500,onScroll:x=f,onScrollEnd:d=f})=>{let c,e,n,u,s;const{pause:r,resume:R,isActive:l}=b.useRafFn(()=>{const q=Date.now()-c,g=i.ensureRangeValue(q/p,0,1),o=h(g);g===1?(u&&(t.x=n.x),s&&(t.y=n.y),r(),x(u,s),d(u,s)):(u&&(n.x>e.x?t.x=i.ensureRangeValue(e.x+(n.x-e.x)*o,e.x,y.x):t.x=i.ensureRangeValue(n.x+(e.x-n.x)*(1-o),0,e.x)),s&&(n.y>e.y?t.y=i.ensureRangeValue(e.y+(n.y-e.y)*o,e.y,y.y):t.y=i.ensureRangeValue(n.y+(e.y-n.y)*(1-o),0,e.y)),x(u,s))},{immediate:!1});function T(a){l.value&&r(),c=Date.now(),e={x:t.x,y:t.y},n=a,u=m.isDef(a.x),s=m.isDef(a.y),R()}function V(){r()}return{start:T,stop:V,isActive:l}};exports.useScrollSmooth=v;
@@ -1,6 +1,9 @@
1
- import { ScrollViewProps } from './interface';
1
+ import { ScrollOptions, ScrollViewProps } from './interface';
2
2
  import { ScrollBarDirection, InternalScrollBarProps } from '../scroll-bar';
3
- import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
3
+ import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ComputedRef } from 'vue';
4
+ declare function scroll(x?: number, y?: number): void;
5
+ declare function scrollTo({ smooth, left, top }: ScrollOptions): void;
6
+ declare function scrollIntoView(element: HTMLElement, position?: 'start' | 'center' | 'end'): void;
4
7
  declare function __VLS_template(): {
5
8
  attrs: Partial<{}>;
6
9
  slots: {
@@ -89,7 +92,13 @@ declare function __VLS_template(): {
89
92
  rootEl: HTMLDivElement;
90
93
  };
91
94
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
92
- declare const __VLS_component: DefineComponent<ScrollViewProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ScrollViewProps> & Readonly<{}>, {
95
+ declare const __VLS_component: DefineComponent<ScrollViewProps, {
96
+ scrollTop: ComputedRef<number>;
97
+ scrollLeft: ComputedRef<number>;
98
+ scroll: typeof scroll;
99
+ scrollTo: typeof scrollTo;
100
+ scrollIntoView: typeof scrollIntoView;
101
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ScrollViewProps> & Readonly<{}>, {
93
102
  showXBar: boolean;
94
103
  showYBar: boolean;
95
104
  xBarProps: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../config-provider/index.js");require("../scroll-bar/index.js");const z=require("../utils/index.js"),l=require("../scroll-bar/utils/index.js"),H=require("./hooks/use-scroll-wrapper.js"),R=require("lodash-unified"),y=require("@vueuse/core"),T=require("@aplus-frontend/utils"),U=require("../config-provider/hooks/use-namespace.js"),k=require("../scroll-bar/internal.vue.js"),G=e.defineComponent({name:"ScrollView",__name:"index",props:{width:{},heigth:{},showXBar:{type:Boolean,default:!0},showYBar:{type:Boolean,default:!0},autoPlay:{type:[Boolean,Object]},xBarProps:{default:()=>({})},yBarProps:{default:()=>({})},onWheel:{}},setup(V){const t=V,N={direction:"vertical",rate:1,repeat:!0},{b:_,e:h,em:v}=U.useNamespace("scroll-view"),c=e.ref(),o=e.reactive({x:30,y:30}),{scrollOffset:n,maxScrollDistance:i,xBarRef:q,yBarRef:W,containerRef:s,scrollYBar:g,scrollXBar:m,updateMaxScrollDistance:C}=H.default(),{width:$,height:E}=y.useElementSize(c),{width:M,height:D}=y.useElementSize(s),{resume:X,pause:f,isActive:Y}=y.useRafFn(()=>{if(!t.autoPlay){f();return}const a=t.autoPlay===!0?{}:t.autoPlay,r={...N,...a};if(r.direction==="horizontal"){if(n.x===i.x){r.repeat?n.x=0:f();return}n.x=l.ensureRangeValue(n.x+r.rate,0,i.x),m()}else{if(n.y===i.y){r.repeat?n.y=0:f();return}n.y=l.ensureRangeValue(n.y+r.rate,0,i.y),g()}},{immediate:!0}),d=e.computed(()=>t.showXBar&&o.x!==100),x=e.computed(()=>t.showYBar&&o.y!==100),A=e.computed(()=>({width:z.isDef(t.width)?R.isString(t.width)?t.width:Number.isNaN(t.width)?void 0:`${t.width}px`:void 0,height:z.isDef(t.heigth)?R.isString(t.heigth)?t.heigth:Number.isNaN(t.heigth)?void 0:`${t.heigth}px`:void 0,padding:`${t.xBarProps.trackWidth||10}px ${t.yBarProps.trackWidth||10}px`}));async function p(){Y.value&&(f(),await T.wait(500),X())}async function O(a){var r;if(e.unref(x))a.preventDefault(),a.stopPropagation();else return;n.y=l.ensureRangeValue(n.y+a.deltaY,0,i.y),g(),(r=t.onWheel)==null||r.call(t,"vertical",n.y),p()}function j(a){var r;if(e.unref(d))a.preventDefault(),a.stopPropagation();else return;n.x=l.ensureRangeValue(n.x+a.deltaX,0,i.x),m(),(r=t.onWheel)==null||r.call(t,"horizontal",n.x),p()}function B(){if(t.showYBar){const{visibleSize:a,totalSize:r}=l.getScrollable(s.value,"vertical");o.y=l.ensureRangeValue(Math.min(a/(r||1)*100))}if(t.showXBar){const{visibleSize:a,totalSize:r}=l.getScrollable(s.value,"horizontal");o.x=l.ensureRangeValue(Math.min(a/(r||1)*100))}}function w(a,r){const u=e.unref(s),L=e.unref(c);if(!u||!L)return;const{visibleSize:S,totalSize:b}=l.getScrollable(u,r);if(b<=S)return;const P=(b-S)*a/100,F=r==="vertical";if(p(),F){n.y=P;return}n.x=P}return e.watchEffect(()=>{e.unref(s.value)&&B()},{flush:"post"}),e.watch(()=>[$.value,E.value,M.value,D.value],()=>{B(),C()}),e.watchEffect(()=>{c.value&&(c.value.style.transform=`translate3d(-${n.x}px, -${n.y}px, 0px)`)}),(a,r)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:s,class:e.normalizeClass(e.unref(_)()),style:e.normalizeStyle(A.value),onWheel:[e.withModifiers(O,["exact"]),e.withModifiers(j,["shift"])]},[e.createElementVNode("div",{ref_key:"contentRef",ref:c,class:e.normalizeClass(e.unref(h)("content"))},[e.renderSlot(a.$slots,"default")],2),e.createElementVNode("div",{class:e.normalizeClass([e.unref(h)("bar-wrapper"),e.unref(v)("bar-wrapper","vertical")]),style:e.normalizeStyle(`height: calc(100% - ${d.value?a.xBarProps.trackWidth||10:0}px)`)},[x.value?(e.openBlock(),e.createBlock(e.unref(k.default),e.mergeProps({key:0,ref_key:"yBarRef",ref:W},a.yBarProps,{"bar-length":o.y,onScroll:r[0]||(r[0]=u=>w(u,"vertical"))}),null,16,["bar-length"])):e.createCommentVNode("",!0)],6),e.createElementVNode("div",{class:e.normalizeClass([e.unref(h)("bar-wrapper"),e.unref(v)("bar-wrapper","horizontal")])},[d.value?(e.openBlock(),e.createBlock(e.unref(k.default),e.mergeProps({key:0,ref_key:"xBarRef",ref:q},a.xBarProps,{direction:"horizontal","bar-length":o.x,onScroll:r[1]||(r[1]=u=>w(u,"horizontal"))}),null,16,["bar-length"])):e.createCommentVNode("",!0)],2)],38))}});exports.default=G;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../config-provider/index.js");require("../scroll-bar/index.js");const c=require("../utils/index.js"),o=require("../scroll-bar/utils/index.js"),Z=require("./hooks/use-scroll-wrapper.js"),W=require("lodash-unified"),w=require("@vueuse/core"),b=require("@aplus-frontend/utils"),ee=require("./hooks/use-scroll-back.js"),te=require("./hooks/use-scroll-smooth.js"),re=require("./utils/index.js"),ae=require("../config-provider/hooks/use-namespace.js"),D=require("../scroll-bar/internal.vue.js"),ne=e.defineComponent({name:"ScrollView",__name:"index",props:{width:{},heigth:{},showXBar:{type:Boolean,default:!0},showYBar:{type:Boolean,default:!0},autoPlay:{type:[Boolean,Object]},xBarProps:{default:()=>({})},yBarProps:{default:()=>({})},onWheel:{}},setup($,{expose:C}){const n=$,M={direction:"vertical",rate:1,repeat:!0},{b:X,e:g,em:z}=ae.useNamespace("scroll-view"),f=e.ref(),u=e.reactive({x:30,y:30});let m=!1;const{scrollOffset:a,maxScrollDistance:i,xBarRef:Y,yBarRef:O,containerRef:s,scrollYBar:h,scrollXBar:d,updateMaxScrollDistance:A}=Z.default(),{width:L,height:T}=w.useElementSize(f),{width:j,height:F}=w.useElementSize(s),{start:P}=ee.useScrollBack({scrollOffset:a,maxScrollDistance:i,onScroll:r=>{r==="horizontal"?d():h()},async onScrollEnd(){await b.wait(200),S()}}),{start:R}=te.useScrollSmooth({scrollOffset:a,maxScrollDistance:i,onScroll(r,t){V.value&&(y(),m=!0),r&&d(),t&&h()},async onScrollEnd(){m&&(await b.wait(200),S(),m=!1)}}),{resume:S,pause:y,isActive:V}=w.useRafFn(()=>{if(!n.autoPlay){y();return}const r=n.autoPlay===!0?{}:n.autoPlay,t={...M,...r};if(t.direction==="horizontal"){if(a.x===i.x){y(),t.repeat&&P("horizontal");return}a.x=o.ensureRangeValue(a.x+t.rate,0,i.x),d()}else{if(a.y===i.y){y(),t.repeat&&P("vertical");return}a.y=o.ensureRangeValue(a.y+t.rate,0,i.y),h()}},{immediate:!0}),p=e.computed(()=>n.showXBar&&u.x!==100),x=e.computed(()=>n.showYBar&&u.y!==100),H=e.computed(()=>({width:c.isDef(n.width)?W.isString(n.width)?n.width:Number.isNaN(n.width)?void 0:`${n.width}px`:void 0,height:c.isDef(n.heigth)?W.isString(n.heigth)?n.heigth:Number.isNaN(n.heigth)?void 0:`${n.heigth}px`:void 0,padding:`${n.xBarProps.trackWidth||10}px ${n.yBarProps.trackWidth||10}px`}));async function B(){V.value&&(y(),await b.wait(500),S())}async function I(r){var t;if(e.unref(x))r.preventDefault(),r.stopPropagation();else return;a.y=o.ensureRangeValue(a.y+r.deltaY,0,i.y),h(),(t=n.onWheel)==null||t.call(n,"vertical",a.y),B()}function U(r){var t;if(e.unref(p))r.preventDefault(),r.stopPropagation();else return;a.x=o.ensureRangeValue(a.x+r.deltaX,0,i.x),d(),(t=n.onWheel)==null||t.call(n,"horizontal",a.x),B()}function k(){if(n.showYBar){const{visibleSize:r,totalSize:t}=o.getScrollable(s.value,"vertical");u.y=o.ensureRangeValue(Math.min(r/(t||1)*100))}if(n.showXBar){const{visibleSize:r,totalSize:t}=o.getScrollable(s.value,"horizontal");u.x=o.ensureRangeValue(Math.min(r/(t||1)*100))}}function q(r,t){const l=e.unref(s),v=e.unref(f);if(!l||!v)return;const{visibleSize:N,totalSize:_}=o.getScrollable(l,t);if(_<=N)return;const E=(_-N)*r/100,Q=t==="vertical";if(B(),Q){a.y=E;return}a.x=E}e.watchEffect(()=>{e.unref(s.value)&&k()},{flush:"post"}),e.watch(()=>[L.value,T.value,j.value,F.value],()=>{k(),A()}),e.watchEffect(()=>{f.value&&(f.value.style.transform=`translate3d(-${a.x}px, -${a.y}px, 0px)`)});function G(r,t){c.isDef(r)&&p.value&&(a.x=o.ensureRangeValue(r,0,i.x),d()),c.isDef(t)&&x.value&&(a.y=o.ensureRangeValue(t,0,i.y),h())}function J({smooth:r,left:t,top:l}){r?R({x:t,y:l}):(c.isDef(t)&&(a.x=t),c.isDef(l)&&(a.y=l))}function K(r,t="start"){const l=re.getElementScrollOffset(s.value,r,t),v={};p.value&&(v.x=o.ensureRangeValue(a.x+l.x,0,i.x)),x.value&&(v.y=o.ensureRangeValue(a.y+l.y,0,i.y)),R(v)}return C({scrollTop:e.computed(()=>a.y),scrollLeft:e.computed(()=>a.x),scroll:G,scrollTo:J,scrollIntoView:K}),(r,t)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:s,class:e.normalizeClass(e.unref(X)()),style:e.normalizeStyle(H.value),onWheel:[e.withModifiers(I,["exact"]),e.withModifiers(U,["shift"])]},[e.createElementVNode("div",{ref_key:"contentRef",ref:f,class:e.normalizeClass(e.unref(g)("content"))},[e.renderSlot(r.$slots,"default")],2),e.createElementVNode("div",{class:e.normalizeClass([e.unref(g)("bar-wrapper"),e.unref(z)("bar-wrapper","vertical")]),style:e.normalizeStyle(`height: calc(100% - ${p.value?r.xBarProps.trackWidth||10:0}px)`)},[x.value?(e.openBlock(),e.createBlock(e.unref(D.default),e.mergeProps({key:0,ref_key:"yBarRef",ref:O},r.yBarProps,{"bar-length":u.y,onScroll:t[0]||(t[0]=l=>q(l,"vertical"))}),null,16,["bar-length"])):e.createCommentVNode("",!0)],6),e.createElementVNode("div",{class:e.normalizeClass([e.unref(g)("bar-wrapper"),e.unref(z)("bar-wrapper","horizontal")])},[p.value?(e.openBlock(),e.createBlock(e.unref(D.default),e.mergeProps({key:0,ref_key:"xBarRef",ref:Y},r.xBarProps,{direction:"horizontal","bar-length":u.x,onScroll:t[1]||(t[1]=l=>q(l,"horizontal"))}),null,16,["bar-length"])):e.createCommentVNode("",!0)],2)],38))}});exports.default=ne;
@@ -1,5 +1,10 @@
1
1
  import { InternalScrollBarProps, ScrollBarDirection } from '../scroll-bar';
2
+ import { Ref } from 'vue';
2
3
  type BarExtraProps = Omit<InternalScrollBarProps, 'direction' | 'scroll' | 'barLength'>;
4
+ export type ScrollOffsetType = {
5
+ x: number;
6
+ y: number;
7
+ };
3
8
  export type AutoPlayConfig = {
4
9
  /**
5
10
  * 自动滚动的方向
@@ -49,4 +54,39 @@ export interface ScrollViewProps {
49
54
  */
50
55
  onWheel?: (direction: ScrollBarDirection, offset: number) => void;
51
56
  }
57
+ export type ScrollOptions = {
58
+ top?: number;
59
+ left?: number;
60
+ smooth?: boolean;
61
+ };
62
+ export type ScrollViewExpose = {
63
+ /**
64
+ * 当前滚动距离顶部的位置
65
+ */
66
+ scrollTop: Ref<number>;
67
+ /**
68
+ * 当前滚动距离左侧的位置
69
+ */
70
+ scrollLeft: Ref<number>;
71
+ /**
72
+ * 滚动到指定位置
73
+ * @param x
74
+ * @param y
75
+ * @returns
76
+ */
77
+ scroll: (x?: number, y?: number) => void;
78
+ /**
79
+ * 滚动到指定位置(支持指定平滑滚动)
80
+ * @param options
81
+ * @returns
82
+ */
83
+ scrollTo: (options: ScrollOptions) => void;
84
+ /**
85
+ * 将子元素滚动到可视区域
86
+ * @param element
87
+ * @param position
88
+ * @returns
89
+ */
90
+ scrollIntoView: (element: Element, position?: 'start' | 'center' | 'end') => void;
91
+ };
52
92
  export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 获取某个元素相对滚动容器可见应该滚动的偏移量(绝对值)
3
+ * @param container
4
+ * @param element
5
+ * @param position
6
+ * @returns
7
+ */
8
+ export declare function getElementScrollOffset(container: HTMLElement, element: HTMLElement, position: 'start' | 'center' | 'end'): {
9
+ x: number;
10
+ y: number;
11
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function g(o,c,t){const e=o.getBoundingClientRect(),n=c.getBoundingClientRect(),s=t==="x"?"left":"top",f=t==="x"?"right":"bottom",l=t==="x"?"width":"height";return{start:n[s]-e[s],end:n[f]-e[f],center:n[f]-e[f]+(e[l]-n[l])/2}}function r(o,c,t){const e=g(o,c,"x"),n=g(o,c,"y");return{x:e[t],y:n[t]}}exports.getElementScrollOffset=r;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aplus-frontend/ui",
3
- "version": "0.4.9",
3
+ "version": "0.4.11",
4
4
  "main": "./lib/index.js",
5
5
  "type": "module",
6
6
  "files": [
@@ -65,8 +65,8 @@
65
65
  "sortablejs": "^1.15.2",
66
66
  "vue-virtual-scroller": "2.0.0-beta.8",
67
67
  "vuedraggable": "^4.1.0",
68
- "@aplus-frontend/utils": "1.0.48",
69
- "@aplus-frontend/hooks": "1.0.7"
68
+ "@aplus-frontend/hooks": "1.0.7",
69
+ "@aplus-frontend/utils": "1.0.48"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "@aplus-frontend/antdv": "^1.0.11",
@@ -16,6 +16,10 @@
16
16
  .aplus-ap-form-item--bordered .ant-picker {
17
17
  padding: 0;
18
18
  }
19
+ .aplus-ap-form-item--bordered .ant-input-group .ant-select + .ant-picker {
20
+ padding-inline: 11px;
21
+ flex: 1;
22
+ }
19
23
  .aplus-ap-form-item--bordered .ant-space-compact-block .ant-input {
20
24
  padding-left: 11px;
21
25
  }
@@ -21,6 +21,13 @@
21
21
  .ant-picker {
22
22
  padding: 0;
23
23
  }
24
+ .ant-input-group {
25
+ // tip: 针对包含时区切换的日期选择器
26
+ .ant-select + .ant-picker {
27
+ padding-inline: 11px;
28
+ flex: 1;
29
+ }
30
+ }
24
31
  .ant-space-compact-block {
25
32
  .ant-input {
26
33
  padding-left: 11px;
@@ -25,6 +25,10 @@
25
25
  .aplus-ap-form-item--bordered .ant-picker {
26
26
  padding: 0;
27
27
  }
28
+ .aplus-ap-form-item--bordered .ant-input-group .ant-select + .ant-picker {
29
+ padding-inline: 11px;
30
+ flex: 1;
31
+ }
28
32
  .aplus-ap-form-item--bordered .ant-space-compact-block .ant-input {
29
33
  padding-left: 11px;
30
34
  }
@@ -141,15 +145,29 @@
141
145
  border-start-end-radius: 0;
142
146
  border-end-end-radius: 0;
143
147
  }
148
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-form-item-control-input-content > .ant-input-group > :last-child,
149
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-select-selector {
150
+ border-start-end-radius: 0;
151
+ border-end-end-radius: 0;
152
+ }
144
153
  .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > :first-child,
145
154
  .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
146
155
  border-start-start-radius: 0;
147
156
  border-end-start-radius: 0;
148
157
  }
158
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > .ant-input-group > :first-child,
159
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
160
+ border-start-start-radius: 0;
161
+ border-end-start-radius: 0;
162
+ }
149
163
  .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > :first-child,
150
164
  .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
151
165
  border-radius: 0;
152
166
  }
167
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > .ant-input-group > *,
168
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
169
+ border-radius: 0;
170
+ }
153
171
  .aplus-ap-form-item-text-group-compact .ant-input-group-addon:first-child {
154
172
  border-radius: 0;
155
173
  }
@@ -21,15 +21,29 @@
21
21
  border-start-end-radius: 0;
22
22
  border-end-end-radius: 0;
23
23
  }
24
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-form-item-control-input-content > .ant-input-group > :last-child,
25
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-select-selector {
26
+ border-start-end-radius: 0;
27
+ border-end-end-radius: 0;
28
+ }
24
29
  .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > :first-child,
25
30
  .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
26
31
  border-start-start-radius: 0;
27
32
  border-end-start-radius: 0;
28
33
  }
34
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > .ant-input-group > :first-child,
35
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
36
+ border-start-start-radius: 0;
37
+ border-end-start-radius: 0;
38
+ }
29
39
  .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > :first-child,
30
40
  .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
31
41
  border-radius: 0;
32
42
  }
43
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > .ant-input-group > *,
44
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
45
+ border-radius: 0;
46
+ }
33
47
  .aplus-ap-form-item-text-group-compact .ant-input-group-addon:first-child {
34
48
  border-radius: 0;
35
49
  }
@@ -31,18 +31,28 @@
31
31
  border-start-end-radius: 0;
32
32
  border-end-end-radius: 0;
33
33
  }
34
+ .ant-form-item-control-input-content > .ant-input-group > :last-child, .ant-select-selector {
35
+ border-start-end-radius: 0;
36
+ border-end-end-radius: 0;
37
+ }
34
38
  }
35
39
  .ant-form-item:last-child {
36
40
  .ant-form-item-control-input-content > :first-child, .ant-select-selector {
37
41
  border-start-start-radius: 0;
38
42
  border-end-start-radius: 0;
39
43
  }
40
-
44
+ .ant-form-item-control-input-content > .ant-input-group > :first-child, .ant-select-selector {
45
+ border-start-start-radius: 0;
46
+ border-end-start-radius: 0;
47
+ }
41
48
  }
42
49
  .ant-form-item:not(:first-child):not(:last-child) {
43
50
  .ant-form-item-control-input-content > :first-child, .ant-select-selector {
44
51
  border-radius: 0;
45
52
  }
53
+ .ant-form-item-control-input-content > .ant-input-group > *, .ant-select-selector {
54
+ border-radius: 0;
55
+ }
46
56
  }
47
57
  .ant-input-group-addon:first-child {
48
58
  border-radius: 0;
@@ -21,15 +21,29 @@
21
21
  border-start-end-radius: 0;
22
22
  border-end-end-radius: 0;
23
23
  }
24
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-form-item-control-input-content > .ant-input-group > :last-child,
25
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-select-selector {
26
+ border-start-end-radius: 0;
27
+ border-end-end-radius: 0;
28
+ }
24
29
  .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > :first-child,
25
30
  .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
26
31
  border-start-start-radius: 0;
27
32
  border-end-start-radius: 0;
28
33
  }
34
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > .ant-input-group > :first-child,
35
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
36
+ border-start-start-radius: 0;
37
+ border-end-start-radius: 0;
38
+ }
29
39
  .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > :first-child,
30
40
  .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
31
41
  border-radius: 0;
32
42
  }
43
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > .ant-input-group > *,
44
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
45
+ border-radius: 0;
46
+ }
33
47
  .aplus-ap-form-item-text-group-compact .ant-input-group-addon:first-child {
34
48
  border-radius: 0;
35
49
  }
@@ -16,6 +16,10 @@
16
16
  .aplus-ap-form-item--bordered .ant-picker {
17
17
  padding: 0;
18
18
  }
19
+ .aplus-ap-form-item--bordered .ant-input-group .ant-select + .ant-picker {
20
+ padding-inline: 11px;
21
+ flex: 1;
22
+ }
19
23
  .aplus-ap-form-item--bordered .ant-space-compact-block .ant-input {
20
24
  padding-left: 11px;
21
25
  }
@@ -211,6 +211,10 @@
211
211
  .aplus-ap-form-item--bordered .ant-picker {
212
212
  padding: 0;
213
213
  }
214
+ .aplus-ap-form-item--bordered .ant-input-group .ant-select + .ant-picker {
215
+ padding-inline: 11px;
216
+ flex: 1;
217
+ }
214
218
  .aplus-ap-form-item--bordered .ant-space-compact-block .ant-input {
215
219
  padding-left: 11px;
216
220
  }
@@ -327,15 +331,29 @@
327
331
  border-start-end-radius: 0;
328
332
  border-end-end-radius: 0;
329
333
  }
334
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-form-item-control-input-content > .ant-input-group > :last-child,
335
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-select-selector {
336
+ border-start-end-radius: 0;
337
+ border-end-end-radius: 0;
338
+ }
330
339
  .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > :first-child,
331
340
  .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
332
341
  border-start-start-radius: 0;
333
342
  border-end-start-radius: 0;
334
343
  }
344
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > .ant-input-group > :first-child,
345
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
346
+ border-start-start-radius: 0;
347
+ border-end-start-radius: 0;
348
+ }
335
349
  .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > :first-child,
336
350
  .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
337
351
  border-radius: 0;
338
352
  }
353
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > .ant-input-group > *,
354
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
355
+ border-radius: 0;
356
+ }
339
357
  .aplus-ap-form-item-text-group-compact .ant-input-group-addon:first-child {
340
358
  border-radius: 0;
341
359
  }
@@ -211,6 +211,10 @@
211
211
  .aplus-ap-form-item--bordered .ant-picker {
212
212
  padding: 0;
213
213
  }
214
+ .aplus-ap-form-item--bordered .ant-input-group .ant-select + .ant-picker {
215
+ padding-inline: 11px;
216
+ flex: 1;
217
+ }
214
218
  .aplus-ap-form-item--bordered .ant-space-compact-block .ant-input {
215
219
  padding-left: 11px;
216
220
  }
@@ -327,15 +331,29 @@
327
331
  border-start-end-radius: 0;
328
332
  border-end-end-radius: 0;
329
333
  }
334
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-form-item-control-input-content > .ant-input-group > :last-child,
335
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-select-selector {
336
+ border-start-end-radius: 0;
337
+ border-end-end-radius: 0;
338
+ }
330
339
  .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > :first-child,
331
340
  .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
332
341
  border-start-start-radius: 0;
333
342
  border-end-start-radius: 0;
334
343
  }
344
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > .ant-input-group > :first-child,
345
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
346
+ border-start-start-radius: 0;
347
+ border-end-start-radius: 0;
348
+ }
335
349
  .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > :first-child,
336
350
  .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
337
351
  border-radius: 0;
338
352
  }
353
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > .ant-input-group > *,
354
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
355
+ border-radius: 0;
356
+ }
339
357
  .aplus-ap-form-item-text-group-compact .ant-input-group-addon:first-child {
340
358
  border-radius: 0;
341
359
  }
@@ -25,6 +25,10 @@
25
25
  .aplus-ap-form-item--bordered .ant-picker {
26
26
  padding: 0;
27
27
  }
28
+ .aplus-ap-form-item--bordered .ant-input-group .ant-select + .ant-picker {
29
+ padding-inline: 11px;
30
+ flex: 1;
31
+ }
28
32
  .aplus-ap-form-item--bordered .ant-space-compact-block .ant-input {
29
33
  padding-left: 11px;
30
34
  }
@@ -141,15 +145,29 @@
141
145
  border-start-end-radius: 0;
142
146
  border-end-end-radius: 0;
143
147
  }
148
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-form-item-control-input-content > .ant-input-group > :last-child,
149
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-select-selector {
150
+ border-start-end-radius: 0;
151
+ border-end-end-radius: 0;
152
+ }
144
153
  .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > :first-child,
145
154
  .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
146
155
  border-start-start-radius: 0;
147
156
  border-end-start-radius: 0;
148
157
  }
158
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > .ant-input-group > :first-child,
159
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
160
+ border-start-start-radius: 0;
161
+ border-end-start-radius: 0;
162
+ }
149
163
  .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > :first-child,
150
164
  .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
151
165
  border-radius: 0;
152
166
  }
167
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > .ant-input-group > *,
168
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
169
+ border-radius: 0;
170
+ }
153
171
  .aplus-ap-form-item-text-group-compact .ant-input-group-addon:first-child {
154
172
  border-radius: 0;
155
173
  }
@@ -0,0 +1,6 @@
1
+ .aplus-full-screen-wrapper--full {
2
+ position: fixed;
3
+ top: 0;
4
+ width: 100vw;
5
+ height: 100vh;
6
+ }
@@ -0,0 +1,12 @@
1
+ @import '../mixins/mixins.less';
2
+
3
+ .b(full-screen, {
4
+ &-wrapper {
5
+ &--full {
6
+ position: fixed;
7
+ top: 0;
8
+ width: 100vw;
9
+ height: 100vh;
10
+ }
11
+ }
12
+ });
package/theme/index.css CHANGED
@@ -375,6 +375,10 @@
375
375
  .aplus-ap-form-item--bordered .ant-picker {
376
376
  padding: 0;
377
377
  }
378
+ .aplus-ap-form-item--bordered .ant-input-group .ant-select + .ant-picker {
379
+ padding-inline: 11px;
380
+ flex: 1;
381
+ }
378
382
  .aplus-ap-form-item--bordered .ant-space-compact-block .ant-input {
379
383
  padding-left: 11px;
380
384
  }
@@ -491,15 +495,29 @@
491
495
  border-start-end-radius: 0;
492
496
  border-end-end-radius: 0;
493
497
  }
498
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-form-item-control-input-content > .ant-input-group > :last-child,
499
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-select-selector {
500
+ border-start-end-radius: 0;
501
+ border-end-end-radius: 0;
502
+ }
494
503
  .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > :first-child,
495
504
  .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
496
505
  border-start-start-radius: 0;
497
506
  border-end-start-radius: 0;
498
507
  }
508
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > .ant-input-group > :first-child,
509
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
510
+ border-start-start-radius: 0;
511
+ border-end-start-radius: 0;
512
+ }
499
513
  .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > :first-child,
500
514
  .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
501
515
  border-radius: 0;
502
516
  }
517
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > .ant-input-group > *,
518
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
519
+ border-radius: 0;
520
+ }
503
521
  .aplus-ap-form-item-text-group-compact .ant-input-group-addon:first-child {
504
522
  border-radius: 0;
505
523
  }
@@ -2113,3 +2131,9 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
2113
2131
  right: 0;
2114
2132
  height: 100%;
2115
2133
  }
2134
+ .aplus-full-screen-wrapper--full {
2135
+ position: fixed;
2136
+ top: 0;
2137
+ width: 100vw;
2138
+ height: 100vh;
2139
+ }
package/theme/index.less CHANGED
@@ -35,3 +35,4 @@
35
35
  @import './ap-image/ap-image.less';
36
36
  @import './batch-input-group/index.less';
37
37
  @import './scroll-view/index.less';
38
+ @import './full-screen/index.less';