From 94d759a7e3b940cc7de6d54cd51e365a5d19bd73 Mon Sep 17 00:00:00 2001 From: Arcadio Quintero Date: Mon, 10 Jun 2024 11:49:54 -0400 Subject: [PATCH] fix(chore) check prettier and eslint configuration (#28801) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …ore-web (#28713) ### Proposed Changes * Verify configuration ESLint and Prettier * Run both in all `core-web` ### Checklist - [ ] Tests - [ ] Translations - [ ] Security Implications Contemplated (add notes if applicable) ### Additional Info ** any additional useful context or info ** ### Screenshots Original | Updated :-------------------------:|:-------------------------: ** original screenshot ** | ** updated screenshot ** --- core-web/.nvmrc | 2 +- core-web/.prettierignore | 7 +- core-web/.prettierrc | 7 + .../apps/dotcdn/src/app/app.component.html | 59 +- .../src/integration/app.component.spec.ts | 8 +- .../dot-block-editor.component.spec.ts | 8 +- .../dotcms-ui-e2e/src/support/commands.ts | 3 + .../src/support/shared/Navigation.ts | 1 + ...s-configuration-detail-form.component.html | 47 +- ...t-apps-configuration-detail.component.html | 16 +- ...t-apps-configuration-header.component.html | 12 +- ...dot-apps-configuration-item.component.html | 22 +- ...dot-apps-configuration-list.component.html | 16 +- .../dot-apps-configuration.component.html | 35 +- ...t-apps-import-export-dialog.component.html | 22 +- ...pps-import-export-dialog.component.spec.ts | 4 +- .../dot-apps-card.component.html | 4 +- .../dot-apps-list.component.html | 20 +- .../dot-categories-create-edit.component.html | 6 +- .../dot-categories-list.component.html | 85 +- .../container-list.component.html | 30 +- .../dot-add-variable.component.html | 6 +- .../dot-container-code.component.html | 22 +- .../dot-container-create.component.html | 3 +- .../dot-container-properties.component.html | 26 +- .../dot-loop-editor.component.html | 18 +- .../dot-loop-editor.component.spec.ts | 5 +- .../dot-block-editor-sidebar.component.html | 16 +- .../dot-edit-page-info.component.html | 6 +- .../dot-palette-content-type.component.html | 20 +- .../dot-palette-contentlets.component.html | 23 +- .../dot-palette-input-filter.component.html | 15 +- .../dot-palette/dot-palette.component.html | 16 +- .../dot-edit-page-lock-info.component.html | 6 +- ...-edit-page-state-controller.component.html | 22 +- .../dot-edit-page-toolbar.component.html | 34 +- ...dit-page-view-as-controller.component.html | 18 +- ...edit-page-workflows-actions.component.html | 7 +- .../dot-form-selector.component.html | 15 +- .../dot-whats-changed.component.html | 10 +- .../content/dot-edit-content.component.html | 51 +- .../dot-edit-layout.component.html | 8 +- .../dot-edit-page-main.component.html | 3 +- .../dot-edit-page-nav.component.html | 8 +- ...dot-edit-page-lock-info-seo.component.html | 4 +- ...t-page-state-controller-seo.component.html | 22 +- .../dot-edit-page-toolbar-seo.component.html | 34 +- ...page-view-as-controller-seo.component.html | 24 +- ...ot-pages-create-page-dialog.component.html | 8 +- .../dot-pages-card.component.html | 15 +- .../dot-pages-favorite-panel.component.html | 27 +- .../dot-pages-listing-panel.component.html | 67 +- .../dot-pages/dot-pages.component.html | 18 +- .../dot-starter/dot-starter.component.html | 16 +- .../dot-template-advanced.component.html | 7 +- .../dot-template-builder.component.html | 20 +- .../dot-template-create-edit.component.html | 10 +- .../dot-template-props.component.html | 16 +- ...ot-template-thumbnail-field.component.html | 5 +- .../dot-template-list.component.html | 26 +- .../dot-binary-settings.component.html | 9 +- .../dot-block-editor-settings.component.html | 7 +- .../dot-convert-to-block-info.component.html | 10 +- ...ot-convert-wysiwyg-to-block.component.html | 10 +- ...t-type-field-dragabble-item.component.html | 24 +- ...content-type-fields-add-row.component.html | 28 +- ...ntent-type-fields-drop-zone.component.html | 56 +- ...type-fields-properties-form.component.html | 11 +- .../categories-property.component.html | 16 +- .../checkbox-property.component.html | 3 +- .../data-type-property.component.html | 7 +- .../default-value-property.component.html | 5 +- .../dot-cardinality-selector.component.html | 7 +- .../dot-edit-relationships.component.html | 11 +- .../dot-new-relationships.component.html | 16 +- .../dot-new-relationships.component.spec.ts | 3 +- .../dot-relationships-property.component.html | 25 +- .../hint-property.component.html | 2 +- .../name-property.component.html | 15 +- .../regex-check-property.component.html | 7 +- .../values-property.component.html | 13 +- .../content-type-fields-row.component.html | 12 +- .../content-type-fields-tab.component.html | 14 +- .../content-types-fields-list.component.html | 8 +- ...ntent-type-fields-variables.component.html | 4 +- .../form/content-types-form.component.html | 36 +- .../content-types-layout.component.html | 55 +- .../dot-content-types-edit.component.html | 26 +- .../dot-add-to-menu.component.html | 28 +- ...ot-content-type-copy-dialog.component.html | 37 +- .../dot-content-types.component.html | 16 +- .../dot-action-button.component.html | 9 +- .../dot-alert-confirm/dot-alert-confirm.html | 34 +- .../dot-autocomplete-tags.component.html | 19 +- .../dot-bulk-information.component.html | 2 +- .../dot-download-bundle-dialog.component.html | 22 +- .../dot-dropdown.component.html | 10 +- .../dot-empty-state.component.html | 14 +- ...ot-generate-secure-password.component.html | 19 +- .../dot-inline-edit.component.spec.ts | 3 +- .../dot-md-icon-selector.component.html | 3 +- .../dot-page-selector.component.html | 21 +- .../dot-push-publish-dialog.component.html | 8 +- ...t-push-publish-env-selector.component.html | 9 +- .../dot-site-selector-field.component.html | 5 +- .../dot-site-selector.component.html | 12 +- .../dot-textarea-content.component.html | 17 +- .../dot-wizard/dot-wizard.component.html | 16 +- ...lows-actions-selector-field.component.html | 7 +- ...s-actions-selector-field.component.spec.ts | 3 +- ...ot-workflows-selector-field.component.html | 5 +- ...workflows-selector-field.component.spec.ts | 3 +- ...dot-comment-and-assign-form.component.html | 30 +- .../dot-push-publish-form.component.html | 60 +- .../dot-loading-indicator.component.html | 2 +- .../iframe-component/iframe.component.html | 10 +- .../iframe-porlet-legacy.component.html | 4 +- .../searchable-dropdown.component.html | 32 +- .../searchable-dropdown.component.spec.ts | 10 +- .../dot-add-persona-dialog.component.html | 8 +- .../dot-create-persona-form.component.html | 36 +- ...t-container-selector-layout.component.html | 6 +- .../dot-container-selector.component.html | 9 +- .../dot-content-type-selector.component.html | 2 +- .../dot-add-contentlet.component.html | 5 +- .../dot-contentlet-wrapper.component.html | 3 +- .../dot-create-contentlet.component.html | 3 +- .../dot-edit-contentlet.component.html | 3 +- .../dot-reorder-menu.component.html | 3 +- .../dot-copy-link.component.html | 7 +- .../dot-device-selector.component.html | 9 +- .../dot-edit-layout-grid.component.html | 40 +- .../dot-edit-layout-sidebar.component.html | 6 +- .../dot-layout-designer.component.html | 16 +- .../dot-sidebar-properties.component.html | 20 +- .../dot-theme-selector.component.html | 39 +- .../dot-edit-layout-designer.component.html | 36 +- .../dot-field-helper.component.html | 5 +- .../dot-iframe-dialog.component.html | 12 +- .../dot-language-selector.component.html | 8 +- .../dot-large-message-display.component.html | 7 +- .../dot-link/dot-link.component.html | 2 +- .../action-header.component.html | 19 +- .../dot-listing-data-table.component.html | 40 +- .../dot-listing-data-table.component.spec.ts | 6 +- .../dot-message-display.component.html | 3 +- .../dot-nav-icon/dot-nav-icon.component.html | 9 +- .../dot-nav-item/dot-nav-item.component.html | 18 +- .../dot-sub-nav/dot-sub-nav.component.html | 6 +- .../dot-navigation.component.html | 8 +- .../dot-persona-selected-item.component.html | 4 +- ...dot-persona-selector-option.component.html | 13 +- .../dot-persona-selector.component.html | 26 +- .../dot-persona-selector.component.spec.ts | 4 +- .../dot-portlet-toolbar.component.html | 10 +- .../dot-relationship-tree.component.html | 6 +- ...dot-theme-selector-dropdown.component.html | 35 +- .../dot-login-as/dot-login-as.component.html | 26 +- .../dot-my-account.component.html | 70 +- .../dot-toolbar-announcements.component.html | 28 +- .../dot-notifications-item.component.html | 6 +- .../dot-notifications-list.component.html | 3 +- .../dot-toolbar-notifications.component.html | 28 +- .../dot-toolbar-user.component.html | 14 +- .../dot-toolbar/dot-toolbar.component.html | 16 +- .../dot-workflow-task-detail.component.html | 5 +- .../global-search/global-search.html | 3 +- .../dot-login.component.html | 16 +- .../forgot-password.component.html | 24 +- .../reset-password.component.html | 25 +- core-web/apps/dotcms-ui/src/index.html | 36 +- .../src/stories/Introduction.stories.mdx | 11 +- .../stories/primeng/misc/Ripple.component.ts | 3 +- .../overlay/DynamicDialogButton.component.ts | 3 +- .../dot-block-editor.component.html | 10 +- .../ai-content-prompt.component.html | 35 +- .../ai-image-prompt.component.html | 24 +- .../ai-image-prompt-form.component.html | 14 +- .../ai-image-prompt-gallery.component.html | 10 +- .../asset-form/asset-form.component.html | 20 +- .../dot-external-asset.component.html | 10 +- .../dot-upload-asset.component.html | 14 +- .../upload-placeholder.component.html | 9 +- .../bubble-form/bubble-form.component.html | 26 +- .../bubble-link-form.component.html | 36 +- .../form-actions/form-actions.component.html | 14 +- .../suggestion-page.component.html | 5 +- .../bubble-menu/bubble-menu.component.html | 4 +- .../floating-button.component.html | 5 +- .../contentlet-block.component.html | 2 +- .../empty-message.component.html | 7 +- .../suggestions-list-item.component.html | 11 +- .../suggestion-loading-list.component.html | 2 +- .../suggestions/suggestions.component.html | 8 +- .../dot-content-type.service.ts | 6 +- .../src/lib/components/NgGridPlaceholder.ts | 9 + .../src/lib/directives/NgGrid.ts | 10 +- .../src/lib/directives/NgGridItem.ts | 35 +- .../src/lib/helpers/NgGridHelper.ts | 3 + .../src/lib/modules/NgGrid.module.ts | 2 +- core-web/libs/dot-rules/karma.conf.js | 16 +- .../dot-rules/src/lib/app.component.spec.ts | 12 +- .../libs/dot-rules/src/lib/app.component.ts | 1 + core-web/libs/dot-rules/src/lib/app.module.ts | 2 +- .../dot-autocomplete-tags.component.css | 2 +- .../dot-autocomplete-tags.component.html | 11 +- .../dot-autocomplete-tags.component.spec.ts | 12 +- .../dot-autocomplete-tags.component.ts | 1 + .../dot-autocomplete-tags.module.ts | 5 +- .../dot-unlicense/dot-unlicense.component.ts | 1 + .../src/lib/components/dropdown/dropdown.ts | 34 +- .../lib/components/input-date/input-date.ts | 21 +- .../components/restdropdown/RestDropdown.ts | 20 +- .../serverside-condition.ts | 108 +- .../visitors-location.component.ts | 41 +- .../visitors-location.container.ts | 20 +- .../dot-autofocus.directive.spec.ts | 4 +- .../dot-autofocus/dot-autofocus.module.ts | 3 +- .../area-picker-dialog.component.ts | 10 +- .../src/lib/modal-dialog/dialog-component.ts | 20 +- .../add-to-bundle-dialog-component.ts | 37 +- .../add-to-bundle-dialog-container.ts | 11 +- .../src/lib/rule-action-component.ts | 31 +- .../libs/dot-rules/src/lib/rule-component.ts | 132 +- .../src/lib/rule-condition-component.ts | 42 +- .../src/lib/rule-condition-group-component.ts | 53 +- .../src/lib/rule-engine.container.ts | 18 +- .../dot-rules/src/lib/rule-engine.module.ts | 82 +- .../libs/dot-rules/src/lib/rule-engine.ts | 72 +- .../src/lib/services/Action.it-spec.ts | 10 +- .../dot-rules/src/lib/services/Action.spec.ts | 4 +- .../libs/dot-rules/src/lib/services/Action.ts | 27 +- .../src/lib/services/Condition.it-spec.ts | 16 +- .../dot-rules/src/lib/services/Condition.ts | 25 +- .../src/lib/services/ConditionGroup.ts | 23 +- .../src/lib/services/Rule.it-spec.ts | 31 +- .../dot-rules/src/lib/services/Rule.spec.ts | 3 +- .../src/lib/services/ServerSideFieldModel.ts | 17 +- .../src/lib/services/bundle-service.ts | 10 +- .../src/lib/services/dot-view-rule-service.ts | 3 +- .../services/routing-private-auth-service.ts | 5 +- .../services/system/locale/I18n.it-spec.ts | 4 +- .../src/lib/services/system/locale/I18n.ts | 15 +- .../src/lib/services/util/CwFilter.ts | 15 +- .../src/lib/services/util/CwInputModel.ts | 8 + .../src/lib/services/validation/Check.spec.ts | 16 +- .../src/lib/services/validation/Check.ts | 10 +- .../services/validation/CustomValidators.ts | 17 +- .../src/lib/services/validation/Verify.ts | 18 +- .../lib/styles/angular-material.layouts.scss | 20 +- .../dot-binary-file/dot-binary-file.tsx | 3 +- .../dot-binary-upload-button.tsx | 3 +- .../components/dot-checkbox/dot-checkbox.tsx | 3 +- .../dot-date-range/dot-date-range.tsx | 6 +- .../dot-date-time/dot-date-time.tsx | 3 +- .../src/components/dot-form/dot-form.tsx | 3 +- .../dot-key-value/dot-key-value.tsx | 3 +- .../key-value-form/key-value-form.tsx | 3 +- .../key-value-table/key-value-table.tsx | 5 +- .../dot-multi-select/dot-multi-select.tsx | 6 +- .../src/components/dot-radio/dot-radio.tsx | 3 +- .../src/components/dot-select/dot-select.tsx | 6 +- .../dot-tags/components/dot-chip/dot-chip.tsx | 3 +- .../src/components/dot-tags/dot-tags.tsx | 3 +- .../dotcms-field-elements/src/dot-form.html | 15 +- .../libs/dotcms-field-elements/src/index.html | 45 +- .../src/lib/core/api-root.service.ts | 6 +- .../src/lib/core/core-web.service.mock.ts | 7 +- .../core/dot-push-publish-dialog.service.ts | 4 +- .../lib/core/dotcms-config.service.spec.ts | 8 +- .../lib/core/dotcms-events.service.spec.ts | 9 +- .../dotcms-js/src/lib/core/logger.service.ts | 6 +- .../lib/core/no-http-core-web.service.mock.ts | 7 +- .../dotcms-js/src/lib/core/routing.service.ts | 14 +- .../src/lib/core/shared/user.model.ts | 2 + .../src/lib/core/site.service.mock.ts | 4 +- .../lib/core/util/dot-event-socket.spec.ts | 16 +- .../src/lib/core/util/dot-event-socket.ts | 20 +- .../src/lib/core/util/http-response-util.ts | 6 +- .../lib/core/util/local-store.service.spec.ts | 1 + .../core/util/long-polling-protocol.spec.ts | 13 +- .../lib/core/util/long-polling-protocol.ts | 7 +- .../src/lib/core/util/notification.service.ts | 3 +- .../dotcms-js/src/lib/core/util/protocol.ts | 1 + .../src/lib/core/util/response-view.ts | 1 + .../lib/core/util/websockets-protocol.spec.ts | 6 +- .../src/lib/core/util/websockets-protocol.ts | 4 +- core-web/libs/dotcms-scss/jsp/index.html | 441 +- core-web/libs/dotcms-scss/jsp/styleguide.html | 210 +- .../dot-card-view/dot-card-view.e2e.ts | 12 +- .../dot-card-view/dot-card-view.stories.js | 8 +- .../dot-binary-upload-button.tsx | 3 +- .../dot-binary-file/dot-binary-file.e2e.tsx | 15 +- .../dot-binary-file.stories.js | 4 +- .../dot-binary-file/dot-binary-file.tsx | 3 +- .../dot-checkbox/dot-checkbox.e2e.ts | 2 +- .../dot-checkbox/dot-checkbox.stories.js | 3 +- .../dot-checkbox/dot-checkbox.tsx | 3 +- .../dot-date-range/dot-date-range.tsx | 6 +- .../dot-date-time/dot-date-time.e2e.ts | 5 - .../dot-date-time/dot-date-time.stories.js | 2 +- .../dot-date-time/dot-date-time.tsx | 3 +- .../dot-date/dot-date.stories.js | 2 +- .../dot-error-message.stories.js | 3 +- .../dot-form-row/dot-form-row.e2e.ts | 4 +- .../contenttypes-fields/dot-form/dot-form.tsx | 3 +- .../dot-input-calendar.stories.js | 4 +- .../key-value-form/key-value-form.tsx | 12 +- .../key-value-table/key-value-table.tsx | 3 +- .../dot-key-value/dot-key-value.stories.js | 4 +- .../dot-key-value/dot-key-value.tsx | 3 +- .../dot-multi-select/dot-multi-select.e2e.ts | 2 +- .../dot-multi-select/dot-multi-select.tsx | 6 +- .../dot-radio/dot-radio.e2e.ts | 2 +- .../dot-radio/dot-radio.stories.js | 3 +- .../dot-radio/dot-radio.tsx | 3 +- .../dot-select/dot-select.e2e.ts | 2 +- .../dot-select/dot-select.tsx | 6 +- .../dot-tags/components/dot-chip/dot-chip.tsx | 3 +- .../contenttypes-fields/dot-tags/dot-tags.tsx | 3 +- .../dot-textarea/dot-textarea.e2e.ts | 4 +- .../dot-textarea/dot-textarea.scss | 1 - .../dot-textarea/dot-textarea.stories.js | 1 - .../dot-textfield/dot-texfield.e2e.ts | 6 +- .../dot-textfield/dot-textfield.scss | 1 - .../dot-textfield/dot-textfield.stories.js | 5 +- .../dot-time/dot-time.e2e.ts | 1 - .../dot-time/dot-time.stories.js | 3 +- .../dot-asset-drop-zone.stories.js | 4 +- .../dot-asset-drop-zone.tsx | 19 +- .../dot-card-contentlet.stories.js | 8 +- .../dot-context-menu/dot-context-menu.e2e.ts | 5 +- .../dot-context-menu.stories.js | 5 +- .../dot-context-menu/dot-context-menu.tsx | 7 +- .../dot-data-view-button.e2e.ts | 12 +- .../dot-data-view-button.stories.js | 4 +- .../dot-select-button.e2e.ts | 8 +- .../dot-select-button.stories.js | 15 +- .../src/elements/dot-badge/dot-badge.e2e.ts | 12 +- .../elements/dot-badge/dot-badge.stories.js | 2 +- .../src/elements/dot-badge/dot-badge.tsx | 3 +- .../src/elements/dot-card/dot-card.stories.js | 7 +- .../src/elements/dot-card/dot-card.tsx | 7 +- .../dot-contentlet-icon.stories.js | 4 +- .../dot-contentlet-icon.tsx | 4 +- .../dot-contentlet-lock-icon.e2e.ts | 12 +- .../dot-contentlet-lock-icon.stories.js | 2 +- .../dot-contentlet-thumbnail.stories.js | 5 +- .../dot-material-icon-picker.stories.js | 7 +- .../dot-material-icon-picker.tsx | 15 +- .../dot-progress-bar/dot-progress-bar.tsx | 2 +- .../dot-state-icon/dot-state-icon.scss | 2 +- .../dot-state-icon/dot-state-icon.stories.js | 5 +- .../dot-state-icon/dot-state-icon.tsx | 3 +- .../elements/dot-tooltip/dot-tooltip.e2e.ts | 12 +- .../libs/dotcms-webcomponents/src/index.html | 3 +- .../src/models/dotSelectButtonOption.ts | 2 +- .../dotcms-webcomponents/src/utils/index.ts | 4 +- .../src/utils/props/DotFieldPropError.spec.ts | 12 +- .../src/utils/props/validators/date.spec.ts | 8 +- .../src/utils/props/validators/date.ts | 4 +- .../libs/dotcms-webcomponents/tsconfig.json | 42 +- core-web/libs/dotcms/src/index.ts | 8 +- .../dotcms/src/lib/api/DotApiAuthorization.ts | 3 +- .../dotcms/src/lib/api/DotApiConfiguration.ts | 3 +- .../dotcms/src/lib/api/DotApiContent.spec.ts | 3 +- .../libs/dotcms/src/lib/api/DotApiContent.ts | 3 +- .../src/lib/api/DotApiContentType.spec.ts | 3 +- .../dotcms/src/lib/api/DotApiContentType.ts | 6 +- .../dotcms/src/lib/api/DotApiElasticSearch.ts | 2 +- .../dotcms/src/lib/api/DotApiForm.spec.ts | 3 +- .../libs/dotcms/src/lib/api/DotApiForm.ts | 6 +- .../libs/dotcms/src/lib/api/DotApiLanguage.ts | 2 + .../dotcms/src/lib/api/DotApiNavigation.ts | 3 +- .../dotcms/src/lib/api/DotApiPage.spec.ts | 3 +- .../libs/dotcms/src/lib/api/DotApiPage.ts | 6 +- .../libs/dotcms/src/lib/api/DotApiSite.ts | 3 +- .../dotcms/src/lib/api/DotApiWidget.spec.ts | 3 +- .../libs/dotcms/src/lib/api/DotApiWidget.ts | 2 +- .../dotcms/src/lib/utils/DotCMSHttpClient.ts | 1 + core-web/libs/dotcms/src/lib/utils/request.ts | 4 +- ...t-content-aside-information.component.html | 16 +- .../dot-content-aside-workflow.component.html | 2 +- .../dot-edit-content-form.component.html | 6 +- .../dot-edit-content-toolbar.component.html | 4 +- .../edit-content.layout.component.html | 14 +- .../dot-binary-field-editor.component.html | 14 +- .../dot-binary-field-preview.component.html | 26 +- ...dot-binary-field-ui-message.component.html | 2 +- .../dot-binary-field-url-mode.component.html | 8 +- ...t-edit-content-binary-field.component.html | 32 +- ...ntent-category-field-dialog.component.html | 2 +- ...edit-content-category-field.component.html | 2 +- ...t-edit-content-custom-field.component.html | 6 +- .../dot-edit-content-key-value.component.html | 4 +- .../dot-edit-content-tag-field.component.html | 2 +- ...-edit-content-wysiwyg-field.component.html | 2 +- ...alytic-app-misconfiguration.component.html | 2 +- ...s-configuration-goal-select.component.html | 8 +- ...riments-configuration-goals.component.html | 8 +- ...onfiguration-scheduling-add.component.html | 26 +- ...ts-configuration-scheduling.component.html | 6 +- ...nts-configuration-targeting.component.html | 6 +- ...tion-traffic-allocation-add.component.html | 19 +- ...iguration-traffic-split-add.component.html | 41 +- ...ments-configuration-traffic.component.html | 6 +- ...-configuration-variants-add.component.html | 8 +- ...ents-configuration-variants.component.html | 22 +- ...t-experiments-configuration.component.html | 14 +- .../dot-experiments-create.component.html | 10 +- .../dot-experiments-list-table.component.html | 4 +- ...t-experiments-status-filter.component.html | 5 +- .../dot-experiments-list.component.html | 27 +- ...eriments-experiment-summary.component.html | 14 +- ...iments-report-daily-details.component.html | 28 +- ...t-experiments-reports-chart.component.html | 8 +- .../dot-experiments-reports.component.html | 8 +- .../dot-experiment-options.component.html | 16 +- ...t-experiments-details-table.component.html | 37 +- ...al-configuration-reach-page.component.html | 35 +- ...ion-url-parameter-component.component.html | 33 +- ...periments-goals-coming-soon.component.html | 8 +- .../dot-experiments-ui-header.component.html | 2 +- ...xperiments-inline-edit-text.component.html | 16 +- .../DotLocaleCreateEdit.component.html | 37 +- .../dot-locales-list.component.html | 10 +- ...DotLocaleConfirmationDialog.component.html | 6 +- .../dot-ema-dialog.component.html | 12 +- .../ema-form-selector.component.html | 2 +- .../edit-ema-navigation-bar.component.html | 6 +- .../dot-ema-shell.component.html | 6 +- ...t-edit-ema-workflow-actions.component.html | 4 +- .../dot-ema-bookmarks.component.html | 2 +- .../dot-ema-info-display.component.html | 3 +- .../dot-ema-running-experiment.component.html | 2 +- .../edit-ema-language-selector.component.html | 8 +- ...it-ema-palette-content-type.component.html | 14 +- ...dit-ema-palette-contentlets.component.html | 13 +- .../edit-ema-palette.component.html | 12 +- .../edit-ema-persona-selector.component.html | 10 +- .../edit-ema-toolbar.component.html | 35 +- .../ema-contentlet-tools.component.html | 16 +- .../ema-page-dropzone.component.html | 10 +- .../edit-ema-editor.component.html | 22 +- .../edit-ema-layout.component.html | 2 +- .../src/lib/services/dot-page-api.service.ts | 6 +- ...ontent-compare-block-editor.component.html | 12 +- .../dot-content-compare-dialog.component.html | 4 +- .../dot-content-compare-table.component.html | 10 +- ...ntent-compare-preview-field.component.html | 4 +- .../dot-content-compare.component.html | 6 +- .../dot-device-selector-seo.component.html | 28 +- .../dot-device-selector-seo.component.spec.ts | 2 +- .../dot-favorite-page.component.html | 14 +- .../dot-page-tools-seo.component.html | 8 +- .../dot-results-seo-tool.component.html | 14 +- .../dot-select-seo-tool.component.html | 4 +- .../dot-seo-image-preview.component.html | 6 +- .../src/lib/layout/column/column.component.ts | 2 +- .../layout/container/container.component.html | 3 +- .../dotcms-layout/dotcms-layout.component.ts | 2 +- .../src/lib/layout/row/row.component.ts | 2 +- .../add-style-classes-dialog.component.html | 4 +- .../add-widget/add-widget.component.html | 2 +- .../dot-layout-properties-item.component.html | 8 +- .../dot-layout-properties.component.html | 20 +- ...dot-layout-property-sidebar.component.html | 14 +- .../remove-confirm-dialog.component.html | 3 +- .../template-builder-actions.component.html | 7 +- ...-builder-background-columns.component.html | 5 +- .../template-builder-box.component.html | 14 +- .../template-builder-row.component.html | 14 +- .../template-builder-sidebar.component.html | 12 +- ...late-builder-theme-selector.component.html | 43 +- .../template-builder.component.html | 36 +- .../dot-add-to-bundle.component.html | 12 +- .../dot-action-menu-button.component.html | 2 +- .../dot-asset-card-list.component.html | 12 +- .../dot-asset-card.component.html | 2 +- .../dot-asset-search-dialog.component.html | 2 +- .../dot-asset-search.component.html | 6 +- .../dot-binary-option-selector.component.html | 8 +- .../dot-copy-button.component.html | 2 +- .../dot-empty-container.component.html | 6 +- ...ot-field-validation-message.component.html | 2 +- .../dot-form-dialog.component.html | 6 +- .../dot-info-page.component.html | 2 +- .../dot-key-value-ng.component.html | 14 +- ...t-key-value-table-input-row.component.html | 28 +- .../dot-key-value-table-row.component.html | 26 +- .../dot-key-value-table-row.component.spec.ts | 2 +- .../dot-link/dot-link.component.html | 2 +- .../dot-menu/dot-menu.component.html | 10 +- .../dot-not-license.component.html | 2 +- .../dot-sidebar-header.component.html | 4 +- .../dot-temp-file-thumbnail.component.html | 4 +- .../dot-workflow-actions.component.html | 10 +- .../src/lib/dot-icon/dot-icon.component.html | 2 +- .../dot-tab-buttons.component.html | 14 +- .../dot-dialog/dot-dialog.component.html | 26 +- .../dot-dialog/dot-dialog.component.spec.ts | 2 +- core-web/package.json | 28 +- core-web/pom.xml | 11 - core-web/yarn.lock | 8833 +++++++++-------- nodejs-parent/pom.xml | 5 +- 505 files changed, 7772 insertions(+), 8074 deletions(-) diff --git a/core-web/.nvmrc b/core-web/.nvmrc index 68c98aa7a791..5f09eed8d2c3 100644 --- a/core-web/.nvmrc +++ b/core-web/.nvmrc @@ -1 +1 @@ -v18.18.2 \ No newline at end of file +v18.20.3 diff --git a/core-web/.prettierignore b/core-web/.prettierignore index 05ae694f3c84..248f8594d74e 100644 --- a/core-web/.prettierignore +++ b/core-web/.prettierignore @@ -2,10 +2,13 @@ /dist /coverage /.nx/cache - +/target +/tmp +/tools package.json package-lock.json +yarn-error.log.json dist dist-lib dist-doc @@ -18,4 +21,4 @@ docs .angular **/*.md **/*.d.ts -decorate-angular-cli.js \ No newline at end of file +decorate-angular-cli.js diff --git a/core-web/.prettierrc b/core-web/.prettierrc index 4ef649c49d5d..fea0c7ce3210 100644 --- a/core-web/.prettierrc +++ b/core-web/.prettierrc @@ -13,5 +13,12 @@ "singleQuote": false } } + ], + "plugins": ["prettier-plugin-organize-attributes"], + "attributeGroups": [ + "$ANGULAR_STRUCTURAL_DIRECTIVE", + "$ANGULAR_OUTPUT", + "$ANGULAR_TWO_WAY_BINDING", + "$ANGULAR_INPUT" ] } diff --git a/core-web/apps/dotcdn/src/app/app.component.html b/core-web/apps/dotcdn/src/app/app.component.html index 4dbc02b27a68..dd507f015b41 100644 --- a/core-web/apps/dotcdn/src/app/app.component.html +++ b/core-web/apps/dotcdn/src/app/app.component.html @@ -1,28 +1,26 @@ - +