@colijnit/catalog 9.1.1 → 12.0.3
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/app/components/catalog/article-card/article-card.component.d.ts +5 -2
- package/app/components/catalog/catalog-filter/catalog-filter.component.d.ts +1 -1
- package/app/ione-catalog.component.d.ts +1 -0
- package/app/service/app-event.service.d.ts +1 -0
- package/app/service/dictionary.service.d.ts +3 -5
- package/app/service/icon-cache.service.d.ts +2 -2
- package/bundles/colijnit-catalog.umd.js +762 -707
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/app/base/base-component.js +1 -1
- package/esm2015/app/components/catalog/article-card/article-card.component.js +33 -54
- package/esm2015/app/components/catalog/catalog/catalog.component.js +13 -15
- package/esm2015/app/components/catalog/catalog-filter/catalog-filter.component.js +25 -29
- package/esm2015/app/components/catalog/catalog-page/catalog-page.component.js +14 -16
- package/esm2015/app/components/catalog/filter-items/filter-items.component.js +16 -24
- package/esm2015/app/components/core/icon-handle/icon-handle.component.js +15 -22
- package/esm2015/app/components/core/label-field/label-field.component.js +13 -17
- package/esm2015/app/components/left-content/left-content.component.js +10 -12
- package/esm2015/app/components/main-content/main-content.component.js +10 -12
- package/esm2015/app/components/navigation/navigation.component.js +13 -15
- package/esm2015/app/components/top-content/top-content.component.js +21 -25
- package/esm2015/app/enum/catalog-product-filter.enum.js +1 -1
- package/esm2015/app/enum/icon.enum.js +1 -1
- package/esm2015/app/enum/language-code.enum.js +1 -1
- package/esm2015/app/enum/level-indicator-level.enum.js +1 -1
- package/esm2015/app/interface/filter-item.js +2 -1
- package/esm2015/app/interface/order-by.interface.js +2 -1
- package/esm2015/app/ione-catalog.component.js +29 -43
- package/esm2015/app/ione-catalog.module.js +90 -101
- package/esm2015/app/layout.directive.js +15 -23
- package/esm2015/app/model/icon.js +1 -1
- package/esm2015/app/model/settings-options.js +1 -1
- package/esm2015/app/model/settings.js +1 -1
- package/esm2015/app/pipe/greater-than-zero.pipe.js +9 -11
- package/esm2015/app/pipe/localize.pipe.js +8 -12
- package/esm2015/app/service/app-event.service.js +9 -10
- package/esm2015/app/service/dictionary.service.js +14 -24
- package/esm2015/app/service/i-one-connector-adapter.service.js +7 -8
- package/esm2015/app/service/i-one-controller.service.js +7 -8
- package/esm2015/app/service/icon-cache.service.js +9 -11
- package/esm2015/app/service/navigation.service.js +10 -11
- package/esm2015/app/service/options.service.js +10 -12
- package/esm2015/app/service/product-catalog-controller.service.js +18 -13
- package/esm2015/app/service/settings.service.js +7 -8
- package/esm2015/app/utils/json-utils.service.js +8 -9
- package/esm2015/app/utils/string-utils.js +1 -1
- package/esm2015/app/utils/utils.service.js +7 -8
- package/esm2015/colijnit-catalog.js +1 -1
- package/esm2015/public_api.js +1 -1
- package/fesm2015/colijnit-catalog.js +394 -461
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/package.json +22 -21
- package/bundles/colijnit-catalog.umd.min.js +0 -16
- package/bundles/colijnit-catalog.umd.min.js.map +0 -1
- package/css/styles.css +0 -85
- package/esm5/app/base/base-component.js +0 -7
- package/esm5/app/components/catalog/article-card/article-card.component.js +0 -209
- package/esm5/app/components/catalog/catalog/catalog.component.js +0 -36
- package/esm5/app/components/catalog/catalog-filter/catalog-filter.component.js +0 -217
- package/esm5/app/components/catalog/catalog-page/catalog-page.component.js +0 -73
- package/esm5/app/components/catalog/filter-items/filter-items.component.js +0 -58
- package/esm5/app/components/core/icon-handle/icon-handle.component.js +0 -44
- package/esm5/app/components/core/label-field/label-field.component.js +0 -23
- package/esm5/app/components/left-content/left-content.component.js +0 -18
- package/esm5/app/components/main-content/main-content.component.js +0 -18
- package/esm5/app/components/navigation/navigation.component.js +0 -63
- package/esm5/app/components/top-content/top-content.component.js +0 -51
- package/esm5/app/enum/catalog-product-filter.enum.js +0 -9
- package/esm5/app/enum/icon.enum.js +0 -22
- package/esm5/app/enum/language-code.enum.js +0 -8
- package/esm5/app/enum/level-indicator-level.enum.js +0 -7
- package/esm5/app/interface/filter-item.js +0 -1
- package/esm5/app/interface/order-by.interface.js +0 -1
- package/esm5/app/ione-catalog.component.js +0 -158
- package/esm5/app/ione-catalog.module.js +0 -104
- package/esm5/app/layout.directive.js +0 -89
- package/esm5/app/model/icon.js +0 -21
- package/esm5/app/model/settings-options.js +0 -17
- package/esm5/app/model/settings.js +0 -11
- package/esm5/app/pipe/greater-than-zero.pipe.js +0 -21
- package/esm5/app/pipe/localize.pipe.js +0 -33
- package/esm5/app/service/app-event.service.js +0 -21
- package/esm5/app/service/dictionary.service.js +0 -123
- package/esm5/app/service/i-one-connector-adapter.service.js +0 -79
- package/esm5/app/service/i-one-controller.service.js +0 -153
- package/esm5/app/service/icon-cache.service.js +0 -42
- package/esm5/app/service/navigation.service.js +0 -73
- package/esm5/app/service/options.service.js +0 -138
- package/esm5/app/service/product-catalog-controller.service.js +0 -739
- package/esm5/app/service/settings.service.js +0 -94
- package/esm5/app/utils/json-utils.service.js +0 -39
- package/esm5/app/utils/string-utils.js +0 -45
- package/esm5/app/utils/utils.service.js +0 -135
- package/esm5/colijnit-catalog.js +0 -32
- package/esm5/public_api.js +0 -2
- package/fesm5/colijnit-catalog.js +0 -2815
- package/fesm5/colijnit-catalog.js.map +0 -1
- package/typings.d.ts +0 -5
|
@@ -14,9 +14,9 @@ export declare class ArticleCardComponent {
|
|
|
14
14
|
private _iOne;
|
|
15
15
|
private _changeDetector;
|
|
16
16
|
private _appEventService;
|
|
17
|
-
get article(): ArticleExtendedDto;
|
|
18
|
-
set article(value: ArticleExtendedDto);
|
|
19
17
|
readonly Icons: typeof IconEnum;
|
|
18
|
+
set article(value: ArticleExtendedDto);
|
|
19
|
+
get article(): ArticleExtendedDto;
|
|
20
20
|
imageData: string;
|
|
21
21
|
price: number | string;
|
|
22
22
|
level: LevelIndicatorLevel;
|
|
@@ -32,12 +32,15 @@ export declare class ArticleCardComponent {
|
|
|
32
32
|
configurable: boolean;
|
|
33
33
|
threeD: boolean;
|
|
34
34
|
description: string;
|
|
35
|
+
valutaSymbol: string;
|
|
36
|
+
stockDetails: boolean;
|
|
35
37
|
onHostClick(event: MouseEvent): void;
|
|
36
38
|
constructor(iconCache: IconCacheService, catalog: ProductCatalogControllerService, options: OptionsService, _iOne: IOneControllerService, _changeDetector: ChangeDetectorRef, _appEventService: AppEventService);
|
|
37
39
|
handleLookAtArticleButtonClick(event: MouseEvent): void;
|
|
38
40
|
handleAddArticleButtonClick(event: MouseEvent): Promise<void>;
|
|
39
41
|
handleArButtonClick(event: MouseEvent): void;
|
|
40
42
|
removeHtmlTags(desc: string): string;
|
|
43
|
+
openStockDetails(): void;
|
|
41
44
|
private _getJSONFromArticleObject;
|
|
42
45
|
private _detectChanges;
|
|
43
46
|
private _getThumbNailImagesAndPrice;
|
|
@@ -4,7 +4,7 @@ import { ProductCatalogControllerService } from '../../../service/product-catalo
|
|
|
4
4
|
import { IconEnum } from '../../../enum/icon.enum';
|
|
5
5
|
import { CatalogProductFilter } from '../../../enum/catalog-product-filter.enum';
|
|
6
6
|
import { SliderComponent } from '@colijnit/corecomponents';
|
|
7
|
-
import { NumericalRange } from '@colijnit/corecomponents/
|
|
7
|
+
import { NumericalRange } from '@colijnit/corecomponents/lib/core/model/numerical-range';
|
|
8
8
|
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
9
9
|
import { OptionsService } from '../../../service/options.service';
|
|
10
10
|
export declare class CatalogFilterComponent implements OnInit, OnDestroy {
|
|
@@ -29,6 +29,7 @@ export declare class IoneCatalogComponent implements OnInit, OnDestroy {
|
|
|
29
29
|
onAddArticleButtonClick: EventEmitter<string>;
|
|
30
30
|
onArticleClick: EventEmitter<ArticleExtendedDto>;
|
|
31
31
|
onArButtonClick: EventEmitter<ArticleExtendedDto>;
|
|
32
|
+
onStockDetailsClick: EventEmitter<ArticleExtendedDto>;
|
|
32
33
|
_subs: Subscription[];
|
|
33
34
|
upAndLoaded: boolean;
|
|
34
35
|
layout: {};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
1
|
+
import { JsonUtilsService } from "../utils/json-utils.service";
|
|
2
|
+
import { Subject } from "rxjs";
|
|
4
3
|
export declare class DictionaryService {
|
|
5
|
-
private _http;
|
|
6
4
|
private _jsonUtils;
|
|
7
5
|
private readonly dictionaryUrl;
|
|
8
6
|
get language(): string;
|
|
@@ -14,7 +12,7 @@ export declare class DictionaryService {
|
|
|
14
12
|
private _dictionaries;
|
|
15
13
|
private _language;
|
|
16
14
|
private readonly _placeholder;
|
|
17
|
-
constructor(
|
|
15
|
+
constructor(_jsonUtils: JsonUtilsService);
|
|
18
16
|
getLanguageCode(lc: string): string;
|
|
19
17
|
setDictionary(language: string, additionalTranslationFile?: string): Promise<void>;
|
|
20
18
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { IconEnum } from "../enum/icon.enum";
|
|
2
|
+
import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
|
|
3
3
|
export declare class IconCacheService {
|
|
4
4
|
private _sanitizer;
|
|
5
5
|
/**
|