@colijnit/catalog 12.1.25 → 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 +2290 -1709
- 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 +2262 -1380
- 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,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,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
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -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 {
|
|
13
|
-
export declare class
|
|
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
|
|
3
|
-
export declare class
|
|
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 {
|
|
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
|
|
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:
|
|
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 {
|
|
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
|
|
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:
|
|
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 {
|
|
4
|
+
import { CatalogSettingsService } from './catalog-settings.service';
|
|
5
5
|
import { ArticleExtendedRequest } from "@colijnit/articleapi/build/model/article-extended-request";
|
|
6
|
-
export declare class
|
|
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:
|
|
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
|
-
|
|
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
|
|
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 {
|
|
2
|
-
import {
|
|
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 {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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(
|
|
64
|
+
constructor(connector: CatalogConnectorService, connectorAdapter: CatalogConnectorAdapterService, settingsService: CatalogSettingsService, optionsService: CatalogOptionsService, _imageService: CatalogImageService, _settingsService: CatalogSettingsService, _filterService: CatalogFilterService, _catalogSearchService: CatalogSearchService);
|
|
69
65
|
ngOnDestroy(): void;
|
|
70
|
-
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/catalog",
|
|
3
|
-
"version": "12.1.
|
|
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.
|
|
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
|
|
2
|
-
export * from
|
|
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,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
|
-
}
|