@epam/ai-dial-ui-kit 0.15.0-dev.7 → 0.15.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/README.md +56 -2
- package/dist/CHANGELOG.md +86 -0
- package/dist/DateCellRenderer-BdUMSg-E.cjs +1 -0
- package/dist/{DateCellRenderer-4iMidqal.cjs → DateCellRenderer-CZNa4jVJ.cjs} +30 -30
- 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 +2 -2
- package/dist/components/Dropdown/DropdownSubMenuItem.js +1 -1
- package/dist/components/Dropdown/constants.js +7 -7
- package/dist/components/DropdownIcon/DropdownIcon.js +4 -4
- 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 +86 -72
- package/dist/components/New/AutocompleteTagInput/AutocompleteTagInput.js +214 -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 +27 -18
- package/dist/components/New/Calendar/Calendar.js +6 -6
- package/dist/components/New/Calendar/constants.js +5 -5
- package/dist/components/New/CaptionText/CaptionText.js +3 -3
- package/dist/components/New/CardShell/CardShell.js +2 -2
- package/dist/components/New/Checkbox/Checkbox.js +2 -2
- package/dist/components/New/Checkbox/CheckboxBox.js +2 -2
- package/dist/components/New/CloseButton/CloseButton.js +1 -1
- package/dist/components/New/CollapsibleSidebar/CollapsibleSidebar.js +2 -2
- package/dist/components/New/ConfirmationPopup/ConfirmationPopup.js +21 -25
- package/dist/components/New/ConfirmationPopup/constants.js +8 -11
- package/dist/components/New/Dropdown/Dropdown.js +99 -98
- 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 +2 -2
- package/dist/components/New/EntityIdentity/EntityIdentity.js +135 -0
- package/dist/components/New/FileDropzone/FileDropzone.js +2 -2
- 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 +1 -1
- package/dist/components/New/Grid/constants.js +14 -5
- package/dist/components/New/Highlight/Highlight.js +2 -2
- package/dist/components/New/IconButton/IconButton.js +30 -28
- package/dist/components/New/InfoButton/InfoButton.js +2 -2
- package/dist/components/New/InlineSelect/InlineSelect.js +75 -59
- package/dist/components/New/InteractiveTooltip/InteractiveTooltip.js +70 -66
- package/dist/components/New/InteractiveTooltip/constants.js +2 -2
- package/dist/components/New/Label/Label.js +2 -2
- package/dist/components/New/MarkdownEditor/MarkdownEditor.js +29 -27
- package/dist/components/New/MenuItem/MenuItem.js +2 -2
- package/dist/components/New/MenuItem/constants.js +1 -1
- package/dist/components/New/NoDataContent/NoDataContent.js +2 -2
- package/dist/components/New/Notification/Notification.js +37 -35
- package/dist/components/New/NumberInput/NumberInput.js +2 -2
- package/dist/components/New/PasswordInput/PasswordInput.js +2 -2
- package/dist/components/New/Popup/Popup.js +59 -57
- package/dist/components/New/Popup/constants.js +3 -3
- package/dist/components/New/Radio/Radio.js +2 -2
- package/dist/components/New/RadioGroup/RadioGroup.js +2 -2
- package/dist/components/New/RadioGroupPopupField/RadioGroupPopupField.js +2 -2
- package/dist/components/New/ResizableContainer/ResizableContainer.js +2 -2
- 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 +2 -2
- package/dist/components/New/SegmentedControl/SegmentedControl.js +4 -4
- 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 +184 -173
- 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 +184 -91
- package/dist/components/New/Slider/utils.js +20 -0
- package/dist/components/New/Switch/Switch.js +2 -2
- package/dist/components/New/Tabs/Tabs.js +124 -66
- package/dist/components/New/Tag/Tag.js +2 -2
- package/dist/components/New/TagInput/TagInput.js +5 -3
- package/dist/components/New/Textarea/Textarea.js +21 -20
- package/dist/components/New/ToggleIconButton/ToggleIconButton.js +2 -2
- package/dist/components/New/Tooltip/TooltipContent.js +2 -2
- 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 +6 -6
- 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 +2 -2
- package/dist/components/Spinner/Spinner.js +2 -2
- package/dist/components/Tooltip/TooltipContent.js +11 -11
- package/dist/components-manifest.json +1873 -78
- package/dist/constants/public-class-names.js +69 -3
- package/dist/constants/schema-renderer.js +33 -0
- package/dist/dial-ui-kit.cjs +2 -2
- package/dist/dial-ui-kit.js +358 -310
- 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 +108 -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/Grid/constants.d.ts +6 -4
- package/dist/src/components/New/InlineSelect/InlineSelect.d.ts +16 -1
- package/dist/src/components/New/InteractiveTooltip/InteractiveTooltip.d.ts +13 -2
- 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/Popup.d.ts +8 -1
- 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 +29 -1
- package/dist/src/components/New/Slider/utils.d.ts +14 -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 +69 -3
- package/dist/src/constants/schema-renderer.d.ts +2 -0
- package/dist/src/index.d.ts +39 -3
- 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/tooltip.d.ts +4 -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/tooltip.js +3 -2
- 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-CTTAnQjB.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-DKmWaOlC.cjs +0 -3
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const o = [
|
|
2
|
+
{ background: "bg-green-1", foreground: "text-green-2" },
|
|
3
|
+
{ background: "bg-violet-2", foreground: "text-violet-1" },
|
|
4
|
+
{ background: "bg-brown", foreground: "text-brown-2" },
|
|
5
|
+
{ background: "bg-red", foreground: "text-red" },
|
|
6
|
+
{ background: "bg-green-2", foreground: "text-green-3" },
|
|
7
|
+
{ background: "bg-blue", foreground: "text-accent" },
|
|
8
|
+
{ background: "bg-violet-1", foreground: "text-violet-2" }
|
|
9
|
+
], c = (t) => {
|
|
10
|
+
let e = 0;
|
|
11
|
+
for (let r = 0; r < t.length; r++)
|
|
12
|
+
e += t.charCodeAt(r);
|
|
13
|
+
return o[e % o.length];
|
|
14
|
+
}, n = (t) => t.match(new RegExp("\\p{L}", "u"))?.[0] ?? "", l = (t) => {
|
|
15
|
+
const e = t.trim().split(/\s+/).filter(Boolean);
|
|
16
|
+
return e.length === 0 ? "?" : e.length >= 2 ? (n(e[0]) + n(e[1])).toUpperCase() || "?" : e[0].replace(/[^\p{L}]/gu, "").slice(0, 2).toUpperCase() || "?";
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
o as AVATAR_PALETTE,
|
|
20
|
+
l as extractInitials,
|
|
21
|
+
c as pickAvatarColor
|
|
22
|
+
};
|
|
@@ -1,63 +1,64 @@
|
|
|
1
|
-
import { JsonSchemaType as
|
|
2
|
-
function
|
|
1
|
+
import { JsonSchemaType as f } from "../types/json-schema.js";
|
|
2
|
+
function $(r, n) {
|
|
3
3
|
const i = { ...r, ...n };
|
|
4
4
|
return (r.properties || n.properties) && (i.properties = { ...r.properties, ...n.properties }), (r.required || n.required) && (i.required = Array.from(
|
|
5
5
|
/* @__PURE__ */ new Set([...r.required ?? [], ...n.required ?? []])
|
|
6
6
|
)), i;
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function p(r, n, i = 0) {
|
|
9
9
|
if (i > 10) return r;
|
|
10
10
|
let t = r;
|
|
11
11
|
if (t.$ref) {
|
|
12
12
|
const e = t.$ref.replace(/^#\//, "").split("/");
|
|
13
13
|
let o = n;
|
|
14
|
-
for (const
|
|
15
|
-
o = o?.[
|
|
14
|
+
for (const u of e)
|
|
15
|
+
o = o?.[u];
|
|
16
16
|
if (!o || typeof o != "object") return r;
|
|
17
|
-
const { $ref:
|
|
18
|
-
t = { ...
|
|
17
|
+
const { $ref: s, ...y } = t, d = o;
|
|
18
|
+
t = { ...d.$ref ? p(d, n, i + 1) : d, ...y };
|
|
19
19
|
}
|
|
20
20
|
if (t.allOf && t.allOf.length > 0) {
|
|
21
21
|
const { allOf: e, ...o } = t;
|
|
22
|
-
let
|
|
22
|
+
let s = {};
|
|
23
23
|
for (const y of e)
|
|
24
|
-
|
|
25
|
-
t =
|
|
24
|
+
s = $(s, p(y, n, i + 1));
|
|
25
|
+
t = $(s, o);
|
|
26
26
|
}
|
|
27
27
|
return t;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function T(r) {
|
|
30
30
|
return r.map((n, i) => ({ entry: n, index: i })).sort((n, i) => {
|
|
31
31
|
const t = n.entry[1]["dial:meta"]?.["dial:propertyOrder"] ?? 1 / 0, e = i.entry[1]["dial:meta"]?.["dial:propertyOrder"] ?? 1 / 0;
|
|
32
32
|
return t !== e ? t - e : n.index - i.index;
|
|
33
33
|
}).map(({ entry: n }) => n);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function j(r) {
|
|
36
36
|
return r == null || r === "";
|
|
37
37
|
}
|
|
38
38
|
function O(r) {
|
|
39
|
-
return r.type ===
|
|
39
|
+
return r.type === f.Object || r.properties != null && r.oneOf == null && r.anyOf == null && r.type == null;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function N(r) {
|
|
42
42
|
return r.replace(/_/g, " ").replace(/([a-z])([A-Z])/g, "$1 $2").replace(/\b\w/g, (n) => n.toUpperCase());
|
|
43
43
|
}
|
|
44
|
+
const I = (r) => `"${r}" is required`;
|
|
44
45
|
function q(r, n) {
|
|
45
|
-
return r.type ===
|
|
46
|
+
return r.type === f.Null ? "null" : r.$ref ? p(r, n).title ?? r.$ref.split("/").pop() ?? "Option" : r.title ? r.title : r.type ? Array.isArray(r.type) ? r.type.join(" | ") : r.type : r.discriminator ? Object.keys(r.discriminator.mapping).join(" | ") : r.const != null ? String(r.const) : r.oneOf ? "One of options" : "Option";
|
|
46
47
|
}
|
|
47
|
-
function
|
|
48
|
+
function A(r, n, i = 0) {
|
|
48
49
|
if (i > 15) return;
|
|
49
|
-
const t =
|
|
50
|
+
const t = p(r, n);
|
|
50
51
|
if ("default" in t)
|
|
51
52
|
return t.default;
|
|
52
53
|
if (t.discriminator && t.oneOf) {
|
|
53
54
|
const e = Object.keys(t.discriminator.mapping)[0];
|
|
54
55
|
if (e) {
|
|
55
|
-
const o =
|
|
56
|
+
const o = p(
|
|
56
57
|
{ $ref: t.discriminator.mapping[e] },
|
|
57
58
|
n
|
|
58
59
|
);
|
|
59
60
|
return {
|
|
60
|
-
...
|
|
61
|
+
...A(o, n, i + 1) ?? {},
|
|
61
62
|
[t.discriminator.propertyName]: e
|
|
62
63
|
};
|
|
63
64
|
}
|
|
@@ -66,9 +67,9 @@ function j(r, n, i = 0) {
|
|
|
66
67
|
if (t.properties) {
|
|
67
68
|
const e = {};
|
|
68
69
|
let o = !1;
|
|
69
|
-
for (const [
|
|
70
|
-
const
|
|
71
|
-
|
|
70
|
+
for (const [s, y] of Object.entries(t.properties)) {
|
|
71
|
+
const d = A(y, n, i + 1);
|
|
72
|
+
d !== void 0 && (e[s] = d, o = !0);
|
|
72
73
|
}
|
|
73
74
|
return o ? e : void 0;
|
|
74
75
|
}
|
|
@@ -76,26 +77,26 @@ function j(r, n, i = 0) {
|
|
|
76
77
|
return {};
|
|
77
78
|
}
|
|
78
79
|
}
|
|
79
|
-
function
|
|
80
|
+
function b(r, n, i, t = "", e = 0) {
|
|
80
81
|
if (e > 15) return [];
|
|
81
|
-
const o = [],
|
|
82
|
-
if (
|
|
83
|
-
const
|
|
84
|
-
(
|
|
82
|
+
const o = [], s = p(n, i);
|
|
83
|
+
if (s.anyOf) {
|
|
84
|
+
const l = s.anyOf.filter(
|
|
85
|
+
(u) => u.type !== f.Null
|
|
85
86
|
);
|
|
86
|
-
return r != null &&
|
|
87
|
+
return r != null && l.length === 1 ? b(
|
|
87
88
|
r,
|
|
88
|
-
|
|
89
|
+
l[0],
|
|
89
90
|
i,
|
|
90
91
|
t,
|
|
91
92
|
e + 1
|
|
92
93
|
) : o;
|
|
93
94
|
}
|
|
94
|
-
if (
|
|
95
|
-
const
|
|
96
|
-
if (
|
|
97
|
-
const a = { $ref:
|
|
98
|
-
return
|
|
95
|
+
if (s.oneOf && s.discriminator) {
|
|
96
|
+
const l = s.discriminator.propertyName, u = r?.[l];
|
|
97
|
+
if (u && s.discriminator.mapping[u]) {
|
|
98
|
+
const a = { $ref: s.discriminator.mapping[u] }, c = p(a, i);
|
|
99
|
+
return b(
|
|
99
100
|
r,
|
|
100
101
|
c,
|
|
101
102
|
i,
|
|
@@ -105,41 +106,41 @@ function $(r, n, i, t = "", e = 0) {
|
|
|
105
106
|
}
|
|
106
107
|
return o;
|
|
107
108
|
}
|
|
108
|
-
if (
|
|
109
|
-
if (Array.isArray(r) &&
|
|
110
|
-
for (let
|
|
111
|
-
const
|
|
112
|
-
r[
|
|
113
|
-
|
|
109
|
+
if (s.type === f.Array || !s.type && Array.isArray(r)) {
|
|
110
|
+
if (Array.isArray(r) && s.items)
|
|
111
|
+
for (let l = 0; l < r.length; l++) {
|
|
112
|
+
const u = b(
|
|
113
|
+
r[l],
|
|
114
|
+
s.items,
|
|
114
115
|
i,
|
|
115
|
-
`${t}[${
|
|
116
|
+
`${t}[${l}]`,
|
|
116
117
|
e + 1
|
|
117
118
|
);
|
|
118
|
-
o.push(...
|
|
119
|
+
o.push(...u);
|
|
119
120
|
}
|
|
120
121
|
return o;
|
|
121
122
|
}
|
|
122
|
-
if (!O(
|
|
123
|
-
const y =
|
|
124
|
-
for (const
|
|
125
|
-
const
|
|
126
|
-
if (
|
|
123
|
+
if (!O(s)) return o;
|
|
124
|
+
const y = s.required ?? [], d = r;
|
|
125
|
+
for (const l of y) {
|
|
126
|
+
const u = s.properties?.[l];
|
|
127
|
+
if (u && p(u, i).isHidden)
|
|
127
128
|
continue;
|
|
128
|
-
const a = t ? `${t}.${
|
|
129
|
-
if (
|
|
130
|
-
const g =
|
|
131
|
-
o.push({ path: a, message:
|
|
129
|
+
const a = t ? `${t}.${l}` : l, c = d?.[l];
|
|
130
|
+
if (j(c)) {
|
|
131
|
+
const g = u?.title ?? N(l);
|
|
132
|
+
o.push({ path: a, message: I(g) });
|
|
132
133
|
}
|
|
133
134
|
}
|
|
134
|
-
if (
|
|
135
|
-
for (const [
|
|
136
|
-
if (u
|
|
135
|
+
if (d && s.properties)
|
|
136
|
+
for (const [l, u] of Object.entries(s.properties)) {
|
|
137
|
+
if (p(u, i).isHidden)
|
|
137
138
|
continue;
|
|
138
|
-
const a = t ? `${t}.${
|
|
139
|
+
const a = t ? `${t}.${l}` : l, c = d[l];
|
|
139
140
|
if (c != null) {
|
|
140
|
-
const g =
|
|
141
|
+
const g = b(
|
|
141
142
|
c,
|
|
142
|
-
|
|
143
|
+
u,
|
|
143
144
|
i,
|
|
144
145
|
a,
|
|
145
146
|
e + 1
|
|
@@ -147,12 +148,12 @@ function $(r, n, i, t = "", e = 0) {
|
|
|
147
148
|
o.push(...g);
|
|
148
149
|
}
|
|
149
150
|
}
|
|
150
|
-
if (
|
|
151
|
-
const
|
|
152
|
-
for (const [
|
|
153
|
-
const c = t ? `${t}.${
|
|
151
|
+
if (d && s.additionalProperties != null && s.additionalProperties !== !1 && typeof s.additionalProperties == "object") {
|
|
152
|
+
const l = s.additionalProperties;
|
|
153
|
+
for (const [u, a] of Object.entries(d)) {
|
|
154
|
+
const c = t ? `${t}.${u}` : u, g = b(
|
|
154
155
|
a,
|
|
155
|
-
|
|
156
|
+
l,
|
|
156
157
|
i,
|
|
157
158
|
c,
|
|
158
159
|
e + 1
|
|
@@ -162,61 +163,61 @@ function $(r, n, i, t = "", e = 0) {
|
|
|
162
163
|
}
|
|
163
164
|
return o;
|
|
164
165
|
}
|
|
165
|
-
function
|
|
166
|
-
const t =
|
|
166
|
+
function E(r, n, i) {
|
|
167
|
+
const t = p(n, i);
|
|
167
168
|
if (Array.isArray(r))
|
|
168
169
|
return `${r.length} item${r.length !== 1 ? "s" : ""}`;
|
|
169
170
|
if (O(t) && t.properties) {
|
|
170
171
|
const e = Object.entries(t.properties).filter(
|
|
171
|
-
([,
|
|
172
|
-
), o = e.length,
|
|
173
|
-
return `${e.filter(([
|
|
174
|
-
const
|
|
175
|
-
return
|
|
172
|
+
([, d]) => !p(d, i).isHidden
|
|
173
|
+
), o = e.length, s = r;
|
|
174
|
+
return `${e.filter(([d]) => {
|
|
175
|
+
const l = s?.[d];
|
|
176
|
+
return l != null && l !== "";
|
|
176
177
|
}).length}/${o} fields`;
|
|
177
178
|
}
|
|
178
179
|
return "";
|
|
179
180
|
}
|
|
180
|
-
function
|
|
181
|
+
function R(r, n, i) {
|
|
181
182
|
if (r == null) {
|
|
182
|
-
const t = n.findIndex((e) => e.type ===
|
|
183
|
+
const t = n.findIndex((e) => e.type === f.Null);
|
|
183
184
|
return t >= 0 ? t : 0;
|
|
184
185
|
}
|
|
185
186
|
if (Array.isArray(r)) {
|
|
186
|
-
const t = n.findIndex((e) =>
|
|
187
|
+
const t = n.findIndex((e) => p(e, i).type === f.Array);
|
|
187
188
|
return t >= 0 ? t : 0;
|
|
188
189
|
}
|
|
189
190
|
if (typeof r == "boolean") {
|
|
190
|
-
const t = n.findIndex((e) =>
|
|
191
|
+
const t = n.findIndex((e) => p(e, i).type === f.Boolean);
|
|
191
192
|
return t >= 0 ? t : 0;
|
|
192
193
|
}
|
|
193
194
|
if (typeof r == "number") {
|
|
194
195
|
const t = n.findIndex((e) => {
|
|
195
|
-
const o =
|
|
196
|
-
return o.type ===
|
|
196
|
+
const o = p(e, i);
|
|
197
|
+
return o.type === f.Number || o.type === f.Integer;
|
|
197
198
|
});
|
|
198
199
|
return t >= 0 ? t : 0;
|
|
199
200
|
}
|
|
200
201
|
if (typeof r == "string") {
|
|
201
|
-
const t = n.findIndex((e) =>
|
|
202
|
+
const t = n.findIndex((e) => p(e, i).type === f.String);
|
|
202
203
|
return t >= 0 ? t : 0;
|
|
203
204
|
}
|
|
204
205
|
if (typeof r == "object") {
|
|
205
206
|
const t = r;
|
|
206
207
|
for (let e = 0; e < n.length; e++) {
|
|
207
|
-
const o =
|
|
208
|
+
const o = p(n[e], i);
|
|
208
209
|
if (o.discriminator && o.discriminator.propertyName in t)
|
|
209
210
|
return e;
|
|
210
211
|
}
|
|
211
212
|
for (let e = 0; e < n.length; e++) {
|
|
212
|
-
const o =
|
|
213
|
+
const o = p(n[e], i);
|
|
213
214
|
if (O(o) || o.oneOf) return e;
|
|
214
215
|
}
|
|
215
216
|
return 0;
|
|
216
217
|
}
|
|
217
218
|
return 0;
|
|
218
219
|
}
|
|
219
|
-
function
|
|
220
|
+
function B(r, n, i) {
|
|
220
221
|
if (n && typeof r == "object" && r !== null) {
|
|
221
222
|
const t = r[n];
|
|
222
223
|
if (t) return `Item ${i + 1}: ${t}`;
|
|
@@ -227,32 +228,58 @@ function V(r, n, i) {
|
|
|
227
228
|
}
|
|
228
229
|
return `Item ${i + 1}`;
|
|
229
230
|
}
|
|
230
|
-
function
|
|
231
|
+
function D(r) {
|
|
231
232
|
switch (Array.isArray(r.type) ? r.type[0] : r.type) {
|
|
232
|
-
case
|
|
233
|
+
case f.String:
|
|
233
234
|
return "";
|
|
234
|
-
case
|
|
235
|
+
case f.Boolean:
|
|
235
236
|
return !1;
|
|
236
|
-
case
|
|
237
|
+
case f.Array:
|
|
237
238
|
return [];
|
|
238
|
-
case
|
|
239
|
-
case
|
|
239
|
+
case f.Integer:
|
|
240
|
+
case f.Number:
|
|
240
241
|
return;
|
|
241
242
|
default:
|
|
242
243
|
return {};
|
|
243
244
|
}
|
|
244
245
|
}
|
|
246
|
+
const V = [
|
|
247
|
+
f.String,
|
|
248
|
+
f.Number,
|
|
249
|
+
f.Boolean,
|
|
250
|
+
f.Null,
|
|
251
|
+
f.Object,
|
|
252
|
+
f.Array
|
|
253
|
+
];
|
|
254
|
+
function k(r) {
|
|
255
|
+
return Array.isArray(r) ? f.Array : typeof r == "object" && r !== null ? f.Object : typeof r == "boolean" ? f.Boolean : typeof r == "number" ? f.Number : r === null ? f.Null : f.String;
|
|
256
|
+
}
|
|
257
|
+
const P = {
|
|
258
|
+
[f.String]: "",
|
|
259
|
+
[f.Number]: 0,
|
|
260
|
+
[f.Boolean]: !1,
|
|
261
|
+
[f.Null]: null,
|
|
262
|
+
[f.Object]: {},
|
|
263
|
+
[f.Array]: []
|
|
264
|
+
};
|
|
265
|
+
function _(r) {
|
|
266
|
+
return P[r];
|
|
267
|
+
}
|
|
245
268
|
export {
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
269
|
+
V as ENTRY_TYPE_OPTIONS,
|
|
270
|
+
E as buildSummary,
|
|
271
|
+
R as detectAnyOfVariant,
|
|
272
|
+
A as extractDefaults,
|
|
273
|
+
_ as getEntryTypeDefault,
|
|
274
|
+
B as getItemTitle,
|
|
250
275
|
q as getOptionLabel,
|
|
251
|
-
|
|
252
|
-
|
|
276
|
+
D as getSchemaDefault,
|
|
277
|
+
k as inferEntryType,
|
|
278
|
+
j as isMissingRequiredValue,
|
|
253
279
|
O as isObjectType,
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
280
|
+
p as resolveRef,
|
|
281
|
+
T as sortByPropertyOrder,
|
|
282
|
+
N as toFieldLabel,
|
|
283
|
+
I as toRequiredMessage,
|
|
284
|
+
b as validateRequired
|
|
258
285
|
};
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import t from "classnames";
|
|
2
|
+
import { extendTailwindMerge as o } from "../node_modules/tailwind-merge/dist/bundle-mjs.js";
|
|
3
|
+
const r = o({
|
|
4
|
+
extend: {
|
|
5
|
+
classGroups: {
|
|
6
|
+
z: [{ z: ["popup", "floating", "interactive-tooltip", "tooltip"] }]
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
function n(...e) {
|
|
11
|
+
return r(t(e));
|
|
5
12
|
}
|
|
6
13
|
export {
|
|
7
|
-
|
|
14
|
+
n as mergeClasses
|
|
8
15
|
};
|
|
@@ -1,85 +1,130 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useFloatingNodeId as
|
|
3
|
-
import
|
|
4
|
-
import { useState as
|
|
5
|
-
import { useThemeScope as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { useFloatingNodeId as M, useFloating as k, autoUpdate as U, offset as _, flip as H, shift as L, useHover as B, safePolygon as V, useClick as j, useDismiss as q, useRole as z, useInteractions as X, FloatingPortal as Y, FloatingFocusManager as G } from "@floating-ui/react";
|
|
3
|
+
import J from "classnames";
|
|
4
|
+
import { useState as b, useEffect as Q, useCallback as f } from "react";
|
|
5
|
+
import { useThemeScope as W } from "../components/New/ThemeScope/ThemeScope.js";
|
|
6
|
+
const Z = '[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="option"]', $ = ["ArrowDown", "ArrowUp", "Home", "End"], A = (t) => Array.from(
|
|
7
|
+
t.querySelectorAll(Z)
|
|
8
|
+
).filter(
|
|
9
|
+
(n) => !n.hasAttribute("disabled") && n.getAttribute("aria-disabled") !== "true"
|
|
10
|
+
), P = (t) => t.ownerDocument.defaultView?.getComputedStyle(t).direction === "rtl", v = (t) => P(t) ? "ArrowLeft" : "ArrowRight", ee = (t) => P(t) ? "ArrowRight" : "ArrowLeft", te = (t) => t instanceof HTMLElement && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable), oe = (t, n, o) => {
|
|
11
|
+
if (t === "Home") return 0;
|
|
12
|
+
if (t === "End") return o - 1;
|
|
13
|
+
const s = t === "ArrowDown" ? 1 : -1;
|
|
14
|
+
return n === -1 ? s === 1 ? 0 : o - 1 : (n + s + o) % o;
|
|
15
|
+
};
|
|
16
|
+
function le(t, n = "menu", o = !1, s) {
|
|
17
|
+
const [r, i] = b(!1), u = M(), { refs: a, elements: p, floatingStyles: S, context: c } = k({
|
|
18
|
+
nodeId: u,
|
|
9
19
|
placement: "right-start",
|
|
10
|
-
open:
|
|
11
|
-
onOpenChange:
|
|
12
|
-
whileElementsMounted:
|
|
20
|
+
open: r,
|
|
21
|
+
onOpenChange: i,
|
|
22
|
+
whileElementsMounted: U,
|
|
13
23
|
middleware: [
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
24
|
+
_({ mainAxis: 0, crossAxis: -4 }),
|
|
25
|
+
H({ padding: t }),
|
|
26
|
+
L({ padding: t })
|
|
17
27
|
]
|
|
18
|
-
}),
|
|
28
|
+
}), O = B(c, {
|
|
19
29
|
enabled: !o,
|
|
20
30
|
move: !1,
|
|
21
31
|
/* Lets the pointer travel into a nested floating element — an
|
|
22
32
|
InteractiveTooltip anchored to this menu's trigger or a child row —
|
|
23
33
|
without closing this menu; requires the `FloatingTree`/`FloatingNode`
|
|
24
34
|
wiring the trigger's own `nodeId` connects to. */
|
|
25
|
-
handleClose:
|
|
35
|
+
handleClose: V(),
|
|
26
36
|
delay: { open: 80, close: 80 }
|
|
27
|
-
}),
|
|
37
|
+
}), D = j(c, { enabled: !o }), R = q(c, {
|
|
38
|
+
ancestorScroll: !0,
|
|
28
39
|
bubbles: { escapeKey: !1, outsidePress: !0 }
|
|
29
|
-
}),
|
|
30
|
-
m,
|
|
31
|
-
d,
|
|
32
|
-
f,
|
|
33
|
-
p
|
|
34
|
-
]);
|
|
35
|
-
return {
|
|
36
|
-
isOpen: t,
|
|
37
|
-
nodeId: n,
|
|
38
|
-
refs: r,
|
|
39
|
-
floatingStyles: i,
|
|
40
|
-
context: e,
|
|
40
|
+
}), T = z(c, { role: n }), {
|
|
41
41
|
getReferenceProps: g,
|
|
42
|
-
getFloatingProps:
|
|
42
|
+
getFloatingProps: y
|
|
43
|
+
} = X([O, D, R, T]), [w, h] = b(!1), d = p.floating;
|
|
44
|
+
Q(() => {
|
|
45
|
+
!r || !w || d == null || (A(d)[0]?.focus(), h(!1));
|
|
46
|
+
}, [r, w, d]);
|
|
47
|
+
const F = f(
|
|
48
|
+
(e) => {
|
|
49
|
+
o || !(e.key === v(e.currentTarget) || e.key === "Enter" || e.key === " ") || (e.preventDefault(), e.stopPropagation(), i(!0), h(!0));
|
|
50
|
+
},
|
|
51
|
+
[o]
|
|
52
|
+
), E = f(
|
|
53
|
+
(e) => {
|
|
54
|
+
if (e.defaultPrevented || te(e.target)) return;
|
|
55
|
+
if (e.key === ee(e.currentTarget)) {
|
|
56
|
+
e.preventDefault(), e.stopPropagation(), i(!1), a.domReference.current?.focus();
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
if (!$.includes(e.key)) return;
|
|
60
|
+
e.preventDefault(), e.stopPropagation();
|
|
61
|
+
const l = A(e.currentTarget);
|
|
62
|
+
if (l.length === 0) return;
|
|
63
|
+
const I = e.currentTarget.ownerDocument.activeElement, K = l.findIndex((C) => C === I);
|
|
64
|
+
l[oe(e.key, K, l.length)]?.focus();
|
|
65
|
+
},
|
|
66
|
+
[a.domReference]
|
|
67
|
+
), x = f(
|
|
68
|
+
(e) => g({
|
|
69
|
+
...e,
|
|
70
|
+
onKeyDown: F
|
|
71
|
+
}),
|
|
72
|
+
[g, F]
|
|
73
|
+
), N = f(
|
|
74
|
+
(e) => y({
|
|
75
|
+
...e,
|
|
76
|
+
onKeyDown: E
|
|
77
|
+
}),
|
|
78
|
+
[y, E]
|
|
79
|
+
);
|
|
80
|
+
return {
|
|
81
|
+
isOpen: r,
|
|
82
|
+
nodeId: u,
|
|
83
|
+
refs: a,
|
|
84
|
+
floatingStyles: S,
|
|
85
|
+
context: c,
|
|
86
|
+
getReferenceProps: x,
|
|
87
|
+
getFloatingProps: N
|
|
43
88
|
};
|
|
44
89
|
}
|
|
45
|
-
const
|
|
46
|
-
refs:
|
|
47
|
-
floatingStyles:
|
|
90
|
+
const ne = "rounded bg-layer-0 shadow", ue = ({
|
|
91
|
+
refs: t,
|
|
92
|
+
floatingStyles: n,
|
|
48
93
|
context: o,
|
|
49
|
-
getFloatingProps:
|
|
50
|
-
role:
|
|
51
|
-
surfaceClassName:
|
|
52
|
-
className:
|
|
53
|
-
children:
|
|
94
|
+
getFloatingProps: s,
|
|
95
|
+
role: r,
|
|
96
|
+
surfaceClassName: i,
|
|
97
|
+
className: u,
|
|
98
|
+
children: a
|
|
54
99
|
}) => {
|
|
55
|
-
const
|
|
56
|
-
return /* @__PURE__ */
|
|
57
|
-
|
|
100
|
+
const p = W();
|
|
101
|
+
return /* @__PURE__ */ m(Y, { children: /* @__PURE__ */ m(
|
|
102
|
+
G,
|
|
58
103
|
{
|
|
59
104
|
context: o,
|
|
60
105
|
modal: !1,
|
|
61
106
|
initialFocus: -1,
|
|
62
107
|
returnFocus: !0,
|
|
63
|
-
children: /* @__PURE__ */
|
|
108
|
+
children: /* @__PURE__ */ m(
|
|
64
109
|
"div",
|
|
65
110
|
{
|
|
66
|
-
ref:
|
|
67
|
-
style:
|
|
68
|
-
role:
|
|
69
|
-
className:
|
|
70
|
-
"z-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
111
|
+
ref: t.setFloating,
|
|
112
|
+
style: n,
|
|
113
|
+
role: r,
|
|
114
|
+
className: J(
|
|
115
|
+
"z-floating overflow-auto text-primary focus-visible:outline-none",
|
|
116
|
+
i ?? ne,
|
|
117
|
+
p,
|
|
118
|
+
u
|
|
74
119
|
),
|
|
75
|
-
...
|
|
76
|
-
children:
|
|
120
|
+
...s(),
|
|
121
|
+
children: a
|
|
77
122
|
}
|
|
78
123
|
)
|
|
79
124
|
}
|
|
80
125
|
) });
|
|
81
126
|
};
|
|
82
127
|
export {
|
|
83
|
-
|
|
84
|
-
|
|
128
|
+
ue as SubMenuPanel,
|
|
129
|
+
le as useSubMenuFloating
|
|
85
130
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-ui-kit",
|
|
3
|
-
"version": "0.15.0
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "A modern UI kit for building AI DIAL interfaces with React",
|
|
@@ -68,7 +68,6 @@
|
|
|
68
68
|
"storybook:css": "tailwindcss -w -i ./src/styles/tailwind-entry.scss -o ./src/index.css",
|
|
69
69
|
"build-storybook": "concurrently \"npm run build-storybook:css\" \"storybook build\"",
|
|
70
70
|
"build-storybook:css": "tailwindcss -m -i ./src/styles/tailwind-entry.scss -o ./src/index.css",
|
|
71
|
-
"prepare": "husky",
|
|
72
71
|
"publish:npm": "npm publish --access public",
|
|
73
72
|
"publish:dry": "npm publish --access public --dry-run",
|
|
74
73
|
"test": "vitest --coverage",
|
|
@@ -81,13 +80,10 @@
|
|
|
81
80
|
]
|
|
82
81
|
},
|
|
83
82
|
"overrides": {
|
|
84
|
-
"
|
|
85
|
-
"dompurify": "3.4.12",
|
|
86
|
-
"shell-quote": "1.10.0",
|
|
83
|
+
"dompurify": "3.4.16",
|
|
87
84
|
"esbuild": "0.28.1",
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"minimatch": "^10.2.5"
|
|
85
|
+
"shell-quote": "1.11.0",
|
|
86
|
+
"postcss-selector-parser": "^7.1.6"
|
|
91
87
|
},
|
|
92
88
|
"dependencies": {
|
|
93
89
|
"@floating-ui/react": "^0.27.19",
|
|
@@ -157,7 +153,6 @@
|
|
|
157
153
|
"eslint-plugin-storybook": "^10.4.4",
|
|
158
154
|
"eslint-plugin-tailwindcss": "^3.18.3",
|
|
159
155
|
"globals": "^16.3.0",
|
|
160
|
-
"husky": "^9.1.7",
|
|
161
156
|
"jsdom": "^26.1.0",
|
|
162
157
|
"lint-staged": "^16.1.2",
|
|
163
158
|
"monaco-editor": "^0.55.1",
|