@alauda/ui 7.3.3-beta.11 → 7.3.3-beta.12
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/esm2022/resizable/resizable.directive.mjs +46 -69
- package/esm2022/table/table.component.mjs +3 -3
- package/fesm2022/alauda-ui.mjs +47 -70
- package/fesm2022/alauda-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/resizable/resizable.directive.d.ts +1 -7
- package/resizable/resizable.scss +7 -1
package/package.json
CHANGED
|
@@ -16,19 +16,13 @@ export declare class ResizableDirective implements AfterViewInit, OnDestroy {
|
|
|
16
16
|
private readonly elementRef;
|
|
17
17
|
renderer2: Renderer2;
|
|
18
18
|
private readonly containerDirective;
|
|
19
|
+
private readonly BAR_WIDTH;
|
|
19
20
|
private readonly element;
|
|
20
21
|
containerElement: HTMLElement;
|
|
21
22
|
destroy$$: Subject<void>;
|
|
22
|
-
resizeHandle: HTMLElement;
|
|
23
|
-
resizeOverlay: HTMLElement;
|
|
24
|
-
resizeBar: HTMLElement;
|
|
25
|
-
private handleHasUp;
|
|
26
|
-
private readonly BAR_WIDTH;
|
|
27
23
|
ngAfterViewInit(): void;
|
|
28
24
|
ngOnDestroy(): void;
|
|
29
|
-
private binEvent;
|
|
30
25
|
private bindResizable;
|
|
31
|
-
private setResizeHandleVisible;
|
|
32
26
|
private createResizeHandle;
|
|
33
27
|
private createResizeOverlay;
|
|
34
28
|
private createResizeBar;
|
package/resizable/resizable.scss
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
@import '../theme/var';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[auiresizable],
|
|
4
4
|
.aui-container-for-resizable {
|
|
5
5
|
position: relative;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
[auiresizable]:hover {
|
|
9
|
+
.resize-handle {
|
|
10
|
+
visibility: visible;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
8
14
|
.resize-handle {
|
|
9
15
|
display: inline-block;
|
|
10
16
|
position: absolute;
|