@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.
- package/README.md +10 -14
- package/bundles/colijnit-catalog.umd.js +2292 -1711
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.d.ts +34 -33
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/colijnit-catalog.js +35 -34
- package/esm2015/lib/cache/cache-field.js +75 -0
- package/esm2015/lib/cache/parameter-cache-field.js +54 -0
- package/esm2015/lib/cache/service/business-object-cache-manager.service.js +150 -0
- package/esm2015/lib/cache/service/select-multiple-cache.service.js +38 -0
- package/esm2015/lib/cache/service/select-multiple-parameterized-cache.service.js +47 -0
- package/esm2015/lib/cache/service/select-single-cache.service.js +30 -0
- package/esm2015/lib/cache/service/select-single-parameterized-cache.service.js +47 -0
- package/esm2015/lib/catalog-version.js +10 -0
- package/esm2015/lib/component/base/article-base.component.js +152 -0
- package/esm2015/lib/component/base/catalog-search-base.component.js +23 -0
- package/esm2015/lib/component/catalog-article-list/catalog-article-list.component.js +86 -0
- package/esm2015/lib/component/catalog-article-list/catalog-article-list.module.js +26 -0
- package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.component.js +75 -0
- package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.module.js +27 -0
- package/esm2015/lib/component/catalog-categories/catalog-categories.component.js +92 -0
- package/esm2015/lib/component/catalog-categories/catalog-categories.module.js +26 -0
- package/esm2015/lib/component/catalog-external-source/catalog-external-source.component.js +57 -0
- package/esm2015/lib/component/catalog-external-source/catalog-external-source.module.js +19 -0
- package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.component.js +52 -0
- package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.module.js +25 -0
- package/esm2015/lib/component/catalog-filter/catalog-filter.component.js +190 -0
- package/esm2015/lib/component/catalog-filter/catalog-filter.module.js +29 -0
- package/esm2015/lib/component/catalog-navigation/catalog-navigation.component.js +200 -0
- package/esm2015/lib/component/catalog-navigation/catalog-navigation.module.js +27 -0
- package/esm2015/lib/component/catalog-search/catalog-search.component.js +106 -0
- package/esm2015/lib/component/catalog-search/catalog-search.module.js +33 -0
- package/esm2015/lib/component/catalog-search-header/catalog-search-header.component.js +36 -0
- package/esm2015/lib/component/catalog-search-header/catalog-search-header.module.js +21 -0
- package/esm2015/lib/component/catalog-search-result-list/catalog-search-result-list.component.js +44 -0
- package/esm2015/lib/component/catalog-search-result-list/catalog-search-result-list.module.js +27 -0
- package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.js +62 -0
- package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.module.js +27 -0
- package/esm2015/lib/component/responsive-text/responsive-text.component.js +24 -0
- package/esm2015/lib/component/responsive-text/responsive-text.module.js +19 -0
- package/esm2015/lib/directive/visibility-observer-master.directive.js +49 -0
- package/esm2015/lib/directive/visibility-observer.directive.js +55 -0
- package/esm2015/lib/directive/visibility-observer.module.js +18 -0
- package/esm2015/lib/enum/icon.enum.js +25 -0
- package/esm2015/lib/enum/language-code.enum.js +8 -0
- package/esm2015/lib/interface/order-by.interface.js +2 -0
- package/esm2015/lib/model/articles-search-result.js +3 -0
- package/esm2015/lib/model/external-source-viewmodel.js +7 -0
- package/esm2015/lib/model/filter-item.viewmodel.js +10 -0
- package/esm2015/lib/model/filter-viewmodel.js +12 -0
- package/esm2015/lib/model/icon.js +24 -0
- package/esm2015/lib/model/settings-options.js +20 -0
- package/esm2015/lib/model/settings.js +10 -0
- package/esm2015/lib/pipe/localize.pipe.js +27 -0
- package/esm2015/lib/service/catalog-connector-adapter.service.js +332 -0
- package/esm2015/lib/service/catalog-connector.service.js +142 -0
- package/esm2015/lib/service/catalog-event.service.js +19 -0
- package/esm2015/lib/service/catalog-filter.service.js +91 -0
- package/esm2015/lib/service/catalog-image.service.js +124 -0
- package/esm2015/lib/service/catalog-options.service.js +92 -0
- package/esm2015/lib/service/catalog-search.service.js +167 -0
- package/esm2015/lib/service/catalog-settings.service.js +111 -0
- package/esm2015/lib/service/catalog.service.js +305 -0
- package/esm2015/lib/service/dictionary.service.js +90 -0
- package/esm2015/lib/service/icon-cache.service.js +40 -0
- package/esm2015/lib/utils/json.utils.js +22 -0
- package/esm2015/public_api.js +15 -3
- package/fesm2015/colijnit-catalog.js +2264 -1382
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/cache/cache-field.d.ts +25 -0
- package/lib/cache/parameter-cache-field.d.ts +11 -0
- package/lib/cache/service/business-object-cache-manager.service.d.ts +58 -0
- package/lib/cache/service/select-multiple-cache.service.d.ts +15 -0
- package/lib/cache/service/select-multiple-parameterized-cache.service.d.ts +19 -0
- package/lib/cache/service/select-single-cache.service.d.ts +12 -0
- package/lib/cache/service/select-single-parameterized-cache.service.d.ts +18 -0
- package/{app/components/catalog/article-card/article-card.component.d.ts → lib/component/base/article-base.component.d.ts} +20 -16
- package/lib/component/base/catalog-search-base.component.d.ts +8 -0
- package/lib/component/catalog-article-list/catalog-article-list.component.d.ts +4 -0
- package/lib/component/catalog-article-list/catalog-article-list.module.d.ts +2 -0
- package/lib/component/catalog-article-list/style/_layout.scss +463 -0
- package/lib/component/catalog-article-list/style/_material-definition.scss +9 -0
- package/lib/component/catalog-article-list/style/_theme.scss +4 -0
- package/lib/component/catalog-article-list/style/material.scss +4 -0
- package/lib/component/catalog-article-tile/catalog-article-tile.component.d.ts +4 -0
- package/lib/component/catalog-article-tile/catalog-article-tile.module.d.ts +2 -0
- package/lib/component/catalog-article-tile/style/_layout.scss +693 -0
- package/lib/component/catalog-article-tile/style/_material-definition.scss +11 -0
- package/lib/component/catalog-article-tile/style/_theme.scss +4 -0
- package/lib/component/catalog-article-tile/style/material.scss +4 -0
- package/lib/component/catalog-categories/catalog-categories.component.d.ts +19 -0
- package/lib/component/catalog-categories/catalog-categories.module.d.ts +2 -0
- package/lib/component/catalog-categories/style/_layout.scss +109 -0
- package/lib/component/catalog-categories/style/_material-definition.scss +29 -0
- package/lib/component/catalog-categories/style/_theme.scss +14 -0
- package/lib/component/catalog-categories/style/material.scss +5 -0
- package/lib/component/catalog-external-source/catalog-external-source.component.d.ts +18 -0
- package/lib/component/catalog-external-source/catalog-external-source.module.d.ts +2 -0
- package/lib/component/catalog-external-source/style/_layout.scss +51 -0
- package/lib/component/catalog-external-source/style/_material-definition.scss +0 -0
- package/lib/component/catalog-external-source/style/_theme.scss +4 -0
- package/lib/component/catalog-external-source/style/material.scss +4 -0
- package/lib/component/catalog-external-sources/catalog-external-sources.component.d.ts +12 -0
- package/lib/component/catalog-external-sources/catalog-external-sources.module.d.ts +2 -0
- package/lib/component/catalog-external-sources/style/_layout.scss +63 -0
- package/lib/component/catalog-external-sources/style/_material-definition.scss +18 -0
- package/lib/component/catalog-external-sources/style/_theme.scss +12 -0
- package/lib/component/catalog-external-sources/style/material.scss +5 -0
- package/lib/component/catalog-filter/catalog-filter.component.d.ts +40 -0
- package/lib/component/catalog-filter/catalog-filter.module.d.ts +2 -0
- package/lib/component/catalog-filter/style/_layout.scss +52 -0
- package/lib/component/catalog-filter/style/_material-definition.scss +8 -0
- package/lib/component/catalog-filter/style/_theme.scss +17 -0
- package/lib/component/catalog-filter/style/material.scss +4 -0
- package/lib/component/catalog-navigation/catalog-navigation.component.d.ts +51 -0
- package/lib/component/catalog-navigation/catalog-navigation.module.d.ts +2 -0
- package/lib/component/catalog-navigation/style/_layout.scss +515 -0
- package/lib/component/catalog-navigation/style/_material-definition.scss +21 -0
- package/lib/component/catalog-navigation/style/_theme.scss +4 -0
- package/lib/component/catalog-navigation/style/material.scss +4 -0
- package/lib/component/catalog-search/catalog-search.component.d.ts +25 -0
- package/lib/component/catalog-search/catalog-search.module.d.ts +2 -0
- package/lib/component/catalog-search/style/_layout.scss +30 -0
- package/lib/component/catalog-search/style/_material-definition.scss +2 -0
- package/lib/component/catalog-search/style/_theme.scss +4 -0
- package/lib/component/catalog-search/style/material.scss +4 -0
- package/lib/component/catalog-search-header/catalog-search-header.component.d.ts +7 -0
- package/lib/component/catalog-search-header/catalog-search-header.module.d.ts +2 -0
- package/lib/component/catalog-search-header/style/_layout.scss +12 -0
- package/lib/component/catalog-search-header/style/_material-definition.scss +4 -0
- package/lib/component/catalog-search-header/style/_theme.scss +4 -0
- package/lib/component/catalog-search-header/style/material.scss +4 -0
- package/lib/component/catalog-search-result-list/catalog-search-result-list.component.d.ts +4 -0
- package/lib/component/catalog-search-result-list/catalog-search-result-list.module.d.ts +2 -0
- package/lib/component/catalog-search-result-list/style/_layout.scss +4 -0
- package/lib/component/catalog-search-result-list/style/_material-definition.scss +0 -0
- package/lib/component/catalog-search-result-list/style/_theme.scss +4 -0
- package/lib/component/catalog-search-result-list/style/material.scss +4 -0
- package/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.d.ts +12 -0
- package/lib/component/catalog-search-result-tile/catalog-search-result-tile.module.d.ts +2 -0
- package/lib/component/catalog-search-result-tile/style/_layout.scss +16 -0
- package/lib/component/catalog-search-result-tile/style/_material-definition.scss +0 -0
- package/lib/component/catalog-search-result-tile/style/_theme.scss +4 -0
- package/lib/component/catalog-search-result-tile/style/material.scss +4 -0
- package/lib/component/responsive-text/responsive-text.component.d.ts +4 -0
- package/lib/component/responsive-text/responsive-text.module.d.ts +2 -0
- package/lib/component/responsive-text/style/_layout.scss +9 -0
- package/lib/component/responsive-text/style/_material-definition.scss +0 -0
- package/lib/component/responsive-text/style/_theme.scss +4 -0
- package/lib/component/responsive-text/style/material.scss +4 -0
- package/lib/directive/visibility-observer.module.d.ts +2 -0
- package/{app → lib}/model/settings-options.d.ts +2 -0
- package/{app/service/i-one-controller.service.d.ts → lib/service/catalog-connector-adapter.service.d.ts} +4 -5
- package/lib/service/catalog-connector.service.d.ts +42 -0
- package/{app/service/app-event.service.d.ts → lib/service/catalog-event.service.d.ts} +2 -2
- package/{app/service/filter.service.d.ts → lib/service/catalog-filter.service.d.ts} +3 -3
- package/{app/service/image.service.d.ts → lib/service/catalog-image.service.d.ts} +3 -3
- package/{app/service/options.service.d.ts → lib/service/catalog-options.service.d.ts} +3 -3
- package/lib/service/catalog-search.service.d.ts +46 -0
- package/{app/service/settings.service.d.ts → lib/service/catalog-settings.service.d.ts} +3 -5
- package/{app → lib}/service/catalog.service.d.ts +20 -24
- package/{app → lib}/service/dictionary.service.d.ts +0 -3
- package/lib/style/_mixin.scss +15 -0
- package/lib/style/_variables.scss +10 -0
- package/lib/style/catalog-globals.scss +3 -0
- package/lib/utils/json.utils.d.ts +3 -0
- package/package.json +2 -2
- package/public_api.d.ts +14 -2
- package/app/base/base-component.d.ts +0 -2
- package/app/components/catalog/catalog/catalog.component.d.ts +0 -11
- package/app/components/catalog/catalog-external/catalog-external.component.d.ts +0 -19
- package/app/components/catalog/catalog-filter/catalog-filter.component.d.ts +0 -40
- package/app/components/catalog/catalog-home/catalog-home.component.d.ts +0 -15
- package/app/components/catalog/catalog-page/catalog-page.component.d.ts +0 -41
- package/app/components/catalog/filter-items/filter-items.component.d.ts +0 -20
- package/app/components/core/icon-handle/icon-handle.component.d.ts +0 -14
- package/app/components/core/label-field/label-field.component.d.ts +0 -4
- package/app/components/left-content/left-content.component.d.ts +0 -4
- package/app/components/main-content/main-content.component.d.ts +0 -4
- package/app/components/navigation/navigation.component.d.ts +0 -29
- package/app/components/top-content/top-content.component.d.ts +0 -16
- package/app/enum/level-indicator-level.enum.d.ts +0 -5
- package/app/interface/filter-item.d.ts +0 -7
- package/app/ione-catalog.component.d.ts +0 -46
- package/app/ione-catalog.module.d.ts +0 -4
- package/app/layout.directive.d.ts +0 -20
- package/app/pipe/greater-than-zero.pipe.d.ts +0 -4
- package/app/service/app-initializer.service.d.ts +0 -6
- package/app/service/navigation.service.d.ts +0 -27
- package/app/style/_scrollbars.mixins.scss +0 -18
- package/app/style/_variables.scss +0 -17
- package/app/style/catalog-globals.scss +0 -94
- package/app/utils/json-utils.service.d.ts +0 -3
- package/app/utils/string-utils.d.ts +0 -6
- package/app/utils/utils.service.d.ts +0 -21
- package/esm2015/app/base/base-component.js +0 -3
- package/esm2015/app/catalog-version.js +0 -10
- package/esm2015/app/components/catalog/article-card/article-card.component.js +0 -137
- package/esm2015/app/components/catalog/catalog/catalog.component.js +0 -32
- package/esm2015/app/components/catalog/catalog-external/catalog-external.component.js +0 -54
- package/esm2015/app/components/catalog/catalog-filter/catalog-filter.component.js +0 -142
- package/esm2015/app/components/catalog/catalog-home/catalog-home.component.js +0 -39
- package/esm2015/app/components/catalog/catalog-page/catalog-page.component.js +0 -124
- package/esm2015/app/components/catalog/filter-items/filter-items.component.js +0 -48
- package/esm2015/app/components/core/icon-handle/icon-handle.component.js +0 -32
- package/esm2015/app/components/core/label-field/label-field.component.js +0 -18
- package/esm2015/app/components/left-content/left-content.component.js +0 -13
- package/esm2015/app/components/main-content/main-content.component.js +0 -13
- package/esm2015/app/components/navigation/navigation.component.js +0 -94
- package/esm2015/app/components/top-content/top-content.component.js +0 -46
- package/esm2015/app/directive/visibility-observer-master.directive.js +0 -49
- package/esm2015/app/directive/visibility-observer.directive.js +0 -55
- package/esm2015/app/enum/icon.enum.js +0 -25
- package/esm2015/app/enum/language-code.enum.js +0 -8
- package/esm2015/app/enum/level-indicator-level.enum.js +0 -7
- package/esm2015/app/interface/filter-item.js +0 -2
- package/esm2015/app/interface/order-by.interface.js +0 -2
- package/esm2015/app/ione-catalog.component.js +0 -120
- package/esm2015/app/ione-catalog.module.js +0 -119
- package/esm2015/app/layout.directive.js +0 -68
- package/esm2015/app/model/articles-search-result.js +0 -3
- package/esm2015/app/model/external-source-viewmodel.js +0 -7
- package/esm2015/app/model/filter-item.viewmodel.js +0 -10
- package/esm2015/app/model/filter-viewmodel.js +0 -12
- package/esm2015/app/model/icon.js +0 -24
- package/esm2015/app/model/settings-options.js +0 -18
- package/esm2015/app/model/settings.js +0 -10
- package/esm2015/app/pipe/greater-than-zero.pipe.js +0 -16
- package/esm2015/app/pipe/localize.pipe.js +0 -27
- package/esm2015/app/service/app-event.service.js +0 -19
- package/esm2015/app/service/app-initializer.service.js +0 -25
- package/esm2015/app/service/catalog.service.js +0 -273
- package/esm2015/app/service/dictionary.service.js +0 -90
- package/esm2015/app/service/filter.service.js +0 -86
- package/esm2015/app/service/i-one-controller.service.js +0 -329
- package/esm2015/app/service/icon-cache.service.js +0 -35
- package/esm2015/app/service/image.service.js +0 -119
- package/esm2015/app/service/navigation.service.js +0 -80
- package/esm2015/app/service/options.service.js +0 -86
- package/esm2015/app/service/settings.service.js +0 -108
- package/esm2015/app/utils/json-utils.service.js +0 -26
- package/esm2015/app/utils/string-utils.js +0 -37
- package/esm2015/app/utils/utils.service.js +0 -111
- /package/{app → lib}/catalog-version.d.ts +0 -0
- /package/{app → lib}/directive/visibility-observer-master.directive.d.ts +0 -0
- /package/{app → lib}/directive/visibility-observer.directive.d.ts +0 -0
- /package/{app → lib}/enum/icon.enum.d.ts +0 -0
- /package/{app → lib}/enum/language-code.enum.d.ts +0 -0
- /package/{app → lib}/interface/order-by.interface.d.ts +0 -0
- /package/{app → lib}/model/articles-search-result.d.ts +0 -0
- /package/{app → lib}/model/external-source-viewmodel.d.ts +0 -0
- /package/{app → lib}/model/filter-item.viewmodel.d.ts +0 -0
- /package/{app → lib}/model/filter-viewmodel.d.ts +0 -0
- /package/{app → lib}/model/icon.d.ts +0 -0
- /package/{app → lib}/model/settings.d.ts +0 -0
- /package/{app → lib}/pipe/localize.pipe.d.ts +0 -0
- /package/{app → lib}/service/icon-cache.service.d.ts +0 -0
|
@@ -0,0 +1,515 @@
|
|
|
1
|
+
@include export-module('co-catalog-navigation-layout') {
|
|
2
|
+
.co-catalog-navigation {
|
|
3
|
+
font-family: $co-catalog-navigation-font-family;
|
|
4
|
+
font-size: $co-catalog-navigation-font-size;
|
|
5
|
+
color: $co-catalog-navigation-font-color;
|
|
6
|
+
.navigation-wrapper {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
column-gap: 10px;
|
|
10
|
+
}
|
|
11
|
+
.navigation-item-wrapper {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
}
|
|
16
|
+
.navigation-overlay-wrapper {
|
|
17
|
+
position: fixed;
|
|
18
|
+
display: flex;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
background: white;
|
|
21
|
+
z-index: 9999;
|
|
22
|
+
padding: $co-catalog-navigation-padding;
|
|
23
|
+
column-gap: $co-catalog-navigation-column-gap;
|
|
24
|
+
box-shadow: $co-catalog-navigation-box-shadow;
|
|
25
|
+
}
|
|
26
|
+
.navigation-category {
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
font-family: $co-catalog-navigation-category-font-family;
|
|
29
|
+
font-size: $co-catalog-navigation-category-font-size;
|
|
30
|
+
font-weight: $co-catalog-navigation-category-font-weight;
|
|
31
|
+
border-style: $co-catalog-navigation-category-border-style;
|
|
32
|
+
border-width: $co-catalog-navigation-category-border-width;
|
|
33
|
+
border-color: $co-catalog-navigation-category-border-color;
|
|
34
|
+
margin: $co-catalog-navigation-category-margin;
|
|
35
|
+
padding: $co-catalog-navigation-category-padding;
|
|
36
|
+
&:hover {
|
|
37
|
+
color: $co-catalog-navigation-category-hover-color;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.navigation-turnovergroup-wrapper {
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
row-gap: $co-catalog-navigation-turnovergroup-row-gap;
|
|
44
|
+
}
|
|
45
|
+
.navigation-turnovergroup {
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
&:hover {
|
|
48
|
+
color: $co-catalog-navigation-turnovergroup-hover-color;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.navigation {
|
|
53
|
+
.navigation-dropdown {
|
|
54
|
+
position: fixed;
|
|
55
|
+
//width: calc(100% - 60px);
|
|
56
|
+
//top: calc(100% - 33px);
|
|
57
|
+
//left: 30px;
|
|
58
|
+
background: #fff;
|
|
59
|
+
box-shadow: 0px 5px 5px 2px rgb(0 0 0 / 30%);
|
|
60
|
+
overflow: hidden;
|
|
61
|
+
visibility: hidden;
|
|
62
|
+
z-index: 9;
|
|
63
|
+
opacity: 0;
|
|
64
|
+
//transform: translate(0, 10px);
|
|
65
|
+
transition: opacity 200ms ease-in, transform 200ms ease-in, visibility 200ms ease-in;
|
|
66
|
+
padding: 10px;
|
|
67
|
+
max-height: 300px;
|
|
68
|
+
width: auto;
|
|
69
|
+
max-width: 100vw;
|
|
70
|
+
}
|
|
71
|
+
&:hover {
|
|
72
|
+
.navigation-dropdown {
|
|
73
|
+
visibility: visible;
|
|
74
|
+
opacity: 1;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
//*:focus{
|
|
81
|
+
// outline: none
|
|
82
|
+
//}
|
|
83
|
+
//
|
|
84
|
+
//ul {
|
|
85
|
+
// list-style: none;
|
|
86
|
+
//}
|
|
87
|
+
//
|
|
88
|
+
//a{
|
|
89
|
+
// text-decoration: none;
|
|
90
|
+
// cursor: pointer;
|
|
91
|
+
//}
|
|
92
|
+
//.component-wrapper {
|
|
93
|
+
// .header-wrapper {
|
|
94
|
+
// margin: 0 auto;
|
|
95
|
+
// position: relative;
|
|
96
|
+
// padding: 0 15px;
|
|
97
|
+
// width: 100%;
|
|
98
|
+
// .header {
|
|
99
|
+
// display: flex;
|
|
100
|
+
// flex-direction: row;
|
|
101
|
+
// justify-content: space-between;
|
|
102
|
+
// align-items: center;
|
|
103
|
+
// border-bottom: 1px solid #ececec;
|
|
104
|
+
// padding: 0 0 15px 0;
|
|
105
|
+
// .logo {
|
|
106
|
+
// img {
|
|
107
|
+
// max-height: 70px;
|
|
108
|
+
// max-width: 70px;
|
|
109
|
+
// }
|
|
110
|
+
// }
|
|
111
|
+
// }
|
|
112
|
+
// }
|
|
113
|
+
//}
|
|
114
|
+
//.navigation-container {
|
|
115
|
+
// background: #c8d8e6;
|
|
116
|
+
// text-align: center;
|
|
117
|
+
// font-size : 15px;
|
|
118
|
+
// min-height: 50px;
|
|
119
|
+
// width: 100%;
|
|
120
|
+
//}
|
|
121
|
+
//
|
|
122
|
+
//.navigation-container.minified {
|
|
123
|
+
// min-height: 30px;
|
|
124
|
+
// font-size: 11px;
|
|
125
|
+
//}
|
|
126
|
+
//
|
|
127
|
+
//.menu-toggle {
|
|
128
|
+
// cursor: pointer;
|
|
129
|
+
// border-radius: 5px;
|
|
130
|
+
// height: 40px;
|
|
131
|
+
// padding: 5px 20px 5px 5px;
|
|
132
|
+
// float: left;
|
|
133
|
+
// margin: 0;
|
|
134
|
+
// border: none;
|
|
135
|
+
// display: flex;
|
|
136
|
+
// background: #FFF;
|
|
137
|
+
//}
|
|
138
|
+
//
|
|
139
|
+
//.menu-toggle span {
|
|
140
|
+
// line-height: 31px;
|
|
141
|
+
// display: inline-block;
|
|
142
|
+
// vertical-align: top;
|
|
143
|
+
// font-size: 15px;
|
|
144
|
+
//}
|
|
145
|
+
//
|
|
146
|
+
//.menu-toggle .hamburger-icon {
|
|
147
|
+
// fill: #222!important;
|
|
148
|
+
// margin: 0 5px 0 0
|
|
149
|
+
//}
|
|
150
|
+
//
|
|
151
|
+
//
|
|
152
|
+
//.menu-close {
|
|
153
|
+
// position: absolute;
|
|
154
|
+
// right: 0;
|
|
155
|
+
// top: 0;
|
|
156
|
+
// height: 50px;
|
|
157
|
+
// width: 50px;
|
|
158
|
+
// background: transparent;
|
|
159
|
+
// color: #22313C;
|
|
160
|
+
// border: none;
|
|
161
|
+
// cursor: pointer;
|
|
162
|
+
// display: none;
|
|
163
|
+
//}
|
|
164
|
+
//
|
|
165
|
+
//.navigation-container.minified .menu-toggle {
|
|
166
|
+
// height: 30px;
|
|
167
|
+
// padding: 0 20px 0 5px;
|
|
168
|
+
// font-size: 11px;
|
|
169
|
+
// margin: 0;
|
|
170
|
+
// border-radius: 0;
|
|
171
|
+
//}
|
|
172
|
+
//
|
|
173
|
+
//.toggle-sub-menu {
|
|
174
|
+
// display: none;
|
|
175
|
+
// float: left;
|
|
176
|
+
// width: 50px;
|
|
177
|
+
// height: 40px;
|
|
178
|
+
// text-align: center;
|
|
179
|
+
// border: none;
|
|
180
|
+
// background: transparent;
|
|
181
|
+
// color: #5A6875;
|
|
182
|
+
// position: absolute;
|
|
183
|
+
// right: 0;
|
|
184
|
+
// top: 5px;
|
|
185
|
+
// padding: 0;
|
|
186
|
+
// cursor: pointer;
|
|
187
|
+
//}
|
|
188
|
+
//
|
|
189
|
+
//.toggle-sub-menu co-icon {
|
|
190
|
+
// transition: 0.3s ease-in-out;
|
|
191
|
+
// width: 20px;
|
|
192
|
+
// height: 20px;
|
|
193
|
+
// margin: 5px 0 0;
|
|
194
|
+
//}
|
|
195
|
+
//
|
|
196
|
+
//li.open > .toggle-sub-menu co-icon {
|
|
197
|
+
// transform: rotate(180deg);
|
|
198
|
+
//}
|
|
199
|
+
//
|
|
200
|
+
//@media screen and (min-width: 941px) {
|
|
201
|
+
// .navigation {
|
|
202
|
+
// &:hover {
|
|
203
|
+
// .navigation-dropdown {
|
|
204
|
+
// //height: auto;
|
|
205
|
+
// //width: calc(100% - 60px);
|
|
206
|
+
// visibility: visible;
|
|
207
|
+
// opacity: 1;
|
|
208
|
+
// }
|
|
209
|
+
// .menu-toggle {
|
|
210
|
+
// background: #3E7EFF;
|
|
211
|
+
// color: #FFF;
|
|
212
|
+
// co-icon ::ng-deep {
|
|
213
|
+
// fill: #FFF !important;
|
|
214
|
+
// svg {
|
|
215
|
+
// fill: #FFF !important;
|
|
216
|
+
// g {
|
|
217
|
+
// fill: #FFF !important;
|
|
218
|
+
// path {
|
|
219
|
+
// fill: #FFF !important;
|
|
220
|
+
// }
|
|
221
|
+
// }
|
|
222
|
+
// rect:not(:first-child) {
|
|
223
|
+
// fill: #FFF !important;
|
|
224
|
+
// }
|
|
225
|
+
// }
|
|
226
|
+
// }
|
|
227
|
+
// }
|
|
228
|
+
// }
|
|
229
|
+
// }
|
|
230
|
+
// .navigation-container {
|
|
231
|
+
// background: #FFF;
|
|
232
|
+
// display: flex;
|
|
233
|
+
// align-items: center;
|
|
234
|
+
// gap: 20px;
|
|
235
|
+
// padding-left: 10px;
|
|
236
|
+
// .navigation-link {
|
|
237
|
+
// font-size: 16px;
|
|
238
|
+
// font-weight: 600;
|
|
239
|
+
// }
|
|
240
|
+
// }
|
|
241
|
+
// .menu-toggle {
|
|
242
|
+
// margin-left: 0px;
|
|
243
|
+
// border-radius: 0px;
|
|
244
|
+
// span {
|
|
245
|
+
// font-size: 16px;
|
|
246
|
+
// font-weight: 600;
|
|
247
|
+
// }
|
|
248
|
+
// }
|
|
249
|
+
// .navigation-dropdown {
|
|
250
|
+
// position: fixed;
|
|
251
|
+
// //width: calc(100% - 60px);
|
|
252
|
+
// //top: calc(100% - 33px);
|
|
253
|
+
// //left: 30px;
|
|
254
|
+
// background: #fff;
|
|
255
|
+
// box-shadow: 0px 5px 5px 2px rgb(0 0 0 / 30%);
|
|
256
|
+
// overflow: hidden;
|
|
257
|
+
// visibility: hidden;
|
|
258
|
+
// z-index: 9;
|
|
259
|
+
// opacity: 0;
|
|
260
|
+
// //transform: translate(0, 10px);
|
|
261
|
+
// transition: opacity 200ms ease-in, transform 200ms ease-in, visibility 200ms ease-in;
|
|
262
|
+
// }
|
|
263
|
+
// .navigation-menu {
|
|
264
|
+
// display: inline-block;
|
|
265
|
+
// text-align: left;
|
|
266
|
+
// margin: 0;
|
|
267
|
+
// padding: 0;
|
|
268
|
+
// background: #FFF;
|
|
269
|
+
// width: 100%;
|
|
270
|
+
// }
|
|
271
|
+
// .navigation-menu {
|
|
272
|
+
// > li {
|
|
273
|
+
// display: block;
|
|
274
|
+
// padding: 13px 30px;
|
|
275
|
+
// float: left;
|
|
276
|
+
// width: calc(100% /5);
|
|
277
|
+
// &.external-menu {
|
|
278
|
+
// width: calc(100% /8);
|
|
279
|
+
// height: 180px;
|
|
280
|
+
// position: relative;
|
|
281
|
+
// margin: 10px 0;
|
|
282
|
+
// a {
|
|
283
|
+
// align-items: center;
|
|
284
|
+
// height: 150px;
|
|
285
|
+
// font-size: 12px;
|
|
286
|
+
// color: #222;
|
|
287
|
+
// span {
|
|
288
|
+
// margin-top: 0px;
|
|
289
|
+
// display: block;
|
|
290
|
+
// position: absolute;
|
|
291
|
+
// bottom: 5px;
|
|
292
|
+
// width: 100%;
|
|
293
|
+
// text-align: center;
|
|
294
|
+
// }
|
|
295
|
+
// co-image {
|
|
296
|
+
// height: 100px;
|
|
297
|
+
// width: 100%;
|
|
298
|
+
// }
|
|
299
|
+
// }
|
|
300
|
+
// .no-image-wrapper {
|
|
301
|
+
// height: 100px;
|
|
302
|
+
// width: 100%;
|
|
303
|
+
// text-align: center;
|
|
304
|
+
// position: relative;
|
|
305
|
+
// background: #ececec;
|
|
306
|
+
// co-icon ::ng-deep {
|
|
307
|
+
// height: 100px;
|
|
308
|
+
// width: 100%;
|
|
309
|
+
// position: absolute;
|
|
310
|
+
// left: 0;
|
|
311
|
+
// top: 0;
|
|
312
|
+
// svg {
|
|
313
|
+
// max-height: 50px;
|
|
314
|
+
// position: absolute;
|
|
315
|
+
// top: 50%;
|
|
316
|
+
// left: 0;
|
|
317
|
+
// transform: translateY(-50%);
|
|
318
|
+
// rect, path {
|
|
319
|
+
// fill: #FFF;
|
|
320
|
+
// }
|
|
321
|
+
// }
|
|
322
|
+
// }
|
|
323
|
+
// span {
|
|
324
|
+
// color: #FFF;
|
|
325
|
+
// }
|
|
326
|
+
// }
|
|
327
|
+
// }
|
|
328
|
+
// }
|
|
329
|
+
// }
|
|
330
|
+
//
|
|
331
|
+
// .navigation-menu > li > a {
|
|
332
|
+
// display: inline-block;
|
|
333
|
+
// line-height: 20px;
|
|
334
|
+
// border-bottom: 1px solid #ececec;
|
|
335
|
+
// position: relative;
|
|
336
|
+
// z-index: 12;
|
|
337
|
+
// width: 100%;
|
|
338
|
+
// font-size: 15px;
|
|
339
|
+
// padding-bottom: 10px;
|
|
340
|
+
// font-weight: 600;
|
|
341
|
+
// color: #222;
|
|
342
|
+
// span {
|
|
343
|
+
// font-size: 15px;
|
|
344
|
+
// font-weight: 600;
|
|
345
|
+
// color: #222;
|
|
346
|
+
// }
|
|
347
|
+
// }
|
|
348
|
+
//
|
|
349
|
+
// .navigation-menu > li:hover > a {
|
|
350
|
+
// color: #3E7EFF;
|
|
351
|
+
// border-bottom: 1px solid #3E7EFF;
|
|
352
|
+
// z-index: 12;
|
|
353
|
+
// text-decoration: none;
|
|
354
|
+
// span {
|
|
355
|
+
// color: #3E7EFF;
|
|
356
|
+
// }
|
|
357
|
+
// }
|
|
358
|
+
//
|
|
359
|
+
// .navigation-menu > li > ul {
|
|
360
|
+
// padding-left: 0px;
|
|
361
|
+
// padding-top: 15px;
|
|
362
|
+
// }
|
|
363
|
+
//
|
|
364
|
+
//
|
|
365
|
+
// .navigation-menu > li > ul > li {
|
|
366
|
+
// padding: 3px;
|
|
367
|
+
// margin: 0;
|
|
368
|
+
// }
|
|
369
|
+
//
|
|
370
|
+
// .navigation-menu > li > ul > li > a {
|
|
371
|
+
// line-height: 24px;
|
|
372
|
+
// color: #22313C;
|
|
373
|
+
// font-size: 13px;
|
|
374
|
+
// font-weight: normal;
|
|
375
|
+
// span {
|
|
376
|
+
// color: #22313C;
|
|
377
|
+
// font-size: 13px;
|
|
378
|
+
// font-weight: normal;
|
|
379
|
+
// }
|
|
380
|
+
// }
|
|
381
|
+
//
|
|
382
|
+
// .navigation-menu > li > ul > li > a:hover {
|
|
383
|
+
// color: #3E7EFF;
|
|
384
|
+
// text-decoration: underline;
|
|
385
|
+
// span {
|
|
386
|
+
// color: #3E7EFF;
|
|
387
|
+
// }
|
|
388
|
+
// }
|
|
389
|
+
//
|
|
390
|
+
// .navigation-menu > li > ul ul {
|
|
391
|
+
// display: none
|
|
392
|
+
// }
|
|
393
|
+
//
|
|
394
|
+
// .navigation-container.minified .navigation-menu {
|
|
395
|
+
// font-size: 13px;
|
|
396
|
+
// }
|
|
397
|
+
//
|
|
398
|
+
// .navigation-container.minified .navigation-menu > li {
|
|
399
|
+
// padding: 7px 10px;
|
|
400
|
+
// }
|
|
401
|
+
//
|
|
402
|
+
// .navigation-container.minified .navigation-menu > li > a {
|
|
403
|
+
// line-height: 16px;
|
|
404
|
+
// }
|
|
405
|
+
//
|
|
406
|
+
// .navigation-container.minified .navigation-menu > li > ul {
|
|
407
|
+
// padding: 25px 30px;
|
|
408
|
+
// }
|
|
409
|
+
//
|
|
410
|
+
// .navigation-container.minified .navigation-menu > li > ul > li > a {
|
|
411
|
+
// font-size: 13px;
|
|
412
|
+
// line-height: 24px;
|
|
413
|
+
// }
|
|
414
|
+
//
|
|
415
|
+
//}
|
|
416
|
+
//
|
|
417
|
+
//@media screen and (max-width: 940px) {
|
|
418
|
+
//
|
|
419
|
+
// .menu-close,
|
|
420
|
+
// .menu-toggle{
|
|
421
|
+
// display: flex;
|
|
422
|
+
// }
|
|
423
|
+
//
|
|
424
|
+
// .navigation-menu {
|
|
425
|
+
// position: absolute;
|
|
426
|
+
// left: 0;
|
|
427
|
+
// top: 0;
|
|
428
|
+
// background: #fff;
|
|
429
|
+
// margin: 0 0 0 -500px;
|
|
430
|
+
// overflow: auto;
|
|
431
|
+
// width: 350px;
|
|
432
|
+
// height: 100vh;
|
|
433
|
+
// max-width: 100%;
|
|
434
|
+
// text-align: left;
|
|
435
|
+
// padding: 50px 15px 30px;
|
|
436
|
+
// box-shadow: 1px 0 8px 0 rgba(72, 79, 96, 0.25);
|
|
437
|
+
// transition: 0.3s ease-in-out;
|
|
438
|
+
// font-size: 14px;
|
|
439
|
+
// box-sizing: border-box
|
|
440
|
+
// }
|
|
441
|
+
//
|
|
442
|
+
// .navigation-dropdown.active .navigation-menu {
|
|
443
|
+
// margin: 0;
|
|
444
|
+
// }
|
|
445
|
+
//
|
|
446
|
+
// .navigation-menu > li {
|
|
447
|
+
// display: block;
|
|
448
|
+
// width: 100%;
|
|
449
|
+
// margin: 0 0 15px;
|
|
450
|
+
// position: relative;
|
|
451
|
+
// }
|
|
452
|
+
//
|
|
453
|
+
// .navigation-menu li.open > ul {
|
|
454
|
+
// display: block;
|
|
455
|
+
// height: auto !important;
|
|
456
|
+
// }
|
|
457
|
+
//
|
|
458
|
+
// .navigation-menu > li > a {
|
|
459
|
+
// display: block;
|
|
460
|
+
// padding: 15px 20px;
|
|
461
|
+
// border: 1px solid #DCE4EA;
|
|
462
|
+
// border-radius: 5px;
|
|
463
|
+
// color: #22313C;
|
|
464
|
+
// position: relative;
|
|
465
|
+
// }
|
|
466
|
+
//
|
|
467
|
+
// .navigation-menu li.open > a,
|
|
468
|
+
// .navigation-menu > li > a:hover {
|
|
469
|
+
// background: #c8d8e6;
|
|
470
|
+
// }
|
|
471
|
+
//
|
|
472
|
+
// .navigation-menu > li ul {
|
|
473
|
+
// display: none;
|
|
474
|
+
// padding: 0 0 0 15px;
|
|
475
|
+
// margin: 0;
|
|
476
|
+
// font-size: 93%;
|
|
477
|
+
// margin: -1px 0 0;
|
|
478
|
+
// }
|
|
479
|
+
//
|
|
480
|
+
// .navigation-menu > li ul li {
|
|
481
|
+
// display: block;
|
|
482
|
+
// width: 100%;
|
|
483
|
+
// margin: 5px 0;
|
|
484
|
+
// }
|
|
485
|
+
//
|
|
486
|
+
// .navigation-menu > li ul li a {
|
|
487
|
+
// display: block;
|
|
488
|
+
// padding: 10px;
|
|
489
|
+
// color: #22313C;
|
|
490
|
+
// border: 1px solid #DCE4EA;
|
|
491
|
+
// border-radius: 5px;
|
|
492
|
+
// position: relative;
|
|
493
|
+
// }
|
|
494
|
+
//
|
|
495
|
+
// .navigation-menu > li ul li a:hover {
|
|
496
|
+
// background: #DCE4EA;
|
|
497
|
+
// }
|
|
498
|
+
//
|
|
499
|
+
// .toggle-sub-menu {
|
|
500
|
+
// display: block;
|
|
501
|
+
// }
|
|
502
|
+
//
|
|
503
|
+
// .navigation-container.minified .navigation-menu {
|
|
504
|
+
// height: calc(100% - 30px);
|
|
505
|
+
// top: 30px;
|
|
506
|
+
// }
|
|
507
|
+
//
|
|
508
|
+
//}
|
|
509
|
+
//@media screen and (max-width: 480px) {
|
|
510
|
+
// .navigation-menu {
|
|
511
|
+
// width: 100%;
|
|
512
|
+
// }
|
|
513
|
+
//}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
$co-catalog-navigation-font-family: $ca-font-family !default;
|
|
2
|
+
$co-catalog-navigation-font-size: $ca-font-size !default;
|
|
3
|
+
$co-catalog-navigation-font-color: $ca-color-font !default;
|
|
4
|
+
$co-catalog-navigation-padding: 10px !default;
|
|
5
|
+
$co-catalog-navigation-column-gap: 10px !default;
|
|
6
|
+
$co-catalog-navigation-box-shadow: 0 3px 5px $ca-color-border !default;
|
|
7
|
+
|
|
8
|
+
$co-catalog-navigation-category-font-family: $ca-font-family !default;
|
|
9
|
+
$co-catalog-navigation-category-font-size: $ca-font-size-big !default;
|
|
10
|
+
$co-catalog-navigation-category-font-weight: bold !default;
|
|
11
|
+
$co-catalog-navigation-category-font-weight: bold !default;
|
|
12
|
+
$co-catalog-navigation-category-font-weight: bold !default;
|
|
13
|
+
$co-catalog-navigation-category-padding: 0 0 5px 0 !default;
|
|
14
|
+
$co-catalog-navigation-category-margin: 0 0 10px 0 !default;
|
|
15
|
+
$co-catalog-navigation-category-border-style: solid !default;
|
|
16
|
+
$co-catalog-navigation-category-border-width: 0 0 1px 0 !default;
|
|
17
|
+
$co-catalog-navigation-category-border-color: $ca-color-border !default;
|
|
18
|
+
$co-catalog-navigation-category-hover-color: $ca-color-action !default;
|
|
19
|
+
|
|
20
|
+
$co-catalog-navigation-turnovergroup-row-gap: 5px !default;
|
|
21
|
+
$co-catalog-navigation-turnovergroup-hover-color: $ca-color-action !default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { CatalogSearchService } from '../../service/catalog-search.service';
|
|
3
|
+
import { CatalogEventService } from '../../service/catalog-event.service';
|
|
4
|
+
import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
|
|
5
|
+
export declare class CatalogSearchComponent implements OnInit, OnDestroy {
|
|
6
|
+
private _catalogSearchService;
|
|
7
|
+
private _catalogEventService;
|
|
8
|
+
showNavigation: boolean;
|
|
9
|
+
showFilter: boolean;
|
|
10
|
+
showViewModes: boolean;
|
|
11
|
+
onLookAtArticleButtonClick: EventEmitter<ArticleExtended>;
|
|
12
|
+
onArButtonClick: EventEmitter<ArticleExtended>;
|
|
13
|
+
onAddArticleButtonClick: EventEmitter<string>;
|
|
14
|
+
onArticleClick: EventEmitter<ArticleExtended>;
|
|
15
|
+
onStockDetailsClick: EventEmitter<ArticleExtended>;
|
|
16
|
+
showClass(): boolean;
|
|
17
|
+
mode: string;
|
|
18
|
+
showCategories: boolean;
|
|
19
|
+
private _subs;
|
|
20
|
+
constructor(_catalogSearchService: CatalogSearchService, _catalogEventService: CatalogEventService);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
handleCategoryClick(category: string): void;
|
|
24
|
+
handleTurnoverGroupClick(turnoverGroup: string): void;
|
|
25
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@include export-module('co-catalog-search-layout') {
|
|
2
|
+
.co-catalog-search {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
width: 100%;
|
|
6
|
+
//height: 100%;
|
|
7
|
+
|
|
8
|
+
.catalog-search-wrapper {
|
|
9
|
+
display: flex;
|
|
10
|
+
width: 100%;
|
|
11
|
+
//height: 100%;
|
|
12
|
+
}
|
|
13
|
+
.search-content-wrapper {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-basis: 100%;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
}
|
|
18
|
+
.search-header {
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
}
|
|
23
|
+
.search-content {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-basis: 100%;
|
|
26
|
+
overflow: $co-catalog-search-content-overflow;
|
|
27
|
+
padding: $co-catalog-search-content-padding;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CatalogSearchService } from '../../service/catalog-search.service';
|
|
2
|
+
export declare class CatalogSearchHeaderComponent {
|
|
3
|
+
catalogSearchService: CatalogSearchService;
|
|
4
|
+
placeholder: string;
|
|
5
|
+
showClass(): boolean;
|
|
6
|
+
constructor(catalogSearchService: CatalogSearchService);
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@include export-module('co-catalog-search-header-layout') {
|
|
2
|
+
.co-catalog-search-header {
|
|
3
|
+
font-family: $co-catalog-search-header-font-family;
|
|
4
|
+
font-size: $co-catalog-search-header-font-size;
|
|
5
|
+
.catalog-search-header-wrapper {
|
|
6
|
+
padding: $co-catalog-search-header-padding;
|
|
7
|
+
}
|
|
8
|
+
.co-input-search {
|
|
9
|
+
max-width: $co-catalog-search-header-input-search-max-width;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
File without changes
|