@gravity-ui/dynamic-forms 5.20.0 → 5.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/lib/core/components/Form/DynamicField.js +3 -0
- package/build/cjs/lib/core/components/View/DynamicView.js +3 -0
- package/build/cjs/lib/core/helpers.d.ts +3 -1
- package/build/cjs/lib/core/helpers.js +27 -1
- package/build/cjs/lib/unstable/core/SchemaRenderer/SchemaRenderer.js +3 -3
- package/build/cjs/lib/unstable/core/SchemaRendererNode/SchemaRendererNode.d.ts +11 -0
- package/build/cjs/lib/unstable/core/SchemaRendererNode/SchemaRendererNode.js +131 -0
- package/build/cjs/lib/unstable/core/SchemaRendererNode/index.d.ts +3 -0
- package/build/cjs/lib/unstable/core/SchemaRendererNode/index.js +8 -0
- package/build/cjs/lib/unstable/core/SchemaRendererNode/types.d.ts +3 -0
- package/build/cjs/lib/unstable/core/SchemaRendererNode/utils.d.ts +25 -0
- package/build/cjs/lib/unstable/core/SchemaRendererNode/utils.js +162 -0
- package/build/cjs/lib/unstable/core/constants.d.ts +12 -1
- package/build/cjs/lib/unstable/core/constants.js +22 -10
- package/build/cjs/lib/unstable/core/index.d.ts +6 -3
- package/build/cjs/lib/unstable/core/index.js +18 -8
- package/build/cjs/lib/unstable/core/types/components.d.ts +21 -21
- package/build/cjs/lib/unstable/core/types/config.d.ts +28 -27
- package/build/cjs/lib/unstable/core/types/helpers.d.ts +22 -17
- package/build/cjs/lib/unstable/core/types/index.d.ts +1 -0
- package/build/cjs/lib/unstable/core/types/jsl-errors.d.ts +105 -0
- package/build/cjs/lib/unstable/core/types/schema.d.ts +63 -164
- package/build/cjs/lib/unstable/core/types/validation.d.ts +30 -32
- package/build/cjs/lib/unstable/core/useSchemaRenderer/constants.d.ts +1 -1
- package/build/cjs/lib/unstable/core/useSchemaRenderer/constants.js +2 -2
- package/build/cjs/lib/unstable/core/useSchemaRenderer/index.d.ts +3 -3
- package/build/cjs/lib/unstable/core/useSchemaRenderer/index.js +3 -6
- package/build/cjs/lib/unstable/core/useSchemaRenderer/types/index.d.ts +4 -0
- package/build/cjs/lib/unstable/core/useSchemaRenderer/types/index.js +7 -0
- package/build/cjs/lib/unstable/core/useSchemaRenderer/types/patches.d.ts +21 -0
- package/build/cjs/lib/unstable/core/useSchemaRenderer/types/state.d.ts +34 -0
- package/build/cjs/lib/unstable/core/useSchemaRenderer/types/subscription.d.ts +13 -0
- package/build/cjs/lib/unstable/core/useSchemaRenderer/types/validation.d.ts +10 -0
- package/build/cjs/lib/unstable/core/useSchemaRenderer/useSchemaRenderer.d.ts +7 -28
- package/build/cjs/lib/unstable/core/useSchemaRenderer/useSchemaRenderer.js +95 -69
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-dispatch.d.ts +3 -0
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-dispatch.js +54 -0
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-run-validate.d.ts +2 -0
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-run-validate.js +19 -0
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-schema-root-node.d.ts +11 -0
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-schema-root-node.js +136 -0
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-subscribe.d.ts +6 -0
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-subscribe.js +63 -0
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-validate.d.ts +3 -14
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-validate.js +69 -48
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/index.d.ts +3 -1
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/index.js +7 -3
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/parse-errors.d.ts +14 -0
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/parse-errors.js +338 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererState/index.d.ts +1 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererState/index.js +5 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererState/useSchemaRendererState.d.ts +9 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererState/useSchemaRendererState.js +62 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererTools/index.d.ts +1 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererTools/index.js +5 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererTools/useSchemaRendererTools.d.ts +8 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererTools/useSchemaRendererTools.js +19 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererTools/utils/external-errors.d.ts +18 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererTools/utils/external-errors.js +38 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererTools/utils/index.d.ts +3 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererTools/utils/index.js +11 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererTools/utils/schema-patch.d.ts +12 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererTools/utils/schema-patch.js +175 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererTools/utils/user-context.d.ts +9 -0
- package/build/cjs/lib/unstable/core/useSchemaRendererTools/utils/user-context.js +17 -0
- package/build/cjs/lib/unstable/core/utils/common.d.ts +36 -25
- package/build/cjs/lib/unstable/core/utils/common.js +46 -108
- package/build/cjs/lib/unstable/core/utils/definers.d.ts +58 -0
- package/build/cjs/lib/unstable/core/utils/definers.js +9 -0
- package/build/cjs/lib/unstable/core/utils/index.d.ts +1 -0
- package/build/cjs/lib/unstable/core/utils/index.js +1 -0
- package/build/cjs/lib/unstable/kit/components/ArrayRemoveButton/ArrayRemoveButton.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/components/ArrayRemoveButton/ArrayRemoveButton.js +2 -2
- package/build/cjs/lib/unstable/kit/components/CopyButton/CopyButton.css +9 -0
- package/build/cjs/lib/unstable/kit/components/CopyButton/CopyButton.d.ts +7 -0
- package/build/cjs/lib/unstable/kit/components/CopyButton/CopyButton.js +18 -0
- package/build/cjs/lib/unstable/kit/components/CopyButton/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/components/CopyButton/index.js +5 -0
- package/build/cjs/lib/unstable/kit/components/EmptyEntityValue/EmptyEntityValue.d.ts +2 -0
- package/build/cjs/lib/unstable/kit/components/EmptyEntityValue/EmptyEntityValue.js +11 -0
- package/build/cjs/lib/unstable/kit/components/EmptyEntityValue/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/components/EmptyEntityValue/index.js +5 -0
- package/build/cjs/lib/unstable/kit/components/EntityContainer/EntityContainer.css +22 -0
- package/build/cjs/lib/unstable/kit/components/EntityContainer/EntityContainer.d.ts +8 -0
- package/build/cjs/lib/unstable/kit/components/EntityContainer/EntityContainer.js +14 -0
- package/build/cjs/lib/unstable/kit/components/EntityContainer/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/components/EntityContainer/index.js +5 -0
- package/build/cjs/lib/unstable/kit/components/EntityError/EntityError.css +3 -0
- package/build/cjs/lib/unstable/kit/components/EntityError/EntityError.d.ts +6 -0
- package/build/cjs/lib/unstable/kit/components/EntityError/EntityError.js +15 -0
- package/build/cjs/lib/unstable/kit/components/EntityError/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/components/EntityError/index.js +5 -0
- package/build/cjs/lib/unstable/kit/components/LayoutContainer/LayoutContainer.css +11 -0
- package/build/cjs/lib/unstable/kit/components/LayoutContainer/LayoutContainer.d.ts +7 -0
- package/build/cjs/lib/unstable/kit/components/LayoutContainer/LayoutContainer.js +13 -0
- package/build/cjs/lib/unstable/kit/components/LayoutContainer/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/components/LayoutContainer/index.js +5 -0
- package/build/cjs/lib/unstable/kit/components/LongValue/LongValue.css +19 -0
- package/build/cjs/lib/unstable/kit/components/LongValue/LongValue.d.ts +7 -0
- package/build/cjs/lib/unstable/kit/components/LongValue/LongValue.js +42 -0
- package/build/cjs/lib/unstable/kit/components/LongValue/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/components/LongValue/index.js +5 -0
- package/build/cjs/lib/unstable/kit/components/MonacoContainer/MonacoContainer.css +21 -0
- package/build/cjs/lib/unstable/kit/components/MonacoContainer/MonacoContainer.d.ts +12 -0
- package/build/cjs/lib/unstable/kit/components/MonacoContainer/MonacoContainer.js +21 -0
- package/build/cjs/lib/unstable/kit/components/MonacoContainer/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/components/MonacoContainer/index.js +5 -0
- package/build/cjs/lib/unstable/kit/components/index.d.ts +7 -3
- package/build/cjs/lib/unstable/kit/components/index.js +15 -7
- package/build/cjs/lib/unstable/kit/constants/common.d.ts +2 -0
- package/build/cjs/lib/unstable/kit/constants/common.js +5 -0
- package/build/cjs/lib/unstable/kit/constants/config.d.ts +445 -76
- package/build/cjs/lib/unstable/kit/constants/config.js +198 -76
- package/build/cjs/lib/unstable/kit/constants/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/constants/index.js +4 -1
- package/build/cjs/lib/unstable/kit/entities/Alert/Alert.d.ts +8 -0
- package/build/cjs/lib/unstable/kit/entities/Alert/Alert.js +27 -0
- package/build/cjs/lib/unstable/kit/entities/ArrayEntity/ArrayEntity.css +3 -0
- package/build/cjs/lib/unstable/kit/entities/ArrayEntity/ArrayEntity.d.ts +6 -0
- package/build/cjs/lib/unstable/kit/entities/ArrayEntity/ArrayEntity.js +57 -0
- package/build/cjs/lib/unstable/kit/entities/ArrayEntity/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/entities/ArrayEntity/index.js +5 -0
- package/build/cjs/lib/unstable/kit/entities/ArrayTable/ArrayTable.css +45 -0
- package/build/cjs/lib/unstable/kit/entities/ArrayTable/ArrayTable.d.ts +7 -0
- package/build/cjs/lib/unstable/kit/entities/ArrayTable/ArrayTable.js +102 -0
- package/build/cjs/lib/unstable/kit/entities/DotValue/DotValue.d.ts +4 -0
- package/build/cjs/lib/unstable/kit/entities/DotValue/DotValue.js +33 -0
- package/build/cjs/lib/unstable/kit/entities/FewOfNested/FewOfNested.css +17 -0
- package/build/cjs/lib/unstable/kit/entities/FewOfNested/FewOfNested.d.ts +7 -0
- package/build/cjs/lib/unstable/kit/entities/FewOfNested/FewOfNested.js +73 -0
- package/build/cjs/lib/unstable/kit/entities/Label/Label.d.ts +8 -0
- package/build/cjs/lib/unstable/kit/entities/Label/Label.js +30 -0
- package/build/cjs/lib/unstable/kit/entities/Monaco/Monaco.css +6 -0
- package/build/cjs/lib/unstable/kit/entities/Monaco/Monaco.d.ts +7 -0
- package/build/cjs/lib/unstable/kit/entities/Monaco/Monaco.js +80 -0
- package/build/cjs/lib/unstable/kit/entities/Monaco/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/entities/Monaco/index.js +5 -0
- package/build/cjs/lib/unstable/kit/entities/ObjectEntity/ObjectEntity.d.ts +6 -0
- package/build/cjs/lib/unstable/kit/entities/ObjectEntity/ObjectEntity.js +16 -0
- package/build/cjs/lib/unstable/kit/entities/ObjectEntity/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/entities/ObjectEntity/index.js +5 -0
- package/build/cjs/lib/unstable/kit/entities/ObjectInline/ObjectInline.css +11 -0
- package/build/cjs/lib/unstable/kit/entities/ObjectInline/ObjectInline.d.ts +7 -0
- package/build/cjs/lib/unstable/kit/entities/ObjectInline/ObjectInline.js +26 -0
- package/build/cjs/lib/unstable/kit/entities/OneOfNested/OneOfNested.css +17 -0
- package/build/cjs/lib/unstable/kit/entities/OneOfNested/OneOfNested.d.ts +11 -0
- package/build/cjs/lib/unstable/kit/entities/OneOfNested/OneOfNested.js +70 -0
- package/build/cjs/lib/unstable/kit/entities/TextContent/TextContent.css +19 -0
- package/build/cjs/lib/unstable/kit/entities/TextContent/TextContent.d.ts +8 -0
- package/build/cjs/lib/unstable/kit/entities/TextContent/TextContent.js +31 -0
- package/build/cjs/lib/unstable/kit/entities/index.d.ts +11 -0
- package/build/cjs/lib/unstable/kit/entities/index.js +25 -0
- package/build/cjs/lib/unstable/kit/form-entities/CheckboxGroupInput/CheckboxGroupInput.css +9 -0
- package/build/cjs/lib/unstable/kit/form-entities/CheckboxGroupInput/CheckboxGroupInput.d.ts +8 -0
- package/build/cjs/lib/unstable/kit/form-entities/CheckboxGroupInput/CheckboxGroupInput.js +42 -0
- package/build/cjs/lib/unstable/kit/form-entities/CheckboxGroupInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/CheckboxGroupInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/CheckboxInput/CheckboxInput.css +11 -0
- package/build/cjs/lib/unstable/kit/form-entities/CheckboxInput/CheckboxInput.d.ts +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/CheckboxInput/CheckboxInput.js +20 -0
- package/build/cjs/lib/unstable/kit/form-entities/CheckboxInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/CheckboxInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/ColorPickerInput/ColorPickerInput.css +6 -0
- package/build/cjs/lib/unstable/kit/form-entities/ColorPickerInput/ColorPickerInput.d.ts +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/ColorPickerInput/ColorPickerInput.js +25 -0
- package/build/cjs/lib/unstable/kit/form-entities/ColorPickerInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/ColorPickerInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/DateInput/DateInput.d.ts +6 -0
- package/build/cjs/lib/unstable/kit/form-entities/DateInput/DateInput.js +47 -0
- package/build/cjs/lib/unstable/kit/form-entities/FileInput/FileInput.d.ts +6 -0
- package/build/cjs/lib/unstable/kit/form-entities/FileInput/FileInput.js +53 -0
- package/build/cjs/lib/unstable/kit/form-entities/MultiSelectInput/MultiSelectInput.d.ts +7 -0
- package/build/cjs/lib/unstable/kit/form-entities/MultiSelectInput/MultiSelectInput.js +38 -0
- package/build/cjs/lib/unstable/kit/form-entities/MultiSelectInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/MultiSelectInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/NumberInput/NumberInput.css +3 -0
- package/build/cjs/lib/unstable/kit/form-entities/NumberInput/NumberInput.d.ts +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/NumberInput/NumberInput.js +16 -0
- package/build/cjs/lib/unstable/kit/form-entities/NumberInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/NumberInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/NumberWithScaleInput/NumberWithScaleInput.css +6 -0
- package/build/cjs/lib/unstable/kit/form-entities/NumberWithScaleInput/NumberWithScaleInput.d.ts +11 -0
- package/build/cjs/lib/unstable/kit/form-entities/NumberWithScaleInput/NumberWithScaleInput.js +76 -0
- package/build/cjs/lib/unstable/kit/form-entities/NumberWithScaleInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/NumberWithScaleInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/PasswordInput/PasswordInput.css +3 -0
- package/build/cjs/lib/unstable/kit/form-entities/PasswordInput/PasswordInput.d.ts +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/PasswordInput/PasswordInput.js +16 -0
- package/build/cjs/lib/unstable/kit/form-entities/PasswordInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/PasswordInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/RadioGroupInput/RadioGroupInput.css +13 -0
- package/build/cjs/lib/unstable/kit/form-entities/RadioGroupInput/RadioGroupInput.d.ts +7 -0
- package/build/cjs/lib/unstable/kit/form-entities/RadioGroupInput/RadioGroupInput.js +24 -0
- package/build/cjs/lib/unstable/kit/form-entities/RadioGroupInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/RadioGroupInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/RangeInput/RangeInput.css +8 -0
- package/build/cjs/lib/unstable/kit/form-entities/RangeInput/RangeInput.d.ts +6 -0
- package/build/cjs/lib/unstable/kit/form-entities/RangeInput/RangeInput.js +71 -0
- package/build/cjs/lib/unstable/kit/form-entities/RangeInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/RangeInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/RangeSliderInput/RangeSliderInput.d.ts +6 -0
- package/build/cjs/lib/unstable/kit/form-entities/RangeSliderInput/RangeSliderInput.js +35 -0
- package/build/cjs/lib/unstable/kit/form-entities/RangeSliderInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/RangeSliderInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/SegmentedRadioGroupInput/SegmentedRadioGroupInput.css +6 -0
- package/build/cjs/lib/unstable/kit/form-entities/SegmentedRadioGroupInput/SegmentedRadioGroupInput.d.ts +7 -0
- package/build/cjs/lib/unstable/kit/form-entities/SegmentedRadioGroupInput/SegmentedRadioGroupInput.js +29 -0
- package/build/cjs/lib/unstable/kit/form-entities/SegmentedRadioGroupInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/SegmentedRadioGroupInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/SelectInput/SelectInput.d.ts +8 -0
- package/build/cjs/lib/unstable/kit/form-entities/SelectInput/SelectInput.js +35 -0
- package/build/cjs/lib/unstable/kit/form-entities/SelectInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/SelectInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/SliderInput/SliderInput.d.ts +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/SliderInput/SliderInput.js +21 -0
- package/build/cjs/lib/unstable/kit/form-entities/SliderInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/SliderInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/StringInput/StringInput.css +3 -0
- package/build/cjs/lib/unstable/kit/form-entities/StringInput/StringInput.d.ts +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/StringInput/StringInput.js +15 -0
- package/build/cjs/lib/unstable/kit/form-entities/StringInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/StringInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/StringNumberWithScaleInput/StringNumberWithScaleInput.css +6 -0
- package/build/cjs/lib/unstable/kit/form-entities/StringNumberWithScaleInput/StringNumberWithScaleInput.d.ts +11 -0
- package/build/cjs/lib/unstable/kit/form-entities/StringNumberWithScaleInput/StringNumberWithScaleInput.js +81 -0
- package/build/cjs/lib/unstable/kit/form-entities/StringNumberWithScaleInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/StringNumberWithScaleInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/SwitchInput/SwitchInput.css +11 -0
- package/build/cjs/lib/unstable/kit/form-entities/SwitchInput/SwitchInput.d.ts +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/SwitchInput/SwitchInput.js +20 -0
- package/build/cjs/lib/unstable/kit/form-entities/SwitchInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/SwitchInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/TextAreaInput/TextAreaInput.css +3 -0
- package/build/cjs/lib/unstable/kit/form-entities/TextAreaInput/TextAreaInput.d.ts +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/TextAreaInput/TextAreaInput.js +15 -0
- package/build/cjs/lib/unstable/kit/form-entities/TextAreaInput/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-entities/TextAreaInput/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-entities/index.d.ts +19 -0
- package/build/cjs/lib/unstable/kit/form-entities/index.js +41 -0
- package/build/cjs/lib/unstable/kit/form-layouts/FormColumn/FormColumn.css +21 -0
- package/build/cjs/lib/unstable/kit/form-layouts/FormColumn/FormColumn.d.ts +5 -0
- package/build/cjs/lib/unstable/kit/form-layouts/FormColumn/FormColumn.js +35 -0
- package/build/cjs/lib/unstable/kit/form-layouts/FormColumn/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-layouts/FormColumn/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-layouts/FormRow/FormRow.css +25 -0
- package/build/cjs/lib/unstable/kit/form-layouts/FormRow/FormRow.d.ts +5 -0
- package/build/cjs/lib/unstable/kit/form-layouts/FormRow/FormRow.js +35 -0
- package/build/cjs/lib/unstable/kit/form-layouts/FormRow/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/form-layouts/FormRow/index.js +5 -0
- package/build/cjs/lib/unstable/kit/form-layouts/index.d.ts +2 -0
- package/build/cjs/lib/unstable/kit/form-layouts/index.js +7 -0
- package/build/cjs/lib/unstable/kit/index.d.ts +9 -0
- package/build/cjs/lib/unstable/kit/index.js +12 -0
- package/build/cjs/lib/unstable/kit/layouts/Accordeon/Accordeon.css +46 -0
- package/build/cjs/lib/unstable/kit/layouts/Accordeon/Accordeon.d.ts +9 -0
- package/build/cjs/lib/unstable/kit/layouts/Accordeon/Accordeon.js +47 -0
- package/build/cjs/lib/unstable/kit/layouts/Card/Card.css +41 -0
- package/build/cjs/lib/unstable/kit/layouts/Card/Card.d.ts +7 -0
- package/build/cjs/lib/unstable/kit/layouts/Card/Card.js +50 -0
- package/build/cjs/lib/unstable/kit/layouts/Card/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/layouts/Card/index.js +5 -0
- package/build/cjs/lib/unstable/kit/layouts/Section/Section.css +34 -0
- package/build/cjs/lib/unstable/kit/layouts/Section/Section.d.ts +7 -0
- package/build/cjs/lib/unstable/kit/layouts/Section/Section.js +39 -0
- package/build/cjs/lib/unstable/kit/layouts/Transparent/Transparent.css +12 -0
- package/build/cjs/lib/unstable/kit/layouts/Transparent/Transparent.d.ts +5 -0
- package/build/cjs/lib/unstable/kit/layouts/Transparent/Transparent.js +21 -0
- package/build/cjs/lib/unstable/kit/layouts/index.d.ts +4 -0
- package/build/cjs/lib/unstable/kit/layouts/index.js +11 -0
- package/build/cjs/lib/unstable/kit/overview-entities/BooleanValue/BooleanValue.d.ts +14 -0
- package/build/cjs/lib/unstable/kit/overview-entities/BooleanValue/BooleanValue.js +25 -0
- package/build/cjs/lib/unstable/kit/overview-entities/BooleanValue/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/overview-entities/BooleanValue/index.js +5 -0
- package/build/cjs/lib/unstable/kit/overview-entities/ColorPickerValue/ColorPickerValue.css +6 -0
- package/build/cjs/lib/unstable/kit/overview-entities/ColorPickerValue/ColorPickerValue.d.ts +5 -0
- package/build/cjs/lib/unstable/kit/overview-entities/ColorPickerValue/ColorPickerValue.js +19 -0
- package/build/cjs/lib/unstable/kit/overview-entities/ColorPickerValue/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/overview-entities/ColorPickerValue/index.js +5 -0
- package/build/cjs/lib/unstable/kit/overview-entities/DateValue/DateValue.d.ts +9 -0
- package/build/cjs/lib/unstable/kit/overview-entities/DateValue/DateValue.js +20 -0
- package/build/cjs/lib/unstable/kit/overview-entities/DateValue/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/overview-entities/DateValue/index.js +5 -0
- package/build/cjs/lib/unstable/kit/overview-entities/NumberValue/NumberValue.d.ts +5 -0
- package/build/cjs/lib/unstable/kit/overview-entities/NumberValue/NumberValue.js +15 -0
- package/build/cjs/lib/unstable/kit/overview-entities/NumberValue/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/overview-entities/NumberValue/index.js +5 -0
- package/build/cjs/lib/unstable/kit/overview-entities/NumberWithScaleValue/NumberWithScaleValue.d.ts +10 -0
- package/build/cjs/lib/unstable/kit/overview-entities/NumberWithScaleValue/NumberWithScaleValue.js +34 -0
- package/build/cjs/lib/unstable/kit/overview-entities/NumberWithScaleValue/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/overview-entities/NumberWithScaleValue/index.js +5 -0
- package/build/cjs/lib/unstable/kit/overview-entities/PrimitiveArrayValue/PrimitiveArrayValue.d.ts +7 -0
- package/build/cjs/lib/unstable/kit/overview-entities/PrimitiveArrayValue/PrimitiveArrayValue.js +27 -0
- package/build/cjs/lib/unstable/kit/overview-entities/PrimitiveArrayValue/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/overview-entities/PrimitiveArrayValue/index.js +5 -0
- package/build/cjs/lib/unstable/kit/overview-entities/RangeValue/RangeValue.d.ts +7 -0
- package/build/cjs/lib/unstable/kit/overview-entities/RangeValue/RangeValue.js +24 -0
- package/build/cjs/lib/unstable/kit/overview-entities/RangeValue/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/overview-entities/RangeValue/index.js +5 -0
- package/build/cjs/lib/unstable/kit/overview-entities/StringNumberWithScaleValue/StringNumberWithScaleValue.d.ts +10 -0
- package/build/cjs/lib/unstable/kit/overview-entities/StringNumberWithScaleValue/StringNumberWithScaleValue.js +35 -0
- package/build/cjs/lib/unstable/kit/overview-entities/StringNumberWithScaleValue/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/overview-entities/StringNumberWithScaleValue/index.js +5 -0
- package/build/cjs/lib/unstable/kit/overview-entities/StringValue/StringValue.d.ts +5 -0
- package/build/cjs/lib/unstable/kit/overview-entities/StringValue/StringValue.js +14 -0
- package/build/cjs/lib/unstable/kit/overview-entities/StringValue/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/overview-entities/StringValue/index.js +5 -0
- package/build/cjs/lib/unstable/kit/overview-entities/index.d.ts +9 -0
- package/build/cjs/lib/unstable/kit/overview-entities/index.js +21 -0
- package/build/cjs/lib/unstable/kit/overview-layouts/OverviewColumn/OverviewColumn.css +22 -0
- package/build/cjs/lib/unstable/kit/overview-layouts/OverviewColumn/OverviewColumn.d.ts +2 -0
- package/build/cjs/lib/unstable/kit/overview-layouts/OverviewColumn/OverviewColumn.js +28 -0
- package/build/cjs/lib/unstable/kit/overview-layouts/OverviewColumn/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/overview-layouts/OverviewColumn/index.js +5 -0
- package/build/cjs/lib/unstable/kit/overview-layouts/OverviewRow/OverviewRow.css +38 -0
- package/build/cjs/lib/unstable/kit/overview-layouts/OverviewRow/OverviewRow.d.ts +2 -0
- package/build/cjs/lib/unstable/kit/overview-layouts/OverviewRow/OverviewRow.js +28 -0
- package/build/cjs/lib/unstable/kit/overview-layouts/OverviewRow/index.d.ts +1 -0
- package/build/cjs/lib/unstable/kit/overview-layouts/OverviewRow/index.js +5 -0
- package/build/cjs/lib/unstable/kit/overview-layouts/index.d.ts +2 -0
- package/build/cjs/lib/unstable/kit/overview-layouts/index.js +7 -0
- package/build/cjs/lib/unstable/kit/utils/common.d.ts +4 -1
- package/build/cjs/lib/unstable/kit/utils/common.js +19 -5
- package/build/cjs/lib/unstable/kit/utils/date.d.ts +2 -0
- package/build/cjs/lib/unstable/kit/utils/date.js +15 -0
- package/build/cjs/lib/unstable/kit/utils/index.d.ts +3 -1
- package/build/cjs/lib/unstable/kit/utils/index.js +14 -1
- package/build/cjs/lib/unstable/kit/utils/transformer.d.ts +18 -0
- package/build/cjs/lib/unstable/kit/utils/transformer.js +2912 -0
- package/build/cjs/unstable.d.ts +1 -3
- package/build/cjs/unstable.js +1 -6
- package/build/esm/lib/core/components/Form/DynamicField.js +4 -1
- package/build/esm/lib/core/components/View/DynamicView.js +4 -1
- package/build/esm/lib/core/helpers.d.ts +3 -1
- package/build/esm/lib/core/helpers.js +24 -0
- package/build/esm/lib/unstable/core/SchemaRenderer/SchemaRenderer.js +3 -3
- package/build/esm/lib/unstable/core/SchemaRendererNode/SchemaRendererNode.d.ts +11 -0
- package/build/esm/lib/unstable/core/SchemaRendererNode/SchemaRendererNode.js +127 -0
- package/build/esm/lib/unstable/core/SchemaRendererNode/index.d.ts +3 -0
- package/build/esm/lib/unstable/core/SchemaRendererNode/index.js +2 -0
- package/build/esm/lib/unstable/core/SchemaRendererNode/types.d.ts +3 -0
- package/build/esm/lib/unstable/core/SchemaRendererNode/utils.d.ts +25 -0
- package/build/esm/lib/unstable/core/SchemaRendererNode/utils.js +156 -0
- package/build/esm/lib/unstable/core/constants.d.ts +12 -1
- package/build/esm/lib/unstable/core/constants.js +21 -9
- package/build/esm/lib/unstable/core/index.d.ts +6 -3
- package/build/esm/lib/unstable/core/index.js +6 -3
- package/build/esm/lib/unstable/core/types/components.d.ts +21 -21
- package/build/esm/lib/unstable/core/types/config.d.ts +28 -27
- package/build/esm/lib/unstable/core/types/helpers.d.ts +22 -17
- package/build/esm/lib/unstable/core/types/index.d.ts +1 -0
- package/build/esm/lib/unstable/core/types/jsl-errors.d.ts +105 -0
- package/build/esm/lib/unstable/core/types/schema.d.ts +63 -164
- package/build/esm/lib/unstable/core/types/validation.d.ts +30 -32
- package/build/esm/lib/unstable/core/useSchemaRenderer/constants.d.ts +1 -1
- package/build/esm/lib/unstable/core/useSchemaRenderer/constants.js +1 -1
- package/build/esm/lib/unstable/core/useSchemaRenderer/index.d.ts +3 -3
- package/build/esm/lib/unstable/core/useSchemaRenderer/index.js +2 -3
- package/build/esm/lib/unstable/core/useSchemaRenderer/types/index.d.ts +4 -0
- package/build/esm/lib/unstable/core/useSchemaRenderer/types/index.js +4 -0
- package/build/esm/lib/unstable/core/useSchemaRenderer/types/patches.d.ts +21 -0
- package/build/esm/lib/unstable/core/useSchemaRenderer/types/state.d.ts +34 -0
- package/build/esm/lib/unstable/core/useSchemaRenderer/types/subscription.d.ts +13 -0
- package/build/esm/lib/unstable/core/useSchemaRenderer/types/validation.d.ts +10 -0
- package/build/esm/lib/unstable/core/useSchemaRenderer/useSchemaRenderer.d.ts +7 -28
- package/build/esm/lib/unstable/core/useSchemaRenderer/useSchemaRenderer.js +97 -71
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-dispatch.d.ts +3 -0
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-dispatch.js +50 -0
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-run-validate.d.ts +2 -0
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-run-validate.js +15 -0
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-schema-root-node.d.ts +11 -0
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-schema-root-node.js +131 -0
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-subscribe.d.ts +6 -0
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-subscribe.js +59 -0
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-validate.d.ts +3 -14
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-validate.js +70 -49
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/index.d.ts +3 -1
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/index.js +3 -1
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/parse-errors.d.ts +14 -0
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/parse-errors.js +334 -0
- package/build/esm/lib/unstable/core/useSchemaRendererState/index.d.ts +1 -0
- package/build/esm/lib/unstable/core/useSchemaRendererState/index.js +1 -0
- package/build/esm/lib/unstable/core/useSchemaRendererState/useSchemaRendererState.d.ts +9 -0
- package/build/esm/lib/unstable/core/useSchemaRendererState/useSchemaRendererState.js +57 -0
- package/build/esm/lib/unstable/core/useSchemaRendererTools/index.d.ts +1 -0
- package/build/esm/lib/unstable/core/useSchemaRendererTools/index.js +1 -0
- package/build/esm/lib/unstable/core/useSchemaRendererTools/useSchemaRendererTools.d.ts +8 -0
- package/build/esm/lib/unstable/core/useSchemaRendererTools/useSchemaRendererTools.js +14 -0
- package/build/esm/lib/unstable/core/useSchemaRendererTools/utils/external-errors.d.ts +18 -0
- package/build/esm/lib/unstable/core/useSchemaRendererTools/utils/external-errors.js +32 -0
- package/build/esm/lib/unstable/core/useSchemaRendererTools/utils/index.d.ts +3 -0
- package/build/esm/lib/unstable/core/useSchemaRendererTools/utils/index.js +3 -0
- package/build/esm/lib/unstable/core/useSchemaRendererTools/utils/schema-patch.d.ts +12 -0
- package/build/esm/lib/unstable/core/useSchemaRendererTools/utils/schema-patch.js +169 -0
- package/build/esm/lib/unstable/core/useSchemaRendererTools/utils/user-context.d.ts +9 -0
- package/build/esm/lib/unstable/core/useSchemaRendererTools/utils/user-context.js +13 -0
- package/build/esm/lib/unstable/core/utils/common.d.ts +36 -25
- package/build/esm/lib/unstable/core/utils/common.js +40 -97
- package/build/esm/lib/unstable/core/utils/definers.d.ts +58 -0
- package/build/esm/lib/unstable/core/utils/definers.js +3 -0
- package/build/esm/lib/unstable/core/utils/index.d.ts +1 -0
- package/build/esm/lib/unstable/core/utils/index.js +1 -0
- package/build/esm/lib/unstable/kit/components/ArrayRemoveButton/ArrayRemoveButton.d.ts +1 -0
- package/build/esm/lib/unstable/kit/components/ArrayRemoveButton/ArrayRemoveButton.js +2 -2
- package/build/esm/lib/unstable/kit/components/CopyButton/CopyButton.css +9 -0
- package/build/esm/lib/unstable/kit/components/CopyButton/CopyButton.d.ts +8 -0
- package/build/esm/lib/unstable/kit/components/CopyButton/CopyButton.js +14 -0
- package/build/esm/lib/unstable/kit/components/CopyButton/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/components/CopyButton/index.js +1 -0
- package/build/esm/lib/unstable/kit/components/EmptyEntityValue/EmptyEntityValue.d.ts +2 -0
- package/build/esm/lib/unstable/kit/components/EmptyEntityValue/EmptyEntityValue.js +6 -0
- package/build/esm/lib/unstable/kit/components/EmptyEntityValue/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/components/EmptyEntityValue/index.js +1 -0
- package/build/esm/lib/unstable/kit/components/EntityContainer/EntityContainer.css +22 -0
- package/build/esm/lib/unstable/kit/components/EntityContainer/EntityContainer.d.ts +9 -0
- package/build/esm/lib/unstable/kit/components/EntityContainer/EntityContainer.js +11 -0
- package/build/esm/lib/unstable/kit/components/EntityContainer/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/components/EntityContainer/index.js +1 -0
- package/build/esm/lib/unstable/kit/components/EntityError/EntityError.css +3 -0
- package/build/esm/lib/unstable/kit/components/EntityError/EntityError.d.ts +7 -0
- package/build/esm/lib/unstable/kit/components/EntityError/EntityError.js +11 -0
- package/build/esm/lib/unstable/kit/components/EntityError/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/components/EntityError/index.js +1 -0
- package/build/esm/lib/unstable/kit/components/LayoutContainer/LayoutContainer.css +11 -0
- package/build/esm/lib/unstable/kit/components/LayoutContainer/LayoutContainer.d.ts +8 -0
- package/build/esm/lib/unstable/kit/components/LayoutContainer/LayoutContainer.js +10 -0
- package/build/esm/lib/unstable/kit/components/LayoutContainer/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/components/LayoutContainer/index.js +1 -0
- package/build/esm/lib/unstable/kit/components/LongValue/LongValue.css +19 -0
- package/build/esm/lib/unstable/kit/components/LongValue/LongValue.d.ts +8 -0
- package/build/esm/lib/unstable/kit/components/LongValue/LongValue.js +39 -0
- package/build/esm/lib/unstable/kit/components/LongValue/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/components/LongValue/index.js +1 -0
- package/build/esm/lib/unstable/kit/components/MonacoContainer/MonacoContainer.css +21 -0
- package/build/esm/lib/unstable/kit/components/MonacoContainer/MonacoContainer.d.ts +13 -0
- package/build/esm/lib/unstable/kit/components/MonacoContainer/MonacoContainer.js +17 -0
- package/build/esm/lib/unstable/kit/components/MonacoContainer/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/components/MonacoContainer/index.js +1 -0
- package/build/esm/lib/unstable/kit/components/index.d.ts +7 -3
- package/build/esm/lib/unstable/kit/components/index.js +7 -3
- package/build/esm/lib/unstable/kit/constants/common.d.ts +2 -0
- package/build/esm/lib/unstable/kit/constants/common.js +2 -0
- package/build/esm/lib/unstable/kit/constants/config.d.ts +445 -76
- package/build/esm/lib/unstable/kit/constants/config.js +191 -69
- package/build/esm/lib/unstable/kit/constants/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/constants/index.js +1 -0
- package/build/esm/lib/unstable/kit/entities/Alert/Alert.d.ts +8 -0
- package/build/esm/lib/unstable/kit/entities/Alert/Alert.js +23 -0
- package/build/esm/lib/unstable/kit/entities/ArrayEntity/ArrayEntity.css +3 -0
- package/build/esm/lib/unstable/kit/entities/ArrayEntity/ArrayEntity.d.ts +7 -0
- package/build/esm/lib/unstable/kit/entities/ArrayEntity/ArrayEntity.js +53 -0
- package/build/esm/lib/unstable/kit/entities/ArrayEntity/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/entities/ArrayEntity/index.js +1 -0
- package/build/esm/lib/unstable/kit/entities/ArrayTable/ArrayTable.css +45 -0
- package/build/esm/lib/unstable/kit/entities/ArrayTable/ArrayTable.d.ts +8 -0
- package/build/esm/lib/unstable/kit/entities/ArrayTable/ArrayTable.js +98 -0
- package/build/esm/lib/unstable/kit/entities/DotValue/DotValue.d.ts +4 -0
- package/build/esm/lib/unstable/kit/entities/DotValue/DotValue.js +28 -0
- package/build/esm/lib/unstable/kit/entities/FewOfNested/FewOfNested.css +17 -0
- package/build/esm/lib/unstable/kit/entities/FewOfNested/FewOfNested.d.ts +8 -0
- package/build/esm/lib/unstable/kit/entities/FewOfNested/FewOfNested.js +69 -0
- package/build/esm/lib/unstable/kit/entities/Label/Label.d.ts +8 -0
- package/build/esm/lib/unstable/kit/entities/Label/Label.js +26 -0
- package/build/esm/lib/unstable/kit/entities/Monaco/Monaco.css +6 -0
- package/build/esm/lib/unstable/kit/entities/Monaco/Monaco.d.ts +8 -0
- package/build/esm/lib/unstable/kit/entities/Monaco/Monaco.js +77 -0
- package/build/esm/lib/unstable/kit/entities/Monaco/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/entities/Monaco/index.js +1 -0
- package/build/esm/lib/unstable/kit/entities/ObjectEntity/ObjectEntity.d.ts +6 -0
- package/build/esm/lib/unstable/kit/entities/ObjectEntity/ObjectEntity.js +11 -0
- package/build/esm/lib/unstable/kit/entities/ObjectEntity/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/entities/ObjectEntity/index.js +1 -0
- package/build/esm/lib/unstable/kit/entities/ObjectInline/ObjectInline.css +11 -0
- package/build/esm/lib/unstable/kit/entities/ObjectInline/ObjectInline.d.ts +8 -0
- package/build/esm/lib/unstable/kit/entities/ObjectInline/ObjectInline.js +22 -0
- package/build/esm/lib/unstable/kit/entities/OneOfNested/OneOfNested.css +17 -0
- package/build/esm/lib/unstable/kit/entities/OneOfNested/OneOfNested.d.ts +12 -0
- package/build/esm/lib/unstable/kit/entities/OneOfNested/OneOfNested.js +66 -0
- package/build/esm/lib/unstable/kit/entities/TextContent/TextContent.css +19 -0
- package/build/esm/lib/unstable/kit/entities/TextContent/TextContent.d.ts +9 -0
- package/build/esm/lib/unstable/kit/entities/TextContent/TextContent.js +28 -0
- package/build/esm/lib/unstable/kit/entities/index.d.ts +11 -0
- package/build/esm/lib/unstable/kit/entities/index.js +11 -0
- package/build/esm/lib/unstable/kit/form-entities/CheckboxGroupInput/CheckboxGroupInput.css +9 -0
- package/build/esm/lib/unstable/kit/form-entities/CheckboxGroupInput/CheckboxGroupInput.d.ts +9 -0
- package/build/esm/lib/unstable/kit/form-entities/CheckboxGroupInput/CheckboxGroupInput.js +38 -0
- package/build/esm/lib/unstable/kit/form-entities/CheckboxGroupInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/CheckboxGroupInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/CheckboxInput/CheckboxInput.css +11 -0
- package/build/esm/lib/unstable/kit/form-entities/CheckboxInput/CheckboxInput.d.ts +6 -0
- package/build/esm/lib/unstable/kit/form-entities/CheckboxInput/CheckboxInput.js +16 -0
- package/build/esm/lib/unstable/kit/form-entities/CheckboxInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/CheckboxInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/ColorPickerInput/ColorPickerInput.css +6 -0
- package/build/esm/lib/unstable/kit/form-entities/ColorPickerInput/ColorPickerInput.d.ts +6 -0
- package/build/esm/lib/unstable/kit/form-entities/ColorPickerInput/ColorPickerInput.js +22 -0
- package/build/esm/lib/unstable/kit/form-entities/ColorPickerInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/ColorPickerInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/DateInput/DateInput.d.ts +7 -0
- package/build/esm/lib/unstable/kit/form-entities/DateInput/DateInput.js +44 -0
- package/build/esm/lib/unstable/kit/form-entities/FileInput/FileInput.d.ts +6 -0
- package/build/esm/lib/unstable/kit/form-entities/FileInput/FileInput.js +49 -0
- package/build/esm/lib/unstable/kit/form-entities/MultiSelectInput/MultiSelectInput.d.ts +7 -0
- package/build/esm/lib/unstable/kit/form-entities/MultiSelectInput/MultiSelectInput.js +34 -0
- package/build/esm/lib/unstable/kit/form-entities/MultiSelectInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/MultiSelectInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/NumberInput/NumberInput.css +3 -0
- package/build/esm/lib/unstable/kit/form-entities/NumberInput/NumberInput.d.ts +6 -0
- package/build/esm/lib/unstable/kit/form-entities/NumberInput/NumberInput.js +12 -0
- package/build/esm/lib/unstable/kit/form-entities/NumberInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/NumberInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/NumberWithScaleInput/NumberWithScaleInput.css +6 -0
- package/build/esm/lib/unstable/kit/form-entities/NumberWithScaleInput/NumberWithScaleInput.d.ts +12 -0
- package/build/esm/lib/unstable/kit/form-entities/NumberWithScaleInput/NumberWithScaleInput.js +73 -0
- package/build/esm/lib/unstable/kit/form-entities/NumberWithScaleInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/NumberWithScaleInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/PasswordInput/PasswordInput.css +3 -0
- package/build/esm/lib/unstable/kit/form-entities/PasswordInput/PasswordInput.d.ts +6 -0
- package/build/esm/lib/unstable/kit/form-entities/PasswordInput/PasswordInput.js +12 -0
- package/build/esm/lib/unstable/kit/form-entities/PasswordInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/PasswordInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/RadioGroupInput/RadioGroupInput.css +13 -0
- package/build/esm/lib/unstable/kit/form-entities/RadioGroupInput/RadioGroupInput.d.ts +8 -0
- package/build/esm/lib/unstable/kit/form-entities/RadioGroupInput/RadioGroupInput.js +21 -0
- package/build/esm/lib/unstable/kit/form-entities/RadioGroupInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/RadioGroupInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/RangeInput/RangeInput.css +8 -0
- package/build/esm/lib/unstable/kit/form-entities/RangeInput/RangeInput.d.ts +7 -0
- package/build/esm/lib/unstable/kit/form-entities/RangeInput/RangeInput.js +67 -0
- package/build/esm/lib/unstable/kit/form-entities/RangeInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/RangeInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/RangeSliderInput/RangeSliderInput.d.ts +6 -0
- package/build/esm/lib/unstable/kit/form-entities/RangeSliderInput/RangeSliderInput.js +31 -0
- package/build/esm/lib/unstable/kit/form-entities/RangeSliderInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/RangeSliderInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/SegmentedRadioGroupInput/SegmentedRadioGroupInput.css +6 -0
- package/build/esm/lib/unstable/kit/form-entities/SegmentedRadioGroupInput/SegmentedRadioGroupInput.d.ts +8 -0
- package/build/esm/lib/unstable/kit/form-entities/SegmentedRadioGroupInput/SegmentedRadioGroupInput.js +26 -0
- package/build/esm/lib/unstable/kit/form-entities/SegmentedRadioGroupInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/SegmentedRadioGroupInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/SelectInput/SelectInput.d.ts +8 -0
- package/build/esm/lib/unstable/kit/form-entities/SelectInput/SelectInput.js +31 -0
- package/build/esm/lib/unstable/kit/form-entities/SelectInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/SelectInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/SliderInput/SliderInput.d.ts +5 -0
- package/build/esm/lib/unstable/kit/form-entities/SliderInput/SliderInput.js +16 -0
- package/build/esm/lib/unstable/kit/form-entities/SliderInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/SliderInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/StringInput/StringInput.css +3 -0
- package/build/esm/lib/unstable/kit/form-entities/StringInput/StringInput.d.ts +6 -0
- package/build/esm/lib/unstable/kit/form-entities/StringInput/StringInput.js +11 -0
- package/build/esm/lib/unstable/kit/form-entities/StringInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/StringInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/StringNumberWithScaleInput/StringNumberWithScaleInput.css +6 -0
- package/build/esm/lib/unstable/kit/form-entities/StringNumberWithScaleInput/StringNumberWithScaleInput.d.ts +12 -0
- package/build/esm/lib/unstable/kit/form-entities/StringNumberWithScaleInput/StringNumberWithScaleInput.js +78 -0
- package/build/esm/lib/unstable/kit/form-entities/StringNumberWithScaleInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/StringNumberWithScaleInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/SwitchInput/SwitchInput.css +11 -0
- package/build/esm/lib/unstable/kit/form-entities/SwitchInput/SwitchInput.d.ts +6 -0
- package/build/esm/lib/unstable/kit/form-entities/SwitchInput/SwitchInput.js +16 -0
- package/build/esm/lib/unstable/kit/form-entities/SwitchInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/SwitchInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/TextAreaInput/TextAreaInput.css +3 -0
- package/build/esm/lib/unstable/kit/form-entities/TextAreaInput/TextAreaInput.d.ts +6 -0
- package/build/esm/lib/unstable/kit/form-entities/TextAreaInput/TextAreaInput.js +11 -0
- package/build/esm/lib/unstable/kit/form-entities/TextAreaInput/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-entities/TextAreaInput/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-entities/index.d.ts +19 -0
- package/build/esm/lib/unstable/kit/form-entities/index.js +19 -0
- package/build/esm/lib/unstable/kit/form-layouts/FormColumn/FormColumn.css +21 -0
- package/build/esm/lib/unstable/kit/form-layouts/FormColumn/FormColumn.d.ts +6 -0
- package/build/esm/lib/unstable/kit/form-layouts/FormColumn/FormColumn.js +31 -0
- package/build/esm/lib/unstable/kit/form-layouts/FormColumn/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-layouts/FormColumn/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-layouts/FormRow/FormRow.css +25 -0
- package/build/esm/lib/unstable/kit/form-layouts/FormRow/FormRow.d.ts +6 -0
- package/build/esm/lib/unstable/kit/form-layouts/FormRow/FormRow.js +31 -0
- package/build/esm/lib/unstable/kit/form-layouts/FormRow/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/form-layouts/FormRow/index.js +1 -0
- package/build/esm/lib/unstable/kit/form-layouts/index.d.ts +2 -0
- package/build/esm/lib/unstable/kit/form-layouts/index.js +2 -0
- package/build/esm/lib/unstable/kit/index.d.ts +9 -0
- package/build/esm/lib/unstable/kit/index.js +9 -0
- package/build/esm/lib/unstable/kit/layouts/Accordeon/Accordeon.css +46 -0
- package/build/esm/lib/unstable/kit/layouts/Accordeon/Accordeon.d.ts +10 -0
- package/build/esm/lib/unstable/kit/layouts/Accordeon/Accordeon.js +44 -0
- package/build/esm/lib/unstable/kit/layouts/Card/Card.css +41 -0
- package/build/esm/lib/unstable/kit/layouts/Card/Card.d.ts +8 -0
- package/build/esm/lib/unstable/kit/layouts/Card/Card.js +47 -0
- package/build/esm/lib/unstable/kit/layouts/Card/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/layouts/Card/index.js +1 -0
- package/build/esm/lib/unstable/kit/layouts/Section/Section.css +34 -0
- package/build/esm/lib/unstable/kit/layouts/Section/Section.d.ts +8 -0
- package/build/esm/lib/unstable/kit/layouts/Section/Section.js +36 -0
- package/build/esm/lib/unstable/kit/layouts/Transparent/Transparent.css +12 -0
- package/build/esm/lib/unstable/kit/layouts/Transparent/Transparent.d.ts +6 -0
- package/build/esm/lib/unstable/kit/layouts/Transparent/Transparent.js +17 -0
- package/build/esm/lib/unstable/kit/layouts/index.d.ts +4 -0
- package/build/esm/lib/unstable/kit/layouts/index.js +4 -0
- package/build/esm/lib/unstable/kit/overview-entities/BooleanValue/BooleanValue.d.ts +14 -0
- package/build/esm/lib/unstable/kit/overview-entities/BooleanValue/BooleanValue.js +21 -0
- package/build/esm/lib/unstable/kit/overview-entities/BooleanValue/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/BooleanValue/index.js +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/ColorPickerValue/ColorPickerValue.css +6 -0
- package/build/esm/lib/unstable/kit/overview-entities/ColorPickerValue/ColorPickerValue.d.ts +6 -0
- package/build/esm/lib/unstable/kit/overview-entities/ColorPickerValue/ColorPickerValue.js +15 -0
- package/build/esm/lib/unstable/kit/overview-entities/ColorPickerValue/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/ColorPickerValue/index.js +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/DateValue/DateValue.d.ts +9 -0
- package/build/esm/lib/unstable/kit/overview-entities/DateValue/DateValue.js +16 -0
- package/build/esm/lib/unstable/kit/overview-entities/DateValue/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/DateValue/index.js +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/NumberValue/NumberValue.d.ts +5 -0
- package/build/esm/lib/unstable/kit/overview-entities/NumberValue/NumberValue.js +10 -0
- package/build/esm/lib/unstable/kit/overview-entities/NumberValue/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/NumberValue/index.js +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/NumberWithScaleValue/NumberWithScaleValue.d.ts +10 -0
- package/build/esm/lib/unstable/kit/overview-entities/NumberWithScaleValue/NumberWithScaleValue.js +30 -0
- package/build/esm/lib/unstable/kit/overview-entities/NumberWithScaleValue/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/NumberWithScaleValue/index.js +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/PrimitiveArrayValue/PrimitiveArrayValue.d.ts +7 -0
- package/build/esm/lib/unstable/kit/overview-entities/PrimitiveArrayValue/PrimitiveArrayValue.js +23 -0
- package/build/esm/lib/unstable/kit/overview-entities/PrimitiveArrayValue/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/PrimitiveArrayValue/index.js +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/RangeValue/RangeValue.d.ts +7 -0
- package/build/esm/lib/unstable/kit/overview-entities/RangeValue/RangeValue.js +20 -0
- package/build/esm/lib/unstable/kit/overview-entities/RangeValue/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/RangeValue/index.js +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/StringNumberWithScaleValue/StringNumberWithScaleValue.d.ts +10 -0
- package/build/esm/lib/unstable/kit/overview-entities/StringNumberWithScaleValue/StringNumberWithScaleValue.js +31 -0
- package/build/esm/lib/unstable/kit/overview-entities/StringNumberWithScaleValue/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/StringNumberWithScaleValue/index.js +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/StringValue/StringValue.d.ts +5 -0
- package/build/esm/lib/unstable/kit/overview-entities/StringValue/StringValue.js +9 -0
- package/build/esm/lib/unstable/kit/overview-entities/StringValue/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/StringValue/index.js +1 -0
- package/build/esm/lib/unstable/kit/overview-entities/index.d.ts +9 -0
- package/build/esm/lib/unstable/kit/overview-entities/index.js +9 -0
- package/build/esm/lib/unstable/kit/overview-layouts/OverviewColumn/OverviewColumn.css +22 -0
- package/build/esm/lib/unstable/kit/overview-layouts/OverviewColumn/OverviewColumn.d.ts +3 -0
- package/build/esm/lib/unstable/kit/overview-layouts/OverviewColumn/OverviewColumn.js +24 -0
- package/build/esm/lib/unstable/kit/overview-layouts/OverviewColumn/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/overview-layouts/OverviewColumn/index.js +1 -0
- package/build/esm/lib/unstable/kit/overview-layouts/OverviewRow/OverviewRow.css +38 -0
- package/build/esm/lib/unstable/kit/overview-layouts/OverviewRow/OverviewRow.d.ts +3 -0
- package/build/esm/lib/unstable/kit/overview-layouts/OverviewRow/OverviewRow.js +24 -0
- package/build/esm/lib/unstable/kit/overview-layouts/OverviewRow/index.d.ts +1 -0
- package/build/esm/lib/unstable/kit/overview-layouts/OverviewRow/index.js +1 -0
- package/build/esm/lib/unstable/kit/overview-layouts/index.d.ts +2 -0
- package/build/esm/lib/unstable/kit/overview-layouts/index.js +2 -0
- package/build/esm/lib/unstable/kit/utils/common.d.ts +4 -1
- package/build/esm/lib/unstable/kit/utils/common.js +15 -4
- package/build/esm/lib/unstable/kit/utils/date.d.ts +2 -0
- package/build/esm/lib/unstable/kit/utils/date.js +11 -0
- package/build/esm/lib/unstable/kit/utils/index.d.ts +3 -1
- package/build/esm/lib/unstable/kit/utils/index.js +3 -1
- package/build/esm/lib/unstable/kit/utils/transformer.d.ts +18 -0
- package/build/esm/lib/unstable/kit/utils/transformer.js +2907 -0
- package/build/esm/unstable.d.ts +1 -3
- package/build/esm/unstable.js +1 -3
- package/package.json +3 -2
- package/build/cjs/lib/unstable/core/Entity/Entity.d.ts +0 -10
- package/build/cjs/lib/unstable/core/Entity/Entity.js +0 -78
- package/build/cjs/lib/unstable/core/Entity/index.d.ts +0 -3
- package/build/cjs/lib/unstable/core/Entity/index.js +0 -7
- package/build/cjs/lib/unstable/core/Entity/types.d.ts +0 -27
- package/build/cjs/lib/unstable/core/Entity/utils.d.ts +0 -3
- package/build/cjs/lib/unstable/core/Entity/utils.js +0 -40
- package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/index.d.ts +0 -2
- package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/index.js +0 -7
- package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/useEntitiesState.d.ts +0 -7
- package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/useEntitiesState.js +0 -25
- package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/useSchemaRendererMutators.d.ts +0 -10
- package/build/cjs/lib/unstable/core/useSchemaRenderer/hooks/useSchemaRendererMutators.js +0 -17
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/async-validation.d.ts +0 -3
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/async-validation.js +0 -35
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/index.d.ts +0 -2
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/index.js +0 -5
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/async-validation/types.d.ts +0 -34
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/external-errors.d.ts +0 -3
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/external-errors.js +0 -60
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/index.d.ts +0 -2
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/index.js +0 -5
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/external-errors/types.d.ts +0 -25
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/index.d.ts +0 -13
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/index.js +0 -16
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/index.d.ts +0 -2
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/index.js +0 -5
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/schema-mutators.d.ts +0 -3
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/schema-mutators.js +0 -81
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/types.d.ts +0 -26
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/index.d.ts +0 -2
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/index.js +0 -5
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/trigger-fields.d.ts +0 -2
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/trigger-fields.js +0 -12
- package/build/cjs/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/types.d.ts +0 -6
- package/build/cjs/lib/unstable/core/useSchemaRenderer/types.d.ts +0 -22
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/common.d.ts +0 -1
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/common.js +0 -11
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-ajv-validate.d.ts +0 -11
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/get-ajv-validate.js +0 -39
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-ajv-error.d.ts +0 -10
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-ajv-error.js +0 -51
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-ajv-validate-errors.d.ts +0 -20
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-ajv-validate-errors.js +0 -43
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-entity-parameters-error.d.ts +0 -15
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-entity-parameters-error.js +0 -36
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-errors-state.d.ts +0 -12
- package/build/cjs/lib/unstable/core/useSchemaRenderer/utils/process-errors-state.js +0 -17
- package/build/cjs/lib/unstable/kit/components/ControlContainer/ControlContainer.css +0 -20
- package/build/cjs/lib/unstable/kit/components/ControlContainer/ControlContainer.d.ts +0 -7
- package/build/cjs/lib/unstable/kit/components/ControlContainer/ControlContainer.js +0 -14
- package/build/cjs/lib/unstable/kit/components/ControlContainer/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/components/ControlContainer/index.js +0 -5
- package/build/cjs/lib/unstable/kit/components/ControlError/ControlError.css +0 -3
- package/build/cjs/lib/unstable/kit/components/ControlError/ControlError.d.ts +0 -6
- package/build/cjs/lib/unstable/kit/components/ControlError/ControlError.js +0 -15
- package/build/cjs/lib/unstable/kit/components/ControlError/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/components/ControlError/index.js +0 -5
- package/build/cjs/lib/unstable/kit/components/WrapperContainer/WrapperContainer.css +0 -8
- package/build/cjs/lib/unstable/kit/components/WrapperContainer/WrapperContainer.d.ts +0 -6
- package/build/cjs/lib/unstable/kit/components/WrapperContainer/WrapperContainer.js +0 -13
- package/build/cjs/lib/unstable/kit/components/WrapperContainer/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/components/WrapperContainer/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/Alert/Alert.d.ts +0 -9
- package/build/cjs/lib/unstable/kit/controls/Alert/Alert.js +0 -27
- package/build/cjs/lib/unstable/kit/controls/ArrayBase/ArrayBase.d.ts +0 -8
- package/build/cjs/lib/unstable/kit/controls/ArrayBase/ArrayBase.js +0 -49
- package/build/cjs/lib/unstable/kit/controls/ArrayBase/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/ArrayBase/index.js +0 -4
- package/build/cjs/lib/unstable/kit/controls/ArrayTable/ArrayTable.css +0 -39
- package/build/cjs/lib/unstable/kit/controls/ArrayTable/ArrayTable.d.ts +0 -8
- package/build/cjs/lib/unstable/kit/controls/ArrayTable/ArrayTable.js +0 -88
- package/build/cjs/lib/unstable/kit/controls/Checkbox/Checkbox.css +0 -11
- package/build/cjs/lib/unstable/kit/controls/Checkbox/Checkbox.d.ts +0 -6
- package/build/cjs/lib/unstable/kit/controls/Checkbox/Checkbox.js +0 -20
- package/build/cjs/lib/unstable/kit/controls/Checkbox/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/Checkbox/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.css +0 -9
- package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.d.ts +0 -9
- package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.js +0 -42
- package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/CheckboxGroup/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/ColorPicker/ColorPicker.css +0 -6
- package/build/cjs/lib/unstable/kit/controls/ColorPicker/ColorPicker.d.ts +0 -6
- package/build/cjs/lib/unstable/kit/controls/ColorPicker/ColorPicker.js +0 -25
- package/build/cjs/lib/unstable/kit/controls/ColorPicker/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/ColorPicker/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/DateInput/DateInput.d.ts +0 -8
- package/build/cjs/lib/unstable/kit/controls/DateInput/DateInput.js +0 -56
- package/build/cjs/lib/unstable/kit/controls/DotValue/DotValue.d.ts +0 -5
- package/build/cjs/lib/unstable/kit/controls/DotValue/DotValue.js +0 -30
- package/build/cjs/lib/unstable/kit/controls/FewOfNested/FewOfNested.css +0 -14
- package/build/cjs/lib/unstable/kit/controls/FewOfNested/FewOfNested.d.ts +0 -8
- package/build/cjs/lib/unstable/kit/controls/FewOfNested/FewOfNested.js +0 -63
- package/build/cjs/lib/unstable/kit/controls/FileInput/FileInput.d.ts +0 -7
- package/build/cjs/lib/unstable/kit/controls/FileInput/FileInput.js +0 -53
- package/build/cjs/lib/unstable/kit/controls/Label/Label.d.ts +0 -9
- package/build/cjs/lib/unstable/kit/controls/Label/Label.js +0 -28
- package/build/cjs/lib/unstable/kit/controls/MultiSelect/MultiSelect.d.ts +0 -8
- package/build/cjs/lib/unstable/kit/controls/MultiSelect/MultiSelect.js +0 -38
- package/build/cjs/lib/unstable/kit/controls/MultiSelect/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/MultiSelect/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/NumberBase/NumberBase.css +0 -3
- package/build/cjs/lib/unstable/kit/controls/NumberBase/NumberBase.d.ts +0 -6
- package/build/cjs/lib/unstable/kit/controls/NumberBase/NumberBase.js +0 -16
- package/build/cjs/lib/unstable/kit/controls/NumberBase/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/NumberBase/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/ObjectBase/ObjectBase.d.ts +0 -7
- package/build/cjs/lib/unstable/kit/controls/ObjectBase/ObjectBase.js +0 -15
- package/build/cjs/lib/unstable/kit/controls/ObjectBase/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/ObjectBase/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/ObjectInline/ObjectInline.css +0 -8
- package/build/cjs/lib/unstable/kit/controls/ObjectInline/ObjectInline.d.ts +0 -8
- package/build/cjs/lib/unstable/kit/controls/ObjectInline/ObjectInline.js +0 -25
- package/build/cjs/lib/unstable/kit/controls/OneOfNested/OneOfNested.css +0 -14
- package/build/cjs/lib/unstable/kit/controls/OneOfNested/OneOfNested.d.ts +0 -12
- package/build/cjs/lib/unstable/kit/controls/OneOfNested/OneOfNested.js +0 -64
- package/build/cjs/lib/unstable/kit/controls/Password/Password.css +0 -3
- package/build/cjs/lib/unstable/kit/controls/Password/Password.d.ts +0 -6
- package/build/cjs/lib/unstable/kit/controls/Password/Password.js +0 -16
- package/build/cjs/lib/unstable/kit/controls/Password/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/Password/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/RadioGroup/RadioGroup.css +0 -13
- package/build/cjs/lib/unstable/kit/controls/RadioGroup/RadioGroup.d.ts +0 -8
- package/build/cjs/lib/unstable/kit/controls/RadioGroup/RadioGroup.js +0 -24
- package/build/cjs/lib/unstable/kit/controls/RadioGroup/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/RadioGroup/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/RangeSlider/RangeSlider.d.ts +0 -7
- package/build/cjs/lib/unstable/kit/controls/RangeSlider/RangeSlider.js +0 -35
- package/build/cjs/lib/unstable/kit/controls/RangeSlider/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/RangeSlider/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/SegmentedRadioGroup/SegmentedRadioGroup.css +0 -6
- package/build/cjs/lib/unstable/kit/controls/SegmentedRadioGroup/SegmentedRadioGroup.d.ts +0 -8
- package/build/cjs/lib/unstable/kit/controls/SegmentedRadioGroup/SegmentedRadioGroup.js +0 -29
- package/build/cjs/lib/unstable/kit/controls/SegmentedRadioGroup/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/SegmentedRadioGroup/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/Select/Select.d.ts +0 -9
- package/build/cjs/lib/unstable/kit/controls/Select/Select.js +0 -35
- package/build/cjs/lib/unstable/kit/controls/Select/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/Select/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/Slider/Slider.d.ts +0 -6
- package/build/cjs/lib/unstable/kit/controls/Slider/Slider.js +0 -21
- package/build/cjs/lib/unstable/kit/controls/Slider/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/Slider/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/StringBase/StringBase.css +0 -3
- package/build/cjs/lib/unstable/kit/controls/StringBase/StringBase.d.ts +0 -6
- package/build/cjs/lib/unstable/kit/controls/StringBase/StringBase.js +0 -15
- package/build/cjs/lib/unstable/kit/controls/StringBase/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/StringBase/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/Switch/Switch.css +0 -11
- package/build/cjs/lib/unstable/kit/controls/Switch/Switch.d.ts +0 -6
- package/build/cjs/lib/unstable/kit/controls/Switch/Switch.js +0 -20
- package/build/cjs/lib/unstable/kit/controls/Switch/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/Switch/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/TextArea/TextArea.css +0 -3
- package/build/cjs/lib/unstable/kit/controls/TextArea/TextArea.d.ts +0 -6
- package/build/cjs/lib/unstable/kit/controls/TextArea/TextArea.js +0 -15
- package/build/cjs/lib/unstable/kit/controls/TextArea/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/controls/TextArea/index.js +0 -5
- package/build/cjs/lib/unstable/kit/controls/TextContent/TextContent.css +0 -10
- package/build/cjs/lib/unstable/kit/controls/TextContent/TextContent.d.ts +0 -9
- package/build/cjs/lib/unstable/kit/controls/TextContent/TextContent.js +0 -29
- package/build/cjs/lib/unstable/kit/controls/index.d.ts +0 -26
- package/build/cjs/lib/unstable/kit/controls/index.js +0 -55
- package/build/cjs/lib/unstable/kit/wrappers/Accordeon/Accordeon.css +0 -35
- package/build/cjs/lib/unstable/kit/wrappers/Accordeon/Accordeon.d.ts +0 -10
- package/build/cjs/lib/unstable/kit/wrappers/Accordeon/Accordeon.js +0 -39
- package/build/cjs/lib/unstable/kit/wrappers/Row/Row.css +0 -24
- package/build/cjs/lib/unstable/kit/wrappers/Row/Row.d.ts +0 -6
- package/build/cjs/lib/unstable/kit/wrappers/Row/Row.js +0 -35
- package/build/cjs/lib/unstable/kit/wrappers/Row/index.d.ts +0 -1
- package/build/cjs/lib/unstable/kit/wrappers/Row/index.js +0 -5
- package/build/cjs/lib/unstable/kit/wrappers/Section/Section.css +0 -23
- package/build/cjs/lib/unstable/kit/wrappers/Section/Section.d.ts +0 -8
- package/build/cjs/lib/unstable/kit/wrappers/Section/Section.js +0 -36
- package/build/cjs/lib/unstable/kit/wrappers/Transparent/Transparent.css +0 -6
- package/build/cjs/lib/unstable/kit/wrappers/Transparent/Transparent.d.ts +0 -3
- package/build/cjs/lib/unstable/kit/wrappers/Transparent/Transparent.js +0 -17
- package/build/cjs/lib/unstable/kit/wrappers/index.d.ts +0 -4
- package/build/cjs/lib/unstable/kit/wrappers/index.js +0 -11
- package/build/esm/lib/unstable/core/Entity/Entity.d.ts +0 -10
- package/build/esm/lib/unstable/core/Entity/Entity.js +0 -74
- package/build/esm/lib/unstable/core/Entity/index.d.ts +0 -3
- package/build/esm/lib/unstable/core/Entity/index.js +0 -2
- package/build/esm/lib/unstable/core/Entity/types.d.ts +0 -27
- package/build/esm/lib/unstable/core/Entity/utils.d.ts +0 -3
- package/build/esm/lib/unstable/core/Entity/utils.js +0 -35
- package/build/esm/lib/unstable/core/useSchemaRenderer/hooks/index.d.ts +0 -2
- package/build/esm/lib/unstable/core/useSchemaRenderer/hooks/index.js +0 -2
- package/build/esm/lib/unstable/core/useSchemaRenderer/hooks/useEntitiesState.d.ts +0 -7
- package/build/esm/lib/unstable/core/useSchemaRenderer/hooks/useEntitiesState.js +0 -20
- package/build/esm/lib/unstable/core/useSchemaRenderer/hooks/useSchemaRendererMutators.d.ts +0 -10
- package/build/esm/lib/unstable/core/useSchemaRenderer/hooks/useSchemaRendererMutators.js +0 -13
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/async-validation/async-validation.d.ts +0 -3
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/async-validation/async-validation.js +0 -29
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/async-validation/index.d.ts +0 -2
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/async-validation/index.js +0 -2
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/async-validation/types.d.ts +0 -34
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/external-errors/external-errors.d.ts +0 -3
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/external-errors/external-errors.js +0 -54
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/external-errors/index.d.ts +0 -2
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/external-errors/index.js +0 -2
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/external-errors/types.d.ts +0 -25
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/index.d.ts +0 -13
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/index.js +0 -13
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/index.d.ts +0 -2
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/index.js +0 -2
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/schema-mutators.d.ts +0 -3
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/schema-mutators.js +0 -75
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/schema-mutators/types.d.ts +0 -26
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/index.d.ts +0 -2
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/index.js +0 -2
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/trigger-fields.d.ts +0 -2
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/trigger-fields.js +0 -8
- package/build/esm/lib/unstable/core/useSchemaRenderer/mutators/trigger-fields/types.d.ts +0 -6
- package/build/esm/lib/unstable/core/useSchemaRenderer/types.d.ts +0 -22
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/common.d.ts +0 -1
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/common.js +0 -7
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-ajv-validate.d.ts +0 -11
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/get-ajv-validate.js +0 -34
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-ajv-error.d.ts +0 -10
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-ajv-error.js +0 -46
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-ajv-validate-errors.d.ts +0 -20
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-ajv-validate-errors.js +0 -39
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-entity-parameters-error.d.ts +0 -15
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-entity-parameters-error.js +0 -31
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-errors-state.d.ts +0 -12
- package/build/esm/lib/unstable/core/useSchemaRenderer/utils/process-errors-state.js +0 -12
- package/build/esm/lib/unstable/kit/components/ControlContainer/ControlContainer.css +0 -20
- package/build/esm/lib/unstable/kit/components/ControlContainer/ControlContainer.d.ts +0 -8
- package/build/esm/lib/unstable/kit/components/ControlContainer/ControlContainer.js +0 -12
- package/build/esm/lib/unstable/kit/components/ControlContainer/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/components/ControlContainer/index.js +0 -1
- package/build/esm/lib/unstable/kit/components/ControlError/ControlError.css +0 -3
- package/build/esm/lib/unstable/kit/components/ControlError/ControlError.d.ts +0 -7
- package/build/esm/lib/unstable/kit/components/ControlError/ControlError.js +0 -11
- package/build/esm/lib/unstable/kit/components/ControlError/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/components/ControlError/index.js +0 -1
- package/build/esm/lib/unstable/kit/components/WrapperContainer/WrapperContainer.css +0 -8
- package/build/esm/lib/unstable/kit/components/WrapperContainer/WrapperContainer.d.ts +0 -7
- package/build/esm/lib/unstable/kit/components/WrapperContainer/WrapperContainer.js +0 -11
- package/build/esm/lib/unstable/kit/components/WrapperContainer/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/components/WrapperContainer/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/Alert/Alert.d.ts +0 -9
- package/build/esm/lib/unstable/kit/controls/Alert/Alert.js +0 -24
- package/build/esm/lib/unstable/kit/controls/ArrayBase/ArrayBase.d.ts +0 -8
- package/build/esm/lib/unstable/kit/controls/ArrayBase/ArrayBase.js +0 -45
- package/build/esm/lib/unstable/kit/controls/ArrayBase/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/ArrayBase/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/ArrayTable/ArrayTable.css +0 -39
- package/build/esm/lib/unstable/kit/controls/ArrayTable/ArrayTable.d.ts +0 -9
- package/build/esm/lib/unstable/kit/controls/ArrayTable/ArrayTable.js +0 -85
- package/build/esm/lib/unstable/kit/controls/Checkbox/Checkbox.css +0 -11
- package/build/esm/lib/unstable/kit/controls/Checkbox/Checkbox.d.ts +0 -7
- package/build/esm/lib/unstable/kit/controls/Checkbox/Checkbox.js +0 -17
- package/build/esm/lib/unstable/kit/controls/Checkbox/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/Checkbox/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.css +0 -9
- package/build/esm/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.d.ts +0 -10
- package/build/esm/lib/unstable/kit/controls/CheckboxGroup/CheckboxGroup.js +0 -39
- package/build/esm/lib/unstable/kit/controls/CheckboxGroup/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/CheckboxGroup/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/ColorPicker/ColorPicker.css +0 -6
- package/build/esm/lib/unstable/kit/controls/ColorPicker/ColorPicker.d.ts +0 -7
- package/build/esm/lib/unstable/kit/controls/ColorPicker/ColorPicker.js +0 -23
- package/build/esm/lib/unstable/kit/controls/ColorPicker/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/ColorPicker/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/DateInput/DateInput.d.ts +0 -9
- package/build/esm/lib/unstable/kit/controls/DateInput/DateInput.js +0 -54
- package/build/esm/lib/unstable/kit/controls/DotValue/DotValue.d.ts +0 -5
- package/build/esm/lib/unstable/kit/controls/DotValue/DotValue.js +0 -26
- package/build/esm/lib/unstable/kit/controls/FewOfNested/FewOfNested.css +0 -14
- package/build/esm/lib/unstable/kit/controls/FewOfNested/FewOfNested.d.ts +0 -9
- package/build/esm/lib/unstable/kit/controls/FewOfNested/FewOfNested.js +0 -60
- package/build/esm/lib/unstable/kit/controls/FileInput/FileInput.d.ts +0 -7
- package/build/esm/lib/unstable/kit/controls/FileInput/FileInput.js +0 -50
- package/build/esm/lib/unstable/kit/controls/Label/Label.d.ts +0 -9
- package/build/esm/lib/unstable/kit/controls/Label/Label.js +0 -25
- package/build/esm/lib/unstable/kit/controls/MultiSelect/MultiSelect.d.ts +0 -8
- package/build/esm/lib/unstable/kit/controls/MultiSelect/MultiSelect.js +0 -35
- package/build/esm/lib/unstable/kit/controls/MultiSelect/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/MultiSelect/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/NumberBase/NumberBase.css +0 -3
- package/build/esm/lib/unstable/kit/controls/NumberBase/NumberBase.d.ts +0 -7
- package/build/esm/lib/unstable/kit/controls/NumberBase/NumberBase.js +0 -13
- package/build/esm/lib/unstable/kit/controls/NumberBase/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/NumberBase/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/ObjectBase/ObjectBase.d.ts +0 -7
- package/build/esm/lib/unstable/kit/controls/ObjectBase/ObjectBase.js +0 -11
- package/build/esm/lib/unstable/kit/controls/ObjectBase/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/ObjectBase/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/ObjectInline/ObjectInline.css +0 -8
- package/build/esm/lib/unstable/kit/controls/ObjectInline/ObjectInline.d.ts +0 -9
- package/build/esm/lib/unstable/kit/controls/ObjectInline/ObjectInline.js +0 -22
- package/build/esm/lib/unstable/kit/controls/OneOfNested/OneOfNested.css +0 -14
- package/build/esm/lib/unstable/kit/controls/OneOfNested/OneOfNested.d.ts +0 -13
- package/build/esm/lib/unstable/kit/controls/OneOfNested/OneOfNested.js +0 -61
- package/build/esm/lib/unstable/kit/controls/Password/Password.css +0 -3
- package/build/esm/lib/unstable/kit/controls/Password/Password.d.ts +0 -7
- package/build/esm/lib/unstable/kit/controls/Password/Password.js +0 -13
- package/build/esm/lib/unstable/kit/controls/Password/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/Password/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/RadioGroup/RadioGroup.css +0 -13
- package/build/esm/lib/unstable/kit/controls/RadioGroup/RadioGroup.d.ts +0 -9
- package/build/esm/lib/unstable/kit/controls/RadioGroup/RadioGroup.js +0 -22
- package/build/esm/lib/unstable/kit/controls/RadioGroup/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/RadioGroup/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/RangeSlider/RangeSlider.d.ts +0 -7
- package/build/esm/lib/unstable/kit/controls/RangeSlider/RangeSlider.js +0 -32
- package/build/esm/lib/unstable/kit/controls/RangeSlider/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/RangeSlider/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/SegmentedRadioGroup/SegmentedRadioGroup.css +0 -6
- package/build/esm/lib/unstable/kit/controls/SegmentedRadioGroup/SegmentedRadioGroup.d.ts +0 -9
- package/build/esm/lib/unstable/kit/controls/SegmentedRadioGroup/SegmentedRadioGroup.js +0 -27
- package/build/esm/lib/unstable/kit/controls/SegmentedRadioGroup/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/SegmentedRadioGroup/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/Select/Select.d.ts +0 -9
- package/build/esm/lib/unstable/kit/controls/Select/Select.js +0 -32
- package/build/esm/lib/unstable/kit/controls/Select/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/Select/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/Slider/Slider.d.ts +0 -6
- package/build/esm/lib/unstable/kit/controls/Slider/Slider.js +0 -17
- package/build/esm/lib/unstable/kit/controls/Slider/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/Slider/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/StringBase/StringBase.css +0 -3
- package/build/esm/lib/unstable/kit/controls/StringBase/StringBase.d.ts +0 -7
- package/build/esm/lib/unstable/kit/controls/StringBase/StringBase.js +0 -12
- package/build/esm/lib/unstable/kit/controls/StringBase/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/StringBase/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/Switch/Switch.css +0 -11
- package/build/esm/lib/unstable/kit/controls/Switch/Switch.d.ts +0 -7
- package/build/esm/lib/unstable/kit/controls/Switch/Switch.js +0 -17
- package/build/esm/lib/unstable/kit/controls/Switch/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/Switch/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/TextArea/TextArea.css +0 -3
- package/build/esm/lib/unstable/kit/controls/TextArea/TextArea.d.ts +0 -7
- package/build/esm/lib/unstable/kit/controls/TextArea/TextArea.js +0 -12
- package/build/esm/lib/unstable/kit/controls/TextArea/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/controls/TextArea/index.js +0 -1
- package/build/esm/lib/unstable/kit/controls/TextContent/TextContent.css +0 -10
- package/build/esm/lib/unstable/kit/controls/TextContent/TextContent.d.ts +0 -10
- package/build/esm/lib/unstable/kit/controls/TextContent/TextContent.js +0 -27
- package/build/esm/lib/unstable/kit/controls/index.d.ts +0 -26
- package/build/esm/lib/unstable/kit/controls/index.js +0 -26
- package/build/esm/lib/unstable/kit/wrappers/Accordeon/Accordeon.css +0 -35
- package/build/esm/lib/unstable/kit/wrappers/Accordeon/Accordeon.d.ts +0 -11
- package/build/esm/lib/unstable/kit/wrappers/Accordeon/Accordeon.js +0 -37
- package/build/esm/lib/unstable/kit/wrappers/Row/Row.css +0 -24
- package/build/esm/lib/unstable/kit/wrappers/Row/Row.d.ts +0 -7
- package/build/esm/lib/unstable/kit/wrappers/Row/Row.js +0 -32
- package/build/esm/lib/unstable/kit/wrappers/Row/index.d.ts +0 -1
- package/build/esm/lib/unstable/kit/wrappers/Row/index.js +0 -1
- package/build/esm/lib/unstable/kit/wrappers/Section/Section.css +0 -23
- package/build/esm/lib/unstable/kit/wrappers/Section/Section.d.ts +0 -9
- package/build/esm/lib/unstable/kit/wrappers/Section/Section.js +0 -34
- package/build/esm/lib/unstable/kit/wrappers/Transparent/Transparent.css +0 -6
- package/build/esm/lib/unstable/kit/wrappers/Transparent/Transparent.d.ts +0 -4
- package/build/esm/lib/unstable/kit/wrappers/Transparent/Transparent.js +0 -14
- package/build/esm/lib/unstable/kit/wrappers/index.d.ts +0 -4
- package/build/esm/lib/unstable/kit/wrappers/index.js +0 -4
- /package/build/cjs/lib/unstable/core/{Entity → SchemaRendererNode}/types.js +0 -0
- /package/build/cjs/lib/unstable/core/{useSchemaRenderer/mutators/async-validation/types.js → types/jsl-errors.js} +0 -0
- /package/build/cjs/lib/unstable/core/useSchemaRenderer/{mutators/external-errors/types.js → types/patches.js} +0 -0
- /package/build/cjs/lib/unstable/core/useSchemaRenderer/{mutators/schema-mutators/types.js → types/state.js} +0 -0
- /package/build/cjs/lib/unstable/core/useSchemaRenderer/{mutators/trigger-fields/types.js → types/subscription.js} +0 -0
- /package/build/cjs/lib/unstable/core/useSchemaRenderer/{types.js → types/validation.js} +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/Alert/index.d.ts +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/Alert/index.js +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/ArrayTable/index.d.ts +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/ArrayTable/index.js +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/DotValue/index.d.ts +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/DotValue/index.js +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/FewOfNested/index.d.ts +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/FewOfNested/index.js +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/Label/index.d.ts +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/Label/index.js +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/ObjectInline/index.d.ts +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/ObjectInline/index.js +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/OneOfNested/index.d.ts +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/OneOfNested/index.js +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/TextContent/index.d.ts +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → entities}/TextContent/index.js +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → form-entities}/DateInput/DateInput.css +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → form-entities}/DateInput/index.d.ts +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → form-entities}/DateInput/index.js +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → form-entities}/FileInput/index.d.ts +0 -0
- /package/build/cjs/lib/unstable/kit/{controls → form-entities}/FileInput/index.js +0 -0
- /package/build/cjs/lib/unstable/kit/{wrappers → layouts}/Accordeon/index.d.ts +0 -0
- /package/build/cjs/lib/unstable/kit/{wrappers → layouts}/Accordeon/index.js +0 -0
- /package/build/cjs/lib/unstable/kit/{wrappers → layouts}/Section/index.d.ts +0 -0
- /package/build/cjs/lib/unstable/kit/{wrappers → layouts}/Section/index.js +0 -0
- /package/build/cjs/lib/unstable/kit/{wrappers → layouts}/Transparent/index.d.ts +0 -0
- /package/build/cjs/lib/unstable/kit/{wrappers → layouts}/Transparent/index.js +0 -0
- /package/build/esm/lib/unstable/core/{Entity → SchemaRendererNode}/types.js +0 -0
- /package/build/esm/lib/unstable/core/{useSchemaRenderer/mutators/async-validation/types.js → types/jsl-errors.js} +0 -0
- /package/build/esm/lib/unstable/core/useSchemaRenderer/{mutators/external-errors/types.js → types/patches.js} +0 -0
- /package/build/esm/lib/unstable/core/useSchemaRenderer/{mutators/schema-mutators/types.js → types/state.js} +0 -0
- /package/build/esm/lib/unstable/core/useSchemaRenderer/{mutators/trigger-fields/types.js → types/subscription.js} +0 -0
- /package/build/esm/lib/unstable/core/useSchemaRenderer/{types.js → types/validation.js} +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/Alert/index.d.ts +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/Alert/index.js +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/ArrayTable/index.d.ts +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/ArrayTable/index.js +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/DotValue/index.d.ts +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/DotValue/index.js +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/FewOfNested/index.d.ts +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/FewOfNested/index.js +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/Label/index.d.ts +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/Label/index.js +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/ObjectInline/index.d.ts +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/ObjectInline/index.js +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/OneOfNested/index.d.ts +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/OneOfNested/index.js +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/TextContent/index.d.ts +0 -0
- /package/build/esm/lib/unstable/kit/{controls → entities}/TextContent/index.js +0 -0
- /package/build/esm/lib/unstable/kit/{controls → form-entities}/DateInput/DateInput.css +0 -0
- /package/build/esm/lib/unstable/kit/{controls → form-entities}/DateInput/index.d.ts +0 -0
- /package/build/esm/lib/unstable/kit/{controls → form-entities}/DateInput/index.js +0 -0
- /package/build/esm/lib/unstable/kit/{controls → form-entities}/FileInput/index.d.ts +0 -0
- /package/build/esm/lib/unstable/kit/{controls → form-entities}/FileInput/index.js +0 -0
- /package/build/esm/lib/unstable/kit/{wrappers → layouts}/Accordeon/index.d.ts +0 -0
- /package/build/esm/lib/unstable/kit/{wrappers → layouts}/Accordeon/index.js +0 -0
- /package/build/esm/lib/unstable/kit/{wrappers → layouts}/Section/index.d.ts +0 -0
- /package/build/esm/lib/unstable/kit/{wrappers → layouts}/Section/index.js +0 -0
- /package/build/esm/lib/unstable/kit/{wrappers → layouts}/Transparent/index.d.ts +0 -0
- /package/build/esm/lib/unstable/kit/{wrappers → layouts}/Transparent/index.js +0 -0
|
@@ -24,6 +24,9 @@ const DynamicField = ({ name, spec, config, Monaco, generateRandomValue, search,
|
|
|
24
24
|
const { mutatorsStore, mutateDFState } = (0, hooks_1.useMutators)(externalMutators);
|
|
25
25
|
const { store: searchStore, setField, removeField, isHiddenField } = (0, hooks_1.useSearchStore)();
|
|
26
26
|
const shared = (0, hooks_1.useFormSharedStore)(externalShared);
|
|
27
|
+
react_1.default.useEffect(() => {
|
|
28
|
+
(0, helpers_1.warnAboutDottedPropertyKeys)(spec);
|
|
29
|
+
}, [spec]);
|
|
27
30
|
const context = react_1.default.useMemo(() => ({
|
|
28
31
|
config,
|
|
29
32
|
Monaco: (0, react_is_1.isValidElementType)(Monaco) ? Monaco : undefined,
|
|
@@ -11,6 +11,9 @@ const hooks_1 = require("./hooks");
|
|
|
11
11
|
const DynamicView = ({ value, spec, config, Link, Monaco, showLayoutDescription, shared: externalShared, }) => {
|
|
12
12
|
const DynamicFormsCtx = (0, hooks_1.useCreateContext)();
|
|
13
13
|
const shared = (0, hooks_1.useViewSharedStore)(externalShared);
|
|
14
|
+
react_1.default.useEffect(() => {
|
|
15
|
+
(0, helpers_1.warnAboutDottedPropertyKeys)(spec);
|
|
16
|
+
}, [spec]);
|
|
14
17
|
const context = react_1.default.useMemo(() => ({
|
|
15
18
|
config,
|
|
16
19
|
value,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import type { ArraySpec, BooleanSpec, NumberSpec, ObjectSpec, StringSpec } from './types';
|
|
1
|
+
import type { ArraySpec, BooleanSpec, NumberSpec, ObjectSpec, Spec, StringSpec } from './types';
|
|
2
2
|
export declare const isCorrectSpec: (candidate: any) => boolean;
|
|
3
3
|
export declare const isArraySpec: (candidate: any) => candidate is ArraySpec;
|
|
4
4
|
export declare const isBooleanSpec: (candidate: any) => candidate is BooleanSpec;
|
|
5
5
|
export declare const isNumberSpec: (candidate: any) => candidate is NumberSpec;
|
|
6
6
|
export declare const isObjectSpec: (candidate: any) => candidate is ObjectSpec;
|
|
7
7
|
export declare const isStringSpec: (candidate: any) => candidate is StringSpec;
|
|
8
|
+
export declare const collectDottedPropertyKeys: (spec: Spec) => string[];
|
|
9
|
+
export declare const warnAboutDottedPropertyKeys: (spec: Spec) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isStringSpec = exports.isObjectSpec = exports.isNumberSpec = exports.isBooleanSpec = exports.isArraySpec = exports.isCorrectSpec = void 0;
|
|
3
|
+
exports.warnAboutDottedPropertyKeys = exports.collectDottedPropertyKeys = exports.isStringSpec = exports.isObjectSpec = exports.isNumberSpec = exports.isBooleanSpec = exports.isArraySpec = exports.isCorrectSpec = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const isObjectLike_1 = tslib_1.__importDefault(require("lodash/isObjectLike"));
|
|
6
6
|
const isString_1 = tslib_1.__importDefault(require("lodash/isString"));
|
|
@@ -24,3 +24,29 @@ const isObjectSpec = (candidate) => (candidate === null || candidate === void 0
|
|
|
24
24
|
exports.isObjectSpec = isObjectSpec;
|
|
25
25
|
const isStringSpec = (candidate) => (candidate === null || candidate === void 0 ? void 0 : candidate.type) === constants_1.SpecTypes.String;
|
|
26
26
|
exports.isStringSpec = isStringSpec;
|
|
27
|
+
const collectDottedPropertyKeys = (spec) => {
|
|
28
|
+
var _a;
|
|
29
|
+
const dottedKeys = [];
|
|
30
|
+
if ((0, exports.isObjectSpec)(spec) && (0, isObjectLike_1.default)(spec.properties)) {
|
|
31
|
+
Object.entries((_a = spec.properties) !== null && _a !== void 0 ? _a : {}).forEach(([key, childSpec]) => {
|
|
32
|
+
if (key.includes('.')) {
|
|
33
|
+
dottedKeys.push(key);
|
|
34
|
+
}
|
|
35
|
+
dottedKeys.push(...(0, exports.collectDottedPropertyKeys)(childSpec));
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
if ((0, exports.isArraySpec)(spec) && spec.items) {
|
|
39
|
+
dottedKeys.push(...(0, exports.collectDottedPropertyKeys)(spec.items));
|
|
40
|
+
}
|
|
41
|
+
return dottedKeys;
|
|
42
|
+
};
|
|
43
|
+
exports.collectDottedPropertyKeys = collectDottedPropertyKeys;
|
|
44
|
+
const warnAboutDottedPropertyKeys = (spec) => {
|
|
45
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
46
|
+
const dottedKeys = (0, exports.collectDottedPropertyKeys)(spec);
|
|
47
|
+
if (dottedKeys.length) {
|
|
48
|
+
console.warn(`[dynamic-forms] Spec property keys containing dots are not supported, their values will not be resolved: ${dottedKeys.join(', ')}. See docs/lib.md#dotted-property-keys`);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
exports.warnAboutDottedPropertyKeys = warnAboutDottedPropertyKeys;
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SchemaRenderer = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
-
const
|
|
6
|
+
const SchemaRendererNode_1 = require("../SchemaRendererNode");
|
|
7
7
|
const useSchemaRenderer_1 = require("../useSchemaRenderer");
|
|
8
8
|
const SchemaRendererComponent = (props) => {
|
|
9
|
-
|
|
10
|
-
return
|
|
9
|
+
(0, useSchemaRenderer_1.useSchemaRenderer)(props);
|
|
10
|
+
return react_1.default.createElement(SchemaRendererNode_1.SchemaRendererNode, { headName: props.name, name: props.name, schemaPath: "#" });
|
|
11
11
|
};
|
|
12
12
|
exports.SchemaRenderer = react_1.default.memo(SchemaRendererComponent);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SchemaRendererMode } from '../constants';
|
|
3
|
+
import type { JsonSchema } from '../types';
|
|
4
|
+
export interface SchemaRendererNodeProps {
|
|
5
|
+
headName: string;
|
|
6
|
+
modeOverride?: SchemaRendererMode;
|
|
7
|
+
name: string;
|
|
8
|
+
schemaOverride?: JsonSchema;
|
|
9
|
+
schemaPath: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const SchemaRendererNode: React.NamedExoticComponent<SchemaRendererNodeProps>;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SchemaRendererNode = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
+
const noop_1 = tslib_1.__importDefault(require("lodash/noop"));
|
|
7
|
+
const react_final_form_1 = require("react-final-form");
|
|
8
|
+
const constants_1 = require("../constants");
|
|
9
|
+
const useSchemaRenderer_1 = require("../useSchemaRenderer");
|
|
10
|
+
const useSchemaRendererState_1 = require("../useSchemaRendererState");
|
|
11
|
+
const utils_1 = require("../utils");
|
|
12
|
+
const utils_2 = require("./utils");
|
|
13
|
+
const SchemaRendererNodeComponent = ({ headName, modeOverride, name, schemaOverride, schemaPath, }) => {
|
|
14
|
+
var _a;
|
|
15
|
+
const form = (0, react_final_form_1.useForm)();
|
|
16
|
+
const firstRenderRef = react_1.default.useRef(true);
|
|
17
|
+
const pendingTicksRef = react_1.default.useRef({ input: 0, meta: 0 });
|
|
18
|
+
const fieldRef = react_1.default.useRef(null);
|
|
19
|
+
const unsubscribeRef = react_1.default.useRef(null);
|
|
20
|
+
const [ticks, setTicks] = react_1.default.useState({ input: 0, meta: 0 });
|
|
21
|
+
const srState = (0, useSchemaRendererState_1.useSchemaRendererState)({
|
|
22
|
+
headName,
|
|
23
|
+
name,
|
|
24
|
+
schemaPath,
|
|
25
|
+
subscriptions: [
|
|
26
|
+
constants_1.SchemaRendererEventType.Config,
|
|
27
|
+
constants_1.SchemaRendererEventType.Error,
|
|
28
|
+
constants_1.SchemaRendererEventType.Mode,
|
|
29
|
+
constants_1.SchemaRendererEventType.Name,
|
|
30
|
+
constants_1.SchemaRendererEventType.Patch,
|
|
31
|
+
constants_1.SchemaRendererEventType.Settings,
|
|
32
|
+
constants_1.SchemaRendererEventType.Schema,
|
|
33
|
+
],
|
|
34
|
+
});
|
|
35
|
+
const schema = react_1.default.useMemo(() => (0, utils_2.getAccumulatedSchema)(schemaPath, srState === null || srState === void 0 ? void 0 : srState.schema, schemaOverride), [schemaOverride, schemaPath, srState === null || srState === void 0 ? void 0 : srState.schema]);
|
|
36
|
+
const error = srState === null || srState === void 0 ? void 0 : srState.errors[name];
|
|
37
|
+
const mode = modeOverride || (srState === null || srState === void 0 ? void 0 : srState.mode);
|
|
38
|
+
const jsonDefaultValues = ((_a = srState === null || srState === void 0 ? void 0 : srState.settings) === null || _a === void 0 ? void 0 : _a.jsonDefaultValues) || false;
|
|
39
|
+
const kit = react_1.default.useMemo(() => (0, utils_2.getRenderKit)({ config: srState === null || srState === void 0 ? void 0 : srState.config, schema }), [schema, srState === null || srState === void 0 ? void 0 : srState.config]);
|
|
40
|
+
react_1.default.useMemo(() => {
|
|
41
|
+
var _a;
|
|
42
|
+
(_a = unsubscribeRef.current) === null || _a === void 0 ? void 0 : _a.call(unsubscribeRef);
|
|
43
|
+
const initialState = { schemaPath };
|
|
44
|
+
let defaultValue = schema === null || schema === void 0 ? void 0 : schema.default;
|
|
45
|
+
if (jsonDefaultValues && typeof defaultValue === 'string') {
|
|
46
|
+
try {
|
|
47
|
+
defaultValue = JSON.parse(defaultValue);
|
|
48
|
+
}
|
|
49
|
+
catch (_b) { }
|
|
50
|
+
}
|
|
51
|
+
unsubscribeRef.current = form.registerField(name, (f) => {
|
|
52
|
+
const prevF = fieldRef.current;
|
|
53
|
+
if (prevF) {
|
|
54
|
+
let inputTick = 0;
|
|
55
|
+
let metaTick = 0;
|
|
56
|
+
if (f.value !== prevF.value) {
|
|
57
|
+
inputTick = 1;
|
|
58
|
+
}
|
|
59
|
+
if (prevF.submitFailed !== f.submitFailed ||
|
|
60
|
+
prevF.touched !== f.touched ||
|
|
61
|
+
prevF.validating !== f.validating) {
|
|
62
|
+
metaTick = 1;
|
|
63
|
+
}
|
|
64
|
+
if (inputTick + metaTick) {
|
|
65
|
+
if (firstRenderRef.current) {
|
|
66
|
+
pendingTicksRef.current = { input: inputTick, meta: metaTick };
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
setTicks((t) => ({
|
|
70
|
+
input: t.input + inputTick,
|
|
71
|
+
meta: t.meta + metaTick,
|
|
72
|
+
}));
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
fieldRef.current = f;
|
|
77
|
+
}, { submitFailed: true, touched: true, validating: true, value: true }, {
|
|
78
|
+
data: { state: initialState },
|
|
79
|
+
defaultValue,
|
|
80
|
+
validateFields: [(0, utils_1.getServiceFieldName)(useSchemaRenderer_1.SCHEMA_RENDERER_SERVICE_FIELD, headName)],
|
|
81
|
+
});
|
|
82
|
+
}, [form, jsonDefaultValues, headName, name, schema === null || schema === void 0 ? void 0 : schema.default, schema === null || schema === void 0 ? void 0 : schema.type, schemaPath]);
|
|
83
|
+
const input = react_1.default.useMemo(() => {
|
|
84
|
+
var _a;
|
|
85
|
+
const fieldState = form.getFieldState(name);
|
|
86
|
+
return {
|
|
87
|
+
name,
|
|
88
|
+
onBlur: (fieldState === null || fieldState === void 0 ? void 0 : fieldState.blur) || noop_1.default,
|
|
89
|
+
onChange: (fieldState === null || fieldState === void 0 ? void 0 : fieldState.change) || noop_1.default,
|
|
90
|
+
onFocus: (fieldState === null || fieldState === void 0 ? void 0 : fieldState.focus) || noop_1.default,
|
|
91
|
+
value: (_a = fieldState === null || fieldState === void 0 ? void 0 : fieldState.value) !== null && _a !== void 0 ? _a : undefined,
|
|
92
|
+
};
|
|
93
|
+
}, [name, form, ticks.input]);
|
|
94
|
+
const meta = react_1.default.useMemo(() => {
|
|
95
|
+
const fieldState = form.getFieldState(name);
|
|
96
|
+
return {
|
|
97
|
+
data: fieldState === null || fieldState === void 0 ? void 0 : fieldState.data,
|
|
98
|
+
error,
|
|
99
|
+
initial: fieldState === null || fieldState === void 0 ? void 0 : fieldState.initial,
|
|
100
|
+
submitFailed: fieldState === null || fieldState === void 0 ? void 0 : fieldState.submitFailed,
|
|
101
|
+
touched: fieldState === null || fieldState === void 0 ? void 0 : fieldState.touched,
|
|
102
|
+
validating: fieldState === null || fieldState === void 0 ? void 0 : fieldState.validating,
|
|
103
|
+
};
|
|
104
|
+
}, [error, form, name, ticks.meta]);
|
|
105
|
+
react_1.default.useEffect(() => {
|
|
106
|
+
firstRenderRef.current = false;
|
|
107
|
+
if (pendingTicksRef.current.input || pendingTicksRef.current.meta) {
|
|
108
|
+
setTicks((t) => ({
|
|
109
|
+
input: t.input + pendingTicksRef.current.input,
|
|
110
|
+
meta: t.meta + pendingTicksRef.current.meta,
|
|
111
|
+
}));
|
|
112
|
+
}
|
|
113
|
+
return () => {
|
|
114
|
+
var _a;
|
|
115
|
+
(_a = unsubscribeRef.current) === null || _a === void 0 ? void 0 : _a.call(unsubscribeRef);
|
|
116
|
+
};
|
|
117
|
+
}, []);
|
|
118
|
+
let content = null;
|
|
119
|
+
if ((mode === constants_1.SchemaRendererMode.Overview && !(schema === null || schema === void 0 ? void 0 : schema.writeOnly)) ||
|
|
120
|
+
(mode === constants_1.SchemaRendererMode.Form && !(schema === null || schema === void 0 ? void 0 : schema.readOnly))) {
|
|
121
|
+
const { Entity, Layout, entityProps, independent, layoutProps } = kit[mode];
|
|
122
|
+
if (Entity) {
|
|
123
|
+
content = (react_1.default.createElement(Entity, { Layout: independent ? Layout : undefined, headName: headName, input: input, layoutProps: independent ? layoutProps : undefined, meta: meta, mode: mode, props: entityProps, schema: schema, schemaPath: schemaPath }));
|
|
124
|
+
if (Layout && !independent) {
|
|
125
|
+
content = (react_1.default.createElement(Layout, { headName: headName, input: input, meta: meta, mode: mode, props: layoutProps, schema: schema, schemaPath: schemaPath }, content));
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return content;
|
|
130
|
+
};
|
|
131
|
+
exports.SchemaRendererNode = react_1.default.memo(SchemaRendererNodeComponent);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRenderKit = exports.getAccumulatedSchema = exports.SchemaRendererNode = void 0;
|
|
4
|
+
var SchemaRendererNode_1 = require("./SchemaRendererNode");
|
|
5
|
+
Object.defineProperty(exports, "SchemaRendererNode", { enumerable: true, get: function () { return SchemaRendererNode_1.SchemaRendererNode; } });
|
|
6
|
+
var utils_1 = require("./utils");
|
|
7
|
+
Object.defineProperty(exports, "getAccumulatedSchema", { enumerable: true, get: function () { return utils_1.getAccumulatedSchema; } });
|
|
8
|
+
Object.defineProperty(exports, "getRenderKit", { enumerable: true, get: function () { return utils_1.getRenderKit; } });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SchemaRendererMode } from '../constants';
|
|
2
|
+
import type { JsonSchema, NodeEntity, NodeLayout, NodesConfig } from '../types';
|
|
3
|
+
type GetRenderKitParams<Schema extends JsonSchema> = {
|
|
4
|
+
config?: NodesConfig;
|
|
5
|
+
schema?: Schema;
|
|
6
|
+
};
|
|
7
|
+
type GetRenderKitReturn<Schema extends JsonSchema> = {
|
|
8
|
+
[SchemaRendererMode.Form]: {
|
|
9
|
+
Entity?: NodeEntity<Schema> | undefined;
|
|
10
|
+
Layout?: NodeLayout<Schema> | undefined;
|
|
11
|
+
entityProps: Record<string, any>;
|
|
12
|
+
layoutProps: Record<string, any>;
|
|
13
|
+
independent?: boolean | undefined;
|
|
14
|
+
};
|
|
15
|
+
[SchemaRendererMode.Overview]: {
|
|
16
|
+
Entity?: NodeEntity<Schema> | undefined;
|
|
17
|
+
Layout?: NodeLayout<Schema> | undefined;
|
|
18
|
+
entityProps: Record<string, any>;
|
|
19
|
+
layoutProps: Record<string, any>;
|
|
20
|
+
independent?: boolean | undefined;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare const getRenderKit: <Schema extends JsonSchema>({ config, schema, }: GetRenderKitParams<Schema>) => GetRenderKitReturn<Schema>;
|
|
24
|
+
export declare const getAccumulatedSchema: (schemaPath: string, rootSchema?: JsonSchema, override?: JsonSchema, collectedPaths?: Set<string>) => JsonSchema;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAccumulatedSchema = exports.getRenderKit = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const get_1 = tslib_1.__importDefault(require("lodash/get"));
|
|
6
|
+
const isString_1 = tslib_1.__importDefault(require("lodash/isString"));
|
|
7
|
+
const set_1 = tslib_1.__importDefault(require("lodash/set"));
|
|
8
|
+
const constants_1 = require("../constants");
|
|
9
|
+
const utils_1 = require("../utils");
|
|
10
|
+
const fixType = (value) => value;
|
|
11
|
+
const mergeValues = (first, second) => {
|
|
12
|
+
const result = {};
|
|
13
|
+
(0, utils_1.getValuePaths)(first).forEach((path) => {
|
|
14
|
+
(0, set_1.default)(result, path, (0, get_1.default)(first, path));
|
|
15
|
+
});
|
|
16
|
+
(0, utils_1.getValuePaths)(second).forEach((path) => {
|
|
17
|
+
(0, set_1.default)(result, path, (0, get_1.default)(second, path));
|
|
18
|
+
});
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
// eslint-disable-next-line complexity
|
|
22
|
+
const getRenderKit = ({ config, schema, }) => {
|
|
23
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
|
|
24
|
+
const result = {
|
|
25
|
+
[constants_1.SchemaRendererMode.Form]: {
|
|
26
|
+
entityProps: constants_1.EMPTY_OBJECT,
|
|
27
|
+
layoutProps: constants_1.EMPTY_OBJECT,
|
|
28
|
+
},
|
|
29
|
+
[constants_1.SchemaRendererMode.Overview]: {
|
|
30
|
+
entityProps: constants_1.EMPTY_OBJECT,
|
|
31
|
+
layoutProps: constants_1.EMPTY_OBJECT,
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
const nodeType = (0, get_1.default)(schema, 'nodeParameters.type');
|
|
35
|
+
if ((_a = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _a === void 0 ? void 0 : _a.entity) {
|
|
36
|
+
const e = (_b = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _b === void 0 ? void 0 : _b.entity;
|
|
37
|
+
let fe;
|
|
38
|
+
let fep = ((_c = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _c === void 0 ? void 0 : _c.entityProps) || constants_1.EMPTY_OBJECT;
|
|
39
|
+
let fi;
|
|
40
|
+
let oe;
|
|
41
|
+
let oep = ((_d = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _d === void 0 ? void 0 : _d.entityProps) || constants_1.EMPTY_OBJECT;
|
|
42
|
+
let oi;
|
|
43
|
+
if ((0, isString_1.default)(e)) {
|
|
44
|
+
fe = (0, get_1.default)(config, `${nodeType}.formEntities.${e}.Component`);
|
|
45
|
+
fep = mergeValues((0, get_1.default)(config, `${nodeType}.formEntities.${e}.defaultProps`), fep);
|
|
46
|
+
fi = (0, get_1.default)(config, `${nodeType}.formEntities.${e}.independent`);
|
|
47
|
+
oe = (0, get_1.default)(config, `${nodeType}.overviewEntities.${e}.Component`);
|
|
48
|
+
oep = mergeValues((0, get_1.default)(config, `${nodeType}.overviewEntities.${e}.defaultProps`), oep);
|
|
49
|
+
oi = (0, get_1.default)(config, `${nodeType}.overviewEntities.${e}.independent`);
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
fe = fixType(e);
|
|
53
|
+
oe = fixType(e);
|
|
54
|
+
}
|
|
55
|
+
result[constants_1.SchemaRendererMode.Form].Entity = fe;
|
|
56
|
+
result[constants_1.SchemaRendererMode.Form].entityProps = fep;
|
|
57
|
+
result[constants_1.SchemaRendererMode.Form].independent = fi;
|
|
58
|
+
result[constants_1.SchemaRendererMode.Overview].Entity = oe;
|
|
59
|
+
result[constants_1.SchemaRendererMode.Overview].entityProps = oep;
|
|
60
|
+
result[constants_1.SchemaRendererMode.Overview].independent = oi;
|
|
61
|
+
}
|
|
62
|
+
if ((_e = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _e === void 0 ? void 0 : _e.formEntity) {
|
|
63
|
+
const e = (_f = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _f === void 0 ? void 0 : _f.formEntity;
|
|
64
|
+
let fe;
|
|
65
|
+
let fep = ((_g = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _g === void 0 ? void 0 : _g.formEntityProps) || constants_1.EMPTY_OBJECT;
|
|
66
|
+
let fi;
|
|
67
|
+
if ((0, isString_1.default)(e)) {
|
|
68
|
+
fe = (0, get_1.default)(config, `${nodeType}.formEntities.${e}.Component`);
|
|
69
|
+
fep = mergeValues((0, get_1.default)(config, `${nodeType}.formEntities.${e}.defaultProps`), fep);
|
|
70
|
+
fi = (0, get_1.default)(config, `${nodeType}.formEntities.${e}.independent`);
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
fe = fixType(e);
|
|
74
|
+
}
|
|
75
|
+
result[constants_1.SchemaRendererMode.Form].Entity = fe;
|
|
76
|
+
result[constants_1.SchemaRendererMode.Form].entityProps = fep;
|
|
77
|
+
result[constants_1.SchemaRendererMode.Form].independent = fi;
|
|
78
|
+
}
|
|
79
|
+
if ((_h = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _h === void 0 ? void 0 : _h.overviewEntity) {
|
|
80
|
+
const e = (_j = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _j === void 0 ? void 0 : _j.overviewEntity;
|
|
81
|
+
let oe;
|
|
82
|
+
let oep = ((_k = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _k === void 0 ? void 0 : _k.overviewEntityProps) || constants_1.EMPTY_OBJECT;
|
|
83
|
+
let oi;
|
|
84
|
+
if ((0, isString_1.default)(e)) {
|
|
85
|
+
oe = (0, get_1.default)(config, `${nodeType}.overviewEntities.${e}.Component`);
|
|
86
|
+
oep = mergeValues((0, get_1.default)(config, `${nodeType}.overviewEntities.${e}.defaultProps`), oep);
|
|
87
|
+
oi = (0, get_1.default)(config, `${nodeType}.overviewEntities.${e}.independent`);
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
oe = fixType(e);
|
|
91
|
+
}
|
|
92
|
+
result[constants_1.SchemaRendererMode.Overview].Entity = oe;
|
|
93
|
+
result[constants_1.SchemaRendererMode.Overview].entityProps = oep;
|
|
94
|
+
result[constants_1.SchemaRendererMode.Overview].independent = oi;
|
|
95
|
+
}
|
|
96
|
+
if ((_l = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _l === void 0 ? void 0 : _l.layout) {
|
|
97
|
+
const l = (_m = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _m === void 0 ? void 0 : _m.layout;
|
|
98
|
+
let fl;
|
|
99
|
+
let flp = ((_o = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _o === void 0 ? void 0 : _o.layoutProps) || constants_1.EMPTY_OBJECT;
|
|
100
|
+
let ol;
|
|
101
|
+
let olp = ((_p = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _p === void 0 ? void 0 : _p.layoutProps) || constants_1.EMPTY_OBJECT;
|
|
102
|
+
if ((0, isString_1.default)(l)) {
|
|
103
|
+
fl = (0, get_1.default)(config, `${nodeType}.formLayouts.${l}.Component`);
|
|
104
|
+
flp = mergeValues((0, get_1.default)(config, `${nodeType}.formLayouts.${l}.defaultProps`), flp);
|
|
105
|
+
ol = (0, get_1.default)(config, `${nodeType}.overviewLayouts.${l}.Component`);
|
|
106
|
+
olp = mergeValues((0, get_1.default)(config, `${nodeType}.overviewLayouts.${l}.defaultProps`), olp);
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
fl = fixType(l);
|
|
110
|
+
ol = fixType(l);
|
|
111
|
+
}
|
|
112
|
+
result[constants_1.SchemaRendererMode.Form].Layout = fl;
|
|
113
|
+
result[constants_1.SchemaRendererMode.Form].layoutProps = flp;
|
|
114
|
+
result[constants_1.SchemaRendererMode.Overview].Layout = ol;
|
|
115
|
+
result[constants_1.SchemaRendererMode.Overview].layoutProps = olp;
|
|
116
|
+
}
|
|
117
|
+
if ((_q = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _q === void 0 ? void 0 : _q.formLayout) {
|
|
118
|
+
const l = (_r = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _r === void 0 ? void 0 : _r.formLayout;
|
|
119
|
+
let fl;
|
|
120
|
+
let flp = ((_s = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _s === void 0 ? void 0 : _s.formLayoutProps) || constants_1.EMPTY_OBJECT;
|
|
121
|
+
if ((0, isString_1.default)(l)) {
|
|
122
|
+
fl = (0, get_1.default)(config, `${nodeType}.formLayouts.${l}.Component`);
|
|
123
|
+
flp = mergeValues((0, get_1.default)(config, `${nodeType}.formLayouts.${l}.defaultProps`), flp);
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
fl = fixType(l);
|
|
127
|
+
}
|
|
128
|
+
result[constants_1.SchemaRendererMode.Form].Layout = fl;
|
|
129
|
+
result[constants_1.SchemaRendererMode.Form].layoutProps = flp;
|
|
130
|
+
}
|
|
131
|
+
if ((_t = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _t === void 0 ? void 0 : _t.overviewLayout) {
|
|
132
|
+
const l = (_u = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _u === void 0 ? void 0 : _u.overviewLayout;
|
|
133
|
+
let ol;
|
|
134
|
+
let olp = ((_v = schema === null || schema === void 0 ? void 0 : schema.nodeParameters) === null || _v === void 0 ? void 0 : _v.overviewLayoutProps) || constants_1.EMPTY_OBJECT;
|
|
135
|
+
if ((0, isString_1.default)(l)) {
|
|
136
|
+
ol = (0, get_1.default)(config, `${nodeType}.overviewLayouts.${l}.Component`);
|
|
137
|
+
olp = mergeValues((0, get_1.default)(config, `${nodeType}.overviewLayouts.${l}.defaultProps`), olp);
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
140
|
+
ol = fixType(l);
|
|
141
|
+
}
|
|
142
|
+
result[constants_1.SchemaRendererMode.Overview].Layout = ol;
|
|
143
|
+
result[constants_1.SchemaRendererMode.Overview].layoutProps = olp;
|
|
144
|
+
}
|
|
145
|
+
return result;
|
|
146
|
+
};
|
|
147
|
+
exports.getRenderKit = getRenderKit;
|
|
148
|
+
const getAccumulatedSchema = (schemaPath, rootSchema, override, collectedPaths = new Set()) => {
|
|
149
|
+
let accumulatedSchema = Object.assign({}, (rootSchema ? (0, utils_1.getSchemaByPointer)(rootSchema, schemaPath) : {}));
|
|
150
|
+
if (override) {
|
|
151
|
+
accumulatedSchema = mergeValues(accumulatedSchema, override);
|
|
152
|
+
}
|
|
153
|
+
if (accumulatedSchema.$ref && !collectedPaths.has(accumulatedSchema.$ref)) {
|
|
154
|
+
collectedPaths.add(accumulatedSchema.$ref);
|
|
155
|
+
const schemaByRef = (0, exports.getAccumulatedSchema)(accumulatedSchema.$ref, rootSchema, undefined, collectedPaths);
|
|
156
|
+
if (schemaByRef) {
|
|
157
|
+
accumulatedSchema = mergeValues(accumulatedSchema, schemaByRef);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
return accumulatedSchema;
|
|
161
|
+
};
|
|
162
|
+
exports.getAccumulatedSchema = getAccumulatedSchema;
|
|
@@ -2,6 +2,17 @@ export declare enum SchemaRendererMode {
|
|
|
2
2
|
Form = "form",
|
|
3
3
|
Overview = "overview"
|
|
4
4
|
}
|
|
5
|
+
export declare enum SchemaRendererEventType {
|
|
6
|
+
Config = "config",
|
|
7
|
+
Error = "error",
|
|
8
|
+
ErrorMessages = "errorMessages",
|
|
9
|
+
Mode = "mode",
|
|
10
|
+
Name = "name",
|
|
11
|
+
Patch = "patch",
|
|
12
|
+
Settings = "settings",
|
|
13
|
+
Schema = "schema",
|
|
14
|
+
UserContext = "userContext"
|
|
15
|
+
}
|
|
5
16
|
export declare enum JsonSchemaType {
|
|
6
17
|
Array = "array",
|
|
7
18
|
Boolean = "boolean",
|
|
@@ -11,7 +22,7 @@ export declare enum JsonSchemaType {
|
|
|
11
22
|
Object = "object",
|
|
12
23
|
String = "string"
|
|
13
24
|
}
|
|
14
|
-
export declare enum
|
|
25
|
+
export declare enum NodeType {
|
|
15
26
|
Any = "any",
|
|
16
27
|
Array = "array",
|
|
17
28
|
Boolean = "boolean",
|
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EMPTY_OBJECT = exports.
|
|
3
|
+
exports.EMPTY_OBJECT = exports.NodeType = exports.JsonSchemaType = exports.SchemaRendererEventType = exports.SchemaRendererMode = void 0;
|
|
4
4
|
var SchemaRendererMode;
|
|
5
5
|
(function (SchemaRendererMode) {
|
|
6
6
|
SchemaRendererMode["Form"] = "form";
|
|
7
7
|
SchemaRendererMode["Overview"] = "overview";
|
|
8
8
|
})(SchemaRendererMode || (exports.SchemaRendererMode = SchemaRendererMode = {}));
|
|
9
|
+
var SchemaRendererEventType;
|
|
10
|
+
(function (SchemaRendererEventType) {
|
|
11
|
+
SchemaRendererEventType["Config"] = "config";
|
|
12
|
+
SchemaRendererEventType["Error"] = "error";
|
|
13
|
+
SchemaRendererEventType["ErrorMessages"] = "errorMessages";
|
|
14
|
+
SchemaRendererEventType["Mode"] = "mode";
|
|
15
|
+
SchemaRendererEventType["Name"] = "name";
|
|
16
|
+
SchemaRendererEventType["Patch"] = "patch";
|
|
17
|
+
SchemaRendererEventType["Settings"] = "settings";
|
|
18
|
+
SchemaRendererEventType["Schema"] = "schema";
|
|
19
|
+
SchemaRendererEventType["UserContext"] = "userContext";
|
|
20
|
+
})(SchemaRendererEventType || (exports.SchemaRendererEventType = SchemaRendererEventType = {}));
|
|
9
21
|
var JsonSchemaType;
|
|
10
22
|
(function (JsonSchemaType) {
|
|
11
23
|
JsonSchemaType["Array"] = "array";
|
|
@@ -16,13 +28,13 @@ var JsonSchemaType;
|
|
|
16
28
|
JsonSchemaType["Object"] = "object";
|
|
17
29
|
JsonSchemaType["String"] = "string";
|
|
18
30
|
})(JsonSchemaType || (exports.JsonSchemaType = JsonSchemaType = {}));
|
|
19
|
-
var
|
|
20
|
-
(function (
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
})(
|
|
31
|
+
var NodeType;
|
|
32
|
+
(function (NodeType) {
|
|
33
|
+
NodeType["Any"] = "any";
|
|
34
|
+
NodeType["Array"] = "array";
|
|
35
|
+
NodeType["Boolean"] = "boolean";
|
|
36
|
+
NodeType["Number"] = "number";
|
|
37
|
+
NodeType["Object"] = "object";
|
|
38
|
+
NodeType["String"] = "string";
|
|
39
|
+
})(NodeType || (exports.NodeType = NodeType = {}));
|
|
28
40
|
exports.EMPTY_OBJECT = {};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { SchemaRendererNode, type SchemaRendererNodeProps, type SchemaRendererNodeState, getAccumulatedSchema, getRenderKit, } from './SchemaRendererNode';
|
|
2
2
|
export { SchemaRenderer, type SchemaRendererProps } from './SchemaRenderer';
|
|
3
|
-
export {
|
|
3
|
+
export { NodeType, JsonSchemaType, SchemaRendererEventType, SchemaRendererMode } from './constants';
|
|
4
4
|
export type * from './types';
|
|
5
|
-
export {
|
|
5
|
+
export { SCHEMA_RENDERER_SERVICE_FIELD, type SchemaRendererState, type SchemaPatch, type SchemaPatchRemover, type UseSchemaRendererParams, useSchemaRenderer, } from './useSchemaRenderer';
|
|
6
|
+
export { type UseSchemaRendererStateParams, useSchemaRendererState } from './useSchemaRendererState';
|
|
7
|
+
export { useSchemaRendererTools } from './useSchemaRendererTools';
|
|
8
|
+
export { createNodeParametersDefiner, defineNodeEntityConfig, defineNodeLayoutConfig, getServiceFieldName, getSchemaByPointer, } from './utils';
|
|
@@ -1,17 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
Object.defineProperty(exports, "
|
|
6
|
-
Object.defineProperty(exports, "
|
|
3
|
+
exports.getSchemaByPointer = exports.getServiceFieldName = exports.defineNodeLayoutConfig = exports.defineNodeEntityConfig = exports.createNodeParametersDefiner = exports.useSchemaRendererTools = exports.useSchemaRendererState = exports.useSchemaRenderer = exports.SCHEMA_RENDERER_SERVICE_FIELD = exports.SchemaRendererMode = exports.SchemaRendererEventType = exports.JsonSchemaType = exports.NodeType = exports.SchemaRenderer = exports.getRenderKit = exports.getAccumulatedSchema = exports.SchemaRendererNode = void 0;
|
|
4
|
+
var SchemaRendererNode_1 = require("./SchemaRendererNode");
|
|
5
|
+
Object.defineProperty(exports, "SchemaRendererNode", { enumerable: true, get: function () { return SchemaRendererNode_1.SchemaRendererNode; } });
|
|
6
|
+
Object.defineProperty(exports, "getAccumulatedSchema", { enumerable: true, get: function () { return SchemaRendererNode_1.getAccumulatedSchema; } });
|
|
7
|
+
Object.defineProperty(exports, "getRenderKit", { enumerable: true, get: function () { return SchemaRendererNode_1.getRenderKit; } });
|
|
7
8
|
var SchemaRenderer_1 = require("./SchemaRenderer");
|
|
8
9
|
Object.defineProperty(exports, "SchemaRenderer", { enumerable: true, get: function () { return SchemaRenderer_1.SchemaRenderer; } });
|
|
9
10
|
var constants_1 = require("./constants");
|
|
10
|
-
Object.defineProperty(exports, "
|
|
11
|
+
Object.defineProperty(exports, "NodeType", { enumerable: true, get: function () { return constants_1.NodeType; } });
|
|
11
12
|
Object.defineProperty(exports, "JsonSchemaType", { enumerable: true, get: function () { return constants_1.JsonSchemaType; } });
|
|
13
|
+
Object.defineProperty(exports, "SchemaRendererEventType", { enumerable: true, get: function () { return constants_1.SchemaRendererEventType; } });
|
|
12
14
|
Object.defineProperty(exports, "SchemaRendererMode", { enumerable: true, get: function () { return constants_1.SchemaRendererMode; } });
|
|
13
15
|
var useSchemaRenderer_1 = require("./useSchemaRenderer");
|
|
14
|
-
Object.defineProperty(exports, "
|
|
15
|
-
Object.defineProperty(exports, "useEntitiesState", { enumerable: true, get: function () { return useSchemaRenderer_1.useEntitiesState; } });
|
|
16
|
+
Object.defineProperty(exports, "SCHEMA_RENDERER_SERVICE_FIELD", { enumerable: true, get: function () { return useSchemaRenderer_1.SCHEMA_RENDERER_SERVICE_FIELD; } });
|
|
16
17
|
Object.defineProperty(exports, "useSchemaRenderer", { enumerable: true, get: function () { return useSchemaRenderer_1.useSchemaRenderer; } });
|
|
17
|
-
|
|
18
|
+
var useSchemaRendererState_1 = require("./useSchemaRendererState");
|
|
19
|
+
Object.defineProperty(exports, "useSchemaRendererState", { enumerable: true, get: function () { return useSchemaRendererState_1.useSchemaRendererState; } });
|
|
20
|
+
var useSchemaRendererTools_1 = require("./useSchemaRendererTools");
|
|
21
|
+
Object.defineProperty(exports, "useSchemaRendererTools", { enumerable: true, get: function () { return useSchemaRendererTools_1.useSchemaRendererTools; } });
|
|
22
|
+
var utils_1 = require("./utils");
|
|
23
|
+
Object.defineProperty(exports, "createNodeParametersDefiner", { enumerable: true, get: function () { return utils_1.createNodeParametersDefiner; } });
|
|
24
|
+
Object.defineProperty(exports, "defineNodeEntityConfig", { enumerable: true, get: function () { return utils_1.defineNodeEntityConfig; } });
|
|
25
|
+
Object.defineProperty(exports, "defineNodeLayoutConfig", { enumerable: true, get: function () { return utils_1.defineNodeLayoutConfig; } });
|
|
26
|
+
Object.defineProperty(exports, "getServiceFieldName", { enumerable: true, get: function () { return utils_1.getServiceFieldName; } });
|
|
27
|
+
Object.defineProperty(exports, "getSchemaByPointer", { enumerable: true, get: function () { return utils_1.getSchemaByPointer; } });
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { FieldRenderProps } from 'react-final-form';
|
|
3
|
+
import type { SchemaRendererMode } from '../constants';
|
|
3
4
|
import type { SchemaToValueType } from './helpers';
|
|
4
5
|
import type { JsonSchema } from './schema';
|
|
5
|
-
export interface
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
export interface NodeLayoutProps<Schema extends JsonSchema, Props extends Record<string, any> = {}> extends FieldRenderProps<SchemaToValueType<Schema> | null | undefined> {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
headName: string;
|
|
9
|
+
mode: SchemaRendererMode;
|
|
10
|
+
props: {
|
|
11
|
+
copy?: boolean;
|
|
12
|
+
hidden?: boolean;
|
|
13
|
+
open?: boolean;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
} & Partial<Props>;
|
|
13
16
|
schema: Schema;
|
|
14
|
-
|
|
15
|
-
Wrapper?: Wrapper<Schema, WrapperComponentProps>;
|
|
16
|
-
wrapperProps?: Partial<WrapperComponentProps>;
|
|
17
|
+
schemaPath: string;
|
|
17
18
|
}
|
|
18
|
-
export type
|
|
19
|
-
export interface
|
|
19
|
+
export type NodeLayout<Schema extends JsonSchema, Props extends Record<string, any> = {}> = React.FC<NodeLayoutProps<Schema, Props>>;
|
|
20
|
+
export interface NodeEntityProps<Schema extends JsonSchema, Props extends Record<string, any> = {}, LayoutProps extends Record<string, any> = {}> extends FieldRenderProps<SchemaToValueType<Schema> | null | undefined> {
|
|
21
|
+
Layout?: NodeLayout<Schema, LayoutProps>;
|
|
22
|
+
headName: string;
|
|
23
|
+
layoutProps?: LayoutProps;
|
|
24
|
+
mode: SchemaRendererMode;
|
|
25
|
+
props: Partial<Props>;
|
|
20
26
|
schema: Schema;
|
|
21
|
-
|
|
22
|
-
open?: boolean;
|
|
23
|
-
hidden?: boolean;
|
|
24
|
-
copy?: boolean;
|
|
25
|
-
required?: boolean;
|
|
26
|
-
} & Partial<WrapperComponentProps>;
|
|
27
|
-
children: React.ReactNode;
|
|
27
|
+
schemaPath: string;
|
|
28
28
|
}
|
|
29
|
-
export type
|
|
29
|
+
export type NodeEntity<Schema extends JsonSchema, Props extends Record<string, any> = {}, LayoutProps extends Record<string, any> = {}> = React.FC<NodeEntityProps<Schema, Props, LayoutProps>>;
|