@dartech/arsenal-ui 1.5.87 → 1.5.89
Sign up to get free protection for your applications and to get access to all the features.
- package/index.d.ts +5 -5
- package/index.esm.js +1 -1
- package/package.json +4 -3
- package/src/consts/index.d.ts +14 -14
- package/src/interfaces/common.d.ts +24 -24
- package/src/interfaces/definition.d.ts +174 -174
- package/src/interfaces/definition3.d.ts +112 -112
- package/src/interfaces/index.d.ts +4 -4
- package/src/interfaces/ui.d.ts +74 -74
- package/src/lib/Alert/Alert.d.ts +55 -55
- package/src/lib/Alert/index.d.ts +1 -1
- package/src/lib/Breadcrumbs/Breadcrumbs.d.ts +9 -9
- package/src/lib/Breadcrumbs/Breadcrumbs.styled.d.ts +2 -2
- package/src/lib/Breadcrumbs/index.d.ts +1 -1
- package/src/lib/ContentLayout/ContentLayout.d.ts +10 -10
- package/src/lib/ContentLayout/index.d.ts +1 -1
- package/src/lib/Definition/CreateDefinition/CreateDefinition.d.ts +26 -26
- package/src/lib/Definition/CreateDefinition/Dem3CreateDefinition.d.ts +23 -23
- package/src/lib/Definition/CreateDefinition/index.d.ts +2 -2
- package/src/lib/Definition/DefinitionFiller/DefinitionFiller.d.ts +21 -21
- package/src/lib/Definition/DefinitionFiller/Dem3DefinitionFiller.d.ts +17 -17
- package/src/lib/Definition/DefinitionFiller/index.d.ts +2 -2
- package/src/lib/Definition/DefinitionValueView/DefinitionValueView.d.ts +8 -8
- package/src/lib/Definition/DefinitionValueView/FileDefinitionValueView.d.ts +8 -8
- package/src/lib/Definition/DefinitionValueView/PropertyDataView.d.ts +9 -9
- package/src/lib/Definition/DefinitionValueView/index.d.ts +1 -1
- package/src/lib/Definition/Dem3DefinitionView/Dem3DefinitionView.d.ts +8 -8
- package/src/lib/Definition/Dem3DefinitionView/FileDefinitionValueView.d.ts +8 -8
- package/src/lib/Definition/Dem3DefinitionView/NodeDataView.d.ts +9 -9
- package/src/lib/Definition/Dem3DefinitionView/index.d.ts +1 -1
- package/src/lib/Definition/index.d.ts +4 -4
- package/src/lib/DefinitionNode/NodeFormBuilder/ArrayNodeFormBuilder.d.ts +20 -20
- package/src/lib/DefinitionNode/NodeFormBuilder/ArrayNodeFormBuilderControl.d.ts +22 -22
- package/src/lib/DefinitionNode/NodeFormBuilder/NodeFormBuilderContext.d.ts +20 -20
- package/src/lib/DefinitionNode/NodeFormBuilder/NodeFormBuilderControl.d.ts +22 -22
- package/src/lib/DefinitionNode/NodeFormBuilder/Widget/ArrayNodeWidget.d.ts +18 -18
- package/src/lib/DefinitionNode/NodeFormBuilder/Widget/ArrayNodeWidgetControl.d.ts +20 -20
- package/src/lib/DefinitionNode/NodeFormBuilder/Widget/NodeWidget.d.ts +19 -19
- package/src/lib/DefinitionNode/NodeFormBuilder/Widget/index.d.ts +3 -3
- package/src/lib/DefinitionNode/NodeFormBuilder/index.d.ts +4 -4
- package/src/lib/DefinitionNode/NodeFormBuilder/styled.d.ts +18 -18
- package/src/lib/DefinitionNode/NodeFormBuilder/useNodeFormBuilder.d.ts +26 -26
- package/src/lib/DefinitionNode/UpsertNode/CreateNode/CreateNode.d.ts +29 -29
- package/src/lib/DefinitionNode/UpsertNode/CreateNode/CreateNodeWithContext.d.ts +27 -27
- package/src/lib/DefinitionNode/UpsertNode/CreateNode/index.d.ts +3 -3
- package/src/lib/DefinitionNode/UpsertNode/CustomNodeField.d.ts +7 -7
- package/src/lib/DefinitionNode/UpsertNode/NodeAdditionalFields/ArrayAdditionalFields.d.ts +19 -19
- package/src/lib/DefinitionNode/UpsertNode/NodeAdditionalFields/BigDecimalPropertyFields.d.ts +8 -8
- package/src/lib/DefinitionNode/UpsertNode/NodeAdditionalFields/DateAdditionalFields.d.ts +10 -10
- package/src/lib/DefinitionNode/UpsertNode/NodeAdditionalFields/EntityReferencePropertyFields.d.ts +12 -12
- package/src/lib/DefinitionNode/UpsertNode/NodeAdditionalFields/NodeAdditionalFields.d.ts +21 -21
- package/src/lib/DefinitionNode/UpsertNode/NodeAdditionalFields/ObjectAdditionalFields/ObjectAdditionalFields.d.ts +18 -18
- package/src/lib/DefinitionNode/UpsertNode/NodeAdditionalFields/ObjectAdditionalFields/ObjectNodeProperties/ListItem.d.ts +31 -31
- package/src/lib/DefinitionNode/UpsertNode/NodeAdditionalFields/ObjectAdditionalFields/ObjectNodeProperties/ObjectNodeProperties.d.ts +33 -33
- package/src/lib/DefinitionNode/UpsertNode/NodeAdditionalFields/ObjectAdditionalFields/ObjectNodeProperties/index.d.ts +2 -2
- package/src/lib/DefinitionNode/UpsertNode/NodeAdditionalFields/ObjectAdditionalFields/index.d.ts +3 -3
- package/src/lib/DefinitionNode/UpsertNode/NodeAdditionalFields/index.d.ts +2 -2
- package/src/lib/DefinitionNode/UpsertNode/NodeForm.d.ts +21 -21
- package/src/lib/DefinitionNode/UpsertNode/NodeValueField/BooleanValueField.d.ts +9 -9
- package/src/lib/DefinitionNode/UpsertNode/NodeValueField/DateTimeValueField.d.ts +9 -9
- package/src/lib/DefinitionNode/UpsertNode/NodeValueField/DateValueField.d.ts +9 -9
- package/src/lib/DefinitionNode/UpsertNode/NodeValueField/FileValueWidget.d.ts +6 -6
- package/src/lib/DefinitionNode/UpsertNode/NodeValueField/JsonValueField.d.ts +8 -8
- package/src/lib/DefinitionNode/UpsertNode/NodeValueField/NodeValueField.d.ts +19 -19
- package/src/lib/DefinitionNode/UpsertNode/NodeValueField/StringValueField.d.ts +14 -14
- package/src/lib/DefinitionNode/UpsertNode/NodeValueField/TimeValueField.d.ts +9 -9
- package/src/lib/DefinitionNode/UpsertNode/NodeValueField/index.d.ts +1 -1
- package/src/lib/DefinitionNode/UpsertNode/index.d.ts +4 -4
- package/src/lib/DefinitionNode/UpsertNode/useCustomFields.d.ts +7 -7
- package/src/lib/DefinitionNode/ViewNode/ObjectNodeShortView.d.ts +7 -7
- package/src/lib/DefinitionNode/ViewNode/ObjectNodeView.d.ts +9 -9
- package/src/lib/DefinitionNode/ViewNode/PropertyDataTable.d.ts +7 -7
- package/src/lib/DefinitionNode/ViewNode/PropertyItem.d.ts +9 -9
- package/src/lib/DefinitionNode/ViewNode/ViewNode.d.ts +9 -9
- package/src/lib/DefinitionNode/ViewNode/index.d.ts +2 -2
- package/src/lib/DefinitionNode/index.d.ts +3 -3
- package/src/lib/Forms/BackButton.d.ts +7 -7
- package/src/lib/Forms/ControlAceEditor.d.ts +23 -23
- package/src/lib/Forms/ControlArrayInput.d.ts +14 -14
- package/src/lib/Forms/ControlAutocomplete/ControlAutocomplete.d.ts +76 -76
- package/src/lib/Forms/ControlAutocomplete/ControlQueryAutocomplete.d.ts +20 -20
- package/src/lib/Forms/ControlAutocomplete/ListboxComponent.d.ts +3 -3
- package/src/lib/Forms/ControlAutocomplete/index.d.ts +2 -2
- package/src/lib/Forms/ControlAutocomplete/useAutocomplete.d.ts +10 -10
- package/src/lib/Forms/ControlCheckbox.d.ts +51 -51
- package/src/lib/Forms/ControlDate.d.ts +27 -27
- package/src/lib/Forms/ControlDateTime.d.ts +27 -27
- package/src/lib/Forms/ControlDebouncedInput.d.ts +4 -4
- package/src/lib/Forms/ControlInput.d.ts +63 -63
- package/src/lib/Forms/ControlNumberInput.d.ts +72 -72
- package/src/lib/Forms/ControlPeriodInput.d.ts +11 -11
- package/src/lib/Forms/ControlPhoneInput.d.ts +19 -19
- package/src/lib/Forms/ControlRadio.d.ts +70 -70
- package/src/lib/Forms/ControlSelect.d.ts +72 -72
- package/src/lib/Forms/ControlSwitch.d.ts +20 -20
- package/src/lib/Forms/ControlTime.d.ts +24 -24
- package/src/lib/Forms/CopyButton.d.ts +20 -20
- package/src/lib/Forms/index.d.ts +17 -17
- package/src/lib/InfoItem/InfoItem.d.ts +8 -8
- package/src/lib/InfoItem/index.d.ts +1 -1
- package/src/lib/JsonPathPicker/JsonPathPicker.d.ts +10 -10
- package/src/lib/JsonPathPicker/PropertyStep.d.ts +11 -11
- package/src/lib/JsonPathPicker/index.d.ts +1 -1
- package/src/lib/JsonView/JsonView.d.ts +9 -9
- package/src/lib/JsonView/index.d.ts +1 -1
- package/src/lib/Loader/Loader.d.ts +22 -22
- package/src/lib/Loader/index.d.ts +1 -1
- package/src/lib/Modals/JsonModalView.d.ts +12 -12
- package/src/lib/Modals/index.d.ts +1 -1
- package/src/lib/OverflowTooltip/OverflowTooltip.d.ts +4 -4
- package/src/lib/OverflowTooltip/index.d.ts +1 -1
- package/src/lib/Property/PropertyFiller/ControlFiller/ControlMultiplePropertyFiller.d.ts +26 -26
- package/src/lib/Property/PropertyFiller/ControlFiller/ControlMultiplePropertyWidget.d.ts +24 -24
- package/src/lib/Property/PropertyFiller/ControlFiller/ControlPropertyFiller.d.ts +26 -26
- package/src/lib/Property/PropertyFiller/ControlFiller/index.d.ts +3 -3
- package/src/lib/Property/PropertyFiller/JsonEditor.d.ts +9 -9
- package/src/lib/Property/PropertyFiller/MultiplePropertyFiller.d.ts +24 -24
- package/src/lib/Property/PropertyFiller/MultiplePropertyWidget.d.ts +22 -22
- package/src/lib/Property/PropertyFiller/PropertyFiller.d.ts +24 -24
- package/src/lib/Property/PropertyFiller/index.d.ts +2 -2
- package/src/lib/Property/PropertyFiller/styled.d.ts +18 -18
- package/src/lib/Property/PropertyFiller/usePropertyFiller.d.ts +26 -26
- package/src/lib/Property/PropertyValidator/NodeValidator.d.ts +9 -9
- package/src/lib/Property/PropertyValidator/NodesList.d.ts +9 -9
- package/src/lib/Property/PropertyValidator/NumericTypeValidator.d.ts +8 -8
- package/src/lib/Property/PropertyValidator/PropertyValidator.d.ts +10 -10
- package/src/lib/Property/PropertyValidator/PropertyValidatorContext.d.ts +3 -3
- package/src/lib/Property/PropertyValidator/StringTypeValidator.d.ts +8 -8
- package/src/lib/Property/PropertyValidator/ValidationNodeSelector.d.ts +10 -10
- package/src/lib/Property/PropertyValidator/index.d.ts +1 -1
- package/src/lib/Property/PropertyWidget/PropertyWidget.d.ts +23 -23
- package/src/lib/Property/PropertyWidget/index.d.ts +1 -1
- package/src/lib/Property/UpsertProperty/CreatePropertiesList/CreatePropertiesList.d.ts +36 -36
- package/src/lib/Property/UpsertProperty/CreatePropertiesList/ListItem.d.ts +29 -29
- package/src/lib/Property/UpsertProperty/CreatePropertiesList/index.d.ts +2 -2
- package/src/lib/Property/UpsertProperty/CreatePropertiesListContext.d.ts +30 -30
- package/src/lib/Property/UpsertProperty/CreatePropertyFormFields.d.ts +24 -24
- package/src/lib/Property/UpsertProperty/CustomPropertyField.d.ts +7 -7
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/BigDecimalPropertyFields.d.ts +8 -8
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/DateAdditionalFields.d.ts +9 -9
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityAdditionalFields.d.ts +22 -22
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityReferencePropertyFields.d.ts +12 -12
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/PropertyAdditionalFields.d.ts +23 -23
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/StringPropertyFields.d.ts +8 -8
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/index.d.ts +1 -1
- package/src/lib/Property/UpsertProperty/PropertyValueField/BooleanValueField.d.ts +9 -9
- package/src/lib/Property/UpsertProperty/PropertyValueField/DateTimeValueField.d.ts +9 -9
- package/src/lib/Property/UpsertProperty/PropertyValueField/DateValueField.d.ts +9 -9
- package/src/lib/Property/UpsertProperty/PropertyValueField/FileValueWidget.d.ts +6 -6
- package/src/lib/Property/UpsertProperty/PropertyValueField/JsonValueField.d.ts +8 -8
- package/src/lib/Property/UpsertProperty/PropertyValueField/PropertyValueField.d.ts +23 -23
- package/src/lib/Property/UpsertProperty/PropertyValueField/StringValueField.d.ts +14 -14
- package/src/lib/Property/UpsertProperty/PropertyValueField/TimeValueField.d.ts +9 -9
- package/src/lib/Property/UpsertProperty/PropertyValueField/index.d.ts +1 -1
- package/src/lib/Property/UpsertProperty/index.d.ts +4 -4
- package/src/lib/Property/UpsertProperty/useCustomFields.d.ts +6 -6
- package/src/lib/Property/ViewPropertiesList/ViewPropertiesList.d.ts +8 -8
- package/src/lib/Property/ViewPropertiesList/index.d.ts +1 -1
- package/src/lib/Property/ViewProperty/EntityPropertiesShortView.d.ts +7 -7
- package/src/lib/Property/ViewProperty/EntityPropertiesView.d.ts +8 -8
- package/src/lib/Property/ViewProperty/PropertyDataTable.d.ts +7 -7
- package/src/lib/Property/ViewProperty/PropertyItem.d.ts +9 -9
- package/src/lib/Property/ViewProperty/ViewProperty.d.ts +9 -9
- package/src/lib/Property/ViewProperty/index.d.ts +1 -1
- package/src/lib/Property/index.d.ts +4 -4
- package/src/lib/Sidebar/Sidebar.d.ts +14 -14
- package/src/lib/Sidebar/Sidebar.styled.d.ts +118 -118
- package/src/lib/Sidebar/SidebarContext.d.ts +12 -12
- package/src/lib/Sidebar/SidebarDrawer.d.ts +13 -13
- package/src/lib/Sidebar/SidebarLink/MenuIcon.d.ts +7 -7
- package/src/lib/Sidebar/SidebarLink/SidebarLink.d.ts +8 -8
- package/src/lib/Sidebar/SidebarLink/SidebarLinkItem.d.ts +9 -9
- package/src/lib/Sidebar/SidebarLink/SidebarNestedItem.d.ts +11 -11
- package/src/lib/Sidebar/SidebarLink/SidebarRootItem.d.ts +11 -11
- package/src/lib/Sidebar/SidebarLink/index.d.ts +2 -2
- package/src/lib/Sidebar/index.d.ts +2 -2
- package/src/lib/Status/Status.d.ts +8 -8
- package/src/lib/Status/index.d.ts +1 -1
- package/src/lib/StepperView/StepperView.d.ts +11 -11
- package/src/lib/StepperView/index.d.ts +1 -1
- package/src/lib/Table/DataGrid/DataGrid.styled.d.ts +4 -4
- package/src/lib/Table/DataGrid/JsonTypeCell.d.ts +7 -7
- package/src/lib/Table/DataGrid/Table.d.ts +48 -48
- package/src/lib/Table/DataGrid/TableAction.d.ts +13 -13
- package/src/lib/Table/DataGrid/TableColumnMenu.d.ts +3 -3
- package/src/lib/Table/DataGrid/TablePagination.d.ts +3 -3
- package/src/lib/Table/DataGrid/index.d.ts +2 -2
- package/src/lib/Table/DataGrid/usePagination.d.ts +5 -5
- package/src/lib/Table/DataGrid/useTableQueryPagination.d.ts +12 -12
- package/src/lib/Table/DataGrid/useTableQuerySorting.d.ts +6 -6
- package/src/lib/Table/SimpleTable/SimpleTable.d.ts +19 -19
- package/src/lib/Table/SimpleTable/Table.styled.d.ts +30 -30
- package/src/lib/Table/SimpleTable/TableActionCell.d.ts +10 -10
- package/src/lib/Table/SimpleTable/index.d.ts +2 -2
- package/src/lib/Table/SimpleTable/useTablePagination.d.ts +7 -7
- package/src/lib/Table/SimpleTable/useTableSorting.d.ts +6 -6
- package/src/lib/Table/index.d.ts +2 -2
- package/src/lib/Tabs/RouteTabs.d.ts +11 -11
- package/src/lib/Tabs/TabPanel.d.ts +25 -25
- package/src/lib/Tabs/index.d.ts +2 -2
- package/src/lib/index.d.ts +18 -18
- package/src/theme/baseTheme.d.ts +2 -2
- package/src/theme/index.d.ts +1 -1
- package/src/theme/inputThemeOptions.d.ts +203 -203
- package/src/theme/stepperThemeOptions.d.ts +16 -16
- package/src/theme/tableThemeOptions.d.ts +159 -159
- package/src/theme/typographyThemeOptions.d.ts +29 -29
- package/src/utils/common.d.ts +7 -7
- package/src/utils/dem.d.ts +27 -27
- package/src/utils/dem3.d.ts +28 -28
- package/src/utils/hooks.d.ts +7 -7
- package/src/utils/index.d.ts +6 -6
- package/src/utils/test-mocks.d.ts +166 -166
- package/src/utils/ui-utils.d.ts +17 -17
- package/src/utils/validators.d.ts +6 -6
@@ -1,2 +1,2 @@
|
|
1
|
-
export * from './PropertyFiller';
|
2
|
-
export * from './MultiplePropertyFiller';
|
1
|
+
export * from './PropertyFiller';
|
2
|
+
export * from './MultiplePropertyFiller';
|
@@ -1,18 +1,18 @@
|
|
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?: "small" | "normal"
|
14
|
-
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
|
15
|
-
variant?: "filled" | "
|
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
|
+
/// <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 +1,26 @@
|
|
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
|
+
/// <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,9 +1,9 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control, UseFormSetValue } from 'react-hook-form';
|
3
|
-
type Props = {
|
4
|
-
name: string;
|
5
|
-
control: Control<any>;
|
6
|
-
setValue: UseFormSetValue<any>;
|
7
|
-
};
|
8
|
-
declare const NodeValidator: ({ name, control, setValue }: Props) => JSX.Element;
|
9
|
-
export default NodeValidator;
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Control, UseFormSetValue } from 'react-hook-form';
|
3
|
+
type Props = {
|
4
|
+
name: string;
|
5
|
+
control: Control<any>;
|
6
|
+
setValue: UseFormSetValue<any>;
|
7
|
+
};
|
8
|
+
declare const NodeValidator: ({ name, control, setValue }: Props) => JSX.Element;
|
9
|
+
export default NodeValidator;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control, UseFormSetValue } from 'react-hook-form';
|
3
|
-
type Props = {
|
4
|
-
name: string;
|
5
|
-
control: Control<any>;
|
6
|
-
setValue: UseFormSetValue<any>;
|
7
|
-
};
|
8
|
-
declare const NodesList: ({ name, control, setValue }: Props) => JSX.Element;
|
9
|
-
export default NodesList;
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Control, UseFormSetValue } from 'react-hook-form';
|
3
|
+
type Props = {
|
4
|
+
name: string;
|
5
|
+
control: Control<any>;
|
6
|
+
setValue: UseFormSetValue<any>;
|
7
|
+
};
|
8
|
+
declare const NodesList: ({ name, control, setValue }: Props) => JSX.Element;
|
9
|
+
export default NodesList;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control } from 'react-hook-form';
|
3
|
-
type Props = {
|
4
|
-
name: string;
|
5
|
-
control: Control<any>;
|
6
|
-
};
|
7
|
-
export declare const NumericTypeValidator: ({ name, control }: Props) => JSX.Element;
|
8
|
-
export default NumericTypeValidator;
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Control } from 'react-hook-form';
|
3
|
+
type Props = {
|
4
|
+
name: string;
|
5
|
+
control: Control<any>;
|
6
|
+
};
|
7
|
+
export declare const NumericTypeValidator: ({ name, control }: Props) => JSX.Element;
|
8
|
+
export default NumericTypeValidator;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { UseFormSetValue, Control } from 'react-hook-form';
|
3
|
-
type Props = {
|
4
|
-
name: string;
|
5
|
-
control: Control<any>;
|
6
|
-
setValue: UseFormSetValue<any>;
|
7
|
-
validator: boolean;
|
8
|
-
};
|
9
|
-
export declare const PropertyValidator: ({ name, control, setValue, validator }: Props) => JSX.Element;
|
10
|
-
export default PropertyValidator;
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { UseFormSetValue, Control } from 'react-hook-form';
|
3
|
+
type Props = {
|
4
|
+
name: string;
|
5
|
+
control: Control<any>;
|
6
|
+
setValue: UseFormSetValue<any>;
|
7
|
+
validator: boolean;
|
8
|
+
};
|
9
|
+
export declare const PropertyValidator: ({ name, control, setValue, validator }: Props) => JSX.Element;
|
10
|
+
export default PropertyValidator;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import type { PropertyType } from '../../../interfaces';
|
3
|
-
export declare const PropertyValidatorContext: import("react").Context<"" | PropertyType>;
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { PropertyType } from '../../../interfaces';
|
3
|
+
export declare const PropertyValidatorContext: import("react").Context<"" | PropertyType>;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control } from 'react-hook-form';
|
3
|
-
type Props = {
|
4
|
-
name: string;
|
5
|
-
control: Control;
|
6
|
-
};
|
7
|
-
export declare const StringTypeValidator: ({ name, control }: Props) => JSX.Element;
|
8
|
-
export default StringTypeValidator;
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Control } from 'react-hook-form';
|
3
|
+
type Props = {
|
4
|
+
name: string;
|
5
|
+
control: Control;
|
6
|
+
};
|
7
|
+
export declare const StringTypeValidator: ({ name, control }: Props) => JSX.Element;
|
8
|
+
export default StringTypeValidator;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { Control, UseFormSetValue } from 'react-hook-form';
|
3
|
-
type Props = {
|
4
|
-
name: string;
|
5
|
-
removeHandle?: () => void;
|
6
|
-
control: Control<any>;
|
7
|
-
setValue: UseFormSetValue<any>;
|
8
|
-
};
|
9
|
-
declare const ValidationNodeSelector: ({ name, removeHandle, control, setValue }: Props) => JSX.Element;
|
10
|
-
export default ValidationNodeSelector;
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Control, UseFormSetValue } from 'react-hook-form';
|
3
|
+
type Props = {
|
4
|
+
name: string;
|
5
|
+
removeHandle?: () => void;
|
6
|
+
control: Control<any>;
|
7
|
+
setValue: UseFormSetValue<any>;
|
8
|
+
};
|
9
|
+
declare const ValidationNodeSelector: ({ name, removeHandle, control, setValue }: Props) => JSX.Element;
|
10
|
+
export default ValidationNodeSelector;
|
@@ -1 +1 @@
|
|
1
|
-
export * from './PropertyValidator';
|
1
|
+
export * from './PropertyValidator';
|
@@ -1,23 +1,23 @@
|
|
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
|
+
/// <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 +1 @@
|
|
1
|
-
export * from './PropertyWidget';
|
1
|
+
export * from './PropertyWidget';
|
@@ -1,36 +1,36 @@
|
|
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
|
+
/// <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 +1,29 @@
|
|
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
|
+
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,2 +1,2 @@
|
|
1
|
-
export * from './CreatePropertiesList';
|
2
|
-
export { default } from './CreatePropertiesList';
|
1
|
+
export * from './CreatePropertiesList';
|
2
|
+
export { default } from './CreatePropertiesList';
|
@@ -1,30 +1,30 @@
|
|
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
|
+
/// <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 +1,24 @@
|
|
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
|
+
/// <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 +1,7 @@
|
|
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;
|
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
CHANGED
@@ -1,8 +1,8 @@
|
|
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
|
+
/// <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 +1,9 @@
|
|
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;
|
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
CHANGED
@@ -1,22 +1,22 @@
|
|
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;
|
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;
|