@g1cloud/bluesea 5.0.0-beta.8 → 6.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/bin/install-claude-skill.mjs +74 -0
- package/css/bluesea.css +12 -30478
- package/dist/index.d.ts +10 -130
- package/dist/index.js +13 -0
- package/package.json +41 -59
- package/skills/bluesea-ui/SKILL.md +345 -0
- package/skills/bluesea-ui/references/components.md +196 -0
- package/skills/bluesea-ui/references/grid.md +159 -0
- package/skills/bluesea-ui/references/i18n.md +149 -0
- package/skills/bluesea-ui/references/validation.md +178 -0
- package/css/frame-default.css +0 -703
- package/dist/BSAlertModal-C8PIj5h_.js +0 -52
- package/dist/BSGridColumnSettingModal-D9CI-F_e.js +0 -149
- package/dist/BSRichTextMaximizedModal-DsSYqgSR.js +0 -62
- package/dist/BSYesNoModal-CB_RIKt0.js +0 -57
- package/dist/BSYoutubeInputModal-CwLcWtEI.js +0 -76
- package/dist/ImageInsertModal-lWQeIMu7.js +0 -106
- package/dist/ImageProperties.vue_vue_type_script_setup_true_lang-DDj0Odaa.js +0 -180
- package/dist/ImagePropertiesModal-C6RyT5B5.js +0 -98
- package/dist/LinkPropertiesModal-D5A3Gq2i.js +0 -119
- package/dist/TableInsertModal-B1F5T8qs.js +0 -74
- package/dist/TablePropertiesModal-DUiHSjcT.js +0 -353
- package/dist/VideoInsertModal-R0Bs5E2T.js +0 -106
- package/dist/VideoProperties.vue_vue_type_script_setup_true_lang-BCTNqg94.js +0 -194
- package/dist/VideoPropertiesModal-DQADTS-J.js +0 -98
- package/dist/YoutubeInsertModal-R97l6ge3.js +0 -84
- package/dist/YoutubeProperties.vue_vue_type_script_setup_true_lang-Ce9a5UDA.js +0 -181
- package/dist/YoutubePropertiesModal-BbrU7l5m.js +0 -102
- package/dist/bluesea.css +0 -11278
- package/dist/bluesea.js +0 -223
- package/dist/bluesea.umd.cjs +0 -72221
- package/dist/component/basic/BSButton.vue.d.ts +0 -50
- package/dist/component/basic/BSCalendar.vue.d.ts +0 -68
- package/dist/component/basic/BSCalendarRange.vue.d.ts +0 -57
- package/dist/component/basic/BSConsole.vue.d.ts +0 -36
- package/dist/component/basic/BSDate.vue.d.ts +0 -19
- package/dist/component/basic/BSFormLabel.vue.d.ts +0 -19
- package/dist/component/basic/BSImage.vue.d.ts +0 -44
- package/dist/component/basic/BSLink.vue.d.ts +0 -21
- package/dist/component/basic/BSLoadingIcon.vue.d.ts +0 -2
- package/dist/component/basic/BSPageNavigation.vue.d.ts +0 -52
- package/dist/component/basic/BSPopup.vue.d.ts +0 -70
- package/dist/component/basic/BSPopupButton.vue.d.ts +0 -41
- package/dist/component/basic/BSProgressBar.vue.d.ts +0 -33
- package/dist/component/basic/BSTooltip.vue.d.ts +0 -35
- package/dist/component/global/AddressSearchButton.vue.d.ts +0 -36
- package/dist/component/global/AddressSearchList.gen.d.ts +0 -4
- package/dist/component/global/BSAddressInput.vue.d.ts +0 -72
- package/dist/component/global/BSLocaleSelect.vue.d.ts +0 -35
- package/dist/component/global/BSNameInput.vue.d.ts +0 -80
- package/dist/component/global/BSTelInput.vue.d.ts +0 -88
- package/dist/component/grid/BSDateRangeFilter.vue.d.ts +0 -63
- package/dist/component/grid/BSDateRangeFilters.vue.d.ts +0 -56
- package/dist/component/grid/BSGrid.vue.d.ts +0 -177
- package/dist/component/grid/BSGridCell.vue.d.ts +0 -85
- package/dist/component/grid/BSGridCellCheckbox.vue.d.ts +0 -21
- package/dist/component/grid/BSGridCellDragHandle.vue.d.ts +0 -15
- package/dist/component/grid/BSGridCellEdit.vue.d.ts +0 -21
- package/dist/component/grid/BSGridCellSerialNo.vue.d.ts +0 -15
- package/dist/component/grid/BSGridColumnSettingModal.vue.d.ts +0 -25
- package/dist/component/grid/BSGridControl.vue.d.ts +0 -78
- package/dist/component/grid/BSGridHeaderCell.vue.d.ts +0 -45
- package/dist/component/grid/BSGridHeaderCellCheckbox.vue.d.ts +0 -19
- package/dist/component/grid/BSGridHeaderCellResizeHandle.vue.d.ts +0 -21
- package/dist/component/grid/BSGridHeaderCellSerialNo.vue.d.ts +0 -2
- package/dist/component/grid/BSGridLookup.vue.d.ts +0 -67
- package/dist/component/grid/BSGridRow.vue.d.ts +0 -140
- package/dist/component/grid/BSTextFilter.vue.d.ts +0 -42
- package/dist/component/grid/DateFilterModel.d.ts +0 -19
- package/dist/component/grid/GridExtension.d.ts +0 -17
- package/dist/component/grid/GridLib.d.ts +0 -21
- package/dist/component/grid/GridModel.d.ts +0 -399
- package/dist/component/grid/extension/gridExcelDownloadExtension.d.ts +0 -22
- package/dist/component/grid/vDndSupport.d.ts +0 -18
- package/dist/component/input/BSCheckbox.vue.d.ts +0 -63
- package/dist/component/input/BSCheckboxGroup.vue.d.ts +0 -79
- package/dist/component/input/BSCodeEditor.vue.d.ts +0 -73
- package/dist/component/input/BSColorInput.vue.d.ts +0 -68
- package/dist/component/input/BSDateInput.vue.d.ts +0 -90
- package/dist/component/input/BSDateInputPopup.vue.d.ts +0 -41
- package/dist/component/input/BSDateRange.vue.d.ts +0 -113
- package/dist/component/input/BSDateRangeInputPopup.vue.d.ts +0 -45
- package/dist/component/input/BSDateRangePresets.vue.d.ts +0 -40
- package/dist/component/input/BSHtmlEditor.vue.d.ts +0 -64
- package/dist/component/input/BSImageUpload.vue.d.ts +0 -118
- package/dist/component/input/BSMediaPreview.vue.d.ts +0 -55
- package/dist/component/input/BSMultiImageUpload.vue.d.ts +0 -108
- package/dist/component/input/BSMultiSelect.vue.d.ts +0 -91
- package/dist/component/input/BSNumberInput.vue.d.ts +0 -91
- package/dist/component/input/BSPopupSelect.vue.d.ts +0 -54
- package/dist/component/input/BSPositionedImageUpload.vue.d.ts +0 -97
- package/dist/component/input/BSPriceInput.vue.d.ts +0 -91
- package/dist/component/input/BSRadioButton.vue.d.ts +0 -72
- package/dist/component/input/BSRadioButtonGroup.vue.d.ts +0 -86
- package/dist/component/input/BSSelect.vue.d.ts +0 -95
- package/dist/component/input/BSSelectPopup.vue.d.ts +0 -87
- package/dist/component/input/BSTextArea.vue.d.ts +0 -88
- package/dist/component/input/BSTextInput.vue.d.ts +0 -100
- package/dist/component/input/BSTreeMultiSelect.vue.d.ts +0 -89
- package/dist/component/input/BSTreeSelect.vue.d.ts +0 -90
- package/dist/component/input/BSYesNoGroup.vue.d.ts +0 -55
- package/dist/component/input/BSYesNoSelect.vue.d.ts +0 -51
- package/dist/component/input/BSYoutubeInputModal.vue.d.ts +0 -6
- package/dist/component/input/DateInputLib.d.ts +0 -27
- package/dist/component/input/DateRangePresetModel.d.ts +0 -16
- package/dist/component/input/HtmlEditorModel.d.ts +0 -5
- package/dist/component/input/ImageUploadLib.d.ts +0 -22
- package/dist/component/input/ImageUploadModel.d.ts +0 -12
- package/dist/component/input/ValidationErrors.vue.d.ts +0 -19
- package/dist/component/input/vDragAndDropSupport.d.ts +0 -10
- package/dist/component/layout/BSCardLayout.vue.d.ts +0 -41
- package/dist/component/layout/BSHorizontalLayoutResizer.vue.d.ts +0 -6
- package/dist/component/layout/BSListControl.vue.d.ts +0 -52
- package/dist/component/layout/BSListLayout.vue.d.ts +0 -85
- package/dist/component/layout/BSListLayoutItem.vue.d.ts +0 -82
- package/dist/component/layout/BSTabSheet.vue.d.ts +0 -63
- package/dist/component/layout/BSVerticalLayoutResizer.vue.d.ts +0 -6
- package/dist/component/layout/SlideDownTransition.vue.d.ts +0 -9
- package/dist/component/layout/TabSheetModel.d.ts +0 -49
- package/dist/component/multilang/BSMultiLangExpandButton.vue.d.ts +0 -2
- package/dist/component/multilang/BSMultiLangHtmlEditor.vue.d.ts +0 -84
- package/dist/component/multilang/BSMultiLangImageUpload.vue.d.ts +0 -81
- package/dist/component/multilang/BSMultiLangRichText.vue.d.ts +0 -93
- package/dist/component/multilang/BSMultiLangTextArea.vue.d.ts +0 -96
- package/dist/component/multilang/BSMultiLangTextInput.vue.d.ts +0 -96
- package/dist/component/multilang/multiLangLib.d.ts +0 -6
- package/dist/component/richtext/BSRichText.vue.d.ts +0 -90
- package/dist/component/richtext/BSRichTextMaximizedModal.vue.d.ts +0 -74
- package/dist/component/richtext/RichTextLib.d.ts +0 -15
- package/dist/component/richtext/RichTextModel.d.ts +0 -9
- package/dist/component/richtext/RichTextToolbar.vue.d.ts +0 -36
- package/dist/component/richtext/image/ImageInsertModal.vue.d.ts +0 -22
- package/dist/component/richtext/image/ImageProperties.vue.d.ts +0 -19
- package/dist/component/richtext/image/ImagePropertiesModal.vue.d.ts +0 -17
- package/dist/component/richtext/image/RichTextImage.d.ts +0 -7
- package/dist/component/richtext/image/RichTextImageLib.d.ts +0 -13
- package/dist/component/richtext/image/ToolButtonImage.vue.d.ts +0 -19
- package/dist/component/richtext/link/LinkPropertiesModal.vue.d.ts +0 -17
- package/dist/component/richtext/link/ToolButtonLink.vue.d.ts +0 -19
- package/dist/component/richtext/richTextUtil.d.ts +0 -18
- package/dist/component/richtext/table/RichTextTable.d.ts +0 -8
- package/dist/component/richtext/table/RichTextTableCell.d.ts +0 -1
- package/dist/component/richtext/table/RichTextTableLib.d.ts +0 -23
- package/dist/component/richtext/table/RichTextTableView.d.ts +0 -19
- package/dist/component/richtext/table/TableInsertModal.vue.d.ts +0 -17
- package/dist/component/richtext/table/TablePropertiesModal.vue.d.ts +0 -17
- package/dist/component/richtext/table/ToolButtonTable.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonFontColor.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonFontSize.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonFontStyle.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonHeading.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonListItem.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonMaximize.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonTextAlign.vue.d.ts +0 -19
- package/dist/component/richtext/video/RichTextVideo.d.ts +0 -29
- package/dist/component/richtext/video/RichTextVideoLib.d.ts +0 -16
- package/dist/component/richtext/video/ToolButtonVideo.vue.d.ts +0 -19
- package/dist/component/richtext/video/VideoInsertModal.vue.d.ts +0 -22
- package/dist/component/richtext/video/VideoProperties.vue.d.ts +0 -19
- package/dist/component/richtext/video/VideoPropertiesModal.vue.d.ts +0 -17
- package/dist/component/richtext/youtube/RichTextYoutube.d.ts +0 -8
- package/dist/component/richtext/youtube/RichTextYoutubeLib.d.ts +0 -14
- package/dist/component/richtext/youtube/ToolButtonYoutube.vue.d.ts +0 -19
- package/dist/component/richtext/youtube/YoutubeInsertModal.vue.d.ts +0 -17
- package/dist/component/richtext/youtube/YoutubeProperties.vue.d.ts +0 -19
- package/dist/component/richtext/youtube/YoutubePropertiesModal.vue.d.ts +0 -17
- package/dist/component/tree/BSTree.vue.d.ts +0 -104
- package/dist/component/tree/BSTreeControl.vue.d.ts +0 -90
- package/dist/component/tree/BSTreeRow.vue.d.ts +0 -89
- package/dist/component/tree/TreeLib.d.ts +0 -11
- package/dist/component/tree/TreeModel.d.ts +0 -188
- package/dist/component/tree/vTreeDndSupport.d.ts +0 -10
- package/dist/config/config.d.ts +0 -155
- package/dist/contextmenu/BSContextMenu.vue.d.ts +0 -43
- package/dist/contextmenu/BSContextMenuContainer.vue.d.ts +0 -2
- package/dist/contextmenu/contextMenuPlugin.d.ts +0 -43
- package/dist/directive/vClickOutside.d.ts +0 -21
- package/dist/directive/vFocusJump.d.ts +0 -19
- package/dist/directive/vFocusLoop.d.ts +0 -25
- package/dist/directive/vFocusOnLoad.d.ts +0 -4
- package/dist/directive/vT.d.ts +0 -11
- package/dist/directive/vTooltip.d.ts +0 -9
- package/dist/frame/FrameModel.d.ts +0 -82
- package/dist/frame/ShortcutKeyHandler.d.ts +0 -37
- package/dist/frame/default/DefaultBody.vue.d.ts +0 -2
- package/dist/frame/default/DefaultFrameModel.d.ts +0 -107
- package/dist/frame/default/DefaultHeader.vue.d.ts +0 -23
- package/dist/frame/default/HeaderTab.vue.d.ts +0 -17
- package/dist/frame/default/HeaderTabListButton.vue.d.ts +0 -2
- package/dist/frame/default/HeaderTabs.vue.d.ts +0 -15
- package/dist/frame/default/SidebarMenu.vue.d.ts +0 -2
- package/dist/frame/default/SidebarMenuItem.vue.d.ts +0 -25
- package/dist/frame/default/SidebarMenuLink.vue.d.ts +0 -29
- package/dist/frame/default/SidebarMenuSearch.vue.d.ts +0 -28
- package/dist/index-DRs7QwNQ.js +0 -70174
- package/dist/modal/BSAlertModal.vue.d.ts +0 -23
- package/dist/modal/BSModalContainer.vue.d.ts +0 -2
- package/dist/modal/BSModalFrame.vue.d.ts +0 -37
- package/dist/modal/BSModalWrapper.vue.d.ts +0 -17
- package/dist/modal/BSYesNoModal.vue.d.ts +0 -25
- package/dist/modal/modalPlugin.d.ts +0 -73
- package/dist/model/CommonTypes.d.ts +0 -96
- package/dist/model/DefaultImpl.d.ts +0 -8
- package/dist/model/FieldContext.d.ts +0 -15
- package/dist/model/FilterModel.d.ts +0 -114
- package/dist/model/MoneySerializer.d.ts +0 -3
- package/dist/model/PaginatedList.d.ts +0 -29
- package/dist/model/SearchModel.d.ts +0 -22
- package/dist/notification/BSAlarmFrame.vue.d.ts +0 -26
- package/dist/notification/BSNotificationContainer.vue.d.ts +0 -2
- package/dist/notification/notificationPlugin.d.ts +0 -33
- package/dist/savepoint/SavePoint.d.ts +0 -47
- package/dist/text/i18n.d.ts +0 -28
- package/dist/util/alertUtil.d.ts +0 -1
- package/dist/util/componentUtil.d.ts +0 -40
- package/dist/util/debounceUtil.d.ts +0 -16
- package/dist/util/elementUtil.d.ts +0 -58
- package/dist/util/formatUtil.d.ts +0 -70
- package/dist/util/langUtil.d.ts +0 -3
- package/dist/util/multiLangUtil.d.ts +0 -27
- package/dist/util/routeUtil.d.ts +0 -3
- package/dist/util/typeUtil.d.ts +0 -18
- package/dist/util/waitUtil.d.ts +0 -19
- package/dist/validator/FieldValidator.d.ts +0 -45
- package/dist/validator/FormValidator.d.ts +0 -35
- package/scss/bluesea-base.scss +0 -6
- package/scss/bluesea.scss +0 -2
- package/scss/component.scss +0 -515
- package/scss/font.scss +0 -3
- package/scss/frame/default.scss +0 -293
- package/scss/layout.scss +0 -192
- package/scss/reset.scss +0 -68
- package/scss/rich-text-container.scss +0 -113
- package/scss/rich-text-content.scss +0 -137
- package/scss/transition.scss +0 -108
- package/scss/utility.scss +0 -816
- package/scss/variable.scss +0 -347
- package/text/bluesea_text_en.json +0 -956
- package/text/bluesea_text_fr.json +0 -956
- package/text/bluesea_text_ja.json +0 -956
- package/text/bluesea_text_ko.json +0 -956
- package/text/bluesea_text_zh.json +0 -956
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
import { ToolButton } from './RichTextModel.ts';
|
|
3
|
-
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
editor: Editor;
|
|
6
|
-
disabled?: boolean | undefined;
|
|
7
|
-
toolButtons: ToolButton[];
|
|
8
|
-
maximized?: boolean | undefined;
|
|
9
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
-
maximized: () => void;
|
|
11
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
-
editor: Editor;
|
|
13
|
-
disabled?: boolean | undefined;
|
|
14
|
-
toolButtons: ToolButton[];
|
|
15
|
-
maximized?: boolean | undefined;
|
|
16
|
-
}>>> & Readonly<{
|
|
17
|
-
onMaximized?: (() => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
19
|
-
toolbarPrefix?(_: {}): any;
|
|
20
|
-
toolbarSuffix?(_: {}): any;
|
|
21
|
-
}>;
|
|
22
|
-
export default _default;
|
|
23
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
-
} : {
|
|
28
|
-
type: import('vue').PropType<T[K]>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
-
new (): {
|
|
34
|
-
$slots: S;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
import { ImageInfo } from './RichTextImageLib.ts';
|
|
3
|
-
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
editor: Editor;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
insertImage: (info: ImageInfo) => void;
|
|
8
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
-
editor: Editor;
|
|
10
|
-
}>>> & Readonly<{
|
|
11
|
-
onInsertImage?: ((info: ImageInfo) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ImageInfo } from './RichTextImageLib.ts';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
imageInfo: ImageInfo;
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
imageInfo: ImageInfo;
|
|
8
|
-
disabled: boolean;
|
|
9
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
editor: Editor;
|
|
5
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
editor: Editor;
|
|
7
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BSModal } from '../../../modal/modalPlugin.ts';
|
|
2
|
-
import { Editor } from '@tiptap/vue-3';
|
|
3
|
-
import { MenuItem } from '../../../contextmenu/contextMenuPlugin.ts';
|
|
4
|
-
|
|
5
|
-
export declare const RichTextImage: import('@tiptap/vue-3').Node<import('@tiptap/extension-image').ImageOptions, any>;
|
|
6
|
-
export declare const imageContextMenu: (modal: BSModal, editor: Editor) => MenuItem[];
|
|
7
|
-
export declare const insertImage: (modal: BSModal, editor: Editor) => void;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Selection } from '@tiptap/pm/state';
|
|
2
|
-
import { Node as ProseMirrorNode } from '@tiptap/pm/model';
|
|
3
|
-
import { CommonElementStyle } from '../RichTextLib.ts';
|
|
4
|
-
|
|
5
|
-
export type ImageInfo = CommonElementStyle & {
|
|
6
|
-
src: string;
|
|
7
|
-
alt?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare const findImageNode: (selection: Selection) => {
|
|
10
|
-
node?: ProseMirrorNode;
|
|
11
|
-
nodePos?: number;
|
|
12
|
-
};
|
|
13
|
-
export declare const imageInfoNumberToPixel: (data: ImageInfo) => ImageInfo;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
editor: Editor;
|
|
5
|
-
disabled?: boolean | undefined;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
editor: Editor;
|
|
8
|
-
disabled?: boolean | undefined;
|
|
9
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
editor: Editor;
|
|
5
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
editor: Editor;
|
|
7
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
editor: Editor;
|
|
5
|
-
disabled?: boolean | undefined;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
editor: Editor;
|
|
8
|
-
disabled?: boolean | undefined;
|
|
9
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* style string 을 parsing 해서 Record<string, string> 타입의 attrs 를 만든다.
|
|
3
|
-
*
|
|
4
|
-
* @param style
|
|
5
|
-
* @param candidateNames 후보가 되는 attribute name. camelCase.
|
|
6
|
-
*/
|
|
7
|
-
export declare const parseStyleToAttrs: (style: string, candidateNames: string[]) => {
|
|
8
|
-
[name: string]: string;
|
|
9
|
-
};
|
|
10
|
-
export declare const parseHTMLAttr: (attr: string) => (element: HTMLElement) => string | null;
|
|
11
|
-
export declare const renderHTMLAttr: (attr: string) => (attrs: Record<string, any>) => {
|
|
12
|
-
[x: string]: any;
|
|
13
|
-
} | undefined;
|
|
14
|
-
export declare const parseHTMLStyle: (attr: keyof CSSStyleDeclaration) => (element: HTMLElement) => string | number | ((index: number) => string) | CSSRule | ((property: string) => string) | ((property: string) => string) | ((property: string) => string) | ((property: string, value: string | null, priority?: string | undefined) => void) | null;
|
|
15
|
-
export declare const renderHTMLStyle: (attr: keyof CSSStyleDeclaration, attrName?: string) => (attrs: Record<string, any>) => {
|
|
16
|
-
style: string;
|
|
17
|
-
} | undefined;
|
|
18
|
-
export declare const createStyleString: (attr: Record<string, unknown>, names: string[]) => string;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BSModal } from '../../../modal/modalPlugin.ts';
|
|
2
|
-
import { Editor } from '@tiptap/vue-3';
|
|
3
|
-
import { MenuItem } from '../../../contextmenu/contextMenuPlugin.ts';
|
|
4
|
-
|
|
5
|
-
export declare const RichTextTable: import('@tiptap/vue-3').Node<import('@tiptap/extension-table').TableOptions, any>;
|
|
6
|
-
export declare const tableContextMenus: (modal: BSModal, editor: Editor) => MenuItem[];
|
|
7
|
-
export declare const showTableProperties: (modal: BSModal, editor: Editor) => void;
|
|
8
|
-
export declare const insertTable: (modal: BSModal, editor: Editor) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const RichTextTableCell: import('@tiptap/core').Node<import('@tiptap/extension-table-cell').TableCellOptions, any>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { CommonElementStyle } from '../RichTextLib.ts';
|
|
2
|
-
import { Selection } from '@tiptap/pm/state';
|
|
3
|
-
|
|
4
|
-
export type TableInfo = CommonElementStyle & {
|
|
5
|
-
tableAlign?: string;
|
|
6
|
-
};
|
|
7
|
-
export type TableColumnInfo = {
|
|
8
|
-
width?: string;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Transaction 의 선택된 Node 중에서, table, tableRow, tableCell 에 해당하는 node 와 nodePos 를 찾아 리턴한다.
|
|
12
|
-
* @param selection
|
|
13
|
-
* @param type
|
|
14
|
-
*/
|
|
15
|
-
export declare const findTableNode: (selection: Selection, type: 'table' | 'tableRow' | 'tableCell') => {
|
|
16
|
-
node: import('@tiptap/pm/model').Node;
|
|
17
|
-
nodePos: number;
|
|
18
|
-
} | {
|
|
19
|
-
node?: undefined;
|
|
20
|
-
nodePos?: undefined;
|
|
21
|
-
};
|
|
22
|
-
export declare const tableInfoNumberToPixel: (data: TableInfo) => TableInfo;
|
|
23
|
-
export declare const setTableColumnWidth: (node: any, tablePos: number, colIndex: number, width: string | undefined, tr: any) => void;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Node as ProseMirrorNode } from '@tiptap/pm/model';
|
|
2
|
-
import { EditorView, NodeView } from '@tiptap/pm/view';
|
|
3
|
-
import { DOMNode } from '@tiptap/core';
|
|
4
|
-
|
|
5
|
-
export declare function updateColumns(node: ProseMirrorNode, colgroup: HTMLElement, table: HTMLElement, cellMinWidth: number, overrideCol?: number, overrideValue?: any): void;
|
|
6
|
-
export declare class RichTextTableView implements NodeView {
|
|
7
|
-
node: ProseMirrorNode;
|
|
8
|
-
cellMinWidth: number;
|
|
9
|
-
dom: Element;
|
|
10
|
-
table: HTMLElement;
|
|
11
|
-
colgroup: HTMLElement;
|
|
12
|
-
contentDOM: HTMLElement;
|
|
13
|
-
constructor(node: ProseMirrorNode, cellMinWidth: number, _view: EditorView);
|
|
14
|
-
update(node: ProseMirrorNode): boolean;
|
|
15
|
-
ignoreMutation(mutation: MutationRecord | {
|
|
16
|
-
type: "selection";
|
|
17
|
-
target: DOMNode;
|
|
18
|
-
}): boolean;
|
|
19
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
editor: Editor;
|
|
5
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
editor: Editor;
|
|
7
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
editor: Editor;
|
|
5
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
editor: Editor;
|
|
7
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
editor: Editor;
|
|
5
|
-
disabled?: boolean | undefined;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
editor: Editor;
|
|
8
|
-
disabled?: boolean | undefined;
|
|
9
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
editor: Editor;
|
|
5
|
-
disabled?: boolean | undefined;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
editor: Editor;
|
|
8
|
-
disabled?: boolean | undefined;
|
|
9
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
editor: Editor;
|
|
5
|
-
disabled?: boolean | undefined;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
editor: Editor;
|
|
8
|
-
disabled?: boolean | undefined;
|
|
9
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
disabled?: boolean | undefined;
|
|
5
|
-
editor: Editor;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
disabled?: boolean | undefined;
|
|
8
|
-
editor: Editor;
|
|
9
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
disabled?: boolean | undefined;
|
|
5
|
-
editor: Editor;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
disabled?: boolean | undefined;
|
|
8
|
-
editor: Editor;
|
|
9
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
disabled?: boolean | undefined;
|
|
5
|
-
editor: Editor;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
disabled?: boolean | undefined;
|
|
8
|
-
editor: Editor;
|
|
9
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
maximized?: boolean | undefined;
|
|
3
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
-
maximized: () => void;
|
|
5
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
maximized?: boolean | undefined;
|
|
7
|
-
}>>> & Readonly<{
|
|
8
|
-
onMaximized?: (() => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
disabled?: boolean | undefined;
|
|
5
|
-
editor: Editor;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
disabled?: boolean | undefined;
|
|
8
|
-
editor: Editor;
|
|
9
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { BSModal } from '../../../modal/modalPlugin.ts';
|
|
2
|
-
import { Editor } from '@tiptap/vue-3';
|
|
3
|
-
import { Node } from '@tiptap/core';
|
|
4
|
-
import { MenuItem } from '../../../contextmenu/contextMenuPlugin.ts';
|
|
5
|
-
|
|
6
|
-
export interface VideoOptions {
|
|
7
|
-
inline: boolean;
|
|
8
|
-
HTMLAttributes: Record<string, any>;
|
|
9
|
-
}
|
|
10
|
-
declare module '@tiptap/core' {
|
|
11
|
-
interface Commands<ReturnType> {
|
|
12
|
-
video: {
|
|
13
|
-
/**
|
|
14
|
-
* Add a video
|
|
15
|
-
* @param options The video attributes
|
|
16
|
-
* @example
|
|
17
|
-
* editor
|
|
18
|
-
* .commands
|
|
19
|
-
* .setVideo({ src: 'https://tiptap.dev/logo.mpg'})
|
|
20
|
-
*/
|
|
21
|
-
setVideo: (options: {
|
|
22
|
-
src: string;
|
|
23
|
-
}) => ReturnType;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
export declare const RichTextVideo: Node<VideoOptions, any>;
|
|
28
|
-
export declare const videoContextMenu: (modal: BSModal, editor: Editor) => MenuItem[];
|
|
29
|
-
export declare const insertVideo: (modal: BSModal, editor: Editor) => void;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CommonElementStyle } from '../RichTextLib.ts';
|
|
2
|
-
import { Selection } from '@tiptap/pm/state';
|
|
3
|
-
import { Node as ProseMirrorNode } from '@tiptap/pm/model';
|
|
4
|
-
|
|
5
|
-
export type VideoInfo = CommonElementStyle & {
|
|
6
|
-
src: string;
|
|
7
|
-
controls?: boolean;
|
|
8
|
-
autoplay?: boolean;
|
|
9
|
-
loop?: boolean;
|
|
10
|
-
muted?: boolean;
|
|
11
|
-
};
|
|
12
|
-
export declare const findVideoNode: (selection: Selection) => {
|
|
13
|
-
node?: ProseMirrorNode;
|
|
14
|
-
nodePos?: number;
|
|
15
|
-
};
|
|
16
|
-
export declare const videoInfoNumberToPixel: (data: VideoInfo) => VideoInfo;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
editor: Editor;
|
|
5
|
-
disabled?: boolean | undefined;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
editor: Editor;
|
|
8
|
-
disabled?: boolean | undefined;
|
|
9
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
import { VideoInfo } from './RichTextVideoLib.ts';
|
|
3
|
-
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
editor: Editor;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
insertVideo: (info: VideoInfo) => void;
|
|
8
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
-
editor: Editor;
|
|
10
|
-
}>>> & Readonly<{
|
|
11
|
-
onInsertVideo?: ((info: VideoInfo) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { VideoInfo } from './RichTextVideoLib.ts';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
videoInfo: VideoInfo;
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
videoInfo: VideoInfo;
|
|
8
|
-
disabled: boolean;
|
|
9
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
editor: Editor;
|
|
5
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
editor: Editor;
|
|
7
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BSModal } from '../../../modal/modalPlugin.ts';
|
|
2
|
-
import { Editor } from '@tiptap/vue-3';
|
|
3
|
-
import { MenuItem } from '../../../contextmenu/contextMenuPlugin.ts';
|
|
4
|
-
|
|
5
|
-
export declare const RichTextYoutube: import('@tiptap/vue-3').Node<import('@tiptap/extension-youtube').YoutubeOptions, any>;
|
|
6
|
-
export declare const youtubeContextMenu: (modal: BSModal, editor: Editor) => MenuItem[];
|
|
7
|
-
export declare const insertYoutube: (modal: BSModal, editor: Editor) => void;
|
|
8
|
-
export declare const showYoutubeProperties: (modal: BSModal, editor: Editor) => void;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Selection } from '@tiptap/pm/state';
|
|
2
|
-
import { Node as ProseMirrorNode } from '@tiptap/pm/model';
|
|
3
|
-
import { CommonElementStyle } from '../RichTextLib.ts';
|
|
4
|
-
|
|
5
|
-
export type YoutubeInfo = CommonElementStyle & {
|
|
6
|
-
src: string;
|
|
7
|
-
aspectRatio?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare const findYoutubeNode: (selection: Selection) => {
|
|
10
|
-
node?: ProseMirrorNode;
|
|
11
|
-
nodePos?: number;
|
|
12
|
-
};
|
|
13
|
-
export declare const youtubeInfoNumberToPixel: (data: YoutubeInfo) => YoutubeInfo;
|
|
14
|
-
export declare const normalizeYoutubeInfoData: (data: YoutubeInfo) => YoutubeInfo;
|