@colijnit/catalog 262.1.7 → 262.1.9
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 +25 -80
- package/fesm2022/colijnit-catalog.mjs.map +1 -1
- package/index.d.ts +9 -18
- package/package.json +1 -1
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,6 +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';
|
|
40
|
+
import { ExternalSourceInfo } from '@colijnit/articleapi/build/model/external-source-info.bo';
|
|
42
41
|
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
43
42
|
import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
|
|
44
43
|
import { AvaliableCatalogs } from '@colijnit/articleapi/build/model/catalogs-available.bo';
|
|
@@ -263,7 +262,7 @@ declare class CatalogConnectorAdapterService implements OnDestroy {
|
|
|
263
262
|
getArticlesForStockComparisonSearchGrid(params: ArticleStockComparisonSearchRequest, showLoader?: boolean): Promise<ArticleStockComparisonSearchGridResult>;
|
|
264
263
|
getComparisonArticleGridViewExcelFile(params: ArticleStockComparisonSearchRequest, showLoader?: boolean): Promise<any[]>;
|
|
265
264
|
getCatalogDefinitions(showLoader?: boolean): Promise<CatalogDefinition[]>;
|
|
266
|
-
getExternalSource(externalSourceId: number, showLoader?: boolean): Promise<
|
|
265
|
+
getExternalSource(externalSourceId: number, showLoader?: boolean): Promise<ExternalSourceInfo>;
|
|
267
266
|
getCatalogFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
|
|
268
267
|
getPriceFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterMaxAndMinPrice>;
|
|
269
268
|
getArticleGroupsFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
|
|
@@ -288,10 +287,6 @@ declare class CatalogConnectorAdapterService implements OnDestroy {
|
|
|
288
287
|
getCategoryTypes(): Promise<CategoryType[]>;
|
|
289
288
|
getCategoryDesigns(): Promise<CategoryDesign[]>;
|
|
290
289
|
getAvailabeCatalogsForLoggedInUser(embedded: boolean, overrideBranchId: number): Promise<any>;
|
|
291
|
-
getPresets(module?: string, user?: string): Promise<Preset[]>;
|
|
292
|
-
getPreset(presetId: string): Promise<Preset>;
|
|
293
|
-
savePreset(preset: Preset): Promise<boolean>;
|
|
294
|
-
updatePreset(presetName: string): Promise<boolean>;
|
|
295
290
|
getWebViewStartupInfo(request: ExternalCatalogStartupInfoRequest): Promise<ExternalCatalogStartupInfo>;
|
|
296
291
|
getSelectorArticleThumbnail(documentId: number): Promise<string>;
|
|
297
292
|
getArtStockStatus(goodId: number): Promise<number>;
|
|
@@ -485,7 +480,7 @@ declare class CatalogConnectorService {
|
|
|
485
480
|
getArticlesForStockComparisonSearchGrid(params: ArticleStockComparisonSearchRequest, showLoader?: boolean): Promise<ArticleStockComparisonSearchGridResult>;
|
|
486
481
|
getComparisonArticleGridViewExcelFile(params: ArticleStockComparisonSearchRequest, showLoader?: boolean): Promise<any[]>;
|
|
487
482
|
getCatalogDefinitions(showLoader?: boolean): Promise<CatalogDefinition[]>;
|
|
488
|
-
getExternalSource(externalSourceId: number, showLoader?: boolean): Promise<
|
|
483
|
+
getExternalSource(externalSourceId: number, showLoader?: boolean): Promise<ExternalSourceInfo>;
|
|
489
484
|
getCatalogFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
|
|
490
485
|
getPriceFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterMaxAndMinPrice>;
|
|
491
486
|
getArticleGroupsFilter(params: ArticleExtendedRequest): Promise<ArticleSearchFilterSelections>;
|
|
@@ -512,10 +507,6 @@ declare class CatalogConnectorService {
|
|
|
512
507
|
getCategoryTypes(): Promise<CategoryType[]>;
|
|
513
508
|
getCategoryDesigns(): Promise<CategoryDesign[]>;
|
|
514
509
|
getAvailabeCatalogsForLoggedInUser(embedded: boolean, overrideBranchId: number): Promise<AvaliableCatalogs[]>;
|
|
515
|
-
getPresets(module?: string, user?: string): Promise<Preset[]>;
|
|
516
|
-
getPreset(presetId: string): Promise<Preset>;
|
|
517
|
-
savePreset(preset: Preset): Promise<boolean>;
|
|
518
|
-
updatePreset(presetName: string): Promise<boolean>;
|
|
519
510
|
getWebViewStartupInfo(request: ExternalCatalogStartupInfoRequest): Promise<ExternalCatalogStartupInfo>;
|
|
520
511
|
getDocumentContent(docId: number, thumbnail?: boolean): Promise<string>;
|
|
521
512
|
getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
|
|
@@ -532,8 +523,8 @@ declare class CatalogConnectorService {
|
|
|
532
523
|
|
|
533
524
|
declare class ExternalSourceViewmodel {
|
|
534
525
|
catalogDefinition: CatalogDefinition;
|
|
535
|
-
externalSource:
|
|
536
|
-
constructor(catalog: CatalogDefinition, source:
|
|
526
|
+
externalSource: ExternalSourceInfo;
|
|
527
|
+
constructor(catalog: CatalogDefinition, source: ExternalSourceInfo);
|
|
537
528
|
}
|
|
538
529
|
|
|
539
530
|
declare class CatalogOptionsService implements OnDestroy {
|
|
@@ -1384,7 +1375,7 @@ declare class CatalogSearchComponent implements OnInit, OnDestroy {
|
|
|
1384
1375
|
popupFilter: boolean;
|
|
1385
1376
|
showViewModes: boolean;
|
|
1386
1377
|
embedded: boolean;
|
|
1387
|
-
externalSource:
|
|
1378
|
+
externalSource: ExternalSourceInfo;
|
|
1388
1379
|
isReturn: boolean;
|
|
1389
1380
|
currentTransactionBranchId: number;
|
|
1390
1381
|
/**
|
|
@@ -1448,7 +1439,7 @@ declare class CatalogSearchHeaderModule {
|
|
|
1448
1439
|
declare abstract class CatalogSearchBaseComponent {
|
|
1449
1440
|
catalogSearchService: CatalogSearchService;
|
|
1450
1441
|
createFrozenArticle: boolean;
|
|
1451
|
-
externalSource:
|
|
1442
|
+
externalSource: ExternalSourceInfo;
|
|
1452
1443
|
onLookAtArticleButtonClick: EventEmitter<ArticleExtended>;
|
|
1453
1444
|
onArButtonClick: EventEmitter<ArticleExtended>;
|
|
1454
1445
|
onAddArticleButtonClick: EventEmitter<string | ArticleExtended>;
|
|
@@ -1502,7 +1493,7 @@ declare abstract class ArticleBaseComponent implements OnInit {
|
|
|
1502
1493
|
isSmallModus: boolean;
|
|
1503
1494
|
hasMagnifierButton: boolean;
|
|
1504
1495
|
hasInfoButton: boolean;
|
|
1505
|
-
externalSource:
|
|
1496
|
+
externalSource: ExternalSourceInfo;
|
|
1506
1497
|
onLookAtArticleButtonClick: EventEmitter<ArticleExtended>;
|
|
1507
1498
|
onArButtonClick: EventEmitter<ArticleExtended>;
|
|
1508
1499
|
onArticleCheckboxClicked: EventEmitter<{
|
|
@@ -1689,7 +1680,7 @@ declare class CatalogExternalSourceComponent implements OnInit {
|
|
|
1689
1680
|
loaded: boolean;
|
|
1690
1681
|
externalUrl: string;
|
|
1691
1682
|
externalSettings: any;
|
|
1692
|
-
externalSource:
|
|
1683
|
+
externalSource: ExternalSourceInfo;
|
|
1693
1684
|
private _externalCatalogStartupInfo;
|
|
1694
1685
|
private _subs;
|
|
1695
1686
|
constructor(_sanitizer: DomSanitizer, _catalogConnectorService: CatalogConnectorService, _appEventService: CatalogEventService);
|