tango-app-ui-manage-stores 3.0.51-dev → 3.0.52-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.
- package/esm2022/lib/components/add-stores-form/add-stores-form.component.mjs +27 -20
- package/esm2022/lib/components/tango-manage-groups/tango-manage-groups.component.mjs +16 -8
- package/esm2022/lib/components/tango-manage-stores/store-alert-popup/store-alert-popup.component.mjs +28 -0
- package/esm2022/lib/components/tango-manage-stores/tango-manage-stores.component.mjs +70 -78
- package/esm2022/lib/tango-manage-stores.module.mjs +6 -3
- package/fesm2022/tango-app-ui-manage-stores.mjs +155 -124
- package/fesm2022/tango-app-ui-manage-stores.mjs.map +1 -1
- package/lib/components/add-stores-form/add-stores-form.component.d.ts +1 -1
- package/lib/components/tango-manage-stores/store-alert-popup/store-alert-popup.component.d.ts +13 -0
- package/lib/components/tango-manage-stores/tango-manage-stores.component.d.ts +5 -2
- package/lib/tango-manage-stores.module.d.ts +9 -8
- package/package.json +1 -1
|
@@ -25,8 +25,8 @@ export declare class AddStoresFormComponent implements OnInit {
|
|
|
25
25
|
handleAddressChange(place: google.maps.places.PlaceResult | any): void;
|
|
26
26
|
constructor(fb: FormBuilder, storesService: StoresService, ts: ToastService, router: Router);
|
|
27
27
|
ngOnInit(): void;
|
|
28
|
-
settingvalue(label: any): void;
|
|
29
28
|
createForm(): void;
|
|
29
|
+
validateStoreInfo(): boolean;
|
|
30
30
|
timeRangeValidator(control: AbstractControl): ValidationErrors | null;
|
|
31
31
|
createSpocDetail(): FormGroup;
|
|
32
32
|
getspocDetailsControls(): AbstractControl<any, any>[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class StoreAlertPopupComponent {
|
|
5
|
+
private activeModal;
|
|
6
|
+
private cd;
|
|
7
|
+
status: any;
|
|
8
|
+
constructor(activeModal: NgbActiveModal, cd: ChangeDetectorRef);
|
|
9
|
+
cancel(): void;
|
|
10
|
+
onSubmit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoreAlertPopupComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StoreAlertPopupComponent, "lib-store-alert-popup", never, { "status": { "alias": "status"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -6,6 +6,7 @@ import { ActivatedRoute, Router } from "@angular/router";
|
|
|
6
6
|
import { FormControl } from "@angular/forms";
|
|
7
7
|
import { GlobalStateService } from "tango-app-ui-global";
|
|
8
8
|
import { ToastService } from "tango-app-ui-shared";
|
|
9
|
+
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export interface pagination {
|
|
11
12
|
limit: number;
|
|
@@ -18,6 +19,7 @@ export declare class TangoManageStoresComponent implements OnInit, OnDestroy {
|
|
|
18
19
|
private changeDetector;
|
|
19
20
|
private excelService;
|
|
20
21
|
gs: GlobalStateService;
|
|
22
|
+
modalService: NgbModal;
|
|
21
23
|
private router;
|
|
22
24
|
private route;
|
|
23
25
|
private ts;
|
|
@@ -36,7 +38,9 @@ export declare class TangoManageStoresComponent implements OnInit, OnDestroy {
|
|
|
36
38
|
private detach;
|
|
37
39
|
user: any;
|
|
38
40
|
refreshFilter: boolean;
|
|
39
|
-
|
|
41
|
+
sortColumName: string;
|
|
42
|
+
sortDirection: number;
|
|
43
|
+
constructor(pageInfo: PageInfoService, storesService: StoresService, changeDetector: ChangeDetectorRef, excelService: ExcelService, gs: GlobalStateService, modalService: NgbModal, router: Router, route: ActivatedRoute, ts: ToastService);
|
|
40
44
|
initSearch(): void;
|
|
41
45
|
ngOnDestroy(): void;
|
|
42
46
|
receiveGroupData(data: string): void;
|
|
@@ -54,7 +58,6 @@ export declare class TangoManageStoresComponent implements OnInit, OnDestroy {
|
|
|
54
58
|
onPageSizeChange(pageSize: number): void;
|
|
55
59
|
isLinkActive(link: string): boolean;
|
|
56
60
|
onSort(column: string): void;
|
|
57
|
-
colDirection(column: string): number;
|
|
58
61
|
paginationSize(): number;
|
|
59
62
|
goToEdgeApp(store: any): void;
|
|
60
63
|
goToEdgeAppconfig(store: any): void;
|
|
@@ -8,15 +8,16 @@ import * as i6 from "./components/create-group/create-group.component";
|
|
|
8
8
|
import * as i7 from "./components/group-delete-popup/group-delete-popup.component";
|
|
9
9
|
import * as i8 from "./utils/filters/filters.component";
|
|
10
10
|
import * as i9 from "./components/new-create-group/new-create-group.component";
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "@
|
|
16
|
-
import * as i15 from "@
|
|
17
|
-
import * as i16 from "
|
|
11
|
+
import * as i10 from "./components/tango-manage-stores/store-alert-popup/store-alert-popup.component";
|
|
12
|
+
import * as i11 from "@angular/common";
|
|
13
|
+
import * as i12 from "./tango-manage-stores-routing.module";
|
|
14
|
+
import * as i13 from "ngx-material-timepicker";
|
|
15
|
+
import * as i14 from "@angular/forms";
|
|
16
|
+
import * as i15 from "@ng-bootstrap/ng-bootstrap";
|
|
17
|
+
import * as i16 from "@angular-magic/ngx-gp-autocomplete";
|
|
18
|
+
import * as i17 from "tango-app-ui-shared";
|
|
18
19
|
export declare class TangoManageStoresModule {
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageStoresModule, never>;
|
|
20
|
-
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.NewCreateGroupComponent], [typeof
|
|
21
|
+
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.NewCreateGroupComponent, typeof i10.StoreAlertPopupComponent], [typeof i11.CommonModule, typeof i12.TangoManageStoresRoutingModule, typeof i13.NgxMaterialTimepickerModule, typeof i14.FormsModule, typeof i14.ReactiveFormsModule, typeof i15.NgbModule, typeof i16.NgxGpAutocompleteModule, typeof i17.CommonSharedModule], never>;
|
|
21
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<TangoManageStoresModule>;
|
|
22
23
|
}
|