@c8y/ngx-components 1021.38.0 → 1021.49.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/services.d.ts +1 -1
- package/api/services.d.ts.map +1 -1
- package/auth-configuration/sso-configuration/template-parts/access-mapping/access-mapping.component.d.ts.map +1 -1
- package/connectivity/abstract-connectivity-tab.factory.d.ts +1 -1
- package/context-dashboard/add-dashboard.component.d.ts.map +1 -1
- package/context-dashboard/context-dashboard.model.d.ts +4 -2
- package/context-dashboard/context-dashboard.model.d.ts.map +1 -1
- package/context-dashboard/dashboard-detail.component.d.ts.map +1 -1
- package/context-dashboard/dashboard-manager/dashboard-manager.model.d.ts +1 -0
- package/context-dashboard/dashboard-manager/dashboard-manager.model.d.ts.map +1 -1
- package/context-dashboard/dashboard-manager/dashboard-manager.service.d.ts +0 -1
- package/context-dashboard/dashboard-manager/dashboard-manager.service.d.ts.map +1 -1
- package/context-dashboard/dashboard-manager/type-dashboards-list/type-dashboards-list.component.d.ts.map +1 -1
- package/context-dashboard/new-dashboard.guard.d.ts +1 -1
- package/context-dashboard/new-dashboard.guard.d.ts.map +1 -1
- package/core/action/action.component.d.ts +2 -1
- package/core/action/action.component.d.ts.map +1 -1
- package/core/action/action.model.d.ts +3 -2
- package/core/action/action.model.d.ts.map +1 -1
- package/core/breadcrumb/breadcrumb-item.component.d.ts +2 -1
- package/core/breadcrumb/breadcrumb-item.component.d.ts.map +1 -1
- package/core/breadcrumb/breadcrumb.model.d.ts +2 -1
- package/core/breadcrumb/breadcrumb.model.d.ts.map +1 -1
- package/core/common/ApplicationOptions.d.ts +1 -0
- package/core/common/ApplicationOptions.d.ts.map +1 -1
- package/core/common/empty-state/empty-state.component.d.ts +2 -1
- package/core/common/empty-state/empty-state.component.d.ts.map +1 -1
- package/core/common/get-group-icon.pipe.d.ts +2 -1
- package/core/common/get-group-icon.pipe.d.ts.map +1 -1
- package/core/common/group.service.d.ts +22 -7
- package/core/common/group.service.d.ts.map +1 -1
- package/core/common/icon.directive.d.ts +5 -5
- package/core/common/icon.directive.d.ts.map +1 -1
- package/core/common/service-registry.model.d.ts +2 -1
- package/core/common/service-registry.model.d.ts.map +1 -1
- package/core/data-grid/data-grid.model.d.ts +2 -1
- package/core/data-grid/data-grid.model.d.ts.map +1 -1
- package/core/docs/docs.models.d.ts +2 -1
- package/core/docs/docs.models.d.ts.map +1 -1
- package/core/docs/help-and-support-outlet/help-and-support-outlet.component.d.ts +5 -1
- package/core/docs/help-and-support-outlet/help-and-support-outlet.component.d.ts.map +1 -1
- package/core/docs/legal-notices-outlet/legal-notices-outlet.component.d.ts +5 -1
- package/core/docs/legal-notices-outlet/legal-notices-outlet.component.d.ts.map +1 -1
- package/core/docs/support-outlet/support-outlet.component.d.ts +5 -1
- package/core/docs/support-outlet/support-outlet.component.d.ts.map +1 -1
- package/core/forms/filter-input.component.d.ts +8 -3
- package/core/forms/filter-input.component.d.ts.map +1 -1
- package/core/list-group/list-item-action.component.d.ts +2 -1
- package/core/list-group/list-item-action.component.d.ts.map +1 -1
- package/core/list-group/list-item-icon.component.d.ts +2 -1
- package/core/list-group/list-item-icon.component.d.ts.map +1 -1
- package/core/login/login.service.d.ts.map +1 -1
- package/core/navigator/navigator-icon.component.d.ts +1 -1
- package/core/navigator/navigator-icon.component.d.ts.map +1 -1
- package/core/navigator/navigator-node-data.d.ts +2 -1
- package/core/navigator/navigator-node-data.d.ts.map +1 -1
- package/core/navigator/navigator-node.component.d.ts.map +1 -1
- package/core/navigator/navigator-node.d.ts +2 -1
- package/core/navigator/navigator-node.d.ts.map +1 -1
- package/core/plugins/plugins.model.d.ts +7 -2
- package/core/plugins/plugins.model.d.ts.map +1 -1
- package/core/plugins/plugins.service.d.ts.map +1 -1
- package/core/properties-list/properties-list.component.d.ts +2 -1
- package/core/properties-list/properties-list.component.d.ts.map +1 -1
- package/core/provider-configuration/model/dynamic-provider-config.model.d.ts +2 -2
- package/core/provider-configuration/model/dynamic-provider-config.model.d.ts.map +1 -1
- package/core/router/context-route.service.d.ts.map +1 -1
- package/core/router/router.model.d.ts +1 -1
- package/core/router/router.model.d.ts.map +1 -1
- package/core/router/scoped-context-route.service.d.ts.map +1 -1
- package/core/search/search.model.d.ts +2 -1
- package/core/search/search.model.d.ts.map +1 -1
- package/core/select/select-keyboard.service.d.ts +4 -0
- package/core/select/select-keyboard.service.d.ts.map +1 -1
- package/core/select/select.component.d.ts +14 -3
- package/core/select/select.component.d.ts.map +1 -1
- package/core/select-modal/select-modal.component.d.ts +2 -1
- package/core/select-modal/select-modal.component.d.ts.map +1 -1
- package/core/shared/core.model.d.ts +5 -1
- package/core/shared/core.model.d.ts.map +1 -1
- package/core/tabs/conditional-tabs-outlet.component.d.ts.map +1 -1
- package/core/tabs/tab.component.d.ts +3 -2
- package/core/tabs/tab.component.d.ts.map +1 -1
- package/core/tabs/tab.model.d.ts +10 -5
- package/core/tabs/tab.model.d.ts.map +1 -1
- package/core/tabs/tabs-outlet.component.d.ts +7 -4
- package/core/tabs/tabs-outlet.component.d.ts.map +1 -1
- package/core/user/user-menu-item.component.d.ts +2 -1
- package/core/user/user-menu-item.component.d.ts.map +1 -1
- package/core/user/user.model.d.ts +2 -1
- package/core/user/user.model.d.ts.map +1 -1
- package/core/wizard/wizard.model.d.ts +4 -3
- package/core/wizard/wizard.model.d.ts.map +1 -1
- package/data-grid-columns/asset-type/asset-type.cell-renderer.component.d.ts.map +1 -1
- package/datapoint-selector/datapoint-attributes-form/datapoint-attributes-form.component.d.ts +15 -46
- package/datapoint-selector/datapoint-attributes-form/datapoint-attributes-form.component.d.ts.map +1 -1
- package/datapoint-selector/datapoint-attributes-form/datapoint-attributes.model.d.ts +3 -0
- package/datapoint-selector/datapoint-attributes-form/datapoint-attributes.model.d.ts.map +1 -1
- package/datapoint-selector/datapoint-selection.model.d.ts +6 -7
- package/datapoint-selector/datapoint-selection.model.d.ts.map +1 -1
- package/datapoints-export-selector/datapoints-export-selector.model.d.ts +2 -1
- package/datapoints-export-selector/datapoints-export-selector.model.d.ts.map +1 -1
- package/device-grid/columns/icon.cell-renderer.component.d.ts +14 -0
- package/device-grid/columns/icon.cell-renderer.component.d.ts.map +1 -0
- package/device-grid/columns/index.d.ts +1 -0
- package/device-grid/columns/index.d.ts.map +1 -1
- package/device-grid/device-grid.component.d.ts.map +1 -1
- package/device-grid/device-grid.service.d.ts +0 -2
- package/device-grid/device-grid.service.d.ts.map +1 -1
- package/device-provisioned-certificates/c8y-ngx-components-device-provisioned-certificates.d.ts.map +1 -0
- package/device-provisioned-certificates/device-provisioned-certificates.guard.d.ts +11 -0
- package/device-provisioned-certificates/device-provisioned-certificates.guard.d.ts.map +1 -0
- package/device-provisioned-certificates/device-provisioned-certificates.module.d.ts +13 -0
- package/device-provisioned-certificates/device-provisioned-certificates.module.d.ts.map +1 -0
- package/device-provisioned-certificates/device-provisioned-certificates.service.d.ts +13 -0
- package/device-provisioned-certificates/device-provisioned-certificates.service.d.ts.map +1 -0
- package/device-provisioned-certificates/device-tab-provisioned-certificates.component.d.ts +57 -0
- package/device-provisioned-certificates/device-tab-provisioned-certificates.component.d.ts.map +1 -0
- package/device-provisioned-certificates/index.d.ts +2 -0
- package/device-provisioned-certificates/index.d.ts.map +1 -0
- package/ecosystem/application-plugins/application-plugins.component.d.ts +4 -0
- package/ecosystem/application-plugins/application-plugins.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/application-plugins.module.d.ts +2 -2
- package/ecosystem/application-plugins/application-plugins.module.d.ts.map +1 -1
- package/ecosystem/application-plugins/index.d.ts +1 -0
- package/ecosystem/application-plugins/index.d.ts.map +1 -1
- package/ecosystem/application-plugins/install-plugin.component.d.ts +9 -11
- package/ecosystem/application-plugins/install-plugin.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/only-latest-filter/only-latest-filter.component.d.ts +12 -0
- package/ecosystem/application-plugins/only-latest-filter/only-latest-filter.component.d.ts.map +1 -0
- package/ecosystem/application-plugins/plugin-list-item.component.d.ts +8 -3
- package/ecosystem/application-plugins/plugin-list-item.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/plugin-list.component.d.ts.map +1 -1
- package/ecosystem/application-plugins/update-plugin-of-app/update-plugin-of-app.component.d.ts.map +1 -1
- package/ecosystem/applications/application-list/application-list.component.d.ts +2 -2
- package/ecosystem/applications/application-list/application-list.component.d.ts.map +1 -1
- package/ecosystem/applications/install-from-package/install-from-package.component.d.ts.map +1 -1
- package/ecosystem/archived-confirm/archived-confirm-modal.component.d.ts +11 -0
- package/ecosystem/archived-confirm/archived-confirm-modal.component.d.ts.map +1 -0
- package/ecosystem/archived-confirm/archived-confirm.module.d.ts +10 -0
- package/ecosystem/archived-confirm/archived-confirm.module.d.ts.map +1 -0
- package/ecosystem/archived-confirm/c8y-ngx-components-ecosystem-archived-confirm.d.ts.map +1 -0
- package/ecosystem/archived-confirm/index.d.ts +3 -0
- package/ecosystem/archived-confirm/index.d.ts.map +1 -0
- package/ecosystem/ecosystem.module.d.ts +2 -1
- package/ecosystem/ecosystem.module.d.ts.map +1 -1
- package/ecosystem/features/feature-list.component.d.ts +2 -2
- package/ecosystem/features/feature-list.component.d.ts.map +1 -1
- package/ecosystem/microservices/microservice-list.component.d.ts +2 -2
- package/ecosystem/microservices/microservice-list.component.d.ts.map +1 -1
- package/ecosystem/packages/deploy-application/deploy-application.component.d.ts.map +1 -1
- package/ecosystem/packages/package-details/package-details.component.d.ts +7 -2
- package/ecosystem/packages/package-details/package-details.component.d.ts.map +1 -1
- package/ecosystem/packages/package-list/packages-list.component.d.ts +2 -2
- package/ecosystem/packages/package-list/packages-list.component.d.ts.map +1 -1
- package/ecosystem/shared/add-application.component.d.ts +2 -1
- package/ecosystem/shared/add-application.component.d.ts.map +1 -1
- package/ecosystem/shared/application-card.component.d.ts +4 -0
- package/ecosystem/shared/application-card.component.d.ts.map +1 -1
- package/ecosystem/shared/archived-filter/archived-filter.component.d.ts +12 -0
- package/ecosystem/shared/archived-filter/archived-filter.component.d.ts.map +1 -0
- package/ecosystem/shared/ecosystem.constants.d.ts +4 -0
- package/ecosystem/shared/ecosystem.constants.d.ts.map +1 -1
- package/ecosystem/shared/ecosystem.model.d.ts +5 -1
- package/ecosystem/shared/ecosystem.model.d.ts.map +1 -1
- package/ecosystem/shared/ecosystem.service.d.ts +7 -0
- package/ecosystem/shared/ecosystem.service.d.ts.map +1 -1
- package/ecosystem/shared/index.d.ts +1 -0
- package/ecosystem/shared/index.d.ts.map +1 -1
- package/ecosystem/shared/list-filters/list-filters.component.d.ts +14 -4
- package/ecosystem/shared/list-filters/list-filters.component.d.ts.map +1 -1
- package/ecosystem/shared/list-filters/list-filters.model.d.ts +8 -2
- package/ecosystem/shared/list-filters/list-filters.model.d.ts.map +1 -1
- package/ecosystem/shared/shared-ecosystem.module.d.ts +9 -8
- package/ecosystem/shared/shared-ecosystem.module.d.ts.map +1 -1
- package/ecosystem/shared/translate-package-label.pipe.d.ts +1 -1
- package/ecosystem/shared/translate-package-label.pipe.d.ts.map +1 -1
- package/esm2022/alarms/alarm-info.component.mjs +1 -1
- package/esm2022/api/services.mjs +2 -2
- package/esm2022/auth-configuration/sso-configuration/template-parts/access-mapping/access-mapping.component.mjs +10 -5
- package/esm2022/auth-configuration/sso-configuration/template-parts/user-data-mapping.component.mjs +4 -4
- package/esm2022/context-dashboard/add-dashboard.component.mjs +4 -2
- package/esm2022/context-dashboard/context-dashboard.model.mjs +3 -2
- package/esm2022/context-dashboard/context-dashboard.service.mjs +2 -2
- package/esm2022/context-dashboard/dashboard-detail.component.mjs +5 -3
- package/esm2022/context-dashboard/dashboard-manager/dashboard-manager.model.mjs +1 -1
- package/esm2022/context-dashboard/dashboard-manager/dashboard-manager.service.mjs +5 -15
- package/esm2022/context-dashboard/dashboard-manager/type-dashboards-list/type-dashboards-list.component.mjs +2 -2
- package/esm2022/context-dashboard/new-dashboard.guard.mjs +1 -1
- package/esm2022/core/action/action.component.mjs +1 -1
- package/esm2022/core/action/action.model.mjs +1 -1
- package/esm2022/core/bootstrap/bootstrap.component.mjs +1 -1
- package/esm2022/core/breadcrumb/breadcrumb-item.component.mjs +1 -1
- package/esm2022/core/breadcrumb/breadcrumb.model.mjs +1 -1
- package/esm2022/core/common/ApplicationOptions.mjs +1 -1
- package/esm2022/core/common/empty-state/empty-state.component.mjs +1 -1
- package/esm2022/core/common/get-group-icon.pipe.mjs +1 -1
- package/esm2022/core/common/group.service.mjs +2 -2
- package/esm2022/core/common/icon.directive.mjs +1 -1
- package/esm2022/core/common/service-registry.model.mjs +1 -1
- package/esm2022/core/data-grid/data-grid.model.mjs +1 -1
- package/esm2022/core/docs/docs.models.mjs +1 -1
- package/esm2022/core/docs/support-outlet/support-outlet.component.mjs +3 -3
- package/esm2022/core/forms/filter-input.component.mjs +22 -7
- package/esm2022/core/list-group/list-item-action.component.mjs +1 -1
- package/esm2022/core/list-group/list-item-icon.component.mjs +1 -1
- package/esm2022/core/login/credentials.component.mjs +2 -2
- package/esm2022/core/login/login.service.mjs +18 -7
- package/esm2022/core/navigator/navigator-node-data.mjs +1 -1
- package/esm2022/core/navigator/navigator-node.component.mjs +11 -2
- package/esm2022/core/navigator/navigator-node.mjs +1 -1
- package/esm2022/core/plugins/plugins.model.mjs +5 -1
- package/esm2022/core/plugins/plugins.service.mjs +6 -2
- package/esm2022/core/properties-list/properties-list.component.mjs +1 -1
- package/esm2022/core/provider-configuration/model/dynamic-provider-config.model.mjs +1 -1
- package/esm2022/core/router/context-route.service.mjs +4 -2
- package/esm2022/core/router/router.model.mjs +1 -1
- package/esm2022/core/router/scoped-context-route.service.mjs +4 -2
- package/esm2022/core/search/search.model.mjs +1 -1
- package/esm2022/core/select/select-keyboard.service.mjs +7 -3
- package/esm2022/core/select/select.component.mjs +36 -8
- package/esm2022/core/select-modal/select-modal.component.mjs +2 -2
- package/esm2022/core/shared/core.model.mjs +6 -2
- package/esm2022/core/tabs/conditional-tabs-outlet.component.mjs +4 -2
- package/esm2022/core/tabs/tab.component.mjs +1 -1
- package/esm2022/core/tabs/tab.model.mjs +1 -1
- package/esm2022/core/tabs/tabs-outlet.component.mjs +41 -12
- package/esm2022/core/user/user-menu-item.component.mjs +1 -1
- package/esm2022/core/user/user.model.mjs +1 -1
- package/esm2022/core/wizard/wizard.model.mjs +1 -1
- package/esm2022/data-grid-columns/asset-type/asset-type.cell-renderer.component.mjs +1 -1
- package/esm2022/datapoint-selector/datapoint-attributes-form/datapoint-attributes-form.component.mjs +47 -22
- package/esm2022/datapoint-selector/datapoint-attributes-form/datapoint-attributes.model.mjs +1 -1
- package/esm2022/datapoint-selector/datapoint-selection.model.mjs +1 -1
- package/esm2022/datapoint-selector/datapoint-selector-list-item/datapoint-selector-list-item.component.mjs +3 -3
- package/esm2022/datapoints-export-selector/datapoints-export-selector.model.mjs +1 -1
- package/esm2022/device-grid/columns/icon.cell-renderer.component.mjs +42 -0
- package/esm2022/device-grid/columns/index.mjs +2 -1
- package/esm2022/device-grid/device-grid.component.mjs +3 -3
- package/esm2022/device-grid/device-grid.service.mjs +7 -25
- package/esm2022/device-provisioned-certificates/c8y-ngx-components-device-provisioned-certificates.mjs +5 -0
- package/esm2022/device-provisioned-certificates/device-provisioned-certificates.guard.mjs +28 -0
- package/esm2022/device-provisioned-certificates/device-provisioned-certificates.module.mjs +51 -0
- package/esm2022/device-provisioned-certificates/device-provisioned-certificates.service.mjs +31 -0
- package/esm2022/device-provisioned-certificates/device-tab-provisioned-certificates.component.mjs +76 -0
- package/esm2022/device-provisioned-certificates/index.mjs +2 -0
- package/esm2022/ecosystem/application-plugins/application-plugins.component.mjs +41 -39
- package/esm2022/ecosystem/application-plugins/application-plugins.module.mjs +8 -6
- package/esm2022/ecosystem/application-plugins/apps-to-update-remotes-select.component.mjs +1 -1
- package/esm2022/ecosystem/application-plugins/index.mjs +2 -1
- package/esm2022/ecosystem/application-plugins/install-plugin.component.mjs +18 -21
- package/esm2022/ecosystem/application-plugins/only-latest-filter/only-latest-filter.component.mjs +26 -0
- package/esm2022/ecosystem/application-plugins/plugin-list-item.component.mjs +14 -6
- package/esm2022/ecosystem/application-plugins/plugin-list.component.mjs +14 -12
- package/esm2022/ecosystem/application-plugins/update-plugin-of-app/update-plugin-of-app.component.mjs +7 -1
- package/esm2022/ecosystem/applications/application-list/application-list.component.mjs +1 -1
- package/esm2022/ecosystem/applications/install-from-package/install-from-package.component.mjs +6 -1
- package/esm2022/ecosystem/archived-confirm/archived-confirm-modal.component.mjs +22 -0
- package/esm2022/ecosystem/archived-confirm/archived-confirm.module.mjs +32 -0
- package/esm2022/ecosystem/archived-confirm/c8y-ngx-components-ecosystem-archived-confirm.mjs +5 -0
- package/esm2022/ecosystem/archived-confirm/index.mjs +3 -0
- package/esm2022/ecosystem/ecosystem.module.mjs +20 -16
- package/esm2022/ecosystem/features/feature-list.component.mjs +1 -1
- package/esm2022/ecosystem/microservices/microservice-list.component.mjs +1 -1
- package/esm2022/ecosystem/packages/deploy-application/deploy-application.component.mjs +6 -1
- package/esm2022/ecosystem/packages/package-details/package-details.component.mjs +13 -8
- package/esm2022/ecosystem/packages/package-list/packages-list.component.mjs +4 -4
- package/esm2022/ecosystem/shared/add-application.component.mjs +1 -1
- package/esm2022/ecosystem/shared/application-card.component.mjs +3 -3
- package/esm2022/ecosystem/shared/archived-filter/archived-filter.component.mjs +27 -0
- package/esm2022/ecosystem/shared/ecosystem.constants.mjs +5 -1
- package/esm2022/ecosystem/shared/ecosystem.model.mjs +7 -3
- package/esm2022/ecosystem/shared/ecosystem.service.mjs +26 -1
- package/esm2022/ecosystem/shared/index.mjs +2 -1
- package/esm2022/ecosystem/shared/list-filters/list-filters.component.mjs +75 -13
- package/esm2022/ecosystem/shared/list-filters/list-filters.model.mjs +1 -1
- package/esm2022/ecosystem/shared/shared-ecosystem.module.mjs +10 -5
- package/esm2022/ecosystem/shared/translate-package-label.pipe.mjs +3 -3
- package/esm2022/files-repository/files-repository.component.mjs +2 -2
- package/esm2022/files-repository/files-repository.service.mjs +5 -16
- package/esm2022/icon-selector/icon-selector.component.mjs +1 -1
- package/esm2022/icon-selector/icons/index.mjs +1 -1
- package/esm2022/operations/shared/status-option.model.mjs +1 -1
- package/esm2022/protocol-lwm2m/components/configuration/lwm2m-configuration.component.mjs +2 -2
- package/esm2022/protocol-opcua/opcua-auto-apply-settings.component.mjs +1 -1
- package/esm2022/register-device/bulk/bulk-device-registration-modal.component.mjs +17 -9
- package/esm2022/register-device/general/general-device-registration-button.component.mjs +3 -3
- package/esm2022/register-device/general/general-device-registration.component.mjs +109 -33
- package/esm2022/remote-access/configurations/c8y-ngx-components-remote-access-configurations.mjs +5 -0
- package/esm2022/remote-access/configurations/index.mjs +16 -0
- package/esm2022/remote-access/configurations/remote-access-configuration-list/remote-access-configuration-list.component.mjs +218 -0
- package/esm2022/remote-access/configurations/remote-access-configuration-list/remote-access-connect-button/remote-access-connect-button.component.mjs +60 -0
- package/esm2022/remote-access/configurations/remote-access-pick-protocol-modal/remote-access-pick-protocol-modal.component.mjs +36 -0
- package/esm2022/remote-access/data/c8y-ngx-components-remote-access-data.mjs +5 -0
- package/esm2022/remote-access/data/index.mjs +3 -0
- package/esm2022/remote-access/data/remote-access-protocol-provider.mjs +2 -0
- package/esm2022/remote-access/data/remote-access.service.mjs +200 -0
- package/esm2022/remote-access/passthrough/c8y-ngx-components-remote-access-passthrough.mjs +5 -0
- package/esm2022/remote-access/passthrough/index.mjs +36 -0
- package/esm2022/remote-access/shared/c8y-ngx-components-remote-access-shared.mjs +5 -0
- package/esm2022/remote-access/shared/index.mjs +3 -0
- package/esm2022/remote-access/shared/remote-access-basic-endpoint-modal/remote-access-basic-endpoint-modal.component.mjs +49 -0
- package/esm2022/remote-access/shared/ssh-key-input/ssh-key-input.component.mjs +87 -0
- package/esm2022/remote-access/ssh/c8y-ngx-components-remote-access-ssh.mjs +5 -0
- package/esm2022/remote-access/ssh/index.mjs +73 -0
- package/esm2022/remote-access/ssh/remote-access-ssh-endpoint-modal/c8y-ngx-components-remote-access-ssh-remote-access-ssh-endpoint-modal.mjs +5 -0
- package/esm2022/remote-access/ssh/remote-access-ssh-endpoint-modal/index.mjs +2 -0
- package/esm2022/remote-access/ssh/remote-access-ssh-endpoint-modal/remote-access-ssh-endpoint-modal.component.mjs +104 -0
- package/esm2022/remote-access/telnet/c8y-ngx-components-remote-access-telnet.mjs +5 -0
- package/esm2022/remote-access/telnet/index.mjs +43 -0
- package/esm2022/remote-access/terminal-viewer/c8y-ngx-components-remote-access-terminal-viewer.mjs +5 -0
- package/esm2022/remote-access/terminal-viewer/index.mjs +2 -0
- package/esm2022/remote-access/terminal-viewer/shell-adapter.mjs +36 -0
- package/esm2022/remote-access/terminal-viewer/telnet-negotiator.mjs +96 -0
- package/esm2022/remote-access/terminal-viewer/terminal-viewer.component.mjs +101 -0
- package/esm2022/remote-access/vnc/c8y-ngx-components-remote-access-vnc.mjs +5 -0
- package/esm2022/remote-access/vnc/index.mjs +73 -0
- package/esm2022/remote-access/vnc/remote-access-vnc-endpoint-modal/c8y-ngx-components-remote-access-vnc-remote-access-vnc-endpoint-modal.mjs +5 -0
- package/esm2022/remote-access/vnc/remote-access-vnc-endpoint-modal/index.mjs +2 -0
- package/esm2022/remote-access/vnc/remote-access-vnc-endpoint-modal/remote-access-vnc-endpoint-modal.component.mjs +59 -0
- package/esm2022/remote-access/vnc/vnc-viewer/c8y-ngx-components-remote-access-vnc-vnc-viewer.mjs +5 -0
- package/esm2022/remote-access/vnc/vnc-viewer/index.mjs +2 -0
- package/esm2022/remote-access/vnc/vnc-viewer/vnc-credentials-prompt/vnc-credentials-prompt.component.mjs +57 -0
- package/esm2022/remote-access/vnc/vnc-viewer/vnc-viewer.component.mjs +158 -0
- package/esm2022/replace-device/replace-device-wizard/replace-device-wizard.model.mjs +1 -1
- package/esm2022/report-dashboard/report-dashboard-list.component.mjs +4 -3
- package/esm2022/repository/configuration/device-tab/device-configuration-list.component.mjs +1 -1
- package/esm2022/repository/shared/repository.model.mjs +1 -1
- package/esm2022/repository/shared/repository.service.mjs +3 -3
- package/esm2022/services/status-options/status-options.model.mjs +1 -1
- package/esm2022/sub-assets/group-info.component.mjs +1 -1
- package/esm2022/tenants/custom-properties/custom-properties.service.mjs +6 -2
- package/esm2022/translation-editor/data/translation-store.service.mjs +4 -3
- package/esm2022/trusted-certificates/list/trusted-certificate-list.component.mjs +35 -9
- package/esm2022/upgrade/bridge.service.mjs +16 -2
- package/esm2022/widgets/implementations/alarms/severity-icon.pipe.mjs +1 -1
- package/esm2022/widgets/implementations/datapoints-table/datapoints-table-config/datapoints-table-config.component.mjs +3 -2
- package/esm2022/widgets/implementations/kpi/kpi-widget.model.mjs +1 -1
- package/fesm2022/c8y-ngx-components-alarms.mjs +1 -1
- package/fesm2022/c8y-ngx-components-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-api.mjs +3 -2
- package/fesm2022/c8y-ngx-components-api.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-auth-configuration.mjs +12 -7
- package/fesm2022/c8y-ngx-components-auth-configuration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs +15 -20
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-data-grid-columns-asset-type.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-data-grid-columns.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-selector.mjs +48 -23
- package/fesm2022/c8y-ngx-components-datapoint-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-grid.mjs +48 -28
- package/fesm2022/c8y-ngx-components-device-grid.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-provisioned-certificates.mjs +174 -0
- package/fesm2022/c8y-ngx-components-device-provisioned-certificates.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs +125 -105
- package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem-archived-confirm.mjs +57 -0
- package/fesm2022/c8y-ngx-components-ecosystem-archived-confirm.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-ecosystem-shared.mjs +147 -31
- package/fesm2022/c8y-ngx-components-ecosystem-shared.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem.mjs +1452 -1414
- package/fesm2022/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-files-repository.mjs +5 -16
- package/fesm2022/c8y-ngx-components-files-repository.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector-icons.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-icon-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-protocol-lwm2m-components-configuration.mjs +1 -1
- package/fesm2022/c8y-ngx-components-protocol-lwm2m-components-configuration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-protocol-opcua.mjs +1 -1
- package/fesm2022/c8y-ngx-components-protocol-opcua.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-register-device.mjs +269 -188
- package/fesm2022/c8y-ngx-components-register-device.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-configurations.mjs +314 -0
- package/fesm2022/c8y-ngx-components-remote-access-configurations.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-remote-access-data.mjs +206 -0
- package/fesm2022/c8y-ngx-components-remote-access-data.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-remote-access-passthrough.mjs +42 -0
- package/fesm2022/c8y-ngx-components-remote-access-passthrough.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-remote-access-shared.mjs +138 -0
- package/fesm2022/c8y-ngx-components-remote-access-shared.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-remote-access-ssh-remote-access-ssh-endpoint-modal.mjs +111 -0
- package/fesm2022/c8y-ngx-components-remote-access-ssh-remote-access-ssh-endpoint-modal.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-remote-access-ssh.mjs +79 -0
- package/fesm2022/c8y-ngx-components-remote-access-ssh.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-remote-access-telnet.mjs +50 -0
- package/fesm2022/c8y-ngx-components-remote-access-telnet.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-remote-access-terminal-viewer.mjs +235 -0
- package/fesm2022/c8y-ngx-components-remote-access-terminal-viewer.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-remote-access-vnc-remote-access-vnc-endpoint-modal.mjs +66 -0
- package/fesm2022/c8y-ngx-components-remote-access-vnc-remote-access-vnc-endpoint-modal.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-remote-access-vnc-vnc-viewer.mjs +211 -0
- package/fesm2022/c8y-ngx-components-remote-access-vnc-vnc-viewer.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-remote-access-vnc.mjs +79 -0
- package/fesm2022/c8y-ngx-components-remote-access-vnc.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-replace-device-replace-device-wizard.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-report-dashboard.mjs +3 -2
- package/fesm2022/c8y-ngx-components-report-dashboard.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-repository-configuration.mjs +1 -1
- package/fesm2022/c8y-ngx-components-repository-configuration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-repository-shared.mjs +2 -2
- package/fesm2022/c8y-ngx-components-repository-shared.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-services.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-sub-assets.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-tenants.mjs +5 -1
- package/fesm2022/c8y-ngx-components-tenants.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-translation-editor-data.mjs +3 -2
- package/fesm2022/c8y-ngx-components-translation-editor-data.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-trusted-certificates.mjs +43 -17
- package/fesm2022/c8y-ngx-components-trusted-certificates.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-upgrade.mjs +16 -2
- package/fesm2022/c8y-ngx-components-upgrade.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-table.mjs +2 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-table.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +151 -38
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/files-repository/files-repository.component.d.ts.map +1 -1
- package/files-repository/files-repository.service.d.ts +0 -2
- package/files-repository/files-repository.service.d.ts.map +1 -1
- package/icon-selector/icon-selector.component.d.ts +3 -2
- package/icon-selector/icon-selector.component.d.ts.map +1 -1
- package/icon-selector/icons/index.d.ts +1 -0
- package/icon-selector/icons/index.d.ts.map +1 -1
- package/locales/de.po +157 -5
- package/locales/es.po +157 -5
- package/locales/fr.po +157 -5
- package/locales/ja_JP.po +156 -5
- package/locales/ko.po +156 -5
- package/locales/locales.pot +156 -4
- package/locales/nl.po +157 -5
- package/locales/pl.po +159 -7
- package/locales/pt_BR.po +157 -5
- package/locales/zh_CN.po +156 -5
- package/locales/zh_TW.po +156 -5
- package/operations/shared/status-option.model.d.ts +2 -1
- package/operations/shared/status-option.model.d.ts.map +1 -1
- package/package.json +1 -1
- package/register-device/bulk/bulk-device-registration-modal.component.d.ts +6 -2
- package/register-device/bulk/bulk-device-registration-modal.component.d.ts.map +1 -1
- package/register-device/general/general-device-registration-button.component.d.ts +1 -1
- package/register-device/general/general-device-registration-button.component.d.ts.map +1 -1
- package/register-device/general/general-device-registration.component.d.ts +21 -7
- package/register-device/general/general-device-registration.component.d.ts.map +1 -1
- package/remote-access/configurations/c8y-ngx-components-remote-access-configurations.d.ts.map +1 -0
- package/remote-access/configurations/index.d.ts +3 -0
- package/remote-access/configurations/index.d.ts.map +1 -0
- package/remote-access/configurations/remote-access-configuration-list/remote-access-configuration-list.component.d.ts +34 -0
- package/remote-access/configurations/remote-access-configuration-list/remote-access-configuration-list.component.d.ts.map +1 -0
- package/remote-access/configurations/remote-access-configuration-list/remote-access-connect-button/remote-access-connect-button.component.d.ts +17 -0
- package/remote-access/configurations/remote-access-configuration-list/remote-access-connect-button/remote-access-connect-button.component.d.ts.map +1 -0
- package/remote-access/configurations/remote-access-pick-protocol-modal/remote-access-pick-protocol-modal.component.d.ts +18 -0
- package/remote-access/configurations/remote-access-pick-protocol-modal/remote-access-pick-protocol-modal.component.d.ts.map +1 -0
- package/remote-access/data/c8y-ngx-components-remote-access-data.d.ts.map +1 -0
- package/remote-access/data/index.d.ts +3 -0
- package/remote-access/data/index.d.ts.map +1 -0
- package/remote-access/data/remote-access-protocol-provider.d.ts +21 -0
- package/remote-access/data/remote-access-protocol-provider.d.ts.map +1 -0
- package/remote-access/data/remote-access.service.d.ts +94 -0
- package/remote-access/data/remote-access.service.d.ts.map +1 -0
- package/remote-access/passthrough/c8y-ngx-components-remote-access-passthrough.d.ts.map +1 -0
- package/remote-access/passthrough/index.d.ts +17 -0
- package/remote-access/passthrough/index.d.ts.map +1 -0
- package/remote-access/shared/c8y-ngx-components-remote-access-shared.d.ts.map +1 -0
- package/remote-access/shared/index.d.ts +3 -0
- package/remote-access/shared/index.d.ts.map +1 -0
- package/remote-access/shared/remote-access-basic-endpoint-modal/remote-access-basic-endpoint-modal.component.d.ts +37 -0
- package/remote-access/shared/remote-access-basic-endpoint-modal/remote-access-basic-endpoint-modal.component.d.ts.map +1 -0
- package/remote-access/shared/ssh-key-input/ssh-key-input.component.d.ts +38 -0
- package/remote-access/shared/ssh-key-input/ssh-key-input.component.d.ts.map +1 -0
- package/remote-access/ssh/c8y-ngx-components-remote-access-ssh.d.ts.map +1 -0
- package/remote-access/ssh/index.d.ts +22 -0
- package/remote-access/ssh/index.d.ts.map +1 -0
- package/remote-access/ssh/remote-access-ssh-endpoint-modal/c8y-ngx-components-remote-access-ssh-remote-access-ssh-endpoint-modal.d.ts.map +1 -0
- package/remote-access/ssh/remote-access-ssh-endpoint-modal/index.d.ts +2 -0
- package/remote-access/ssh/remote-access-ssh-endpoint-modal/index.d.ts.map +1 -0
- package/remote-access/ssh/remote-access-ssh-endpoint-modal/remote-access-ssh-endpoint-modal.component.d.ts +64 -0
- package/remote-access/ssh/remote-access-ssh-endpoint-modal/remote-access-ssh-endpoint-modal.component.d.ts.map +1 -0
- package/remote-access/telnet/c8y-ngx-components-remote-access-telnet.d.ts.map +1 -0
- package/remote-access/telnet/index.d.ts +17 -0
- package/remote-access/telnet/index.d.ts.map +1 -0
- package/remote-access/terminal-viewer/c8y-ngx-components-remote-access-terminal-viewer.d.ts.map +1 -0
- package/remote-access/terminal-viewer/index.d.ts +2 -0
- package/remote-access/terminal-viewer/index.d.ts.map +1 -0
- package/remote-access/terminal-viewer/shell-adapter.d.ts +14 -0
- package/remote-access/terminal-viewer/shell-adapter.d.ts.map +1 -0
- package/remote-access/terminal-viewer/telnet-negotiator.d.ts +13 -0
- package/remote-access/terminal-viewer/telnet-negotiator.d.ts.map +1 -0
- package/remote-access/terminal-viewer/terminal-viewer.component.d.ts +25 -0
- package/remote-access/terminal-viewer/terminal-viewer.component.d.ts.map +1 -0
- package/remote-access/vnc/c8y-ngx-components-remote-access-vnc.d.ts.map +1 -0
- package/remote-access/vnc/index.d.ts +22 -0
- package/remote-access/vnc/index.d.ts.map +1 -0
- package/remote-access/vnc/remote-access-vnc-endpoint-modal/c8y-ngx-components-remote-access-vnc-remote-access-vnc-endpoint-modal.d.ts.map +1 -0
- package/remote-access/vnc/remote-access-vnc-endpoint-modal/index.d.ts +2 -0
- package/remote-access/vnc/remote-access-vnc-endpoint-modal/index.d.ts.map +1 -0
- package/remote-access/vnc/remote-access-vnc-endpoint-modal/remote-access-vnc-endpoint-modal.component.d.ts +46 -0
- package/remote-access/vnc/remote-access-vnc-endpoint-modal/remote-access-vnc-endpoint-modal.component.d.ts.map +1 -0
- package/remote-access/vnc/vnc-viewer/c8y-ngx-components-remote-access-vnc-vnc-viewer.d.ts.map +1 -0
- package/remote-access/vnc/vnc-viewer/index.d.ts +2 -0
- package/remote-access/vnc/vnc-viewer/index.d.ts.map +1 -0
- package/remote-access/vnc/vnc-viewer/vnc-credentials-prompt/vnc-credentials-prompt.component.d.ts +32 -0
- package/remote-access/vnc/vnc-viewer/vnc-credentials-prompt/vnc-credentials-prompt.component.d.ts.map +1 -0
- package/remote-access/vnc/vnc-viewer/vnc-viewer.component.d.ts +37 -0
- package/remote-access/vnc/vnc-viewer/vnc-viewer.component.d.ts.map +1 -0
- package/replace-device/replace-device-wizard/replace-device-wizard.model.d.ts +2 -1
- package/replace-device/replace-device-wizard/replace-device-wizard.model.d.ts.map +1 -1
- package/report-dashboard/report-dashboard-list.component.d.ts +29 -0
- package/report-dashboard/report-dashboard-list.component.d.ts.map +1 -1
- package/repository/shared/repository.model.d.ts +2 -1
- package/repository/shared/repository.model.d.ts.map +1 -1
- package/services/status-options/status-options.model.d.ts +2 -1
- package/services/status-options/status-options.model.d.ts.map +1 -1
- package/sub-assets/group-info.component.d.ts +2 -1
- package/sub-assets/group-info.component.d.ts.map +1 -1
- package/tenants/custom-properties/custom-properties.service.d.ts.map +1 -1
- package/translation-editor/data/translation-store.service.d.ts.map +1 -1
- package/trusted-certificates/list/trusted-certificate-list.component.d.ts +7 -2
- package/trusted-certificates/list/trusted-certificate-list.component.d.ts.map +1 -1
- package/upgrade/bridge.service.d.ts +5 -0
- package/upgrade/bridge.service.d.ts.map +1 -1
- package/widgets/implementations/alarms/severity-icon.pipe.d.ts.map +1 -1
- package/widgets/implementations/datapoints-table/datapoints-table-config/datapoints-table-config.component.d.ts.map +1 -1
- package/widgets/implementations/kpi/kpi-widget.model.d.ts +2 -1
- package/widgets/implementations/kpi/kpi-widget.model.d.ts.map +1 -1
- package/ecosystem/application-plugins/only-latest-plugin-version.pipe.d.ts +0 -10
- package/ecosystem/application-plugins/only-latest-plugin-version.pipe.d.ts.map +0 -1
- package/esm2022/ecosystem/application-plugins/only-latest-plugin-version.pipe.mjs +0 -20
|
@@ -2,8 +2,8 @@ import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { FormlyFieldConfig, FormlyFormOptions } from '@ngx-formly/core';
|
|
3
3
|
import { TenantUiService, C8yStepper, GainsightService } from '@c8y/ngx-components';
|
|
4
4
|
import { FormGroup } from '@angular/forms';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
|
-
import {
|
|
5
|
+
import { Observable, BehaviorSubject } from 'rxjs';
|
|
6
|
+
import { DeviceRegistrationBulkService, FeatureService, InventoryService, TenantService } from '@c8y/client';
|
|
7
7
|
import { RegisterDeviceService } from '../register-device.service';
|
|
8
8
|
import { CdkStep } from '@angular/cdk/stepper';
|
|
9
9
|
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
@@ -17,6 +17,7 @@ interface GeneralDeviceRegistrationModelType {
|
|
|
17
17
|
id: string;
|
|
18
18
|
name?: string;
|
|
19
19
|
};
|
|
20
|
+
oneTimePassword?: string;
|
|
20
21
|
}
|
|
21
22
|
export declare class GeneralDeviceRegistrationComponent implements AfterViewInit, OnDestroy {
|
|
22
23
|
private tenantUIService;
|
|
@@ -26,8 +27,12 @@ export declare class GeneralDeviceRegistrationComponent implements AfterViewInit
|
|
|
26
27
|
private cd;
|
|
27
28
|
bsModalRef: BsModalRef;
|
|
28
29
|
private gainsightService;
|
|
30
|
+
private deviceRegistrationService;
|
|
31
|
+
private featureService;
|
|
29
32
|
readonly MANAGEMENT = "management";
|
|
30
33
|
readonly FILTER: object;
|
|
34
|
+
useEST$: BehaviorSubject<boolean>;
|
|
35
|
+
certificateAuthorityFeatureEnabled: Promise<boolean>;
|
|
31
36
|
form: FormGroup<{}>;
|
|
32
37
|
model: {
|
|
33
38
|
devicesToCreate: GeneralDeviceRegistrationModelType[];
|
|
@@ -42,22 +47,31 @@ export declare class GeneralDeviceRegistrationComponent implements AfterViewInit
|
|
|
42
47
|
};
|
|
43
48
|
};
|
|
44
49
|
isLoading$: Observable<boolean>;
|
|
45
|
-
success:
|
|
46
|
-
|
|
50
|
+
success: {
|
|
51
|
+
id: string;
|
|
52
|
+
}[];
|
|
53
|
+
failed: {
|
|
54
|
+
id: string;
|
|
55
|
+
message?: string;
|
|
56
|
+
details?: any;
|
|
57
|
+
}[];
|
|
47
58
|
fields: FormlyFieldConfig[];
|
|
48
59
|
private destroy$;
|
|
49
60
|
private lastCreatedDevices;
|
|
50
|
-
constructor(tenantUIService: TenantUiService, tenantService: TenantService, registerDeviceService: RegisterDeviceService, inventoryService: InventoryService, cd: ChangeDetectorRef, bsModalRef: BsModalRef, gainsightService: GainsightService);
|
|
61
|
+
constructor(tenantUIService: TenantUiService, tenantService: TenantService, registerDeviceService: RegisterDeviceService, inventoryService: InventoryService, cd: ChangeDetectorRef, bsModalRef: BsModalRef, gainsightService: GainsightService, deviceRegistrationService: DeviceRegistrationBulkService, featureService: FeatureService);
|
|
51
62
|
ngAfterViewInit(): void;
|
|
52
63
|
ngOnDestroy(): void;
|
|
53
|
-
|
|
64
|
+
registerDevice(eventObject: {
|
|
54
65
|
stepper: C8yStepper;
|
|
55
66
|
step: CdkStep;
|
|
56
67
|
}): void;
|
|
57
68
|
fixErrors(event: {
|
|
58
69
|
stepper: C8yStepper;
|
|
59
70
|
step: CdkStep;
|
|
60
|
-
}, failedRequests:
|
|
71
|
+
}, failedRequests: any): void;
|
|
72
|
+
private create;
|
|
73
|
+
private registerByEst;
|
|
74
|
+
private convertObjectToCSVFile;
|
|
61
75
|
private canLoadTenants$;
|
|
62
76
|
private getTenants$;
|
|
63
77
|
private getGroups$;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"general-device-registration.component.d.ts","sourceRoot":"","sources":["../../../register-device/general/general-device-registration.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,SAAS,EACV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EACL,eAAe,EAEf,UAAU,EAEV,gBAAgB,EACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAe,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAQ,UAAU,EAAkB,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"general-device-registration.component.d.ts","sourceRoot":"","sources":["../../../register-device/general/general-device-registration.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,SAAS,EACV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EACL,eAAe,EAEf,UAAU,EAEV,gBAAgB,EACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAe,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAQ,UAAU,EAAkB,eAAe,EAAE,MAAM,MAAM,CAAC;AAEzE,OAAO,EACL,6BAA6B,EAC7B,cAAc,EAEd,gBAAgB,EAGhB,aAAa,EACd,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAGjD,UAAU,kCAAkC;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACxB,KAAK,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACtC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,qBAKa,kCAAmC,YAAW,aAAa,EAAE,SAAS;IAsK/E,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,qBAAqB;IAC7B,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,EAAE;IACH,UAAU,EAAE,UAAU;IAC7B,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,yBAAyB;IACjC,OAAO,CAAC,cAAc;IA7KxB,QAAQ,CAAC,UAAU,gBAAgB;IACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAGrB;IAEF,OAAO,2BAAuC;IAC9C,kCAAkC,mBAEC;IAEnC,IAAI,gBAAqB;IACzB,KAAK;;MAEH;IACF,OAAO,EAAE,iBAAiB,CAKxB;IAEF,kBAAkB;;;;;;;MAIhB;IAEF,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAChC,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,CAAM;IAC/B,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,GAAG,CAAA;KAAE,EAAE,CAAM;IAE/D,MAAM,EAAE,iBAAiB,EAAE,CA+HzB;IAEF,OAAO,CAAC,QAAQ,CAAgC;IAChD,OAAO,CAAC,kBAAkB,CAA4C;gBAG5D,eAAe,EAAE,eAAe,EAChC,aAAa,EAAE,aAAa,EAC5B,qBAAqB,EAAE,qBAAqB,EAC5C,gBAAgB,EAAE,gBAAgB,EAClC,EAAE,EAAE,iBAAiB,EACtB,UAAU,EAAE,UAAU,EACrB,gBAAgB,EAAE,gBAAgB,EAClC,yBAAyB,EAAE,6BAA6B,EACxD,cAAc,EAAE,cAAc;IAKxC,eAAe;IAIf,WAAW;IAKX,cAAc,CAAC,WAAW,EAAE;QAAE,OAAO,EAAE,UAAU,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAE;IAIlE,SAAS,CAAC,KAAK,EAAE;QAAE,OAAO,EAAE,UAAU,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAE,EAAE,cAAc,EAAE,GAAG;IAc5E,OAAO,CAAC,MAAM;IAgDd,OAAO,CAAC,aAAa;IAsBrB,OAAO,CAAC,sBAAsB;IAwB9B,OAAO,CAAC,eAAe;IAKvB,OAAO,CAAC,WAAW;IAKnB,OAAO,CAAC,UAAU;yCAtTP,kCAAkC;2CAAlC,kCAAkC;CAgU9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-remote-access-configurations.d.ts","sourceRoot":"","sources":["../../../remote-access/configurations/c8y-ngx-components-remote-access-configurations.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './remote-access-configuration-list/remote-access-configuration-list.component';
|
|
2
|
+
export declare const remoteAccessConfigurationListProviders: (import("@angular/core").ValueProvider | import("@angular/core").ClassProvider | import("@angular/core").ExistingProvider)[];
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../remote-access/configurations/index.ts"],"names":[],"mappings":"AAKA,cAAc,+EAA+E,CAAC;AAE9F,eAAO,MAAM,sCAAsC,8HASlD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { ActionControl, AlertService, Column, DisplayOptions, ModalService, Pagination } from '@c8y/ngx-components';
|
|
4
|
+
import { RemoteAccessConfiguration, RemoteAccessProtocolProvider, RemoteAccessService } from '@c8y/ngx-components/remote-access/data';
|
|
5
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
6
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class RemoteAccessConfigurationListComponent implements OnInit {
|
|
9
|
+
private remoteAccess;
|
|
10
|
+
private activatedRoute;
|
|
11
|
+
private modalService;
|
|
12
|
+
private alert;
|
|
13
|
+
private bsModalService;
|
|
14
|
+
private translateService;
|
|
15
|
+
rows: RemoteAccessConfiguration[];
|
|
16
|
+
columns: Column[];
|
|
17
|
+
actionControls: ActionControl[];
|
|
18
|
+
deviceId: string;
|
|
19
|
+
pagination: Pagination;
|
|
20
|
+
displayOptions: DisplayOptions;
|
|
21
|
+
protocolProviders: RemoteAccessProtocolProvider[];
|
|
22
|
+
gridTitle: "Remote access endpoints";
|
|
23
|
+
constructor(remoteAccess: RemoteAccessService, activatedRoute: ActivatedRoute, modalService: ModalService, alert: AlertService, bsModalService: BsModalService, translateService: TranslateService);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
reload(): Promise<void>;
|
|
26
|
+
addEndpoint(): Promise<void>;
|
|
27
|
+
getProtocolProviderForConfiguration(configuration: RemoteAccessConfiguration): RemoteAccessProtocolProvider;
|
|
28
|
+
defaultEditEndpoint(deviceId: string, configuration: RemoteAccessConfiguration): Promise<RemoteAccessConfiguration>;
|
|
29
|
+
defaultAddEndpoint(deviceId: string, provider: RemoteAccessProtocolProvider): Promise<RemoteAccessConfiguration>;
|
|
30
|
+
openBasicEndpointModal(currentConfiguration: Partial<RemoteAccessConfiguration>): Promise<RemoteAccessConfiguration | null>;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RemoteAccessConfigurationListComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RemoteAccessConfigurationListComponent, "c8y-remote-access-configuration-list", never, {}, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=remote-access-configuration-list.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-access-configuration-list.component.d.ts","sourceRoot":"","sources":["../../../../remote-access/configurations/remote-access-configuration-list/remote-access-configuration-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAEL,aAAa,EACb,YAAY,EAIZ,MAAM,EAEN,cAAc,EAKd,YAAY,EACZ,UAAU,EAGX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC5B,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAGrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;AAEvD,qBAca,sCAAuC,YAAW,MAAM;IA+GjE,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,gBAAgB;IAnH1B,IAAI,EAAE,yBAAyB,EAAE,CAAM;IACvC,OAAO,EAAE,MAAM,EAAE,CAmCf;IACF,cAAc,EAAE,aAAa,EAAE,CAwD7B;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,UAAU,CAGpB;IACF,cAAc,EAAE,cAAc,CAM5B;IACF,iBAAiB,EAAE,4BAA4B,EAAE,CAAM;IACvD,SAAS,4BAAsC;gBAGrC,YAAY,EAAE,mBAAmB,EACjC,cAAc,EAAE,cAAc,EAC9B,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,YAAY,EACnB,cAAc,EAAE,cAAc,EAC9B,gBAAgB,EAAE,gBAAgB;IAU5C,QAAQ;IAIF,MAAM;IAMN,WAAW;IAkCjB,mCAAmC,CAAC,aAAa,EAAE,yBAAyB;IAItE,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,yBAAyB;IAS9E,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,4BAA4B;IAc3E,sBAAsB,CAC1B,oBAAoB,EAAE,OAAO,CAAC,yBAAyB,CAAC,GACvD,OAAO,CAAC,yBAAyB,GAAG,IAAI,CAAC;yCAvMjC,sCAAsC;2CAAtC,sCAAsC;CAsNlD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CellRendererContext } from '@c8y/ngx-components';
|
|
2
|
+
import { RemoteAccessService } from '@c8y/ngx-components/remote-access/data';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RemoteAccessConnectButtonComponent {
|
|
5
|
+
private remoteAccess;
|
|
6
|
+
private context?;
|
|
7
|
+
deviceId: import("@angular/core").InputSignal<string>;
|
|
8
|
+
configurationId: import("@angular/core").InputSignal<string>;
|
|
9
|
+
protocol: import("@angular/core").InputSignal<string>;
|
|
10
|
+
connectHref: ReturnType<RemoteAccessConnectButtonComponent['getEndpointHref']>;
|
|
11
|
+
private protocolProviders;
|
|
12
|
+
constructor(remoteAccess: RemoteAccessService, context?: CellRendererContext);
|
|
13
|
+
getEndpointHref(): import("@angular/core").Signal<string>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RemoteAccessConnectButtonComponent, [null, { optional: true; }]>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RemoteAccessConnectButtonComponent, "c8y-remote-access-connect-button", never, { "deviceId": { "alias": "deviceId"; "required": false; "isSignal": true; }; "configurationId": { "alias": "configurationId"; "required": false; "isSignal": true; }; "protocol": { "alias": "protocol"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=remote-access-connect-button.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-access-connect-button.component.d.ts","sourceRoot":"","sources":["../../../../../remote-access/configurations/remote-access-configuration-list/remote-access-connect-button/remote-access-connect-button.component.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoB,mBAAmB,EAAiB,MAAM,qBAAqB,CAAC;AAC3F,OAAO,EAEL,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;;AAEhD,qBAMa,kCAAkC;IAU3C,OAAO,CAAC,YAAY;IACR,OAAO,CAAC,OAAO,CAAC;IAV9B,QAAQ,8CAAuB;IAC/B,eAAe,8CAAuB;IACtC,QAAQ,8CAAuB;IAE/B,WAAW,EAAE,UAAU,CAAC,kCAAkC,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAE/E,OAAO,CAAC,iBAAiB,CAAsC;gBAGrD,YAAY,EAAE,mBAAmB,EACrB,OAAO,CAAC,EAAE,mBAAmB;IAMnD,eAAe;yCAjBJ,kCAAkC;2CAAlC,kCAAkC;CAyD9C"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RemoteAccessProtocolProvider, RemoteAccessService } from '@c8y/ngx-components/remote-access/data';
|
|
2
|
+
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RemoteAccessPickProtocolModalComponent {
|
|
5
|
+
private remoteAccess;
|
|
6
|
+
private bsModalRef;
|
|
7
|
+
title: "Select a protocol";
|
|
8
|
+
result: Promise<RemoteAccessProtocolProvider>;
|
|
9
|
+
protocolProviders: RemoteAccessProtocolProvider[];
|
|
10
|
+
private _resolve;
|
|
11
|
+
private _reject;
|
|
12
|
+
constructor(remoteAccess: RemoteAccessService, bsModalRef: BsModalRef);
|
|
13
|
+
cancel(): void;
|
|
14
|
+
selectProtocol(protocol: RemoteAccessProtocolProvider): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RemoteAccessPickProtocolModalComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RemoteAccessPickProtocolModalComponent, "c8y-remote-access-pick-protocol-modal", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=remote-access-pick-protocol-modal.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-access-pick-protocol-modal.component.d.ts","sourceRoot":"","sources":["../../../../remote-access/configurations/remote-access-pick-protocol-modal/remote-access-pick-protocol-modal.component.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,4BAA4B,EAC5B,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAEjD,qBAMa,sCAAsC;IAa/C,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,UAAU;IAbpB,KAAK,sBAAgC;IACrC,MAAM,wCAGH;IAEH,iBAAiB,EAAE,4BAA4B,EAAE,CAAM;IAEvD,OAAO,CAAC,QAAQ,CAAgD;IAChE,OAAO,CAAC,OAAO,CAAyB;gBAG9B,YAAY,EAAE,mBAAmB,EACjC,UAAU,EAAE,UAAU;IAKhC,MAAM;IAIN,cAAc,CAAC,QAAQ,EAAE,4BAA4B;yCAvB1C,sCAAsC;2CAAtC,sCAAsC;CA2BlD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-remote-access-data.d.ts","sourceRoot":"","sources":["../../../remote-access/data/c8y-ngx-components-remote-access-data.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../remote-access/data/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SupportedIcons } from '@c8y/ngx-components/icon-selector/icons';
|
|
2
|
+
import { RemoteAccessConfiguration } from './remote-access.service';
|
|
3
|
+
export interface RemoteAccessProtocolProvider {
|
|
4
|
+
readonly protocolName: string;
|
|
5
|
+
readonly protocolLabel: string;
|
|
6
|
+
readonly protocolDescription?: string;
|
|
7
|
+
readonly protocolIcon: SupportedIcons;
|
|
8
|
+
addEndpoint?(deviceId: string): Promise<RemoteAccessConfiguration>;
|
|
9
|
+
removeEndpoint(deviceId: string, currentEndpointConfig: RemoteAccessConfiguration): Promise<void>;
|
|
10
|
+
editEndpoint?(deviceId: string, currentEndpointConfig: RemoteAccessConfiguration): Promise<RemoteAccessConfiguration>;
|
|
11
|
+
connectEndpointHref?(deviceId: string, configuration: RemoteAccessConfiguration): Promise<string | null>;
|
|
12
|
+
getDefaultEndpointConfiguration?(): Promise<Partial<RemoteAccessConfiguration>>;
|
|
13
|
+
}
|
|
14
|
+
declare global {
|
|
15
|
+
namespace CumulocityServiceRegistry {
|
|
16
|
+
interface SpecificExtensionKeys {
|
|
17
|
+
remoteAccessProtocolHook: RemoteAccessProtocolProvider;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=remote-access-protocol-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-access-protocol-provider.d.ts","sourceRoot":"","sources":["../../../remote-access/data/remote-access-protocol-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,YAAY,EAAE,cAAc,CAAC;IAEtC,WAAW,CAAC,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACnE,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,qBAAqB,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClG,YAAY,CAAC,CACX,QAAQ,EAAE,MAAM,EAChB,qBAAqB,EAAE,yBAAyB,GAC/C,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC,mBAAmB,CAAC,CAClB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,yBAAyB,GACvC,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAE1B,+BAA+B,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;CACjF;AAED,OAAO,CAAC,MAAM,CAAC;IAEb,UAAU,yBAAyB,CAAC;QAClC,UAAU,qBAAqB;YAC7B,wBAAwB,EAAE,4BAA4B,CAAC;SACxD;KACF;CACF"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { CanActivateFn } from '@angular/router';
|
|
2
|
+
import { FetchClient } from '@c8y/client';
|
|
3
|
+
import { ServiceRegistry } from '@c8y/ngx-components';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export interface RemoteAccessConfiguration {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
hostname: string;
|
|
10
|
+
port: number;
|
|
11
|
+
protocol: string;
|
|
12
|
+
attrs?: any;
|
|
13
|
+
credentials?: any;
|
|
14
|
+
credentialsType?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const CREDENTIALS_TYPES: {
|
|
17
|
+
readonly NONE: {
|
|
18
|
+
readonly name: "NONE";
|
|
19
|
+
readonly value: "NONE";
|
|
20
|
+
readonly label: "No password";
|
|
21
|
+
};
|
|
22
|
+
readonly USER_PASS: {
|
|
23
|
+
readonly name: "USER_PASS";
|
|
24
|
+
readonly value: "USER_PASS";
|
|
25
|
+
readonly label: "Username and password";
|
|
26
|
+
};
|
|
27
|
+
readonly PASS_ONLY: {
|
|
28
|
+
readonly name: "PASS_ONLY";
|
|
29
|
+
readonly value: "PASS_ONLY";
|
|
30
|
+
readonly label: "Password only";
|
|
31
|
+
};
|
|
32
|
+
readonly KEY_PAIR: {
|
|
33
|
+
readonly name: "KEY_PAIR";
|
|
34
|
+
readonly value: "KEY_PAIR";
|
|
35
|
+
readonly label: "Public/private keys";
|
|
36
|
+
};
|
|
37
|
+
readonly CERTIFICATE: {
|
|
38
|
+
readonly name: "CERTIFICATE";
|
|
39
|
+
readonly value: "CERTIFICATE";
|
|
40
|
+
readonly label: "Certificate";
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export declare const canActivateRemoteAccess: CanActivateFn;
|
|
44
|
+
export declare class RemoteAccessService {
|
|
45
|
+
private fetchClient;
|
|
46
|
+
private serviceRegistry;
|
|
47
|
+
private cachedIsAvailable$;
|
|
48
|
+
readonly baseUrl = "/service/remoteaccess";
|
|
49
|
+
constructor(fetchClient: FetchClient, serviceRegistry: ServiceRegistry);
|
|
50
|
+
/**
|
|
51
|
+
* Verifies if the remote access service is available by sending a HEAD request to is's health endpoint.
|
|
52
|
+
* @returns cached Observable that emits true if the service is available, false otherwise.
|
|
53
|
+
*/
|
|
54
|
+
isAvailable$(): Observable<boolean>;
|
|
55
|
+
/**
|
|
56
|
+
* misses the leading ? for the query params
|
|
57
|
+
*/
|
|
58
|
+
getAuthQueryParamsForWebsocketConnection(): string;
|
|
59
|
+
/**
|
|
60
|
+
* Returns the URI for the websocket connection to the remote access service.
|
|
61
|
+
*/
|
|
62
|
+
getWebSocketUri<K extends string, I extends string>(deviceId: K, configurationId: I): `ws://${string}/service/remoteaccess/client/${K}/configurations/${I}` | `wss://${string}/service/remoteaccess/client/${K}/configurations/${I}` | `ws://${string}/service/remoteaccess/client/${K}/configurations/${I}?${string}` | `wss://${string}/service/remoteaccess/client/${K}/configurations/${I}?${string}`;
|
|
63
|
+
/**
|
|
64
|
+
* Retrieves all configurations for a given device.
|
|
65
|
+
*/
|
|
66
|
+
listConfigurations(deviceId: string): Promise<RemoteAccessConfiguration[]>;
|
|
67
|
+
/**
|
|
68
|
+
* Deletes a configuration for a given device.
|
|
69
|
+
*/
|
|
70
|
+
deleteConfiguration(deviceId: string, configurationId: string): Promise<void>;
|
|
71
|
+
/**
|
|
72
|
+
* Retrieves all available remote access protocol providers.
|
|
73
|
+
*/
|
|
74
|
+
getProtocolProviders(): import("@c8y/ngx-components/remote-access/data").RemoteAccessProtocolProvider[];
|
|
75
|
+
/**
|
|
76
|
+
* Creates a new configuration for a given device.
|
|
77
|
+
*/
|
|
78
|
+
addConfiguration(deviceId: string, configuration: Omit<RemoteAccessConfiguration, 'id'>): Promise<RemoteAccessConfiguration>;
|
|
79
|
+
/**
|
|
80
|
+
* Updates a configuration for a given device.
|
|
81
|
+
*/
|
|
82
|
+
updateConfiguration(deviceId: string, configuration: RemoteAccessConfiguration): Promise<RemoteAccessConfiguration>;
|
|
83
|
+
/**
|
|
84
|
+
* Generates a SSH key pair for a given hostname.
|
|
85
|
+
*/
|
|
86
|
+
generateKeyPair(hostname: string): Promise<{
|
|
87
|
+
publicKey: string;
|
|
88
|
+
privateKey: string;
|
|
89
|
+
}>;
|
|
90
|
+
private healthEndpointAvailable;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RemoteAccessService, never>;
|
|
92
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RemoteAccessService>;
|
|
93
|
+
}
|
|
94
|
+
//# sourceMappingURL=remote-access.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-access.service.d.ts","sourceRoot":"","sources":["../../../remote-access/data/remote-access.service.ts"],"names":[],"mappings":"AACA,OAAO,EAA0B,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,WAAW,EAAkB,MAAM,aAAa,CAAC;AAC1D,OAAO,EAGL,eAAe,EAEhB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,UAAU,EAAsB,MAAM,MAAM,CAAC;;AAEtD,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BpB,CAAC;AAEX,eAAO,MAAM,uBAAuB,EAAE,aAsBrC,CAAC;AAEF,qBAGa,mBAAmB;IAI5B,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,eAAe;IAJzB,OAAO,CAAC,kBAAkB,CAAsB;IAChD,QAAQ,CAAC,OAAO,2BAA2B;gBAEjC,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe;IAG1C;;;OAGG;IACH,YAAY,IAAI,UAAU,CAAC,OAAO,CAAC;IAQnC;;OAEG;IACH,wCAAwC;IAoBxC;;OAEG;IACH,eAAe,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,EAAE,QAAQ,EAAE,CAAC,EAAE,eAAe,EAAE,CAAC;IAQnF;;OAEG;IACG,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,yBAAyB,EAAE,CAAC;IAWhF;;OAEG;IACG,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM;IAanE;;OAEG;IACH,oBAAoB;IAIpB;;OAEG;IACG,gBAAgB,CACpB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,IAAI,CAAC,yBAAyB,EAAE,IAAI,CAAC,GACnD,OAAO,CAAC,yBAAyB,CAAC;IAmBrC;;OAEG;IACG,mBAAmB,CACvB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,yBAAyB,GACvC,OAAO,CAAC,yBAAyB,CAAC;IAmBrC;;OAEG;IACG,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;YAgB7E,uBAAuB;yCAhK1B,mBAAmB;6CAAnB,mBAAmB;CAgL/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-remote-access-passthrough.d.ts","sourceRoot":"","sources":["../../../remote-access/passthrough/c8y-ngx-components-remote-access-passthrough.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { RemoteAccessConfiguration, RemoteAccessProtocolProvider, RemoteAccessService } from '@c8y/ngx-components/remote-access/data';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PassthroughRemoteAccessProtocolProviderService implements RemoteAccessProtocolProvider {
|
|
4
|
+
private remoteAccess;
|
|
5
|
+
protocolName: string;
|
|
6
|
+
protocolLabel: "Passthrough";
|
|
7
|
+
protocolDescription: "Allows to passthrough a TCP connction.";
|
|
8
|
+
protocolIcon: "globe";
|
|
9
|
+
constructor(remoteAccess: RemoteAccessService);
|
|
10
|
+
removeEndpoint(deviceId: string, currentEndpointConfig: RemoteAccessConfiguration): Promise<void>;
|
|
11
|
+
connectEndpointHref(_deviceId: string, _configuration: RemoteAccessConfiguration): Promise<string | null>;
|
|
12
|
+
getDefaultEndpointConfiguration(): Promise<Partial<RemoteAccessConfiguration>>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PassthroughRemoteAccessProtocolProviderService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PassthroughRemoteAccessProtocolProviderService>;
|
|
15
|
+
}
|
|
16
|
+
export declare const remoteAccessPassthroughProviders: (import("@angular/core").ValueProvider | import("@angular/core").ClassProvider | import("@angular/core").ExistingProvider)[];
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../remote-access/passthrough/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC5B,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;;AAEhD,qBACa,8CACX,YAAW,4BAA4B;IAO3B,OAAO,CAAC,YAAY;IALhC,YAAY,SAAiB;IAC7B,aAAa,gBAA0B;IACvC,mBAAmB,2CAAqD;IACxE,YAAY,UAAoB;gBAEZ,YAAY,EAAE,mBAAmB;IAErD,cAAc,CACZ,QAAQ,EAAE,MAAM,EAChB,qBAAqB,EAAE,yBAAyB,GAC/C,OAAO,CAAC,IAAI,CAAC;IAIV,mBAAmB,CACvB,SAAS,EAAE,MAAM,EACjB,cAAc,EAAE,yBAAyB,GACxC,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAInB,+BAA+B,IAAI,OAAO,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC;yCAxBzE,8CAA8C;6CAA9C,8CAA8C;CA8B1D;AAED,eAAO,MAAM,gCAAgC,8HAE5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-remote-access-shared.d.ts","sourceRoot":"","sources":["../../../remote-access/shared/c8y-ngx-components-remote-access-shared.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../remote-access/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,mFAAmF,CAAC;AAClG,cAAc,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder } from '@angular/forms';
|
|
3
|
+
import { RemoteAccessConfiguration } from '@c8y/ngx-components/remote-access/data';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RemoteAccessBasicEndpointModalComponent implements OnInit {
|
|
6
|
+
private formBuilder;
|
|
7
|
+
title: "Remote access endpoint";
|
|
8
|
+
form: ReturnType<typeof this.initForm>;
|
|
9
|
+
currentValue: Partial<RemoteAccessConfiguration>;
|
|
10
|
+
result: Promise<Partial<{
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
hostname: string;
|
|
14
|
+
port: number;
|
|
15
|
+
protocol: string;
|
|
16
|
+
credentialsType: "NONE" | "PASS_ONLY";
|
|
17
|
+
attrs: any;
|
|
18
|
+
}>>;
|
|
19
|
+
private _resolve;
|
|
20
|
+
private _reject;
|
|
21
|
+
constructor(formBuilder: FormBuilder);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
initForm(): import("@angular/forms").FormGroup<{
|
|
24
|
+
id: import("@angular/forms").FormControl<string>;
|
|
25
|
+
name: import("@angular/forms").FormControl<string>;
|
|
26
|
+
hostname: import("@angular/forms").FormControl<string>;
|
|
27
|
+
port: import("@angular/forms").FormControl<number>;
|
|
28
|
+
protocol: import("@angular/forms").FormControl<string>;
|
|
29
|
+
credentialsType: import("@angular/forms").FormControl<"NONE" | "PASS_ONLY">;
|
|
30
|
+
attrs: import("@angular/forms").FormControl<any>;
|
|
31
|
+
}>;
|
|
32
|
+
cancel(): void;
|
|
33
|
+
save(): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RemoteAccessBasicEndpointModalComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RemoteAccessBasicEndpointModalComponent, "c8y-remote-access-basic-endpoint-modal", never, {}, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=remote-access-basic-endpoint-modal.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-access-basic-endpoint-modal.component.d.ts","sourceRoot":"","sources":["../../../../remote-access/shared/remote-access-basic-endpoint-modal/remote-access-basic-endpoint-modal.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,WAAW,EAAc,MAAM,gBAAgB,CAAC;AAEzD,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;;AAEnF,qBAMa,uCAAwC,YAAW,MAAM;IAcxD,OAAO,CAAC,WAAW;IAb/B,KAAK,2BAAqC;IAC1C,IAAI,EAAE,UAAU,CAAC,OAAO,IAAI,CAAC,QAAQ,CAAC,CAAC;IAEvC,YAAY,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAC;IAEjD,MAAM;;;;;;;;QAGH;IAEH,OAAO,CAAC,QAAQ,CAA6D;IAC7E,OAAO,CAAC,OAAO,CAAyB;gBAEpB,WAAW,EAAE,WAAW;IAI5C,QAAQ;IASR,QAAQ;;;;;;;;;IAYR,MAAM;IAIN,IAAI;yCA3CO,uCAAuC;2CAAvC,uCAAuC;CA8CnD"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { DroppedFile } from '@c8y/ngx-components';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
declare const types: readonly [{
|
|
6
|
+
readonly name: "PRIVATE";
|
|
7
|
+
readonly value: "private";
|
|
8
|
+
readonly placeholder: "-----BEGIN RSA PRIVATE KEY----- MIIEpAIBAAK...VQvopm2xw==----- END RSA PRIVATE KEY-----";
|
|
9
|
+
}, {
|
|
10
|
+
readonly name: "PUBLIC";
|
|
11
|
+
readonly value: "public";
|
|
12
|
+
readonly placeholder: "ssh-rsa AAAAB3NzaC...1kc3MAAACB== user@example.com";
|
|
13
|
+
}, {
|
|
14
|
+
readonly name: "CERTIFICATE";
|
|
15
|
+
readonly value: "certificate";
|
|
16
|
+
readonly placeholder: "ssh-rsa-cert-v01@openssh.com AAAAHHNz...Y9gBU= user@example.com";
|
|
17
|
+
}];
|
|
18
|
+
export declare class SshKeyInputComponent implements OnInit, OnChanges, ControlValueAccessor {
|
|
19
|
+
keyType: (typeof types)[number]['value'];
|
|
20
|
+
readonly: boolean;
|
|
21
|
+
placeholder: string;
|
|
22
|
+
value: string;
|
|
23
|
+
onChange: (value: string) => void;
|
|
24
|
+
onTouch: () => void;
|
|
25
|
+
writeValue(obj: string): void;
|
|
26
|
+
registerOnChange(fn: any): void;
|
|
27
|
+
registerOnTouched(fn: any): void;
|
|
28
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
29
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
onKeyFileSelected(event: DroppedFile[]): Promise<void>;
|
|
32
|
+
newValue(value: string): void;
|
|
33
|
+
private reassignPlaceholder;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SshKeyInputComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SshKeyInputComponent, "c8y-ssh-key-input", never, { "keyType": { "alias": "keyType"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=ssh-key-input.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ssh-key-input.component.d.ts","sourceRoot":"","sources":["../../../../remote-access/shared/ssh-key-input/ssh-key-input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAgC,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAE,oBAAoB,EAAkC,MAAM,gBAAgB,CAAC;AACtF,OAAO,EAAuC,WAAW,EAAE,MAAM,qBAAqB,CAAC;;AAEvF,QAAA,MAAM,KAAK;;;;;;;;;;;;EAiBD,CAAC;AAEX,qBAaa,oBAAqB,YAAW,MAAM,EAAE,SAAS,EAAE,oBAAoB;IACzE,OAAO,EAAE,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAkB;IACnE,QAAQ,UAAS;IAEjB,WAAW,EAAE,MAAM,CAAC;IAEpB,KAAK,SAAM;IAEX,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,EAAE,MAAM,IAAI,CAAC;IAEpB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAI7B,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,gBAAgB,CAAC,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAI5C,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAMzC,QAAQ;IAIF,iBAAiB,CAAC,KAAK,EAAE,WAAW,EAAE;IAM5C,QAAQ,CAAC,KAAK,EAAE,MAAM;IAMtB,OAAO,CAAC,mBAAmB;yCAjDhB,oBAAoB;2CAApB,oBAAoB;CAuDhC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-remote-access-ssh.d.ts","sourceRoot":"","sources":["../../../remote-access/ssh/c8y-ngx-components-remote-access-ssh.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { RemoteAccessConfiguration, RemoteAccessProtocolProvider, RemoteAccessService } from '@c8y/ngx-components/remote-access/data';
|
|
2
|
+
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SSHRemoteAccessProtocolProviderService implements RemoteAccessProtocolProvider {
|
|
5
|
+
protected remoteAccess: RemoteAccessService;
|
|
6
|
+
protected bsModalService: BsModalService;
|
|
7
|
+
protocolName: string;
|
|
8
|
+
protocolLabel: "SSH";
|
|
9
|
+
protocolDescription: "Allows to connect to an SSH service.";
|
|
10
|
+
protocolIcon: "laptop";
|
|
11
|
+
constructor(remoteAccess: RemoteAccessService, bsModalService: BsModalService);
|
|
12
|
+
addEndpoint(deviceId: string): Promise<RemoteAccessConfiguration>;
|
|
13
|
+
removeEndpoint(deviceId: string, currentEndpointConfig: RemoteAccessConfiguration): Promise<void>;
|
|
14
|
+
editEndpoint(deviceId: string, currentEndpointConfig: RemoteAccessConfiguration): Promise<RemoteAccessConfiguration>;
|
|
15
|
+
connectEndpointHref(deviceId: string, configuration: RemoteAccessConfiguration): Promise<string>;
|
|
16
|
+
getDefaultEndpointConfiguration(): Promise<Partial<RemoteAccessConfiguration>>;
|
|
17
|
+
protected openSSHEndpointModal(currentConfiguration: Partial<RemoteAccessConfiguration>): Promise<RemoteAccessConfiguration | null>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SSHRemoteAccessProtocolProviderService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SSHRemoteAccessProtocolProviderService>;
|
|
20
|
+
}
|
|
21
|
+
export declare const remoteAccessSSHProviders: (import("@angular/core").ValueProvider | import("@angular/core").ClassProvider | import("@angular/core").ExistingProvider)[];
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../remote-access/ssh/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,yBAAyB,EACzB,4BAA4B,EAC5B,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;;AAErD,qBACa,sCAAuC,YAAW,4BAA4B;IAOvF,SAAS,CAAC,YAAY,EAAE,mBAAmB;IAC3C,SAAS,CAAC,cAAc,EAAE,cAAc;IAP1C,YAAY,SAAS;IACrB,aAAa,QAAkB;IAC/B,mBAAmB,yCAAmD;IACtE,YAAY,WAAqB;gBAGrB,YAAY,EAAE,mBAAmB,EACjC,cAAc,EAAE,cAAc;IAGpC,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,yBAAyB,CAAC;IASvE,cAAc,CACZ,QAAQ,EAAE,MAAM,EAChB,qBAAqB,EAAE,yBAAyB,GAC/C,OAAO,CAAC,IAAI,CAAC;IAIV,YAAY,CAChB,QAAQ,EAAE,MAAM,EAChB,qBAAqB,EAAE,yBAAyB,GAC/C,OAAO,CAAC,yBAAyB,CAAC;IAS/B,mBAAmB,CACvB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,yBAAyB,GACvC,OAAO,CAAC,MAAM,CAAC;IAIZ,+BAA+B,IAAI,OAAO,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC;cAOpE,oBAAoB,CAClC,oBAAoB,EAAE,OAAO,CAAC,yBAAyB,CAAC,GACvD,OAAO,CAAC,yBAAyB,GAAG,IAAI,CAAC;yCAvDjC,sCAAsC;6CAAtC,sCAAsC;CAqElD;AAED,eAAO,MAAM,wBAAwB,8HAYpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-remote-access-ssh-remote-access-ssh-endpoint-modal.d.ts","sourceRoot":"","sources":["../../../../remote-access/ssh/remote-access-ssh-endpoint-modal/c8y-ngx-components-remote-access-ssh-remote-access-ssh-endpoint-modal.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../remote-access/ssh/remote-access-ssh-endpoint-modal/index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder } from '@angular/forms';
|
|
3
|
+
import { RemoteAccessConfiguration, RemoteAccessService } from '@c8y/ngx-components/remote-access/data';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RemoteAccessSshEndpointModalComponent implements OnInit {
|
|
6
|
+
private formBuilder;
|
|
7
|
+
private remoteAccess;
|
|
8
|
+
credentialTypes: ({
|
|
9
|
+
readonly name: "USER_PASS";
|
|
10
|
+
readonly value: "USER_PASS";
|
|
11
|
+
readonly label: "Username and password";
|
|
12
|
+
} | {
|
|
13
|
+
readonly name: "CERTIFICATE";
|
|
14
|
+
readonly value: "CERTIFICATE";
|
|
15
|
+
readonly label: "Certificate";
|
|
16
|
+
} | {
|
|
17
|
+
readonly name: "KEY_PAIR";
|
|
18
|
+
readonly value: "KEY_PAIR";
|
|
19
|
+
readonly label: "Public/private keys";
|
|
20
|
+
})[];
|
|
21
|
+
title: "Remote access endpoint";
|
|
22
|
+
form: ReturnType<typeof this.initForm>;
|
|
23
|
+
generating: boolean;
|
|
24
|
+
currentValue: Partial<RemoteAccessConfiguration>;
|
|
25
|
+
result: Promise<Partial<{
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
hostname: string;
|
|
29
|
+
port: number;
|
|
30
|
+
protocol: string;
|
|
31
|
+
username: string;
|
|
32
|
+
password: string;
|
|
33
|
+
credentialsType: "KEY_PAIR" | "USER_PASS" | "CERTIFICATE";
|
|
34
|
+
hostKey: string;
|
|
35
|
+
publicKey: string;
|
|
36
|
+
privateKey: string;
|
|
37
|
+
certificate: string;
|
|
38
|
+
}>>;
|
|
39
|
+
private _resolve;
|
|
40
|
+
private _reject;
|
|
41
|
+
constructor(formBuilder: FormBuilder, remoteAccess: RemoteAccessService);
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
initForm(): import("@angular/forms").FormGroup<{
|
|
44
|
+
id: import("@angular/forms").FormControl<string>;
|
|
45
|
+
name: import("@angular/forms").FormControl<string>;
|
|
46
|
+
hostname: import("@angular/forms").FormControl<string>;
|
|
47
|
+
port: import("@angular/forms").FormControl<number>;
|
|
48
|
+
protocol: import("@angular/forms").FormControl<string>;
|
|
49
|
+
username: import("@angular/forms").FormControl<string>;
|
|
50
|
+
password: import("@angular/forms").FormControl<string>;
|
|
51
|
+
credentialsType: import("@angular/forms").FormControl<"KEY_PAIR" | "USER_PASS" | "CERTIFICATE">;
|
|
52
|
+
hostKey: import("@angular/forms").FormControl<string>;
|
|
53
|
+
publicKey: import("@angular/forms").FormControl<string>;
|
|
54
|
+
privateKey: import("@angular/forms").FormControl<string>;
|
|
55
|
+
certificate: import("@angular/forms").FormControl<string>;
|
|
56
|
+
}>;
|
|
57
|
+
downloadPublicKey(): void;
|
|
58
|
+
generateKeys(): Promise<void>;
|
|
59
|
+
cancel(): void;
|
|
60
|
+
save(): void;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RemoteAccessSshEndpointModalComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RemoteAccessSshEndpointModalComponent, "c8y-remote-access-ssh-endpoint-modal", never, {}, {}, never, never, true, never>;
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=remote-access-ssh-endpoint-modal.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-access-ssh-endpoint-modal.component.d.ts","sourceRoot":"","sources":["../../../../remote-access/ssh/remote-access-ssh-endpoint-modal/remote-access-ssh-endpoint-modal.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,WAAW,EAAc,MAAM,gBAAgB,CAAC;AAGzD,OAAO,EAEL,yBAAyB,EACzB,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;;AAKhD,qBAMa,qCAAsC,YAAW,MAAM;IAqBhE,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,YAAY;IArBtB,eAAe;;;;;;;;;;;;SAIb;IACF,KAAK,2BAAqC;IAC1C,IAAI,EAAE,UAAU,CAAC,OAAO,IAAI,CAAC,QAAQ,CAAC,CAAC;IACvC,UAAU,UAAS;IAEnB,YAAY,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAC;IAEjD,MAAM;;;;;;;;;;;;;QAGH;IAEH,OAAO,CAAC,QAAQ,CAA6D;IAC7E,OAAO,CAAC,OAAO,CAAyB;gBAG9B,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,mBAAmB;IAK3C,QAAQ;IAqBR,QAAQ;;;;;;;;;;;;;;IAoBR,iBAAiB;IAMX,YAAY;IAclB,MAAM;IAIN,IAAI;yCA5FO,qCAAqC;2CAArC,qCAAqC;CA+FjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-remote-access-telnet.d.ts","sourceRoot":"","sources":["../../../remote-access/telnet/c8y-ngx-components-remote-access-telnet.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { RemoteAccessConfiguration, RemoteAccessProtocolProvider, RemoteAccessService } from '@c8y/ngx-components/remote-access/data';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TelnetRemoteAccessProtocolProviderService implements RemoteAccessProtocolProvider {
|
|
4
|
+
private remoteAccess;
|
|
5
|
+
protocolName: string;
|
|
6
|
+
protocolLabel: "Telnet";
|
|
7
|
+
protocolDescription: "Allows to connect to a Telnet service.";
|
|
8
|
+
protocolIcon: "laptop";
|
|
9
|
+
constructor(remoteAccess: RemoteAccessService);
|
|
10
|
+
getDefaultEndpointConfiguration(): Promise<Partial<RemoteAccessConfiguration>>;
|
|
11
|
+
removeEndpoint(deviceId: string, currentEndpointConfig: RemoteAccessConfiguration): Promise<void>;
|
|
12
|
+
connectEndpointHref(deviceId: string, configuration: RemoteAccessConfiguration): Promise<string>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TelnetRemoteAccessProtocolProviderService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TelnetRemoteAccessProtocolProviderService>;
|
|
15
|
+
}
|
|
16
|
+
export declare const remoteAccessTelnetProviders: (import("@angular/core").ValueProvider | import("@angular/core").ClassProvider | import("@angular/core").ExistingProvider)[];
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../remote-access/telnet/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,yBAAyB,EACzB,4BAA4B,EAC5B,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;;AAEhD,qBACa,yCAA0C,YAAW,4BAA4B;IAMhF,OAAO,CAAC,YAAY;IALhC,YAAY,SAAY;IACxB,aAAa,WAAqB;IAClC,mBAAmB,2CAAqD;IACxE,YAAY,WAAqB;gBAEb,YAAY,EAAE,mBAAmB;IAE/C,+BAA+B,IAAI,OAAO,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IAOpF,cAAc,CACZ,QAAQ,EAAE,MAAM,EAChB,qBAAqB,EAAE,yBAAyB,GAC/C,OAAO,CAAC,IAAI,CAAC;IAIV,mBAAmB,CACvB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,yBAAyB,GACvC,OAAO,CAAC,MAAM,CAAC;yCAzBP,yCAAyC;6CAAzC,yCAAyC;CA4BrD;AAED,eAAO,MAAM,2BAA2B,8HAYvC,CAAC"}
|
package/remote-access/terminal-viewer/c8y-ngx-components-remote-access-terminal-viewer.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-remote-access-terminal-viewer.d.ts","sourceRoot":"","sources":["../../../remote-access/terminal-viewer/c8y-ngx-components-remote-access-terminal-viewer.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../remote-access/terminal-viewer/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
|