@colijnit/catalog 257.1.17 → 258.1.0

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.
Files changed (27) hide show
  1. package/bundles/colijnit-catalog.umd.js +124 -58
  2. package/bundles/colijnit-catalog.umd.js.map +1 -1
  3. package/colijnit-catalog.d.ts +10 -8
  4. package/colijnit-catalog.metadata.json +1 -1
  5. package/esm2015/colijnit-catalog.js +11 -9
  6. package/esm2015/lib/catalog-version.js +3 -3
  7. package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.component.js +69 -57
  8. package/esm2015/lib/component/catalog-search/catalog-search.component.js +7 -4
  9. package/esm2015/lib/component/catalog-search/catalog-search.module.js +3 -1
  10. package/esm2015/lib/component/catalog-search-result-grid/catalog-search-result-grid.component.js +74 -0
  11. package/esm2015/lib/component/catalog-search-result-grid/catalog-search-result-grid.module.js +26 -0
  12. package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
  13. package/esm2015/lib/service/catalog-connector-adapter.service.js +4 -4
  14. package/esm2015/lib/service/catalog.service.js +3 -3
  15. package/fesm2015/colijnit-catalog.js +171 -64
  16. package/fesm2015/colijnit-catalog.js.map +1 -1
  17. package/lib/component/catalog-external-sources/catalog-external-sources.component.d.ts +10 -6
  18. package/lib/component/catalog-search-result-grid/catalog-search-result-grid.component.d.ts +7 -0
  19. package/lib/component/catalog-search-result-grid/catalog-search-result-grid.module.d.ts +2 -0
  20. package/lib/component/catalog-search-result-grid/style/_layout.scss +3 -0
  21. package/lib/component/catalog-search-result-grid/style/_material-definition.scss +0 -0
  22. package/lib/component/catalog-search-result-grid/style/_theme.scss +4 -0
  23. package/lib/component/catalog-search-result-grid/style/material.scss +4 -0
  24. package/lib/res/dictionary/dictionaries.d.ts +29 -0
  25. package/lib/service/catalog-connector-adapter.service.d.ts +3 -3
  26. package/lib/service/catalog.service.d.ts +2 -2
  27. package/package.json +7 -7
@@ -1,20 +1,24 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
3
3
  import { ExternalSourceViewmodel } from '../../model/external-source-viewmodel';
4
4
  import { CatalogConnectorService } from '../../service/catalog-connector.service';
5
5
  import { CatalogImageService } from '../../service/catalog-image.service';
6
- export declare class CatalogExternalSourcesComponent implements OnInit {
6
+ import { CatalogConnectorAdapterService } from '../../service/catalog-connector-adapter.service';
7
+ export declare class CatalogExternalSourcesComponent implements OnInit, OnDestroy {
7
8
  private _catalogConnectorService;
8
9
  private _imageService;
10
+ private _adapterService;
9
11
  isStandalone: boolean;
10
12
  roomplanner: boolean;
11
13
  externalSourceClick: EventEmitter<ExternalSourceViewmodel>;
12
14
  showClass(): boolean;
13
15
  externalSourceViewModels: ExternalSourceViewmodel[];
14
16
  unavailableCatalogs: CatalogDefinition[];
15
- private _settings;
16
- constructor(_catalogConnectorService: CatalogConnectorService, _imageService: CatalogImageService);
17
+ private _subs;
18
+ constructor(_catalogConnectorService: CatalogConnectorService, _imageService: CatalogImageService, _adapterService: CatalogConnectorAdapterService);
17
19
  ngOnInit(): Promise<void>;
18
- loadCatalogs(defs: CatalogDefinition[]): Promise<void>;
19
- loadUnavailableCatalogs(defs: CatalogDefinition[]): void;
20
+ ngOnDestroy(): void;
21
+ private _getCatalogs;
22
+ private _loadCatalogs;
23
+ private _loadUnavailableCatalogs;
20
24
  }
@@ -0,0 +1,7 @@
1
+ import { CatalogSearchService } from "../../service/catalog-search.service";
2
+ import { CatalogSearchBaseComponent } from "../base/catalog-search-base.component";
3
+ export declare class CatalogSearchResultGridComponent extends CatalogSearchBaseComponent {
4
+ catalogSearchService: CatalogSearchService;
5
+ showClass(): boolean;
6
+ constructor(catalogSearchService: CatalogSearchService);
7
+ }
@@ -0,0 +1,2 @@
1
+ export declare class CatalogSearchResultGridModule {
2
+ }
@@ -0,0 +1,3 @@
1
+ @include export-module('co-catalog-search-result-grid') {
2
+
3
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-catalog-search-result-grid-theme') {
2
+ .co-catalog-search-header {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -4576,6 +4576,7 @@ export declare class Dictionaries {
4576
4576
  MULTIPLE_INTERBRANCH_LINES_MESSAGE: string;
4577
4577
  MULTIPLE_PURCHASEORDERS: string;
4578
4578
  MULTIPLE_RESERVATIONS: string;
4579
+ MULTIPLE_SESSIONS_ARE_NOT_ALLOWED: string;
4579
4580
  MULTI_BUY: string;
4580
4581
  MULTI_FACTORIELE_INTAKE: string;
4581
4582
  MULTI_FACTOR_AUTHENTICATION_TOO_LONG: string;
@@ -5434,6 +5435,7 @@ export declare class Dictionaries {
5434
5435
  ABS_COMPOSITE_SITUATION: string;
5435
5436
  ACCEPT: string;
5436
5437
  ACCEPTANCE: string;
5438
+ COMBINED: string;
5437
5439
  CONTACT_MANAGEMENT: string;
5438
5440
  CONTACT_MOMENTS: string;
5439
5441
  CONTACT_OF_ORGANISATIONS: string;
@@ -5503,6 +5505,13 @@ export declare class Dictionaries {
5503
5505
  CONTRA_ACCOUNT: string;
5504
5506
  CONTRA_LEDGERACCOUNT_DOWNPAYMENT: string;
5505
5507
  CONTRA_VAT: string;
5508
+ LAYOUT_SETTINGS: string;
5509
+ RELATION_LAYOUTS: string;
5510
+ RELATION_LAYOUTS_MESSAGE: string;
5511
+ SHIPPING_METHOD_SETTINGS: string;
5512
+ OVERRULE_VIA_EMAIL: string;
5513
+ OVERRULE_VIA_EDI: string;
5514
+ OVERRULE_VIA_PRINT: string;
5506
5515
  WARRANTY: string;
5507
5516
  WARRANTY_TYPE: string;
5508
5517
  WASHING_SYMBOLS: string;
@@ -8669,6 +8678,7 @@ export declare class Dictionaries {
8669
8678
  OVERVIEW: string;
8670
8679
  OVERVIEW_AND_PAYMENT: string;
8671
8680
  OVERVIEW_TRANSFERS: string;
8681
+ OVERVIEW_OF: string;
8672
8682
  OVER_COVERAGE_PERCENTAGE: string;
8673
8683
  OWED_VAT: string;
8674
8684
  OWED_VAT_LAYOUT_CODE: string;
@@ -8921,6 +8931,7 @@ export declare class Dictionaries {
8921
8931
  SPHERECODE: string;
8922
8932
  SPHERES: string;
8923
8933
  SPHERE_IMAGES: string;
8934
+ SPLIT_BOOKING_LINE: string;
8924
8935
  STABLE: string;
8925
8936
  STACKABLE: string;
8926
8937
  STAFF_DOCTOR: string;
@@ -9687,6 +9698,7 @@ export declare class Dictionaries {
9687
9698
  DEBET: string;
9688
9699
  DEBETCREDIT: string;
9689
9700
  DEBIT_CREDIT: string;
9701
+ DEBIT_CREDIT2: string;
9690
9702
  DEBIT_CREDIT_ERROR_MESSAGE: string;
9691
9703
  DEBIT_CREDIT_SHORT: string;
9692
9704
  DEBTOR_NUMBER: string;
@@ -11958,6 +11970,7 @@ export declare class Dictionaries {
11958
11970
  ARTICLES_MUST_DIFFER: string;
11959
11971
  ARTICLES_NOT_IN_DATE_RANGE: string;
11960
11972
  ARTICLES_NOT_IN_LIST_RANGE: string;
11973
+ ARTICLE_ADDED_TO_CART: string;
11961
11974
  ARTICLE_ALREADY_LINKED: string;
11962
11975
  ARTICLE_ALREADY_PICKED_CONTINUE_ANYWAY: string;
11963
11976
  ARTICLE_ALREADY_PRESENT: string;
@@ -12666,6 +12679,7 @@ export declare class Dictionaries {
12666
12679
  COLLAPSE: string;
12667
12680
  COLLAPSE_ALL: string;
12668
12681
  COLLATE_ORDERFORMS: string;
12682
+ COMBINED: string;
12669
12683
  COLLECT: string;
12670
12684
  COLLECTION: string;
12671
12685
  COLLECTION_CODE: string;
@@ -13216,6 +13230,7 @@ export declare class Dictionaries {
13216
13230
  DEBETCREDIT: string;
13217
13231
  DEBIT_CREDIT_ERROR_MESSAGE: string;
13218
13232
  DEBIT_CREDIT: string;
13233
+ DEBIT_CREDIT2: string;
13219
13234
  DEBIT_CREDIT_SHORT: string;
13220
13235
  DEBTOR_NUMBER: string;
13221
13236
  DEBUG_LEVEL: string;
@@ -14400,6 +14415,7 @@ export declare class Dictionaries {
14400
14415
  HOME_CATALOG: string;
14401
14416
  HOME_CATALOG_PICTURE: string;
14402
14417
  HOME_CATALOG_TITLE: string;
14418
+ HOME_DECO_HUB_SESSIONS: string;
14403
14419
  HOTKEY_BLOCKED_PROCESS_BUSY: string;
14404
14420
  HOURLY_RATE: string;
14405
14421
  HOURS: string;
@@ -14743,6 +14759,7 @@ export declare class Dictionaries {
14743
14759
  LAYOUT2: string;
14744
14760
  LAYOUT: string;
14745
14761
  LAYOUTS: string;
14762
+ LAYOUT_SETTINGS: string;
14746
14763
  LEAD_TIME: string;
14747
14764
  LEAST_EXPENSIVE_PRODUCT: string;
14748
14765
  LEAVE: string;
@@ -15155,6 +15172,7 @@ export declare class Dictionaries {
15155
15172
  MESSAGE_ERROR_IMAGE: string;
15156
15173
  MESSAGE_ERROR_LIST_PRINTER: string;
15157
15174
  MESSAGE_ERROR_LOADING_FILTER: string;
15175
+ MESSAGE_ERROR_LOADING_HOME_DECO_HUB_SESSIONS: string;
15158
15176
  MESSAGE_ERROR_LOADING_LOGINS: string;
15159
15177
  MESSAGE_ERROR_LOADING_MODULE: string;
15160
15178
  MESSAGE_ERROR_LOADING_MODULE_TITLE: string;
@@ -15404,6 +15422,7 @@ export declare class Dictionaries {
15404
15422
  MULTIPLE_INTERBRANCH_LINES_MESSAGE: string;
15405
15423
  MULTIPLE_PURCHASEORDERS: string;
15406
15424
  MULTIPLE_RESERVATIONS: string;
15425
+ MULTIPLE_SESSIONS_ARE_NOT_ALLOWED: string;
15407
15426
  MULTI_BUY: string;
15408
15427
  MULTI_FACTORIELE_INTAKE: string;
15409
15428
  MULTI_FACTOR_AUTHENTICATION_TOO_LONG: string;
@@ -16128,6 +16147,10 @@ export declare class Dictionaries {
16128
16147
  OVERVIEW: string;
16129
16148
  OVERVIEW_AND_PAYMENT: string;
16130
16149
  OVERVIEW_TRANSFERS: string;
16150
+ OVERVIEW_OF: string;
16151
+ OVERRULE_VIA_EMAIL: string;
16152
+ OVERRULE_VIA_EDI: string;
16153
+ OVERRULE_VIA_PRINT: string;
16131
16154
  OVER_COVERAGE_PERCENTAGE: string;
16132
16155
  OWNER: string;
16133
16156
  OWN_REFERENCE: string;
@@ -17008,6 +17031,8 @@ export declare class Dictionaries {
17008
17031
  RELATION_DEPENDANT_TEMPLATE: string;
17009
17032
  RELATION_DISCOUNT: string;
17010
17033
  RELATION_ID: string;
17034
+ RELATION_LAYOUTS: string;
17035
+ RELATION_LAYOUTS_MESSAGE: string;
17011
17036
  RELATION_MANAGEMENT: string;
17012
17037
  RELATION_NAME: string;
17013
17038
  RELATION_NAME_KIND: string;
@@ -17045,6 +17070,7 @@ export declare class Dictionaries {
17045
17070
  REMINDER_ORDER_FORM: string;
17046
17071
  REMOVE_AMOUNT: string;
17047
17072
  REMOVE_ARTICLE: string;
17073
+ REMOVE_DIRECT_SELL: string;
17048
17074
  REMOVE_EDI_STRUCTURE_CONNECTION: string;
17049
17075
  REMOVE_ENDDATE_FROM_CURRENT_WORKFLOW: string;
17050
17076
  REMOVE_FROM_RESOURCE: string;
@@ -17732,6 +17758,8 @@ export declare class Dictionaries {
17732
17758
  SHIPPING_COST_ARTICLE: string;
17733
17759
  SHIPPING_COST_LINE: string;
17734
17760
  SHIPPING_DATE: string;
17761
+ SHIPPING_METHOD_SETTINGS: string;
17762
+ SHIPPING_METHOD_STANDARD_SETTINGS: string;
17735
17763
  SHOPPING_CART: string;
17736
17764
  SHOPPING_CART_ADD: string;
17737
17765
  SHOPPING_CART_CHECKOUT: string;
@@ -17900,6 +17928,7 @@ export declare class Dictionaries {
17900
17928
  SPHERECODE: string;
17901
17929
  SPHERES: string;
17902
17930
  SPHERE_IMAGES: string;
17931
+ SPLIT_BOOKING_LINE: string;
17903
17932
  STABLE: string;
17904
17933
  STACKABLE: string;
17905
17934
  STAFF_DOCTOR: string;
@@ -33,9 +33,9 @@ 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";
37
- import { CategoryType } from "@colijnit/articleapi/build/model/category-type.bo";
38
- import { CategoryDesign } from "@colijnit/articleapi/build/model/category-design.bo";
36
+ import { ObjectConfiguration } from '@colijnit/ioneconnector/build/model/object-configuration';
37
+ import { CategoryType } from '@colijnit/articleapi/build/model/category-type.bo';
38
+ import { CategoryDesign } from '@colijnit/articleapi/build/model/category-design.bo';
39
39
  import { CatalogRootService } from './catalog-root.service';
40
40
  export declare class CatalogConnectorAdapterService {
41
41
  private _catalogRootService;
@@ -11,8 +11,8 @@ 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
- import { BaseModuleService } from "@colijnit/corecomponents_v12";
15
- import { CatalogScreenConfigurationService } from "./catalog-screen-configuration.service";
14
+ import { BaseModuleService } from '@colijnit/corecomponents_v12';
15
+ import { CatalogScreenConfigurationService } from './catalog-screen-configuration.service';
16
16
  import { CatalogRootService } from './catalog-root.service';
17
17
  export declare class CatalogService extends BaseModuleService {
18
18
  protected connector: CatalogConnectorService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/catalog",
3
- "version": "257.1.17",
3
+ "version": "258.1.0",
4
4
  "license": "MIT",
5
5
  "description": "iOne Catalog module based on Angular 12",
6
6
  "repository": "npm/npm",
@@ -17,13 +17,13 @@
17
17
  "@angular/platform-browser": ">=12.2.7",
18
18
  "@angular/platform-browser-dynamic": ">=12.2.7",
19
19
  "@angular/router": ">=12.2.7",
20
- "@colijnit/articleapi": ">=257.1.4",
21
- "@colijnit/transactionapi": ">=257.1.0",
20
+ "@colijnit/articleapi": ">=258.1.0",
21
+ "@colijnit/transactionapi": ">=258.1.0",
22
22
  "@colijnit/corecomponents": ">=1.12.0",
23
- "@colijnit/corecomponents_v12": ">=257.1.14",
24
- "@colijnit/ioneconnector": ">=257.1.10",
25
- "@colijnit/relationapi": ">=257.1.0",
26
- "@colijnit/mainapi": ">=257.1.0",
23
+ "@colijnit/corecomponents_v12": ">=258.1.0",
24
+ "@colijnit/ioneconnector": ">=258.1.0",
25
+ "@colijnit/relationapi": ">=258.1.0",
26
+ "@colijnit/mainapi": ">=258.1.0",
27
27
  "@types/three": ">=0.125.0",
28
28
  "@tweenjs/tween.js": ">=17.2.0",
29
29
  "core-js": ">=2.5.4",