sk-front-lib 0.18.5 → 0.19.2

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.
Files changed (182) hide show
  1. package/article/sk-article-editor-server.component.d.ts +1 -1
  2. package/article/sk-article-editor.component.d.ts +1 -1
  3. package/article/sk-froala-editor.directive.d.ts +1 -1
  4. package/crud/sk-auth-admin.guard.d.ts +2 -2
  5. package/crud/sk-auth.guard.d.ts +2 -2
  6. package/{esm2022 → esm2020}/api/sk-api.module.mjs +9 -9
  7. package/{esm2022 → esm2020}/api/sk-api.service.mjs +4 -4
  8. package/{esm2022 → esm2020}/article/sk-article-editor-server.component.mjs +4 -4
  9. package/{esm2022 → esm2020}/article/sk-article-editor.component.mjs +4 -4
  10. package/{esm2022 → esm2020}/article/sk-article-server.module.mjs +5 -5
  11. package/{esm2022 → esm2020}/article/sk-article.module.mjs +7 -7
  12. package/{esm2022 → esm2020}/article/sk-article.service.mjs +4 -4
  13. package/{esm2022 → esm2020}/article/sk-froala-editor.directive.mjs +7 -7
  14. package/{esm2022 → esm2020}/crud/sk-account.service.mjs +4 -4
  15. package/{esm2022 → esm2020}/crud/sk-affiliate.service.mjs +4 -4
  16. package/{esm2022 → esm2020}/crud/sk-auth-admin.guard.mjs +4 -4
  17. package/{esm2022 → esm2020}/crud/sk-auth.guard.mjs +4 -4
  18. package/{esm2022 → esm2020}/crud/sk-auth.service.mjs +7 -7
  19. package/{esm2022 → esm2020}/crud/sk-board.service.mjs +4 -4
  20. package/{esm2022 → esm2020}/crud/sk-brand.service.mjs +4 -4
  21. package/esm2020/crud/sk-cart.service.mjs +256 -0
  22. package/{esm2022 → esm2020}/crud/sk-category.service.mjs +4 -4
  23. package/{esm2022 → esm2020}/crud/sk-comment.service.mjs +4 -4
  24. package/{esm2022 → esm2020}/crud/sk-config.service.mjs +4 -4
  25. package/{esm2022 → esm2020}/crud/sk-contact.service.mjs +4 -4
  26. package/{esm2022 → esm2020}/crud/sk-coupon.service.mjs +4 -4
  27. package/{esm2022 → esm2020}/crud/sk-document.service.mjs +4 -4
  28. package/{esm2022 → esm2020}/crud/sk-etc.service.mjs +4 -4
  29. package/{esm2022 → esm2020}/crud/sk-file.service.mjs +4 -4
  30. package/{esm2022 → esm2020}/crud/sk-keyword.service.mjs +4 -4
  31. package/{esm2022 → esm2020}/crud/sk-order.service.mjs +4 -4
  32. package/{esm2022 → esm2020}/crud/sk-point.service.mjs +4 -4
  33. package/{esm2022 → esm2020}/crud/sk-product.service.mjs +4 -4
  34. package/{esm2022 → esm2020}/crud/sk-promotion.service.mjs +4 -4
  35. package/{esm2022 → esm2020}/crud/sk-search.service.mjs +4 -4
  36. package/{esm2022 → esm2020}/crud/sk-store.service.mjs +4 -4
  37. package/{esm2022 → esm2020}/crud/sk-user.service.mjs +4 -4
  38. package/{esm2022 → esm2020}/google-analytics/google-analytics-router.module.mjs +9 -9
  39. package/{esm2022 → esm2020}/google-analytics/google-analytics.module.mjs +5 -5
  40. package/esm2020/google-analytics/services/google-analytics.service.mjs +200 -0
  41. package/{esm2022 → esm2020}/image/sk-image.component.mjs +6 -6
  42. package/esm2020/image/sk-image.module.mjs +40 -0
  43. package/{esm2022 → esm2020}/lib/sk-byte.pipe.mjs +4 -4
  44. package/{esm2022 → esm2020}/lib/sk-date-time.pipe.mjs +4 -4
  45. package/{esm2022 → esm2020}/lib/sk-date.pipe.mjs +4 -4
  46. package/{esm2022 → esm2020}/lib/sk-front-lib.module.mjs +13 -13
  47. package/{esm2022 → esm2020}/lib/sk-keys.pipe.mjs +4 -4
  48. package/{esm2022 → esm2020}/lib/sk-time.pipe.mjs +4 -4
  49. package/{esm2022 → esm2020}/model/lib/coupon.mjs +1 -1
  50. package/esm2020/model/lib/filetype.mjs +179 -0
  51. package/esm2020/model/lib/payment.mjs +35 -0
  52. package/esm2020/model/lib/tosspay.mjs +61 -0
  53. package/{esm2022 → esm2020}/model/public_api.mjs +2 -1
  54. package/esm2020/search-address/dialog/dialog.component.mjs +27 -0
  55. package/{esm2022 → esm2020}/search-address/sk-search-address.directive.mjs +6 -6
  56. package/esm2020/search-address/sk-search-address.module.mjs +47 -0
  57. package/{esm2022 → esm2020}/search-address/sk-search-address.service.mjs +4 -4
  58. package/esm2020/uploader/sk-uploader.component.mjs +120 -0
  59. package/esm2020/uploader/sk-uploader.directive.mjs +44 -0
  60. package/esm2020/uploader/sk-uploader.module.mjs +57 -0
  61. package/fesm2015/sk-front-lib-api.mjs +216 -0
  62. package/fesm2015/sk-front-lib-api.mjs.map +1 -0
  63. package/fesm2015/sk-front-lib-article.mjs +758 -0
  64. package/fesm2015/sk-front-lib-article.mjs.map +1 -0
  65. package/fesm2015/sk-front-lib-crud.mjs +1529 -0
  66. package/fesm2015/sk-front-lib-crud.mjs.map +1 -0
  67. package/fesm2015/sk-front-lib-google-analytics.mjs +334 -0
  68. package/fesm2015/sk-front-lib-google-analytics.mjs.map +1 -0
  69. package/fesm2015/sk-front-lib-image.mjs +303 -0
  70. package/fesm2015/sk-front-lib-image.mjs.map +1 -0
  71. package/{fesm2022 → fesm2015}/sk-front-lib-model.mjs +123 -57
  72. package/fesm2015/sk-front-lib-model.mjs.map +1 -0
  73. package/fesm2015/sk-front-lib-search-address.mjs +183 -0
  74. package/fesm2015/sk-front-lib-search-address.mjs.map +1 -0
  75. package/fesm2015/sk-front-lib-uploader.mjs +546 -0
  76. package/fesm2015/sk-front-lib-uploader.mjs.map +1 -0
  77. package/{fesm2022 → fesm2015}/sk-front-lib.mjs +27 -27
  78. package/{fesm2022 → fesm2015}/sk-front-lib.mjs.map +1 -1
  79. package/{fesm2022 → fesm2020}/sk-front-lib-api.mjs +11 -11
  80. package/{fesm2022 → fesm2020}/sk-front-lib-api.mjs.map +1 -1
  81. package/{fesm2022 → fesm2020}/sk-front-lib-article.mjs +25 -25
  82. package/{fesm2022 → fesm2020}/sk-front-lib-article.mjs.map +1 -1
  83. package/{fesm2022 → fesm2020}/sk-front-lib-crud.mjs +93 -93
  84. package/fesm2020/sk-front-lib-crud.mjs.map +1 -0
  85. package/{fesm2022 → fesm2020}/sk-front-lib-google-analytics.mjs +16 -38
  86. package/fesm2020/sk-front-lib-google-analytics.mjs.map +1 -0
  87. package/{fesm2022 → fesm2020}/sk-front-lib-image.mjs +21 -21
  88. package/fesm2020/sk-front-lib-image.mjs.map +1 -0
  89. package/fesm2020/sk-front-lib-model.mjs +1171 -0
  90. package/fesm2020/sk-front-lib-model.mjs.map +1 -0
  91. package/{fesm2022 → fesm2020}/sk-front-lib-search-address.mjs +32 -32
  92. package/fesm2020/sk-front-lib-search-address.mjs.map +1 -0
  93. package/{fesm2022 → fesm2020}/sk-front-lib-uploader.mjs +49 -48
  94. package/fesm2020/sk-front-lib-uploader.mjs.map +1 -0
  95. package/fesm2020/sk-front-lib.mjs +538 -0
  96. package/fesm2020/sk-front-lib.mjs.map +1 -0
  97. package/google-analytics/services/google-analytics.service.d.ts +1 -2
  98. package/google-analytics/types/ga-action.type.d.ts +1 -1
  99. package/google-analytics/types/ga-bind.type.d.ts +1 -1
  100. package/image/sk-image.component.d.ts +2 -2
  101. package/image/sk-image.module.d.ts +3 -3
  102. package/model/lib/coupon.d.ts +0 -2
  103. package/model/lib/payment.d.ts +6 -1
  104. package/model/lib/tosspay.d.ts +29 -0
  105. package/model/public_api.d.ts +1 -0
  106. package/package.json +66 -44
  107. package/search-address/dialog/dialog.component.d.ts +1 -1
  108. package/search-address/sk-search-address.directive.d.ts +2 -2
  109. package/search-address/sk-search-address.module.d.ts +3 -3
  110. package/uploader/sk-uploader.component.d.ts +1 -1
  111. package/uploader/sk-uploader.directive.d.ts +2 -2
  112. package/uploader/sk-uploader.module.d.ts +5 -5
  113. package/esm2022/crud/sk-cart.service.mjs +0 -256
  114. package/esm2022/google-analytics/services/google-analytics.service.mjs +0 -223
  115. package/esm2022/image/sk-image.module.mjs +0 -40
  116. package/esm2022/model/lib/filetype.mjs +0 -179
  117. package/esm2022/model/lib/payment.mjs +0 -30
  118. package/esm2022/search-address/dialog/dialog.component.mjs +0 -27
  119. package/esm2022/search-address/sk-search-address.module.mjs +0 -47
  120. package/esm2022/uploader/sk-uploader.component.mjs +0 -119
  121. package/esm2022/uploader/sk-uploader.directive.mjs +0 -44
  122. package/esm2022/uploader/sk-uploader.module.mjs +0 -57
  123. package/fesm2022/sk-front-lib-crud.mjs.map +0 -1
  124. package/fesm2022/sk-front-lib-google-analytics.mjs.map +0 -1
  125. package/fesm2022/sk-front-lib-image.mjs.map +0 -1
  126. package/fesm2022/sk-front-lib-model.mjs.map +0 -1
  127. package/fesm2022/sk-front-lib-search-address.mjs.map +0 -1
  128. package/fesm2022/sk-front-lib-uploader.mjs.map +0 -1
  129. /package/{esm2022 → esm2020}/api/model/api-config.mjs +0 -0
  130. /package/{esm2022 → esm2020}/api/model/api-pageable-param.mjs +0 -0
  131. /package/{esm2022 → esm2020}/api/model/api-pageable.mjs +0 -0
  132. /package/{esm2022 → esm2020}/api/model/api-response.mjs +0 -0
  133. /package/{esm2022 → esm2020}/api/model/index.mjs +0 -0
  134. /package/{esm2022 → esm2020}/api/public_api.mjs +0 -0
  135. /package/{esm2022 → esm2020}/api/sk-front-lib-api.mjs +0 -0
  136. /package/{esm2022 → esm2020}/article/public_api.mjs +0 -0
  137. /package/{esm2022 → esm2020}/article/sk-front-lib-article.mjs +0 -0
  138. /package/{esm2022 → esm2020}/crud/public_api.mjs +0 -0
  139. /package/{esm2022 → esm2020}/crud/sk-front-lib-crud.mjs +0 -0
  140. /package/{esm2022 → esm2020}/google-analytics/initializers/google-analytics-router.initializer.mjs +0 -0
  141. /package/{esm2022 → esm2020}/google-analytics/initializers/google-analytics.initializer.mjs +0 -0
  142. /package/{esm2022 → esm2020}/google-analytics/interfaces/google-analytics-command.mjs +0 -0
  143. /package/{esm2022 → esm2020}/google-analytics/interfaces/google-analytics-settings.mjs +0 -0
  144. /package/{esm2022 → esm2020}/google-analytics/public_api.mjs +0 -0
  145. /package/{esm2022 → esm2020}/google-analytics/sk-front-lib-google-analytics.mjs +0 -0
  146. /package/{esm2022 → esm2020}/google-analytics/tokens/google-analytics-settings-token.mjs +0 -0
  147. /package/{esm2022 → esm2020}/google-analytics/types/ga-action.type.mjs +0 -0
  148. /package/{esm2022 → esm2020}/google-analytics/types/ga-bind.type.mjs +0 -0
  149. /package/{esm2022 → esm2020}/image/public_api.mjs +0 -0
  150. /package/{esm2022 → esm2020}/image/sk-front-lib-image.mjs +0 -0
  151. /package/{esm2022 → esm2020}/lib/sk-animations.mjs +0 -0
  152. /package/{esm2022 → esm2020}/lib/sk-utils.mjs +0 -0
  153. /package/{esm2022 → esm2020}/model/lib/article.mjs +0 -0
  154. /package/{esm2022 → esm2020}/model/lib/audit.mjs +0 -0
  155. /package/{esm2022 → esm2020}/model/lib/auth.mjs +0 -0
  156. /package/{esm2022 → esm2020}/model/lib/board.mjs +0 -0
  157. /package/{esm2022 → esm2020}/model/lib/cart.mjs +0 -0
  158. /package/{esm2022 → esm2020}/model/lib/comment.mjs +0 -0
  159. /package/{esm2022 → esm2020}/model/lib/contact.mjs +0 -0
  160. /package/{esm2022 → esm2020}/model/lib/document.mjs +0 -0
  161. /package/{esm2022 → esm2020}/model/lib/etc.mjs +0 -0
  162. /package/{esm2022 → esm2020}/model/lib/file.mjs +0 -0
  163. /package/{esm2022 → esm2020}/model/lib/grid.mjs +0 -0
  164. /package/{esm2022 → esm2020}/model/lib/nicepay.mjs +0 -0
  165. /package/{esm2022 → esm2020}/model/lib/order.mjs +0 -0
  166. /package/{esm2022 → esm2020}/model/lib/point.mjs +0 -0
  167. /package/{esm2022 → esm2020}/model/lib/product-series.mjs +0 -0
  168. /package/{esm2022 → esm2020}/model/lib/product.mjs +0 -0
  169. /package/{esm2022 → esm2020}/model/lib/promotion.mjs +0 -0
  170. /package/{esm2022 → esm2020}/model/lib/shipping.mjs +0 -0
  171. /package/{esm2022 → esm2020}/model/lib/user.mjs +0 -0
  172. /package/{esm2022 → esm2020}/model/sk-front-lib-model.mjs +0 -0
  173. /package/{esm2022 → esm2020}/public-api.mjs +0 -0
  174. /package/{esm2022 → esm2020}/search-address/public_api.mjs +0 -0
  175. /package/{esm2022 → esm2020}/search-address/sk-front-lib-search-address.mjs +0 -0
  176. /package/{esm2022 → esm2020}/search-address/sk-search-address.model.mjs +0 -0
  177. /package/{esm2022 → esm2020}/sk-front-lib.mjs +0 -0
  178. /package/{esm2022 → esm2020}/uploader/public_api.mjs +0 -0
  179. /package/{esm2022 → esm2020}/uploader/sk-front-lib-uploader.mjs +0 -0
  180. /package/{esm2022 → esm2020}/uploader/sk-uploader-file-item.model.mjs +0 -0
  181. /package/{esm2022 → esm2020}/uploader/sk-uploader.animation.mjs +0 -0
  182. /package/{esm2022 → esm2020}/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' }); }
94
92
  }
95
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAffiliateService, decorators: [{
93
+ SkAffiliateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkAffiliateService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
125
123
  }
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkFileService, decorators: [{
124
+ SkFileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkFileService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
127
127
  type: Injectable,
128
128
  args: [{
129
129
  providedIn: 'root'
@@ -131,15 +131,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
131
131
  }], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
132
132
 
133
133
  class SkAuthService {
134
- get userinfo$() {
135
- return this._userinfo$.asObservable();
136
- }
137
134
  constructor(_router, apiService) {
138
135
  this._router = _router;
139
136
  this.apiService = apiService;
140
137
  this.baseUrl = '/api/auth';
141
138
  this._userinfo$ = new BehaviorSubject(new SkUser());
142
139
  }
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' }); }
185
183
  }
186
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAuthService, decorators: [{
184
+ SkAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkAuthService, deps: [{ token: i2.Router }, { token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
211
209
  }
212
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAuthGuard, decorators: [{
210
+ SkAuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkAuthGuard, deps: [{ token: SkAuthService }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
237
235
  }
238
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAuthAdminGuard, decorators: [{
236
+ SkAuthAdminGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkAuthAdminGuard, deps: [{ token: SkAuthService }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
303
301
  }
304
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkUserService, decorators: [{
302
+ SkUserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkUserService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
407
405
  }
408
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkDocumentService, decorators: [{
406
+ SkDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkDocumentService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
454
452
  }
455
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkBoardService, decorators: [{
453
+ SkBoardService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkBoardService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
495
493
  }
496
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkBrandService, decorators: [{
494
+ SkBrandService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkBrandService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
553
551
  }
554
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCategoryService, decorators: [{
552
+ SkCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCategoryService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
715
713
  }
716
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkProductService, decorators: [{
714
+ SkProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkProductService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
793
791
  }
794
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkPromotionService, decorators: [{
792
+ SkPromotionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkPromotionService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
819
817
  }
820
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkConfigService, decorators: [{
818
+ SkConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkConfigService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
862
860
  }
863
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCartApiService, decorators: [{
861
+ SkCartApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCartApiService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
919
917
  }
920
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCartLocalService, decorators: [{
918
+ SkCartLocalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCartLocalService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
921
921
  type: Injectable,
922
922
  args: [{
923
923
  providedIn: 'root'
@@ -927,18 +927,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", 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
- }
942
930
  constructor(_authService, _apiService, _apiCartService, _apiLocalService) {
943
931
  this._authService = _authService;
944
932
  this._apiService = _apiService;
@@ -952,6 +940,18 @@ class SkCartService {
952
940
  // this.load();
953
941
  // });
954
942
  }
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' }); }
1065
1063
  }
1066
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCartService, decorators: [{
1064
+ SkCartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCartService, deps: [{ token: SkAuthService }, { token: i1.SkApiService }, { token: SkCartApiService }, { token: SkCartLocalService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
1191
1189
  }
1192
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkOrderService, decorators: [{
1190
+ SkOrderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkOrderService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
1223
1221
  }
1224
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkAccountService, decorators: [{
1222
+ SkAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkAccountService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
1243
1241
  }
1244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkSearchService, decorators: [{
1242
+ SkSearchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkSearchService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
1282
1280
  }
1283
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkPointService, decorators: [{
1281
+ SkPointService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkPointService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
1339
1337
  }
1340
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCouponService, decorators: [{
1338
+ SkCouponService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCouponService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
1376
1374
  }
1377
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkCommentService, decorators: [{
1375
+ SkCommentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkCommentService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
1410
1408
  }
1411
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkContactService, decorators: [{
1409
+ SkContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkContactService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
1430
1428
  }
1431
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkEtcService, decorators: [{
1429
+ SkEtcService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkEtcService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
1471
1469
  }
1472
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkStoreService, decorators: [{
1470
+ SkStoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkStoreService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
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' }); }
1512
1510
  }
1513
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkKeywordService, decorators: [{
1511
+ SkKeywordService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SkKeywordService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
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: [{
1514
1514
  type: Injectable,
1515
1515
  args: [{
1516
1516
  providedIn: 'root'