@colijnit/catalog 12.1.25 → 12.1.27

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 (263) hide show
  1. package/README.md +10 -14
  2. package/bundles/colijnit-catalog.umd.js +2514 -1817
  3. package/bundles/colijnit-catalog.umd.js.map +1 -1
  4. package/colijnit-catalog.d.ts +37 -33
  5. package/colijnit-catalog.metadata.json +1 -1
  6. package/esm2015/colijnit-catalog.js +38 -34
  7. package/esm2015/lib/cache/cache-field.js +75 -0
  8. package/esm2015/lib/cache/parameter-cache-field.js +54 -0
  9. package/esm2015/lib/cache/service/business-object-cache-manager.service.js +150 -0
  10. package/esm2015/lib/cache/service/select-multiple-cache.service.js +38 -0
  11. package/esm2015/lib/cache/service/select-multiple-parameterized-cache.service.js +47 -0
  12. package/esm2015/lib/cache/service/select-single-cache.service.js +30 -0
  13. package/esm2015/lib/cache/service/select-single-parameterized-cache.service.js +47 -0
  14. package/esm2015/lib/catalog-version.js +10 -0
  15. package/esm2015/lib/component/base/article-base.component.js +152 -0
  16. package/esm2015/lib/component/base/catalog-search-base.component.js +23 -0
  17. package/esm2015/lib/component/catalog-article-list/catalog-article-list.component.js +86 -0
  18. package/esm2015/lib/component/catalog-article-list/catalog-article-list.module.js +26 -0
  19. package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.component.js +75 -0
  20. package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.module.js +27 -0
  21. package/esm2015/lib/component/catalog-categories/catalog-categories.component.js +92 -0
  22. package/esm2015/lib/component/catalog-categories/catalog-categories.module.js +26 -0
  23. package/esm2015/lib/component/catalog-external-source/catalog-external-source.component.js +57 -0
  24. package/esm2015/lib/component/catalog-external-source/catalog-external-source.module.js +19 -0
  25. package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.component.js +52 -0
  26. package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.module.js +25 -0
  27. package/esm2015/lib/component/catalog-filter/catalog-filter.component.js +190 -0
  28. package/esm2015/lib/component/catalog-filter/catalog-filter.module.js +29 -0
  29. package/esm2015/lib/component/catalog-navigation/catalog-navigation.component.js +205 -0
  30. package/esm2015/lib/component/catalog-navigation/catalog-navigation.module.js +27 -0
  31. package/esm2015/lib/component/catalog-search/catalog-search.component.js +104 -0
  32. package/esm2015/lib/component/catalog-search/catalog-search.module.js +33 -0
  33. package/esm2015/lib/component/catalog-search-header/catalog-search-header.component.js +36 -0
  34. package/esm2015/lib/component/catalog-search-header/catalog-search-header.module.js +21 -0
  35. package/esm2015/lib/component/catalog-search-result-list/catalog-search-result-list.component.js +44 -0
  36. package/esm2015/lib/component/catalog-search-result-list/catalog-search-result-list.module.js +27 -0
  37. package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.js +62 -0
  38. package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.module.js +27 -0
  39. package/esm2015/lib/component/responsive-text/responsive-text.component.js +24 -0
  40. package/esm2015/lib/component/responsive-text/responsive-text.module.js +19 -0
  41. package/esm2015/lib/directive/overlay/overlay-parent.directive.js +19 -0
  42. package/esm2015/lib/directive/overlay/overlay.directive.js +73 -0
  43. package/esm2015/lib/directive/overlay/overlay.module.js +18 -0
  44. package/esm2015/lib/directive/visibility-observer-master.directive.js +49 -0
  45. package/esm2015/lib/directive/visibility-observer.directive.js +55 -0
  46. package/esm2015/lib/directive/visibility-observer.module.js +18 -0
  47. package/esm2015/lib/enum/icon.enum.js +25 -0
  48. package/esm2015/lib/enum/language-code.enum.js +8 -0
  49. package/esm2015/lib/interface/order-by.interface.js +2 -0
  50. package/esm2015/lib/model/articles-search-result.js +3 -0
  51. package/esm2015/lib/model/external-source-viewmodel.js +7 -0
  52. package/esm2015/lib/model/filter-item.viewmodel.js +10 -0
  53. package/esm2015/lib/model/filter-viewmodel.js +12 -0
  54. package/esm2015/lib/model/icon.js +24 -0
  55. package/esm2015/lib/model/settings-options.js +20 -0
  56. package/esm2015/lib/model/settings.js +10 -0
  57. package/esm2015/lib/pipe/localize.pipe.js +27 -0
  58. package/esm2015/lib/service/catalog-connector-adapter.service.js +332 -0
  59. package/esm2015/lib/service/catalog-connector.service.js +142 -0
  60. package/esm2015/lib/service/catalog-event.service.js +19 -0
  61. package/esm2015/lib/service/catalog-filter.service.js +91 -0
  62. package/esm2015/lib/service/catalog-image.service.js +124 -0
  63. package/esm2015/lib/service/catalog-options.service.js +92 -0
  64. package/esm2015/lib/service/catalog-search.service.js +157 -0
  65. package/esm2015/lib/service/catalog-settings.service.js +111 -0
  66. package/esm2015/lib/service/catalog.service.js +305 -0
  67. package/esm2015/lib/service/dictionary.service.js +90 -0
  68. package/esm2015/lib/service/icon-cache.service.js +40 -0
  69. package/esm2015/lib/utils/json.utils.js +22 -0
  70. package/esm2015/public_api.js +15 -3
  71. package/fesm2015/colijnit-catalog.js +2508 -1528
  72. package/fesm2015/colijnit-catalog.js.map +1 -1
  73. package/lib/cache/cache-field.d.ts +25 -0
  74. package/lib/cache/parameter-cache-field.d.ts +11 -0
  75. package/lib/cache/service/business-object-cache-manager.service.d.ts +58 -0
  76. package/lib/cache/service/select-multiple-cache.service.d.ts +15 -0
  77. package/lib/cache/service/select-multiple-parameterized-cache.service.d.ts +19 -0
  78. package/lib/cache/service/select-single-cache.service.d.ts +12 -0
  79. package/lib/cache/service/select-single-parameterized-cache.service.d.ts +18 -0
  80. package/{app/components/catalog/article-card/article-card.component.d.ts → lib/component/base/article-base.component.d.ts} +20 -16
  81. package/lib/component/base/catalog-search-base.component.d.ts +8 -0
  82. package/lib/component/catalog-article-list/catalog-article-list.component.d.ts +4 -0
  83. package/lib/component/catalog-article-list/catalog-article-list.module.d.ts +2 -0
  84. package/lib/component/catalog-article-list/style/_layout.scss +463 -0
  85. package/lib/component/catalog-article-list/style/_material-definition.scss +9 -0
  86. package/lib/component/catalog-article-list/style/_theme.scss +4 -0
  87. package/lib/component/catalog-article-list/style/material.scss +4 -0
  88. package/lib/component/catalog-article-tile/catalog-article-tile.component.d.ts +4 -0
  89. package/lib/component/catalog-article-tile/catalog-article-tile.module.d.ts +2 -0
  90. package/lib/component/catalog-article-tile/style/_layout.scss +693 -0
  91. package/lib/component/catalog-article-tile/style/_material-definition.scss +11 -0
  92. package/lib/component/catalog-article-tile/style/_theme.scss +4 -0
  93. package/lib/component/catalog-article-tile/style/material.scss +4 -0
  94. package/lib/component/catalog-categories/catalog-categories.component.d.ts +19 -0
  95. package/lib/component/catalog-categories/catalog-categories.module.d.ts +2 -0
  96. package/lib/component/catalog-categories/style/_layout.scss +112 -0
  97. package/lib/component/catalog-categories/style/_material-definition.scss +32 -0
  98. package/lib/component/catalog-categories/style/_theme.scss +14 -0
  99. package/lib/component/catalog-categories/style/material.scss +5 -0
  100. package/lib/component/catalog-external-source/catalog-external-source.component.d.ts +18 -0
  101. package/lib/component/catalog-external-source/catalog-external-source.module.d.ts +2 -0
  102. package/lib/component/catalog-external-source/style/_layout.scss +51 -0
  103. package/lib/component/catalog-external-source/style/_material-definition.scss +0 -0
  104. package/lib/component/catalog-external-source/style/_theme.scss +4 -0
  105. package/lib/component/catalog-external-source/style/material.scss +4 -0
  106. package/lib/component/catalog-external-sources/catalog-external-sources.component.d.ts +13 -0
  107. package/lib/component/catalog-external-sources/catalog-external-sources.module.d.ts +2 -0
  108. package/lib/component/catalog-external-sources/style/_layout.scss +55 -0
  109. package/lib/component/catalog-external-sources/style/_material-definition.scss +19 -0
  110. package/lib/component/catalog-external-sources/style/_theme.scss +14 -0
  111. package/lib/component/catalog-external-sources/style/material.scss +5 -0
  112. package/lib/component/catalog-filter/catalog-filter.component.d.ts +40 -0
  113. package/lib/component/catalog-filter/catalog-filter.module.d.ts +2 -0
  114. package/lib/component/catalog-filter/style/_layout.scss +52 -0
  115. package/lib/component/catalog-filter/style/_material-definition.scss +8 -0
  116. package/lib/component/catalog-filter/style/_theme.scss +17 -0
  117. package/lib/component/catalog-filter/style/material.scss +4 -0
  118. package/lib/component/catalog-navigation/catalog-navigation.component.d.ts +54 -0
  119. package/lib/component/catalog-navigation/catalog-navigation.module.d.ts +2 -0
  120. package/lib/component/catalog-navigation/style/_layout.scss +523 -0
  121. package/lib/component/catalog-navigation/style/_material-definition.scss +26 -0
  122. package/lib/component/catalog-navigation/style/_theme.scss +7 -0
  123. package/lib/component/catalog-navigation/style/material.scss +4 -0
  124. package/lib/component/catalog-search/catalog-search.component.d.ts +25 -0
  125. package/lib/component/catalog-search/catalog-search.module.d.ts +2 -0
  126. package/lib/component/catalog-search/style/_layout.scss +30 -0
  127. package/lib/component/catalog-search/style/_material-definition.scss +2 -0
  128. package/lib/component/catalog-search/style/_theme.scss +4 -0
  129. package/lib/component/catalog-search/style/material.scss +4 -0
  130. package/lib/component/catalog-search-header/catalog-search-header.component.d.ts +7 -0
  131. package/lib/component/catalog-search-header/catalog-search-header.module.d.ts +2 -0
  132. package/lib/component/catalog-search-header/style/_layout.scss +12 -0
  133. package/lib/component/catalog-search-header/style/_material-definition.scss +4 -0
  134. package/lib/component/catalog-search-header/style/_theme.scss +4 -0
  135. package/lib/component/catalog-search-header/style/material.scss +4 -0
  136. package/lib/component/catalog-search-result-list/catalog-search-result-list.component.d.ts +4 -0
  137. package/lib/component/catalog-search-result-list/catalog-search-result-list.module.d.ts +2 -0
  138. package/lib/component/catalog-search-result-list/style/_layout.scss +4 -0
  139. package/lib/component/catalog-search-result-list/style/_material-definition.scss +0 -0
  140. package/lib/component/catalog-search-result-list/style/_theme.scss +4 -0
  141. package/lib/component/catalog-search-result-list/style/material.scss +4 -0
  142. package/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.d.ts +12 -0
  143. package/lib/component/catalog-search-result-tile/catalog-search-result-tile.module.d.ts +2 -0
  144. package/lib/component/catalog-search-result-tile/style/_layout.scss +16 -0
  145. package/lib/component/catalog-search-result-tile/style/_material-definition.scss +0 -0
  146. package/lib/component/catalog-search-result-tile/style/_theme.scss +4 -0
  147. package/lib/component/catalog-search-result-tile/style/material.scss +4 -0
  148. package/lib/component/responsive-text/responsive-text.component.d.ts +4 -0
  149. package/lib/component/responsive-text/responsive-text.module.d.ts +2 -0
  150. package/lib/component/responsive-text/style/_layout.scss +9 -0
  151. package/lib/component/responsive-text/style/_material-definition.scss +0 -0
  152. package/lib/component/responsive-text/style/_theme.scss +4 -0
  153. package/lib/component/responsive-text/style/material.scss +4 -0
  154. package/lib/directive/overlay/overlay-parent.directive.d.ts +6 -0
  155. package/lib/directive/overlay/overlay.directive.d.ts +15 -0
  156. package/lib/directive/overlay/overlay.module.d.ts +2 -0
  157. package/lib/directive/visibility-observer.module.d.ts +2 -0
  158. package/{app → lib}/model/settings-options.d.ts +2 -0
  159. package/{app/service/i-one-controller.service.d.ts → lib/service/catalog-connector-adapter.service.d.ts} +4 -5
  160. package/lib/service/catalog-connector.service.d.ts +42 -0
  161. package/{app/service/app-event.service.d.ts → lib/service/catalog-event.service.d.ts} +2 -2
  162. package/{app/service/filter.service.d.ts → lib/service/catalog-filter.service.d.ts} +3 -3
  163. package/{app/service/image.service.d.ts → lib/service/catalog-image.service.d.ts} +3 -3
  164. package/{app/service/options.service.d.ts → lib/service/catalog-options.service.d.ts} +3 -3
  165. package/lib/service/catalog-search.service.d.ts +43 -0
  166. package/{app/service/settings.service.d.ts → lib/service/catalog-settings.service.d.ts} +3 -5
  167. package/{app → lib}/service/catalog.service.d.ts +20 -24
  168. package/{app → lib}/service/dictionary.service.d.ts +0 -3
  169. package/lib/style/_mixin.scss +15 -0
  170. package/lib/style/_variables.scss +10 -0
  171. package/lib/style/catalog-globals.scss +3 -0
  172. package/lib/utils/json.utils.d.ts +3 -0
  173. package/package.json +2 -2
  174. package/public_api.d.ts +14 -2
  175. package/app/base/base-component.d.ts +0 -2
  176. package/app/components/catalog/catalog/catalog.component.d.ts +0 -11
  177. package/app/components/catalog/catalog-external/catalog-external.component.d.ts +0 -19
  178. package/app/components/catalog/catalog-filter/catalog-filter.component.d.ts +0 -40
  179. package/app/components/catalog/catalog-home/catalog-home.component.d.ts +0 -15
  180. package/app/components/catalog/catalog-page/catalog-page.component.d.ts +0 -41
  181. package/app/components/catalog/filter-items/filter-items.component.d.ts +0 -20
  182. package/app/components/core/icon-handle/icon-handle.component.d.ts +0 -14
  183. package/app/components/core/label-field/label-field.component.d.ts +0 -4
  184. package/app/components/left-content/left-content.component.d.ts +0 -4
  185. package/app/components/main-content/main-content.component.d.ts +0 -4
  186. package/app/components/navigation/navigation.component.d.ts +0 -29
  187. package/app/components/top-content/top-content.component.d.ts +0 -16
  188. package/app/enum/level-indicator-level.enum.d.ts +0 -5
  189. package/app/interface/filter-item.d.ts +0 -7
  190. package/app/ione-catalog.component.d.ts +0 -46
  191. package/app/ione-catalog.module.d.ts +0 -4
  192. package/app/layout.directive.d.ts +0 -20
  193. package/app/pipe/greater-than-zero.pipe.d.ts +0 -4
  194. package/app/service/app-initializer.service.d.ts +0 -6
  195. package/app/service/navigation.service.d.ts +0 -27
  196. package/app/style/_scrollbars.mixins.scss +0 -18
  197. package/app/style/_variables.scss +0 -17
  198. package/app/style/catalog-globals.scss +0 -94
  199. package/app/utils/json-utils.service.d.ts +0 -3
  200. package/app/utils/string-utils.d.ts +0 -6
  201. package/app/utils/utils.service.d.ts +0 -21
  202. package/esm2015/app/base/base-component.js +0 -3
  203. package/esm2015/app/catalog-version.js +0 -10
  204. package/esm2015/app/components/catalog/article-card/article-card.component.js +0 -137
  205. package/esm2015/app/components/catalog/catalog/catalog.component.js +0 -32
  206. package/esm2015/app/components/catalog/catalog-external/catalog-external.component.js +0 -54
  207. package/esm2015/app/components/catalog/catalog-filter/catalog-filter.component.js +0 -142
  208. package/esm2015/app/components/catalog/catalog-home/catalog-home.component.js +0 -39
  209. package/esm2015/app/components/catalog/catalog-page/catalog-page.component.js +0 -124
  210. package/esm2015/app/components/catalog/filter-items/filter-items.component.js +0 -48
  211. package/esm2015/app/components/core/icon-handle/icon-handle.component.js +0 -32
  212. package/esm2015/app/components/core/label-field/label-field.component.js +0 -18
  213. package/esm2015/app/components/left-content/left-content.component.js +0 -13
  214. package/esm2015/app/components/main-content/main-content.component.js +0 -13
  215. package/esm2015/app/components/navigation/navigation.component.js +0 -94
  216. package/esm2015/app/components/top-content/top-content.component.js +0 -46
  217. package/esm2015/app/directive/visibility-observer-master.directive.js +0 -49
  218. package/esm2015/app/directive/visibility-observer.directive.js +0 -55
  219. package/esm2015/app/enum/icon.enum.js +0 -25
  220. package/esm2015/app/enum/language-code.enum.js +0 -8
  221. package/esm2015/app/enum/level-indicator-level.enum.js +0 -7
  222. package/esm2015/app/interface/filter-item.js +0 -2
  223. package/esm2015/app/interface/order-by.interface.js +0 -2
  224. package/esm2015/app/ione-catalog.component.js +0 -120
  225. package/esm2015/app/ione-catalog.module.js +0 -119
  226. package/esm2015/app/layout.directive.js +0 -68
  227. package/esm2015/app/model/articles-search-result.js +0 -3
  228. package/esm2015/app/model/external-source-viewmodel.js +0 -7
  229. package/esm2015/app/model/filter-item.viewmodel.js +0 -10
  230. package/esm2015/app/model/filter-viewmodel.js +0 -12
  231. package/esm2015/app/model/icon.js +0 -24
  232. package/esm2015/app/model/settings-options.js +0 -18
  233. package/esm2015/app/model/settings.js +0 -10
  234. package/esm2015/app/pipe/greater-than-zero.pipe.js +0 -16
  235. package/esm2015/app/pipe/localize.pipe.js +0 -27
  236. package/esm2015/app/service/app-event.service.js +0 -19
  237. package/esm2015/app/service/app-initializer.service.js +0 -25
  238. package/esm2015/app/service/catalog.service.js +0 -273
  239. package/esm2015/app/service/dictionary.service.js +0 -90
  240. package/esm2015/app/service/filter.service.js +0 -86
  241. package/esm2015/app/service/i-one-controller.service.js +0 -329
  242. package/esm2015/app/service/icon-cache.service.js +0 -35
  243. package/esm2015/app/service/image.service.js +0 -119
  244. package/esm2015/app/service/navigation.service.js +0 -80
  245. package/esm2015/app/service/options.service.js +0 -86
  246. package/esm2015/app/service/settings.service.js +0 -108
  247. package/esm2015/app/utils/json-utils.service.js +0 -26
  248. package/esm2015/app/utils/string-utils.js +0 -37
  249. package/esm2015/app/utils/utils.service.js +0 -111
  250. /package/{app → lib}/catalog-version.d.ts +0 -0
  251. /package/{app → lib}/directive/visibility-observer-master.directive.d.ts +0 -0
  252. /package/{app → lib}/directive/visibility-observer.directive.d.ts +0 -0
  253. /package/{app → lib}/enum/icon.enum.d.ts +0 -0
  254. /package/{app → lib}/enum/language-code.enum.d.ts +0 -0
  255. /package/{app → lib}/interface/order-by.interface.d.ts +0 -0
  256. /package/{app → lib}/model/articles-search-result.d.ts +0 -0
  257. /package/{app → lib}/model/external-source-viewmodel.d.ts +0 -0
  258. /package/{app → lib}/model/filter-item.viewmodel.d.ts +0 -0
  259. /package/{app → lib}/model/filter-viewmodel.d.ts +0 -0
  260. /package/{app → lib}/model/icon.d.ts +0 -0
  261. /package/{app → lib}/model/settings.d.ts +0 -0
  262. /package/{app → lib}/pipe/localize.pipe.d.ts +0 -0
  263. /package/{app → lib}/service/icon-cache.service.d.ts +0 -0
@@ -0,0 +1,19 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { CatalogService } from '../../service/catalog.service';
3
+ import { ArticleCategory } from '@colijnit/articleapi/build/model/article-category';
4
+ import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-group-image.bo';
5
+ export declare class CatalogCategoriesComponent implements OnInit {
6
+ private _catalogService;
7
+ showTurnoverGroups: boolean;
8
+ categoryClick: EventEmitter<string>;
9
+ turnoverGroupClick: EventEmitter<string>;
10
+ showClass(): boolean;
11
+ categories: ArticleCategory[];
12
+ turnoverGroups: TurnoverGroupImage[];
13
+ constructor(_catalogService: CatalogService);
14
+ ngOnInit(): void;
15
+ getCategories(): Promise<void>;
16
+ prepareTurnoverGroups(): void;
17
+ handleCategoryClick(event: MouseEvent, category: string): void;
18
+ handleTurnoverGroupClick(event: MouseEvent, turnovergroupNr: string): void;
19
+ }
@@ -0,0 +1,2 @@
1
+ export declare class CatalogCategoriesModule {
2
+ }
@@ -0,0 +1,112 @@
1
+ @include export-module('co-catalog-categories-layout') {
2
+ .co-catalog-categories {
3
+ font-family: $co-catalog-categories-font-family;
4
+ font-size: $co-catalog-categories-font-size;
5
+ .categories-wrapper {
6
+ display: grid;
7
+ grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
8
+ overflow: hidden;
9
+ padding: $co-catalog-categories-padding;
10
+ grid-column-gap: $co-catalog-categories-column-gap;
11
+ }
12
+ .category-item {
13
+ cursor: pointer;
14
+ position: relative;
15
+ display: flex;
16
+ height: 100%;
17
+ width: 100%;
18
+ overflow: hidden;
19
+ .co-image {
20
+ height: 100%;
21
+ width: 100%;
22
+ img {
23
+ height: 100%;
24
+ width: 100%;
25
+ filter: $co-catalog-categories-image-filter;
26
+ }
27
+ }
28
+
29
+ .category-description {
30
+ display: block;
31
+ position: absolute;
32
+ //font-size: $co-catalog-external-sources-description-font-size;
33
+ width: 100%;
34
+ height: 100%;
35
+ top: 50%;
36
+ left: 50%;
37
+ transform: translate(-50%, -50%);
38
+ .text {
39
+ display: flex;
40
+ align-items: center;
41
+ justify-content: center;
42
+ width: 100%;
43
+ height: 100%;
44
+ font-weight: $co-catalog-categories-category-description-font-weight;
45
+ text-shadow: $co-catalog-categories-category-description-text-shadow;
46
+ text-transform: $co-catalog-categories-category-description-text-transform;
47
+ }
48
+ }
49
+ &:hover {
50
+ .co-image {
51
+ img {
52
+ filter: $co-catalog-categories-image-hover-filter;
53
+ }
54
+ }
55
+ }
56
+ }
57
+ .turnovergroup-items-wrapper {
58
+ padding: $co-catalog-categories-turnovergroup-padding;
59
+ .category-title {
60
+ text-transform: $co-catalog-categories-turnovergroup-category-title-text-transform;
61
+ font-weight: $co-catalog-categories-turnovergroup-category-title-font-weight;
62
+ font-size: $co-catalog-categories-turnovergroup-category-title-font-size;
63
+ margin: $co-catalog-categories-turnovergroup-category-title-margin;
64
+ }
65
+ }
66
+ .turnovergroup-item-wrapper {
67
+ display: grid;
68
+ grid-template-columns: repeat(auto-fit, minmax(auto, $co-catalog-categories-turnovergroup-size));
69
+ overflow: hidden;
70
+ padding: $co-catalog-categories-padding;
71
+ grid-column-gap: $co-catalog-categories-turnovergroup-column-gap;
72
+ grid-auto-flow: column;
73
+ .turnovergroup-item {
74
+ cursor: pointer;
75
+ position: relative;
76
+ display: flex;
77
+ flex-direction: column;
78
+ height: 100%;
79
+ width: 100%;
80
+ overflow: hidden;
81
+ .co-image {
82
+ height: 100%;
83
+ width: 100%;
84
+ border-style: $co-catalog-categories-turnovergroup-border-style;
85
+ border-width: $co-catalog-categories-turnovergroup-border-width;
86
+ border-radius: $co-catalog-categories-turnovergroup-border-radius;
87
+ img {
88
+ height: 100%;
89
+ width: 100%;
90
+ filter: $co-catalog-categories-turnovergroup-image-filter;
91
+ }
92
+ }
93
+ .turnovergroup-description {
94
+ text-transform: $co-catalog-categories-turnovergroup-description-text-transform;
95
+ font-weight: $co-catalog-categories-turnovergroup-description-font-weight;
96
+ font-size: $co-catalog-categories-turnovergroup-description-font-size;
97
+ margin: $co-catalog-categories-turnovergroup-description-margin;
98
+ text-overflow: $co-catalog-categories-turnovergroup-description-text-overflow;
99
+ overflow: $co-catalog-categories-turnovergroup-description-overflow;
100
+ white-space: $co-catalog-categories-turnovergroup-description-white-space;
101
+ }
102
+ &:hover {
103
+ .co-image {
104
+ img {
105
+ filter: $co-catalog-categories-turnovergroup-image-hover-filter;
106
+ }
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ }
@@ -0,0 +1,32 @@
1
+ $co-catalog-categories-font-family: $ca-font-family !default;
2
+ $co-catalog-categories-font-size: $ca-font-size !default;
3
+ $co-catalog-categories-padding: 0 !default;
4
+ $co-catalog-categories-column-gap: 10px !default;
5
+ $co-catalog-categories-image-filter: brightness(80%) !default;
6
+ $co-catalog-categories-image-hover-filter: brightness(100%) !default;
7
+ $co-catalog-categories-category-description-font-size: 24px !default;
8
+ $co-catalog-categories-category-description-font-color: white !default;
9
+ $co-catalog-categories-category-description-font-weight: bold !default;
10
+ $co-catalog-categories-category-description-text-transform: capitalize !default;
11
+ $co-catalog-categories-category-description-text-shadow: 0 2px 3px rgba(1, 1, 1, .55) !default;
12
+
13
+ $co-catalog-categories-turnovergroup-size: 150px !default;
14
+ $co-catalog-categories-turnovergroup-column-gap: 10px !default;
15
+ $co-catalog-categories-turnovergroup-padding: 0 !default;
16
+ $co-catalog-categories-turnovergroup-category-title-text-transform: capitalize !default;
17
+ $co-catalog-categories-turnovergroup-category-title-font-weight: 700 !default;
18
+ $co-catalog-categories-turnovergroup-category-title-font-size: 16px !default;
19
+ $co-catalog-categories-turnovergroup-category-title-margin: 10px 0 !default;
20
+ $co-catalog-categories-turnovergroup-border-style: solid !default;
21
+ $co-catalog-categories-turnovergroup-border-width: 1px !default;
22
+ $co-catalog-categories-turnovergroup-border-radius: 10px !default;
23
+ $co-catalog-categories-turnovergroup-border-color: $ca-color-border !default;
24
+ $co-catalog-categories-turnovergroup-description-text-transform: capitalize !default;
25
+ $co-catalog-categories-turnovergroup-description-font-size: 12px !default;
26
+ $co-catalog-categories-turnovergroup-description-font-weight: 600 !default;
27
+ $co-catalog-categories-turnovergroup-description-margin: 5px 0 !default;
28
+ $co-catalog-categories-turnovergroup-image-filter: brightness(80%) !default;
29
+ $co-catalog-categories-turnovergroup-image-hover-filter: brightness(100%) !default;
30
+ $co-catalog-categories-turnovergroup-description-text-overflow: ellipsis !default;
31
+ $co-catalog-categories-turnovergroup-description-overflow: hidden !default;
32
+ $co-catalog-categories-turnovergroup-description-white-space: nowrap !default;
@@ -0,0 +1,14 @@
1
+ @include export-module('co-catalog-categories-theme') {
2
+ .co-catalog-categories {
3
+ .category-item {
4
+ .category-description {
5
+ color: $co-catalog-categories-category-description-font-color;
6
+ }
7
+ }
8
+ .turnovergroup-item {
9
+ .co-image {
10
+ border-color: $co-catalog-categories-turnovergroup-border-color;
11
+ }
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,5 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
5
+ @import "../../responsive-text/style/material";
@@ -0,0 +1,18 @@
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, Renderer2 } from '@angular/core';
2
+ import { CatalogService } from '../../service/catalog.service';
3
+ import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
4
+ import { CatalogEventService } from '../../service/catalog-event.service';
5
+ export declare class CatalogExternalSourceComponent implements AfterViewInit {
6
+ catalogService: CatalogService;
7
+ private _appEventService;
8
+ private _sanitizer;
9
+ private _ref;
10
+ private _renderer;
11
+ externalSourceFrame: ElementRef;
12
+ showClass(): boolean;
13
+ private _subs;
14
+ constructor(catalogService: CatalogService, _appEventService: CatalogEventService, _sanitizer: DomSanitizer, _ref: ChangeDetectorRef, _renderer: Renderer2);
15
+ ngAfterViewInit(): void;
16
+ ngOnDestroy(): void;
17
+ getSafeUrl(): SafeUrl;
18
+ }
@@ -0,0 +1,2 @@
1
+ export declare class CatalogExternalSourceModule {
2
+ }
@@ -0,0 +1,51 @@
1
+ @include export-module('co-catalog-external-source-layout') {
2
+ .co-catalog-external-source {
3
+ //.page-wrapper {
4
+ // display: flex;
5
+ // flex-direction: column;
6
+ // padding: 0 30px;
7
+ // margin: 0 auto;
8
+ // width: 100%;
9
+ //}
10
+ //
11
+ //.component-wrapper {
12
+ // display: flex;
13
+ // flex-direction: column;
14
+ // height: 100%;
15
+ //
16
+ // .page-wrapper {
17
+ // flex-direction: row;
18
+ // height: 100%;
19
+ // align-items: flex-start;
20
+ // }
21
+ //}
22
+ //
23
+ //.content-wrapper {
24
+ // display: flex;
25
+ // flex-basis: 100%;
26
+ // position: relative;
27
+ // padding: 15px 0 0;
28
+ // //flex-direction: row;
29
+ // //overflow: hidden;
30
+ //}
31
+ //
32
+ //#left_content {
33
+ //
34
+ //}
35
+ //
36
+ //#top_content {
37
+ // display: flex;
38
+ // flex-basis: auto;
39
+ // border-bottom: 1px solid $background-color;
40
+ //}
41
+ //
42
+ //#main_content {
43
+ // width: 100%;
44
+ //}
45
+ //@media screen and (max-width: 640px) {
46
+ // .page-wrapper {
47
+ // padding: 0px;
48
+ // }
49
+ //}
50
+ }
51
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-catalog-external-source-theme') {
2
+ .co-catalog-external-source {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,13 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { ExternalSourceViewmodel } from '../../model/external-source-viewmodel';
3
+ import { CatalogConnectorService } from '../../service/catalog-connector.service';
4
+ import { CatalogImageService } from '../../service/catalog-image.service';
5
+ export declare class CatalogExternalSourcesComponent implements OnInit {
6
+ private _catalogConnectorService;
7
+ private _imageService;
8
+ externalSourceClick: EventEmitter<ExternalSourceViewmodel>;
9
+ showClass(): boolean;
10
+ externalSourceViewModels: ExternalSourceViewmodel[];
11
+ constructor(_catalogConnectorService: CatalogConnectorService, _imageService: CatalogImageService);
12
+ ngOnInit(): void;
13
+ }
@@ -0,0 +1,2 @@
1
+ export declare class CatalogExternalSourcesModule {
2
+ }
@@ -0,0 +1,55 @@
1
+ @include export-module('co-catalog-external-sources-layout') {
2
+ .co-catalog-external-sources {
3
+ display: block;
4
+ width: 100%;
5
+ font-family: $co-catalog-external-sources-font-family;
6
+ font-size: $co-catalog-external-sources-font-size;
7
+ .catalog-external-sources-wrapper {
8
+ display: grid;
9
+ grid-template-columns: repeat(auto-fit, minmax(10px, $co-catalog-external-sources-image-size));
10
+ overflow: hidden;
11
+ padding: $co-catalog-external-sources-padding;
12
+ grid-gap: $co-catalog-external-sources-column-gap;
13
+ }
14
+ .external-source-item {
15
+ cursor: pointer;
16
+ position: relative;
17
+ display: flex;
18
+ flex-direction: column;
19
+ height: 100%;
20
+ width: 100%;
21
+ min-height: $co-catalog-external-sources-image-size;
22
+ .co-image {
23
+ height: 100%;
24
+ width: 100%;
25
+ border-style: $co-catalog-external-sources-item-border-style;
26
+ border-width: $co-catalog-external-sources-item-border-width;
27
+ border-radius: $co-catalog-external-sources-item-border-radius;
28
+ img {
29
+ height: 100%;
30
+ width: 100%;
31
+ filter: $co-catalog-external-sources-image-filter;
32
+ border-radius: $co-catalog-external-sources-item-border-radius;
33
+ }
34
+ }
35
+ .external-source-description {
36
+ display: block;
37
+ text-overflow: ellipsis;
38
+ overflow: hidden;
39
+ white-space: nowrap;
40
+ font-size: $co-catalog-external-sources-description-font-size;
41
+ font-weight: $co-catalog-external-sources-description-font-weight;
42
+ text-shadow: $co-catalog-external-sources-description-text-shadow;
43
+ text-transform: $co-catalog-external-sources-description-text-transform;
44
+ margin: $co-catalog-external-sources-description-margin;
45
+ }
46
+ &:hover {
47
+ .co-image {
48
+ img {
49
+ filter: $co-catalog-external-sources-image-hover-filter;
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
@@ -0,0 +1,19 @@
1
+ $co-catalog-external-sources-font-family: $ca-font-family !default;
2
+ $co-catalog-external-sources-font-size: $ca-font-size !default;
3
+ $co-catalog-external-sources-image-size: 150px !default;
4
+ $co-catalog-external-sources-padding: 0 !default;
5
+ $co-catalog-external-sources-column-gap: 10px !default;
6
+
7
+ $co-catalog-external-sources-item-border-style: solid !default;
8
+ $co-catalog-external-sources-item-border-color: $ca-color-border !default;
9
+ $co-catalog-external-sources-item-border-width: 1px !default;
10
+ $co-catalog-external-sources-item-border-radius: 10px !default;
11
+
12
+ $co-catalog-external-sources-image-filter: brightness(80%) !default;
13
+ $co-catalog-external-sources-image-hover-filter: brightness(100%) !default;
14
+ $co-catalog-external-sources-description-margin: 10px 0 !default;
15
+ $co-catalog-external-sources-description-font-size: $ca-font-size !default;
16
+ $co-catalog-external-sources-description-font-color: $ca-color-font !default;
17
+ $co-catalog-external-sources-description-font-weight: bold !default;
18
+ $co-catalog-external-sources-description-text-transform: capitalize !default;
19
+ $co-catalog-external-sources-description-text-shadow: none /*0 2px 3px rgba(1, 1, 1, .55)*/ !default;
@@ -0,0 +1,14 @@
1
+ @include export-module('co-catalog-external-sources-theme') {
2
+ .co-catalog-external-sources {
3
+ .external-source-item {
4
+ .co-image {
5
+ border-color: $co-catalog-external-sources-item-border-color;
6
+ }
7
+ }
8
+ .external-source-description {
9
+ .text {
10
+ color: $co-catalog-external-sources-description-font-color;
11
+ }
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,5 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
5
+ @import "../../responsive-text/style/material";
@@ -0,0 +1,40 @@
1
+ import { ChangeDetectorRef, OnInit } from '@angular/core';
2
+ import { SliderComponent } from '@colijnit/corecomponents';
3
+ import { NumericalRange } from '@colijnit/corecomponents/lib/core/model/numerical-range';
4
+ import { IconEnum } from '../../enum/icon.enum';
5
+ import { CatalogFilterService } from '../../service/catalog-filter.service';
6
+ import { IconCacheService } from '../../service/icon-cache.service';
7
+ import { CatalogOptionsService } from '../../service/catalog-options.service';
8
+ import { FilterItemViewmodel } from '../../model/filter-item.viewmodel';
9
+ import { CatalogSearchService } from '../../service/catalog-search.service';
10
+ export declare class CatalogFilterComponent implements OnInit {
11
+ catalogSearchService: CatalogSearchService;
12
+ filterService: CatalogFilterService;
13
+ iconCache: IconCacheService;
14
+ optionsService: CatalogOptionsService;
15
+ private changeDetector;
16
+ readonly icons: typeof IconEnum;
17
+ priceSlider: SliderComponent;
18
+ showResetFilter: boolean;
19
+ showClass(): boolean;
20
+ collapsed: boolean;
21
+ private _destroyed;
22
+ private _subs;
23
+ private _min;
24
+ private _max;
25
+ constructor(catalogSearchService: CatalogSearchService, filterService: CatalogFilterService, iconCache: IconCacheService, optionsService: CatalogOptionsService, changeDetector: ChangeDetectorRef);
26
+ ngOnInit(): void;
27
+ ngOnDestroy(): void;
28
+ initializePriceFilterMinMax(): void;
29
+ resetFilters(event: MouseEvent): void;
30
+ onHandleClick(event: MouseEvent): void;
31
+ updatePriceInputs(range: NumericalRange): void;
32
+ updateSliderRange(): void;
33
+ updatePriceFrom(): void;
34
+ updatePriceTo(): void;
35
+ setPriceMinToDefault(): void;
36
+ setPriceMaxToDefault(): void;
37
+ filterOnPrice(): void;
38
+ handleCollectionChange(collection: FilterItemViewmodel[]): void;
39
+ private detectChanges;
40
+ }
@@ -0,0 +1,2 @@
1
+ export declare class CatalogFilterModule {
2
+ }
@@ -0,0 +1,52 @@
1
+ @include export-module('co-catalog-filter-layout') {
2
+ .co-catalog-filter {
3
+ font-family: $co-catalog-filter-font-family;
4
+ font-size: $co-catalog-filter-font-size;
5
+ display: flex;
6
+ height: 100%;
7
+ width: $ca-filter-panel-width;
8
+ overflow: hidden;
9
+ .catalog-filter-wrapper {
10
+ display: flex;
11
+ flex-direction: column;
12
+ }
13
+ .reset-filter-wrapper {
14
+ display: flex;
15
+ flex-direction: column;
16
+ margin: $co-catalog-filter-reset-filter-margin;
17
+ .reset-title-wrapper {
18
+ display: flex;
19
+ align-items: center;
20
+ justify-content: space-between;
21
+ width: 100%;
22
+ }
23
+ .reset-title {
24
+ display: flex;
25
+ align-items: center;
26
+ }
27
+ .reset-filter-icon {
28
+ cursor: pointer;
29
+ height: 26px;
30
+ width: 26px;
31
+ padding: 8px;
32
+ }
33
+ .filter-reset {
34
+ cursor: pointer;
35
+ font-size: $co-catalog-filter-reset-filter-font-size;
36
+ }
37
+ }
38
+ .filter-items-wrapper {
39
+ display: flex;
40
+ flex-direction: column;
41
+ flex-basis: 100%;
42
+ width: 100%;
43
+ row-gap: $ca-filter-panel-row-gap;
44
+ overflow-y: auto;
45
+ }
46
+ .price-inputs {
47
+ display: flex;
48
+ align-items: center;
49
+ column-gap: $co-catalog-filter-column-gap;
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,8 @@
1
+ $co-catalog-filter-font-family: $ca-font-family !default;
2
+ $co-catalog-filter-font-size: $ca-font-size !default;
3
+ $co-catalog-filter-reset-filter-margin: 0 0 10px 0 !default;
4
+ $co-catalog-filter-column-gap: 5px !default;
5
+ $co-catalog-filter-column-gap: 5px !default;
6
+ $co-catalog-filter-reset-filter-font-size: 12px !default;
7
+ $co-catalog-filter-reset-filter-icon-color: $ca-color-action !default;
8
+ $co-catalog-filter-reset-filter-font-color: $ca-color-action !default;
@@ -0,0 +1,17 @@
1
+ @include export-module('co-catalog-filter-theme') {
2
+ .co-catalog-filter {
3
+ .reset-filter-wrapper {
4
+ .reset-filter-icon {
5
+ svg { // for fontawesome icons
6
+ fill: $co-catalog-filter-reset-filter-icon-color;
7
+ }
8
+ & [fill] { // for own icons
9
+ fill: $co-catalog-filter-reset-filter-icon-color;
10
+ }
11
+ }
12
+ .filter-reset {
13
+ color: $co-catalog-filter-reset-filter-font-color;
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,54 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { IconEnum } from '../../enum/icon.enum';
3
+ import { IconCacheService } from '../../service/icon-cache.service';
4
+ import { CatalogService } from '../../service/catalog.service';
5
+ import { CatalogEventService } from '../../service/catalog-event.service';
6
+ import { ArticleCategory } from '@colijnit/articleapi/build/model/article-category';
7
+ import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-group-image.bo';
8
+ import { ExternalSourceViewmodel } from '../../model/external-source-viewmodel';
9
+ export declare class CatalogNavigationComponent {
10
+ iconCache: IconCacheService;
11
+ catalogService: CatalogService;
12
+ private _appEventService;
13
+ readonly icons: typeof IconEnum;
14
+ homeLabel: string;
15
+ collectionLabel: string;
16
+ externalSourcesLabel: string;
17
+ showTurnoverGroups: boolean;
18
+ homeClick: EventEmitter<void>;
19
+ categoryClick: EventEmitter<string>;
20
+ turnoverGroupClick: EventEmitter<string>;
21
+ externalSourceClick: EventEmitter<ExternalSourceViewmodel>;
22
+ minified: boolean;
23
+ showClass: boolean;
24
+ mobileMenuToggle: boolean;
25
+ popupTop: number;
26
+ popupHeight: number;
27
+ popupWidth: number;
28
+ popupLeft: number;
29
+ categories: ArticleCategory[];
30
+ turnoverGroups: TurnoverGroupImage[];
31
+ showCollectionOverlay: boolean;
32
+ showExternalOverlay: boolean;
33
+ get internalList(): any[];
34
+ get externalList(): any[];
35
+ constructor(iconCache: IconCacheService, catalogService: CatalogService, _appEventService: CatalogEventService);
36
+ ngOnInit(): void;
37
+ getCategories(): Promise<void>;
38
+ prepareTurnoverGroups(): void;
39
+ handleCategoryClick(event: MouseEvent, category: string): void;
40
+ handleTurnoverGroupClick(event: MouseEvent, turnovergroupNr: string): void;
41
+ handleExternalSourceClick(externalSource: ExternalSourceViewmodel): void;
42
+ onToggleMobileMenu(): void;
43
+ onSubMenuToggle(event: any): void;
44
+ onOpenSubMenu(event: MouseEvent): void;
45
+ onSetCategory(event: any, category: string): void;
46
+ onSetTurnoverGroup(event: any, turnoverGroup: string): void;
47
+ onOpenExternalCatalog(event: any, webviewUrl: string): void;
48
+ onOpenIoneCatalog(event: any, webviewUrl: string, ioneUrl: string, upId: string, userName: string, passWord: string): void;
49
+ handleHomeClick(event: MouseEvent): void;
50
+ handleShowCollectionOverlay(): void;
51
+ handleShowExternalOverlay(): void;
52
+ handleHideCollectionOverlay(): void;
53
+ handleHideExternalOverlay(): void;
54
+ }
@@ -0,0 +1,2 @@
1
+ export declare class CatalogNavigationModule {
2
+ }