@alauda-fe/common 1.0.0-next.0 → 1.0.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +1 -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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { StringMap } from '
|
|
2
|
+
import { StringMap } from '../../../core/public-api';
|
|
3
3
|
import { BaseErrorsMapper } from '../base-errors-mapper';
|
|
4
4
|
import { ErrorsMapperFn } from '../types';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, ApplicationRef, ChangeDetectorRef, ComponentFactoryResolver, Injector, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormGroupDirective, NgControl, NgForm } from '@angular/forms';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { StringMap } from '
|
|
4
|
+
import { StringMap } from '../../core/public-api';
|
|
5
5
|
import { BaseErrorsMapper } from './base-errors-mapper';
|
|
6
6
|
import { ErrorsMapperFn } from './types';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractControl } from '@angular/forms';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
declare const LabelsEditorComponent_base: new () => import("../../core").BaseNestedFormControl<Record<string, string>, Pair[]>;
|
|
3
|
+
declare const LabelsEditorComponent_base: new () => import("../../core/public-api").BaseNestedFormControl<Record<string, string>, Pair[]>;
|
|
4
4
|
export declare class LabelsEditorComponent extends LabelsEditorComponent_base {
|
|
5
5
|
K8S_RESOURCE_LABEL_VALUE_PATTERN: {
|
|
6
6
|
pattern: RegExp;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AbstractControl } from '@angular/forms';
|
|
2
|
-
import { TaintEffect } from '../../core';
|
|
2
|
+
import { TaintEffect } from '../../core/public-api';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
declare const TaintsEditorComponent_base: new () => import("../../core").BaseNestedFormControl<Taint[], Taint[]>;
|
|
4
|
+
declare const TaintsEditorComponent_base: new () => import("../../core/public-api").BaseNestedFormControl<Taint[], Taint[]>;
|
|
5
5
|
export declare class TaintsEditorComponent extends TaintsEditorComponent_base {
|
|
6
6
|
effects: TaintEffect[];
|
|
7
7
|
addTaint(): void;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NotificationService } from '@alauda/ui';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
import { ValueOf } from '../../core/public-api';
|
|
5
|
+
import { TranslateService } from '../../translate/public-api';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare const FileResultType: {
|
|
8
|
+
readonly ARRAY_BUFFER: "ArrayBuffer";
|
|
9
|
+
readonly BINARY_STRING: "BinaryString";
|
|
10
|
+
readonly DATA_URL: "DataURL";
|
|
11
|
+
readonly TEXT: "Text";
|
|
12
|
+
};
|
|
13
|
+
export type FileResultType = ValueOf<typeof FileResultType>;
|
|
14
|
+
export type FileResult = string | ArrayBuffer;
|
|
15
|
+
export declare class UploadFileComponent implements ControlValueAccessor {
|
|
16
|
+
private readonly notification;
|
|
17
|
+
private readonly translate;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
accept: string;
|
|
20
|
+
multiple: boolean;
|
|
21
|
+
resultType: FileResultType;
|
|
22
|
+
fileInput: ElementRef<HTMLInputElement>;
|
|
23
|
+
valueChange: (ev: FileResult | FileResult[]) => void;
|
|
24
|
+
constructor(notification: NotificationService, translate: TranslateService);
|
|
25
|
+
onClick(): void;
|
|
26
|
+
onChange(e: Event): Promise<void>;
|
|
27
|
+
writeValue(): void;
|
|
28
|
+
registerOnChange(fn: any): void;
|
|
29
|
+
registerOnTouched(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadFileComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadFileComponent, "acl-upload-file", never, { "disabled": { "alias": "disabled"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "resultType": { "alias": "resultType"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
32
|
+
}
|
|
@@ -2,7 +2,7 @@ export * from './module';
|
|
|
2
2
|
export * from './utils';
|
|
3
3
|
export * from './dns1123-subdomain';
|
|
4
4
|
export * from './resource-limit';
|
|
5
|
-
export * from './strong-password';
|
|
5
|
+
export * from './strong-password/public-api';
|
|
6
6
|
export * from './not-be-validator.directive';
|
|
7
7
|
export * from './one-of-validator.directive';
|
|
8
8
|
export * from './function-validator.directive';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractControl, AsyncValidatorFn, ValidatorFn } from '@angular/forms';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { LimitRange, LimitRangeItem, RESOURCE_MAC_TYPES } from '../../core';
|
|
3
|
+
import { LimitRange, LimitRangeItem, RESOURCE_MAC_TYPES } from '../../core/public-api';
|
|
4
4
|
import { TranslateService } from '../../translate/public-api';
|
|
5
5
|
export type AvailableResourceType = (typeof RESOURCE_MAC_TYPES)[number];
|
|
6
6
|
export interface ResourceControl {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
|
-
import { TranslateService } from '../../translate/
|
|
2
|
+
import { TranslateService } from '../../translate/public-api';
|
|
3
3
|
export declare const STRONG_PASSWORD_SPECIAL_CHARS = "~!@#$%^&*()-_=+?";
|
|
4
4
|
export declare function randomPassword({ length, symbols, }?: {
|
|
5
5
|
length?: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { GraphStoreService } from '../graph-store.service';
|
|
3
3
|
import { OriginX, OriginY, TransformAction, TransformState } from '../types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class GraphCanvasComponent implements OnInit, AfterViewInit {
|
|
5
|
+
export declare class GraphCanvasComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
6
6
|
private readonly graphStore;
|
|
7
7
|
minScale: number;
|
|
8
8
|
maxScale: number;
|
|
@@ -32,6 +32,7 @@ export declare class GraphCanvasComponent implements OnInit, AfterViewInit {
|
|
|
32
32
|
constructor(graphStore: GraphStoreService);
|
|
33
33
|
ngOnInit(): void;
|
|
34
34
|
ngAfterViewInit(): void;
|
|
35
|
+
ngOnDestroy(): void;
|
|
35
36
|
handleWheelEvent(e: WheelEvent): void;
|
|
36
37
|
handleMouseDown(e: MouseEvent): void;
|
|
37
38
|
handleMouseMove(e: MouseEvent): void;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { GraphNode, NodeID } from './types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class GraphStoreService {
|
|
4
|
-
private nodeStore;
|
|
4
|
+
private readonly nodeStore;
|
|
5
5
|
private surfaceNode;
|
|
6
6
|
private scale;
|
|
7
7
|
private readonly nodeChanged$$;
|
|
8
8
|
private readonly nodeChanged$;
|
|
9
|
+
private readonly resizeObserver;
|
|
9
10
|
registerSurfaceNode(surface: GraphNode): void;
|
|
10
11
|
registerNode(id: NodeID, node: GraphNode): void;
|
|
11
12
|
unregisterNode(id: NodeID): void;
|
|
@@ -14,6 +15,7 @@ export declare class GraphStoreService {
|
|
|
14
15
|
nodeChanged(): import("rxjs").Observable<void>;
|
|
15
16
|
getScale(): number;
|
|
16
17
|
setScale(scale: number): number;
|
|
18
|
+
disconnectObserver(): void;
|
|
17
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<GraphStoreService, never>;
|
|
18
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<GraphStoreService>;
|
|
19
21
|
}
|
package/graph-canvas/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
export interface TransformState {
|
|
2
3
|
origin: [OriginX, OriginY];
|
|
3
4
|
translate: readonly [number, number];
|
|
@@ -23,6 +24,7 @@ export type TransformAction = (transform: TransformState, rects: Rects) => Parti
|
|
|
23
24
|
export type NodeID = string | number;
|
|
24
25
|
export interface GraphNode {
|
|
25
26
|
getRect: () => Rect;
|
|
27
|
+
el?: ElementRef<HTMLElement>;
|
|
26
28
|
}
|
|
27
29
|
export type OriginX = 'center' | 'left' | 'right';
|
|
28
30
|
export type OriginY = 'center' | 'top' | 'bottom';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Observable, ReplaySubject, Subject } from 'rxjs';
|
|
2
|
-
import { Dictionary } from '../core';
|
|
2
|
+
import { Dictionary } from '../core/public-api';
|
|
3
3
|
import { GridLayoutComponent } from './components/grid/component';
|
|
4
4
|
import { GridItemComponent } from './components/grid-items/component';
|
|
5
|
-
import { DragActionType, GridItemClientRect, GridItemRenderData, GridLayout, GridLayoutItem } from '
|
|
5
|
+
import { DragActionType, GridItemClientRect, GridItemRenderData, GridLayout, GridLayoutItem } from './public-api';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class GridLayoutService {
|
|
8
8
|
gridComponent: GridLayoutComponent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementRef, Renderer2, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { GridItemPlaceholderDirective } from './directives/placeholder.directive';
|
|
3
|
-
import { GridItemClientRect, GridItemRenderData } from '
|
|
3
|
+
import { GridItemClientRect, GridItemRenderData } from './public-api';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class GridPlaceholderService {
|
|
6
6
|
private readonly renderer;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { GridItemClientRect } from '
|
|
1
|
+
import { GridItemClientRect } from '../public-api';
|
|
2
2
|
export declare function getClientRectSnapshot(element: Element): GridItemClientRect;
|
|
@@ -17,7 +17,6 @@ export declare class HelpDocumentComponent implements OnDestroy {
|
|
|
17
17
|
small: boolean;
|
|
18
18
|
destroy$$: Subject<void>;
|
|
19
19
|
close: EventEmitter<void>;
|
|
20
|
-
safeUrl: import("@angular/platform-browser").SafeResourceUrl;
|
|
21
20
|
constructor(data: {
|
|
22
21
|
rawUrl: string;
|
|
23
22
|
title: string;
|
|
@@ -4,10 +4,19 @@ import { Observable } from 'rxjs';
|
|
|
4
4
|
import { TranslateService } from '../translate/translate.service';
|
|
5
5
|
import { HelpDocumentService } from './service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export declare enum PRODUCT_BASE_HREF_MAP {
|
|
8
|
+
devops = "/console-devops-docs/",
|
|
9
|
+
acp = "/console-acp-docs/",
|
|
10
|
+
asm = "/console-asm-docs/",
|
|
11
|
+
dataservices = "/console-dataservices-docs/",
|
|
12
|
+
cec = "/console-cec-docs/",
|
|
13
|
+
platform = "/console-platform-docs/",
|
|
14
|
+
portal = "/console-portal-docs/"
|
|
15
|
+
}
|
|
7
16
|
export interface DocsOption {
|
|
8
17
|
type?: 'popover' | 'page';
|
|
9
18
|
title?: string;
|
|
10
|
-
product?:
|
|
19
|
+
product?: keyof typeof PRODUCT_BASE_HREF_MAP;
|
|
11
20
|
path?: string;
|
|
12
21
|
rawUrl?: string;
|
|
13
22
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { OnDestroy, OnInit, TemplateRef, Injector } from '@angular/core';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
|
-
import { KubernetesResource, KubernetesResourceList, ScrollBorderObserverDirective } from '../../core';
|
|
7
|
+
import { KubernetesResource, KubernetesResourceList, ScrollBorderObserverDirective } from '../../core/public-api';
|
|
8
8
|
import { TranslateService } from '../../translate/public-api';
|
|
9
9
|
import { StreamListLoader } from '../types';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { HttpErrorResponse } from '@angular/common/http';
|
|
6
6
|
import { Observable, ReplaySubject } from 'rxjs';
|
|
7
|
-
import { KubernetesResource, KubernetesResourceList, ResourceListParams, Status } from '../core';
|
|
7
|
+
import { KubernetesResource, KubernetesResourceList, ResourceListParams, Status } from '../core/public-api';
|
|
8
8
|
import { ConfigWithParams, ConfigWithRoute, ItemsScanner, ListParams, LoadSnapshot, LoadState, StreamListLoader } from './types';
|
|
9
9
|
export declare class K8SResourceList<R extends KubernetesResource = KubernetesResource, Q extends object = ResourceListParams, P extends Q & ListParams = Q & ListParams> implements StreamListLoader<KubernetesResourceList<R>, R> {
|
|
10
10
|
private readonly reloadAction$$;
|
|
@@ -3,7 +3,7 @@ import { Signal } from '@angular/core';
|
|
|
3
3
|
import { Params } from '@angular/router';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { WatchAPIResponse } from '../api/public-api';
|
|
6
|
-
import { KubernetesResource, KubernetesResourceList, Status } from '../core';
|
|
6
|
+
import { KubernetesResource, KubernetesResourceList, Status } from '../core/public-api';
|
|
7
7
|
export declare class K8SResourcePagedList<R extends KubernetesResource = KubernetesResource, P = unknown> {
|
|
8
8
|
private readonly config;
|
|
9
9
|
private readonly reload$$;
|
|
@@ -6,7 +6,7 @@ import { HttpErrorResponse } from '@angular/common/http';
|
|
|
6
6
|
import { ActivatedRoute } from '@angular/router';
|
|
7
7
|
import { Observable } from 'rxjs';
|
|
8
8
|
import { WatchAPIResponse } from '../api/types';
|
|
9
|
-
import { StringMap, KubernetesResource, KubernetesResourceList, Status } from '../core';
|
|
9
|
+
import { StringMap, KubernetesResource, KubernetesResourceList, Status } from '../core/public-api';
|
|
10
10
|
import { K8SResourceList } from './k8s-resource-list';
|
|
11
11
|
export type Watcher<R extends KubernetesResource, Q> = (seedVersion: string, params?: Q) => Observable<WatchAPIResponse<R>>;
|
|
12
12
|
export type InsertFn<R> = (items: R[], res: R, hasMore: boolean) => R[];
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { ActivatedRoute } from '@angular/router';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
|
-
import { ResourceListParams, StringMap, LabelSelectorRequirement } from '../core';
|
|
7
|
+
import { ResourceListParams, StringMap, LabelSelectorRequirement } from '../core/public-api';
|
|
8
8
|
/**
|
|
9
9
|
* convert selector.matchLabels to string
|
|
10
10
|
* refers to: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ResourceWriteParams } from '../api/types';
|
|
4
|
+
import { ANNOTATIONS, KubernetesResource, StringMap } from '../core/public-api';
|
|
5
|
+
import { K8sUtilService, LABELS } from '../core/services/k8s-util.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class K8sSharedUtilService<R extends string = string> extends K8sUtilService<R> {
|
|
8
|
+
constructor(injector: Injector);
|
|
9
|
+
/**
|
|
10
|
+
* 更新 Annotation 或 Label
|
|
11
|
+
*/
|
|
12
|
+
updatePart<T extends KubernetesResource>(params: ResourceWriteParams<R, T> & {
|
|
13
|
+
readonlyKeys?: Array<string | RegExp>;
|
|
14
|
+
part: typeof ANNOTATIONS | typeof LABELS;
|
|
15
|
+
getResourceSpec?: (stringMap: StringMap) => Record<string, unknown>;
|
|
16
|
+
dialogClass?: string;
|
|
17
|
+
}): Observable<T>;
|
|
18
|
+
updateDisplayName<T extends KubernetesResource>({ type, cluster, resource, }: {
|
|
19
|
+
type?: R;
|
|
20
|
+
cluster?: string;
|
|
21
|
+
resource: T;
|
|
22
|
+
}, validateMaxLength?: boolean): Observable<T>;
|
|
23
|
+
updateDescription<T extends KubernetesResource>({ type, cluster, resource, }: {
|
|
24
|
+
type?: R;
|
|
25
|
+
cluster?: string;
|
|
26
|
+
resource: T;
|
|
27
|
+
}): Observable<T>;
|
|
28
|
+
/**
|
|
29
|
+
* 单项目绑定切换至多项目绑定时,兼容之前的 project name 形式
|
|
30
|
+
* 老格式 cpaas.io/project: "ALL_ALL" 或者 project.cpaas.io/name: "ALL_ALL"
|
|
31
|
+
* 新格式 project.cpaas.io/ALL_ALL: "true"
|
|
32
|
+
* @param {(KubernetesResource | string[])} resource
|
|
33
|
+
* @returns
|
|
34
|
+
* @memberof K8sUtilService
|
|
35
|
+
*/
|
|
36
|
+
getProjectNames(resource: KubernetesResource | string[]): string[];
|
|
37
|
+
getProjectLabels(projects: string[], value?: string): StringMap;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<K8sSharedUtilService<any>, never>;
|
|
39
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<K8sSharedUtilService<any>>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @packageDocumentation
|
|
3
|
+
* @module k8s-shared
|
|
4
|
+
* @preferred
|
|
5
|
+
*/
|
|
6
|
+
export * from './update-description-dialog/component';
|
|
7
|
+
export * from './update-display-name-dialog/component';
|
|
8
|
+
export * from './update-key-value-dialog/component';
|
|
9
|
+
export * from './k8s-shared-util.service';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DialogRef } from '@alauda/ui';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { K8sApiService } from '../../api/k8s-api.service';
|
|
4
|
+
import { K8sUtilService, KubernetesResource, ResourceType } from '../../core/public-api';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UpdateDescriptionDialogComponent<T extends KubernetesResource> {
|
|
7
|
+
private readonly dialogRef;
|
|
8
|
+
private readonly k8sApi;
|
|
9
|
+
private readonly k8sUtil;
|
|
10
|
+
data: {
|
|
11
|
+
type?: ResourceType;
|
|
12
|
+
cluster?: string;
|
|
13
|
+
resource: T;
|
|
14
|
+
};
|
|
15
|
+
description: string;
|
|
16
|
+
confirming$$: BehaviorSubject<boolean>;
|
|
17
|
+
constructor(dialogRef: DialogRef, k8sApi: K8sApiService<ResourceType>, k8sUtil: K8sUtilService, data: {
|
|
18
|
+
type?: ResourceType;
|
|
19
|
+
cluster?: string;
|
|
20
|
+
resource: T;
|
|
21
|
+
});
|
|
22
|
+
confirm(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateDescriptionDialogComponent<any>, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpdateDescriptionDialogComponent<any>, "ng-component", never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DialogRef } from '@alauda/ui';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { K8sApiService } from '../../api/public-api';
|
|
4
|
+
import { K8sUtilService, KubernetesResource, ResourceType } from '../../core/public-api';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UpdateDisplayNameDialogComponent<T extends KubernetesResource> {
|
|
7
|
+
private readonly dialogRef;
|
|
8
|
+
private readonly k8sApi;
|
|
9
|
+
private readonly k8sUtil;
|
|
10
|
+
data: {
|
|
11
|
+
type?: ResourceType;
|
|
12
|
+
cluster?: string;
|
|
13
|
+
resource: T;
|
|
14
|
+
validateMaxLength?: boolean;
|
|
15
|
+
};
|
|
16
|
+
displayName: string;
|
|
17
|
+
confirming$$: BehaviorSubject<boolean>;
|
|
18
|
+
constructor(dialogRef: DialogRef, k8sApi: K8sApiService<ResourceType>, k8sUtil: K8sUtilService, data: {
|
|
19
|
+
type?: ResourceType;
|
|
20
|
+
cluster?: string;
|
|
21
|
+
resource: T;
|
|
22
|
+
validateMaxLength?: boolean;
|
|
23
|
+
});
|
|
24
|
+
confirm(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateDisplayNameDialogComponent<any>, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpdateDisplayNameDialogComponent<any>, "ng-component", never, {}, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DialogRef, MessageService } from '@alauda/ui';
|
|
2
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
|
+
import { ValidatorFn } from '@angular/forms';
|
|
4
|
+
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
5
|
+
import { StringMap } from '../../core/public-api';
|
|
6
|
+
import { TranslateService } from '../../translate/public-api';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export interface UpdateKeyValueDialogData<R = unknown, Context = unknown, T = StringMap> {
|
|
9
|
+
title?: string;
|
|
10
|
+
keyValues?: T;
|
|
11
|
+
confirmButton?: string;
|
|
12
|
+
readonlyKeys?: Array<string | RegExp>;
|
|
13
|
+
onUpdate?: (keyValues: T) => Promise<R> | Observable<R>;
|
|
14
|
+
context?: Context;
|
|
15
|
+
updateSuccessMsg?: string;
|
|
16
|
+
updateFailMsg?: string;
|
|
17
|
+
validator?: {
|
|
18
|
+
key: ValidatorFn | ValidatorFn[];
|
|
19
|
+
value?: ValidatorFn | ValidatorFn[];
|
|
20
|
+
};
|
|
21
|
+
errorMapper?: Record<string, unknown>;
|
|
22
|
+
showMessage?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare class UpdateKeyValueDialogComponent<R = unknown, Context = unknown, T = StringMap> implements OnInit, OnDestroy {
|
|
25
|
+
private readonly dialogRef;
|
|
26
|
+
private readonly message;
|
|
27
|
+
private readonly translate;
|
|
28
|
+
data: UpdateKeyValueDialogData<R, Context, T>;
|
|
29
|
+
readonly onUpdate$$: Subject<void>;
|
|
30
|
+
readonly submitting$$: BehaviorSubject<boolean>;
|
|
31
|
+
private readonly originalKeyValues;
|
|
32
|
+
keyValues: T;
|
|
33
|
+
private readonly destroy$$;
|
|
34
|
+
constructor(dialogRef: DialogRef<UpdateKeyValueDialogComponent<R, Context, T>, UpdateKeyValueDialogData<R, Context, T>>, message: MessageService, translate: TranslateService, data?: UpdateKeyValueDialogData<R, Context, T>);
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
ngOnDestroy(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateKeyValueDialogComponent<any, any, any>, [null, null, null, { optional: true; }]>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpdateKeyValueDialogComponent<any, any, any>, "ng-component", never, {}, {}, never, never, true, never>;
|
|
39
|
+
}
|
package/license/license-api.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @module license-api
|
|
4
4
|
*/
|
|
5
5
|
import { HttpClient } from '@angular/common/http';
|
|
6
|
-
import { FeatureGate, FeatureGateEnterpriseSupport } from '../core';
|
|
6
|
+
import { FeatureGate, FeatureGateEnterpriseSupport } from '../core/public-api';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare const LICENSE_FEATURE_GATE: string;
|
|
9
9
|
export declare function getResourceNum(resource?: Record<string, number>): number;
|
|
@@ -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 { LicenseService } from './license.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare const DEFAULT_LICENSE_ERROR_URL = "license-error";
|
|
@@ -4,7 +4,7 @@ import { CurveFactory, CurveFactoryLineOnly } from 'd3';
|
|
|
4
4
|
import { Observable, Subject, BehaviorSubject } from 'rxjs';
|
|
5
5
|
import { Chart, TooltipValue } from 'zz-chart';
|
|
6
6
|
import { AreaPosition, ContextItem } from '../chart/public-api';
|
|
7
|
-
import { StringMap } from '../core';
|
|
7
|
+
import { StringMap } from '../core/public-api';
|
|
8
8
|
import { ChartData, ChartDataItem, ChartStatus, XPlotLines } from '../view-chart/public-api';
|
|
9
9
|
import { CommonChartService } from './common-chart.service';
|
|
10
10
|
import { MatchUnitParams } from './helpers';
|
|
@@ -67,6 +67,7 @@ export declare class MetricChartComponent implements OnInit {
|
|
|
67
67
|
chartStatus$: Observable<ChartStatus>;
|
|
68
68
|
tooltipTranslation: boolean;
|
|
69
69
|
xPlotLines: XPlotLines;
|
|
70
|
+
xPlotEmpty: boolean;
|
|
70
71
|
yPlotLines: TooltipContext;
|
|
71
72
|
yPlotLinesTooltip: TemplateRef<unknown>;
|
|
72
73
|
yPlotLinesTooltipContext: StringMap;
|
|
@@ -111,5 +112,5 @@ export declare class MetricChartComponent implements OnInit {
|
|
|
111
112
|
private handelChartStatus;
|
|
112
113
|
private handleDateAxisLabelFormats;
|
|
113
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<MetricChartComponent, never>;
|
|
114
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MetricChartComponent, "acl-metric-chart", never, { "contextCallbackFunction": { "alias": "contextCallbackFunction"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "hideHeader": { "alias": "hideHeader"; "required": false; }; "title": { "alias": "title"; "required": false; }; "hideTitle": { "alias": "hideTitle"; "required": false; }; "chartType": { "alias": "chartType"; "required": false; }; "titleDescription": { "alias": "titleDescription"; "required": false; }; "titleDescriptionContext": { "alias": "titleDescriptionContext"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "tooltipAppendToBody": { "alias": "tooltipAppendToBody"; "required": false; }; "indicator": { "alias": "indicator"; "required": false; }; "gridOffsetTop": { "alias": "gridOffsetTop"; "required": false; }; "yAxisMinStep": { "alias": "yAxisMinStep"; "required": false; }; "rotated": { "alias": "rotated"; "required": false; }; "barType": { "alias": "barType"; "required": false; }; "metricApiParams": { "alias": "metricApiParams"; "required": false; }; "tooltipPointNameTemplate": { "alias": "tooltipPointNameTemplate"; "required": false; }; "tooltipPointTemplate": { "alias": "tooltipPointTemplate"; "required": false; }; "legendTemplate": { "alias": "legendTemplate"; "required": false; }; "legendSelectAllOperation": { "alias": "legendSelectAllOperation"; "required": false; }; "legendSelectAllName": { "alias": "legendSelectAllName"; "required": false; }; "tooltipHide": { "alias": "tooltipHide"; "required": false; }; "tooltipPointFormat": { "alias": "tooltipPointFormat"; "required": false; }; "tooltipPointTemplateContext": { "alias": "tooltipPointTemplateContext"; "required": false; }; "tooltipColumnLayout": { "alias": "tooltipColumnLayout"; "required": false; }; "hideLegend": { "alias": "hideLegend"; "required": false; }; "tooltipAutoSort": { "alias": "tooltipAutoSort"; "required": false; }; "tooltipSortMethod": { "alias": "tooltipSortMethod"; "required": false; }; "hideTooltipUnit": { "alias": "hideTooltipUnit"; "required": false; }; "leftOperation": { "alias": "leftOperation"; "required": false; }; "leftOperationContext": { "alias": "leftOperationContext"; "required": false; }; "rightOperation": { "alias": "rightOperation"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "adaptUnit": { "alias": "adaptUnit"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; "dependOnData": { "alias": "dependOnData"; "required": false; }; "customNoDataTitle": { "alias": "customNoDataTitle"; "required": false; }; "dataFormat": { "alias": "dataFormat"; "required": false; }; "customSeries": { "alias": "customSeries"; "required": false; }; "isCustomSeries": { "alias": "isCustomSeries"; "required": false; }; "chartStatus": { "alias": "chartStatus"; "required": false; }; "tooltipTranslation": { "alias": "tooltipTranslation"; "required": false; }; "xPlotLines": { "alias": "xPlotLines"; "required": false; }; "yPlotLines": { "alias": "yPlotLines"; "required": false; }; "yPlotLinesTooltip": { "alias": "yPlotLinesTooltip"; "required": false; }; "yPlotLinesTooltipContext": { "alias": "yPlotLinesTooltipContext"; "required": false; }; "yPlotLinesHide": { "alias": "yPlotLinesHide"; "required": false; }; "enableZoom": { "alias": "enableZoom"; "required": false; }; "stepLine": { "alias": "stepLine"; "required": false; }; "tooltipTitleTemplate": { "alias": "tooltipTitleTemplate"; "required": false; }; "yAccessor": { "alias": "yAccessor"; "required": false; }; "curveType": { "alias": "curveType"; "required": false; }; }, { "mouseUpEvent": "mouseUpEvent"; "markClickEvent": "markClickEvent"; "refreshEvent": "refreshEvent"; "dataCompleted": "dataCompleted"; }, never, never, false, never>;
|
|
115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetricChartComponent, "acl-metric-chart", never, { "contextCallbackFunction": { "alias": "contextCallbackFunction"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "hideHeader": { "alias": "hideHeader"; "required": false; }; "title": { "alias": "title"; "required": false; }; "hideTitle": { "alias": "hideTitle"; "required": false; }; "chartType": { "alias": "chartType"; "required": false; }; "titleDescription": { "alias": "titleDescription"; "required": false; }; "titleDescriptionContext": { "alias": "titleDescriptionContext"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "tooltipAppendToBody": { "alias": "tooltipAppendToBody"; "required": false; }; "indicator": { "alias": "indicator"; "required": false; }; "gridOffsetTop": { "alias": "gridOffsetTop"; "required": false; }; "yAxisMinStep": { "alias": "yAxisMinStep"; "required": false; }; "rotated": { "alias": "rotated"; "required": false; }; "barType": { "alias": "barType"; "required": false; }; "metricApiParams": { "alias": "metricApiParams"; "required": false; }; "tooltipPointNameTemplate": { "alias": "tooltipPointNameTemplate"; "required": false; }; "tooltipPointTemplate": { "alias": "tooltipPointTemplate"; "required": false; }; "legendTemplate": { "alias": "legendTemplate"; "required": false; }; "legendSelectAllOperation": { "alias": "legendSelectAllOperation"; "required": false; }; "legendSelectAllName": { "alias": "legendSelectAllName"; "required": false; }; "tooltipHide": { "alias": "tooltipHide"; "required": false; }; "tooltipPointFormat": { "alias": "tooltipPointFormat"; "required": false; }; "tooltipPointTemplateContext": { "alias": "tooltipPointTemplateContext"; "required": false; }; "tooltipColumnLayout": { "alias": "tooltipColumnLayout"; "required": false; }; "hideLegend": { "alias": "hideLegend"; "required": false; }; "tooltipAutoSort": { "alias": "tooltipAutoSort"; "required": false; }; "tooltipSortMethod": { "alias": "tooltipSortMethod"; "required": false; }; "hideTooltipUnit": { "alias": "hideTooltipUnit"; "required": false; }; "leftOperation": { "alias": "leftOperation"; "required": false; }; "leftOperationContext": { "alias": "leftOperationContext"; "required": false; }; "rightOperation": { "alias": "rightOperation"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "adaptUnit": { "alias": "adaptUnit"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; "dependOnData": { "alias": "dependOnData"; "required": false; }; "customNoDataTitle": { "alias": "customNoDataTitle"; "required": false; }; "dataFormat": { "alias": "dataFormat"; "required": false; }; "customSeries": { "alias": "customSeries"; "required": false; }; "isCustomSeries": { "alias": "isCustomSeries"; "required": false; }; "chartStatus": { "alias": "chartStatus"; "required": false; }; "tooltipTranslation": { "alias": "tooltipTranslation"; "required": false; }; "xPlotLines": { "alias": "xPlotLines"; "required": false; }; "xPlotEmpty": { "alias": "xPlotEmpty"; "required": false; }; "yPlotLines": { "alias": "yPlotLines"; "required": false; }; "yPlotLinesTooltip": { "alias": "yPlotLinesTooltip"; "required": false; }; "yPlotLinesTooltipContext": { "alias": "yPlotLinesTooltipContext"; "required": false; }; "yPlotLinesHide": { "alias": "yPlotLinesHide"; "required": false; }; "enableZoom": { "alias": "enableZoom"; "required": false; }; "stepLine": { "alias": "stepLine"; "required": false; }; "tooltipTitleTemplate": { "alias": "tooltipTitleTemplate"; "required": false; }; "yAccessor": { "alias": "yAccessor"; "required": false; }; "curveType": { "alias": "curveType"; "required": false; }; }, { "mouseUpEvent": "mouseUpEvent"; "markClickEvent": "markClickEvent"; "refreshEvent": "refreshEvent"; "dataCompleted": "dataCompleted"; }, never, never, false, never>;
|
|
115
116
|
}
|
package/metric-chart/types.d.ts
CHANGED
package/metric-chart/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StringMap } from '../core';
|
|
1
|
+
import { StringMap } from '../core/public-api';
|
|
2
2
|
import { ChartData, ChartDataItem } from '../view-chart/public-api';
|
|
3
3
|
import { ExpressionItem, Indicator, MetricApiParams, MetricQueryItem, MetricResult } from './types';
|
|
4
4
|
export declare const CHART_LIMIT_MAX_UNIT_VALUE = 800;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Status } from '../core';
|
|
1
|
+
import { Status } from '../core/public-api';
|
|
2
2
|
export declare function isK8sErrorStatus(e: any): e is Status;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import { DialogService, NotificationConfig, NotificationService } from '@alauda/ui';
|
|
6
6
|
import { HttpErrorResponse, HttpRequest } from '@angular/common/http';
|
|
7
7
|
import { Injector } from '@angular/core';
|
|
8
|
-
import { Callback, Status } from '../core';
|
|
9
|
-
import { TimeService } from '../core/services';
|
|
8
|
+
import { Callback, Status } from '../core/public-api';
|
|
9
|
+
import { TimeService } from '../core/services/public-api';
|
|
10
10
|
import { FeedbackNotificationProps } from './feedback-notification/component';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export interface NotificationHttpRequest<T = unknown> extends HttpRequest<T> {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @module notification
|
|
4
4
|
*/
|
|
5
5
|
import { HttpErrorResponse, HttpHandler, HttpInterceptor } from '@angular/common/http';
|
|
6
|
-
import { Status } from '../core';
|
|
6
|
+
import { Status } from '../core/public-api';
|
|
7
7
|
import { NotificationHttpRequest, NotificationUtilService } from './notification-util.service';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare const WRITABLE_METHODS: readonly ["delete", "patch", "post", "put"];
|
package/package.json
CHANGED
package/page-guard/module.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { PageGuardComponent } from './component/component';
|
|
2
|
+
import { PageGuardContentDirective, PageGuardDescriptionDirective, PageGuardOperationDirective, PageGuardImageDirective } from './component/helper-directives';
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
4
|
import * as i1 from "./component/component";
|
|
3
5
|
import * as i2 from "./component/helper-directives";
|
|
6
|
+
export declare const PAGE_GUARD_COMPONENTS: readonly [typeof PageGuardComponent, typeof PageGuardContentDirective, typeof PageGuardDescriptionDirective, typeof PageGuardOperationDirective, typeof PageGuardImageDirective];
|
|
4
7
|
export declare class PageGuardModule {
|
|
5
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageGuardModule, never>;
|
|
6
9
|
static ɵmod: i0.ɵɵNgModuleDeclaration<PageGuardModule, never, [typeof i1.PageGuardComponent, typeof i2.PageGuardContentDirective, typeof i2.PageGuardDescriptionDirective, typeof i2.PageGuardOperationDirective, typeof i2.PageGuardImageDirective], [typeof i1.PageGuardComponent, typeof i2.PageGuardContentDirective, typeof i2.PageGuardDescriptionDirective, typeof i2.PageGuardOperationDirective, typeof i2.PageGuardImageDirective]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { StringMap } from '@alauda/ui';
|
|
2
1
|
import { ChangeDetectorRef, ElementRef, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
3
2
|
import { Router } from '@angular/router';
|
|
4
|
-
import {
|
|
3
|
+
import { StringMap } from '../../../core/public-api';
|
|
4
|
+
import { NavGroupConfig, NavItemConfig } from '../nav-menu/public-api';
|
|
5
5
|
import { BreadcrumbService, BreadcrumbTemplateState } from './breadcrumb.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class BreadcrumbComponent implements OnInit, OnChanges {
|
|
@@ -2,7 +2,7 @@ import { TooltipTrigger } from '@alauda/ui';
|
|
|
2
2
|
import { OnInit, OnDestroy, AfterViewInit, ElementRef } from '@angular/core';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { IframeConfigService } from '../../..//iframe-config/config.service';
|
|
5
|
-
import { PageComponent } from '../../
|
|
5
|
+
import { PageComponent } from '../../public-api';
|
|
6
6
|
import { NavGroupConfig, NavItemConfig } from './nav-menu.types';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class NavMenuComponent implements OnInit, OnDestroy, AfterViewInit {
|