@pronto-tools-and-more/components 10.45.0 → 10.47.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.js +207 -16
- package/dist/parts/Components/Components.d.ts +3 -0
- package/dist/parts/DossierList/DossierList.d.ts +4 -1
- package/dist/parts/DossierListItemRenderer/DossierListItemRenderer.d.ts +5 -0
- package/dist/parts/EPaperArchiveItems/EPaperArchiveItems.d.ts +3 -0
- package/dist/parts/HighlightedEPaper/HighlightedEpaper.d.ts +3 -0
- package/dist/parts/IDossierListItem/IDossierListItem.d.ts +6 -0
- package/dist/parts/Seo/Seo.d.ts +2 -1
- package/package.json +3 -3
package/dist/main.js
CHANGED
@@ -6,7 +6,7 @@ var JsonComponent = ({ json }) => {
|
|
6
6
|
|
7
7
|
// src/parts/ArticleAuthors/ArticleAuthors.tsx
|
8
8
|
var unrender = (element, renderElement) => {
|
9
|
-
const { render, unrender:
|
9
|
+
const { render, unrender: unrender9, ...rest } = element;
|
10
10
|
const node = render({
|
11
11
|
id: `$functions.id($context, 'context', 'id')`,
|
12
12
|
name: `$functions.id($context, 'context', 'name')`,
|
@@ -310,7 +310,7 @@ var Button = ({
|
|
310
310
|
|
311
311
|
// src/parts/CategoryList/CategoryList.tsx
|
312
312
|
var unrender3 = (element, renderElement) => {
|
313
|
-
const { render, unrender:
|
313
|
+
const { render, unrender: unrender9, ...rest } = element;
|
314
314
|
const node = render({
|
315
315
|
id: `$functions.id($context, 'context', 'id')`,
|
316
316
|
name: `$functions.id($context, 'context', 'name')`,
|
@@ -434,13 +434,26 @@ var dateHelper = (date, format, language = "de") => {
|
|
434
434
|
};
|
435
435
|
|
436
436
|
// src/parts/DossierList/DossierList.tsx
|
437
|
-
var
|
437
|
+
var unrender5 = (element, renderElement) => {
|
438
|
+
const { render, ...rest } = element;
|
439
|
+
const node = render({
|
440
|
+
name: `$functions.id($context, 'content', 'name')`,
|
441
|
+
description: `$functions.id($context, 'content', 'description')`,
|
442
|
+
imageSrc: `$functions.id($context, 'content', 'thumbnails', 'default')`,
|
443
|
+
slug: `$functions.id($context, 'content', 'properties', 'slug')`
|
444
|
+
});
|
445
|
+
const final = renderElement(node);
|
446
|
+
return {
|
447
|
+
...rest,
|
448
|
+
content: final
|
449
|
+
};
|
450
|
+
};
|
451
|
+
var DossierList = ({
|
452
|
+
render
|
453
|
+
}) => {
|
438
454
|
const json = {
|
439
|
-
|
440
|
-
|
441
|
-
tag: "pre",
|
442
|
-
content: "$functions.handleContent($context.content)"
|
443
|
-
},
|
455
|
+
render,
|
456
|
+
unrender: unrender5,
|
444
457
|
dataSource: {
|
445
458
|
type: "content",
|
446
459
|
filter: {
|
@@ -489,6 +502,101 @@ var DossierSwiper = () => {
|
|
489
502
|
return /* @__PURE__ */ React.createElement("div", { className: "DossierSwiper" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
490
503
|
};
|
491
504
|
|
505
|
+
// src/parts/EPaperArchiveItems/EPaperArchiveItems.tsx
|
506
|
+
var EPaperArchive2 = ({ ePaperId }) => {
|
507
|
+
const json = {
|
508
|
+
content: {
|
509
|
+
type: "issue",
|
510
|
+
tapCover: {
|
511
|
+
path: "issueDetails",
|
512
|
+
type: "popup",
|
513
|
+
params: {
|
514
|
+
issue: "$context.content.id"
|
515
|
+
}
|
516
|
+
},
|
517
|
+
customMessages: [
|
518
|
+
{
|
519
|
+
message: "okay",
|
520
|
+
class: "weekday"
|
521
|
+
},
|
522
|
+
{
|
523
|
+
message: "okay2 ",
|
524
|
+
class: "publication-date"
|
525
|
+
}
|
526
|
+
],
|
527
|
+
template: "highlight",
|
528
|
+
downloadOptions: {
|
529
|
+
buttonType: "SINGLE",
|
530
|
+
progressType: "RADIAL"
|
531
|
+
}
|
532
|
+
},
|
533
|
+
dataSource: {
|
534
|
+
type: "content",
|
535
|
+
sort: [
|
536
|
+
{
|
537
|
+
publicationDate: {
|
538
|
+
direction: "DESC"
|
539
|
+
}
|
540
|
+
}
|
541
|
+
],
|
542
|
+
batchSize: 12,
|
543
|
+
offset: 1,
|
544
|
+
filter: {
|
545
|
+
OR: [
|
546
|
+
{
|
547
|
+
condition: {
|
548
|
+
OR: [
|
549
|
+
{
|
550
|
+
value: "$context.userAttributes.activePublication",
|
551
|
+
operation: "EMPTY"
|
552
|
+
},
|
553
|
+
{
|
554
|
+
value: "$context.userAttributes.activePublication",
|
555
|
+
operation: "NOT_SET"
|
556
|
+
}
|
557
|
+
]
|
558
|
+
},
|
559
|
+
publication: {
|
560
|
+
id: {
|
561
|
+
value: ePaperId
|
562
|
+
}
|
563
|
+
}
|
564
|
+
},
|
565
|
+
{
|
566
|
+
condition: {
|
567
|
+
value: "$context.userAttributes.activePublication",
|
568
|
+
operation: "NOT_EMPTY"
|
569
|
+
},
|
570
|
+
publication: {
|
571
|
+
id: {
|
572
|
+
value: "$context.userAttributes.activePublication"
|
573
|
+
}
|
574
|
+
}
|
575
|
+
}
|
576
|
+
]
|
577
|
+
},
|
578
|
+
local: false
|
579
|
+
},
|
580
|
+
type: "list",
|
581
|
+
template: "grid",
|
582
|
+
pagination: {
|
583
|
+
suffix: "epaper",
|
584
|
+
text: {
|
585
|
+
next: {
|
586
|
+
label: "mehr"
|
587
|
+
}
|
588
|
+
}
|
589
|
+
},
|
590
|
+
condition: {
|
591
|
+
value: '$context["issue-state"]',
|
592
|
+
compareValue: "local",
|
593
|
+
operation: "EQUALS_NOT"
|
594
|
+
},
|
595
|
+
class: "not-downloaded-list epapers epaper-archive-articles issue-state-none"
|
596
|
+
};
|
597
|
+
return /* @__PURE__ */ React.createElement("div", { className: "EPaperArchiveItems" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
598
|
+
};
|
599
|
+
|
492
600
|
// src/parts/EPaperLink/EPaperLink.tsx
|
493
601
|
var EPaperLink = ({ message } = {}) => {
|
494
602
|
const json = {
|
@@ -694,6 +802,85 @@ var Heading = ({
|
|
694
802
|
return /* @__PURE__ */ React.createElement("h4", { className: fullClassName }, text);
|
695
803
|
};
|
696
804
|
|
805
|
+
// src/parts/HighlightedEPaper/HighlightedEpaper.tsx
|
806
|
+
var HighlightedEPaper = ({ ePaperId }) => {
|
807
|
+
const json = {
|
808
|
+
content: {
|
809
|
+
type: "issue",
|
810
|
+
tapCover: {
|
811
|
+
path: "issueDetails",
|
812
|
+
type: "popup"
|
813
|
+
},
|
814
|
+
customMessages: [
|
815
|
+
{
|
816
|
+
message: "okay",
|
817
|
+
class: "publication-date"
|
818
|
+
},
|
819
|
+
{
|
820
|
+
message: "",
|
821
|
+
class: "highlighted-epaper-badge"
|
822
|
+
}
|
823
|
+
],
|
824
|
+
template: "highlight",
|
825
|
+
downloadOptions: {
|
826
|
+
buttonType: "SINGLE"
|
827
|
+
},
|
828
|
+
purchaseOptions: {
|
829
|
+
login: true
|
830
|
+
},
|
831
|
+
customButtons: []
|
832
|
+
},
|
833
|
+
dataSource: {
|
834
|
+
type: "issue",
|
835
|
+
sort: [
|
836
|
+
{
|
837
|
+
publicationDate: {
|
838
|
+
direction: "DESC"
|
839
|
+
}
|
840
|
+
}
|
841
|
+
],
|
842
|
+
limit: 1,
|
843
|
+
filter: {
|
844
|
+
OR: [
|
845
|
+
{
|
846
|
+
condition: {
|
847
|
+
OR: [
|
848
|
+
{
|
849
|
+
value: "$context.userAttributes.activePublication",
|
850
|
+
operation: "EMPTY"
|
851
|
+
},
|
852
|
+
{
|
853
|
+
value: "$context.userAttributes.activePublication",
|
854
|
+
operation: "NOT_SET"
|
855
|
+
}
|
856
|
+
]
|
857
|
+
},
|
858
|
+
publication: {
|
859
|
+
id: {
|
860
|
+
value: ePaperId
|
861
|
+
}
|
862
|
+
}
|
863
|
+
},
|
864
|
+
{
|
865
|
+
condition: {
|
866
|
+
value: "$context.userAttributes.activePublication",
|
867
|
+
operation: "NOT_EMPTY"
|
868
|
+
},
|
869
|
+
publication: {
|
870
|
+
id: {
|
871
|
+
value: "$context.userAttributes.activePublication"
|
872
|
+
}
|
873
|
+
}
|
874
|
+
}
|
875
|
+
]
|
876
|
+
}
|
877
|
+
},
|
878
|
+
type: "list",
|
879
|
+
class: "highlighted-epaper-cover"
|
880
|
+
};
|
881
|
+
return /* @__PURE__ */ React.createElement("div", { className: "HighlightedEPaper" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
882
|
+
};
|
883
|
+
|
697
884
|
// src/parts/LanguageRegistry/LanguageRegistry.ts
|
698
885
|
var createLanguageRegistry = () => {
|
699
886
|
const languages = /* @__PURE__ */ Object.create(null);
|
@@ -794,7 +981,7 @@ var PostContentBody = ({
|
|
794
981
|
};
|
795
982
|
|
796
983
|
// src/parts/PrimaryCategory/PrimaryCategory.tsx
|
797
|
-
var
|
984
|
+
var unrender6 = (element, renderElement) => {
|
798
985
|
const { render, category } = element;
|
799
986
|
const node = render(category);
|
800
987
|
const final = renderElement(node);
|
@@ -810,7 +997,7 @@ var PrimaryCategory = ({
|
|
810
997
|
const categoryType = `$functions.getPrimaryCategoryProperty($context["${contentKey ?? "content"}"], 'type')`;
|
811
998
|
const json = {
|
812
999
|
render,
|
813
|
-
unrender:
|
1000
|
+
unrender: unrender6,
|
814
1001
|
category: {
|
815
1002
|
id: categoryId,
|
816
1003
|
name: categoryName,
|
@@ -969,7 +1156,7 @@ var getImageSrc = (fallbackImage) => {
|
|
969
1156
|
}
|
970
1157
|
return `$functions.id($context, 'search-result', 'issue', 'thumbnails', 'default')`;
|
971
1158
|
};
|
972
|
-
var
|
1159
|
+
var unrender7 = (element, renderElement) => {
|
973
1160
|
const { render, fallbackImage, ...rest } = element;
|
974
1161
|
const node = render({
|
975
1162
|
title: "$functions.id($context, 'search-result', 'issue', 'name')",
|
@@ -1062,7 +1249,7 @@ var SearchResults = ({
|
|
1062
1249
|
}
|
1063
1250
|
const json = {
|
1064
1251
|
render,
|
1065
|
-
unrender:
|
1252
|
+
unrender: unrender7,
|
1066
1253
|
fallbackImage,
|
1067
1254
|
dataSource: {
|
1068
1255
|
phrase: "$context.phrase",
|
@@ -1104,7 +1291,8 @@ var Seo = ({
|
|
1104
1291
|
keywords,
|
1105
1292
|
titlePostfix,
|
1106
1293
|
language,
|
1107
|
-
alternates
|
1294
|
+
alternates,
|
1295
|
+
googleSiteVerification
|
1108
1296
|
} = {}) => {
|
1109
1297
|
const json = {
|
1110
1298
|
title: `${title}${titlePostfix}`,
|
@@ -1113,7 +1301,8 @@ var Seo = ({
|
|
1113
1301
|
og_description: description,
|
1114
1302
|
description,
|
1115
1303
|
title: `${title}${titlePostfix}`,
|
1116
|
-
keywords
|
1304
|
+
keywords,
|
1305
|
+
"google-site-verification": googleSiteVerification
|
1117
1306
|
}
|
1118
1307
|
};
|
1119
1308
|
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
@@ -1148,7 +1337,7 @@ var SubscriptionLink = ({ message } = {}) => {
|
|
1148
1337
|
};
|
1149
1338
|
|
1150
1339
|
// src/parts/TagList/TagList.tsx
|
1151
|
-
var
|
1340
|
+
var unrender8 = (element, renderElement) => {
|
1152
1341
|
const { render, ...rest } = element;
|
1153
1342
|
const node = render({
|
1154
1343
|
id: `$functions.id($context, 'context', 'id')`,
|
@@ -1172,7 +1361,7 @@ var unrender7 = (element, renderElement) => {
|
|
1172
1361
|
var TagList = ({ render }) => {
|
1173
1362
|
const json = {
|
1174
1363
|
render,
|
1175
|
-
unrender:
|
1364
|
+
unrender: unrender8,
|
1176
1365
|
dataSource: {
|
1177
1366
|
data: "$context.content.taxonomies",
|
1178
1367
|
type: "context",
|
@@ -1195,6 +1384,7 @@ export {
|
|
1195
1384
|
ContentTitle,
|
1196
1385
|
DossierList,
|
1197
1386
|
DossierSwiper,
|
1387
|
+
EPaperArchive2,
|
1198
1388
|
EPaperLink,
|
1199
1389
|
ErrorPage,
|
1200
1390
|
FooterItemsList,
|
@@ -1204,6 +1394,7 @@ export {
|
|
1204
1394
|
HeaderLogoSection,
|
1205
1395
|
HeaderMenuItems,
|
1206
1396
|
Heading,
|
1397
|
+
HighlightedEPaper,
|
1207
1398
|
JsonComponent,
|
1208
1399
|
Link,
|
1209
1400
|
Login,
|
@@ -10,6 +10,7 @@ export * from "../ContentTitle/ContentTitle.tsx";
|
|
10
10
|
export * from "../DateHelper/DateHelper.ts";
|
11
11
|
export * from "../DossierList/DossierList.tsx";
|
12
12
|
export * from "../DossierSwiper/DossierSwiper.tsx";
|
13
|
+
export * from "../EPaperArchiveItems/EPaperArchiveItems.tsx";
|
13
14
|
export * from "../EPaperLink/EPaperLink.tsx";
|
14
15
|
export * from "../ErrorPage/ErrorPage.tsx";
|
15
16
|
export * from "../FooterItemsList/FooterItemsList.tsx";
|
@@ -28,9 +29,11 @@ export * from "../HeaderLogo/HeaderLogo.tsx";
|
|
28
29
|
export * from "../HeaderLogoSection/HeaderLogoSection.tsx";
|
29
30
|
export * from "../HeaderMenuItems/HeaderMenuItems.tsx";
|
30
31
|
export * from "../Heading/Heading.tsx";
|
32
|
+
export * from "../HighlightedEPaper/HighlightedEpaper.tsx";
|
31
33
|
export * from "../HrefLangAlternate/HrefLangAlternate.ts";
|
32
34
|
export * from "../IArticleListItem/IArticleListItem.ts";
|
33
35
|
export * from "../ICategoryItem/ICategoryItem.ts";
|
36
|
+
export * from "../IDossierListItem/IDossierListItem.ts";
|
34
37
|
export * from "../IFooterSocialLink/IFooterSocialLink.ts";
|
35
38
|
export * from "../ISearchResult/ISearchResult.ts";
|
36
39
|
export * from "../ISearchResultComponent/ISearchResultComponent.tsx";
|
@@ -1 +1,4 @@
|
|
1
|
-
|
1
|
+
import { DossierListItemRenderer } from "../DossierListItemRenderer/DossierListItemRenderer.ts";
|
2
|
+
export declare const DossierList: ({ render, }: {
|
3
|
+
render: DossierListItemRenderer;
|
4
|
+
}) => import("react").JSX.Element;
|
package/dist/parts/Seo/Seo.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { HrefLangAlternate } from "../HrefLangAlternate/HrefLangAlternate.ts";
|
2
|
-
export declare const Seo: ({ title, description, keywords, titlePostfix, language, alternates, }?: {
|
2
|
+
export declare const Seo: ({ title, description, keywords, titlePostfix, language, alternates, googleSiteVerification, }?: {
|
3
3
|
title?: string;
|
4
4
|
description?: string;
|
5
5
|
keywords?: string;
|
@@ -7,4 +7,5 @@ export declare const Seo: ({ title, description, keywords, titlePostfix, languag
|
|
7
7
|
language?: string;
|
8
8
|
hrefLang?: string;
|
9
9
|
alternates?: readonly HrefLangAlternate[];
|
10
|
+
googleSiteVerification?: string;
|
10
11
|
}) => import("react").JSX.Element;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pronto-tools-and-more/components",
|
3
|
-
"version": "10.
|
3
|
+
"version": "10.47.0",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/main.js",
|
6
6
|
"types": "dist/main.d.ts",
|
@@ -17,9 +17,9 @@
|
|
17
17
|
"license": "MIT",
|
18
18
|
"devDependencies": {
|
19
19
|
"@types/node": "^22.10.1",
|
20
|
-
"@types/react": "^
|
20
|
+
"@types/react": "^19.0.0",
|
21
21
|
"esbuild": "^0.24.0",
|
22
|
-
"react": "^
|
22
|
+
"react": "^19.0.0",
|
23
23
|
"ts-jest": "^29.2.5"
|
24
24
|
}
|
25
25
|
}
|