sk-front-lib 0.18.2 → 0.18.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/article/sk-article-editor-server.component.d.ts +1 -1
- package/article/sk-article-editor.component.d.ts +1 -1
- package/article/sk-froala-editor.directive.d.ts +1 -1
- package/crud/sk-auth-admin.guard.d.ts +2 -2
- package/crud/sk-auth.guard.d.ts +2 -2
- package/{esm2020 → esm2022}/api/sk-api.module.mjs +9 -9
- package/{esm2020 → esm2022}/api/sk-api.service.mjs +4 -4
- package/{esm2020 → esm2022}/article/sk-article-editor-server.component.mjs +4 -4
- package/{esm2020 → esm2022}/article/sk-article-editor.component.mjs +4 -4
- package/{esm2020 → esm2022}/article/sk-article-server.module.mjs +5 -5
- package/{esm2020 → esm2022}/article/sk-article.module.mjs +7 -7
- package/{esm2020 → esm2022}/article/sk-article.service.mjs +4 -4
- package/{esm2020 → esm2022}/article/sk-froala-editor.directive.mjs +7 -7
- package/{esm2020 → esm2022}/crud/sk-account.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-affiliate.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-auth-admin.guard.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-auth.guard.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-auth.service.mjs +7 -7
- package/{esm2020 → esm2022}/crud/sk-board.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-brand.service.mjs +4 -4
- package/esm2022/crud/sk-cart.service.mjs +256 -0
- package/{esm2020 → esm2022}/crud/sk-category.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-comment.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-config.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-contact.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-coupon.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-document.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-etc.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-file.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-keyword.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-order.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-point.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-product.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-promotion.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-search.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-store.service.mjs +4 -4
- package/{esm2020 → esm2022}/crud/sk-user.service.mjs +4 -4
- package/{esm2020 → esm2022}/google-analytics/google-analytics-router.module.mjs +9 -9
- package/{esm2020 → esm2022}/google-analytics/google-analytics.module.mjs +5 -5
- package/{esm2020 → esm2022}/google-analytics/services/google-analytics.service.mjs +4 -4
- package/{esm2020 → esm2022}/image/sk-image.component.mjs +6 -6
- package/esm2022/image/sk-image.module.mjs +40 -0
- package/{esm2020 → esm2022}/lib/sk-byte.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/sk-date-time.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/sk-date.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/sk-front-lib.module.mjs +13 -13
- package/{esm2020 → esm2022}/lib/sk-keys.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/sk-time.pipe.mjs +4 -4
- package/esm2022/model/lib/filetype.mjs +179 -0
- package/esm2022/search-address/dialog/dialog.component.mjs +27 -0
- package/{esm2020 → esm2022}/search-address/sk-search-address.directive.mjs +6 -6
- package/esm2022/search-address/sk-search-address.module.mjs +47 -0
- package/{esm2020 → esm2022}/search-address/sk-search-address.service.mjs +4 -4
- package/esm2022/uploader/sk-uploader.component.mjs +119 -0
- package/esm2022/uploader/sk-uploader.directive.mjs +44 -0
- package/esm2022/uploader/sk-uploader.module.mjs +57 -0
- package/{fesm2020 → fesm2022}/sk-front-lib-api.mjs +11 -11
- package/{fesm2020 → fesm2022}/sk-front-lib-api.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/sk-front-lib-article.mjs +25 -25
- package/{fesm2020 → fesm2022}/sk-front-lib-article.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/sk-front-lib-crud.mjs +93 -93
- package/fesm2022/sk-front-lib-crud.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/sk-front-lib-google-analytics.mjs +15 -15
- package/{fesm2020 → fesm2022}/sk-front-lib-google-analytics.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/sk-front-lib-image.mjs +21 -21
- package/fesm2022/sk-front-lib-image.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/sk-front-lib-model.mjs +56 -56
- package/{fesm2020 → fesm2022}/sk-front-lib-model.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/sk-front-lib-search-address.mjs +32 -32
- package/fesm2022/sk-front-lib-search-address.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/sk-front-lib-uploader.mjs +48 -49
- package/fesm2022/sk-front-lib-uploader.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/sk-front-lib.mjs +27 -27
- package/{fesm2015 → fesm2022}/sk-front-lib.mjs.map +1 -1
- package/google-analytics/types/ga-action.type.d.ts +1 -1
- package/google-analytics/types/ga-bind.type.d.ts +1 -1
- package/image/sk-image.component.d.ts +2 -2
- package/image/sk-image.module.d.ts +3 -3
- package/model/lib/payment.d.ts +1 -1
- package/package.json +44 -66
- package/search-address/dialog/dialog.component.d.ts +1 -1
- package/search-address/sk-search-address.directive.d.ts +2 -2
- package/search-address/sk-search-address.module.d.ts +3 -3
- package/uploader/sk-uploader.component.d.ts +1 -1
- package/uploader/sk-uploader.directive.d.ts +2 -2
- package/uploader/sk-uploader.module.d.ts +5 -5
- package/esm2020/crud/sk-cart.service.mjs +0 -256
- package/esm2020/image/sk-image.module.mjs +0 -40
- package/esm2020/model/lib/filetype.mjs +0 -179
- package/esm2020/search-address/dialog/dialog.component.mjs +0 -27
- package/esm2020/search-address/sk-search-address.module.mjs +0 -47
- package/esm2020/uploader/sk-uploader.component.mjs +0 -120
- package/esm2020/uploader/sk-uploader.directive.mjs +0 -44
- package/esm2020/uploader/sk-uploader.module.mjs +0 -57
- package/fesm2015/sk-front-lib-api.mjs +0 -216
- package/fesm2015/sk-front-lib-api.mjs.map +0 -1
- package/fesm2015/sk-front-lib-article.mjs +0 -758
- package/fesm2015/sk-front-lib-article.mjs.map +0 -1
- package/fesm2015/sk-front-lib-crud.mjs +0 -1529
- package/fesm2015/sk-front-lib-crud.mjs.map +0 -1
- package/fesm2015/sk-front-lib-google-analytics.mjs +0 -334
- package/fesm2015/sk-front-lib-google-analytics.mjs.map +0 -1
- package/fesm2015/sk-front-lib-image.mjs +0 -303
- package/fesm2015/sk-front-lib-image.mjs.map +0 -1
- package/fesm2015/sk-front-lib-model.mjs.map +0 -1
- package/fesm2015/sk-front-lib-search-address.mjs +0 -183
- package/fesm2015/sk-front-lib-search-address.mjs.map +0 -1
- package/fesm2015/sk-front-lib-uploader.mjs +0 -546
- package/fesm2015/sk-front-lib-uploader.mjs.map +0 -1
- package/fesm2015/sk-front-lib.mjs +0 -538
- package/fesm2020/sk-front-lib-crud.mjs.map +0 -1
- package/fesm2020/sk-front-lib-image.mjs.map +0 -1
- package/fesm2020/sk-front-lib-model.mjs +0 -1105
- package/fesm2020/sk-front-lib-search-address.mjs.map +0 -1
- package/fesm2020/sk-front-lib-uploader.mjs.map +0 -1
- package/fesm2020/sk-front-lib.mjs.map +0 -1
- /package/{esm2020 → esm2022}/api/model/api-config.mjs +0 -0
- /package/{esm2020 → esm2022}/api/model/api-pageable-param.mjs +0 -0
- /package/{esm2020 → esm2022}/api/model/api-pageable.mjs +0 -0
- /package/{esm2020 → esm2022}/api/model/api-response.mjs +0 -0
- /package/{esm2020 → esm2022}/api/model/index.mjs +0 -0
- /package/{esm2020 → esm2022}/api/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/api/sk-front-lib-api.mjs +0 -0
- /package/{esm2020 → esm2022}/article/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/article/sk-front-lib-article.mjs +0 -0
- /package/{esm2020 → esm2022}/crud/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/crud/sk-front-lib-crud.mjs +0 -0
- /package/{esm2020 → esm2022}/google-analytics/initializers/google-analytics-router.initializer.mjs +0 -0
- /package/{esm2020 → esm2022}/google-analytics/initializers/google-analytics.initializer.mjs +0 -0
- /package/{esm2020 → esm2022}/google-analytics/interfaces/google-analytics-command.mjs +0 -0
- /package/{esm2020 → esm2022}/google-analytics/interfaces/google-analytics-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/google-analytics/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/google-analytics/sk-front-lib-google-analytics.mjs +0 -0
- /package/{esm2020 → esm2022}/google-analytics/tokens/google-analytics-settings-token.mjs +0 -0
- /package/{esm2020 → esm2022}/google-analytics/types/ga-action.type.mjs +0 -0
- /package/{esm2020 → esm2022}/google-analytics/types/ga-bind.type.mjs +0 -0
- /package/{esm2020 → esm2022}/image/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/image/sk-front-lib-image.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/sk-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/sk-utils.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/article.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/audit.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/auth.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/board.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/cart.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/comment.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/contact.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/coupon.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/document.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/etc.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/file.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/grid.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/nicepay.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/order.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/payment.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/point.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/product-series.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/product.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/promotion.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/shipping.mjs +0 -0
- /package/{esm2020 → esm2022}/model/lib/user.mjs +0 -0
- /package/{esm2020 → esm2022}/model/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/model/sk-front-lib-model.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/search-address/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/search-address/sk-front-lib-search-address.mjs +0 -0
- /package/{esm2020 → esm2022}/search-address/sk-search-address.model.mjs +0 -0
- /package/{esm2020 → esm2022}/sk-front-lib.mjs +0 -0
- /package/{esm2020 → esm2022}/uploader/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/uploader/sk-front-lib-uploader.mjs +0 -0
- /package/{esm2020 → esm2022}/uploader/sk-uploader-file-item.model.mjs +0 -0
- /package/{esm2020 → esm2022}/uploader/sk-uploader.animation.mjs +0 -0
- /package/{esm2020 → esm2022}/uploader/sk-uploader.class.mjs +0 -0
|
@@ -89,10 +89,10 @@ class SkAffiliateService {
|
|
|
89
89
|
deleteAdminAffiliateTargets(target = []) {
|
|
90
90
|
return this._apiService.delete(`/api/admin/affiliate/targets/${target.map(i => i.id).join(',')}`);
|
|
91
91
|
}
|
|
92
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAffiliateService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
93
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAffiliateService, providedIn: 'root' }); }
|
|
92
94
|
}
|
|
93
|
-
|
|
94
|
-
SkAffiliateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkAffiliateService, providedIn: 'root' });
|
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkAffiliateService, decorators: [{
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAffiliateService, decorators: [{
|
|
96
96
|
type: Injectable,
|
|
97
97
|
args: [{
|
|
98
98
|
providedIn: 'root'
|
|
@@ -120,10 +120,10 @@ class SkFileService {
|
|
|
120
120
|
updateAdminFile(id, data) {
|
|
121
121
|
return this._apiService.put(`/api/admin/files/${id}`, data).pipe(map(result => new SkFile(result.data)));
|
|
122
122
|
}
|
|
123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkFileService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
124
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkFileService, providedIn: 'root' }); }
|
|
123
125
|
}
|
|
124
|
-
|
|
125
|
-
SkFileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkFileService, providedIn: 'root' });
|
|
126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkFileService, decorators: [{
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkFileService, decorators: [{
|
|
127
127
|
type: Injectable,
|
|
128
128
|
args: [{
|
|
129
129
|
providedIn: 'root'
|
|
@@ -131,15 +131,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
131
131
|
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
132
132
|
|
|
133
133
|
class SkAuthService {
|
|
134
|
+
get userinfo$() {
|
|
135
|
+
return this._userinfo$.asObservable();
|
|
136
|
+
}
|
|
134
137
|
constructor(_router, apiService) {
|
|
135
138
|
this._router = _router;
|
|
136
139
|
this.apiService = apiService;
|
|
137
140
|
this.baseUrl = '/api/auth';
|
|
138
141
|
this._userinfo$ = new BehaviorSubject(new SkUser());
|
|
139
142
|
}
|
|
140
|
-
get userinfo$() {
|
|
141
|
-
return this._userinfo$.asObservable();
|
|
142
|
-
}
|
|
143
143
|
moveLoginPage() {
|
|
144
144
|
return this._router.navigate([this.apiService.loginUrl, { returnUrl: this._router.url }]);
|
|
145
145
|
}
|
|
@@ -180,10 +180,10 @@ class SkAuthService {
|
|
|
180
180
|
updatePassword(data) {
|
|
181
181
|
return this.apiService.post(this.baseUrl + '/update-password', data).pipe(map(response => response.data));
|
|
182
182
|
}
|
|
183
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAuthService, deps: [{ token: i2.Router }, { token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
184
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAuthService, providedIn: 'root' }); }
|
|
183
185
|
}
|
|
184
|
-
|
|
185
|
-
SkAuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkAuthService, providedIn: 'root' });
|
|
186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkAuthService, decorators: [{
|
|
186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAuthService, decorators: [{
|
|
187
187
|
type: Injectable,
|
|
188
188
|
args: [{
|
|
189
189
|
providedIn: 'root'
|
|
@@ -206,10 +206,10 @@ class SkAuthGuard {
|
|
|
206
206
|
canActivateChild(route, state) {
|
|
207
207
|
return this.canActivate(route, state);
|
|
208
208
|
}
|
|
209
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAuthGuard, deps: [{ token: SkAuthService }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
210
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAuthGuard, providedIn: 'root' }); }
|
|
209
211
|
}
|
|
210
|
-
|
|
211
|
-
SkAuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkAuthGuard, providedIn: 'root' });
|
|
212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkAuthGuard, decorators: [{
|
|
212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAuthGuard, decorators: [{
|
|
213
213
|
type: Injectable,
|
|
214
214
|
args: [{
|
|
215
215
|
providedIn: 'root'
|
|
@@ -232,10 +232,10 @@ class SkAuthAdminGuard {
|
|
|
232
232
|
canActivateChild(route, state) {
|
|
233
233
|
return this.canActivate(route, state);
|
|
234
234
|
}
|
|
235
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAuthAdminGuard, deps: [{ token: SkAuthService }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
236
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAuthAdminGuard, providedIn: 'root' }); }
|
|
235
237
|
}
|
|
236
|
-
|
|
237
|
-
SkAuthAdminGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkAuthAdminGuard, providedIn: 'root' });
|
|
238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkAuthAdminGuard, decorators: [{
|
|
238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAuthAdminGuard, decorators: [{
|
|
239
239
|
type: Injectable,
|
|
240
240
|
args: [{
|
|
241
241
|
providedIn: 'root'
|
|
@@ -298,10 +298,10 @@ class SkUserService {
|
|
|
298
298
|
isEmailExists(email) {
|
|
299
299
|
return this._apiService.get('/api/public/users/exists/email', new HttpParams().append('email', email)).pipe(map(response => response.data));
|
|
300
300
|
}
|
|
301
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkUserService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
302
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkUserService, providedIn: 'root' }); }
|
|
301
303
|
}
|
|
302
|
-
|
|
303
|
-
SkUserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkUserService, providedIn: 'root' });
|
|
304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkUserService, decorators: [{
|
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkUserService, decorators: [{
|
|
305
305
|
type: Injectable,
|
|
306
306
|
args: [{
|
|
307
307
|
providedIn: 'root'
|
|
@@ -402,10 +402,10 @@ class SkDocumentService {
|
|
|
402
402
|
updateAdminPublish(documentId, data) {
|
|
403
403
|
return this._apiService.put(`/api/admin/documents/${documentId}/publish`, data).pipe(map(response => response.data));
|
|
404
404
|
}
|
|
405
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkDocumentService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
406
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkDocumentService, providedIn: 'root' }); }
|
|
405
407
|
}
|
|
406
|
-
|
|
407
|
-
SkDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkDocumentService, providedIn: 'root' });
|
|
408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkDocumentService, decorators: [{
|
|
408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkDocumentService, decorators: [{
|
|
409
409
|
type: Injectable,
|
|
410
410
|
args: [{
|
|
411
411
|
providedIn: 'root'
|
|
@@ -449,10 +449,10 @@ class SkBoardService {
|
|
|
449
449
|
deleteAdminBoards(boards) {
|
|
450
450
|
return this._apiService.delete(`/api/admin/boards/delete/${boards.map(board => board.id).join(',')}`);
|
|
451
451
|
}
|
|
452
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkBoardService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
453
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkBoardService, providedIn: 'root' }); }
|
|
452
454
|
}
|
|
453
|
-
|
|
454
|
-
SkBoardService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkBoardService, providedIn: 'root' });
|
|
455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkBoardService, decorators: [{
|
|
455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkBoardService, decorators: [{
|
|
456
456
|
type: Injectable,
|
|
457
457
|
args: [{
|
|
458
458
|
providedIn: 'root'
|
|
@@ -490,10 +490,10 @@ class SkBrandService {
|
|
|
490
490
|
deleteAdminBrands(brands) {
|
|
491
491
|
return this._apiService.delete(`/api/admin/brands/delete/${brands.map(brand => brand.id).join(',')}`);
|
|
492
492
|
}
|
|
493
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkBrandService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
494
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkBrandService, providedIn: 'root' }); }
|
|
493
495
|
}
|
|
494
|
-
|
|
495
|
-
SkBrandService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkBrandService, providedIn: 'root' });
|
|
496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkBrandService, decorators: [{
|
|
496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkBrandService, decorators: [{
|
|
497
497
|
type: Injectable,
|
|
498
498
|
args: [{
|
|
499
499
|
providedIn: 'root'
|
|
@@ -548,10 +548,10 @@ class SkCategoryService {
|
|
|
548
548
|
deleteAdminSubCategoryItem(categoryId, subCategoryId, subCategoryItemId) {
|
|
549
549
|
return this._apiService.delete(`/api/admin/categories/${categoryId}/sub/${subCategoryId}/${subCategoryItemId}`).pipe(map(response => response.data));
|
|
550
550
|
}
|
|
551
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCategoryService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
552
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCategoryService, providedIn: 'root' }); }
|
|
551
553
|
}
|
|
552
|
-
|
|
553
|
-
SkCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCategoryService, providedIn: 'root' });
|
|
554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCategoryService, decorators: [{
|
|
554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCategoryService, decorators: [{
|
|
555
555
|
type: Injectable,
|
|
556
556
|
args: [{
|
|
557
557
|
providedIn: 'root'
|
|
@@ -710,10 +710,10 @@ class SkProductService {
|
|
|
710
710
|
updateAdminPublish(productId, data) {
|
|
711
711
|
return this._apiService.put(`/api/admin/products/${productId}/publish`, data).pipe(map(response => response.data));
|
|
712
712
|
}
|
|
713
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkProductService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
714
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkProductService, providedIn: 'root' }); }
|
|
713
715
|
}
|
|
714
|
-
|
|
715
|
-
SkProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkProductService, providedIn: 'root' });
|
|
716
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkProductService, decorators: [{
|
|
716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkProductService, decorators: [{
|
|
717
717
|
type: Injectable,
|
|
718
718
|
args: [{
|
|
719
719
|
providedIn: 'root'
|
|
@@ -788,10 +788,10 @@ class SkPromotionService {
|
|
|
788
788
|
return this._apiService.get('/api/admin/promotions/count')
|
|
789
789
|
.pipe(map(response => response.data));
|
|
790
790
|
}
|
|
791
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkPromotionService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
792
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkPromotionService, providedIn: 'root' }); }
|
|
791
793
|
}
|
|
792
|
-
|
|
793
|
-
SkPromotionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkPromotionService, providedIn: 'root' });
|
|
794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkPromotionService, decorators: [{
|
|
794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkPromotionService, decorators: [{
|
|
795
795
|
type: Injectable,
|
|
796
796
|
args: [{
|
|
797
797
|
providedIn: 'root'
|
|
@@ -814,10 +814,10 @@ class SkConfigService {
|
|
|
814
814
|
return this._apiService.get('/api/public/bank-list')
|
|
815
815
|
.pipe(map(result => result.data || []));
|
|
816
816
|
}
|
|
817
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkConfigService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
818
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkConfigService, providedIn: 'root' }); }
|
|
817
819
|
}
|
|
818
|
-
|
|
819
|
-
SkConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkConfigService, providedIn: 'root' });
|
|
820
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkConfigService, decorators: [{
|
|
820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkConfigService, decorators: [{
|
|
821
821
|
type: Injectable,
|
|
822
822
|
args: [{
|
|
823
823
|
providedIn: 'root'
|
|
@@ -857,10 +857,10 @@ class SkCartApiService {
|
|
|
857
857
|
update(cart) {
|
|
858
858
|
return this._apiService.put(`/api/public/carts/${cart.id}`, { amount: cart.amount }).pipe(map(response => (response.data || []).map(item => new SkCart(item))));
|
|
859
859
|
}
|
|
860
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCartApiService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
861
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCartApiService, providedIn: 'root' }); }
|
|
860
862
|
}
|
|
861
|
-
|
|
862
|
-
SkCartApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCartApiService, providedIn: 'root' });
|
|
863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCartApiService, decorators: [{
|
|
863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCartApiService, decorators: [{
|
|
864
864
|
type: Injectable,
|
|
865
865
|
args: [{
|
|
866
866
|
providedIn: 'root'
|
|
@@ -914,10 +914,10 @@ class SkCartLocalService {
|
|
|
914
914
|
}
|
|
915
915
|
return of(cartList);
|
|
916
916
|
}
|
|
917
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCartLocalService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
918
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCartLocalService, providedIn: 'root' }); }
|
|
917
919
|
}
|
|
918
|
-
|
|
919
|
-
SkCartLocalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCartLocalService, providedIn: 'root' });
|
|
920
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCartLocalService, decorators: [{
|
|
920
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCartLocalService, decorators: [{
|
|
921
921
|
type: Injectable,
|
|
922
922
|
args: [{
|
|
923
923
|
providedIn: 'root'
|
|
@@ -927,6 +927,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
927
927
|
args: [PLATFORM_ID]
|
|
928
928
|
}] }]; } });
|
|
929
929
|
class SkCartService {
|
|
930
|
+
get cartItems() {
|
|
931
|
+
return this._cartItems$.getValue();
|
|
932
|
+
}
|
|
933
|
+
set cartItems(value) {
|
|
934
|
+
this._cartItems$.next(value);
|
|
935
|
+
}
|
|
936
|
+
get selectedItems() {
|
|
937
|
+
return this._selectedItems$.getValue();
|
|
938
|
+
}
|
|
939
|
+
set selectedItems(value) {
|
|
940
|
+
this._selectedItems$.next(value);
|
|
941
|
+
}
|
|
930
942
|
constructor(_authService, _apiService, _apiCartService, _apiLocalService) {
|
|
931
943
|
this._authService = _authService;
|
|
932
944
|
this._apiService = _apiService;
|
|
@@ -940,18 +952,6 @@ class SkCartService {
|
|
|
940
952
|
// this.load();
|
|
941
953
|
// });
|
|
942
954
|
}
|
|
943
|
-
get cartItems() {
|
|
944
|
-
return this._cartItems$.getValue();
|
|
945
|
-
}
|
|
946
|
-
set cartItems(value) {
|
|
947
|
-
this._cartItems$.next(value);
|
|
948
|
-
}
|
|
949
|
-
get selectedItems() {
|
|
950
|
-
return this._selectedItems$.getValue();
|
|
951
|
-
}
|
|
952
|
-
set selectedItems(value) {
|
|
953
|
-
this._selectedItems$.next(value);
|
|
954
|
-
}
|
|
955
955
|
load() {
|
|
956
956
|
this._authService.checkLogin()
|
|
957
957
|
.pipe(switchMap(result => result ? this._apiCartService.load() : this._apiLocalService.load()))
|
|
@@ -1060,10 +1060,10 @@ class SkCartService {
|
|
|
1060
1060
|
paymentType
|
|
1061
1061
|
})), map(result => result.data));
|
|
1062
1062
|
}
|
|
1063
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCartService, deps: [{ token: SkAuthService }, { token: i1.SkApiService }, { token: SkCartApiService }, { token: SkCartLocalService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1064
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCartService, providedIn: 'root' }); }
|
|
1063
1065
|
}
|
|
1064
|
-
|
|
1065
|
-
SkCartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCartService, providedIn: 'root' });
|
|
1066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCartService, decorators: [{
|
|
1066
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCartService, decorators: [{
|
|
1067
1067
|
type: Injectable,
|
|
1068
1068
|
args: [{
|
|
1069
1069
|
providedIn: 'root'
|
|
@@ -1186,10 +1186,10 @@ class SkOrderService {
|
|
|
1186
1186
|
couponSerials: serials
|
|
1187
1187
|
}).pipe(map(result => result.data || { discountAmount: 0, couponData: [] }));
|
|
1188
1188
|
}
|
|
1189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkOrderService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1190
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkOrderService, providedIn: 'root' }); }
|
|
1189
1191
|
}
|
|
1190
|
-
|
|
1191
|
-
SkOrderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkOrderService, providedIn: 'root' });
|
|
1192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkOrderService, decorators: [{
|
|
1192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkOrderService, decorators: [{
|
|
1193
1193
|
type: Injectable,
|
|
1194
1194
|
args: [{
|
|
1195
1195
|
providedIn: 'root'
|
|
@@ -1218,10 +1218,10 @@ class SkAccountService {
|
|
|
1218
1218
|
getWishListShowBadge() {
|
|
1219
1219
|
return this._apiService.get(`/api/public/users/me/wishlist/badge`).pipe(map(response => response.data || false));
|
|
1220
1220
|
}
|
|
1221
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAccountService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1222
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAccountService, providedIn: 'root' }); }
|
|
1221
1223
|
}
|
|
1222
|
-
|
|
1223
|
-
SkAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkAccountService, providedIn: 'root' });
|
|
1224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkAccountService, decorators: [{
|
|
1224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAccountService, decorators: [{
|
|
1225
1225
|
type: Injectable,
|
|
1226
1226
|
args: [{
|
|
1227
1227
|
providedIn: 'root'
|
|
@@ -1238,10 +1238,10 @@ class SkSearchService {
|
|
|
1238
1238
|
getSearchKeywords() {
|
|
1239
1239
|
return this._apiService.get(`/api/public/search/keywords`).pipe(map(response => response.data));
|
|
1240
1240
|
}
|
|
1241
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkSearchService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1242
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkSearchService, providedIn: 'root' }); }
|
|
1241
1243
|
}
|
|
1242
|
-
|
|
1243
|
-
SkSearchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkSearchService, providedIn: 'root' });
|
|
1244
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkSearchService, decorators: [{
|
|
1244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkSearchService, decorators: [{
|
|
1245
1245
|
type: Injectable,
|
|
1246
1246
|
args: [{
|
|
1247
1247
|
providedIn: 'root'
|
|
@@ -1277,10 +1277,10 @@ class SkPointService {
|
|
|
1277
1277
|
usePointToUser(data) {
|
|
1278
1278
|
return this._apiService.put(`/api/admin/points/use`, data).pipe(map(response => Number(response.data || 0)));
|
|
1279
1279
|
}
|
|
1280
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkPointService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1281
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkPointService, providedIn: 'root' }); }
|
|
1280
1282
|
}
|
|
1281
|
-
|
|
1282
|
-
SkPointService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkPointService, providedIn: 'root' });
|
|
1283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkPointService, decorators: [{
|
|
1283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkPointService, decorators: [{
|
|
1284
1284
|
type: Injectable,
|
|
1285
1285
|
args: [{
|
|
1286
1286
|
providedIn: 'root'
|
|
@@ -1334,10 +1334,10 @@ class SkCouponService {
|
|
|
1334
1334
|
return this._apiService.get('/api/admin/coupons/count')
|
|
1335
1335
|
.pipe(map(response => response.data));
|
|
1336
1336
|
}
|
|
1337
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCouponService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1338
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCouponService, providedIn: 'root' }); }
|
|
1337
1339
|
}
|
|
1338
|
-
|
|
1339
|
-
SkCouponService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCouponService, providedIn: 'root' });
|
|
1340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCouponService, decorators: [{
|
|
1340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCouponService, decorators: [{
|
|
1341
1341
|
type: Injectable,
|
|
1342
1342
|
args: [{
|
|
1343
1343
|
providedIn: 'root'
|
|
@@ -1371,10 +1371,10 @@ class SkCommentService {
|
|
|
1371
1371
|
return this._apiService.delete(`/api/public/document-comments/${id}`)
|
|
1372
1372
|
.pipe(map(response => response.data));
|
|
1373
1373
|
}
|
|
1374
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCommentService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1375
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCommentService, providedIn: 'root' }); }
|
|
1374
1376
|
}
|
|
1375
|
-
|
|
1376
|
-
SkCommentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCommentService, providedIn: 'root' });
|
|
1377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCommentService, decorators: [{
|
|
1377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCommentService, decorators: [{
|
|
1378
1378
|
type: Injectable,
|
|
1379
1379
|
args: [{
|
|
1380
1380
|
providedIn: 'root'
|
|
@@ -1405,10 +1405,10 @@ class SkContactService {
|
|
|
1405
1405
|
return this._apiService.put(`/api/admin/contacts/${id}/close`, null)
|
|
1406
1406
|
.pipe(map(response => response.data));
|
|
1407
1407
|
}
|
|
1408
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkContactService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1409
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkContactService, providedIn: 'root' }); }
|
|
1408
1410
|
}
|
|
1409
|
-
|
|
1410
|
-
SkContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkContactService, providedIn: 'root' });
|
|
1411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkContactService, decorators: [{
|
|
1411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkContactService, decorators: [{
|
|
1412
1412
|
type: Injectable,
|
|
1413
1413
|
args: [{
|
|
1414
1414
|
providedIn: 'root'
|
|
@@ -1425,10 +1425,10 @@ class SkEtcService {
|
|
|
1425
1425
|
sendTestSms(key, to) {
|
|
1426
1426
|
return this._apiService.get(`/api/admin/notifications/sms/${key}`, new HttpParams().append('to', to)).pipe(map(response => response.data));
|
|
1427
1427
|
}
|
|
1428
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkEtcService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1429
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkEtcService, providedIn: 'root' }); }
|
|
1428
1430
|
}
|
|
1429
|
-
|
|
1430
|
-
SkEtcService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkEtcService, providedIn: 'root' });
|
|
1431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkEtcService, decorators: [{
|
|
1431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkEtcService, decorators: [{
|
|
1432
1432
|
type: Injectable,
|
|
1433
1433
|
args: [{
|
|
1434
1434
|
providedIn: 'root'
|
|
@@ -1466,10 +1466,10 @@ class SkStoreService {
|
|
|
1466
1466
|
deleteAdminStores(stores) {
|
|
1467
1467
|
return this._apiService.delete(`/api/admin/stores/delete/${stores.map(store => store.id).join(',')}`);
|
|
1468
1468
|
}
|
|
1469
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkStoreService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1470
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkStoreService, providedIn: 'root' }); }
|
|
1469
1471
|
}
|
|
1470
|
-
|
|
1471
|
-
SkStoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkStoreService, providedIn: 'root' });
|
|
1472
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkStoreService, decorators: [{
|
|
1472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkStoreService, decorators: [{
|
|
1473
1473
|
type: Injectable,
|
|
1474
1474
|
args: [{
|
|
1475
1475
|
providedIn: 'root'
|
|
@@ -1507,10 +1507,10 @@ class SkKeywordService {
|
|
|
1507
1507
|
deleteAdminKeywords(keywords) {
|
|
1508
1508
|
return this._apiService.delete(`/api/admin/keywords/delete/${keywords.map(keyword => keyword.id).join(',')}`);
|
|
1509
1509
|
}
|
|
1510
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkKeywordService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1511
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkKeywordService, providedIn: 'root' }); }
|
|
1510
1512
|
}
|
|
1511
|
-
|
|
1512
|
-
SkKeywordService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkKeywordService, providedIn: 'root' });
|
|
1513
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkKeywordService, decorators: [{
|
|
1513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkKeywordService, decorators: [{
|
|
1514
1514
|
type: Injectable,
|
|
1515
1515
|
args: [{
|
|
1516
1516
|
providedIn: 'root'
|