@colijnit/catalog 257.1.16 → 257.1.18

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.
@@ -1,24 +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
- import { CatalogSettingsService } from "../../service/catalog-settings.service";
7
- import { CatalogService } from "../../service/catalog.service";
8
- export declare class CatalogExternalSourcesComponent implements OnInit {
6
+ import { CatalogConnectorAdapterService } from '../../service/catalog-connector-adapter.service';
7
+ export declare class CatalogExternalSourcesComponent implements OnInit, OnDestroy {
9
8
  private _catalogConnectorService;
10
9
  private _imageService;
11
- private _settingsService;
12
- private _catalogService;
10
+ private _adapterService;
13
11
  isStandalone: boolean;
14
12
  roomplanner: boolean;
15
13
  externalSourceClick: EventEmitter<ExternalSourceViewmodel>;
16
14
  showClass(): boolean;
17
15
  externalSourceViewModels: ExternalSourceViewmodel[];
18
16
  unavailableCatalogs: CatalogDefinition[];
19
- private _settings;
20
- constructor(_catalogConnectorService: CatalogConnectorService, _imageService: CatalogImageService, _settingsService: CatalogSettingsService, _catalogService: CatalogService);
17
+ private _subs;
18
+ constructor(_catalogConnectorService: CatalogConnectorService, _imageService: CatalogImageService, _adapterService: CatalogConnectorAdapterService);
21
19
  ngOnInit(): Promise<void>;
22
- loadCatalogs(defs: CatalogDefinition[]): Promise<void>;
23
- loadUnavailableCatalogs(defs: CatalogDefinition[]): void;
20
+ ngOnDestroy(): void;
21
+ private _getCatalogs;
22
+ private _loadCatalogs;
23
+ private _loadUnavailableCatalogs;
24
24
  }
@@ -2848,6 +2848,7 @@ export declare class Dictionaries {
2848
2848
  CONDITION_OPERATOR: string;
2849
2849
  CONDITION_OPTIONS: string;
2850
2850
  CONDITION_VALUE: string;
2851
+ "DELETE_STOCK_LINE?": string;
2851
2852
  DEPARTMENT: string;
2852
2853
  DEPARTMENTS: string;
2853
2854
  DEPARTMENT_CODE: string;
@@ -5502,6 +5503,13 @@ export declare class Dictionaries {
5502
5503
  CONTRA_ACCOUNT: string;
5503
5504
  CONTRA_LEDGERACCOUNT_DOWNPAYMENT: string;
5504
5505
  CONTRA_VAT: string;
5506
+ LAYOUT_SETTINGS: string;
5507
+ RELATION_LAYOUTS: string;
5508
+ RELATION_LAYOUTS_MESSAGE: string;
5509
+ SHIPPING_METHOD_SETTINGS: string;
5510
+ OVERRULE_VIA_EMAIL: string;
5511
+ OVERRULE_VIA_EDI: string;
5512
+ OVERRULE_VIA_PRINT: string;
5505
5513
  WARRANTY: string;
5506
5514
  WARRANTY_TYPE: string;
5507
5515
  WASHING_SYMBOLS: string;
@@ -6555,6 +6563,8 @@ export declare class Dictionaries {
6555
6563
  PASSWORD_ENTRY: string;
6556
6564
  PASSWORD_ENTRY_FOR: string;
6557
6565
  PASSWORD_FORGOTTEN: string;
6566
+ PASSWORD_FORGOTTEN_TEXT: string;
6567
+ PASSWORD_FORGOTTEN_TEXT_EXTRA: string;
6558
6568
  PASSWORD_KIND: string;
6559
6569
  PASSWORD_MUST_BE_10_CHARACTERS: string;
6560
6570
  PASSWORD_MUST_BE_6_CHARACTERS: string;
@@ -8923,6 +8933,7 @@ export declare class Dictionaries {
8923
8933
  STAFF_DOCTOR: string;
8924
8934
  STAFF_DOCTORS: string;
8925
8935
  STANDARD: string;
8936
+ STOCK_BELOW_ZERO_TEXT: string;
8926
8937
  LATE_PURCHASE: string;
8927
8938
  LAYERED_ARTICLES: string;
8928
8939
  LAYER_CONFIGURATION: string;
@@ -13295,6 +13306,7 @@ export declare class Dictionaries {
13295
13306
  DELETE_REMARK_QUESTION: string;
13296
13307
  DELETE_SHOPPING_CART_QUESTION: string;
13297
13308
  DELETE_STATE_AND_TRANSITIONS_QUESTION: string;
13309
+ "DELETE_STOCK_LINE?": string;
13298
13310
  DELETE_STORAGE_CAR: string;
13299
13311
  DELETE_TASK: string;
13300
13312
  DELETE_TRANSACTION: string;
@@ -14738,6 +14750,7 @@ export declare class Dictionaries {
14738
14750
  LAYOUT2: string;
14739
14751
  LAYOUT: string;
14740
14752
  LAYOUTS: string;
14753
+ LAYOUT_SETTINGS: string;
14741
14754
  LEAD_TIME: string;
14742
14755
  LEAST_EXPENSIVE_PRODUCT: string;
14743
14756
  LEAVE: string;
@@ -16123,6 +16136,9 @@ export declare class Dictionaries {
16123
16136
  OVERVIEW: string;
16124
16137
  OVERVIEW_AND_PAYMENT: string;
16125
16138
  OVERVIEW_TRANSFERS: string;
16139
+ OVERRULE_VIA_EMAIL: string;
16140
+ OVERRULE_VIA_EDI: string;
16141
+ OVERRULE_VIA_PRINT: string;
16126
16142
  OVER_COVERAGE_PERCENTAGE: string;
16127
16143
  OWNER: string;
16128
16144
  OWN_REFERENCE: string;
@@ -16189,6 +16205,8 @@ export declare class Dictionaries {
16189
16205
  PASSWORD_ENTRY: string;
16190
16206
  PASSWORD_ENTRY_FOR: string;
16191
16207
  PASSWORD_FORGOTTEN: string;
16208
+ PASSWORD_FORGOTTEN_TEXT: string;
16209
+ PASSWORD_FORGOTTEN_TEXT_EXTRA: string;
16192
16210
  PASSWORD_KIND: string;
16193
16211
  PASSWORD_MUST_BE_10_CHARACTERS: string;
16194
16212
  PASSWORD_MUST_CONTAIN_LETTER_NUMBER_SPECIAL: string;
@@ -17001,6 +17019,8 @@ export declare class Dictionaries {
17001
17019
  RELATION_DEPENDANT_TEMPLATE: string;
17002
17020
  RELATION_DISCOUNT: string;
17003
17021
  RELATION_ID: string;
17022
+ RELATION_LAYOUTS: string;
17023
+ RELATION_LAYOUTS_MESSAGE: string;
17004
17024
  RELATION_MANAGEMENT: string;
17005
17025
  RELATION_NAME: string;
17006
17026
  RELATION_NAME_KIND: string;
@@ -17725,6 +17745,8 @@ export declare class Dictionaries {
17725
17745
  SHIPPING_COST_ARTICLE: string;
17726
17746
  SHIPPING_COST_LINE: string;
17727
17747
  SHIPPING_DATE: string;
17748
+ SHIPPING_METHOD_SETTINGS: string;
17749
+ SHIPPING_METHOD_STANDARD_SETTINGS: string;
17728
17750
  SHOPPING_CART: string;
17729
17751
  SHOPPING_CART_ADD: string;
17730
17752
  SHOPPING_CART_CHECKOUT: string;
@@ -17995,6 +18017,7 @@ export declare class Dictionaries {
17995
18017
  STOCKTAGSWINDOW: string;
17996
18018
  STOCK_ADJUSTMENTS: string;
17997
18019
  STOCK_AVAILABLE_CHANGE_WAREHOUSE_OR_COMMISSIONCODE: string;
18020
+ STOCK_BELOW_ZERO_TEXT: string;
17998
18021
  STOCK_DATE: string;
17999
18022
  STOCK_DETAILS: string;
18000
18023
  STOCK_DIFFERENCES: string;
@@ -33,10 +33,12 @@ 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
+ import { CatalogRootService } from './catalog-root.service';
39
40
  export declare class CatalogConnectorAdapterService {
41
+ private _catalogRootService;
40
42
  get shouldShowLoader(): boolean;
41
43
  controllerInitialized: BehaviorSubject<boolean>;
42
44
  assetPath: string;
@@ -49,6 +51,7 @@ export declare class CatalogConnectorAdapterService {
49
51
  private _shouldShowLoader;
50
52
  private _initializing;
51
53
  private _initialized;
54
+ constructor(_catalogRootService: CatalogRootService);
52
55
  ngOnDestroy(): void;
53
56
  initConnector(settings?: any, forceReload?: boolean): Promise<void>;
54
57
  getCatalogBundleSettings(url: string, upId: number): Promise<string>;
@@ -0,0 +1,11 @@
1
+ export declare class CatalogRootService {
2
+ set mainUrl(value: string);
3
+ get mainUrl(): string;
4
+ set mainSchema(value: string);
5
+ get mainSchema(): string;
6
+ set mainVersion(value: string);
7
+ get mainVersion(): string;
8
+ private _mainUrl;
9
+ private _mainSchema;
10
+ private _mainVersion;
11
+ }
@@ -17,6 +17,8 @@ export declare class CatalogSearchService implements OnDestroy {
17
17
  showFilterSidebar: boolean;
18
18
  articles: ArticleExtended[];
19
19
  set clearCacheObservable(value: Observable<any>);
20
+ set general(value: string);
21
+ get general(): string;
20
22
  set turnoverGroup(value: string);
21
23
  get turnoverGroup(): string;
22
24
  set category(value: string);
@@ -33,7 +35,7 @@ export declare class CatalogSearchService implements OnDestroy {
33
35
  private _subs;
34
36
  constructor(_filterService: CatalogFilterService, _catalogConnectorService: CatalogConnectorService, _catalogConnectorAdapterService: CatalogConnectorAdapterService, _settingsService: CatalogSettingsService, _optionService: CatalogOptionsService);
35
37
  ngOnDestroy(): void;
36
- searchArticles(resetPaging?: boolean, resetRequestParameters?: boolean): void;
38
+ searchArticles(resetPaging?: boolean): void;
37
39
  resetFilters(search?: boolean): void;
38
40
  toggleFilter(): void;
39
41
  handleHideFilter(): void;
@@ -11,8 +11,9 @@ 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
+ import { CatalogRootService } from './catalog-root.service';
16
17
  export declare class CatalogService extends BaseModuleService {
17
18
  protected connector: CatalogConnectorService;
18
19
  protected connectorAdapter: CatalogConnectorAdapterService;
@@ -22,6 +23,7 @@ export declare class CatalogService extends BaseModuleService {
22
23
  private _imageService;
23
24
  private _filterService;
24
25
  private _catalogSearchService;
26
+ private _catalogRootService;
25
27
  externalSourceChanged: BehaviorSubject<boolean>;
26
28
  controllerInitialized: BehaviorSubject<boolean>;
27
29
  set externalSourceUrl(url: string);
@@ -65,7 +67,7 @@ export declare class CatalogService extends BaseModuleService {
65
67
  private _subs;
66
68
  private defaultOptions;
67
69
  private _currentOrderBy;
68
- constructor(connector: CatalogConnectorService, connectorAdapter: CatalogConnectorAdapterService, screenConfigService: CatalogScreenConfigurationService, settingsService: CatalogSettingsService, optionsService: CatalogOptionsService, _imageService: CatalogImageService, _filterService: CatalogFilterService, _catalogSearchService: CatalogSearchService);
70
+ constructor(connector: CatalogConnectorService, connectorAdapter: CatalogConnectorAdapterService, screenConfigService: CatalogScreenConfigurationService, settingsService: CatalogSettingsService, optionsService: CatalogOptionsService, _imageService: CatalogImageService, _filterService: CatalogFilterService, _catalogSearchService: CatalogSearchService, _catalogRootService: CatalogRootService);
69
71
  ngOnDestroy(): void;
70
72
  init(settings: any, forceReload?: boolean): Promise<void>;
71
73
  initConnector(settings: any, forceReload?: boolean): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/catalog",
3
- "version": "257.1.16",
3
+ "version": "257.1.18",
4
4
  "license": "MIT",
5
5
  "description": "iOne Catalog module based on Angular 12",
6
6
  "repository": "npm/npm",
@@ -17,11 +17,11 @@
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.3",
20
+ "@colijnit/articleapi": ">=257.1.4",
21
21
  "@colijnit/transactionapi": ">=257.1.0",
22
22
  "@colijnit/corecomponents": ">=1.12.0",
23
23
  "@colijnit/corecomponents_v12": ">=257.1.14",
24
- "@colijnit/ioneconnector": ">=257.1.0",
24
+ "@colijnit/ioneconnector": ">=257.1.10",
25
25
  "@colijnit/relationapi": ">=257.1.0",
26
26
  "@colijnit/mainapi": ">=257.1.0",
27
27
  "@types/three": ">=0.125.0",