@colijnit/catalog 255.1.11 → 255.1.13
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 +186 -106
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.d.ts +25 -24
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/colijnit-catalog.js +26 -25
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/component/catalog-external-source/catalog-external-source.component.js +4 -1
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.component.js +19 -19
- package/esm2015/lib/component/catalog-search/catalog-search.component.js +41 -37
- package/esm2015/lib/component/catalog-search/catalog-search.module.js +1 -1
- package/esm2015/lib/service/catalog-connector-adapter.service.js +15 -1
- package/esm2015/lib/service/catalog-screen-configuration.service.js +48 -0
- package/esm2015/lib/service/catalog.service.js +15 -9
- package/fesm2015/colijnit-catalog.js +126 -61
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/component/catalog-external-source/catalog-external-source.component.d.ts +1 -0
- package/lib/component/catalog-filter/style/_layout.scss +3 -0
- package/lib/component/catalog-search/catalog-search.component.d.ts +7 -2
- package/lib/service/catalog-connector-adapter.service.d.ts +3 -0
- package/lib/service/catalog-screen-configuration.service.d.ts +13 -0
- package/lib/service/catalog.service.d.ts +5 -2
- package/lib/style/_variables.scss +1 -1
- package/package.json +1 -1
- package/colijnit-catalog-255.1.11.tgz +0 -0
|
@@ -4,15 +4,17 @@ import { CatalogEventService } from '../../service/catalog-event.service';
|
|
|
4
4
|
import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
|
|
5
5
|
import { IconEnum } from '../../enum/icon.enum';
|
|
6
6
|
import { IconCacheService } from '../../service/icon-cache.service';
|
|
7
|
+
import { CatalogConnectorAdapterService } from '../../service/catalog-connector-adapter.service';
|
|
7
8
|
import { CatalogService } from '../../service/catalog.service';
|
|
8
9
|
import { CatalogSettingsService } from '../../service/catalog-settings.service';
|
|
9
10
|
import { ExternalSourceViewmodel } from '../../model/external-source-viewmodel';
|
|
10
|
-
import {
|
|
11
|
+
import { CatalogScreenConfigurationService } from "../../service/catalog-screen-configuration.service";
|
|
11
12
|
export declare class CatalogSearchComponent implements OnInit, OnDestroy {
|
|
12
13
|
private _settingsService;
|
|
13
14
|
private _catalogService;
|
|
14
15
|
private _catalogSearchService;
|
|
15
16
|
private _catalogEventService;
|
|
17
|
+
private _catalogAdapterService;
|
|
16
18
|
iconCacheService: IconCacheService;
|
|
17
19
|
private _cfgService;
|
|
18
20
|
readonly icons: typeof IconEnum;
|
|
@@ -24,6 +26,7 @@ export declare class CatalogSearchComponent implements OnInit, OnDestroy {
|
|
|
24
26
|
showNavigation: boolean;
|
|
25
27
|
showLandingPage: boolean;
|
|
26
28
|
showFilter: boolean;
|
|
29
|
+
tempFilter: boolean;
|
|
27
30
|
showViewModes: boolean;
|
|
28
31
|
settingsChange: EventEmitter<any>;
|
|
29
32
|
onLookAtArticleButtonClick: EventEmitter<ArticleExtended>;
|
|
@@ -35,13 +38,15 @@ export declare class CatalogSearchComponent implements OnInit, OnDestroy {
|
|
|
35
38
|
showClass(): boolean;
|
|
36
39
|
mode: string;
|
|
37
40
|
showCategories: boolean;
|
|
41
|
+
configLoaded: boolean;
|
|
38
42
|
private _subs;
|
|
39
43
|
private _settings;
|
|
40
|
-
constructor(_settingsService: CatalogSettingsService, _catalogService: CatalogService, _catalogSearchService: CatalogSearchService, _catalogEventService: CatalogEventService, iconCacheService: IconCacheService, _cfgService:
|
|
44
|
+
constructor(_settingsService: CatalogSettingsService, _catalogService: CatalogService, _catalogSearchService: CatalogSearchService, _catalogEventService: CatalogEventService, _catalogAdapterService: CatalogConnectorAdapterService, iconCacheService: IconCacheService, _cfgService: CatalogScreenConfigurationService);
|
|
41
45
|
ngOnInit(): Promise<void>;
|
|
42
46
|
ngOnDestroy(): void;
|
|
43
47
|
handleHomeClick($event: any): void;
|
|
44
48
|
handleCategoryClick(category: string): void;
|
|
45
49
|
handleTurnoverGroupClick(turnoverGroup: string): void;
|
|
46
50
|
handleResetButtonClick(event: MouseEvent): void;
|
|
51
|
+
showTempFilter(): void;
|
|
47
52
|
}
|
|
@@ -33,6 +33,7 @@ import { ArticleStockTransferSearchTileResult } from '../model/article-stock-tra
|
|
|
33
33
|
import { ArticleStockTransferSearchRequest } from '@colijnit/articleapi/build/model/article-stock-transfer-search-request';
|
|
34
34
|
import { ArticleStockComparisonSearchTileResult } from '../model/article-stock-comparison-search-tile-result';
|
|
35
35
|
import { ArticleStockComparisonSearchGridResult } from '../model/article-stock-comparison-search-grid-result';
|
|
36
|
+
import { ObjectConfiguration } from "@colijnit/ioneconnector/build/model/object-configuration";
|
|
36
37
|
export declare class CatalogConnectorAdapterService {
|
|
37
38
|
get shouldShowLoader(): boolean;
|
|
38
39
|
controllerInitialized: BehaviorSubject<boolean>;
|
|
@@ -46,6 +47,7 @@ export declare class CatalogConnectorAdapterService {
|
|
|
46
47
|
private _shouldShowLoader;
|
|
47
48
|
private _initializing;
|
|
48
49
|
private _initialized;
|
|
50
|
+
constructor();
|
|
49
51
|
ngOnDestroy(): void;
|
|
50
52
|
initConnector(settings?: any, forceReload?: boolean): Promise<void>;
|
|
51
53
|
getCatalogBundleSettings(url: string, upId: number): Promise<string>;
|
|
@@ -94,5 +96,6 @@ export declare class CatalogConnectorAdapterService {
|
|
|
94
96
|
getDocumentContent(docId: number, thumbnail?: boolean): Promise<string>;
|
|
95
97
|
addWebSessionTransactionLine(transactionUuid: string, sku: string, quantity: number): Promise<string>;
|
|
96
98
|
getJsonArticleFlatTree(goodId: number, goodType: string, quantity: number, showLoader?: boolean, instanceId?: number, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
|
|
99
|
+
getObjectConfiguration(screenCfgModule: string, params?: string | string[], insertMode?: boolean): Promise<ObjectConfiguration[]>;
|
|
97
100
|
onShowLoaderChange(showLoader: boolean): void;
|
|
98
101
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ObjectConfiguration } from '@colijnit/ioneconnector/build/model/object-configuration';
|
|
2
|
+
import { BaseModuleScreenConfigService } from '@colijnit/corecomponents_v12';
|
|
3
|
+
import { CatalogConnectorAdapterService } from "./catalog-connector-adapter.service";
|
|
4
|
+
export declare class CatalogScreenConfigurationService extends BaseModuleScreenConfigService {
|
|
5
|
+
private _catalogAdapterService;
|
|
6
|
+
readonly screenModuleName: string;
|
|
7
|
+
private _screenConfigurationObjectCache;
|
|
8
|
+
constructor(_catalogAdapterService: CatalogConnectorAdapterService);
|
|
9
|
+
clear(): void;
|
|
10
|
+
protected loadConfigForModule(params: string[], insertRights?: boolean): Promise<ObjectConfiguration[]>;
|
|
11
|
+
private _setScreenConfigurationObjectCache;
|
|
12
|
+
private _screenConfigurationLoaded;
|
|
13
|
+
}
|
|
@@ -11,9 +11,12 @@ import { ArticleCategory } from '@colijnit/articleapi/build/model/article-catego
|
|
|
11
11
|
import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-group-image.bo';
|
|
12
12
|
import { CatalogSearchService } from './catalog-search.service';
|
|
13
13
|
import { CatalogConnectorAdapterService } from './catalog-connector-adapter.service';
|
|
14
|
-
|
|
14
|
+
import { BaseModuleService } from "@colijnit/corecomponents_v12";
|
|
15
|
+
import { CatalogScreenConfigurationService } from "./catalog-screen-configuration.service";
|
|
16
|
+
export declare class CatalogService extends BaseModuleService {
|
|
15
17
|
protected connector: CatalogConnectorService;
|
|
16
18
|
protected connectorAdapter: CatalogConnectorAdapterService;
|
|
19
|
+
protected screenConfigService: CatalogScreenConfigurationService;
|
|
17
20
|
settingsService: CatalogSettingsService;
|
|
18
21
|
private optionsService;
|
|
19
22
|
private _imageService;
|
|
@@ -61,7 +64,7 @@ export declare class CatalogService {
|
|
|
61
64
|
private _subs;
|
|
62
65
|
private defaultOptions;
|
|
63
66
|
private _currentOrderBy;
|
|
64
|
-
constructor(connector: CatalogConnectorService, connectorAdapter: CatalogConnectorAdapterService, settingsService: CatalogSettingsService, optionsService: CatalogOptionsService, _imageService: CatalogImageService, _filterService: CatalogFilterService, _catalogSearchService: CatalogSearchService);
|
|
67
|
+
constructor(connector: CatalogConnectorService, connectorAdapter: CatalogConnectorAdapterService, screenConfigService: CatalogScreenConfigurationService, settingsService: CatalogSettingsService, optionsService: CatalogOptionsService, _imageService: CatalogImageService, _filterService: CatalogFilterService, _catalogSearchService: CatalogSearchService);
|
|
65
68
|
ngOnDestroy(): void;
|
|
66
69
|
init(settings: any, forceReload?: boolean): Promise<void>;
|
|
67
70
|
initConnector(settings: any, forceReload?: boolean): Promise<void>;
|
package/package.json
CHANGED
|
Binary file
|