@colijnit/catalog 12.1.37 → 12.1.39
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 +41 -86
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/component/catalog-filter/catalog-filter.component.js +16 -15
- package/esm2015/lib/component/catalog-navigation/catalog-navigation.component.js +1 -1
- package/esm2015/lib/component/catalog-search/catalog-search.component.js +1 -5
- package/esm2015/lib/model/settings.js +5 -5
- package/esm2015/lib/service/catalog-connector-adapter.service.js +8 -8
- package/esm2015/lib/service/catalog-settings.service.js +9 -53
- package/fesm2015/colijnit-catalog.js +29 -77
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/component/catalog-filter/catalog-filter.component.d.ts +4 -2
- package/lib/component/catalog-search/catalog-search.component.d.ts +0 -1
- package/lib/model/settings.d.ts +3 -13
- package/lib/service/catalog-connector-adapter.service.d.ts +4 -4
- package/lib/service/catalog-settings.service.d.ts +3 -3
- package/package.json +1 -1
|
@@ -5,11 +5,13 @@ import { CatalogOptionsService } from '../../service/catalog-options.service';
|
|
|
5
5
|
import { CatalogConnectorService } from "../../service/catalog-connector.service";
|
|
6
6
|
import { UserGroup } from "@colijnit/mainapi/build/model/user-group.bo";
|
|
7
7
|
import { CatalogSearchService } from "../../service/catalog-search.service";
|
|
8
|
+
import { CatalogConnectorAdapterService } from '../../service/catalog-connector-adapter.service';
|
|
8
9
|
export declare class CatalogFilterComponent implements OnInit {
|
|
9
10
|
iconCache: IconCacheService;
|
|
10
11
|
optionsService: CatalogOptionsService;
|
|
11
12
|
private changeDetector;
|
|
12
13
|
private _catalogConnectorService;
|
|
14
|
+
private _adapterService;
|
|
13
15
|
searchService: CatalogSearchService;
|
|
14
16
|
readonly icons: typeof IconEnum;
|
|
15
17
|
userGroupCollection: UserGroup[];
|
|
@@ -26,10 +28,10 @@ export declare class CatalogFilterComponent implements OnInit {
|
|
|
26
28
|
private _destroyed;
|
|
27
29
|
userGroupsChosen: UserGroup[];
|
|
28
30
|
private _subs;
|
|
29
|
-
constructor(iconCache: IconCacheService, optionsService: CatalogOptionsService, changeDetector: ChangeDetectorRef, _catalogConnectorService: CatalogConnectorService, searchService: CatalogSearchService);
|
|
31
|
+
constructor(iconCache: IconCacheService, optionsService: CatalogOptionsService, changeDetector: ChangeDetectorRef, _catalogConnectorService: CatalogConnectorService, _adapterService: CatalogConnectorAdapterService, searchService: CatalogSearchService);
|
|
30
32
|
ngOnInit(): void;
|
|
33
|
+
ngOnDestroy(): void;
|
|
31
34
|
private getUserGroups;
|
|
32
35
|
handleCategoryClick(cat: string): void;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
36
|
private detectChanges;
|
|
35
37
|
}
|
|
@@ -39,5 +39,4 @@ export declare class CatalogSearchComponent implements OnInit, OnDestroy {
|
|
|
39
39
|
handleCategoryClick(category: string): void;
|
|
40
40
|
handleTurnoverGroupClick(turnoverGroup: string): void;
|
|
41
41
|
handleResetButtonClick(event: MouseEvent): void;
|
|
42
|
-
handleGetTransactionClick(): void;
|
|
43
42
|
}
|
package/lib/model/settings.d.ts
CHANGED
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
import { SettingsOptions } from './settings-options';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
schema: string;
|
|
5
|
-
version: string;
|
|
6
|
-
branch: string;
|
|
7
|
-
currency: number;
|
|
8
|
-
username: string;
|
|
9
|
-
password: string;
|
|
10
|
-
session: any;
|
|
11
|
-
useLoginEncryption: boolean;
|
|
2
|
+
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
3
|
+
export declare class CatalogSettings extends Options {
|
|
12
4
|
additionalTranslationFile: string;
|
|
13
|
-
timeoutInMs: number;
|
|
14
|
-
languageCode: string;
|
|
15
5
|
type: string;
|
|
16
6
|
catalogParameters: any;
|
|
17
7
|
options: SettingsOptions;
|
|
18
|
-
|
|
8
|
+
useLoginEncryption: boolean;
|
|
19
9
|
}
|
|
@@ -15,10 +15,10 @@ import { StoreGroup } from '@colijnit/mainapi/build/model/store-group.bo';
|
|
|
15
15
|
import { CoDomainValue } from '@colijnit/mainapi/build/model/co-domain-value.bo';
|
|
16
16
|
import { DomainName } from '@colijnit/mainapi/build/enum/domain-name.enum';
|
|
17
17
|
import { RelationListObject } from '@colijnit/relationapi/build/model/relation-list-object.bo';
|
|
18
|
-
import { CoRVDomainValue } from
|
|
19
|
-
import { Category } from
|
|
20
|
-
import { Preset } from
|
|
21
|
-
import { UserGroup } from
|
|
18
|
+
import { CoRVDomainValue } from '@colijnit/mainapi/build/model/co-rv-domain-value.bo';
|
|
19
|
+
import { Category } from '@colijnit/mainapi/build/model/category.bo';
|
|
20
|
+
import { Preset } from '@colijnit/mainapi/build/model/preset.bo';
|
|
21
|
+
import { UserGroup } from '@colijnit/mainapi/build/model/user-group.bo';
|
|
22
22
|
import { PriceList } from '@colijnit/transactionapi/build/model/price-list';
|
|
23
23
|
import { Transaction } from '@colijnit/transactionapi/build/transaction';
|
|
24
24
|
export declare class CatalogConnectorAdapterService {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import {
|
|
2
|
+
import { CatalogSettings } from '../model/settings';
|
|
3
3
|
import { DictionaryService } from './dictionary.service';
|
|
4
4
|
export declare class CatalogSettingsService {
|
|
5
5
|
private _dictionaryService;
|
|
6
|
-
set settings(value:
|
|
7
|
-
get settings():
|
|
6
|
+
set settings(value: CatalogSettings);
|
|
7
|
+
get settings(): CatalogSettings;
|
|
8
8
|
settingsLoaded: BehaviorSubject<boolean>;
|
|
9
9
|
private _settings;
|
|
10
10
|
constructor(_dictionaryService: DictionaryService);
|