@colijnit/catalog 262.1.10 → 262.1.12
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/fesm2022/colijnit-catalog.mjs +101 -67
- package/fesm2022/colijnit-catalog.mjs.map +1 -1
- package/index.d.ts +27 -15
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ import { CategoryDesign } from '@colijnit/articleapi/build/model/category-design
|
|
|
35
35
|
import { CoDocument } from '@colijnit/mainapi/build/model/co-document.bo';
|
|
36
36
|
import { ImageContent } from '@colijnit/mainapi/build/model/image-content.bo';
|
|
37
37
|
import * as i3 from '@colijnit/corecomponents_v12';
|
|
38
|
-
import { FilterItemViewmodel, FilterViewmodel, ContentViewMode, PromptService,
|
|
38
|
+
import { FilterItemViewmodel, FilterViewmodel, BaseModuleScreenConfigService, ContentViewMode, PromptService, BaseModuleService, FilterItemMode } from '@colijnit/corecomponents_v12';
|
|
39
39
|
import { WarehouseShort } from '@colijnit/mainapi/build/model/warehouse-short.bo';
|
|
40
40
|
import { ExternalSourceInfo } from '@colijnit/articleapi/build/model/external-source-info.bo';
|
|
41
41
|
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
@@ -600,6 +600,19 @@ declare class CatalogFilterService {
|
|
|
600
600
|
static ɵprov: i0.ɵɵInjectableDeclaration<CatalogFilterService>;
|
|
601
601
|
}
|
|
602
602
|
|
|
603
|
+
declare class CatalogScreenConfigurationService extends BaseModuleScreenConfigService {
|
|
604
|
+
private _catalogAdapterService;
|
|
605
|
+
readonly screenModuleName: string;
|
|
606
|
+
private _screenConfigurationObjectCache;
|
|
607
|
+
constructor(_catalogAdapterService: CatalogConnectorAdapterService);
|
|
608
|
+
clear(): void;
|
|
609
|
+
protected loadConfigForModule(params: string[], insertRights?: boolean): Promise<ObjectConfiguration[]>;
|
|
610
|
+
private _setScreenConfigurationObjectCache;
|
|
611
|
+
private _screenConfigurationLoaded;
|
|
612
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogScreenConfigurationService, never>;
|
|
613
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CatalogScreenConfigurationService>;
|
|
614
|
+
}
|
|
615
|
+
|
|
603
616
|
declare class CatalogSearchService implements OnDestroy {
|
|
604
617
|
private _filterService;
|
|
605
618
|
private _catalogConnectorService;
|
|
@@ -607,6 +620,7 @@ declare class CatalogSearchService implements OnDestroy {
|
|
|
607
620
|
private _settingsService;
|
|
608
621
|
private _optionService;
|
|
609
622
|
private _promptService;
|
|
623
|
+
private _screenConfigService;
|
|
610
624
|
searchRequest: ArticleExtendedRequest;
|
|
611
625
|
activeContentViewMode: ContentViewMode;
|
|
612
626
|
showFilterSidebar: boolean;
|
|
@@ -628,34 +642,32 @@ declare class CatalogSearchService implements OnDestroy {
|
|
|
628
642
|
private _category;
|
|
629
643
|
private _turnoverGroup;
|
|
630
644
|
private _subs;
|
|
631
|
-
|
|
645
|
+
private _presetApplied;
|
|
646
|
+
constructor(_filterService: CatalogFilterService, _catalogConnectorService: CatalogConnectorService, _catalogConnectorAdapterService: CatalogConnectorAdapterService, _settingsService: CatalogSettingsService, _optionService: CatalogOptionsService, _promptService: PromptService, _screenConfigService: CatalogScreenConfigurationService);
|
|
632
647
|
ngOnDestroy(): void;
|
|
633
648
|
searchArticles(resetPaging?: boolean): void;
|
|
649
|
+
/**
|
|
650
|
+
* Applies the given (preset) searchRequest and searches for articles based on that request.
|
|
651
|
+
* While a preset is applied, entering a search term keeps the request intact.
|
|
652
|
+
*/
|
|
653
|
+
applySearchRequest(searchRequest: ArticleExtendedRequest): void;
|
|
634
654
|
resetFilters(search?: boolean): void;
|
|
635
655
|
toggleFilter(): void;
|
|
636
656
|
handleHideFilter(): void;
|
|
637
657
|
handleResetFilter(): void;
|
|
638
658
|
private _clearCache;
|
|
639
659
|
private _resetRequest;
|
|
660
|
+
/**
|
|
661
|
+
* Screen configuration default values take precedence over the (startup) parameters.
|
|
662
|
+
* Without a screen configuration default, the (startup) parameter value is kept.
|
|
663
|
+
*/
|
|
664
|
+
private _applyScreenConfigDefaults;
|
|
640
665
|
private _setRequestParametersAndProps;
|
|
641
666
|
private _resetRequestParametersAndProps;
|
|
642
667
|
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogSearchService, never>;
|
|
643
668
|
static ɵprov: i0.ɵɵInjectableDeclaration<CatalogSearchService>;
|
|
644
669
|
}
|
|
645
670
|
|
|
646
|
-
declare class CatalogScreenConfigurationService extends BaseModuleScreenConfigService {
|
|
647
|
-
private _catalogAdapterService;
|
|
648
|
-
readonly screenModuleName: string;
|
|
649
|
-
private _screenConfigurationObjectCache;
|
|
650
|
-
constructor(_catalogAdapterService: CatalogConnectorAdapterService);
|
|
651
|
-
clear(): void;
|
|
652
|
-
protected loadConfigForModule(params: string[], insertRights?: boolean): Promise<ObjectConfiguration[]>;
|
|
653
|
-
private _setScreenConfigurationObjectCache;
|
|
654
|
-
private _screenConfigurationLoaded;
|
|
655
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogScreenConfigurationService, never>;
|
|
656
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CatalogScreenConfigurationService>;
|
|
657
|
-
}
|
|
658
|
-
|
|
659
671
|
declare class CatalogService extends BaseModuleService {
|
|
660
672
|
protected connector: CatalogConnectorService;
|
|
661
673
|
protected connectorAdapter: CatalogConnectorAdapterService;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/catalog",
|
|
3
|
-
"version": "262.1.
|
|
3
|
+
"version": "262.1.12",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"description": "iOne Catalog module based on Angular
|
|
5
|
+
"description": "iOne Catalog module based on Angular 20",
|
|
6
6
|
"repository": "npm/npm",
|
|
7
7
|
"private": false,
|
|
8
8
|
"peerDependencies": {
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"@angular/platform-browser": ">=20.3.16",
|
|
16
16
|
"@angular/platform-browser-dynamic": ">=20.3.16",
|
|
17
17
|
"@angular/router": ">=20.3.16",
|
|
18
|
-
"@colijnit/articleapi": ">=262.1.0",
|
|
19
|
-
"@colijnit/transactionapi": ">=262.1.0",
|
|
20
|
-
"@colijnit/corecomponents_v12": ">=262.1.0",
|
|
21
|
-
"@colijnit/ioneconnector": ">=262.1.0",
|
|
22
|
-
"@colijnit/relationapi": ">=262.1.0",
|
|
23
|
-
"@colijnit/sharedcomponents": ">=262.1.25",
|
|
24
|
-
"@colijnit/mainapi": ">=262.1.19",
|
|
18
|
+
"@colijnit/articleapi": ">=262.1.0 < 263",
|
|
19
|
+
"@colijnit/transactionapi": ">=262.1.0 < 263",
|
|
20
|
+
"@colijnit/corecomponents_v12": ">=262.1.0 < 263",
|
|
21
|
+
"@colijnit/ioneconnector": ">=262.1.0 < 263",
|
|
22
|
+
"@colijnit/relationapi": ">=262.1.0 < 263",
|
|
23
|
+
"@colijnit/sharedcomponents": ">=262.1.25 < 263",
|
|
24
|
+
"@colijnit/mainapi": ">=262.1.19 < 263",
|
|
25
25
|
"core-js": ">=2.5.4",
|
|
26
26
|
"rxjs": ">=7.4.0",
|
|
27
27
|
"xlsx": ">=0.18.5",
|