@blokkli/editor 2.0.0-alpha.28 → 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 +1 -1
- 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/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/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/useBlockRegistration.js +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
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { BlokkliClipboardItem } from '../types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
items: BlokkliClipboardItem[];
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
remove: (index: number) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onRemove?: ((index: number) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<Sortli class="bk-clipboard-list" :build-item>
|
|
3
|
+
<div
|
|
4
|
+
v-for="(item, index) in items"
|
|
5
|
+
:key="index + item.data + renderKey"
|
|
6
|
+
class="bk-parent bk-sidebar-padding bk-clipboard-list-item"
|
|
7
|
+
:data-sortli-id="index"
|
|
8
|
+
>
|
|
9
|
+
<div class="bk-clipboard-item">
|
|
10
|
+
<div class="bk bk-clipboard-item-header">
|
|
11
|
+
<div class="bk-blokkli-item-label">
|
|
12
|
+
<div class="bk-blokkli-item-label-icon">
|
|
13
|
+
<ItemIcon :bundle="item.itemBundle" />
|
|
14
|
+
</div>
|
|
15
|
+
<span>{{ getLabel(item.itemBundle) }}</span>
|
|
16
|
+
</div>
|
|
17
|
+
<button @click.prevent.stop.capture="$emit('remove', index)">
|
|
18
|
+
<Icon name="bk_mdi_delete" />
|
|
19
|
+
</button>
|
|
20
|
+
</div>
|
|
21
|
+
<div>
|
|
22
|
+
<div
|
|
23
|
+
v-if="item.type === 'text'"
|
|
24
|
+
class="bk-clipboard-item-inner"
|
|
25
|
+
v-html="item.data"
|
|
26
|
+
/>
|
|
27
|
+
<ClipboardItemVideo v-if="item.type === 'video'" v-bind="item" />
|
|
28
|
+
<div
|
|
29
|
+
v-else-if="item.type === 'image'"
|
|
30
|
+
class="bk-clipboard-item-image"
|
|
31
|
+
>
|
|
32
|
+
<img :src="item.data" />
|
|
33
|
+
</div>
|
|
34
|
+
<ClipboardItemFile v-else-if="item.type === 'file'" v-bind="item" />
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</Sortli>
|
|
39
|
+
</template>
|
|
40
|
+
|
|
41
|
+
<script setup>
|
|
42
|
+
import { ref, useBlokkli } from "#imports";
|
|
43
|
+
import { ItemIcon, Icon, Sortli } from "#blokkli/editor/components";
|
|
44
|
+
import ClipboardItemVideo from "./Item/Video.vue";
|
|
45
|
+
import ClipboardItemFile from "./Item/File.vue";
|
|
46
|
+
const renderKey = ref(0);
|
|
47
|
+
const props = defineProps({
|
|
48
|
+
items: { type: Array, required: true }
|
|
49
|
+
});
|
|
50
|
+
defineEmits(["remove"]);
|
|
51
|
+
const { types } = useBlokkli();
|
|
52
|
+
function getLabel(bundle) {
|
|
53
|
+
return types.getBlockBundleDefinition(bundle)?.label || bundle;
|
|
54
|
+
}
|
|
55
|
+
function buildItem(element) {
|
|
56
|
+
if (!element.dataset.sortliId) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
const index = Number.parseInt(element.dataset.sortliId);
|
|
60
|
+
const item = props.items[index];
|
|
61
|
+
if (!item) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
itemType: "clipboard",
|
|
66
|
+
element: () => element,
|
|
67
|
+
itemBundle: item.itemBundle,
|
|
68
|
+
additional: item.additional,
|
|
69
|
+
clipboardId: item.id
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
</script>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { BlokkliClipboardItem } from '../types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
items: BlokkliClipboardItem[];
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
remove: (index: number) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onRemove?: ((index: number) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,606 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<PluginSidebar
|
|
3
|
+
v-if="adapter.addBlockFromClipboardItem"
|
|
4
|
+
id="clipboard"
|
|
5
|
+
ref="plugin"
|
|
6
|
+
:title="$t('clipboard', 'Clipboard')"
|
|
7
|
+
:tour-text="
|
|
8
|
+
$t(
|
|
9
|
+
'clipboardTourText',
|
|
10
|
+
'Drag and drop content pasted from your clipboard into the page to create a matching block.'
|
|
11
|
+
)
|
|
12
|
+
"
|
|
13
|
+
edit-only
|
|
14
|
+
icon="bk_mdi_content_paste"
|
|
15
|
+
weight="-30"
|
|
16
|
+
>
|
|
17
|
+
<div class="bk bk-clipboard bk-control">
|
|
18
|
+
<div
|
|
19
|
+
v-if="!pastedItems.length"
|
|
20
|
+
class="bk-clipboard-info bk-sidebar-padding"
|
|
21
|
+
>
|
|
22
|
+
<h4>{{ $t("clipboardEmpty", "No items in the clipboard") }}</h4>
|
|
23
|
+
<div
|
|
24
|
+
v-if="!ui.isMobile.value"
|
|
25
|
+
v-html="
|
|
26
|
+
$t(
|
|
27
|
+
'clipboardExplanation',
|
|
28
|
+
`<p>
|
|
29
|
+
Use Ctrl-V on the page to paste content. These
|
|
30
|
+
will then be displayed here.
|
|
31
|
+
</p>
|
|
32
|
+
<p>
|
|
33
|
+
Use Ctrl-F to search for existing content and paste it into
|
|
34
|
+
the clipboard.
|
|
35
|
+
</p>`
|
|
36
|
+
)
|
|
37
|
+
"
|
|
38
|
+
/>
|
|
39
|
+
</div>
|
|
40
|
+
<ClipboardList
|
|
41
|
+
v-if="pastedItems.length"
|
|
42
|
+
:items="pastedItems"
|
|
43
|
+
@remove="remove"
|
|
44
|
+
/>
|
|
45
|
+
<div class="bk-clipboard-form bk-sidebar-padding">
|
|
46
|
+
<div class="bk-clipboard-input">
|
|
47
|
+
<input
|
|
48
|
+
type="text"
|
|
49
|
+
class="bk-form-input"
|
|
50
|
+
:placeholder="
|
|
51
|
+
$t('clipboardPastePlaceholder', 'Paste text or media here')
|
|
52
|
+
"
|
|
53
|
+
@paste.stop.prevent="onManualPaste"
|
|
54
|
+
@keydown.stop
|
|
55
|
+
/>
|
|
56
|
+
</div>
|
|
57
|
+
<div class="bk-clipboard-upload">
|
|
58
|
+
<input type="file" @change="onFileInput" />
|
|
59
|
+
<div class="bk-button bk-is-primary">
|
|
60
|
+
<Icon name="bk_mdi_upload" />
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</PluginSidebar>
|
|
66
|
+
</template>
|
|
67
|
+
|
|
68
|
+
<script setup>
|
|
69
|
+
import {
|
|
70
|
+
defineBlokkliFeature,
|
|
71
|
+
ref,
|
|
72
|
+
useBlokkli,
|
|
73
|
+
onMounted,
|
|
74
|
+
onUnmounted,
|
|
75
|
+
computed,
|
|
76
|
+
useTemplateRef
|
|
77
|
+
} from "#imports";
|
|
78
|
+
import { PluginSidebar } from "#blokkli/editor/plugins";
|
|
79
|
+
import ClipboardList from "./List/index.vue";
|
|
80
|
+
import { falsy, getFieldKey } from "#blokkli/helpers";
|
|
81
|
+
import { generateUUID } from "#blokkli/editor/helpers/uuid";
|
|
82
|
+
import { Icon } from "#blokkli/editor/components";
|
|
83
|
+
import getVideoId from "get-video-id";
|
|
84
|
+
import { emitMessage } from "#blokkli/editor/events";
|
|
85
|
+
import { fragmentBlockBundle, itemEntityType } from "#blokkli-build/config";
|
|
86
|
+
import { defineItemDropdownAction, defineShortcut, onBlokkliEvent } from "#blokkli/editor/composables";
|
|
87
|
+
const { settings, logger } = defineBlokkliFeature({
|
|
88
|
+
id: "clipboard",
|
|
89
|
+
label: "Clipboard",
|
|
90
|
+
icon: "bk_mdi_content_paste",
|
|
91
|
+
description: "Provides clipboard integration to copy/paste existing blocks or paste supported clipboard content like text or images.",
|
|
92
|
+
settings: {
|
|
93
|
+
openSidebarOnPaste: {
|
|
94
|
+
type: "checkbox",
|
|
95
|
+
default: true,
|
|
96
|
+
label: "Open sidebar when pasting",
|
|
97
|
+
description: "Automatically opens the sidebar when pasting content from the clipboard.",
|
|
98
|
+
group: "behavior"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
screenshot: "feature-clipboard.jpg"
|
|
102
|
+
});
|
|
103
|
+
const { selection, $t, adapter, state, ui, types, keyboard, blocks, fields } = useBlokkli();
|
|
104
|
+
const plugin = useTemplateRef("plugin");
|
|
105
|
+
const selectionClipboard = ref([]);
|
|
106
|
+
const itemDropdownItems = computed(() => {
|
|
107
|
+
return [
|
|
108
|
+
{
|
|
109
|
+
id: "copy",
|
|
110
|
+
label: $t("copy", "Copy"),
|
|
111
|
+
icon: "bk_mdi_content_copy",
|
|
112
|
+
description: $t("clipboardCopyShortcutHelp", "Copy selected blocks")
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
id: "paste",
|
|
116
|
+
label: $t("paste", "Paste"),
|
|
117
|
+
enabled: !!selectionClipboard.value.length,
|
|
118
|
+
icon: "bk_mdi_content_paste",
|
|
119
|
+
description: $t(
|
|
120
|
+
"clipboardPasteDescription",
|
|
121
|
+
"Paste blocks from clipboard"
|
|
122
|
+
)
|
|
123
|
+
}
|
|
124
|
+
];
|
|
125
|
+
});
|
|
126
|
+
function onSelectDropdownItem(item) {
|
|
127
|
+
if (item.id === "copy") {
|
|
128
|
+
copyCurrentSelectionToClipboard();
|
|
129
|
+
} else if (item.id === "paste" && selectionClipboard.value.length) {
|
|
130
|
+
handleSelectionPaste(selectionClipboard.value);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
const ALLOWED_HTML_ATTRIBUTES = ["href"];
|
|
134
|
+
const _MOCK = [
|
|
135
|
+
{
|
|
136
|
+
type: "text",
|
|
137
|
+
id: generateUUID(),
|
|
138
|
+
itemBundle: "text",
|
|
139
|
+
data: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
type: "file",
|
|
143
|
+
id: generateUUID(),
|
|
144
|
+
itemBundle: "image",
|
|
145
|
+
data: "asdfasdf",
|
|
146
|
+
additional: "asdfasdfasdf",
|
|
147
|
+
fileName: "my-little-document.pdf",
|
|
148
|
+
fileSize: 26624,
|
|
149
|
+
fileType: "application/pdf"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
type: "file",
|
|
153
|
+
id: generateUUID(),
|
|
154
|
+
itemBundle: "image",
|
|
155
|
+
data: "asdfasdf",
|
|
156
|
+
additional: "asdfasdfasdf",
|
|
157
|
+
fileName: "my-little-document.pdf",
|
|
158
|
+
fileSize: 36623,
|
|
159
|
+
fileType: "application/pdf"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
type: "video",
|
|
163
|
+
id: generateUUID(),
|
|
164
|
+
itemBundle: "video",
|
|
165
|
+
data: "https://vimeo.com/53520224",
|
|
166
|
+
videoService: "vimeo",
|
|
167
|
+
videoId: "53520224"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
type: "video",
|
|
171
|
+
id: generateUUID(),
|
|
172
|
+
itemBundle: "video",
|
|
173
|
+
data: "https://www.youtube.com/watch?v=zsvYVVRAk0c",
|
|
174
|
+
videoService: "youtube",
|
|
175
|
+
videoId: "zsvYVVRAk0c"
|
|
176
|
+
}
|
|
177
|
+
];
|
|
178
|
+
const pastedItems = ref([]);
|
|
179
|
+
const onFileInput = (e) => {
|
|
180
|
+
e.preventDefault();
|
|
181
|
+
if (e.target instanceof HTMLInputElement) {
|
|
182
|
+
const files = e.target.files;
|
|
183
|
+
if (files) {
|
|
184
|
+
handleFiles(files);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
function removeAllAttrs(element) {
|
|
189
|
+
for (let i = element.attributes.length; i-- > 0; ) {
|
|
190
|
+
const attribute = element.attributes[i];
|
|
191
|
+
if (!ALLOWED_HTML_ATTRIBUTES.includes(attribute.name)) {
|
|
192
|
+
element.removeAttributeNode(attribute);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
function removeAttributes(el) {
|
|
197
|
+
if (el.tagName === "IMG" || el.tagName === "BR") {
|
|
198
|
+
el.remove();
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
const children = el.children;
|
|
202
|
+
for (let i = 0; i < children.length; i++) {
|
|
203
|
+
const child = children[i];
|
|
204
|
+
removeAllAttrs(child);
|
|
205
|
+
if (child.children.length) {
|
|
206
|
+
removeAttributes(child);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
const onManualPaste = (e) => {
|
|
211
|
+
onPaste(e, true);
|
|
212
|
+
};
|
|
213
|
+
function handleFiles(data) {
|
|
214
|
+
if (!FileReader) {
|
|
215
|
+
return;
|
|
216
|
+
}
|
|
217
|
+
const files = data instanceof DataTransfer ? [...data.files] : [...data];
|
|
218
|
+
files.forEach((file) => {
|
|
219
|
+
const fr = new FileReader();
|
|
220
|
+
fr.onload = function() {
|
|
221
|
+
if (!adapter.clipboardMapBundle) {
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
if (typeof fr.result !== "string") {
|
|
225
|
+
return;
|
|
226
|
+
}
|
|
227
|
+
const type = file.type.startsWith("image/") ? "image" : "file";
|
|
228
|
+
const itemBundle = adapter.clipboardMapBundle({
|
|
229
|
+
type,
|
|
230
|
+
fileType: file.type,
|
|
231
|
+
fileSize: file.size
|
|
232
|
+
});
|
|
233
|
+
if (!itemBundle) {
|
|
234
|
+
return;
|
|
235
|
+
}
|
|
236
|
+
pastedItems.value.push({
|
|
237
|
+
type,
|
|
238
|
+
itemBundle,
|
|
239
|
+
id: generateUUID(),
|
|
240
|
+
data: fr.result,
|
|
241
|
+
additional: file.name,
|
|
242
|
+
fileSize: file.size,
|
|
243
|
+
fileType: file.type,
|
|
244
|
+
fileName: file.name
|
|
245
|
+
});
|
|
246
|
+
showClipboardSidebar();
|
|
247
|
+
};
|
|
248
|
+
fr.readAsDataURL(file);
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
function onDrop(e) {
|
|
252
|
+
e.preventDefault();
|
|
253
|
+
if (e.dataTransfer?.files.length) {
|
|
254
|
+
handleFiles(e.dataTransfer);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
function onDragOver(e) {
|
|
258
|
+
e.preventDefault();
|
|
259
|
+
}
|
|
260
|
+
const showClipboardSidebar = () => {
|
|
261
|
+
if (settings.value.openSidebarOnPaste) {
|
|
262
|
+
plugin?.value?.showSidebar();
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
function emitPasteError(message) {
|
|
266
|
+
const prefix = $t("clipboardPasteError", "Failed to paste:");
|
|
267
|
+
emitMessage(`${prefix} ${message}`, "error");
|
|
268
|
+
}
|
|
269
|
+
const handleSelectionPaste = (pastedUuids) => {
|
|
270
|
+
if (!adapter.pasteExistingBlocks) {
|
|
271
|
+
return;
|
|
272
|
+
}
|
|
273
|
+
if (selection.uuids.value.length !== 1) {
|
|
274
|
+
emitPasteError(
|
|
275
|
+
$t(
|
|
276
|
+
"clipboardPasteErrorOneField",
|
|
277
|
+
"Pasting is only possible into one field at a time."
|
|
278
|
+
)
|
|
279
|
+
);
|
|
280
|
+
return;
|
|
281
|
+
}
|
|
282
|
+
if (!pastedUuids.length) {
|
|
283
|
+
return;
|
|
284
|
+
}
|
|
285
|
+
const block = selection.items.value[0];
|
|
286
|
+
if (!block) {
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
let targetField = null;
|
|
290
|
+
let targetFieldElement = null;
|
|
291
|
+
let targetFieldKey = null;
|
|
292
|
+
let preceedingUuid = null;
|
|
293
|
+
if (!keyboard.isPressingShift.value) {
|
|
294
|
+
const pastedBundles = pastedUuids.map((uuid) => blocks.getBlock(uuid)?.bundle).filter((bundle) => !!bundle);
|
|
295
|
+
const pastedFragments = pastedUuids.map((uuid) => {
|
|
296
|
+
const block2 = blocks.getBlock(uuid);
|
|
297
|
+
if (block2?.bundle === fragmentBlockBundle && block2.fragment?.name) {
|
|
298
|
+
return block2.fragment.name;
|
|
299
|
+
}
|
|
300
|
+
return null;
|
|
301
|
+
}).filter(falsy);
|
|
302
|
+
if (pastedBundles.length) {
|
|
303
|
+
const nestedFields = types.fieldConfig.forEntityTypeAndBundle(
|
|
304
|
+
itemEntityType,
|
|
305
|
+
block.bundle
|
|
306
|
+
);
|
|
307
|
+
for (const fieldConfig of nestedFields) {
|
|
308
|
+
const fieldElement = fields.find(block.uuid, fieldConfig.name);
|
|
309
|
+
if (!fieldElement) {
|
|
310
|
+
continue;
|
|
311
|
+
}
|
|
312
|
+
const allowedPastedBundles = pastedBundles.filter(
|
|
313
|
+
(bundle) => fieldElement.allowedBundles.includes(bundle)
|
|
314
|
+
);
|
|
315
|
+
let fragmentsAllowed = true;
|
|
316
|
+
if (pastedFragments.length > 0 && fieldElement.allowedFragments.length > 0) {
|
|
317
|
+
fragmentsAllowed = pastedFragments.every(
|
|
318
|
+
(fragment) => fieldElement.allowedFragments.includes(fragment)
|
|
319
|
+
);
|
|
320
|
+
}
|
|
321
|
+
if (allowedPastedBundles.length > 0 && fragmentsAllowed) {
|
|
322
|
+
const nestedFieldKey = getFieldKey(block.uuid, fieldConfig.name);
|
|
323
|
+
const currentCount = state.getFieldBlockCount(nestedFieldKey);
|
|
324
|
+
if (fieldElement.cardinality === -1 || currentCount + allowedPastedBundles.length <= fieldElement.cardinality) {
|
|
325
|
+
targetField = {
|
|
326
|
+
entityType: itemEntityType,
|
|
327
|
+
entityUuid: block.uuid,
|
|
328
|
+
name: fieldConfig.name
|
|
329
|
+
};
|
|
330
|
+
targetFieldElement = fieldElement;
|
|
331
|
+
targetFieldKey = nestedFieldKey;
|
|
332
|
+
preceedingUuid = null;
|
|
333
|
+
break;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
if (!targetField || !targetFieldElement || !targetFieldKey) {
|
|
340
|
+
const field = state.getMutatedField(block.host.uuid, block.host.fieldName);
|
|
341
|
+
if (!field) {
|
|
342
|
+
return;
|
|
343
|
+
}
|
|
344
|
+
const fieldElement = fields.find(field.entityUuid, field.name);
|
|
345
|
+
if (!fieldElement) {
|
|
346
|
+
return;
|
|
347
|
+
}
|
|
348
|
+
targetField = {
|
|
349
|
+
entityType: field.entityType,
|
|
350
|
+
entityUuid: field.entityUuid,
|
|
351
|
+
name: field.name
|
|
352
|
+
};
|
|
353
|
+
targetFieldElement = fieldElement;
|
|
354
|
+
targetFieldKey = getFieldKey(field.entityUuid, field.name);
|
|
355
|
+
preceedingUuid = selection.uuids.value[0] ?? null;
|
|
356
|
+
}
|
|
357
|
+
const pastedBlocks = [];
|
|
358
|
+
const notAllowedBundles = [];
|
|
359
|
+
const notAllowedFragments = [];
|
|
360
|
+
for (let i = 0; i < pastedUuids.length; i++) {
|
|
361
|
+
const uuid = pastedUuids[i];
|
|
362
|
+
if (!uuid) {
|
|
363
|
+
continue;
|
|
364
|
+
}
|
|
365
|
+
const block2 = blocks.getBlock(uuid);
|
|
366
|
+
if (!block2) {
|
|
367
|
+
continue;
|
|
368
|
+
}
|
|
369
|
+
const isAllowed = targetFieldElement.allowedBundles.includes(block2.bundle);
|
|
370
|
+
if (!isAllowed) {
|
|
371
|
+
notAllowedBundles.push(block2.bundle);
|
|
372
|
+
continue;
|
|
373
|
+
}
|
|
374
|
+
if (block2.bundle === fragmentBlockBundle && block2.fragment?.name && targetFieldElement.allowedFragments.length > 0) {
|
|
375
|
+
const fragmentAllowed = targetFieldElement.allowedFragments.includes(
|
|
376
|
+
block2.fragment.name
|
|
377
|
+
);
|
|
378
|
+
if (!fragmentAllowed) {
|
|
379
|
+
notAllowedFragments.push(block2.fragment.name);
|
|
380
|
+
continue;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
pastedBlocks.push(block2);
|
|
384
|
+
}
|
|
385
|
+
if (!pastedBlocks.length) {
|
|
386
|
+
if (notAllowedFragments.length) {
|
|
387
|
+
const message2 = notAllowedFragments.length === 1 ? $t(
|
|
388
|
+
"clipboardPasteErrorAllowedFragmentsSingle",
|
|
389
|
+
'Fragment "@types" is not allowed here.'
|
|
390
|
+
) : $t(
|
|
391
|
+
"clipboardPasteErrorAllowedFragmentsMultiple",
|
|
392
|
+
"Fragments (@types) are not allowed here."
|
|
393
|
+
);
|
|
394
|
+
emitPasteError(message2.replace("@types", notAllowedFragments.join(", ")));
|
|
395
|
+
return;
|
|
396
|
+
}
|
|
397
|
+
const blockTypes = notAllowedBundles.map((bundle) => {
|
|
398
|
+
return types.getBlockBundleDefinition(bundle)?.label ?? bundle;
|
|
399
|
+
});
|
|
400
|
+
const message = blockTypes.length === 1 ? $t(
|
|
401
|
+
"clipboardPasteErrorAllowedBundlesSingle",
|
|
402
|
+
'Block type "@types" is not allowed here.'
|
|
403
|
+
) : $t(
|
|
404
|
+
"clipboardPasteErrorAllowedBundlesMultiple",
|
|
405
|
+
"Block types (@types) are not allowed here."
|
|
406
|
+
);
|
|
407
|
+
emitPasteError(message.replace("@types", blockTypes.join(", ")));
|
|
408
|
+
return;
|
|
409
|
+
}
|
|
410
|
+
const count = state.getFieldBlockCount(targetFieldKey);
|
|
411
|
+
if (targetFieldElement.cardinality !== -1 && count + pastedBlocks.length > targetFieldElement.cardinality) {
|
|
412
|
+
emitPasteError(
|
|
413
|
+
$t(
|
|
414
|
+
"clipboardPasteErrorCardinality",
|
|
415
|
+
"This field only allows up to @count blocks."
|
|
416
|
+
).replace("@count", targetFieldElement.cardinality.toString())
|
|
417
|
+
);
|
|
418
|
+
return;
|
|
419
|
+
}
|
|
420
|
+
state.mutateWithLoadingState(
|
|
421
|
+
() => adapter.pasteExistingBlocks({
|
|
422
|
+
uuids: pastedBlocks.map((v) => v.uuid),
|
|
423
|
+
host: {
|
|
424
|
+
type: targetField.entityType,
|
|
425
|
+
uuid: targetField.entityUuid,
|
|
426
|
+
fieldName: targetField.name
|
|
427
|
+
},
|
|
428
|
+
preceedingUuid
|
|
429
|
+
})
|
|
430
|
+
);
|
|
431
|
+
};
|
|
432
|
+
function onPaste(e, fromInput) {
|
|
433
|
+
logger.log("Paste Event", e);
|
|
434
|
+
if (state.editMode.value !== "editing") {
|
|
435
|
+
return;
|
|
436
|
+
}
|
|
437
|
+
if (!fromInput && (e.target instanceof HTMLInputElement || e.target instanceof HTMLTextAreaElement)) {
|
|
438
|
+
return;
|
|
439
|
+
}
|
|
440
|
+
e.stopPropagation();
|
|
441
|
+
e.preventDefault();
|
|
442
|
+
if (state.isLoading.value) {
|
|
443
|
+
return;
|
|
444
|
+
}
|
|
445
|
+
const clipboardData = e.clipboardData;
|
|
446
|
+
if (!clipboardData) {
|
|
447
|
+
return;
|
|
448
|
+
}
|
|
449
|
+
const pastedData = clipboardData.getData("text/html") || clipboardData.getData("text/plain") || clipboardData.getData("text");
|
|
450
|
+
if (pastedData) {
|
|
451
|
+
if (pastedData.startsWith("{")) {
|
|
452
|
+
try {
|
|
453
|
+
const data = JSON.parse(pastedData);
|
|
454
|
+
if (typeof data === "object" && data.type && data.type === "selection") {
|
|
455
|
+
const uuids = data.uuids;
|
|
456
|
+
return handleSelectionPaste(uuids);
|
|
457
|
+
}
|
|
458
|
+
} catch (_e) {
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
handlePastedText(pastedData);
|
|
462
|
+
}
|
|
463
|
+
if (clipboardData.files.length) {
|
|
464
|
+
return handleFiles(clipboardData);
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
const handlePastedText = (text) => {
|
|
468
|
+
if (!adapter.clipboardMapBundle) {
|
|
469
|
+
return;
|
|
470
|
+
}
|
|
471
|
+
const video = getVideoId(text);
|
|
472
|
+
if (video.id && video.service) {
|
|
473
|
+
const itemBundle = adapter.clipboardMapBundle({
|
|
474
|
+
type: "video",
|
|
475
|
+
videoService: video.service,
|
|
476
|
+
videoId: video.id
|
|
477
|
+
});
|
|
478
|
+
if (!itemBundle) {
|
|
479
|
+
return;
|
|
480
|
+
}
|
|
481
|
+
pastedItems.value.push({
|
|
482
|
+
type: "video",
|
|
483
|
+
id: generateUUID(),
|
|
484
|
+
itemBundle,
|
|
485
|
+
data: text,
|
|
486
|
+
videoService: video.service,
|
|
487
|
+
videoId: video.id
|
|
488
|
+
});
|
|
489
|
+
showClipboardSidebar();
|
|
490
|
+
return;
|
|
491
|
+
}
|
|
492
|
+
const div = document.createElement("div");
|
|
493
|
+
div.innerHTML = text.replace(/ |<br>/g, "");
|
|
494
|
+
removeAttributes(div);
|
|
495
|
+
if (div.textContent) {
|
|
496
|
+
const itemBundle = adapter.clipboardMapBundle({
|
|
497
|
+
type: "plaintext",
|
|
498
|
+
text: div.innerHTML
|
|
499
|
+
});
|
|
500
|
+
if (!itemBundle) {
|
|
501
|
+
return;
|
|
502
|
+
}
|
|
503
|
+
showClipboardSidebar();
|
|
504
|
+
pastedItems.value.push({
|
|
505
|
+
type: "text",
|
|
506
|
+
id: generateUUID(),
|
|
507
|
+
itemBundle,
|
|
508
|
+
data: div.innerHTML
|
|
509
|
+
});
|
|
510
|
+
}
|
|
511
|
+
};
|
|
512
|
+
function remove(index) {
|
|
513
|
+
pastedItems.value = pastedItems.value.filter((_v, i) => {
|
|
514
|
+
return i !== index;
|
|
515
|
+
});
|
|
516
|
+
}
|
|
517
|
+
function setClipboard(text) {
|
|
518
|
+
const type = "text/plain";
|
|
519
|
+
const blob = new Blob([text], { type });
|
|
520
|
+
const data = [new ClipboardItem({ [type]: blob })];
|
|
521
|
+
try {
|
|
522
|
+
navigator.clipboard.write(data);
|
|
523
|
+
} catch (_e) {
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
function copyCurrentSelectionToClipboard() {
|
|
527
|
+
if (!selection.items.value.length) {
|
|
528
|
+
selectionClipboard.value = [];
|
|
529
|
+
return;
|
|
530
|
+
}
|
|
531
|
+
setClipboard(
|
|
532
|
+
JSON.stringify({ type: "selection", uuids: selection.uuids.value })
|
|
533
|
+
);
|
|
534
|
+
selectionClipboard.value = selection.uuids.value;
|
|
535
|
+
}
|
|
536
|
+
onBlokkliEvent("keyPressed", (e) => {
|
|
537
|
+
if (e.code !== "c" || !e.meta || ui.hasDialogOpen.value) {
|
|
538
|
+
return;
|
|
539
|
+
}
|
|
540
|
+
copyCurrentSelectionToClipboard();
|
|
541
|
+
});
|
|
542
|
+
defineShortcut([
|
|
543
|
+
{
|
|
544
|
+
code: "C",
|
|
545
|
+
label: $t("clipboardCopyShortcutHelp", "Copy selected blocks"),
|
|
546
|
+
meta: true
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
code: "V",
|
|
550
|
+
label: $t(
|
|
551
|
+
"clipboardPasteShortcutHelp",
|
|
552
|
+
"Paste text, image or copied blocks"
|
|
553
|
+
),
|
|
554
|
+
meta: true
|
|
555
|
+
}
|
|
556
|
+
]);
|
|
557
|
+
defineItemDropdownAction(() => {
|
|
558
|
+
if (selection.items.value.length && state.editMode.value === "editing") {
|
|
559
|
+
return itemDropdownItems.value.map((item) => ({
|
|
560
|
+
id: "clipboard-" + item.id,
|
|
561
|
+
label: item.label,
|
|
562
|
+
icon: item.icon,
|
|
563
|
+
description: item.description,
|
|
564
|
+
enabled: item.enabled,
|
|
565
|
+
group: "clipboard",
|
|
566
|
+
weight: 100,
|
|
567
|
+
callback: () => {
|
|
568
|
+
onSelectDropdownItem(item);
|
|
569
|
+
}
|
|
570
|
+
}));
|
|
571
|
+
}
|
|
572
|
+
});
|
|
573
|
+
onBlokkliEvent("drop:clipboardItem", async (data) => {
|
|
574
|
+
const item = pastedItems.value.find((v) => v.id === data.id);
|
|
575
|
+
if (!item) {
|
|
576
|
+
return;
|
|
577
|
+
}
|
|
578
|
+
if (adapter.addBlockFromClipboardItem) {
|
|
579
|
+
await state.mutateWithLoadingState(
|
|
580
|
+
() => adapter.addBlockFromClipboardItem({
|
|
581
|
+
afterUuid: data.afterUuid,
|
|
582
|
+
item,
|
|
583
|
+
blockBundle: data.blockBundle,
|
|
584
|
+
host: data.host
|
|
585
|
+
})
|
|
586
|
+
);
|
|
587
|
+
pastedItems.value = pastedItems.value.filter((v) => v.id !== item.id);
|
|
588
|
+
}
|
|
589
|
+
});
|
|
590
|
+
onMounted(() => {
|
|
591
|
+
document.addEventListener("paste", onPaste);
|
|
592
|
+
document.body.addEventListener("drop", onDrop);
|
|
593
|
+
document.addEventListener("dragover", onDragOver);
|
|
594
|
+
});
|
|
595
|
+
onUnmounted(() => {
|
|
596
|
+
document.removeEventListener("paste", onPaste);
|
|
597
|
+
document.body.removeEventListener("drop", onDrop);
|
|
598
|
+
document.removeEventListener("dragover", onDragOver);
|
|
599
|
+
});
|
|
600
|
+
</script>
|
|
601
|
+
|
|
602
|
+
<script>
|
|
603
|
+
export default {
|
|
604
|
+
name: "Clipboard"
|
|
605
|
+
};
|
|
606
|
+
</script>
|