@colijnit/catalog 262.1.11 → 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 +86 -63
- package/fesm2022/colijnit-catalog.mjs.map +1 -1
- package/index.d.ts +21 -15
- package/package.json +1 -1
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;
|
|
@@ -629,7 +643,7 @@ declare class CatalogSearchService implements OnDestroy {
|
|
|
629
643
|
private _turnoverGroup;
|
|
630
644
|
private _subs;
|
|
631
645
|
private _presetApplied;
|
|
632
|
-
constructor(_filterService: CatalogFilterService, _catalogConnectorService: CatalogConnectorService, _catalogConnectorAdapterService: CatalogConnectorAdapterService, _settingsService: CatalogSettingsService, _optionService: CatalogOptionsService, _promptService: PromptService);
|
|
646
|
+
constructor(_filterService: CatalogFilterService, _catalogConnectorService: CatalogConnectorService, _catalogConnectorAdapterService: CatalogConnectorAdapterService, _settingsService: CatalogSettingsService, _optionService: CatalogOptionsService, _promptService: PromptService, _screenConfigService: CatalogScreenConfigurationService);
|
|
633
647
|
ngOnDestroy(): void;
|
|
634
648
|
searchArticles(resetPaging?: boolean): void;
|
|
635
649
|
/**
|
|
@@ -643,25 +657,17 @@ declare class CatalogSearchService implements OnDestroy {
|
|
|
643
657
|
handleResetFilter(): void;
|
|
644
658
|
private _clearCache;
|
|
645
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;
|
|
646
665
|
private _setRequestParametersAndProps;
|
|
647
666
|
private _resetRequestParametersAndProps;
|
|
648
667
|
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogSearchService, never>;
|
|
649
668
|
static ɵprov: i0.ɵɵInjectableDeclaration<CatalogSearchService>;
|
|
650
669
|
}
|
|
651
670
|
|
|
652
|
-
declare class CatalogScreenConfigurationService extends BaseModuleScreenConfigService {
|
|
653
|
-
private _catalogAdapterService;
|
|
654
|
-
readonly screenModuleName: string;
|
|
655
|
-
private _screenConfigurationObjectCache;
|
|
656
|
-
constructor(_catalogAdapterService: CatalogConnectorAdapterService);
|
|
657
|
-
clear(): void;
|
|
658
|
-
protected loadConfigForModule(params: string[], insertRights?: boolean): Promise<ObjectConfiguration[]>;
|
|
659
|
-
private _setScreenConfigurationObjectCache;
|
|
660
|
-
private _screenConfigurationLoaded;
|
|
661
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogScreenConfigurationService, never>;
|
|
662
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CatalogScreenConfigurationService>;
|
|
663
|
-
}
|
|
664
|
-
|
|
665
671
|
declare class CatalogService extends BaseModuleService {
|
|
666
672
|
protected connector: CatalogConnectorService;
|
|
667
673
|
protected connectorAdapter: CatalogConnectorAdapterService;
|