@jsonui/react 0.8.0 → 0.8.3
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/README.md +4 -2
- package/dist/cjs/index.js +31 -3888
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +27 -3884
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +10 -22
- package/package.json +6 -8
- package/dist/cjs/types/ErrorBoundary.d.ts +0 -22
- package/dist/cjs/types/MessageReceiver.d.ts +0 -2
- package/dist/cjs/types/MessageReceiverContext.d.ts +0 -8
- package/dist/cjs/types/ReduxProviders.d.ts +0 -9
- package/dist/cjs/types/Renderer.d.ts +0 -10
- package/dist/cjs/types/ViewerWeb.d.ts +0 -3
- package/dist/cjs/types/Wrapper.d.ts +0 -6
- package/dist/cjs/types/index.d.ts +0 -7
- package/dist/cjs/types/indexWeb.d.ts +0 -1
- package/dist/cjs/types/stock/components/Button.d.ts +0 -2
- package/dist/cjs/types/stock/components/Edit.d.ts +0 -2
- package/dist/cjs/types/stock/components/FormResult.d.ts +0 -4
- package/dist/cjs/types/stock/components/Fragment.d.ts +0 -2
- package/dist/cjs/types/stock/components/HelperText.d.ts +0 -2
- package/dist/cjs/types/stock/components/Image.d.ts +0 -2
- package/dist/cjs/types/stock/components/Label.d.ts +0 -9
- package/dist/cjs/types/stock/components/PrimitiveProp.d.ts +0 -2
- package/dist/cjs/types/stock/components/Text.d.ts +0 -2
- package/dist/cjs/types/stock/components/Undefined.d.ts +0 -2
- package/dist/cjs/types/stock/components/View.d.ts +0 -2
- package/dist/cjs/types/stock/components.d.ts +0 -18
- package/dist/cjs/types/stock/stockToRenderer.d.ts +0 -20
- package/dist/cjs/types/stories/JsonUI.stories.d.ts +0 -5
- package/dist/cjs/types/stories/MultiChild.stories.d.ts +0 -4
- package/dist/cjs/types/stories/PartialValueUpdateTest/PushNotificationTest.stories.d.ts +0 -4
- package/dist/cjs/types/stories/PerformansTest1.stories.d.ts +0 -4
- package/dist/cjs/types/stories/PerformansTest2.stories.d.ts +0 -4
- package/dist/cjs/types/stories/ReduxTest.stories.d.ts +0 -5
- package/dist/cjs/types/stories/Simple.stories.d.ts +0 -4
- package/dist/cjs/types/stories/StateSaveTest/StateSaveTest.stories.d.ts +0 -4
- package/dist/cjs/types/stories/Table.stories.d.ts +0 -4
- package/dist/cjs/types/stories/Validation.stories.d.ts +0 -11
- package/dist/cjs/types/tests/action.test.d.ts +0 -1
- package/dist/cjs/types/tests/button.test.d.ts +0 -1
- package/dist/cjs/types/tests/input.test.d.ts +0 -13
- package/dist/cjs/types/tests/modifier.test.d.ts +0 -1
- package/dist/cjs/types/tests/pathModifier.test.d.ts +0 -1
- package/dist/cjs/types/tests/primitive_simple.test.d.ts +0 -1
- package/dist/cjs/types/tests/redux.test.d.ts +0 -13
- package/dist/cjs/types/tests/simple.test.d.ts +0 -1
- package/dist/cjs/types/types.d.ts +0 -26
- package/dist/esm/types/ErrorBoundary.d.ts +0 -22
- package/dist/esm/types/MessageReceiver.d.ts +0 -2
- package/dist/esm/types/MessageReceiverContext.d.ts +0 -8
- package/dist/esm/types/ReduxProviders.d.ts +0 -9
- package/dist/esm/types/Renderer.d.ts +0 -10
- package/dist/esm/types/ViewerWeb.d.ts +0 -3
- package/dist/esm/types/Wrapper.d.ts +0 -6
- package/dist/esm/types/index.d.ts +0 -7
- package/dist/esm/types/indexWeb.d.ts +0 -1
- package/dist/esm/types/stock/components/Button.d.ts +0 -2
- package/dist/esm/types/stock/components/Edit.d.ts +0 -2
- package/dist/esm/types/stock/components/FormResult.d.ts +0 -4
- package/dist/esm/types/stock/components/Fragment.d.ts +0 -2
- package/dist/esm/types/stock/components/HelperText.d.ts +0 -2
- package/dist/esm/types/stock/components/Image.d.ts +0 -2
- package/dist/esm/types/stock/components/Label.d.ts +0 -9
- package/dist/esm/types/stock/components/PrimitiveProp.d.ts +0 -2
- package/dist/esm/types/stock/components/Text.d.ts +0 -2
- package/dist/esm/types/stock/components/Undefined.d.ts +0 -2
- package/dist/esm/types/stock/components/View.d.ts +0 -2
- package/dist/esm/types/stock/components.d.ts +0 -18
- package/dist/esm/types/stock/stockToRenderer.d.ts +0 -20
- package/dist/esm/types/stories/JsonUI.stories.d.ts +0 -5
- package/dist/esm/types/stories/MultiChild.stories.d.ts +0 -4
- package/dist/esm/types/stories/PartialValueUpdateTest/PushNotificationTest.stories.d.ts +0 -4
- package/dist/esm/types/stories/PerformansTest1.stories.d.ts +0 -4
- package/dist/esm/types/stories/PerformansTest2.stories.d.ts +0 -4
- package/dist/esm/types/stories/ReduxTest.stories.d.ts +0 -5
- package/dist/esm/types/stories/Simple.stories.d.ts +0 -4
- package/dist/esm/types/stories/StateSaveTest/StateSaveTest.stories.d.ts +0 -4
- package/dist/esm/types/stories/Table.stories.d.ts +0 -4
- package/dist/esm/types/stories/Validation.stories.d.ts +0 -11
- package/dist/esm/types/tests/action.test.d.ts +0 -1
- package/dist/esm/types/tests/button.test.d.ts +0 -1
- package/dist/esm/types/tests/input.test.d.ts +0 -13
- package/dist/esm/types/tests/modifier.test.d.ts +0 -1
- package/dist/esm/types/tests/pathModifier.test.d.ts +0 -1
- package/dist/esm/types/tests/primitive_simple.test.d.ts +0 -1
- package/dist/esm/types/tests/redux.test.d.ts +0 -13
- package/dist/esm/types/tests/simple.test.d.ts +0 -1
- package/dist/esm/types/types.d.ts +0 -26
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { DefaultValues, GetFormState } from 'types';
|
|
3
|
-
interface Props {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
defaultValues?: DefaultValues;
|
|
6
|
-
getFormState?: GetFormState;
|
|
7
|
-
}
|
|
8
|
-
declare const Providers: ({ children, defaultValues: root, getFormState: getState }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default Providers;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Stock } from '@jsonui/core';
|
|
3
|
-
export declare const StockContext: React.Context<Stock | null>;
|
|
4
|
-
export declare const PathModifierContext: React.Context<{}>;
|
|
5
|
-
interface RendererFuncProps {
|
|
6
|
-
model: any;
|
|
7
|
-
stockInit: any;
|
|
8
|
-
}
|
|
9
|
-
declare const rendererFunc: (props: RendererFuncProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default rendererFunc;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PropsType } from '@jsonui/core';
|
|
2
|
-
export declare const getStyle: (props: PropsType | undefined, component: string) => any;
|
|
3
|
-
declare function Wrapper({ props: origProps }: {
|
|
4
|
-
props: any;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
-
export default Wrapper;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { JsonUIComponentsType, JsonUIFunctions, JsonUIFunctionType } from '@jsonui/core';
|
|
2
|
-
import { ChangeDefaultValueFuncProp, JSONValue, ViewerProps } from './types';
|
|
3
|
-
import { MessageHandlerContext, MessageHandler } from './MessageReceiverContext';
|
|
4
|
-
declare const JsonUI: (props: ViewerProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export { JsonUI, MessageHandlerContext, MessageHandler };
|
|
6
|
-
export type { ViewerProps as JsonUIProps, JSONValue, ChangeDefaultValueFuncProp, JsonUIFunctions, JsonUIFunctionType, JsonUIComponentsType };
|
|
7
|
-
export default JsonUI;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const getLabel: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare class InfoBox extends React.PureComponent {
|
|
4
|
-
counter: number;
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
componentDidMount(): void;
|
|
7
|
-
componentDidUpdate(): void;
|
|
8
|
-
render(): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import Text from './components/Text';
|
|
2
|
-
import Button from './components/Button';
|
|
3
|
-
import Edit from './components/Edit';
|
|
4
|
-
import View from './components/View';
|
|
5
|
-
import Image from './components/Image';
|
|
6
|
-
import _Undefined from './components/Undefined';
|
|
7
|
-
import _PrimitiveProp from './components/PrimitiveProp';
|
|
8
|
-
declare const Components: {
|
|
9
|
-
View: typeof View;
|
|
10
|
-
_PrimitiveProp: typeof _PrimitiveProp;
|
|
11
|
-
_Undefined: typeof _Undefined;
|
|
12
|
-
Fragment: ({ children }: any) => any;
|
|
13
|
-
Image: typeof Image;
|
|
14
|
-
Text: typeof Text;
|
|
15
|
-
Button: typeof Button;
|
|
16
|
-
Edit: typeof Edit;
|
|
17
|
-
};
|
|
18
|
-
export default Components;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Stock } from '@jsonui/core';
|
|
2
|
-
export declare const getStock: (stockInit: any, model: any, Wrapper: any, reduxStore: any) => Stock;
|
|
3
|
-
declare const stock: {
|
|
4
|
-
components: {
|
|
5
|
-
View: typeof import("./components/View").default;
|
|
6
|
-
_PrimitiveProp: typeof import("./components/PrimitiveProp").default;
|
|
7
|
-
_Undefined: typeof import("./components/Undefined").default;
|
|
8
|
-
Fragment: ({ children }: any) => any;
|
|
9
|
-
Image: typeof import("./components/Image").default;
|
|
10
|
-
Text: typeof import("./components/Text").default;
|
|
11
|
-
Button: typeof import("./components/Button").default;
|
|
12
|
-
Edit: typeof import("./components/Edit").default;
|
|
13
|
-
};
|
|
14
|
-
functions: {
|
|
15
|
-
get: import("@jsonui/core").JsonUIFunctionType;
|
|
16
|
-
set: import("@jsonui/core").JsonUIFunctionType;
|
|
17
|
-
jsonata: import("@jsonui/core").JsonUIFunctionType;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export default stock;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const TableTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export declare const InputTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
|
-
export default JsonUIStory;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const MultiChild: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export default JsonUIStory;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const PartialValueUpdateTest: ComponentStory<(props: import("../../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export default JsonUIStory;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const InputTest: ComponentStory<any>;
|
|
4
|
-
export default JsonUIStory;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const BoxTest: ComponentStory<any>;
|
|
4
|
-
export default JsonUIStory;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const TwoEditAnd1Modifier: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export declare const PathModifierTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
|
-
export default JsonUIStory;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const PrimitivesTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export default JsonUIStory;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const StoreStateTest: ComponentStory<(props: import("types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export default JsonUIStory;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const TableTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export default JsonUIStory;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const ValidationTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export default JsonUIStory;
|
|
5
|
-
/**
|
|
6
|
-
* TODO:
|
|
7
|
-
* how is help submit to validate the whole form
|
|
8
|
-
* touch
|
|
9
|
-
* dirty
|
|
10
|
-
*
|
|
11
|
-
* */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
/**
|
|
3
|
-
* TODO:
|
|
4
|
-
* - check actions (with nested ,promise and sync )
|
|
5
|
-
* - check modification (with nested ,promise and sync )
|
|
6
|
-
* - check modification order for example redux vs. simple function
|
|
7
|
-
* - check children and no children component with children prop
|
|
8
|
-
* - check data manipulation with mutability situation
|
|
9
|
-
* - check error boundary how works
|
|
10
|
-
* Low:
|
|
11
|
-
* - check performance or memory leak???
|
|
12
|
-
|
|
13
|
-
* */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
/**
|
|
3
|
-
* TODO:
|
|
4
|
-
* - check actions (with nested ,promise and sync )
|
|
5
|
-
* - check modification (with nested ,promise and sync )
|
|
6
|
-
* - check modification order for example redux vs. simple function
|
|
7
|
-
* - check children and no children component with children prop
|
|
8
|
-
* - check data manipulation with mutability situation
|
|
9
|
-
* - check error boundary how works
|
|
10
|
-
* Low:
|
|
11
|
-
* - check performance or memory leak???
|
|
12
|
-
|
|
13
|
-
* */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { JsonUIComponentsType, JsonUIFunctions } from '@jsonui/core';
|
|
3
|
-
export declare type JSONPrimitive = string | number | boolean | null;
|
|
4
|
-
export declare type JSONObject = {
|
|
5
|
-
[member: string]: any;
|
|
6
|
-
};
|
|
7
|
-
export declare type JSONArray = Array<any>;
|
|
8
|
-
export declare type JSONValue = JSONPrimitive | JSONObject | JSONArray | undefined;
|
|
9
|
-
export interface ChangeDefaultValueFuncProp {
|
|
10
|
-
store: string;
|
|
11
|
-
path: string;
|
|
12
|
-
value: JSONValue;
|
|
13
|
-
}
|
|
14
|
-
export declare type ChangeDefaultValueFunc = (arg: ChangeDefaultValueFuncProp) => void;
|
|
15
|
-
export declare type OnSubmitFunc = (arg: any) => void;
|
|
16
|
-
export interface DefaultValues {
|
|
17
|
-
[key: string]: JSONValue;
|
|
18
|
-
}
|
|
19
|
-
export declare type GetFormState = React.MutableRefObject<(() => DefaultValues) | undefined>;
|
|
20
|
-
export interface ViewerProps {
|
|
21
|
-
model: any;
|
|
22
|
-
defaultValues?: DefaultValues;
|
|
23
|
-
components?: JsonUIComponentsType;
|
|
24
|
-
functions?: JsonUIFunctions;
|
|
25
|
-
getFormState?: GetFormState;
|
|
26
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ErrorBoundaryProps {
|
|
3
|
-
type?: string;
|
|
4
|
-
id?: string;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
declare type errorType = any;
|
|
8
|
-
export interface ErrorBoundaryState {
|
|
9
|
-
hasError: boolean;
|
|
10
|
-
error?: errorType;
|
|
11
|
-
didInfo?: any;
|
|
12
|
-
}
|
|
13
|
-
declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
14
|
-
constructor(props: ErrorBoundaryProps);
|
|
15
|
-
static getDerivedStateFromError(error: errorType): {
|
|
16
|
-
hasError: boolean;
|
|
17
|
-
error: any;
|
|
18
|
-
};
|
|
19
|
-
componentDidCatch(error: errorType, info: any): void;
|
|
20
|
-
render(): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
21
|
-
}
|
|
22
|
-
export default ErrorBoundary;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ChangeDefaultValueFunc } from 'types';
|
|
3
|
-
export declare class MessageHandler {
|
|
4
|
-
updateDefaultValueHandler?: ChangeDefaultValueFunc;
|
|
5
|
-
set: (newFunc: ChangeDefaultValueFunc) => void;
|
|
6
|
-
get: () => ChangeDefaultValueFunc | undefined;
|
|
7
|
-
}
|
|
8
|
-
export declare const MessageHandlerContext: import("react").Context<MessageHandler | null>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { DefaultValues, GetFormState } from 'types';
|
|
3
|
-
interface Props {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
defaultValues?: DefaultValues;
|
|
6
|
-
getFormState?: GetFormState;
|
|
7
|
-
}
|
|
8
|
-
declare const Providers: ({ children, defaultValues: root, getFormState: getState }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default Providers;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Stock } from '@jsonui/core';
|
|
3
|
-
export declare const StockContext: React.Context<Stock | null>;
|
|
4
|
-
export declare const PathModifierContext: React.Context<{}>;
|
|
5
|
-
interface RendererFuncProps {
|
|
6
|
-
model: any;
|
|
7
|
-
stockInit: any;
|
|
8
|
-
}
|
|
9
|
-
declare const rendererFunc: (props: RendererFuncProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default rendererFunc;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PropsType } from '@jsonui/core';
|
|
2
|
-
export declare const getStyle: (props: PropsType | undefined, component: string) => any;
|
|
3
|
-
declare function Wrapper({ props: origProps }: {
|
|
4
|
-
props: any;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
-
export default Wrapper;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { JsonUIComponentsType, JsonUIFunctions, JsonUIFunctionType } from '@jsonui/core';
|
|
2
|
-
import { ChangeDefaultValueFuncProp, JSONValue, ViewerProps } from './types';
|
|
3
|
-
import { MessageHandlerContext, MessageHandler } from './MessageReceiverContext';
|
|
4
|
-
declare const JsonUI: (props: ViewerProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export { JsonUI, MessageHandlerContext, MessageHandler };
|
|
6
|
-
export type { ViewerProps as JsonUIProps, JSONValue, ChangeDefaultValueFuncProp, JsonUIFunctions, JsonUIFunctionType, JsonUIComponentsType };
|
|
7
|
-
export default JsonUI;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const getLabel: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare class InfoBox extends React.PureComponent {
|
|
4
|
-
counter: number;
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
componentDidMount(): void;
|
|
7
|
-
componentDidUpdate(): void;
|
|
8
|
-
render(): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import Text from './components/Text';
|
|
2
|
-
import Button from './components/Button';
|
|
3
|
-
import Edit from './components/Edit';
|
|
4
|
-
import View from './components/View';
|
|
5
|
-
import Image from './components/Image';
|
|
6
|
-
import _Undefined from './components/Undefined';
|
|
7
|
-
import _PrimitiveProp from './components/PrimitiveProp';
|
|
8
|
-
declare const Components: {
|
|
9
|
-
View: typeof View;
|
|
10
|
-
_PrimitiveProp: typeof _PrimitiveProp;
|
|
11
|
-
_Undefined: typeof _Undefined;
|
|
12
|
-
Fragment: ({ children }: any) => any;
|
|
13
|
-
Image: typeof Image;
|
|
14
|
-
Text: typeof Text;
|
|
15
|
-
Button: typeof Button;
|
|
16
|
-
Edit: typeof Edit;
|
|
17
|
-
};
|
|
18
|
-
export default Components;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Stock } from '@jsonui/core';
|
|
2
|
-
export declare const getStock: (stockInit: any, model: any, Wrapper: any, reduxStore: any) => Stock;
|
|
3
|
-
declare const stock: {
|
|
4
|
-
components: {
|
|
5
|
-
View: typeof import("./components/View").default;
|
|
6
|
-
_PrimitiveProp: typeof import("./components/PrimitiveProp").default;
|
|
7
|
-
_Undefined: typeof import("./components/Undefined").default;
|
|
8
|
-
Fragment: ({ children }: any) => any;
|
|
9
|
-
Image: typeof import("./components/Image").default;
|
|
10
|
-
Text: typeof import("./components/Text").default;
|
|
11
|
-
Button: typeof import("./components/Button").default;
|
|
12
|
-
Edit: typeof import("./components/Edit").default;
|
|
13
|
-
};
|
|
14
|
-
functions: {
|
|
15
|
-
get: import("@jsonui/core").JsonUIFunctionType;
|
|
16
|
-
set: import("@jsonui/core").JsonUIFunctionType;
|
|
17
|
-
jsonata: import("@jsonui/core").JsonUIFunctionType;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export default stock;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const TableTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export declare const InputTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
|
-
export default JsonUIStory;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const MultiChild: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export default JsonUIStory;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const PartialValueUpdateTest: ComponentStory<(props: import("../../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export default JsonUIStory;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const InputTest: ComponentStory<any>;
|
|
4
|
-
export default JsonUIStory;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const BoxTest: ComponentStory<any>;
|
|
4
|
-
export default JsonUIStory;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const TwoEditAnd1Modifier: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export declare const PathModifierTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
|
-
export default JsonUIStory;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const PrimitivesTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export default JsonUIStory;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const StoreStateTest: ComponentStory<(props: import("types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export default JsonUIStory;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const TableTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export default JsonUIStory;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
-
export declare const ValidationTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export default JsonUIStory;
|
|
5
|
-
/**
|
|
6
|
-
* TODO:
|
|
7
|
-
* how is help submit to validate the whole form
|
|
8
|
-
* touch
|
|
9
|
-
* dirty
|
|
10
|
-
*
|
|
11
|
-
* */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
/**
|
|
3
|
-
* TODO:
|
|
4
|
-
* - check actions (with nested ,promise and sync )
|
|
5
|
-
* - check modification (with nested ,promise and sync )
|
|
6
|
-
* - check modification order for example redux vs. simple function
|
|
7
|
-
* - check children and no children component with children prop
|
|
8
|
-
* - check data manipulation with mutability situation
|
|
9
|
-
* - check error boundary how works
|
|
10
|
-
* Low:
|
|
11
|
-
* - check performance or memory leak???
|
|
12
|
-
|
|
13
|
-
* */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
/**
|
|
3
|
-
* TODO:
|
|
4
|
-
* - check actions (with nested ,promise and sync )
|
|
5
|
-
* - check modification (with nested ,promise and sync )
|
|
6
|
-
* - check modification order for example redux vs. simple function
|
|
7
|
-
* - check children and no children component with children prop
|
|
8
|
-
* - check data manipulation with mutability situation
|
|
9
|
-
* - check error boundary how works
|
|
10
|
-
* Low:
|
|
11
|
-
* - check performance or memory leak???
|
|
12
|
-
|
|
13
|
-
* */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|