@blokkli/editor 2.0.0-alpha.28 → 2.0.0-alpha.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/global/constants/index.d.ts +6 -0
- package/dist/global/constants/index.js +10 -0
- package/dist/global/types/adapter.d.ts +6 -0
- package/dist/global/types/blockOptions.d.ts +348 -0
- package/dist/global/types/definitions.d.ts +278 -0
- package/dist/global/types/features.d.ts +87 -0
- package/dist/module.d.mts +25 -7
- package/dist/module.json +1 -1
- package/dist/module.mjs +1026 -187
- package/dist/modules/drupal/graphql/features/import-existing.graphql +9 -2
- package/dist/modules/drupal/graphql/features/library.graphql +9 -2
- package/dist/modules/drupal/graphql/features/media-library.graphql +6 -14
- package/dist/modules/drupal/graphql/features/publishNew.graphql +3 -0
- package/dist/modules/drupal/index.d.mts +6 -5
- package/dist/modules/drupal/index.mjs +2 -4
- package/dist/modules/drupal/runtime/adapter/index.d.ts +1 -2
- package/dist/modules/drupal/runtime/adapter/index.js +36 -28
- package/dist/runtime/components/Blocks/Fragment/index.d.vue.ts +7 -0
- package/dist/runtime/components/Blocks/Fragment/index.vue +3 -2
- package/dist/runtime/components/Blocks/Fragment/index.vue.d.ts +2 -1
- package/dist/runtime/components/Blocks/FromLibrary/index.d.vue.ts +7 -0
- package/dist/runtime/components/Blocks/FromLibrary/index.vue +7 -3
- package/dist/runtime/components/Blocks/FromLibrary/index.vue.d.ts +3 -2
- package/dist/runtime/components/Blocks/NotImplemented/index.d.vue.ts +7 -0
- package/dist/runtime/components/Blocks/NotImplemented/index.vue +3 -3
- package/dist/runtime/components/Blocks/NotImplemented/index.vue.d.ts +2 -1
- package/dist/runtime/components/BlokkliEditable.d.vue.ts +33 -0
- package/dist/runtime/components/BlokkliEditable.vue +12 -3
- package/dist/runtime/components/BlokkliEditable.vue.d.ts +3 -2
- package/dist/runtime/components/BlokkliField.d.vue.ts +96 -0
- package/dist/runtime/components/BlokkliField.vue +6 -23
- package/dist/runtime/components/BlokkliField.vue.d.ts +8 -5
- package/dist/runtime/components/BlokkliItem.d.vue.ts +31 -0
- package/dist/runtime/components/BlokkliItem.vue +25 -26
- package/dist/runtime/components/BlokkliItem.vue.d.ts +8 -7
- package/dist/runtime/components/BlokkliProvider.d.vue.ts +77 -0
- package/dist/runtime/components/BlokkliProvider.vue +6 -6
- package/dist/runtime/components/BlokkliProvider.vue.d.ts +12 -7
- package/dist/runtime/composables/defineBlokkli.d.ts +1 -1
- package/dist/runtime/composables/defineBlokkli.js +19 -22
- package/dist/runtime/composables/defineBlokkliFeature.d.ts +3 -3
- package/dist/runtime/composables/defineBlokkliFeature.js +2 -2
- package/dist/runtime/composables/defineBlokkliFragment.d.ts +1 -1
- package/dist/runtime/composables/defineBlokkliFragment.js +2 -5
- package/dist/runtime/composables/defineBlokkliProvider.d.ts +1 -1
- package/dist/runtime/composables/defineBlokkliProvider.js +1 -1
- package/dist/runtime/composables/useBlokkli.d.ts +1 -1
- package/dist/runtime/composables/useBlokkli.js +1 -1
- package/dist/runtime/composables/useBlokkliHelper.d.ts +2 -1
- package/dist/runtime/composables/useBlokkliHelper.js +5 -11
- package/dist/runtime/editor/adapter/index.d.ts +121 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown.vue +66 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Actions/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Actions/index.vue +216 -0
- package/dist/runtime/editor/components/Actions/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/AddListItem/index.d.vue.ts +20 -0
- package/dist/runtime/editor/components/AddListItem/index.vue +66 -0
- package/dist/runtime/editor/components/AddListItem/index.vue.d.ts +20 -0
- package/dist/runtime/editor/components/AnimationCanvas/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/AnimationCanvas/index.vue +455 -0
- package/dist/runtime/editor/components/AnimationCanvas/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/AppMenu/MenuButton.d.vue.ts +29 -0
- package/dist/runtime/editor/components/AppMenu/MenuButton.vue +39 -0
- package/dist/runtime/editor/components/AppMenu/MenuButton.vue.d.ts +29 -0
- package/dist/runtime/editor/components/AppMenu/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/AppMenu/index.vue +85 -0
- package/dist/runtime/editor/components/AppMenu/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/ArtboardTooltip/index.d.vue.ts +33 -0
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue +89 -0
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue.d.ts +33 -0
- package/dist/runtime/editor/components/Banner/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/Banner/index.vue +51 -0
- package/dist/runtime/editor/components/Banner/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/BlockProxy/index.d.vue.ts +11 -0
- package/dist/runtime/editor/components/BlockProxy/index.vue +88 -0
- package/dist/runtime/editor/components/BlockProxy/index.vue.d.ts +11 -0
- package/dist/runtime/editor/components/BlokkliErrorBoundary.d.vue.ts +27 -0
- package/dist/runtime/editor/components/BlokkliErrorBoundary.vue +47 -0
- package/dist/runtime/editor/components/BlokkliErrorBoundary.vue.d.ts +27 -0
- package/dist/runtime/editor/components/BlokkliRootErrorBoundary.d.vue.ts +13 -0
- package/dist/runtime/editor/components/BlokkliRootErrorBoundary.vue +96 -0
- package/dist/runtime/editor/components/BlokkliRootErrorBoundary.vue.d.ts +13 -0
- package/dist/runtime/editor/components/BundleSelector/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/BundleSelector/index.vue +187 -0
- package/dist/runtime/editor/components/BundleSelector/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/Dialog/index.d.vue.ts +49 -0
- package/dist/runtime/editor/components/Dialog/index.vue +134 -0
- package/dist/runtime/editor/components/Dialog/index.vue.d.ts +49 -0
- package/dist/runtime/editor/components/DiffViewer/State.d.vue.ts +17 -0
- package/dist/runtime/editor/components/DiffViewer/State.vue +276 -0
- package/dist/runtime/editor/components/DiffViewer/State.vue.d.ts +17 -0
- package/dist/runtime/editor/components/DraggableList.d.vue.ts +29 -0
- package/dist/runtime/editor/components/DraggableList.vue +145 -0
- package/dist/runtime/editor/components/DraggableList.vue.d.ts +29 -0
- package/dist/runtime/editor/components/EditIndicator.d.vue.ts +15 -0
- package/dist/runtime/editor/components/EditIndicator.vue +151 -0
- package/dist/runtime/editor/components/EditIndicator.vue.d.ts +15 -0
- package/dist/runtime/editor/components/EditProvider.d.vue.ts +34 -0
- package/dist/runtime/editor/components/EditProvider.vue +388 -0
- package/dist/runtime/editor/components/EditProvider.vue.d.ts +34 -0
- package/dist/runtime/editor/components/FeaturesRenderer/index.d.vue.ts +7 -0
- package/dist/runtime/editor/components/FeaturesRenderer/index.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Form/Checkboxes/index.d.vue.ts +23 -0
- package/dist/runtime/editor/components/Form/Checkboxes/index.vue +49 -0
- package/dist/runtime/editor/components/Form/Checkboxes/index.vue.d.ts +23 -0
- package/dist/runtime/editor/components/Form/Datepicker/index.d.vue.ts +17 -0
- package/dist/runtime/editor/components/Form/Datepicker/index.vue +198 -0
- package/dist/runtime/editor/components/Form/Datepicker/index.vue.d.ts +17 -0
- package/dist/runtime/editor/components/Form/Group/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/Form/Group/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/Form/Item/index.d.vue.ts +13 -0
- package/dist/runtime/editor/components/Form/Item/index.vue.d.ts +13 -0
- package/dist/runtime/editor/components/Form/Radio/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/Form/Radio/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Form/RadioTabs/index.d.vue.ts +24 -0
- package/dist/runtime/editor/components/Form/RadioTabs/index.vue.d.ts +24 -0
- package/dist/runtime/editor/components/Form/Select/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/Form/Select/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Form/Text/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/Form/Text/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Form/Textarea/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/Form/Textarea/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Form/Toggle/index.d.vue.ts +26 -0
- package/dist/runtime/editor/components/Form/Toggle/index.vue.d.ts +26 -0
- package/dist/runtime/editor/components/FormOverlay/Header/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/FormOverlay/Header/index.vue +28 -0
- package/dist/runtime/editor/components/FormOverlay/Header/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/FormOverlay/index.d.vue.ts +27 -0
- package/dist/runtime/editor/components/FormOverlay/index.vue +55 -0
- package/dist/runtime/editor/components/FormOverlay/index.vue.d.ts +27 -0
- package/dist/runtime/editor/components/Highlight/index.d.vue.ts +21 -0
- package/dist/runtime/editor/components/Highlight/index.vue.d.ts +21 -0
- package/dist/runtime/editor/components/Icon/index.d.vue.ts +8 -0
- package/dist/runtime/editor/components/Icon/index.vue +20 -0
- package/dist/runtime/editor/components/Icon/index.vue.d.ts +8 -0
- package/dist/runtime/editor/components/Indicators/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Indicators/index.vue +123 -0
- package/dist/runtime/editor/components/Indicators/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/InfoBox/index.d.vue.ts +21 -0
- package/dist/runtime/editor/components/InfoBox/index.vue +18 -0
- package/dist/runtime/editor/components/InfoBox/index.vue.d.ts +21 -0
- package/dist/runtime/editor/components/ItemIcon/index.d.vue.ts +7 -0
- package/dist/runtime/editor/components/ItemIcon/index.vue +36 -0
- package/dist/runtime/editor/components/ItemIcon/index.vue.d.ts +7 -0
- package/dist/runtime/editor/components/ItemIconBox/index.d.vue.ts +18 -0
- package/dist/runtime/editor/components/ItemIconBox/index.vue +40 -0
- package/dist/runtime/editor/components/ItemIconBox/index.vue.d.ts +18 -0
- package/dist/runtime/editor/components/Konami/Game/PixelGrid.d.vue.ts +8 -0
- package/dist/runtime/editor/components/Konami/Game/PixelGrid.vue +66 -0
- package/dist/runtime/editor/components/Konami/Game/PixelGrid.vue.d.ts +8 -0
- package/dist/runtime/editor/components/Konami/Game/index.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Konami/Game/index.vue +751 -0
- package/dist/runtime/editor/components/Konami/Game/index.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Konami/Game/useIconRendering.d.ts +9 -0
- package/dist/runtime/editor/components/Konami/Game/useIconRendering.js +131 -0
- package/dist/runtime/editor/components/Konami/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Konami/index.vue +42 -0
- package/dist/runtime/editor/components/Konami/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Loading/index.d.vue.ts +9 -0
- package/dist/runtime/editor/components/Loading/index.vue +22 -0
- package/dist/runtime/editor/components/Loading/index.vue.d.ts +9 -0
- package/dist/runtime/editor/components/Messages/Item/index.d.vue.ts +12 -0
- package/dist/runtime/editor/components/Messages/Item/index.vue +105 -0
- package/dist/runtime/editor/components/Messages/Item/index.vue.d.ts +12 -0
- package/dist/runtime/editor/components/Messages/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Messages/index.vue +41 -0
- package/dist/runtime/editor/components/Messages/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Overlay/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Overlay/index.vue +70 -0
- package/dist/runtime/editor/components/Overlay/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Pagination/index.d.vue.ts +14 -0
- package/dist/runtime/editor/components/Pagination/index.vue +19 -0
- package/dist/runtime/editor/components/Pagination/index.vue.d.ts +14 -0
- package/dist/runtime/editor/components/PluginConfigForm/Checkbox/index.d.vue.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Checkbox/index.vue +17 -0
- package/dist/runtime/editor/components/PluginConfigForm/Checkbox/index.vue.d.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Options/index.d.vue.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Options/index.vue +37 -0
- package/dist/runtime/editor/components/PluginConfigForm/Options/index.vue.d.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Text/index.d.vue.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Text/index.vue +43 -0
- package/dist/runtime/editor/components/PluginConfigForm/Text/index.vue.d.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/index.d.vue.ts +30 -0
- package/dist/runtime/editor/components/PluginConfigForm/index.vue +59 -0
- package/dist/runtime/editor/components/PluginConfigForm/index.vue.d.ts +30 -0
- package/dist/runtime/editor/components/PreviewProvider.d.vue.ts +29 -0
- package/dist/runtime/editor/components/PreviewProvider.vue +176 -0
- package/dist/runtime/editor/components/PreviewProvider.vue.d.ts +29 -0
- package/dist/runtime/editor/components/RelativeTime/index.d.vue.ts +16 -0
- package/dist/runtime/editor/components/RelativeTime/index.vue +59 -0
- package/dist/runtime/editor/components/RelativeTime/index.vue.d.ts +16 -0
- package/dist/runtime/editor/components/Resizable/index.d.vue.ts +14 -0
- package/dist/runtime/editor/components/Resizable/index.vue.d.ts +14 -0
- package/dist/runtime/editor/components/ScaleToFit/index.d.vue.ts +16 -0
- package/dist/runtime/editor/components/ScaleToFit/index.vue +70 -0
- package/dist/runtime/editor/components/ScaleToFit/index.vue.d.ts +16 -0
- package/dist/runtime/editor/components/ScheduleDate/index.d.vue.ts +25 -0
- package/dist/runtime/editor/components/ScheduleDate/index.vue +131 -0
- package/dist/runtime/editor/components/ScheduleDate/index.vue.d.ts +25 -0
- package/dist/runtime/editor/components/ScrollBoundary/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/ScrollBoundary/index.vue +23 -0
- package/dist/runtime/editor/components/ScrollBoundary/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/ShortcutIndicator/index.d.vue.ts +21 -0
- package/dist/runtime/editor/components/ShortcutIndicator/index.vue +85 -0
- package/dist/runtime/editor/components/ShortcutIndicator/index.vue.d.ts +21 -0
- package/dist/runtime/editor/components/Sortli/index.d.vue.ts +17 -0
- package/dist/runtime/editor/components/Sortli/index.vue +81 -0
- package/dist/runtime/editor/components/Sortli/index.vue.d.ts +17 -0
- package/dist/runtime/editor/components/SystemRequirements/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/SystemRequirements/index.vue +81 -0
- package/dist/runtime/editor/components/SystemRequirements/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Toolbar/index.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Toolbar/index.vue +89 -0
- package/dist/runtime/editor/components/Toolbar/index.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Transition/Height.d.vue.ts +37 -0
- package/dist/runtime/editor/components/Transition/Height.vue.d.ts +37 -0
- package/dist/runtime/editor/components/Transition/index.d.vue.ts +20 -0
- package/dist/runtime/editor/components/Transition/index.vue.d.ts +20 -0
- package/dist/runtime/editor/components/ViewportBlockingRect/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/ViewportBlockingRect/index.vue +60 -0
- package/dist/runtime/editor/components/ViewportBlockingRect/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/index.d.ts +37 -0
- package/dist/runtime/editor/components/index.js +74 -0
- package/dist/runtime/editor/composables/defineAddAction.d.ts +2 -0
- package/dist/runtime/editor/composables/defineAddAction.js +10 -0
- package/dist/runtime/editor/composables/defineCommands.d.ts +2 -0
- package/dist/runtime/editor/composables/defineCommands.js +10 -0
- package/dist/runtime/editor/composables/defineDropAreas.d.ts +3 -0
- package/dist/runtime/editor/composables/defineDropAreas.js +10 -0
- package/dist/runtime/editor/composables/defineItemDropdownAction.d.ts +2 -0
- package/dist/runtime/editor/composables/defineItemDropdownAction.js +10 -0
- package/dist/runtime/editor/composables/defineMenuButton.d.ts +2 -0
- package/dist/runtime/editor/composables/defineMenuButton.js +10 -0
- package/dist/runtime/editor/composables/defineRenderer.d.ts +11 -0
- package/dist/runtime/editor/composables/defineRenderer.js +9 -0
- package/dist/runtime/editor/composables/defineShortcut.d.ts +2 -0
- package/dist/runtime/editor/composables/defineShortcut.js +18 -0
- package/dist/runtime/editor/composables/defineTourItem.d.ts +2 -0
- package/dist/runtime/editor/composables/defineTourItem.js +10 -0
- package/dist/runtime/editor/composables/index.d.ts +22 -0
- package/dist/runtime/editor/composables/index.js +22 -0
- package/dist/runtime/editor/composables/onBlokkliEvent.d.ts +2 -0
- package/dist/runtime/editor/composables/onBlokkliEvent.js +10 -0
- package/dist/runtime/editor/composables/onBroadcastEvent.d.ts +2 -0
- package/dist/runtime/editor/composables/onBroadcastEvent.js +10 -0
- package/dist/runtime/editor/composables/useAnimationFrame.d.ts +1 -0
- package/dist/runtime/editor/composables/useAnimationFrame.js +14 -0
- package/dist/runtime/editor/composables/useDebugLogger.d.ts +2 -0
- package/dist/runtime/editor/composables/useDebugLogger.js +5 -0
- package/dist/runtime/editor/composables/useDelayedIntersectionObserver.d.ts +5 -0
- package/dist/runtime/editor/composables/useDelayedIntersectionObserver.js +27 -0
- package/dist/runtime/editor/composables/useDialog.d.ts +3 -0
- package/dist/runtime/editor/composables/useFocusTrap.d.ts +52 -0
- package/dist/runtime/editor/composables/useFocusTrap.js +59 -0
- package/dist/runtime/editor/composables/useGlobalBlokkliObject.d.ts +16 -0
- package/dist/runtime/editor/composables/useStateBasedCache.d.ts +4 -0
- package/dist/runtime/editor/composables/useStateBasedCache.js +13 -0
- package/dist/runtime/editor/composables/useStickyToolbar.d.ts +23 -0
- package/dist/runtime/editor/composables/useStickyToolbar.js +234 -0
- package/dist/runtime/editor/composables/useTransitionedValue.d.ts +18 -0
- package/dist/runtime/editor/composables/useTransitionedValue.js +57 -0
- package/dist/runtime/editor/css/output.css +1 -0
- package/dist/runtime/editor/events/index.d.ts +228 -0
- package/dist/runtime/editor/events/index.js +6 -0
- package/dist/runtime/editor/features/add-list/Actions/Action.d.vue.ts +8 -0
- package/dist/runtime/editor/features/add-list/Actions/Action.vue +53 -0
- package/dist/runtime/editor/features/add-list/Actions/Action.vue.d.ts +8 -0
- package/dist/runtime/editor/features/add-list/Actions/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/add-list/Actions/index.vue +41 -0
- package/dist/runtime/editor/features/add-list/Actions/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/add-list/Blocks/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/add-list/Blocks/index.vue +274 -0
- package/dist/runtime/editor/features/add-list/Blocks/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/add-list/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/add-list/index.vue +148 -0
- package/dist/runtime/editor/features/add-list/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/add-list/types.d.ts +19 -0
- package/dist/runtime/editor/features/add-list/types.js +0 -0
- package/dist/runtime/editor/features/analyze/Icon.d.vue.ts +6 -0
- package/dist/runtime/editor/features/analyze/Icon.vue.d.ts +6 -0
- package/dist/runtime/editor/features/analyze/Main.d.vue.ts +16 -0
- package/dist/runtime/editor/features/analyze/Main.vue +385 -0
- package/dist/runtime/editor/features/analyze/Main.vue.d.ts +16 -0
- package/dist/runtime/editor/features/analyze/Renderer/index.d.vue.ts +22 -0
- package/dist/runtime/editor/features/analyze/Renderer/index.vue +259 -0
- package/dist/runtime/editor/features/analyze/Renderer/index.vue.d.ts +22 -0
- package/dist/runtime/editor/features/analyze/Results/Results.d.vue.ts +15 -0
- package/dist/runtime/editor/features/analyze/Results/Results.vue +102 -0
- package/dist/runtime/editor/features/analyze/Results/Results.vue.d.ts +15 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.d.vue.ts +23 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue +56 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue.d.ts +23 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.d.vue.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue +80 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue.d.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.d.vue.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue +123 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue.d.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/Status.d.vue.ts +9 -0
- package/dist/runtime/editor/features/analyze/Results/Status.vue.d.ts +9 -0
- package/dist/runtime/editor/features/analyze/Summary/Chart.d.vue.ts +18 -0
- package/dist/runtime/editor/features/analyze/Summary/Chart.vue.d.ts +18 -0
- package/dist/runtime/editor/features/analyze/Summary/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/analyze/Summary/index.vue +77 -0
- package/dist/runtime/editor/features/analyze/Summary/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/analyze/analyzers/axe.d.ts +12 -0
- package/dist/runtime/editor/features/analyze/analyzers/axe.js +78 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/Context.d.ts +33 -0
- package/dist/runtime/editor/features/analyze/analyzers/readability.js +206 -0
- package/dist/runtime/editor/features/analyze/analyzers/types.js +0 -0
- package/dist/runtime/editor/features/analyze/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/analyze/index.vue +69 -0
- package/dist/runtime/editor/features/analyze/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/analyze/types.d.ts +6 -0
- package/dist/runtime/editor/features/analyze/types.js +0 -0
- package/dist/runtime/editor/features/anchors/Overlay/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/anchors/Overlay/index.vue +53 -0
- package/dist/runtime/editor/features/anchors/Overlay/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/anchors/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/anchors/index.vue +32 -0
- package/dist/runtime/editor/features/anchors/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/anchors/types.d.ts +8 -0
- package/dist/runtime/editor/features/anchors/types.js +0 -0
- package/dist/runtime/editor/features/artboard/Overview/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/artboard/Overview/index.vue +122 -0
- package/dist/runtime/editor/features/artboard/Overview/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/artboard/Renderer.d.vue.ts +8 -0
- package/dist/runtime/editor/features/artboard/Renderer.vue +322 -0
- package/dist/runtime/editor/features/artboard/Renderer.vue.d.ts +8 -0
- package/dist/runtime/editor/features/artboard/Scrollbar/index.d.vue.ts +8 -0
- package/dist/runtime/editor/features/artboard/Scrollbar/index.vue.d.ts +8 -0
- package/dist/runtime/editor/features/artboard/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/artboard/index.vue +92 -0
- package/dist/runtime/editor/features/artboard/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/assistant/Overlay/index.d.vue.ts +9 -0
- package/dist/runtime/editor/features/assistant/Overlay/index.vue +108 -0
- package/dist/runtime/editor/features/assistant/Overlay/index.vue.d.ts +9 -0
- package/dist/runtime/editor/features/assistant/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/assistant/index.vue +65 -0
- package/dist/runtime/editor/features/assistant/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/assistant/types.d.ts +37 -0
- package/dist/runtime/editor/features/assistant/types.js +0 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.d.vue.ts +29 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.vue +154 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.vue.d.ts +29 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/index.vue +232 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/block-scheduler/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/block-scheduler/index.vue +96 -0
- package/dist/runtime/editor/features/block-scheduler/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/block-scheduler/types.d.ts +25 -0
- package/dist/runtime/editor/features/block-scheduler/types.js +0 -0
- package/dist/runtime/editor/features/breadcrumbs/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/breadcrumbs/index.vue +206 -0
- package/dist/runtime/editor/features/breadcrumbs/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/clipboard/List/Item/File.d.vue.ts +4 -0
- package/dist/runtime/editor/features/clipboard/List/Item/File.vue.d.ts +4 -0
- package/dist/runtime/editor/features/clipboard/List/Item/Video.d.vue.ts +4 -0
- package/dist/runtime/editor/features/clipboard/List/Item/Video.vue +54 -0
- package/dist/runtime/editor/features/clipboard/List/Item/Video.vue.d.ts +4 -0
- package/dist/runtime/editor/features/clipboard/List/index.d.vue.ts +11 -0
- package/dist/runtime/editor/features/clipboard/List/index.vue +72 -0
- package/dist/runtime/editor/features/clipboard/List/index.vue.d.ts +11 -0
- package/dist/runtime/editor/features/clipboard/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/clipboard/index.vue +606 -0
- package/dist/runtime/editor/features/clipboard/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/clipboard/types.d.ts +99 -0
- package/dist/runtime/editor/features/clipboard/types.js +0 -0
- package/dist/runtime/editor/features/command-palette/Palette/Item/index.d.vue.ts +20 -0
- package/dist/runtime/editor/features/command-palette/Palette/Item/index.vue +49 -0
- package/dist/runtime/editor/features/command-palette/Palette/Item/index.vue.d.ts +20 -0
- package/dist/runtime/editor/features/command-palette/Palette/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/command-palette/Palette/index.vue +229 -0
- package/dist/runtime/editor/features/command-palette/Palette/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/command-palette/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/command-palette/index.vue +51 -0
- package/dist/runtime/editor/features/command-palette/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/command-palette/types.d.ts +11 -0
- package/dist/runtime/editor/features/command-palette/types.js +0 -0
- package/dist/runtime/editor/features/comments/AddForm/index.d.vue.ts +11 -0
- package/dist/runtime/editor/features/comments/AddForm/index.vue +44 -0
- package/dist/runtime/editor/features/comments/AddForm/index.vue.d.ts +11 -0
- package/dist/runtime/editor/features/comments/Comment/index.d.vue.ts +24 -0
- package/dist/runtime/editor/features/comments/Comment/index.vue +45 -0
- package/dist/runtime/editor/features/comments/Comment/index.vue.d.ts +24 -0
- package/dist/runtime/editor/features/comments/CommentInput/index.d.vue.ts +15 -0
- package/dist/runtime/editor/features/comments/CommentInput/index.vue.d.ts +15 -0
- package/dist/runtime/editor/features/comments/Overlay/Item/index.d.vue.ts +21 -0
- package/dist/runtime/editor/features/comments/Overlay/Item/index.vue +94 -0
- package/dist/runtime/editor/features/comments/Overlay/Item/index.vue.d.ts +21 -0
- package/dist/runtime/editor/features/comments/Overlay/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/comments/Overlay/index.vue +113 -0
- package/dist/runtime/editor/features/comments/Overlay/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/comments/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/comments/index.vue +112 -0
- package/dist/runtime/editor/features/comments/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/comments/types.d.ts +26 -0
- package/dist/runtime/editor/features/comments/types.js +0 -0
- package/dist/runtime/editor/features/conversions/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/conversions/index.vue +84 -0
- package/dist/runtime/editor/features/conversions/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/conversions/types.d.ts +16 -0
- package/dist/runtime/editor/features/conversions/types.js +0 -0
- package/dist/runtime/editor/features/debug/DebugSection.d.vue.ts +17 -0
- package/dist/runtime/editor/features/debug/DebugSection.vue.d.ts +17 -0
- package/dist/runtime/editor/features/debug/Main.d.vue.ts +7 -0
- package/dist/runtime/editor/features/debug/Main.vue +80 -0
- package/dist/runtime/editor/features/debug/Main.vue.d.ts +7 -0
- package/dist/runtime/editor/features/debug/Rects/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Rects/index.vue +61 -0
- package/dist/runtime/editor/features/debug/Rects/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Features.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Features.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Icons.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Icons.vue +17 -0
- package/dist/runtime/editor/features/debug/Section/Icons.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Keyboard.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Keyboard.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Logging.d.vue.ts +7 -0
- package/dist/runtime/editor/features/debug/Section/Logging.vue +66 -0
- package/dist/runtime/editor/features/debug/Section/Logging.vue.d.ts +7 -0
- package/dist/runtime/editor/features/debug/Section/Rendering.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Rendering.vue +96 -0
- package/dist/runtime/editor/features/debug/Section/Rendering.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Selection.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Selection.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Viewport/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Viewport/index.vue +98 -0
- package/dist/runtime/editor/features/debug/Viewport/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/index.vue +31 -0
- package/dist/runtime/editor/features/debug/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/delete/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/delete/index.vue +68 -0
- package/dist/runtime/editor/features/delete/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/delete/types.d.ts +8 -0
- package/dist/runtime/editor/features/delete/types.js +0 -0
- package/dist/runtime/editor/features/dev-mode/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/dev-mode/index.vue +38 -0
- package/dist/runtime/editor/features/dev-mode/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/diff/DiffView/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/diff/DiffView/index.vue +20 -0
- package/dist/runtime/editor/features/diff/DiffView/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/diff/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/diff/index.vue +35 -0
- package/dist/runtime/editor/features/diff/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/DragItem.d.vue.ts +26 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/DragItem.vue +113 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/DragItem.vue.d.ts +26 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.d.vue.ts +29 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.vue +254 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.vue.d.ts +29 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.d.vue.ts +29 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue +818 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue.d.ts +29 -0
- package/dist/runtime/editor/features/dragging-overlay/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/dragging-overlay/index.vue +438 -0
- package/dist/runtime/editor/features/dragging-overlay/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/duplicate/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/duplicate/index.vue +105 -0
- package/dist/runtime/editor/features/duplicate/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/duplicate/types.d.ts +8 -0
- package/dist/runtime/editor/features/duplicate/types.js +0 -0
- package/dist/runtime/editor/features/edit/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/edit/index.vue +76 -0
- package/dist/runtime/editor/features/edit/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/edit/types.d.ts +9 -0
- package/dist/runtime/editor/features/edit/types.js +0 -0
- package/dist/runtime/editor/features/edit-form/Frame/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/edit-form/Frame/index.vue +70 -0
- package/dist/runtime/editor/features/edit-form/Frame/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/edit-form/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/edit-form/index.vue +176 -0
- package/dist/runtime/editor/features/edit-form/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Contenteditable/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Contenteditable/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue +116 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.d.vue.ts +20 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.vue +81 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.vue.d.ts +20 -0
- package/dist/runtime/editor/features/editable-field/Overlay/index.d.vue.ts +17 -0
- package/dist/runtime/editor/features/editable-field/Overlay/index.vue +317 -0
- package/dist/runtime/editor/features/editable-field/Overlay/index.vue.d.ts +17 -0
- package/dist/runtime/editor/features/editable-field/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/editable-field/index.vue +150 -0
- package/dist/runtime/editor/features/editable-field/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/editable-field/types.d.ts +54 -0
- package/dist/runtime/editor/features/editable-field/types.js +0 -0
- package/dist/runtime/editor/features/editable-mask/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/editable-mask/index.vue +39 -0
- package/dist/runtime/editor/features/editable-mask/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/entity-title/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/entity-title/index.vue +136 -0
- package/dist/runtime/editor/features/entity-title/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/exit/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/exit/index.vue +38 -0
- package/dist/runtime/editor/features/exit/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/fragments/Dialog/Item/index.d.vue.ts +9 -0
- package/dist/runtime/editor/features/fragments/Dialog/Item/index.vue +58 -0
- package/dist/runtime/editor/features/fragments/Dialog/Item/index.vue.d.ts +9 -0
- package/dist/runtime/editor/features/fragments/Dialog/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/fragments/Dialog/index.vue +122 -0
- package/dist/runtime/editor/features/fragments/Dialog/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/fragments/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/fragments/index.vue +75 -0
- package/dist/runtime/editor/features/fragments/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/fragments/types.d.ts +14 -0
- package/dist/runtime/editor/features/fragments/types.js +0 -0
- package/dist/runtime/editor/features/grid/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/grid/index.vue +37 -0
- package/dist/runtime/editor/features/grid/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/grid/types.d.ts +8 -0
- package/dist/runtime/editor/features/grid/types.js +0 -0
- package/dist/runtime/editor/features/help/Shortcuts/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/help/Shortcuts/index.vue +60 -0
- package/dist/runtime/editor/features/help/Shortcuts/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/help/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/help/index.vue +49 -0
- package/dist/runtime/editor/features/help/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/history/List/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/history/List/index.vue +128 -0
- package/dist/runtime/editor/features/history/List/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/history/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/history/index.vue +151 -0
- package/dist/runtime/editor/features/history/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/history/types.d.ts +12 -0
- package/dist/runtime/editor/features/history/types.js +0 -0
- package/dist/runtime/editor/features/hover/Renderer/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/hover/Renderer/index.vue +448 -0
- package/dist/runtime/editor/features/hover/Renderer/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/hover/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/hover/index.vue +28 -0
- package/dist/runtime/editor/features/hover/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/import-existing/Dialog/index.d.vue.ts +15 -0
- package/dist/runtime/editor/features/import-existing/Dialog/index.vue +122 -0
- package/dist/runtime/editor/features/import-existing/Dialog/index.vue.d.ts +15 -0
- package/dist/runtime/editor/features/import-existing/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/import-existing/index.vue +80 -0
- package/dist/runtime/editor/features/import-existing/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/import-existing/types.d.ts +23 -0
- package/dist/runtime/editor/features/import-existing/types.js +0 -0
- package/dist/runtime/editor/features/library/EditReusable/index.d.vue.ts +14 -0
- package/dist/runtime/editor/features/library/EditReusable/index.vue +165 -0
- package/dist/runtime/editor/features/library/EditReusable/index.vue.d.ts +14 -0
- package/dist/runtime/editor/features/library/LibraryDialog/Item/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/library/LibraryDialog/Item/index.vue +67 -0
- package/dist/runtime/editor/features/library/LibraryDialog/Item/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/library/LibraryDialog/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/library/LibraryDialog/index.vue +143 -0
- package/dist/runtime/editor/features/library/LibraryDialog/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/library/ReusableDialog/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/library/ReusableDialog/index.vue +99 -0
- package/dist/runtime/editor/features/library/ReusableDialog/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/library/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/library/index.vue +195 -0
- package/dist/runtime/editor/features/library/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/library/types.d.ts +80 -0
- package/dist/runtime/editor/features/library/types.js +0 -0
- package/dist/runtime/editor/features/media-library/Library/Item.d.vue.ts +22 -0
- package/dist/runtime/editor/features/media-library/Library/Item.vue +41 -0
- package/dist/runtime/editor/features/media-library/Library/Item.vue.d.ts +22 -0
- package/dist/runtime/editor/features/media-library/Library/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/media-library/Library/index.vue +195 -0
- package/dist/runtime/editor/features/media-library/Library/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/media-library/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/media-library/index.vue +108 -0
- package/dist/runtime/editor/features/media-library/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/media-library/types.d.ts +85 -0
- package/dist/runtime/editor/features/media-library/types.js +0 -0
- package/dist/runtime/editor/features/multi-select/Renderer/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/multi-select/Renderer/index.vue +297 -0
- package/dist/runtime/editor/features/multi-select/Renderer/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/multi-select/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/multi-select/index.vue +69 -0
- package/dist/runtime/editor/features/multi-select/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/options/Form/Checkbox/index.d.vue.ts +17 -0
- package/dist/runtime/editor/features/options/Form/Checkbox/index.vue +46 -0
- package/dist/runtime/editor/features/options/Form/Checkbox/index.vue.d.ts +17 -0
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.d.vue.ts +25 -0
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue +112 -0
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue.d.ts +25 -0
- package/dist/runtime/editor/features/options/Form/Color/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/options/Form/Color/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/options/Form/DateTimeLocal/index.d.vue.ts +21 -0
- package/dist/runtime/editor/features/options/Form/DateTimeLocal/index.vue.d.ts +21 -0
- package/dist/runtime/editor/features/options/Form/Group.d.vue.ts +21 -0
- package/dist/runtime/editor/features/options/Form/Group.vue +23 -0
- package/dist/runtime/editor/features/options/Form/Group.vue.d.ts +21 -0
- package/dist/runtime/editor/features/options/Form/Item.d.vue.ts +14 -0
- package/dist/runtime/editor/features/options/Form/Item.vue +186 -0
- package/dist/runtime/editor/features/options/Form/Item.vue.d.ts +14 -0
- package/dist/runtime/editor/features/options/Form/Number/index.d.vue.ts +22 -0
- package/dist/runtime/editor/features/options/Form/Number/index.vue +64 -0
- package/dist/runtime/editor/features/options/Form/Number/index.vue.d.ts +22 -0
- package/dist/runtime/editor/features/options/Form/Radios/index.d.vue.ts +37 -0
- package/dist/runtime/editor/features/options/Form/Radios/index.vue +129 -0
- package/dist/runtime/editor/features/options/Form/Radios/index.vue.d.ts +37 -0
- package/dist/runtime/editor/features/options/Form/Range/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/options/Form/Range/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/options/Form/Text/index.d.vue.ts +18 -0
- package/dist/runtime/editor/features/options/Form/Text/index.vue.d.ts +18 -0
- package/dist/runtime/editor/features/options/Form/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/options/Form/index.vue +382 -0
- package/dist/runtime/editor/features/options/Form/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/options/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/options/index.vue +85 -0
- package/dist/runtime/editor/features/options/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/options/types.d.ts +21 -0
- package/dist/runtime/editor/features/options/types.js +0 -0
- package/dist/runtime/editor/features/ownership/Banner/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/ownership/Banner/index.vue +35 -0
- package/dist/runtime/editor/features/ownership/Banner/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/ownership/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/ownership/index.vue +32 -0
- package/dist/runtime/editor/features/ownership/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/ownership/types.d.ts +8 -0
- package/dist/runtime/editor/features/ownership/types.js +0 -0
- package/dist/runtime/editor/features/preview/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/preview/index.vue +41 -0
- package/dist/runtime/editor/features/preview/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/preview-grant/QrCode/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/preview-grant/QrCode/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/preview-grant/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/preview-grant/index.vue +71 -0
- package/dist/runtime/editor/features/preview-grant/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/preview-grant/types.d.ts +10 -0
- package/dist/runtime/editor/features/preview-grant/types.js +0 -0
- package/dist/runtime/editor/features/proxy-view/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/proxy-view/index.vue +40 -0
- package/dist/runtime/editor/features/proxy-view/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/publish/Dialog/Item.d.vue.ts +22 -0
- package/dist/runtime/editor/features/publish/Dialog/Item.vue +145 -0
- package/dist/runtime/editor/features/publish/Dialog/Item.vue.d.ts +22 -0
- package/dist/runtime/editor/features/publish/Dialog/PublishOption.d.vue.ts +21 -0
- package/dist/runtime/editor/features/publish/Dialog/PublishOption.vue +47 -0
- package/dist/runtime/editor/features/publish/Dialog/PublishOption.vue.d.ts +21 -0
- package/dist/runtime/editor/features/publish/Dialog/Summary.d.vue.ts +10 -0
- package/dist/runtime/editor/features/publish/Dialog/Summary.vue +83 -0
- package/dist/runtime/editor/features/publish/Dialog/Summary.vue.d.ts +10 -0
- package/dist/runtime/editor/features/publish/Dialog/index.d.vue.ts +9 -0
- package/dist/runtime/editor/features/publish/Dialog/index.vue +579 -0
- package/dist/runtime/editor/features/publish/Dialog/index.vue.d.ts +9 -0
- package/dist/runtime/editor/features/publish/Dialog/types.d.ts +7 -0
- package/dist/runtime/editor/features/publish/Dialog/types.js +0 -0
- package/dist/runtime/editor/features/publish/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/publish/index.vue +131 -0
- package/dist/runtime/editor/features/publish/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/publish/types.d.ts +109 -0
- package/dist/runtime/editor/features/publish/types.js +0 -0
- package/dist/runtime/editor/features/responsive-preview/Frame/index.d.vue.ts +17 -0
- package/dist/runtime/editor/features/responsive-preview/Frame/index.vue +76 -0
- package/dist/runtime/editor/features/responsive-preview/Frame/index.vue.d.ts +17 -0
- package/dist/runtime/editor/features/responsive-preview/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/responsive-preview/index.vue +193 -0
- package/dist/runtime/editor/features/responsive-preview/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/revert/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/revert/index.vue +68 -0
- package/dist/runtime/editor/features/revert/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/revert/types.d.ts +8 -0
- package/dist/runtime/editor/features/revert/types.js +0 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Content/index.d.vue.ts +18 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Content/index.vue +167 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Content/index.vue.d.ts +18 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Page/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Page/index.vue +172 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Page/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/search/Overlay/index.d.vue.ts +14 -0
- package/dist/runtime/editor/features/search/Overlay/index.vue +183 -0
- package/dist/runtime/editor/features/search/Overlay/index.vue.d.ts +14 -0
- package/dist/runtime/editor/features/search/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/search/index.vue +76 -0
- package/dist/runtime/editor/features/search/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/search/types.d.ts +73 -0
- package/dist/runtime/editor/features/search/types.js +0 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.d.vue.ts +33 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.vue +591 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.vue.d.ts +33 -0
- package/dist/runtime/editor/features/selection/AddButtons/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/selection/AddButtons/index.vue +395 -0
- package/dist/runtime/editor/features/selection/AddButtons/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/selection/Renderer/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/selection/Renderer/index.vue +279 -0
- package/dist/runtime/editor/features/selection/Renderer/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/selection/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/selection/index.vue +304 -0
- package/dist/runtime/editor/features/selection/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.vue +126 -0
- package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/settings/Dialog/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/settings/Dialog/index.vue +130 -0
- package/dist/runtime/editor/features/settings/Dialog/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/settings/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/settings/index.vue +77 -0
- package/dist/runtime/editor/features/settings/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/structure/List/Field/index.d.vue.ts +16 -0
- package/dist/runtime/editor/features/structure/List/Field/index.vue +145 -0
- package/dist/runtime/editor/features/structure/List/Field/index.vue.d.ts +16 -0
- package/dist/runtime/editor/features/structure/List/Item/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/structure/List/Item/index.vue +129 -0
- package/dist/runtime/editor/features/structure/List/Item/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/structure/List/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/structure/List/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/structure/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/structure/index.vue +75 -0
- package/dist/runtime/editor/features/structure/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/structure/types.d.ts +11 -0
- package/dist/runtime/editor/features/structure/types.js +0 -0
- package/dist/runtime/editor/features/theme/Color/index.d.vue.ts +8 -0
- package/dist/runtime/editor/features/theme/Color/index.vue +64 -0
- package/dist/runtime/editor/features/theme/Color/index.vue.d.ts +8 -0
- package/dist/runtime/editor/features/theme/GeneratedCode/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/theme/GeneratedCode/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/theme/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/theme/index.vue +109 -0
- package/dist/runtime/editor/features/theme/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/touch-action-bar/Bar/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/touch-action-bar/Bar/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/touch-action-bar/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/touch-action-bar/index.vue +40 -0
- package/dist/runtime/editor/features/touch-action-bar/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/tour/Overlay/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/tour/Overlay/index.vue +218 -0
- package/dist/runtime/editor/features/tour/Overlay/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/tour/Popup/index.d.vue.ts +9 -0
- package/dist/runtime/editor/features/tour/Popup/index.vue +34 -0
- package/dist/runtime/editor/features/tour/Popup/index.vue.d.ts +9 -0
- package/dist/runtime/editor/features/tour/docs.md +0 -0
- package/dist/runtime/editor/features/tour/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/tour/index.vue +44 -0
- package/dist/runtime/editor/features/tour/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/tour/types.d.ts +6 -0
- package/dist/runtime/editor/features/tour/types.js +0 -0
- package/dist/runtime/editor/features/transform/Dialog/index.d.vue.ts +14 -0
- package/dist/runtime/editor/features/transform/Dialog/index.vue +221 -0
- package/dist/runtime/editor/features/transform/Dialog/index.vue.d.ts +14 -0
- package/dist/runtime/editor/features/transform/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/transform/index.vue +247 -0
- package/dist/runtime/editor/features/transform/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/transform/types.d.ts +105 -0
- package/dist/runtime/editor/features/transform/types.js +0 -0
- package/dist/runtime/editor/features/translations/Banner/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/translations/Banner/index.vue +48 -0
- package/dist/runtime/editor/features/translations/Banner/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/translations/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/translations/index.vue +211 -0
- package/dist/runtime/editor/features/translations/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/translations/types.d.ts +16 -0
- package/dist/runtime/editor/features/translations/types.js +0 -0
- package/dist/runtime/editor/features/validations/Overlay/Item.d.vue.ts +7 -0
- package/dist/runtime/editor/features/validations/Overlay/Item.vue +36 -0
- package/dist/runtime/editor/features/validations/Overlay/Item.vue.d.ts +7 -0
- package/dist/runtime/editor/features/validations/Overlay/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/validations/Overlay/index.vue +42 -0
- package/dist/runtime/editor/features/validations/Overlay/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/validations/SidebarItem/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/validations/SidebarItem/index.vue +41 -0
- package/dist/runtime/editor/features/validations/SidebarItem/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/validations/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/validations/index.vue +64 -0
- package/dist/runtime/editor/features/validations/index.vue.d.ts +3 -0
- package/dist/runtime/editor/helpers/array/index.d.ts +1 -0
- package/dist/runtime/editor/helpers/array/index.js +4 -0
- package/dist/runtime/editor/helpers/bundles/index.js +8 -0
- package/dist/runtime/editor/helpers/color/index.d.ts +6 -0
- package/dist/runtime/editor/helpers/color/index.js +48 -0
- package/dist/runtime/editor/helpers/date/index.d.ts +0 -0
- package/dist/runtime/editor/helpers/date/index.js +0 -0
- package/dist/runtime/editor/helpers/dom/index.d.ts +75 -0
- package/dist/runtime/editor/helpers/dom/index.js +107 -0
- package/dist/runtime/editor/helpers/dragStyle/index.d.ts +12 -0
- package/dist/runtime/editor/helpers/dragStyle/index.js +93 -0
- package/dist/runtime/editor/helpers/dropTargets/index.d.ts +6 -0
- package/dist/runtime/editor/helpers/dropTargets/index.js +68 -0
- package/dist/runtime/editor/helpers/geometry/index.d.ts +43 -0
- package/dist/runtime/editor/helpers/geometry/index.js +191 -0
- package/dist/runtime/editor/helpers/math/index.d.ts +3 -0
- package/dist/runtime/editor/helpers/math/index.js +10 -0
- package/dist/runtime/editor/helpers/uuid/index.d.ts +1 -0
- package/dist/runtime/editor/helpers/uuid/index.js +18 -0
- package/dist/runtime/editor/helpers/webgl/index.d.ts +45 -0
- package/dist/runtime/editor/helpers/webgl/index.js +315 -0
- package/dist/runtime/editor/icons/material-icons.d.ts +12 -0
- package/dist/runtime/editor/icons/material-icons.js +1 -0
- package/dist/runtime/editor/plugins/BlockIndicator/index.d.vue.ts +65 -0
- package/dist/runtime/editor/plugins/BlockIndicator/index.vue +65 -0
- package/dist/runtime/editor/plugins/BlockIndicator/index.vue.d.ts +65 -0
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.d.vue.ts +13 -0
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.vue +75 -0
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.vue.d.ts +13 -0
- package/dist/runtime/editor/plugins/ContextMenu/index.d.vue.ts +36 -0
- package/dist/runtime/editor/plugins/ContextMenu/index.vue +39 -0
- package/dist/runtime/editor/plugins/ContextMenu/index.vue.d.ts +36 -0
- package/dist/runtime/editor/plugins/DebugOverlay/index.d.vue.ts +23 -0
- package/dist/runtime/editor/plugins/DebugOverlay/index.vue.d.ts +23 -0
- package/dist/runtime/editor/plugins/ItemAction/index.d.vue.ts +85 -0
- package/dist/runtime/editor/plugins/ItemAction/index.vue +93 -0
- package/dist/runtime/editor/plugins/ItemAction/index.vue.d.ts +85 -0
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.d.vue.ts +47 -0
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue +281 -0
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue.d.ts +47 -0
- package/dist/runtime/editor/plugins/Sidebar/index.d.vue.ts +228 -0
- package/dist/runtime/editor/plugins/Sidebar/index.vue +267 -0
- package/dist/runtime/editor/plugins/Sidebar/index.vue.d.ts +228 -0
- package/dist/runtime/editor/plugins/ToolbarButton/index.d.vue.ts +165 -0
- package/dist/runtime/editor/plugins/ToolbarButton/index.vue +91 -0
- package/dist/runtime/editor/plugins/ToolbarButton/index.vue.d.ts +165 -0
- package/dist/runtime/editor/plugins/TourItem/index.d.vue.ts +41 -0
- package/dist/runtime/editor/plugins/TourItem/index.vue +50 -0
- package/dist/runtime/editor/plugins/TourItem/index.vue.d.ts +41 -0
- package/dist/runtime/editor/plugins/ViewOption/index.d.vue.ts +139 -0
- package/dist/runtime/editor/plugins/ViewOption/index.vue +98 -0
- package/dist/runtime/editor/plugins/ViewOption/index.vue.d.ts +139 -0
- package/dist/runtime/editor/providers/animation.d.ts +204 -0
- package/dist/runtime/editor/providers/animation.js +518 -0
- package/dist/runtime/editor/providers/blocks.d.ts +32 -0
- package/dist/runtime/editor/providers/blocks.js +113 -0
- package/dist/runtime/editor/providers/commands.d.ts +41 -0
- package/dist/runtime/editor/providers/commands.js +16 -0
- package/dist/runtime/editor/providers/debug.d.ts +126 -0
- package/dist/runtime/editor/providers/debug.js +132 -0
- package/dist/runtime/editor/providers/definition.d.ts +87 -0
- package/dist/runtime/editor/providers/directive.d.ts +116 -0
- package/dist/runtime/editor/providers/directive.js +241 -0
- package/dist/runtime/editor/providers/dom.d.ts +228 -0
- package/dist/runtime/editor/providers/dom.js +519 -0
- package/dist/runtime/editor/providers/dropArea.d.ts +48 -0
- package/dist/runtime/editor/providers/dropArea.js +22 -0
- package/dist/runtime/editor/providers/features.d.ts +57 -0
- package/dist/runtime/editor/providers/features.js +53 -0
- package/dist/runtime/editor/providers/fields.d.ts +23 -0
- package/dist/runtime/editor/providers/fields.js +47 -0
- package/dist/runtime/editor/providers/icons.d.ts +6 -0
- package/dist/runtime/editor/providers/icons.js +16 -0
- package/dist/runtime/editor/providers/indicators.d.ts +44 -0
- package/dist/runtime/editor/providers/keyboard.d.ts +77 -0
- package/dist/runtime/editor/providers/keyboard.js +98 -0
- package/dist/runtime/editor/providers/plugin.d.ts +81 -0
- package/dist/runtime/editor/providers/selection.d.ts +84 -0
- package/dist/runtime/editor/providers/selection.js +159 -0
- package/dist/runtime/editor/providers/state.d.ts +248 -0
- package/dist/runtime/editor/providers/state.js +408 -0
- package/dist/runtime/editor/providers/storage.d.ts +64 -0
- package/dist/runtime/editor/providers/storage.js +118 -0
- package/dist/runtime/editor/providers/texts.d.ts +4 -0
- package/dist/runtime/editor/providers/texts.js +29 -0
- package/dist/runtime/editor/providers/theme.d.ts +119 -0
- package/dist/runtime/editor/providers/theme.js +140 -0
- package/dist/runtime/editor/providers/tour.d.ts +49 -0
- package/dist/runtime/editor/providers/tour.js +19 -0
- package/dist/runtime/editor/providers/types.d.ts +174 -0
- package/dist/runtime/editor/providers/types.js +166 -0
- package/dist/runtime/editor/providers/ui.d.ts +350 -0
- package/dist/runtime/editor/providers/ui.js +406 -0
- package/dist/runtime/editor/types/actions.d.ts +18 -0
- package/dist/runtime/editor/types/actions.js +0 -0
- package/dist/runtime/editor/types/app.d.ts +59 -0
- package/dist/runtime/editor/types/app.js +0 -0
- package/dist/runtime/editor/types/definitions.d.ts +18 -0
- package/dist/runtime/editor/types/definitions.js +0 -0
- package/dist/runtime/editor/types/draggable.d.ts +9 -0
- package/dist/runtime/editor/types/draggable.js +0 -0
- package/dist/runtime/editor/types/features.d.ts +9 -0
- package/dist/runtime/editor/types/features.js +0 -0
- package/dist/runtime/editor/types/field.d.ts +58 -0
- package/dist/runtime/editor/types/field.js +0 -0
- package/dist/runtime/editor/types/geometry.d.ts +9 -0
- package/dist/runtime/editor/types/geometry.js +0 -0
- package/dist/runtime/editor/types/index.d.ts +1 -0
- package/dist/runtime/editor/types/index.js +0 -0
- package/dist/runtime/editor/types/pluginConfig.d.ts +48 -0
- package/dist/runtime/editor/types/pluginConfig.js +0 -0
- package/dist/runtime/editor/types/selection.d.ts +6 -0
- package/dist/runtime/editor/types/selection.js +0 -0
- package/dist/runtime/editor/types/state.d.ts +76 -0
- package/dist/runtime/editor/types/state.js +0 -0
- package/dist/runtime/editor/types/style.d.ts +29 -0
- package/dist/runtime/editor/types/style.js +0 -0
- package/dist/runtime/editor/types/ui.d.ts +44 -0
- package/dist/runtime/editor/types/ui.js +0 -0
- package/dist/runtime/helpers/index.d.ts +0 -71
- package/dist/runtime/helpers/index.js +0 -326
- package/dist/runtime/helpers/injections.d.ts +127 -0
- package/dist/runtime/helpers/injections.js +69 -0
- package/dist/runtime/helpers/runtimeHelpers/index.js +8 -5
- package/dist/runtime/plugins/blokkliDirectives.d.ts +1 -1
- package/dist/runtime/plugins/blokkliDirectives.js +1 -1
- package/dist/runtime/types/blockOptions.d.ts +2 -348
- package/dist/runtime/types/definitions.d.ts +124 -0
- package/dist/runtime/types/definitions.js +0 -0
- package/dist/runtime/types/directives.d.ts +1 -0
- package/dist/runtime/types/directives.js +0 -0
- package/dist/runtime/types/field.d.ts +26 -0
- package/dist/runtime/types/field.js +0 -0
- package/dist/runtime/types/index.d.ts +2 -1400
- package/dist/runtime/types/provider.d.ts +5 -0
- package/dist/runtime/types/provider.js +0 -0
- package/dist/runtime/types/vue.d.ts +1 -0
- package/dist/runtime/types/vue.js +0 -0
- package/dist/shared/editor.DHqea16T.d.mts +462 -0
- package/dist/types.d.mts +3 -1
- package/package.json +87 -53
- package/dist/runtime/adapter/index.d.ts +0 -516
- package/dist/runtime/blokkliPlugins/BlockIndicator/index.vue +0 -65
- package/dist/runtime/blokkliPlugins/BlockIndicator/index.vue.d.ts +0 -64
- package/dist/runtime/blokkliPlugins/ContextMenu/Menu/index.vue +0 -75
- package/dist/runtime/blokkliPlugins/ContextMenu/Menu/index.vue.d.ts +0 -12
- package/dist/runtime/blokkliPlugins/ContextMenu/index.vue +0 -39
- package/dist/runtime/blokkliPlugins/ContextMenu/index.vue.d.ts +0 -35
- package/dist/runtime/blokkliPlugins/DebugOverlay/index.vue.d.ts +0 -22
- package/dist/runtime/blokkliPlugins/ItemAction/index.vue +0 -94
- package/dist/runtime/blokkliPlugins/ItemAction/index.vue.d.ts +0 -85
- package/dist/runtime/blokkliPlugins/Sidebar/Detached/index.vue +0 -278
- package/dist/runtime/blokkliPlugins/Sidebar/Detached/index.vue.d.ts +0 -46
- package/dist/runtime/blokkliPlugins/Sidebar/index.vue +0 -270
- package/dist/runtime/blokkliPlugins/Sidebar/index.vue.d.ts +0 -227
- package/dist/runtime/blokkliPlugins/ToolbarButton/index.vue +0 -92
- package/dist/runtime/blokkliPlugins/ToolbarButton/index.vue.d.ts +0 -164
- package/dist/runtime/blokkliPlugins/TourItem/index.vue +0 -50
- package/dist/runtime/blokkliPlugins/TourItem/index.vue.d.ts +0 -40
- package/dist/runtime/blokkliPlugins/ViewOption/index.vue +0 -99
- package/dist/runtime/blokkliPlugins/ViewOption/index.vue.d.ts +0 -138
- package/dist/runtime/components/Blocks/Fragment/icon.svg +0 -1
- package/dist/runtime/components/Edit/Actions/ItemDropdown.vue +0 -66
- package/dist/runtime/components/Edit/Actions/ItemDropdown.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Actions/index.vue +0 -195
- package/dist/runtime/components/Edit/Actions/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/AddListItem/index.vue +0 -66
- package/dist/runtime/components/Edit/AddListItem/index.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/AnimationCanvas/index.vue +0 -453
- package/dist/runtime/components/Edit/AnimationCanvas/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/AppMenu/MenuButton.vue +0 -39
- package/dist/runtime/components/Edit/AppMenu/MenuButton.vue.d.ts +0 -28
- package/dist/runtime/components/Edit/AppMenu/index.vue +0 -79
- package/dist/runtime/components/Edit/AppMenu/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/ArtboardTooltip/index.vue +0 -89
- package/dist/runtime/components/Edit/ArtboardTooltip/index.vue.d.ts +0 -32
- package/dist/runtime/components/Edit/Banner/index.vue +0 -51
- package/dist/runtime/components/Edit/Banner/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/BlockProxy/index.vue +0 -88
- package/dist/runtime/components/Edit/BlockProxy/index.vue.d.ts +0 -10
- package/dist/runtime/components/Edit/BlokkliErrorBoundary.vue +0 -47
- package/dist/runtime/components/Edit/BlokkliErrorBoundary.vue.d.ts +0 -25
- package/dist/runtime/components/Edit/BlokkliRootErrorBoundary.vue +0 -96
- package/dist/runtime/components/Edit/BlokkliRootErrorBoundary.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Dialog/index.vue +0 -135
- package/dist/runtime/components/Edit/Dialog/index.vue.d.ts +0 -48
- package/dist/runtime/components/Edit/DiffViewer/State.vue +0 -276
- package/dist/runtime/components/Edit/DiffViewer/State.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/DraggableList.vue +0 -142
- package/dist/runtime/components/Edit/DraggableList.vue.d.ts +0 -27
- package/dist/runtime/components/Edit/EditIndicator.vue +0 -151
- package/dist/runtime/components/Edit/EditIndicator.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/EditProvider.vue +0 -382
- package/dist/runtime/components/Edit/EditProvider.vue.d.ts +0 -29
- package/dist/runtime/components/Edit/Features/AddList/Actions/Action.vue +0 -53
- package/dist/runtime/components/Edit/Features/AddList/Actions/Action.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/AddList/Actions/index.vue +0 -41
- package/dist/runtime/components/Edit/Features/AddList/Actions/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/AddList/Blocks/index.vue +0 -274
- package/dist/runtime/components/Edit/Features/AddList/Blocks/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/Features/AddList/index.vue +0 -147
- package/dist/runtime/components/Edit/Features/AddList/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Analyze/Icon.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/Analyze/Main.vue +0 -385
- package/dist/runtime/components/Edit/Features/Analyze/Main.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Features/Analyze/Renderer/index.vue +0 -260
- package/dist/runtime/components/Edit/Features/Analyze/Renderer/index.vue.d.ts +0 -21
- package/dist/runtime/components/Edit/Features/Analyze/Results/Results.vue +0 -102
- package/dist/runtime/components/Edit/Features/Analyze/Results/Results.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItem.vue +0 -56
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItem.vue.d.ts +0 -21
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodes.vue +0 -80
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodes.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodesTarget.vue +0 -123
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodesTarget.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Features/Analyze/Results/Status.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Analyze/Summary/Chart.vue.d.ts +0 -17
- package/dist/runtime/components/Edit/Features/Analyze/Summary/index.vue +0 -77
- package/dist/runtime/components/Edit/Features/Analyze/Summary/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/axe.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/axe.js +0 -76
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/helpers/Context.d.ts +0 -33
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/readability.js +0 -206
- package/dist/runtime/components/Edit/Features/Analyze/index.vue +0 -69
- package/dist/runtime/components/Edit/Features/Analyze/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Anchors/Overlay/index.vue +0 -53
- package/dist/runtime/components/Edit/Features/Anchors/Overlay/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Anchors/index.vue +0 -32
- package/dist/runtime/components/Edit/Features/Anchors/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Artboard/Overview/index.vue +0 -119
- package/dist/runtime/components/Edit/Features/Artboard/Overview/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Artboard/Renderer.vue +0 -320
- package/dist/runtime/components/Edit/Features/Artboard/Renderer.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/Artboard/Scrollbar/index.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/Artboard/index.vue +0 -92
- package/dist/runtime/components/Edit/Features/Artboard/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Assistant/Overlay/ResultMarkup/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Assistant/Overlay/index.vue +0 -108
- package/dist/runtime/components/Edit/Features/Assistant/Overlay/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Assistant/index.vue +0 -65
- package/dist/runtime/components/Edit/Features/Assistant/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/BlockScheduler/Dialog/ScheduleSection.vue +0 -154
- package/dist/runtime/components/Edit/Features/BlockScheduler/Dialog/ScheduleSection.vue.d.ts +0 -27
- package/dist/runtime/components/Edit/Features/BlockScheduler/Dialog/index.vue +0 -232
- package/dist/runtime/components/Edit/Features/BlockScheduler/Dialog/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/Features/BlockScheduler/index.vue +0 -96
- package/dist/runtime/components/Edit/Features/BlockScheduler/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/File.vue.d.ts +0 -3
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/Video.vue +0 -54
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/Video.vue.d.ts +0 -3
- package/dist/runtime/components/Edit/Features/Clipboard/List/index.vue +0 -72
- package/dist/runtime/components/Edit/Features/Clipboard/List/index.vue.d.ts +0 -10
- package/dist/runtime/components/Edit/Features/Clipboard/index.vue +0 -606
- package/dist/runtime/components/Edit/Features/Clipboard/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/Item/index.vue +0 -49
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/Item/index.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/index.vue +0 -229
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/CommandPalette/index.vue +0 -52
- package/dist/runtime/components/Edit/Features/CommandPalette/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Comments/AddForm/index.vue +0 -44
- package/dist/runtime/components/Edit/Features/Comments/AddForm/index.vue.d.ts +0 -10
- package/dist/runtime/components/Edit/Features/Comments/Comment/index.vue +0 -45
- package/dist/runtime/components/Edit/Features/Comments/Comment/index.vue.d.ts +0 -23
- package/dist/runtime/components/Edit/Features/Comments/CommentInput/index.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/Features/Comments/Overlay/Item/index.vue +0 -94
- package/dist/runtime/components/Edit/Features/Comments/Overlay/Item/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Features/Comments/Overlay/index.vue +0 -112
- package/dist/runtime/components/Edit/Features/Comments/Overlay/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Features/Comments/index.vue +0 -111
- package/dist/runtime/components/Edit/Features/Comments/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Conversions/index.vue +0 -84
- package/dist/runtime/components/Edit/Features/Conversions/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/DebugSection.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Features/Debug/Main.vue +0 -80
- package/dist/runtime/components/Edit/Features/Debug/Main.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Debug/Rects/index.vue +0 -60
- package/dist/runtime/components/Edit/Features/Debug/Rects/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Section/Features.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Section/Icons.vue +0 -15
- package/dist/runtime/components/Edit/Features/Debug/Section/Icons.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Section/Keyboard.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Section/Logging.vue +0 -66
- package/dist/runtime/components/Edit/Features/Debug/Section/Logging.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Debug/Section/Rendering.vue +0 -96
- package/dist/runtime/components/Edit/Features/Debug/Section/Rendering.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Section/Selection.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Viewport/index.vue +0 -98
- package/dist/runtime/components/Edit/Features/Debug/Viewport/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/index.vue +0 -31
- package/dist/runtime/components/Edit/Features/Debug/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Delete/index.vue +0 -66
- package/dist/runtime/components/Edit/Features/Delete/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Diff/DiffView/index.vue +0 -20
- package/dist/runtime/components/Edit/Features/Diff/DiffView/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Diff/index.vue +0 -35
- package/dist/runtime/components/Edit/Features/Diff/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DragItems/DragItem.vue +0 -113
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DragItems/DragItem.vue.d.ts +0 -25
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DragItems/index.vue +0 -219
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DragItems/index.vue.d.ts +0 -27
- package/dist/runtime/components/Edit/Features/DraggingOverlay/Renderer/index.vue +0 -749
- package/dist/runtime/components/Edit/Features/DraggingOverlay/Renderer/index.vue.d.ts +0 -27
- package/dist/runtime/components/Edit/Features/DraggingOverlay/index.vue +0 -335
- package/dist/runtime/components/Edit/Features/DraggingOverlay/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Duplicate/index.vue +0 -91
- package/dist/runtime/components/Edit/Features/Duplicate/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Edit/index.vue +0 -76
- package/dist/runtime/components/Edit/Features/Edit/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EditForm/Frame/index.vue +0 -70
- package/dist/runtime/components/Edit/Features/EditForm/Frame/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/Features/EditForm/index.vue +0 -176
- package/dist/runtime/components/Edit/Features/EditForm/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Contenteditable/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Frame/index.vue +0 -117
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Frame/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Plaintext/index.vue +0 -74
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Plaintext/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/index.vue +0 -248
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Features/EditableField/index.vue +0 -151
- package/dist/runtime/components/Edit/Features/EditableField/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EditableMask/index.vue +0 -39
- package/dist/runtime/components/Edit/Features/EditableMask/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EntityTitle/index.vue +0 -137
- package/dist/runtime/components/Edit/Features/EntityTitle/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Exit/index.vue +0 -38
- package/dist/runtime/components/Edit/Features/Exit/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/Item/index.vue +0 -57
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/Item/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/index.vue +0 -122
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Fragments/index.vue +0 -74
- package/dist/runtime/components/Edit/Features/Fragments/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Grid/index.vue +0 -37
- package/dist/runtime/components/Edit/Features/Grid/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Help/Shortcuts/index.vue +0 -60
- package/dist/runtime/components/Edit/Features/Help/Shortcuts/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Help/index.vue +0 -49
- package/dist/runtime/components/Edit/Features/Help/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/History/List/index.vue +0 -128
- package/dist/runtime/components/Edit/Features/History/List/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/History/index.vue +0 -149
- package/dist/runtime/components/Edit/Features/History/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Hover/Renderer/index.vue +0 -448
- package/dist/runtime/components/Edit/Features/Hover/Renderer/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Hover/index.vue +0 -28
- package/dist/runtime/components/Edit/Features/Hover/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/ImportExisting/Dialog/index.vue +0 -127
- package/dist/runtime/components/Edit/Features/ImportExisting/Dialog/index.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Features/ImportExisting/index.vue +0 -81
- package/dist/runtime/components/Edit/Features/ImportExisting/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Library/EditReusable/index.vue +0 -166
- package/dist/runtime/components/Edit/Features/Library/EditReusable/index.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/Item/index.vue +0 -67
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/Item/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/index.vue +0 -155
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Library/ReusableDialog/index.vue +0 -99
- package/dist/runtime/components/Edit/Features/Library/ReusableDialog/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Library/index.vue +0 -197
- package/dist/runtime/components/Edit/Features/Library/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/Item.vue +0 -40
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/Item.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/index.vue +0 -187
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/MediaLibrary/index.vue +0 -108
- package/dist/runtime/components/Edit/Features/MediaLibrary/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/MediaLibrary/types.d.ts +0 -57
- package/dist/runtime/components/Edit/Features/MultiSelect/Renderer/index.vue +0 -297
- package/dist/runtime/components/Edit/Features/MultiSelect/Renderer/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/Features/MultiSelect/index.vue +0 -69
- package/dist/runtime/components/Edit/Features/MultiSelect/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Options/Form/Checkbox/index.vue +0 -46
- package/dist/runtime/components/Edit/Features/Options/Form/Checkbox/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Features/Options/Form/Checkboxes/index.vue +0 -112
- package/dist/runtime/components/Edit/Features/Options/Form/Checkboxes/index.vue.d.ts +0 -24
- package/dist/runtime/components/Edit/Features/Options/Form/Color/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Options/Form/DateTimeLocal/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Features/Options/Form/Group.vue +0 -23
- package/dist/runtime/components/Edit/Features/Options/Form/Group.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Features/Options/Form/Item.vue +0 -186
- package/dist/runtime/components/Edit/Features/Options/Form/Item.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/Features/Options/Form/Number/index.vue +0 -64
- package/dist/runtime/components/Edit/Features/Options/Form/Number/index.vue.d.ts +0 -21
- package/dist/runtime/components/Edit/Features/Options/Form/Radios/index.vue +0 -129
- package/dist/runtime/components/Edit/Features/Options/Form/Radios/index.vue.d.ts +0 -36
- package/dist/runtime/components/Edit/Features/Options/Form/Range/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Features/Options/Form/Text/index.vue.d.ts +0 -17
- package/dist/runtime/components/Edit/Features/Options/Form/index.vue +0 -383
- package/dist/runtime/components/Edit/Features/Options/Form/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Options/index.vue +0 -84
- package/dist/runtime/components/Edit/Features/Options/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Ownership/Banner/index.vue +0 -35
- package/dist/runtime/components/Edit/Features/Ownership/Banner/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Ownership/index.vue +0 -32
- package/dist/runtime/components/Edit/Features/Ownership/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Preview/index.vue +0 -41
- package/dist/runtime/components/Edit/Features/Preview/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/PreviewGrant/QrCode/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/PreviewGrant/index.vue +0 -71
- package/dist/runtime/components/Edit/Features/PreviewGrant/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/ProxyView/index.vue +0 -40
- package/dist/runtime/components/Edit/Features/ProxyView/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Publish/Dialog/Item.vue +0 -145
- package/dist/runtime/components/Edit/Features/Publish/Dialog/Item.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Features/Publish/Dialog/PublishOption.vue +0 -47
- package/dist/runtime/components/Edit/Features/Publish/Dialog/PublishOption.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/Features/Publish/Dialog/Summary.vue +0 -83
- package/dist/runtime/components/Edit/Features/Publish/Dialog/Summary.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Publish/Dialog/index.vue +0 -577
- package/dist/runtime/components/Edit/Features/Publish/Dialog/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Publish/Dialog/types.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/Publish/index.vue +0 -133
- package/dist/runtime/components/Edit/Features/Publish/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/ResponsivePreview/Frame/index.vue +0 -76
- package/dist/runtime/components/Edit/Features/ResponsivePreview/Frame/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Features/ResponsivePreview/index.vue +0 -193
- package/dist/runtime/components/Edit/Features/ResponsivePreview/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Revert/index.vue +0 -69
- package/dist/runtime/components/Edit/Features/Revert/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Content/index.vue +0 -167
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Content/index.vue.d.ts +0 -17
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Page/index.vue +0 -171
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Page/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Features/Search/Overlay/index.vue +0 -183
- package/dist/runtime/components/Edit/Features/Search/Overlay/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Search/index.vue +0 -76
- package/dist/runtime/components/Edit/Features/Search/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/Overlay/index.vue +0 -182
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/Overlay/index.vue.d.ts +0 -17
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/Renderer/index.vue +0 -551
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/Renderer/index.vue.d.ts +0 -32
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/index.vue +0 -392
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Selection/Renderer/index.vue +0 -281
- package/dist/runtime/components/Edit/Features/Selection/Renderer/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Selection/index.vue +0 -306
- package/dist/runtime/components/Edit/Features/Selection/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Settings/Dialog/FeatureSetting/index.vue +0 -126
- package/dist/runtime/components/Edit/Features/Settings/Dialog/FeatureSetting/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Settings/Dialog/index.vue +0 -130
- package/dist/runtime/components/Edit/Features/Settings/Dialog/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Settings/index.vue +0 -78
- package/dist/runtime/components/Edit/Features/Settings/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Structure/List/Field/index.vue +0 -145
- package/dist/runtime/components/Edit/Features/Structure/List/Field/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Features/Structure/List/Item/index.vue +0 -128
- package/dist/runtime/components/Edit/Features/Structure/List/Item/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Structure/List/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Structure/index.vue +0 -75
- package/dist/runtime/components/Edit/Features/Structure/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Theme/Color/index.vue +0 -64
- package/dist/runtime/components/Edit/Features/Theme/Color/index.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/Theme/GeneratedCode/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Theme/index.vue +0 -109
- package/dist/runtime/components/Edit/Features/Theme/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/TouchActionBar/Bar/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/TouchActionBar/index.vue +0 -40
- package/dist/runtime/components/Edit/Features/TouchActionBar/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Tour/Overlay/index.vue +0 -218
- package/dist/runtime/components/Edit/Features/Tour/Overlay/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Tour/Popup/index.vue +0 -34
- package/dist/runtime/components/Edit/Features/Tour/Popup/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Tour/index.vue +0 -44
- package/dist/runtime/components/Edit/Features/Tour/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Transform/Dialog/index.vue +0 -221
- package/dist/runtime/components/Edit/Features/Transform/Dialog/index.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/Features/Transform/index.vue +0 -234
- package/dist/runtime/components/Edit/Features/Transform/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Translations/Banner/index.vue +0 -48
- package/dist/runtime/components/Edit/Features/Translations/Banner/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Translations/index.vue +0 -212
- package/dist/runtime/components/Edit/Features/Translations/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Validations/Overlay/Item.vue +0 -36
- package/dist/runtime/components/Edit/Features/Validations/Overlay/Item.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Validations/Overlay/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Validations/Overlay/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Validations/SidebarItem/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Validations/SidebarItem/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Validations/index.vue +0 -64
- package/dist/runtime/components/Edit/Features/Validations/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Form/Checkboxes/index.vue +0 -43
- package/dist/runtime/components/Edit/Form/Checkboxes/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Form/Datepicker/index.vue +0 -198
- package/dist/runtime/components/Edit/Form/Datepicker/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Form/Group/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Form/Item/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Form/Radio/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Form/RadioTabs/index.vue.d.ts +0 -22
- package/dist/runtime/components/Edit/Form/Select/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Form/Text/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Form/Textarea/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Form/Toggle/index.vue.d.ts +0 -24
- package/dist/runtime/components/Edit/FormOverlay/Header/index.vue +0 -28
- package/dist/runtime/components/Edit/FormOverlay/Header/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/FormOverlay/index.vue +0 -55
- package/dist/runtime/components/Edit/FormOverlay/index.vue.d.ts +0 -26
- package/dist/runtime/components/Edit/Highlight/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Icon/index.vue +0 -18
- package/dist/runtime/components/Edit/Icon/index.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Indicators/index.vue +0 -123
- package/dist/runtime/components/Edit/Indicators/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/InfoBox/index.vue +0 -18
- package/dist/runtime/components/Edit/InfoBox/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/ItemIcon/index.vue +0 -28
- package/dist/runtime/components/Edit/ItemIcon/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/ItemIconBox/index.vue +0 -41
- package/dist/runtime/components/Edit/ItemIconBox/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Konami/Game/PixelGrid.vue +0 -66
- package/dist/runtime/components/Edit/Konami/Game/PixelGrid.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Konami/Game/index.vue +0 -751
- package/dist/runtime/components/Edit/Konami/Game/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Konami/Game/useIconRendering.d.ts +0 -9
- package/dist/runtime/components/Edit/Konami/Game/useIconRendering.js +0 -130
- package/dist/runtime/components/Edit/Konami/index.vue +0 -42
- package/dist/runtime/components/Edit/Konami/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Loading/index.vue +0 -22
- package/dist/runtime/components/Edit/Loading/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Messages/Item/index.vue +0 -105
- package/dist/runtime/components/Edit/Messages/Item/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/Messages/index.vue +0 -41
- package/dist/runtime/components/Edit/Messages/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Overlay/index.vue +0 -70
- package/dist/runtime/components/Edit/Overlay/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Pagination/index.vue +0 -19
- package/dist/runtime/components/Edit/Pagination/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/PluginConfigForm/Checkbox/index.vue +0 -17
- package/dist/runtime/components/Edit/PluginConfigForm/Checkbox/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/PluginConfigForm/Options/index.vue +0 -37
- package/dist/runtime/components/Edit/PluginConfigForm/Options/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/PluginConfigForm/Text/index.vue +0 -43
- package/dist/runtime/components/Edit/PluginConfigForm/Text/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/PluginConfigForm/index.vue +0 -57
- package/dist/runtime/components/Edit/PluginConfigForm/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/PreviewProvider.vue +0 -176
- package/dist/runtime/components/Edit/PreviewProvider.vue.d.ts +0 -24
- package/dist/runtime/components/Edit/RelativeTime/index.vue +0 -32
- package/dist/runtime/components/Edit/RelativeTime/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Resizable/index.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/ScaleToFit/index.vue +0 -70
- package/dist/runtime/components/Edit/ScaleToFit/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/ScheduleDate/index.vue +0 -131
- package/dist/runtime/components/Edit/ScheduleDate/index.vue.d.ts +0 -23
- package/dist/runtime/components/Edit/ScrollBoundary/index.vue +0 -23
- package/dist/runtime/components/Edit/ScrollBoundary/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/ShortcutIndicator/index.vue +0 -86
- package/dist/runtime/components/Edit/ShortcutIndicator/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Sortli/index.vue +0 -80
- package/dist/runtime/components/Edit/Sortli/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/SystemRequirements/index.vue +0 -77
- package/dist/runtime/components/Edit/SystemRequirements/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Toolbar/index.vue +0 -88
- package/dist/runtime/components/Edit/Toolbar/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Transition/Height.vue.d.ts +0 -36
- package/dist/runtime/components/Edit/Transition/index.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/ViewportBlockingRect/index.vue +0 -60
- package/dist/runtime/components/Edit/ViewportBlockingRect/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/index.d.ts +0 -36
- package/dist/runtime/components/Edit/index.js +0 -72
- package/dist/runtime/constants/index.d.ts +0 -7
- package/dist/runtime/constants/index.js +0 -11
- package/dist/runtime/css/output.css +0 -1
- package/dist/runtime/helpers/DragStyle/index.d.ts +0 -12
- package/dist/runtime/helpers/DragStyle/index.js +0 -86
- package/dist/runtime/helpers/bundles/index.js +0 -4
- package/dist/runtime/helpers/composables/defineAddAction.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineAddAction.js +0 -10
- package/dist/runtime/helpers/composables/defineCommands.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineCommands.js +0 -10
- package/dist/runtime/helpers/composables/defineDropAreas.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineDropAreas.js +0 -10
- package/dist/runtime/helpers/composables/defineItemDropdownAction.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineItemDropdownAction.js +0 -10
- package/dist/runtime/helpers/composables/defineMenuButton.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineMenuButton.js +0 -10
- package/dist/runtime/helpers/composables/defineRenderer.d.ts +0 -11
- package/dist/runtime/helpers/composables/defineRenderer.js +0 -9
- package/dist/runtime/helpers/composables/defineShortcut.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineShortcut.js +0 -19
- package/dist/runtime/helpers/composables/defineTourItem.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineTourItem.js +0 -10
- package/dist/runtime/helpers/composables/onBlokkliEvent.d.ts +0 -2
- package/dist/runtime/helpers/composables/onBlokkliEvent.js +0 -10
- package/dist/runtime/helpers/composables/onBroadcastEvent.d.ts +0 -2
- package/dist/runtime/helpers/composables/onBroadcastEvent.js +0 -10
- package/dist/runtime/helpers/composables/useAnimationFrame.d.ts +0 -1
- package/dist/runtime/helpers/composables/useAnimationFrame.js +0 -14
- package/dist/runtime/helpers/composables/useDebugLogger.d.ts +0 -2
- package/dist/runtime/helpers/composables/useDebugLogger.js +0 -5
- package/dist/runtime/helpers/composables/useDelayedIntersectionObserver.d.ts +0 -5
- package/dist/runtime/helpers/composables/useDelayedIntersectionObserver.js +0 -27
- package/dist/runtime/helpers/composables/useDialog.d.ts +0 -3
- package/dist/runtime/helpers/composables/useFocusTrap.d.ts +0 -52
- package/dist/runtime/helpers/composables/useFocusTrap.js +0 -59
- package/dist/runtime/helpers/composables/useGlobalBlokkliObject.d.ts +0 -16
- package/dist/runtime/helpers/composables/useStateBasedCache.d.ts +0 -4
- package/dist/runtime/helpers/composables/useStateBasedCache.js +0 -13
- package/dist/runtime/helpers/composables/useStickyToolbar.d.ts +0 -23
- package/dist/runtime/helpers/composables/useStickyToolbar.js +0 -233
- package/dist/runtime/helpers/composables/useTransitionedValue.d.ts +0 -18
- package/dist/runtime/helpers/composables/useTransitionedValue.js +0 -57
- package/dist/runtime/helpers/dom/index.d.ts +0 -65
- package/dist/runtime/helpers/dom/index.js +0 -85
- package/dist/runtime/helpers/dropTargets/index.d.ts +0 -6
- package/dist/runtime/helpers/dropTargets/index.js +0 -63
- package/dist/runtime/helpers/eventBus.d.ts +0 -3
- package/dist/runtime/helpers/eventBus.js +0 -5
- package/dist/runtime/helpers/frameEventBus.d.ts +0 -9
- package/dist/runtime/helpers/frameEventBus.js +0 -2
- package/dist/runtime/helpers/providers/animation.d.ts +0 -203
- package/dist/runtime/helpers/providers/animation.js +0 -517
- package/dist/runtime/helpers/providers/blocks.d.ts +0 -32
- package/dist/runtime/helpers/providers/blocks.js +0 -110
- package/dist/runtime/helpers/providers/commands.d.ts +0 -41
- package/dist/runtime/helpers/providers/commands.js +0 -16
- package/dist/runtime/helpers/providers/debug.d.ts +0 -125
- package/dist/runtime/helpers/providers/debug.js +0 -133
- package/dist/runtime/helpers/providers/definition.d.ts +0 -87
- package/dist/runtime/helpers/providers/directive.d.ts +0 -114
- package/dist/runtime/helpers/providers/directive.js +0 -239
- package/dist/runtime/helpers/providers/dom.d.ts +0 -225
- package/dist/runtime/helpers/providers/dom.js +0 -517
- package/dist/runtime/helpers/providers/dropArea.d.ts +0 -47
- package/dist/runtime/helpers/providers/dropArea.js +0 -22
- package/dist/runtime/helpers/providers/features.d.ts +0 -56
- package/dist/runtime/helpers/providers/features.js +0 -53
- package/dist/runtime/helpers/providers/fields.d.ts +0 -23
- package/dist/runtime/helpers/providers/fields.js +0 -47
- package/dist/runtime/helpers/providers/indicators.d.ts +0 -44
- package/dist/runtime/helpers/providers/keyboard.d.ts +0 -76
- package/dist/runtime/helpers/providers/keyboard.js +0 -99
- package/dist/runtime/helpers/providers/plugin.d.ts +0 -81
- package/dist/runtime/helpers/providers/selection.d.ts +0 -82
- package/dist/runtime/helpers/providers/selection.js +0 -159
- package/dist/runtime/helpers/providers/state.d.ts +0 -227
- package/dist/runtime/helpers/providers/state.js +0 -398
- package/dist/runtime/helpers/providers/storage.d.ts +0 -64
- package/dist/runtime/helpers/providers/storage.js +0 -118
- package/dist/runtime/helpers/providers/texts.d.ts +0 -4
- package/dist/runtime/helpers/providers/texts.js +0 -26
- package/dist/runtime/helpers/providers/theme.d.ts +0 -119
- package/dist/runtime/helpers/providers/theme.js +0 -140
- package/dist/runtime/helpers/providers/tour.d.ts +0 -49
- package/dist/runtime/helpers/providers/tour.js +0 -19
- package/dist/runtime/helpers/providers/types.d.ts +0 -170
- package/dist/runtime/helpers/providers/types.js +0 -166
- package/dist/runtime/helpers/providers/ui.d.ts +0 -339
- package/dist/runtime/helpers/providers/ui.js +0 -393
- package/dist/runtime/helpers/symbols.d.ts +0 -26
- package/dist/runtime/helpers/symbols.js +0 -30
- package/dist/runtime/helpers/transform.d.ts +0 -2
- package/dist/runtime/helpers/transform.js +0 -15
- package/dist/runtime/helpers/webgl/index.d.ts +0 -45
- package/dist/runtime/helpers/webgl/index.js +0 -315
- package/dist/runtime/icons/alert.svg +0 -6
- package/dist/runtime/icons/anchor.svg +0 -1
- package/dist/runtime/icons/area.svg +0 -5
- package/dist/runtime/icons/arrow-down.svg +0 -1
- package/dist/runtime/icons/arrow-left.svg +0 -1
- package/dist/runtime/icons/arrow-right.svg +0 -1
- package/dist/runtime/icons/arrow-top-right.svg +0 -1
- package/dist/runtime/icons/arrow-up.svg +0 -1
- package/dist/runtime/icons/artboard-disabled.svg +0 -9
- package/dist/runtime/icons/artboard-enabled.svg +0 -29
- package/dist/runtime/icons/bug.svg +0 -1
- package/dist/runtime/icons/button-pointer.svg +0 -1
- package/dist/runtime/icons/calendar-clock.svg +0 -1
- package/dist/runtime/icons/calendar.svg +0 -1
- package/dist/runtime/icons/caret.svg +0 -12
- package/dist/runtime/icons/cellphone.svg +0 -1
- package/dist/runtime/icons/chart.svg +0 -1
- package/dist/runtime/icons/chat-question.svg +0 -1
- package/dist/runtime/icons/check.svg +0 -1
- package/dist/runtime/icons/checkbox.svg +0 -5
- package/dist/runtime/icons/checks.svg +0 -1
- package/dist/runtime/icons/chevron-left.svg +0 -1
- package/dist/runtime/icons/chevron-right.svg +0 -1
- package/dist/runtime/icons/click.svg +0 -1
- package/dist/runtime/icons/clipboard.svg +0 -5
- package/dist/runtime/icons/clock.svg +0 -1
- package/dist/runtime/icons/close.svg +0 -5
- package/dist/runtime/icons/cog.svg +0 -5
- package/dist/runtime/icons/command.svg +0 -1
- package/dist/runtime/icons/comment.svg +0 -5
- package/dist/runtime/icons/comment_add.svg +0 -1
- package/dist/runtime/icons/convert.svg +0 -1
- package/dist/runtime/icons/copy.svg +0 -1
- package/dist/runtime/icons/cursor-move.svg +0 -1
- package/dist/runtime/icons/dead.svg +0 -1
- package/dist/runtime/icons/delete.svg +0 -1
- package/dist/runtime/icons/diff.svg +0 -1
- package/dist/runtime/icons/dock-left.svg +0 -1
- package/dist/runtime/icons/dock-right.svg +0 -1
- package/dist/runtime/icons/drag.svg +0 -1
- package/dist/runtime/icons/edit.svg +0 -1
- package/dist/runtime/icons/exit.svg +0 -6
- package/dist/runtime/icons/expand.svg +0 -1
- package/dist/runtime/icons/eye-off.svg +0 -1
- package/dist/runtime/icons/eye.svg +0 -1
- package/dist/runtime/icons/file.svg +0 -1
- package/dist/runtime/icons/form.svg +0 -1
- package/dist/runtime/icons/fragment.svg +0 -1
- package/dist/runtime/icons/grid.svg +0 -13
- package/dist/runtime/icons/group.svg +0 -5
- package/dist/runtime/icons/help.svg +0 -1
- package/dist/runtime/icons/history.svg +0 -1
- package/dist/runtime/icons/image.svg +0 -1
- package/dist/runtime/icons/import.svg +0 -5
- package/dist/runtime/icons/info.svg +0 -1
- package/dist/runtime/icons/laptop.svg +0 -1
- package/dist/runtime/icons/link.svg +0 -1
- package/dist/runtime/icons/list-view-grid.svg +0 -1
- package/dist/runtime/icons/list-view-horizontal.svg +0 -1
- package/dist/runtime/icons/magnifier.svg +0 -5
- package/dist/runtime/icons/menu.svg +0 -1
- package/dist/runtime/icons/minus.svg +0 -1
- package/dist/runtime/icons/monitor.svg +0 -1
- package/dist/runtime/icons/multi-select.svg +0 -1
- package/dist/runtime/icons/multimedia.svg +0 -1
- package/dist/runtime/icons/opacity.svg +0 -5
- package/dist/runtime/icons/open_in_new.svg +0 -3
- package/dist/runtime/icons/palette.svg +0 -1
- package/dist/runtime/icons/plus-box.svg +0 -1
- package/dist/runtime/icons/plus.svg +0 -1
- package/dist/runtime/icons/preview.svg +0 -5
- package/dist/runtime/icons/publish.svg +0 -12
- package/dist/runtime/icons/puzzle.svg +0 -1
- package/dist/runtime/icons/qrcode.svg +0 -5
- package/dist/runtime/icons/question.svg +0 -5
- package/dist/runtime/icons/redo.svg +0 -12
- package/dist/runtime/icons/resize.svg +0 -1
- package/dist/runtime/icons/revert.svg +0 -5
- package/dist/runtime/icons/rotate-phone.svg +0 -1
- package/dist/runtime/icons/sad.svg +0 -1
- package/dist/runtime/icons/save.svg +0 -1
- package/dist/runtime/icons/script.svg +0 -1
- package/dist/runtime/icons/scrolltotop.svg +0 -6
- package/dist/runtime/icons/search.svg +0 -1
- package/dist/runtime/icons/selection.svg +0 -5
- package/dist/runtime/icons/speedometer.svg +0 -1
- package/dist/runtime/icons/swap-horizontal.svg +0 -1
- package/dist/runtime/icons/tablet.svg +0 -1
- package/dist/runtime/icons/textbox.svg +0 -1
- package/dist/runtime/icons/texturebox.svg +0 -5
- package/dist/runtime/icons/title.svg +0 -1
- package/dist/runtime/icons/tools.svg +0 -1
- package/dist/runtime/icons/translate.svg +0 -5
- package/dist/runtime/icons/tree.svg +0 -5
- package/dist/runtime/icons/tutor.svg +0 -1
- package/dist/runtime/icons/ui-list-horizontal.svg +0 -19
- package/dist/runtime/icons/ui-list-sidebar.svg +0 -21
- package/dist/runtime/icons/ui-list-vertical.svg +0 -9
- package/dist/runtime/icons/undo.svg +0 -12
- package/dist/runtime/icons/upload.svg +0 -1
- package/dist/runtime/icons/user.svg +0 -1
- package/dist/runtime/icons/video-outline.svg +0 -1
- package/dist/shared/editor.CKsrTpc1.d.mts +0 -431
- /package/dist/{runtime/components/Edit/Features/Analyze/analyzers/types.js → global/types/adapter.js} +0 -0
- /package/dist/{runtime/components/Edit/Features/MediaLibrary/types.js → global/types/blockOptions.js} +0 -0
- /package/dist/{runtime/components/Edit/Features/Publish/Dialog/types.js → global/types/definitions.js} +0 -0
- /package/dist/{runtime/components/Edit/Features/Tour/docs.md → global/types/features.js} +0 -0
- /package/dist/{runtime → global}/types/theme.d.ts +0 -0
- /package/dist/{runtime → global}/types/theme.js +0 -0
- /package/dist/runtime/{adapter → editor/adapter}/index.js +0 -0
- /package/dist/runtime/{components/Edit/Features → editor/components/FeaturesRenderer}/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Group/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Item/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Radio/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/RadioTabs/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Select/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Text/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Textarea/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Toggle/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Highlight/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Konami/Game/blokkli.png +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Konami/Game/charmap.d.ts +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Konami/Game/charmap.js +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Konami/Game/textRendering.d.ts +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Konami/Game/textRendering.js +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Resizable/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Transition/Height.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Transition/index.vue +0 -0
- /package/dist/runtime/{helpers → editor}/composables/addElementClasses.d.ts +0 -0
- /package/dist/runtime/{helpers → editor}/composables/addElementClasses.js +0 -0
- /package/dist/runtime/{helpers → editor}/composables/defineElementStyle.d.ts +0 -0
- /package/dist/runtime/{helpers → editor}/composables/defineElementStyle.js +0 -0
- /package/dist/runtime/{helpers → editor}/composables/useBlockRegistration.d.ts +0 -0
- /package/dist/runtime/{helpers → editor}/composables/useBlockRegistration.js +0 -0
- /package/dist/runtime/{helpers → editor}/composables/useDialog.js +0 -0
- /package/dist/runtime/{helpers → editor}/composables/useGlobalBlokkliObject.js +0 -0
- /package/dist/runtime/{components/Edit/Features/AddList → editor/features/add-list}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/Icon.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/Renderer/fragment.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/Renderer/vertex.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/Results/Status.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/Summary/Chart.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/defineAnalyzer.d.ts +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/defineAnalyzer.js +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/helpers/Context.js +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/helpers/collectTextElements.d.ts +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/helpers/collectTextElements.js +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/helpers/normalizeArray.d.ts +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/helpers/normalizeArray.js +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/index.d.ts +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/index.js +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/readability.d.ts +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/analyzers/types.d.ts +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/helper.d.ts +0 -0
- /package/dist/runtime/{components/Edit/Features/Analyze → editor/features/analyze}/helper.js +0 -0
- /package/dist/runtime/{components/Edit/Features/Artboard → editor/features/artboard}/Scrollbar/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Assistant → editor/features/assistant}/Overlay/ResultMarkup/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Assistant → editor/features/assistant}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Clipboard → editor/features/clipboard}/List/Item/File.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Clipboard → editor/features/clipboard}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Comments → editor/features/comments}/CommentInput/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Comments → editor/features/comments}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Debug → editor/features/debug}/DebugSection.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Debug → editor/features/debug}/Section/Features.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Debug → editor/features/debug}/Section/Keyboard.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Debug → editor/features/debug}/Section/Selection.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Debug → editor/features/debug}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/DraggingOverlay → editor/features/dragging-overlay}/Renderer/fragment.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/DraggingOverlay → editor/features/dragging-overlay}/Renderer/vertex.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/EditableField → editor/features/editable-field}/Overlay/Contenteditable/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Fragments → editor/features/fragments}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Hover → editor/features/hover}/Renderer/fragment.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Hover → editor/features/hover}/Renderer/vertex.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Library → editor/features/library}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/MultiSelect → editor/features/multi-select}/Renderer/fragment.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/MultiSelect → editor/features/multi-select}/Renderer/vertex.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Options → editor/features/options}/Form/Color/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Options → editor/features/options}/Form/DateTimeLocal/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Options → editor/features/options}/Form/Range/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Options → editor/features/options}/Form/Text/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/PreviewGrant → editor/features/preview-grant}/QrCode/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Selection → editor/features/selection}/AddButtons/Renderer/fragment.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Selection → editor/features/selection}/AddButtons/Renderer/vertex.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Selection → editor/features/selection}/Renderer/fragment.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Selection → editor/features/selection}/Renderer/vertex.glsl +0 -0
- /package/dist/runtime/{components/Edit/Features/Structure → editor/features/structure}/List/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Theme → editor/features/theme}/GeneratedCode/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/TouchActionBar → editor/features/touch-action-bar}/Bar/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Transform → editor/features/transform}/docs.md +0 -0
- /package/dist/runtime/{helpers → editor/helpers}/bundles/index.d.ts +0 -0
- /package/dist/runtime/{helpers/easing.d.ts → editor/helpers/easing/index.d.ts} +0 -0
- /package/dist/runtime/{helpers/easing.js → editor/helpers/easing/index.js} +0 -0
- /package/dist/runtime/{helpers/editComponents → editor/helpers/edit-components}/index.d.ts +0 -0
- /package/dist/runtime/{helpers/editComponents → editor/helpers/edit-components}/index.js +0 -0
- /package/dist/runtime/{helpers/renderCycle.d.ts → editor/helpers/vue/index.d.ts} +0 -0
- /package/dist/runtime/{helpers/renderCycle.js → editor/helpers/vue/index.js} +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/arrow-right-thin.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/artboard.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/dock-window.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/duplicate.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/loader.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/logo.svg +0 -0
- /package/dist/runtime/{icons/detach.svg → editor/icons/svg/reusable-detach.svg} +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/reusable.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/robot.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/spinner.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/star.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/tiktok.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/unstar.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/vimeo.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/window-maximize.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/window-minimize.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/youtube.svg +0 -0
- /package/dist/runtime/{blokkliPlugins → editor/plugins}/DebugOverlay/index.vue +0 -0
- /package/dist/runtime/{blokkliPlugins → editor/plugins}/index.d.ts +0 -0
- /package/dist/runtime/{blokkliPlugins → editor/plugins}/index.js +0 -0
- /package/dist/runtime/{helpers → editor}/providers/broadcast.d.ts +0 -0
- /package/dist/runtime/{helpers → editor}/providers/broadcast.js +0 -0
- /package/dist/runtime/{helpers → editor}/providers/definition.js +0 -0
- /package/dist/runtime/{helpers → editor}/providers/element.d.ts +0 -0
- /package/dist/runtime/{helpers → editor}/providers/element.js +0 -0
- /package/dist/runtime/{helpers → editor}/providers/indicators.js +0 -0
- /package/dist/runtime/{helpers → editor}/providers/plugin.js +0 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import { type Ref, type ComputedRef } from 'vue';
|
|
2
|
+
import type { BlokkliAdapter, AdapterContext } from '../adapter/index.js';
|
|
3
|
+
import type { FieldListItem } from '#blokkli/types';
|
|
4
|
+
import { type BlokkliEventBus } from '#blokkli/editor/events';
|
|
5
|
+
import type { TextProvider } from './texts.js';
|
|
6
|
+
import type { PublishOptions } from '../features/publish/types.js';
|
|
7
|
+
import type { EditEntity, EditMode, MappedState, MutatedField, MutatedItemProps, MutatedOptions, MutateWithLoadingStateFunction, MutationItem, TranslationState, Validation } from '../types/state.js';
|
|
8
|
+
import type { EditPermission } from '#blokkli/types/provider';
|
|
9
|
+
export type BlokkliOwner = {
|
|
10
|
+
name: string | undefined;
|
|
11
|
+
currentUserIsOwner: boolean;
|
|
12
|
+
};
|
|
13
|
+
export type RenderedBlock = {
|
|
14
|
+
item: FieldListItem;
|
|
15
|
+
parentEntityType: string;
|
|
16
|
+
parentEntityBundle: string;
|
|
17
|
+
parentEntityUuid: string;
|
|
18
|
+
};
|
|
19
|
+
export type StateProvider = {
|
|
20
|
+
/**
|
|
21
|
+
* Information about the editing session owner.
|
|
22
|
+
*
|
|
23
|
+
* Includes owner name and whether the current user is the owner.
|
|
24
|
+
*/
|
|
25
|
+
owner: Readonly<Ref<BlokkliOwner | null>>;
|
|
26
|
+
/**
|
|
27
|
+
* Refresh key that changes when state is reloaded.
|
|
28
|
+
*
|
|
29
|
+
* Use as a component key to force remounting when state updates.
|
|
30
|
+
*/
|
|
31
|
+
refreshKey: Readonly<Ref<string>>;
|
|
32
|
+
/**
|
|
33
|
+
* All mutated fields in the current editing session.
|
|
34
|
+
*
|
|
35
|
+
* Each field contains its entity context, field name, and list of blocks.
|
|
36
|
+
*/
|
|
37
|
+
mutatedFields: Readonly<Ref<MutatedField[]>>;
|
|
38
|
+
/**
|
|
39
|
+
* The host entity being edited.
|
|
40
|
+
*
|
|
41
|
+
* Contains label, status, and bundle information.
|
|
42
|
+
*/
|
|
43
|
+
entity: Readonly<Ref<EditEntity>>;
|
|
44
|
+
/**
|
|
45
|
+
* Mutated options for all blocks and the host entity.
|
|
46
|
+
*
|
|
47
|
+
* Maps block UUIDs (or 'HOST' for host options) to their option values.
|
|
48
|
+
*/
|
|
49
|
+
mutatedOptions: MutatedOptions;
|
|
50
|
+
/**
|
|
51
|
+
* Mutated item props for all blocks.
|
|
52
|
+
*
|
|
53
|
+
* Maps block UUIDs (or 'HOST' for host options) to prop value.
|
|
54
|
+
*/
|
|
55
|
+
mutatedItemProps: MutatedItemProps;
|
|
56
|
+
/**
|
|
57
|
+
* Translation state for the edited entity.
|
|
58
|
+
*
|
|
59
|
+
* Includes source language, available languages, and existing translations.
|
|
60
|
+
*/
|
|
61
|
+
translation: Readonly<Ref<TranslationState>>;
|
|
62
|
+
/**
|
|
63
|
+
* Publishing options and capabilities.
|
|
64
|
+
*
|
|
65
|
+
* Indicates whether publishing, scheduling, and revisions are available.
|
|
66
|
+
*/
|
|
67
|
+
publishOptions: Readonly<Ref<PublishOptions>>;
|
|
68
|
+
/**
|
|
69
|
+
* History of all mutations in the editing session.
|
|
70
|
+
*
|
|
71
|
+
* Used for undo/redo functionality and tracking changes.
|
|
72
|
+
*/
|
|
73
|
+
mutations: Readonly<Ref<MutationItem[]>>;
|
|
74
|
+
/**
|
|
75
|
+
* Current position in the mutation history.
|
|
76
|
+
*
|
|
77
|
+
* -1 indicates no mutations, 0+ indicates active mutation index.
|
|
78
|
+
*/
|
|
79
|
+
currentMutationIndex: Readonly<Ref<number>>;
|
|
80
|
+
/**
|
|
81
|
+
* Validation violations for the current state.
|
|
82
|
+
*
|
|
83
|
+
* Contains errors and warnings about invalid field values or configurations.
|
|
84
|
+
*/
|
|
85
|
+
violations: Readonly<Ref<Validation[]>>;
|
|
86
|
+
/**
|
|
87
|
+
* Execute a mutation with loading state and error handling.
|
|
88
|
+
*
|
|
89
|
+
* Shows loading indicator, handles errors, updates state, and shows messages.
|
|
90
|
+
*
|
|
91
|
+
* @param callback - Function that performs the mutation
|
|
92
|
+
* @param errorMessage - Error message to show on failure (false to suppress)
|
|
93
|
+
* @param successMessage - Optional success message to show
|
|
94
|
+
* @returns True if successful, false if failed
|
|
95
|
+
*/
|
|
96
|
+
mutateWithLoadingState: MutateWithLoadingStateFunction;
|
|
97
|
+
/**
|
|
98
|
+
* Current edit mode.
|
|
99
|
+
*
|
|
100
|
+
* - 'readonly': User cannot edit (no permission or not owner)
|
|
101
|
+
* - 'editing': User can edit
|
|
102
|
+
* - 'translating': User is editing a translation
|
|
103
|
+
*/
|
|
104
|
+
editMode: Readonly<Ref<EditMode>>;
|
|
105
|
+
/**
|
|
106
|
+
* The raw mutated entity data from the adapter.
|
|
107
|
+
*
|
|
108
|
+
* Contains adapter-specific entity data (e.g., Drupal entity fields).
|
|
109
|
+
*/
|
|
110
|
+
mutatedEntity: Readonly<Ref<any>>;
|
|
111
|
+
/**
|
|
112
|
+
* Whether the current user can edit.
|
|
113
|
+
*
|
|
114
|
+
* True when state is loaded, user is owner, no load errors, and has edit permission.
|
|
115
|
+
*/
|
|
116
|
+
canEdit: ComputedRef<boolean>;
|
|
117
|
+
/**
|
|
118
|
+
* List of permissions for the current user.
|
|
119
|
+
*
|
|
120
|
+
* Includes 'edit', 'view', and other adapter-specific permissions.
|
|
121
|
+
*/
|
|
122
|
+
permissions: ComputedRef<EditPermission[]>;
|
|
123
|
+
/**
|
|
124
|
+
* Whether state has been successfully loaded.
|
|
125
|
+
*
|
|
126
|
+
* True when state loaded without errors.
|
|
127
|
+
*/
|
|
128
|
+
stateAvailable: ComputedRef<boolean>;
|
|
129
|
+
/**
|
|
130
|
+
* Whether a loading operation is in progress.
|
|
131
|
+
*
|
|
132
|
+
* Automatically adds 'bk-body-loading' class to document.body when true.
|
|
133
|
+
*/
|
|
134
|
+
isLoading: Readonly<Ref<boolean>>;
|
|
135
|
+
/**
|
|
136
|
+
* UUIDs of all blocks loaded from the library.
|
|
137
|
+
*
|
|
138
|
+
* Blocks with bundle 'from_library'.
|
|
139
|
+
*/
|
|
140
|
+
fromLibraryUuids: Readonly<Ref<Readonly<string[]>>>;
|
|
141
|
+
/**
|
|
142
|
+
* Get the number of blocks in a field.
|
|
143
|
+
*
|
|
144
|
+
* Results are cached for performance.
|
|
145
|
+
*
|
|
146
|
+
* @param key - The field key (entityUuid:fieldName)
|
|
147
|
+
* @returns Number of blocks in the field
|
|
148
|
+
*/
|
|
149
|
+
getFieldBlockCount: (key: string) => number;
|
|
150
|
+
/**
|
|
151
|
+
* Get the total count of blocks with a specific bundle.
|
|
152
|
+
*
|
|
153
|
+
* @param bundle - The block bundle
|
|
154
|
+
* @returns Total number of blocks with this bundle
|
|
155
|
+
*/
|
|
156
|
+
getBlockBundleCount: (bundle: string) => number;
|
|
157
|
+
/**
|
|
158
|
+
* Get a field list item by UUID.
|
|
159
|
+
*
|
|
160
|
+
* @param uuid - The block UUID
|
|
161
|
+
* @returns The field list item, or undefined if not found
|
|
162
|
+
*/
|
|
163
|
+
getFieldListItem: (uuid: string) => FieldListItem | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* Get the mutated field that contains a block.
|
|
166
|
+
*
|
|
167
|
+
* @param uuid - The block UUID
|
|
168
|
+
* @returns The field containing this block, or undefined if not found
|
|
169
|
+
*/
|
|
170
|
+
getFieldListForBlock: (uuid: string) => MutatedField | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* Get a mutated field by entity UUID and field name.
|
|
173
|
+
*
|
|
174
|
+
* @param uuid - The entity UUID
|
|
175
|
+
* @param fieldName - The field name
|
|
176
|
+
* @returns The mutated field, or undefined if not found
|
|
177
|
+
*/
|
|
178
|
+
getMutatedField: (uuid: string, fieldName: string) => MutatedField | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* Get all block UUIDs, optionally filtered by bundle.
|
|
181
|
+
*
|
|
182
|
+
* @param bundle - Optional bundle to filter by
|
|
183
|
+
* @returns Array of block UUIDs
|
|
184
|
+
*/
|
|
185
|
+
getAllUuids: (bundle?: string) => string[];
|
|
186
|
+
/**
|
|
187
|
+
* Get the nesting level of a block.
|
|
188
|
+
*
|
|
189
|
+
* Level 0 = block in host entity field
|
|
190
|
+
* Level 1 = block in another block's field
|
|
191
|
+
* Level 2+ = deeper nesting
|
|
192
|
+
*
|
|
193
|
+
* @param uuid - The block UUID
|
|
194
|
+
* @returns The nesting level (0+)
|
|
195
|
+
*/
|
|
196
|
+
getNestingLevel: (uuid: string) => number;
|
|
197
|
+
/**
|
|
198
|
+
* Check if a block is a child (direct or nested) of another block.
|
|
199
|
+
*
|
|
200
|
+
* Recursively checks parent relationships.
|
|
201
|
+
*
|
|
202
|
+
* @param childUuid - The potential child block UUID
|
|
203
|
+
* @param parentUuid - The potential parent block UUID
|
|
204
|
+
* @returns True if childUuid is a descendant of parentUuid
|
|
205
|
+
*/
|
|
206
|
+
isChildOf: (childUuid: string, parentUuid: string) => boolean;
|
|
207
|
+
/**
|
|
208
|
+
* Get the current mapped state.
|
|
209
|
+
*
|
|
210
|
+
* Throws error if called before state is available.
|
|
211
|
+
*
|
|
212
|
+
* @returns The current mapped state
|
|
213
|
+
*/
|
|
214
|
+
getMappedState: () => MappedState;
|
|
215
|
+
/**
|
|
216
|
+
* Temporarily override the state.
|
|
217
|
+
*
|
|
218
|
+
* Used for previewing changes without committing them.
|
|
219
|
+
*
|
|
220
|
+
* @param state - The temporary state to use
|
|
221
|
+
*/
|
|
222
|
+
setOverrideState: (state: MappedState) => void;
|
|
223
|
+
/**
|
|
224
|
+
* Clear the temporary override and restore previous state.
|
|
225
|
+
*
|
|
226
|
+
* Throws error if no override is active.
|
|
227
|
+
*/
|
|
228
|
+
clearOverrideState: () => void;
|
|
229
|
+
/**
|
|
230
|
+
* Get the field key for a block UUID.
|
|
231
|
+
*
|
|
232
|
+
* @param uuid - The block UUID
|
|
233
|
+
* @returns The field key (entityUuid:fieldName), or null if not found
|
|
234
|
+
*/
|
|
235
|
+
getFieldKeyForUuid: (uuid: string) => string | null;
|
|
236
|
+
/**
|
|
237
|
+
* Get the parent entity UUID for a block.
|
|
238
|
+
*
|
|
239
|
+
* Returns the UUID of the entity that contains this block in one of its fields.
|
|
240
|
+
* For nested blocks, this returns the parent block's UUID.
|
|
241
|
+
* For root-level blocks, this returns the host entity's UUID.
|
|
242
|
+
*
|
|
243
|
+
* @param uuid - The block UUID
|
|
244
|
+
* @returns The parent entity UUID, or null if block not found
|
|
245
|
+
*/
|
|
246
|
+
getParentEntityUuid: (uuid: string) => string | null;
|
|
247
|
+
};
|
|
248
|
+
export default function (eventBus: BlokkliEventBus, adapter: BlokkliAdapter<any>, context: ComputedRef<AdapterContext>, $t: TextProvider, providerKey: string, permissions: EditPermission[]): Promise<StateProvider>;
|
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
import {
|
|
2
|
+
computed,
|
|
3
|
+
ref,
|
|
4
|
+
reactive,
|
|
5
|
+
readonly,
|
|
6
|
+
provide
|
|
7
|
+
} from "vue";
|
|
8
|
+
import { refreshNuxtData, useState } from "nuxt/app";
|
|
9
|
+
import { INJECT_MUTATED_FIELDS_MAP } from "../../helpers/injections.js";
|
|
10
|
+
import { onBlokkliEvent, addElementClasses } from "#blokkli/editor/composables";
|
|
11
|
+
import { falsy, getFieldKey } from "#blokkli/helpers";
|
|
12
|
+
import { emitMessage } from "#blokkli/editor/events";
|
|
13
|
+
import { nextTick } from "#imports";
|
|
14
|
+
import { fromLibraryBlockBundle } from "#blokkli-build/config";
|
|
15
|
+
const HOST_OPTION_KEY = "HOST";
|
|
16
|
+
function mapPublishOptions(context) {
|
|
17
|
+
return {
|
|
18
|
+
canPublish: !!context?.publishOptions?.canPublish,
|
|
19
|
+
isRevisionable: !!context?.publishOptions?.isRevisionable,
|
|
20
|
+
hasRevisionLogMessage: !!context?.publishOptions?.hasRevisionLogMessage,
|
|
21
|
+
canSchedule: !!context?.publishOptions?.canSchedule,
|
|
22
|
+
lastChanged: context?.publishOptions?.lastChanged ?? null,
|
|
23
|
+
publishOn: context?.publishOptions?.publishOn ?? null,
|
|
24
|
+
revisionLogMessage: context?.publishOptions?.revisionLogMessage ?? null
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export default async function(eventBus, adapter, context, $t, providerKey, permissions) {
|
|
28
|
+
let _mappedState = null;
|
|
29
|
+
const overrideHostOptions = useState("options:" + providerKey);
|
|
30
|
+
const stateLoaded = ref(false);
|
|
31
|
+
const stateLoadError = ref(false);
|
|
32
|
+
const owner = ref(null);
|
|
33
|
+
const refreshKey = ref("");
|
|
34
|
+
const mutatedFields = ref([]);
|
|
35
|
+
const mutatedFieldsMap = reactive(
|
|
36
|
+
{}
|
|
37
|
+
);
|
|
38
|
+
const mutations = ref([]);
|
|
39
|
+
const violations = ref([]);
|
|
40
|
+
const mutatedEntity = ref(null);
|
|
41
|
+
const publishOptions = ref({
|
|
42
|
+
canPublish: false,
|
|
43
|
+
isRevisionable: false,
|
|
44
|
+
hasRevisionLogMessage: false,
|
|
45
|
+
lastChanged: null,
|
|
46
|
+
canSchedule: false,
|
|
47
|
+
publishOn: null,
|
|
48
|
+
revisionLogMessage: null
|
|
49
|
+
});
|
|
50
|
+
const currentMutationIndex = ref(-1);
|
|
51
|
+
const isLoading = ref(false);
|
|
52
|
+
const entity = ref({
|
|
53
|
+
label: "",
|
|
54
|
+
status: false,
|
|
55
|
+
bundleLabel: ""
|
|
56
|
+
});
|
|
57
|
+
let fieldBlockCount = {};
|
|
58
|
+
const blockBundleCount = ref({});
|
|
59
|
+
const fieldListItemMap = ref({});
|
|
60
|
+
let bundleToUuids = {};
|
|
61
|
+
const fromLibraryUuids = ref([]);
|
|
62
|
+
const nestingLevelMap = /* @__PURE__ */ new Map();
|
|
63
|
+
function getFieldListItem(uuid) {
|
|
64
|
+
const fieldKey = fieldListItemMap.value[uuid];
|
|
65
|
+
if (!fieldKey) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
const field = mutatedFieldsMap[fieldKey];
|
|
69
|
+
if (!field) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
return field.list.find((v) => v.uuid === uuid);
|
|
73
|
+
}
|
|
74
|
+
function getFieldKeyForUuid(uuid) {
|
|
75
|
+
return fieldListItemMap.value[uuid] ?? null;
|
|
76
|
+
}
|
|
77
|
+
function getParentEntityUuid(uuid) {
|
|
78
|
+
const field = getFieldListForBlock(uuid);
|
|
79
|
+
return field?.entityUuid ?? null;
|
|
80
|
+
}
|
|
81
|
+
function getFieldListForBlock(uuid) {
|
|
82
|
+
const fieldKey = fieldListItemMap.value[uuid];
|
|
83
|
+
if (!fieldKey) {
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
return mutatedFieldsMap[fieldKey];
|
|
87
|
+
}
|
|
88
|
+
const mutatedOptions = reactive({});
|
|
89
|
+
const mutatedItemProps = reactive({});
|
|
90
|
+
const translation = ref({
|
|
91
|
+
isTranslatable: false,
|
|
92
|
+
sourceLanguage: "",
|
|
93
|
+
availableLanguages: [],
|
|
94
|
+
translations: []
|
|
95
|
+
});
|
|
96
|
+
function updatePublishOptions(newPublishOptions) {
|
|
97
|
+
publishOptions.value.canPublish = newPublishOptions.canPublish;
|
|
98
|
+
publishOptions.value.isRevisionable = newPublishOptions.isRevisionable;
|
|
99
|
+
publishOptions.value.hasRevisionLogMessage = newPublishOptions.hasRevisionLogMessage;
|
|
100
|
+
publishOptions.value.lastChanged = newPublishOptions.lastChanged;
|
|
101
|
+
publishOptions.value.canSchedule = newPublishOptions.canSchedule;
|
|
102
|
+
publishOptions.value.publishOn = newPublishOptions.publishOn;
|
|
103
|
+
publishOptions.value.revisionLogMessage = newPublishOptions.revisionLogMessage;
|
|
104
|
+
}
|
|
105
|
+
function setContext(context2, override) {
|
|
106
|
+
eventBus.emit("state:reload:before");
|
|
107
|
+
if (!override) {
|
|
108
|
+
_mappedState = context2 ?? null;
|
|
109
|
+
}
|
|
110
|
+
const options = context2?.mutatedState?.mutatedOptions || {};
|
|
111
|
+
const optionKeys = Object.keys(options);
|
|
112
|
+
for (let i = 0; i < optionKeys.length; i++) {
|
|
113
|
+
const key = optionKeys[i];
|
|
114
|
+
const newOptions = options[key];
|
|
115
|
+
const existing2 = mutatedOptions[key];
|
|
116
|
+
if (!existing2 || JSON.stringify(existing2) !== JSON.stringify(newOptions)) {
|
|
117
|
+
mutatedOptions[key] = newOptions;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
const hostOptions = context2?.mutatedState?.mutatedHostOptions ?? {};
|
|
121
|
+
const existing = mutatedOptions[HOST_OPTION_KEY];
|
|
122
|
+
if (!existing || JSON.stringify(existing) !== JSON.stringify(hostOptions)) {
|
|
123
|
+
mutatedOptions[HOST_OPTION_KEY] = hostOptions ?? "";
|
|
124
|
+
overrideHostOptions.value = hostOptions;
|
|
125
|
+
}
|
|
126
|
+
mutations.value = context2?.mutations || [];
|
|
127
|
+
violations.value = context2?.mutatedState?.violations || [];
|
|
128
|
+
const currentIndex = context2?.currentIndex;
|
|
129
|
+
currentMutationIndex.value = currentIndex === void 0 ? -1 : currentIndex;
|
|
130
|
+
owner.value = {
|
|
131
|
+
name: context2?.ownerName,
|
|
132
|
+
currentUserIsOwner: !!context2?.currentUserIsOwner
|
|
133
|
+
};
|
|
134
|
+
entity.value.label = context2?.entity?.label;
|
|
135
|
+
entity.value.status = context2?.entity?.status;
|
|
136
|
+
entity.value.bundleLabel = context2?.entity?.bundleLabel || "";
|
|
137
|
+
updatePublishOptions(mapPublishOptions(context2));
|
|
138
|
+
translation.value.isTranslatable = !!context2?.translationState?.isTranslatable;
|
|
139
|
+
translation.value.translations = context2?.translationState?.translations?.filter(falsy) || [];
|
|
140
|
+
translation.value.sourceLanguage = context2?.translationState?.sourceLanguage || "";
|
|
141
|
+
translation.value.availableLanguages = context2?.translationState?.availableLanguages || [];
|
|
142
|
+
const newMutatedFields = (context2?.mutatedState?.fields || []).map(
|
|
143
|
+
(field) => {
|
|
144
|
+
return {
|
|
145
|
+
...field,
|
|
146
|
+
list: field.list.filter(falsy)
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
);
|
|
150
|
+
mutatedFields.value = newMutatedFields;
|
|
151
|
+
mutatedEntity.value = context2?.mutatedEntity;
|
|
152
|
+
const visitedFieldKeys = [];
|
|
153
|
+
const newBlockBundleCount = {};
|
|
154
|
+
fieldListItemMap.value = {};
|
|
155
|
+
nestingLevelMap.clear();
|
|
156
|
+
fieldBlockCount = {};
|
|
157
|
+
bundleToUuids = {};
|
|
158
|
+
const fromLibrary = [];
|
|
159
|
+
for (let i = 0; i < newMutatedFields.length; i++) {
|
|
160
|
+
const field = newMutatedFields[i];
|
|
161
|
+
const key = getFieldKey(field.entityUuid, field.name);
|
|
162
|
+
visitedFieldKeys.push(key);
|
|
163
|
+
const existing2 = mutatedFieldsMap[key];
|
|
164
|
+
if (!existing2 || existing2.list.length !== field.list.length || JSON.stringify(existing2.list) !== JSON.stringify(field.list)) {
|
|
165
|
+
mutatedFieldsMap[key] = field;
|
|
166
|
+
}
|
|
167
|
+
for (let j = 0; j < field.list.length; j++) {
|
|
168
|
+
const item = field.list[j];
|
|
169
|
+
if (!newBlockBundleCount[item.bundle]) {
|
|
170
|
+
newBlockBundleCount[item.bundle] = 0;
|
|
171
|
+
}
|
|
172
|
+
newBlockBundleCount[item.bundle]++;
|
|
173
|
+
fieldListItemMap.value[item.uuid] = key;
|
|
174
|
+
if (!bundleToUuids[item.bundle]) {
|
|
175
|
+
bundleToUuids[item.bundle] = [];
|
|
176
|
+
}
|
|
177
|
+
bundleToUuids[item.bundle].push(item.uuid);
|
|
178
|
+
if (item.bundle === fromLibraryBlockBundle) {
|
|
179
|
+
fromLibrary.push(item.uuid);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
for (let i = 0; i < newMutatedFields.length; i++) {
|
|
184
|
+
const field = newMutatedFields[i];
|
|
185
|
+
for (let j = 0; j < field.list.length; j++) {
|
|
186
|
+
const item = field.list[j];
|
|
187
|
+
calculateNestingLevel(item.uuid);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
blockBundleCount.value = newBlockBundleCount;
|
|
191
|
+
const existingKeys = Object.keys(mutatedFieldsMap);
|
|
192
|
+
for (let i = 0; i < existingKeys.length; i++) {
|
|
193
|
+
const key = existingKeys[i];
|
|
194
|
+
if (!visitedFieldKeys.includes(key)) {
|
|
195
|
+
mutatedFieldsMap[key] = void 0;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
fromLibraryUuids.value = fromLibrary;
|
|
199
|
+
const mutatedItemPropsUuids = Object.keys(mutatedItemProps);
|
|
200
|
+
mutatedItemPropsUuids.forEach((uuid) => {
|
|
201
|
+
mutatedItemProps[uuid] = void 0;
|
|
202
|
+
});
|
|
203
|
+
eventBus.emit("updateMutatedFields", { fields: newMutatedFields });
|
|
204
|
+
nextTick(() => {
|
|
205
|
+
refreshKey.value = Date.now().toString();
|
|
206
|
+
eventBus.emit("state:reloaded");
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
function getMutatedField(entityUuid, fieldName) {
|
|
210
|
+
const key = getFieldKey(entityUuid, fieldName);
|
|
211
|
+
return mutatedFieldsMap[key];
|
|
212
|
+
}
|
|
213
|
+
function getBlockBundleCount(bundle) {
|
|
214
|
+
return blockBundleCount.value[bundle] || 0;
|
|
215
|
+
}
|
|
216
|
+
function getFieldBlockCount(key) {
|
|
217
|
+
if (fieldBlockCount[key] !== void 0) {
|
|
218
|
+
return fieldBlockCount[key];
|
|
219
|
+
}
|
|
220
|
+
const count = mutatedFieldsMap[key]?.list.length || 0;
|
|
221
|
+
fieldBlockCount[key] = count;
|
|
222
|
+
return count;
|
|
223
|
+
}
|
|
224
|
+
function lockBody() {
|
|
225
|
+
isLoading.value = true;
|
|
226
|
+
}
|
|
227
|
+
function unlockBody() {
|
|
228
|
+
isLoading.value = false;
|
|
229
|
+
}
|
|
230
|
+
function getAllUuids(bundle) {
|
|
231
|
+
if (!bundle) {
|
|
232
|
+
return [...Object.keys(fieldListItemMap.value)];
|
|
233
|
+
}
|
|
234
|
+
return bundleToUuids[bundle] ?? [];
|
|
235
|
+
}
|
|
236
|
+
function calculateNestingLevel(uuid) {
|
|
237
|
+
const cached = nestingLevelMap.get(uuid);
|
|
238
|
+
if (cached !== void 0) {
|
|
239
|
+
return cached;
|
|
240
|
+
}
|
|
241
|
+
const fieldKey = fieldListItemMap.value[uuid];
|
|
242
|
+
if (!fieldKey) {
|
|
243
|
+
nestingLevelMap.set(uuid, 0);
|
|
244
|
+
return 0;
|
|
245
|
+
}
|
|
246
|
+
const field = mutatedFieldsMap[fieldKey];
|
|
247
|
+
if (!field) {
|
|
248
|
+
nestingLevelMap.set(uuid, 0);
|
|
249
|
+
return 0;
|
|
250
|
+
}
|
|
251
|
+
const parentEntityUuid = field.entityUuid;
|
|
252
|
+
const parentFieldKey = fieldListItemMap.value[parentEntityUuid];
|
|
253
|
+
if (!parentFieldKey) {
|
|
254
|
+
nestingLevelMap.set(uuid, 0);
|
|
255
|
+
return 0;
|
|
256
|
+
}
|
|
257
|
+
const parentLevel = calculateNestingLevel(parentEntityUuid);
|
|
258
|
+
const level = parentLevel + 1;
|
|
259
|
+
nestingLevelMap.set(uuid, level);
|
|
260
|
+
return level;
|
|
261
|
+
}
|
|
262
|
+
function getNestingLevel(uuid) {
|
|
263
|
+
return nestingLevelMap.get(uuid) ?? 0;
|
|
264
|
+
}
|
|
265
|
+
function isChildOf(childUuid, parentUuid) {
|
|
266
|
+
const fieldKey = fieldListItemMap.value[childUuid];
|
|
267
|
+
if (!fieldKey) {
|
|
268
|
+
return false;
|
|
269
|
+
}
|
|
270
|
+
const field = mutatedFieldsMap[fieldKey];
|
|
271
|
+
if (!field) {
|
|
272
|
+
return false;
|
|
273
|
+
}
|
|
274
|
+
if (field.entityUuid === parentUuid) {
|
|
275
|
+
return true;
|
|
276
|
+
}
|
|
277
|
+
return isChildOf(field.entityUuid, parentUuid);
|
|
278
|
+
}
|
|
279
|
+
addElementClasses(document.body, "bk-body-loading", isLoading);
|
|
280
|
+
const mutateWithLoadingState = async (callback, errorMessage, successMessage) => {
|
|
281
|
+
if (!callback) {
|
|
282
|
+
return true;
|
|
283
|
+
}
|
|
284
|
+
lockBody();
|
|
285
|
+
try {
|
|
286
|
+
const promise = callback();
|
|
287
|
+
const result = await promise;
|
|
288
|
+
if (!result) {
|
|
289
|
+
throw new Error("Unexpected error");
|
|
290
|
+
}
|
|
291
|
+
unlockBody();
|
|
292
|
+
if (result.state) {
|
|
293
|
+
setContext(adapter.mapState(result.state));
|
|
294
|
+
}
|
|
295
|
+
if (!result.success) {
|
|
296
|
+
const errorMessage2 = result.errors?.join("\n") || $t("unexpectedMutationError", "An unexpected error happened.");
|
|
297
|
+
throw new Error(errorMessage2);
|
|
298
|
+
}
|
|
299
|
+
if (successMessage) {
|
|
300
|
+
emitMessage(successMessage);
|
|
301
|
+
}
|
|
302
|
+
return true;
|
|
303
|
+
} catch (e) {
|
|
304
|
+
if (errorMessage !== false) {
|
|
305
|
+
emitMessage(
|
|
306
|
+
errorMessage || $t("unexpectedMutationError", "An unexpected error happened."),
|
|
307
|
+
"error",
|
|
308
|
+
e
|
|
309
|
+
);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
unlockBody();
|
|
313
|
+
return false;
|
|
314
|
+
};
|
|
315
|
+
async function loadState() {
|
|
316
|
+
try {
|
|
317
|
+
const state = await adapter.loadState();
|
|
318
|
+
if (!state) {
|
|
319
|
+
throw new Error("Missing state.");
|
|
320
|
+
}
|
|
321
|
+
setContext(adapter.mapState(state));
|
|
322
|
+
stateLoadError.value = false;
|
|
323
|
+
stateLoaded.value = true;
|
|
324
|
+
} catch {
|
|
325
|
+
stateLoadError.value = true;
|
|
326
|
+
stateLoaded.value = false;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
const canEdit = computed(
|
|
330
|
+
() => stateLoaded.value && !!owner.value?.currentUserIsOwner && !stateLoadError.value && permissions.includes("edit")
|
|
331
|
+
);
|
|
332
|
+
const isTranslation = computed(
|
|
333
|
+
() => context.value.language !== translation.value.sourceLanguage && translation.value.isTranslatable
|
|
334
|
+
);
|
|
335
|
+
const editMode = computed(() => {
|
|
336
|
+
if (!canEdit.value) {
|
|
337
|
+
return "readonly";
|
|
338
|
+
}
|
|
339
|
+
if (isTranslation.value) {
|
|
340
|
+
return "translating";
|
|
341
|
+
}
|
|
342
|
+
return "editing";
|
|
343
|
+
});
|
|
344
|
+
onBlokkliEvent("reloadState", async () => {
|
|
345
|
+
await loadState();
|
|
346
|
+
});
|
|
347
|
+
onBlokkliEvent("reloadEntity", async (cb) => {
|
|
348
|
+
await refreshNuxtData();
|
|
349
|
+
await loadState();
|
|
350
|
+
if (cb) {
|
|
351
|
+
cb();
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
provide(INJECT_MUTATED_FIELDS_MAP, mutatedFieldsMap);
|
|
355
|
+
await loadState();
|
|
356
|
+
const stateAvailable = computed(
|
|
357
|
+
() => stateLoaded.value && !stateLoadError.value
|
|
358
|
+
);
|
|
359
|
+
function getMappedState() {
|
|
360
|
+
if (!_mappedState) {
|
|
361
|
+
throw new Error("Called getMappedState() before a state is available.");
|
|
362
|
+
}
|
|
363
|
+
return _mappedState;
|
|
364
|
+
}
|
|
365
|
+
function setOverrideState(state) {
|
|
366
|
+
setContext(state, true);
|
|
367
|
+
}
|
|
368
|
+
function clearOverrideState() {
|
|
369
|
+
if (!_mappedState) {
|
|
370
|
+
throw new Error("Missing previous state.");
|
|
371
|
+
}
|
|
372
|
+
setContext(_mappedState);
|
|
373
|
+
}
|
|
374
|
+
return {
|
|
375
|
+
stateAvailable,
|
|
376
|
+
getMappedState,
|
|
377
|
+
refreshKey,
|
|
378
|
+
owner: readonly(owner),
|
|
379
|
+
publishOptions: readonly(publishOptions),
|
|
380
|
+
mutatedFields,
|
|
381
|
+
entity,
|
|
382
|
+
mutatedOptions,
|
|
383
|
+
mutatedItemProps,
|
|
384
|
+
translation,
|
|
385
|
+
mutations,
|
|
386
|
+
violations,
|
|
387
|
+
currentMutationIndex,
|
|
388
|
+
mutateWithLoadingState,
|
|
389
|
+
editMode,
|
|
390
|
+
canEdit,
|
|
391
|
+
isLoading: readonly(isLoading),
|
|
392
|
+
mutatedEntity,
|
|
393
|
+
getFieldBlockCount,
|
|
394
|
+
getBlockBundleCount,
|
|
395
|
+
getFieldListItem,
|
|
396
|
+
getMutatedField,
|
|
397
|
+
getFieldListForBlock,
|
|
398
|
+
getAllUuids,
|
|
399
|
+
getNestingLevel,
|
|
400
|
+
isChildOf,
|
|
401
|
+
setOverrideState,
|
|
402
|
+
clearOverrideState,
|
|
403
|
+
fromLibraryUuids: readonly(fromLibraryUuids),
|
|
404
|
+
permissions: computed(() => permissions),
|
|
405
|
+
getFieldKeyForUuid,
|
|
406
|
+
getParentEntityUuid
|
|
407
|
+
};
|
|
408
|
+
}
|