@epam/ai-dial-ui-kit 0.15.0-dev.5 → 0.15.0-dev.50
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/README.md +194 -1
- package/dist/CHANGELOG.md +86 -0
- package/dist/{DateCellRenderer-BVM-Q8yx.cjs → DateCellRenderer-CZNa4jVJ.cjs} +31 -31
- package/dist/DateCellRenderer-X6vXPDIG.cjs +1 -0
- package/dist/IconButton-DHOFapLo.cjs +1 -0
- package/dist/JsonEditor-Bxui5wJH.cjs +1 -0
- package/dist/{MarkdownEditor-C9-ZMRVi.cjs → MarkdownEditor-BKtFs714.cjs} +1 -1
- package/dist/MarkdownEditor-Bapd1ycU.cjs +1 -0
- package/dist/MarkdownEditorContainer-B5aHwoYF.cjs +1 -0
- package/dist/{Switch-CUKClcEz.cjs → Switch-DE6MrcqJ.cjs} +1 -1
- package/dist/components/Button/constants.js +9 -8
- package/dist/components/Dropdown/Dropdown.js +70 -65
- package/dist/components/Dropdown/DropdownSubMenuItem.js +63 -55
- package/dist/components/Dropdown/constants.js +16 -14
- package/dist/components/DropdownIcon/DropdownIcon.js +43 -32
- package/dist/components/FileManager/FileManager.js +373 -372
- package/dist/components/FileManager/FileManagerProvider.js +266 -264
- package/dist/components/FileManager/hooks/use-grid-context-menu.js +59 -59
- package/dist/components/MarkdownEditor/MarkdownEditor.js +23 -21
- package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +27 -27
- package/dist/components/New/Accordion/Accordion.js +87 -71
- package/dist/components/New/AutocompleteTagInput/AutocompleteTagInput.js +207 -0
- package/dist/components/New/AutocompleteTagInput/utils.js +11 -0
- package/dist/components/New/Avatar/Avatar.js +70 -0
- package/dist/components/New/Badge/Badge.js +45 -0
- package/dist/components/New/BottomSheet/BottomSheet.js +128 -0
- package/dist/components/New/Breadcrumbs/Breadcrumbs.js +159 -0
- package/dist/components/New/Breadcrumbs/constants.js +41 -0
- package/dist/components/New/Button/Button.js +32 -32
- package/dist/components/New/Button/ButtonWrappers.js +103 -37
- package/dist/components/New/Button/constants.js +3 -0
- package/dist/components/New/Button/utils.js +18 -8
- package/dist/components/New/ButtonDropdown/ButtonDropdown.js +26 -16
- package/dist/components/New/Calendar/Calendar.js +253 -222
- package/dist/components/New/Calendar/constants.js +5 -5
- package/dist/components/New/CaptionText/CaptionText.js +18 -15
- package/dist/components/New/CardShell/CardShell.js +5 -3
- package/dist/components/New/Checkbox/Checkbox.js +67 -56
- package/dist/components/New/Checkbox/CheckboxBox.js +5 -3
- package/dist/components/New/CloseButton/CloseButton.js +18 -16
- package/dist/components/New/CollapsibleSidebar/CollapsibleSidebar.js +39 -34
- package/dist/components/New/ConfirmationPopup/ConfirmationPopup.js +38 -37
- package/dist/components/New/ConfirmationPopup/constants.js +8 -11
- package/dist/components/New/Dropdown/Dropdown.js +112 -105
- package/dist/components/New/Dropdown/DropdownSubMenuItem.js +17 -17
- package/dist/components/New/Dropdown/constants.js +22 -17
- package/dist/components/New/EllipsisTooltip/EllipsisTooltip.js +20 -18
- package/dist/components/New/EntityIdentity/EntityIdentity.js +135 -0
- package/dist/components/New/FileDropzone/FileDropzone.js +27 -25
- package/dist/components/New/FileIcon/FileIcon.js +55 -0
- package/dist/components/New/FileIcon/constants.js +134 -0
- package/dist/components/New/FileIcon/icons/FileGlyph.js +150 -0
- package/dist/components/New/FileIcon/icons/FolderGlyph.js +50 -0
- package/dist/components/New/FileName/FileName.js +78 -0
- package/dist/components/New/FilterChips/FilterChips.js +43 -0
- package/dist/components/New/FilterChips/constants.js +5 -0
- package/dist/components/New/FolderName/FolderName.js +16 -0
- package/dist/components/New/FolderPath/FolderPath.js +29 -28
- package/dist/components/New/Highlight/Highlight.js +23 -30
- package/dist/components/New/IconButton/IconButton.js +30 -28
- package/dist/components/New/InfoButton/InfoButton.js +13 -11
- package/dist/components/New/InlineSelect/InlineSelect.js +74 -56
- package/dist/components/New/InteractiveTooltip/InteractiveTooltip.js +41 -39
- package/dist/components/New/InteractiveTooltip/constants.js +2 -2
- package/dist/components/New/Label/Label.js +13 -8
- package/dist/components/New/MarkdownEditor/MarkdownEditor.js +29 -27
- package/dist/components/New/MenuItem/MenuItem.js +29 -27
- package/dist/components/New/MenuItem/constants.js +9 -8
- package/dist/components/New/NoDataContent/NoDataContent.js +21 -19
- package/dist/components/New/Notification/Notification.js +33 -29
- package/dist/components/New/NumberInput/NumberInput.js +42 -33
- package/dist/components/New/PasswordInput/PasswordInput.js +41 -35
- package/dist/components/New/Popup/Popup.js +46 -44
- package/dist/components/New/Popup/constants.js +3 -3
- package/dist/components/New/Radio/Radio.js +75 -64
- package/dist/components/New/RadioGroup/RadioGroup.js +76 -65
- package/dist/components/New/RadioGroupPopupField/RadioGroupPopupField.js +117 -106
- package/dist/components/New/ResizableContainer/ResizableContainer.js +42 -40
- package/dist/components/New/SchemaRenderer/SchemaRenderer.js +164 -0
- package/dist/components/New/SchemaRenderer/components/SchemaAnyOfEditor.js +65 -0
- package/dist/components/New/SchemaRenderer/components/SchemaArrayEditor.js +109 -0
- package/dist/components/New/SchemaRenderer/components/SchemaField.js +83 -0
- package/dist/components/New/SchemaRenderer/components/SchemaFieldContent.js +72 -0
- package/dist/components/New/SchemaRenderer/components/SchemaJsonEditor.js +41 -0
- package/dist/components/New/SchemaRenderer/components/SchemaKeyValueEditor.js +250 -0
- package/dist/components/New/SchemaRenderer/components/SchemaObjectEditor.js +36 -0
- package/dist/components/New/SchemaRenderer/components/SchemaOneOfEditor.js +163 -0
- package/dist/components/New/SchemaRenderer/components/SchemaPrimitiveField.js +150 -0
- package/dist/components/New/SchemaRenderer/components/SchemaSection.js +135 -0
- package/dist/components/New/SchemaRenderer/context.js +17 -0
- package/dist/components/New/Search/Search.js +29 -27
- package/dist/components/New/SegmentedControl/SegmentedControl.js +29 -23
- package/dist/components/New/Select/CollapsedSelectTags.js +127 -0
- package/dist/components/New/Select/MultiSelectTags.js +18 -15
- package/dist/components/New/Select/Select.js +219 -197
- package/dist/components/New/Select/constants.js +23 -20
- package/dist/components/New/SharedEntityIndicator/SharedEntityIndicator.js +34 -0
- package/dist/components/New/SideDrawer/SideDrawer.js +148 -0
- package/dist/components/New/Slider/Slider.js +151 -90
- package/dist/components/New/Slider/utils.js +12 -0
- package/dist/components/New/Switch/Switch.js +69 -58
- package/dist/components/New/Tabs/Tabs.js +125 -61
- package/dist/components/New/Tag/Tag.js +42 -40
- package/dist/components/New/TagInput/TagInput.js +48 -44
- package/dist/components/New/Textarea/Textarea.js +21 -20
- package/dist/components/New/ToggleIconButton/ToggleIconButton.js +26 -24
- package/dist/components/New/Tooltip/TooltipContent.js +11 -9
- package/dist/components/New/Tooltip/constants.js +1 -1
- package/dist/components/New/TransferQueue/TransferQueue.js +124 -0
- package/dist/components/New/TransferQueue/TransferQueueHeader.js +71 -0
- package/dist/components/New/TransferQueue/TransferQueueRow.js +119 -0
- package/dist/components/New/TransferQueue/constants.js +24 -0
- package/dist/components/New/constants/overlay.js +17 -9
- package/dist/components/Popup/constants.js +8 -8
- package/dist/components/ProgressBar/ProgressBar.js +45 -33
- package/dist/components/SchemaRenderer/SchemaRenderer.js +16 -15
- package/dist/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.js +46 -31
- package/dist/components/SchemaRenderer/components/SchemaAnyOfEditor.js +2 -2
- package/dist/components/SchemaRenderer/components/SchemaArrayEditor.js +1 -1
- package/dist/components/SchemaRenderer/components/SchemaField.js +23 -23
- package/dist/components/SchemaRenderer/components/SchemaFieldContent.js +19 -19
- package/dist/components/SchemaRenderer/components/SchemaKeyValueEditor.js +223 -135
- package/dist/components/SchemaRenderer/components/SchemaObjectEditor.js +1 -1
- package/dist/components/SchemaRenderer/components/SchemaOneOfEditor.js +13 -13
- package/dist/components/SchemaRenderer/components/SchemaPrimitiveField.js +5 -5
- package/dist/components/Skeleton/Skeleton.js +25 -19
- package/dist/components/Spinner/Spinner.js +7 -5
- package/dist/components/Tooltip/TooltipContent.js +11 -11
- package/dist/components-manifest.json +1837 -84
- package/dist/constants/public-class-names.js +218 -0
- package/dist/constants/schema-renderer.js +33 -0
- package/dist/dial-ui-kit.cjs +2 -2
- package/dist/dial-ui-kit.js +356 -307
- package/dist/editors.cjs +1 -1
- package/dist/file-manager.cjs +1 -1
- package/dist/grid.cjs +1 -1
- package/dist/index.css +2 -2
- package/dist/lazy-_W6FYhKg.cjs +1 -0
- package/dist/merge-classes-BEJXjzkx.cjs +1 -0
- package/dist/migration-guides/0.15.0/legacy-theme-variable-fallbacks-removal.md +69 -0
- package/dist/migration-guides/0.15.0/slider-redesign.md +110 -0
- package/dist/migration-guides/README.md +2 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +419 -399
- package/dist/src/components/FileManager/FileManager.d.ts +2 -0
- package/dist/src/components/FileManager/FileManagerContext.d.ts +1 -0
- package/dist/src/components/FileManager/hooks/use-grid-context-menu.d.ts +2 -1
- package/dist/src/components/MarkdownEditor/MarkdownEditor.d.ts +2 -0
- package/dist/src/components/MarkdownEditor/MarkdownEditorContainer.d.ts +2 -0
- package/dist/src/components/New/Accordion/Accordion.d.ts +6 -1
- package/dist/src/components/New/AutocompleteTagInput/AutocompleteTagInput.d.ts +97 -0
- package/dist/src/components/New/AutocompleteTagInput/utils.d.ts +17 -0
- package/dist/src/components/New/AutocompleteTagInput/utils.spec.d.ts +1 -0
- package/dist/src/components/New/Avatar/Avatar.d.ts +55 -0
- package/dist/src/components/New/Badge/Badge.d.ts +47 -0
- package/dist/src/components/New/BottomSheet/BottomSheet.d.ts +84 -0
- package/dist/src/components/New/Breadcrumbs/Breadcrumbs.d.ts +94 -0
- package/dist/src/components/New/Breadcrumbs/constants.d.ts +60 -0
- package/dist/src/components/New/Button/Button.d.ts +4 -1
- package/dist/src/components/New/Button/ButtonWrappers.d.ts +21 -0
- package/dist/src/components/New/Button/utils.d.ts +15 -0
- package/dist/src/components/New/ButtonDropdown/ButtonDropdown.d.ts +4 -0
- package/dist/src/components/New/Calendar/constants.d.ts +1 -1
- package/dist/src/components/New/ConfirmationPopup/constants.d.ts +0 -1
- package/dist/src/components/New/Dropdown/Dropdown.d.ts +9 -1
- package/dist/src/components/New/Dropdown/constants.d.ts +3 -0
- package/dist/src/components/New/EntityIdentity/EntityIdentity.d.ts +85 -0
- package/dist/src/components/New/FileIcon/FileIcon.d.ts +61 -0
- package/dist/src/components/New/FileIcon/constants.d.ts +16 -0
- package/dist/src/components/New/FileIcon/icons/FileGlyph.d.ts +18 -0
- package/dist/src/components/New/FileIcon/icons/FolderGlyph.d.ts +17 -0
- package/dist/src/components/New/FileName/FileName.d.ts +79 -0
- package/dist/src/components/New/FilterChips/FilterChips.d.ts +69 -0
- package/dist/src/components/New/FilterChips/constants.d.ts +13 -0
- package/dist/src/components/New/FolderName/FolderName.d.ts +37 -0
- package/dist/src/components/New/InlineSelect/InlineSelect.d.ts +16 -1
- package/dist/src/components/New/InteractiveTooltip/constants.d.ts +5 -4
- package/dist/src/components/New/MarkdownEditor/MarkdownEditor.d.ts +3 -0
- package/dist/src/components/New/Notification/Notification.d.ts +18 -0
- package/dist/src/components/New/Popup/constants.d.ts +1 -1
- package/dist/src/components/New/SchemaRenderer/SchemaRenderer.d.ts +38 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaAnyOfEditor.d.ts +37 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaArrayEditor.d.ts +35 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaField.d.ts +33 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaFieldContent.d.ts +30 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaJsonEditor.d.ts +29 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaKeyValueEditor.d.ts +37 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaObjectEditor.d.ts +32 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaOneOfEditor.d.ts +39 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaPrimitiveField.d.ts +38 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaSection.d.ts +39 -0
- package/dist/src/components/New/SchemaRenderer/context.d.ts +8 -0
- package/dist/src/components/New/SchemaRenderer/types.d.ts +76 -0
- package/dist/src/components/New/Select/CollapsedSelectTags.d.ts +22 -0
- package/dist/src/components/New/Select/MultiSelectTags.d.ts +5 -0
- package/dist/src/components/New/Select/Select.d.ts +9 -0
- package/dist/src/components/New/Select/constants.d.ts +3 -2
- package/dist/src/components/New/SharedEntityIndicator/SharedEntityIndicator.d.ts +35 -0
- package/dist/src/components/New/SideDrawer/SideDrawer.d.ts +100 -0
- package/dist/src/components/New/Slider/Slider.d.ts +20 -1
- package/dist/src/components/New/Slider/utils.d.ts +6 -0
- package/dist/src/components/New/Slider/utils.spec.d.ts +1 -0
- package/dist/src/components/New/Tabs/Tabs.d.ts +54 -6
- package/dist/src/components/New/Tooltip/constants.d.ts +5 -3
- package/dist/src/components/New/TransferQueue/TransferQueue.d.ts +139 -0
- package/dist/src/components/New/TransferQueue/TransferQueueHeader.d.ts +16 -0
- package/dist/src/components/New/TransferQueue/TransferQueueRow.d.ts +10 -0
- package/dist/src/components/New/TransferQueue/constants.d.ts +6 -0
- package/dist/src/components/New/constants/overlay.d.ts +13 -0
- package/dist/src/components/Popup/constants.d.ts +1 -1
- package/dist/src/components/SchemaRenderer/types.d.ts +5 -82
- package/dist/src/components/SchemaRenderer/utils.d.ts +1 -13
- package/dist/src/constants/public-class-names.d.ts +209 -0
- package/dist/src/constants/schema-renderer.d.ts +2 -0
- package/dist/src/index.d.ts +39 -2
- package/dist/src/models/json-schema.d.ts +71 -0
- package/dist/src/types/accordion.d.ts +7 -0
- package/dist/src/types/avatar.d.ts +7 -0
- package/dist/src/types/badge.d.ts +16 -0
- package/dist/src/types/breadcrumbs.d.ts +9 -0
- package/dist/src/types/button.d.ts +1 -0
- package/dist/src/types/entity-type.d.ts +9 -0
- package/dist/src/types/json-schema.d.ts +22 -0
- package/dist/src/types/transfer-queue.d.ts +10 -0
- package/dist/src/utils/__tests__/avatar.spec.d.ts +1 -0
- package/dist/src/utils/avatar.d.ts +12 -0
- package/dist/src/utils/json-schema.d.ts +23 -0
- package/dist/src/utils/sub-menu-floating.d.ts +7 -4
- package/dist/types/accordion.js +4 -0
- package/dist/types/avatar.js +4 -0
- package/dist/types/badge.js +5 -0
- package/dist/types/breadcrumbs.js +4 -0
- package/dist/types/button.js +3 -3
- package/dist/types/entity-type.js +4 -0
- package/dist/types/json-schema.js +7 -0
- package/dist/types/transfer-queue.js +4 -0
- package/dist/use-file-manager-tabs-Bzzwwcgk.cjs +3 -0
- package/dist/utils/avatar.js +22 -0
- package/dist/{components/SchemaRenderer/utils.js → utils/json-schema.js} +122 -95
- package/dist/utils/merge-classes.js +12 -5
- package/dist/utils/sub-menu-floating.js +99 -54
- package/package.json +4 -9
- package/dist/DateCellRenderer-ssp7eaZY.cjs +0 -1
- package/dist/IconButton-DWqoaBWf.cjs +0 -1
- package/dist/JsonEditor-D2jSlRFi.cjs +0 -1
- package/dist/MarkdownEditor-BzEbdj7R.cjs +0 -1
- package/dist/MarkdownEditorContainer-BvwJjkiZ.cjs +0 -1
- package/dist/components/SchemaRenderer/types.js +0 -27
- package/dist/editor-_174x-qy.cjs +0 -1
- package/dist/lazy-DM-7dL0Y.cjs +0 -1
- package/dist/merge-classes-Dipy1Ih1.cjs +0 -1
- package/dist/use-file-manager-tabs-DjdR_mYM.cjs +0 -3
|
@@ -1,138 +1,149 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as p, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { IconMaximize as oo } from "@tabler/icons-react";
|
|
3
|
-
import { useId as eo, useState as
|
|
4
|
-
import { NeutralButton as ao, PrimaryButton as
|
|
5
|
-
import { ErrorText as
|
|
3
|
+
import { useId as eo, useState as S, useCallback as i } from "react";
|
|
4
|
+
import { NeutralButton as ao, PrimaryButton as io } from "../Button/ButtonWrappers.js";
|
|
5
|
+
import { ErrorText as lo, CaptionText as to } from "../CaptionText/CaptionText.js";
|
|
6
6
|
import { Label as ro } from "../Label/Label.js";
|
|
7
7
|
import { Popup as so } from "../Popup/Popup.js";
|
|
8
8
|
import { RadioGroup as no } from "../RadioGroup/RadioGroup.js";
|
|
9
|
-
import { DIAL_KIT_ICON_STROKE as
|
|
10
|
-
import { DIAL_ICON_SIZE as
|
|
9
|
+
import { DIAL_KIT_ICON_STROKE as po } from "../constants/icon.js";
|
|
10
|
+
import { DIAL_ICON_SIZE as co } from "../../../constants/icon.js";
|
|
11
11
|
import { PopupSize as mo } from "../../../types/popup.js";
|
|
12
12
|
import { RadioGroupOrientation as fo } from "../../../types/radio-group.js";
|
|
13
|
-
import { mergeClasses as
|
|
14
|
-
import { resolveAccessibleName as
|
|
15
|
-
import { fieldPlaceholderClassName as uo, fieldValueClassName as
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
import { mergeClasses as F } from "../../../utils/merge-classes.js";
|
|
14
|
+
import { resolveAccessibleName as I } from "../../../utils/accessible-name.js";
|
|
15
|
+
import { fieldPlaceholderClassName as uo, fieldValueClassName as Io, fieldIconClassName as No, fieldBaseClassName as bo, popupBodyClassName as Co, popupFooterClassName as xo, defaultCancelLabel as ho, defaultApplyLabel as vo } from "./constants.js";
|
|
16
|
+
import { DIAL_KIT_CLASS as Lo } from "../../../constants/public-class-names.js";
|
|
17
|
+
const zo = ({
|
|
18
|
+
items: N,
|
|
19
|
+
value: l,
|
|
20
|
+
customValue: G,
|
|
21
|
+
header: b,
|
|
21
22
|
onApply: C,
|
|
22
|
-
id:
|
|
23
|
-
labelProps:
|
|
24
|
-
placeholder:
|
|
23
|
+
id: R,
|
|
24
|
+
labelProps: c,
|
|
25
|
+
placeholder: j,
|
|
25
26
|
selectedValue: x,
|
|
26
27
|
onSelectionChange: h,
|
|
27
28
|
onCancel: v,
|
|
28
29
|
onClose: L,
|
|
29
|
-
isValid:
|
|
30
|
-
applyButtonLabel:
|
|
31
|
-
cancelButtonLabel:
|
|
32
|
-
size:
|
|
30
|
+
isValid: z = !0,
|
|
31
|
+
applyButtonLabel: E = vo,
|
|
32
|
+
cancelButtonLabel: K = ho,
|
|
33
|
+
size: M = mo.Md,
|
|
33
34
|
portalId: w,
|
|
34
|
-
disabled:
|
|
35
|
+
disabled: t,
|
|
35
36
|
invalid: U,
|
|
36
37
|
error: r,
|
|
37
|
-
caption:
|
|
38
|
+
caption: D,
|
|
38
39
|
ariaLabel: V,
|
|
39
40
|
className: Z,
|
|
40
41
|
fieldClassName: q
|
|
41
42
|
}) => {
|
|
42
|
-
const H = eo(), e =
|
|
43
|
-
|
|
44
|
-
}, [
|
|
45
|
-
|
|
46
|
-
}, [L]),
|
|
43
|
+
const H = eo(), e = R ?? H, $ = `${e}-label`, k = `${e}-value`, y = r ? `${e}-error` : void 0, T = !r && D ? `${e}-caption` : void 0, [_, O] = S(!1), a = x !== void 0, [J, P] = S(l), m = a ? x : J, Q = i(() => {
|
|
44
|
+
t || (a || P(l), O(!0));
|
|
45
|
+
}, [t, a, l]), s = i(() => {
|
|
46
|
+
O(!1), L?.();
|
|
47
|
+
}, [L]), g = i(() => {
|
|
47
48
|
v?.(), s();
|
|
48
|
-
}, [v, s]), W =
|
|
49
|
+
}, [v, s]), W = i(() => {
|
|
49
50
|
C(m), s();
|
|
50
|
-
}, [C, m, s]), X =
|
|
51
|
+
}, [C, m, s]), X = i(
|
|
51
52
|
(d) => {
|
|
52
|
-
a ||
|
|
53
|
+
a || P(d), h?.(d);
|
|
53
54
|
},
|
|
54
55
|
[a, h]
|
|
55
|
-
), n =
|
|
56
|
-
return /* @__PURE__ */
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
type: "button",
|
|
64
|
-
id: e,
|
|
65
|
-
disabled: i,
|
|
66
|
-
"aria-haspopup": "dialog",
|
|
67
|
-
"aria-expanded": T,
|
|
68
|
-
"aria-labelledby": u ? `${u} ${y}` : void 0,
|
|
69
|
-
"aria-describedby": [D, O].filter(Boolean).join(" ") || void 0,
|
|
70
|
-
onClick: Q,
|
|
71
|
-
className: z(
|
|
72
|
-
Io,
|
|
73
|
-
U && "dial-kit-input-error",
|
|
74
|
-
i && "dial-kit-input-disable",
|
|
75
|
-
q
|
|
76
|
-
),
|
|
77
|
-
children: [
|
|
78
|
-
/* @__PURE__ */ o(
|
|
79
|
-
"span",
|
|
80
|
-
{
|
|
81
|
-
id: y,
|
|
82
|
-
className: R == null ? uo : No,
|
|
83
|
-
children: R ?? F
|
|
84
|
-
}
|
|
85
|
-
),
|
|
86
|
-
/* @__PURE__ */ o(
|
|
87
|
-
oo,
|
|
88
|
-
{
|
|
89
|
-
size: po.MD,
|
|
90
|
-
stroke: co,
|
|
91
|
-
"aria-hidden": "true",
|
|
92
|
-
className: bo
|
|
93
|
-
}
|
|
94
|
-
)
|
|
95
|
-
]
|
|
96
|
-
}
|
|
56
|
+
), n = I(c?.label), f = n ? void 0 : I(V), u = n ? $ : f && `${e}-name`, A = I(b), Y = N.find((d) => d.value === l)?.label, B = G ?? Y;
|
|
57
|
+
return /* @__PURE__ */ p(
|
|
58
|
+
"div",
|
|
59
|
+
{
|
|
60
|
+
className: F(
|
|
61
|
+
"flex w-full flex-col gap-2",
|
|
62
|
+
Z,
|
|
63
|
+
Lo.radioGroupPopupField
|
|
97
64
|
),
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
open: T,
|
|
105
|
-
header: I,
|
|
106
|
-
ariaLabel: _ ? void 0 : n,
|
|
107
|
-
portalId: w,
|
|
108
|
-
size: K,
|
|
109
|
-
onClose: P,
|
|
110
|
-
footer: /* @__PURE__ */ c("div", { className: xo, children: [
|
|
111
|
-
/* @__PURE__ */ o(ao, { label: S, onClick: P }),
|
|
112
|
-
/* @__PURE__ */ o(
|
|
113
|
-
lo,
|
|
65
|
+
children: [
|
|
66
|
+
c && /* @__PURE__ */ o(ro, { ...c, id: $, htmlFor: e }),
|
|
67
|
+
/* @__PURE__ */ p("div", { className: "flex flex-col gap-1", children: [
|
|
68
|
+
f && /* @__PURE__ */ o("span", { id: u, className: "sr-only", children: f }),
|
|
69
|
+
/* @__PURE__ */ p(
|
|
70
|
+
"button",
|
|
114
71
|
{
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
72
|
+
type: "button",
|
|
73
|
+
id: e,
|
|
74
|
+
disabled: t,
|
|
75
|
+
"aria-haspopup": "dialog",
|
|
76
|
+
"aria-expanded": _,
|
|
77
|
+
"aria-labelledby": u ? `${u} ${k}` : void 0,
|
|
78
|
+
"aria-describedby": [y, T].filter(Boolean).join(" ") || void 0,
|
|
79
|
+
onClick: Q,
|
|
80
|
+
className: F(
|
|
81
|
+
bo,
|
|
82
|
+
U && "dial-kit-input-error",
|
|
83
|
+
t && "dial-kit-input-disable",
|
|
84
|
+
q
|
|
85
|
+
),
|
|
86
|
+
children: [
|
|
87
|
+
/* @__PURE__ */ o(
|
|
88
|
+
"span",
|
|
89
|
+
{
|
|
90
|
+
id: k,
|
|
91
|
+
className: B == null ? uo : Io,
|
|
92
|
+
children: B ?? j
|
|
93
|
+
}
|
|
94
|
+
),
|
|
95
|
+
/* @__PURE__ */ o(
|
|
96
|
+
oo,
|
|
97
|
+
{
|
|
98
|
+
size: co.MD,
|
|
99
|
+
stroke: po,
|
|
100
|
+
"aria-hidden": "true",
|
|
101
|
+
className: No
|
|
102
|
+
}
|
|
103
|
+
)
|
|
104
|
+
]
|
|
118
105
|
}
|
|
119
|
-
)
|
|
106
|
+
),
|
|
107
|
+
/* @__PURE__ */ o(lo, { id: y, text: r }),
|
|
108
|
+
!r && /* @__PURE__ */ o(to, { id: T, text: D })
|
|
120
109
|
] }),
|
|
121
|
-
|
|
122
|
-
|
|
110
|
+
/* @__PURE__ */ o(
|
|
111
|
+
so,
|
|
123
112
|
{
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
113
|
+
open: _,
|
|
114
|
+
header: b,
|
|
115
|
+
ariaLabel: A ? void 0 : n,
|
|
116
|
+
portalId: w,
|
|
117
|
+
size: M,
|
|
118
|
+
onClose: g,
|
|
119
|
+
footer: /* @__PURE__ */ p("div", { className: xo, children: [
|
|
120
|
+
/* @__PURE__ */ o(ao, { label: K, onClick: g }),
|
|
121
|
+
/* @__PURE__ */ o(
|
|
122
|
+
io,
|
|
123
|
+
{
|
|
124
|
+
label: E,
|
|
125
|
+
disabled: !z,
|
|
126
|
+
onClick: W
|
|
127
|
+
}
|
|
128
|
+
)
|
|
129
|
+
] }),
|
|
130
|
+
children: /* @__PURE__ */ o("div", { className: Co, children: /* @__PURE__ */ o(
|
|
131
|
+
no,
|
|
132
|
+
{
|
|
133
|
+
id: `${e}-options`,
|
|
134
|
+
items: N,
|
|
135
|
+
value: m,
|
|
136
|
+
onChange: X,
|
|
137
|
+
orientation: fo.Column,
|
|
138
|
+
ariaLabel: n ?? A
|
|
139
|
+
}
|
|
140
|
+
) })
|
|
130
141
|
}
|
|
131
|
-
)
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
142
|
+
)
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
);
|
|
135
146
|
};
|
|
136
147
|
export {
|
|
137
|
-
|
|
148
|
+
zo as RadioGroupPopupField
|
|
138
149
|
};
|
|
@@ -1,56 +1,57 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { Resizable as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { ResizableContainerSide as
|
|
5
|
-
import { mergeClasses as
|
|
6
|
-
import { ResizeHandle as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
import { Resizable as E } from "../../../node_modules/re-resizable/lib/index.js";
|
|
3
|
+
import { useState as I, useRef as H, useCallback as d, useMemo as T } from "react";
|
|
4
|
+
import { ResizableContainerSide as _ } from "../../../types/resizable-container.js";
|
|
5
|
+
import { mergeClasses as y } from "../../../utils/merge-classes.js";
|
|
6
|
+
import { ResizeHandle as B } from "./components/ResizeHandle.js";
|
|
7
|
+
import { DIAL_KIT_CLASS as K } from "../../../constants/public-class-names.js";
|
|
8
|
+
const j = 16, J = ({
|
|
9
|
+
children: M,
|
|
10
|
+
minWidth: r,
|
|
10
11
|
maxWidth: s,
|
|
11
12
|
width: h,
|
|
12
|
-
defaultWidth:
|
|
13
|
+
defaultWidth: w,
|
|
13
14
|
onResizeStop: i,
|
|
14
15
|
onResize: l,
|
|
15
|
-
side: a =
|
|
16
|
+
side: a = _.Right,
|
|
16
17
|
keyboardStep: u = j,
|
|
17
18
|
ariaLabel: g = "Resize panel",
|
|
18
|
-
className:
|
|
19
|
+
className: x,
|
|
19
20
|
resizeHandlerClassName: p,
|
|
20
21
|
resizeHandler: z
|
|
21
22
|
}) => {
|
|
22
|
-
const [m, C] =
|
|
23
|
+
const [m, C] = I(!1), [A, R] = I(w ?? r), n = h !== void 0, o = n ? h : A, f = H(null), S = d(() => {
|
|
23
24
|
C(!0);
|
|
24
|
-
}, []),
|
|
25
|
+
}, []), b = d(() => {
|
|
25
26
|
C(!1);
|
|
26
|
-
const t = f.current?.resizable?.getBoundingClientRect(), e = t ? Math.round(t.width) :
|
|
27
|
-
|
|
28
|
-
}, [i,
|
|
27
|
+
const t = f.current?.resizable?.getBoundingClientRect(), e = t ? Math.round(t.width) : r;
|
|
28
|
+
n || R(e), i?.(e);
|
|
29
|
+
}, [i, n, r]), v = d(
|
|
29
30
|
(t) => {
|
|
30
|
-
const e = Math.min(s, Math.max(
|
|
31
|
-
e !== o && (
|
|
31
|
+
const e = Math.min(s, Math.max(r, t));
|
|
32
|
+
e !== o && (n || (R(e), f.current?.updateSize({ width: e, height: "100%" })), l?.(e), i?.(e));
|
|
32
33
|
},
|
|
33
|
-
[s,
|
|
34
|
-
),
|
|
35
|
-
const t = a ===
|
|
36
|
-
|
|
34
|
+
[s, r, o, n, l, i]
|
|
35
|
+
), L = T(() => {
|
|
36
|
+
const t = a === _.Left, e = /* @__PURE__ */ c(
|
|
37
|
+
B,
|
|
37
38
|
{
|
|
38
39
|
side: a,
|
|
39
40
|
isResizing: m,
|
|
40
41
|
width: o,
|
|
41
|
-
minWidth:
|
|
42
|
+
minWidth: r,
|
|
42
43
|
maxWidth: s,
|
|
43
44
|
step: u,
|
|
44
45
|
ariaLabel: g,
|
|
45
|
-
onWidthChange:
|
|
46
|
+
onWidthChange: v,
|
|
46
47
|
customHandler: z,
|
|
47
48
|
handlerClassName: p
|
|
48
49
|
}
|
|
49
50
|
);
|
|
50
51
|
return {
|
|
51
|
-
size:
|
|
52
|
-
defaultSize:
|
|
53
|
-
minWidth:
|
|
52
|
+
size: n ? { width: o, height: "100%" } : void 0,
|
|
53
|
+
defaultSize: n ? void 0 : { width: o, height: "100%" },
|
|
54
|
+
minWidth: r,
|
|
54
55
|
maxWidth: s,
|
|
55
56
|
enable: {
|
|
56
57
|
left: t,
|
|
@@ -68,39 +69,40 @@ const j = 16, q = ({
|
|
|
68
69
|
left: t ? e : void 0,
|
|
69
70
|
right: t ? void 0 : e
|
|
70
71
|
},
|
|
71
|
-
onResizeStart:
|
|
72
|
-
onResize: (k, F,
|
|
73
|
-
l?.(Math.round(
|
|
72
|
+
onResizeStart: S,
|
|
73
|
+
onResize: (k, F, D) => {
|
|
74
|
+
l?.(Math.round(D.offsetWidth));
|
|
74
75
|
},
|
|
75
|
-
onResizeStop:
|
|
76
|
+
onResizeStop: b
|
|
76
77
|
};
|
|
77
78
|
}, [
|
|
78
79
|
a,
|
|
79
|
-
r,
|
|
80
|
-
o,
|
|
81
80
|
n,
|
|
81
|
+
o,
|
|
82
|
+
r,
|
|
82
83
|
s,
|
|
83
84
|
u,
|
|
84
85
|
g,
|
|
85
|
-
|
|
86
|
+
v,
|
|
86
87
|
z,
|
|
87
88
|
p,
|
|
88
89
|
m,
|
|
90
|
+
S,
|
|
89
91
|
b,
|
|
90
|
-
v,
|
|
91
92
|
l
|
|
92
93
|
]);
|
|
93
|
-
return /* @__PURE__ */ c(
|
|
94
|
+
return /* @__PURE__ */ c(E, { ref: f, ...L, children: /* @__PURE__ */ c(
|
|
94
95
|
"div",
|
|
95
96
|
{
|
|
96
|
-
className:
|
|
97
|
+
className: y(
|
|
97
98
|
"group flex size-full flex-col bg-layer-raised transition-all motion-reduce:transition-none",
|
|
98
|
-
|
|
99
|
+
x,
|
|
100
|
+
K.resizableContainer
|
|
99
101
|
),
|
|
100
|
-
children:
|
|
102
|
+
children: M
|
|
101
103
|
}
|
|
102
104
|
) });
|
|
103
105
|
};
|
|
104
106
|
export {
|
|
105
|
-
|
|
107
|
+
J as ResizableContainer
|
|
106
108
|
};
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { jsx as l, jsxs as h } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as b, useState as L, useCallback as Q, useEffect as U } from "react";
|
|
3
|
+
import { DEFAULT_SCHEMA_TEXTS as W } from "../../../constants/schema-renderer.js";
|
|
4
|
+
import { DIAL_KIT_CLASS as Y } from "../../../constants/public-class-names.js";
|
|
5
|
+
import { SchemaRendererVariant as c } from "../../../types/json-schema.js";
|
|
6
|
+
import { extractDefaults as Z, sortByPropertyOrder as $, resolveRef as P, toFieldLabel as R, validateRequired as y, isMissingRequiredValue as k } from "../../../utils/json-schema.js";
|
|
7
|
+
import { mergeClasses as ee } from "../../../utils/merge-classes.js";
|
|
8
|
+
import { SchemaField as re } from "./components/SchemaField.js";
|
|
9
|
+
import { SchemaFieldContent as q } from "./components/SchemaFieldContent.js";
|
|
10
|
+
import { SchemaJsonEditor as te } from "./components/SchemaJsonEditor.js";
|
|
11
|
+
import { SchemaSection as T } from "./components/SchemaSection.js";
|
|
12
|
+
import { SchemaRendererContext as oe, isPathTouched as le } from "./context.js";
|
|
13
|
+
const F = "dial-small-semi-text text-primary", ge = ({
|
|
14
|
+
schema: t,
|
|
15
|
+
defaultValue: f,
|
|
16
|
+
texts: p,
|
|
17
|
+
className: N,
|
|
18
|
+
readonly: j = !1,
|
|
19
|
+
defaultExpanded: m = !0,
|
|
20
|
+
inputClassName: A,
|
|
21
|
+
variant: d = c.Sections,
|
|
22
|
+
onChange: M,
|
|
23
|
+
onPropertyChange: O,
|
|
24
|
+
onDefaultValues: _,
|
|
25
|
+
renderField: D,
|
|
26
|
+
skipUntouched: S = !1,
|
|
27
|
+
acceptableResourceTypes: E
|
|
28
|
+
}) => {
|
|
29
|
+
const H = b(
|
|
30
|
+
() => ({ ...W, ...p }),
|
|
31
|
+
[p]
|
|
32
|
+
), g = b(() => f || (Z(t, t) ?? {}), []), [n, K] = L(g), [C, V] = L(
|
|
33
|
+
() => /* @__PURE__ */ new Set()
|
|
34
|
+
), w = Q((e) => {
|
|
35
|
+
V(
|
|
36
|
+
(r) => r.has(e) ? r : /* @__PURE__ */ new Set([...r, e])
|
|
37
|
+
);
|
|
38
|
+
}, []);
|
|
39
|
+
U(() => {
|
|
40
|
+
_?.(g);
|
|
41
|
+
}, []);
|
|
42
|
+
const v = (e, r) => {
|
|
43
|
+
const o = { ...n, [e]: r };
|
|
44
|
+
K(o), M?.(o), O?.(e, r);
|
|
45
|
+
}, I = new Set(Object.keys(t.properties ?? {})), B = Object.keys(n).filter(
|
|
46
|
+
(e) => !I.has(e)
|
|
47
|
+
), J = $(
|
|
48
|
+
Object.entries(t.properties ?? {}).filter(
|
|
49
|
+
([, e]) => !P(e, t).isHidden
|
|
50
|
+
)
|
|
51
|
+
), X = t.required ?? [];
|
|
52
|
+
return /* @__PURE__ */ l(
|
|
53
|
+
oe.Provider,
|
|
54
|
+
{
|
|
55
|
+
value: {
|
|
56
|
+
rootSchema: t,
|
|
57
|
+
texts: H,
|
|
58
|
+
readonly: j,
|
|
59
|
+
defaultExpanded: m,
|
|
60
|
+
inputClassName: A,
|
|
61
|
+
acceptableResourceTypes: E,
|
|
62
|
+
renderField: D,
|
|
63
|
+
touchedPaths: C,
|
|
64
|
+
markTouched: w,
|
|
65
|
+
skipUntouched: S
|
|
66
|
+
},
|
|
67
|
+
children: /* @__PURE__ */ h(
|
|
68
|
+
"div",
|
|
69
|
+
{
|
|
70
|
+
className: ee(
|
|
71
|
+
"flex flex-col gap-4",
|
|
72
|
+
N,
|
|
73
|
+
Y.schemaRenderer
|
|
74
|
+
),
|
|
75
|
+
children: [
|
|
76
|
+
J.map(([e, r]) => {
|
|
77
|
+
const o = P(r, t), s = o.title ?? r.title ?? R(e), a = X.includes(e), i = n[e], u = (G) => v(e, G);
|
|
78
|
+
if (d === c.Flat)
|
|
79
|
+
return /* @__PURE__ */ l(
|
|
80
|
+
re,
|
|
81
|
+
{
|
|
82
|
+
schema: r,
|
|
83
|
+
value: i,
|
|
84
|
+
onChange: u,
|
|
85
|
+
path: [e],
|
|
86
|
+
level: 0,
|
|
87
|
+
required: a,
|
|
88
|
+
label: s
|
|
89
|
+
},
|
|
90
|
+
e
|
|
91
|
+
);
|
|
92
|
+
if (d === c.FlatSections)
|
|
93
|
+
return /* @__PURE__ */ h("section", { className: "flex flex-col gap-3", children: [
|
|
94
|
+
/* @__PURE__ */ l("h2", { className: F, children: s }),
|
|
95
|
+
/* @__PURE__ */ l(
|
|
96
|
+
q,
|
|
97
|
+
{
|
|
98
|
+
schema: r,
|
|
99
|
+
value: i,
|
|
100
|
+
onChange: u,
|
|
101
|
+
path: [e],
|
|
102
|
+
level: 0,
|
|
103
|
+
required: a,
|
|
104
|
+
ariaLabel: s
|
|
105
|
+
}
|
|
106
|
+
)
|
|
107
|
+
] }, e);
|
|
108
|
+
const x = y(i, o, t, e), z = a && k(i) ? Math.max(x.length, 1) : x.length;
|
|
109
|
+
return /* @__PURE__ */ l(
|
|
110
|
+
T,
|
|
111
|
+
{
|
|
112
|
+
title: s,
|
|
113
|
+
description: o.description,
|
|
114
|
+
level: 0,
|
|
115
|
+
defaultExpanded: m,
|
|
116
|
+
errorCount: le(e, C, S, !0) ? z : 0,
|
|
117
|
+
children: /* @__PURE__ */ l(
|
|
118
|
+
q,
|
|
119
|
+
{
|
|
120
|
+
schema: r,
|
|
121
|
+
value: i,
|
|
122
|
+
onChange: u,
|
|
123
|
+
path: [e],
|
|
124
|
+
level: 1,
|
|
125
|
+
required: a,
|
|
126
|
+
ariaLabel: s
|
|
127
|
+
}
|
|
128
|
+
)
|
|
129
|
+
},
|
|
130
|
+
e
|
|
131
|
+
);
|
|
132
|
+
}),
|
|
133
|
+
B.map((e) => {
|
|
134
|
+
const r = R(e), o = /* @__PURE__ */ l(
|
|
135
|
+
te,
|
|
136
|
+
{
|
|
137
|
+
value: n[e],
|
|
138
|
+
onChange: (s) => v(e, s),
|
|
139
|
+
ariaLabel: r
|
|
140
|
+
}
|
|
141
|
+
);
|
|
142
|
+
return d === c.Sections ? /* @__PURE__ */ l(
|
|
143
|
+
T,
|
|
144
|
+
{
|
|
145
|
+
title: r,
|
|
146
|
+
level: 0,
|
|
147
|
+
defaultExpanded: m,
|
|
148
|
+
children: o
|
|
149
|
+
},
|
|
150
|
+
e
|
|
151
|
+
) : /* @__PURE__ */ h("section", { className: "flex flex-col gap-3", children: [
|
|
152
|
+
/* @__PURE__ */ l("h2", { className: F, children: r }),
|
|
153
|
+
o
|
|
154
|
+
] }, e);
|
|
155
|
+
})
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
)
|
|
159
|
+
}
|
|
160
|
+
);
|
|
161
|
+
};
|
|
162
|
+
export {
|
|
163
|
+
ge as SchemaRenderer
|
|
164
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { jsxs as v, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { Select as O } from "../../Select/Select.js";
|
|
3
|
+
import { JsonSchemaType as t } from "../../../../types/json-schema.js";
|
|
4
|
+
import { detectAnyOfVariant as A, resolveRef as d, getOptionLabel as E, extractDefaults as T } from "../../../../utils/json-schema.js";
|
|
5
|
+
import { useSchemaContext as P } from "../context.js";
|
|
6
|
+
import { SchemaFieldContent as Y } from "./SchemaFieldContent.js";
|
|
7
|
+
const y = {
|
|
8
|
+
[t.Array]: [],
|
|
9
|
+
[t.String]: "",
|
|
10
|
+
[t.Boolean]: !1,
|
|
11
|
+
[t.Integer]: 0,
|
|
12
|
+
[t.Number]: 0
|
|
13
|
+
}, V = ({
|
|
14
|
+
schema: u,
|
|
15
|
+
value: c,
|
|
16
|
+
onChange: l,
|
|
17
|
+
path: h,
|
|
18
|
+
level: S,
|
|
19
|
+
ariaLabel: m
|
|
20
|
+
}) => {
|
|
21
|
+
const { rootSchema: o, texts: x, readonly: N = !1 } = P(), s = u.anyOf ?? [], i = A(c, s, o), a = s[i], b = !a || d(a, o).type === t.Null, g = (e) => {
|
|
22
|
+
const r = d(s[e], o);
|
|
23
|
+
if (r.type === t.Null) {
|
|
24
|
+
l(null);
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
const p = T(r, o);
|
|
28
|
+
if (p !== void 0) {
|
|
29
|
+
l(p);
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
const f = typeof r.type == "string" ? r.type : "";
|
|
33
|
+
l(f in y ? y[f] : {});
|
|
34
|
+
};
|
|
35
|
+
return /* @__PURE__ */ v("div", { className: "flex flex-col gap-3", children: [
|
|
36
|
+
/* @__PURE__ */ n(
|
|
37
|
+
O,
|
|
38
|
+
{
|
|
39
|
+
ariaLabel: m ?? x.selectTypePlaceholder,
|
|
40
|
+
options: s.map((e, r) => ({
|
|
41
|
+
value: String(r),
|
|
42
|
+
label: E(e, o)
|
|
43
|
+
})),
|
|
44
|
+
value: String(i),
|
|
45
|
+
disabled: N,
|
|
46
|
+
onChange: (e) => g(Number(typeof e == "string" ? e : e[0])),
|
|
47
|
+
className: "max-w-[280px]"
|
|
48
|
+
}
|
|
49
|
+
),
|
|
50
|
+
!b && /* @__PURE__ */ n("div", { className: "border-l-2 border-tertiary pl-3", children: /* @__PURE__ */ n(
|
|
51
|
+
Y,
|
|
52
|
+
{
|
|
53
|
+
schema: a,
|
|
54
|
+
value: c,
|
|
55
|
+
onChange: l,
|
|
56
|
+
path: h,
|
|
57
|
+
level: S,
|
|
58
|
+
ariaLabel: m
|
|
59
|
+
}
|
|
60
|
+
) })
|
|
61
|
+
] });
|
|
62
|
+
};
|
|
63
|
+
export {
|
|
64
|
+
V as SchemaAnyOfEditor
|
|
65
|
+
};
|