@alfresco/adf-core 8.3.0 → 8.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/lib/adf-http-client.service.d.ts +3 -9
- package/app.config.schema.json +4 -3
- package/auth/authentication-interceptor/authentication.interceptor.d.ts +1 -3
- package/breadcrumbs/components/breadcrumb/breadcrumb.component.d.ts +2 -3
- package/breadcrumbs/directives/breadcrumb-focus.directive.d.ts +1 -19
- package/bundles/assets/adf-core/i18n/ar.json +0 -5
- package/bundles/assets/adf-core/i18n/cs.json +0 -5
- package/bundles/assets/adf-core/i18n/da.json +0 -5
- package/bundles/assets/adf-core/i18n/de.json +30 -13
- package/bundles/assets/adf-core/i18n/en.json +34 -17
- package/bundles/assets/adf-core/i18n/es.json +30 -13
- package/bundles/assets/adf-core/i18n/fi.json +0 -5
- package/bundles/assets/adf-core/i18n/fr.json +30 -13
- package/bundles/assets/adf-core/i18n/it.json +30 -13
- package/bundles/assets/adf-core/i18n/ja.json +0 -5
- package/bundles/assets/adf-core/i18n/nb.json +0 -5
- package/bundles/assets/adf-core/i18n/nl.json +0 -5
- package/bundles/assets/adf-core/i18n/pl.json +30 -13
- package/bundles/assets/adf-core/i18n/pt-BR.json +0 -5
- package/bundles/assets/adf-core/i18n/pt.json +30 -13
- package/bundles/assets/adf-core/i18n/ru.json +0 -5
- package/bundles/assets/adf-core/i18n/sv.json +0 -5
- package/bundles/assets/adf-core/i18n/zh-CN.json +0 -5
- package/custom-theme/material-theme.scss +13 -13
- package/custom-theme/theme/custom-palette-creator.scss +25 -27
- package/custom-theme/theme/custom-theme-palettes.scss +7 -7
- package/custom-theme/theme/theme-data.scss +13 -13
- package/custom-theme/theme/typography.scss +5 -5
- package/feature-flags/lib/components/feature-override-indicator.component.d.ts +2 -20
- package/feature-flags/lib/components/flags/flags.component.d.ts +4 -4
- package/feature-flags/lib/directives/features.directive.d.ts +5 -23
- package/feature-flags/lib/directives/not-features.directive.d.ts +5 -23
- package/feature-flags/lib/guards/is-feature-off.guard.d.ts +1 -3
- package/feature-flags/lib/guards/is-feature-on.guard.d.ts +1 -3
- package/feature-flags/lib/guards/is-flags-override-on.guard.d.ts +2 -3
- package/feature-flags/lib/services/debug-features.service.d.ts +6 -6
- package/feature-flags/lib/services/qa-features.helper.d.ts +2 -21
- package/feature-flags/lib/services/storage-features.service.d.ts +4 -4
- package/fesm2022/adf-core.mjs +4861 -4176
- package/fesm2022/adf-core.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-api.mjs +14 -16
- package/fesm2022/alfresco-adf-core-api.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-auth.mjs +7 -7
- package/fesm2022/alfresco-adf-core-auth.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-breadcrumbs.mjs +21 -20
- package/fesm2022/alfresco-adf-core-breadcrumbs.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-feature-flags.mjs +84 -129
- package/fesm2022/alfresco-adf-core-feature-flags.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-shell.mjs +24 -32
- package/fesm2022/alfresco-adf-core-shell.mjs.map +1 -1
- package/lib/about/about-license-list/about-license-list.component.d.ts +2 -1
- package/lib/about/about-license-list/about-license-list.component.scss +7 -0
- package/lib/about/about-server-settings/about-server-settings.component.d.ts +1 -3
- package/lib/about/interfaces.d.ts +1 -1
- package/lib/app-config/app-config-storage-prefix.factory.d.ts +3 -5
- package/lib/app-config/app-config.pipe.d.ts +1 -3
- package/lib/app-config/app-config.service.d.ts +31 -28
- package/lib/auth/authentication-interceptor/auth-bearer.interceptor.d.ts +2 -4
- package/lib/auth/basic-auth/basic-alfresco-auth.service.d.ts +2 -6
- package/lib/auth/basic-auth/content-auth.d.ts +4 -7
- package/lib/auth/basic-auth/process-auth.d.ts +4 -7
- package/lib/auth/guard/auth-guard.service.d.ts +7 -31
- package/lib/auth/models/oauth-config.model.d.ts +0 -1
- package/lib/auth/oidc/auth-config.service.d.ts +2 -5
- package/lib/auth/oidc/oidc-authentication.service.d.ts +4 -10
- package/lib/auth/oidc/redirect-auth.service.d.ts +6 -6
- package/lib/auth/oidc/retry-login.service.d.ts +1 -1
- package/lib/auth/services/authentication.service.d.ts +1 -19
- package/lib/auth/services/base-authentication.service.d.ts +1 -3
- package/lib/auth/services/identity-group.service.d.ts +2 -5
- package/lib/auth/services/identity-role.service.d.ts +1 -1
- package/lib/auth/services/identity-user.service.d.ts +3 -7
- package/lib/auth/services/jwt-helper.service.d.ts +1 -1
- package/lib/auth/services/oauth2.service.d.ts +1 -3
- package/lib/auth/services/time-sync.service.d.ts +3 -5
- package/lib/auth/services/user-access.service.d.ts +2 -5
- package/lib/card-view/components/card-view/card-view.component.d.ts +1 -3
- package/lib/card-view/components/card-view/card-view.component.scss +0 -90
- package/lib/card-view/components/card-view-arrayitem/card-view-arrayitem.component.scss +1 -9
- package/lib/card-view/components/card-view-boolitem/card-view-boolitem.component.d.ts +4 -2
- package/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.d.ts +5 -10
- package/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.scss +36 -41
- package/lib/card-view/components/card-view-item-dispatcher/card-view-item-dispatcher.component.d.ts +3 -5
- package/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.d.ts +4 -1
- package/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.scss +0 -12
- package/lib/card-view/components/card-view-selectitem/select-filter-input/select-filter-input.component.d.ts +1 -3
- package/lib/card-view/components/card-view-textitem/card-view-textitem.component.d.ts +5 -10
- package/lib/card-view/components/card-view-textitem/card-view-textitem.component.scss +18 -19
- package/lib/card-view/directives/card-view-property-validator.directive.d.ts +28 -0
- package/lib/card-view/models/card-view-dateitem.model.d.ts +0 -2
- package/lib/card-view/public-api.d.ts +0 -1
- package/lib/card-view/validators/card-view-item-length.validator.d.ts +2 -2
- package/lib/card-view/validators/card-view-item-match.validator.d.ts +3 -3
- package/lib/card-view/validators/card-view-item-minmax.validator.d.ts +3 -3
- package/lib/clipboard/clipboard.directive.d.ts +6 -11
- package/lib/clipboard/clipboard.module.d.ts +5 -4
- package/lib/clipboard/clipboard.service.d.ts +2 -4
- package/lib/comments/comment-list/comment-list.component.d.ts +1 -1
- package/lib/comments/comments.component.d.ts +3 -2
- package/lib/comments/comments.component.scss +3 -32
- package/lib/common/index.d.ts +0 -1
- package/lib/common/services/log.service.d.ts +2 -6
- package/lib/common/services/page-title.service.d.ts +4 -7
- package/lib/common/services/thumbnail.service.d.ts +1 -3
- package/lib/common/services/url.service.d.ts +1 -3
- package/lib/common/services/user-preferences.service.d.ts +78 -15
- package/lib/common/utils/date-fns-adapter.d.ts +3 -5
- package/lib/common/utils/date-fns-utils.d.ts +1 -1
- package/lib/common/utils/datetime-fns-adapter.d.ts +3 -5
- package/lib/common/utils/moment-date-adapter.d.ts +1 -2
- package/lib/context-menu/context-menu-list.component.d.ts +8 -8
- package/lib/context-menu/context-menu-overlay.d.ts +1 -1
- package/lib/context-menu/context-menu-overlay.service.d.ts +2 -21
- package/lib/context-menu/context-menu.directive.d.ts +1 -3
- package/lib/context-menu/context-menu.tokens.d.ts +2 -1
- package/lib/context-menu/interfaces.d.ts +14 -1
- package/lib/core.module.d.ts +78 -83
- package/lib/datatable/components/amount-cell/amount-cell.component.d.ts +3 -19
- package/lib/datatable/components/boolean-cell/boolean-cell.component.d.ts +3 -20
- package/lib/datatable/components/columns-selector/columns-search-filter.pipe.d.ts +1 -1
- package/lib/datatable/components/columns-selector/columns-selector.component.d.ts +2 -1
- package/lib/datatable/components/columns-selector/columns-selector.component.scss +64 -81
- package/lib/datatable/components/datatable/datatable.component.d.ts +12 -13
- package/lib/datatable/components/datatable/datatable.component.scss +48 -20
- package/lib/datatable/components/datatable-cell/datatable-cell.component.d.ts +20 -0
- package/lib/datatable/components/datatable-row/datatable-row.component.d.ts +2 -3
- package/lib/datatable/components/date-cell/date-cell.component.d.ts +9 -2
- package/lib/datatable/components/filesize-cell/filesize-cell.component.d.ts +1 -19
- package/lib/datatable/components/icon-cell/icon-cell.component.d.ts +3 -6
- package/lib/datatable/components/json-cell/json-cell.component.d.ts +4 -22
- package/lib/datatable/components/location-cell/location-cell.component.d.ts +3 -20
- package/lib/datatable/components/number-cell/number-cell.component.d.ts +3 -19
- package/lib/datatable/data/data-table.schema.d.ts +4 -4
- package/lib/datatable/data/datatable-adapter.d.ts +2 -0
- package/lib/datatable/data/object-datarow.model.d.ts +1 -1
- package/lib/datatable/data-column/data-column-header.component.d.ts +1 -3
- package/lib/datatable/directives/drop-zone.directive.d.ts +4 -4
- package/lib/datatable/directives/header-filter-template.directive.d.ts +1 -3
- package/lib/datatable/directives/loading-template.directive.d.ts +1 -3
- package/lib/datatable/directives/main-data-table-action-template.directive.d.ts +1 -3
- package/lib/datatable/directives/no-content-template.directive.d.ts +1 -3
- package/lib/datatable/directives/no-permission-template.directive.d.ts +1 -3
- package/lib/datatable/directives/resizable/resizable.directive.d.ts +8 -3
- package/lib/datatable/directives/resizable/resize-handle.directive.d.ts +2 -2
- package/lib/dialogs/confirm-dialog/confirm.dialog.d.ts +3 -3
- package/lib/dialogs/dialog/dialog.component.d.ts +2 -2
- package/lib/dialogs/edit-json/edit-json.dialog.d.ts +1 -2
- package/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +1 -3
- package/lib/dialogs/unsaved-changes-dialog/unsaved-changes.guard.d.ts +3 -6
- package/lib/directives/highlight.directive.d.ts +4 -6
- package/lib/directives/infinite-select-scroll.directive.d.ts +1 -3
- package/lib/directives/logout.directive.d.ts +6 -10
- package/lib/directives/tooltip-card/tooltip-card.component.d.ts +1 -3
- package/lib/directives/tooltip-card/tooltip-card.directive.d.ts +4 -6
- package/lib/directives/upload.directive.d.ts +7 -7
- package/lib/dynamic-chip-list/dynamic-chip-list.component.d.ts +3 -4
- package/lib/dynamic-chip-list/dynamic-chip-list.component.scss +1 -1
- package/lib/form/components/form-base.component.d.ts +1 -1
- package/lib/form/components/form-field/form-field.component.d.ts +5 -0
- package/lib/form/components/form-renderer.component.d.ts +7 -7
- package/lib/form/components/form-renderer.component.scss +48 -34
- package/lib/form/components/widgets/amount/amount.widget.d.ts +26 -6
- package/lib/form/components/widgets/base-display-text/base-display-text.widget.d.ts +43 -0
- package/lib/form/components/widgets/base-viewer/base-viewer.widget.d.ts +16 -2
- package/lib/form/components/widgets/button/button.widget.d.ts +9 -0
- package/lib/form/components/widgets/button/button.widget.scss +14 -0
- package/lib/form/components/widgets/checkbox/checkbox.widget.d.ts +0 -4
- package/lib/form/components/widgets/core/container-column.model.d.ts +2 -0
- package/lib/{models/decimal-number.model.d.ts → form/components/widgets/core/container-row.model.d.ts} +9 -5
- package/lib/{common/models/user-info-mode.enum.d.ts → form/components/widgets/core/custom-validation-message.token.d.ts} +3 -7
- package/lib/form/components/widgets/core/form-field-types.d.ts +5 -0
- package/lib/form/components/widgets/core/form-field-validator.d.ts +10 -10
- package/lib/form/components/widgets/core/form-field.model.d.ts +29 -2
- package/lib/form/components/widgets/core/form.model.d.ts +38 -2
- package/lib/{datatable/components/mocks/datatable.mock.d.ts → form/components/widgets/core/handlers/form-field-rule.handler.d.ts} +5 -5
- package/lib/{blank-page/public-api.d.ts → form/components/widgets/core/handlers/form-field-visibility-condition.handler.d.ts} +5 -2
- package/lib/form/components/widgets/core/index.d.ts +2 -0
- package/lib/{login/components/login-dialog/login-dialog-component-data.interface.d.ts → form/components/widgets/core/repeatable-section.model.d.ts} +7 -5
- package/lib/form/components/widgets/decimal/decimal.component.d.ts +0 -3
- package/lib/form/components/widgets/display-text/display-text.widget.d.ts +5 -5
- package/lib/form/components/widgets/error/error.component.d.ts +0 -3
- package/lib/form/components/widgets/error/error.component.scss +4 -0
- package/lib/form/components/widgets/hyperlink/hyperlink.widget.d.ts +0 -3
- package/lib/form/components/widgets/index.d.ts +5 -1
- package/lib/form/components/widgets/json/json.widget.d.ts +1 -5
- package/lib/form/components/widgets/multiline-text/multiline-text.widget.d.ts +5 -4
- package/lib/form/components/widgets/number/number.widget.d.ts +1 -5
- package/lib/form/components/widgets/reactive-widget.interface.d.ts +4 -0
- package/lib/form/components/widgets/repeat/repeat.widget.d.ts +9 -0
- package/lib/form/components/widgets/repeat/repeat.widget.scss +36 -0
- package/lib/form/components/widgets/text/text-mask.component.d.ts +6 -7
- package/lib/form/components/widgets/text/text.widget.d.ts +13 -4
- package/lib/form/components/widgets/unknown/unknown.widget.d.ts +0 -3
- package/lib/form/components/widgets/widget.component.d.ts +1 -2
- package/lib/form/form-base.module.d.ts +3 -2
- package/lib/form/models/widget-visibility.model.d.ts +7 -6
- package/lib/form/public-api.d.ts +1 -0
- package/lib/form/services/form-expression.service.d.ts +14 -0
- package/lib/form/services/form.service.d.ts +3 -3
- package/lib/{interface/index.d.ts → icon/icon-alias-map.token.d.ts} +3 -1
- package/lib/{interface/public-api.d.ts → icon/icon-alias-map.type.d.ts} +1 -1
- package/lib/icon/icon.component.d.ts +31 -4
- package/lib/{pipes/multi-value.pipe.d.ts → icon/icon.directive.d.ts} +13 -6
- package/lib/icon/icon.module.d.ts +3 -6
- package/lib/icon/public-api.d.ts +3 -0
- package/lib/info-drawer/info-drawer-layout.component.scss +2 -2
- package/lib/info-drawer/info-drawer.component.scss +6 -0
- package/lib/language-menu/language-menu.component.d.ts +2 -3
- package/lib/language-menu/service/language.service.d.ts +2 -4
- package/lib/layout/components/header/header.component.d.ts +1 -3
- package/lib/layout/components/sidebar-action/sidebar-action-menu.component.scss +1 -2
- package/lib/layout/components/sidenav-layout/sidenav-layout.component.d.ts +3 -5
- package/lib/layout/components/sidenav-layout/sidenav-layout.component.scss +4 -4
- package/lib/login/components/login/login.component.d.ts +10 -17
- package/lib/login/components/login/login.component.scss +6 -8
- package/lib/login/directives/login-footer.directive.d.ts +1 -3
- package/lib/login/directives/login-header.directive.d.ts +1 -3
- package/lib/login/login.module.d.ts +3 -5
- package/lib/login/public-api.d.ts +0 -2
- package/lib/mock/form/widget-visibility.service.mock.d.ts +1 -0
- package/lib/mock/public-api.d.ts +0 -1
- package/lib/mock/translation.service.mock.d.ts +2 -2
- package/lib/models/public-api.d.ts +0 -2
- package/lib/notifications/components/notification-history.component.d.ts +10 -7
- package/lib/notifications/models/notification.model.d.ts +7 -6
- package/lib/notifications/notification-history.module.d.ts +2 -4
- package/lib/notifications/public-api.d.ts +0 -1
- package/lib/notifications/services/notification.service.d.ts +3 -5
- package/lib/pagination/infinite-pagination.component.d.ts +3 -5
- package/lib/pagination/pagination.component.d.ts +6 -9
- package/lib/pipes/decimal-number.pipe.d.ts +6 -3
- package/lib/pipes/file-size.pipe.d.ts +2 -4
- package/lib/pipes/localized-date.pipe.d.ts +3 -6
- package/lib/pipes/pipe.module.d.ts +6 -8
- package/lib/pipes/public-api.d.ts +0 -1
- package/lib/pipes/text-highlight.pipe.d.ts +1 -3
- package/lib/pipes/time-ago.pipe.d.ts +1 -2
- package/lib/pipes/user-initial.pipe.d.ts +2 -3
- package/lib/search-text/models/search-text-input.model.d.ts +5 -4
- package/lib/search-text/search-text-input.component.d.ts +4 -5
- package/lib/search-text/search-text-input.component.scss +0 -6
- package/lib/search-text/search-trigger.directive.d.ts +6 -7
- package/lib/snackbar-content/snackbar-content.component.d.ts +1 -1
- package/lib/{blank-page/index.d.ts → stories/core-story.providers.d.ts} +7 -1
- package/lib/{sorting-picker → stories}/index.d.ts +1 -1
- package/lib/styles/_flex.scss +21 -16
- package/lib/styles/{material.theme.scss → _globals.scss} +6 -6
- package/lib/styles/_index.scss +4 -126
- package/lib/styles/_mat-selectors.scss +1 -17
- package/lib/templates/empty-content/empty-content.component.scss +2 -5
- package/lib/templates/error-content/error-content.component.d.ts +3 -7
- package/lib/templates/error-content/error-content.component.scss +1 -1
- package/lib/testing/index.d.ts +0 -1
- package/lib/testing/noop-translate.module.d.ts +3 -4
- package/lib/testing/unit-testing-utils.d.ts +14 -0
- package/lib/toolbar/toolbar.component.scss +1 -1
- package/lib/translation/provide-i18n.d.ts +5 -0
- package/lib/translation/translate-loader.service.d.ts +4 -22
- package/lib/translation/translation.service.d.ts +10 -3
- package/lib/viewer/components/download-prompt-dialog/download-prompt-dialog.component.d.ts +4 -2
- package/lib/viewer/components/img-viewer/img-viewer.component.d.ts +9 -5
- package/lib/viewer/components/media-player/media-player.component.d.ts +3 -5
- package/lib/viewer/components/pdf-viewer/pdf-viewer-host.component.scss +28 -0
- package/lib/viewer/components/pdf-viewer/pdf-viewer.component.d.ts +52 -17
- package/lib/viewer/components/pdf-viewer/pdf-viewer.component.scss +4 -2
- package/lib/viewer/components/pdf-viewer-password-dialog/pdf-viewer-password-dialog.d.ts +1 -3
- package/lib/viewer/components/pdf-viewer-thumb/pdf-viewer-thumb.component.d.ts +3 -5
- package/lib/viewer/components/pdf-viewer-thumbnails/pdf-viewer-thumbnails.component.d.ts +7 -8
- package/lib/viewer/components/txt-viewer/txt-viewer.component.d.ts +3 -22
- package/lib/viewer/components/viewer-render/viewer-render.component.d.ts +8 -8
- package/lib/viewer/components/viewer.component.d.ts +16 -14
- package/lib/viewer/components/viewer.component.scss +1 -1
- package/lib/viewer/directives/viewer-extension.directive.d.ts +7 -6
- package/lib/viewer/models/download-prompt.actions.d.ts +5 -4
- package/lib/viewer/models/viewer.model.d.ts +5 -4
- package/lib/viewer/services/rendering-queue.services.d.ts +35 -12
- package/lib/viewer/services/view-util.service.d.ts +4 -5
- package/package.json +4 -5
- package/public-api.d.ts +1 -6
- package/schematics/migrations/schematics/migrations/7_0_0/index.d.ts +1 -2
- package/schematics/migrations/schematics/migrations/7_0_0/index.js +44 -59
- package/schematics/migrations/schematics/migrations/7_0_0/index.js.map +1 -1
- package/schematics/migrations/schematics/migrations/collection.json +0 -5
- package/shell/lib/components/shell/shell.component.d.ts +7 -10
- package/lib/blank-page/blank-page.component.d.ts +0 -5
- package/lib/blank-page/blank-page.module.d.ts +0 -8
- package/lib/button/button.component.d.ts +0 -19
- package/lib/button/button.component.scss +0 -13
- package/lib/clipboard/clipboard.theme.scss +0 -19
- package/lib/interface/injection.tokens.d.ts +0 -18
- package/lib/landing-page/index.d.ts +0 -17
- package/lib/landing-page/provider.d.ts +0 -24
- package/lib/landing-page/public-api.d.ts +0 -17
- package/lib/login/components/login-dialog/login-dialog.component.d.ts +0 -15
- package/lib/login/components/login-dialog/login-dialog.component.scss +0 -4
- package/lib/mock/data-column.mock.d.ts +0 -51
- package/lib/models/product-version.model.d.ts +0 -24
- package/lib/notifications/components/add-notification.stories.component.d.ts +0 -10
- package/lib/progress/progress.component.d.ts +0 -36
- package/lib/sorting-picker/public-api.d.ts +0 -17
- package/lib/sorting-picker/sorting-picker.component.d.ts +0 -38
- package/lib/styles/_theming.scss +0 -3
- package/lib/styles/_typography.scss +0 -18
- package/lib/testing/core.story.module.d.ts +0 -9
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"CLOSE": "Chiudi",
|
|
25
25
|
"NOTIFICATIONS": {
|
|
26
26
|
"NO_MESSAGE": "Non sono presenti notifiche in questo momento.",
|
|
27
|
+
"UNREAD_MESSAGES": "Hai delle notifiche non lette.",
|
|
27
28
|
"TITLE": "Notifiche",
|
|
28
29
|
"MARK_AS_READ": "Seleziona tutti come già letti",
|
|
29
30
|
"SYSTEM": "Sistema",
|
|
@@ -68,10 +69,22 @@
|
|
|
68
69
|
"NO_LONGER_THAN": "Immettere non più di {{ maxLength }} caratteri"
|
|
69
70
|
},
|
|
70
71
|
"FILE_ALREADY_UPLOADED": "È già stato caricato un file con lo stesso nome.",
|
|
71
|
-
"ATTACH": "Allega"
|
|
72
|
+
"ATTACH": "Allega",
|
|
73
|
+
"REPEATABLE_SECTION": {
|
|
74
|
+
"ADD_ROW": "aggiungi",
|
|
75
|
+
"ROW_LIMIT_REACHED": "Righe limite ({{ limit }}) raggiunto."
|
|
76
|
+
}
|
|
72
77
|
},
|
|
73
78
|
"FORM_RENDERER": {
|
|
74
|
-
"NAMELESS_TASK": "Compito senza nome"
|
|
79
|
+
"NAMELESS_TASK": "Compito senza nome",
|
|
80
|
+
"ROW_LABEL": "Riga {{ number }}",
|
|
81
|
+
"DELETE_ROW": "Elimina riga",
|
|
82
|
+
"REMOVE_ROW_DIALOG": {
|
|
83
|
+
"TITLE": "Elimina la riga",
|
|
84
|
+
"MESSAGE": "Sei sicuro di voler eliminare questa riga?",
|
|
85
|
+
"YES_LABEL": "Elimina riga",
|
|
86
|
+
"NO_LABEL": "Annulla"
|
|
87
|
+
}
|
|
75
88
|
},
|
|
76
89
|
"FIELD_STYLE": {
|
|
77
90
|
"FONT_SIZE": "Dimensioni carattere",
|
|
@@ -201,7 +214,9 @@
|
|
|
201
214
|
},
|
|
202
215
|
"CANCEL_BUTTON": {
|
|
203
216
|
"LABEL": "Annulla"
|
|
204
|
-
}
|
|
217
|
+
},
|
|
218
|
+
"FOLDER_CREATED_SUCCESS": "Cartella '{{ name }}' creata correttamente",
|
|
219
|
+
"FOLDER_UPDATED_SUCCESS": "Cartella '{{ name }}' aggiornata correttamente"
|
|
205
220
|
},
|
|
206
221
|
"MESSAGES": {
|
|
207
222
|
"ERRORS": {
|
|
@@ -287,7 +302,8 @@
|
|
|
287
302
|
"EDIT": "Pulsante Modifica",
|
|
288
303
|
"DATEPICKER": "Usare i tasti freccia per spostarsi fra le date. I tasti Su e Giù passano alla settimana successiva o precedente, ma nello stesso giorno. I tasti Sinistra e Destra passano al giorno successivo o precedente. Premere Invio per selezionare una data.",
|
|
289
304
|
"COPY_TO_CLIPBOARD_MESSAGE": "Valore copiato negli appunti",
|
|
290
|
-
"EDIT_ASPECTS": "Modifica aspetto"
|
|
305
|
+
"EDIT_ASPECTS": "Modifica aspetto",
|
|
306
|
+
"SECTION": "Sezione {{ sectionName }}"
|
|
291
307
|
}
|
|
292
308
|
},
|
|
293
309
|
"SEARCH": {
|
|
@@ -364,11 +380,6 @@
|
|
|
364
380
|
"ACTION": {
|
|
365
381
|
"HELP": "Hai bisogno di aiuto?",
|
|
366
382
|
"REGISTER": "Registrati"
|
|
367
|
-
},
|
|
368
|
-
"DIALOG": {
|
|
369
|
-
"CANCEL": "Annulla",
|
|
370
|
-
"CHOOSE": "Scegli",
|
|
371
|
-
"LOGIN": "Accedi"
|
|
372
383
|
}
|
|
373
384
|
},
|
|
374
385
|
"ADF-DATATABLE": {
|
|
@@ -397,7 +408,9 @@
|
|
|
397
408
|
"ICON_DISABLED": "Disabilitato",
|
|
398
409
|
"ROW_OPTION_BUTTON": "Azioni",
|
|
399
410
|
"DRAG": "Pulsante di trascinamento",
|
|
400
|
-
"EMPTY_HEADER": "Intestazione vuota"
|
|
411
|
+
"EMPTY_HEADER": "Intestazione vuota",
|
|
412
|
+
"RESIZE_COLUMN": "Ridimensiona colonna {{ column }}. Utilizzare i tasti freccia per regolare la larghezza, Maiusc per passi più grandi.",
|
|
413
|
+
"COLUMN_WIDTH_CHANGED": "Larghezza colonna {{ column }}: {{ width }} pixel"
|
|
401
414
|
},
|
|
402
415
|
"FILE_TYPE": {
|
|
403
416
|
"DOCUMENT": "Documento",
|
|
@@ -418,7 +431,8 @@
|
|
|
418
431
|
"COLUMNS_SELECTOR": {
|
|
419
432
|
"COLUMNS": "Colonne",
|
|
420
433
|
"SEARCH": "Cerca",
|
|
421
|
-
"APPLY": "Applica"
|
|
434
|
+
"APPLY": "Applica",
|
|
435
|
+
"COLUMNS_VISIBILITY": "Seleziona le colonne da visualizzare"
|
|
422
436
|
}
|
|
423
437
|
},
|
|
424
438
|
"USER_PROFILE": {
|
|
@@ -465,7 +479,8 @@
|
|
|
465
479
|
"RESET": "Reimposta",
|
|
466
480
|
"THUMBNAILS": "Miniature documento",
|
|
467
481
|
"THUMBNAILS_PANLEL_CLOSE": "Chiudi pannello miniature",
|
|
468
|
-
"LOADING": "Il documento è in fase di caricamento"
|
|
482
|
+
"LOADING": "Il documento è in fase di caricamento",
|
|
483
|
+
"NOTE_ANNOTATION_IMG": "Annotazione di nota"
|
|
469
484
|
},
|
|
470
485
|
"PAGE_LABEL": {
|
|
471
486
|
"SHOWING": "Visualizzazione di",
|
|
@@ -591,7 +606,9 @@
|
|
|
591
606
|
"LICENSE": {
|
|
592
607
|
"TITLE": "Licenza",
|
|
593
608
|
"PROPERTY": "Proprietà",
|
|
594
|
-
"VALUE": "Valore"
|
|
609
|
+
"VALUE": "Valore",
|
|
610
|
+
"ENABLED": "Abilitato",
|
|
611
|
+
"DISABLED": "Disabilitato"
|
|
595
612
|
},
|
|
596
613
|
"STATUS": {
|
|
597
614
|
"TITLE": "Stato",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"CLOSE": "Zamknij",
|
|
25
25
|
"NOTIFICATIONS": {
|
|
26
26
|
"NO_MESSAGE": "Aktualnie brak powiadomień.",
|
|
27
|
+
"UNREAD_MESSAGES": "Masz nieprzeczytane powiadomienia.",
|
|
27
28
|
"TITLE": "Powiadomienia",
|
|
28
29
|
"MARK_AS_READ": "Oznacz wszystkie jako przeczytane",
|
|
29
30
|
"SYSTEM": "System",
|
|
@@ -68,10 +69,22 @@
|
|
|
68
69
|
"NO_LONGER_THAN": "Możesz wprowadzić maksymalnie następującą liczbę znaków: {{ maxLength }}."
|
|
69
70
|
},
|
|
70
71
|
"FILE_ALREADY_UPLOADED": "Plik o tej samej nazwie został już przesłany.",
|
|
71
|
-
"ATTACH": "Załącz"
|
|
72
|
+
"ATTACH": "Załącz",
|
|
73
|
+
"REPEATABLE_SECTION": {
|
|
74
|
+
"ADD_ROW": "dodaj",
|
|
75
|
+
"ROW_LIMIT_REACHED": "Osiągnięto limit wierszy ({{ limit }})."
|
|
76
|
+
}
|
|
72
77
|
},
|
|
73
78
|
"FORM_RENDERER": {
|
|
74
|
-
"NAMELESS_TASK": "Zadanie bez nazwy"
|
|
79
|
+
"NAMELESS_TASK": "Zadanie bez nazwy",
|
|
80
|
+
"ROW_LABEL": "Wiersz {{ number }}",
|
|
81
|
+
"DELETE_ROW": "Usuń wiersz",
|
|
82
|
+
"REMOVE_ROW_DIALOG": {
|
|
83
|
+
"TITLE": "Usuń wiersz",
|
|
84
|
+
"MESSAGE": "Czy na pewno chcesz usunąć ten wiersz?",
|
|
85
|
+
"YES_LABEL": "Usuń wiersz",
|
|
86
|
+
"NO_LABEL": "Anuluj"
|
|
87
|
+
}
|
|
75
88
|
},
|
|
76
89
|
"FIELD_STYLE": {
|
|
77
90
|
"FONT_SIZE": "Rozmiar czcionki",
|
|
@@ -201,7 +214,9 @@
|
|
|
201
214
|
},
|
|
202
215
|
"CANCEL_BUTTON": {
|
|
203
216
|
"LABEL": "Anuluj"
|
|
204
|
-
}
|
|
217
|
+
},
|
|
218
|
+
"FOLDER_CREATED_SUCCESS": "Folder '{{ name }}' utworzony pomyślnie",
|
|
219
|
+
"FOLDER_UPDATED_SUCCESS": "Folder '{{ name }}' zaktualizowany pomyślnie"
|
|
205
220
|
},
|
|
206
221
|
"MESSAGES": {
|
|
207
222
|
"ERRORS": {
|
|
@@ -287,7 +302,8 @@
|
|
|
287
302
|
"EDIT": "Przycisk Edytuj",
|
|
288
303
|
"DATEPICKER": "Użyj klawiszy strzałek, aby przełączać między datami. Strzałki w górę i w dół przełączają na ten sam dzień w następnym lub poprzednim tygodniu. Natomiast strzałki w lewo i w prawo przełączają na następny lub poprzedni dzień. Naciśnij Enter lub Return, aby wybrać datę.",
|
|
289
304
|
"COPY_TO_CLIPBOARD_MESSAGE": "Wartość skopiowano do schowka",
|
|
290
|
-
"EDIT_ASPECTS": "Edycja aspektu"
|
|
305
|
+
"EDIT_ASPECTS": "Edycja aspektu",
|
|
306
|
+
"SECTION": "Sekcja {{ sectionName }}"
|
|
291
307
|
}
|
|
292
308
|
},
|
|
293
309
|
"SEARCH": {
|
|
@@ -364,11 +380,6 @@
|
|
|
364
380
|
"ACTION": {
|
|
365
381
|
"HELP": "Potrzebujesz pomocy?",
|
|
366
382
|
"REGISTER": "Zarejestruj się"
|
|
367
|
-
},
|
|
368
|
-
"DIALOG": {
|
|
369
|
-
"CANCEL": "Anuluj",
|
|
370
|
-
"CHOOSE": "Wybierz",
|
|
371
|
-
"LOGIN": "Zaloguj się"
|
|
372
383
|
}
|
|
373
384
|
},
|
|
374
385
|
"ADF-DATATABLE": {
|
|
@@ -397,7 +408,9 @@
|
|
|
397
408
|
"ICON_DISABLED": "Wyłączone",
|
|
398
409
|
"ROW_OPTION_BUTTON": "Czynności",
|
|
399
410
|
"DRAG": "Przeciągnij przycisk",
|
|
400
|
-
"EMPTY_HEADER": "Pusty nagłówek"
|
|
411
|
+
"EMPTY_HEADER": "Pusty nagłówek",
|
|
412
|
+
"RESIZE_COLUMN": "Zmień rozmiar kolumny {{ column }}. Użyj klawiszy strzałek, aby dostosować szerokość lub Shift, aby uzyskać większe kroki.",
|
|
413
|
+
"COLUMN_WIDTH_CHANGED": "Szerokość kolumny {{ column }}: {{ width }} pikseli"
|
|
401
414
|
},
|
|
402
415
|
"FILE_TYPE": {
|
|
403
416
|
"DOCUMENT": "Dokument",
|
|
@@ -418,7 +431,8 @@
|
|
|
418
431
|
"COLUMNS_SELECTOR": {
|
|
419
432
|
"COLUMNS": "Kolumny",
|
|
420
433
|
"SEARCH": "Szukaj",
|
|
421
|
-
"APPLY": "Zastosuj"
|
|
434
|
+
"APPLY": "Zastosuj",
|
|
435
|
+
"COLUMNS_VISIBILITY": "Wybierz kolumny do wyświetlenia"
|
|
422
436
|
}
|
|
423
437
|
},
|
|
424
438
|
"USER_PROFILE": {
|
|
@@ -465,7 +479,8 @@
|
|
|
465
479
|
"RESET": "Resetuj",
|
|
466
480
|
"THUMBNAILS": "Miniatura dokumentu",
|
|
467
481
|
"THUMBNAILS_PANLEL_CLOSE": "Zamknij panel miniatur",
|
|
468
|
-
"LOADING": "Wczytywanie dokumentu"
|
|
482
|
+
"LOADING": "Wczytywanie dokumentu",
|
|
483
|
+
"NOTE_ANNOTATION_IMG": "Adnotacja notatki"
|
|
469
484
|
},
|
|
470
485
|
"PAGE_LABEL": {
|
|
471
486
|
"SHOWING": "Wyświetlanie",
|
|
@@ -591,7 +606,9 @@
|
|
|
591
606
|
"LICENSE": {
|
|
592
607
|
"TITLE": "Licencja",
|
|
593
608
|
"PROPERTY": "Właściwość",
|
|
594
|
-
"VALUE": "Wartość"
|
|
609
|
+
"VALUE": "Wartość",
|
|
610
|
+
"ENABLED": "Włączony",
|
|
611
|
+
"DISABLED": "Wyłączony"
|
|
595
612
|
},
|
|
596
613
|
"STATUS": {
|
|
597
614
|
"TITLE": "Status",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"CLOSE": "FECHAR",
|
|
25
25
|
"NOTIFICATIONS": {
|
|
26
26
|
"NO_MESSAGE": "De momento, não tem notificações.",
|
|
27
|
+
"UNREAD_MESSAGES": "Você tem notificações não lidas.",
|
|
27
28
|
"TITLE": "Notificações",
|
|
28
29
|
"MARK_AS_READ": "Marcar todas como lidas",
|
|
29
30
|
"SYSTEM": "Sistema",
|
|
@@ -68,10 +69,22 @@
|
|
|
68
69
|
"NO_LONGER_THAN": "Não introduzir mais de {{ maxLength }} caracteres"
|
|
69
70
|
},
|
|
70
71
|
"FILE_ALREADY_UPLOADED": "Já foi carregado um ficheiro com o mesmo nome.",
|
|
71
|
-
"ATTACH": "Anexar"
|
|
72
|
+
"ATTACH": "Anexar",
|
|
73
|
+
"REPEATABLE_SECTION": {
|
|
74
|
+
"ADD_ROW": "adicionar",
|
|
75
|
+
"ROW_LIMIT_REACHED": "Limite de linhas ({{ limit }}) atingido."
|
|
76
|
+
}
|
|
72
77
|
},
|
|
73
78
|
"FORM_RENDERER": {
|
|
74
|
-
"NAMELESS_TASK": "Tarefa sem nome"
|
|
79
|
+
"NAMELESS_TASK": "Tarefa sem nome",
|
|
80
|
+
"ROW_LABEL": "Linha {{ number }}",
|
|
81
|
+
"DELETE_ROW": "Excluir linha",
|
|
82
|
+
"REMOVE_ROW_DIALOG": {
|
|
83
|
+
"TITLE": "Excluir linha",
|
|
84
|
+
"MESSAGE": "Tem certeza que deseja excluir esta linha?",
|
|
85
|
+
"YES_LABEL": "Excluir linha",
|
|
86
|
+
"NO_LABEL": "Cancelar"
|
|
87
|
+
}
|
|
75
88
|
},
|
|
76
89
|
"FIELD_STYLE": {
|
|
77
90
|
"FONT_SIZE": "Tamanho do tipo de letra",
|
|
@@ -201,7 +214,9 @@
|
|
|
201
214
|
},
|
|
202
215
|
"CANCEL_BUTTON": {
|
|
203
216
|
"LABEL": "Cancelar"
|
|
204
|
-
}
|
|
217
|
+
},
|
|
218
|
+
"FOLDER_CREATED_SUCCESS": "Pasta '{{ name }}' criada com sucesso",
|
|
219
|
+
"FOLDER_UPDATED_SUCCESS": "Pasta '{{ name }}' atualizada com sucesso"
|
|
205
220
|
},
|
|
206
221
|
"MESSAGES": {
|
|
207
222
|
"ERRORS": {
|
|
@@ -287,7 +302,8 @@
|
|
|
287
302
|
"EDIT": "Botão Editar",
|
|
288
303
|
"DATEPICKER": "Utilize as teclas de setas para navegar entre datas. Para cima e para baixo passam para a semana seguinte ou anterior, mas no mesmo dia. A esquerda e a direita deslocam-se para o dia seguinte ou anterior.",
|
|
289
304
|
"COPY_TO_CLIPBOARD_MESSAGE": "Valor copiado para a área de transferência",
|
|
290
|
-
"EDIT_ASPECTS": "Editar aspeto"
|
|
305
|
+
"EDIT_ASPECTS": "Editar aspeto",
|
|
306
|
+
"SECTION": "Seção {{ sectionName }}"
|
|
291
307
|
}
|
|
292
308
|
},
|
|
293
309
|
"SEARCH": {
|
|
@@ -364,11 +380,6 @@
|
|
|
364
380
|
"ACTION": {
|
|
365
381
|
"HELP": "PRECISA DE AJUDA?",
|
|
366
382
|
"REGISTER": "REGISTAR"
|
|
367
|
-
},
|
|
368
|
-
"DIALOG": {
|
|
369
|
-
"CANCEL": "Cancelar",
|
|
370
|
-
"CHOOSE": "Escolher",
|
|
371
|
-
"LOGIN": "Iniciar sessão"
|
|
372
383
|
}
|
|
373
384
|
},
|
|
374
385
|
"ADF-DATATABLE": {
|
|
@@ -397,7 +408,9 @@
|
|
|
397
408
|
"ICON_DISABLED": "Desativado",
|
|
398
409
|
"ROW_OPTION_BUTTON": "Ações",
|
|
399
410
|
"DRAG": "Botão Arrastar",
|
|
400
|
-
"EMPTY_HEADER": "Cabeçalho vazio"
|
|
411
|
+
"EMPTY_HEADER": "Cabeçalho vazio",
|
|
412
|
+
"RESIZE_COLUMN": "Redimensione a coluna {{ column }} Use as teclas de seta para ajustar a largura e Shift para passos maiores.",
|
|
413
|
+
"COLUMN_WIDTH_CHANGED": "{{ column }} Largura da coluna: {{ width }} pixels"
|
|
401
414
|
},
|
|
402
415
|
"FILE_TYPE": {
|
|
403
416
|
"DOCUMENT": "Documento",
|
|
@@ -418,7 +431,8 @@
|
|
|
418
431
|
"COLUMNS_SELECTOR": {
|
|
419
432
|
"COLUMNS": "Colunas",
|
|
420
433
|
"SEARCH": "Pesquisar",
|
|
421
|
-
"APPLY": "Aplicar"
|
|
434
|
+
"APPLY": "Aplicar",
|
|
435
|
+
"COLUMNS_VISIBILITY": "Selecione colunas para exibir"
|
|
422
436
|
}
|
|
423
437
|
},
|
|
424
438
|
"USER_PROFILE": {
|
|
@@ -465,7 +479,8 @@
|
|
|
465
479
|
"RESET": "Redefinir",
|
|
466
480
|
"THUMBNAILS": "Miniaturas do documento",
|
|
467
481
|
"THUMBNAILS_PANLEL_CLOSE": "Fechar painel de miniaturas",
|
|
468
|
-
"LOADING": "O documento está sendo carregado"
|
|
482
|
+
"LOADING": "O documento está sendo carregado",
|
|
483
|
+
"NOTE_ANNOTATION_IMG": "Anotação de nota"
|
|
469
484
|
},
|
|
470
485
|
"PAGE_LABEL": {
|
|
471
486
|
"SHOWING": "A mostrar",
|
|
@@ -591,7 +606,9 @@
|
|
|
591
606
|
"LICENSE": {
|
|
592
607
|
"TITLE": "Licença",
|
|
593
608
|
"PROPERTY": "Propriedade",
|
|
594
|
-
"VALUE": "Valor"
|
|
609
|
+
"VALUE": "Valor",
|
|
610
|
+
"ENABLED": "Ativo",
|
|
611
|
+
"DISABLED": "Desativado"
|
|
595
612
|
},
|
|
596
613
|
"STATUS": {
|
|
597
614
|
"TITLE": "Estado",
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '@angular/material' as mat;
|
|
3
|
-
@
|
|
3
|
+
@use './theme/theme-data' as theme;
|
|
4
4
|
|
|
5
5
|
$custom-theme: mat.m2-define-light-theme(
|
|
6
6
|
(
|
|
7
7
|
color: (
|
|
8
|
-
primary: map.get(
|
|
9
|
-
accent: map.get(
|
|
10
|
-
warn: map.get(
|
|
8
|
+
primary: map.get(theme.$palettes, primary),
|
|
9
|
+
accent: map.get(theme.$palettes, accent),
|
|
10
|
+
warn: map.get(theme.$palettes, warning)
|
|
11
11
|
),
|
|
12
|
-
typography:
|
|
12
|
+
typography: theme.$app-typography
|
|
13
13
|
)
|
|
14
14
|
);
|
|
15
15
|
|
|
16
|
-
@if
|
|
17
|
-
$custom-theme: get-custom-background-color(
|
|
16
|
+
@if theme.$background-color {
|
|
17
|
+
$custom-theme: theme.get-custom-background-color(theme.$background-color, $custom-theme);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
@if
|
|
21
|
-
$custom-theme: get-custom-text-color(
|
|
20
|
+
@if theme.$text-color {
|
|
21
|
+
$custom-theme: theme.get-custom-text-color(theme.$text-color, $custom-theme);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
@if
|
|
24
|
+
@if theme.$base-font-size {
|
|
25
25
|
body,
|
|
26
26
|
html {
|
|
27
|
-
font-size:
|
|
27
|
+
font-size: theme.$base-font-size;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
@if
|
|
31
|
+
@if theme.$font-family {
|
|
32
32
|
body,
|
|
33
33
|
html {
|
|
34
|
-
font-family:
|
|
34
|
+
font-family: theme.$font-family;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
$colors: (
|
|
16
16
|
red: color.red($color),
|
|
17
17
|
green: color.green($color),
|
|
18
|
-
blue: color.blue($color)
|
|
18
|
+
blue: color.blue($color)
|
|
19
19
|
);
|
|
20
20
|
|
|
21
21
|
@each $name, $value in $colors {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
$colors: map.merge(
|
|
33
33
|
$colors,
|
|
34
34
|
(
|
|
35
|
-
$name: $value
|
|
35
|
+
$name: $value
|
|
36
36
|
)
|
|
37
37
|
);
|
|
38
38
|
}
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
$dark-text-luminance: $dark-text-luminance + 0.5;
|
|
65
65
|
$background-color-luminance: $background-color-luminance + 0.5;
|
|
66
66
|
|
|
67
|
-
$luminance-contrast-for-light-text: $light-text-luminance
|
|
68
|
-
$luminance-contrast-for-dark-text: $background-color-luminance
|
|
67
|
+
$luminance-contrast-for-light-text: math.div($light-text-luminance, $background-color-luminance);
|
|
68
|
+
$luminance-contrast-for-dark-text: math.div($background-color-luminance, $dark-text-luminance);
|
|
69
69
|
$text-colour: $light-text;
|
|
70
70
|
|
|
71
71
|
@if $luminance-contrast-for-dark-text > $luminance-contrast-for-light-text {
|
|
@@ -91,10 +91,10 @@
|
|
|
91
91
|
$color900: color.mix($dark, $color, 75%);
|
|
92
92
|
|
|
93
93
|
/* stylelint-disable scss/dollar-variable-pattern */
|
|
94
|
-
$colorA100: color.adjust(
|
|
95
|
-
$colorA200: color.adjust(
|
|
96
|
-
$colorA400: color.adjust(
|
|
97
|
-
$colorA700: color.adjust(
|
|
94
|
+
$colorA100: color.adjust(color.adjust(color.mix($dark, $color, 15%), $saturation: 80%), $lightness: 45.6%);
|
|
95
|
+
$colorA200: color.adjust(color.adjust(color.mix($dark, $color, 15%), $saturation: 80%), $lightness: 35.6%);
|
|
96
|
+
$colorA400: color.adjust(color.adjust(color.mix($dark, $color, 15%), $saturation: 100%), $lightness: 25.6%);
|
|
97
|
+
$colorA700: color.adjust(color.adjust(color.mix($dark, $color, 15%), $saturation: 100%), $lightness: 20.5%);
|
|
98
98
|
/* stylelint-enable scss/dollar-variable-pattern */
|
|
99
99
|
|
|
100
100
|
$contrast50: create-text-color($color50, $colorType);
|
|
@@ -126,30 +126,28 @@
|
|
|
126
126
|
700: $color700,
|
|
127
127
|
800: $color800,
|
|
128
128
|
900: $color900,
|
|
129
|
-
/* stylelint-disable value-keyword-case */
|
|
130
|
-
A100: $colorA100,
|
|
129
|
+
/* stylelint-disable value-keyword-case */ A100: $colorA100,
|
|
131
130
|
A200: $colorA200,
|
|
132
131
|
A400: $colorA400,
|
|
133
132
|
A700: $colorA700,
|
|
134
133
|
/* stylelint-enable value-keyword-case */
|
|
135
134
|
contrast: (
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
),
|
|
135
|
+
50: $contrast50,
|
|
136
|
+
100: $contrast100,
|
|
137
|
+
200: $contrast200,
|
|
138
|
+
300: $contrast300,
|
|
139
|
+
400: $contrast400,
|
|
140
|
+
500: $contrast500,
|
|
141
|
+
600: $contrast600,
|
|
142
|
+
700: $contrast700,
|
|
143
|
+
800: $contrast800,
|
|
144
|
+
900: $contrast900,
|
|
145
|
+
/* stylelint-disable value-keyword-case */ A100: $contrastA100,
|
|
146
|
+
A200: $contrastA200,
|
|
147
|
+
A400: $contrastA400,
|
|
148
|
+
A700: $contrastA700,
|
|
149
|
+
/* stylelint-enable value-keyword-case */
|
|
150
|
+
)
|
|
153
151
|
);
|
|
154
152
|
|
|
155
153
|
@return $palette;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
|
-
@
|
|
3
|
-
@
|
|
2
|
+
@use 'default-colors';
|
|
3
|
+
@use 'custom-palette-creator';
|
|
4
4
|
|
|
5
5
|
@function get-mat-palettes($primary-color, $accent-color) {
|
|
6
6
|
$mat-primary-palette: null;
|
|
7
7
|
|
|
8
8
|
@if ($primary-color) {
|
|
9
|
-
$custom-theme-primary-palette: create-color-palette($primary-color, 'primary');
|
|
9
|
+
$custom-theme-primary-palette: custom-palette-creator.create-color-palette($primary-color, 'primary');
|
|
10
10
|
$mat-primary-palette: mat.m2-define-palette($custom-theme-primary-palette, 500);
|
|
11
11
|
} @else {
|
|
12
|
-
$mat-primary-palette: mat.m2-define-palette(
|
|
12
|
+
$mat-primary-palette: mat.m2-define-palette(default-colors.$default-primary, A100);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
$mat-accent-palette: null;
|
|
16
16
|
|
|
17
17
|
@if ($accent-color) {
|
|
18
|
-
$custom-theme-accent-palette: create-color-palette($accent-color, 'accent');
|
|
18
|
+
$custom-theme-accent-palette: custom-palette-creator.create-color-palette($accent-color, 'accent');
|
|
19
19
|
$mat-accent-palette: mat.m2-define-palette($custom-theme-accent-palette, 500);
|
|
20
20
|
} @else {
|
|
21
|
-
$mat-accent-palette: mat.m2-define-palette(
|
|
21
|
+
$mat-accent-palette: mat.m2-define-palette(default-colors.$default-accent);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
$mat-warn-palette: mat.m2-define-palette(
|
|
24
|
+
$mat-warn-palette: mat.m2-define-palette(default-colors.$default-warn, A100);
|
|
25
25
|
|
|
26
26
|
@return (primary: $mat-primary-palette, accent: $mat-accent-palette, warning: $mat-warn-palette);
|
|
27
27
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
2
|
+
@use 'theme-configuration';
|
|
3
|
+
@use 'typography';
|
|
4
|
+
@use 'custom-theme-palettes';
|
|
5
|
+
@use 'custom-background-color';
|
|
6
|
+
@use 'custom-text-color';
|
|
7
7
|
|
|
8
|
-
$primary-color: map.get(
|
|
9
|
-
$accent-color: map.get(
|
|
10
|
-
$background-color: map.get(
|
|
8
|
+
$primary-color: map.get(theme-configuration.$theme-config, 'primaryColor');
|
|
9
|
+
$accent-color: map.get(theme-configuration.$theme-config, 'accentColor');
|
|
10
|
+
$background-color: map.get(theme-configuration.$theme-config, 'backgroundColor');
|
|
11
11
|
|
|
12
|
-
$text-color: map.get(
|
|
13
|
-
$base-font-size: map.get(
|
|
14
|
-
$font-family: map.get(
|
|
12
|
+
$text-color: map.get(theme-configuration.$theme-config, 'textColor');
|
|
13
|
+
$base-font-size: map.get(theme-configuration.$theme-config, 'baseFontSize');
|
|
14
|
+
$font-family: map.get(theme-configuration.$theme-config, 'fontFamily');
|
|
15
15
|
|
|
16
|
-
$app-typography: get-mat-typography($base-font-size, $font-family);
|
|
16
|
+
$app-typography: typography.get-mat-typography($base-font-size, $font-family);
|
|
17
17
|
|
|
18
|
-
$palettes: get-mat-palettes($primary-color, $accent-color);
|
|
18
|
+
$palettes: custom-theme-palettes.get-mat-palettes($primary-color, $accent-color);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '@angular/material' as mat;
|
|
3
|
-
@
|
|
3
|
+
@use 'sass:meta';
|
|
4
|
+
@use '../variables/font-family';
|
|
4
5
|
|
|
5
6
|
@function get-mat-typography($base-font-size, $font-family) {
|
|
6
7
|
$custom-typography: mat.m2-define-typography-config(
|
|
@@ -16,8 +17,7 @@
|
|
|
16
17
|
$subtitle-2: mat.m2-define-typography-level(14px, 24px, 500),
|
|
17
18
|
$body-2: mat.m2-define-typography-level(14px, 20px, 400),
|
|
18
19
|
$caption: mat.m2-define-typography-level(12px, 20px, 400),
|
|
19
|
-
$button: mat.m2-define-typography-level(14px, 14px, 500)
|
|
20
|
-
// Line-height must be unit-less fraction of the font-size.
|
|
20
|
+
$button: mat.m2-define-typography-level(14px, 14px, 500) // Line-height must be unit-less fraction of the font-size.
|
|
21
21
|
);
|
|
22
22
|
|
|
23
23
|
@if $base-font-size {
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
$body-2: mat.m2-define-typography-level(1rem, 1.42rem, 400),
|
|
35
35
|
$caption: mat.m2-define-typography-level(0.86rem, 1.42rem, 400),
|
|
36
36
|
$button: mat.m2-define-typography-level(1rem, 1rem, 500),
|
|
37
|
-
$font-family:
|
|
37
|
+
$font-family: font-family.$default-font-family
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
@if $font-family {
|
|
42
42
|
@each $key, $level in $custom-typography {
|
|
43
43
|
/* stylelint-disable-next-line scss/no-global-function-names */
|
|
44
|
-
@if type-of($level) == 'map' {
|
|
44
|
+
@if meta.type-of($level) == 'map' {
|
|
45
45
|
$new-level: map.merge(
|
|
46
46
|
$level,
|
|
47
47
|
(
|