Files
Umbraco-CMS/src/Umbraco.Web.UI.Client/package.json

279 lines
15 KiB
JSON
Raw Normal View History

2022-05-17 09:22:18 +02:00
{
"name": "@umbraco-cms/backoffice",
"license": "MIT",
2025-10-30 16:14:08 +01:00
"version": "17.0.0-rc2",
"type": "module",
"exports": {
".": null,
2023-09-11 14:58:46 +02:00
"./app": "./dist-cms/apps/app/index.js",
2023-06-23 14:07:40 +02:00
"./class-api": "./dist-cms/libs/class-api/index.js",
"./context-api": "./dist-cms/libs/context-api/index.js",
"./controller-api": "./dist-cms/libs/controller-api/index.js",
"./element-api": "./dist-cms/libs/element-api/index.js",
"./context-proxy": "./dist-cms/libs/context-proxy/index.js",
2024-09-23 14:15:01 +02:00
"./embedded-media": "./dist-cms/packages/embedded-media/index.js",
"./extension-api": "./dist-cms/libs/extension-api/index.js",
"./extension-types": "./dist-cms/packages/extension-types/index.d.ts",
2023-07-25 13:50:48 +02:00
"./localization-api": "./dist-cms/libs/localization-api/index.js",
"./observable-api": "./dist-cms/libs/observable-api/index.js",
"./action": "./dist-cms/packages/core/action/index.js",
2024-04-30 14:02:58 +02:00
"./audit-log": "./dist-cms/packages/core/audit-log/index.js",
2024-02-23 14:18:05 +01:00
"./auth": "./dist-cms/packages/core/auth/index.js",
2024-09-13 11:14:33 +02:00
"./block-custom-view": "./dist-cms/packages/block/block-custom-view/index.js",
2024-02-23 14:05:32 +01:00
"./block-grid": "./dist-cms/packages/block/block-grid/index.js",
2024-02-23 14:18:05 +01:00
"./block-list": "./dist-cms/packages/block/block-list/index.js",
2024-02-23 14:05:32 +01:00
"./block-rte": "./dist-cms/packages/block/block-rte/index.js",
2024-02-23 14:18:05 +01:00
"./block-type": "./dist-cms/packages/block/block-type/index.js",
"./block": "./dist-cms/packages/block/block/index.js",
"./cache": "./dist-cms/packages/core/cache/index.js",
Feature: Clipboard (#17820) * 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>
2025-01-16 15:50:09 +01:00
"./clipboard": "./dist-cms/packages/clipboard/index.js",
"./code-editor": "./dist-cms/packages/code-editor/index.js",
"./collection": "./dist-cms/packages/core/collection/index.js",
"./components": "./dist-cms/packages/core/components/index.js",
2024-12-07 19:45:38 +01:00
"./const": "./dist-cms/packages/core/const/index.js",
"./content-picker": "./dist-cms/packages/property-editors/content-picker/index.js",
"./content-type": "./dist-cms/packages/content/content-type/index.js",
"./content": "./dist-cms/packages/content/content/index.js",
2023-09-11 15:00:09 +02:00
"./culture": "./dist-cms/packages/core/culture/index.js",
2024-02-23 13:47:14 +01:00
"./current-user": "./dist-cms/packages/user/current-user/index.js",
2024-09-30 09:21:06 +02:00
"./dashboard": "./dist-cms/packages/core/dashboard/index.js",
2024-02-23 21:42:41 +01:00
"./data-type": "./dist-cms/packages/data-type/index.js",
"./debug": "./dist-cms/packages/core/debug/index.js",
2024-02-23 13:47:14 +01:00
"./dictionary": "./dist-cms/packages/dictionary/index.js",
"./document-blueprint": "./dist-cms/packages/documents/document-blueprints/index.js",
"./document-type": "./dist-cms/packages/documents/document-types/index.js",
"./document": "./dist-cms/packages/documents/documents/index.js",
V15: New dropzone component available for the Backoffice (#18753) * create a symlink between local Client .vscode snippets and global snippets for ease of use * fix: no need to specify `Element` in the snippet as that is pulled from the filename Because of our convention with `x.element.ts` you would have ended up with `UmbXElementElement` * feat: adds new component `umb-input-dropzone` * docs(storybook): more stories * feat: construct the temporary files centrally along with an `AbortController` and use its signal * feat: makes UmbInputDropzone form aware * feat: introduces a change event * chore: temporary changes before changing upload field * feat: adds default slot * docs: adds jsdocs * feat: adds more properties * feat: adds dashed styling * feat: adds multiple support * feat: allows to cancel file * feat: separate **cancel** and **remove** * fix stylibg * move dropzone element * move input-dropzone into dropzone package * feat: introduces a 'dropzone' package * import for backward compatibility * remove ambigious export * reexport everything from dropzone * fix import * cleanup test files * use correct import paths * test: make sure folder exists before writing to it * adds export for modals * adds entrypoint for dropzone package * use the AbortController directly on the temporary file object * uses correct icon name * feat: adds ability to remove all files and cancel the request * feat: adds styling for the uploader and enables it to work in multiple mode with classes over id's * do not let the content exceed its boundaries * feat: formats progress with 2 decimals * feat: formats with 0 decimals * fix: returns cancel error * fix: maps cancel errors back to the uploadable item * fix: do not proceed with media items if the request was cancelled * chore: mark exports from media <- dropzone as deprecated * fix: use correct attribute and remove a todo with localizations * fix: use correct attribute and remove a todo with localizations * fix: allow to specify parent through attribute * feat: align attribute `disableFolderUpload` between dropzone components
2025-03-24 14:17:48 +01:00
"./dropzone": "./dist-cms/packages/media/dropzone/index.js",
"./entity-action": "./dist-cms/packages/core/entity-action/index.js",
"./entity-bulk-action": "./dist-cms/packages/core/entity-bulk-action/index.js",
2024-10-30 19:02:53 +01:00
"./entity-create-option-action": "./dist-cms/packages/core/entity-create-option-action/index.js",
Feature: Bulk Delete/Trash referenced by (#18393) * add trash confirm modal * make referenceRepo optional + adjust styling * add referenceRepository to media trash action * wip entity-item-ref extension point * clean up * add ref list element * fix styling * Update document-item-ref.element.ts * move item repo * implement for input member * enable action slot * add null check * fix sorting again * fix sorting again * use member element * add draft styling back * move item repository * implement for user input * pass readonly and standalone props * make editPath a state * Update member-item-ref.element.ts * Fix user item ref * remove open button * remove unused * remove unused * check for section permission * add null check * change to use entity-item-ref element * register media item ref * add fallback element * show 3 references * wip data mapper concept * add unique to modal route registration * add unique to modal router * remove unused id * Update member-item-ref.element.ts * append unique * compare with old value * only recreate the controller if the entity type changes * fix console warning * implement for document item ref * Added $type to ReferenceResponseModels * move logic to item data resolver * render draft as a tag * Update document-item-ref.element.ts * generate server models * add more helpers to data resolver * export resolver * add observables * use observables in document item ref * add data resolver to tree item * add observable state * use const * align models * get icon from document type object * observe name and state * update observed value when a new item is set * update method name * update method names * pass model type * pass context type * use api prop instead of context * use api prop instead of context * fix types * use addUniquePaths for modal registration * add fallback * use ref list * use reference items for media * make mapper name more generic * make default ref item always readonly * export types * temp fake variants array * add variants array to model * Update media-references-workspace-info-app.element.ts * add variants to model * hardcode fake array * register media ref item * update mock data * dot not allow conditions for data mappers * add data mapper * prefix info routes * prefix all ref routes * return undefined if there is not edit path * add types for reference data source + repository * split trash with relation into its own action * render descendants with references * fix length check * set standalone attribute * implement for media * move trash * wip delete with relation * move to element * fix name collision * require data source identifier * use management api mapper * add management api mapper * fix type errors * Update index.ts * align naming * show references when deleting a document * Update delete-with-relation-modal.element.ts * use deleteWithRelation kind for media * clean up * localize trash * fix type * Update trash-with-relation.action.ts * override confirm methods in trash and delete actions * Update index.ts * export constants * Limit referenced-by document and media endpoints to references only. * Update document-reference-table.element.ts * add methods to get bulk references for documents * wip bulk trash * add todo comment * implement path pattern for media item * clean up * more clean up * sort imports * member edit path pattern * clean up * remove unused variant id * export extension types * wip bulk trash with relation * debounce incoming events * look up items + notify * add todo * temp solution to make it non breaking * add bulk delete * better description * implement methods for are referenced * change to use bulk trash with relation * implement delete with relation kind * deprecation warnings * move files * move files * export const * use correct kind * align naming * upper case Trash * correct uui-text impl * add comment about the v2 name * fix circular depdendencies * rename const * split to module * import global components * more explicit naming --------- Co-authored-by: Sven Geusens <sge@umbraco.dk> Co-authored-by: Andy Butland <abutland73@gmail.com> Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
2025-02-24 14:03:26 +01:00
"./entity-item": "./dist-cms/packages/core/entity-item/index.js",
Backoffice: Add Entity Signs (overlay icons) to tree items. (#20328) * entity signs folder * update package.json * entity sign extension type * implement entity sign extension * POC document has collection sign * implement icon kind * rename file * note about this being wrong * move type * change import * entity sign bundle element * implement icon kind label * Display icon and show popover on hover * Fix the popover logic * Moving the sign icon to the iconContainer to handle position * fix missing document tree icon * revert removal of icon slot render * remove unused styles * document tree item - inherit styles from the base element * correctly extend styles * revert document tree item icon change * move icon container html * add method to get an icon name * Adding delay to the popover when opens * Add animation to popover when it opens * Making the parent of the entity bundle trigger popover on hover * Display 2 icons over the main icon * Updating some styles * Position one icon on top of the other and add css style variables * Changing popover-container for position-anchor * generate server types * Using css properties to display and animate the signs * Stacked icons using grid property * Use translate property to move the icons around * Added fallback styles for firefox * formatting of state properties * implement entity flags across content types * lint fixes * fix import extension mess * await both properties for this to work * transfer flags to entity sign bundle ext initializer * is-protected entity sign * Made signs infobox show downward. * Changed px to rems * Change the manifest for the actual signs we will display * add icon color, remove unused label, add weight * changes styles + animation + slotted icon inside * Overwrite pending changes when schedule is active and added green color to schedule. * adjust animation * add background for sign * avoid re-rendering when properties are being set * Bind the flags to each sign manifest. * increase signs offset * fix document tree item draft style * Removed unused exports. * Remove duplicated hover timer logic. * Added eslint disable line to keep the empty method for future implementation. * rename class * Rename interface for optional entity flags * make alias more explicit to prevent future collisions * include alias in field name to make it clear that we do not except all colors * align function names with conventions * always include flags in document items * compose tree types * set up entity-flag module and move related types * change label --------- Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com> Co-authored-by: Mads Rasmussen <madsr@hey.com>
2025-10-08 12:40:27 +02:00
"./entity-sign": "./dist-cms/packages/core/entity-sign/index.js",
"./entity-flag": "./dist-cms/packages/core/entity-flag/index.js",
"./entity": "./dist-cms/packages/core/entity/index.js",
2024-02-23 13:47:14 +01:00
"./event": "./dist-cms/packages/core/event/index.js",
"./extension-registry": "./dist-cms/packages/core/extension-registry/index.js",
2024-09-30 09:50:30 +02:00
"./health-check": "./dist-cms/packages/health-check/index.js",
2024-09-11 12:19:56 +02:00
"./help": "./dist-cms/packages/help/index.js",
Workspace view navigation context (#19255) * todos * navigation context * replace raw manifests with view context * Array State has method * rename to hint and much more * Notes for later * correcting one word * more notes * update JS Docs * update tests for getHasOne * fix context api usage * update code for v.16 * correct test * export UMB_WORKSPACE_VIEW_CONTEXT * minor corrections * rename to _hintMap * refactor part 1 * update version number in comment * clear method for array states * declare hint import map * mega refactor * final corrections for working POC * clean up path logic * implement scaffold * propagation and inheritance from view to workspace * separate types from classes * refactor to view context * rename editor navigation context to editor context * propagate removals * clean up notes * Hints for Content Tabs * use const path * handle gone parent * added comments on something to be looked at * hints context types * contentTypeMergedContainers * lint fixes * public contentTypeMergedContainers * refactor property structure helper class * a few notes for Presets * set variant ID instead of parsing it to the constructor * do not inject root to the path * adjust structure manager logic * UmbPropertyTypeContainerMergedModel type update * correct mergedContainersOfParentIdAndType * fix lint errors * fix missing import * Update src/Umbraco.Web.UI.Client/src/packages/core/hint/context/hints.controller.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/Umbraco.Web.UI.Client/src/packages/content/content/workspace/content-validation-to-hints.manager.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/Umbraco.Web.UI.Client/src/packages/content/content/workspace/content-validation-to-hints.manager.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-22 13:46:01 +02:00
"./hint": "./dist-cms/packages/core/hint/index.js",
V16: Replace `legacy/fetch` with `@hey-api/client-fetch` (#19002) * feat: adds new backend-api and http-client packages and generates the api with @hey-api/client-fetch * feat: maps generic T back to promise to avoid usage of 'any' * feat: sets up baseUrl and auth for the new client * feat: gets the api base url from server context instead of the http client * feat: gets the api base url from server context instead of the http client * feat: allows undefined token for xhr requests * feat: changes the response object to be either type T directly (to support @hey-api/client-fetch) or the given type if the response does not contain a 'data' object * revert interface * feat: creates an api return type to comply with @hey-api/client-fetch * feat: maps T back to the data model for non-api types * feat: simplify api response to return the promise you sent to it with an optional error object * feat: moves http related modules to the core package * feat: updates the required type of the client for the api interceptors * docs: removes invalid property * feat: adds request parameters to documents * feat: adds request parameters to imaging * feat: adds return type to item-server-data-source-base * feat: adds request parameters to webhooks * feat: adds request parameters to users * feat: renames all `requestBody` to `body` to conform with new client-fetch * feat: uses query to take parameters in * feat: adds data source response to tree types * feat: adds request parameters to templating * feat: adds request parameters to templating * feat: adds request parameters to telemetry * feat: adds request parameters to tags * feat: adds request parameters to examine management * feat: adds request parameters to relations * feat: adds request parameters to packages * feat: catches new api errors that are direct problem details objects * feat: adds default interceptor to handle Umb-Generated-Resource headers * feat: uses an error interceptor specifically to catch errors to avoid overhead * feat: adds request parameters to members * Revert "feat: uses an error interceptor specifically to catch errors to avoid overhead" This reverts commit 7ffb7b29bfe4ddbc51736434db78372767731dd1. * feat: adds request parameters to media * feat: adds request parameters to log viewer * feat: adds request parameters to languages * feat: adds request parameters to health check * feat: adds request parameters to oembed * feat: adds request parameters to documents * feat: adds request parameters to redirect management * feat: adds request parameters to blueprints * feat: adds request parameters to dictionary * feat: adds request parameters to data types * feat: adds request parameters to temporary file * feat: instructs delete methods to return an unknown value * feat: allows default value to be unknown * feat: adds request parameters to culture * chore: import path * feat: adds correct models to mocks * feat: adds correct models to installer and upgrader * feat: adds correct models to mocks * chore: forgot to move ignore line * chore: ignores generated files in eslint * chore: removes old generated files * feat: moves network connection status manager back into the main app to avoid imports from core * chore: update imports * feat: generate API for login screen without relying on the backoffice * feat: uses the generated models on the login screen * feat: sets 'credentials' to 'include' and adds it back to openapiconfiguration to avoid a breaking change * adds back in commands moved to a workspace * chore: vscode workspace settings formatted and useFlatConfig added for better compatibility
2025-04-14 10:21:42 +02:00
"./http-client": "./dist-cms/packages/core/http-client/index.js",
2024-02-23 14:36:23 +01:00
"./icon": "./dist-cms/packages/core/icon-registry/index.js",
"./id": "./dist-cms/packages/core/id/index.js",
2024-05-23 19:09:47 +02:00
"./imaging": "./dist-cms/packages/media/imaging/index.js",
Interaction Memory: Feature for picker modal state retention (#18305) (#20159) * set property type unique on context * set the value * observe property type unique from content picker property editor * remove unused * observe data type unique * wip picker memories * append memory option to the picker data model * split into methods * initialize memory context * rename arg * make memory module * export constants * allow nested memories * pass memory from input document to picker context * Update property-editor-ui-content-picker.element.ts * fix import * prefix with interaction * clean up * fix import * rename module * Update vite.config.ts * update module name * observe after search is initialized * use memory manager in all places * make picker modal base element * update types * add memory for document picker property editor * store tree item picker expansion state in interaction memory * Update picker-modal-base.element.ts * remove the memory if we have no expansion state * delete memory if it doesn't include anything * clear picker input memories if nothing comes from the modal * Refactor interaction memory handling in picker input Moved the passing of interaction memories from the document picker input context to the core picker input context. Renamed the method for setting memories from the modal for clarity and consistency. * only dispatch an event if the value changes * remove unused * observe to support close on escape * add comments * fix type error * fix typings * Replaces data type-based memory keys with config hash-based keys * dont store picker search in interaction memory * Rename interaction memory key in picker modal base * Remove error throw for missing interaction memory * Refactor interaction memory handling in content picker Replaces the single 'memory' property with an 'interactionMemories' array and updates event handling to support multiple interaction memories. Adjusts property types, event listeners, and child component bindings to accommodate this change. * Refactor content picker to use interaction memories Replaces the previous memory handling with a new approach using interaction memories, including unique hash generation based on config. Updates event handling and property names to align with the new interaction memory model, improving state management and consistency. * remove debugger * rename const * wip media picker memories * remove args * simplify memory model * update internal value before dispatching event * remove unused * Update property-type-based-property.element.ts * rename method * simplify types * implement location memory for media picker * temp type cast * set location memory when using the breadcrumb * remove code duplication * bubble memories from input media to input content * Update src/Umbraco.Web.UI.Client/src/packages/property-editors/content-picker/property-editor-ui-content-picker.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix import * remove unused method * Refactor content picker interaction memory management Introduced UmbPropertyEditorUiInteractionMemoryManager to encapsulate interaction memory logic for property editors. Updated the content picker property editor to use this new manager, removing duplicated memory management code and improving maintainability. * Refactor interaction memory management in pickers Replaces custom interaction memory logic in document and media picker property editors with the shared UmbPropertyEditorUiInteractionMemoryManager. Updates unique memory key prefixes for consistency and simplifies related event handling. This improves maintainability and standardizes memory management across property editors. * export context token * add js docs * remove timestamp * add tests for interaction memory manager * Added tests for the property editor ui interaction memory manager * Rename memories to memoriesForPropertyEditor Renamed the 'memories' property to 'memoriesForPropertyEditor' in the interaction memory manager and updated all references in related property editor components and tests for clarity and consistency. * Separated out `import type`s + ordering * remove interaction memory implementation in modal context * remove interactionMemories from modal interface * revert to using the umbOpenModal helper * align property and event name --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: leekelleher <leekelleher@gmail.com>
2025-09-18 19:56:31 +02:00
"./interaction-memory": "./dist-cms/packages/core/interaction-memory/index.js",
2024-02-23 13:47:14 +01:00
"./language": "./dist-cms/packages/language/index.js",
"./lit-element": "./dist-cms/packages/core/lit-element/index.js",
"./localization": "./dist-cms/packages/core/localization/index.js",
2024-02-23 13:47:14 +01:00
"./log-viewer": "./dist-cms/packages/log-viewer/index.js",
"./management-api": "./dist-cms/packages/management-api/index.js",
2024-03-04 11:50:51 +01:00
"./markdown-editor": "./dist-cms/packages/markdown-editor/index.js",
2024-02-23 13:47:14 +01:00
"./media-type": "./dist-cms/packages/media/media-types/index.js",
"./media": "./dist-cms/packages/media/media/index.js",
"./member-group": "./dist-cms/packages/members/member-group/index.js",
"./member-public-access": "./dist-cms/packages/members/member-public-access/index.js",
2024-02-23 13:47:14 +01:00
"./member-type": "./dist-cms/packages/members/member-type/index.js",
"./member": "./dist-cms/packages/members/member/index.js",
"./menu": "./dist-cms/packages/core/menu/index.js",
"./modal": "./dist-cms/packages/core/modal/index.js",
2024-02-23 14:36:23 +01:00
"./models": "./dist-cms/packages/core/models/index.js",
Property Editor Data Source (#20375) * Add property editor data source extension types Introduces types and extension interfaces for property editor data sources, including manifest and API definitions. Updates the main property-editor types export to include the new data source types. * add test data sources * wip collection and item repos * export consts * fix picker modal token * make global components file * render picker in data type * wire up repositories * append editor data source alias to data type detail model * fix global manifest declaration * make optional * fix types * register collection item picker modal element + wip collection menu extension * register collection menu for property editor data source * wire up modal tokens * fix circular * register as global element * register default kind for collection menu * wip fleshing out collection menu * pass props + listen for selection events * fix imports * accept icon in manifest * extend base type * use correct data to calculate length * export types * add load more button * wire up load more * remove debugger * add search for property editor data sources * only select one data source * rename file * add entity type * add manifest for search result item * fix imports/exports * fix manifest imports * wire up data source value with workspace * remove debugger * wip property editor + input * move data-source files * more specific extension types * remove copy from file name * allow settings in manifests * export types * merge settings * fix ui alias * remerge if data source is removed * Update data-type-details-workspace-view.element.ts * reset data * Update data-type-workspace.context.ts * update merging + move mapping to data source * Fix mutation of data.values in data type detail mapping Refactored #mapServerResponseModelToEntityDetailModel to avoid mutating the original data.values array when removing the editorDataSourceAlias. This ensures the original server response remains unchanged and improves data integrity. * add forDataSourceTypes to manifest * update interfaces * test data source implementations * only show data source select if property editor supports it * remove custom context * remove unused token * use generic collection item picker modal * remove custom modal * export types * render data source alias on data type into view * pass data source alias * allow data source alias * allow data source alias * pass data source alias * add prop for data source alias * Add property editor data source alias support * Add editor data source alias to property context Introduces support for storing and retrieving the editor data source alias in UmbPropertyContext. Updates UmbPropertyElement to use the context for managing the data source alias and ensures the alias is set on the property editor element. * pass data source alias to input * pass data source alias to context * update js docs * split types from token file * fix import * update error message * add more test sources * Refactor repository manager initialization logic Changed the initialization flow in UmbRepositoryItemsManager to support optional repository alias and deferred repository setup. Added setItemRepository and getItemRepository methods for explicit repository management, and moved repository initialization logic to a dedicated private method. * remove support for passing a filter * wip wire up input with modal * add constant * test user data source * add todo * require entityType on webhook items * add entityType * use id as unique * add default icon * wire up search * add search to media * pass config * support configuration in data sources + temp test cases * remove temp text * change to one generic extension type with a data type sub type * search in label * pass filter args to collection item picker * clean up * aligning interfaces * iterate status instead of item * simplify examples * add types for config * move to examples * add custom data examples for collection and tree * update imports * add manifests for collection and tree custom data examples * add type guards * add type guards * Update types.ts * add return type * remove debuggers * make observables optional * add null checks for observables * use statuses * extend picker input context * map config * use data to set value when there is no observable * store as string array * Add getDefaultApiConstructor to tree item element * make it optional * fix search types * add fallback icon and name * remove unused imports * pass stored value to input * rename file * remove unused config value * make api observable * add search to custom collection example * render fallback item * fix import order * add fallback render to tree item element * Update tree-item.element.ts * Revert "Update tree-item.element.ts" This reverts commit 3458877de91359f8b7a242a7936ae2bd7641ae1f. * Revert "add fallback render to tree item element" This reverts commit b30219d3ed66c6b0f8a6ca010adcc137fffcd00c. * move from data type to property editor * align file names * introduce picker-property-editor module * remove custom types * use basic types * use tree item type * Update input-entity-data.context.ts * update types * add interface for item model * force unique on collection item model * require an item model in picker context * allow icon to be null * extend item model from user group item model * add entity type to mapped data * Update user-group-item.server.data-source.ts * align static file models * correct types for user picker * extend item model * fix types * more type fixing * align models * align models * fix types * add utils for fallback name and icon * add todo * use fallback name and icon functions * Update default-picker-search-result-item.element.ts * add fallback tree item if none is registered * add search to example * extract data source config and pass to api * align naming * temp type cast * move search module into core * fix illegal imports * add missing const exports * make property-editor-data-source module * register property editor data source ref item + render description * remove console log * remove indention * simplify data source type * Update src/Umbraco.Web.UI.Client/src/packages/property-editors/entity-data-picker/input/input-entity-data.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/Umbraco.Web.UI.Client/src/packages/core/property-editor-data-source/input/input-property-editor-data-source.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/Umbraco.Web.UI.Client/src/packages/core/collection/menu/default/default-collection-menu.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * add todo * hide add button when readonly * check correct amount config * Update input-entity-data.element.ts --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-10 11:46:48 +02:00
"./search": "./dist-cms/packages/core/search/index.js",
2024-07-09 10:31:21 +02:00
"./multi-url-picker": "./dist-cms/packages/multi-url-picker/index.js",
"./notification": "./dist-cms/packages/core/notification/index.js",
2024-08-12 09:38:39 +02:00
"./object-type": "./dist-cms/packages/core/object-type/index.js",
2024-02-23 13:47:14 +01:00
"./package": "./dist-cms/packages/packages/package/index.js",
"./partial-view": "./dist-cms/packages/templating/partial-views/index.js",
"./picker-input": "./dist-cms/packages/core/picker-input/index.js",
Property Editor Data Source (#20375) * Add property editor data source extension types Introduces types and extension interfaces for property editor data sources, including manifest and API definitions. Updates the main property-editor types export to include the new data source types. * add test data sources * wip collection and item repos * export consts * fix picker modal token * make global components file * render picker in data type * wire up repositories * append editor data source alias to data type detail model * fix global manifest declaration * make optional * fix types * register collection item picker modal element + wip collection menu extension * register collection menu for property editor data source * wire up modal tokens * fix circular * register as global element * register default kind for collection menu * wip fleshing out collection menu * pass props + listen for selection events * fix imports * accept icon in manifest * extend base type * use correct data to calculate length * export types * add load more button * wire up load more * remove debugger * add search for property editor data sources * only select one data source * rename file * add entity type * add manifest for search result item * fix imports/exports * fix manifest imports * wire up data source value with workspace * remove debugger * wip property editor + input * move data-source files * more specific extension types * remove copy from file name * allow settings in manifests * export types * merge settings * fix ui alias * remerge if data source is removed * Update data-type-details-workspace-view.element.ts * reset data * Update data-type-workspace.context.ts * update merging + move mapping to data source * Fix mutation of data.values in data type detail mapping Refactored #mapServerResponseModelToEntityDetailModel to avoid mutating the original data.values array when removing the editorDataSourceAlias. This ensures the original server response remains unchanged and improves data integrity. * add forDataSourceTypes to manifest * update interfaces * test data source implementations * only show data source select if property editor supports it * remove custom context * remove unused token * use generic collection item picker modal * remove custom modal * export types * render data source alias on data type into view * pass data source alias * allow data source alias * allow data source alias * pass data source alias * add prop for data source alias * Add property editor data source alias support * Add editor data source alias to property context Introduces support for storing and retrieving the editor data source alias in UmbPropertyContext. Updates UmbPropertyElement to use the context for managing the data source alias and ensures the alias is set on the property editor element. * pass data source alias to input * pass data source alias to context * update js docs * split types from token file * fix import * update error message * add more test sources * Refactor repository manager initialization logic Changed the initialization flow in UmbRepositoryItemsManager to support optional repository alias and deferred repository setup. Added setItemRepository and getItemRepository methods for explicit repository management, and moved repository initialization logic to a dedicated private method. * remove support for passing a filter * wip wire up input with modal * add constant * test user data source * add todo * require entityType on webhook items * add entityType * use id as unique * add default icon * wire up search * add search to media * pass config * support configuration in data sources + temp test cases * remove temp text * change to one generic extension type with a data type sub type * search in label * pass filter args to collection item picker * clean up * aligning interfaces * iterate status instead of item * simplify examples * add types for config * move to examples * add custom data examples for collection and tree * update imports * add manifests for collection and tree custom data examples * add type guards * add type guards * Update types.ts * add return type * remove debuggers * make observables optional * add null checks for observables * use statuses * extend picker input context * map config * use data to set value when there is no observable * store as string array * Add getDefaultApiConstructor to tree item element * make it optional * fix search types * add fallback icon and name * remove unused imports * pass stored value to input * rename file * remove unused config value * make api observable * add search to custom collection example * render fallback item * fix import order * add fallback render to tree item element * Update tree-item.element.ts * Revert "Update tree-item.element.ts" This reverts commit 3458877de91359f8b7a242a7936ae2bd7641ae1f. * Revert "add fallback render to tree item element" This reverts commit b30219d3ed66c6b0f8a6ca010adcc137fffcd00c. * move from data type to property editor * align file names * introduce picker-property-editor module * remove custom types * use basic types * use tree item type * Update input-entity-data.context.ts * update types * add interface for item model * force unique on collection item model * require an item model in picker context * allow icon to be null * extend item model from user group item model * add entity type to mapped data * Update user-group-item.server.data-source.ts * align static file models * correct types for user picker * extend item model * fix types * more type fixing * align models * align models * fix types * add utils for fallback name and icon * add todo * use fallback name and icon functions * Update default-picker-search-result-item.element.ts * add fallback tree item if none is registered * add search to example * extract data source config and pass to api * align naming * temp type cast * move search module into core * fix illegal imports * add missing const exports * make property-editor-data-source module * register property editor data source ref item + render description * remove console log * remove indention * simplify data source type * Update src/Umbraco.Web.UI.Client/src/packages/property-editors/entity-data-picker/input/input-entity-data.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/Umbraco.Web.UI.Client/src/packages/core/property-editor-data-source/input/input-property-editor-data-source.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/Umbraco.Web.UI.Client/src/packages/core/collection/menu/default/default-collection-menu.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * add todo * hide add button when readonly * check correct amount config * Update input-entity-data.element.ts --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-10 11:46:48 +02:00
"./picker-data-source": "./dist-cms/packages/core/picker-data-source/index.js",
2024-10-01 13:19:32 +02:00
"./picker": "./dist-cms/packages/core/picker/index.js",
2023-06-29 14:38:48 +02:00
"./property-action": "./dist-cms/packages/core/property-action/index.js",
Property Editor Data Source (#20375) * Add property editor data source extension types Introduces types and extension interfaces for property editor data sources, including manifest and API definitions. Updates the main property-editor types export to include the new data source types. * add test data sources * wip collection and item repos * export consts * fix picker modal token * make global components file * render picker in data type * wire up repositories * append editor data source alias to data type detail model * fix global manifest declaration * make optional * fix types * register collection item picker modal element + wip collection menu extension * register collection menu for property editor data source * wire up modal tokens * fix circular * register as global element * register default kind for collection menu * wip fleshing out collection menu * pass props + listen for selection events * fix imports * accept icon in manifest * extend base type * use correct data to calculate length * export types * add load more button * wire up load more * remove debugger * add search for property editor data sources * only select one data source * rename file * add entity type * add manifest for search result item * fix imports/exports * fix manifest imports * wire up data source value with workspace * remove debugger * wip property editor + input * move data-source files * more specific extension types * remove copy from file name * allow settings in manifests * export types * merge settings * fix ui alias * remerge if data source is removed * Update data-type-details-workspace-view.element.ts * reset data * Update data-type-workspace.context.ts * update merging + move mapping to data source * Fix mutation of data.values in data type detail mapping Refactored #mapServerResponseModelToEntityDetailModel to avoid mutating the original data.values array when removing the editorDataSourceAlias. This ensures the original server response remains unchanged and improves data integrity. * add forDataSourceTypes to manifest * update interfaces * test data source implementations * only show data source select if property editor supports it * remove custom context * remove unused token * use generic collection item picker modal * remove custom modal * export types * render data source alias on data type into view * pass data source alias * allow data source alias * allow data source alias * pass data source alias * add prop for data source alias * Add property editor data source alias support * Add editor data source alias to property context Introduces support for storing and retrieving the editor data source alias in UmbPropertyContext. Updates UmbPropertyElement to use the context for managing the data source alias and ensures the alias is set on the property editor element. * pass data source alias to input * pass data source alias to context * update js docs * split types from token file * fix import * update error message * add more test sources * Refactor repository manager initialization logic Changed the initialization flow in UmbRepositoryItemsManager to support optional repository alias and deferred repository setup. Added setItemRepository and getItemRepository methods for explicit repository management, and moved repository initialization logic to a dedicated private method. * remove support for passing a filter * wip wire up input with modal * add constant * test user data source * add todo * require entityType on webhook items * add entityType * use id as unique * add default icon * wire up search * add search to media * pass config * support configuration in data sources + temp test cases * remove temp text * change to one generic extension type with a data type sub type * search in label * pass filter args to collection item picker * clean up * aligning interfaces * iterate status instead of item * simplify examples * add types for config * move to examples * add custom data examples for collection and tree * update imports * add manifests for collection and tree custom data examples * add type guards * add type guards * Update types.ts * add return type * remove debuggers * make observables optional * add null checks for observables * use statuses * extend picker input context * map config * use data to set value when there is no observable * store as string array * Add getDefaultApiConstructor to tree item element * make it optional * fix search types * add fallback icon and name * remove unused imports * pass stored value to input * rename file * remove unused config value * make api observable * add search to custom collection example * render fallback item * fix import order * add fallback render to tree item element * Update tree-item.element.ts * Revert "Update tree-item.element.ts" This reverts commit 3458877de91359f8b7a242a7936ae2bd7641ae1f. * Revert "add fallback render to tree item element" This reverts commit b30219d3ed66c6b0f8a6ca010adcc137fffcd00c. * move from data type to property editor * align file names * introduce picker-property-editor module * remove custom types * use basic types * use tree item type * Update input-entity-data.context.ts * update types * add interface for item model * force unique on collection item model * require an item model in picker context * allow icon to be null * extend item model from user group item model * add entity type to mapped data * Update user-group-item.server.data-source.ts * align static file models * correct types for user picker * extend item model * fix types * more type fixing * align models * align models * fix types * add utils for fallback name and icon * add todo * use fallback name and icon functions * Update default-picker-search-result-item.element.ts * add fallback tree item if none is registered * add search to example * extract data source config and pass to api * align naming * temp type cast * move search module into core * fix illegal imports * add missing const exports * make property-editor-data-source module * register property editor data source ref item + render description * remove console log * remove indention * simplify data source type * Update src/Umbraco.Web.UI.Client/src/packages/property-editors/entity-data-picker/input/input-entity-data.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/Umbraco.Web.UI.Client/src/packages/core/property-editor-data-source/input/input-property-editor-data-source.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/Umbraco.Web.UI.Client/src/packages/core/collection/menu/default/default-collection-menu.element.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * add todo * hide add button when readonly * check correct amount config * Update input-entity-data.element.ts --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-10 11:46:48 +02:00
"./property-editor-data-source": "./dist-cms/packages/core/property-editor-data-source/index.js",
2023-06-27 12:41:56 +02:00
"./property-editor": "./dist-cms/packages/core/property-editor/index.js",
"./property-type": "./dist-cms/packages/content/property-type/index.js",
2024-02-23 13:47:14 +01:00
"./property": "./dist-cms/packages/core/property/index.js",
2024-04-03 08:53:39 +02:00
"./recycle-bin": "./dist-cms/packages/core/recycle-bin/index.js",
2024-01-04 16:49:57 +13:00
"./relation-type": "./dist-cms/packages/relations/relation-types/index.js",
"./relations": "./dist-cms/packages/relations/relations/index.js",
2024-02-23 13:47:14 +01:00
"./repository": "./dist-cms/packages/core/repository/index.js",
2024-02-23 14:37:41 +01:00
"./resources": "./dist-cms/packages/core/resources/index.js",
2024-02-23 14:36:23 +01:00
"./router": "./dist-cms/packages/core/router/index.js",
2024-10-01 13:19:32 +02:00
"./rte": "./dist-cms/packages/rte/index.js",
2024-06-05 12:16:36 +02:00
"./script": "./dist-cms/packages/templating/scripts/index.js",
2024-02-23 13:47:14 +01:00
"./section": "./dist-cms/packages/core/section/index.js",
2025-03-25 21:48:51 +01:00
"./segment": "./dist-cms/packages/segment/index.js",
2024-02-23 13:47:14 +01:00
"./server-file-system": "./dist-cms/packages/core/server-file-system/index.js",
"./server": "./dist-cms/packages/core/server/index.js",
2024-07-04 11:12:22 +02:00
"./settings": "./dist-cms/packages/settings/index.js",
"./shortcut": "./dist-cms/packages/core/shortcut/index.js",
2024-02-23 13:47:14 +01:00
"./sorter": "./dist-cms/packages/core/sorter/index.js",
2023-12-13 14:16:43 +01:00
"./static-file": "./dist-cms/packages/static-file/index.js",
2024-02-23 13:47:14 +01:00
"./store": "./dist-cms/packages/core/store/index.js",
2024-02-23 14:36:23 +01:00
"./style": "./dist-cms/packages/core/style/index.js",
"./stylesheet": "./dist-cms/packages/templating/stylesheets/index.js",
2024-09-09 17:52:00 +02:00
"./sysinfo": "./dist-cms/packages/sysinfo/index.js",
2024-02-23 13:47:14 +01:00
"./tags": "./dist-cms/packages/tags/index.js",
"./template": "./dist-cms/packages/templating/templates/index.js",
2024-02-23 13:47:14 +01:00
"./temporary-file": "./dist-cms/packages/core/temporary-file/index.js",
"./themes": "./dist-cms/packages/core/themes/index.js",
2024-10-01 13:19:32 +02:00
"./tiptap": "./dist-cms/packages/tiptap/index.js",
"./translation": "./dist-cms/packages/translation/index.js",
2024-02-23 13:47:14 +01:00
"./tree": "./dist-cms/packages/core/tree/index.js",
2024-05-23 09:12:38 +01:00
"./ufm": "./dist-cms/packages/ufm/index.js",
2024-09-23 19:55:49 +02:00
"./user-change-password": "./dist-cms/packages/user/change-password/index.js",
2023-10-10 09:27:44 +02:00
"./user-group": "./dist-cms/packages/user/user-group/index.js",
"./user-permission": "./dist-cms/packages/user/user-permission/index.js",
2024-02-23 13:47:14 +01:00
"./user": "./dist-cms/packages/user/user/index.js",
"./utils": "./dist-cms/packages/core/utils/index.js",
2024-03-21 20:30:02 +01:00
"./validation": "./dist-cms/packages/core/validation/index.js",
2024-02-23 13:47:14 +01:00
"./variant": "./dist-cms/packages/core/variant/index.js",
Workspace view navigation context (#19255) * todos * navigation context * replace raw manifests with view context * Array State has method * rename to hint and much more * Notes for later * correcting one word * more notes * update JS Docs * update tests for getHasOne * fix context api usage * update code for v.16 * correct test * export UMB_WORKSPACE_VIEW_CONTEXT * minor corrections * rename to _hintMap * refactor part 1 * update version number in comment * clear method for array states * declare hint import map * mega refactor * final corrections for working POC * clean up path logic * implement scaffold * propagation and inheritance from view to workspace * separate types from classes * refactor to view context * rename editor navigation context to editor context * propagate removals * clean up notes * Hints for Content Tabs * use const path * handle gone parent * added comments on something to be looked at * hints context types * contentTypeMergedContainers * lint fixes * public contentTypeMergedContainers * refactor property structure helper class * a few notes for Presets * set variant ID instead of parsing it to the constructor * do not inject root to the path * adjust structure manager logic * UmbPropertyTypeContainerMergedModel type update * correct mergedContainersOfParentIdAndType * fix lint errors * fix missing import * Update src/Umbraco.Web.UI.Client/src/packages/core/hint/context/hints.controller.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/Umbraco.Web.UI.Client/src/packages/content/content/workspace/content-validation-to-hints.manager.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/Umbraco.Web.UI.Client/src/packages/content/content/workspace/content-validation-to-hints.manager.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-22 13:46:01 +02:00
"./view": "./dist-cms/packages/core/view/index.js",
2024-02-29 13:37:25 +01:00
"./webhook": "./dist-cms/packages/webhook/index.js",
2024-02-23 13:47:14 +01:00
"./workspace": "./dist-cms/packages/core/workspace/index.js",
V16: Replace `legacy/fetch` with `@hey-api/client-fetch` (#19002) * feat: adds new backend-api and http-client packages and generates the api with @hey-api/client-fetch * feat: maps generic T back to promise to avoid usage of 'any' * feat: sets up baseUrl and auth for the new client * feat: gets the api base url from server context instead of the http client * feat: gets the api base url from server context instead of the http client * feat: allows undefined token for xhr requests * feat: changes the response object to be either type T directly (to support @hey-api/client-fetch) or the given type if the response does not contain a 'data' object * revert interface * feat: creates an api return type to comply with @hey-api/client-fetch * feat: maps T back to the data model for non-api types * feat: simplify api response to return the promise you sent to it with an optional error object * feat: moves http related modules to the core package * feat: updates the required type of the client for the api interceptors * docs: removes invalid property * feat: adds request parameters to documents * feat: adds request parameters to imaging * feat: adds return type to item-server-data-source-base * feat: adds request parameters to webhooks * feat: adds request parameters to users * feat: renames all `requestBody` to `body` to conform with new client-fetch * feat: uses query to take parameters in * feat: adds data source response to tree types * feat: adds request parameters to templating * feat: adds request parameters to templating * feat: adds request parameters to telemetry * feat: adds request parameters to tags * feat: adds request parameters to examine management * feat: adds request parameters to relations * feat: adds request parameters to packages * feat: catches new api errors that are direct problem details objects * feat: adds default interceptor to handle Umb-Generated-Resource headers * feat: uses an error interceptor specifically to catch errors to avoid overhead * feat: adds request parameters to members * Revert "feat: uses an error interceptor specifically to catch errors to avoid overhead" This reverts commit 7ffb7b29bfe4ddbc51736434db78372767731dd1. * feat: adds request parameters to media * feat: adds request parameters to log viewer * feat: adds request parameters to languages * feat: adds request parameters to health check * feat: adds request parameters to oembed * feat: adds request parameters to documents * feat: adds request parameters to redirect management * feat: adds request parameters to blueprints * feat: adds request parameters to dictionary * feat: adds request parameters to data types * feat: adds request parameters to temporary file * feat: instructs delete methods to return an unknown value * feat: allows default value to be unknown * feat: adds request parameters to culture * chore: import path * feat: adds correct models to mocks * feat: adds correct models to installer and upgrader * feat: adds correct models to mocks * chore: forgot to move ignore line * chore: ignores generated files in eslint * chore: removes old generated files * feat: moves network connection status manager back into the main app to avoid imports from core * chore: update imports * feat: generate API for login screen without relying on the backoffice * feat: uses the generated models on the login screen * feat: sets 'credentials' to 'include' and adds it back to openapiconfiguration to avoid a breaking change * adds back in commands moved to a workspace * chore: vscode workspace settings formatted and useFlatConfig added for better compatibility
2025-04-14 10:21:42 +02:00
"./external/backend-api": "./dist-cms/packages/core/backend-api/index.js",
"./external/dompurify": "./dist-cms/external/dompurify/index.js",
"./external/heximal-expressions": "./dist-cms/external/heximal-expressions/index.js",
"./external/lit": "./dist-cms/external/lit/index.js",
Property Editors: New Date Time property editors (#19915) * Started the implementation of the new date time property editor * Display picked time in local and UTC * Adjustments to the way the timezones are displayed and the picker is configured * Filter out `Etc/` (offset) timezones from the list * Additional adjustments * Introduced date format and time zone options (all, local or custom) * Adjustments to the property editor configuration and value converter * Use UUICombobox instead of UUISelect for displaying time zone options. Display UTC offset instead of short offset name in label. * Allow searching by offset * Ignore case when searching for time zone * Store dates consistently (always same format) * Add custom PropertyIndexValueFactory for the new property editor * Adjustments when switching between time zone modes * Small fixes and cleanup * Started improving time zone config selection * Small adjustments * Remove selected time zones from the list + display label instead of value * Localizing labels * Remove unwanted character * Fix incorrect order of custom time zones list * Small fixes (mostly validation) * Rename input time zone component * Small adjustments * Using model for stored value * Save examine value as ISO format * Adjusting class names for consistency * Small fixes * Add default data type configuration * Rename `TimeZone` to `UmbTimeZone` * Fix failing tests * Started adding unit tests for DateWithTimeZonePropertyEditor * Additional tests * Additional tests * Additional tests * Fixed searches with regex special characters throwing errors * Remove offset from generic UmbTimeZone type and added new type specific for the property editor * Adjust property editor to show error when selected time zone is no longer available, instead of pre-selecting another one * Do not preselect a time zone if a date is stored without time zone This most likely means that the configuration of the editor changed to add time zone support. In this case we want to force the editor to select the applicable time zone. * Fix failing backoffice build * Added tests for DateTimeWithTimeZonePropertyIndexValueFactory * Improved picker validation * Remove unused code * Move models to their corresponding places * Renaming `DateTimeWithTimeZone` to `DateTime2` * Fix data type count tests * Simplifying code + adjusting value converter to support old picker value * Adjustments to property editor unit tests * Fix validation issue * Fix default configuration for 'Date Time (Unspecified)' * Rename validator * Fix comment * Adjust database creator default DateTime2 data types * Update tests after adjusting default data types * Add integration test for DateTime2 returned value type * Apply suggestions from code review Co-authored-by: Andy Butland <abutland73@gmail.com> * Aligning DateTime2Validator with other JSON validators. Added new model for API. * Removed unused code and updated tests * Fix validation error message * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Splitting the new date time editor into multiple (per output type) * Adjust tests in DateTime2PropertyIndexValueFactoryTest * Update value converter tests * Group the new date time tests * Adjust new property editor tests * Adjust property editor integration tests * Update data editor count tests * Naming adjustments * Small fixes * Cleanup - Remove unused files - Remove 'None' option from configuration and update all the tests * Update luxon depedencies * Move GetValueFromSource to the value converter * Add new property editor examples to mock data * Re-organizing the code * Adjustments from code review * Place the date time property index value factories in their own files * Small adjustments for code consistency * Small adjustments * Minor adjustment * Small fix from copilot review * Completed the set of XML header comments. * use already existing query property * fail is form control element is null or undefined * using lit ref for querying and form control registration * state for timeZonePickerValue and remove _disableAddButton * Adjustments to form control registration * Remove unused declaration --------- Co-authored-by: Andy Butland <abutland73@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Niels Lyngsø <nsl@umbraco.dk> Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
2025-09-30 15:21:09 +02:00
"./external/luxon": "./dist-cms/external/luxon/index.js",
"./external/marked": "./dist-cms/external/marked/index.js",
"./external/monaco-editor": "./dist-cms/external/monaco-editor/index.js",
"./external/openid": "./dist-cms/external/openid/index.js",
"./external/rxjs": "./dist-cms/external/rxjs/index.js",
"./external/signalr": "./dist-cms/external/signalr/index.js",
"./external/uui": "./dist-cms/external/uui/index.js"
},
"files": [
"dist-cms",
"examples",
2023-09-13 14:33:32 +02:00
"README.md"
],
"repository": {
2024-11-29 15:36:28 +01:00
"url": "https://github.com/umbraco/Umbraco-CMS",
"type": "git"
},
"bugs": {
"url": "https://github.com/umbraco/Umbraco-CMS/issues"
},
"author": {
"name": "Umbraco A/S",
"email": "backoffice@umbraco.com",
"url": "https://umbraco.com"
},
"workspaces": [
"./src/packages/*",
"./src/external/*"
],
"scripts": {
"backoffice:test:e2e": "npx playwright test",
2023-11-28 12:56:07 +01:00
"build-storybook": "npm run wc-analyze && storybook build",
"build:for:cms": "npm run build && npm run build:workspaces && npm run generate:manifest && npm run package:validate && node ./devops/build/copy-to-cms.js",
2024-07-03 11:56:56 +02:00
"build:for:npm": "npm run build -- --declaration && npm run generate:manifest && npm run package:validate",
"build:for:static": "cross-env VITE_UMBRACO_USE_MSW=on vite build",
2023-11-28 12:56:07 +01:00
"build:vite": "tsc && vite build --mode staging",
"build:workspaces": "npm run build -ws --if-present",
2024-07-03 11:56:56 +02:00
"build": "tsc --project ./src/tsconfig.build.json",
"postbuild": "node ./devops/build/global-types.js",
2023-11-28 12:56:07 +01:00
"check": "npm run lint:errors && npm run compile && npm run build-storybook && npm run generate:jsonschema:dist",
2024-07-04 17:03:45 +02:00
"check:paths": "node ./devops/build/check-path-length.js dist-cms 120",
"check:circular": "node ./devops/circular/index.js src",
"check:module-dependencies": "node ./devops/module-dependencies/index.js",
2023-11-28 12:56:07 +01:00
"compile": "tsc",
"dev": "vite",
"dev:server": "cross-env VITE_UMBRACO_USE_MSW=off vite",
"dev:mock": "cross-env VITE_UMBRACO_USE_MSW=on vite",
2023-11-28 12:56:07 +01:00
"example": "node ./devops/example-runner/index.js",
"format:fix": "npm run format -- --write",
2024-07-02 11:42:48 +02:00
"format": "prettier 'src/**/*.ts' --check",
V16: Replace `legacy/fetch` with `@hey-api/client-fetch` (#19002) * feat: adds new backend-api and http-client packages and generates the api with @hey-api/client-fetch * feat: maps generic T back to promise to avoid usage of 'any' * feat: sets up baseUrl and auth for the new client * feat: gets the api base url from server context instead of the http client * feat: gets the api base url from server context instead of the http client * feat: allows undefined token for xhr requests * feat: changes the response object to be either type T directly (to support @hey-api/client-fetch) or the given type if the response does not contain a 'data' object * revert interface * feat: creates an api return type to comply with @hey-api/client-fetch * feat: maps T back to the data model for non-api types * feat: simplify api response to return the promise you sent to it with an optional error object * feat: moves http related modules to the core package * feat: updates the required type of the client for the api interceptors * docs: removes invalid property * feat: adds request parameters to documents * feat: adds request parameters to imaging * feat: adds return type to item-server-data-source-base * feat: adds request parameters to webhooks * feat: adds request parameters to users * feat: renames all `requestBody` to `body` to conform with new client-fetch * feat: uses query to take parameters in * feat: adds data source response to tree types * feat: adds request parameters to templating * feat: adds request parameters to templating * feat: adds request parameters to telemetry * feat: adds request parameters to tags * feat: adds request parameters to examine management * feat: adds request parameters to relations * feat: adds request parameters to packages * feat: catches new api errors that are direct problem details objects * feat: adds default interceptor to handle Umb-Generated-Resource headers * feat: uses an error interceptor specifically to catch errors to avoid overhead * feat: adds request parameters to members * Revert "feat: uses an error interceptor specifically to catch errors to avoid overhead" This reverts commit 7ffb7b29bfe4ddbc51736434db78372767731dd1. * feat: adds request parameters to media * feat: adds request parameters to log viewer * feat: adds request parameters to languages * feat: adds request parameters to health check * feat: adds request parameters to oembed * feat: adds request parameters to documents * feat: adds request parameters to redirect management * feat: adds request parameters to blueprints * feat: adds request parameters to dictionary * feat: adds request parameters to data types * feat: adds request parameters to temporary file * feat: instructs delete methods to return an unknown value * feat: allows default value to be unknown * feat: adds request parameters to culture * chore: import path * feat: adds correct models to mocks * feat: adds correct models to installer and upgrader * feat: adds correct models to mocks * chore: forgot to move ignore line * chore: ignores generated files in eslint * chore: removes old generated files * feat: moves network connection status manager back into the main app to avoid imports from core * chore: update imports * feat: generate API for login screen without relying on the backoffice * feat: uses the generated models on the login screen * feat: sets 'credentials' to 'include' and adds it back to openapiconfiguration to avoid a breaking change * adds back in commands moved to a workspace * chore: vscode workspace settings formatted and useFlatConfig added for better compatibility
2025-04-14 10:21:42 +02:00
"generate:server-api": "npm run generate:server-api -w @umbraco-backoffice/core",
"generate:icons": "node ./devops/icons/index.js",
2024-06-21 10:54:17 +02:00
"generate:overrides": "node ./devops/tsc/index.js",
"generate:jsonschema:imports": "node ./devops/json-schema-generator/index.js",
"generate:jsonschema:dist": "npm run generate:jsonschema -- --out dist-cms/umbraco-package-schema.json tsconfig.json UmbracoPackage",
"generate:jsonschema": "typescript-json-schema --skipLibCheck --ignoreErrors --excludePrivate --required --include \"./src/json-schema/umbraco-package-schema.ts\"",
"generate:check-const-test": "node ./devops/generate-check-const-test/index.js",
2023-11-28 12:56:07 +01:00
"lint:errors": "npm run lint -- --quiet",
"lint:fix": "npm run lint -- --fix",
"lint": "eslint src",
"prepack": "tsc-alias -f -p src/tsconfig.build.json && npm run generate:jsonschema:dist && npm run wc-analyze && npm run wc-analyze:vscode && node ./devops/publish/cleanse-pkg.js",
2023-11-28 12:56:07 +01:00
"preview": "vite preview --open",
"storybook:build": "npm run wc-analyze && storybook build",
"storybook:preview": "npm run wc-analyze && storybook build && npx serve storybook-static",
2023-11-28 12:56:07 +01:00
"storybook": "npm run wc-analyze && storybook dev -p 6006",
2024-04-05 15:28:39 +02:00
"test:e2e": "npm run backoffice:test:e2e",
"test:dev": "npm run generate:check-const-test && web-test-runner --config ./web-test-runner.dev.config.mjs",
"test:dev-watch": "npm run generate:check-const-test && web-test-runner --watch --config ./web-test-runner.dev.config.mjs",
"test:watch": "npm run generate:check-const-test && web-test-runner --watch",
"test": "npm run generate:check-const-test && npm run check:module-dependencies && web-test-runner",
"test:examples": "npm run generate:check-const-test && web-test-runner --files \"./examples/**/*.test.ts\"",
"test:examples:dev": "npm run generate:check-const-test && web-test-runner --config ./web-test-runner.dev.config.mjs --files \"./examples/**/*.test.ts\"",
"test:examples:watch": "npm run generate:check-const-test && web-test-runner --watch --config ./web-test-runner.dev.config.mjs --files \"./examples/**/*.test.ts\"",
"test:examples:browser": "npm run generate:check-const-test && web-test-runner --config ./web-test-runner.dev.config.mjs --files \"./examples/**/*.test.ts\" --manual",
2023-11-28 12:56:07 +01:00
"wc-analyze:vscode": "wca **/*.element.ts --format vscode --outFile dist-cms/vscode-html-custom-data.json",
"wc-analyze": "wca **/*.element.ts --outFile dist-cms/custom-elements.json",
2024-02-12 21:10:19 +01:00
"generate:tsconfig": "node ./devops/tsconfig/index.js",
2024-02-13 11:57:25 +01:00
"generate:manifest": "node ./devops/build/create-umbraco-package.js",
"package:validate": "node ./devops/package/validate-exports.js",
"generate:ui-api-docs": "npm run generate:check-const-test && typedoc --options typedoc.config.js"
},
"engines": {
"node": ">=22.17.1",
"npm": ">=10.9.2"
},
"dependencies": {
"element-internals-polyfill": "^3.0.2"
},
"devDependencies": {
"@babel/core": "^7.28.4",
"@eslint/js": "^9.37.0",
2024-01-15 13:27:34 +01:00
"@open-wc/testing": "^4.0.0",
"@playwright/test": "^1.55.1",
"@storybook/addon-a11y": "9.0.14",
"@storybook/addon-docs": "9.0.14",
"@storybook/addon-links": "9.0.14",
"@storybook/web-components-vite": "9.0.14",
"@types/chai": "^5.2.2",
2024-07-02 11:35:54 +02:00
"@types/eslint__js": "^8.42.3",
V15: npm updates 2024-11-15 (#17545) * 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
2024-11-25 17:47:13 +01:00
"@types/mocha": "^10.0.10",
V15: Update Backoffice NPM dependencies (#18376) * build(deps-dev): update storybook from 8.4.7 to 8.5.6 * build(deps): update tiptap from 2.11.2 to 2.11.5 * build(deps-dev): update eslint stuff to latest * build(deps): update element-internals-polyfill from 1.3.12 to 1.3.13 * build(deps): update marked from 15.0.6 to 15.0.7 * build(deps-dev): update vite from 5.4.14 to 6.1.0 * build(deps-dev): update globals to 15.15.0 (eslint dependency) * build(deps): update icon libraries to latest * build(deps-dev): update prettier from 3.4.2 to 3.5.1 * chore: generate consts * build(deps-dev): update test-related libraries * feat: copy over code from the tiny base64-js library because it is not exported as esm and has not been updated in 4 years * build(deps-dev): remove dependency from base64-js * build(deps-dev): upgrade rollup dependencies * test: disable tests for tinyce * build(deps-dev): update @babel/core to 7.26.9 * build(deps): update storybook to latest * build(deps-dev): update types * build(deps-dev): update typedoc from 0.27.6 to 0.27.7 * build(deps-dev): update @rollup/plugin-commonjs to latest * build(deps): import tiny as default and re-export as module and default to make everyone happy (and avoid commonjs pitfalls) * build: remove dependency on commonjs to build externals * build(deps-dev): uninstall @rollup/plugin-commonjs as it is no longer needed * test: reenable tinymce tests * fix: sets a default label this mistake was highlighted by the test runner * test: reenable tinymce tests * build: ignores autogenerated test file * build: adds github error logging to icon generator * build: log as error * build: adds tests for generate:* scripts * build: optimises icons with svgo to remove useless things like comments this also ensures that icons are unchanged when we upgrade icon library packages as they would normally include things like versions as comments in the files
2025-02-20 11:29:54 +01:00
"@web/dev-server-esbuild": "^1.0.4",
2024-07-17 09:17:15 +02:00
"@web/dev-server-import-maps": "^0.2.1",
"@web/test-runner": "^0.20.2",
"@web/test-runner-playwright": "^0.11.1",
"babel-loader": "^10.0.0",
"cross-env": "10.1.0",
"cssnano": "^7.1.1",
"eslint": "^9.37.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsdoc": "^60.8.2",
"eslint-plugin-lit": "^2.1.1",
2024-07-02 11:35:54 +02:00
"eslint-plugin-local-rules": "^3.0.2",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-storybook": "9.0.14",
"eslint-plugin-wc": "^3.0.2",
"globals": "^16.4.0",
2024-08-06 13:09:29 +02:00
"madge": "^8.0.0",
"msw": "^1.3.5",
2023-12-16 09:54:51 +01:00
"playwright-msw": "^3.0.1",
"postcss": "^8.5.6",
"postcss-cli": "^11.0.1",
"prettier": "3.6.2",
"remark-gfm": "^4.0.1",
"storybook": "9.0.14",
"tiny-glob": "^0.2.9",
"tsc-alias": "^1.8.16",
"typedoc": "^0.28.13",
"typescript": "5.9.3",
"typescript-eslint": "^8.45.0",
"typescript-json-schema": "^0.65.1",
"vite": "^7.1.11",
"vite-plugin-static-copy": "^3.1.3",
"vite-tsconfig-paths": "^5.1.4",
2023-12-16 09:54:51 +01:00
"web-component-analyzer": "^2.0.0"
},
"msw": {
"workerDirectory": "public"
2023-10-05 14:05:57 +02:00
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
V15: Update Backoffice NPM dependencies (#18376) * build(deps-dev): update storybook from 8.4.7 to 8.5.6 * build(deps): update tiptap from 2.11.2 to 2.11.5 * build(deps-dev): update eslint stuff to latest * build(deps): update element-internals-polyfill from 1.3.12 to 1.3.13 * build(deps): update marked from 15.0.6 to 15.0.7 * build(deps-dev): update vite from 5.4.14 to 6.1.0 * build(deps-dev): update globals to 15.15.0 (eslint dependency) * build(deps): update icon libraries to latest * build(deps-dev): update prettier from 3.4.2 to 3.5.1 * chore: generate consts * build(deps-dev): update test-related libraries * feat: copy over code from the tiny base64-js library because it is not exported as esm and has not been updated in 4 years * build(deps-dev): remove dependency from base64-js * build(deps-dev): upgrade rollup dependencies * test: disable tests for tinyce * build(deps-dev): update @babel/core to 7.26.9 * build(deps): update storybook to latest * build(deps-dev): update types * build(deps-dev): update typedoc from 0.27.6 to 0.27.7 * build(deps-dev): update @rollup/plugin-commonjs to latest * build(deps): import tiny as default and re-export as module and default to make everyone happy (and avoid commonjs pitfalls) * build: remove dependency on commonjs to build externals * build(deps-dev): uninstall @rollup/plugin-commonjs as it is no longer needed * test: reenable tinymce tests * fix: sets a default label this mistake was highlighted by the test runner * test: reenable tinymce tests * build: ignores autogenerated test file * build: adds github error logging to icon generator * build: log as error * build: adds tests for generate:* scripts * build: optimises icons with svgo to remove useless things like comments this also ensures that icons are unchanged when we upgrade icon library packages as they would normally include things like versions as comments in the files
2025-02-20 11:29:54 +01:00
}