@blokkli/editor 2.0.0-alpha.27 → 2.0.0-alpha.29
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/global/constants/index.d.ts +6 -0
- package/dist/global/constants/index.js +10 -0
- package/dist/global/types/adapter.d.ts +6 -0
- package/dist/global/types/blockOptions.d.ts +348 -0
- package/dist/global/types/definitions.d.ts +278 -0
- package/dist/global/types/features.d.ts +87 -0
- package/dist/module.d.mts +25 -7
- package/dist/module.json +1 -1
- package/dist/module.mjs +1026 -187
- package/dist/modules/drupal/graphql/features/import-existing.graphql +9 -2
- package/dist/modules/drupal/graphql/features/library.graphql +9 -2
- package/dist/modules/drupal/graphql/features/media-library.graphql +6 -14
- package/dist/modules/drupal/graphql/features/publishNew.graphql +3 -0
- package/dist/modules/drupal/index.d.mts +6 -5
- package/dist/modules/drupal/index.mjs +2 -4
- package/dist/modules/drupal/runtime/adapter/index.d.ts +1 -2
- package/dist/modules/drupal/runtime/adapter/index.js +36 -28
- package/dist/runtime/components/Blocks/Fragment/index.d.vue.ts +7 -0
- package/dist/runtime/components/Blocks/Fragment/index.vue +3 -2
- package/dist/runtime/components/Blocks/Fragment/index.vue.d.ts +2 -1
- package/dist/runtime/components/Blocks/FromLibrary/index.d.vue.ts +7 -0
- package/dist/runtime/components/Blocks/FromLibrary/index.vue +7 -3
- package/dist/runtime/components/Blocks/FromLibrary/index.vue.d.ts +3 -2
- package/dist/runtime/components/Blocks/NotImplemented/index.d.vue.ts +7 -0
- package/dist/runtime/components/Blocks/NotImplemented/index.vue +3 -3
- package/dist/runtime/components/Blocks/NotImplemented/index.vue.d.ts +2 -1
- package/dist/runtime/components/BlokkliEditable.d.vue.ts +33 -0
- package/dist/runtime/components/BlokkliEditable.vue +12 -3
- package/dist/runtime/components/BlokkliEditable.vue.d.ts +3 -2
- package/dist/runtime/components/BlokkliField.d.vue.ts +96 -0
- package/dist/runtime/components/BlokkliField.vue +6 -23
- package/dist/runtime/components/BlokkliField.vue.d.ts +8 -5
- package/dist/runtime/components/BlokkliItem.d.vue.ts +31 -0
- package/dist/runtime/components/BlokkliItem.vue +25 -26
- package/dist/runtime/components/BlokkliItem.vue.d.ts +8 -7
- package/dist/runtime/components/BlokkliProvider.d.vue.ts +77 -0
- package/dist/runtime/components/BlokkliProvider.vue +6 -6
- package/dist/runtime/components/BlokkliProvider.vue.d.ts +12 -7
- package/dist/runtime/composables/defineBlokkli.d.ts +1 -1
- package/dist/runtime/composables/defineBlokkli.js +19 -22
- package/dist/runtime/composables/defineBlokkliFeature.d.ts +3 -3
- package/dist/runtime/composables/defineBlokkliFeature.js +2 -2
- package/dist/runtime/composables/defineBlokkliFragment.d.ts +1 -1
- package/dist/runtime/composables/defineBlokkliFragment.js +2 -5
- package/dist/runtime/composables/defineBlokkliProvider.d.ts +1 -1
- package/dist/runtime/composables/defineBlokkliProvider.js +1 -1
- package/dist/runtime/composables/useBlokkli.d.ts +1 -1
- package/dist/runtime/composables/useBlokkli.js +2 -2
- package/dist/runtime/composables/useBlokkliHelper.d.ts +2 -1
- package/dist/runtime/composables/useBlokkliHelper.js +5 -11
- package/dist/runtime/editor/adapter/index.d.ts +121 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown.vue +66 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Actions/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Actions/index.vue +216 -0
- package/dist/runtime/editor/components/Actions/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/AddListItem/index.d.vue.ts +20 -0
- package/dist/runtime/editor/components/AddListItem/index.vue +66 -0
- package/dist/runtime/editor/components/AddListItem/index.vue.d.ts +20 -0
- package/dist/runtime/editor/components/AnimationCanvas/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/AnimationCanvas/index.vue +455 -0
- package/dist/runtime/editor/components/AnimationCanvas/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/AppMenu/MenuButton.d.vue.ts +29 -0
- package/dist/runtime/editor/components/AppMenu/MenuButton.vue +39 -0
- package/dist/runtime/editor/components/AppMenu/MenuButton.vue.d.ts +29 -0
- package/dist/runtime/editor/components/AppMenu/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/AppMenu/index.vue +85 -0
- package/dist/runtime/editor/components/AppMenu/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/ArtboardTooltip/index.d.vue.ts +33 -0
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue +89 -0
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue.d.ts +33 -0
- package/dist/runtime/editor/components/Banner/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/Banner/index.vue +51 -0
- package/dist/runtime/editor/components/Banner/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/BlockProxy/index.d.vue.ts +11 -0
- package/dist/runtime/editor/components/BlockProxy/index.vue +88 -0
- package/dist/runtime/editor/components/BlockProxy/index.vue.d.ts +11 -0
- package/dist/runtime/editor/components/BlokkliErrorBoundary.d.vue.ts +27 -0
- package/dist/runtime/editor/components/BlokkliErrorBoundary.vue +47 -0
- package/dist/runtime/editor/components/BlokkliErrorBoundary.vue.d.ts +27 -0
- package/dist/runtime/editor/components/BlokkliRootErrorBoundary.d.vue.ts +13 -0
- package/dist/runtime/editor/components/BlokkliRootErrorBoundary.vue +96 -0
- package/dist/runtime/editor/components/BlokkliRootErrorBoundary.vue.d.ts +13 -0
- package/dist/runtime/editor/components/BundleSelector/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/BundleSelector/index.vue +187 -0
- package/dist/runtime/editor/components/BundleSelector/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/Dialog/index.d.vue.ts +49 -0
- package/dist/runtime/editor/components/Dialog/index.vue +134 -0
- package/dist/runtime/editor/components/Dialog/index.vue.d.ts +49 -0
- package/dist/runtime/editor/components/DiffViewer/State.d.vue.ts +17 -0
- package/dist/runtime/editor/components/DiffViewer/State.vue +276 -0
- package/dist/runtime/editor/components/DiffViewer/State.vue.d.ts +17 -0
- package/dist/runtime/editor/components/DraggableList.d.vue.ts +29 -0
- package/dist/runtime/editor/components/DraggableList.vue +145 -0
- package/dist/runtime/editor/components/DraggableList.vue.d.ts +29 -0
- package/dist/runtime/editor/components/EditIndicator.d.vue.ts +15 -0
- package/dist/runtime/editor/components/EditIndicator.vue +151 -0
- package/dist/runtime/editor/components/EditIndicator.vue.d.ts +15 -0
- package/dist/runtime/editor/components/EditProvider.d.vue.ts +34 -0
- package/dist/runtime/editor/components/EditProvider.vue +388 -0
- package/dist/runtime/editor/components/EditProvider.vue.d.ts +34 -0
- package/dist/runtime/editor/components/FeaturesRenderer/index.d.vue.ts +7 -0
- package/dist/runtime/editor/components/FeaturesRenderer/index.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Form/Checkboxes/index.d.vue.ts +23 -0
- package/dist/runtime/editor/components/Form/Checkboxes/index.vue +49 -0
- package/dist/runtime/editor/components/Form/Checkboxes/index.vue.d.ts +23 -0
- package/dist/runtime/editor/components/Form/Datepicker/index.d.vue.ts +17 -0
- package/dist/runtime/editor/components/Form/Datepicker/index.vue +198 -0
- package/dist/runtime/editor/components/Form/Datepicker/index.vue.d.ts +17 -0
- package/dist/runtime/editor/components/Form/Group/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/Form/Group/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/Form/Item/index.d.vue.ts +13 -0
- package/dist/runtime/editor/components/Form/Item/index.vue.d.ts +13 -0
- package/dist/runtime/editor/components/Form/Radio/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/Form/Radio/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Form/RadioTabs/index.d.vue.ts +24 -0
- package/dist/runtime/editor/components/Form/RadioTabs/index.vue.d.ts +24 -0
- package/dist/runtime/editor/components/Form/Select/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/Form/Select/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Form/Text/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/Form/Text/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Form/Textarea/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/Form/Textarea/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Form/Toggle/index.d.vue.ts +26 -0
- package/dist/runtime/editor/components/Form/Toggle/index.vue.d.ts +26 -0
- package/dist/runtime/editor/components/FormOverlay/Header/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/FormOverlay/Header/index.vue +28 -0
- package/dist/runtime/editor/components/FormOverlay/Header/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/FormOverlay/index.d.vue.ts +27 -0
- package/dist/runtime/editor/components/FormOverlay/index.vue +55 -0
- package/dist/runtime/editor/components/FormOverlay/index.vue.d.ts +27 -0
- package/dist/runtime/editor/components/Highlight/index.d.vue.ts +21 -0
- package/dist/runtime/editor/components/Highlight/index.vue.d.ts +21 -0
- package/dist/runtime/editor/components/Icon/index.d.vue.ts +8 -0
- package/dist/runtime/editor/components/Icon/index.vue +20 -0
- package/dist/runtime/editor/components/Icon/index.vue.d.ts +8 -0
- package/dist/runtime/editor/components/Indicators/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Indicators/index.vue +123 -0
- package/dist/runtime/editor/components/Indicators/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/InfoBox/index.d.vue.ts +21 -0
- package/dist/runtime/editor/components/InfoBox/index.vue +18 -0
- package/dist/runtime/editor/components/InfoBox/index.vue.d.ts +21 -0
- package/dist/runtime/editor/components/ItemIcon/index.d.vue.ts +7 -0
- package/dist/runtime/editor/components/ItemIcon/index.vue +36 -0
- package/dist/runtime/editor/components/ItemIcon/index.vue.d.ts +7 -0
- package/dist/runtime/editor/components/ItemIconBox/index.d.vue.ts +18 -0
- package/dist/runtime/editor/components/ItemIconBox/index.vue +40 -0
- package/dist/runtime/editor/components/ItemIconBox/index.vue.d.ts +18 -0
- package/dist/runtime/editor/components/Konami/Game/PixelGrid.d.vue.ts +8 -0
- package/dist/runtime/editor/components/Konami/Game/PixelGrid.vue +66 -0
- package/dist/runtime/editor/components/Konami/Game/PixelGrid.vue.d.ts +8 -0
- package/dist/runtime/editor/components/Konami/Game/index.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Konami/Game/index.vue +751 -0
- package/dist/runtime/editor/components/Konami/Game/index.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Konami/Game/useIconRendering.d.ts +9 -0
- package/dist/runtime/editor/components/Konami/Game/useIconRendering.js +131 -0
- package/dist/runtime/editor/components/Konami/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Konami/index.vue +42 -0
- package/dist/runtime/editor/components/Konami/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Loading/index.d.vue.ts +9 -0
- package/dist/runtime/editor/components/Loading/index.vue +22 -0
- package/dist/runtime/editor/components/Loading/index.vue.d.ts +9 -0
- package/dist/runtime/editor/components/Messages/Item/index.d.vue.ts +12 -0
- package/dist/runtime/editor/components/Messages/Item/index.vue +105 -0
- package/dist/runtime/editor/components/Messages/Item/index.vue.d.ts +12 -0
- package/dist/runtime/editor/components/Messages/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Messages/index.vue +41 -0
- package/dist/runtime/editor/components/Messages/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Overlay/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Overlay/index.vue +70 -0
- package/dist/runtime/editor/components/Overlay/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Pagination/index.d.vue.ts +14 -0
- package/dist/runtime/editor/components/Pagination/index.vue +19 -0
- package/dist/runtime/editor/components/Pagination/index.vue.d.ts +14 -0
- package/dist/runtime/editor/components/PluginConfigForm/Checkbox/index.d.vue.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Checkbox/index.vue +17 -0
- package/dist/runtime/editor/components/PluginConfigForm/Checkbox/index.vue.d.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Options/index.d.vue.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Options/index.vue +37 -0
- package/dist/runtime/editor/components/PluginConfigForm/Options/index.vue.d.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Text/index.d.vue.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Text/index.vue +43 -0
- package/dist/runtime/editor/components/PluginConfigForm/Text/index.vue.d.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/index.d.vue.ts +30 -0
- package/dist/runtime/editor/components/PluginConfigForm/index.vue +59 -0
- package/dist/runtime/editor/components/PluginConfigForm/index.vue.d.ts +30 -0
- package/dist/runtime/editor/components/PreviewProvider.d.vue.ts +29 -0
- package/dist/runtime/editor/components/PreviewProvider.vue +176 -0
- package/dist/runtime/editor/components/PreviewProvider.vue.d.ts +29 -0
- package/dist/runtime/editor/components/RelativeTime/index.d.vue.ts +16 -0
- package/dist/runtime/editor/components/RelativeTime/index.vue +59 -0
- package/dist/runtime/editor/components/RelativeTime/index.vue.d.ts +16 -0
- package/dist/runtime/editor/components/Resizable/index.d.vue.ts +14 -0
- package/dist/runtime/editor/components/Resizable/index.vue.d.ts +14 -0
- package/dist/runtime/editor/components/ScaleToFit/index.d.vue.ts +16 -0
- package/dist/runtime/editor/components/ScaleToFit/index.vue +70 -0
- package/dist/runtime/editor/components/ScaleToFit/index.vue.d.ts +16 -0
- package/dist/runtime/editor/components/ScheduleDate/index.d.vue.ts +25 -0
- package/dist/runtime/editor/components/ScheduleDate/index.vue +131 -0
- package/dist/runtime/editor/components/ScheduleDate/index.vue.d.ts +25 -0
- package/dist/runtime/editor/components/ScrollBoundary/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/ScrollBoundary/index.vue +23 -0
- package/dist/runtime/editor/components/ScrollBoundary/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/ShortcutIndicator/index.d.vue.ts +21 -0
- package/dist/runtime/editor/components/ShortcutIndicator/index.vue +85 -0
- package/dist/runtime/editor/components/ShortcutIndicator/index.vue.d.ts +21 -0
- package/dist/runtime/editor/components/Sortli/index.d.vue.ts +17 -0
- package/dist/runtime/editor/components/Sortli/index.vue +81 -0
- package/dist/runtime/editor/components/Sortli/index.vue.d.ts +17 -0
- package/dist/runtime/editor/components/SystemRequirements/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/SystemRequirements/index.vue +81 -0
- package/dist/runtime/editor/components/SystemRequirements/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Toolbar/index.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Toolbar/index.vue +89 -0
- package/dist/runtime/editor/components/Toolbar/index.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Transition/Height.d.vue.ts +37 -0
- package/dist/runtime/editor/components/Transition/Height.vue.d.ts +37 -0
- package/dist/runtime/editor/components/Transition/index.d.vue.ts +20 -0
- package/dist/runtime/editor/components/Transition/index.vue.d.ts +20 -0
- package/dist/runtime/editor/components/ViewportBlockingRect/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/ViewportBlockingRect/index.vue +60 -0
- package/dist/runtime/editor/components/ViewportBlockingRect/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/index.d.ts +37 -0
- package/dist/runtime/editor/components/index.js +74 -0
- package/dist/runtime/editor/composables/defineAddAction.d.ts +2 -0
- package/dist/runtime/editor/composables/defineAddAction.js +10 -0
- package/dist/runtime/editor/composables/defineCommands.d.ts +2 -0
- package/dist/runtime/editor/composables/defineCommands.js +10 -0
- package/dist/runtime/editor/composables/defineDropAreas.d.ts +3 -0
- package/dist/runtime/editor/composables/defineDropAreas.js +10 -0
- package/dist/runtime/editor/composables/defineItemDropdownAction.d.ts +2 -0
- package/dist/runtime/editor/composables/defineItemDropdownAction.js +10 -0
- package/dist/runtime/editor/composables/defineMenuButton.d.ts +2 -0
- package/dist/runtime/editor/composables/defineMenuButton.js +10 -0
- package/dist/runtime/editor/composables/defineRenderer.d.ts +11 -0
- package/dist/runtime/editor/composables/defineRenderer.js +9 -0
- package/dist/runtime/editor/composables/defineShortcut.d.ts +2 -0
- package/dist/runtime/editor/composables/defineShortcut.js +18 -0
- package/dist/runtime/editor/composables/defineTourItem.d.ts +2 -0
- package/dist/runtime/editor/composables/defineTourItem.js +10 -0
- package/dist/runtime/editor/composables/index.d.ts +22 -0
- package/dist/runtime/editor/composables/index.js +22 -0
- package/dist/runtime/editor/composables/onBlokkliEvent.d.ts +2 -0
- package/dist/runtime/editor/composables/onBlokkliEvent.js +10 -0
- package/dist/runtime/editor/composables/onBroadcastEvent.d.ts +2 -0
- package/dist/runtime/editor/composables/onBroadcastEvent.js +10 -0
- package/dist/runtime/editor/composables/useAnimationFrame.d.ts +1 -0
- package/dist/runtime/editor/composables/useAnimationFrame.js +14 -0
- package/dist/runtime/editor/composables/useBlockRegistration.js +41 -0
- package/dist/runtime/editor/composables/useDebugLogger.d.ts +2 -0
- package/dist/runtime/editor/composables/useDebugLogger.js +5 -0
- package/dist/runtime/editor/composables/useDelayedIntersectionObserver.d.ts +5 -0
- package/dist/runtime/editor/composables/useDelayedIntersectionObserver.js +27 -0
- package/dist/runtime/editor/composables/useDialog.d.ts +3 -0
- package/dist/runtime/editor/composables/useFocusTrap.d.ts +52 -0
- package/dist/runtime/editor/composables/useFocusTrap.js +59 -0
- package/dist/runtime/editor/composables/useGlobalBlokkliObject.d.ts +16 -0
- package/dist/runtime/editor/composables/useStateBasedCache.d.ts +4 -0
- package/dist/runtime/editor/composables/useStateBasedCache.js +13 -0
- package/dist/runtime/editor/composables/useStickyToolbar.d.ts +23 -0
- package/dist/runtime/editor/composables/useStickyToolbar.js +234 -0
- package/dist/runtime/editor/composables/useTransitionedValue.d.ts +18 -0
- package/dist/runtime/editor/composables/useTransitionedValue.js +57 -0
- package/dist/runtime/editor/css/output.css +1 -0
- package/dist/runtime/editor/events/index.d.ts +228 -0
- package/dist/runtime/editor/events/index.js +6 -0
- package/dist/runtime/editor/features/add-list/Actions/Action.d.vue.ts +8 -0
- package/dist/runtime/editor/features/add-list/Actions/Action.vue +53 -0
- package/dist/runtime/editor/features/add-list/Actions/Action.vue.d.ts +8 -0
- package/dist/runtime/editor/features/add-list/Actions/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/add-list/Actions/index.vue +41 -0
- package/dist/runtime/editor/features/add-list/Actions/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/add-list/Blocks/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/add-list/Blocks/index.vue +274 -0
- package/dist/runtime/editor/features/add-list/Blocks/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/add-list/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/add-list/index.vue +148 -0
- package/dist/runtime/editor/features/add-list/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/add-list/types.d.ts +19 -0
- package/dist/runtime/editor/features/add-list/types.js +0 -0
- package/dist/runtime/editor/features/analyze/Icon.d.vue.ts +6 -0
- package/dist/runtime/editor/features/analyze/Icon.vue.d.ts +6 -0
- package/dist/runtime/editor/features/analyze/Main.d.vue.ts +16 -0
- package/dist/runtime/editor/features/analyze/Main.vue +385 -0
- package/dist/runtime/editor/features/analyze/Main.vue.d.ts +16 -0
- package/dist/runtime/editor/features/analyze/Renderer/index.d.vue.ts +22 -0
- package/dist/runtime/editor/features/analyze/Renderer/index.vue +259 -0
- package/dist/runtime/editor/features/analyze/Renderer/index.vue.d.ts +22 -0
- package/dist/runtime/editor/features/analyze/Results/Results.d.vue.ts +15 -0
- package/dist/runtime/editor/features/analyze/Results/Results.vue +102 -0
- package/dist/runtime/editor/features/analyze/Results/Results.vue.d.ts +15 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.d.vue.ts +23 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue +56 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue.d.ts +23 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.d.vue.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue +80 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue.d.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.d.vue.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue +123 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue.d.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/Status.d.vue.ts +9 -0
- package/dist/runtime/editor/features/analyze/Results/Status.vue.d.ts +9 -0
- package/dist/runtime/editor/features/analyze/Summary/Chart.d.vue.ts +18 -0
- package/dist/runtime/editor/features/analyze/Summary/Chart.vue.d.ts +18 -0
- package/dist/runtime/editor/features/analyze/Summary/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/analyze/Summary/index.vue +77 -0
- package/dist/runtime/editor/features/analyze/Summary/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/analyze/analyzers/axe.d.ts +12 -0
- package/dist/runtime/editor/features/analyze/analyzers/axe.js +78 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/Context.d.ts +33 -0
- package/dist/runtime/editor/features/analyze/analyzers/readability.js +206 -0
- package/dist/runtime/editor/features/analyze/analyzers/types.js +0 -0
- package/dist/runtime/editor/features/analyze/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/analyze/index.vue +69 -0
- package/dist/runtime/editor/features/analyze/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/analyze/types.d.ts +6 -0
- package/dist/runtime/editor/features/analyze/types.js +0 -0
- package/dist/runtime/editor/features/anchors/Overlay/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/anchors/Overlay/index.vue +53 -0
- package/dist/runtime/editor/features/anchors/Overlay/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/anchors/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/anchors/index.vue +32 -0
- package/dist/runtime/editor/features/anchors/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/anchors/types.d.ts +8 -0
- package/dist/runtime/editor/features/anchors/types.js +0 -0
- package/dist/runtime/editor/features/artboard/Overview/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/artboard/Overview/index.vue +122 -0
- package/dist/runtime/editor/features/artboard/Overview/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/artboard/Renderer.d.vue.ts +8 -0
- package/dist/runtime/editor/features/artboard/Renderer.vue +322 -0
- package/dist/runtime/editor/features/artboard/Renderer.vue.d.ts +8 -0
- package/dist/runtime/editor/features/artboard/Scrollbar/index.d.vue.ts +8 -0
- package/dist/runtime/editor/features/artboard/Scrollbar/index.vue.d.ts +8 -0
- package/dist/runtime/editor/features/artboard/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/artboard/index.vue +92 -0
- package/dist/runtime/editor/features/artboard/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/assistant/Overlay/index.d.vue.ts +9 -0
- package/dist/runtime/editor/features/assistant/Overlay/index.vue +108 -0
- package/dist/runtime/editor/features/assistant/Overlay/index.vue.d.ts +9 -0
- package/dist/runtime/editor/features/assistant/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/assistant/index.vue +65 -0
- package/dist/runtime/editor/features/assistant/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/assistant/types.d.ts +37 -0
- package/dist/runtime/editor/features/assistant/types.js +0 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.d.vue.ts +29 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.vue +154 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.vue.d.ts +29 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/index.vue +232 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/block-scheduler/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/block-scheduler/index.vue +96 -0
- package/dist/runtime/editor/features/block-scheduler/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/block-scheduler/types.d.ts +25 -0
- package/dist/runtime/editor/features/block-scheduler/types.js +0 -0
- package/dist/runtime/editor/features/breadcrumbs/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/breadcrumbs/index.vue +206 -0
- package/dist/runtime/editor/features/breadcrumbs/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/clipboard/List/Item/File.d.vue.ts +4 -0
- package/dist/runtime/editor/features/clipboard/List/Item/File.vue.d.ts +4 -0
- package/dist/runtime/editor/features/clipboard/List/Item/Video.d.vue.ts +4 -0
- package/dist/runtime/editor/features/clipboard/List/Item/Video.vue +54 -0
- package/dist/runtime/editor/features/clipboard/List/Item/Video.vue.d.ts +4 -0
- package/dist/runtime/editor/features/clipboard/List/index.d.vue.ts +11 -0
- package/dist/runtime/editor/features/clipboard/List/index.vue +72 -0
- package/dist/runtime/editor/features/clipboard/List/index.vue.d.ts +11 -0
- package/dist/runtime/editor/features/clipboard/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/clipboard/index.vue +606 -0
- package/dist/runtime/editor/features/clipboard/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/clipboard/types.d.ts +99 -0
- package/dist/runtime/editor/features/clipboard/types.js +0 -0
- package/dist/runtime/editor/features/command-palette/Palette/Item/index.d.vue.ts +20 -0
- package/dist/runtime/editor/features/command-palette/Palette/Item/index.vue +49 -0
- package/dist/runtime/editor/features/command-palette/Palette/Item/index.vue.d.ts +20 -0
- package/dist/runtime/editor/features/command-palette/Palette/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/command-palette/Palette/index.vue +229 -0
- package/dist/runtime/editor/features/command-palette/Palette/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/command-palette/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/command-palette/index.vue +51 -0
- package/dist/runtime/editor/features/command-palette/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/command-palette/types.d.ts +11 -0
- package/dist/runtime/editor/features/command-palette/types.js +0 -0
- package/dist/runtime/editor/features/comments/AddForm/index.d.vue.ts +11 -0
- package/dist/runtime/editor/features/comments/AddForm/index.vue +44 -0
- package/dist/runtime/editor/features/comments/AddForm/index.vue.d.ts +11 -0
- package/dist/runtime/editor/features/comments/Comment/index.d.vue.ts +24 -0
- package/dist/runtime/editor/features/comments/Comment/index.vue +45 -0
- package/dist/runtime/editor/features/comments/Comment/index.vue.d.ts +24 -0
- package/dist/runtime/editor/features/comments/CommentInput/index.d.vue.ts +15 -0
- package/dist/runtime/editor/features/comments/CommentInput/index.vue.d.ts +15 -0
- package/dist/runtime/editor/features/comments/Overlay/Item/index.d.vue.ts +21 -0
- package/dist/runtime/editor/features/comments/Overlay/Item/index.vue +94 -0
- package/dist/runtime/editor/features/comments/Overlay/Item/index.vue.d.ts +21 -0
- package/dist/runtime/editor/features/comments/Overlay/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/comments/Overlay/index.vue +113 -0
- package/dist/runtime/editor/features/comments/Overlay/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/comments/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/comments/index.vue +112 -0
- package/dist/runtime/editor/features/comments/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/comments/types.d.ts +26 -0
- package/dist/runtime/editor/features/comments/types.js +0 -0
- package/dist/runtime/editor/features/conversions/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/conversions/index.vue +84 -0
- package/dist/runtime/editor/features/conversions/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/conversions/types.d.ts +16 -0
- package/dist/runtime/editor/features/conversions/types.js +0 -0
- package/dist/runtime/editor/features/debug/DebugSection.d.vue.ts +17 -0
- package/dist/runtime/editor/features/debug/DebugSection.vue.d.ts +17 -0
- package/dist/runtime/editor/features/debug/Main.d.vue.ts +7 -0
- package/dist/runtime/editor/features/debug/Main.vue +80 -0
- package/dist/runtime/editor/features/debug/Main.vue.d.ts +7 -0
- package/dist/runtime/editor/features/debug/Rects/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Rects/index.vue +61 -0
- package/dist/runtime/editor/features/debug/Rects/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Features.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Features.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Icons.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Icons.vue +17 -0
- package/dist/runtime/editor/features/debug/Section/Icons.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Keyboard.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Keyboard.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Logging.d.vue.ts +7 -0
- package/dist/runtime/editor/features/debug/Section/Logging.vue +66 -0
- package/dist/runtime/editor/features/debug/Section/Logging.vue.d.ts +7 -0
- package/dist/runtime/editor/features/debug/Section/Rendering.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Rendering.vue +96 -0
- package/dist/runtime/editor/features/debug/Section/Rendering.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Selection.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Selection.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Viewport/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Viewport/index.vue +98 -0
- package/dist/runtime/editor/features/debug/Viewport/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/index.vue +31 -0
- package/dist/runtime/editor/features/debug/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/delete/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/delete/index.vue +68 -0
- package/dist/runtime/editor/features/delete/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/delete/types.d.ts +8 -0
- package/dist/runtime/editor/features/delete/types.js +0 -0
- package/dist/runtime/editor/features/dev-mode/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/dev-mode/index.vue +38 -0
- package/dist/runtime/editor/features/dev-mode/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/diff/DiffView/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/diff/DiffView/index.vue +20 -0
- package/dist/runtime/editor/features/diff/DiffView/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/diff/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/diff/index.vue +35 -0
- package/dist/runtime/editor/features/diff/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/DragItem.d.vue.ts +26 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/DragItem.vue +113 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/DragItem.vue.d.ts +26 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.d.vue.ts +29 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.vue +254 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.vue.d.ts +29 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.d.vue.ts +29 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue +818 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue.d.ts +29 -0
- package/dist/runtime/editor/features/dragging-overlay/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/dragging-overlay/index.vue +438 -0
- package/dist/runtime/editor/features/dragging-overlay/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/duplicate/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/duplicate/index.vue +105 -0
- package/dist/runtime/editor/features/duplicate/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/duplicate/types.d.ts +8 -0
- package/dist/runtime/editor/features/duplicate/types.js +0 -0
- package/dist/runtime/editor/features/edit/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/edit/index.vue +76 -0
- package/dist/runtime/editor/features/edit/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/edit/types.d.ts +9 -0
- package/dist/runtime/editor/features/edit/types.js +0 -0
- package/dist/runtime/editor/features/edit-form/Frame/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/edit-form/Frame/index.vue +70 -0
- package/dist/runtime/editor/features/edit-form/Frame/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/edit-form/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/edit-form/index.vue +176 -0
- package/dist/runtime/editor/features/edit-form/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Contenteditable/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Contenteditable/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue +116 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.d.vue.ts +20 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.vue +81 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.vue.d.ts +20 -0
- package/dist/runtime/editor/features/editable-field/Overlay/index.d.vue.ts +17 -0
- package/dist/runtime/editor/features/editable-field/Overlay/index.vue +317 -0
- package/dist/runtime/editor/features/editable-field/Overlay/index.vue.d.ts +17 -0
- package/dist/runtime/editor/features/editable-field/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/editable-field/index.vue +150 -0
- package/dist/runtime/editor/features/editable-field/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/editable-field/types.d.ts +54 -0
- package/dist/runtime/editor/features/editable-field/types.js +0 -0
- package/dist/runtime/editor/features/editable-mask/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/editable-mask/index.vue +39 -0
- package/dist/runtime/editor/features/editable-mask/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/entity-title/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/entity-title/index.vue +136 -0
- package/dist/runtime/editor/features/entity-title/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/exit/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/exit/index.vue +38 -0
- package/dist/runtime/editor/features/exit/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/fragments/Dialog/Item/index.d.vue.ts +9 -0
- package/dist/runtime/editor/features/fragments/Dialog/Item/index.vue +58 -0
- package/dist/runtime/editor/features/fragments/Dialog/Item/index.vue.d.ts +9 -0
- package/dist/runtime/editor/features/fragments/Dialog/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/fragments/Dialog/index.vue +122 -0
- package/dist/runtime/editor/features/fragments/Dialog/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/fragments/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/fragments/index.vue +75 -0
- package/dist/runtime/editor/features/fragments/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/fragments/types.d.ts +14 -0
- package/dist/runtime/editor/features/fragments/types.js +0 -0
- package/dist/runtime/editor/features/grid/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/grid/index.vue +37 -0
- package/dist/runtime/editor/features/grid/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/grid/types.d.ts +8 -0
- package/dist/runtime/editor/features/grid/types.js +0 -0
- package/dist/runtime/editor/features/help/Shortcuts/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/help/Shortcuts/index.vue +60 -0
- package/dist/runtime/editor/features/help/Shortcuts/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/help/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/help/index.vue +49 -0
- package/dist/runtime/editor/features/help/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/history/List/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/history/List/index.vue +128 -0
- package/dist/runtime/editor/features/history/List/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/history/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/history/index.vue +151 -0
- package/dist/runtime/editor/features/history/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/history/types.d.ts +12 -0
- package/dist/runtime/editor/features/history/types.js +0 -0
- package/dist/runtime/editor/features/hover/Renderer/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/hover/Renderer/index.vue +448 -0
- package/dist/runtime/editor/features/hover/Renderer/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/hover/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/hover/index.vue +28 -0
- package/dist/runtime/editor/features/hover/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/import-existing/Dialog/index.d.vue.ts +15 -0
- package/dist/runtime/editor/features/import-existing/Dialog/index.vue +122 -0
- package/dist/runtime/editor/features/import-existing/Dialog/index.vue.d.ts +15 -0
- package/dist/runtime/editor/features/import-existing/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/import-existing/index.vue +80 -0
- package/dist/runtime/editor/features/import-existing/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/import-existing/types.d.ts +23 -0
- package/dist/runtime/editor/features/import-existing/types.js +0 -0
- package/dist/runtime/editor/features/library/EditReusable/index.d.vue.ts +14 -0
- package/dist/runtime/editor/features/library/EditReusable/index.vue +165 -0
- package/dist/runtime/editor/features/library/EditReusable/index.vue.d.ts +14 -0
- package/dist/runtime/editor/features/library/LibraryDialog/Item/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/library/LibraryDialog/Item/index.vue +67 -0
- package/dist/runtime/editor/features/library/LibraryDialog/Item/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/library/LibraryDialog/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/library/LibraryDialog/index.vue +143 -0
- package/dist/runtime/editor/features/library/LibraryDialog/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/library/ReusableDialog/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/library/ReusableDialog/index.vue +99 -0
- package/dist/runtime/editor/features/library/ReusableDialog/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/library/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/library/index.vue +195 -0
- package/dist/runtime/editor/features/library/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/library/types.d.ts +80 -0
- package/dist/runtime/editor/features/library/types.js +0 -0
- package/dist/runtime/editor/features/media-library/Library/Item.d.vue.ts +22 -0
- package/dist/runtime/editor/features/media-library/Library/Item.vue +41 -0
- package/dist/runtime/editor/features/media-library/Library/Item.vue.d.ts +22 -0
- package/dist/runtime/editor/features/media-library/Library/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/media-library/Library/index.vue +195 -0
- package/dist/runtime/editor/features/media-library/Library/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/media-library/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/media-library/index.vue +108 -0
- package/dist/runtime/editor/features/media-library/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/media-library/types.d.ts +85 -0
- package/dist/runtime/editor/features/media-library/types.js +0 -0
- package/dist/runtime/editor/features/multi-select/Renderer/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/multi-select/Renderer/index.vue +297 -0
- package/dist/runtime/editor/features/multi-select/Renderer/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/multi-select/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/multi-select/index.vue +69 -0
- package/dist/runtime/editor/features/multi-select/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/options/Form/Checkbox/index.d.vue.ts +17 -0
- package/dist/runtime/editor/features/options/Form/Checkbox/index.vue +46 -0
- package/dist/runtime/editor/features/options/Form/Checkbox/index.vue.d.ts +17 -0
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.d.vue.ts +25 -0
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue +112 -0
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue.d.ts +25 -0
- package/dist/runtime/editor/features/options/Form/Color/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/options/Form/Color/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/options/Form/DateTimeLocal/index.d.vue.ts +21 -0
- package/dist/runtime/editor/features/options/Form/DateTimeLocal/index.vue.d.ts +21 -0
- package/dist/runtime/editor/features/options/Form/Group.d.vue.ts +21 -0
- package/dist/runtime/editor/features/options/Form/Group.vue +23 -0
- package/dist/runtime/editor/features/options/Form/Group.vue.d.ts +21 -0
- package/dist/runtime/editor/features/options/Form/Item.d.vue.ts +14 -0
- package/dist/runtime/editor/features/options/Form/Item.vue +186 -0
- package/dist/runtime/editor/features/options/Form/Item.vue.d.ts +14 -0
- package/dist/runtime/editor/features/options/Form/Number/index.d.vue.ts +22 -0
- package/dist/runtime/editor/features/options/Form/Number/index.vue +64 -0
- package/dist/runtime/editor/features/options/Form/Number/index.vue.d.ts +22 -0
- package/dist/runtime/editor/features/options/Form/Radios/index.d.vue.ts +37 -0
- package/dist/runtime/editor/features/options/Form/Radios/index.vue +129 -0
- package/dist/runtime/editor/features/options/Form/Radios/index.vue.d.ts +37 -0
- package/dist/runtime/editor/features/options/Form/Range/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/options/Form/Range/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/options/Form/Text/index.d.vue.ts +18 -0
- package/dist/runtime/editor/features/options/Form/Text/index.vue.d.ts +18 -0
- package/dist/runtime/editor/features/options/Form/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/options/Form/index.vue +382 -0
- package/dist/runtime/editor/features/options/Form/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/options/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/options/index.vue +85 -0
- package/dist/runtime/editor/features/options/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/options/types.d.ts +21 -0
- package/dist/runtime/editor/features/options/types.js +0 -0
- package/dist/runtime/editor/features/ownership/Banner/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/ownership/Banner/index.vue +35 -0
- package/dist/runtime/editor/features/ownership/Banner/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/ownership/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/ownership/index.vue +32 -0
- package/dist/runtime/editor/features/ownership/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/ownership/types.d.ts +8 -0
- package/dist/runtime/editor/features/ownership/types.js +0 -0
- package/dist/runtime/editor/features/preview/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/preview/index.vue +41 -0
- package/dist/runtime/editor/features/preview/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/preview-grant/QrCode/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/preview-grant/QrCode/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/preview-grant/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/preview-grant/index.vue +71 -0
- package/dist/runtime/editor/features/preview-grant/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/preview-grant/types.d.ts +10 -0
- package/dist/runtime/editor/features/preview-grant/types.js +0 -0
- package/dist/runtime/editor/features/proxy-view/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/proxy-view/index.vue +40 -0
- package/dist/runtime/editor/features/proxy-view/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/publish/Dialog/Item.d.vue.ts +22 -0
- package/dist/runtime/editor/features/publish/Dialog/Item.vue +145 -0
- package/dist/runtime/editor/features/publish/Dialog/Item.vue.d.ts +22 -0
- package/dist/runtime/editor/features/publish/Dialog/PublishOption.d.vue.ts +21 -0
- package/dist/runtime/editor/features/publish/Dialog/PublishOption.vue +47 -0
- package/dist/runtime/editor/features/publish/Dialog/PublishOption.vue.d.ts +21 -0
- package/dist/runtime/editor/features/publish/Dialog/Summary.d.vue.ts +10 -0
- package/dist/runtime/editor/features/publish/Dialog/Summary.vue +83 -0
- package/dist/runtime/editor/features/publish/Dialog/Summary.vue.d.ts +10 -0
- package/dist/runtime/editor/features/publish/Dialog/index.d.vue.ts +9 -0
- package/dist/runtime/editor/features/publish/Dialog/index.vue +579 -0
- package/dist/runtime/editor/features/publish/Dialog/index.vue.d.ts +9 -0
- package/dist/runtime/editor/features/publish/Dialog/types.d.ts +7 -0
- package/dist/runtime/editor/features/publish/Dialog/types.js +0 -0
- package/dist/runtime/editor/features/publish/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/publish/index.vue +131 -0
- package/dist/runtime/editor/features/publish/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/publish/types.d.ts +109 -0
- package/dist/runtime/editor/features/publish/types.js +0 -0
- package/dist/runtime/editor/features/responsive-preview/Frame/index.d.vue.ts +17 -0
- package/dist/runtime/editor/features/responsive-preview/Frame/index.vue +76 -0
- package/dist/runtime/editor/features/responsive-preview/Frame/index.vue.d.ts +17 -0
- package/dist/runtime/editor/features/responsive-preview/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/responsive-preview/index.vue +193 -0
- package/dist/runtime/editor/features/responsive-preview/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/revert/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/revert/index.vue +68 -0
- package/dist/runtime/editor/features/revert/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/revert/types.d.ts +8 -0
- package/dist/runtime/editor/features/revert/types.js +0 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Content/index.d.vue.ts +18 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Content/index.vue +167 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Content/index.vue.d.ts +18 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Page/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Page/index.vue +172 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Page/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/search/Overlay/index.d.vue.ts +14 -0
- package/dist/runtime/editor/features/search/Overlay/index.vue +183 -0
- package/dist/runtime/editor/features/search/Overlay/index.vue.d.ts +14 -0
- package/dist/runtime/editor/features/search/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/search/index.vue +76 -0
- package/dist/runtime/editor/features/search/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/search/types.d.ts +73 -0
- package/dist/runtime/editor/features/search/types.js +0 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.d.vue.ts +33 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.vue +591 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.vue.d.ts +33 -0
- package/dist/runtime/editor/features/selection/AddButtons/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/selection/AddButtons/index.vue +395 -0
- package/dist/runtime/editor/features/selection/AddButtons/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/selection/Renderer/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/selection/Renderer/index.vue +279 -0
- package/dist/runtime/editor/features/selection/Renderer/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/selection/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/selection/index.vue +304 -0
- package/dist/runtime/editor/features/selection/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.vue +126 -0
- package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/settings/Dialog/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/settings/Dialog/index.vue +130 -0
- package/dist/runtime/editor/features/settings/Dialog/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/settings/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/settings/index.vue +77 -0
- package/dist/runtime/editor/features/settings/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/structure/List/Field/index.d.vue.ts +16 -0
- package/dist/runtime/editor/features/structure/List/Field/index.vue +145 -0
- package/dist/runtime/editor/features/structure/List/Field/index.vue.d.ts +16 -0
- package/dist/runtime/editor/features/structure/List/Item/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/structure/List/Item/index.vue +129 -0
- package/dist/runtime/editor/features/structure/List/Item/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/structure/List/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/structure/List/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/structure/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/structure/index.vue +75 -0
- package/dist/runtime/editor/features/structure/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/structure/types.d.ts +11 -0
- package/dist/runtime/editor/features/structure/types.js +0 -0
- package/dist/runtime/editor/features/theme/Color/index.d.vue.ts +8 -0
- package/dist/runtime/editor/features/theme/Color/index.vue +64 -0
- package/dist/runtime/editor/features/theme/Color/index.vue.d.ts +8 -0
- package/dist/runtime/editor/features/theme/GeneratedCode/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/theme/GeneratedCode/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/theme/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/theme/index.vue +109 -0
- package/dist/runtime/editor/features/theme/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/touch-action-bar/Bar/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/touch-action-bar/Bar/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/touch-action-bar/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/touch-action-bar/index.vue +40 -0
- package/dist/runtime/editor/features/touch-action-bar/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/tour/Overlay/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/tour/Overlay/index.vue +218 -0
- package/dist/runtime/editor/features/tour/Overlay/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/tour/Popup/index.d.vue.ts +9 -0
- package/dist/runtime/editor/features/tour/Popup/index.vue +34 -0
- package/dist/runtime/editor/features/tour/Popup/index.vue.d.ts +9 -0
- package/dist/runtime/editor/features/tour/docs.md +0 -0
- package/dist/runtime/editor/features/tour/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/tour/index.vue +44 -0
- package/dist/runtime/editor/features/tour/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/tour/types.d.ts +6 -0
- package/dist/runtime/editor/features/tour/types.js +0 -0
- package/dist/runtime/editor/features/transform/Dialog/index.d.vue.ts +14 -0
- package/dist/runtime/editor/features/transform/Dialog/index.vue +221 -0
- package/dist/runtime/editor/features/transform/Dialog/index.vue.d.ts +14 -0
- package/dist/runtime/editor/features/transform/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/transform/index.vue +247 -0
- package/dist/runtime/editor/features/transform/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/transform/types.d.ts +105 -0
- package/dist/runtime/editor/features/transform/types.js +0 -0
- package/dist/runtime/editor/features/translations/Banner/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/translations/Banner/index.vue +48 -0
- package/dist/runtime/editor/features/translations/Banner/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/translations/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/translations/index.vue +211 -0
- package/dist/runtime/editor/features/translations/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/translations/types.d.ts +16 -0
- package/dist/runtime/editor/features/translations/types.js +0 -0
- package/dist/runtime/editor/features/validations/Overlay/Item.d.vue.ts +7 -0
- package/dist/runtime/editor/features/validations/Overlay/Item.vue +36 -0
- package/dist/runtime/editor/features/validations/Overlay/Item.vue.d.ts +7 -0
- package/dist/runtime/editor/features/validations/Overlay/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/validations/Overlay/index.vue +42 -0
- package/dist/runtime/editor/features/validations/Overlay/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/validations/SidebarItem/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/validations/SidebarItem/index.vue +41 -0
- package/dist/runtime/editor/features/validations/SidebarItem/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/validations/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/validations/index.vue +64 -0
- package/dist/runtime/editor/features/validations/index.vue.d.ts +3 -0
- package/dist/runtime/editor/helpers/array/index.d.ts +1 -0
- package/dist/runtime/editor/helpers/array/index.js +4 -0
- package/dist/runtime/editor/helpers/bundles/index.js +8 -0
- package/dist/runtime/editor/helpers/color/index.d.ts +6 -0
- package/dist/runtime/editor/helpers/color/index.js +48 -0
- package/dist/runtime/editor/helpers/date/index.d.ts +0 -0
- package/dist/runtime/editor/helpers/date/index.js +0 -0
- package/dist/runtime/editor/helpers/dom/index.d.ts +75 -0
- package/dist/runtime/editor/helpers/dom/index.js +107 -0
- package/dist/runtime/editor/helpers/dragStyle/index.d.ts +12 -0
- package/dist/runtime/editor/helpers/dragStyle/index.js +93 -0
- package/dist/runtime/editor/helpers/dropTargets/index.d.ts +6 -0
- package/dist/runtime/editor/helpers/dropTargets/index.js +68 -0
- package/dist/runtime/editor/helpers/geometry/index.d.ts +43 -0
- package/dist/runtime/editor/helpers/geometry/index.js +191 -0
- package/dist/runtime/editor/helpers/math/index.d.ts +3 -0
- package/dist/runtime/editor/helpers/math/index.js +10 -0
- package/dist/runtime/editor/helpers/uuid/index.d.ts +1 -0
- package/dist/runtime/editor/helpers/uuid/index.js +18 -0
- package/dist/runtime/editor/helpers/webgl/index.d.ts +45 -0
- package/dist/runtime/editor/helpers/webgl/index.js +315 -0
- package/dist/runtime/editor/icons/material-icons.d.ts +12 -0
- package/dist/runtime/editor/icons/material-icons.js +1 -0
- package/dist/runtime/editor/plugins/BlockIndicator/index.d.vue.ts +65 -0
- package/dist/runtime/editor/plugins/BlockIndicator/index.vue +65 -0
- package/dist/runtime/editor/plugins/BlockIndicator/index.vue.d.ts +65 -0
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.d.vue.ts +13 -0
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.vue +75 -0
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.vue.d.ts +13 -0
- package/dist/runtime/editor/plugins/ContextMenu/index.d.vue.ts +36 -0
- package/dist/runtime/editor/plugins/ContextMenu/index.vue +39 -0
- package/dist/runtime/editor/plugins/ContextMenu/index.vue.d.ts +36 -0
- package/dist/runtime/editor/plugins/DebugOverlay/index.d.vue.ts +23 -0
- package/dist/runtime/editor/plugins/DebugOverlay/index.vue.d.ts +23 -0
- package/dist/runtime/editor/plugins/ItemAction/index.d.vue.ts +85 -0
- package/dist/runtime/editor/plugins/ItemAction/index.vue +93 -0
- package/dist/runtime/editor/plugins/ItemAction/index.vue.d.ts +85 -0
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.d.vue.ts +47 -0
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue +281 -0
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue.d.ts +47 -0
- package/dist/runtime/editor/plugins/Sidebar/index.d.vue.ts +228 -0
- package/dist/runtime/editor/plugins/Sidebar/index.vue +267 -0
- package/dist/runtime/editor/plugins/Sidebar/index.vue.d.ts +228 -0
- package/dist/runtime/editor/plugins/ToolbarButton/index.d.vue.ts +165 -0
- package/dist/runtime/editor/plugins/ToolbarButton/index.vue +91 -0
- package/dist/runtime/editor/plugins/ToolbarButton/index.vue.d.ts +165 -0
- package/dist/runtime/editor/plugins/TourItem/index.d.vue.ts +41 -0
- package/dist/runtime/editor/plugins/TourItem/index.vue +50 -0
- package/dist/runtime/editor/plugins/TourItem/index.vue.d.ts +41 -0
- package/dist/runtime/editor/plugins/ViewOption/index.d.vue.ts +139 -0
- package/dist/runtime/editor/plugins/ViewOption/index.vue +98 -0
- package/dist/runtime/editor/plugins/ViewOption/index.vue.d.ts +139 -0
- package/dist/runtime/editor/providers/animation.d.ts +204 -0
- package/dist/runtime/editor/providers/animation.js +518 -0
- package/dist/runtime/editor/providers/blocks.d.ts +32 -0
- package/dist/runtime/editor/providers/blocks.js +113 -0
- package/dist/runtime/editor/providers/commands.d.ts +41 -0
- package/dist/runtime/editor/providers/commands.js +16 -0
- package/dist/runtime/editor/providers/debug.d.ts +126 -0
- package/dist/runtime/editor/providers/debug.js +132 -0
- package/dist/runtime/editor/providers/definition.d.ts +87 -0
- package/dist/runtime/editor/providers/directive.d.ts +116 -0
- package/dist/runtime/editor/providers/directive.js +241 -0
- package/dist/runtime/editor/providers/dom.d.ts +228 -0
- package/dist/runtime/editor/providers/dom.js +519 -0
- package/dist/runtime/editor/providers/dropArea.d.ts +48 -0
- package/dist/runtime/editor/providers/dropArea.js +22 -0
- package/dist/runtime/editor/providers/features.d.ts +57 -0
- package/dist/runtime/editor/providers/features.js +53 -0
- package/dist/runtime/editor/providers/fields.d.ts +23 -0
- package/dist/runtime/editor/providers/fields.js +47 -0
- package/dist/runtime/editor/providers/icons.d.ts +6 -0
- package/dist/runtime/editor/providers/icons.js +16 -0
- package/dist/runtime/editor/providers/indicators.d.ts +44 -0
- package/dist/runtime/editor/providers/keyboard.d.ts +77 -0
- package/dist/runtime/editor/providers/keyboard.js +98 -0
- package/dist/runtime/editor/providers/plugin.d.ts +81 -0
- package/dist/runtime/editor/providers/selection.d.ts +84 -0
- package/dist/runtime/editor/providers/selection.js +159 -0
- package/dist/runtime/editor/providers/state.d.ts +248 -0
- package/dist/runtime/editor/providers/state.js +408 -0
- package/dist/runtime/editor/providers/storage.d.ts +64 -0
- package/dist/runtime/editor/providers/storage.js +118 -0
- package/dist/runtime/editor/providers/texts.d.ts +4 -0
- package/dist/runtime/editor/providers/texts.js +29 -0
- package/dist/runtime/editor/providers/theme.d.ts +119 -0
- package/dist/runtime/editor/providers/theme.js +140 -0
- package/dist/runtime/editor/providers/tour.d.ts +49 -0
- package/dist/runtime/editor/providers/tour.js +19 -0
- package/dist/runtime/editor/providers/types.d.ts +174 -0
- package/dist/runtime/editor/providers/types.js +166 -0
- package/dist/runtime/editor/providers/ui.d.ts +350 -0
- package/dist/runtime/editor/providers/ui.js +406 -0
- package/dist/runtime/editor/types/actions.d.ts +18 -0
- package/dist/runtime/editor/types/actions.js +0 -0
- package/dist/runtime/editor/types/app.d.ts +59 -0
- package/dist/runtime/editor/types/app.js +0 -0
- package/dist/runtime/editor/types/definitions.d.ts +18 -0
- package/dist/runtime/editor/types/definitions.js +0 -0
- package/dist/runtime/editor/types/draggable.d.ts +9 -0
- package/dist/runtime/editor/types/draggable.js +0 -0
- package/dist/runtime/editor/types/features.d.ts +9 -0
- package/dist/runtime/editor/types/features.js +0 -0
- package/dist/runtime/editor/types/field.d.ts +58 -0
- package/dist/runtime/editor/types/field.js +0 -0
- package/dist/runtime/editor/types/geometry.d.ts +9 -0
- package/dist/runtime/editor/types/geometry.js +0 -0
- package/dist/runtime/editor/types/index.d.ts +1 -0
- package/dist/runtime/editor/types/index.js +0 -0
- package/dist/runtime/editor/types/pluginConfig.d.ts +48 -0
- package/dist/runtime/editor/types/pluginConfig.js +0 -0
- package/dist/runtime/editor/types/selection.d.ts +6 -0
- package/dist/runtime/editor/types/selection.js +0 -0
- package/dist/runtime/editor/types/state.d.ts +76 -0
- package/dist/runtime/editor/types/state.js +0 -0
- package/dist/runtime/editor/types/style.d.ts +29 -0
- package/dist/runtime/editor/types/style.js +0 -0
- package/dist/runtime/editor/types/ui.d.ts +44 -0
- package/dist/runtime/editor/types/ui.js +0 -0
- package/dist/runtime/helpers/index.d.ts +0 -71
- package/dist/runtime/helpers/index.js +0 -326
- package/dist/runtime/helpers/injections.d.ts +127 -0
- package/dist/runtime/helpers/injections.js +69 -0
- package/dist/runtime/helpers/runtimeHelpers/index.js +8 -5
- package/dist/runtime/plugins/blokkliDirectives.d.ts +1 -1
- package/dist/runtime/plugins/blokkliDirectives.js +1 -1
- package/dist/runtime/types/blockOptions.d.ts +2 -348
- package/dist/runtime/types/definitions.d.ts +124 -0
- package/dist/runtime/types/definitions.js +0 -0
- package/dist/runtime/types/directives.d.ts +1 -0
- package/dist/runtime/types/directives.js +0 -0
- package/dist/runtime/types/field.d.ts +26 -0
- package/dist/runtime/types/field.js +0 -0
- package/dist/runtime/types/index.d.ts +2 -1400
- package/dist/runtime/types/provider.d.ts +5 -0
- package/dist/runtime/types/provider.js +0 -0
- package/dist/runtime/types/vue.d.ts +1 -0
- package/dist/runtime/types/vue.js +0 -0
- package/dist/shared/editor.DHqea16T.d.mts +462 -0
- package/dist/types.d.mts +3 -1
- package/package.json +87 -53
- package/dist/runtime/adapter/index.d.ts +0 -516
- package/dist/runtime/blokkliPlugins/BlockIndicator/index.vue +0 -65
- package/dist/runtime/blokkliPlugins/BlockIndicator/index.vue.d.ts +0 -64
- package/dist/runtime/blokkliPlugins/ContextMenu/Menu/index.vue +0 -75
- package/dist/runtime/blokkliPlugins/ContextMenu/Menu/index.vue.d.ts +0 -12
- package/dist/runtime/blokkliPlugins/ContextMenu/index.vue +0 -39
- package/dist/runtime/blokkliPlugins/ContextMenu/index.vue.d.ts +0 -35
- package/dist/runtime/blokkliPlugins/DebugOverlay/index.vue.d.ts +0 -22
- package/dist/runtime/blokkliPlugins/ItemAction/index.vue +0 -94
- package/dist/runtime/blokkliPlugins/ItemAction/index.vue.d.ts +0 -85
- package/dist/runtime/blokkliPlugins/Sidebar/Detached/index.vue +0 -278
- package/dist/runtime/blokkliPlugins/Sidebar/Detached/index.vue.d.ts +0 -46
- package/dist/runtime/blokkliPlugins/Sidebar/index.vue +0 -270
- package/dist/runtime/blokkliPlugins/Sidebar/index.vue.d.ts +0 -227
- package/dist/runtime/blokkliPlugins/ToolbarButton/index.vue +0 -92
- package/dist/runtime/blokkliPlugins/ToolbarButton/index.vue.d.ts +0 -164
- package/dist/runtime/blokkliPlugins/TourItem/index.vue +0 -50
- package/dist/runtime/blokkliPlugins/TourItem/index.vue.d.ts +0 -40
- package/dist/runtime/blokkliPlugins/ViewOption/index.vue +0 -99
- package/dist/runtime/blokkliPlugins/ViewOption/index.vue.d.ts +0 -138
- package/dist/runtime/components/Blocks/Fragment/icon.svg +0 -1
- package/dist/runtime/components/Edit/Actions/ItemDropdown.vue +0 -66
- package/dist/runtime/components/Edit/Actions/ItemDropdown.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Actions/index.vue +0 -195
- package/dist/runtime/components/Edit/Actions/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/AddListItem/index.vue +0 -66
- package/dist/runtime/components/Edit/AddListItem/index.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/AnimationCanvas/index.vue +0 -453
- package/dist/runtime/components/Edit/AnimationCanvas/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/AppMenu/MenuButton.vue +0 -39
- package/dist/runtime/components/Edit/AppMenu/MenuButton.vue.d.ts +0 -28
- package/dist/runtime/components/Edit/AppMenu/index.vue +0 -79
- package/dist/runtime/components/Edit/AppMenu/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/ArtboardTooltip/index.vue +0 -89
- package/dist/runtime/components/Edit/ArtboardTooltip/index.vue.d.ts +0 -32
- package/dist/runtime/components/Edit/Banner/index.vue +0 -51
- package/dist/runtime/components/Edit/Banner/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/BlockProxy/index.vue +0 -88
- package/dist/runtime/components/Edit/BlockProxy/index.vue.d.ts +0 -10
- package/dist/runtime/components/Edit/BlokkliErrorBoundary.vue +0 -47
- package/dist/runtime/components/Edit/BlokkliErrorBoundary.vue.d.ts +0 -25
- package/dist/runtime/components/Edit/BlokkliRootErrorBoundary.vue +0 -96
- package/dist/runtime/components/Edit/BlokkliRootErrorBoundary.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Dialog/index.vue +0 -135
- package/dist/runtime/components/Edit/Dialog/index.vue.d.ts +0 -48
- package/dist/runtime/components/Edit/DiffViewer/State.vue +0 -276
- package/dist/runtime/components/Edit/DiffViewer/State.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/DraggableList.vue +0 -142
- package/dist/runtime/components/Edit/DraggableList.vue.d.ts +0 -27
- package/dist/runtime/components/Edit/EditIndicator.vue +0 -151
- package/dist/runtime/components/Edit/EditIndicator.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/EditProvider.vue +0 -382
- package/dist/runtime/components/Edit/EditProvider.vue.d.ts +0 -29
- package/dist/runtime/components/Edit/Features/AddList/Actions/Action.vue +0 -53
- package/dist/runtime/components/Edit/Features/AddList/Actions/Action.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/AddList/Actions/index.vue +0 -41
- package/dist/runtime/components/Edit/Features/AddList/Actions/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/AddList/Blocks/index.vue +0 -274
- package/dist/runtime/components/Edit/Features/AddList/Blocks/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/Features/AddList/index.vue +0 -147
- package/dist/runtime/components/Edit/Features/AddList/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Analyze/Icon.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/Analyze/Main.vue +0 -385
- package/dist/runtime/components/Edit/Features/Analyze/Main.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Features/Analyze/Renderer/index.vue +0 -260
- package/dist/runtime/components/Edit/Features/Analyze/Renderer/index.vue.d.ts +0 -21
- package/dist/runtime/components/Edit/Features/Analyze/Results/Results.vue +0 -102
- package/dist/runtime/components/Edit/Features/Analyze/Results/Results.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItem.vue +0 -56
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItem.vue.d.ts +0 -21
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodes.vue +0 -80
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodes.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodesTarget.vue +0 -123
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodesTarget.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Features/Analyze/Results/Status.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Analyze/Summary/Chart.vue.d.ts +0 -17
- package/dist/runtime/components/Edit/Features/Analyze/Summary/index.vue +0 -77
- package/dist/runtime/components/Edit/Features/Analyze/Summary/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/axe.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/axe.js +0 -76
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/helpers/Context.d.ts +0 -33
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/readability.js +0 -206
- package/dist/runtime/components/Edit/Features/Analyze/index.vue +0 -69
- package/dist/runtime/components/Edit/Features/Analyze/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Anchors/Overlay/index.vue +0 -53
- package/dist/runtime/components/Edit/Features/Anchors/Overlay/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Anchors/index.vue +0 -32
- package/dist/runtime/components/Edit/Features/Anchors/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Artboard/Overview/index.vue +0 -119
- package/dist/runtime/components/Edit/Features/Artboard/Overview/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Artboard/Renderer.vue +0 -320
- package/dist/runtime/components/Edit/Features/Artboard/Renderer.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/Artboard/Scrollbar/index.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/Artboard/index.vue +0 -92
- package/dist/runtime/components/Edit/Features/Artboard/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Assistant/Overlay/ResultMarkup/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Assistant/Overlay/index.vue +0 -108
- package/dist/runtime/components/Edit/Features/Assistant/Overlay/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Assistant/index.vue +0 -65
- package/dist/runtime/components/Edit/Features/Assistant/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/BlockScheduler/Dialog/ScheduleSection.vue +0 -154
- package/dist/runtime/components/Edit/Features/BlockScheduler/Dialog/ScheduleSection.vue.d.ts +0 -27
- package/dist/runtime/components/Edit/Features/BlockScheduler/Dialog/index.vue +0 -232
- package/dist/runtime/components/Edit/Features/BlockScheduler/Dialog/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/Features/BlockScheduler/index.vue +0 -96
- package/dist/runtime/components/Edit/Features/BlockScheduler/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/File.vue.d.ts +0 -3
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/Video.vue +0 -54
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/Video.vue.d.ts +0 -3
- package/dist/runtime/components/Edit/Features/Clipboard/List/index.vue +0 -72
- package/dist/runtime/components/Edit/Features/Clipboard/List/index.vue.d.ts +0 -10
- package/dist/runtime/components/Edit/Features/Clipboard/index.vue +0 -606
- package/dist/runtime/components/Edit/Features/Clipboard/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/Item/index.vue +0 -49
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/Item/index.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/index.vue +0 -229
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/CommandPalette/index.vue +0 -52
- package/dist/runtime/components/Edit/Features/CommandPalette/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Comments/AddForm/index.vue +0 -44
- package/dist/runtime/components/Edit/Features/Comments/AddForm/index.vue.d.ts +0 -10
- package/dist/runtime/components/Edit/Features/Comments/Comment/index.vue +0 -45
- package/dist/runtime/components/Edit/Features/Comments/Comment/index.vue.d.ts +0 -23
- package/dist/runtime/components/Edit/Features/Comments/CommentInput/index.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/Features/Comments/Overlay/Item/index.vue +0 -94
- package/dist/runtime/components/Edit/Features/Comments/Overlay/Item/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Features/Comments/Overlay/index.vue +0 -112
- package/dist/runtime/components/Edit/Features/Comments/Overlay/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Features/Comments/index.vue +0 -111
- package/dist/runtime/components/Edit/Features/Comments/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Conversions/index.vue +0 -84
- package/dist/runtime/components/Edit/Features/Conversions/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/DebugSection.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Features/Debug/Main.vue +0 -80
- package/dist/runtime/components/Edit/Features/Debug/Main.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Debug/Rects/index.vue +0 -60
- package/dist/runtime/components/Edit/Features/Debug/Rects/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Section/Features.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Section/Icons.vue +0 -15
- package/dist/runtime/components/Edit/Features/Debug/Section/Icons.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Section/Keyboard.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Section/Logging.vue +0 -66
- package/dist/runtime/components/Edit/Features/Debug/Section/Logging.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Debug/Section/Rendering.vue +0 -96
- package/dist/runtime/components/Edit/Features/Debug/Section/Rendering.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Section/Selection.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Viewport/index.vue +0 -98
- package/dist/runtime/components/Edit/Features/Debug/Viewport/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/index.vue +0 -31
- package/dist/runtime/components/Edit/Features/Debug/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Delete/index.vue +0 -66
- package/dist/runtime/components/Edit/Features/Delete/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Diff/DiffView/index.vue +0 -20
- package/dist/runtime/components/Edit/Features/Diff/DiffView/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Diff/index.vue +0 -35
- package/dist/runtime/components/Edit/Features/Diff/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DragItems/DragItem.vue +0 -113
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DragItems/DragItem.vue.d.ts +0 -25
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DragItems/index.vue +0 -219
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DragItems/index.vue.d.ts +0 -27
- package/dist/runtime/components/Edit/Features/DraggingOverlay/Renderer/index.vue +0 -749
- package/dist/runtime/components/Edit/Features/DraggingOverlay/Renderer/index.vue.d.ts +0 -27
- package/dist/runtime/components/Edit/Features/DraggingOverlay/index.vue +0 -335
- package/dist/runtime/components/Edit/Features/DraggingOverlay/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Duplicate/index.vue +0 -91
- package/dist/runtime/components/Edit/Features/Duplicate/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Edit/index.vue +0 -76
- package/dist/runtime/components/Edit/Features/Edit/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EditForm/Frame/index.vue +0 -70
- package/dist/runtime/components/Edit/Features/EditForm/Frame/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/Features/EditForm/index.vue +0 -176
- package/dist/runtime/components/Edit/Features/EditForm/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Contenteditable/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Frame/index.vue +0 -117
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Frame/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Plaintext/index.vue +0 -74
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Plaintext/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/index.vue +0 -248
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Features/EditableField/index.vue +0 -151
- package/dist/runtime/components/Edit/Features/EditableField/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EditableMask/index.vue +0 -39
- package/dist/runtime/components/Edit/Features/EditableMask/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EntityTitle/index.vue +0 -137
- package/dist/runtime/components/Edit/Features/EntityTitle/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Exit/index.vue +0 -38
- package/dist/runtime/components/Edit/Features/Exit/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/Item/index.vue +0 -57
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/Item/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/index.vue +0 -122
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Fragments/index.vue +0 -74
- package/dist/runtime/components/Edit/Features/Fragments/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Grid/index.vue +0 -37
- package/dist/runtime/components/Edit/Features/Grid/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Help/Shortcuts/index.vue +0 -60
- package/dist/runtime/components/Edit/Features/Help/Shortcuts/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Help/index.vue +0 -49
- package/dist/runtime/components/Edit/Features/Help/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/History/List/index.vue +0 -128
- package/dist/runtime/components/Edit/Features/History/List/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/History/index.vue +0 -149
- package/dist/runtime/components/Edit/Features/History/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Hover/Renderer/index.vue +0 -448
- package/dist/runtime/components/Edit/Features/Hover/Renderer/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Hover/index.vue +0 -28
- package/dist/runtime/components/Edit/Features/Hover/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/ImportExisting/Dialog/index.vue +0 -127
- package/dist/runtime/components/Edit/Features/ImportExisting/Dialog/index.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Features/ImportExisting/index.vue +0 -81
- package/dist/runtime/components/Edit/Features/ImportExisting/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Library/EditReusable/index.vue +0 -166
- package/dist/runtime/components/Edit/Features/Library/EditReusable/index.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/Item/index.vue +0 -67
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/Item/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/index.vue +0 -155
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Library/ReusableDialog/index.vue +0 -99
- package/dist/runtime/components/Edit/Features/Library/ReusableDialog/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Library/index.vue +0 -197
- package/dist/runtime/components/Edit/Features/Library/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/Item.vue +0 -40
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/Item.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/index.vue +0 -187
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/MediaLibrary/index.vue +0 -108
- package/dist/runtime/components/Edit/Features/MediaLibrary/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/MediaLibrary/types.d.ts +0 -57
- package/dist/runtime/components/Edit/Features/MultiSelect/Renderer/index.vue +0 -297
- package/dist/runtime/components/Edit/Features/MultiSelect/Renderer/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/Features/MultiSelect/index.vue +0 -69
- package/dist/runtime/components/Edit/Features/MultiSelect/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Options/Form/Checkbox/index.vue +0 -46
- package/dist/runtime/components/Edit/Features/Options/Form/Checkbox/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Features/Options/Form/Checkboxes/index.vue +0 -112
- package/dist/runtime/components/Edit/Features/Options/Form/Checkboxes/index.vue.d.ts +0 -24
- package/dist/runtime/components/Edit/Features/Options/Form/Color/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Options/Form/DateTimeLocal/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Features/Options/Form/Group.vue +0 -23
- package/dist/runtime/components/Edit/Features/Options/Form/Group.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Features/Options/Form/Item.vue +0 -186
- package/dist/runtime/components/Edit/Features/Options/Form/Item.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/Features/Options/Form/Number/index.vue +0 -64
- package/dist/runtime/components/Edit/Features/Options/Form/Number/index.vue.d.ts +0 -21
- package/dist/runtime/components/Edit/Features/Options/Form/Radios/index.vue +0 -129
- package/dist/runtime/components/Edit/Features/Options/Form/Radios/index.vue.d.ts +0 -36
- package/dist/runtime/components/Edit/Features/Options/Form/Range/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Features/Options/Form/Text/index.vue.d.ts +0 -17
- package/dist/runtime/components/Edit/Features/Options/Form/index.vue +0 -383
- package/dist/runtime/components/Edit/Features/Options/Form/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Options/index.vue +0 -84
- package/dist/runtime/components/Edit/Features/Options/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Ownership/Banner/index.vue +0 -35
- package/dist/runtime/components/Edit/Features/Ownership/Banner/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Ownership/index.vue +0 -32
- package/dist/runtime/components/Edit/Features/Ownership/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Preview/index.vue +0 -41
- package/dist/runtime/components/Edit/Features/Preview/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/PreviewGrant/QrCode/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/PreviewGrant/index.vue +0 -71
- package/dist/runtime/components/Edit/Features/PreviewGrant/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/ProxyView/index.vue +0 -40
- package/dist/runtime/components/Edit/Features/ProxyView/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Publish/Dialog/Item.vue +0 -145
- package/dist/runtime/components/Edit/Features/Publish/Dialog/Item.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Features/Publish/Dialog/PublishOption.vue +0 -47
- package/dist/runtime/components/Edit/Features/Publish/Dialog/PublishOption.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/Features/Publish/Dialog/Summary.vue +0 -83
- package/dist/runtime/components/Edit/Features/Publish/Dialog/Summary.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Publish/Dialog/index.vue +0 -577
- package/dist/runtime/components/Edit/Features/Publish/Dialog/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Publish/Dialog/types.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/Publish/index.vue +0 -133
- package/dist/runtime/components/Edit/Features/Publish/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/ResponsivePreview/Frame/index.vue +0 -76
- package/dist/runtime/components/Edit/Features/ResponsivePreview/Frame/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Features/ResponsivePreview/index.vue +0 -193
- package/dist/runtime/components/Edit/Features/ResponsivePreview/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Revert/index.vue +0 -69
- package/dist/runtime/components/Edit/Features/Revert/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Content/index.vue +0 -167
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Content/index.vue.d.ts +0 -17
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Page/index.vue +0 -171
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Page/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Features/Search/Overlay/index.vue +0 -183
- package/dist/runtime/components/Edit/Features/Search/Overlay/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Search/index.vue +0 -76
- package/dist/runtime/components/Edit/Features/Search/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/Overlay/index.vue +0 -182
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/Overlay/index.vue.d.ts +0 -17
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/Renderer/index.vue +0 -551
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/Renderer/index.vue.d.ts +0 -32
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/index.vue +0 -392
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Selection/Renderer/index.vue +0 -281
- package/dist/runtime/components/Edit/Features/Selection/Renderer/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Selection/index.vue +0 -306
- package/dist/runtime/components/Edit/Features/Selection/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Settings/Dialog/FeatureSetting/index.vue +0 -126
- package/dist/runtime/components/Edit/Features/Settings/Dialog/FeatureSetting/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Settings/Dialog/index.vue +0 -130
- package/dist/runtime/components/Edit/Features/Settings/Dialog/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Settings/index.vue +0 -78
- package/dist/runtime/components/Edit/Features/Settings/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Structure/List/Field/index.vue +0 -145
- package/dist/runtime/components/Edit/Features/Structure/List/Field/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Features/Structure/List/Item/index.vue +0 -128
- package/dist/runtime/components/Edit/Features/Structure/List/Item/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Structure/List/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Structure/index.vue +0 -75
- package/dist/runtime/components/Edit/Features/Structure/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Theme/Color/index.vue +0 -64
- package/dist/runtime/components/Edit/Features/Theme/Color/index.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/Theme/GeneratedCode/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Theme/index.vue +0 -109
- package/dist/runtime/components/Edit/Features/Theme/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/TouchActionBar/Bar/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/TouchActionBar/index.vue +0 -40
- package/dist/runtime/components/Edit/Features/TouchActionBar/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Tour/Overlay/index.vue +0 -218
- package/dist/runtime/components/Edit/Features/Tour/Overlay/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Tour/Popup/index.vue +0 -34
- package/dist/runtime/components/Edit/Features/Tour/Popup/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Tour/index.vue +0 -44
- package/dist/runtime/components/Edit/Features/Tour/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Transform/Dialog/index.vue +0 -221
- package/dist/runtime/components/Edit/Features/Transform/Dialog/index.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/Features/Transform/index.vue +0 -234
- package/dist/runtime/components/Edit/Features/Transform/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Translations/Banner/index.vue +0 -48
- package/dist/runtime/components/Edit/Features/Translations/Banner/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Translations/index.vue +0 -212
- package/dist/runtime/components/Edit/Features/Translations/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Validations/Overlay/Item.vue +0 -36
- package/dist/runtime/components/Edit/Features/Validations/Overlay/Item.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Validations/Overlay/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Validations/Overlay/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Validations/SidebarItem/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Validations/SidebarItem/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Validations/index.vue +0 -64
- package/dist/runtime/components/Edit/Features/Validations/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Form/Checkboxes/index.vue +0 -43
- package/dist/runtime/components/Edit/Form/Checkboxes/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Form/Datepicker/index.vue +0 -198
- package/dist/runtime/components/Edit/Form/Datepicker/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Form/Group/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Form/Item/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Form/Radio/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Form/RadioTabs/index.vue.d.ts +0 -22
- package/dist/runtime/components/Edit/Form/Select/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Form/Text/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Form/Textarea/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Form/Toggle/index.vue.d.ts +0 -24
- package/dist/runtime/components/Edit/FormOverlay/Header/index.vue +0 -28
- package/dist/runtime/components/Edit/FormOverlay/Header/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/FormOverlay/index.vue +0 -55
- package/dist/runtime/components/Edit/FormOverlay/index.vue.d.ts +0 -26
- package/dist/runtime/components/Edit/Highlight/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Icon/index.vue +0 -18
- package/dist/runtime/components/Edit/Icon/index.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Indicators/index.vue +0 -123
- package/dist/runtime/components/Edit/Indicators/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/InfoBox/index.vue +0 -18
- package/dist/runtime/components/Edit/InfoBox/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/ItemIcon/index.vue +0 -28
- package/dist/runtime/components/Edit/ItemIcon/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/ItemIconBox/index.vue +0 -41
- package/dist/runtime/components/Edit/ItemIconBox/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Konami/Game/PixelGrid.vue +0 -66
- package/dist/runtime/components/Edit/Konami/Game/PixelGrid.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Konami/Game/index.vue +0 -751
- package/dist/runtime/components/Edit/Konami/Game/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Konami/Game/useIconRendering.d.ts +0 -9
- package/dist/runtime/components/Edit/Konami/Game/useIconRendering.js +0 -130
- package/dist/runtime/components/Edit/Konami/index.vue +0 -42
- package/dist/runtime/components/Edit/Konami/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Loading/index.vue +0 -22
- package/dist/runtime/components/Edit/Loading/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Messages/Item/index.vue +0 -105
- package/dist/runtime/components/Edit/Messages/Item/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/Messages/index.vue +0 -41
- package/dist/runtime/components/Edit/Messages/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Overlay/index.vue +0 -70
- package/dist/runtime/components/Edit/Overlay/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Pagination/index.vue +0 -19
- package/dist/runtime/components/Edit/Pagination/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/PluginConfigForm/Checkbox/index.vue +0 -17
- package/dist/runtime/components/Edit/PluginConfigForm/Checkbox/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/PluginConfigForm/Options/index.vue +0 -37
- package/dist/runtime/components/Edit/PluginConfigForm/Options/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/PluginConfigForm/Text/index.vue +0 -43
- package/dist/runtime/components/Edit/PluginConfigForm/Text/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/PluginConfigForm/index.vue +0 -57
- package/dist/runtime/components/Edit/PluginConfigForm/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/PreviewProvider.vue +0 -176
- package/dist/runtime/components/Edit/PreviewProvider.vue.d.ts +0 -24
- package/dist/runtime/components/Edit/RelativeTime/index.vue +0 -32
- package/dist/runtime/components/Edit/RelativeTime/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Resizable/index.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/ScaleToFit/index.vue +0 -70
- package/dist/runtime/components/Edit/ScaleToFit/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/ScheduleDate/index.vue +0 -131
- package/dist/runtime/components/Edit/ScheduleDate/index.vue.d.ts +0 -23
- package/dist/runtime/components/Edit/ScrollBoundary/index.vue +0 -23
- package/dist/runtime/components/Edit/ScrollBoundary/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/ShortcutIndicator/index.vue +0 -86
- package/dist/runtime/components/Edit/ShortcutIndicator/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Sortli/index.vue +0 -80
- package/dist/runtime/components/Edit/Sortli/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/SystemRequirements/index.vue +0 -77
- package/dist/runtime/components/Edit/SystemRequirements/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Toolbar/index.vue +0 -88
- package/dist/runtime/components/Edit/Toolbar/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Transition/Height.vue.d.ts +0 -36
- package/dist/runtime/components/Edit/Transition/index.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/ViewportBlockingRect/index.vue +0 -60
- package/dist/runtime/components/Edit/ViewportBlockingRect/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/index.d.ts +0 -36
- package/dist/runtime/components/Edit/index.js +0 -72
- package/dist/runtime/constants/index.d.ts +0 -7
- package/dist/runtime/constants/index.js +0 -11
- package/dist/runtime/css/output.css +0 -1
- package/dist/runtime/helpers/DragStyle/index.d.ts +0 -12
- package/dist/runtime/helpers/DragStyle/index.js +0 -86
- package/dist/runtime/helpers/bundles/index.js +0 -4
- package/dist/runtime/helpers/composables/defineAddAction.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineAddAction.js +0 -10
- package/dist/runtime/helpers/composables/defineCommands.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineCommands.js +0 -10
- package/dist/runtime/helpers/composables/defineDropAreas.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineDropAreas.js +0 -10
- package/dist/runtime/helpers/composables/defineItemDropdownAction.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineItemDropdownAction.js +0 -10
- package/dist/runtime/helpers/composables/defineMenuButton.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineMenuButton.js +0 -10
- package/dist/runtime/helpers/composables/defineRenderer.d.ts +0 -11
- package/dist/runtime/helpers/composables/defineRenderer.js +0 -9
- package/dist/runtime/helpers/composables/defineShortcut.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineShortcut.js +0 -19
- package/dist/runtime/helpers/composables/defineTourItem.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineTourItem.js +0 -10
- package/dist/runtime/helpers/composables/onBlokkliEvent.d.ts +0 -2
- package/dist/runtime/helpers/composables/onBlokkliEvent.js +0 -10
- package/dist/runtime/helpers/composables/onBroadcastEvent.d.ts +0 -2
- package/dist/runtime/helpers/composables/onBroadcastEvent.js +0 -10
- package/dist/runtime/helpers/composables/useAnimationFrame.d.ts +0 -1
- package/dist/runtime/helpers/composables/useAnimationFrame.js +0 -14
- package/dist/runtime/helpers/composables/useBlockRegistration.js +0 -34
- package/dist/runtime/helpers/composables/useDebugLogger.d.ts +0 -2
- package/dist/runtime/helpers/composables/useDebugLogger.js +0 -5
- package/dist/runtime/helpers/composables/useDelayedIntersectionObserver.d.ts +0 -5
- package/dist/runtime/helpers/composables/useDelayedIntersectionObserver.js +0 -27
- package/dist/runtime/helpers/composables/useDialog.d.ts +0 -3
- package/dist/runtime/helpers/composables/useFocusTrap.d.ts +0 -52
- package/dist/runtime/helpers/composables/useFocusTrap.js +0 -59
- package/dist/runtime/helpers/composables/useGlobalBlokkliObject.d.ts +0 -16
- package/dist/runtime/helpers/composables/useStateBasedCache.d.ts +0 -4
- package/dist/runtime/helpers/composables/useStateBasedCache.js +0 -13
- package/dist/runtime/helpers/composables/useStickyToolbar.d.ts +0 -23
- package/dist/runtime/helpers/composables/useStickyToolbar.js +0 -233
- package/dist/runtime/helpers/composables/useTransitionedValue.d.ts +0 -18
- package/dist/runtime/helpers/composables/useTransitionedValue.js +0 -57
- package/dist/runtime/helpers/dom/index.d.ts +0 -65
- package/dist/runtime/helpers/dom/index.js +0 -85
- package/dist/runtime/helpers/dropTargets/index.d.ts +0 -6
- package/dist/runtime/helpers/dropTargets/index.js +0 -63
- package/dist/runtime/helpers/eventBus.d.ts +0 -3
- package/dist/runtime/helpers/eventBus.js +0 -5
- package/dist/runtime/helpers/frameEventBus.d.ts +0 -9
- package/dist/runtime/helpers/frameEventBus.js +0 -2
- package/dist/runtime/helpers/providers/animation.d.ts +0 -203
- package/dist/runtime/helpers/providers/animation.js +0 -517
- package/dist/runtime/helpers/providers/blocks.d.ts +0 -32
- package/dist/runtime/helpers/providers/blocks.js +0 -110
- package/dist/runtime/helpers/providers/commands.d.ts +0 -41
- package/dist/runtime/helpers/providers/commands.js +0 -16
- package/dist/runtime/helpers/providers/debug.d.ts +0 -125
- package/dist/runtime/helpers/providers/debug.js +0 -133
- package/dist/runtime/helpers/providers/definition.d.ts +0 -87
- package/dist/runtime/helpers/providers/directive.d.ts +0 -114
- package/dist/runtime/helpers/providers/directive.js +0 -239
- package/dist/runtime/helpers/providers/dom.d.ts +0 -225
- package/dist/runtime/helpers/providers/dom.js +0 -517
- package/dist/runtime/helpers/providers/dropArea.d.ts +0 -47
- package/dist/runtime/helpers/providers/dropArea.js +0 -22
- package/dist/runtime/helpers/providers/features.d.ts +0 -56
- package/dist/runtime/helpers/providers/features.js +0 -53
- package/dist/runtime/helpers/providers/fields.d.ts +0 -23
- package/dist/runtime/helpers/providers/fields.js +0 -47
- package/dist/runtime/helpers/providers/indicators.d.ts +0 -44
- package/dist/runtime/helpers/providers/keyboard.d.ts +0 -76
- package/dist/runtime/helpers/providers/keyboard.js +0 -99
- package/dist/runtime/helpers/providers/plugin.d.ts +0 -81
- package/dist/runtime/helpers/providers/selection.d.ts +0 -82
- package/dist/runtime/helpers/providers/selection.js +0 -159
- package/dist/runtime/helpers/providers/state.d.ts +0 -227
- package/dist/runtime/helpers/providers/state.js +0 -398
- package/dist/runtime/helpers/providers/storage.d.ts +0 -64
- package/dist/runtime/helpers/providers/storage.js +0 -118
- package/dist/runtime/helpers/providers/texts.d.ts +0 -4
- package/dist/runtime/helpers/providers/texts.js +0 -26
- package/dist/runtime/helpers/providers/theme.d.ts +0 -119
- package/dist/runtime/helpers/providers/theme.js +0 -140
- package/dist/runtime/helpers/providers/tour.d.ts +0 -49
- package/dist/runtime/helpers/providers/tour.js +0 -19
- package/dist/runtime/helpers/providers/types.d.ts +0 -170
- package/dist/runtime/helpers/providers/types.js +0 -166
- package/dist/runtime/helpers/providers/ui.d.ts +0 -339
- package/dist/runtime/helpers/providers/ui.js +0 -393
- package/dist/runtime/helpers/symbols.d.ts +0 -26
- package/dist/runtime/helpers/symbols.js +0 -30
- package/dist/runtime/helpers/transform.d.ts +0 -2
- package/dist/runtime/helpers/transform.js +0 -15
- package/dist/runtime/helpers/webgl/index.d.ts +0 -45
- package/dist/runtime/helpers/webgl/index.js +0 -315
- package/dist/runtime/icons/alert.svg +0 -6
- package/dist/runtime/icons/anchor.svg +0 -1
- package/dist/runtime/icons/area.svg +0 -5
- package/dist/runtime/icons/arrow-down.svg +0 -1
- package/dist/runtime/icons/arrow-left.svg +0 -1
- package/dist/runtime/icons/arrow-right.svg +0 -1
- package/dist/runtime/icons/arrow-top-right.svg +0 -1
- package/dist/runtime/icons/arrow-up.svg +0 -1
- package/dist/runtime/icons/artboard-disabled.svg +0 -9
- package/dist/runtime/icons/artboard-enabled.svg +0 -29
- package/dist/runtime/icons/bug.svg +0 -1
- package/dist/runtime/icons/button-pointer.svg +0 -1
- package/dist/runtime/icons/calendar-clock.svg +0 -1
- package/dist/runtime/icons/calendar.svg +0 -1
- package/dist/runtime/icons/caret.svg +0 -12
- package/dist/runtime/icons/cellphone.svg +0 -1
- package/dist/runtime/icons/chart.svg +0 -1
- package/dist/runtime/icons/chat-question.svg +0 -1
- package/dist/runtime/icons/check.svg +0 -1
- package/dist/runtime/icons/checkbox.svg +0 -5
- package/dist/runtime/icons/checks.svg +0 -1
- package/dist/runtime/icons/chevron-left.svg +0 -1
- package/dist/runtime/icons/chevron-right.svg +0 -1
- package/dist/runtime/icons/click.svg +0 -1
- package/dist/runtime/icons/clipboard.svg +0 -5
- package/dist/runtime/icons/clock.svg +0 -1
- package/dist/runtime/icons/close.svg +0 -5
- package/dist/runtime/icons/cog.svg +0 -5
- package/dist/runtime/icons/command.svg +0 -1
- package/dist/runtime/icons/comment.svg +0 -5
- package/dist/runtime/icons/comment_add.svg +0 -1
- package/dist/runtime/icons/convert.svg +0 -1
- package/dist/runtime/icons/copy.svg +0 -1
- package/dist/runtime/icons/cursor-move.svg +0 -1
- package/dist/runtime/icons/dead.svg +0 -1
- package/dist/runtime/icons/delete.svg +0 -1
- package/dist/runtime/icons/diff.svg +0 -1
- package/dist/runtime/icons/dock-left.svg +0 -1
- package/dist/runtime/icons/dock-right.svg +0 -1
- package/dist/runtime/icons/drag.svg +0 -1
- package/dist/runtime/icons/edit.svg +0 -1
- package/dist/runtime/icons/exit.svg +0 -6
- package/dist/runtime/icons/expand.svg +0 -1
- package/dist/runtime/icons/eye-off.svg +0 -1
- package/dist/runtime/icons/eye.svg +0 -1
- package/dist/runtime/icons/file.svg +0 -1
- package/dist/runtime/icons/form.svg +0 -1
- package/dist/runtime/icons/fragment.svg +0 -1
- package/dist/runtime/icons/grid.svg +0 -13
- package/dist/runtime/icons/group.svg +0 -5
- package/dist/runtime/icons/help.svg +0 -1
- package/dist/runtime/icons/history.svg +0 -1
- package/dist/runtime/icons/image.svg +0 -1
- package/dist/runtime/icons/import.svg +0 -5
- package/dist/runtime/icons/info.svg +0 -1
- package/dist/runtime/icons/laptop.svg +0 -1
- package/dist/runtime/icons/link.svg +0 -1
- package/dist/runtime/icons/list-view-grid.svg +0 -1
- package/dist/runtime/icons/list-view-horizontal.svg +0 -1
- package/dist/runtime/icons/magnifier.svg +0 -5
- package/dist/runtime/icons/menu.svg +0 -1
- package/dist/runtime/icons/minus.svg +0 -1
- package/dist/runtime/icons/monitor.svg +0 -1
- package/dist/runtime/icons/multi-select.svg +0 -1
- package/dist/runtime/icons/multimedia.svg +0 -1
- package/dist/runtime/icons/opacity.svg +0 -5
- package/dist/runtime/icons/open_in_new.svg +0 -3
- package/dist/runtime/icons/palette.svg +0 -1
- package/dist/runtime/icons/plus-box.svg +0 -1
- package/dist/runtime/icons/plus.svg +0 -1
- package/dist/runtime/icons/preview.svg +0 -5
- package/dist/runtime/icons/publish.svg +0 -12
- package/dist/runtime/icons/puzzle.svg +0 -1
- package/dist/runtime/icons/qrcode.svg +0 -5
- package/dist/runtime/icons/question.svg +0 -5
- package/dist/runtime/icons/redo.svg +0 -12
- package/dist/runtime/icons/resize.svg +0 -1
- package/dist/runtime/icons/revert.svg +0 -5
- package/dist/runtime/icons/rotate-phone.svg +0 -1
- package/dist/runtime/icons/sad.svg +0 -1
- package/dist/runtime/icons/save.svg +0 -1
- package/dist/runtime/icons/script.svg +0 -1
- package/dist/runtime/icons/scrolltotop.svg +0 -6
- package/dist/runtime/icons/search.svg +0 -1
- package/dist/runtime/icons/selection.svg +0 -5
- package/dist/runtime/icons/speedometer.svg +0 -1
- package/dist/runtime/icons/swap-horizontal.svg +0 -1
- package/dist/runtime/icons/tablet.svg +0 -1
- package/dist/runtime/icons/textbox.svg +0 -1
- package/dist/runtime/icons/texturebox.svg +0 -5
- package/dist/runtime/icons/title.svg +0 -1
- package/dist/runtime/icons/tools.svg +0 -1
- package/dist/runtime/icons/translate.svg +0 -5
- package/dist/runtime/icons/tree.svg +0 -5
- package/dist/runtime/icons/tutor.svg +0 -1
- package/dist/runtime/icons/ui-list-horizontal.svg +0 -19
- package/dist/runtime/icons/ui-list-sidebar.svg +0 -21
- package/dist/runtime/icons/ui-list-vertical.svg +0 -9
- package/dist/runtime/icons/undo.svg +0 -12
- package/dist/runtime/icons/upload.svg +0 -1
- package/dist/runtime/icons/user.svg +0 -1
- package/dist/runtime/icons/video-outline.svg +0 -1
- package/dist/shared/editor.CKsrTpc1.d.mts +0 -431
- /package/dist/{runtime/components/Edit/Features/Analyze/analyzers/types.js → global/types/adapter.js} +0 -0
- /package/dist/{runtime/components/Edit/Features/MediaLibrary/types.js → global/types/blockOptions.js} +0 -0
- /package/dist/{runtime/components/Edit/Features/Publish/Dialog/types.js → global/types/definitions.js} +0 -0
- /package/dist/{runtime/components/Edit/Features/Tour/docs.md → global/types/features.js} +0 -0
- /package/dist/{runtime → global}/types/theme.d.ts +0 -0
- /package/dist/{runtime → global}/types/theme.js +0 -0
- /package/dist/runtime/{adapter → editor/adapter}/index.js +0 -0
- /package/dist/runtime/{components/Edit/Features → editor/components/FeaturesRenderer}/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Group/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Item/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Radio/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/RadioTabs/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Select/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Text/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Textarea/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Toggle/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Highlight/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Konami/Game/blokkli.png +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Konami/Game/charmap.d.ts +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Konami/Game/charmap.js +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Konami/Game/textRendering.d.ts +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Konami/Game/textRendering.js +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Resizable/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Transition/Height.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Transition/index.vue +0 -0
- /package/dist/runtime/{helpers → editor}/composables/addElementClasses.d.ts +0 -0
- /package/dist/runtime/{helpers → editor}/composables/addElementClasses.js +0 -0
- /package/dist/runtime/{helpers → editor}/composables/defineElementStyle.d.ts +0 -0
- /package/dist/runtime/{helpers → editor}/composables/defineElementStyle.js +0 -0
- /package/dist/runtime/{helpers → editor}/composables/useBlockRegistration.d.ts +0 -0
- /package/dist/runtime/{helpers → editor}/composables/useDialog.js +0 -0
- /package/dist/runtime/{helpers → editor}/composables/useGlobalBlokkliObject.js +0 -0
- /package/dist/runtime/{components/Edit/Features/AddList → editor/features/add-list}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/Icon.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/Renderer/fragment.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/Renderer/vertex.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/Results/Status.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/Summary/Chart.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/defineAnalyzer.d.ts +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/defineAnalyzer.js +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/helpers/Context.js +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/helpers/collectTextElements.d.ts +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/helpers/collectTextElements.js +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/helpers/normalizeArray.d.ts +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/helpers/normalizeArray.js +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/index.d.ts +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/index.js +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/readability.d.ts +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/types.d.ts +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/helper.d.ts +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/helper.js +0 -0
- /package/dist/runtime/{components/Edit/Features/Artboard → editor/features/artboard}/Scrollbar/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Assistant → editor/features/assistant}/Overlay/ResultMarkup/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Assistant → editor/features/assistant}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Clipboard → editor/features/clipboard}/List/Item/File.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Clipboard → editor/features/clipboard}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Comments → editor/features/comments}/CommentInput/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Comments → editor/features/comments}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Debug → editor/features/debug}/DebugSection.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Debug → editor/features/debug}/Section/Features.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Debug → editor/features/debug}/Section/Keyboard.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Debug → editor/features/debug}/Section/Selection.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Debug → editor/features/debug}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/DraggingOverlay → editor/features/dragging-overlay}/Renderer/fragment.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/DraggingOverlay → editor/features/dragging-overlay}/Renderer/vertex.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/EditableField → editor/features/editable-field}/Overlay/Contenteditable/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Fragments → editor/features/fragments}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Hover → editor/features/hover}/Renderer/fragment.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Hover → editor/features/hover}/Renderer/vertex.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Library → editor/features/library}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/MultiSelect → editor/features/multi-select}/Renderer/fragment.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/MultiSelect → editor/features/multi-select}/Renderer/vertex.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Options → editor/features/options}/Form/Color/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Options → editor/features/options}/Form/DateTimeLocal/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Options → editor/features/options}/Form/Range/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Options → editor/features/options}/Form/Text/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/PreviewGrant → editor/features/preview-grant}/QrCode/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Selection → editor/features/selection}/AddButtons/Renderer/fragment.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Selection → editor/features/selection}/AddButtons/Renderer/vertex.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Selection → editor/features/selection}/Renderer/fragment.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Selection → editor/features/selection}/Renderer/vertex.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Structure → editor/features/structure}/List/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Theme → editor/features/theme}/GeneratedCode/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/TouchActionBar → editor/features/touch-action-bar}/Bar/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Transform → editor/features/transform}/docs.md +0 -0
- /package/dist/runtime/{helpers → editor/helpers}/bundles/index.d.ts +0 -0
- /package/dist/runtime/{helpers/easing.d.ts → editor/helpers/easing/index.d.ts} +0 -0
- /package/dist/runtime/{helpers/easing.js → editor/helpers/easing/index.js} +0 -0
- /package/dist/runtime/{helpers/editComponents → editor/helpers/edit-components}/index.d.ts +0 -0
- /package/dist/runtime/{helpers/editComponents → editor/helpers/edit-components}/index.js +0 -0
- /package/dist/runtime/{helpers/renderCycle.d.ts → editor/helpers/vue/index.d.ts} +0 -0
- /package/dist/runtime/{helpers/renderCycle.js → editor/helpers/vue/index.js} +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/arrow-right-thin.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/artboard.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/dock-window.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/duplicate.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/loader.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/logo.svg +0 -0
- /package/dist/runtime/{icons/detach.svg → editor/icons/svg/reusable-detach.svg} +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/reusable.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/robot.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/spinner.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/star.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/tiktok.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/unstar.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/vimeo.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/window-maximize.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/window-minimize.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/youtube.svg +0 -0
- /package/dist/runtime/{blokkliPlugins → editor/plugins}/DebugOverlay/index.vue +0 -0
- /package/dist/runtime/{blokkliPlugins → editor/plugins}/index.d.ts +0 -0
- /package/dist/runtime/{blokkliPlugins → editor/plugins}/index.js +0 -0
- /package/dist/runtime/{helpers → editor}/providers/broadcast.d.ts +0 -0
- /package/dist/runtime/{helpers → editor}/providers/broadcast.js +0 -0
- /package/dist/runtime/{helpers → editor}/providers/definition.js +0 -0
- /package/dist/runtime/{helpers → editor}/providers/element.d.ts +0 -0
- /package/dist/runtime/{helpers → editor}/providers/element.js +0 -0
- /package/dist/runtime/{helpers → editor}/providers/indicators.js +0 -0
- /package/dist/runtime/{helpers → editor}/providers/plugin.js +0 -0
package/dist/module.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveAlias, resolveFiles, createResolver, addComponent, addImports, addTemplate,
|
|
1
|
+
import { resolveAlias, resolveFiles, createResolver, addComponent, addImports, addTemplate, useLogger, defineNuxtModule, addPlugin, addBuildPlugin } from '@nuxt/kit';
|
|
2
2
|
import { createUnplugin } from 'unplugin';
|
|
3
3
|
import MagicString from 'magic-string';
|
|
4
4
|
import { walk } from 'estree-walker-ts';
|
|
@@ -10,12 +10,12 @@ import path, { basename } from 'node:path';
|
|
|
10
10
|
import { dirname, relative } from 'pathe';
|
|
11
11
|
import micromatch from 'micromatch';
|
|
12
12
|
import { hash } from 'ohash';
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
13
|
+
import fs, { readFileSync, existsSync } from 'node:fs';
|
|
14
|
+
import { BK_VISIBLE_LANGUAGES, BK_HIDDEN_GLOBALLY } from './global/constants';
|
|
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.29";
|
|
19
19
|
|
|
20
20
|
function sortObjectKeys(obj) {
|
|
21
21
|
if (Array.isArray(obj)) {
|
|
@@ -113,6 +113,9 @@ function extractObjectLiteral(fileContents, composables) {
|
|
|
113
113
|
}
|
|
114
114
|
return void 0;
|
|
115
115
|
}
|
|
116
|
+
function onlyUnique(value, index, self) {
|
|
117
|
+
return self.indexOf(value) === index;
|
|
118
|
+
}
|
|
116
119
|
|
|
117
120
|
class CollectedFile {
|
|
118
121
|
constructor(filePath, fileContents) {
|
|
@@ -122,6 +125,13 @@ class CollectedFile {
|
|
|
122
125
|
async handleChange(_helper) {
|
|
123
126
|
return Promise.resolve(true);
|
|
124
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* Validate the collected file and return any errors.
|
|
130
|
+
* Override this method in subclasses to add validation logic.
|
|
131
|
+
*/
|
|
132
|
+
validate() {
|
|
133
|
+
return [];
|
|
134
|
+
}
|
|
125
135
|
}
|
|
126
136
|
class Collector {
|
|
127
137
|
constructor(helper) {
|
|
@@ -200,6 +210,56 @@ class Collector {
|
|
|
200
210
|
}
|
|
201
211
|
return { hasChanged };
|
|
202
212
|
}
|
|
213
|
+
/**
|
|
214
|
+
* Validate all collected files and log any errors/warnings to the console.
|
|
215
|
+
* @returns true if there are validation errors (not warnings), false otherwise.
|
|
216
|
+
*/
|
|
217
|
+
validate() {
|
|
218
|
+
const allIssues = [];
|
|
219
|
+
for (const file of this.files.values()) {
|
|
220
|
+
const issues = file.validate();
|
|
221
|
+
if (issues.length > 0) {
|
|
222
|
+
allIssues.push({ filePath: file.filePath, issues });
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
if (allIssues.length === 0) {
|
|
226
|
+
return false;
|
|
227
|
+
}
|
|
228
|
+
const errors = [];
|
|
229
|
+
const warnings = [];
|
|
230
|
+
for (const { filePath, issues } of allIssues) {
|
|
231
|
+
const fileErrors = issues.filter((i) => i.severity !== "warning");
|
|
232
|
+
const fileWarnings = issues.filter((i) => i.severity === "warning");
|
|
233
|
+
if (fileErrors.length > 0) {
|
|
234
|
+
errors.push({ filePath, issues: fileErrors });
|
|
235
|
+
}
|
|
236
|
+
if (fileWarnings.length > 0) {
|
|
237
|
+
warnings.push({ filePath, issues: fileWarnings });
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
if (warnings.length > 0) {
|
|
241
|
+
const lines = warnings.flatMap(({ filePath, issues }) => [
|
|
242
|
+
` ${filePath}:`,
|
|
243
|
+
...issues.map((e) => ` - ${e.message}`)
|
|
244
|
+
]);
|
|
245
|
+
this.helper.logger.warn(
|
|
246
|
+
`bl\xF6kkli validation warnings:
|
|
247
|
+
${lines.join("\n")}`
|
|
248
|
+
);
|
|
249
|
+
}
|
|
250
|
+
if (errors.length > 0) {
|
|
251
|
+
const lines = errors.flatMap(({ filePath, issues }) => [
|
|
252
|
+
` ${filePath}:`,
|
|
253
|
+
...issues.map((e) => ` - ${e.message}`)
|
|
254
|
+
]);
|
|
255
|
+
this.helper.logger.error(
|
|
256
|
+
`bl\xF6kkli validation errors:
|
|
257
|
+
${lines.join("\n")}`
|
|
258
|
+
);
|
|
259
|
+
return true;
|
|
260
|
+
}
|
|
261
|
+
return false;
|
|
262
|
+
}
|
|
203
263
|
}
|
|
204
264
|
|
|
205
265
|
const DEFINE_BLOKKLI = "defineBlokkli";
|
|
@@ -254,6 +314,135 @@ function getIdentifier(definition) {
|
|
|
254
314
|
)
|
|
255
315
|
);
|
|
256
316
|
}
|
|
317
|
+
function validateOption(optionKey, option) {
|
|
318
|
+
const errors = [];
|
|
319
|
+
switch (option.type) {
|
|
320
|
+
case "radios": {
|
|
321
|
+
const defaultValue = option.default;
|
|
322
|
+
const availableOptions = option.options;
|
|
323
|
+
if (availableOptions && typeof availableOptions === "object" && defaultValue !== void 0) {
|
|
324
|
+
const optionKeys = Object.keys(availableOptions);
|
|
325
|
+
if (!optionKeys.includes(defaultValue)) {
|
|
326
|
+
errors.push({
|
|
327
|
+
message: `Option "${optionKey}" has default value "${defaultValue}" which is not one of the available options: ${optionKeys.map((k) => `"${k}"`).join(", ")}`,
|
|
328
|
+
optionKey
|
|
329
|
+
});
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
break;
|
|
333
|
+
}
|
|
334
|
+
case "checkboxes": {
|
|
335
|
+
const defaultValues = option.default;
|
|
336
|
+
const availableOptions = option.options;
|
|
337
|
+
if (Array.isArray(defaultValues) && availableOptions && typeof availableOptions === "object") {
|
|
338
|
+
const optionKeys = Object.keys(availableOptions);
|
|
339
|
+
for (const value of defaultValues) {
|
|
340
|
+
if (!optionKeys.includes(value)) {
|
|
341
|
+
errors.push({
|
|
342
|
+
message: `Option "${optionKey}" has default value "${value}" which is not one of the available options: ${optionKeys.map((k) => `"${k}"`).join(", ")}`,
|
|
343
|
+
optionKey
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
break;
|
|
349
|
+
}
|
|
350
|
+
case "number":
|
|
351
|
+
case "range": {
|
|
352
|
+
const defaultValue = option.default;
|
|
353
|
+
const min = option.min;
|
|
354
|
+
const max = option.max;
|
|
355
|
+
if (typeof defaultValue === "number") {
|
|
356
|
+
if (typeof min === "number" && defaultValue < min) {
|
|
357
|
+
errors.push({
|
|
358
|
+
message: `Option "${optionKey}" has default value ${defaultValue} which is less than the minimum value ${min}`,
|
|
359
|
+
optionKey
|
|
360
|
+
});
|
|
361
|
+
}
|
|
362
|
+
if (typeof max === "number" && defaultValue > max) {
|
|
363
|
+
errors.push({
|
|
364
|
+
message: `Option "${optionKey}" has default value ${defaultValue} which is greater than the maximum value ${max}`,
|
|
365
|
+
optionKey
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
break;
|
|
370
|
+
}
|
|
371
|
+
case "color": {
|
|
372
|
+
const defaultValue = option.default;
|
|
373
|
+
if (typeof defaultValue === "string") {
|
|
374
|
+
const hexColorRegex = /^#[0-9A-F]{6}$/i;
|
|
375
|
+
if (!hexColorRegex.test(defaultValue)) {
|
|
376
|
+
errors.push({
|
|
377
|
+
message: `Option "${optionKey}" has default value "${defaultValue}" which is not a valid hex color (expected format: #RRGGBB)`,
|
|
378
|
+
optionKey
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
break;
|
|
383
|
+
}
|
|
384
|
+
case "datetime-local": {
|
|
385
|
+
const defaultValue = option.default;
|
|
386
|
+
const min = option.min;
|
|
387
|
+
const max = option.max;
|
|
388
|
+
if (typeof defaultValue === "string") {
|
|
389
|
+
const defaultDate = new Date(defaultValue);
|
|
390
|
+
if (Number.isNaN(defaultDate.getTime())) {
|
|
391
|
+
errors.push({
|
|
392
|
+
message: `Option "${optionKey}" has default value "${defaultValue}" which is not a valid datetime`,
|
|
393
|
+
optionKey
|
|
394
|
+
});
|
|
395
|
+
} else {
|
|
396
|
+
if (typeof min === "string") {
|
|
397
|
+
const minDate = new Date(min);
|
|
398
|
+
if (!Number.isNaN(minDate.getTime()) && defaultDate < minDate) {
|
|
399
|
+
errors.push({
|
|
400
|
+
message: `Option "${optionKey}" has default value "${defaultValue}" which is before the minimum "${min}"`,
|
|
401
|
+
optionKey
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
if (typeof max === "string") {
|
|
406
|
+
const maxDate = new Date(max);
|
|
407
|
+
if (!Number.isNaN(maxDate.getTime()) && defaultDate > maxDate) {
|
|
408
|
+
errors.push({
|
|
409
|
+
message: `Option "${optionKey}" has default value "${defaultValue}" which is after the maximum "${max}"`,
|
|
410
|
+
optionKey
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
break;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
return errors;
|
|
420
|
+
}
|
|
421
|
+
function validateBlockDefinition(definition) {
|
|
422
|
+
const errors = [];
|
|
423
|
+
if ("options" in definition && definition.options) {
|
|
424
|
+
const options = definition.options;
|
|
425
|
+
for (const [optionKey, option] of Object.entries(options)) {
|
|
426
|
+
if (!option || typeof option !== "object") {
|
|
427
|
+
continue;
|
|
428
|
+
}
|
|
429
|
+
const optionErrors = validateOption(optionKey, option);
|
|
430
|
+
errors.push(...optionErrors);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
if ("renderFor" in definition && definition.renderFor) {
|
|
434
|
+
const renderFor = Array.isArray(definition.renderFor) ? definition.renderFor : [definition.renderFor];
|
|
435
|
+
for (const entry of renderFor) {
|
|
436
|
+
if ("fieldList" in entry) {
|
|
437
|
+
errors.push({
|
|
438
|
+
message: `renderFor uses deprecated "fieldList" property. Use "fieldListType" instead.`,
|
|
439
|
+
severity: "warning"
|
|
440
|
+
});
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
return errors;
|
|
445
|
+
}
|
|
257
446
|
class CollectedBlockFile extends CollectedFile {
|
|
258
447
|
folder = "";
|
|
259
448
|
iconPath = null;
|
|
@@ -268,6 +457,7 @@ class CollectedBlockFile extends CollectedFile {
|
|
|
268
457
|
chunkName = "global";
|
|
269
458
|
variations = [];
|
|
270
459
|
objectLiteralString = "";
|
|
460
|
+
validationCache = null;
|
|
271
461
|
hasSiblingFile(name, helper) {
|
|
272
462
|
const siblingFilePath = path.join(this.folder, "/" + name);
|
|
273
463
|
if (helper.fileCache.fileExists(siblingFilePath)) {
|
|
@@ -276,6 +466,7 @@ class CollectedBlockFile extends CollectedFile {
|
|
|
276
466
|
return null;
|
|
277
467
|
}
|
|
278
468
|
async handleChange(helper) {
|
|
469
|
+
this.validationCache = null;
|
|
279
470
|
this.folder = dirname(this.filePath);
|
|
280
471
|
const diffComponentPath = this.hasSiblingFile("diff.vue", helper);
|
|
281
472
|
const proxyComponentPath = this.hasSiblingFile("proxy.vue", helper);
|
|
@@ -297,6 +488,11 @@ class CollectedBlockFile extends CollectedFile {
|
|
|
297
488
|
);
|
|
298
489
|
this.definition = result.object;
|
|
299
490
|
this.definitionSource = result.source;
|
|
491
|
+
if (isBlock(this.definition)) {
|
|
492
|
+
this.definition.bundle = helper.getMappedBlockBundle(
|
|
493
|
+
this.definition.bundle
|
|
494
|
+
);
|
|
495
|
+
}
|
|
300
496
|
}
|
|
301
497
|
} catch (e) {
|
|
302
498
|
console.log(e);
|
|
@@ -334,6 +530,177 @@ class CollectedBlockFile extends CollectedFile {
|
|
|
334
530
|
this.variations = getVariations(this.definition);
|
|
335
531
|
return true;
|
|
336
532
|
}
|
|
533
|
+
/**
|
|
534
|
+
* Validate the block definition and return any errors.
|
|
535
|
+
* Results are cached and invalidated when the file changes.
|
|
536
|
+
*/
|
|
537
|
+
validate() {
|
|
538
|
+
if (this.validationCache !== null) {
|
|
539
|
+
return this.validationCache;
|
|
540
|
+
}
|
|
541
|
+
if (!this.definition) {
|
|
542
|
+
this.validationCache = [];
|
|
543
|
+
return this.validationCache;
|
|
544
|
+
}
|
|
545
|
+
const errors = validateBlockDefinition(this.definition);
|
|
546
|
+
if (this.type === "main" && isBlock(this.definition)) {
|
|
547
|
+
const hasIconFile = !!this.iconPath;
|
|
548
|
+
const hasEditorIcon = !!(this.definition.editor && "icon" in this.definition.editor && this.definition.editor.icon);
|
|
549
|
+
if (!hasIconFile && !hasEditorIcon) {
|
|
550
|
+
errors.push({
|
|
551
|
+
message: `Block is missing an icon. Add an icon.svg file or set editor.icon in the definition.`,
|
|
552
|
+
severity: "warning"
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
if (this.fileContents.includes("isEditing")) {
|
|
557
|
+
const isEditingPattern = /\bisEditing\b[^\n\r=\u2028\u2029]*=.*define(?:Blokkli|BlokkliFragment)\s*\(|define(?:Blokkli|BlokkliFragment)\s*\([^)]*\).*\bisEditing\b|\{[^}]*\bisEditing\b[^}]*\}\s*=\s*define(?:Blokkli|BlokkliFragment)/;
|
|
558
|
+
if (isEditingPattern.test(this.fileContents)) {
|
|
559
|
+
errors.push({
|
|
560
|
+
message: `Using deprecated "isEditing" property. Use "import.meta.blokkliEditing" instead.`,
|
|
561
|
+
severity: "warning"
|
|
562
|
+
});
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
this.validationCache = errors;
|
|
566
|
+
return this.validationCache;
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
function validateBundleOptionCompatibility(files) {
|
|
570
|
+
const conflicts = [];
|
|
571
|
+
const bundleGroups = /* @__PURE__ */ new Map();
|
|
572
|
+
for (const file of files) {
|
|
573
|
+
if (!file.definition || !isBlock(file.definition)) {
|
|
574
|
+
continue;
|
|
575
|
+
}
|
|
576
|
+
const bundle = file.definition.bundle;
|
|
577
|
+
const existing = bundleGroups.get(bundle) || [];
|
|
578
|
+
existing.push(file);
|
|
579
|
+
bundleGroups.set(bundle, existing);
|
|
580
|
+
}
|
|
581
|
+
for (const [bundle, bundleFiles] of bundleGroups) {
|
|
582
|
+
if (bundleFiles.length < 2) {
|
|
583
|
+
continue;
|
|
584
|
+
}
|
|
585
|
+
const optionInfos = /* @__PURE__ */ new Map();
|
|
586
|
+
for (const file of bundleFiles) {
|
|
587
|
+
if (!file.definition || !isBlock(file.definition)) {
|
|
588
|
+
continue;
|
|
589
|
+
}
|
|
590
|
+
const options = file.definition.options;
|
|
591
|
+
if (!options) {
|
|
592
|
+
continue;
|
|
593
|
+
}
|
|
594
|
+
for (const [optionKey, option] of Object.entries(options)) {
|
|
595
|
+
if (!option || typeof option !== "object" || !option.type) {
|
|
596
|
+
continue;
|
|
597
|
+
}
|
|
598
|
+
const info = {
|
|
599
|
+
filePath: file.filePath,
|
|
600
|
+
type: option.type
|
|
601
|
+
};
|
|
602
|
+
if ((option.type === "radios" || option.type === "checkboxes") && option.options && typeof option.options === "object") {
|
|
603
|
+
info.optionKeys = Object.keys(option.options).sort();
|
|
604
|
+
}
|
|
605
|
+
const existing = optionInfos.get(optionKey) || [];
|
|
606
|
+
existing.push(info);
|
|
607
|
+
optionInfos.set(optionKey, existing);
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
for (const [optionKey, entries] of optionInfos) {
|
|
611
|
+
if (entries.length < 2) {
|
|
612
|
+
continue;
|
|
613
|
+
}
|
|
614
|
+
const types = new Set(entries.map((e) => e.type));
|
|
615
|
+
if (types.size > 1) {
|
|
616
|
+
conflicts.push({
|
|
617
|
+
bundle,
|
|
618
|
+
optionKey,
|
|
619
|
+
reason: "type",
|
|
620
|
+
conflicts: entries
|
|
621
|
+
});
|
|
622
|
+
continue;
|
|
623
|
+
}
|
|
624
|
+
const entriesWithOptionKeys = entries.filter((e) => e.optionKeys);
|
|
625
|
+
if (entriesWithOptionKeys.length >= 2) {
|
|
626
|
+
const optionKeySets = entriesWithOptionKeys.map(
|
|
627
|
+
(e) => e.optionKeys.join(",")
|
|
628
|
+
);
|
|
629
|
+
const uniqueOptionKeySets = new Set(optionKeySets);
|
|
630
|
+
if (uniqueOptionKeySets.size > 1) {
|
|
631
|
+
conflicts.push({
|
|
632
|
+
bundle,
|
|
633
|
+
optionKey,
|
|
634
|
+
reason: "options",
|
|
635
|
+
conflicts: entriesWithOptionKeys
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
return conflicts;
|
|
642
|
+
}
|
|
643
|
+
function validateRenderForConflicts(files) {
|
|
644
|
+
const conflicts = [];
|
|
645
|
+
const bundleGroups = /* @__PURE__ */ new Map();
|
|
646
|
+
for (const file of files) {
|
|
647
|
+
if (!file.definition || !isBlock(file.definition)) {
|
|
648
|
+
continue;
|
|
649
|
+
}
|
|
650
|
+
const bundle = file.definition.bundle;
|
|
651
|
+
const existing = bundleGroups.get(bundle) || [];
|
|
652
|
+
existing.push(file);
|
|
653
|
+
bundleGroups.set(bundle, existing);
|
|
654
|
+
}
|
|
655
|
+
for (const [bundle, bundleFiles] of bundleGroups) {
|
|
656
|
+
if (bundleFiles.length < 2) {
|
|
657
|
+
continue;
|
|
658
|
+
}
|
|
659
|
+
const variationToFiles = /* @__PURE__ */ new Map();
|
|
660
|
+
for (const file of bundleFiles) {
|
|
661
|
+
for (const variation of file.variations) {
|
|
662
|
+
const existing = variationToFiles.get(variation) || [];
|
|
663
|
+
existing.push(file.filePath);
|
|
664
|
+
variationToFiles.set(variation, existing);
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
for (const [variation, filePaths] of variationToFiles) {
|
|
668
|
+
if (filePaths.length > 1) {
|
|
669
|
+
conflicts.push({
|
|
670
|
+
bundle,
|
|
671
|
+
variation,
|
|
672
|
+
filePaths
|
|
673
|
+
});
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
return conflicts;
|
|
678
|
+
}
|
|
679
|
+
function validateMissingMainComponent(files) {
|
|
680
|
+
const errors = [];
|
|
681
|
+
const bundleGroups = /* @__PURE__ */ new Map();
|
|
682
|
+
for (const file of files) {
|
|
683
|
+
if (!file.definition || !isBlock(file.definition)) {
|
|
684
|
+
continue;
|
|
685
|
+
}
|
|
686
|
+
const bundle = file.definition.bundle;
|
|
687
|
+
const existing = bundleGroups.get(bundle) || { main: [], context: [] };
|
|
688
|
+
if (file.type === "main") {
|
|
689
|
+
existing.main.push(file.filePath);
|
|
690
|
+
} else if (file.type === "context") {
|
|
691
|
+
existing.context.push(file.filePath);
|
|
692
|
+
}
|
|
693
|
+
bundleGroups.set(bundle, existing);
|
|
694
|
+
}
|
|
695
|
+
for (const [bundle, { main, context }] of bundleGroups) {
|
|
696
|
+
if (context.length > 0 && main.length === 0) {
|
|
697
|
+
errors.push({
|
|
698
|
+
bundle,
|
|
699
|
+
filePaths: context
|
|
700
|
+
});
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
return errors;
|
|
337
704
|
}
|
|
338
705
|
class BlockCollector extends Collector {
|
|
339
706
|
patterns;
|
|
@@ -426,6 +793,56 @@ class BlockCollector extends Collector {
|
|
|
426
793
|
getDependencyTypes() {
|
|
427
794
|
return ["block-content", "block-path"];
|
|
428
795
|
}
|
|
796
|
+
validate() {
|
|
797
|
+
const hasFileErrors = super.validate();
|
|
798
|
+
const files = [...this.files.values()];
|
|
799
|
+
let hasCollectorErrors = false;
|
|
800
|
+
const optionConflicts = validateBundleOptionCompatibility(files);
|
|
801
|
+
if (optionConflicts.length > 0) {
|
|
802
|
+
const lines = optionConflicts.flatMap((conflict) => {
|
|
803
|
+
const reasonLabel = conflict.reason === "type" ? "conflicting types" : "conflicting option keys";
|
|
804
|
+
return [
|
|
805
|
+
` Bundle "${conflict.bundle}", option "${conflict.optionKey}" (${reasonLabel}):`,
|
|
806
|
+
...conflict.conflicts.map((c) => {
|
|
807
|
+
if (conflict.reason === "options" && c.optionKeys) {
|
|
808
|
+
return ` - ${c.filePath} (keys: ${c.optionKeys.join(", ")})`;
|
|
809
|
+
}
|
|
810
|
+
return ` - ${c.filePath} (type: ${c.type})`;
|
|
811
|
+
})
|
|
812
|
+
];
|
|
813
|
+
});
|
|
814
|
+
this.helper.logger.error(
|
|
815
|
+
`bl\xF6kkli option conflicts across bundle components:
|
|
816
|
+
${lines.join("\n")}`
|
|
817
|
+
);
|
|
818
|
+
hasCollectorErrors = true;
|
|
819
|
+
}
|
|
820
|
+
const renderForConflicts = validateRenderForConflicts(files);
|
|
821
|
+
if (renderForConflicts.length > 0) {
|
|
822
|
+
const lines = renderForConflicts.flatMap((conflict) => [
|
|
823
|
+
` Bundle "${conflict.bundle}", variation "${conflict.variation}":`,
|
|
824
|
+
...conflict.filePaths.map((fp) => ` - ${fp}`)
|
|
825
|
+
]);
|
|
826
|
+
this.helper.logger.error(
|
|
827
|
+
`bl\xF6kkli duplicate renderFor entries:
|
|
828
|
+
${lines.join("\n")}`
|
|
829
|
+
);
|
|
830
|
+
hasCollectorErrors = true;
|
|
831
|
+
}
|
|
832
|
+
const missingMainErrors = validateMissingMainComponent(files);
|
|
833
|
+
if (missingMainErrors.length > 0) {
|
|
834
|
+
const lines = missingMainErrors.flatMap((error) => [
|
|
835
|
+
` Bundle "${error.bundle}":`,
|
|
836
|
+
...error.filePaths.map((fp) => ` - ${fp}`)
|
|
837
|
+
]);
|
|
838
|
+
this.helper.logger.error(
|
|
839
|
+
`bl\xF6kkli bundles with renderFor components but no main component:
|
|
840
|
+
${lines.join("\n")}`
|
|
841
|
+
);
|
|
842
|
+
hasCollectorErrors = true;
|
|
843
|
+
}
|
|
844
|
+
return hasFileErrors || hasCollectorErrors;
|
|
845
|
+
}
|
|
429
846
|
}
|
|
430
847
|
|
|
431
848
|
function isVue(id, opts = {}) {
|
|
@@ -457,7 +874,7 @@ function generateRuntimeArg(definition) {
|
|
|
457
874
|
}
|
|
458
875
|
return `${definition.entityType}__${definition.bundle}::${getIdentifier(definition)}`;
|
|
459
876
|
}
|
|
460
|
-
const RuntimeDefinitionPlugin = (nuxt, composableName, argIndex = 0) => {
|
|
877
|
+
const RuntimeDefinitionPlugin = (nuxt, helper, composableName, argIndex = 0) => {
|
|
461
878
|
const cache = /* @__PURE__ */ new Map();
|
|
462
879
|
function extract(source) {
|
|
463
880
|
const fromCache = cache.get(source);
|
|
@@ -466,6 +883,11 @@ const RuntimeDefinitionPlugin = (nuxt, composableName, argIndex = 0) => {
|
|
|
466
883
|
}
|
|
467
884
|
const definition = parseTsObject(source);
|
|
468
885
|
if (definition.object) {
|
|
886
|
+
if (isBlock(definition.object)) {
|
|
887
|
+
definition.object.bundle = helper.getMappedBlockBundle(
|
|
888
|
+
definition.object.bundle
|
|
889
|
+
);
|
|
890
|
+
}
|
|
469
891
|
cache.set(source, definition.object);
|
|
470
892
|
return definition.object;
|
|
471
893
|
}
|
|
@@ -526,16 +948,81 @@ const RuntimeDefinitionPlugin = (nuxt, composableName, argIndex = 0) => {
|
|
|
526
948
|
});
|
|
527
949
|
};
|
|
528
950
|
|
|
951
|
+
const REPLACE_TARGET = "import.meta.blokkliEditing";
|
|
952
|
+
const EDITING_MARKER = "__blokkli_editing__";
|
|
953
|
+
const BlokkliEditingPlugin = (nuxt) => {
|
|
954
|
+
return createUnplugin(() => {
|
|
955
|
+
return {
|
|
956
|
+
name: "blokkli:editing",
|
|
957
|
+
enforce: "pre",
|
|
958
|
+
resolveId(id) {
|
|
959
|
+
const { pathname, search } = parseURL(decodeURIComponent(id));
|
|
960
|
+
if (!search || !pathname.endsWith(".vue")) {
|
|
961
|
+
return;
|
|
962
|
+
}
|
|
963
|
+
const query = parseQuery(search);
|
|
964
|
+
if (query.blokkliEditing !== "true") {
|
|
965
|
+
return;
|
|
966
|
+
}
|
|
967
|
+
return pathname.replace(/\.vue$/, `${EDITING_MARKER}.vue`);
|
|
968
|
+
},
|
|
969
|
+
load(id) {
|
|
970
|
+
if (!id.includes(EDITING_MARKER) || id.includes("?")) {
|
|
971
|
+
return;
|
|
972
|
+
}
|
|
973
|
+
const originalPath = id.replace(EDITING_MARKER, "");
|
|
974
|
+
this.addWatchFile(originalPath);
|
|
975
|
+
return readFileSync(originalPath, "utf-8");
|
|
976
|
+
},
|
|
977
|
+
transform(source, id) {
|
|
978
|
+
if (!source.includes(REPLACE_TARGET)) {
|
|
979
|
+
return;
|
|
980
|
+
}
|
|
981
|
+
const isEditing = id.includes(EDITING_MARKER);
|
|
982
|
+
const replacement = isEditing ? "true" : "false";
|
|
983
|
+
const s = new MagicString(source);
|
|
984
|
+
let index = source.indexOf(REPLACE_TARGET);
|
|
985
|
+
while (index !== -1) {
|
|
986
|
+
s.overwrite(index, index + REPLACE_TARGET.length, replacement);
|
|
987
|
+
index = source.indexOf(REPLACE_TARGET, index + 1);
|
|
988
|
+
}
|
|
989
|
+
if (s.hasChanged()) {
|
|
990
|
+
return {
|
|
991
|
+
code: s.toString(),
|
|
992
|
+
map: nuxt.options.sourcemap.client || nuxt.options.sourcemap.server ? s.generateMap({ hires: true }) : null
|
|
993
|
+
};
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
vite: {
|
|
997
|
+
handleHotUpdate({ file, server, modules }) {
|
|
998
|
+
if (file.endsWith(".vue") && !file.includes(EDITING_MARKER)) {
|
|
999
|
+
const editingVariantPath = file.replace(
|
|
1000
|
+
/\.vue$/,
|
|
1001
|
+
`${EDITING_MARKER}.vue`
|
|
1002
|
+
);
|
|
1003
|
+
const editingModule = server.moduleGraph.getModuleById(editingVariantPath);
|
|
1004
|
+
if (editingModule) {
|
|
1005
|
+
server.moduleGraph.invalidateModule(editingModule);
|
|
1006
|
+
return [...modules, editingModule];
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
};
|
|
1012
|
+
});
|
|
1013
|
+
};
|
|
1014
|
+
|
|
529
1015
|
class IconCollector extends Collector {
|
|
530
1016
|
needsFileContents = false;
|
|
531
1017
|
srcFromModule;
|
|
532
1018
|
constructor(helper) {
|
|
533
1019
|
super(helper);
|
|
534
|
-
this.srcFromModule = helper.resolvers.module.resolve(
|
|
1020
|
+
this.srcFromModule = helper.resolvers.module.resolve(
|
|
1021
|
+
"./runtime/editor/icons/svg"
|
|
1022
|
+
);
|
|
535
1023
|
}
|
|
536
1024
|
async init() {
|
|
537
|
-
const
|
|
538
|
-
const filesModule = await resolveFiles(srcFromModule, "*.svg");
|
|
1025
|
+
const filesModule = await resolveFiles(this.srcFromModule, "*.svg");
|
|
539
1026
|
const filesApp = await resolveFiles(
|
|
540
1027
|
this.helper.paths.srcDir,
|
|
541
1028
|
"**/icon-blokkli-*.svg"
|
|
@@ -621,12 +1108,10 @@ class FileCache {
|
|
|
621
1108
|
}
|
|
622
1109
|
}
|
|
623
1110
|
|
|
624
|
-
function onlyUnique(value, index, self) {
|
|
625
|
-
return self.indexOf(value) === index;
|
|
626
|
-
}
|
|
627
1111
|
class ModuleHelper {
|
|
628
|
-
constructor(nuxt, moduleUrl, providedOptions) {
|
|
1112
|
+
constructor(nuxt, logger, moduleUrl, providedOptions) {
|
|
629
1113
|
this.nuxt = nuxt;
|
|
1114
|
+
this.logger = logger;
|
|
630
1115
|
this.isDev = nuxt.options.dev;
|
|
631
1116
|
this.isModuleBuild = false;
|
|
632
1117
|
this.fileCache = new FileCache();
|
|
@@ -646,13 +1131,23 @@ class ModuleHelper {
|
|
|
646
1131
|
this.paths.blokkliBuildDir,
|
|
647
1132
|
this.resolvers.module.resolve("./runtime/types/index.ts")
|
|
648
1133
|
),
|
|
1134
|
+
TYPES_DEFINITIONS: relative(
|
|
1135
|
+
this.paths.blokkliBuildDir,
|
|
1136
|
+
this.resolvers.module.resolve("./runtime/types/definitions.ts")
|
|
1137
|
+
),
|
|
1138
|
+
RUNTIME_MATERIAL_ICONS: relative(
|
|
1139
|
+
this.paths.blokkliBuildDir,
|
|
1140
|
+
this.resolvers.module.resolve(
|
|
1141
|
+
"./runtime/editor/icons/material-icons.ts"
|
|
1142
|
+
)
|
|
1143
|
+
),
|
|
649
1144
|
CONSTANTS: relative(
|
|
650
1145
|
this.paths.blokkliBuildDir,
|
|
651
1146
|
this.resolvers.module.resolve("./runtime/constants/index.ts")
|
|
652
1147
|
),
|
|
653
1148
|
ADAPTER: relative(
|
|
654
1149
|
this.paths.blokkliBuildDir,
|
|
655
|
-
this.resolvers.module.resolve("./runtime/adapter/index.ts")
|
|
1150
|
+
this.resolvers.module.resolve("./runtime/editor/adapter/index.ts")
|
|
656
1151
|
),
|
|
657
1152
|
TYPES_THEME: relative(
|
|
658
1153
|
this.paths.blokkliBuildDir,
|
|
@@ -758,6 +1253,14 @@ class ModuleHelper {
|
|
|
758
1253
|
path + "/*"
|
|
759
1254
|
];
|
|
760
1255
|
}
|
|
1256
|
+
getMappedBlockBundle(bundle) {
|
|
1257
|
+
if (bundle === "BK_BUNDLE_FROM_LIBRARY") {
|
|
1258
|
+
return this.options.fromLibraryBlockBundle ?? "from_library";
|
|
1259
|
+
} else if (bundle === "BK_BUNDLE_FRAGMENT") {
|
|
1260
|
+
return this.options.fragmentBlockBundle ?? "blokkli_fragment";
|
|
1261
|
+
}
|
|
1262
|
+
return bundle;
|
|
1263
|
+
}
|
|
761
1264
|
}
|
|
762
1265
|
|
|
763
1266
|
const WRITE = false;
|
|
@@ -821,36 +1324,30 @@ class ModuleContext {
|
|
|
821
1324
|
write: template.options.write || WRITE,
|
|
822
1325
|
getContents: () => this.getTemplateContents("code", template.name)
|
|
823
1326
|
});
|
|
824
|
-
addTypeTemplate({
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
if (line.startsWith("import ") && line.includes(" from ")) {
|
|
834
|
-
imports.push(line);
|
|
835
|
-
} else {
|
|
836
|
-
declarations.push(line);
|
|
837
|
-
}
|
|
1327
|
+
this.addTypeTemplate(`blokkli/${template.name}.d.ts`, () => {
|
|
1328
|
+
const lines = this.getTemplateContents("types", template.name).trim().split("\n");
|
|
1329
|
+
const imports = [];
|
|
1330
|
+
const declarations = [];
|
|
1331
|
+
for (const line of lines) {
|
|
1332
|
+
if (line.startsWith("import ") && line.includes(" from ")) {
|
|
1333
|
+
imports.push(line);
|
|
1334
|
+
} else {
|
|
1335
|
+
declarations.push(line);
|
|
838
1336
|
}
|
|
839
|
-
|
|
1337
|
+
}
|
|
1338
|
+
return `${imports.join("\n")}
|
|
840
1339
|
|
|
841
1340
|
declare module '#blokkli-build/${template.name}' {
|
|
842
1341
|
${declarations.join("\n ")}
|
|
843
1342
|
}`;
|
|
844
|
-
}
|
|
845
1343
|
});
|
|
846
1344
|
} else {
|
|
847
1345
|
const filename = template.fileName.startsWith("/") ? template.fileName : `blokkli/${template.fileName}`;
|
|
848
1346
|
if (filename.endsWith(".d.ts")) {
|
|
849
|
-
addTypeTemplate(
|
|
1347
|
+
this.addTypeTemplate(
|
|
850
1348
|
filename,
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
});
|
|
1349
|
+
() => this.getTemplateContents("file", template.fileName)
|
|
1350
|
+
);
|
|
854
1351
|
} else {
|
|
855
1352
|
addTemplate({
|
|
856
1353
|
filename,
|
|
@@ -860,6 +1357,24 @@ declare module '#blokkli-build/${template.name}' {
|
|
|
860
1357
|
}
|
|
861
1358
|
}
|
|
862
1359
|
}
|
|
1360
|
+
/**
|
|
1361
|
+
* Register a type template without adding to globalTypeFiles.
|
|
1362
|
+
*
|
|
1363
|
+
* Uses addTemplate instead of addTypeTemplate to avoid Vue compiler-sfc
|
|
1364
|
+
* issue where exported types from globalTypeFiles cannot be resolved.
|
|
1365
|
+
* @see https://github.com/nuxt/nuxt/issues/33694
|
|
1366
|
+
*/
|
|
1367
|
+
addTypeTemplate(filename, getContents) {
|
|
1368
|
+
const resolvedTemplate = addTemplate({
|
|
1369
|
+
filename,
|
|
1370
|
+
write: true,
|
|
1371
|
+
getContents
|
|
1372
|
+
});
|
|
1373
|
+
this.helper.nuxt.hook("prepare:types", (payload) => {
|
|
1374
|
+
payload.references ||= [];
|
|
1375
|
+
payload.references.push({ path: resolvedTemplate.dst });
|
|
1376
|
+
});
|
|
1377
|
+
}
|
|
863
1378
|
}
|
|
864
1379
|
|
|
865
1380
|
function defineCodeTemplate(name, buildCode, buildTypes, options) {
|
|
@@ -911,6 +1426,132 @@ function toImports(map) {
|
|
|
911
1426
|
return `import ${key} from '${path}'`;
|
|
912
1427
|
}).sort().join("\n");
|
|
913
1428
|
}
|
|
1429
|
+
function toTypeLiteral(value) {
|
|
1430
|
+
if (value === null) {
|
|
1431
|
+
return "null";
|
|
1432
|
+
}
|
|
1433
|
+
if (value === void 0) {
|
|
1434
|
+
return "undefined";
|
|
1435
|
+
}
|
|
1436
|
+
if (typeof value === "string") {
|
|
1437
|
+
return JSON.stringify(value);
|
|
1438
|
+
}
|
|
1439
|
+
if (typeof value === "number" || typeof value === "boolean") {
|
|
1440
|
+
return String(value);
|
|
1441
|
+
}
|
|
1442
|
+
if (Array.isArray(value)) {
|
|
1443
|
+
if (value.length === 0) {
|
|
1444
|
+
return "[]";
|
|
1445
|
+
}
|
|
1446
|
+
const items = value.map((v) => toTypeLiteral(v));
|
|
1447
|
+
return `[${items.join(", ")}]`;
|
|
1448
|
+
}
|
|
1449
|
+
if (typeof value === "object") {
|
|
1450
|
+
const entries = Object.entries(value);
|
|
1451
|
+
if (entries.length === 0) {
|
|
1452
|
+
return "{}";
|
|
1453
|
+
}
|
|
1454
|
+
const props = entries.map(([key, val]) => {
|
|
1455
|
+
const safeKey = /^[a-z_$][\w$]*$/i.test(key) ? key : JSON.stringify(key);
|
|
1456
|
+
return `${safeKey}: ${toTypeLiteral(val)}`;
|
|
1457
|
+
}).join("; ");
|
|
1458
|
+
return `{ ${props} }`;
|
|
1459
|
+
}
|
|
1460
|
+
return "unknown";
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
const USED_MATERIAL_ICONS = [
|
|
1464
|
+
"bk_mdi_account_tree",
|
|
1465
|
+
"bk_mdi_add",
|
|
1466
|
+
"bk_mdi_add_comment",
|
|
1467
|
+
"bk_mdi_anchor",
|
|
1468
|
+
"bk_mdi_arrow_downward",
|
|
1469
|
+
"bk_mdi_arrow_drop_down",
|
|
1470
|
+
"bk_mdi_arrow_left",
|
|
1471
|
+
"bk_mdi_arrow_left_alt",
|
|
1472
|
+
"bk_mdi_arrow_right",
|
|
1473
|
+
"bk_mdi_arrow_right_alt",
|
|
1474
|
+
"bk_mdi_arrow_selector_tool",
|
|
1475
|
+
"bk_mdi_attach_file",
|
|
1476
|
+
"bk_mdi_bakery_dining",
|
|
1477
|
+
"bk_mdi_bar_chart",
|
|
1478
|
+
"bk_mdi_bug_report",
|
|
1479
|
+
"bk_mdi_calendar_clock",
|
|
1480
|
+
"bk_mdi_calendar_month",
|
|
1481
|
+
"bk_mdi_check",
|
|
1482
|
+
"bk_mdi_check_box",
|
|
1483
|
+
"bk_mdi_check_box_outline_blank",
|
|
1484
|
+
"bk_mdi_chevron_backward",
|
|
1485
|
+
"bk_mdi_chevron_forward",
|
|
1486
|
+
"bk_mdi_close",
|
|
1487
|
+
"bk_mdi_comment",
|
|
1488
|
+
"bk_mdi_construction",
|
|
1489
|
+
"bk_mdi_content_copy",
|
|
1490
|
+
"bk_mdi_content_paste",
|
|
1491
|
+
"bk_mdi_delete",
|
|
1492
|
+
"bk_mdi_dock_to_left",
|
|
1493
|
+
"bk_mdi_dock_to_right",
|
|
1494
|
+
"bk_mdi_drag_pan",
|
|
1495
|
+
"bk_mdi_edit",
|
|
1496
|
+
"bk_mdi_exit_to_app",
|
|
1497
|
+
"bk_mdi_extension",
|
|
1498
|
+
"bk_mdi_function",
|
|
1499
|
+
"bk_mdi_grid_view",
|
|
1500
|
+
"bk_mdi_grid_view-fill",
|
|
1501
|
+
"bk_mdi_help",
|
|
1502
|
+
"bk_mdi_help-fill",
|
|
1503
|
+
"bk_mdi_history",
|
|
1504
|
+
"bk_mdi_image",
|
|
1505
|
+
"bk_mdi_info-fill",
|
|
1506
|
+
"bk_mdi_ink_selection",
|
|
1507
|
+
"bk_mdi_keyboard_command_key",
|
|
1508
|
+
"bk_mdi_lists",
|
|
1509
|
+
"bk_mdi_logo_dev",
|
|
1510
|
+
"bk_mdi_menu",
|
|
1511
|
+
"bk_mdi_mobile",
|
|
1512
|
+
"bk_mdi_mobile_rotate",
|
|
1513
|
+
"bk_mdi_newspaper",
|
|
1514
|
+
"bk_mdi_open_in_new",
|
|
1515
|
+
"bk_mdi_palette",
|
|
1516
|
+
"bk_mdi_person",
|
|
1517
|
+
"bk_mdi_person-fill",
|
|
1518
|
+
"bk_mdi_publish",
|
|
1519
|
+
"bk_mdi_qr_code",
|
|
1520
|
+
"bk_mdi_question_mark",
|
|
1521
|
+
"bk_mdi_radio_button_checked",
|
|
1522
|
+
"bk_mdi_redo",
|
|
1523
|
+
"bk_mdi_remove",
|
|
1524
|
+
"bk_mdi_replay",
|
|
1525
|
+
"bk_mdi_robot",
|
|
1526
|
+
"bk_mdi_save",
|
|
1527
|
+
"bk_mdi_school-fill",
|
|
1528
|
+
"bk_mdi_search",
|
|
1529
|
+
"bk_mdi_select",
|
|
1530
|
+
"bk_mdi_select_all",
|
|
1531
|
+
"bk_mdi_select_check_box",
|
|
1532
|
+
"bk_mdi_sentiment_dissatisfied",
|
|
1533
|
+
"bk_mdi_sentiment_worried",
|
|
1534
|
+
"bk_mdi_settings",
|
|
1535
|
+
"bk_mdi_speed",
|
|
1536
|
+
"bk_mdi_stack_group",
|
|
1537
|
+
"bk_mdi_swap_horiz",
|
|
1538
|
+
"bk_mdi_swap_horizontal_circle",
|
|
1539
|
+
"bk_mdi_text_compare",
|
|
1540
|
+
"bk_mdi_text_select_end",
|
|
1541
|
+
"bk_mdi_texture",
|
|
1542
|
+
"bk_mdi_title",
|
|
1543
|
+
"bk_mdi_trackpad_input",
|
|
1544
|
+
"bk_mdi_translate",
|
|
1545
|
+
"bk_mdi_undo",
|
|
1546
|
+
"bk_mdi_upload",
|
|
1547
|
+
"bk_mdi_video_camera_back",
|
|
1548
|
+
"bk_mdi_visibility",
|
|
1549
|
+
"bk_mdi_visibility-fill",
|
|
1550
|
+
"bk_mdi_visibility_off",
|
|
1551
|
+
"bk_mdi_warning",
|
|
1552
|
+
"bk_mdi_web_traffic",
|
|
1553
|
+
"bk_mdi_zoom_in"
|
|
1554
|
+
];
|
|
914
1555
|
|
|
915
1556
|
const icons = defineCodeTemplate(
|
|
916
1557
|
"icons",
|
|
@@ -918,12 +1559,44 @@ const icons = defineCodeTemplate(
|
|
|
918
1559
|
const imports = /* @__PURE__ */ new Map();
|
|
919
1560
|
const icons = /* @__PURE__ */ new Map();
|
|
920
1561
|
const files = ctx.icons.files.values();
|
|
1562
|
+
const blockIcons = [...ctx.blocks.files.values()].flatMap((v) => {
|
|
1563
|
+
const icon = v.definition?.editor?.icon;
|
|
1564
|
+
const optionIcons = Object.values(v.definition?.options ?? {}).flatMap(
|
|
1565
|
+
(option) => {
|
|
1566
|
+
if (option.type === "radios" && option.displayAs === "icons") {
|
|
1567
|
+
return Object.values(option.options).map((optionOption) => {
|
|
1568
|
+
return optionOption.icon;
|
|
1569
|
+
});
|
|
1570
|
+
}
|
|
1571
|
+
}
|
|
1572
|
+
);
|
|
1573
|
+
return [icon, ...optionIcons];
|
|
1574
|
+
});
|
|
1575
|
+
const featureIcons = [...ctx.features.files.values()].map(
|
|
1576
|
+
(v) => v.getDefinition()?.definition.icon
|
|
1577
|
+
);
|
|
1578
|
+
const definitionIcons = [
|
|
1579
|
+
...blockIcons,
|
|
1580
|
+
...featureIcons,
|
|
1581
|
+
...USED_MATERIAL_ICONS
|
|
1582
|
+
].filter(falsy).filter(onlyUnique);
|
|
921
1583
|
for (const file of files) {
|
|
922
1584
|
const name = basename(file.filePath, ".svg").toLowerCase();
|
|
923
1585
|
const importName = "icon_" + toValidVariableName(name);
|
|
924
|
-
|
|
1586
|
+
const realtivePath = ctx.helper.toModuleBuildRelative(file.filePath);
|
|
1587
|
+
imports.set(importName, `${realtivePath}?raw`);
|
|
925
1588
|
icons.set(name, importName);
|
|
926
1589
|
}
|
|
1590
|
+
const materialIcons = definitionIcons.filter((v) => v.startsWith("bk_mdi_"));
|
|
1591
|
+
for (const icon of materialIcons) {
|
|
1592
|
+
const importName = "icon_" + toValidVariableName(icon);
|
|
1593
|
+
const mdiImportName = icon.replace("bk_mdi_", "");
|
|
1594
|
+
imports.set(
|
|
1595
|
+
importName,
|
|
1596
|
+
`@material-symbols/svg-600/rounded/${mdiImportName}.svg?raw`
|
|
1597
|
+
);
|
|
1598
|
+
icons.set(icon, importName);
|
|
1599
|
+
}
|
|
927
1600
|
return `${toImports(imports)}
|
|
928
1601
|
|
|
929
1602
|
${toObject("icons", icons)}
|
|
@@ -932,15 +1605,19 @@ ${toObject("icons", icons)}
|
|
|
932
1605
|
(ctx) => {
|
|
933
1606
|
const allIconNames = [...ctx.icons.files.values()].map((file) => {
|
|
934
1607
|
return basename(file.filePath, ".svg").toLowerCase();
|
|
935
|
-
}).sort().map((name) => `"${name}"`).join("\n | ");
|
|
1608
|
+
}).sort().map((name) => `"${name}"`).join("\n | ") || "'never'";
|
|
936
1609
|
return `
|
|
937
|
-
|
|
1610
|
+
import type { MaterialIconName } from '${ctx.helper.relativePaths.RUNTIME_MATERIAL_ICONS}'
|
|
1611
|
+
|
|
1612
|
+
type ProvidedIconName =
|
|
938
1613
|
| ${allIconNames}
|
|
939
|
-
|
|
1614
|
+
|
|
1615
|
+
export type BlokkliIcon = MaterialIconName | ProvidedIconName
|
|
1616
|
+
export declare const icons: Record<BlokkliIcon, string>
|
|
940
1617
|
`;
|
|
941
1618
|
},
|
|
942
1619
|
{
|
|
943
|
-
dependencies: ["icons"]
|
|
1620
|
+
dependencies: ["icons", "block-content"]
|
|
944
1621
|
}
|
|
945
1622
|
);
|
|
946
1623
|
|
|
@@ -952,6 +1629,7 @@ const features = defineCodeTemplate(
|
|
|
952
1629
|
const definitions = [];
|
|
953
1630
|
const declarations = [];
|
|
954
1631
|
const imports = /* @__PURE__ */ new Map();
|
|
1632
|
+
const typeImports = [];
|
|
955
1633
|
for (const feature of features) {
|
|
956
1634
|
const componentVarName = toValidVariableName(`component_${feature.id}`);
|
|
957
1635
|
const declarationVarName = toValidVariableName(`feature_${feature.id}`);
|
|
@@ -961,9 +1639,16 @@ const features = defineCodeTemplate(
|
|
|
961
1639
|
definitions.push(declarationVarName);
|
|
962
1640
|
imports.set(componentVarName, feature.componentPath);
|
|
963
1641
|
featuresComponents.set(feature.id, componentVarName);
|
|
1642
|
+
const typesPath = feature.componentPath.replace("/index.vue", "/types.ts");
|
|
1643
|
+
if (existsSync(typesPath)) {
|
|
1644
|
+
typeImports.push(
|
|
1645
|
+
`import '${feature.componentPath.replace("/index.vue", "/types")}'`
|
|
1646
|
+
);
|
|
1647
|
+
}
|
|
964
1648
|
}
|
|
965
1649
|
const availableFeaturesAtBuild = features.map((v) => v.id);
|
|
966
|
-
|
|
1650
|
+
const typeImportsCode = typeImports.length > 0 ? typeImports.join("\n") + "\n" : "";
|
|
1651
|
+
return `${typeImportsCode}${toImports(imports)}
|
|
967
1652
|
|
|
968
1653
|
export const availableFeaturesAtBuild = ${JSON.stringify(
|
|
969
1654
|
availableFeaturesAtBuild.sort()
|
|
@@ -982,12 +1667,9 @@ export const featureDefinitions = [
|
|
|
982
1667
|
const features = ctx.features.getEnabledFeatures().map((v) => v.id);
|
|
983
1668
|
const availableFeaturesAtBuild = features;
|
|
984
1669
|
return `
|
|
985
|
-
import type {
|
|
986
|
-
import type { Viewport } from '${ctx.helper.relativePaths.CONSTANTS}'
|
|
1670
|
+
import type { FeatureDefinition } from '${ctx.helper.relativePaths.TYPES}'
|
|
987
1671
|
import type { Component } from 'vue'
|
|
988
1672
|
|
|
989
|
-
type AdapterMethods = keyof BlokkliAdapter<any>
|
|
990
|
-
|
|
991
1673
|
export type ValidFeatureKey = ${availableFeaturesAtBuild.map((v) => '"' + v + '"').join(" | ")}
|
|
992
1674
|
|
|
993
1675
|
export declare const featureComponents: Record<ValidFeatureKey, Component>
|
|
@@ -1515,6 +2197,10 @@ const downloadLogsButton$3 = {
|
|
|
1515
2197
|
source: "Download Logs",
|
|
1516
2198
|
translation: "Fehlerprotokoll herunterladen"
|
|
1517
2199
|
};
|
|
2200
|
+
const draggingOverlaySelectBundle$3 = {
|
|
2201
|
+
source: "Select block type to create",
|
|
2202
|
+
translation: "Block-Typ zum Erstellen auswählen"
|
|
2203
|
+
};
|
|
1518
2204
|
const duplicate$3 = {
|
|
1519
2205
|
source: "Duplicate",
|
|
1520
2206
|
translation: "Duplizieren"
|
|
@@ -1671,6 +2357,14 @@ const feature_assistant_label$3 = {
|
|
|
1671
2357
|
source: "Assistant",
|
|
1672
2358
|
translation: "Assistent"
|
|
1673
2359
|
};
|
|
2360
|
+
const feature_breadcrumbs_description$3 = {
|
|
2361
|
+
source: "Provides a breadcrumb of the selection.",
|
|
2362
|
+
translation: ""
|
|
2363
|
+
};
|
|
2364
|
+
const feature_breadcrumbs_label$3 = {
|
|
2365
|
+
source: "Breadcrumbs",
|
|
2366
|
+
translation: ""
|
|
2367
|
+
};
|
|
1674
2368
|
const feature_clipboard_description$3 = {
|
|
1675
2369
|
source: "Provides clipboard integration to copy/paste existing blocks or paste supported clipboard content like text or images.",
|
|
1676
2370
|
translation: "Stellt Zwischenablage-Integration bereit zum Kopieren/Einfügen von bestehenden Blöcken oder zum Einfügen von unterstützten Inhalten wie Text oder Bildern."
|
|
@@ -2067,17 +2761,9 @@ const importExistingFieldsLabel$3 = {
|
|
|
2067
2761
|
source: "Which content would you like to import?",
|
|
2068
2762
|
translation: "Welche Inhalte möchten Sie importieren?"
|
|
2069
2763
|
};
|
|
2070
|
-
const
|
|
2071
|
-
source: "
|
|
2072
|
-
translation: "
|
|
2073
|
-
};
|
|
2074
|
-
const importExistingResultsTitle$3 = {
|
|
2075
|
-
source: "@count of @total pages",
|
|
2076
|
-
translation: "@count von @total Seiten"
|
|
2077
|
-
};
|
|
2078
|
-
const importExistingSearchPlaceholder$3 = {
|
|
2079
|
-
source: "Search pages",
|
|
2080
|
-
translation: "Seiten durchsuchen"
|
|
2764
|
+
const importExistingPagesTitle$3 = {
|
|
2765
|
+
source: "Select page",
|
|
2766
|
+
translation: ""
|
|
2081
2767
|
};
|
|
2082
2768
|
const importExistingSuccess$3 = {
|
|
2083
2769
|
source: "Content imported successfully.",
|
|
@@ -2087,6 +2773,14 @@ const importExistingTitle$3 = {
|
|
|
2087
2773
|
source: "Import...",
|
|
2088
2774
|
translation: "Importieren..."
|
|
2089
2775
|
};
|
|
2776
|
+
const interactionLayerOff$3 = {
|
|
2777
|
+
source: "Show interaction layers",
|
|
2778
|
+
translation: ""
|
|
2779
|
+
};
|
|
2780
|
+
const interactionLayersOn$3 = {
|
|
2781
|
+
source: "Hide interaction layers",
|
|
2782
|
+
translation: ""
|
|
2783
|
+
};
|
|
2090
2784
|
const libraryAdd$3 = {
|
|
2091
2785
|
source: "Add to library...",
|
|
2092
2786
|
translation: "Zur Bibliothek hinzufügen..."
|
|
@@ -2155,14 +2849,6 @@ const libraryPlaceDialogTitle$3 = {
|
|
|
2155
2849
|
source: "Add block from library",
|
|
2156
2850
|
translation: "Block aus Bibliothek hinzufügen"
|
|
2157
2851
|
};
|
|
2158
|
-
const libraryPlaceSearchInputPlaceholder$3 = {
|
|
2159
|
-
source: "Search library items",
|
|
2160
|
-
translation: "Suchbegriff eingeben"
|
|
2161
|
-
};
|
|
2162
|
-
const libraryPlaceSearchLabel$3 = {
|
|
2163
|
-
source: "Filter library items",
|
|
2164
|
-
translation: "Bibliothek durchsuchen"
|
|
2165
|
-
};
|
|
2166
2852
|
const libraryPreviewLabel$3 = {
|
|
2167
2853
|
source: "Preview",
|
|
2168
2854
|
translation: "Vorschau"
|
|
@@ -2675,6 +3361,10 @@ const themeTourText$3 = {
|
|
|
2675
3361
|
source: "Change the colors of the theme and generate a theme file.",
|
|
2676
3362
|
translation: "Ändern Sie das Theme und generieren Sie eine Theme-Datei."
|
|
2677
3363
|
};
|
|
3364
|
+
const toggleInteractionLayers$3 = {
|
|
3365
|
+
source: "Toggle interaction layers",
|
|
3366
|
+
translation: ""
|
|
3367
|
+
};
|
|
2678
3368
|
const touchBarCancelDragging$3 = {
|
|
2679
3369
|
source: "Cancel dragging",
|
|
2680
3370
|
translation: "Platzieren abbrechen"
|
|
@@ -2940,6 +3630,7 @@ const de = {
|
|
|
2940
3630
|
diffStatusEdited: diffStatusEdited$3,
|
|
2941
3631
|
diffStatusUnchanged: diffStatusUnchanged$3,
|
|
2942
3632
|
downloadLogsButton: downloadLogsButton$3,
|
|
3633
|
+
draggingOverlaySelectBundle: draggingOverlaySelectBundle$3,
|
|
2943
3634
|
duplicate: duplicate$3,
|
|
2944
3635
|
duplicateError: duplicateError$3,
|
|
2945
3636
|
edit: edit$3,
|
|
@@ -3003,6 +3694,8 @@ const de = {
|
|
|
3003
3694
|
source: "Block Scheduler",
|
|
3004
3695
|
translation: ""
|
|
3005
3696
|
},
|
|
3697
|
+
feature_breadcrumbs_description: feature_breadcrumbs_description$3,
|
|
3698
|
+
feature_breadcrumbs_label: feature_breadcrumbs_label$3,
|
|
3006
3699
|
feature_clipboard_description: feature_clipboard_description$3,
|
|
3007
3700
|
feature_clipboard_label: feature_clipboard_label$3,
|
|
3008
3701
|
feature_clipboard_setting_openSidebarOnPaste_description: feature_clipboard_setting_openSidebarOnPaste_description$3,
|
|
@@ -3023,6 +3716,14 @@ const de = {
|
|
|
3023
3716
|
feature_debug_label: feature_debug_label$3,
|
|
3024
3717
|
feature_delete_description: feature_delete_description$3,
|
|
3025
3718
|
feature_delete_label: feature_delete_label$3,
|
|
3719
|
+
"feature_dev-mode_description": {
|
|
3720
|
+
source: "Feature enabled in development mode.",
|
|
3721
|
+
translation: ""
|
|
3722
|
+
},
|
|
3723
|
+
"feature_dev-mode_label": {
|
|
3724
|
+
source: "Dev Mode",
|
|
3725
|
+
translation: ""
|
|
3726
|
+
},
|
|
3026
3727
|
feature_diff_description: feature_diff_description$3,
|
|
3027
3728
|
feature_diff_label: feature_diff_label$3,
|
|
3028
3729
|
"feature_dragging-overlay_description": {
|
|
@@ -3206,11 +3907,11 @@ const de = {
|
|
|
3206
3907
|
importExistingDialogTitle: importExistingDialogTitle$3,
|
|
3207
3908
|
importExistingError: importExistingError$3,
|
|
3208
3909
|
importExistingFieldsLabel: importExistingFieldsLabel$3,
|
|
3209
|
-
|
|
3210
|
-
importExistingResultsTitle: importExistingResultsTitle$3,
|
|
3211
|
-
importExistingSearchPlaceholder: importExistingSearchPlaceholder$3,
|
|
3910
|
+
importExistingPagesTitle: importExistingPagesTitle$3,
|
|
3212
3911
|
importExistingSuccess: importExistingSuccess$3,
|
|
3213
3912
|
importExistingTitle: importExistingTitle$3,
|
|
3913
|
+
interactionLayerOff: interactionLayerOff$3,
|
|
3914
|
+
interactionLayersOn: interactionLayersOn$3,
|
|
3214
3915
|
libraryAdd: libraryAdd$3,
|
|
3215
3916
|
libraryAddDescription: libraryAddDescription$3,
|
|
3216
3917
|
libraryAddFromLibrary: libraryAddFromLibrary$3,
|
|
@@ -3228,8 +3929,6 @@ const de = {
|
|
|
3228
3929
|
libraryPlaceDialogLead: libraryPlaceDialogLead$3,
|
|
3229
3930
|
libraryPlaceDialogSubmit: libraryPlaceDialogSubmit$3,
|
|
3230
3931
|
libraryPlaceDialogTitle: libraryPlaceDialogTitle$3,
|
|
3231
|
-
libraryPlaceSearchInputPlaceholder: libraryPlaceSearchInputPlaceholder$3,
|
|
3232
|
-
libraryPlaceSearchLabel: libraryPlaceSearchLabel$3,
|
|
3233
3932
|
libraryPreviewLabel: libraryPreviewLabel$3,
|
|
3234
3933
|
manageSchedule: manageSchedule$3,
|
|
3235
3934
|
maskHide: maskHide$3,
|
|
@@ -3378,6 +4077,7 @@ const de = {
|
|
|
3378
4077
|
systemRequirementsWebglText: systemRequirementsWebglText$3,
|
|
3379
4078
|
theme: theme$3,
|
|
3380
4079
|
themeTourText: themeTourText$3,
|
|
4080
|
+
toggleInteractionLayers: toggleInteractionLayers$3,
|
|
3381
4081
|
touchBarCancelDragging: touchBarCancelDragging$3,
|
|
3382
4082
|
touchBarFinishSelecting: touchBarFinishSelecting$3,
|
|
3383
4083
|
tourDescription: tourDescription$3,
|
|
@@ -3902,6 +4602,10 @@ const downloadLogsButton$2 = {
|
|
|
3902
4602
|
source: "Download Logs",
|
|
3903
4603
|
translation: ""
|
|
3904
4604
|
};
|
|
4605
|
+
const draggingOverlaySelectBundle$2 = {
|
|
4606
|
+
source: "Select block type to create",
|
|
4607
|
+
translation: ""
|
|
4608
|
+
};
|
|
3905
4609
|
const duplicate$2 = {
|
|
3906
4610
|
source: "Duplicate",
|
|
3907
4611
|
translation: "Dupliquer"
|
|
@@ -4058,6 +4762,14 @@ const feature_assistant_label$2 = {
|
|
|
4058
4762
|
source: "Assistant",
|
|
4059
4763
|
translation: "Assistant"
|
|
4060
4764
|
};
|
|
4765
|
+
const feature_breadcrumbs_description$2 = {
|
|
4766
|
+
source: "Provides a breadcrumb of the selection.",
|
|
4767
|
+
translation: ""
|
|
4768
|
+
};
|
|
4769
|
+
const feature_breadcrumbs_label$2 = {
|
|
4770
|
+
source: "Breadcrumbs",
|
|
4771
|
+
translation: ""
|
|
4772
|
+
};
|
|
4061
4773
|
const feature_clipboard_description$2 = {
|
|
4062
4774
|
source: "Provides clipboard integration to copy/paste existing blocks or paste supported clipboard content like text or images.",
|
|
4063
4775
|
translation: "Fournit l'intégration du presse-papiers pour copier/coller des blocs existants ou coller du contenu pris en charge comme du texte ou des images."
|
|
@@ -4454,17 +5166,9 @@ const importExistingFieldsLabel$2 = {
|
|
|
4454
5166
|
source: "Which content would you like to import?",
|
|
4455
5167
|
translation: "Quel contenu souhaitez-vous importer ?"
|
|
4456
5168
|
};
|
|
4457
|
-
const
|
|
4458
|
-
source: "
|
|
4459
|
-
translation: "
|
|
4460
|
-
};
|
|
4461
|
-
const importExistingResultsTitle$2 = {
|
|
4462
|
-
source: "@count of @total pages",
|
|
4463
|
-
translation: "@count sur @total pages"
|
|
4464
|
-
};
|
|
4465
|
-
const importExistingSearchPlaceholder$2 = {
|
|
4466
|
-
source: "Search pages",
|
|
4467
|
-
translation: "Rechercher des pages"
|
|
5169
|
+
const importExistingPagesTitle$2 = {
|
|
5170
|
+
source: "Select page",
|
|
5171
|
+
translation: ""
|
|
4468
5172
|
};
|
|
4469
5173
|
const importExistingSuccess$2 = {
|
|
4470
5174
|
source: "Content imported successfully.",
|
|
@@ -4474,6 +5178,14 @@ const importExistingTitle$2 = {
|
|
|
4474
5178
|
source: "Import...",
|
|
4475
5179
|
translation: "Importer..."
|
|
4476
5180
|
};
|
|
5181
|
+
const interactionLayerOff$2 = {
|
|
5182
|
+
source: "Show interaction layers",
|
|
5183
|
+
translation: ""
|
|
5184
|
+
};
|
|
5185
|
+
const interactionLayersOn$2 = {
|
|
5186
|
+
source: "Hide interaction layers",
|
|
5187
|
+
translation: ""
|
|
5188
|
+
};
|
|
4477
5189
|
const libraryAdd$2 = {
|
|
4478
5190
|
source: "Add to library...",
|
|
4479
5191
|
translation: "Ajouter à la bibliothèque"
|
|
@@ -4542,14 +5254,6 @@ const libraryPlaceDialogTitle$2 = {
|
|
|
4542
5254
|
source: "Add block from library",
|
|
4543
5255
|
translation: ""
|
|
4544
5256
|
};
|
|
4545
|
-
const libraryPlaceSearchInputPlaceholder$2 = {
|
|
4546
|
-
source: "Search library items",
|
|
4547
|
-
translation: ""
|
|
4548
|
-
};
|
|
4549
|
-
const libraryPlaceSearchLabel$2 = {
|
|
4550
|
-
source: "Filter library items",
|
|
4551
|
-
translation: ""
|
|
4552
|
-
};
|
|
4553
5257
|
const libraryPreviewLabel$2 = {
|
|
4554
5258
|
source: "Preview",
|
|
4555
5259
|
translation: "Aperçu"
|
|
@@ -5062,6 +5766,10 @@ const themeTourText$2 = {
|
|
|
5062
5766
|
source: "Change the colors of the theme and generate a theme file.",
|
|
5063
5767
|
translation: ""
|
|
5064
5768
|
};
|
|
5769
|
+
const toggleInteractionLayers$2 = {
|
|
5770
|
+
source: "Toggle interaction layers",
|
|
5771
|
+
translation: ""
|
|
5772
|
+
};
|
|
5065
5773
|
const touchBarCancelDragging$2 = {
|
|
5066
5774
|
source: "Cancel dragging",
|
|
5067
5775
|
translation: ""
|
|
@@ -5327,6 +6035,7 @@ const fr = {
|
|
|
5327
6035
|
diffStatusEdited: diffStatusEdited$2,
|
|
5328
6036
|
diffStatusUnchanged: diffStatusUnchanged$2,
|
|
5329
6037
|
downloadLogsButton: downloadLogsButton$2,
|
|
6038
|
+
draggingOverlaySelectBundle: draggingOverlaySelectBundle$2,
|
|
5330
6039
|
duplicate: duplicate$2,
|
|
5331
6040
|
duplicateError: duplicateError$2,
|
|
5332
6041
|
edit: edit$2,
|
|
@@ -5390,6 +6099,8 @@ const fr = {
|
|
|
5390
6099
|
source: "Block Scheduler",
|
|
5391
6100
|
translation: ""
|
|
5392
6101
|
},
|
|
6102
|
+
feature_breadcrumbs_description: feature_breadcrumbs_description$2,
|
|
6103
|
+
feature_breadcrumbs_label: feature_breadcrumbs_label$2,
|
|
5393
6104
|
feature_clipboard_description: feature_clipboard_description$2,
|
|
5394
6105
|
feature_clipboard_label: feature_clipboard_label$2,
|
|
5395
6106
|
feature_clipboard_setting_openSidebarOnPaste_description: feature_clipboard_setting_openSidebarOnPaste_description$2,
|
|
@@ -5410,6 +6121,14 @@ const fr = {
|
|
|
5410
6121
|
feature_debug_label: feature_debug_label$2,
|
|
5411
6122
|
feature_delete_description: feature_delete_description$2,
|
|
5412
6123
|
feature_delete_label: feature_delete_label$2,
|
|
6124
|
+
"feature_dev-mode_description": {
|
|
6125
|
+
source: "Feature enabled in development mode.",
|
|
6126
|
+
translation: ""
|
|
6127
|
+
},
|
|
6128
|
+
"feature_dev-mode_label": {
|
|
6129
|
+
source: "Dev Mode",
|
|
6130
|
+
translation: ""
|
|
6131
|
+
},
|
|
5413
6132
|
feature_diff_description: feature_diff_description$2,
|
|
5414
6133
|
feature_diff_label: feature_diff_label$2,
|
|
5415
6134
|
"feature_dragging-overlay_description": {
|
|
@@ -5593,11 +6312,11 @@ const fr = {
|
|
|
5593
6312
|
importExistingDialogTitle: importExistingDialogTitle$2,
|
|
5594
6313
|
importExistingError: importExistingError$2,
|
|
5595
6314
|
importExistingFieldsLabel: importExistingFieldsLabel$2,
|
|
5596
|
-
|
|
5597
|
-
importExistingResultsTitle: importExistingResultsTitle$2,
|
|
5598
|
-
importExistingSearchPlaceholder: importExistingSearchPlaceholder$2,
|
|
6315
|
+
importExistingPagesTitle: importExistingPagesTitle$2,
|
|
5599
6316
|
importExistingSuccess: importExistingSuccess$2,
|
|
5600
6317
|
importExistingTitle: importExistingTitle$2,
|
|
6318
|
+
interactionLayerOff: interactionLayerOff$2,
|
|
6319
|
+
interactionLayersOn: interactionLayersOn$2,
|
|
5601
6320
|
libraryAdd: libraryAdd$2,
|
|
5602
6321
|
libraryAddDescription: libraryAddDescription$2,
|
|
5603
6322
|
libraryAddFromLibrary: libraryAddFromLibrary$2,
|
|
@@ -5615,8 +6334,6 @@ const fr = {
|
|
|
5615
6334
|
libraryPlaceDialogLead: libraryPlaceDialogLead$2,
|
|
5616
6335
|
libraryPlaceDialogSubmit: libraryPlaceDialogSubmit$2,
|
|
5617
6336
|
libraryPlaceDialogTitle: libraryPlaceDialogTitle$2,
|
|
5618
|
-
libraryPlaceSearchInputPlaceholder: libraryPlaceSearchInputPlaceholder$2,
|
|
5619
|
-
libraryPlaceSearchLabel: libraryPlaceSearchLabel$2,
|
|
5620
6337
|
libraryPreviewLabel: libraryPreviewLabel$2,
|
|
5621
6338
|
manageSchedule: manageSchedule$2,
|
|
5622
6339
|
maskHide: maskHide$2,
|
|
@@ -5765,6 +6482,7 @@ const fr = {
|
|
|
5765
6482
|
systemRequirementsWebglText: systemRequirementsWebglText$2,
|
|
5766
6483
|
theme: theme$2,
|
|
5767
6484
|
themeTourText: themeTourText$2,
|
|
6485
|
+
toggleInteractionLayers: toggleInteractionLayers$2,
|
|
5768
6486
|
touchBarCancelDragging: touchBarCancelDragging$2,
|
|
5769
6487
|
touchBarFinishSelecting: touchBarFinishSelecting$2,
|
|
5770
6488
|
tourDescription: tourDescription$2,
|
|
@@ -6289,6 +7007,10 @@ const downloadLogsButton$1 = {
|
|
|
6289
7007
|
source: "Download Logs",
|
|
6290
7008
|
translation: ""
|
|
6291
7009
|
};
|
|
7010
|
+
const draggingOverlaySelectBundle$1 = {
|
|
7011
|
+
source: "Select block type to create",
|
|
7012
|
+
translation: ""
|
|
7013
|
+
};
|
|
6292
7014
|
const duplicate$1 = {
|
|
6293
7015
|
source: "Duplicate",
|
|
6294
7016
|
translation: "Duplica"
|
|
@@ -6445,6 +7167,14 @@ const feature_assistant_label$1 = {
|
|
|
6445
7167
|
source: "Assistant",
|
|
6446
7168
|
translation: "Assistente"
|
|
6447
7169
|
};
|
|
7170
|
+
const feature_breadcrumbs_description$1 = {
|
|
7171
|
+
source: "Provides a breadcrumb of the selection.",
|
|
7172
|
+
translation: ""
|
|
7173
|
+
};
|
|
7174
|
+
const feature_breadcrumbs_label$1 = {
|
|
7175
|
+
source: "Breadcrumbs",
|
|
7176
|
+
translation: ""
|
|
7177
|
+
};
|
|
6448
7178
|
const feature_clipboard_description$1 = {
|
|
6449
7179
|
source: "Provides clipboard integration to copy/paste existing blocks or paste supported clipboard content like text or images.",
|
|
6450
7180
|
translation: "Fornisce l'integrazione degli appunti per copiare/incollare blocchi esistenti o incollare contenuti supportati come testo o immagini."
|
|
@@ -6841,17 +7571,9 @@ const importExistingFieldsLabel$1 = {
|
|
|
6841
7571
|
source: "Which content would you like to import?",
|
|
6842
7572
|
translation: "Quali contenuti vuoi importare?"
|
|
6843
7573
|
};
|
|
6844
|
-
const
|
|
6845
|
-
source: "
|
|
6846
|
-
translation: "
|
|
6847
|
-
};
|
|
6848
|
-
const importExistingResultsTitle$1 = {
|
|
6849
|
-
source: "@count of @total pages",
|
|
6850
|
-
translation: "@count di @total pagine"
|
|
6851
|
-
};
|
|
6852
|
-
const importExistingSearchPlaceholder$1 = {
|
|
6853
|
-
source: "Search pages",
|
|
6854
|
-
translation: "Cerca pagine"
|
|
7574
|
+
const importExistingPagesTitle$1 = {
|
|
7575
|
+
source: "Select page",
|
|
7576
|
+
translation: ""
|
|
6855
7577
|
};
|
|
6856
7578
|
const importExistingSuccess$1 = {
|
|
6857
7579
|
source: "Content imported successfully.",
|
|
@@ -6861,6 +7583,14 @@ const importExistingTitle$1 = {
|
|
|
6861
7583
|
source: "Import...",
|
|
6862
7584
|
translation: "Importa..."
|
|
6863
7585
|
};
|
|
7586
|
+
const interactionLayerOff$1 = {
|
|
7587
|
+
source: "Show interaction layers",
|
|
7588
|
+
translation: ""
|
|
7589
|
+
};
|
|
7590
|
+
const interactionLayersOn$1 = {
|
|
7591
|
+
source: "Hide interaction layers",
|
|
7592
|
+
translation: ""
|
|
7593
|
+
};
|
|
6864
7594
|
const libraryAdd$1 = {
|
|
6865
7595
|
source: "Add to library...",
|
|
6866
7596
|
translation: "Aggiungi alla biblioteca"
|
|
@@ -6929,14 +7659,6 @@ const libraryPlaceDialogTitle$1 = {
|
|
|
6929
7659
|
source: "Add block from library",
|
|
6930
7660
|
translation: ""
|
|
6931
7661
|
};
|
|
6932
|
-
const libraryPlaceSearchInputPlaceholder$1 = {
|
|
6933
|
-
source: "Search library items",
|
|
6934
|
-
translation: ""
|
|
6935
|
-
};
|
|
6936
|
-
const libraryPlaceSearchLabel$1 = {
|
|
6937
|
-
source: "Filter library items",
|
|
6938
|
-
translation: ""
|
|
6939
|
-
};
|
|
6940
7662
|
const libraryPreviewLabel$1 = {
|
|
6941
7663
|
source: "Preview",
|
|
6942
7664
|
translation: "Anteprima"
|
|
@@ -7449,6 +8171,10 @@ const themeTourText$1 = {
|
|
|
7449
8171
|
source: "Change the colors of the theme and generate a theme file.",
|
|
7450
8172
|
translation: ""
|
|
7451
8173
|
};
|
|
8174
|
+
const toggleInteractionLayers$1 = {
|
|
8175
|
+
source: "Toggle interaction layers",
|
|
8176
|
+
translation: ""
|
|
8177
|
+
};
|
|
7452
8178
|
const touchBarCancelDragging$1 = {
|
|
7453
8179
|
source: "Cancel dragging",
|
|
7454
8180
|
translation: ""
|
|
@@ -7714,6 +8440,7 @@ const it = {
|
|
|
7714
8440
|
diffStatusEdited: diffStatusEdited$1,
|
|
7715
8441
|
diffStatusUnchanged: diffStatusUnchanged$1,
|
|
7716
8442
|
downloadLogsButton: downloadLogsButton$1,
|
|
8443
|
+
draggingOverlaySelectBundle: draggingOverlaySelectBundle$1,
|
|
7717
8444
|
duplicate: duplicate$1,
|
|
7718
8445
|
duplicateError: duplicateError$1,
|
|
7719
8446
|
edit: edit$1,
|
|
@@ -7777,6 +8504,8 @@ const it = {
|
|
|
7777
8504
|
source: "Block Scheduler",
|
|
7778
8505
|
translation: ""
|
|
7779
8506
|
},
|
|
8507
|
+
feature_breadcrumbs_description: feature_breadcrumbs_description$1,
|
|
8508
|
+
feature_breadcrumbs_label: feature_breadcrumbs_label$1,
|
|
7780
8509
|
feature_clipboard_description: feature_clipboard_description$1,
|
|
7781
8510
|
feature_clipboard_label: feature_clipboard_label$1,
|
|
7782
8511
|
feature_clipboard_setting_openSidebarOnPaste_description: feature_clipboard_setting_openSidebarOnPaste_description$1,
|
|
@@ -7797,6 +8526,14 @@ const it = {
|
|
|
7797
8526
|
feature_debug_label: feature_debug_label$1,
|
|
7798
8527
|
feature_delete_description: feature_delete_description$1,
|
|
7799
8528
|
feature_delete_label: feature_delete_label$1,
|
|
8529
|
+
"feature_dev-mode_description": {
|
|
8530
|
+
source: "Feature enabled in development mode.",
|
|
8531
|
+
translation: ""
|
|
8532
|
+
},
|
|
8533
|
+
"feature_dev-mode_label": {
|
|
8534
|
+
source: "Dev Mode",
|
|
8535
|
+
translation: ""
|
|
8536
|
+
},
|
|
7800
8537
|
feature_diff_description: feature_diff_description$1,
|
|
7801
8538
|
feature_diff_label: feature_diff_label$1,
|
|
7802
8539
|
"feature_dragging-overlay_description": {
|
|
@@ -7980,11 +8717,11 @@ const it = {
|
|
|
7980
8717
|
importExistingDialogTitle: importExistingDialogTitle$1,
|
|
7981
8718
|
importExistingError: importExistingError$1,
|
|
7982
8719
|
importExistingFieldsLabel: importExistingFieldsLabel$1,
|
|
7983
|
-
|
|
7984
|
-
importExistingResultsTitle: importExistingResultsTitle$1,
|
|
7985
|
-
importExistingSearchPlaceholder: importExistingSearchPlaceholder$1,
|
|
8720
|
+
importExistingPagesTitle: importExistingPagesTitle$1,
|
|
7986
8721
|
importExistingSuccess: importExistingSuccess$1,
|
|
7987
8722
|
importExistingTitle: importExistingTitle$1,
|
|
8723
|
+
interactionLayerOff: interactionLayerOff$1,
|
|
8724
|
+
interactionLayersOn: interactionLayersOn$1,
|
|
7988
8725
|
libraryAdd: libraryAdd$1,
|
|
7989
8726
|
libraryAddDescription: libraryAddDescription$1,
|
|
7990
8727
|
libraryAddFromLibrary: libraryAddFromLibrary$1,
|
|
@@ -8002,8 +8739,6 @@ const it = {
|
|
|
8002
8739
|
libraryPlaceDialogLead: libraryPlaceDialogLead$1,
|
|
8003
8740
|
libraryPlaceDialogSubmit: libraryPlaceDialogSubmit$1,
|
|
8004
8741
|
libraryPlaceDialogTitle: libraryPlaceDialogTitle$1,
|
|
8005
|
-
libraryPlaceSearchInputPlaceholder: libraryPlaceSearchInputPlaceholder$1,
|
|
8006
|
-
libraryPlaceSearchLabel: libraryPlaceSearchLabel$1,
|
|
8007
8742
|
libraryPreviewLabel: libraryPreviewLabel$1,
|
|
8008
8743
|
manageSchedule: manageSchedule$1,
|
|
8009
8744
|
maskHide: maskHide$1,
|
|
@@ -8152,6 +8887,7 @@ const it = {
|
|
|
8152
8887
|
systemRequirementsWebglText: systemRequirementsWebglText$1,
|
|
8153
8888
|
theme: theme$1,
|
|
8154
8889
|
themeTourText: themeTourText$1,
|
|
8890
|
+
toggleInteractionLayers: toggleInteractionLayers$1,
|
|
8155
8891
|
touchBarCancelDragging: touchBarCancelDragging$1,
|
|
8156
8892
|
touchBarFinishSelecting: touchBarFinishSelecting$1,
|
|
8157
8893
|
tourDescription: tourDescription$1,
|
|
@@ -8676,6 +9412,10 @@ const downloadLogsButton = {
|
|
|
8676
9412
|
source: "Download Logs",
|
|
8677
9413
|
translation: ""
|
|
8678
9414
|
};
|
|
9415
|
+
const draggingOverlaySelectBundle = {
|
|
9416
|
+
source: "Select block type to create",
|
|
9417
|
+
translation: ""
|
|
9418
|
+
};
|
|
8679
9419
|
const duplicate = {
|
|
8680
9420
|
source: "Duplicate",
|
|
8681
9421
|
translation: "Dupliziere"
|
|
@@ -8832,6 +9572,14 @@ const feature_assistant_label = {
|
|
|
8832
9572
|
source: "Assistant",
|
|
8833
9573
|
translation: "Assischtänt"
|
|
8834
9574
|
};
|
|
9575
|
+
const feature_breadcrumbs_description = {
|
|
9576
|
+
source: "Provides a breadcrumb of the selection.",
|
|
9577
|
+
translation: ""
|
|
9578
|
+
};
|
|
9579
|
+
const feature_breadcrumbs_label = {
|
|
9580
|
+
source: "Breadcrumbs",
|
|
9581
|
+
translation: ""
|
|
9582
|
+
};
|
|
8835
9583
|
const feature_clipboard_description = {
|
|
8836
9584
|
source: "Provides clipboard integration to copy/paste existing blocks or paste supported clipboard content like text or images.",
|
|
8837
9585
|
translation: "Stellt Zwüscheablag-Integration bereit zum bestehendi Blöck z'kopiere/iizfüege oder understützti Inhält wie Teggscht oder Bilder iizfüege."
|
|
@@ -9228,17 +9976,9 @@ const importExistingFieldsLabel = {
|
|
|
9228
9976
|
source: "Which content would you like to import?",
|
|
9229
9977
|
translation: "Weli Inhält sölle importiert wärde?"
|
|
9230
9978
|
};
|
|
9231
|
-
const
|
|
9232
|
-
source: "
|
|
9233
|
-
translation: "
|
|
9234
|
-
};
|
|
9235
|
-
const importExistingResultsTitle = {
|
|
9236
|
-
source: "@count of @total pages",
|
|
9237
|
-
translation: "@count vo @total Sitte"
|
|
9238
|
-
};
|
|
9239
|
-
const importExistingSearchPlaceholder = {
|
|
9240
|
-
source: "Search pages",
|
|
9241
|
-
translation: "Sitte durchsueche"
|
|
9979
|
+
const importExistingPagesTitle = {
|
|
9980
|
+
source: "Select page",
|
|
9981
|
+
translation: ""
|
|
9242
9982
|
};
|
|
9243
9983
|
const importExistingSuccess = {
|
|
9244
9984
|
source: "Content imported successfully.",
|
|
@@ -9248,6 +9988,14 @@ const importExistingTitle = {
|
|
|
9248
9988
|
source: "Import...",
|
|
9249
9989
|
translation: "Importiere..."
|
|
9250
9990
|
};
|
|
9991
|
+
const interactionLayerOff = {
|
|
9992
|
+
source: "Show interaction layers",
|
|
9993
|
+
translation: ""
|
|
9994
|
+
};
|
|
9995
|
+
const interactionLayersOn = {
|
|
9996
|
+
source: "Hide interaction layers",
|
|
9997
|
+
translation: ""
|
|
9998
|
+
};
|
|
9251
9999
|
const libraryAdd = {
|
|
9252
10000
|
source: "Add to library...",
|
|
9253
10001
|
translation: "Zur Bibliothek drzuefüege"
|
|
@@ -9316,14 +10064,6 @@ const libraryPlaceDialogTitle = {
|
|
|
9316
10064
|
source: "Add block from library",
|
|
9317
10065
|
translation: "Block us dr Bibliothek drzuefüege"
|
|
9318
10066
|
};
|
|
9319
|
-
const libraryPlaceSearchInputPlaceholder = {
|
|
9320
|
-
source: "Search library items",
|
|
9321
|
-
translation: "Suchbegriff iigeh"
|
|
9322
|
-
};
|
|
9323
|
-
const libraryPlaceSearchLabel = {
|
|
9324
|
-
source: "Filter library items",
|
|
9325
|
-
translation: "Bibliothek durchsueche"
|
|
9326
|
-
};
|
|
9327
10067
|
const libraryPreviewLabel = {
|
|
9328
10068
|
source: "Preview",
|
|
9329
10069
|
translation: "Vorschau"
|
|
@@ -9836,6 +10576,10 @@ const themeTourText = {
|
|
|
9836
10576
|
source: "Change the colors of the theme and generate a theme file.",
|
|
9837
10577
|
translation: "Änderi d'Farbe vom Theme und generier e Theme-Datei."
|
|
9838
10578
|
};
|
|
10579
|
+
const toggleInteractionLayers = {
|
|
10580
|
+
source: "Toggle interaction layers",
|
|
10581
|
+
translation: ""
|
|
10582
|
+
};
|
|
9839
10583
|
const touchBarCancelDragging = {
|
|
9840
10584
|
source: "Cancel dragging",
|
|
9841
10585
|
translation: "Platziere abbräche"
|
|
@@ -10101,6 +10845,7 @@ const gsw_CH = {
|
|
|
10101
10845
|
diffStatusEdited: diffStatusEdited,
|
|
10102
10846
|
diffStatusUnchanged: diffStatusUnchanged,
|
|
10103
10847
|
downloadLogsButton: downloadLogsButton,
|
|
10848
|
+
draggingOverlaySelectBundle: draggingOverlaySelectBundle,
|
|
10104
10849
|
duplicate: duplicate,
|
|
10105
10850
|
duplicateError: duplicateError,
|
|
10106
10851
|
edit: edit,
|
|
@@ -10164,6 +10909,8 @@ const gsw_CH = {
|
|
|
10164
10909
|
source: "Block Scheduler",
|
|
10165
10910
|
translation: ""
|
|
10166
10911
|
},
|
|
10912
|
+
feature_breadcrumbs_description: feature_breadcrumbs_description,
|
|
10913
|
+
feature_breadcrumbs_label: feature_breadcrumbs_label,
|
|
10167
10914
|
feature_clipboard_description: feature_clipboard_description,
|
|
10168
10915
|
feature_clipboard_label: feature_clipboard_label,
|
|
10169
10916
|
feature_clipboard_setting_openSidebarOnPaste_description: feature_clipboard_setting_openSidebarOnPaste_description,
|
|
@@ -10184,6 +10931,14 @@ const gsw_CH = {
|
|
|
10184
10931
|
feature_debug_label: feature_debug_label,
|
|
10185
10932
|
feature_delete_description: feature_delete_description,
|
|
10186
10933
|
feature_delete_label: feature_delete_label,
|
|
10934
|
+
"feature_dev-mode_description": {
|
|
10935
|
+
source: "Feature enabled in development mode.",
|
|
10936
|
+
translation: ""
|
|
10937
|
+
},
|
|
10938
|
+
"feature_dev-mode_label": {
|
|
10939
|
+
source: "Dev Mode",
|
|
10940
|
+
translation: ""
|
|
10941
|
+
},
|
|
10187
10942
|
feature_diff_description: feature_diff_description,
|
|
10188
10943
|
feature_diff_label: feature_diff_label,
|
|
10189
10944
|
"feature_dragging-overlay_description": {
|
|
@@ -10367,11 +11122,11 @@ const gsw_CH = {
|
|
|
10367
11122
|
importExistingDialogTitle: importExistingDialogTitle,
|
|
10368
11123
|
importExistingError: importExistingError,
|
|
10369
11124
|
importExistingFieldsLabel: importExistingFieldsLabel,
|
|
10370
|
-
|
|
10371
|
-
importExistingResultsTitle: importExistingResultsTitle,
|
|
10372
|
-
importExistingSearchPlaceholder: importExistingSearchPlaceholder,
|
|
11125
|
+
importExistingPagesTitle: importExistingPagesTitle,
|
|
10373
11126
|
importExistingSuccess: importExistingSuccess,
|
|
10374
11127
|
importExistingTitle: importExistingTitle,
|
|
11128
|
+
interactionLayerOff: interactionLayerOff,
|
|
11129
|
+
interactionLayersOn: interactionLayersOn,
|
|
10375
11130
|
libraryAdd: libraryAdd,
|
|
10376
11131
|
libraryAddDescription: libraryAddDescription,
|
|
10377
11132
|
libraryAddFromLibrary: libraryAddFromLibrary,
|
|
@@ -10389,8 +11144,6 @@ const gsw_CH = {
|
|
|
10389
11144
|
libraryPlaceDialogLead: libraryPlaceDialogLead,
|
|
10390
11145
|
libraryPlaceDialogSubmit: libraryPlaceDialogSubmit,
|
|
10391
11146
|
libraryPlaceDialogTitle: libraryPlaceDialogTitle,
|
|
10392
|
-
libraryPlaceSearchInputPlaceholder: libraryPlaceSearchInputPlaceholder,
|
|
10393
|
-
libraryPlaceSearchLabel: libraryPlaceSearchLabel,
|
|
10394
11147
|
libraryPreviewLabel: libraryPreviewLabel,
|
|
10395
11148
|
manageSchedule: manageSchedule,
|
|
10396
11149
|
maskHide: maskHide,
|
|
@@ -10539,6 +11292,7 @@ const gsw_CH = {
|
|
|
10539
11292
|
systemRequirementsWebglText: systemRequirementsWebglText,
|
|
10540
11293
|
theme: theme,
|
|
10541
11294
|
themeTourText: themeTourText,
|
|
11295
|
+
toggleInteractionLayers: toggleInteractionLayers,
|
|
10542
11296
|
touchBarCancelDragging: touchBarCancelDragging,
|
|
10543
11297
|
touchBarFinishSelecting: touchBarFinishSelecting,
|
|
10544
11298
|
tourDescription: tourDescription,
|
|
@@ -10622,7 +11376,7 @@ export default adapter
|
|
|
10622
11376
|
|
|
10623
11377
|
const styles = defineFileTemplate("styles.css", (ctx) => {
|
|
10624
11378
|
const cssFilePath = ctx.helper.resolvers.module.resolve(
|
|
10625
|
-
"./runtime/css/output.css"
|
|
11379
|
+
"./runtime/editor/css/output.css"
|
|
10626
11380
|
);
|
|
10627
11381
|
return `
|
|
10628
11382
|
@import url("${cssFilePath}");
|
|
@@ -10631,6 +11385,45 @@ ${ctx.theme.css}
|
|
|
10631
11385
|
`;
|
|
10632
11386
|
});
|
|
10633
11387
|
|
|
11388
|
+
function mapVars(ctx) {
|
|
11389
|
+
return {
|
|
11390
|
+
itemEntityType: JSON.stringify(
|
|
11391
|
+
ctx.helper.options.itemEntityType ?? "block"
|
|
11392
|
+
),
|
|
11393
|
+
fromLibraryBlockBundle: JSON.stringify(
|
|
11394
|
+
ctx.helper.options.fromLibraryBlockBundle ?? "from_library"
|
|
11395
|
+
),
|
|
11396
|
+
fragmentBlockBundle: JSON.stringify(
|
|
11397
|
+
ctx.helper.options.fragmentBlockBundle ?? "blokkli_fragment"
|
|
11398
|
+
)
|
|
11399
|
+
};
|
|
11400
|
+
}
|
|
11401
|
+
const config = defineCodeTemplate(
|
|
11402
|
+
"config",
|
|
11403
|
+
(ctx) => {
|
|
11404
|
+
const vars = mapVars(ctx);
|
|
11405
|
+
return `
|
|
11406
|
+
export const itemEntityType = ${vars.itemEntityType}
|
|
11407
|
+
|
|
11408
|
+
export const fromLibraryBlockBundle = ${vars.fromLibraryBlockBundle}
|
|
11409
|
+
|
|
11410
|
+
export const fragmentBlockBundle = ${vars.fragmentBlockBundle}
|
|
11411
|
+
`;
|
|
11412
|
+
},
|
|
11413
|
+
(ctx) => {
|
|
11414
|
+
const vars = mapVars(ctx);
|
|
11415
|
+
return `
|
|
11416
|
+
/**
|
|
11417
|
+
* The block item entity type.
|
|
11418
|
+
*/
|
|
11419
|
+
export declare const itemEntityType: ${vars.itemEntityType}
|
|
11420
|
+
|
|
11421
|
+
export declare const fromLibraryBlockBundle: ${vars.fromLibraryBlockBundle}
|
|
11422
|
+
export declare const fragmentBlockBundle: ${vars.fragmentBlockBundle}
|
|
11423
|
+
`;
|
|
11424
|
+
}
|
|
11425
|
+
);
|
|
11426
|
+
|
|
10634
11427
|
const accent$3 = {
|
|
10635
11428
|
"50": [
|
|
10636
11429
|
237,
|
|
@@ -11435,8 +12228,8 @@ const getTheme = (v) => {
|
|
|
11435
12228
|
return v || {};
|
|
11436
12229
|
};
|
|
11437
12230
|
|
|
11438
|
-
const
|
|
11439
|
-
"config",
|
|
12231
|
+
const editorConfig = defineCodeTemplate(
|
|
12232
|
+
"editor-config",
|
|
11440
12233
|
(ctx) => {
|
|
11441
12234
|
const settingsOverride = ctx.helper.options.settingsOverride || {};
|
|
11442
12235
|
return `
|
|
@@ -11459,10 +12252,6 @@ export const defaultLanguage = ${JSON.stringify(
|
|
|
11459
12252
|
export const forceDefaultLanguage = ${JSON.stringify(
|
|
11460
12253
|
!!ctx.helper.options.forceDefaultLanguage
|
|
11461
12254
|
)}
|
|
11462
|
-
|
|
11463
|
-
export const itemEntityType = ${JSON.stringify(
|
|
11464
|
-
ctx.helper.options.itemEntityType || "block"
|
|
11465
|
-
)}
|
|
11466
12255
|
`;
|
|
11467
12256
|
},
|
|
11468
12257
|
(ctx) => {
|
|
@@ -11509,15 +12298,34 @@ export declare const defaultLanguage: string
|
|
|
11509
12298
|
* Whether to always force the default language, even on translation pages.
|
|
11510
12299
|
*/
|
|
11511
12300
|
export declare const forceDefaultLanguage: boolean
|
|
11512
|
-
|
|
11513
|
-
/**
|
|
11514
|
-
* The block item entity type.
|
|
11515
|
-
*/
|
|
11516
|
-
export declare const itemEntityType: string
|
|
11517
12301
|
`;
|
|
11518
12302
|
}
|
|
11519
12303
|
);
|
|
11520
12304
|
|
|
12305
|
+
function transformGlobalOptionsForType(globalOptions) {
|
|
12306
|
+
const result = {};
|
|
12307
|
+
for (const [key, option] of Object.entries(globalOptions)) {
|
|
12308
|
+
const entry = { type: option.type };
|
|
12309
|
+
if (option.type === "radios" || option.type === "checkboxes") {
|
|
12310
|
+
if (option.options && Object.keys(option.options).length > 0) {
|
|
12311
|
+
entry.options = Object.fromEntries(
|
|
12312
|
+
Object.keys(option.options).map((k) => [k, null])
|
|
12313
|
+
);
|
|
12314
|
+
} else {
|
|
12315
|
+
entry.options = "__RECORD_STRING_UNKNOWN__";
|
|
12316
|
+
}
|
|
12317
|
+
}
|
|
12318
|
+
result[key] = entry;
|
|
12319
|
+
}
|
|
12320
|
+
return result;
|
|
12321
|
+
}
|
|
12322
|
+
function generateGlobalOptionsType(globalOptions) {
|
|
12323
|
+
const transformed = transformGlobalOptionsForType(globalOptions);
|
|
12324
|
+
return toTypeLiteral(transformed).replaceAll(
|
|
12325
|
+
'"__RECORD_STRING_UNKNOWN__"',
|
|
12326
|
+
"Record<string, unknown>"
|
|
12327
|
+
);
|
|
12328
|
+
}
|
|
11521
12329
|
const definitions = defineCodeTemplate(
|
|
11522
12330
|
"definitions",
|
|
11523
12331
|
(ctx) => {
|
|
@@ -11595,8 +12403,8 @@ export default definitions
|
|
|
11595
12403
|
fragmentNames.push(`'${file.definition.name}'`);
|
|
11596
12404
|
}
|
|
11597
12405
|
return `
|
|
11598
|
-
import type { GlobalOptionsKey
|
|
11599
|
-
import type { BlockDefinitionInput, BlockDefinitionOptionsInput, FragmentDefinitionInput, ProviderDefinitionInput } from '${ctx.helper.relativePaths.
|
|
12406
|
+
import type { GlobalOptionsKey } from '#blokkli-build/generated-types'
|
|
12407
|
+
import type { BlockDefinitionInput, BlockDefinitionOptionsInput, FragmentDefinitionInput, ProviderDefinitionInput } from '${ctx.helper.relativePaths.TYPES_DEFINITIONS}'
|
|
11600
12408
|
|
|
11601
12409
|
export type BlockDefinition = BlockDefinitionInput<BlockDefinitionOptionsInput, GlobalOptionsKey[]>
|
|
11602
12410
|
export type FragmentDefinition = FragmentDefinitionInput<Record<string, any>, GlobalOptionsKey[]>
|
|
@@ -11604,9 +12412,7 @@ export type ProviderDefinition = ProviderDefinitionInput<Record<string, any>, Gl
|
|
|
11604
12412
|
|
|
11605
12413
|
export type BlokkliFragmentName = ${fragmentNames.join(" | ") || "never"}
|
|
11606
12414
|
|
|
11607
|
-
|
|
11608
|
-
|
|
11609
|
-
export type GlobalOptionsType = typeof globalOptions
|
|
12415
|
+
export type GlobalOptionsType = ${generateGlobalOptionsType(ctx.helper.options.globalOptions || {})}
|
|
11610
12416
|
|
|
11611
12417
|
export type Definitions = {
|
|
11612
12418
|
blocks: BlockDefinition[]
|
|
@@ -11617,7 +12423,7 @@ export type Definitions = {
|
|
|
11617
12423
|
renderKey: string
|
|
11618
12424
|
}
|
|
11619
12425
|
|
|
11620
|
-
const definitions: Definitions
|
|
12426
|
+
declare const definitions: Definitions
|
|
11621
12427
|
|
|
11622
12428
|
export default definitions
|
|
11623
12429
|
`;
|
|
@@ -11872,8 +12678,10 @@ const generatedTypes = defineCodeTemplate(
|
|
|
11872
12678
|
return `export {}`;
|
|
11873
12679
|
},
|
|
11874
12680
|
(ctx) => {
|
|
12681
|
+
const fromLibraryBlockBundle = ctx.helper.options.fromLibraryBlockBundle;
|
|
12682
|
+
const fragmentBlockBundle = ctx.helper.options.fragmentBlockBundle;
|
|
11875
12683
|
const mappedGetBundlePropsType = (bundle, file) => {
|
|
11876
|
-
if (bundle ===
|
|
12684
|
+
if (bundle === fromLibraryBlockBundle || bundle === fragmentBlockBundle) {
|
|
11877
12685
|
return {
|
|
11878
12686
|
typeName: "Props",
|
|
11879
12687
|
from: file.filePath
|
|
@@ -11899,7 +12707,7 @@ const generatedTypes = defineCodeTemplate(
|
|
|
11899
12707
|
if (file.hasBlokkliField) {
|
|
11900
12708
|
blockBundlesWithNested.push(file.definition.bundle);
|
|
11901
12709
|
}
|
|
11902
|
-
if (file.definition.bundle !==
|
|
12710
|
+
if (file.definition.bundle !== ctx.helper.options.fromLibraryBlockBundle && !validBlockBundles.includes(file.definition.bundle)) {
|
|
11903
12711
|
validBlockBundles.push(file.definition.bundle);
|
|
11904
12712
|
}
|
|
11905
12713
|
if (!file.definition.renderFor) {
|
|
@@ -12188,7 +12996,9 @@ const chunkEditing = defineCodeTemplate(
|
|
|
12188
12996
|
if (!fs.existsSync(file.filePath)) {
|
|
12189
12997
|
continue;
|
|
12190
12998
|
}
|
|
12191
|
-
imports.push(
|
|
12999
|
+
imports.push(
|
|
13000
|
+
`import ${file.identifier} from '${file.filePath}?blokkliEditing=true'`
|
|
13001
|
+
);
|
|
12192
13002
|
file.variations.forEach((variation) => {
|
|
12193
13003
|
map.set(variation, file.identifier);
|
|
12194
13004
|
});
|
|
@@ -12216,6 +13026,24 @@ export declare const allComponents: Record<string, Component>
|
|
|
12216
13026
|
}
|
|
12217
13027
|
);
|
|
12218
13028
|
|
|
13029
|
+
const importMeta = defineFileTemplate("import-meta.d.ts", () => {
|
|
13030
|
+
return `declare global {
|
|
13031
|
+
interface ImportMeta {
|
|
13032
|
+
/**
|
|
13033
|
+
* Whether this block or fragment component is rendered in the editor
|
|
13034
|
+
* bundle.
|
|
13035
|
+
*
|
|
13036
|
+
* This may ONLY used in components that contain "defineBlokkli" or "defineBlokkliFragment".
|
|
13037
|
+
* It will always resolve to "false" if used in any other component.
|
|
13038
|
+
*/
|
|
13039
|
+
readonly blokkliEditing: boolean
|
|
13040
|
+
}
|
|
13041
|
+
}
|
|
13042
|
+
|
|
13043
|
+
export {}
|
|
13044
|
+
`;
|
|
13045
|
+
});
|
|
13046
|
+
|
|
12219
13047
|
const TEMPLATES = [
|
|
12220
13048
|
icons,
|
|
12221
13049
|
features,
|
|
@@ -12224,6 +13052,7 @@ const TEMPLATES = [
|
|
|
12224
13052
|
editAdapter,
|
|
12225
13053
|
styles,
|
|
12226
13054
|
config,
|
|
13055
|
+
editorConfig,
|
|
12227
13056
|
definitions,
|
|
12228
13057
|
moduleTypes,
|
|
12229
13058
|
runtimeOptions,
|
|
@@ -12233,7 +13062,8 @@ const TEMPLATES = [
|
|
|
12233
13062
|
imports,
|
|
12234
13063
|
optionsSchema,
|
|
12235
13064
|
chunkGroup,
|
|
12236
|
-
chunkEditing
|
|
13065
|
+
chunkEditing,
|
|
13066
|
+
importMeta
|
|
12237
13067
|
];
|
|
12238
13068
|
|
|
12239
13069
|
class CollectedFeatureFile extends CollectedFile {
|
|
@@ -12256,9 +13086,7 @@ class CollectedFeatureFile extends CollectedFile {
|
|
|
12256
13086
|
return false;
|
|
12257
13087
|
}
|
|
12258
13088
|
try {
|
|
12259
|
-
const { object: definition, source } = parseTsObject(
|
|
12260
|
-
this.objectLiteral
|
|
12261
|
-
);
|
|
13089
|
+
const { object: definition, source } = parseTsObject(this.objectLiteral);
|
|
12262
13090
|
const regex = /\/Features\/([^/]+)\//;
|
|
12263
13091
|
const componentName = this.filePath.match(regex)?.[1] || "";
|
|
12264
13092
|
this.definition = {
|
|
@@ -12293,11 +13121,16 @@ class FeatureCollector extends Collector {
|
|
|
12293
13121
|
constructor(helper) {
|
|
12294
13122
|
super(helper);
|
|
12295
13123
|
this.srcFromModule = helper.resolvers.module.resolve(
|
|
12296
|
-
"./runtime/
|
|
13124
|
+
"./runtime/editor/features"
|
|
12297
13125
|
);
|
|
12298
13126
|
}
|
|
12299
13127
|
getEnabledFeatures() {
|
|
12300
|
-
return [...this.files.values()].filter((v) => v.isEnabled()).map((v) => v.getDefinition()).filter(falsy).filter((v) => !this.disabledFeatures.has(v.id))
|
|
13128
|
+
return [...this.files.values()].filter((v) => v.isEnabled()).map((v) => v.getDefinition()).filter(falsy).filter((v) => !this.disabledFeatures.has(v.id)).filter((v) => {
|
|
13129
|
+
if (!this.helper.isDev && v.id === "dev-mode") {
|
|
13130
|
+
return false;
|
|
13131
|
+
}
|
|
13132
|
+
return true;
|
|
13133
|
+
});
|
|
12301
13134
|
}
|
|
12302
13135
|
async init() {
|
|
12303
13136
|
const builtinFeatures = await resolveFiles(
|
|
@@ -12408,7 +13241,8 @@ class ThemeData {
|
|
|
12408
13241
|
}
|
|
12409
13242
|
}
|
|
12410
13243
|
|
|
12411
|
-
const
|
|
13244
|
+
const logger = useLogger("@blokkli/editor");
|
|
13245
|
+
const module$1 = defineNuxtModule({
|
|
12412
13246
|
meta: {
|
|
12413
13247
|
name,
|
|
12414
13248
|
configKey: "blokkli",
|
|
@@ -12433,7 +13267,9 @@ const module = defineNuxtModule({
|
|
|
12433
13267
|
default: false
|
|
12434
13268
|
}
|
|
12435
13269
|
},
|
|
12436
|
-
chunkNames: ["global"]
|
|
13270
|
+
chunkNames: ["global"],
|
|
13271
|
+
fromLibraryBlockBundle: "from_library",
|
|
13272
|
+
fragmentBlockBundle: "blokkli_fragment"
|
|
12437
13273
|
},
|
|
12438
13274
|
async setup(moduleOptions, nuxt) {
|
|
12439
13275
|
const blokkliModules = moduleOptions.modules || [];
|
|
@@ -12442,7 +13278,12 @@ const module = defineNuxtModule({
|
|
|
12442
13278
|
module.init.alterOptions(moduleOptions);
|
|
12443
13279
|
}
|
|
12444
13280
|
}
|
|
12445
|
-
const helper = new ModuleHelper(
|
|
13281
|
+
const helper = new ModuleHelper(
|
|
13282
|
+
nuxt,
|
|
13283
|
+
logger,
|
|
13284
|
+
import.meta.url,
|
|
13285
|
+
moduleOptions
|
|
13286
|
+
);
|
|
12446
13287
|
const theme = new ThemeData(helper);
|
|
12447
13288
|
const iconCollector = new IconCollector(helper);
|
|
12448
13289
|
const featureCollector = new FeatureCollector(helper);
|
|
@@ -12454,6 +13295,10 @@ const module = defineNuxtModule({
|
|
|
12454
13295
|
];
|
|
12455
13296
|
await Promise.all(collectors.map((v) => v.init()));
|
|
12456
13297
|
await Promise.all(collectors.map((v) => v.runHooks()));
|
|
13298
|
+
const hasErrors = collectors.flatMap((v) => v.validate()).some((v) => v);
|
|
13299
|
+
if (!helper.isDev && hasErrors) {
|
|
13300
|
+
throw new Error("Failed to build bl\xF6kkli due to validation errors.");
|
|
13301
|
+
}
|
|
12457
13302
|
const context = new ModuleContext(
|
|
12458
13303
|
helper,
|
|
12459
13304
|
iconCollector,
|
|
@@ -12483,10 +13328,6 @@ const module = defineNuxtModule({
|
|
|
12483
13328
|
helper.addAlias("#blokkli-build", helper.paths.blokkliBuildDir);
|
|
12484
13329
|
const moduleDir = import.meta.url;
|
|
12485
13330
|
const resolver = createResolver(moduleDir);
|
|
12486
|
-
nuxt.options.runtimeConfig.public.blokkli = {
|
|
12487
|
-
itemEntityType: moduleOptions.itemEntityType || "",
|
|
12488
|
-
defaultLanguage: moduleOptions.defaultLanguage || "en"
|
|
12489
|
-
};
|
|
12490
13331
|
nuxt.options.build.transpile.push(resolver.resolve("runtime"));
|
|
12491
13332
|
helper.addComponent("BlokkliField");
|
|
12492
13333
|
helper.addComponent("BlokkliEditable");
|
|
@@ -12500,21 +13341,13 @@ const module = defineNuxtModule({
|
|
|
12500
13341
|
helper.addComposable("useBlokkliHelper");
|
|
12501
13342
|
helper.addAlias(
|
|
12502
13343
|
"#blokkli/analyzer",
|
|
12503
|
-
resolver.resolve("runtime/
|
|
13344
|
+
resolver.resolve("runtime/editor/features/analyze/analyzers")
|
|
12504
13345
|
);
|
|
12505
13346
|
helper.addAlias("#blokkli-build", helper.paths.blokkliBuildDir);
|
|
12506
13347
|
helper.addAlias("#blokkli/types", resolver.resolve("runtime/types"));
|
|
12507
13348
|
helper.addAlias("#blokkli/constants", resolver.resolve("runtime/constants"));
|
|
12508
|
-
helper.addAlias(
|
|
12509
|
-
"#blokkli/plugins",
|
|
12510
|
-
resolver.resolve("runtime/blokkliPlugins")
|
|
12511
|
-
);
|
|
12512
|
-
helper.addAlias(
|
|
12513
|
-
"#blokkli/components",
|
|
12514
|
-
resolver.resolve("runtime/components/Edit")
|
|
12515
|
-
);
|
|
13349
|
+
helper.addAlias("#blokkli/editor", resolver.resolve("runtime/editor"));
|
|
12516
13350
|
helper.addAlias("#blokkli/helpers", resolver.resolve("runtime/helpers"));
|
|
12517
|
-
helper.addAlias("#blokkli/adapter", resolver.resolve("runtime/adapter"));
|
|
12518
13351
|
helper.addAlias(
|
|
12519
13352
|
"#blokkli/runtime-helpers",
|
|
12520
13353
|
resolver.resolve("runtime/helpers/runtimeHelpers")
|
|
@@ -12530,9 +13363,14 @@ const module = defineNuxtModule({
|
|
|
12530
13363
|
addPlugin({
|
|
12531
13364
|
src: resolver.resolve("runtime/plugins/blokkliDirectives")
|
|
12532
13365
|
});
|
|
12533
|
-
addBuildPlugin(RuntimeDefinitionPlugin(nuxt, "defineBlokkli"));
|
|
12534
|
-
addBuildPlugin(
|
|
12535
|
-
|
|
13366
|
+
addBuildPlugin(RuntimeDefinitionPlugin(nuxt, helper, "defineBlokkli"));
|
|
13367
|
+
addBuildPlugin(
|
|
13368
|
+
RuntimeDefinitionPlugin(nuxt, helper, "defineBlokkliFragment")
|
|
13369
|
+
);
|
|
13370
|
+
addBuildPlugin(
|
|
13371
|
+
RuntimeDefinitionPlugin(nuxt, helper, "defineBlokkliProvider", 1)
|
|
13372
|
+
);
|
|
13373
|
+
addBuildPlugin(BlokkliEditingPlugin(nuxt));
|
|
12536
13374
|
if (nuxt.options.dev) {
|
|
12537
13375
|
nuxt.hook("builder:watch", async (event, providedFilePath) => {
|
|
12538
13376
|
const filePath = providedFilePath.startsWith("/") ? providedFilePath : helper.resolvers.src.resolve(providedFilePath);
|
|
@@ -12541,6 +13379,7 @@ const module = defineNuxtModule({
|
|
|
12541
13379
|
for (const collector of collectors) {
|
|
12542
13380
|
const result = await collector.handleWatchEvent(event, filePath);
|
|
12543
13381
|
if (result.hasChanged) {
|
|
13382
|
+
collector.validate();
|
|
12544
13383
|
dependenciesToUpdate.push(...collector.getDependencyTypes());
|
|
12545
13384
|
}
|
|
12546
13385
|
}
|
|
@@ -12552,4 +13391,4 @@ const module = defineNuxtModule({
|
|
|
12552
13391
|
}
|
|
12553
13392
|
});
|
|
12554
13393
|
|
|
12555
|
-
export { module as default };
|
|
13394
|
+
export { module$1 as default };
|