@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,693 @@
1
+ @include export-module('co-catalog-article-tile-layout') {
2
+ .co-catalog-article-tile {
3
+ font-family: $co-catalog-article-tile-font-family;
4
+ font-size: $co-catalog-article-tile-font-size;
5
+ transition: all 0.14s ease-out;
6
+ border-style: $co-catalog-article-tile-border-style;
7
+ border-width: $co-catalog-article-tile-border-width;
8
+ border-color: $co-catalog-article-tile-border-color;
9
+ padding: $co-catalog-article-tile-padding;
10
+ display: flex;
11
+ flex-direction: column;
12
+ //justify-content: space-between;
13
+ &:hover {
14
+ cursor: pointer;
15
+ border-style: $co-catalog-article-tile-hover-border-style;
16
+ border-width: $co-catalog-article-tile-hover-border-width;
17
+ border-color: $co-catalog-article-tile-hover-border-color;
18
+ .open-icon {
19
+ opacity: 1;
20
+ transition: all .2s ease;
21
+ }
22
+ .extended-shadow-wrapper {
23
+ /*display: flex;*/
24
+ z-index: 1;
25
+ }
26
+ //.card-wrapper {
27
+ // overflow: hidden;
28
+ // flex-shrink: 0;
29
+ //
30
+ //}
31
+ .description-wrapper {
32
+ .main {
33
+ .main-bottom {
34
+ .main-bottom-left {
35
+ .stock {
36
+ text-decoration: underline;
37
+ color: #3E7EFF;
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ .card-wrapper {
45
+ position: relative;
46
+ }
47
+ .article-tile-wrapper {
48
+ display: flex;
49
+ flex-direction: column;
50
+ height: 100%;
51
+ }
52
+ .image {
53
+ display: flex;
54
+ align-items: center;
55
+ justify-content: center;
56
+ overflow: hidden;
57
+ width: 100%;
58
+ height: $co-catalog-article-tile-image-height;
59
+ .co-image {
60
+ height: 100%;
61
+ width: fit-content;
62
+ }
63
+ .no-image-wrapper {
64
+ display: flex;
65
+ flex-direction: column;
66
+ align-items: center;
67
+ justify-content: center;
68
+ opacity: 0.2;
69
+ width: 100%;
70
+ height: 100%;
71
+ .no-image {
72
+ height: 40%;
73
+ width: 40%;
74
+ span {
75
+ font-size: 13px;
76
+ }
77
+ }
78
+ }
79
+ }
80
+ .button-wrapper {
81
+ height: 30px;
82
+ position: absolute;
83
+ left: 0;
84
+ top: 0;
85
+
86
+ ::ng-deep co-icon {
87
+ display: inline-block;
88
+ width: 30px;
89
+ height: 30px;
90
+ }
91
+ }
92
+ .description-wrapper {
93
+ display: flex;
94
+ flex-direction: column;
95
+ flex-basis: 100%;
96
+ justify-content: space-between;
97
+ margin: $co-catalog-article-tile-description-margin;
98
+ .main-bottom {
99
+ display: flex;
100
+ justify-content: space-between;
101
+ align-items: flex-end;
102
+ width: 100%;
103
+ }
104
+
105
+ .on-article-buttons {
106
+ pointer-events: none;
107
+ display: flex;
108
+ flex-direction: column;
109
+ justify-content: flex-end;
110
+ margin: 0 5px 0 0;
111
+ transition: all .2s ease-in-out;
112
+
113
+ > co-button {
114
+ pointer-events: all;
115
+ padding: 0 !important;
116
+ font-size: 0;
117
+ width: 42px;
118
+ height: 42px;
119
+ text-align: center;
120
+ margin: 0;
121
+ border-radius: 100%;
122
+ background: #3E7EFF;
123
+ cursor: pointer;
124
+ place-content: center;
125
+
126
+ &:hover {
127
+ opacity: 0.8;
128
+ }
129
+
130
+ ::ng-deep co-icon {
131
+ width: 34px;
132
+ height: 34px;
133
+ }
134
+ }
135
+ }
136
+
137
+ //.main {
138
+ // padding: 0;
139
+ // width: 100%;
140
+
141
+ .turnover {
142
+ font-size: 12px;
143
+ color: $ca-primary-color-light;
144
+ margin: 0;
145
+ }
146
+
147
+ .added-description {
148
+ font-size: 11px;
149
+ height: 20px;
150
+ text-overflow: ellipsis;
151
+ white-space: nowrap;
152
+ overflow: hidden;
153
+ -moz-hyphens: auto;
154
+ -ms-hyphens: auto;
155
+ -webkit-hyphens: auto;
156
+ display: block;
157
+ hyphens: auto;
158
+ width: 100%;
159
+ margin: 5px 0;
160
+ word-wrap: break-word;
161
+ }
162
+
163
+ .description {
164
+ font-size: 14px;
165
+ font-weight: bold;
166
+ color: #000;
167
+ margin: 10px 0 5px;
168
+ text-overflow: ellipsis;
169
+ white-space: nowrap;
170
+ overflow: hidden;
171
+ -moz-hyphens: auto;
172
+ -ms-hyphens: auto;
173
+ -webkit-hyphens: auto;
174
+ hyphens: auto;
175
+ }
176
+
177
+ .delivery {
178
+ font-size: 12px;
179
+ font-weight: bold;
180
+ margin: 20px 0 0;
181
+ display: flex;
182
+ align-items: flex-start;
183
+ justify-content: center;
184
+ flex-direction: column;
185
+ color: $ca-primary-color-light;
186
+
187
+ ::ng-deep co-level-indicator {
188
+ height: 30px;
189
+
190
+ > div {
191
+ justify-content: start;
192
+
193
+ div[class*="square-"] {
194
+ background: $co-catalog-article-tile-border-color;
195
+ width: 14px;
196
+ height: 14px;
197
+ margin: 0 3px 0 0;
198
+ }
199
+ }
200
+ }
201
+
202
+ }
203
+
204
+ .price {
205
+ font-size: 16px;
206
+ margin: 10px 0 10px 0;
207
+ color: #404040;
208
+ font-weight: 500;
209
+ letter-spacing: -0.5px;
210
+ }
211
+
212
+ .stock {
213
+ color: #32a545;
214
+ font-size: 11px;
215
+ font-weight: 500;
216
+ }
217
+
218
+ .stock.not-in-stock {
219
+ color: #5b6875;
220
+ }
221
+
222
+ .sku {
223
+ font-size: 11px;
224
+ color: #5b6875;
225
+ margin: 5px 0 5px;
226
+ text-transform: lowercase;
227
+ }
228
+ //}
229
+ }
230
+
231
+ //div.image {
232
+ // position: relative;
233
+ // padding: 1px;
234
+ // display: flex;
235
+ // align-items: center;
236
+ // justify-content: center;
237
+ // overflow: hidden;
238
+ // max-width: 190px;
239
+ // margin: 0 auto;
240
+ //
241
+ // &:after {
242
+ // content: '';
243
+ // padding: 100% 0 0;
244
+ // float: left;
245
+ // width: 100%;
246
+ // }
247
+ //
248
+ // ::ng-deep co-image {
249
+ // position: absolute;
250
+ // left: 0;
251
+ // top: 0;
252
+ // overflow: hidden;
253
+ // width: 100%;
254
+ // height: 100%;
255
+ // object-fit: contain;
256
+ // z-index: -1;
257
+ // transition: all .2s ease;
258
+ //
259
+ // img {
260
+ // position: absolute;
261
+ // width: auto;
262
+ // height: auto;
263
+ // top: 50%;
264
+ // left: 50%;
265
+ // transform: translate(-50%, -50%);
266
+ // }
267
+ // }
268
+ //}
269
+
270
+ /*
271
+ &.list-card {
272
+ .list-wrapper {
273
+ .card-wrapper {
274
+ display: flex;
275
+ flex-direction: row;
276
+ align-items: center;
277
+
278
+ .left {
279
+ min-width: 200px;
280
+ }
281
+
282
+ .right {
283
+ display: flex;
284
+ flex-direction: column;
285
+ justify-content: center;
286
+
287
+ .on-article-buttons {
288
+ pointer-events: none;
289
+ display: flex;
290
+ flex-direction: column;
291
+ justify-content: flex-end;
292
+ margin: 15px 0;
293
+ transition: all .2s ease-in-out;
294
+
295
+ > co-button {
296
+ pointer-events: all;
297
+ padding: 0 15px !important;
298
+ width: 150px;
299
+ height: 42px;
300
+ text-align: center;
301
+ margin: 0;
302
+ gap: 10px;
303
+ border-radius: 5px;
304
+ background: #3E7EFF;
305
+ cursor: pointer;
306
+ justify-content: flex-start;
307
+
308
+ &:hover {
309
+ opacity: 0.8;
310
+ }
311
+
312
+ ::ng-deep co-icon {
313
+ width: 34px;
314
+ height: 34px;
315
+ }
316
+ }
317
+ }
318
+
319
+ .price {
320
+ font-size: 18px;
321
+ color: #404040;
322
+ font-weight: 500;
323
+ letter-spacing: -0.5px;
324
+ }
325
+
326
+ .stock {
327
+ color: #32a545;
328
+ font-size: 12px;
329
+ font-weight: 500;
330
+ text-decoration: underline;
331
+ margin-top: 5px;
332
+ }
333
+
334
+ .stock.not-in-stock {
335
+ color: #5b6875;
336
+ }
337
+ }
338
+
339
+ .description-wrapper {
340
+ .main-bottom {
341
+ .description {
342
+ span {
343
+ display: block;
344
+
345
+ &.label {
346
+ font-size: 11px;
347
+ color: #5b6875;
348
+ margin: 5px 0;
349
+ font-weight: normal;
350
+ }
351
+
352
+ &.text {
353
+ font-weight: normal;
354
+ font-size: 12px;
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
363
+ }
364
+
365
+ .extended-shadow-wrapper {
366
+ display: none;
367
+ position: absolute;
368
+ padding: 20px 20px 40px 20px;
369
+ top: calc(100% - 2px);
370
+ width: calc(100% - 40px);
371
+ background-color: #fafafa;
372
+ box-shadow: 0px 0px 13px -2px rgba(0, 0, 0, 0.2);
373
+
374
+ .extended {
375
+ display: grid;
376
+ grid-template-columns: 50% 50%;
377
+ grid-row-gap: 10px;
378
+ grid-column-gap: 15px;
379
+
380
+ app-label-field:nth-child(odd):not(:last-child) {
381
+ border-right: 1px solid $co-catalog-article-tile-border-color;
382
+ }
383
+ }
384
+ }
385
+
386
+ .no-image-wrapper {
387
+ //position: absolute;
388
+ //display: flex;
389
+ //left: 50%;
390
+ //top: 50%;
391
+ //margin: -48px 0 0 -40px;
392
+ //flex-direction: column;
393
+ //align-items: center;
394
+ //opacity: 0.25;
395
+ //
396
+ //.no-image {
397
+ // height: 80px;
398
+ // width: 80px;
399
+ //}
400
+ //
401
+ //span {
402
+ // font-size: 13px;
403
+ //}
404
+ }
405
+
406
+ .right-aligned {
407
+ //margin-left: auto;
408
+ //display: flex;
409
+ //align-items: center;
410
+ }
411
+
412
+ .card-wrapper {
413
+ //overflow: hidden;
414
+ //flex-shrink: 0;
415
+ //
416
+ //.top {
417
+ // height: 50px;
418
+ // position: absolute;
419
+ // left: 0;
420
+ // top: 0;
421
+ //}
422
+ //
423
+ //.button-wrapper {
424
+ // height: 30px;
425
+ // position: absolute;
426
+ // left: 0;
427
+ // top: 0;
428
+ //
429
+ // ::ng-deep co-icon {
430
+ // display: inline-block;
431
+ // width: 30px;
432
+ // height: 30px;
433
+ // }
434
+ //}
435
+ //
436
+ }
437
+
438
+ .description-wrapper {
439
+ display: flex;
440
+ flex-shrink: 1;
441
+ flex-grow: 1;
442
+ justify-content: space-between;
443
+ min-height: 40px;
444
+ padding: 15px 0 15px;
445
+ z-index: 9;
446
+ align-items: flex-start;
447
+
448
+ .main-bottom {
449
+ display: flex;
450
+ justify-content: space-between;
451
+ }
452
+
453
+ .on-article-buttons {
454
+ pointer-events: none;
455
+ display: flex;
456
+ flex-direction: column;
457
+ justify-content: flex-end;
458
+ margin: 0 5px 0 0;
459
+ transition: all .2s ease-in-out;
460
+
461
+ > co-button {
462
+ pointer-events: all;
463
+ padding: 0 !important;
464
+ font-size: 0;
465
+ width: 42px;
466
+ height: 42px;
467
+ text-align: center;
468
+ margin: 0;
469
+ border-radius: 100%;
470
+ background: #3E7EFF;
471
+ cursor: pointer;
472
+ place-content: center;
473
+
474
+ &:hover {
475
+ opacity: 0.8;
476
+ }
477
+
478
+ ::ng-deep co-icon {
479
+ width: 34px;
480
+ height: 34px;
481
+ }
482
+ }
483
+ }
484
+
485
+ .main {
486
+ padding: 0;
487
+ width: 100%;
488
+
489
+ .turnover {
490
+ font-size: 12px;
491
+ color: $ca-primary-color-light;
492
+ margin: 0;
493
+ }
494
+
495
+ .added-description {
496
+ font-size: 11px;
497
+ height: 20px;
498
+ text-overflow: ellipsis;
499
+ white-space: nowrap;
500
+ overflow: hidden;
501
+ -moz-hyphens: auto;
502
+ -ms-hyphens: auto;
503
+ -webkit-hyphens: auto;
504
+ display: block;
505
+ hyphens: auto;
506
+ width: 100%;
507
+ margin: 5px 0;
508
+ word-wrap: break-word;
509
+ }
510
+
511
+ .description {
512
+ font-size: 14px;
513
+ font-weight: bold;
514
+ color: #000;
515
+ margin: 10px 0 5px;
516
+ text-overflow: ellipsis;
517
+ white-space: nowrap;
518
+ overflow: hidden;
519
+ -moz-hyphens: auto;
520
+ -ms-hyphens: auto;
521
+ -webkit-hyphens: auto;
522
+ hyphens: auto;
523
+ }
524
+
525
+ .delivery {
526
+ font-size: 12px;
527
+ font-weight: bold;
528
+ margin: 20px 0 0;
529
+ display: flex;
530
+ align-items: flex-start;
531
+ justify-content: center;
532
+ flex-direction: column;
533
+ color: $ca-primary-color-light;
534
+
535
+ ::ng-deep co-level-indicator {
536
+ height: 30px;
537
+
538
+ > div {
539
+ justify-content: start;
540
+
541
+ div[class*="square-"] {
542
+ background: $co-catalog-article-tile-border-color;
543
+ width: 14px;
544
+ height: 14px;
545
+ margin: 0 3px 0 0;
546
+ }
547
+ }
548
+ }
549
+
550
+ }
551
+
552
+ .price {
553
+ font-size: 16px;
554
+ margin: 10px 0 10px 0;
555
+ color: #404040;
556
+ font-weight: 500;
557
+ letter-spacing: -0.5px;
558
+ }
559
+
560
+ .stock {
561
+ color: #32a545;
562
+ font-size: 11px;
563
+ font-weight: 500;
564
+ }
565
+
566
+ .stock.not-in-stock {
567
+ color: #5b6875;
568
+ }
569
+
570
+ .sku {
571
+ font-size: 11px;
572
+ color: #5b6875;
573
+ margin: 5px 0 5px;
574
+ text-transform: lowercase;
575
+ }
576
+ }
577
+ }
578
+
579
+ :host:hover co-button.magnify {
580
+ visibility: visible;
581
+ }
582
+
583
+ div.image {
584
+ position: relative;
585
+ padding: 1px;
586
+ display: flex;
587
+ align-items: center;
588
+ justify-content: center;
589
+ overflow: hidden;
590
+ max-width: 190px;
591
+ margin: 0 auto;
592
+
593
+ &:after {
594
+ content: '';
595
+ padding: 100% 0 0;
596
+ float: left;
597
+ width: 100%;
598
+ }
599
+
600
+ co-image ::ng-deep {
601
+ position: absolute;
602
+ left: 0;
603
+ top: 0;
604
+ overflow: hidden;
605
+ width: 100%;
606
+ height: 100%;
607
+ object-fit: contain;
608
+ z-index: -1;
609
+ transition: all .2s ease;
610
+
611
+ img {
612
+ position: absolute;
613
+ width: auto;
614
+ height: auto;
615
+ top: 50%;
616
+ left: 50%;
617
+ transform: translate(-50%, -50%);
618
+ }
619
+ }
620
+ }
621
+
622
+ co-button.magnify {
623
+ position: absolute;
624
+ visibility: hidden;
625
+ top: 1px;
626
+ left: 1px;
627
+ z-index: 2; !* above co-icon.check *!
628
+ }
629
+
630
+ co-button.magnify ::ng-deep svg {
631
+ transform: scale(1.5);
632
+ }
633
+
634
+ co-button.info {
635
+ position: absolute;
636
+ bottom: 71px;
637
+ right: 1px;
638
+ }
639
+
640
+ co-level-indicator {
641
+ margin-right: 5px;
642
+ }
643
+
644
+ .stock-row {
645
+ display: inline;
646
+ }
647
+
648
+ .stock-details {
649
+ margin-left: 30px;
650
+ color: $ca-color-action;
651
+ }
652
+ */
653
+
654
+ @media screen and (max-width: 860px) {
655
+ //.description-wrapper {
656
+ // display: flex;
657
+ // flex-shrink: 1;
658
+ // flex-grow: 1;
659
+ // flex-direction: column;
660
+ // min-height: 40px;
661
+ // padding: 15px 0 15px;
662
+ // z-index: -1;
663
+ //
664
+ // .main {
665
+ // padding: 0 10px;
666
+ //
667
+ // .brand {
668
+ // font-size: 11px;
669
+ // }
670
+ //
671
+ // .description {
672
+ // font-size: 13px;
673
+ // }
674
+ //
675
+ // .delivery {
676
+ // font-size: 12px;
677
+ //
678
+ // co-icon {
679
+ // width: 24px;
680
+ // height: 24px;
681
+ // margin: 0 10px 0 0;
682
+ // }
683
+ // }
684
+ //
685
+ // .price {
686
+ // font-size: 14px;
687
+ // margin: 10px 0 0;
688
+ // }
689
+ //
690
+ // }
691
+ }
692
+ }
693
+ }
@@ -0,0 +1,11 @@
1
+ $co-catalog-article-tile-font-family: $ca-font-family !default;
2
+ $co-catalog-article-tile-font-size: $ca-font-size !default;
3
+ $co-catalog-article-tile-padding: 10px 20px !default;
4
+ $co-catalog-article-tile-border-style: solid !default;
5
+ $co-catalog-article-tile-border-width: 1px !default;
6
+ $co-catalog-article-tile-border-color: transparent transparent $ca-color-border transparent !default;
7
+ $co-catalog-article-tile-hover-border-style: solid !default;
8
+ $co-catalog-article-tile-hover-border-width: 1px !default;
9
+ $co-catalog-article-tile-hover-border-color: $ca-color-border !default;
10
+ $co-catalog-article-tile-image-height: 150px !default;
11
+ $co-catalog-article-tile-description-margin: 10px 0 0 0 !default;
@@ -0,0 +1,4 @@
1
+ @include export-module('co-catalog-article-tile-theme') {
2
+ .co-catalog-article-tile {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";