@rolatech/angular-services 18.1.1 → 19.0.0-beta.0
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/fesm2022/rolatech-angular-services.mjs +174 -144
- package/fesm2022/rolatech-angular-services.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/services/base.service.d.ts +3 -3
- package/lib/services/fulfillment.service.d.ts +9 -0
- package/lib/services/index.d.ts +2 -1
- package/lib/services/order.service.d.ts +2 -0
- package/package.json +15 -7
- package/themes/_default.scss +1 -1
- package/esm2022/index.mjs +0 -7
- package/esm2022/lib/components/dialog/dialog.component.mjs +0 -74
- package/esm2022/lib/directive/back-button.directive.mjs +0 -23
- package/esm2022/lib/directive/index.mjs +0 -4
- package/esm2022/lib/interceptor/index.mjs +0 -2
- package/esm2022/lib/interceptor/loading.interceptor.mjs +0 -33
- package/esm2022/lib/interfaces/dialog.interface.mjs +0 -2
- package/esm2022/lib/interfaces/index.mjs +0 -2
- package/esm2022/lib/services/base.service.mjs +0 -62
- package/esm2022/lib/services/breadcrumb.service.mjs +0 -34
- package/esm2022/lib/services/cart.service.mjs +0 -82
- package/esm2022/lib/services/dialog.service.mjs +0 -28
- package/esm2022/lib/services/index.mjs +0 -21
- package/esm2022/lib/services/inventory.service.mjs +0 -75
- package/esm2022/lib/services/layout.service.mjs +0 -21
- package/esm2022/lib/services/loading.service.mjs +0 -30
- package/esm2022/lib/services/media.service.mjs +0 -54
- package/esm2022/lib/services/navigation.service.mjs +0 -50
- package/esm2022/lib/services/notification-template.service.mjs +0 -49
- package/esm2022/lib/services/notification.service.mjs +0 -81
- package/esm2022/lib/services/order.service.mjs +0 -83
- package/esm2022/lib/services/product-category.service.mjs +0 -38
- package/esm2022/lib/services/product.service.mjs +0 -178
- package/esm2022/lib/services/sidenav.service.mjs +0 -35
- package/esm2022/lib/services/snack-bar.service.mjs +0 -18
- package/esm2022/lib/services/support.service.mjs +0 -75
- package/esm2022/lib/services/theme.service.mjs +0 -48
- package/esm2022/lib/state/notification.store.mjs +0 -18
- package/esm2022/provider.mjs +0 -32
- package/esm2022/rolatech-angular-services.mjs +0 -5
|
@@ -1,19 +1,88 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject,
|
|
2
|
+
import { inject, viewChild, ViewContainerRef, OutputEmitterRef, EventEmitter, Component, HostListener, Injectable, PLATFORM_ID, Directive, APP_INITIALIZER, makeEnvironmentProviders } from '@angular/core';
|
|
3
|
+
import { MAT_DIALOG_DATA, MatDialogRef, MatDialogActions, MatDialogTitle, MatDialogContent, MatDialog } from '@angular/material/dialog';
|
|
4
|
+
import * as i1 from '@angular/material/button';
|
|
5
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
3
6
|
import { switchMap, map, take, BehaviorSubject } from 'rxjs';
|
|
4
7
|
import _ from 'lodash';
|
|
5
8
|
import { HttpClient, HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
6
9
|
import { APP_CONFIG } from '@rolatech/angular-common';
|
|
7
10
|
import { Location, isPlatformBrowser } from '@angular/common';
|
|
8
11
|
import { Router, NavigationEnd } from '@angular/router';
|
|
9
|
-
import { MAT_DIALOG_DATA, MatDialogRef, MatDialogActions, MatDialogTitle, MatDialogContent, MatDialogClose, MatDialog } from '@angular/material/dialog';
|
|
10
|
-
import * as i1 from '@angular/material/button';
|
|
11
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
12
12
|
import * as i1$1 from '@angular/cdk/layout';
|
|
13
13
|
import { Breakpoints, MediaMatcher } from '@angular/cdk/layout';
|
|
14
14
|
import { map as map$1, shareReplay, finalize } from 'rxjs/operators';
|
|
15
15
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
16
16
|
|
|
17
|
+
class DialogComponent {
|
|
18
|
+
onEsc() {
|
|
19
|
+
this.close(false);
|
|
20
|
+
}
|
|
21
|
+
data = inject(MAT_DIALOG_DATA);
|
|
22
|
+
result;
|
|
23
|
+
dialogRef = inject((MatDialogRef));
|
|
24
|
+
componentRef = viewChild.required('container', { read: ViewContainerRef });
|
|
25
|
+
ngOnInit() {
|
|
26
|
+
this.createComponent();
|
|
27
|
+
}
|
|
28
|
+
ngOnDestroy() {
|
|
29
|
+
this.componentRef().clear();
|
|
30
|
+
}
|
|
31
|
+
createComponent() {
|
|
32
|
+
this.componentRef().clear();
|
|
33
|
+
if (this.data.component) {
|
|
34
|
+
const componentRef = this.componentRef().createComponent(this.data.component);
|
|
35
|
+
const hostedComponent = componentRef.instance;
|
|
36
|
+
if (this.data.data) {
|
|
37
|
+
Object.keys(this.data.data).forEach((inputName) => {
|
|
38
|
+
// hostedComponent[inputName] = this.data.data[inputName];
|
|
39
|
+
const signalInput = typeof hostedComponent[inputName] === 'function';
|
|
40
|
+
if (signalInput) {
|
|
41
|
+
// hostedComponent[inputName] = input(this.data.data[inputName]);
|
|
42
|
+
hostedComponent[inputName].set(this.data.data[inputName]);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
hostedComponent[inputName] = this.data.data[inputName];
|
|
46
|
+
}
|
|
47
|
+
// hostedComponent[inputName] = signalInput ? input<any>(this.data.data[inputName]) : this.data.data[inputName];
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
Object.keys(hostedComponent)
|
|
51
|
+
.filter((prop) => {
|
|
52
|
+
return hostedComponent[prop] instanceof OutputEmitterRef;
|
|
53
|
+
})
|
|
54
|
+
.forEach((event) => {
|
|
55
|
+
this[event] = new EventEmitter();
|
|
56
|
+
hostedComponent[event].subscribe((data) => {
|
|
57
|
+
this[event].emit(data);
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
this.dialogRef.afterOpened().subscribe(() => {
|
|
62
|
+
if (this.dialogRef.componentInstance['output']) {
|
|
63
|
+
this.dialogRef.componentInstance['output'].subscribe((res) => {
|
|
64
|
+
this.result = res;
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
close(value = false) {
|
|
70
|
+
this.dialogRef.close(value);
|
|
71
|
+
}
|
|
72
|
+
confirm() {
|
|
73
|
+
this.close(this.result || true);
|
|
74
|
+
}
|
|
75
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: DialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
76
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.0.3", type: DialogComponent, isStandalone: true, selector: "rolatech-dialog", host: { listeners: { "keydown.esc": "onEsc()" } }, viewQueries: [{ propertyName: "componentRef", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, isSignal: true }], ngImport: i0, template: "<div class=\"min-w-[320px]\">\n <h1 class=\"text-xl\" mat-dialog-title>{{ data.title }}</h1>\n <mat-dialog-content>\n <div>\n <p>{{ data.message }}</p>\n <ng-template #container></ng-template>\n <!-- <ng-container #container></ng-container> -->\n </div>\n </mat-dialog-content>\n <div class=\"flex-1\"></div>\n <mat-dialog-actions>\n <button mat-button (click)=\"close()\">{{ data.cancelText ? data.cancelText : 'Cancel' }}</button>\n <button mat-flat-button class=\"w-20\" (click)=\"confirm()\">{{ data.confirmText ? data.confirmText : 'Ok' }}</button>\n </mat-dialog-actions>\n <!-- <div class=\"flex justify-end items-center p-2 gap-3\">\n <a mat-button (click)=\"cancel()\">{{ data.cancelText ? data.cancelText : 'Cancel' }}</a>\n <a mat-flat-button class=\"w-20\" (click)=\"confirm()\">{{ data.confirmText ? data.confirmText : 'Ok' }}</a>\n </div> -->\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }] });
|
|
77
|
+
}
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: DialogComponent, decorators: [{
|
|
79
|
+
type: Component,
|
|
80
|
+
args: [{ selector: 'rolatech-dialog', imports: [MatButtonModule, MatDialogActions, MatDialogTitle, MatDialogContent], template: "<div class=\"min-w-[320px]\">\n <h1 class=\"text-xl\" mat-dialog-title>{{ data.title }}</h1>\n <mat-dialog-content>\n <div>\n <p>{{ data.message }}</p>\n <ng-template #container></ng-template>\n <!-- <ng-container #container></ng-container> -->\n </div>\n </mat-dialog-content>\n <div class=\"flex-1\"></div>\n <mat-dialog-actions>\n <button mat-button (click)=\"close()\">{{ data.cancelText ? data.cancelText : 'Cancel' }}</button>\n <button mat-flat-button class=\"w-20\" (click)=\"confirm()\">{{ data.confirmText ? data.confirmText : 'Ok' }}</button>\n </mat-dialog-actions>\n <!-- <div class=\"flex justify-end items-center p-2 gap-3\">\n <a mat-button (click)=\"cancel()\">{{ data.cancelText ? data.cancelText : 'Cancel' }}</a>\n <a mat-flat-button class=\"w-20\" (click)=\"confirm()\">{{ data.confirmText ? data.confirmText : 'Ok' }}</a>\n </div> -->\n</div>\n" }]
|
|
81
|
+
}], propDecorators: { onEsc: [{
|
|
82
|
+
type: HostListener,
|
|
83
|
+
args: ['keydown.esc']
|
|
84
|
+
}] } });
|
|
85
|
+
|
|
17
86
|
class BaseService {
|
|
18
87
|
http = inject(HttpClient);
|
|
19
88
|
environment = inject(APP_CONFIG);
|
|
@@ -25,16 +94,16 @@ class BaseService {
|
|
|
25
94
|
init() {
|
|
26
95
|
this.actionUrl = `${this.environment.baseUrl}/${this.endpoint}`;
|
|
27
96
|
}
|
|
28
|
-
find(options) {
|
|
97
|
+
find(options, withCredentials = true) {
|
|
29
98
|
return this.http.get(this.actionUrl, {
|
|
30
99
|
params: options,
|
|
31
|
-
withCredentials
|
|
100
|
+
withCredentials,
|
|
32
101
|
});
|
|
33
102
|
}
|
|
34
|
-
get(id, options) {
|
|
103
|
+
get(id, options, withCredentials = true) {
|
|
35
104
|
return this.http.get(`${this.actionUrl}/${id}`, {
|
|
36
105
|
params: options,
|
|
37
|
-
withCredentials
|
|
106
|
+
withCredentials,
|
|
38
107
|
});
|
|
39
108
|
}
|
|
40
109
|
create(item) {
|
|
@@ -57,15 +126,15 @@ class BaseService {
|
|
|
57
126
|
withCredentials: true,
|
|
58
127
|
});
|
|
59
128
|
}
|
|
60
|
-
search(word) {
|
|
129
|
+
search(word, withCredentials = true) {
|
|
61
130
|
return this.http.get(`${this.actionUrl}?search=${word}`, {
|
|
62
|
-
withCredentials
|
|
131
|
+
withCredentials,
|
|
63
132
|
});
|
|
64
133
|
}
|
|
65
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
66
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
134
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: BaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
135
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: BaseService, providedIn: 'root' });
|
|
67
136
|
}
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: BaseService, decorators: [{
|
|
69
138
|
type: Injectable,
|
|
70
139
|
args: [{
|
|
71
140
|
providedIn: 'root',
|
|
@@ -237,10 +306,10 @@ class ProductService extends BaseService {
|
|
|
237
306
|
withCredentials: true,
|
|
238
307
|
});
|
|
239
308
|
}
|
|
240
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
241
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
309
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: ProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
310
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: ProductService, providedIn: 'root' });
|
|
242
311
|
}
|
|
243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: ProductService, decorators: [{
|
|
244
313
|
type: Injectable,
|
|
245
314
|
args: [{
|
|
246
315
|
providedIn: 'root',
|
|
@@ -313,10 +382,10 @@ class CartService extends BaseService {
|
|
|
313
382
|
withCredentials: true,
|
|
314
383
|
});
|
|
315
384
|
}
|
|
316
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
317
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
385
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CartService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
386
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CartService, providedIn: 'root' });
|
|
318
387
|
}
|
|
319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: CartService, decorators: [{
|
|
320
389
|
type: Injectable,
|
|
321
390
|
args: [{
|
|
322
391
|
providedIn: 'root',
|
|
@@ -359,85 +428,16 @@ class NavigationService {
|
|
|
359
428
|
}
|
|
360
429
|
return '';
|
|
361
430
|
}
|
|
362
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
363
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
431
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NavigationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
432
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NavigationService, providedIn: 'root' });
|
|
364
433
|
}
|
|
365
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NavigationService, decorators: [{
|
|
366
435
|
type: Injectable,
|
|
367
436
|
args: [{
|
|
368
437
|
providedIn: 'root',
|
|
369
438
|
}]
|
|
370
439
|
}], ctorParameters: () => [] });
|
|
371
440
|
|
|
372
|
-
class DialogComponent {
|
|
373
|
-
onEsc() {
|
|
374
|
-
this.close(false);
|
|
375
|
-
}
|
|
376
|
-
data = inject(MAT_DIALOG_DATA);
|
|
377
|
-
result;
|
|
378
|
-
dialogRef = inject((MatDialogRef));
|
|
379
|
-
componentRef = viewChild.required('container', { read: ViewContainerRef });
|
|
380
|
-
ngOnInit() {
|
|
381
|
-
this.createComponent();
|
|
382
|
-
}
|
|
383
|
-
ngOnDestroy() {
|
|
384
|
-
this.componentRef().clear();
|
|
385
|
-
}
|
|
386
|
-
createComponent() {
|
|
387
|
-
this.componentRef().clear();
|
|
388
|
-
if (this.data.component) {
|
|
389
|
-
const componentRef = this.componentRef().createComponent(this.data.component);
|
|
390
|
-
const hostedComponent = componentRef.instance;
|
|
391
|
-
if (this.data.data) {
|
|
392
|
-
Object.keys(this.data.data).forEach((inputName) => {
|
|
393
|
-
// hostedComponent[inputName] = this.data.data[inputName];
|
|
394
|
-
const signalInput = typeof hostedComponent[inputName] === 'function';
|
|
395
|
-
if (signalInput) {
|
|
396
|
-
// hostedComponent[inputName] = input(this.data.data[inputName]);
|
|
397
|
-
hostedComponent[inputName].set(this.data.data[inputName]);
|
|
398
|
-
}
|
|
399
|
-
else {
|
|
400
|
-
hostedComponent[inputName] = this.data.data[inputName];
|
|
401
|
-
}
|
|
402
|
-
// hostedComponent[inputName] = signalInput ? input<any>(this.data.data[inputName]) : this.data.data[inputName];
|
|
403
|
-
});
|
|
404
|
-
}
|
|
405
|
-
Object.keys(hostedComponent)
|
|
406
|
-
.filter((prop) => {
|
|
407
|
-
return hostedComponent[prop] instanceof OutputEmitterRef;
|
|
408
|
-
})
|
|
409
|
-
.forEach((event) => {
|
|
410
|
-
this[event] = new EventEmitter();
|
|
411
|
-
hostedComponent[event].subscribe((data) => {
|
|
412
|
-
this[event].emit(data);
|
|
413
|
-
});
|
|
414
|
-
});
|
|
415
|
-
}
|
|
416
|
-
this.dialogRef.afterOpened().subscribe(() => {
|
|
417
|
-
if (this.dialogRef.componentInstance['output']) {
|
|
418
|
-
this.dialogRef.componentInstance['output'].subscribe((res) => {
|
|
419
|
-
this.result = res;
|
|
420
|
-
});
|
|
421
|
-
}
|
|
422
|
-
});
|
|
423
|
-
}
|
|
424
|
-
close(value = false) {
|
|
425
|
-
this.dialogRef.close(value);
|
|
426
|
-
}
|
|
427
|
-
confirm() {
|
|
428
|
-
this.close(this.result || true);
|
|
429
|
-
}
|
|
430
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: DialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
431
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.8", type: DialogComponent, isStandalone: true, selector: "rolatech-dialog", host: { listeners: { "keydown.esc": "onEsc()" } }, viewQueries: [{ propertyName: "componentRef", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, isSignal: true }], ngImport: i0, template: "<div class=\"min-w-[320px]\">\n <h1 class=\"text-xl\" mat-dialog-title>{{ data.title }}</h1>\n <mat-dialog-content>\n <div>\n <p>{{ data.message }}</p>\n <ng-template #container></ng-template>\n <!-- <ng-container #container></ng-container> -->\n </div>\n </mat-dialog-content>\n <div class=\"flex-1\"></div>\n <mat-dialog-actions>\n <button mat-button (click)=\"close()\">{{ data.cancelText ? data.cancelText : 'Cancel' }}</button>\n <button mat-flat-button class=\"w-20\" (click)=\"confirm()\">{{ data.confirmText ? data.confirmText : 'Ok' }}</button>\n </mat-dialog-actions>\n <!-- <div class=\"flex justify-end items-center p-2 gap-3\">\n <a mat-button (click)=\"cancel()\">{{ data.cancelText ? data.cancelText : 'Cancel' }}</a>\n <a mat-flat-button class=\"w-20\" (click)=\"confirm()\">{{ data.confirmText ? data.confirmText : 'Ok' }}</a>\n </div> -->\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }] });
|
|
432
|
-
}
|
|
433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: DialogComponent, decorators: [{
|
|
434
|
-
type: Component,
|
|
435
|
-
args: [{ selector: 'rolatech-dialog', standalone: true, imports: [MatButtonModule, MatDialogActions, MatDialogClose, MatDialogTitle, MatDialogContent], template: "<div class=\"min-w-[320px]\">\n <h1 class=\"text-xl\" mat-dialog-title>{{ data.title }}</h1>\n <mat-dialog-content>\n <div>\n <p>{{ data.message }}</p>\n <ng-template #container></ng-template>\n <!-- <ng-container #container></ng-container> -->\n </div>\n </mat-dialog-content>\n <div class=\"flex-1\"></div>\n <mat-dialog-actions>\n <button mat-button (click)=\"close()\">{{ data.cancelText ? data.cancelText : 'Cancel' }}</button>\n <button mat-flat-button class=\"w-20\" (click)=\"confirm()\">{{ data.confirmText ? data.confirmText : 'Ok' }}</button>\n </mat-dialog-actions>\n <!-- <div class=\"flex justify-end items-center p-2 gap-3\">\n <a mat-button (click)=\"cancel()\">{{ data.cancelText ? data.cancelText : 'Cancel' }}</a>\n <a mat-flat-button class=\"w-20\" (click)=\"confirm()\">{{ data.confirmText ? data.confirmText : 'Ok' }}</a>\n </div> -->\n</div>\n" }]
|
|
436
|
-
}], propDecorators: { onEsc: [{
|
|
437
|
-
type: HostListener,
|
|
438
|
-
args: ['keydown.esc']
|
|
439
|
-
}] } });
|
|
440
|
-
|
|
441
441
|
class DialogService {
|
|
442
442
|
dialog = inject(MatDialog);
|
|
443
443
|
dialogRef;
|
|
@@ -454,10 +454,10 @@ class DialogService {
|
|
|
454
454
|
confirmed() {
|
|
455
455
|
return this.dialogRef.afterClosed().pipe(take(1), map((res) => res));
|
|
456
456
|
}
|
|
457
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
458
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
457
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: DialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
458
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: DialogService });
|
|
459
459
|
}
|
|
460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
460
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: DialogService, decorators: [{
|
|
461
461
|
type: Injectable
|
|
462
462
|
}] });
|
|
463
463
|
|
|
@@ -478,10 +478,10 @@ class LoadingService {
|
|
|
478
478
|
async dismiss() {
|
|
479
479
|
this.isLoading = false;
|
|
480
480
|
}
|
|
481
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
482
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
481
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
482
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LoadingService, providedIn: 'root' });
|
|
483
483
|
}
|
|
484
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LoadingService, decorators: [{
|
|
485
485
|
type: Injectable,
|
|
486
486
|
args: [{
|
|
487
487
|
providedIn: 'root',
|
|
@@ -529,10 +529,10 @@ class MediaService extends BaseService {
|
|
|
529
529
|
getImageInfo(url) {
|
|
530
530
|
return this.http.get(`${url}?imageInfo`);
|
|
531
531
|
}
|
|
532
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
533
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
532
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: MediaService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
533
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: MediaService, providedIn: 'root' });
|
|
534
534
|
}
|
|
535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: MediaService, decorators: [{
|
|
536
536
|
type: Injectable,
|
|
537
537
|
args: [{
|
|
538
538
|
providedIn: 'root',
|
|
@@ -548,10 +548,10 @@ class LayoutService {
|
|
|
548
548
|
.observe([Breakpoints.Small, Breakpoints.HandsetPortrait])
|
|
549
549
|
.pipe(map$1((result) => result.matches), shareReplay());
|
|
550
550
|
}
|
|
551
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
552
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
551
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LayoutService, deps: [{ token: i1$1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
552
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LayoutService });
|
|
553
553
|
}
|
|
554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LayoutService, decorators: [{
|
|
555
555
|
type: Injectable
|
|
556
556
|
}], ctorParameters: () => [{ type: i1$1.BreakpointObserver }] });
|
|
557
557
|
|
|
@@ -563,10 +563,10 @@ class SnackBarService {
|
|
|
563
563
|
dismiss() {
|
|
564
564
|
this.snackBar.dismiss();
|
|
565
565
|
}
|
|
566
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
567
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
566
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: SnackBarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
567
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: SnackBarService });
|
|
568
568
|
}
|
|
569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
569
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: SnackBarService, decorators: [{
|
|
570
570
|
type: Injectable
|
|
571
571
|
}] });
|
|
572
572
|
|
|
@@ -631,10 +631,10 @@ class SupportService {
|
|
|
631
631
|
withCredentials: true,
|
|
632
632
|
});
|
|
633
633
|
}
|
|
634
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
635
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
634
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: SupportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
635
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: SupportService, providedIn: 'root' });
|
|
636
636
|
}
|
|
637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
637
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: SupportService, decorators: [{
|
|
638
638
|
type: Injectable,
|
|
639
639
|
args: [{
|
|
640
640
|
providedIn: 'root',
|
|
@@ -662,10 +662,10 @@ class BreadcrumbService {
|
|
|
662
662
|
relativeTo: route,
|
|
663
663
|
});
|
|
664
664
|
}
|
|
665
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
666
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
665
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: BreadcrumbService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
666
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: BreadcrumbService, providedIn: 'root' });
|
|
667
667
|
}
|
|
668
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: BreadcrumbService, decorators: [{
|
|
669
669
|
type: Injectable,
|
|
670
670
|
args: [{
|
|
671
671
|
providedIn: 'root',
|
|
@@ -697,10 +697,10 @@ class SidenavService {
|
|
|
697
697
|
this.isCollaped = !this.isMobile && !this.sidenav?.opened;
|
|
698
698
|
}
|
|
699
699
|
lists() { }
|
|
700
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
701
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
700
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: SidenavService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
701
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: SidenavService });
|
|
702
702
|
}
|
|
703
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: SidenavService, decorators: [{
|
|
704
704
|
type: Injectable
|
|
705
705
|
}], ctorParameters: () => [] });
|
|
706
706
|
|
|
@@ -738,10 +738,10 @@ class ThemeService {
|
|
|
738
738
|
setDarkTheme(isDarkTheme) {
|
|
739
739
|
this.darkTheme.next(isDarkTheme);
|
|
740
740
|
}
|
|
741
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
742
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
741
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: ThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
742
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: ThemeService, providedIn: 'root' });
|
|
743
743
|
}
|
|
744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: ThemeService, decorators: [{
|
|
745
745
|
type: Injectable,
|
|
746
746
|
args: [{
|
|
747
747
|
providedIn: 'root',
|
|
@@ -765,6 +765,12 @@ class OrderService extends BaseService {
|
|
|
765
765
|
withCredentials: true,
|
|
766
766
|
});
|
|
767
767
|
}
|
|
768
|
+
merchant(options) {
|
|
769
|
+
return this.http.get(`${this.actionUrl}/merchant`, {
|
|
770
|
+
params: options,
|
|
771
|
+
withCredentials: true,
|
|
772
|
+
});
|
|
773
|
+
}
|
|
768
774
|
timeline(id) {
|
|
769
775
|
return this.http.get(`${this.actionUrl}/${id}/timeline`, {
|
|
770
776
|
withCredentials: true,
|
|
@@ -818,10 +824,15 @@ class OrderService extends BaseService {
|
|
|
818
824
|
withCredentials: true,
|
|
819
825
|
});
|
|
820
826
|
}
|
|
821
|
-
|
|
822
|
-
|
|
827
|
+
fulfill(orderId, data) {
|
|
828
|
+
return this.http.post(`${this.actionUrl}/${orderId}/fulfillment`, data, {
|
|
829
|
+
withCredentials: true,
|
|
830
|
+
});
|
|
831
|
+
}
|
|
832
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: OrderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
833
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: OrderService, providedIn: 'root' });
|
|
823
834
|
}
|
|
824
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: OrderService, decorators: [{
|
|
825
836
|
type: Injectable,
|
|
826
837
|
args: [{
|
|
827
838
|
providedIn: 'root',
|
|
@@ -890,10 +901,10 @@ class InventoryService extends BaseService {
|
|
|
890
901
|
updateStockByLocationIdAndVariantId(locationId, variantId, data) {
|
|
891
902
|
return this.http.put(`${this.actionUrl}/locations${locationId}/variants/${variantId}`, data, { withCredentials: true });
|
|
892
903
|
}
|
|
893
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
894
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
904
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: InventoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
905
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: InventoryService, providedIn: 'root' });
|
|
895
906
|
}
|
|
896
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: InventoryService, decorators: [{
|
|
897
908
|
type: Injectable,
|
|
898
909
|
args: [{
|
|
899
910
|
providedIn: 'root',
|
|
@@ -905,10 +916,10 @@ class NotificationStore {
|
|
|
905
916
|
getCount() {
|
|
906
917
|
return this.$count.asObservable();
|
|
907
918
|
}
|
|
908
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
909
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
919
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NotificationStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
920
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NotificationStore, providedIn: 'root' });
|
|
910
921
|
}
|
|
911
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NotificationStore, decorators: [{
|
|
912
923
|
type: Injectable,
|
|
913
924
|
args: [{
|
|
914
925
|
providedIn: 'root',
|
|
@@ -980,10 +991,10 @@ class NotificationService {
|
|
|
980
991
|
return data;
|
|
981
992
|
}));
|
|
982
993
|
}
|
|
983
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
984
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
994
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
995
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NotificationService, providedIn: 'root' });
|
|
985
996
|
}
|
|
986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NotificationService, decorators: [{
|
|
987
998
|
type: Injectable,
|
|
988
999
|
args: [{
|
|
989
1000
|
providedIn: 'root',
|
|
@@ -1015,10 +1026,10 @@ class ProductCategoryService extends BaseService {
|
|
|
1015
1026
|
withCredentials: true,
|
|
1016
1027
|
});
|
|
1017
1028
|
}
|
|
1018
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1019
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1029
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: ProductCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
1030
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: ProductCategoryService, providedIn: 'root' });
|
|
1020
1031
|
}
|
|
1021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: ProductCategoryService, decorators: [{
|
|
1022
1033
|
type: Injectable,
|
|
1023
1034
|
args: [{
|
|
1024
1035
|
providedIn: 'root',
|
|
@@ -1060,10 +1071,30 @@ class NotificationTemplateService {
|
|
|
1060
1071
|
withCredentials: true,
|
|
1061
1072
|
});
|
|
1062
1073
|
}
|
|
1063
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1064
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1074
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NotificationTemplateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1075
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NotificationTemplateService, providedIn: 'root' });
|
|
1076
|
+
}
|
|
1077
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NotificationTemplateService, decorators: [{
|
|
1078
|
+
type: Injectable,
|
|
1079
|
+
args: [{
|
|
1080
|
+
providedIn: 'root',
|
|
1081
|
+
}]
|
|
1082
|
+
}] });
|
|
1083
|
+
|
|
1084
|
+
class FulfillmentService extends BaseService {
|
|
1085
|
+
init() {
|
|
1086
|
+
this.endpoint = 'fulfillments';
|
|
1087
|
+
super.init();
|
|
1088
|
+
}
|
|
1089
|
+
fulfill(orderId, data) {
|
|
1090
|
+
return this.http.post(`${this.actionUrl}/orders/${orderId}`, data, {
|
|
1091
|
+
withCredentials: true,
|
|
1092
|
+
});
|
|
1093
|
+
}
|
|
1094
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FulfillmentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
1095
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FulfillmentService, providedIn: 'root' });
|
|
1065
1096
|
}
|
|
1066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1097
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FulfillmentService, decorators: [{
|
|
1067
1098
|
type: Injectable,
|
|
1068
1099
|
args: [{
|
|
1069
1100
|
providedIn: 'root',
|
|
@@ -1088,10 +1119,10 @@ class LoadingInterceptor {
|
|
|
1088
1119
|
}
|
|
1089
1120
|
}));
|
|
1090
1121
|
}
|
|
1091
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1092
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1122
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LoadingInterceptor, deps: [{ token: LoadingService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1123
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LoadingInterceptor, providedIn: 'root' });
|
|
1093
1124
|
}
|
|
1094
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LoadingInterceptor, decorators: [{
|
|
1095
1126
|
type: Injectable,
|
|
1096
1127
|
args: [{
|
|
1097
1128
|
providedIn: 'root',
|
|
@@ -1104,14 +1135,13 @@ class BackButtonDirective {
|
|
|
1104
1135
|
onClick() {
|
|
1105
1136
|
this.navigation.back();
|
|
1106
1137
|
}
|
|
1107
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1108
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1138
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: BackButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1139
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: BackButtonDirective, isStandalone: true, selector: "[rolatechBackButton]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
1109
1140
|
}
|
|
1110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: BackButtonDirective, decorators: [{
|
|
1111
1142
|
type: Directive,
|
|
1112
1143
|
args: [{
|
|
1113
1144
|
selector: '[rolatechBackButton]',
|
|
1114
|
-
standalone: true,
|
|
1115
1145
|
}]
|
|
1116
1146
|
}], ctorParameters: () => [], propDecorators: { onClick: [{
|
|
1117
1147
|
type: HostListener,
|
|
@@ -1151,5 +1181,5 @@ function provideAngularServices() {
|
|
|
1151
1181
|
* Generated bundle index. Do not edit.
|
|
1152
1182
|
*/
|
|
1153
1183
|
|
|
1154
|
-
export { BackButtonDirective, BaseService, BreadcrumbService, CartEventType, CartService, DialogService, InventoryService, LayoutService, LoadingInterceptor, LoadingService, MediaService, NavigationService, NotificationService, NotificationStore, NotificationTemplateService, OrderService, ProductCategoryService, ProductService, SERVICE_DIRECTIVES, SidenavService, SnackBarService, SupportService, ThemeService, provideAngularServices };
|
|
1184
|
+
export { BackButtonDirective, BaseService, BreadcrumbService, CartEventType, CartService, DialogComponent, DialogService, FulfillmentService, InventoryService, LayoutService, LoadingInterceptor, LoadingService, MediaService, NavigationService, NotificationService, NotificationStore, NotificationTemplateService, OrderService, ProductCategoryService, ProductService, SERVICE_DIRECTIVES, SidenavService, SnackBarService, SupportService, ThemeService, provideAngularServices };
|
|
1155
1185
|
//# sourceMappingURL=rolatech-angular-services.mjs.map
|