@colijnit/catalog 12.1.65 → 12.1.67
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/bundles/colijnit-catalog.umd.js +5177 -5144
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.d.ts +37 -37
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/colijnit-catalog.js +37 -37
- package/esm2015/lib/cache/cache-field.js +74 -74
- package/esm2015/lib/cache/parameter-cache-field.js +53 -53
- package/esm2015/lib/cache/service/business-object-cache-manager.service.js +137 -137
- package/esm2015/lib/cache/service/select-multiple-cache.service.js +32 -32
- package/esm2015/lib/cache/service/select-multiple-parameterized-cache.service.js +41 -41
- package/esm2015/lib/cache/service/select-single-cache.service.js +24 -24
- package/esm2015/lib/cache/service/select-single-parameterized-cache.service.js +41 -41
- package/esm2015/lib/catalog-version.js +10 -10
- package/esm2015/lib/component/base/article-base.component.js +198 -191
- package/esm2015/lib/component/base/catalog-search-base.component.js +45 -45
- package/esm2015/lib/component/catalog-article-list/catalog-article-list.component.js +17 -17
- package/esm2015/lib/component/catalog-article-list/catalog-article-list.module.js +28 -28
- package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.component.js +33 -20
- package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.module.js +28 -28
- package/esm2015/lib/component/catalog-categories/catalog-categories.component.js +73 -73
- package/esm2015/lib/component/catalog-categories/catalog-categories.module.js +28 -28
- package/esm2015/lib/component/catalog-external-source/catalog-external-source.component.js +154 -154
- package/esm2015/lib/component/catalog-external-source/catalog-external-source.module.js +20 -20
- package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.component.js +42 -42
- package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.module.js +24 -24
- package/esm2015/lib/component/catalog-filter/catalog-filter.component.js +98 -98
- package/esm2015/lib/component/catalog-filter/catalog-filter.module.js +41 -41
- package/esm2015/lib/component/catalog-filter-categories/catalog-filter-categories.component.js +34 -34
- package/esm2015/lib/component/catalog-filter-categories/catalog-filter-categories.module.js +20 -20
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.component.js +124 -124
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.module.js +29 -29
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.component.js +33 -33
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.module.js +29 -29
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.component.js +71 -71
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.module.js +28 -28
- package/esm2015/lib/component/catalog-filter-item/catalog-filter-item.component.js +57 -57
- package/esm2015/lib/component/catalog-filter-item/catalog-filter-item.module.js +22 -22
- package/esm2015/lib/component/catalog-navigation/catalog-navigation.component.js +195 -195
- package/esm2015/lib/component/catalog-navigation/catalog-navigation.module.js +26 -26
- package/esm2015/lib/component/catalog-search/catalog-search.component.js +146 -146
- package/esm2015/lib/component/catalog-search/catalog-search.module.js +70 -70
- package/esm2015/lib/component/catalog-search-header/catalog-search-header.component.js +35 -33
- package/esm2015/lib/component/catalog-search-header/catalog-search-header.module.js +21 -21
- package/esm2015/lib/component/catalog-search-result-list/catalog-search-result-list.component.js +24 -24
- package/esm2015/lib/component/catalog-search-result-list/catalog-search-result-list.module.js +28 -28
- package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.js +27 -27
- package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.module.js +28 -28
- package/esm2015/lib/component/responsive-text/responsive-text.component.js +17 -17
- package/esm2015/lib/component/responsive-text/responsive-text.module.js +18 -18
- package/esm2015/lib/directive/visibility-observer-master.directive.js +48 -48
- package/esm2015/lib/directive/visibility-observer.directive.js +54 -54
- package/esm2015/lib/directive/visibility-observer.module.js +17 -17
- package/esm2015/lib/enum/external-settings.interface.js +1 -1
- package/esm2015/lib/enum/icon.enum.js +29 -29
- package/esm2015/lib/enum/language-code.enum.js +7 -7
- package/esm2015/lib/model/articles-search-result.js +2 -2
- package/esm2015/lib/model/catalog-filter-viewmodel.js +3 -3
- package/esm2015/lib/model/external-source-viewmodel.js +6 -6
- package/esm2015/lib/model/icon.js +28 -28
- package/esm2015/lib/model/settings-options.js +18 -18
- package/esm2015/lib/model/settings.js +13 -13
- package/esm2015/lib/pipe/localize.pipe.js +26 -26
- package/esm2015/lib/pipe/pipe.module.js +18 -18
- package/esm2015/lib/service/catalog-connector-adapter.service.js +540 -529
- package/esm2015/lib/service/catalog-connector.service.js +223 -218
- package/esm2015/lib/service/catalog-event.service.js +18 -18
- package/esm2015/lib/service/catalog-filter.service.js +138 -138
- package/esm2015/lib/service/catalog-image.service.js +118 -118
- package/esm2015/lib/service/catalog-navigation.service.js +82 -82
- package/esm2015/lib/service/catalog-options.service.js +82 -82
- package/esm2015/lib/service/catalog-search.service.js +137 -137
- package/esm2015/lib/service/catalog-settings.service.js +71 -71
- package/esm2015/lib/service/catalog.service.js +174 -174
- package/esm2015/lib/service/dictionary.service.js +89 -89
- package/esm2015/lib/service/icon-cache.service.js +39 -39
- package/esm2015/lib/utils/json.utils.js +29 -29
- package/esm2015/public_api.js +27 -27
- package/fesm2015/colijnit-catalog.js +3888 -3850
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/cache/cache-field.d.ts +25 -25
- package/lib/cache/parameter-cache-field.d.ts +11 -11
- package/lib/cache/service/business-object-cache-manager.service.d.ts +55 -55
- package/lib/cache/service/select-multiple-cache.service.d.ts +15 -15
- package/lib/cache/service/select-multiple-parameterized-cache.service.d.ts +19 -19
- package/lib/cache/service/select-single-cache.service.d.ts +12 -12
- package/lib/cache/service/select-single-parameterized-cache.service.d.ts +18 -18
- package/lib/catalog-version.d.ts +6 -6
- package/lib/component/base/article-base.component.d.ts +66 -65
- package/lib/component/base/catalog-search-base.component.d.ts +18 -18
- package/lib/component/catalog-article-list/catalog-article-list.component.d.ts +4 -4
- package/lib/component/catalog-article-list/catalog-article-list.module.d.ts +2 -2
- package/lib/component/catalog-article-tile/catalog-article-tile.component.d.ts +4 -4
- package/lib/component/catalog-article-tile/catalog-article-tile.module.d.ts +2 -2
- package/lib/component/catalog-article-tile/style/_layout.scss +73 -550
- package/lib/component/catalog-categories/catalog-categories.component.d.ts +24 -24
- package/lib/component/catalog-categories/catalog-categories.module.d.ts +2 -2
- package/lib/component/catalog-external-source/catalog-external-source.component.d.ts +58 -58
- package/lib/component/catalog-external-source/catalog-external-source.module.d.ts +2 -2
- package/lib/component/catalog-external-sources/catalog-external-sources.component.d.ts +13 -13
- package/lib/component/catalog-external-sources/catalog-external-sources.module.d.ts +2 -2
- package/lib/component/catalog-filter/catalog-filter.component.d.ts +36 -36
- package/lib/component/catalog-filter/catalog-filter.module.d.ts +2 -2
- package/lib/component/catalog-filter-categories/catalog-filter-categories.component.d.ts +10 -10
- package/lib/component/catalog-filter-categories/catalog-filter-categories.module.d.ts +2 -2
- package/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.component.d.ts +43 -43
- package/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.module.d.ts +2 -2
- package/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.component.d.ts +15 -15
- package/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.module.d.ts +2 -2
- package/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.component.d.ts +27 -27
- package/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.module.d.ts +2 -2
- package/lib/component/catalog-filter-item/catalog-filter-item.component.d.ts +29 -29
- package/lib/component/catalog-filter-item/catalog-filter-item.module.d.ts +2 -2
- package/lib/component/catalog-navigation/catalog-navigation.component.d.ts +62 -62
- package/lib/component/catalog-navigation/catalog-navigation.module.d.ts +2 -2
- package/lib/component/catalog-search/catalog-search.component.d.ts +45 -45
- package/lib/component/catalog-search/catalog-search.module.d.ts +4 -4
- package/lib/component/catalog-search-header/catalog-search-header.component.d.ts +13 -13
- package/lib/component/catalog-search-header/catalog-search-header.module.d.ts +2 -2
- package/lib/component/catalog-search-result-list/catalog-search-result-list.component.d.ts +5 -5
- package/lib/component/catalog-search-result-list/catalog-search-result-list.module.d.ts +2 -2
- package/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.d.ts +6 -6
- package/lib/component/catalog-search-result-tile/catalog-search-result-tile.module.d.ts +2 -2
- package/lib/component/responsive-text/responsive-text.component.d.ts +4 -4
- package/lib/component/responsive-text/responsive-text.module.d.ts +2 -2
- package/lib/directive/visibility-observer-master.directive.d.ts +9 -9
- package/lib/directive/visibility-observer.directive.d.ts +13 -13
- package/lib/directive/visibility-observer.module.d.ts +2 -2
- package/lib/enum/external-settings.interface.d.ts +4 -4
- package/lib/enum/icon.enum.d.ts +28 -28
- package/lib/enum/language-code.enum.d.ts +6 -6
- package/lib/model/articles-search-result.d.ts +5 -5
- package/lib/model/catalog-filter-viewmodel.d.ts +4 -4
- package/lib/model/external-source-viewmodel.d.ts +7 -7
- package/lib/model/icon.d.ts +4 -4
- package/lib/model/settings-options.d.ts +17 -17
- package/lib/model/settings.d.ts +11 -11
- package/lib/pipe/localize.pipe.d.ts +7 -7
- package/lib/pipe/pipe.module.d.ts +2 -2
- package/lib/service/catalog-connector-adapter.service.d.ts +80 -79
- package/lib/service/catalog-connector.service.d.ts +72 -71
- package/lib/service/catalog-event.service.d.ts +9 -9
- package/lib/service/catalog-filter.service.d.ts +27 -27
- package/lib/service/catalog-image.service.d.ts +17 -17
- package/lib/service/catalog-navigation.service.d.ts +27 -27
- package/lib/service/catalog-options.service.d.ts +27 -27
- package/lib/service/catalog-search.service.d.ts +44 -44
- package/lib/service/catalog-settings.service.d.ts +14 -14
- package/lib/service/catalog.service.d.ts +69 -69
- package/lib/service/dictionary.service.d.ts +24 -24
- package/lib/service/icon-cache.service.d.ts +17 -17
- package/lib/utils/json.utils.d.ts +3 -3
- package/package.json +7 -7
- package/public_api.d.ts +27 -27
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { IconEnum } from '../../enum/icon.enum';
|
|
3
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
4
|
-
import { CatalogService } from '../../service/catalog.service';
|
|
5
|
-
import { CatalogEventService } from '../../service/catalog-event.service';
|
|
6
|
-
import { ArticleCategory } from '@colijnit/articleapi/build/model/article-category';
|
|
7
|
-
import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-group-image.bo';
|
|
8
|
-
import { ExternalSourceViewmodel } from '../../model/external-source-viewmodel';
|
|
9
|
-
import { CatalogConnectorAdapterService } from '../../service/catalog-connector-adapter.service';
|
|
10
|
-
import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
|
|
11
|
-
export declare class CatalogNavigationComponent {
|
|
12
|
-
iconCache: IconCacheService;
|
|
13
|
-
catalogService: CatalogService;
|
|
14
|
-
private _appEventService;
|
|
15
|
-
private _adapterService;
|
|
16
|
-
readonly icons: typeof IconEnum;
|
|
17
|
-
homeLabel: string;
|
|
18
|
-
collectionLabel: string;
|
|
19
|
-
externalSourcesLabel: string;
|
|
20
|
-
showTurnoverGroups: boolean;
|
|
21
|
-
view: HTMLElement;
|
|
22
|
-
homeClick: EventEmitter<void>;
|
|
23
|
-
categoryClick: EventEmitter<string>;
|
|
24
|
-
turnoverGroupClick: EventEmitter<string>;
|
|
25
|
-
externalSourceClick: EventEmitter<ExternalSourceViewmodel>;
|
|
26
|
-
minified: boolean;
|
|
27
|
-
showClass: boolean;
|
|
28
|
-
mobileMenuToggle: boolean;
|
|
29
|
-
popupTop: number;
|
|
30
|
-
popupHeight: number;
|
|
31
|
-
popupWidth: number;
|
|
32
|
-
popupLeft: number;
|
|
33
|
-
categories: ArticleCategory[];
|
|
34
|
-
externalSources: CatalogDefinition[];
|
|
35
|
-
turnoverGroups: TurnoverGroupImage[];
|
|
36
|
-
showCollectionOverlay: boolean;
|
|
37
|
-
showExternalOverlay: boolean;
|
|
38
|
-
get internalList(): any[];
|
|
39
|
-
get externalList(): any[];
|
|
40
|
-
private _subs;
|
|
41
|
-
constructor(iconCache: IconCacheService, catalogService: CatalogService, _appEventService: CatalogEventService, _adapterService: CatalogConnectorAdapterService);
|
|
42
|
-
ngOnInit(): void;
|
|
43
|
-
ngOnDestroy(): void;
|
|
44
|
-
getCategories(): Promise<void>;
|
|
45
|
-
getExternalSources(): Promise<void>;
|
|
46
|
-
prepareTurnoverGroups(): void;
|
|
47
|
-
handleCategoryClick(event: MouseEvent, category: string): void;
|
|
48
|
-
handleTurnoverGroupClick(event: MouseEvent, turnovergroupNr: string): void;
|
|
49
|
-
handleExternalSourceClick(externalSource: ExternalSourceViewmodel): void;
|
|
50
|
-
onToggleMobileMenu(): void;
|
|
51
|
-
onSubMenuToggle(event: any): void;
|
|
52
|
-
onOpenSubMenu(event: MouseEvent): void;
|
|
53
|
-
onSetCategory(event: any, category: string): void;
|
|
54
|
-
onSetTurnoverGroup(event: any, turnoverGroup: string): void;
|
|
55
|
-
onOpenExternalCatalog(event: any, webviewUrl: string): void;
|
|
56
|
-
onOpenIoneCatalog(event: any, webviewUrl: string, ioneUrl: string, upId: string, userName: string, passWord: string): void;
|
|
57
|
-
handleHomeClick(event: MouseEvent): void;
|
|
58
|
-
handleShowCollectionOverlay(): void;
|
|
59
|
-
handleShowExternalOverlay(): void;
|
|
60
|
-
handleHideCollectionOverlay(): void;
|
|
61
|
-
handleHideExternalOverlay(): void;
|
|
62
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { IconEnum } from '../../enum/icon.enum';
|
|
3
|
+
import { IconCacheService } from '../../service/icon-cache.service';
|
|
4
|
+
import { CatalogService } from '../../service/catalog.service';
|
|
5
|
+
import { CatalogEventService } from '../../service/catalog-event.service';
|
|
6
|
+
import { ArticleCategory } from '@colijnit/articleapi/build/model/article-category';
|
|
7
|
+
import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-group-image.bo';
|
|
8
|
+
import { ExternalSourceViewmodel } from '../../model/external-source-viewmodel';
|
|
9
|
+
import { CatalogConnectorAdapterService } from '../../service/catalog-connector-adapter.service';
|
|
10
|
+
import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
|
|
11
|
+
export declare class CatalogNavigationComponent {
|
|
12
|
+
iconCache: IconCacheService;
|
|
13
|
+
catalogService: CatalogService;
|
|
14
|
+
private _appEventService;
|
|
15
|
+
private _adapterService;
|
|
16
|
+
readonly icons: typeof IconEnum;
|
|
17
|
+
homeLabel: string;
|
|
18
|
+
collectionLabel: string;
|
|
19
|
+
externalSourcesLabel: string;
|
|
20
|
+
showTurnoverGroups: boolean;
|
|
21
|
+
view: HTMLElement;
|
|
22
|
+
homeClick: EventEmitter<void>;
|
|
23
|
+
categoryClick: EventEmitter<string>;
|
|
24
|
+
turnoverGroupClick: EventEmitter<string>;
|
|
25
|
+
externalSourceClick: EventEmitter<ExternalSourceViewmodel>;
|
|
26
|
+
minified: boolean;
|
|
27
|
+
showClass: boolean;
|
|
28
|
+
mobileMenuToggle: boolean;
|
|
29
|
+
popupTop: number;
|
|
30
|
+
popupHeight: number;
|
|
31
|
+
popupWidth: number;
|
|
32
|
+
popupLeft: number;
|
|
33
|
+
categories: ArticleCategory[];
|
|
34
|
+
externalSources: CatalogDefinition[];
|
|
35
|
+
turnoverGroups: TurnoverGroupImage[];
|
|
36
|
+
showCollectionOverlay: boolean;
|
|
37
|
+
showExternalOverlay: boolean;
|
|
38
|
+
get internalList(): any[];
|
|
39
|
+
get externalList(): any[];
|
|
40
|
+
private _subs;
|
|
41
|
+
constructor(iconCache: IconCacheService, catalogService: CatalogService, _appEventService: CatalogEventService, _adapterService: CatalogConnectorAdapterService);
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
ngOnDestroy(): void;
|
|
44
|
+
getCategories(): Promise<void>;
|
|
45
|
+
getExternalSources(): Promise<void>;
|
|
46
|
+
prepareTurnoverGroups(): void;
|
|
47
|
+
handleCategoryClick(event: MouseEvent, category: string): void;
|
|
48
|
+
handleTurnoverGroupClick(event: MouseEvent, turnovergroupNr: string): void;
|
|
49
|
+
handleExternalSourceClick(externalSource: ExternalSourceViewmodel): void;
|
|
50
|
+
onToggleMobileMenu(): void;
|
|
51
|
+
onSubMenuToggle(event: any): void;
|
|
52
|
+
onOpenSubMenu(event: MouseEvent): void;
|
|
53
|
+
onSetCategory(event: any, category: string): void;
|
|
54
|
+
onSetTurnoverGroup(event: any, turnoverGroup: string): void;
|
|
55
|
+
onOpenExternalCatalog(event: any, webviewUrl: string): void;
|
|
56
|
+
onOpenIoneCatalog(event: any, webviewUrl: string, ioneUrl: string, upId: string, userName: string, passWord: string): void;
|
|
57
|
+
handleHomeClick(event: MouseEvent): void;
|
|
58
|
+
handleShowCollectionOverlay(): void;
|
|
59
|
+
handleShowExternalOverlay(): void;
|
|
60
|
+
handleHideCollectionOverlay(): void;
|
|
61
|
+
handleHideExternalOverlay(): void;
|
|
62
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class CatalogNavigationModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class CatalogNavigationModule {
|
|
2
|
+
}
|
|
@@ -1,45 +1,45 @@
|
|
|
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
|
-
import { IconEnum } from '../../enum/icon.enum';
|
|
6
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
7
|
-
import { CatalogService } from '../../service/catalog.service';
|
|
8
|
-
import { CatalogSettingsService } from '../../service/catalog-settings.service';
|
|
9
|
-
import { ExternalSourceViewmodel } from '../../model/external-source-viewmodel';
|
|
10
|
-
export declare class CatalogSearchComponent implements OnInit, OnDestroy {
|
|
11
|
-
private _settingsService;
|
|
12
|
-
private _catalogService;
|
|
13
|
-
private _catalogSearchService;
|
|
14
|
-
private _catalogEventService;
|
|
15
|
-
iconCacheService: IconCacheService;
|
|
16
|
-
readonly icons: typeof IconEnum;
|
|
17
|
-
set settings(value: any);
|
|
18
|
-
title: string;
|
|
19
|
-
subTitle: string;
|
|
20
|
-
searchPlaceholder: string;
|
|
21
|
-
createFrozenArticle: boolean;
|
|
22
|
-
showNavigation: boolean;
|
|
23
|
-
showLandingPage: boolean;
|
|
24
|
-
showFilter: boolean;
|
|
25
|
-
showViewModes: boolean;
|
|
26
|
-
settingsChange: EventEmitter<any>;
|
|
27
|
-
onLookAtArticleButtonClick: EventEmitter<ArticleExtended>;
|
|
28
|
-
onArButtonClick: EventEmitter<ArticleExtended>;
|
|
29
|
-
onAddArticleButtonClick: EventEmitter<string | ArticleExtended>;
|
|
30
|
-
onArticleClick: EventEmitter<ArticleExtended>;
|
|
31
|
-
onStockDetailsClick: EventEmitter<ArticleExtended>;
|
|
32
|
-
onExternalSourceClick: EventEmitter<ExternalSourceViewmodel>;
|
|
33
|
-
showClass(): boolean;
|
|
34
|
-
mode: string;
|
|
35
|
-
showCategories: boolean;
|
|
36
|
-
private _subs;
|
|
37
|
-
private _settings;
|
|
38
|
-
constructor(_settingsService: CatalogSettingsService, _catalogService: CatalogService, _catalogSearchService: CatalogSearchService, _catalogEventService: CatalogEventService, iconCacheService: IconCacheService);
|
|
39
|
-
ngOnInit(): Promise<void>;
|
|
40
|
-
ngOnDestroy(): void;
|
|
41
|
-
handleHomeClick($event: any): void;
|
|
42
|
-
handleCategoryClick(category: string): void;
|
|
43
|
-
handleTurnoverGroupClick(turnoverGroup: string): void;
|
|
44
|
-
handleResetButtonClick(event: MouseEvent): void;
|
|
45
|
-
}
|
|
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
|
+
import { IconEnum } from '../../enum/icon.enum';
|
|
6
|
+
import { IconCacheService } from '../../service/icon-cache.service';
|
|
7
|
+
import { CatalogService } from '../../service/catalog.service';
|
|
8
|
+
import { CatalogSettingsService } from '../../service/catalog-settings.service';
|
|
9
|
+
import { ExternalSourceViewmodel } from '../../model/external-source-viewmodel';
|
|
10
|
+
export declare class CatalogSearchComponent implements OnInit, OnDestroy {
|
|
11
|
+
private _settingsService;
|
|
12
|
+
private _catalogService;
|
|
13
|
+
private _catalogSearchService;
|
|
14
|
+
private _catalogEventService;
|
|
15
|
+
iconCacheService: IconCacheService;
|
|
16
|
+
readonly icons: typeof IconEnum;
|
|
17
|
+
set settings(value: any);
|
|
18
|
+
title: string;
|
|
19
|
+
subTitle: string;
|
|
20
|
+
searchPlaceholder: string;
|
|
21
|
+
createFrozenArticle: boolean;
|
|
22
|
+
showNavigation: boolean;
|
|
23
|
+
showLandingPage: boolean;
|
|
24
|
+
showFilter: boolean;
|
|
25
|
+
showViewModes: boolean;
|
|
26
|
+
settingsChange: EventEmitter<any>;
|
|
27
|
+
onLookAtArticleButtonClick: EventEmitter<ArticleExtended>;
|
|
28
|
+
onArButtonClick: EventEmitter<ArticleExtended>;
|
|
29
|
+
onAddArticleButtonClick: EventEmitter<string | ArticleExtended>;
|
|
30
|
+
onArticleClick: EventEmitter<ArticleExtended>;
|
|
31
|
+
onStockDetailsClick: EventEmitter<ArticleExtended>;
|
|
32
|
+
onExternalSourceClick: EventEmitter<ExternalSourceViewmodel>;
|
|
33
|
+
showClass(): boolean;
|
|
34
|
+
mode: string;
|
|
35
|
+
showCategories: boolean;
|
|
36
|
+
private _subs;
|
|
37
|
+
private _settings;
|
|
38
|
+
constructor(_settingsService: CatalogSettingsService, _catalogService: CatalogService, _catalogSearchService: CatalogSearchService, _catalogEventService: CatalogEventService, iconCacheService: IconCacheService);
|
|
39
|
+
ngOnInit(): Promise<void>;
|
|
40
|
+
ngOnDestroy(): void;
|
|
41
|
+
handleHomeClick($event: any): void;
|
|
42
|
+
handleCategoryClick(category: string): void;
|
|
43
|
+
handleTurnoverGroupClick(turnoverGroup: string): void;
|
|
44
|
+
handleResetButtonClick(event: MouseEvent): void;
|
|
45
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
export declare class CatalogSearchModule {
|
|
3
|
-
static ForRoot(): ModuleWithProviders<CatalogSearchModule>;
|
|
4
|
-
}
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
export declare class CatalogSearchModule {
|
|
3
|
+
static ForRoot(): ModuleWithProviders<CatalogSearchModule>;
|
|
4
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { CatalogSearchService } from '../../service/catalog-search.service';
|
|
3
|
-
import { IconEnum } from '../../enum/icon.enum';
|
|
4
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
5
|
-
export declare class CatalogSearchHeaderComponent {
|
|
6
|
-
catalogSearchService: CatalogSearchService;
|
|
7
|
-
iconCacheService: IconCacheService;
|
|
8
|
-
readonly icons: typeof IconEnum;
|
|
9
|
-
placeholder: string;
|
|
10
|
-
filterIconClick: EventEmitter<void>;
|
|
11
|
-
showClass(): boolean;
|
|
12
|
-
constructor(catalogSearchService: CatalogSearchService, iconCacheService: IconCacheService);
|
|
13
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { CatalogSearchService } from '../../service/catalog-search.service';
|
|
3
|
+
import { IconEnum } from '../../enum/icon.enum';
|
|
4
|
+
import { IconCacheService } from '../../service/icon-cache.service';
|
|
5
|
+
export declare class CatalogSearchHeaderComponent {
|
|
6
|
+
catalogSearchService: CatalogSearchService;
|
|
7
|
+
iconCacheService: IconCacheService;
|
|
8
|
+
readonly icons: typeof IconEnum;
|
|
9
|
+
placeholder: string;
|
|
10
|
+
filterIconClick: EventEmitter<void>;
|
|
11
|
+
showClass(): boolean;
|
|
12
|
+
constructor(catalogSearchService: CatalogSearchService, iconCacheService: IconCacheService);
|
|
13
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class CatalogSearchHeaderModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class CatalogSearchHeaderModule {
|
|
2
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CatalogSearchBaseComponent } from '../base/catalog-search-base.component';
|
|
2
|
-
export declare class CatalogSearchResultListComponent extends CatalogSearchBaseComponent {
|
|
3
|
-
set viewChildren(children: any);
|
|
4
|
-
showClass(): boolean;
|
|
5
|
-
}
|
|
1
|
+
import { CatalogSearchBaseComponent } from '../base/catalog-search-base.component';
|
|
2
|
+
export declare class CatalogSearchResultListComponent extends CatalogSearchBaseComponent {
|
|
3
|
+
set viewChildren(children: any);
|
|
4
|
+
showClass(): boolean;
|
|
5
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class CatalogSearchResultListModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class CatalogSearchResultListModule {
|
|
2
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CatalogSearchBaseComponent } from '../base/catalog-search-base.component';
|
|
2
|
-
export declare class CatalogSearchResultTileComponent extends CatalogSearchBaseComponent {
|
|
3
|
-
set viewChildren(children: any);
|
|
4
|
-
showClass: boolean;
|
|
5
|
-
smallScrollbar: boolean;
|
|
6
|
-
}
|
|
1
|
+
import { CatalogSearchBaseComponent } from '../base/catalog-search-base.component';
|
|
2
|
+
export declare class CatalogSearchResultTileComponent extends CatalogSearchBaseComponent {
|
|
3
|
+
set viewChildren(children: any);
|
|
4
|
+
showClass: boolean;
|
|
5
|
+
smallScrollbar: boolean;
|
|
6
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class CatalogSearchResultTileModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class CatalogSearchResultTileModule {
|
|
2
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class ResponsiveTextComponent {
|
|
2
|
-
text: string;
|
|
3
|
-
showClass(): boolean;
|
|
4
|
-
}
|
|
1
|
+
export declare class ResponsiveTextComponent {
|
|
2
|
+
text: string;
|
|
3
|
+
showClass(): boolean;
|
|
4
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class ResponsiveTextModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class ResponsiveTextModule {
|
|
2
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
export declare class VisibilityObserverMasterDirective implements OnDestroy {
|
|
3
|
-
private _mapping;
|
|
4
|
-
private _observer;
|
|
5
|
-
constructor();
|
|
6
|
-
ngOnDestroy(): void;
|
|
7
|
-
add(element: HTMLElement, callback: Function): void;
|
|
8
|
-
remove(element: HTMLElement): void;
|
|
9
|
-
}
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
export declare class VisibilityObserverMasterDirective implements OnDestroy {
|
|
3
|
+
private _mapping;
|
|
4
|
+
private _observer;
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnDestroy(): void;
|
|
7
|
+
add(element: HTMLElement, callback: Function): void;
|
|
8
|
+
remove(element: HTMLElement): void;
|
|
9
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { VisibilityObserverMasterDirective } from './visibility-observer-master.directive';
|
|
3
|
-
export declare class VisibilityObserverDirective implements OnDestroy, OnInit {
|
|
4
|
-
observerEnabled: boolean;
|
|
5
|
-
isIntersecting: boolean;
|
|
6
|
-
IS_INTERSECTING: boolean;
|
|
7
|
-
IS_NOT_INTERSECTING: boolean;
|
|
8
|
-
private _elementRef;
|
|
9
|
-
private _parent;
|
|
10
|
-
constructor(parent: VisibilityObserverMasterDirective, elementRef: ElementRef);
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
}
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { VisibilityObserverMasterDirective } from './visibility-observer-master.directive';
|
|
3
|
+
export declare class VisibilityObserverDirective implements OnDestroy, OnInit {
|
|
4
|
+
observerEnabled: boolean;
|
|
5
|
+
isIntersecting: boolean;
|
|
6
|
+
IS_INTERSECTING: boolean;
|
|
7
|
+
IS_NOT_INTERSECTING: boolean;
|
|
8
|
+
private _elementRef;
|
|
9
|
+
private _parent;
|
|
10
|
+
constructor(parent: VisibilityObserverMasterDirective, elementRef: ElementRef);
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class VisibilityObserverModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class VisibilityObserverModule {
|
|
2
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface ExternalSettingsInterface {
|
|
2
|
-
name: string;
|
|
3
|
-
settings: any;
|
|
4
|
-
}
|
|
1
|
+
export interface ExternalSettingsInterface {
|
|
2
|
+
name: string;
|
|
3
|
+
settings: any;
|
|
4
|
+
}
|
package/lib/enum/icon.enum.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
/** AUTO GENERATED FILE. DO NOT CHANGE.. **/
|
|
2
|
-
export declare enum IconEnum {
|
|
3
|
-
AddToCartDrop = "add_to_cart_drop",
|
|
4
|
-
Ar = "ar",
|
|
5
|
-
ArrowScrollDown = "arrow_scroll_down",
|
|
6
|
-
ArrowScrollLeft = "arrow_scroll_left",
|
|
7
|
-
BarsFilter = "bars_filter",
|
|
8
|
-
Camera = "camera",
|
|
9
|
-
Cancel = "cancel",
|
|
10
|
-
Check = "check",
|
|
11
|
-
Close = "close",
|
|
12
|
-
Eye = "eye",
|
|
13
|
-
Filter = "filter",
|
|
14
|
-
FilterCircleLarge = "filter_circle_large",
|
|
15
|
-
GridView = "grid_view",
|
|
16
|
-
Hamburger = "hamburger",
|
|
17
|
-
ListView = "list_view",
|
|
18
|
-
MagicWand = "magic_wand",
|
|
19
|
-
Refresh = "refresh",
|
|
20
|
-
Search = "search",
|
|
21
|
-
SyncAlt = "sync_alt",
|
|
22
|
-
ThickLines = "thick_lines",
|
|
23
|
-
ThinLines = "thin_lines",
|
|
24
|
-
ThreeD = "three_d",
|
|
25
|
-
TileView = "tile_view",
|
|
26
|
-
Truck = "truck",
|
|
27
|
-
WebCatalog = "web_catalog"
|
|
28
|
-
}
|
|
1
|
+
/** AUTO GENERATED FILE. DO NOT CHANGE.. **/
|
|
2
|
+
export declare enum IconEnum {
|
|
3
|
+
AddToCartDrop = "add_to_cart_drop",
|
|
4
|
+
Ar = "ar",
|
|
5
|
+
ArrowScrollDown = "arrow_scroll_down",
|
|
6
|
+
ArrowScrollLeft = "arrow_scroll_left",
|
|
7
|
+
BarsFilter = "bars_filter",
|
|
8
|
+
Camera = "camera",
|
|
9
|
+
Cancel = "cancel",
|
|
10
|
+
Check = "check",
|
|
11
|
+
Close = "close",
|
|
12
|
+
Eye = "eye",
|
|
13
|
+
Filter = "filter",
|
|
14
|
+
FilterCircleLarge = "filter_circle_large",
|
|
15
|
+
GridView = "grid_view",
|
|
16
|
+
Hamburger = "hamburger",
|
|
17
|
+
ListView = "list_view",
|
|
18
|
+
MagicWand = "magic_wand",
|
|
19
|
+
Refresh = "refresh",
|
|
20
|
+
Search = "search",
|
|
21
|
+
SyncAlt = "sync_alt",
|
|
22
|
+
ThickLines = "thick_lines",
|
|
23
|
+
ThinLines = "thin_lines",
|
|
24
|
+
ThreeD = "three_d",
|
|
25
|
+
TileView = "tile_view",
|
|
26
|
+
Truck = "truck",
|
|
27
|
+
WebCatalog = "web_catalog"
|
|
28
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum LanguageCode {
|
|
2
|
-
Dutch = "nl-NL",
|
|
3
|
-
English = "en-GB",
|
|
4
|
-
German = "de-DE",
|
|
5
|
-
French = "fr-FR"
|
|
6
|
-
}
|
|
1
|
+
export declare enum LanguageCode {
|
|
2
|
+
Dutch = "nl-NL",
|
|
3
|
+
English = "en-GB",
|
|
4
|
+
German = "de-DE",
|
|
5
|
+
French = "fr-FR"
|
|
6
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
|
|
2
|
-
export declare class ArticlesSearchResult {
|
|
3
|
-
articles: ArticleExtended[];
|
|
4
|
-
count: number;
|
|
5
|
-
}
|
|
1
|
+
import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
|
|
2
|
+
export declare class ArticlesSearchResult {
|
|
3
|
+
articles: ArticleExtended[];
|
|
4
|
+
count: number;
|
|
5
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FilterViewmodel } from '@colijnit/corecomponents_v12';
|
|
2
|
-
export declare class CatalogFilterViewmodel extends FilterViewmodel {
|
|
3
|
-
filterName: string;
|
|
4
|
-
}
|
|
1
|
+
import { FilterViewmodel } from '@colijnit/corecomponents_v12';
|
|
2
|
+
export declare class CatalogFilterViewmodel extends FilterViewmodel {
|
|
3
|
+
filterName: string;
|
|
4
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
|
|
2
|
-
import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
|
|
3
|
-
export declare class ExternalSourceViewmodel {
|
|
4
|
-
catalogDefinition: CatalogDefinition;
|
|
5
|
-
externalSource: ExternalSource;
|
|
6
|
-
constructor(catalog: CatalogDefinition, source: ExternalSource);
|
|
7
|
-
}
|
|
1
|
+
import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
|
|
2
|
+
import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
|
|
3
|
+
export declare class ExternalSourceViewmodel {
|
|
4
|
+
catalogDefinition: CatalogDefinition;
|
|
5
|
+
externalSource: ExternalSource;
|
|
6
|
+
constructor(catalog: CatalogDefinition, source: ExternalSource);
|
|
7
|
+
}
|
package/lib/model/icon.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** AUTO GENERATED FILE. DO NOT CHANGE.. **/
|
|
2
|
-
export declare const IconSvg: {
|
|
3
|
-
[iconName: string]: string;
|
|
4
|
-
};
|
|
1
|
+
/** AUTO GENERATED FILE. DO NOT CHANGE.. **/
|
|
2
|
+
export declare const IconSvg: {
|
|
3
|
+
[iconName: string]: string;
|
|
4
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export declare class SettingsOptions {
|
|
2
|
-
showAddToCart: boolean;
|
|
3
|
-
initialCategory: string;
|
|
4
|
-
showPriceFilter: boolean;
|
|
5
|
-
showLookAtArticleButton: boolean;
|
|
6
|
-
showStockIndication: boolean;
|
|
7
|
-
lookAtArticleButtonText: string;
|
|
8
|
-
stockButtonText: string;
|
|
9
|
-
showAddArticleButton: boolean;
|
|
10
|
-
showARButton: boolean;
|
|
11
|
-
maxItemsPerPage: number;
|
|
12
|
-
addArticleButtonText: string;
|
|
13
|
-
sortTurnoverGroupsByAlphabet: boolean;
|
|
14
|
-
searchOnStart: boolean;
|
|
15
|
-
showFilter: boolean;
|
|
16
|
-
showNavigation: boolean;
|
|
17
|
-
}
|
|
1
|
+
export declare class SettingsOptions {
|
|
2
|
+
showAddToCart: boolean;
|
|
3
|
+
initialCategory: string;
|
|
4
|
+
showPriceFilter: boolean;
|
|
5
|
+
showLookAtArticleButton: boolean;
|
|
6
|
+
showStockIndication: boolean;
|
|
7
|
+
lookAtArticleButtonText: string;
|
|
8
|
+
stockButtonText: string;
|
|
9
|
+
showAddArticleButton: boolean;
|
|
10
|
+
showARButton: boolean;
|
|
11
|
+
maxItemsPerPage: number;
|
|
12
|
+
addArticleButtonText: string;
|
|
13
|
+
sortTurnoverGroupsByAlphabet: boolean;
|
|
14
|
+
searchOnStart: boolean;
|
|
15
|
+
showFilter: boolean;
|
|
16
|
+
showNavigation: boolean;
|
|
17
|
+
}
|
package/lib/model/settings.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { SettingsOptions } from './settings-options';
|
|
2
|
-
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
3
|
-
import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
|
|
4
|
-
export declare class CatalogSettings extends Options {
|
|
5
|
-
additionalTranslationFile: string;
|
|
6
|
-
type: string;
|
|
7
|
-
createWebOrder: boolean;
|
|
8
|
-
catalogParameters: ArticleExtendedRequest;
|
|
9
|
-
options: SettingsOptions;
|
|
10
|
-
useLoginEncryption: boolean;
|
|
11
|
-
}
|
|
1
|
+
import { SettingsOptions } from './settings-options';
|
|
2
|
+
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
3
|
+
import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
|
|
4
|
+
export declare class CatalogSettings extends Options {
|
|
5
|
+
additionalTranslationFile: string;
|
|
6
|
+
type: string;
|
|
7
|
+
createWebOrder: boolean;
|
|
8
|
+
catalogParameters: ArticleExtendedRequest;
|
|
9
|
+
options: SettingsOptions;
|
|
10
|
+
useLoginEncryption: boolean;
|
|
11
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DictionaryService } from '../service/dictionary.service';
|
|
3
|
-
export declare class LocalizePipe implements PipeTransform {
|
|
4
|
-
private _dictionaryService;
|
|
5
|
-
constructor(_dictionaryService: DictionaryService);
|
|
6
|
-
transform(value: string, upperCaseFirst?: boolean, replace?: string | string[]): string;
|
|
7
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { DictionaryService } from '../service/dictionary.service';
|
|
3
|
+
export declare class LocalizePipe implements PipeTransform {
|
|
4
|
+
private _dictionaryService;
|
|
5
|
+
constructor(_dictionaryService: DictionaryService);
|
|
6
|
+
transform(value: string, upperCaseFirst?: boolean, replace?: string | string[]): string;
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class PipeModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class PipeModule {
|
|
2
|
+
}
|