@rolatech/angular-services 19.0.0-beta.8 → 19.1.0-beta.3
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 +1317 -77
- package/fesm2022/rolatech-angular-services.mjs.map +1 -1
- package/index.d.ts +660 -7
- package/package.json +2 -2
- package/themes/_default.scss +1 -1
- package/lib/components/dialog/dialog.component.d.ts +0 -18
- package/lib/directive/back-button.directive.d.ts +0 -9
- package/lib/directive/index.d.ts +0 -3
- package/lib/interceptor/index.d.ts +0 -1
- package/lib/interceptor/loading.interceptor.d.ts +0 -12
- package/lib/interfaces/dialog.interface.d.ts +0 -18
- package/lib/interfaces/index.d.ts +0 -1
- package/lib/services/base.service.d.ts +0 -20
- package/lib/services/breadcrumb.service.d.ts +0 -15
- package/lib/services/cart.service.d.ts +0 -23
- package/lib/services/dialog.service.d.ts +0 -14
- package/lib/services/fulfillment.service.d.ts +0 -10
- package/lib/services/index.d.ts +0 -23
- package/lib/services/inventory.service.d.ts +0 -31
- package/lib/services/layout.service.d.ts +0 -10
- package/lib/services/loading.service.d.ts +0 -14
- package/lib/services/media.service.d.ts +0 -17
- package/lib/services/navigation.service.d.ts +0 -15
- package/lib/services/notification-template.service.d.ts +0 -14
- package/lib/services/notification.service.d.ts +0 -19
- package/lib/services/order.service.d.ts +0 -23
- package/lib/services/post.service.d.ts +0 -11
- package/lib/services/product-category.service.d.ts +0 -12
- package/lib/services/product.service.d.ts +0 -41
- package/lib/services/sidenav.service.d.ts +0 -19
- package/lib/services/snack-bar.service.d.ts +0 -9
- package/lib/services/support.service.d.ts +0 -19
- package/lib/services/theme.service.d.ts +0 -11
- package/lib/services/title.service.d.ts +0 -10
- package/lib/state/notification.store.d.ts +0 -8
- package/provider.d.ts +0 -2
package/themes/_default.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.fixed{position:fixed}.
|
|
1
|
+
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.fixed{position:fixed}.w-20{width:5rem}.min-w-\[320px\]{min-width:320px}.flex-1{flex:1 1 0%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.text-xl{font-size:1.25rem;line-height:1.75rem}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}html{line-height:normal}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { DialogData } from '../../interfaces/dialog.interface';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DialogComponent implements OnInit, OnDestroy {
|
|
6
|
-
onEsc(): void;
|
|
7
|
-
data: DialogData;
|
|
8
|
-
result: any;
|
|
9
|
-
dialogRef: MatDialogRef<any, any>;
|
|
10
|
-
componentRef: import("@angular/core").Signal<ViewContainerRef>;
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
createComponent(): void;
|
|
14
|
-
close(value?: boolean): void;
|
|
15
|
-
confirm(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "rolatech-dialog", never, {}, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { NavigationService } from '../services';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BackButtonDirective {
|
|
4
|
-
navigation: NavigationService;
|
|
5
|
-
constructor();
|
|
6
|
-
onClick(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BackButtonDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BackButtonDirective, "[rolatechBackButton]", never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
package/lib/directive/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { LoadingInterceptor } from './loading.interceptor';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { LoadingService } from '../services';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LoadingInterceptor {
|
|
6
|
-
private loadingService;
|
|
7
|
-
activeRequests: number;
|
|
8
|
-
constructor(loadingService: LoadingService);
|
|
9
|
-
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingInterceptor, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingInterceptor>;
|
|
12
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
export interface DialogData {
|
|
3
|
-
title: string;
|
|
4
|
-
message?: string;
|
|
5
|
-
cancelText?: string;
|
|
6
|
-
confirmText?: string;
|
|
7
|
-
component?: any;
|
|
8
|
-
width?: any;
|
|
9
|
-
height?: any;
|
|
10
|
-
data?: any;
|
|
11
|
-
}
|
|
12
|
-
export interface IDynamicDialogConfig {
|
|
13
|
-
title?: string;
|
|
14
|
-
okText?: string;
|
|
15
|
-
cancelText?: string;
|
|
16
|
-
component: Component;
|
|
17
|
-
data: any;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DialogData, IDynamicDialogConfig } from './dialog.interface';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BaseService {
|
|
5
|
-
protected http: HttpClient;
|
|
6
|
-
protected environment: any;
|
|
7
|
-
protected actionUrl: string;
|
|
8
|
-
endpoint: string;
|
|
9
|
-
constructor();
|
|
10
|
-
init(): void;
|
|
11
|
-
find<T>(options?: any, withCredentials?: boolean): Observable<T>;
|
|
12
|
-
get<T>(id: string, options?: any, withCredentials?: boolean): Observable<T>;
|
|
13
|
-
create<T>(item: T): Observable<T>;
|
|
14
|
-
update<T>(id: string, data: T): Observable<T>;
|
|
15
|
-
delete<T>(id: string): Observable<T>;
|
|
16
|
-
updateStatus<T>(id: string, data: T): Observable<T>;
|
|
17
|
-
search(word: string, withCredentials?: boolean): Observable<any>;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseService>;
|
|
20
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Router, ActivatedRoute } from '@angular/router';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BreadcrumbService {
|
|
4
|
-
router: Router;
|
|
5
|
-
breadcrumbs: Breadcrumb[];
|
|
6
|
-
add(label: string, slug: string): Breadcrumb[];
|
|
7
|
-
goTo(slug: string, route: ActivatedRoute): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BreadcrumbService>;
|
|
10
|
-
}
|
|
11
|
-
interface Breadcrumb {
|
|
12
|
-
label: string;
|
|
13
|
-
slug: string;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { BaseService } from './base.service';
|
|
4
|
-
import { ProductService } from './product.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare enum CartEventType {
|
|
7
|
-
CartAdd = 0,
|
|
8
|
-
CartRemove = 1
|
|
9
|
-
}
|
|
10
|
-
export declare class CartService extends BaseService {
|
|
11
|
-
productService: ProductService;
|
|
12
|
-
cartEvent: EventEmitter<CartEventType>;
|
|
13
|
-
init(): void;
|
|
14
|
-
findDetails(options: any): Observable<any>;
|
|
15
|
-
findProductsByIds(ids: Array<string>): Observable<any>;
|
|
16
|
-
findVariantsByIds(ids: Array<string>): Observable<any>;
|
|
17
|
-
by(options: any): Observable<any>;
|
|
18
|
-
me(options: any): Observable<any>;
|
|
19
|
-
deleteByIds(ids: any): Observable<any>;
|
|
20
|
-
deleteAll(): Observable<any>;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CartService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CartService>;
|
|
23
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { DialogComponent } from '../components/dialog/dialog.component';
|
|
4
|
-
import { DialogData } from '../interfaces';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class DialogService {
|
|
7
|
-
dialog: MatDialog;
|
|
8
|
-
dialogRef: MatDialogRef<DialogComponent>;
|
|
9
|
-
open(options: DialogData): void;
|
|
10
|
-
cancelled(): Observable<any>;
|
|
11
|
-
confirmed(): Observable<any>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
14
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseService } from './base.service';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FulfillmentService extends BaseService {
|
|
5
|
-
init(): void;
|
|
6
|
-
fulfill(orderId: string, data: any): Observable<any>;
|
|
7
|
-
tracking(orderId: string): Observable<any>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FulfillmentService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FulfillmentService>;
|
|
10
|
-
}
|
package/lib/services/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { NavigationService } from './navigation.service';
|
|
2
|
-
import { DialogService } from './dialog.service';
|
|
3
|
-
import { BaseService } from './base.service';
|
|
4
|
-
import { LoadingService } from './loading.service';
|
|
5
|
-
import { MediaService } from './media.service';
|
|
6
|
-
import { LayoutService } from './layout.service';
|
|
7
|
-
import { SnackBarService } from './snack-bar.service';
|
|
8
|
-
import { SupportService } from './support.service';
|
|
9
|
-
import { BreadcrumbService } from './breadcrumb.service';
|
|
10
|
-
import { SidenavService } from './sidenav.service';
|
|
11
|
-
import { ThemeService } from './theme.service';
|
|
12
|
-
import { CartService } from './cart.service';
|
|
13
|
-
import { ProductService } from './product.service';
|
|
14
|
-
import { OrderService } from './order.service';
|
|
15
|
-
import { InventoryService } from './inventory.service';
|
|
16
|
-
import { NotificationService } from './notification.service';
|
|
17
|
-
import { NotificationStore } from '../state/notification.store';
|
|
18
|
-
import { ProductCategoryService } from './product-category.service';
|
|
19
|
-
import { NotificationTemplateService } from './notification-template.service';
|
|
20
|
-
import { FulfillmentService } from './fulfillment.service';
|
|
21
|
-
import { TitleService } from './title.service';
|
|
22
|
-
import { PostService } from './post.service';
|
|
23
|
-
export { BaseService, LoadingService, MediaService, LayoutService, DialogService, SnackBarService, NavigationService, SupportService, BreadcrumbService, SidenavService, ThemeService, TitleService, CartService, ProductService, OrderService, InventoryService, NotificationService, NotificationTemplateService, NotificationStore, ProductCategoryService, FulfillmentService, PostService, };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { BaseService } from './base.service';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class InventoryService extends BaseService {
|
|
5
|
-
init(): void;
|
|
6
|
-
getLocation(locationId: string): Observable<any>;
|
|
7
|
-
findLocations(options: any): Observable<any>;
|
|
8
|
-
addLocation(data: any): Observable<any>;
|
|
9
|
-
updateLocation(locationId: string, data: any): Observable<any>;
|
|
10
|
-
deleteLocation(locationId: string): Observable<any>;
|
|
11
|
-
initInventoryItems(data: any): Observable<any>;
|
|
12
|
-
findMyInventoryItems(options: any): Observable<any>;
|
|
13
|
-
addInventoryItem(data: any): Observable<any>;
|
|
14
|
-
updateInventoryItem(data: any): Observable<any>;
|
|
15
|
-
addInventoryByProductId(locationId: string, productId: string, data: any): Observable<any>;
|
|
16
|
-
addInventoryByVariantId(locationId: string, variantId: string, data: any): Observable<any>;
|
|
17
|
-
findInventoryItemsByProductId(productId: string): Observable<any>;
|
|
18
|
-
findInventoryItemsByVariantId(variantId: string): Observable<any>;
|
|
19
|
-
findInventoryLevelsByLocationIdAndVariantIds(locationId: string, ids: Array<string>): Observable<any>;
|
|
20
|
-
deleteInventoryItemsByProductId(productId: string): Observable<any>;
|
|
21
|
-
deleteInventoryItemsByVariantId(variantId: string): Observable<any>;
|
|
22
|
-
deleteInventoryLevel(levelId: string): Observable<any>;
|
|
23
|
-
findProductsInLocation(locationId: string): Observable<any>;
|
|
24
|
-
findLocationsByProductId(productId: string): Observable<any>;
|
|
25
|
-
findLocationsByVariantId(variantId: string): Observable<any>;
|
|
26
|
-
updateStockByLocationIdAndProductId(locationId: string, productId: string, data: any): Observable<any>;
|
|
27
|
-
updateStockByLocationIdAndVariantId(locationId: string, variantId: string, data: any): Observable<any>;
|
|
28
|
-
adjustStocksByLocationId(data: any): Observable<any>;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InventoryService, never>;
|
|
30
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InventoryService>;
|
|
31
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LayoutService {
|
|
5
|
-
private breakpointObserver;
|
|
6
|
-
isHandset$: Observable<boolean>;
|
|
7
|
-
constructor(breakpointObserver: BreakpointObserver);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LayoutService>;
|
|
10
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LoadingService {
|
|
4
|
-
loading$: BehaviorSubject<boolean>;
|
|
5
|
-
ratio$: BehaviorSubject<number>;
|
|
6
|
-
isLoading: boolean;
|
|
7
|
-
constructor();
|
|
8
|
-
start(): void;
|
|
9
|
-
stop(): void;
|
|
10
|
-
present(text?: string): Promise<void>;
|
|
11
|
-
dismiss(): Promise<void>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingService>;
|
|
14
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BaseService } from './base.service';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MediaService extends BaseService {
|
|
5
|
-
init(): void;
|
|
6
|
-
upload(data: FormData): Observable<any>;
|
|
7
|
-
uploadAndSave(data: FormData): Observable<any>;
|
|
8
|
-
deleteBy(filename: string): Observable<any>;
|
|
9
|
-
batchDelete(data: any): Observable<any>;
|
|
10
|
-
moveToGroup(data: any): Observable<any>;
|
|
11
|
-
addGroup(data: any): Observable<any>;
|
|
12
|
-
findGroup(id: string): Observable<any>;
|
|
13
|
-
findGroups(options?: any): Observable<any>;
|
|
14
|
-
getImageInfo(url: string): Observable<any>;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MediaService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MediaService>;
|
|
17
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Location } from '@angular/common';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NavigationService {
|
|
5
|
-
private history;
|
|
6
|
-
router: Router;
|
|
7
|
-
location: Location;
|
|
8
|
-
constructor();
|
|
9
|
-
start(): void;
|
|
10
|
-
getHistory(): string[];
|
|
11
|
-
back(): void;
|
|
12
|
-
next(): string;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
15
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NotificationTemplateService {
|
|
4
|
-
environment: any;
|
|
5
|
-
http: HttpClient;
|
|
6
|
-
find(options: any): import("rxjs").Observable<any>;
|
|
7
|
-
me(options: any): import("rxjs").Observable<any>;
|
|
8
|
-
get(id: string): import("rxjs").Observable<any>;
|
|
9
|
-
read(ids: Array<string>): import("rxjs").Observable<any>;
|
|
10
|
-
delete(id: string): import("rxjs").Observable<any>;
|
|
11
|
-
findByUserId(userId: string): import("rxjs").Observable<any>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationTemplateService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationTemplateService>;
|
|
14
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { NotificationStore } from '../state/notification.store';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NotificationService {
|
|
5
|
-
environment: any;
|
|
6
|
-
http: HttpClient;
|
|
7
|
-
storeService: NotificationStore;
|
|
8
|
-
find(options: any): import("rxjs").Observable<any>;
|
|
9
|
-
me(options: any): import("rxjs").Observable<any>;
|
|
10
|
-
get(id: string): import("rxjs").Observable<any>;
|
|
11
|
-
read(ids: Array<string>): import("rxjs").Observable<any>;
|
|
12
|
-
update(id: string): import("rxjs").Observable<void>;
|
|
13
|
-
readAll(): import("rxjs").Observable<void>;
|
|
14
|
-
delete(id: string): import("rxjs").Observable<any>;
|
|
15
|
-
findByUserId(userId: string): import("rxjs").Observable<any>;
|
|
16
|
-
countByStatus(status: string): import("rxjs").Observable<any>;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
19
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { BaseService } from './base.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class OrderService extends BaseService {
|
|
5
|
-
init(): void;
|
|
6
|
-
by(options: any): Observable<any>;
|
|
7
|
-
me(options: any): Observable<any>;
|
|
8
|
-
merchant(options: any): Observable<any>;
|
|
9
|
-
timeline(id: string): Observable<any>;
|
|
10
|
-
pay(id: string): Observable<any>;
|
|
11
|
-
refund(id: string, data: any): Observable<any>;
|
|
12
|
-
findAllReturns(options: any): Observable<any>;
|
|
13
|
-
findAllReturnsByInstructor(options: any): Observable<any>;
|
|
14
|
-
getReturn(id: string): Observable<any>;
|
|
15
|
-
returnApprove(id: string): Observable<any>;
|
|
16
|
-
returnReject(id: string, data: any): Observable<any>;
|
|
17
|
-
cancel(id: string): Observable<any>;
|
|
18
|
-
countMeByStatus(options: any): Observable<any>;
|
|
19
|
-
fulfill(orderId: string, data: any): Observable<any>;
|
|
20
|
-
getMerchantOrder(orderId: string): Observable<any>;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OrderService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<OrderService>;
|
|
23
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { BaseService } from './base.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PostService extends BaseService {
|
|
5
|
-
init(): void;
|
|
6
|
-
by(options: any): Observable<any>;
|
|
7
|
-
me(options: any): Observable<any>;
|
|
8
|
-
merchant(options: any): Observable<any>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PostService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PostService>;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { BaseService } from './base.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ProductCategoryService extends BaseService {
|
|
5
|
-
init(): void;
|
|
6
|
-
uploadMedia(id: string, data: FormData): Observable<any>;
|
|
7
|
-
deleteMedia(id: string, mediaId: string): Observable<any>;
|
|
8
|
-
importFromExcel(data: FormData): Observable<any>;
|
|
9
|
-
createFromExcel(data: any): Observable<any>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductCategoryService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProductCategoryService>;
|
|
12
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { BaseService } from './base.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ProductService extends BaseService {
|
|
5
|
-
init(): void;
|
|
6
|
-
me(options: any): Observable<any>;
|
|
7
|
-
findByIds(ids: Array<string>): Observable<any>;
|
|
8
|
-
publish(productId: string): Observable<any>;
|
|
9
|
-
archived(productId: string): Observable<any>;
|
|
10
|
-
findWishlist(options: any): Observable<Object>;
|
|
11
|
-
addToWishlist(productId: string): Observable<Object>;
|
|
12
|
-
removeFromWishlist(productId: string): Observable<Object>;
|
|
13
|
-
findWishlistBy(productId: string): Observable<Object>;
|
|
14
|
-
findPurchasedByProductId(productId: string): Observable<Object>;
|
|
15
|
-
uploadMedia(productId: string, data: FormData): Observable<any>;
|
|
16
|
-
deleteMedia(id: string, mediaId: string): Observable<any>;
|
|
17
|
-
addPricing(productId: string, data: any): Observable<any>;
|
|
18
|
-
updatePricing(pricingId: string, data: any): Observable<any>;
|
|
19
|
-
deletePricing(pricingId: string): Observable<any>;
|
|
20
|
-
addSection(productId: string, data: any): Observable<any>;
|
|
21
|
-
addBatchSections(productId: string, data: any): Observable<any>;
|
|
22
|
-
findSections(productId: string): Observable<any>;
|
|
23
|
-
updateSection(sectionId: string, data: any): Observable<any>;
|
|
24
|
-
deleteSection(sectionId: string): Observable<any>;
|
|
25
|
-
uploadSectionMedia(sectionId: string, data: FormData): Observable<any>;
|
|
26
|
-
deleteSectionMedia(sectionId: string, mediaId: string): Observable<any>;
|
|
27
|
-
addOption(productId: string, data: any): Observable<any>;
|
|
28
|
-
findOptions(productId: string): Observable<any>;
|
|
29
|
-
updateOption(optionId: string, data: any): Observable<any>;
|
|
30
|
-
deleteOption(optionId: string): Observable<any>;
|
|
31
|
-
updateVariantPrice(productId: string, status: boolean): Observable<any>;
|
|
32
|
-
createVariants(productId: string, data: any): Observable<any>;
|
|
33
|
-
getVariant(variantId: string): Observable<any>;
|
|
34
|
-
findVariants(productId: string): Observable<any>;
|
|
35
|
-
findVariantsByIds(ids: Array<string>): Observable<any>;
|
|
36
|
-
updateVariants(productId: string, data: any): Observable<any>;
|
|
37
|
-
uploadVariantMedia(variantId: string, data: FormData): Observable<any>;
|
|
38
|
-
deleteVariantMedia(variantId: string, mediaId: string): Observable<any>;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
|
|
40
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
|
|
41
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { MediaMatcher } from '@angular/cdk/layout';
|
|
2
|
-
import { MatSidenav } from '@angular/material/sidenav';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SidenavService {
|
|
5
|
-
media: MediaMatcher;
|
|
6
|
-
sidenav: MatSidenav;
|
|
7
|
-
private mobileQuery;
|
|
8
|
-
isMobile: boolean;
|
|
9
|
-
isCollaped: boolean;
|
|
10
|
-
isExpanded: boolean;
|
|
11
|
-
constructor();
|
|
12
|
-
setSidenav(sidenav: MatSidenav): void;
|
|
13
|
-
open(): Promise<import("@angular/material/sidenav").MatDrawerToggleResult>;
|
|
14
|
-
close(): Promise<import("@angular/material/sidenav").MatDrawerToggleResult>;
|
|
15
|
-
toggle(): void;
|
|
16
|
-
lists(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SidenavService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SidenavService>;
|
|
19
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SnackBarService {
|
|
4
|
-
snackBar: MatSnackBar;
|
|
5
|
-
open(message: any): void;
|
|
6
|
-
dismiss(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SnackBarService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SnackBarService>;
|
|
9
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SupportService {
|
|
4
|
-
environment: any;
|
|
5
|
-
http: HttpClient;
|
|
6
|
-
findAllBuckets(options: any): import("rxjs").Observable<any>;
|
|
7
|
-
findAll(options: any): import("rxjs").Observable<any>;
|
|
8
|
-
findFolderBySlug(slug: string): import("rxjs").Observable<any>;
|
|
9
|
-
findByPath(path: string): import("rxjs").Observable<any>;
|
|
10
|
-
findAllFiles(options: any): import("rxjs").Observable<any>;
|
|
11
|
-
findFileByFolder(folder: string): import("rxjs").Observable<any>;
|
|
12
|
-
findFileBySlug(slug: string): import("rxjs").Observable<any>;
|
|
13
|
-
uploadFile(data: FormData): import("rxjs").Observable<any>;
|
|
14
|
-
createBucket(data: any): import("rxjs").Observable<any>;
|
|
15
|
-
createFolderBySlug(slug: string, data: any): import("rxjs").Observable<any>;
|
|
16
|
-
uploadFileBySlug(slug: string, data: FormData): import("rxjs").Observable<any>;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SupportService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SupportService>;
|
|
19
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ThemeService {
|
|
4
|
-
platformId: Object;
|
|
5
|
-
darkTheme: BehaviorSubject<boolean>;
|
|
6
|
-
isDarkTheme: import("rxjs").Observable<boolean>;
|
|
7
|
-
constructor();
|
|
8
|
-
setDarkTheme(isDarkTheme: boolean): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Title } from '@angular/platform-browser';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TitleService {
|
|
4
|
-
environment: any;
|
|
5
|
-
titleService: Title;
|
|
6
|
-
getTitle(): string;
|
|
7
|
-
setTitle(newTitle: string): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TitleService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TitleService>;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NotificationStore {
|
|
4
|
-
$count: BehaviorSubject<number>;
|
|
5
|
-
getCount(): import("rxjs").Observable<number>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationStore, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationStore>;
|
|
8
|
-
}
|
package/provider.d.ts
DELETED