@colijnit/catalog 12.1.18 → 12.1.19
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 +22 -22
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/esm2015/app/service/catalog.service.js +2 -2
- package/esm2015/app/service/i-one-controller.service.js +20 -20
- package/esm2015/app/service/image.service.js +2 -2
- package/fesm2015/colijnit-catalog.js +21 -21
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/package.json +2 -1
|
@@ -5,15 +5,15 @@ import { BehaviorSubject, Subject } from 'rxjs';
|
|
|
5
5
|
import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
|
|
6
6
|
import { ArticleCategory } from '@colijnit/articleapi/build/model/article-category';
|
|
7
7
|
import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
|
|
8
|
-
import { BusinessObjectFactory } from '@colijnit/articleapi/build/service/business-object-factory';
|
|
9
8
|
import { Articles } from '@colijnit/articleapi/build/articles';
|
|
10
9
|
import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
|
|
11
10
|
import { ArticleSearchFilterSelections } from '@colijnit/articleapi/build/model/article-search-filter-selections';
|
|
12
11
|
import { ArticleSearchFilterMaxAndMinPrice } from '@colijnit/articleapi/build/model/article-search-filter-max-and-min-price';
|
|
13
12
|
import { ArticlePrice } from '@colijnit/articleapi/build/model/article-price';
|
|
14
13
|
import { GetArticlePriceRequest } from '@colijnit/articleapi/build/model/get-article-price-request';
|
|
15
|
-
import {
|
|
16
|
-
import { FileUtils } from '@colijnit/
|
|
14
|
+
import { BusinessObjectFactory } from '@colijnit/ioneconnector/build/factory/business-object-factory';
|
|
15
|
+
import { FileUtils } from '@colijnit/ioneconnector/build/utils/file-utils';
|
|
16
|
+
import { PagingParameters } from '@colijnit/ioneconnector/build/model/paging-parameters';
|
|
17
17
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
18
18
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
19
19
|
import { SliderComponent, PaginationComponent, PaginationModule, CardModule, ButtonModule, LevelIndicatorModule, ImageModule, IconModule, PriceDisplayPipeModule, InputYesNoModule, SliderModule, InputTextChipsModule, InputCheckboxModule } from '@colijnit/corecomponents';
|
|
@@ -77,7 +77,7 @@ class IOneControllerService {
|
|
|
77
77
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(ArticleExtended, response.resultObjects);
|
|
78
78
|
}
|
|
79
79
|
else {
|
|
80
|
-
console.error(response.
|
|
80
|
+
console.error(response.validationMessagesAsString);
|
|
81
81
|
}
|
|
82
82
|
});
|
|
83
83
|
}
|
|
@@ -88,7 +88,7 @@ class IOneControllerService {
|
|
|
88
88
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(ArticleCategory, response.resultObjects);
|
|
89
89
|
}
|
|
90
90
|
else {
|
|
91
|
-
console.error(response.
|
|
91
|
+
console.error(response.validationMessagesAsString);
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
94
|
}
|
|
@@ -99,7 +99,7 @@ class IOneControllerService {
|
|
|
99
99
|
return this._boFactory.makeBOArrayFromRawBackendDataArray(CatalogDefinition, response.resultObjects);
|
|
100
100
|
}
|
|
101
101
|
else {
|
|
102
|
-
console.error(response.
|
|
102
|
+
console.error(response.validationMessagesAsString);
|
|
103
103
|
}
|
|
104
104
|
});
|
|
105
105
|
}
|
|
@@ -110,7 +110,7 @@ class IOneControllerService {
|
|
|
110
110
|
return this._boFactory.makeWithRawBackendData(ExternalSource, response.resultObject);
|
|
111
111
|
}
|
|
112
112
|
else {
|
|
113
|
-
console.error(response.
|
|
113
|
+
console.error(response.validationMessagesAsString);
|
|
114
114
|
}
|
|
115
115
|
});
|
|
116
116
|
}
|
|
@@ -121,7 +121,7 @@ class IOneControllerService {
|
|
|
121
121
|
return this._boFactory.makeWithRawBackendData(ArticleSearchFilterSelections, response.resultObject);
|
|
122
122
|
}
|
|
123
123
|
else {
|
|
124
|
-
console.error(response.
|
|
124
|
+
console.error(response.validationMessagesAsString);
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
127
|
}
|
|
@@ -132,7 +132,7 @@ class IOneControllerService {
|
|
|
132
132
|
return this._boFactory.makeWithRawBackendData(ArticleSearchFilterMaxAndMinPrice, response.resultObject);
|
|
133
133
|
}
|
|
134
134
|
else {
|
|
135
|
-
console.error(response.
|
|
135
|
+
console.error(response.validationMessagesAsString);
|
|
136
136
|
}
|
|
137
137
|
});
|
|
138
138
|
}
|
|
@@ -143,7 +143,7 @@ class IOneControllerService {
|
|
|
143
143
|
return this._boFactory.makeWithRawBackendData(ArticleSearchFilterSelections, response.resultObject);
|
|
144
144
|
}
|
|
145
145
|
else {
|
|
146
|
-
console.error(response.
|
|
146
|
+
console.error(response.validationMessagesAsString);
|
|
147
147
|
}
|
|
148
148
|
});
|
|
149
149
|
}
|
|
@@ -154,7 +154,7 @@ class IOneControllerService {
|
|
|
154
154
|
return this._boFactory.makeWithRawBackendData(ArticleSearchFilterSelections, response.resultObject);
|
|
155
155
|
}
|
|
156
156
|
else {
|
|
157
|
-
console.error(response.
|
|
157
|
+
console.error(response.validationMessagesAsString);
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
}
|
|
@@ -165,7 +165,7 @@ class IOneControllerService {
|
|
|
165
165
|
return this._boFactory.makeWithRawBackendData(ArticleSearchFilterSelections, response.resultObject);
|
|
166
166
|
}
|
|
167
167
|
else {
|
|
168
|
-
console.error(response.
|
|
168
|
+
console.error(response.validationMessagesAsString);
|
|
169
169
|
}
|
|
170
170
|
});
|
|
171
171
|
}
|
|
@@ -176,7 +176,7 @@ class IOneControllerService {
|
|
|
176
176
|
return this._boFactory.makeWithRawBackendData(ArticleSearchFilterSelections, response.resultObject);
|
|
177
177
|
}
|
|
178
178
|
else {
|
|
179
|
-
console.error(response.
|
|
179
|
+
console.error(response.validationMessagesAsString);
|
|
180
180
|
}
|
|
181
181
|
});
|
|
182
182
|
}
|
|
@@ -187,7 +187,7 @@ class IOneControllerService {
|
|
|
187
187
|
return this._boFactory.makeWithRawBackendData(ArticleSearchFilterSelections, response.resultObject);
|
|
188
188
|
}
|
|
189
189
|
else {
|
|
190
|
-
console.error(response.
|
|
190
|
+
console.error(response.validationMessagesAsString);
|
|
191
191
|
}
|
|
192
192
|
});
|
|
193
193
|
}
|
|
@@ -198,7 +198,7 @@ class IOneControllerService {
|
|
|
198
198
|
return this._boFactory.makeWithRawBackendData(ArticleSearchFilterSelections, response.resultObject);
|
|
199
199
|
}
|
|
200
200
|
else {
|
|
201
|
-
console.error(response.
|
|
201
|
+
console.error(response.validationMessagesAsString);
|
|
202
202
|
}
|
|
203
203
|
});
|
|
204
204
|
}
|
|
@@ -209,7 +209,7 @@ class IOneControllerService {
|
|
|
209
209
|
return this._boFactory.makeWithRawBackendData(ArticleSearchFilterSelections, response.resultObject);
|
|
210
210
|
}
|
|
211
211
|
else {
|
|
212
|
-
console.error(response.
|
|
212
|
+
console.error(response.validationMessagesAsString);
|
|
213
213
|
}
|
|
214
214
|
});
|
|
215
215
|
}
|
|
@@ -220,7 +220,7 @@ class IOneControllerService {
|
|
|
220
220
|
return this._boFactory.makeWithRawBackendData(ArticleSearchFilterSelections, response.resultObject);
|
|
221
221
|
}
|
|
222
222
|
else {
|
|
223
|
-
console.error(response.
|
|
223
|
+
console.error(response.validationMessagesAsString);
|
|
224
224
|
}
|
|
225
225
|
});
|
|
226
226
|
}
|
|
@@ -231,7 +231,7 @@ class IOneControllerService {
|
|
|
231
231
|
return this._boFactory.makeWithRawBackendData(ArticleSearchFilterSelections, response.resultObject);
|
|
232
232
|
}
|
|
233
233
|
else {
|
|
234
|
-
console.error(response.
|
|
234
|
+
console.error(response.validationMessagesAsString);
|
|
235
235
|
}
|
|
236
236
|
});
|
|
237
237
|
}
|
|
@@ -293,7 +293,7 @@ class IOneControllerService {
|
|
|
293
293
|
return response.resultObject;
|
|
294
294
|
}
|
|
295
295
|
else {
|
|
296
|
-
console.error(response.
|
|
296
|
+
console.error(response.validationMessagesAsString);
|
|
297
297
|
}
|
|
298
298
|
});
|
|
299
299
|
}
|
|
@@ -307,7 +307,7 @@ class IOneControllerService {
|
|
|
307
307
|
return this._boFactory.makeWithRawBackendData(ArticlePrice, response.resultObject);
|
|
308
308
|
}
|
|
309
309
|
else {
|
|
310
|
-
console.error(response.
|
|
310
|
+
console.error(response.validationMessagesAsString);
|
|
311
311
|
}
|
|
312
312
|
});
|
|
313
313
|
}
|
|
@@ -318,7 +318,7 @@ class IOneControllerService {
|
|
|
318
318
|
return response.resultObject.documentContent;
|
|
319
319
|
}
|
|
320
320
|
else {
|
|
321
|
-
console.error(response.
|
|
321
|
+
console.error(response.validationMessagesAsString);
|
|
322
322
|
}
|
|
323
323
|
});
|
|
324
324
|
}
|