From 268627840503fa1c4611db1c096d1612327c6b2c Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Thu, 25 Jul 2024 11:07:22 -0400 Subject: [PATCH 01/13] save --- core-web/libs/dotcms-scss/shared/_colors.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/core-web/libs/dotcms-scss/shared/_colors.scss b/core-web/libs/dotcms-scss/shared/_colors.scss index 441cea8acc30..64269dbe5ad7 100644 --- a/core-web/libs/dotcms-scss/shared/_colors.scss +++ b/core-web/libs/dotcms-scss/shared/_colors.scss @@ -11,6 +11,10 @@ $color-palette-primary-700: var(--color-palette-primary-700); $color-palette-primary-800: var(--color-palette-primary-800); $color-palette-primary-900: var(--color-palette-primary-900); +$color-palette-primary-shade: $color-palette-primary-600; +$color-palette-primary: $color-palette-primary-500; +$color-palette-primary-tint: $color-palette-primary-200; + $color-palette-primary-op-10: var(--color-palette-primary-op-10); $color-palette-primary-op-20: var(--color-palette-primary-op-20); $color-palette-primary-op-30: var(--color-palette-primary-op-30); @@ -21,10 +25,6 @@ $color-palette-primary-op-70: var(--color-palette-primary-op-70); $color-palette-primary-op-80: var(--color-palette-primary-op-80); $color-palette-primary-op-90: var(--color-palette-primary-op-90); -$color-palette-primary-shade: $color-palette-primary-600; -$color-palette-primary: $color-palette-primary-500; -$color-palette-primary-tint: $color-palette-primary-200; - $color-palette-secondary-100: var(--color-palette-secondary-100); $color-palette-secondary-200: var(--color-palette-secondary-200); $color-palette-secondary-300: var(--color-palette-secondary-300); @@ -35,6 +35,10 @@ $color-palette-secondary-700: var(--color-palette-secondary-700); $color-palette-secondary-800: var(--color-palette-secondary-800); $color-palette-secondary-900: var(--color-palette-secondary-900); +$color-palette-secondary-shade: $color-palette-secondary-600; +$color-palette-secondary: $color-palette-secondary-500; +$color-palette-secondary-tint: $color-palette-secondary-200; + $color-palette-secondary-op-10: var(--color-palette-secondary-op-10); $color-palette-secondary-op-20: var(--color-palette-secondary-op-20); $color-palette-secondary-op-30: var(--color-palette-secondary-op-30); @@ -45,10 +49,6 @@ $color-palette-secondary-op-70: var(--color-palette-secondary-op-70); $color-palette-secondary-op-80: var(--color-palette-secondary-op-80); $color-palette-secondary-op-90: var(--color-palette-secondary-op-90); -$color-palette-secondary-shade: $color-palette-secondary-600; -$color-palette-secondary: $color-palette-secondary-500; -$color-palette-secondary-tint: $color-palette-secondary-200; - $color-palette-black-op-10: var(--color-palette-black-op-10); $color-palette-black-op-20: var(--color-palette-black-op-20); $color-palette-black-op-30: var(--color-palette-black-op-30); From cb2587fe0e94a7efd3368a58441e5258a4764b57 Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Tue, 30 Jul 2024 17:41:55 -0400 Subject: [PATCH 02/13] chore(edit-content): working on breadcrumbs navigation --- .../dot-crumbtrail.component.scss | 2 +- ...ategory-field-category-list.component.html | 4 +- ...-category-field-category-list.component.ts | 45 +++++++++---------- .../dot-category-field-sidebar.component.html | 3 +- .../dot-category-field-sidebar.component.scss | 12 +++++ .../store/content-category-field.store.ts | 17 ++++++- .../utils/category-field.utils.ts | 31 +++++++++++++ 7 files changed, 86 insertions(+), 28 deletions(-) diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-crumbtrail/dot-crumbtrail.component.scss b/core-web/apps/dotcms-ui/src/app/view/components/dot-crumbtrail/dot-crumbtrail.component.scss index 6ce41e8d6c4a..8e976fbac4e7 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-crumbtrail/dot-crumbtrail.component.scss +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-crumbtrail/dot-crumbtrail.component.scss @@ -1,6 +1,6 @@ @use "variables" as *; -::ng-deep dot-crumbtrail .p-breadcrumb { +:host ::ng-deep .p-breadcrumb { ul li { .p-menuitem-link[href] { .p-menuitem-text { diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html index b9b651d72b08..b818a3610b2a 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html @@ -1,4 +1,6 @@ -
Root
+
+ +
diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.ts index 657d9886ea12..d6648a8959fe 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.ts @@ -1,27 +1,26 @@ import { CommonModule } from '@angular/common'; import { - AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, computed, - DestroyRef, effect, ElementRef, EventEmitter, inject, input, Output, - QueryList, - ViewChildren + viewChildren } from '@angular/core'; -import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; import { FormsModule } from '@angular/forms'; +import { MenuItem } from 'primeng/api'; import { ButtonModule } from 'primeng/button'; import { CheckboxModule } from 'primeng/checkbox'; import { TreeModule } from 'primeng/tree'; +import { DotCollapseBreadcrumbComponent } from '@dotcms/ui'; + import { DotCategoryFieldKeyValueObj } from '../../models/dot-category-field.models'; import { DotCategoryFieldListSkeletonComponent } from '../dot-category-field-list-skeleton/dot-category-field-list-skeleton.component'; @@ -43,7 +42,8 @@ const MINIMUM_CATEGORY_WITHOUT_SCROLLING = 3; CheckboxModule, ButtonModule, FormsModule, - DotCategoryFieldListSkeletonComponent + DotCategoryFieldListSkeletonComponent, + DotCollapseBreadcrumbComponent ], templateUrl: './dot-category-field-category-list.component.html', styleUrl: './dot-category-field-category-list.component.scss', @@ -52,11 +52,11 @@ const MINIMUM_CATEGORY_WITHOUT_SCROLLING = 3; class: 'category-list__wrapper' } }) -export class DotCategoryFieldCategoryListComponent implements AfterViewInit { +export class DotCategoryFieldCategoryListComponent { /** * Represent the columns of categories */ - @ViewChildren('categoryColumn') categoryColumns: QueryList; + $categoryColumns = viewChildren>('categoryColumn'); /** * Represents the variable 'categories' which is of type 'DotCategoryFieldCategory[][]'. @@ -85,6 +85,11 @@ export class DotCategoryFieldCategoryListComponent implements AfterViewInit { */ $isLoading = input(true, { alias: 'isLoading' }); + /** + * Represents the breadcrumbs to display + */ + $breadcrumbs = input([], { alias: 'breadcrumbs' }); + /** * Emit the item clicked to the parent component */ @@ -103,29 +108,23 @@ export class DotCategoryFieldCategoryListComponent implements AfterViewInit { */ itemsSelected: string[]; - #cdr = inject(ChangeDetectorRef); - readonly #destroyRef = inject(DestroyRef); - readonly #effectRef = effect(() => { - // Todo: change itemsSelected to use model when update Angular to >17.3 - // Initial selected items from the contentlet - this.itemsSelected = this.$selected(); - this.#cdr.markForCheck(); // force refresh - }); + readonly #cdr = inject(ChangeDetectorRef); - ngAfterViewInit() { - // Handle the horizontal scroll to make visible the last column - this.categoryColumns.changes.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe(() => { + constructor() { + effect(() => { this.scrollHandler(); }); - - this.#destroyRef.onDestroy(() => { - this.#effectRef.destroy(); + effect(() => { + // Todo: change itemsSelected to use model when update Angular to >17.3 + // Initial selected items from the contentlet + this.itemsSelected = this.$selected(); + this.#cdr.markForCheck(); // force refresh }); } private scrollHandler() { try { - const columnsArray = this.categoryColumns.toArray(); + const columnsArray = this.$categoryColumns(); if (columnsArray.length === 0) { return; diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-sidebar/dot-category-field-sidebar.component.html b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-sidebar/dot-category-field-sidebar.component.html index 42d51421d336..dc6148da616c 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-sidebar/dot-category-field-sidebar.component.html +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-sidebar/dot-category-field-sidebar.component.html @@ -38,7 +38,8 @@ (rowClicked)="store.getCategories($event)" [categories]="store.categoryList()" [isLoading]="store.isListLoading()" - [selected]="store.selectedCategoriesValues()" /> + [selected]="store.selectedCategoriesValues()" + [breadcrumbs]="store.breadcrumbMenu()" /> } @else { ul > li { + &:last-child a { + pointer-events: none; + .p-menuitem-text { + color: $black; + font-weight: $font-weight-bold; + } + } + } +} diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/store/content-category-field.store.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/store/content-category-field.store.ts index 9bd655453b5b..018dded0684f 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/store/content-category-field.store.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/store/content-category-field.store.ts @@ -27,7 +27,8 @@ import { removeItemByKey, transformCategories, transformToSelectedObject, - updateChecked + updateChecked, + getMenuItemsFromKeyParentPath } from '../utils/category-field.utils'; export type CategoryFieldState = { @@ -116,7 +117,19 @@ export const CategoryFieldStore = signalStore( store .searchCategories() .map((column) => transformCategories(column, store.keyParentPath())) - ) + ), + + /** + * Transform the selected categories to a breadcrumb menu + */ + breadcrumbMenu: computed(() => { + const categories = store.categories(); + const keyParentPath = store.keyParentPath(); + + const currentItems = getMenuItemsFromKeyParentPath(categories, keyParentPath); + + return [{ label: 'Root' }, ...currentItems]; + }) })), withMethods( ( diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.ts index 4984f80ff0e1..c7899f4c23bf 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.ts @@ -1,3 +1,5 @@ +import { MenuItem } from 'primeng/api'; + import { DotCategory, DotCategoryParent, @@ -213,3 +215,32 @@ export const addSelected = ( return [...array, ...newItems]; }; + +/** + * Retrieves the menu items from a key parent path. + * + * @param {DotCategory[][]} array + * @param {string[]} keyParentPath + * @return {*} {MenuItem[]} + */ +export const getMenuItemsFromKeyParentPath = ( + array: DotCategory[][], + keyParentPath: string[] +): MenuItem[] => { + const flatArray = array.flat(); + + return keyParentPath.reduce((array, key) => { + const category = flatArray.find((item) => item.key === key); + + if (category) { + return [ + ...array, + { + label: category.categoryName + } + ]; + } + + return array; + }, []); +}; From 7914312c92d2b8f3566e0191199f302c32c8ec17 Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Wed, 31 Jul 2024 10:54:13 -0400 Subject: [PATCH 03/13] chore(ui): working in collapse bredcrumb --- ...ategory-field-category-list.component.html | 2 +- ...-category-field-category-list.component.ts | 40 +++++++++++++-- .../store/content-category-field.store.ts | 10 ++-- .../utils/category-field.utils.ts | 49 +++++++++---------- .../WEB-INF/messages/Language.properties | 2 +- 5 files changed, 65 insertions(+), 38 deletions(-) diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html index b818a3610b2a..2741cacc24aa 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html @@ -1,5 +1,5 @@
- +
([], { alias: 'breadcrumbs' }); + $breadcrumbs = input([], { alias: 'breadcrumbs' }); + /** + * Represents the breadcrumbs menu to display + * + * @memberof DotCategoryFieldCategoryListComponent + */ + $breadcrumbsMenu = computed(() => { + const currentItems = this.$breadcrumbs().map((item, index) => { + return { + label: item.value, + command: () => { + this.rowClicked.emit({ index, item }); + } + }; + }); + + return [ + { + label: this.#dotMessageService.get( + 'edit.content.category-field.category.root-name' + ), + command: () => { + this.rowClicked.emit({ index: 0 }); + } + }, + ...currentItems + ]; + }); /** * Emit the item clicked to the parent component */ - @Output() rowClicked = new EventEmitter<{ index: number; item: DotCategoryFieldKeyValueObj }>(); + @Output() rowClicked = new EventEmitter<{ + index: number; + item?: DotCategoryFieldKeyValueObj; + }>(); /** * Emit the item checked or selected to the parent component diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/store/content-category-field.store.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/store/content-category-field.store.ts index 018dded0684f..42a03721ef88 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/store/content-category-field.store.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/store/content-category-field.store.ts @@ -126,9 +126,7 @@ export const CategoryFieldStore = signalStore( const categories = store.categories(); const keyParentPath = store.keyParentPath(); - const currentItems = getMenuItemsFromKeyParentPath(categories, keyParentPath); - - return [{ label: 'Root' }, ...currentItems]; + return getMenuItemsFromKeyParentPath(categories, keyParentPath); }) })), withMethods( @@ -275,13 +273,13 @@ export const CategoryFieldStore = signalStore( filter( (event) => !event || - (event.item.hasChildren && - !store.keyParentPath().includes(event.item.key)) + (event?.item?.hasChildren && + !store.keyParentPath().includes(event?.item?.key)) ), tap(() => patchState(store, { state: ComponentStatus.LOADING })), switchMap((event) => { const categoryInode: string = event - ? event.item.inode + ? event?.item.inode : store.rootCategoryInode(); return categoryService.getChildren(categoryInode).pipe( diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.ts index c7899f4c23bf..77edec1b17ed 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.ts @@ -1,5 +1,3 @@ -import { MenuItem } from 'primeng/api'; - import { DotCategory, DotCategoryParent, @@ -52,35 +50,37 @@ export const transformToSelectedObject = ( }); }; +const transformCategory = ( + category: DotCategory, + keyParentPath: string[] = [] +): DotCategoryFieldKeyValueObj => { + const { key, inode, categoryName, childrenCount } = category; + const hasChildren = childrenCount > 0; + + const path = category.parentList ? getParentPath(category.parentList) : ''; + + return { + key, + inode, + value: categoryName || category?.name, + hasChildren, + clicked: hasChildren && keyParentPath.includes(key), + path + }; +}; + /** * Add calculated properties to the categories * @param categories - Single category or array of categories to transform * @param keyParentPath - Path of keys to determine clicked state * @returns Transformed category or array of transformed categories with additional properties */ - export const transformCategories = ( categories: DotCategory | DotCategory[], keyParentPath: string[] = [] ): DotCategoryFieldKeyValueObj | DotCategoryFieldKeyValueObj[] => { - const transformCategory = (category: DotCategory): DotCategoryFieldKeyValueObj => { - const { key, inode, categoryName, childrenCount } = category; - const hasChildren = childrenCount > 0; - - const path = category.parentList ? getParentPath(category.parentList) : ''; - - return { - key, - inode, - value: categoryName || category?.name, - hasChildren, - clicked: hasChildren && keyParentPath.includes(key), - path - }; - }; - if (Array.isArray(categories)) { - return categories.map(transformCategory); + return categories.map((category) => transformCategory(category, keyParentPath)); } else { return transformCategory(categories); } @@ -226,19 +226,14 @@ export const addSelected = ( export const getMenuItemsFromKeyParentPath = ( array: DotCategory[][], keyParentPath: string[] -): MenuItem[] => { +): DotCategoryFieldKeyValueObj[] => { const flatArray = array.flat(); return keyParentPath.reduce((array, key) => { const category = flatArray.find((item) => item.key === key); if (category) { - return [ - ...array, - { - label: category.categoryName - } - ]; + return [...array, transformCategory(category, keyParentPath)]; } return array; diff --git a/dotCMS/src/main/webapp/WEB-INF/messages/Language.properties b/dotCMS/src/main/webapp/WEB-INF/messages/Language.properties index 11698f8b4fc6..4c4b6d66ae58 100644 --- a/dotCMS/src/main/webapp/WEB-INF/messages/Language.properties +++ b/dotCMS/src/main/webapp/WEB-INF/messages/Language.properties @@ -5753,7 +5753,7 @@ edit.content.category-field.show-categories-dialog=Select edit.content.category-field.sidebar.header.select-categories=Select categories edit.content.category-field.sidebar.button.clear-all=Clear all -edit.content.category-field.list.show.more={0} More +edit.content.category-field.list.show.more=+ {0} More edit.content.category-field.list.show.less=Less edit.content.category-field.search.name=Name From 1402daf2eb9690c4d2e187a30166971ad631c652 Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Wed, 31 Jul 2024 11:33:48 -0400 Subject: [PATCH 04/13] chore(ui): working in collapse bredcrumb --- .../dot-category-field-category-list.component.ts | 15 +++++++-------- .../models/dot-category-field.models.ts | 2 +- .../dot-collapse-breadcrumb.component.html | 2 +- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.ts index d3368ab2a953..0a54c064b061 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.ts @@ -6,10 +6,9 @@ import { computed, effect, ElementRef, - EventEmitter, inject, input, - Output, + output, viewChildren } from '@angular/core'; import { FormsModule } from '@angular/forms'; @@ -21,7 +20,10 @@ import { TreeModule } from 'primeng/tree'; import { DotMessageService } from '@dotcms/data-access'; import { DotCollapseBreadcrumbComponent } from '@dotcms/ui'; -import { DotCategoryFieldKeyValueObj } from '../../models/dot-category-field.models'; +import { + DotCategoryFieldItem, + DotCategoryFieldKeyValueObj +} from '../../models/dot-category-field.models'; import { DotCategoryFieldListSkeletonComponent } from '../dot-category-field-list-skeleton/dot-category-field-list-skeleton.component'; export const MINIMUM_CATEGORY_COLUMNS = 4; @@ -124,15 +126,12 @@ export class DotCategoryFieldCategoryListComponent { /** * Emit the item clicked to the parent component */ - @Output() rowClicked = new EventEmitter<{ - index: number; - item?: DotCategoryFieldKeyValueObj; - }>(); + rowClicked = output(); /** * Emit the item checked or selected to the parent component */ - @Output() itemChecked = new EventEmitter<{ + itemChecked = output<{ selected: string[]; item: DotCategoryFieldKeyValueObj; }>(); diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/models/dot-category-field.models.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/models/dot-category-field.models.ts index 5f10187146db..b0c3c237d41e 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/models/dot-category-field.models.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/models/dot-category-field.models.ts @@ -30,7 +30,7 @@ export type HierarchyParent = Pick /** * Represents an clicked item in a DotCategoryField. */ -export type DotCategoryFieldItem = { index: number; item: DotCategoryFieldKeyValueObj }; +export type DotCategoryFieldItem = { index: number; item?: DotCategoryFieldKeyValueObj }; /** * Represents an event when a row is selected in a table. diff --git a/core-web/libs/ui/src/lib/components/dot-collapse-breadcrumb/dot-collapse-breadcrumb.component.html b/core-web/libs/ui/src/lib/components/dot-collapse-breadcrumb/dot-collapse-breadcrumb.component.html index ebe107f2997b..e9539fbd1643 100644 --- a/core-web/libs/ui/src/lib/components/dot-collapse-breadcrumb/dot-collapse-breadcrumb.component.html +++ b/core-web/libs/ui/src/lib/components/dot-collapse-breadcrumb/dot-collapse-breadcrumb.component.html @@ -1,4 +1,4 @@ -
+
@if ($isCollapsed()) {
From fd1a2aeef5c7f2318f490c35aac209daa683e031 Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Wed, 31 Jul 2024 12:18:46 -0400 Subject: [PATCH 05/13] chore(ui): working in collapse bredcrumb --- ...ategory-field-category-list.component.html | 4 +- ...gory-field-category-list.component.spec.ts | 44 ++++++++++++++++++- ...-category-field-category-list.component.ts | 25 +++-------- .../utils/category-field.utils.ts | 9 +++- 4 files changed, 58 insertions(+), 24 deletions(-) diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html index 2741cacc24aa..314054528544 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html @@ -1,5 +1,5 @@
- +
diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.spec.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.spec.ts index d147930d1ed8..1a2a1df081aa 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.spec.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.spec.ts @@ -29,6 +29,7 @@ describe('DotCategoryFieldCategoryListComponent', () => { spectator.setInput('categories', CATEGORY_LIST_MOCK_TRANSFORMED_MATRIX); spectator.setInput('selected', SELECTED_LIST_MOCK); spectator.setInput('isLoading', false); + spectator.setInput('breadcrumbs', []); spectator.detectChanges(); }); @@ -77,8 +78,6 @@ describe('DotCategoryFieldCategoryListComponent', () => { }); it('should apply selected class to the correct item', () => { - // spectator = createComponent(); - spectator.setInput('categories', [CATEGORY_MOCK_TRANSFORMED]); spectator.setInput('selected', SELECTED_LIST_MOCK); spectator.setInput('isLoading', false); @@ -115,4 +114,45 @@ describe('DotCategoryFieldCategoryListComponent', () => { expect(spectator.query(DotCategoryFieldListSkeletonComponent)).not.toBeNull(); }); + + describe('with breadcrumbs', () => { + it('should render the breadcrumbs menu', () => { + spectator.setInput('breadcrumbs', []); + spectator.detectChanges(); + + const breadcrumbs = spectator.queryAll('dot-collapse-breadcrumb .p-menuitem-link'); + + expect(breadcrumbs.length).toBe(1); + }); + + it('should emit the correct item when breadcrumb clicked', () => { + spectator.setInput('breadcrumbs', []); + spectator.detectChanges(); + + const emitSpy = jest.spyOn(spectator.component.rowClicked, 'emit'); + const breadcrumbs = spectator.queryAll('dot-collapse-breadcrumb .p-menuitem-link'); + spectator.click(breadcrumbs[0]); + + expect(emitSpy).toHaveBeenCalledWith({ index: 0 }); + }); + + it('should render the correct number of breadcrumbs', () => { + spectator.setInput('breadcrumbs', CATEGORY_MOCK_TRANSFORMED); + spectator.detectChanges(); + const breadcrumbs = spectator.queryAll('dot-collapse-breadcrumb .p-menuitem-link'); + + expect(breadcrumbs.length).toBe(CATEGORY_MOCK_TRANSFORMED.length + 1); + }); + + it('should emit the correct item when breadcrumb clicked', () => { + spectator.setInput('breadcrumbs', CATEGORY_MOCK_TRANSFORMED); + spectator.detectChanges(); + + const emitSpy = jest.spyOn(spectator.component.rowClicked, 'emit'); + const breadcrumbs = spectator.queryAll('dot-collapse-breadcrumb .p-menuitem-link'); + spectator.click(breadcrumbs[1]); + + expect(emitSpy).toHaveBeenCalledWith({ index: 0, item: CATEGORY_MOCK_TRANSFORMED[0] }); + }); + }); }); diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.ts index 0a54c064b061..419c0c1ec9bb 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.ts @@ -1,13 +1,13 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, - ChangeDetectorRef, Component, computed, effect, ElementRef, inject, input, + model, output, viewChildren } from '@angular/core'; @@ -72,7 +72,7 @@ export class DotCategoryFieldCategoryListComponent { /** * Represent the selected item saved in the contentlet */ - $selected = input([], { alias: 'selected' }); + $selected = model([], { alias: 'selected' }); /** * Generate the empty columns @@ -95,6 +95,7 @@ export class DotCategoryFieldCategoryListComponent { * Represents the breadcrumbs to display */ $breadcrumbs = input([], { alias: 'breadcrumbs' }); + /** * Represents the breadcrumbs menu to display * @@ -136,29 +137,15 @@ export class DotCategoryFieldCategoryListComponent { item: DotCategoryFieldKeyValueObj; }>(); - /** - * Model of the items selected - */ - itemsSelected: string[]; - - readonly #cdr = inject(ChangeDetectorRef); - constructor() { effect(() => { - this.scrollHandler(); - }); - effect(() => { - // Todo: change itemsSelected to use model when update Angular to >17.3 - // Initial selected items from the contentlet - this.itemsSelected = this.$selected(); - this.#cdr.markForCheck(); // force refresh + const columnsArray = this.$categoryColumns(); + this.scrollHandler(columnsArray); }); } - private scrollHandler() { + private scrollHandler(columnsArray: readonly ElementRef[]) { try { - const columnsArray = this.$categoryColumns(); - if (columnsArray.length === 0) { return; } diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.ts index 77edec1b17ed..89f9d0762903 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.ts @@ -50,6 +50,13 @@ export const transformToSelectedObject = ( }); }; +/** + * Transforms a DotCategory object into a DotCategoryFieldKeyValueObj object. + * + * @param {DotCategory} category + * @param {string[]} [keyParentPath=[]] + * @return {*} {DotCategoryFieldKeyValueObj} + */ const transformCategory = ( category: DotCategory, keyParentPath: string[] = [] @@ -82,7 +89,7 @@ export const transformCategories = ( if (Array.isArray(categories)) { return categories.map((category) => transformCategory(category, keyParentPath)); } else { - return transformCategory(categories); + return transformCategory(categories, keyParentPath); } }; From 4044c91b42db87c242330751d0302fea351aaf5a Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Wed, 31 Jul 2024 14:49:09 -0400 Subject: [PATCH 06/13] chore(editor-content): fix colors --- core-web/libs/dotcms-scss/shared/_colors.scss | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/core-web/libs/dotcms-scss/shared/_colors.scss b/core-web/libs/dotcms-scss/shared/_colors.scss index 64269dbe5ad7..0e8c120ac008 100644 --- a/core-web/libs/dotcms-scss/shared/_colors.scss +++ b/core-web/libs/dotcms-scss/shared/_colors.scss @@ -11,10 +11,6 @@ $color-palette-primary-700: var(--color-palette-primary-700); $color-palette-primary-800: var(--color-palette-primary-800); $color-palette-primary-900: var(--color-palette-primary-900); -$color-palette-primary-shade: $color-palette-primary-600; -$color-palette-primary: $color-palette-primary-500; -$color-palette-primary-tint: $color-palette-primary-200; - $color-palette-primary-op-10: var(--color-palette-primary-op-10); $color-palette-primary-op-20: var(--color-palette-primary-op-20); $color-palette-primary-op-30: var(--color-palette-primary-op-30); @@ -25,6 +21,10 @@ $color-palette-primary-op-70: var(--color-palette-primary-op-70); $color-palette-primary-op-80: var(--color-palette-primary-op-80); $color-palette-primary-op-90: var(--color-palette-primary-op-90); +$color-palette-primary-shade: $color-palette-primary-600; +$color-palette-primary: $color-palette-primary-500; +$color-palette-primary-tint: $color-palette-primary-200; + $color-palette-secondary-100: var(--color-palette-secondary-100); $color-palette-secondary-200: var(--color-palette-secondary-200); $color-palette-secondary-300: var(--color-palette-secondary-300); @@ -35,10 +35,6 @@ $color-palette-secondary-700: var(--color-palette-secondary-700); $color-palette-secondary-800: var(--color-palette-secondary-800); $color-palette-secondary-900: var(--color-palette-secondary-900); -$color-palette-secondary-shade: $color-palette-secondary-600; -$color-palette-secondary: $color-palette-secondary-500; -$color-palette-secondary-tint: $color-palette-secondary-200; - $color-palette-secondary-op-10: var(--color-palette-secondary-op-10); $color-palette-secondary-op-20: var(--color-palette-secondary-op-20); $color-palette-secondary-op-30: var(--color-palette-secondary-op-30); @@ -49,6 +45,10 @@ $color-palette-secondary-op-70: var(--color-palette-secondary-op-70); $color-palette-secondary-op-80: var(--color-palette-secondary-op-80); $color-palette-secondary-op-90: var(--color-palette-secondary-op-90); +$color-palette-secondary-shade: $color-palette-secondary-600; +$color-palette-secondary: $color-palette-secondary-500; +$color-palette-secondary-tint: $color-palette-secondary-200; + $color-palette-black-op-10: var(--color-palette-black-op-10); $color-palette-black-op-20: var(--color-palette-black-op-20); $color-palette-black-op-30: var(--color-palette-black-op-30); @@ -427,4 +427,4 @@ $success: $color-accessible-text-green; --color-background: #3a3847; --empty-message: ""; -} +} \ No newline at end of file From f1e9d7c67582d8a80fa44dace50fc710c1888d9a Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Wed, 31 Jul 2024 15:08:13 -0400 Subject: [PATCH 07/13] chore(editor-content): working on tests --- .../utils/category-field.utils.spec.ts | 37 +- core-web/yarn.lock | 386 +++++++++--------- 2 files changed, 230 insertions(+), 193 deletions(-) diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.spec.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.spec.ts index 5e2610c454a5..1f7627c4e9b5 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.spec.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.spec.ts @@ -9,7 +9,8 @@ import { removeEmptyArrays, removeItemByKey, transformCategories, - updateChecked + updateChecked, + getMenuItemsFromKeyParentPath, } from './category-field.utils'; import { @@ -541,6 +542,40 @@ describe('CategoryFieldUtils', () => { expect(result).toEqual([]); }); + + + // + it('should build the breadcrumb according to categories', () => { + const array: DotCategory[][] = [ + [{ + key: '1', + inode: 'inode1', + categoryName: 'Category 1', + childrenCount: 0, + active: true, + categoryVelocityVarName: '', + description: null, + iDate: 0, + identifier: null, + keywords: null, + modDate: 0, + owner: '', + sortOrder: 0, + type: '' + }], + ]; + const result = getMenuItemsFromKeyParentPath(array, keyParentPath); + expect(result).toEqual([ + { + key: '1', + inode: 'inode1', + value: 'Category 1', + hasChildren: false, + clicked: false, + path: '' + } + ]); + }); }); describe('transformSelectedCategories', () => { it('should return an empty array if contentlet is not provided', () => { diff --git a/core-web/yarn.lock b/core-web/yarn.lock index fb9eb00b9e27..7b97414c687c 100644 --- a/core-web/yarn.lock +++ b/core-web/yarn.lock @@ -627,18 +627,20 @@ js-tokens "^4.0.0" picocolors "^1.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.21.4", "@babel/parser@^7.23.0", "@babel/parser@^7.23.9", "@babel/parser@^7.24.0", "@babel/parser@^7.25.0": - version "7.25.0" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.25.0.tgz#9fdc9237504d797b6e7b8f66e78ea7f570d256ad" - integrity sha512-CzdIU9jdP0dg7HdyB+bHvDJGagUv+qtzZt5rYCWwW6tITNqV9odjp6Qu41gkG0ca5UfdDUWrKkiAnHHdGRnOrA== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.21.4", "@babel/parser@^7.23.0", "@babel/parser@^7.23.9", "@babel/parser@^7.24.0", "@babel/parser@^7.25.0", "@babel/parser@^7.25.3": + version "7.25.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.25.3.tgz#91fb126768d944966263f0657ab222a642b82065" + integrity sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw== + dependencies: + "@babel/types" "^7.25.2" -"@babel/plugin-bugfix-firefox-class-in-computed-class-key@^7.25.0": - version "7.25.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.25.0.tgz#328275f22d809b962978d998c6eba22a233ac8aa" - integrity sha512-dG0aApncVQwAUJa8tP1VHTnmU67BeIQvKafd3raEx315H54FfkZSz3B/TT+33ZQAjatGJA79gZqTtqL5QZUKXw== +"@babel/plugin-bugfix-firefox-class-in-computed-class-key@^7.25.3": + version "7.25.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.25.3.tgz#dca427b45a6c0f5c095a1c639dfe2476a3daba7f" + integrity sha512-wUrcsxZg6rqBXG05HG1FPYgsP6EvwF4WpBbxIpWIIYnH8wG0gzx3yZY3dtEHas4sTAOGkbTsc9EGPxwff8lRoA== dependencies: "@babel/helper-plugin-utils" "^7.24.8" - "@babel/traverse" "^7.25.0" + "@babel/traverse" "^7.25.3" "@babel/plugin-bugfix-safari-class-field-initializer-scope@^7.25.0": version "7.25.0" @@ -1429,15 +1431,15 @@ semver "^6.3.1" "@babel/preset-env@^7.19.4", "@babel/preset-env@^7.20.2", "@babel/preset-env@^7.23.2", "@babel/preset-env@^7.24.6": - version "7.25.2" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.25.2.tgz#15918e9d050c4713a2ab8fa2fa82514eaf16676e" - integrity sha512-Y2Vkwy3ITW4id9c6KXshVV/x5yCGK7VdJmKkzOzNsDZMojRKfSA/033rRbLqlRozmhRXCejxWHLSJOg/wUHfzw== + version "7.25.3" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.25.3.tgz#0bf4769d84ac51d1073ab4a86f00f30a3a83c67c" + integrity sha512-QsYW7UeAaXvLPX9tdVliMJE7MD7M6MLYVTovRTIwhoYQVFHR1rM4wO8wqAezYi3/BpSD+NzVCZ69R6smWiIi8g== dependencies: "@babel/compat-data" "^7.25.2" "@babel/helper-compilation-targets" "^7.25.2" "@babel/helper-plugin-utils" "^7.24.8" "@babel/helper-validator-option" "^7.24.8" - "@babel/plugin-bugfix-firefox-class-in-computed-class-key" "^7.25.0" + "@babel/plugin-bugfix-firefox-class-in-computed-class-key" "^7.25.3" "@babel/plugin-bugfix-safari-class-field-initializer-scope" "^7.25.0" "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.25.0" "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.24.7" @@ -1597,14 +1599,14 @@ "@babel/parser" "^7.25.0" "@babel/types" "^7.25.0" -"@babel/traverse@^7.16.0", "@babel/traverse@^7.23.2", "@babel/traverse@^7.23.9", "@babel/traverse@^7.24.0", "@babel/traverse@^7.24.7", "@babel/traverse@^7.24.8", "@babel/traverse@^7.25.0", "@babel/traverse@^7.25.1", "@babel/traverse@^7.25.2": - version "7.25.2" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.25.2.tgz#1a0a4aef53177bead359ccd0c89f4426c805b2ae" - integrity sha512-s4/r+a7xTnny2O6FcZzqgT6nE4/GHEdcqj4qAeglbUOh0TeglEfmNJFAd/OLoVtGd6ZhAO8GCVvCNUO5t/VJVQ== +"@babel/traverse@^7.16.0", "@babel/traverse@^7.23.2", "@babel/traverse@^7.23.9", "@babel/traverse@^7.24.0", "@babel/traverse@^7.24.7", "@babel/traverse@^7.24.8", "@babel/traverse@^7.25.0", "@babel/traverse@^7.25.1", "@babel/traverse@^7.25.2", "@babel/traverse@^7.25.3": + version "7.25.3" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.25.3.tgz#f1b901951c83eda2f3e29450ce92743783373490" + integrity sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ== dependencies: "@babel/code-frame" "^7.24.7" "@babel/generator" "^7.25.0" - "@babel/parser" "^7.25.0" + "@babel/parser" "^7.25.3" "@babel/template" "^7.25.0" "@babel/types" "^7.25.2" debug "^4.3.1" @@ -3645,12 +3647,12 @@ dependencies: "@nx/devkit" "18.3.5" -"@nrwl/devkit@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-19.5.3.tgz#b5b309682b2801e649d806b5a08d35804bb0c4f2" - integrity sha512-kd6eIQjWuFHdO14wVu0rzGtoPbO3EdYM/3gATOupxBzlqD+7dmkvv1Olbri9v598mDApXQNo8q81L2masTAhvg== +"@nrwl/devkit@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-19.5.4.tgz#fdc89b6b722dbb5826eb9c33193a313d6c6a74ed" + integrity sha512-T3cRQErKfEyrx9x+xsnY4kg5+vmwPn3UQY1GwsPuuhqYeJn2NAQFzb8gcnZ6mSTqughum3eqp2nNDmpUkWO7tg== dependencies: - "@nx/devkit" "19.5.3" + "@nx/devkit" "19.5.4" "@nrwl/esbuild@18.3.5": version "18.3.5" @@ -3694,19 +3696,19 @@ dependencies: "@nx/js" "18.3.5" -"@nrwl/js@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nrwl/js/-/js-19.5.3.tgz#f4174ee255473dd65ec16e1eb3fdd71c479238a9" - integrity sha512-86qnph/V0uy1Qc5jO6z+MAdqW1kB1dOdKDTIAr0mauy23FMOmLUo5dr0UdG8HQKtF8k7ceEsycZdSlwXbC+ltQ== +"@nrwl/js@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nrwl/js/-/js-19.5.4.tgz#be388b3ce9b75117fb57d06e4f24f42861e02459" + integrity sha512-LIhqrS8hSvVkZp5Qu0Cu0oiNaZjKPOpx9cDn0YKT+XmELdhjywZjcNBv8m9jE27wMX5ritVoVGiPLGUnpQlQmw== dependencies: - "@nx/js" "19.5.3" + "@nx/js" "19.5.4" "@nrwl/linter@^19.5.1": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nrwl/linter/-/linter-19.5.3.tgz#3c663b72da7d348b2c99d2eb6baa948449a6b498" - integrity sha512-/FeYzPAGlm7zRWyxL021ggrdJar01n9I+cOra+ttDGf0BoMnSl/2hX8pJBpaHQVExv09mm6lgDnqiFtQVfOA7Q== + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nrwl/linter/-/linter-19.5.4.tgz#b834aa04640bf5023ed72ea579009826ee77909b" + integrity sha512-1pMQNWIWrp0cOy7a0EnIpQuwnn47JFmS6c+Pg22cx4SBTeViOtFR79UOr6bcYpeJFivZ2C2ld+9zzgzhk+6GIA== dependencies: - "@nx/eslint" "19.5.3" + "@nx/eslint" "19.5.4" "@nrwl/node@18.3.5": version "18.3.5" @@ -3760,12 +3762,12 @@ nx "18.3.5" tslib "^2.3.0" -"@nrwl/tao@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-19.5.3.tgz#ea3d1d5bf1dd477ef946358a1931fe533cd9a504" - integrity sha512-SHtPlQi7zofDdbFjqcrTb/A0Mo9tT8S88H8nJa1+GzhKpGUB9rykHtq0qoYdiRBnQfmfR5LoKfe/jft61Ktvdg== +"@nrwl/tao@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-19.5.4.tgz#cfc0f3f5aa6e304b2a9ed1e733a2f59373dd38a6" + integrity sha512-LNCi+2Rb17wNkUUdX2OQPRv9qOrstlmuAAA9VVcIcW78NdybjgWWvMIhf4NrAkjn7/uALrZdv22zyiGekmheDw== dependencies: - nx "19.5.3" + nx "19.5.4" tslib "^2.3.0" "@nrwl/vite@18.3.5": @@ -3817,12 +3819,12 @@ dependencies: "@nx/workspace" "18.3.5" -"@nrwl/workspace@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nrwl/workspace/-/workspace-19.5.3.tgz#d8443c9dee6a6618e6976771b2a17ac30f30fe72" - integrity sha512-ZMVira0WARcwqcyteSBjk5OU4LDwRwAyM4Rl1E+inP01u0xIrk9FLre2e5USI4kMUGNZ9uRoffHpvGsXz1m3JQ== +"@nrwl/workspace@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nrwl/workspace/-/workspace-19.5.4.tgz#a47738a08462cb9056629bfe7c960e370fe39db9" + integrity sha512-0vrhaotIhuNbP5qeKBC0xC9sEZfpPfUG27lf/mVWdkRCreJXFrIJL+R74care9gnDr9ZFR8a1LalYB1JuG5QWA== dependencies: - "@nx/workspace" "19.5.3" + "@nx/workspace" "19.5.4" "@nx/angular@17.3.2", "@nx/angular@^17.2.0": version "17.3.2" @@ -3945,12 +3947,12 @@ tslib "^2.3.0" yargs-parser "21.1.1" -"@nx/devkit@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nx/devkit/-/devkit-19.5.3.tgz#fb4416ebce5f9f098c4ddcbb498de29344bd30cc" - integrity sha512-OUi8OJkoT+y3LwXACO6ugF9l6QppUyHrBIZYOTffBa1ZrnkpJrw03smy+GhAt+BDoeNGEuOPHGvOSV4AmRxnmg== +"@nx/devkit@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nx/devkit/-/devkit-19.5.4.tgz#642272f65b8cb0a6d27317c7fc3b1529209e3ce1" + integrity sha512-0TG2iU0xVRuElLP2aLeRSKUynsC+UgHqE/FJW2IcglHngs2/Duw2A4HDUVVOxztkEQPmp736qkYSwFO0nlOGxg== dependencies: - "@nrwl/devkit" "19.5.3" + "@nrwl/devkit" "19.5.4" ejs "^3.1.7" enquirer "~2.3.6" ignore "^5.0.4" @@ -4014,14 +4016,14 @@ tslib "^2.3.0" typescript "~5.4.2" -"@nx/eslint@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nx/eslint/-/eslint-19.5.3.tgz#0ddc926496cf5dfdaada816c44cdeb4c71a19d15" - integrity sha512-Ihoe3526kv/B47RWRTnFTW/wybDjCoUCRpPSSdgdoO6YKHrMQ9ABcTR0OEZORRCi1mbCzvA2JXkjG17RFrxEVA== +"@nx/eslint@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nx/eslint/-/eslint-19.5.4.tgz#1b532dbe41515e7b768e1f7dabb4099c0f77e27f" + integrity sha512-mFqVAdopv7CUwtzRtY64QF2B8wh0gHsne0iQJNPV78h5n2AzJBqgj1h3+UL8fOqqiloEfiHzKLz2myx2DEQbnQ== dependencies: - "@nx/devkit" "19.5.3" - "@nx/js" "19.5.3" - "@nx/linter" "19.5.3" + "@nx/devkit" "19.5.4" + "@nx/js" "19.5.4" + "@nx/linter" "19.5.4" semver "^7.5.3" tslib "^2.3.0" typescript "~5.4.2" @@ -4139,10 +4141,10 @@ tsconfig-paths "^4.1.2" tslib "^2.3.0" -"@nx/js@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nx/js/-/js-19.5.3.tgz#08cc5b0435178f105b273c4050af47e27699d078" - integrity sha512-NcL3RicE5b+nvnAQkz2rVDMIcmM62o98SqIF6SmPaevJxMu+2YhlSU4p6btrFDDl3gSvQkhvVAoAsRpb3s1nJQ== +"@nx/js@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nx/js/-/js-19.5.4.tgz#f9584c96ac92cb3cfc9e6353ac09e642d242236f" + integrity sha512-PkilOEL/JyQrZjTeuPc1Z+LfJ3kr6/Lxas/hzAjENh2mleNjaDgDVP4/2KxvHexP09wu6BARNDdsK1sXMhpPyA== dependencies: "@babel/core" "^7.23.2" "@babel/plugin-proposal-decorators" "^7.22.7" @@ -4151,9 +4153,9 @@ "@babel/preset-env" "^7.23.2" "@babel/preset-typescript" "^7.22.5" "@babel/runtime" "^7.22.6" - "@nrwl/js" "19.5.3" - "@nx/devkit" "19.5.3" - "@nx/workspace" "19.5.3" + "@nrwl/js" "19.5.4" + "@nx/devkit" "19.5.4" + "@nx/workspace" "19.5.4" babel-plugin-const-enum "^1.0.1" babel-plugin-macros "^2.8.0" babel-plugin-transform-typescript-metadata "^0.3.1" @@ -4188,12 +4190,12 @@ dependencies: "@nx/eslint" "18.3.5" -"@nx/linter@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nx/linter/-/linter-19.5.3.tgz#43078ff817ba962393ebe571aefef20a442fd763" - integrity sha512-+aFsSPlBmosUfp0mC5HnzFKeqTsjsw9cLZM/7NxJNRq3nUIVaxZSx97OSVm5o1LPS9jybtZg2RdO0s/y/FbVjA== +"@nx/linter@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nx/linter/-/linter-19.5.4.tgz#0263d3ee013bf170c785c6c215e9cf28a0c23654" + integrity sha512-RyXO75nd316kthV6KEK/4EptPdc8Y7Pi3sWmHGZdNwMDcEP9IDuYpCginF0/m7SWOMU1PXR/5c9oJJt7SolsPQ== dependencies: - "@nx/eslint" "19.5.3" + "@nx/eslint" "19.5.4" "@nx/node@18.3.5": version "18.3.5" @@ -4222,10 +4224,10 @@ resolved "https://registry.yarnpkg.com/@nx/nx-darwin-arm64/-/nx-darwin-arm64-18.3.5.tgz#5320a7b00a2e9c43e994dc72a0340379ae3d9afc" integrity sha512-4I5UpZ/x2WO9OQyETXKjaYhXiZKUTYcLPewruRMODWu6lgTM9hHci0SqMQB+TWe3f80K8VT8J8x3+uJjvllGlg== -"@nx/nx-darwin-arm64@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nx/nx-darwin-arm64/-/nx-darwin-arm64-19.5.3.tgz#9c811656381c7910494d8838b7303fd8cbacbc53" - integrity sha512-DacVfnhx7wiglDXRAdbrmaP4s3ZQXMs8Mk0fGoQYjv1uwWajDOPxMYJUZH0CGysIDADSrku4AIqogGX/CZjSuQ== +"@nx/nx-darwin-arm64@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nx/nx-darwin-arm64/-/nx-darwin-arm64-19.5.4.tgz#e2e206c44ddb601d8188b5926f405004bc150881" + integrity sha512-s+OmSsYUtECmEKAdzSsYoO9vamx+njiP72eSZusmTh7fCJg+dW3dcifRkUf3h1dcM53hffXcmxKEoWxZMAeuXw== "@nx/nx-darwin-x64@17.0.1": version "17.0.1" @@ -4242,10 +4244,10 @@ resolved "https://registry.yarnpkg.com/@nx/nx-darwin-x64/-/nx-darwin-x64-18.3.5.tgz#7dbf4c43be6a25decbae1a41ea69620c95926d2f" integrity sha512-Drn6jOG237AD/s6OWPt06bsMj0coGKA5Ce1y5gfLhptOGk4S4UPE/Ay5YCjq+/yhTo1gDHzCHxH0uW2X9MN9Fg== -"@nx/nx-darwin-x64@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nx/nx-darwin-x64/-/nx-darwin-x64-19.5.3.tgz#ab1e2456437b7b17cba6d0c0b64d18bd4d2e7766" - integrity sha512-AfY1g8nYJbBGiR2SDt/Q8YcQyuwtRmGxfJIrzCu+2+hFFds7RF9iaqeKedWeHN9wAsaTbDnBuDwwojT9LMOxaA== +"@nx/nx-darwin-x64@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nx/nx-darwin-x64/-/nx-darwin-x64-19.5.4.tgz#2b0c72faaef454a51b5a6aa95ec8802fb76280bb" + integrity sha512-GjA6aThF9P7FR3OdNZn4g9c1bJeQMOdQmo2jaBaGmUPnOIZSEWinHkvh5g8vDg+jNwRdHKK84jJWWW0/o73iYQ== "@nx/nx-freebsd-x64@17.0.1": version "17.0.1" @@ -4262,10 +4264,10 @@ resolved "https://registry.yarnpkg.com/@nx/nx-freebsd-x64/-/nx-freebsd-x64-18.3.5.tgz#51b33dfda4f5aad4c0cfd524b59b41fedd9f802a" integrity sha512-8tA8Yw0Iir4liFjffIFS5THTS3TtWY/No2tkVj91gwy/QQ/otvKbOyc5RCIPpbZU6GS3ZWfG92VyCSm06dtMFg== -"@nx/nx-freebsd-x64@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nx/nx-freebsd-x64/-/nx-freebsd-x64-19.5.3.tgz#cf3513e555c9f0df0b890bebfc799981171c80da" - integrity sha512-dWwxFs9bp67n/l1QhI41pSJk+mpwDNh7RY+WQBUldWbIyh8c4/wYk3VaqjALPCcGUky/RCME6rdLkqxFRAIs4A== +"@nx/nx-freebsd-x64@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nx/nx-freebsd-x64/-/nx-freebsd-x64-19.5.4.tgz#1ee91b36ece414d7e9ae5bdf097e27c9a6f662fc" + integrity sha512-KPVTmg2NpvON3+sh2pNWv2GJow5CL3fX2xBo4cI9D50DDZOD4fB68S2v5q6nLC1QWOwQcC0PLnSpoKaDB0PgQg== "@nx/nx-linux-arm-gnueabihf@17.0.1": version "17.0.1" @@ -4282,10 +4284,10 @@ resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-18.3.5.tgz#d85a0a859d7cea455d1f32bdcceab5d621b6c6a5" integrity sha512-BrPGAHM9FCGkB9/hbvlJhe+qtjmvpjIjYixGIlUxL3gGc8E/ucTyCnz5pRFFPFQlBM7Z/9XmbHvGPoUi/LYn5A== -"@nx/nx-linux-arm-gnueabihf@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-19.5.3.tgz#756b2521475f203cf83990075abba51919854c46" - integrity sha512-7l79OXwKVqnTr6/85mVPU+h3nnxGDAWgY6kTJNdmuaFlDgbHKbcNo9FFSu2srdqr1x84UsU49w8ZBJbdwA5YSg== +"@nx/nx-linux-arm-gnueabihf@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-19.5.4.tgz#fed20c0d38ac77a3e1b766e249de66ad74990f78" + integrity sha512-a535HwxVhTS+ngcoFxrsqmggpsKWquubILZhIeY/q+XW6nX61FEb/EqlMkc+aJLHD1LQBGax1W+j7YvTA/66Lw== "@nx/nx-linux-arm64-gnu@17.0.1": version "17.0.1" @@ -4302,10 +4304,10 @@ resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-18.3.5.tgz#1d7074ee2f74d2ef9c6d0ee532ec9eede2e84c34" integrity sha512-/Xd0Q3LBgJeigJqXC/Jck/9l5b+fK+FCM0nRFMXgPXrhZPhoxWouFkoYl2F1Ofr+AQf4jup4DkVTB5r98uxSCA== -"@nx/nx-linux-arm64-gnu@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-19.5.3.tgz#f5075f4d87de3bfc66d6e08318a53dc5f3a5a233" - integrity sha512-aFCuoUiEI20tGCxdUDO0JWCWli3RH0LPCXjnQ4H4pNMzT8zpvjvu+Js7FtwFG+NZWOdlmtiDlthnVAd+5ex6Wg== +"@nx/nx-linux-arm64-gnu@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-19.5.4.tgz#352e1dc92c63467d4536ac300df14bfa4dde0bfb" + integrity sha512-eRu/IoPB68MQeEmfyub+P79eDYvXOyNa706rp0JnDHL5LMw12kPF3MIeqc/v7o6xWakGHCSnTCulcqsl8HXryg== "@nx/nx-linux-arm64-musl@17.0.1": version "17.0.1" @@ -4322,10 +4324,10 @@ resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-18.3.5.tgz#f923459128b94220ed25fb71a71ab2a548609e3e" integrity sha512-r18qd7pUrl1haAZ/e9Q+xaFTsLJnxGARQcf/Y76q+K2psKmiUXoRlqd3HAOw43KTllaUJ5HkzLq2pIwg3p+xBw== -"@nx/nx-linux-arm64-musl@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-19.5.3.tgz#cd47a9c77430dbbde314414821ba48255456a82d" - integrity sha512-gcjdlGvgQ4ahSfPpMw32cr7GrCYhr/58D1R/bbyem0QQg+EdLbLlhhdS2pAHBCoENfpSnknQZhMrUN1LR8Qmpw== +"@nx/nx-linux-arm64-musl@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-19.5.4.tgz#5aa0f9ace52c469f16e76b4af48f442203280c40" + integrity sha512-r5NNVngNwTe+zpUAAZAgCezDkjc0pi2zrr8VwiaRZsmVjhHtvvsXJgo1ONw5s2HjKoKuTFEa5jKTUlAHkaQ7Kg== "@nx/nx-linux-x64-gnu@17.0.1": version "17.0.1" @@ -4342,10 +4344,10 @@ resolved "https://registry.yarnpkg.com/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-18.3.5.tgz#2ea832b2018614609a633376c29e6e0a42a73d29" integrity sha512-vYrikG6ff4I9cvr3Ysk3y3gjQ9cDcvr3iAr+4qqcQ4qVE+OLL2++JDS6xfPvG/TbS3GTQpyy2STRBwiHgxTeJw== -"@nx/nx-linux-x64-gnu@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-19.5.3.tgz#850a1185d9f6b63acad7fc8fd46faf6b99b1dfd5" - integrity sha512-Jwu6peOyaV9WTR1ihzfIIqEBYsbOSy0cH8H36ce17zpemq6l/Cz5EJ7blVXut1qksMFvC/QbkTWqTlfO5XEHIw== +"@nx/nx-linux-x64-gnu@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-19.5.4.tgz#97ed9caecb1a94ed03367e946d8bf6475cf5549a" + integrity sha512-8TWwjyp/bK2a/CHK2HuC7I8iITC9ytEvfru8/kw1mSyoK4kSDlzkL/1uDl536ULXLWORulfEzaGb61GynVc1vg== "@nx/nx-linux-x64-musl@17.0.1": version "17.0.1" @@ -4362,10 +4364,10 @@ resolved "https://registry.yarnpkg.com/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-18.3.5.tgz#6c6ece5ab1c536d9c22fc8d8ebfcbfe043d9dd57" integrity sha512-6np86lcYy3+x6kkW/HrBHIdNWbUu/MIsvMuNH5UXgyFs60l5Z7Cocay2f7WOaAbTLVAr0W7p4RxRPamHLRwWFA== -"@nx/nx-linux-x64-musl@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-19.5.3.tgz#c39dfba8a1520f60c9e1ed776cf57760ef1e6731" - integrity sha512-84KnkghjbInJAoWvCJB34lHq9iGCgo5KjcxUFZJFNDYTQh/VBTp/OhH8bFyPRwQTPVSToLeBhoFvGB1bqBekrA== +"@nx/nx-linux-x64-musl@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-19.5.4.tgz#d4e39ce08ac8834753787c39fef0bab89d4c5817" + integrity sha512-5Pf32iv9nnmSV/oOHd9k/5L45m3BooSj096G/ejAN3BHMr4CZIMhjDcQq9ZX7pAZFchU5zL0+dNClK70QfA7PA== "@nx/nx-win32-arm64-msvc@17.0.1": version "17.0.1" @@ -4382,10 +4384,10 @@ resolved "https://registry.yarnpkg.com/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-18.3.5.tgz#f78d67d590b62c61dcf791ebd9a4ffad2be8986d" integrity sha512-H3p2ZVhHV1WQWTICrQUTplOkNId0y3c23X3A2fXXFDbWSBs0UgW7m55LhMcA9p0XZ7wDHgh+yFtVgu55TXLjug== -"@nx/nx-win32-arm64-msvc@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-19.5.3.tgz#6a10b99e180b3d4ba1f1e131ca8ab1e3b44890e9" - integrity sha512-q19m59cm+VTZzlHh+/dSHism7hgKfGHR+nW5xtxIF00rZQpJpv0ve7GVvyXPFw7NXvceYRK1THes1MljYXyslQ== +"@nx/nx-win32-arm64-msvc@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-19.5.4.tgz#181ba1b180cbabe957d0514339a7798755ed6c52" + integrity sha512-fyKGfde4Pq9r5qQMLIleujq7B5ta86y8RSPUruoN6zaGrNg6waqbpMdZUjjsg9L7PP9RPaMHPMubC21OnQQomQ== "@nx/nx-win32-x64-msvc@17.0.1": version "17.0.1" @@ -4402,10 +4404,10 @@ resolved "https://registry.yarnpkg.com/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-18.3.5.tgz#fe5eee2d01dd4d1da556869ef465d624942cd01e" integrity sha512-xFwKVTIXSgjdfxkpriqHv5NpmmFILTrWLEkUGSoimuRaAm1u15YWx/VmaUQ+UWuJnmgqvB/so4SMHSfNkq3ijA== -"@nx/nx-win32-x64-msvc@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-19.5.3.tgz#df50f23ee397a6809a791191efa606f0dae7854b" - integrity sha512-DOdO7K6ySiwrXsnJNjJXxng427n5+nXIDt4L81ltCdr6oE8wUiUpRTt1dfl65rHknojB/b1at3V6+x450F0/2A== +"@nx/nx-win32-x64-msvc@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-19.5.4.tgz#15507d7c6e28e14bedfb5506f9fb8d8c4482205a" + integrity sha512-gcAr5zZQKiAxHZ7iUOVeMLf/KIh4EFbF07Q0uSmgGmUJL1u3mZTjeG57V1AMZbTQESGY43rgoymqVYkghc5Jlw== "@nx/react@18.3.5": version "18.3.5" @@ -4612,16 +4614,16 @@ tslib "^2.3.0" yargs-parser "21.1.1" -"@nx/workspace@19.5.3": - version "19.5.3" - resolved "https://registry.yarnpkg.com/@nx/workspace/-/workspace-19.5.3.tgz#e9de0e047ae846733b678ea7afa9118b40494a6c" - integrity sha512-nGBN8R/eGVYGHphSAYAXGjyuQx1/Fb27hoGATTop9LBxbzA0QnokRN95Vx9/UFMCJU3Mf5GlXD+x6vCbrRSWug== +"@nx/workspace@19.5.4": + version "19.5.4" + resolved "https://registry.yarnpkg.com/@nx/workspace/-/workspace-19.5.4.tgz#8835d3439ba1805f069871f3f16ccae85ebc30fa" + integrity sha512-GI3uMJYwPxjPGHA0UuXZtIqf/fgiCDq63Ns7zpdzwaeOvQbtHySFVV6zclXx/3dXjJsBpEiOYNKPGf17jqx6Dw== dependencies: - "@nrwl/workspace" "19.5.3" - "@nx/devkit" "19.5.3" + "@nrwl/workspace" "19.5.4" + "@nx/devkit" "19.5.4" chalk "^4.1.0" enquirer "~2.3.6" - nx "19.5.3" + nx "19.5.4" tslib "^2.3.0" yargs-parser "21.1.1" @@ -6232,74 +6234,74 @@ "@svgr/plugin-jsx" "8.1.0" "@svgr/plugin-svgo" "8.1.0" -"@swc/core-darwin-arm64@1.7.3": - version "1.7.3" - resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.7.3.tgz#ab6e9e126628cdd4a9f53dcdd99b08a5e07a2122" - integrity sha512-CTkHa6MJdov9t41vuV2kmQIMu+Q19LrEHGIR/UiJYH06SC/sOu35ZZH8DyfLp9ZoaCn21gwgWd61ixOGQlwzTw== +"@swc/core-darwin-arm64@1.7.4": + version "1.7.4" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.7.4.tgz#93c7a579e13bf80a39f5e8303c9f49d0d48ac673" + integrity sha512-RbWrdGh+x9xKFUA9/kPZRR8OPxUsDUuPyLjPIGLYZMO+ftht2vhVH7QsUq6lg+jAP34eIya72UA1isiZe+BRaA== -"@swc/core-darwin-x64@1.7.3": - version "1.7.3" - resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.7.3.tgz#8dacc0e9b61cc7e88bff1a53ae96d4bea992e710" - integrity sha512-mun623y6rCoZ2EFIYfIRqXYRFufJOopoYSJcxYhZUrfTpAvQ1zLngjQpWCUU1krggXR2U0PQj+ls0DfXUTraNg== +"@swc/core-darwin-x64@1.7.4": + version "1.7.4" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.7.4.tgz#fa0e535aefd0551c01cc30f6abf20842dd61d8c7" + integrity sha512-TxCWMJs4OrqApjFuT8cUiqMz0zg97F0JsXBEeZ7zjkyv9XJ/rN2pdwqMlZv0Wv2C2rivOPo6FsWYlZ3V8ZHhyA== -"@swc/core-linux-arm-gnueabihf@1.7.3": - version "1.7.3" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.7.3.tgz#57dfcb332f4e47cddd679174bc048ce107296344" - integrity sha512-4Jz4UcIcvZNMp9qoHbBx35bo3rjt8hpYLPqnR4FFq6gkAsJIMFC56UhRZwdEQoDuYiOFMBnnrsg31Fyo6YQypA== +"@swc/core-linux-arm-gnueabihf@1.7.4": + version "1.7.4" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.7.4.tgz#d5cdd1685012bbe855e9b51bf4867aacc31915cd" + integrity sha512-5IhwIJZAgkkfI6PqgQ3xk0/2hTAVsAczIPLiR2Epp30EgsNo1KIFL0ZHzrnvJPy5BZ3jy3T1dEbDE/memBOEmA== -"@swc/core-linux-arm64-gnu@1.7.3": - version "1.7.3" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.7.3.tgz#c8bfdf93a29b6ec25c44380350ddf28ffde353e5" - integrity sha512-p+U/M/oqV7HC4erQ5TVWHhJU1984QD+wQBPxslAYq751bOQGm0R/mXK42GjugqjnR6yYrAiwKKbpq4iWVXNePA== +"@swc/core-linux-arm64-gnu@1.7.4": + version "1.7.4" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.7.4.tgz#2a110cd8fbdb4a61f4f95444c71d9e5eb3fe1c7d" + integrity sha512-0787jri83jigf26mF8FndWehh7jqMaHwAm/OV6VdToyNo/g+d1AxVpkEizrywZK46el+AObnHUIHIHwZgO21LA== -"@swc/core-linux-arm64-musl@1.7.3": - version "1.7.3" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.7.3.tgz#e5948128209b76764a8018a14a7a670d737a04c4" - integrity sha512-s6VzyaJwaRGTi2mz2h6Ywxfmgpkc69IxhuMzl+sl34plH0V0RgnZDm14HoCGIKIzRk4+a2EcBV1ZLAfWmPACQg== +"@swc/core-linux-arm64-musl@1.7.4": + version "1.7.4" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.7.4.tgz#a06c91a9e1bd89ed5545b20807993cbe5a12f9ea" + integrity sha512-A45hGKWAGcjU5Ol0uQUoK0tHerwEKxfprYUZbmPLpD2yrpMZr+dTrwY2n075sixs7RuZEccBkgGNpehEe5BPBQ== -"@swc/core-linux-x64-gnu@1.7.3": - version "1.7.3" - resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.7.3.tgz#70e46e0b9f2add154aa45bbae5f0b8eda2baa677" - integrity sha512-IrFY48C356Z2dU2pjYg080yvMXzmSV3Lmm/Wna4cfcB1nkVLjWsuYwwRAk9CY7E19c+q8N1sMNggubAUDYoX2g== +"@swc/core-linux-x64-gnu@1.7.4": + version "1.7.4" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.7.4.tgz#392dc08ab322bcef3323910f6c9bb3af52861cfb" + integrity sha512-bcO1MpAm39TXqqHuYW4ox4vDvhB7jkguwMwxvmL+cKBGsUHrIoUTfGt9NM9N4D4CvOwULlxqbyt19veUJ7CVPw== -"@swc/core-linux-x64-musl@1.7.3": - version "1.7.3" - resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.7.3.tgz#52744f190c066fb472da7d2ebb2bbb1b0e8a5288" - integrity sha512-qoLgxBlBnnyUEDu5vmRQqX90h9jldU1JXI96e6eh2d1gJyKRA0oSK7xXmTzorv1fGHiHulv9qiJOUG+g6uzJWg== +"@swc/core-linux-x64-musl@1.7.4": + version "1.7.4" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.7.4.tgz#cb212a23060b45aaa941ea95ffb24a39c8a850a6" + integrity sha512-N6nXuHyDO/q5kPN2xQxz5BEvhFpgnFSkP+9wxg5xWq+qIQL5bv37jk8dkKvMLx/8fHzTqrIjPDSRzVbcL7sqXg== -"@swc/core-win32-arm64-msvc@1.7.3": - version "1.7.3" - resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.7.3.tgz#a67f93d05d49257c3844a5cc866a63910f4b09df" - integrity sha512-OAd7jVVJ7nb0Ev80VAa1aeK+FldPeC4eZ35H4Qn6EICzIz0iqJo2T33qLKkSZiZEBKSoF4KcwrqYfkjLOp5qWg== +"@swc/core-win32-arm64-msvc@1.7.4": + version "1.7.4" + resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.7.4.tgz#4ead71d934d8409f6da3079a84a14b14aa928087" + integrity sha512-7W1owqCNR1cG+mpS55juiZlR/lrAdxB1pH32egeOipNKOLGwyqmlzQ0g9tkQTNgzwgfpCUg8z606+GqqXvajZw== -"@swc/core-win32-ia32-msvc@1.7.3": - version "1.7.3" - resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.7.3.tgz#99fd285d48258790dfd3f5043f7d23077532a17a" - integrity sha512-31+Le1NyfSnILFV9+AhxfFOG0DK0272MNhbIlbcv4w/iqpjkhaOnNQnLsYJD1Ow7lTX1MtIZzTjOhRlzSviRWg== +"@swc/core-win32-ia32-msvc@1.7.4": + version "1.7.4" + resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.7.4.tgz#4cdc45a4a5449c6d413e8efb3b1fd6d50b07c239" + integrity sha512-saLkY+q7zNPk4gYiUBCc93FYPo4ECXMjHcSPtLVHoPZBIxRrklgaAf6aDpblBo30nVdoBE2V3YPd0Y/cPiY6RQ== -"@swc/core-win32-x64-msvc@1.7.3": - version "1.7.3" - resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.7.3.tgz#732a50849836ab2fd44e7d8630cd73a228d3a960" - integrity sha512-jVQPbYrwcuueI4QB0fHC29SVrkFOBcfIspYDlgSoHnEz6tmLMqUy+txZUypY/ZH/KaK0HEY74JkzgbRC1S6LFQ== +"@swc/core-win32-x64-msvc@1.7.4": + version "1.7.4" + resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.7.4.tgz#9b3d3aef77ff6ae299e357f99b4be37e5960430a" + integrity sha512-zKF6jpRBNuVKgOf2W5dMcPyjwcNCp21syjl9lvLRbCeIg+1U+zjdoQCAmMWWoPNE7fLg+yfvohnnOJG2AdzQ9Q== "@swc/core@^1.3.82": - version "1.7.3" - resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.7.3.tgz#c5046b2fb45d2da0b460624b4dc6bd7322e21664" - integrity sha512-HHAlbXjWI6Kl9JmmUW1LSygT1YbblXgj2UvvDzMkTBPRzYMhW6xchxdO8HbtMPtFYRt/EQq9u1z7j4ttRSrFsA== + version "1.7.4" + resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.7.4.tgz#e08ad9ec1ea582e0a5bd9a87fd82eb7766a503c1" + integrity sha512-+wSycNxOw9QQz81AJAZlNS34EtOIifwUXMPACg05PWjECsjOKDTXLCVPx6J0lRaxhHSGBU2OYs9mRfIvxGt3CA== dependencies: "@swc/counter" "^0.1.3" "@swc/types" "^0.1.12" optionalDependencies: - "@swc/core-darwin-arm64" "1.7.3" - "@swc/core-darwin-x64" "1.7.3" - "@swc/core-linux-arm-gnueabihf" "1.7.3" - "@swc/core-linux-arm64-gnu" "1.7.3" - "@swc/core-linux-arm64-musl" "1.7.3" - "@swc/core-linux-x64-gnu" "1.7.3" - "@swc/core-linux-x64-musl" "1.7.3" - "@swc/core-win32-arm64-msvc" "1.7.3" - "@swc/core-win32-ia32-msvc" "1.7.3" - "@swc/core-win32-x64-msvc" "1.7.3" + "@swc/core-darwin-arm64" "1.7.4" + "@swc/core-darwin-x64" "1.7.4" + "@swc/core-linux-arm-gnueabihf" "1.7.4" + "@swc/core-linux-arm64-gnu" "1.7.4" + "@swc/core-linux-arm64-musl" "1.7.4" + "@swc/core-linux-x64-gnu" "1.7.4" + "@swc/core-linux-x64-musl" "1.7.4" + "@swc/core-win32-arm64-msvc" "1.7.4" + "@swc/core-win32-ia32-msvc" "1.7.4" + "@swc/core-win32-x64-msvc" "1.7.4" "@swc/counter@^0.1.3": version "0.1.3" @@ -7074,9 +7076,9 @@ "@types/node" "*" "@types/node@*", "@types/node@>=10.0.0": - version "22.0.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.0.0.tgz#04862a2a71e62264426083abe1e27e87cac05a30" - integrity sha512-VT7KSYudcPOzP5Q0wfbowyNLaVR8QWUdw+088uFWwfvpY6uCWaXpqV6ieLAu9WBcnTa7H4Z5RLK8I5t2FuOcqw== + version "22.0.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.0.1.tgz#98e3ed275e511da5b2391bbcbc88caf2831baa1f" + integrity sha512-RVKWL+s4ax6syie/ev3FXFIs38mke4ZsCDPBcLF2Gu6MbQXKe9Fo9iU0EPUxDB1mDVvC0vCgkV3lKa2f6xIuHg== dependencies: undici-types "~6.11.1" @@ -8736,7 +8738,7 @@ axe-core@=4.7.0: resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.7.0.tgz#34ba5a48a8b564f67e103f0aa5768d76e15bbbbf" integrity sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ== -axios@^1.5.1, axios@^1.6.0: +axios@^1.5.1, axios@^1.6.0, axios@^1.7.2: version "1.7.2" resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621" integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw== @@ -9374,9 +9376,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001579, caniuse-lite@^1.0.30001591, caniuse-lite@^1.0.30001599, caniuse-lite@^1.0.30001640: - version "1.0.30001644" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001644.tgz#bcd4212a7a03bdedba1ea850b8a72bfe4bec2395" - integrity sha512-YGvlOZB4QhZuiis+ETS0VXR+MExbFf4fZYYeMTEE0aTQd/RdIjkTyZjLrbYVKnHzppDvnOhritRVv+i7Go6mHw== + version "1.0.30001645" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001645.tgz#4c4b7427683dea1170a152cd1654be8d0da7bd71" + integrity sha512-GFtY2+qt91kzyMk6j48dJcwJVq5uTkk71XxE3RtScx7XWRLsO7bU44LOFkOZYR8w9YMS0UhPSYpN/6rAMImmLw== canvas@^2.11.2: version "2.11.2" @@ -11654,9 +11656,9 @@ ejs@^3.1.10, ejs@^3.1.7, ejs@^3.1.8: jake "^10.8.5" electron-to-chromium@^1.4.820: - version "1.5.3" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.3.tgz#032bbb8661c0449656fd896e805c8f7150229a0f" - integrity sha512-QNdYSS5i8D9axWp/6XIezRObRHqaav/ur9z1VzCDUCH1XIFOr9WQk5xmgunhsTpjjgDy3oLxO/WMOVZlpUQrlA== + version "1.5.4" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.4.tgz#cd477c830dd6fca41fbd5465c1ff6ce08ac22343" + integrity sha512-orzA81VqLyIGUEA77YkVA1D+N+nNfl2isJVjjmOyrlxuooZ19ynb+dOlaDTqd/idKRS9lDCSBmtzM+kyCsMnkA== elegant-spinner@^1.0.1: version "1.0.1" @@ -18238,17 +18240,17 @@ nx@18.3.5: "@nx/nx-win32-arm64-msvc" "18.3.5" "@nx/nx-win32-x64-msvc" "18.3.5" -nx@19.5.3: - version "19.5.3" - resolved "https://registry.yarnpkg.com/nx/-/nx-19.5.3.tgz#9b7b28651149eda3d40848c9bdedafe93d23baf6" - integrity sha512-ZUrnRwPdRWXeo8IuLj16Oo9IfiDjd8C6xKWC4F6wcTNZ9ZS7ZErrfqaQr04zdO89ASF9brbkqm0UkMyDPc6kPQ== +nx@19.5.4: + version "19.5.4" + resolved "https://registry.yarnpkg.com/nx/-/nx-19.5.4.tgz#8c14e9bf144f0740f9dcd2fc8a03512b99d715f8" + integrity sha512-zfxIFe+29Na6GKlmPPzQhCjnBv5HoLaT43mYZdHh3BPrVOzWBCXNwxWROG1ZK9IcUepwySWq7NI/H3w8BGPEGg== dependencies: "@napi-rs/wasm-runtime" "0.2.4" - "@nrwl/tao" "19.5.3" + "@nrwl/tao" "19.5.4" "@yarnpkg/lockfile" "^1.1.0" "@yarnpkg/parsers" "3.0.0-rc.46" "@zkochan/js-yaml" "0.0.7" - axios "^1.6.0" + axios "^1.7.2" chalk "^4.1.0" cli-cursor "3.1.0" cli-spinners "2.6.1" @@ -18279,16 +18281,16 @@ nx@19.5.3: yargs "^17.6.2" yargs-parser "21.1.1" optionalDependencies: - "@nx/nx-darwin-arm64" "19.5.3" - "@nx/nx-darwin-x64" "19.5.3" - "@nx/nx-freebsd-x64" "19.5.3" - "@nx/nx-linux-arm-gnueabihf" "19.5.3" - "@nx/nx-linux-arm64-gnu" "19.5.3" - "@nx/nx-linux-arm64-musl" "19.5.3" - "@nx/nx-linux-x64-gnu" "19.5.3" - "@nx/nx-linux-x64-musl" "19.5.3" - "@nx/nx-win32-arm64-msvc" "19.5.3" - "@nx/nx-win32-x64-msvc" "19.5.3" + "@nx/nx-darwin-arm64" "19.5.4" + "@nx/nx-darwin-x64" "19.5.4" + "@nx/nx-freebsd-x64" "19.5.4" + "@nx/nx-linux-arm-gnueabihf" "19.5.4" + "@nx/nx-linux-arm64-gnu" "19.5.4" + "@nx/nx-linux-arm64-musl" "19.5.4" + "@nx/nx-linux-x64-gnu" "19.5.4" + "@nx/nx-linux-x64-musl" "19.5.4" + "@nx/nx-win32-arm64-msvc" "19.5.4" + "@nx/nx-win32-x64-msvc" "19.5.4" nypm@^0.3.8: version "0.3.9" From 715ef8a41b744e3fc0d589dd8ec70c44ca0b5ba1 Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Wed, 31 Jul 2024 15:08:44 -0400 Subject: [PATCH 08/13] chore(editor-content): apply format --- core-web/libs/dotcms-scss/shared/_colors.scss | 2 +- .../utils/category-field.utils.spec.ts | 39 ++++++++++--------- 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/core-web/libs/dotcms-scss/shared/_colors.scss b/core-web/libs/dotcms-scss/shared/_colors.scss index 0e8c120ac008..441cea8acc30 100644 --- a/core-web/libs/dotcms-scss/shared/_colors.scss +++ b/core-web/libs/dotcms-scss/shared/_colors.scss @@ -427,4 +427,4 @@ $success: $color-accessible-text-green; --color-background: #3a3847; --empty-message: ""; -} \ No newline at end of file +} diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.spec.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.spec.ts index 1f7627c4e9b5..911fc813c050 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.spec.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/utils/category-field.utils.spec.ts @@ -10,7 +10,7 @@ import { removeItemByKey, transformCategories, updateChecked, - getMenuItemsFromKeyParentPath, + getMenuItemsFromKeyParentPath } from './category-field.utils'; import { @@ -543,26 +543,27 @@ describe('CategoryFieldUtils', () => { expect(result).toEqual([]); }); - - // + // it('should build the breadcrumb according to categories', () => { const array: DotCategory[][] = [ - [{ - key: '1', - inode: 'inode1', - categoryName: 'Category 1', - childrenCount: 0, - active: true, - categoryVelocityVarName: '', - description: null, - iDate: 0, - identifier: null, - keywords: null, - modDate: 0, - owner: '', - sortOrder: 0, - type: '' - }], + [ + { + key: '1', + inode: 'inode1', + categoryName: 'Category 1', + childrenCount: 0, + active: true, + categoryVelocityVarName: '', + description: null, + iDate: 0, + identifier: null, + keywords: null, + modDate: 0, + owner: '', + sortOrder: 0, + type: '' + } + ] ]; const result = getMenuItemsFromKeyParentPath(array, keyParentPath); expect(result).toEqual([ From 71822bd897632ab893d26e968fea8f8f81e15b2e Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Wed, 31 Jul 2024 15:15:06 -0400 Subject: [PATCH 09/13] chore(editor-content): add unit tests --- .../dot-category-field-category-list.component.spec.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.spec.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.spec.ts index 1a2a1df081aa..16c519cbc467 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.spec.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.spec.ts @@ -116,6 +116,15 @@ describe('DotCategoryFieldCategoryListComponent', () => { }); describe('with breadcrumbs', () => { + it('should generate the breadcrumb menu according to the breadcrumb input', () => { + spectator.setInput('breadcrumbs', CATEGORY_MOCK_TRANSFORMED); + spectator.detectChanges(); + + expect(spectator.component.$breadcrumbsMenu().length).toBe( + CATEGORY_MOCK_TRANSFORMED.length + 1 + ); + }); + it('should render the breadcrumbs menu', () => { spectator.setInput('breadcrumbs', []); spectator.detectChanges(); From 6c86622f6a974135ace82054abb1d625d4411e5d Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Wed, 31 Jul 2024 15:57:30 -0400 Subject: [PATCH 10/13] chore(editor-content): add short animation --- .../dot-category-field-list-skeleton.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-list-skeleton/dot-category-field-list-skeleton.component.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-list-skeleton/dot-category-field-list-skeleton.component.ts index bc01231ec0c4..7c9ece11580e 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-list-skeleton/dot-category-field-list-skeleton.component.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-list-skeleton/dot-category-field-list-skeleton.component.ts @@ -8,7 +8,7 @@ import { SkeletonModule } from 'primeng/skeleton'; standalone: true, imports: [CommonModule, SkeletonModule], template: ` -
    +
      @for (_ of $rows(); track $index) {
    • From fd4babd952e0073e2ddc4d0471b625dde257d000 Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Wed, 31 Jul 2024 16:51:50 -0400 Subject: [PATCH 11/13] chore(editor-content): change test name --- .../dot-category-field-category-list.component.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.spec.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.spec.ts index 16c519cbc467..77d1f1e71639 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.spec.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.spec.ts @@ -134,7 +134,7 @@ describe('DotCategoryFieldCategoryListComponent', () => { expect(breadcrumbs.length).toBe(1); }); - it('should emit the correct item when breadcrumb clicked', () => { + it('should emit the correct item when root breadcrumb clicked', () => { spectator.setInput('breadcrumbs', []); spectator.detectChanges(); From 2794afa29ad4a699d5fee713222b32c9aa83455f Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Thu, 1 Aug 2024 12:33:56 -0400 Subject: [PATCH 12/13] chore(edit-content): working on breadcrumbs navigation --- core-web/yarn.lock | 236 ++++++++++++++++++++++----------------------- 1 file changed, 118 insertions(+), 118 deletions(-) diff --git a/core-web/yarn.lock b/core-web/yarn.lock index 7b97414c687c..1ce57e7fec3a 100644 --- a/core-web/yarn.lock +++ b/core-web/yarn.lock @@ -5143,90 +5143,90 @@ estree-walker "^2.0.2" picomatch "^2.3.1" -"@rollup/rollup-android-arm-eabi@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.19.1.tgz#7746deb85e4a8fb54fbfda8ac5c102692f102476" - integrity sha512-XzqSg714++M+FXhHfXpS1tDnNZNpgxxuGZWlRG/jSj+VEPmZ0yg6jV4E0AL3uyBKxO8mO3xtOsP5mQ+XLfrlww== - -"@rollup/rollup-android-arm64@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.19.1.tgz#93de4d867709d3313794723b5afd91e1e174f906" - integrity sha512-thFUbkHteM20BGShD6P08aungq4irbIZKUNbG70LN8RkO7YztcGPiKTTGZS7Kw+x5h8hOXs0i4OaHwFxlpQN6A== - -"@rollup/rollup-darwin-arm64@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.19.1.tgz#e41e6a81673260ab196e0f59462b9940a6ac03cd" - integrity sha512-8o6eqeFZzVLia2hKPUZk4jdE3zW7LCcZr+MD18tXkgBBid3lssGVAYuox8x6YHoEPDdDa9ixTaStcmx88lio5Q== - -"@rollup/rollup-darwin-x64@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.19.1.tgz#2b0a0aef6e8c5317d494cfc9076d7a16b099bdcb" - integrity sha512-4T42heKsnbjkn7ovYiAdDVRRWZLU9Kmhdt6HafZxFcUdpjlBlxj4wDrt1yFWLk7G4+E+8p2C9tcmSu0KA6auGA== - -"@rollup/rollup-linux-arm-gnueabihf@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.19.1.tgz#e22319deb5367384ef315e66bc6de80d2bf2b3ae" - integrity sha512-MXg1xp+e5GhZ3Vit1gGEyoC+dyQUBy2JgVQ+3hUrD9wZMkUw/ywgkpK7oZgnB6kPpGrxJ41clkPPnsknuD6M2Q== - -"@rollup/rollup-linux-arm-musleabihf@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.19.1.tgz#d5dd68f5d7ae21b345a5c87208c94e5c813f54b8" - integrity sha512-DZNLwIY4ftPSRVkJEaxYkq7u2zel7aah57HESuNkUnz+3bZHxwkCUkrfS2IWC1sxK6F2QNIR0Qr/YXw7nkF3Pw== - -"@rollup/rollup-linux-arm64-gnu@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.19.1.tgz#1703d3a418d33f8f025acaf93f39ca1efcd5b645" - integrity sha512-C7evongnjyxdngSDRRSQv5GvyfISizgtk9RM+z2biV5kY6S/NF/wta7K+DanmktC5DkuaJQgoKGf7KUDmA7RUw== - -"@rollup/rollup-linux-arm64-musl@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.19.1.tgz#3f59c2c6e60f75ce8b1090bd841c555e3bb01f0e" - integrity sha512-89tFWqxfxLLHkAthAcrTs9etAoBFRduNfWdl2xUs/yLV+7XDrJ5yuXMHptNqf1Zw0UCA3cAutkAiAokYCkaPtw== - -"@rollup/rollup-linux-powerpc64le-gnu@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.19.1.tgz#3f99a0921596a6f539121a312df29af52a205f15" - integrity sha512-PromGeV50sq+YfaisG8W3fd+Cl6mnOOiNv2qKKqKCpiiEke2KiKVyDqG/Mb9GWKbYMHj5a01fq/qlUR28PFhCQ== - -"@rollup/rollup-linux-riscv64-gnu@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.19.1.tgz#c08fb3e629d50d2eac31329347cfc559a1cf81d1" - integrity sha512-/1BmHYh+iz0cNCP0oHCuF8CSiNj0JOGf0jRlSo3L/FAyZyG2rGBuKpkZVH9YF+x58r1jgWxvm1aRg3DHrLDt6A== - -"@rollup/rollup-linux-s390x-gnu@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.19.1.tgz#173722cd745779d730d4b24d21386185e0e12de8" - integrity sha512-0cYP5rGkQWRZKy9/HtsWVStLXzCF3cCBTRI+qRL8Z+wkYlqN7zrSYm6FuY5Kd5ysS5aH0q5lVgb/WbG4jqXN1Q== - -"@rollup/rollup-linux-x64-gnu@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.19.1.tgz#0af2b6541ab0f4954d2c4f96bcdc7947420dd28c" - integrity sha512-XUXeI9eM8rMP8aGvii/aOOiMvTs7xlCosq9xCjcqI9+5hBxtjDpD+7Abm1ZhVIFE1J2h2VIg0t2DX/gjespC2Q== - -"@rollup/rollup-linux-x64-musl@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.19.1.tgz#f973f9552744764b221128f7c3629222216ace69" - integrity sha512-V7cBw/cKXMfEVhpSvVZhC+iGifD6U1zJ4tbibjjN+Xi3blSXaj/rJynAkCFFQfoG6VZrAiP7uGVzL440Q6Me2Q== - -"@rollup/rollup-win32-arm64-msvc@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.19.1.tgz#21ac5ed84d914bc31821fec3dd909f7257cfb17b" - integrity sha512-88brja2vldW/76jWATlBqHEoGjJLRnP0WOEKAUbMcXaAZnemNhlAHSyj4jIwMoP2T750LE9lblvD4e2jXleZsA== - -"@rollup/rollup-win32-ia32-msvc@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.19.1.tgz#0cfe740063b35dcd5a62c4e243226631a846ce11" - integrity sha512-LdxxcqRVSXi6k6JUrTah1rHuaupoeuiv38du8Mt4r4IPer3kwlTo+RuvfE8KzZ/tL6BhaPlzJ3835i6CxrFIRQ== - -"@rollup/rollup-win32-x64-msvc@4.19.1": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.19.1.tgz#5f2c40d3f1b53ede80fb4e6964f840c0f8936832" - integrity sha512-2bIrL28PcK3YCqD9anGxDxamxdiJAxA+l7fWIwM5o8UqNy1t3d1NdAweO2XhA0KTDJ5aH1FsuiT5+7VhtHliXg== +"@rollup/rollup-android-arm-eabi@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.19.2.tgz#6b991cb44bf69e50163528ea85bed545330ba821" + integrity sha512-OHflWINKtoCFSpm/WmuQaWW4jeX+3Qt3XQDepkkiFTsoxFc5BpF3Z5aDxFZgBqRjO6ATP5+b1iilp4kGIZVWlA== + +"@rollup/rollup-android-arm64@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.19.2.tgz#5d3c8c2f9742d62ba258cc378bd2d4720f0c431c" + integrity sha512-k0OC/b14rNzMLDOE6QMBCjDRm3fQOHAL8Ldc9bxEWvMo4Ty9RY6rWmGetNTWhPo+/+FNd1lsQYRd0/1OSix36A== + +"@rollup/rollup-darwin-arm64@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.19.2.tgz#8eac8682a34a705bb6a57eb3e739fd6bbedfabed" + integrity sha512-IIARRgWCNWMTeQH+kr/gFTHJccKzwEaI0YSvtqkEBPj7AshElFq89TyreKNFAGh5frLfDCbodnq+Ye3dqGKPBw== + +"@rollup/rollup-darwin-x64@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.19.2.tgz#70a9953fc624bd7f645901f4250f6b5807ac7e92" + integrity sha512-52udDMFDv54BTAdnw+KXNF45QCvcJOcYGl3vQkp4vARyrcdI/cXH8VXTEv/8QWfd6Fru8QQuw1b2uNersXOL0g== + +"@rollup/rollup-linux-arm-gnueabihf@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.19.2.tgz#8f6c4ff4c4972413ff94345080380d4e3caa3c69" + integrity sha512-r+SI2t8srMPYZeoa1w0o/AfoVt9akI1ihgazGYPQGRilVAkuzMGiTtexNZkrPkQsyFrvqq/ni8f3zOnHw4hUbA== + +"@rollup/rollup-linux-arm-musleabihf@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.19.2.tgz#5d3c0fe5ea5ddf2feb511b3cb031df17eaa7e33d" + integrity sha512-+tYiL4QVjtI3KliKBGtUU7yhw0GMcJJuB9mLTCEauHEsqfk49gtUBXGtGP3h1LW8MbaTY6rSFIQV1XOBps1gBA== + +"@rollup/rollup-linux-arm64-gnu@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.19.2.tgz#b7f104388b2f5624d9f8adfff10ba59af8ab8ed1" + integrity sha512-OR5DcvZiYN75mXDNQQxlQPTv4D+uNCUsmSCSY2FolLf9W5I4DSoJyg7z9Ea3TjKfhPSGgMJiey1aWvlWuBzMtg== + +"@rollup/rollup-linux-arm64-musl@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.19.2.tgz#6d5ca6d3904309bec285ea5202d589cebb93dee4" + integrity sha512-Hw3jSfWdUSauEYFBSFIte6I8m6jOj+3vifLg8EU3lreWulAUpch4JBjDMtlKosrBzkr0kwKgL9iCfjA8L3geoA== + +"@rollup/rollup-linux-powerpc64le-gnu@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.19.2.tgz#4df9be1396ea9eb0ca99fd0f2e858008d7f063e3" + integrity sha512-rhjvoPBhBwVnJRq/+hi2Q3EMiVF538/o9dBuj9TVLclo9DuONqt5xfWSaE6MYiFKpo/lFPJ/iSI72rYWw5Hc7w== + +"@rollup/rollup-linux-riscv64-gnu@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.19.2.tgz#80d63c5562915a2f8616a04251fcaee0218112b0" + integrity sha512-EAz6vjPwHHs2qOCnpQkw4xs14XJq84I81sDRGPEjKPFVPBw7fwvtwhVjcZR6SLydCv8zNK8YGFblKWd/vRmP8g== + +"@rollup/rollup-linux-s390x-gnu@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.19.2.tgz#ef62e9bc5cc3b84fcfe96ec0a42d1989691217b3" + integrity sha512-IJSUX1xb8k/zN9j2I7B5Re6B0NNJDJ1+soezjNojhT8DEVeDNptq2jgycCOpRhyGj0+xBn7Cq+PK7Q+nd2hxLA== + +"@rollup/rollup-linux-x64-gnu@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.19.2.tgz#6a275282a0080fee98ddd9fda0de23c4c6bafd48" + integrity sha512-OgaToJ8jSxTpgGkZSkwKE+JQGihdcaqnyHEFOSAU45utQ+yLruE1dkonB2SDI8t375wOKgNn8pQvaWY9kPzxDQ== + +"@rollup/rollup-linux-x64-musl@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.19.2.tgz#64f0c704107e6b45b26dd8c2e1ff64246e4a1251" + integrity sha512-5V3mPpWkB066XZZBgSd1lwozBk7tmOkKtquyCJ6T4LN3mzKENXyBwWNQn8d0Ci81hvlBw5RoFgleVpL6aScLYg== + +"@rollup/rollup-win32-arm64-msvc@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.19.2.tgz#bada17b0c5017ff58d0feba401c43ff5a646c693" + integrity sha512-ayVstadfLeeXI9zUPiKRVT8qF55hm7hKa+0N1V6Vj+OTNFfKSoUxyZvzVvgtBxqSb5URQ8sK6fhwxr9/MLmxdA== + +"@rollup/rollup-win32-ia32-msvc@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.19.2.tgz#a716d862f6ac39d88bdb825e27f63aeb0387cd66" + integrity sha512-Mda7iG4fOLHNsPqjWSjANvNZYoW034yxgrndof0DwCy0D3FvTjeNo+HGE6oGWgvcLZNLlcp0hLEFcRs+UGsMLg== + +"@rollup/rollup-win32-x64-msvc@4.19.2": + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.19.2.tgz#d67206c5f2e4b2832ce360bbbde194e96d16dc51" + integrity sha512-DPi0ubYhSow/00YqmG1jWm3qt1F8aXziHc/UNy8bo9cpCacqhuWu+iSq/fp2SyEQK7iYTZ60fBU9cat3MXTjIQ== "@rollup/wasm-node@^4.5.0": - version "4.19.1" - resolved "https://registry.yarnpkg.com/@rollup/wasm-node/-/wasm-node-4.19.1.tgz#9a9d52219c4002917d204ea4bb8612a27dfc48c1" - integrity sha512-G90QnusWbCqaHB0BRgGb5f1FIs7W+0bh/kaoBMZNS30VzCcGBEzbpL0UIDQZYPkbKnP5GHZ9s+HrWuny3IAGIw== + version "4.19.2" + resolved "https://registry.yarnpkg.com/@rollup/wasm-node/-/wasm-node-4.19.2.tgz#3b43d7e75ff65c77dcbc00078f3bf4510cedbbc1" + integrity sha512-bJMdn3ISkclfH7ueDODHDws5ageZLuK/CCPvcqgldgk1L6+fWQWH7O2TzUeHq9Mfy9pOkiHHn3mIk0WzlUPLnQ== dependencies: "@types/estree" "1.0.5" optionalDependencies: @@ -5624,11 +5624,11 @@ webpack-virtual-modules "^0.5.0" "@storybook/builder-webpack5@^8.1.1": - version "8.2.6" - resolved "https://registry.yarnpkg.com/@storybook/builder-webpack5/-/builder-webpack5-8.2.6.tgz#0c62c0383e8286fb78af036ec00e21545c957b58" - integrity sha512-ba25XOXifbAxUYprw5WWcrYq/2DJODFoOHdv7YZqzjKeDDbg1Us8F+72zlBCdr38wY4V9084Sd8EBVXV5bxzRQ== + version "8.2.7" + resolved "https://registry.yarnpkg.com/@storybook/builder-webpack5/-/builder-webpack5-8.2.7.tgz#b3ef9d6e1611a24ec420c1399487634c5c673168" + integrity sha512-3SWN0X6qB14jnCrpMWd5tCshxzLEcRK5Sw/vBIW9HUsUx9OVMPxWp+Ti6NZHqj6FfHVbJb+qOwHl493JAJaFdg== dependencies: - "@storybook/core-webpack" "8.2.6" + "@storybook/core-webpack" "8.2.7" "@types/node" "^18.0.0" "@types/semver" "^7.3.4" browser-assert "^1.2.1" @@ -5850,10 +5850,10 @@ "@types/node" "^18.0.0" ts-dedent "^2.0.0" -"@storybook/core-webpack@8.2.6": - version "8.2.6" - resolved "https://registry.yarnpkg.com/@storybook/core-webpack/-/core-webpack-8.2.6.tgz#cd51118273d416ef4291e14c2c4fc738466ed10f" - integrity sha512-RSqRVNrxrp2pKoQeSmaiHMz7GvAzQ7BV+qPi9gDRDDCuAPrjpY8a17KyqmCJ617asDAb+OEQNBks802xM3pEQw== +"@storybook/core-webpack@8.2.7": + version "8.2.7" + resolved "https://registry.yarnpkg.com/@storybook/core-webpack/-/core-webpack-8.2.7.tgz#f62166bf8e48eb7d765a3069e2428b16b0bcbe86" + integrity sha512-eVtizQZdjPePjjPBfMw+74ha2yZw68AQZu5TK01Vetdjz1h+SSt+p/otWcJWPMGpZOg9p+n0krWvlcYHBsZsbA== dependencies: "@types/node" "^18.0.0" ts-dedent "^2.0.0" @@ -7076,9 +7076,9 @@ "@types/node" "*" "@types/node@*", "@types/node@>=10.0.0": - version "22.0.1" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.0.1.tgz#98e3ed275e511da5b2391bbcbc88caf2831baa1f" - integrity sha512-RVKWL+s4ax6syie/ev3FXFIs38mke4ZsCDPBcLF2Gu6MbQXKe9Fo9iU0EPUxDB1mDVvC0vCgkV3lKa2f6xIuHg== + version "22.0.2" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.0.2.tgz#9fb1a2b31970871e8bf696f0e8a40d2e6d2bd04e" + integrity sha512-yPL6DyFwY5PiMVEwymNeqUTKsDczQBJ/5T7W/46RwLU/VH+AA8aT5TZkvBviLKLbbm0hlfftEkGrNzfRk/fofQ== dependencies: undici-types "~6.11.1" @@ -9376,9 +9376,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001579, caniuse-lite@^1.0.30001591, caniuse-lite@^1.0.30001599, caniuse-lite@^1.0.30001640: - version "1.0.30001645" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001645.tgz#4c4b7427683dea1170a152cd1654be8d0da7bd71" - integrity sha512-GFtY2+qt91kzyMk6j48dJcwJVq5uTkk71XxE3RtScx7XWRLsO7bU44LOFkOZYR8w9YMS0UhPSYpN/6rAMImmLw== + version "1.0.30001646" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001646.tgz#d472f2882259ba032dd73ee069ff01bfd059b25d" + integrity sha512-dRg00gudiBDDTmUhClSdv3hqRfpbOnU28IpI1T6PBTLWa+kOj0681C8uML3PifYfREuBrVjDGhL3adYpBT6spw== canvas@^2.11.2: version "2.11.2" @@ -21207,28 +21207,28 @@ rollup@^2.56.2: fsevents "~2.3.2" rollup@^4.2.0, rollup@^4.5.0: - version "4.19.1" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.19.1.tgz#21d865cd60d4a325172ce8b082e60caccd97b309" - integrity sha512-K5vziVlg7hTpYfFBI+91zHBEMo6jafYXpkMlqZjg7/zhIG9iHqazBf4xz9AVdjS9BruRn280ROqLI7G3OFRIlw== + version "4.19.2" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.19.2.tgz#4985cd2028965157e8d674a70e49f33aca9038eb" + integrity sha512-6/jgnN1svF9PjNYJ4ya3l+cqutg49vOZ4rVgsDKxdl+5gpGPnByFXWGyfH9YGx9i3nfBwSu1Iyu6vGwFFA0BdQ== dependencies: "@types/estree" "1.0.5" optionalDependencies: - "@rollup/rollup-android-arm-eabi" "4.19.1" - "@rollup/rollup-android-arm64" "4.19.1" - "@rollup/rollup-darwin-arm64" "4.19.1" - "@rollup/rollup-darwin-x64" "4.19.1" - "@rollup/rollup-linux-arm-gnueabihf" "4.19.1" - "@rollup/rollup-linux-arm-musleabihf" "4.19.1" - "@rollup/rollup-linux-arm64-gnu" "4.19.1" - "@rollup/rollup-linux-arm64-musl" "4.19.1" - "@rollup/rollup-linux-powerpc64le-gnu" "4.19.1" - "@rollup/rollup-linux-riscv64-gnu" "4.19.1" - "@rollup/rollup-linux-s390x-gnu" "4.19.1" - "@rollup/rollup-linux-x64-gnu" "4.19.1" - "@rollup/rollup-linux-x64-musl" "4.19.1" - "@rollup/rollup-win32-arm64-msvc" "4.19.1" - "@rollup/rollup-win32-ia32-msvc" "4.19.1" - "@rollup/rollup-win32-x64-msvc" "4.19.1" + "@rollup/rollup-android-arm-eabi" "4.19.2" + "@rollup/rollup-android-arm64" "4.19.2" + "@rollup/rollup-darwin-arm64" "4.19.2" + "@rollup/rollup-darwin-x64" "4.19.2" + "@rollup/rollup-linux-arm-gnueabihf" "4.19.2" + "@rollup/rollup-linux-arm-musleabihf" "4.19.2" + "@rollup/rollup-linux-arm64-gnu" "4.19.2" + "@rollup/rollup-linux-arm64-musl" "4.19.2" + "@rollup/rollup-linux-powerpc64le-gnu" "4.19.2" + "@rollup/rollup-linux-riscv64-gnu" "4.19.2" + "@rollup/rollup-linux-s390x-gnu" "4.19.2" + "@rollup/rollup-linux-x64-gnu" "4.19.2" + "@rollup/rollup-linux-x64-musl" "4.19.2" + "@rollup/rollup-win32-arm64-msvc" "4.19.2" + "@rollup/rollup-win32-ia32-msvc" "4.19.2" + "@rollup/rollup-win32-x64-msvc" "4.19.2" fsevents "~2.3.2" rope-sequence@^1.3.0: @@ -22918,9 +22918,9 @@ ts-jest@29.1.1: yargs-parser "^21.0.1" ts-jest@^29.0.0: - version "29.2.3" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.2.3.tgz#3d226ac36b8b820151a38f164414f9f6b412131f" - integrity sha512-yCcfVdiBFngVz9/keHin9EnsrQtQtEu3nRykNy9RVp+FiPFFbPJ3Sg6Qg4+TkmH0vMP5qsTKgXSsk80HRwvdgQ== + version "29.2.4" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.2.4.tgz#38ccf487407d7a63054a72689f6f99b075e296e5" + integrity sha512-3d6tgDyhCI29HlpwIq87sNuI+3Q6GLTTCeYRHCs7vDz+/3GCMwEtV9jezLyl4ZtnBgx00I7hm8PCP8cTksMGrw== dependencies: bs-logger "0.x" ejs "^3.1.10" From f52162824bed35487fc2163220c38008551ffd9f Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Thu, 1 Aug 2024 12:49:18 -0400 Subject: [PATCH 13/13] chore(edit-content): regenerate yarn lock --- core-web/yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core-web/yarn.lock b/core-web/yarn.lock index 1ce57e7fec3a..dbff775b1916 100644 --- a/core-web/yarn.lock +++ b/core-web/yarn.lock @@ -8739,9 +8739,9 @@ axe-core@=4.7.0: integrity sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ== axios@^1.5.1, axios@^1.6.0, axios@^1.7.2: - version "1.7.2" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621" - integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw== + version "1.7.3" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.3.tgz#a1125f2faf702bc8e8f2104ec3a76fab40257d85" + integrity sha512-Ar7ND9pU99eJ9GpoGQKhKf58GpUOgnzuaB7ueNQ5BMi0p+LZ5oaEnfF999fAArcTIBwXTCHAmGcHOZJaWPq9Nw== dependencies: follow-redirects "^1.15.6" form-data "^4.0.0"