@pronto-tools-and-more/components 6.19.0 → 6.22.1

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/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,10 @@
1
+ export declare const Button: ({ message }: {
2
+ message: string;
3
+ }) => {
4
+ type: string;
5
+ message: string;
6
+ tap: {
7
+ type: string;
8
+ path: string;
9
+ };
10
+ };
@@ -0,0 +1,4 @@
1
+ export * from "../JsonComponent/JsonComponent.tsx";
2
+ export * from "../Login/Login.tsx";
3
+ export * from "../MenuItems/MenuItems.tsx";
4
+ export * from "../SearchField/SearchField.tsx";
@@ -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,4 @@
1
+ import type React from "react";
2
+ export declare const JsonComponent: ({ json }: {
3
+ json: any;
4
+ }) => React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import type React from "react";
2
+ export declare const Login: () => React.ReactNode;
@@ -0,0 +1 @@
1
+ export * from "../Components/Components.tsx";
@@ -0,0 +1,3 @@
1
+ export declare const MenuItems: ({ menuName }: {
2
+ menuName: string;
3
+ }) => import("react").JSX.Element;
@@ -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";
@@ -0,0 +1,7 @@
1
+ export declare const React: {
2
+ createElement(tag: any, props: any, children: any): {
3
+ tag: any;
4
+ props: any;
5
+ children: any;
6
+ };
7
+ };
@@ -0,0 +1,2 @@
1
+ import type React from "react";
2
+ export declare const SearchField: () => React.ReactElement;
@@ -0,0 +1,9 @@
1
+ export declare const Swiper: () => {
2
+ type: string;
3
+ effect: string;
4
+ loop: boolean;
5
+ pagination: boolean;
6
+ centeredSlides: boolean;
7
+ param: string;
8
+ paramScope: string;
9
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "6.19.0",
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": [],
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import type React from "react";
2
2
  import { JsonComponent } from "../JsonComponent/JsonComponent.tsx";
3
3
 
4
4
  export const SearchField = (): React.ReactElement => {