@colijnit/catalog 257.1.15 → 257.1.17
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/bundles/colijnit-catalog.umd.js +416 -171
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.d.ts +32 -31
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/colijnit-catalog.js +33 -32
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/component/catalog-external-source/catalog-external-source.component.js +3 -5
- package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.component.js +6 -17
- package/esm2015/lib/component/catalog-search/catalog-search.component.js +2 -3
- package/esm2015/lib/component/catalog-search-header/catalog-search-header.component.js +2 -2
- package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/esm2015/lib/service/catalog-connector-adapter.service.js +167 -11
- package/esm2015/lib/service/catalog-image.service.js +2 -2
- package/esm2015/lib/service/catalog-root.service.js +35 -0
- package/esm2015/lib/service/catalog-search.service.js +13 -7
- package/esm2015/lib/service/catalog.service.js +11 -4
- package/fesm2015/colijnit-catalog.js +232 -46
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/component/catalog-external-sources/catalog-external-sources.component.d.ts +1 -5
- package/lib/res/dictionary/dictionaries.d.ts +10 -0
- package/lib/service/catalog-connector-adapter.service.d.ts +3 -0
- package/lib/service/catalog-root.service.d.ts +11 -0
- package/lib/service/catalog-search.service.d.ts +3 -1
- package/lib/service/catalog.service.d.ts +3 -1
- package/package.json +3 -3
|
@@ -3,13 +3,9 @@ import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-defi
|
|
|
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
6
|
export declare class CatalogExternalSourcesComponent implements OnInit {
|
|
9
7
|
private _catalogConnectorService;
|
|
10
8
|
private _imageService;
|
|
11
|
-
private _settingsService;
|
|
12
|
-
private _catalogService;
|
|
13
9
|
isStandalone: boolean;
|
|
14
10
|
roomplanner: boolean;
|
|
15
11
|
externalSourceClick: EventEmitter<ExternalSourceViewmodel>;
|
|
@@ -17,7 +13,7 @@ export declare class CatalogExternalSourcesComponent implements OnInit {
|
|
|
17
13
|
externalSourceViewModels: ExternalSourceViewmodel[];
|
|
18
14
|
unavailableCatalogs: CatalogDefinition[];
|
|
19
15
|
private _settings;
|
|
20
|
-
constructor(_catalogConnectorService: CatalogConnectorService, _imageService: CatalogImageService
|
|
16
|
+
constructor(_catalogConnectorService: CatalogConnectorService, _imageService: CatalogImageService);
|
|
21
17
|
ngOnInit(): Promise<void>;
|
|
22
18
|
loadCatalogs(defs: CatalogDefinition[]): Promise<void>;
|
|
23
19
|
loadUnavailableCatalogs(defs: CatalogDefinition[]): void;
|
|
@@ -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;
|
|
@@ -6555,6 +6556,8 @@ export declare class Dictionaries {
|
|
|
6555
6556
|
PASSWORD_ENTRY: string;
|
|
6556
6557
|
PASSWORD_ENTRY_FOR: string;
|
|
6557
6558
|
PASSWORD_FORGOTTEN: string;
|
|
6559
|
+
PASSWORD_FORGOTTEN_TEXT: string;
|
|
6560
|
+
PASSWORD_FORGOTTEN_TEXT_EXTRA: string;
|
|
6558
6561
|
PASSWORD_KIND: string;
|
|
6559
6562
|
PASSWORD_MUST_BE_10_CHARACTERS: string;
|
|
6560
6563
|
PASSWORD_MUST_BE_6_CHARACTERS: string;
|
|
@@ -8923,6 +8926,7 @@ export declare class Dictionaries {
|
|
|
8923
8926
|
STAFF_DOCTOR: string;
|
|
8924
8927
|
STAFF_DOCTORS: string;
|
|
8925
8928
|
STANDARD: string;
|
|
8929
|
+
STOCK_BELOW_ZERO_TEXT: string;
|
|
8926
8930
|
LATE_PURCHASE: string;
|
|
8927
8931
|
LAYERED_ARTICLES: string;
|
|
8928
8932
|
LAYER_CONFIGURATION: string;
|
|
@@ -11873,6 +11877,7 @@ export declare class Dictionaries {
|
|
|
11873
11877
|
AMOUNT_OF_EMPLOYEES: string;
|
|
11874
11878
|
AMOUNT_OF_WEEKS2: string;
|
|
11875
11879
|
AMOUNT_OF_WEEKS: string;
|
|
11880
|
+
AMOUNT_ON_STORAGE_UNIT: string;
|
|
11876
11881
|
AMOUNT_ORDERLINES: string;
|
|
11877
11882
|
AMOUNT_OUT: string;
|
|
11878
11883
|
AMOUNT_OUTSTANDING_CREDITORS: string;
|
|
@@ -13294,6 +13299,7 @@ export declare class Dictionaries {
|
|
|
13294
13299
|
DELETE_REMARK_QUESTION: string;
|
|
13295
13300
|
DELETE_SHOPPING_CART_QUESTION: string;
|
|
13296
13301
|
DELETE_STATE_AND_TRANSITIONS_QUESTION: string;
|
|
13302
|
+
"DELETE_STOCK_LINE?": string;
|
|
13297
13303
|
DELETE_STORAGE_CAR: string;
|
|
13298
13304
|
DELETE_TASK: string;
|
|
13299
13305
|
DELETE_TRANSACTION: string;
|
|
@@ -16188,6 +16194,8 @@ export declare class Dictionaries {
|
|
|
16188
16194
|
PASSWORD_ENTRY: string;
|
|
16189
16195
|
PASSWORD_ENTRY_FOR: string;
|
|
16190
16196
|
PASSWORD_FORGOTTEN: string;
|
|
16197
|
+
PASSWORD_FORGOTTEN_TEXT: string;
|
|
16198
|
+
PASSWORD_FORGOTTEN_TEXT_EXTRA: string;
|
|
16191
16199
|
PASSWORD_KIND: string;
|
|
16192
16200
|
PASSWORD_MUST_BE_10_CHARACTERS: string;
|
|
16193
16201
|
PASSWORD_MUST_CONTAIN_LETTER_NUMBER_SPECIAL: string;
|
|
@@ -17234,6 +17242,7 @@ export declare class Dictionaries {
|
|
|
17234
17242
|
ROUTE: string;
|
|
17235
17243
|
ROUTE_OF: string;
|
|
17236
17244
|
ROW: string;
|
|
17245
|
+
ROW_ADVICE: string;
|
|
17237
17246
|
ROWS: string;
|
|
17238
17247
|
ROW_BEING_EDITED: string;
|
|
17239
17248
|
ROW_NUMBER: string;
|
|
@@ -17993,6 +18002,7 @@ export declare class Dictionaries {
|
|
|
17993
18002
|
STOCKTAGSWINDOW: string;
|
|
17994
18003
|
STOCK_ADJUSTMENTS: string;
|
|
17995
18004
|
STOCK_AVAILABLE_CHANGE_WAREHOUSE_OR_COMMISSIONCODE: string;
|
|
18005
|
+
STOCK_BELOW_ZERO_TEXT: string;
|
|
17996
18006
|
STOCK_DATE: string;
|
|
17997
18007
|
STOCK_DETAILS: string;
|
|
17998
18008
|
STOCK_DIFFERENCES: string;
|
|
@@ -36,7 +36,9 @@ import { ArticleStockComparisonSearchGridResult } from '../model/article-stock-c
|
|
|
36
36
|
import { ObjectConfiguration } from "@colijnit/ioneconnector/build/model/object-configuration";
|
|
37
37
|
import { CategoryType } from "@colijnit/articleapi/build/model/category-type.bo";
|
|
38
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
|
|
38
|
+
searchArticles(resetPaging?: boolean): void;
|
|
37
39
|
resetFilters(search?: boolean): void;
|
|
38
40
|
toggleFilter(): void;
|
|
39
41
|
handleHideFilter(): void;
|
|
@@ -13,6 +13,7 @@ import { CatalogSearchService } from './catalog-search.service';
|
|
|
13
13
|
import { CatalogConnectorAdapterService } from './catalog-connector-adapter.service';
|
|
14
14
|
import { BaseModuleService } from "@colijnit/corecomponents_v12";
|
|
15
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.
|
|
3
|
+
"version": "257.1.17",
|
|
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.
|
|
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.
|
|
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",
|