@epam/ai-dial-chat-shared 1.3.0-dev.35 → 1.3.0-dev.354
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/components/ActionMenu/ActionMenu.d.ts +26 -0
- package/components/ActionMenu/ActionMenu.d.ts.map +1 -0
- package/components/ActionMenu/ActionMenu.js +50 -0
- package/components/ConfirmationDialog/ConfirmationDialog.d.ts +46 -0
- package/components/ConfirmationDialog/ConfirmationDialog.d.ts.map +1 -0
- package/components/ConfirmationDialog/ConfirmationDialog.js +11 -9
- package/components/ConfirmationIdentityCard/ConfirmationIdentityCard.d.ts +33 -0
- package/components/ConfirmationIdentityCard/ConfirmationIdentityCard.d.ts.map +1 -0
- package/components/ConfirmationIdentityCard/ConfirmationIdentityCard.module.scss.js +5 -4
- package/components/ConfirmationIdentityRow/ConfirmationIdentityRow.d.ts +33 -0
- package/components/ConfirmationIdentityRow/ConfirmationIdentityRow.d.ts.map +1 -0
- package/components/ConfirmationIdentityRow/ConfirmationIdentityRow.js +2 -2
- package/components/ConfirmationIdentityRow/ConfirmationIdentityRow.module.scss.js +3 -2
- package/components/ConfirmationView/ConfirmationFooter.d.ts +41 -0
- package/components/ConfirmationView/ConfirmationFooter.d.ts.map +1 -0
- package/components/ConfirmationView/ConfirmationFooter.js +25 -26
- package/components/ConfirmationView/ConfirmationView.d.ts +59 -0
- package/components/ConfirmationView/ConfirmationView.d.ts.map +1 -0
- package/components/ConfirmationView/ConfirmationView.js +12 -12
- package/components/ConfirmationView/ConfirmationView.module.scss.js +6 -5
- package/components/CopyButton/CopyButton.d.ts +19 -0
- package/components/CopyButton/CopyButton.d.ts.map +1 -0
- package/components/DeleteConfirmationDialog/DeleteConfirmationDialog.d.ts +41 -0
- package/components/DeleteConfirmationDialog/DeleteConfirmationDialog.d.ts.map +1 -0
- package/components/DeleteConfirmationDrawer/DeleteConfirmationDrawer.d.ts +31 -0
- package/components/DeleteConfirmationDrawer/DeleteConfirmationDrawer.d.ts.map +1 -0
- package/components/DeleteConfirmationDrawer/DeleteConfirmationDrawer.js +36 -0
- package/components/DeleteConfirmationView/DeleteConfirmationView.d.ts +52 -0
- package/components/DeleteConfirmationView/DeleteConfirmationView.d.ts.map +1 -0
- package/components/DeleteConfirmationView/DeleteConfirmationView.js +36 -27
- package/components/DeleteConfirmationView/DeleteConfirmationView.module.scss.js +5 -4
- package/components/DeploymentIcon/DeploymentIcon.d.ts +36 -0
- package/components/DeploymentIcon/DeploymentIcon.d.ts.map +1 -0
- package/components/DeploymentIcon/DeploymentIcon.module.scss.js +3 -2
- package/components/EntityHeader/EntityHeader.d.ts +38 -0
- package/components/EntityHeader/EntityHeader.d.ts.map +1 -0
- package/components/EntityHeader/EntityHeader.js +1 -1
- package/components/EntityTypeLabel/EntityTypeLabel.d.ts +18 -0
- package/components/EntityTypeLabel/EntityTypeLabel.d.ts.map +1 -0
- package/components/FeaturedChip/FeaturedChip.d.ts +16 -0
- package/components/FeaturedChip/FeaturedChip.d.ts.map +1 -0
- package/components/InitialsAvatar/InitialsAvatar.d.ts +18 -0
- package/components/InitialsAvatar/InitialsAvatar.d.ts.map +1 -0
- package/components/InitialsAvatar/InitialsAvatar.js +4 -3
- package/components/ItemHeader/ItemHeader.d.ts +40 -0
- package/components/ItemHeader/ItemHeader.d.ts.map +1 -0
- package/components/ItemHeader/ItemHeader.js +4 -1
- package/components/ItemHeader/ItemHeader.module.scss.js +5 -4
- package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts +57 -0
- package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts.map +1 -0
- package/components/MarkdownRenderer/CodeBlock/CodeBlock.js +58 -58
- package/components/MarkdownRenderer/CodeBlock/CodeBlock.module.scss.js +9 -8
- package/components/MarkdownRenderer/CodeBlock/syntax-theme.d.ts +7 -0
- package/components/MarkdownRenderer/CodeBlock/syntax-theme.d.ts.map +1 -0
- package/components/MarkdownRenderer/MDMessageViewer.d.ts +66 -0
- package/components/MarkdownRenderer/MDMessageViewer.d.ts.map +1 -0
- package/components/MarkdownRenderer/MDMessageViewer.js +14 -12
- package/components/MarkdownRenderer/MarkdownRenderer.d.ts +145 -0
- package/components/MarkdownRenderer/MarkdownRenderer.d.ts.map +1 -0
- package/components/MarkdownRenderer/MarkdownRenderer.js +146 -136
- package/components/MarkdownRenderer/MarkdownRenderer.module.scss.js +9 -8
- package/components/MarkdownRenderer/Math/MarkdownMathBlock.d.ts +18 -0
- package/components/MarkdownRenderer/Math/MarkdownMathBlock.d.ts.map +1 -0
- package/components/MarkdownRenderer/Math/MarkdownMathBlock.js +1 -1
- package/components/MarkdownRenderer/Math/MarkdownMathBlock.module.scss.js +5 -4
- package/components/MarkdownRenderer/PlainTextRenderer.d.ts +39 -0
- package/components/MarkdownRenderer/PlainTextRenderer.d.ts.map +1 -0
- package/components/MarkdownRenderer/PlainTextRenderer.js +1 -1
- package/components/MarkdownRenderer/Table/MarkdownTable.d.ts +51 -0
- package/components/MarkdownRenderer/Table/MarkdownTable.d.ts.map +1 -0
- package/components/MarkdownRenderer/Table/MarkdownTable.js +68 -63
- package/components/MarkdownRenderer/Table/MarkdownTable.module.scss.js +15 -13
- package/components/MarkdownRenderer/Table/TableHeader.d.ts +22 -0
- package/components/MarkdownRenderer/Table/TableHeader.d.ts.map +1 -0
- package/components/MarkdownRenderer/Table/TableHeader.module.scss.js +3 -2
- package/components/MarkdownRenderer/Table/table-serialization.d.ts +16 -0
- package/components/MarkdownRenderer/Table/table-serialization.d.ts.map +1 -0
- package/components/MarkdownRenderer/Table/useMarkdownTableActions/useMarkdownTableActions.d.ts +27 -0
- package/components/MarkdownRenderer/Table/useMarkdownTableActions/useMarkdownTableActions.d.ts.map +1 -0
- package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts +9 -0
- package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts.map +1 -0
- package/components/MarkdownRenderer/ThinkingShimmer.d.ts +17 -0
- package/components/MarkdownRenderer/ThinkingShimmer.d.ts.map +1 -0
- package/components/MarkdownRenderer/markdown-class-names.d.ts +10 -0
- package/components/MarkdownRenderer/markdown-class-names.d.ts.map +1 -0
- package/components/MarkdownRenderer/markdown-whitespace.d.ts +15 -0
- package/components/MarkdownRenderer/markdown-whitespace.d.ts.map +1 -0
- package/components/MarkdownRenderer/markdown-whitespace.js +2 -6
- package/components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.d.ts +25 -0
- package/components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.d.ts.map +1 -0
- package/components/NewVersionAlert/NewVersionAlert.d.ts +27 -0
- package/components/NewVersionAlert/NewVersionAlert.d.ts.map +1 -0
- package/components/NewVersionAlert/NewVersionAlert.js +28 -0
- package/components/NewVersionAlert/NewVersionAlert.module.scss.js +4 -0
- package/components/NotificationStack/NotificationStack.d.ts +48 -0
- package/components/NotificationStack/NotificationStack.d.ts.map +1 -0
- package/components/NotificationStack/NotificationStack.js +111 -0
- package/components/PanelEmptyState/PanelEmptyState.d.ts +32 -0
- package/components/PanelEmptyState/PanelEmptyState.d.ts.map +1 -0
- package/components/PanelEmptyState/PanelEmptyState.js +19 -9
- package/components/PanelEmptyState/PanelEmptyState.module.scss.js +6 -2
- package/components/ResourceSummary/ResourceSummary.d.ts +49 -0
- package/components/ResourceSummary/ResourceSummary.d.ts.map +1 -0
- package/components/ResourceSummary/ResourceSummary.module.scss.js +5 -4
- package/components/TextRefinementField/TextRefinementField.d.ts +33 -0
- package/components/TextRefinementField/TextRefinementField.d.ts.map +1 -0
- package/components/TextRefinementField/TextRefinementField.js +84 -55
- package/components/UnsavedChangesProvider/UnsavedChangesProvider.d.ts +22 -0
- package/components/UnsavedChangesProvider/UnsavedChangesProvider.d.ts.map +1 -0
- package/components/UnsavedChangesProvider/UnsavedChangesProvider.js +57 -0
- package/components/UnsavedChangesProvider/unsaved-changes-context.d.ts +44 -0
- package/components/UnsavedChangesProvider/unsaved-changes-context.d.ts.map +1 -0
- package/components/UnsavedChangesProvider/unsaved-changes-context.js +13 -0
- package/constants/breakpoint.d.ts +15 -0
- package/constants/breakpoint.d.ts.map +1 -0
- package/constants/breakpoint.js +2 -2
- package/constants/dial.d.ts +5 -0
- package/constants/dial.d.ts.map +1 -0
- package/constants/entity-colors.d.ts +6 -0
- package/constants/entity-colors.d.ts.map +1 -0
- package/constants/icon.d.ts +14 -0
- package/constants/icon.d.ts.map +1 -0
- package/constants/markdown-editor.d.ts +2 -0
- package/constants/markdown-editor.d.ts.map +1 -0
- package/constants/mime-types.d.ts +27 -0
- package/constants/mime-types.d.ts.map +1 -0
- package/constants/public-class-names.d.ts +13 -0
- package/constants/public-class-names.d.ts.map +1 -0
- package/constants/resizable-fields.d.ts +5 -0
- package/constants/resizable-fields.d.ts.map +1 -0
- package/constants/select-list.d.ts +4 -0
- package/constants/select-list.d.ts.map +1 -0
- package/constants/tag-input.d.ts +2 -0
- package/constants/tag-input.d.ts.map +1 -0
- package/conversation-transfer/conversation-transfer-queue.d.ts +16 -0
- package/conversation-transfer/conversation-transfer-queue.d.ts.map +1 -0
- package/conversation-transfer/conversation-transfer-queue.js +24 -0
- package/entry-points/file-manager.d.ts +5 -0
- package/entry-points/file-manager.d.ts.map +1 -0
- package/entry-points/markdown.d.ts +19 -0
- package/entry-points/markdown.d.ts.map +1 -0
- package/file-manager/DialFileManagerShell/DialFileManagerShell.d.ts +67 -0
- package/file-manager/DialFileManagerShell/DialFileManagerShell.d.ts.map +1 -0
- package/file-manager/DialFileManagerShell/DialFileManagerShell.js +330 -266
- package/file-manager/DialFileManagerShell/DialFileManagerShell.module.scss.js +8 -0
- package/file-manager/FileManagerAttachModal/FileManagerAttachModal.d.ts +96 -0
- package/file-manager/FileManagerAttachModal/FileManagerAttachModal.d.ts.map +1 -0
- package/file-manager/FileManagerAttachModal/FileManagerAttachModal.js +85 -80
- package/file-manager/FileManagerAttachModal/FileManagerAttachModal.module.scss.js +7 -0
- package/file-manager/OperationLoaderModal/OperationLoaderModal.d.ts +22 -0
- package/file-manager/OperationLoaderModal/OperationLoaderModal.d.ts.map +1 -0
- package/file-manager/OperationLoaderModal/OperationLoaderModal.js +25 -20
- package/file-manager/OperationLoaderModal/OperationLoaderModal.module.scss.js +4 -0
- package/file-manager/attach-result.d.ts +9 -0
- package/file-manager/attach-result.d.ts.map +1 -0
- package/file-manager/file-manager-controller.d.ts +129 -0
- package/file-manager/file-manager-controller.d.ts.map +1 -0
- package/file-manager/file-manager-variant.d.ts +21 -0
- package/file-manager/file-manager-variant.d.ts.map +1 -0
- package/file-manager/file-upload-validation.d.ts +8 -0
- package/file-manager/file-upload-validation.d.ts.map +1 -0
- package/file-manager/index.d.ts +11 -0
- package/file-manager/index.d.ts.map +1 -0
- package/file-manager/labels.d.ts +177 -0
- package/file-manager/labels.d.ts.map +1 -0
- package/file-manager/path.d.ts +12 -0
- package/file-manager/path.d.ts.map +1 -0
- package/file-manager/shell-styles.d.ts +37 -0
- package/file-manager/shell-styles.d.ts.map +1 -0
- package/file-manager/upload-batch.d.ts +75 -0
- package/file-manager/upload-batch.d.ts.map +1 -0
- package/file-manager/upload-batch.js +6 -2
- package/file-manager/upload-queue.d.ts +45 -0
- package/file-manager/upload-queue.d.ts.map +1 -0
- package/file-manager/upload-queue.js +45 -13
- package/file-manager/useGridEditingScroll/useGridEditingScroll.d.ts +27 -0
- package/file-manager/useGridEditingScroll/useGridEditingScroll.d.ts.map +1 -0
- package/file-manager.d.ts +2 -506
- package/file-manager.js +4 -4
- package/hooks/useAvailableHeightCap.d.ts +30 -0
- package/hooks/useAvailableHeightCap.d.ts.map +1 -0
- package/hooks/useAvailableHeightCap.js +1 -1
- package/hooks/useCodeCopy.d.ts +6 -0
- package/hooks/useCodeCopy.d.ts.map +1 -0
- package/hooks/useCollapsedText.d.ts +27 -0
- package/hooks/useCollapsedText.d.ts.map +1 -0
- package/hooks/useControlErrorAssociation.d.ts +3 -0
- package/hooks/useControlErrorAssociation.d.ts.map +1 -0
- package/hooks/useControlErrorAssociation.js +12 -0
- package/hooks/useHorizontalOverflow.d.ts +21 -0
- package/hooks/useHorizontalOverflow.d.ts.map +1 -0
- package/hooks/useIsMobile.d.ts +3 -0
- package/hooks/useIsMobile.d.ts.map +1 -0
- package/hooks/useIsMobile.js +1 -1
- package/hooks/useIsPhone.d.ts +3 -0
- package/hooks/useIsPhone.d.ts.map +1 -0
- package/hooks/useIsPhone.js +13 -0
- package/hooks/useIsTablet.d.ts +3 -0
- package/hooks/useIsTablet.d.ts.map +1 -0
- package/hooks/useIsTablet.js +13 -0
- package/hooks/useIsTextClipped.d.ts +26 -0
- package/hooks/useIsTextClipped.d.ts.map +1 -0
- package/hooks/useIsTextClipped.js +25 -0
- package/hooks/useStreamedMarkdownContent.d.ts +3 -0
- package/hooks/useStreamedMarkdownContent.d.ts.map +1 -0
- package/hooks/useTextRefinement.d.ts +44 -0
- package/hooks/useTextRefinement.d.ts.map +1 -0
- package/hooks/useTextRefinement.js +4 -4
- package/hooks/useUnsavedChangesGuard.d.ts +14 -0
- package/hooks/useUnsavedChangesGuard.d.ts.map +1 -0
- package/hooks/useUnsavedChangesGuard.js +1 -5
- package/hooks/useUnsavedChangesLeaveConfirmation.d.ts +12 -0
- package/hooks/useUnsavedChangesLeaveConfirmation.d.ts.map +1 -0
- package/hooks/useUnsavedChangesLeaveConfirmation.js +22 -0
- package/hooks/useUnsavedChangesLeaveGuard.d.ts +24 -0
- package/hooks/useUnsavedChangesLeaveGuard.d.ts.map +1 -0
- package/hooks/useUnsavedChangesLeaveGuard.js +24 -0
- package/index.css +3 -2
- package/index.d.ts +93 -3167
- package/index.d.ts.map +1 -0
- package/index.js +92 -76
- package/markdown.d.ts +2 -465
- package/markdown.js +3 -2
- package/models/annotation.d.ts +143 -0
- package/models/annotation.d.ts.map +1 -0
- package/models/application-visualizer.d.ts +67 -0
- package/models/application-visualizer.d.ts.map +1 -0
- package/models/auth.d.ts +28 -0
- package/models/auth.d.ts.map +1 -0
- package/models/chat.d.ts +409 -0
- package/models/chat.d.ts.map +1 -0
- package/models/conversation-classification.d.ts +14 -0
- package/models/conversation-classification.d.ts.map +1 -0
- package/models/conversation-classification.js +3 -1
- package/models/conversation-transfer.d.ts +96 -0
- package/models/conversation-transfer.d.ts.map +1 -0
- package/models/custom-visualizer.d.ts +61 -0
- package/models/custom-visualizer.d.ts.map +1 -0
- package/models/deployment-configuration.d.ts +55 -0
- package/models/deployment-configuration.d.ts.map +1 -0
- package/models/deployment-features.d.ts +17 -0
- package/models/deployment-features.d.ts.map +1 -0
- package/models/deployment.d.ts +31 -0
- package/models/deployment.d.ts.map +1 -0
- package/models/dial-model.d.ts +19 -0
- package/models/dial-model.d.ts.map +1 -0
- package/models/entity.d.ts +15 -0
- package/models/entity.d.ts.map +1 -0
- package/models/import-export.d.ts +23 -0
- package/models/import-export.d.ts.map +1 -0
- package/models/inline-segment.d.ts +11 -0
- package/models/inline-segment.d.ts.map +1 -0
- package/models/locale.d.ts +19 -0
- package/models/locale.d.ts.map +1 -0
- package/models/text-refinement.d.ts +22 -0
- package/models/text-refinement.d.ts.map +1 -0
- package/models/theme.d.ts +36 -0
- package/models/theme.d.ts.map +1 -0
- package/models/tool-menu-item.d.ts +13 -0
- package/models/tool-menu-item.d.ts.map +1 -0
- package/package.json +10 -17
- package/types/attachment.d.ts +25 -0
- package/types/attachment.d.ts.map +1 -0
- package/types/code-editor.d.ts +8 -0
- package/types/code-editor.d.ts.map +1 -0
- package/types/entity-type.d.ts +10 -0
- package/types/entity-type.d.ts.map +1 -0
- package/types/file-manager-node.d.ts +17 -0
- package/types/file-manager-node.d.ts.map +1 -0
- package/types/mime-type.d.ts +59 -0
- package/types/mime-type.d.ts.map +1 -0
- package/utils/annotation.d.ts +29 -0
- package/utils/annotation.d.ts.map +1 -0
- package/utils/avatar-color.d.ts +10 -0
- package/utils/avatar-color.d.ts.map +1 -0
- package/utils/base64-json.d.ts +14 -0
- package/utils/base64-json.d.ts.map +1 -0
- package/utils/base64-json.js +4 -0
- package/utils/build-css-vars.d.ts +4 -0
- package/utils/build-css-vars.d.ts.map +1 -0
- package/utils/copy-to-clipboard.d.ts +18 -0
- package/utils/copy-to-clipboard.d.ts.map +1 -0
- package/utils/dom.d.ts +8 -0
- package/utils/dom.d.ts.map +1 -0
- package/utils/dom.js +10 -0
- package/utils/entity-field-limits.d.ts +11 -0
- package/utils/entity-field-limits.d.ts.map +1 -0
- package/utils/entity-type.d.ts +5 -0
- package/utils/entity-type.d.ts.map +1 -0
- package/utils/file-download.d.ts +21 -0
- package/utils/file-download.d.ts.map +1 -0
- package/utils/format-file-size.d.ts +3 -0
- package/utils/format-file-size.d.ts.map +1 -0
- package/utils/format-last-used.d.ts +3 -0
- package/utils/format-last-used.d.ts.map +1 -0
- package/utils/format-price.d.ts +7 -0
- package/utils/format-price.d.ts.map +1 -0
- package/utils/format-price.js +10 -10
- package/utils/generate-uuid.d.ts +3 -0
- package/utils/generate-uuid.d.ts.map +1 -0
- package/utils/initials.d.ts +3 -0
- package/utils/initials.d.ts.map +1 -0
- package/utils/inline-segments.d.ts +38 -0
- package/utils/inline-segments.d.ts.map +1 -0
- package/utils/inline-segments.js +53 -0
- package/utils/is-audio-transcription-supported.d.ts +3 -0
- package/utils/is-audio-transcription-supported.d.ts.map +1 -0
- package/utils/is-skill-selection-unsupported.d.ts +3 -0
- package/utils/is-skill-selection-unsupported.d.ts.map +1 -0
- package/utils/latex.d.ts +22 -0
- package/utils/latex.d.ts.map +1 -0
- package/utils/latex.js +47 -41
- package/utils/markdown-html.d.ts +14 -0
- package/utils/markdown-html.d.ts.map +1 -0
- package/utils/markdown-html.js +11 -0
- package/utils/merge-class.d.ts +4 -0
- package/utils/merge-class.d.ts.map +1 -0
- package/utils/message-attachment-to-display.d.ts +22 -0
- package/utils/message-attachment-to-display.d.ts.map +1 -0
- package/utils/message-attachment-to-display.js +1 -1
- package/utils/message.d.ts +4 -0
- package/utils/message.d.ts.map +1 -0
- package/utils/mime-type.d.ts +22 -0
- package/utils/mime-type.d.ts.map +1 -0
- package/utils/mime-type.js +1 -1
- package/utils/prompt-variables.d.ts +62 -0
- package/utils/prompt-variables.d.ts.map +1 -0
- package/utils/prompt-variables.js +5 -9
- package/utils/string-utils.d.ts +11 -0
- package/utils/string-utils.d.ts.map +1 -0
- package/utils/syntax-highlighting.d.ts +8 -0
- package/utils/syntax-highlighting.d.ts.map +1 -0
- package/utils/syntax-highlighting.js +8 -8
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Dropdown, DropdownItem } from '@epam/ai-dial-ui-kit';
|
|
2
|
+
import { ComponentProps, FC, MouseEvent, ReactElement } from 'react';
|
|
3
|
+
/** Props for `ActionMenu`. */
|
|
4
|
+
export interface ActionMenuProps {
|
|
5
|
+
/** Actions of the menu. Dividers, plain-text rows and nested items are shown by the desktop dropdown only. */
|
|
6
|
+
items: DropdownItem[];
|
|
7
|
+
/** Trigger element; on a phone it gets the click handler that opens the sheet, so it must accept `onClick`. */
|
|
8
|
+
children: ReactElement<{
|
|
9
|
+
onClick?: (event: MouseEvent) => void;
|
|
10
|
+
}>;
|
|
11
|
+
/** Title and accessible name of the phone sheet. */
|
|
12
|
+
title: string;
|
|
13
|
+
/** Accessible name of the phone sheet's close button. Defaults to `'Close'`. */
|
|
14
|
+
closeLabel?: string;
|
|
15
|
+
/** Placement of the desktop dropdown. Defaults to automatic placement. */
|
|
16
|
+
placement?: ComponentProps<typeof Dropdown>['placement'];
|
|
17
|
+
/** Whether the desktop dropdown is as wide as its trigger. Defaults to `true`. */
|
|
18
|
+
matchReferenceWidth?: boolean;
|
|
19
|
+
/** CSS class applied to the desktop dropdown's list. */
|
|
20
|
+
listClassName?: string;
|
|
21
|
+
/** Called when the menu opens or closes, on either surface. */
|
|
22
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
23
|
+
}
|
|
24
|
+
/** Action menu that opens as the kit dropdown on tablet and desktop and as a bottom sheet on a phone. */
|
|
25
|
+
export declare const ActionMenu: FC<ActionMenuProps>;
|
|
26
|
+
//# sourceMappingURL=ActionMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ActionMenu/ActionMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EACR,KAAK,YAAY,EAGlB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,EAAE,EACP,KAAK,UAAU,EACf,KAAK,YAAY,EAElB,MAAM,OAAO,CAAC;AAGf,8BAA8B;AAC9B,MAAM,WAAW,eAAe;IAC9B,8GAA8G;IAC9G,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,+GAA+G;IAC/G,QAAQ,EAAE,YAAY,CAAC;QAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;KAAE,CAAC,CAAC;IAClE,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,gFAAgF;IAChF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC,WAAW,CAAC,CAAC;IACzD,kFAAkF;IAClF,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,wDAAwD;IACxD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C;AAED,yGAAyG;AACzG,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA8E1C,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { useIsPhone as e } from "../../hooks/useIsPhone.js";
|
|
2
|
+
import { BottomSheet as t, Dropdown as n, DropdownItemType as r, MenuItem as i } from "@epam/ai-dial-ui-kit";
|
|
3
|
+
import { cloneElement as a, useState as o } from "react";
|
|
4
|
+
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/ActionMenu/ActionMenu.tsx
|
|
6
|
+
var u = ({ items: u, children: d, title: f, closeLabel: p = "Close", placement: m, matchReferenceWidth: h, listClassName: g, onOpenChange: _ }) => {
|
|
7
|
+
let v = e(), [y, b] = o(!1);
|
|
8
|
+
if (!v) return /* @__PURE__ */ c(n, {
|
|
9
|
+
items: u,
|
|
10
|
+
placement: m,
|
|
11
|
+
matchReferenceWidth: h,
|
|
12
|
+
listClassName: g,
|
|
13
|
+
onOpenChange: _,
|
|
14
|
+
children: d
|
|
15
|
+
});
|
|
16
|
+
let x = (e) => {
|
|
17
|
+
b(e), _?.(e);
|
|
18
|
+
}, S = (e) => {
|
|
19
|
+
d.props.onClick?.(e), x(!0);
|
|
20
|
+
}, C = (e, t) => {
|
|
21
|
+
x(!1), e.onClick?.({
|
|
22
|
+
key: e.key,
|
|
23
|
+
domEvent: t
|
|
24
|
+
});
|
|
25
|
+
}, w = u.filter((e) => e.type !== r.Divider && e.type !== r.PlainText && !e.children?.length);
|
|
26
|
+
return /* @__PURE__ */ l(s, { children: [a(d, {
|
|
27
|
+
onClick: S,
|
|
28
|
+
"aria-haspopup": "dialog",
|
|
29
|
+
"aria-expanded": y
|
|
30
|
+
}), /* @__PURE__ */ c(t, {
|
|
31
|
+
open: y,
|
|
32
|
+
title: f,
|
|
33
|
+
closeAriaLabel: p,
|
|
34
|
+
onClose: () => x(!1),
|
|
35
|
+
children: /* @__PURE__ */ c("div", {
|
|
36
|
+
role: "menu",
|
|
37
|
+
"aria-label": f,
|
|
38
|
+
children: w.map((e) => /* @__PURE__ */ c(i, {
|
|
39
|
+
role: "menuitem",
|
|
40
|
+
label: e.label,
|
|
41
|
+
icon: e.icon,
|
|
42
|
+
disabled: e.disabled,
|
|
43
|
+
danger: e.danger,
|
|
44
|
+
onClick: (t) => C(e, t)
|
|
45
|
+
}, e.key))
|
|
46
|
+
})
|
|
47
|
+
})] });
|
|
48
|
+
};
|
|
49
|
+
//#endregion
|
|
50
|
+
export { u as ActionMenu };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { PopupSize } from '@epam/ai-dial-ui-kit';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { ConfirmationFooterStyles } from '../ConfirmationView/ConfirmationFooter';
|
|
4
|
+
import { ConfirmationViewProps } from '../ConfirmationView/ConfirmationView';
|
|
5
|
+
/** Props for `ConfirmationDialog`. */
|
|
6
|
+
export interface ConfirmationDialogProps extends Omit<ConfirmationViewProps, 'className'> {
|
|
7
|
+
/** Whether the dialog is open. */
|
|
8
|
+
open: boolean;
|
|
9
|
+
/** Dialog title. A string rather than a node, so the kit names the dialog with it. */
|
|
10
|
+
title: string;
|
|
11
|
+
/** Label of the confirming action button. */
|
|
12
|
+
confirmLabel: string;
|
|
13
|
+
/** Label of the cancel button. */
|
|
14
|
+
cancelLabel: string;
|
|
15
|
+
/** Whether the confirmed action is in flight. While it is, both actions and every dismissal route are blocked. Default: `false`. */
|
|
16
|
+
isLoading?: boolean;
|
|
17
|
+
/** Whether confirming is not yet possible because the step's required input is unsatisfied. Default: `false`. */
|
|
18
|
+
isConfirmDisabled?: boolean;
|
|
19
|
+
/** Status text announced to assistive tech while the action is in flight. */
|
|
20
|
+
loadingStatusLabel?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Width cap of the dialog. Defaults to `PopupSize.Sm`, which is what a few
|
|
23
|
+
* lines of copy and two buttons need — the kit's own `Popup` defaults to
|
|
24
|
+
* `Md`, three times as wide.
|
|
25
|
+
*/
|
|
26
|
+
size?: PopupSize;
|
|
27
|
+
/** CSS class applied to the popup container, for example to constrain its width. */
|
|
28
|
+
popupClassName?: string;
|
|
29
|
+
/** CSS class applied to the dialog title. */
|
|
30
|
+
titleClassName?: string;
|
|
31
|
+
/** CSS class applied to the content view root, e.g. a `pt-0` override of its default top padding. */
|
|
32
|
+
viewClassName?: string;
|
|
33
|
+
/** Style overrides forwarded to the action row, e.g. a transparent top border. */
|
|
34
|
+
footerStyles?: ConfirmationFooterStyles;
|
|
35
|
+
/** Called when the user confirms. */
|
|
36
|
+
onConfirm: () => void;
|
|
37
|
+
/** Called when the dialog is dismissed — Cancel, the header close control, Escape, or an outside click. */
|
|
38
|
+
onClose: () => void;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A confirmation step presented as a centered dialog: the same content block
|
|
42
|
+
* and action row the catalog's details panel shows in place, inside the kit's
|
|
43
|
+
* `Popup`. Use it wherever no details panel is open to host the step.
|
|
44
|
+
*/
|
|
45
|
+
export declare const ConfirmationDialog: FC<ConfirmationDialogProps>;
|
|
46
|
+
//# sourceMappingURL=ConfirmationDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmationDialog.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmationDialog/ConfirmationDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,sCAAsC,CAAC;AAS9C,sCAAsC;AACtC,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CACnD,qBAAqB,EACrB,WAAW,CACZ;IACC,kCAAkC;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,sFAAsF;IACtF,KAAK,EAAE,MAAM,CAAC;IACd,6CAA6C;IAC7C,YAAY,EAAE,MAAM,CAAC;IACrB,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,oIAAoI;IACpI,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iHAAiH;IACjH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,6EAA6E;IAC7E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,oFAAoF;IACpF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6CAA6C;IAC7C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qGAAqG;IACrG,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kFAAkF;IAClF,YAAY,CAAC,EAAE,wBAAwB,CAAC;IACxC,qCAAqC;IACrC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,2GAA2G;IAC3G,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAwD1D,CAAC"}
|
|
@@ -3,9 +3,9 @@ import { ConfirmationFooter as t } from "../ConfirmationView/ConfirmationFooter.
|
|
|
3
3
|
import { ConfirmationPopupVariant as n, Popup as r, PopupSize as i } from "@epam/ai-dial-ui-kit";
|
|
4
4
|
import { jsx as a } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/ConfirmationDialog/ConfirmationDialog.tsx
|
|
6
|
-
var o = ({ open: o, title: s, confirmLabel: c, cancelLabel: l, isLoading: u = !1, isConfirmDisabled: d = !1, loadingStatusLabel: f, size: p = i.Sm, popupClassName: m, titleClassName: h,
|
|
7
|
-
let
|
|
8
|
-
u ||
|
|
6
|
+
var o = ({ open: o, title: s, confirmLabel: c, cancelLabel: l, isLoading: u = !1, isConfirmDisabled: d = !1, loadingStatusLabel: f, size: p = i.Sm, popupClassName: m, titleClassName: h, viewClassName: g, footerStyles: _, variant: v = n.Info, onConfirm: y, onClose: b, ...x }) => {
|
|
7
|
+
let S = () => {
|
|
8
|
+
u || b();
|
|
9
9
|
};
|
|
10
10
|
return /* @__PURE__ */ a(r, {
|
|
11
11
|
open: o,
|
|
@@ -13,20 +13,22 @@ var o = ({ open: o, title: s, confirmLabel: c, cancelLabel: l, isLoading: u = !1
|
|
|
13
13
|
size: p,
|
|
14
14
|
className: m,
|
|
15
15
|
titleClassName: h,
|
|
16
|
-
onClose:
|
|
16
|
+
onClose: S,
|
|
17
17
|
footer: /* @__PURE__ */ a(t, {
|
|
18
|
-
variant:
|
|
18
|
+
variant: v,
|
|
19
19
|
confirmLabel: c,
|
|
20
20
|
cancelLabel: l,
|
|
21
21
|
isLoading: u,
|
|
22
22
|
isConfirmDisabled: d,
|
|
23
23
|
loadingStatusLabel: f,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
styles: _,
|
|
25
|
+
onConfirm: y,
|
|
26
|
+
onCancel: S
|
|
26
27
|
}),
|
|
27
28
|
children: /* @__PURE__ */ a(e, {
|
|
28
|
-
variant:
|
|
29
|
-
|
|
29
|
+
variant: v,
|
|
30
|
+
className: g,
|
|
31
|
+
...x
|
|
30
32
|
})
|
|
31
33
|
});
|
|
32
34
|
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ConfirmationPopupVariant } from '@epam/ai-dial-ui-kit';
|
|
2
|
+
import { FC, ReactNode } from 'react';
|
|
3
|
+
import { EntityHeaderItem } from '../../models/entity';
|
|
4
|
+
/** Color overrides for `ConfirmationIdentityCard`. */
|
|
5
|
+
export interface ConfirmationIdentityCardColors {
|
|
6
|
+
/** Card surface in the `Info` variant. Defaults to `--bg-info`. */
|
|
7
|
+
background?: string;
|
|
8
|
+
/** Card surface in the `Danger` variant. Defaults to `--bg-control-error-alpha-active`. */
|
|
9
|
+
dangerBackground?: string;
|
|
10
|
+
/** Card border in the `Danger` variant. Defaults to `--stroke-error-alpha`. */
|
|
11
|
+
dangerBorder?: string;
|
|
12
|
+
}
|
|
13
|
+
/** Style overrides for `ConfirmationIdentityCard`. */
|
|
14
|
+
export interface ConfirmationIdentityCardStyles {
|
|
15
|
+
/** Color overrides, applied to whichever surface `variant` selects. */
|
|
16
|
+
colors?: ConfirmationIdentityCardColors;
|
|
17
|
+
}
|
|
18
|
+
/** Props for `ConfirmationIdentityCard`. */
|
|
19
|
+
export interface ConfirmationIdentityCardProps {
|
|
20
|
+
/** Entity whose identity the card shows. Ignored when `children` is set. */
|
|
21
|
+
item?: EntityHeaderItem;
|
|
22
|
+
/** Row content rendered instead of the entity identity, for a resource that is not an `EntityHeaderItem`. */
|
|
23
|
+
children?: ReactNode;
|
|
24
|
+
/** Palette of the card surface. Default: `ConfirmationPopupVariant.Info`. */
|
|
25
|
+
variant?: ConfirmationPopupVariant;
|
|
26
|
+
/** Size of the entity icon in pixels. Default: `40`. */
|
|
27
|
+
iconSize?: number;
|
|
28
|
+
/** Style overrides. */
|
|
29
|
+
styles?: ConfirmationIdentityCardStyles;
|
|
30
|
+
}
|
|
31
|
+
/** Tinted card echoing the resource a confirmation is about, so the user sees exactly what the action will affect. */
|
|
32
|
+
export declare const ConfirmationIdentityCard: FC<ConfirmationIdentityCardProps>;
|
|
33
|
+
//# sourceMappingURL=ConfirmationIdentityCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmationIdentityCard.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmationIdentityCard/ConfirmationIdentityCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAI5D,sDAAsD;AACtD,MAAM,WAAW,8BAA8B;IAC7C,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2FAA2F;IAC3F,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,+EAA+E;IAC/E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,sDAAsD;AACtD,MAAM,WAAW,8BAA8B;IAC7C,uEAAuE;IACvE,MAAM,CAAC,EAAE,8BAA8B,CAAC;CACzC;AAED,4CAA4C;AAC5C,MAAM,WAAW,6BAA6B;IAC5C,4EAA4E;IAC5E,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,6GAA6G;IAC7G,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,wBAAwB,CAAC;IACnC,wDAAwD;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uBAAuB;IACvB,MAAM,CAAC,EAAE,8BAA8B,CAAC;CACzC;AAED,sHAAsH;AACtH,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC,6BAA6B,CA8BtE,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
//#region src/components/ConfirmationIdentityCard/ConfirmationIdentityCard.module.scss
|
|
2
|
+
var e = "_info_pkxew_1", t = "_danger_pkxew_5", n = {
|
|
3
|
+
info: e,
|
|
4
|
+
danger: t
|
|
4
5
|
};
|
|
5
6
|
//#endregion
|
|
6
|
-
export {
|
|
7
|
+
export { t as danger, n as default, e as info };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
/** Color overrides for `ConfirmationIdentityRow`. */
|
|
3
|
+
export interface ConfirmationIdentityRowColors {
|
|
4
|
+
/** Type label above the name. Defaults to `--text-secondary`. */
|
|
5
|
+
typeLabelText?: string;
|
|
6
|
+
}
|
|
7
|
+
/** Style overrides for `ConfirmationIdentityRow`. */
|
|
8
|
+
export interface ConfirmationIdentityRowStyles {
|
|
9
|
+
/** Color overrides applied as CSS custom properties. */
|
|
10
|
+
colors?: ConfirmationIdentityRowColors;
|
|
11
|
+
/** Typography class applied to the type label. Defaults to `'dial-caption-lead-semi-text'`. */
|
|
12
|
+
typeLabelClassName?: string;
|
|
13
|
+
/** Typography class applied to the name. Defaults to `'dial-small-semi-text'`. */
|
|
14
|
+
nameClassName?: string;
|
|
15
|
+
}
|
|
16
|
+
/** Props for `ConfirmationIdentityRow`. */
|
|
17
|
+
export interface ConfirmationIdentityRowProps {
|
|
18
|
+
/** Icon shown ahead of the type and name. Supplied by the host, which owns the glyph set. */
|
|
19
|
+
icon?: ReactNode;
|
|
20
|
+
/** Resource type shown above the name. Pass it in sentence case — the default class uppercases it. */
|
|
21
|
+
typeLabel?: string;
|
|
22
|
+
/** Resource name, truncated rather than wrapped. */
|
|
23
|
+
name: string;
|
|
24
|
+
/** Style overrides. */
|
|
25
|
+
styles?: ConfirmationIdentityRowStyles;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Identity of a resource that has no `EntityHeaderItem` — a conversation or a
|
|
29
|
+
* scheduled task, say — laid out as icon, type, and name for
|
|
30
|
+
* `ConfirmationIdentityCard`'s `children`.
|
|
31
|
+
*/
|
|
32
|
+
export declare const ConfirmationIdentityRow: FC<ConfirmationIdentityRowProps>;
|
|
33
|
+
//# sourceMappingURL=ConfirmationIdentityRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmationIdentityRow.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmationIdentityRow/ConfirmationIdentityRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK3C,qDAAqD;AACrD,MAAM,WAAW,6BAA6B;IAC5C,iEAAiE;IACjE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,qDAAqD;AACrD,MAAM,WAAW,6BAA6B;IAC5C,wDAAwD;IACxD,MAAM,CAAC,EAAE,6BAA6B,CAAC;IACvC,+FAA+F;IAC/F,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kFAAkF;IAClF,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,2CAA2C;AAC3C,MAAM,WAAW,4BAA4B;IAC3C,6FAA6F;IAC7F,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,sGAAsG;IACtG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,uBAAuB;IACvB,MAAM,CAAC,EAAE,6BAA6B,CAAC;CACxC;AAED;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CA4BpE,CAAC"}
|
|
@@ -4,9 +4,9 @@ import n from "./ConfirmationIdentityRow.module.scss.js";
|
|
|
4
4
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/ConfirmationIdentityRow/ConfirmationIdentityRow.tsx
|
|
6
6
|
var a = ({ icon: a, typeLabel: o, name: s, styles: c }) => {
|
|
7
|
-
let { colors: l, typeLabelClassName: u = "dial-caption-lead-semi-text", nameClassName: d = "dial-small-semi-text" } = c ?? {};
|
|
7
|
+
let { colors: l, typeLabelClassName: u = "dial-caption-lead-semi-text", nameClassName: d = "dial-small-semi-text" } = c ?? {}, f = t({ "--cir-type-label-text": l?.typeLabelText });
|
|
8
8
|
return /* @__PURE__ */ i("div", {
|
|
9
|
-
style:
|
|
9
|
+
style: f,
|
|
10
10
|
className: "flex min-w-0 items-center gap-2",
|
|
11
11
|
children: [a, /* @__PURE__ */ i("div", {
|
|
12
12
|
className: "flex min-w-0 flex-col",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/components/ConfirmationIdentityRow/ConfirmationIdentityRow.module.scss
|
|
2
|
+
var e = "_typeLabel_17nhs_1", t = { typeLabel: e };
|
|
2
3
|
//#endregion
|
|
3
|
-
export {
|
|
4
|
+
export { t as default, e as typeLabel };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ConfirmationPopupVariant } from '@epam/ai-dial-ui-kit';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
/** Color overrides for `ConfirmationFooter`. */
|
|
4
|
+
export interface ConfirmationFooterColors {
|
|
5
|
+
/** Top border color of the action row. Defaults to `--stroke-tertiary`. */
|
|
6
|
+
border?: string;
|
|
7
|
+
}
|
|
8
|
+
/** Style overrides for `ConfirmationFooter`. */
|
|
9
|
+
export interface ConfirmationFooterStyles {
|
|
10
|
+
/** Color overrides applied as CSS custom properties. */
|
|
11
|
+
colors?: ConfirmationFooterColors;
|
|
12
|
+
}
|
|
13
|
+
/** Props for `ConfirmationFooter`. */
|
|
14
|
+
export interface ConfirmationFooterProps {
|
|
15
|
+
/** Label of the confirming action button. */
|
|
16
|
+
confirmLabel: string;
|
|
17
|
+
/** Label of the cancel button. */
|
|
18
|
+
cancelLabel: string;
|
|
19
|
+
/** Palette of the confirm button; `Danger` also gives it a leading trash icon. Default: `ConfirmationPopupVariant.Info`. */
|
|
20
|
+
variant?: ConfirmationPopupVariant;
|
|
21
|
+
/** Whether the confirmed action is in flight. Default: `false`. */
|
|
22
|
+
isLoading?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Whether confirming is not yet possible because the step's required input
|
|
25
|
+
* is unsatisfied — e.g. no published folder chosen yet. Kept separate from
|
|
26
|
+
* `isLoading`: a confirmation that cannot run yet and one already running are
|
|
27
|
+
* different states, and only `isLoading` disables cancel. Default: `false`.
|
|
28
|
+
*/
|
|
29
|
+
isConfirmDisabled?: boolean;
|
|
30
|
+
/** Status text announced to assistive tech while the action is in flight. */
|
|
31
|
+
loadingStatusLabel?: string;
|
|
32
|
+
/** Style overrides. */
|
|
33
|
+
styles?: ConfirmationFooterStyles;
|
|
34
|
+
/** Called when the user confirms. */
|
|
35
|
+
onConfirm: () => void;
|
|
36
|
+
/** Called when the user cancels. */
|
|
37
|
+
onCancel: () => void;
|
|
38
|
+
}
|
|
39
|
+
/** Action row pinned to the bottom of a confirmation step: a text Cancel and a variant-colored confirm button. */
|
|
40
|
+
export declare const ConfirmationFooter: FC<ConfirmationFooterProps>;
|
|
41
|
+
//# sourceMappingURL=ConfirmationFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmationFooter.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmationView/ConfirmationFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EASzB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAK3B,gDAAgD;AAChD,MAAM,WAAW,wBAAwB;IACvC,2EAA2E;IAC3E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,gDAAgD;AAChD,MAAM,WAAW,wBAAwB;IACvC,wDAAwD;IACxD,MAAM,CAAC,EAAE,wBAAwB,CAAC;CACnC;AAED,sCAAsC;AACtC,MAAM,WAAW,uBAAuB;IACtC,6CAA6C;IAC7C,YAAY,EAAE,MAAM,CAAC;IACrB,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,4HAA4H;IAC5H,OAAO,CAAC,EAAE,wBAAwB,CAAC;IACnC,mEAAmE;IACnE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,6EAA6E;IAC7E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,uBAAuB;IACvB,MAAM,CAAC,EAAE,wBAAwB,CAAC;IAClC,qCAAqC;IACrC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,oCAAoC;IACpC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,kHAAkH;AAClH,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAiE1D,CAAC"}
|
|
@@ -1,44 +1,43 @@
|
|
|
1
1
|
import { mergeClasses as e } from "../../utils/merge-class.js";
|
|
2
2
|
import { buildCssVars as t } from "../../utils/build-css-vars.js";
|
|
3
3
|
import n from "./ConfirmationView.module.scss.js";
|
|
4
|
-
import { ConfirmationPopupVariant as r, DIAL_ICON_SIZE as i, DIAL_KIT_ICON_STROKE as a, DangerButton as o, GhostButton as s,
|
|
5
|
-
import { jsx as
|
|
6
|
-
import { IconTrashX as
|
|
4
|
+
import { ConfirmationPopupVariant as r, DIAL_ICON_SIZE as i, DIAL_KIT_ICON_STROKE as a, DangerButton as o, GhostButton as s, LiveRegion as c, LiveRegionElement as l, NeutralButton as u, Spinner as d } from "@epam/ai-dial-ui-kit";
|
|
5
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
6
|
+
import { IconTrashX as m } from "@tabler/icons-react";
|
|
7
7
|
//#region src/components/ConfirmationView/ConfirmationFooter.tsx
|
|
8
|
-
var
|
|
9
|
-
let
|
|
10
|
-
if (
|
|
11
|
-
if (
|
|
8
|
+
var h = ({ confirmLabel: h, cancelLabel: g, variant: _ = r.Info, isLoading: v = !1, isConfirmDisabled: y = !1, loadingStatusLabel: b, styles: x, onConfirm: S, onCancel: C }) => {
|
|
9
|
+
let w = _ === r.Danger, T = t({ "--cfm-footer-border": x?.colors?.border }), E = (() => {
|
|
10
|
+
if (v) return /* @__PURE__ */ f(d, { size: i.SM });
|
|
11
|
+
if (w) return /* @__PURE__ */ f(m, {
|
|
12
12
|
size: i.MD,
|
|
13
13
|
"aria-hidden": !0,
|
|
14
14
|
stroke: a
|
|
15
15
|
});
|
|
16
|
-
})(),
|
|
17
|
-
return /* @__PURE__ */
|
|
18
|
-
style:
|
|
19
|
-
className: e("flex items-center justify-end gap-2 px-4 py-4
|
|
16
|
+
})(), D = w ? o : u;
|
|
17
|
+
return /* @__PURE__ */ p("div", {
|
|
18
|
+
style: T,
|
|
19
|
+
className: e("flex items-center justify-end gap-2 px-4 py-4 rtl:flex-row-reverse rtl:justify-start desktop:px-6", n.footer),
|
|
20
20
|
children: [
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
label:
|
|
21
|
+
/* @__PURE__ */ f(s, {
|
|
22
|
+
label: g,
|
|
23
23
|
className: "mobile:flex-1",
|
|
24
|
-
disabled:
|
|
25
|
-
onClick:
|
|
24
|
+
disabled: v,
|
|
25
|
+
onClick: C
|
|
26
26
|
}),
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
label:
|
|
27
|
+
/* @__PURE__ */ f(D, {
|
|
28
|
+
label: h,
|
|
29
29
|
className: "mobile:flex-1",
|
|
30
|
-
disabled:
|
|
31
|
-
iconBefore:
|
|
32
|
-
onClick:
|
|
30
|
+
disabled: v || y,
|
|
31
|
+
iconBefore: E,
|
|
32
|
+
onClick: S
|
|
33
33
|
}),
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
children: v
|
|
34
|
+
b != null && /* @__PURE__ */ f(c, {
|
|
35
|
+
visuallyHidden: !0,
|
|
36
|
+
as: l.Span,
|
|
37
|
+
children: v ? b : ""
|
|
39
38
|
})
|
|
40
39
|
]
|
|
41
40
|
});
|
|
42
41
|
};
|
|
43
42
|
//#endregion
|
|
44
|
-
export {
|
|
43
|
+
export { h as ConfirmationFooter };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ConfirmationPopupVariant } from '@epam/ai-dial-ui-kit';
|
|
2
|
+
import { FC, ReactNode } from 'react';
|
|
3
|
+
import { EntityHeaderItem } from '../../models/entity';
|
|
4
|
+
/** Color overrides for `ConfirmationView`. */
|
|
5
|
+
export interface ConfirmationViewColors {
|
|
6
|
+
/** Body-copy text color. Defaults to `--text-primary`. */
|
|
7
|
+
messageText?: string;
|
|
8
|
+
/** Consequence-bullet text color. Defaults to `--text-secondary`. */
|
|
9
|
+
consequenceText?: string;
|
|
10
|
+
/** Identity-card surface in the `Info` variant. Defaults to `--bg-info`. */
|
|
11
|
+
cardBackground?: string;
|
|
12
|
+
/** Identity-card surface in the `Danger` variant. Defaults to `--bg-control-error-alpha-active`. */
|
|
13
|
+
cardDangerBackground?: string;
|
|
14
|
+
/** Identity-card border in the `Danger` variant. Defaults to `--stroke-error-alpha`. */
|
|
15
|
+
cardDangerBorder?: string;
|
|
16
|
+
}
|
|
17
|
+
/** Style overrides for `ConfirmationView`. */
|
|
18
|
+
export interface ConfirmationViewStyles {
|
|
19
|
+
/** Color overrides applied as CSS custom properties. */
|
|
20
|
+
colors?: ConfirmationViewColors;
|
|
21
|
+
}
|
|
22
|
+
/** Props for `ConfirmationView`. */
|
|
23
|
+
export interface ConfirmationViewProps {
|
|
24
|
+
/** Entity the confirmation is about, rendered as an identity card above the copy. Ignored when `identity` is set; with neither, no card is rendered. */
|
|
25
|
+
item?: EntityHeaderItem;
|
|
26
|
+
/**
|
|
27
|
+
* Identity card rendered in place of the default one, for a resource that is
|
|
28
|
+
* not an `EntityHeaderItem` — a scheduled task, say, which has no catalog
|
|
29
|
+
* entity type. Compose it from `ConfirmationIdentityCard` so the surface
|
|
30
|
+
* still matches `variant`.
|
|
31
|
+
*/
|
|
32
|
+
identity?: ReactNode;
|
|
33
|
+
/** Body copy explaining what confirming does. */
|
|
34
|
+
message: ReactNode;
|
|
35
|
+
/** Content rendered between the message and the consequence bullets, for example the list of items a bulk action affects. */
|
|
36
|
+
details?: ReactNode;
|
|
37
|
+
/** Consequences listed as bullets under the message. An empty or omitted list renders nothing. */
|
|
38
|
+
consequences?: string[];
|
|
39
|
+
/** Palette of the identity card. Default: `ConfirmationPopupVariant.Info`. */
|
|
40
|
+
variant?: ConfirmationPopupVariant;
|
|
41
|
+
/** Typography class applied to the message and the bullet list. Defaults to `'dial-small-text'`. */
|
|
42
|
+
messageClassName?: string;
|
|
43
|
+
/** CSS class applied to the view root, e.g. a `pt-0` override of the default top padding. */
|
|
44
|
+
className?: string;
|
|
45
|
+
/** Style overrides. */
|
|
46
|
+
styles?: ConfirmationViewStyles;
|
|
47
|
+
/**
|
|
48
|
+
* Optional interactive slot rendered after the consequence bullets, for a
|
|
49
|
+
* confirmation that needs an input before it can be confirmed — choosing
|
|
50
|
+
* which published folder to unpublish from, say. This component stays
|
|
51
|
+
* presentational: whoever passes the slot owns its state, and disabling the
|
|
52
|
+
* confirm button until the input is satisfied is the caller's job. A step
|
|
53
|
+
* that needs no input passes nothing.
|
|
54
|
+
*/
|
|
55
|
+
children?: ReactNode;
|
|
56
|
+
}
|
|
57
|
+
/** Body of an in-place confirmation step: the resource's identity card, the confirmation copy, and an optional consequence list. */
|
|
58
|
+
export declare const ConfirmationView: FC<ConfirmationViewProps>;
|
|
59
|
+
//# sourceMappingURL=ConfirmationView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmationView.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmationView/ConfirmationView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAM5D,8CAA8C;AAC9C,MAAM,WAAW,sBAAsB;IACrC,0DAA0D;IAC1D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qEAAqE;IACrE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,4EAA4E;IAC5E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oGAAoG;IACpG,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,wFAAwF;IACxF,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,8CAA8C;AAC9C,MAAM,WAAW,sBAAsB;IACrC,wDAAwD;IACxD,MAAM,CAAC,EAAE,sBAAsB,CAAC;CACjC;AAED,oCAAoC;AACpC,MAAM,WAAW,qBAAqB;IACpC,wJAAwJ;IACxJ,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iDAAiD;IACjD,OAAO,EAAE,SAAS,CAAC;IACnB,6HAA6H;IAC7H,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,kGAAkG;IAClG,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,8EAA8E;IAC9E,OAAO,CAAC,EAAE,wBAAwB,CAAC;IACnC,oGAAoG;IACpG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6FAA6F;IAC7F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB;IACvB,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,oIAAoI;AACpI,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAsEtD,CAAC"}
|
|
@@ -5,26 +5,26 @@ import r from "./ConfirmationView.module.scss.js";
|
|
|
5
5
|
import { ConfirmationPopupVariant as i } from "@epam/ai-dial-ui-kit";
|
|
6
6
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/ConfirmationView/ConfirmationView.tsx
|
|
8
|
-
var s = ({ item: s, identity: c, message: l, details: u, consequences: d, variant: f = i.Info, messageClassName: p = "dial-small-text",
|
|
9
|
-
let
|
|
8
|
+
var s = ({ item: s, identity: c, message: l, details: u, consequences: d, variant: f = i.Info, messageClassName: p = "dial-small-text", className: m, styles: h, children: g }) => {
|
|
9
|
+
let _ = h?.colors, v = t({
|
|
10
|
+
"--cfm-message-text": _?.messageText,
|
|
11
|
+
"--cfm-consequence-text": _?.consequenceText
|
|
12
|
+
});
|
|
10
13
|
return /* @__PURE__ */ o("div", {
|
|
11
|
-
style:
|
|
12
|
-
|
|
13
|
-
"--cfm-consequence-text": g?.consequenceText
|
|
14
|
-
}),
|
|
15
|
-
className: "flex flex-col gap-4 px-4 py-4 desktop:px-6",
|
|
14
|
+
style: v,
|
|
15
|
+
className: e("flex flex-col gap-4 px-4 py-4 desktop:px-6", m),
|
|
16
16
|
children: [
|
|
17
17
|
c ?? (s != null && /* @__PURE__ */ a(n, {
|
|
18
18
|
item: s,
|
|
19
19
|
variant: f,
|
|
20
20
|
styles: { colors: {
|
|
21
|
-
background:
|
|
22
|
-
dangerBackground:
|
|
23
|
-
dangerBorder:
|
|
21
|
+
background: _?.cardBackground,
|
|
22
|
+
dangerBackground: _?.cardDangerBackground,
|
|
23
|
+
dangerBorder: _?.cardDangerBorder
|
|
24
24
|
} }
|
|
25
25
|
})),
|
|
26
26
|
/* @__PURE__ */ a("p", {
|
|
27
|
-
className: e(p, "break-
|
|
27
|
+
className: e(p, "wrap-break-word", r.message),
|
|
28
28
|
children: l
|
|
29
29
|
}),
|
|
30
30
|
u,
|
|
@@ -32,7 +32,7 @@ var s = ({ item: s, identity: c, message: l, details: u, consequences: d, varian
|
|
|
32
32
|
className: e("flex list-disc flex-col gap-2 ps-5", p, r.consequences),
|
|
33
33
|
children: d.map((e) => /* @__PURE__ */ a("li", { children: e }, e))
|
|
34
34
|
}),
|
|
35
|
-
|
|
35
|
+
g
|
|
36
36
|
]
|
|
37
37
|
});
|
|
38
38
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
//#region src/components/ConfirmationView/ConfirmationView.module.scss
|
|
2
|
+
var e = "_message_1iqfi_1", t = "_consequences_1iqfi_5", n = "_footer_1iqfi_9", r = {
|
|
3
|
+
message: e,
|
|
4
|
+
consequences: t,
|
|
5
|
+
footer: n
|
|
5
6
|
};
|
|
6
7
|
//#endregion
|
|
7
|
-
export {
|
|
8
|
+
export { t as consequences, r as default, n as footer, e as message };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementSize } from '@epam/ai-dial-ui-kit';
|
|
2
|
+
import { FC, ReactNode } from 'react';
|
|
3
|
+
export interface CopyButtonProps {
|
|
4
|
+
onClick: () => void;
|
|
5
|
+
className?: string;
|
|
6
|
+
isCopied: boolean;
|
|
7
|
+
copyLabel: string;
|
|
8
|
+
copiedLabel: string;
|
|
9
|
+
size?: ElementSize;
|
|
10
|
+
/** Accessible label for the button; falls back to `copyLabel` when omitted. */
|
|
11
|
+
ariaLabel?: string;
|
|
12
|
+
iconSize?: number;
|
|
13
|
+
iconCopy?: ReactNode;
|
|
14
|
+
/** Renders the button in its disabled state and blocks clicks. Defaults to `false`. */
|
|
15
|
+
isDisabled?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare const CopyIconButton: FC<CopyButtonProps>;
|
|
18
|
+
export declare const CopyButton: FC<CopyButtonProps>;
|
|
19
|
+
//# sourceMappingURL=CopyButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CopyButton.d.ts","sourceRoot":"","sources":["../../../src/components/CopyButton/CopyButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,uFAAuF;IACvF,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AACD,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,eAAe,CAuC9C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAgC1C,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { PopupSize } from '@epam/ai-dial-ui-kit';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { DeleteConfirmationViewLabels, DeleteConfirmationViewProps } from '../DeleteConfirmationView/DeleteConfirmationView';
|
|
4
|
+
/** User-visible strings of `DeleteConfirmationDialog`. */
|
|
5
|
+
export interface DeleteConfirmationDialogLabels extends DeleteConfirmationViewLabels {
|
|
6
|
+
/** Label of the confirming action button. Defaults to `'Delete'`. */
|
|
7
|
+
confirm?: string;
|
|
8
|
+
/** Label of the cancel button. Defaults to `'Cancel'`. */
|
|
9
|
+
cancel?: string;
|
|
10
|
+
/** Status text announced while the deletion is in flight. Defaults to `'Deleting…'`. */
|
|
11
|
+
deleting?: string;
|
|
12
|
+
}
|
|
13
|
+
/** Style overrides for `DeleteConfirmationDialog`. */
|
|
14
|
+
export interface DeleteConfirmationDialogStyles extends NonNullable<DeleteConfirmationViewProps['styles']> {
|
|
15
|
+
/** CSS class applied to the popup container. */
|
|
16
|
+
popupClassName?: string;
|
|
17
|
+
/** CSS class applied to the dialog title. */
|
|
18
|
+
titleClassName?: string;
|
|
19
|
+
}
|
|
20
|
+
/** Props for `DeleteConfirmationDialog`. */
|
|
21
|
+
export interface DeleteConfirmationDialogProps extends Omit<DeleteConfirmationViewProps, 'labels' | 'styles'> {
|
|
22
|
+
/** Whether the dialog is open. */
|
|
23
|
+
open: boolean;
|
|
24
|
+
/** Dialog title. A string rather than a node, so the kit names the dialog with it. */
|
|
25
|
+
title: string;
|
|
26
|
+
/** Whether the delete request is in flight; blocks both actions and every dismissal route. Defaults to `false`. */
|
|
27
|
+
isLoading?: boolean;
|
|
28
|
+
/** Width cap of the dialog. Defaults to `PopupSize.Sm`. */
|
|
29
|
+
size?: PopupSize;
|
|
30
|
+
/** User-visible strings. */
|
|
31
|
+
labels?: DeleteConfirmationDialogLabels;
|
|
32
|
+
/** Style overrides. */
|
|
33
|
+
styles?: DeleteConfirmationDialogStyles;
|
|
34
|
+
/** Called when the user confirms. */
|
|
35
|
+
onConfirm: () => void;
|
|
36
|
+
/** Called when the dialog is dismissed — Cancel, the close control, Escape, or an outside click. */
|
|
37
|
+
onClose: () => void;
|
|
38
|
+
}
|
|
39
|
+
/** Delete confirmation presented as a centered dialog, for one resource or a selection. */
|
|
40
|
+
export declare const DeleteConfirmationDialog: FC<DeleteConfirmationDialogProps>;
|
|
41
|
+
//# sourceMappingURL=DeleteConfirmationDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteConfirmationDialog.d.ts","sourceRoot":"","sources":["../../../src/components/DeleteConfirmationDialog/DeleteConfirmationDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAEL,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EACjC,MAAM,kDAAkD,CAAC;AAE1D,0DAA0D;AAC1D,MAAM,WAAW,8BAA+B,SAAQ,4BAA4B;IAClF,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wFAAwF;IACxF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,sDAAsD;AACtD,MAAM,WAAW,8BAA+B,SAAQ,WAAW,CACjE,2BAA2B,CAAC,QAAQ,CAAC,CACtC;IACC,gDAAgD;IAChD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6CAA6C;IAC7C,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,4CAA4C;AAC5C,MAAM,WAAW,6BAA8B,SAAQ,IAAI,CACzD,2BAA2B,EAC3B,QAAQ,GAAG,QAAQ,CACpB;IACC,kCAAkC;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,sFAAsF;IACtF,KAAK,EAAE,MAAM,CAAC;IACd,mHAAmH;IACnH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2DAA2D;IAC3D,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,8BAA8B,CAAC;IACxC,uBAAuB;IACvB,MAAM,CAAC,EAAE,8BAA8B,CAAC;IACxC,qCAAqC;IACrC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,oGAAoG;IACpG,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,2FAA2F;AAC3F,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC,6BAA6B,CAmDtE,CAAC"}
|