@colijnit/catalog 300.1.0 → 300.1.1
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 +13 -72
- package/fesm2022/colijnit-catalog.mjs.map +1 -1
- package/index.d.ts +9 -19
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { LanguageCode } from '@colijnit/ioneconnector/build/enum/language-code.e
|
|
|
7
7
|
import { ArticleCategory } from '@colijnit/articleapi/build/model/article-category';
|
|
8
8
|
import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
|
|
9
9
|
import { ConfiguratorStatisticsEnvironment } from '@colijnit/articleapi/build/model/configurator-statistics-environment';
|
|
10
|
-
import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
|
|
11
10
|
import { ArticleSearchFilterSelections } from '@colijnit/articleapi/build/model/article-search-filter-selections';
|
|
12
11
|
import { ArticleSearchFilterMaxAndMinPrice } from '@colijnit/articleapi/build/model/article-search-filter-max-and-min-price';
|
|
13
12
|
import { ArticlePrice } from '@colijnit/articleapi/build/model/article-price';
|
|
@@ -20,7 +19,6 @@ import { DomainName } from '@colijnit/mainapi/build/enum/domain-name.enum';
|
|
|
20
19
|
import { RelationListObject } from '@colijnit/relationapi/build/model/relation-list-object.bo';
|
|
21
20
|
import { CoRVDomainValue } from '@colijnit/mainapi/build/model/co-rv-domain-value.bo';
|
|
22
21
|
import { Category as Category$1 } from '@colijnit/mainapi/build/model/category.bo';
|
|
23
|
-
import { Preset } from '@colijnit/mainapi/build/model/preset.bo';
|
|
24
22
|
import { UserGroup } from '@colijnit/mainapi/build/model/user-group.bo';
|
|
25
23
|
import { PriceList } from '@colijnit/transactionapi/build/model/price-list';
|
|
26
24
|
import { Transaction } from '@colijnit/transactionapi/build/transaction';
|
|
@@ -39,7 +37,7 @@ import { ImageContent } from '@colijnit/mainapi/build/model/image-content.bo';
|
|
|
39
37
|
import * as i3 from '@colijnit/corecomponents_v12';
|
|
40
38
|
import { FilterItemViewmodel, FilterViewmodel, ContentViewMode, PromptService, BaseModuleScreenConfigService, BaseModuleService, FilterItemMode } from '@colijnit/corecomponents_v12';
|
|
41
39
|
import { WarehouseShort } from '@colijnit/mainapi/build/model/warehouse-short.bo';
|
|
42
|
-
import {
|
|
40
|
+
import { ExternalSourceInfo } from '@colijnit/articleapi/build/model/external-source-info.bo';
|
|
43
41
|
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
44
42
|
import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
|
|
45
43
|
import { AvaliableCatalogs } from '@colijnit/articleapi/build/model/catalogs-available.bo';
|
|
@@ -264,7 +262,7 @@ declare class CatalogConnectorAdapterService implements OnDestroy {
|
|
|
264
262
|
getArticlesForStockComparisonSearchGrid(params: ArticleStockComparisonSearchRequest, showLoader?: boolean): Promise<ArticleStockComparisonSearchGridResult>;
|
|
265
263
|
getComparisonArticleGridViewExcelFile(params: ArticleStockComparisonSearchRequest, showLoader?: boolean): Promise<any[]>;
|
|
266
264
|
getCatalogDefinitions(showLoader?: boolean): Promise<CatalogDefinition[]>;
|
|
267
|
-
getExternalSource(externalSourceId: number, showLoader?: boolean): Promise<
|
|
265
|
+
getExternalSource(externalSourceId: number, showLoader?: boolean): Promise<ExternalSourceInfo>;
|
|
268
266
|
getCatalogFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
|
|
269
267
|
getPriceFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterMaxAndMinPrice>;
|
|
270
268
|
getArticleGroupsFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
|
|
@@ -289,10 +287,6 @@ declare class CatalogConnectorAdapterService implements OnDestroy {
|
|
|
289
287
|
getCategoryTypes(): Promise<CategoryType[]>;
|
|
290
288
|
getCategoryDesigns(): Promise<CategoryDesign[]>;
|
|
291
289
|
getAvailabeCatalogsForLoggedInUser(embedded: boolean, overrideBranchId: number): Promise<any>;
|
|
292
|
-
getPresets(request: PresetSearchRequest): Promise<Preset[]>;
|
|
293
|
-
getPreset(presetId: string): Promise<Preset>;
|
|
294
|
-
savePreset(preset: Preset): Promise<boolean>;
|
|
295
|
-
updatePreset(preset: Preset): Promise<boolean>;
|
|
296
290
|
getWebViewStartupInfo(request: ExternalCatalogStartupInfoRequest): Promise<ExternalCatalogStartupInfo>;
|
|
297
291
|
getSelectorArticleThumbnail(documentId: number): Promise<string>;
|
|
298
292
|
getArtStockStatus(goodId: number): Promise<number>;
|
|
@@ -486,7 +480,7 @@ declare class CatalogConnectorService {
|
|
|
486
480
|
getArticlesForStockComparisonSearchGrid(params: ArticleStockComparisonSearchRequest, showLoader?: boolean): Promise<ArticleStockComparisonSearchGridResult>;
|
|
487
481
|
getComparisonArticleGridViewExcelFile(params: ArticleStockComparisonSearchRequest, showLoader?: boolean): Promise<any[]>;
|
|
488
482
|
getCatalogDefinitions(showLoader?: boolean): Promise<CatalogDefinition[]>;
|
|
489
|
-
getExternalSource(externalSourceId: number, showLoader?: boolean): Promise<
|
|
483
|
+
getExternalSource(externalSourceId: number, showLoader?: boolean): Promise<ExternalSourceInfo>;
|
|
490
484
|
getCatalogFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
|
|
491
485
|
getPriceFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterMaxAndMinPrice>;
|
|
492
486
|
getArticleGroupsFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
|
|
@@ -513,10 +507,6 @@ declare class CatalogConnectorService {
|
|
|
513
507
|
getCategoryTypes(): Promise<CategoryType[]>;
|
|
514
508
|
getCategoryDesigns(): Promise<CategoryDesign[]>;
|
|
515
509
|
getAvailabeCatalogsForLoggedInUser(embedded: boolean, overrideBranchId: number): Promise<AvaliableCatalogs[]>;
|
|
516
|
-
getPresets(request: PresetSearchRequest): Promise<Preset[]>;
|
|
517
|
-
getPreset(presetId: string): Promise<Preset>;
|
|
518
|
-
savePreset(preset: Preset): Promise<boolean>;
|
|
519
|
-
updatePreset(preset: Preset): Promise<boolean>;
|
|
520
510
|
getWebViewStartupInfo(request: ExternalCatalogStartupInfoRequest): Promise<ExternalCatalogStartupInfo>;
|
|
521
511
|
getDocumentContent(docId: number, thumbnail?: boolean): Promise<string>;
|
|
522
512
|
getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
|
|
@@ -533,8 +523,8 @@ declare class CatalogConnectorService {
|
|
|
533
523
|
|
|
534
524
|
declare class ExternalSourceViewmodel {
|
|
535
525
|
catalogDefinition: CatalogDefinition;
|
|
536
|
-
externalSource:
|
|
537
|
-
constructor(catalog: CatalogDefinition, source:
|
|
526
|
+
externalSource: ExternalSourceInfo;
|
|
527
|
+
constructor(catalog: CatalogDefinition, source: ExternalSourceInfo);
|
|
538
528
|
}
|
|
539
529
|
|
|
540
530
|
declare class CatalogOptionsService implements OnDestroy {
|
|
@@ -1385,7 +1375,7 @@ declare class CatalogSearchComponent implements OnInit, OnDestroy {
|
|
|
1385
1375
|
popupFilter: boolean;
|
|
1386
1376
|
showViewModes: boolean;
|
|
1387
1377
|
embedded: boolean;
|
|
1388
|
-
externalSource:
|
|
1378
|
+
externalSource: ExternalSourceInfo;
|
|
1389
1379
|
isReturn: boolean;
|
|
1390
1380
|
currentTransactionBranchId: number;
|
|
1391
1381
|
/**
|
|
@@ -1449,7 +1439,7 @@ declare class CatalogSearchHeaderModule {
|
|
|
1449
1439
|
declare abstract class CatalogSearchBaseComponent {
|
|
1450
1440
|
catalogSearchService: CatalogSearchService;
|
|
1451
1441
|
createFrozenArticle: boolean;
|
|
1452
|
-
externalSource:
|
|
1442
|
+
externalSource: ExternalSourceInfo;
|
|
1453
1443
|
onLookAtArticleButtonClick: EventEmitter<ArticleExtended>;
|
|
1454
1444
|
onArButtonClick: EventEmitter<ArticleExtended>;
|
|
1455
1445
|
onAddArticleButtonClick: EventEmitter<string | ArticleExtended>;
|
|
@@ -1503,7 +1493,7 @@ declare abstract class ArticleBaseComponent implements OnInit {
|
|
|
1503
1493
|
isSmallModus: boolean;
|
|
1504
1494
|
hasMagnifierButton: boolean;
|
|
1505
1495
|
hasInfoButton: boolean;
|
|
1506
|
-
externalSource:
|
|
1496
|
+
externalSource: ExternalSourceInfo;
|
|
1507
1497
|
onLookAtArticleButtonClick: EventEmitter<ArticleExtended>;
|
|
1508
1498
|
onArButtonClick: EventEmitter<ArticleExtended>;
|
|
1509
1499
|
onArticleCheckboxClicked: EventEmitter<{
|
|
@@ -1690,7 +1680,7 @@ declare class CatalogExternalSourceComponent implements OnInit {
|
|
|
1690
1680
|
loaded: boolean;
|
|
1691
1681
|
externalUrl: string;
|
|
1692
1682
|
externalSettings: any;
|
|
1693
|
-
externalSource:
|
|
1683
|
+
externalSource: ExternalSourceInfo;
|
|
1694
1684
|
private _externalCatalogStartupInfo;
|
|
1695
1685
|
private _subs;
|
|
1696
1686
|
constructor(_sanitizer: DomSanitizer, _catalogConnectorService: CatalogConnectorService, _appEventService: CatalogEventService);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/catalog",
|
|
3
|
-
"version": "300.1.
|
|
3
|
+
"version": "300.1.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "iOne Catalog module based on Angular 12",
|
|
6
6
|
"repository": "npm/npm",
|
|
@@ -15,7 +15,7 @@
|
|
|
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": ">=300.1.
|
|
18
|
+
"@colijnit/articleapi": ">=300.1.1",
|
|
19
19
|
"@colijnit/transactionapi": ">=300.1.0",
|
|
20
20
|
"@colijnit/corecomponents_v12": ">=300.1.0",
|
|
21
21
|
"@colijnit/ioneconnector": ">=300.1.0",
|