@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,68 @@
|
|
|
1
|
+
export const MIN_GAP = 20;
|
|
2
|
+
export function getGapSize(orientation, element) {
|
|
3
|
+
const computedStyle = window.getComputedStyle(element);
|
|
4
|
+
if (computedStyle.display.includes("grid") || computedStyle.display.includes("flex")) {
|
|
5
|
+
const gap = orientation === "vertical" ? computedStyle.rowGap || computedStyle.gridRowGap : computedStyle.columnGap || computedStyle.gridColumnGap;
|
|
6
|
+
if (gap) {
|
|
7
|
+
const gapParts = gap.split(" ");
|
|
8
|
+
const gapValue = gapParts[0];
|
|
9
|
+
if (gapValue?.endsWith("px")) {
|
|
10
|
+
return Number.parseFloat(gapValue);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
return MIN_GAP;
|
|
15
|
+
}
|
|
16
|
+
export function getChildrenOrientation(element) {
|
|
17
|
+
const computedStyle = window.getComputedStyle(element);
|
|
18
|
+
if (computedStyle.display.includes("flex")) {
|
|
19
|
+
if (computedStyle.flexDirection === "row" || computedStyle.flexDirection === "row-reverse") {
|
|
20
|
+
return "horizontal";
|
|
21
|
+
} else {
|
|
22
|
+
return "vertical";
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
if (computedStyle.display.includes("grid")) {
|
|
26
|
+
if (computedStyle.gridTemplateColumns.split(" ").length > 1) {
|
|
27
|
+
return "horizontal";
|
|
28
|
+
} else {
|
|
29
|
+
return "vertical";
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return "vertical";
|
|
33
|
+
}
|
|
34
|
+
export function determineCanAddChildren(field, children, uuids, currentCount, itemsToAdd, draggingBundles, draggingFragments) {
|
|
35
|
+
if (field.cardinality !== -1) {
|
|
36
|
+
const childrenThatAreSelection = children.filter((child) => {
|
|
37
|
+
const uuid = child.dataset.bkUuid;
|
|
38
|
+
if (!uuid) {
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
return uuids.includes(uuid);
|
|
42
|
+
}).length;
|
|
43
|
+
const countAfter = currentCount - childrenThatAreSelection + itemsToAdd;
|
|
44
|
+
if (countAfter > field.cardinality) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
if (!draggingBundles?.length) {
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
if (!uuids.length) {
|
|
52
|
+
return draggingBundles.some(
|
|
53
|
+
(bundle) => field.allowedBundles.includes(bundle)
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
const bundlesAllowed = draggingBundles.every(
|
|
57
|
+
(bundle) => field.allowedBundles.includes(bundle)
|
|
58
|
+
);
|
|
59
|
+
if (!bundlesAllowed) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
if (draggingFragments?.length && field.allowedFragments.length > 0) {
|
|
63
|
+
return draggingFragments.every(
|
|
64
|
+
(fragment) => field.allowedFragments.includes(fragment)
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
return true;
|
|
68
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { Rectangle, Coord, Size } from '#blokkli/editor/types/geometry';
|
|
2
|
+
export declare function getBounds(rects: Rectangle[]): Rectangle | undefined;
|
|
3
|
+
export declare function intersects(a: Rectangle, b: Rectangle): boolean;
|
|
4
|
+
export declare function isInsideRect(x: number, y: number, rect: Rectangle): boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Calculate the intersection amount of two rectangles as a value from 0 to 1.
|
|
7
|
+
*/
|
|
8
|
+
export declare function calculateIntersection(rectA: Rectangle, rectB: Rectangle): number;
|
|
9
|
+
/**
|
|
10
|
+
* Return the closest rectangle.
|
|
11
|
+
*/
|
|
12
|
+
export declare function findClosestRectangle<T extends Rectangle>(x: number, y: number, rects: T[]): T;
|
|
13
|
+
/**
|
|
14
|
+
* Return the distance from the given coordinates to the center of the rectangle.
|
|
15
|
+
*/
|
|
16
|
+
export declare function distanceToRectangle(x: number, y: number, rect: Rectangle): number;
|
|
17
|
+
/**
|
|
18
|
+
* Return the distance from the given coordinates to the center of the rectangle.
|
|
19
|
+
*/
|
|
20
|
+
export declare function distanceToClosestRectangleEdge(x: number, y: number, rect: Rectangle): number;
|
|
21
|
+
/**
|
|
22
|
+
* Subtracts a rectangle from a viewport and returns the remaining area as rectangles.
|
|
23
|
+
* The viewport is assumed to have x=0 and y=0.
|
|
24
|
+
*
|
|
25
|
+
* @param viewport - The size of the viewport to subtract from
|
|
26
|
+
* @param rect - The rectangle to subtract
|
|
27
|
+
* @returns An array of 0 to 4 rectangles representing the area outside of rect
|
|
28
|
+
*/
|
|
29
|
+
export declare function subtractRectFromViewport(viewport: Size, rect: Rectangle): Rectangle[];
|
|
30
|
+
export declare function getDistance(a: Coord, b: Coord): number;
|
|
31
|
+
/**
|
|
32
|
+
* Position the given rectToPlace so that it doesn't overlap with any of the blockingRects.
|
|
33
|
+
*/
|
|
34
|
+
export declare function findIdealRectPosition(blockingRects: Rectangle[], rectToPlace: Rectangle, viewport: Rectangle, maxOverlap?: number): {
|
|
35
|
+
x: number;
|
|
36
|
+
y: number;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Calculate the ideal X coordinate for placing a rectangle.
|
|
40
|
+
*
|
|
41
|
+
* Coordinates are assumed to be 0,0 for top-left. The method returns a number that can be used to set the
|
|
42
|
+
*/
|
|
43
|
+
export declare const calculateCenterPosition: (blockingRects: Rectangle[], viewport: Rectangle, widthToPlace: number) => number;
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { easeOutSine } from "../easing/index.js";
|
|
2
|
+
export function getBounds(rects) {
|
|
3
|
+
if (!rects.length) {
|
|
4
|
+
return;
|
|
5
|
+
}
|
|
6
|
+
const firstRect = rects[0];
|
|
7
|
+
let minX = firstRect.x;
|
|
8
|
+
let minY = firstRect.y;
|
|
9
|
+
let maxX = minX + firstRect.width;
|
|
10
|
+
let maxY = minY + firstRect.height;
|
|
11
|
+
for (const rect of rects.slice(1)) {
|
|
12
|
+
minX = Math.min(minX, rect.x);
|
|
13
|
+
minY = Math.min(minY, rect.y);
|
|
14
|
+
maxX = Math.max(maxX, rect.x + rect.width);
|
|
15
|
+
maxY = Math.max(maxY, rect.y + rect.height);
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
x: minX,
|
|
19
|
+
y: minY,
|
|
20
|
+
width: maxX - minX,
|
|
21
|
+
height: maxY - minY
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export function intersects(a, b) {
|
|
25
|
+
return a.x < b.x + b.width && a.x + a.width > b.x && a.y < b.y + b.height && a.y + a.height > b.y;
|
|
26
|
+
}
|
|
27
|
+
export function isInsideRect(x, y, rect) {
|
|
28
|
+
return x > rect.x && x < rect.x + rect.width && y > rect.y && y < rect.y + rect.height;
|
|
29
|
+
}
|
|
30
|
+
export function calculateIntersection(rectA, rectB) {
|
|
31
|
+
if (!intersects(rectA, rectB)) {
|
|
32
|
+
return 0;
|
|
33
|
+
}
|
|
34
|
+
const xOverlap = Math.max(
|
|
35
|
+
0,
|
|
36
|
+
Math.min(rectA.x + rectA.width, rectB.x + rectB.width) - Math.max(rectA.x, rectB.x)
|
|
37
|
+
);
|
|
38
|
+
const yOverlap = Math.max(
|
|
39
|
+
0,
|
|
40
|
+
Math.min(rectA.y + rectA.height, rectB.y + rectB.height) - Math.max(rectA.y, rectB.y)
|
|
41
|
+
);
|
|
42
|
+
const intersectionArea = xOverlap * yOverlap;
|
|
43
|
+
const rectAArea = rectA.width * rectA.height;
|
|
44
|
+
return intersectionArea / rectAArea;
|
|
45
|
+
}
|
|
46
|
+
export function findClosestRectangle(x, y, rects) {
|
|
47
|
+
let closestRect = rects[0];
|
|
48
|
+
if (!closestRect) {
|
|
49
|
+
throw new Error("Need at least one rect.");
|
|
50
|
+
}
|
|
51
|
+
let minDistance = distanceToClosestRectangleEdge(x, y, closestRect);
|
|
52
|
+
for (let i = 1; i < rects.length; i++) {
|
|
53
|
+
const rect = rects[i];
|
|
54
|
+
const distance = distanceToClosestRectangleEdge(x, y, rect);
|
|
55
|
+
if (distance < minDistance) {
|
|
56
|
+
closestRect = rect;
|
|
57
|
+
minDistance = distance;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return closestRect;
|
|
61
|
+
}
|
|
62
|
+
export function distanceToRectangle(x, y, rect) {
|
|
63
|
+
const minX = rect.x;
|
|
64
|
+
const minY = rect.y;
|
|
65
|
+
const maxX = rect.x + rect.width;
|
|
66
|
+
const maxY = rect.y + rect.height;
|
|
67
|
+
const dx = Math.max(minX - x, 0, x - maxX);
|
|
68
|
+
const dy = Math.max(minY - y, 0, y - maxY);
|
|
69
|
+
return Math.sqrt(dx * dx + dy * dy);
|
|
70
|
+
}
|
|
71
|
+
export function distanceToClosestRectangleEdge(x, y, rect) {
|
|
72
|
+
if (isInsideRect(x, y, rect)) {
|
|
73
|
+
return 0;
|
|
74
|
+
}
|
|
75
|
+
const minX = rect.x;
|
|
76
|
+
const minY = rect.y;
|
|
77
|
+
const maxX = rect.x + rect.width;
|
|
78
|
+
const maxY = rect.y + rect.height;
|
|
79
|
+
const dx = Math.max(minX - x, 0, x - maxX);
|
|
80
|
+
const dy = Math.max(minY - y, 0, y - maxY);
|
|
81
|
+
return Math.sqrt(dx * dx + dy * dy);
|
|
82
|
+
}
|
|
83
|
+
export function subtractRectFromViewport(viewport, rect) {
|
|
84
|
+
const viewportLeft = 0;
|
|
85
|
+
const viewportTop = 0;
|
|
86
|
+
const viewportRight = viewport.width;
|
|
87
|
+
const viewportBottom = viewport.height;
|
|
88
|
+
const intersectLeft = Math.max(viewportLeft, rect.x);
|
|
89
|
+
const intersectTop = Math.max(viewportTop, rect.y);
|
|
90
|
+
const intersectRight = Math.min(viewportRight, rect.x + rect.width);
|
|
91
|
+
const intersectBottom = Math.min(viewportBottom, rect.y + rect.height);
|
|
92
|
+
if (intersectLeft >= intersectRight || intersectTop >= intersectBottom) {
|
|
93
|
+
return [
|
|
94
|
+
{
|
|
95
|
+
x: 0,
|
|
96
|
+
y: 0,
|
|
97
|
+
width: viewport.width,
|
|
98
|
+
height: viewport.height
|
|
99
|
+
}
|
|
100
|
+
];
|
|
101
|
+
}
|
|
102
|
+
if (intersectLeft <= viewportLeft && intersectTop <= viewportTop && intersectRight >= viewportRight && intersectBottom >= viewportBottom) {
|
|
103
|
+
return [];
|
|
104
|
+
}
|
|
105
|
+
const result = [];
|
|
106
|
+
if (intersectTop > viewportTop) {
|
|
107
|
+
result.push({
|
|
108
|
+
x: viewportLeft,
|
|
109
|
+
y: viewportTop,
|
|
110
|
+
width: viewport.width,
|
|
111
|
+
height: intersectTop - viewportTop
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
if (intersectBottom < viewportBottom) {
|
|
115
|
+
result.push({
|
|
116
|
+
x: viewportLeft,
|
|
117
|
+
y: intersectBottom,
|
|
118
|
+
width: viewport.width,
|
|
119
|
+
height: viewportBottom - intersectBottom
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
if (intersectLeft > viewportLeft) {
|
|
123
|
+
result.push({
|
|
124
|
+
x: viewportLeft,
|
|
125
|
+
y: intersectTop,
|
|
126
|
+
width: intersectLeft - viewportLeft,
|
|
127
|
+
height: intersectBottom - intersectTop
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
if (intersectRight < viewportRight) {
|
|
131
|
+
result.push({
|
|
132
|
+
x: intersectRight,
|
|
133
|
+
y: intersectTop,
|
|
134
|
+
width: viewportRight - intersectRight,
|
|
135
|
+
height: intersectBottom - intersectTop
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
return result;
|
|
139
|
+
}
|
|
140
|
+
export function getDistance(a, b) {
|
|
141
|
+
const dx = a.x - b.x;
|
|
142
|
+
const dy = a.y - b.y;
|
|
143
|
+
return Math.sqrt(dx * dx + dy * dy);
|
|
144
|
+
}
|
|
145
|
+
export function findIdealRectPosition(blockingRects, rectToPlace, viewport, maxOverlap = 60) {
|
|
146
|
+
let targetX = rectToPlace.x;
|
|
147
|
+
for (const blockingRect of blockingRects) {
|
|
148
|
+
if (intersects(rectToPlace, blockingRect)) {
|
|
149
|
+
const a = Math.abs(rectToPlace.y + rectToPlace.height - blockingRect.y);
|
|
150
|
+
const b = Math.abs(blockingRect.y + blockingRect.height - rectToPlace.y);
|
|
151
|
+
const verticalOverlap = Math.min(a, b);
|
|
152
|
+
const smoothingFactor = easeOutSine(
|
|
153
|
+
Math.min(verticalOverlap, maxOverlap) / maxOverlap
|
|
154
|
+
);
|
|
155
|
+
if (rectToPlace.x + rectToPlace.width / 2 > blockingRect.x + blockingRect.width / 2) {
|
|
156
|
+
targetX = blockingRect.x + blockingRect.width;
|
|
157
|
+
} else {
|
|
158
|
+
targetX = blockingRect.x - rectToPlace.width;
|
|
159
|
+
}
|
|
160
|
+
targetX = rectToPlace.x + smoothingFactor * (targetX - rectToPlace.x);
|
|
161
|
+
break;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
return {
|
|
165
|
+
x: Math.min(
|
|
166
|
+
Math.max(targetX, viewport.x),
|
|
167
|
+
viewport.x + viewport.width - rectToPlace.width
|
|
168
|
+
),
|
|
169
|
+
y: Math.min(
|
|
170
|
+
Math.max(viewport.y, rectToPlace.y),
|
|
171
|
+
viewport.height + viewport.y - rectToPlace.height
|
|
172
|
+
)
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
export const calculateCenterPosition = (blockingRects, viewport, widthToPlace) => {
|
|
176
|
+
const viewportCenterX = (viewport.x + viewport.width) / 2;
|
|
177
|
+
const blockingThreshold = viewport.width / 7;
|
|
178
|
+
const x = blockingRects.reduce((acc, rect) => {
|
|
179
|
+
if (rect.x < viewportCenterX && viewportCenterX - rect.x > blockingThreshold && rect.x + rect.width > acc) {
|
|
180
|
+
return rect.x + rect.width;
|
|
181
|
+
}
|
|
182
|
+
return acc;
|
|
183
|
+
}, viewport.x);
|
|
184
|
+
const width = blockingRects.reduce((acc, rect) => {
|
|
185
|
+
if (rect.x > viewportCenterX && rect.x - viewportCenterX > blockingThreshold && rect.x < acc) {
|
|
186
|
+
return rect.x;
|
|
187
|
+
}
|
|
188
|
+
return acc;
|
|
189
|
+
}, viewport.width + viewport.x);
|
|
190
|
+
return (x + width) / 2 - widthToPlace / 2;
|
|
191
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function asValidNumber(v, defaultValue) {
|
|
2
|
+
if (typeof v === "number" && !Number.isNaN(v)) {
|
|
3
|
+
return v;
|
|
4
|
+
}
|
|
5
|
+
return defaultValue;
|
|
6
|
+
}
|
|
7
|
+
export function modulo(n, m) {
|
|
8
|
+
return (n % m + m) % m;
|
|
9
|
+
}
|
|
10
|
+
export const lerp = (s, e, t) => s * (1 - t) + e * t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function generateUUID(): string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export function generateUUID() {
|
|
2
|
+
try {
|
|
3
|
+
return crypto.randomUUID();
|
|
4
|
+
} catch {
|
|
5
|
+
}
|
|
6
|
+
let d = (/* @__PURE__ */ new Date()).getTime(), d2 = typeof performance !== "undefined" && performance.now && performance.now() * 1e3 || 0;
|
|
7
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
8
|
+
let r = Math.random() * 16;
|
|
9
|
+
if (d > 0) {
|
|
10
|
+
r = (d + r) % 16 | 0;
|
|
11
|
+
d = Math.floor(d / 16);
|
|
12
|
+
} else {
|
|
13
|
+
r = (d2 + r) % 16 | 0;
|
|
14
|
+
d2 = Math.floor(d2 / 16);
|
|
15
|
+
}
|
|
16
|
+
return (c == "x" ? r : r & 7 | 8).toString(16);
|
|
17
|
+
});
|
|
18
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type BufferInfo } from 'twgl.js';
|
|
2
|
+
import type { Rectangle } from '#blokkli/editor/types/geometry';
|
|
3
|
+
type RectangleBufferRect = Rectangle & {
|
|
4
|
+
id: string;
|
|
5
|
+
index: number;
|
|
6
|
+
radius?: [number, number, number, number];
|
|
7
|
+
state?: number;
|
|
8
|
+
};
|
|
9
|
+
type RectangleBufferCollectorOptions = {
|
|
10
|
+
padding?: number;
|
|
11
|
+
deferredMode?: boolean;
|
|
12
|
+
};
|
|
13
|
+
type PlacedRectangle = Rectangle & {
|
|
14
|
+
originalY: number;
|
|
15
|
+
};
|
|
16
|
+
type PendingRect<T> = {
|
|
17
|
+
rect: Omit<T, 'index'>;
|
|
18
|
+
type: number;
|
|
19
|
+
checkOverlap: boolean;
|
|
20
|
+
};
|
|
21
|
+
export declare class RectangleBufferCollector<T extends RectangleBufferRect> {
|
|
22
|
+
added: Set<string>;
|
|
23
|
+
rects: Record<string, T>;
|
|
24
|
+
positions: number[];
|
|
25
|
+
indices: number[];
|
|
26
|
+
rectId: number[];
|
|
27
|
+
types: number[];
|
|
28
|
+
quad: number[];
|
|
29
|
+
state: number[];
|
|
30
|
+
radius: number[];
|
|
31
|
+
index: number;
|
|
32
|
+
bufferInfo: BufferInfo | null;
|
|
33
|
+
placedRects: PlacedRectangle[];
|
|
34
|
+
deferredMode: boolean;
|
|
35
|
+
pendingRects: PendingRect<T>[];
|
|
36
|
+
constructor(options?: RectangleBufferCollectorOptions);
|
|
37
|
+
reset(): void;
|
|
38
|
+
getIdealPosition(x: number, y: number, width: number, height: number, isEmptyField?: boolean): Rectangle;
|
|
39
|
+
addRectangle(rect: Omit<T, 'index'>, type: number, checkOverlap?: boolean): void;
|
|
40
|
+
processPendingRects(): void;
|
|
41
|
+
getIndex(id: string): number | undefined;
|
|
42
|
+
updateRectangle(): void;
|
|
43
|
+
createBufferInfo(gl: WebGLRenderingContext): BufferInfo;
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
import { createBufferInfoFromArrays } from "twgl.js";
|
|
2
|
+
import { intersects } from "./../geometry/index.js";
|
|
3
|
+
export class RectangleBufferCollector {
|
|
4
|
+
added = /* @__PURE__ */ new Set();
|
|
5
|
+
rects = {};
|
|
6
|
+
positions = [];
|
|
7
|
+
indices = [];
|
|
8
|
+
rectId = [];
|
|
9
|
+
types = [];
|
|
10
|
+
quad = [];
|
|
11
|
+
state = [];
|
|
12
|
+
radius = [];
|
|
13
|
+
index = 0;
|
|
14
|
+
bufferInfo = null;
|
|
15
|
+
placedRects = [];
|
|
16
|
+
deferredMode = false;
|
|
17
|
+
pendingRects = [];
|
|
18
|
+
constructor(options) {
|
|
19
|
+
this.deferredMode = options?.deferredMode || false;
|
|
20
|
+
}
|
|
21
|
+
reset() {
|
|
22
|
+
this.added = /* @__PURE__ */ new Set();
|
|
23
|
+
if (!this.deferredMode) {
|
|
24
|
+
this.rects = {};
|
|
25
|
+
}
|
|
26
|
+
this.placedRects = [];
|
|
27
|
+
this.positions = [];
|
|
28
|
+
this.indices = [];
|
|
29
|
+
this.rectId = [];
|
|
30
|
+
this.types = [];
|
|
31
|
+
this.state = [];
|
|
32
|
+
this.quad = [];
|
|
33
|
+
this.radius = [];
|
|
34
|
+
this.index = 0;
|
|
35
|
+
this.bufferInfo = null;
|
|
36
|
+
this.pendingRects = [];
|
|
37
|
+
}
|
|
38
|
+
getIdealPosition(x, y, width, height, isEmptyField = false) {
|
|
39
|
+
const MIN_HEIGHT = 5;
|
|
40
|
+
const rect = {
|
|
41
|
+
x,
|
|
42
|
+
y,
|
|
43
|
+
width,
|
|
44
|
+
height,
|
|
45
|
+
originalY: y
|
|
46
|
+
};
|
|
47
|
+
const intersections = [];
|
|
48
|
+
for (let i = 0; i < this.placedRects.length; i++) {
|
|
49
|
+
const placed = this.placedRects[i];
|
|
50
|
+
const testRect = { ...rect, height: Math.max(height, MIN_HEIGHT) };
|
|
51
|
+
const testPlaced = {
|
|
52
|
+
...placed,
|
|
53
|
+
height: Math.max(placed.height, MIN_HEIGHT)
|
|
54
|
+
};
|
|
55
|
+
if (intersects(testRect, testPlaced)) {
|
|
56
|
+
intersections.push(placed);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
if (intersections.length === 0) {
|
|
60
|
+
this.placedRects.push(rect);
|
|
61
|
+
return rect;
|
|
62
|
+
}
|
|
63
|
+
intersections.sort((a, b) => a.originalY - b.originalY);
|
|
64
|
+
if (isEmptyField) {
|
|
65
|
+
for (let i = 0; i < intersections.length; i++) {
|
|
66
|
+
const existingRect = intersections[i];
|
|
67
|
+
const rectsAbove = this.placedRects.filter(
|
|
68
|
+
(r) => r.y + r.height <= existingRect.y && r.x < x + width && r.x + r.width > x
|
|
69
|
+
);
|
|
70
|
+
let prevBottom = 0;
|
|
71
|
+
if (rectsAbove.length > 0) {
|
|
72
|
+
prevBottom = Math.max(...rectsAbove.map((r) => r.y + r.height));
|
|
73
|
+
}
|
|
74
|
+
const nextTop = existingRect.y;
|
|
75
|
+
const availableSpace = nextTop - prevBottom;
|
|
76
|
+
if (availableSpace >= height) {
|
|
77
|
+
const centeredY = prevBottom + (availableSpace - height) / 2;
|
|
78
|
+
const centeredRect = { ...rect, y: centeredY };
|
|
79
|
+
let hasIntersection = false;
|
|
80
|
+
for (const placed of this.placedRects) {
|
|
81
|
+
const testCentered = {
|
|
82
|
+
...centeredRect,
|
|
83
|
+
height: Math.max(height, MIN_HEIGHT)
|
|
84
|
+
};
|
|
85
|
+
const testPlaced = {
|
|
86
|
+
...placed,
|
|
87
|
+
height: Math.max(placed.height, MIN_HEIGHT)
|
|
88
|
+
};
|
|
89
|
+
if (intersects(testCentered, testPlaced)) {
|
|
90
|
+
hasIntersection = true;
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
if (!hasIntersection) {
|
|
95
|
+
rect.y = centeredY;
|
|
96
|
+
this.placedRects.push(rect);
|
|
97
|
+
return rect;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
for (let i = 0; i < intersections.length; i++) {
|
|
103
|
+
const existingRect = intersections[i];
|
|
104
|
+
let iterations = 0;
|
|
105
|
+
const direction = y < existingRect.originalY ? -1 : 1;
|
|
106
|
+
while (intersects(rect, existingRect) && iterations < 10) {
|
|
107
|
+
rect.y = y + direction * (10 * (iterations + 1));
|
|
108
|
+
iterations++;
|
|
109
|
+
}
|
|
110
|
+
if (iterations >= 10) {
|
|
111
|
+
rect.y = y;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
this.placedRects.push(rect);
|
|
115
|
+
return rect;
|
|
116
|
+
}
|
|
117
|
+
addRectangle(rect, type, checkOverlap = false) {
|
|
118
|
+
if (this.deferredMode) {
|
|
119
|
+
this.pendingRects.push({ rect, type, checkOverlap });
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
const { x, y, width, height } = checkOverlap ? this.getIdealPosition(rect.x, rect.y, rect.width, rect.height) : rect;
|
|
123
|
+
this.positions.push(
|
|
124
|
+
x,
|
|
125
|
+
y,
|
|
126
|
+
// Lower left corner
|
|
127
|
+
0,
|
|
128
|
+
x + width,
|
|
129
|
+
y,
|
|
130
|
+
// Lower right corner
|
|
131
|
+
1,
|
|
132
|
+
x + width,
|
|
133
|
+
y + height,
|
|
134
|
+
// Upper right corner
|
|
135
|
+
2,
|
|
136
|
+
x,
|
|
137
|
+
y + height,
|
|
138
|
+
// Upper left corner
|
|
139
|
+
3
|
|
140
|
+
);
|
|
141
|
+
const baseIndex = 4 * this.index;
|
|
142
|
+
this.indices.push(
|
|
143
|
+
baseIndex,
|
|
144
|
+
baseIndex + 1,
|
|
145
|
+
baseIndex + 2,
|
|
146
|
+
// First triangle
|
|
147
|
+
baseIndex,
|
|
148
|
+
baseIndex + 2,
|
|
149
|
+
baseIndex + 3
|
|
150
|
+
// Second triangle
|
|
151
|
+
);
|
|
152
|
+
const r = rect.radius || [4, 4, 4, 4];
|
|
153
|
+
this.radius.push(...r);
|
|
154
|
+
this.radius.push(...r);
|
|
155
|
+
this.radius.push(...r);
|
|
156
|
+
this.radius.push(...r);
|
|
157
|
+
this.rectId.push(this.index, this.index, this.index, this.index);
|
|
158
|
+
this.types.push(type, type, type, type);
|
|
159
|
+
this.quad.push(x, y, width, height);
|
|
160
|
+
this.quad.push(x, y, width, height);
|
|
161
|
+
this.quad.push(x, y, width, height);
|
|
162
|
+
this.quad.push(x, y, width, height);
|
|
163
|
+
const state = rect.state || 0;
|
|
164
|
+
this.state.push(state, state, state, state);
|
|
165
|
+
this.rects[rect.id] = {
|
|
166
|
+
...rect,
|
|
167
|
+
index: this.index,
|
|
168
|
+
x,
|
|
169
|
+
y,
|
|
170
|
+
width,
|
|
171
|
+
height
|
|
172
|
+
};
|
|
173
|
+
this.added.add(rect.id);
|
|
174
|
+
this.index++;
|
|
175
|
+
}
|
|
176
|
+
processPendingRects() {
|
|
177
|
+
if (!this.deferredMode) {
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
if (!this.pendingRects.length) {
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
const sortedPending = [...this.pendingRects].sort(
|
|
184
|
+
(a, b) => a.rect.y - b.rect.y
|
|
185
|
+
);
|
|
186
|
+
const passes = [
|
|
187
|
+
sortedPending.filter((p) => !p.rect.id.includes(":empty:")),
|
|
188
|
+
// Non-empty rects
|
|
189
|
+
sortedPending.filter((p) => p.rect.id.includes(":empty:"))
|
|
190
|
+
// Empty rects
|
|
191
|
+
];
|
|
192
|
+
for (const pass of passes) {
|
|
193
|
+
for (const { rect, type, checkOverlap } of pass) {
|
|
194
|
+
if (this.added.has(rect.id)) {
|
|
195
|
+
continue;
|
|
196
|
+
}
|
|
197
|
+
let finalPosition;
|
|
198
|
+
const existing = this.rects[rect.id];
|
|
199
|
+
if (existing) {
|
|
200
|
+
finalPosition = {
|
|
201
|
+
x: existing.x,
|
|
202
|
+
y: existing.y,
|
|
203
|
+
width: existing.width,
|
|
204
|
+
height: existing.height
|
|
205
|
+
};
|
|
206
|
+
} else if (checkOverlap) {
|
|
207
|
+
const isEmptyField = rect.id.includes(":empty:");
|
|
208
|
+
finalPosition = this.getIdealPosition(
|
|
209
|
+
rect.x,
|
|
210
|
+
rect.y,
|
|
211
|
+
rect.width,
|
|
212
|
+
rect.height,
|
|
213
|
+
isEmptyField
|
|
214
|
+
);
|
|
215
|
+
} else {
|
|
216
|
+
finalPosition = {
|
|
217
|
+
x: rect.x,
|
|
218
|
+
y: rect.y,
|
|
219
|
+
width: rect.width,
|
|
220
|
+
height: rect.height
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
const { x, y, width, height } = finalPosition;
|
|
224
|
+
this.positions.push(
|
|
225
|
+
x,
|
|
226
|
+
y,
|
|
227
|
+
// Lower left corner
|
|
228
|
+
0,
|
|
229
|
+
x + width,
|
|
230
|
+
y,
|
|
231
|
+
// Lower right corner
|
|
232
|
+
1,
|
|
233
|
+
x + width,
|
|
234
|
+
y + height,
|
|
235
|
+
// Upper right corner
|
|
236
|
+
2,
|
|
237
|
+
x,
|
|
238
|
+
y + height,
|
|
239
|
+
// Upper left corner
|
|
240
|
+
3
|
|
241
|
+
);
|
|
242
|
+
const baseIndex = 4 * this.index;
|
|
243
|
+
this.indices.push(
|
|
244
|
+
baseIndex,
|
|
245
|
+
baseIndex + 1,
|
|
246
|
+
baseIndex + 2,
|
|
247
|
+
baseIndex,
|
|
248
|
+
baseIndex + 2,
|
|
249
|
+
baseIndex + 3
|
|
250
|
+
);
|
|
251
|
+
const r = rect.radius || [4, 4, 4, 4];
|
|
252
|
+
this.radius.push(...r, ...r, ...r, ...r);
|
|
253
|
+
this.rectId.push(this.index, this.index, this.index, this.index);
|
|
254
|
+
this.types.push(type, type, type, type);
|
|
255
|
+
this.quad.push(x, y, width, height);
|
|
256
|
+
this.quad.push(x, y, width, height);
|
|
257
|
+
this.quad.push(x, y, width, height);
|
|
258
|
+
this.quad.push(x, y, width, height);
|
|
259
|
+
const state = rect.state || 0;
|
|
260
|
+
this.state.push(state, state, state, state);
|
|
261
|
+
this.rects[rect.id] = {
|
|
262
|
+
...rect,
|
|
263
|
+
index: this.index,
|
|
264
|
+
x,
|
|
265
|
+
y,
|
|
266
|
+
width,
|
|
267
|
+
height
|
|
268
|
+
};
|
|
269
|
+
this.added.add(rect.id);
|
|
270
|
+
this.index++;
|
|
271
|
+
}
|
|
272
|
+
this.pendingRects = [];
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
getIndex(id) {
|
|
276
|
+
return this.rects[id]?.index;
|
|
277
|
+
}
|
|
278
|
+
updateRectangle() {
|
|
279
|
+
}
|
|
280
|
+
createBufferInfo(gl) {
|
|
281
|
+
return createBufferInfoFromArrays(gl, {
|
|
282
|
+
a_position: {
|
|
283
|
+
numComponents: 3,
|
|
284
|
+
data: this.positions,
|
|
285
|
+
type: gl.FLOAT
|
|
286
|
+
},
|
|
287
|
+
a_rect_id: {
|
|
288
|
+
numComponents: 1,
|
|
289
|
+
data: this.rectId,
|
|
290
|
+
type: gl.FLOAT
|
|
291
|
+
},
|
|
292
|
+
a_state: {
|
|
293
|
+
numComponents: 1,
|
|
294
|
+
data: this.state,
|
|
295
|
+
type: gl.FLOAT
|
|
296
|
+
},
|
|
297
|
+
a_rect_type: {
|
|
298
|
+
numComponents: 1,
|
|
299
|
+
data: this.types,
|
|
300
|
+
type: gl.FLOAT
|
|
301
|
+
},
|
|
302
|
+
a_rect_radius: {
|
|
303
|
+
numComponents: 4,
|
|
304
|
+
data: this.radius,
|
|
305
|
+
type: gl.FLOAT
|
|
306
|
+
},
|
|
307
|
+
a_quad: {
|
|
308
|
+
numComponents: 4,
|
|
309
|
+
data: this.quad,
|
|
310
|
+
type: gl.FLOAT
|
|
311
|
+
},
|
|
312
|
+
indices: this.indices
|
|
313
|
+
});
|
|
314
|
+
}
|
|
315
|
+
}
|