@tumaet/prompt-ui-components 0.0.2 → 0.0.4
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/dist/components/DatePicker.js +18 -0
- package/dist/components/DatePicker.js.map +1 -0
- package/dist/components/DateRangePicker.js +12 -0
- package/dist/components/DateRangePicker.js.map +1 -0
- package/dist/components/DeleteConfirmationDialog.js +13 -0
- package/dist/components/DeleteConfirmationDialog.js.map +1 -0
- package/dist/components/ErrorPage.js +9 -0
- package/dist/components/ErrorPage.js.map +1 -0
- package/dist/components/ExportedApplicationAnswerTable.js +16 -0
- package/dist/components/ExportedApplicationAnswerTable.js.map +1 -0
- package/dist/components/LoadingPage.js +6 -0
- package/dist/components/LoadingPage.js.map +1 -0
- package/dist/components/ManagementPageHeader.js +5 -0
- package/dist/components/ManagementPageHeader.js.map +1 -0
- package/dist/components/MissingConfig.js +12 -0
- package/dist/components/MissingConfig.js.map +1 -0
- package/dist/components/MultiSelect.js +96 -0
- package/dist/components/MultiSelect.js.map +1 -0
- package/dist/components/SaveChangesAlert.js +31 -0
- package/dist/components/SaveChangesAlert.js.map +1 -0
- package/dist/components/StudentProfile.js +14 -0
- package/dist/components/StudentProfile.js.map +1 -0
- package/dist/components/ThemeToggle.js +10 -0
- package/dist/components/ThemeToggle.js.map +1 -0
- package/dist/components/UnauthorizedPage.js +13 -0
- package/dist/components/UnauthorizedPage.js.map +1 -0
- package/dist/components/index.js +9 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/minimal-tiptap/components/bubble-menu/link-bubble-menu.js +65 -0
- package/dist/components/minimal-tiptap/components/bubble-menu/link-bubble-menu.js.map +1 -0
- package/dist/components/minimal-tiptap/components/image/image-edit-block.js +38 -0
- package/dist/components/minimal-tiptap/components/image/image-edit-block.js.map +1 -0
- package/dist/components/minimal-tiptap/components/image/image-edit-dialog.js +12 -0
- package/dist/components/minimal-tiptap/components/image/image-edit-dialog.js.map +1 -0
- package/dist/components/minimal-tiptap/components/link/link-edit-block.js +34 -0
- package/dist/components/minimal-tiptap/components/link/link-edit-block.js.map +1 -0
- package/dist/components/minimal-tiptap/components/link/link-edit-popover.js +38 -0
- package/dist/components/minimal-tiptap/components/link/link-edit-popover.js.map +1 -0
- package/dist/components/minimal-tiptap/components/link/link-popover-block.js +28 -0
- package/dist/components/minimal-tiptap/components/link/link-popover-block.js.map +1 -0
- package/dist/components/minimal-tiptap/components/measured-container.js +16 -0
- package/dist/components/minimal-tiptap/components/measured-container.js.map +1 -0
- package/dist/components/minimal-tiptap/components/section/five.js +39 -0
- package/dist/components/minimal-tiptap/components/section/five.js.map +1 -0
- package/dist/components/minimal-tiptap/components/section/four.js +29 -0
- package/dist/components/minimal-tiptap/components/section/four.js.map +1 -0
- package/dist/components/minimal-tiptap/components/section/mailingPlaceholders.js +23 -0
- package/dist/components/minimal-tiptap/components/section/mailingPlaceholders.js.map +1 -0
- package/dist/components/minimal-tiptap/components/section/one.js +77 -0
- package/dist/components/minimal-tiptap/components/section/one.js.map +1 -0
- package/dist/components/minimal-tiptap/components/section/three.js +79 -0
- package/dist/components/minimal-tiptap/components/section/three.js.map +1 -0
- package/dist/components/minimal-tiptap/components/section/two.js +65 -0
- package/dist/components/minimal-tiptap/components/section/two.js.map +1 -0
- package/dist/components/minimal-tiptap/components/shortcut-key.js +11 -0
- package/dist/components/minimal-tiptap/components/shortcut-key.js.map +1 -0
- package/dist/components/minimal-tiptap/components/spinner.js +9 -0
- package/dist/components/minimal-tiptap/components/spinner.js.map +1 -0
- package/dist/components/minimal-tiptap/components/toolbar-button.js +15 -0
- package/dist/components/minimal-tiptap/components/toolbar-button.js.map +1 -0
- package/dist/components/minimal-tiptap/components/toolbar-section.js +27 -0
- package/dist/components/minimal-tiptap/components/toolbar-section.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/code-block-lowlight/code-block-lowlight.js +16 -0
- package/dist/components/minimal-tiptap/extensions/code-block-lowlight/code-block-lowlight.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/code-block-lowlight/index.js +2 -0
- package/dist/components/minimal-tiptap/extensions/code-block-lowlight/index.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/color/color.js +20 -0
- package/dist/components/minimal-tiptap/extensions/color/color.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/color/index.js +2 -0
- package/dist/components/minimal-tiptap/extensions/color/index.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/file-handler/index.js +74 -0
- package/dist/components/minimal-tiptap/extensions/file-handler/index.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/horizontal-rule/horizontal-rule.js +16 -0
- package/dist/components/minimal-tiptap/extensions/horizontal-rule/horizontal-rule.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/horizontal-rule/index.js +2 -0
- package/dist/components/minimal-tiptap/extensions/horizontal-rule/index.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/image/components/image-actions.js +39 -0
- package/dist/components/minimal-tiptap/extensions/image/components/image-actions.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/image/components/image-overlay.js +9 -0
- package/dist/components/minimal-tiptap/extensions/image/components/image-overlay.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/image/components/image-view-block.js +167 -0
- package/dist/components/minimal-tiptap/extensions/image/components/image-view-block.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/image/components/resize-handle.js +11 -0
- package/dist/components/minimal-tiptap/extensions/image/components/resize-handle.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/image/hooks/use-drag-resize.js +88 -0
- package/dist/components/minimal-tiptap/extensions/image/hooks/use-drag-resize.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/image/hooks/use-image-actions.js +32 -0
- package/dist/components/minimal-tiptap/extensions/image/hooks/use-image-actions.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/image/image.js +225 -0
- package/dist/components/minimal-tiptap/extensions/image/image.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/image/index.js +2 -0
- package/dist/components/minimal-tiptap/extensions/image/index.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/index.js +10 -0
- package/dist/components/minimal-tiptap/extensions/index.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/link/index.js +2 -0
- package/dist/components/minimal-tiptap/extensions/link/index.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/link/link.js +74 -0
- package/dist/components/minimal-tiptap/extensions/link/link.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/reset-marks-on-enter/index.js +2 -0
- package/dist/components/minimal-tiptap/extensions/reset-marks-on-enter/index.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/reset-marks-on-enter/reset-marks-on-enter.js +20 -0
- package/dist/components/minimal-tiptap/extensions/reset-marks-on-enter/reset-marks-on-enter.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/selection/index.js +2 -0
- package/dist/components/minimal-tiptap/extensions/selection/index.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/selection/selection.js +31 -0
- package/dist/components/minimal-tiptap/extensions/selection/selection.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/unset-all-marks/index.js +2 -0
- package/dist/components/minimal-tiptap/extensions/unset-all-marks/index.js.map +1 -0
- package/dist/components/minimal-tiptap/extensions/unset-all-marks/unset-all-marks.js +9 -0
- package/dist/components/minimal-tiptap/extensions/unset-all-marks/unset-all-marks.js.map +1 -0
- package/dist/components/minimal-tiptap/form-description-tiptap.js +26 -0
- package/dist/components/minimal-tiptap/form-description-tiptap.js.map +1 -0
- package/dist/components/minimal-tiptap/hooks/use-container-size.js +44 -0
- package/dist/components/minimal-tiptap/hooks/use-container-size.js.map +1 -0
- package/dist/components/minimal-tiptap/hooks/use-minimal-tiptap.js +160 -0
- package/dist/components/minimal-tiptap/hooks/use-minimal-tiptap.js.map +1 -0
- package/dist/components/minimal-tiptap/hooks/use-theme.js +19 -0
- package/dist/components/minimal-tiptap/hooks/use-theme.js.map +1 -0
- package/dist/components/minimal-tiptap/hooks/use-throttle.js +24 -0
- package/dist/components/minimal-tiptap/hooks/use-throttle.js.map +1 -0
- package/dist/components/minimal-tiptap/index.js +2 -0
- package/dist/components/minimal-tiptap/index.js.map +1 -0
- package/dist/components/minimal-tiptap/mailing-tiptap.js +30 -0
- package/dist/components/minimal-tiptap/mailing-tiptap.js.map +1 -0
- package/dist/components/minimal-tiptap/minimal-tiptap.js +29 -0
- package/dist/components/minimal-tiptap/minimal-tiptap.js.map +1 -0
- package/dist/components/minimal-tiptap/types.js +2 -0
- package/dist/components/minimal-tiptap/types.js.map +1 -0
- package/dist/components/minimal-tiptap/utils.js +156 -0
- package/dist/components/minimal-tiptap/utils.js.map +1 -0
- package/dist/components/pages/CoursePhaseParticpationsTable/CoursePhaseParticipationsTablePage.js +71 -0
- package/dist/components/pages/CoursePhaseParticpationsTable/CoursePhaseParticipationsTablePage.js.map +1 -0
- package/dist/components/pages/CoursePhaseParticpationsTable/components/FilterMenu.js +43 -0
- package/dist/components/pages/CoursePhaseParticpationsTable/components/FilterMenu.js.map +1 -0
- package/dist/components/pages/CoursePhaseParticpationsTable/components/GroupActionsMenu.js +50 -0
- package/dist/components/pages/CoursePhaseParticpationsTable/components/GroupActionsMenu.js.map +1 -0
- package/dist/components/pages/CoursePhaseParticpationsTable/components/columns.js +84 -0
- package/dist/components/pages/CoursePhaseParticpationsTable/components/columns.js.map +1 -0
- package/dist/components/pages/CoursePhaseParticpationsTable/interfaces/ExtraParticipationTableData.js +2 -0
- package/dist/components/pages/CoursePhaseParticpationsTable/interfaces/ExtraParticipationTableData.js.map +1 -0
- package/dist/components/pages/CoursePhaseParticpationsTable/utils/downloadParticipations.js +70 -0
- package/dist/components/pages/CoursePhaseParticpationsTable/utils/downloadParticipations.js.map +1 -0
- package/dist/components/pages/Mailing/CoursePhaseMailing.js +88 -0
- package/dist/components/pages/Mailing/CoursePhaseMailing.js.map +1 -0
- package/dist/components/pages/Mailing/components/AvailableMailPlaceholders.js +61 -0
- package/dist/components/pages/Mailing/components/AvailableMailPlaceholders.js.map +1 -0
- package/dist/components/pages/Mailing/components/ConfirmSendEmailDialog.js +35 -0
- package/dist/components/pages/Mailing/components/ConfirmSendEmailDialog.js.map +1 -0
- package/dist/components/pages/Mailing/components/MailingEditor.js +29 -0
- package/dist/components/pages/Mailing/components/MailingEditor.js.map +1 -0
- package/dist/components/pages/Mailing/components/ManualMailSending.js +35 -0
- package/dist/components/pages/Mailing/components/ManualMailSending.js.map +1 -0
- package/dist/components/pages/Mailing/components/SettingsCard.js +14 -0
- package/dist/components/pages/Mailing/components/SettingsCard.js.map +1 -0
- package/dist/components/table/GroupActionDialog.js +8 -0
- package/dist/components/table/GroupActionDialog.js.map +1 -0
- package/dist/components/table/SortableHeader.js +7 -0
- package/dist/components/table/SortableHeader.js.map +1 -0
- package/dist/components/ui/card.js +1 -1
- package/dist/components/ui/card.js.map +1 -1
- package/dist/components/ui/chart.js +1 -1
- package/dist/components/ui/chart.js.map +1 -1
- package/dist/index.css +2 -3
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/types/components/DatePicker.d.ts +6 -0
- package/dist/types/components/DateRangePicker.d.ts +8 -0
- package/dist/types/components/DeleteConfirmationDialog.d.ts +9 -0
- package/dist/types/components/ErrorPage.d.ts +9 -0
- package/dist/types/components/ExportedApplicationAnswerTable.d.ts +6 -0
- package/dist/types/components/LoadingPage.d.ts +1 -0
- package/dist/types/components/ManagementPageHeader.d.ts +5 -0
- package/dist/types/components/MissingConfig.d.ts +13 -0
- package/dist/types/components/MultiSelect.d.ts +68 -0
- package/dist/types/components/SaveChangesAlert.d.ts +8 -0
- package/dist/types/components/StudentProfile.d.ts +7 -0
- package/dist/types/components/ThemeToggle.d.ts +1 -0
- package/dist/types/components/UnauthorizedPage.d.ts +7 -0
- package/dist/types/components/index.d.ts +9 -0
- package/dist/types/components/minimal-tiptap/components/bubble-menu/link-bubble-menu.d.ts +7 -0
- package/dist/types/components/minimal-tiptap/components/image/image-edit-block.d.ts +8 -0
- package/dist/types/components/minimal-tiptap/components/image/image-edit-dialog.d.ts +8 -0
- package/dist/types/components/minimal-tiptap/components/link/link-edit-block.d.ts +9 -0
- package/dist/types/components/minimal-tiptap/components/link/link-edit-popover.d.ts +8 -0
- package/dist/types/components/minimal-tiptap/components/link/link-popover-block.d.ts +8 -0
- package/dist/types/components/minimal-tiptap/components/measured-container.d.ts +2 -0
- package/dist/types/components/minimal-tiptap/components/section/five.d.ts +12 -0
- package/dist/types/components/minimal-tiptap/components/section/four.d.ts +12 -0
- package/dist/types/components/minimal-tiptap/components/section/mailingPlaceholders.d.ts +10 -0
- package/dist/types/components/minimal-tiptap/components/section/one.d.ts +11 -0
- package/dist/types/components/minimal-tiptap/components/section/three.d.ts +9 -0
- package/dist/types/components/minimal-tiptap/components/section/two.d.ts +12 -0
- package/dist/types/components/minimal-tiptap/components/shortcut-key.d.ts +5 -0
- package/dist/types/components/minimal-tiptap/components/spinner.d.ts +5 -0
- package/dist/types/components/minimal-tiptap/components/toolbar-button.d.ts +10 -0
- package/dist/types/components/minimal-tiptap/components/toolbar-section.d.ts +16 -0
- package/dist/types/components/minimal-tiptap/extensions/code-block-lowlight/code-block-lowlight.d.ts +2 -0
- package/dist/types/components/minimal-tiptap/extensions/code-block-lowlight/index.d.ts +1 -0
- package/dist/types/components/minimal-tiptap/extensions/color/color.d.ts +1 -0
- package/dist/types/components/minimal-tiptap/extensions/color/index.d.ts +1 -0
- package/dist/types/components/minimal-tiptap/extensions/file-handler/index.d.ts +12 -0
- package/dist/types/components/minimal-tiptap/extensions/horizontal-rule/horizontal-rule.d.ts +2 -0
- package/dist/types/components/minimal-tiptap/extensions/horizontal-rule/index.d.ts +1 -0
- package/dist/types/components/minimal-tiptap/extensions/image/components/image-actions.d.ts +17 -0
- package/dist/types/components/minimal-tiptap/extensions/image/components/image-overlay.d.ts +2 -0
- package/dist/types/components/minimal-tiptap/extensions/image/components/image-view-block.d.ts +3 -0
- package/dist/types/components/minimal-tiptap/extensions/image/components/resize-handle.d.ts +6 -0
- package/dist/types/components/minimal-tiptap/extensions/image/hooks/use-drag-resize.d.ts +24 -0
- package/dist/types/components/minimal-tiptap/extensions/image/hooks/use-image-actions.d.ts +24 -0
- package/dist/types/components/minimal-tiptap/extensions/image/image.d.ts +52 -0
- package/dist/types/components/minimal-tiptap/extensions/image/index.d.ts +1 -0
- package/dist/types/components/minimal-tiptap/extensions/index.d.ts +9 -0
- package/dist/types/components/minimal-tiptap/extensions/link/index.d.ts +1 -0
- package/dist/types/components/minimal-tiptap/extensions/link/link.d.ts +2 -0
- package/dist/types/components/minimal-tiptap/extensions/reset-marks-on-enter/index.d.ts +1 -0
- package/dist/types/components/minimal-tiptap/extensions/reset-marks-on-enter/reset-marks-on-enter.d.ts +2 -0
- package/dist/types/components/minimal-tiptap/extensions/selection/index.d.ts +1 -0
- package/dist/types/components/minimal-tiptap/extensions/selection/selection.d.ts +3 -0
- package/dist/types/components/minimal-tiptap/extensions/unset-all-marks/index.d.ts +1 -0
- package/dist/types/components/minimal-tiptap/extensions/unset-all-marks/unset-all-marks.d.ts +2 -0
- package/dist/types/components/minimal-tiptap/form-description-tiptap.d.ts +4 -0
- package/dist/types/components/minimal-tiptap/hooks/use-container-size.d.ts +1 -0
- package/dist/types/components/minimal-tiptap/hooks/use-minimal-tiptap.d.ts +13 -0
- package/dist/types/components/minimal-tiptap/hooks/use-theme.d.ts +2 -0
- package/dist/types/components/minimal-tiptap/hooks/use-throttle.d.ts +1 -0
- package/dist/types/components/minimal-tiptap/index.d.ts +1 -0
- package/dist/types/components/minimal-tiptap/mailing-tiptap.d.ts +13 -0
- package/dist/types/components/minimal-tiptap/minimal-tiptap.d.ts +12 -0
- package/dist/types/components/minimal-tiptap/types.d.ts +25 -0
- package/dist/types/components/minimal-tiptap/utils.d.ts +38 -0
- package/dist/types/components/pages/CoursePhaseParticpationsTable/CoursePhaseParticipationsTablePage.d.ts +13 -0
- package/dist/types/components/pages/CoursePhaseParticpationsTable/components/FilterMenu.d.ts +7 -0
- package/dist/types/components/pages/CoursePhaseParticpationsTable/components/GroupActionsMenu.d.ts +10 -0
- package/dist/types/components/pages/CoursePhaseParticpationsTable/components/columns.d.ts +9 -0
- package/dist/types/components/pages/CoursePhaseParticpationsTable/interfaces/ExtraParticipationTableData.d.ts +5 -0
- package/dist/types/components/pages/CoursePhaseParticpationsTable/utils/downloadParticipations.d.ts +3 -0
- package/dist/types/components/pages/Mailing/CoursePhaseMailing.d.ts +6 -0
- package/dist/types/components/pages/Mailing/components/AvailableMailPlaceholders.d.ts +12 -0
- package/dist/types/components/pages/Mailing/components/ConfirmSendEmailDialog.d.ts +8 -0
- package/dist/types/components/pages/Mailing/components/MailingEditor.d.ts +12 -0
- package/dist/types/components/pages/Mailing/components/ManualMailSending.d.ts +7 -0
- package/dist/types/components/pages/Mailing/components/SettingsCard.d.ts +7 -0
- package/dist/types/components/table/GroupActionDialog.d.ts +11 -0
- package/dist/types/components/table/SortableHeader.d.ts +4 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +23 -2
- package/src/index.css +1 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../src/components/ui/card.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../src/components/ui/card.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAA;AAEhC,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAC3B,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAChC,cACE,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CAAC,0DAA0D,EAAE,SAAS,CAAC,KAChF,KAAK,G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U,CACjC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAChC,cAAK,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,CAAC,4BAA4B,EAAE,SAAS,CAAC,KAAM,KAAK,GAAI,CACrF,CACF,CAAA;AACD,UAAU,CAAC,WAAW,GAAG,YAAY,CAAA;AAErC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as RechartsPrimitive from "recharts";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "@/lib/utils";
|
|
5
5
|
// Format: { THEME_NAME: CSS_SELECTOR }
|
|
6
6
|
const THEMES = { light: "", dark: ".dark" };
|
|
7
7
|
const ChartContext = React.createContext(null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart.js","sourceRoot":"","sources":["../../../src/components/ui/chart.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,iBAAiB,MAAM,UAAU,CAAA;AAE7C,OAAO,EAAE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"chart.js","sourceRoot":"","sources":["../../../src/components/ui/chart.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,iBAAiB,MAAM,UAAU,CAAA;AAE7C,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAA;AAEhC,uCAAuC;AACvC,MAAM,MAAM,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAW,CAAA;AAgBpD,MAAM,YAAY,GAAG,KA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B,CAAC,CAAA;AACxC,CAAC;AAED,OAAO,EACL,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,WAAW,EACX,kBAAkB,EAClB,UAAU,GACX,CAAA"}
|
package/dist/index.css
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@tailwind base;
|
|
2
2
|
@tailwind components;
|
|
3
|
-
@tailwind utilities;
|
|
4
|
-
|
|
3
|
+
@tailwind utilities;
|
|
5
4
|
|
|
6
5
|
@layer base {
|
|
7
6
|
:root {
|
|
@@ -103,4 +102,4 @@
|
|
|
103
102
|
}
|
|
104
103
|
}
|
|
105
104
|
|
|
106
|
-
/*# sourceMappingURL=data:application/json;base64,
|
|
105
|
+
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEiLCJmaWxlIjoiaW5kZXguY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQHRhaWx3aW5kIGJhc2U7XG5AdGFpbHdpbmQgY29tcG9uZW50cztcbkB0YWlsd2luZCB1dGlsaXRpZXM7IFxuXG5AbGF5ZXIgYmFzZSB7XG4gIDpyb290IHtcbiAgICAtLWJhY2tncm91bmQ6IDAgMCUgMTAwJTtcbiAgICAtLWZvcmVncm91bmQ6IDI0MCAxMCUgMy45JTtcbiAgICAtLWNhcmQ6IDAgMCUgMTAwJTtcbiAgICAtLWNhcmQtZm9yZWdyb3VuZDogMjQwIDEwJSAzLjklO1xuICAgIC0tcG9wb3ZlcjogMCAwJSAxMDAlO1xuICAgIC0tcG9wb3Zlci1mb3JlZ3JvdW5kOiAyNDAgMTAlIDMuOSU7XG4gICAgLS1wcmltYXJ5OiAyNDAgNS45JSAxMCU7XG4gICAgLS1wcmltYXJ5LWZvcmVncm91bmQ6IDAgMCUgOTglO1xuICAgIC0tc2Vjb25kYXJ5OiAyNDAgNC44JSA5NS45JTtcbiAgICA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G4iXX0= */
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,OAAO,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,OAAO,aAAa,CAAA;AACpB,OAAO,8CAA8C,CAAA;AAErD,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DateRange } from 'react-day-picker';
|
|
3
|
+
interface DatePickerWithRangeProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
date: DateRange | undefined;
|
|
5
|
+
setDate: (date: DateRange | undefined) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const DatePickerWithRange: React.FC<DatePickerWithRangeProps>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface DeleteConfirmationProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
setOpen: (value: boolean) => void;
|
|
4
|
+
deleteMessage: string;
|
|
5
|
+
customWarning?: string;
|
|
6
|
+
onClick: (value: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const DeleteConfirmation: ({ isOpen, setOpen, deleteMessage, customWarning, onClick, }: DeleteConfirmationProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface ErrorPageProps {
|
|
2
|
+
title?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
message?: string;
|
|
5
|
+
onRetry?: () => void;
|
|
6
|
+
onLogout?: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const ErrorPage: ({ title, description, message, onRetry, onLogout, }: ErrorPageProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ExportedApplicationAnswer } from '@tumaet/prompt-shared-state';
|
|
2
|
+
interface ExportedApplicationAnswerTableProps {
|
|
3
|
+
applicationAnswers: ExportedApplicationAnswer[];
|
|
4
|
+
}
|
|
5
|
+
export declare const ExportedApplicationAnswerTable: ({ applicationAnswers, }: ExportedApplicationAnswerTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LoadingPage: () => JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
export interface MissingConfigItem {
|
|
3
|
+
title: string;
|
|
4
|
+
icon: ElementType;
|
|
5
|
+
description?: string;
|
|
6
|
+
link: string;
|
|
7
|
+
hide?: () => void;
|
|
8
|
+
}
|
|
9
|
+
interface MissingConfigProps {
|
|
10
|
+
elements: MissingConfigItem[];
|
|
11
|
+
}
|
|
12
|
+
export declare const MissingConfig: ({ elements }: MissingConfigProps) => JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
/**
|
|
4
|
+
* Variants for the multi-select component to handle different styles.
|
|
5
|
+
* Uses class-variance-authority (cva) to define different styles based on "variant" prop.
|
|
6
|
+
*/
|
|
7
|
+
declare const multiSelectVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "destructive" | "secondary" | "inverted" | null | undefined;
|
|
9
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
10
|
+
/**
|
|
11
|
+
* Props for MultiSelect component
|
|
12
|
+
*/
|
|
13
|
+
interface MultiSelectProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof multiSelectVariants> {
|
|
14
|
+
/**
|
|
15
|
+
* An array of option objects to be displayed in the multi-select component.
|
|
16
|
+
* Each option object has a label, value, and an optional icon.
|
|
17
|
+
*/
|
|
18
|
+
options: {
|
|
19
|
+
/** The text to display for the option. */
|
|
20
|
+
label: string;
|
|
21
|
+
/** The unique value associated with the option. */
|
|
22
|
+
value: string;
|
|
23
|
+
/** Optional icon component to display alongside the option. */
|
|
24
|
+
icon?: React.ComponentType<{
|
|
25
|
+
className?: string;
|
|
26
|
+
}>;
|
|
27
|
+
}[];
|
|
28
|
+
/**
|
|
29
|
+
* Callback function triggered when the selected values change.
|
|
30
|
+
* Receives an array of the new selected values.
|
|
31
|
+
*/
|
|
32
|
+
onValueChange: (value: string[]) => void;
|
|
33
|
+
/** The default selected values when the component mounts. */
|
|
34
|
+
defaultValue?: string[];
|
|
35
|
+
/**
|
|
36
|
+
* Placeholder text to be displayed when no values are selected.
|
|
37
|
+
* Optional, defaults to "Select options".
|
|
38
|
+
*/
|
|
39
|
+
placeholder?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Animation duration in seconds for the visual effects (e.g., bouncing badges).
|
|
42
|
+
* Optional, defaults to 0 (no animation).
|
|
43
|
+
*/
|
|
44
|
+
animation?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Maximum number of items to display. Extra selected items will be summarized.
|
|
47
|
+
* Optional, defaults to 3.
|
|
48
|
+
*/
|
|
49
|
+
maxCount?: number;
|
|
50
|
+
/**
|
|
51
|
+
* The modality of the popover. When set to true, interaction with outside elements
|
|
52
|
+
* will be disabled and only popover content will be visible to screen readers.
|
|
53
|
+
* Optional, defaults to false.
|
|
54
|
+
*/
|
|
55
|
+
modalPopover?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* If true, renders the multi-select component as a child of another component.
|
|
58
|
+
* Optional, defaults to false.
|
|
59
|
+
*/
|
|
60
|
+
asChild?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Additional class names to apply custom styles to the multi-select component.
|
|
63
|
+
* Optional, can be used to add custom styles.
|
|
64
|
+
*/
|
|
65
|
+
className?: string;
|
|
66
|
+
}
|
|
67
|
+
export declare const MultiSelect: React.ForwardRefExoticComponent<MultiSelectProps & React.RefAttributes<HTMLButtonElement>>;
|
|
68
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface SaveChangesAlertProps {
|
|
2
|
+
message: string;
|
|
3
|
+
handleRevert: () => void;
|
|
4
|
+
saveChanges: () => Promise<void>;
|
|
5
|
+
onClose?: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const SaveChangesAlert: ({ message, handleRevert, saveChanges, onClose, }: SaveChangesAlertProps) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ThemeToggle(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1,10 @@
|
|
|
1
1
|
export * from './ui';
|
|
2
|
+
export * from './minimal-tiptap';
|
|
3
|
+
export * from './DatePicker';
|
|
4
|
+
export * from './DeleteConfirmationDialog';
|
|
5
|
+
export * from './ErrorPage';
|
|
6
|
+
export * from './LoadingPage';
|
|
7
|
+
export * from './ManagementPageHeader';
|
|
8
|
+
export * from './SaveChangesAlert';
|
|
9
|
+
export * from './UnauthorizedPage';
|
|
10
|
+
export * from './MultiSelect';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Editor } from '@tiptap/react';
|
|
2
|
+
import type { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import type { toggleVariants } from '@/components/ui/toggle';
|
|
4
|
+
interface ImageEditDialogProps extends VariantProps<typeof toggleVariants> {
|
|
5
|
+
editor: Editor;
|
|
6
|
+
}
|
|
7
|
+
declare const ImageEditDialog: ({ editor, size, variant }: ImageEditDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { ImageEditDialog };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface LinkEditorProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
defaultUrl?: string;
|
|
4
|
+
defaultText?: string;
|
|
5
|
+
defaultIsNewTab?: boolean;
|
|
6
|
+
onSave: (url: string, text?: string, isNewTab?: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const LinkEditBlock: React.ForwardRefExoticComponent<LinkEditorProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export default LinkEditBlock;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Editor } from '@tiptap/react';
|
|
2
|
+
import type { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import type { toggleVariants } from '@/components/ui/toggle';
|
|
4
|
+
interface LinkEditPopoverProps extends VariantProps<typeof toggleVariants> {
|
|
5
|
+
editor: Editor;
|
|
6
|
+
}
|
|
7
|
+
declare const LinkEditPopover: ({ editor, size, variant }: LinkEditPopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { LinkEditPopover };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Editor } from '@tiptap/react';
|
|
3
|
+
import type { toggleVariants } from '@/components/ui/toggle';
|
|
4
|
+
import type { VariantProps } from 'class-variance-authority';
|
|
5
|
+
type InsertElementAction = 'codeBlock' | 'blockquote' | 'horizontalRule';
|
|
6
|
+
interface SectionFiveProps extends VariantProps<typeof toggleVariants> {
|
|
7
|
+
editor: Editor;
|
|
8
|
+
activeActions?: InsertElementAction[];
|
|
9
|
+
mainActionCount?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const SectionFive: React.FC<SectionFiveProps>;
|
|
12
|
+
export default SectionFive;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Editor } from '@tiptap/react';
|
|
3
|
+
import type { toggleVariants } from '@/components/ui/toggle';
|
|
4
|
+
import type { VariantProps } from 'class-variance-authority';
|
|
5
|
+
type ListItemAction = 'orderedList' | 'bulletList';
|
|
6
|
+
interface SectionFourProps extends VariantProps<typeof toggleVariants> {
|
|
7
|
+
editor: Editor;
|
|
8
|
+
activeActions?: ListItemAction[];
|
|
9
|
+
mainActionCount?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const SectionFour: React.FC<SectionFourProps>;
|
|
12
|
+
export default SectionFour;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Editor } from '@tiptap/react';
|
|
3
|
+
import type { toggleVariants } from '@/components/ui/toggle';
|
|
4
|
+
import type { VariantProps } from 'class-variance-authority';
|
|
5
|
+
interface SectionMailingPlaceholderProps extends VariantProps<typeof toggleVariants> {
|
|
6
|
+
editor: Editor;
|
|
7
|
+
placeholders: string[];
|
|
8
|
+
}
|
|
9
|
+
export declare const SectionMailingPlaceholders: React.FC<SectionMailingPlaceholderProps>;
|
|
10
|
+
export default SectionMailingPlaceholders;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Editor } from '@tiptap/react';
|
|
3
|
+
import type { Level } from '@tiptap/extension-heading';
|
|
4
|
+
import type { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import type { toggleVariants } from '@/components/ui/toggle';
|
|
6
|
+
interface SectionOneProps extends VariantProps<typeof toggleVariants> {
|
|
7
|
+
editor: Editor;
|
|
8
|
+
activeLevels?: Level[];
|
|
9
|
+
}
|
|
10
|
+
export declare const SectionOne: React.FC<SectionOneProps>;
|
|
11
|
+
export default SectionOne;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Editor } from '@tiptap/react';
|
|
3
|
+
import type { toggleVariants } from '@/components/ui/toggle';
|
|
4
|
+
import type { VariantProps } from 'class-variance-authority';
|
|
5
|
+
interface SectionThreeProps extends VariantProps<typeof toggleVariants> {
|
|
6
|
+
editor: Editor;
|
|
7
|
+
}
|
|
8
|
+
export declare const SectionThree: React.FC<SectionThreeProps>;
|
|
9
|
+
export default SectionThree;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Editor } from '@tiptap/react';
|
|
3
|
+
import type { toggleVariants } from '@/components/ui/toggle';
|
|
4
|
+
import type { VariantProps } from 'class-variance-authority';
|
|
5
|
+
type TextStyleAction = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'code' | 'clearFormatting';
|
|
6
|
+
interface SectionTwoProps extends VariantProps<typeof toggleVariants> {
|
|
7
|
+
editor: Editor;
|
|
8
|
+
activeActions?: TextStyleAction[];
|
|
9
|
+
mainActionCount?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const SectionTwo: React.FC<SectionTwoProps>;
|
|
12
|
+
export default SectionTwo;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { TooltipContentProps } from '@radix-ui/react-tooltip';
|
|
3
|
+
import { Toggle } from '@/components/ui/toggle';
|
|
4
|
+
interface ToolbarButtonProps extends React.ComponentPropsWithoutRef<typeof Toggle> {
|
|
5
|
+
isActive?: boolean;
|
|
6
|
+
tooltip?: string;
|
|
7
|
+
tooltipOptions?: TooltipContentProps;
|
|
8
|
+
}
|
|
9
|
+
export declare const ToolbarButton: React.ForwardRefExoticComponent<ToolbarButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
+
export default ToolbarButton;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Editor } from '@tiptap/react';
|
|
3
|
+
import type { FormatAction } from '../types';
|
|
4
|
+
import type { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import type { toggleVariants } from '@/components/ui/toggle';
|
|
6
|
+
interface ToolbarSectionProps extends VariantProps<typeof toggleVariants> {
|
|
7
|
+
editor: Editor;
|
|
8
|
+
actions: FormatAction[];
|
|
9
|
+
activeActions?: string[];
|
|
10
|
+
mainActionCount?: number;
|
|
11
|
+
dropdownIcon?: React.ReactNode;
|
|
12
|
+
dropdownTooltip?: string;
|
|
13
|
+
dropdownClassName?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const ToolbarSection: React.FC<ToolbarSectionProps>;
|
|
16
|
+
export default ToolbarSection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './code-block-lowlight';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Color: import("@tiptap/core").Extension<import("@tiptap/extension-color").ColorOptions, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './color';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type Editor, Extension } from '@tiptap/react';
|
|
2
|
+
import { PluginKey } from '@tiptap/pm/state';
|
|
3
|
+
import type { FileError, FileValidationOptions } from '../../utils';
|
|
4
|
+
type FileHandlePluginOptions = {
|
|
5
|
+
key?: PluginKey;
|
|
6
|
+
editor: Editor;
|
|
7
|
+
onPaste?: (editor: Editor, files: File[], pasteContent?: string) => void;
|
|
8
|
+
onDrop?: (editor: Editor, files: File[], pos: number) => void;
|
|
9
|
+
onValidationError?: (errors: FileError[]) => void;
|
|
10
|
+
} & FileValidationOptions;
|
|
11
|
+
export declare const FileHandler: Extension<Omit<FileHandlePluginOptions, "key" | "editor">, any>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './horizontal-rule';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface ImageActionsProps {
|
|
3
|
+
shouldMerge?: boolean;
|
|
4
|
+
isLink?: boolean;
|
|
5
|
+
onView?: () => void;
|
|
6
|
+
onDownload?: () => void;
|
|
7
|
+
onCopy?: () => void;
|
|
8
|
+
onCopyLink?: () => void;
|
|
9
|
+
}
|
|
10
|
+
interface ActionButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
11
|
+
icon: React.ReactNode;
|
|
12
|
+
tooltip: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const ActionWrapper: React.MemoExoticComponent<React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>>;
|
|
15
|
+
export declare const ActionButton: React.MemoExoticComponent<React.ForwardRefExoticComponent<ActionButtonProps & React.RefAttributes<HTMLButtonElement>>>;
|
|
16
|
+
export declare const ImageActions: React.FC<ImageActionsProps>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type ResizeDirection = 'left' | 'right';
|
|
2
|
+
export type ElementDimensions = {
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
};
|
|
6
|
+
type HookParams = {
|
|
7
|
+
initialWidth?: number;
|
|
8
|
+
initialHeight?: number;
|
|
9
|
+
contentWidth?: number;
|
|
10
|
+
contentHeight?: number;
|
|
11
|
+
gridInterval: number;
|
|
12
|
+
minWidth: number;
|
|
13
|
+
minHeight: number;
|
|
14
|
+
maxWidth: number;
|
|
15
|
+
onDimensionsChange?: (dimensions: ElementDimensions) => void;
|
|
16
|
+
};
|
|
17
|
+
export declare function useDragResize({ initialWidth, initialHeight, contentWidth, contentHeight, gridInterval, minWidth, minHeight, maxWidth, onDimensionsChange }: HookParams): {
|
|
18
|
+
initiateResize: (direction: ResizeDirection) => (event: React.PointerEvent<HTMLDivElement>) => void;
|
|
19
|
+
isResizing: boolean;
|
|
20
|
+
updateDimensions: import("react").Dispatch<import("react").SetStateAction<ElementDimensions>>;
|
|
21
|
+
currentWidth: number;
|
|
22
|
+
currentHeight: number;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Editor } from '@tiptap/react';
|
|
2
|
+
import type { Node } from '@tiptap/pm/model';
|
|
3
|
+
interface UseImageActionsProps {
|
|
4
|
+
editor: Editor;
|
|
5
|
+
node: Node;
|
|
6
|
+
src: string;
|
|
7
|
+
onViewClick: (value: boolean) => void;
|
|
8
|
+
}
|
|
9
|
+
export type ImageActionHandlers = {
|
|
10
|
+
onView?: () => void;
|
|
11
|
+
onDownload?: () => void;
|
|
12
|
+
onCopy?: () => void;
|
|
13
|
+
onCopyLink?: () => void;
|
|
14
|
+
onRemoveImg?: () => void;
|
|
15
|
+
};
|
|
16
|
+
export declare const useImageActions: ({ editor, node, src, onViewClick }: UseImageActionsProps) => {
|
|
17
|
+
isLink: boolean;
|
|
18
|
+
onView: () => void;
|
|
19
|
+
onDownload: () => void;
|
|
20
|
+
onCopy: () => void;
|
|
21
|
+
onCopyLink: () => void;
|
|
22
|
+
onRemoveImg: () => void;
|
|
23
|
+
};
|
|
24
|
+
export {};
|