@colijnit/catalog 256.1.0 → 256.1.2
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 +128 -22
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog-256.1.1.tgz +0 -0
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/component/catalog-article-list/catalog-article-list.component.js +3 -2
- package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.component.js +8 -5
- package/esm2015/lib/component/catalog-external-source/catalog-external-source.component.js +4 -1
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.component.js +32 -44
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.module.js +4 -3
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.component.js +27 -1
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.component.js +8 -2
- package/esm2015/lib/component/catalog-filter-item/catalog-filter-item.component.js +10 -3
- package/esm2015/lib/component/catalog-filter-item/catalog-filter-item.module.js +3 -2
- package/esm2015/lib/component/catalog-search/catalog-search.component.js +43 -6
- package/esm2015/lib/component/catalog-search-result-list/catalog-search-result-list.component.js +4 -2
- package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.js +5 -3
- package/esm2015/lib/enum/config-name.enum.js +32 -0
- package/esm2015/lib/service/catalog-filter.service.js +21 -4
- package/fesm2015/colijnit-catalog.js +180 -60
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/component/catalog-article-list/catalog-article-list.component.d.ts +1 -0
- package/lib/component/catalog-article-list/style/_layout.scss +10 -1
- package/lib/component/catalog-article-tile/catalog-article-tile.component.d.ts +1 -0
- package/lib/component/catalog-article-tile/style/_layout.scss +7 -0
- package/lib/component/catalog-external-source/catalog-external-source.component.d.ts +1 -0
- package/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.component.d.ts +2 -0
- package/lib/component/catalog-filter-content/catalog-filter-content-logistics/catalog-filter-content-logistics.component.d.ts +2 -0
- package/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.component.d.ts +2 -0
- package/lib/component/catalog-filter-item/catalog-filter-item.component.d.ts +1 -0
- package/lib/component/catalog-search/catalog-search.component.d.ts +4 -1
- package/lib/component/catalog-search/style/_layout.scss +4 -0
- package/lib/component/catalog-search/style/_material-definition.scss +5 -0
- package/lib/component/catalog-search-result-list/catalog-search-result-list.component.d.ts +1 -0
- package/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.d.ts +1 -0
- package/lib/enum/config-name.enum.d.ts +30 -0
- package/lib/service/catalog-filter.service.d.ts +2 -0
- package/package.json +1 -1
|
@@ -34,6 +34,9 @@
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
+
&:hover .disabled {
|
|
38
|
+
pointer-events: none;
|
|
39
|
+
}
|
|
37
40
|
.card-wrapper {
|
|
38
41
|
position: relative;
|
|
39
42
|
display: flex;
|
|
@@ -126,6 +129,13 @@
|
|
|
126
129
|
height: $co-catalog-article-list-article-buttons-button-size;
|
|
127
130
|
}
|
|
128
131
|
}
|
|
132
|
+
> co-button.disabled {
|
|
133
|
+
background: #5b6875;
|
|
134
|
+
&:hover {
|
|
135
|
+
opacity: 1;
|
|
136
|
+
pointer-events: none;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
129
139
|
}
|
|
130
140
|
.price {
|
|
131
141
|
font-size: $co-catalog-article-list-article-price-font-size;
|
|
@@ -197,7 +207,6 @@
|
|
|
197
207
|
}
|
|
198
208
|
//}
|
|
199
209
|
}
|
|
200
|
-
|
|
201
210
|
@media screen and (max-width: 860px) {
|
|
202
211
|
|
|
203
212
|
}
|
|
@@ -7,6 +7,7 @@ import { CatalogSearchService } from "../../../service/catalog-search.service";
|
|
|
7
7
|
import { CatalogConnectorService } from "../../../service/catalog-connector.service";
|
|
8
8
|
import { FilterItemMode } from "@colijnit/corecomponents_v12/";
|
|
9
9
|
import { CatalogConnectorAdapterService } from '../../../service/catalog-connector-adapter.service';
|
|
10
|
+
import { ConfigNameEnum } from "../../../enum/config-name.enum";
|
|
10
11
|
export declare class CatalogFilterContentGeneralComponent implements OnInit, OnDestroy {
|
|
11
12
|
catalogSearchService: CatalogSearchService;
|
|
12
13
|
filterService: CatalogFilterService;
|
|
@@ -15,6 +16,7 @@ export declare class CatalogFilterContentGeneralComponent implements OnInit, OnD
|
|
|
15
16
|
private _adapterService;
|
|
16
17
|
showClass(): boolean;
|
|
17
18
|
readonly icons: typeof IconEnum;
|
|
19
|
+
readonly cfgName: typeof ConfigNameEnum;
|
|
18
20
|
readonly modes: typeof FilterItemMode;
|
|
19
21
|
private _subs;
|
|
20
22
|
storeGroupCollection: FilterItemViewmodel[];
|
|
@@ -5,10 +5,12 @@ import { SliderComponent } from "@colijnit/corecomponents";
|
|
|
5
5
|
import { CatalogSearchService } from "../../../service/catalog-search.service";
|
|
6
6
|
import { FilterItemMode } from "@colijnit/corecomponents_v12";
|
|
7
7
|
import { CatalogService, StockView } from "../../../service/catalog.service";
|
|
8
|
+
import { ConfigNameEnum } from "../../../enum/config-name.enum";
|
|
8
9
|
export declare class CatalogFilterContentLogisticsComponent implements OnInit, OnDestroy {
|
|
9
10
|
catalogSearchService: CatalogSearchService;
|
|
10
11
|
iconCache: IconCacheService;
|
|
11
12
|
catalogService: CatalogService;
|
|
13
|
+
readonly cfgName: typeof ConfigNameEnum;
|
|
12
14
|
showClass(): boolean;
|
|
13
15
|
priceSlider: SliderComponent;
|
|
14
16
|
readonly modes: typeof FilterItemMode;
|
|
@@ -6,6 +6,7 @@ import { FilterItemMode, FilterItemViewmodel } from "@colijnit/corecomponents_v1
|
|
|
6
6
|
import { CatalogConnectorService } from "../../../service/catalog-connector.service";
|
|
7
7
|
import { CatalogFilterService } from "../../../service/catalog-filter.service";
|
|
8
8
|
import { CatalogConnectorAdapterService } from '../../../service/catalog-connector-adapter.service';
|
|
9
|
+
import { ConfigNameEnum } from "../../../enum/config-name.enum";
|
|
9
10
|
export declare class CatalogFilterContentPurchaseComponent implements OnInit, OnDestroy {
|
|
10
11
|
catalogSearchService: CatalogSearchService;
|
|
11
12
|
iconCache: IconCacheService;
|
|
@@ -13,6 +14,7 @@ export declare class CatalogFilterContentPurchaseComponent implements OnInit, On
|
|
|
13
14
|
private _catalogConnectorService;
|
|
14
15
|
private _adapterService;
|
|
15
16
|
readonly icons: typeof IconEnum;
|
|
17
|
+
readonly cfgName: typeof ConfigNameEnum;
|
|
16
18
|
showClass(): boolean;
|
|
17
19
|
readonly modes: typeof FilterItemMode;
|
|
18
20
|
suppliers: FilterItemViewmodel[];
|
|
@@ -18,6 +18,7 @@ export declare class CatalogFilterItemComponent {
|
|
|
18
18
|
collectionLoadFn: Function;
|
|
19
19
|
modelChange: EventEmitter<any>;
|
|
20
20
|
collectionChange: EventEmitter<any>;
|
|
21
|
+
screenConfigurationObjectName: string;
|
|
21
22
|
constructor(searchService: CatalogSearchService);
|
|
22
23
|
searchPlaceholder: string;
|
|
23
24
|
noResultsLabel: string;
|
|
@@ -7,12 +7,14 @@ import { IconCacheService } from '../../service/icon-cache.service';
|
|
|
7
7
|
import { CatalogService } from '../../service/catalog.service';
|
|
8
8
|
import { CatalogSettingsService } from '../../service/catalog-settings.service';
|
|
9
9
|
import { ExternalSourceViewmodel } from '../../model/external-source-viewmodel';
|
|
10
|
+
import { BaseModuleScreenConfigService } from "@colijnit/corecomponents_v12";
|
|
10
11
|
export declare class CatalogSearchComponent implements OnInit, OnDestroy {
|
|
11
12
|
private _settingsService;
|
|
12
13
|
private _catalogService;
|
|
13
14
|
private _catalogSearchService;
|
|
14
15
|
private _catalogEventService;
|
|
15
16
|
iconCacheService: IconCacheService;
|
|
17
|
+
private _cfgService;
|
|
16
18
|
readonly icons: typeof IconEnum;
|
|
17
19
|
set settings(value: any);
|
|
18
20
|
title: string;
|
|
@@ -23,6 +25,7 @@ export declare class CatalogSearchComponent implements OnInit, OnDestroy {
|
|
|
23
25
|
showLandingPage: boolean;
|
|
24
26
|
showFilter: boolean;
|
|
25
27
|
showViewModes: boolean;
|
|
28
|
+
isHomeDecoHub: boolean;
|
|
26
29
|
settingsChange: EventEmitter<any>;
|
|
27
30
|
onLookAtArticleButtonClick: EventEmitter<ArticleExtended>;
|
|
28
31
|
onArButtonClick: EventEmitter<ArticleExtended>;
|
|
@@ -35,7 +38,7 @@ export declare class CatalogSearchComponent implements OnInit, OnDestroy {
|
|
|
35
38
|
showCategories: boolean;
|
|
36
39
|
private _subs;
|
|
37
40
|
private _settings;
|
|
38
|
-
constructor(_settingsService: CatalogSettingsService, _catalogService: CatalogService, _catalogSearchService: CatalogSearchService, _catalogEventService: CatalogEventService, iconCacheService: IconCacheService);
|
|
41
|
+
constructor(_settingsService: CatalogSettingsService, _catalogService: CatalogService, _catalogSearchService: CatalogSearchService, _catalogEventService: CatalogEventService, iconCacheService: IconCacheService, _cfgService: BaseModuleScreenConfigService);
|
|
39
42
|
ngOnInit(): Promise<void>;
|
|
40
43
|
ngOnDestroy(): void;
|
|
41
44
|
handleHomeClick($event: any): void;
|
|
@@ -88,6 +88,10 @@
|
|
|
88
88
|
align-items: center;
|
|
89
89
|
font-size: $co-catalog-search-filter-title-font-size;
|
|
90
90
|
font-weight: $co-catalog-search-filter-title-font-weight;
|
|
91
|
+
.reset-filter-text {
|
|
92
|
+
font-size: $co-catalog-search-filter-reset-font-size;
|
|
93
|
+
font-weight: $co-catalog-search-filter-reset-font-weight;
|
|
94
|
+
}
|
|
91
95
|
}
|
|
92
96
|
}
|
|
93
97
|
}
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
--co-catalog-search-filter-title-font-size: 16px;
|
|
13
13
|
--co-catalog-search-filter-title-font-weight: bold;
|
|
14
14
|
--co-catalog-search-filter-title-icon-size: 13px;
|
|
15
|
+
--co-catalog-search-filter-reset-font-size: 14px;
|
|
16
|
+
--co-catalog-search-filter-reset-font-weight: 300;
|
|
15
17
|
}
|
|
16
18
|
$co-catalog-search-font-family: var(--co-catalog-search-font-family) !default;
|
|
17
19
|
$co-catalog-search-column-gap: var(--co-catalog-search-column-gap) !default;
|
|
@@ -30,6 +32,9 @@ $co-catalog-search-filter-title-font-size: var(--co-catalog-search-filter-title-
|
|
|
30
32
|
$co-catalog-search-filter-title-font-weight: var(--co-catalog-search-filter-title-font-weight) !default;
|
|
31
33
|
$co-catalog-search-filter-title-icon-size: var(--co-catalog-search-filter-title-icon-size) !default;
|
|
32
34
|
|
|
35
|
+
$co-catalog-search-filter-reset-font-size: var(--co-catalog-search-filter-reset-font-size) !default;
|
|
36
|
+
$co-catalog-search-filter-reset-font-weight: var(--co-catalog-search-filter-reset-font-weight) !default;
|
|
37
|
+
|
|
33
38
|
$co-catalog-search-view-modes-padding: 0 20px 0 0 !default;
|
|
34
39
|
$co-catalog-search-view-modes-button-size: 30px !default;
|
|
35
40
|
$co-catalog-search-view-modes-button-radius: 3px !default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare enum ConfigNameEnum {
|
|
2
|
+
ArticleNumberFilter = "articleNumberFilter",
|
|
3
|
+
BarcodeFilter = "barcodeFilter",
|
|
4
|
+
PriceFilter = "priceFilter",
|
|
5
|
+
LengthFilter = "lengthFilter",
|
|
6
|
+
WidthFilter = "widthFilter",
|
|
7
|
+
HeightFilter = "heightFilter",
|
|
8
|
+
DepthFilter = "depthFilter",
|
|
9
|
+
ArticleTypeFilter = "articleTypeFilter",
|
|
10
|
+
ColorFilter = "colorFilter",
|
|
11
|
+
DeliveryDateFilter = "deliveryDateFilter",
|
|
12
|
+
RetailFormulaFilter = "retailFormulaFilter",
|
|
13
|
+
InOutFilter = "inOutFilter",
|
|
14
|
+
PublishFilter = "publishFilter",
|
|
15
|
+
SellViaFilter = "sellViaFilter",
|
|
16
|
+
CategoryFilter = "categoryFilter",
|
|
17
|
+
SupplierFilter = "supplierFilter",
|
|
18
|
+
ArtNrSupplierFilter = "artNrSupplierFilter",
|
|
19
|
+
ReferenceFilter = "referenceFilter",
|
|
20
|
+
PricelistPurchaseFilter = "pricelistPurchaseFilter",
|
|
21
|
+
SerialNumberFilter = "serialNumberFilter",
|
|
22
|
+
BatchNumberFilter = "batchNumberFilter",
|
|
23
|
+
DateModifiedFilter = "dateModifiedFilter",
|
|
24
|
+
UpdateDateFilter = "updateDateFilter",
|
|
25
|
+
StockMutationFilter = "stockMutationFilter",
|
|
26
|
+
WarehouseFilter = "warehouseFilter",
|
|
27
|
+
StockStateFilter = "stockStateFilter",
|
|
28
|
+
SourceWarehouseFilter = "sourceWarehouseFilter",
|
|
29
|
+
TargetWarehouseFilter = "targetWarehouseFilter"
|
|
30
|
+
}
|
|
@@ -18,10 +18,12 @@ export declare class CatalogFilterService {
|
|
|
18
18
|
depthMaxFilter: number;
|
|
19
19
|
filters: CatalogFilterViewmodel[];
|
|
20
20
|
readonly filterItemMap: Map<string, string>;
|
|
21
|
+
readonly filterItemConfigMap: Map<string, string>;
|
|
21
22
|
constructor(_iOneController: CatalogConnectorService);
|
|
22
23
|
getFilters(filters: ArticleExtendedRequest): void;
|
|
23
24
|
createNewFiltersAndCopySelections(filter: ArticleSearchFilterSelections, key: string): CatalogFilterViewmodel;
|
|
24
25
|
getFilterItemMap(key: string): string;
|
|
26
|
+
getFilterItemConfigMap(key: string): string;
|
|
25
27
|
createFilterSelectionsCollection(collection: any[], id: string, description: string): FilterItemViewmodel[];
|
|
26
28
|
createFilterSelectionsSupplierCollection(collection: RelationListObject[]): FilterItemViewmodel[];
|
|
27
29
|
}
|