@pronto-tools-and-more/components 8.4.0 → 8.5.0
Sign up to get free protection for your applications and to get access to all the features.
package/dist/main.js
CHANGED
@@ -223,6 +223,71 @@ var Heading = ({
|
|
223
223
|
return /* @__PURE__ */ React.createElement("h4", { className: fullClassName }, text);
|
224
224
|
};
|
225
225
|
|
226
|
+
// src/parts/IssueList/IssueList.tsx
|
227
|
+
var IssueList = ({
|
228
|
+
properties,
|
229
|
+
render
|
230
|
+
}) => {
|
231
|
+
const json = {
|
232
|
+
render,
|
233
|
+
dataSource: {
|
234
|
+
type: "content",
|
235
|
+
filter: {
|
236
|
+
AND: [
|
237
|
+
{
|
238
|
+
postType: {
|
239
|
+
value: "post"
|
240
|
+
}
|
241
|
+
},
|
242
|
+
{
|
243
|
+
contentType: {
|
244
|
+
value: "POST"
|
245
|
+
}
|
246
|
+
},
|
247
|
+
{
|
248
|
+
properties
|
249
|
+
}
|
250
|
+
]
|
251
|
+
},
|
252
|
+
offset: "0",
|
253
|
+
sort: [
|
254
|
+
{
|
255
|
+
publicationDate: {
|
256
|
+
direction: "DESC"
|
257
|
+
}
|
258
|
+
}
|
259
|
+
],
|
260
|
+
contextKey: "content"
|
261
|
+
},
|
262
|
+
type: "list",
|
263
|
+
tapEntry: {
|
264
|
+
value: {
|
265
|
+
type: "openUrl",
|
266
|
+
url: "#",
|
267
|
+
target: "#"
|
268
|
+
},
|
269
|
+
condition: {
|
270
|
+
compareValue: "external_links",
|
271
|
+
value: "#"
|
272
|
+
},
|
273
|
+
fallback: {
|
274
|
+
type: "openContent"
|
275
|
+
}
|
276
|
+
},
|
277
|
+
class: "data-custom-list",
|
278
|
+
template: "horizontal",
|
279
|
+
pagination: {
|
280
|
+
suffix: "articles",
|
281
|
+
text: {
|
282
|
+
next: {
|
283
|
+
label: ""
|
284
|
+
}
|
285
|
+
}
|
286
|
+
}
|
287
|
+
};
|
288
|
+
return /* @__PURE__ */ React.createElement("div", { className: "IssueList" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
289
|
+
};
|
290
|
+
|
226
291
|
// src/parts/Link/Link.tsx
|
227
292
|
var Link = ({
|
228
293
|
to,
|
@@ -568,6 +633,7 @@ export {
|
|
568
633
|
HeaderLogoSection,
|
569
634
|
HeaderMenuItems,
|
570
635
|
Heading,
|
636
|
+
IssueList,
|
571
637
|
JsonComponent,
|
572
638
|
Link,
|
573
639
|
Login,
|
@@ -13,6 +13,8 @@ export * from "../HeaderLogoSection/HeaderLogoSection.tsx";
|
|
13
13
|
export * from "../HeaderMenuItems/HeaderMenuItems.tsx";
|
14
14
|
export * from "../Heading/Heading.tsx";
|
15
15
|
export * from "../IFooterSocialLink/IFooterSocialLink.ts";
|
16
|
+
export * from "../IssueList/IssueList.tsx";
|
17
|
+
export * from "../IssueListItemRenderer/IssueListItemRenderer.ts";
|
16
18
|
export * from "../JsonComponent/JsonComponent.tsx";
|
17
19
|
export * from "../Link/Link.tsx";
|
18
20
|
export * from "../Login/Login.tsx";
|
@@ -1,27 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
buttonType: string;
|
7
|
-
progressType: string;
|
8
|
-
};
|
9
|
-
openContent: {};
|
10
|
-
tapCover: {
|
11
|
-
type: string;
|
12
|
-
mode: string;
|
13
|
-
titleBar: boolean;
|
14
|
-
};
|
15
|
-
};
|
16
|
-
dataSource: {
|
17
|
-
type: string;
|
18
|
-
sort: {
|
19
|
-
publicationDate: {
|
20
|
-
direction: string;
|
21
|
-
};
|
22
|
-
}[];
|
23
|
-
limit: number;
|
24
|
-
};
|
25
|
-
type: string;
|
26
|
-
template: string;
|
27
|
-
};
|
1
|
+
import { IssueListItemRenderer } from "../IssueListItemRenderer/IssueListItemRenderer.ts";
|
2
|
+
export declare const IssueList: ({ properties, render, }: {
|
3
|
+
properties: any;
|
4
|
+
render: IssueListItemRenderer;
|
5
|
+
}) => import("react").JSX.Element;
|