@alauda/ui 6.4.2-beta.3 → 6.4.2-beta.32

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 (34) hide show
  1. package/card/helper-directives.d.ts +2 -1
  2. package/dialog/confirm-dialog/confirm-dialog-config.d.ts +2 -1
  3. package/dialog/confirm-dialog/confirm-dialog.component.d.ts +2 -0
  4. package/esm2020/autocomplete/autocomplete.component.mjs +2 -2
  5. package/esm2020/card/card.component.mjs +2 -2
  6. package/esm2020/card/helper-directives.mjs +10 -4
  7. package/esm2020/card/section.component.mjs +2 -2
  8. package/esm2020/checkbox/checkbox.component.mjs +2 -2
  9. package/esm2020/dialog/confirm-dialog/confirm-dialog-config.mjs +1 -1
  10. package/esm2020/dialog/confirm-dialog/confirm-dialog.component.mjs +6 -4
  11. package/esm2020/dialog/dialog.component.mjs +2 -2
  12. package/esm2020/input/tags-input/tags-input.component.mjs +2 -2
  13. package/esm2020/notification/notification.component.mjs +3 -3
  14. package/esm2020/paginator/paginator.component.mjs +2 -2
  15. package/esm2020/select/multi-select/multi-select.component.mjs +2 -2
  16. package/esm2020/select/select.component.mjs +2 -2
  17. package/esm2020/table/table-cell.directive.mjs +8 -4
  18. package/esm2020/table/table-placeholder.directive.mjs +4 -12
  19. package/esm2020/table/table.component.mjs +8 -6
  20. package/esm2020/tag/check-tag/check-tag.component.mjs +2 -2
  21. package/esm2020/time-picker/panel/panel.component.mjs +2 -2
  22. package/esm2020/tree-select/tree-select.component.mjs +3 -3
  23. package/esm2020/utils/fn.mjs +2 -1
  24. package/esm2020/utils/operators.mjs +15 -12
  25. package/fesm2015/alauda-ui.mjs +69 -58
  26. package/fesm2015/alauda-ui.mjs.map +1 -1
  27. package/fesm2020/alauda-ui.mjs +69 -58
  28. package/fesm2020/alauda-ui.mjs.map +1 -1
  29. package/package.json +1 -1
  30. package/table/table-cell.directive.d.ts +2 -1
  31. package/table/table-placeholder.directive.d.ts +1 -5
  32. package/theme/_mixin.scss +4 -0
  33. package/utils/fn.d.ts +1 -0
  34. package/utils/operators.d.ts +7 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda/ui",
3
- "version": "6.4.2-beta.3",
3
+ "version": "6.4.2-beta.32",
4
4
  "description": "Angular UI components by Alauda Frontend Team.",
5
5
  "repository": "git+https://github.com/alauda/alauda-ui.git",
6
6
  "author": "Alauda Frontend",
@@ -3,7 +3,8 @@ import { ElementRef } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
4
  /** Cell template container that adds the right classes and role. */
5
5
  export declare class TableCellDirective extends CdkCell {
6
+ direction: 'row' | 'column';
6
7
  constructor(columnDef: CdkColumnDef, elementRef: ElementRef<HTMLElement>);
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<TableCellDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDirective, "aui-table-cell", never, {}, {}, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDirective, "aui-table-cell", never, { "direction": "direction"; }, {}, never>;
9
10
  }
@@ -1,15 +1,11 @@
1
1
  import { RowOutlet } from '@angular/cdk/table';
2
2
  import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
3
- import { BehaviorSubject } from 'rxjs';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class TablePlaceholderDefDirective {
6
5
  templateRef: TemplateRef<any>;
7
6
  constructor(templateRef: TemplateRef<any>);
8
- def$$: BehaviorSubject<boolean>;
9
- def$: import("rxjs").Observable<boolean>;
10
- set auiTablePlaceholderDef(show: boolean);
11
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TablePlaceholderDefDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<TablePlaceholderDefDirective, "ng-template[auiTablePlaceholderDef]", never, { "auiTablePlaceholderDef": "auiTablePlaceholderDef"; }, {}, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TablePlaceholderDefDirective, "ng-template[auiTablePlaceholderDef]", never, {}, {}, never>;
13
9
  }
14
10
  export declare class TablePlaceholderOutletDirective implements RowOutlet {
15
11
  viewContainer: ViewContainerRef;
package/theme/_mixin.scss CHANGED
@@ -125,6 +125,10 @@
125
125
  border-radius: 2px;
126
126
  background-color: $color;
127
127
  }
128
+
129
+ &::-webkit-scrollbar-corner {
130
+ background-color: transparent;
131
+ }
128
132
  }
129
133
 
130
134
  @mixin clear-button() {
package/utils/fn.d.ts CHANGED
@@ -2,4 +2,5 @@ import { TemplateRef } from '@angular/core';
2
2
  export declare function isUndefined(val: unknown): boolean;
3
3
  export declare const last: <T>(values: T[]) => T;
4
4
  export declare const isTemplateRef: (label: any) => label is TemplateRef<unknown>;
5
+ export declare const isString: (label: any) => label is string;
5
6
  export declare const handlePixel: (value: number | string) => string;
@@ -1,8 +1,7 @@
1
- /**
2
- * @see https://rxjs.dev/deprecations/multicasting#publishreplay
3
- *
4
- * FIXME:
5
- * The recommended replacement is breaking our apps for watching resources,
6
- * revert it back temporarily. see also https://github.com/ReactiveX/rxjs/discussions/6438
7
- */
8
- export declare const publishRef: <T>(bufferSize?: number, windowTime?: number) => import("rxjs").UnaryFunction<import("rxjs").Observable<T>, import("rxjs").Observable<T>>;
1
+ import { TimestampProvider } from 'rxjs';
2
+ export declare type PublishRefConfig<T> = number | (import('rxjs/internal/operators/share').ShareConfig<T> & {
3
+ bufferSize?: number;
4
+ windowTime?: number;
5
+ timestampProvider?: TimestampProvider;
6
+ });
7
+ export declare const publishRef: <T>(bufferSizeOrConfig?: PublishRefConfig<T>) => import("rxjs").MonoTypeOperatorFunction<T>;