@blokkli/editor 2.0.0-alpha.51 → 2.0.0-alpha.53

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.
Files changed (377) hide show
  1. package/dist/chunks/tailwindConfig.mjs +3 -3
  2. package/dist/global/types/blockOptions.d.ts +18 -2
  3. package/dist/module.d.mts +2 -2
  4. package/dist/module.json +1 -1
  5. package/dist/module.mjs +281 -18
  6. package/dist/modules/agent/index.d.mts +1 -1
  7. package/dist/modules/agent/runtime/app/composables/agentProvider.d.ts +1 -0
  8. package/dist/modules/agent/runtime/app/composables/agentProvider.js +7 -0
  9. package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.d.vue.ts +2 -2
  10. package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.vue +14 -49
  11. package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.vue.d.ts +2 -2
  12. package/dist/modules/agent/runtime/app/features/agent/Panel/Feedback/index.d.vue.ts +10 -0
  13. package/dist/modules/agent/runtime/app/features/agent/Panel/Feedback/index.vue +102 -0
  14. package/dist/modules/agent/runtime/app/features/agent/Panel/Feedback/index.vue.d.ts +10 -0
  15. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue +8 -5
  16. package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.d.vue.ts +3 -3
  17. package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.vue +9 -5
  18. package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.vue.d.ts +3 -3
  19. package/dist/modules/agent/runtime/app/features/agent/Panel/index.d.vue.ts +7 -0
  20. package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue +16 -2
  21. package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue.d.ts +7 -0
  22. package/dist/modules/agent/runtime/app/features/agent/index.vue +29 -0
  23. package/dist/modules/agent/runtime/app/features/agent/types.d.ts +16 -0
  24. package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.vue +3 -1
  25. package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.d.ts +2 -0
  26. package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.js +8 -1
  27. package/dist/modules/charts/index.d.mts +1 -1
  28. package/dist/modules/charts/index.mjs +2 -3
  29. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.vue +1 -1
  30. package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.vue +1 -1
  31. package/dist/modules/drupal/graphql/base/fragment.paragraphsBlokkliEditState.graphql +16 -0
  32. package/dist/modules/drupal/graphql/base/query.pbConfig.graphql +9 -0
  33. package/dist/modules/drupal/graphql/features/agent.graphql +20 -0
  34. package/dist/modules/drupal/graphql/features/publishNew.graphql +14 -0
  35. package/dist/modules/drupal/graphql/features/referenced-entities.graphql +21 -0
  36. package/dist/modules/drupal/graphql/features/textFieldValues.graphql +20 -0
  37. package/dist/modules/drupal/graphql/features/workspace.graphql +23 -0
  38. package/dist/modules/drupal/graphql/mutations/bulk_translate_field_values.graphql +19 -0
  39. package/dist/modules/drupal/graphql/mutations/clear_outdated_translation.graphql +15 -0
  40. package/dist/modules/drupal/graphql/mutations/ignore_analyze.graphql +15 -0
  41. package/dist/modules/drupal/graphql/mutations/request_translation.graphql +10 -0
  42. package/dist/modules/drupal/graphql/mutations/unignore_analyze.graphql +15 -0
  43. package/dist/modules/drupal/index.d.mts +1 -1
  44. package/dist/modules/drupal/index.mjs +16 -0
  45. package/dist/modules/drupal/runtime/adapter/index.js +180 -11
  46. package/dist/modules/iframes/index.d.mts +31 -0
  47. package/dist/modules/iframes/index.mjs +52 -0
  48. package/dist/modules/iframes/runtime/components/BlokkliIframe/index.d.vue.ts +18 -0
  49. package/dist/modules/iframes/runtime/components/BlokkliIframe/index.vue +61 -0
  50. package/dist/modules/iframes/runtime/components/BlokkliIframe/index.vue.d.ts +18 -0
  51. package/dist/modules/iframes/runtime/components/index.d.ts +1 -0
  52. package/dist/modules/iframes/runtime/components/index.js +1 -0
  53. package/dist/modules/iframes/runtime/features/iframes/Editor/index.d.vue.ts +12 -0
  54. package/dist/modules/iframes/runtime/features/iframes/Editor/index.vue +220 -0
  55. package/dist/modules/iframes/runtime/features/iframes/Editor/index.vue.d.ts +12 -0
  56. package/dist/modules/iframes/runtime/types.d.ts +10 -0
  57. package/dist/modules/index.d.mts +1 -1
  58. package/dist/modules/table-of-contents/index.d.mts +1 -1
  59. package/dist/runtime/components/Blocks/NotImplemented/index.vue +57 -0
  60. package/dist/runtime/components/BlokkliEditable.d.vue.ts +2 -1
  61. package/dist/runtime/components/BlokkliEditable.vue +58 -42
  62. package/dist/runtime/components/BlokkliEditable.vue.d.ts +2 -1
  63. package/dist/runtime/components/BlokkliItem.d.vue.ts +1 -1
  64. package/dist/runtime/components/BlokkliItem.vue.d.ts +1 -1
  65. package/dist/runtime/editor/adapter/index.d.ts +8 -1
  66. package/dist/runtime/editor/components/Actions/Interactions/index.vue +77 -17
  67. package/dist/runtime/editor/components/Actions/{ItemDropdown.vue → ItemDropdown/index.vue} +9 -10
  68. package/dist/runtime/editor/components/Actions/index.vue +586 -23
  69. package/dist/runtime/editor/components/AnimationCanvas/index.vue +1 -0
  70. package/dist/runtime/editor/components/AppMenu/MenuButton.vue +185 -1
  71. package/dist/runtime/editor/components/AppMenu/index.vue +24 -10
  72. package/dist/runtime/editor/components/ArtboardTooltip/index.d.vue.ts +6 -2
  73. package/dist/runtime/editor/components/ArtboardTooltip/index.vue +223 -3
  74. package/dist/runtime/editor/components/ArtboardTooltip/index.vue.d.ts +6 -2
  75. package/dist/runtime/editor/components/AutoHeight/index.vue +23 -0
  76. package/dist/runtime/editor/components/Banner/Inner.d.vue.ts +30 -0
  77. package/dist/runtime/editor/components/Banner/Inner.vue +32 -0
  78. package/dist/runtime/editor/components/Banner/Inner.vue.d.ts +30 -0
  79. package/dist/runtime/editor/components/Banner/index.d.vue.ts +3 -13
  80. package/dist/runtime/editor/components/Banner/index.vue +2 -14
  81. package/dist/runtime/editor/components/Banner/index.vue.d.ts +3 -13
  82. package/dist/runtime/editor/components/BetaIndicator/index.d.vue.ts +6 -0
  83. package/dist/runtime/editor/components/BetaIndicator/index.vue +16 -0
  84. package/dist/runtime/editor/components/BetaIndicator/index.vue.d.ts +6 -0
  85. package/dist/runtime/editor/components/BlockPreviewItem/index.vue +51 -1
  86. package/dist/runtime/editor/components/BlockPreviewRenderer/index.vue +27 -1
  87. package/dist/runtime/editor/components/BlockProxy/index.vue +148 -1
  88. package/dist/runtime/editor/components/BlokkliRootErrorBoundary.vue +59 -0
  89. package/dist/runtime/editor/components/BundleSelector/index.vue +170 -20
  90. package/dist/runtime/editor/components/Dialog/index.d.vue.ts +2 -0
  91. package/dist/runtime/editor/components/Dialog/index.vue +341 -0
  92. package/dist/runtime/editor/components/Dialog/index.vue.d.ts +2 -0
  93. package/dist/runtime/editor/components/DiffApproval/Highlight/index.vue +117 -0
  94. package/dist/runtime/editor/components/DiffApproval/Toolbar/index.vue +224 -28
  95. package/dist/runtime/editor/components/DiffViewer/DiffValue.d.vue.ts +1 -0
  96. package/dist/runtime/editor/components/DiffViewer/DiffValue.vue +5 -1
  97. package/dist/runtime/editor/components/DiffViewer/DiffValue.vue.d.ts +1 -0
  98. package/dist/runtime/editor/components/DiffViewer/State.vue +319 -0
  99. package/dist/runtime/editor/components/DraggableList.vue +103 -0
  100. package/dist/runtime/editor/components/Dropdown/index.vue +84 -0
  101. package/dist/runtime/editor/components/EditProvider.vue +72 -15
  102. package/dist/runtime/editor/components/FileDropHandler/index.d.vue.ts +23 -0
  103. package/dist/runtime/editor/components/FileDropHandler/index.vue +108 -0
  104. package/dist/runtime/editor/components/FileDropHandler/index.vue.d.ts +23 -0
  105. package/dist/runtime/editor/components/FlexTextarea/index.vue +4 -2
  106. package/dist/runtime/editor/components/Form/Datepicker/index.vue +149 -0
  107. package/dist/runtime/editor/components/Form/Toggle/index.vue +205 -1
  108. package/dist/runtime/editor/components/FormOverlay/index.vue +90 -0
  109. package/dist/runtime/editor/components/Icon/index.vue +6 -0
  110. package/dist/runtime/editor/components/Indicators/index.vue +161 -0
  111. package/dist/runtime/editor/components/InfoBox/index.vue +65 -0
  112. package/dist/runtime/editor/components/Konami/index.vue +119 -0
  113. package/dist/runtime/editor/components/Loading/index.d.vue.ts +6 -3
  114. package/dist/runtime/editor/components/Loading/index.vue +10 -5
  115. package/dist/runtime/editor/components/Loading/index.vue.d.ts +6 -3
  116. package/dist/runtime/editor/components/Messages/index.vue +131 -0
  117. package/dist/runtime/editor/components/NestedEditorOverlay/index.d.vue.ts +1 -0
  118. package/dist/runtime/editor/components/NestedEditorOverlay/index.vue +246 -12
  119. package/dist/runtime/editor/components/NestedEditorOverlay/index.vue.d.ts +1 -0
  120. package/dist/runtime/editor/components/NotEditStateInfo/index.d.vue.ts +3 -0
  121. package/dist/runtime/editor/components/NotEditStateInfo/index.vue +19 -0
  122. package/dist/runtime/editor/components/NotEditStateInfo/index.vue.d.ts +3 -0
  123. package/dist/runtime/editor/components/Overlay/index.vue +84 -0
  124. package/dist/runtime/editor/components/Pagination/index.vue +41 -0
  125. package/dist/runtime/editor/components/PluginConfigForm/index.vue +23 -0
  126. package/dist/runtime/editor/components/PluginConfigFormInline/FilterSelect/index.vue +429 -0
  127. package/dist/runtime/editor/components/PluginConfigFormInline/index.d.vue.ts +22 -0
  128. package/dist/runtime/editor/components/PluginConfigFormInline/index.vue +150 -0
  129. package/dist/runtime/editor/components/PluginConfigFormInline/index.vue.d.ts +22 -0
  130. package/dist/runtime/editor/components/Popup/index.vue +77 -2
  131. package/dist/runtime/editor/components/PreviewProvider.vue +7 -0
  132. package/dist/runtime/editor/components/Resizable/index.vue +90 -1
  133. package/dist/runtime/editor/components/ScaleToFit/index.vue +30 -1
  134. package/dist/runtime/editor/components/SearchOverlay/index.d.vue.ts +43 -0
  135. package/dist/runtime/editor/components/SearchOverlay/index.vue +264 -0
  136. package/dist/runtime/editor/components/SearchOverlay/index.vue.d.ts +43 -0
  137. package/dist/runtime/editor/components/StatusIcon/index.vue +104 -0
  138. package/dist/runtime/editor/components/StatusIndicator/index.d.vue.ts +9 -0
  139. package/dist/runtime/editor/components/StatusIndicator/index.vue +16 -0
  140. package/dist/runtime/editor/components/StatusIndicator/index.vue.d.ts +9 -0
  141. package/dist/runtime/editor/components/SystemRequirements/index.vue +57 -0
  142. package/dist/runtime/editor/components/Tabs/index.d.vue.ts +30 -0
  143. package/dist/runtime/editor/components/Tabs/index.vue +32 -0
  144. package/dist/runtime/editor/components/Tabs/index.vue.d.ts +30 -0
  145. package/dist/runtime/editor/components/Toolbar/index.vue +214 -3
  146. package/dist/runtime/editor/components/Tooltip/Context.d.vue.ts +7 -0
  147. package/dist/runtime/editor/components/Tooltip/Context.vue +13 -0
  148. package/dist/runtime/editor/components/Tooltip/Context.vue.d.ts +7 -0
  149. package/dist/runtime/editor/components/Tooltip/Status.d.vue.ts +8 -0
  150. package/dist/runtime/editor/components/Tooltip/Status.vue +27 -0
  151. package/dist/runtime/editor/components/Tooltip/Status.vue.d.ts +8 -0
  152. package/dist/runtime/editor/components/Tooltip/index.d.vue.ts +27 -0
  153. package/dist/runtime/editor/components/Tooltip/index.vue +40 -0
  154. package/dist/runtime/editor/components/Tooltip/index.vue.d.ts +27 -0
  155. package/dist/runtime/editor/components/index.d.ts +59 -49
  156. package/dist/runtime/editor/components/index.js +59 -98
  157. package/dist/runtime/editor/composables/defineHighlight.d.ts +2 -0
  158. package/dist/runtime/editor/composables/defineHighlight.js +10 -0
  159. package/dist/runtime/editor/composables/index.d.ts +1 -0
  160. package/dist/runtime/editor/composables/index.js +1 -0
  161. package/dist/runtime/editor/composables/useBlockRegistration.js +8 -0
  162. package/dist/runtime/editor/composables/useStickyToolbar.d.ts +1 -0
  163. package/dist/runtime/editor/composables/useStickyToolbar.js +16 -0
  164. package/dist/runtime/editor/css/output.css +1 -1
  165. package/dist/runtime/editor/events/index.d.ts +10 -0
  166. package/dist/runtime/editor/features/add-list/Help/index.vue +193 -0
  167. package/dist/runtime/editor/features/add-list/index.vue +441 -0
  168. package/dist/runtime/editor/features/analyze/Ignored/index.d.vue.ts +7 -0
  169. package/dist/runtime/editor/features/analyze/Ignored/index.vue +35 -0
  170. package/dist/runtime/editor/features/analyze/Ignored/index.vue.d.ts +7 -0
  171. package/dist/runtime/editor/features/analyze/Main.vue +148 -24
  172. package/dist/runtime/editor/features/analyze/Results/Results.d.vue.ts +1 -9
  173. package/dist/runtime/editor/features/analyze/Results/Results.vue +0 -2
  174. package/dist/runtime/editor/features/analyze/Results/Results.vue.d.ts +1 -9
  175. package/dist/runtime/editor/features/analyze/Results/ResultsItem.d.vue.ts +1 -9
  176. package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue +1 -2
  177. package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue.d.ts +1 -9
  178. package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.d.vue.ts +1 -9
  179. package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue +11 -8
  180. package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue.d.ts +1 -9
  181. package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.d.vue.ts +3 -10
  182. package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue +63 -25
  183. package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue.d.ts +3 -10
  184. package/dist/runtime/editor/features/analyze/analyzers/altText.js +2 -0
  185. package/dist/runtime/editor/features/analyze/analyzers/headingStructure.js +3 -0
  186. package/dist/runtime/editor/features/analyze/analyzers/helpers/hashString.d.ts +7 -0
  187. package/dist/runtime/editor/features/analyze/analyzers/helpers/hashString.js +8 -0
  188. package/dist/runtime/editor/features/analyze/analyzers/readability.js +6 -12
  189. package/dist/runtime/editor/features/analyze/analyzers/types.d.ts +20 -0
  190. package/dist/runtime/editor/features/analyze/index.vue +458 -0
  191. package/dist/runtime/editor/features/analyze/types.d.ts +12 -0
  192. package/dist/runtime/editor/features/artboard/Overview/index.vue +37 -4
  193. package/dist/runtime/editor/features/artboard/Renderer.vue +79 -9
  194. package/dist/runtime/editor/features/artboard/Scrollbar/index.vue +84 -0
  195. package/dist/runtime/editor/features/block-scheduler/Dialog/index.vue +1 -1
  196. package/dist/runtime/editor/features/block-scheduler/index.vue +114 -0
  197. package/dist/runtime/editor/features/breadcrumbs/index.vue +150 -0
  198. package/dist/runtime/editor/features/changelog/Dialog/index.vue +62 -7
  199. package/dist/runtime/editor/features/changelog/changelog.json +9 -1
  200. package/dist/runtime/editor/features/clipboard/index.vue +153 -1
  201. package/dist/runtime/editor/features/command-palette/Palette/Item/index.vue +39 -16
  202. package/dist/runtime/editor/features/command-palette/Palette/index.vue +24 -130
  203. package/dist/runtime/editor/features/comments/index.vue +235 -0
  204. package/dist/runtime/editor/features/complex-options/index.vue +4 -1
  205. package/dist/runtime/editor/features/debug/Main.vue +1 -1
  206. package/dist/runtime/editor/features/debug/Section/Features.vue +2 -4
  207. package/dist/runtime/editor/features/debug/index.vue +168 -0
  208. package/dist/runtime/editor/features/dev-mode/index.vue +92 -27
  209. package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue +1 -1
  210. package/dist/runtime/editor/features/dragging-overlay/index.vue +330 -0
  211. package/dist/runtime/editor/features/edit/index.vue +15 -17
  212. package/dist/runtime/editor/features/edit-form/Frame/index.vue +21 -4
  213. package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.d.vue.ts +9 -1
  214. package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue +32 -3
  215. package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue.d.ts +9 -1
  216. package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/ChunkOverlay.vue +77 -0
  217. package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/index.vue +55 -56
  218. package/dist/runtime/editor/features/editable-field/Overlay/index.vue +416 -8
  219. package/dist/runtime/editor/features/editable-mask/index.vue +9 -0
  220. package/dist/runtime/editor/features/entity-title/index.vue +40 -56
  221. package/dist/runtime/editor/features/fragments/Dialog/index.vue +90 -0
  222. package/dist/runtime/editor/features/help/Shortcuts/index.vue +71 -0
  223. package/dist/runtime/editor/features/help/index.vue +17 -0
  224. package/dist/runtime/editor/features/highlights/Renderer/fragment.glsl +89 -0
  225. package/dist/runtime/editor/features/highlights/Renderer/index.vue +408 -0
  226. package/dist/runtime/editor/features/highlights/Renderer/vertex.glsl +87 -0
  227. package/dist/runtime/editor/features/highlights/index.d.vue.ts +3 -0
  228. package/dist/runtime/editor/features/highlights/index.vue +20 -0
  229. package/dist/runtime/editor/features/highlights/index.vue.d.ts +3 -0
  230. package/dist/runtime/editor/features/history/List/index.vue +209 -0
  231. package/dist/runtime/editor/features/history/index.vue +0 -1
  232. package/dist/runtime/editor/features/hover/Renderer/index.vue +1 -1
  233. package/dist/runtime/editor/features/hover/Renderer/vertex.glsl +1 -1
  234. package/dist/runtime/editor/features/import-existing/Dialog/index.vue +18 -0
  235. package/dist/runtime/editor/features/media-library/Library/index.vue +10 -30
  236. package/dist/runtime/editor/features/media-library/index.vue +331 -0
  237. package/dist/runtime/editor/features/options/Form/Checkbox/index.vue +1 -1
  238. package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue +1 -1
  239. package/dist/runtime/editor/features/options/Form/ComplexType/index.vue +6 -2
  240. package/dist/runtime/editor/features/options/Form/Item.vue +21 -18
  241. package/dist/runtime/editor/features/options/Form/Radios/index.d.vue.ts +6 -0
  242. package/dist/runtime/editor/features/options/Form/Radios/index.vue +25 -6
  243. package/dist/runtime/editor/features/options/Form/Radios/index.vue.d.ts +6 -0
  244. package/dist/runtime/editor/features/options/Form/index.vue +1 -4
  245. package/dist/runtime/editor/features/options/index.vue +729 -0
  246. package/dist/runtime/editor/features/ownership/Banner/index.vue +9 -8
  247. package/dist/runtime/editor/features/ownership/index.vue +1 -1
  248. package/dist/runtime/editor/features/preview-grant/QrCode/index.vue +8 -3
  249. package/dist/runtime/editor/features/publish/Dialog/Item.vue +18 -20
  250. package/dist/runtime/editor/features/publish/Dialog/index.vue +5 -1
  251. package/dist/runtime/editor/features/publish/index.vue +835 -0
  252. package/dist/runtime/editor/features/publish/types.d.ts +5 -1
  253. package/dist/runtime/editor/features/referenced-entities/List/Item/index.d.vue.ts +4 -0
  254. package/dist/runtime/editor/features/referenced-entities/List/Item/index.vue +81 -0
  255. package/dist/runtime/editor/features/referenced-entities/List/Item/index.vue.d.ts +4 -0
  256. package/dist/runtime/editor/features/referenced-entities/List/index.d.vue.ts +11 -0
  257. package/dist/runtime/editor/features/referenced-entities/List/index.vue +78 -0
  258. package/dist/runtime/editor/features/referenced-entities/List/index.vue.d.ts +11 -0
  259. package/dist/runtime/editor/features/referenced-entities/index.d.vue.ts +3 -0
  260. package/dist/runtime/editor/features/referenced-entities/index.vue +36 -0
  261. package/dist/runtime/editor/features/referenced-entities/index.vue.d.ts +3 -0
  262. package/dist/runtime/editor/features/referenced-entities/types.d.ts +13 -0
  263. package/dist/runtime/editor/features/responsive-preview/Frame/index.vue +188 -0
  264. package/dist/runtime/editor/features/search/Overlay/Results/Page/index.vue +1 -1
  265. package/dist/runtime/editor/features/search/index.vue +511 -0
  266. package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.vue +58 -0
  267. package/dist/runtime/editor/features/selection/index.vue +47 -15
  268. package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.vue +23 -0
  269. package/dist/runtime/editor/features/settings/Dialog/index.vue +5 -2
  270. package/dist/runtime/editor/features/settings/index.vue +152 -0
  271. package/dist/runtime/editor/features/structure/List/Item/index.vue +7 -0
  272. package/dist/runtime/editor/features/structure/index.vue +178 -0
  273. package/dist/runtime/editor/features/templates/ManageDialog/Item.vue +3 -3
  274. package/dist/runtime/editor/features/templates/ManageDialog/index.vue +24 -3
  275. package/dist/runtime/editor/features/theme/index.vue +94 -0
  276. package/dist/runtime/editor/features/touch-action-bar/Bar/index.vue +34 -0
  277. package/dist/runtime/editor/features/tour/Overlay/index.vue +243 -13
  278. package/dist/runtime/editor/features/transform/Dialog/index.vue +132 -1
  279. package/dist/runtime/editor/features/translations/Banner/index.d.vue.ts +14 -1
  280. package/dist/runtime/editor/features/translations/Banner/index.vue +139 -12
  281. package/dist/runtime/editor/features/translations/Banner/index.vue.d.ts +14 -1
  282. package/dist/runtime/editor/features/translations/CsvDialog/Export/index.d.vue.ts +3 -0
  283. package/dist/runtime/editor/features/translations/CsvDialog/Export/index.vue +272 -0
  284. package/dist/runtime/editor/features/translations/CsvDialog/Export/index.vue.d.ts +3 -0
  285. package/dist/runtime/editor/features/translations/CsvDialog/Import/index.d.vue.ts +10 -0
  286. package/dist/runtime/editor/features/translations/CsvDialog/Import/index.vue +382 -0
  287. package/dist/runtime/editor/features/translations/CsvDialog/Import/index.vue.d.ts +10 -0
  288. package/dist/runtime/editor/features/translations/CsvDialog/csv.d.ts +22 -0
  289. package/dist/runtime/editor/features/translations/CsvDialog/csv.js +50 -0
  290. package/dist/runtime/editor/features/translations/CsvDialog/index.d.vue.ts +10 -0
  291. package/dist/runtime/editor/features/translations/CsvDialog/index.vue +37 -0
  292. package/dist/runtime/editor/features/translations/CsvDialog/index.vue.d.ts +10 -0
  293. package/dist/runtime/editor/features/translations/CsvDialog/po.d.ts +7 -0
  294. package/dist/runtime/editor/features/translations/CsvDialog/po.js +36 -0
  295. package/dist/runtime/editor/features/translations/SelectionTable/index.d.vue.ts +37 -0
  296. package/dist/runtime/editor/features/translations/SelectionTable/index.vue +102 -0
  297. package/dist/runtime/editor/features/translations/SelectionTable/index.vue.d.ts +37 -0
  298. package/dist/runtime/editor/features/translations/TranslateDialog/index.d.vue.ts +7 -0
  299. package/dist/runtime/editor/features/translations/TranslateDialog/index.vue +294 -0
  300. package/dist/runtime/editor/features/translations/TranslateDialog/index.vue.d.ts +7 -0
  301. package/dist/runtime/editor/features/translations/index.vue +276 -6
  302. package/dist/runtime/editor/features/translations/types.d.ts +47 -0
  303. package/dist/runtime/editor/features/validations/Overlay/index.vue +130 -0
  304. package/dist/runtime/editor/features/validations/index.vue +41 -0
  305. package/dist/runtime/editor/features/{assistant → workspace}/Overlay/index.d.vue.ts +2 -4
  306. package/dist/runtime/editor/features/workspace/Overlay/index.vue +177 -0
  307. package/dist/runtime/editor/features/{assistant → workspace}/Overlay/index.vue.d.ts +2 -4
  308. package/dist/runtime/editor/features/workspace/index.d.vue.ts +3 -0
  309. package/dist/runtime/editor/features/workspace/index.vue +46 -0
  310. package/dist/runtime/editor/features/workspace/index.vue.d.ts +3 -0
  311. package/dist/runtime/editor/features/workspace/types.d.ts +59 -0
  312. package/dist/runtime/editor/features/workspace/types.js +0 -0
  313. package/dist/runtime/editor/icons/svg/spinner.svg +2 -2
  314. package/dist/runtime/editor/plugins/ContextMenu/Menu/index.vue +21 -7
  315. package/dist/runtime/editor/plugins/ContextMenu/index.vue +4 -0
  316. package/dist/runtime/editor/plugins/ItemAction/index.d.vue.ts +9 -2
  317. package/dist/runtime/editor/plugins/ItemAction/index.vue +26 -16
  318. package/dist/runtime/editor/plugins/ItemAction/index.vue.d.ts +9 -2
  319. package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue +24 -26
  320. package/dist/runtime/editor/plugins/Sidebar/index.vue +612 -27
  321. package/dist/runtime/editor/plugins/ToolbarButton/index.d.vue.ts +13 -84
  322. package/dist/runtime/editor/plugins/ToolbarButton/index.vue +36 -22
  323. package/dist/runtime/editor/plugins/ToolbarButton/index.vue.d.ts +13 -84
  324. package/dist/runtime/editor/plugins/ViewOption/index.vue +13 -14
  325. package/dist/runtime/editor/providers/blocks.js +1 -0
  326. package/dist/runtime/editor/providers/cache.d.ts +23 -0
  327. package/dist/runtime/editor/providers/cache.js +29 -0
  328. package/dist/runtime/editor/providers/directive.d.ts +25 -0
  329. package/dist/runtime/editor/providers/directive.js +20 -0
  330. package/dist/runtime/editor/providers/fieldValue.d.ts +5 -5
  331. package/dist/runtime/editor/providers/fieldValue.js +8 -7
  332. package/dist/runtime/editor/providers/plugin.d.ts +14 -0
  333. package/dist/runtime/editor/providers/plugin.js +9 -0
  334. package/dist/runtime/editor/providers/readability.js +1 -1
  335. package/dist/runtime/editor/providers/selection.js +1 -1
  336. package/dist/runtime/editor/providers/state.d.ts +1 -0
  337. package/dist/runtime/editor/providers/state.js +1 -0
  338. package/dist/runtime/editor/providers/texts.js +11 -1
  339. package/dist/runtime/editor/providers/ui.d.ts +11 -0
  340. package/dist/runtime/editor/providers/ui.js +5 -1
  341. package/dist/runtime/editor/translations/de.json +316 -56
  342. package/dist/runtime/editor/translations/fr.json +310 -50
  343. package/dist/runtime/editor/translations/gsw_CH.json +311 -51
  344. package/dist/runtime/editor/translations/it.json +310 -50
  345. package/dist/runtime/editor/types/app.d.ts +2 -0
  346. package/dist/runtime/editor/types/definitions.d.ts +8 -0
  347. package/dist/runtime/editor/types/field.d.ts +1 -0
  348. package/dist/runtime/editor/types/state.d.ts +10 -0
  349. package/dist/runtime/editor/types/ui.d.ts +3 -1
  350. package/dist/runtime/helpers/tw.d.ts +15 -0
  351. package/dist/runtime/helpers/tw.js +3 -0
  352. package/dist/runtime/types/field.d.ts +1 -0
  353. package/dist/shared/{editor.DsGJIlGn.d.mts → editor.BTOBvmaz.d.mts} +20 -3
  354. package/dist/types.d.mts +1 -1
  355. package/package.json +16 -3
  356. package/dist/runtime/editor/features/analyze/Renderer/fragment.glsl +0 -74
  357. package/dist/runtime/editor/features/analyze/Renderer/index.d.vue.ts +0 -24
  358. package/dist/runtime/editor/features/analyze/Renderer/index.vue +0 -330
  359. package/dist/runtime/editor/features/analyze/Renderer/index.vue.d.ts +0 -24
  360. package/dist/runtime/editor/features/analyze/Renderer/vertex.glsl +0 -94
  361. package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.d.vue.ts +0 -7
  362. package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.vue +0 -17
  363. package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.vue.d.ts +0 -7
  364. package/dist/runtime/editor/features/assistant/Overlay/index.vue +0 -108
  365. package/dist/runtime/editor/features/assistant/docs.md +0 -7
  366. package/dist/runtime/editor/features/assistant/index.vue +0 -66
  367. package/dist/runtime/editor/features/assistant/types.d.ts +0 -37
  368. package/dist/runtime/editor/features/media-library/Library/FilterSelect/index.vue +0 -168
  369. package/dist/runtime/editor/providers/fieldValueAdapterTypes.d.ts +0 -13
  370. /package/dist/{runtime/editor/features/assistant → modules/iframes/runtime}/types.js +0 -0
  371. /package/dist/runtime/editor/components/Actions/{ItemDropdown.d.vue.ts → ItemDropdown/index.d.vue.ts} +0 -0
  372. /package/dist/runtime/editor/components/Actions/{ItemDropdown.vue.d.ts → ItemDropdown/index.vue.d.ts} +0 -0
  373. /package/dist/runtime/editor/{features/media-library/Library → components/PluginConfigFormInline}/FilterSelect/index.d.vue.ts +0 -0
  374. /package/dist/runtime/editor/{features/media-library/Library → components/PluginConfigFormInline}/FilterSelect/index.vue.d.ts +0 -0
  375. /package/dist/runtime/editor/features/{assistant → highlights/Renderer}/index.d.vue.ts +0 -0
  376. /package/dist/runtime/editor/features/{assistant → highlights/Renderer}/index.vue.d.ts +0 -0
  377. /package/dist/runtime/editor/{providers/fieldValueAdapterTypes.js → features/referenced-entities/types.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <label class="bk-checkbox-toggle">
3
3
  <slot />
4
- <input v-model="value" type="checkbox" class="peer" :disabled />
4
+ <input v-model="value" type="checkbox" class="_bk_peer" :disabled />
5
5
  <div class="bk-checkbox-toggle-toggle" />
6
6
  <div v-if="label || description" class="bk-checkbox-toggle-label">
7
7
  <div v-if="label" class="bk-checkbox-toggle-label-label">{{ label }}</div>
@@ -24,3 +24,207 @@ defineProps({
24
24
  });
25
25
  const value = defineModel({ type: Boolean });
26
26
  </script>
27
+
28
+ <style>
29
+ .bk .bk-checkbox-toggle {
30
+
31
+ position: relative;
32
+
33
+ display: flex;
34
+
35
+ height: 100%;
36
+
37
+ cursor: pointer;
38
+
39
+ line-height: 1;
40
+
41
+ --bk-tw-text-opacity: 1;
42
+
43
+ color: rgb(var(--bk-theme-mono-800) / var(--bk-tw-text-opacity, 1))
44
+ }
45
+
46
+ .bk .bk-checkbox-toggle:has(input[disabled]) {
47
+
48
+ cursor: not-allowed !important;
49
+
50
+ --bk-tw-text-opacity: 1 !important;
51
+
52
+ color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-text-opacity, 1)) !important
53
+ }
54
+
55
+ .bk .bk-checkbox-toggle:has(input[disabled]) .bk-checkbox-toggle-toggle {
56
+
57
+ --bk-tw-bg-opacity: 1 !important;
58
+
59
+ background-color: rgb(var(--bk-theme-mono-200) / var(--bk-tw-bg-opacity, 1)) !important
60
+ }
61
+
62
+ .bk .bk-checkbox-toggle:has(input[disabled]) .bk-checkbox-toggle-label-description {
63
+
64
+ --bk-tw-text-opacity: 1;
65
+
66
+ color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-text-opacity, 1))
67
+ }
68
+
69
+ .bk .bk-checkbox-toggle .bk-form-disabled-reason {
70
+
71
+ margin-top: 8px
72
+ }
73
+
74
+ .bk .bk-checkbox-toggle:focus-within input + .bk-checkbox-toggle-toggle {
75
+
76
+ outline-style: solid;
77
+
78
+ outline-offset: 2px;
79
+
80
+ outline-color: rgb(var(--bk-theme-accent-950) / 0.8)
81
+ }
82
+
83
+ .bk .bk-checkbox-toggle .bk-checkbox-toggle-label .bk-checkbox-toggle-label-label {
84
+
85
+ font-weight: 600
86
+ }
87
+
88
+ .bk .bk-checkbox-toggle .bk-checkbox-toggle-label .bk-checkbox-toggle-label-description {
89
+
90
+ max-width: 500px;
91
+
92
+ text-wrap: pretty;
93
+
94
+ font-size: 14px;
95
+
96
+ line-height: 20px;
97
+
98
+ --bk-tw-text-opacity: 1;
99
+
100
+ color: rgb(var(--bk-theme-mono-600) / var(--bk-tw-text-opacity, 1))
101
+ }
102
+
103
+ .bk .bk-checkbox-toggle .bk-checkbox-toggle-label {
104
+
105
+ display: inline-block;
106
+
107
+ padding-right: 10px;
108
+
109
+ font-size: 16px;
110
+
111
+ line-height: 24px
112
+ }
113
+
114
+ @media not all and (hover: none) {
115
+ .bk .bk-checkbox-toggle:hover {
116
+
117
+ --bk-tw-text-opacity: 1;
118
+
119
+ color: rgb(var(--bk-theme-accent-800) / var(--bk-tw-text-opacity, 1))
120
+ }
121
+ }
122
+
123
+ .bk .bk-checkbox-toggle input {
124
+
125
+ position: absolute;
126
+
127
+ width: 1px;
128
+
129
+ height: 1px;
130
+
131
+ padding: 0;
132
+
133
+ margin: -1px;
134
+
135
+ overflow: hidden;
136
+
137
+ clip: rect(0, 0, 0, 0);
138
+
139
+ white-space: nowrap;
140
+
141
+ border-width: 0
142
+ }
143
+
144
+ .bk .bk-checkbox-toggle input:checked + .bk-checkbox-toggle-toggle {
145
+
146
+ --bk-tw-bg-opacity: 1;
147
+
148
+ background-color: rgb(var(--bk-theme-accent-800) / var(--bk-tw-bg-opacity, 1))
149
+ }
150
+
151
+ .bk .bk-checkbox-toggle input:checked + .bk-checkbox-toggle-toggle::after {
152
+
153
+ --bk-tw-translate-x: 100%;
154
+
155
+ transform: translate(var(--bk-tw-translate-x), var(--bk-tw-translate-y)) rotate(var(--bk-tw-rotate)) skewX(var(--bk-tw-skew-x)) skewY(var(--bk-tw-skew-y)) scaleX(var(--bk-tw-scale-x)) scaleY(var(--bk-tw-scale-y));
156
+
157
+ content: var(--bk-tw-content);
158
+
159
+ --bk-tw-border-opacity: 1;
160
+
161
+ border-color: rgb(255 255 255 / var(--bk-tw-border-opacity, 1))
162
+ }
163
+
164
+ @media not all and (hover: none) {
165
+ .bk .bk-checkbox-toggle input:not(:checked):hover + .bk-checkbox-toggle-toggle {
166
+
167
+ --bk-tw-bg-opacity: 1;
168
+
169
+ background-color: rgb(var(--bk-theme-mono-500) / var(--bk-tw-bg-opacity, 1))
170
+ }
171
+ .bk .bk-checkbox-toggle input:checked:hover + .bk-checkbox-toggle-toggle {
172
+
173
+ --bk-tw-bg-opacity: 1;
174
+
175
+ background-color: rgb(var(--bk-theme-accent-700) / var(--bk-tw-bg-opacity, 1))
176
+ }
177
+ }
178
+
179
+ .bk .bk-checkbox-toggle .bk-checkbox-toggle-toggle {
180
+
181
+ position: relative;
182
+
183
+ height: 20px;
184
+
185
+ width: 36px;
186
+
187
+ flex-shrink: 0;
188
+
189
+ border-radius: 9999px;
190
+
191
+ --bk-tw-bg-opacity: 1;
192
+
193
+ background-color: rgb(var(--bk-theme-mono-400) / var(--bk-tw-bg-opacity, 1))
194
+ }
195
+
196
+ .bk .bk-checkbox-toggle .bk-checkbox-toggle-toggle::after {
197
+
198
+ position: absolute;
199
+
200
+ top: 2px;
201
+
202
+ left: 2px;
203
+
204
+ height: 16px;
205
+
206
+ width: 16px;
207
+
208
+ border-radius: 9999px;
209
+
210
+ --bk-tw-bg-opacity: 1;
211
+
212
+ background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
213
+
214
+ --bk-tw-content: '';
215
+
216
+ content: var(--bk-tw-content)
217
+ }
218
+
219
+ .bk .bk-checkbox-toggle .bk-checkbox-toggle-toggle {
220
+
221
+ margin-right: 5px;
222
+
223
+ margin-top: 0px
224
+ }
225
+
226
+ .bk .bk-checkbox-toggle .bk-checkbox-toggle-toggle:last-child {
227
+
228
+ margin-right: 0px
229
+ }
230
+ </style>
@@ -53,3 +53,93 @@ export default {
53
53
  name: "FormOverlay"
54
54
  };
55
55
  </script>
56
+
57
+ <style>
58
+ .bk.bk-form-overlay-footer {
59
+ position: sticky;
60
+ bottom: 0px;
61
+ z-index: 50;
62
+ display: flex;
63
+ gap: 20px;
64
+ border-top-width: 1px;
65
+ --bk-tw-bg-opacity: 1;
66
+ background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
67
+ padding: 20px;
68
+ }
69
+ .bk.bk-form-overlay-footer .bk-button {
70
+ width: 100%;
71
+ }
72
+
73
+ .bk-vars .bk-form-overlay-content {
74
+ position: relative;
75
+ flex: 1 1 0%;
76
+ overflow: auto;
77
+ overscroll-behavior: contain;
78
+ border-top-left-radius: 12px;
79
+ border-top-right-radius: 12px;
80
+ --bk-tw-bg-opacity: 1;
81
+ background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
82
+ }
83
+
84
+ @media (min-width: 768px) {
85
+ .bk-vars .bk-form-overlay-content {
86
+ border-top-left-radius: 0px;
87
+ border-top-right-radius: 0px;
88
+ }
89
+ }
90
+
91
+ .bk-vars .bk-form-overlay-content {
92
+ container-type: inline-size;
93
+ }
94
+
95
+ .bk-vars.bk-form-overlay {
96
+ pointer-events: none;
97
+ position: absolute;
98
+ left: 0px;
99
+ top: 0px;
100
+ z-index: calc(var(--bk-z-index-base) + 350000) /* "form-overlay" */;
101
+ height: 100%;
102
+ width: 100%;
103
+ }
104
+
105
+ .bk-vars.bk-form-overlay .bk-form-overlay-resizable {
106
+ pointer-events: auto;
107
+ margin-left: auto;
108
+ height: 100%;
109
+ --bk-tw-bg-opacity: 1;
110
+ background-color: rgb(var(--bk-theme-mono-950) / var(--bk-tw-bg-opacity, 1));
111
+ --bk-tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
112
+ --bk-tw-shadow-colored: 0 25px 50px -12px var(--bk-tw-shadow-color);
113
+ box-shadow: var(--bk-tw-ring-offset-shadow, 0 0 #0000), var(--bk-tw-ring-shadow, 0 0 #0000), var(--bk-tw-shadow);
114
+ }
115
+
116
+ .bk-vars.bk-form-overlay .bk-resizable-inner {
117
+ display: flex;
118
+ height: 100%;
119
+ flex-direction: column;
120
+ }
121
+
122
+ .bk-vars.bk-form-overlay .bk.bk-overlay-header {
123
+ z-index: calc(var(--bk-z-index-base) + 360000) /* "form-overlay-header" */;
124
+ }
125
+
126
+ @media (min-width: 768px) {
127
+
128
+ .bk-vars.bk-form-overlay .bk.bk-overlay-header {
129
+ height: 50px;
130
+ --bk-tw-bg-opacity: 1;
131
+ background-color: rgb(var(--bk-theme-mono-900) / var(--bk-tw-bg-opacity, 1));
132
+ padding-left: 15px;
133
+ }
134
+
135
+ .bk-vars.bk-form-overlay .bk.bk-overlay-header > button {
136
+ aspect-ratio: 1 / 1;
137
+ height: 100%;
138
+ }
139
+
140
+ .bk-vars.bk-form-overlay .bk.bk-overlay-header > button:hover {
141
+ --bk-tw-bg-opacity: 1;
142
+ background-color: rgb(var(--bk-theme-mono-800) / var(--bk-tw-bg-opacity, 1));
143
+ }
144
+ }
145
+ </style>
@@ -33,3 +33,9 @@ export default {
33
33
  name: "Icon"
34
34
  };
35
35
  </script>
36
+
37
+ <style>
38
+ .bk-icon svg {
39
+ fill: currentColor
40
+ }
41
+ </style>
@@ -131,3 +131,164 @@ watch(selection.uuids, function() {
131
131
  highlighted.value = null;
132
132
  });
133
133
  </script>
134
+
135
+ <style>
136
+ .bk.bk-indicators {
137
+
138
+ pointer-events: none;
139
+
140
+ position: absolute;
141
+
142
+ top: 0px;
143
+
144
+ left: 0px;
145
+
146
+ z-index: calc(var(--bk-z-index-base) + 50000) /* "interaction-overlay" */;
147
+
148
+ transform-origin: top left
149
+ }
150
+
151
+ .bk.bk-indicators #bk-indicators-left {
152
+
153
+ position: absolute;
154
+
155
+ right: 100%;
156
+
157
+ top: 0px;
158
+
159
+ height: 100%;
160
+
161
+ white-space: nowrap
162
+ }
163
+
164
+ .bk.bk-indicators #bk-indicators-left .bk-indicator-item {
165
+
166
+ right: 0px;
167
+
168
+ padding-right: 10px
169
+ }
170
+
171
+ .bk.bk-indicators .bk-indicator-item {
172
+
173
+ pointer-events: auto;
174
+
175
+ position: absolute;
176
+
177
+ top: 0px;
178
+
179
+ display: flex;
180
+
181
+ height: 30px;
182
+
183
+ cursor: pointer;
184
+
185
+ align-items: center;
186
+
187
+ --bk-tw-text-opacity: 1;
188
+
189
+ color: rgb(var(--bk-theme-mono-500) / var(--bk-tw-text-opacity, 1))
190
+ }
191
+
192
+ .bk.bk-indicators .bk-indicator-item .bk-icon {
193
+
194
+ width: 20px;
195
+
196
+ height: 20px;
197
+
198
+ border-radius: 9999px;
199
+
200
+ --bk-tw-bg-opacity: 1;
201
+
202
+ background-color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-bg-opacity, 1));
203
+
204
+ padding: 2px;
205
+
206
+ --bk-tw-text-opacity: 1;
207
+
208
+ color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1))
209
+ }
210
+
211
+ .bk.bk-indicators .bk-indicator-item .bk-icon svg {
212
+
213
+ fill: white
214
+ }
215
+
216
+ .bk.bk-indicators .bk-indicator-item:hover {
217
+
218
+ --bk-tw-text-opacity: 1;
219
+
220
+ color: rgb(var(--bk-theme-mono-950) / var(--bk-tw-text-opacity, 1))
221
+ }
222
+
223
+ .bk.bk-indicators .bk-indicator-item:hover .bk-icon {
224
+
225
+ --bk-tw-bg-opacity: 1;
226
+
227
+ background-color: rgb(var(--bk-theme-red-dark) / var(--bk-tw-bg-opacity, 1))
228
+ }
229
+
230
+ .bk.bk-indicators .bk-indicator-item-inner {
231
+
232
+ display: flex;
233
+
234
+ align-items: center;
235
+
236
+ gap: 5px;
237
+
238
+ font-size: 12px;
239
+
240
+ line-height: 16px;
241
+
242
+ font-weight: 500
243
+ }
244
+
245
+ .bk.bk-indicators .bk-indicators-hovered {
246
+
247
+ position: absolute;
248
+
249
+ top: 0px;
250
+
251
+ left: 0px;
252
+
253
+ border-radius: 4px;
254
+
255
+ border-width: 3px;
256
+
257
+ --bk-tw-border-opacity: 1;
258
+
259
+ border-color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-border-opacity, 1));
260
+
261
+ background-color: rgb(var(--bk-theme-red-normal) / 0.3)
262
+ }
263
+
264
+ .bk.bk-indicators .bk-indicators-highlighted {
265
+
266
+ position: absolute;
267
+
268
+ top: 0px;
269
+
270
+ left: 0px;
271
+
272
+ border-radius: 4px;
273
+
274
+ border-width: 3px;
275
+
276
+ --bk-tw-border-opacity: 1;
277
+
278
+ border-color: rgb(var(--bk-theme-accent-500) / var(--bk-tw-border-opacity, 1));
279
+
280
+ outline-style: solid;
281
+
282
+ outline-color: white;
283
+
284
+ --bk-tw-ring-offset-shadow: var(--bk-tw-ring-inset) 0 0 0 var(--bk-tw-ring-offset-width) var(--bk-tw-ring-offset-color);
285
+
286
+ --bk-tw-ring-shadow: var(--bk-tw-ring-inset) 0 0 0 calc(4px + var(--bk-tw-ring-offset-width)) var(--bk-tw-ring-color);
287
+
288
+ box-shadow: var(--bk-tw-ring-offset-shadow), var(--bk-tw-ring-shadow), var(--bk-tw-shadow, 0 0 #0000);
289
+
290
+ --bk-tw-ring-opacity: 1;
291
+
292
+ --bk-tw-ring-color: rgb(var(--bk-theme-accent-300) / var(--bk-tw-ring-opacity, 1))
293
+ }
294
+ </style>
@@ -17,3 +17,68 @@ defineProps({
17
17
  color: { type: String, required: false, default: "yellow" }
18
18
  });
19
19
  </script>
20
+
21
+ <style>
22
+ .bk .bk-info-box {
23
+
24
+ border-radius: 6px;
25
+
26
+ padding: 15px;
27
+
28
+ font-weight: 500;
29
+
30
+ display: flex;
31
+
32
+ align-items: center;
33
+
34
+ gap: 10px
35
+ }
36
+
37
+ .bk .bk-info-box.bk-is-yellow {
38
+
39
+ border-width: 1px;
40
+
41
+ --bk-tw-border-opacity: 1;
42
+
43
+ border-color: rgb(var(--bk-theme-yellow-normal) / var(--bk-tw-border-opacity, 1));
44
+
45
+ --bk-tw-bg-opacity: 1;
46
+
47
+ background-color: rgb(var(--bk-theme-yellow-light) / var(--bk-tw-bg-opacity, 1));
48
+
49
+ --bk-tw-text-opacity: 1;
50
+
51
+ color: rgb(var(--bk-theme-yellow-dark) / var(--bk-tw-text-opacity, 1))
52
+ }
53
+
54
+ .bk .bk-info-box.bk-is-accent {
55
+
56
+ border-width: 1px;
57
+
58
+ --bk-tw-border-opacity: 1;
59
+
60
+ border-color: rgb(var(--bk-theme-accent-200) / var(--bk-tw-border-opacity, 1));
61
+
62
+ --bk-tw-bg-opacity: 1;
63
+
64
+ background-color: rgb(var(--bk-theme-accent-50) / var(--bk-tw-bg-opacity, 1));
65
+
66
+ --bk-tw-text-opacity: 1;
67
+
68
+ color: rgb(var(--bk-theme-accent-800) / var(--bk-tw-text-opacity, 1))
69
+ }
70
+
71
+ .bk .bk-info-box .bk-icon {
72
+
73
+ width: 30px;
74
+
75
+ height: 30px;
76
+
77
+ flex-shrink: 0
78
+ }
79
+
80
+ .bk .bk-info-box .bk-icon svg {
81
+
82
+ fill: currentColor
83
+ }
84
+ </style>
@@ -40,3 +40,122 @@ onBlokkliEvent("keyPressed", (e) => {
40
40
  }
41
41
  });
42
42
  </script>
43
+
44
+ <style>
45
+ .bk.bk-konami {
46
+ --bg: #859018;
47
+ position: fixed;
48
+ top: 0px;
49
+ left: 0px;
50
+ z-index: 9999999999999;
51
+ width: 100%;
52
+ height: 100%;
53
+ display: flex;
54
+ flex-direction: column;
55
+ align-items: center;
56
+ justify-content: center;
57
+ gap: 5px;
58
+ }
59
+
60
+ .bk.bk-konami .bk-konami-game {
61
+ position: relative;
62
+ padding: 60px;
63
+ --bk-tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
64
+ --bk-tw-shadow-colored: 0 25px 50px -12px var(--bk-tw-shadow-color);
65
+ box-shadow: var(--bk-tw-ring-offset-shadow, 0 0 #0000), var(--bk-tw-ring-shadow, 0 0 #0000), var(--bk-tw-shadow);
66
+ outline-style: solid;
67
+ outline-width: 5px;
68
+ outline-color: rgb(var(--bk-theme-mono-900) / 1);
69
+ overflow: hidden;
70
+ border-radius: 2vw;
71
+ background: var(--bg);
72
+ }
73
+
74
+ .bk.bk-konami .bk-konami-game:before {
75
+ content: '';
76
+ position: absolute;
77
+ inset: 0px;
78
+ z-index: 999;
79
+ box-shadow: inset 0 0 50px 0 rgba(0, 0, 0, 0.4);
80
+ }
81
+
82
+ .bk.bk-konami .bk-konami-game canvas {
83
+ display: block;
84
+ }
85
+
86
+ .bk.bk-konami .bk-konami-game canvas.bk-is-pixel-grid {
87
+ position: absolute;
88
+ top: 0px;
89
+ left: 0px;
90
+ z-index: 50;
91
+ image-rendering: pixelated;
92
+ }
93
+
94
+ .bk.bk-konami .bk-konami-game canvas.bk-is-display {
95
+ image-rendering: pixelated;
96
+ }
97
+
98
+ .bk.bk-konami .bk-konami-game-canvas {
99
+ position: relative;
100
+ outline: 1px solid rgba(0, 0, 0, 0.3);
101
+ }
102
+
103
+ .bk.bk-konami .bk-konami-game-block-icon {
104
+ pointer-events: none;
105
+ position: absolute;
106
+ top: 0px;
107
+ left: 0px;
108
+ display: flex;
109
+ align-items: center;
110
+ justify-content: center;
111
+ transition: all 0.1s ease;
112
+ background: rgba(0, 0, 0, 0.6);
113
+ }
114
+
115
+ .bk.bk-konami .bk-konami-game-block-icon svg {
116
+ width: 60%;
117
+ height: 60%;
118
+ fill: currentColor;
119
+ --bk-tw-text-opacity: 1;
120
+ color: rgb(var(--bk-theme-lime-normal) / var(--bk-tw-text-opacity, 1));
121
+ }
122
+
123
+ .bk.bk-konami .bk-konami-score {
124
+ text-align: center;
125
+ font-size: 24px;
126
+ line-height: 32px;
127
+ color: #0f0;
128
+ font-family: 'Courier New', monospace;
129
+ text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
130
+ }
131
+
132
+ .bk.bk-konami .bk-konami-game-over {
133
+ margin-top: 5px;
134
+ text-align: center;
135
+ font-size: 30px;
136
+ line-height: 36px;
137
+ color: #f00;
138
+ font-family: 'Courier New', monospace;
139
+ text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
140
+ }
141
+
142
+ .bk.bk-konami .bk-konami-instructions {
143
+ text-align: center;
144
+ font-size: 14px;
145
+ line-height: 20px;
146
+ opacity: 0.7;
147
+ color: #0f0;
148
+ font-family: 'Courier New', monospace;
149
+ }
150
+
151
+ .bk.bk-konami .bk-konami-debug-canvas {
152
+ position: absolute;
153
+ top: 0px;
154
+ left: 0px;
155
+ z-index: 50;
156
+ }
157
+
158
+ .bk.bk-konami .bk-konami-debug-canvas canvas {
159
+ image-rendering: pixelated;
160
+ }
161
+ </style>
@@ -1,9 +1,12 @@
1
1
  declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
3
  declare const __VLS_export: import("vue").DefineComponent<{
4
+ theme?: "white" | "light" | "dark";
4
5
  screen?: boolean;
5
- white?: boolean;
6
6
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
7
+ theme?: "white" | "light" | "dark";
7
8
  screen?: boolean;
8
- white?: boolean;
9
- }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ }> & Readonly<{}>, {
10
+ theme: "white" | "light" | "dark";
11
+ screen: boolean;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,17 +1,22 @@
1
1
  <template>
2
2
  <div
3
- class="bk bk-loading-overlay"
4
- :class="{ 'bk-is-screen': screen, 'bk-is-white': white }"
3
+ class="bk _bk_absolute _bk_top-0 _bk_left-0 _bk_size-full _bk_z-init-overlay _bk_flex _bk_items-center _bk_justify-center"
4
+ :class="{
5
+ '_bk_!fixed _bk_!size-screen _bk_bg-mono-100': screen,
6
+ '_bk_bg-mono-100/90 _bk_text-mono-500': theme === 'light',
7
+ '_bk_bg-white/90 _bk_text-mono-500': theme === 'white',
8
+ '_bk_bg-mono-900/90 _bk_text-mono-200': theme === 'dark'
9
+ }"
5
10
  >
6
- <Icon name="spinner" />
11
+ <Icon name="spinner" class="_bk_size-100 _bk_animate-spin" />
7
12
  </div>
8
13
  </template>
9
14
 
10
15
  <script setup>
11
16
  import { Icon } from "#blokkli/editor/components";
12
17
  defineProps({
13
- screen: { type: Boolean, required: false },
14
- white: { type: Boolean, required: false }
18
+ theme: { type: String, required: false, default: "light" },
19
+ screen: { type: Boolean, required: false, default: false }
15
20
  });
16
21
  </script>
17
22