tango-app-ui-manage-stores 3.0.8 → 3.0.10-dev

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 (36) hide show
  1. package/esm2022/lib/components/add-stores/add-stores.component.mjs +211 -7
  2. package/esm2022/lib/components/add-stores-form/add-stores-form.component.mjs +19 -65
  3. package/esm2022/lib/components/create-group/create-group.component.mjs +220 -0
  4. package/esm2022/lib/components/group-delete-popup/group-delete-popup.component.mjs +53 -0
  5. package/esm2022/lib/components/group-details/group-details.component.mjs +179 -0
  6. package/esm2022/lib/components/tango-manage-groups/tango-manage-groups.component.mjs +218 -0
  7. package/esm2022/lib/components/tango-manage-stores/tango-manage-stores.component.mjs +250 -57
  8. package/esm2022/lib/interfaces/store.interface.mjs +2 -1
  9. package/esm2022/lib/route-wrappers/stores-edgeapp-wrapper.module.mjs +18 -0
  10. package/esm2022/lib/services/group.service.mjs +59 -0
  11. package/esm2022/lib/services/stores.service.mjs +44 -5
  12. package/esm2022/lib/tango-manage-stores-routing.module.mjs +7 -3
  13. package/esm2022/lib/tango-manage-stores.module.mjs +24 -9
  14. package/esm2022/lib/utils/filters/filters.component.mjs +163 -0
  15. package/fesm2022/tango-app-ui-manage-stores-stores-edgeapp-wrapper.module-B31pXvD_.mjs +21 -0
  16. package/fesm2022/tango-app-ui-manage-stores-stores-edgeapp-wrapper.module-B31pXvD_.mjs.map +1 -0
  17. package/fesm2022/tango-app-ui-manage-stores.mjs +1390 -207
  18. package/fesm2022/tango-app-ui-manage-stores.mjs.map +1 -1
  19. package/lib/components/add-stores/add-stores.component.d.ts +9 -0
  20. package/lib/components/add-stores-form/add-stores-form.component.d.ts +0 -2
  21. package/lib/components/create-group/create-group.component.d.ts +41 -0
  22. package/lib/components/group-delete-popup/group-delete-popup.component.d.ts +17 -0
  23. package/lib/components/group-details/group-details.component.d.ts +37 -0
  24. package/lib/components/tango-manage-groups/tango-manage-groups.component.d.ts +38 -0
  25. package/lib/components/tango-manage-stores/tango-manage-stores.component.d.ts +18 -4
  26. package/lib/interfaces/store.interface.d.ts +22 -3
  27. package/lib/route-wrappers/stores-edgeapp-wrapper.module.d.ts +6 -0
  28. package/lib/services/group.service.d.ts +20 -0
  29. package/lib/services/stores.service.d.ts +11 -5
  30. package/lib/tango-manage-stores.module.d.ts +13 -8
  31. package/lib/utils/filters/filters.component.d.ts +33 -0
  32. package/package.json +1 -1
  33. package/esm2022/lib/utils/pagination/pagination.component.mjs +0 -48
  34. package/esm2022/lib/utils/utils.module.mjs +0 -30
  35. package/lib/utils/pagination/pagination.component.d.ts +0 -17
  36. package/lib/utils/utils.module.d.ts +0 -10
@@ -1,5 +1,14 @@
1
+ import { ElementRef } from "@angular/core";
2
+ import { StoresService } from "../../services/stores.service";
1
3
  import * as i0 from "@angular/core";
2
4
  export declare class AddStoresComponent {
5
+ private storeService;
6
+ inputFile: ElementRef;
7
+ phoneRegex: RegExp;
8
+ emailRegex: RegExp;
9
+ constructor(storeService: StoresService);
10
+ onUpload(e: any): void;
11
+ validateField(value: string | undefined | null | number, fieldName: string, row: number, regex?: RegExp): string | null;
3
12
  static ɵfac: i0.ɵɵFactoryDeclaration<AddStoresComponent, never>;
4
13
  static ɵcmp: i0.ɵɵComponentDeclaration<AddStoresComponent, "lib-add-stores", never, {}, {}, never, never, false, never>;
5
14
  }
@@ -2,7 +2,6 @@
2
2
  import { ChangeDetectorRef, OnInit } from "@angular/core";
3
3
  import { FormBuilder, FormGroup, AbstractControl, ValidationErrors } from "@angular/forms";
4
4
  import { StoresService } from "../../services/stores.service";
5
- import { StoreResponse } from "../../interfaces/store.interface";
6
5
  import { Router } from "@angular/router";
7
6
  import { NgxGpAutocompleteDirective } from "@angular-magic/ngx-gp-autocomplete/lib/ngx-gp-autocomplete.directive";
8
7
  import * as i0 from "@angular/core";
@@ -19,7 +18,6 @@ export declare class AddStoresFormComponent implements OnInit {
19
18
  handleAddressChange(place: google.maps.places.PlaceResult | any): void;
20
19
  constructor(fb: FormBuilder, storesService: StoresService, changeDetector: ChangeDetectorRef, router: Router);
21
20
  ngOnInit(): void;
22
- loadStore(store: StoreResponse): void;
23
21
  settingvalue(label: any): void;
24
22
  createForm(): void;
25
23
  timeRangeValidator(control: AbstractControl): ValidationErrors | null;
@@ -0,0 +1,41 @@
1
+ import { ChangeDetectorRef, OnInit } from "@angular/core";
2
+ import { FormBuilder, FormGroup } from "@angular/forms";
3
+ import { NgbActiveModal } from "@ng-bootstrap/ng-bootstrap";
4
+ import { GroupService } from "../../services/group.service";
5
+ import { GlobalStateService, ToastService } from "tango-app-ui-shared";
6
+ import * as i0 from "@angular/core";
7
+ export declare class CreateGroupComponent implements OnInit {
8
+ private activeModal;
9
+ private cd;
10
+ private fb;
11
+ private groupService;
12
+ private ts;
13
+ private gs;
14
+ type: string;
15
+ editGroup: any;
16
+ groupType: string;
17
+ groupForm: FormGroup;
18
+ availableStores: any[];
19
+ selectedValuesArray: any[];
20
+ group: any;
21
+ Opendropdown: boolean;
22
+ dataObject: any[];
23
+ $headerFilters: any;
24
+ selectedText: string;
25
+ constructor(activeModal: NgbActiveModal, cd: ChangeDetectorRef, fb: FormBuilder, groupService: GroupService, ts: ToastService, gs: GlobalStateService);
26
+ ngOnInit(): void;
27
+ getGroup(): void;
28
+ loadGroup(): void;
29
+ createForm(): void;
30
+ getAvailableStores(): void;
31
+ cancel(): void;
32
+ editgroup(): void;
33
+ groupSubmit(): void;
34
+ onClick(event: MouseEvent): void;
35
+ opendropdown(e: MouseEvent): void;
36
+ Dropdown(value: any, index: number, event: MouseEvent): void;
37
+ toggleCheckbox(event: any, store: any, index: number, subIndex: number): void;
38
+ loadSelectedStores(stores: any[]): void;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateGroupComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreateGroupComponent, "lib-create-group", never, { "type": { "alias": "type"; "required": false; }; "editGroup": { "alias": "editGroup"; "required": false; }; }, {}, never, never, false, never>;
41
+ }
@@ -0,0 +1,17 @@
1
+ import { ChangeDetectorRef } from "@angular/core";
2
+ import { NgbActiveModal } from "@ng-bootstrap/ng-bootstrap";
3
+ import { GroupService } from "../../services/group.service";
4
+ import { ToastService } from "tango-app-ui-shared";
5
+ import * as i0 from "@angular/core";
6
+ export declare class GroupDeletePopupComponent {
7
+ private activeModal;
8
+ private cd;
9
+ private groupService;
10
+ private ts;
11
+ deleteGroup: any;
12
+ constructor(activeModal: NgbActiveModal, cd: ChangeDetectorRef, groupService: GroupService, ts: ToastService);
13
+ cancel(): void;
14
+ onDeleteGroup(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<GroupDeletePopupComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<GroupDeletePopupComponent, "lib-group-delete-popup", never, { "deleteGroup": { "alias": "deleteGroup"; "required": false; }; }, {}, never, never, false, never>;
17
+ }
@@ -0,0 +1,37 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnInit } from "@angular/core";
2
+ import { Router } from "@angular/router";
3
+ import { StoresService } from "../../services/stores.service";
4
+ import { GlobalStateService } from "tango-app-ui-shared";
5
+ import { GroupService } from "../../services/group.service";
6
+ import * as i0 from "@angular/core";
7
+ export declare class GroupDetailsComponent implements OnInit {
8
+ private router;
9
+ private storesService;
10
+ private groupService;
11
+ private changeDetector;
12
+ private gs;
13
+ dataEvent: EventEmitter<string>;
14
+ searchValue: any;
15
+ storeList: any[];
16
+ storeList_req: any;
17
+ pagination: any;
18
+ loading: boolean;
19
+ noData: boolean;
20
+ supportEmail: string;
21
+ columns: any[];
22
+ paginationSizes: number[];
23
+ $headerFilters: any;
24
+ group: any;
25
+ constructor(router: Router, storesService: StoresService, groupService: GroupService, changeDetector: ChangeDetectorRef, gs: GlobalStateService);
26
+ ngOnInit(): void;
27
+ backToGroup(): void;
28
+ searchData(): void;
29
+ loadTable(): void;
30
+ onPageChange(pageOffset: number): void;
31
+ onPageSizeChange(pageSize: number): void;
32
+ onSort(column: string): void;
33
+ colDirection(column: string): number;
34
+ paginationSize(): number;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<GroupDetailsComponent, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<GroupDetailsComponent, "lib-group-details", never, {}, { "dataEvent": "dataEvent"; }, never, never, false, never>;
37
+ }
@@ -0,0 +1,38 @@
1
+ import { EventEmitter, ElementRef, OnInit, ChangeDetectorRef } from "@angular/core";
2
+ import { Router } from "@angular/router";
3
+ import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
4
+ import { GroupService } from "../../services/group.service";
5
+ import { GlobalStateService } from "tango-app-ui-shared";
6
+ import * as i0 from "@angular/core";
7
+ export declare class TangoManageGroupsComponent implements OnInit {
8
+ private elementRef;
9
+ private router;
10
+ private modalService;
11
+ private groupService;
12
+ private cd;
13
+ private gs;
14
+ dataEvent: EventEmitter<string>;
15
+ Opendropdown: boolean;
16
+ groups: any[];
17
+ groupData: any;
18
+ group_req: any;
19
+ dataObject: any;
20
+ showdropdown: any;
21
+ selectedValues: string[];
22
+ selectedValuesArray: any[];
23
+ loading: boolean;
24
+ searchValue: string;
25
+ $headerFilters: any;
26
+ constructor(elementRef: ElementRef, router: Router, modalService: NgbModal, groupService: GroupService, cd: ChangeDetectorRef, gs: GlobalStateService);
27
+ ngOnInit(): void;
28
+ getGroups(): void;
29
+ searchData(): void;
30
+ groupsDetials(val: any): void;
31
+ toggleCheckbox(issue: string, index: number): void;
32
+ Reset(): void;
33
+ Apply(): void;
34
+ createGroup(type: any, group?: any): void;
35
+ deleteGroups(data: any, group: any): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageGroupsComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<TangoManageGroupsComponent, "lib-tango-manage-groups", never, {}, { "dataEvent": "dataEvent"; }, never, never, false, never>;
38
+ }
@@ -3,7 +3,8 @@ import { PageInfoService } from "tango-app-ui-metronics";
3
3
  import { storeList, storeList_req } from "../../interfaces/store.interface";
4
4
  import { StoresService } from "../../services/stores.service";
5
5
  import { ExcelService } from "../../services/excel.service";
6
- import { GlobalStateService } from 'tango-app-ui-shared';
6
+ import { Router } from "@angular/router";
7
+ import { GlobalStateService } from "tango-app-ui-shared";
7
8
  import * as i0 from "@angular/core";
8
9
  export interface pagination {
9
10
  limit: number;
@@ -17,6 +18,8 @@ export declare class TangoManageStoresComponent implements OnInit {
17
18
  private changeDetector;
18
19
  private excelService;
19
20
  private gs;
21
+ private router;
22
+ filterOptions: any[];
20
23
  searchValue: any;
21
24
  storeList: storeList[];
22
25
  storeList_req: storeList_req;
@@ -25,19 +28,30 @@ export declare class TangoManageStoresComponent implements OnInit {
25
28
  noData: boolean;
26
29
  supportEmail: string;
27
30
  columns: any[];
28
- constructor(pageInfo: PageInfoService, storesService: StoresService, changeDetector: ChangeDetectorRef, excelService: ExcelService, gs: GlobalStateService);
31
+ paginationSizes: number[];
32
+ receivedData: string;
33
+ $headerFilters: any;
34
+ constructor(pageInfo: PageInfoService, storesService: StoresService, changeDetector: ChangeDetectorRef, excelService: ExcelService, gs: GlobalStateService, router: Router);
35
+ receiveGroupData(data: string): void;
29
36
  setPageData(): void;
30
37
  ngOnInit(): void;
31
38
  searchStore(): void;
32
- applyFilter(): void;
39
+ Selecttabs(value: any): void;
40
+ applyFilter(filters: any): void;
41
+ getCountries(): void;
42
+ getStates(): void;
43
+ getCities(): void;
33
44
  loadTable(): void;
34
45
  exportXLSX(): void;
35
- navigateTo(): void;
46
+ navigateToStore(store: any): void;
36
47
  onPageChange(pageOffset: number): void;
37
48
  onPageSizeChange(pageSize: number): void;
49
+ isLinkActive(link: string): boolean;
38
50
  editStore(): void;
39
51
  onSort(column: string): void;
40
52
  colDirection(column: string): number;
53
+ paginationSize(): number;
54
+ goToEdgeApp(store: any): void;
41
55
  static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageStoresComponent, never>;
42
56
  static ɵcmp: i0.ɵɵComponentDeclaration<TangoManageStoresComponent, "lib-tango-manage-stores", never, {}, {}, never, never, false, never>;
43
57
  }
@@ -19,7 +19,7 @@ export interface Store {
19
19
  open: string;
20
20
  close: string;
21
21
  };
22
- edge: {
22
+ edge?: {
23
23
  camDetails: {
24
24
  cameras: string;
25
25
  };
@@ -50,7 +50,7 @@ export interface StoreResponse {
50
50
  open: string;
51
51
  close: string;
52
52
  };
53
- edge: {
53
+ edge?: {
54
54
  camDetails: {
55
55
  cameras: number;
56
56
  };
@@ -89,7 +89,7 @@ export interface storeList {
89
89
  }[] | any;
90
90
  }
91
91
  export interface storeList_req {
92
- clientId: number;
92
+ clientId: string;
93
93
  fromDate: string;
94
94
  toDate: string;
95
95
  limit: number;
@@ -98,4 +98,23 @@ export interface storeList_req {
98
98
  sortOrder: number;
99
99
  search: string;
100
100
  }
101
+ export interface StoreBulkItem {
102
+ StoreName: string;
103
+ BusinessType: string;
104
+ StoreType: string;
105
+ TimeZone: string;
106
+ SpocName: string;
107
+ SpocEmail: string;
108
+ SpocContact: string;
109
+ Latitude: string;
110
+ Longitude: string;
111
+ CameraCount: string;
112
+ storeProfile?: {
113
+ address: string;
114
+ country: string;
115
+ state: string;
116
+ city: string;
117
+ pincode: string;
118
+ };
119
+ }
101
120
  export {};
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class StoresEdgeappWrapperModule {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<StoresEdgeappWrapperModule, never>;
4
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StoresEdgeappWrapperModule, never, never, never>;
5
+ static ɵinj: i0.ɵɵInjectorDeclaration<StoresEdgeappWrapperModule>;
6
+ }
@@ -0,0 +1,20 @@
1
+ import { HttpClient } from "@angular/common/http";
2
+ import { BehaviorSubject, Observable } from "rxjs";
3
+ import { GlobalStateService } from "tango-app-ui-shared";
4
+ import * as i0 from "@angular/core";
5
+ export declare class GroupService {
6
+ private http;
7
+ private gs;
8
+ private groupApiUrl;
9
+ private storeApiUrl;
10
+ groupComms: BehaviorSubject<any>;
11
+ constructor(http: HttpClient, gs: GlobalStateService);
12
+ getGroups(params: any): Observable<any>;
13
+ getGroup(params: any): Observable<any>;
14
+ createGroup(groupBody: any): Observable<any>;
15
+ updateGroup(groupBody: any): Observable<any>;
16
+ getStores(req: any): Observable<any>;
17
+ private handleError;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<GroupService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<GroupService>;
20
+ }
@@ -1,16 +1,22 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { Store, StoreResponse, storeList } from '../interfaces/store.interface';
4
- import { GlobalStateService } from 'tango-app-ui-shared';
1
+ import { HttpClient } from "@angular/common/http";
2
+ import { Observable } from "rxjs";
3
+ import { Store, StoreResponse, storeList } from "../interfaces/store.interface";
4
+ import { GlobalStateService } from "tango-app-ui-shared";
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class StoresService {
7
7
  private http;
8
8
  private gs;
9
9
  private storeApiUrl;
10
+ private middlewareApiUrl;
10
11
  constructor(http: HttpClient, gs: GlobalStateService);
11
- getStoreList(params?: any): Observable<storeList>;
12
+ getStoreList(params: any): Observable<storeList>;
12
13
  getStore(storeId: string): Observable<storeList>;
13
14
  createStore(storeBody: StoreResponse): Observable<Store>;
15
+ storeBulkUpload(storesBodyReq: any): Observable<any>;
16
+ getCountries(params?: any): Observable<any>;
17
+ getStates(params: any): Observable<any>;
18
+ getCities(params: any): Observable<any>;
19
+ getAddress(latitude: number, longitude: number): Promise<any>;
14
20
  private handleError;
15
21
  static ɵfac: i0.ɵɵFactoryDeclaration<StoresService, never>;
16
22
  static ɵprov: i0.ɵɵInjectableDeclaration<StoresService>;
@@ -2,15 +2,20 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./components/tango-manage-stores/tango-manage-stores.component";
3
3
  import * as i2 from "./components/add-stores/add-stores.component";
4
4
  import * as i3 from "./components/add-stores-form/add-stores-form.component";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "./tango-manage-stores-routing.module";
7
- import * as i6 from "ngx-material-timepicker";
8
- import * as i7 from "@angular/forms";
9
- import * as i8 from "./utils/utils.module";
10
- import * as i9 from "@ng-bootstrap/ng-bootstrap";
11
- import * as i10 from "@angular-magic/ngx-gp-autocomplete";
5
+ import * as i4 from "./components/tango-manage-groups/tango-manage-groups.component";
6
+ import * as i5 from "./components/group-details/group-details.component";
7
+ import * as i6 from "./components/create-group/create-group.component";
8
+ import * as i7 from "./components/group-delete-popup/group-delete-popup.component";
9
+ import * as i8 from "./utils/filters/filters.component";
10
+ import * as i9 from "@angular/common";
11
+ import * as i10 from "./tango-manage-stores-routing.module";
12
+ import * as i11 from "ngx-material-timepicker";
13
+ import * as i12 from "@angular/forms";
14
+ import * as i13 from "@ng-bootstrap/ng-bootstrap";
15
+ import * as i14 from "@angular-magic/ngx-gp-autocomplete";
16
+ import * as i15 from "tango-app-ui-shared";
12
17
  export declare class TangoManageStoresModule {
13
18
  static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageStoresModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<TangoManageStoresModule, [typeof i1.TangoManageStoresComponent, typeof i2.AddStoresComponent, typeof i3.AddStoresFormComponent], [typeof i4.CommonModule, typeof i5.TangoManageStoresRoutingModule, typeof i6.NgxMaterialTimepickerModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i8.UtilsModule, typeof i9.NgbModule, typeof i10.NgxGpAutocompleteModule], never>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TangoManageStoresModule, [typeof i1.TangoManageStoresComponent, typeof i2.AddStoresComponent, typeof i3.AddStoresFormComponent, typeof i4.TangoManageGroupsComponent, typeof i5.GroupDetailsComponent, typeof i6.CreateGroupComponent, typeof i7.GroupDeletePopupComponent, typeof i8.FiltersComponent], [typeof i9.CommonModule, typeof i10.TangoManageStoresRoutingModule, typeof i11.NgxMaterialTimepickerModule, typeof i12.FormsModule, typeof i12.ReactiveFormsModule, typeof i13.NgbModule, typeof i14.NgxGpAutocompleteModule, typeof i15.CommonSharedModule], never>;
15
20
  static ɵinj: i0.ɵɵInjectorDeclaration<TangoManageStoresModule>;
16
21
  }
@@ -0,0 +1,33 @@
1
+ import { ElementRef, EventEmitter, OnInit, Renderer2 } from "@angular/core";
2
+ import { Router } from "@angular/router";
3
+ import * as i0 from "@angular/core";
4
+ export declare class FiltersComponent implements OnInit {
5
+ private elementRef;
6
+ private renderer;
7
+ private router;
8
+ dataObject: any[];
9
+ AppliedFilters: EventEmitter<any>;
10
+ Opendropdown: boolean;
11
+ permission: {
12
+ group: string;
13
+ description: string;
14
+ }[];
15
+ showdropdown: any;
16
+ selectedValues: string[];
17
+ selectedValuesArray: any[];
18
+ searchValue: any;
19
+ dummyArray: any[];
20
+ noFilter: boolean;
21
+ responseArray: any[];
22
+ constructor(elementRef: ElementRef, renderer: Renderer2, router: Router);
23
+ onClick(event: MouseEvent): void;
24
+ ngOnInit(): void;
25
+ opendropdown(e: MouseEvent): void;
26
+ Dropdown(value: any, index: number, event: MouseEvent): void;
27
+ toggleCheckbox(issue: string, index: number): void;
28
+ Reset(): void;
29
+ searchData(event: any, i: any): void;
30
+ Apply(): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<FiltersComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<FiltersComponent, "lib-filters-custom", never, { "dataObject": { "alias": "dataObject"; "required": false; }; }, { "AppliedFilters": "AppliedFilters"; }, never, never, false, never>;
33
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-ui-manage-stores",
3
- "version": "3.0.8",
3
+ "version": "3.0.10-dev",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0"
@@ -1,48 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "ngx-pagination";
5
- import * as i3 from "@angular/forms";
6
- export class PaginationComponent {
7
- collection = [];
8
- itemsPerPage;
9
- currentPage;
10
- totalItems;
11
- directionLinks = false;
12
- pageSize;
13
- paginationSizes;
14
- pageChange = new EventEmitter();
15
- pageSizeChange = new EventEmitter();
16
- onPageChange(page) {
17
- this.pageChange.emit(page);
18
- }
19
- onPageSizeChange() {
20
- this.itemsPerPage = this.pageSize;
21
- this.pageSizeChange.emit(this.pageSize);
22
- }
23
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: PaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: PaginationComponent, selector: "lib-pagination", inputs: { collection: "collection", itemsPerPage: "itemsPerPage", currentPage: "currentPage", totalItems: "totalItems", directionLinks: "directionLinks", pageSize: "pageSize", paginationSizes: "paginationSizes" }, outputs: { pageChange: "pageChange", pageSizeChange: "pageSizeChange" }, ngImport: i0, template: "<div class=\"row\">\r\n <div class=\"col-md-3\"></div>\r\n <div class=\"col-md-3 mt-4 text-end pe-0\"><span class=\"sub-title\">\r\n <span class=\"me-3\">Displaying</span>\r\n <select class=\"border-val \" [(ngModel)]=\"pageSize\" (change)=\"onPageSizeChange()\">\r\n <option value=\"{{ size }}\" *ngFor=\"let size of paginationSizes\">\r\n {{ size }}\r\n </option>>\r\n </select>\r\n <span class=\"ms-3\">out of {{totalItems}} items</span>\r\n </span></div>\r\n <div class=\"col-md-4 text-start ps-0\">\r\n <ul>\r\n <li\r\n *ngFor=\"let item of collection | paginate: { itemsPerPage: itemsPerPage, currentPage: currentPage, totalItems: totalItems }\">\r\n </li>\r\n </ul>\r\n <pagination-controls\r\n (pageChange)=\"onPageChange($event);currentPage=$event;\"\r\n [directionLinks]=\"directionLinks\"\r\n [maxSize]=\"7\"\r\n [responsive]=\"true\">\r\n </pagination-controls>\r\n </div>\r\n <div class=\"col-md-2\"></div>\r\n</div>\r\n", styles: ["::ng-deep .ngx-pagination .current{padding:6px;background:#eaf8ff!important;cursor:default;border-radius:4px;color:#00a3ff!important}::ng-deep .ngx-pagination .current{padding:12px!important;background:#eaf8ff!important;cursor:default;color:#00a3ff!important;width:40px;height:40px;border-radius:8px;background:var(--Primary-50, #EAF8FF);color:var(--Primary-600, #00A3FF)!important;text-align:center;font-size:14px!important;font-style:normal;font-weight:500;line-height:20px}::ng-deep .ngx-pagination{color:var(--Gray-500, #667085)!important;font-size:14px!important;font-style:normal;font-weight:500;line-height:20px}::ng-deep .ngx-pagination a{padding:.1875rem 1rem!important}*{font-family:Inter!important}.border-val{padding:10px 14px!important;border-radius:8px!important;border:1px solid var(--Gray-300, #D0D5DD)!important;background:var(--White, #FFF)!important;box-shadow:0 1px 2px #1018280d!important}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url('data:image/svg+xml;utf8,<svg fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\"><path d=\"M10 12l-6-6h12l-6 6z\" fill=\"%23777\"/></svg>');background-repeat:no-repeat;background-position-x:calc(100% - 12px);background-position-y:50%;padding-right:20px}.sub-title{color:var(--Gray-700, #344054)!important;font-size:14px!important;font-weight:500!important;line-height:20px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.PaginationControlsComponent, selector: "pagination-controls", inputs: ["id", "maxSize", "directionLinks", "autoHide", "responsive", "previousLabel", "nextLabel", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel"], outputs: ["pageChange", "pageBoundsCorrection"] }, { kind: "directive", type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: i2.PaginatePipe, name: "paginate" }] });
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: PaginationComponent, decorators: [{
27
- type: Component,
28
- args: [{ selector: 'lib-pagination', template: "<div class=\"row\">\r\n <div class=\"col-md-3\"></div>\r\n <div class=\"col-md-3 mt-4 text-end pe-0\"><span class=\"sub-title\">\r\n <span class=\"me-3\">Displaying</span>\r\n <select class=\"border-val \" [(ngModel)]=\"pageSize\" (change)=\"onPageSizeChange()\">\r\n <option value=\"{{ size }}\" *ngFor=\"let size of paginationSizes\">\r\n {{ size }}\r\n </option>>\r\n </select>\r\n <span class=\"ms-3\">out of {{totalItems}} items</span>\r\n </span></div>\r\n <div class=\"col-md-4 text-start ps-0\">\r\n <ul>\r\n <li\r\n *ngFor=\"let item of collection | paginate: { itemsPerPage: itemsPerPage, currentPage: currentPage, totalItems: totalItems }\">\r\n </li>\r\n </ul>\r\n <pagination-controls\r\n (pageChange)=\"onPageChange($event);currentPage=$event;\"\r\n [directionLinks]=\"directionLinks\"\r\n [maxSize]=\"7\"\r\n [responsive]=\"true\">\r\n </pagination-controls>\r\n </div>\r\n <div class=\"col-md-2\"></div>\r\n</div>\r\n", styles: ["::ng-deep .ngx-pagination .current{padding:6px;background:#eaf8ff!important;cursor:default;border-radius:4px;color:#00a3ff!important}::ng-deep .ngx-pagination .current{padding:12px!important;background:#eaf8ff!important;cursor:default;color:#00a3ff!important;width:40px;height:40px;border-radius:8px;background:var(--Primary-50, #EAF8FF);color:var(--Primary-600, #00A3FF)!important;text-align:center;font-size:14px!important;font-style:normal;font-weight:500;line-height:20px}::ng-deep .ngx-pagination{color:var(--Gray-500, #667085)!important;font-size:14px!important;font-style:normal;font-weight:500;line-height:20px}::ng-deep .ngx-pagination a{padding:.1875rem 1rem!important}*{font-family:Inter!important}.border-val{padding:10px 14px!important;border-radius:8px!important;border:1px solid var(--Gray-300, #D0D5DD)!important;background:var(--White, #FFF)!important;box-shadow:0 1px 2px #1018280d!important}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url('data:image/svg+xml;utf8,<svg fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\"><path d=\"M10 12l-6-6h12l-6 6z\" fill=\"%23777\"/></svg>');background-repeat:no-repeat;background-position-x:calc(100% - 12px);background-position-y:50%;padding-right:20px}.sub-title{color:var(--Gray-700, #344054)!important;font-size:14px!important;font-weight:500!important;line-height:20px}\n"] }]
29
- }], propDecorators: { collection: [{
30
- type: Input
31
- }], itemsPerPage: [{
32
- type: Input
33
- }], currentPage: [{
34
- type: Input
35
- }], totalItems: [{
36
- type: Input
37
- }], directionLinks: [{
38
- type: Input
39
- }], pageSize: [{
40
- type: Input
41
- }], paginationSizes: [{
42
- type: Input
43
- }], pageChange: [{
44
- type: Output
45
- }], pageSizeChange: [{
46
- type: Output
47
- }] } });
48
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90YW5nby1tYW5hZ2Utc3RvcmVzL3NyYy9saWIvdXRpbHMvcGFnaW5hdGlvbi9wYWdpbmF0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RhbmdvLW1hbmFnZS1zdG9yZXMvc3JjL2xpYi91dGlscy9wYWdpbmF0aW9uL3BhZ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zdGFydCBwcy0wXCI+XHJcbiAgICA8dWw+XHJcbiAgICAgICAgPGxpXHJcbiAgICAgICAgICAgICpuZ0Zvcj1cImxldCBpdGVtIG9mIGNvbGxlY3Rpb24gfCBwYWdpbmF0ZTogeyBpdGVtc1BlclBhZ2U6IGl0ZW1zUGVyUGFnZSwgY3VycmVudFBhZ2U6IGN1cnJlbnRQYWdlLCB0b3RhbEl0ZW1zOiB0b3RhbEl0ZW1zIH1cIj5cclxuICAgICAgICA8L2xpPlxyXG4gICAgPC91bD5cclxuICAgIDxwYWdpbmF0aW9uLWNvbnRyb2xzXHJcbiAgICAgICAgKHBhZ2VDaGFuZ2UpPVwib25QYWdlQ2hhbmdlKCRldmVudCk7Y3VycmVudFBhZ2U9JGV2ZW50O1wiXHJcbiAgICAgICAgW2RpcmVjdGlvbkxpbmtzXT1cImRpcmVjdGlvbkxpbmtzXCJcclxuICAgICAgICBbbWF4U2l6ZV09XCI3XCJcclxuICAgICAgICBbcmVzcG9uc2l2ZV09XCJ0cnVlXCI+XHJcbiAgICA8L3BhZ2luYXRpb24tY29udHJvbHM+XHJcbiAgICA8L2Rpdj5cclxuICAgIDxkaXYgY2xhc3M9XCJjb2wtbWQtMlwiPjwvZGl2PlxyXG48L2Rpdj5cclxuIl19
@@ -1,30 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { PaginationComponent } from './pagination/pagination.component';
4
- import { NgxPaginationModule } from 'ngx-pagination';
5
- import { FormsModule } from '@angular/forms';
6
- import * as i0 from "@angular/core";
7
- export class UtilsModule {
8
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: UtilsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: UtilsModule, declarations: [PaginationComponent], imports: [CommonModule,
10
- NgxPaginationModule,
11
- FormsModule], exports: [PaginationComponent] });
12
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: UtilsModule, imports: [CommonModule,
13
- NgxPaginationModule,
14
- FormsModule] });
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: UtilsModule, decorators: [{
17
- type: NgModule,
18
- args: [{
19
- declarations: [PaginationComponent],
20
- imports: [
21
- CommonModule,
22
- NgxPaginationModule,
23
- FormsModule
24
- ],
25
- exports: [
26
- PaginationComponent
27
- ]
28
- }]
29
- }] });
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGFuZ28tbWFuYWdlLXN0b3Jlcy9zcmMvbGliL3V0aWxzL3V0aWxzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUN4RSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7O0FBYTdDLE1BQU0sT0FBTyxXQUFXO3VHQUFYLFdBQVc7d0dBQVgsV0FBVyxpQkFWUCxtQkFBbUIsYUFFaEMsWUFBWTtZQUNaLG1CQUFtQjtZQUNuQixXQUFXLGFBR1gsbUJBQW1CO3dHQUdWLFdBQVcsWUFScEIsWUFBWTtZQUNaLG1CQUFtQjtZQUNuQixXQUFXOzsyRkFNRixXQUFXO2tCQVh2QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLG1CQUFtQixDQUFDO29CQUNuQyxPQUFPLEVBQUU7d0JBQ1AsWUFBWTt3QkFDWixtQkFBbUI7d0JBQ25CLFdBQVc7cUJBQ1o7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLG1CQUFtQjtxQkFDcEI7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xyXG5pbXBvcnQgeyBQYWdpbmF0aW9uQ29tcG9uZW50IH0gZnJvbSAnLi9wYWdpbmF0aW9uL3BhZ2luYXRpb24uY29tcG9uZW50JztcclxuaW1wb3J0IHsgTmd4UGFnaW5hdGlvbk1vZHVsZSB9IGZyb20gJ25neC1wYWdpbmF0aW9uJztcclxuaW1wb3J0IHsgRm9ybXNNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW1BhZ2luYXRpb25Db21wb25lbnRdLFxyXG4gIGltcG9ydHM6IFtcclxuICAgIENvbW1vbk1vZHVsZSxcclxuICAgIE5neFBhZ2luYXRpb25Nb2R1bGUsXHJcbiAgICBGb3Jtc01vZHVsZVxyXG4gIF0sXHJcbiAgZXhwb3J0czogW1xyXG4gICAgUGFnaW5hdGlvbkNvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIFV0aWxzTW9kdWxlIHsgfVxyXG4iXX0=
@@ -1,17 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class PaginationComponent {
4
- collection: any[];
5
- itemsPerPage: number;
6
- currentPage: number;
7
- totalItems: number;
8
- directionLinks: boolean;
9
- pageSize: number;
10
- paginationSizes: number[];
11
- pageChange: EventEmitter<number>;
12
- pageSizeChange: EventEmitter<number>;
13
- onPageChange(page: number): void;
14
- onPageSizeChange(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "lib-pagination", never, { "collection": { "alias": "collection"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "directionLinks": { "alias": "directionLinks"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "paginationSizes": { "alias": "paginationSizes"; "required": false; }; }, { "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; }, never, never, false, never>;
17
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./pagination/pagination.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "ngx-pagination";
5
- import * as i4 from "@angular/forms";
6
- export declare class UtilsModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<UtilsModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<UtilsModule, [typeof i1.PaginationComponent], [typeof i2.CommonModule, typeof i3.NgxPaginationModule, typeof i4.FormsModule], [typeof i1.PaginationComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<UtilsModule>;
10
- }