@hansevision/tp-richtexteditor-control 1.0.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 +74 -0
- package/dist/errorBoundary/errorBoundary.d.ts +18 -0
- package/dist/errorBoundary/errorService.d.ts +6 -0
- package/dist/errorBoundary/i18n/IErrorBoundaryStrings.d.ts +6 -0
- package/dist/errorBoundary/i18n/de.d.ts +3 -0
- package/dist/errorBoundary/i18n/en.d.ts +3 -0
- package/dist/errorBoundary/i18n/errorBoundaryStrings.d.ts +3 -0
- package/dist/errorBoundary/interfaces/IRepairError.d.ts +8 -0
- package/dist/i18n.d.ts +6 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.esm.js +10690 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +10712 -0
- package/dist/index.js.map +1 -0
- package/dist/richTextEditor/RichTextEditor.d.ts +41 -0
- package/dist/richTextEditor/RichTextEditorContext.d.ts +21 -0
- package/dist/richTextEditor/components/controls/CustomTool.d.ts +9 -0
- package/dist/richTextEditor/components/controls/ImagePickerControl.d.ts +3 -0
- package/dist/richTextEditor/components/controls/VideoPickerControl/ContainsValueChangedObserver.d.ts +1 -0
- package/dist/richTextEditor/components/controls/VideoPickerControl/VideoPickerControl.d.ts +4 -0
- package/dist/richTextEditor/components/controls/handleUpload.d.ts +3 -0
- package/dist/richTextEditor/components/dialogs/progressDialog.d.ts +4 -0
- package/dist/richTextEditor/components/filePicker/common/Constants.d.ts +39 -0
- package/dist/richTextEditor/components/filePicker/common/SPEntities.d.ts +178 -0
- package/dist/richTextEditor/components/filePicker/common/interfaces.d.ts +26 -0
- package/dist/richTextEditor/components/filePicker/components/dragDropFiles/DragDropFiles.d.ts +53 -0
- package/dist/richTextEditor/components/filePicker/components/dragDropFiles/IDragDropFiles.d.ts +28 -0
- package/dist/richTextEditor/components/filePicker/components/dragDropFiles/index.d.ts +2 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldAttachmentsRenderer/FieldAttachmentsRenderer.d.ts +25 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldAttachmentsRenderer/index.d.ts +2 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldBaseTextRenderer/FieldBaseTextRenderer.d.ts +25 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldBaseTextRenderer/index.d.ts +2 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldCommon/IFieldRendererProps.d.ts +15 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldCommon/index.d.ts +1 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldDateRenderer/FieldDateRenderer.d.ts +22 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldDateRenderer/index.d.ts +1 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldFileTypeRenderer/FieldFileTypeRenderer.d.ts +26 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldFileTypeRenderer/index.d.ts +2 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldLookupRenderer/FieldLookupRenderer.d.ts +59 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldLookupRenderer/index.d.ts +2 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldNameRenderer/FieldNameRenderer.d.ts +60 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldNameRenderer/index.d.ts +2 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldTaxonomyRenderer/FieldTaxonomyRenderer.d.ts +23 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldTaxonomyRenderer/index.d.ts +2 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldTextRenderer/FieldTextRenderer.d.ts +35 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldTextRenderer/index.d.ts +2 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldTitleRenderer/FieldTitleRenderer.d.ts +50 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldTitleRenderer/index.d.ts +1 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldUrlRenderer/FieldUrlRenderer.d.ts +31 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldUrlRenderer/index.d.ts +2 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldUserRenderer/FieldUserHoverCard.d.ts +26 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldUserRenderer/FieldUserRenderer.d.ts +103 -0
- package/dist/richTextEditor/components/filePicker/components/fields/fieldUserRenderer/index.d.ts +3 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/FilePicker.d.ts +45 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/FilePicker.themedStyles.d.ts +28 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/FilePicker.types.d.ts +46 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/IFilePickerProps.d.ts +147 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/IFilePickerState.d.ts +7 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/LinkFilePickerTab/ILinkFilePickerTabProps.d.ts +8 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/LinkFilePickerTab/ILinkFilePickerTabState.d.ts +5 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/LinkFilePickerTab/LinkFilePickerTab.d.ts +30 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/LinkFilePickerTab/index.d.ts +3 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/MultipleUploadFilePickerTab/IMultipleUploadFilePickerTabProps.d.ts +5 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/MultipleUploadFilePickerTab/IMultipleUploadFilePickerTabState.d.ts +5 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/MultipleUploadFilePickerTab/MultipleUploadFilePickerTab.d.ts +24 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/MultipleUploadFilePickerTab/MultipleUploadFilePickerTab.themedStyles.d.ts +9 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/MultipleUploadFilePickerTab/index.d.ts +3 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/OneDriveFilesTab/IOneDriveFilesTabProps.d.ts +5 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/OneDriveFilesTab/IOneDriveFilesTabState.d.ts +10 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/OneDriveFilesTab/OneDriveFilesTab.d.ts +29 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/OneDriveFilesTab/OneDriveFilesTab.types.d.ts +5 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/OneDriveFilesTab/index.d.ts +3 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/RecentFilesTab/IRecentFilesTabProps.d.ts +5 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/RecentFilesTab/IRecentFilesTabState.d.ts +7 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/RecentFilesTab/RecentFilesTab.d.ts +59 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/RecentFilesTab/RecentFilesTab.themedStyles.d.ts +24 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/RecentFilesTab/index.d.ts +3 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/SiteFilePickerTab/ISiteFilePickerTabProps.d.ts +19 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/SiteFilePickerTab/ISiteFilePickerTabState.d.ts +9 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/SiteFilePickerTab/SiteFilePickerTab.d.ts +36 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/SiteFilePickerTab/index.d.ts +3 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/StockImagesTab/IStockImagesProps.d.ts +8 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/StockImagesTab/StockImageSizeType.d.ts +1 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/StockImagesTab/StockImages.d.ts +17 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/StockImagesTab/StockImagesModel.d.ts +31 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/StockImagesTab/index.d.ts +3 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/UploadFilePickerTab/IUploadFilePickerTabProps.d.ts +5 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/UploadFilePickerTab/IUploadFilePickerTabState.d.ts +5 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/UploadFilePickerTab/UploadFilePickerTab.d.ts +20 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/UploadFilePickerTab/UploadFilePickerTab.themedStyles.d.ts +9 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/UploadFilePickerTab/index.d.ts +3 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/WebSearchTab/IWebSearchTabProps.d.ts +7 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/WebSearchTab/IWebSearchTabState.d.ts +12 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/WebSearchTab/WebSearchTab.d.ts +91 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/WebSearchTab/WebSearchTab.themedStyles.d.ts +35 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/WebSearchTab/WebSearchTab.types.d.ts +21 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/WebSearchTab/index.d.ts +4 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/DocumentLibraryBrowser/DocumentLibraryBrowser.d.ts +38 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/DocumentLibraryBrowser/DocumentLibraryBrowser.themedStyles.d.ts +25 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/DocumentLibraryBrowser/IDocumentLibraryBrowserProps.d.ts +7 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/DocumentLibraryBrowser/IDocumentLibraryBrowserState.d.ts +5 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/DocumentLibraryBrowser/index.d.ts +3 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/DocumentTile/DocumentTile.d.ts +5 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/DocumentTile/IDocumentTileProps.d.ts +12 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/DocumentTile/index.d.ts +2 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/FileBrowser/FileBrowser.d.ts +56 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/FileBrowser/FileBrowser.types.d.ts +1 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/FileBrowser/IFileBrowserProps.d.ts +11 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/FileBrowser/IFileBrowserState.d.ts +17 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/FileBrowser/index.d.ts +4 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/FolderTile/FolderTile.d.ts +5 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/FolderTile/FolderTile.themedStyles.d.ts +6 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/FolderTile/IFolderTileProps.d.ts +10 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/FolderTile/index.d.ts +2 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/TilesList/ITilesListProps.d.ts +13 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/TilesList/TilesList.d.ts +30 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/TilesList/TilesList.themedStyles.d.ts +32 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/TilesList/index.d.ts +2 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/controls/index.d.ts +2 -0
- package/dist/richTextEditor/components/filePicker/components/filePicker/index.d.ts +4 -0
- package/dist/richTextEditor/components/filePicker/components/fileTypeIcon/FileTypeIcon.d.ts +44 -0
- package/dist/richTextEditor/components/filePicker/components/fileTypeIcon/IFileTypeIcon.d.ts +88 -0
- package/dist/richTextEditor/components/filePicker/components/fileTypeIcon/index.d.ts +2 -0
- package/dist/richTextEditor/components/filePicker/components/iFrameDialog/IFrameDialog.d.ts +78 -0
- package/dist/richTextEditor/components/filePicker/components/iFrameDialog/IFrameDialogContent.d.ts +17 -0
- package/dist/richTextEditor/components/filePicker/components/iFrameDialog/index.d.ts +3 -0
- package/dist/richTextEditor/components/filePicker/components/placeholder/IPlaceholderComponent.d.ts +41 -0
- package/dist/richTextEditor/components/filePicker/components/placeholder/PlaceholderComponent.d.ts +44 -0
- package/dist/richTextEditor/components/filePicker/components/placeholder/PlaceholderComponent.themedStyles.d.ts +16 -0
- package/dist/richTextEditor/components/filePicker/components/placeholder/index.d.ts +2 -0
- package/dist/richTextEditor/components/filePicker/index.d.ts +1 -0
- package/dist/richTextEditor/components/filePicker/services/FileBrowserService.d.ts +71 -0
- package/dist/richTextEditor/components/filePicker/services/FileBrowserService.types.d.ts +33 -0
- package/dist/richTextEditor/components/filePicker/services/FilesSearchService.d.ts +45 -0
- package/dist/richTextEditor/components/filePicker/services/FilesSearchService.types.d.ts +62 -0
- package/dist/richTextEditor/components/filePicker/services/IOneDriveService.d.ts +230 -0
- package/dist/richTextEditor/components/filePicker/services/OneDriveService.d.ts +38 -0
- package/dist/richTextEditor/components/filePicker/services/OrgAssetsService.d.ts +10 -0
- package/dist/richTextEditor/components/filePicker/utilities/FieldRendererHelper.d.ts +17 -0
- package/dist/richTextEditor/components/filePicker/utilities/GeneralHelper.d.ts +78 -0
- package/dist/richTextEditor/components/filePicker/utilities/LocalesHelper.d.ts +5 -0
- package/dist/richTextEditor/components/filePicker/utilities/SPHelper.d.ts +67 -0
- package/dist/richTextEditor/components/filePicker/utilities/index.d.ts +4 -0
- package/dist/richTextEditor/components/filePicker/utilities/utils.d.ts +3 -0
- package/dist/richTextEditor/components/hooks/useRange.d.ts +6 -0
- package/dist/richTextEditor/components/richTextEditor/RichTextEditorInner.d.ts +1 -0
- package/dist/richTextEditor/components/richTextEditor/rteContextProvider.d.ts +19 -0
- package/dist/richTextEditor/components/syncfusion/SyncFusionProvider.d.ts +7 -0
- package/dist/richTextEditor/components/syncfusion/licenseKey.d.ts +4 -0
- package/dist/richTextEditor/components/syncfusion/syncfusionRichText.d.ts +22 -0
- package/dist/richTextEditor/components/syncfusion/syncfusionSetup.d.ts +1 -0
- package/dist/richTextEditor/i18n/IRteStrings.d.ts +142 -0
- package/dist/richTextEditor/i18n/de.d.ts +3 -0
- package/dist/richTextEditor/i18n/en.d.ts +3 -0
- package/dist/richTextEditor/i18n/rteStrings.d.ts +3 -0
- package/dist/richTextEditor/themeProvider.d.ts +6 -0
- package/package.json +71 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { RichTextEditorComponent } from '@syncfusion/ej2-react-richtexteditor';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IReplaceData {
|
|
4
|
+
type: 'video' | 'embed' | 'image';
|
|
5
|
+
element: HTMLElement;
|
|
6
|
+
src: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IRteContext {
|
|
9
|
+
replaceData: IReplaceData;
|
|
10
|
+
setReplaceData: (data: IReplaceData) => void;
|
|
11
|
+
rte: RichTextEditorComponent;
|
|
12
|
+
setRte: (rte: RichTextEditorComponent) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const RteContext: React.Context<IRteContext>;
|
|
15
|
+
interface RTEContextProviderProps {
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
export declare const RTEContextProvider: React.FC<RTEContextProviderProps>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IToolbarItems } from '@syncfusion/ej2-react-richtexteditor';
|
|
2
|
+
interface IProps {
|
|
3
|
+
value?: string;
|
|
4
|
+
onChange?: (newValue: string) => void;
|
|
5
|
+
onContainsValueChanged?: (containsValue: boolean) => void;
|
|
6
|
+
editMode?: boolean;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
setFocus?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
beforeQuickToolbarOpen?: (args: {
|
|
13
|
+
targetElement: HTMLElement;
|
|
14
|
+
}) => void;
|
|
15
|
+
customTools?: {
|
|
16
|
+
main?: IToolbarItems[];
|
|
17
|
+
image?: IToolbarItems[];
|
|
18
|
+
video?: IToolbarItems[];
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export default function SyncFusionRichText({ value, onChange, editMode, placeholder, setFocus, className, disabled, customTools, beforeQuickToolbarOpen, onContainsValueChanged, }: IProps): JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function setupSyncfusion(): void;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
export interface IDateTimeStrings {
|
|
2
|
+
L_RelativeDateTime_AFewSecondsFuture: string;
|
|
3
|
+
L_RelativeDateTime_AFewSeconds: string;
|
|
4
|
+
L_RelativeDateTime_AboutAMinuteFuture: string;
|
|
5
|
+
L_RelativeDateTime_AboutAMinute: string;
|
|
6
|
+
L_RelativeDateTime_XMinutesFuture: string;
|
|
7
|
+
L_RelativeDateTime_XMinutes: string;
|
|
8
|
+
L_RelativeDateTime_XMinutesFutureIntervals: string;
|
|
9
|
+
L_RelativeDateTime_XMinutesIntervals: string;
|
|
10
|
+
L_RelativeDateTime_AboutAnHourFuture: string;
|
|
11
|
+
L_RelativeDateTime_AboutAnHour: string;
|
|
12
|
+
L_RelativeDateTime_Tomorrow: string;
|
|
13
|
+
L_RelativeDateTime_Yesterday: string;
|
|
14
|
+
L_RelativeDateTime_TomorrowAndTime: string;
|
|
15
|
+
L_RelativeDateTime_YesterdayAndTime: string;
|
|
16
|
+
L_RelativeDateTime_XHoursFuture: string;
|
|
17
|
+
L_RelativeDateTime_XHours: string;
|
|
18
|
+
L_RelativeDateTime_XHoursFutureIntervals: string;
|
|
19
|
+
L_RelativeDateTime_XHoursIntervals: string;
|
|
20
|
+
L_RelativeDateTime_DayAndTime: string;
|
|
21
|
+
L_RelativeDateTime_XDaysFuture: string;
|
|
22
|
+
L_RelativeDateTime_XDays: string;
|
|
23
|
+
L_RelativeDateTime_XDaysFutureIntervals: string;
|
|
24
|
+
L_RelativeDateTime_XDaysIntervals: string;
|
|
25
|
+
L_RelativeDateTime_Today: string;
|
|
26
|
+
}
|
|
27
|
+
export interface IRteStrings {
|
|
28
|
+
SyncFusionRichTextCulture: string;
|
|
29
|
+
ProgressDialog: {
|
|
30
|
+
FileIsBeingUploadedTitle: string;
|
|
31
|
+
FileIsBeingUploadedSubTitle: string;
|
|
32
|
+
};
|
|
33
|
+
CustomToolItems: {
|
|
34
|
+
ImagePickerToolTip: string;
|
|
35
|
+
VideoPickerToolTip: string;
|
|
36
|
+
ImageReplacePickerToolTip: string;
|
|
37
|
+
VideoReplacePickerToolTip: string;
|
|
38
|
+
};
|
|
39
|
+
ControlDialog: {
|
|
40
|
+
ImageLabel: string;
|
|
41
|
+
VideoLabel: string;
|
|
42
|
+
ReplaceImageLabel: string;
|
|
43
|
+
ReplaceVideoLabel: string;
|
|
44
|
+
BrowseButtonLabel: string;
|
|
45
|
+
DropImageHere: string;
|
|
46
|
+
DropVideoHere: string;
|
|
47
|
+
WebLinkMessage: string;
|
|
48
|
+
EmbeddedChoice: string;
|
|
49
|
+
WebChoice: string;
|
|
50
|
+
PasteUrlHere: string;
|
|
51
|
+
PasteEmbeddedCodeHere: string;
|
|
52
|
+
Insert: string;
|
|
53
|
+
Cancel: string;
|
|
54
|
+
};
|
|
55
|
+
DateTime: IDateTimeStrings;
|
|
56
|
+
SendEmailTo: string;
|
|
57
|
+
StartChatWith: string;
|
|
58
|
+
Contact: string;
|
|
59
|
+
UpdateProfile: string;
|
|
60
|
+
CancelButtonLabel: string;
|
|
61
|
+
AddFileButtonLabel: string;
|
|
62
|
+
ChangeFileLinkLabel: string;
|
|
63
|
+
ChooseFileLinkLabel: string;
|
|
64
|
+
CopyrightUrl: string;
|
|
65
|
+
CopyrightWarning: string;
|
|
66
|
+
CreativeCommonsMessage: string;
|
|
67
|
+
DateFormat: string;
|
|
68
|
+
DocumentLabelTemplate: string;
|
|
69
|
+
DocumentLibraries: string;
|
|
70
|
+
EditedByNamePlate: string;
|
|
71
|
+
EmptyFileSize: string;
|
|
72
|
+
FilePickerHeader: string;
|
|
73
|
+
FileSizeField: string;
|
|
74
|
+
FolderAltText: string;
|
|
75
|
+
FolderBackPlate: string;
|
|
76
|
+
FolderFrontPlate: string;
|
|
77
|
+
FolderIconUrl: string;
|
|
78
|
+
FolderLabelTemplate: string;
|
|
79
|
+
FromLinkLinkLabel: string;
|
|
80
|
+
ImageAltText: string;
|
|
81
|
+
ImageAriaLabelTemplate: string;
|
|
82
|
+
LayoutOptionAll: string;
|
|
83
|
+
LayoutOptionSquare: string;
|
|
84
|
+
LayoutOptionTall: string;
|
|
85
|
+
LayoutOptionWide: string;
|
|
86
|
+
LearnMoreLink: string;
|
|
87
|
+
LicenseOptionAll: string;
|
|
88
|
+
LicenseOptionAny: string;
|
|
89
|
+
LinkFileInstructions: string;
|
|
90
|
+
LinkHeader: string;
|
|
91
|
+
ListLayoutAriaLabel: string;
|
|
92
|
+
ListLayoutCompact: string;
|
|
93
|
+
ListLayoutCompactDescription: string;
|
|
94
|
+
ListLayoutList: string;
|
|
95
|
+
ListLayoutListDescrition: string;
|
|
96
|
+
ListLayoutTile: string;
|
|
97
|
+
ListLayoutTileDescription: string;
|
|
98
|
+
ListOptionsAlt: string;
|
|
99
|
+
ListOptionsTitle: string;
|
|
100
|
+
Loading: string;
|
|
101
|
+
ModifiedByField: string;
|
|
102
|
+
ModifiedField: string;
|
|
103
|
+
NameField: string;
|
|
104
|
+
No: string;
|
|
105
|
+
ProvidedValueIsInvalid: string;
|
|
106
|
+
NoExternalLinksValidationMessage: string;
|
|
107
|
+
NoRecentFiles: string;
|
|
108
|
+
NoRecentFilesDescription: string;
|
|
109
|
+
NoResultsBadEnglish: string;
|
|
110
|
+
ODPhotoIconUrl: string;
|
|
111
|
+
OneDriveEmptyFolderAlt: string;
|
|
112
|
+
OneDriveEmptyFolderDescription: string;
|
|
113
|
+
OneDriveEmptyFolderIconUrl: string;
|
|
114
|
+
OneDriveEmptyFolderTitle: string;
|
|
115
|
+
OneDriveRootFolderName: string;
|
|
116
|
+
OpenButtonLabel: string;
|
|
117
|
+
PhotoIconUrl: string;
|
|
118
|
+
OrgAssetsTabLabel: string;
|
|
119
|
+
PoweredByBing: string;
|
|
120
|
+
RecentDocumentsHeader: string;
|
|
121
|
+
RecentLinkLabel: string;
|
|
122
|
+
SearchBoxPlaceholder: string;
|
|
123
|
+
SearchResultAlt: string;
|
|
124
|
+
SearchResultAriaLabel: string;
|
|
125
|
+
Selected: string;
|
|
126
|
+
SiteLinkLabel: string;
|
|
127
|
+
SizeOptionAll: string;
|
|
128
|
+
SizeOptionExtraLarge: string;
|
|
129
|
+
SizeOptionLarge: string;
|
|
130
|
+
SizeOptionMedium: string;
|
|
131
|
+
SizeOptionSmall: string;
|
|
132
|
+
SizeUnit: string[];
|
|
133
|
+
SortedAscending: string;
|
|
134
|
+
SortedDescending: string;
|
|
135
|
+
TypeAriaLabel: string;
|
|
136
|
+
UploadFileHeader: string;
|
|
137
|
+
UploadLinkLabel: string;
|
|
138
|
+
WebSearchLinkLabel: string;
|
|
139
|
+
StockImagesLinkLabel: string;
|
|
140
|
+
OrgAssetsLinkLabel: string;
|
|
141
|
+
ListItemAttachmentslPlaceHolderButtonLabel: string;
|
|
142
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
/** The SP theme palette resolved at module load time. Used by themedStyles helpers. */
|
|
3
|
+
export declare const spPalette: Partial<import("@fluentui/react").IPalette>;
|
|
4
|
+
export declare const Fluent8ThemeProvider: React.FC<{
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}>;
|
package/package.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hansevision/tp-richtexteditor-control",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "This package provides a reusable rich text editor control for internal usage in HV components.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.esm.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"scripts": {
|
|
13
|
+
"clean": "rimraf dist",
|
|
14
|
+
"build": "rollup -c rollup.config.mjs",
|
|
15
|
+
"build:watch": "rollup -c rollup.config.mjs --watch",
|
|
16
|
+
"prebuild": "npm run clean",
|
|
17
|
+
"package": "npm pack"
|
|
18
|
+
},
|
|
19
|
+
"author": "HanseVision",
|
|
20
|
+
"license": "UNLICENSED",
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"@fluentui/react": ">=8.0.0",
|
|
23
|
+
"@microsoft/sp-webpart-base": ">=1.4.0",
|
|
24
|
+
"@pnp/sp": ">=1.3.0",
|
|
25
|
+
"@syncfusion/ej2-base": ">=29.0.0",
|
|
26
|
+
"@syncfusion/ej2-react-richtexteditor": ">=29.0.0",
|
|
27
|
+
"react": ">=16.8.0",
|
|
28
|
+
"react-dom": ">=16.8.0",
|
|
29
|
+
"rxjs": ">=6.0.0"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@babel/core": "^7.29.0",
|
|
33
|
+
"@babel/preset-env": "^7.29.0",
|
|
34
|
+
"@fluentui/react": "8.122.1",
|
|
35
|
+
"@microsoft/sp-core-library": "~1.4.0",
|
|
36
|
+
"@microsoft/sp-listview-extensibility": "~1.4.0",
|
|
37
|
+
"@microsoft/sp-webpart-base": "~1.4.0",
|
|
38
|
+
"@pnp/sp": "^1.3.11",
|
|
39
|
+
"@rollup/plugin-babel": "^6.1.0",
|
|
40
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
41
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
42
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
43
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
44
|
+
"@syncfusion/ej2-base": "29.1.33",
|
|
45
|
+
"@syncfusion/ej2-react-richtexteditor": "29.1.34",
|
|
46
|
+
"@types/react": "^18.3.1",
|
|
47
|
+
"@types/react-dom": "^18.3.1",
|
|
48
|
+
"i18next": "^25.8.14",
|
|
49
|
+
"postcss": "^8.4.47",
|
|
50
|
+
"react": "^18.3.1",
|
|
51
|
+
"react-dom": "^18.3.1",
|
|
52
|
+
"rimraf": "^5.0.10",
|
|
53
|
+
"rollup": "^3.29.5",
|
|
54
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
55
|
+
"rxjs": "^7.5.4",
|
|
56
|
+
"sass": "^1.83.0",
|
|
57
|
+
"tslib": "^2.8.1",
|
|
58
|
+
"typescript": "^5.7.2"
|
|
59
|
+
},
|
|
60
|
+
"keywords": [
|
|
61
|
+
"spfx",
|
|
62
|
+
"sharepoint",
|
|
63
|
+
"react",
|
|
64
|
+
"RichTextEditor",
|
|
65
|
+
"component",
|
|
66
|
+
"Syncfusion"
|
|
67
|
+
],
|
|
68
|
+
"volta": {
|
|
69
|
+
"node": "16.20.2"
|
|
70
|
+
}
|
|
71
|
+
}
|