sk-front-lib 0.14.8 → 0.15.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/api/package.json +5 -6
- package/api/sk-api.module.d.ts +7 -0
- package/api/sk-api.service.d.ts +3 -0
- package/api/sk-front-lib-api.d.ts +1 -0
- package/article/package.json +5 -6
- package/article/sk-article-editor-server.component.d.ts +3 -0
- package/article/sk-article-editor.component.d.ts +3 -0
- package/article/sk-article-server.module.d.ts +6 -0
- package/article/sk-article.module.d.ts +7 -0
- package/article/sk-article.service.d.ts +3 -0
- package/article/sk-froala-editor.directive.d.ts +3 -0
- package/article/sk-front-lib-article.d.ts +1 -0
- package/crud/package.json +5 -6
- package/crud/sk-account.service.d.ts +3 -0
- package/crud/sk-auth-admin.guard.d.ts +3 -0
- package/crud/sk-auth.guard.d.ts +3 -0
- package/crud/sk-auth.service.d.ts +3 -0
- package/crud/sk-board.service.d.ts +3 -0
- package/crud/sk-brand.service.d.ts +3 -0
- package/crud/sk-cart.service.d.ts +7 -0
- package/crud/sk-category.service.d.ts +3 -0
- package/crud/sk-comment.service.d.ts +3 -0
- package/crud/sk-config.service.d.ts +3 -0
- package/crud/sk-contact.service.d.ts +3 -0
- package/crud/sk-coupon.service.d.ts +3 -0
- package/crud/sk-document.service.d.ts +3 -0
- package/crud/sk-etc.service.d.ts +3 -0
- package/crud/sk-file.service.d.ts +3 -0
- package/crud/sk-front-lib-crud.d.ts +1 -1
- package/crud/sk-keyword.service.d.ts +3 -0
- package/crud/sk-order.service.d.ts +3 -0
- package/crud/sk-point.service.d.ts +3 -0
- package/crud/sk-product.service.d.ts +4 -0
- package/crud/sk-promotion.service.d.ts +3 -0
- package/crud/sk-search.service.d.ts +3 -0
- package/crud/sk-store.service.d.ts +3 -0
- package/crud/sk-user.service.d.ts +3 -0
- package/{esm2015/api/model/api-config.js → esm2020/api/model/api-config.mjs} +0 -0
- package/{esm2015/api/model/api-pageable-param.js → esm2020/api/model/api-pageable-param.mjs} +0 -0
- package/{esm2015/api/model/api-pageable.js → esm2020/api/model/api-pageable.mjs} +0 -0
- package/{esm2015/api/model/api-response.js → esm2020/api/model/api-response.mjs} +0 -0
- package/{esm2015/api/model/index.js → esm2020/api/model/index.mjs} +0 -0
- package/{esm2015/api/public_api.js → esm2020/api/public_api.mjs} +0 -0
- package/esm2020/api/sk-api.module.mjs +35 -0
- package/esm2020/api/sk-api.service.mjs +145 -0
- package/{esm2015/api/sk-front-lib-api.js → esm2020/api/sk-front-lib-api.mjs} +0 -0
- package/{esm2015/article/public_api.js → esm2020/article/public_api.mjs} +0 -0
- package/esm2020/article/sk-article-editor-server.component.mjs +51 -0
- package/esm2020/article/sk-article-editor.component.mjs +93 -0
- package/esm2020/article/sk-article-server.module.mjs +33 -0
- package/esm2020/article/sk-article.module.mjs +32 -0
- package/esm2020/article/sk-article.service.mjs +248 -0
- package/esm2020/article/sk-froala-editor.directive.mjs +325 -0
- package/{esm2015/article/sk-front-lib-article.js → esm2020/article/sk-front-lib-article.mjs} +0 -0
- package/{esm2015/crud/public_api.js → esm2020/crud/public_api.mjs} +0 -0
- package/esm2020/crud/sk-account.service.mjs +36 -0
- package/esm2020/crud/sk-auth-admin.guard.mjs +31 -0
- package/esm2020/crud/sk-auth.guard.mjs +31 -0
- package/esm2020/crud/sk-auth.service.mjs +67 -0
- package/esm2020/crud/sk-board.service.mjs +54 -0
- package/esm2020/crud/sk-brand.service.mjs +46 -0
- package/esm2020/crud/sk-cart.service.mjs +255 -0
- package/esm2020/crud/sk-category.service.mjs +63 -0
- package/esm2020/crud/sk-comment.service.mjs +43 -0
- package/esm2020/crud/sk-config.service.mjs +31 -0
- package/esm2020/crud/sk-contact.service.mjs +39 -0
- package/esm2020/crud/sk-coupon.service.mjs +62 -0
- package/esm2020/crud/sk-document.service.mjs +95 -0
- package/esm2020/crud/sk-etc.service.mjs +25 -0
- package/esm2020/crud/sk-file.service.mjs +37 -0
- package/esm2020/crud/sk-front-lib-crud.mjs +5 -0
- package/esm2020/crud/sk-keyword.service.mjs +46 -0
- package/esm2020/crud/sk-order.service.mjs +133 -0
- package/esm2020/crud/sk-point.service.mjs +45 -0
- package/esm2020/crud/sk-product.service.mjs +156 -0
- package/esm2020/crud/sk-promotion.service.mjs +81 -0
- package/esm2020/crud/sk-search.service.mjs +25 -0
- package/esm2020/crud/sk-store.service.mjs +47 -0
- package/esm2020/crud/sk-user.service.mjs +69 -0
- package/esm2020/google-analytics/google-analytics-router.module.mjs +30 -0
- package/esm2020/google-analytics/google-analytics.module.mjs +40 -0
- package/esm2020/google-analytics/initializers/google-analytics-router.initializer.mjs +24 -0
- package/esm2020/google-analytics/initializers/google-analytics.initializer.mjs +46 -0
- package/{esm2015/google-analytics/interfaces/google-analytics-command.js → esm2020/google-analytics/interfaces/google-analytics-command.mjs} +0 -0
- package/{esm2015/google-analytics/interfaces/google-analytics-settings.js → esm2020/google-analytics/interfaces/google-analytics-settings.mjs} +0 -0
- package/{esm2015/google-analytics/public_api.js → esm2020/google-analytics/public_api.mjs} +0 -0
- package/esm2020/google-analytics/services/google-analytics.service.mjs +200 -0
- package/{esm2015/google-analytics/sk-front-lib-google-analytics.js → esm2020/google-analytics/sk-front-lib-google-analytics.mjs} +0 -0
- package/{esm2015/google-analytics/tokens/google-analytics-settings-token.js → esm2020/google-analytics/tokens/google-analytics-settings-token.mjs} +0 -0
- package/{esm2015/google-analytics/types/ga-action.type.js → esm2020/google-analytics/types/ga-action.type.mjs} +0 -0
- package/{esm2015/google-analytics/types/ga-bind.type.js → esm2020/google-analytics/types/ga-bind.type.mjs} +0 -0
- package/esm2020/image/public_api.mjs +3 -0
- package/esm2020/image/sk-front-lib-image.mjs +5 -0
- package/esm2020/image/sk-image.component.mjs +262 -0
- package/esm2020/image/sk-image.module.mjs +43 -0
- package/{esm2015/lib/sk-animations.js → esm2020/lib/sk-animations.mjs} +0 -0
- package/esm2020/lib/sk-byte.pipe.mjs +18 -0
- package/esm2020/lib/sk-date-time.pipe.mjs +16 -0
- package/esm2020/lib/sk-date.pipe.mjs +16 -0
- package/esm2020/lib/sk-front-lib.module.mjs +42 -0
- package/esm2020/lib/sk-keys.pipe.mjs +23 -0
- package/esm2020/lib/sk-time.pipe.mjs +16 -0
- package/{esm2015/lib/sk-utils.js → esm2020/lib/sk-utils.mjs} +0 -0
- package/{esm2015/model/lib/article.js → esm2020/model/lib/article.mjs} +0 -0
- package/{esm2015/model/lib/audit.js → esm2020/model/lib/audit.mjs} +0 -0
- package/{esm2015/model/lib/auth.js → esm2020/model/lib/auth.mjs} +0 -0
- package/{esm2015/model/lib/board.js → esm2020/model/lib/board.mjs} +0 -0
- package/{esm2015/model/lib/cart.js → esm2020/model/lib/cart.mjs} +0 -0
- package/{esm2015/model/lib/comment.js → esm2020/model/lib/comment.mjs} +0 -0
- package/{esm2015/model/lib/contact.js → esm2020/model/lib/contact.mjs} +0 -0
- package/{esm2015/model/lib/coupon.js → esm2020/model/lib/coupon.mjs} +0 -0
- package/{esm2015/model/lib/document.js → esm2020/model/lib/document.mjs} +0 -0
- package/{esm2015/model/lib/etc.js → esm2020/model/lib/etc.mjs} +0 -0
- package/{esm2015/model/lib/file.js → esm2020/model/lib/file.mjs} +0 -0
- package/{esm2015/model/lib/filetype.js → esm2020/model/lib/filetype.mjs} +0 -0
- package/{esm2015/model/lib/grid.js → esm2020/model/lib/grid.mjs} +0 -0
- package/{esm2015/model/lib/nicepay.js → esm2020/model/lib/nicepay.mjs} +0 -0
- package/{esm2015/model/lib/order.js → esm2020/model/lib/order.mjs} +0 -0
- package/{esm2015/model/lib/payment.js → esm2020/model/lib/payment.mjs} +0 -0
- package/{esm2015/model/lib/point.js → esm2020/model/lib/point.mjs} +0 -0
- package/{esm2015/model/lib/product-series.js → esm2020/model/lib/product-series.mjs} +0 -0
- package/{esm2015/model/lib/product.js → esm2020/model/lib/product.mjs} +1 -1
- package/esm2020/model/lib/promotion.mjs +79 -0
- package/{esm2015/model/lib/shipping.js → esm2020/model/lib/shipping.mjs} +0 -0
- package/{esm2015/model/lib/user.js → esm2020/model/lib/user.mjs} +0 -0
- package/{esm2015/model/public_api.js → esm2020/model/public_api.mjs} +0 -0
- package/{esm2015/model/sk-front-lib-model.js → esm2020/model/sk-front-lib-model.mjs} +0 -0
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +2 -1
- package/esm2020/search-address/dialog/dialog.component.mjs +27 -0
- package/{esm2015/search-address/public_api.js → esm2020/search-address/public_api.mjs} +0 -0
- package/esm2020/search-address/sk-front-lib-search-address.mjs +5 -0
- package/esm2020/search-address/sk-search-address.directive.mjs +41 -0
- package/{esm2015/search-address/sk-search-address.model.js → esm2020/search-address/sk-search-address.model.mjs} +0 -0
- package/esm2020/search-address/sk-search-address.module.mjs +52 -0
- package/{esm2015/search-address/sk-search-address.service.js → esm2020/search-address/sk-search-address.service.mjs} +10 -8
- package/esm2020/sk-front-lib.mjs +5 -0
- package/{esm2015/uploader/public_api.js → esm2020/uploader/public_api.mjs} +0 -0
- package/esm2020/uploader/sk-front-lib-uploader.mjs +5 -0
- package/{esm2015/uploader/sk-uploader-file-item.model.js → esm2020/uploader/sk-uploader-file-item.model.mjs} +0 -0
- package/{esm2015/uploader/sk-uploader.animation.js → esm2020/uploader/sk-uploader.animation.mjs} +0 -0
- package/{esm2015/uploader/sk-uploader.class.js → esm2020/uploader/sk-uploader.class.mjs} +0 -0
- package/esm2020/uploader/sk-uploader.component.mjs +120 -0
- package/esm2020/uploader/sk-uploader.directive.mjs +44 -0
- package/esm2020/uploader/sk-uploader.module.mjs +62 -0
- package/fesm2015/sk-front-lib-api.mjs +218 -0
- package/fesm2015/sk-front-lib-api.mjs.map +1 -0
- package/fesm2015/{sk-front-lib-article.js → sk-front-lib-article.mjs} +183 -158
- package/fesm2015/sk-front-lib-article.mjs.map +1 -0
- package/fesm2015/sk-front-lib-crud.mjs +1403 -0
- package/fesm2015/sk-front-lib-crud.mjs.map +1 -0
- package/fesm2015/{sk-front-lib-google-analytics.js → sk-front-lib-google-analytics.mjs} +54 -33
- package/fesm2015/sk-front-lib-google-analytics.mjs.map +1 -0
- package/fesm2015/{sk-front-lib-image.js → sk-front-lib-image.mjs} +64 -48
- package/fesm2015/sk-front-lib-image.mjs.map +1 -0
- package/fesm2015/{sk-front-lib-model.js → sk-front-lib-model.mjs} +9 -2
- package/fesm2015/sk-front-lib-model.mjs.map +1 -0
- package/fesm2015/sk-front-lib-search-address.mjs +188 -0
- package/fesm2015/sk-front-lib-search-address.mjs.map +1 -0
- package/fesm2015/sk-front-lib-uploader.mjs +551 -0
- package/fesm2015/sk-front-lib-uploader.mjs.map +1 -0
- package/fesm2015/{sk-front-lib.js → sk-front-lib.mjs} +69 -41
- package/fesm2015/sk-front-lib.mjs.map +1 -0
- package/{fesm2015/sk-front-lib-api.js → fesm2020/sk-front-lib-api.mjs} +41 -26
- package/fesm2020/sk-front-lib-api.mjs.map +1 -0
- package/fesm2020/sk-front-lib-article.mjs +771 -0
- package/fesm2020/sk-front-lib-article.mjs.map +1 -0
- package/{fesm2015/sk-front-lib-crud.js → fesm2020/sk-front-lib-crud.mjs} +213 -236
- package/fesm2020/sk-front-lib-crud.mjs.map +1 -0
- package/fesm2020/sk-front-lib-google-analytics.mjs +336 -0
- package/fesm2020/sk-front-lib-google-analytics.mjs.map +1 -0
- package/fesm2020/sk-front-lib-image.mjs +309 -0
- package/fesm2020/sk-front-lib-image.mjs.map +1 -0
- package/fesm2020/sk-front-lib-model.mjs +1052 -0
- package/fesm2020/sk-front-lib-model.mjs.map +1 -0
- package/fesm2020/sk-front-lib-search-address.mjs +186 -0
- package/fesm2020/sk-front-lib-search-address.mjs.map +1 -0
- package/fesm2020/sk-front-lib-uploader.mjs +549 -0
- package/fesm2020/sk-front-lib-uploader.mjs.map +1 -0
- package/fesm2020/sk-front-lib.mjs +539 -0
- package/fesm2020/sk-front-lib.mjs.map +1 -0
- package/google-analytics/google-analytics-router.module.d.ts +6 -0
- package/google-analytics/google-analytics.module.d.ts +5 -0
- package/google-analytics/package.json +5 -6
- package/google-analytics/services/google-analytics.service.d.ts +3 -0
- package/google-analytics/sk-front-lib-google-analytics.d.ts +1 -0
- package/image/package.json +5 -6
- package/image/public_api.d.ts +1 -0
- package/image/sk-front-lib-image.d.ts +1 -1
- package/image/sk-image.component.d.ts +6 -3
- package/image/sk-image.module.d.ts +10 -0
- package/lib/sk-byte.pipe.d.ts +3 -0
- package/lib/sk-date-time.pipe.d.ts +3 -0
- package/lib/sk-date.pipe.d.ts +3 -0
- package/lib/sk-front-lib.module.d.ts +9 -0
- package/lib/sk-keys.pipe.d.ts +3 -0
- package/lib/sk-time.pipe.d.ts +3 -0
- package/model/lib/product.d.ts +1 -0
- package/model/lib/promotion.d.ts +12 -1
- package/model/package.json +5 -6
- package/model/sk-front-lib-model.d.ts +1 -0
- package/package.json +96 -20
- package/public-api.d.ts +1 -0
- package/search-address/dialog/dialog.component.d.ts +3 -0
- package/search-address/package.json +5 -6
- package/search-address/sk-front-lib-search-address.d.ts +1 -2
- package/search-address/sk-search-address.directive.d.ts +3 -0
- package/search-address/sk-search-address.module.d.ts +12 -0
- package/search-address/sk-search-address.service.d.ts +3 -0
- package/sk-front-lib.d.ts +1 -1
- package/uploader/package.json +5 -6
- package/uploader/sk-front-lib-uploader.d.ts +1 -1
- package/uploader/sk-uploader.component.d.ts +3 -0
- package/uploader/sk-uploader.directive.d.ts +3 -0
- package/uploader/sk-uploader.module.d.ts +14 -0
- package/api/sk-front-lib-api.metadata.json +0 -1
- package/article/sk-front-lib-article.metadata.json +0 -1
- package/bundles/sk-front-lib-api.umd.js +0 -230
- package/bundles/sk-front-lib-api.umd.js.map +0 -1
- package/bundles/sk-front-lib-api.umd.min.js +0 -2
- package/bundles/sk-front-lib-api.umd.min.js.map +0 -1
- package/bundles/sk-front-lib-article.umd.js +0 -772
- package/bundles/sk-front-lib-article.umd.js.map +0 -1
- package/bundles/sk-front-lib-article.umd.min.js +0 -2
- package/bundles/sk-front-lib-article.umd.min.js.map +0 -1
- package/bundles/sk-front-lib-crud.umd.js +0 -1846
- package/bundles/sk-front-lib-crud.umd.js.map +0 -1
- package/bundles/sk-front-lib-crud.umd.min.js +0 -2
- package/bundles/sk-front-lib-crud.umd.min.js.map +0 -1
- package/bundles/sk-front-lib-google-analytics.umd.js +0 -673
- package/bundles/sk-front-lib-google-analytics.umd.js.map +0 -1
- package/bundles/sk-front-lib-google-analytics.umd.min.js +0 -16
- package/bundles/sk-front-lib-google-analytics.umd.min.js.map +0 -1
- package/bundles/sk-front-lib-image.umd.js +0 -312
- package/bundles/sk-front-lib-image.umd.js.map +0 -1
- package/bundles/sk-front-lib-image.umd.min.js +0 -2
- package/bundles/sk-front-lib-image.umd.min.js.map +0 -1
- package/bundles/sk-front-lib-model.umd.js +0 -1464
- package/bundles/sk-front-lib-model.umd.js.map +0 -1
- package/bundles/sk-front-lib-model.umd.min.js +0 -16
- package/bundles/sk-front-lib-model.umd.min.js.map +0 -1
- package/bundles/sk-front-lib-search-address.umd.js +0 -182
- package/bundles/sk-front-lib-search-address.umd.js.map +0 -1
- package/bundles/sk-front-lib-search-address.umd.min.js +0 -2
- package/bundles/sk-front-lib-search-address.umd.min.js.map +0 -1
- package/bundles/sk-front-lib-uploader.umd.js +0 -534
- package/bundles/sk-front-lib-uploader.umd.js.map +0 -1
- package/bundles/sk-front-lib-uploader.umd.min.js +0 -2
- package/bundles/sk-front-lib-uploader.umd.min.js.map +0 -1
- package/bundles/sk-front-lib.umd.js +0 -546
- package/bundles/sk-front-lib.umd.js.map +0 -1
- package/bundles/sk-front-lib.umd.min.js +0 -2
- package/bundles/sk-front-lib.umd.min.js.map +0 -1
- package/crud/sk-front-lib-crud.metadata.json +0 -1
- package/esm2015/api/sk-api.module.js +0 -24
- package/esm2015/api/sk-api.service.js +0 -144
- package/esm2015/article/sk-article-editor-server.component.js +0 -54
- package/esm2015/article/sk-article-editor.component.js +0 -85
- package/esm2015/article/sk-article-server.module.js +0 -26
- package/esm2015/article/sk-article.module.js +0 -23
- package/esm2015/article/sk-article.service.js +0 -235
- package/esm2015/article/sk-froala-editor.directive.js +0 -320
- package/esm2015/crud/sk-account.service.js +0 -38
- package/esm2015/crud/sk-auth-admin.guard.js +0 -35
- package/esm2015/crud/sk-auth.guard.js +0 -35
- package/esm2015/crud/sk-auth.service.js +0 -71
- package/esm2015/crud/sk-board.service.js +0 -55
- package/esm2015/crud/sk-brand.service.js +0 -47
- package/esm2015/crud/sk-cart.service.js +0 -260
- package/esm2015/crud/sk-category.service.js +0 -64
- package/esm2015/crud/sk-comment.service.js +0 -44
- package/esm2015/crud/sk-config.service.js +0 -33
- package/esm2015/crud/sk-contact.service.js +0 -40
- package/esm2015/crud/sk-coupon.service.js +0 -63
- package/esm2015/crud/sk-document.service.js +0 -96
- package/esm2015/crud/sk-etc.service.js +0 -27
- package/esm2015/crud/sk-file.service.js +0 -38
- package/esm2015/crud/sk-front-lib-crud.js +0 -6
- package/esm2015/crud/sk-keyword.service.js +0 -47
- package/esm2015/crud/sk-order.service.js +0 -134
- package/esm2015/crud/sk-point.service.js +0 -46
- package/esm2015/crud/sk-product.service.js +0 -154
- package/esm2015/crud/sk-promotion.service.js +0 -82
- package/esm2015/crud/sk-search.service.js +0 -26
- package/esm2015/crud/sk-store.service.js +0 -48
- package/esm2015/crud/sk-user.service.js +0 -70
- package/esm2015/google-analytics/google-analytics-router.module.js +0 -19
- package/esm2015/google-analytics/google-analytics.module.js +0 -33
- package/esm2015/google-analytics/initializers/google-analytics-router.initializer.js +0 -25
- package/esm2015/google-analytics/initializers/google-analytics.initializer.js +0 -47
- package/esm2015/google-analytics/services/google-analytics.service.js +0 -199
- package/esm2015/image/public_api.js +0 -2
- package/esm2015/image/sk-front-lib-image.js +0 -6
- package/esm2015/image/sk-image.component.js +0 -258
- package/esm2015/image/sk-image.module.js +0 -28
- package/esm2015/lib/sk-byte.pipe.js +0 -14
- package/esm2015/lib/sk-date-time.pipe.js +0 -12
- package/esm2015/lib/sk-date.pipe.js +0 -12
- package/esm2015/lib/sk-front-lib.module.js +0 -29
- package/esm2015/lib/sk-keys.pipe.js +0 -19
- package/esm2015/lib/sk-time.pipe.js +0 -12
- package/esm2015/model/lib/promotion.js +0 -72
- package/esm2015/search-address/dialog/dialog.component.js +0 -28
- package/esm2015/search-address/sk-front-lib-search-address.js +0 -7
- package/esm2015/search-address/sk-search-address.directive.js +0 -39
- package/esm2015/search-address/sk-search-address.module.js +0 -34
- package/esm2015/sk-front-lib.js +0 -6
- package/esm2015/uploader/sk-front-lib-uploader.js +0 -6
- package/esm2015/uploader/sk-uploader.component.js +0 -106
- package/esm2015/uploader/sk-uploader.directive.js +0 -40
- package/esm2015/uploader/sk-uploader.module.js +0 -39
- package/fesm2015/sk-front-lib-api.js.map +0 -1
- package/fesm2015/sk-front-lib-article.js.map +0 -1
- package/fesm2015/sk-front-lib-crud.js.map +0 -1
- package/fesm2015/sk-front-lib-google-analytics.js.map +0 -1
- package/fesm2015/sk-front-lib-image.js.map +0 -1
- package/fesm2015/sk-front-lib-model.js.map +0 -1
- package/fesm2015/sk-front-lib-search-address.js +0 -166
- package/fesm2015/sk-front-lib-search-address.js.map +0 -1
- package/fesm2015/sk-front-lib-uploader.js +0 -510
- package/fesm2015/sk-front-lib-uploader.js.map +0 -1
- package/fesm2015/sk-front-lib.js.map +0 -1
- package/google-analytics/sk-front-lib-google-analytics.metadata.json +0 -1
- package/image/sk-front-lib-image.metadata.json +0 -1
- package/model/sk-front-lib-model.metadata.json +0 -1
- package/search-address/sk-front-lib-search-address.metadata.json +0 -1
- package/sk-front-lib.metadata.json +0 -1
- package/uploader/sk-front-lib-uploader.metadata.json +0 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Injectable, PLATFORM_ID, Inject } from '@angular/core';
|
|
2
3
|
import { map, tap, catchError, switchMap, take } from 'rxjs/operators';
|
|
3
|
-
import
|
|
4
|
+
import * as i1 from 'sk-front-lib/api';
|
|
5
|
+
import { ApiPageableParam } from 'sk-front-lib/api';
|
|
4
6
|
import { SkFile, SkUser, SkDocument, SkBoard, SkProduct, SkPromotion, SkCart, SkOrderDetail, SkPoint, SkDocumentCommentParent, SkStore } from 'sk-front-lib/model';
|
|
5
|
-
import { Router } from '@angular/router';
|
|
6
7
|
import { BehaviorSubject, of } from 'rxjs';
|
|
8
|
+
import * as i2 from '@angular/router';
|
|
7
9
|
import { HttpParams } from '@angular/common/http';
|
|
8
10
|
import { SkUtils } from 'sk-front-lib';
|
|
9
11
|
import { isPlatformBrowser } from '@angular/common';
|
|
@@ -30,15 +32,14 @@ class SkFileService {
|
|
|
30
32
|
return this._apiService.put(`/api/admin/files/${id}`, data).pipe(map(result => new SkFile(result.data)));
|
|
31
33
|
}
|
|
32
34
|
}
|
|
33
|
-
SkFileService.ɵ
|
|
34
|
-
SkFileService
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
];
|
|
35
|
+
SkFileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkFileService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
36
|
+
SkFileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkFileService, providedIn: 'root' });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkFileService, decorators: [{
|
|
38
|
+
type: Injectable,
|
|
39
|
+
args: [{
|
|
40
|
+
providedIn: 'root'
|
|
41
|
+
}]
|
|
42
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
42
43
|
|
|
43
44
|
class SkAuthService {
|
|
44
45
|
constructor(_router, apiService) {
|
|
@@ -91,16 +92,14 @@ class SkAuthService {
|
|
|
91
92
|
return this.apiService.post(this.baseUrl + '/update-password', data).pipe(map(response => response.data));
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
|
-
SkAuthService.ɵ
|
|
95
|
-
SkAuthService
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
{ type: SkApiService }
|
|
103
|
-
];
|
|
95
|
+
SkAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkAuthService, deps: [{ token: i2.Router }, { token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
96
|
+
SkAuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkAuthService, providedIn: 'root' });
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkAuthService, decorators: [{
|
|
98
|
+
type: Injectable,
|
|
99
|
+
args: [{
|
|
100
|
+
providedIn: 'root'
|
|
101
|
+
}]
|
|
102
|
+
}], ctorParameters: function () { return [{ type: i2.Router }, { type: i1.SkApiService }]; } });
|
|
104
103
|
|
|
105
104
|
class SkAuthGuard {
|
|
106
105
|
constructor(authService, router) {
|
|
@@ -119,16 +118,14 @@ class SkAuthGuard {
|
|
|
119
118
|
return this.canActivate(route, state);
|
|
120
119
|
}
|
|
121
120
|
}
|
|
122
|
-
SkAuthGuard.ɵ
|
|
123
|
-
SkAuthGuard
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
{ type: Router }
|
|
131
|
-
];
|
|
121
|
+
SkAuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkAuthGuard, deps: [{ token: SkAuthService }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
122
|
+
SkAuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkAuthGuard, providedIn: 'root' });
|
|
123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkAuthGuard, decorators: [{
|
|
124
|
+
type: Injectable,
|
|
125
|
+
args: [{
|
|
126
|
+
providedIn: 'root'
|
|
127
|
+
}]
|
|
128
|
+
}], ctorParameters: function () { return [{ type: SkAuthService }, { type: i2.Router }]; } });
|
|
132
129
|
|
|
133
130
|
class SkAuthAdminGuard {
|
|
134
131
|
constructor(authService, router) {
|
|
@@ -147,16 +144,14 @@ class SkAuthAdminGuard {
|
|
|
147
144
|
return this.canActivate(route, state);
|
|
148
145
|
}
|
|
149
146
|
}
|
|
150
|
-
SkAuthAdminGuard.ɵ
|
|
151
|
-
SkAuthAdminGuard
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
{ type: Router }
|
|
159
|
-
];
|
|
147
|
+
SkAuthAdminGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkAuthAdminGuard, deps: [{ token: SkAuthService }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
148
|
+
SkAuthAdminGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkAuthAdminGuard, providedIn: 'root' });
|
|
149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkAuthAdminGuard, decorators: [{
|
|
150
|
+
type: Injectable,
|
|
151
|
+
args: [{
|
|
152
|
+
providedIn: 'root'
|
|
153
|
+
}]
|
|
154
|
+
}], ctorParameters: function () { return [{ type: SkAuthService }, { type: i2.Router }]; } });
|
|
160
155
|
|
|
161
156
|
class SkUserService {
|
|
162
157
|
constructor(_apiService) {
|
|
@@ -211,15 +206,14 @@ class SkUserService {
|
|
|
211
206
|
return this._apiService.get('/api/public/users/exists/email', new HttpParams().append('email', email)).pipe(map(response => response.data));
|
|
212
207
|
}
|
|
213
208
|
}
|
|
214
|
-
SkUserService.ɵ
|
|
215
|
-
SkUserService
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
];
|
|
209
|
+
SkUserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkUserService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
210
|
+
SkUserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkUserService, providedIn: 'root' });
|
|
211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkUserService, decorators: [{
|
|
212
|
+
type: Injectable,
|
|
213
|
+
args: [{
|
|
214
|
+
providedIn: 'root'
|
|
215
|
+
}]
|
|
216
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
223
217
|
|
|
224
218
|
class SkDocumentService {
|
|
225
219
|
constructor(_apiService) {
|
|
@@ -301,15 +295,14 @@ class SkDocumentService {
|
|
|
301
295
|
.pipe(map(response => response.data));
|
|
302
296
|
}
|
|
303
297
|
}
|
|
304
|
-
SkDocumentService.ɵ
|
|
305
|
-
SkDocumentService
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
];
|
|
298
|
+
SkDocumentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkDocumentService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
299
|
+
SkDocumentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkDocumentService, providedIn: 'root' });
|
|
300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkDocumentService, decorators: [{
|
|
301
|
+
type: Injectable,
|
|
302
|
+
args: [{
|
|
303
|
+
providedIn: 'root'
|
|
304
|
+
}]
|
|
305
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
313
306
|
|
|
314
307
|
class SkBoardService {
|
|
315
308
|
constructor(_apiService) {
|
|
@@ -349,15 +342,14 @@ class SkBoardService {
|
|
|
349
342
|
return this._apiService.delete(`/api/admin/boards/delete/${boards.map(board => board.id).join(',')}`);
|
|
350
343
|
}
|
|
351
344
|
}
|
|
352
|
-
SkBoardService.ɵ
|
|
353
|
-
SkBoardService
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
];
|
|
345
|
+
SkBoardService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkBoardService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
346
|
+
SkBoardService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkBoardService, providedIn: 'root' });
|
|
347
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkBoardService, decorators: [{
|
|
348
|
+
type: Injectable,
|
|
349
|
+
args: [{
|
|
350
|
+
providedIn: 'root'
|
|
351
|
+
}]
|
|
352
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
361
353
|
|
|
362
354
|
class SkBrandService {
|
|
363
355
|
constructor(_apiService) {
|
|
@@ -391,15 +383,14 @@ class SkBrandService {
|
|
|
391
383
|
return this._apiService.delete(`/api/admin/brands/delete/${brands.map(brand => brand.id).join(',')}`);
|
|
392
384
|
}
|
|
393
385
|
}
|
|
394
|
-
SkBrandService.ɵ
|
|
395
|
-
SkBrandService
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
];
|
|
386
|
+
SkBrandService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkBrandService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
387
|
+
SkBrandService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkBrandService, providedIn: 'root' });
|
|
388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkBrandService, decorators: [{
|
|
389
|
+
type: Injectable,
|
|
390
|
+
args: [{
|
|
391
|
+
providedIn: 'root'
|
|
392
|
+
}]
|
|
393
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
403
394
|
|
|
404
395
|
class SkCategoryService {
|
|
405
396
|
constructor(_apiService) {
|
|
@@ -450,15 +441,14 @@ class SkCategoryService {
|
|
|
450
441
|
return this._apiService.delete(`/api/admin/categories/${categoryId}/sub/${subCategoryId}/${subCategoryItemId}`).pipe(map(response => response.data));
|
|
451
442
|
}
|
|
452
443
|
}
|
|
453
|
-
SkCategoryService.ɵ
|
|
454
|
-
SkCategoryService
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
];
|
|
444
|
+
SkCategoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCategoryService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
445
|
+
SkCategoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCategoryService, providedIn: 'root' });
|
|
446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCategoryService, decorators: [{
|
|
447
|
+
type: Injectable,
|
|
448
|
+
args: [{
|
|
449
|
+
providedIn: 'root'
|
|
450
|
+
}]
|
|
451
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
462
452
|
|
|
463
453
|
class SkProductService {
|
|
464
454
|
constructor(_apiService) {
|
|
@@ -485,6 +475,9 @@ class SkProductService {
|
|
|
485
475
|
createAdminProduct(data) {
|
|
486
476
|
return this._apiService.post(`/api/admin/products`, data).pipe(map(response => new SkProduct(response.data)));
|
|
487
477
|
}
|
|
478
|
+
copyAdminProduct(id) {
|
|
479
|
+
return this._apiService.post(`/api/admin/products/${id}/copy`, {}).pipe(map(response => new SkProduct(response.data)));
|
|
480
|
+
}
|
|
488
481
|
updateProduct(id, data) {
|
|
489
482
|
return this._apiService.put(`/api/public/products/${id}`, data).pipe(map(response => new SkProduct(response.data)));
|
|
490
483
|
}
|
|
@@ -598,15 +591,14 @@ class SkProductService {
|
|
|
598
591
|
return this._apiService.delete(`/api/admin/product-series/${id}`).pipe(map(response => response.data));
|
|
599
592
|
}
|
|
600
593
|
}
|
|
601
|
-
SkProductService.ɵ
|
|
602
|
-
SkProductService
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
];
|
|
594
|
+
SkProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkProductService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
595
|
+
SkProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkProductService, providedIn: 'root' });
|
|
596
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkProductService, decorators: [{
|
|
597
|
+
type: Injectable,
|
|
598
|
+
args: [{
|
|
599
|
+
providedIn: 'root'
|
|
600
|
+
}]
|
|
601
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
610
602
|
|
|
611
603
|
class SkPromotionService {
|
|
612
604
|
constructor(_apiService) {
|
|
@@ -674,15 +666,14 @@ class SkPromotionService {
|
|
|
674
666
|
.pipe(map(response => response.data));
|
|
675
667
|
}
|
|
676
668
|
}
|
|
677
|
-
SkPromotionService.ɵ
|
|
678
|
-
SkPromotionService
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
];
|
|
669
|
+
SkPromotionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkPromotionService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
670
|
+
SkPromotionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkPromotionService, providedIn: 'root' });
|
|
671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkPromotionService, decorators: [{
|
|
672
|
+
type: Injectable,
|
|
673
|
+
args: [{
|
|
674
|
+
providedIn: 'root'
|
|
675
|
+
}]
|
|
676
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
686
677
|
|
|
687
678
|
class SkConfigService {
|
|
688
679
|
constructor(_apiService) {
|
|
@@ -701,15 +692,14 @@ class SkConfigService {
|
|
|
701
692
|
.pipe(map(result => result.data || []));
|
|
702
693
|
}
|
|
703
694
|
}
|
|
704
|
-
SkConfigService.ɵ
|
|
705
|
-
SkConfigService
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
];
|
|
695
|
+
SkConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkConfigService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
696
|
+
SkConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkConfigService, providedIn: 'root' });
|
|
697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkConfigService, decorators: [{
|
|
698
|
+
type: Injectable,
|
|
699
|
+
args: [{
|
|
700
|
+
providedIn: 'root'
|
|
701
|
+
}]
|
|
702
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
713
703
|
|
|
714
704
|
class SkCartApiService {
|
|
715
705
|
constructor(_apiService) {
|
|
@@ -745,15 +735,14 @@ class SkCartApiService {
|
|
|
745
735
|
return this._apiService.put(`/api/public/carts/${cart.id}`, { amount: cart.amount }).pipe(map(response => (response.data || []).map(item => new SkCart(item))));
|
|
746
736
|
}
|
|
747
737
|
}
|
|
748
|
-
SkCartApiService.ɵ
|
|
749
|
-
SkCartApiService
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
];
|
|
738
|
+
SkCartApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCartApiService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
739
|
+
SkCartApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCartApiService, providedIn: 'root' });
|
|
740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCartApiService, decorators: [{
|
|
741
|
+
type: Injectable,
|
|
742
|
+
args: [{
|
|
743
|
+
providedIn: 'root'
|
|
744
|
+
}]
|
|
745
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
757
746
|
class SkCartLocalService {
|
|
758
747
|
constructor(platformId) {
|
|
759
748
|
this.platformId = platformId;
|
|
@@ -803,15 +792,17 @@ class SkCartLocalService {
|
|
|
803
792
|
return of(cartList);
|
|
804
793
|
}
|
|
805
794
|
}
|
|
806
|
-
SkCartLocalService.ɵ
|
|
807
|
-
SkCartLocalService
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
795
|
+
SkCartLocalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCartLocalService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
796
|
+
SkCartLocalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCartLocalService, providedIn: 'root' });
|
|
797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCartLocalService, decorators: [{
|
|
798
|
+
type: Injectable,
|
|
799
|
+
args: [{
|
|
800
|
+
providedIn: 'root'
|
|
801
|
+
}]
|
|
802
|
+
}], ctorParameters: function () { return [{ type: Object, decorators: [{
|
|
803
|
+
type: Inject,
|
|
804
|
+
args: [PLATFORM_ID]
|
|
805
|
+
}] }]; } });
|
|
815
806
|
class SkCartService {
|
|
816
807
|
constructor(_authService, _apiService, _apiCartService, _apiLocalService) {
|
|
817
808
|
this._authService = _authService;
|
|
@@ -946,18 +937,14 @@ class SkCartService {
|
|
|
946
937
|
})), map(result => result.data));
|
|
947
938
|
}
|
|
948
939
|
}
|
|
949
|
-
SkCartService.ɵ
|
|
950
|
-
SkCartService
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
{ type: SkApiService },
|
|
958
|
-
{ type: SkCartApiService },
|
|
959
|
-
{ type: SkCartLocalService }
|
|
960
|
-
];
|
|
940
|
+
SkCartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCartService, deps: [{ token: SkAuthService }, { token: i1.SkApiService }, { token: SkCartApiService }, { token: SkCartLocalService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
941
|
+
SkCartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCartService, providedIn: 'root' });
|
|
942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCartService, decorators: [{
|
|
943
|
+
type: Injectable,
|
|
944
|
+
args: [{
|
|
945
|
+
providedIn: 'root'
|
|
946
|
+
}]
|
|
947
|
+
}], ctorParameters: function () { return [{ type: SkAuthService }, { type: i1.SkApiService }, { type: SkCartApiService }, { type: SkCartLocalService }]; } });
|
|
961
948
|
|
|
962
949
|
class SkOrderService {
|
|
963
950
|
constructor(_apiService) {
|
|
@@ -1076,15 +1063,14 @@ class SkOrderService {
|
|
|
1076
1063
|
}).pipe(map(result => result.data || { discountAmount: 0, couponData: [] }));
|
|
1077
1064
|
}
|
|
1078
1065
|
}
|
|
1079
|
-
SkOrderService.ɵ
|
|
1080
|
-
SkOrderService
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
];
|
|
1066
|
+
SkOrderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkOrderService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1067
|
+
SkOrderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkOrderService, providedIn: 'root' });
|
|
1068
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkOrderService, decorators: [{
|
|
1069
|
+
type: Injectable,
|
|
1070
|
+
args: [{
|
|
1071
|
+
providedIn: 'root'
|
|
1072
|
+
}]
|
|
1073
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
1088
1074
|
|
|
1089
1075
|
class SkAccountService {
|
|
1090
1076
|
constructor(_apiService) {
|
|
@@ -1109,15 +1095,14 @@ class SkAccountService {
|
|
|
1109
1095
|
return this._apiService.get(`/api/public/users/me/wishlist/badge`).pipe(map(response => response.data || false));
|
|
1110
1096
|
}
|
|
1111
1097
|
}
|
|
1112
|
-
SkAccountService.ɵ
|
|
1113
|
-
SkAccountService
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
];
|
|
1098
|
+
SkAccountService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkAccountService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1099
|
+
SkAccountService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkAccountService, providedIn: 'root' });
|
|
1100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkAccountService, decorators: [{
|
|
1101
|
+
type: Injectable,
|
|
1102
|
+
args: [{
|
|
1103
|
+
providedIn: 'root'
|
|
1104
|
+
}]
|
|
1105
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
1121
1106
|
|
|
1122
1107
|
class SkSearchService {
|
|
1123
1108
|
constructor(_apiService) {
|
|
@@ -1130,15 +1115,14 @@ class SkSearchService {
|
|
|
1130
1115
|
return this._apiService.get(`/api/public/search/keywords`).pipe(map(response => response.data));
|
|
1131
1116
|
}
|
|
1132
1117
|
}
|
|
1133
|
-
SkSearchService.ɵ
|
|
1134
|
-
SkSearchService
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
];
|
|
1118
|
+
SkSearchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkSearchService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1119
|
+
SkSearchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkSearchService, providedIn: 'root' });
|
|
1120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkSearchService, decorators: [{
|
|
1121
|
+
type: Injectable,
|
|
1122
|
+
args: [{
|
|
1123
|
+
providedIn: 'root'
|
|
1124
|
+
}]
|
|
1125
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
1142
1126
|
|
|
1143
1127
|
class SkPointService {
|
|
1144
1128
|
constructor(_apiService) {
|
|
@@ -1170,15 +1154,14 @@ class SkPointService {
|
|
|
1170
1154
|
return this._apiService.put(`/api/admin/points/use`, data).pipe(map(response => Number(response.data || 0)));
|
|
1171
1155
|
}
|
|
1172
1156
|
}
|
|
1173
|
-
SkPointService.ɵ
|
|
1174
|
-
SkPointService
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
];
|
|
1157
|
+
SkPointService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkPointService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1158
|
+
SkPointService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkPointService, providedIn: 'root' });
|
|
1159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkPointService, decorators: [{
|
|
1160
|
+
type: Injectable,
|
|
1161
|
+
args: [{
|
|
1162
|
+
providedIn: 'root'
|
|
1163
|
+
}]
|
|
1164
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
1182
1165
|
|
|
1183
1166
|
class SkCouponService {
|
|
1184
1167
|
constructor(_apiService) {
|
|
@@ -1228,15 +1211,14 @@ class SkCouponService {
|
|
|
1228
1211
|
.pipe(map(response => response.data));
|
|
1229
1212
|
}
|
|
1230
1213
|
}
|
|
1231
|
-
SkCouponService.ɵ
|
|
1232
|
-
SkCouponService
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
];
|
|
1214
|
+
SkCouponService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCouponService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1215
|
+
SkCouponService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCouponService, providedIn: 'root' });
|
|
1216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCouponService, decorators: [{
|
|
1217
|
+
type: Injectable,
|
|
1218
|
+
args: [{
|
|
1219
|
+
providedIn: 'root'
|
|
1220
|
+
}]
|
|
1221
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
1240
1222
|
|
|
1241
1223
|
class SkCommentService {
|
|
1242
1224
|
constructor(_apiService) {
|
|
@@ -1266,15 +1248,14 @@ class SkCommentService {
|
|
|
1266
1248
|
.pipe(map(response => response.data));
|
|
1267
1249
|
}
|
|
1268
1250
|
}
|
|
1269
|
-
SkCommentService.ɵ
|
|
1270
|
-
SkCommentService
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
];
|
|
1251
|
+
SkCommentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCommentService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1252
|
+
SkCommentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCommentService, providedIn: 'root' });
|
|
1253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkCommentService, decorators: [{
|
|
1254
|
+
type: Injectable,
|
|
1255
|
+
args: [{
|
|
1256
|
+
providedIn: 'root'
|
|
1257
|
+
}]
|
|
1258
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
1278
1259
|
|
|
1279
1260
|
class SkContactService {
|
|
1280
1261
|
constructor(_apiService) {
|
|
@@ -1301,15 +1282,14 @@ class SkContactService {
|
|
|
1301
1282
|
.pipe(map(response => response.data));
|
|
1302
1283
|
}
|
|
1303
1284
|
}
|
|
1304
|
-
SkContactService.ɵ
|
|
1305
|
-
SkContactService
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
];
|
|
1285
|
+
SkContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkContactService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1286
|
+
SkContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkContactService, providedIn: 'root' });
|
|
1287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkContactService, decorators: [{
|
|
1288
|
+
type: Injectable,
|
|
1289
|
+
args: [{
|
|
1290
|
+
providedIn: 'root'
|
|
1291
|
+
}]
|
|
1292
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
1313
1293
|
|
|
1314
1294
|
class SkEtcService {
|
|
1315
1295
|
constructor(_apiService) {
|
|
@@ -1322,15 +1302,14 @@ class SkEtcService {
|
|
|
1322
1302
|
return this._apiService.get(`/api/admin/notifications/sms/${key}`, new HttpParams().append('to', to)).pipe(map(response => response.data));
|
|
1323
1303
|
}
|
|
1324
1304
|
}
|
|
1325
|
-
SkEtcService.ɵ
|
|
1326
|
-
SkEtcService
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
];
|
|
1305
|
+
SkEtcService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkEtcService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1306
|
+
SkEtcService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkEtcService, providedIn: 'root' });
|
|
1307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkEtcService, decorators: [{
|
|
1308
|
+
type: Injectable,
|
|
1309
|
+
args: [{
|
|
1310
|
+
providedIn: 'root'
|
|
1311
|
+
}]
|
|
1312
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
1334
1313
|
|
|
1335
1314
|
class SkStoreService {
|
|
1336
1315
|
constructor(_apiService) {
|
|
@@ -1364,15 +1343,14 @@ class SkStoreService {
|
|
|
1364
1343
|
return this._apiService.delete(`/api/admin/stores/delete/${stores.map(store => store.id).join(',')}`);
|
|
1365
1344
|
}
|
|
1366
1345
|
}
|
|
1367
|
-
SkStoreService.ɵ
|
|
1368
|
-
SkStoreService
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
];
|
|
1346
|
+
SkStoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkStoreService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1347
|
+
SkStoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkStoreService, providedIn: 'root' });
|
|
1348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkStoreService, decorators: [{
|
|
1349
|
+
type: Injectable,
|
|
1350
|
+
args: [{
|
|
1351
|
+
providedIn: 'root'
|
|
1352
|
+
}]
|
|
1353
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
1376
1354
|
|
|
1377
1355
|
class SkKeywordService {
|
|
1378
1356
|
constructor(_apiService) {
|
|
@@ -1406,19 +1384,18 @@ class SkKeywordService {
|
|
|
1406
1384
|
return this._apiService.delete(`/api/admin/keywords/delete/${keywords.map(keyword => keyword.id).join(',')}`);
|
|
1407
1385
|
}
|
|
1408
1386
|
}
|
|
1409
|
-
SkKeywordService.ɵ
|
|
1410
|
-
SkKeywordService
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
];
|
|
1387
|
+
SkKeywordService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkKeywordService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1388
|
+
SkKeywordService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkKeywordService, providedIn: 'root' });
|
|
1389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkKeywordService, decorators: [{
|
|
1390
|
+
type: Injectable,
|
|
1391
|
+
args: [{
|
|
1392
|
+
providedIn: 'root'
|
|
1393
|
+
}]
|
|
1394
|
+
}], ctorParameters: function () { return [{ type: i1.SkApiService }]; } });
|
|
1418
1395
|
|
|
1419
1396
|
/**
|
|
1420
1397
|
* Generated bundle index. Do not edit.
|
|
1421
1398
|
*/
|
|
1422
1399
|
|
|
1423
|
-
export { SkAccountService, SkAuthAdminGuard, SkAuthGuard, SkAuthService, SkBoardService, SkBrandService, SkCartService, SkCategoryService, SkCommentService, SkConfigService, SkContactService, SkCouponService, SkDocumentService, SkEtcService, SkFileService, SkKeywordService, SkOrderService, SkPointService, SkProductService, SkPromotionService, SkSearchService, SkStoreService, SkUserService
|
|
1424
|
-
//# sourceMappingURL=sk-front-lib-crud.
|
|
1400
|
+
export { SkAccountService, SkAuthAdminGuard, SkAuthGuard, SkAuthService, SkBoardService, SkBrandService, SkCartService, SkCategoryService, SkCommentService, SkConfigService, SkContactService, SkCouponService, SkDocumentService, SkEtcService, SkFileService, SkKeywordService, SkOrderService, SkPointService, SkProductService, SkPromotionService, SkSearchService, SkStoreService, SkUserService };
|
|
1401
|
+
//# sourceMappingURL=sk-front-lib-crud.mjs.map
|