tango-app-ui-store-builder 1.0.45 → 1.0.47
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/collection-update-ai/collection-update-ai.component.mjs +3 -3
- package/esm2022/lib/components/collection-update-ai/components/dynamic-filter/dynamic-filter.component.mjs +183 -0
- package/esm2022/lib/components/collection-update-ai/components/store-dropdown/store-dropdown.component.mjs +211 -0
- package/esm2022/lib/components/collection-update-ai/components/store-fixture/store-fixture.component.mjs +422 -0
- package/esm2022/lib/components/collection-update-ai/components/store-select/store-select.component.mjs +148 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-layout/cancel-confirmation-modal/cancel-confirmation-modal.component.mjs +20 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-layout/find-replace-layout.component.mjs +359 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-layout/prepare-template/batch-confirmation-modal/batch-confirmation-modal.component.mjs +23 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-layout/prepare-template/prepare-template.component.mjs +2524 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-layout/review-replace/approve-complete-modal/approve-complete-modal.component.mjs +66 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-layout/review-replace/fixture-before-after/fixture-before-after.component.mjs +85 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-layout/review-replace/review-replace.component.mjs +2039 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-table/find-replace-table.component.mjs +433 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-table/reschedule-modal/reschedule-modal.component.mjs +76 -0
- package/esm2022/lib/components/collection-update-ai/models/find-replace.model.mjs +2 -0
- package/esm2022/lib/components/collection-update-ai/services/data.service.mjs +291 -0
- package/esm2022/lib/components/fixture-template-table/fixture-template-table.component.mjs +33 -4
- package/esm2022/lib/components/manage-plano/rollout-table/rollout-table.component.mjs +25 -3
- package/esm2022/lib/components/manage-store-plano/manage-store-plano.component.mjs +133 -83
- package/esm2022/lib/components/manage-store-plano/verification-feedback/editable-fixture/editable-fixture.component.mjs +1 -1
- package/esm2022/lib/components/planogram/merch-compliance/fixture-products/fixture-products.component.mjs +75 -31
- package/esm2022/lib/components/planogram/merch-compliance/merch-compliance.component.mjs +4 -7
- package/esm2022/lib/components/planogram/merch-compliance/product-locator/misplaced-product-fixture/misplaced-product-fixture.component.mjs +228 -0
- package/esm2022/lib/components/planogram/merch-compliance/product-locator/product-locator.component.mjs +1105 -0
- package/esm2022/lib/components/planogram/merch-compliance/product-locator/product-zone-locator/product-zone-locator.component.mjs +20 -0
- package/esm2022/lib/components/planogram/merch-compliance/zone-products/zone-products.component.mjs +22 -9
- package/esm2022/lib/components/planogram/plano-analytics/date-range-picker/date-range-picker.component.mjs +92 -0
- package/esm2022/lib/components/planogram/plano-analytics/plano-analytics.component.mjs +106 -0
- package/esm2022/lib/components/planogram/plano-details-parent/plano-details-parent.component.mjs +21 -10
- package/esm2022/lib/components/planogram/plano-overview/fixture-overview/fixture-overview.component.mjs +41 -35
- package/esm2022/lib/components/planogram/plano-overview/plano-overview.component.mjs +3 -4
- package/esm2022/lib/components/popups/layout-edit-confirmation/layout-edit-confirmation.component.mjs +3 -3
- package/esm2022/lib/services/store-builder.service.mjs +46 -1
- package/esm2022/lib/tango-store-builder-routing.module.mjs +23 -1
- package/esm2022/lib/tango-store-builder.module.mjs +36 -5
- package/fesm2022/tango-app-ui-store-builder.mjs +10438 -1911
- package/fesm2022/tango-app-ui-store-builder.mjs.map +1 -1
- package/lib/components/collection-update-ai/components/dynamic-filter/dynamic-filter.component.d.ts +51 -0
- package/lib/components/collection-update-ai/components/store-dropdown/store-dropdown.component.d.ts +36 -0
- package/lib/components/collection-update-ai/components/store-fixture/store-fixture.component.d.ts +50 -0
- package/lib/components/collection-update-ai/components/store-select/store-select.component.d.ts +33 -0
- package/lib/components/collection-update-ai/find-replace-layout/cancel-confirmation-modal/cancel-confirmation-modal.component.d.ts +9 -0
- package/lib/components/collection-update-ai/find-replace-layout/find-replace-layout.component.d.ts +58 -0
- package/lib/components/collection-update-ai/find-replace-layout/prepare-template/batch-confirmation-modal/batch-confirmation-modal.component.d.ts +10 -0
- package/lib/components/collection-update-ai/find-replace-layout/prepare-template/prepare-template.component.d.ts +141 -0
- package/lib/components/collection-update-ai/find-replace-layout/review-replace/approve-complete-modal/approve-complete-modal.component.d.ts +18 -0
- package/lib/components/collection-update-ai/find-replace-layout/review-replace/fixture-before-after/fixture-before-after.component.d.ts +19 -0
- package/lib/components/collection-update-ai/find-replace-layout/review-replace/review-replace.component.d.ts +116 -0
- package/lib/components/collection-update-ai/find-replace-table/find-replace-table.component.d.ts +63 -0
- package/lib/components/collection-update-ai/find-replace-table/reschedule-modal/reschedule-modal.component.d.ts +19 -0
- package/lib/components/collection-update-ai/models/find-replace.model.d.ts +55 -0
- package/lib/components/collection-update-ai/services/data.service.d.ts +70 -0
- package/lib/components/fixture-template-table/fixture-template-table.component.d.ts +2 -0
- package/lib/components/manage-plano/rollout-table/rollout-table.component.d.ts +6 -4
- package/lib/components/manage-plano/verification-table/verification-table.component.d.ts +4 -4
- package/lib/components/manage-store-plano/manage-store-plano.component.d.ts +5 -1
- package/lib/components/planogram/merch-compliance/fixture-products/fixture-products.component.d.ts +8 -2
- package/lib/components/planogram/merch-compliance/merch-compliance.component.d.ts +1 -3
- package/lib/components/planogram/merch-compliance/product-locator/misplaced-product-fixture/misplaced-product-fixture.component.d.ts +45 -0
- package/lib/components/planogram/merch-compliance/product-locator/product-locator.component.d.ts +69 -0
- package/lib/components/planogram/merch-compliance/product-locator/product-zone-locator/product-zone-locator.component.d.ts +9 -0
- package/lib/components/planogram/merch-compliance/zone-products/zone-products.component.d.ts +10 -2
- package/lib/components/planogram/plano-analytics/date-range-picker/date-range-picker.component.d.ts +24 -0
- package/lib/components/planogram/plano-analytics/plano-analytics.component.d.ts +25 -0
- package/lib/components/planogram/plano-details-parent/plano-details-parent.component.d.ts +5 -1
- package/lib/components/planogram/plano-overview/fixture-overview/fixture-overview.component.d.ts +2 -4
- package/lib/services/store-builder.service.d.ts +24 -0
- package/lib/tango-store-builder.module.d.ts +29 -21
- package/package.json +1 -1
package/lib/components/collection-update-ai/components/dynamic-filter/dynamic-filter.component.d.ts
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface FilterOption {
|
|
4
|
+
name: string;
|
|
5
|
+
value: any;
|
|
6
|
+
checked: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface FilterConfig {
|
|
9
|
+
title: string;
|
|
10
|
+
type: "multi" | "single";
|
|
11
|
+
isOpened: boolean;
|
|
12
|
+
options: FilterOption[];
|
|
13
|
+
}
|
|
14
|
+
export declare class DynamicFilterComponent implements OnInit, OnChanges, OnDestroy {
|
|
15
|
+
filterObject: FilterConfig[];
|
|
16
|
+
isFilterOpen: boolean;
|
|
17
|
+
displayedOptions: FilterOption[][];
|
|
18
|
+
isFilterApplied: boolean;
|
|
19
|
+
filters: FilterConfig[];
|
|
20
|
+
applyFilters: EventEmitter<any>;
|
|
21
|
+
resetFilters: EventEmitter<any>;
|
|
22
|
+
filterChanged: EventEmitter<any>;
|
|
23
|
+
private readonly destroy$;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
26
|
+
initializeFilters(): void;
|
|
27
|
+
handleDocumentClick(event: MouseEvent): void;
|
|
28
|
+
toggleFilter(event: MouseEvent): void;
|
|
29
|
+
toggleItem(event: MouseEvent, itemIndex: number): void;
|
|
30
|
+
resetSearch(filterIndex: number): void;
|
|
31
|
+
onSingleSelect(filter: FilterConfig, option: FilterOption): void;
|
|
32
|
+
onOptionChange(filter: FilterConfig, option: FilterOption): void;
|
|
33
|
+
isAllVisibleSelected(filterIndex: number): boolean;
|
|
34
|
+
isAllVisibleSelectedByFilter(filter: FilterConfig): boolean;
|
|
35
|
+
toggleSelectAllVisible(event: any, filterIndex: number): void;
|
|
36
|
+
toggleSelectAllVisibleByFilter(event: any, filter: FilterConfig): void;
|
|
37
|
+
onSearch(event: any, filterIndex: number): void;
|
|
38
|
+
getSelectedData(): {
|
|
39
|
+
title: string;
|
|
40
|
+
selected: any;
|
|
41
|
+
}[];
|
|
42
|
+
emitFilterChanges(): void;
|
|
43
|
+
checkIfFilterApplied(): void;
|
|
44
|
+
onApplyFilter(): void;
|
|
45
|
+
onResetFilter(): void;
|
|
46
|
+
getSelectedCount(index: number): number;
|
|
47
|
+
getSelectedItem(index: number): FilterOption | null;
|
|
48
|
+
ngOnDestroy(): void;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFilterComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFilterComponent, "lib-dynamic-filter", never, { "filterObject": { "alias": "filterObject"; "required": false; }; }, { "applyFilters": "applyFilters"; "resetFilters": "resetFilters"; "filterChanged": "filterChanged"; }, never, never, true, never>;
|
|
51
|
+
}
|
package/lib/components/collection-update-ai/components/store-dropdown/store-dropdown.component.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { StoreBuilderService } from '../../../../services/store-builder.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class StoreDropdownComponent implements OnChanges, OnInit, OnDestroy {
|
|
5
|
+
private cd;
|
|
6
|
+
private authService;
|
|
7
|
+
onClick(event: MouseEvent): void;
|
|
8
|
+
items: any;
|
|
9
|
+
searchField: string;
|
|
10
|
+
multi: boolean;
|
|
11
|
+
idField: string;
|
|
12
|
+
selectedValues: any;
|
|
13
|
+
disabled: boolean | undefined;
|
|
14
|
+
label: string;
|
|
15
|
+
selected: EventEmitter<any>;
|
|
16
|
+
filteredValues: any;
|
|
17
|
+
showDropdown: boolean;
|
|
18
|
+
searchValue: string;
|
|
19
|
+
instanceId: any;
|
|
20
|
+
private destroy$;
|
|
21
|
+
private isUpdating;
|
|
22
|
+
constructor(cd: ChangeDetectorRef, authService: StoreBuilderService);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
26
|
+
initializeItems(): void;
|
|
27
|
+
updateSelectedValues(): void;
|
|
28
|
+
openDropdown(event: any): void;
|
|
29
|
+
onInput(event: any): void;
|
|
30
|
+
onSelect(event: any, item: any): void;
|
|
31
|
+
onSelectAll(event: any): void;
|
|
32
|
+
emitSelectedValues(values: any[]): void;
|
|
33
|
+
checkIfAllSelected(): any;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoreDropdownComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StoreDropdownComponent, "lib-store-dropdown", never, { "items": { "alias": "items"; "required": false; }; "searchField": { "alias": "searchField"; "required": false; }; "multi": { "alias": "multi"; "required": false; }; "idField": { "alias": "idField"; "required": false; }; "selectedValues": { "alias": "selectedValues"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "selected": "selected"; }, never, never, true, never>;
|
|
36
|
+
}
|
package/lib/components/collection-update-ai/components/store-fixture/store-fixture.component.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { StoreBuilderService } from "../../../../services/store-builder.service";
|
|
3
|
+
import { GlobalStateService } from "tango-app-ui-global";
|
|
4
|
+
import { SectionConfig, ShelfConfig } from "../../../../interfaces/fixture-template.interface";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class StoreFixtureComponent implements OnInit, OnChanges, AfterViewChecked, OnDestroy {
|
|
7
|
+
private apiService;
|
|
8
|
+
private gs;
|
|
9
|
+
private cd;
|
|
10
|
+
fixture: any;
|
|
11
|
+
showColors: boolean;
|
|
12
|
+
showVMs: boolean;
|
|
13
|
+
showBCs: boolean;
|
|
14
|
+
fixtureRoot: ElementRef<HTMLElement>;
|
|
15
|
+
clientId: string;
|
|
16
|
+
imgCDN: string;
|
|
17
|
+
shelfColors: {
|
|
18
|
+
text: string;
|
|
19
|
+
textBg: string;
|
|
20
|
+
bg: string;
|
|
21
|
+
border: string;
|
|
22
|
+
}[];
|
|
23
|
+
sectionByZones: {
|
|
24
|
+
zone: string;
|
|
25
|
+
section: {
|
|
26
|
+
brands: string[];
|
|
27
|
+
categories: string[];
|
|
28
|
+
shelves: string[];
|
|
29
|
+
shelfDivs: (HTMLElement | null | undefined)[];
|
|
30
|
+
};
|
|
31
|
+
}[];
|
|
32
|
+
isPageLoading: boolean;
|
|
33
|
+
private isVMInitialized;
|
|
34
|
+
private isBCInitialized;
|
|
35
|
+
private destroy$;
|
|
36
|
+
constructor(apiService: StoreBuilderService, gs: GlobalStateService, cd: ChangeDetectorRef);
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
39
|
+
ngAfterViewChecked(): void;
|
|
40
|
+
getSelectedVM(vm: any): any;
|
|
41
|
+
private get bodyEl();
|
|
42
|
+
handleVmPositionAndSize(): boolean;
|
|
43
|
+
applyShelfColors(): boolean;
|
|
44
|
+
constructSequentialSection(shelfDivs: (HTMLElement | null)[]): void;
|
|
45
|
+
groupShelvesByZone(input: ShelfConfig[]): SectionConfig[];
|
|
46
|
+
applySectionConfigToShelves(sections: SectionConfig[]): ShelfConfig[];
|
|
47
|
+
ngOnDestroy(): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoreFixtureComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StoreFixtureComponent, "lib-store-fixture", never, { "fixture": { "alias": "fixture"; "required": false; }; "showColors": { "alias": "showColors"; "required": false; }; "showVMs": { "alias": "showVMs"; "required": false; }; "showBCs": { "alias": "showBCs"; "required": false; }; }, {}, never, never, true, never>;
|
|
50
|
+
}
|
package/lib/components/collection-update-ai/components/store-select/store-select.component.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, OnChanges, SimpleChanges, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface StoreOption {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class StoreSelectComponent implements OnInit, OnChanges {
|
|
8
|
+
options: StoreOption[];
|
|
9
|
+
initialSelected: StoreOption[];
|
|
10
|
+
selectedChange: EventEmitter<StoreOption[]>;
|
|
11
|
+
inputWrapper: ElementRef;
|
|
12
|
+
selectedItems: Set<string>;
|
|
13
|
+
inputText: string;
|
|
14
|
+
isDropdownOpen: boolean;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
17
|
+
setInitialSelections(): void;
|
|
18
|
+
onDocumentClick(event: MouseEvent): void;
|
|
19
|
+
get selectedOptions(): StoreOption[];
|
|
20
|
+
get isAllSelected(): boolean;
|
|
21
|
+
get isIndeterminate(): boolean;
|
|
22
|
+
isSelected(id: string): boolean;
|
|
23
|
+
toggleSelectAll(): void;
|
|
24
|
+
onInputChange(event: Event): void;
|
|
25
|
+
onKeyDown(event: Event): void;
|
|
26
|
+
onInputClick(): void;
|
|
27
|
+
onInputFocus(): void;
|
|
28
|
+
toggleSelection(option: StoreOption): void;
|
|
29
|
+
removeChip(option: StoreOption, event: Event): void;
|
|
30
|
+
onDropdownClick(event: Event): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoreSelectComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StoreSelectComponent, "lib-store-select", never, { "options": { "alias": "options"; "required": false; }; "initialSelected": { "alias": "initialSelected"; "required": false; }; }, { "selectedChange": "selectedChange"; }, never, never, true, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CancelConfirmationModalComponent {
|
|
4
|
+
activeModal: NgbActiveModal;
|
|
5
|
+
onKeepProcessing(): void;
|
|
6
|
+
onCancelBatchProcess(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CancelConfirmationModalComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CancelConfirmationModalComponent, "lib-cancel-confirmation-modal", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
package/lib/components/collection-update-ai/find-replace-layout/find-replace-layout.component.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { FindReplace } from '../models/find-replace.model';
|
|
4
|
+
import { CollectionUpdateAiDataService } from '../services/data.service';
|
|
5
|
+
import { StoreBuilderService } from '../../../services/store-builder.service';
|
|
6
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class FindReplaceLayoutComponent implements OnInit, OnDestroy {
|
|
9
|
+
private route;
|
|
10
|
+
private router;
|
|
11
|
+
private dataService;
|
|
12
|
+
private storeBuilderService;
|
|
13
|
+
private modalService;
|
|
14
|
+
findReplaceData: FindReplace | null;
|
|
15
|
+
private destroy$;
|
|
16
|
+
loading: boolean;
|
|
17
|
+
private batchProgressInterval;
|
|
18
|
+
private isPollingActive;
|
|
19
|
+
constructor(route: ActivatedRoute, router: Router, dataService: CollectionUpdateAiDataService, storeBuilderService: StoreBuilderService, modalService: NgbModal);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
loadFindReplaceDataById(id: string): void;
|
|
22
|
+
onCancel(): Promise<void>;
|
|
23
|
+
private proceedWithCancel;
|
|
24
|
+
onBackToDashboard(): void;
|
|
25
|
+
onSaveDraft(): void;
|
|
26
|
+
isStep2Active(): boolean;
|
|
27
|
+
isLineActive(): boolean;
|
|
28
|
+
isBatchRunning(): boolean;
|
|
29
|
+
getBatchProgress(): number;
|
|
30
|
+
getStoreCount(): number;
|
|
31
|
+
get title(): string;
|
|
32
|
+
set title(value: string);
|
|
33
|
+
/**
|
|
34
|
+
* Handle status-based routing
|
|
35
|
+
*/
|
|
36
|
+
private handleStatusBasedRouting;
|
|
37
|
+
/**
|
|
38
|
+
* Update batch progress and refetch find replace data
|
|
39
|
+
* Returns a Promise that resolves when both API calls complete
|
|
40
|
+
*/
|
|
41
|
+
private updateBatchProgressAndRefetch;
|
|
42
|
+
/**
|
|
43
|
+
* Start polling for batch progress updates every 10 seconds
|
|
44
|
+
* Timer only starts after both update and get API calls complete
|
|
45
|
+
*/
|
|
46
|
+
private startBatchProgressPolling;
|
|
47
|
+
/**
|
|
48
|
+
* Schedule the next poll after both API calls complete
|
|
49
|
+
*/
|
|
50
|
+
private scheduleNextPoll;
|
|
51
|
+
/**
|
|
52
|
+
* Stop polling for batch progress updates
|
|
53
|
+
*/
|
|
54
|
+
private stopBatchProgressPolling;
|
|
55
|
+
ngOnDestroy(): void;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FindReplaceLayoutComponent, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FindReplaceLayoutComponent, "lib-find-replace-layout", never, {}, {}, never, never, true, never>;
|
|
58
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BatchConfirmationModalComponent {
|
|
4
|
+
activeModal: NgbActiveModal;
|
|
5
|
+
storeCount: number;
|
|
6
|
+
onCancel(): void;
|
|
7
|
+
onProceed(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BatchConfirmationModalComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BatchConfirmationModalComponent, "lib-batch-confirmation-modal", never, { "storeCount": { "alias": "storeCount"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, AfterViewInit, ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { TitleCasePipe } from '@angular/common';
|
|
3
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
4
|
+
import { StoreOption } from '../../components/store-select/store-select.component';
|
|
5
|
+
import { FormControl } from '@angular/forms';
|
|
6
|
+
import { StoreBuilderService } from '../../../../services/store-builder.service';
|
|
7
|
+
import { CollectionUpdateAiDataService } from '../../services/data.service';
|
|
8
|
+
import { Store, FindReplace } from '../../models/find-replace.model';
|
|
9
|
+
import * as fabric from "fabric";
|
|
10
|
+
import { VmLibraryList } from '../../../../interfaces/vm-library.interface';
|
|
11
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
12
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
13
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class PrepareTemplateComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
16
|
+
private storeBuilderService;
|
|
17
|
+
private dataService;
|
|
18
|
+
private titleCase;
|
|
19
|
+
private cdr;
|
|
20
|
+
private gs;
|
|
21
|
+
private router;
|
|
22
|
+
private route;
|
|
23
|
+
private toastService;
|
|
24
|
+
private modalService;
|
|
25
|
+
searchModes: {
|
|
26
|
+
value: string;
|
|
27
|
+
label: string;
|
|
28
|
+
}[];
|
|
29
|
+
selectedMode: FormControl<string | null>;
|
|
30
|
+
target: FormControl<string | null>;
|
|
31
|
+
findPrompt: FormControl<string | null>;
|
|
32
|
+
replacePrompt: FormControl<string | null>;
|
|
33
|
+
storeOptions: StoreOption[];
|
|
34
|
+
clusterData: any[];
|
|
35
|
+
loading: boolean;
|
|
36
|
+
savingDraft: boolean;
|
|
37
|
+
batchProcessing: boolean;
|
|
38
|
+
private destroy$;
|
|
39
|
+
selectedStores: StoreOption[];
|
|
40
|
+
findReplaceData: FindReplace | null;
|
|
41
|
+
selectedStoreForPreview: any;
|
|
42
|
+
storeListForDropdown: any[];
|
|
43
|
+
storeDropdownItems: any[];
|
|
44
|
+
selectedStoreValues: any[];
|
|
45
|
+
previewCanvasRef: ElementRef<HTMLCanvasElement>;
|
|
46
|
+
previewCanvasContainerRef: ElementRef<HTMLDivElement>;
|
|
47
|
+
previewCanvas: fabric.Canvas;
|
|
48
|
+
planoData: any;
|
|
49
|
+
floorData: any;
|
|
50
|
+
wallThickness: number;
|
|
51
|
+
verticalMargin: number;
|
|
52
|
+
cdnUrl: string;
|
|
53
|
+
activeHighlight: fabric.Rect | null;
|
|
54
|
+
cancelHighlightBlink: boolean;
|
|
55
|
+
selectedFixture: any;
|
|
56
|
+
selectedFixtureData: any;
|
|
57
|
+
originalFixtureData: any;
|
|
58
|
+
private originalFixturesMap;
|
|
59
|
+
isRightPanelCollapsed: boolean;
|
|
60
|
+
canvasLoading: boolean;
|
|
61
|
+
findLoading: boolean;
|
|
62
|
+
replaceLoading: boolean;
|
|
63
|
+
allFixtureInstances: any[];
|
|
64
|
+
vmList: VmLibraryList[];
|
|
65
|
+
clientId: string;
|
|
66
|
+
hideMetadata: boolean;
|
|
67
|
+
get hasStores(): boolean;
|
|
68
|
+
getStoreCount(): number;
|
|
69
|
+
getCurrentFixtureData(): any;
|
|
70
|
+
getFixtureLabel(): string;
|
|
71
|
+
getFixtureCategory(): string;
|
|
72
|
+
getFixtureWidth(): string;
|
|
73
|
+
getShelfCount(): number;
|
|
74
|
+
getFixtureCapacity(): number;
|
|
75
|
+
constructor(storeBuilderService: StoreBuilderService, dataService: CollectionUpdateAiDataService, titleCase: TitleCasePipe, cdr: ChangeDetectorRef, gs: GlobalStateService, router: Router, route: ActivatedRoute, toastService: ToastService, modalService: NgbModal);
|
|
76
|
+
private previousSearchMode;
|
|
77
|
+
private isInitialLoad;
|
|
78
|
+
private hasRestoredData;
|
|
79
|
+
private isUpdatingFromService;
|
|
80
|
+
ngOnInit(): void;
|
|
81
|
+
private restoreFormValues;
|
|
82
|
+
private updateStoreDropdownItems;
|
|
83
|
+
private updateSelectedStoreValues;
|
|
84
|
+
ngAfterViewInit(): void;
|
|
85
|
+
initializeCanvas(): boolean;
|
|
86
|
+
onStoreSelectedForPreview(store: any): void;
|
|
87
|
+
private restoreStoreResponseData;
|
|
88
|
+
private applyStoredResponseData;
|
|
89
|
+
private getFixtureByIdFromFloor;
|
|
90
|
+
loadPlanogramForStore(storeName: string): Promise<void>;
|
|
91
|
+
loadStoresOrClusters(savedData?: FindReplace): void;
|
|
92
|
+
restoreStoreSelections(savedStores: Store[]): void;
|
|
93
|
+
restoreClusterSelections(_savedStores: Store[]): void;
|
|
94
|
+
onStoresSelected(stores: StoreOption[]): void;
|
|
95
|
+
onReviewAndReplace(): Promise<void>;
|
|
96
|
+
private proceedWithBatchProcess;
|
|
97
|
+
onApply(): void;
|
|
98
|
+
setupZoomHandlers(canvas: fabric.Canvas): void;
|
|
99
|
+
getStoreFixtures(storeId: string): Promise<void>;
|
|
100
|
+
resizeCanvas(canvas: fabric.Canvas, container: ElementRef<HTMLDivElement>): void;
|
|
101
|
+
private fitCanvasToLayoutAnimated;
|
|
102
|
+
private getFullLayoutBounds;
|
|
103
|
+
renderFloor(canvas: fabric.Canvas): Promise<void>;
|
|
104
|
+
drawInitialContent(canvas: fabric.Canvas): Promise<void>;
|
|
105
|
+
private autoFindAndReplaceIfNeeded;
|
|
106
|
+
private autoFind;
|
|
107
|
+
private autoReplace;
|
|
108
|
+
onFind(): void;
|
|
109
|
+
onReplace(): void;
|
|
110
|
+
getCurrentStoreFindResponseData(): string | null;
|
|
111
|
+
private saveFindResponseData;
|
|
112
|
+
private saveReplaceResponseData;
|
|
113
|
+
updateAiResponseFixture(fixture: any): void;
|
|
114
|
+
highlightFixture(canvas: fabric.Canvas, group: any, blink?: boolean): void;
|
|
115
|
+
removeHighlight(canvas: fabric.Canvas): void;
|
|
116
|
+
toPixels(value: number, unit: string, dpi?: number): number;
|
|
117
|
+
drawLayoutElements(canvas: fabric.Canvas): Promise<true | undefined>;
|
|
118
|
+
drawWall(canvas: fabric.Canvas, x: number, y: number, height: number, width: number, elementData: any): Promise<fabric.Group & {
|
|
119
|
+
objType: string;
|
|
120
|
+
data: any;
|
|
121
|
+
}>;
|
|
122
|
+
drawEntrance(canvas: fabric.Canvas, x: number, y: number, width: number, height: number, arrowWidth: number, elementData: any): void;
|
|
123
|
+
drawFixture(canvas: fabric.Canvas, x: number, y: number, height: number, width: number, fixtureData: any): Promise<(fabric.Group & {
|
|
124
|
+
wallIndex: number;
|
|
125
|
+
fixtureIndex: number;
|
|
126
|
+
fixtureId: string;
|
|
127
|
+
fixtureType: "wall" | "floor";
|
|
128
|
+
issue: boolean;
|
|
129
|
+
issueData: any;
|
|
130
|
+
taskType: string;
|
|
131
|
+
vmConfig: [];
|
|
132
|
+
objType: string;
|
|
133
|
+
}) | undefined>;
|
|
134
|
+
drawOtherElementsWithLabel(canvas: fabric.Canvas, x: number, y: number, a: number, width: number, height: number, element: any): fabric.Group;
|
|
135
|
+
collectAllFixtures(): void;
|
|
136
|
+
onFixtureClick(target: any): void;
|
|
137
|
+
toggleRightPanel(): void;
|
|
138
|
+
ngOnDestroy(): void;
|
|
139
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PrepareTemplateComponent, never>;
|
|
140
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PrepareTemplateComponent, "lib-prepare-template", never, {}, {}, never, never, true, never>;
|
|
141
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ApproveCompleteModalComponent implements OnInit {
|
|
5
|
+
activeModal: NgbActiveModal;
|
|
6
|
+
dateInput: ElementRef<HTMLInputElement>;
|
|
7
|
+
initialSchedule: boolean;
|
|
8
|
+
initialScheduleDate: string | null;
|
|
9
|
+
schedule: boolean;
|
|
10
|
+
scheduleDate: string;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
get minDate(): string;
|
|
13
|
+
openDatePicker(event: Event): void;
|
|
14
|
+
onCancel(): void;
|
|
15
|
+
onApproveAndComplete(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApproveCompleteModalComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApproveCompleteModalComponent, "lib-approve-complete-modal", never, { "initialSchedule": { "alias": "initialSchedule"; "required": false; }; "initialScheduleDate": { "alias": "initialScheduleDate"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { NgbActiveOffcanvas } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FixtureBeforeAfterComponent implements OnInit, OnChanges {
|
|
5
|
+
activeOffcanvas: NgbActiveOffcanvas;
|
|
6
|
+
selectedFixtureData: any;
|
|
7
|
+
originalFixtureData: any;
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
10
|
+
private ensureFixtureDataStructure;
|
|
11
|
+
getCurrentFixtureData(): any;
|
|
12
|
+
getFixtureLabel(): string;
|
|
13
|
+
getFixtureCategory(): string;
|
|
14
|
+
getFixtureWidth(): string;
|
|
15
|
+
getShelfCount(): number;
|
|
16
|
+
getFixtureCapacity(): number;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FixtureBeforeAfterComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FixtureBeforeAfterComponent, "lib-fixture-before-after", never, { "selectedFixtureData": { "alias": "selectedFixtureData"; "required": false; }; "originalFixtureData": { "alias": "originalFixtureData"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, AfterViewInit, ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { TitleCasePipe } from '@angular/common';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { CollectionUpdateAiDataService } from '../../services/data.service';
|
|
5
|
+
import { Store, FindReplace } from '../../models/find-replace.model';
|
|
6
|
+
import { StoreBuilderService } from '../../../../services/store-builder.service';
|
|
7
|
+
import * as fabric from "fabric";
|
|
8
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
9
|
+
import { NgbOffcanvas, NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class ReviewReplaceComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
12
|
+
private dataService;
|
|
13
|
+
private storeBuilderService;
|
|
14
|
+
private cdr;
|
|
15
|
+
private gs;
|
|
16
|
+
private titleCase;
|
|
17
|
+
private offcanvasService;
|
|
18
|
+
private modalService;
|
|
19
|
+
private router;
|
|
20
|
+
findReplaceData: FindReplace | null;
|
|
21
|
+
stores: Store[];
|
|
22
|
+
filteredStores: Store[];
|
|
23
|
+
selectedStores: Set<string>;
|
|
24
|
+
searchTerm: string;
|
|
25
|
+
selectedStore: Store | null;
|
|
26
|
+
selectedStatusFilters: Set<string>;
|
|
27
|
+
statusOptions: {
|
|
28
|
+
value: string;
|
|
29
|
+
label: string;
|
|
30
|
+
}[];
|
|
31
|
+
previewCanvasRef: ElementRef<HTMLCanvasElement>;
|
|
32
|
+
previewCanvasContainerRef: ElementRef<HTMLDivElement>;
|
|
33
|
+
previewCanvas: fabric.Canvas;
|
|
34
|
+
planoData: any;
|
|
35
|
+
floorData: any;
|
|
36
|
+
canvasLoading: boolean;
|
|
37
|
+
approveLoading: boolean;
|
|
38
|
+
cdnUrl: string;
|
|
39
|
+
wallThickness: number;
|
|
40
|
+
verticalMargin: number;
|
|
41
|
+
allFixtureInstances: any[];
|
|
42
|
+
selectedFixture: any;
|
|
43
|
+
selectedFixtureData: any;
|
|
44
|
+
originalFixtureData: any;
|
|
45
|
+
private originalFixturesMap;
|
|
46
|
+
private activeHighlight;
|
|
47
|
+
private cancelHighlightBlink;
|
|
48
|
+
private destroy$;
|
|
49
|
+
limit: number;
|
|
50
|
+
offset: number;
|
|
51
|
+
totalItems: number;
|
|
52
|
+
paginationSizes: number[];
|
|
53
|
+
constructor(dataService: CollectionUpdateAiDataService, storeBuilderService: StoreBuilderService, cdr: ChangeDetectorRef, gs: GlobalStateService, titleCase: TitleCasePipe, offcanvasService: NgbOffcanvas, modalService: NgbModal, router: Router);
|
|
54
|
+
ngOnInit(): void;
|
|
55
|
+
ngAfterViewInit(): void;
|
|
56
|
+
initializeCanvas(): boolean;
|
|
57
|
+
setupZoomHandlers(canvas: fabric.Canvas): void;
|
|
58
|
+
onStoreSelect(store: Store): void;
|
|
59
|
+
loadPlanogramForStore(storeName: string): Promise<void>;
|
|
60
|
+
getStoreFixtures(storeId: string): Promise<void>;
|
|
61
|
+
private applyStoredResponseData;
|
|
62
|
+
private getFixtureByIdFromFloor;
|
|
63
|
+
private updateAiResponseFixture;
|
|
64
|
+
collectAllFixtures(): void;
|
|
65
|
+
renderFloor(canvas: fabric.Canvas): Promise<void>;
|
|
66
|
+
drawInitialContent(canvas: fabric.Canvas): Promise<void>;
|
|
67
|
+
drawLayoutElements(canvas: fabric.Canvas): Promise<true | undefined>;
|
|
68
|
+
drawWall(canvas: fabric.Canvas, x: number, y: number, height: number, width: number, elementData: any): Promise<fabric.Group & {
|
|
69
|
+
objType: string;
|
|
70
|
+
data: any;
|
|
71
|
+
}>;
|
|
72
|
+
drawEntrance(canvas: fabric.Canvas, x: number, y: number, width: number, height: number, arrowWidth: number, elementData: any): void;
|
|
73
|
+
drawFixture(canvas: fabric.Canvas, x: number, y: number, height: number, width: number, fixtureData: any): Promise<(fabric.Group & {
|
|
74
|
+
wallIndex: number;
|
|
75
|
+
fixtureIndex: number;
|
|
76
|
+
fixtureId: string;
|
|
77
|
+
fixtureType: "wall" | "floor";
|
|
78
|
+
issue: boolean;
|
|
79
|
+
issueData: any;
|
|
80
|
+
taskType: string;
|
|
81
|
+
vmConfig: [];
|
|
82
|
+
objType: string;
|
|
83
|
+
}) | undefined>;
|
|
84
|
+
drawOtherElementsWithLabel(canvas: fabric.Canvas, x: number, y: number, a: number, width: number, height: number, element: any): fabric.Group;
|
|
85
|
+
resizeCanvas(canvas: fabric.Canvas, container: ElementRef<HTMLDivElement>): void;
|
|
86
|
+
private fitCanvasToLayoutAnimated;
|
|
87
|
+
private getFullLayoutBounds;
|
|
88
|
+
toPixels(value: number, unit: string, dpi?: number): number;
|
|
89
|
+
onSelectAll(checked: boolean): void;
|
|
90
|
+
onStoreCheckboxChange(store: Store, checked: boolean): void;
|
|
91
|
+
isStoreSelected(storeName: string): boolean;
|
|
92
|
+
isAllSelected(): boolean;
|
|
93
|
+
onSearch(): void;
|
|
94
|
+
applyFilters(): void;
|
|
95
|
+
get paginatedStores(): Store[];
|
|
96
|
+
onDownload(): void;
|
|
97
|
+
onFilter(): void;
|
|
98
|
+
onStatusFilterChange(status: string, event: any): void;
|
|
99
|
+
isStatusFilterSelected(status: string): boolean;
|
|
100
|
+
clearFilters(): void;
|
|
101
|
+
hasActiveFilters(): boolean;
|
|
102
|
+
onApproveAndComplete(): Promise<void>;
|
|
103
|
+
hasNoMatch(store: Store): boolean;
|
|
104
|
+
isApproved(): boolean;
|
|
105
|
+
previousNext(step: 'previous' | 'next'): void;
|
|
106
|
+
paginationSize(): number;
|
|
107
|
+
onPageChange(page: number): void;
|
|
108
|
+
onPageSizeChange(size: number): void;
|
|
109
|
+
highlightFixture(canvas: fabric.Canvas, group: any, blink?: boolean): void;
|
|
110
|
+
removeHighlight(canvas: fabric.Canvas): void;
|
|
111
|
+
onFixtureClick(target: any): void;
|
|
112
|
+
openFixtureOffcanvas(): void;
|
|
113
|
+
ngOnDestroy(): void;
|
|
114
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReviewReplaceComponent, never>;
|
|
115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReviewReplaceComponent, "lib-review-replace", never, {}, {}, never, never, true, never>;
|
|
116
|
+
}
|
package/lib/components/collection-update-ai/find-replace-table/find-replace-table.component.d.ts
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { FilterConfig } from '../components/dynamic-filter/dynamic-filter.component';
|
|
4
|
+
import { StoreBuilderService } from '../../../services/store-builder.service';
|
|
5
|
+
import { FindReplace } from '../models/find-replace.model';
|
|
6
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
7
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
8
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class FindReplaceTableComponent implements OnInit, OnDestroy {
|
|
11
|
+
private storeBuilderService;
|
|
12
|
+
private router;
|
|
13
|
+
private ngbModal;
|
|
14
|
+
private toast;
|
|
15
|
+
private gs;
|
|
16
|
+
findReplaceList: FindReplace[];
|
|
17
|
+
searchTerm: string;
|
|
18
|
+
limit: number;
|
|
19
|
+
offset: number;
|
|
20
|
+
totalItems: number;
|
|
21
|
+
paginationSizes: number[];
|
|
22
|
+
sortedColumn: string;
|
|
23
|
+
sortOrder: number;
|
|
24
|
+
appliedFilters: any;
|
|
25
|
+
filterObject: FilterConfig[];
|
|
26
|
+
isPageLoading: boolean;
|
|
27
|
+
isError: boolean;
|
|
28
|
+
clientId: string;
|
|
29
|
+
private readonly destroy$;
|
|
30
|
+
private findReplaceSub?;
|
|
31
|
+
private searchSubject;
|
|
32
|
+
constructor(storeBuilderService: StoreBuilderService, router: Router, ngbModal: NgbModal, toast: ToastService, gs: GlobalStateService);
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
getFindReplaceList(): void;
|
|
35
|
+
onSearchInput(event: Event): void;
|
|
36
|
+
onSearch(): void;
|
|
37
|
+
clearSearch(): void;
|
|
38
|
+
onSortTable(column: string): void;
|
|
39
|
+
applyFilters(event: any): void;
|
|
40
|
+
onPageChange(pageOffset: number): void;
|
|
41
|
+
onPageSizeChange(pageSize: number): void;
|
|
42
|
+
paginationSize(): number;
|
|
43
|
+
getStatusBadgeClass(status: string): string;
|
|
44
|
+
getStatusDisplay(status: string): string;
|
|
45
|
+
getTargetDisplay(target?: string): string;
|
|
46
|
+
formatDate(dateString?: string): string;
|
|
47
|
+
onFindAndReplaceClick(): void;
|
|
48
|
+
onNameClick(item: FindReplace): void;
|
|
49
|
+
shouldShowDelete(item: FindReplace): boolean;
|
|
50
|
+
shouldShowCancel(item: FindReplace): boolean;
|
|
51
|
+
shouldShowEdit(item: FindReplace): boolean;
|
|
52
|
+
shouldShowReschedule(item: FindReplace): boolean;
|
|
53
|
+
hasAnyAction(item: FindReplace): boolean;
|
|
54
|
+
onEdit(item: FindReplace): void;
|
|
55
|
+
confirmDeletion(): Promise<boolean>;
|
|
56
|
+
onDelete(item: FindReplace): Promise<void>;
|
|
57
|
+
confirmCancel(): Promise<boolean>;
|
|
58
|
+
onCancel(item: FindReplace): Promise<void>;
|
|
59
|
+
onReschedule(item: FindReplace): Promise<void>;
|
|
60
|
+
ngOnDestroy(): void;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FindReplaceTableComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FindReplaceTableComponent, "lib-find-replace-table", never, {}, {}, never, never, true, never>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RescheduleModalComponent {
|
|
5
|
+
activeModal: NgbActiveModal;
|
|
6
|
+
dateInput: ElementRef<HTMLInputElement>;
|
|
7
|
+
initialScheduleDate: string | null;
|
|
8
|
+
initialSchedule: boolean;
|
|
9
|
+
schedule: boolean;
|
|
10
|
+
scheduleDate: string;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
get minDate(): string;
|
|
13
|
+
openDatePicker(event: Event): void;
|
|
14
|
+
onCancel(): void;
|
|
15
|
+
onScheduleChange(): void;
|
|
16
|
+
onReschedule(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RescheduleModalComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RescheduleModalComponent, "lib-reschedule-modal", never, { "initialScheduleDate": { "alias": "initialScheduleDate"; "required": false; }; "initialSchedule": { "alias": "initialSchedule"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|