sk-front-lib 0.17.48 → 0.17.49

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 (255) hide show
  1. package/api/model/api-config.d.ts +6 -0
  2. package/api/model/api-pageable-param.d.ts +11 -0
  3. package/api/model/api-pageable.d.ts +11 -0
  4. package/api/model/api-response.d.ts +8 -0
  5. package/api/model/index.d.ts +4 -0
  6. package/api/package.json +10 -0
  7. package/api/public_api.d.ts +3 -0
  8. package/api/sk-api.module.d.ts +12 -0
  9. package/api/sk-api.service.d.ts +34 -0
  10. package/api/sk-front-lib-api.d.ts +5 -0
  11. package/article/package.json +10 -0
  12. package/article/public_api.d.ts +6 -0
  13. package/article/sk-article-editor-server.component.d.ts +23 -0
  14. package/article/sk-article-editor.component.d.ts +27 -0
  15. package/article/sk-article-server.module.d.ts +10 -0
  16. package/article/sk-article.module.d.ts +9 -0
  17. package/article/sk-article.service.d.ts +96 -0
  18. package/article/sk-froala-editor.directive.d.ts +40 -0
  19. package/article/sk-front-lib-article.d.ts +5 -0
  20. package/crud/package.json +10 -0
  21. package/crud/public_api.d.ts +24 -0
  22. package/crud/sk-account.service.d.ts +16 -0
  23. package/crud/sk-affiliate.service.d.ts +38 -0
  24. package/crud/sk-auth-admin.guard.d.ts +13 -0
  25. package/crud/sk-auth.guard.d.ts +13 -0
  26. package/crud/sk-auth.service.d.ts +33 -0
  27. package/crud/sk-board.service.d.ts +21 -0
  28. package/crud/sk-brand.service.d.ts +19 -0
  29. package/crud/sk-cart.service.d.ts +72 -0
  30. package/crud/sk-category.service.d.ts +28 -0
  31. package/crud/sk-comment.service.d.ts +15 -0
  32. package/crud/sk-config.service.d.ts +13 -0
  33. package/crud/sk-contact.service.d.ts +15 -0
  34. package/crud/sk-coupon.service.d.ts +24 -0
  35. package/crud/sk-document.service.d.ts +51 -0
  36. package/crud/sk-etc.service.d.ts +12 -0
  37. package/crud/sk-file.service.d.ts +18 -0
  38. package/crud/sk-front-lib-crud.d.ts +5 -0
  39. package/crud/sk-keyword.service.d.ts +19 -0
  40. package/crud/sk-order.service.d.ts +45 -0
  41. package/crud/sk-point.service.d.ts +17 -0
  42. package/crud/sk-product.service.d.ts +84 -0
  43. package/crud/sk-promotion.service.d.ts +41 -0
  44. package/crud/sk-search.service.d.ts +12 -0
  45. package/crud/sk-store.service.d.ts +17 -0
  46. package/crud/sk-user.service.d.ts +25 -0
  47. package/esm2020/api/model/api-config.mjs +2 -0
  48. package/esm2020/api/model/api-pageable-param.mjs +29 -0
  49. package/esm2020/api/model/api-pageable.mjs +3 -0
  50. package/esm2020/api/model/api-response.mjs +3 -0
  51. package/esm2020/api/model/index.mjs +4 -0
  52. package/esm2020/api/public_api.mjs +4 -0
  53. package/esm2020/api/sk-api.module.mjs +35 -0
  54. package/esm2020/api/sk-api.service.mjs +145 -0
  55. package/esm2020/api/sk-front-lib-api.mjs +5 -0
  56. package/esm2020/article/public_api.mjs +7 -0
  57. package/esm2020/article/sk-article-editor-server.component.mjs +51 -0
  58. package/esm2020/article/sk-article-editor.component.mjs +93 -0
  59. package/esm2020/article/sk-article-server.module.mjs +33 -0
  60. package/esm2020/article/sk-article.module.mjs +32 -0
  61. package/esm2020/article/sk-article.service.mjs +248 -0
  62. package/esm2020/article/sk-froala-editor.directive.mjs +325 -0
  63. package/esm2020/article/sk-front-lib-article.mjs +5 -0
  64. package/esm2020/crud/public_api.mjs +25 -0
  65. package/esm2020/crud/sk-account.service.mjs +36 -0
  66. package/esm2020/crud/sk-affiliate.service.mjs +94 -0
  67. package/esm2020/crud/sk-auth-admin.guard.mjs +31 -0
  68. package/esm2020/crud/sk-auth.guard.mjs +31 -0
  69. package/esm2020/crud/sk-auth.service.mjs +67 -0
  70. package/esm2020/crud/sk-board.service.mjs +54 -0
  71. package/esm2020/crud/sk-brand.service.mjs +46 -0
  72. package/esm2020/crud/sk-cart.service.mjs +256 -0
  73. package/esm2020/crud/sk-category.service.mjs +63 -0
  74. package/esm2020/crud/sk-comment.service.mjs +43 -0
  75. package/esm2020/crud/sk-config.service.mjs +31 -0
  76. package/esm2020/crud/sk-contact.service.mjs +39 -0
  77. package/esm2020/crud/sk-coupon.service.mjs +62 -0
  78. package/esm2020/crud/sk-document.service.mjs +110 -0
  79. package/esm2020/crud/sk-etc.service.mjs +25 -0
  80. package/esm2020/crud/sk-file.service.mjs +37 -0
  81. package/esm2020/crud/sk-front-lib-crud.mjs +5 -0
  82. package/esm2020/crud/sk-keyword.service.mjs +46 -0
  83. package/esm2020/crud/sk-order.service.mjs +133 -0
  84. package/esm2020/crud/sk-point.service.mjs +45 -0
  85. package/esm2020/crud/sk-product.service.mjs +168 -0
  86. package/esm2020/crud/sk-promotion.service.mjs +84 -0
  87. package/esm2020/crud/sk-search.service.mjs +25 -0
  88. package/esm2020/crud/sk-store.service.mjs +47 -0
  89. package/esm2020/crud/sk-user.service.mjs +73 -0
  90. package/esm2020/google-analytics/google-analytics-router.module.mjs +30 -0
  91. package/esm2020/google-analytics/google-analytics.module.mjs +40 -0
  92. package/esm2020/google-analytics/initializers/google-analytics-router.initializer.mjs +24 -0
  93. package/esm2020/google-analytics/initializers/google-analytics.initializer.mjs +46 -0
  94. package/esm2020/google-analytics/interfaces/google-analytics-command.mjs +2 -0
  95. package/esm2020/google-analytics/interfaces/google-analytics-settings.mjs +2 -0
  96. package/esm2020/google-analytics/public_api.mjs +11 -0
  97. package/esm2020/google-analytics/services/google-analytics.service.mjs +223 -0
  98. package/esm2020/google-analytics/sk-front-lib-google-analytics.mjs +5 -0
  99. package/esm2020/google-analytics/tokens/google-analytics-settings-token.mjs +5 -0
  100. package/esm2020/google-analytics/types/ga-action.type.mjs +2 -0
  101. package/esm2020/google-analytics/types/ga-bind.type.mjs +2 -0
  102. package/esm2020/image/public_api.mjs +3 -0
  103. package/esm2020/image/sk-front-lib-image.mjs +5 -0
  104. package/esm2020/image/sk-image.component.mjs +262 -0
  105. package/esm2020/image/sk-image.module.mjs +43 -0
  106. package/esm2020/lib/sk-byte.pipe.mjs +4 -4
  107. package/esm2020/lib/sk-date-time.pipe.mjs +4 -4
  108. package/esm2020/lib/sk-date.pipe.mjs +4 -4
  109. package/esm2020/lib/sk-front-lib.module.mjs +5 -5
  110. package/esm2020/lib/sk-keys.pipe.mjs +4 -4
  111. package/esm2020/lib/sk-time.pipe.mjs +4 -4
  112. package/esm2020/model/lib/article.mjs +11 -0
  113. package/esm2020/model/lib/audit.mjs +12 -0
  114. package/esm2020/model/lib/auth.mjs +2 -0
  115. package/esm2020/model/lib/board.mjs +21 -0
  116. package/esm2020/model/lib/cart.mjs +29 -0
  117. package/esm2020/model/lib/comment.mjs +25 -0
  118. package/esm2020/model/lib/contact.mjs +28 -0
  119. package/esm2020/model/lib/coupon.mjs +23 -0
  120. package/esm2020/model/lib/document.mjs +49 -0
  121. package/esm2020/model/lib/etc.mjs +57 -0
  122. package/esm2020/model/lib/file.mjs +8 -0
  123. package/esm2020/model/lib/filetype.mjs +179 -0
  124. package/esm2020/model/lib/grid.mjs +83 -0
  125. package/esm2020/model/lib/nicepay.mjs +81 -0
  126. package/esm2020/model/lib/order.mjs +106 -0
  127. package/esm2020/model/lib/payment.mjs +35 -0
  128. package/esm2020/model/lib/point.mjs +47 -0
  129. package/esm2020/model/lib/product-series.mjs +2 -0
  130. package/esm2020/model/lib/product.mjs +156 -0
  131. package/esm2020/model/lib/promotion.mjs +80 -0
  132. package/esm2020/model/lib/shipping.mjs +37 -0
  133. package/esm2020/model/lib/tosspay.mjs +61 -0
  134. package/esm2020/model/lib/user.mjs +61 -0
  135. package/esm2020/model/public_api.mjs +24 -0
  136. package/esm2020/model/sk-front-lib-model.mjs +5 -0
  137. package/esm2020/search-address/dialog/dialog.component.mjs +27 -0
  138. package/esm2020/search-address/public_api.mjs +4 -0
  139. package/esm2020/search-address/sk-front-lib-search-address.mjs +5 -0
  140. package/esm2020/search-address/sk-search-address.directive.mjs +41 -0
  141. package/esm2020/search-address/sk-search-address.model.mjs +8 -0
  142. package/esm2020/search-address/sk-search-address.module.mjs +52 -0
  143. package/esm2020/search-address/sk-search-address.service.mjs +65 -0
  144. package/esm2020/uploader/public_api.mjs +4 -0
  145. package/esm2020/uploader/sk-front-lib-uploader.mjs +5 -0
  146. package/esm2020/uploader/sk-uploader-file-item.model.mjs +95 -0
  147. package/esm2020/uploader/sk-uploader.animation.mjs +47 -0
  148. package/esm2020/uploader/sk-uploader.class.mjs +188 -0
  149. package/esm2020/uploader/sk-uploader.component.mjs +120 -0
  150. package/esm2020/uploader/sk-uploader.directive.mjs +44 -0
  151. package/esm2020/uploader/sk-uploader.module.mjs +62 -0
  152. package/fesm2015/sk-front-lib-api.mjs +218 -0
  153. package/fesm2015/sk-front-lib-api.mjs.map +1 -0
  154. package/fesm2015/sk-front-lib-article.mjs +762 -0
  155. package/fesm2015/sk-front-lib-article.mjs.map +1 -0
  156. package/fesm2015/sk-front-lib-crud.mjs +1529 -0
  157. package/fesm2015/sk-front-lib-crud.mjs.map +1 -0
  158. package/fesm2015/sk-front-lib-google-analytics.mjs +361 -0
  159. package/fesm2015/sk-front-lib-google-analytics.mjs.map +1 -0
  160. package/fesm2015/sk-front-lib-image.mjs +306 -0
  161. package/fesm2015/sk-front-lib-image.mjs.map +1 -0
  162. package/fesm2015/sk-front-lib-model.mjs +1171 -0
  163. package/fesm2015/sk-front-lib-model.mjs.map +1 -0
  164. package/fesm2015/sk-front-lib-search-address.mjs +188 -0
  165. package/fesm2015/sk-front-lib-search-address.mjs.map +1 -0
  166. package/fesm2015/sk-front-lib-uploader.mjs +551 -0
  167. package/fesm2015/sk-front-lib-uploader.mjs.map +1 -0
  168. package/fesm2015/sk-front-lib.mjs +19 -19
  169. package/fesm2015/sk-front-lib.mjs.map +1 -1
  170. package/fesm2020/sk-front-lib-api.mjs +216 -0
  171. package/fesm2020/sk-front-lib-api.mjs.map +1 -0
  172. package/fesm2020/sk-front-lib-article.mjs +771 -0
  173. package/fesm2020/sk-front-lib-article.mjs.map +1 -0
  174. package/fesm2020/sk-front-lib-crud.mjs +1525 -0
  175. package/fesm2020/sk-front-lib-crud.mjs.map +1 -0
  176. package/fesm2020/sk-front-lib-google-analytics.mjs +358 -0
  177. package/fesm2020/sk-front-lib-google-analytics.mjs.map +1 -0
  178. package/fesm2020/sk-front-lib-image.mjs +309 -0
  179. package/fesm2020/sk-front-lib-image.mjs.map +1 -0
  180. package/fesm2020/sk-front-lib-model.mjs +1171 -0
  181. package/fesm2020/sk-front-lib-model.mjs.map +1 -0
  182. package/fesm2020/sk-front-lib-search-address.mjs +186 -0
  183. package/fesm2020/sk-front-lib-search-address.mjs.map +1 -0
  184. package/fesm2020/sk-front-lib-uploader.mjs +549 -0
  185. package/fesm2020/sk-front-lib-uploader.mjs.map +1 -0
  186. package/fesm2020/sk-front-lib.mjs +19 -19
  187. package/fesm2020/sk-front-lib.mjs.map +1 -1
  188. package/google-analytics/google-analytics-router.module.d.ts +8 -0
  189. package/google-analytics/google-analytics.module.d.ts +10 -0
  190. package/google-analytics/initializers/google-analytics-router.initializer.d.ts +5 -0
  191. package/google-analytics/initializers/google-analytics.initializer.d.ts +4 -0
  192. package/google-analytics/interfaces/google-analytics-command.d.ts +4 -0
  193. package/google-analytics/interfaces/google-analytics-settings.d.ts +6 -0
  194. package/google-analytics/package.json +10 -0
  195. package/google-analytics/public_api.d.ts +10 -0
  196. package/google-analytics/services/google-analytics.service.d.ts +85 -0
  197. package/google-analytics/sk-front-lib-google-analytics.d.ts +5 -0
  198. package/google-analytics/tokens/google-analytics-settings-token.d.ts +3 -0
  199. package/google-analytics/types/ga-action.type.d.ts +1 -0
  200. package/google-analytics/types/ga-bind.type.d.ts +1 -0
  201. package/image/package.json +10 -0
  202. package/image/public_api.d.ts +3 -0
  203. package/image/sk-front-lib-image.d.ts +5 -0
  204. package/image/sk-image.component.d.ts +112 -0
  205. package/image/sk-image.module.d.ts +12 -0
  206. package/lib/sk-byte.pipe.d.ts +1 -1
  207. package/lib/sk-date-time.pipe.d.ts +1 -1
  208. package/lib/sk-date.pipe.d.ts +1 -1
  209. package/lib/sk-keys.pipe.d.ts +1 -1
  210. package/lib/sk-time.pipe.d.ts +1 -1
  211. package/model/lib/article.d.ts +13 -0
  212. package/model/lib/audit.d.ts +13 -0
  213. package/model/lib/auth.d.ts +8 -0
  214. package/model/lib/board.d.ts +39 -0
  215. package/model/lib/cart.d.ts +45 -0
  216. package/model/lib/comment.d.ts +43 -0
  217. package/model/lib/contact.d.ts +40 -0
  218. package/model/lib/coupon.d.ts +116 -0
  219. package/model/lib/document.d.ts +104 -0
  220. package/model/lib/etc.d.ts +220 -0
  221. package/model/lib/file.d.ts +24 -0
  222. package/model/lib/filetype.d.ts +10 -0
  223. package/model/lib/grid.d.ts +97 -0
  224. package/model/lib/nicepay.d.ts +39 -0
  225. package/model/lib/order.d.ts +163 -0
  226. package/model/lib/payment.d.ts +32 -0
  227. package/model/lib/point.d.ts +30 -0
  228. package/model/lib/product-series.d.ts +25 -0
  229. package/model/lib/product.d.ts +309 -0
  230. package/model/lib/promotion.d.ts +169 -0
  231. package/model/lib/shipping.d.ts +44 -0
  232. package/model/lib/tosspay.d.ts +29 -0
  233. package/model/lib/user.d.ts +54 -0
  234. package/model/package.json +10 -0
  235. package/model/public_api.d.ts +23 -0
  236. package/model/sk-front-lib-model.d.ts +5 -0
  237. package/package.json +67 -3
  238. package/search-address/dialog/dialog.component.d.ts +13 -0
  239. package/search-address/package.json +10 -0
  240. package/search-address/public_api.d.ts +3 -0
  241. package/search-address/sk-front-lib-search-address.d.ts +5 -0
  242. package/search-address/sk-search-address.directive.d.ts +15 -0
  243. package/search-address/sk-search-address.model.d.ts +40 -0
  244. package/search-address/sk-search-address.module.d.ts +14 -0
  245. package/search-address/sk-search-address.service.d.ts +13 -0
  246. package/uploader/package.json +10 -0
  247. package/uploader/public_api.d.ts +4 -0
  248. package/uploader/sk-front-lib-uploader.d.ts +5 -0
  249. package/uploader/sk-uploader-file-item.model.d.ts +29 -0
  250. package/uploader/sk-uploader.animation.d.ts +1 -0
  251. package/uploader/sk-uploader.class.d.ts +47 -0
  252. package/uploader/sk-uploader.component.d.ts +28 -0
  253. package/uploader/sk-uploader.directive.d.ts +15 -0
  254. package/uploader/sk-uploader.module.d.ts +16 -0
  255. /package/{index.d.ts → sk-front-lib.d.ts} +0 -0
@@ -0,0 +1,112 @@
1
+ import { Platform } from '@angular/cdk/platform';
2
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
3
+ import { MatDialog } from '@angular/material/dialog';
4
+ import { SkApiService } from 'sk-front-lib/api';
5
+ import { SkFile } from 'sk-front-lib/model';
6
+ import Viewer from 'viewerjs';
7
+ import * as i0 from "@angular/core";
8
+ export interface SkImageOptions {
9
+ mode?: 'img' | 'css';
10
+ width?: number;
11
+ height?: number;
12
+ resizeType?: 'ratio_crop' | 'ratio_fill';
13
+ resizeBgColor?: string;
14
+ filter?: 'gray' | '';
15
+ blur?: number;
16
+ clickable?: boolean;
17
+ coverBackground?: string;
18
+ previewColor?: string;
19
+ }
20
+ export declare class SkImageComponent implements OnChanges, AfterViewInit, OnDestroy {
21
+ private cdRef;
22
+ private platform;
23
+ private dialog;
24
+ private apiService;
25
+ mode: 'skfile' | 'imgId' | 'src' | 'fallback';
26
+ defaultOption: SkImageOptions;
27
+ currentOption: SkImageOptions;
28
+ apiCompleted: boolean;
29
+ isVisible: boolean;
30
+ src: string;
31
+ imgId: number;
32
+ skfile: SkFile;
33
+ option: SkImageOptions;
34
+ alt: string;
35
+ imageClass: string[];
36
+ waitSrc: string;
37
+ activeSrc: string;
38
+ originalSrc: string;
39
+ ratio: number;
40
+ backgroundColor: string;
41
+ imageOpacity: number;
42
+ imageElement: ElementRef;
43
+ viewerInstance: Viewer;
44
+ viewerOptions: {
45
+ navbar: boolean;
46
+ backdrop: string;
47
+ className: string;
48
+ toolbar: {
49
+ zoomIn: number;
50
+ zoomOut: number;
51
+ oneToOne: number;
52
+ reset: number;
53
+ };
54
+ movable: boolean;
55
+ rotatable: boolean;
56
+ toggleOnDblclick: boolean;
57
+ };
58
+ constructor(cdRef: ChangeDetectorRef, platform: Platform, dialog: MatDialog, apiService: SkApiService);
59
+ get containerStyle(): {
60
+ 'padding-bottom': string;
61
+ height: string;
62
+ overflow: string;
63
+ 'background-color': string;
64
+ cursor: string;
65
+ } | {
66
+ 'padding-bottom': string;
67
+ height: string;
68
+ overflow: string;
69
+ 'background-color': string;
70
+ cursor?: undefined;
71
+ };
72
+ get imageStyle(): {
73
+ position: string;
74
+ width: string;
75
+ top: string;
76
+ left: string;
77
+ right: string;
78
+ bottom: string;
79
+ opacity: number;
80
+ } | {
81
+ position: string;
82
+ width: string;
83
+ opacity: number;
84
+ top?: undefined;
85
+ left?: undefined;
86
+ right?: undefined;
87
+ bottom?: undefined;
88
+ };
89
+ get coverStyle(): {
90
+ background: string;
91
+ opacity: number;
92
+ } | {
93
+ background?: undefined;
94
+ opacity?: undefined;
95
+ };
96
+ ngOnChanges(changes: SimpleChanges): void;
97
+ ngAfterViewInit(): void;
98
+ ngOnDestroy(): void;
99
+ loadImageByFile(): void;
100
+ loadImageById(): void;
101
+ loadImageBySrc(): void;
102
+ showFallbackImage(): void;
103
+ onIntersection(event: any): void;
104
+ startImageLoad(): void;
105
+ onImageLoad(): void;
106
+ onImageError(): void;
107
+ openDialog(): void;
108
+ private _init;
109
+ private getHttpParam;
110
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkImageComponent, never>;
111
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkImageComponent, "sk-image", never, { "src": "src"; "imgId": "imgId"; "skfile": "skfile"; "option": "option"; "alt": "alt"; "imageClass": "imageClass"; }, {}, never, never>;
112
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./sk-image.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "ng-in-viewport";
5
+ import * as i4 from "@angular/material/dialog";
6
+ import * as i5 from "@angular/material/button";
7
+ import * as i6 from "@angular/material/icon";
8
+ export declare class SkImageModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkImageModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkImageModule, [typeof i1.SkImageComponent], [typeof i2.CommonModule, typeof i3.InViewportModule, typeof i4.MatDialogModule, typeof i5.MatButtonModule, typeof i6.MatIconModule], [typeof i1.SkImageComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkImageModule>;
12
+ }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class SkBytePipe implements PipeTransform {
4
4
  transform(value: any, args?: string[]): any;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<SkBytePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<SkBytePipe, "skByte", false>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<SkBytePipe, "skByte">;
7
7
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class SkDateTimePipe implements PipeTransform {
4
4
  transform(value: any, args?: string[]): any;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<SkDateTimePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<SkDateTimePipe, "skDateTime", false>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<SkDateTimePipe, "skDateTime">;
7
7
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class SkDatePipe implements PipeTransform {
4
4
  transform(value: any, args?: string[]): any;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<SkDatePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<SkDatePipe, "skDate", false>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<SkDatePipe, "skDate">;
7
7
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class SkKeysPipe implements PipeTransform {
4
4
  transform(value: any, args?: string[]): any;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<SkKeysPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<SkKeysPipe, "skKeys", false>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<SkKeysPipe, "skKeys">;
7
7
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class SkTimePipe implements PipeTransform {
4
4
  transform(value: any, args?: string[]): any;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<SkTimePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<SkTimePipe, "skTime", false>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<SkTimePipe, "skTime">;
7
7
  }
@@ -0,0 +1,13 @@
1
+ import { ISkFile, SkFile } from "./file";
2
+ import { Audit, IAudit } from "./audit";
3
+ export interface ISkArticle extends IAudit {
4
+ id?: number;
5
+ content?: string;
6
+ images?: ISkFile[];
7
+ }
8
+ export declare class SkArticle extends Audit {
9
+ id: number;
10
+ content: string;
11
+ images: SkFile[];
12
+ constructor(data?: ISkArticle);
13
+ }
@@ -0,0 +1,13 @@
1
+ export interface IAudit {
2
+ createdBy?: string;
3
+ createdDate?: string;
4
+ updatedBy?: string;
5
+ updatedDate?: string;
6
+ }
7
+ export declare class Audit {
8
+ createdBy: string;
9
+ createdDate: string;
10
+ updatedBy: string;
11
+ updatedDate: string;
12
+ constructor(data?: IAudit);
13
+ }
@@ -0,0 +1,8 @@
1
+ export interface ISkReqLogin {
2
+ email: string;
3
+ password: string;
4
+ rememberMe: boolean;
5
+ }
6
+ export interface ISkResLogin {
7
+ token: string;
8
+ }
@@ -0,0 +1,39 @@
1
+ import { Audit, IAudit } from "./audit";
2
+ import { ISkDocumentPublicList } from "./document";
3
+ import { ApiPageable } from "sk-front-lib/api";
4
+ export interface ISkBoard extends IAudit {
5
+ id?: number;
6
+ url?: string;
7
+ title?: string;
8
+ subtitle?: string;
9
+ skin?: string;
10
+ showSupport?: boolean;
11
+ permissions?: {
12
+ publicRead?: boolean;
13
+ publicWrite?: boolean;
14
+ secretRead?: boolean;
15
+ secretWrite?: boolean;
16
+ useNotice?: boolean;
17
+ };
18
+ }
19
+ export declare class SkBoard extends Audit {
20
+ id: number;
21
+ url: string;
22
+ title: string;
23
+ subtitle?: string;
24
+ skin: string;
25
+ showSupport: boolean;
26
+ permissions: {
27
+ publicRead?: boolean;
28
+ publicWrite?: boolean;
29
+ secretRead?: boolean;
30
+ secretWrite?: boolean;
31
+ useNotice?: boolean;
32
+ };
33
+ constructor(data?: ISkBoard);
34
+ isEmpty(): boolean;
35
+ }
36
+ export interface ISkBoardDetail extends ISkBoard {
37
+ noticeDocuments?: ISkDocumentPublicList[];
38
+ documents?: ApiPageable<ISkDocumentPublicList>;
39
+ }
@@ -0,0 +1,45 @@
1
+ import { ISkProductDetail, ISkProductOption, ISkProductOptionValue } from './product';
2
+ import { ISkPromotionGiftItem } from './promotion';
3
+ export interface ISkCartOption {
4
+ id?: number;
5
+ option?: ISkProductOption;
6
+ value?: ISkProductOptionValue;
7
+ amount?: number;
8
+ }
9
+ export interface ISkCart {
10
+ id?: number;
11
+ product?: ISkProductDetail;
12
+ amount?: number;
13
+ options?: ISkCartOption[];
14
+ gifts?: ISkPromotionGiftItem[];
15
+ }
16
+ export declare class SkCartOption {
17
+ id: number;
18
+ option: ISkProductOption;
19
+ value: ISkProductOptionValue;
20
+ amount: number;
21
+ constructor(data?: ISkCartOption);
22
+ }
23
+ export declare class SkCart {
24
+ id: number;
25
+ product: ISkProductDetail;
26
+ amount: number;
27
+ options: SkCartOption[];
28
+ gifts: ISkPromotionGiftItem[];
29
+ constructor(data?: ISkCart);
30
+ getSinglePrice(): number;
31
+ getTotalPrice(): number;
32
+ checkOptionExists(): boolean;
33
+ }
34
+ export interface ISkCartOptionCreate {
35
+ option: number;
36
+ value: number;
37
+ }
38
+ export interface ISkCartCreate {
39
+ product: number;
40
+ amount: number;
41
+ selectedOptions: ISkCartOptionCreate[];
42
+ selectedGifts: {
43
+ id: number;
44
+ }[];
45
+ }
@@ -0,0 +1,43 @@
1
+ import { Audit, IAudit } from "./audit";
2
+ import { ISkDocumentPublicList } from "./document";
3
+ import { ISkUser, SkUser } from "./user";
4
+ export interface IComment extends IAudit {
5
+ id?: number;
6
+ author?: ISkUser;
7
+ content?: string;
8
+ secret?: boolean;
9
+ }
10
+ export declare class SkComment extends Audit {
11
+ id: number;
12
+ author: SkUser;
13
+ content: string;
14
+ secret: boolean;
15
+ constructor(data?: IComment);
16
+ }
17
+ /**
18
+ * 문서용 댓글 데이터 정의
19
+ */
20
+ export interface ISkDocumentCommentUpdate {
21
+ content?: string;
22
+ secret?: boolean;
23
+ }
24
+ export interface ISkDocumentCommentWrite extends ISkDocumentCommentUpdate {
25
+ documentId?: number;
26
+ parentId?: number;
27
+ }
28
+ export interface ISkDocumentCommentParent extends IComment {
29
+ document?: ISkDocumentPublicList;
30
+ childrens: ISkDocumentCommentChild[];
31
+ childrenCount: number;
32
+ }
33
+ export interface ISkDocumentCommentChild extends IComment {
34
+ }
35
+ export declare class SkDocumentCommentParent extends SkComment {
36
+ document: ISkDocumentPublicList;
37
+ childrens: SkDocumentCommentChild[];
38
+ childrenCount: number;
39
+ constructor(data: ISkDocumentCommentParent);
40
+ }
41
+ export declare class SkDocumentCommentChild extends SkComment {
42
+ constructor(data: ISkDocumentCommentChild);
43
+ }
@@ -0,0 +1,40 @@
1
+ import { ISkUser } from "./user";
2
+ import { ISkFile } from "./file";
3
+ import { ISkProductDetail } from "./product";
4
+ import { ISkOrderDetail } from "./order";
5
+ import { IAudit } from "./audit";
6
+ export declare enum SkContactStatus {
7
+ Open = "OPEN",
8
+ Close = "CLOSE"
9
+ }
10
+ export declare enum SkContactType {
11
+ Normal = "NORMAL",
12
+ BeforeBuy = "BEFOREBUY",
13
+ Technical = "TECHNICAL",
14
+ Software = "SOFTWARE",
15
+ AS = "AS"
16
+ }
17
+ export declare function getSkContactTypeText(type: SkContactType): "1:1 문의" | "구매전 상담" | "기술지원" | "전자배송상품" | "AS 문의";
18
+ export interface ISkContact extends IAudit {
19
+ id?: number;
20
+ status?: SkContactStatus;
21
+ type?: SkContactType;
22
+ user?: ISkUser;
23
+ userName?: string;
24
+ email?: string;
25
+ phone?: string;
26
+ title?: string;
27
+ content?: string;
28
+ attachment?: ISkFile;
29
+ product?: ISkProductDetail;
30
+ order?: ISkOrderDetail;
31
+ seller?: string;
32
+ serialNumber?: string;
33
+ buyDate?: string;
34
+ answers?: ISkContactAnswer[];
35
+ }
36
+ export interface ISkContactAnswer extends IAudit {
37
+ id?: number;
38
+ user?: ISkUser;
39
+ content?: string;
40
+ }
@@ -0,0 +1,116 @@
1
+ import { IAudit } from './audit';
2
+ import { ISkIdTitleValue, SkBrand, SkCategory, SkSubCategoryItem, SkValueType } from './etc';
3
+ import { ISkOrderList } from './order';
4
+ import { SkProductListItem } from './product';
5
+ import { ISkUser } from './user';
6
+ export declare enum SkCouponType {
7
+ Code = "CODE",
8
+ Inject = "INJECT"
9
+ }
10
+ export declare enum SkCouponTarget {
11
+ All = "ALL",
12
+ Brand = "BRAND",
13
+ Category = "CATEGORY",
14
+ SubCategory = "SUBCATEGORY",
15
+ Product = "PRODUCT"
16
+ }
17
+ export declare enum SkCouponTrigger {
18
+ None = "NONE",
19
+ All = "ALL",
20
+ Brand = "BRAND",
21
+ Category = "CATEGORY",
22
+ SubCategory = "SUBCATEGORY",
23
+ Product = "PRODUCT"
24
+ }
25
+ export interface ISkCouponCount {
26
+ total?: number;
27
+ trash?: number;
28
+ }
29
+ export interface ISkCouponListItem extends IAudit {
30
+ id?: number;
31
+ title?: string;
32
+ type?: SkCouponType;
33
+ startDate?: string;
34
+ endDate?: string;
35
+ expireStartDate?: string;
36
+ expireEndDate?: string;
37
+ forever?: boolean;
38
+ singleCode?: string;
39
+ activated?: boolean;
40
+ }
41
+ export interface ISkCouponDetail extends ISkCouponListItem {
42
+ usableWithOthers?: boolean;
43
+ duplicatable?: boolean;
44
+ anonymous?: boolean;
45
+ total?: number;
46
+ used?: number;
47
+ couponTarget?: SkCouponTarget;
48
+ couponTargetBrands?: SkBrand[];
49
+ couponTargetCategories?: SkCategory[];
50
+ couponTargetSubCategories?: SkSubCategoryItem[];
51
+ couponTargetProducts?: SkProductListItem[];
52
+ couponTrigger?: SkCouponTrigger;
53
+ couponTriggerAmount?: number;
54
+ couponTriggerBrands?: SkBrand[];
55
+ couponTriggerCategories?: SkCategory[];
56
+ couponTriggerSubCategories?: SkSubCategoryItem[];
57
+ couponTriggerProducts?: SkProductListItem[];
58
+ discountAmount?: number;
59
+ discountType?: SkValueType;
60
+ minUsablePrice?: number;
61
+ }
62
+ export interface ISkCouponTicket {
63
+ id?: number;
64
+ code?: string;
65
+ coupon?: ISkCouponDetail;
66
+ order?: ISkOrderList;
67
+ user?: ISkUser;
68
+ }
69
+ export interface ISkCouponTriggerUpdate {
70
+ couponTrigger?: SkCouponTrigger;
71
+ couponTriggerAmount?: number;
72
+ couponTriggerBrandIds?: number[];
73
+ couponTriggerCategoryIds?: number[];
74
+ couponTriggerSubCategoryIds?: number[];
75
+ couponTriggerProductIds?: number[];
76
+ }
77
+ export interface ISkUserCouponInfo {
78
+ id?: number;
79
+ title?: string;
80
+ code?: string;
81
+ startDate?: string;
82
+ endDate?: string;
83
+ forever?: boolean;
84
+ activated?: boolean;
85
+ usableWithOthers?: boolean;
86
+ couponTarget?: SkCouponTarget;
87
+ couponTargetBrands?: ISkIdTitleValue[];
88
+ couponTargetCategories?: ISkIdTitleValue[];
89
+ couponTargetSubCategories?: ISkIdTitleValue[];
90
+ couponTargetProducts?: ISkIdTitleValue[];
91
+ discountAmount?: number;
92
+ discountType?: SkValueType;
93
+ minUsablePrice?: number;
94
+ orderId?: string;
95
+ paidDate?: string;
96
+ }
97
+ export interface ISkUserCouponInfo {
98
+ id?: number;
99
+ title?: string;
100
+ code?: string;
101
+ startDate?: string;
102
+ endDate?: string;
103
+ forever?: boolean;
104
+ activated?: boolean;
105
+ usableWithOthers?: boolean;
106
+ couponTarget?: SkCouponTarget;
107
+ couponTargetBrands?: ISkIdTitleValue[];
108
+ couponTargetCategories?: ISkIdTitleValue[];
109
+ couponTargetSubCategories?: ISkIdTitleValue[];
110
+ couponTargetProducts?: ISkIdTitleValue[];
111
+ discountAmount?: number;
112
+ discountType?: SkValueType;
113
+ minUsablePrice?: number;
114
+ orderId?: string;
115
+ paidDate?: string;
116
+ }
@@ -0,0 +1,104 @@
1
+ import { Audit, IAudit } from "./audit";
2
+ import { ISkFile, SkFile } from "./file";
3
+ import { ISkArticle, SkArticle } from "./article";
4
+ import { ISkBoard, SkBoard } from "./board";
5
+ import { ISkProduct, SkProduct } from "./product";
6
+ import { SkCategory, SkOpengraph } from "./etc";
7
+ import { ISkUser, SkUser } from "./user";
8
+ export interface SkDocumentCount {
9
+ total?: number;
10
+ trash?: number;
11
+ }
12
+ export interface ISkDocumentSibling {
13
+ id?: number;
14
+ url?: string;
15
+ }
16
+ export declare enum SkDocumentType {
17
+ Editorial = "EDITORIAL",
18
+ Studio = "STUDIO",
19
+ Post = "POST",
20
+ Page = "PAGE"
21
+ }
22
+ export interface ISkDocumentAttachment {
23
+ id?: number;
24
+ file?: any;
25
+ title?: string;
26
+ url?: string;
27
+ }
28
+ export declare class SkDocumentAttachment {
29
+ id: number;
30
+ file: SkFile;
31
+ title: string;
32
+ url: string;
33
+ constructor(data?: ISkDocumentAttachment);
34
+ }
35
+ export interface ISkDocument extends IAudit {
36
+ id?: number;
37
+ type?: SkDocumentType;
38
+ url?: string;
39
+ title?: string;
40
+ author?: ISkUser;
41
+ activate?: boolean;
42
+ published?: boolean;
43
+ secret?: boolean;
44
+ notice?: boolean;
45
+ article?: ISkArticle;
46
+ image?: ISkFile;
47
+ imageAlt?: ISkFile;
48
+ board?: ISkBoard;
49
+ category?: SkCategory;
50
+ linkedProduct?: ISkProduct[];
51
+ attachment?: ISkDocumentAttachment[];
52
+ viewCount?: number;
53
+ listOrder?: number;
54
+ opengraph?: SkOpengraph;
55
+ }
56
+ export declare class SkDocument extends Audit {
57
+ id: number;
58
+ type: SkDocumentType;
59
+ url: string;
60
+ title: string;
61
+ author: SkUser;
62
+ activate: boolean;
63
+ published: boolean;
64
+ secret: boolean;
65
+ notice: boolean;
66
+ article: SkArticle;
67
+ image: SkFile;
68
+ imageAlt: SkFile;
69
+ board: SkBoard;
70
+ category: SkCategory;
71
+ linkedProduct: SkProduct[];
72
+ attachment: SkDocumentAttachment[];
73
+ viewCount: number;
74
+ listOrder: number;
75
+ opengraph: SkOpengraph;
76
+ constructor(data?: ISkDocument);
77
+ isEmpty(): boolean;
78
+ }
79
+ export interface ISkDocumentPublicList {
80
+ id?: number;
81
+ url?: string;
82
+ type?: SkDocumentType;
83
+ category?: SkCategory;
84
+ title?: string;
85
+ boardUrl?: string;
86
+ boardName?: string;
87
+ desc?: String;
88
+ image?: ISkFile;
89
+ imageAlt?: ISkFile;
90
+ subImages?: number[];
91
+ authorId?: number;
92
+ authorNickname?: string;
93
+ authorEmail?: string;
94
+ createdDate?: string;
95
+ }
96
+ export interface ISkDocumentPublish {
97
+ id?: number;
98
+ documentId?: number;
99
+ published?: boolean;
100
+ notice?: boolean;
101
+ listOrder?: boolean;
102
+ actionDate?: string;
103
+ activated?: boolean;
104
+ }