markdown-flow-ui 0.2.14 → 0.2.16-dev.1
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 +7 -0
- package/dist/assets/markdown-flow-ui.css +10 -1
- package/dist/components/ContentRender/CodeBlock.cjs +1 -1
- package/dist/components/ContentRender/CodeBlock.cjs.map +1 -1
- package/dist/components/ContentRender/CodeBlock.d.ts +5 -0
- package/dist/components/ContentRender/CodeBlock.es.js +41 -38
- package/dist/components/ContentRender/CodeBlock.es.js.map +1 -1
- package/dist/components/ContentRender/ContentRender.cjs +2 -2
- package/dist/components/ContentRender/ContentRender.cjs.map +1 -1
- package/dist/components/ContentRender/ContentRender.d.ts +12 -4
- package/dist/components/ContentRender/ContentRender.es.js +436 -306
- package/dist/components/ContentRender/ContentRender.es.js.map +1 -1
- package/dist/components/ContentRender/IframeSandbox.cjs +7 -7
- package/dist/components/ContentRender/IframeSandbox.cjs.map +1 -1
- package/dist/components/ContentRender/IframeSandbox.d.ts +5 -1
- package/dist/components/ContentRender/IframeSandbox.es.js +311 -266
- package/dist/components/ContentRender/IframeSandbox.es.js.map +1 -1
- package/dist/components/ContentRender/MarkdownFlowInput.cjs +1 -1
- package/dist/components/ContentRender/MarkdownFlowInput.cjs.map +1 -1
- package/dist/components/ContentRender/MarkdownFlowInput.d.ts +5 -1
- package/dist/components/ContentRender/MarkdownFlowInput.es.js +37 -32
- package/dist/components/ContentRender/MarkdownFlowInput.es.js.map +1 -1
- package/dist/components/ContentRender/SandboxApp.cjs +2 -2
- package/dist/components/ContentRender/SandboxApp.cjs.map +1 -1
- package/dist/components/ContentRender/SandboxApp.d.ts +5 -1
- package/dist/components/ContentRender/SandboxApp.es.js +108 -103
- package/dist/components/ContentRender/SandboxApp.es.js.map +1 -1
- package/dist/components/ContentRender/blackboard-vendor.d.ts +1 -1
- package/dist/components/ContentRender/contentRenderI18n.cjs +1 -1
- package/dist/components/ContentRender/contentRenderI18n.cjs.map +1 -1
- package/dist/components/ContentRender/contentRenderI18n.d.ts +6 -1
- package/dist/components/ContentRender/contentRenderI18n.es.js +5 -56
- package/dist/components/ContentRender/contentRenderI18n.es.js.map +1 -1
- package/dist/components/ContentRender/contentRenderI18n.test.d.ts +1 -0
- package/dist/components/ContentRender/index.cjs +1 -1
- package/dist/components/ContentRender/index.d.ts +11 -11
- package/dist/components/ContentRender/index.es.js +1 -2
- package/dist/components/ContentRender/index.es.js.map +1 -1
- package/dist/components/ContentRender/locales/contentRender.json.cjs +2 -0
- package/dist/components/ContentRender/locales/contentRender.json.cjs.map +1 -0
- package/dist/components/ContentRender/locales/contentRender.json.d.ts +90 -0
- package/dist/components/ContentRender/locales/contentRender.json.es.js +11 -0
- package/dist/components/ContentRender/locales/contentRender.json.es.js.map +1 -0
- package/dist/components/ContentRender/plugins/CustomVariable.cjs +1 -1
- package/dist/components/ContentRender/plugins/CustomVariable.cjs.map +1 -1
- package/dist/components/ContentRender/plugins/CustomVariable.d.ts +7 -3
- package/dist/components/ContentRender/plugins/CustomVariable.es.js +165 -151
- package/dist/components/ContentRender/plugins/CustomVariable.es.js.map +1 -1
- package/dist/components/ContentRender/plugins/MermaidChart.cjs +1 -1
- package/dist/components/ContentRender/plugins/MermaidChart.cjs.map +1 -1
- package/dist/components/ContentRender/plugins/MermaidChart.d.ts +1 -0
- package/dist/components/ContentRender/plugins/MermaidChart.es.js +68 -44
- package/dist/components/ContentRender/plugins/MermaidChart.es.js.map +1 -1
- package/dist/components/ContentRender/typewriterPacing.fixtures.d.ts +14 -0
- package/dist/components/ContentRender/utils/typewriter-pacing.cjs +3 -0
- package/dist/components/ContentRender/utils/typewriter-pacing.cjs.map +1 -0
- package/dist/components/ContentRender/utils/typewriter-pacing.d.ts +27 -0
- package/dist/components/ContentRender/utils/typewriter-pacing.es.js +98 -0
- package/dist/components/ContentRender/utils/typewriter-pacing.es.js.map +1 -0
- package/dist/components/ContentRender/utils/typewriter-pacing.test.d.ts +1 -0
- package/dist/components/MarkdownFlow/MarkdownFlow.cjs +1 -1
- package/dist/components/MarkdownFlow/MarkdownFlow.cjs.map +1 -1
- package/dist/components/MarkdownFlow/MarkdownFlow.d.ts +12 -4
- package/dist/components/MarkdownFlow/MarkdownFlow.es.js +51 -39
- package/dist/components/MarkdownFlow/MarkdownFlow.es.js.map +1 -1
- package/dist/components/MarkdownFlow/ScrollToBottomButton.cjs +1 -1
- package/dist/components/MarkdownFlow/ScrollToBottomButton.cjs.map +1 -1
- package/dist/components/MarkdownFlow/ScrollToBottomButton.d.ts +31 -1
- package/dist/components/MarkdownFlow/ScrollToBottomButton.es.js +46 -17
- package/dist/components/MarkdownFlow/ScrollToBottomButton.es.js.map +1 -1
- package/dist/components/MarkdownFlow/ScrollToBottomControl.cjs +2 -0
- package/dist/components/MarkdownFlow/ScrollToBottomControl.cjs.map +1 -0
- package/dist/components/MarkdownFlow/ScrollToBottomControl.d.ts +18 -0
- package/dist/components/MarkdownFlow/ScrollToBottomControl.es.js +47 -0
- package/dist/components/MarkdownFlow/ScrollToBottomControl.es.js.map +1 -0
- package/dist/components/MarkdownFlow/ScrollableMarkdownFlow.cjs +1 -1
- package/dist/components/MarkdownFlow/ScrollableMarkdownFlow.cjs.map +1 -1
- package/dist/components/MarkdownFlow/ScrollableMarkdownFlow.d.ts +1 -1
- package/dist/components/MarkdownFlow/ScrollableMarkdownFlow.es.js +33 -52
- package/dist/components/MarkdownFlow/ScrollableMarkdownFlow.es.js.map +1 -1
- package/dist/components/MarkdownFlow/index.cjs +1 -1
- package/dist/components/MarkdownFlow/index.d.ts +9 -6
- package/dist/components/MarkdownFlow/index.es.js +6 -6
- package/dist/components/MarkdownFlow/index.es.js.map +1 -1
- package/dist/components/MarkdownFlow/useScrollToBottom.cjs +1 -1
- package/dist/components/MarkdownFlow/useScrollToBottom.cjs.map +1 -1
- package/dist/components/MarkdownFlow/useScrollToBottom.d.ts +40 -8
- package/dist/components/MarkdownFlow/useScrollToBottom.es.js +352 -83
- package/dist/components/MarkdownFlow/useScrollToBottom.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.cjs.map +1 -1
- package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.d.ts +5 -3
- package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.es.js +371 -324
- package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/CustomDialog.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/components/CustomDialog.cjs.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/CustomDialog.d.ts +10 -0
- package/dist/components/MarkdownFlowEditor/components/CustomDialog.es.js +22 -19
- package/dist/components/MarkdownFlowEditor/components/CustomDialog.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/CustomPopover.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/components/CustomPopover.cjs.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/CustomPopover.d.ts +8 -0
- package/dist/components/MarkdownFlowEditor/components/CustomPopover.es.js +19 -15
- package/dist/components/MarkdownFlowEditor/components/CustomPopover.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/EditorToolbar.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/components/EditorToolbar.cjs.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/EditorToolbar.d.ts +4 -1
- package/dist/components/MarkdownFlowEditor/components/EditorToolbar.es.js +99 -93
- package/dist/components/MarkdownFlowEditor/components/EditorToolbar.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/ImageInject.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/components/ImageInject.cjs.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/ImageInject.d.ts +1 -1
- package/dist/components/MarkdownFlowEditor/components/ImageInject.es.js +183 -182
- package/dist/components/MarkdownFlowEditor/components/ImageInject.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/VariableSearchDropdown.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/components/VariableSearchDropdown.cjs.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/VariableSearchDropdown.d.ts +1 -1
- package/dist/components/MarkdownFlowEditor/components/VariableSearchDropdown.es.js +107 -103
- package/dist/components/MarkdownFlowEditor/components/VariableSearchDropdown.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/VariableSelect.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/components/VariableSelect.cjs.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/VariableSelect.d.ts +1 -1
- package/dist/components/MarkdownFlowEditor/components/VariableSelect.es.js +106 -106
- package/dist/components/MarkdownFlowEditor/components/VariableSelect.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/VideoInject.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/components/VideoInject.cjs.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/VideoInject.es.js +64 -63
- package/dist/components/MarkdownFlowEditor/components/VideoInject.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/icons/ButtonIcon.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/components/icons/ButtonIcon.cjs.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/icons/ButtonIcon.es.js +13 -13
- package/dist/components/MarkdownFlowEditor/components/icons/ButtonIcon.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/icons/SearchBracesIcon.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/components/icons/SearchBracesIcon.cjs.map +1 -1
- package/dist/components/MarkdownFlowEditor/components/icons/SearchBracesIcon.es.js +12 -12
- package/dist/components/MarkdownFlowEditor/components/icons/SearchBracesIcon.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/editor-context.d.ts +1 -1
- package/dist/components/MarkdownFlowEditor/editorI18n.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/editorI18n.cjs.map +1 -1
- package/dist/components/MarkdownFlowEditor/editorI18n.d.ts +290 -0
- package/dist/components/MarkdownFlowEditor/editorI18n.es.js +12 -8
- package/dist/components/MarkdownFlowEditor/editorI18n.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/editorI18n.test.d.ts +1 -0
- package/dist/components/MarkdownFlowEditor/index.d.ts +6 -6
- package/dist/components/MarkdownFlowEditor/locales/ar-SA.json.cjs +2 -0
- package/dist/components/MarkdownFlowEditor/locales/ar-SA.json.cjs.map +1 -0
- package/dist/components/MarkdownFlowEditor/locales/ar-SA.json.d.ts +72 -0
- package/dist/components/MarkdownFlowEditor/locales/ar-SA.json.es.js +140 -0
- package/dist/components/MarkdownFlowEditor/locales/ar-SA.json.es.js.map +1 -0
- package/dist/components/MarkdownFlowEditor/locales/en-US.json.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/locales/en-US.json.d.ts +2 -0
- package/dist/components/MarkdownFlowEditor/locales/en-US.json.es.js +118 -114
- package/dist/components/MarkdownFlowEditor/locales/en-US.json.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/locales/fr-FR.json.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/locales/fr-FR.json.d.ts +2 -0
- package/dist/components/MarkdownFlowEditor/locales/fr-FR.json.es.js +118 -114
- package/dist/components/MarkdownFlowEditor/locales/fr-FR.json.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/locales/th-TH.json.cjs +2 -0
- package/dist/components/MarkdownFlowEditor/locales/th-TH.json.cjs.map +1 -0
- package/dist/components/MarkdownFlowEditor/locales/th-TH.json.d.ts +72 -0
- package/dist/components/MarkdownFlowEditor/locales/th-TH.json.es.js +140 -0
- package/dist/components/MarkdownFlowEditor/locales/th-TH.json.es.js.map +1 -0
- package/dist/components/MarkdownFlowEditor/locales/zh-CN.json.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/locales/zh-CN.json.d.ts +2 -0
- package/dist/components/MarkdownFlowEditor/locales/zh-CN.json.es.js +70 -66
- package/dist/components/MarkdownFlowEditor/locales/zh-CN.json.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/plugins/ImgPlaceholder.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/plugins/ImgPlaceholder.cjs.map +1 -1
- package/dist/components/MarkdownFlowEditor/plugins/ImgPlaceholder.es.js +40 -35
- package/dist/components/MarkdownFlowEditor/plugins/ImgPlaceholder.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/plugins/PlaceholderWidget.d.ts +1 -1
- package/dist/components/MarkdownFlowEditor/plugins/VideoPlaceholder.cjs +1 -1
- package/dist/components/MarkdownFlowEditor/plugins/VideoPlaceholder.cjs.map +1 -1
- package/dist/components/MarkdownFlowEditor/plugins/VideoPlaceholder.es.js +27 -23
- package/dist/components/MarkdownFlowEditor/plugins/VideoPlaceholder.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/plugins/mediaPlaceholderLabels.cjs +2 -0
- package/dist/components/MarkdownFlowEditor/plugins/mediaPlaceholderLabels.cjs.map +1 -0
- package/dist/components/MarkdownFlowEditor/plugins/mediaPlaceholderLabels.d.ts +7 -0
- package/dist/components/MarkdownFlowEditor/plugins/mediaPlaceholderLabels.es.js +12 -0
- package/dist/components/MarkdownFlowEditor/plugins/mediaPlaceholderLabels.es.js.map +1 -0
- package/dist/components/MarkdownFlowEditor/utils.d.ts +1 -1
- package/dist/components/Slide/MarkdownSlideScaling.cjs +1 -1
- package/dist/components/Slide/MarkdownSlideScaling.cjs.map +1 -1
- package/dist/components/Slide/MarkdownSlideScaling.d.ts +1 -1
- package/dist/components/Slide/MarkdownSlideScaling.es.js +20 -20
- package/dist/components/Slide/MarkdownSlideScaling.es.js.map +1 -1
- package/dist/components/Slide/MobilePlayerSettingsSheet.cjs +1 -1
- package/dist/components/Slide/MobilePlayerSettingsSheet.cjs.map +1 -1
- package/dist/components/Slide/MobilePlayerSettingsSheet.d.ts +7 -2
- package/dist/components/Slide/MobilePlayerSettingsSheet.es.js +61 -57
- package/dist/components/Slide/MobilePlayerSettingsSheet.es.js.map +1 -1
- package/dist/components/Slide/Player.cjs +1 -1
- package/dist/components/Slide/Player.cjs.map +1 -1
- package/dist/components/Slide/Player.d.ts +6 -6
- package/dist/components/Slide/Player.es.js +547 -541
- package/dist/components/Slide/Player.es.js.map +1 -1
- package/dist/components/Slide/Slide.cjs +1 -1
- package/dist/components/Slide/Slide.cjs.map +1 -1
- package/dist/components/Slide/Slide.d.ts +14 -12
- package/dist/components/Slide/Slide.es.js +745 -726
- package/dist/components/Slide/Slide.es.js.map +1 -1
- package/dist/components/Slide/SubtitleOverlay.cjs +1 -1
- package/dist/components/Slide/SubtitleOverlay.cjs.map +1 -1
- package/dist/components/Slide/SubtitleOverlay.d.ts +2 -2
- package/dist/components/Slide/SubtitleOverlay.es.js +17 -17
- package/dist/components/Slide/SubtitleOverlay.es.js.map +1 -1
- package/dist/components/Slide/diff-utils.d.ts +1 -1
- package/dist/components/Slide/index.d.ts +12 -12
- package/dist/components/Slide/locales/slide.json.cjs +2 -0
- package/dist/components/Slide/locales/slide.json.cjs.map +1 -0
- package/dist/components/Slide/locales/slide.json.d.ts +205 -0
- package/dist/components/Slide/locales/slide.json.es.js +11 -0
- package/dist/components/Slide/locales/slide.json.es.js.map +1 -0
- package/dist/components/Slide/slideI18n.cjs +1 -1
- package/dist/components/Slide/slideI18n.cjs.map +1 -1
- package/dist/components/Slide/slideI18n.d.ts +6 -3
- package/dist/components/Slide/slideI18n.es.js +10 -155
- package/dist/components/Slide/slideI18n.es.js.map +1 -1
- package/dist/components/Slide/useSlide.d.ts +1 -1
- package/dist/components/Slide/utils/appendedMarkerAdvance.d.ts +1 -1
- package/dist/components/Slide/utils/audioSegments.d.ts +1 -1
- package/dist/components/Slide/utils/interactionResolution.d.ts +2 -2
- package/dist/components/Slide/utils/listenModeElementList.d.ts +2 -2
- package/dist/components/Slide/utils/markdownScaling.d.ts +1 -1
- package/dist/components/Slide/utils/playerCustomActions.d.ts +2 -2
- package/dist/components/Slide/utils/playerKeyboardShortcuts.cjs +1 -1
- package/dist/components/Slide/utils/playerKeyboardShortcuts.cjs.map +1 -1
- package/dist/components/Slide/utils/playerKeyboardShortcuts.d.ts +1 -1
- package/dist/components/Slide/utils/playerKeyboardShortcuts.es.js +20 -20
- package/dist/components/Slide/utils/playerKeyboardShortcuts.es.js.map +1 -1
- package/dist/components/Slide/utils/runStreamFixture.d.ts +1 -1
- package/dist/components/Slide/utils/segmentSeek.d.ts +1 -1
- package/dist/components/Slide/utils/silentStepAutoAdvance.d.ts +1 -1
- package/dist/components/Slide/utils/streamingNavigation.d.ts +1 -1
- package/dist/components/Slide/utils/subtitleCue.d.ts +1 -1
- package/dist/components/Slide/utils/subtitleJumpNavigation.d.ts +1 -1
- package/dist/components/index.d.ts +22 -18
- package/dist/components/ui/button.cjs +1 -1
- package/dist/components/ui/button.cjs.map +1 -1
- package/dist/components/ui/button.es.js +12 -13
- package/dist/components/ui/button.es.js.map +1 -1
- package/dist/components/ui/checkbox.cjs +1 -1
- package/dist/components/ui/checkbox.cjs.map +1 -1
- package/dist/components/ui/checkbox.es.js +35 -35
- package/dist/components/ui/checkbox.es.js.map +1 -1
- package/dist/components/ui/dialog.cjs +1 -1
- package/dist/components/ui/dialog.cjs.map +1 -1
- package/dist/components/ui/dialog.d.ts +5 -1
- package/dist/components/ui/dialog.es.js +37 -37
- package/dist/components/ui/dialog.es.js.map +1 -1
- package/dist/components/ui/input.cjs +1 -1
- package/dist/components/ui/input.cjs.map +1 -1
- package/dist/components/ui/input.es.js +4 -4
- package/dist/components/ui/input.es.js.map +1 -1
- package/dist/components/ui/inputGroup/button.cjs +1 -1
- package/dist/components/ui/inputGroup/button.cjs.map +1 -1
- package/dist/components/ui/inputGroup/button.es.js +9 -10
- package/dist/components/ui/inputGroup/button.es.js.map +1 -1
- package/dist/components/ui/inputGroup/input-group.cjs +1 -1
- package/dist/components/ui/inputGroup/input-group.cjs.map +1 -1
- package/dist/components/ui/inputGroup/input-group.d.ts +1 -1
- package/dist/components/ui/inputGroup/input-group.es.js +10 -10
- package/dist/components/ui/inputGroup/input-group.es.js.map +1 -1
- package/dist/components/ui/inputGroup/textarea.cjs +1 -1
- package/dist/components/ui/inputGroup/textarea.cjs.map +1 -1
- package/dist/components/ui/inputGroup/textarea.es.js +2 -2
- package/dist/components/ui/inputGroup/textarea.es.js.map +1 -1
- package/dist/components/ui/loading-overlay-card.cjs +2 -2
- package/dist/components/ui/loading-overlay-card.cjs.map +1 -1
- package/dist/components/ui/loading-overlay-card.es.js +11 -11
- package/dist/components/ui/loading-overlay-card.es.js.map +1 -1
- package/dist/components/ui/popover.cjs +1 -1
- package/dist/components/ui/popover.cjs.map +1 -1
- package/dist/components/ui/popover.es.js +6 -6
- package/dist/components/ui/popover.es.js.map +1 -1
- package/dist/components/ui/tooltip.cjs +1 -1
- package/dist/components/ui/tooltip.cjs.map +1 -1
- package/dist/components/ui/tooltip.es.js +16 -16
- package/dist/components/ui/tooltip.es.js.map +1 -1
- package/dist/editor.d.ts +2 -2
- package/dist/fonts/KaTeX_AMS-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_AMS-Regular.woff +0 -0
- package/dist/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- package/dist/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- package/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/dist/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- package/dist/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- package/dist/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/dist/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Main-Bold.ttf +0 -0
- package/dist/fonts/KaTeX_Main-Bold.woff +0 -0
- package/dist/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/dist/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- package/dist/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- package/dist/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/dist/fonts/KaTeX_Main-Italic.ttf +0 -0
- package/dist/fonts/KaTeX_Main-Italic.woff +0 -0
- package/dist/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/dist/fonts/KaTeX_Main-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Main-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- package/dist/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- package/dist/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/dist/fonts/KaTeX_Math-Italic.ttf +0 -0
- package/dist/fonts/KaTeX_Math-Italic.woff +0 -0
- package/dist/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/dist/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- package/dist/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- package/dist/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/dist/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- package/dist/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- package/dist/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/dist/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- package/dist/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Script-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Script-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Size1-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Size1-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Size2-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Size2-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Size3-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Size3-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Size4-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Size4-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.es.js +22 -19
- package/dist/index.es.js.map +1 -1
- package/dist/lib/locale.cjs +1 -1
- package/dist/lib/locale.cjs.map +1 -1
- package/dist/lib/locale.d.ts +5 -1
- package/dist/lib/locale.es.js +26 -13
- package/dist/lib/locale.es.js.map +1 -1
- package/dist/lib/locale.test.d.ts +1 -0
- package/dist/lib/useDetachedLanguage.cjs +2 -0
- package/dist/lib/useDetachedLanguage.cjs.map +1 -0
- package/dist/lib/useDetachedLanguage.d.ts +3 -0
- package/dist/lib/useDetachedLanguage.es.js +25 -0
- package/dist/lib/useDetachedLanguage.es.js.map +1 -0
- package/dist/lib/useResolvedDirection.cjs +2 -0
- package/dist/lib/useResolvedDirection.cjs.map +1 -0
- package/dist/lib/useResolvedDirection.d.ts +6 -0
- package/dist/lib/useResolvedDirection.es.js +37 -0
- package/dist/lib/useResolvedDirection.es.js.map +1 -0
- package/dist/markdown-flow-ui-lib.css +1 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.es.js +6 -6
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.es.js +21 -21
- package/dist/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs +2 -2
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.es.js +100 -100
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +38 -38
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +9 -9
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-popover/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-popover/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-popover/dist/index.es.js +95 -95
- package/dist/node_modules/@radix-ui/react-popover/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.es.js +48 -48
- package/dist/node_modules/@radix-ui/react-popper/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.es.js +6 -6
- package/dist/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.es.js +9 -9
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.es.js +17 -17
- package/dist/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.es.js +100 -100
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.es.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js +6 -6
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js.map +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/index.cjs +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/index.cjs.map +1 -1
- package/dist/node_modules/@uiw/react-codemirror/esm/index.es.js +27 -27
- package/dist/node_modules/@uiw/react-codemirror/esm/index.es.js.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/{chevron-down.cjs → chevrons-down.cjs} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-down.cjs.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/{chevron-down.es.js → chevrons-down.es.js} +6 -3
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-down.es.js.map +1 -0
- package/dist/node_modules/react-markdown/lib/index.cjs +1 -1
- package/dist/node_modules/react-markdown/lib/index.cjs.map +1 -1
- package/dist/node_modules/react-markdown/lib/index.es.js +39 -39
- package/dist/node_modules/react-markdown/lib/index.es.js.map +1 -1
- package/dist/renderer.cjs +1 -1
- package/dist/renderer.d.ts +18 -17
- package/dist/renderer.es.js +20 -17
- package/dist/renderer.es.js.map +1 -1
- package/dist/scroll.cjs +1 -1
- package/dist/scroll.d.ts +6 -3
- package/dist/scroll.es.js +4 -2
- package/dist/scroll.es.js.map +1 -1
- package/dist/slide.d.ts +3 -3
- package/package.json +5 -2
- package/dist/_virtual/jsx-runtime.cjs +0 -2
- package/dist/_virtual/jsx-runtime.cjs.map +0 -1
- package/dist/_virtual/jsx-runtime.es.js +0 -6
- package/dist/_virtual/jsx-runtime.es.js.map +0 -1
- package/dist/_virtual/jsx-runtime.es2.js +0 -5
- package/dist/_virtual/jsx-runtime.es2.js.map +0 -1
- package/dist/_virtual/jsx-runtime2.cjs +0 -2
- package/dist/_virtual/jsx-runtime2.cjs.map +0 -1
- package/dist/_virtual/react-jsx-runtime.development.cjs +0 -2
- package/dist/_virtual/react-jsx-runtime.development.cjs.map +0 -1
- package/dist/_virtual/react-jsx-runtime.development.es.js +0 -5
- package/dist/_virtual/react-jsx-runtime.development.es.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.production.cjs +0 -2
- package/dist/_virtual/react-jsx-runtime.production.cjs.map +0 -1
- package/dist/_virtual/react-jsx-runtime.production.es.js +0 -5
- package/dist/_virtual/react-jsx-runtime.production.es.js.map +0 -1
- package/dist/lib/localeTextMap.cjs +0 -2
- package/dist/lib/localeTextMap.cjs.map +0 -1
- package/dist/lib/localeTextMap.es.js +0 -5
- package/dist/lib/localeTextMap.es.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.cjs.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.es.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs +0 -24
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js +0 -409
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.cjs +0 -10
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.cjs.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.es.js +0 -36
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.es.js.map +0 -1
- package/dist/node_modules/react/jsx-runtime.cjs +0 -2
- package/dist/node_modules/react/jsx-runtime.cjs.map +0 -1
- package/dist/node_modules/react/jsx-runtime.es.js +0 -11
- package/dist/node_modules/react/jsx-runtime.es.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr-FR.json.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fr-FR.json.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="พิมพ์ '/' เพื่อแทรกเนื้อหาอย่างรวดเร็ว",o="โปรดป้อนเนื้อหาของคุณ",l="โปรดป้อนเนื้อหาของคุณ แล้วพิมพ์ / เพื่อดูตัวเลือกเพิ่มเติม",t="การตั้งค่า",a="ปิด",i="เพิ่มรูปภาพ",n="เพิ่มวิดีโอ",r="โปรดป้อน URL ของรูปภาพ",s="URL",c="ดูตัวอย่าง",d="โปรดป้อนชื่อรูปภาพ",b="ใช้รูปภาพ",u="ชื่อรูปภาพ",v="อัปโหลด",g="ลากไฟล์มาวางหรือคลิกเพื่ออัปโหลด",m="กำลังอัปโหลด...",h="อัปโหลดเสร็จสมบูรณ์",T="อัปโหลดไม่สำเร็จ โปรดลองอีกครั้ง",U="เพิ่มข้อความคงที่",I="ข้อความคงที่",p="เส้นแบ่ง",P="ชื่อรูปภาพ",L="สัดส่วนการปรับขนาด",B="ยกเลิก",C="โปรดป้อน URL ของรูปภาพ",f="โปรดป้อน URL ของรูปภาพที่ถูกต้อง",x="โปรดป้อน URL วิดีโอจาก Bilibili หรือ YouTube",S="URL",V="ดูตัวอย่าง",R="ใช้ทรัพยากร",E="โปรดป้อนชื่อวิดีโอ",D="ชื่อ",N="ชื่อวิดีโอ",w="วิดีโอ Bilibili",y="วิดีโอ YouTube",O="โปรดป้อน URL วิดีโอจาก Bilibili หรือ YouTube ที่ถูกต้อง",Y="ยกเลิก",k="ใช้วิดีโอ",A="ตัวอย่างจะแสดงที่นี่",F="ตัวอย่างวิดีโอ",M="รูปภาพ",q="วิดีโอ",Q="ตัวแปร",_="ข้อความคงที่",j="เลือกตัวแปร",H="ค้นหาตัวแปร",z="ไม่พบตัวแปร",G="ยังไม่มีตัวแปร",J="ชื่อตัวแปร",K="มีตัวแปรนี้อยู่แล้ว",W="ใช้ได้เฉพาะตัวอักษร ตัวเลข หรือขีดล่าง และห้ามมีช่องว่าง",X="ตัวแปรระบบ",Z="ตัวแปรที่กำหนดเอง",$="เพิ่มตัวแปร",ee="แทรกตัวแปรใหม่",oe="แทรกตัวแปรที่มีอยู่",le="แทรกผลลัพธ์การยืนยัน",te="แทรกลิงก์",ae="แทรกปุ่ม",ie="แทรกตัวเลือกเดียว",ne="ตัวเลือก 1",re="ตัวเลือก 2",se="แทรกตัวเลือกหลายรายการ",ce="แทรกช่องป้อนข้อมูล",de="โปรดป้อนข้อมูล",be="แทรกรูปภาพ",ue="แทรกวิดีโอ",ve={placeholder:e,placeholderCodeEdit:o,placeholderQuickEdit:l,dialogTitle:t,dialogCloseLabel:a,dialogTitleImage:i,dialogTitleVideo:n,imageUrlPlaceholder:r,imageUrlLabel:s,imageRunButton:c,imageTitlePlaceholder:d,imageUseButton:b,imageDefaultTitle:u,imageUploadLabel:v,imageUploadPlaceholder:g,imageUploading:m,imageUploadSuccess:h,imageUploadError:T,fixedTextPlaceholder:U,fixedTextTooltip:I,slashDivider:p,imageTitleLabel:P,imageScaleLabel:L,imageCancelButton:B,imageUrlRequired:C,imageInvalidUrl:f,videoUrlPlaceholder:x,videoUrlLabel:S,videoRunButton:V,videoUseButton:R,videoTitlePlaceholder:E,videoTitleLabel:D,videoDefaultTitle:N,videoDefaultTitleBilibili:w,videoDefaultTitleYoutube:y,videoInvalidUrl:O,videoCancelButton:Y,videoUseVideoButton:k,videoPreviewPlaceholder:A,videoPreviewTitle:F,slashImage:M,slashVideo:q,slashVariable:Q,slashFixedText:_,dialogTitleVariable:j,variableSearchPlaceholder:H,variableNotFound:z,variableEmpty:G,variableNamePlaceholder:J,variableAlreadyExists:K,variableNameInvalid:W,variableSectionSystem:X,variableSectionCustom:Z,variableAddNew:$,toolbarInsertNewVariable:ee,toolbarInsertExistingVariable:oe,toolbarConfirmOutput:le,toolbarInsertLink:te,toolbarInsertButton:ae,toolbarInsertSingleChoice:ie,toolbarChoiceOption1:ne,toolbarChoiceOption2:re,toolbarInsertMultiChoice:se,toolbarInsertInput:ce,toolbarInputPlaceholder:de,toolbarInsertImage:be,toolbarInsertVideo:ue};exports.default=ve;exports.dialogCloseLabel=a;exports.dialogTitle=t;exports.dialogTitleImage=i;exports.dialogTitleVariable=j;exports.dialogTitleVideo=n;exports.fixedTextPlaceholder=U;exports.fixedTextTooltip=I;exports.imageCancelButton=B;exports.imageDefaultTitle=u;exports.imageInvalidUrl=f;exports.imageRunButton=c;exports.imageScaleLabel=L;exports.imageTitleLabel=P;exports.imageTitlePlaceholder=d;exports.imageUploadError=T;exports.imageUploadLabel=v;exports.imageUploadPlaceholder=g;exports.imageUploadSuccess=h;exports.imageUploading=m;exports.imageUrlLabel=s;exports.imageUrlPlaceholder=r;exports.imageUrlRequired=C;exports.imageUseButton=b;exports.placeholder=e;exports.placeholderCodeEdit=o;exports.placeholderQuickEdit=l;exports.slashDivider=p;exports.slashFixedText=_;exports.slashImage=M;exports.slashVariable=Q;exports.slashVideo=q;exports.toolbarChoiceOption1=ne;exports.toolbarChoiceOption2=re;exports.toolbarConfirmOutput=le;exports.toolbarInputPlaceholder=de;exports.toolbarInsertButton=ae;exports.toolbarInsertExistingVariable=oe;exports.toolbarInsertImage=be;exports.toolbarInsertInput=ce;exports.toolbarInsertLink=te;exports.toolbarInsertMultiChoice=se;exports.toolbarInsertNewVariable=ee;exports.toolbarInsertSingleChoice=ie;exports.toolbarInsertVideo=ue;exports.variableAddNew=$;exports.variableAlreadyExists=K;exports.variableEmpty=G;exports.variableNameInvalid=W;exports.variableNamePlaceholder=J;exports.variableNotFound=z;exports.variableSearchPlaceholder=H;exports.variableSectionCustom=Z;exports.variableSectionSystem=X;exports.videoCancelButton=Y;exports.videoDefaultTitle=N;exports.videoDefaultTitleBilibili=w;exports.videoDefaultTitleYoutube=y;exports.videoInvalidUrl=O;exports.videoPreviewPlaceholder=A;exports.videoPreviewTitle=F;exports.videoRunButton=V;exports.videoTitleLabel=D;exports.videoTitlePlaceholder=E;exports.videoUrlLabel=S;exports.videoUrlPlaceholder=x;exports.videoUseButton=R;exports.videoUseVideoButton=k;
|
|
2
|
+
//# sourceMappingURL=th-TH.json.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"th-TH.json.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"placeholder": "พิมพ์ '/' เพื่อแทรกเนื้อหาอย่างรวดเร็ว",
|
|
3
|
+
"placeholderCodeEdit": "โปรดป้อนเนื้อหาของคุณ",
|
|
4
|
+
"placeholderQuickEdit": "โปรดป้อนเนื้อหาของคุณ แล้วพิมพ์ / เพื่อดูตัวเลือกเพิ่มเติม",
|
|
5
|
+
"dialogTitle": "การตั้งค่า",
|
|
6
|
+
"dialogCloseLabel": "ปิด",
|
|
7
|
+
"dialogTitleImage": "เพิ่มรูปภาพ",
|
|
8
|
+
"dialogTitleVideo": "เพิ่มวิดีโอ",
|
|
9
|
+
"imageUrlPlaceholder": "โปรดป้อน URL ของรูปภาพ",
|
|
10
|
+
"imageUrlLabel": "URL",
|
|
11
|
+
"imageRunButton": "ดูตัวอย่าง",
|
|
12
|
+
"imageTitlePlaceholder": "โปรดป้อนชื่อรูปภาพ",
|
|
13
|
+
"imageUseButton": "ใช้รูปภาพ",
|
|
14
|
+
"imageDefaultTitle": "ชื่อรูปภาพ",
|
|
15
|
+
"imageUploadLabel": "อัปโหลด",
|
|
16
|
+
"imageUploadPlaceholder": "ลากไฟล์มาวางหรือคลิกเพื่ออัปโหลด",
|
|
17
|
+
"imageUploading": "กำลังอัปโหลด...",
|
|
18
|
+
"imageUploadSuccess": "อัปโหลดเสร็จสมบูรณ์",
|
|
19
|
+
"imageUploadError": "อัปโหลดไม่สำเร็จ โปรดลองอีกครั้ง",
|
|
20
|
+
"fixedTextPlaceholder": "เพิ่มข้อความคงที่",
|
|
21
|
+
"fixedTextTooltip": "ข้อความคงที่",
|
|
22
|
+
"slashDivider": "เส้นแบ่ง",
|
|
23
|
+
"imageTitleLabel": "ชื่อรูปภาพ",
|
|
24
|
+
"imageScaleLabel": "สัดส่วนการปรับขนาด",
|
|
25
|
+
"imageCancelButton": "ยกเลิก",
|
|
26
|
+
"imageUrlRequired": "โปรดป้อน URL ของรูปภาพ",
|
|
27
|
+
"imageInvalidUrl": "โปรดป้อน URL ของรูปภาพที่ถูกต้อง",
|
|
28
|
+
"videoUrlPlaceholder": "โปรดป้อน URL วิดีโอจาก Bilibili หรือ YouTube",
|
|
29
|
+
"videoUrlLabel": "URL",
|
|
30
|
+
"videoRunButton": "ดูตัวอย่าง",
|
|
31
|
+
"videoUseButton": "ใช้ทรัพยากร",
|
|
32
|
+
"videoTitlePlaceholder": "โปรดป้อนชื่อวิดีโอ",
|
|
33
|
+
"videoTitleLabel": "ชื่อ",
|
|
34
|
+
"videoDefaultTitle": "ชื่อวิดีโอ",
|
|
35
|
+
"videoDefaultTitleBilibili": "วิดีโอ Bilibili",
|
|
36
|
+
"videoDefaultTitleYoutube": "วิดีโอ YouTube",
|
|
37
|
+
"videoInvalidUrl": "โปรดป้อน URL วิดีโอจาก Bilibili หรือ YouTube ที่ถูกต้อง",
|
|
38
|
+
"videoCancelButton": "ยกเลิก",
|
|
39
|
+
"videoUseVideoButton": "ใช้วิดีโอ",
|
|
40
|
+
"videoPreviewPlaceholder": "ตัวอย่างจะแสดงที่นี่",
|
|
41
|
+
"videoPreviewTitle": "ตัวอย่างวิดีโอ",
|
|
42
|
+
"slashImage": "รูปภาพ",
|
|
43
|
+
"slashVideo": "วิดีโอ",
|
|
44
|
+
"slashVariable": "ตัวแปร",
|
|
45
|
+
"slashFixedText": "ข้อความคงที่",
|
|
46
|
+
"dialogTitleVariable": "เลือกตัวแปร",
|
|
47
|
+
"variableSearchPlaceholder": "ค้นหาตัวแปร",
|
|
48
|
+
"variableNotFound": "ไม่พบตัวแปร",
|
|
49
|
+
"variableEmpty": "ยังไม่มีตัวแปร",
|
|
50
|
+
"variableNamePlaceholder": "ชื่อตัวแปร",
|
|
51
|
+
"variableAlreadyExists": "มีตัวแปรนี้อยู่แล้ว",
|
|
52
|
+
"variableNameInvalid": "ใช้ได้เฉพาะตัวอักษร ตัวเลข หรือขีดล่าง และห้ามมีช่องว่าง",
|
|
53
|
+
"variableSectionSystem": "ตัวแปรระบบ",
|
|
54
|
+
"variableSectionCustom": "ตัวแปรที่กำหนดเอง",
|
|
55
|
+
"variableAddNew": "เพิ่มตัวแปร",
|
|
56
|
+
"toolbarInsertNewVariable": "แทรกตัวแปรใหม่",
|
|
57
|
+
"toolbarInsertExistingVariable": "แทรกตัวแปรที่มีอยู่",
|
|
58
|
+
"toolbarConfirmOutput": "แทรกผลลัพธ์การยืนยัน",
|
|
59
|
+
"toolbarInsertLink": "แทรกลิงก์",
|
|
60
|
+
"toolbarInsertButton": "แทรกปุ่ม",
|
|
61
|
+
"toolbarInsertSingleChoice": "แทรกตัวเลือกเดียว",
|
|
62
|
+
"toolbarChoiceOption1": "ตัวเลือก 1",
|
|
63
|
+
"toolbarChoiceOption2": "ตัวเลือก 2",
|
|
64
|
+
"toolbarInsertMultiChoice": "แทรกตัวเลือกหลายรายการ",
|
|
65
|
+
"toolbarInsertInput": "แทรกช่องป้อนข้อมูล",
|
|
66
|
+
"toolbarInputPlaceholder": "โปรดป้อนข้อมูล",
|
|
67
|
+
"toolbarInsertImage": "แทรกรูปภาพ",
|
|
68
|
+
"toolbarInsertVideo": "แทรกวิดีโอ"
|
|
69
|
+
}
|
|
70
|
+
;
|
|
71
|
+
|
|
72
|
+
export default _default;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
const o = "พิมพ์ '/' เพื่อแทรกเนื้อหาอย่างรวดเร็ว", e = "โปรดป้อนเนื้อหาของคุณ", t = "โปรดป้อนเนื้อหาของคุณ แล้วพิมพ์ / เพื่อดูตัวเลือกเพิ่มเติม", l = "การตั้งค่า", bo = "ปิด", i = "เพิ่มรูปภาพ", a = "เพิ่มวิดีโอ", n = "โปรดป้อน URL ของรูปภาพ", uo = "URL", s = "ดูตัวอย่าง", c = "โปรดป้อนชื่อรูปภาพ", r = "ใช้รูปภาพ", d = "ชื่อรูปภาพ", b = "อัปโหลด", u = "ลากไฟล์มาวางหรือคลิกเพื่ออัปโหลด", v = "กำลังอัปโหลด...", g = "อัปโหลดเสร็จสมบูรณ์", m = "อัปโหลดไม่สำเร็จ โปรดลองอีกครั้ง", h = "เพิ่มข้อความคงที่", U = "ข้อความคงที่", T = "เส้นแบ่ง", L = "ชื่อรูปภาพ", I = "สัดส่วนการปรับขนาด", p = "ยกเลิก", B = "โปรดป้อน URL ของรูปภาพ", P = "โปรดป้อน URL ของรูปภาพที่ถูกต้อง", C = "โปรดป้อน URL วิดีโอจาก Bilibili หรือ YouTube", vo = "URL", R = "ดูตัวอย่าง", x = "ใช้ทรัพยากร", f = "โปรดป้อนชื่อวิดีโอ", V = "ชื่อ", S = "ชื่อวิดีโอ", E = "วิดีโอ Bilibili", D = "วิดีโอ YouTube", N = "โปรดป้อน URL วิดีโอจาก Bilibili หรือ YouTube ที่ถูกต้อง", w = "ยกเลิก", Y = "ใช้วิดีโอ", y = "ตัวอย่างจะแสดงที่นี่", O = "ตัวอย่างวิดีโอ", k = "รูปภาพ", A = "วิดีโอ", F = "ตัวแปร", q = "ข้อความคงที่", H = "เลือกตัวแปร", M = "ค้นหาตัวแปร", Q = "ไม่พบตัวแปร", j = "ยังไม่มีตัวแปร", z = "ชื่อตัวแปร", G = "มีตัวแปรนี้อยู่แล้ว", J = "ใช้ได้เฉพาะตัวอักษร ตัวเลข หรือขีดล่าง และห้ามมีช่องว่าง", K = "ตัวแปรระบบ", W = "ตัวแปรที่กำหนดเอง", X = "เพิ่มตัวแปร", Z = "แทรกตัวแปรใหม่", _ = "แทรกตัวแปรที่มีอยู่", $ = "แทรกผลลัพธ์การยืนยัน", oo = "แทรกลิงก์", eo = "แทรกปุ่ม", to = "แทรกตัวเลือกเดียว", lo = "ตัวเลือก 1", io = "ตัวเลือก 2", ao = "แทรกตัวเลือกหลายรายการ", no = "แทรกช่องป้อนข้อมูล", so = "โปรดป้อนข้อมูล", co = "แทรกรูปภาพ", ro = "แทรกวิดีโอ", go = {
|
|
2
|
+
placeholder: o,
|
|
3
|
+
placeholderCodeEdit: e,
|
|
4
|
+
placeholderQuickEdit: t,
|
|
5
|
+
dialogTitle: l,
|
|
6
|
+
dialogCloseLabel: "ปิด",
|
|
7
|
+
dialogTitleImage: i,
|
|
8
|
+
dialogTitleVideo: a,
|
|
9
|
+
imageUrlPlaceholder: n,
|
|
10
|
+
imageUrlLabel: "URL",
|
|
11
|
+
imageRunButton: s,
|
|
12
|
+
imageTitlePlaceholder: c,
|
|
13
|
+
imageUseButton: r,
|
|
14
|
+
imageDefaultTitle: d,
|
|
15
|
+
imageUploadLabel: b,
|
|
16
|
+
imageUploadPlaceholder: u,
|
|
17
|
+
imageUploading: v,
|
|
18
|
+
imageUploadSuccess: g,
|
|
19
|
+
imageUploadError: m,
|
|
20
|
+
fixedTextPlaceholder: h,
|
|
21
|
+
fixedTextTooltip: U,
|
|
22
|
+
slashDivider: T,
|
|
23
|
+
imageTitleLabel: L,
|
|
24
|
+
imageScaleLabel: I,
|
|
25
|
+
imageCancelButton: p,
|
|
26
|
+
imageUrlRequired: B,
|
|
27
|
+
imageInvalidUrl: P,
|
|
28
|
+
videoUrlPlaceholder: C,
|
|
29
|
+
videoUrlLabel: "URL",
|
|
30
|
+
videoRunButton: R,
|
|
31
|
+
videoUseButton: x,
|
|
32
|
+
videoTitlePlaceholder: f,
|
|
33
|
+
videoTitleLabel: V,
|
|
34
|
+
videoDefaultTitle: S,
|
|
35
|
+
videoDefaultTitleBilibili: E,
|
|
36
|
+
videoDefaultTitleYoutube: D,
|
|
37
|
+
videoInvalidUrl: N,
|
|
38
|
+
videoCancelButton: w,
|
|
39
|
+
videoUseVideoButton: Y,
|
|
40
|
+
videoPreviewPlaceholder: y,
|
|
41
|
+
videoPreviewTitle: O,
|
|
42
|
+
slashImage: k,
|
|
43
|
+
slashVideo: A,
|
|
44
|
+
slashVariable: F,
|
|
45
|
+
slashFixedText: q,
|
|
46
|
+
dialogTitleVariable: H,
|
|
47
|
+
variableSearchPlaceholder: M,
|
|
48
|
+
variableNotFound: Q,
|
|
49
|
+
variableEmpty: j,
|
|
50
|
+
variableNamePlaceholder: z,
|
|
51
|
+
variableAlreadyExists: G,
|
|
52
|
+
variableNameInvalid: J,
|
|
53
|
+
variableSectionSystem: K,
|
|
54
|
+
variableSectionCustom: W,
|
|
55
|
+
variableAddNew: X,
|
|
56
|
+
toolbarInsertNewVariable: Z,
|
|
57
|
+
toolbarInsertExistingVariable: _,
|
|
58
|
+
toolbarConfirmOutput: $,
|
|
59
|
+
toolbarInsertLink: oo,
|
|
60
|
+
toolbarInsertButton: eo,
|
|
61
|
+
toolbarInsertSingleChoice: to,
|
|
62
|
+
toolbarChoiceOption1: lo,
|
|
63
|
+
toolbarChoiceOption2: io,
|
|
64
|
+
toolbarInsertMultiChoice: ao,
|
|
65
|
+
toolbarInsertInput: no,
|
|
66
|
+
toolbarInputPlaceholder: so,
|
|
67
|
+
toolbarInsertImage: co,
|
|
68
|
+
toolbarInsertVideo: ro
|
|
69
|
+
};
|
|
70
|
+
export {
|
|
71
|
+
go as default,
|
|
72
|
+
bo as dialogCloseLabel,
|
|
73
|
+
l as dialogTitle,
|
|
74
|
+
i as dialogTitleImage,
|
|
75
|
+
H as dialogTitleVariable,
|
|
76
|
+
a as dialogTitleVideo,
|
|
77
|
+
h as fixedTextPlaceholder,
|
|
78
|
+
U as fixedTextTooltip,
|
|
79
|
+
p as imageCancelButton,
|
|
80
|
+
d as imageDefaultTitle,
|
|
81
|
+
P as imageInvalidUrl,
|
|
82
|
+
s as imageRunButton,
|
|
83
|
+
I as imageScaleLabel,
|
|
84
|
+
L as imageTitleLabel,
|
|
85
|
+
c as imageTitlePlaceholder,
|
|
86
|
+
m as imageUploadError,
|
|
87
|
+
b as imageUploadLabel,
|
|
88
|
+
u as imageUploadPlaceholder,
|
|
89
|
+
g as imageUploadSuccess,
|
|
90
|
+
v as imageUploading,
|
|
91
|
+
uo as imageUrlLabel,
|
|
92
|
+
n as imageUrlPlaceholder,
|
|
93
|
+
B as imageUrlRequired,
|
|
94
|
+
r as imageUseButton,
|
|
95
|
+
o as placeholder,
|
|
96
|
+
e as placeholderCodeEdit,
|
|
97
|
+
t as placeholderQuickEdit,
|
|
98
|
+
T as slashDivider,
|
|
99
|
+
q as slashFixedText,
|
|
100
|
+
k as slashImage,
|
|
101
|
+
F as slashVariable,
|
|
102
|
+
A as slashVideo,
|
|
103
|
+
lo as toolbarChoiceOption1,
|
|
104
|
+
io as toolbarChoiceOption2,
|
|
105
|
+
$ as toolbarConfirmOutput,
|
|
106
|
+
so as toolbarInputPlaceholder,
|
|
107
|
+
eo as toolbarInsertButton,
|
|
108
|
+
_ as toolbarInsertExistingVariable,
|
|
109
|
+
co as toolbarInsertImage,
|
|
110
|
+
no as toolbarInsertInput,
|
|
111
|
+
oo as toolbarInsertLink,
|
|
112
|
+
ao as toolbarInsertMultiChoice,
|
|
113
|
+
Z as toolbarInsertNewVariable,
|
|
114
|
+
to as toolbarInsertSingleChoice,
|
|
115
|
+
ro as toolbarInsertVideo,
|
|
116
|
+
X as variableAddNew,
|
|
117
|
+
G as variableAlreadyExists,
|
|
118
|
+
j as variableEmpty,
|
|
119
|
+
J as variableNameInvalid,
|
|
120
|
+
z as variableNamePlaceholder,
|
|
121
|
+
Q as variableNotFound,
|
|
122
|
+
M as variableSearchPlaceholder,
|
|
123
|
+
W as variableSectionCustom,
|
|
124
|
+
K as variableSectionSystem,
|
|
125
|
+
w as videoCancelButton,
|
|
126
|
+
S as videoDefaultTitle,
|
|
127
|
+
E as videoDefaultTitleBilibili,
|
|
128
|
+
D as videoDefaultTitleYoutube,
|
|
129
|
+
N as videoInvalidUrl,
|
|
130
|
+
y as videoPreviewPlaceholder,
|
|
131
|
+
O as videoPreviewTitle,
|
|
132
|
+
R as videoRunButton,
|
|
133
|
+
V as videoTitleLabel,
|
|
134
|
+
f as videoTitlePlaceholder,
|
|
135
|
+
vo as videoUrlLabel,
|
|
136
|
+
C as videoUrlPlaceholder,
|
|
137
|
+
x as videoUseButton,
|
|
138
|
+
Y as videoUseVideoButton
|
|
139
|
+
};
|
|
140
|
+
//# sourceMappingURL=th-TH.json.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"th-TH.json.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="输入'/'快速插入内容",o="请输入你的内容",t="请输入你的内容,输入 / 唤起更多",l="设置",a="
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="输入'/'快速插入内容",o="请输入你的内容",t="请输入你的内容,输入 / 唤起更多",l="设置",a="关闭",i="添加图片",n="添加视频",r="请输入图片地址",s="URL",c="预览",d="请输入图片标题",b="使用图片",u="图片名称",v="上传",g="拖拽文件或点击上传",m="正在上传...",h="上传完成",T="上传失败,请重试",I="添加固定文本",U="固定文本",p="分割线",P="图片标题",C="缩放比例",B="取消",L="请输入图片地址",f="请输入有效的图片地址",x="请输入 B 站或 YouTube 视频链接",S="URL",V="预览",E="使用资源",N="请输入视频标题",D="标题",w="视频标题",R="哔哩哔哩视频",y="YouTube 视频",O="请输入有效的 B 站或 YouTube 视频链接",Y="取消",k="使用视频",A="预览将在这里显示",F="视频预览",M="图片",q="视频",Q="变量",_="固定文本",j="选择变量",z="搜索变量",G="未找到变量",H="暂无变量",J="变量名称",K="变量已存在",W="仅可包含字母、数字或下划线,且不能有空格",X="系统变量",Z="自定义变量",$="添加变量",ee="插入新变量",oe="插入已有变量",te="插入确定内容",le="插入链接",ae="插入按钮",ie="插入单选",ne="选项1",re="选项2",se="插入多选",ce="插入输入框",de="请输入",be="插入图片",ue="插入视频",ve={placeholder:e,placeholderCodeEdit:o,placeholderQuickEdit:t,dialogTitle:l,dialogCloseLabel:a,dialogTitleImage:i,dialogTitleVideo:n,imageUrlPlaceholder:r,imageUrlLabel:s,imageRunButton:c,imageTitlePlaceholder:d,imageUseButton:b,imageDefaultTitle:u,imageUploadLabel:v,imageUploadPlaceholder:g,imageUploading:m,imageUploadSuccess:h,imageUploadError:T,fixedTextPlaceholder:I,fixedTextTooltip:U,slashDivider:p,imageTitleLabel:P,imageScaleLabel:C,imageCancelButton:B,imageUrlRequired:L,imageInvalidUrl:f,videoUrlPlaceholder:x,videoUrlLabel:S,videoRunButton:V,videoUseButton:E,videoTitlePlaceholder:N,videoTitleLabel:D,videoDefaultTitle:w,videoDefaultTitleBilibili:R,videoDefaultTitleYoutube:y,videoInvalidUrl:O,videoCancelButton:Y,videoUseVideoButton:k,videoPreviewPlaceholder:A,videoPreviewTitle:F,slashImage:M,slashVideo:q,slashVariable:Q,slashFixedText:_,dialogTitleVariable:j,variableSearchPlaceholder:z,variableNotFound:G,variableEmpty:H,variableNamePlaceholder:J,variableAlreadyExists:K,variableNameInvalid:W,variableSectionSystem:X,variableSectionCustom:Z,variableAddNew:$,toolbarInsertNewVariable:ee,toolbarInsertExistingVariable:oe,toolbarConfirmOutput:te,toolbarInsertLink:le,toolbarInsertButton:ae,toolbarInsertSingleChoice:ie,toolbarChoiceOption1:ne,toolbarChoiceOption2:re,toolbarInsertMultiChoice:se,toolbarInsertInput:ce,toolbarInputPlaceholder:de,toolbarInsertImage:be,toolbarInsertVideo:ue};exports.default=ve;exports.dialogCloseLabel=a;exports.dialogTitle=l;exports.dialogTitleImage=i;exports.dialogTitleVariable=j;exports.dialogTitleVideo=n;exports.fixedTextPlaceholder=I;exports.fixedTextTooltip=U;exports.imageCancelButton=B;exports.imageDefaultTitle=u;exports.imageInvalidUrl=f;exports.imageRunButton=c;exports.imageScaleLabel=C;exports.imageTitleLabel=P;exports.imageTitlePlaceholder=d;exports.imageUploadError=T;exports.imageUploadLabel=v;exports.imageUploadPlaceholder=g;exports.imageUploadSuccess=h;exports.imageUploading=m;exports.imageUrlLabel=s;exports.imageUrlPlaceholder=r;exports.imageUrlRequired=L;exports.imageUseButton=b;exports.placeholder=e;exports.placeholderCodeEdit=o;exports.placeholderQuickEdit=t;exports.slashDivider=p;exports.slashFixedText=_;exports.slashImage=M;exports.slashVariable=Q;exports.slashVideo=q;exports.toolbarChoiceOption1=ne;exports.toolbarChoiceOption2=re;exports.toolbarConfirmOutput=te;exports.toolbarInputPlaceholder=de;exports.toolbarInsertButton=ae;exports.toolbarInsertExistingVariable=oe;exports.toolbarInsertImage=be;exports.toolbarInsertInput=ce;exports.toolbarInsertLink=le;exports.toolbarInsertMultiChoice=se;exports.toolbarInsertNewVariable=ee;exports.toolbarInsertSingleChoice=ie;exports.toolbarInsertVideo=ue;exports.variableAddNew=$;exports.variableAlreadyExists=K;exports.variableEmpty=H;exports.variableNameInvalid=W;exports.variableNamePlaceholder=J;exports.variableNotFound=G;exports.variableSearchPlaceholder=z;exports.variableSectionCustom=Z;exports.variableSectionSystem=X;exports.videoCancelButton=Y;exports.videoDefaultTitle=w;exports.videoDefaultTitleBilibili=R;exports.videoDefaultTitleYoutube=y;exports.videoInvalidUrl=O;exports.videoPreviewPlaceholder=A;exports.videoPreviewTitle=F;exports.videoRunButton=V;exports.videoTitleLabel=D;exports.videoTitlePlaceholder=N;exports.videoUrlLabel=S;exports.videoUrlPlaceholder=x;exports.videoUseButton=E;exports.videoUseVideoButton=k;
|
|
2
2
|
//# sourceMappingURL=zh-CN.json.cjs.map
|
|
@@ -3,6 +3,7 @@ declare const _default: {
|
|
|
3
3
|
"placeholderCodeEdit": "请输入你的内容",
|
|
4
4
|
"placeholderQuickEdit": "请输入你的内容,输入 / 唤起更多",
|
|
5
5
|
"dialogTitle": "设置",
|
|
6
|
+
"dialogCloseLabel": "关闭",
|
|
6
7
|
"dialogTitleImage": "添加图片",
|
|
7
8
|
"dialogTitleVideo": "添加视频",
|
|
8
9
|
"imageUrlPlaceholder": "请输入图片地址",
|
|
@@ -37,6 +38,7 @@ declare const _default: {
|
|
|
37
38
|
"videoCancelButton": "取消",
|
|
38
39
|
"videoUseVideoButton": "使用视频",
|
|
39
40
|
"videoPreviewPlaceholder": "预览将在这里显示",
|
|
41
|
+
"videoPreviewTitle": "视频预览",
|
|
40
42
|
"slashImage": "图片",
|
|
41
43
|
"slashVideo": "视频",
|
|
42
44
|
"slashVariable": "变量",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
const o = "输入'/'快速插入内容", e = "请输入你的内容", t = "请输入你的内容,输入 / 唤起更多",
|
|
1
|
+
const o = "输入'/'快速插入内容", e = "请输入你的内容", t = "请输入你的内容,输入 / 唤起更多", X = "设置", Z = "关闭", l = "添加图片", a = "添加视频", i = "请输入图片地址", _ = "URL", $ = "预览", n = "请输入图片标题", s = "使用图片", c = "图片名称", oo = "上传", r = "拖拽文件或点击上传", d = "正在上传...", b = "上传完成", u = "上传失败,请重试", g = "添加固定文本", v = "固定文本", eo = "分割线", h = "图片标题", m = "缩放比例", to = "取消", T = "请输入图片地址", p = "请输入有效的图片地址", U = "请输入 B 站或 YouTube 视频链接", lo = "URL", ao = "预览", I = "使用资源", C = "请输入视频标题", io = "标题", B = "视频标题", L = "哔哩哔哩视频", P = "YouTube 视频", V = "请输入有效的 B 站或 YouTube 视频链接", no = "取消", x = "使用视频", f = "预览将在这里显示", R = "视频预览", so = "图片", co = "视频", ro = "变量", S = "固定文本", D = "选择变量", E = "搜索变量", N = "未找到变量", O = "暂无变量", w = "变量名称", Y = "变量已存在", y = "仅可包含字母、数字或下划线,且不能有空格", k = "系统变量", A = "自定义变量", F = "添加变量", q = "插入新变量", z = "插入已有变量", M = "插入确定内容", Q = "插入链接", j = "插入按钮", G = "插入单选", bo = "选项1", uo = "选项2", H = "插入多选", J = "插入输入框", go = "请输入", K = "插入图片", W = "插入视频", vo = {
|
|
2
2
|
placeholder: o,
|
|
3
3
|
placeholderCodeEdit: e,
|
|
4
4
|
placeholderQuickEdit: t,
|
|
5
5
|
dialogTitle: "设置",
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
dialogCloseLabel: "关闭",
|
|
7
|
+
dialogTitleImage: l,
|
|
8
|
+
dialogTitleVideo: a,
|
|
8
9
|
imageUrlPlaceholder: i,
|
|
9
10
|
imageUrlLabel: "URL",
|
|
10
11
|
imageRunButton: "预览",
|
|
@@ -28,107 +29,110 @@ const o = "输入'/'快速插入内容", e = "请输入你的内容", t = "请
|
|
|
28
29
|
videoUrlLabel: "URL",
|
|
29
30
|
videoRunButton: "预览",
|
|
30
31
|
videoUseButton: I,
|
|
31
|
-
videoTitlePlaceholder:
|
|
32
|
+
videoTitlePlaceholder: C,
|
|
32
33
|
videoTitleLabel: "标题",
|
|
33
|
-
videoDefaultTitle:
|
|
34
|
+
videoDefaultTitle: B,
|
|
34
35
|
videoDefaultTitleBilibili: L,
|
|
35
36
|
videoDefaultTitleYoutube: P,
|
|
36
37
|
videoInvalidUrl: V,
|
|
37
38
|
videoCancelButton: "取消",
|
|
38
39
|
videoUseVideoButton: x,
|
|
39
40
|
videoPreviewPlaceholder: f,
|
|
41
|
+
videoPreviewTitle: R,
|
|
40
42
|
slashImage: "图片",
|
|
41
43
|
slashVideo: "视频",
|
|
42
44
|
slashVariable: "变量",
|
|
43
|
-
slashFixedText:
|
|
44
|
-
dialogTitleVariable:
|
|
45
|
-
variableSearchPlaceholder:
|
|
46
|
-
variableNotFound:
|
|
47
|
-
variableEmpty:
|
|
48
|
-
variableNamePlaceholder:
|
|
45
|
+
slashFixedText: S,
|
|
46
|
+
dialogTitleVariable: D,
|
|
47
|
+
variableSearchPlaceholder: E,
|
|
48
|
+
variableNotFound: N,
|
|
49
|
+
variableEmpty: O,
|
|
50
|
+
variableNamePlaceholder: w,
|
|
49
51
|
variableAlreadyExists: Y,
|
|
50
|
-
variableNameInvalid:
|
|
51
|
-
variableSectionSystem:
|
|
52
|
-
variableSectionCustom:
|
|
53
|
-
variableAddNew:
|
|
54
|
-
toolbarInsertNewVariable:
|
|
55
|
-
toolbarInsertExistingVariable:
|
|
56
|
-
toolbarConfirmOutput:
|
|
57
|
-
toolbarInsertLink:
|
|
58
|
-
toolbarInsertButton:
|
|
59
|
-
toolbarInsertSingleChoice:
|
|
52
|
+
variableNameInvalid: y,
|
|
53
|
+
variableSectionSystem: k,
|
|
54
|
+
variableSectionCustom: A,
|
|
55
|
+
variableAddNew: F,
|
|
56
|
+
toolbarInsertNewVariable: q,
|
|
57
|
+
toolbarInsertExistingVariable: z,
|
|
58
|
+
toolbarConfirmOutput: M,
|
|
59
|
+
toolbarInsertLink: Q,
|
|
60
|
+
toolbarInsertButton: j,
|
|
61
|
+
toolbarInsertSingleChoice: G,
|
|
60
62
|
toolbarChoiceOption1: "选项1",
|
|
61
63
|
toolbarChoiceOption2: "选项2",
|
|
62
|
-
toolbarInsertMultiChoice:
|
|
63
|
-
toolbarInsertInput:
|
|
64
|
+
toolbarInsertMultiChoice: H,
|
|
65
|
+
toolbarInsertInput: J,
|
|
64
66
|
toolbarInputPlaceholder: "请输入",
|
|
65
|
-
toolbarInsertImage:
|
|
66
|
-
toolbarInsertVideo:
|
|
67
|
+
toolbarInsertImage: K,
|
|
68
|
+
toolbarInsertVideo: W
|
|
67
69
|
};
|
|
68
70
|
export {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
vo as default,
|
|
72
|
+
Z as dialogCloseLabel,
|
|
73
|
+
X as dialogTitle,
|
|
74
|
+
l as dialogTitleImage,
|
|
75
|
+
D as dialogTitleVariable,
|
|
76
|
+
a as dialogTitleVideo,
|
|
74
77
|
g as fixedTextPlaceholder,
|
|
75
78
|
v as fixedTextTooltip,
|
|
76
|
-
|
|
79
|
+
to as imageCancelButton,
|
|
77
80
|
c as imageDefaultTitle,
|
|
78
81
|
p as imageInvalidUrl,
|
|
79
|
-
|
|
82
|
+
$ as imageRunButton,
|
|
80
83
|
m as imageScaleLabel,
|
|
81
84
|
h as imageTitleLabel,
|
|
82
85
|
n as imageTitlePlaceholder,
|
|
83
86
|
u as imageUploadError,
|
|
84
|
-
|
|
87
|
+
oo as imageUploadLabel,
|
|
85
88
|
r as imageUploadPlaceholder,
|
|
86
89
|
b as imageUploadSuccess,
|
|
87
90
|
d as imageUploading,
|
|
88
|
-
|
|
91
|
+
_ as imageUrlLabel,
|
|
89
92
|
i as imageUrlPlaceholder,
|
|
90
93
|
T as imageUrlRequired,
|
|
91
94
|
s as imageUseButton,
|
|
92
95
|
o as placeholder,
|
|
93
96
|
e as placeholderCodeEdit,
|
|
94
97
|
t as placeholderQuickEdit,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
98
|
+
eo as slashDivider,
|
|
99
|
+
S as slashFixedText,
|
|
100
|
+
so as slashImage,
|
|
101
|
+
ro as slashVariable,
|
|
102
|
+
co as slashVideo,
|
|
103
|
+
bo as toolbarChoiceOption1,
|
|
104
|
+
uo as toolbarChoiceOption2,
|
|
105
|
+
M as toolbarConfirmOutput,
|
|
106
|
+
go as toolbarInputPlaceholder,
|
|
107
|
+
j as toolbarInsertButton,
|
|
108
|
+
z as toolbarInsertExistingVariable,
|
|
109
|
+
K as toolbarInsertImage,
|
|
110
|
+
J as toolbarInsertInput,
|
|
111
|
+
Q as toolbarInsertLink,
|
|
112
|
+
H as toolbarInsertMultiChoice,
|
|
113
|
+
q as toolbarInsertNewVariable,
|
|
114
|
+
G as toolbarInsertSingleChoice,
|
|
115
|
+
W as toolbarInsertVideo,
|
|
116
|
+
F as variableAddNew,
|
|
114
117
|
Y as variableAlreadyExists,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
118
|
+
O as variableEmpty,
|
|
119
|
+
y as variableNameInvalid,
|
|
120
|
+
w as variableNamePlaceholder,
|
|
121
|
+
N as variableNotFound,
|
|
122
|
+
E as variableSearchPlaceholder,
|
|
123
|
+
A as variableSectionCustom,
|
|
124
|
+
k as variableSectionSystem,
|
|
125
|
+
no as videoCancelButton,
|
|
126
|
+
B as videoDefaultTitle,
|
|
124
127
|
L as videoDefaultTitleBilibili,
|
|
125
128
|
P as videoDefaultTitleYoutube,
|
|
126
129
|
V as videoInvalidUrl,
|
|
127
130
|
f as videoPreviewPlaceholder,
|
|
128
|
-
|
|
129
|
-
ao as
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
R as videoPreviewTitle,
|
|
132
|
+
ao as videoRunButton,
|
|
133
|
+
io as videoTitleLabel,
|
|
134
|
+
C as videoTitlePlaceholder,
|
|
135
|
+
lo as videoUrlLabel,
|
|
132
136
|
U as videoUrlPlaceholder,
|
|
133
137
|
I as videoUseButton,
|
|
134
138
|
x as videoUseVideoButton
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh-CN.json.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zh-CN.json.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("../../../node_modules/@codemirror/view/dist/index.cjs"),f=require("../types.cjs"),x=require("../utils.cjs"),b=require("./PlaceholderWidget.cjs"),s=require("./mediaPlaceholderLabels.cjs"),P=/!\[([^\]]*)\]\(([^)]+)\)|<img\b[^>]*>/i,w=/===\s*(?:!\[[^\]]*\]\([^)]+\)|<img\b[^>]*>)\s*===|!\[[^\]]*\]\([^)]+\)|<img\b[^>]*>/gi,o=(e,r)=>{const t=new RegExp(`${r}\\s*=\\s*("(.*?)"|'(.*?)'|([^\\s"'<>]+))`,"i"),c=e.match(t);if(c)return c[2]??c[3]??c[4]},M=e=>Math.max(1,Math.min(1e3,Math.round(e))),D=e=>{const r=e?.[0]??"",t=x.unwrapFixedOutput(r),c=/^\s*===/.test(r);if(/^<img\b/i.test(t)){const p=o(t,"src")??"",u=o(t,"alt")??o(t,"title")??"",d=o(t,"width");let g;if(d){const m=Number.parseFloat(d);Number.isFinite(m)&&(g=M(m))}return{text:u,url:p,title:u,scalePercent:g,fixedOutput:c}}const l=t.match(P),n=l?.[1]??"",h=l?.[2]??"";return{text:n,url:h,title:n,scalePercent:void 0,fixedOutput:c}},i=new a.MatchDecorator({regexp:w,decoration:(e,r)=>{const t=D(e);return a.Decoration.replace({widget:new b.default(t.text||r.state.facet(s.mediaPlaceholderLabels).image,{tag:"image",url:t.url,title:t.title,scalePercent:t.scalePercent,fixedOutput:t.fixedOutput},"tag-image",f.SelectedOption.Image,r)})}}),O=a.ViewPlugin.fromClass(class{constructor(e){this.placeholders=i.createDeco(e)}update(e){if(e.startState.facet(s.mediaPlaceholderLabels)!==e.state.facet(s.mediaPlaceholderLabels)){this.placeholders=i.createDeco(e.view);return}this.placeholders=i.updateDeco(e,this.placeholders)}},{decorations:e=>e.placeholders,provide:e=>a.EditorView.atomicRanges.of(r=>r.plugin(e)?.placeholders||a.Decoration.none)});exports.default=O;
|
|
2
2
|
//# sourceMappingURL=ImgPlaceholder.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImgPlaceholder.cjs","sources":["../../../../src/components/MarkdownFlowEditor/plugins/ImgPlaceholder.ts"],"sourcesContent":["import {\n EditorView,\n Decoration,\n DecorationSet,\n ViewPlugin,\n ViewUpdate,\n MatchDecorator,\n} from \"@codemirror/view\";\nimport { SelectedOption } from \"../types\";\nimport { unwrapFixedOutput } from \"../utils\";\nimport PlaceholderWidget from \"./PlaceholderWidget\";\n\nconst imageMarkupRegexp = /!\\[([^\\]]*)\\]\\(([^)]+)\\)|<img\\b[^>]*>/i;\nconst agiImgContextRegexp =\n /===\\s*(?:!\\[[^\\]]*\\]\\([^)]+\\)|<img\\b[^>]*>)\\s*===|!\\[[^\\]]*\\]\\([^)]+\\)|<img\\b[^>]*>/gi;\n\nconst extractAttributeValue = (tag: string, attribute: string) => {\n const regexp = new RegExp(\n `${attribute}\\\\s*=\\\\s*(\"(.*?)\"|'(.*?)'|([^\\\\s\"'<>]+))`,\n \"i\"\n );\n const match = tag.match(regexp);\n if (!match) return undefined;\n return match[2] ?? match[3] ?? match[4];\n};\n\nconst clampScalePercent = (value: number) =>\n Math.max(1, Math.min(1000, Math.round(value)));\n\nconst getImageMatchInfo = (match: RegExpMatchArray) => {\n const source = match?.[0] ?? \"\";\n const raw = unwrapFixedOutput(source);\n const fixedOutput = /^\\s*===/.test(source);\n if (/^<img\\b/i.test(raw)) {\n const src = extractAttributeValue(raw, \"src\") ?? \"\";\n const alt =\n extractAttributeValue(raw, \"alt\") ??\n extractAttributeValue(raw, \"title\") ??\n \"\";\n const widthAttr = extractAttributeValue(raw, \"width\");\n let scalePercent: number | undefined;\n if (widthAttr) {\n const numeric = Number.parseFloat(widthAttr);\n if (Number.isFinite(numeric)) {\n scalePercent = clampScalePercent(numeric);\n }\n }\n return {\n text: alt
|
|
1
|
+
{"version":3,"file":"ImgPlaceholder.cjs","sources":["../../../../src/components/MarkdownFlowEditor/plugins/ImgPlaceholder.ts"],"sourcesContent":["import {\n EditorView,\n Decoration,\n DecorationSet,\n ViewPlugin,\n ViewUpdate,\n MatchDecorator,\n} from \"@codemirror/view\";\nimport { SelectedOption } from \"../types\";\nimport { unwrapFixedOutput } from \"../utils\";\nimport PlaceholderWidget from \"./PlaceholderWidget\";\nimport { mediaPlaceholderLabels } from \"./mediaPlaceholderLabels\";\n\nconst imageMarkupRegexp = /!\\[([^\\]]*)\\]\\(([^)]+)\\)|<img\\b[^>]*>/i;\nconst agiImgContextRegexp =\n /===\\s*(?:!\\[[^\\]]*\\]\\([^)]+\\)|<img\\b[^>]*>)\\s*===|!\\[[^\\]]*\\]\\([^)]+\\)|<img\\b[^>]*>/gi;\n\nconst extractAttributeValue = (tag: string, attribute: string) => {\n const regexp = new RegExp(\n `${attribute}\\\\s*=\\\\s*(\"(.*?)\"|'(.*?)'|([^\\\\s\"'<>]+))`,\n \"i\"\n );\n const match = tag.match(regexp);\n if (!match) return undefined;\n return match[2] ?? match[3] ?? match[4];\n};\n\nconst clampScalePercent = (value: number) =>\n Math.max(1, Math.min(1000, Math.round(value)));\n\nconst getImageMatchInfo = (match: RegExpMatchArray) => {\n const source = match?.[0] ?? \"\";\n const raw = unwrapFixedOutput(source);\n const fixedOutput = /^\\s*===/.test(source);\n if (/^<img\\b/i.test(raw)) {\n const src = extractAttributeValue(raw, \"src\") ?? \"\";\n const alt =\n extractAttributeValue(raw, \"alt\") ??\n extractAttributeValue(raw, \"title\") ??\n \"\";\n const widthAttr = extractAttributeValue(raw, \"width\");\n let scalePercent: number | undefined;\n if (widthAttr) {\n const numeric = Number.parseFloat(widthAttr);\n if (Number.isFinite(numeric)) {\n scalePercent = clampScalePercent(numeric);\n }\n }\n return {\n text: alt,\n url: src,\n title: alt,\n scalePercent,\n fixedOutput,\n };\n }\n const markdownMatch = raw.match(imageMarkupRegexp);\n const title = markdownMatch?.[1] ?? \"\";\n const url = markdownMatch?.[2] ?? \"\";\n return {\n text: title,\n url,\n title,\n scalePercent: undefined,\n fixedOutput,\n };\n};\n\nconst imageUrlMatcher = new MatchDecorator({\n regexp: agiImgContextRegexp,\n decoration: (match, view) => {\n const info = getImageMatchInfo(match);\n return Decoration.replace({\n widget: new PlaceholderWidget(\n info.text || view.state.facet(mediaPlaceholderLabels).image,\n {\n tag: \"image\",\n url: info.url,\n title: info.title,\n scalePercent: info.scalePercent,\n fixedOutput: info.fixedOutput,\n },\n \"tag-image\",\n SelectedOption.Image,\n view\n ),\n });\n },\n});\n\nconst ImgPlaceholder = ViewPlugin.fromClass(\n class {\n placeholders: DecorationSet;\n constructor(view: EditorView) {\n this.placeholders = imageUrlMatcher.createDeco(view);\n }\n update(update: ViewUpdate) {\n if (\n update.startState.facet(mediaPlaceholderLabels) !==\n update.state.facet(mediaPlaceholderLabels)\n ) {\n this.placeholders = imageUrlMatcher.createDeco(update.view);\n return;\n }\n this.placeholders = imageUrlMatcher.updateDeco(update, this.placeholders);\n }\n },\n {\n decorations: (instance) => instance.placeholders,\n provide: (plugin) =>\n EditorView.atomicRanges.of((view) => {\n return view.plugin(plugin)?.placeholders || Decoration.none;\n }),\n }\n);\n\nexport default ImgPlaceholder;\n"],"names":["imageMarkupRegexp","agiImgContextRegexp","extractAttributeValue","tag","attribute","regexp","match","clampScalePercent","value","getImageMatchInfo","source","raw","unwrapFixedOutput","fixedOutput","src","alt","widthAttr","scalePercent","numeric","markdownMatch","title","url","imageUrlMatcher","MatchDecorator","view","info","Decoration","PlaceholderWidget","mediaPlaceholderLabels","SelectedOption","ImgPlaceholder","ViewPlugin","update","instance","plugin","EditorView"],"mappings":"wTAaMA,EAAoB,yCACpBC,EACJ,wFAEIC,EAAwB,CAACC,EAAaC,IAAsB,CAChE,MAAMC,EAAS,IAAI,OACjB,GAAGD,CAAS,2CACZ,GAAA,EAEIE,EAAQH,EAAI,MAAME,CAAM,EAC9B,GAAKC,EACL,OAAOA,EAAM,CAAC,GAAKA,EAAM,CAAC,GAAKA,EAAM,CAAC,CACxC,EAEMC,EAAqBC,GACzB,KAAK,IAAI,EAAG,KAAK,IAAI,IAAM,KAAK,MAAMA,CAAK,CAAC,CAAC,EAEzCC,EAAqBH,GAA4B,CACrD,MAAMI,EAASJ,IAAQ,CAAC,GAAK,GACvBK,EAAMC,EAAAA,kBAAkBF,CAAM,EAC9BG,EAAc,UAAU,KAAKH,CAAM,EACzC,GAAI,WAAW,KAAKC,CAAG,EAAG,CACxB,MAAMG,EAAMZ,EAAsBS,EAAK,KAAK,GAAK,GAC3CI,EACJb,EAAsBS,EAAK,KAAK,GAChCT,EAAsBS,EAAK,OAAO,GAClC,GACIK,EAAYd,EAAsBS,EAAK,OAAO,EACpD,IAAIM,EACJ,GAAID,EAAW,CACb,MAAME,EAAU,OAAO,WAAWF,CAAS,EACvC,OAAO,SAASE,CAAO,IACzBD,EAAeV,EAAkBW,CAAO,EAE5C,CACA,MAAO,CACL,KAAMH,EACN,IAAKD,EACL,MAAOC,EACP,aAAAE,EACA,YAAAJ,CAAA,CAEJ,CACA,MAAMM,EAAgBR,EAAI,MAAMX,CAAiB,EAC3CoB,EAAQD,IAAgB,CAAC,GAAK,GAC9BE,EAAMF,IAAgB,CAAC,GAAK,GAClC,MAAO,CACL,KAAMC,EACN,IAAAC,EACA,MAAAD,EACA,aAAc,OACd,YAAAP,CAAA,CAEJ,EAEMS,EAAkB,IAAIC,EAAAA,eAAe,CACzC,OAAQtB,EACR,WAAY,CAACK,EAAOkB,IAAS,CAC3B,MAAMC,EAAOhB,EAAkBH,CAAK,EACpC,OAAOoB,EAAAA,WAAW,QAAQ,CACxB,OAAQ,IAAIC,EAAAA,QACVF,EAAK,MAAQD,EAAK,MAAM,MAAMI,EAAAA,sBAAsB,EAAE,MACtD,CACE,IAAK,QACL,IAAKH,EAAK,IACV,MAAOA,EAAK,MACZ,aAAcA,EAAK,aACnB,YAAaA,EAAK,WAAA,EAEpB,YACAI,EAAAA,eAAe,MACfL,CAAA,CACF,CACD,CACH,CACF,CAAC,EAEKM,EAAiBC,EAAAA,WAAW,UAChC,KAAM,CAEJ,YAAYP,EAAkB,CAC5B,KAAK,aAAeF,EAAgB,WAAWE,CAAI,CACrD,CACA,OAAOQ,EAAoB,CACzB,GACEA,EAAO,WAAW,MAAMJ,EAAAA,sBAAsB,IAC9CI,EAAO,MAAM,MAAMJ,EAAAA,sBAAsB,EACzC,CACA,KAAK,aAAeN,EAAgB,WAAWU,EAAO,IAAI,EAC1D,MACF,CACA,KAAK,aAAeV,EAAgB,WAAWU,EAAQ,KAAK,YAAY,CAC1E,CAAA,EAEF,CACE,YAAcC,GAAaA,EAAS,aACpC,QAAUC,GACRC,EAAAA,WAAW,aAAa,GAAIX,GACnBA,EAAK,OAAOU,CAAM,GAAG,cAAgBR,EAAAA,WAAW,IACxD,CAAA,CAEP"}
|