@jsonui/core 0.0.11 → 0.1.0

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.
Files changed (86) hide show
  1. package/README.md +20 -0
  2. package/dist/cjs/index.js +14600 -0
  3. package/dist/cjs/index.js.map +1 -0
  4. package/dist/cjs/types/index.d.ts +13 -0
  5. package/dist/{stock → cjs/types/stock}/Stock.d.ts +27 -27
  6. package/dist/cjs/types/stock/Stock.test.d.ts +1 -0
  7. package/dist/{stock → cjs/types/stock}/appRootFunctions.d.ts +7 -7
  8. package/dist/{stock → cjs/types/stock}/functions.d.ts +7 -7
  9. package/dist/{stock → cjs/types/stock}/validation.d.ts +7 -7
  10. package/dist/{store → cjs/types/store}/persistConfig.d.ts +8 -8
  11. package/dist/{store → cjs/types/store}/reducers.d.ts +4 -4
  12. package/dist/{store → cjs/types/store}/root/actions.d.ts +10 -10
  13. package/dist/{store → cjs/types/store}/root/reducer.d.ts +4 -4
  14. package/dist/cjs/types/store/root/reducer.test.d.ts +1 -0
  15. package/dist/cjs/types/store/root/selector.test.d.ts +1 -0
  16. package/dist/{store → cjs/types/store}/root/selectors.d.ts +11 -11
  17. package/dist/{util → cjs/types/utils}/I18n.d.ts +27 -27
  18. package/dist/cjs/types/utils/I18n.test.d.ts +1 -0
  19. package/dist/{utils → cjs/types/utils}/constants.d.ts +23 -19
  20. package/dist/{utils → cjs/types/utils}/contextHandler.d.ts +4 -4
  21. package/dist/{util → cjs/types/utils}/jsonRefResolver.d.ts +2 -2
  22. package/dist/{utils → cjs/types/utils}/types.d.ts +27 -27
  23. package/dist/cjs/types/utils/util.d.ts +18 -0
  24. package/dist/cjs/types/utils/util.test.d.ts +1 -0
  25. package/dist/{wrapper → cjs/types/wrapper}/wrapperUtil.d.ts +15 -15
  26. package/dist/esm/index.js +14600 -0
  27. package/dist/esm/index.js.map +1 -0
  28. package/dist/esm/types/index.d.ts +13 -0
  29. package/dist/esm/types/stock/Stock.d.ts +27 -0
  30. package/dist/esm/types/stock/Stock.test.d.ts +1 -0
  31. package/dist/esm/types/stock/appRootFunctions.d.ts +7 -0
  32. package/dist/esm/types/stock/functions.d.ts +7 -0
  33. package/dist/esm/types/stock/validation.d.ts +7 -0
  34. package/dist/esm/types/store/persistConfig.d.ts +8 -0
  35. package/dist/esm/types/store/reducers.d.ts +4 -0
  36. package/dist/esm/types/store/root/actions.d.ts +10 -0
  37. package/dist/esm/types/store/root/reducer.d.ts +4 -0
  38. package/dist/esm/types/store/root/reducer.test.d.ts +1 -0
  39. package/dist/esm/types/store/root/selector.test.d.ts +1 -0
  40. package/dist/esm/types/store/root/selectors.d.ts +11 -0
  41. package/dist/{utils → esm/types/utils}/I18n.d.ts +27 -27
  42. package/dist/esm/types/utils/I18n.test.d.ts +1 -0
  43. package/dist/{util → esm/types/utils}/constants.d.ts +23 -19
  44. package/dist/esm/types/utils/contextHandler.d.ts +4 -0
  45. package/dist/{utils → esm/types/utils}/jsonRefResolver.d.ts +2 -2
  46. package/dist/{util → esm/types/utils}/types.d.ts +27 -27
  47. package/dist/esm/types/utils/util.d.ts +18 -0
  48. package/dist/esm/types/utils/util.test.d.ts +1 -0
  49. package/dist/esm/types/wrapper/wrapperUtil.d.ts +15 -0
  50. package/dist/index.d.ts +273 -14
  51. package/package.json +22 -9
  52. package/.eslintrc.json +0 -51
  53. package/.prettierrc +0 -6
  54. package/dist/index.cjs +0 -2
  55. package/dist/index.cjs.map +0 -1
  56. package/dist/index.modern.js +0 -2
  57. package/dist/index.modern.js.map +0 -1
  58. package/dist/index.module.mjs +0 -2
  59. package/dist/index.module.mjs.map +0 -1
  60. package/dist/index.umd.js +0 -2
  61. package/dist/index.umd.js.map +0 -1
  62. package/dist/store/renderers/actions.d.ts +0 -10
  63. package/dist/store/renderers/reducer.d.ts +0 -2
  64. package/dist/store/renderers/selectors.d.ts +0 -5
  65. package/dist/util/contextHandler.d.ts +0 -3
  66. package/dist/util/util.d.ts +0 -22
  67. package/dist/utils/util.d.ts +0 -22
  68. package/src/index.ts +0 -30
  69. package/src/stock/Stock.ts +0 -75
  70. package/src/stock/appRootFunctions.ts +0 -15
  71. package/src/stock/functions.ts +0 -25
  72. package/src/stock/validation.ts +0 -30
  73. package/src/store/persistConfig.ts +0 -20
  74. package/src/store/reducers.ts +0 -6
  75. package/src/store/root/actions.ts +0 -12
  76. package/src/store/root/reducer.ts +0 -71
  77. package/src/store/root/selectors.ts +0 -61
  78. package/src/typings/key-value-replace.d.ts +0 -8
  79. package/src/utils/I18n.ts +0 -99
  80. package/src/utils/constants.ts +0 -21
  81. package/src/utils/contextHandler.ts +0 -5
  82. package/src/utils/jsonRefResolver.ts +0 -88
  83. package/src/utils/types.ts +0 -35
  84. package/src/utils/util.ts +0 -142
  85. package/src/wrapper/wrapperUtil.tsx +0 -139
  86. package/tsconfig.json +0 -5
@@ -0,0 +1,13 @@
1
+ import Stock from './stock/Stock';
2
+ import * as wrapperUtil from './wrapper/wrapperUtil';
3
+ import * as constants from './utils/constants';
4
+ import * as util from './utils/util';
5
+ import I18n from './utils/I18n';
6
+ import { StockContext, PathModifierContext } from './utils/contextHandler';
7
+ import { genAllStateProps } from './store/root/selectors';
8
+ import stockFunctions from './stock/functions';
9
+ import persistConfig from './store/persistConfig';
10
+ import storeReducers from './store/reducers';
11
+ import appRootFunctions from './stock/appRootFunctions';
12
+ export * from './utils/types';
13
+ export { Stock, I18n, wrapperUtil, util, constants, StockContext, PathModifierContext, appRootFunctions, genAllStateProps, stockFunctions, persistConfig, storeReducers, };
@@ -1,27 +1,27 @@
1
- import React from 'react';
2
- import { JsonUIFunctions, JsonUIFunctionType } from './appRootFunctions';
3
- interface JsonUIComponentsType {
4
- [key: string]: React.ReactNode;
5
- }
6
- interface NewStockType {
7
- components: JsonUIComponentsType;
8
- functions: JsonUIFunctions;
9
- }
10
- declare type InitType = (prop: NewStockType) => void;
11
- declare type RegisterFunctionType = (key: string, value: JsonUIFunctionType) => void;
12
- declare type RegisterComponentType = (key: string, value: React.ReactNode) => void;
13
- declare type CallFunctionType = (name: string, attr?: any, props?: any, callerArgs?: any) => void;
14
- declare type GetComponentType = (componentName: string) => React.ReactNode;
15
- export default class Stock {
16
- stock: NewStockType;
17
- Wrapper: React.ReactNode;
18
- reduxStore: any;
19
- validations: any;
20
- constructor(newStock: NewStockType, Wrapper: React.ReactNode, reduxStore: any);
21
- init: InitType;
22
- registerComponent: RegisterComponentType;
23
- registerFunction: RegisterFunctionType;
24
- callFunction: CallFunctionType;
25
- getComponent: GetComponentType;
26
- }
27
- export {};
1
+ import { ReactNode } from 'react';
2
+ import { JsonUIFunctions, JsonUIFunctionType } from './appRootFunctions';
3
+ interface JsonUIComponentsType {
4
+ [key: string]: ReactNode;
5
+ }
6
+ interface NewStockType {
7
+ components: JsonUIComponentsType;
8
+ functions: JsonUIFunctions;
9
+ }
10
+ declare type InitType = (prop: NewStockType) => void;
11
+ declare type RegisterFunctionType = (key: string, value: JsonUIFunctionType) => void;
12
+ declare type RegisterComponentType = (key: string, value: ReactNode) => void;
13
+ declare type CallFunctionType = (name: string, attr?: any, props?: any, callerArgs?: any) => any;
14
+ declare type GetComponentType = (componentName: string) => ReactNode;
15
+ export default class Stock {
16
+ stock: NewStockType;
17
+ Wrapper: ReactNode;
18
+ reduxStore: any;
19
+ validations: any;
20
+ constructor(newStock: NewStockType, Wrapper: ReactNode, reduxStore: any);
21
+ init: InitType;
22
+ registerComponent: RegisterComponentType;
23
+ registerFunction: RegisterFunctionType;
24
+ callFunction: CallFunctionType;
25
+ getComponent: GetComponentType;
26
+ }
27
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,7 +1,7 @@
1
- export declare type JsonUIFunctionType = (attr: any, props: any, callerArgs: any, stock: any) => Promise<void> | void | any;
2
- export interface JsonUIFunctions {
3
- [key: string]: JsonUIFunctionType;
4
- }
5
- export declare const deletePersistDataStore: JsonUIFunctionType;
6
- declare const appRootFunctions: JsonUIFunctions;
7
- export default appRootFunctions;
1
+ export declare type JsonUIFunctionType = (attr: any, props: any, callerArgs: any, stock: any) => Promise<void> | void | any;
2
+ export interface JsonUIFunctions {
3
+ [key: string]: JsonUIFunctionType;
4
+ }
5
+ export declare const deletePersistDataStore: JsonUIFunctionType;
6
+ declare const appRootFunctions: JsonUIFunctions;
7
+ export default appRootFunctions;
@@ -1,7 +1,7 @@
1
- import { JsonUIFunctionType } from './appRootFunctions';
2
- declare const _default: {
3
- getStateValue: JsonUIFunctionType;
4
- get: JsonUIFunctionType;
5
- set: JsonUIFunctionType;
6
- };
7
- export default _default;
1
+ import { JsonUIFunctionType } from './appRootFunctions';
2
+ declare const _default: {
3
+ getStateValue: JsonUIFunctionType;
4
+ get: JsonUIFunctionType;
5
+ set: JsonUIFunctionType;
6
+ };
7
+ export default _default;
@@ -1,7 +1,7 @@
1
- import { ErrorObject } from 'ajv';
2
- export declare const errorConverter: (errors: ErrorObject<string, Record<string, any>, unknown>[] | null | undefined) => {};
3
- export declare const validateJSON: (schema: any, store: string, data: any) => {
4
- store: string;
5
- valid: boolean;
6
- value: {} | null;
7
- };
1
+ import { ErrorObject } from 'ajv';
2
+ export declare const errorConverter: (errors: ErrorObject<string, Record<string, any>, unknown>[] | null | undefined) => {};
3
+ export declare const validateJSON: (schema: any, store: string, data: any) => {
4
+ store: string;
5
+ valid: boolean;
6
+ value: {} | null;
7
+ };
@@ -1,8 +1,8 @@
1
- /// <reference types="redux-persist/types/types" />
2
- /// <reference types="redux-persist" />
3
- declare const _default: {
4
- key: string;
5
- whitelist: string[];
6
- transforms: import("redux-persist").Transform<unknown, unknown, any, any>[];
7
- };
8
- export default _default;
1
+ /// <reference types="redux-persist/types/types" />
2
+ /// <reference types="redux-persist" />
3
+ declare const _default: {
4
+ key: string;
5
+ whitelist: string[];
6
+ transforms: import("redux-persist").Transform<unknown, unknown, any, any>[];
7
+ };
8
+ export default _default;
@@ -1,4 +1,4 @@
1
- declare const rootReducer: import("redux").Reducer<import("redux").CombinedState<{
2
- root: any;
3
- }>, import("redux").AnyAction>;
4
- export default rootReducer;
1
+ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState<{
2
+ root: any;
3
+ }>, import("redux").AnyAction>;
4
+ export default rootReducer;
@@ -1,10 +1,10 @@
1
- export declare const DATA_UPDATE = "DATA_UPDATE";
2
- export declare const PURGE = "PURGE";
3
- export declare const set: (payload: any) => {
4
- type: string;
5
- payload: any;
6
- };
7
- export declare const purge: (payload: any) => {
8
- type: string;
9
- payload: any;
10
- };
1
+ export declare const DATA_UPDATE = "DATA_UPDATE";
2
+ export declare const PURGE = "PURGE";
3
+ export declare const set: (payload: any) => {
4
+ type: string;
5
+ payload: any;
6
+ };
7
+ export declare const purge: (payload: any) => {
8
+ type: string;
9
+ payload: any;
10
+ };
@@ -1,4 +1,4 @@
1
- import { AnyAction } from 'redux';
2
- export declare type RootStateType = any;
3
- declare const reducer: (state: any, action: AnyAction) => any;
4
- export default reducer;
1
+ import { AnyAction } from 'redux';
2
+ export declare type RootStateType = any;
3
+ declare const reducer: (state: any, action: AnyAction) => any;
4
+ export default reducer;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,11 +1,11 @@
1
- import { PathModifiersType, PropsType } from '../../utils/types';
2
- import { RootStateType } from './reducer';
3
- export declare const getState: (state: any) => RootStateType;
4
- export declare const getValue: (state: any, store: string, path: string) => any;
5
- export interface ReduxPathType {
6
- store: string;
7
- path: string;
8
- isError?: boolean;
9
- }
10
- export declare const getStateValue: (globalState: any, { store, path, isError }: ReduxPathType, currentPaths: PathModifiersType) => any;
11
- export declare const genAllStateProps: (globalState: any, props: PropsType) => PropsType;
1
+ import { PathModifiersType, PropsType } from '../../utils/types';
2
+ import { RootStateType } from './reducer';
3
+ export declare const getState: (state: any) => RootStateType;
4
+ export declare const getValue: (state: any, store: string, path: string) => any;
5
+ export interface ReduxPathType {
6
+ store: string;
7
+ path: string;
8
+ isError?: boolean;
9
+ }
10
+ export declare const getStateValue: (globalState: any, { store, path, isError }: ReduxPathType, currentPaths: PathModifiersType) => any;
11
+ export declare const genAllStateProps: (globalState: any, props: PropsType) => PropsType;
@@ -1,27 +1,27 @@
1
- interface I18nResources {
2
- [key: string]: {
3
- translation: {
4
- [key: string]: string;
5
- };
6
- };
7
- }
8
- interface I18nProps {
9
- language?: string;
10
- resources?: I18nResources;
11
- keyPrefix?: string;
12
- keyPostfix?: string;
13
- nonExistsHandler?: (key: string) => void;
14
- }
15
- export default class I18n {
16
- language: string;
17
- languages: string[];
18
- resources?: I18nResources;
19
- keyPrefix?: string;
20
- keyPostfix?: string;
21
- nonExistsHandler?: (key: string) => void;
22
- availableLanguageKey?: string;
23
- constructor({ language, resources, nonExistsHandler, keyPrefix, keyPostfix }: I18nProps);
24
- getLocales: () => string;
25
- t: (key: string, options: any, language: string | null) => string;
26
- }
27
- export {};
1
+ interface I18nResources {
2
+ [key: string]: {
3
+ translation: {
4
+ [key: string]: string;
5
+ };
6
+ };
7
+ }
8
+ interface I18nProps {
9
+ language?: string;
10
+ resources?: I18nResources;
11
+ keyPrefix?: string;
12
+ keyPostfix?: string;
13
+ nonExistsHandler?: (key: string) => void;
14
+ }
15
+ export default class I18n {
16
+ language: string;
17
+ languages: string[];
18
+ resources?: I18nResources;
19
+ keyPrefix?: string;
20
+ keyPostfix?: string;
21
+ nonExistsHandler?: (key: string) => void;
22
+ availableLanguageKey?: string;
23
+ constructor({ language, resources, nonExistsHandler, keyPrefix, keyPostfix }: I18nProps);
24
+ getLocales: () => string;
25
+ t: (key: any, options?: any, language?: string | null | undefined) => any;
26
+ }
27
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,19 +1,23 @@
1
- export declare const SEPARATOR = "/";
2
- export declare const STORE_ERROR_POSTFIX = ".error";
3
- export declare const PATH_MODIFIERS_KEY = "$pathModifiers";
4
- export declare const MODIFIER_KEY = "$modifier";
5
- export declare const ACTION_KEY = "$action";
6
- export declare const PERSIST_STORAGE_KEY = "$persistStores";
7
- export declare const PERSIST_STORAGE_NAMES: string[];
8
- export declare const REF_ASSETS = "$assetsRef";
9
- export declare const REF_LOCALES = "$locales";
10
- export declare const REF_VALIDATES = "$validations";
11
- export declare const STYLE_WEB_NAME = "styleWeb";
12
- export declare const STYLE_RN_NAME = "styleRN";
13
- export declare const REDUX_FUNCTIONS: string[];
14
- export declare const PATHNAME = "path";
15
- export declare const SIMPLE_DATA_TYPES: string[];
16
- export declare const V_CHILDREN_NAME = "$children";
17
- export declare const V_COMP_NAME = "$comp";
18
- export declare const ITEM_OF_ARRAY = "item";
19
- export declare const PAGINATION_ITEM_PER_PAGE = 1;
1
+ export declare const SEPARATOR = "/";
2
+ export declare const STORE_ERROR_POSTFIX = ".error";
3
+ export declare const PATH_MODIFIERS_KEY = "$pathModifiers";
4
+ export declare const MODIFIER_KEY = "$modifier";
5
+ export declare const ACTION_KEY = "$action";
6
+ export declare const PERSIST_STORAGE_KEY = "$persistStores";
7
+ export declare const PERSIST_STORAGE_NAMES: string[];
8
+ export declare const REF_ASSETS = "$assetsRef";
9
+ export declare const REF_LOCALES = "$locales";
10
+ export declare const REF_VALIDATES = "$validations";
11
+ export declare const STYLE_WEB_NAME = "styleWeb";
12
+ export declare const STYLE_RN_NAME = "styleRN";
13
+ export declare const REDUX_FUNCTIONS: string[];
14
+ export declare const PATHNAME = "path";
15
+ export declare const SIMPLE_DATA_TYPES: string[];
16
+ export declare const V_CHILDREN_NAME = "$children";
17
+ export declare const V_COMP_NAME = "$comp";
18
+ export declare const LIST_SEMAPHORE = "$isList";
19
+ export declare const LIST_ITEM = "$listItem";
20
+ export declare const LIST_PAGE = "$page";
21
+ export declare const LIST_ITEM_PER_PAGE = "$itemPerPage";
22
+ export declare const LIST_LENGTH = "$listLength";
23
+ export declare const LIST_ITEM_PER_PAGE_DEFAULT = 10;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
- import Stock from 'stock/Stock';
3
- export declare const StockContext: import("react").Context<typeof Stock | null>;
4
- export declare const PathModifierContext: import("react").Context<{}>;
1
+ /// <reference types="react" />
2
+ import Stock from 'stock/Stock';
3
+ export declare const StockContext: import("react").Context<typeof Stock | null>;
4
+ export declare const PathModifierContext: import("react").Context<{}>;
@@ -1,2 +1,2 @@
1
- export declare const collectJsonKeys: (refConst: string, json: any) => {};
2
- export declare const getRefs: (refConst: string, json: any, projectPath?: string) => any[];
1
+ export declare const collectJsonKeys: (refConst: string, json: any) => {};
2
+ export declare const getRefs: (refConst: string, json: any, projectPath?: string) => any[];
@@ -1,27 +1,27 @@
1
- import React from 'react';
2
- import * as c from 'utils/constants';
3
- export declare type UIDefinition = any;
4
- export declare type Path = string;
5
- export declare type ArraysType = any[];
6
- export declare type WrapperType = React.ElementType;
7
- export declare type PropValue = PropsType | ArraysType | string | null | boolean | number | undefined | PathModifiersType;
8
- export interface PathModifierType {
9
- path: string;
10
- }
11
- export interface PathModifiersType {
12
- [key: string]: PathModifierType;
13
- }
14
- export interface PropsType {
15
- [key: string]: PropValue;
16
- [c.PATH_MODIFIERS_KEY]?: PathModifiersType;
17
- }
18
- export interface PathType {
19
- path: string[];
20
- level: number;
21
- }
22
- export declare type PathsType = PathType[];
23
- export interface ValidationType {
24
- store: string;
25
- path: string;
26
- schema: any;
27
- }
1
+ import React from 'react';
2
+ import * as c from 'utils/constants';
3
+ export declare type UIDefinition = any;
4
+ export declare type Path = string;
5
+ export declare type ArraysType = any[];
6
+ export declare type WrapperType = React.ElementType;
7
+ export declare type PropValue = PropsType | ArraysType | string | null | boolean | number | undefined | PathModifiersType;
8
+ export interface PathModifierType {
9
+ path: string;
10
+ }
11
+ export interface PathModifiersType {
12
+ [key: string]: PathModifierType;
13
+ }
14
+ export interface PropsType {
15
+ [key: string]: PropValue;
16
+ [c.PATH_MODIFIERS_KEY]?: PathModifiersType;
17
+ }
18
+ export interface PathType {
19
+ path: string[];
20
+ level: number;
21
+ }
22
+ export declare type PathsType = PathType[];
23
+ export interface ValidationType {
24
+ store: string;
25
+ path: string;
26
+ schema: any;
27
+ }
@@ -0,0 +1,18 @@
1
+ export declare const findLastIndex: (arr: any[], func: any) => number;
2
+ export declare const drop: (arr: any[], n?: number) => any[];
3
+ export declare const isNumber: (a: any) => boolean;
4
+ export declare const jsonPointerGet: (json: any, path?: string | undefined) => any;
5
+ export declare const jsonPointerSet: (json: any, path?: string | undefined, value?: any) => any;
6
+ export declare const pathArrayToPathString: (array: (string | number)[]) => string;
7
+ export declare const pathArrayToJsonPointer: (array: (string | number)[]) => string;
8
+ export declare function isOnlyObject(item: any): boolean;
9
+ export declare const mergePath: (target: any, newState: any) => any;
10
+ export declare const changeRelativePath: (path: string) => string;
11
+ /**
12
+ * Deep merge two objects.
13
+ * @param target
14
+ * @param ...sources
15
+ */
16
+ export declare function mergeDeep(target: any, ...sources: any): any;
17
+ export declare const collectObjMerge: (refConst: string, json: any) => {};
18
+ export declare const collectObjToArray: (refConst: string, json: any) => any[];
@@ -0,0 +1 @@
1
+ export {};
@@ -1,15 +1,15 @@
1
- /// <reference types="react" />
2
- import Stock from 'stock/Stock';
3
- import { PathModifiersType, PropsType, WrapperType } from '../utils/types';
4
- export declare const actionBuilder: (props: PropsType, stock: InstanceType<typeof Stock>) => void;
5
- export declare const modifierBuilder: (props: PropsType, stock: InstanceType<typeof Stock>) => void;
6
- export declare const pathModifierBuilder: (props: PropsType, pathModifier: PathModifiersType) => {
7
- currentPaths: PathModifiersType;
8
- } | undefined;
9
- export declare const getWrapperProps: (props: PropsType, parentComp?: any) => PropsType;
10
- export declare const getRootWrapperProps: (props: PropsType, stock: InstanceType<typeof Stock>) => {
11
- [x: string]: import("../utils/types").PropValue;
12
- $pathModifiers?: PathModifiersType | undefined;
13
- };
14
- export declare const getChildrensForRoot: (props: PropsType, children: any, Wrapper: WrapperType) => JSX.Element | JSX.Element[];
15
- export declare const generateChildren: (props: PropsType, { Wrapper }: InstanceType<typeof Stock>) => import("../utils/types").PropValue | JSX.Element;
1
+ /// <reference types="react" />
2
+ import Stock from '../stock/Stock';
3
+ import { PathModifiersType, PropsType, WrapperType } from '../utils/types';
4
+ export declare const actionBuilder: (props: PropsType, stock: InstanceType<typeof Stock>) => void;
5
+ export declare const modifierBuilder: (props: PropsType, stock: InstanceType<typeof Stock>) => void;
6
+ export declare const pathModifierBuilder: (props: PropsType, pathModifier: PathModifiersType) => {
7
+ currentPaths: PathModifiersType;
8
+ } | undefined;
9
+ export declare const getWrapperProps: (props: PropsType, parentComp?: any) => any;
10
+ export declare const getRootWrapperProps: (props: PropsType, stock: InstanceType<typeof Stock>) => {
11
+ [x: string]: import("../utils/types").PropValue;
12
+ $pathModifiers?: PathModifiersType | undefined;
13
+ };
14
+ export declare const getChildrensForRoot: (props: PropsType, children: any, Wrapper: WrapperType) => JSX.Element | JSX.Element[] | undefined;
15
+ export declare const generateChildren: (props: PropsType, { Wrapper }: InstanceType<typeof Stock>) => import("../utils/types").PropValue | JSX.Element;