* wip clipboard context + tests
* clean up property action module + register copy action
* split manifests
* add clipboard module
* import type
* export type
* mark all methods async
* scaffold copy + paste property actions
* scaffold workspace, collection, repo + data sources
* remove references to language
* register detail manifests
* call repo when creating
* load clipboard collection data
* remove debugger
* register clipboard item picker modal
* return value from picker
* accept native error
* clean up data source
* add tests for error states
* make clipboard local storage manager
* add clip entry entity type
* create unique in scaffold
* add clipboard entry item data
* align naming
* move around
* name alignment
* fix imports
* fix missing entityType
* clean up
* use picker input context
* remove unused context
* Update clipboard.context.ts
* map to item model
* poc paste property action
* register copy/paste as kinds
* lint fix
* add tests
* rename test
* add repository tests
* register delete clipboard action + enable action dropdown outside of context menu
* remove notifcation
* export entity type
* temp use repo instead of context
* delete unused copy property action
* make data source non breaking
* Update vite.config.ts
* add icons for clipboard copy, paste + entry
* remove unused
* return if there is no property value
* add kind interfaces
* pass entry type for copy and paste
* register clipboard for block list
* implement filter on entry type
* delete unused context
* remove references
* rename data to value and don't force an array
* make icons and single value
* allow to add create and update dates for clipboard entries
* use clipboard icon
* add create and update dates
* export constants
* don't set as an array
* reload picker content
* add copy to clipboard button to block list entry
* make picker element
* allow to pick multiple
* remove generic block list clipboard actions
* Revert "remove generic block list clipboard actions"
This reverts commit 6ea65a02ce6315a781b80d0ccf0da288df602a7d.
* add get methods
* wip construct block clipboard entry value
* add method to get exposes + add jsdocs
* add expose
* remove todo + add jsdocs
* move clipboard out of core package
* add package files
* load package again
* render entry icon
* render correct icon
* remove clipboard from core vite.config
* Update package-lock.json
* wip copy/paste resolvers
* allow multiple accepted entry types
* move logic to resolvers
* transforming clipboard block value to fit block list
* wip copy/paste resolvers
* clean up
* remove unused
* fix missing exports
* fix tests
* return clipboard entry unique from modal
* Update block-list-entries.context.ts
* clipboard feature: clipboard property value cloner (#17824)
* restructure of property package
* content data merge controller tests
* deprecate meta from propertyValueResolver
* temp work
* temp
* poc
* rename to cloner
* stached block value cloner work
* block list implementation
* correct property value implementation
* RTE Block Property Value Cloner
* Block Grid Value Cloner
* update with comments
* try out cloner
* wip translators
* Revert "delete unused context"
This reverts commit ec31ae55aaa9e958b64c44019398e9af7cd61df4.
* move translator + cloner logic to context
* clean up
* implement read from clipboard in block list property editor
* remove debugger
* values array
* handle paste
* Update types.ts
* move files
* Update clipboard-local-storage.manager.ts
* set both create and update date when creating a clipboard entry
* align naming
* handle paste
* clean up + wip block grid translators
* updates types
* add grid block copy translator
* only allow paste translator to handle a single value
* align copy and paste translators
* remove debugger
* move to folders
* add block const
* rename
* add tests
* Update index.ts
* use correct type
* add tests for UmbBlockListToBlockClipboardCopyTranslator
* fix tests
* add translator tests
* add tests
* organize
* organize
* clean up translator tests
* align naming
* remove unused button
* only render copy property action if property has a value
* use constants
* copy single grid block
* get block grid property value from clipboard entry
* add clear method to extension registry + add js docs
* Update index.ts
* add tests for copy value resolver
* add icon for clipboard
* use clipboard icon in modal
* add tests
* remove unused setting
* fix log
* only create array once
* filter for supported paste translators
* use write method instead of duplicating the code
* add condition config type
* use config type
* Update manifests.ts
* add support for multi picker
* move multiple look up logic to context
* add js docs
* add js docs
* remove unused
* remove unused
* remove unused
* implement paste translator filtering for block catalogue modal
* temp color translator
* adding a UmbPropertyValueDataPotentiallyWithEditorAlias
* simplify observer
* append user unique to local storage key
* remove temp color picker clipboard implementations
* more explicit extension type name
* more renaming
* type specifications
* fix test and missing type
* more types for test
* renaming of paste translators
* rename folder
* rename value resolvers
* correct variable name
* wip tests for clipboard context
* clean up tests correctly
* add more tests for clipboard context
* Update clipboard.context.test.ts
* use after each for clean up
* fix test that times out
* correct name
* optimize
* remove webkit
* newest first when picking
* use fingerprint local storage key to obfuscate user id
* rename method
* use const
* set content max length
* return object including the selection uniques
* show confirm dialog before pasting value
* only show confirm dialog if there is a value
* Feature: clipboard block insert (#17935)
* insert methods
* fix originData
* move logic to base class
* progress on Grid and RTE
* correct for Block Grid paste implementation
* update async across
* remove expose from block clipboard entry model
* remove expose from grid block clipboard entry
* remove todo
* wip move value expand responsibility
* wip split clipboard context
* experiment with an extendable property context
* create propertyContexts + proxy events
* rename methods
* move proxy to context + update grid copy logic
* split tests
* remove unused
* add property context extension type
* fix tests
* fix tests
* reorganize
* Update clipboard.property-context.ts
* use context
* register property context clipboard kind
* register for block grid
* remove redundant code
* rename to replace
* Revert "rename to replace"
This reverts commit eb0535edcfaa9f68d0fc4c431c93739a43c7b29c.
* rename prop
* rename label
* improve block clean-up abilities
* Update rte-base.element.ts
* make local get of clipboard context
* add asyncFilter option to the type
* add is compatible method to the interface
* support asyncFilter in picker
* add compatability check for block list
* more explicit name
* wip implementation of filter
* add compatability checks
* add temp types
* add clipboard filtering for grid and list
* lint corrections
---------
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
* feat: adds script to run madge in a CI environment
* build: adds check for circular dependencies
* build: move actions higher up
* build: only print annotation once
* build: make script not fail CI until dependencies are fixed
* feat: add two launch tasks to start a vite server and attach to an existing vite server
* build(deps-dev): install and use cross-env for vite commands
* build: add mocked launch task
* build: add prompt to check if msw should be on or off
* build: defaults
* build: rename launch task
* build: add compound to start backend and frontend at the same time
* fix: make sure we only target valid blocks
This is to say we should remove any invalid block elements to clean up the DOM. A block element is considered invalid if it does not have the `data-content-key` attribute.
* build(deps): bump tiptap from 2.10.2 to 2.10.3
this fixes a potential issue with link creations
* revert the 'leaf node specification'
---------
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
* build(deps): bump storybook from 8.3.5 to 8.4.4
* reenable public folder (with msw file) for storybook
* build(deps-dev): bump vite from 5.4.6 to 5.4.11
* build(deps-dev): bump babel and rollup
* build(deps-dev): bump typedoc from 0.26.5 to 0.26.11
* build(deps-dev): bump @hey-api/openapi-ts from 0.52.11 to 0.55.3
regenerated all models and migrated the config
* build(deps-dev): bump eslint from 9.7.0 to 9.14.0 including related deps
* build(deps-dev): bump all @types packages
* build(deps-dev): bump lucide to 0.459.0 and simple-icons to 13.16.0
regenerate icons:
- renamed `box-select` to `square-dashed`
* build(deps): bump marked from 14.1.0 to 15.0.0
* build(deps): bump monaco-editor from 0.50.0 to 0.52.0
* build(deps): bump dumpurify from 3.1.6 to 3.2.0
* build(deps): make changes based on the dompurify upgrade where types are now an inherent part of the package
* build(deps): bump diff from 5.2.0 to 7.0.0
* build(deps): bump element-internals-polyfill from 1.3.11 to 1.3.12
* build(deps): bump lit from 3.2.0 to 3.2.1
* build(deps-dev): bump globals from 15.8.0 to 15.12.0 (eslint dependency)
* build(deps-dev): bump storybook dependencies
* build(deps-dev): bump @web/dev-server deps
* build(deps-dev): bump typescript from 5.5.3 to 5.6.3
* build(deps): bump uuid from 10.0.0 to 11.0.3 thereby eliminating the @types/uuid module
* build(deps): bump tinymce-i18n from 24.7.15 to 24.11.11
* build(deps): bump all deps to latest and use backoffice global types for extension manifests
* chore: change import path
* build(deps-dev): bump rollup/plugin-commonjs to 26.0.3 for compatibility reasons
* feat: replace outdated 'webworker-loader' with manual paths to monaco's web workers since they are esmodules anyway
* build(deps-dev): bump storybook from 8.4.4 to 8.4.5
* build(deps): bump tiptap from 2.9.1 to 2.10.2
* build(deps): bump dompurify from 3.2.0 to 3.2.1
* build(deps): bump tinymce-i18n from 24.11.11 to 24.11.25
* build(deps): bump static icons
* build(deps): bump marked from 15.0.0 to 15.0.2
* build(deps-dev): bump eslint + deps
* build(deps-dev): bump vite + rollup dependencies
* build(deps-dev): bump @playwright/test from 1.48.2 to 1.49.0
* build(deps-dev): bump @hey-api/openapi-ts from 0.55.3 to 0.57.1
generated new services
* build(deps-dev): bump @types/mocha
* build(deps): bump typescript from 5.6.3 to 5.7.2