@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 { CodeEditorIntl } from '@alauda/code-editor';
|
|
2
|
-
import { TranslateService } from '../../translate/
|
|
2
|
+
import { TranslateService } from '../../translate/public-api';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* aui-code-editor 中 label 翻译依赖 CodeEditorIntl 中的具体属性值
|
|
@@ -3,7 +3,7 @@ import { Location } from '@angular/common';
|
|
|
3
3
|
import { OnDestroy } from '@angular/core';
|
|
4
4
|
import { Router } from '@angular/router';
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
|
-
import { TranslateService } from '../../translate/
|
|
6
|
+
import { TranslateService } from '../../translate/public-api';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class InterceptDeactivateService implements OnDestroy {
|
|
9
9
|
private readonly location;
|
|
@@ -6,8 +6,8 @@ import { DialogService, MessageService } from '@alauda/ui';
|
|
|
6
6
|
import { Injector } from '@angular/core';
|
|
7
7
|
import { Observable } from 'rxjs';
|
|
8
8
|
import { K8sApiService, ResourceDeleteParams } from '../../api/public-api';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { TranslateService } from '../../translate/public-api';
|
|
10
|
+
import { KubernetesResource, Status } from '../types/public-api';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare const METADATA = "metadata";
|
|
13
13
|
export declare const NAMESPACE = "namespace";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ActivatedRoute } from '@angular/router';
|
|
2
|
-
import { WorkspaceParams } from '../types';
|
|
2
|
+
import { WorkspaceParams } from '../types/public-api';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class WorkspaceHelperService {
|
|
5
5
|
private readonly baseParams$$;
|
package/core/types/k8s/core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StringMap } from '
|
|
1
|
+
import { StringMap } from '../commons';
|
|
2
2
|
/**
|
|
3
3
|
* 维护 k8s core 类型,比如 metaType,Condition,ownerRef 等等,
|
|
4
4
|
* 这里的类型基本是具体类型都依赖的基础类型。大大概率不会变化的
|
|
@@ -89,3 +89,13 @@ export interface Condition {
|
|
|
89
89
|
status?: string;
|
|
90
90
|
type?: string;
|
|
91
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* Kubernetes Subject
|
|
94
|
+
* https://github.com/kubernetes/api/blob/9b64426eca51a74faa7cc9bd732a533d339c69c2/rbac/v1/types.go#L74
|
|
95
|
+
*/
|
|
96
|
+
export interface KubernetesSubject {
|
|
97
|
+
kind: string;
|
|
98
|
+
APIGroup?: string;
|
|
99
|
+
namespace?: string;
|
|
100
|
+
name: string;
|
|
101
|
+
}
|
package/core/types/k8s/crd.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { StringMap } from '@alauda/ui';
|
|
2
1
|
import { ValueOf } from 'ts-essentials';
|
|
2
|
+
import { StringMap } from '../commons';
|
|
3
3
|
import { Condition, KubernetesResource, ObjectMeta } from './core';
|
|
4
|
-
import { Node, NodeTaint } from './raw';
|
|
4
|
+
import { ConfigMapKeyRef, Node, NodeTaint, SecretKeyRef } from './raw';
|
|
5
5
|
/**
|
|
6
|
-
* 只保留common中需要用到的crd
|
|
6
|
+
* 只保留common中需要用到的crd 扩展类
|
|
7
7
|
*/
|
|
8
8
|
export interface ModuleInfoCondition {
|
|
9
9
|
status?: 'Success' | 'Failed' | 'Processing' | 'Pending';
|
|
@@ -441,4 +441,99 @@ export interface ProductDocsEntry extends KubernetesResource {
|
|
|
441
441
|
}>;
|
|
442
442
|
};
|
|
443
443
|
}
|
|
444
|
+
export interface HelmRequestCondition {
|
|
445
|
+
lastProbeTime?: string;
|
|
446
|
+
lastTransitionTime?: string;
|
|
447
|
+
message: string;
|
|
448
|
+
reason: string;
|
|
449
|
+
status: 'True' | 'False';
|
|
450
|
+
type: string;
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* @link https://gitlab-ce.alauda.cn/container-platform/captain/-/blob/master/docs/crd.md
|
|
454
|
+
*/
|
|
455
|
+
export interface HelmRequest extends KubernetesResource {
|
|
456
|
+
spec?: HelmRequestSpec;
|
|
457
|
+
status?: {
|
|
458
|
+
phase: HelmRequestPhaseEnum;
|
|
459
|
+
notes?: string;
|
|
460
|
+
lastSpecHash?: string;
|
|
461
|
+
reason?: string;
|
|
462
|
+
conditions?: HelmRequestCondition[];
|
|
463
|
+
targetClusterSyncResults?: HelmRequestClusterSyncResults;
|
|
464
|
+
};
|
|
465
|
+
}
|
|
466
|
+
export interface HelmRequestClusterSyncResults {
|
|
467
|
+
[cluster: string]: HelmRequestClusterSyncResult;
|
|
468
|
+
}
|
|
469
|
+
export declare enum CloudHelmRequestStateEnum {
|
|
470
|
+
Pending = "Pending",
|
|
471
|
+
Running = "Running",
|
|
472
|
+
Stopped = "Stopped",
|
|
473
|
+
Failed = "Failed",
|
|
474
|
+
Empty = "Empty"
|
|
475
|
+
}
|
|
476
|
+
export interface HelmRequestClusterSyncResult {
|
|
477
|
+
appStatus: CloudHelmRequestStateEnum;
|
|
478
|
+
endpoint: string;
|
|
479
|
+
lastUpdateAt: string;
|
|
480
|
+
name: string;
|
|
481
|
+
phase: HelmRequestPhaseEnum;
|
|
482
|
+
reason: string;
|
|
483
|
+
}
|
|
484
|
+
export declare enum HelmRequestPhaseEnum {
|
|
485
|
+
Synced = "Synced",
|
|
486
|
+
Failed = "Failed",
|
|
487
|
+
Pending = "Pending",
|
|
488
|
+
Uninstalling = "Uninstalling"
|
|
489
|
+
}
|
|
490
|
+
export interface HelmRequestSpec {
|
|
491
|
+
chart: string;
|
|
492
|
+
values: Record<string, unknown>;
|
|
493
|
+
valuesFrom?: Array<{
|
|
494
|
+
configMapKeyRef?: ConfigMapKeyRef;
|
|
495
|
+
secretKeyRef?: SecretKeyRef;
|
|
496
|
+
}>;
|
|
497
|
+
clusterName?: string;
|
|
498
|
+
namespace?: string;
|
|
499
|
+
releaseName?: string;
|
|
500
|
+
version?: string;
|
|
501
|
+
projectName?: string;
|
|
502
|
+
source?: {
|
|
503
|
+
oci?: HelmRequestOci;
|
|
504
|
+
http?: HelmRequestHttp;
|
|
505
|
+
};
|
|
506
|
+
targetClusters?: {
|
|
507
|
+
clusterNames: {
|
|
508
|
+
names: string[];
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
export interface HelmRequestOci {
|
|
513
|
+
repo: string;
|
|
514
|
+
secretRef: string;
|
|
515
|
+
}
|
|
516
|
+
export interface HelmRequestHttp {
|
|
517
|
+
url: string;
|
|
518
|
+
secretRef: string;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* https://confluence.alauda.cn/pages/viewpage.action?pageId=176883470
|
|
522
|
+
*/
|
|
523
|
+
export interface UserBinding extends KubernetesResource {
|
|
524
|
+
spec?: UserBindingSpec;
|
|
525
|
+
}
|
|
526
|
+
export interface UserBindingSpec {
|
|
527
|
+
subjects: Array<{
|
|
528
|
+
kind: 'User' | 'Group' | 'ServiceAccount';
|
|
529
|
+
name: string;
|
|
530
|
+
}>;
|
|
531
|
+
roleRef: string;
|
|
532
|
+
scope: string;
|
|
533
|
+
constraint: Array<{
|
|
534
|
+
project?: string;
|
|
535
|
+
cluster?: string;
|
|
536
|
+
namespace?: string;
|
|
537
|
+
}>;
|
|
538
|
+
}
|
|
444
539
|
export {};
|
package/core/types/k8s/raw.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 此文件只维护 所有的 k8s 原生类型
|
|
3
3
|
*/
|
|
4
|
-
import { StringMap } from '
|
|
4
|
+
import { StringMap } from '../commons';
|
|
5
5
|
import { ValueOf } from '../helpers';
|
|
6
6
|
import { OpenAPIV3SchemaObject } from '../schema';
|
|
7
7
|
import { KubernetesResource, LabelSelector, LabelSelectorRequirement, ObjectMeta, ObjectReference, Condition } from './core';
|
|
@@ -587,8 +587,9 @@ export declare enum VolumeTypeEnum {
|
|
|
587
587
|
persistentVolumeClaim = "persistentVolumeClaim",
|
|
588
588
|
configMap = "configMap",
|
|
589
589
|
secret = "secret",
|
|
590
|
-
|
|
591
|
-
emptyDir = "emptyDir"
|
|
590
|
+
ephemeral = "ephemeral",
|
|
591
|
+
emptyDir = "emptyDir",
|
|
592
|
+
hostPath = "hostPath"
|
|
592
593
|
}
|
|
593
594
|
export interface Volume {
|
|
594
595
|
name: string;
|
|
@@ -597,6 +598,7 @@ export interface Volume {
|
|
|
597
598
|
[VolumeTypeEnum.secret]?: SecretVolumeSource;
|
|
598
599
|
[VolumeTypeEnum.persistentVolumeClaim]?: PersistentVolumeClaimVolumeSource;
|
|
599
600
|
[VolumeTypeEnum.hostPath]?: HostPathVolumeSource;
|
|
601
|
+
[VolumeTypeEnum.ephemeral]?: EphemeralVolumeSource;
|
|
600
602
|
isAppResource?: boolean;
|
|
601
603
|
mountPath?: string;
|
|
602
604
|
}
|
|
@@ -635,6 +637,9 @@ export interface PersistentVolumeClaimVolumeSource {
|
|
|
635
637
|
claimName: string;
|
|
636
638
|
readOnly?: boolean;
|
|
637
639
|
}
|
|
640
|
+
export interface EphemeralVolumeSource {
|
|
641
|
+
volumeClaimTemplate: PersistentVolumeClaim;
|
|
642
|
+
}
|
|
638
643
|
export interface Probe {
|
|
639
644
|
exec?: ExecAction;
|
|
640
645
|
failureThreshold?: number;
|
|
@@ -820,15 +825,7 @@ export interface NodeStatus {
|
|
|
820
825
|
port: number;
|
|
821
826
|
};
|
|
822
827
|
};
|
|
823
|
-
capacity:
|
|
824
|
-
'alpha.kubernetes.io/nvidia-gpu': string;
|
|
825
|
-
'tencent.com/vcuda-core': string;
|
|
826
|
-
'tencent.com/vcuda-memory': string;
|
|
827
|
-
'nvidia.com/gpu': string;
|
|
828
|
-
pods: string;
|
|
829
|
-
cpu: string;
|
|
830
|
-
memory: string;
|
|
831
|
-
};
|
|
828
|
+
capacity: Record<string, string>;
|
|
832
829
|
addresses: Array<{
|
|
833
830
|
type: string;
|
|
834
831
|
address: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { TypeMeta } from './k8s/';
|
|
1
|
+
import { TypeMeta } from './k8s/public-api';
|
|
2
2
|
export declare const VOLUME_SNAPSHOT_GROUP = "snapshot.storage.k8s.io";
|
|
3
|
+
export declare const MACHINE_API_GROUP = "machine.alauda.io";
|
|
3
4
|
export declare const KATANOMI_BASE_DOMAIN = "katanomi.dev";
|
|
4
5
|
export declare const KUBEVIRT_BASE_DOMAIN = "kubevirt.io";
|
|
5
6
|
export declare const K8S_CORE_API_GROUP = "core.kubernetes.io";
|
|
@@ -264,8 +265,13 @@ export declare const COMMON_RESOURCE_DEFINITIONS: {
|
|
|
264
265
|
readonly apiGroup: string;
|
|
265
266
|
readonly type: string;
|
|
266
267
|
};
|
|
268
|
+
readonly TKE_MACHINE: {
|
|
269
|
+
readonly apiGroup: string;
|
|
270
|
+
readonly type: string;
|
|
271
|
+
};
|
|
267
272
|
readonly MACHINE: {
|
|
268
273
|
readonly apiGroup: string;
|
|
274
|
+
readonly apiVersion: string;
|
|
269
275
|
readonly type: string;
|
|
270
276
|
};
|
|
271
277
|
readonly NODE_GROUP: {
|
|
@@ -367,6 +373,11 @@ export declare const COMMON_RESOURCE_DEFINITIONS: {
|
|
|
367
373
|
readonly apiVersion: string;
|
|
368
374
|
readonly apiGroup: string;
|
|
369
375
|
};
|
|
376
|
+
readonly USER_BINDINGS: {
|
|
377
|
+
readonly type: string;
|
|
378
|
+
readonly apiGroup: string;
|
|
379
|
+
readonly apiVersion: string;
|
|
380
|
+
};
|
|
370
381
|
};
|
|
371
382
|
export declare const RESOURCE_TYPES: {
|
|
372
383
|
readonly ALAUDA_LOADBALANCER2: "ALAUDA_LOADBALANCER2";
|
|
@@ -429,6 +440,7 @@ export declare const RESOURCE_TYPES: {
|
|
|
429
440
|
readonly VIRTUAL_MACHINE_POOL: "VIRTUAL_MACHINE_POOL";
|
|
430
441
|
readonly PROJECT_QUOTA: "PROJECT_QUOTA";
|
|
431
442
|
readonly TKE_CLUSTER: "TKE_CLUSTER";
|
|
443
|
+
readonly TKE_MACHINE: "TKE_MACHINE";
|
|
432
444
|
readonly MACHINE: "MACHINE";
|
|
433
445
|
readonly NODE_GROUP: "NODE_GROUP";
|
|
434
446
|
readonly CLUSTERSERVICEVERSION: "CLUSTERSERVICEVERSION";
|
|
@@ -450,8 +462,9 @@ export declare const RESOURCE_TYPES: {
|
|
|
450
462
|
readonly CLUSTER_GIT_SOURCE: "CLUSTER_GIT_SOURCE";
|
|
451
463
|
readonly SERVICEMESH_GROUP: "SERVICEMESH_GROUP";
|
|
452
464
|
readonly CLUSTER_MODULE: "CLUSTER_MODULE";
|
|
465
|
+
readonly USER_BINDINGS: "USER_BINDINGS";
|
|
453
466
|
};
|
|
454
|
-
export declare const getYamlApiVersion: (definition: "ALAUDA_LOADBALANCER2" | "ALB2" | "HELM_REQUEST" | "HELM_REQUEST_V1" | "DEPLOYMENT" | "FRONTEND" | "RULE" | "POD" | "PODS_EXEC" | "PODS_ROOT_EXEC" | "CONFIG_MAP" | "ALERT_TEMPLATE" | "APPLICATION" | "APPLICATION_HISTORY" | "CLUSTER" | "CLUSTER_VIEW" | "DAEMON_SET" | "STATEFUL_SET" | "DOMAIN" | "FEATURE" | "ALAUDA_FEATURE_GATE" | "CLUSTER_ALAUDA_FEATURE_GATE" | "HORIZONTAL_POD_AUTOSCALER" | "LOG" | "PROJECT" | "PROMETHEUS_RULE" | "ALERT_HISTORY" | "SELF_SUBJECT_ACCESS_REVIEW" | "VIEW" | "SERVICE" | "LIMIT_RANGE" | "SECRET" | "PRODUCT" | "CRON_JOB" | "JOB" | "INGRESS" | "PERSISTENT_VOLUME_CLAIM" | "NAMESPACE" | "NODE" | "NODE_METRICS" | "NOTIFICATION_SERVER" | "NOTIFICATION_SENDER" | "NOTIFICATION_RECEIVER" | "PV" | "CRD" | "CHART_REPO" | "CHART" | "NETWORK_POLICY" | "SERVICE_ACCOUNT" | "REPLICA_SET" | "POD_SECURITY_POLICY" | "NAMESPACE_OVERVIEW" | "CSP" | "RESOURCE_QUOTA" | "CLUSTER_NETWORK_POLICY" | "VIRTUAL_MACHINE" | "VIRTUAL_MACHINE_INSTANCE" | "VIRTUAL_MACHINE_POOL" | "PROJECT_QUOTA" | "TKE_CLUSTER" | "MACHINE" | "NODE_GROUP" | "CLUSTERSERVICEVERSION" | "TENANT" | "SUBSCRIPTION" | "PACKAGE_MANIFEST" | "BUCKET_CLASS" | "PRODUCT_CONFIG" | "STORAGE_CLASS" | "VOLUME_SNAPSHOT_CLASS" | "STORAGE_PLUGIN" | "STORAGE_PLUGIN_CLASS" | "CLUSTER_POLICY" | "PRODUCT_BASE" | "MODULE_INFO" | "PRODUCT_ENTRY" | "PRODUCT_DOCS_ENTRY" | "GIT_SOURCE" | "CLUSTER_GIT_SOURCE" | "SERVICEMESH_GROUP" | "CLUSTER_MODULE" | {
|
|
467
|
+
export declare const getYamlApiVersion: (definition: "ALAUDA_LOADBALANCER2" | "ALB2" | "HELM_REQUEST" | "HELM_REQUEST_V1" | "DEPLOYMENT" | "FRONTEND" | "RULE" | "POD" | "PODS_EXEC" | "PODS_ROOT_EXEC" | "CONFIG_MAP" | "ALERT_TEMPLATE" | "APPLICATION" | "APPLICATION_HISTORY" | "CLUSTER" | "CLUSTER_VIEW" | "DAEMON_SET" | "STATEFUL_SET" | "DOMAIN" | "FEATURE" | "ALAUDA_FEATURE_GATE" | "CLUSTER_ALAUDA_FEATURE_GATE" | "HORIZONTAL_POD_AUTOSCALER" | "LOG" | "PROJECT" | "PROMETHEUS_RULE" | "ALERT_HISTORY" | "SELF_SUBJECT_ACCESS_REVIEW" | "VIEW" | "SERVICE" | "LIMIT_RANGE" | "SECRET" | "PRODUCT" | "CRON_JOB" | "JOB" | "INGRESS" | "PERSISTENT_VOLUME_CLAIM" | "NAMESPACE" | "NODE" | "NODE_METRICS" | "NOTIFICATION_SERVER" | "NOTIFICATION_SENDER" | "NOTIFICATION_RECEIVER" | "PV" | "CRD" | "CHART_REPO" | "CHART" | "NETWORK_POLICY" | "SERVICE_ACCOUNT" | "REPLICA_SET" | "POD_SECURITY_POLICY" | "NAMESPACE_OVERVIEW" | "CSP" | "RESOURCE_QUOTA" | "CLUSTER_NETWORK_POLICY" | "VIRTUAL_MACHINE" | "VIRTUAL_MACHINE_INSTANCE" | "VIRTUAL_MACHINE_POOL" | "PROJECT_QUOTA" | "TKE_CLUSTER" | "TKE_MACHINE" | "MACHINE" | "NODE_GROUP" | "CLUSTERSERVICEVERSION" | "TENANT" | "SUBSCRIPTION" | "PACKAGE_MANIFEST" | "BUCKET_CLASS" | "PRODUCT_CONFIG" | "STORAGE_CLASS" | "VOLUME_SNAPSHOT_CLASS" | "STORAGE_PLUGIN" | "STORAGE_PLUGIN_CLASS" | "CLUSTER_POLICY" | "PRODUCT_BASE" | "MODULE_INFO" | "PRODUCT_ENTRY" | "PRODUCT_DOCS_ENTRY" | "GIT_SOURCE" | "CLUSTER_GIT_SOURCE" | "SERVICEMESH_GROUP" | "CLUSTER_MODULE" | "USER_BINDINGS" | {
|
|
455
468
|
apiGroup: string;
|
|
456
469
|
type: string;
|
|
457
470
|
} | {
|
|
@@ -673,6 +686,10 @@ export declare const getYamlApiVersion: (definition: "ALAUDA_LOADBALANCER2" | "A
|
|
|
673
686
|
apiGroup: string;
|
|
674
687
|
apiVersion: string;
|
|
675
688
|
type: string;
|
|
689
|
+
} | {
|
|
690
|
+
apiGroup: string;
|
|
691
|
+
apiVersion: string;
|
|
692
|
+
type: string;
|
|
676
693
|
} | {
|
|
677
694
|
type: string;
|
|
678
695
|
apiGroup: string;
|
|
@@ -728,7 +745,15 @@ export declare const getYamlApiVersion: (definition: "ALAUDA_LOADBALANCER2" | "A
|
|
|
728
745
|
type: string;
|
|
729
746
|
apiVersion: string;
|
|
730
747
|
apiGroup: string;
|
|
748
|
+
} | {
|
|
749
|
+
type: string;
|
|
750
|
+
apiGroup: string;
|
|
751
|
+
apiVersion: string;
|
|
731
752
|
}) => string;
|
|
732
753
|
export type ResourceType = keyof typeof RESOURCE_TYPES;
|
|
733
754
|
export declare const MachineMeta: TypeMeta;
|
|
734
755
|
export declare const TKEClusterMeta: TypeMeta;
|
|
756
|
+
export declare const ServiceTypeMeta: {
|
|
757
|
+
readonly apiVersion: string;
|
|
758
|
+
readonly kind: "Service";
|
|
759
|
+
};
|
package/core/utils/browser.d.ts
CHANGED
package/core/utils/common.d.ts
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Sort } from '@alauda/ui';
|
|
6
6
|
import { UnionToIntersection } from 'ts-essentials';
|
|
7
|
-
import {
|
|
7
|
+
import { Terminal } from 'xterm';
|
|
8
|
+
import { Callback, Keys, KubernetesResource, Nullable, Readonlyable } from '../types/public-api';
|
|
8
9
|
export declare const numToStr: (num?: number) => string;
|
|
9
10
|
export declare const shortNum: (num?: number | string, digits?: number) => string;
|
|
10
11
|
export declare const isBlank: (str?: unknown) => boolean;
|
|
@@ -22,9 +23,11 @@ export declare const trackByUid: <T extends KubernetesResource>(_: number, resou
|
|
|
22
23
|
export declare const isK8sResource: <T extends KubernetesResource = KubernetesResource>(value: object) => value is T;
|
|
23
24
|
export declare const arrayify: <T, R = T extends (infer S)[] ? NonNullable<S> : NonNullable<T>>(...args: (R | R[])[]) => R[];
|
|
24
25
|
export declare function sleep(ms?: number): Promise<unknown>;
|
|
26
|
+
export declare const delay: typeof sleep;
|
|
25
27
|
export declare function scrollIntoView(container: HTMLElement, selected: HTMLElement): void;
|
|
26
28
|
export declare const isEqual: <T, V = T>(a: T, b: V) => boolean;
|
|
27
29
|
export declare const parseJson: <T>(str: string, defaultValue?: T) => any;
|
|
30
|
+
export declare function isJsonObjectString(str: string): boolean;
|
|
28
31
|
export declare const parseValidImageName: (image: string) => string;
|
|
29
32
|
export declare const atobWithFallback: (str: string, fallbackValue?: string) => string;
|
|
30
33
|
export interface SafeAssignOptions {
|
|
@@ -52,3 +55,11 @@ export declare const trackByName: <T extends KubernetesResource>(_: number, reso
|
|
|
52
55
|
export declare function tableSort<T>(list: T[], sort: Sort, sortActiveValueFn: (item: T, name: string) => string | number): T[];
|
|
53
56
|
export declare function tableSortAdvance<T>(list: T[], sort: Sort, sortActiveValueFn: (item: T, name: string) => string | number): T[];
|
|
54
57
|
export declare const nodeName2Address: (name: string) => string;
|
|
58
|
+
export declare const buildImageAddress: (url: string, tagOrDigest: string) => string;
|
|
59
|
+
export declare const parseImageAddress: (addr: string) => {
|
|
60
|
+
digest?: string;
|
|
61
|
+
tag?: string;
|
|
62
|
+
url: string;
|
|
63
|
+
};
|
|
64
|
+
export declare const setWindowsXtermTools: (xterm: Terminal) => void;
|
|
65
|
+
export declare const clearWindowsXtermTools: () => void;
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @packageDocumentation
|
|
3
3
|
* @module utils
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { DebounceSettings, DebouncedFunc } from 'lodash-es';
|
|
6
|
+
import { ObservableType } from '../types/public-api';
|
|
6
7
|
export declare function ValueHook<T = any, K extends keyof T = any>(setter?: (this: T, value?: T[K]) => boolean | void, getter?: (this: T, value?: T[K]) => T[K], afterSetter?: (this: T, value?: T[K]) => void): (target: T, propertyKey: K) => void;
|
|
7
8
|
export type ObservableInputPropertyKey<T> = T extends `${infer R}$` ? ObservableInputPropertyKey<R> : T;
|
|
8
9
|
export declare function ObservableInput<T = any, OK extends keyof T = any, K extends keyof T = ObservableInputPropertyKey<OK> & keyof T>(propertyKey?: K | boolean, initialValue?: ObservableType<T[OK]>): (target: T, oPropertyKey: OK) => void;
|
|
@@ -10,3 +11,4 @@ export declare function ObservableInput<T = any, OK extends keyof T = any, K ext
|
|
|
10
11
|
* @see https://github.com/NoHomey/bind-decorator
|
|
11
12
|
*/
|
|
12
13
|
export declare function bind<T extends Function>(_target: object, propertyKey: string, descriptor: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T> | void;
|
|
14
|
+
export declare function debounceFn<T extends (...args: any) => any>(delay?: number, options?: DebounceSettings): (_target: object, propertyKey: string, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<DebouncedFunc<T>> | void;
|
package/core/utils/k8s-util.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KubernetesResource, OwnerReference } from '../types';
|
|
1
|
+
import { KubernetesResource, OwnerReference } from '../types/public-api';
|
|
2
2
|
export declare const assemble: (subdomain: string, domain: string, type: string) => string;
|
|
3
3
|
export declare const k8sSubGroup: import("ts-toolbelt/out/Function/Curry").Curry<(subdomain: string, type: string) => string>;
|
|
4
4
|
export declare const k8sGroup: import("ts-toolbelt/out/Function/Curry").Curry<(type: string) => string>;
|
|
@@ -6,8 +6,10 @@ export declare const subdomainGroup: import("ts-toolbelt/out/Function/Curry").Cu
|
|
|
6
6
|
export declare const domainGroup: import("ts-toolbelt/out/Function/Curry").Curry<(type: string) => string>;
|
|
7
7
|
export declare const getSubdomainLabel: import("ts-toolbelt/out/Function/Curry").Curry<(subdomain: string, type: string, resource: KubernetesResource) => string>;
|
|
8
8
|
export declare const getDomainLabel: import("ts-toolbelt/out/Function/Curry").Curry<(type: string, resource: KubernetesResource) => string>;
|
|
9
|
+
export declare const getLabel: import("ts-toolbelt/out/Function/Curry").Curry<(key: string, resource: KubernetesResource) => string>;
|
|
9
10
|
export declare const getSubdomainAnnotation: import("ts-toolbelt/out/Function/Curry").Curry<(subdomain: string, type: string, resource: KubernetesResource) => string>;
|
|
10
11
|
export declare const getDomainAnnotation: import("ts-toolbelt/out/Function/Curry").Curry<(type: string, resource: KubernetesResource) => string>;
|
|
12
|
+
export declare const getAnnotation: import("ts-toolbelt/out/Function/Curry").Curry<(key: string, resource: KubernetesResource) => string>;
|
|
11
13
|
export declare const assignLabels: (value: Record<string, string>) => <R extends KubernetesResource>(resource: R) => R;
|
|
12
14
|
export declare const assignAnnotations: (value: Record<string, string>) => <R extends KubernetesResource>(resource: R) => R;
|
|
13
15
|
export declare function getGlobalNs(): string;
|
package/core/utils/node.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ import { DestroyRef } from '@angular/core';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare const createPollObservable: <TResult>(fetch$: Observable<TResult>, pollIn: number | Observable<number>) => Observable<TResult>;
|
|
4
4
|
export declare function onDestroy(destroyRef?: DestroyRef): Observable<void>;
|
|
5
|
+
export declare const tapSkip: <T>(nEmissions: number, callback: (args: T) => void) => (source$: Observable<T>) => Observable<T>;
|
package/core/utils/unit.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { KubernetesResource } from '../types';
|
|
2
1
|
export declare const CORE_UNITS: string[];
|
|
3
2
|
export declare const CORE_UNIT_REG: RegExp;
|
|
4
3
|
export declare const toUnitNumM: (coreStr?: string | number) => string;
|
|
@@ -15,8 +14,6 @@ export declare function getAppropriateMemory(base: number): {
|
|
|
15
14
|
value: number;
|
|
16
15
|
unit: string;
|
|
17
16
|
};
|
|
18
|
-
export declare function isResourceDeleting(resource: KubernetesResource): boolean;
|
|
19
|
-
export declare function isSelfOrParent(element: HTMLElement, target: HTMLElement): boolean;
|
|
20
17
|
export declare function formatMemory(mem: string): number;
|
|
21
18
|
export declare function getMemory(base: number, unit: string): number;
|
|
22
19
|
export declare function getCpu(base: number, unit: string): number;
|
package/core/utils/version.d.ts
CHANGED
|
@@ -36,4 +36,4 @@ export declare const compareVersion: {
|
|
|
36
36
|
gte: (v1: string, v2: string) => boolean;
|
|
37
37
|
cmp: (v1: string, v2: string, operator: CompareOperator) => boolean;
|
|
38
38
|
};
|
|
39
|
-
export declare const compareMinorVersion: (v1: string, v2: string) =>
|
|
39
|
+
export declare const compareMinorVersion: (v1: string, v2: string) => 0 | 1 | -1;
|
package/core/utils/yaml.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { DocumentOptions, ParseOptions, SchemaOptions, ToJSOptions } from 'yaml';
|
|
2
|
-
import { KubernetesResource } from '
|
|
2
|
+
import { KubernetesResource } from '../types/public-api';
|
|
3
3
|
export { stringify } from 'yaml';
|
|
4
4
|
export declare const parse: <T>(yaml: string, options?: ParseOptions & DocumentOptions & SchemaOptions & ToJSOptions) => T;
|
|
5
|
+
export declare const safeParseYaml: <T>(yaml: string, defaultValue?: T, options?: ParseOptions & DocumentOptions & SchemaOptions & ToJSOptions) => T;
|
|
5
6
|
export declare const parseAll: <T>(yaml: string) => T[];
|
|
6
7
|
export type YamlFilterItem = string | ((resource: KubernetesResource) => string[]);
|
|
7
8
|
export declare function yamlFilterField<T extends KubernetesResource>(resource: T, filterList: YamlFilterItem[], deepClone?: boolean): T;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { StringMap } from '../core';
|
|
2
|
+
import { StringMap } from '../core/public-api';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TableCustomColumnsComponent implements OnInit {
|
|
5
5
|
options: string[];
|
|
@@ -6,7 +6,7 @@ import { CoreModule } from '../core/public-api';
|
|
|
6
6
|
import { TranslateModule } from '../translate/public-api';
|
|
7
7
|
import { ChartStatusComponent } from './chart-status.component';
|
|
8
8
|
import { ChartComponent } from './chart.component';
|
|
9
|
-
import { LegendComponent, TitleComponent, LegendDropdownComponent, } from './components';
|
|
9
|
+
import { LegendComponent, TitleComponent, LegendDropdownComponent, } from './components/public-api';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
import * as i1 from "@angular/common";
|
|
12
12
|
import * as i2 from "../scm/pure-pipe/pure.pipe";
|
|
@@ -73,4 +73,4 @@ i0.ɵɵsetComponentScope(ChartComponent, [ChartStatusComponent], [i1.AsyncPipe,
|
|
|
73
73
|
i0.ɵɵsetComponentScope(LegendComponent, [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i3.E2eAttributeBindingDirective, i4.NgControlStatus, i4.NgModel, i5.CheckboxComponent], [i1.AsyncPipe, i6.TranslatePipe]);
|
|
74
74
|
i0.ɵɵsetComponentScope(LegendDropdownComponent, [i1.NgClass, i1.NgForOf, i1.NgIf, i3.E2eAttributeBindingDirective, i5.IconComponent, i5.ButtonComponent, i4.NgControlStatus, i4.NgModel, i5.CheckboxComponent, i5.TooltipDirective, i5.TooltipActiveDirective], [i1.AsyncPipe, i6.TranslatePipe]);
|
|
75
75
|
i0.ɵɵsetComponentScope(ChartStatusComponent, [i1.NgIf, i1.NgTemplateOutlet, i3.E2eAttributeBindingDirective, i5.IconComponent, i5.Button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iAgXSxcbiAgZGVjbGFyYXRpb25zOiBbLi4uRVhQT1JUX0NPTVBPTkVOVF0sXG4gIGV4cG9ydHM6IEVYUE9SVF9DT01QT05FTlQsXG59KVxuZXhwb3J0IGNsYXNzIEFDaGFydE1vZHVsZSB7fVxuIl19
|
|
@@ -2,7 +2,7 @@ import { __decorate, __metadata } from "tslib";
|
|
|
2
2
|
import { isTemplateRef } from '@alauda/ui';
|
|
3
3
|
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, TemplateRef, } from '@angular/core';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { ObservableInput } from '../core/utils';
|
|
5
|
+
import { ObservableInput } from '../core/utils/public-api';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
function ChartStatusComponent_div_0_div_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8
8
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -192,4 +192,4 @@ __decorate([
|
|
|
192
192
|
}], status$: [], refresh: [{
|
|
193
193
|
type: Output
|
|
194
194
|
}] }); })();
|
|
195
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
195
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQtc3RhdHVzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvY29tbW9uL3NyYy9hLWNoYXJ0L2NoYXJ0LXN0YXR1cy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFDM0MsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFDTCxNQUFNLEVBQ04sV0FBVyxHQUNaLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQ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