@pronto-tools-and-more/components 6.19.0 → 6.22.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.d.ts +1 -0
- package/dist/main.js +46 -0
- package/dist/parts/AppBar/AppBar.d.ts +1 -0
- package/dist/parts/Button/Button.d.ts +10 -0
- package/dist/parts/Components/Components.d.ts +4 -0
- package/dist/parts/EPapers/EPapers.d.ts +24 -0
- package/dist/parts/Home/Home.d.ts +1 -0
- package/dist/parts/IssueList/IssueList.d.ts +27 -0
- package/dist/parts/JsonComponent/JsonComponent.d.ts +4 -0
- package/dist/parts/Login/Login.d.ts +2 -0
- package/dist/parts/Main/Main.d.ts +1 -0
- package/dist/parts/MenuItems/MenuItems.d.ts +3 -0
- package/dist/parts/MockReact/MockReact.d.ts +1 -0
- package/dist/parts/MostRead/MostRead.d.ts +41 -0
- package/dist/parts/NoSearchResults/NoSearchResults.d.ts +1 -0
- package/dist/parts/Parts/Parts.d.ts +10 -0
- package/dist/parts/React/React.d.ts +7 -0
- package/dist/parts/SearchField/SearchField.d.ts +2 -0
- package/dist/parts/Swiper/Swiper.d.ts +9 -0
- package/package.json +2 -2
- package/src/parts/SearchField/SearchField.tsx +1 -1
package/dist/main.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./parts/Components/Components.tsx";
|
package/dist/main.js
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
// src/parts/JsonComponent/JsonComponent.tsx
|
2
|
+
var JsonComponent = ({ json }) => {
|
3
|
+
const node = json;
|
4
|
+
return node;
|
5
|
+
};
|
6
|
+
|
7
|
+
// src/parts/Login/Login.tsx
|
8
|
+
var Login = () => {
|
9
|
+
const json = {
|
10
|
+
type: "login"
|
11
|
+
};
|
12
|
+
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
13
|
+
};
|
14
|
+
|
15
|
+
// src/parts/MenuItems/MenuItems.tsx
|
16
|
+
var MenuItems = ({ menuName }) => {
|
17
|
+
const json = {
|
18
|
+
dataSource: {
|
19
|
+
type: "menu",
|
20
|
+
filter: {
|
21
|
+
name: {
|
22
|
+
value: menuName
|
23
|
+
}
|
24
|
+
}
|
25
|
+
},
|
26
|
+
type: "menu",
|
27
|
+
template: "STATIC"
|
28
|
+
};
|
29
|
+
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
30
|
+
};
|
31
|
+
|
32
|
+
// src/parts/SearchField/SearchField.tsx
|
33
|
+
var SearchField = () => {
|
34
|
+
const json = {
|
35
|
+
type: "search-field",
|
36
|
+
className: "searchfield",
|
37
|
+
key: ""
|
38
|
+
};
|
39
|
+
return /* @__PURE__ */ React.createElement(JsonComponent, { json });
|
40
|
+
};
|
41
|
+
export {
|
42
|
+
JsonComponent,
|
43
|
+
Login,
|
44
|
+
MenuItems,
|
45
|
+
SearchField
|
46
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const AppBar: () => import("react").JSX.Element;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
export declare const EPapers: () => {
|
2
|
+
content: {
|
3
|
+
type: string;
|
4
|
+
descriptionMessage: string;
|
5
|
+
customMessages: never[];
|
6
|
+
tapCover: {
|
7
|
+
type: string;
|
8
|
+
mode: string;
|
9
|
+
titleBar: boolean;
|
10
|
+
};
|
11
|
+
};
|
12
|
+
dataSource: {
|
13
|
+
type: string;
|
14
|
+
sort: {
|
15
|
+
publicationDate: {
|
16
|
+
direction: string;
|
17
|
+
};
|
18
|
+
}[];
|
19
|
+
batchSize: number;
|
20
|
+
};
|
21
|
+
type: string;
|
22
|
+
class: string;
|
23
|
+
template: string;
|
24
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const Home: () => import("react").JSX.Element;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
export declare const IssueList: () => {
|
2
|
+
content: {
|
3
|
+
type: string;
|
4
|
+
template: string;
|
5
|
+
downloadOptions: {
|
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
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "../Components/Components.tsx";
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,41 @@
|
|
1
|
+
export declare const MostRead: ({ limit }: {
|
2
|
+
limit?: number | undefined;
|
3
|
+
}) => {
|
4
|
+
content: {
|
5
|
+
type: string;
|
6
|
+
issueContextKey: string;
|
7
|
+
template: string;
|
8
|
+
descriptionMessage: string;
|
9
|
+
class: string;
|
10
|
+
hideComponents: {
|
11
|
+
publication: boolean;
|
12
|
+
tags: boolean;
|
13
|
+
categories: boolean;
|
14
|
+
publicationDate: boolean;
|
15
|
+
cover: boolean;
|
16
|
+
properties: boolean;
|
17
|
+
description: boolean;
|
18
|
+
};
|
19
|
+
};
|
20
|
+
dataSource: {
|
21
|
+
type: string;
|
22
|
+
filter: {
|
23
|
+
AND: ({
|
24
|
+
contentType: {
|
25
|
+
value: string;
|
26
|
+
};
|
27
|
+
postType?: undefined;
|
28
|
+
} | {
|
29
|
+
postType: {
|
30
|
+
value: string;
|
31
|
+
};
|
32
|
+
contentType?: undefined;
|
33
|
+
})[];
|
34
|
+
};
|
35
|
+
limit: number;
|
36
|
+
};
|
37
|
+
type: string;
|
38
|
+
tapEntry: {
|
39
|
+
type: string;
|
40
|
+
};
|
41
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const NoSearchResults: () => import("react").JSX.Element;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export * from "../AppBar/AppBar.tsx";
|
2
|
+
export * from "../Button/Button.tsx";
|
3
|
+
export * from "../EPapers/EPapers.tsx";
|
4
|
+
export * from "../Home/Home.tsx";
|
5
|
+
export * from "../IssueList/IssueList.tsx";
|
6
|
+
export * from "../Login/Login.tsx";
|
7
|
+
export * from "../MostRead/MostRead.tsx";
|
8
|
+
export * from "../NoSearchResults/NoSearchResults.tsx";
|
9
|
+
export * from "../SearchField/SearchField.tsx";
|
10
|
+
export * from "../Swiper/Swiper.tsx";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pronto-tools-and-more/components",
|
3
|
-
"version": "6.
|
3
|
+
"version": "6.22.1",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/main.js",
|
6
6
|
"types": "dist/main.d.ts",
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"type-check": "tsc",
|
10
10
|
"test": "node --unhandled-rejections=warn --experimental-vm-modules ./node_modules/jest/bin/jest.js --detectOpenHandles --forceExit",
|
11
11
|
"test:watch": "node --unhandled-rejections=warn --experimental-vm-modules ./node_modules/jest/bin/jest.js --watch",
|
12
|
-
"build": "esbuild src/main.ts --bundle --format=esm --outfile=dist/main.js && rm -f tsconfig.tsbuildinfo && npx tsc -p tsconfig.build.json",
|
12
|
+
"build": "esbuild src/main.ts --bundle --format=esm --outfile=dist/main.js && rm -f tsconfig.build.tsbuildinfo && npx tsc -p tsconfig.build.json",
|
13
13
|
"build:watch": "esbuild src/main.ts --bundle --format=esm --outfile=dist/main.js --watch"
|
14
14
|
},
|
15
15
|
"keywords": [],
|