@alfresco/aca-content 4.0.0 → 4.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/{lib/components/create-menu/create-menu.component.d.ts → about/about.component.d.ts} +15 -16
- package/about/aca-about.module.d.ts +9 -0
- package/about/assets/about.plugin.json +47 -0
- package/about/dev-mode.tokens.d.ts +25 -0
- package/about/index.d.ts +5 -0
- package/about/package-json.token.d.ts +25 -0
- package/about/public-api.d.ts +27 -0
- package/assets/app.extensions.json +158 -131
- package/assets/i18n/ar.json +10 -26
- package/assets/i18n/cs.json +10 -26
- package/assets/i18n/da.json +9 -25
- package/assets/i18n/de.json +8 -24
- package/assets/i18n/en.json +9 -25
- package/assets/i18n/es.json +8 -24
- package/assets/i18n/fi.json +9 -25
- package/assets/i18n/fr.json +9 -25
- package/assets/i18n/it.json +9 -25
- package/assets/i18n/ja.json +9 -25
- package/assets/i18n/nb.json +9 -25
- package/assets/i18n/nl.json +8 -24
- package/assets/i18n/pl.json +10 -26
- package/assets/i18n/pt-BR.json +9 -25
- package/assets/i18n/ru.json +10 -26
- package/assets/i18n/sv.json +9 -25
- package/assets/i18n/zh-CN.json +8 -24
- package/esm2020/about/about.component.mjs +73 -0
- package/esm2020/about/aca-about.module.mjs +46 -0
- package/esm2020/about/alfresco-aca-content-about.mjs +5 -0
- package/esm2020/about/dev-mode.tokens.mjs +26 -0
- package/esm2020/about/package-json.token.mjs +26 -0
- package/esm2020/about/public-api.mjs +28 -0
- package/esm2020/folder-rules/alfresco-aca-content-folder-rules.mjs +5 -0
- package/esm2020/folder-rules/folder-rules.module.mjs +123 -0
- package/esm2020/folder-rules/folder-rules.rules.mjs +28 -0
- package/esm2020/folder-rules/manage-rules/manage-rules.smart-component.mjs +240 -0
- package/esm2020/folder-rules/model/action-parameter-constraint.model.mjs +25 -0
- package/esm2020/folder-rules/model/rule-action.model.mjs +26 -0
- package/esm2020/folder-rules/model/rule-composite-condition.model.mjs +25 -0
- package/esm2020/folder-rules/model/rule-grouping-item.model.mjs +25 -0
- package/esm2020/folder-rules/model/rule-set.model.mjs +25 -0
- package/esm2020/folder-rules/model/rule-simple-condition.model.mjs +25 -0
- package/esm2020/folder-rules/model/rule.model.mjs +25 -0
- package/esm2020/folder-rules/public-api.mjs +26 -0
- package/esm2020/folder-rules/rule-details/actions/rule-action-list.ui-component.mjs +112 -0
- package/esm2020/folder-rules/rule-details/actions/rule-action.ui-component.mjs +277 -0
- package/esm2020/folder-rules/rule-details/conditions/rule-composite-condition.ui-component.mjs +159 -0
- package/esm2020/folder-rules/rule-details/conditions/rule-condition-comparators.mjs +87 -0
- package/esm2020/folder-rules/rule-details/conditions/rule-condition-fields.mjs +62 -0
- package/esm2020/folder-rules/rule-details/conditions/rule-mime-types.mjs +25 -0
- package/esm2020/folder-rules/rule-details/conditions/rule-simple-condition.ui-component.mjs +144 -0
- package/esm2020/folder-rules/rule-details/edit-rule-dialog.ui-component.mjs +70 -0
- package/esm2020/folder-rules/rule-details/options/rule-options.ui-component.mjs +134 -0
- package/esm2020/folder-rules/rule-details/rule-details.ui-component.mjs +166 -0
- package/esm2020/folder-rules/rule-details/triggers/rule-triggers.ui-component.mjs +85 -0
- package/esm2020/folder-rules/rule-details/validators/rule-actions.validator.mjs +37 -0
- package/esm2020/folder-rules/rule-details/validators/rule-composite-condition.validator.mjs +31 -0
- package/esm2020/folder-rules/rule-list/rule-list/rule-list.ui-component.mjs +142 -0
- package/esm2020/folder-rules/rule-list/rule-list-grouping/rule-list-grouping.ui-component.mjs +77 -0
- package/esm2020/folder-rules/rule-list/rule-list-item/rule-list-item.ui-component.mjs +56 -0
- package/esm2020/folder-rules/rule-set-picker/rule-set-picker.smart-component.mjs +104 -0
- package/esm2020/folder-rules/services/actions.service.mjs +114 -0
- package/esm2020/folder-rules/services/folder-rule-sets.service.mjs +221 -0
- package/esm2020/folder-rules/services/folder-rules.service.mjs +193 -0
- package/esm2020/lib/aca-content.module.mjs +55 -90
- package/esm2020/lib/aca-content.routes.mjs +2 -2
- package/esm2020/lib/components/common/common.module.mjs +8 -39
- package/esm2020/lib/components/common/language-picker/language-picker.component.mjs +18 -11
- package/esm2020/lib/components/common/location-link/location-link.component.mjs +17 -16
- package/esm2020/lib/components/common/logout/logout.component.mjs +16 -9
- package/esm2020/lib/components/common/toggle-shared/toggle-shared.component.mjs +29 -18
- package/esm2020/lib/components/common/user-info/user-info.component.mjs +24 -13
- package/esm2020/lib/components/context-menu/context-menu-item.component.mjs +16 -10
- package/esm2020/lib/components/context-menu/context-menu-outside-event.directive.mjs +5 -4
- package/esm2020/lib/components/context-menu/context-menu.component.mjs +29 -15
- package/esm2020/lib/components/context-menu/context-menu.service.mjs +5 -6
- package/esm2020/lib/components/details/details.component.mjs +41 -23
- package/esm2020/lib/components/dl-custom-components/document-list-custom-components.module.mjs +7 -15
- package/esm2020/lib/components/dl-custom-components/name-column/name-column.component.mjs +16 -16
- package/esm2020/lib/components/dl-custom-components/tags-column/tags-column.component.mjs +34 -12
- package/esm2020/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.mjs +32 -15
- package/esm2020/lib/components/favorite-libraries/favorite-libraries.component.mjs +17 -28
- package/esm2020/lib/components/favorites/favorites.component.mjs +18 -34
- package/esm2020/lib/components/files/files.component.mjs +28 -43
- package/esm2020/lib/components/home/home.component.mjs +7 -6
- package/esm2020/lib/components/info-drawer/comments-tab/comments-tab.component.mjs +15 -10
- package/esm2020/lib/components/info-drawer/info.drawer.module.mjs +28 -47
- package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.mjs +39 -17
- package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.mjs +10 -7
- package/esm2020/lib/components/info-drawer/metadata-tab/metadata-tab.component.mjs +13 -12
- package/esm2020/lib/components/info-drawer/versions-tab/versions-tab.component.mjs +18 -10
- package/esm2020/lib/components/libraries/libraries.component.mjs +17 -27
- package/esm2020/lib/components/recent-files/recent-files.component.mjs +18 -37
- package/esm2020/lib/components/search/search-action-menu/search-action-menu.component.mjs +3 -3
- package/esm2020/lib/components/search/search-input/search-input.component.mjs +11 -6
- package/esm2020/lib/components/search/search-input-control/search-input-control.component.mjs +5 -5
- package/esm2020/lib/components/search/search-input.module.mjs +4 -4
- package/esm2020/lib/components/search/search-libraries-results/search-libraries-query-builder.service.mjs +5 -6
- package/esm2020/lib/components/search/search-libraries-results/search-libraries-results.component.mjs +21 -30
- package/esm2020/lib/components/search/search-navigation.service.mjs +3 -3
- package/esm2020/lib/components/search/search-results/search-results.component.mjs +33 -41
- package/esm2020/lib/components/search/search-results-row/search-results-row.component.mjs +6 -7
- package/esm2020/lib/components/search/search-results.module.mjs +31 -23
- package/esm2020/lib/components/shared-files/shared-files.component.mjs +18 -34
- package/esm2020/lib/components/shared-link-view/shared-link-view.component.mjs +9 -7
- package/esm2020/lib/components/shared-link-view/shared-link-view.module.mjs +5 -9
- package/esm2020/lib/components/sidenav/components/button-menu.component.mjs +5 -5
- package/esm2020/lib/components/sidenav/components/expand-menu.component.mjs +5 -5
- package/esm2020/lib/components/sidenav/components/sidenav-header.component.mjs +5 -5
- package/esm2020/lib/components/sidenav/directives/action.directive.mjs +3 -3
- package/esm2020/lib/components/sidenav/directives/active-link.directive.mjs +3 -3
- package/esm2020/lib/components/sidenav/directives/expansion-panel.directive.mjs +3 -3
- package/esm2020/lib/components/sidenav/directives/menu-panel.directive.mjs +3 -3
- package/esm2020/lib/components/sidenav/sidenav.component.mjs +3 -3
- package/esm2020/lib/components/sidenav/sidenav.module.mjs +11 -9
- package/esm2020/lib/components/sidenav/user-menu/user-menu.component.mjs +96 -0
- package/esm2020/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.mjs +10 -17
- package/esm2020/lib/components/toolbar/toggle-favorite/toggle-favorite.component.mjs +3 -3
- package/esm2020/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.mjs +3 -3
- package/esm2020/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.mjs +3 -3
- package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.mjs +3 -3
- package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-menu.component.mjs +3 -3
- package/esm2020/lib/components/toolbar/toolbar.module.mjs +7 -13
- package/esm2020/lib/components/toolbar/view-node/view-node.component.mjs +3 -3
- package/esm2020/lib/components/trashcan/trashcan.component.mjs +37 -29
- package/esm2020/lib/components/upload-files-dialog/upload-files-dialog.component.mjs +3 -3
- package/esm2020/lib/components/view-profile/view-profile.component.mjs +35 -16
- package/esm2020/lib/components/view-profile/view-profile.guard.mjs +5 -5
- package/esm2020/lib/dialogs/node-template/create-from-template.dialog.mjs +16 -15
- package/esm2020/lib/directives/directives.module.mjs +4 -4
- package/esm2020/lib/directives/document-list.directive.mjs +3 -3
- package/esm2020/lib/extensions/core.extensions.module.mjs +4 -4
- package/esm2020/lib/material.module.mjs +4 -4
- package/esm2020/lib/services/content-management.service.mjs +3 -3
- package/esm2020/lib/services/content-service-extension.service.mjs +3 -3
- package/esm2020/lib/services/content-url.service.mjs +3 -3
- package/esm2020/lib/services/node-actions.service.mjs +5 -5
- package/esm2020/lib/services/node-template.service.mjs +3 -3
- package/esm2020/lib/store/app-store.module.mjs +4 -4
- package/esm2020/lib/store/effects/app.effects.mjs +3 -3
- package/esm2020/lib/store/effects/contextmenu.effects.mjs +3 -3
- package/esm2020/lib/store/effects/download.effects.mjs +3 -3
- package/esm2020/lib/store/effects/favorite.effects.mjs +3 -3
- package/esm2020/lib/store/effects/library.effects.mjs +3 -3
- package/esm2020/lib/store/effects/node.effects.mjs +3 -3
- package/esm2020/lib/store/effects/search.effects.mjs +3 -3
- package/esm2020/lib/store/effects/template.effects.mjs +3 -3
- package/esm2020/lib/store/effects/upload.effects.mjs +5 -5
- package/esm2020/lib/store/effects/viewer.effects.mjs +5 -5
- package/esm2020/ms-office/actions/aos.actions.mjs +31 -0
- package/esm2020/ms-office/alfresco-aca-content-ms-office.mjs +5 -0
- package/esm2020/ms-office/aos-extension.module.mjs +54 -0
- package/esm2020/ms-office/aos-extension.service.mjs +134 -0
- package/esm2020/ms-office/effects/aos.effects.mjs +48 -0
- package/esm2020/ms-office/public-api.mjs +28 -0
- package/fesm2015/alfresco-aca-content-about.mjs +194 -0
- package/fesm2015/alfresco-aca-content-about.mjs.map +1 -0
- package/fesm2015/alfresco-aca-content-folder-rules.mjs +2479 -0
- package/fesm2015/alfresco-aca-content-folder-rules.mjs.map +1 -0
- package/fesm2015/alfresco-aca-content-ms-office.mjs +260 -0
- package/fesm2015/alfresco-aca-content-ms-office.mjs.map +1 -0
- package/fesm2015/alfresco-aca-content.mjs +3457 -3847
- package/fesm2015/alfresco-aca-content.mjs.map +1 -1
- package/fesm2020/alfresco-aca-content-about.mjs +194 -0
- package/fesm2020/alfresco-aca-content-about.mjs.map +1 -0
- package/fesm2020/alfresco-aca-content-folder-rules.mjs +2538 -0
- package/fesm2020/alfresco-aca-content-folder-rules.mjs.map +1 -0
- package/fesm2020/alfresco-aca-content-ms-office.mjs +282 -0
- package/fesm2020/alfresco-aca-content-ms-office.mjs.map +1 -0
- package/fesm2020/alfresco-aca-content.mjs +4622 -4995
- package/fesm2020/alfresco-aca-content.mjs.map +1 -1
- package/folder-rules/assets/folder-rules.plugin.json +71 -0
- package/folder-rules/assets/i18n/ar.json +144 -0
- package/folder-rules/assets/i18n/cs.json +144 -0
- package/folder-rules/assets/i18n/da.json +144 -0
- package/folder-rules/assets/i18n/de.json +144 -0
- package/folder-rules/assets/i18n/en.json +144 -0
- package/folder-rules/assets/i18n/es.json +144 -0
- package/folder-rules/assets/i18n/fi.json +144 -0
- package/folder-rules/assets/i18n/fr.json +144 -0
- package/folder-rules/assets/i18n/it.json +144 -0
- package/folder-rules/assets/i18n/ja.json +144 -0
- package/folder-rules/assets/i18n/nb.json +144 -0
- package/folder-rules/assets/i18n/nl.json +144 -0
- package/folder-rules/assets/i18n/pl.json +144 -0
- package/folder-rules/assets/i18n/pt-BR.json +144 -0
- package/folder-rules/assets/i18n/ru.json +144 -0
- package/folder-rules/assets/i18n/sv.json +144 -0
- package/folder-rules/assets/i18n/zh-CN.json +144 -0
- package/folder-rules/folder-rules.module.d.ts +51 -0
- package/folder-rules/folder-rules.rules.d.ts +27 -0
- package/folder-rules/index.d.ts +5 -0
- package/folder-rules/manage-rules/manage-rules.smart-component.d.ts +87 -0
- package/folder-rules/model/action-parameter-constraint.model.d.ts +31 -0
- package/folder-rules/model/rule-action.model.d.ts +48 -0
- package/folder-rules/model/rule-composite-condition.model.d.ts +30 -0
- package/folder-rules/model/rule-grouping-item.model.d.ts +34 -0
- package/folder-rules/model/rule-set.model.d.ts +34 -0
- package/folder-rules/model/rule-simple-condition.model.d.ts +28 -0
- package/folder-rules/model/rule.model.d.ts +58 -0
- package/folder-rules/public-api.d.ts +25 -0
- package/folder-rules/rule-details/actions/rule-action-list.ui-component.d.ts +47 -0
- package/folder-rules/rule-details/actions/rule-action.ui-component.d.ts +75 -0
- package/folder-rules/rule-details/conditions/rule-composite-condition.ui-component.d.ts +60 -0
- package/folder-rules/rule-details/conditions/rule-condition-comparators.d.ts +30 -0
- package/folder-rules/rule-details/conditions/rule-condition-fields.d.ts +31 -0
- package/folder-rules/rule-details/conditions/rule-mime-types.d.ts +27 -0
- package/folder-rules/rule-details/conditions/rule-simple-condition.ui-component.d.ts +62 -0
- package/folder-rules/rule-details/edit-rule-dialog.ui-component.d.ts +53 -0
- package/folder-rules/rule-details/options/rule-options.ui-component.d.ts +55 -0
- package/folder-rules/rule-details/rule-details.ui-component.d.ts +54 -0
- package/folder-rules/rule-details/triggers/rule-triggers.ui-component.d.ts +43 -0
- package/folder-rules/rule-details/validators/rule-actions.validator.d.ts +27 -0
- package/folder-rules/rule-details/validators/rule-composite-condition.validator.d.ts +25 -0
- package/folder-rules/rule-list/rule-list/rule-list.ui-component.d.ts +57 -0
- package/folder-rules/rule-list/rule-list-grouping/rule-list-grouping.ui-component.d.ts +44 -0
- package/{lib/components/node-version/node-version-form.component.d.ts → folder-rules/rule-list/rule-list-item/rule-list-item.ui-component.d.ts} +10 -21
- package/folder-rules/rule-set-picker/rule-set-picker.smart-component.d.ts +61 -0
- package/folder-rules/services/actions.service.d.ts +28 -0
- package/folder-rules/services/folder-rule-sets.service.d.ts +49 -0
- package/folder-rules/services/folder-rules.service.d.ts +41 -0
- package/lib/aca-content.module.d.ts +37 -37
- package/lib/components/common/common.module.d.ts +29 -17
- package/lib/components/common/language-picker/language-picker.component.d.ts +1 -1
- package/lib/components/common/location-link/location-link.component.d.ts +1 -6
- package/lib/components/common/logout/logout.component.d.ts +2 -3
- package/lib/components/common/toggle-shared/toggle-shared.component.d.ts +9 -6
- package/lib/components/common/user-info/user-info.component.d.ts +15 -3
- package/lib/components/context-menu/context-menu-item.component.d.ts +1 -1
- package/lib/components/context-menu/context-menu-outside-event.directive.d.ts +1 -1
- package/lib/components/context-menu/context-menu.component.d.ts +1 -1
- package/lib/components/details/details.component.d.ts +3 -6
- package/lib/components/dl-custom-components/document-list-custom-components.module.d.ts +4 -8
- package/lib/components/dl-custom-components/name-column/name-column.component.d.ts +3 -3
- package/lib/components/dl-custom-components/tags-column/tags-column.component.d.ts +5 -28
- package/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.d.ts +32 -12
- package/lib/components/favorite-libraries/favorite-libraries.component.d.ts +3 -8
- package/lib/components/favorites/favorites.component.d.ts +2 -12
- package/lib/components/files/files.component.d.ts +6 -15
- package/lib/components/info-drawer/comments-tab/comments-tab.component.d.ts +28 -3
- package/lib/components/info-drawer/info.drawer.module.d.ts +5 -12
- package/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.d.ts +5 -4
- package/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.d.ts +1 -1
- package/lib/components/info-drawer/metadata-tab/metadata-tab.component.d.ts +2 -2
- package/lib/components/info-drawer/versions-tab/versions-tab.component.d.ts +1 -1
- package/lib/components/libraries/libraries.component.d.ts +2 -31
- package/lib/components/recent-files/recent-files.component.d.ts +2 -13
- package/lib/components/search/search-input/search-input.component.d.ts +2 -1
- package/lib/components/search/search-libraries-results/search-libraries-results.component.d.ts +2 -31
- package/lib/components/search/search-results/search-results.component.d.ts +7 -13
- package/lib/components/search/search-results-row/search-results-row.component.d.ts +1 -1
- package/lib/components/search/search-results.module.d.ts +7 -5
- package/lib/components/shared-files/shared-files.component.d.ts +2 -11
- package/lib/components/shared-link-view/shared-link-view.component.d.ts +3 -2
- package/lib/components/shared-link-view/shared-link-view.module.d.ts +5 -6
- package/lib/components/sidenav/sidenav.module.d.ts +5 -5
- package/lib/components/sidenav/user-menu/user-menu.component.d.ts +58 -0
- package/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.d.ts +2 -1
- package/lib/components/toolbar/toolbar.module.d.ts +13 -15
- package/lib/components/trashcan/trashcan.component.d.ts +4 -35
- package/lib/components/view-profile/view-profile.component.d.ts +11 -4
- package/lib/components/view-profile/view-profile.guard.d.ts +2 -2
- package/lib/dialogs/node-template/create-from-template.dialog.d.ts +2 -2
- package/lib/store/effects/upload.effects.d.ts +3 -3
- package/ms-office/actions/aos.actions.d.ts +31 -0
- package/ms-office/aos-extension.module.d.ts +34 -0
- package/ms-office/aos-extension.service.d.ts +48 -0
- package/ms-office/assets/aos.plugin.json +74 -0
- package/ms-office/assets/i18n/ar.json +10 -0
- package/ms-office/assets/i18n/cs.json +10 -0
- package/ms-office/assets/i18n/da.json +10 -0
- package/ms-office/assets/i18n/de.json +10 -0
- package/ms-office/assets/i18n/en.json +10 -0
- package/ms-office/assets/i18n/es.json +10 -0
- package/ms-office/assets/i18n/fi.json +10 -0
- package/ms-office/assets/i18n/fr.json +10 -0
- package/ms-office/assets/i18n/it.json +10 -0
- package/ms-office/assets/i18n/ja.json +10 -0
- package/ms-office/assets/i18n/nb.json +10 -0
- package/ms-office/assets/i18n/nl.json +10 -0
- package/ms-office/assets/i18n/pl.json +10 -0
- package/ms-office/assets/i18n/pt-BR.json +10 -0
- package/ms-office/assets/i18n/ru.json +10 -0
- package/ms-office/assets/i18n/sv.json +10 -0
- package/ms-office/assets/i18n/zh-CN.json +10 -0
- package/ms-office/effects/aos.effects.d.ts +11 -0
- package/ms-office/index.d.ts +5 -0
- package/ms-office/public-api.d.ts +27 -0
- package/package.json +37 -2
- package/ui/application.scss +8 -0
- package/ui/overrides/adf-about.theme.scss +0 -5
- package/ui/overrides/adf-pagination.theme.scss +0 -1
- package/ui/overrides/ay11.scss +1 -1
- package/ui/variables/variables.scss +6 -13
- package/esm2020/lib/components/context-menu/context-menu.module.mjs +0 -76
- package/esm2020/lib/components/create-menu/create-menu.component.mjs +0 -73
- package/esm2020/lib/components/create-menu/create-menu.module.mjs +0 -44
- package/esm2020/lib/components/node-version/node-version-form.component.mjs +0 -70
- package/esm2020/lib/components/node-version/node-version.module.mjs +0 -78
- package/esm2020/lib/components/toolbar/document-display-mode/document-display-mode.component.mjs +0 -84
- package/esm2020/lib/components/trashcan/trashcan.module.mjs +0 -74
- package/esm2020/lib/components/view-profile/view-profile.module.mjs +0 -42
- package/lib/components/context-menu/context-menu.module.d.ts +0 -18
- package/lib/components/create-menu/create-menu.module.d.ts +0 -10
- package/lib/components/node-version/node-version.module.d.ts +0 -16
- package/lib/components/toolbar/document-display-mode/document-display-mode.component.d.ts +0 -13
- package/lib/components/trashcan/trashcan.module.d.ts +0 -16
- package/lib/components/view-profile/view-profile.module.d.ts +0 -9
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Actions } from '@ngrx/effects';
|
|
2
|
+
import { AosEditOnlineService } from '../aos-extension.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AosEffects {
|
|
5
|
+
private actions$;
|
|
6
|
+
private aosEditOnlineService;
|
|
7
|
+
constructor(actions$: Actions, aosEditOnlineService: AosEditOnlineService);
|
|
8
|
+
openOffice$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AosEffects, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AosEffects>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
export * from './aos-extension.service';
|
|
25
|
+
export * from './actions/aos.actions';
|
|
26
|
+
export * from './effects/aos.effects';
|
|
27
|
+
export * from './aos-extension.module';
|
package/package.json
CHANGED
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfresco/aca-content",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"license": "LGPL-3.0",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^14.1.0",
|
|
7
|
-
"@angular/core": "^14.1.0"
|
|
7
|
+
"@angular/core": "^14.1.0",
|
|
8
|
+
"@alfresco/adf-core": ">=6.2.0",
|
|
9
|
+
"@alfresco/adf-content-services": ">=6.2.0",
|
|
10
|
+
"@alfresco/adf-extensions": ">=6.2.0",
|
|
11
|
+
"@alfresco/js-api": ">=6.2.0",
|
|
12
|
+
"@angular/animations": "^14.1.3",
|
|
13
|
+
"@angular/cdk": "^14.1.3",
|
|
14
|
+
"@angular/forms": "^14.1.3",
|
|
15
|
+
"@angular/material": "^14.1.3",
|
|
16
|
+
"@ngx-translate/core": "^14.0.0",
|
|
17
|
+
"rxjs": "6.6.6",
|
|
18
|
+
"zone.js": "0.11.8"
|
|
8
19
|
},
|
|
9
20
|
"dependencies": {
|
|
10
21
|
"tslib": "^2.3.0"
|
|
@@ -33,6 +44,30 @@
|
|
|
33
44
|
"es2015": "./fesm2015/alfresco-aca-content.mjs",
|
|
34
45
|
"node": "./fesm2015/alfresco-aca-content.mjs",
|
|
35
46
|
"default": "./fesm2020/alfresco-aca-content.mjs"
|
|
47
|
+
},
|
|
48
|
+
"./about": {
|
|
49
|
+
"types": "./about/index.d.ts",
|
|
50
|
+
"esm2020": "./esm2020/about/alfresco-aca-content-about.mjs",
|
|
51
|
+
"es2020": "./fesm2020/alfresco-aca-content-about.mjs",
|
|
52
|
+
"es2015": "./fesm2015/alfresco-aca-content-about.mjs",
|
|
53
|
+
"node": "./fesm2015/alfresco-aca-content-about.mjs",
|
|
54
|
+
"default": "./fesm2020/alfresco-aca-content-about.mjs"
|
|
55
|
+
},
|
|
56
|
+
"./folder-rules": {
|
|
57
|
+
"types": "./folder-rules/index.d.ts",
|
|
58
|
+
"esm2020": "./esm2020/folder-rules/alfresco-aca-content-folder-rules.mjs",
|
|
59
|
+
"es2020": "./fesm2020/alfresco-aca-content-folder-rules.mjs",
|
|
60
|
+
"es2015": "./fesm2015/alfresco-aca-content-folder-rules.mjs",
|
|
61
|
+
"node": "./fesm2015/alfresco-aca-content-folder-rules.mjs",
|
|
62
|
+
"default": "./fesm2020/alfresco-aca-content-folder-rules.mjs"
|
|
63
|
+
},
|
|
64
|
+
"./ms-office": {
|
|
65
|
+
"types": "./ms-office/index.d.ts",
|
|
66
|
+
"esm2020": "./esm2020/ms-office/alfresco-aca-content-ms-office.mjs",
|
|
67
|
+
"es2020": "./fesm2020/alfresco-aca-content-ms-office.mjs",
|
|
68
|
+
"es2015": "./fesm2015/alfresco-aca-content-ms-office.mjs",
|
|
69
|
+
"node": "./fesm2015/alfresco-aca-content-ms-office.mjs",
|
|
70
|
+
"default": "./fesm2020/alfresco-aca-content-ms-office.mjs"
|
|
36
71
|
}
|
|
37
72
|
},
|
|
38
73
|
"sideEffects": false
|
package/ui/application.scss
CHANGED
|
@@ -16,13 +16,10 @@
|
|
|
16
16
|
margin: 24px !important;
|
|
17
17
|
width: 95%;
|
|
18
18
|
border: 1px solid var(--theme-about-panel-border-color);
|
|
19
|
-
background-color: var(--theme-about-panel-background-color);
|
|
20
19
|
}
|
|
21
20
|
|
|
22
21
|
mat-expansion-panel-header {
|
|
23
|
-
display: flex;
|
|
24
22
|
height: 80px !important;
|
|
25
|
-
padding: 24px;
|
|
26
23
|
line-height: 32px;
|
|
27
24
|
}
|
|
28
25
|
|
|
@@ -31,8 +28,6 @@
|
|
|
31
28
|
font-weight: 700;
|
|
32
29
|
font-size: 14px;
|
|
33
30
|
line-height: 24px;
|
|
34
|
-
color: var(--theme-about-panel-title-color);
|
|
35
31
|
}
|
|
36
|
-
|
|
37
32
|
}
|
|
38
33
|
}
|
package/ui/overrides/ay11.scss
CHANGED
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
.mat-datetimepicker-calendar-body-active .mat-datetimepicker-calendar-body-cell-content.mat-datetimepicker-calendar-body-selected {
|
|
165
|
-
background-color: var(--theme-
|
|
165
|
+
background-color: var(--theme-about-panel-border-color);
|
|
166
166
|
color: var(--theme-datetimepicker-font-color);
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
/* stylelint-disable scss/no-global-function-names */
|
|
2
2
|
@use '@angular/material' as mat;
|
|
3
3
|
|
|
4
|
-
$warn: map-get($custom-theme, warn);
|
|
5
|
-
$accent: map-get($custom-theme, accent);
|
|
6
|
-
$primary: map-get($custom-theme, primary);
|
|
7
4
|
$foreground: map-get($custom-theme, foreground);
|
|
8
5
|
$background: map-get($custom-theme, background);
|
|
9
6
|
|
|
@@ -25,26 +22,22 @@ $grey-hover-background: rgba(33, 33, 33, 0.24);
|
|
|
25
22
|
$blue-save-button-background: #1f74db;
|
|
26
23
|
$black-heading: #4e4c4c;
|
|
27
24
|
$grey-dropdown-background: #eee;
|
|
25
|
+
$grey-background-hover: #e0e0e0;
|
|
28
26
|
$grey-divider: rgba(0, 0, 0, 0.22);
|
|
29
27
|
$datetimepicker-font-color: rgba(black, 0.87);
|
|
30
28
|
$datetimepicker-selected-date-background: #2254b2;
|
|
31
29
|
$datetimepicker-cell-background-color: #fff;
|
|
32
30
|
$datetimepicker-cell-focus-border-color: #1f74db;
|
|
33
|
-
$datetimepicker-cell-focus-background-color: rgba(33, 33, 33, 0.12);
|
|
34
31
|
$sidenav-background-color: #f8f8f8;
|
|
35
32
|
$selected-text-color: #212121;
|
|
36
33
|
$selected-background-color: rgba(31, 116, 219, 0.24);
|
|
37
34
|
$action-button-text-color: rgba(33, 35, 40, 0.7);
|
|
38
35
|
$page-layout-header-background-color: #fff;
|
|
39
|
-
$
|
|
36
|
+
$search-chip-icon-color: #757575;
|
|
37
|
+
$disabled-chip-background-color: #f5f5f5;
|
|
40
38
|
|
|
41
39
|
// CSS Variables
|
|
42
40
|
$defaults: (
|
|
43
|
-
--theme-primary-color: mat.get-color-from-palette($primary),
|
|
44
|
-
--theme-primary-color-default-contrast: mat.get-color-from-palette($primary, default-contrast),
|
|
45
|
-
--theme-warn-color: mat.get-color-from-palette($warn),
|
|
46
|
-
--theme-accent-color: mat.get-color-from-palette($accent),
|
|
47
|
-
--theme-background-color: mat.get-color-from-palette($background, background),
|
|
48
41
|
--theme-text-color: mat.get-color-from-palette($foreground, text, 0.54),
|
|
49
42
|
--theme-text-bold-color: mat.get-color-from-palette($foreground, text, 0.87),
|
|
50
43
|
--theme-title-color: mat.get-color-from-palette($foreground, text, 0.87),
|
|
@@ -64,6 +57,7 @@ $defaults: (
|
|
|
64
57
|
--theme-blue-button-color: $blue-save-button-background,
|
|
65
58
|
--theme-heading-color: $black-heading,
|
|
66
59
|
--theme-dropdown-color: $grey-dropdown-background,
|
|
60
|
+
--theme-grey-background-hover: $grey-background-hover,
|
|
67
61
|
--theme-grey-divider-color: $grey-divider,
|
|
68
62
|
--theme-pagination-background-color: mat.get-color-from-palette($background, background),
|
|
69
63
|
--theme-about-panel-border-color: $grey-background,
|
|
@@ -73,15 +67,14 @@ $defaults: (
|
|
|
73
67
|
--theme-datetimepicker-selected-date-background: $datetimepicker-selected-date-background,
|
|
74
68
|
--theme-datetimepicker-cell-background: $datetimepicker-cell-background-color,
|
|
75
69
|
--theme-datetimepicker-cell-focus-border: $datetimepicker-cell-focus-border-color,
|
|
76
|
-
--theme-datetimepicker-cell-focus-background: $datetimepicker-cell-focus-background-color,
|
|
77
70
|
--theme-sidenav-background-color: $sidenav-background-color,
|
|
78
71
|
--theme-selected-text-color: $selected-text-color,
|
|
79
72
|
--theme-selected-background-color: $selected-background-color,
|
|
80
73
|
--theme-hover-background-color: $grey-text-background,
|
|
81
74
|
--theme-action-button-text-color: $action-button-text-color,
|
|
82
|
-
--theme-header-border-color: $grey-background,
|
|
83
75
|
--theme-page-layout-header-background-color: $page-layout-header-background-color,
|
|
84
|
-
--theme-
|
|
76
|
+
--theme-search-chip-icon-color: $search-chip-icon-color,
|
|
77
|
+
--theme-disabled-chip-background-color: $disabled-chip-background-color
|
|
85
78
|
);
|
|
86
79
|
|
|
87
80
|
// propagates SCSS variables into the CSS variables scope
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
* Alfresco Example Content Application
|
|
5
|
-
*
|
|
6
|
-
* This file is part of the Alfresco Example Content Application.
|
|
7
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
-
* provided under the following open source license terms:
|
|
10
|
-
*
|
|
11
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
-
* (at your option) any later version.
|
|
15
|
-
*
|
|
16
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
-
* GNU Lesser General Public License for more details.
|
|
20
|
-
*
|
|
21
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
-
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
-
*/
|
|
24
|
-
import { CoreModule } from '@alfresco/adf-core';
|
|
25
|
-
import { ExtensionsModule } from '@alfresco/adf-extensions';
|
|
26
|
-
import { NgModule } from '@angular/core';
|
|
27
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
28
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
29
|
-
import { MatListModule } from '@angular/material/list';
|
|
30
|
-
import { MatMenuModule } from '@angular/material/menu';
|
|
31
|
-
import { CoreExtensionsModule } from '../../extensions/core.extensions.module';
|
|
32
|
-
import { AppCommonModule } from '../common/common.module';
|
|
33
|
-
import { ContextMenuItemComponent } from './context-menu-item.component';
|
|
34
|
-
import { OutsideEventDirective } from './context-menu-outside-event.directive';
|
|
35
|
-
import { ContextMenuComponent } from './context-menu.component';
|
|
36
|
-
import { ContextActionsModule } from '@alfresco/aca-shared';
|
|
37
|
-
import * as i0 from "@angular/core";
|
|
38
|
-
import * as i1 from "../../extensions/core.extensions.module";
|
|
39
|
-
import * as i2 from "@alfresco/adf-core";
|
|
40
|
-
export class ContextMenuModule {
|
|
41
|
-
}
|
|
42
|
-
ContextMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
43
|
-
ContextMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: ContextMenuModule, declarations: [ContextMenuComponent, ContextMenuItemComponent, OutsideEventDirective], imports: [MatMenuModule,
|
|
44
|
-
MatListModule,
|
|
45
|
-
MatIconModule,
|
|
46
|
-
MatButtonModule, i1.CoreExtensionsModule, i2.CoreModule, AppCommonModule,
|
|
47
|
-
ExtensionsModule,
|
|
48
|
-
ContextActionsModule], exports: [OutsideEventDirective, ContextMenuComponent, ContextMenuItemComponent, ContextActionsModule] });
|
|
49
|
-
ContextMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ContextMenuModule, imports: [MatMenuModule,
|
|
50
|
-
MatListModule,
|
|
51
|
-
MatIconModule,
|
|
52
|
-
MatButtonModule,
|
|
53
|
-
CoreExtensionsModule.forChild(),
|
|
54
|
-
CoreModule.forChild(),
|
|
55
|
-
AppCommonModule,
|
|
56
|
-
ExtensionsModule,
|
|
57
|
-
ContextActionsModule, ContextActionsModule] });
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ContextMenuModule, decorators: [{
|
|
59
|
-
type: NgModule,
|
|
60
|
-
args: [{
|
|
61
|
-
imports: [
|
|
62
|
-
MatMenuModule,
|
|
63
|
-
MatListModule,
|
|
64
|
-
MatIconModule,
|
|
65
|
-
MatButtonModule,
|
|
66
|
-
CoreExtensionsModule.forChild(),
|
|
67
|
-
CoreModule.forChild(),
|
|
68
|
-
AppCommonModule,
|
|
69
|
-
ExtensionsModule,
|
|
70
|
-
ContextActionsModule
|
|
71
|
-
],
|
|
72
|
-
declarations: [ContextMenuComponent, ContextMenuItemComponent, OutsideEventDirective],
|
|
73
|
-
exports: [OutsideEventDirective, ContextMenuComponent, ContextMenuItemComponent, ContextActionsModule]
|
|
74
|
-
}]
|
|
75
|
-
}] });
|
|
76
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGV4dC1tZW51Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FjYS1jb250ZW50L3NyYy9saWIvY29tcG9uZW50cy9jb250ZXh0LW1lbnUvY29udGV4dC1tZW51Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXNCRztBQUVILE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUM1RCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDdkQsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUN2RCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx5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29udGV4dEFjdGlvbnNNb2R1bGVcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbQ29udGV4dE1lbnVDb21wb25lbnQsIENvbnRleHRNZW51SXRlbUNvbXBvbmVudCwgT3V0c2lkZUV2ZW50RGlyZWN0aXZlXSxcbiAgZXhwb3J0czogW091dHNpZGVFdmVudERpcmVjdGl2ZSwgQ29udGV4dE1lbnVDb21wb25lbnQsIENvbnRleHRNZW51SXRlbUNvbXBvbmVudCwgQ29udGV4dEFjdGlvbnNNb2R1bGVdXG59KVxuZXhwb3J0IGNsYXNzIENvbnRleHRNZW51TW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
* Alfresco Example Content Application
|
|
5
|
-
*
|
|
6
|
-
* This file is part of the Alfresco Example Content Application.
|
|
7
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
-
* provided under the following open source license terms:
|
|
10
|
-
*
|
|
11
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
-
* (at your option) any later version.
|
|
15
|
-
*
|
|
16
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
-
* GNU Lesser General Public License for more details.
|
|
20
|
-
*
|
|
21
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
-
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
-
*/
|
|
24
|
-
import { Component, Input, ViewEncapsulation } from '@angular/core';
|
|
25
|
-
import { takeUntil } from 'rxjs/operators';
|
|
26
|
-
import { Subject } from 'rxjs';
|
|
27
|
-
import { AppExtensionService } from '@alfresco/aca-shared';
|
|
28
|
-
import * as i0 from "@angular/core";
|
|
29
|
-
import * as i1 from "@alfresco/aca-shared";
|
|
30
|
-
import * as i2 from "@angular/common";
|
|
31
|
-
import * as i3 from "@angular/material/button";
|
|
32
|
-
import * as i4 from "@angular/material/icon";
|
|
33
|
-
import * as i5 from "@angular/material/menu";
|
|
34
|
-
import * as i6 from "@ngx-translate/core";
|
|
35
|
-
export class CreateMenuComponent {
|
|
36
|
-
constructor(extensions) {
|
|
37
|
-
this.extensions = extensions;
|
|
38
|
-
this.createActions = [];
|
|
39
|
-
this.onDestroy$ = new Subject();
|
|
40
|
-
}
|
|
41
|
-
ngOnInit() {
|
|
42
|
-
this.extensions
|
|
43
|
-
.getCreateActions()
|
|
44
|
-
.pipe(takeUntil(this.onDestroy$))
|
|
45
|
-
.subscribe((createActions) => {
|
|
46
|
-
this.createActions = createActions;
|
|
47
|
-
});
|
|
48
|
-
this.extensions
|
|
49
|
-
.getMainAction()
|
|
50
|
-
.pipe(takeUntil(this.onDestroy$))
|
|
51
|
-
.subscribe((mainAction) => {
|
|
52
|
-
this.isMainActionPresent = !!mainAction;
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
ngOnDestroy() {
|
|
56
|
-
this.onDestroy$.next(true);
|
|
57
|
-
this.onDestroy$.complete();
|
|
58
|
-
}
|
|
59
|
-
trackByActionId(_, obj) {
|
|
60
|
-
return obj.id;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
CreateMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: CreateMenuComponent, deps: [{ token: i1.AppExtensionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
64
|
-
CreateMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: CreateMenuComponent, selector: "app-create-menu", inputs: { showLabel: "showLabel", expanded: "expanded" }, host: { classAttribute: "app-create-menu" }, ngImport: i0, template: "<ng-container *ngIf=\"expanded\">\n <button\n mat-stroked-button\n data-automation-id=\"create-button\"\n [matMenuTriggerFor]=\"rootMenu\"\n title=\"{{ 'APP.NEW_MENU.TOOLTIP' | translate }}\"\n [class]=\"{\n 'app-create-menu-secondary-button': isMainActionPresent\n }\"\n >\n <span class=\"app-create-menu__text\">{{ 'APP.NEW_MENU.LABEL' | translate }}</span>\n <mat-icon title=\"{{ 'APP.NEW_MENU.TOOLTIP' | translate }}\">arrow_drop_down</mat-icon>\n </button>\n</ng-container>\n\n<ng-container *ngIf=\"!expanded\">\n <button\n mat-icon-button\n [class]=\"{\n 'app-create-menu-secondary-button': isMainActionPresent,\n 'app-create-menu--collapsed': true\n }\"\n data-automation-id=\"create-button\"\n [matMenuTriggerFor]=\"rootMenu\"\n #createMenu=\"matMenuTrigger\"\n title=\"{{ 'APP.NEW_MENU.TOOLTIP' | translate }}\"\n >\n <mat-icon class=\"app-create-menu--icon\" title=\"{{ 'APP.NEW_MENU.TOOLTIP' | translate }}\">queue</mat-icon>\n </button>\n</ng-container>\n\n<mat-menu #rootMenu=\"matMenu\" role=\"menu\" class=\"app-create-menu__root-menu app-create-menu__sub-menu\" [overlapTrigger]=\"false\" yPosition=\"below\">\n <div *ngFor=\"let action of createActions; trackBy: trackByActionId\">\n <app-toolbar-menu-item [actionRef]=\"action\"></app-toolbar-menu-item>\n </div>\n</mat-menu>\n", styles: [".app-create-menu .mat-stroked-button{width:100%;height:37.5px;border-radius:4px;font-size:var(--new-button-font-size);font-weight:400;text-transform:uppercase;margin-top:10px}.app-create-menu .mat-stroked-button .mat-icon{width:24px;height:25px}.app-create-menu .mat-stroked-button__text{width:100%;height:20px;text-align:left}.app-create-menu .mat-stroked-button:not(.app-create-menu-secondary-button){background-color:var(--theme-accent-color);color:var(--theme-accent-color-default-contrast);margin-top:0}.app-create-menu .mat-stroked-button:not(.app-create-menu-secondary-button) .mat-icon{color:var(--theme-accent-color-default-contrast)}.app-create-menu__root-menu{max-width:290px!important;width:290px;display:flex;align-items:center;justify-content:center}.app-create-menu__root-menu>.mat-menu-content{width:100%}.app-create-menu .app-create-menu--icon__sub-menu .mat-menu-item{display:flex;flex-direction:row;align-items:center;font-size:var(--theme-button-font-size);color:var(--theme-secondary-text-color);line-height:48px;box-shadow:none;transform:none;transition:unset;font-weight:400}.app-create-menu .app-create-menu--icon__sub-menu .mat-menu-item:hover{color:var(--theme-primary-color)}.app-create-menu .app-create-menu--icon__sub-menu .mat-menu-item[disabled],.app-create-menu .app-create-menu--icon__sub-menu .mat-menu-item[disabled]:hover,.app-create-menu .app-create-menu--icon__sub-menu .mat-menu-item[disabled] .mat-icon,.app-create-menu .app-create-menu--icon__sub-menu .mat-menu-item[disabled]:hover .mat-icon{color:var(--theme-text-disabled-color)}.app-create-menu--collapsed{outline:none;color:var(--theme-secondary-text-color);cursor:pointer;margin:0;border:none;background:none}.app-create-menu--collapsed:not(.app-create-menu-secondary-button) .app-create-menu--icon{color:var(--theme-accent-color)}.app-create-menu--collapsed:not(.app-create-menu-secondary-button):hover{color:var(--theme-accent-color)}.app-create-menu:focus{outline:none}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "directive", type: i5.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "component", type: i1.ToolbarMenuItemComponent, selector: "app-toolbar-menu-item", inputs: ["actionRef", "menuId"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None });
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: CreateMenuComponent, decorators: [{
|
|
66
|
-
type: Component,
|
|
67
|
-
args: [{ selector: 'app-create-menu', encapsulation: ViewEncapsulation.None, host: { class: 'app-create-menu' }, template: "<ng-container *ngIf=\"expanded\">\n <button\n mat-stroked-button\n data-automation-id=\"create-button\"\n [matMenuTriggerFor]=\"rootMenu\"\n title=\"{{ 'APP.NEW_MENU.TOOLTIP' | translate }}\"\n [class]=\"{\n 'app-create-menu-secondary-button': isMainActionPresent\n }\"\n >\n <span class=\"app-create-menu__text\">{{ 'APP.NEW_MENU.LABEL' | translate }}</span>\n <mat-icon title=\"{{ 'APP.NEW_MENU.TOOLTIP' | translate }}\">arrow_drop_down</mat-icon>\n </button>\n</ng-container>\n\n<ng-container *ngIf=\"!expanded\">\n <button\n mat-icon-button\n [class]=\"{\n 'app-create-menu-secondary-button': isMainActionPresent,\n 'app-create-menu--collapsed': true\n }\"\n data-automation-id=\"create-button\"\n [matMenuTriggerFor]=\"rootMenu\"\n #createMenu=\"matMenuTrigger\"\n title=\"{{ 'APP.NEW_MENU.TOOLTIP' | translate }}\"\n >\n <mat-icon class=\"app-create-menu--icon\" title=\"{{ 'APP.NEW_MENU.TOOLTIP' | translate }}\">queue</mat-icon>\n </button>\n</ng-container>\n\n<mat-menu #rootMenu=\"matMenu\" role=\"menu\" class=\"app-create-menu__root-menu app-create-menu__sub-menu\" [overlapTrigger]=\"false\" yPosition=\"below\">\n <div *ngFor=\"let action of createActions; trackBy: trackByActionId\">\n <app-toolbar-menu-item [actionRef]=\"action\"></app-toolbar-menu-item>\n </div>\n</mat-menu>\n", styles: [".app-create-menu .mat-stroked-button{width:100%;height:37.5px;border-radius:4px;font-size:var(--new-button-font-size);font-weight:400;text-transform:uppercase;margin-top:10px}.app-create-menu .mat-stroked-button .mat-icon{width:24px;height:25px}.app-create-menu .mat-stroked-button__text{width:100%;height:20px;text-align:left}.app-create-menu .mat-stroked-button:not(.app-create-menu-secondary-button){background-color:var(--theme-accent-color);color:var(--theme-accent-color-default-contrast);margin-top:0}.app-create-menu .mat-stroked-button:not(.app-create-menu-secondary-button) .mat-icon{color:var(--theme-accent-color-default-contrast)}.app-create-menu__root-menu{max-width:290px!important;width:290px;display:flex;align-items:center;justify-content:center}.app-create-menu__root-menu>.mat-menu-content{width:100%}.app-create-menu .app-create-menu--icon__sub-menu .mat-menu-item{display:flex;flex-direction:row;align-items:center;font-size:var(--theme-button-font-size);color:var(--theme-secondary-text-color);line-height:48px;box-shadow:none;transform:none;transition:unset;font-weight:400}.app-create-menu .app-create-menu--icon__sub-menu .mat-menu-item:hover{color:var(--theme-primary-color)}.app-create-menu .app-create-menu--icon__sub-menu .mat-menu-item[disabled],.app-create-menu .app-create-menu--icon__sub-menu .mat-menu-item[disabled]:hover,.app-create-menu .app-create-menu--icon__sub-menu .mat-menu-item[disabled] .mat-icon,.app-create-menu .app-create-menu--icon__sub-menu .mat-menu-item[disabled]:hover .mat-icon{color:var(--theme-text-disabled-color)}.app-create-menu--collapsed{outline:none;color:var(--theme-secondary-text-color);cursor:pointer;margin:0;border:none;background:none}.app-create-menu--collapsed:not(.app-create-menu-secondary-button) .app-create-menu--icon{color:var(--theme-accent-color)}.app-create-menu--collapsed:not(.app-create-menu-secondary-button):hover{color:var(--theme-accent-color)}.app-create-menu:focus{outline:none}\n"] }]
|
|
68
|
-
}], ctorParameters: function () { return [{ type: i1.AppExtensionService }]; }, propDecorators: { showLabel: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}], expanded: [{
|
|
71
|
-
type: Input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dGEtYXV0b21hdGlvbi1pZD1cImNyZWF0ZS1idXR0b25cIlxuICAgIFttYXRNZW51VHJpZ2dlckZvcl09XCJyb290TWVudVwiXG4gICAgI2NyZWF0ZU1lbnU9XCJtYXRNZW51VHJpZ2dlclwiXG4gICAgdGl0bGU9XCJ7eyAnQVBQLk5FV19NRU5VLlRPT0xUSVAnIHwgdHJhbnNsYXRlIH19XCJcbiAgPlxuICAgIDxtYXQtaWNvbiBjbGFzcz1cImFwcC1jcmVhdGUtbWVudS0taWNvblwiIHRpdGxlPVwie3sgJ0FQUC5ORVdfTUVOVS5UT09MVElQJyB8IHRyYW5zbGF0ZSB9fVwiPnF1ZXVlPC9tYXQtaWNvbj5cbiAgPC9idXR0b24+XG48L25nLWNvbnRhaW5lcj5cblxuPG1hdC1tZW51ICNyb290TWVudT1cIm1hdE1lbnVcIiByb2xlPVwibWVudVwiIGNsYXNzPVwiYXBwLWNyZWF0ZS1tZW51X19yb290LW1lbnUgYXBwLWNyZWF0ZS1tZW51X19zdWItbWVudVwiIFtvdmVybGFwVHJpZ2dlcl09XCJmYWxzZVwiIHlQb3NpdGlvbj1cImJlbG93XCI+XG4gIDxkaXYgKm5nRm9yPVwibGV0IGFjdGlvbiBvZiBjcmVhdGVBY3Rpb25zOyB0cmFja0J5OiB0cmFja0J5QWN0aW9uSWRcIj5cbiAgICA8YXBwLXRvb2xiYXItbWVudS1pdGVtIFthY3Rpb25SZWZdPVwiYWN0aW9uXCI+PC9hcHAtdG9vbGJhci1tZW51LWl0ZW0+XG4gIDwvZGl2PlxuPC9tYXQtbWVudT5cbiJdfQ==
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
* Alfresco Example Content Application
|
|
5
|
-
*
|
|
6
|
-
* This file is part of the Alfresco Example Content Application.
|
|
7
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
-
* provided under the following open source license terms:
|
|
10
|
-
*
|
|
11
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
-
* (at your option) any later version.
|
|
15
|
-
*
|
|
16
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
-
* GNU Lesser General Public License for more details.
|
|
20
|
-
*
|
|
21
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
-
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
-
*/
|
|
24
|
-
import { NgModule } from '@angular/core';
|
|
25
|
-
import { CreateMenuComponent } from './create-menu.component';
|
|
26
|
-
import { CommonModule } from '@angular/common';
|
|
27
|
-
import { CoreModule } from '@alfresco/adf-core';
|
|
28
|
-
import { AppToolbarModule } from '../toolbar/toolbar.module';
|
|
29
|
-
import * as i0 from "@angular/core";
|
|
30
|
-
import * as i1 from "@alfresco/adf-core";
|
|
31
|
-
export class AppCreateMenuModule {
|
|
32
|
-
}
|
|
33
|
-
AppCreateMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: AppCreateMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
34
|
-
AppCreateMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: AppCreateMenuModule, declarations: [CreateMenuComponent], imports: [CommonModule, i1.CoreModule, AppToolbarModule], exports: [CreateMenuComponent] });
|
|
35
|
-
AppCreateMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: AppCreateMenuModule, imports: [CommonModule, CoreModule.forChild(), AppToolbarModule] });
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: AppCreateMenuModule, decorators: [{
|
|
37
|
-
type: NgModule,
|
|
38
|
-
args: [{
|
|
39
|
-
imports: [CommonModule, CoreModule.forChild(), AppToolbarModule],
|
|
40
|
-
declarations: [CreateMenuComponent],
|
|
41
|
-
exports: [CreateMenuComponent]
|
|
42
|
-
}]
|
|
43
|
-
}] });
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLW1lbnUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNhLWNvbnRlbnQvc3JjL2xpYi9jb21wb25lbnRzL2NyZWF0ZS1tZW51L2NyZWF0ZS1tZW51Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXNCRztBQUVILE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDOUQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQzs7O0FBTzdELE1BQU0sT0FBTyxtQkFBbUI7O2dIQUFuQixtQkFBbUI7aUhBQW5CLG1CQUFtQixpQkFIZixtQkFBbUIsYUFEeEIsWUFBWSxpQkFBeUIsZ0JBQWdCLGFBRXJELG1C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bXBvcnQgeyBDb3JlTW9kdWxlIH0gZnJvbSAnQGFsZnJlc2NvL2FkZi1jb3JlJztcbmltcG9ydCB7IEFwcFRvb2xiYXJNb2R1bGUgfSBmcm9tICcuLi90b29sYmFyL3Rvb2xiYXIubW9kdWxlJztcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZSwgQ29yZU1vZHVsZS5mb3JDaGlsZCgpLCBBcHBUb29sYmFyTW9kdWxlXSxcbiAgZGVjbGFyYXRpb25zOiBbQ3JlYXRlTWVudUNvbXBvbmVudF0sXG4gIGV4cG9ydHM6IFtDcmVhdGVNZW51Q29tcG9uZW50XVxufSlcbmV4cG9ydCBjbGFzcyBBcHBDcmVhdGVNZW51TW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
* Alfresco Example Content Application
|
|
5
|
-
*
|
|
6
|
-
* This file is part of the Alfresco Example Content Application.
|
|
7
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
-
* provided under the following open source license terms:
|
|
10
|
-
*
|
|
11
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
-
* (at your option) any later version.
|
|
15
|
-
*
|
|
16
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
-
* GNU Lesser General Public License for more details.
|
|
20
|
-
*
|
|
21
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
-
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
-
*/
|
|
24
|
-
import { Component, ViewEncapsulation, Output, EventEmitter } from '@angular/core';
|
|
25
|
-
import { UntypedFormBuilder } from '@angular/forms';
|
|
26
|
-
import { Subject } from 'rxjs';
|
|
27
|
-
import { takeUntil } from 'rxjs/operators';
|
|
28
|
-
import * as i0 from "@angular/core";
|
|
29
|
-
import * as i1 from "@angular/forms";
|
|
30
|
-
import * as i2 from "@angular/common";
|
|
31
|
-
import * as i3 from "@angular/material/form-field";
|
|
32
|
-
import * as i4 from "@angular/material/input";
|
|
33
|
-
import * as i5 from "@angular/material/radio";
|
|
34
|
-
import * as i6 from "@ngx-translate/core";
|
|
35
|
-
export class AppNodeVersionFormComponent {
|
|
36
|
-
constructor(formBuilder) {
|
|
37
|
-
this.formBuilder = formBuilder;
|
|
38
|
-
this.update = new EventEmitter();
|
|
39
|
-
this.onDestroy$ = new Subject();
|
|
40
|
-
this.versionOptions = [
|
|
41
|
-
{ label: 'VERSION.FORM.VERSION.MINOR', value: false },
|
|
42
|
-
{ label: 'VERSION.FORM.VERSION.MAJOR', value: true }
|
|
43
|
-
];
|
|
44
|
-
}
|
|
45
|
-
ngOnInit() {
|
|
46
|
-
this.form = this.formBuilder.group({
|
|
47
|
-
comment: [''],
|
|
48
|
-
version: [this.versionOptions[0].value]
|
|
49
|
-
});
|
|
50
|
-
this.form.valueChanges.pipe(takeUntil(this.onDestroy$)).subscribe((values) => {
|
|
51
|
-
this.update.emit(values);
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
get versions() {
|
|
55
|
-
return this.versionOptions;
|
|
56
|
-
}
|
|
57
|
-
ngOnDestroy() {
|
|
58
|
-
this.onDestroy$.next(true);
|
|
59
|
-
this.onDestroy$.complete();
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
AppNodeVersionFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: AppNodeVersionFormComponent, deps: [{ token: i1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
63
|
-
AppNodeVersionFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: AppNodeVersionFormComponent, selector: "app-node-version-form", outputs: { update: "update" }, host: { classAttribute: "app-node-version-form__container" }, exportAs: ["nodeVersionForm"], ngImport: i0, template: "<form novalidate [formGroup]=\"form\" class=\"form\">\n <p class=\"form__subtitle\">\n {{ 'VERSION.FORM.SUBTITLE' | translate }}\n </p>\n\n <mat-radio-group formControlName=\"version\" class=\"form__version\">\n <mat-radio-button\n class=\"form__version--option\"\n color=\"primary\"\n *ngFor=\"let option of versions\"\n [attr.data-automation-id]=\"option.value\"\n [value]=\"option.value\"\n >\n {{ option.label | translate }}\n </mat-radio-button>\n </mat-radio-group>\n\n <mat-form-field class=\"form__comment\">\n <textarea\n matInput\n placeholder=\"{{ 'VERSION.FORM.COMMENT.PLACEHOLDER' | translate }}\"\n rows=\"1\"\n autocomplete=\"off\"\n formControlName=\"comment\"\n ></textarea>\n </mat-form-field>\n</form>\n", styles: [".app-node-version-form__container{display:flex;max-width:400px}.app-node-version-form__container .form__version{display:flex;flex-direction:column;padding:20px 0}.app-node-version-form__container .form__version--option:last-child{padding-top:20px}.app-node-version-form__container .form{width:100%;padding:0 10px;display:flex;flex-direction:column}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i5.MatRadioGroup, selector: "mat-radio-group", exportAs: ["matRadioGroup"] }, { kind: "component", type: i5.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None });
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: AppNodeVersionFormComponent, decorators: [{
|
|
65
|
-
type: Component,
|
|
66
|
-
args: [{ selector: 'app-node-version-form', encapsulation: ViewEncapsulation.None, host: { class: 'app-node-version-form__container' }, exportAs: 'nodeVersionForm', template: "<form novalidate [formGroup]=\"form\" class=\"form\">\n <p class=\"form__subtitle\">\n {{ 'VERSION.FORM.SUBTITLE' | translate }}\n </p>\n\n <mat-radio-group formControlName=\"version\" class=\"form__version\">\n <mat-radio-button\n class=\"form__version--option\"\n color=\"primary\"\n *ngFor=\"let option of versions\"\n [attr.data-automation-id]=\"option.value\"\n [value]=\"option.value\"\n >\n {{ option.label | translate }}\n </mat-radio-button>\n </mat-radio-group>\n\n <mat-form-field class=\"form__comment\">\n <textarea\n matInput\n placeholder=\"{{ 'VERSION.FORM.COMMENT.PLACEHOLDER' | translate }}\"\n rows=\"1\"\n autocomplete=\"off\"\n formControlName=\"comment\"\n ></textarea>\n </mat-form-field>\n</form>\n", styles: [".app-node-version-form__container{display:flex;max-width:400px}.app-node-version-form__container .form__version{display:flex;flex-direction:column;padding:20px 0}.app-node-version-form__container .form__version--option:last-child{padding-top:20px}.app-node-version-form__container .form{width:100%;padding:0 10px;display:flex;flex-direction:column}\n"] }]
|
|
67
|
-
}], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }]; }, propDecorators: { update: [{
|
|
68
|
-
type: Output
|
|
69
|
-
}] } });
|
|
70
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS12ZXJzaW9uLWZvcm0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNhLWNvbnRlbnQvc3JjL2xpYi9jb21wb25lbnRzL25vZGUtdmVyc2lvbi9ub2RlLXZlcnNpb24tZm9ybS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY2EtY29udGVudC9zcmMvbGliL2NvbXBvbmVudHMvbm9kZS12ZXJzaW9uL25vZGUtdmVyc2lvbi1mb3JtLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBc0JHO0FBRUgsT0FBTyxFQUFFLFNBQVMsRUFBcUIsaUJBQWlCLEVBQUUsTUFBTSxFQUFFLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN0RyxPQUFPLEVBQUUsa0JBQWtCLEVBQW9CLE1BQU0sZ0JBQWdCLENBQUM7QUFDdEUsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQU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