@colijnit/catalog 261.1.0 → 261.20.1
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 +9626 -0
- package/fesm2022/colijnit-catalog.mjs.map +1 -0
- package/index.d.ts +1824 -0
- package/package.json +25 -28
- package/bundles/colijnit-catalog.umd.js +0 -7825
- package/bundles/colijnit-catalog.umd.js.map +0 -1
- package/colijnit-catalog.d.ts +0 -45
- package/colijnit-catalog.metadata.json +0 -1
- package/esm2015/colijnit-catalog.js +0 -46
- package/esm2015/lib/cache/cache-field.js +0 -75
- package/esm2015/lib/cache/parameter-cache-field.js +0 -54
- package/esm2015/lib/cache/service/catalog-business-object-cache-manager.service.js +0 -142
- package/esm2015/lib/cache/service/catalog-select-multiple-cache.service.js +0 -38
- package/esm2015/lib/cache/service/catalog-select-multiple-parameterized-cache.service.js +0 -47
- package/esm2015/lib/cache/service/catalog-select-single-cache.service.js +0 -30
- package/esm2015/lib/cache/service/catalog-select-single-parameterized-cache.service.js +0 -47
- package/esm2015/lib/catalog-version.js +0 -10
- package/esm2015/lib/component/base/article-base.component.js +0 -249
- package/esm2015/lib/component/base/catalog-search-base.component.js +0 -71
- package/esm2015/lib/component/catalog-article-list/catalog-article-list.component.js +0 -103
- package/esm2015/lib/component/catalog-article-list/catalog-article-list.module.js +0 -29
- package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.component.js +0 -113
- package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.module.js +0 -30
- package/esm2015/lib/component/catalog-categories/catalog-categories.component.js +0 -98
- package/esm2015/lib/component/catalog-categories/catalog-categories.module.js +0 -29
- package/esm2015/lib/component/catalog-external-source/catalog-external-source.component.js +0 -278
- package/esm2015/lib/component/catalog-external-source/catalog-external-source.module.js +0 -21
- package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.component.js +0 -137
- package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.module.js +0 -25
- package/esm2015/lib/component/catalog-filter/catalog-filter.component.js +0 -180
- package/esm2015/lib/component/catalog-filter/catalog-filter.module.js +0 -42
- package/esm2015/lib/component/catalog-filter-categories/catalog-filter-categories.component.js +0 -50
- package/esm2015/lib/component/catalog-filter-categories/catalog-filter-categories.module.js +0 -23
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.component.js +0 -537
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.module.js +0 -31
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.component.js +0 -255
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.module.js +0 -30
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.component.js +0 -112
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.module.js +0 -29
- package/esm2015/lib/component/catalog-filter-item/catalog-filter-item.component.js +0 -109
- package/esm2015/lib/component/catalog-filter-item/catalog-filter-item.module.js +0 -24
- package/esm2015/lib/component/catalog-navigation/catalog-navigation.component.js +0 -241
- package/esm2015/lib/component/catalog-navigation/catalog-navigation.module.js +0 -29
- package/esm2015/lib/component/catalog-search/catalog-search.component.js +0 -313
- package/esm2015/lib/component/catalog-search/catalog-search.module.js +0 -40
- package/esm2015/lib/component/catalog-search-header/catalog-search-header.component.js +0 -49
- package/esm2015/lib/component/catalog-search-header/catalog-search-header.module.js +0 -22
- package/esm2015/lib/component/catalog-search-result-grid/catalog-search-result-grid.component.js +0 -74
- package/esm2015/lib/component/catalog-search-result-grid/catalog-search-result-grid.module.js +0 -26
- package/esm2015/lib/component/catalog-search-result-list/catalog-search-result-list.component.js +0 -65
- package/esm2015/lib/component/catalog-search-result-list/catalog-search-result-list.module.js +0 -29
- package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.js +0 -71
- package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.module.js +0 -29
- package/esm2015/lib/component/catalog-stock-comparison-list/catalog-stock-comparison-list.component.js +0 -88
- package/esm2015/lib/component/catalog-stock-comparison-list/catalog-stock-comparison-list.module.js +0 -24
- package/esm2015/lib/component/catalog-stock-comparison-tile/catalog-stock-comparison-tile.component.js +0 -103
- package/esm2015/lib/component/catalog-stock-comparison-tile/catalog-stock-comparison-tile.module.js +0 -27
- package/esm2015/lib/component/catalog-stock-overview-list/catalog-stock-overview-list.component.js +0 -104
- package/esm2015/lib/component/catalog-stock-overview-list/catalog-stock-overview-list.module.js +0 -24
- package/esm2015/lib/component/catalog-stock-overview-tile/catalog-stock-overview-tile.component.js +0 -105
- package/esm2015/lib/component/catalog-stock-overview-tile/catalog-stock-overview-tile.module.js +0 -27
- package/esm2015/lib/component/catalog-warehouse-transfers-list/catalog-warehouse-transfers-list.component.js +0 -108
- package/esm2015/lib/component/catalog-warehouse-transfers-list/catalog-warehouse-transfers-list.module.js +0 -24
- package/esm2015/lib/component/catalog-warehouse-transfers-tile/catalog-warehouse-transfers-tile.component.js +0 -109
- package/esm2015/lib/component/catalog-warehouse-transfers-tile/catalog-warehouse-transfers-tile.module.js +0 -27
- package/esm2015/lib/component/responsive-text/responsive-text.component.js +0 -24
- package/esm2015/lib/component/responsive-text/responsive-text.module.js +0 -19
- package/esm2015/lib/directive/visibility-observer-master.directive.js +0 -49
- package/esm2015/lib/directive/visibility-observer.directive.js +0 -55
- package/esm2015/lib/directive/visibility-observer.module.js +0 -18
- package/esm2015/lib/enum/config-name.enum.js +0 -50
- package/esm2015/lib/enum/icon.enum.js +0 -37
- package/esm2015/lib/interface/category.interface.js +0 -2
- package/esm2015/lib/interface/filter-order.interface.js +0 -2
- package/esm2015/lib/model/article-stock-comparison-search-grid-result.js +0 -3
- package/esm2015/lib/model/article-stock-comparison-search-grid-selection.js +0 -4
- package/esm2015/lib/model/article-stock-comparison-search-tile-result.js +0 -3
- package/esm2015/lib/model/article-stock-comparison-search-tile-selection.js +0 -4
- package/esm2015/lib/model/article-stock-search-grid-selection.js +0 -4
- package/esm2015/lib/model/article-stock-search-tile-selection.js +0 -4
- package/esm2015/lib/model/article-stock-transfer-search-grid-result.js +0 -3
- package/esm2015/lib/model/article-stock-transfer-search-grid-selection.js +0 -12
- package/esm2015/lib/model/article-stock-transfer-search-tile-result.js +0 -3
- package/esm2015/lib/model/article-stock-transfer-search-tile-selection.js +0 -4
- package/esm2015/lib/model/articles-search-result.js +0 -3
- package/esm2015/lib/model/articles-stock-search-grid-result.js +0 -3
- package/esm2015/lib/model/articles-stock-search-tile-result.js +0 -3
- package/esm2015/lib/model/catalog-filter-viewmodel.js +0 -4
- package/esm2015/lib/model/external-source-viewmodel.js +0 -7
- package/esm2015/lib/model/icon.js +0 -36
- package/esm2015/lib/model/settings-options.js +0 -19
- package/esm2015/lib/model/settings.js +0 -14
- package/esm2015/lib/pipe/catalog-localize.pipe.js +0 -27
- package/esm2015/lib/pipe/catalog-pipe.module.js +0 -19
- package/esm2015/lib/res/dictionary/dictionaries.js +0 -9
- package/esm2015/lib/service/catalog-connector-adapter.service.js +0 -923
- package/esm2015/lib/service/catalog-connector.service.js +0 -308
- package/esm2015/lib/service/catalog-dictionary.service.js +0 -97
- package/esm2015/lib/service/catalog-event.service.js +0 -21
- package/esm2015/lib/service/catalog-external-sources.service.js +0 -26
- package/esm2015/lib/service/catalog-filter.service.js +0 -118
- package/esm2015/lib/service/catalog-image.service.js +0 -88
- package/esm2015/lib/service/catalog-navigation.service.js +0 -83
- package/esm2015/lib/service/catalog-options.service.js +0 -93
- package/esm2015/lib/service/catalog-root.service.js +0 -35
- package/esm2015/lib/service/catalog-screen-configuration.service.js +0 -49
- package/esm2015/lib/service/catalog-search.service.js +0 -163
- package/esm2015/lib/service/catalog-settings.service.js +0 -84
- package/esm2015/lib/service/catalog-stock-comparison.service.js +0 -86
- package/esm2015/lib/service/catalog-stock-transfer.service.js +0 -86
- package/esm2015/lib/service/catalog-stock.service.js +0 -86
- package/esm2015/lib/service/catalog.service.js +0 -208
- package/esm2015/lib/service/icon-cache.service.js +0 -40
- package/esm2015/lib/utils/json.utils.js +0 -30
- package/esm2015/public_api.js +0 -41
- package/fesm2015/colijnit-catalog.js +0 -7370
- package/fesm2015/colijnit-catalog.js.map +0 -1
- package/lib/cache/cache-field.d.ts +0 -25
- package/lib/cache/parameter-cache-field.d.ts +0 -11
- package/lib/cache/service/catalog-business-object-cache-manager.service.d.ts +0 -55
- package/lib/cache/service/catalog-select-multiple-cache.service.d.ts +0 -15
- package/lib/cache/service/catalog-select-multiple-parameterized-cache.service.d.ts +0 -19
- package/lib/cache/service/catalog-select-single-cache.service.d.ts +0 -12
- package/lib/cache/service/catalog-select-single-parameterized-cache.service.d.ts +0 -18
- package/lib/catalog-version.d.ts +0 -6
- package/lib/component/base/article-base.component.d.ts +0 -79
- package/lib/component/base/catalog-search-base.component.d.ts +0 -25
- package/lib/component/catalog-article-list/catalog-article-list.component.d.ts +0 -6
- package/lib/component/catalog-article-list/catalog-article-list.module.d.ts +0 -2
- package/lib/component/catalog-article-tile/catalog-article-tile.component.d.ts +0 -12
- package/lib/component/catalog-article-tile/catalog-article-tile.module.d.ts +0 -2
- package/lib/component/catalog-categories/catalog-categories.component.d.ts +0 -24
- package/lib/component/catalog-categories/catalog-categories.module.d.ts +0 -2
- package/lib/component/catalog-external-source/catalog-external-source.component.d.ts +0 -59
- package/lib/component/catalog-external-source/catalog-external-source.module.d.ts +0 -2
- package/lib/component/catalog-external-sources/catalog-external-sources.component.d.ts +0 -25
- package/lib/component/catalog-external-sources/catalog-external-sources.module.d.ts +0 -2
- package/lib/component/catalog-filter/catalog-filter.component.d.ts +0 -45
- package/lib/component/catalog-filter/catalog-filter.module.d.ts +0 -2
- package/lib/component/catalog-filter-categories/catalog-filter-categories.component.d.ts +0 -11
- package/lib/component/catalog-filter-categories/catalog-filter-categories.module.d.ts +0 -2
- package/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.component.d.ts +0 -68
- package/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.module.d.ts +0 -2
- package/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.component.d.ts +0 -26
- package/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.module.d.ts +0 -2
- package/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.component.d.ts +0 -30
- package/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.module.d.ts +0 -2
- package/lib/component/catalog-filter-item/catalog-filter-item.component.d.ts +0 -39
- package/lib/component/catalog-filter-item/catalog-filter-item.module.d.ts +0 -2
- package/lib/component/catalog-navigation/catalog-navigation.component.d.ts +0 -62
- package/lib/component/catalog-navigation/catalog-navigation.module.d.ts +0 -2
- package/lib/component/catalog-search/catalog-search.component.d.ts +0 -74
- package/lib/component/catalog-search/catalog-search.module.d.ts +0 -2
- package/lib/component/catalog-search-header/catalog-search-header.component.d.ts +0 -13
- package/lib/component/catalog-search-header/catalog-search-header.module.d.ts +0 -2
- package/lib/component/catalog-search-result-grid/catalog-search-result-grid.component.d.ts +0 -7
- package/lib/component/catalog-search-result-grid/catalog-search-result-grid.module.d.ts +0 -2
- package/lib/component/catalog-search-result-list/catalog-search-result-list.component.d.ts +0 -7
- package/lib/component/catalog-search-result-list/catalog-search-result-list.module.d.ts +0 -2
- package/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.d.ts +0 -10
- package/lib/component/catalog-search-result-tile/catalog-search-result-tile.module.d.ts +0 -2
- package/lib/component/catalog-stock-comparison-list/catalog-stock-comparison-list.component.d.ts +0 -11
- package/lib/component/catalog-stock-comparison-list/catalog-stock-comparison-list.module.d.ts +0 -2
- package/lib/component/catalog-stock-comparison-tile/catalog-stock-comparison-tile.component.d.ts +0 -23
- package/lib/component/catalog-stock-comparison-tile/catalog-stock-comparison-tile.module.d.ts +0 -2
- package/lib/component/catalog-stock-overview-list/catalog-stock-overview-list.component.d.ts +0 -11
- package/lib/component/catalog-stock-overview-list/catalog-stock-overview-list.module.d.ts +0 -2
- package/lib/component/catalog-stock-overview-tile/catalog-stock-overview-tile.component.d.ts +0 -25
- package/lib/component/catalog-stock-overview-tile/catalog-stock-overview-tile.module.d.ts +0 -2
- package/lib/component/catalog-warehouse-transfers-list/catalog-warehouse-transfers-list.component.d.ts +0 -11
- package/lib/component/catalog-warehouse-transfers-list/catalog-warehouse-transfers-list.module.d.ts +0 -2
- package/lib/component/catalog-warehouse-transfers-tile/catalog-warehouse-transfers-tile.component.d.ts +0 -23
- package/lib/component/catalog-warehouse-transfers-tile/catalog-warehouse-transfers-tile.module.d.ts +0 -2
- package/lib/component/responsive-text/responsive-text.component.d.ts +0 -4
- package/lib/component/responsive-text/responsive-text.module.d.ts +0 -2
- package/lib/directive/visibility-observer-master.directive.d.ts +0 -9
- package/lib/directive/visibility-observer.directive.d.ts +0 -13
- package/lib/directive/visibility-observer.module.d.ts +0 -2
- package/lib/enum/config-name.enum.d.ts +0 -48
- package/lib/enum/icon.enum.d.ts +0 -35
- package/lib/interface/category.interface.d.ts +0 -5
- package/lib/interface/filter-order.interface.d.ts +0 -4
- package/lib/model/article-stock-comparison-search-grid-result.d.ts +0 -5
- package/lib/model/article-stock-comparison-search-grid-selection.d.ts +0 -15
- package/lib/model/article-stock-comparison-search-tile-result.d.ts +0 -5
- package/lib/model/article-stock-comparison-search-tile-selection.d.ts +0 -15
- package/lib/model/article-stock-search-grid-selection.d.ts +0 -21
- package/lib/model/article-stock-search-tile-selection.d.ts +0 -15
- package/lib/model/article-stock-transfer-search-grid-result.d.ts +0 -5
- package/lib/model/article-stock-transfer-search-grid-selection.d.ts +0 -21
- package/lib/model/article-stock-transfer-search-tile-result.d.ts +0 -5
- package/lib/model/article-stock-transfer-search-tile-selection.d.ts +0 -16
- package/lib/model/articles-search-result.d.ts +0 -5
- package/lib/model/articles-stock-search-grid-result.d.ts +0 -5
- package/lib/model/articles-stock-search-tile-result.d.ts +0 -5
- package/lib/model/catalog-filter-viewmodel.d.ts +0 -5
- package/lib/model/external-source-viewmodel.d.ts +0 -7
- package/lib/model/icon.d.ts +0 -4
- package/lib/model/settings-options.d.ts +0 -17
- package/lib/model/settings.d.ts +0 -11
- package/lib/pipe/catalog-localize.pipe.d.ts +0 -7
- package/lib/pipe/catalog-pipe.module.d.ts +0 -2
- package/lib/res/dictionary/dictionaries.d.ts +0 -31988
- package/lib/service/catalog-connector-adapter.service.d.ts +0 -118
- package/lib/service/catalog-connector.service.d.ts +0 -101
- package/lib/service/catalog-dictionary.service.d.ts +0 -25
- package/lib/service/catalog-event.service.d.ts +0 -14
- package/lib/service/catalog-external-sources.service.d.ts +0 -6
- package/lib/service/catalog-filter.service.d.ts +0 -29
- package/lib/service/catalog-image.service.d.ts +0 -17
- package/lib/service/catalog-navigation.service.d.ts +0 -27
- package/lib/service/catalog-options.service.d.ts +0 -28
- package/lib/service/catalog-root.service.d.ts +0 -11
- package/lib/service/catalog-screen-configuration.service.d.ts +0 -13
- package/lib/service/catalog-search.service.d.ts +0 -47
- package/lib/service/catalog-settings.service.d.ts +0 -14
- package/lib/service/catalog-stock-comparison.service.d.ts +0 -28
- package/lib/service/catalog-stock-transfer.service.d.ts +0 -28
- package/lib/service/catalog-stock.service.d.ts +0 -28
- package/lib/service/catalog.service.d.ts +0 -83
- package/lib/service/icon-cache.service.d.ts +0 -17
- package/lib/utils/json.utils.d.ts +0 -3
- package/public_api.d.ts +0 -40
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
export declare class CacheField<T> {
|
|
3
|
-
readonly onLoad: EventEmitter<any>;
|
|
4
|
-
get value(): T;
|
|
5
|
-
set value(value: T);
|
|
6
|
-
get isLoaded(): boolean;
|
|
7
|
-
get isLoading(): boolean;
|
|
8
|
-
get loadNeverCalled(): boolean;
|
|
9
|
-
loadFunction: (params?: any) => Promise<T>;
|
|
10
|
-
private _promiseValue;
|
|
11
|
-
private _value;
|
|
12
|
-
private _isLoaded;
|
|
13
|
-
constructor();
|
|
14
|
-
getValue(forceReload?: boolean): Promise<T>;
|
|
15
|
-
setValue(value: any): void;
|
|
16
|
-
/**
|
|
17
|
-
* POSTCONDITION: The .value of this cache field contains the loaded value as fetched by the resolve data of its .loadFunction.
|
|
18
|
-
* Will load only once, consecutive calls will resolve immediately or wait until the first original database fetch was finished.
|
|
19
|
-
* @returns {Promise<any>} Postcondition holds after resolve
|
|
20
|
-
*/
|
|
21
|
-
ensureLoaded(forceReload?: boolean): Promise<T>;
|
|
22
|
-
reload(): Promise<T>;
|
|
23
|
-
reset(): void;
|
|
24
|
-
private _load;
|
|
25
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare class ParameterCacheField<T> {
|
|
2
|
-
loadFunction: (...params: any[]) => Promise<T>;
|
|
3
|
-
private _paramsToCacheItems;
|
|
4
|
-
constructor();
|
|
5
|
-
getValue(...params: any[]): Promise<T>;
|
|
6
|
-
setValue(value: any, ...params: any[]): void;
|
|
7
|
-
reload(...params: any[]): Promise<T>;
|
|
8
|
-
reset(...params: any[]): void;
|
|
9
|
-
private _getCacheField;
|
|
10
|
-
private _makeNewCacheField;
|
|
11
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import { CacheField } from '../cache-field';
|
|
3
|
-
import { ParameterCacheField } from '../parameter-cache-field';
|
|
4
|
-
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
5
|
-
import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
|
|
6
|
-
/**
|
|
7
|
-
* App-wide, top-level, 'dumb' BO cache manager service. It stores and returns simple and parameterized business object cache items.
|
|
8
|
-
*
|
|
9
|
-
* Several other services register cache items onto this manager, such as repositories or the more generic SelectMultipleSimpleCacheService.
|
|
10
|
-
*
|
|
11
|
-
* This is a dumb cache manager. It just functions as a point to add and retrieve generic cache items, but does not know how to actually
|
|
12
|
-
* LOAD these cache items from the database, or what exact types the items are.
|
|
13
|
-
*
|
|
14
|
-
* All caches are reset when the user logs out.
|
|
15
|
-
*/
|
|
16
|
-
export declare class CatalogBusinessObjectCacheManagerService {
|
|
17
|
-
readonly reset: Subject<void>;
|
|
18
|
-
private static _NullBoId;
|
|
19
|
-
private _selectMultipleCache;
|
|
20
|
-
private _selectMultipleParameterizedCache;
|
|
21
|
-
private _selectSingleCache;
|
|
22
|
-
private _selectSingleParameterizedCache;
|
|
23
|
-
/**
|
|
24
|
-
* Creates and adds a new simple cache item for the given key with the given load function.
|
|
25
|
-
* @param key
|
|
26
|
-
* @param loadFunction e.g. () => { return this._dataService.selectMultiple(Color); }
|
|
27
|
-
* @param overrideOld Whether to allow an old cache item with the same key to become override by this newly created cache item.
|
|
28
|
-
* @returns The newly created cache item.
|
|
29
|
-
*/
|
|
30
|
-
addNewSelectMultipleCacheItem<T extends BusinessObject>(key: any, loadFunction: () => Promise<T[]>, overrideOld?: boolean): CacheField<T[]>;
|
|
31
|
-
addNewSelectSingleCacheItem<T extends BusinessObject>(key: {
|
|
32
|
-
new (): T;
|
|
33
|
-
}, id: BusinessObjectIDType, loadFunction: () => Promise<T>, overrideOld?: boolean): CacheField<T>;
|
|
34
|
-
addNewSelectSingleParameterizedCacheItem<T extends Object>(key: any, loadFunction: (params?: any) => Promise<T>, overrideOld?: boolean): ParameterCacheField<T>;
|
|
35
|
-
/**
|
|
36
|
-
* Creates and adds a new parameterized cache item for the given key with the given load function.
|
|
37
|
-
* @param key
|
|
38
|
-
* @param loadFunction e.g. (category: ArticleCategory) => { return this._dataService.selectMultiple(TurnoverGroupImage, category); }
|
|
39
|
-
* @param overrideOld Whether to allow an old cache item with the same key to become override by this newly created cache item.
|
|
40
|
-
*/
|
|
41
|
-
addNewSelectMultipleParameterizedCacheItem<T extends BusinessObject>(key: any, loadFunction: (params?: any) => Promise<T[]>, overrideOld?: boolean): ParameterCacheField<T[]>;
|
|
42
|
-
hasSelectMultipleCacheItem(key: any): boolean;
|
|
43
|
-
hasSingleCacheItem<T extends BusinessObject>(key: {
|
|
44
|
-
new (): T;
|
|
45
|
-
}, id?: BusinessObjectIDType): boolean;
|
|
46
|
-
hasSelectMultipleParameterizedCacheItem(key: any): boolean;
|
|
47
|
-
hasSelectSingleParameterizedCacheItem(key: any): boolean;
|
|
48
|
-
getSelectMultipleCacheItem<T extends BusinessObject>(key: any): CacheField<T[]>;
|
|
49
|
-
getSingleCacheItem<T extends BusinessObject>(key: {
|
|
50
|
-
new (): T;
|
|
51
|
-
}, id?: BusinessObjectIDType): CacheField<T>;
|
|
52
|
-
getSelectMultipleParameterCacheItem<T extends BusinessObject>(key: any): ParameterCacheField<T[]>;
|
|
53
|
-
getSelectSingleParameterCacheItem<T>(key: any): ParameterCacheField<T>;
|
|
54
|
-
private _reset;
|
|
55
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CatalogBusinessObjectCacheManagerService } from './catalog-business-object-cache-manager.service';
|
|
2
|
-
import { CacheField } from '../cache-field';
|
|
3
|
-
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
4
|
-
export declare class CatalogSelectMultipleCacheService {
|
|
5
|
-
private _boCacheManager;
|
|
6
|
-
private static _NullCache;
|
|
7
|
-
constructor(_boCacheManager: CatalogBusinessObjectCacheManagerService);
|
|
8
|
-
/**
|
|
9
|
-
* Returns the global cache item for the select multiple of the given business object class. Creates a new cache item if not yet exists.
|
|
10
|
-
* @param clazz The BO class, e.g. CustomerFullObject
|
|
11
|
-
* @returns {CacheField<T[]>}
|
|
12
|
-
*/
|
|
13
|
-
requestCache<T extends BusinessObject>(clazz: typeof BusinessObject, loadFunction: () => Promise<T[]>): CacheField<T[]>;
|
|
14
|
-
private _createCacheItem;
|
|
15
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { CatalogBusinessObjectCacheManagerService } from './catalog-business-object-cache-manager.service';
|
|
4
|
-
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
5
|
-
import { ParameterCacheField } from '../parameter-cache-field';
|
|
6
|
-
export declare class CatalogSelectMultipleParameterizedCacheService implements OnDestroy {
|
|
7
|
-
private _boCacheManager;
|
|
8
|
-
readonly reset: Subject<void>;
|
|
9
|
-
private _subs;
|
|
10
|
-
constructor(_boCacheManager: CatalogBusinessObjectCacheManagerService);
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
/**
|
|
13
|
-
* Returns the global cache item for the parameterized select multiple of the given business object class. Creates a new cache item if not yet exists.
|
|
14
|
-
* @param clazz The BO class, used for undeflying dataService.selectMultiple(clazz) call.
|
|
15
|
-
* @returns {CacheField<T[]>}
|
|
16
|
-
*/
|
|
17
|
-
requestCache<T extends BusinessObject>(clazz: typeof BusinessObject, loadFunction: (...params: any) => Promise<T[]>): ParameterCacheField<T[]>;
|
|
18
|
-
private _createParameterizedCacheItem;
|
|
19
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CatalogBusinessObjectCacheManagerService } from './catalog-business-object-cache-manager.service';
|
|
2
|
-
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
3
|
-
import { CacheField } from '../cache-field';
|
|
4
|
-
import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
|
|
5
|
-
export declare class CatalogSelectSingleCacheService {
|
|
6
|
-
private _boCacheManager;
|
|
7
|
-
constructor(_boCacheManager: CatalogBusinessObjectCacheManagerService);
|
|
8
|
-
requestCache<T extends BusinessObject>(clazz: {
|
|
9
|
-
new (): T;
|
|
10
|
-
}, sourceId: BusinessObjectIDType, loadFunction: () => Promise<T>): CacheField<T>;
|
|
11
|
-
private _createCacheItem;
|
|
12
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { CatalogBusinessObjectCacheManagerService } from './catalog-business-object-cache-manager.service';
|
|
4
|
-
import { ParameterCacheField } from '../parameter-cache-field';
|
|
5
|
-
export declare class CatalogSelectSingleParameterizedCacheService implements OnDestroy {
|
|
6
|
-
private _boCacheManager;
|
|
7
|
-
readonly reset: Subject<void>;
|
|
8
|
-
private _subs;
|
|
9
|
-
constructor(_boCacheManager: CatalogBusinessObjectCacheManagerService);
|
|
10
|
-
ngOnDestroy(): void;
|
|
11
|
-
/**
|
|
12
|
-
* Returns the global cache item for the parameterized select single of the given business object class. Creates a new cache item if not yet exists.
|
|
13
|
-
* @param clazz The BO class, used for undeflying dataService.selectSingle(clazz) call.
|
|
14
|
-
* @returns {CacheField<T>}
|
|
15
|
-
*/
|
|
16
|
-
requestCache<T>(clazz: any, loadFunction: (...params: any) => Promise<T>): ParameterCacheField<T>;
|
|
17
|
-
private _createParameterizedCacheItem;
|
|
18
|
-
}
|
package/lib/catalog-version.d.ts
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { IconEnum } from '../../enum/icon.enum';
|
|
2
|
-
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
3
|
-
import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
|
|
4
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
5
|
-
import { CatalogService } from '../../service/catalog.service';
|
|
6
|
-
import { CatalogOptionsService } from '../../service/catalog-options.service';
|
|
7
|
-
import { CatalogConnectorService } from '../../service/catalog-connector.service';
|
|
8
|
-
import { CatalogEventService } from '../../service/catalog-event.service';
|
|
9
|
-
import { CatalogImageService } from '../../service/catalog-image.service';
|
|
10
|
-
import { CatalogSettingsService } from '../../service/catalog-settings.service';
|
|
11
|
-
import { CatalogDictionaryService } from '../../service/catalog-dictionary.service';
|
|
12
|
-
import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
|
|
13
|
-
import { ArticleStockSearchTileSelection } from '../../model/article-stock-search-tile-selection';
|
|
14
|
-
import { ArticleStockTransferSearchTileSelection } from '../../model/article-stock-transfer-search-tile-selection';
|
|
15
|
-
import { ArticleStockComparisonSearchTileSelection } from '../../model/article-stock-comparison-search-tile-selection';
|
|
16
|
-
export declare abstract class ArticleBaseComponent implements OnInit {
|
|
17
|
-
iconCache: IconCacheService;
|
|
18
|
-
catalogService: CatalogService;
|
|
19
|
-
options: CatalogOptionsService;
|
|
20
|
-
private _iOne;
|
|
21
|
-
private _changeDetector;
|
|
22
|
-
private _appEventService;
|
|
23
|
-
private _imageService;
|
|
24
|
-
private _settingsService;
|
|
25
|
-
private _dictionaryService;
|
|
26
|
-
readonly icons: typeof IconEnum;
|
|
27
|
-
set article(value: ArticleExtended);
|
|
28
|
-
get article(): ArticleExtended;
|
|
29
|
-
set showing(value: boolean);
|
|
30
|
-
imageData: string;
|
|
31
|
-
createFrozenArticle: boolean;
|
|
32
|
-
price: number | string;
|
|
33
|
-
isSelected: boolean;
|
|
34
|
-
isSmallModus: boolean;
|
|
35
|
-
hasMagnifierButton: boolean;
|
|
36
|
-
hasInfoButton: boolean;
|
|
37
|
-
externalSource: ExternalSource;
|
|
38
|
-
onLookAtArticleButtonClick: EventEmitter<ArticleExtended>;
|
|
39
|
-
onArButtonClick: EventEmitter<ArticleExtended>;
|
|
40
|
-
onArticleCheckboxClicked: EventEmitter<{
|
|
41
|
-
article: ArticleExtended;
|
|
42
|
-
selected: boolean;
|
|
43
|
-
}>;
|
|
44
|
-
onAddArticleButtonClick: EventEmitter<string | ArticleExtended>;
|
|
45
|
-
onArticleClick: EventEmitter<ArticleExtended>;
|
|
46
|
-
onStockDetailsClick: EventEmitter<ArticleExtended>;
|
|
47
|
-
readonly contentClick: EventEmitter<MouseEvent>;
|
|
48
|
-
readonly infoButtonClick: EventEmitter<MouseEvent>;
|
|
49
|
-
readonly magnifierButtonClick: EventEmitter<MouseEvent>;
|
|
50
|
-
readonly threeDButtonClick: EventEmitter<MouseEvent>;
|
|
51
|
-
showClass(): boolean;
|
|
52
|
-
onHostClick(event: MouseEvent): void;
|
|
53
|
-
configurable: boolean;
|
|
54
|
-
threeD: boolean;
|
|
55
|
-
description: string;
|
|
56
|
-
added_description: string;
|
|
57
|
-
stock_available: any;
|
|
58
|
-
name: string;
|
|
59
|
-
valutaSymbol: string;
|
|
60
|
-
turnover: string;
|
|
61
|
-
stockLabel: string;
|
|
62
|
-
deliveryTimeLabel: string;
|
|
63
|
-
inStock: boolean;
|
|
64
|
-
stockAmount: string;
|
|
65
|
-
private _article;
|
|
66
|
-
constructor(iconCache: IconCacheService, catalogService: CatalogService, options: CatalogOptionsService, _iOne: CatalogConnectorService, _changeDetector: ChangeDetectorRef, _appEventService: CatalogEventService, _imageService: CatalogImageService, _settingsService: CatalogSettingsService, _dictionaryService: CatalogDictionaryService);
|
|
67
|
-
ngOnInit(): void;
|
|
68
|
-
handleLookAtArticleButtonClick(event: MouseEvent): void;
|
|
69
|
-
handleAddArticleButtonClick(event: MouseEvent, isRetour?: boolean): Promise<void>;
|
|
70
|
-
handleStockDetailsButtonClick(event: MouseEvent): void;
|
|
71
|
-
handleStockArticleDetailsButtonClick(article: ArticleStockSearchTileSelection | ArticleStockTransferSearchTileSelection | ArticleStockComparisonSearchTileSelection, event: MouseEvent): void;
|
|
72
|
-
handleArButtonClick(event: MouseEvent): void;
|
|
73
|
-
handleCheckboxClicked(checked: boolean): void;
|
|
74
|
-
removeHtmlTags(desc: string): string;
|
|
75
|
-
private _getJSONFromArticleObject;
|
|
76
|
-
private _detectChanges;
|
|
77
|
-
private _getThumbNailImagesPriceAndStock;
|
|
78
|
-
private _getGeneratedArtDirectly;
|
|
79
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { CatalogSearchService } from '../../service/catalog-search.service';
|
|
3
|
-
import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
|
|
4
|
-
import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
|
|
5
|
-
export declare abstract class CatalogSearchBaseComponent {
|
|
6
|
-
catalogSearchService: CatalogSearchService;
|
|
7
|
-
createFrozenArticle: boolean;
|
|
8
|
-
externalSource: ExternalSource;
|
|
9
|
-
onLookAtArticleButtonClick: EventEmitter<ArticleExtended>;
|
|
10
|
-
onArButtonClick: EventEmitter<ArticleExtended>;
|
|
11
|
-
onAddArticleButtonClick: EventEmitter<string | ArticleExtended>;
|
|
12
|
-
onArticleClick: EventEmitter<ArticleExtended>;
|
|
13
|
-
onStockDetailsClick: EventEmitter<ArticleExtended>;
|
|
14
|
-
onArticleCheckboxClicked: EventEmitter<{
|
|
15
|
-
article: ArticleExtended;
|
|
16
|
-
selected: boolean;
|
|
17
|
-
}>;
|
|
18
|
-
elements: ElementRef[];
|
|
19
|
-
constructor(catalogSearchService: CatalogSearchService);
|
|
20
|
-
onPreviousClick(): void;
|
|
21
|
-
onNextClick(): void;
|
|
22
|
-
onPageClick(pageNr: number): void;
|
|
23
|
-
private _scrollIntoView;
|
|
24
|
-
private _getScrollableParent;
|
|
25
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ArticleBaseComponent } from '../base/article-base.component';
|
|
2
|
-
import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
|
|
3
|
-
export declare class CatalogArticleTileComponent extends ArticleBaseComponent {
|
|
4
|
-
showClass(): boolean;
|
|
5
|
-
embedded: boolean;
|
|
6
|
-
showSelectionCheckbox: boolean;
|
|
7
|
-
isReturn: boolean;
|
|
8
|
-
selectedArticles: number[];
|
|
9
|
-
set article(value: ArticleExtended);
|
|
10
|
-
get article(): ArticleExtended;
|
|
11
|
-
selected: boolean;
|
|
12
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { CatalogService } from '../../service/catalog.service';
|
|
3
|
-
import { ArticleCategory } from '@colijnit/articleapi/build/model/article-category';
|
|
4
|
-
import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-group-image.bo';
|
|
5
|
-
import { CatalogConnectorAdapterService } from '../../service/catalog-connector-adapter.service';
|
|
6
|
-
export declare class CatalogCategoriesComponent implements OnInit, OnDestroy {
|
|
7
|
-
private _catalogService;
|
|
8
|
-
private _adapterService;
|
|
9
|
-
showTurnoverGroups: boolean;
|
|
10
|
-
categoryClick: EventEmitter<string>;
|
|
11
|
-
turnoverGroupClick: EventEmitter<string>;
|
|
12
|
-
parentForOverlay: ElementRef;
|
|
13
|
-
showClass(): boolean;
|
|
14
|
-
categories: ArticleCategory[];
|
|
15
|
-
turnoverGroups: TurnoverGroupImage[];
|
|
16
|
-
private _subs;
|
|
17
|
-
constructor(_catalogService: CatalogService, _adapterService: CatalogConnectorAdapterService);
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
|
-
getCategories(): Promise<void>;
|
|
21
|
-
prepareTurnoverGroups(): void;
|
|
22
|
-
handleCategoryClick(event: MouseEvent, category: string): void;
|
|
23
|
-
handleTurnoverGroupClick(event: MouseEvent, turnovergroupNr: string): void;
|
|
24
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
3
|
-
import { ArticleListObjectExtended } from '@colijnit/articleapi/build/model/article-list-object-extended.bo';
|
|
4
|
-
import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
|
|
5
|
-
import { CatalogConnectorService } from '../../service/catalog-connector.service';
|
|
6
|
-
import { CatalogEventService } from '../../service/catalog-event.service';
|
|
7
|
-
import { ExternalCatalogStartupInfo } from '@colijnit/articleapi/build/model/external-catalog-startup-info';
|
|
8
|
-
import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
|
|
9
|
-
import { ExternalSourceArticleClickInterface } from '@colijnit/articleapi/build/interface/external-source-article-click.interface';
|
|
10
|
-
import { ExternalSourceArticleAddInterface } from '@colijnit/articleapi/build/interface/external-source-article-add.interface';
|
|
11
|
-
export declare class CatalogExternalSourceComponent implements OnInit {
|
|
12
|
-
private _sanitizer;
|
|
13
|
-
private _catalogConnectorService;
|
|
14
|
-
private _appEventService;
|
|
15
|
-
set container(content: any);
|
|
16
|
-
catalogDefinition: CatalogDefinition;
|
|
17
|
-
user: number;
|
|
18
|
-
set externalCatalogStartupInfo(value: ExternalCatalogStartupInfo);
|
|
19
|
-
get externalCatalogStartupInfo(): ExternalCatalogStartupInfo;
|
|
20
|
-
title: string;
|
|
21
|
-
subTitle: string;
|
|
22
|
-
searchPlaceholder: string;
|
|
23
|
-
tempFilter: boolean;
|
|
24
|
-
showNavigation: boolean;
|
|
25
|
-
options: {};
|
|
26
|
-
embedded: boolean;
|
|
27
|
-
languageCode: string;
|
|
28
|
-
/**
|
|
29
|
-
* The name of the external source
|
|
30
|
-
*/
|
|
31
|
-
name: string;
|
|
32
|
-
articleClick: EventEmitter<ExternalSourceArticleClickInterface>;
|
|
33
|
-
addArticleClick: EventEmitter<ExternalSourceArticleAddInterface>;
|
|
34
|
-
lookAtArticleClick: EventEmitter<ExternalSourceArticleAddInterface>;
|
|
35
|
-
iFrameFeedbackReceived: EventEmitter<string>;
|
|
36
|
-
showClass: boolean;
|
|
37
|
-
catalogFrame: ElementRef;
|
|
38
|
-
showCatalog: boolean;
|
|
39
|
-
safeUrl: SafeResourceUrl;
|
|
40
|
-
password: string;
|
|
41
|
-
username: string;
|
|
42
|
-
externalOrderNr: string;
|
|
43
|
-
vadainCounter: number;
|
|
44
|
-
loaded: boolean;
|
|
45
|
-
externalUrl: string;
|
|
46
|
-
externalSettings: any;
|
|
47
|
-
externalSource: ExternalSource;
|
|
48
|
-
private _externalCatalogStartupInfo;
|
|
49
|
-
private _subs;
|
|
50
|
-
constructor(_sanitizer: DomSanitizer, _catalogConnectorService: CatalogConnectorService, _appEventService: CatalogEventService);
|
|
51
|
-
ngOnInit(): void;
|
|
52
|
-
handleArticleClick(article: ArticleListObjectExtended): void;
|
|
53
|
-
receiveMessage(event: any): void;
|
|
54
|
-
fetchAndCombineThreeDimerseData(hash: string): Promise<void>;
|
|
55
|
-
create3DimerseFeedback(configurationData: any, priceData: any): void;
|
|
56
|
-
fetchJsonFile(url: string): Promise<Response>;
|
|
57
|
-
iframeLoaded(event: any): void;
|
|
58
|
-
private _prepareExternalSource;
|
|
59
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
|
|
3
|
-
import { ExternalSourceViewmodel } from '../../model/external-source-viewmodel';
|
|
4
|
-
import { CatalogConnectorService } from '../../service/catalog-connector.service';
|
|
5
|
-
import { CatalogImageService } from '../../service/catalog-image.service';
|
|
6
|
-
import { CatalogConnectorAdapterService } from '../../service/catalog-connector-adapter.service';
|
|
7
|
-
export declare class CatalogExternalSourcesComponent implements OnInit, OnDestroy {
|
|
8
|
-
private _catalogConnectorService;
|
|
9
|
-
private _imageService;
|
|
10
|
-
private _adapterService;
|
|
11
|
-
isStandalone: boolean;
|
|
12
|
-
embedded: boolean;
|
|
13
|
-
externalSourceClick: EventEmitter<ExternalSourceViewmodel>;
|
|
14
|
-
catalogsLoaded: EventEmitter<boolean>;
|
|
15
|
-
showClass(): boolean;
|
|
16
|
-
externalSourceViewModels: ExternalSourceViewmodel[];
|
|
17
|
-
unavailableCatalogs: CatalogDefinition[];
|
|
18
|
-
private _subs;
|
|
19
|
-
constructor(_catalogConnectorService: CatalogConnectorService, _imageService: CatalogImageService, _adapterService: CatalogConnectorAdapterService);
|
|
20
|
-
ngOnInit(): Promise<void>;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
private _getCatalogs;
|
|
23
|
-
private _loadCatalogs;
|
|
24
|
-
private _loadUnavailableCatalogs;
|
|
25
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { IconEnum } from '../../enum/icon.enum';
|
|
3
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
4
|
-
import { CatalogConnectorService } from '../../service/catalog-connector.service';
|
|
5
|
-
import { UserGroup } from '@colijnit/mainapi/build/model/user-group.bo';
|
|
6
|
-
import { CatalogSearchService } from '../../service/catalog-search.service';
|
|
7
|
-
import { CatalogConnectorAdapterService } from '../../service/catalog-connector-adapter.service';
|
|
8
|
-
import { CatalogSettingsService } from '../../service/catalog-settings.service';
|
|
9
|
-
import { CatalogService, StockView } from '../../service/catalog.service';
|
|
10
|
-
import { Category } from '../../interface/category.interface';
|
|
11
|
-
import { FilterOrder } from '../../interface/filter-order.interface';
|
|
12
|
-
export declare class CatalogFilterComponent implements OnInit, OnDestroy {
|
|
13
|
-
iconCache: IconCacheService;
|
|
14
|
-
catalogService: CatalogService;
|
|
15
|
-
searchService: CatalogSearchService;
|
|
16
|
-
private _settingsService;
|
|
17
|
-
private changeDetector;
|
|
18
|
-
private _catalogConnectorService;
|
|
19
|
-
private _adapterService;
|
|
20
|
-
readonly icons: typeof IconEnum;
|
|
21
|
-
filterItems: ElementRef;
|
|
22
|
-
generalFilter: ElementRef;
|
|
23
|
-
purchaseFilter: ElementRef;
|
|
24
|
-
logisticsFilter: ElementRef;
|
|
25
|
-
generalFilterOrders: FilterOrder[];
|
|
26
|
-
purchaseFilterOrders: FilterOrder[];
|
|
27
|
-
logisticsFilterOrders: FilterOrder[];
|
|
28
|
-
showResetFilter: boolean;
|
|
29
|
-
showSavePopup: boolean;
|
|
30
|
-
showClass(): boolean;
|
|
31
|
-
filterCategories: Category[];
|
|
32
|
-
userGroupsChosen: UserGroup[];
|
|
33
|
-
activeStockView: StockView;
|
|
34
|
-
userGroupCollection: UserGroup[];
|
|
35
|
-
updatePreset: boolean;
|
|
36
|
-
private _subs;
|
|
37
|
-
private _destroyed;
|
|
38
|
-
constructor(iconCache: IconCacheService, catalogService: CatalogService, searchService: CatalogSearchService, _settingsService: CatalogSettingsService, changeDetector: ChangeDetectorRef, _catalogConnectorService: CatalogConnectorService, _adapterService: CatalogConnectorAdapterService);
|
|
39
|
-
ngOnInit(): void;
|
|
40
|
-
ngOnDestroy(): void;
|
|
41
|
-
handleCategoryClick(cat: Category): void;
|
|
42
|
-
private getUserGroups;
|
|
43
|
-
private _showActiveCategory;
|
|
44
|
-
private detectChanges;
|
|
45
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Category } from '../../interface/category.interface';
|
|
3
|
-
export declare class CatalogFilterCategoriesComponent {
|
|
4
|
-
set categories(value: Category[]);
|
|
5
|
-
get categories(): Category[];
|
|
6
|
-
categoryClick: EventEmitter<Category>;
|
|
7
|
-
showClass(): boolean;
|
|
8
|
-
activeCategory: Category;
|
|
9
|
-
private _categories;
|
|
10
|
-
handleCategoryClick(category: Category): void;
|
|
11
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { FilterItemMode, FilterItemViewmodel } from '@colijnit/corecomponents_v12';
|
|
3
|
-
import { CatalogFilterService } from '../../../service/catalog-filter.service';
|
|
4
|
-
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
5
|
-
import { IconEnum } from '../../../enum/icon.enum';
|
|
6
|
-
import { CatalogSearchService } from '../../../service/catalog-search.service';
|
|
7
|
-
import { CatalogConnectorService } from '../../../service/catalog-connector.service';
|
|
8
|
-
import { CatalogConnectorAdapterService } from '../../../service/catalog-connector-adapter.service';
|
|
9
|
-
import { ConfigNameEnum } from '../../../enum/config-name.enum';
|
|
10
|
-
import { FilterOrder } from '../../../interface/filter-order.interface';
|
|
11
|
-
import { CatalogDictionaryService } from "../../../service/catalog-dictionary.service";
|
|
12
|
-
export declare class CatalogFilterContentGeneralComponent implements OnInit, OnDestroy {
|
|
13
|
-
catalogSearchService: CatalogSearchService;
|
|
14
|
-
filterService: CatalogFilterService;
|
|
15
|
-
iconCache: IconCacheService;
|
|
16
|
-
private _catalogConnectorService;
|
|
17
|
-
private _adapterService;
|
|
18
|
-
private _dictionaryService;
|
|
19
|
-
filterOrders: FilterOrder[];
|
|
20
|
-
showClass(): boolean;
|
|
21
|
-
readonly icons: typeof IconEnum;
|
|
22
|
-
readonly cfgName: typeof ConfigNameEnum;
|
|
23
|
-
readonly modes: typeof FilterItemMode;
|
|
24
|
-
private _subs;
|
|
25
|
-
storeGroupCollection: FilterItemViewmodel[];
|
|
26
|
-
inOutCollectionCollection: FilterItemViewmodel[];
|
|
27
|
-
articleTypeCollection: FilterItemViewmodel[];
|
|
28
|
-
artPublicationCollection: FilterItemViewmodel[];
|
|
29
|
-
artPublicationSalesCollection: FilterItemViewmodel[];
|
|
30
|
-
priceListsSalesCollection: FilterItemViewmodel[];
|
|
31
|
-
categoryCollection: FilterItemViewmodel[];
|
|
32
|
-
colorCollection: FilterItemViewmodel[];
|
|
33
|
-
doSyncCollection: FilterItemViewmodel[];
|
|
34
|
-
categoryTypes: FilterItemViewmodel[];
|
|
35
|
-
categoryDesigns: FilterItemViewmodel[];
|
|
36
|
-
articleGroupCollection: FilterItemViewmodel[];
|
|
37
|
-
sphereCollection: FilterItemViewmodel[];
|
|
38
|
-
conceptCollection: FilterItemViewmodel[];
|
|
39
|
-
designCollection: FilterItemViewmodel[];
|
|
40
|
-
materialCollection: FilterItemViewmodel[];
|
|
41
|
-
tagCollection: FilterItemViewmodel[];
|
|
42
|
-
turnoverGroupCollection: FilterItemViewmodel[];
|
|
43
|
-
brandCollection: FilterItemViewmodel[];
|
|
44
|
-
constructor(catalogSearchService: CatalogSearchService, filterService: CatalogFilterService, iconCache: IconCacheService, _catalogConnectorService: CatalogConnectorService, _adapterService: CatalogConnectorAdapterService, _dictionaryService: CatalogDictionaryService);
|
|
45
|
-
ngOnInit(): void;
|
|
46
|
-
ngOnDestroy(): void;
|
|
47
|
-
handleAllChanged(value: boolean): void;
|
|
48
|
-
private _setCollections;
|
|
49
|
-
private _setStoreGroups;
|
|
50
|
-
private _setInOutCollection;
|
|
51
|
-
private _setArticleTypes;
|
|
52
|
-
private _setCategories;
|
|
53
|
-
private _setDoSyncValues;
|
|
54
|
-
private _setColors;
|
|
55
|
-
private _setPublicationCodes;
|
|
56
|
-
private _setPublicationCodesSales;
|
|
57
|
-
private _setCategoryTypes;
|
|
58
|
-
private _setCategoryDesigns;
|
|
59
|
-
private _setPriceList;
|
|
60
|
-
_setProductGroupOptions(): void;
|
|
61
|
-
_setSphereOptions(): void;
|
|
62
|
-
_setConceptOptions(): void;
|
|
63
|
-
_setDesignOptions(): void;
|
|
64
|
-
_setMaterialOptions(): void;
|
|
65
|
-
_setTagOptions(): void;
|
|
66
|
-
_setTurnoverGroupOptions(): void;
|
|
67
|
-
_setBrandOptions(): void;
|
|
68
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
3
|
-
import { IconEnum } from '../../../enum/icon.enum';
|
|
4
|
-
import { SliderComponent } from '@colijnit/corecomponents';
|
|
5
|
-
import { CatalogSearchService } from '../../../service/catalog-search.service';
|
|
6
|
-
import { FilterItemMode } from '@colijnit/corecomponents_v12';
|
|
7
|
-
import { CatalogService, StockView } from '../../../service/catalog.service';
|
|
8
|
-
import { ConfigNameEnum } from '../../../enum/config-name.enum';
|
|
9
|
-
import { FilterOrder } from '../../../interface/filter-order.interface';
|
|
10
|
-
export declare class CatalogFilterContentLogisticsComponent implements OnInit, OnDestroy {
|
|
11
|
-
catalogSearchService: CatalogSearchService;
|
|
12
|
-
iconCache: IconCacheService;
|
|
13
|
-
catalogService: CatalogService;
|
|
14
|
-
readonly cfgName: typeof ConfigNameEnum;
|
|
15
|
-
filterOrders: FilterOrder[];
|
|
16
|
-
showClass(): boolean;
|
|
17
|
-
priceSlider: SliderComponent;
|
|
18
|
-
readonly modes: typeof FilterItemMode;
|
|
19
|
-
readonly icons: typeof IconEnum;
|
|
20
|
-
activeStockView: StockView;
|
|
21
|
-
readonly StockView: typeof StockView;
|
|
22
|
-
private _subs;
|
|
23
|
-
constructor(catalogSearchService: CatalogSearchService, iconCache: IconCacheService, catalogService: CatalogService);
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
3
|
-
import { IconEnum } from '../../../enum/icon.enum';
|
|
4
|
-
import { CatalogSearchService } from '../../../service/catalog-search.service';
|
|
5
|
-
import { FilterItemMode, FilterItemViewmodel } from '@colijnit/corecomponents_v12';
|
|
6
|
-
import { CatalogConnectorService } from '../../../service/catalog-connector.service';
|
|
7
|
-
import { CatalogFilterService } from '../../../service/catalog-filter.service';
|
|
8
|
-
import { CatalogConnectorAdapterService } from '../../../service/catalog-connector-adapter.service';
|
|
9
|
-
import { ConfigNameEnum } from '../../../enum/config-name.enum';
|
|
10
|
-
import { FilterOrder } from '../../../interface/filter-order.interface';
|
|
11
|
-
export declare class CatalogFilterContentPurchaseComponent implements OnInit, OnDestroy {
|
|
12
|
-
catalogSearchService: CatalogSearchService;
|
|
13
|
-
iconCache: IconCacheService;
|
|
14
|
-
filterService: CatalogFilterService;
|
|
15
|
-
private _catalogConnectorService;
|
|
16
|
-
private _adapterService;
|
|
17
|
-
readonly icons: typeof IconEnum;
|
|
18
|
-
readonly cfgName: typeof ConfigNameEnum;
|
|
19
|
-
readonly modes: typeof FilterItemMode;
|
|
20
|
-
filterOrders: FilterOrder[];
|
|
21
|
-
showClass(): boolean;
|
|
22
|
-
priceListsPurchCollection: FilterItemViewmodel[];
|
|
23
|
-
private _subs;
|
|
24
|
-
constructor(catalogSearchService: CatalogSearchService, iconCache: IconCacheService, filterService: CatalogFilterService, _catalogConnectorService: CatalogConnectorService, _adapterService: CatalogConnectorAdapterService);
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
ngOnDestroy(): void;
|
|
27
|
-
private _setCollections;
|
|
28
|
-
setSuppliers: (text: string) => Promise<FilterItemViewmodel[]>;
|
|
29
|
-
private _setPriceList;
|
|
30
|
-
}
|