@dartech/arsenal-ui 1.4.87 → 1.4.88

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. package/index.d.ts +5 -5
  2. package/index.js +8487 -0
  3. package/package.json +10 -4
  4. package/src/consts/index.d.ts +14 -14
  5. package/src/interfaces/common.d.ts +24 -24
  6. package/src/interfaces/definition.d.ts +142 -142
  7. package/src/interfaces/index.d.ts +3 -3
  8. package/src/interfaces/ui.d.ts +73 -73
  9. package/src/lib/Alert/Alert.d.ts +55 -55
  10. package/src/lib/Alert/index.d.ts +1 -1
  11. package/src/lib/Breadcrumbs/Breadcrumbs.d.ts +9 -8
  12. package/src/lib/Breadcrumbs/Breadcrumbs.styled.d.ts +2 -2
  13. package/src/lib/Breadcrumbs/index.d.ts +1 -1
  14. package/src/lib/ContentLayout/ContentLayout.d.ts +10 -10
  15. package/src/lib/ContentLayout/index.d.ts +1 -1
  16. package/src/lib/Definition/CreateDefinition/CreateDefinition.d.ts +26 -26
  17. package/src/lib/Definition/CreateDefinition/index.d.ts +1 -1
  18. package/src/lib/Definition/DefinitionFiller/DefinitionFiller.d.ts +21 -21
  19. package/src/lib/Definition/DefinitionFiller/index.d.ts +1 -1
  20. package/src/lib/Definition/DefinitionValueView/DefinitionValueView.d.ts +8 -7
  21. package/src/lib/Definition/DefinitionValueView/FileDefinitionValueView.d.ts +8 -7
  22. package/src/lib/Definition/DefinitionValueView/PropertyDataView.d.ts +9 -8
  23. package/src/lib/Definition/DefinitionValueView/index.d.ts +1 -1
  24. package/src/lib/Definition/index.d.ts +3 -3
  25. package/src/lib/Forms/BackButton.d.ts +7 -6
  26. package/src/lib/Forms/ControlAceEditor.d.ts +23 -23
  27. package/src/lib/Forms/ControlArrayInput.d.ts +14 -14
  28. package/src/lib/Forms/ControlAutocomplete/ControlAutocomplete.d.ts +74 -74
  29. package/src/lib/Forms/ControlAutocomplete/ControlQueryAutocomplete.d.ts +20 -20
  30. package/src/lib/Forms/ControlAutocomplete/index.d.ts +2 -2
  31. package/src/lib/Forms/ControlAutocomplete/useAutocomplete.d.ts +10 -9
  32. package/src/lib/Forms/ControlCheckbox.d.ts +51 -51
  33. package/src/lib/Forms/ControlDate.d.ts +26 -26
  34. package/src/lib/Forms/ControlDateTime.d.ts +26 -26
  35. package/src/lib/Forms/ControlDebouncedInput.d.ts +4 -3
  36. package/src/lib/Forms/ControlInput.d.ts +63 -63
  37. package/src/lib/Forms/ControlNumberInput.d.ts +72 -72
  38. package/src/lib/Forms/ControlPeriodInput.d.ts +11 -11
  39. package/src/lib/Forms/ControlPhoneInput.d.ts +17 -17
  40. package/src/lib/Forms/ControlRadio.d.ts +70 -70
  41. package/src/lib/Forms/ControlSelect.d.ts +72 -72
  42. package/src/lib/Forms/ControlSwitch.d.ts +19 -19
  43. package/src/lib/Forms/ControlTime.d.ts +24 -24
  44. package/src/lib/Forms/CopyButton.d.ts +20 -19
  45. package/src/lib/Forms/index.d.ts +17 -17
  46. package/src/lib/InfoItem/InfoItem.d.ts +8 -7
  47. package/src/lib/InfoItem/index.d.ts +1 -1
  48. package/src/lib/JsonPathPicker/JsonPathPicker.d.ts +10 -9
  49. package/src/lib/JsonPathPicker/PropertyStep.d.ts +11 -10
  50. package/src/lib/JsonPathPicker/index.d.ts +1 -1
  51. package/src/lib/JsonView/JsonView.d.ts +9 -9
  52. package/src/lib/JsonView/index.d.ts +1 -1
  53. package/src/lib/Loader/Loader.d.ts +22 -21
  54. package/src/lib/Loader/index.d.ts +1 -1
  55. package/src/lib/Modals/JsonModalView.d.ts +12 -12
  56. package/src/lib/Modals/index.d.ts +1 -1
  57. package/src/lib/OverflowTooltip/OverflowTooltip.d.ts +4 -3
  58. package/src/lib/OverflowTooltip/index.d.ts +1 -1
  59. package/src/lib/Property/PropertyFiller/ControlFiller/ControlMultiplePropertyFiller.d.ts +26 -26
  60. package/src/lib/Property/PropertyFiller/ControlFiller/ControlMultiplePropertyWidget.d.ts +24 -24
  61. package/src/lib/Property/PropertyFiller/ControlFiller/ControlPropertyFiller.d.ts +26 -26
  62. package/src/lib/Property/PropertyFiller/ControlFiller/index.d.ts +3 -3
  63. package/src/lib/Property/PropertyFiller/JsonEditor.d.ts +9 -9
  64. package/src/lib/Property/PropertyFiller/MultiplePropertyFiller.d.ts +24 -24
  65. package/src/lib/Property/PropertyFiller/MultiplePropertyWidget.d.ts +22 -22
  66. package/src/lib/Property/PropertyFiller/PropertyFiller.d.ts +24 -24
  67. package/src/lib/Property/PropertyFiller/index.d.ts +2 -2
  68. package/src/lib/Property/PropertyFiller/styled.d.ts +18 -18
  69. package/src/lib/Property/PropertyFiller/usePropertyFiller.d.ts +26 -26
  70. package/src/lib/Property/PropertyValidator/NodeValidator.d.ts +6 -5
  71. package/src/lib/Property/PropertyValidator/NodesList.d.ts +6 -5
  72. package/src/lib/Property/PropertyValidator/NumericTypeValidator.d.ts +8 -7
  73. package/src/lib/Property/PropertyValidator/PropertyValidator.d.ts +6 -5
  74. package/src/lib/Property/PropertyValidator/PropertyValidatorContext.d.ts +3 -3
  75. package/src/lib/Property/PropertyValidator/StringTypeValidator.d.ts +8 -7
  76. package/src/lib/Property/PropertyValidator/ValidationNodeSelector.d.ts +7 -6
  77. package/src/lib/Property/PropertyValidator/index.d.ts +1 -1
  78. package/src/lib/Property/PropertyWidget/PropertyWidget.d.ts +23 -23
  79. package/src/lib/Property/PropertyWidget/index.d.ts +1 -1
  80. package/src/lib/Property/UpsertProperty/CreatePropertiesList/CreatePropertiesList.d.ts +36 -36
  81. package/src/lib/Property/UpsertProperty/CreatePropertiesList/ListItem.d.ts +29 -29
  82. package/src/lib/Property/UpsertProperty/CreatePropertiesList/index.d.ts +2 -2
  83. package/src/lib/Property/UpsertProperty/CreatePropertiesListContext.d.ts +30 -30
  84. package/src/lib/Property/UpsertProperty/CreatePropertyFormFields.d.ts +24 -24
  85. package/src/lib/Property/UpsertProperty/CustomPropertyField.d.ts +7 -6
  86. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/BigDecimalPropertyFields.d.ts +8 -7
  87. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/DateAdditionalFields.d.ts +9 -8
  88. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityAdditionalFields.d.ts +22 -22
  89. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityReferencePropertyFields.d.ts +12 -11
  90. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/PropertyAdditionalFields.d.ts +23 -23
  91. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/StringPropertyFields.d.ts +8 -7
  92. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/index.d.ts +1 -1
  93. package/src/lib/Property/UpsertProperty/PropertyValueField/BooleanValueField.d.ts +8 -8
  94. package/src/lib/Property/UpsertProperty/PropertyValueField/DateTimeValueField.d.ts +8 -8
  95. package/src/lib/Property/UpsertProperty/PropertyValueField/DateValueField.d.ts +8 -8
  96. package/src/lib/Property/UpsertProperty/PropertyValueField/FileValueWidget.d.ts +6 -5
  97. package/src/lib/Property/UpsertProperty/PropertyValueField/JsonValueField.d.ts +7 -7
  98. package/src/lib/Property/UpsertProperty/PropertyValueField/PropertyValueField.d.ts +23 -23
  99. package/src/lib/Property/UpsertProperty/PropertyValueField/StringValueField.d.ts +14 -13
  100. package/src/lib/Property/UpsertProperty/PropertyValueField/TimeValueField.d.ts +8 -8
  101. package/src/lib/Property/UpsertProperty/PropertyValueField/index.d.ts +1 -1
  102. package/src/lib/Property/UpsertProperty/index.d.ts +4 -4
  103. package/src/lib/Property/UpsertProperty/useCustomFields.d.ts +6 -6
  104. package/src/lib/Property/ViewPropertiesList/ViewPropertiesList.d.ts +8 -7
  105. package/src/lib/Property/ViewPropertiesList/index.d.ts +1 -1
  106. package/src/lib/Property/ViewProperty/EntityPropertiesShortView.d.ts +7 -6
  107. package/src/lib/Property/ViewProperty/EntityPropertiesView.d.ts +8 -8
  108. package/src/lib/Property/ViewProperty/PropertyDataTable.d.ts +7 -6
  109. package/src/lib/Property/ViewProperty/PropertyItem.d.ts +8 -8
  110. package/src/lib/Property/ViewProperty/ViewProperty.d.ts +9 -8
  111. package/src/lib/Property/ViewProperty/index.d.ts +1 -1
  112. package/src/lib/Property/index.d.ts +4 -4
  113. package/src/lib/Sidebar/Sidebar.d.ts +14 -14
  114. package/src/lib/Sidebar/Sidebar.styled.d.ts +118 -118
  115. package/src/lib/Sidebar/SidebarContext.d.ts +12 -12
  116. package/src/lib/Sidebar/SidebarDrawer.d.ts +13 -13
  117. package/src/lib/Sidebar/SidebarLink/MenuIcon.d.ts +7 -6
  118. package/src/lib/Sidebar/SidebarLink/SidebarLink.d.ts +8 -7
  119. package/src/lib/Sidebar/SidebarLink/SidebarLinkItem.d.ts +9 -8
  120. package/src/lib/Sidebar/SidebarLink/SidebarNestedItem.d.ts +11 -10
  121. package/src/lib/Sidebar/SidebarLink/SidebarRootItem.d.ts +11 -10
  122. package/src/lib/Sidebar/SidebarLink/index.d.ts +2 -2
  123. package/src/lib/Sidebar/index.d.ts +2 -2
  124. package/src/lib/Status/Status.d.ts +8 -7
  125. package/src/lib/Status/index.d.ts +1 -1
  126. package/src/lib/StepperView/StepperView.d.ts +11 -11
  127. package/src/lib/StepperView/index.d.ts +1 -1
  128. package/src/lib/Table/DataGrid/DataGrid.styled.d.ts +4 -4
  129. package/src/lib/Table/DataGrid/JsonTypeCell.d.ts +7 -6
  130. package/src/lib/Table/DataGrid/Table.d.ts +47 -47
  131. package/src/lib/Table/DataGrid/TableAction.d.ts +13 -13
  132. package/src/lib/Table/DataGrid/TableColumnMenu.d.ts +3 -2
  133. package/src/lib/Table/DataGrid/TablePagination.d.ts +3 -2
  134. package/src/lib/Table/DataGrid/index.d.ts +2 -2
  135. package/src/lib/Table/DataGrid/usePagination.d.ts +5 -5
  136. package/src/lib/Table/DataGrid/useTableQueryPagination.d.ts +11 -11
  137. package/src/lib/Table/DataGrid/useTableQuerySorting.d.ts +6 -6
  138. package/src/lib/Table/SimpleTable/SimpleTable.d.ts +19 -19
  139. package/src/lib/Table/SimpleTable/Table.styled.d.ts +30 -30
  140. package/src/lib/Table/SimpleTable/TableActionCell.d.ts +10 -10
  141. package/src/lib/Table/SimpleTable/index.d.ts +2 -2
  142. package/src/lib/Table/SimpleTable/useTablePagination.d.ts +7 -7
  143. package/src/lib/Table/SimpleTable/useTableSorting.d.ts +6 -6
  144. package/src/lib/Table/index.d.ts +2 -2
  145. package/src/lib/Tabs/RouteTabs.d.ts +11 -11
  146. package/src/lib/Tabs/TabPanel.d.ts +25 -25
  147. package/src/lib/Tabs/index.d.ts +2 -2
  148. package/src/lib/index.d.ts +17 -17
  149. package/src/theme/baseTheme.d.ts +2 -2
  150. package/src/theme/index.d.ts +1 -1
  151. package/src/theme/inputThemeOptions.d.ts +201 -200
  152. package/src/theme/stepperThemeOptions.d.ts +16 -16
  153. package/src/theme/tableThemeOptions.d.ts +159 -159
  154. package/src/theme/typographyThemeOptions.d.ts +29 -29
  155. package/src/utils/common.d.ts +7 -7
  156. package/src/utils/dem.d.ts +27 -27
  157. package/src/utils/hooks.d.ts +7 -7
  158. package/src/utils/index.d.ts +5 -5
  159. package/src/utils/test-mocks.d.ts +166 -166
  160. package/src/utils/ui-utils.d.ts +17 -17
  161. package/src/utils/validators.d.ts +6 -6
  162. package/index.cjs.d.ts +0 -1
  163. package/index.cjs.js +0 -1
  164. package/index.esm.js +0 -1
@@ -1,26 +1,26 @@
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) => import("react/jsx-runtime").JSX.Element;
26
- export default ControlPropertyFiller;
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,3 +1,3 @@
1
- export * from './ControlPropertyFiller';
2
- export * from './ControlMultiplePropertyFiller';
3
- export * from './ControlMultiplePropertyWidget';
1
+ export * from './ControlPropertyFiller';
2
+ export * from './ControlMultiplePropertyFiller';
3
+ export * from './ControlMultiplePropertyWidget';
@@ -1,9 +1,9 @@
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
+ /// <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 +1,24 @@
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) => import("react/jsx-runtime").JSX.Element;
24
- export default MultiplePropertyFiller;
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 +1,22 @@
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) => import("react/jsx-runtime").JSX.Element;
22
- export default MultiplePropertyWidget;
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 +1,24 @@
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) => import("react/jsx-runtime").JSX.Element;
24
- export default PropertyFiller;
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,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?: 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
+ /// <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" | "outlined" | "standard";
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,5 +1,6 @@
1
- type Props = {
2
- name: string;
3
- };
4
- declare const NodeValidator: ({ name }: Props) => import("react/jsx-runtime").JSX.Element;
5
- export default NodeValidator;
1
+ /// <reference types="react" />
2
+ type Props = {
3
+ name: string;
4
+ };
5
+ declare const NodeValidator: ({ name }: Props) => JSX.Element;
6
+ export default NodeValidator;
@@ -1,5 +1,6 @@
1
- type Props = {
2
- name: string;
3
- };
4
- declare const NodesList: ({ name }: Props) => import("react/jsx-runtime").JSX.Element;
5
- export default NodesList;
1
+ /// <reference types="react" />
2
+ type Props = {
3
+ name: string;
4
+ };
5
+ declare const NodesList: ({ name }: Props) => JSX.Element;
6
+ export default NodesList;
@@ -1,7 +1,8 @@
1
- import { Control } from 'react-hook-form';
2
- type Props = {
3
- name: string;
4
- control: Control<any>;
5
- };
6
- export declare const NumericTypeValidator: ({ name, control }: Props) => import("react/jsx-runtime").JSX.Element;
7
- 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,5 +1,6 @@
1
- type Props = {
2
- name: string;
3
- };
4
- export declare const PropertyValidator: ({ name }: Props) => import("react/jsx-runtime").JSX.Element;
5
- export default PropertyValidator;
1
+ /// <reference types="react" />
2
+ type Props = {
3
+ name: string;
4
+ };
5
+ export declare const PropertyValidator: ({ name }: Props) => JSX.Element;
6
+ 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,7 +1,8 @@
1
- import { Control } from 'react-hook-form';
2
- type Props = {
3
- name: string;
4
- control: Control;
5
- };
6
- export declare const StringTypeValidator: ({ name, control }: Props) => import("react/jsx-runtime").JSX.Element;
7
- 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,6 +1,7 @@
1
- type Props = {
2
- name: string;
3
- removeHandle?: () => void;
4
- };
5
- declare const ValidationNodeSelector: ({ name, removeHandle }: Props) => import("react/jsx-runtime").JSX.Element;
6
- export default ValidationNodeSelector;
1
+ /// <reference types="react" />
2
+ type Props = {
3
+ name: string;
4
+ removeHandle?: () => void;
5
+ };
6
+ declare const ValidationNodeSelector: ({ name, removeHandle }: Props) => JSX.Element;
7
+ 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) => import("react/jsx-runtime").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) => import("react/jsx-runtime").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';