@alfresco/adf-core 8.1.0-16500060130 → 8.1.0
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/bundles/assets/adf-core/i18n/de.json +14 -2
- package/bundles/assets/adf-core/i18n/en.json +13 -1
- package/bundles/assets/adf-core/i18n/es.json +14 -2
- package/bundles/assets/adf-core/i18n/fr.json +14 -2
- package/bundles/assets/adf-core/i18n/it.json +14 -2
- package/bundles/assets/adf-core/i18n/pl.json +13 -1
- package/bundles/assets/adf-core/i18n/pt.json +14 -2
- package/feature-flags/lib/components/flags/flags.component.d.ts +2 -2
- package/feature-flags/lib/providers/debug-feature-flags.provider.d.ts +4 -35
- package/fesm2022/adf-core.mjs +1391 -2841
- package/fesm2022/adf-core.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-api.mjs +5 -5
- package/fesm2022/alfresco-adf-core-api.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-auth.mjs +3 -3
- package/fesm2022/alfresco-adf-core-auth.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-breadcrumbs.mjs +11 -11
- package/fesm2022/alfresco-adf-core-breadcrumbs.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-feature-flags.mjs +52 -59
- package/fesm2022/alfresco-adf-core-feature-flags.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-shell.mjs +68 -14
- package/fesm2022/alfresco-adf-core-shell.mjs.map +1 -1
- package/lib/app-config/provide-app-config.d.ts +2 -2
- package/lib/app-config/public-api.d.ts +0 -2
- package/lib/auth/oidc/auth.module.d.ts +10 -13
- package/lib/{mock/form/form-definition-readonly.mock.d.ts → auth/oidc/auth.routes.d.ts} +2 -1
- package/lib/auth/oidc/public-api.d.ts +0 -1
- package/lib/auth/oidc/view/authentication-confirmation/authentication-confirmation.component.d.ts +1 -1
- package/lib/card-view/components/base-card-view.d.ts +1 -1
- package/lib/card-view/components/card-view/card-view.component.scss +12 -9
- package/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.scss +1 -2
- package/lib/card-view/components/card-view-textitem/card-view-textitem.component.scss +6 -5
- package/lib/core.module.d.ts +11 -0
- package/lib/datatable/components/datatable/datatable.component.scss +2 -1
- package/lib/datatable/data/data-table.schema.d.ts +1 -1
- package/lib/dialogs/confirm-dialog/confirm.dialog.d.ts +1 -1
- package/lib/dialogs/confirm-dialog/confirm.dialog.module.d.ts +2 -6
- package/lib/form/components/form-renderer.component.scss +25 -6
- package/lib/form/components/form-section/form-section.component.scss +23 -1
- package/lib/form/components/widgets/amount/amount.widget.scss +1 -2
- package/lib/form/components/widgets/date-time/date-time.widget.scss +1 -2
- package/lib/form/components/widgets/display-text/display-text.widget.scss +2 -0
- package/lib/mock/data-column.mock.d.ts +0 -2
- package/lib/mock/form/widget-visibility.service.mock.d.ts +0 -5
- package/lib/mock/public-api.d.ts +0 -4
- package/lib/{mock/form/form-definition-visibility.mock.d.ts → testing/app-config-testing.d.ts} +8 -2
- package/lib/testing/index.d.ts +1 -1
- package/lib/testing/noop-auth.module.d.ts +31 -4
- package/lib/testing/unit-testing-utils.d.ts +1 -11
- package/lib/translation/provide-i18n.d.ts +1 -1
- package/lib/viewer/components/img-viewer/img-viewer.component.d.ts +2 -2
- package/lib/viewer/components/viewer.component.d.ts +1 -1
- package/lib/viewer/services/rendering-queue.services.d.ts +2 -2
- package/package.json +3 -15
- package/shell/README.md +13 -3
- package/shell/index.d.ts +1 -0
- package/shell/lib/providers.d.ts +36 -0
- package/shell/lib/shell.module.d.ts +1 -1
- package/esm2022/adf-core.mjs +0 -5
- package/esm2022/api/alfresco-adf-core-api.mjs +0 -5
- package/esm2022/api/index.mjs +0 -20
- package/esm2022/api/lib/adf-http-client.service.mjs +0 -311
- package/esm2022/api/lib/alfresco-api/alfresco-api.param-encoder.mjs +0 -33
- package/esm2022/api/lib/alfresco-api/alfresco-api.response-error.mjs +0 -25
- package/esm2022/api/lib/alfresco-api/alfresco-api.utils.mjs +0 -80
- package/esm2022/api/lib/interfaces.mjs +0 -18
- package/esm2022/api/lib/types.mjs +0 -18
- package/esm2022/auth/alfresco-adf-core-auth.mjs +0 -5
- package/esm2022/auth/authentication-interceptor/authentication.interceptor.mjs +0 -56
- package/esm2022/auth/authentication.mjs +0 -19
- package/esm2022/auth/index.mjs +0 -19
- package/esm2022/breadcrumbs/alfresco-adf-core-breadcrumbs.mjs +0 -5
- package/esm2022/breadcrumbs/components/breadcrumb/breadcrumb.component.mjs +0 -82
- package/esm2022/breadcrumbs/components/breadcrumb-item/breadcrumb-item.component.mjs +0 -42
- package/esm2022/breadcrumbs/directives/breadcrumb-focus.directive.mjs +0 -44
- package/esm2022/breadcrumbs/index.mjs +0 -19
- package/esm2022/feature-flags/alfresco-adf-core-feature-flags.mjs +0 -5
- package/esm2022/feature-flags/index.mjs +0 -29
- package/esm2022/feature-flags/lib/components/feature-flags-wrapper.mjs +0 -36
- package/esm2022/feature-flags/lib/components/feature-override-indicator.component.mjs +0 -56
- package/esm2022/feature-flags/lib/components/flags/flags.component.mjs +0 -129
- package/esm2022/feature-flags/lib/directives/features.directive.mjs +0 -63
- package/esm2022/feature-flags/lib/directives/not-features.directive.mjs +0 -63
- package/esm2022/feature-flags/lib/guards/is-feature-off.guard.mjs +0 -38
- package/esm2022/feature-flags/lib/guards/is-feature-on.guard.mjs +0 -38
- package/esm2022/feature-flags/lib/guards/is-flags-override-on.guard.mjs +0 -40
- package/esm2022/feature-flags/lib/interfaces/features.interface.mjs +0 -24
- package/esm2022/feature-flags/lib/mocks/features-service-mock.factory.mjs +0 -62
- package/esm2022/feature-flags/lib/providers/debug-feature-flags.provider.mjs +0 -51
- package/esm2022/feature-flags/lib/providers/dummy-feature-flags.provider.mjs +0 -36
- package/esm2022/feature-flags/lib/services/debug-features.service.mjs +0 -94
- package/esm2022/feature-flags/lib/services/dummy-features.service.mjs +0 -40
- package/esm2022/feature-flags/lib/services/flagset.parser.mjs +0 -38
- package/esm2022/feature-flags/lib/services/qa-features.helper.mjs +0 -62
- package/esm2022/feature-flags/lib/services/storage-features.service.mjs +0 -126
- package/esm2022/lib/about/about-extension-list/about-extension-list.component.mjs +0 -51
- package/esm2022/lib/about/about-license-list/about-license-list.component.mjs +0 -51
- package/esm2022/lib/about/about-module-list/module-list.component.mjs +0 -51
- package/esm2022/lib/about/about-package/package-list.component.mjs +0 -65
- package/esm2022/lib/about/about-panel.directive.mjs +0 -37
- package/esm2022/lib/about/about-repository-info/about-repository-info.component.mjs +0 -59
- package/esm2022/lib/about/about-repository-info/repository-info.interface.mjs +0 -18
- package/esm2022/lib/about/about-server-settings/about-server-settings.component.mjs +0 -42
- package/esm2022/lib/about/about-status-list/about-status-list.component.mjs +0 -51
- package/esm2022/lib/about/about.component.mjs +0 -35
- package/esm2022/lib/about/about.module.mjs +0 -75
- package/esm2022/lib/about/index.mjs +0 -18
- package/esm2022/lib/about/interfaces.mjs +0 -18
- package/esm2022/lib/about/public-api.mjs +0 -28
- package/esm2022/lib/app-config/app-config-storage-prefix.factory.mjs +0 -51
- package/esm2022/lib/app-config/app-config.loader.mjs +0 -41
- package/esm2022/lib/app-config/app-config.module.mjs +0 -33
- package/esm2022/lib/app-config/app-config.pipe.mjs +0 -38
- package/esm2022/lib/app-config/app-config.service.mjs +0 -243
- package/esm2022/lib/app-config/debug-app-config.service.mjs +0 -44
- package/esm2022/lib/app-config/index.mjs +0 -18
- package/esm2022/lib/app-config/provide-app-config.mjs +0 -44
- package/esm2022/lib/app-config/public-api.mjs +0 -23
- package/esm2022/lib/auth/authentication-interceptor/auth-bearer.interceptor.mjs +0 -67
- package/esm2022/lib/auth/basic-auth/basic-alfresco-auth.service.mjs +0 -369
- package/esm2022/lib/auth/basic-auth/content-auth.mjs +0 -189
- package/esm2022/lib/auth/basic-auth/process-auth.mjs +0 -193
- package/esm2022/lib/auth/guard/auth-guard-bpm.service.mjs +0 -31
- package/esm2022/lib/auth/guard/auth-guard-ecm.service.mjs +0 -31
- package/esm2022/lib/auth/guard/auth-guard-sso-role.service.mjs +0 -57
- package/esm2022/lib/auth/guard/auth-guard.mjs +0 -53
- package/esm2022/lib/auth/guard/auth-guard.service.mjs +0 -113
- package/esm2022/lib/auth/index.mjs +0 -18
- package/esm2022/lib/auth/interfaces/authentication-service.interface.mjs +0 -18
- package/esm2022/lib/auth/interfaces/authentication.interface.mjs +0 -18
- package/esm2022/lib/auth/interfaces/identity-group.interface.mjs +0 -18
- package/esm2022/lib/auth/interfaces/identity-user.service.interface.mjs +0 -18
- package/esm2022/lib/auth/interfaces/openid-configuration.interface.mjs +0 -18
- package/esm2022/lib/auth/models/application-access.model.mjs +0 -18
- package/esm2022/lib/auth/models/identity-group.model.mjs +0 -18
- package/esm2022/lib/auth/models/identity-role.model.mjs +0 -30
- package/esm2022/lib/auth/models/identity-user.model.mjs +0 -18
- package/esm2022/lib/auth/models/oauth-config.model.mjs +0 -18
- package/esm2022/lib/auth/models/redirection.model.mjs +0 -28
- package/esm2022/lib/auth/models/user-access.model.mjs +0 -18
- package/esm2022/lib/auth/oidc/auth-config.mjs +0 -19
- package/esm2022/lib/auth/oidc/auth-config.service.mjs +0 -110
- package/esm2022/lib/auth/oidc/auth-routing.module.mjs +0 -34
- package/esm2022/lib/auth/oidc/auth.module.mjs +0 -112
- package/esm2022/lib/auth/oidc/auth.service.mjs +0 -22
- package/esm2022/lib/auth/oidc/oidc-auth.guard.mjs +0 -37
- package/esm2022/lib/auth/oidc/oidc-authentication.service.mjs +0 -204
- package/esm2022/lib/auth/oidc/public-api.mjs +0 -24
- package/esm2022/lib/auth/oidc/redirect-auth.service.mjs +0 -267
- package/esm2022/lib/auth/oidc/retry-login.service.mjs +0 -66
- package/esm2022/lib/auth/oidc/token.interceptor.mjs +0 -62
- package/esm2022/lib/auth/oidc/view/authentication-confirmation/authentication-confirmation.component.mjs +0 -31
- package/esm2022/lib/auth/public-api.mjs +0 -44
- package/esm2022/lib/auth/services/authentication.service.mjs +0 -190
- package/esm2022/lib/auth/services/base-authentication.service.mjs +0 -95
- package/esm2022/lib/auth/services/identity-group.service.mjs +0 -269
- package/esm2022/lib/auth/services/identity-role.service.mjs +0 -99
- package/esm2022/lib/auth/services/identity-user.service.mjs +0 -443
- package/esm2022/lib/auth/services/jwt-helper.service.mjs +0 -205
- package/esm2022/lib/auth/services/oauth2.service.mjs +0 -69
- package/esm2022/lib/auth/services/time-sync.service.mjs +0 -83
- package/esm2022/lib/auth/services/user-access.service.mjs +0 -110
- package/esm2022/lib/avatar/avatar.component.mjs +0 -51
- package/esm2022/lib/blank-page/blank-page.component.mjs +0 -31
- package/esm2022/lib/blank-page/blank-page.module.mjs +0 -33
- package/esm2022/lib/blank-page/index.mjs +0 -18
- package/esm2022/lib/blank-page/public-api.mjs +0 -19
- package/esm2022/lib/button/button.component.mjs +0 -61
- package/esm2022/lib/card-view/card-view.module.mjs +0 -80
- package/esm2022/lib/card-view/components/base-card-view.mjs +0 -51
- package/esm2022/lib/card-view/components/card-view/card-view.component.mjs +0 -66
- package/esm2022/lib/card-view/components/card-view-arrayitem/card-view-arrayitem.component.mjs +0 -55
- package/esm2022/lib/card-view/components/card-view-boolitem/card-view-boolitem.component.mjs +0 -39
- package/esm2022/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.mjs +0 -182
- package/esm2022/lib/card-view/components/card-view-item-dispatcher/card-view-item-dispatcher.component.mjs +0 -108
- package/esm2022/lib/card-view/components/card-view-keyvaluepairsitem/card-view-keyvaluepairsitem.component.mjs +0 -64
- package/esm2022/lib/card-view/components/card-view-mapitem/card-view-mapitem.component.mjs +0 -46
- package/esm2022/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.mjs +0 -137
- package/esm2022/lib/card-view/components/card-view-selectitem/select-filter-input/select-filter-input.component.mjs +0 -113
- package/esm2022/lib/card-view/components/card-view-textitem/card-view-textitem.component.mjs +0 -239
- package/esm2022/lib/card-view/components/card-view.components.mjs +0 -28
- package/esm2022/lib/card-view/index.mjs +0 -18
- package/esm2022/lib/card-view/interfaces/base-card-view-update.interface.mjs +0 -18
- package/esm2022/lib/card-view/interfaces/card-view-arrayitem-properties.interface.mjs +0 -18
- package/esm2022/lib/card-view/interfaces/card-view-boolitem-properties.interface.mjs +0 -18
- package/esm2022/lib/card-view/interfaces/card-view-dateitem-properties.interface.mjs +0 -18
- package/esm2022/lib/card-view/interfaces/card-view-item-properties.interface.mjs +0 -18
- package/esm2022/lib/card-view/interfaces/card-view-item-validator.interface.mjs +0 -18
- package/esm2022/lib/card-view/interfaces/card-view-item.interface.mjs +0 -18
- package/esm2022/lib/card-view/interfaces/card-view-keyvaluepairsitem-properties.interface.mjs +0 -18
- package/esm2022/lib/card-view/interfaces/card-view-selectitem-properties.interface.mjs +0 -18
- package/esm2022/lib/card-view/interfaces/card-view-textitem-pipe-property.interface.mjs +0 -18
- package/esm2022/lib/card-view/interfaces/card-view-textitem-properties.interface.mjs +0 -18
- package/esm2022/lib/card-view/interfaces/card-view.interfaces.mjs +0 -29
- package/esm2022/lib/card-view/interfaces/click-notification.interface.mjs +0 -18
- package/esm2022/lib/card-view/interfaces/update-notification.interface.mjs +0 -18
- package/esm2022/lib/card-view/models/card-view-arrayitem.model.mjs +0 -28
- package/esm2022/lib/card-view/models/card-view-baseitem.model.mjs +0 -64
- package/esm2022/lib/card-view/models/card-view-boolitem.model.mjs +0 -36
- package/esm2022/lib/card-view/models/card-view-dateitem.model.mjs +0 -58
- package/esm2022/lib/card-view/models/card-view-datetimeitem.model.mjs +0 -28
- package/esm2022/lib/card-view/models/card-view-floatitem.model.mjs +0 -33
- package/esm2022/lib/card-view/models/card-view-intitem.model.mjs +0 -36
- package/esm2022/lib/card-view/models/card-view-keyvaluepairs.model.mjs +0 -27
- package/esm2022/lib/card-view/models/card-view-longitem.model.mjs +0 -36
- package/esm2022/lib/card-view/models/card-view-mapitem.model.mjs +0 -32
- package/esm2022/lib/card-view/models/card-view-selectitem.model.mjs +0 -41
- package/esm2022/lib/card-view/models/card-view-textitem.model.mjs +0 -40
- package/esm2022/lib/card-view/models/card-view.models.mjs +0 -29
- package/esm2022/lib/card-view/public-api.mjs +0 -25
- package/esm2022/lib/card-view/services/card-item-types.service.mjs +0 -54
- package/esm2022/lib/card-view/services/card-view-update.service.mjs +0 -59
- package/esm2022/lib/card-view/services/card-view.services.mjs +0 -19
- package/esm2022/lib/card-view/validators/card-view-item-float.validator.mjs +0 -31
- package/esm2022/lib/card-view/validators/card-view-item-int.validator.mjs +0 -35
- package/esm2022/lib/card-view/validators/card-view-item-length.validator.mjs +0 -34
- package/esm2022/lib/card-view/validators/card-view-item-long.validator.mjs +0 -35
- package/esm2022/lib/card-view/validators/card-view-item-match.validator.mjs +0 -35
- package/esm2022/lib/card-view/validators/card-view-item-minmax.validator.mjs +0 -35
- package/esm2022/lib/card-view/validators/card-view-item-only-positive-int.validator.mjs +0 -32
- package/esm2022/lib/card-view/validators/card-view-item-only-positive-long.validator.mjs +0 -31
- package/esm2022/lib/card-view/validators/card-view.validators.mjs +0 -26
- package/esm2022/lib/card-view/validators/validators.map.mjs +0 -26
- package/esm2022/lib/clipboard/clipboard.directive.mjs +0 -98
- package/esm2022/lib/clipboard/clipboard.module.mjs +0 -34
- package/esm2022/lib/clipboard/clipboard.service.mjs +0 -103
- package/esm2022/lib/clipboard/index.mjs +0 -18
- package/esm2022/lib/clipboard/public-api.mjs +0 -21
- package/esm2022/lib/comments/comment-list/comment-list.component.mjs +0 -52
- package/esm2022/lib/comments/comment-list/comment-list.module.mjs +0 -33
- package/esm2022/lib/comments/comment-list/index.mjs +0 -18
- package/esm2022/lib/comments/comment-list/public-api.mjs +0 -19
- package/esm2022/lib/comments/comments.component.mjs +0 -132
- package/esm2022/lib/comments/comments.module.mjs +0 -33
- package/esm2022/lib/comments/index.mjs +0 -18
- package/esm2022/lib/comments/interfaces/comments-service.interface.mjs +0 -18
- package/esm2022/lib/comments/interfaces/comments.token.mjs +0 -19
- package/esm2022/lib/comments/public-api.mjs +0 -22
- package/esm2022/lib/common/index.mjs +0 -35
- package/esm2022/lib/common/interface/search-component.interface.mjs +0 -18
- package/esm2022/lib/common/mock/app-config.service.mock.mjs +0 -47
- package/esm2022/lib/common/models/default-languages.model.mjs +0 -36
- package/esm2022/lib/common/models/log-levels.model.mjs +0 -33
- package/esm2022/lib/common/models/user-info-mode.enum.mjs +0 -25
- package/esm2022/lib/common/services/cookie.service.mjs +0 -82
- package/esm2022/lib/common/services/download.service.mjs +0 -102
- package/esm2022/lib/common/services/dynamic-component-mapper.service.mjs +0 -89
- package/esm2022/lib/common/services/highlight-transform.service.mjs +0 -61
- package/esm2022/lib/common/services/language-item.interface.mjs +0 -18
- package/esm2022/lib/common/services/log.service.mjs +0 -171
- package/esm2022/lib/common/services/page-title.service.mjs +0 -63
- package/esm2022/lib/common/services/sort-by-category.service.mjs +0 -81
- package/esm2022/lib/common/services/storage.service.mjs +0 -143
- package/esm2022/lib/common/services/thumbnail.service.mjs +0 -194
- package/esm2022/lib/common/services/url.service.mjs +0 -45
- package/esm2022/lib/common/services/user-preferences.service.mjs +0 -238
- package/esm2022/lib/common/utils/date-fns-adapter.mjs +0 -115
- package/esm2022/lib/common/utils/date-fns-utils.mjs +0 -222
- package/esm2022/lib/common/utils/datetime-fns-adapter.mjs +0 -134
- package/esm2022/lib/common/utils/file-utils.mjs +0 -65
- package/esm2022/lib/common/utils/index.mjs +0 -18
- package/esm2022/lib/common/utils/moment-date-adapter.mjs +0 -202
- package/esm2022/lib/common/utils/moment-date-formats.model.mjs +0 -32
- package/esm2022/lib/common/utils/object-utils.mjs +0 -107
- package/esm2022/lib/common/utils/public-api.mjs +0 -25
- package/esm2022/lib/common/utils/string-utils.mjs +0 -45
- package/esm2022/lib/context-menu/animations.mjs +0 -33
- package/esm2022/lib/context-menu/context-menu-list.component.mjs +0 -91
- package/esm2022/lib/context-menu/context-menu-overlay.mjs +0 -25
- package/esm2022/lib/context-menu/context-menu-overlay.service.mjs +0 -109
- package/esm2022/lib/context-menu/context-menu.directive.mjs +0 -63
- package/esm2022/lib/context-menu/context-menu.module.mjs +0 -35
- package/esm2022/lib/context-menu/context-menu.tokens.mjs +0 -19
- package/esm2022/lib/context-menu/index.mjs +0 -18
- package/esm2022/lib/context-menu/interfaces.mjs +0 -18
- package/esm2022/lib/context-menu/public-api.mjs +0 -21
- package/esm2022/lib/core.module.mjs +0 -296
- package/esm2022/lib/datatable/components/amount-cell/amount-cell.component.mjs +0 -45
- package/esm2022/lib/datatable/components/boolean-cell/boolean-cell.component.mjs +0 -65
- package/esm2022/lib/datatable/components/columns-selector/columns-search-filter.pipe.mjs +0 -55
- package/esm2022/lib/datatable/components/columns-selector/columns-selector.component.mjs +0 -113
- package/esm2022/lib/datatable/components/data-cell.event.mjs +0 -31
- package/esm2022/lib/datatable/components/data-row-action.event.mjs +0 -34
- package/esm2022/lib/datatable/components/datatable/datatable.component.mjs +0 -914
- package/esm2022/lib/datatable/components/datatable-cell/datatable-cell.component.mjs +0 -126
- package/esm2022/lib/datatable/components/datatable-row/datatable-row.component.mjs +0 -98
- package/esm2022/lib/datatable/components/date-cell/date-cell.component.mjs +0 -78
- package/esm2022/lib/datatable/components/empty-list/empty-list.component.mjs +0 -60
- package/esm2022/lib/datatable/components/filesize-cell/filesize-cell.component.mjs +0 -49
- package/esm2022/lib/datatable/components/icon-cell/icon-cell.component.mjs +0 -67
- package/esm2022/lib/datatable/components/json-cell/json-cell.component.mjs +0 -86
- package/esm2022/lib/datatable/components/location-cell/location-cell.component.mjs +0 -69
- package/esm2022/lib/datatable/components/mocks/datatable.mock.mjs +0 -153
- package/esm2022/lib/datatable/components/number-cell/number-cell.component.mjs +0 -42
- package/esm2022/lib/datatable/data/data-column.model.mjs +0 -18
- package/esm2022/lib/datatable/data/data-row-event.model.mjs +0 -26
- package/esm2022/lib/datatable/data/data-row-update.model.mjs +0 -18
- package/esm2022/lib/datatable/data/data-row.model.mjs +0 -18
- package/esm2022/lib/datatable/data/data-sorting.model.mjs +0 -24
- package/esm2022/lib/datatable/data/data-table.schema.mjs +0 -132
- package/esm2022/lib/datatable/data/datatable-adapter.mjs +0 -18
- package/esm2022/lib/datatable/data/object-datacolumn.model.mjs +0 -46
- package/esm2022/lib/datatable/data/object-datarow.model.mjs +0 -41
- package/esm2022/lib/datatable/data/object-datatable-adapter.mjs +0 -134
- package/esm2022/lib/datatable/data-column/data-column-header.component.mjs +0 -45
- package/esm2022/lib/datatable/data-column/data-column-list.component.mjs +0 -36
- package/esm2022/lib/datatable/data-column/data-column.component.mjs +0 -114
- package/esm2022/lib/datatable/data-column/index.mjs +0 -18
- package/esm2022/lib/datatable/data-column/public-api.mjs +0 -20
- package/esm2022/lib/datatable/datatable.module.mjs +0 -161
- package/esm2022/lib/datatable/directives/custom-empty-content-template.directive.mjs +0 -35
- package/esm2022/lib/datatable/directives/custom-loading-template.directive.mjs +0 -30
- package/esm2022/lib/datatable/directives/custom-no-permission-template.directive.mjs +0 -35
- package/esm2022/lib/datatable/directives/drop-zone.directive.mjs +0 -89
- package/esm2022/lib/datatable/directives/header-filter-template.directive.mjs +0 -43
- package/esm2022/lib/datatable/directives/loading-template.directive.mjs +0 -46
- package/esm2022/lib/datatable/directives/main-data-table-action-template.directive.mjs +0 -43
- package/esm2022/lib/datatable/directives/no-content-template.directive.mjs +0 -46
- package/esm2022/lib/datatable/directives/no-permission-template.directive.mjs +0 -46
- package/esm2022/lib/datatable/directives/resizable/resizable.directive.mjs +0 -173
- package/esm2022/lib/datatable/directives/resizable/resize-handle.directive.mjs +0 -72
- package/esm2022/lib/datatable/directives/resizable/types.mjs +0 -18
- package/esm2022/lib/datatable/index.mjs +0 -18
- package/esm2022/lib/datatable/public-api.mjs +0 -55
- package/esm2022/lib/datatable/services/datatable.service.mjs +0 -33
- package/esm2022/lib/dialogs/confirm-dialog/confirm.dialog.mjs +0 -50
- package/esm2022/lib/dialogs/confirm-dialog/confirm.dialog.module.mjs +0 -38
- package/esm2022/lib/dialogs/dialog/dialog-data.interface.mjs +0 -18
- package/esm2022/lib/dialogs/dialog/dialog.component.mjs +0 -70
- package/esm2022/lib/dialogs/dialog/dialog.model.mjs +0 -22
- package/esm2022/lib/dialogs/dialog/index.mjs +0 -20
- package/esm2022/lib/dialogs/edit-json/edit-json.dialog.mjs +0 -52
- package/esm2022/lib/dialogs/edit-json/edit-json.dialog.module.mjs +0 -34
- package/esm2022/lib/dialogs/index.mjs +0 -18
- package/esm2022/lib/dialogs/public-api.mjs +0 -25
- package/esm2022/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.component.mjs +0 -73
- package/esm2022/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.model.mjs +0 -18
- package/esm2022/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.module.mjs +0 -33
- package/esm2022/lib/dialogs/unsaved-changes-dialog/unsaved-changes.guard.mjs +0 -64
- package/esm2022/lib/directives/directive.module.mjs +0 -56
- package/esm2022/lib/directives/highlight.directive.mjs +0 -67
- package/esm2022/lib/directives/index.mjs +0 -18
- package/esm2022/lib/directives/infinite-select-scroll.directive.mjs +0 -67
- package/esm2022/lib/directives/logout.directive.mjs +0 -72
- package/esm2022/lib/directives/public-api.mjs +0 -24
- package/esm2022/lib/directives/tooltip-card/tooltip-card.component.mjs +0 -60
- package/esm2022/lib/directives/tooltip-card/tooltip-card.directive.mjs +0 -104
- package/esm2022/lib/directives/upload.directive.mjs +0 -241
- package/esm2022/lib/dynamic-chip-list/chip.mjs +0 -18
- package/esm2022/lib/dynamic-chip-list/dynamic-chip-list.component.mjs +0 -204
- package/esm2022/lib/dynamic-chip-list/dynamic-chip-list.module.mjs +0 -33
- package/esm2022/lib/dynamic-chip-list/index.mjs +0 -18
- package/esm2022/lib/dynamic-chip-list/public-api.mjs +0 -20
- package/esm2022/lib/events/base-ui.event.mjs +0 -21
- package/esm2022/lib/events/base.event.mjs +0 -29
- package/esm2022/lib/events/index.mjs +0 -18
- package/esm2022/lib/events/public-api.mjs +0 -19
- package/esm2022/lib/form/components/form-base.component.mjs +0 -224
- package/esm2022/lib/form/components/form-custom-button.directive.mjs +0 -30
- package/esm2022/lib/form/components/form-field/form-field.component.mjs +0 -142
- package/esm2022/lib/form/components/form-renderer.component.mjs +0 -161
- package/esm2022/lib/form/components/form-section/form-section.component.mjs +0 -46
- package/esm2022/lib/form/components/helpers/buttons-visibility.mjs +0 -37
- package/esm2022/lib/form/components/inplace-form-input/inplace-form-input.component.mjs +0 -37
- package/esm2022/lib/form/components/middlewares/decimal-middleware.service.mjs +0 -48
- package/esm2022/lib/form/components/middlewares/middleware.mjs +0 -19
- package/esm2022/lib/form/components/widgets/amount/amount.widget.mjs +0 -77
- package/esm2022/lib/form/components/widgets/base-viewer/base-viewer.widget.mjs +0 -59
- package/esm2022/lib/form/components/widgets/checkbox/checkbox.widget.mjs +0 -52
- package/esm2022/lib/form/components/widgets/core/container-column.model.mjs +0 -28
- package/esm2022/lib/form/components/widgets/core/container.model.mjs +0 -50
- package/esm2022/lib/form/components/widgets/core/content-link.model.mjs +0 -52
- package/esm2022/lib/form/components/widgets/core/displayable-cm-properties.model.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/error-message.model.mjs +0 -38
- package/esm2022/lib/form/components/widgets/core/external-content-link.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/external-content.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/form-field-file-source.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/form-field-metadata.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/form-field-option.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/form-field-rule.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/form-field-selected-folder.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/form-field-templates.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/form-field-types.mjs +0 -74
- package/esm2022/lib/form/components/widgets/core/form-field-utils.mjs +0 -23
- package/esm2022/lib/form/components/widgets/core/form-field-validator.mjs +0 -268
- package/esm2022/lib/form/components/widgets/core/form-field-variable-options.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/form-field.model.mjs +0 -490
- package/esm2022/lib/form/components/widgets/core/form-outcome-event.model.mjs +0 -32
- package/esm2022/lib/form/components/widgets/core/form-outcome.model.mjs +0 -38
- package/esm2022/lib/form/components/widgets/core/form-values.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/form-variable.model.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/form-widget.model.mjs +0 -33
- package/esm2022/lib/form/components/widgets/core/form.model.mjs +0 -387
- package/esm2022/lib/form/components/widgets/core/group.model.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/index.mjs +0 -49
- package/esm2022/lib/form/components/widgets/core/predefined-theme.mjs +0 -115
- package/esm2022/lib/form/components/widgets/core/process-form-model.interface.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/process-variable.model.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/tab.model.mjs +0 -34
- package/esm2022/lib/form/components/widgets/core/theme.model.mjs +0 -18
- package/esm2022/lib/form/components/widgets/core/upload-widget-content-link.model.mjs +0 -27
- package/esm2022/lib/form/components/widgets/core/widget-schema.model.mjs +0 -18
- package/esm2022/lib/form/components/widgets/date/date.widget.mjs +0 -162
- package/esm2022/lib/form/components/widgets/date-time/date-time.widget.mjs +0 -153
- package/esm2022/lib/form/components/widgets/decimal/decimal.component.mjs +0 -53
- package/esm2022/lib/form/components/widgets/display-text/display-text.schema.mjs +0 -86
- package/esm2022/lib/form/components/widgets/display-text/display-text.widget.mjs +0 -46
- package/esm2022/lib/form/components/widgets/display-text/index.mjs +0 -19
- package/esm2022/lib/form/components/widgets/error/error.component.mjs +0 -92
- package/esm2022/lib/form/components/widgets/header/header.schema.mjs +0 -86
- package/esm2022/lib/form/components/widgets/header/header.widget.mjs +0 -42
- package/esm2022/lib/form/components/widgets/header/index.mjs +0 -19
- package/esm2022/lib/form/components/widgets/hyperlink/hyperlink.widget.mjs +0 -69
- package/esm2022/lib/form/components/widgets/index.mjs +0 -71
- package/esm2022/lib/form/components/widgets/json/json.widget.mjs +0 -66
- package/esm2022/lib/form/components/widgets/multiline-text/multiline-text.widget.mjs +0 -55
- package/esm2022/lib/form/components/widgets/number/number.widget.mjs +0 -71
- package/esm2022/lib/form/components/widgets/reactive-widget.interface.mjs +0 -18
- package/esm2022/lib/form/components/widgets/text/text-mask.component.mjs +0 -221
- package/esm2022/lib/form/components/widgets/text/text.widget.mjs +0 -65
- package/esm2022/lib/form/components/widgets/unknown/unknown.widget.mjs +0 -63
- package/esm2022/lib/form/components/widgets/widget.component.mjs +0 -110
- package/esm2022/lib/form/events/form-error.event.mjs +0 -24
- package/esm2022/lib/form/events/form-field.event.mjs +0 -24
- package/esm2022/lib/form/events/form-rules.event.mjs +0 -25
- package/esm2022/lib/form/events/form-spinner.event.mjs +0 -23
- package/esm2022/lib/form/events/form.event.mjs +0 -29
- package/esm2022/lib/form/events/index.mjs +0 -24
- package/esm2022/lib/form/events/validate-form-field.event.mjs +0 -24
- package/esm2022/lib/form/events/validate-form.event.mjs +0 -25
- package/esm2022/lib/form/form-base.module.mjs +0 -75
- package/esm2022/lib/form/index.mjs +0 -18
- package/esm2022/lib/form/models/form-rules.model.mjs +0 -77
- package/esm2022/lib/form/models/task-process-variable.model.mjs +0 -19
- package/esm2022/lib/form/models/widget-visibility.model.mjs +0 -104
- package/esm2022/lib/form/pipes/field-style.pipe.mjs +0 -45
- package/esm2022/lib/form/pipes/index.mjs +0 -18
- package/esm2022/lib/form/public-api.mjs +0 -35
- package/esm2022/lib/form/services/form-rendering.service.mjs +0 -53
- package/esm2022/lib/form/services/form-validation-service.interface.mjs +0 -18
- package/esm2022/lib/form/services/form.service.mjs +0 -86
- package/esm2022/lib/form/services/widget-visibility.service.mjs +0 -294
- package/esm2022/lib/header/header.component.mjs +0 -73
- package/esm2022/lib/header/index.mjs +0 -18
- package/esm2022/lib/header/navbar/navbar-item.component.mjs +0 -37
- package/esm2022/lib/header/navbar/navbar.component.mjs +0 -36
- package/esm2022/lib/header/public-api.mjs +0 -20
- package/esm2022/lib/icon/icon.component.mjs +0 -51
- package/esm2022/lib/icon/icon.module.mjs +0 -36
- package/esm2022/lib/icon/index.mjs +0 -18
- package/esm2022/lib/icon/public-api.mjs +0 -19
- package/esm2022/lib/identity-user-info/identity-user-info.component.mjs +0 -86
- package/esm2022/lib/identity-user-info/identity-user-info.module.mjs +0 -33
- package/esm2022/lib/identity-user-info/index.mjs +0 -18
- package/esm2022/lib/identity-user-info/public-api.mjs +0 -19
- package/esm2022/lib/info-drawer/index.mjs +0 -18
- package/esm2022/lib/info-drawer/info-drawer-layout.component.mjs +0 -71
- package/esm2022/lib/info-drawer/info-drawer.component.mjs +0 -113
- package/esm2022/lib/info-drawer/info-drawer.module.mjs +0 -53
- package/esm2022/lib/info-drawer/public-api.mjs +0 -20
- package/esm2022/lib/interface/index.mjs +0 -18
- package/esm2022/lib/interface/injection.tokens.mjs +0 -19
- package/esm2022/lib/interface/public-api.mjs +0 -18
- package/esm2022/lib/landing-page/index.mjs +0 -18
- package/esm2022/lib/landing-page/provider.mjs +0 -30
- package/esm2022/lib/landing-page/public-api.mjs +0 -18
- package/esm2022/lib/language-menu/index.mjs +0 -18
- package/esm2022/lib/language-menu/language-menu.component.mjs +0 -61
- package/esm2022/lib/language-menu/language-menu.module.mjs +0 -35
- package/esm2022/lib/language-menu/language-picker.component.mjs +0 -77
- package/esm2022/lib/language-menu/public-api.mjs +0 -21
- package/esm2022/lib/language-menu/service/language.service.interface.mjs +0 -18
- package/esm2022/lib/language-menu/service/language.service.mjs +0 -34
- package/esm2022/lib/layout/components/header/header.component.mjs +0 -99
- package/esm2022/lib/layout/components/layout-container/layout-container.component.mjs +0 -180
- package/esm2022/lib/layout/components/sidebar-action/sidebar-action-menu.component.mjs +0 -82
- package/esm2022/lib/layout/components/sidenav-layout/sidenav-layout.component.mjs +0 -145
- package/esm2022/lib/layout/directives/sidenav-layout-content.directive.mjs +0 -33
- package/esm2022/lib/layout/directives/sidenav-layout-header.directive.mjs +0 -33
- package/esm2022/lib/layout/directives/sidenav-layout-navigation.directive.mjs +0 -33
- package/esm2022/lib/layout/index.mjs +0 -18
- package/esm2022/lib/layout/layout.module.mjs +0 -72
- package/esm2022/lib/layout/public-api.mjs +0 -25
- package/esm2022/lib/login/components/login/login.component.mjs +0 -367
- package/esm2022/lib/login/components/login-dialog/login-dialog-component-data.interface.mjs +0 -18
- package/esm2022/lib/login/components/login-dialog/login-dialog.component.mjs +0 -57
- package/esm2022/lib/login/components/login-dialog-panel/login-dialog-panel.component.mjs +0 -48
- package/esm2022/lib/login/directives/login-footer.directive.mjs +0 -41
- package/esm2022/lib/login/directives/login-header.directive.mjs +0 -41
- package/esm2022/lib/login/index.mjs +0 -18
- package/esm2022/lib/login/login.module.mjs +0 -54
- package/esm2022/lib/login/models/login-error.event.mjs +0 -22
- package/esm2022/lib/login/models/login-submit.event.mjs +0 -32
- package/esm2022/lib/login/models/login-success.event.mjs +0 -24
- package/esm2022/lib/login/public-api.mjs +0 -27
- package/esm2022/lib/material.module.mjs +0 -254
- package/esm2022/lib/mock/cookie.service.mock.mjs +0 -43
- package/esm2022/lib/mock/data-column.mock.mjs +0 -73
- package/esm2022/lib/mock/event.mock.mjs +0 -39
- package/esm2022/lib/mock/form/form-definition-readonly.mock.mjs +0 -225
- package/esm2022/lib/mock/form/form-definition-visibility.mock.mjs +0 -347
- package/esm2022/lib/mock/form/form-definition.mock.mjs +0 -403
- package/esm2022/lib/mock/form/form.component.mock.mjs +0 -275
- package/esm2022/lib/mock/form/form.service.mock.mjs +0 -248
- package/esm2022/lib/mock/form/widget-visibility.service.mock.mjs +0 -1835
- package/esm2022/lib/mock/index.mjs +0 -18
- package/esm2022/lib/mock/public-api.mjs +0 -27
- package/esm2022/lib/mock/translation.service.mock.mjs +0 -44
- package/esm2022/lib/models/comment.model.mjs +0 -51
- package/esm2022/lib/models/component.model.mjs +0 -24
- package/esm2022/lib/models/decimal-number.model.mjs +0 -26
- package/esm2022/lib/models/general-user.model.mjs +0 -24
- package/esm2022/lib/models/index.mjs +0 -18
- package/esm2022/lib/models/pagination.model.mjs +0 -29
- package/esm2022/lib/models/path.model.mjs +0 -24
- package/esm2022/lib/models/product-version.model.mjs +0 -28
- package/esm2022/lib/models/public-api.mjs +0 -24
- package/esm2022/lib/models/request-pagination.model.mjs +0 -25
- package/esm2022/lib/notifications/components/add-notification.stories.component.mjs +0 -44
- package/esm2022/lib/notifications/components/notification-history.component.mjs +0 -138
- package/esm2022/lib/notifications/helpers/notification.factory.mjs +0 -43
- package/esm2022/lib/notifications/index.mjs +0 -18
- package/esm2022/lib/notifications/models/notification.model.mjs +0 -25
- package/esm2022/lib/notifications/notification-history.module.mjs +0 -35
- package/esm2022/lib/notifications/public-api.mjs +0 -23
- package/esm2022/lib/notifications/services/notification.service.mjs +0 -166
- package/esm2022/lib/pagination/index.mjs +0 -18
- package/esm2022/lib/pagination/infinite-pagination.component.mjs +0 -111
- package/esm2022/lib/pagination/paginated-component.interface.mjs +0 -18
- package/esm2022/lib/pagination/pagination-component.interface.mjs +0 -18
- package/esm2022/lib/pagination/pagination.component.mjs +0 -263
- package/esm2022/lib/pagination/pagination.module.mjs +0 -35
- package/esm2022/lib/pagination/public-api.mjs +0 -22
- package/esm2022/lib/pipes/date-time.pipe.mjs +0 -46
- package/esm2022/lib/pipes/decimal-number.pipe.mjs +0 -78
- package/esm2022/lib/pipes/file-size.pipe.mjs +0 -54
- package/esm2022/lib/pipes/file-type.pipe.mjs +0 -40
- package/esm2022/lib/pipes/format-space.pipe.mjs +0 -39
- package/esm2022/lib/pipes/full-name.pipe.mjs +0 -43
- package/esm2022/lib/pipes/index.mjs +0 -18
- package/esm2022/lib/pipes/localized-date.pipe.mjs +0 -70
- package/esm2022/lib/pipes/multi-value.pipe.mjs +0 -37
- package/esm2022/lib/pipes/pipe.module.mjs +0 -83
- package/esm2022/lib/pipes/public-api.mjs +0 -30
- package/esm2022/lib/pipes/text-highlight.pipe.mjs +0 -39
- package/esm2022/lib/pipes/time-ago.pipe.mjs +0 -65
- package/esm2022/lib/pipes/truncate.pipe.mjs +0 -33
- package/esm2022/lib/pipes/user-initial.pipe.mjs +0 -52
- package/esm2022/lib/pipes/user-like.interface.mjs +0 -18
- package/esm2022/lib/progress/progress.component.mjs +0 -90
- package/esm2022/lib/search-text/animations.mjs +0 -32
- package/esm2022/lib/search-text/index.mjs +0 -18
- package/esm2022/lib/search-text/models/search-text-input.model.mjs +0 -23
- package/esm2022/lib/search-text/public-api.mjs +0 -22
- package/esm2022/lib/search-text/search-text-input.component.mjs +0 -283
- package/esm2022/lib/search-text/search-text-input.module.mjs +0 -35
- package/esm2022/lib/search-text/search-trigger.directive.mjs +0 -181
- package/esm2022/lib/snackbar-content/index.mjs +0 -18
- package/esm2022/lib/snackbar-content/public-api.mjs +0 -20
- package/esm2022/lib/snackbar-content/snack-bar-data.mjs +0 -18
- package/esm2022/lib/snackbar-content/snackbar-content.component.mjs +0 -49
- package/esm2022/lib/snackbar-content/snackbar-content.module.mjs +0 -33
- package/esm2022/lib/sorting-picker/index.mjs +0 -18
- package/esm2022/lib/sorting-picker/public-api.mjs +0 -18
- package/esm2022/lib/sorting-picker/sorting-picker.component.mjs +0 -67
- package/esm2022/lib/templates/empty-content/empty-content.component.mjs +0 -43
- package/esm2022/lib/templates/error-content/error-content.component.mjs +0 -61
- package/esm2022/lib/templates/index.mjs +0 -18
- package/esm2022/lib/templates/public-api.mjs +0 -20
- package/esm2022/lib/templates/template.module.mjs +0 -38
- package/esm2022/lib/testing/core.story.module.mjs +0 -39
- package/esm2022/lib/testing/core.testing.module.mjs +0 -36
- package/esm2022/lib/testing/index.mjs +0 -22
- package/esm2022/lib/testing/noop-auth.module.mjs +0 -80
- package/esm2022/lib/testing/noop-translate.module.mjs +0 -75
- package/esm2022/lib/testing/unit-testing-utils.mjs +0 -367
- package/esm2022/lib/toolbar/index.mjs +0 -18
- package/esm2022/lib/toolbar/public-api.mjs +0 -21
- package/esm2022/lib/toolbar/toolbar-divider.component.mjs +0 -27
- package/esm2022/lib/toolbar/toolbar-title.component.mjs +0 -32
- package/esm2022/lib/toolbar/toolbar.component.mjs +0 -39
- package/esm2022/lib/toolbar/toolbar.module.mjs +0 -36
- package/esm2022/lib/translation/index.mjs +0 -18
- package/esm2022/lib/translation/provide-i18n.mjs +0 -48
- package/esm2022/lib/translation/public-api.mjs +0 -20
- package/esm2022/lib/translation/translate-loader.service.mjs +0 -153
- package/esm2022/lib/translation/translation.service.mjs +0 -148
- package/esm2022/lib/viewer/components/download-prompt-dialog/download-prompt-dialog.component.mjs +0 -36
- package/esm2022/lib/viewer/components/img-viewer/img-viewer.component.mjs +0 -220
- package/esm2022/lib/viewer/components/media-player/media-player.component.mjs +0 -64
- package/esm2022/lib/viewer/components/pdf-viewer/pdf-viewer.component.mjs +0 -550
- package/esm2022/lib/viewer/components/pdf-viewer-password-dialog/pdf-viewer-password-dialog.mjs +0 -60
- package/esm2022/lib/viewer/components/pdf-viewer-thumb/pdf-viewer-thumb.component.mjs +0 -48
- package/esm2022/lib/viewer/components/pdf-viewer-thumbnails/pdf-viewer-thumbnails.component.mjs +0 -198
- package/esm2022/lib/viewer/components/txt-viewer/txt-viewer.component.mjs +0 -85
- package/esm2022/lib/viewer/components/unknown-format/unknown-format.component.mjs +0 -32
- package/esm2022/lib/viewer/components/viewer-more-actions.component.mjs +0 -34
- package/esm2022/lib/viewer/components/viewer-open-with.component.mjs +0 -34
- package/esm2022/lib/viewer/components/viewer-render/viewer-render.component.mjs +0 -216
- package/esm2022/lib/viewer/components/viewer-sidebar.component.mjs +0 -46
- package/esm2022/lib/viewer/components/viewer-toolbar-actions.component.mjs +0 -34
- package/esm2022/lib/viewer/components/viewer-toolbar-custom-actions.component.mjs +0 -34
- package/esm2022/lib/viewer/components/viewer-toolbar.component.mjs +0 -34
- package/esm2022/lib/viewer/components/viewer.component.mjs +0 -492
- package/esm2022/lib/viewer/directives/viewer-extension.directive.mjs +0 -67
- package/esm2022/lib/viewer/index.mjs +0 -18
- package/esm2022/lib/viewer/models/download-prompt.actions.mjs +0 -23
- package/esm2022/lib/viewer/models/viewer.model.mjs +0 -22
- package/esm2022/lib/viewer/public-api.mjs +0 -40
- package/esm2022/lib/viewer/services/rendering-queue.services.mjs +0 -179
- package/esm2022/lib/viewer/services/view-util.service.mjs +0 -149
- package/esm2022/lib/viewer/viewer.module.mjs +0 -110
- package/esm2022/public-api.mjs +0 -61
- package/esm2022/shell/alfresco-adf-core-shell.mjs +0 -5
- package/esm2022/shell/index.mjs +0 -21
- package/esm2022/shell/lib/components/shell/shell.component.mjs +0 -122
- package/esm2022/shell/lib/services/shell-app.service.mjs +0 -22
- package/esm2022/shell/lib/shell.module.mjs +0 -75
- package/esm2022/shell/lib/shell.routes.mjs +0 -50
- package/lib/app-config/app-config.module.d.ts +0 -8
- package/lib/app-config/debug-app-config.service.d.ts +0 -10
- package/lib/auth/oidc/auth-routing.module.d.ts +0 -6
- package/lib/mock/form/form-definition.mock.d.ts +0 -19
- package/lib/mock/form/form.component.mock.d.ts +0 -17
- package/lib/testing/core.testing.module.d.ts +0 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alfresco-adf-core-shell.mjs","sources":["../../../../lib/core/shell/src/lib/services/shell-app.service.ts","../../../../lib/core/shell/src/lib/components/shell/shell.component.ts","../../../../lib/core/shell/src/lib/components/shell/shell.component.html","../../../../lib/core/shell/src/lib/shell.routes.ts","../../../../lib/core/shell/src/lib/shell.module.ts","../../../../lib/core/shell/src/index.ts","../../../../lib/core/shell/src/alfresco-adf-core-shell.ts"],"sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { InjectionToken } from '@angular/core';\nimport { CanActivateFn, CanActivateChildFn } from '@angular/router';\nimport { Observable } from 'rxjs';\n\nexport interface ShellPreferencesService {\n set(preferenceKey: string, value: any): void;\n get(preferenceKey: string, defaultValue: string): string;\n}\n\nexport interface ShellAppService {\n pageHeading$: Observable<string>;\n hideSidenavConditions: string[];\n minimizeSidenavConditions: string[];\n preferencesService: ShellPreferencesService;\n}\n\nexport const SHELL_APP_SERVICE = new InjectionToken<ShellAppService>('SHELL_APP_SERVICE');\n\nexport const SHELL_AUTH_TOKEN = new InjectionToken<CanActivateFn | CanActivateChildFn>('SHELL_AUTH_TOKEN');\nexport const SHELL_NAVBAR_MIN_WIDTH = new InjectionToken<number>('SHELL_NAVBAR_MIN_WIDTH');\nexport const SHELL_NAVBAR_MAX_WIDTH = new InjectionToken<number>('SHELL_NAVBAR_MAX_WIDTH');\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { AppConfigService, SidenavLayoutComponent, SidenavLayoutModule } from '@alfresco/adf-core';\nimport { DynamicExtensionComponent } from '@alfresco/adf-extensions';\nimport { Component, DestroyRef, inject, Inject, OnInit, Optional, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { NavigationEnd, Router, RouterModule } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { filter, map, withLatestFrom } from 'rxjs/operators';\nimport { BreakpointObserver } from '@angular/cdk/layout';\nimport { Directionality } from '@angular/cdk/bidi';\nimport {\n SHELL_APP_SERVICE,\n SHELL_NAVBAR_MAX_WIDTH,\n SHELL_NAVBAR_MIN_WIDTH,\n ShellAppService\n} from '../../services/shell-app.service';\nimport { CommonModule } from '@angular/common';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\n@Component({\n selector: 'app-shell',\n standalone: true,\n imports: [CommonModule, SidenavLayoutModule, RouterModule, DynamicExtensionComponent],\n templateUrl: './shell.component.html',\n styleUrls: ['./shell.component.scss'],\n encapsulation: ViewEncapsulation.None,\n host: { class: 'app-shell' }\n})\nexport class ShellLayoutComponent implements OnInit {\n @ViewChild('layout', { static: true })\n layout: SidenavLayoutComponent;\n\n isSmallScreen$: Observable<boolean>;\n\n expandedSidenav: boolean;\n minimizeSidenav = false;\n hideSidenav = false;\n sidenavMin: number;\n sidenavMax: number;\n direction: Directionality;\n\n private readonly destroyRef = inject(DestroyRef);\n\n constructor(\n private router: Router,\n private appConfigService: AppConfigService,\n private breakpointObserver: BreakpointObserver,\n @Inject(SHELL_APP_SERVICE) private shellService: ShellAppService,\n @Optional() @Inject(SHELL_NAVBAR_MIN_WIDTH) navBarMinWidth: number,\n @Optional() @Inject(SHELL_NAVBAR_MAX_WIDTH) navbarMaxWidth: number\n ) {\n this.sidenavMin = navBarMinWidth ?? 70;\n this.sidenavMax = navbarMaxWidth ?? 320;\n }\n\n ngOnInit() {\n this.isSmallScreen$ = this.breakpointObserver.observe(['(max-width: 600px)']).pipe(map((result) => result.matches));\n\n this.hideSidenav = this.shellService.hideSidenavConditions.some((el) => this.router.routerState.snapshot.url.includes(el));\n this.minimizeSidenav = this.shellService.minimizeSidenavConditions.some((el) => this.router.routerState.snapshot.url.includes(el));\n\n if (!this.minimizeSidenav) {\n this.expandedSidenav = this.getSidenavState();\n } else {\n this.expandedSidenav = false;\n }\n\n this.router.events\n .pipe(\n withLatestFrom(this.isSmallScreen$),\n filter(([event, isSmallScreen]) => isSmallScreen && event instanceof NavigationEnd),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe(() => {\n this.layout.container.sidenav.close();\n });\n\n this.router.events\n .pipe(\n filter((event) => event instanceof NavigationEnd),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe((event: NavigationEnd) => {\n this.minimizeSidenav = this.shellService.minimizeSidenavConditions.some((el) => event.urlAfterRedirects.includes(el));\n this.hideSidenav = this.shellService.hideSidenavConditions.some((el) => event.urlAfterRedirects.includes(el));\n\n this.updateState();\n });\n }\n hideMenu(event: Event) {\n if (this.layout.container.isMobileScreenSize) {\n event.preventDefault();\n this.layout.container.toggleMenu();\n }\n }\n\n private updateState() {\n if (this.minimizeSidenav && !this.layout.isMenuMinimized) {\n this.layout.isMenuMinimized = true;\n if (!this.layout.container.isMobileScreenSize) {\n this.layout.container.toggleMenu();\n }\n }\n\n if (!this.minimizeSidenav) {\n if (this.getSidenavState() && this.layout.isMenuMinimized) {\n this.layout.isMenuMinimized = false;\n this.layout.container.toggleMenu();\n }\n }\n }\n\n onExpanded(state: boolean) {\n if (!this.minimizeSidenav && this.appConfigService.get('sideNav.preserveState')) {\n this.shellService.preferencesService.set('expandedSidenav', state);\n }\n }\n\n private getSidenavState(): boolean {\n const expand = this.appConfigService.get<boolean>('sideNav.expandedSidenav', true);\n const preserveState = this.appConfigService.get<boolean>('sideNav.preserveState', true);\n\n if (preserveState) {\n return this.shellService.preferencesService.get('expandedSidenav', expand.toString()) === 'true';\n }\n\n return expand;\n }\n}\n","<adf-sidenav-layout\n #layout\n [sidenavMin]=\"sidenavMin\"\n [sidenavMax]=\"sidenavMax\"\n [stepOver]=\"600\"\n [hideSidenav]=\"hideSidenav\"\n [expandedSidenav]=\"expandedSidenav\"\n (expanded)=\"onExpanded($event)\"\n>\n <adf-sidenav-layout-header>\n <ng-template let-isMenuMinimized=\"isMenuMinimized\">\n <div\n role=\"heading\"\n aria-level=\"1\"\n *ngIf=\"!hideSidenav\"\n >\n <adf-dynamic-component id=\"app.layout.header\" [data]=\"{ layout }\" />\n </div>\n </ng-template>\n </adf-sidenav-layout-header>\n\n <adf-sidenav-layout-navigation>\n <ng-template let-isMenuMinimized=\"isMenuMinimized\">\n <div\n (swipeleft)=\"hideMenu($event)\"\n [attr.data-automation-id]=\"isMenuMinimized() ? 'collapsed' : 'expanded'\"\n >\n <adf-dynamic-component\n id=\"app.layout.sidenav\"\n [data]=\"{ layout, mode: layout.isMenuMinimized ? 'collapsed' : 'expanded'}\"\n />\n </div>\n </ng-template>\n </adf-sidenav-layout-navigation>\n\n <adf-sidenav-layout-content>\n <ng-template>\n <router-outlet />\n </ng-template>\n </adf-sidenav-layout-content>\n</adf-sidenav-layout>\n\n<adf-dynamic-component id=\"app.shell.sibling\" />\n\n<router-outlet name=\"viewer\" />\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { provideRouter, Route, Routes } from '@angular/router';\nimport { ShellLayoutComponent } from './components/shell/shell.component';\nimport { SHELL_AUTH_TOKEN } from './services/shell-app.service';\nimport { EnvironmentProviders } from '@angular/core';\n\nexport const SHELL_LAYOUT_ROUTE: Route = {\n path: '',\n component: ShellLayoutComponent,\n canActivate: [SHELL_AUTH_TOKEN],\n children: []\n};\n\nexport interface AppShellRoutesConfig {\n shellParentRoute?: Route;\n shellChildren: Routes;\n}\n\n/**\n * Provides shell routes for the application.\n *\n * @param routes The routes configuration for the shell.\n * @returns An array of providers for the shell routes.\n */\nexport function provideShellRoutes(routes: Routes | AppShellRoutesConfig): EnvironmentProviders[] {\n const shellLayoutRoute = SHELL_LAYOUT_ROUTE;\n\n if (Array.isArray(routes)) {\n shellLayoutRoute.children.push(...routes);\n return [provideRouter([shellLayoutRoute])];\n }\n\n const shellChildrenRoutes = routes.shellChildren || [];\n if (shellChildrenRoutes.length > 0) {\n shellLayoutRoute.children.push(...shellChildrenRoutes);\n }\n\n const shellParentRoute = routes.shellParentRoute;\n const rootRoute = shellParentRoute || shellLayoutRoute;\n\n if (routes.shellParentRoute) {\n rootRoute.children = rootRoute.children || [];\n rootRoute.children.push(shellLayoutRoute);\n }\n\n return [provideRouter([rootRoute])];\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ModuleWithProviders, NgModule } from '@angular/core';\nimport { Routes, provideRouter } from '@angular/router';\nimport { AppShellRoutesConfig, SHELL_LAYOUT_ROUTE } from './shell.routes';\n\n/** @deprecated use `provideShellRoutes` instead */\n@NgModule()\nexport class ShellModule {\n static withRoutes(routes: Routes | AppShellRoutesConfig): ModuleWithProviders<ShellModule> {\n if (Array.isArray(routes)) {\n return getModuleForRoutes(routes);\n }\n\n return getModuleForRouteConfig(routes);\n }\n}\n\n/**\n * Resolve module for routes\n *\n * @param routes route configuration\n * @returns module with providers\n */\nfunction getModuleForRoutes(routes: Routes): ModuleWithProviders<ShellModule> {\n const shellLayoutRoute = SHELL_LAYOUT_ROUTE;\n\n routes.forEach((childRoute) => {\n shellLayoutRoute.children.push(childRoute);\n });\n\n return {\n ngModule: ShellModule,\n providers: [provideRouter([shellLayoutRoute])]\n };\n}\n\n/**\n * Resolve a module for the route configuration\n *\n * @param config route configuration\n * @returns module with providers\n */\nfunction getModuleForRouteConfig(config: AppShellRoutesConfig): ModuleWithProviders<ShellModule> {\n const shellLayoutRoute = SHELL_LAYOUT_ROUTE;\n\n const shellParentRoute = config.shellParentRoute;\n const shellChildrenRoutes = config.shellChildren;\n\n shellLayoutRoute.children.push(...shellChildrenRoutes);\n\n const rootRoute = shellParentRoute ? shellParentRoute : shellLayoutRoute;\n\n if (config.shellParentRoute) {\n if (rootRoute.children === undefined) {\n rootRoute.children = [];\n }\n\n rootRoute.children.push(shellLayoutRoute);\n }\n\n return {\n ngModule: ShellModule,\n providers: [provideRouter([rootRoute])]\n };\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './lib/shell.module';\nexport * from './lib/services/shell-app.service';\nexport * from './lib/components/shell/shell.component';\nexport * from './lib/shell.routes';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;MAkBU,iBAAiB,GAAG,IAAI,cAAc,CAAkB,mBAAmB,EAAE;MAE7E,gBAAgB,GAAG,IAAI,cAAc,CAAqC,kBAAkB,EAAE;MAC9F,sBAAsB,GAAG,IAAI,cAAc,CAAS,wBAAwB,EAAE;MAC9E,sBAAsB,GAAG,IAAI,cAAc,CAAS,wBAAwB;;ACrCzF;;;;;;;;;;;;;;;AAeG;MA4BU,oBAAoB,CAAA;IAe7B,WACY,CAAA,MAAc,EACd,gBAAkC,EAClC,kBAAsC,EACX,YA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AgB,GAAG,gBAAgB,CAAC;AAEzE,IAAA,IAAI,MAAM,CAAC,gBAAgB,EAAE;AACzB,QAAA,IAAI,SAAS,CAAC,QAAQ,KAAK,SAAS,EAAE;AAClC,YAAA,SAAS,CAAC,QAAQ,GAAG,EAAE,CAAC;SAC3B;AAED,QAAA,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;KAC7C;IAED,OAAO;AACH,QAAA,QAAQ,EAAE,WAAW;QACrB,SAAS,EAAE,CAAC,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;KAC1C,CAAC;AACN;;AChFA;;;;;;;;;;;;;;;AAeG;;ACfH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"alfresco-adf-core-shell.mjs","sources":["../../../../lib/core/shell/src/lib/services/shell-app.service.ts","../../../../lib/core/shell/src/lib/components/shell/shell.component.ts","../../../../lib/core/shell/src/lib/components/shell/shell.component.html","../../../../lib/core/shell/src/lib/shell.routes.ts","../../../../lib/core/shell/src/lib/shell.module.ts","../../../../lib/core/shell/src/lib/providers.ts","../../../../lib/core/shell/src/index.ts","../../../../lib/core/shell/src/alfresco-adf-core-shell.ts"],"sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { InjectionToken } from '@angular/core';\nimport { CanActivateFn, CanActivateChildFn } from '@angular/router';\nimport { Observable } from 'rxjs';\n\nexport interface ShellPreferencesService {\n set(preferenceKey: string, value: any): void;\n get(preferenceKey: string, defaultValue: string): string;\n}\n\nexport interface ShellAppService {\n pageHeading$: Observable<string>;\n hideSidenavConditions: string[];\n minimizeSidenavConditions: string[];\n preferencesService: ShellPreferencesService;\n}\n\nexport const SHELL_APP_SERVICE = new InjectionToken<ShellAppService>('SHELL_APP_SERVICE');\n\nexport const SHELL_AUTH_TOKEN = new InjectionToken<CanActivateFn | CanActivateChildFn>('SHELL_AUTH_TOKEN');\nexport const SHELL_NAVBAR_MIN_WIDTH = new InjectionToken<number>('SHELL_NAVBAR_MIN_WIDTH');\nexport const SHELL_NAVBAR_MAX_WIDTH = new InjectionToken<number>('SHELL_NAVBAR_MAX_WIDTH');\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n AppConfigService,\n SidenavLayoutComponent,\n SidenavLayoutContentDirective,\n SidenavLayoutHeaderDirective,\n SidenavLayoutNavigationDirective\n} from '@alfresco/adf-core';\nimport { DynamicExtensionComponent } from '@alfresco/adf-extensions';\nimport { Component, DestroyRef, inject, Inject, OnInit, Optional, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { NavigationEnd, Router, RouterModule } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { filter, map, withLatestFrom } from 'rxjs/operators';\nimport { BreakpointObserver } from '@angular/cdk/layout';\nimport { Directionality } from '@angular/cdk/bidi';\nimport { SHELL_APP_SERVICE, SHELL_NAVBAR_MAX_WIDTH, SHELL_NAVBAR_MIN_WIDTH, ShellAppService } from '../../services/shell-app.service';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\n@Component({\n selector: 'app-shell',\n imports: [\n RouterModule,\n SidenavLayoutHeaderDirective,\n SidenavLayoutNavigationDirective,\n SidenavLayoutContentDirective,\n DynamicExtensionComponent,\n SidenavLayoutComponent\n ],\n templateUrl: './shell.component.html',\n styleUrls: ['./shell.component.scss'],\n encapsulation: ViewEncapsulation.None,\n host: { class: 'app-shell' }\n})\nexport class ShellLayoutComponent implements OnInit {\n @ViewChild('layout', { static: true })\n layout: SidenavLayoutComponent;\n\n isSmallScreen$: Observable<boolean>;\n\n expandedSidenav: boolean;\n minimizeSidenav = false;\n hideSidenav = false;\n sidenavMin: number;\n sidenavMax: number;\n direction: Directionality;\n\n private readonly destroyRef = inject(DestroyRef);\n\n constructor(\n private router: Router,\n private appConfigService: AppConfigService,\n private breakpointObserver: BreakpointObserver,\n @Inject(SHELL_APP_SERVICE) private shellService: ShellAppService,\n @Optional() @Inject(SHELL_NAVBAR_MIN_WIDTH) navBarMinWidth: number,\n @Optional() @Inject(SHELL_NAVBAR_MAX_WIDTH) navbarMaxWidth: number\n ) {\n this.sidenavMin = navBarMinWidth ?? 70;\n this.sidenavMax = navbarMaxWidth ?? 320;\n }\n\n ngOnInit() {\n this.isSmallScreen$ = this.breakpointObserver.observe(['(max-width: 600px)']).pipe(map((result) => result.matches));\n\n this.hideSidenav = this.shellService.hideSidenavConditions.some((el) => this.router.routerState.snapshot.url.includes(el));\n this.minimizeSidenav = this.shellService.minimizeSidenavConditions.some((el) => this.router.routerState.snapshot.url.includes(el));\n\n if (!this.minimizeSidenav) {\n this.expandedSidenav = this.getSidenavState();\n } else {\n this.expandedSidenav = false;\n }\n\n this.router.events\n .pipe(\n withLatestFrom(this.isSmallScreen$),\n filter(([event, isSmallScreen]) => isSmallScreen && event instanceof NavigationEnd),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe(() => {\n this.layout.container.sidenav.close();\n });\n\n this.router.events\n .pipe(\n filter((event) => event instanceof NavigationEnd),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe((event: NavigationEnd) => {\n this.minimizeSidenav = this.shellService.minimizeSidenavConditions.some((el) => event.urlAfterRedirects.includes(el));\n this.hideSidenav = this.shellService.hideSidenavConditions.some((el) => event.urlAfterRedirects.includes(el));\n\n this.updateState();\n });\n }\n hideMenu(event: Event) {\n if (this.layout.container.isMobileScreenSize) {\n event.preventDefault();\n this.layout.container.toggleMenu();\n }\n }\n\n private updateState() {\n if (this.minimizeSidenav && !this.layout.isMenuMinimized) {\n this.layout.isMenuMinimized = true;\n if (!this.layout.container.isMobileScreenSize) {\n this.layout.container.toggleMenu();\n }\n }\n\n if (!this.minimizeSidenav) {\n if (this.getSidenavState() && this.layout.isMenuMinimized) {\n this.layout.isMenuMinimized = false;\n this.layout.container.toggleMenu();\n }\n }\n }\n\n onExpanded(state: boolean) {\n if (!this.minimizeSidenav && this.appConfigService.get('sideNav.preserveState')) {\n this.shellService.preferencesService.set('expandedSidenav', state);\n }\n }\n\n private getSidenavState(): boolean {\n const expand = this.appConfigService.get<boolean>('sideNav.expandedSidenav', true);\n const preserveState = this.appConfigService.get<boolean>('sideNav.preserveState', true);\n\n if (preserveState) {\n return this.shellService.preferencesService.get('expandedSidenav', expand.toString()) === 'true';\n }\n\n return expand;\n }\n}\n","<adf-sidenav-layout\n #layout\n [sidenavMin]=\"sidenavMin\"\n [sidenavMax]=\"sidenavMax\"\n [stepOver]=\"600\"\n [hideSidenav]=\"hideSidenav\"\n [expandedSidenav]=\"expandedSidenav\"\n (expanded)=\"onExpanded($event)\"\n>\n <adf-sidenav-layout-header>\n <ng-template let-isMenuMinimized=\"isMenuMinimized\">\n @if (!hideSidenav) {\n <div\n role=\"heading\"\n aria-level=\"1\"\n >\n <adf-dynamic-component id=\"app.layout.header\" [data]=\"{ layout }\" />\n </div>\n }\n </ng-template>\n </adf-sidenav-layout-header>\n\n <adf-sidenav-layout-navigation>\n <ng-template let-isMenuMinimized=\"isMenuMinimized\">\n <div\n (swipeleft)=\"hideMenu($event)\"\n [attr.data-automation-id]=\"isMenuMinimized() ? 'collapsed' : 'expanded'\"\n >\n <adf-dynamic-component\n id=\"app.layout.sidenav\"\n [data]=\"{ layout, mode: layout.isMenuMinimized ? 'collapsed' : 'expanded'}\"\n />\n </div>\n </ng-template>\n </adf-sidenav-layout-navigation>\n\n <adf-sidenav-layout-content>\n <ng-template>\n <router-outlet />\n </ng-template>\n </adf-sidenav-layout-content>\n</adf-sidenav-layout>\n\n<adf-dynamic-component id=\"app.shell.sibling\" />\n\n<router-outlet name=\"viewer\" />\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { provideRouter, Route, Routes } from '@angular/router';\nimport { ShellLayoutComponent } from './components/shell/shell.component';\nimport { SHELL_AUTH_TOKEN } from './services/shell-app.service';\nimport { EnvironmentProviders } from '@angular/core';\n\nexport const SHELL_LAYOUT_ROUTE: Route = {\n path: '',\n component: ShellLayoutComponent,\n canActivate: [SHELL_AUTH_TOKEN],\n children: []\n};\n\nexport interface AppShellRoutesConfig {\n shellParentRoute?: Route;\n shellChildren: Routes;\n}\n\n/**\n * Provides shell routes for the application.\n *\n * @param routes The routes configuration for the shell.\n * @returns An array of providers for the shell routes.\n */\nexport function provideShellRoutes(routes: Routes | AppShellRoutesConfig): EnvironmentProviders[] {\n const shellLayoutRoute = SHELL_LAYOUT_ROUTE;\n\n if (Array.isArray(routes)) {\n shellLayoutRoute.children.push(...routes);\n return [provideRouter([shellLayoutRoute])];\n }\n\n const shellChildrenRoutes = routes.shellChildren || [];\n if (shellChildrenRoutes.length > 0) {\n shellLayoutRoute.children.push(...shellChildrenRoutes);\n }\n\n const shellParentRoute = routes.shellParentRoute;\n const rootRoute = shellParentRoute || shellLayoutRoute;\n\n if (routes.shellParentRoute) {\n rootRoute.children = rootRoute.children || [];\n rootRoute.children.push(shellLayoutRoute);\n }\n\n return [provideRouter([rootRoute])];\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ModuleWithProviders, NgModule } from '@angular/core';\nimport { Routes, provideRouter } from '@angular/router';\nimport { AppShellRoutesConfig, SHELL_LAYOUT_ROUTE } from './shell.routes';\n\n/** @deprecated use `provideShell` instead */\n@NgModule()\nexport class ShellModule {\n static withRoutes(routes: Routes | AppShellRoutesConfig): ModuleWithProviders<ShellModule> {\n if (Array.isArray(routes)) {\n return getModuleForRoutes(routes);\n }\n\n return getModuleForRouteConfig(routes);\n }\n}\n\n/**\n * Resolve module for routes\n *\n * @param routes route configuration\n * @returns module with providers\n */\nfunction getModuleForRoutes(routes: Routes): ModuleWithProviders<ShellModule> {\n const shellLayoutRoute = SHELL_LAYOUT_ROUTE;\n\n routes.forEach((childRoute) => {\n shellLayoutRoute.children.push(childRoute);\n });\n\n return {\n ngModule: ShellModule,\n providers: [provideRouter([shellLayoutRoute])]\n };\n}\n\n/**\n * Resolve a module for the route configuration\n *\n * @param config route configuration\n * @returns module with providers\n */\nfunction getModuleForRouteConfig(config: AppShellRoutesConfig): ModuleWithProviders<ShellModule> {\n const shellLayoutRoute = SHELL_LAYOUT_ROUTE;\n\n const shellParentRoute = config.shellParentRoute;\n const shellChildrenRoutes = config.shellChildren;\n\n shellLayoutRoute.children.push(...shellChildrenRoutes);\n\n const rootRoute = shellParentRoute ? shellParentRoute : shellLayoutRoute;\n\n if (config.shellParentRoute) {\n if (rootRoute.children === undefined) {\n rootRoute.children = [];\n }\n\n rootRoute.children.push(shellLayoutRoute);\n }\n\n return {\n ngModule: ShellModule,\n providers: [provideRouter([rootRoute])]\n };\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { EnvironmentProviders, Provider } from '@angular/core';\nimport { CanActivateChildFn, CanActivateFn, Routes } from '@angular/router';\nimport { AppShellRoutesConfig, provideShellRoutes } from './shell.routes';\nimport { SHELL_APP_SERVICE, SHELL_AUTH_TOKEN, SHELL_NAVBAR_MAX_WIDTH, SHELL_NAVBAR_MIN_WIDTH, ShellAppService } from './services/shell-app.service';\n\nexport interface ProvideShellOpts {\n routes: Routes | AppShellRoutesConfig;\n appService?: ShellAppService;\n authGuard?: CanActivateFn | CanActivateChildFn;\n navBar?: {\n minWidth: number;\n maxWidth: number;\n };\n}\n\n/**\n * Provides Shell-related api and providers\n *\n * @param opts Optional parameters\n * @returns list of Angular providers\n */\nexport function provideShell(opts?: ProvideShellOpts): (Provider | EnvironmentProviders)[] {\n const result: (Provider | EnvironmentProviders)[] = [provideShellRoutes(opts?.routes || [])];\n\n if (opts?.appService) {\n result.push({\n provide: SHELL_APP_SERVICE,\n useValue: opts.appService\n });\n }\n\n if (opts?.authGuard) {\n result.push({\n provide: SHELL_AUTH_TOKEN,\n useValue: opts.authGuard\n });\n }\n\n if (opts?.navBar) {\n result.push({\n provide: SHELL_NAVBAR_MIN_WIDTH,\n useValue: opts.navBar.minWidth ?? 70\n });\n result.push({\n provide: SHELL_NAVBAR_MAX_WIDTH,\n useValue: opts.navBar.maxWidth ?? 320\n });\n }\n\n return result;\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './lib/shell.module';\nexport * from './lib/services/shell-app.service';\nexport * from './lib/components/shell/shell.component';\nexport * from './lib/shell.routes';\nexport * from './lib/providers';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;MAkBU,iBAAiB,GAAG,IAAI,cAAc,CAAkB,mBAAmB;MAE3E,gBAAgB,GAAG,IAAI,cAAc,CAAqC,kBAAkB;MAC5F,sBAAsB,GAAG,IAAI,cAAc,CAAS,wBAAwB;MAC5E,sBAAsB,GAAG,IAAI,cAAc,CAAS,wBAAwB;;ACrCzF;;;;;;;;;;;;;;;AAeG;MAkCU,oBAAoB,CAAA;IAe7B,WAAA,CACY,MAAc,EACd,gBAAkC,EAClC,kBAAsC,EACX,YAA6B,EACpB,cAAsB,EACtB,cAAsB,EAAA;QAL1D,IAAA,CAAA,MAAM,GAAN,MAAM;QACN,IAAA,CAAA,gBAAgB,GAAhB,gBAAgB;QAChB,IAAA,CAAA,kBAAkB,GAAlB,kBAAkB;QACS,IAAA,CAAA,YAAY,GAAZ,YAAY;QAZnD,IAAA,CAAA,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E,IAAI,CAAC;AAClB,SAAA,CAAC;IACN;AAEA,IAAA,IAAI,IAAI,EAAE,SAAS,EAAE;QACjB,MAAM,CAAC,IAAI,CAAC;AACR,YAAA,OAAO,EAAE,gBAAgB;YACzB,QAAQ,EAAE,IAAI,CAAC;AAClB,SAAA,CAAC;IACN;AAEA,IAAA,IAAI,IAAI,EAAE,MAAM,EAAE;QACd,MAAM,CAAC,IAAI,CAAC;AACR,YAAA,OAAO,EAAE,sBAAsB;AAC/B,YAAA,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,IAAI;AACrC,SAAA,CAAC;QACF,MAAM,CAAC,IAAI,CAAC;AACR,YAAA,OAAO,EAAE,sBAAsB;AAC/B,YAAA,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,IAAI;AACrC,SAAA,CAAC;IACN;AAEA,IAAA,OAAO,MAAM;AACjB;;ACnEA;;;;;;;;;;;;;;;AAeG;;ACfH;;AAEG;;;;"}
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { Provider } from '@angular/core';
|
|
17
|
+
import { Provider, EnvironmentProviders } from '@angular/core';
|
|
18
18
|
/**
|
|
19
19
|
* Provides the application configuration for the application.
|
|
20
20
|
*
|
|
21
21
|
* @returns An array of providers to initialize the application configuration.
|
|
22
22
|
*/
|
|
23
|
-
export declare function provideAppConfig(): Provider[];
|
|
23
|
+
export declare function provideAppConfig(): (Provider | EnvironmentProviders)[];
|
|
@@ -15,8 +15,6 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
export * from './app-config.service';
|
|
18
|
-
export * from './debug-app-config.service';
|
|
19
18
|
export * from './app-config.pipe';
|
|
20
19
|
export * from './app-config-storage-prefix.factory';
|
|
21
|
-
export * from './app-config.module';
|
|
22
20
|
export * from './provide-app-config';
|
|
@@ -14,29 +14,26 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { ModuleWithProviders, InjectionToken } from '@angular/core';
|
|
17
|
+
import { ModuleWithProviders, InjectionToken, EnvironmentProviders, Provider } from '@angular/core';
|
|
18
18
|
import { OAuthStorage } from 'angular-oauth2-oidc';
|
|
19
19
|
import { AuthModuleConfig } from './auth-config';
|
|
20
|
-
import { RedirectAuthService } from './redirect-auth.service';
|
|
21
20
|
import * as i0 from "@angular/core";
|
|
22
|
-
import * as i1 from "./view/authentication-confirmation/authentication-confirmation.component";
|
|
23
|
-
import * as i2 from "./auth-routing.module";
|
|
24
|
-
import * as i3 from "angular-oauth2-oidc";
|
|
25
21
|
export declare const JWT_STORAGE_SERVICE: InjectionToken<OAuthStorage>;
|
|
26
|
-
/**
|
|
27
|
-
* Create a Login Factory function
|
|
28
|
-
*
|
|
29
|
-
* @param redirectService auth redirect service
|
|
30
|
-
* @returns a factory function
|
|
31
|
-
*/
|
|
32
|
-
export declare function loginFactory(redirectService: RedirectAuthService): () => Promise<boolean>;
|
|
33
22
|
/**
|
|
34
23
|
* @returns current instance of OAuthStorage
|
|
35
24
|
*/
|
|
36
25
|
export declare function oauthStorageFactory(): OAuthStorage;
|
|
26
|
+
/**
|
|
27
|
+
* Provides core authentication api
|
|
28
|
+
*
|
|
29
|
+
* @param config Optional configuration parameters
|
|
30
|
+
* @returns Angular providers
|
|
31
|
+
*/
|
|
32
|
+
export declare function provideCoreAuth(config?: AuthModuleConfig): (Provider | EnvironmentProviders)[];
|
|
33
|
+
/** @deprecated use `provideCoreAuth()` provider api instead */
|
|
37
34
|
export declare class AuthModule {
|
|
38
35
|
static forRoot(config?: AuthModuleConfig): ModuleWithProviders<AuthModule>;
|
|
39
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthModule, never>;
|
|
40
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AuthModule,
|
|
37
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AuthModule, never, never, never>;
|
|
41
38
|
static ɵinj: i0.ɵɵInjectorDeclaration<AuthModule>;
|
|
42
39
|
}
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
export * from './auth-routing.module';
|
|
18
17
|
export * from './auth.module';
|
|
19
18
|
export * from './auth.service';
|
|
20
19
|
export * from './oidc-auth.guard';
|
package/lib/auth/oidc/view/authentication-confirmation/authentication-confirmation.component.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class AuthenticationConfirmationComponent {
|
|
3
3
|
constructor();
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationConfirmationComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticationConfirmationComponent, "ng-component", never, {}, {}, never, never,
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticationConfirmationComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
6
|
}
|
|
@@ -10,5 +10,5 @@ export declare abstract class BaseCardView<T extends CardViewItem> {
|
|
|
10
10
|
get isReadonlyProperty(): boolean;
|
|
11
11
|
get hasIcon(): boolean;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseCardView<any>, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseCardView<any>, never, never, { "editable": { "alias": "editable"; "required": false; }; "property": { "alias": "property"; "required": false; }; }, {}, never, never,
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseCardView<any>, never, never, { "editable": { "alias": "editable"; "required": false; }; "property": { "alias": "property"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
color: var(--adf-metadata-property-panel-text-color);
|
|
10
10
|
display: flex;
|
|
11
11
|
line-height: 20px;
|
|
12
|
+
|
|
13
|
+
&.adf-property-readonly-value {
|
|
14
|
+
color: var(--adf-metadata-property-panel-label-color);
|
|
15
|
+
}
|
|
12
16
|
|
|
13
17
|
&.adf-property-value-editable {
|
|
14
18
|
color: var(--adf-metadata-property-panel-title-color);
|
|
15
19
|
}
|
|
16
|
-
|
|
17
|
-
&.adf-property-readonly-value {
|
|
18
|
-
color: var(--adf-metadata-property-panel-label-color);
|
|
19
|
-
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.adf-property-container {
|
|
@@ -33,9 +33,15 @@
|
|
|
33
33
|
|
|
34
34
|
#{ms.$mat-input-element} {
|
|
35
35
|
text-overflow: ellipsis;
|
|
36
|
-
color: var(--adf-metadata-property-panel-title-color);
|
|
37
|
-
padding: 6px 0;
|
|
38
36
|
line-height: 20px;
|
|
37
|
+
|
|
38
|
+
&.adf-property-value-editable {
|
|
39
|
+
padding: 6px 0 6px 12px;
|
|
40
|
+
|
|
41
|
+
&:disabled {
|
|
42
|
+
color: var(--adf-metadata-property-panel-label-color);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
39
45
|
}
|
|
40
46
|
|
|
41
47
|
.adf-card-view__key-value-pairs__row {
|
|
@@ -81,10 +87,7 @@
|
|
|
81
87
|
}
|
|
82
88
|
|
|
83
89
|
.adf-property-value {
|
|
84
|
-
color: var(--adf-metadata-property-panel-title-color);
|
|
85
|
-
|
|
86
90
|
&.adf-property-value-editable {
|
|
87
|
-
color: var(--adf-metadata-property-panel-title-color);
|
|
88
91
|
background-color: var(--adf-metadata-buttons-background-color);
|
|
89
92
|
box-sizing: border-box;
|
|
90
93
|
border-radius: 6px;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
z-index: 1;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.adf-property-value-editable
|
|
17
|
+
.adf-property-value-editable {
|
|
18
18
|
padding-left: 0;
|
|
19
19
|
|
|
20
20
|
#{ms.$mat-text-field-no-label} #{ms.$mat-form-field-infix} {
|
|
@@ -55,7 +55,6 @@
|
|
|
55
55
|
cursor: default;
|
|
56
56
|
padding: 6px 0;
|
|
57
57
|
border-bottom: 1px solid var(--adf-metadata-property-panel-border-color);
|
|
58
|
-
color: var(--adf-metadata-property-panel-title-color);
|
|
59
58
|
}
|
|
60
59
|
|
|
61
60
|
#{ms.$mat-line-ripple} {
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
font-size: var(--theme-caption-font-size);
|
|
6
6
|
padding-top: 6px;
|
|
7
7
|
|
|
8
|
+
&::before {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
8
12
|
ul {
|
|
9
13
|
margin: 0;
|
|
10
14
|
padding: 0;
|
|
@@ -71,11 +75,8 @@
|
|
|
71
75
|
border-bottom: 1px solid var(--adf-metadata-property-panel-border-color);
|
|
72
76
|
}
|
|
73
77
|
|
|
74
|
-
.adf-property-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.adf-property-value-editable:not(:disabled) {
|
|
78
|
+
.adf-property-value-not-editable {
|
|
79
|
+
/* stylelint-disable-next-line declaration-no-important */
|
|
79
80
|
color: var(--adf-metadata-property-panel-title-color);
|
|
80
81
|
}
|
|
81
82
|
|
package/lib/core.module.d.ts
CHANGED
|
@@ -139,6 +139,17 @@ import * as i120 from "./blank-page/blank-page.component";
|
|
|
139
139
|
import * as i121 from "./dialogs/unsaved-changes-dialog/unsaved-changes-dialog.component";
|
|
140
140
|
import * as i122 from "./dynamic-chip-list/dynamic-chip-list.component";
|
|
141
141
|
import * as i123 from "./material.module";
|
|
142
|
+
/**
|
|
143
|
+
* @deprecated this module is deprecated and will be removed
|
|
144
|
+
* Use the following combination instead:
|
|
145
|
+
* ```typescript
|
|
146
|
+
* providers: [
|
|
147
|
+
* provideI18N(...),
|
|
148
|
+
* provideAppConfig(),
|
|
149
|
+
* provideCoreAuth(...)
|
|
150
|
+
* ]
|
|
151
|
+
* ```
|
|
152
|
+
*/
|
|
142
153
|
export declare class CoreModule {
|
|
143
154
|
static forRoot(): ModuleWithProviders<CoreModule>;
|
|
144
155
|
/**
|
|
@@ -19,6 +19,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
|
|
|
19
19
|
.adf-datatable {
|
|
20
20
|
overflow-y: scroll;
|
|
21
21
|
height: 100%;
|
|
22
|
+
display: block;
|
|
22
23
|
|
|
23
24
|
.adf-full-width {
|
|
24
25
|
width: 100%;
|
|
@@ -671,7 +672,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
|
|
|
671
672
|
.adf-datatable-body {
|
|
672
673
|
display: block;
|
|
673
674
|
flex: 1;
|
|
674
|
-
overflow
|
|
675
|
+
overflow: hidden auto;
|
|
675
676
|
margin-top: -1px;
|
|
676
677
|
}
|
|
677
678
|
}
|
|
@@ -36,5 +36,5 @@ export declare abstract class DataTableSchema<T = unknown> {
|
|
|
36
36
|
private setHiddenColumns;
|
|
37
37
|
private setColumnsWidth;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableSchema<any>, never>;
|
|
39
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DataTableSchema<any>, never, never, { "presetColumn": { "alias": "presetColumn"; "required": false; }; }, {}, ["columnList"], never,
|
|
39
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DataTableSchema<any>, never, never, { "presetColumn": { "alias": "presetColumn"; "required": false; }; }, {}, ["columnList"], never, true, never>;
|
|
40
40
|
}
|
|
@@ -19,5 +19,5 @@ export declare class ConfirmDialogComponent {
|
|
|
19
19
|
constructor(data: ConfirmDialogComponentProps, sanitizer: DomSanitizer);
|
|
20
20
|
sanitizedHtmlContent(): string;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "adf-confirm-dialog", never, {}, {}, never, never,
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "adf-confirm-dialog", never, {}, {}, never, never, true, never>;
|
|
23
23
|
}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./confirm.dialog";
|
|
3
|
-
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "@ngx-translate/core";
|
|
6
|
-
import * as i5 from "@angular/material/dialog";
|
|
7
|
-
import * as i6 from "@angular/material/button";
|
|
3
|
+
/** @deprecated use `ConfirmDialogComponent` directly instead of importing this module */
|
|
8
4
|
export declare class ConfirmDialogModule {
|
|
9
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmDialogModule, [typeof i1.ConfirmDialogComponent], [typeof
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmDialogModule, never, [typeof i1.ConfirmDialogComponent], [typeof i1.ConfirmDialogComponent]>;
|
|
11
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmDialogModule>;
|
|
12
8
|
}
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
height: 100%;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.adf-form-renderer {
|
|
17
|
+
// override Material styles, otherwise fields collapse on some screen widths
|
|
18
|
+
// related issue: https://hyland.atlassian.net/browse/AAE-36582
|
|
19
|
+
.mat-mdc-form-field-infix {
|
|
20
|
+
width: auto;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
16
24
|
.alfresco-tabs-widget {
|
|
17
25
|
width: 100%;
|
|
18
26
|
|
|
@@ -66,19 +74,22 @@
|
|
|
66
74
|
display: flex;
|
|
67
75
|
margin-right: -1%;
|
|
68
76
|
width: 100%;
|
|
77
|
+
gap: 8px;
|
|
69
78
|
|
|
70
79
|
&-item {
|
|
71
80
|
width: 100%;
|
|
72
81
|
box-sizing: border-box;
|
|
73
82
|
}
|
|
83
|
+
|
|
84
|
+
.adf-radio-buttons-widget {
|
|
85
|
+
padding-left: 12px;
|
|
86
|
+
}
|
|
74
87
|
}
|
|
75
88
|
|
|
76
89
|
&-single-column {
|
|
77
90
|
display: flex;
|
|
78
91
|
flex-direction: column;
|
|
79
92
|
flex: 1 1 auto;
|
|
80
|
-
padding-left: 5px;
|
|
81
|
-
padding-right: 5px;
|
|
82
93
|
}
|
|
83
94
|
|
|
84
95
|
&-item {
|
|
@@ -253,6 +264,18 @@
|
|
|
253
264
|
line-height: 64px;
|
|
254
265
|
margin-right: 15px;
|
|
255
266
|
}
|
|
267
|
+
|
|
268
|
+
&-error-messages-container {
|
|
269
|
+
min-height: 35px;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
&-error-messages-container-visible {
|
|
273
|
+
visibility: visible;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
&-error-messages-container-hidden {
|
|
277
|
+
visibility: hidden;
|
|
278
|
+
}
|
|
256
279
|
}
|
|
257
280
|
|
|
258
281
|
form-field {
|
|
@@ -264,7 +287,3 @@ form-field {
|
|
|
264
287
|
line-height: normal;
|
|
265
288
|
}
|
|
266
289
|
}
|
|
267
|
-
|
|
268
|
-
.adf-error-messages-container {
|
|
269
|
-
min-height: 35px;
|
|
270
|
-
}
|
|
@@ -1,10 +1,32 @@
|
|
|
1
|
+
@use '../../../../../src/lib/styles/flex' as flex;
|
|
2
|
+
|
|
1
3
|
.adf-grid-list {
|
|
2
4
|
&-section {
|
|
3
5
|
&-single-column {
|
|
4
6
|
display: flex;
|
|
5
7
|
flex-wrap: inherit;
|
|
6
|
-
align-items:
|
|
8
|
+
align-items: center;
|
|
7
9
|
gap: 1%;
|
|
10
|
+
|
|
11
|
+
@include flex.layout-bp(lt-md) {
|
|
12
|
+
/* stylelint-disable-next-line declaration-no-important */
|
|
13
|
+
flex: 1 1 100% !important;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.adf-section-widget {
|
|
18
|
+
@include flex.layout-bp(lt-md) {
|
|
19
|
+
/* stylelint-disable-next-line declaration-no-important */
|
|
20
|
+
width: 100% !important;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
> div {
|
|
25
|
+
@include flex.layout-bp(lt-md) {
|
|
26
|
+
/* stylelint-disable-next-line declaration-no-important */
|
|
27
|
+
width: 100% !important;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
8
30
|
}
|
|
9
31
|
|
|
10
32
|
&-column-view-item {
|
|
@@ -14,8 +14,6 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { DataColumn } from '../datatable/data/data-column.model';
|
|
18
|
-
export declare const getDataColumnMock: <T = unknown>(column?: Partial<DataColumn<T>>) => DataColumn<T>;
|
|
19
17
|
export declare const textColumnRows: {
|
|
20
18
|
firstname: string;
|
|
21
19
|
}[];
|
|
@@ -16,11 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { FormModel, FormValues } from '../../form/components/widgets/core';
|
|
18
18
|
export declare const formTest: FormModel;
|
|
19
|
-
export declare const fakeTaskProcessVariableModels: {
|
|
20
|
-
id: string;
|
|
21
|
-
type: string;
|
|
22
|
-
value: string;
|
|
23
|
-
}[];
|
|
24
19
|
export declare const formValues: FormValues;
|
|
25
20
|
export declare const fakeFormJson: any;
|
|
26
21
|
export declare const fakeFormCheckBoxVisibilityJson: any;
|
package/lib/mock/public-api.d.ts
CHANGED
|
@@ -17,10 +17,6 @@
|
|
|
17
17
|
export * from './cookie.service.mock';
|
|
18
18
|
export * from './event.mock';
|
|
19
19
|
export * from './translation.service.mock';
|
|
20
|
-
export * from './form/form.component.mock';
|
|
21
|
-
export * from './form/form-definition.mock';
|
|
22
|
-
export * from './form/form-definition-readonly.mock';
|
|
23
|
-
export * from './form/form-definition-visibility.mock';
|
|
24
20
|
export * from './form/form.service.mock';
|
|
25
21
|
export * from './form/widget-visibility.service.mock';
|
|
26
22
|
export * from './data-column.mock';
|
package/lib/{mock/form/form-definition-visibility.mock.d.ts → testing/app-config-testing.d.ts}
RENAMED
|
@@ -14,5 +14,11 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
import { EnvironmentProviders, Provider } from '@angular/core';
|
|
18
|
+
/**
|
|
19
|
+
* Provides testing api for application config.
|
|
20
|
+
*
|
|
21
|
+
* @param config Custom application configuration data
|
|
22
|
+
* @returns Angular providers
|
|
23
|
+
*/
|
|
24
|
+
export declare function provideAppConfigTesting(config?: any): (Provider | EnvironmentProviders)[];
|
package/lib/testing/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
export * from './core.testing.module';
|
|
18
17
|
export * from './core.story.module';
|
|
19
18
|
export * from './noop-translate.module';
|
|
20
19
|
export * from './noop-auth.module';
|
|
21
20
|
export * from './unit-testing-utils';
|
|
21
|
+
export * from './app-config-testing';
|
|
@@ -1,8 +1,22 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { EnvironmentProviders, Provider } from '@angular/core';
|
|
1
18
|
import { RedirectAuthService } from '../auth/oidc/redirect-auth.service';
|
|
2
19
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../auth/oidc/auth.module";
|
|
4
|
-
import * as i2 from "@angular/common/http/testing";
|
|
5
|
-
import * as i3 from "@angular/router/testing";
|
|
6
20
|
export declare class NoopRedirectAuthService extends RedirectAuthService {
|
|
7
21
|
onLogin: import("rxjs").Observable<never>;
|
|
8
22
|
onTokenReceived: import("rxjs").Observable<never>;
|
|
@@ -10,8 +24,21 @@ export declare class NoopRedirectAuthService extends RedirectAuthService {
|
|
|
10
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoopRedirectAuthService, never>;
|
|
11
25
|
static ɵprov: i0.ɵɵInjectableDeclaration<NoopRedirectAuthService>;
|
|
12
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Provides testing api for Core Auth layer
|
|
29
|
+
*
|
|
30
|
+
* Example:
|
|
31
|
+
* ```typescript
|
|
32
|
+
* TestBed.configureTestingModule({
|
|
33
|
+
* providers: [provideCoreAuthTesting()]
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @returns list of Angular providers
|
|
38
|
+
*/
|
|
39
|
+
export declare function provideCoreAuthTesting(): (Provider | EnvironmentProviders)[];
|
|
13
40
|
export declare class NoopAuthModule {
|
|
14
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoopAuthModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NoopAuthModule, never,
|
|
42
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NoopAuthModule, never, never, never>;
|
|
16
43
|
static ɵinj: i0.ɵɵInjectorDeclaration<NoopAuthModule>;
|
|
17
44
|
}
|