@dartech/arsenal-ui 1.5.96 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.esm.js +1 -1
- package/package.json +1 -2
- package/src/consts/index.d.ts +3 -0
- package/src/interfaces/{definition3.d.ts → dem.d.ts} +59 -2
- package/src/interfaces/index.d.ts +1 -2
- package/src/interfaces/ui.d.ts +1 -1
- package/src/lib/Definition/CreateDefinition/CreateDefinition.d.ts +5 -8
- package/src/lib/Definition/CreateDefinition/index.d.ts +0 -1
- package/src/lib/Definition/DefinitionFiller/DefinitionFiller.d.ts +4 -8
- package/src/lib/Definition/DefinitionFiller/index.d.ts +0 -1
- package/src/lib/Definition/{Dem3DefinitionView/Dem3DefinitionView.d.ts → DefinitionView/DefinitionView.d.ts} +2 -2
- package/src/lib/Definition/DefinitionView/index.d.ts +1 -0
- package/src/lib/Definition/index.d.ts +1 -2
- package/src/lib/{Property/PropertyValidator/PropertyValidator.d.ts → DefinitionNode/DemValidator/DemValidator.d.ts} +2 -2
- package/src/lib/DefinitionNode/DemValidator/DemValidatorContext.d.ts +3 -0
- package/src/lib/DefinitionNode/DemValidator/index.d.ts +2 -0
- package/src/lib/DefinitionNode/UpsertNode/NodeAdditionalFields/NodeAdditionalFields.d.ts +1 -2
- package/src/lib/Forms/{ControlAceEditor.d.ts → ControlCodeEditor.d.ts} +3 -3
- package/src/lib/Forms/index.d.ts +1 -1
- package/src/lib/Table/DataGrid/DataGrid.styled.d.ts +1 -1
- package/src/lib/index.d.ts +0 -1
- package/src/utils/dem.d.ts +16 -15
- package/src/utils/index.d.ts +0 -1
- package/src/utils/validators.d.ts +0 -2
- package/src/interfaces/definition.d.ts +0 -174
- package/src/lib/Definition/CreateDefinition/Dem3CreateDefinition.d.ts +0 -23
- package/src/lib/Definition/DefinitionFiller/Dem3DefinitionFiller.d.ts +0 -17
- package/src/lib/Definition/DefinitionValueView/DefinitionValueView.d.ts +0 -8
- package/src/lib/Definition/DefinitionValueView/FileDefinitionValueView.d.ts +0 -8
- package/src/lib/Definition/DefinitionValueView/PropertyDataView.d.ts +0 -9
- package/src/lib/Definition/DefinitionValueView/index.d.ts +0 -1
- package/src/lib/Definition/Dem3DefinitionView/index.d.ts +0 -1
- package/src/lib/DefinitionNode/ViewNode/PropertyItem.d.ts +0 -9
- package/src/lib/Property/PropertyFiller/ControlFiller/ControlMultiplePropertyFiller.d.ts +0 -26
- package/src/lib/Property/PropertyFiller/ControlFiller/ControlMultiplePropertyWidget.d.ts +0 -24
- package/src/lib/Property/PropertyFiller/ControlFiller/ControlPropertyFiller.d.ts +0 -26
- package/src/lib/Property/PropertyFiller/ControlFiller/index.d.ts +0 -3
- package/src/lib/Property/PropertyFiller/JsonEditor.d.ts +0 -9
- package/src/lib/Property/PropertyFiller/MultiplePropertyFiller.d.ts +0 -24
- package/src/lib/Property/PropertyFiller/MultiplePropertyWidget.d.ts +0 -22
- package/src/lib/Property/PropertyFiller/PropertyFiller.d.ts +0 -24
- package/src/lib/Property/PropertyFiller/index.d.ts +0 -2
- package/src/lib/Property/PropertyFiller/styled.d.ts +0 -18
- package/src/lib/Property/PropertyFiller/usePropertyFiller.d.ts +0 -26
- package/src/lib/Property/PropertyValidator/PropertyValidatorContext.d.ts +0 -3
- package/src/lib/Property/PropertyValidator/index.d.ts +0 -1
- package/src/lib/Property/PropertyWidget/PropertyWidget.d.ts +0 -23
- package/src/lib/Property/PropertyWidget/index.d.ts +0 -1
- package/src/lib/Property/UpsertProperty/CreatePropertiesList/CreatePropertiesList.d.ts +0 -36
- package/src/lib/Property/UpsertProperty/CreatePropertiesList/ListItem.d.ts +0 -29
- package/src/lib/Property/UpsertProperty/CreatePropertiesList/index.d.ts +0 -2
- package/src/lib/Property/UpsertProperty/CreatePropertiesListContext.d.ts +0 -30
- package/src/lib/Property/UpsertProperty/CreatePropertyFormFields.d.ts +0 -24
- package/src/lib/Property/UpsertProperty/CustomPropertyField.d.ts +0 -7
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/BigDecimalPropertyFields.d.ts +0 -8
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/DateAdditionalFields.d.ts +0 -9
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityAdditionalFields.d.ts +0 -22
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityReferencePropertyFields.d.ts +0 -12
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/PropertyAdditionalFields.d.ts +0 -23
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/StringPropertyFields.d.ts +0 -8
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/index.d.ts +0 -1
- package/src/lib/Property/UpsertProperty/PropertyValueField/BooleanValueField.d.ts +0 -9
- package/src/lib/Property/UpsertProperty/PropertyValueField/DateTimeValueField.d.ts +0 -9
- package/src/lib/Property/UpsertProperty/PropertyValueField/DateValueField.d.ts +0 -9
- package/src/lib/Property/UpsertProperty/PropertyValueField/FileValueWidget.d.ts +0 -6
- package/src/lib/Property/UpsertProperty/PropertyValueField/JsonValueField.d.ts +0 -8
- package/src/lib/Property/UpsertProperty/PropertyValueField/PropertyValueField.d.ts +0 -23
- package/src/lib/Property/UpsertProperty/PropertyValueField/StringValueField.d.ts +0 -14
- package/src/lib/Property/UpsertProperty/PropertyValueField/TimeValueField.d.ts +0 -9
- package/src/lib/Property/UpsertProperty/PropertyValueField/index.d.ts +0 -1
- package/src/lib/Property/UpsertProperty/index.d.ts +0 -4
- package/src/lib/Property/UpsertProperty/useCustomFields.d.ts +0 -6
- package/src/lib/Property/ViewPropertiesList/ViewPropertiesList.d.ts +0 -8
- package/src/lib/Property/ViewPropertiesList/index.d.ts +0 -1
- package/src/lib/Property/ViewProperty/EntityPropertiesShortView.d.ts +0 -7
- package/src/lib/Property/ViewProperty/EntityPropertiesView.d.ts +0 -8
- package/src/lib/Property/ViewProperty/PropertyDataTable.d.ts +0 -7
- package/src/lib/Property/ViewProperty/PropertyItem.d.ts +0 -9
- package/src/lib/Property/ViewProperty/ViewProperty.d.ts +0 -9
- package/src/lib/Property/ViewProperty/index.d.ts +0 -1
- package/src/lib/Property/index.d.ts +0 -4
- package/src/utils/dem3.d.ts +0 -28
- package/src/utils/test-mocks.d.ts +0 -166
- /package/src/lib/Definition/{Dem3DefinitionView → DefinitionView}/FileDefinitionValueView.d.ts +0 -0
- /package/src/lib/Definition/{Dem3DefinitionView → DefinitionView}/NodeDataView.d.ts +0 -0
- /package/src/lib/{Property/PropertyValidator → DefinitionNode/DemValidator}/NodeValidator.d.ts +0 -0
- /package/src/lib/{Property/PropertyValidator → DefinitionNode/DemValidator}/NodesList.d.ts +0 -0
- /package/src/lib/{Property/PropertyValidator → DefinitionNode/DemValidator}/NumericTypeValidator.d.ts +0 -0
- /package/src/lib/{Property/PropertyValidator → DefinitionNode/DemValidator}/StringTypeValidator.d.ts +0 -0
- /package/src/lib/{Property/PropertyValidator → DefinitionNode/DemValidator}/ValidationNodeSelector.d.ts +0 -0
@@ -1,24 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control } from 'react-hook-form';
|
3
|
-
import { EntityReferenceProperty, PropertyUnion } from '../../../../interfaces';
|
4
|
-
type Props = {
|
5
|
-
control: Control<any>;
|
6
|
-
name: string;
|
7
|
-
property: PropertyUnion;
|
8
|
-
useExpression?: boolean;
|
9
|
-
required?: boolean;
|
10
|
-
label?: string;
|
11
|
-
entityReferenceDefinitionSources?: {
|
12
|
-
label: string;
|
13
|
-
value: string;
|
14
|
-
}[];
|
15
|
-
entityReferenceValueComponent?: React.ElementType<{
|
16
|
-
name: string;
|
17
|
-
property: EntityReferenceProperty;
|
18
|
-
}>;
|
19
|
-
fileReferenceValueComponent?: React.ElementType<{
|
20
|
-
name: string;
|
21
|
-
}>;
|
22
|
-
};
|
23
|
-
export declare const ControlMultiplePropertyWidget: ({ control, name, property, useExpression, required, label, entityReferenceDefinitionSources, entityReferenceValueComponent, fileReferenceValueComponent, }: Props) => JSX.Element;
|
24
|
-
export default ControlMultiplePropertyWidget;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control } from 'react-hook-form';
|
3
|
-
import { EntityReferenceProperty, PropertyUnion } from '../../../../interfaces';
|
4
|
-
export type ControlPropertyFillerProps = {
|
5
|
-
control: Control<any>;
|
6
|
-
property: PropertyUnion;
|
7
|
-
name: string;
|
8
|
-
useExpression?: boolean;
|
9
|
-
label?: string;
|
10
|
-
required?: boolean;
|
11
|
-
title?: string;
|
12
|
-
entityReferenceDefinitionSources?: {
|
13
|
-
label: string;
|
14
|
-
value: string;
|
15
|
-
}[];
|
16
|
-
entityReferenceValueComponent?: React.ElementType<{
|
17
|
-
name: string;
|
18
|
-
property: EntityReferenceProperty;
|
19
|
-
}>;
|
20
|
-
fileReferenceValueComponent?: React.ElementType<{
|
21
|
-
name: string;
|
22
|
-
}>;
|
23
|
-
requiredErrorText?: string;
|
24
|
-
};
|
25
|
-
export declare const ControlPropertyFiller: ({ control, property, name, useExpression, label, required, title, entityReferenceDefinitionSources, entityReferenceValueComponent, fileReferenceValueComponent, requiredErrorText, }: ControlPropertyFillerProps) => JSX.Element;
|
26
|
-
export default ControlPropertyFiller;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { ReactCodeMirrorRef } from '@uiw/react-codemirror';
|
3
|
-
type Props = {
|
4
|
-
useParsedValue?: boolean;
|
5
|
-
validate?: boolean;
|
6
|
-
name: string;
|
7
|
-
};
|
8
|
-
declare const JsonEditor: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<ReactCodeMirrorRef>>;
|
9
|
-
export default JsonEditor;
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { EntityReferenceProperty, PropertyUnion } from '../../../interfaces';
|
3
|
-
type Props = {
|
4
|
-
property: PropertyUnion;
|
5
|
-
name: string;
|
6
|
-
useExpression?: boolean;
|
7
|
-
required?: boolean;
|
8
|
-
label?: string;
|
9
|
-
title?: string;
|
10
|
-
entityReferenceDefinitionSources?: {
|
11
|
-
label: string;
|
12
|
-
value: string;
|
13
|
-
}[];
|
14
|
-
entityReferenceValueComponent?: React.ElementType<{
|
15
|
-
name: string;
|
16
|
-
property: EntityReferenceProperty;
|
17
|
-
}>;
|
18
|
-
fileReferenceValueComponent?: React.ElementType<{
|
19
|
-
name: string;
|
20
|
-
}>;
|
21
|
-
requiredErrorText?: string;
|
22
|
-
};
|
23
|
-
export declare const MultiplePropertyFiller: ({ property, name, useExpression, required, label, title, entityReferenceDefinitionSources, entityReferenceValueComponent, fileReferenceValueComponent, requiredErrorText }: Props) => JSX.Element;
|
24
|
-
export default MultiplePropertyFiller;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { EntityReferenceProperty, PropertyUnion } from '../../../interfaces';
|
3
|
-
type Props = {
|
4
|
-
name: string;
|
5
|
-
property: PropertyUnion;
|
6
|
-
useExpression?: boolean;
|
7
|
-
required?: boolean;
|
8
|
-
label?: string;
|
9
|
-
entityReferenceDefinitionSources?: {
|
10
|
-
label: string;
|
11
|
-
value: string;
|
12
|
-
}[];
|
13
|
-
entityReferenceValueComponent?: React.ElementType<{
|
14
|
-
name: string;
|
15
|
-
property: EntityReferenceProperty;
|
16
|
-
}>;
|
17
|
-
fileReferenceValueComponent?: React.ElementType<{
|
18
|
-
name: string;
|
19
|
-
}>;
|
20
|
-
};
|
21
|
-
export declare const MultiplePropertyWidget: ({ name, property, useExpression, required, label, entityReferenceDefinitionSources, entityReferenceValueComponent, fileReferenceValueComponent, }: Props) => JSX.Element;
|
22
|
-
export default MultiplePropertyWidget;
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { EntityReferenceProperty, PropertyUnion } from '../../../interfaces';
|
3
|
-
export type PropertyFillerProps = {
|
4
|
-
property: PropertyUnion;
|
5
|
-
name: string;
|
6
|
-
useExpression?: boolean;
|
7
|
-
label?: string;
|
8
|
-
required?: boolean;
|
9
|
-
requiredErrorText?: string;
|
10
|
-
title?: string;
|
11
|
-
entityReferenceDefinitionSources?: {
|
12
|
-
label: string;
|
13
|
-
value: string;
|
14
|
-
}[];
|
15
|
-
entityReferenceValueComponent?: React.ElementType<{
|
16
|
-
name: string;
|
17
|
-
property: EntityReferenceProperty;
|
18
|
-
}>;
|
19
|
-
fileReferenceValueComponent?: React.ElementType<{
|
20
|
-
name: string;
|
21
|
-
}>;
|
22
|
-
};
|
23
|
-
export declare const PropertyFiller: ({ property, name, useExpression, label, required, title, entityReferenceDefinitionSources, entityReferenceValueComponent, fileReferenceValueComponent, requiredErrorText, }: PropertyFillerProps) => JSX.Element;
|
24
|
-
export default PropertyFiller;
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
export declare const StyledInputLabel: import("@emotion/styled").StyledComponent<{
|
3
|
-
children?: import("react").ReactNode;
|
4
|
-
classes?: Partial<import("@mui/material/InputLabel").InputLabelClasses>;
|
5
|
-
color?: "primary" | "secondary" | "error" | "info" | "success" | "warning";
|
6
|
-
disableAnimation?: boolean;
|
7
|
-
disabled?: boolean;
|
8
|
-
error?: boolean;
|
9
|
-
focused?: boolean;
|
10
|
-
margin?: "dense";
|
11
|
-
required?: boolean;
|
12
|
-
shrink?: boolean;
|
13
|
-
size?: import("@mui/types").OverridableStringUnion<"small" | "normal", import("@mui/material/InputLabel").InputLabelPropsSizeOverrides>;
|
14
|
-
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
|
15
|
-
variant?: "filled" | "standard" | "outlined";
|
16
|
-
} & Pick<import("@mui/material").FormLabelOwnProps, "color" | "filled"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
|
17
|
-
ref?: import("react").Ref<HTMLLabelElement>;
|
18
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "error" | "color" | "children" | "disabled" | "filled" | "focused" | "required" | "sx" | "disableAnimation" | "margin" | "shrink" | "size" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { PropertyFillType, PropertyUnion, PropertyType } from '../../../interfaces';
|
3
|
-
type Props = {
|
4
|
-
value: unknown;
|
5
|
-
property: PropertyUnion;
|
6
|
-
isDirty: boolean;
|
7
|
-
label?: string;
|
8
|
-
required?: boolean;
|
9
|
-
useExpression?: boolean;
|
10
|
-
multipleOptions?: boolean;
|
11
|
-
};
|
12
|
-
declare const usePropertyFiller: ({ value, property, label, isDirty, required, useExpression, multipleOptions, }: Props) => {
|
13
|
-
propertyType: PropertyType;
|
14
|
-
valueLabel: string;
|
15
|
-
fillOptionLabel: string;
|
16
|
-
fillOption: PropertyFillType;
|
17
|
-
fillOptions: {
|
18
|
-
value: PropertyFillType;
|
19
|
-
label: string;
|
20
|
-
sortOrder: number;
|
21
|
-
}[];
|
22
|
-
setFillOption: import("react").Dispatch<import("react").SetStateAction<PropertyFillType>>;
|
23
|
-
defaultProperyValue: {};
|
24
|
-
checkFillOption: () => void;
|
25
|
-
};
|
26
|
-
export default usePropertyFiller;
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './PropertyValidator';
|
@@ -1,23 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control } from 'react-hook-form';
|
3
|
-
import { EntityReferenceProperty, PropertyUnion } from '../../../interfaces';
|
4
|
-
type Props = {
|
5
|
-
property: PropertyUnion;
|
6
|
-
name: string;
|
7
|
-
label?: string;
|
8
|
-
useExpression?: boolean;
|
9
|
-
control: Control<any>;
|
10
|
-
entityReferenceDefinitionSources?: {
|
11
|
-
label: string;
|
12
|
-
value: string;
|
13
|
-
}[];
|
14
|
-
entityReferenceValueComponent?: React.ElementType<{
|
15
|
-
name: string;
|
16
|
-
property: EntityReferenceProperty;
|
17
|
-
}>;
|
18
|
-
fileReferenceValueComponent?: React.ElementType<{
|
19
|
-
name: string;
|
20
|
-
}>;
|
21
|
-
};
|
22
|
-
export declare const PropertyWidget: ({ property, name, label, useExpression, control, entityReferenceDefinitionSources, entityReferenceValueComponent: EntityReferenceValueComponent, fileReferenceValueComponent: FileReferenceValueComponent, }: Props) => JSX.Element;
|
23
|
-
export default PropertyWidget;
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './PropertyWidget';
|
@@ -1,36 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { UseFormTrigger } from 'react-hook-form';
|
3
|
-
import { CustomPropertyFieldProps, EntityReferenceProperty, PropertiesArrayType } from '../../../../interfaces';
|
4
|
-
type Props = {
|
5
|
-
properties: PropertiesArrayType<any>;
|
6
|
-
parentFieldName?: string;
|
7
|
-
hideAddButton?: boolean;
|
8
|
-
focusOnIndex?: number;
|
9
|
-
required?: boolean;
|
10
|
-
entityDefinition?: boolean;
|
11
|
-
globalParameter?: boolean;
|
12
|
-
customPropertyFields?: CustomPropertyFieldProps[];
|
13
|
-
entityPropFields?: Array<object & {
|
14
|
-
id: string;
|
15
|
-
}>;
|
16
|
-
parentRemove?: (index?: number | number[]) => void;
|
17
|
-
entityReferenceDefinitionSources?: {
|
18
|
-
label: string;
|
19
|
-
value: string;
|
20
|
-
}[];
|
21
|
-
entityReferenceValueComponent?: React.ElementType<{
|
22
|
-
name: string;
|
23
|
-
property: EntityReferenceProperty;
|
24
|
-
}>;
|
25
|
-
fileReferenceValueComponent?: React.ElementType<{
|
26
|
-
name: string;
|
27
|
-
}>;
|
28
|
-
};
|
29
|
-
export type RefMethods = {
|
30
|
-
getProperties: () => PropertiesArrayType<any>;
|
31
|
-
trigger: UseFormTrigger<{
|
32
|
-
properties: PropertiesArrayType<any>;
|
33
|
-
}>;
|
34
|
-
};
|
35
|
-
export declare const CreatePropertiesList: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<RefMethods>>;
|
36
|
-
export default CreatePropertiesList;
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import { MutableRefObject } from 'react';
|
2
|
-
import { Control, UseFormSetValue } from 'react-hook-form';
|
3
|
-
import { CustomPropertyFieldProps, EntityReferenceProperty } from '../../../../interfaces';
|
4
|
-
type Props = {
|
5
|
-
entityDefinition?: boolean;
|
6
|
-
globalParameter?: boolean;
|
7
|
-
customPropertyFields?: CustomPropertyFieldProps[];
|
8
|
-
index: number;
|
9
|
-
arrLength: number;
|
10
|
-
entityReferenceDefinitionSources?: {
|
11
|
-
label: string;
|
12
|
-
value: string;
|
13
|
-
}[];
|
14
|
-
entityReferenceValueComponent?: React.ElementType<{
|
15
|
-
name: string;
|
16
|
-
property: EntityReferenceProperty;
|
17
|
-
}>;
|
18
|
-
fileReferenceValueComponent?: React.ElementType<{
|
19
|
-
name: string;
|
20
|
-
}>;
|
21
|
-
control: Control<any>;
|
22
|
-
setValue: UseFormSetValue<any>;
|
23
|
-
handleRemoveParameter: (index: number) => void;
|
24
|
-
error: any;
|
25
|
-
item: any;
|
26
|
-
extRefs: MutableRefObject<any[]>;
|
27
|
-
};
|
28
|
-
declare const ListItem: ({ entityDefinition, globalParameter, customPropertyFields, index, arrLength, entityReferenceDefinitionSources, entityReferenceValueComponent, control, setValue, fileReferenceValueComponent, handleRemoveParameter, error, item, extRefs }: Props) => JSX.Element;
|
29
|
-
export default ListItem;
|
@@ -1,30 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control } from 'react-hook-form';
|
3
|
-
import { CustomPropertyFieldProps, EntityReferenceProperty } from '../../../interfaces';
|
4
|
-
type Props = {
|
5
|
-
control: Control<any>;
|
6
|
-
parentFieldName?: string;
|
7
|
-
hideAddButton?: boolean;
|
8
|
-
focusOnIndex?: number;
|
9
|
-
required?: boolean;
|
10
|
-
entityDefinition?: boolean;
|
11
|
-
globalParameter?: boolean;
|
12
|
-
customPropertyFields?: CustomPropertyFieldProps[];
|
13
|
-
entityPropFields?: Array<object & {
|
14
|
-
id: string;
|
15
|
-
}>;
|
16
|
-
parentRemove?: (index?: number | number[]) => void;
|
17
|
-
entityReferenceDefinitionSources?: {
|
18
|
-
label: string;
|
19
|
-
value: string;
|
20
|
-
}[];
|
21
|
-
entityReferenceValueComponent?: React.ElementType<{
|
22
|
-
name: string;
|
23
|
-
property: EntityReferenceProperty;
|
24
|
-
}>;
|
25
|
-
fileReferenceValueComponent?: React.ElementType<{
|
26
|
-
name: string;
|
27
|
-
}>;
|
28
|
-
};
|
29
|
-
export declare const CreatePropertiesListContext: ({ control, parentFieldName, hideAddButton, focusOnIndex, required, entityDefinition, globalParameter, customPropertyFields, parentRemove, entityReferenceDefinitionSources, entityReferenceValueComponent, fileReferenceValueComponent, }: Props) => JSX.Element;
|
30
|
-
export default CreatePropertiesListContext;
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { CustomPropertyFieldProps, EntityReferenceProperty } from '../../../interfaces';
|
3
|
-
type Props = {
|
4
|
-
setValue: any;
|
5
|
-
control: any;
|
6
|
-
watch?: any;
|
7
|
-
propertyFieldName: string;
|
8
|
-
entityDefinition?: boolean;
|
9
|
-
globalParameter?: boolean;
|
10
|
-
customPropertyFields?: CustomPropertyFieldProps[];
|
11
|
-
entityReferenceDefinitionSources?: {
|
12
|
-
label: string;
|
13
|
-
value: string;
|
14
|
-
}[];
|
15
|
-
entityReferenceValueComponent?: React.ElementType<{
|
16
|
-
name: string;
|
17
|
-
property: EntityReferenceProperty;
|
18
|
-
}>;
|
19
|
-
fileReferenceValueComponent?: React.ElementType<{
|
20
|
-
name: string;
|
21
|
-
}>;
|
22
|
-
};
|
23
|
-
export declare const CreatePropertyFormFields: import("react").MemoExoticComponent<({ setValue, control, propertyFieldName, entityDefinition, globalParameter, customPropertyFields, entityReferenceDefinitionSources, entityReferenceValueComponent, fileReferenceValueComponent, }: Props) => JSX.Element>;
|
24
|
-
export default CreatePropertyFormFields;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { CustomPropertyFieldProps } from '../../../interfaces';
|
3
|
-
type Props = CustomPropertyFieldProps & {
|
4
|
-
propertyFieldName: string;
|
5
|
-
};
|
6
|
-
export declare const CustomPropertyField: ({ name, label, propertyFieldName, type, decimal, options, required, }: Props) => JSX.Element;
|
7
|
-
export default CustomPropertyField;
|
package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/BigDecimalPropertyFields.d.ts
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control } from 'react-hook-form';
|
3
|
-
type Props = {
|
4
|
-
propertyFieldName: string;
|
5
|
-
control: Control<any>;
|
6
|
-
};
|
7
|
-
declare const BigDecimalPropertyFields: ({ propertyFieldName, control }: Props) => JSX.Element;
|
8
|
-
export default BigDecimalPropertyFields;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control } from 'react-hook-form';
|
3
|
-
type Props = {
|
4
|
-
propertyFieldName: string;
|
5
|
-
defaultValue?: string;
|
6
|
-
control: Control<any>;
|
7
|
-
};
|
8
|
-
declare const DateAdditionalFields: ({ propertyFieldName, control, defaultValue }: Props) => JSX.Element;
|
9
|
-
export default DateAdditionalFields;
|
package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityAdditionalFields.d.ts
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control } from 'react-hook-form';
|
3
|
-
import { EntityReferenceProperty } from '../../../../interfaces';
|
4
|
-
type Props = {
|
5
|
-
control: Control<any>;
|
6
|
-
parentPropertyFieldName: string;
|
7
|
-
entityDefinition?: boolean;
|
8
|
-
globalParameter?: boolean;
|
9
|
-
entityReferenceDefinitionSources?: {
|
10
|
-
label: string;
|
11
|
-
value: string;
|
12
|
-
}[];
|
13
|
-
entityReferenceValueComponent?: React.ElementType<{
|
14
|
-
name: string;
|
15
|
-
property: EntityReferenceProperty;
|
16
|
-
}>;
|
17
|
-
fileReferenceValueComponent?: React.ElementType<{
|
18
|
-
name: string;
|
19
|
-
}>;
|
20
|
-
};
|
21
|
-
declare const EntityAdditionalFields: ({ control, parentPropertyFieldName, entityDefinition, globalParameter, entityReferenceDefinitionSources, entityReferenceValueComponent, fileReferenceValueComponent, }: Props) => JSX.Element;
|
22
|
-
export default EntityAdditionalFields;
|
package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityReferencePropertyFields.d.ts
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control } from 'react-hook-form';
|
3
|
-
type Props = {
|
4
|
-
propertyFieldName: string;
|
5
|
-
sources?: {
|
6
|
-
label: string;
|
7
|
-
value: string;
|
8
|
-
}[];
|
9
|
-
control: Control<any>;
|
10
|
-
};
|
11
|
-
declare const EntityReferencePropertyFields: ({ propertyFieldName, control, sources, }: Props) => JSX.Element;
|
12
|
-
export default EntityReferencePropertyFields;
|
package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/PropertyAdditionalFields.d.ts
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { PropertyType, EntityReferenceProperty } from '../../../../interfaces';
|
3
|
-
import { Control } from 'react-hook-form';
|
4
|
-
type Props = {
|
5
|
-
control: Control<any>;
|
6
|
-
propertyType: PropertyType;
|
7
|
-
propertyFieldName: string;
|
8
|
-
entityDefinition?: boolean;
|
9
|
-
globalParameter?: boolean;
|
10
|
-
entityReferenceDefinitionSources?: {
|
11
|
-
label: string;
|
12
|
-
value: string;
|
13
|
-
}[];
|
14
|
-
entityReferenceValueComponent?: React.ElementType<{
|
15
|
-
name: string;
|
16
|
-
property: EntityReferenceProperty;
|
17
|
-
}>;
|
18
|
-
fileReferenceValueComponent?: React.ElementType<{
|
19
|
-
name: string;
|
20
|
-
}>;
|
21
|
-
};
|
22
|
-
export declare const PropertyAdditionalFields: ({ control, propertyType, propertyFieldName, entityDefinition, globalParameter, entityReferenceDefinitionSources, entityReferenceValueComponent, fileReferenceValueComponent, }: Props) => JSX.Element;
|
23
|
-
export default PropertyAdditionalFields;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control } from 'react-hook-form';
|
3
|
-
type Props = {
|
4
|
-
propertyFieldName: string;
|
5
|
-
control: Control<any>;
|
6
|
-
};
|
7
|
-
declare const StringPropertyFields: ({ propertyFieldName, control }: Props) => JSX.Element;
|
8
|
-
export default StringPropertyFields;
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './PropertyAdditionalFields';
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control } from 'react-hook-form';
|
3
|
-
type Props = {
|
4
|
-
control: Control<any>;
|
5
|
-
name: string;
|
6
|
-
label?: string;
|
7
|
-
};
|
8
|
-
declare const BooleanValueField: ({ name, label, control }: Props) => JSX.Element;
|
9
|
-
export default BooleanValueField;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control } from 'react-hook-form';
|
3
|
-
import { EntityReferenceProperty } from '../../../../interfaces';
|
4
|
-
type Props = {
|
5
|
-
control: Control<any>;
|
6
|
-
propertyFieldName: string;
|
7
|
-
name: string;
|
8
|
-
label?: string;
|
9
|
-
required?: boolean;
|
10
|
-
entityReferenceDefinitionSources?: {
|
11
|
-
label: string;
|
12
|
-
value: string;
|
13
|
-
}[];
|
14
|
-
entityReferenceValueComponent?: React.ElementType<{
|
15
|
-
name: string;
|
16
|
-
property: EntityReferenceProperty;
|
17
|
-
}>;
|
18
|
-
fileReferenceValueComponent?: React.ElementType<{
|
19
|
-
name: string;
|
20
|
-
}>;
|
21
|
-
};
|
22
|
-
export declare const PropertyValueField: ({ control, propertyFieldName, name, label, required, entityReferenceDefinitionSources, entityReferenceValueComponent, fileReferenceValueComponent, }: Props) => JSX.Element;
|
23
|
-
export default PropertyValueField;
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control } from 'react-hook-form';
|
3
|
-
type Props = {
|
4
|
-
control: Control<any>;
|
5
|
-
name: string;
|
6
|
-
label?: string;
|
7
|
-
required?: boolean;
|
8
|
-
restrictedValues?: string[];
|
9
|
-
urlValidate?: boolean;
|
10
|
-
requiredErrorText?: string;
|
11
|
-
requiredSelectErrorText?: string;
|
12
|
-
};
|
13
|
-
declare const StringValueField: ({ control, name, label, required, restrictedValues, requiredErrorText, requiredSelectErrorText, }: Props) => JSX.Element;
|
14
|
-
export default StringValueField;
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './PropertyValueField';
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { CustomPropertyFieldProps } from '../../../interfaces';
|
2
|
-
declare const useCustomFields: (customPropertyFields: CustomPropertyFieldProps[]) => {
|
3
|
-
customCheckboxes: CustomPropertyFieldProps[];
|
4
|
-
customFields: CustomPropertyFieldProps[];
|
5
|
-
};
|
6
|
-
export default useCustomFields;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { PropertiesArrayType, PropertiesObjectType } from '../../../interfaces';
|
3
|
-
type Props = {
|
4
|
-
properties: PropertiesObjectType<unknown> | PropertiesArrayType<unknown>;
|
5
|
-
expandAll?: boolean;
|
6
|
-
};
|
7
|
-
export declare const ViewPropertiesList: ({ properties, expandAll }: Props) => JSX.Element;
|
8
|
-
export default ViewPropertiesList;
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './ViewPropertiesList';
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { PropertiesArrayType } from '../../../interfaces';
|
3
|
-
type Props = {
|
4
|
-
properties: PropertiesArrayType;
|
5
|
-
};
|
6
|
-
declare const EntityPropertiesShortView: ({ properties }: Props) => JSX.Element;
|
7
|
-
export default EntityPropertiesShortView;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { PropertiesArrayType } from '../../../interfaces';
|
3
|
-
type Props = {
|
4
|
-
properties: PropertiesArrayType;
|
5
|
-
parentNames?: string[];
|
6
|
-
};
|
7
|
-
declare const _default: import("react").MemoExoticComponent<({ properties, parentNames }: Props) => JSX.Element>;
|
8
|
-
export default _default;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { PropertyUnion } from '../../../interfaces';
|
3
|
-
type PropertyItemProps = {
|
4
|
-
property: PropertyUnion;
|
5
|
-
showName: boolean;
|
6
|
-
showType: boolean;
|
7
|
-
};
|
8
|
-
declare const PropertyItem: ({ property, showName, showType }: PropertyItemProps) => JSX.Element;
|
9
|
-
export default PropertyItem;
|