@alfresco/aca-shared 1.12.0 → 4.0.0-4895233349
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/README.md +7 -6
- package/esm2020/alfresco-aca-shared.mjs +5 -0
- package/esm2020/lib/adf-extensions/extensions-data-loader.guard.mjs +73 -0
- package/esm2020/lib/components/document-base-page/document-base-page.component.mjs +176 -0
- package/esm2020/lib/components/document-base-page/document-base-page.service.mjs +26 -0
- package/esm2020/lib/components/generic-error/generic-error.component.mjs +41 -0
- package/esm2020/lib/components/generic-error/generic-error.module.mjs +44 -0
- package/esm2020/lib/components/info-drawer/info-drawer.component.mjs +123 -0
- package/esm2020/lib/components/info-drawer/shared-info-drawer.module.mjs +46 -0
- package/esm2020/lib/components/locked-by/locked-by.component.mjs +52 -0
- package/esm2020/lib/components/locked-by/locked-by.module.mjs +44 -0
- package/esm2020/lib/components/open-in-app/open-in-app.component.mjs +58 -0
- package/esm2020/lib/components/page-layout/page-layout-content.component.mjs +48 -0
- package/esm2020/lib/components/page-layout/page-layout-error.component.mjs +40 -0
- package/esm2020/lib/components/page-layout/page-layout-header.component.mjs +40 -0
- package/esm2020/lib/components/page-layout/page-layout.component.mjs +57 -0
- package/esm2020/lib/components/page-layout/page-layout.module.mjs +47 -0
- package/esm2020/lib/components/tool-bar/shared-toolbar.module.mjs +46 -0
- package/esm2020/lib/components/tool-bar/toolbar-action/toolbar-action.component.mjs +59 -0
- package/esm2020/lib/components/tool-bar/toolbar-button/toolbar-button.component.mjs +69 -0
- package/esm2020/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.mjs +82 -0
- package/esm2020/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.mjs +68 -0
- package/esm2020/lib/directives/contextmenu/contextmenu.directive.mjs +106 -0
- package/esm2020/lib/directives/contextmenu/contextmenu.module.mjs +42 -0
- package/esm2020/lib/directives/pagination.directive.mjs +54 -0
- package/esm2020/lib/directives/shared.directives.module.mjs +41 -0
- package/esm2020/lib/models/modal-configuration.mjs +25 -0
- package/esm2020/lib/models/types.mjs +25 -0
- package/esm2020/lib/models/viewer.rules.mjs +25 -0
- package/esm2020/lib/routing/shared.guard.mjs +48 -0
- package/esm2020/lib/services/aca-file-auto-download.service.mjs +55 -0
- package/esm2020/lib/services/aca-mobile-app-switcher.service.mjs +107 -0
- package/esm2020/lib/services/alfresco-office-extension.service.mjs +63 -0
- package/esm2020/lib/services/app-hook.service.mjs +87 -0
- package/esm2020/lib/services/app.extension.service.mjs +444 -0
- package/esm2020/lib/services/app.service.mjs +223 -0
- package/esm2020/lib/services/content-api.service.mjs +266 -0
- package/esm2020/lib/services/node-permission.service.mjs +89 -0
- package/esm2020/lib/services/router.extension.service.mjs +105 -0
- package/esm2020/lib/shared.module.mjs +54 -0
- package/esm2020/lib/testing/lib-testing-module.mjs +115 -0
- package/esm2020/lib/utils/node.utils.mjs +42 -0
- package/esm2020/public-api.mjs +62 -0
- package/esm2020/rules/alfresco-aca-shared-rules.mjs +5 -0
- package/esm2020/rules/app.rules.mjs +526 -0
- package/esm2020/rules/navigation.rules.mjs +156 -0
- package/esm2020/rules/public-api.mjs +28 -0
- package/esm2020/rules/repository.rules.mjs +33 -0
- package/esm2020/rules/user.rules.mjs +29 -0
- package/esm2020/store/actions/app-action-types.mjs +46 -0
- package/esm2020/store/actions/app.actions.mjs +128 -0
- package/esm2020/store/actions/context-menu-action-types.mjs +28 -0
- package/esm2020/store/actions/contextmenu.actions.mjs +31 -0
- package/esm2020/store/actions/library.actions.mjs +63 -0
- package/esm2020/store/actions/metadata-aspect.actions.mjs +31 -0
- package/esm2020/store/actions/node.actions.mjs +188 -0
- package/esm2020/store/actions/router-action-types.mjs +32 -0
- package/esm2020/store/actions/router.actions.mjs +54 -0
- package/esm2020/store/actions/search.actions.mjs +41 -0
- package/esm2020/store/actions/snackbar.actions.mjs +57 -0
- package/esm2020/store/actions/template-action-types.mjs +31 -0
- package/esm2020/store/actions/template.actions.mjs +47 -0
- package/esm2020/store/actions/upload.actions.mjs +49 -0
- package/esm2020/store/actions/viewer.actions.mjs +81 -0
- package/esm2020/store/alfresco-aca-shared-store.mjs +5 -0
- package/esm2020/store/effects/dialog.effects.mjs +44 -0
- package/esm2020/store/effects/router.effects.mjs +116 -0
- package/esm2020/store/effects/snackbar.effects.mjs +85 -0
- package/esm2020/store/models/delete-status.model.mjs +25 -0
- package/esm2020/store/models/deleted-node-info.model.mjs +25 -0
- package/esm2020/store/models/modal-configuration.mjs +25 -0
- package/esm2020/store/models/node-info.model.mjs +25 -0
- package/esm2020/store/models/search-option.model.mjs +30 -0
- package/esm2020/store/public-api.mjs +49 -0
- package/esm2020/store/selectors/app.selectors.mjs +56 -0
- package/esm2020/store/states/app.state.mjs +26 -0
- package/esm2020/store/store.module.mjs +42 -0
- package/fesm2015/alfresco-aca-shared-rules.mjs +775 -0
- package/fesm2015/alfresco-aca-shared-rules.mjs.map +1 -0
- package/fesm2015/alfresco-aca-shared-store.mjs +1300 -0
- package/fesm2015/alfresco-aca-shared-store.mjs.map +1 -0
- package/fesm2015/alfresco-aca-shared.mjs +2902 -0
- package/fesm2015/alfresco-aca-shared.mjs.map +1 -0
- package/fesm2020/alfresco-aca-shared-rules.mjs +771 -0
- package/fesm2020/alfresco-aca-shared-rules.mjs.map +1 -0
- package/fesm2020/alfresco-aca-shared-store.mjs +1376 -0
- package/fesm2020/alfresco-aca-shared-store.mjs.map +1 -0
- package/fesm2020/alfresco-aca-shared.mjs +3049 -0
- package/fesm2020/alfresco-aca-shared.mjs.map +1 -0
- package/{rules/alfresco-aca-shared-rules.d.ts → index.d.ts} +1 -0
- package/lib/adf-extensions/extensions-data-loader.guard.d.ts +9 -7
- package/lib/components/document-base-page/document-base-page.component.d.ts +76 -0
- package/lib/components/document-base-page/document-base-page.service.d.ts +28 -0
- package/lib/components/generic-error/generic-error.component.d.ts +3 -24
- package/lib/components/generic-error/generic-error.module.d.ts +8 -24
- package/lib/components/info-drawer/info-drawer.component.d.ts +11 -6
- package/lib/components/info-drawer/shared-info-drawer.module.d.ts +11 -24
- package/lib/components/locked-by/locked-by.component.d.ts +5 -30
- package/lib/components/locked-by/locked-by.module.d.ts +8 -24
- package/lib/components/open-in-app/open-in-app.component.d.ts +16 -0
- package/lib/components/page-layout/page-layout-content.component.d.ts +3 -24
- package/lib/components/page-layout/page-layout-error.component.d.ts +3 -24
- package/lib/components/page-layout/page-layout-header.component.d.ts +3 -24
- package/lib/components/page-layout/page-layout.component.d.ts +18 -7
- package/lib/components/page-layout/page-layout.module.d.ts +12 -24
- package/lib/components/tool-bar/shared-toolbar.module.d.ts +11 -24
- package/lib/components/tool-bar/toolbar-action/toolbar-action.component.d.ts +16 -8
- package/lib/components/tool-bar/toolbar-button/toolbar-button.component.d.ts +10 -25
- package/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.d.ts +25 -12
- package/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.d.ts +7 -27
- package/lib/directives/contextmenu/contextmenu.directive.d.ts +10 -7
- package/lib/directives/contextmenu/contextmenu.module.d.ts +5 -24
- package/lib/directives/pagination.directive.d.ts +8 -6
- package/lib/directives/shared.directives.module.d.ts +6 -24
- package/lib/models/modal-configuration.d.ts +26 -0
- package/lib/models/types.d.ts +5 -6
- package/lib/models/viewer.rules.d.ts +9 -6
- package/lib/routing/shared.guard.d.ts +5 -26
- package/lib/services/aca-file-auto-download.service.d.ts +13 -0
- package/lib/services/aca-mobile-app-switcher.service.d.ts +48 -0
- package/lib/services/alfresco-office-extension.service.d.ts +11 -0
- package/lib/services/app-hook.service.d.ts +55 -0
- package/lib/services/app.extension.service.d.ts +31 -53
- package/lib/services/app.service.d.ts +52 -13
- package/lib/services/content-api.service.d.ts +35 -25
- package/lib/services/node-permission.service.d.ts +3 -24
- package/lib/services/router.extension.service.d.ts +21 -0
- package/lib/shared.module.d.ts +16 -7
- package/lib/testing/lib-testing-module.d.ts +41 -0
- package/lib/utils/node.utils.d.ts +5 -6
- package/package.json +61 -21
- package/public-api.d.ts +24 -11
- package/rules/app.rules.d.ts +128 -36
- package/{store/alfresco-aca-shared-store.d.ts → rules/index.d.ts} +1 -0
- package/rules/navigation.rules.d.ts +12 -12
- package/rules/public-api.d.ts +5 -6
- package/rules/repository.rules.d.ts +7 -7
- package/rules/user.rules.d.ts +6 -7
- package/store/actions/app-action-types.d.ts +44 -0
- package/store/actions/app.actions.d.ts +30 -29
- package/store/actions/context-menu-action-types.d.ts +26 -0
- package/store/actions/contextmenu.actions.d.ts +6 -9
- package/store/actions/library.actions.d.ts +8 -7
- package/store/actions/metadata-aspect.actions.d.ts +5 -6
- package/store/actions/node.actions.d.ts +38 -13
- package/store/actions/router-action-types.d.ts +30 -0
- package/store/actions/router.actions.d.ts +10 -12
- package/store/actions/search.actions.d.ts +11 -19
- package/store/actions/snackbar.actions.d.ts +13 -17
- package/store/actions/template-action-types.d.ts +29 -0
- package/store/actions/template.actions.d.ts +6 -12
- package/store/actions/upload.actions.d.ts +8 -7
- package/store/actions/viewer.actions.d.ts +27 -7
- package/store/effects/dialog.effects.d.ts +9 -7
- package/store/effects/router.effects.d.ts +11 -29
- package/store/effects/snackbar.effects.d.ts +11 -9
- package/store/index.d.ts +5 -0
- package/store/models/delete-status.model.d.ts +5 -6
- package/store/models/deleted-node-info.model.d.ts +5 -6
- package/store/models/modal-configuration.d.ts +26 -0
- package/store/models/node-info.model.d.ts +5 -6
- package/store/models/search-option.model.d.ts +5 -6
- package/store/public-api.d.ts +9 -6
- package/store/selectors/app.selectors.d.ts +35 -25
- package/store/states/app.state.d.ts +14 -10
- package/store/store.module.d.ts +5 -24
- package/alfresco-aca-shared.d.ts +0 -11
- package/alfresco-aca-shared.metadata.json +0 -1
- package/bundles/alfresco-aca-shared-rules.umd.js +0 -895
- package/bundles/alfresco-aca-shared-rules.umd.js.map +0 -1
- package/bundles/alfresco-aca-shared-rules.umd.min.js +0 -75
- package/bundles/alfresco-aca-shared-rules.umd.min.js.map +0 -1
- package/bundles/alfresco-aca-shared-store.umd.js +0 -1399
- package/bundles/alfresco-aca-shared-store.umd.js.map +0 -1
- package/bundles/alfresco-aca-shared-store.umd.min.js +0 -26
- package/bundles/alfresco-aca-shared-store.umd.min.js.map +0 -1
- package/bundles/alfresco-aca-shared.umd.js +0 -2845
- package/bundles/alfresco-aca-shared.umd.js.map +0 -1
- package/bundles/alfresco-aca-shared.umd.min.js +0 -27
- package/bundles/alfresco-aca-shared.umd.min.js.map +0 -1
- package/esm2015/alfresco-aca-shared.js +0 -16
- package/esm2015/lib/adf-extensions/extensions-data-loader.guard.js +0 -106
- package/esm2015/lib/components/generic-error/generic-error.component.js +0 -52
- package/esm2015/lib/components/generic-error/generic-error.module.js +0 -43
- package/esm2015/lib/components/info-drawer/info-drawer.component.js +0 -179
- package/esm2015/lib/components/info-drawer/shared-info-drawer.module.js +0 -52
- package/esm2015/lib/components/locked-by/locked-by.component.js +0 -74
- package/esm2015/lib/components/locked-by/locked-by.module.js +0 -42
- package/esm2015/lib/components/page-layout/page-layout-content.component.js +0 -53
- package/esm2015/lib/components/page-layout/page-layout-error.component.js +0 -43
- package/esm2015/lib/components/page-layout/page-layout-header.component.js +0 -41
- package/esm2015/lib/components/page-layout/page-layout.component.js +0 -52
- package/esm2015/lib/components/page-layout/page-layout.module.js +0 -54
- package/esm2015/lib/components/tool-bar/shared-toolbar.module.js +0 -56
- package/esm2015/lib/components/tool-bar/toolbar-action/toolbar-action.component.js +0 -81
- package/esm2015/lib/components/tool-bar/toolbar-button/toolbar-button.component.js +0 -96
- package/esm2015/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.js +0 -69
- package/esm2015/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.js +0 -95
- package/esm2015/lib/directives/contextmenu/contextmenu.directive.js +0 -156
- package/esm2015/lib/directives/contextmenu/contextmenu.module.js +0 -42
- package/esm2015/lib/directives/pagination.directive.js +0 -93
- package/esm2015/lib/directives/shared.directives.module.js +0 -41
- package/esm2015/lib/models/types.js +0 -67
- package/esm2015/lib/models/viewer.rules.js +0 -40
- package/esm2015/lib/routing/app.routes.strategy.js +0 -207
- package/esm2015/lib/routing/shared.guard.js +0 -70
- package/esm2015/lib/services/app.extension.service.js +0 -686
- package/esm2015/lib/services/app.service.js +0 -95
- package/esm2015/lib/services/content-api.service.js +0 -331
- package/esm2015/lib/services/node-permission.service.js +0 -133
- package/esm2015/lib/shared.module.js +0 -51
- package/esm2015/lib/utils/node.utils.js +0 -53
- package/esm2015/public-api.js +0 -53
- package/esm2015/rules/alfresco-aca-shared-rules.js +0 -9
- package/esm2015/rules/app.rules.js +0 -563
- package/esm2015/rules/navigation.rules.js +0 -211
- package/esm2015/rules/public-api.js +0 -33
- package/esm2015/rules/repository.rules.js +0 -38
- package/esm2015/rules/user.rules.js +0 -38
- package/esm2015/store/actions/app.actions.js +0 -234
- package/esm2015/store/actions/contextmenu.actions.js +0 -49
- package/esm2015/store/actions/library.actions.js +0 -111
- package/esm2015/store/actions/metadata-aspect.actions.js +0 -46
- package/esm2015/store/actions/node.actions.js +0 -337
- package/esm2015/store/actions/router.actions.js +0 -97
- package/esm2015/store/actions/search.actions.js +0 -83
- package/esm2015/store/actions/snackbar.actions.js +0 -138
- package/esm2015/store/actions/template.actions.js +0 -85
- package/esm2015/store/actions/upload.actions.js +0 -81
- package/esm2015/store/actions/viewer.actions.js +0 -115
- package/esm2015/store/alfresco-aca-shared-store.js +0 -9
- package/esm2015/store/effects/dialog.effects.js +0 -72
- package/esm2015/store/effects/router.effects.js +0 -192
- package/esm2015/store/effects/snackbar.effects.js +0 -144
- package/esm2015/store/models/delete-status.model.js +0 -55
- package/esm2015/store/models/deleted-node-info.model.js +0 -41
- package/esm2015/store/models/node-info.model.js +0 -45
- package/esm2015/store/models/search-option.model.js +0 -52
- package/esm2015/store/public-api.js +0 -50
- package/esm2015/store/selectors/app.selectors.js +0 -82
- package/esm2015/store/states/app.state.js +0 -71
- package/esm2015/store/store.module.js +0 -43
- package/esm5/alfresco-aca-shared.js +0 -16
- package/esm5/lib/adf-extensions/extensions-data-loader.guard.js +0 -115
- package/esm5/lib/components/generic-error/generic-error.component.js +0 -54
- package/esm5/lib/components/generic-error/generic-error.module.js +0 -47
- package/esm5/lib/components/info-drawer/info-drawer.component.js +0 -209
- package/esm5/lib/components/info-drawer/shared-info-drawer.module.js +0 -56
- package/esm5/lib/components/locked-by/locked-by.component.js +0 -80
- package/esm5/lib/components/locked-by/locked-by.module.js +0 -46
- package/esm5/lib/components/page-layout/page-layout-content.component.js +0 -53
- package/esm5/lib/components/page-layout/page-layout-error.component.js +0 -45
- package/esm5/lib/components/page-layout/page-layout-header.component.js +0 -45
- package/esm5/lib/components/page-layout/page-layout.component.js +0 -54
- package/esm5/lib/components/page-layout/page-layout.module.js +0 -58
- package/esm5/lib/components/tool-bar/shared-toolbar.module.js +0 -60
- package/esm5/lib/components/tool-bar/toolbar-action/toolbar-action.component.js +0 -88
- package/esm5/lib/components/tool-bar/toolbar-button/toolbar-button.component.js +0 -103
- package/esm5/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.js +0 -80
- package/esm5/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.js +0 -103
- package/esm5/lib/directives/contextmenu/contextmenu.directive.js +0 -187
- package/esm5/lib/directives/contextmenu/contextmenu.module.js +0 -46
- package/esm5/lib/directives/pagination.directive.js +0 -97
- package/esm5/lib/directives/shared.directives.module.js +0 -45
- package/esm5/lib/models/types.js +0 -67
- package/esm5/lib/models/viewer.rules.js +0 -40
- package/esm5/lib/routing/app.routes.strategy.js +0 -268
- package/esm5/lib/routing/shared.guard.js +0 -77
- package/esm5/lib/services/app.extension.service.js +0 -835
- package/esm5/lib/services/app.service.js +0 -100
- package/esm5/lib/services/content-api.service.js +0 -495
- package/esm5/lib/services/node-permission.service.js +0 -161
- package/esm5/lib/shared.module.js +0 -58
- package/esm5/lib/utils/node.utils.js +0 -53
- package/esm5/public-api.js +0 -53
- package/esm5/rules/alfresco-aca-shared-rules.js +0 -9
- package/esm5/rules/app.rules.js +0 -563
- package/esm5/rules/navigation.rules.js +0 -211
- package/esm5/rules/public-api.js +0 -33
- package/esm5/rules/repository.rules.js +0 -38
- package/esm5/rules/user.rules.js +0 -38
- package/esm5/store/actions/app.actions.js +0 -232
- package/esm5/store/actions/contextmenu.actions.js +0 -48
- package/esm5/store/actions/library.actions.js +0 -108
- package/esm5/store/actions/metadata-aspect.actions.js +0 -45
- package/esm5/store/actions/node.actions.js +0 -322
- package/esm5/store/actions/router.actions.js +0 -93
- package/esm5/store/actions/search.actions.js +0 -87
- package/esm5/store/actions/snackbar.actions.js +0 -130
- package/esm5/store/actions/template.actions.js +0 -87
- package/esm5/store/actions/upload.actions.js +0 -78
- package/esm5/store/actions/viewer.actions.js +0 -109
- package/esm5/store/alfresco-aca-shared-store.js +0 -9
- package/esm5/store/effects/dialog.effects.js +0 -71
- package/esm5/store/effects/router.effects.js +0 -207
- package/esm5/store/effects/snackbar.effects.js +0 -154
- package/esm5/store/models/delete-status.model.js +0 -55
- package/esm5/store/models/deleted-node-info.model.js +0 -41
- package/esm5/store/models/node-info.model.js +0 -45
- package/esm5/store/models/search-option.model.js +0 -52
- package/esm5/store/public-api.js +0 -50
- package/esm5/store/selectors/app.selectors.js +0 -82
- package/esm5/store/states/app.state.js +0 -71
- package/esm5/store/store.module.js +0 -47
- package/fesm2015/alfresco-aca-shared-rules.js +0 -827
- package/fesm2015/alfresco-aca-shared-rules.js.map +0 -1
- package/fesm2015/alfresco-aca-shared-store.js +0 -1354
- package/fesm2015/alfresco-aca-shared-store.js.map +0 -1
- package/fesm2015/alfresco-aca-shared.js +0 -2096
- package/fesm2015/alfresco-aca-shared.js.map +0 -1
- package/fesm5/alfresco-aca-shared-rules.js +0 -827
- package/fesm5/alfresco-aca-shared-rules.js.map +0 -1
- package/fesm5/alfresco-aca-shared-store.js +0 -1278
- package/fesm5/alfresco-aca-shared-store.js.map +0 -1
- package/fesm5/alfresco-aca-shared.js +0 -2637
- package/fesm5/alfresco-aca-shared.js.map +0 -1
- package/lib/routing/app.routes.strategy.d.ts +0 -40
- package/rules/alfresco-aca-shared-rules.metadata.json +0 -1
- package/rules/package.json +0 -13
- package/store/alfresco-aca-shared-store.metadata.json +0 -1
- package/store/package.json +0 -13
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
* Alfresco Example Content Application
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
3
|
*
|
|
5
|
-
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
6
5
|
*
|
|
7
6
|
* This file is part of the Alfresco Example Content Application.
|
|
8
7
|
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail.
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
9
|
* provided under the following open source license terms:
|
|
11
10
|
*
|
|
12
11
|
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
@@ -16,19 +15,28 @@
|
|
|
16
15
|
*
|
|
17
16
|
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
17
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
19
|
* GNU Lesser General Public License for more details.
|
|
21
20
|
*
|
|
22
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
*
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
24
23
|
*/
|
|
25
24
|
import { DoCheck, ChangeDetectorRef } from '@angular/core';
|
|
26
25
|
import { ContentActionRef } from '@alfresco/adf-extensions';
|
|
26
|
+
import { ToolbarButtonType } from '../toolbar-button/toolbar-button.component';
|
|
27
|
+
import { ThemePalette } from '@angular/material/core';
|
|
28
|
+
import * as i0 from "@angular/core";
|
|
27
29
|
export declare class ToolbarActionComponent implements DoCheck {
|
|
28
30
|
private cd;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
data: {
|
|
32
|
+
buttonType?: ToolbarButtonType;
|
|
33
|
+
color?: string;
|
|
34
|
+
};
|
|
35
|
+
type: ToolbarButtonType;
|
|
36
|
+
color: ThemePalette;
|
|
31
37
|
actionRef: ContentActionRef;
|
|
32
38
|
constructor(cd: ChangeDetectorRef);
|
|
33
39
|
ngDoCheck(): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarActionComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarActionComponent, "aca-toolbar-action", never, { "data": "data"; "type": "type"; "color": "color"; "actionRef": "actionRef"; }, {}, never, never, false>;
|
|
34
42
|
}
|
|
@@ -1,39 +1,24 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Alfresco Example Content Application
|
|
4
|
-
*
|
|
5
|
-
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
25
1
|
import { ContentActionRef } from '@alfresco/adf-extensions';
|
|
26
2
|
import { AppExtensionService } from '../../../services/app.extension.service';
|
|
3
|
+
import { ThemePalette } from '@angular/material/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
27
5
|
export declare enum ToolbarButtonType {
|
|
28
6
|
ICON_BUTTON = "icon-button",
|
|
7
|
+
FLAT_BUTTON = "flat-button",
|
|
29
8
|
MENU_ITEM = "menu-item"
|
|
30
9
|
}
|
|
31
10
|
export declare class ToolbarButtonComponent {
|
|
32
11
|
private extensions;
|
|
12
|
+
data: {
|
|
13
|
+
buttonType?: ToolbarButtonType;
|
|
14
|
+
color?: string;
|
|
15
|
+
};
|
|
33
16
|
type: ToolbarButtonType;
|
|
34
|
-
color:
|
|
17
|
+
color: ThemePalette;
|
|
35
18
|
actionRef: ContentActionRef;
|
|
36
19
|
constructor(extensions: AppExtensionService);
|
|
37
20
|
runAction(): void;
|
|
38
21
|
private hasClickAction;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarButtonComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarButtonComponent, "app-toolbar-button", never, { "data": "data"; "type": "type"; "color": "color"; "actionRef": "actionRef"; }, {}, never, never, false>;
|
|
39
24
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
* Alfresco Example Content Application
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
3
|
*
|
|
5
|
-
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
6
5
|
*
|
|
7
6
|
* This file is part of the Alfresco Example Content Application.
|
|
8
7
|
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail.
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
9
|
* provided under the following open source license terms:
|
|
11
10
|
*
|
|
12
11
|
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
@@ -16,18 +15,32 @@
|
|
|
16
15
|
*
|
|
17
16
|
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
17
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
19
|
* GNU Lesser General Public License for more details.
|
|
21
20
|
*
|
|
22
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
*
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
24
23
|
*/
|
|
24
|
+
import { QueryList, AfterViewInit } from '@angular/core';
|
|
25
25
|
import { ContentActionRef } from '@alfresco/adf-extensions';
|
|
26
|
-
|
|
26
|
+
import { MatMenu, MatMenuTrigger } from '@angular/material/menu';
|
|
27
|
+
import { ThemePalette } from '@angular/material/core';
|
|
28
|
+
import { ToolbarMenuItemComponent } from '../toolbar-menu-item/toolbar-menu-item.component';
|
|
29
|
+
import * as i0 from "@angular/core";
|
|
30
|
+
export declare class ToolbarMenuComponent implements AfterViewInit {
|
|
27
31
|
actionRef: ContentActionRef;
|
|
28
|
-
color:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
color: ThemePalette;
|
|
33
|
+
matTrigger: MatMenuTrigger;
|
|
34
|
+
menu: MatMenu;
|
|
35
|
+
toolbarMenuItems: QueryList<ToolbarMenuItemComponent>;
|
|
36
|
+
data: {
|
|
37
|
+
menuType?: string;
|
|
38
|
+
color?: string;
|
|
39
|
+
};
|
|
40
|
+
get type(): string;
|
|
41
|
+
handleKeydownEscape(): void;
|
|
42
|
+
ngAfterViewInit(): void;
|
|
43
|
+
trackByActionId(_: number, obj: ContentActionRef): string;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarMenuComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarMenuComponent, "app-toolbar-menu", never, { "actionRef": "actionRef"; "color": "color"; "data": "data"; }, {}, never, never, false>;
|
|
33
46
|
}
|
|
@@ -1,36 +1,16 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Alfresco Example Content Application
|
|
4
|
-
*
|
|
5
|
-
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
25
1
|
import { ContentActionRef } from '@alfresco/adf-extensions';
|
|
26
2
|
import { AppExtensionService } from '../../../services/app.extension.service';
|
|
3
|
+
import { MatMenuItem } from '@angular/material/menu';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
27
5
|
export declare class ToolbarMenuItemComponent {
|
|
28
6
|
private extensions;
|
|
29
7
|
actionRef: ContentActionRef;
|
|
8
|
+
menuId?: string;
|
|
9
|
+
menuItem: MatMenuItem;
|
|
30
10
|
constructor(extensions: AppExtensionService);
|
|
31
11
|
runAction(): void;
|
|
32
12
|
private hasClickAction;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
13
|
+
trackByActionId(_: number, obj: ContentActionRef): string;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarMenuItemComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarMenuItemComponent, "app-toolbar-menu-item", never, { "actionRef": "actionRef"; "menuId": "menuId"; }, {}, never, never, false>;
|
|
36
16
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
* Alfresco Example Content Application
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
3
|
*
|
|
5
|
-
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
6
5
|
*
|
|
7
6
|
* This file is part of the Alfresco Example Content Application.
|
|
8
7
|
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail.
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
9
|
* provided under the following open source license terms:
|
|
11
10
|
*
|
|
12
11
|
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
@@ -16,16 +15,17 @@
|
|
|
16
15
|
*
|
|
17
16
|
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
17
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
19
|
* GNU Lesser General Public License for more details.
|
|
21
20
|
*
|
|
22
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
*
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
24
23
|
*/
|
|
25
24
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
26
25
|
import { Subject } from 'rxjs';
|
|
27
26
|
import { Store } from '@ngrx/store';
|
|
28
27
|
import { AppStore } from '@alfresco/aca-shared/store';
|
|
28
|
+
import * as i0 from "@angular/core";
|
|
29
29
|
export declare class ContextActionsDirective implements OnInit, OnDestroy {
|
|
30
30
|
private store;
|
|
31
31
|
private execute$;
|
|
@@ -35,8 +35,11 @@ export declare class ContextActionsDirective implements OnInit, OnDestroy {
|
|
|
35
35
|
constructor(store: Store<AppStore>);
|
|
36
36
|
ngOnInit(): void;
|
|
37
37
|
ngOnDestroy(): void;
|
|
38
|
-
execute(event: MouseEvent, target: Element):
|
|
38
|
+
execute(event: MouseEvent, target: Element): any;
|
|
39
39
|
private getTarget;
|
|
40
40
|
private isSelected;
|
|
41
|
+
private isEmptyTable;
|
|
41
42
|
private findAncestor;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextActionsDirective, never>;
|
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextActionsDirective, "[acaContextActions]", ["acaContextActions"], { "enabled": "acaContextEnable"; }, {}, never, never, false>;
|
|
42
45
|
}
|
|
@@ -1,29 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
* Alfresco Example Content Application
|
|
4
|
-
*
|
|
5
|
-
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./contextmenu.directive";
|
|
25
3
|
/**
|
|
26
4
|
* @deprecated in 1.11.0, use SharedDirectivesModule instead.
|
|
27
5
|
*/
|
|
28
6
|
export declare class ContextActionsModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextActionsModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ContextActionsModule, [typeof i1.ContextActionsDirective], never, [typeof i1.ContextActionsDirective]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ContextActionsModule>;
|
|
29
10
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
* Alfresco Example Content Application
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
3
|
*
|
|
5
|
-
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
6
5
|
*
|
|
7
6
|
* This file is part of the Alfresco Example Content Application.
|
|
8
7
|
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail.
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
9
|
* provided under the following open source license terms:
|
|
11
10
|
*
|
|
12
11
|
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
@@ -16,14 +15,15 @@
|
|
|
16
15
|
*
|
|
17
16
|
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
17
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
19
|
* GNU Lesser General Public License for more details.
|
|
21
20
|
*
|
|
22
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
*
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
24
23
|
*/
|
|
25
24
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
26
25
|
import { PaginationComponent, UserPreferencesService, AppConfigService } from '@alfresco/adf-core';
|
|
26
|
+
import * as i0 from "@angular/core";
|
|
27
27
|
export declare class PaginationDirective implements OnInit, OnDestroy {
|
|
28
28
|
private pagination;
|
|
29
29
|
private preferences;
|
|
@@ -32,4 +32,6 @@ export declare class PaginationDirective implements OnInit, OnDestroy {
|
|
|
32
32
|
constructor(pagination: PaginationComponent, preferences: UserPreferencesService, config: AppConfigService);
|
|
33
33
|
ngOnInit(): void;
|
|
34
34
|
ngOnDestroy(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationDirective, never>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PaginationDirective, "[acaPagination]", never, {}, {}, never, never, false>;
|
|
35
37
|
}
|
|
@@ -1,26 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./pagination.directive";
|
|
3
|
+
import * as i2 from "./contextmenu/contextmenu.module";
|
|
25
4
|
export declare class SharedDirectivesModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectivesModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectivesModule, [typeof i1.PaginationDirective], [typeof i2.ContextActionsModule], [typeof i1.PaginationDirective, typeof i2.ContextActionsModule]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectivesModule>;
|
|
26
8
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 interface ModalConfiguration {
|
|
25
|
+
focusedElementOnCloseSelector?: string;
|
|
26
|
+
}
|
package/lib/models/types.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
* Alfresco Example Content Application
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
3
|
*
|
|
5
|
-
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
6
5
|
*
|
|
7
6
|
* This file is part of the Alfresco Example Content Application.
|
|
8
7
|
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail.
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
9
|
* provided under the following open source license terms:
|
|
11
10
|
*
|
|
12
11
|
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
@@ -16,11 +15,11 @@
|
|
|
16
15
|
*
|
|
17
16
|
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
17
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
19
|
* GNU Lesser General Public License for more details.
|
|
21
20
|
*
|
|
22
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
*
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
24
23
|
*/
|
|
25
24
|
import { Route } from '@angular/router';
|
|
26
25
|
export interface SettingsGroupRef {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
* Alfresco Example Content Application
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
3
|
*
|
|
5
|
-
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
6
5
|
*
|
|
7
6
|
* This file is part of the Alfresco Example Content Application.
|
|
8
7
|
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail.
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
9
|
* provided under the following open source license terms:
|
|
11
10
|
*
|
|
12
11
|
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
@@ -16,15 +15,19 @@
|
|
|
16
15
|
*
|
|
17
16
|
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
17
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
19
|
* GNU Lesser General Public License for more details.
|
|
21
20
|
*
|
|
22
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
*
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
24
23
|
*/
|
|
25
24
|
export interface ViewerRules {
|
|
26
25
|
/**
|
|
27
26
|
* Checks if user can preview the node.
|
|
28
27
|
*/
|
|
29
28
|
canPreview?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Shows navigation options
|
|
31
|
+
*/
|
|
32
|
+
showNavigation?: string;
|
|
30
33
|
}
|
|
@@ -1,34 +1,13 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Alfresco Example Content Application
|
|
4
|
-
*
|
|
5
|
-
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
25
1
|
import { CanActivate, ActivatedRouteSnapshot } from '@angular/router';
|
|
26
2
|
import { Observable } from 'rxjs';
|
|
27
3
|
import { Store } from '@ngrx/store';
|
|
28
4
|
import { AppStore } from '@alfresco/aca-shared/store';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
29
6
|
export declare class AppSharedRuleGuard implements CanActivate {
|
|
30
7
|
isQuickShareEnabled$: Observable<boolean>;
|
|
31
8
|
constructor(store: Store<AppStore>);
|
|
32
|
-
canActivate(_: ActivatedRouteSnapshot): Observable<boolean
|
|
33
|
-
canActivateChild(route: ActivatedRouteSnapshot): Observable<boolean
|
|
9
|
+
canActivate(_: ActivatedRouteSnapshot): Observable<boolean>;
|
|
10
|
+
canActivateChild(route: ActivatedRouteSnapshot): Observable<boolean>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppSharedRuleGuard, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AppSharedRuleGuard>;
|
|
34
13
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
+
import { AppConfigService } from '@alfresco/adf-core';
|
|
3
|
+
import { NodeEntry } from '@alfresco/js-api';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AcaFileAutoDownloadService {
|
|
6
|
+
private dialog;
|
|
7
|
+
private appConfig;
|
|
8
|
+
constructor(dialog: MatDialog, appConfig: AppConfigService);
|
|
9
|
+
shouldFileAutoDownload(fileSizeInBytes: number): boolean;
|
|
10
|
+
autoDownloadFile(node: NodeEntry): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AcaFileAutoDownloadService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AcaFileAutoDownloadService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { AppConfigService } from '@alfresco/adf-core';
|
|
25
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
26
|
+
import * as i0 from "@angular/core";
|
|
27
|
+
export interface MobileAppSwitchConfigurationOptions {
|
|
28
|
+
enabled: string;
|
|
29
|
+
iphoneUrl: string;
|
|
30
|
+
androidUrlPart1: string;
|
|
31
|
+
androidUrlPart2: string;
|
|
32
|
+
sessionTimeForOpenAppDialogDisplay: string;
|
|
33
|
+
}
|
|
34
|
+
export declare class AcaMobileAppSwitcherService {
|
|
35
|
+
private config;
|
|
36
|
+
private dialog;
|
|
37
|
+
private mobileAppSwitchConfig;
|
|
38
|
+
redirectUrl: string;
|
|
39
|
+
constructor(config: AppConfigService, dialog: MatDialog);
|
|
40
|
+
resolveExistenceOfDialog(): void;
|
|
41
|
+
verifySessionExistsForDialog(): void;
|
|
42
|
+
identifyBrowserAndSetRedirectURL(): void;
|
|
43
|
+
openDialog(redirectUrl: string): void;
|
|
44
|
+
clearSessionExpireTime(): void;
|
|
45
|
+
getCurrentUrl(): string;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AcaMobileAppSwitcherService, never>;
|
|
47
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AcaMobileAppSwitcherService>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AppConfigService } from '@alfresco/adf-core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AlfrescoOfficeExtensionService {
|
|
4
|
+
private appConfigService;
|
|
5
|
+
constructor(appConfigService: AppConfigService);
|
|
6
|
+
enablePlugin(): void;
|
|
7
|
+
disablePlugin(): void;
|
|
8
|
+
isAosPluginEnabled(): boolean;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlfrescoOfficeExtensionService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AlfrescoOfficeExtensionService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import { SiteEntry } from '@alfresco/js-api';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AppHookService {
|
|
5
|
+
/**
|
|
6
|
+
* Gets emitted when reloads event fired
|
|
7
|
+
*/
|
|
8
|
+
reload: Subject<any>;
|
|
9
|
+
/**
|
|
10
|
+
* Gets emitted when user reset the node
|
|
11
|
+
*/
|
|
12
|
+
reset: Subject<any>;
|
|
13
|
+
/**
|
|
14
|
+
* Gets emitted when user delete the node
|
|
15
|
+
*/
|
|
16
|
+
nodesDeleted: Subject<any>;
|
|
17
|
+
/**
|
|
18
|
+
* Gets emitted when user delete the library
|
|
19
|
+
*/
|
|
20
|
+
libraryDeleted: Subject<string>;
|
|
21
|
+
/**
|
|
22
|
+
* Gets emitted when user create the library
|
|
23
|
+
*/
|
|
24
|
+
libraryCreated: Subject<SiteEntry>;
|
|
25
|
+
/**
|
|
26
|
+
* Gets emitted when user update the library
|
|
27
|
+
*/
|
|
28
|
+
libraryUpdated: Subject<SiteEntry>;
|
|
29
|
+
/**
|
|
30
|
+
* Gets emitted when user join the library
|
|
31
|
+
*/
|
|
32
|
+
libraryJoined: Subject<string>;
|
|
33
|
+
/**
|
|
34
|
+
* Gets emitted when user left the library
|
|
35
|
+
*/
|
|
36
|
+
libraryLeft: Subject<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Gets emitted when library throws 400 error code
|
|
39
|
+
*/
|
|
40
|
+
library400Error: Subject<any>;
|
|
41
|
+
/**
|
|
42
|
+
* Gets emitted when user join the library
|
|
43
|
+
*/
|
|
44
|
+
joinLibraryToggle: Subject<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Gets emitted when user unlink the node
|
|
47
|
+
*/
|
|
48
|
+
linksUnshared: Subject<any>;
|
|
49
|
+
/**
|
|
50
|
+
* Gets emitted when user mark the the favorite library
|
|
51
|
+
*/
|
|
52
|
+
favoriteLibraryToggle: Subject<any>;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppHookService, never>;
|
|
54
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AppHookService>;
|
|
55
|
+
}
|