@opencloud-eu/web-pkg 6.0.0 → 6.1.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/dist/TextEditor-B0ZZfO_w.js +819 -0
- package/dist/assets/worker-BVTM6bn-.js +1 -0
- package/dist/assets/worker-C-Nrpmiq.js +24 -0
- package/dist/assets/worker-CzI1mBNb.js +24 -0
- package/dist/assets/worker-DDmV-och.js +24 -0
- package/dist/composables-TkULFBg4.js +20165 -0
- package/dist/src/apps/types.d.ts +9 -9
- package/dist/src/components/AppBar/AppBar.vue.d.ts +154 -97
- package/dist/src/components/AppLoadingSpinner.vue.d.ts +2 -1
- package/dist/src/components/AppTemplates/AppWrapper.vue.d.ts +37 -33
- package/dist/src/components/AppTemplates/AppWrapperRoute.d.ts +1 -1
- package/dist/src/components/AppTemplates/PartialViews/ErrorScreen.vue.d.ts +5 -4
- package/dist/src/components/AppTemplates/PartialViews/LoadingScreen.vue.d.ts +2 -1
- package/dist/src/components/AppTopBar.vue.d.ts +13 -4
- package/dist/src/components/Avatars/AvatarUpload.vue.d.ts +3 -4
- package/dist/src/components/Avatars/UserAvatar.vue.d.ts +11 -1
- package/dist/src/components/BatchActions.vue.d.ts +16 -15
- package/dist/src/components/ContextActions/ActionMenuDropItem.vue.d.ts +11 -2
- package/dist/src/components/ContextActions/ActionMenuItem.vue.d.ts +9 -8
- package/dist/src/components/ContextActions/ContextActionMenu.vue.d.ts +41 -22
- package/dist/src/components/ContextActions/ContextMenuQuickAction.vue.d.ts +143 -388
- package/dist/src/components/CreateLinkModal.vue.d.ts +17 -7
- package/dist/src/components/CreateShortcutModal.vue.d.ts +160 -149
- package/dist/src/components/CustomComponentTarget.vue.d.ts +10 -1
- package/dist/src/components/FilesList/ContextActions.vue.d.ts +56 -37
- package/dist/src/components/FilesList/ResourceGhostElement.vue.d.ts +22 -11
- package/dist/src/components/FilesList/ResourceIcon.vue.d.ts +10 -1
- package/dist/src/components/FilesList/ResourceLink.vue.d.ts +7 -6
- package/dist/src/components/FilesList/ResourceListItem.vue.d.ts +13 -4
- package/dist/src/components/FilesList/ResourceName.vue.d.ts +10 -1
- package/dist/src/components/FilesList/ResourceSize.vue.d.ts +6 -5
- package/dist/src/components/FilesList/ResourceStatusIndicators.vue.d.ts +10 -1
- package/dist/src/components/FilesList/ResourceTable.vue.d.ts +51 -154
- package/dist/src/components/FilesList/ResourceTile.vue.d.ts +37 -153
- package/dist/src/components/FilesList/ResourceTiles.vue.d.ts +34 -119
- package/dist/src/components/Filters/DateFilter.vue.d.ts +32 -495
- package/dist/src/components/Filters/ItemFilterInline.vue.d.ts +6 -5
- package/dist/src/components/Groupware/Accounts/AccountsSwitch.vue.d.ts +3 -0
- package/dist/src/components/Groupware/Accounts/index.d.ts +1 -0
- package/dist/src/components/Groupware/index.d.ts +1 -0
- package/dist/src/components/ItemFilter.vue.d.ts +19 -204
- package/dist/src/components/ItemFilterToggle.vue.d.ts +6 -5
- package/dist/src/components/LinkRoleDropdown.vue.d.ts +7 -6
- package/dist/src/components/LoadingIndicator.vue.d.ts +5 -4
- package/dist/src/components/Modals/DatePickerModal.vue.d.ts +8 -7
- package/dist/src/components/Modals/EmojiPickerModal.vue.d.ts +6 -5
- package/dist/src/components/Modals/FilePickerModal.vue.d.ts +8 -7
- package/dist/src/components/Modals/ResourceConflictModal.vue.d.ts +9 -8
- package/dist/src/components/Modals/SaveAsModal.vue.d.ts +8 -7
- package/dist/src/components/Modals/SpaceMoveInfoModal.vue.d.ts +5 -4
- package/dist/src/components/Modals/UnsavedChangesModal.vue.d.ts +5 -4
- package/dist/src/components/Navigation/MobileNav.vue.d.ts +2 -1
- package/dist/src/components/NoContentMessage.vue.d.ts +17 -12
- package/dist/src/components/Pagination.vue.d.ts +5 -4
- package/dist/src/components/QuotaSelect.vue.d.ts +7 -6
- package/dist/src/components/Search/ResourcePreview.vue.d.ts +10 -41
- package/dist/src/components/SearchBarFilter.vue.d.ts +7 -6
- package/dist/src/components/SideBar/CompareSaveDialog.vue.d.ts +6 -5
- package/dist/src/components/SideBar/FileSideBar.vue.d.ts +10 -76
- package/dist/src/components/SideBar/Files/FileInfo.vue.d.ts +10 -1
- package/dist/src/components/SideBar/SideBar.vue.d.ts +20 -21
- package/dist/src/components/SideBar/SideBarPanels.vue.d.ts +21 -22
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetails.vue.d.ts +10 -1
- package/dist/src/components/SideBar/Spaces/Details/SpaceDetailsMultiple.vue.d.ts +10 -1
- package/dist/src/components/SideBar/Spaces/SpaceInfo.vue.d.ts +2 -1
- package/dist/src/components/SideBar/Spaces/SpaceNoSelection.vue.d.ts +2 -1
- package/dist/src/components/SideBar/WebDavDetails.vue.d.ts +7 -6
- package/dist/src/components/SpaceQuota.vue.d.ts +10 -1
- package/dist/src/components/Spaces/QuotaModal.vue.d.ts +13 -4
- package/dist/src/components/Spaces/SpaceImageModal.vue.d.ts +12 -4
- package/dist/src/components/TextEditor/TextEditor.vue.d.ts +26 -0
- package/dist/src/components/TextEditor/index.d.ts +39 -0
- package/dist/src/components/VersionCheck.vue.d.ts +2 -1
- package/dist/src/components/ViewOptions.vue.d.ts +10 -1
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/composables/actions/files/useFileActionFallbackToDownload.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActions.d.ts +2 -2
- package/dist/src/composables/actions/files/useFileActionsCopy.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCopyPermanentLink.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateLink.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateNewFile.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateNewFolder.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateNewShortcut.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsCreateSpaceFromResource.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDelete.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDisableSync.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDownloadArchive.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsDownloadFile.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsEmptyTrashBin.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsEnableSync.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsFavorite.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsMove.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsNavigate.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsOpenShortcut.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsOpenWithApp.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsOpenWithDefault.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsPaste.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsRename.d.ts +2 -2
- package/dist/src/composables/actions/files/useFileActionsRestore.d.ts +2 -2
- package/dist/src/composables/actions/files/useFileActionsSaveAs.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsSetImage.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsShowActions.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsShowDetails.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsShowShares.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsToggleHideShare.d.ts +1 -1
- package/dist/src/composables/actions/files/useFileActionsUndoDelete.d.ts +2 -2
- package/dist/src/composables/actions/helpers/useIsAppActive.d.ts +1 -1
- package/dist/src/composables/actions/helpers/useIsFilesAppActive.d.ts +1 -1
- package/dist/src/composables/actions/helpers/useIsSearchActive.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsCreate.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDelete.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDeleteImage.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDisable.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsDuplicate.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsEditDescription.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsEditQuota.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsEditReadmeContent.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsNavigateToTrash.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsRename.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsRestore.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsSetIcon.d.ts +1 -1
- package/dist/src/composables/actions/spaces/useSpaceActionsShowMembers.d.ts +1 -1
- package/dist/src/composables/actions/useActionsShowDetails.d.ts +1 -1
- package/dist/src/composables/appDefaults/useAppConfig.d.ts +1 -1
- package/dist/src/composables/appDefaults/useAppDocumentTitle.d.ts +2 -1
- package/dist/src/composables/appDefaults/useAppFileHandling.d.ts +4 -2
- package/dist/src/composables/appDefaults/useAppMeta.d.ts +1 -1
- package/dist/src/composables/authContext/useAuthService.d.ts +3 -1
- package/dist/src/composables/authContext/useRequest.d.ts +2 -2
- package/dist/src/composables/driveResolver/useSpacesLoading.d.ts +1 -1
- package/dist/src/composables/embedMode/useEmbedMode.d.ts +8 -8
- package/dist/src/composables/eventBus/useEventBus.d.ts +1 -1
- package/dist/src/composables/filesList/useResourceRouteResolver.d.ts +1 -1
- package/dist/src/composables/folderLink/useFolderLink.d.ts +2 -2
- package/dist/src/composables/isTopBarSticky/useIsTopBarSticky.d.ts +1 -1
- package/dist/src/composables/keyboardActions/useInterceptModifierClick.d.ts +1 -1
- package/dist/src/composables/links/useLinkTypes.d.ts +1 -1
- package/dist/src/composables/localStorage/useLocalStorage.d.ts +1 -1
- package/dist/src/composables/navItems/useNavItems.d.ts +1 -1
- package/dist/src/composables/piniaStores/apps.d.ts +31 -31
- package/dist/src/composables/piniaStores/auth.d.ts +25 -25
- package/dist/src/composables/piniaStores/avatars.d.ts +9 -9
- package/dist/src/composables/piniaStores/capabilities.d.ts +160 -160
- package/dist/src/composables/piniaStores/clipboard.d.ts +49 -49
- package/dist/src/composables/piniaStores/config/config.d.ts +135 -141
- package/dist/src/composables/piniaStores/config/types.d.ts +6 -20
- package/dist/src/composables/piniaStores/extensionRegistry/extensionPreferences.d.ts +4 -4
- package/dist/src/composables/piniaStores/extensionRegistry/extensionRegistry.d.ts +1 -1
- package/dist/src/composables/piniaStores/groupware/accounts.d.ts +511 -0
- package/dist/src/composables/piniaStores/{groupwareConfig/groupwareConfig.d.ts → groupware/config.d.ts} +107 -80
- package/dist/src/composables/piniaStores/groupware/index.d.ts +3 -0
- package/dist/src/composables/piniaStores/{groupwareConfig → groupware}/types.d.ts +30 -18
- package/dist/src/composables/piniaStores/index.d.ts +1 -1
- package/dist/src/composables/piniaStores/messages.d.ts +70 -70
- package/dist/src/composables/piniaStores/modals.d.ts +197 -209
- package/dist/src/composables/piniaStores/resources.d.ts +11 -11
- package/dist/src/composables/piniaStores/shares/shares.d.ts +1 -1
- package/dist/src/composables/piniaStores/shares/types.d.ts +2 -1
- package/dist/src/composables/piniaStores/sideBar.d.ts +7 -7
- package/dist/src/composables/piniaStores/spaces.d.ts +189 -188
- package/dist/src/composables/piniaStores/theme.d.ts +10 -10
- package/dist/src/composables/piniaStores/updates.d.ts +10 -10
- package/dist/src/composables/piniaStores/user.d.ts +5 -5
- package/dist/src/composables/piniaStores/webWorkers.d.ts +1 -1
- package/dist/src/composables/requestHeaders/useRequestHeaders.d.ts +1 -1
- package/dist/src/composables/resources/useGetResourceContext.d.ts +26 -26
- package/dist/src/composables/resources/useLoadPreview.d.ts +1 -1
- package/dist/src/composables/resources/useResourceContents.d.ts +1 -1
- package/dist/src/composables/resources/useResourceIndicators.d.ts +12 -1
- package/dist/src/composables/resources/useResourceViewDrag.d.ts +23 -13
- package/dist/src/composables/resources/useResourceViewHelpers.d.ts +30 -20
- package/dist/src/composables/resources/useResourceViewSelection.d.ts +2 -2
- package/dist/src/composables/selection/useSelectedResources.d.ts +2 -1
- package/dist/src/composables/spaces/useCreateSpace.d.ts +1 -1
- package/dist/src/composables/spaces/useSpaceHelpers.d.ts +1 -1
- package/dist/src/composables/webWorkers/deleteWorker/useDeleteWorker.d.ts +1 -1
- package/dist/src/composables/webWorkers/pasteWorker/usePasteWorker.d.ts +2 -2
- package/dist/src/composables/webWorkers/restoreWorker/useRestoreWorker.d.ts +1 -1
- package/dist/src/composables/webWorkers/tokenTimerWorker/useTokenTimerWorker.d.ts +3 -1
- package/dist/src/extensionPoints.d.ts +1 -1
- package/dist/src/helpers/resource/conflictHandling/conflictDialog.d.ts +1 -1
- package/dist/src/helpers/resource/conflictHandling/transfer.d.ts +4 -4
- package/dist/src/helpers/resource/conflictHandling/types.d.ts +1 -1
- package/dist/src/helpers/share/driveItem.d.ts +1 -1
- package/dist/src/router/common.d.ts +1 -1
- package/dist/src/router/index.d.ts +2 -1
- package/dist/src/router/public.d.ts +1 -1
- package/dist/src/router/shares.d.ts +1 -1
- package/dist/src/router/spaces.d.ts +1 -1
- package/dist/src/router/trash.d.ts +1 -1
- package/dist/src/services/passwordPolicy/rules.d.ts +63 -0
- package/dist/src/services/preview/types.d.ts +1 -1
- package/dist/src/services/uppy/DropTarget/plugin.d.ts +2 -1
- package/dist/src/services/uppy/uppyService.d.ts +3 -3
- package/dist/web-pkg.js +4251 -352
- package/package.json +36 -37
- package/dist/TextEditor-D-HQDUkm.js +0 -865
- package/dist/assets/worker-BBQqm_-D.js +0 -1
- package/dist/assets/worker-CVwKToFD.js +0 -21
- package/dist/assets/worker-DJbU-qfq.js +0 -21
- package/dist/assets/worker-DyU7W9CZ.js +0 -21
- package/dist/index-OU30YA6H.js +0 -25032
- package/dist/src/composables/piniaStores/groupwareConfig/index.d.ts +0 -2
- package/dist/web-pkg.umd.cjs +0 -16
|
@@ -1,865 +0,0 @@
|
|
|
1
|
-
import { d as P, u as C, c as d, a as r, r as I, _ as D, b as u, o as g, e as w, f as b, g as x, w as v } from "./index-OU30YA6H.js";
|
|
2
|
-
import { NormalToolbar as j, MdPreview as E, MdEditor as R, config as S, XSSPlugin as U } from "md-editor-v3";
|
|
3
|
-
import { useGettext as F } from "vue3-gettext";
|
|
4
|
-
import "@casl/vue";
|
|
5
|
-
import "@opencloud-eu/web-client";
|
|
6
|
-
import "fuse.js";
|
|
7
|
-
import "lodash-es";
|
|
8
|
-
import "axios";
|
|
9
|
-
import "uuid";
|
|
10
|
-
import "@microsoft/fetch-event-source";
|
|
11
|
-
import "vue-concurrency";
|
|
12
|
-
import "luxon";
|
|
13
|
-
import "filesize";
|
|
14
|
-
import "qs";
|
|
15
|
-
import "password-sheriff";
|
|
16
|
-
import "@uppy/core";
|
|
17
|
-
import "@uppy/tus";
|
|
18
|
-
import "@uppy/xhr-upload";
|
|
19
|
-
import "@uppy/utils";
|
|
20
|
-
import "pinia";
|
|
21
|
-
import "oidc-client-ts";
|
|
22
|
-
import "@vueuse/core";
|
|
23
|
-
import "dompurify";
|
|
24
|
-
import "mark.js";
|
|
25
|
-
import "p-queue";
|
|
26
|
-
import M from "cropperjs";
|
|
27
|
-
import "vue-router";
|
|
28
|
-
import q from "screenfull";
|
|
29
|
-
import { lineNumbers as A } from "@codemirror/view";
|
|
30
|
-
import { normalizeClass as H } from "@vue/shared";
|
|
31
|
-
const O = {
|
|
32
|
-
toolbarTips: {
|
|
33
|
-
bold: "Gras",
|
|
34
|
-
underline: "Souligné",
|
|
35
|
-
italic: "Italique",
|
|
36
|
-
strikeThrough: "Barré",
|
|
37
|
-
title: "Titre",
|
|
38
|
-
sub: "Indice",
|
|
39
|
-
sup: "Exposant",
|
|
40
|
-
quote: "Citation",
|
|
41
|
-
unorderedList: "Liste",
|
|
42
|
-
orderedList: "Liste numérique",
|
|
43
|
-
task: "Liste de tâche",
|
|
44
|
-
codeRow: "Code intégré",
|
|
45
|
-
code: "Bloc de code",
|
|
46
|
-
link: "Lien",
|
|
47
|
-
image: "Image",
|
|
48
|
-
table: "Table",
|
|
49
|
-
mermaid: "Organigramme",
|
|
50
|
-
katex: "Formule",
|
|
51
|
-
revoke: "Annuler",
|
|
52
|
-
next: "Refaire",
|
|
53
|
-
save: "Sauvegarder",
|
|
54
|
-
prettier: "Sublimer",
|
|
55
|
-
pageFullscreen: "Passer en pleine page",
|
|
56
|
-
fullscreen: "Passer en plein écran",
|
|
57
|
-
preview: "Prévisualiser",
|
|
58
|
-
htmlPreview: "Prévisualiser le HTML",
|
|
59
|
-
catalog: "Table des matières",
|
|
60
|
-
github: "Code source de l'editeur"
|
|
61
|
-
},
|
|
62
|
-
titleItem: {
|
|
63
|
-
h1: "Titre niveau 1",
|
|
64
|
-
h2: "Titre niveau 2",
|
|
65
|
-
h3: "Titre niveau 3",
|
|
66
|
-
h4: "Titre niveau 4",
|
|
67
|
-
h5: "Titre niveau 5",
|
|
68
|
-
h6: "Titre niveau 6"
|
|
69
|
-
},
|
|
70
|
-
imgTitleItem: {
|
|
71
|
-
link: "Ajouter depuis une url",
|
|
72
|
-
upload: "Télécharger une image",
|
|
73
|
-
clip2upload: "Télécharger et recadrer"
|
|
74
|
-
},
|
|
75
|
-
linkModalTips: {
|
|
76
|
-
linkTitle: "Ajouter un lien",
|
|
77
|
-
imageTitle: "Ajouter une image depuis une url",
|
|
78
|
-
descLabel: "Texte : ",
|
|
79
|
-
descLabelPlaceHolder: "Entrez un texte...",
|
|
80
|
-
urlLabel: "Url : ",
|
|
81
|
-
urlLabelPlaceHolder: "Entrez une url...",
|
|
82
|
-
buttonOK: "Valider"
|
|
83
|
-
},
|
|
84
|
-
clipModalTips: {
|
|
85
|
-
title: "Télécharger et recadrer une image",
|
|
86
|
-
buttonUpload: "Valider"
|
|
87
|
-
},
|
|
88
|
-
copyCode: {
|
|
89
|
-
text: "Copier le code",
|
|
90
|
-
successTips: "Copié",
|
|
91
|
-
failTips: "La copie a échoué!"
|
|
92
|
-
},
|
|
93
|
-
mermaid: {
|
|
94
|
-
flow: "Organigramme",
|
|
95
|
-
sequence: "Chronogramme",
|
|
96
|
-
gantt: "Diagramme de Gantt",
|
|
97
|
-
class: "Diagramme de classes",
|
|
98
|
-
state: "Diagramme d'état",
|
|
99
|
-
pie: "Diagramme circulaire",
|
|
100
|
-
relationship: "Diagramme de relation",
|
|
101
|
-
journey: "Diagramme de tâches"
|
|
102
|
-
},
|
|
103
|
-
katex: {
|
|
104
|
-
inline: "Formule en ligne",
|
|
105
|
-
block: "Formule en bloc"
|
|
106
|
-
},
|
|
107
|
-
footer: {
|
|
108
|
-
markdownTotal: "Nombre de mots",
|
|
109
|
-
scrollAuto: "Défilement synchronisé"
|
|
110
|
-
}
|
|
111
|
-
}, N = {
|
|
112
|
-
toolbarTips: {
|
|
113
|
-
bold: "Fett",
|
|
114
|
-
underline: "Unterstrichen",
|
|
115
|
-
italic: "Kursiv",
|
|
116
|
-
strikeThrough: "Durchgestrichen",
|
|
117
|
-
title: "Titel",
|
|
118
|
-
sub: "Tiefgestellt",
|
|
119
|
-
sup: "Hochgestellt",
|
|
120
|
-
quote: "Zitat",
|
|
121
|
-
unorderedList: "Ungeordnete Liste",
|
|
122
|
-
orderedList: "Geordnete Liste",
|
|
123
|
-
task: "Aufgabenliste",
|
|
124
|
-
codeRow: "Eingebetteter Code",
|
|
125
|
-
code: "Codeblock",
|
|
126
|
-
link: "Link",
|
|
127
|
-
image: "Bild",
|
|
128
|
-
table: "Tabelle",
|
|
129
|
-
mermaid: "Flussdiagramm",
|
|
130
|
-
katex: "Formel",
|
|
131
|
-
revoke: "Rückgängig machen",
|
|
132
|
-
next: "Wiederherstellen",
|
|
133
|
-
save: "Speichern",
|
|
134
|
-
prettier: "Verschönern",
|
|
135
|
-
pageFullscreen: "Vollbildmodus",
|
|
136
|
-
fullscreen: "Vollbild",
|
|
137
|
-
preview: "Vorschau",
|
|
138
|
-
htmlPreview: "HTML Vorschau",
|
|
139
|
-
catalog: "Inhaltsverzeichnis",
|
|
140
|
-
github: "Quellcode des Editors"
|
|
141
|
-
},
|
|
142
|
-
titleItem: {
|
|
143
|
-
h1: "Überschrift Ebene 1",
|
|
144
|
-
h2: "Überschrift Ebene 2",
|
|
145
|
-
h3: "Überschrift Ebene 3",
|
|
146
|
-
h4: "Überschrift Ebene 4",
|
|
147
|
-
h5: "Überschrift Ebene 5",
|
|
148
|
-
h6: "Überschrift Ebene 6"
|
|
149
|
-
},
|
|
150
|
-
imgTitleItem: {
|
|
151
|
-
link: "Bildlink hinzufügen",
|
|
152
|
-
upload: "Bild hochladen",
|
|
153
|
-
clip2upload: "Bild zuschneiden und hochladen"
|
|
154
|
-
},
|
|
155
|
-
linkModalTips: {
|
|
156
|
-
linkTitle: "Link hinzufügen",
|
|
157
|
-
imageTitle: "Bild von URL hinzufügen",
|
|
158
|
-
descLabel: "Text: ",
|
|
159
|
-
descLabelPlaceHolder: "Text eingeben...",
|
|
160
|
-
urlLabel: "URL: ",
|
|
161
|
-
urlLabelPlaceHolder: "URL eingeben...",
|
|
162
|
-
buttonOK: "Bestätigen"
|
|
163
|
-
},
|
|
164
|
-
clipModalTips: {
|
|
165
|
-
title: "Bild zuschneiden und hochladen",
|
|
166
|
-
buttonUpload: "Hochladen"
|
|
167
|
-
},
|
|
168
|
-
copyCode: {
|
|
169
|
-
text: "Code kopieren",
|
|
170
|
-
successTips: "Kopiert!",
|
|
171
|
-
failTips: "Kopieren fehlgeschlagen!"
|
|
172
|
-
},
|
|
173
|
-
mermaid: {
|
|
174
|
-
flow: "Flussdiagramm",
|
|
175
|
-
sequence: "Sequenzdiagramm",
|
|
176
|
-
gantt: "Gantt-Diagramm",
|
|
177
|
-
class: "Klassendiagramm",
|
|
178
|
-
state: "Zustandsdiagramm",
|
|
179
|
-
pie: "Kreisdiagramm",
|
|
180
|
-
relationship: "Beziehungsdiagramm",
|
|
181
|
-
journey: "Reisediagramm"
|
|
182
|
-
},
|
|
183
|
-
katex: {
|
|
184
|
-
inline: "Inline-Formel",
|
|
185
|
-
block: "Blockformel"
|
|
186
|
-
},
|
|
187
|
-
footer: {
|
|
188
|
-
markdownTotal: "Zeichenanzahl",
|
|
189
|
-
scrollAuto: "Automatisches Scrollen"
|
|
190
|
-
}
|
|
191
|
-
}, B = {
|
|
192
|
-
toolbarTips: {
|
|
193
|
-
bold: "Grassetto",
|
|
194
|
-
underline: "Sottolineato",
|
|
195
|
-
italic: "Corsivo",
|
|
196
|
-
strikeThrough: "Barrato",
|
|
197
|
-
title: "Titolo",
|
|
198
|
-
sub: "Indice",
|
|
199
|
-
sup: "Esponente",
|
|
200
|
-
quote: "Citazione",
|
|
201
|
-
unorderedList: "Elenco non ordinato",
|
|
202
|
-
orderedList: "Elenco ordinato",
|
|
203
|
-
task: "Lista di compiti",
|
|
204
|
-
codeRow: "Codice incorporato",
|
|
205
|
-
code: "Blocco di codice",
|
|
206
|
-
link: "Link",
|
|
207
|
-
image: "Immagine",
|
|
208
|
-
table: "Tabella",
|
|
209
|
-
mermaid: "Diagramma",
|
|
210
|
-
katex: "Formula",
|
|
211
|
-
revoke: "Annulla",
|
|
212
|
-
next: "Ripristina",
|
|
213
|
-
save: "Salva",
|
|
214
|
-
prettier: "Formatta",
|
|
215
|
-
pageFullscreen: "Pagina a schermo intero",
|
|
216
|
-
fullscreen: "Schermo intero",
|
|
217
|
-
preview: "Anteprima",
|
|
218
|
-
htmlPreview: "Anteprima HTML",
|
|
219
|
-
catalog: "Indice",
|
|
220
|
-
github: "Codice sorgente dell'editor"
|
|
221
|
-
},
|
|
222
|
-
titleItem: {
|
|
223
|
-
h1: "Intestazione Livello 1",
|
|
224
|
-
h2: "Intestazione Livello 2",
|
|
225
|
-
h3: "Intestazione Livello 3",
|
|
226
|
-
h4: "Intestazione Livello 4",
|
|
227
|
-
h5: "Intestazione Livello 5",
|
|
228
|
-
h6: "Intestazione Livello 6"
|
|
229
|
-
},
|
|
230
|
-
imgTitleItem: {
|
|
231
|
-
link: "Aggiungi link immagine",
|
|
232
|
-
upload: "Carica immagine",
|
|
233
|
-
clip2upload: "Ritaglia e carica immagine"
|
|
234
|
-
},
|
|
235
|
-
linkModalTips: {
|
|
236
|
-
linkTitle: "Aggiungi link",
|
|
237
|
-
imageTitle: "Aggiungi immagine da URL",
|
|
238
|
-
descLabel: "Testo: ",
|
|
239
|
-
descLabelPlaceHolder: "Inserisci il testo...",
|
|
240
|
-
urlLabel: "URL: ",
|
|
241
|
-
urlLabelPlaceHolder: "Inserisci l'URL...",
|
|
242
|
-
buttonOK: "Conferma"
|
|
243
|
-
},
|
|
244
|
-
clipModalTips: {
|
|
245
|
-
title: "Ritaglia e carica immagine",
|
|
246
|
-
buttonUpload: "Carica"
|
|
247
|
-
},
|
|
248
|
-
copyCode: {
|
|
249
|
-
text: "Copia codice",
|
|
250
|
-
successTips: "Copiato!",
|
|
251
|
-
failTips: "Copia fallita!"
|
|
252
|
-
},
|
|
253
|
-
mermaid: {
|
|
254
|
-
flow: "Diagramma di flusso",
|
|
255
|
-
sequence: "Diagramma di sequenza",
|
|
256
|
-
gantt: "Diagramma di Gantt",
|
|
257
|
-
class: "Diagramma di classe",
|
|
258
|
-
state: "Diagramma di stato",
|
|
259
|
-
pie: "Diagramma a torta",
|
|
260
|
-
relationship: "Diagramma di relazione",
|
|
261
|
-
journey: "Diagramma di viaggio"
|
|
262
|
-
},
|
|
263
|
-
katex: {
|
|
264
|
-
inline: "Formula in linea",
|
|
265
|
-
block: "Formula a blocco"
|
|
266
|
-
},
|
|
267
|
-
footer: {
|
|
268
|
-
markdownTotal: "Conteggio parole",
|
|
269
|
-
scrollAuto: "Scorrimento automatico"
|
|
270
|
-
}
|
|
271
|
-
}, K = {
|
|
272
|
-
toolbarTips: {
|
|
273
|
-
bold: "Negrita",
|
|
274
|
-
underline: "Subrayado",
|
|
275
|
-
italic: "Cursiva",
|
|
276
|
-
strikeThrough: "Tachado",
|
|
277
|
-
title: "Título",
|
|
278
|
-
sub: "Subíndice",
|
|
279
|
-
sup: "Superíndice",
|
|
280
|
-
quote: "Cita",
|
|
281
|
-
unorderedList: "Lista desordenada",
|
|
282
|
-
orderedList: "Lista ordenada",
|
|
283
|
-
task: "Lista de tareas",
|
|
284
|
-
codeRow: "Código en línea",
|
|
285
|
-
code: "Bloque de código",
|
|
286
|
-
link: "Enlace",
|
|
287
|
-
image: "Imagen",
|
|
288
|
-
table: "Tabla",
|
|
289
|
-
mermaid: "Diagrama",
|
|
290
|
-
katex: "Fórmula",
|
|
291
|
-
revoke: "Deshacer",
|
|
292
|
-
next: "Rehacer",
|
|
293
|
-
save: "Guardar",
|
|
294
|
-
prettier: "Formatear",
|
|
295
|
-
pageFullscreen: "Página en pantalla completa",
|
|
296
|
-
fullscreen: "Pantalla completa",
|
|
297
|
-
preview: "Vista previa",
|
|
298
|
-
htmlPreview: "Vista previa del HTML",
|
|
299
|
-
catalog: "Índice",
|
|
300
|
-
github: "Código fuente del editor"
|
|
301
|
-
},
|
|
302
|
-
titleItem: {
|
|
303
|
-
h1: "Encabezado de nivel 1",
|
|
304
|
-
h2: "Encabezado de nivel 2",
|
|
305
|
-
h3: "Encabezado de nivel 3",
|
|
306
|
-
h4: "Encabezado de nivel 4",
|
|
307
|
-
h5: "Encabezado de nivel 5",
|
|
308
|
-
h6: "Encabezado de nivel 6"
|
|
309
|
-
},
|
|
310
|
-
imgTitleItem: {
|
|
311
|
-
link: "Agregar enlace de imagen",
|
|
312
|
-
upload: "Subir imagen",
|
|
313
|
-
clip2upload: "Recortar y subir imagen"
|
|
314
|
-
},
|
|
315
|
-
linkModalTips: {
|
|
316
|
-
linkTitle: "Agregar enlace",
|
|
317
|
-
imageTitle: "Agregar imagen desde URL",
|
|
318
|
-
descLabel: "Texto: ",
|
|
319
|
-
descLabelPlaceHolder: "Introduce el texto...",
|
|
320
|
-
urlLabel: "Enlace: ",
|
|
321
|
-
urlLabelPlaceHolder: "Introduce el enlace...",
|
|
322
|
-
buttonOK: "Confirmar"
|
|
323
|
-
},
|
|
324
|
-
clipModalTips: {
|
|
325
|
-
title: "Recortar y subir imagen",
|
|
326
|
-
buttonUpload: "Subir"
|
|
327
|
-
},
|
|
328
|
-
copyCode: {
|
|
329
|
-
text: "Copiar código",
|
|
330
|
-
successTips: "¡Copiado!",
|
|
331
|
-
failTips: "¡Copia fallida!"
|
|
332
|
-
},
|
|
333
|
-
mermaid: {
|
|
334
|
-
flow: "Diagrama de flujo",
|
|
335
|
-
sequence: "Diagrama de secuencia",
|
|
336
|
-
gantt: "Diagrama de Gantt",
|
|
337
|
-
class: "Diagrama de clase",
|
|
338
|
-
state: "Diagrama de estado",
|
|
339
|
-
pie: "Diagrama de pastel",
|
|
340
|
-
relationship: "Diagrama de relación",
|
|
341
|
-
journey: "Diagrama de viaje"
|
|
342
|
-
},
|
|
343
|
-
katex: {
|
|
344
|
-
inline: "Fórmula en línea",
|
|
345
|
-
block: "Fórmula de bloque"
|
|
346
|
-
},
|
|
347
|
-
footer: {
|
|
348
|
-
markdownTotal: "Conteo de letras",
|
|
349
|
-
scrollAuto: "Desplazamiento automático"
|
|
350
|
-
}
|
|
351
|
-
}, G = {
|
|
352
|
-
toolbarTips: {
|
|
353
|
-
bold: "Pogrubienie",
|
|
354
|
-
underline: "Podkreślenie",
|
|
355
|
-
italic: "Kursywa",
|
|
356
|
-
strikeThrough: "Przekreślenie",
|
|
357
|
-
title: "Tytuł",
|
|
358
|
-
sub: "Indeks dolny",
|
|
359
|
-
sup: "Indeks górny",
|
|
360
|
-
quote: "Cytat",
|
|
361
|
-
unorderedList: "Lista nieuporządkowana",
|
|
362
|
-
orderedList: "Lista uporządkowana",
|
|
363
|
-
task: "Lista zadań",
|
|
364
|
-
codeRow: "Wbudowany kod",
|
|
365
|
-
code: "Blok kodu",
|
|
366
|
-
link: "Link",
|
|
367
|
-
image: "Obraz",
|
|
368
|
-
table: "Tabela",
|
|
369
|
-
mermaid: "Schemat przepływu",
|
|
370
|
-
katex: "Formuła",
|
|
371
|
-
revoke: "Cofnij",
|
|
372
|
-
next: "Przywróć",
|
|
373
|
-
save: "Zapisz",
|
|
374
|
-
prettier: "Upiększ",
|
|
375
|
-
pageFullscreen: "Pełny ekran strony",
|
|
376
|
-
fullscreen: "Pełny ekran",
|
|
377
|
-
preview: "Podgląd",
|
|
378
|
-
htmlPreview: "Podgląd HTML",
|
|
379
|
-
catalog: "Spis treści",
|
|
380
|
-
github: "Kod źródłowy edytora"
|
|
381
|
-
},
|
|
382
|
-
titleItem: {
|
|
383
|
-
h1: "Nagłówek poziom 1",
|
|
384
|
-
h2: "Nagłówek poziom 2",
|
|
385
|
-
h3: "Nagłówek poziom 3",
|
|
386
|
-
h4: "Nagłówek poziom 4",
|
|
387
|
-
h5: "Nagłówek poziom 5",
|
|
388
|
-
h6: "Nagłówek poziom 6"
|
|
389
|
-
},
|
|
390
|
-
imgTitleItem: {
|
|
391
|
-
link: "Dodaj link do obrazu",
|
|
392
|
-
upload: "Prześlij obraz",
|
|
393
|
-
clip2upload: "Przytnij i prześlij obraz"
|
|
394
|
-
},
|
|
395
|
-
linkModalTips: {
|
|
396
|
-
linkTitle: "Dodaj link",
|
|
397
|
-
imageTitle: "Dodaj obraz z URL",
|
|
398
|
-
descLabel: "Tekst: ",
|
|
399
|
-
descLabelPlaceHolder: "Wpisz tekst...",
|
|
400
|
-
urlLabel: "URL: ",
|
|
401
|
-
urlLabelPlaceHolder: "Wpisz URL...",
|
|
402
|
-
buttonOK: "Potwierdź"
|
|
403
|
-
},
|
|
404
|
-
clipModalTips: {
|
|
405
|
-
title: "Przytnij i prześlij obraz",
|
|
406
|
-
buttonUpload: "Prześlij"
|
|
407
|
-
},
|
|
408
|
-
copyCode: {
|
|
409
|
-
text: "Skopiuj kod",
|
|
410
|
-
successTips: "Skopiowano!",
|
|
411
|
-
failTips: "Nie udało się skopiować!"
|
|
412
|
-
},
|
|
413
|
-
mermaid: {
|
|
414
|
-
flow: "Schemat przepływu",
|
|
415
|
-
sequence: "Schemat sekwencji",
|
|
416
|
-
gantt: "Wykres Gantta",
|
|
417
|
-
class: "Diagram klas",
|
|
418
|
-
state: "Diagram stanów",
|
|
419
|
-
pie: "Diagram kołowy",
|
|
420
|
-
relationship: "Diagram relacji",
|
|
421
|
-
journey: "Diagram podróży"
|
|
422
|
-
},
|
|
423
|
-
katex: {
|
|
424
|
-
inline: "Formuła inline",
|
|
425
|
-
block: "Formuła blokowa"
|
|
426
|
-
},
|
|
427
|
-
footer: {
|
|
428
|
-
markdownTotal: "Liczba znaków",
|
|
429
|
-
scrollAuto: "Automatyczne przewijanie"
|
|
430
|
-
}
|
|
431
|
-
}, _ = {
|
|
432
|
-
toolbarTips: {
|
|
433
|
-
bold: "жирный",
|
|
434
|
-
underline: "подчёркнутый",
|
|
435
|
-
italic: "курсив",
|
|
436
|
-
strikeThrough: "зачёркнутый",
|
|
437
|
-
title: "заголовок",
|
|
438
|
-
sub: "нижний индекс",
|
|
439
|
-
sup: "верхний индекс",
|
|
440
|
-
quote: "цитата",
|
|
441
|
-
unorderedList: "неупорядоченный список",
|
|
442
|
-
orderedList: "упорядоченный список",
|
|
443
|
-
task: "список задач",
|
|
444
|
-
codeRow: "встроенный код",
|
|
445
|
-
code: "блочный код",
|
|
446
|
-
link: "ссылка",
|
|
447
|
-
image: "изображение",
|
|
448
|
-
table: "таблица",
|
|
449
|
-
mermaid: "диаграмма",
|
|
450
|
-
katex: "формула",
|
|
451
|
-
revoke: "отмена",
|
|
452
|
-
next: "вернуть",
|
|
453
|
-
save: "сохранить",
|
|
454
|
-
prettier: "форматировать",
|
|
455
|
-
pageFullscreen: "на всю страницу",
|
|
456
|
-
fullscreen: "на весь экран",
|
|
457
|
-
preview: "превью",
|
|
458
|
-
previewOnly: "только превью",
|
|
459
|
-
htmlPreview: "превью html",
|
|
460
|
-
catalog: "каталог",
|
|
461
|
-
github: "исходный код"
|
|
462
|
-
},
|
|
463
|
-
titleItem: {
|
|
464
|
-
h1: "Заголовок 1-го ур.",
|
|
465
|
-
h2: "Заголовок 2-го ур.",
|
|
466
|
-
h3: "Заголовок 3-го ур.",
|
|
467
|
-
h4: "Заголовок 4-го ур.",
|
|
468
|
-
h5: "Заголовок 5-го ур.",
|
|
469
|
-
h6: "Заголовок 6-го ур."
|
|
470
|
-
},
|
|
471
|
-
imgTitleItem: {
|
|
472
|
-
link: "Добавить ссылку на изображение",
|
|
473
|
-
upload: "Загрузить изображение",
|
|
474
|
-
clip2upload: "Из буфера обмена"
|
|
475
|
-
},
|
|
476
|
-
linkModalTips: {
|
|
477
|
-
linkTitle: "Добавить ссылку",
|
|
478
|
-
imageTitle: "Добавить изображение",
|
|
479
|
-
descLabel: "Описание:",
|
|
480
|
-
descLabelPlaceHolder: "Введите описание...",
|
|
481
|
-
urlLabel: "Ссылка:",
|
|
482
|
-
urlLabelPlaceHolder: "Введите ссылку...",
|
|
483
|
-
buttonOK: "ОК"
|
|
484
|
-
},
|
|
485
|
-
clipModalTips: {
|
|
486
|
-
title: "Обрезать изображение",
|
|
487
|
-
buttonUpload: "Загрузить"
|
|
488
|
-
},
|
|
489
|
-
copyCode: {
|
|
490
|
-
text: "Скопировать",
|
|
491
|
-
successTips: "Скопировано!",
|
|
492
|
-
failTips: "Не удалось скопировать!"
|
|
493
|
-
},
|
|
494
|
-
mermaid: {
|
|
495
|
-
flow: "цепная",
|
|
496
|
-
sequence: "последовательная",
|
|
497
|
-
gantt: "временная",
|
|
498
|
-
class: "структурная",
|
|
499
|
-
state: "статусная",
|
|
500
|
-
pie: "круговая",
|
|
501
|
-
relationship: "реляционная",
|
|
502
|
-
journey: "путешествия"
|
|
503
|
-
},
|
|
504
|
-
katex: {
|
|
505
|
-
inline: "встроенная",
|
|
506
|
-
block: "блочная"
|
|
507
|
-
},
|
|
508
|
-
footer: {
|
|
509
|
-
markdownTotal: "Кол-во символов",
|
|
510
|
-
scrollAuto: "Автопрокрутка"
|
|
511
|
-
}
|
|
512
|
-
}, J = {
|
|
513
|
-
toolbarTips: {
|
|
514
|
-
bold: "太字",
|
|
515
|
-
underline: "下線",
|
|
516
|
-
italic: "斜体",
|
|
517
|
-
strikeThrough: "取り消し線",
|
|
518
|
-
title: "タイトル",
|
|
519
|
-
sub: "下付き文字",
|
|
520
|
-
sup: "上付き文字",
|
|
521
|
-
quote: "引用",
|
|
522
|
-
unorderedList: "番号なし箇条書き",
|
|
523
|
-
orderedList: "番号付の箇条書き",
|
|
524
|
-
task: "タスクリスト",
|
|
525
|
-
codeRow: "インラインコード",
|
|
526
|
-
code: "ブロックコード",
|
|
527
|
-
link: "リンク",
|
|
528
|
-
image: "イメージ",
|
|
529
|
-
table: "テーブル",
|
|
530
|
-
mermaid: "mermaid図",
|
|
531
|
-
katex: "katex数式",
|
|
532
|
-
revoke: "後退",
|
|
533
|
-
next: "前進",
|
|
534
|
-
save: "保存",
|
|
535
|
-
prettier: "フォーマット",
|
|
536
|
-
pageFullscreen: "ブラウザのフルスクリーン",
|
|
537
|
-
fullscreen: "フルスクリーン",
|
|
538
|
-
preview: "プレビュー",
|
|
539
|
-
htmlPreview: "htmlプレビュー",
|
|
540
|
-
catalog: "目次",
|
|
541
|
-
github: "ギットハブ"
|
|
542
|
-
},
|
|
543
|
-
titleItem: {
|
|
544
|
-
h1: "見出し1",
|
|
545
|
-
h2: "見出し2",
|
|
546
|
-
h3: "見出し3",
|
|
547
|
-
h4: "見出し4",
|
|
548
|
-
h5: "見出し5",
|
|
549
|
-
h6: "見出し6"
|
|
550
|
-
},
|
|
551
|
-
imgTitleItem: {
|
|
552
|
-
link: "リンク",
|
|
553
|
-
upload: "アップロード",
|
|
554
|
-
clip2upload: "トリミングアップロード"
|
|
555
|
-
},
|
|
556
|
-
linkModalTips: {
|
|
557
|
-
linkTitle: "追加",
|
|
558
|
-
imageTitle: "イメージ追加",
|
|
559
|
-
descLabel: "リンクの説明:",
|
|
560
|
-
descLabelPlaceHolder: "説明を入力してください...",
|
|
561
|
-
urlLabel: "リンクアドレス:",
|
|
562
|
-
urlLabelPlaceHolder: "リンクを入力してください...",
|
|
563
|
-
buttonOK: "確定"
|
|
564
|
-
},
|
|
565
|
-
clipModalTips: {
|
|
566
|
-
title: "トリミング画像のアップロード",
|
|
567
|
-
buttonUpload: "アップロード"
|
|
568
|
-
},
|
|
569
|
-
copyCode: {
|
|
570
|
-
text: "コードをコピー",
|
|
571
|
-
successTips: "コピー成功!",
|
|
572
|
-
failTips: "コピー失敗!"
|
|
573
|
-
},
|
|
574
|
-
mermaid: {
|
|
575
|
-
flow: "フローチャート",
|
|
576
|
-
sequence: "タイミング図",
|
|
577
|
-
gantt: "ガントチャート",
|
|
578
|
-
class: "クラス図",
|
|
579
|
-
state: "状態図",
|
|
580
|
-
pie: "円グラフ",
|
|
581
|
-
relationship: "関係図",
|
|
582
|
-
journey: "旅路図"
|
|
583
|
-
},
|
|
584
|
-
katex: {
|
|
585
|
-
inline: "インライン数式",
|
|
586
|
-
block: "ブロック数式"
|
|
587
|
-
},
|
|
588
|
-
footer: {
|
|
589
|
-
markdownTotal: "単語数",
|
|
590
|
-
scrollAuto: "同期スクロール"
|
|
591
|
-
}
|
|
592
|
-
}, $ = {
|
|
593
|
-
toolbarTips: {
|
|
594
|
-
bold: "tebal",
|
|
595
|
-
underline: "garis bawah",
|
|
596
|
-
italic: "miring",
|
|
597
|
-
strikeThrough: "coret sambung",
|
|
598
|
-
title: "judul",
|
|
599
|
-
sub: "subscript",
|
|
600
|
-
sup: "superscript",
|
|
601
|
-
quote: "quote",
|
|
602
|
-
unorderedList: "daftar tak berurutan",
|
|
603
|
-
orderedList: "daftar berurutan",
|
|
604
|
-
task: "daftar tugas",
|
|
605
|
-
codeRow: "kode inline",
|
|
606
|
-
code: "kode blok",
|
|
607
|
-
link: "tautan",
|
|
608
|
-
image: "gambar",
|
|
609
|
-
table: "tabel",
|
|
610
|
-
mermaid: "mermaid",
|
|
611
|
-
katex: "rumus",
|
|
612
|
-
revoke: "membatalkan",
|
|
613
|
-
next: "membatalkan pembatalan",
|
|
614
|
-
save: "simpan",
|
|
615
|
-
prettier: "penataan",
|
|
616
|
-
pageFullscreen: "layar penuh di halaman",
|
|
617
|
-
fullscreen: "layar penuh",
|
|
618
|
-
preview: "pratinjau",
|
|
619
|
-
htmlPreview: "pratinjau html",
|
|
620
|
-
catalog: "daftar isi",
|
|
621
|
-
github: "kode sumber"
|
|
622
|
-
},
|
|
623
|
-
titleItem: {
|
|
624
|
-
h1: "Judul 1",
|
|
625
|
-
h2: "Judul 2",
|
|
626
|
-
h3: "Judul 3",
|
|
627
|
-
h4: "Judul 4",
|
|
628
|
-
h5: "Judul 5",
|
|
629
|
-
h6: "Judul 6"
|
|
630
|
-
},
|
|
631
|
-
imgTitleItem: {
|
|
632
|
-
link: "Tambahkan Tautan Gambar",
|
|
633
|
-
upload: "Unggah Gambar",
|
|
634
|
-
clip2upload: "Potong dan Unggah"
|
|
635
|
-
},
|
|
636
|
-
linkModalTips: {
|
|
637
|
-
linkTitle: "Tambahkan Tautan",
|
|
638
|
-
imageTitle: "Tambahkan Gambar",
|
|
639
|
-
descLabel: "Deskripsi:",
|
|
640
|
-
descLabelPlaceHolder: "Masukkan deskripsi...",
|
|
641
|
-
urlLabel: "Tautan:",
|
|
642
|
-
urlLabelPlaceHolder: "Masukkan tautan...",
|
|
643
|
-
buttonOK: "OK"
|
|
644
|
-
},
|
|
645
|
-
clipModalTips: {
|
|
646
|
-
title: "Potong dan Unggah Gambar",
|
|
647
|
-
buttonUpload: "Unggah"
|
|
648
|
-
},
|
|
649
|
-
copyCode: {
|
|
650
|
-
text: "Salin",
|
|
651
|
-
successTips: "Tersalin!",
|
|
652
|
-
failTips: "Gagal menyalin!"
|
|
653
|
-
},
|
|
654
|
-
mermaid: {
|
|
655
|
-
flow: "diagram aliran",
|
|
656
|
-
sequence: "diagram urutan",
|
|
657
|
-
gantt: "diagram gantt",
|
|
658
|
-
class: "diagram kelas",
|
|
659
|
-
state: "diagram status",
|
|
660
|
-
pie: "diagram pie",
|
|
661
|
-
relationship: "diagram hubungan",
|
|
662
|
-
journey: "diagram perjalanan"
|
|
663
|
-
},
|
|
664
|
-
katex: {
|
|
665
|
-
inline: "rumus inline",
|
|
666
|
-
block: "rumus blok"
|
|
667
|
-
},
|
|
668
|
-
footer: {
|
|
669
|
-
markdownTotal: "Jumlah Kata",
|
|
670
|
-
scrollAuto: "Gulir Otomatis"
|
|
671
|
-
}
|
|
672
|
-
}, V = {
|
|
673
|
-
zh: "zh-CN",
|
|
674
|
-
fr: "fr-FR",
|
|
675
|
-
ja: "jp-JP",
|
|
676
|
-
id: "id-ID",
|
|
677
|
-
ru: "ru",
|
|
678
|
-
de: "de-DE",
|
|
679
|
-
it: "it-IT",
|
|
680
|
-
es: "es-ES",
|
|
681
|
-
pl: "pl-PL",
|
|
682
|
-
en: "en-US"
|
|
683
|
-
}, W = {
|
|
684
|
-
"fr-FR": O,
|
|
685
|
-
"de-DE": N,
|
|
686
|
-
"it-IT": B,
|
|
687
|
-
"es-ES": K,
|
|
688
|
-
"pl-PL": G,
|
|
689
|
-
ru: _,
|
|
690
|
-
"jp-JP": J,
|
|
691
|
-
"id-ID": $
|
|
692
|
-
}, Z = P({
|
|
693
|
-
name: "TextEditor",
|
|
694
|
-
// type casts are needed to ensure type inference works correctly when building web-pkg
|
|
695
|
-
components: {
|
|
696
|
-
MdEditor: R,
|
|
697
|
-
MdPreview: E,
|
|
698
|
-
NormalToolbar: j
|
|
699
|
-
},
|
|
700
|
-
props: {
|
|
701
|
-
applicationConfig: { type: Object, required: !1 },
|
|
702
|
-
currentContent: {
|
|
703
|
-
type: String,
|
|
704
|
-
required: !0
|
|
705
|
-
},
|
|
706
|
-
markdownMode: { type: Boolean, required: !1, default: !1 },
|
|
707
|
-
isReadOnly: { type: Boolean, required: !1, default: !1 },
|
|
708
|
-
resource: { type: Object, required: !1 }
|
|
709
|
-
},
|
|
710
|
-
emits: ["update:currentContent"],
|
|
711
|
-
setup(e, { emit: i }) {
|
|
712
|
-
const h = F(), { currentTheme: k } = C(), T = I(!0), f = d(() => {
|
|
713
|
-
const { showPreviewOnlyMd: a = !0 } = e.applicationConfig;
|
|
714
|
-
return { showPreviewOnlyMd: a };
|
|
715
|
-
}), t = d(() => e.markdownMode || ["md", "markdown"].includes(e.resource?.extension) || !r(f).showPreviewOnlyMd), m = d(() => r(k).isDark ? "dark" : "light"), c = d(() => r(t) ? [
|
|
716
|
-
"bold",
|
|
717
|
-
"underline",
|
|
718
|
-
"italic",
|
|
719
|
-
"-",
|
|
720
|
-
"title",
|
|
721
|
-
"strikeThrough",
|
|
722
|
-
"sub",
|
|
723
|
-
"sup",
|
|
724
|
-
"quote",
|
|
725
|
-
"unorderedList",
|
|
726
|
-
"orderedList",
|
|
727
|
-
"task",
|
|
728
|
-
"-",
|
|
729
|
-
"codeRow",
|
|
730
|
-
"code",
|
|
731
|
-
"link",
|
|
732
|
-
"image",
|
|
733
|
-
"table",
|
|
734
|
-
"-",
|
|
735
|
-
"revoke",
|
|
736
|
-
"next",
|
|
737
|
-
"=",
|
|
738
|
-
0,
|
|
739
|
-
"preview",
|
|
740
|
-
"previewOnly"
|
|
741
|
-
] : ["revoke", "next", "=", 0]);
|
|
742
|
-
return S({
|
|
743
|
-
editorConfig: {
|
|
744
|
-
languageUserDefined: W
|
|
745
|
-
},
|
|
746
|
-
editorExtensions: {
|
|
747
|
-
screenfull: {
|
|
748
|
-
instance: q
|
|
749
|
-
},
|
|
750
|
-
cropper: {
|
|
751
|
-
instance: M
|
|
752
|
-
}
|
|
753
|
-
},
|
|
754
|
-
markdownItPlugins(a) {
|
|
755
|
-
return [
|
|
756
|
-
...a,
|
|
757
|
-
{
|
|
758
|
-
type: "xss",
|
|
759
|
-
plugin: U,
|
|
760
|
-
options: {}
|
|
761
|
-
}
|
|
762
|
-
];
|
|
763
|
-
},
|
|
764
|
-
codeMirrorExtensions(a) {
|
|
765
|
-
const l = [
|
|
766
|
-
...a,
|
|
767
|
-
{
|
|
768
|
-
type: "lineNumbers",
|
|
769
|
-
extension: A()
|
|
770
|
-
}
|
|
771
|
-
], n = l.find(
|
|
772
|
-
(o) => o.type === "linkShortener"
|
|
773
|
-
);
|
|
774
|
-
return n && (n.options.maxLength = 120), r(t) ? l : l.filter(
|
|
775
|
-
(o) => ["lineWrapping", "keymap", "floatingToolbar", "lineNumbers"].includes(o.type)
|
|
776
|
-
);
|
|
777
|
-
}
|
|
778
|
-
}), {
|
|
779
|
-
isMarkdown: t,
|
|
780
|
-
theme: m,
|
|
781
|
-
toolbars: c,
|
|
782
|
-
language: h,
|
|
783
|
-
languages: V,
|
|
784
|
-
onUploadImg: async (a) => {
|
|
785
|
-
const n = (await Promise.all(
|
|
786
|
-
[...a].map(
|
|
787
|
-
(p) => new Promise((y, z) => {
|
|
788
|
-
const s = new FileReader();
|
|
789
|
-
s.onload = () => y(s.result), s.onerror = z, s.readAsDataURL(p);
|
|
790
|
-
})
|
|
791
|
-
)
|
|
792
|
-
)).map((p) => ``), o = `${r(e.currentContent)}
|
|
793
|
-
${n.join(`
|
|
794
|
-
|
|
795
|
-
`)}
|
|
796
|
-
`;
|
|
797
|
-
i("update:currentContent", o);
|
|
798
|
-
},
|
|
799
|
-
showLineNumbers: T
|
|
800
|
-
};
|
|
801
|
-
}
|
|
802
|
-
}), Q = {
|
|
803
|
-
id: "text-editor-container",
|
|
804
|
-
class: "h-full [&_.md-editor-preview]:!font-(family-name:--oc-font-family)"
|
|
805
|
-
}, X = { key: 0 };
|
|
806
|
-
function Y(e, i, h, k, T, f) {
|
|
807
|
-
const t = u("md-preview"), m = u("oc-icon"), c = u("NormalToolbar"), L = u("md-editor");
|
|
808
|
-
return g(), w("div", Q, [
|
|
809
|
-
e.isReadOnly ? (g(), w("article", X, [
|
|
810
|
-
b(t, {
|
|
811
|
-
id: "text-editor-preview-component",
|
|
812
|
-
"model-value": e.currentContent,
|
|
813
|
-
"no-katex": "",
|
|
814
|
-
"no-mermaid": "",
|
|
815
|
-
"no-prettier": "",
|
|
816
|
-
"no-upload-img": "",
|
|
817
|
-
"no-highlight": "",
|
|
818
|
-
"no-echarts": "",
|
|
819
|
-
language: e.languages[e.language.current] || "en-US",
|
|
820
|
-
theme: e.theme,
|
|
821
|
-
"auto-focus": "",
|
|
822
|
-
"read-only": ""
|
|
823
|
-
}, null, 8, ["model-value", "language", "theme"])
|
|
824
|
-
])) : (g(), x(L, {
|
|
825
|
-
key: 1,
|
|
826
|
-
id: "text-editor-component",
|
|
827
|
-
class: H([{ "no-line-numbers": !e.showLineNumbers }, "[&_.cm-content]:!font-(family-name:--oc-font-family)"]),
|
|
828
|
-
"model-value": e.currentContent,
|
|
829
|
-
"no-katex": "",
|
|
830
|
-
"no-mermaid": "",
|
|
831
|
-
"no-prettier": "",
|
|
832
|
-
"no-highlight": "",
|
|
833
|
-
"no-echarts": "",
|
|
834
|
-
"on-upload-img": e.onUploadImg,
|
|
835
|
-
language: e.languages[e.language.current] || "en-US",
|
|
836
|
-
theme: e.theme,
|
|
837
|
-
preview: e.isMarkdown,
|
|
838
|
-
toolbars: e.toolbars,
|
|
839
|
-
"auto-focus": "",
|
|
840
|
-
onOnChange: i[1] || (i[1] = (a) => e.$emit("update:currentContent", a))
|
|
841
|
-
}, {
|
|
842
|
-
defToolbars: v(() => [
|
|
843
|
-
b(c, {
|
|
844
|
-
title: e.showLineNumbers ? e.$gettext("hide line numbers") : e.$gettext("show line numbers"),
|
|
845
|
-
onOnClick: i[0] || (i[0] = (a) => e.showLineNumbers = !e.showLineNumbers)
|
|
846
|
-
}, {
|
|
847
|
-
default: v(() => [
|
|
848
|
-
b(m, {
|
|
849
|
-
class: "!flex items-center justify-center size-6",
|
|
850
|
-
size: "small",
|
|
851
|
-
name: "hashtag",
|
|
852
|
-
"fill-type": "none"
|
|
853
|
-
})
|
|
854
|
-
]),
|
|
855
|
-
_: 1
|
|
856
|
-
}, 8, ["title"])
|
|
857
|
-
]),
|
|
858
|
-
_: 1
|
|
859
|
-
}, 8, ["class", "model-value", "on-upload-img", "language", "theme", "preview", "toolbars"]))
|
|
860
|
-
]);
|
|
861
|
-
}
|
|
862
|
-
const je = /* @__PURE__ */ D(Z, [["render", Y]]);
|
|
863
|
-
export {
|
|
864
|
-
je as default
|
|
865
|
-
};
|