@colijnit/catalog 12.1.26 → 12.1.28
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 +27 -137
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/lib/cache/cache-field.js +2 -2
- package/esm2015/lib/cache/parameter-cache-field.js +3 -3
- package/esm2015/lib/cache/service/select-multiple-cache.service.js +4 -4
- package/esm2015/lib/cache/service/select-multiple-parameterized-cache.service.js +4 -4
- package/esm2015/lib/cache/service/select-single-cache.service.js +3 -3
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.component.js +3 -2
- package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.component.js +6 -6
- package/esm2015/lib/component/catalog-navigation/catalog-navigation.component.js +12 -7
- package/esm2015/lib/component/catalog-navigation/catalog-navigation.module.js +4 -4
- package/esm2015/lib/component/catalog-search/catalog-search.component.js +3 -5
- package/esm2015/lib/pipe/localize.pipe.js +1 -1
- package/esm2015/lib/service/catalog-connector.service.js +1 -1
- package/esm2015/lib/service/catalog-options.service.js +1 -1
- package/esm2015/lib/service/catalog-search.service.js +9 -19
- package/esm2015/lib/service/catalog.service.js +3 -127
- package/esm2015/lib/service/dictionary.service.js +4 -4
- package/esm2015/lib/service/icon-cache.service.js +4 -4
- package/fesm2015/colijnit-catalog.js +33 -163
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/cache/cache-field.d.ts +1 -1
- package/lib/cache/service/select-multiple-cache.service.d.ts +3 -3
- package/lib/cache/service/select-multiple-parameterized-cache.service.d.ts +5 -5
- package/lib/cache/service/select-single-cache.service.d.ts +4 -4
- package/lib/component/catalog-article-tile/style/_layout.scss +13 -8
- package/lib/component/catalog-article-tile/style/_material-definition.scss +1 -0
- package/lib/component/catalog-article-tile/style/_theme.scss +1 -0
- package/lib/component/catalog-categories/style/_layout.scss +3 -0
- package/lib/component/catalog-categories/style/_material-definition.scss +3 -0
- package/lib/component/catalog-external-sources/catalog-external-sources.component.d.ts +2 -1
- package/lib/component/catalog-external-sources/style/_layout.scss +13 -21
- package/lib/component/catalog-external-sources/style/_material-definition.scss +5 -4
- package/lib/component/catalog-external-sources/style/_theme.scss +3 -1
- package/lib/component/catalog-navigation/catalog-navigation.component.d.ts +3 -0
- package/lib/component/catalog-navigation/style/_layout.scss +8 -0
- package/lib/component/catalog-navigation/style/_material-definition.scss +8 -3
- package/lib/component/catalog-navigation/style/_theme.scss +3 -0
- package/lib/service/catalog-options.service.d.ts +1 -1
- package/lib/service/catalog-search.service.d.ts +1 -4
- package/lib/service/catalog.service.d.ts +0 -11
- package/lib/service/dictionary.service.d.ts +1 -1
- package/lib/service/icon-cache.service.d.ts +2 -2
- package/package.json +2 -2
- package/esm2015/lib/interface/order-by.interface.js +0 -2
- package/lib/interface/order-by.interface.d.ts +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BusinessObjectCacheManagerService } from
|
|
2
|
-
import { CacheField } from
|
|
3
|
-
import { BusinessObject } from
|
|
1
|
+
import { BusinessObjectCacheManagerService } from './business-object-cache-manager.service';
|
|
2
|
+
import { CacheField } from '../cache-field';
|
|
3
|
+
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
4
4
|
export declare class SelectMultipleCacheService {
|
|
5
5
|
private _boCacheManager;
|
|
6
6
|
private static _NullCache;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { OnDestroy } from
|
|
2
|
-
import { Subject } from
|
|
3
|
-
import { BusinessObjectCacheManagerService } from
|
|
4
|
-
import { BusinessObject } from
|
|
5
|
-
import { ParameterCacheField } from
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { BusinessObjectCacheManagerService } from './business-object-cache-manager.service';
|
|
4
|
+
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
5
|
+
import { ParameterCacheField } from '../parameter-cache-field';
|
|
6
6
|
export declare class SelectMultipleParameterizedCacheService implements OnDestroy {
|
|
7
7
|
private _boCacheManager;
|
|
8
8
|
readonly reset: Subject<void>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BusinessObjectCacheManagerService } from
|
|
2
|
-
import { BusinessObject } from
|
|
3
|
-
import { CacheField } from
|
|
4
|
-
import { BusinessObjectIDType } from
|
|
1
|
+
import { BusinessObjectCacheManagerService } from './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
5
|
export declare class SelectSingleCacheService {
|
|
6
6
|
private _boCacheManager;
|
|
7
7
|
constructor(_boCacheManager: BusinessObjectCacheManagerService);
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
.main-bottom-left {
|
|
35
35
|
.stock {
|
|
36
36
|
text-decoration: underline;
|
|
37
|
-
color: #3E7EFF;
|
|
38
37
|
}
|
|
39
38
|
}
|
|
40
39
|
}
|
|
@@ -140,7 +139,6 @@
|
|
|
140
139
|
|
|
141
140
|
.turnover {
|
|
142
141
|
font-size: 12px;
|
|
143
|
-
color: $ca-primary-color-light;
|
|
144
142
|
margin: 0;
|
|
145
143
|
}
|
|
146
144
|
|
|
@@ -163,7 +161,19 @@
|
|
|
163
161
|
.description {
|
|
164
162
|
font-size: 14px;
|
|
165
163
|
font-weight: bold;
|
|
166
|
-
|
|
164
|
+
margin: 10px 0 5px;
|
|
165
|
+
text-overflow: ellipsis;
|
|
166
|
+
white-space: nowrap;
|
|
167
|
+
overflow: hidden;
|
|
168
|
+
-moz-hyphens: auto;
|
|
169
|
+
-ms-hyphens: auto;
|
|
170
|
+
-webkit-hyphens: auto;
|
|
171
|
+
hyphens: auto;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.name {
|
|
175
|
+
font-size: 14px;
|
|
176
|
+
font-weight: normal;
|
|
167
177
|
margin: 10px 0 5px;
|
|
168
178
|
text-overflow: ellipsis;
|
|
169
179
|
white-space: nowrap;
|
|
@@ -182,7 +192,6 @@
|
|
|
182
192
|
align-items: flex-start;
|
|
183
193
|
justify-content: center;
|
|
184
194
|
flex-direction: column;
|
|
185
|
-
color: $ca-primary-color-light;
|
|
186
195
|
|
|
187
196
|
::ng-deep co-level-indicator {
|
|
188
197
|
height: 30px;
|
|
@@ -204,24 +213,20 @@
|
|
|
204
213
|
.price {
|
|
205
214
|
font-size: 16px;
|
|
206
215
|
margin: 10px 0 10px 0;
|
|
207
|
-
color: #404040;
|
|
208
216
|
font-weight: 500;
|
|
209
217
|
letter-spacing: -0.5px;
|
|
210
218
|
}
|
|
211
219
|
|
|
212
220
|
.stock {
|
|
213
|
-
color: #32a545;
|
|
214
221
|
font-size: 11px;
|
|
215
222
|
font-weight: 500;
|
|
216
223
|
}
|
|
217
224
|
|
|
218
225
|
.stock.not-in-stock {
|
|
219
|
-
color: #5b6875;
|
|
220
226
|
}
|
|
221
227
|
|
|
222
228
|
.sku {
|
|
223
229
|
font-size: 11px;
|
|
224
|
-
color: #5b6875;
|
|
225
230
|
margin: 5px 0 5px;
|
|
226
231
|
text-transform: lowercase;
|
|
227
232
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
$co-catalog-article-tile-font-family: $ca-font-family !default;
|
|
2
2
|
$co-catalog-article-tile-font-size: $ca-font-size !default;
|
|
3
|
+
$co-catalog-article-tile-font-color: $ca-color-font !default;
|
|
3
4
|
$co-catalog-article-tile-padding: 10px 20px !default;
|
|
4
5
|
$co-catalog-article-tile-border-style: solid !default;
|
|
5
6
|
$co-catalog-article-tile-border-width: 1px !default;
|
|
@@ -95,6 +95,9 @@
|
|
|
95
95
|
font-weight: $co-catalog-categories-turnovergroup-description-font-weight;
|
|
96
96
|
font-size: $co-catalog-categories-turnovergroup-description-font-size;
|
|
97
97
|
margin: $co-catalog-categories-turnovergroup-description-margin;
|
|
98
|
+
text-overflow: $co-catalog-categories-turnovergroup-description-text-overflow;
|
|
99
|
+
overflow: $co-catalog-categories-turnovergroup-description-overflow;
|
|
100
|
+
white-space: $co-catalog-categories-turnovergroup-description-white-space;
|
|
98
101
|
}
|
|
99
102
|
&:hover {
|
|
100
103
|
.co-image {
|
|
@@ -27,3 +27,6 @@ $co-catalog-categories-turnovergroup-description-font-weight: 600 !default;
|
|
|
27
27
|
$co-catalog-categories-turnovergroup-description-margin: 5px 0 !default;
|
|
28
28
|
$co-catalog-categories-turnovergroup-image-filter: brightness(80%) !default;
|
|
29
29
|
$co-catalog-categories-turnovergroup-image-hover-filter: brightness(100%) !default;
|
|
30
|
+
$co-catalog-categories-turnovergroup-description-text-overflow: ellipsis !default;
|
|
31
|
+
$co-catalog-categories-turnovergroup-description-overflow: hidden !default;
|
|
32
|
+
$co-catalog-categories-turnovergroup-description-white-space: nowrap !default;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ExternalSourceViewmodel } from '../../model/external-source-viewmodel';
|
|
3
3
|
import { CatalogConnectorService } from '../../service/catalog-connector.service';
|
|
4
4
|
import { CatalogImageService } from '../../service/catalog-image.service';
|
|
5
5
|
export declare class CatalogExternalSourcesComponent implements OnInit {
|
|
6
6
|
private _catalogConnectorService;
|
|
7
7
|
private _imageService;
|
|
8
|
+
externalSourceClick: EventEmitter<ExternalSourceViewmodel>;
|
|
8
9
|
showClass(): boolean;
|
|
9
10
|
externalSourceViewModels: ExternalSourceViewmodel[];
|
|
10
11
|
constructor(_catalogConnectorService: CatalogConnectorService, _imageService: CatalogImageService);
|
|
@@ -15,41 +15,33 @@
|
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
position: relative;
|
|
17
17
|
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
18
19
|
height: 100%;
|
|
19
20
|
width: 100%;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
border-style: $co-catalog-external-sources-item-border-style;
|
|
22
|
-
border-width: $co-catalog-external-sources-item-border-width;
|
|
23
|
-
border-radius: $co-catalog-external-sources-item-border-radius;
|
|
24
21
|
min-height: $co-catalog-external-sources-image-size;
|
|
25
22
|
.co-image {
|
|
26
23
|
height: 100%;
|
|
27
24
|
width: 100%;
|
|
25
|
+
border-style: $co-catalog-external-sources-item-border-style;
|
|
26
|
+
border-width: $co-catalog-external-sources-item-border-width;
|
|
27
|
+
border-radius: $co-catalog-external-sources-item-border-radius;
|
|
28
28
|
img {
|
|
29
29
|
height: 100%;
|
|
30
30
|
width: 100%;
|
|
31
31
|
filter: $co-catalog-external-sources-image-filter;
|
|
32
|
+
border-radius: $co-catalog-external-sources-item-border-radius;
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
.external-source-description {
|
|
35
36
|
display: block;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
transform:
|
|
43
|
-
|
|
44
|
-
display: flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
justify-content: center;
|
|
47
|
-
width: 100%;
|
|
48
|
-
height: 100%;
|
|
49
|
-
font-weight: $co-catalog-external-sources-description-font-weight;
|
|
50
|
-
text-shadow: $co-catalog-external-sources-description-text-shadow;
|
|
51
|
-
text-transform: $co-catalog-external-sources-description-text-transform;
|
|
52
|
-
}
|
|
37
|
+
text-overflow: ellipsis;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
white-space: nowrap;
|
|
40
|
+
font-size: $co-catalog-external-sources-description-font-size;
|
|
41
|
+
font-weight: $co-catalog-external-sources-description-font-weight;
|
|
42
|
+
text-shadow: $co-catalog-external-sources-description-text-shadow;
|
|
43
|
+
text-transform: $co-catalog-external-sources-description-text-transform;
|
|
44
|
+
margin: $co-catalog-external-sources-description-margin;
|
|
53
45
|
}
|
|
54
46
|
&:hover {
|
|
55
47
|
.co-image {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
$co-catalog-external-sources-font-family: $ca-font-family !default;
|
|
2
2
|
$co-catalog-external-sources-font-size: $ca-font-size !default;
|
|
3
|
-
$co-catalog-external-sources-image-size:
|
|
3
|
+
$co-catalog-external-sources-image-size: 150px !default;
|
|
4
4
|
$co-catalog-external-sources-padding: 0 !default;
|
|
5
5
|
$co-catalog-external-sources-column-gap: 10px !default;
|
|
6
6
|
|
|
@@ -11,8 +11,9 @@ $co-catalog-external-sources-item-border-radius: 10px !default;
|
|
|
11
11
|
|
|
12
12
|
$co-catalog-external-sources-image-filter: brightness(80%) !default;
|
|
13
13
|
$co-catalog-external-sources-image-hover-filter: brightness(100%) !default;
|
|
14
|
-
$co-catalog-external-sources-description-
|
|
15
|
-
$co-catalog-external-sources-description-font-
|
|
14
|
+
$co-catalog-external-sources-description-margin: 10px 0 !default;
|
|
15
|
+
$co-catalog-external-sources-description-font-size: $ca-font-size !default;
|
|
16
|
+
$co-catalog-external-sources-description-font-color: $ca-color-font !default;
|
|
16
17
|
$co-catalog-external-sources-description-font-weight: bold !default;
|
|
17
18
|
$co-catalog-external-sources-description-text-transform: capitalize !default;
|
|
18
|
-
$co-catalog-external-sources-description-text-shadow: 0 2px 3px rgba(1, 1, 1, .55) !default;
|
|
19
|
+
$co-catalog-external-sources-description-text-shadow: none /*0 2px 3px rgba(1, 1, 1, .55)*/ !default;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@include export-module('co-catalog-external-sources-theme') {
|
|
2
2
|
.co-catalog-external-sources {
|
|
3
3
|
.external-source-item {
|
|
4
|
-
|
|
4
|
+
.co-image {
|
|
5
|
+
border-color: $co-catalog-external-sources-item-border-color;
|
|
6
|
+
}
|
|
5
7
|
}
|
|
6
8
|
.external-source-description {
|
|
7
9
|
.text {
|
|
@@ -5,6 +5,7 @@ import { CatalogService } from '../../service/catalog.service';
|
|
|
5
5
|
import { CatalogEventService } from '../../service/catalog-event.service';
|
|
6
6
|
import { ArticleCategory } from '@colijnit/articleapi/build/model/article-category';
|
|
7
7
|
import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-group-image.bo';
|
|
8
|
+
import { ExternalSourceViewmodel } from '../../model/external-source-viewmodel';
|
|
8
9
|
export declare class CatalogNavigationComponent {
|
|
9
10
|
iconCache: IconCacheService;
|
|
10
11
|
catalogService: CatalogService;
|
|
@@ -17,6 +18,7 @@ export declare class CatalogNavigationComponent {
|
|
|
17
18
|
homeClick: EventEmitter<void>;
|
|
18
19
|
categoryClick: EventEmitter<string>;
|
|
19
20
|
turnoverGroupClick: EventEmitter<string>;
|
|
21
|
+
externalSourceClick: EventEmitter<ExternalSourceViewmodel>;
|
|
20
22
|
minified: boolean;
|
|
21
23
|
showClass: boolean;
|
|
22
24
|
mobileMenuToggle: boolean;
|
|
@@ -36,6 +38,7 @@ export declare class CatalogNavigationComponent {
|
|
|
36
38
|
prepareTurnoverGroups(): void;
|
|
37
39
|
handleCategoryClick(event: MouseEvent, category: string): void;
|
|
38
40
|
handleTurnoverGroupClick(event: MouseEvent, turnovergroupNr: string): void;
|
|
41
|
+
handleExternalSourceClick(externalSource: ExternalSourceViewmodel): void;
|
|
39
42
|
onToggleMobileMenu(): void;
|
|
40
43
|
onSubMenuToggle(event: any): void;
|
|
41
44
|
onOpenSubMenu(event: MouseEvent): void;
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
font-family: $co-catalog-navigation-font-family;
|
|
4
4
|
font-size: $co-catalog-navigation-font-size;
|
|
5
5
|
color: $co-catalog-navigation-font-color;
|
|
6
|
+
margin: $co-catalog-navigation-margin;
|
|
7
|
+
.home-link {
|
|
8
|
+
font-family: $co-catalog-navigation-home-font-family;
|
|
9
|
+
font-size: $co-catalog-navigation-home-font-size;
|
|
10
|
+
font-weight: $co-catalog-navigation-home-font-weight;
|
|
11
|
+
}
|
|
6
12
|
.navigation-wrapper {
|
|
7
13
|
display: flex;
|
|
8
14
|
align-items: center;
|
|
@@ -15,6 +21,7 @@
|
|
|
15
21
|
}
|
|
16
22
|
.navigation-overlay-wrapper {
|
|
17
23
|
position: fixed;
|
|
24
|
+
left: 0;
|
|
18
25
|
display: flex;
|
|
19
26
|
overflow: hidden;
|
|
20
27
|
background: white;
|
|
@@ -22,6 +29,7 @@
|
|
|
22
29
|
padding: $co-catalog-navigation-padding;
|
|
23
30
|
column-gap: $co-catalog-navigation-column-gap;
|
|
24
31
|
box-shadow: $co-catalog-navigation-box-shadow;
|
|
32
|
+
width: 100%;
|
|
25
33
|
}
|
|
26
34
|
.navigation-category {
|
|
27
35
|
cursor: pointer;
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
$co-catalog-navigation-font-family: $ca-font-family !default;
|
|
2
2
|
$co-catalog-navigation-font-size: $ca-font-size !default;
|
|
3
3
|
$co-catalog-navigation-font-color: $ca-color-font !default;
|
|
4
|
-
$co-catalog-navigation-
|
|
4
|
+
$co-catalog-navigation-margin: 10px !default;
|
|
5
|
+
$co-catalog-navigation-padding: 20px !default;
|
|
5
6
|
$co-catalog-navigation-column-gap: 10px !default;
|
|
6
7
|
$co-catalog-navigation-box-shadow: 0 3px 5px $ca-color-border !default;
|
|
7
8
|
|
|
9
|
+
$co-catalog-navigation-home-font-family: $ca-font-family !default;
|
|
10
|
+
$co-catalog-navigation-home-font-size: $ca-font-size-big !default;
|
|
11
|
+
$co-catalog-navigation-home-font-weight: bold !default;
|
|
12
|
+
$co-catalog-navigation-home-font-color: $ca-color-font !default;
|
|
13
|
+
|
|
14
|
+
|
|
8
15
|
$co-catalog-navigation-category-font-family: $ca-font-family !default;
|
|
9
16
|
$co-catalog-navigation-category-font-size: $ca-font-size-big !default;
|
|
10
17
|
$co-catalog-navigation-category-font-weight: bold !default;
|
|
11
|
-
$co-catalog-navigation-category-font-weight: bold !default;
|
|
12
|
-
$co-catalog-navigation-category-font-weight: bold !default;
|
|
13
18
|
$co-catalog-navigation-category-padding: 0 0 5px 0 !default;
|
|
14
19
|
$co-catalog-navigation-category-margin: 0 0 10px 0 !default;
|
|
15
20
|
$co-catalog-navigation-category-border-style: solid !default;
|
|
@@ -2,7 +2,7 @@ import { OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import { DictionaryService } from './dictionary.service';
|
|
4
4
|
import { CatalogSettingsService } from './catalog-settings.service';
|
|
5
|
-
import { ArticleExtendedRequest } from
|
|
5
|
+
import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
|
|
6
6
|
export declare class CatalogOptionsService implements OnDestroy {
|
|
7
7
|
private _dictionary;
|
|
8
8
|
private _settingsService;
|
|
@@ -12,7 +12,6 @@ export declare class CatalogSearchService implements OnDestroy {
|
|
|
12
12
|
private _settingsService;
|
|
13
13
|
private _optionService;
|
|
14
14
|
searchRequest: ArticleExtendedRequest;
|
|
15
|
-
previousSearchRequest: ArticleExtendedRequest;
|
|
16
15
|
showFilterSidebar: boolean;
|
|
17
16
|
searchPlaceholder: string;
|
|
18
17
|
articles: ArticleExtended[];
|
|
@@ -35,10 +34,8 @@ export declare class CatalogSearchService implements OnDestroy {
|
|
|
35
34
|
ngOnDestroy(): void;
|
|
36
35
|
filterOnCollection(collection: FilterItemViewmodel[]): void;
|
|
37
36
|
searchArticles(getFilters?: boolean): void;
|
|
38
|
-
resetFilters(): void;
|
|
37
|
+
resetFilters(search?: boolean): void;
|
|
39
38
|
private _resetRequest;
|
|
40
|
-
setPreviousSearchRequest(): void;
|
|
41
|
-
isNewGeneralSearch(): boolean;
|
|
42
39
|
toggleFilter(): void;
|
|
43
40
|
handleHideFilter(): void;
|
|
44
41
|
handleResetFilter(): void;
|
|
@@ -7,7 +7,6 @@ import { BehaviorSubject, Subject } from 'rxjs';
|
|
|
7
7
|
import { CatalogOptionsService } from './catalog-options.service';
|
|
8
8
|
import { CatalogImageService } from './catalog-image.service';
|
|
9
9
|
import { CatalogFilterService } from './catalog-filter.service';
|
|
10
|
-
import { OrderByInterface } from '../interface/order-by.interface';
|
|
11
10
|
import { ArticleCategory } from '@colijnit/articleapi/build/model/article-category';
|
|
12
11
|
import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-group-image.bo';
|
|
13
12
|
import { CatalogSearchService } from './catalog-search.service';
|
|
@@ -46,7 +45,6 @@ export declare class CatalogService {
|
|
|
46
45
|
onResetFilters: Subject<void>;
|
|
47
46
|
resultCount: number;
|
|
48
47
|
get currentPage(): number;
|
|
49
|
-
set currentPage(value: number);
|
|
50
48
|
private _currentPage;
|
|
51
49
|
private _filterText;
|
|
52
50
|
private _category;
|
|
@@ -66,14 +64,5 @@ export declare class CatalogService {
|
|
|
66
64
|
init(settings: any): Promise<void>;
|
|
67
65
|
getCategories(): Promise<ArticleCategory[]>;
|
|
68
66
|
prepareTurnoverGroupImage(group: TurnoverGroupImage): Promise<void>;
|
|
69
|
-
changeOrderBy(orderBy: OrderByInterface): void;
|
|
70
|
-
searchArticles(): Promise<void>;
|
|
71
|
-
resetFilters(): void;
|
|
72
67
|
reset(): void;
|
|
73
|
-
ensureDataListsLoaded(): Promise<void>;
|
|
74
|
-
doSearchArticles(getFilters?: boolean): Promise<void>;
|
|
75
|
-
private _sortArticleList;
|
|
76
|
-
private _sortArticleListByArticleNr;
|
|
77
|
-
private _sortArticleListByArticleName;
|
|
78
|
-
private _createDefaultRequest;
|
|
79
68
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IconEnum } from
|
|
2
|
-
import { DomSanitizer, SafeHtml } from
|
|
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
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/catalog",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.28",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "iOne Catalog module based on Angular 12",
|
|
6
6
|
"repository": "npm/npm",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@angular/router": ">=12.2.7",
|
|
20
20
|
"@colijnit/articleapi": ">=1.0.15",
|
|
21
21
|
"@colijnit/corecomponents": ">=1.12.0",
|
|
22
|
-
"@colijnit/corecomponents_v12": ">=12.0.
|
|
22
|
+
"@colijnit/corecomponents_v12": ">=12.0.102",
|
|
23
23
|
"@colijnit/ioneconnector": ">=2.1.10",
|
|
24
24
|
"@syncfusion/ej2-angular-buttons": ">=19.3.44",
|
|
25
25
|
"@syncfusion/ej2-angular-calendars": ">=19.3.44",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItYnkuaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2F0YWxvZy9zcmMvbGliL2ludGVyZmFjZS9vcmRlci1ieS5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgT3JkZXJCeUludGVyZmFjZSB7XHJcbiAgaWQ6IG51bWJlcjtcclxuICBuYW1lOiBzdHJpbmc7XHJcbn1cclxuIl19
|