@alfresco/adf-core 8.3.0 → 8.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/lib/adf-http-client.service.d.ts +3 -9
- package/app.config.schema.json +4 -3
- package/auth/authentication-interceptor/authentication.interceptor.d.ts +1 -3
- package/breadcrumbs/components/breadcrumb/breadcrumb.component.d.ts +2 -3
- package/breadcrumbs/directives/breadcrumb-focus.directive.d.ts +1 -19
- package/bundles/assets/adf-core/i18n/ar.json +0 -5
- package/bundles/assets/adf-core/i18n/cs.json +0 -5
- package/bundles/assets/adf-core/i18n/da.json +0 -5
- package/bundles/assets/adf-core/i18n/de.json +30 -13
- package/bundles/assets/adf-core/i18n/en.json +34 -17
- package/bundles/assets/adf-core/i18n/es.json +30 -13
- package/bundles/assets/adf-core/i18n/fi.json +0 -5
- package/bundles/assets/adf-core/i18n/fr.json +30 -13
- package/bundles/assets/adf-core/i18n/it.json +30 -13
- package/bundles/assets/adf-core/i18n/ja.json +0 -5
- package/bundles/assets/adf-core/i18n/nb.json +0 -5
- package/bundles/assets/adf-core/i18n/nl.json +0 -5
- package/bundles/assets/adf-core/i18n/pl.json +30 -13
- package/bundles/assets/adf-core/i18n/pt-BR.json +0 -5
- package/bundles/assets/adf-core/i18n/pt.json +30 -13
- package/bundles/assets/adf-core/i18n/ru.json +0 -5
- package/bundles/assets/adf-core/i18n/sv.json +0 -5
- package/bundles/assets/adf-core/i18n/zh-CN.json +0 -5
- package/custom-theme/material-theme.scss +13 -13
- package/custom-theme/theme/custom-palette-creator.scss +25 -27
- package/custom-theme/theme/custom-theme-palettes.scss +7 -7
- package/custom-theme/theme/theme-data.scss +13 -13
- package/custom-theme/theme/typography.scss +5 -5
- package/feature-flags/lib/components/feature-override-indicator.component.d.ts +2 -20
- package/feature-flags/lib/components/flags/flags.component.d.ts +4 -4
- package/feature-flags/lib/directives/features.directive.d.ts +5 -23
- package/feature-flags/lib/directives/not-features.directive.d.ts +5 -23
- package/feature-flags/lib/guards/is-feature-off.guard.d.ts +1 -3
- package/feature-flags/lib/guards/is-feature-on.guard.d.ts +1 -3
- package/feature-flags/lib/guards/is-flags-override-on.guard.d.ts +2 -3
- package/feature-flags/lib/services/debug-features.service.d.ts +6 -6
- package/feature-flags/lib/services/qa-features.helper.d.ts +2 -21
- package/feature-flags/lib/services/storage-features.service.d.ts +4 -4
- package/fesm2022/adf-core.mjs +4861 -4176
- package/fesm2022/adf-core.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-api.mjs +14 -16
- package/fesm2022/alfresco-adf-core-api.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-auth.mjs +7 -7
- package/fesm2022/alfresco-adf-core-auth.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-breadcrumbs.mjs +21 -20
- package/fesm2022/alfresco-adf-core-breadcrumbs.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-feature-flags.mjs +84 -129
- package/fesm2022/alfresco-adf-core-feature-flags.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-shell.mjs +24 -32
- package/fesm2022/alfresco-adf-core-shell.mjs.map +1 -1
- package/lib/about/about-license-list/about-license-list.component.d.ts +2 -1
- package/lib/about/about-license-list/about-license-list.component.scss +7 -0
- package/lib/about/about-server-settings/about-server-settings.component.d.ts +1 -3
- package/lib/about/interfaces.d.ts +1 -1
- package/lib/app-config/app-config-storage-prefix.factory.d.ts +3 -5
- package/lib/app-config/app-config.pipe.d.ts +1 -3
- package/lib/app-config/app-config.service.d.ts +31 -28
- package/lib/auth/authentication-interceptor/auth-bearer.interceptor.d.ts +2 -4
- package/lib/auth/basic-auth/basic-alfresco-auth.service.d.ts +2 -6
- package/lib/auth/basic-auth/content-auth.d.ts +4 -7
- package/lib/auth/basic-auth/process-auth.d.ts +4 -7
- package/lib/auth/guard/auth-guard.service.d.ts +7 -31
- package/lib/auth/models/oauth-config.model.d.ts +0 -1
- package/lib/auth/oidc/auth-config.service.d.ts +2 -5
- package/lib/auth/oidc/oidc-authentication.service.d.ts +4 -10
- package/lib/auth/oidc/redirect-auth.service.d.ts +6 -6
- package/lib/auth/oidc/retry-login.service.d.ts +1 -1
- package/lib/auth/services/authentication.service.d.ts +1 -19
- package/lib/auth/services/base-authentication.service.d.ts +1 -3
- package/lib/auth/services/identity-group.service.d.ts +2 -5
- package/lib/auth/services/identity-role.service.d.ts +1 -1
- package/lib/auth/services/identity-user.service.d.ts +3 -7
- package/lib/auth/services/jwt-helper.service.d.ts +1 -1
- package/lib/auth/services/oauth2.service.d.ts +1 -3
- package/lib/auth/services/time-sync.service.d.ts +3 -5
- package/lib/auth/services/user-access.service.d.ts +2 -5
- package/lib/card-view/components/card-view/card-view.component.d.ts +1 -3
- package/lib/card-view/components/card-view/card-view.component.scss +0 -90
- package/lib/card-view/components/card-view-arrayitem/card-view-arrayitem.component.scss +1 -9
- package/lib/card-view/components/card-view-boolitem/card-view-boolitem.component.d.ts +4 -2
- package/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.d.ts +5 -10
- package/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.scss +36 -41
- package/lib/card-view/components/card-view-item-dispatcher/card-view-item-dispatcher.component.d.ts +3 -5
- package/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.d.ts +4 -1
- package/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.scss +0 -12
- package/lib/card-view/components/card-view-selectitem/select-filter-input/select-filter-input.component.d.ts +1 -3
- package/lib/card-view/components/card-view-textitem/card-view-textitem.component.d.ts +5 -10
- package/lib/card-view/components/card-view-textitem/card-view-textitem.component.scss +18 -19
- package/lib/card-view/directives/card-view-property-validator.directive.d.ts +28 -0
- package/lib/card-view/models/card-view-dateitem.model.d.ts +0 -2
- package/lib/card-view/public-api.d.ts +0 -1
- package/lib/card-view/validators/card-view-item-length.validator.d.ts +2 -2
- package/lib/card-view/validators/card-view-item-match.validator.d.ts +3 -3
- package/lib/card-view/validators/card-view-item-minmax.validator.d.ts +3 -3
- package/lib/clipboard/clipboard.directive.d.ts +6 -11
- package/lib/clipboard/clipboard.module.d.ts +5 -4
- package/lib/clipboard/clipboard.service.d.ts +2 -4
- package/lib/comments/comment-list/comment-list.component.d.ts +1 -1
- package/lib/comments/comments.component.d.ts +3 -2
- package/lib/comments/comments.component.scss +3 -32
- package/lib/common/index.d.ts +0 -1
- package/lib/common/services/log.service.d.ts +2 -6
- package/lib/common/services/page-title.service.d.ts +4 -7
- package/lib/common/services/thumbnail.service.d.ts +1 -3
- package/lib/common/services/url.service.d.ts +1 -3
- package/lib/common/services/user-preferences.service.d.ts +78 -15
- package/lib/common/utils/date-fns-adapter.d.ts +3 -5
- package/lib/common/utils/date-fns-utils.d.ts +1 -1
- package/lib/common/utils/datetime-fns-adapter.d.ts +3 -5
- package/lib/common/utils/moment-date-adapter.d.ts +1 -2
- package/lib/context-menu/context-menu-list.component.d.ts +8 -8
- package/lib/context-menu/context-menu-overlay.d.ts +1 -1
- package/lib/context-menu/context-menu-overlay.service.d.ts +2 -21
- package/lib/context-menu/context-menu.directive.d.ts +1 -3
- package/lib/context-menu/context-menu.tokens.d.ts +2 -1
- package/lib/context-menu/interfaces.d.ts +14 -1
- package/lib/core.module.d.ts +78 -83
- package/lib/datatable/components/amount-cell/amount-cell.component.d.ts +3 -19
- package/lib/datatable/components/boolean-cell/boolean-cell.component.d.ts +3 -20
- package/lib/datatable/components/columns-selector/columns-search-filter.pipe.d.ts +1 -1
- package/lib/datatable/components/columns-selector/columns-selector.component.d.ts +2 -1
- package/lib/datatable/components/columns-selector/columns-selector.component.scss +64 -81
- package/lib/datatable/components/datatable/datatable.component.d.ts +12 -13
- package/lib/datatable/components/datatable/datatable.component.scss +48 -20
- package/lib/datatable/components/datatable-cell/datatable-cell.component.d.ts +20 -0
- package/lib/datatable/components/datatable-row/datatable-row.component.d.ts +2 -3
- package/lib/datatable/components/date-cell/date-cell.component.d.ts +9 -2
- package/lib/datatable/components/filesize-cell/filesize-cell.component.d.ts +1 -19
- package/lib/datatable/components/icon-cell/icon-cell.component.d.ts +3 -6
- package/lib/datatable/components/json-cell/json-cell.component.d.ts +4 -22
- package/lib/datatable/components/location-cell/location-cell.component.d.ts +3 -20
- package/lib/datatable/components/number-cell/number-cell.component.d.ts +3 -19
- package/lib/datatable/data/data-table.schema.d.ts +4 -4
- package/lib/datatable/data/datatable-adapter.d.ts +2 -0
- package/lib/datatable/data/object-datarow.model.d.ts +1 -1
- package/lib/datatable/data-column/data-column-header.component.d.ts +1 -3
- package/lib/datatable/directives/drop-zone.directive.d.ts +4 -4
- package/lib/datatable/directives/header-filter-template.directive.d.ts +1 -3
- package/lib/datatable/directives/loading-template.directive.d.ts +1 -3
- package/lib/datatable/directives/main-data-table-action-template.directive.d.ts +1 -3
- package/lib/datatable/directives/no-content-template.directive.d.ts +1 -3
- package/lib/datatable/directives/no-permission-template.directive.d.ts +1 -3
- package/lib/datatable/directives/resizable/resizable.directive.d.ts +8 -3
- package/lib/datatable/directives/resizable/resize-handle.directive.d.ts +2 -2
- package/lib/dialogs/confirm-dialog/confirm.dialog.d.ts +3 -3
- package/lib/dialogs/dialog/dialog.component.d.ts +2 -2
- package/lib/dialogs/edit-json/edit-json.dialog.d.ts +1 -2
- package/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +1 -3
- package/lib/dialogs/unsaved-changes-dialog/unsaved-changes.guard.d.ts +3 -6
- package/lib/directives/highlight.directive.d.ts +4 -6
- package/lib/directives/infinite-select-scroll.directive.d.ts +1 -3
- package/lib/directives/logout.directive.d.ts +6 -10
- package/lib/directives/tooltip-card/tooltip-card.component.d.ts +1 -3
- package/lib/directives/tooltip-card/tooltip-card.directive.d.ts +4 -6
- package/lib/directives/upload.directive.d.ts +7 -7
- package/lib/dynamic-chip-list/dynamic-chip-list.component.d.ts +3 -4
- package/lib/dynamic-chip-list/dynamic-chip-list.component.scss +1 -1
- package/lib/form/components/form-base.component.d.ts +1 -1
- package/lib/form/components/form-field/form-field.component.d.ts +5 -0
- package/lib/form/components/form-renderer.component.d.ts +7 -7
- package/lib/form/components/form-renderer.component.scss +48 -34
- package/lib/form/components/widgets/amount/amount.widget.d.ts +26 -6
- package/lib/form/components/widgets/base-display-text/base-display-text.widget.d.ts +43 -0
- package/lib/form/components/widgets/base-viewer/base-viewer.widget.d.ts +16 -2
- package/lib/form/components/widgets/button/button.widget.d.ts +9 -0
- package/lib/form/components/widgets/button/button.widget.scss +14 -0
- package/lib/form/components/widgets/checkbox/checkbox.widget.d.ts +0 -4
- package/lib/form/components/widgets/core/container-column.model.d.ts +2 -0
- package/lib/{models/decimal-number.model.d.ts → form/components/widgets/core/container-row.model.d.ts} +9 -5
- package/lib/{common/models/user-info-mode.enum.d.ts → form/components/widgets/core/custom-validation-message.token.d.ts} +3 -7
- package/lib/form/components/widgets/core/form-field-types.d.ts +5 -0
- package/lib/form/components/widgets/core/form-field-validator.d.ts +10 -10
- package/lib/form/components/widgets/core/form-field.model.d.ts +29 -2
- package/lib/form/components/widgets/core/form.model.d.ts +38 -2
- package/lib/{datatable/components/mocks/datatable.mock.d.ts → form/components/widgets/core/handlers/form-field-rule.handler.d.ts} +5 -5
- package/lib/{blank-page/public-api.d.ts → form/components/widgets/core/handlers/form-field-visibility-condition.handler.d.ts} +5 -2
- package/lib/form/components/widgets/core/index.d.ts +2 -0
- package/lib/{login/components/login-dialog/login-dialog-component-data.interface.d.ts → form/components/widgets/core/repeatable-section.model.d.ts} +7 -5
- package/lib/form/components/widgets/decimal/decimal.component.d.ts +0 -3
- package/lib/form/components/widgets/display-text/display-text.widget.d.ts +5 -5
- package/lib/form/components/widgets/error/error.component.d.ts +0 -3
- package/lib/form/components/widgets/error/error.component.scss +4 -0
- package/lib/form/components/widgets/hyperlink/hyperlink.widget.d.ts +0 -3
- package/lib/form/components/widgets/index.d.ts +5 -1
- package/lib/form/components/widgets/json/json.widget.d.ts +1 -5
- package/lib/form/components/widgets/multiline-text/multiline-text.widget.d.ts +5 -4
- package/lib/form/components/widgets/number/number.widget.d.ts +1 -5
- package/lib/form/components/widgets/reactive-widget.interface.d.ts +4 -0
- package/lib/form/components/widgets/repeat/repeat.widget.d.ts +9 -0
- package/lib/form/components/widgets/repeat/repeat.widget.scss +36 -0
- package/lib/form/components/widgets/text/text-mask.component.d.ts +6 -7
- package/lib/form/components/widgets/text/text.widget.d.ts +13 -4
- package/lib/form/components/widgets/unknown/unknown.widget.d.ts +0 -3
- package/lib/form/components/widgets/widget.component.d.ts +1 -2
- package/lib/form/form-base.module.d.ts +3 -2
- package/lib/form/models/widget-visibility.model.d.ts +7 -6
- package/lib/form/public-api.d.ts +1 -0
- package/lib/form/services/form-expression.service.d.ts +14 -0
- package/lib/form/services/form.service.d.ts +3 -3
- package/lib/{interface/index.d.ts → icon/icon-alias-map.token.d.ts} +3 -1
- package/lib/{interface/public-api.d.ts → icon/icon-alias-map.type.d.ts} +1 -1
- package/lib/icon/icon.component.d.ts +31 -4
- package/lib/{pipes/multi-value.pipe.d.ts → icon/icon.directive.d.ts} +13 -6
- package/lib/icon/icon.module.d.ts +3 -6
- package/lib/icon/public-api.d.ts +3 -0
- package/lib/info-drawer/info-drawer-layout.component.scss +2 -2
- package/lib/info-drawer/info-drawer.component.scss +6 -0
- package/lib/language-menu/language-menu.component.d.ts +2 -3
- package/lib/language-menu/service/language.service.d.ts +2 -4
- package/lib/layout/components/header/header.component.d.ts +1 -3
- package/lib/layout/components/sidebar-action/sidebar-action-menu.component.scss +1 -2
- package/lib/layout/components/sidenav-layout/sidenav-layout.component.d.ts +3 -5
- package/lib/layout/components/sidenav-layout/sidenav-layout.component.scss +4 -4
- package/lib/login/components/login/login.component.d.ts +10 -17
- package/lib/login/components/login/login.component.scss +6 -8
- package/lib/login/directives/login-footer.directive.d.ts +1 -3
- package/lib/login/directives/login-header.directive.d.ts +1 -3
- package/lib/login/login.module.d.ts +3 -5
- package/lib/login/public-api.d.ts +0 -2
- package/lib/mock/form/widget-visibility.service.mock.d.ts +1 -0
- package/lib/mock/public-api.d.ts +0 -1
- package/lib/mock/translation.service.mock.d.ts +2 -2
- package/lib/models/public-api.d.ts +0 -2
- package/lib/notifications/components/notification-history.component.d.ts +10 -7
- package/lib/notifications/models/notification.model.d.ts +7 -6
- package/lib/notifications/notification-history.module.d.ts +2 -4
- package/lib/notifications/public-api.d.ts +0 -1
- package/lib/notifications/services/notification.service.d.ts +3 -5
- package/lib/pagination/infinite-pagination.component.d.ts +3 -5
- package/lib/pagination/pagination.component.d.ts +6 -9
- package/lib/pipes/decimal-number.pipe.d.ts +6 -3
- package/lib/pipes/file-size.pipe.d.ts +2 -4
- package/lib/pipes/localized-date.pipe.d.ts +3 -6
- package/lib/pipes/pipe.module.d.ts +6 -8
- package/lib/pipes/public-api.d.ts +0 -1
- package/lib/pipes/text-highlight.pipe.d.ts +1 -3
- package/lib/pipes/time-ago.pipe.d.ts +1 -2
- package/lib/pipes/user-initial.pipe.d.ts +2 -3
- package/lib/search-text/models/search-text-input.model.d.ts +5 -4
- package/lib/search-text/search-text-input.component.d.ts +4 -5
- package/lib/search-text/search-text-input.component.scss +0 -6
- package/lib/search-text/search-trigger.directive.d.ts +6 -7
- package/lib/snackbar-content/snackbar-content.component.d.ts +1 -1
- package/lib/{blank-page/index.d.ts → stories/core-story.providers.d.ts} +7 -1
- package/lib/{sorting-picker → stories}/index.d.ts +1 -1
- package/lib/styles/_flex.scss +21 -16
- package/lib/styles/{material.theme.scss → _globals.scss} +6 -6
- package/lib/styles/_index.scss +4 -126
- package/lib/styles/_mat-selectors.scss +1 -17
- package/lib/templates/empty-content/empty-content.component.scss +2 -5
- package/lib/templates/error-content/error-content.component.d.ts +3 -7
- package/lib/templates/error-content/error-content.component.scss +1 -1
- package/lib/testing/index.d.ts +0 -1
- package/lib/testing/noop-translate.module.d.ts +3 -4
- package/lib/testing/unit-testing-utils.d.ts +14 -0
- package/lib/toolbar/toolbar.component.scss +1 -1
- package/lib/translation/provide-i18n.d.ts +5 -0
- package/lib/translation/translate-loader.service.d.ts +4 -22
- package/lib/translation/translation.service.d.ts +10 -3
- package/lib/viewer/components/download-prompt-dialog/download-prompt-dialog.component.d.ts +4 -2
- package/lib/viewer/components/img-viewer/img-viewer.component.d.ts +9 -5
- package/lib/viewer/components/media-player/media-player.component.d.ts +3 -5
- package/lib/viewer/components/pdf-viewer/pdf-viewer-host.component.scss +28 -0
- package/lib/viewer/components/pdf-viewer/pdf-viewer.component.d.ts +52 -17
- package/lib/viewer/components/pdf-viewer/pdf-viewer.component.scss +4 -2
- package/lib/viewer/components/pdf-viewer-password-dialog/pdf-viewer-password-dialog.d.ts +1 -3
- package/lib/viewer/components/pdf-viewer-thumb/pdf-viewer-thumb.component.d.ts +3 -5
- package/lib/viewer/components/pdf-viewer-thumbnails/pdf-viewer-thumbnails.component.d.ts +7 -8
- package/lib/viewer/components/txt-viewer/txt-viewer.component.d.ts +3 -22
- package/lib/viewer/components/viewer-render/viewer-render.component.d.ts +8 -8
- package/lib/viewer/components/viewer.component.d.ts +16 -14
- package/lib/viewer/components/viewer.component.scss +1 -1
- package/lib/viewer/directives/viewer-extension.directive.d.ts +7 -6
- package/lib/viewer/models/download-prompt.actions.d.ts +5 -4
- package/lib/viewer/models/viewer.model.d.ts +5 -4
- package/lib/viewer/services/rendering-queue.services.d.ts +35 -12
- package/lib/viewer/services/view-util.service.d.ts +4 -5
- package/package.json +4 -5
- package/public-api.d.ts +1 -6
- package/schematics/migrations/schematics/migrations/7_0_0/index.d.ts +1 -2
- package/schematics/migrations/schematics/migrations/7_0_0/index.js +44 -59
- package/schematics/migrations/schematics/migrations/7_0_0/index.js.map +1 -1
- package/schematics/migrations/schematics/migrations/collection.json +0 -5
- package/shell/lib/components/shell/shell.component.d.ts +7 -10
- package/lib/blank-page/blank-page.component.d.ts +0 -5
- package/lib/blank-page/blank-page.module.d.ts +0 -8
- package/lib/button/button.component.d.ts +0 -19
- package/lib/button/button.component.scss +0 -13
- package/lib/clipboard/clipboard.theme.scss +0 -19
- package/lib/interface/injection.tokens.d.ts +0 -18
- package/lib/landing-page/index.d.ts +0 -17
- package/lib/landing-page/provider.d.ts +0 -24
- package/lib/landing-page/public-api.d.ts +0 -17
- package/lib/login/components/login-dialog/login-dialog.component.d.ts +0 -15
- package/lib/login/components/login-dialog/login-dialog.component.scss +0 -4
- package/lib/mock/data-column.mock.d.ts +0 -51
- package/lib/models/product-version.model.d.ts +0 -24
- package/lib/notifications/components/add-notification.stories.component.d.ts +0 -10
- package/lib/progress/progress.component.d.ts +0 -36
- package/lib/sorting-picker/public-api.d.ts +0 -17
- package/lib/sorting-picker/sorting-picker.component.d.ts +0 -38
- package/lib/styles/_theming.scss +0 -3
- package/lib/styles/_typography.scss +0 -18
- package/lib/testing/core.story.module.d.ts +0 -9
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import { CanDeactivate } from '@angular/router';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
4
3
|
import { UnsavedChangesDialogData } from './unsaved-changes-dialog.model';
|
|
5
|
-
import { AuthenticationService, AuthGuardService } from '../../auth';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
/**
|
|
8
6
|
* Guard responsible for protecting leaving page with unsaved changes.
|
|
9
7
|
*/
|
|
10
8
|
export declare class UnsavedChangesGuard implements CanDeactivate<any> {
|
|
11
|
-
private dialog;
|
|
12
|
-
private authenticationService;
|
|
13
|
-
private authGuardBaseService;
|
|
9
|
+
private readonly dialog;
|
|
10
|
+
private readonly authenticationService;
|
|
11
|
+
private readonly authGuardBaseService;
|
|
14
12
|
unsaved: boolean;
|
|
15
13
|
data: UnsavedChangesDialogData;
|
|
16
|
-
constructor(dialog: MatDialog, authenticationService: AuthenticationService, authGuardBaseService: AuthGuardService);
|
|
17
14
|
/**
|
|
18
15
|
* Allows to deactivate route when there is no unsaved changes, otherwise displays dialog to confirm discarding changes.
|
|
19
16
|
*
|
|
@@ -14,20 +14,18 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
18
|
-
import { HighlightTransformService } from '../common/services/highlight-transform.service';
|
|
17
|
+
import { AfterViewChecked } from '@angular/core';
|
|
19
18
|
import * as i0 from "@angular/core";
|
|
20
19
|
export declare class HighlightDirective implements AfterViewChecked {
|
|
21
|
-
private el;
|
|
22
|
-
private renderer;
|
|
23
|
-
private highlightTransformService;
|
|
20
|
+
private readonly el;
|
|
21
|
+
private readonly renderer;
|
|
22
|
+
private readonly highlightTransformService;
|
|
24
23
|
/** Class selector for highlightable elements. */
|
|
25
24
|
selector: string;
|
|
26
25
|
/** Text to highlight. */
|
|
27
26
|
search: string;
|
|
28
27
|
/** CSS class used to apply highlighting. */
|
|
29
28
|
classToApply: string;
|
|
30
|
-
constructor(el: ElementRef, renderer: Renderer2, highlightTransformService: HighlightTransformService);
|
|
31
29
|
ngAfterViewChecked(): void;
|
|
32
30
|
highlight(search?: string, selector?: string, classToApply?: string): void;
|
|
33
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightDirective, never>;
|
|
@@ -15,16 +15,14 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
18
|
-
import { MatSelect } from '@angular/material/select';
|
|
19
18
|
import * as i0 from "@angular/core";
|
|
20
19
|
export declare class InfiniteSelectScrollDirective implements AfterViewInit {
|
|
21
|
-
private matSelect;
|
|
20
|
+
private readonly matSelect;
|
|
22
21
|
static readonly MAX_ITEMS = 50;
|
|
23
22
|
/** Emitted when scroll reaches the last item. */
|
|
24
23
|
scrollEnd: EventEmitter<Event>;
|
|
25
24
|
private readonly destroyRef;
|
|
26
25
|
private itemHeightToWaitBeforeLoadNext;
|
|
27
|
-
constructor(matSelect: MatSelect);
|
|
28
26
|
ngAfterViewInit(): void;
|
|
29
27
|
private handleScrollEvent;
|
|
30
28
|
private isScrollInNextFetchArea;
|
|
@@ -14,22 +14,18 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
18
|
-
import { Router } from '@angular/router';
|
|
19
|
-
import { AppConfigService } from '../app-config/app-config.service';
|
|
20
|
-
import { AuthenticationService } from '../auth/services/authentication.service';
|
|
17
|
+
import { OnInit } from '@angular/core';
|
|
21
18
|
import * as i0 from "@angular/core";
|
|
22
19
|
export declare class LogoutDirective implements OnInit {
|
|
23
|
-
private elementRef;
|
|
24
|
-
private renderer;
|
|
25
|
-
private router;
|
|
26
|
-
private appConfig;
|
|
27
|
-
private authenticationService;
|
|
20
|
+
private readonly elementRef;
|
|
21
|
+
private readonly renderer;
|
|
22
|
+
private readonly router;
|
|
23
|
+
private readonly appConfig;
|
|
24
|
+
private readonly authenticationService;
|
|
28
25
|
/** URI to redirect to after logging out. */
|
|
29
26
|
redirectUri: string;
|
|
30
27
|
/** Enable redirecting after logout */
|
|
31
28
|
enableRedirect: boolean;
|
|
32
|
-
constructor(elementRef: ElementRef, renderer: Renderer2, router: Router, appConfig: AppConfigService, authenticationService: AuthenticationService);
|
|
33
29
|
ngOnInit(): void;
|
|
34
30
|
getRedirectUri(): string;
|
|
35
31
|
logout(): void;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class TooltipCardComponent {
|
|
4
|
-
private sanitizer;
|
|
3
|
+
private readonly sanitizer;
|
|
5
4
|
image: string;
|
|
6
5
|
text: string;
|
|
7
6
|
htmlContent: string;
|
|
8
7
|
width: string;
|
|
9
|
-
constructor(sanitizer: DomSanitizer);
|
|
10
8
|
sanitizedHtmlContent(): string;
|
|
11
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipCardComponent, never>;
|
|
12
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipCardComponent, "adf-tooltip-card-component", never, { "image": { "alias": "image"; "required": false; }; "text": { "alias": "text"; "required": false; }; "htmlContent": { "alias": "htmlContent"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -14,13 +14,12 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
18
|
-
import { Overlay, OverlayPositionBuilder } from '@angular/cdk/overlay';
|
|
17
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
19
18
|
import * as i0 from "@angular/core";
|
|
20
19
|
export declare class TooltipCardDirective implements OnInit, OnDestroy {
|
|
21
|
-
private overlay;
|
|
22
|
-
private overlayPositionBuilder;
|
|
23
|
-
private elementRef;
|
|
20
|
+
private readonly overlay;
|
|
21
|
+
private readonly overlayPositionBuilder;
|
|
22
|
+
private readonly elementRef;
|
|
24
23
|
text: string;
|
|
25
24
|
image: string;
|
|
26
25
|
width: string;
|
|
@@ -32,7 +31,6 @@ export declare class TooltipCardDirective implements OnInit, OnDestroy {
|
|
|
32
31
|
offsetX: number;
|
|
33
32
|
offsetY: number;
|
|
34
33
|
private overlayRef;
|
|
35
|
-
constructor(overlay: Overlay, overlayPositionBuilder: OverlayPositionBuilder, elementRef: ElementRef);
|
|
36
34
|
ngOnDestroy(): void;
|
|
37
35
|
ngOnInit(): void;
|
|
38
36
|
show(): void;
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
17
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
18
18
|
import { FileInfo } from '../common/utils/file-utils';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
export declare class UploadDirective implements OnInit, OnDestroy {
|
|
21
|
-
private el;
|
|
22
|
-
private renderer;
|
|
23
|
-
private ngZone;
|
|
21
|
+
private readonly el;
|
|
22
|
+
private readonly renderer;
|
|
23
|
+
private readonly ngZone;
|
|
24
24
|
/** Enables/disables uploading. */
|
|
25
25
|
enabled: boolean;
|
|
26
26
|
/** Data to upload. */
|
|
@@ -37,10 +37,10 @@ export declare class UploadDirective implements OnInit, OnDestroy {
|
|
|
37
37
|
/** (Click mode only) Toggles uploading of directories. */
|
|
38
38
|
directory: boolean;
|
|
39
39
|
isDragging: boolean;
|
|
40
|
-
private cssClassName;
|
|
40
|
+
private readonly cssClassName;
|
|
41
41
|
private upload;
|
|
42
|
-
private element;
|
|
43
|
-
constructor(
|
|
42
|
+
private readonly element;
|
|
43
|
+
constructor();
|
|
44
44
|
ngOnInit(): void;
|
|
45
45
|
ngOnDestroy(): void;
|
|
46
46
|
onClick(event: Event): void;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { Pagination } from '@alfresco/js-api';
|
|
18
|
-
import { AfterViewInit,
|
|
18
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core';
|
|
19
19
|
import { MatChip } from '@angular/material/chips';
|
|
20
20
|
import { Chip } from './chip';
|
|
21
21
|
import * as i0 from "@angular/core";
|
|
@@ -23,7 +23,7 @@ import * as i0 from "@angular/core";
|
|
|
23
23
|
* This component shows dynamic list of chips which render depending on free space.
|
|
24
24
|
*/
|
|
25
25
|
export declare class DynamicChipListComponent implements OnChanges, OnInit, AfterViewInit, OnDestroy {
|
|
26
|
-
private changeDetectorRef;
|
|
26
|
+
private readonly changeDetectorRef;
|
|
27
27
|
/** Provide if you want to use paginated chips. */
|
|
28
28
|
pagination: Pagination;
|
|
29
29
|
/** List of chips to display. */
|
|
@@ -54,8 +54,7 @@ export declare class DynamicChipListComponent implements OnChanges, OnInit, Afte
|
|
|
54
54
|
private initialLimitChipsDisplayed;
|
|
55
55
|
private viewMoreButtonLeftOffsetBeforeFlexDirection;
|
|
56
56
|
private requestedDisplayingAllChips;
|
|
57
|
-
private resizeObserver;
|
|
58
|
-
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
57
|
+
private readonly resizeObserver;
|
|
59
58
|
ngOnChanges(changes: SimpleChanges): void;
|
|
60
59
|
ngOnInit(): void;
|
|
61
60
|
ngAfterViewInit(): void;
|
|
@@ -96,7 +96,7 @@ export declare abstract class FormBaseComponent {
|
|
|
96
96
|
handleError(err: any): any;
|
|
97
97
|
abstract onRefreshClicked(): void;
|
|
98
98
|
abstract saveTaskForm(): void;
|
|
99
|
-
abstract completeTaskForm(outcome?: string): void;
|
|
99
|
+
abstract completeTaskForm(outcome?: string, outcomeId?: string): void;
|
|
100
100
|
protected abstract onTaskSaved(form: FormModel): void;
|
|
101
101
|
protected abstract storeFormAsMetadata(): void;
|
|
102
102
|
protected abstract onExecuteOutcome(outcome: FormOutcomeModel): boolean;
|
|
@@ -17,6 +17,11 @@
|
|
|
17
17
|
import { ComponentRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
18
18
|
import { FormFieldModel } from '../widgets/core/form-field.model';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
|
+
/**
|
|
21
|
+
* Component is a wrapper for widget components.
|
|
22
|
+
* It is responsible for instantiating the correct widget component
|
|
23
|
+
* based on the field type.
|
|
24
|
+
*/
|
|
20
25
|
export declare class FormFieldComponent implements OnInit, OnDestroy {
|
|
21
26
|
container: ViewContainerRef;
|
|
22
27
|
/**
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { FormRulesManager } from '../models/form-rules.model';
|
|
3
2
|
import { FormService } from '../services/form.service';
|
|
4
|
-
import { FormFieldModelRenderMiddleware } from './middlewares/middleware';
|
|
5
3
|
import { ContainerModel, FormFieldModel, FormModel, TabModel } from './widgets';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
export declare class FormRendererComponent<T> implements OnInit, OnDestroy {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
private
|
|
6
|
+
private readonly middlewareServices;
|
|
7
|
+
readonly formService: FormService;
|
|
8
|
+
private readonly formRulesManager;
|
|
9
|
+
private readonly dialog;
|
|
10
|
+
private readonly cdr;
|
|
11
11
|
formDefinition: FormModel;
|
|
12
12
|
readOnly: boolean;
|
|
13
13
|
debugMode: boolean;
|
|
14
14
|
fields: FormFieldModel[];
|
|
15
|
-
constructor(formService: FormService, formRulesManager: FormRulesManager<T>, middlewareServices?: FormFieldModelRenderMiddleware[]);
|
|
16
15
|
ngOnInit(): void;
|
|
17
16
|
ngOnDestroy(): void;
|
|
18
17
|
hasTabs(): boolean;
|
|
@@ -26,6 +25,7 @@ export declare class FormRendererComponent<T> implements OnInit, OnDestroy {
|
|
|
26
25
|
*/
|
|
27
26
|
getContainerFields(content: ContainerModel): FormFieldModel[];
|
|
28
27
|
private getMaxColumnFieldSize;
|
|
28
|
+
displayDialogToRemoveRow(field: FormFieldModel, rowIndex: number): void;
|
|
29
29
|
/**
|
|
30
30
|
* Calculate the column width based on the numberOfColumns and current field's colspan property
|
|
31
31
|
*
|
|
@@ -34,6 +34,6 @@ export declare class FormRendererComponent<T> implements OnInit, OnDestroy {
|
|
|
34
34
|
*/
|
|
35
35
|
getColumnWidth(container: ContainerModel): string;
|
|
36
36
|
private runMiddlewareServices;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormRendererComponent<any>,
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormRendererComponent<any>, never>;
|
|
38
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormRendererComponent<any>, "adf-form-renderer", never, { "formDefinition": { "alias": "formDefinition"; "required": true; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, {}, never, never, true, never>;
|
|
39
39
|
}
|
|
@@ -31,31 +31,6 @@
|
|
|
31
31
|
.adf-form-tab-group {
|
|
32
32
|
width: 100%;
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
#{ms.$mat-tab-body} {
|
|
36
|
-
margin-bottom: 8em;
|
|
37
|
-
|
|
38
|
-
@include flex.layout-bp(lt-md) {
|
|
39
|
-
margin-bottom: 0;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
#{ms.$mat-tab-header} {
|
|
44
|
-
z-index: 2;
|
|
45
|
-
margin: 0;
|
|
46
|
-
background-color: white;
|
|
47
|
-
position: absolute;
|
|
48
|
-
width: 98%;
|
|
49
|
-
/* stylelint-disable-next-line declaration-no-important */
|
|
50
|
-
margin-left: 0 !important;
|
|
51
|
-
/* stylelint-disable-next-line declaration-no-important */
|
|
52
|
-
margin-right: 10px !important;
|
|
53
|
-
top: 0;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
#{ms.$mat-tab-body-wrapper} {
|
|
57
|
-
padding-top: 5%;
|
|
58
|
-
}
|
|
59
34
|
}
|
|
60
35
|
|
|
61
36
|
.mat-mdc-card-content:first-child {
|
|
@@ -67,15 +42,15 @@
|
|
|
67
42
|
display: grid;
|
|
68
43
|
|
|
69
44
|
&-column-view {
|
|
70
|
-
@include flex.layout-bp(lt-md) {
|
|
71
|
-
display: flow;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
45
|
display: flex;
|
|
75
46
|
margin-right: -1%;
|
|
76
47
|
width: 100%;
|
|
77
48
|
gap: 8px;
|
|
78
49
|
|
|
50
|
+
@include flex.layout-bp(lt-md) {
|
|
51
|
+
display: flow;
|
|
52
|
+
}
|
|
53
|
+
|
|
79
54
|
&-item {
|
|
80
55
|
width: 100%;
|
|
81
56
|
box-sizing: border-box;
|
|
@@ -97,6 +72,50 @@
|
|
|
97
72
|
padding-left: 3px;
|
|
98
73
|
padding-right: 3px;
|
|
99
74
|
}
|
|
75
|
+
|
|
76
|
+
&-row {
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: row;
|
|
79
|
+
align-items: center;
|
|
80
|
+
justify-content: space-between;
|
|
81
|
+
|
|
82
|
+
&-remove-button {
|
|
83
|
+
padding: 0;
|
|
84
|
+
width: 30px;
|
|
85
|
+
height: 30px;
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
justify-content: center;
|
|
89
|
+
|
|
90
|
+
#{ms.$mat-icon} {
|
|
91
|
+
display: flex;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
align-items: center;
|
|
94
|
+
font-size: 18px;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&-container {
|
|
100
|
+
padding: 0 15px;
|
|
101
|
+
|
|
102
|
+
&-multiple {
|
|
103
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.54);
|
|
104
|
+
margin-bottom: 25px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&-disabled {
|
|
108
|
+
&.adf-grid-list-container-multiple {
|
|
109
|
+
border-bottom: 1px solid
|
|
110
|
+
var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.adf-grid-list-row-label {
|
|
114
|
+
color: var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
115
|
+
cursor: default;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
100
119
|
}
|
|
101
120
|
|
|
102
121
|
@include flex.layout-bp(lt-md) {
|
|
@@ -163,11 +182,6 @@
|
|
|
163
182
|
overflow: hidden;
|
|
164
183
|
}
|
|
165
184
|
|
|
166
|
-
& #{ms.$mat-tab-header} {
|
|
167
|
-
position: fixed;
|
|
168
|
-
z-index: 1000;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
185
|
& #{ms.$mat-card-header-text} {
|
|
172
186
|
margin: 0;
|
|
173
187
|
}
|
|
@@ -1,20 +1,40 @@
|
|
|
1
1
|
import { OnInit, InjectionToken } from '@angular/core';
|
|
2
|
-
import { FormService } from '../../../services/form.service';
|
|
3
2
|
import { WidgetComponent } from '../widget.component';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export interface AmountWidgetSettings {
|
|
6
6
|
showReadonlyPlaceholder: boolean;
|
|
7
|
+
enableDisplayBasedOnLocale: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare const ADF_AMOUNT_SETTINGS: InjectionToken<AmountWidgetSettings
|
|
9
|
+
export declare const ADF_AMOUNT_SETTINGS: InjectionToken<AmountWidgetSettings | Observable<AmountWidgetSettings>>;
|
|
9
10
|
export declare class AmountWidgetComponent extends WidgetComponent implements OnInit {
|
|
10
|
-
|
|
11
|
-
private
|
|
11
|
+
private readonly currencyPipe;
|
|
12
|
+
private readonly translationService;
|
|
12
13
|
static DEFAULT_CURRENCY: string;
|
|
13
14
|
private showPlaceholder;
|
|
15
|
+
private readonly destroyRef;
|
|
16
|
+
amountWidgetValue: string;
|
|
14
17
|
currency: string;
|
|
18
|
+
currencyDisplay: string | boolean;
|
|
19
|
+
decimalProperty: string;
|
|
20
|
+
enableDisplayBasedOnLocale: boolean;
|
|
21
|
+
isInputInFocus: boolean;
|
|
22
|
+
locale: string;
|
|
23
|
+
notShowDecimalDigits: string;
|
|
24
|
+
showDecimalDigits: string;
|
|
25
|
+
showReadonlyPlaceholder: boolean;
|
|
26
|
+
valueAsNumber: number;
|
|
15
27
|
get placeholder(): string;
|
|
16
|
-
constructor(
|
|
28
|
+
constructor();
|
|
17
29
|
ngOnInit(): void;
|
|
18
|
-
|
|
30
|
+
amountWidgetOnBlur(): void;
|
|
31
|
+
amountWidgetOnFocus(): void;
|
|
32
|
+
checkIfEmptyStringOrOnlySpaces(placeholder: string): boolean;
|
|
33
|
+
onFieldChangedAmountWidget(): void;
|
|
34
|
+
setInitialValues(): void;
|
|
35
|
+
subscribeToFieldChanges(): void;
|
|
36
|
+
updateValue(value: any): void;
|
|
37
|
+
updateSettingsBasedProperties(data: AmountWidgetSettings): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmountWidgetComponent, never>;
|
|
19
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<AmountWidgetComponent, "amount-widget", never, {}, {}, never, never, true, never>;
|
|
20
40
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { AfterViewInit, InjectionToken } from '@angular/core';
|
|
18
|
+
import { WidgetComponent } from '../widget.component';
|
|
19
|
+
import * as i0 from "@angular/core";
|
|
20
|
+
export interface DisplayTextWidgetSettings {
|
|
21
|
+
enableExpressionEvaluation: boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare const ADF_DISPLAY_TEXT_SETTINGS: InjectionToken<DisplayTextWidgetSettings>;
|
|
24
|
+
export declare abstract class BaseDisplayTextWidgetComponent extends WidgetComponent implements AfterViewInit {
|
|
25
|
+
private readonly formExpressionService;
|
|
26
|
+
private readonly cdr;
|
|
27
|
+
private enableExpressionEvaluation;
|
|
28
|
+
protected originalFieldValue?: string;
|
|
29
|
+
private readonly settings;
|
|
30
|
+
constructor();
|
|
31
|
+
ngAfterViewInit(): void;
|
|
32
|
+
protected abstract storeOriginalValue(): void;
|
|
33
|
+
protected abstract evaluateExpressions(): void;
|
|
34
|
+
protected abstract reevaluateExpressions(): void;
|
|
35
|
+
private readonly destroyRef;
|
|
36
|
+
protected resolveExpressions(text: string, escapeHtml?: boolean): string;
|
|
37
|
+
private applyExpressions;
|
|
38
|
+
private setupFieldDependencies;
|
|
39
|
+
private reapplyExpressions;
|
|
40
|
+
private updateSettingsBasedProperties;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseDisplayTextWidgetComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseDisplayTextWidgetComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
@@ -1,9 +1,23 @@
|
|
|
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
|
+
*/
|
|
1
17
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FormService } from '../../../services/form.service';
|
|
3
18
|
import { WidgetComponent } from '../widget.component';
|
|
4
19
|
import * as i0 from "@angular/core";
|
|
5
20
|
export declare class BaseViewerWidgetComponent extends WidgetComponent implements OnInit {
|
|
6
|
-
constructor(formService: FormService);
|
|
7
21
|
ngOnInit(): void;
|
|
8
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseViewerWidgetComponent, never>;
|
|
9
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<BaseViewerWidgetComponent, "base-viewer-widget", never, {}, {}, never, never, true, never>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { WidgetComponent } from '../widget.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ButtonWidgetComponent extends WidgetComponent {
|
|
4
|
+
readonly tooltipShowDelay: number;
|
|
5
|
+
get hostClasses(): string;
|
|
6
|
+
onClick(event: Event): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonWidgetComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonWidgetComponent, "button-widget", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { FormService } from '../../../services/form.service';
|
|
2
1
|
import { WidgetComponent } from '../widget.component';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class CheckboxWidgetComponent extends WidgetComponent {
|
|
5
|
-
formService: FormService;
|
|
6
|
-
checkboxValue: boolean;
|
|
7
|
-
constructor(formService: FormService);
|
|
8
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxWidgetComponent, never>;
|
|
9
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxWidgetComponent, "checkbox-widget", never, {}, {}, never, never, true, never>;
|
|
10
6
|
}
|
|
@@ -16,9 +16,11 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { FormFieldModel } from './form-field.model';
|
|
18
18
|
export declare class ContainerColumnModel {
|
|
19
|
+
id: string;
|
|
19
20
|
size: number;
|
|
20
21
|
fields: FormFieldModel[];
|
|
21
22
|
colspan: number;
|
|
22
23
|
rowspan: number;
|
|
24
|
+
constructor();
|
|
23
25
|
hasFields(): boolean;
|
|
24
26
|
}
|
|
@@ -14,9 +14,13 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
import { ContainerColumnModel } from './container-column.model';
|
|
18
|
+
export declare class ContainerRowModel {
|
|
19
|
+
id: string;
|
|
20
|
+
isInitial: boolean;
|
|
21
|
+
columns: ContainerColumnModel[];
|
|
22
|
+
size: number;
|
|
23
|
+
colspan: number;
|
|
24
|
+
rowspan: number;
|
|
25
|
+
constructor(isInitial?: boolean);
|
|
22
26
|
}
|
|
@@ -14,10 +14,6 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
PROCESS = "PROCESS",
|
|
21
|
-
SSO = "SSO",
|
|
22
|
-
CONTENT_SSO = "CONTENT_SSO"
|
|
23
|
-
}
|
|
17
|
+
import { InjectionToken } from '@angular/core';
|
|
18
|
+
import { Observable } from 'rxjs';
|
|
19
|
+
export declare const ADF_CUSTOM_MESSAGE: InjectionToken<boolean | Observable<boolean>>;
|
|
@@ -14,9 +14,11 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
+
import { MaybeReactiveFormWidget, ReactiveFormWidget } from '../reactive-widget.interface';
|
|
17
18
|
export declare class FormFieldTypes {
|
|
18
19
|
static CONTAINER: string;
|
|
19
20
|
static GROUP: string;
|
|
21
|
+
static REPEATABLE_SECTION: string;
|
|
20
22
|
static SECTION: string;
|
|
21
23
|
static DYNAMIC_TABLE: string;
|
|
22
24
|
static TEXT: string;
|
|
@@ -47,6 +49,7 @@ export declare class FormFieldTypes {
|
|
|
47
49
|
static JSON: string;
|
|
48
50
|
static DATA_TABLE: string;
|
|
49
51
|
static DISPLAY_EXTERNAL_PROPERTY: string;
|
|
52
|
+
static BUTTON: string;
|
|
50
53
|
static READONLY_TYPES: string[];
|
|
51
54
|
static VALIDATABLE_TYPES: string[];
|
|
52
55
|
static REACTIVE_TYPES: string[];
|
|
@@ -54,7 +57,9 @@ export declare class FormFieldTypes {
|
|
|
54
57
|
static isReadOnlyType(type: string): boolean;
|
|
55
58
|
static isValidatableType(type: string): boolean;
|
|
56
59
|
static isReactiveType(type: string): boolean;
|
|
60
|
+
static isReactiveWidget(instance: MaybeReactiveFormWidget): instance is ReactiveFormWidget;
|
|
57
61
|
static isConstantValueType(type: string): boolean;
|
|
58
62
|
static isContainerType(type: string): boolean;
|
|
59
63
|
static isSectionType(type: string): boolean;
|
|
64
|
+
static isRepeatableSectionType(type: string): boolean;
|
|
60
65
|
}
|