@blokkli/editor 1.0.0
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/LICENSE +21 -0
- package/README.md +64 -0
- package/dist/module.cjs +5 -0
- package/dist/module.d.mts +129 -0
- package/dist/module.d.ts +129 -0
- package/dist/module.json +12 -0
- package/dist/module.mjs +5430 -0
- package/dist/runtime/adapter/drupal/graphql/base.graphql +906 -0
- package/dist/runtime/adapter/drupal/graphql/comments.graphql +56 -0
- package/dist/runtime/adapter/drupal/graphql/fragments.graphql +25 -0
- package/dist/runtime/adapter/drupal/graphql/library.graphql +66 -0
- package/dist/runtime/adapter/drupal/graphql/search.graphql +19 -0
- package/dist/runtime/adapter/drupal/graphql/transform.graphql +27 -0
- package/dist/runtime/adapter/drupal/graphqlMiddleware.d.ts +2 -0
- package/dist/runtime/adapter/drupal/graphqlMiddleware.js +643 -0
- package/dist/runtime/adapter/index.d.ts +352 -0
- package/dist/runtime/adapter/index.js +3 -0
- package/dist/runtime/blokkliPlugins/AddAction/index.vue +87 -0
- package/dist/runtime/blokkliPlugins/ContextMenu/Menu/index.vue +95 -0
- package/dist/runtime/blokkliPlugins/ContextMenu/index.vue +49 -0
- package/dist/runtime/blokkliPlugins/DebugOverlay/index.vue +34 -0
- package/dist/runtime/blokkliPlugins/DroppableEdit/index.vue +73 -0
- package/dist/runtime/blokkliPlugins/ItemAction/index.vue +132 -0
- package/dist/runtime/blokkliPlugins/ItemDropdown/index.vue +42 -0
- package/dist/runtime/blokkliPlugins/MenuButton/index.vue +74 -0
- package/dist/runtime/blokkliPlugins/Sidebar/Detached/index.vue +334 -0
- package/dist/runtime/blokkliPlugins/Sidebar/index.vue +286 -0
- package/dist/runtime/blokkliPlugins/ToolbarButton/index.vue +104 -0
- package/dist/runtime/blokkliPlugins/TourItem/index.vue +45 -0
- package/dist/runtime/blokkliPlugins/ViewOption/index.vue +106 -0
- package/dist/runtime/blokkliPlugins/index.d.ts +12 -0
- package/dist/runtime/blokkliPlugins/index.js +24 -0
- package/dist/runtime/components/Blocks/Fragment/icon.svg +1 -0
- package/dist/runtime/components/Blocks/Fragment/index.vue +24 -0
- package/dist/runtime/components/Blocks/FromLibrary/index.vue +58 -0
- package/dist/runtime/components/BlokkliEditable.vue +73 -0
- package/dist/runtime/components/BlokkliField.vue +157 -0
- package/dist/runtime/components/BlokkliItem.vue +79 -0
- package/dist/runtime/components/BlokkliProvider.vue +160 -0
- package/dist/runtime/components/Edit/Actions/index.vue +263 -0
- package/dist/runtime/components/Edit/AddListItem/index.vue +116 -0
- package/dist/runtime/components/Edit/AnimationCanvas/index.vue +122 -0
- package/dist/runtime/components/Edit/AppMenu/index.vue +60 -0
- package/dist/runtime/components/Edit/BlokkliErrorBoundary.vue +64 -0
- package/dist/runtime/components/Edit/Dialog/index.vue +163 -0
- package/dist/runtime/components/Edit/DragInteractions/index.vue +439 -0
- package/dist/runtime/components/Edit/DraggableList.vue +110 -0
- package/dist/runtime/components/Edit/EditIndicator.vue +82 -0
- package/dist/runtime/components/Edit/EditProvider.vue +213 -0
- package/dist/runtime/components/Edit/Features/AddList/docs.md +4 -0
- package/dist/runtime/components/Edit/Features/AddList/index.vue +205 -0
- package/dist/runtime/components/Edit/Features/Artboard/Manager/Artboard.d.ts +204 -0
- package/dist/runtime/components/Edit/Features/Artboard/Manager/Artboard.js +748 -0
- package/dist/runtime/components/Edit/Features/Artboard/Manager/Scrollbar/index.vue +176 -0
- package/dist/runtime/components/Edit/Features/Artboard/Manager/index.vue +317 -0
- package/dist/runtime/components/Edit/Features/Artboard/index.vue +45 -0
- package/dist/runtime/components/Edit/Features/Assistant/Overlay/ResultMarkup/index.vue +17 -0
- package/dist/runtime/components/Edit/Features/Assistant/Overlay/index.vue +147 -0
- package/dist/runtime/components/Edit/Features/Assistant/docs.md +7 -0
- package/dist/runtime/components/Edit/Features/Assistant/index.vue +68 -0
- package/dist/runtime/components/Edit/Features/BlockAddList/docs.md +15 -0
- package/dist/runtime/components/Edit/Features/BlockAddList/index.vue +440 -0
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/File.vue +68 -0
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/Video.vue +56 -0
- package/dist/runtime/components/Edit/Features/Clipboard/List/index.vue +69 -0
- package/dist/runtime/components/Edit/Features/Clipboard/docs.md +16 -0
- package/dist/runtime/components/Edit/Features/Clipboard/index.vue +485 -0
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/Group/index.vue +61 -0
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/index.vue +280 -0
- package/dist/runtime/components/Edit/Features/CommandPalette/index.vue +51 -0
- package/dist/runtime/components/Edit/Features/Comments/AddForm/index.vue +32 -0
- package/dist/runtime/components/Edit/Features/Comments/Comment/index.vue +53 -0
- package/dist/runtime/components/Edit/Features/Comments/Overlay/Item/index.vue +100 -0
- package/dist/runtime/components/Edit/Features/Comments/Overlay/index.vue +133 -0
- package/dist/runtime/components/Edit/Features/Comments/docs.md +13 -0
- package/dist/runtime/components/Edit/Features/Comments/index.vue +110 -0
- package/dist/runtime/components/Edit/Features/Conversions/index.vue +98 -0
- package/dist/runtime/components/Edit/Features/Debug/Rects/index.vue +55 -0
- package/dist/runtime/components/Edit/Features/Debug/Viewport/index.vue +93 -0
- package/dist/runtime/components/Edit/Features/Debug/docs.md +3 -0
- package/dist/runtime/components/Edit/Features/Debug/index.vue +178 -0
- package/dist/runtime/components/Edit/Features/Delete/index.vue +43 -0
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DragItems/index.vue +420 -0
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DropTargets/fragment.glsl +58 -0
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DropTargets/index.vue +808 -0
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DropTargets/vertex.glsl +57 -0
- package/dist/runtime/components/Edit/Features/DraggingOverlay/index.vue +410 -0
- package/dist/runtime/components/Edit/Features/Duplicate/index.vue +109 -0
- package/dist/runtime/components/Edit/Features/Edit/index.vue +63 -0
- package/dist/runtime/components/Edit/Features/EditForm/Frame/index.vue +73 -0
- package/dist/runtime/components/Edit/Features/EditForm/index.vue +217 -0
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Contenteditable/index.vue +42 -0
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Frame/index.vue +68 -0
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Plaintext/index.vue +81 -0
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/index.vue +357 -0
- package/dist/runtime/components/Edit/Features/EditableField/index.vue +192 -0
- package/dist/runtime/components/Edit/Features/EditableMask/index.vue +64 -0
- package/dist/runtime/components/Edit/Features/EntityTitle/index.vue +108 -0
- package/dist/runtime/components/Edit/Features/Exit/index.vue +38 -0
- package/dist/runtime/components/Edit/Features/FieldAreas/Overlay/index.vue +33 -0
- package/dist/runtime/components/Edit/Features/FieldAreas/index.vue +43 -0
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/Item/index.vue +68 -0
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/index.vue +137 -0
- package/dist/runtime/components/Edit/Features/Fragments/docs.md +101 -0
- package/dist/runtime/components/Edit/Features/Fragments/index.vue +86 -0
- package/dist/runtime/components/Edit/Features/Grid/index.vue +40 -0
- package/dist/runtime/components/Edit/Features/Help/Shortcuts/index.vue +71 -0
- package/dist/runtime/components/Edit/Features/Help/index.vue +53 -0
- package/dist/runtime/components/Edit/Features/History/index.vue +263 -0
- package/dist/runtime/components/Edit/Features/ImportExisting/Dialog/index.vue +140 -0
- package/dist/runtime/components/Edit/Features/ImportExisting/index.vue +92 -0
- package/dist/runtime/components/Edit/Features/Library/EditReusable/index.vue +0 -0
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/Item/index.vue +73 -0
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/index.vue +184 -0
- package/dist/runtime/components/Edit/Features/Library/ReusableDialog/index.vue +88 -0
- package/dist/runtime/components/Edit/Features/Library/docs.md +127 -0
- package/dist/runtime/components/Edit/Features/Library/index.vue +184 -0
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/index.vue +184 -0
- package/dist/runtime/components/Edit/Features/MediaLibrary/index.vue +182 -0
- package/dist/runtime/components/Edit/Features/MediaLibrary/types.d.ts +57 -0
- package/dist/runtime/components/Edit/Features/MediaLibrary/types.js +0 -0
- package/dist/runtime/components/Edit/Features/MultiSelect/Overlay/fragment.glsl +90 -0
- package/dist/runtime/components/Edit/Features/MultiSelect/Overlay/index.vue +289 -0
- package/dist/runtime/components/Edit/Features/MultiSelect/Overlay/vertex.glsl +182 -0
- package/dist/runtime/components/Edit/Features/MultiSelect/index.vue +76 -0
- package/dist/runtime/components/Edit/Features/Options/Form/Checkbox/index.vue +52 -0
- package/dist/runtime/components/Edit/Features/Options/Form/Checkboxes/index.vue +129 -0
- package/dist/runtime/components/Edit/Features/Options/Form/Color/index.vue +38 -0
- package/dist/runtime/components/Edit/Features/Options/Form/Group.vue +25 -0
- package/dist/runtime/components/Edit/Features/Options/Form/Item.vue +155 -0
- package/dist/runtime/components/Edit/Features/Options/Form/Number/index.vue +74 -0
- package/dist/runtime/components/Edit/Features/Options/Form/Radios/index.vue +135 -0
- package/dist/runtime/components/Edit/Features/Options/Form/Range/index.vue +47 -0
- package/dist/runtime/components/Edit/Features/Options/Form/Text/index.vue +38 -0
- package/dist/runtime/components/Edit/Features/Options/Form/index.vue +342 -0
- package/dist/runtime/components/Edit/Features/Options/index.vue +88 -0
- package/dist/runtime/components/Edit/Features/Ownership/index.vue +57 -0
- package/dist/runtime/components/Edit/Features/Preview/index.vue +45 -0
- package/dist/runtime/components/Edit/Features/PreviewGrant/QrCode/index.vue +30 -0
- package/dist/runtime/components/Edit/Features/PreviewGrant/index.vue +73 -0
- package/dist/runtime/components/Edit/Features/Publish/index.vue +50 -0
- package/dist/runtime/components/Edit/Features/ResponsivePreview/Frame/index.vue +81 -0
- package/dist/runtime/components/Edit/Features/ResponsivePreview/index.vue +217 -0
- package/dist/runtime/components/Edit/Features/Revert/index.vue +68 -0
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Content/index.vue +165 -0
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Page/index.vue +211 -0
- package/dist/runtime/components/Edit/Features/Search/Overlay/index.vue +214 -0
- package/dist/runtime/components/Edit/Features/Search/index.vue +79 -0
- package/dist/runtime/components/Edit/Features/Selection/Overlay/fragment.glsl +99 -0
- package/dist/runtime/components/Edit/Features/Selection/Overlay/index.vue +144 -0
- package/dist/runtime/components/Edit/Features/Selection/Overlay/vertex.glsl +85 -0
- package/dist/runtime/components/Edit/Features/Selection/OverlayFallback/index.vue +50 -0
- package/dist/runtime/components/Edit/Features/Selection/index.vue +295 -0
- package/dist/runtime/components/Edit/Features/Settings/Dialog/FeatureSetting/index.vue +141 -0
- package/dist/runtime/components/Edit/Features/Settings/Dialog/index.vue +138 -0
- package/dist/runtime/components/Edit/Features/Settings/index.vue +92 -0
- package/dist/runtime/components/Edit/Features/Structure/List/Field/index.vue +181 -0
- package/dist/runtime/components/Edit/Features/Structure/List/Item/index.vue +149 -0
- package/dist/runtime/components/Edit/Features/Structure/List/index.vue +55 -0
- package/dist/runtime/components/Edit/Features/Structure/index.vue +83 -0
- package/dist/runtime/components/Edit/Features/Theme/Color/index.vue +81 -0
- package/dist/runtime/components/Edit/Features/Theme/GeneratedCode/index.vue +24 -0
- package/dist/runtime/components/Edit/Features/Theme/index.vue +122 -0
- package/dist/runtime/components/Edit/Features/TouchActionBar/Bar/index.vue +26 -0
- package/dist/runtime/components/Edit/Features/TouchActionBar/index.vue +42 -0
- package/dist/runtime/components/Edit/Features/Tour/Overlay/index.vue +270 -0
- package/dist/runtime/components/Edit/Features/Tour/Popup/index.vue +36 -0
- package/dist/runtime/components/Edit/Features/Tour/docs.md +0 -0
- package/dist/runtime/components/Edit/Features/Tour/index.vue +46 -0
- package/dist/runtime/components/Edit/Features/Transform/docs.md +67 -0
- package/dist/runtime/components/Edit/Features/Transform/index.vue +177 -0
- package/dist/runtime/components/Edit/Features/Translations/Banner/index.vue +50 -0
- package/dist/runtime/components/Edit/Features/Translations/index.vue +193 -0
- package/dist/runtime/components/Edit/Features/Validations/Overlay/Item.vue +50 -0
- package/dist/runtime/components/Edit/Features/Validations/Overlay/index.vue +51 -0
- package/dist/runtime/components/Edit/Features/Validations/SidebarItem/index.vue +50 -0
- package/dist/runtime/components/Edit/Features/Validations/index.vue +70 -0
- package/dist/runtime/components/Edit/Features/index.vue +67 -0
- package/dist/runtime/components/Edit/FormOverlay/Header/index.vue +39 -0
- package/dist/runtime/components/Edit/FormOverlay/index.vue +52 -0
- package/dist/runtime/components/Edit/Highlight/index.vue +94 -0
- package/dist/runtime/components/Edit/Icon/index.vue +21 -0
- package/dist/runtime/components/Edit/ItemIcon/index.vue +27 -0
- package/dist/runtime/components/Edit/Loading/index.vue +19 -0
- package/dist/runtime/components/Edit/Messages/Item/index.vue +107 -0
- package/dist/runtime/components/Edit/Messages/index.vue +37 -0
- package/dist/runtime/components/Edit/PreviewProvider.vue +223 -0
- package/dist/runtime/components/Edit/RelativeTime/index.vue +37 -0
- package/dist/runtime/components/Edit/Resizable/index.vue +90 -0
- package/dist/runtime/components/Edit/ScaleToFit/index.vue +57 -0
- package/dist/runtime/components/Edit/ShortcutIndicator/index.vue +90 -0
- package/dist/runtime/components/Edit/Sortli/index.vue +92 -0
- package/dist/runtime/components/Edit/SystemRequirements/index.vue +91 -0
- package/dist/runtime/components/Edit/Toolbar/index.vue +106 -0
- package/dist/runtime/components/Edit/ViewportBlockingRect/index.vue +75 -0
- package/dist/runtime/components/Edit/index.d.ts +14 -0
- package/dist/runtime/components/Edit/index.js +28 -0
- package/dist/runtime/composables/defineBlokkli.d.ts +6 -0
- package/dist/runtime/composables/defineBlokkli.js +108 -0
- package/dist/runtime/composables/defineBlokkliFeature.d.ts +28 -0
- package/dist/runtime/composables/defineBlokkliFeature.js +62 -0
- package/dist/runtime/composables/defineBlokkliFragment.d.ts +3 -0
- package/dist/runtime/composables/defineBlokkliFragment.js +54 -0
- package/dist/runtime/composables/useBlokkli.d.ts +8 -0
- package/dist/runtime/composables/useBlokkli.js +5 -0
- package/dist/runtime/constants/index.d.ts +4 -0
- package/dist/runtime/constants/index.js +2 -0
- package/dist/runtime/css/output.css +1 -0
- package/dist/runtime/helpers/Artboard/index.d.ts +16 -0
- package/dist/runtime/helpers/Artboard/index.js +20 -0
- package/dist/runtime/helpers/DragStyle/index.d.ts +12 -0
- package/dist/runtime/helpers/DragStyle/index.js +86 -0
- package/dist/runtime/helpers/animationProvider.d.ts +25 -0
- package/dist/runtime/helpers/animationProvider.js +116 -0
- package/dist/runtime/helpers/broadcastProvider.d.ts +7 -0
- package/dist/runtime/helpers/broadcastProvider.js +26 -0
- package/dist/runtime/helpers/commandsProvider.d.ts +9 -0
- package/dist/runtime/helpers/commandsProvider.js +16 -0
- package/dist/runtime/helpers/composables/defineCommands.d.ts +2 -0
- package/dist/runtime/helpers/composables/defineCommands.js +10 -0
- package/dist/runtime/helpers/composables/defineDropAreas.d.ts +2 -0
- package/dist/runtime/helpers/composables/defineDropAreas.js +10 -0
- package/dist/runtime/helpers/composables/defineShortcut.d.ts +2 -0
- package/dist/runtime/helpers/composables/defineShortcut.js +19 -0
- package/dist/runtime/helpers/composables/defineTourItem.d.ts +2 -0
- package/dist/runtime/helpers/composables/defineTourItem.js +10 -0
- package/dist/runtime/helpers/composables/onBlokkliEvent.d.ts +2 -0
- package/dist/runtime/helpers/composables/onBlokkliEvent.js +10 -0
- package/dist/runtime/helpers/composables/useAnimationFrame.d.ts +1 -0
- package/dist/runtime/helpers/composables/useAnimationFrame.js +14 -0
- package/dist/runtime/helpers/composables/useDebugLogger.d.ts +2 -0
- package/dist/runtime/helpers/composables/useDebugLogger.js +5 -0
- package/dist/runtime/helpers/composables/useDelayedIntersectionObserver.d.ts +5 -0
- package/dist/runtime/helpers/composables/useDelayedIntersectionObserver.js +26 -0
- package/dist/runtime/helpers/debugProvider.d.ts +23 -0
- package/dist/runtime/helpers/debugProvider.js +65 -0
- package/dist/runtime/helpers/dom/index.d.ts +5 -0
- package/dist/runtime/helpers/dom/index.js +37 -0
- package/dist/runtime/helpers/domProvider.d.ts +46 -0
- package/dist/runtime/helpers/domProvider.js +446 -0
- package/dist/runtime/helpers/dropAreaProvider.d.ts +9 -0
- package/dist/runtime/helpers/dropAreaProvider.js +22 -0
- package/dist/runtime/helpers/easing.d.ts +3 -0
- package/dist/runtime/helpers/easing.js +16 -0
- package/dist/runtime/helpers/eventBus.d.ts +3 -0
- package/dist/runtime/helpers/eventBus.js +5 -0
- package/dist/runtime/helpers/featuresProvider.d.ts +23 -0
- package/dist/runtime/helpers/featuresProvider.js +16 -0
- package/dist/runtime/helpers/frameEventBus.d.ts +9 -0
- package/dist/runtime/helpers/frameEventBus.js +2 -0
- package/dist/runtime/helpers/index.d.ts +87 -0
- package/dist/runtime/helpers/index.js +467 -0
- package/dist/runtime/helpers/keyboardProvider.d.ts +17 -0
- package/dist/runtime/helpers/keyboardProvider.js +79 -0
- package/dist/runtime/helpers/options.d.ts +2 -0
- package/dist/runtime/helpers/options.js +21 -0
- package/dist/runtime/helpers/runtimeHelpers/index.d.ts +10 -0
- package/dist/runtime/helpers/runtimeHelpers/index.js +35 -0
- package/dist/runtime/helpers/selectionProvider.d.ts +62 -0
- package/dist/runtime/helpers/selectionProvider.js +149 -0
- package/dist/runtime/helpers/stateProvider.d.ts +35 -0
- package/dist/runtime/helpers/stateProvider.js +226 -0
- package/dist/runtime/helpers/storageProvider.d.ts +15 -0
- package/dist/runtime/helpers/storageProvider.js +61 -0
- package/dist/runtime/helpers/symbols.d.ts +16 -0
- package/dist/runtime/helpers/symbols.js +18 -0
- package/dist/runtime/helpers/textProvider.d.ts +4 -0
- package/dist/runtime/helpers/textProvider.js +20 -0
- package/dist/runtime/helpers/themeProvider.d.ts +27 -0
- package/dist/runtime/helpers/themeProvider.js +124 -0
- package/dist/runtime/helpers/tourProvider.d.ts +11 -0
- package/dist/runtime/helpers/tourProvider.js +19 -0
- package/dist/runtime/helpers/transform.d.ts +2 -0
- package/dist/runtime/helpers/transform.js +17 -0
- package/dist/runtime/helpers/typesProvider.d.ts +36 -0
- package/dist/runtime/helpers/typesProvider.js +138 -0
- package/dist/runtime/helpers/uiProvider.d.ts +36 -0
- package/dist/runtime/helpers/uiProvider.js +278 -0
- package/dist/runtime/helpers/webgl/index.d.ts +32 -0
- package/dist/runtime/helpers/webgl/index.js +132 -0
- package/dist/runtime/icons/alert.svg +6 -0
- package/dist/runtime/icons/area.svg +5 -0
- package/dist/runtime/icons/arrow-down.svg +1 -0
- package/dist/runtime/icons/arrow-left.svg +1 -0
- package/dist/runtime/icons/arrow-right.svg +1 -0
- package/dist/runtime/icons/arrow-up.svg +1 -0
- package/dist/runtime/icons/artboard-disabled.svg +9 -0
- package/dist/runtime/icons/artboard-enabled.svg +29 -0
- package/dist/runtime/icons/artboard.svg +1 -0
- package/dist/runtime/icons/bug.svg +1 -0
- package/dist/runtime/icons/button-pointer.svg +1 -0
- package/dist/runtime/icons/caret.svg +12 -0
- package/dist/runtime/icons/cellphone.svg +1 -0
- package/dist/runtime/icons/chat-question.svg +1 -0
- package/dist/runtime/icons/check.svg +1 -0
- package/dist/runtime/icons/checkbox.svg +5 -0
- package/dist/runtime/icons/checks.svg +1 -0
- package/dist/runtime/icons/chevron-left.svg +1 -0
- package/dist/runtime/icons/chevron-right.svg +1 -0
- package/dist/runtime/icons/clipboard.svg +5 -0
- package/dist/runtime/icons/close.svg +5 -0
- package/dist/runtime/icons/cog.svg +5 -0
- package/dist/runtime/icons/command.svg +1 -0
- package/dist/runtime/icons/comment.svg +5 -0
- package/dist/runtime/icons/comment_add.svg +5 -0
- package/dist/runtime/icons/convert.svg +1 -0
- package/dist/runtime/icons/cursor-move.svg +1 -0
- package/dist/runtime/icons/dead.svg +1 -0
- package/dist/runtime/icons/delete.svg +8 -0
- package/dist/runtime/icons/detach.svg +7 -0
- package/dist/runtime/icons/drag.svg +1 -0
- package/dist/runtime/icons/duplicate.svg +12 -0
- package/dist/runtime/icons/edit.svg +8 -0
- package/dist/runtime/icons/exit.svg +6 -0
- package/dist/runtime/icons/expand.svg +1 -0
- package/dist/runtime/icons/file.svg +1 -0
- package/dist/runtime/icons/form.svg +1 -0
- package/dist/runtime/icons/fragment.svg +1 -0
- package/dist/runtime/icons/grid.svg +13 -0
- package/dist/runtime/icons/group.svg +5 -0
- package/dist/runtime/icons/help.svg +1 -0
- package/dist/runtime/icons/history.svg +1 -0
- package/dist/runtime/icons/image.svg +1 -0
- package/dist/runtime/icons/import.svg +5 -0
- package/dist/runtime/icons/laptop.svg +1 -0
- package/dist/runtime/icons/list-view-grid.svg +1 -0
- package/dist/runtime/icons/list-view-horizontal.svg +1 -0
- package/dist/runtime/icons/loader.svg +1 -0
- package/dist/runtime/icons/logo.svg +5 -0
- package/dist/runtime/icons/magnifier.svg +5 -0
- package/dist/runtime/icons/menu.svg +1 -0
- package/dist/runtime/icons/minus.svg +1 -0
- package/dist/runtime/icons/monitor.svg +1 -0
- package/dist/runtime/icons/multi-select.svg +1 -0
- package/dist/runtime/icons/multimedia.svg +1 -0
- package/dist/runtime/icons/opacity.svg +5 -0
- package/dist/runtime/icons/open_in_new.svg +3 -0
- package/dist/runtime/icons/palette.svg +1 -0
- package/dist/runtime/icons/plus-box.svg +1 -0
- package/dist/runtime/icons/plus.svg +1 -0
- package/dist/runtime/icons/preview.svg +5 -0
- package/dist/runtime/icons/publish.svg +12 -0
- package/dist/runtime/icons/puzzle.svg +1 -0
- package/dist/runtime/icons/qrcode.svg +5 -0
- package/dist/runtime/icons/question.svg +5 -0
- package/dist/runtime/icons/redo.svg +12 -0
- package/dist/runtime/icons/resize.svg +1 -0
- package/dist/runtime/icons/reusable.svg +5 -0
- package/dist/runtime/icons/revert.svg +5 -0
- package/dist/runtime/icons/robot.svg +1 -0
- package/dist/runtime/icons/rotate-phone.svg +1 -0
- package/dist/runtime/icons/sad.svg +1 -0
- package/dist/runtime/icons/save.svg +1 -0
- package/dist/runtime/icons/script.svg +1 -0
- package/dist/runtime/icons/scrolltotop.svg +6 -0
- package/dist/runtime/icons/search.svg +1 -0
- package/dist/runtime/icons/selection.svg +5 -0
- package/dist/runtime/icons/spinner.svg +15 -0
- package/dist/runtime/icons/star.svg +1 -0
- package/dist/runtime/icons/swap-horizontal.svg +1 -0
- package/dist/runtime/icons/tablet.svg +1 -0
- package/dist/runtime/icons/textbox.svg +1 -0
- package/dist/runtime/icons/texturebox.svg +5 -0
- package/dist/runtime/icons/tiktok.svg +1 -0
- package/dist/runtime/icons/title.svg +1 -0
- package/dist/runtime/icons/tools.svg +1 -0
- package/dist/runtime/icons/translate.svg +5 -0
- package/dist/runtime/icons/tree.svg +5 -0
- package/dist/runtime/icons/tutor.svg +1 -0
- package/dist/runtime/icons/ui-list-horizontal.svg +19 -0
- package/dist/runtime/icons/ui-list-sidebar.svg +21 -0
- package/dist/runtime/icons/ui-list-vertical.svg +9 -0
- package/dist/runtime/icons/undo.svg +12 -0
- package/dist/runtime/icons/unstar.svg +1 -0
- package/dist/runtime/icons/upload.svg +1 -0
- package/dist/runtime/icons/user.svg +1 -0
- package/dist/runtime/icons/video-outline.svg +1 -0
- package/dist/runtime/icons/vimeo.svg +3 -0
- package/dist/runtime/icons/window-maximize.svg +1 -0
- package/dist/runtime/icons/window-minimize.svg +1 -0
- package/dist/runtime/icons/youtube.svg +3 -0
- package/dist/runtime/plugins/blokkliEditable.d.ts +2 -0
- package/dist/runtime/plugins/blokkliEditable.js +31 -0
- package/dist/runtime/public/Inter.var.woff2 +0 -0
- package/dist/runtime/types/blokkOptions.d.ts +83 -0
- package/dist/runtime/types/blokkOptions.js +0 -0
- package/dist/runtime/types/generatedModuleTypes.d.ts +41 -0
- package/dist/runtime/types/generatedModuleTypes.js +0 -0
- package/dist/runtime/types/index.d.ts +1052 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/theme.d.ts +33 -0
- package/dist/runtime/types/theme.js +0 -0
- package/dist/types.d.mts +1 -0
- package/dist/types.d.ts +1 -0
- package/package.json +103 -0
|
@@ -0,0 +1,906 @@
|
|
|
1
|
+
fragment paragraphsBlokkliEditState on ParagraphsBlokkliEditState {
|
|
2
|
+
mutations {
|
|
3
|
+
...paragraphsBlokkliMutationItem
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
currentIndex
|
|
7
|
+
currentUserIsOwner
|
|
8
|
+
ownerName
|
|
9
|
+
mutatedState {
|
|
10
|
+
fields(langcode: $langcode) {
|
|
11
|
+
...paragraphsBlokkliMutatedField
|
|
12
|
+
}
|
|
13
|
+
mutatedOptions: behaviorSettings
|
|
14
|
+
violations {
|
|
15
|
+
...paragraphsBlokkliViolation
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
entity {
|
|
20
|
+
status
|
|
21
|
+
label
|
|
22
|
+
bundleLabel
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
mutatedEntity {
|
|
26
|
+
...pbMutatedEntity
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
translationState {
|
|
30
|
+
isTranslatable
|
|
31
|
+
sourceLanguage
|
|
32
|
+
availableLanguages {
|
|
33
|
+
id
|
|
34
|
+
name
|
|
35
|
+
}
|
|
36
|
+
translations {
|
|
37
|
+
id
|
|
38
|
+
url
|
|
39
|
+
editUrl
|
|
40
|
+
exists
|
|
41
|
+
status
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
fragment paragraphsBlokkliMutationItem on FieldItemTypeParagraphsBlokkliMutation {
|
|
47
|
+
timestamp
|
|
48
|
+
pluginId
|
|
49
|
+
enabled
|
|
50
|
+
plugin {
|
|
51
|
+
label
|
|
52
|
+
affectedItemUuid: affectedParagraphUuid
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
fragment paragraphsBlokkliViolation on ParagraphsEditViolation {
|
|
57
|
+
message
|
|
58
|
+
code
|
|
59
|
+
propertyPath
|
|
60
|
+
entityUuid
|
|
61
|
+
entityType
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
fragment paragraphsBlokkliMutatedField on ParagraphsBlokkliMutatedField {
|
|
65
|
+
name
|
|
66
|
+
entityType
|
|
67
|
+
entityUuid
|
|
68
|
+
list {
|
|
69
|
+
...paragraphsFieldItem
|
|
70
|
+
props {
|
|
71
|
+
...paragraph
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
fragment paragraphsBlokkliMutationResult on ParagraphsBlokkliMutationResult {
|
|
77
|
+
success
|
|
78
|
+
errors
|
|
79
|
+
state {
|
|
80
|
+
...paragraphsBlokkliEditState
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
query pbEditState(
|
|
85
|
+
$entityType: EntityType!
|
|
86
|
+
$entityUuid: String!
|
|
87
|
+
$langcode: String
|
|
88
|
+
) {
|
|
89
|
+
state: getParagraphsEditState(
|
|
90
|
+
entityType: $entityType
|
|
91
|
+
entityUuid: $entityUuid
|
|
92
|
+
) {
|
|
93
|
+
...paragraphsBlokkliEditState
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
fragment paragraphsBlokkliAvailableFeatures on ParagraphsBlokkliAvailableFeatures {
|
|
98
|
+
conversion
|
|
99
|
+
comment
|
|
100
|
+
library
|
|
101
|
+
mutations
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
mutation pbPublish(
|
|
105
|
+
$entityType: EntityType!
|
|
106
|
+
$entityUuid: String!
|
|
107
|
+
$langcode: String
|
|
108
|
+
) {
|
|
109
|
+
state: paragraphsEditMutationState(
|
|
110
|
+
entityType: $entityType
|
|
111
|
+
entityUuid: $entityUuid
|
|
112
|
+
) {
|
|
113
|
+
action: publish {
|
|
114
|
+
...paragraphsBlokkliMutationResult
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
mutation pbAddParagraph(
|
|
120
|
+
$entityType: EntityType!
|
|
121
|
+
$entityUuid: String!
|
|
122
|
+
$langcode: String
|
|
123
|
+
$type: String!
|
|
124
|
+
$hostType: String!
|
|
125
|
+
$hostUuid: String!
|
|
126
|
+
$hostFieldName: String!
|
|
127
|
+
$afterUuid: String
|
|
128
|
+
) {
|
|
129
|
+
state: paragraphsEditMutationState(
|
|
130
|
+
entityType: $entityType
|
|
131
|
+
entityUuid: $entityUuid
|
|
132
|
+
) {
|
|
133
|
+
action: add(
|
|
134
|
+
type: $type
|
|
135
|
+
afterUuid: $afterUuid
|
|
136
|
+
hostType: $hostType
|
|
137
|
+
hostUuid: $hostUuid
|
|
138
|
+
hostFieldName: $hostFieldName
|
|
139
|
+
) {
|
|
140
|
+
...paragraphsBlokkliMutationResult
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
mutation pbDeleteParagraph(
|
|
146
|
+
$entityType: EntityType!
|
|
147
|
+
$entityUuid: String!
|
|
148
|
+
$langcode: String
|
|
149
|
+
$uuid: String!
|
|
150
|
+
) {
|
|
151
|
+
state: paragraphsEditMutationState(
|
|
152
|
+
entityType: $entityType
|
|
153
|
+
entityUuid: $entityUuid
|
|
154
|
+
) {
|
|
155
|
+
action: remove(uuid: $uuid) {
|
|
156
|
+
...paragraphsBlokkliMutationResult
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
mutation pbDeleteMultipleParagraphs(
|
|
162
|
+
$entityType: EntityType!
|
|
163
|
+
$entityUuid: String!
|
|
164
|
+
$langcode: String
|
|
165
|
+
$uuids: [String]!
|
|
166
|
+
) {
|
|
167
|
+
state: paragraphsEditMutationState(
|
|
168
|
+
entityType: $entityType
|
|
169
|
+
entityUuid: $entityUuid
|
|
170
|
+
) {
|
|
171
|
+
action: remove_multiple(uuids: $uuids) {
|
|
172
|
+
...paragraphsBlokkliMutationResult
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
mutation pbDuplicateParagraph(
|
|
178
|
+
$entityType: EntityType!
|
|
179
|
+
$entityUuid: String!
|
|
180
|
+
$langcode: String
|
|
181
|
+
$uuid: String!
|
|
182
|
+
$afterUuid: String
|
|
183
|
+
) {
|
|
184
|
+
state: paragraphsEditMutationState(
|
|
185
|
+
entityType: $entityType
|
|
186
|
+
entityUuid: $entityUuid
|
|
187
|
+
) {
|
|
188
|
+
action: duplicate(uuid: $uuid, afterUuid: $afterUuid) {
|
|
189
|
+
...paragraphsBlokkliMutationResult
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
mutation pbDuplicateMultipleParagraphs(
|
|
195
|
+
$entityType: EntityType!
|
|
196
|
+
$entityUuid: String!
|
|
197
|
+
$langcode: String
|
|
198
|
+
$uuids: [String]!
|
|
199
|
+
$afterUuid: String
|
|
200
|
+
) {
|
|
201
|
+
state: paragraphsEditMutationState(
|
|
202
|
+
entityType: $entityType
|
|
203
|
+
entityUuid: $entityUuid
|
|
204
|
+
) {
|
|
205
|
+
action: duplicate_multiple(uuids: $uuids, afterUuid: $afterUuid) {
|
|
206
|
+
...paragraphsBlokkliMutationResult
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
mutation pbMakeParagraphReusable(
|
|
212
|
+
$entityType: EntityType!
|
|
213
|
+
$entityUuid: String!
|
|
214
|
+
$langcode: String
|
|
215
|
+
$uuid: String!
|
|
216
|
+
$label: String!
|
|
217
|
+
) {
|
|
218
|
+
state: paragraphsEditMutationState(
|
|
219
|
+
entityType: $entityType
|
|
220
|
+
entityUuid: $entityUuid
|
|
221
|
+
) {
|
|
222
|
+
action: make_reusable(uuid: $uuid, label: $label) {
|
|
223
|
+
...paragraphsBlokkliMutationResult
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
mutation pbUpdateParagraphOption(
|
|
229
|
+
$entityType: EntityType!
|
|
230
|
+
$entityUuid: String!
|
|
231
|
+
$langcode: String
|
|
232
|
+
$uuid: String!
|
|
233
|
+
$key: String!
|
|
234
|
+
$value: String!
|
|
235
|
+
$pluginId: String!
|
|
236
|
+
) {
|
|
237
|
+
state: paragraphsEditMutationState(
|
|
238
|
+
entityType: $entityType
|
|
239
|
+
entityUuid: $entityUuid
|
|
240
|
+
) {
|
|
241
|
+
action: update_behavior_setting(
|
|
242
|
+
pluginId: $pluginId
|
|
243
|
+
uuid: $uuid
|
|
244
|
+
key: $key
|
|
245
|
+
value: $value
|
|
246
|
+
) {
|
|
247
|
+
...paragraphsBlokkliMutationResult
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
mutation pbBulkUpdateParagraphBehaviorSettings(
|
|
253
|
+
$entityType: EntityType!
|
|
254
|
+
$entityUuid: String!
|
|
255
|
+
$langcode: String
|
|
256
|
+
$items: [ParagraphsBlokkliBulkUpdateBehaviorSettingsInput]!
|
|
257
|
+
) {
|
|
258
|
+
state: paragraphsEditMutationState(
|
|
259
|
+
entityType: $entityType
|
|
260
|
+
entityUuid: $entityUuid
|
|
261
|
+
) {
|
|
262
|
+
action: bulk_update_behavior_settings(items: $items) {
|
|
263
|
+
...paragraphsBlokkliMutationResult
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
mutation pbUpdateFieldValue(
|
|
269
|
+
$entityType: EntityType!
|
|
270
|
+
$entityUuid: String!
|
|
271
|
+
$langcode: String!
|
|
272
|
+
$uuid: String!
|
|
273
|
+
$fieldName: String!
|
|
274
|
+
$value: String!
|
|
275
|
+
) {
|
|
276
|
+
state: paragraphsEditMutationState(
|
|
277
|
+
entityType: $entityType
|
|
278
|
+
entityUuid: $entityUuid
|
|
279
|
+
) {
|
|
280
|
+
action: update_field_value(
|
|
281
|
+
uuid: $uuid
|
|
282
|
+
langcode: $langcode
|
|
283
|
+
fieldName: $fieldName
|
|
284
|
+
value: $value
|
|
285
|
+
) {
|
|
286
|
+
...paragraphsBlokkliMutationResult
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
mutation pbMoveParagraph(
|
|
292
|
+
$entityType: EntityType!
|
|
293
|
+
$entityUuid: String!
|
|
294
|
+
$langcode: String
|
|
295
|
+
$uuid: String!
|
|
296
|
+
$hostType: String!
|
|
297
|
+
$hostUuid: String!
|
|
298
|
+
$hostFieldName: String!
|
|
299
|
+
$afterUuid: String
|
|
300
|
+
) {
|
|
301
|
+
state: paragraphsEditMutationState(
|
|
302
|
+
entityType: $entityType
|
|
303
|
+
entityUuid: $entityUuid
|
|
304
|
+
) {
|
|
305
|
+
action: move(
|
|
306
|
+
uuid: $uuid
|
|
307
|
+
hostType: $hostType
|
|
308
|
+
hostUuid: $hostUuid
|
|
309
|
+
hostFieldName: $hostFieldName
|
|
310
|
+
afterUuid: $afterUuid
|
|
311
|
+
) {
|
|
312
|
+
...paragraphsBlokkliMutationResult
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
mutation pbMoveMultipleItems(
|
|
318
|
+
$entityType: EntityType!
|
|
319
|
+
$entityUuid: String!
|
|
320
|
+
$langcode: String
|
|
321
|
+
$uuids: [String]!
|
|
322
|
+
$hostType: String!
|
|
323
|
+
$hostUuid: String!
|
|
324
|
+
$hostFieldName: String!
|
|
325
|
+
$afterUuid: String
|
|
326
|
+
) {
|
|
327
|
+
state: paragraphsEditMutationState(
|
|
328
|
+
entityType: $entityType
|
|
329
|
+
entityUuid: $entityUuid
|
|
330
|
+
) {
|
|
331
|
+
action: move_multiple(
|
|
332
|
+
uuids: $uuids
|
|
333
|
+
hostType: $hostType
|
|
334
|
+
hostUuid: $hostUuid
|
|
335
|
+
hostFieldName: $hostFieldName
|
|
336
|
+
afterUuid: $afterUuid
|
|
337
|
+
) {
|
|
338
|
+
...paragraphsBlokkliMutationResult
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
mutation pbConvertParagraph(
|
|
344
|
+
$entityType: EntityType!
|
|
345
|
+
$entityUuid: String!
|
|
346
|
+
$langcode: String
|
|
347
|
+
$uuid: String!
|
|
348
|
+
$targetBundle: String!
|
|
349
|
+
) {
|
|
350
|
+
state: paragraphsEditMutationState(
|
|
351
|
+
entityType: $entityType
|
|
352
|
+
entityUuid: $entityUuid
|
|
353
|
+
) {
|
|
354
|
+
action: convert(uuid: $uuid, targetBundle: $targetBundle) {
|
|
355
|
+
...paragraphsBlokkliMutationResult
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
mutation pbConvertMultiple(
|
|
361
|
+
$entityType: EntityType!
|
|
362
|
+
$entityUuid: String!
|
|
363
|
+
$langcode: String
|
|
364
|
+
$uuids: [String]!
|
|
365
|
+
$targetBundle: String!
|
|
366
|
+
) {
|
|
367
|
+
state: paragraphsEditMutationState(
|
|
368
|
+
entityType: $entityType
|
|
369
|
+
entityUuid: $entityUuid
|
|
370
|
+
) {
|
|
371
|
+
action: convert_multiple(uuids: $uuids, targetBundle: $targetBundle) {
|
|
372
|
+
...paragraphsBlokkliMutationResult
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
mutation pbRedo(
|
|
378
|
+
$entityType: EntityType!
|
|
379
|
+
$entityUuid: String!
|
|
380
|
+
$langcode: String
|
|
381
|
+
) {
|
|
382
|
+
state: paragraphsEditMutationState(
|
|
383
|
+
entityType: $entityType
|
|
384
|
+
entityUuid: $entityUuid
|
|
385
|
+
) {
|
|
386
|
+
action: redo {
|
|
387
|
+
...paragraphsBlokkliMutationResult
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
mutation pbSetHistoryIndex(
|
|
393
|
+
$entityType: EntityType!
|
|
394
|
+
$entityUuid: String!
|
|
395
|
+
$langcode: String
|
|
396
|
+
$index: Int!
|
|
397
|
+
) {
|
|
398
|
+
state: paragraphsEditMutationState(
|
|
399
|
+
entityType: $entityType
|
|
400
|
+
entityUuid: $entityUuid
|
|
401
|
+
) {
|
|
402
|
+
action: setHistoryIndex(index: $index) {
|
|
403
|
+
...paragraphsBlokkliMutationResult
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
mutation pbRevertAllChanges(
|
|
409
|
+
$entityType: EntityType!
|
|
410
|
+
$entityUuid: String!
|
|
411
|
+
$langcode: String
|
|
412
|
+
) {
|
|
413
|
+
state: paragraphsEditMutationState(
|
|
414
|
+
entityType: $entityType
|
|
415
|
+
entityUuid: $entityUuid
|
|
416
|
+
) {
|
|
417
|
+
action: revertAllChanges {
|
|
418
|
+
...paragraphsBlokkliMutationResult
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
mutation pbUndo(
|
|
424
|
+
$entityType: EntityType!
|
|
425
|
+
$entityUuid: String!
|
|
426
|
+
$langcode: String
|
|
427
|
+
) {
|
|
428
|
+
state: paragraphsEditMutationState(
|
|
429
|
+
entityType: $entityType
|
|
430
|
+
entityUuid: $entityUuid
|
|
431
|
+
) {
|
|
432
|
+
action: undo {
|
|
433
|
+
...paragraphsBlokkliMutationResult
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
query pbGetPreviewGrantUrl($entityType: EntityType!, $entityUuid: String!) {
|
|
439
|
+
getParagraphsEditState(entityType: $entityType, entityUuid: $entityUuid) {
|
|
440
|
+
previewUrl
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
query pbGetImportSourceEntities(
|
|
445
|
+
$entityType: String!
|
|
446
|
+
$entityUuid: String!
|
|
447
|
+
$searchText: String
|
|
448
|
+
) {
|
|
449
|
+
pbGetImportSourceEntities(
|
|
450
|
+
entityType: $entityType
|
|
451
|
+
entityUuid: $entityUuid
|
|
452
|
+
searchText: $searchText
|
|
453
|
+
) {
|
|
454
|
+
total
|
|
455
|
+
items {
|
|
456
|
+
uuid
|
|
457
|
+
label
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
mutation pbCopyFromExisting(
|
|
463
|
+
$entityType: EntityType!
|
|
464
|
+
$entityUuid: String!
|
|
465
|
+
$fields: [String]!
|
|
466
|
+
$sourceUuid: String!
|
|
467
|
+
$langcode: String
|
|
468
|
+
) {
|
|
469
|
+
state: paragraphsEditMutationState(
|
|
470
|
+
entityType: $entityType
|
|
471
|
+
entityUuid: $entityUuid
|
|
472
|
+
) {
|
|
473
|
+
action: copy_from_existing(fields: $fields, sourceUuid: $sourceUuid) {
|
|
474
|
+
...paragraphsBlokkliMutationResult
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
mutation pbTakeOwnership(
|
|
480
|
+
$entityType: EntityType!
|
|
481
|
+
$entityUuid: String!
|
|
482
|
+
$langcode: String
|
|
483
|
+
) {
|
|
484
|
+
state: paragraphsEditMutationState(
|
|
485
|
+
entityType: $entityType
|
|
486
|
+
entityUuid: $entityUuid
|
|
487
|
+
) {
|
|
488
|
+
action: takeOwnership {
|
|
489
|
+
...paragraphsBlokkliMutationResult
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
mutation pbReplaceMedia(
|
|
495
|
+
$langcode: String!
|
|
496
|
+
$entityType: EntityType!
|
|
497
|
+
$entityUuid: String!
|
|
498
|
+
$uuid: String!
|
|
499
|
+
$fieldName: String!
|
|
500
|
+
$mediaId: String!
|
|
501
|
+
) {
|
|
502
|
+
state: paragraphsEditMutationState(
|
|
503
|
+
entityType: $entityType
|
|
504
|
+
entityUuid: $entityUuid
|
|
505
|
+
) {
|
|
506
|
+
action: replace_media(
|
|
507
|
+
uuid: $uuid
|
|
508
|
+
langcode: $langcode
|
|
509
|
+
fieldName: $fieldName
|
|
510
|
+
mediaId: $mediaId
|
|
511
|
+
) {
|
|
512
|
+
...paragraphsBlokkliMutationResult
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
mutation pbReplaceHostEntityMedia(
|
|
518
|
+
$langcode: String!
|
|
519
|
+
$entityType: EntityType!
|
|
520
|
+
$entityUuid: String!
|
|
521
|
+
$fieldName: String!
|
|
522
|
+
$mediaId: String!
|
|
523
|
+
) {
|
|
524
|
+
state: paragraphsEditMutationState(
|
|
525
|
+
entityType: $entityType
|
|
526
|
+
entityUuid: $entityUuid
|
|
527
|
+
) {
|
|
528
|
+
action: replace_host_entity_media(
|
|
529
|
+
langcode: $langcode
|
|
530
|
+
fieldName: $fieldName
|
|
531
|
+
mediaId: $mediaId
|
|
532
|
+
) {
|
|
533
|
+
...paragraphsBlokkliMutationResult
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
mutation pbUpdateHostEntityFieldValue(
|
|
539
|
+
$langcode: String!
|
|
540
|
+
$entityType: EntityType!
|
|
541
|
+
$entityUuid: String!
|
|
542
|
+
$fieldName: String!
|
|
543
|
+
$value: String!
|
|
544
|
+
) {
|
|
545
|
+
state: paragraphsEditMutationState(
|
|
546
|
+
entityType: $entityType
|
|
547
|
+
entityUuid: $entityUuid
|
|
548
|
+
) {
|
|
549
|
+
action: update_host_entity_field_value(
|
|
550
|
+
langcode: $langcode
|
|
551
|
+
fieldName: $fieldName
|
|
552
|
+
value: $value
|
|
553
|
+
) {
|
|
554
|
+
...paragraphsBlokkliMutationResult
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
query pbAllowedTypes {
|
|
560
|
+
paragraphsBlokkliAllowedTypes {
|
|
561
|
+
...paragraphsBlokkliAllowedType
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
query pbConversions {
|
|
566
|
+
paragraphsBlokkliConversions {
|
|
567
|
+
...paragraphsBlokkliConversion
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
query pbAvailableParagraphs {
|
|
572
|
+
entityQuery(entityType: PARAGRAPHS_TYPE, limit: 999) {
|
|
573
|
+
items {
|
|
574
|
+
...paragraphsType
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
paragraphsBlokkliAllowedTypes {
|
|
578
|
+
...paragraphsBlokkliAllowedType
|
|
579
|
+
}
|
|
580
|
+
paragraphsBlokkliConversions {
|
|
581
|
+
...paragraphsBlokkliConversion
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
query pbExisting(
|
|
586
|
+
$entityType: EntityType!
|
|
587
|
+
$entityUuid: String!
|
|
588
|
+
$bundle: String!
|
|
589
|
+
$bundleField: String!
|
|
590
|
+
$titleField: String!
|
|
591
|
+
$conditions: [EntityQueryFilterConditionInput]
|
|
592
|
+
$text: String!
|
|
593
|
+
) {
|
|
594
|
+
entityQuery(
|
|
595
|
+
entityType: $entityType
|
|
596
|
+
limit: 12
|
|
597
|
+
sort: [{ field: "changed", direction: ASC }]
|
|
598
|
+
filter: {
|
|
599
|
+
conditions: [
|
|
600
|
+
{ field: $bundleField, value: [$bundle] }
|
|
601
|
+
{ field: "uuid", value: [$entityUuid], operator: NOT_EQUAL }
|
|
602
|
+
{ field: $titleField, value: [$text], operator: LIKE }
|
|
603
|
+
]
|
|
604
|
+
groups: [{ conjunction: OR, conditions: $conditions }]
|
|
605
|
+
}
|
|
606
|
+
) {
|
|
607
|
+
total
|
|
608
|
+
items {
|
|
609
|
+
...paragraphsBlokkliExistingEntity
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
fragment paragraphsBlokkliExistingEntity on Entity {
|
|
615
|
+
id
|
|
616
|
+
label
|
|
617
|
+
uuid
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
fragment paragraphsBlokkliConversion on ParagraphsBlokkliConversion {
|
|
621
|
+
sourceBundle
|
|
622
|
+
targetBundle
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
fragment paragraphsType on ParagraphsType {
|
|
626
|
+
id
|
|
627
|
+
label
|
|
628
|
+
icon: iconDefault
|
|
629
|
+
description
|
|
630
|
+
allowReusable
|
|
631
|
+
isTranslatable
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
fragment paragraphsBlokkliAllowedType on ParagraphsBlokkliAllowedType {
|
|
635
|
+
entityType
|
|
636
|
+
bundle
|
|
637
|
+
fieldName
|
|
638
|
+
allowedTypes
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
query pbMediaLibraryGetResults($text: String, $bundle: String, $page: Int) {
|
|
642
|
+
pbMediaLibraryGetResults(text: $text, bundle: $bundle, page: $page) {
|
|
643
|
+
items {
|
|
644
|
+
label
|
|
645
|
+
mediaId
|
|
646
|
+
context
|
|
647
|
+
thumbnail
|
|
648
|
+
targetBundles
|
|
649
|
+
mediaBundle
|
|
650
|
+
}
|
|
651
|
+
total
|
|
652
|
+
perPage
|
|
653
|
+
filters {
|
|
654
|
+
__typename
|
|
655
|
+
id
|
|
656
|
+
label
|
|
657
|
+
type
|
|
658
|
+
... on ParagraphsBlokkliMediaLibraryFilterText {
|
|
659
|
+
placeholder
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
... on ParagraphsBlokkliMediaLibraryFilterSelect {
|
|
663
|
+
default
|
|
664
|
+
options
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
mutation pbAddEntityReference(
|
|
671
|
+
$langcode: String
|
|
672
|
+
$entityType: EntityType!
|
|
673
|
+
$entityUuid: String!
|
|
674
|
+
$targetId: String!
|
|
675
|
+
$targetType: String!
|
|
676
|
+
$targetBundle: String!
|
|
677
|
+
$paragraphBundle: String!
|
|
678
|
+
$hostType: String!
|
|
679
|
+
$hostUuid: String!
|
|
680
|
+
$hostFieldName: String!
|
|
681
|
+
$afterUuid: String
|
|
682
|
+
) {
|
|
683
|
+
state: paragraphsEditMutationState(
|
|
684
|
+
entityType: $entityType
|
|
685
|
+
entityUuid: $entityUuid
|
|
686
|
+
) {
|
|
687
|
+
action: add_entity_reference(
|
|
688
|
+
targetType: $targetType
|
|
689
|
+
targetBundle: $targetBundle
|
|
690
|
+
targetId: $targetId
|
|
691
|
+
paragraphBundle: $paragraphBundle
|
|
692
|
+
afterUuid: $afterUuid
|
|
693
|
+
hostType: $hostType
|
|
694
|
+
hostUuid: $hostUuid
|
|
695
|
+
hostFieldName: $hostFieldName
|
|
696
|
+
) {
|
|
697
|
+
...paragraphsBlokkliMutationResult
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
query pbConfig($entityType: String!, $entityBundle: String!) {
|
|
703
|
+
clipboards: pbGetSupportedClipboards {
|
|
704
|
+
...paragraphsBlokkliSupportedClipboard
|
|
705
|
+
}
|
|
706
|
+
features: paragraphsBlokkliAvailableFeatures {
|
|
707
|
+
...paragraphsBlokkliAvailableFeatures
|
|
708
|
+
}
|
|
709
|
+
allTypes: entityQuery(entityType: PARAGRAPHS_TYPE, limit: 999) {
|
|
710
|
+
items {
|
|
711
|
+
...paragraphsType
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
fieldConfig: pbGetFieldConfig {
|
|
716
|
+
name
|
|
717
|
+
label
|
|
718
|
+
entityType
|
|
719
|
+
entityBundle
|
|
720
|
+
cardinality
|
|
721
|
+
canEdit
|
|
722
|
+
allowedBundles
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
editableFieldConfig: pbGetEditableFieldConfig(
|
|
726
|
+
entityType: $entityType
|
|
727
|
+
entityBundle: $entityBundle
|
|
728
|
+
) {
|
|
729
|
+
name
|
|
730
|
+
label
|
|
731
|
+
entityType
|
|
732
|
+
entityBundle
|
|
733
|
+
type
|
|
734
|
+
required
|
|
735
|
+
maxLength
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
droppableFieldConfig: pbGetDroppableFieldConfig(
|
|
739
|
+
entityType: $entityType
|
|
740
|
+
entityBundle: $entityBundle
|
|
741
|
+
) {
|
|
742
|
+
name
|
|
743
|
+
label
|
|
744
|
+
entityType
|
|
745
|
+
entityBundle
|
|
746
|
+
cardinality
|
|
747
|
+
canEdit
|
|
748
|
+
allowedEntityType
|
|
749
|
+
allowedBundles
|
|
750
|
+
required
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
urlPrefixes: pbGetUrlPrefixes {
|
|
754
|
+
langcode
|
|
755
|
+
prefix
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
fragment paragraphsBlokkliSupportedClipboard on ParagraphsBlokkliSupportedClipboard {
|
|
760
|
+
__typename
|
|
761
|
+
... on ParagraphsBlokkliSupportedClipboardImage {
|
|
762
|
+
possibleParagraphBundles
|
|
763
|
+
maxFileSize
|
|
764
|
+
fileExtensions
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
... on ParagraphsBlokkliSupportedClipboardFile {
|
|
768
|
+
possibleParagraphBundles
|
|
769
|
+
maxFileSize
|
|
770
|
+
fileExtensions
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
... on ParagraphsBlokkliSupportedClipboardRichText {
|
|
774
|
+
possibleParagraphBundles
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
... on ParagraphsBlokkliSupportedClipboardRemoteVideo {
|
|
778
|
+
possibleParagraphBundles
|
|
779
|
+
videoProviders
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
mutation pbAddClipboardText(
|
|
784
|
+
$langcode: String
|
|
785
|
+
$entityType: EntityType!
|
|
786
|
+
$entityUuid: String!
|
|
787
|
+
$text: String!
|
|
788
|
+
$hostType: String!
|
|
789
|
+
$hostUuid: String!
|
|
790
|
+
$hostFieldName: String!
|
|
791
|
+
$afterUuid: String
|
|
792
|
+
) {
|
|
793
|
+
state: paragraphsEditMutationState(
|
|
794
|
+
entityType: $entityType
|
|
795
|
+
entityUuid: $entityUuid
|
|
796
|
+
) {
|
|
797
|
+
action: add_clipboard_text(
|
|
798
|
+
text: $text
|
|
799
|
+
afterUuid: $afterUuid
|
|
800
|
+
hostType: $hostType
|
|
801
|
+
hostUuid: $hostUuid
|
|
802
|
+
hostFieldName: $hostFieldName
|
|
803
|
+
) {
|
|
804
|
+
...paragraphsBlokkliMutationResult
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
mutation pbAddImage(
|
|
810
|
+
$langcode: String
|
|
811
|
+
$entityType: EntityType!
|
|
812
|
+
$entityUuid: String!
|
|
813
|
+
$data: String!
|
|
814
|
+
$fileName: String!
|
|
815
|
+
$hostType: String!
|
|
816
|
+
$hostUuid: String!
|
|
817
|
+
$hostFieldName: String!
|
|
818
|
+
$afterUuid: String
|
|
819
|
+
) {
|
|
820
|
+
state: paragraphsEditMutationState(
|
|
821
|
+
entityType: $entityType
|
|
822
|
+
entityUuid: $entityUuid
|
|
823
|
+
) {
|
|
824
|
+
action: add_image(
|
|
825
|
+
data: $data
|
|
826
|
+
fileName: $fileName
|
|
827
|
+
afterUuid: $afterUuid
|
|
828
|
+
hostType: $hostType
|
|
829
|
+
hostUuid: $hostUuid
|
|
830
|
+
hostFieldName: $hostFieldName
|
|
831
|
+
) {
|
|
832
|
+
...paragraphsBlokkliMutationResult
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
mutation pbAddFile(
|
|
838
|
+
$langcode: String
|
|
839
|
+
$entityType: EntityType!
|
|
840
|
+
$entityUuid: String!
|
|
841
|
+
$data: String!
|
|
842
|
+
$fileName: String!
|
|
843
|
+
$hostType: String!
|
|
844
|
+
$hostUuid: String!
|
|
845
|
+
$hostFieldName: String!
|
|
846
|
+
$afterUuid: String
|
|
847
|
+
) {
|
|
848
|
+
state: paragraphsEditMutationState(
|
|
849
|
+
entityType: $entityType
|
|
850
|
+
entityUuid: $entityUuid
|
|
851
|
+
) {
|
|
852
|
+
action: add_file(
|
|
853
|
+
data: $data
|
|
854
|
+
fileName: $fileName
|
|
855
|
+
afterUuid: $afterUuid
|
|
856
|
+
hostType: $hostType
|
|
857
|
+
hostUuid: $hostUuid
|
|
858
|
+
hostFieldName: $hostFieldName
|
|
859
|
+
) {
|
|
860
|
+
...paragraphsBlokkliMutationResult
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
mutation pbAddVideoRemote(
|
|
866
|
+
$langcode: String
|
|
867
|
+
$entityType: EntityType!
|
|
868
|
+
$entityUuid: String!
|
|
869
|
+
$url: String!
|
|
870
|
+
$hostType: String!
|
|
871
|
+
$hostUuid: String!
|
|
872
|
+
$hostFieldName: String!
|
|
873
|
+
$afterUuid: String
|
|
874
|
+
) {
|
|
875
|
+
state: paragraphsEditMutationState(
|
|
876
|
+
entityType: $entityType
|
|
877
|
+
entityUuid: $entityUuid
|
|
878
|
+
) {
|
|
879
|
+
action: add_video_remote(
|
|
880
|
+
url: $url
|
|
881
|
+
afterUuid: $afterUuid
|
|
882
|
+
hostType: $hostType
|
|
883
|
+
hostUuid: $hostUuid
|
|
884
|
+
hostFieldName: $hostFieldName
|
|
885
|
+
) {
|
|
886
|
+
...paragraphsBlokkliMutationResult
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
mutation pbSetMutationItemStatus(
|
|
892
|
+
$entityType: EntityType!
|
|
893
|
+
$entityUuid: String!
|
|
894
|
+
$langcode: String
|
|
895
|
+
$index: Int!
|
|
896
|
+
$status: Boolean!
|
|
897
|
+
) {
|
|
898
|
+
state: paragraphsEditMutationState(
|
|
899
|
+
entityType: $entityType
|
|
900
|
+
entityUuid: $entityUuid
|
|
901
|
+
) {
|
|
902
|
+
action: setMutationStatus(index: $index, status: $status) {
|
|
903
|
+
...paragraphsBlokkliMutationResult
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
}
|