@blokkli/editor 2.0.0-alpha.24 → 2.0.0-alpha.25
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/module.json +1 -1
- package/dist/module.mjs +191 -27
- package/dist/runtime/blokkliPlugins/BlockIndicator/index.vue.d.ts +38 -0
- package/dist/runtime/blokkliPlugins/ContextMenu/index.vue.d.ts +15 -0
- package/dist/runtime/blokkliPlugins/DebugOverlay/index.vue.d.ts +6 -0
- package/dist/runtime/blokkliPlugins/ItemAction/index.vue.d.ts +28 -3
- package/dist/runtime/blokkliPlugins/Sidebar/Detached/index.vue +6 -4
- package/dist/runtime/blokkliPlugins/Sidebar/index.vue +11 -3
- package/dist/runtime/blokkliPlugins/Sidebar/index.vue.d.ts +138 -3
- package/dist/runtime/blokkliPlugins/ToolbarButton/index.vue.d.ts +114 -0
- package/dist/runtime/blokkliPlugins/TourItem/index.vue.d.ts +21 -0
- package/dist/runtime/blokkliPlugins/ViewOption/index.vue.d.ts +98 -0
- package/dist/runtime/components/Blocks/NotImplemented/index.vue +24 -0
- package/dist/runtime/components/Blocks/NotImplemented/index.vue.d.ts +6 -0
- package/dist/runtime/components/BlokkliEditable.vue.d.ts +11 -0
- package/dist/runtime/components/BlokkliItem.vue +16 -3
- package/dist/runtime/components/BlokkliItem.vue.d.ts +2 -0
- package/dist/runtime/components/Edit/Actions/index.vue +1 -1
- package/dist/runtime/components/Edit/AddListItem/index.vue +1 -6
- package/dist/runtime/components/Edit/AddListItem/index.vue.d.ts +5 -13
- package/dist/runtime/components/Edit/ArtboardTooltip/index.vue +6 -0
- package/dist/runtime/components/Edit/BlockProxy/index.vue +2 -2
- package/dist/runtime/components/Edit/BlokkliErrorBoundary.vue +3 -0
- package/dist/runtime/components/Edit/BlokkliRootErrorBoundary.vue +4 -1
- package/dist/runtime/components/Edit/Dialog/index.vue +15 -50
- package/dist/runtime/components/Edit/DraggableList.vue +12 -9
- package/dist/runtime/components/Edit/EditIndicator.vue +11 -4
- package/dist/runtime/components/Edit/EditProvider.vue +27 -24
- package/dist/runtime/components/Edit/Features/AddList/Actions/Action.vue +1 -0
- package/dist/runtime/components/Edit/Features/AddList/Blocks/index.vue +2 -3
- package/dist/runtime/components/Edit/Features/AddList/index.vue +17 -5
- package/dist/runtime/components/Edit/Features/Analyze/Icon.vue +85 -0
- package/dist/runtime/components/Edit/Features/Analyze/Icon.vue.d.ts +5 -0
- package/dist/runtime/components/Edit/Features/Analyze/Main.vue +288 -59
- package/dist/runtime/components/Edit/Features/Analyze/Main.vue.d.ts +8 -1
- package/dist/runtime/components/Edit/Features/Analyze/Renderer/fragment.glsl +25 -13
- package/dist/runtime/components/Edit/Features/Analyze/Renderer/index.vue +114 -52
- package/dist/runtime/components/Edit/Features/Analyze/Renderer/index.vue.d.ts +16 -2
- package/dist/runtime/components/Edit/Features/Analyze/Renderer/vertex.glsl +31 -11
- package/dist/runtime/components/Edit/Features/Analyze/Results/Results.vue +2 -0
- package/dist/runtime/components/Edit/Features/Analyze/Results/Results.vue.d.ts +8 -1
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItem.vue +4 -4
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItem.vue.d.ts +20 -2
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodes.vue +11 -18
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodes.vue.d.ts +10 -3
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodesTarget.vue +46 -40
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodesTarget.vue.d.ts +10 -4
- package/dist/runtime/components/Edit/Features/Analyze/Summary/Chart.vue +8 -4
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/axe.js +1 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/helpers/Context.d.ts +4 -3
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/helpers/Context.js +2 -1
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/readability.js +61 -20
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/types.d.ts +15 -1
- package/dist/runtime/components/Edit/Features/Analyze/index.vue +23 -2
- package/dist/runtime/components/Edit/Features/Artboard/Overview/index.vue +22 -8
- package/dist/runtime/components/Edit/Features/Artboard/Renderer.vue +1 -1
- package/dist/runtime/components/Edit/Features/Artboard/Scrollbar/index.vue +8 -3
- package/dist/runtime/components/Edit/Features/BlockScheduler/Dialog/index.vue +10 -1
- package/dist/runtime/components/Edit/Features/Debug/Main.vue.d.ts +1 -1
- package/dist/runtime/components/Edit/Features/Debug/Rects/index.vue +2 -2
- package/dist/runtime/components/Edit/Features/Debug/Section/Logging.vue.d.ts +1 -1
- package/dist/runtime/components/Edit/Features/EditForm/Frame/index.vue +8 -2
- package/dist/runtime/components/Edit/Features/EditForm/index.vue +1 -7
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Plaintext/index.vue +1 -1
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/index.vue +4 -3
- package/dist/runtime/components/Edit/Features/EditableMask/index.vue +1 -1
- package/dist/runtime/components/Edit/Features/EntityTitle/index.vue +7 -2
- package/dist/runtime/components/Edit/Features/Library/EditReusable/index.vue +2 -2
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/index.vue +9 -2
- package/dist/runtime/components/Edit/Features/Library/ReusableDialog/index.vue +12 -3
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/index.vue +3 -2
- package/dist/runtime/components/Edit/Features/Options/Form/Item.vue.d.ts +1 -1
- package/dist/runtime/components/Edit/Features/PreviewGrant/index.vue +1 -0
- package/dist/runtime/components/Edit/Features/Publish/Dialog/index.vue +9 -0
- package/dist/runtime/components/Edit/Features/ResponsivePreview/Frame/index.vue +3 -2
- package/dist/runtime/components/Edit/Features/ResponsivePreview/index.vue +3 -2
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Content/index.vue +8 -2
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Page/index.vue +12 -2
- package/dist/runtime/components/Edit/Features/Search/Overlay/index.vue +11 -3
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/Overlay/index.vue +126 -33
- package/dist/runtime/components/Edit/Features/Selection/Renderer/index.vue +1 -1
- package/dist/runtime/components/Edit/Features/Settings/index.vue +1 -1
- package/dist/runtime/components/Edit/Features/Structure/List/Field/index.vue +3 -3
- package/dist/runtime/components/Edit/Features/Tour/Overlay/index.vue +2 -2
- package/dist/runtime/components/Edit/Features/Transform/Dialog/index.vue +7 -1
- package/dist/runtime/components/Edit/Form/Textarea/index.vue +1 -1
- package/dist/runtime/components/Edit/FormOverlay/index.vue +1 -1
- package/dist/runtime/components/Edit/Indicators/index.vue +1 -1
- package/dist/runtime/components/Edit/InfoBox/index.vue +3 -2
- package/dist/runtime/components/Edit/InfoBox/index.vue.d.ts +6 -1
- package/dist/runtime/components/Edit/Overlay/index.vue +4 -0
- package/dist/runtime/components/Edit/PreviewProvider.vue +3 -3
- package/dist/runtime/components/Edit/ScaleToFit/index.vue +4 -4
- package/dist/runtime/composables/defineBlokkliFeature.d.ts +1 -1
- package/dist/runtime/composables/useBlokkli.d.ts +6 -1
- package/dist/runtime/composables/useBlokkli.js +4 -1
- package/dist/runtime/css/output.css +1 -1
- package/dist/runtime/helpers/composables/defineItemDropdownAction.d.ts +1 -1
- package/dist/runtime/helpers/composables/defineMenuButton.d.ts +1 -1
- package/dist/runtime/helpers/composables/defineRenderer.d.ts +1 -1
- package/dist/runtime/helpers/composables/onBroadcastEvent.d.ts +1 -1
- package/dist/runtime/helpers/composables/useBlockRegistration.d.ts +1 -1
- package/dist/runtime/helpers/composables/useBlockRegistration.js +12 -1
- package/dist/runtime/helpers/composables/useDebugLogger.d.ts +1 -1
- package/dist/runtime/helpers/composables/useFocusTrap.d.ts +52 -0
- package/dist/runtime/helpers/composables/useFocusTrap.js +59 -0
- package/dist/runtime/helpers/composables/useGlobalBlokkliObject.d.ts +1 -1
- package/dist/runtime/helpers/{useTransitionedValue.js → composables/useTransitionedValue.js} +1 -1
- package/dist/runtime/helpers/imports/index.d.ts +2 -1
- package/dist/runtime/helpers/imports/index.js +10 -1
- package/dist/runtime/helpers/{animationProvider.d.ts → providers/animation.d.ts} +100 -7
- package/dist/runtime/helpers/{animationProvider.js → providers/animation.js} +21 -11
- package/dist/runtime/helpers/providers/blocks.d.ts +25 -3
- package/dist/runtime/helpers/providers/blocks.js +9 -0
- package/dist/runtime/helpers/providers/commands.d.ts +41 -0
- package/dist/runtime/helpers/{commandsProvider.js → providers/commands.js} +1 -1
- package/dist/runtime/helpers/providers/debug.d.ts +125 -0
- package/dist/runtime/helpers/{debugProvider.js → providers/debug.js} +2 -2
- package/dist/runtime/helpers/providers/definition.d.ts +87 -0
- package/dist/runtime/helpers/providers/directive.d.ts +88 -2
- package/dist/runtime/helpers/providers/directive.js +18 -2
- package/dist/runtime/helpers/providers/dom.d.ts +225 -0
- package/dist/runtime/helpers/{domProvider.js → providers/dom.js} +27 -74
- package/dist/runtime/helpers/providers/dropArea.d.ts +47 -0
- package/dist/runtime/helpers/{dropAreaProvider.js → providers/dropArea.js} +1 -1
- package/dist/runtime/helpers/providers/element.d.ts +58 -1
- package/dist/runtime/helpers/providers/features.d.ts +56 -0
- package/dist/runtime/helpers/{featuresProvider.js → providers/features.js} +1 -1
- package/dist/runtime/helpers/providers/fields.d.ts +18 -11
- package/dist/runtime/helpers/providers/fields.js +1 -1
- package/dist/runtime/helpers/providers/indicators.d.ts +44 -0
- package/dist/runtime/helpers/providers/keyboard.d.ts +76 -0
- package/dist/runtime/helpers/{keyboardProvider.js → providers/keyboard.js} +1 -8
- package/dist/runtime/helpers/{pluginProvider.d.ts → providers/plugin.d.ts} +36 -0
- package/dist/runtime/helpers/{selectionProvider.d.ts → providers/selection.d.ts} +4 -1
- package/dist/runtime/helpers/{selectionProvider.js → providers/selection.js} +1 -1
- package/dist/runtime/helpers/providers/state.d.ts +227 -0
- package/dist/runtime/helpers/{stateProvider.js → providers/state.js} +3 -3
- package/dist/runtime/helpers/providers/storage.d.ts +64 -0
- package/dist/runtime/helpers/{textProvider.d.ts → providers/texts.d.ts} +1 -1
- package/dist/runtime/helpers/providers/theme.d.ts +119 -0
- package/dist/runtime/helpers/{themeProvider.js → providers/theme.js} +3 -3
- package/dist/runtime/helpers/providers/tour.d.ts +49 -0
- package/dist/runtime/helpers/{tourProvider.js → providers/tour.js} +1 -1
- package/dist/runtime/helpers/providers/types.d.ts +170 -0
- package/dist/runtime/helpers/{typesProvider.js → providers/types.js} +45 -1
- package/dist/runtime/helpers/providers/ui.d.ts +339 -0
- package/dist/runtime/helpers/{uiProvider.js → providers/ui.js} +11 -5
- package/dist/runtime/helpers/runtimeHelpers/index.d.ts +1 -1
- package/dist/runtime/helpers/symbols.d.ts +1 -0
- package/dist/runtime/helpers/symbols.js +3 -0
- package/dist/runtime/types/blockOptions.d.ts +349 -0
- package/dist/runtime/types/index.d.ts +22 -26
- package/package.json +2 -2
- package/dist/runtime/helpers/commandsProvider.d.ts +0 -9
- package/dist/runtime/helpers/debugProvider.d.ts +0 -33
- package/dist/runtime/helpers/definitionProvider.d.ts +0 -19
- package/dist/runtime/helpers/domProvider.d.ts +0 -91
- package/dist/runtime/helpers/dropAreaProvider.d.ts +0 -9
- package/dist/runtime/helpers/featuresProvider.d.ts +0 -17
- package/dist/runtime/helpers/indicatorsProvider.d.ts +0 -10
- package/dist/runtime/helpers/keyboardProvider.d.ts +0 -20
- package/dist/runtime/helpers/stateProvider.d.ts +0 -47
- package/dist/runtime/helpers/storageProvider.d.ts +0 -17
- package/dist/runtime/helpers/themeProvider.d.ts +0 -30
- package/dist/runtime/helpers/tourProvider.d.ts +0 -11
- package/dist/runtime/helpers/typesProvider.d.ts +0 -36
- package/dist/runtime/helpers/uiProvider.d.ts +0 -57
- package/dist/runtime/types/blokkOptions.d.ts +0 -100
- /package/dist/runtime/helpers/{addElementClasses.d.ts → composables/addElementClasses.d.ts} +0 -0
- /package/dist/runtime/helpers/{addElementClasses.js → composables/addElementClasses.js} +0 -0
- /package/dist/runtime/helpers/{defineElementStyle.d.ts → composables/defineElementStyle.d.ts} +0 -0
- /package/dist/runtime/helpers/{defineElementStyle.js → composables/defineElementStyle.js} +0 -0
- /package/dist/runtime/helpers/{useTransitionedValue.d.ts → composables/useTransitionedValue.d.ts} +0 -0
- /package/dist/runtime/helpers/{broadcastProvider.d.ts → providers/broadcast.d.ts} +0 -0
- /package/dist/runtime/helpers/{broadcastProvider.js → providers/broadcast.js} +0 -0
- /package/dist/runtime/helpers/{definitionProvider.js → providers/definition.js} +0 -0
- /package/dist/runtime/helpers/{indicatorsProvider.js → providers/indicators.js} +0 -0
- /package/dist/runtime/helpers/{pluginProvider.js → providers/plugin.js} +0 -0
- /package/dist/runtime/helpers/{storageProvider.js → providers/storage.js} +0 -0
- /package/dist/runtime/helpers/{textProvider.js → providers/texts.js} +0 -0
- /package/dist/runtime/types/{blokkOptions.js → blockOptions.js} +0 -0
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -15,7 +15,7 @@ import fs from 'node:fs';
|
|
|
15
15
|
import { defu, createDefu } from 'defu';
|
|
16
16
|
|
|
17
17
|
const name = "@blokkli/editor";
|
|
18
|
-
const version = "2.0.0-alpha.
|
|
18
|
+
const version = "2.0.0-alpha.25";
|
|
19
19
|
|
|
20
20
|
function sortObjectKeys(obj) {
|
|
21
21
|
if (Array.isArray(obj)) {
|
|
@@ -660,7 +660,7 @@ class ModuleHelper {
|
|
|
660
660
|
),
|
|
661
661
|
TYPES_BLOKK_OPTIONS: relative(
|
|
662
662
|
this.paths.blokkliBuildDir,
|
|
663
|
-
this.resolvers.module.resolve("./runtime/types/
|
|
663
|
+
this.resolvers.module.resolve("./runtime/types/blockOptions.ts")
|
|
664
664
|
)
|
|
665
665
|
};
|
|
666
666
|
const pattern = providedOptions.pattern || [];
|
|
@@ -1099,6 +1099,10 @@ const analyzeCategoryText$3 = {
|
|
|
1099
1099
|
source: "Text",
|
|
1100
1100
|
translation: "Texte"
|
|
1101
1101
|
};
|
|
1102
|
+
const analyzeClickButton$3 = {
|
|
1103
|
+
source: "Click the button above to run the analysis.",
|
|
1104
|
+
translation: "Klicken Sie auf den Button oben um die Analyse auszuführen."
|
|
1105
|
+
};
|
|
1102
1106
|
const analyzeLastRun$3 = {
|
|
1103
1107
|
source: "Last run: @time",
|
|
1104
1108
|
translation: "Zuletzt ausgeführt: @time"
|
|
@@ -1107,14 +1111,18 @@ const analyzeMoreLink$3 = {
|
|
|
1107
1111
|
source: "More",
|
|
1108
1112
|
translation: "Mehr"
|
|
1109
1113
|
};
|
|
1114
|
+
const analyzeNotAvailableInStructureView$3 = {
|
|
1115
|
+
source: "Analyze is not available in structure view.",
|
|
1116
|
+
translation: "«Analysieren» ist in der strukturierten Vorschau nicht verfügbar."
|
|
1117
|
+
};
|
|
1118
|
+
const analyzeResultsOutdated$3 = {
|
|
1119
|
+
source: "Results are outdated. Click the button to update.",
|
|
1120
|
+
translation: "Resultate sind veraltet. Klicken Sie auf den Button um zu aktualisieren."
|
|
1121
|
+
};
|
|
1110
1122
|
const analyzeSidebarTitle$3 = {
|
|
1111
1123
|
source: "Analyze",
|
|
1112
1124
|
translation: "Analysieren"
|
|
1113
1125
|
};
|
|
1114
|
-
const analyzeStaleMessage$3 = {
|
|
1115
|
-
source: "The contents of the page have changed since last analyzing the page. Please run the analyzers again to get updated results.",
|
|
1116
|
-
translation: "Die Seiteninhalte wurden seit der letzten Analyse geändert. Bitte führen Sie die Analyse erneut aus um aktuelle Resultate zu sehen."
|
|
1117
|
-
};
|
|
1118
1126
|
const analyzeStatusInapplicable$3 = {
|
|
1119
1127
|
source: "Inapplicable",
|
|
1120
1128
|
translation: "Nicht anwendbar"
|
|
@@ -1127,6 +1135,14 @@ const analyzeStatusPass$3 = {
|
|
|
1127
1135
|
source: "Pass",
|
|
1128
1136
|
translation: "Bestanden"
|
|
1129
1137
|
};
|
|
1138
|
+
const analyzeStatusStale$3 = {
|
|
1139
|
+
source: "Stale",
|
|
1140
|
+
translation: "Veraltet"
|
|
1141
|
+
};
|
|
1142
|
+
const analyzeStatusUpToDate$3 = {
|
|
1143
|
+
source: "Up-to-date",
|
|
1144
|
+
translation: "Aktuell"
|
|
1145
|
+
};
|
|
1130
1146
|
const analyzeStatusViolation$3 = {
|
|
1131
1147
|
source: "Violation",
|
|
1132
1148
|
translation: "Fehler"
|
|
@@ -1263,6 +1279,10 @@ const blockAddListTourTitle$3 = {
|
|
|
1263
1279
|
source: "Favorite blocks",
|
|
1264
1280
|
translation: "Favoriten-Blöcke"
|
|
1265
1281
|
};
|
|
1282
|
+
const blockNotImplemented$3 = {
|
|
1283
|
+
source: "Missing component for block bundle <strong>@bundle</strong>.",
|
|
1284
|
+
translation: "Keine Komponente für Block-Typ <strong>@bundle</strong> gefunden."
|
|
1285
|
+
};
|
|
1266
1286
|
const blockOption_bkHiddenGlobally_description$3 = {
|
|
1267
1287
|
source: "Always hides the block.",
|
|
1268
1288
|
translation: "Den Block immer verstecken."
|
|
@@ -2691,10 +2711,14 @@ const transformDialogButtonApply$3 = {
|
|
|
2691
2711
|
source: "Apply changes",
|
|
2692
2712
|
translation: "Änderungen annehmen"
|
|
2693
2713
|
};
|
|
2694
|
-
const
|
|
2714
|
+
const transformDialogButtonNewSuggestion$3 = {
|
|
2695
2715
|
source: "New suggestion",
|
|
2696
2716
|
translation: "Neuer Vorschlag"
|
|
2697
2717
|
};
|
|
2718
|
+
const transformDialogButtonPreview$3 = {
|
|
2719
|
+
source: "Preview",
|
|
2720
|
+
translation: "Vorschau"
|
|
2721
|
+
};
|
|
2698
2722
|
const translationsBannerButton$3 = {
|
|
2699
2723
|
source: "Edit source language instead",
|
|
2700
2724
|
translation: "Originalsprache bearbeiten"
|
|
@@ -2788,13 +2812,17 @@ const de = {
|
|
|
2788
2812
|
analyzeCategoryContent: analyzeCategoryContent$3,
|
|
2789
2813
|
analyzeCategorySeo: analyzeCategorySeo$3,
|
|
2790
2814
|
analyzeCategoryText: analyzeCategoryText$3,
|
|
2815
|
+
analyzeClickButton: analyzeClickButton$3,
|
|
2791
2816
|
analyzeLastRun: analyzeLastRun$3,
|
|
2792
2817
|
analyzeMoreLink: analyzeMoreLink$3,
|
|
2818
|
+
analyzeNotAvailableInStructureView: analyzeNotAvailableInStructureView$3,
|
|
2819
|
+
analyzeResultsOutdated: analyzeResultsOutdated$3,
|
|
2793
2820
|
analyzeSidebarTitle: analyzeSidebarTitle$3,
|
|
2794
|
-
analyzeStaleMessage: analyzeStaleMessage$3,
|
|
2795
2821
|
analyzeStatusInapplicable: analyzeStatusInapplicable$3,
|
|
2796
2822
|
analyzeStatusIncomplete: analyzeStatusIncomplete$3,
|
|
2797
2823
|
analyzeStatusPass: analyzeStatusPass$3,
|
|
2824
|
+
analyzeStatusStale: analyzeStatusStale$3,
|
|
2825
|
+
analyzeStatusUpToDate: analyzeStatusUpToDate$3,
|
|
2798
2826
|
analyzeStatusViolation: analyzeStatusViolation$3,
|
|
2799
2827
|
analyzeTourText: analyzeTourText$3,
|
|
2800
2828
|
analyzerReadabiliyAverageSentenceLength: analyzerReadabiliyAverageSentenceLength$3,
|
|
@@ -2829,6 +2857,7 @@ const de = {
|
|
|
2829
2857
|
assistantPromptPlaceholder: assistantPromptPlaceholder$3,
|
|
2830
2858
|
blockAddListTourText: blockAddListTourText$3,
|
|
2831
2859
|
blockAddListTourTitle: blockAddListTourTitle$3,
|
|
2860
|
+
blockNotImplemented: blockNotImplemented$3,
|
|
2832
2861
|
blockOption_bkHiddenGlobally_description: blockOption_bkHiddenGlobally_description$3,
|
|
2833
2862
|
blockOption_bkHiddenGlobally_label: blockOption_bkHiddenGlobally_label$3,
|
|
2834
2863
|
blockOption_bkVisibleLanguages_description: blockOption_bkVisibleLanguages_description$3,
|
|
@@ -3358,6 +3387,7 @@ const de = {
|
|
|
3358
3387
|
tourPrev: tourPrev$3,
|
|
3359
3388
|
tourStartButton: tourStartButton$3,
|
|
3360
3389
|
transformDialogButtonApply: transformDialogButtonApply$3,
|
|
3390
|
+
transformDialogButtonNewSuggestion: transformDialogButtonNewSuggestion$3,
|
|
3361
3391
|
transformDialogButtonPreview: transformDialogButtonPreview$3,
|
|
3362
3392
|
translationsBannerButton: translationsBannerButton$3,
|
|
3363
3393
|
translationsBannerText: translationsBannerText$3,
|
|
@@ -3456,6 +3486,10 @@ const analyzeCategoryText$2 = {
|
|
|
3456
3486
|
source: "Text",
|
|
3457
3487
|
translation: ""
|
|
3458
3488
|
};
|
|
3489
|
+
const analyzeClickButton$2 = {
|
|
3490
|
+
source: "Click the button above to run the analysis.",
|
|
3491
|
+
translation: ""
|
|
3492
|
+
};
|
|
3459
3493
|
const analyzeLastRun$2 = {
|
|
3460
3494
|
source: "Last run: @time",
|
|
3461
3495
|
translation: ""
|
|
@@ -3464,12 +3498,16 @@ const analyzeMoreLink$2 = {
|
|
|
3464
3498
|
source: "More",
|
|
3465
3499
|
translation: ""
|
|
3466
3500
|
};
|
|
3467
|
-
const
|
|
3468
|
-
source: "Analyze",
|
|
3501
|
+
const analyzeNotAvailableInStructureView$2 = {
|
|
3502
|
+
source: "Analyze is not available in structure view.",
|
|
3469
3503
|
translation: ""
|
|
3470
3504
|
};
|
|
3471
|
-
const
|
|
3472
|
-
source: "
|
|
3505
|
+
const analyzeResultsOutdated$2 = {
|
|
3506
|
+
source: "Results are outdated. Click the button to update.",
|
|
3507
|
+
translation: ""
|
|
3508
|
+
};
|
|
3509
|
+
const analyzeSidebarTitle$2 = {
|
|
3510
|
+
source: "Analyze",
|
|
3473
3511
|
translation: ""
|
|
3474
3512
|
};
|
|
3475
3513
|
const analyzeStatusInapplicable$2 = {
|
|
@@ -3484,6 +3522,14 @@ const analyzeStatusPass$2 = {
|
|
|
3484
3522
|
source: "Pass",
|
|
3485
3523
|
translation: ""
|
|
3486
3524
|
};
|
|
3525
|
+
const analyzeStatusStale$2 = {
|
|
3526
|
+
source: "Stale",
|
|
3527
|
+
translation: ""
|
|
3528
|
+
};
|
|
3529
|
+
const analyzeStatusUpToDate$2 = {
|
|
3530
|
+
source: "Up-to-date",
|
|
3531
|
+
translation: ""
|
|
3532
|
+
};
|
|
3487
3533
|
const analyzeStatusViolation$2 = {
|
|
3488
3534
|
source: "Violation",
|
|
3489
3535
|
translation: ""
|
|
@@ -3620,6 +3666,10 @@ const blockAddListTourTitle$2 = {
|
|
|
3620
3666
|
source: "Favorite blocks",
|
|
3621
3667
|
translation: ""
|
|
3622
3668
|
};
|
|
3669
|
+
const blockNotImplemented$2 = {
|
|
3670
|
+
source: "Missing component for block bundle <strong>@bundle</strong>.",
|
|
3671
|
+
translation: ""
|
|
3672
|
+
};
|
|
3623
3673
|
const blockOption_bkHiddenGlobally_description$2 = {
|
|
3624
3674
|
source: "Always hides the block.",
|
|
3625
3675
|
translation: ""
|
|
@@ -5048,10 +5098,14 @@ const transformDialogButtonApply$2 = {
|
|
|
5048
5098
|
source: "Apply changes",
|
|
5049
5099
|
translation: ""
|
|
5050
5100
|
};
|
|
5051
|
-
const
|
|
5101
|
+
const transformDialogButtonNewSuggestion$2 = {
|
|
5052
5102
|
source: "New suggestion",
|
|
5053
5103
|
translation: ""
|
|
5054
5104
|
};
|
|
5105
|
+
const transformDialogButtonPreview$2 = {
|
|
5106
|
+
source: "Preview",
|
|
5107
|
+
translation: ""
|
|
5108
|
+
};
|
|
5055
5109
|
const translationsBannerButton$2 = {
|
|
5056
5110
|
source: "Edit source language instead",
|
|
5057
5111
|
translation: ""
|
|
@@ -5145,13 +5199,17 @@ const fr = {
|
|
|
5145
5199
|
analyzeCategoryContent: analyzeCategoryContent$2,
|
|
5146
5200
|
analyzeCategorySeo: analyzeCategorySeo$2,
|
|
5147
5201
|
analyzeCategoryText: analyzeCategoryText$2,
|
|
5202
|
+
analyzeClickButton: analyzeClickButton$2,
|
|
5148
5203
|
analyzeLastRun: analyzeLastRun$2,
|
|
5149
5204
|
analyzeMoreLink: analyzeMoreLink$2,
|
|
5205
|
+
analyzeNotAvailableInStructureView: analyzeNotAvailableInStructureView$2,
|
|
5206
|
+
analyzeResultsOutdated: analyzeResultsOutdated$2,
|
|
5150
5207
|
analyzeSidebarTitle: analyzeSidebarTitle$2,
|
|
5151
|
-
analyzeStaleMessage: analyzeStaleMessage$2,
|
|
5152
5208
|
analyzeStatusInapplicable: analyzeStatusInapplicable$2,
|
|
5153
5209
|
analyzeStatusIncomplete: analyzeStatusIncomplete$2,
|
|
5154
5210
|
analyzeStatusPass: analyzeStatusPass$2,
|
|
5211
|
+
analyzeStatusStale: analyzeStatusStale$2,
|
|
5212
|
+
analyzeStatusUpToDate: analyzeStatusUpToDate$2,
|
|
5155
5213
|
analyzeStatusViolation: analyzeStatusViolation$2,
|
|
5156
5214
|
analyzeTourText: analyzeTourText$2,
|
|
5157
5215
|
analyzerReadabiliyAverageSentenceLength: analyzerReadabiliyAverageSentenceLength$2,
|
|
@@ -5186,6 +5244,7 @@ const fr = {
|
|
|
5186
5244
|
assistantPromptPlaceholder: assistantPromptPlaceholder$2,
|
|
5187
5245
|
blockAddListTourText: blockAddListTourText$2,
|
|
5188
5246
|
blockAddListTourTitle: blockAddListTourTitle$2,
|
|
5247
|
+
blockNotImplemented: blockNotImplemented$2,
|
|
5189
5248
|
blockOption_bkHiddenGlobally_description: blockOption_bkHiddenGlobally_description$2,
|
|
5190
5249
|
blockOption_bkHiddenGlobally_label: blockOption_bkHiddenGlobally_label$2,
|
|
5191
5250
|
blockOption_bkVisibleLanguages_description: blockOption_bkVisibleLanguages_description$2,
|
|
@@ -5715,6 +5774,7 @@ const fr = {
|
|
|
5715
5774
|
tourPrev: tourPrev$2,
|
|
5716
5775
|
tourStartButton: tourStartButton$2,
|
|
5717
5776
|
transformDialogButtonApply: transformDialogButtonApply$2,
|
|
5777
|
+
transformDialogButtonNewSuggestion: transformDialogButtonNewSuggestion$2,
|
|
5718
5778
|
transformDialogButtonPreview: transformDialogButtonPreview$2,
|
|
5719
5779
|
translationsBannerButton: translationsBannerButton$2,
|
|
5720
5780
|
translationsBannerText: translationsBannerText$2,
|
|
@@ -5813,6 +5873,10 @@ const analyzeCategoryText$1 = {
|
|
|
5813
5873
|
source: "Text",
|
|
5814
5874
|
translation: ""
|
|
5815
5875
|
};
|
|
5876
|
+
const analyzeClickButton$1 = {
|
|
5877
|
+
source: "Click the button above to run the analysis.",
|
|
5878
|
+
translation: ""
|
|
5879
|
+
};
|
|
5816
5880
|
const analyzeLastRun$1 = {
|
|
5817
5881
|
source: "Last run: @time",
|
|
5818
5882
|
translation: ""
|
|
@@ -5821,12 +5885,16 @@ const analyzeMoreLink$1 = {
|
|
|
5821
5885
|
source: "More",
|
|
5822
5886
|
translation: ""
|
|
5823
5887
|
};
|
|
5824
|
-
const
|
|
5825
|
-
source: "Analyze",
|
|
5888
|
+
const analyzeNotAvailableInStructureView$1 = {
|
|
5889
|
+
source: "Analyze is not available in structure view.",
|
|
5826
5890
|
translation: ""
|
|
5827
5891
|
};
|
|
5828
|
-
const
|
|
5829
|
-
source: "
|
|
5892
|
+
const analyzeResultsOutdated$1 = {
|
|
5893
|
+
source: "Results are outdated. Click the button to update.",
|
|
5894
|
+
translation: ""
|
|
5895
|
+
};
|
|
5896
|
+
const analyzeSidebarTitle$1 = {
|
|
5897
|
+
source: "Analyze",
|
|
5830
5898
|
translation: ""
|
|
5831
5899
|
};
|
|
5832
5900
|
const analyzeStatusInapplicable$1 = {
|
|
@@ -5841,6 +5909,14 @@ const analyzeStatusPass$1 = {
|
|
|
5841
5909
|
source: "Pass",
|
|
5842
5910
|
translation: ""
|
|
5843
5911
|
};
|
|
5912
|
+
const analyzeStatusStale$1 = {
|
|
5913
|
+
source: "Stale",
|
|
5914
|
+
translation: ""
|
|
5915
|
+
};
|
|
5916
|
+
const analyzeStatusUpToDate$1 = {
|
|
5917
|
+
source: "Up-to-date",
|
|
5918
|
+
translation: ""
|
|
5919
|
+
};
|
|
5844
5920
|
const analyzeStatusViolation$1 = {
|
|
5845
5921
|
source: "Violation",
|
|
5846
5922
|
translation: ""
|
|
@@ -5977,6 +6053,10 @@ const blockAddListTourTitle$1 = {
|
|
|
5977
6053
|
source: "Favorite blocks",
|
|
5978
6054
|
translation: ""
|
|
5979
6055
|
};
|
|
6056
|
+
const blockNotImplemented$1 = {
|
|
6057
|
+
source: "Missing component for block bundle <strong>@bundle</strong>.",
|
|
6058
|
+
translation: ""
|
|
6059
|
+
};
|
|
5980
6060
|
const blockOption_bkHiddenGlobally_description$1 = {
|
|
5981
6061
|
source: "Always hides the block.",
|
|
5982
6062
|
translation: ""
|
|
@@ -7405,10 +7485,14 @@ const transformDialogButtonApply$1 = {
|
|
|
7405
7485
|
source: "Apply changes",
|
|
7406
7486
|
translation: ""
|
|
7407
7487
|
};
|
|
7408
|
-
const
|
|
7488
|
+
const transformDialogButtonNewSuggestion$1 = {
|
|
7409
7489
|
source: "New suggestion",
|
|
7410
7490
|
translation: ""
|
|
7411
7491
|
};
|
|
7492
|
+
const transformDialogButtonPreview$1 = {
|
|
7493
|
+
source: "Preview",
|
|
7494
|
+
translation: ""
|
|
7495
|
+
};
|
|
7412
7496
|
const translationsBannerButton$1 = {
|
|
7413
7497
|
source: "Edit source language instead",
|
|
7414
7498
|
translation: ""
|
|
@@ -7502,13 +7586,17 @@ const it = {
|
|
|
7502
7586
|
analyzeCategoryContent: analyzeCategoryContent$1,
|
|
7503
7587
|
analyzeCategorySeo: analyzeCategorySeo$1,
|
|
7504
7588
|
analyzeCategoryText: analyzeCategoryText$1,
|
|
7589
|
+
analyzeClickButton: analyzeClickButton$1,
|
|
7505
7590
|
analyzeLastRun: analyzeLastRun$1,
|
|
7506
7591
|
analyzeMoreLink: analyzeMoreLink$1,
|
|
7592
|
+
analyzeNotAvailableInStructureView: analyzeNotAvailableInStructureView$1,
|
|
7593
|
+
analyzeResultsOutdated: analyzeResultsOutdated$1,
|
|
7507
7594
|
analyzeSidebarTitle: analyzeSidebarTitle$1,
|
|
7508
|
-
analyzeStaleMessage: analyzeStaleMessage$1,
|
|
7509
7595
|
analyzeStatusInapplicable: analyzeStatusInapplicable$1,
|
|
7510
7596
|
analyzeStatusIncomplete: analyzeStatusIncomplete$1,
|
|
7511
7597
|
analyzeStatusPass: analyzeStatusPass$1,
|
|
7598
|
+
analyzeStatusStale: analyzeStatusStale$1,
|
|
7599
|
+
analyzeStatusUpToDate: analyzeStatusUpToDate$1,
|
|
7512
7600
|
analyzeStatusViolation: analyzeStatusViolation$1,
|
|
7513
7601
|
analyzeTourText: analyzeTourText$1,
|
|
7514
7602
|
analyzerReadabiliyAverageSentenceLength: analyzerReadabiliyAverageSentenceLength$1,
|
|
@@ -7543,6 +7631,7 @@ const it = {
|
|
|
7543
7631
|
assistantPromptPlaceholder: assistantPromptPlaceholder$1,
|
|
7544
7632
|
blockAddListTourText: blockAddListTourText$1,
|
|
7545
7633
|
blockAddListTourTitle: blockAddListTourTitle$1,
|
|
7634
|
+
blockNotImplemented: blockNotImplemented$1,
|
|
7546
7635
|
blockOption_bkHiddenGlobally_description: blockOption_bkHiddenGlobally_description$1,
|
|
7547
7636
|
blockOption_bkHiddenGlobally_label: blockOption_bkHiddenGlobally_label$1,
|
|
7548
7637
|
blockOption_bkVisibleLanguages_description: blockOption_bkVisibleLanguages_description$1,
|
|
@@ -8072,6 +8161,7 @@ const it = {
|
|
|
8072
8161
|
tourPrev: tourPrev$1,
|
|
8073
8162
|
tourStartButton: tourStartButton$1,
|
|
8074
8163
|
transformDialogButtonApply: transformDialogButtonApply$1,
|
|
8164
|
+
transformDialogButtonNewSuggestion: transformDialogButtonNewSuggestion$1,
|
|
8075
8165
|
transformDialogButtonPreview: transformDialogButtonPreview$1,
|
|
8076
8166
|
translationsBannerButton: translationsBannerButton$1,
|
|
8077
8167
|
translationsBannerText: translationsBannerText$1,
|
|
@@ -8170,6 +8260,10 @@ const analyzeCategoryText = {
|
|
|
8170
8260
|
source: "Text",
|
|
8171
8261
|
translation: "Teggscht"
|
|
8172
8262
|
};
|
|
8263
|
+
const analyzeClickButton = {
|
|
8264
|
+
source: "Click the button above to run the analysis.",
|
|
8265
|
+
translation: ""
|
|
8266
|
+
};
|
|
8173
8267
|
const analyzeLastRun = {
|
|
8174
8268
|
source: "Last run: @time",
|
|
8175
8269
|
translation: "Zletscht usgfüehrt: @time"
|
|
@@ -8178,14 +8272,18 @@ const analyzeMoreLink = {
|
|
|
8178
8272
|
source: "More",
|
|
8179
8273
|
translation: "Meh"
|
|
8180
8274
|
};
|
|
8275
|
+
const analyzeNotAvailableInStructureView = {
|
|
8276
|
+
source: "Analyze is not available in structure view.",
|
|
8277
|
+
translation: ""
|
|
8278
|
+
};
|
|
8279
|
+
const analyzeResultsOutdated = {
|
|
8280
|
+
source: "Results are outdated. Click the button to update.",
|
|
8281
|
+
translation: ""
|
|
8282
|
+
};
|
|
8181
8283
|
const analyzeSidebarTitle = {
|
|
8182
8284
|
source: "Analyze",
|
|
8183
8285
|
translation: "Analysiere"
|
|
8184
8286
|
};
|
|
8185
|
-
const analyzeStaleMessage = {
|
|
8186
|
-
source: "The contents of the page have changed since last analyzing the page. Please run the analyzers again to get updated results.",
|
|
8187
|
-
translation: "Dr Inhalt vo dr Sitte het sich gänderet sit dr letschte Analyse. Bitte füehr d'Analyse nomol uus zum aktualisierti Resultät z'übercho."
|
|
8188
|
-
};
|
|
8189
8287
|
const analyzeStatusInapplicable = {
|
|
8190
8288
|
source: "Inapplicable",
|
|
8191
8289
|
translation: "Nid zuetreffe"
|
|
@@ -8198,6 +8296,14 @@ const analyzeStatusPass = {
|
|
|
8198
8296
|
source: "Pass",
|
|
8199
8297
|
translation: "I Ornig"
|
|
8200
8298
|
};
|
|
8299
|
+
const analyzeStatusStale = {
|
|
8300
|
+
source: "Stale",
|
|
8301
|
+
translation: ""
|
|
8302
|
+
};
|
|
8303
|
+
const analyzeStatusUpToDate = {
|
|
8304
|
+
source: "Up-to-date",
|
|
8305
|
+
translation: ""
|
|
8306
|
+
};
|
|
8201
8307
|
const analyzeStatusViolation = {
|
|
8202
8308
|
source: "Violation",
|
|
8203
8309
|
translation: "Verstoss"
|
|
@@ -8334,6 +8440,10 @@ const blockAddListTourTitle = {
|
|
|
8334
8440
|
source: "Favorite blocks",
|
|
8335
8441
|
translation: "Lieblingsblöck"
|
|
8336
8442
|
};
|
|
8443
|
+
const blockNotImplemented = {
|
|
8444
|
+
source: "Missing component for block bundle <strong>@bundle</strong>.",
|
|
8445
|
+
translation: ""
|
|
8446
|
+
};
|
|
8337
8447
|
const blockOption_bkHiddenGlobally_description = {
|
|
8338
8448
|
source: "Always hides the block.",
|
|
8339
8449
|
translation: ""
|
|
@@ -9762,8 +9872,12 @@ const transformDialogButtonApply = {
|
|
|
9762
9872
|
source: "Apply changes",
|
|
9763
9873
|
translation: "Aawände"
|
|
9764
9874
|
};
|
|
9765
|
-
const
|
|
9875
|
+
const transformDialogButtonNewSuggestion = {
|
|
9766
9876
|
source: "New suggestion",
|
|
9877
|
+
translation: ""
|
|
9878
|
+
};
|
|
9879
|
+
const transformDialogButtonPreview = {
|
|
9880
|
+
source: "Preview",
|
|
9767
9881
|
translation: "Vorschau"
|
|
9768
9882
|
};
|
|
9769
9883
|
const translationsBannerButton = {
|
|
@@ -9859,13 +9973,17 @@ const gsw_CH = {
|
|
|
9859
9973
|
analyzeCategoryContent: analyzeCategoryContent,
|
|
9860
9974
|
analyzeCategorySeo: analyzeCategorySeo,
|
|
9861
9975
|
analyzeCategoryText: analyzeCategoryText,
|
|
9976
|
+
analyzeClickButton: analyzeClickButton,
|
|
9862
9977
|
analyzeLastRun: analyzeLastRun,
|
|
9863
9978
|
analyzeMoreLink: analyzeMoreLink,
|
|
9979
|
+
analyzeNotAvailableInStructureView: analyzeNotAvailableInStructureView,
|
|
9980
|
+
analyzeResultsOutdated: analyzeResultsOutdated,
|
|
9864
9981
|
analyzeSidebarTitle: analyzeSidebarTitle,
|
|
9865
|
-
analyzeStaleMessage: analyzeStaleMessage,
|
|
9866
9982
|
analyzeStatusInapplicable: analyzeStatusInapplicable,
|
|
9867
9983
|
analyzeStatusIncomplete: analyzeStatusIncomplete,
|
|
9868
9984
|
analyzeStatusPass: analyzeStatusPass,
|
|
9985
|
+
analyzeStatusStale: analyzeStatusStale,
|
|
9986
|
+
analyzeStatusUpToDate: analyzeStatusUpToDate,
|
|
9869
9987
|
analyzeStatusViolation: analyzeStatusViolation,
|
|
9870
9988
|
analyzeTourText: analyzeTourText,
|
|
9871
9989
|
analyzerReadabiliyAverageSentenceLength: analyzerReadabiliyAverageSentenceLength,
|
|
@@ -9900,6 +10018,7 @@ const gsw_CH = {
|
|
|
9900
10018
|
assistantPromptPlaceholder: assistantPromptPlaceholder,
|
|
9901
10019
|
blockAddListTourText: blockAddListTourText,
|
|
9902
10020
|
blockAddListTourTitle: blockAddListTourTitle,
|
|
10021
|
+
blockNotImplemented: blockNotImplemented,
|
|
9903
10022
|
blockOption_bkHiddenGlobally_description: blockOption_bkHiddenGlobally_description,
|
|
9904
10023
|
blockOption_bkHiddenGlobally_label: blockOption_bkHiddenGlobally_label,
|
|
9905
10024
|
blockOption_bkVisibleLanguages_description: blockOption_bkVisibleLanguages_description,
|
|
@@ -10429,6 +10548,7 @@ const gsw_CH = {
|
|
|
10429
10548
|
tourPrev: tourPrev,
|
|
10430
10549
|
tourStartButton: tourStartButton,
|
|
10431
10550
|
transformDialogButtonApply: transformDialogButtonApply,
|
|
10551
|
+
transformDialogButtonNewSuggestion: transformDialogButtonNewSuggestion,
|
|
10432
10552
|
transformDialogButtonPreview: transformDialogButtonPreview,
|
|
10433
10553
|
translationsBannerButton: translationsBannerButton,
|
|
10434
10554
|
translationsBannerText: translationsBannerText,
|
|
@@ -12053,6 +12173,49 @@ export declare const ${chunkName}: Record<string, { loadComponent: () => Promise
|
|
|
12053
12173
|
});
|
|
12054
12174
|
});
|
|
12055
12175
|
|
|
12176
|
+
const chunkEditing = defineCodeTemplate(
|
|
12177
|
+
"chunk-editing",
|
|
12178
|
+
(ctx) => {
|
|
12179
|
+
const imports = [];
|
|
12180
|
+
const map = /* @__PURE__ */ new Map();
|
|
12181
|
+
for (const file of ctx.blocks.files.values()) {
|
|
12182
|
+
if (!file.definition) {
|
|
12183
|
+
continue;
|
|
12184
|
+
}
|
|
12185
|
+
if (file.type === "provider") {
|
|
12186
|
+
continue;
|
|
12187
|
+
}
|
|
12188
|
+
if (!fs.existsSync(file.filePath)) {
|
|
12189
|
+
continue;
|
|
12190
|
+
}
|
|
12191
|
+
imports.push(`import ${file.identifier} from '${file.filePath}'`);
|
|
12192
|
+
file.variations.forEach((variation) => {
|
|
12193
|
+
map.set(variation, file.identifier);
|
|
12194
|
+
});
|
|
12195
|
+
}
|
|
12196
|
+
return `
|
|
12197
|
+
${imports.sort().join("\n")}
|
|
12198
|
+
|
|
12199
|
+
${toObject("allComponents", map)}
|
|
12200
|
+
`;
|
|
12201
|
+
},
|
|
12202
|
+
() => {
|
|
12203
|
+
return `
|
|
12204
|
+
import type { Component } from 'vue'
|
|
12205
|
+
|
|
12206
|
+
/**
|
|
12207
|
+
* A map of block import identifier and block component.
|
|
12208
|
+
*
|
|
12209
|
+
* This should ONLY be imported in editor code, since it imports ALL block components.
|
|
12210
|
+
*/
|
|
12211
|
+
export declare const allComponents: Record<string, Component>
|
|
12212
|
+
`;
|
|
12213
|
+
},
|
|
12214
|
+
{
|
|
12215
|
+
dependencies: ["block-path", "block-content"]
|
|
12216
|
+
}
|
|
12217
|
+
);
|
|
12218
|
+
|
|
12056
12219
|
const TEMPLATES = [
|
|
12057
12220
|
icons,
|
|
12058
12221
|
features,
|
|
@@ -12069,7 +12232,8 @@ const TEMPLATES = [
|
|
|
12069
12232
|
defaultGlobalOptions,
|
|
12070
12233
|
imports,
|
|
12071
12234
|
optionsSchema,
|
|
12072
|
-
chunkGroup
|
|
12235
|
+
chunkGroup,
|
|
12236
|
+
chunkEditing
|
|
12073
12237
|
];
|
|
12074
12238
|
|
|
12075
12239
|
class CollectedFeatureFile extends CollectedFile {
|
|
@@ -1,17 +1,55 @@
|
|
|
1
1
|
import type { BlokkliIcon } from '#blokkli-build/icons';
|
|
2
2
|
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
3
|
+
/**
|
|
4
|
+
* Unique identifier for this indicator.
|
|
5
|
+
*
|
|
6
|
+
* Should be unique per block instance.
|
|
7
|
+
*/
|
|
3
8
|
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* The UUID of the block this indicator is attached to.
|
|
11
|
+
*/
|
|
4
12
|
uuid: string;
|
|
13
|
+
/**
|
|
14
|
+
* Optional text label to display in the indicator.
|
|
15
|
+
*/
|
|
5
16
|
label?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Which side of the block to display the indicator.
|
|
19
|
+
*
|
|
20
|
+
* @default 'left'
|
|
21
|
+
*/
|
|
6
22
|
position?: "left" | "right";
|
|
23
|
+
/**
|
|
24
|
+
* Optional icon to display in the indicator.
|
|
25
|
+
*/
|
|
7
26
|
icon?: BlokkliIcon;
|
|
8
27
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
28
|
click: () => any;
|
|
10
29
|
}, string, import("vue").PublicProps, Readonly<{
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for this indicator.
|
|
32
|
+
*
|
|
33
|
+
* Should be unique per block instance.
|
|
34
|
+
*/
|
|
11
35
|
id: string;
|
|
36
|
+
/**
|
|
37
|
+
* The UUID of the block this indicator is attached to.
|
|
38
|
+
*/
|
|
12
39
|
uuid: string;
|
|
40
|
+
/**
|
|
41
|
+
* Optional text label to display in the indicator.
|
|
42
|
+
*/
|
|
13
43
|
label?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Which side of the block to display the indicator.
|
|
46
|
+
*
|
|
47
|
+
* @default 'left'
|
|
48
|
+
*/
|
|
14
49
|
position?: "left" | "right";
|
|
50
|
+
/**
|
|
51
|
+
* Optional icon to display in the indicator.
|
|
52
|
+
*/
|
|
15
53
|
icon?: BlokkliIcon;
|
|
16
54
|
}> & Readonly<{
|
|
17
55
|
onClick?: (() => any) | undefined;
|
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
import type { ContextMenu } from '#blokkli/types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
/**
|
|
4
|
+
* Unique identifier for this context menu.
|
|
5
|
+
*
|
|
6
|
+
* Used to track which menu is currently open.
|
|
7
|
+
*/
|
|
3
8
|
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* Array of menu items to display.
|
|
11
|
+
*
|
|
12
|
+
* Each item can have nested sub-menus.
|
|
13
|
+
*/
|
|
4
14
|
menu: ContextMenu[];
|
|
15
|
+
/**
|
|
16
|
+
* The HTML tag to use for the wrapper element.
|
|
17
|
+
*
|
|
18
|
+
* @default 'div'
|
|
19
|
+
*/
|
|
5
20
|
tag?: string;
|
|
6
21
|
};
|
|
7
22
|
declare var __VLS_10: {};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import type { BlokkliIcon } from '#blokkli-build/icons';
|
|
2
2
|
import type { RenderedFieldListItem } from '#blokkli/types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
|
+
/**
|
|
5
|
+
* Unique identifier for this item action.
|
|
6
|
+
*/
|
|
4
7
|
id: string;
|
|
5
8
|
/**
|
|
6
9
|
* The title of the action.
|
|
10
|
+
*
|
|
11
|
+
* Displayed in the tooltip and keyboard shortcut hints.
|
|
7
12
|
*/
|
|
8
13
|
title: string;
|
|
9
14
|
/**
|
|
@@ -11,30 +16,50 @@ type __VLS_Props = {
|
|
|
11
16
|
*/
|
|
12
17
|
disabled?: boolean;
|
|
13
18
|
/**
|
|
14
|
-
* Whether the button should be displayed in an active state
|
|
19
|
+
* Whether the button should be displayed in an active state.
|
|
20
|
+
*
|
|
21
|
+
* Useful when the action opens a dropdown or dialog.
|
|
15
22
|
*/
|
|
16
23
|
active?: boolean;
|
|
17
24
|
/**
|
|
18
|
-
* The key code to use for the shortcut.
|
|
25
|
+
* The key code to use for the keyboard shortcut.
|
|
26
|
+
*
|
|
27
|
+
* @example 'c' for the "c" key
|
|
19
28
|
*/
|
|
20
29
|
keyCode?: string;
|
|
21
30
|
/**
|
|
22
|
-
*
|
|
31
|
+
* Whether the shortcut needs the meta modifier key.
|
|
32
|
+
*
|
|
33
|
+
* On Mac this is Cmd, on Windows/Linux this is Ctrl.
|
|
23
34
|
*/
|
|
24
35
|
meta?: boolean;
|
|
25
36
|
/**
|
|
26
37
|
* Whether the action supports multiple items.
|
|
38
|
+
*
|
|
39
|
+
* If false, the action is disabled when more than one item is selected.
|
|
27
40
|
*/
|
|
28
41
|
multiple?: boolean;
|
|
29
42
|
/**
|
|
30
43
|
* Whether the action is only available in edit mode.
|
|
44
|
+
*
|
|
45
|
+
* If true, the action is hidden in preview mode.
|
|
31
46
|
*/
|
|
32
47
|
editOnly?: boolean;
|
|
33
48
|
/**
|
|
34
49
|
* The weight, used for positioning the button.
|
|
50
|
+
*
|
|
51
|
+
* Lower weights appear first. Use 'last' to always position at the end.
|
|
35
52
|
*/
|
|
36
53
|
weight?: number | string | 'last';
|
|
54
|
+
/**
|
|
55
|
+
* Optional icon to display in the button.
|
|
56
|
+
*/
|
|
37
57
|
icon?: BlokkliIcon;
|
|
58
|
+
/**
|
|
59
|
+
* Optional text for the interactive tour.
|
|
60
|
+
*
|
|
61
|
+
* If provided, this action will be included in the editor tour.
|
|
62
|
+
*/
|
|
38
63
|
tourText?: string;
|
|
39
64
|
};
|
|
40
65
|
declare var __VLS_5: {}, __VLS_19: {
|