@colijnit/catalog 12.1.24 → 12.1.26

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 (257) hide show
  1. package/README.md +10 -14
  2. package/bundles/colijnit-catalog.umd.js +2292 -1711
  3. package/bundles/colijnit-catalog.umd.js.map +1 -1
  4. package/colijnit-catalog.d.ts +34 -33
  5. package/colijnit-catalog.metadata.json +1 -1
  6. package/esm2015/colijnit-catalog.js +35 -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 +200 -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 +106 -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/visibility-observer-master.directive.js +49 -0
  42. package/esm2015/lib/directive/visibility-observer.directive.js +55 -0
  43. package/esm2015/lib/directive/visibility-observer.module.js +18 -0
  44. package/esm2015/lib/enum/icon.enum.js +25 -0
  45. package/esm2015/lib/enum/language-code.enum.js +8 -0
  46. package/esm2015/lib/interface/order-by.interface.js +2 -0
  47. package/esm2015/lib/model/articles-search-result.js +3 -0
  48. package/esm2015/lib/model/external-source-viewmodel.js +7 -0
  49. package/esm2015/lib/model/filter-item.viewmodel.js +10 -0
  50. package/esm2015/lib/model/filter-viewmodel.js +12 -0
  51. package/esm2015/lib/model/icon.js +24 -0
  52. package/esm2015/lib/model/settings-options.js +20 -0
  53. package/esm2015/lib/model/settings.js +10 -0
  54. package/esm2015/lib/pipe/localize.pipe.js +27 -0
  55. package/esm2015/lib/service/catalog-connector-adapter.service.js +332 -0
  56. package/esm2015/lib/service/catalog-connector.service.js +142 -0
  57. package/esm2015/lib/service/catalog-event.service.js +19 -0
  58. package/esm2015/lib/service/catalog-filter.service.js +91 -0
  59. package/esm2015/lib/service/catalog-image.service.js +124 -0
  60. package/esm2015/lib/service/catalog-options.service.js +92 -0
  61. package/esm2015/lib/service/catalog-search.service.js +167 -0
  62. package/esm2015/lib/service/catalog-settings.service.js +111 -0
  63. package/esm2015/lib/service/catalog.service.js +305 -0
  64. package/esm2015/lib/service/dictionary.service.js +90 -0
  65. package/esm2015/lib/service/icon-cache.service.js +40 -0
  66. package/esm2015/lib/utils/json.utils.js +22 -0
  67. package/esm2015/public_api.js +15 -3
  68. package/fesm2015/colijnit-catalog.js +2264 -1382
  69. package/fesm2015/colijnit-catalog.js.map +1 -1
  70. package/lib/cache/cache-field.d.ts +25 -0
  71. package/lib/cache/parameter-cache-field.d.ts +11 -0
  72. package/lib/cache/service/business-object-cache-manager.service.d.ts +58 -0
  73. package/lib/cache/service/select-multiple-cache.service.d.ts +15 -0
  74. package/lib/cache/service/select-multiple-parameterized-cache.service.d.ts +19 -0
  75. package/lib/cache/service/select-single-cache.service.d.ts +12 -0
  76. package/lib/cache/service/select-single-parameterized-cache.service.d.ts +18 -0
  77. package/{app/components/catalog/article-card/article-card.component.d.ts → lib/component/base/article-base.component.d.ts} +20 -16
  78. package/lib/component/base/catalog-search-base.component.d.ts +8 -0
  79. package/lib/component/catalog-article-list/catalog-article-list.component.d.ts +4 -0
  80. package/lib/component/catalog-article-list/catalog-article-list.module.d.ts +2 -0
  81. package/lib/component/catalog-article-list/style/_layout.scss +463 -0
  82. package/lib/component/catalog-article-list/style/_material-definition.scss +9 -0
  83. package/lib/component/catalog-article-list/style/_theme.scss +4 -0
  84. package/lib/component/catalog-article-list/style/material.scss +4 -0
  85. package/lib/component/catalog-article-tile/catalog-article-tile.component.d.ts +4 -0
  86. package/lib/component/catalog-article-tile/catalog-article-tile.module.d.ts +2 -0
  87. package/lib/component/catalog-article-tile/style/_layout.scss +693 -0
  88. package/lib/component/catalog-article-tile/style/_material-definition.scss +11 -0
  89. package/lib/component/catalog-article-tile/style/_theme.scss +4 -0
  90. package/lib/component/catalog-article-tile/style/material.scss +4 -0
  91. package/lib/component/catalog-categories/catalog-categories.component.d.ts +19 -0
  92. package/lib/component/catalog-categories/catalog-categories.module.d.ts +2 -0
  93. package/lib/component/catalog-categories/style/_layout.scss +109 -0
  94. package/lib/component/catalog-categories/style/_material-definition.scss +29 -0
  95. package/lib/component/catalog-categories/style/_theme.scss +14 -0
  96. package/lib/component/catalog-categories/style/material.scss +5 -0
  97. package/lib/component/catalog-external-source/catalog-external-source.component.d.ts +18 -0
  98. package/lib/component/catalog-external-source/catalog-external-source.module.d.ts +2 -0
  99. package/lib/component/catalog-external-source/style/_layout.scss +51 -0
  100. package/lib/component/catalog-external-source/style/_material-definition.scss +0 -0
  101. package/lib/component/catalog-external-source/style/_theme.scss +4 -0
  102. package/lib/component/catalog-external-source/style/material.scss +4 -0
  103. package/lib/component/catalog-external-sources/catalog-external-sources.component.d.ts +12 -0
  104. package/lib/component/catalog-external-sources/catalog-external-sources.module.d.ts +2 -0
  105. package/lib/component/catalog-external-sources/style/_layout.scss +63 -0
  106. package/lib/component/catalog-external-sources/style/_material-definition.scss +18 -0
  107. package/lib/component/catalog-external-sources/style/_theme.scss +12 -0
  108. package/lib/component/catalog-external-sources/style/material.scss +5 -0
  109. package/lib/component/catalog-filter/catalog-filter.component.d.ts +40 -0
  110. package/lib/component/catalog-filter/catalog-filter.module.d.ts +2 -0
  111. package/lib/component/catalog-filter/style/_layout.scss +52 -0
  112. package/lib/component/catalog-filter/style/_material-definition.scss +8 -0
  113. package/lib/component/catalog-filter/style/_theme.scss +17 -0
  114. package/lib/component/catalog-filter/style/material.scss +4 -0
  115. package/lib/component/catalog-navigation/catalog-navigation.component.d.ts +51 -0
  116. package/lib/component/catalog-navigation/catalog-navigation.module.d.ts +2 -0
  117. package/lib/component/catalog-navigation/style/_layout.scss +515 -0
  118. package/lib/component/catalog-navigation/style/_material-definition.scss +21 -0
  119. package/lib/component/catalog-navigation/style/_theme.scss +4 -0
  120. package/lib/component/catalog-navigation/style/material.scss +4 -0
  121. package/lib/component/catalog-search/catalog-search.component.d.ts +25 -0
  122. package/lib/component/catalog-search/catalog-search.module.d.ts +2 -0
  123. package/lib/component/catalog-search/style/_layout.scss +30 -0
  124. package/lib/component/catalog-search/style/_material-definition.scss +2 -0
  125. package/lib/component/catalog-search/style/_theme.scss +4 -0
  126. package/lib/component/catalog-search/style/material.scss +4 -0
  127. package/lib/component/catalog-search-header/catalog-search-header.component.d.ts +7 -0
  128. package/lib/component/catalog-search-header/catalog-search-header.module.d.ts +2 -0
  129. package/lib/component/catalog-search-header/style/_layout.scss +12 -0
  130. package/lib/component/catalog-search-header/style/_material-definition.scss +4 -0
  131. package/lib/component/catalog-search-header/style/_theme.scss +4 -0
  132. package/lib/component/catalog-search-header/style/material.scss +4 -0
  133. package/lib/component/catalog-search-result-list/catalog-search-result-list.component.d.ts +4 -0
  134. package/lib/component/catalog-search-result-list/catalog-search-result-list.module.d.ts +2 -0
  135. package/lib/component/catalog-search-result-list/style/_layout.scss +4 -0
  136. package/lib/component/catalog-search-result-list/style/_material-definition.scss +0 -0
  137. package/lib/component/catalog-search-result-list/style/_theme.scss +4 -0
  138. package/lib/component/catalog-search-result-list/style/material.scss +4 -0
  139. package/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.d.ts +12 -0
  140. package/lib/component/catalog-search-result-tile/catalog-search-result-tile.module.d.ts +2 -0
  141. package/lib/component/catalog-search-result-tile/style/_layout.scss +16 -0
  142. package/lib/component/catalog-search-result-tile/style/_material-definition.scss +0 -0
  143. package/lib/component/catalog-search-result-tile/style/_theme.scss +4 -0
  144. package/lib/component/catalog-search-result-tile/style/material.scss +4 -0
  145. package/lib/component/responsive-text/responsive-text.component.d.ts +4 -0
  146. package/lib/component/responsive-text/responsive-text.module.d.ts +2 -0
  147. package/lib/component/responsive-text/style/_layout.scss +9 -0
  148. package/lib/component/responsive-text/style/_material-definition.scss +0 -0
  149. package/lib/component/responsive-text/style/_theme.scss +4 -0
  150. package/lib/component/responsive-text/style/material.scss +4 -0
  151. package/lib/directive/visibility-observer.module.d.ts +2 -0
  152. package/{app → lib}/model/settings-options.d.ts +2 -0
  153. package/{app/service/i-one-controller.service.d.ts → lib/service/catalog-connector-adapter.service.d.ts} +4 -5
  154. package/lib/service/catalog-connector.service.d.ts +42 -0
  155. package/{app/service/app-event.service.d.ts → lib/service/catalog-event.service.d.ts} +2 -2
  156. package/{app/service/filter.service.d.ts → lib/service/catalog-filter.service.d.ts} +3 -3
  157. package/{app/service/image.service.d.ts → lib/service/catalog-image.service.d.ts} +3 -3
  158. package/{app/service/options.service.d.ts → lib/service/catalog-options.service.d.ts} +3 -3
  159. package/lib/service/catalog-search.service.d.ts +46 -0
  160. package/{app/service/settings.service.d.ts → lib/service/catalog-settings.service.d.ts} +3 -5
  161. package/{app → lib}/service/catalog.service.d.ts +20 -24
  162. package/{app → lib}/service/dictionary.service.d.ts +0 -3
  163. package/lib/style/_mixin.scss +15 -0
  164. package/lib/style/_variables.scss +10 -0
  165. package/lib/style/catalog-globals.scss +3 -0
  166. package/lib/utils/json.utils.d.ts +3 -0
  167. package/package.json +2 -2
  168. package/public_api.d.ts +14 -2
  169. package/app/base/base-component.d.ts +0 -2
  170. package/app/components/catalog/catalog/catalog.component.d.ts +0 -11
  171. package/app/components/catalog/catalog-external/catalog-external.component.d.ts +0 -19
  172. package/app/components/catalog/catalog-filter/catalog-filter.component.d.ts +0 -40
  173. package/app/components/catalog/catalog-home/catalog-home.component.d.ts +0 -15
  174. package/app/components/catalog/catalog-page/catalog-page.component.d.ts +0 -41
  175. package/app/components/catalog/filter-items/filter-items.component.d.ts +0 -20
  176. package/app/components/core/icon-handle/icon-handle.component.d.ts +0 -14
  177. package/app/components/core/label-field/label-field.component.d.ts +0 -4
  178. package/app/components/left-content/left-content.component.d.ts +0 -4
  179. package/app/components/main-content/main-content.component.d.ts +0 -4
  180. package/app/components/navigation/navigation.component.d.ts +0 -29
  181. package/app/components/top-content/top-content.component.d.ts +0 -16
  182. package/app/enum/level-indicator-level.enum.d.ts +0 -5
  183. package/app/interface/filter-item.d.ts +0 -7
  184. package/app/ione-catalog.component.d.ts +0 -46
  185. package/app/ione-catalog.module.d.ts +0 -4
  186. package/app/layout.directive.d.ts +0 -20
  187. package/app/pipe/greater-than-zero.pipe.d.ts +0 -4
  188. package/app/service/app-initializer.service.d.ts +0 -6
  189. package/app/service/navigation.service.d.ts +0 -27
  190. package/app/style/_scrollbars.mixins.scss +0 -18
  191. package/app/style/_variables.scss +0 -17
  192. package/app/style/catalog-globals.scss +0 -94
  193. package/app/utils/json-utils.service.d.ts +0 -3
  194. package/app/utils/string-utils.d.ts +0 -6
  195. package/app/utils/utils.service.d.ts +0 -21
  196. package/esm2015/app/base/base-component.js +0 -3
  197. package/esm2015/app/catalog-version.js +0 -10
  198. package/esm2015/app/components/catalog/article-card/article-card.component.js +0 -137
  199. package/esm2015/app/components/catalog/catalog/catalog.component.js +0 -32
  200. package/esm2015/app/components/catalog/catalog-external/catalog-external.component.js +0 -54
  201. package/esm2015/app/components/catalog/catalog-filter/catalog-filter.component.js +0 -142
  202. package/esm2015/app/components/catalog/catalog-home/catalog-home.component.js +0 -39
  203. package/esm2015/app/components/catalog/catalog-page/catalog-page.component.js +0 -124
  204. package/esm2015/app/components/catalog/filter-items/filter-items.component.js +0 -48
  205. package/esm2015/app/components/core/icon-handle/icon-handle.component.js +0 -32
  206. package/esm2015/app/components/core/label-field/label-field.component.js +0 -18
  207. package/esm2015/app/components/left-content/left-content.component.js +0 -13
  208. package/esm2015/app/components/main-content/main-content.component.js +0 -13
  209. package/esm2015/app/components/navigation/navigation.component.js +0 -94
  210. package/esm2015/app/components/top-content/top-content.component.js +0 -46
  211. package/esm2015/app/directive/visibility-observer-master.directive.js +0 -49
  212. package/esm2015/app/directive/visibility-observer.directive.js +0 -55
  213. package/esm2015/app/enum/icon.enum.js +0 -25
  214. package/esm2015/app/enum/language-code.enum.js +0 -8
  215. package/esm2015/app/enum/level-indicator-level.enum.js +0 -7
  216. package/esm2015/app/interface/filter-item.js +0 -2
  217. package/esm2015/app/interface/order-by.interface.js +0 -2
  218. package/esm2015/app/ione-catalog.component.js +0 -120
  219. package/esm2015/app/ione-catalog.module.js +0 -119
  220. package/esm2015/app/layout.directive.js +0 -68
  221. package/esm2015/app/model/articles-search-result.js +0 -3
  222. package/esm2015/app/model/external-source-viewmodel.js +0 -7
  223. package/esm2015/app/model/filter-item.viewmodel.js +0 -10
  224. package/esm2015/app/model/filter-viewmodel.js +0 -12
  225. package/esm2015/app/model/icon.js +0 -24
  226. package/esm2015/app/model/settings-options.js +0 -18
  227. package/esm2015/app/model/settings.js +0 -10
  228. package/esm2015/app/pipe/greater-than-zero.pipe.js +0 -16
  229. package/esm2015/app/pipe/localize.pipe.js +0 -27
  230. package/esm2015/app/service/app-event.service.js +0 -19
  231. package/esm2015/app/service/app-initializer.service.js +0 -25
  232. package/esm2015/app/service/catalog.service.js +0 -273
  233. package/esm2015/app/service/dictionary.service.js +0 -90
  234. package/esm2015/app/service/filter.service.js +0 -86
  235. package/esm2015/app/service/i-one-controller.service.js +0 -329
  236. package/esm2015/app/service/icon-cache.service.js +0 -35
  237. package/esm2015/app/service/image.service.js +0 -119
  238. package/esm2015/app/service/navigation.service.js +0 -80
  239. package/esm2015/app/service/options.service.js +0 -86
  240. package/esm2015/app/service/settings.service.js +0 -108
  241. package/esm2015/app/utils/json-utils.service.js +0 -26
  242. package/esm2015/app/utils/string-utils.js +0 -37
  243. package/esm2015/app/utils/utils.service.js +0 -111
  244. /package/{app → lib}/catalog-version.d.ts +0 -0
  245. /package/{app → lib}/directive/visibility-observer-master.directive.d.ts +0 -0
  246. /package/{app → lib}/directive/visibility-observer.directive.d.ts +0 -0
  247. /package/{app → lib}/enum/icon.enum.d.ts +0 -0
  248. /package/{app → lib}/enum/language-code.enum.d.ts +0 -0
  249. /package/{app → lib}/interface/order-by.interface.d.ts +0 -0
  250. /package/{app → lib}/model/articles-search-result.d.ts +0 -0
  251. /package/{app → lib}/model/external-source-viewmodel.d.ts +0 -0
  252. /package/{app → lib}/model/filter-item.viewmodel.d.ts +0 -0
  253. /package/{app → lib}/model/filter-viewmodel.d.ts +0 -0
  254. /package/{app → lib}/model/icon.d.ts +0 -0
  255. /package/{app → lib}/model/settings.d.ts +0 -0
  256. /package/{app → lib}/pipe/localize.pipe.d.ts +0 -0
  257. /package/{app → lib}/service/icon-cache.service.d.ts +0 -0
@@ -0,0 +1,4 @@
1
+ @include export-module('co-catalog-search-result-list-theme') {
2
+ .co-catalog-search-result-list {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { CatalogSearchBaseComponent } from '../base/catalog-search-base.component';
3
+ import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
4
+ export declare class CatalogSearchResultTileComponent extends CatalogSearchBaseComponent {
5
+ onLookAtArticleButtonClick: EventEmitter<ArticleExtended>;
6
+ onArButtonClick: EventEmitter<ArticleExtended>;
7
+ onAddArticleButtonClick: EventEmitter<string>;
8
+ onArticleClick: EventEmitter<ArticleExtended>;
9
+ onStockDetailsClick: EventEmitter<ArticleExtended>;
10
+ showClass: boolean;
11
+ smallScrollbar: boolean;
12
+ }
@@ -0,0 +1,2 @@
1
+ export declare class CatalogSearchResultTileModule {
2
+ }
@@ -0,0 +1,16 @@
1
+ @include export-module('co-catalog-search-result-tile-layout') {
2
+ .co-catalog-search-result-tile {
3
+ display: flex;
4
+ flex-direction: column;
5
+ flex-basis: 100%;
6
+ .article-cards {
7
+ display: grid;
8
+ grid-template-columns: repeat(auto-fill,minmax(230px,.5fr));
9
+ grid-gap: 20px;
10
+ gap: 20px;
11
+ //flex-basis: 100%;
12
+ padding: 40px 0;
13
+ z-index: 1;
14
+ }
15
+ }
16
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-catalog-search-result-tile-theme') {
2
+ .co-catalog-search-result-tile {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,4 @@
1
+ export declare class ResponsiveTextComponent {
2
+ text: string;
3
+ showClass(): boolean;
4
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ResponsiveTextModule {
2
+ }
@@ -0,0 +1,9 @@
1
+ @include export-module('co-responsive-text-layout') {
2
+ .co-responsive-text {
3
+ svg {
4
+ display: block;
5
+ height: 100%;
6
+ width: 100%;
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-responsive-text-theme') {
2
+ .co-responsive-text {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,2 @@
1
+ export declare class VisibilityObserverModule {
2
+ }
@@ -13,4 +13,6 @@ export declare class SettingsOptions {
13
13
  collapseFilterByDefault: boolean;
14
14
  sortTurnoverGroupsByAlphabet: boolean;
15
15
  searchOnStart: boolean;
16
+ showFilter: boolean;
17
+ showNavigation: boolean;
16
18
  }
@@ -1,16 +1,15 @@
1
- import { OnDestroy } from '@angular/core';
2
1
  import { BehaviorSubject } from 'rxjs';
2
+ import { Articles } from '@colijnit/articleapi/build/articles';
3
3
  import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
4
+ import { ArticlesSearchResult } from '../model/articles-search-result';
4
5
  import { ArticleCategory } from '@colijnit/articleapi/build/model/article-category';
5
6
  import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
6
- import { ConfiguratorStatisticsEnvironment } from '@colijnit/articleapi/build/model/configurator-statistics-environment';
7
- import { Articles } from '@colijnit/articleapi/build/articles';
8
7
  import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
9
8
  import { ArticleSearchFilterSelections } from '@colijnit/articleapi/build/model/article-search-filter-selections';
10
9
  import { ArticleSearchFilterMaxAndMinPrice } from '@colijnit/articleapi/build/model/article-search-filter-max-and-min-price';
11
10
  import { ArticlePrice } from '@colijnit/articleapi/build/model/article-price';
12
- import { ArticlesSearchResult } from '../model/articles-search-result';
13
- export declare class IOneControllerService implements OnDestroy {
11
+ import { ConfiguratorStatisticsEnvironment } from '@colijnit/articleapi/build/model/configurator-statistics-environment';
12
+ export declare class CatalogConnectorAdapterService {
14
13
  get shouldShowLoader(): boolean;
15
14
  controllerInitialized: BehaviorSubject<boolean>;
16
15
  assetPath: string;
@@ -0,0 +1,42 @@
1
+ import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
2
+ import { ArticleCategory } from '@colijnit/articleapi/build/model/article-category';
3
+ import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
4
+ import { ConfiguratorStatisticsEnvironment } from '@colijnit/articleapi/build/model/configurator-statistics-environment';
5
+ import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
6
+ import { ArticleSearchFilterSelections } from '@colijnit/articleapi/build/model/article-search-filter-selections';
7
+ import { ArticleSearchFilterMaxAndMinPrice } from '@colijnit/articleapi/build/model/article-search-filter-max-and-min-price';
8
+ import { ArticlePrice } from '@colijnit/articleapi/build/model/article-price';
9
+ import { ArticlesSearchResult } from '../model/articles-search-result';
10
+ import { CatalogConnectorAdapterService } from './catalog-connector-adapter.service';
11
+ import { SelectSingleCacheService } from '../cache/service/select-single-cache.service';
12
+ import { SelectMultipleCacheService } from '../cache/service/select-multiple-cache.service';
13
+ import { SelectMultipleParameterizedCacheService } from '../cache/service/select-multiple-parameterized-cache.service';
14
+ import { SelectSingleParameterizedCacheService } from '../cache/service/select-single-parameterized-cache.service';
15
+ export declare class CatalogConnectorService {
16
+ private _adapterService;
17
+ private _selectSingleCacheService;
18
+ private _selectMultipleCacheService;
19
+ private _selectMultipleParameterizedCacheService;
20
+ private _selectSingleParameterizedCacheService;
21
+ private _boFactory;
22
+ constructor(_adapterService: CatalogConnectorAdapterService, _selectSingleCacheService: SelectSingleCacheService, _selectMultipleCacheService: SelectMultipleCacheService, _selectMultipleParameterizedCacheService: SelectMultipleParameterizedCacheService, _selectSingleParameterizedCacheService: SelectSingleParameterizedCacheService);
23
+ initConnector(settings?: any, forceReload?: boolean): Promise<void>;
24
+ getArticlesForCatalog(params: ArticleExtendedRequest, showLoader?: boolean): Promise<ArticlesSearchResult>;
25
+ getArticleCategories(publicationCode: number): Promise<ArticleCategory[]>;
26
+ getCatalogDefinitions(showLoader?: boolean): Promise<CatalogDefinition[]>;
27
+ getExternalSource(externalSourceId: number, showLoader?: boolean): Promise<ExternalSource>;
28
+ getCatalogFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
29
+ getPriceFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterMaxAndMinPrice>;
30
+ getArticleGroupsFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
31
+ getAtmosphereFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
32
+ getColorFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
33
+ getConceptFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
34
+ getDesignFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
35
+ getMainArticleFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
36
+ getMaterialFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
37
+ getTagsFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
38
+ getTurnoverGroupFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
39
+ getArticlePrice(goodId: number, type: string): Promise<ArticlePrice>;
40
+ getDocumentContent(docId: number, thumbnail?: boolean): Promise<string>;
41
+ getJsonArticleFlatTree(goodId: number, goodType: string, quantity: number, showLoader?: boolean, instanceId?: number, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
42
+ }
@@ -1,6 +1,6 @@
1
1
  import { Subject } from 'rxjs';
2
- import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
3
- export declare class AppEventService {
2
+ import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
3
+ export declare class CatalogEventService {
4
4
  lookAtArticleButtonClick: Subject<ArticleExtended>;
5
5
  addArticleButtonClick: Subject<string>;
6
6
  arButtonClick: Subject<ArticleExtended>;
@@ -1,13 +1,13 @@
1
- import { IOneControllerService } from './i-one-controller.service';
1
+ import { CatalogConnectorService } from './catalog-connector.service';
2
2
  import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
3
3
  import { FilterViewmodel } from '../model/filter-viewmodel';
4
- export declare class FilterService {
4
+ export declare class CatalogFilterService {
5
5
  private _iOneController;
6
6
  priceMinFilter: number;
7
7
  priceMaxFilter: number;
8
8
  filters: FilterViewmodel[];
9
9
  readonly filterItemMap: Map<string, string>;
10
- constructor(_iOneController: IOneControllerService);
10
+ constructor(_iOneController: CatalogConnectorService);
11
11
  getFilters(filters: ArticleExtendedRequest): void;
12
12
  getFilterItemMap(key: string): string;
13
13
  }
@@ -1,15 +1,15 @@
1
1
  import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
2
- import { IOneControllerService } from './i-one-controller.service';
2
+ import { CatalogConnectorService } from './catalog-connector.service';
3
3
  import { ArticleCategory } from '@colijnit/articleapi/build/model/article-category';
4
4
  import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-group-image.bo';
5
5
  import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
6
- export declare class ImageService {
6
+ export declare class CatalogImageService {
7
7
  private _iOneController;
8
8
  private _articleImages;
9
9
  private _externalSourceImages;
10
10
  private _categoryImages;
11
11
  private _turnoverGroupImages;
12
- constructor(_iOneController: IOneControllerService);
12
+ constructor(_iOneController: CatalogConnectorService);
13
13
  getExternalSourceImage(catalogDef: CatalogDefinition): void;
14
14
  getCategoryImage(category: ArticleCategory): void;
15
15
  getTurnoverGroupImage(turnoverGroup: TurnoverGroupImage): void;
@@ -1,16 +1,16 @@
1
1
  import { OnDestroy } from '@angular/core';
2
2
  import { BehaviorSubject } from 'rxjs';
3
3
  import { DictionaryService } from './dictionary.service';
4
- import { SettingsService } from './settings.service';
4
+ import { CatalogSettingsService } from './catalog-settings.service';
5
5
  import { ArticleExtendedRequest } from "@colijnit/articleapi/build/model/article-extended-request";
6
- export declare class OptionsService implements OnDestroy {
6
+ export declare class CatalogOptionsService implements OnDestroy {
7
7
  private _dictionary;
8
8
  private _settingsService;
9
9
  parametersSet: BehaviorSubject<boolean>;
10
10
  brandFilter: number[];
11
11
  private _parameters;
12
12
  private _subs;
13
- constructor(_dictionary: DictionaryService, _settingsService: SettingsService);
13
+ constructor(_dictionary: DictionaryService, _settingsService: CatalogSettingsService);
14
14
  ngOnDestroy(): void;
15
15
  get showBrandFilter(): boolean;
16
16
  get collapseFilterByDefault(): boolean;
@@ -0,0 +1,46 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
3
+ import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
4
+ import { CatalogFilterService } from './catalog-filter.service';
5
+ import { CatalogConnectorService } from './catalog-connector.service';
6
+ import { CatalogSettingsService } from './catalog-settings.service';
7
+ import { CatalogOptionsService } from './catalog-options.service';
8
+ import { FilterItemViewmodel } from '../model/filter-item.viewmodel';
9
+ export declare class CatalogSearchService implements OnDestroy {
10
+ private _filterService;
11
+ private _catalogConnectorService;
12
+ private _settingsService;
13
+ private _optionService;
14
+ searchRequest: ArticleExtendedRequest;
15
+ previousSearchRequest: ArticleExtendedRequest;
16
+ showFilterSidebar: boolean;
17
+ searchPlaceholder: string;
18
+ articles: ArticleExtended[];
19
+ set filterText(value: string[]);
20
+ get filterText(): string[];
21
+ set turnoverGroup(value: string);
22
+ get turnoverGroup(): string;
23
+ set category(value: string);
24
+ get category(): string;
25
+ articlesPerPage: number;
26
+ resultCount: number;
27
+ get currentPage(): number;
28
+ set currentPage(value: number);
29
+ private _currentPage;
30
+ private _category;
31
+ private _turnoverGroup;
32
+ private _filterText;
33
+ private _subs;
34
+ constructor(_filterService: CatalogFilterService, _catalogConnectorService: CatalogConnectorService, _settingsService: CatalogSettingsService, _optionService: CatalogOptionsService);
35
+ ngOnDestroy(): void;
36
+ filterOnCollection(collection: FilterItemViewmodel[]): void;
37
+ searchArticles(getFilters?: boolean): void;
38
+ resetFilters(): void;
39
+ private _resetRequest;
40
+ setPreviousSearchRequest(): void;
41
+ isNewGeneralSearch(): boolean;
42
+ toggleFilter(): void;
43
+ handleHideFilter(): void;
44
+ handleResetFilter(): void;
45
+ private _setRequestParametersAndProps;
46
+ }
@@ -1,16 +1,14 @@
1
1
  import { BehaviorSubject } from 'rxjs';
2
2
  import { Settings } from '../model/settings';
3
3
  import { DictionaryService } from './dictionary.service';
4
- import { JsonUtilsService } from '../utils/json-utils.service';
5
- export declare class SettingsService {
4
+ export declare class CatalogSettingsService {
6
5
  private _dictionaryService;
7
- private _jsonUtilsService;
8
6
  set settings(value: Settings);
9
7
  get settings(): Settings;
10
8
  settingsLoaded: BehaviorSubject<boolean>;
11
9
  private _settings;
12
- constructor(_dictionaryService: DictionaryService, _jsonUtilsService: JsonUtilsService);
13
- initializeSettings(): Promise<void>;
10
+ constructor(_dictionaryService: DictionaryService);
11
+ initializeSettings(settings?: any): Promise<void>;
14
12
  createSettingsFromObject(obj: any): Promise<void>;
15
13
  settingsFinished(): Promise<void>;
16
14
  }
@@ -1,31 +1,27 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { IOneControllerService } from './i-one-controller.service';
3
- import { UtilsService } from '../utils/utils.service';
4
- import { OptionsService } from './options.service';
5
- import { BehaviorSubject, Subject } from 'rxjs';
6
- import { OrderByInterface } from '../interface/order-by.interface';
1
+ import { CatalogSettingsService } from './catalog-settings.service';
2
+ import { CatalogConnectorService } from './catalog-connector.service';
7
3
  import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
8
4
  import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
9
- import { ArticleCategory } from '@colijnit/articleapi/build/model/article-category';
10
- import { ImageService } from './image.service';
11
5
  import { ExternalSourceViewmodel } from '../model/external-source-viewmodel';
12
- import { SettingsService } from './settings.service';
13
- import { FilterService } from './filter.service';
14
- import { FilterItemViewmodel } from '../model/filter-item.viewmodel';
15
- export declare class CatalogService implements OnDestroy {
16
- private iOne;
17
- private utils;
6
+ import { BehaviorSubject, Subject } from 'rxjs';
7
+ import { CatalogOptionsService } from './catalog-options.service';
8
+ import { CatalogImageService } from './catalog-image.service';
9
+ import { CatalogFilterService } from './catalog-filter.service';
10
+ import { OrderByInterface } from '../interface/order-by.interface';
11
+ import { ArticleCategory } from '@colijnit/articleapi/build/model/article-category';
12
+ import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-group-image.bo';
13
+ import { CatalogSearchService } from './catalog-search.service';
14
+ import { CatalogConnectorAdapterService } from './catalog-connector-adapter.service';
15
+ export declare class CatalogService {
16
+ protected connector: CatalogConnectorService;
17
+ protected connectorAdapter: CatalogConnectorAdapterService;
18
+ settingsService: CatalogSettingsService;
18
19
  private optionsService;
19
20
  private _imageService;
20
21
  private _settingsService;
21
22
  private _filterService;
23
+ private _catalogSearchService;
22
24
  externalSourceChanged: BehaviorSubject<boolean>;
23
- set filterText(value: string[]);
24
- get filterText(): string[];
25
- set turnoverGroup(value: string);
26
- get turnoverGroup(): string;
27
- set category(value: string);
28
- get category(): string;
29
25
  set externalSourceUrl(url: string);
30
26
  set ioneSourceUrl(url: string);
31
27
  get externalSourceUrl(): string;
@@ -65,19 +61,19 @@ export declare class CatalogService implements OnDestroy {
65
61
  private _subs;
66
62
  private defaultOptions;
67
63
  private _currentOrderBy;
68
- constructor(iOne: IOneControllerService, utils: UtilsService, optionsService: OptionsService, _imageService: ImageService, _settingsService: SettingsService, _filterService: FilterService);
64
+ constructor(connector: CatalogConnectorService, connectorAdapter: CatalogConnectorAdapterService, settingsService: CatalogSettingsService, optionsService: CatalogOptionsService, _imageService: CatalogImageService, _settingsService: CatalogSettingsService, _filterService: CatalogFilterService, _catalogSearchService: CatalogSearchService);
69
65
  ngOnDestroy(): void;
70
- filterOnCollection(collection: FilterItemViewmodel[]): void;
66
+ init(settings: any): Promise<void>;
67
+ getCategories(): Promise<ArticleCategory[]>;
68
+ prepareTurnoverGroupImage(group: TurnoverGroupImage): Promise<void>;
71
69
  changeOrderBy(orderBy: OrderByInterface): void;
72
70
  searchArticles(): Promise<void>;
73
71
  resetFilters(): void;
74
72
  reset(): void;
75
73
  ensureDataListsLoaded(): Promise<void>;
76
74
  doSearchArticles(getFilters?: boolean): Promise<void>;
77
- sortTurnoverGroups(categories: ArticleCategory[]): void;
78
75
  private _sortArticleList;
79
76
  private _sortArticleListByArticleNr;
80
77
  private _sortArticleListByArticleName;
81
78
  private _createDefaultRequest;
82
- private _setRequestParametersAndProps;
83
79
  }
@@ -1,7 +1,5 @@
1
- import { JsonUtilsService } from "../utils/json-utils.service";
2
1
  import { Subject } from "rxjs";
3
2
  export declare class DictionaryService {
4
- private _jsonUtils;
5
3
  private readonly dictionaryUrl;
6
4
  get language(): string;
7
5
  set rootUrl(value: string);
@@ -12,7 +10,6 @@ export declare class DictionaryService {
12
10
  private _dictionaries;
13
11
  private _language;
14
12
  private readonly _placeholder;
15
- constructor(_jsonUtils: JsonUtilsService);
16
13
  getLanguageCode(lc: string): string;
17
14
  setDictionary(language: string, additionalTranslationFile?: string): Promise<void>;
18
15
  /**
@@ -0,0 +1,15 @@
1
+ $css: '' !default;
2
+ $imported-modules: () !default;
3
+
4
+ @mixin export-module($module) {
5
+ @if (index($imported-modules, $module) == null) {
6
+ $imported-modules: append($imported-modules, $module) !global;
7
+ @content;
8
+ }
9
+ }
10
+
11
+ @mixin screen-mobile {
12
+ @media only screen and (max-width: 700px) {
13
+ @content;
14
+ }
15
+ }
@@ -0,0 +1,10 @@
1
+ $ca-font-family: 'Public sans' !default;
2
+ $ca-font-size: 12px !default;
3
+ $ca-font-size-big: 14px !default;
4
+ $ca-filter-panel-width: 320px !default;
5
+ $ca-filter-panel-row-gap: 30px !default;
6
+
7
+ $ca-color-font: #171721 !default;
8
+ $ca-color-action: #1A73E8 !default;
9
+ $ca-color-border: #DCE4EA !default;
10
+ $ca-primary-color-light: #5b6875;
@@ -0,0 +1,3 @@
1
+ @import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@100;200;300;400;500;600;800;900&display=swap');
2
+
3
+ @import "./variables";
@@ -0,0 +1,3 @@
1
+ export declare class JsonUtils {
2
+ static ReadJsonFile(filePath: string): Promise<any>;
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/catalog",
3
- "version": "12.1.24",
3
+ "version": "12.1.26",
4
4
  "license": "MIT",
5
5
  "description": "iOne Catalog module based on Angular 12",
6
6
  "repository": "npm/npm",
@@ -19,7 +19,7 @@
19
19
  "@angular/router": ">=12.2.7",
20
20
  "@colijnit/articleapi": ">=1.0.15",
21
21
  "@colijnit/corecomponents": ">=1.12.0",
22
- "@colijnit/corecomponents_v12": ">=12.0.90",
22
+ "@colijnit/corecomponents_v12": ">=12.0.101",
23
23
  "@colijnit/ioneconnector": ">=2.1.10",
24
24
  "@syncfusion/ej2-angular-buttons": ">=19.3.44",
25
25
  "@syncfusion/ej2-angular-calendars": ">=19.3.44",
package/public_api.d.ts CHANGED
@@ -1,2 +1,14 @@
1
- export * from './app/catalog-version';
2
- export * from './app/ione-catalog.module';
1
+ export * from "./lib/catalog-version";
2
+ export * from "./lib/component/catalog-categories/catalog-categories.module";
3
+ export * from "./lib/component/catalog-filter/catalog-filter.module";
4
+ export * from "./lib/component/catalog-navigation/catalog-navigation.module";
5
+ export * from "./lib/component/catalog-search/catalog-search.module";
6
+ export * from "./lib/component/catalog-article-list/catalog-article-list.module";
7
+ export * from "./lib/component/catalog-article-tile/catalog-article-tile.module";
8
+ export * from "./lib/component/catalog-external-source/catalog-external-source.module";
9
+ export * from "./lib/component/catalog-external-sources/catalog-external-sources.module";
10
+ export * from "./lib/component/catalog-search-header/catalog-search-header.module";
11
+ export * from "./lib/component/catalog-search-result-tile/catalog-search-result-tile.module";
12
+ export * from "./lib/component/catalog-search-result-list/catalog-search-result-list.module";
13
+ export * from "./lib/service/catalog.service";
14
+ export * from "./lib/service/catalog-search.service";
@@ -1,2 +0,0 @@
1
- export declare class BaseComponent {
2
- }
@@ -1,11 +0,0 @@
1
- import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import { CatalogService } from '../../../service/catalog.service';
3
- export declare class CatalogComponent implements OnInit, OnDestroy {
4
- catalog: CatalogService;
5
- layout: {};
6
- containerElement: ElementRef;
7
- private _subs;
8
- constructor(catalog: CatalogService);
9
- ngOnInit(): void;
10
- ngOnDestroy(): void;
11
- }
@@ -1,19 +0,0 @@
1
- import { OnDestroy, OnInit, ChangeDetectorRef, AfterViewInit, Renderer2, ElementRef } from '@angular/core';
2
- import { CatalogService } from '../../../service/catalog.service';
3
- import { AppEventService } from "../../../service/app-event.service";
4
- import { DomSanitizer, SafeUrl } from "@angular/platform-browser";
5
- export declare class CatalogExternalComponent implements OnInit, OnDestroy, AfterViewInit {
6
- catalog: CatalogService;
7
- private _appEventService;
8
- private _sanitizer;
9
- private _ref;
10
- private _renderer;
11
- externalSourceFrame: ElementRef;
12
- layout: {};
13
- private _subs;
14
- constructor(catalog: CatalogService, _appEventService: AppEventService, _sanitizer: DomSanitizer, _ref: ChangeDetectorRef, _renderer: Renderer2);
15
- ngAfterViewInit(): void;
16
- ngOnInit(): void;
17
- ngOnDestroy(): void;
18
- getSafeUrl(): SafeUrl;
19
- }
@@ -1,40 +0,0 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
- import { CatalogService } from '../../../service/catalog.service';
3
- import { IconEnum } from '../../../enum/icon.enum';
4
- import { SliderComponent } from '@colijnit/corecomponents';
5
- import { NumericalRange } from '@colijnit/corecomponents/lib/core/model/numerical-range';
6
- import { IconCacheService } from '../../../service/icon-cache.service';
7
- import { OptionsService } from '../../../service/options.service';
8
- import { FilterService } from '../../../service/filter.service';
9
- import { FilterItemViewmodel } from '../../../model/filter-item.viewmodel';
10
- export declare class CatalogFilterComponent implements OnInit, OnDestroy {
11
- catalog: CatalogService;
12
- filterService: FilterService;
13
- iconCache: IconCacheService;
14
- optionsService: OptionsService;
15
- private changeDetector;
16
- readonly icons: typeof IconEnum;
17
- priceSlider: SliderComponent;
18
- ownClass: boolean;
19
- collapsed: boolean;
20
- private _destroyed;
21
- private _subs;
22
- private _min;
23
- private _max;
24
- constructor(catalog: CatalogService, filterService: FilterService, iconCache: IconCacheService, optionsService: OptionsService, changeDetector: ChangeDetectorRef);
25
- ngOnInit(): void;
26
- ngOnDestroy(): void;
27
- initializePriceFilterMinMax(): void;
28
- resetFilters(event: MouseEvent): void;
29
- onHandleClick(event: MouseEvent): void;
30
- updatePriceInputs(range: NumericalRange): void;
31
- updateSliderRange(): void;
32
- updatePriceFrom(): void;
33
- updatePriceTo(): void;
34
- setPriceMinToDefault(): void;
35
- setPriceMaxToDefault(): void;
36
- filterOnPrice(): void;
37
- handleCollectionChange(collection: FilterItemViewmodel[]): void;
38
- filterOnItem(item: FilterItemViewmodel): void;
39
- private detectChanges;
40
- }
@@ -1,15 +0,0 @@
1
- import { IconEnum } from '../../../enum/icon.enum';
2
- import { IconCacheService } from '../../../service/icon-cache.service';
3
- import { NavigationService } from '../../../service/navigation.service';
4
- import { CatalogService } from "../../../service/catalog.service";
5
- export declare class CatalogHomeComponent {
6
- iconCache: IconCacheService;
7
- navigationService: NavigationService;
8
- catalogService: CatalogService;
9
- readonly icons: typeof IconEnum;
10
- minified: boolean;
11
- constructor(iconCache: IconCacheService, navigationService: NavigationService, catalogService: CatalogService);
12
- onSetCategory(event: any, category: string): void;
13
- onSetTurnoverGroup(event: any, turnoverGroup: string): void;
14
- onOpenExternalCatalog(event: any, webviewUrl: string): void;
15
- }
@@ -1,41 +0,0 @@
1
- import { ChangeDetectorRef, OnDestroy, QueryList } from '@angular/core';
2
- import { CatalogService } from '../../../service/catalog.service';
3
- import { PaginationComponent } from '@colijnit/corecomponents';
4
- import { OptionsService } from '../../../service/options.service';
5
- import { OrderByInterface } from '../../../interface/order-by.interface';
6
- import { NavigationService } from '../../../service/navigation.service';
7
- import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
8
- import { IconCacheService } from "../../../service/icon-cache.service";
9
- import { IconEnum } from "../../../enum/icon.enum";
10
- import { SimpleGridColumnDirective } from "@colijnit/corecomponents_v12";
11
- import { AppEventService } from "../../../service/app-event.service";
12
- export declare class CatalogPageComponent implements OnDestroy {
13
- catalog: CatalogService;
14
- options: OptionsService;
15
- private changeDetector;
16
- navigationService: NavigationService;
17
- iconCache: IconCacheService;
18
- private _appEventService;
19
- pagination: PaginationComponent;
20
- readonly icons: typeof IconEnum;
21
- set content(columnComponents: QueryList<SimpleGridColumnDirective>);
22
- orderByOptions: OrderByInterface[];
23
- orderByOption: OrderByInterface;
24
- extraColumns: SimpleGridColumnDirective[];
25
- get article(): ArticleExtended;
26
- private _article;
27
- private destroyed;
28
- private _subs;
29
- constructor(catalog: CatalogService, options: OptionsService, changeDetector: ChangeDetectorRef, navigationService: NavigationService, iconCache: IconCacheService, _appEventService: AppEventService);
30
- ngOnDestroy(): void;
31
- onArticleCardAdd3DButtonClick(event: MouseEvent, article: ArticleExtended): void;
32
- handleArticleRowClick(event: {}): void;
33
- onPreviousClick(): void;
34
- onNextClick(): void;
35
- onPageClick(pageNr: number): void;
36
- onArticlesPageChange(qty: number): void;
37
- handleOrderBy(orderBy: OrderByInterface): void;
38
- handleViewChange(event: any): void;
39
- private _navigationChanged;
40
- private detectChanges;
41
- }