@alauda-fe/common 1.0.0 → 1.0.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/a-chart/chart.component.d.ts +1 -1
- package/a-chart/components/{index.d.ts → public-api.d.ts} +1 -1
- package/a-chart/public-api.d.ts +1 -1
- package/a-metric-chart/public-api.d.ts +1 -0
- package/a-metric-chart/types.d.ts +4 -2
- package/a-metric-chart/utils/util.d.ts +6 -4
- package/api/api-compatible.interceptor.d.ts +46 -0
- package/api/helpers.d.ts +1 -1
- package/api/k8s-api-resource.service.d.ts +1 -1
- package/api/k8s-api.service.d.ts +1 -1
- package/api/monitor-api.service.d.ts +2 -1
- package/api/platform-ui.service.d.ts +1 -1
- package/api/product.service.d.ts +1 -1
- package/api/project-api.service.d.ts +1 -1
- package/api/public-api.d.ts +1 -0
- package/api/resource-update.service.d.ts +1 -1
- package/api/types.d.ts +1 -1
- package/array-form-table/base-string-map-form.component.d.ts +1 -1
- package/array-form-table/form/component.d.ts +12 -1
- package/array-form-table/form/module.d.ts +1 -1
- package/array-form-table/key-value-form/component.d.ts +1 -1
- package/array-form-table/public-api.d.ts +1 -0
- package/array-form-table/string-array-form/component.d.ts +39 -0
- package/assets/icons/prod-icons.js +1 -1
- package/async-data/async-data-loader.d.ts +1 -1
- package/async-data/types.d.ts +1 -1
- package/authorization/guard.service.d.ts +1 -1
- package/authorization/state.service.d.ts +1 -1
- package/business/module-info/api.service.d.ts +2 -2
- package/business/notification-disabled-container/component.d.ts +14 -0
- package/business/notification-disabled-container/public-api.d.ts +1 -0
- package/business/public-api.d.ts +1 -0
- package/business/resource-select/base-list.d.ts +2 -2
- package/business/resource-select/context.service.d.ts +2 -2
- package/business/resource-select/exports/namespace-page/component.d.ts +1 -1
- package/business/resource-select/exports/namespace-selector/component.d.ts +1 -1
- package/business/resource-select/internals/cluster-list/component.d.ts +1 -2
- package/business/resource-select/internals/namespace-list/component.d.ts +2 -3
- package/business/resource-select/internals/project-list/component.d.ts +1 -1
- package/business/resource-select/project.service.d.ts +3 -2
- package/business/resource-select/types.d.ts +1 -1
- package/business/resource-select/utils.d.ts +1 -1
- package/chart/common/chart/chart.component.d.ts +2 -3
- package/chart/common/{index.d.ts → public-api.d.ts} +0 -1
- package/chart/public-api.d.ts +2 -1
- package/chart/utils.d.ts +1 -1
- package/code/code-editor-configs.d.ts +2 -1
- package/code/code.module.d.ts +8 -8
- package/code/k8s-yaml-display-dialog/component.d.ts +1 -1
- package/code/resource-yaml-display/component.d.ts +2 -4
- package/core/abstract/base-form-container.d.ts +1 -1
- package/core/components/public-api.d.ts +6 -0
- package/core/constants/constants.d.ts +1 -0
- package/core/constants/patterns.d.ts +83 -1
- package/core/constants/status-icons.d.ts +3 -0
- package/core/guards/leave-edit-page.guard.d.ts +1 -1
- package/core/module.d.ts +19 -19
- package/core/pipes/duration.pipe.d.ts +10 -0
- package/core/pipes/img-theme.pipe.d.ts +1 -1
- package/core/pipes/k8s-util.pipe.d.ts +2 -2
- package/core/pipes/page-env.pipe.d.ts +1 -1
- package/core/pipes/{index.d.ts → public-api.d.ts} +2 -1
- package/core/pipes/sanitize.pipe.d.ts +10 -0
- package/core/pipes/time.pipe.d.ts +2 -2
- package/core/public-api.d.ts +9 -9
- package/core/services/aui-paginator-intl.service.d.ts +1 -1
- package/core/services/aui-tooltip-copy-intl.service.d.ts +1 -1
- package/core/services/custom-code-editor-intl.service.d.ts +1 -1
- package/core/services/intercept-deactivate.service.d.ts +1 -1
- package/core/services/k8s-util.service.d.ts +2 -2
- package/core/services/workspace-helper.service.d.ts +1 -1
- package/core/services/yaml-util.service.d.ts +1 -1
- package/core/types/k8s/core.d.ts +11 -1
- package/core/types/k8s/crd.d.ts +98 -3
- package/core/types/k8s/raw.d.ts +9 -12
- package/core/types/{index.d.ts → public-api.d.ts} +1 -1
- package/core/types/resource-definitions.d.ts +27 -2
- package/core/utils/browser.d.ts +1 -0
- package/core/utils/common.d.ts +12 -1
- package/core/utils/decorators.d.ts +3 -1
- package/core/utils/k8s-util.d.ts +3 -1
- package/core/utils/node.d.ts +1 -1
- package/core/utils/observable.d.ts +1 -0
- package/core/utils/{index.d.ts → public-api.d.ts} +1 -1
- package/core/utils/sort-fn.d.ts +2 -0
- package/core/utils/unit.d.ts +0 -3
- package/core/utils/version.d.ts +1 -1
- package/core/utils/workspace.d.ts +1 -1
- package/core/utils/yaml.d.ts +2 -1
- package/custom-columns-setting/component.d.ts +1 -1
- package/esm2022/a-chart/a-chart.module.mjs +2 -2
- package/esm2022/a-chart/chart-status.component.mjs +2 -2
- package/esm2022/a-chart/chart.component.mjs +5 -4
- package/esm2022/a-chart/components/base-component.mjs +2 -2
- package/esm2022/a-chart/components/legend/public-api.mjs +4 -0
- package/esm2022/a-chart/components/public-api.mjs +4 -0
- package/esm2022/a-chart/components/title.component.mjs +4 -4
- package/esm2022/a-chart/public-api.mjs +2 -2
- package/esm2022/a-chart/utils.mjs +2 -2
- package/esm2022/a-metric-chart/a-metric-chart.component.mjs +57 -32
- package/esm2022/a-metric-chart/a-metric-chart.module.mjs +4 -4
- package/esm2022/a-metric-chart/bar-gauge/bar-gauge.component.mjs +2 -2
- package/esm2022/a-metric-chart/base-chart.component.mjs +2 -2
- package/esm2022/a-metric-chart/public-api.mjs +2 -1
- package/esm2022/a-metric-chart/table-chart/table-chart.component.mjs +2 -2
- package/esm2022/a-metric-chart/types.mjs +2 -1
- package/esm2022/a-metric-chart/utils/public-api.mjs +4 -0
- package/esm2022/a-metric-chart/utils/unit.mjs +2 -2
- package/esm2022/a-metric-chart/utils/util.mjs +28 -23
- package/esm2022/api/api-compatible.interceptor.mjs +101 -0
- package/esm2022/api/cluster-version.service.mjs +2 -2
- package/esm2022/api/crypto.interceptor.mjs +2 -2
- package/esm2022/api/helpers.mjs +2 -2
- package/esm2022/api/k8s-api-resource.service.mjs +2 -2
- package/esm2022/api/k8s-api.service.mjs +4 -4
- package/esm2022/api/monitor-api.service.mjs +2 -2
- package/esm2022/api/platform-ui.service.mjs +2 -2
- package/esm2022/api/product.service.mjs +2 -2
- package/esm2022/api/project-api.service.mjs +2 -2
- package/esm2022/api/public-api.mjs +2 -1
- package/esm2022/api/resource-update.service.mjs +1 -1
- package/esm2022/api/types.mjs +1 -1
- package/esm2022/array-form-table/base-string-map-form.component.mjs +1 -1
- package/esm2022/array-form-table/form/component.mjs +93 -50
- package/esm2022/array-form-table/form/module.mjs +7 -4
- package/esm2022/array-form-table/key-value-form/component.mjs +4 -4
- package/esm2022/array-form-table/key-value-table/component.mjs +3 -3
- package/esm2022/array-form-table/public-api.mjs +2 -1
- package/esm2022/array-form-table/string-array-form/component.mjs +267 -0
- package/esm2022/async-data/async-data-loader.mjs +1 -1
- package/esm2022/async-data/error-page/component.mjs +2 -2
- package/esm2022/async-data/types.mjs +1 -1
- package/esm2022/authorization/guard.service.mjs +3 -3
- package/esm2022/authorization/interceptor.service.mjs +2 -2
- package/esm2022/authorization/state.service.mjs +3 -3
- package/esm2022/business/module-info/api.service.mjs +5 -5
- package/esm2022/business/notification-disabled-container/component.mjs +87 -0
- package/esm2022/business/notification-disabled-container/public-api.mjs +2 -0
- package/esm2022/business/public-api.mjs +2 -1
- package/esm2022/business/resource-select/base-list.mjs +4 -4
- package/esm2022/business/resource-select/context.service.mjs +3 -3
- package/esm2022/business/resource-select/exports/namespace-page/component.mjs +3 -3
- package/esm2022/business/resource-select/exports/namespace-selector/component.mjs +3 -3
- package/esm2022/business/resource-select/internals/cluster-list/component.mjs +1 -1
- package/esm2022/business/resource-select/internals/data-grid/component.mjs +2 -2
- package/esm2022/business/resource-select/internals/meshgroup-list/component.mjs +2 -3
- package/esm2022/business/resource-select/internals/namespace-list/component.mjs +7 -7
- package/esm2022/business/resource-select/internals/no-data/component.mjs +3 -3
- package/esm2022/business/resource-select/internals/project-list/component.mjs +3 -3
- package/esm2022/business/resource-select/internals/resource-dashboard/component.mjs +3 -3
- package/esm2022/business/resource-select/internals/selector-popup/component.mjs +2 -2
- package/esm2022/business/resource-select/module.mjs +3 -3
- package/esm2022/business/resource-select/project.service.mjs +4 -4
- package/esm2022/business/resource-select/types.mjs +1 -1
- package/esm2022/business/resource-select/utils.mjs +1 -1
- package/esm2022/chart/chart.module.mjs +2 -2
- package/esm2022/chart/chart.service.mjs +2 -2
- package/esm2022/chart/common/chart/chart.component.mjs +2 -2
- package/esm2022/chart/common/{index.mjs → public-api.mjs} +1 -2
- package/esm2022/chart/common/tooltip/tooltip.component.mjs +2 -2
- package/esm2022/chart/public-api.mjs +3 -2
- package/esm2022/chart/utils.mjs +1 -1
- package/esm2022/code/code-editor-configs.mjs +5 -1
- package/esm2022/code/code.module.mjs +12 -11
- package/esm2022/code/k8s-yaml-display-dialog/component.mjs +1 -1
- package/esm2022/code/resource-yaml-display/component.mjs +26 -7
- package/esm2022/core/abstract/base-form-container.mjs +3 -3
- package/esm2022/core/abstract/public-api.mjs +3 -0
- package/esm2022/core/components/public-api.mjs +7 -0
- package/esm2022/core/constants/constants.mjs +2 -1
- package/esm2022/core/constants/patterns.mjs +102 -4
- package/esm2022/core/constants/public-api.mjs +6 -0
- package/esm2022/core/constants/status-icons.mjs +30 -1
- package/esm2022/core/constants/tokens.mjs +2 -2
- package/esm2022/core/directives/public-api.mjs +11 -0
- package/esm2022/core/guards/leave-edit-page.guard.mjs +5 -5
- package/esm2022/core/guards/public-api.mjs +5 -0
- package/esm2022/core/module.mjs +11 -11
- package/esm2022/core/pipes/duration.pipe.mjs +51 -0
- package/esm2022/core/pipes/img-header.pipe.mjs +2 -2
- package/esm2022/core/pipes/img-theme.pipe.mjs +3 -2
- package/esm2022/core/pipes/k8s-util.pipe.mjs +4 -4
- package/esm2022/core/pipes/page-env.pipe.mjs +3 -3
- package/esm2022/core/pipes/public-api.mjs +19 -0
- package/esm2022/core/pipes/safe.pipe.mjs +7 -2
- package/esm2022/core/pipes/sanitize.pipe.mjs +31 -0
- package/esm2022/core/pipes/time.pipe.mjs +8 -8
- package/esm2022/core/public-api.mjs +10 -10
- package/esm2022/core/services/aui-paginator-intl.service.mjs +3 -3
- package/esm2022/core/services/aui-tooltip-copy-intl.service.mjs +3 -3
- package/esm2022/core/services/context.service.mjs +2 -2
- package/esm2022/core/services/custom-code-editor-intl.service.mjs +4 -4
- package/esm2022/core/services/feature-gate.service.mjs +3 -3
- package/esm2022/core/services/intercept-deactivate.service.mjs +3 -3
- package/esm2022/core/services/k8s-util.service.mjs +4 -6
- package/esm2022/core/services/public-api.mjs +15 -0
- package/esm2022/core/services/time.service.mjs +2 -2
- package/esm2022/core/services/workspace-helper.service.mjs +1 -1
- package/esm2022/core/services/yaml-util.service.mjs +5 -4
- package/esm2022/core/types/k8s/core.mjs +1 -1
- package/esm2022/core/types/k8s/crd.mjs +16 -1
- package/esm2022/core/types/k8s/public-api.mjs +4 -0
- package/esm2022/core/types/k8s/raw.mjs +3 -2
- package/esm2022/core/types/public-api.mjs +11 -0
- package/esm2022/core/types/resource-definitions.mjs +19 -4
- package/esm2022/core/utils/browser.mjs +5 -1
- package/esm2022/core/utils/cache-store.mjs +2 -2
- package/esm2022/core/utils/common.mjs +55 -3
- package/esm2022/core/utils/decorators.mjs +22 -1
- package/esm2022/core/utils/k8s-util.mjs +5 -3
- package/esm2022/core/utils/node.mjs +2 -2
- package/esm2022/core/utils/observable.mjs +11 -2
- package/esm2022/core/utils/public-api.mjs +23 -0
- package/esm2022/core/utils/sort-fn.mjs +7 -0
- package/esm2022/core/utils/unit.mjs +1 -13
- package/esm2022/core/utils/workspace.mjs +1 -1
- package/esm2022/core/utils/yaml.mjs +9 -1
- package/esm2022/custom-columns-setting/component.mjs +1 -1
- package/esm2022/editable-text/public-api.mjs +3 -0
- package/esm2022/effect-directive/event.directive.mjs +2 -2
- package/esm2022/exec/public-api.mjs +8 -0
- package/esm2022/exec/service.mjs +2 -3
- package/esm2022/exec/terminal/component.mjs +13 -17
- package/esm2022/exec/terminal-group/component.mjs +2 -2
- package/esm2022/feature-gate-forbidden/public-api.mjs +3 -0
- package/esm2022/form/errors-mapper/base-errors-mapper.mjs +42 -0
- package/esm2022/form/errors-mapper/default-errors-mapper.service.mjs +65 -0
- package/esm2022/form/errors-mapper/errors-mapper-component/component.mjs +71 -0
- package/esm2022/form/errors-mapper/errors-mapper.directive.mjs +115 -0
- package/esm2022/{errors-mapper → form/errors-mapper}/errors-mapper.module.mjs +1 -1
- package/esm2022/form/errors-mapper/public-api.mjs +5 -0
- package/esm2022/form/errors-mapper/types.mjs +2 -0
- package/esm2022/form/labels-editor/component.mjs +5 -6
- package/esm2022/form/public-api.mjs +7 -0
- package/esm2022/form/taints-editor/component.mjs +5 -5
- package/esm2022/form/upload-file/component.mjs +114 -0
- package/esm2022/form/validators/module.mjs +2 -2
- package/esm2022/form/validators/public-api.mjs +2 -2
- package/esm2022/form/validators/resource-limit.mjs +2 -2
- package/esm2022/form/validators/strong-password/public-api.mjs +4 -0
- package/esm2022/form/validators/strong-password/strong-password-tooltip/component.mjs +2 -2
- package/esm2022/form/validators/utils.mjs +3 -3
- package/esm2022/graph-canvas/components/graph-canvas.component.mjs +6 -3
- package/esm2022/graph-canvas/components/graph-link.component.mjs +8 -2
- package/esm2022/graph-canvas/components/graph-node.directive.mjs +2 -2
- package/esm2022/graph-canvas/graph-store.service.mjs +13 -2
- package/esm2022/graph-canvas/types.mjs +1 -1
- package/esm2022/grid-layout/grid-layout.service.mjs +1 -1
- package/esm2022/grid-layout/grid-placeholder.service.mjs +1 -1
- package/esm2022/grid-layout/public-api.mjs +11 -0
- package/esm2022/grid-layout/utils/client-rect.utils.mjs +1 -1
- package/esm2022/grid-layout/utils/scroll.utils.mjs +1 -1
- package/esm2022/help-document/component.mjs +14 -16
- package/esm2022/help-document/directive.mjs +17 -4
- package/esm2022/help-document/module.mjs +5 -6
- package/esm2022/help-document/service.mjs +7 -4
- package/esm2022/k8s-resource-list/footer/component.mjs +2 -2
- package/esm2022/k8s-resource-list/k8s-resource-list.mjs +2 -2
- package/esm2022/k8s-resource-list/k8s-resource-paged-list.mjs +2 -3
- package/esm2022/k8s-resource-list/types.mjs +1 -1
- package/esm2022/k8s-resource-list/utils.mjs +1 -1
- package/esm2022/k8s-shared/k8s-shared-util.service.mjs +152 -0
- package/esm2022/k8s-shared/public-api.mjs +10 -0
- package/esm2022/k8s-shared/update-description-dialog/component.mjs +112 -0
- package/esm2022/k8s-shared/update-display-name-dialog/component.mjs +133 -0
- package/esm2022/k8s-shared/update-key-value-dialog/component.mjs +111 -0
- package/esm2022/license/license-api.mjs +1 -1
- package/esm2022/license/license-error/module.mjs +2 -2
- package/esm2022/license/license.guard.mjs +3 -3
- package/esm2022/license/license.service.mjs +1 -1
- package/esm2022/metric-chart/helpers.mjs +3 -3
- package/esm2022/metric-chart/metric-chart.component.mjs +6 -4
- package/esm2022/metric-chart/public-api.mjs +1 -2
- package/esm2022/metric-chart/types.mjs +1 -1
- package/esm2022/metric-chart/utils.mjs +2 -2
- package/esm2022/multi-search/action-input/component.mjs +4 -4
- package/esm2022/multi-search/form/component.mjs +3 -3
- package/esm2022/multi-search/multi-search-tags/component.mjs +2 -2
- package/esm2022/multi-search/public-api.mjs +5 -0
- package/esm2022/mutable/mosaic/mosaic.component.mjs +2 -2
- package/esm2022/notification/errors-mapper.mjs +1 -1
- package/esm2022/notification/helpers.mjs +1 -1
- package/esm2022/notification/notification-util.service.mjs +4 -4
- package/esm2022/notification/resource-error.interceptor.mjs +2 -2
- package/esm2022/page-guard/component/component.mjs +3 -3
- package/esm2022/page-guard/module.mjs +4 -4
- package/esm2022/page-scaffold/module.mjs +5 -5
- package/esm2022/page-scaffold/navigation/breadcrumb/breadcrumb.component.mjs +1 -1
- package/esm2022/page-scaffold/navigation/breadcrumb/module.mjs +2 -2
- package/esm2022/page-scaffold/navigation/breadcrumb/public-api.mjs +5 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/public-api.mjs +3 -0
- package/esm2022/page-scaffold/navigation/module.mjs +2 -2
- package/esm2022/page-scaffold/navigation/nav-menu/nav-menu.component.mjs +5 -5
- package/esm2022/page-scaffold/navigation/nav-menu/nav-menu.module.mjs +2 -2
- package/esm2022/page-scaffold/navigation/nav-menu/nav-menu.types.mjs +1 -1
- package/esm2022/page-scaffold/navigation/nav-menu/public-api.mjs +4 -0
- package/esm2022/page-scaffold/navigation/navconfig-loader/navconfig-loader.service.mjs +2 -2
- package/esm2022/page-scaffold/navigation/navconfig-loader/public-api.mjs +8 -0
- package/esm2022/page-scaffold/navigation/public-api.mjs +7 -0
- package/esm2022/page-scaffold/page/notices/maintenance.component.mjs +32 -26
- package/esm2022/page-scaffold/page/page.component.mjs +20 -12
- package/esm2022/page-scaffold/page/page.module.mjs +2 -2
- package/esm2022/page-scaffold/page/public-api.mjs +5 -0
- package/esm2022/page-scaffold/page-header/account-menu/component/component.mjs +2 -2
- package/esm2022/page-scaffold/page-header/common-layout/common-layout.module.mjs +3 -3
- package/esm2022/page-scaffold/page-header/common-layout/context.service.mjs +2 -2
- package/esm2022/page-scaffold/page-header/common-layout/namespace-select/component.mjs +3 -4
- package/esm2022/page-scaffold/page-header/common-layout/product-select/component.mjs +7 -7
- package/esm2022/page-scaffold/page-header/common-layout/project-select/base-selection.mjs +2 -2
- package/esm2022/page-scaffold/page-header/common-layout/store.service.mjs +3 -3
- package/esm2022/page-scaffold/page-header/enterprise-support-status/component.mjs +2 -2
- package/esm2022/page-scaffold/page-header/header-notify/notify.service.mjs +3 -3
- package/esm2022/page-scaffold/page-header/header-notify/utils.mjs +1 -1
- package/esm2022/page-scaffold/page-header/help-menu/component/component.mjs +3 -3
- package/esm2022/page-scaffold/page-header/public-api.mjs +14 -0
- package/esm2022/page-scaffold/public-api.mjs +5 -0
- package/esm2022/permission/helpers.mjs +2 -5
- package/esm2022/permission/k8s-permission.service.mjs +2 -3
- package/esm2022/permission/permission.guard.mjs +3 -3
- package/esm2022/permission/public-api.mjs +1 -2
- package/esm2022/permission/types.mjs +2 -2
- package/esm2022/pie-derivative-chart/donut-status/component.mjs +1 -1
- package/esm2022/public-api.mjs +11 -11
- package/esm2022/scm/declare.directive.mjs +27 -0
- package/esm2022/scm/password-input/component.mjs +104 -67
- package/esm2022/scm/password-input/module.mjs +16 -13
- package/esm2022/scm/password-input/public-api.mjs +3 -0
- package/esm2022/scm/public-api.mjs +10 -0
- package/esm2022/scm/pure-pipe/calc.pipe.mjs +3 -2
- package/esm2022/scm/pure-pipe/module.mjs +3 -4
- package/esm2022/scm/pure-pipe/public-api.mjs +4 -0
- package/esm2022/scm/pure-pipe/pure.pipe.mjs +1 -1
- package/esm2022/scm/resource-multi-select/component.mjs +7 -9
- package/esm2022/scm/resource-multi-select/util.mjs +1 -1
- package/esm2022/scm/search-panel/component.mjs +2 -2
- package/esm2022/searchable-selector/component.mjs +4 -2
- package/esm2022/skeleton/item/component.mjs +1 -1
- package/esm2022/skeleton/module.mjs +2 -2
- package/esm2022/table/component.mjs +4 -4
- package/esm2022/table/helper.mjs +2 -2
- package/esm2022/table/module.mjs +1 -1
- package/esm2022/table/types.mjs +1 -1
- package/esm2022/table/util.service.mjs +3 -3
- package/esm2022/translate/constants.mjs +1 -1
- package/esm2022/translate/en.json +30 -4
- package/esm2022/translate/helpers.mjs +15 -1
- package/esm2022/translate/public-api.mjs +1 -2
- package/esm2022/translate/translate.module.mjs +3 -7
- package/esm2022/translate/types.mjs +1 -1
- package/esm2022/translate/zh.json +28 -2
- package/esm2022/view-chart/custom-template/dropdown-legend.mjs +1 -1
- package/esm2022/view-chart/legend/legend.component.mjs +1 -1
- package/esm2022/view-chart/view-chart.module.mjs +2 -2
- package/esm2022/view-zchart/custom-template/dropdown-legend.mjs +1 -1
- package/esm2022/view-zchart/legend/legend.component.mjs +1 -1
- package/esm2022/view-zchart/types.mjs +2 -0
- package/esm2022/view-zchart/units.mjs +2 -2
- package/esm2022/view-zchart/view-zchart.component.mjs +10 -5
- package/esm2022/widget/confirm-delete/confirm-delete.component.mjs +2 -2
- package/esm2022/widget/confirm-delete/utils.mjs +1 -1
- package/esm2022/widget/current-time/component.mjs +4 -4
- package/esm2022/widget/date-range-picker/component.mjs +10 -11
- package/esm2022/widget/field-set/index.mjs +14 -0
- package/esm2022/widget/field-set/item/component.mjs +2 -2
- package/esm2022/widget/foldable-block/component.mjs +2 -2
- package/esm2022/widget/foldable-item-in-table/component.mjs +3 -3
- package/esm2022/widget/loading-mask/loading-mask.component.mjs +2 -2
- package/esm2022/widget/public-api.mjs +3 -4
- package/esm2022/widget/relative-time/component.mjs +4 -4
- package/esm2022/widget/status-icon/status-icon.component.mjs +102 -0
- package/esm2022/widget/tags-label/component.mjs +3 -3
- package/esm2022/widget/terminating-tag/component.mjs +1 -1
- package/esm2022/widget/zero-state/zero-state.component.mjs +3 -3
- package/esm2022/window-channel/base-window-channel.mjs +1 -1
- package/esm2022/window-channel/host-window-channel.service.mjs +15 -15
- package/esm2022/window-channel/public-api.mjs +5 -0
- package/esm2022/window-channel/utils.mjs +1 -1
- package/esm2022/xterm/xterm-terminal/xterm-terminal.component.mjs +4 -4
- package/esm2022/xterm/xterm.component.mjs +5 -2
- package/exec/service.d.ts +1 -1
- package/exec/terminal/component.d.ts +1 -1
- package/{errors-mapper → form/errors-mapper}/base-errors-mapper.d.ts +2 -2
- package/{errors-mapper → form/errors-mapper}/default-errors-mapper.service.d.ts +1 -1
- package/{errors-mapper → form/errors-mapper}/errors-mapper-component/component.d.ts +1 -1
- package/{errors-mapper → form/errors-mapper}/errors-mapper.directive.d.ts +1 -1
- package/{errors-mapper → form/errors-mapper}/types.d.ts +1 -1
- package/form/labels-editor/component.d.ts +1 -1
- package/form/{index.d.ts → public-api.d.ts} +2 -0
- package/form/taints-editor/component.d.ts +2 -2
- package/form/upload-file/component.d.ts +32 -0
- package/form/validators/public-api.d.ts +1 -1
- package/form/validators/resource-limit.d.ts +1 -1
- package/form/validators/strong-password/{index.d.ts → public-api.d.ts} +1 -1
- package/form/validators/utils.d.ts +1 -1
- package/graph-canvas/components/graph-canvas.component.d.ts +3 -2
- package/graph-canvas/graph-store.service.d.ts +3 -1
- package/graph-canvas/types.d.ts +2 -0
- package/grid-layout/grid-layout.service.d.ts +2 -2
- package/grid-layout/grid-placeholder.service.d.ts +1 -1
- package/grid-layout/utils/client-rect.utils.d.ts +1 -1
- package/help-document/component.d.ts +0 -1
- package/help-document/directive.d.ts +10 -1
- package/k8s-resource-list/footer/component.d.ts +1 -1
- package/k8s-resource-list/k8s-resource-list.d.ts +1 -1
- package/k8s-resource-list/k8s-resource-paged-list.d.ts +1 -1
- package/k8s-resource-list/types.d.ts +1 -1
- package/k8s-resource-list/utils.d.ts +1 -1
- package/k8s-shared/k8s-shared-util.service.d.ts +40 -0
- package/k8s-shared/public-api.d.ts +9 -0
- package/k8s-shared/update-description-dialog/component.d.ts +25 -0
- package/k8s-shared/update-display-name-dialog/component.d.ts +27 -0
- package/k8s-shared/update-key-value-dialog/component.d.ts +39 -0
- package/license/license-api.d.ts +1 -1
- package/license/license.guard.d.ts +1 -1
- package/metric-chart/metric-chart.component.d.ts +3 -2
- package/metric-chart/public-api.d.ts +0 -1
- package/metric-chart/types.d.ts +1 -1
- package/metric-chart/utils.d.ts +1 -1
- package/notification/errors-mapper.d.ts +1 -1
- package/notification/helpers.d.ts +1 -1
- package/notification/notification-util.service.d.ts +2 -2
- package/notification/resource-error.interceptor.d.ts +1 -1
- package/package.json +2 -1
- package/page-guard/module.d.ts +3 -0
- package/page-scaffold/navigation/breadcrumb/breadcrumb.component.d.ts +2 -2
- package/page-scaffold/navigation/nav-menu/nav-menu.component.d.ts +1 -1
- package/page-scaffold/navigation/nav-menu/nav-menu.types.d.ts +1 -1
- package/page-scaffold/navigation/navconfig-loader/navconfig-loader.service.d.ts +2 -2
- package/page-scaffold/navigation/public-api.d.ts +6 -0
- package/page-scaffold/page/notices/maintenance.component.d.ts +7 -7
- package/page-scaffold/page/page.component.d.ts +2 -1
- package/page-scaffold/page-header/common-layout/context.service.d.ts +1 -1
- package/page-scaffold/page-header/common-layout/namespace-select/component.d.ts +1 -1
- package/page-scaffold/page-header/common-layout/product-select/component.d.ts +2 -2
- package/page-scaffold/page-header/common-layout/store.service.d.ts +1 -1
- package/page-scaffold/page-header/header-notify/notify.service.d.ts +1 -1
- package/page-scaffold/page-header/header-notify/utils.d.ts +1 -1
- package/page-scaffold/page-header/help-menu/component/component.d.ts +1 -1
- package/page-scaffold/public-api.d.ts +4 -0
- package/permission/helpers.d.ts +1 -10
- package/permission/k8s-permission.service.d.ts +1 -1
- package/permission/permission.guard.d.ts +1 -1
- package/permission/public-api.d.ts +0 -1
- package/permission/types.d.ts +1 -1
- package/pie-derivative-chart/donut-status/component.d.ts +1 -1
- package/public-api.d.ts +10 -10
- package/scm/declare.directive.d.ts +8 -0
- package/scm/password-input/component.d.ts +5 -1
- package/scm/password-input/module.d.ts +2 -2
- package/scm/{index.d.ts → public-api.d.ts} +3 -2
- package/scm/pure-pipe/calc.pipe.d.ts +1 -1
- package/scm/pure-pipe/module.d.ts +3 -3
- package/scm/pure-pipe/pure.pipe.d.ts +1 -1
- package/scm/resource-multi-select/component.d.ts +4 -3
- package/scm/resource-multi-select/util.d.ts +1 -1
- package/skeleton/item/component.d.ts +1 -1
- package/styles/global.scss +1 -2
- package/styles/mixins.scss +39 -0
- package/styles/tailwind-preset.scss +1 -1
- package/table/component.d.ts +1 -1
- package/table/helper.d.ts +1 -1
- package/table/types.d.ts +1 -1
- package/table/util.service.d.ts +1 -1
- package/translate/constants.d.ts +1 -1
- package/translate/helpers.d.ts +3 -0
- package/translate/public-api.d.ts +0 -1
- package/translate/translate.module.d.ts +54 -3
- package/translate/types.d.ts +1 -1
- package/view-chart/custom-template/dropdown-legend.d.ts +1 -1
- package/view-chart/legend/legend.component.d.ts +1 -1
- package/view-zchart/custom-template/dropdown-legend.d.ts +1 -1
- package/view-zchart/legend/legend.component.d.ts +1 -1
- package/view-zchart/types.d.ts +22 -0
- package/view-zchart/units.d.ts +1 -1
- package/view-zchart/view-zchart.component.d.ts +7 -2
- package/widget/confirm-delete/utils.d.ts +1 -1
- package/widget/current-time/component.d.ts +1 -1
- package/widget/date-range-picker/component.d.ts +1 -1
- package/widget/field-set/index.d.ts +7 -0
- package/widget/foldable-item-in-table/component.d.ts +1 -1
- package/widget/public-api.d.ts +2 -3
- package/widget/relative-time/component.d.ts +1 -1
- package/widget/status-icon/status-icon.component.d.ts +16 -0
- package/widget/tags-label/component.d.ts +1 -1
- package/widget/terminating-tag/component.d.ts +1 -1
- package/window-channel/base-window-channel.d.ts +1 -1
- package/window-channel/utils.d.ts +0 -1
- package/core/components/index.d.ts +0 -1
- package/core/components/tree/index.d.ts +0 -1
- package/core/components/tree/public-api.d.ts +0 -6
- package/core/index.d.ts +0 -1
- package/core/pipes/trust-url.pipe.d.ts +0 -19
- package/core/utils/k8s-pattern.d.ts +0 -12
- package/esm2022/a-chart/components/index.mjs +0 -4
- package/esm2022/a-chart/components/legend/index.mjs +0 -4
- package/esm2022/a-metric-chart/utils/index.mjs +0 -4
- package/esm2022/core/abstract/index.mjs +0 -3
- package/esm2022/core/components/index.mjs +0 -2
- package/esm2022/core/components/tree/index.mjs +0 -2
- package/esm2022/core/components/tree/public-api.mjs +0 -7
- package/esm2022/core/constants/index.mjs +0 -6
- package/esm2022/core/directives/index.mjs +0 -11
- package/esm2022/core/guards/index.mjs +0 -5
- package/esm2022/core/index.mjs +0 -2
- package/esm2022/core/pipes/index.mjs +0 -18
- package/esm2022/core/pipes/trust-url.pipe.mjs +0 -28
- package/esm2022/core/services/index.mjs +0 -15
- package/esm2022/core/types/index.mjs +0 -11
- package/esm2022/core/types/k8s/index.mjs +0 -4
- package/esm2022/core/utils/index.mjs +0 -23
- package/esm2022/core/utils/k8s-pattern.mjs +0 -13
- package/esm2022/editable-text/index.mjs +0 -3
- package/esm2022/errors-mapper/base-errors-mapper.mjs +0 -42
- package/esm2022/errors-mapper/default-errors-mapper.service.mjs +0 -65
- package/esm2022/errors-mapper/errors-mapper-component/component.mjs +0 -71
- package/esm2022/errors-mapper/errors-mapper.directive.mjs +0 -115
- package/esm2022/errors-mapper/public-api.mjs +0 -5
- package/esm2022/errors-mapper/types.mjs +0 -2
- package/esm2022/exec/index.mjs +0 -8
- package/esm2022/feature-gate-forbidden/index.mjs +0 -3
- package/esm2022/form/index.mjs +0 -5
- package/esm2022/form/validators/strong-password/index.mjs +0 -4
- package/esm2022/form/validators/strong-password/strong-password-tooltip/index.mjs +0 -2
- package/esm2022/grid-layout/index.mjs +0 -11
- package/esm2022/metric-chart/range-util.mjs +0 -35
- package/esm2022/multi-search/index.mjs +0 -5
- package/esm2022/page-scaffold/index.mjs +0 -5
- package/esm2022/page-scaffold/navigation/breadcrumb/index.mjs +0 -5
- package/esm2022/page-scaffold/navigation/index.mjs +0 -7
- package/esm2022/page-scaffold/navigation/lottie-icons/index.mjs +0 -3
- package/esm2022/page-scaffold/navigation/nav-menu/index.mjs +0 -4
- package/esm2022/page-scaffold/navigation/navconfig-loader/index.mjs +0 -8
- package/esm2022/page-scaffold/page/index.mjs +0 -5
- package/esm2022/page-scaffold/page-header/index.mjs +0 -14
- package/esm2022/permission/admin.guard.mjs +0 -43
- package/esm2022/scm/index.mjs +0 -9
- package/esm2022/scm/password-input/index.mjs +0 -3
- package/esm2022/scm/pure-pipe/index.mjs +0 -4
- package/esm2022/translate/pick-locale.pipe.mjs +0 -34
- package/esm2022/window-channel/index.mjs +0 -5
- package/form/validators/strong-password/strong-password-tooltip/index.d.ts +0 -1
- package/metric-chart/range-util.d.ts +0 -1
- package/page-scaffold/index.d.ts +0 -4
- package/page-scaffold/navigation/index.d.ts +0 -6
- package/permission/admin.guard.d.ts +0 -14
- package/translate/pick-locale.pipe.d.ts +0 -12
- /package/a-chart/components/legend/{index.d.ts → public-api.d.ts} +0 -0
- /package/a-metric-chart/utils/{index.d.ts → public-api.d.ts} +0 -0
- /package/core/abstract/{index.d.ts → public-api.d.ts} +0 -0
- /package/core/constants/{index.d.ts → public-api.d.ts} +0 -0
- /package/core/directives/{index.d.ts → public-api.d.ts} +0 -0
- /package/core/guards/{index.d.ts → public-api.d.ts} +0 -0
- /package/core/services/{index.d.ts → public-api.d.ts} +0 -0
- /package/core/types/k8s/{index.d.ts → public-api.d.ts} +0 -0
- /package/editable-text/{index.d.ts → public-api.d.ts} +0 -0
- /package/exec/{index.d.ts → public-api.d.ts} +0 -0
- /package/feature-gate-forbidden/{index.d.ts → public-api.d.ts} +0 -0
- /package/{errors-mapper → form/errors-mapper}/errors-mapper.module.d.ts +0 -0
- /package/{errors-mapper → form/errors-mapper}/public-api.d.ts +0 -0
- /package/grid-layout/{index.d.ts → public-api.d.ts} +0 -0
- /package/multi-search/{index.d.ts → public-api.d.ts} +0 -0
- /package/page-scaffold/navigation/breadcrumb/{index.d.ts → public-api.d.ts} +0 -0
- /package/page-scaffold/navigation/lottie-icons/{index.d.ts → public-api.d.ts} +0 -0
- /package/page-scaffold/navigation/nav-menu/{index.d.ts → public-api.d.ts} +0 -0
- /package/page-scaffold/navigation/navconfig-loader/{index.d.ts → public-api.d.ts} +0 -0
- /package/page-scaffold/page/{index.d.ts → public-api.d.ts} +0 -0
- /package/page-scaffold/page-header/{index.d.ts → public-api.d.ts} +0 -0
- /package/scm/password-input/{index.d.ts → public-api.d.ts} +0 -0
- /package/scm/pure-pipe/{index.d.ts → public-api.d.ts} +0 -0
- /package/window-channel/{index.d.ts → public-api.d.ts} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @module async-data
|
|
4
4
|
*/
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
-
import { StringMap } from '../core';
|
|
6
|
+
import { StringMap } from '../core/public-api';
|
|
7
7
|
import { DataError, DataMapper, DataStateAdapter, LoaderConfig, LoaderConfigWithInterval } from './types';
|
|
8
8
|
export interface AsyncLoadState<D> {
|
|
9
9
|
data?: D;
|
package/async-data/types.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { HttpErrorResponse } from '@angular/common/http';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
|
-
import { Status } from '../core';
|
|
7
|
+
import { Status } from '../core/public-api';
|
|
8
8
|
export interface DataStateAdapter<D> {
|
|
9
9
|
rawData$: Observable<D>;
|
|
10
10
|
data$: Observable<D>;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { InjectionToken } from '@angular/core';
|
|
6
6
|
import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, RouterStateSnapshot } from '@angular/router';
|
|
7
|
-
import { SilentlyNavigateService } from '../core/services';
|
|
7
|
+
import { SilentlyNavigateService } from '../core/services/public-api';
|
|
8
8
|
import { AuthorizationStateService } from './state.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare const DEFAULT_ABNORMAL_EMPTY_URL = "system-abnormal";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { HttpClient } from '@angular/common/http';
|
|
6
6
|
import { OnDestroy } from '@angular/core';
|
|
7
7
|
import { Observable } from 'rxjs';
|
|
8
|
-
import { AccountInfo } from '../page-scaffold';
|
|
8
|
+
import { AccountInfo } from '../page-scaffold/public-api';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export interface AuthorizationState {
|
|
11
11
|
idToken?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { K8sApiService } from '../../api/k8s-api.service';
|
|
3
|
-
import { ModuleInfo } from '../../core';
|
|
4
|
-
import { K8sUtilService } from '../../core/services';
|
|
3
|
+
import { ModuleInfo } from '../../core/public-api';
|
|
4
|
+
import { K8sUtilService } from '../../core/services/public-api';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export interface ModuleInfoGetParams {
|
|
7
7
|
cluster: string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { K8sApiService } from '../../api/public-api';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NotificationDisabledContainerComponent {
|
|
6
|
+
private readonly k8sApi;
|
|
7
|
+
enableToSetNotification: boolean;
|
|
8
|
+
enableToSetNotification$: Observable<boolean>;
|
|
9
|
+
inputRef: TemplateRef<unknown>;
|
|
10
|
+
notificationServerOn$: Observable<boolean>;
|
|
11
|
+
constructor(k8sApi: K8sApiService);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationDisabledContainerComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationDisabledContainerComponent, "acl-notification-disabled-container", never, { "enableToSetNotification": { "alias": "enableToSetNotification"; "required": false; }; }, {}, ["inputRef"], never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NotificationDisabledContainerComponent } from './component';
|
package/business/public-api.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { Observable, Subject } from 'rxjs';
|
|
3
3
|
import { AuthorizationStateService } from '../../authorization/state.service';
|
|
4
|
-
import { K8sUtilService } from '../../core/services';
|
|
5
|
-
import { KubernetesResource } from './../../core';
|
|
4
|
+
import { K8sUtilService } from '../../core/services/public-api';
|
|
5
|
+
import { KubernetesResource } from './../../core/public-api';
|
|
6
6
|
import { ResourceSelectContextService } from './context.service';
|
|
7
7
|
import { ConfigurableField, DataItemBase, ResourceDataNumbers } from './types';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
|
-
import { K8sUtilService } from '../../core/services';
|
|
4
|
-
import { KubernetesResource, Project, ServiceMeshGroup } from './../../core';
|
|
3
|
+
import { K8sUtilService } from '../../core/services/public-api';
|
|
4
|
+
import { KubernetesResource, Project, ServiceMeshGroup } from './../../core/public-api';
|
|
5
5
|
import { ClusterDataItem, DataItemBase, NamespaceDataItem, ProjectDataItem } from './types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export interface User extends KubernetesResource {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { K8sUtilService } from '../../../../core/services';
|
|
2
|
+
import { K8sUtilService } from '../../../../core/services/public-api';
|
|
3
3
|
import { ResourceSelectContextService } from './../../context.service';
|
|
4
4
|
import { ConfigurableField, DataItemBase, DisableFn, ResourceDataNumbers, SelectedNamespaceValue } from './../../types';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
2
|
import { AuthorizationStateService } from '../../../../authorization/public-api';
|
|
3
|
-
import { K8sUtilService } from '../../../../core/services';
|
|
3
|
+
import { K8sUtilService } from '../../../../core/services/public-api';
|
|
4
4
|
import { ResourceSelectorPopupRef } from '../../internals/selector-popup/ref';
|
|
5
5
|
import { ResourceSelectorPopupService } from '../../internals/selector-popup/service';
|
|
6
6
|
import { ConfigurableField, DataItemBase, DisableFn, SelectedNamespaceValue } from './../../types';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
|
-
import { Cluster } from '../../../../core';
|
|
5
|
-
import { K8sUtilService } from '../../../../core/public-api';
|
|
4
|
+
import { Cluster, K8sUtilService } from '../../../../core/public-api';
|
|
6
5
|
import { ResourceListBase } from '../../base-list';
|
|
7
6
|
import { ResourceSelectContextService } from '../../context.service';
|
|
8
7
|
import { ClusterDataItem } from '../../types';
|
|
@@ -2,12 +2,11 @@ import { SelectFilterOption } from '@alauda/ui';
|
|
|
2
2
|
import { HttpClient } from '@angular/common/http';
|
|
3
3
|
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
4
4
|
import { ReplaySubject } from 'rxjs';
|
|
5
|
-
import { Cluster, K8sUtilService, Project, ServiceMeshGroup } from '../../../../core/public-api';
|
|
6
|
-
import { CommonLayoutContextService } from '../../../../page-scaffold';
|
|
5
|
+
import { Cluster, K8sUtilService, Project, ServiceMeshGroup, KubernetesResource } from '../../../../core/public-api';
|
|
6
|
+
import { CommonLayoutContextService } from '../../../../page-scaffold/public-api';
|
|
7
7
|
import { ResourceListBase } from '../../base-list';
|
|
8
8
|
import { ResourceSelectContextService } from '../../context.service';
|
|
9
9
|
import { K8sApiService } from './../../../../api/public-api';
|
|
10
|
-
import { KubernetesResource } from './../../../../core';
|
|
11
10
|
import { DisableFn, NamespaceDataItem, SelectedNamespaceValue } from './../../types';
|
|
12
11
|
import * as i0 from "@angular/core";
|
|
13
12
|
export declare class NamespaceListComponent extends ResourceListBase implements OnInit, OnDestroy {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { K8sUtilService, Project } from '../../../../core/public-api';
|
|
3
|
+
import { CommonLayoutContextService } from '../../../../page-scaffold/public-api';
|
|
3
4
|
import { ResourceListBase } from '../../base-list';
|
|
4
5
|
import { ResourceSelectContextService } from '../../context.service';
|
|
5
|
-
import { CommonLayoutContextService } from './../../../../page-scaffold';
|
|
6
6
|
import { ProjectDataItem } from './../../types';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ProjectListComponent extends ResourceListBase implements OnInit, OnDestroy {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { K8sApiService } from '../../api/k8s-api.service';
|
|
4
|
-
import {
|
|
4
|
+
import { Project } from '../../core/public-api';
|
|
5
|
+
import { KubernetesResourceList, Namespace, ResourceType } from '../../core/types/public-api';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ProjectService {
|
|
7
8
|
private readonly http;
|
|
8
9
|
private readonly k8sApi;
|
|
9
10
|
constructor(http: HttpClient, k8sApi: K8sApiService<ResourceType>);
|
|
10
|
-
getProjects(cluster?: string | Observable<string>, fallback?: boolean): Observable<
|
|
11
|
+
getProjects(cluster?: string | Observable<string>, fallback?: boolean): Observable<Project[]>;
|
|
11
12
|
getNamespacesByProjectAndCluster(project: string, cluster: string, params?: {
|
|
12
13
|
continue?: string;
|
|
13
14
|
}): Observable<KubernetesResourceList<Namespace>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WorkspaceParams } from '../../core';
|
|
1
|
+
import { WorkspaceParams } from '../../core/public-api';
|
|
2
2
|
export declare function getWorkspaceParams(email: string): WorkspaceParams;
|
|
3
3
|
export declare function resetWorkspaceParams(email: string): void;
|
|
4
4
|
export declare function setWorkspaceParams(params: WorkspaceParams, email: string): void;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { CurveFactory, CurveFactoryLineOnly } from 'd3';
|
|
3
3
|
import { Observable, Subject } from 'rxjs';
|
|
4
|
-
import {
|
|
5
|
-
import { StringMap } from '../../../core';
|
|
6
|
-
import { ResizeEvent } from '../../../core/public-api';
|
|
4
|
+
import { StringMap, ResizeEvent } from '../../../core/public-api';
|
|
7
5
|
import { ChartData } from '../../../view-chart/types';
|
|
8
6
|
import { ContextChartService } from '../../chart.service';
|
|
7
|
+
import { AreaMouseEvent } from '../public-api';
|
|
9
8
|
import { ChartTooltipComponent, ContextItem } from '../tooltip/tooltip.component';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
export interface AreaPosition {
|
package/chart/public-api.d.ts
CHANGED
package/chart/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChartDataItem } from '../view-chart/types';
|
|
2
2
|
import { ContextChartService } from './chart.service';
|
|
3
|
-
import { ContextItem } from './common';
|
|
3
|
+
import { ContextItem } from './common/public-api';
|
|
4
4
|
import { ViewOptions } from './types';
|
|
5
5
|
export declare enum ScaleType {
|
|
6
6
|
'TIME' = "time",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @module code
|
|
4
4
|
*/
|
|
5
5
|
import { CodeEditorActionsConfig } from '@alauda/code-editor';
|
|
6
|
-
export type IEditorConstructionOptions = import('monaco-editor').editor.IEditorConstructionOptions & {
|
|
6
|
+
export type IEditorConstructionOptions = import('monaco-editor/esm/vs/editor/editor.api').editor.IEditorConstructionOptions & {
|
|
7
7
|
language?: string;
|
|
8
8
|
tabSize?: number;
|
|
9
9
|
};
|
|
@@ -15,4 +15,5 @@ export declare const commonOptions: IEditorConstructionOptions;
|
|
|
15
15
|
export declare const readonlyOptions: IEditorConstructionOptions;
|
|
16
16
|
export declare const yamlReadOptions: IEditorConstructionOptions;
|
|
17
17
|
export declare const yamlWriteOptions: IEditorConstructionOptions;
|
|
18
|
+
export declare const textWriteOptions: IEditorConstructionOptions;
|
|
18
19
|
export declare const logsReadOptions: IEditorConstructionOptions;
|
package/code/code.module.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./code-display-dialog/component";
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "@
|
|
6
|
-
import * as i5 from "@alauda/
|
|
7
|
-
import * as i6 from "@
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "
|
|
3
|
+
import * as i2 from "./k8s-yaml-display-dialog/component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@alauda/code-editor";
|
|
6
|
+
import * as i5 from "@alauda/ui";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "../translate/translate.module";
|
|
9
|
+
import * as i8 from "./resource-yaml-display/component";
|
|
10
10
|
export declare class CodeModule {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodeModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CodeModule, [typeof i1.CodeDisplayDialogComponent, typeof i2.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CodeModule, [typeof i1.CodeDisplayDialogComponent, typeof i2.K8sYamlDisplayDialogComponent], [typeof i3.CommonModule, typeof i4.CodeEditorModule, typeof i5.DialogModule, typeof i6.FormsModule, typeof i7.TranslateModule, typeof i5.CardModule, typeof i5.CheckboxModule, typeof i8.ResourceYamlDisplayComponent], [typeof i3.CommonModule, typeof i4.CodeEditorModule, typeof i5.DialogModule, typeof i6.FormsModule, typeof i7.TranslateModule, typeof i5.CardModule, typeof i5.CheckboxModule, typeof i1.CodeDisplayDialogComponent, typeof i2.K8sYamlDisplayDialogComponent, typeof i8.ResourceYamlDisplayComponent]>;
|
|
13
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<CodeModule>;
|
|
14
14
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
-
import { YamlUtilService } from '../../core/
|
|
3
|
-
import { Arrayable } from '../../core/types/helpers';
|
|
4
|
-
import { KubernetesResource } from '../../core/types/k8s';
|
|
2
|
+
import { KubernetesResource, YamlUtilService, Arrayable } from '../../core/public-api';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class ResourceYamlDisplayComponent<T extends KubernetesResource> {
|
|
7
5
|
private readonly yamlUtil;
|
|
@@ -18,5 +16,5 @@ export declare class ResourceYamlDisplayComponent<T extends KubernetesResource>
|
|
|
18
16
|
viewActions: import("@alauda/code-editor").CodeEditorActionsConfig;
|
|
19
17
|
conciseChange(value: boolean): void;
|
|
20
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceYamlDisplayComponent<any>, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceYamlDisplayComponent<any>, "acl-resource-yaml-display", never, { "hasWrapper": { "alias": "hasWrapper"; "required": false; }; "conciseEnable": { "alias": "conciseEnable"; "required": false; }; "manageFieldActionEnable": { "alias": "manageFieldActionEnable"; "required": false; }; "resource": { "alias": "resource"; "required": false; }; }, {}, never, never,
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceYamlDisplayComponent<any>, "acl-resource-yaml-display", never, { "hasWrapper": { "alias": "hasWrapper"; "required": false; }; "conciseEnable": { "alias": "conciseEnable"; "required": false; }; "manageFieldActionEnable": { "alias": "manageFieldActionEnable"; "required": false; }; "resource": { "alias": "resource"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
20
|
}
|
|
@@ -3,7 +3,7 @@ import { Location } from '@angular/common';
|
|
|
3
3
|
import { Injector, OnInit } from '@angular/core';
|
|
4
4
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
-
import { InterceptDeactivateService } from '
|
|
6
|
+
import { InterceptDeactivateService } from '../public-api';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* http://confluence.alauda.cn/display/FRON/Issue-Angular+related
|
|
@@ -59,3 +59,4 @@ export declare const CRYPTO_RANDOM_HEADER_KEY = "X-Param-Init";
|
|
|
59
59
|
export declare const CRYPTO_KEY = "alauda";
|
|
60
60
|
export declare const PLATFORM_OPS_MODE = "platform-ops-mode";
|
|
61
61
|
export declare const DEFAULT_CONTAINER_ANNOTATION = "kubectl.kubernetes.io/default-container";
|
|
62
|
+
export declare const NOTIFICATION_SERVER_NAME = "platform-email-server";
|
|
@@ -1,12 +1,94 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const DOMAIN_PATTERN_BASE = "^([\\da-z.-]+)\\.([a-z.]{2,6})$";
|
|
2
|
+
export declare const IP_PATTERN_BASE = "^(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d{1,2})\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d{1,2})$";
|
|
3
|
+
export declare const IPV6_PATTERN_BASE = "^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]+|::(ffff(:0{1,4})?:)?((25[0-5]|(2[0-4]|1?[0-9])?[0-9]).){3}(25[0-5]|(2[0-4]|1?[0-9])?[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1?[0-9])?[0-9]).){3}(25[0-5]|(2[0-4]|1?[0-9])?[0-9]))$";
|
|
4
|
+
export declare const PORT_PATTERN: {
|
|
5
|
+
pattern: RegExp;
|
|
6
|
+
tip: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const IP_ADDRESS_HOSTNAME_PATTERN: {
|
|
9
|
+
pattern: RegExp;
|
|
10
|
+
tip: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const IPV6_ADDRESS_HOSTNAME_PATTERN: {
|
|
13
|
+
pattern: RegExp;
|
|
14
|
+
tip: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const IP_ADDRESS_HOSTNAME_PORT_PATTERN: {
|
|
17
|
+
pattern: RegExp;
|
|
18
|
+
tip: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const IPV6_ADDRESS_HOSTNAME_PORT_PATTERN: {
|
|
21
|
+
pattern: RegExp;
|
|
22
|
+
tip: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const IPV4_IPV6_ADDRESS_HOSTNAME_PORT_PATTERN: {
|
|
2
25
|
pattern: RegExp;
|
|
3
26
|
tip: string;
|
|
4
27
|
};
|
|
28
|
+
export declare const IP_ADDRESS_HOSTNAME_PATTERN_EXTEND: {
|
|
29
|
+
pattern: RegExp;
|
|
30
|
+
tip: string;
|
|
31
|
+
};
|
|
32
|
+
export declare const IP_ADDRESS_SUBNET_PATTERN: {
|
|
33
|
+
pattern: RegExp;
|
|
34
|
+
tip: string;
|
|
35
|
+
};
|
|
36
|
+
export declare const DOMAIN_PATTERN: {
|
|
37
|
+
pattern: RegExp;
|
|
38
|
+
placeholder: string;
|
|
39
|
+
tip: string;
|
|
40
|
+
};
|
|
5
41
|
export declare const IP_ADDRESS_PATTERN: {
|
|
6
42
|
pattern: RegExp;
|
|
7
43
|
placeholder: string;
|
|
8
44
|
tip: string;
|
|
9
45
|
};
|
|
46
|
+
export declare const IP_PATTERN: {
|
|
47
|
+
pattern: RegExp;
|
|
48
|
+
tip: string;
|
|
49
|
+
};
|
|
50
|
+
export declare const IP_V6_PATTERN: {
|
|
51
|
+
pattern: RegExp;
|
|
52
|
+
tip: string;
|
|
53
|
+
};
|
|
54
|
+
export declare const IP_V6_ADDRESS_PATTERN: {
|
|
55
|
+
pattern: RegExp;
|
|
56
|
+
};
|
|
57
|
+
export declare const IP_V4_OR_V6_PATTERN: {
|
|
58
|
+
pattern: RegExp;
|
|
59
|
+
};
|
|
60
|
+
export declare const IP_ADDRESS_PORT_PATTERN: {
|
|
61
|
+
pattern: RegExp;
|
|
62
|
+
tip: string;
|
|
63
|
+
};
|
|
64
|
+
export declare const INT_ZERO_PATTERN: {
|
|
65
|
+
pattern: RegExp;
|
|
66
|
+
tip: string;
|
|
67
|
+
};
|
|
68
|
+
export declare const POSITIVE_INT_PATTERN: {
|
|
69
|
+
pattern: RegExp;
|
|
70
|
+
tip: string;
|
|
71
|
+
};
|
|
72
|
+
export declare const K8S_RESOURCE_NAME_BASE: {
|
|
73
|
+
pattern: RegExp;
|
|
74
|
+
tip: string;
|
|
75
|
+
};
|
|
76
|
+
export declare const K8S_RESOURCE_LABEL_KEY_PREFIX_PATTERN: {
|
|
77
|
+
pattern: RegExp;
|
|
78
|
+
tip: string;
|
|
79
|
+
};
|
|
80
|
+
export declare const K8S_RESOURCE_LABEL_KEY_NAME_PATTERN: {
|
|
81
|
+
pattern: RegExp;
|
|
82
|
+
tip: string;
|
|
83
|
+
};
|
|
84
|
+
export declare const K8S_RESOURCE_LABEL_VALUE_PATTERN: {
|
|
85
|
+
pattern: RegExp;
|
|
86
|
+
tip: string;
|
|
87
|
+
};
|
|
88
|
+
export declare const K8S_RESOURCE_NAME_START_WITH_CHARS_ONLY: {
|
|
89
|
+
pattern: RegExp;
|
|
90
|
+
tip: string;
|
|
91
|
+
};
|
|
10
92
|
export declare const HTTP_IP_OR_DOMAIN_PATTERN: {
|
|
11
93
|
pattern: RegExp;
|
|
12
94
|
tip: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { StringMap } from '../types/commons';
|
|
1
2
|
export declare enum GenericStatusIcon {
|
|
2
3
|
Check = "check_circle_s",
|
|
3
4
|
Running = "arrow_right_circle_s",
|
|
@@ -26,3 +27,5 @@ export declare enum GenericStatusColor {
|
|
|
26
27
|
Empty = "rgb(var(--aui-color-n-4))",
|
|
27
28
|
Missing = "rgb(var(--aui-color-n-6))"
|
|
28
29
|
}
|
|
30
|
+
export declare const DefaultStatusColorMapper: StringMap;
|
|
31
|
+
export declare const DefaultStatusIconMapper: StringMap;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DialogService } from '@alauda/ui';
|
|
2
2
|
import { Component } from '@angular/core';
|
|
3
3
|
import { ActivatedRouteSnapshot, CanDeactivate, RouterStateSnapshot } from '@angular/router';
|
|
4
|
-
import { TranslateService } from '../../translate/
|
|
4
|
+
import { TranslateService } from '../../translate/public-api';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class EditPageLeaveGuardService implements CanDeactivate<Component> {
|
|
7
7
|
private readonly dialogService;
|
package/core/module.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./pipes/time.pipe";
|
|
3
|
-
import * as i2 from "./pipes/
|
|
4
|
-
import * as i3 from "./pipes/
|
|
5
|
-
import * as i4 from "./pipes/
|
|
6
|
-
import * as i5 from "./pipes/
|
|
7
|
-
import * as i6 from "./pipes/
|
|
8
|
-
import * as i7 from "./
|
|
9
|
-
import * as i8 from "./
|
|
10
|
-
import * as i9 from "./directives/
|
|
11
|
-
import * as i10 from "./directives/
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "
|
|
17
|
-
import * as i16 from "./pipes/
|
|
18
|
-
import * as i17 from "./pipes/
|
|
19
|
-
import * as i18 from "./pipes/
|
|
20
|
-
import * as i19 from "./pipes/
|
|
3
|
+
import * as i2 from "./pipes/crontab-next.pipe";
|
|
4
|
+
import * as i3 from "./pipes/marked.pipe";
|
|
5
|
+
import * as i4 from "./pipes/page-env.pipe";
|
|
6
|
+
import * as i5 from "./pipes/timezone-display.pipe";
|
|
7
|
+
import * as i6 from "./pipes/cron-human-readable.pipe";
|
|
8
|
+
import * as i7 from "./directives/feature-gate.directive";
|
|
9
|
+
import * as i8 from "./directives/scroll-to-first-invalid.directive";
|
|
10
|
+
import * as i9 from "./directives/last-form-item.directive";
|
|
11
|
+
import * as i10 from "./directives/readonly-field.directive";
|
|
12
|
+
import * as i11 from "@angular/common";
|
|
13
|
+
import * as i12 from "@angular/forms";
|
|
14
|
+
import * as i13 from "../scm/pure-pipe/module";
|
|
15
|
+
import * as i14 from "./pipes/parse-json-translate.pipe";
|
|
16
|
+
import * as i15 from "./pipes/field-not-available.pipe";
|
|
17
|
+
import * as i16 from "./pipes/img-header.pipe";
|
|
18
|
+
import * as i17 from "./pipes/img-theme.pipe";
|
|
19
|
+
import * as i18 from "./pipes/safe.pipe";
|
|
20
|
+
import * as i19 from "./pipes/sanitize.pipe";
|
|
21
21
|
import * as i20 from "./directives/page-header-content.directive";
|
|
22
22
|
import * as i21 from "./directives/intercept-deactivate.directive";
|
|
23
23
|
import * as i22 from "./directives/disabled.directive";
|
|
@@ -28,6 +28,6 @@ import * as i26 from "./pipes/k8s-util.pipe.module";
|
|
|
28
28
|
import * as i27 from "../effect-directive/module";
|
|
29
29
|
export declare class CoreModule {
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoreModule, never>;
|
|
31
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreModule, [typeof i1.StandardDatePipe, typeof i2.
|
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreModule, [typeof i1.StandardDatePipe, typeof i2.CrontabNextPipe, typeof i3.MarkedPipe, typeof i4.LocaleTransformPipe, typeof i4.ThemeTransformPipe, typeof i5.TimezoneDisplayPipe, typeof i6.CronHumanReadablePipe, typeof i7.FeatureGateDirective, typeof i8.ScrollToFirstInvalidMarkerDirective, typeof i9.FormItemMarginEffectDirective, typeof i10.SpanComponent], [typeof i11.CommonModule, typeof i12.ReactiveFormsModule, typeof i10.ReadonlyFieldDirective, typeof i13.PurePipeModule, typeof i14.ParseJsonTranslatePipe, typeof i15.FieldNotAvailablePipe, typeof i16.ImgHeaderPipe, typeof i17.ImgThemePipe, typeof i18.SafePipe, typeof i19.SanitizePipe, typeof i1.RelativeTimePipe, typeof i20.PageHeaderContentDirective, typeof i1.StandardTimePipe, typeof i8.ScrollToFirstInvalidDirective, typeof i21.InterceptDeactivateDirective, typeof i22.DisabledDirective, typeof i23.ClickOutsideDirective, typeof i24.ScrollBorderObserverDirective, typeof i25.ResizeDirective, typeof i26.K8sUtilPipeModule, typeof i27.EffectDirectiveModule], [typeof i1.StandardDatePipe, typeof i2.CrontabNextPipe, typeof i3.MarkedPipe, typeof i4.LocaleTransformPipe, typeof i4.ThemeTransformPipe, typeof i5.TimezoneDisplayPipe, typeof i6.CronHumanReadablePipe, typeof i7.FeatureGateDirective, typeof i8.ScrollToFirstInvalidMarkerDirective, typeof i9.FormItemMarginEffectDirective, typeof i10.ReadonlyFieldDirective, typeof i13.PurePipeModule, typeof i14.ParseJsonTranslatePipe, typeof i15.FieldNotAvailablePipe, typeof i16.ImgHeaderPipe, typeof i17.ImgThemePipe, typeof i18.SafePipe, typeof i19.SanitizePipe, typeof i1.RelativeTimePipe, typeof i20.PageHeaderContentDirective, typeof i1.StandardTimePipe, typeof i8.ScrollToFirstInvalidDirective, typeof i21.InterceptDeactivateDirective, typeof i22.DisabledDirective, typeof i23.ClickOutsideDirective, typeof i24.ScrollBorderObserverDirective, typeof i25.ResizeDirective, typeof i26.K8sUtilPipeModule, typeof i27.EffectDirectiveModule]>;
|
|
32
32
|
static ɵinj: i0.ɵɵInjectorDeclaration<CoreModule>;
|
|
33
33
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '../../translate/translate.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DurationPipe implements PipeTransform {
|
|
5
|
+
private readonly translate;
|
|
6
|
+
constructor(translate: TranslateService);
|
|
7
|
+
transform(ms: any): string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DurationPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DurationPipe, "aclDuration", true>;
|
|
10
|
+
}
|
|
@@ -9,5 +9,5 @@ export declare class ImgThemePipe implements PipeTransform, OnDestroy {
|
|
|
9
9
|
transform(value: string): string;
|
|
10
10
|
ngOnDestroy(): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImgThemePipe, never>;
|
|
12
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ImgThemePipe, "aclImageTheme",
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ImgThemePipe, "aclImageTheme", true>;
|
|
13
13
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* @module utils
|
|
4
4
|
*/
|
|
5
5
|
import { Injector, PipeTransform } from '@angular/core';
|
|
6
|
-
import { BaseNormalizeTypeParams, KubernetesResource } from '../../core';
|
|
6
|
+
import { BaseNormalizeTypeParams, KubernetesResource } from '../../core/public-api';
|
|
7
7
|
import { TranslatePipe } from '../../translate/translate.pipe';
|
|
8
|
-
import { K8sUtilService } from '../services';
|
|
8
|
+
import { K8sUtilService } from '../services/public-api';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class K8sAnnotationPipe implements PipeTransform {
|
|
11
11
|
private readonly k8sUtil;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ThemeService } from '@alauda/ui';
|
|
2
2
|
import { PipeTransform, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
3
|
-
import { TranslateService } from '../../translate/
|
|
3
|
+
import { TranslateService } from '../../translate/public-api';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* 业务中存在需要根据界面语言和主题环境切换而变化的数据
|
|
@@ -5,8 +5,8 @@ export * from './img-theme.pipe';
|
|
|
5
5
|
export * from './k8s-util.pipe';
|
|
6
6
|
export * from './keyvalue.pipe';
|
|
7
7
|
export * from './safe.pipe';
|
|
8
|
+
export * from './sanitize.pipe';
|
|
8
9
|
export * from './time.pipe';
|
|
9
|
-
export * from './trust-url.pipe';
|
|
10
10
|
export * from './page-env.pipe';
|
|
11
11
|
export * from './marked.pipe';
|
|
12
12
|
export * from './parse-json-translate.pipe';
|
|
@@ -15,3 +15,4 @@ export * from './cron-human-readable.pipe';
|
|
|
15
15
|
export * from './k8s-util.pipe.module';
|
|
16
16
|
export { ParseJsonPipe } from './parse-json.pipe';
|
|
17
17
|
export { MinimumFormatPipe } from './minimum-format.pipe';
|
|
18
|
+
export * from './duration.pipe';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SanitizePipe implements PipeTransform {
|
|
5
|
+
private readonly sanitizer;
|
|
6
|
+
constructor(sanitizer: DomSanitizer);
|
|
7
|
+
transform(value: string, type?: 'html' | 'url'): SafeHtml;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SanitizePipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SanitizePipe, "aclSanitize", true>;
|
|
10
|
+
}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core';
|
|
6
6
|
import { ConfigType } from 'dayjs';
|
|
7
|
-
import { TranslateService } from '../../translate/
|
|
8
|
-
import { TimeService } from '../services';
|
|
7
|
+
import { TranslateService } from '../../translate/public-api';
|
|
8
|
+
import { TimeService } from '../services/public-api';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class RelativeTimePipe implements PipeTransform, OnDestroy {
|
|
11
11
|
private readonly cdr;
|
package/core/public-api.d.ts
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* @preferred
|
|
5
5
|
*/
|
|
6
6
|
/** imports */
|
|
7
|
-
export * from './constants';
|
|
8
|
-
export * from './abstract';
|
|
9
|
-
export * from './directives';
|
|
10
|
-
export * from './guards';
|
|
11
|
-
export * from './pipes';
|
|
12
|
-
export * from './services';
|
|
13
|
-
export * from './utils';
|
|
7
|
+
export * from './constants/public-api';
|
|
8
|
+
export * from './abstract/public-api';
|
|
9
|
+
export * from './directives/public-api';
|
|
10
|
+
export * from './guards/public-api';
|
|
11
|
+
export * from './pipes/public-api';
|
|
12
|
+
export * from './services/public-api';
|
|
13
|
+
export * from './utils/public-api';
|
|
14
14
|
export * from './module';
|
|
15
|
-
export * from './types';
|
|
16
|
-
export * from './components';
|
|
15
|
+
export * from './types/public-api';
|
|
16
|
+
export * from './components/public-api';
|