@pronto-tools-and-more/components 9.9.0 → 9.11.0
Sign up to get free protection for your applications and to get access to all the features.
package/dist/main.js
CHANGED
@@ -29,7 +29,7 @@ var CategoryList = ({
|
|
29
29
|
const json = {
|
30
30
|
render,
|
31
31
|
dataSource: {
|
32
|
-
data: "$context.
|
32
|
+
data: "$context.content.taxonomies",
|
33
33
|
type: "context",
|
34
34
|
batchSize: 1e6
|
35
35
|
},
|
@@ -262,8 +262,24 @@ var Heading = ({
|
|
262
262
|
// src/parts/CreateFilterFromProperties/CreateFilterFromProperties.ts
|
263
263
|
var createFilterFromProperties = ({
|
264
264
|
properties,
|
265
|
-
authorId
|
265
|
+
authorId,
|
266
|
+
categoryId
|
266
267
|
}) => {
|
268
|
+
if (categoryId) {
|
269
|
+
return [
|
270
|
+
{
|
271
|
+
taxonomies: {
|
272
|
+
content: {
|
273
|
+
value: {
|
274
|
+
id: {
|
275
|
+
value: authorId
|
276
|
+
}
|
277
|
+
}
|
278
|
+
}
|
279
|
+
}
|
280
|
+
}
|
281
|
+
];
|
282
|
+
}
|
267
283
|
if (authorId) {
|
268
284
|
return [
|
269
285
|
{
|
@@ -309,11 +325,13 @@ var createFilterFromProperties = ({
|
|
309
325
|
var IssueList = ({
|
310
326
|
properties,
|
311
327
|
render,
|
312
|
-
authorId
|
328
|
+
authorId,
|
329
|
+
categoryId
|
313
330
|
}) => {
|
314
331
|
const additionalFilter = createFilterFromProperties({
|
315
332
|
properties,
|
316
|
-
authorId
|
333
|
+
authorId,
|
334
|
+
categoryId
|
317
335
|
});
|
318
336
|
const json = {
|
319
337
|
render,
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { IssueListItemRenderer } from "../IssueListItemRenderer/IssueListItemRenderer.ts";
|
2
|
-
export declare const IssueList: ({ properties, render, authorId, }: {
|
2
|
+
export declare const IssueList: ({ properties, render, authorId, categoryId, }: {
|
3
3
|
properties: any;
|
4
4
|
authorId?: string;
|
5
|
+
categoryId?: string;
|
5
6
|
render: IssueListItemRenderer;
|
6
7
|
}) => import("react").JSX.Element;
|