@dev-tcloud/tcloud-ui 6.6.0 → 6.6.2

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.
@@ -2,10 +2,11 @@ import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TCloudUiPaginationPipe implements PipeTransform {
4
4
  private _tcloudUiPaginationService;
5
- resultItems: any[];
5
+ private _previousLengths;
6
6
  transform(collection: any[], args: {
7
7
  currentPage: number;
8
8
  itemsPerPage: number;
9
+ id?: string;
9
10
  }): any[];
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiPaginationPipe, never>;
11
12
  static ɵpipe: i0.ɵɵPipeDeclaration<TCloudUiPaginationPipe, "TCloudUiPagination", true>;
@@ -1,15 +1,26 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { IPagination } from '../../_services/tcloud-ui-pagination.service';
2
3
  import * as i0 from "@angular/core";
3
- export declare class TCloudUiPaginationComponent {
4
- currentPage: number;
4
+ export declare class TCloudUiPaginationComponent implements OnInit {
5
+ private generateID;
6
+ private _id;
7
+ set id(value: string);
8
+ get id(): string;
9
+ private _currentPage;
10
+ set currentPage(value: number);
11
+ get currentPage(): number;
5
12
  private _tcloudUiPaginationService;
13
+ private _changeDetectorRef;
14
+ private _lastTotalPages;
15
+ ngOnInit(): void;
6
16
  pageChange: EventEmitter<number>;
7
17
  pageInputError: boolean;
8
18
  previous(): void;
19
+ getTotal(): IPagination;
9
20
  get totalPages(): number;
10
21
  next(): void;
11
22
  goToPage(event: Event): void;
12
23
  formatPage(page: number): string;
13
24
  static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiPaginationComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiPaginationComponent, "tcloud-ui-pagination", never, { "currentPage": { "alias": "currentPage"; "required": false; }; }, { "pageChange": "pageChange"; }, never, never, true, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiPaginationComponent, "tcloud-ui-pagination", never, { "id": { "alias": "id"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; }, { "pageChange": "pageChange"; }, never, never, true, never>;
15
26
  }
@@ -1,8 +1,21 @@
1
1
  import * as i0 from "@angular/core";
2
+ export interface IPagination {
3
+ id: string;
4
+ total: number;
5
+ currentPage: number;
6
+ itemsPerPage: number;
7
+ }
2
8
  export declare class TCloudUiPaginationService {
9
+ private _pagination;
10
+ private _stateTotal;
11
+ stateTotal$: import("rxjs").Observable<IPagination[]>;
12
+ private _collectionChanged;
13
+ collectionChanged$: import("rxjs").Observable<string>;
3
14
  total: number;
4
- set_total(total: number): void;
5
- get_total(): number;
15
+ set_total(args: any, total: number): void;
16
+ get_total(): IPagination[];
17
+ private getPaginations;
18
+ notifyCollectionChange(id: string): void;
6
19
  static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiPaginationService, never>;
7
20
  static ɵprov: i0.ɵɵInjectableDeclaration<TCloudUiPaginationService>;
8
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-tcloud/tcloud-ui",
3
- "version": "6.6.0",
3
+ "version": "6.6.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.14",
6
6
  "@angular/core": "^19.2.14"
@@ -12,7 +12,14 @@
12
12
  }
13
13
  }
14
14
 
15
- .tcloud-ui-modal-postition-right{
15
+ .is-sticky{
16
+ .tcloud-ui-modal-postition-right,
17
+ .tcloud-ui-modal-postition-left{
18
+ overflow: hidden !important;
19
+ }
20
+ }
21
+
22
+ .tcloud-ui-modal-postition-right{
16
23
  .body-sticky{
17
24
  padding: 18px 18px !important;
18
25
  }