@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
|
@@ -1,517 +0,0 @@
|
|
|
1
|
-
import onBlokkliEvent from "../composables/onBlokkliEvent.js";
|
|
2
|
-
import useAnimationFrame from "../composables/useAnimationFrame.js";
|
|
3
|
-
import {
|
|
4
|
-
ref,
|
|
5
|
-
computed,
|
|
6
|
-
watch,
|
|
7
|
-
onMounted,
|
|
8
|
-
onBeforeUnmount
|
|
9
|
-
} from "#imports";
|
|
10
|
-
import { eventBus } from "#blokkli/helpers/eventBus";
|
|
11
|
-
import { createProgramInfo } from "twgl.js";
|
|
12
|
-
import { useTransitionedValue } from "../composables/useTransitionedValue.js";
|
|
13
|
-
function configureWebGLContext(gl) {
|
|
14
|
-
gl.enable(gl.BLEND);
|
|
15
|
-
gl.disable(gl.DEPTH_TEST);
|
|
16
|
-
gl.clearColor(0, 0, 0, 0);
|
|
17
|
-
gl.blendFunc(gl.SRC_ALPHA_SATURATE, gl.ONE);
|
|
18
|
-
gl.blendEquation(gl.FUNC_ADD);
|
|
19
|
-
}
|
|
20
|
-
export default function(ui, storage, selection, debug, keyboard) {
|
|
21
|
-
const logger = debug.createLogger("Animation");
|
|
22
|
-
const preferredRenderingMode = storage.use(
|
|
23
|
-
"preferredRenderingMode",
|
|
24
|
-
"auto"
|
|
25
|
-
);
|
|
26
|
-
const webglSupported = ref(null);
|
|
27
|
-
const webglEnabled = computed({
|
|
28
|
-
get: () => {
|
|
29
|
-
if (preferredRenderingMode.value === "2d") {
|
|
30
|
-
return false;
|
|
31
|
-
}
|
|
32
|
-
if (preferredRenderingMode.value === "webgl") {
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
return webglSupported.value !== false;
|
|
36
|
-
},
|
|
37
|
-
set: (value) => {
|
|
38
|
-
preferredRenderingMode.value = value ? "webgl" : "2d";
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
const currentCursor = ref("default");
|
|
42
|
-
const cursor = computed(() => currentCursor.value);
|
|
43
|
-
const renderKey = ref(0);
|
|
44
|
-
const canvasKey = computed(() => webglEnabled.value ? "webgl" : "2d");
|
|
45
|
-
const isRenderingWebGL = computed(
|
|
46
|
-
() => hasGLContext.value && !isContextLost.value
|
|
47
|
-
);
|
|
48
|
-
const renderers = /* @__PURE__ */ new Map();
|
|
49
|
-
const rendererPrograms = /* @__PURE__ */ new Map();
|
|
50
|
-
const rendererCollectors = /* @__PURE__ */ new Map();
|
|
51
|
-
const rendererFailures = /* @__PURE__ */ new Map();
|
|
52
|
-
const rendererCooldowns = /* @__PURE__ */ new Map();
|
|
53
|
-
const renderersPermanentlyDisabled = /* @__PURE__ */ new Set();
|
|
54
|
-
function shouldSkipRenderer(id) {
|
|
55
|
-
if (renderersPermanentlyDisabled.has(id)) {
|
|
56
|
-
return true;
|
|
57
|
-
}
|
|
58
|
-
const cooldownEnd = rendererCooldowns.get(id);
|
|
59
|
-
if (cooldownEnd) {
|
|
60
|
-
const now = Date.now();
|
|
61
|
-
if (now < cooldownEnd) {
|
|
62
|
-
return true;
|
|
63
|
-
} else {
|
|
64
|
-
rendererCooldowns.delete(id);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
return false;
|
|
68
|
-
}
|
|
69
|
-
function handleRendererFailure(id) {
|
|
70
|
-
const failures = (rendererFailures.get(id) || 0) + 1;
|
|
71
|
-
rendererFailures.set(id, failures);
|
|
72
|
-
if (failures === 6) {
|
|
73
|
-
renderersPermanentlyDisabled.add(id);
|
|
74
|
-
rendererFailures.delete(id);
|
|
75
|
-
rendererCooldowns.delete(id);
|
|
76
|
-
logger.error(
|
|
77
|
-
`Renderer "${id}" has been permanently disabled due to repeated failures.`
|
|
78
|
-
);
|
|
79
|
-
return;
|
|
80
|
-
}
|
|
81
|
-
if (failures === 5) {
|
|
82
|
-
const cooldownEnd = Date.now() + 5e3;
|
|
83
|
-
rendererCooldowns.set(id, cooldownEnd);
|
|
84
|
-
logger.error(
|
|
85
|
-
`Renderer "${id}" failed 5 times in a row. Skipping for 5 seconds.`
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
function handleRendererSuccess(id) {
|
|
90
|
-
rendererFailures.delete(id);
|
|
91
|
-
}
|
|
92
|
-
function executeRenderer(renderer, ctx, ctx2dContext2) {
|
|
93
|
-
if (!renderer.enabled || renderer.enabled()) {
|
|
94
|
-
const glContext2 = gl();
|
|
95
|
-
if (glContext2 && webglEnabled.value && !shouldSkipRenderer(renderer.id)) {
|
|
96
|
-
const program = rendererPrograms.get(renderer.id);
|
|
97
|
-
if (program) {
|
|
98
|
-
try {
|
|
99
|
-
renderer.render(ctx, glContext2, program);
|
|
100
|
-
handleRendererSuccess(renderer.id);
|
|
101
|
-
} catch (error) {
|
|
102
|
-
handleRendererFailure(renderer.id);
|
|
103
|
-
logger.error(`Renderer "${renderer.id}" failed:`, error);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
} else if (ctx2dContext2 && renderer.renderFallback) {
|
|
107
|
-
try {
|
|
108
|
-
renderer.renderFallback(ctx, ctx2dContext2);
|
|
109
|
-
handleRendererSuccess(renderer.id);
|
|
110
|
-
} catch (error) {
|
|
111
|
-
handleRendererFailure(renderer.id);
|
|
112
|
-
logger.error(`Renderer "${renderer.id}" (2D fallback) failed:`, error);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
function registerRenderer(id, config) {
|
|
118
|
-
logger.log("Registered Renderer: " + id);
|
|
119
|
-
const renderer = { id, ...config };
|
|
120
|
-
renderers.set(id, renderer);
|
|
121
|
-
const collector = config.collector();
|
|
122
|
-
rendererCollectors.set(id, collector);
|
|
123
|
-
if (renderer.program) {
|
|
124
|
-
const glContext2 = gl();
|
|
125
|
-
if (glContext2) {
|
|
126
|
-
const { shaders } = renderer.program();
|
|
127
|
-
const programInfo = registerProgram(id, glContext2, shaders);
|
|
128
|
-
rendererPrograms.set(id, programInfo);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
return {
|
|
132
|
-
collector,
|
|
133
|
-
unregister: () => unregisterRenderer(id)
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
function unregisterRenderer(id) {
|
|
137
|
-
renderers.delete(id);
|
|
138
|
-
rendererPrograms.delete(id);
|
|
139
|
-
rendererCollectors.delete(id);
|
|
140
|
-
rendererFailures.delete(id);
|
|
141
|
-
rendererCooldowns.delete(id);
|
|
142
|
-
renderersPermanentlyDisabled.delete(id);
|
|
143
|
-
}
|
|
144
|
-
function handleClick(x, y) {
|
|
145
|
-
const sortedRenderers = Array.from(renderers.values()).filter((renderer) => !renderer.enabled || renderer.enabled()).sort((a, b) => b.zIndex - a.zIndex);
|
|
146
|
-
const artboardOffset = ui.artboardOffset.value;
|
|
147
|
-
const artboardScale = ui.artboardScale.value;
|
|
148
|
-
const mouseArtboard = {
|
|
149
|
-
x: (x - artboardOffset.x) / artboardScale,
|
|
150
|
-
y: (y - artboardOffset.y) / artboardScale
|
|
151
|
-
};
|
|
152
|
-
for (const renderer of sortedRenderers) {
|
|
153
|
-
if (renderer.onClick) {
|
|
154
|
-
const claimed = renderer.onClick({
|
|
155
|
-
mouse: { x, y },
|
|
156
|
-
mouseArtboard
|
|
157
|
-
});
|
|
158
|
-
if (claimed === true) {
|
|
159
|
-
return true;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
return false;
|
|
164
|
-
}
|
|
165
|
-
let mouseX = 0;
|
|
166
|
-
let mouseY = 0;
|
|
167
|
-
let iterator = 120;
|
|
168
|
-
const maxCanvasWidth = ref(16384);
|
|
169
|
-
const maxCanvasHeight = ref(16384);
|
|
170
|
-
let webglLimitsQueried = false;
|
|
171
|
-
let canvasElement = null;
|
|
172
|
-
let glContext = null;
|
|
173
|
-
let ctx2dContext = null;
|
|
174
|
-
const isContextLost = ref(false);
|
|
175
|
-
const hasGLContext = ref(false);
|
|
176
|
-
let lastCanvasWidth = 0;
|
|
177
|
-
let lastCanvasHeight = 0;
|
|
178
|
-
function initializeContexts() {
|
|
179
|
-
if (!canvasElement) {
|
|
180
|
-
glContext = null;
|
|
181
|
-
ctx2dContext = null;
|
|
182
|
-
isContextLost.value = false;
|
|
183
|
-
hasGLContext.value = false;
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
canvasElement.removeEventListener("webglcontextlost", handleContextLost);
|
|
187
|
-
canvasElement.removeEventListener(
|
|
188
|
-
"webglcontextrestored",
|
|
189
|
-
handleContextRestored
|
|
190
|
-
);
|
|
191
|
-
if (webglEnabled.value && webglSupported.value !== false) {
|
|
192
|
-
const gl2 = canvasElement.getContext("webgl2", {
|
|
193
|
-
premultipliedAlpha: true
|
|
194
|
-
});
|
|
195
|
-
if (gl2) {
|
|
196
|
-
glContext = gl2;
|
|
197
|
-
ctx2dContext = null;
|
|
198
|
-
isContextLost.value = false;
|
|
199
|
-
hasGLContext.value = true;
|
|
200
|
-
webglSupported.value = true;
|
|
201
|
-
if (!webglLimitsQueried) {
|
|
202
|
-
const maxViewportDims = gl2.getParameter(
|
|
203
|
-
gl2.MAX_VIEWPORT_DIMS
|
|
204
|
-
);
|
|
205
|
-
maxCanvasWidth.value = maxViewportDims[0] || 16384;
|
|
206
|
-
maxCanvasHeight.value = maxViewportDims[1] || 16384;
|
|
207
|
-
webglLimitsQueried = true;
|
|
208
|
-
}
|
|
209
|
-
configureWebGLContext(gl2);
|
|
210
|
-
canvasElement.addEventListener(
|
|
211
|
-
"webglcontextlost",
|
|
212
|
-
handleContextLost,
|
|
213
|
-
false
|
|
214
|
-
);
|
|
215
|
-
canvasElement.addEventListener(
|
|
216
|
-
"webglcontextrestored",
|
|
217
|
-
handleContextRestored,
|
|
218
|
-
false
|
|
219
|
-
);
|
|
220
|
-
} else {
|
|
221
|
-
webglSupported.value = false;
|
|
222
|
-
glContext = null;
|
|
223
|
-
hasGLContext.value = false;
|
|
224
|
-
ctx2dContext = canvasElement.getContext("2d");
|
|
225
|
-
}
|
|
226
|
-
} else {
|
|
227
|
-
glContext = null;
|
|
228
|
-
hasGLContext.value = false;
|
|
229
|
-
ctx2dContext = canvasElement.getContext("2d");
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
watch(webglEnabled, () => {
|
|
233
|
-
const programCount = registeredPrograms.size;
|
|
234
|
-
registeredPrograms.clear();
|
|
235
|
-
rendererPrograms.clear();
|
|
236
|
-
removeCanvasElement();
|
|
237
|
-
logger.log(
|
|
238
|
-
`Cleared ${programCount} WebGL programs and stopped rendering due to mode change to ${webglEnabled.value ? "WebGL" : "2D"}`
|
|
239
|
-
);
|
|
240
|
-
});
|
|
241
|
-
function handleContextLost(event) {
|
|
242
|
-
event.preventDefault();
|
|
243
|
-
logger.error("WebGL context lost");
|
|
244
|
-
isContextLost.value = true;
|
|
245
|
-
const programCount = registeredPrograms.size;
|
|
246
|
-
registeredPrograms.clear();
|
|
247
|
-
rendererPrograms.clear();
|
|
248
|
-
logger.log(`Cleared ${programCount} invalidated WebGL programs`);
|
|
249
|
-
}
|
|
250
|
-
function handleContextRestored() {
|
|
251
|
-
logger.log("WebGL context restored");
|
|
252
|
-
isContextLost.value = false;
|
|
253
|
-
const restoredGL = glContext;
|
|
254
|
-
if (restoredGL) {
|
|
255
|
-
configureWebGLContext(restoredGL);
|
|
256
|
-
logger.log("Re-configured WebGL context settings");
|
|
257
|
-
}
|
|
258
|
-
renderKey.value++;
|
|
259
|
-
logger.log(
|
|
260
|
-
`Incremented renderKey to ${renderKey.value} to force renderer remount`
|
|
261
|
-
);
|
|
262
|
-
requestDraw();
|
|
263
|
-
}
|
|
264
|
-
function reset() {
|
|
265
|
-
isContextLost.value = true;
|
|
266
|
-
registeredPrograms.clear();
|
|
267
|
-
rendererPrograms.clear();
|
|
268
|
-
renderKey.value++;
|
|
269
|
-
isContextLost.value = false;
|
|
270
|
-
}
|
|
271
|
-
function setCanvasElement(canvas) {
|
|
272
|
-
canvasElement = canvas;
|
|
273
|
-
initializeContexts();
|
|
274
|
-
updateCanvasSize();
|
|
275
|
-
renderKey.value++;
|
|
276
|
-
logger.log(
|
|
277
|
-
`Canvas element set with ${webglEnabled.value ? "WebGL" : "2D"} context, renderKey = ${renderKey.value}`
|
|
278
|
-
);
|
|
279
|
-
}
|
|
280
|
-
function removeCanvasElement() {
|
|
281
|
-
if (canvasElement) {
|
|
282
|
-
canvasElement.removeEventListener("webglcontextlost", handleContextLost);
|
|
283
|
-
canvasElement.removeEventListener(
|
|
284
|
-
"webglcontextrestored",
|
|
285
|
-
handleContextRestored
|
|
286
|
-
);
|
|
287
|
-
}
|
|
288
|
-
canvasElement = null;
|
|
289
|
-
glContext = null;
|
|
290
|
-
ctx2dContext = null;
|
|
291
|
-
isContextLost.value = false;
|
|
292
|
-
hasGLContext.value = false;
|
|
293
|
-
lastCanvasWidth = 0;
|
|
294
|
-
lastCanvasHeight = 0;
|
|
295
|
-
}
|
|
296
|
-
function updateCanvasSize() {
|
|
297
|
-
if (!canvasElement) {
|
|
298
|
-
return;
|
|
299
|
-
}
|
|
300
|
-
const canvasWidth = ui.viewport.value.width * dpi.value;
|
|
301
|
-
const canvasHeight = ui.viewport.value.height * dpi.value;
|
|
302
|
-
if (canvasWidth !== lastCanvasWidth || canvasHeight !== lastCanvasHeight) {
|
|
303
|
-
canvasElement.width = canvasWidth;
|
|
304
|
-
canvasElement.height = canvasHeight;
|
|
305
|
-
if (glContext) {
|
|
306
|
-
glContext.viewport(0, 0, canvasWidth, canvasHeight);
|
|
307
|
-
}
|
|
308
|
-
lastCanvasWidth = canvasWidth;
|
|
309
|
-
lastCanvasHeight = canvasHeight;
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
function gl() {
|
|
313
|
-
if (isContextLost.value) {
|
|
314
|
-
return void 0;
|
|
315
|
-
}
|
|
316
|
-
return glContext || void 0;
|
|
317
|
-
}
|
|
318
|
-
function getRawGL() {
|
|
319
|
-
return glContext;
|
|
320
|
-
}
|
|
321
|
-
const getChangeOptionsTransition = useTransitionedValue(
|
|
322
|
-
() => {
|
|
323
|
-
return selection.isChangingOptions.value ? 0 : 1;
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
duration: 150
|
|
327
|
-
}
|
|
328
|
-
);
|
|
329
|
-
useAnimationFrame((time) => {
|
|
330
|
-
const selectedUuids = [...selection.uuids.value];
|
|
331
|
-
const changeOptionsTransition = getChangeOptionsTransition();
|
|
332
|
-
if (iterator < 1) {
|
|
333
|
-
return;
|
|
334
|
-
}
|
|
335
|
-
iterator--;
|
|
336
|
-
eventBus.emit("animationFrame:before", { time, mouseX, mouseY });
|
|
337
|
-
eventBus.emit("animationFrame", {
|
|
338
|
-
mouseX,
|
|
339
|
-
mouseY,
|
|
340
|
-
fieldAreas: [],
|
|
341
|
-
time
|
|
342
|
-
});
|
|
343
|
-
updateCanvasSize();
|
|
344
|
-
if (!canvasElement) {
|
|
345
|
-
return;
|
|
346
|
-
}
|
|
347
|
-
if (glContext) {
|
|
348
|
-
glContext.clearColor(0, 0, 0, 0);
|
|
349
|
-
glContext.clear(glContext.COLOR_BUFFER_BIT);
|
|
350
|
-
} else if (ctx2dContext) {
|
|
351
|
-
ctx2dContext.clearRect(0, 0, canvasElement.width, canvasElement.height);
|
|
352
|
-
}
|
|
353
|
-
const sortedRenderers = Array.from(renderers.values()).sort((a, b) => {
|
|
354
|
-
if (glContext) {
|
|
355
|
-
return a.zIndex - b.zIndex;
|
|
356
|
-
}
|
|
357
|
-
return b.zIndex - a.zIndex;
|
|
358
|
-
});
|
|
359
|
-
const artboardOffset = ui.artboardOffset.value;
|
|
360
|
-
const artboardScale = ui.artboardScale.value;
|
|
361
|
-
const artboardSize = ui.artboardSize.value;
|
|
362
|
-
const mouseArtboard = {
|
|
363
|
-
x: (mouseX - artboardOffset.x) / artboardScale,
|
|
364
|
-
y: (mouseY - artboardOffset.y) / artboardScale
|
|
365
|
-
};
|
|
366
|
-
const ctx = {
|
|
367
|
-
time,
|
|
368
|
-
mouseX,
|
|
369
|
-
mouseY,
|
|
370
|
-
mouseArtboard,
|
|
371
|
-
artboardOffset,
|
|
372
|
-
artboardScale,
|
|
373
|
-
artboardSize,
|
|
374
|
-
selectedUuids,
|
|
375
|
-
dpi: dpi.value,
|
|
376
|
-
changeOptionsTransition
|
|
377
|
-
};
|
|
378
|
-
let onlyRenderer = null;
|
|
379
|
-
for (const renderer of sortedRenderers) {
|
|
380
|
-
if (!renderer.enabled || renderer.enabled()) {
|
|
381
|
-
const onlyValue = typeof renderer.only === "function" ? renderer.only() : renderer.only;
|
|
382
|
-
if (onlyValue) {
|
|
383
|
-
onlyRenderer = renderer;
|
|
384
|
-
break;
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
if (onlyRenderer) {
|
|
389
|
-
executeRenderer(onlyRenderer, ctx, ctx2dContext);
|
|
390
|
-
} else {
|
|
391
|
-
for (let i = sortedRenderers.length - 1; i >= 0; i--) {
|
|
392
|
-
const renderer = sortedRenderers[i];
|
|
393
|
-
executeRenderer(renderer, ctx, ctx2dContext);
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
let newCursor = "default";
|
|
397
|
-
if (keyboard.isPressingSpace.value) {
|
|
398
|
-
newCursor = "move";
|
|
399
|
-
} else {
|
|
400
|
-
for (let i = sortedRenderers.length - 1; i >= 0; i--) {
|
|
401
|
-
const renderer = sortedRenderers[i];
|
|
402
|
-
if (renderer.cursor && (!renderer.enabled || renderer.enabled())) {
|
|
403
|
-
const cursorValue = renderer.cursor();
|
|
404
|
-
if (cursorValue) {
|
|
405
|
-
newCursor = cursorValue;
|
|
406
|
-
break;
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
currentCursor.value = newCursor;
|
|
412
|
-
eventBus.emit("canvas:draw", ctx);
|
|
413
|
-
eventBus.emit("animationFrame:after");
|
|
414
|
-
});
|
|
415
|
-
function onWindowMouseMove(e) {
|
|
416
|
-
mouseX = e.pageX;
|
|
417
|
-
mouseY = e.pageY;
|
|
418
|
-
}
|
|
419
|
-
onMounted(() => {
|
|
420
|
-
document.body.addEventListener("wheel", requestDraw, { passive: false });
|
|
421
|
-
window.addEventListener("pointermove", onWindowMouseMove, { capture: true });
|
|
422
|
-
});
|
|
423
|
-
onBeforeUnmount(() => {
|
|
424
|
-
document.body.removeEventListener("wheel", requestDraw);
|
|
425
|
-
window.removeEventListener("pointermove", onWindowMouseMove, {
|
|
426
|
-
capture: true
|
|
427
|
-
});
|
|
428
|
-
});
|
|
429
|
-
const requestDraw = () => iterator = 120;
|
|
430
|
-
onBlokkliEvent("select", requestDraw);
|
|
431
|
-
onBlokkliEvent("select:start", requestDraw);
|
|
432
|
-
onBlokkliEvent("select:end", requestDraw);
|
|
433
|
-
onBlokkliEvent("select:toggle", requestDraw);
|
|
434
|
-
onBlokkliEvent("option:update", requestDraw);
|
|
435
|
-
onBlokkliEvent("state:reloaded", requestDraw);
|
|
436
|
-
const dpi = computed(() => {
|
|
437
|
-
const viewportWidth = ui.viewport.value.width;
|
|
438
|
-
const viewportHeight = ui.viewport.value.height;
|
|
439
|
-
if (!webglEnabled.value) {
|
|
440
|
-
const MAX_2D_CANVAS_SIZE = 4096;
|
|
441
|
-
const maxDpiByWidth2 = MAX_2D_CANVAS_SIZE / viewportWidth;
|
|
442
|
-
const maxDpiByHeight2 = MAX_2D_CANVAS_SIZE / viewportHeight;
|
|
443
|
-
return Math.min(maxDpiByWidth2, maxDpiByHeight2, 1);
|
|
444
|
-
}
|
|
445
|
-
const deviceRatio = window.devicePixelRatio;
|
|
446
|
-
const maxDpiByWidth = maxCanvasWidth.value / viewportWidth;
|
|
447
|
-
const maxDpiByHeight = maxCanvasHeight.value / viewportHeight;
|
|
448
|
-
const MAX_PIXELS = 16e6;
|
|
449
|
-
const maxDpiByPixels = Math.sqrt(
|
|
450
|
-
MAX_PIXELS / (viewportWidth * viewportHeight)
|
|
451
|
-
);
|
|
452
|
-
const maxDpi = ui.lowPerformanceMode.value ? 0.5 : 2;
|
|
453
|
-
return Math.min(
|
|
454
|
-
deviceRatio,
|
|
455
|
-
maxDpiByWidth,
|
|
456
|
-
maxDpiByHeight,
|
|
457
|
-
maxDpiByPixels,
|
|
458
|
-
maxDpi
|
|
459
|
-
);
|
|
460
|
-
});
|
|
461
|
-
function setSharedUniforms(gl2, programInfo) {
|
|
462
|
-
const resolution = [ui.viewport.value.width, ui.viewport.value.height];
|
|
463
|
-
gl2.uniform2fv(
|
|
464
|
-
gl2.getUniformLocation(programInfo.program, "u_resolution"),
|
|
465
|
-
resolution
|
|
466
|
-
);
|
|
467
|
-
const offset = ui.artboardOffset.value;
|
|
468
|
-
gl2.uniform1f(
|
|
469
|
-
gl2.getUniformLocation(programInfo.program, "u_offset_x"),
|
|
470
|
-
offset.x
|
|
471
|
-
);
|
|
472
|
-
gl2.uniform1f(
|
|
473
|
-
gl2.getUniformLocation(programInfo.program, "u_offset_y"),
|
|
474
|
-
offset.y
|
|
475
|
-
);
|
|
476
|
-
gl2.uniform1f(
|
|
477
|
-
gl2.getUniformLocation(programInfo.program, "u_scale"),
|
|
478
|
-
ui.artboardScale.value
|
|
479
|
-
);
|
|
480
|
-
gl2.uniform1f(gl2.getUniformLocation(programInfo.program, "u_dpi"), dpi.value);
|
|
481
|
-
}
|
|
482
|
-
const registeredPrograms = /* @__PURE__ */ new Map();
|
|
483
|
-
function registerProgram(id, gl2, shaders) {
|
|
484
|
-
if (!registeredPrograms.has(id)) {
|
|
485
|
-
registeredPrograms.set(id, createProgramInfo(gl2, shaders));
|
|
486
|
-
}
|
|
487
|
-
return registeredPrograms.get(id);
|
|
488
|
-
}
|
|
489
|
-
watch(keyboard.isPressingSpace, () => {
|
|
490
|
-
requestDraw();
|
|
491
|
-
});
|
|
492
|
-
watch(keyboard.isPressingControl, () => {
|
|
493
|
-
requestDraw();
|
|
494
|
-
});
|
|
495
|
-
return {
|
|
496
|
-
requestDraw,
|
|
497
|
-
gl,
|
|
498
|
-
getRawGL,
|
|
499
|
-
setSharedUniforms,
|
|
500
|
-
dpi,
|
|
501
|
-
registerProgram,
|
|
502
|
-
webglSupported: computed(() => webglSupported.value && webglEnabled.value),
|
|
503
|
-
webglEnabled,
|
|
504
|
-
preferredRenderingMode,
|
|
505
|
-
isRenderingWebGL,
|
|
506
|
-
hasWebGLContext: computed(() => hasGLContext.value),
|
|
507
|
-
renderKey: computed(() => renderKey.value),
|
|
508
|
-
canvasKey,
|
|
509
|
-
setCanvasElement,
|
|
510
|
-
removeCanvasElement,
|
|
511
|
-
cursor,
|
|
512
|
-
handleClick,
|
|
513
|
-
registerRenderer,
|
|
514
|
-
unregisterRenderer,
|
|
515
|
-
reset
|
|
516
|
-
};
|
|
517
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { RenderedFieldListItem } from '#blokkli/types';
|
|
2
|
-
import type { DomProvider } from './dom.js';
|
|
3
|
-
import type { StateProvider } from './state.js';
|
|
4
|
-
import type { AdapterContext } from '#blokkli/adapter';
|
|
5
|
-
import { type ComputedRef } from '#imports';
|
|
6
|
-
export type BlocksProvider = {
|
|
7
|
-
/**
|
|
8
|
-
* Get a rendered block by its UUID.
|
|
9
|
-
*
|
|
10
|
-
* Returns a RenderedFieldListItem with complete block metadata including:
|
|
11
|
-
* - Host entity and field information
|
|
12
|
-
* - Publishing status and schedule
|
|
13
|
-
* - Library/fragment data (if applicable)
|
|
14
|
-
* - Parent block bundle (for nested blocks)
|
|
15
|
-
*
|
|
16
|
-
* Results are cached and invalidated on state reload.
|
|
17
|
-
*
|
|
18
|
-
* @param uuid - The block's UUID
|
|
19
|
-
* @returns The rendered block item, or undefined if not found
|
|
20
|
-
*/
|
|
21
|
-
getBlock: (uuid: string) => RenderedFieldListItem | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* Get all rendered blocks in the current state.
|
|
24
|
-
*
|
|
25
|
-
* Returns an array of all blocks with complete metadata.
|
|
26
|
-
* Iterates through all UUIDs in state and builds RenderedFieldListItem for each.
|
|
27
|
-
*
|
|
28
|
-
* @returns Array of all rendered block items
|
|
29
|
-
*/
|
|
30
|
-
getAllBlocks: () => RenderedFieldListItem[];
|
|
31
|
-
};
|
|
32
|
-
export default function (state: StateProvider, dom: DomProvider, context: ComputedRef<AdapterContext>): BlocksProvider;
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { itemEntityType } from "#blokkli-build/config";
|
|
2
|
-
import onBlokkliEvent from "../composables/onBlokkliEvent.js";
|
|
3
|
-
import { ref } from "#imports";
|
|
4
|
-
import { BUNDLE_BLOKKLI_FRAGMENT } from "#blokkli/constants";
|
|
5
|
-
export default function(state, dom, context) {
|
|
6
|
-
const renderedFieldListItemCache = /* @__PURE__ */ new Map();
|
|
7
|
-
const refreshKey = ref(1);
|
|
8
|
-
function getParentBlockBundle(field) {
|
|
9
|
-
if (field.entityType !== itemEntityType) {
|
|
10
|
-
return null;
|
|
11
|
-
}
|
|
12
|
-
const block = state.getFieldListItem(field.entityUuid);
|
|
13
|
-
if (!block) {
|
|
14
|
-
return null;
|
|
15
|
-
}
|
|
16
|
-
return block.bundle;
|
|
17
|
-
}
|
|
18
|
-
function getLibraryData(item) {
|
|
19
|
-
if (item.bundle === "from_library" && item.props.libraryItem) {
|
|
20
|
-
const uuid = item.props.libraryItem.uuid;
|
|
21
|
-
const bundle = item.props.libraryItem.block?.bundle;
|
|
22
|
-
if (uuid && bundle) {
|
|
23
|
-
return {
|
|
24
|
-
label: item.props.libraryItem.label ?? "",
|
|
25
|
-
libraryItemUuid: uuid,
|
|
26
|
-
reusableBundle: bundle
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
return null;
|
|
31
|
-
}
|
|
32
|
-
function getFragmentData(item) {
|
|
33
|
-
if (item.bundle === BUNDLE_BLOKKLI_FRAGMENT && item.props.name) {
|
|
34
|
-
return {
|
|
35
|
-
name: item.props.name
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
function getBlock(uuid) {
|
|
41
|
-
if (refreshKey.value === 0) {
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
const cached = renderedFieldListItemCache.get(uuid);
|
|
45
|
-
if (cached) {
|
|
46
|
-
return cached;
|
|
47
|
-
}
|
|
48
|
-
const item = state.getFieldListItem(uuid);
|
|
49
|
-
if (!item) {
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
if (!item.editContext) {
|
|
53
|
-
throw new Error("Missing editContext on block with UUID: " + item.uuid);
|
|
54
|
-
}
|
|
55
|
-
const fieldList = state.getFieldListForBlock(item.uuid);
|
|
56
|
-
if (!fieldList) {
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
const field = dom.getRegisteredField(fieldList.entityUuid, fieldList.name);
|
|
60
|
-
const parentBlockBundle = getParentBlockBundle(fieldList);
|
|
61
|
-
const renderedItem = {
|
|
62
|
-
uuid: item.uuid,
|
|
63
|
-
bundle: item.bundle,
|
|
64
|
-
isNew: item.editContext.isNew,
|
|
65
|
-
isPublished: item.editContext.isPublished,
|
|
66
|
-
publishOn: item.editContext.publishOn,
|
|
67
|
-
unpublishOn: item.editContext.unpublishOn,
|
|
68
|
-
isNested: fieldList.entityType === itemEntityType,
|
|
69
|
-
fieldListType: field?.fieldListType ?? "default",
|
|
70
|
-
library: getLibraryData(item),
|
|
71
|
-
fragment: getFragmentData(item),
|
|
72
|
-
parentBlockBundle,
|
|
73
|
-
host: {
|
|
74
|
-
type: fieldList.entityType,
|
|
75
|
-
uuid: fieldList.entityUuid,
|
|
76
|
-
fieldName: fieldList.name,
|
|
77
|
-
bundle: parentBlockBundle ?? context.value.entityBundle
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
renderedFieldListItemCache.set(item.uuid, renderedItem);
|
|
81
|
-
return renderedItem;
|
|
82
|
-
}
|
|
83
|
-
function getAllBlocks() {
|
|
84
|
-
if (refreshKey.value === 0) {
|
|
85
|
-
return [];
|
|
86
|
-
}
|
|
87
|
-
const blocks = [];
|
|
88
|
-
const uuids = state.getAllUuids();
|
|
89
|
-
for (let i = 0; i < uuids.length; i++) {
|
|
90
|
-
const uuid = uuids[i];
|
|
91
|
-
if (!uuid) {
|
|
92
|
-
continue;
|
|
93
|
-
}
|
|
94
|
-
const block = getBlock(uuid);
|
|
95
|
-
if (!block) {
|
|
96
|
-
continue;
|
|
97
|
-
}
|
|
98
|
-
blocks.push(block);
|
|
99
|
-
}
|
|
100
|
-
return blocks;
|
|
101
|
-
}
|
|
102
|
-
onBlokkliEvent("state:reloaded", () => {
|
|
103
|
-
renderedFieldListItemCache.clear();
|
|
104
|
-
refreshKey.value++;
|
|
105
|
-
});
|
|
106
|
-
return {
|
|
107
|
-
getBlock,
|
|
108
|
-
getAllBlocks
|
|
109
|
-
};
|
|
110
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import type { Command } from '#blokkli/types';
|
|
2
|
-
type CommandsProviderFunction = () => Command[] | Command | undefined;
|
|
3
|
-
export type CommandsProvider = {
|
|
4
|
-
/**
|
|
5
|
-
* Register a command provider function.
|
|
6
|
-
*
|
|
7
|
-
* The function will be called when commands are requested.
|
|
8
|
-
* It can return a single command, an array of commands, or undefined.
|
|
9
|
-
*
|
|
10
|
-
* @param fn - Function that returns commands
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```ts
|
|
14
|
-
* commands.add(() => ({
|
|
15
|
-
* id: 'my-command',
|
|
16
|
-
* label: 'My Command',
|
|
17
|
-
* callback: () => console.log('executed'),
|
|
18
|
-
* }))
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
add: (fn: CommandsProviderFunction) => void;
|
|
22
|
-
/**
|
|
23
|
-
* Unregister a command provider function.
|
|
24
|
-
*
|
|
25
|
-
* Removes a previously registered function so it no longer provides commands.
|
|
26
|
-
*
|
|
27
|
-
* @param fn - The function to remove (must be the same reference used in add)
|
|
28
|
-
*/
|
|
29
|
-
remove: (fn: CommandsProviderFunction) => void;
|
|
30
|
-
/**
|
|
31
|
-
* Get all commands from all registered providers.
|
|
32
|
-
*
|
|
33
|
-
* Calls all registered provider functions, flattens the results,
|
|
34
|
-
* and filters out undefined values.
|
|
35
|
-
*
|
|
36
|
-
* @returns Array of all available commands
|
|
37
|
-
*/
|
|
38
|
-
getCommands: () => Command[];
|
|
39
|
-
};
|
|
40
|
-
export default function (): CommandsProvider;
|
|
41
|
-
export {};
|