@gravity-ui/dynamic-forms 5.1.0 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/build/cjs/lib/core/components/Form/DynamicField.js +7 -2
  2. package/build/cjs/lib/core/components/Form/hooks/useIntegrationFF.js +3 -2
  3. package/build/cjs/lib/core/components/Form/types/value.js +0 -1
  4. package/build/cjs/lib/kit/components/Card/Card.js +3 -1
  5. package/build/cjs/lib/kit/components/ErrorWrapper/ErrorWrapper.css +1 -1
  6. package/build/cjs/lib/kit/components/HTMLContent/HTMLContent.js +9 -0
  7. package/build/cjs/lib/kit/components/HTMLContent/index.js +4 -0
  8. package/build/cjs/lib/kit/components/Inputs/CheckboxGroup/CheckboxGroup.js +1 -1
  9. package/build/cjs/lib/kit/components/Inputs/TableArrayInput/TableArrayInput.js +4 -2
  10. package/build/cjs/lib/kit/components/Inputs/TextContent/TextContent.js +1 -1
  11. package/build/cjs/lib/kit/components/Inputs/TimeRangeSelector/components/TimeRangeSelect/TimeRangeSelect.js +1 -1
  12. package/build/cjs/lib/kit/components/Layouts/Column/Column.js +4 -2
  13. package/build/cjs/lib/kit/components/Layouts/Row/Row.js +4 -2
  14. package/build/cjs/lib/kit/components/Layouts/Section/Section.js +4 -2
  15. package/build/cjs/lib/kit/components/LongValue/LongValue.js +2 -4
  16. package/build/cjs/lib/kit/components/SimpleVerticalAccordeon/SimpleVerticalAccordeon.js +3 -1
  17. package/build/cjs/lib/kit/components/TogglerCard/TogglerCard.js +4 -2
  18. package/build/cjs/lib/kit/components/ViewLayouts/ViewColumn/ViewColumn.js +4 -2
  19. package/build/cjs/lib/kit/components/ViewLayouts/ViewRow/ViewRow.js +4 -2
  20. package/build/cjs/lib/kit/components/Views/DateView/DateView.js +1 -1
  21. package/build/cjs/lib/kit/components/Views/MultiOneOfView/MultiOneOfView.js +1 -1
  22. package/build/cjs/lib/kit/components/Views/MultiSelectView/MultiSelectView.js +1 -1
  23. package/build/cjs/lib/kit/components/Views/ObjectBaseView/ObjectBaseView.js +1 -1
  24. package/build/cjs/lib/kit/components/Views/TableArrayView/TableArrayView.js +4 -2
  25. package/build/cjs/lib/kit/utils/common.js +1 -1
  26. package/build/esm/lib/core/components/Form/Controller/Controller.d.ts +2 -2
  27. package/build/esm/lib/core/components/Form/Controller/types.d.ts +2 -2
  28. package/build/esm/lib/core/components/Form/Controller/utils.d.ts +3 -3
  29. package/build/esm/lib/core/components/Form/DynamicField.d.ts +3 -2
  30. package/build/esm/lib/core/components/Form/DynamicField.js +7 -2
  31. package/build/esm/lib/core/components/Form/hooks/useControllerMirror.d.ts +1 -1
  32. package/build/esm/lib/core/components/Form/hooks/useCreateContext.d.ts +1 -1
  33. package/build/esm/lib/core/components/Form/hooks/useCreateSearchContext.d.ts +1 -1
  34. package/build/esm/lib/core/components/Form/hooks/useDynamicFieldMirror.d.ts +1 -1
  35. package/build/esm/lib/core/components/Form/hooks/useIntegrationFF.d.ts +9 -2
  36. package/build/esm/lib/core/components/Form/hooks/useIntegrationFF.js +3 -2
  37. package/build/esm/lib/core/components/Form/hooks/useMutators.d.ts +1 -1
  38. package/build/esm/lib/core/components/Form/hooks/useSearch/useSearch.d.ts +2 -2
  39. package/build/esm/lib/core/components/Form/hooks/useStore.d.ts +1 -1
  40. package/build/esm/lib/core/components/Form/types/array.d.ts +2 -2
  41. package/build/esm/lib/core/components/Form/types/boolean.d.ts +2 -2
  42. package/build/esm/lib/core/components/Form/types/config.d.ts +2 -2
  43. package/build/esm/lib/core/components/Form/types/context.d.ts +3 -3
  44. package/build/esm/lib/core/components/Form/types/field.d.ts +2 -2
  45. package/build/esm/lib/core/components/Form/types/input.d.ts +3 -3
  46. package/build/esm/lib/core/components/Form/types/layout.d.ts +3 -3
  47. package/build/esm/lib/core/components/Form/types/mirror.d.ts +2 -2
  48. package/build/esm/lib/core/components/Form/types/mutators.d.ts +2 -2
  49. package/build/esm/lib/core/components/Form/types/number.d.ts +2 -2
  50. package/build/esm/lib/core/components/Form/types/object.d.ts +2 -2
  51. package/build/esm/lib/core/components/Form/types/search.d.ts +2 -2
  52. package/build/esm/lib/core/components/Form/types/store.d.ts +1 -1
  53. package/build/esm/lib/core/components/Form/types/string.d.ts +2 -2
  54. package/build/esm/lib/core/components/Form/types/validators.d.ts +1 -1
  55. package/build/esm/lib/core/components/Form/types/value.d.ts +1 -1
  56. package/build/esm/lib/core/components/Form/types/value.js +1 -1
  57. package/build/esm/lib/core/components/Form/utils/common.d.ts +1 -1
  58. package/build/esm/lib/core/components/Form/utils/search.d.ts +1 -1
  59. package/build/esm/lib/core/components/View/DynamicView.d.ts +2 -2
  60. package/build/esm/lib/core/components/View/ViewController.d.ts +1 -1
  61. package/build/esm/lib/core/components/View/hooks/useComponents.d.ts +2 -2
  62. package/build/esm/lib/core/components/View/hooks/useCreateContext.d.ts +1 -1
  63. package/build/esm/lib/core/components/View/hooks/useRender.d.ts +2 -2
  64. package/build/esm/lib/core/components/View/types/array.d.ts +2 -2
  65. package/build/esm/lib/core/components/View/types/boolean.d.ts +2 -2
  66. package/build/esm/lib/core/components/View/types/config.d.ts +2 -2
  67. package/build/esm/lib/core/components/View/types/context.d.ts +3 -3
  68. package/build/esm/lib/core/components/View/types/layout.d.ts +3 -3
  69. package/build/esm/lib/core/components/View/types/number.d.ts +2 -2
  70. package/build/esm/lib/core/components/View/types/object.d.ts +2 -2
  71. package/build/esm/lib/core/components/View/types/string.d.ts +2 -2
  72. package/build/esm/lib/core/components/View/types/views.d.ts +3 -3
  73. package/build/esm/lib/core/helpers.d.ts +1 -1
  74. package/build/esm/lib/core/types/specs.d.ts +3 -3
  75. package/build/esm/lib/kit/components/Card/Card.js +3 -1
  76. package/build/esm/lib/kit/components/CopyButton/CopyButton.d.ts +1 -1
  77. package/build/esm/lib/kit/components/ErrorWrapper/ErrorWrapper.css +1 -1
  78. package/build/esm/lib/kit/components/ErrorWrapper/ErrorWrapper.d.ts +1 -1
  79. package/build/esm/lib/kit/components/GenerateRandomValueButton/GenerateRandomValueButton.d.ts +1 -1
  80. package/build/esm/lib/kit/components/HTMLContent/HTMLContent.d.ts +6 -0
  81. package/build/esm/lib/kit/components/HTMLContent/HTMLContent.js +4 -0
  82. package/build/esm/lib/kit/components/HTMLContent/index.d.ts +1 -0
  83. package/build/esm/lib/kit/components/HTMLContent/index.js +1 -0
  84. package/build/esm/lib/kit/components/Inputs/ArrayBase/ArrayBase.d.ts +1 -1
  85. package/build/esm/lib/kit/components/Inputs/CardOneOf/CardOneOf.d.ts +1 -1
  86. package/build/esm/lib/kit/components/Inputs/CardOneOf/CardOneOf.js +1 -1
  87. package/build/esm/lib/kit/components/Inputs/Checkbox/Checkbox.d.ts +2 -2
  88. package/build/esm/lib/kit/components/Inputs/CheckboxGroup/CheckboxGroup.d.ts +1 -1
  89. package/build/esm/lib/kit/components/Inputs/CheckboxGroup/CheckboxGroup.js +1 -1
  90. package/build/esm/lib/kit/components/Inputs/DateInput/DateInput.d.ts +2 -2
  91. package/build/esm/lib/kit/components/Inputs/FileInput/FileInput.d.ts +1 -1
  92. package/build/esm/lib/kit/components/Inputs/FileInput/utils.d.ts +1 -1
  93. package/build/esm/lib/kit/components/Inputs/MonacoInput/MonacoInputBase.d.ts +1 -1
  94. package/build/esm/lib/kit/components/Inputs/MultiOneOf/MultiOneOf.d.ts +1 -1
  95. package/build/esm/lib/kit/components/Inputs/MultiOneOf/MultiOneOf.js +1 -1
  96. package/build/esm/lib/kit/components/Inputs/MultiSelect/MultiSelect.d.ts +2 -2
  97. package/build/esm/lib/kit/components/Inputs/NumberWithScale/NumberWithScale.d.ts +1 -1
  98. package/build/esm/lib/kit/components/Inputs/NumberWithScale/useInitial.d.ts +1 -1
  99. package/build/esm/lib/kit/components/Inputs/ObjectBase/ObjectBase.d.ts +1 -1
  100. package/build/esm/lib/kit/components/Inputs/ObjectBase/ObjectBase.js +1 -1
  101. package/build/esm/lib/kit/components/Inputs/ObjectValueInput/ObjectValueInput.d.ts +1 -1
  102. package/build/esm/lib/kit/components/Inputs/OneOf/OneOf.d.ts +1 -1
  103. package/build/esm/lib/kit/components/Inputs/OneOf/OneOf.js +1 -1
  104. package/build/esm/lib/kit/components/Inputs/Secret/Secret.d.ts +1 -1
  105. package/build/esm/lib/kit/components/Inputs/Select/Select.d.ts +2 -2
  106. package/build/esm/lib/kit/components/Inputs/Switch/Switch.d.ts +1 -1
  107. package/build/esm/lib/kit/components/Inputs/TableArrayInput/TableArrayInput.d.ts +1 -1
  108. package/build/esm/lib/kit/components/Inputs/TableArrayInput/TableArrayInput.js +4 -2
  109. package/build/esm/lib/kit/components/Inputs/Text/Text.d.ts +2 -2
  110. package/build/esm/lib/kit/components/Inputs/TextArea/TextArea.d.ts +2 -2
  111. package/build/esm/lib/kit/components/Inputs/TextContent/TextContent.d.ts +1 -1
  112. package/build/esm/lib/kit/components/Inputs/TextContent/TextContent.js +1 -1
  113. package/build/esm/lib/kit/components/Inputs/TextLink/TextLink.d.ts +1 -1
  114. package/build/esm/lib/kit/components/Inputs/TextLink/TextLink.js +1 -1
  115. package/build/esm/lib/kit/components/Inputs/TimeRangeSelector/TimeRangeSelector.d.ts +1 -1
  116. package/build/esm/lib/kit/components/Inputs/TimeRangeSelector/TimeRangeSelector.js +1 -1
  117. package/build/esm/lib/kit/components/Inputs/TimeRangeSelector/components/TimeRangeSelect/TimeRangeSelect.d.ts +1 -1
  118. package/build/esm/lib/kit/components/Inputs/TimeRangeSelector/components/TimeRangeSelect/TimeRangeSelect.js +1 -1
  119. package/build/esm/lib/kit/components/Layouts/Accordeon/Accordeon.d.ts +2 -2
  120. package/build/esm/lib/kit/components/Layouts/AccordeonCard/AccordeonCardForm.d.ts +1 -1
  121. package/build/esm/lib/kit/components/Layouts/CardAccordeon.d.ts +1 -1
  122. package/build/esm/lib/kit/components/Layouts/CardSection.d.ts +1 -1
  123. package/build/esm/lib/kit/components/Layouts/Column/Column.d.ts +1 -1
  124. package/build/esm/lib/kit/components/Layouts/Column/Column.js +5 -3
  125. package/build/esm/lib/kit/components/Layouts/Row/Row.d.ts +1 -1
  126. package/build/esm/lib/kit/components/Layouts/Row/Row.js +5 -3
  127. package/build/esm/lib/kit/components/Layouts/Section/Section.d.ts +1 -1
  128. package/build/esm/lib/kit/components/Layouts/Section/Section.js +5 -3
  129. package/build/esm/lib/kit/components/Layouts/TableCell/TableCell.d.ts +1 -1
  130. package/build/esm/lib/kit/components/Layouts/Transparent/Transparent.d.ts +1 -1
  131. package/build/esm/lib/kit/components/Layouts/Transparent/Transparent.js +1 -1
  132. package/build/esm/lib/kit/components/LongValue/LongValue.js +2 -4
  133. package/build/esm/lib/kit/components/SimpleVerticalAccordeon/SimpleVerticalAccordeon.d.ts +1 -1
  134. package/build/esm/lib/kit/components/SimpleVerticalAccordeon/SimpleVerticalAccordeon.js +3 -1
  135. package/build/esm/lib/kit/components/TogglerCard/TogglerCard.js +4 -2
  136. package/build/esm/lib/kit/components/ViewLayouts/ViewAccordeon/ViewAccordeon.d.ts +2 -2
  137. package/build/esm/lib/kit/components/ViewLayouts/ViewAccordeonCard/ViewAccordeonCard.d.ts +1 -1
  138. package/build/esm/lib/kit/components/ViewLayouts/ViewCardAccordeon.d.ts +1 -1
  139. package/build/esm/lib/kit/components/ViewLayouts/ViewCardSection.d.ts +1 -1
  140. package/build/esm/lib/kit/components/ViewLayouts/ViewColumn/ViewColumn.d.ts +1 -1
  141. package/build/esm/lib/kit/components/ViewLayouts/ViewColumn/ViewColumn.js +4 -2
  142. package/build/esm/lib/kit/components/ViewLayouts/ViewRow/ViewRow.d.ts +1 -1
  143. package/build/esm/lib/kit/components/ViewLayouts/ViewRow/ViewRow.js +4 -2
  144. package/build/esm/lib/kit/components/ViewLayouts/ViewSection/ViewSection.d.ts +1 -1
  145. package/build/esm/lib/kit/components/ViewLayouts/ViewTableCell/ViewTableCell.d.ts +1 -1
  146. package/build/esm/lib/kit/components/ViewLayouts/ViewTransparent/ViewTransparent.d.ts +1 -1
  147. package/build/esm/lib/kit/components/Views/ArrayBaseView/ArrayBaseView.d.ts +1 -1
  148. package/build/esm/lib/kit/components/Views/BaseView/BaseView.d.ts +1 -1
  149. package/build/esm/lib/kit/components/Views/CardOneOfView.d.ts +1 -1
  150. package/build/esm/lib/kit/components/Views/CheckboxGroupView/CheckboxGroupView.d.ts +1 -1
  151. package/build/esm/lib/kit/components/Views/DateView/DateView.d.ts +1 -1
  152. package/build/esm/lib/kit/components/Views/DateView/DateView.js +1 -1
  153. package/build/esm/lib/kit/components/Views/FileInputView/FileInputView.d.ts +1 -1
  154. package/build/esm/lib/kit/components/Views/MonacoInputView/MonacoBaseView.d.ts +1 -1
  155. package/build/esm/lib/kit/components/Views/MultiOneOfView/MultiOneOfView.d.ts +1 -1
  156. package/build/esm/lib/kit/components/Views/MultiOneOfView/MultiOneOfView.js +1 -1
  157. package/build/esm/lib/kit/components/Views/MultiSelectView/MultiSelectView.d.ts +1 -1
  158. package/build/esm/lib/kit/components/Views/MultiSelectView/MultiSelectView.js +1 -1
  159. package/build/esm/lib/kit/components/Views/NumberWithScaleView/NumberWithScaleView.d.ts +1 -1
  160. package/build/esm/lib/kit/components/Views/ObjectBaseView/ObjectBaseView.d.ts +1 -1
  161. package/build/esm/lib/kit/components/Views/ObjectBaseView/ObjectBaseView.js +1 -1
  162. package/build/esm/lib/kit/components/Views/ObjectValueInputView/ObjectValueInputView.d.ts +1 -1
  163. package/build/esm/lib/kit/components/Views/OneOfView/OneOfView.d.ts +1 -1
  164. package/build/esm/lib/kit/components/Views/TableArrayView/TableArrayView.d.ts +1 -1
  165. package/build/esm/lib/kit/components/Views/TableArrayView/TableArrayView.js +4 -2
  166. package/build/esm/lib/kit/components/Views/TextAreaView/TextAreaView.d.ts +1 -1
  167. package/build/esm/lib/kit/components/Views/TextContentView.d.ts +1 -1
  168. package/build/esm/lib/kit/components/Views/TextLinkView/TextLinkView.d.ts +1 -1
  169. package/build/esm/lib/kit/components/Views/TimeRangeSelectorView/TimeRangeSelectorView.d.ts +1 -1
  170. package/build/esm/lib/kit/constants/config.d.ts +1 -1
  171. package/build/esm/lib/kit/hooks/useErrorChecker.d.ts +1 -1
  172. package/build/esm/lib/kit/hooks/useOneOf/useOneOf.d.ts +1 -1
  173. package/build/esm/lib/kit/utils/common.d.ts +1 -1
  174. package/build/esm/lib/kit/utils/common.js +2 -2
  175. package/build/esm/lib/kit/utils/objectInline.d.ts +1 -1
  176. package/build/esm/lib/kit/validators/validators.d.ts +2 -2
  177. package/package.json +11 -9
@@ -1,5 +1,5 @@
1
- import { TextAreaProps as TextAreaBaseProps } from '@gravity-ui/uikit';
2
- import { StringInput } from '../../../../core';
1
+ import type { TextAreaProps as TextAreaBaseProps } from '@gravity-ui/uikit';
2
+ import type { StringInput } from '../../../../core';
3
3
  export interface TextAreaProps extends Omit<TextAreaBaseProps, 'value' | 'onBlur' | 'onFocus' | 'onUpdate' | 'disabled' | 'placeholder' | 'qa'> {
4
4
  }
5
5
  export declare const TextArea: StringInput<TextAreaProps>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { StringIndependentInput, StringSpec } from '../../../../core';
2
+ import type { StringIndependentInput, StringSpec } from '../../../../core';
3
3
  import './TextContent.css';
4
4
  export interface TextContentComponentProps {
5
5
  spec: StringSpec;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { isEmpty } from 'lodash';
3
2
  import { Alert, Label, Text } from '@gravity-ui/uikit';
3
+ import { isEmpty } from 'lodash';
4
4
  import cloneDeep from 'lodash/cloneDeep';
5
5
  import { block } from '../../../utils';
6
6
  import { LazyLoader } from '../../LazyLoader';
@@ -1,2 +1,2 @@
1
- import { ObjectIndependentInput } from '../../../../core';
1
+ import type { ObjectIndependentInput } from '../../../../core';
2
2
  export declare const TextLink: ObjectIndependentInput;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cloneDeep from 'lodash/cloneDeep';
3
3
  import set from 'lodash/set';
4
- import { Controller, isStringSpec, } from '../../../../core';
4
+ import { Controller, isStringSpec } from '../../../../core';
5
5
  const TEXT_LINK_PROPERTY_NAME = 'text';
6
6
  export const TextLink = (props) => {
7
7
  var _a;
@@ -1,2 +1,2 @@
1
- import { ObjectIndependentInput } from '../../../../core';
1
+ import type { ObjectIndependentInput } from '../../../../core';
2
2
  export declare const TimeRangeSelector: ObjectIndependentInput;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { Text } from '@gravity-ui/uikit';
3
3
  import isString from 'lodash/isString';
4
4
  import set from 'lodash/set';
5
- import { isStringSpec, } from '../../../../core';
5
+ import { isStringSpec } from '../../../../core';
6
6
  import { END_TIME, START_TIME } from '../../../constants/common';
7
7
  import { TimeRangeSelect } from './components';
8
8
  import { filterTimeArray, validateArray } from './utils';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type SelectOption } from '@gravity-ui/uikit';
3
- import { FieldObjectValue, FieldValue, IndependentInputProps, ObjectSpec, StringSpec } from '../../../../../../core';
3
+ import type { FieldObjectValue, FieldValue, IndependentInputProps, ObjectSpec, StringSpec } from '../../../../../../core';
4
4
  import './TimeRangeSelect.css';
5
5
  interface TimeRangeSelectProps {
6
6
  spec: StringSpec<any, undefined, undefined>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import isString from 'lodash/isString';
3
2
  import { Select } from '@gravity-ui/uikit';
3
+ import isString from 'lodash/isString';
4
4
  import { block } from '../../../../../utils';
5
5
  import { Row } from '../../../../Layouts/Row';
6
6
  import './TimeRangeSelect.css';
@@ -1,5 +1,5 @@
1
- import { TextProps } from '@gravity-ui/uikit';
2
- import { ArrayLayoutProps, ObjectLayoutProps } from '../../../../core';
1
+ import type { TextProps } from '@gravity-ui/uikit';
2
+ import type { ArrayLayoutProps, ObjectLayoutProps } from '../../../../core';
3
3
  interface AccordeonLayoutProps {
4
4
  variantTitle?: TextProps['variant'];
5
5
  }
@@ -1,3 +1,3 @@
1
- import { ArrayLayoutProps, ObjectLayoutProps } from '../../../../core';
1
+ import type { ArrayLayoutProps, ObjectLayoutProps } from '../../../../core';
2
2
  import './AccordeonCardForm.css';
3
3
  export declare const AccordeonCardForm: <T extends ArrayLayoutProps<undefined, undefined> | ObjectLayoutProps<undefined, undefined>>({ name, spec, input, children, meta, }: T) => JSX.Element;
@@ -1,2 +1,2 @@
1
- import { FieldValue, LayoutProps, Spec } from '../../../core';
1
+ import type { FieldValue, LayoutProps, Spec } from '../../../core';
2
2
  export declare const CardAccordeon: <T extends FieldValue, S extends Spec<any, undefined, undefined>>({ name, spec, input, meta, children, }: LayoutProps<T, undefined, undefined, S>) => JSX.Element;
@@ -1,2 +1,2 @@
1
- import { FieldValue, LayoutProps, Spec } from '../../../core';
1
+ import type { FieldValue, LayoutProps, Spec } from '../../../core';
2
2
  export declare const CardSection: <T extends FieldValue, S extends Spec<any, undefined, undefined>>({ name, spec, input, meta, children, }: LayoutProps<T, undefined, undefined, S>) => JSX.Element;
@@ -1,3 +1,3 @@
1
- import { FieldValue, LayoutProps, Spec } from '../../../../core';
1
+ import type { FieldValue, LayoutProps, Spec } from '../../../../core';
2
2
  import './Column.css';
3
3
  export declare const Column: <T extends FieldValue, S extends Spec<any, undefined, undefined>>(props: LayoutProps<T, undefined, undefined, S>) => JSX.Element;
@@ -1,10 +1,11 @@
1
1
  import React from 'react';
2
2
  import { TrashBin } from '@gravity-ui/icons';
3
3
  import { Button, HelpMark, Icon, Text } from '@gravity-ui/uikit';
4
- import { isArrayItem, isArraySpec, isObjectSpec, withGenerateButton, } from '../../../../core';
4
+ import { isArrayItem, isArraySpec, isObjectSpec, withGenerateButton } from '../../../../core';
5
5
  import { ErrorWrapper, GenerateRandomValueButton } from '../../../components';
6
- import { block } from '../../../utils';
7
6
  import { COMMON_POPOVER_PLACEMENT } from '../../../constants/common';
7
+ import { block } from '../../../utils';
8
+ import { HTMLContent } from '../../HTMLContent';
8
9
  import './Column.css';
9
10
  const b = block('column');
10
11
  const ColumnBase = ({ name, spec, input, meta, children, }) => {
@@ -18,7 +19,8 @@ const ColumnBase = ({ name, spec, input, meta, children, }) => {
18
19
  React.createElement(Text, { className: b('note-inner') },
19
20
  React.createElement(HelpMark, { popoverProps: {
20
21
  placement: COMMON_POPOVER_PLACEMENT,
21
- } }, spec.viewSpec.layoutDescription)))) : null)),
22
+ } },
23
+ React.createElement(HTMLContent, { html: spec.viewSpec.layoutDescription }))))) : null)),
22
24
  React.createElement("div", { className: b('second-row') },
23
25
  React.createElement("div", { className: b('second-row-inner') },
24
26
  React.createElement(ErrorWrapper, { name: name, meta: meta, withoutChildErrorStyles:
@@ -1,4 +1,4 @@
1
- import { FieldValue, LayoutProps, Spec } from '../../../../core';
1
+ import type { FieldValue, LayoutProps, Spec } from '../../../../core';
2
2
  import './Row.css';
3
3
  export declare const Row: <T extends FieldValue, S extends Spec<any, undefined, undefined>>(props: LayoutProps<T, undefined, undefined, S>) => JSX.Element;
4
4
  export declare const RowVerbose: <T extends FieldValue, S extends Spec<any, undefined, undefined>>(props: LayoutProps<T, undefined, undefined, S>) => JSX.Element;
@@ -1,10 +1,11 @@
1
1
  import React from 'react';
2
2
  import { TrashBin } from '@gravity-ui/icons';
3
3
  import { Button, HelpMark, Icon, Text } from '@gravity-ui/uikit';
4
- import { isArrayItem, isArraySpec, isObjectSpec, withGenerateButton, } from '../../../../core';
4
+ import { isArrayItem, isArraySpec, isObjectSpec, withGenerateButton } from '../../../../core';
5
5
  import { ErrorWrapper, GenerateRandomValueButton } from '../../../components';
6
- import { block } from '../../../utils';
7
6
  import { COMMON_POPOVER_PLACEMENT } from '../../../constants/common';
7
+ import { block } from '../../../utils';
8
+ import { HTMLContent } from '../../HTMLContent';
8
9
  import './Row.css';
9
10
  const b = block('row');
10
11
  const RowBase = ({ name, spec, input, meta, verboseDescription, children, }) => {
@@ -18,7 +19,8 @@ const RowBase = ({ name, spec, input, meta, verboseDescription, children, }) =>
18
19
  React.createElement(Text, { className: b('note-inner') },
19
20
  React.createElement(HelpMark, { popoverProps: {
20
21
  placement: COMMON_POPOVER_PLACEMENT,
21
- } }, spec.viewSpec.layoutDescription)))) : null)),
22
+ } },
23
+ React.createElement(HTMLContent, { html: spec.viewSpec.layoutDescription }))))) : null)),
22
24
  React.createElement("div", { className: b('right') },
23
25
  React.createElement("div", { className: b('right-inner') },
24
26
  React.createElement(ErrorWrapper, { name: name, meta: meta, withoutChildErrorStyles:
@@ -1,4 +1,4 @@
1
- import { FieldValue, FormValue, LayoutProps, Spec, ViewLayoutProps } from '../../../../core';
1
+ import type { FieldValue, FormValue, LayoutProps, Spec, ViewLayoutProps } from '../../../../core';
2
2
  import './Section.css';
3
3
  interface SectionProps {
4
4
  titleSize: 's' | 'm';
@@ -2,10 +2,11 @@ import { __rest } from "tslib";
2
2
  import React from 'react';
3
3
  import { HelpMark, Popover, Text } from '@gravity-ui/uikit';
4
4
  import { GroupIndent } from '../../';
5
- import { RemoveButton } from '../../RemoveButton';
6
5
  import { COMMON_POPOVER_PLACEMENT, COMMON_TITLE_MAX_WIDTH, ErrorWrapper } from '../../../';
7
- import { isArrayItem, isArraySpec, isObjectSpec, } from '../../../../core';
6
+ import { isArrayItem, isArraySpec, isObjectSpec } from '../../../../core';
8
7
  import { block } from '../../../utils';
8
+ import { HTMLContent } from '../../HTMLContent';
9
+ import { RemoveButton } from '../../RemoveButton';
9
10
  import './Section.css';
10
11
  const b = block('section');
11
12
  const SectionBase = (_a) => {
@@ -58,7 +59,8 @@ const SectionBase = (_a) => {
58
59
  description = (React.createElement(Text, { className: b('note') },
59
60
  React.createElement(HelpMark, { popoverProps: {
60
61
  placement: COMMON_POPOVER_PLACEMENT,
61
- } }, spec.viewSpec.layoutDescription)));
62
+ } },
63
+ React.createElement(HTMLContent, { html: spec.viewSpec.layoutDescription }))));
62
64
  }
63
65
  }
64
66
  const layoutTitle = spec.viewSpec.layoutTitle;
@@ -1,2 +1,2 @@
1
- import { FieldValue, LayoutProps, Spec } from '../../../../core';
1
+ import type { FieldValue, LayoutProps, Spec } from '../../../../core';
2
2
  export declare const TableCell: <T extends FieldValue, S extends Spec<any, undefined, undefined>>({ name, meta, children, }: LayoutProps<T, undefined, undefined, S>) => JSX.Element;
@@ -1,3 +1,3 @@
1
- import { FieldValue, LayoutProps, Spec } from '../../../../core';
1
+ import type { FieldValue, LayoutProps, Spec } from '../../../../core';
2
2
  import './Transparent.css';
3
3
  export declare const Transparent: <T extends FieldValue, S extends Spec<any, undefined, undefined>>({ name, spec, input, meta, children, }: LayoutProps<T, undefined, undefined, S>) => JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { TrashBin } from '@gravity-ui/icons';
3
3
  import { Button, Icon } from '@gravity-ui/uikit';
4
- import { isArrayItem, isArraySpec, isObjectSpec, withGenerateButton, } from '../../../../core';
4
+ import { isArrayItem, isArraySpec, isObjectSpec, withGenerateButton } from '../../../../core';
5
5
  import { ErrorWrapper, GenerateRandomValueButton } from '../../../components';
6
6
  import { block } from '../../../utils';
7
7
  import './Transparent.css';
@@ -1,7 +1,7 @@
1
1
  import { __rest } from "tslib";
2
2
  import React from 'react';
3
- import once from 'lodash/once';
4
3
  import { Text } from '@gravity-ui/uikit';
4
+ import once from 'lodash/once';
5
5
  import { block } from '../../utils';
6
6
  import './LongValue.css';
7
7
  const b = block('long-value');
@@ -54,7 +54,5 @@ export const LongValue = (_a) => {
54
54
  }
55
55
  return;
56
56
  }, [value]);
57
- return (React.createElement(Text, Object.assign({ as: "div" }, restProps, { ref: ref, className: b({ open, long }, className),
58
- // @ts-ignore
59
- onClick: long ? handleClick : undefined }), value));
57
+ return (React.createElement(Text, Object.assign({ as: "div" }, restProps, { ref: ref, className: b({ open, long }, className), onClick: long ? handleClick : undefined }), value));
60
58
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { TextProps } from '@gravity-ui/uikit';
2
+ import type { TextProps } from '@gravity-ui/uikit';
3
3
  import './SimpleVerticalAccordeon.css';
4
4
  interface SimpleVerticalAccordeonProps {
5
5
  children: React.ReactNode;
@@ -3,6 +3,7 @@ import { ChevronDown } from '@gravity-ui/icons';
3
3
  import { Button, HelpMark, Icon, Popover, Text } from '@gravity-ui/uikit';
4
4
  import { COMMON_POPOVER_PLACEMENT } from '../../constants/common';
5
5
  import { block } from '../../utils';
6
+ import { HTMLContent } from '../HTMLContent';
6
7
  import './SimpleVerticalAccordeon.css';
7
8
  const b = block('simple-vertical-accordeon');
8
9
  const TITLE_TEXT_MAX_WIDTH = 485; /** 533px (COMMON_TITLE_MAX_WIDTH) - 48px of padding */
@@ -89,7 +90,8 @@ export class SimpleVerticalAccordeon extends React.Component {
89
90
  return note ? (React.createElement(Text, { className: b('tooltip') },
90
91
  React.createElement(HelpMark, { popoverProps: {
91
92
  placement: COMMON_POPOVER_PLACEMENT,
92
- } }, note))) : null;
93
+ } },
94
+ React.createElement(HTMLContent, { html: note })))) : null;
93
95
  }
94
96
  }
95
97
  SimpleVerticalAccordeon.defaultProps = {
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
2
  import { Card, HelpMark, Text } from '@gravity-ui/uikit';
3
- import { block } from '../../utils';
4
3
  import { COMMON_POPOVER_PLACEMENT } from '../../constants/common';
4
+ import { block } from '../../utils';
5
+ import { HTMLContent } from '../HTMLContent';
5
6
  import './TogglerCard.css';
6
7
  const b = block('toggler-card');
7
8
  export const TogglerCard = ({ description, title, text, onClick, disabled, selected, }) => {
@@ -10,6 +11,7 @@ export const TogglerCard = ({ description, title, text, onClick, disabled, selec
10
11
  React.createElement(Text, { variant: "subheader-2", ellipsis: true }, title),
11
12
  description ? (React.createElement(HelpMark, { popoverProps: {
12
13
  placement: COMMON_POPOVER_PLACEMENT,
13
- } }, description)) : null),
14
+ } },
15
+ React.createElement(HTMLContent, { html: description }))) : null),
14
16
  React.createElement(Text, { variant: "body-1", color: "secondary", className: b('text') }, text)));
15
17
  };
@@ -1,5 +1,5 @@
1
- import { TextProps } from '@gravity-ui/uikit';
2
- import { ArrayValue, ObjectValue, Spec, ViewLayoutProps } from '../../../../core';
1
+ import type { TextProps } from '@gravity-ui/uikit';
2
+ import type { ArrayValue, ObjectValue, Spec, ViewLayoutProps } from '../../../../core';
3
3
  interface ViewAccordeonLayoutProps {
4
4
  variantTitle?: TextProps['variant'];
5
5
  }
@@ -1,2 +1,2 @@
1
- import { ArrayViewLayoutProps, ObjectViewLayoutProps } from '../../../../core';
1
+ import type { ArrayViewLayoutProps, ObjectViewLayoutProps } from '../../../../core';
2
2
  export declare const ViewAccordeonCard: <T extends ArrayViewLayoutProps | ObjectViewLayoutProps>({ value, name, spec, children, }: T) => JSX.Element | null;
@@ -1,2 +1,2 @@
1
- import { ArrayViewLayoutProps, ObjectViewLayoutProps } from '../../../core';
1
+ import type { ArrayViewLayoutProps, ObjectViewLayoutProps } from '../../../core';
2
2
  export declare const ViewCardAccordeon: <T extends ArrayViewLayoutProps | ObjectViewLayoutProps>({ name, value, spec, children, }: T) => JSX.Element | null;
@@ -1,2 +1,2 @@
1
- import { FormValue, Spec, ViewLayoutProps } from '../../../core';
1
+ import type { FormValue, Spec, ViewLayoutProps } from '../../../core';
2
2
  export declare const ViewCardSection: <T extends FormValue, S extends Spec<any, undefined, undefined>>({ name, value, spec, children, }: ViewLayoutProps<T, S>) => JSX.Element | null;
@@ -1,3 +1,3 @@
1
- import { FormValue, Spec, ViewLayoutProps } from '../../../../core';
1
+ import type { FormValue, Spec, ViewLayoutProps } from '../../../../core';
2
2
  import './ViewColumn.css';
3
3
  export declare const ViewColumn: <T extends FormValue, S extends Spec<any, undefined, undefined>>({ value, spec, children, }: ViewLayoutProps<T, S>) => JSX.Element | null;
@@ -2,8 +2,9 @@ import React from 'react';
2
2
  import { HelpMark, Text } from '@gravity-ui/uikit';
3
3
  import { useDynamicFormsCtx } from '../../../../core';
4
4
  import { CopyButton } from '../../../../kit';
5
- import { block, isNotEmptyValue } from '../../../utils';
6
5
  import { COMMON_POPOVER_PLACEMENT } from '../../../constants/common';
6
+ import { block, isNotEmptyValue } from '../../../utils';
7
+ import { HTMLContent } from '../../HTMLContent';
7
8
  import './ViewColumn.css';
8
9
  const b = block('view-column');
9
10
  export const ViewColumn = ({ value, spec, children, }) => {
@@ -16,7 +17,8 @@ export const ViewColumn = ({ value, spec, children, }) => {
16
17
  React.createElement(Text, { color: "secondary", ellipsis: true }, spec.viewSpec.layoutTitle),
17
18
  showLayoutDescription && spec.viewSpec.layoutDescription ? (React.createElement(HelpMark, { className: b('note'), popoverProps: {
18
19
  placement: COMMON_POPOVER_PLACEMENT,
19
- } }, spec.viewSpec.layoutDescription)) : null),
20
+ } },
21
+ React.createElement(HTMLContent, { html: spec.viewSpec.layoutDescription }))) : null),
20
22
  React.createElement("div", { className: b('second-row') }, children),
21
23
  React.createElement(CopyButton, { spec: spec, value: value })));
22
24
  };
@@ -1,3 +1,3 @@
1
- import { FormValue, Spec, ViewLayoutProps } from '../../../../core';
1
+ import type { FormValue, Spec, ViewLayoutProps } from '../../../../core';
2
2
  import './ViewRow.css';
3
3
  export declare const ViewRow: <T extends FormValue, S extends Spec<any, undefined, undefined>>({ value, spec, children, }: ViewLayoutProps<T, S>) => JSX.Element | null;
@@ -2,8 +2,9 @@ import React from 'react';
2
2
  import { HelpMark, Text } from '@gravity-ui/uikit';
3
3
  import { useDynamicFormsCtx } from '../../../../core';
4
4
  import { CopyButton } from '../../../../kit';
5
- import { block, isNotEmptyValue } from '../../../utils';
6
5
  import { COMMON_POPOVER_PLACEMENT } from '../../../constants/common';
6
+ import { block, isNotEmptyValue } from '../../../utils';
7
+ import { HTMLContent } from '../../HTMLContent';
7
8
  import './ViewRow.css';
8
9
  const b = block('view-row');
9
10
  export const ViewRow = ({ value, spec, children, }) => {
@@ -16,7 +17,8 @@ export const ViewRow = ({ value, spec, children, }) => {
16
17
  React.createElement(Text, { whiteSpace: "nowrap", color: "secondary", ellipsis: true }, spec.viewSpec.layoutTitle),
17
18
  showLayoutDescription && spec.viewSpec.layoutDescription ? (React.createElement(HelpMark, { className: b('note'), popoverProps: {
18
19
  placement: COMMON_POPOVER_PLACEMENT,
19
- } }, spec.viewSpec.layoutDescription)) : null,
20
+ } },
21
+ React.createElement(HTMLContent, { html: spec.viewSpec.layoutDescription }))) : null,
20
22
  React.createElement("div", { className: b('dots') })),
21
23
  React.createElement("div", { className: b('right') }, children),
22
24
  React.createElement(CopyButton, { spec: spec, value: value })));
@@ -1,4 +1,4 @@
1
- import { FormValue, Spec, ViewLayoutProps } from '../../../../core';
1
+ import type { FormValue, Spec, ViewLayoutProps } from '../../../../core';
2
2
  export declare const ViewSection: <T extends FormValue, S extends Spec<any, undefined, undefined>>(props: ViewLayoutProps<T, S>) => JSX.Element | null;
3
3
  export declare const ViewSection2: <T extends FormValue, S extends Spec<any, undefined, undefined>>(props: ViewLayoutProps<T, S>) => JSX.Element | null;
4
4
  export declare const ViewGroup: <T extends FormValue, S extends Spec<any, undefined, undefined>>(props: ViewLayoutProps<T, S>) => JSX.Element | null;
@@ -1,3 +1,3 @@
1
- import { FormValue, Spec, ViewLayoutProps } from '../../../../core';
1
+ import type { FormValue, Spec, ViewLayoutProps } from '../../../../core';
2
2
  import './ViewTableCell.css';
3
3
  export declare const ViewTableCell: <T extends FormValue, S extends Spec<any, undefined, undefined>>({ value, spec, children, }: ViewLayoutProps<T, S>) => JSX.Element;
@@ -1,3 +1,3 @@
1
- import { FormValue, Spec, ViewLayoutProps } from '../../../../core';
1
+ import type { FormValue, Spec, ViewLayoutProps } from '../../../../core';
2
2
  import './ViewTransparent.css';
3
3
  export declare const ViewTransparent: <T extends FormValue, S extends Spec<any, undefined, undefined>>({ value, spec, children, }: ViewLayoutProps<T, S>) => JSX.Element | null;
@@ -1,3 +1,3 @@
1
- import { ArrayView } from '../../../../core';
1
+ import type { ArrayView } from '../../../../core';
2
2
  import './ArrayBaseView.css';
3
3
  export declare const ArrayBaseView: ArrayView;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- import { BooleanViewProps, NumberViewProps, StringViewProps } from '../../../../core';
2
+ import type { BooleanViewProps, NumberViewProps, StringViewProps } from '../../../../core';
3
3
  export declare const BaseView: <T extends BooleanViewProps | NumberViewProps | StringViewProps>({ value, spec, linkValue, }: React.PropsWithChildren<T>) => JSX.Element;
@@ -1,2 +1,2 @@
1
- import { ObjectIndependentView } from '../../../core';
1
+ import type { ObjectIndependentView } from '../../../core';
2
2
  export declare const CardOneOfView: ObjectIndependentView;
@@ -1,3 +1,3 @@
1
- import { ArrayView } from '../../../../core';
1
+ import type { ArrayView } from '../../../../core';
2
2
  import './CheckboxGroupView.css';
3
3
  export declare const CheckboxGroupView: ArrayView;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- import { StringViewProps } from '../../../../core';
2
+ import type { StringViewProps } from '../../../../core';
3
3
  export declare const DateView: React.FC<StringViewProps>;
@@ -1,8 +1,8 @@
1
1
  import { __rest } from "tslib";
2
2
  import React from 'react';
3
- import { BaseView, DEFAULT_DATE_FORMAT } from '../../../components';
4
3
  import { dateTimeParse } from '@gravity-ui/date-utils';
5
4
  import isObject from 'lodash/isObject';
5
+ import { BaseView, DEFAULT_DATE_FORMAT } from '../../../components';
6
6
  export const DateView = (_a) => {
7
7
  var { value, spec } = _a, restProps = __rest(_a, ["value", "spec"]);
8
8
  const { printFormat = DEFAULT_DATE_FORMAT, outputFormat, timeZone, } = spec.viewSpec.dateInput || {};
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- import { StringViewProps } from '../../../../core';
2
+ import type { StringViewProps } from '../../../../core';
3
3
  export declare const FileInputView: React.FC<StringViewProps>;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { StringViewProps } from '../../../../core';
2
+ import type { StringViewProps } from '../../../../core';
3
3
  import './MonacoBaseView.css';
4
4
  export declare const MonacoView: React.FC<StringViewProps>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ObjectIndependentView, ObjectIndependentViewProps } from '../../../../core';
2
+ import type { ObjectIndependentView, ObjectIndependentViewProps } from '../../../../core';
3
3
  import './MultiOneOfView.css';
4
4
  export interface MultiOneOfViewProps extends ObjectIndependentViewProps {
5
5
  withoutIndent?: boolean;
@@ -2,9 +2,9 @@ import React from 'react';
2
2
  import { Popover, Text } from '@gravity-ui/uikit';
3
3
  import isObjectLike from 'lodash/isObjectLike';
4
4
  import { ViewController } from '../../../../core';
5
+ import { COMMON_POPOVER_PLACEMENT } from '../../../constants/common';
5
6
  import { block } from '../../../utils';
6
7
  import { GroupIndent } from '../../GroupIndent';
7
- import { COMMON_POPOVER_PLACEMENT } from '../../../constants/common';
8
8
  import './MultiOneOfView.css';
9
9
  const b = block('multi-oneof-view');
10
10
  export const MultiOneOfView = (props) => {
@@ -1,3 +1,3 @@
1
- import { ArrayView } from '../../../../core';
1
+ import type { ArrayView } from '../../../../core';
2
2
  import './MultiSelectView.css';
3
3
  export declare const MultiSelectView: ArrayView;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Popover, Text } from '@gravity-ui/uikit';
3
- import { block } from '../../../utils';
4
3
  import { COMMON_POPOVER_PLACEMENT } from '../../../constants/common';
4
+ import { block } from '../../../utils';
5
5
  import './MultiSelectView.css';
6
6
  const b = block('multiselect-view');
7
7
  export const MultiSelectView = ({ spec, value = [] }) => {
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { StringViewProps } from '../../../../core';
2
+ import type { StringViewProps } from '../../../../core';
3
3
  import './NumberWithScaleView.css';
4
4
  export declare const NumberWithScaleView: React.FC<StringViewProps>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ObjectIndependentView, ObjectIndependentViewProps } from '../../../../core';
2
+ import type { ObjectIndependentView, ObjectIndependentViewProps } from '../../../../core';
3
3
  import './ObjectBaseView.css';
4
4
  export interface ObjectBaseViewProps extends ObjectIndependentViewProps {
5
5
  inline?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { __rest } from "tslib";
2
2
  import React from 'react';
3
- import isObjectLike from 'lodash/isObjectLike';
4
3
  import { Text } from '@gravity-ui/uikit';
4
+ import isObjectLike from 'lodash/isObjectLike';
5
5
  import { ViewController } from '../../../../core';
6
6
  import { block, filterPropertiesForObjectInline } from '../../../utils';
7
7
  import './ObjectBaseView.css';
@@ -1,2 +1,2 @@
1
- import { ObjectIndependentView } from '../../../../core';
1
+ import type { ObjectIndependentView } from '../../../../core';
2
2
  export declare const ObjectValueInputView: ObjectIndependentView;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ObjectIndependentView, ObjectIndependentViewProps } from '../../../../core';
2
+ import type { ObjectIndependentView, ObjectIndependentViewProps } from '../../../../core';
3
3
  import './OneOfView.css';
4
4
  export interface OneOfViewProps extends ObjectIndependentViewProps {
5
5
  withoutIndent?: boolean;
@@ -1,3 +1,3 @@
1
- import { ArrayView } from '../../../../core';
1
+ import type { ArrayView } from '../../../../core';
2
2
  import './TableArrayView.css';
3
3
  export declare const TableArrayView: ArrayView;
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
2
  import { Flex, HelpMark, Table } from '@gravity-ui/uikit';
3
3
  import { ViewController, isArraySpec, isBooleanSpec, isObjectSpec, useDynamicFormsCtx, } from '../../../../core';
4
- import { block } from '../../../utils';
5
4
  import { COMMON_POPOVER_PLACEMENT } from '../../../constants/common';
5
+ import { block } from '../../../utils';
6
+ import { HTMLContent } from '../../HTMLContent';
6
7
  import './TableArrayView.css';
7
8
  const b = block('table-array-view');
8
9
  export const TableArrayView = ({ value = [], spec, name }) => {
@@ -25,7 +26,8 @@ export const TableArrayView = ({ value = [], spec, name }) => {
25
26
  label,
26
27
  React.createElement(HelpMark, { popoverProps: {
27
28
  placement: COMMON_POPOVER_PLACEMENT,
28
- } }, description)))
29
+ } },
30
+ React.createElement(HTMLContent, { html: description }))))
29
31
  : label,
30
32
  template: (_, idx) => {
31
33
  var _a;
@@ -1,3 +1,3 @@
1
- import { StringView } from '../../../../core';
1
+ import type { StringView } from '../../../../core';
2
2
  import './TextAreaView.css';
3
3
  export declare const TextAreaView: StringView;
@@ -1,2 +1,2 @@
1
- import { StringIndependentView } from '../../../core';
1
+ import type { StringIndependentView } from '../../../core';
2
2
  export declare const TextContentView: StringIndependentView;
@@ -1,2 +1,2 @@
1
- import { ObjectIndependentView } from '../../../../core';
1
+ import type { ObjectIndependentView } from '../../../../core';
2
2
  export declare const TextLinkView: ObjectIndependentView;
@@ -1,2 +1,2 @@
1
- import { ObjectIndependentView } from '../../../../core';
1
+ import type { ObjectIndependentView } from '../../../../core';
2
2
  export declare const TimeRangeSelectorView: ObjectIndependentView;
@@ -1,3 +1,3 @@
1
- import { DynamicFormConfig, DynamicViewConfig } from '../../core';
1
+ import type { DynamicFormConfig, DynamicViewConfig } from '../../core';
2
2
  export declare const dynamicConfig: DynamicFormConfig;
3
3
  export declare const dynamicViewConfig: DynamicViewConfig;
@@ -1,4 +1,4 @@
1
- import { FieldRenderProps, FieldValue } from '../../core';
1
+ import type { FieldRenderProps, FieldValue } from '../../core';
2
2
  export interface UseErrorCheckerParams {
3
3
  name: string;
4
4
  meta: FieldRenderProps<FieldValue>['meta'];
@@ -1,4 +1,4 @@
1
- import { ObjectIndependentInputProps } from '../../../core';
1
+ import type { ObjectIndependentInputProps } from '../../../core';
2
2
  import './useOneOf.css';
3
3
  export interface UseOneOfParams {
4
4
  props: ObjectIndependentInputProps;