@alauda-fe/common 1.0.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
|
@@ -8,7 +8,7 @@ import { InjectionToken } from '@angular/core';
|
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
9
9
|
import { K8sApiService } from '../../../api/k8s-api.service';
|
|
10
10
|
import { TranslateService } from '../../../translate/public-api';
|
|
11
|
-
import { NavGroupConfig, NavItemConfig } from '../nav-menu';
|
|
11
|
+
import { NavGroupConfig, NavItemConfig } from '../nav-menu/public-api';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
interface NavigationConfigConfigMapData {
|
|
14
14
|
buildIn: {
|
|
@@ -37,7 +37,7 @@ export declare class NavConfigLoaderService {
|
|
|
37
37
|
constructor(http: HttpClient, translate: TranslateService, notification: NotificationService, localStorageKey: string, k8sApi: K8sApiService);
|
|
38
38
|
loadNavConfig(address: string): Observable<string>;
|
|
39
39
|
loadNavTree(address: string, cmConfigName: string, withGroup?: boolean): Observable<Nav[]>;
|
|
40
|
-
configTree(treeItemConfig: NavItemConfig[], config: NavigationConfigConfigMapData): import("../../../core").Tree[];
|
|
40
|
+
configTree(treeItemConfig: NavItemConfig[], config: NavigationConfigConfigMapData): import("../../../core/public-api").Tree[];
|
|
41
41
|
configTreeWithGroup(treeGroupConfig: NavGroupConfig[], config: NavigationConfigConfigMapData): {
|
|
42
42
|
title: string;
|
|
43
43
|
items: NavItemConfig[];
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { DialogService } from '@alauda/ui';
|
|
2
|
-
import {
|
|
3
|
-
import { BehaviorSubject
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { K8sApiService } from '../../../api/k8s-api.service';
|
|
5
5
|
import { AuthorizationStateService } from '../../../authorization/state.service';
|
|
6
|
+
import { K8sPermissionService } from '../../../permission/public-api';
|
|
6
7
|
import { TranslateService } from '../../../translate/public-api';
|
|
7
8
|
import { NoticeComponent } from './notice.component';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class MaintenanceComponent
|
|
10
|
+
export declare class MaintenanceComponent {
|
|
10
11
|
readonly notice: NoticeComponent;
|
|
11
12
|
private readonly k8sApi;
|
|
13
|
+
private readonly k8sPermission;
|
|
12
14
|
private readonly translate;
|
|
13
15
|
private readonly auth;
|
|
14
16
|
private readonly dialog;
|
|
15
17
|
maintenance: TemplateRef<any>;
|
|
16
18
|
announcement: TemplateRef<any>;
|
|
19
|
+
isDevMode: boolean;
|
|
17
20
|
noticeId: string;
|
|
18
21
|
announcement$: BehaviorSubject<string>;
|
|
19
22
|
hasConfirm: boolean;
|
|
20
|
-
|
|
21
|
-
destroy$: Subject<void>;
|
|
22
|
-
constructor(notice: NoticeComponent, k8sApi: K8sApiService, translate: TranslateService, auth: AuthorizationStateService, dialog: DialogService);
|
|
23
|
-
ngOnDestroy(): void;
|
|
23
|
+
constructor(notice: NoticeComponent, k8sApi: K8sApiService, k8sPermission: K8sPermissionService, translate: TranslateService, auth: AuthorizationStateService, dialog: DialogService);
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaintenanceComponent, never>;
|
|
25
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<MaintenanceComponent, "acl-page-header-notice-maintenance", never, {}, {}, never, never, true, never>;
|
|
26
26
|
}
|
|
@@ -4,6 +4,7 @@ import { IframeConfigService } from '../../iframe-config/config.service';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class PageComponent implements AfterViewInit {
|
|
6
6
|
private readonly iframeConfigService;
|
|
7
|
+
showAlerts: boolean;
|
|
7
8
|
pageHeader: TemplateRef<any>;
|
|
8
9
|
pageContent: TemplateRef<any>;
|
|
9
10
|
pageSider: TemplateRef<any>;
|
|
@@ -19,5 +20,5 @@ export declare class PageComponent implements AfterViewInit {
|
|
|
19
20
|
addClass(cls: string): void;
|
|
20
21
|
removeClass(cls: string): void;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageComponent, "acl-page", never, {}, {}, ["pageHeader", "pageContent", "pageSider", "pageToolbar"], never, false, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageComponent, "acl-page", never, { "showAlerts": { "alias": "showAlerts"; "required": false; }; }, {}, ["pageHeader", "pageContent", "pageSider", "pageToolbar"], never, false, never>;
|
|
23
24
|
}
|
|
@@ -2,7 +2,7 @@ import { HttpClient } from '@angular/common/http';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { K8sApiService } from '../../../api/k8s-api.service';
|
|
4
4
|
import { ProjectService } from '../../../business/resource-select/project.service';
|
|
5
|
-
import { KubernetesResource, ValueOf, Project, ProductEntry } from '../../../core';
|
|
5
|
+
import { KubernetesResource, ValueOf, Project, ProductEntry } from '../../../core/public-api';
|
|
6
6
|
import { TranslateKey } from '../../../translate/types';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export interface Production extends KubernetesResource {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @module common-layout
|
|
4
4
|
*/
|
|
5
5
|
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
6
|
-
import { KubernetesResource, K8sUtilService } from '../../../../core';
|
|
6
|
+
import { KubernetesResource, K8sUtilService } from '../../../../core/public-api';
|
|
7
7
|
import { NamespaceIdentity } from '../context.service';
|
|
8
8
|
import { BaseSelection } from '../project-select/base-selection';
|
|
9
9
|
import { CommonLayoutStoreService, Group } from '../store.service';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
|
-
import { StringMap, ProductEntry } from '../../../../core';
|
|
3
|
+
import { StringMap, ProductEntry } from '../../../../core/public-api';
|
|
4
4
|
import { K8sPermissionService } from '../../../../permission/k8s-permission.service';
|
|
5
5
|
import { ProductEntryName } from '../context.service';
|
|
6
6
|
import { CommonLayoutStoreService } from '../store.service';
|
|
@@ -31,7 +31,7 @@ export declare class ProductSelectComponent implements OnInit {
|
|
|
31
31
|
navigateToPlatform(item: ProductEntry): void;
|
|
32
32
|
isProductActive(item: ProductEntry, current: ProductEntryName): boolean;
|
|
33
33
|
isPortalProduct(item: ProductEntry): boolean;
|
|
34
|
-
getProductTitle: (products: ProductEntry[], title: string, current: ProductEntryName) => string | import("../../../../core").LocaleDisplay;
|
|
34
|
+
getProductTitle: (products: ProductEntry[], title: string, current: ProductEntryName) => string | import("../../../../core/public-api").LocaleDisplay;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductSelectComponent, never>;
|
|
36
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductSelectComponent, "acl-product-select", never, { "platformPath": { "alias": "platformPath"; "required": false; }; "current": { "alias": "current"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
37
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { OnDestroy } from '@angular/core';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
|
-
import { KubernetesResource, K8sUtilService, ProductEntry } from '../../../core';
|
|
7
|
+
import { KubernetesResource, K8sUtilService, ProductEntry } from '../../../core/public-api';
|
|
8
8
|
import { CommonLayoutContextService } from './context.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export interface Group {
|
|
@@ -3,7 +3,7 @@ import { ComponentRef } from '@angular/core';
|
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { K8sApiService } from '../../../api/k8s-api.service';
|
|
5
5
|
import { AuthorizationStateService } from '../../../authorization/state.service';
|
|
6
|
-
import { K8sUtilService } from '../../../core';
|
|
6
|
+
import { K8sUtilService } from '../../../core/public-api';
|
|
7
7
|
import { K8SResourceList } from '../../../k8s-resource-list/k8s-resource-list';
|
|
8
8
|
import { Message } from './utils';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TagType } from '@alauda/ui';
|
|
2
|
-
import { KubernetesResource } from '../../../core';
|
|
2
|
+
import { KubernetesResource } from '../../../core/public-api';
|
|
3
3
|
export declare const NOTIFY_PREFIX = "notify_";
|
|
4
4
|
export declare const NOTIFY_PUSH_TYPE: string;
|
|
5
5
|
export declare const NOTIFY_INFO_TYPE: string;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { DialogRef, DialogService } from '@alauda/ui';
|
|
6
6
|
import { TemplateRef } from '@angular/core';
|
|
7
7
|
import { K8sApiService } from '../../../../api/public-api';
|
|
8
|
-
import { K8sUtilService } from '../../../../core';
|
|
8
|
+
import { K8sUtilService } from '../../../../core/public-api';
|
|
9
9
|
import { TranslateKey, DocsOption } from '../../../../public-api';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
interface ComponentVersion {
|
package/permission/helpers.d.ts
CHANGED
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* @packageDocumentation
|
|
3
|
-
* @module permission
|
|
4
|
-
*/
|
|
5
|
-
import { Arrayable, IfEqual, SelfSubjectAccessReview, UnaryObservableFunction } from '../core';
|
|
6
|
-
export declare const isAdmin: UnaryObservableFunction<{
|
|
7
|
-
ext?: {
|
|
8
|
-
admin: boolean;
|
|
9
|
-
};
|
|
10
|
-
}, boolean>;
|
|
1
|
+
import { Arrayable, IfEqual, SelfSubjectAccessReview, UnaryObservableFunction } from '../core/public-api';
|
|
11
2
|
export declare function isAllowed<T extends Arrayable<SelfSubjectAccessReview>, K extends boolean = true>(transform?: K): UnaryObservableFunction<T, IfEqual<K, false, T extends SelfSubjectAccessReview | Readonly<SelfSubjectAccessReview> ? boolean : boolean[], Record<T extends Arrayable<SelfSubjectAccessReview<infer R>> ? R : never, boolean>>>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { HttpClient } from '@angular/common/http';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
7
|
import { K8sApiResourceService } from '../api/public-api';
|
|
8
|
-
import { IfEqual, K8sResourceAction, KubernetesResource, SelfSubjectAccessReview } from '../core';
|
|
8
|
+
import { IfEqual, K8sResourceAction, KubernetesResource, SelfSubjectAccessReview } from '../core/public-api';
|
|
9
9
|
import { AllPermissions, K8sPermissionTransformable, K8sResourcePermissionMultiParams, K8sResourcePermissionNoneParams, K8sResourcePermissionSingleParams, K8sTypePermissionActionsParams, K8sTypePermissionMatrixParams, K8sTypePermissionMultiParams, K8sTypePermissionNamesParams, K8sTypePermissionNoneParams, K8sTypePermissionSingleParams } from './types';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class K8sPermissionService {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, RouterStateSnapshot } from '@angular/router';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { StringMap, SilentlyNavigateService } from '../core';
|
|
4
|
+
import { StringMap, SilentlyNavigateService } from '../core/public-api';
|
|
5
5
|
import { K8sPermissionService } from './k8s-permission.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
package/permission/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @module permission
|
|
4
4
|
*/
|
|
5
5
|
import { K8sResourceDefinition } from '../api/types';
|
|
6
|
-
import { AnyArray, K8sResourceAction, KubernetesResource } from '../core/types';
|
|
6
|
+
import { AnyArray, K8sResourceAction, KubernetesResource } from '../core/types/public-api';
|
|
7
7
|
export declare const READABLE_ACTIONS: readonly [K8sResourceAction.GET, K8sResourceAction.LIST, K8sResourceAction.PROXY, K8sResourceAction.REDIRECT, K8sResourceAction.WATCH];
|
|
8
8
|
export declare const WRITABLE_ACTIONS: readonly [K8sResourceAction.CREATE, K8sResourceAction.DELETE, K8sResourceAction.DELETE_COLLECTION, K8sResourceAction.PATCH, K8sResourceAction.UPDATE];
|
|
9
9
|
export declare const COMMON_READABLE_ACTIONS: readonly [K8sResourceAction.GET];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { ContextItem } from '../../chart/common';
|
|
3
|
+
import { ContextItem } from '../../chart/common/public-api';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare const CHART_COLORS: {
|
|
6
6
|
running: string;
|
package/public-api.d.ts
CHANGED
|
@@ -20,24 +20,24 @@ export * from './metric-chart/public-api';
|
|
|
20
20
|
export * from './mutable/public-api';
|
|
21
21
|
export * from './pie-derivative-chart/public-api';
|
|
22
22
|
export * from './overview-banner/public-api';
|
|
23
|
-
export * from './errors-mapper/public-api';
|
|
24
23
|
export * from './graph-canvas/public-api';
|
|
25
24
|
export * from './skeleton/public-api';
|
|
26
|
-
export * from './form';
|
|
25
|
+
export * from './form/public-api';
|
|
27
26
|
export * from './page-guard/public-api';
|
|
28
|
-
export * from './page-scaffold';
|
|
27
|
+
export * from './page-scaffold/public-api';
|
|
29
28
|
export * from './table/public-api';
|
|
30
|
-
export * from './feature-gate-forbidden';
|
|
31
|
-
export * from './scm';
|
|
32
|
-
export * from './multi-search';
|
|
33
|
-
export * from './exec';
|
|
29
|
+
export * from './feature-gate-forbidden/public-api';
|
|
30
|
+
export * from './scm/public-api';
|
|
31
|
+
export * from './multi-search/public-api';
|
|
32
|
+
export * from './exec/public-api';
|
|
34
33
|
export * from './searchable-selector/public-api';
|
|
35
|
-
export * from './grid-layout';
|
|
36
|
-
export * from './editable-text';
|
|
37
|
-
export * from './window-channel';
|
|
34
|
+
export * from './grid-layout/public-api';
|
|
35
|
+
export * from './editable-text/public-api';
|
|
36
|
+
export * from './window-channel/public-api';
|
|
38
37
|
export * from './a-chart/public-api';
|
|
39
38
|
export * from './a-metric-chart/public-api';
|
|
40
39
|
export * from './custom-columns-setting/public-api';
|
|
41
40
|
export * from './iframe-config/public-api';
|
|
42
41
|
export * from './effect-directive/public-api';
|
|
43
42
|
export * from './xterm/public-api';
|
|
43
|
+
export * from './k8s-shared/public-api';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DeclareDirective {
|
|
3
|
+
private readonly viewContainerRef;
|
|
4
|
+
private readonly templateRef;
|
|
5
|
+
set declare(declare: unknown);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeclareDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DeclareDirective, "[declare]", never, { "declare": { "alias": "declare"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -19,9 +19,12 @@ export declare class PasswordInputComponent extends BaseNestedFormControlPure<st
|
|
|
19
19
|
pattern: string;
|
|
20
20
|
encoding: Encoding;
|
|
21
21
|
placeholder: string;
|
|
22
|
+
readonly: boolean;
|
|
23
|
+
isUpdate: boolean;
|
|
22
24
|
set required(required: boolean | '');
|
|
23
25
|
get required(): boolean;
|
|
24
26
|
showPassword: boolean;
|
|
27
|
+
showInput: boolean;
|
|
25
28
|
confirmPassword: string;
|
|
26
29
|
isTemplateRef: (label: any) => label is TemplateRef<unknown>;
|
|
27
30
|
private _required;
|
|
@@ -30,6 +33,7 @@ export declare class PasswordInputComponent extends BaseNestedFormControlPure<st
|
|
|
30
33
|
modelOut(v: string): string;
|
|
31
34
|
validate(): ValidationErrors;
|
|
32
35
|
validateConfirmPassword(password: string): (control: AbstractControl) => ValidationErrors;
|
|
36
|
+
updatePasswd(): void;
|
|
33
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordInputComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PasswordInputComponent, "acl-password-input", never, { "initPassword": { "alias": "initPassword"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "specialChars": { "alias": "specialChars"; "required": false; }; "strongPassword": { "alias": "strongPassword"; "required": false; }; "enableConfirm": { "alias": "enableConfirm"; "required": false; }; "width": { "alias": "width"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "encoding": { "alias": "encoding"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, {}, never, never, false, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PasswordInputComponent, "acl-password-input", never, { "initPassword": { "alias": "initPassword"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "specialChars": { "alias": "specialChars"; "required": false; }; "strongPassword": { "alias": "strongPassword"; "required": false; }; "enableConfirm": { "alias": "enableConfirm"; "required": false; }; "width": { "alias": "width"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "encoding": { "alias": "encoding"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "isUpdate": { "alias": "isUpdate"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, {}, never, never, false, never>;
|
|
35
39
|
}
|
|
@@ -3,12 +3,12 @@ import * as i1 from "./component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
5
|
import * as i4 from "@alauda/ui";
|
|
6
|
-
import * as i5 from "../../errors-mapper/errors-mapper.module";
|
|
6
|
+
import * as i5 from "../../form/errors-mapper/errors-mapper.module";
|
|
7
7
|
import * as i6 from "../../translate/translate.module";
|
|
8
8
|
import * as i7 from "../../form/validators/module";
|
|
9
9
|
import * as i8 from "../pure-pipe/module";
|
|
10
10
|
export declare class PasswordInputModule {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordInputModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PasswordInputModule, [typeof i1.PasswordInputComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.FormModule, typeof i4.IconModule, typeof i4.InputModule, typeof i5.ErrorsMapperModule, typeof i6.TranslateModule, typeof i7.ValidatorsModule, typeof i8.PurePipeModule], [typeof i1.PasswordInputComponent]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PasswordInputModule, [typeof i1.PasswordInputComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.FormModule, typeof i4.IconModule, typeof i4.InputModule, typeof i5.ErrorsMapperModule, typeof i6.TranslateModule, typeof i7.ValidatorsModule, typeof i8.PurePipeModule, typeof i4.ButtonComponent], [typeof i1.PasswordInputComponent]>;
|
|
13
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<PasswordInputModule>;
|
|
14
14
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export * from './password-input';
|
|
2
|
-
export * from './pure-pipe';
|
|
1
|
+
export * from './password-input/public-api';
|
|
2
|
+
export * from './pure-pipe/public-api';
|
|
3
3
|
export * from './text-ellipsis/component';
|
|
4
4
|
export { ResourceMultiSelectComponent } from './resource-multi-select/component';
|
|
5
5
|
export { isSelectAll, ALL_VALUE, checkValueExit, } from './resource-multi-select/util';
|
|
6
6
|
export { SearchItemComponent } from './search-panel/search-item/component';
|
|
7
7
|
export { SearchPanelComponent } from './search-panel/component';
|
|
8
8
|
export { SearchItemLabelDirective } from './search-panel/helper.directive';
|
|
9
|
+
export { DeclareDirective } from './declare.directive';
|
|
@@ -7,5 +7,5 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class CalcPipe implements PipeTransform {
|
|
8
8
|
transform<T extends (...args: unknown[]) => unknown>(calc: T, ...args: Parameters<T>): ReturnType<T>;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalcPipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CalcPipe, "calc",
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CalcPipe, "calc", true>;
|
|
11
11
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./
|
|
3
|
-
import * as i2 from "./
|
|
2
|
+
import * as i1 from "./pure.pipe";
|
|
3
|
+
import * as i2 from "./calc.pipe";
|
|
4
4
|
export declare class PurePipeModule {
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<PurePipeModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PurePipeModule, [typeof i1.
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PurePipeModule, never, [typeof i1.PurePipe, typeof i2.CalcPipe], [typeof i1.PurePipe, typeof i2.CalcPipe]>;
|
|
7
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<PurePipeModule>;
|
|
8
8
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @module utils
|
|
4
4
|
*/
|
|
5
5
|
import { PipeTransform } from '@angular/core';
|
|
6
|
-
import { IfEqual } from '../../core';
|
|
6
|
+
import { IfEqual } from '../../core/public-api';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export type OmitFirst<T extends unknown[]> = T extends [unknown, ...infer R] ? R : [];
|
|
9
9
|
export declare class PurePipe implements PipeTransform {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { OptionFilterFn, SelectFilterOption,
|
|
1
|
+
import { OptionFilterFn, SelectFilterOption, TrackFn } from '@alauda/ui';
|
|
2
2
|
import { EventEmitter, TemplateRef, ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import { BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { StringMap } from '../../core/public-api';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ResourceMultiSelectComponent implements ControlValueAccessor {
|
|
7
8
|
private readonly cdr;
|
|
@@ -27,8 +28,8 @@ export declare class ResourceMultiSelectComponent implements ControlValueAccesso
|
|
|
27
28
|
ALL_VALUE: string;
|
|
28
29
|
constructor(cdr: ChangeDetectorRef);
|
|
29
30
|
writeValue(values: string[]): void;
|
|
30
|
-
onChange: import("../../core").Callback;
|
|
31
|
-
onTouched: import("../../core").Callback;
|
|
31
|
+
onChange: import("../../core/public-api").Callback;
|
|
32
|
+
onTouched: import("../../core/public-api").Callback;
|
|
32
33
|
registerOnChange(fn: () => void): void;
|
|
33
34
|
registerOnTouched(fn: () => void): void;
|
|
34
35
|
disableOption: (checkedValue: string, values: string[]) => boolean;
|
package/styles/global.scss
CHANGED
|
@@ -813,8 +813,7 @@ aui-form-item.form-item {
|
|
|
813
813
|
display: flex;
|
|
814
814
|
align-items: center;
|
|
815
815
|
margin-bottom: use-var(spacing-xl);
|
|
816
|
-
|
|
817
|
-
@include text-set(l, main);
|
|
816
|
+
@include text-set(l, main, bold);
|
|
818
817
|
|
|
819
818
|
&:before {
|
|
820
819
|
content: '';
|
package/styles/mixins.scss
CHANGED
|
@@ -115,6 +115,13 @@
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
+
tr.acl-array-form-table__separator {
|
|
119
|
+
td {
|
|
120
|
+
padding: 0;
|
|
121
|
+
background-color: use-rgb(n-9);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
118
125
|
th.acl-array-form-table__action-col {
|
|
119
126
|
min-width: 48px;
|
|
120
127
|
}
|
|
@@ -638,3 +645,35 @@
|
|
|
638
645
|
}
|
|
639
646
|
}
|
|
640
647
|
}
|
|
648
|
+
|
|
649
|
+
@mixin multi-line-textarea-wrapper {
|
|
650
|
+
display: grid;
|
|
651
|
+
align-items: stretch;
|
|
652
|
+
|
|
653
|
+
&:after,
|
|
654
|
+
textarea {
|
|
655
|
+
grid-area: 1 / 1;
|
|
656
|
+
width: auto;
|
|
657
|
+
padding: 3px 5px; // aui mini textarea padding
|
|
658
|
+
font: inherit;
|
|
659
|
+
resize: none;
|
|
660
|
+
max-height: 252px;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
&:after {
|
|
664
|
+
content: attr(data-value) ' ';
|
|
665
|
+
visibility: hidden;
|
|
666
|
+
white-space: pre-wrap;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
textarea {
|
|
670
|
+
overflow: auto;
|
|
671
|
+
height: auto !important;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
&:focus-within {
|
|
675
|
+
textarea:focus {
|
|
676
|
+
outline: none;
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!tw-visible{visibility:visible!important}.tw-invisible{visibility:hidden}.tw-fixed{position:fixed}.tw-absolute{position:absolute}.tw-relative{position:relative}.tw-left-0{left:0}.tw-right-\[16px\]{right:16px}.tw-top-0{top:0}.tw-top-\[12px\]{top:12px}.tw-mb-12{margin-bottom:12px}.tw-mb-20{margin-bottom:20px}.tw-mb-4{margin-bottom:4px}.tw-ml-6{margin-left:6px}.tw-ml-\[-4px\]{margin-left:-4px}.tw-ml-\[4px\]{margin-left:4px}.tw-mr-4{margin-right:4px}.tw-mr-6{margin-right:6px}.tw-mr-8{margin-right:8px}.tw-mr-\[4px\]{margin-right:4px}.tw-mt-0{margin-top:0}.tw-mt-8{margin-top:8px}.tw-line-clamp-2{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden}.tw-block{display:block}.tw-flex{display:flex}.tw-hidden{display:none}.tw-h-0{height:0}.tw-h-\[100\%\]{height:100%}.tw-h-\[100vh\]{height:100vh}.tw-h-\[200px\]{height:200px}.tw-h-\[22px\]{height:22px}.tw-h-full{height:100%}.tw-min-h-\[360px\]{min-height:360px}.tw-w-\[100\%\]{width:100%}.tw-w-\[200px\]{width:200px}.tw-w-full{width:100%}.tw-min-w-\[160px\]{min-width:160px}.tw-min-w-\[220px\]{min-width:220px}.tw-min-w-\[260px\]{min-width:260px}.tw-max-w-\[400px\]{max-width:400px}.tw-max-w-\[45\%\]{max-width:45%}.tw-flex-1{flex:1 1 0%}.tw-flex-shrink-0{flex-shrink:0}.tw-cursor-pointer{cursor:pointer}.tw-select-none{user-select:none}.tw-list-disc{list-style-type:disc}.tw-flex-row{flex-direction:row}.tw-flex-col{flex-direction:column}.tw-items-start{align-items:flex-start}.tw-items-center{align-items:center}.tw-justify-start{justify-content:flex-start}.tw-justify-end{justify-content:flex-end}.tw-justify-center{justify-content:center}.tw-overflow-hidden{overflow:hidden}.tw-overflow-y-auto{overflow-y:auto}.tw-overflow-x-hidden{overflow-x:hidden}.tw-text-ellipsis{text-overflow:ellipsis}.tw-break-words{overflow-wrap:break-word}.tw-break-all{word-break:break-all}.tw-bg-n-10{background-color:rgb(var(--aui-color-n-10))}.tw-bg-n-8{background-color:rgb(var(--aui-color-n-8))}.tw-bg-p-6{background-color:rgb(var(--aui-color-p-6))}.tw-p-12{padding:12px}.tw-p-\[12px_16px\]{padding:12px 16px}.tw-py-8{padding-bottom:8px;padding-top:8px}.tw-pl-8{padding-left:8px}.tw-pr-16{padding-right:16px}.tw-text-center{text-align:center}.tw-text-l{font-size:var(--aui-font-size-l)}.tw-text-m{font-size:var(--aui-font-size-m)}.tw-text-s{font-size:var(--aui-font-size-s)}.tw-text-xl{font-size:var(--aui-font-size-xl)}.tw-font-bold{font-weight:var(--aui-font-weight-bold)}.tw-font-bolder{font-weight:var(--aui-font-weight-bolder)}.tw-leading-m{line-height:var(--aui-line-height-m)}.\!tw-text-n-2{color:rgb(var(--aui-color-n-2))!important}.tw-text-help-text{color:rgb(var(--aui-color-help-text))}.tw-text-main-text{color:rgb(var(--aui-color-main-text))}.tw-text-n-1{color:rgb(var(--aui-color-n-1))}.tw-text-n-2{color:rgb(var(--aui-color-n-2))}.tw-text-n-4{color:rgb(var(--aui-color-n-4))}.tw-text-p-2{color:rgb(var(--aui-color-p-2))}.tw-text-primary{color:rgb(var(--aui-color-primary))}.tw-text-red{color:rgb(var(--aui-color-red))}.tw-size-\[16px\]{height:16px;width:16px}.tw-icon-l{font-size:var(--aui-icon-size-l)}.tw-icon-m{font-size:var(--aui-icon-size-m)}.tw-leading-text-xl{font-size:var(--aui-font-size-xl);line-height:var(--aui-line-height-xl)}.tw-required-mark:before{--tw-text-opacity:1;--tw-content:"*";color:rgb(235 98 98/var(--tw-text-opacity));content:var(--tw-content);margin-right:var(--aui-spacing-s)}.tw-text-overflow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hover\:\!tw-text-primary:hover{color:rgb(var(--aui-color-primary))!important}.hover\:tw-text-primary:hover{color:rgb(var(--aui-color-primary))}html[lang=en] .lang-en\:\!tw-w-\[230px\]{width:230px!important}
|
|
1
|
+
/*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!tw-visible{visibility:visible!important}.tw-invisible{visibility:hidden}.tw-fixed{position:fixed}.tw-absolute{position:absolute}.tw-relative{position:relative}.tw-left-0{left:0}.tw-right-\[16px\]{right:16px}.tw-top-0{top:0}.tw-top-\[12px\]{top:12px}.tw-mb-12{margin-bottom:12px}.tw-mb-20{margin-bottom:20px}.tw-mb-4{margin-bottom:4px}.tw-ml-6{margin-left:6px}.tw-ml-\[-4px\]{margin-left:-4px}.tw-ml-\[4px\]{margin-left:4px}.tw-mr-16{margin-right:16px}.tw-mr-4{margin-right:4px}.tw-mr-6{margin-right:6px}.tw-mr-8{margin-right:8px}.tw-mr-\[4px\]{margin-right:4px}.tw-mt-0{margin-top:0}.tw-mt-8{margin-top:8px}.tw-line-clamp-2{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden}.tw-block{display:block}.tw-flex{display:flex}.tw-hidden{display:none}.tw-h-0{height:0}.tw-h-\[100\%\]{height:100%}.tw-h-\[100vh\]{height:100vh}.tw-h-\[200px\]{height:200px}.tw-h-\[22px\]{height:22px}.tw-h-full{height:100%}.tw-min-h-\[360px\]{min-height:360px}.tw-w-\[100\%\]{width:100%}.tw-w-\[200px\]{width:200px}.tw-w-full{width:100%}.tw-min-w-\[160px\]{min-width:160px}.tw-min-w-\[220px\]{min-width:220px}.tw-min-w-\[260px\]{min-width:260px}.tw-max-w-\[400px\]{max-width:400px}.tw-max-w-\[45\%\]{max-width:45%}.tw-flex-1{flex:1 1 0%}.tw-flex-shrink-0{flex-shrink:0}.tw-cursor-pointer{cursor:pointer}.tw-select-none{user-select:none}.tw-list-disc{list-style-type:disc}.tw-flex-row{flex-direction:row}.tw-flex-col{flex-direction:column}.tw-items-start{align-items:flex-start}.tw-items-center{align-items:center}.tw-justify-start{justify-content:flex-start}.tw-justify-end{justify-content:flex-end}.tw-justify-center{justify-content:center}.tw-overflow-hidden{overflow:hidden}.tw-overflow-y-auto{overflow-y:auto}.tw-overflow-x-hidden{overflow-x:hidden}.tw-text-ellipsis{text-overflow:ellipsis}.tw-break-words{overflow-wrap:break-word}.tw-break-all{word-break:break-all}.tw-bg-n-10{background-color:rgb(var(--aui-color-n-10))}.tw-bg-n-8{background-color:rgb(var(--aui-color-n-8))}.tw-bg-p-6{background-color:rgb(var(--aui-color-p-6))}.tw-p-12{padding:12px}.tw-p-\[12px_16px\]{padding:12px 16px}.tw-py-8{padding-bottom:8px;padding-top:8px}.tw-pl-8{padding-left:8px}.tw-pr-16{padding-right:16px}.tw-text-center{text-align:center}.tw-text-l{font-size:var(--aui-font-size-l)}.tw-text-m{font-size:var(--aui-font-size-m)}.tw-text-s{font-size:var(--aui-font-size-s)}.tw-text-xl{font-size:var(--aui-font-size-xl)}.tw-font-bold{font-weight:var(--aui-font-weight-bold)}.tw-font-bolder{font-weight:var(--aui-font-weight-bolder)}.tw-leading-m{line-height:var(--aui-line-height-m)}.\!tw-text-n-2{color:rgb(var(--aui-color-n-2))!important}.tw-text-help-text{color:rgb(var(--aui-color-help-text))}.tw-text-main-text{color:rgb(var(--aui-color-main-text))}.tw-text-n-1{color:rgb(var(--aui-color-n-1))}.tw-text-n-2{color:rgb(var(--aui-color-n-2))}.tw-text-n-4{color:rgb(var(--aui-color-n-4))}.tw-text-p-2{color:rgb(var(--aui-color-p-2))}.tw-text-primary{color:rgb(var(--aui-color-primary))}.tw-text-red{color:rgb(var(--aui-color-red))}.tw-size-\[16px\]{height:16px;width:16px}.tw-icon-l{font-size:var(--aui-icon-size-l)}.tw-icon-m{font-size:var(--aui-icon-size-m)}.tw-leading-text-xl{font-size:var(--aui-font-size-xl);line-height:var(--aui-line-height-xl)}.tw-required-mark:before{--tw-text-opacity:1;--tw-content:"*";color:rgb(235 98 98/var(--tw-text-opacity));content:var(--tw-content);margin-right:var(--aui-spacing-s)}.tw-text-overflow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hover\:\!tw-text-primary:hover{color:rgb(var(--aui-color-primary))!important}.hover\:tw-text-primary:hover{color:rgb(var(--aui-color-primary))}html[lang=en] .lang-en\:\!tw-w-\[230px\]{width:230px!important}
|
package/table/component.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Sort } from '@alauda/ui';
|
|
|
2
2
|
import { EventEmitter, QueryList, TrackByFunction } from '@angular/core';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { BehaviorSubject, Observable, ReplaySubject } from 'rxjs';
|
|
5
|
-
import { K8sResourceAction, KubernetesResourceList } from '../core/types/k8s/';
|
|
5
|
+
import { K8sResourceAction, KubernetesResourceList } from '../core/types/k8s/public-api';
|
|
6
6
|
import { StreamListLoader } from '../k8s-resource-list/types';
|
|
7
7
|
import { TableCellDefDirective } from './helpers.directive';
|
|
8
8
|
import { NormalizedTableColumnDef, TableColumnDefs, TableColumn, TableColumnDef, TableFilterFn } from './types';
|
package/table/helper.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare function defaultFilter<T extends string | number>(value: T, filterValue: T, _item: unknown, name: string): boolean;
|
|
2
|
-
export declare function defaultSorter<T>(a: T, b: T):
|
|
2
|
+
export declare function defaultSorter<T>(a: T, b: T): 0 | 1 | -1;
|
package/table/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Sort, SortDirection } from '@alauda/ui';
|
|
2
|
-
import { LiteralUnion, KubernetesResource } from '../core';
|
|
2
|
+
import { LiteralUnion, KubernetesResource } from '../core/public-api';
|
|
3
3
|
import { Translation, TranslationValue } from '../translate/types';
|
|
4
4
|
import { TableUtilService } from './util.service';
|
|
5
5
|
export type TableColumnSortDirection = Exclude<SortDirection, ''>;
|
package/table/util.service.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Sort } from '@alauda/ui';
|
|
2
|
-
import { K8sUtilService } from '../core';
|
|
2
|
+
import { K8sUtilService } from '../core/public-api';
|
|
3
3
|
import { TableColumnDef, TableColumnDefPath } from './types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare const KNOWN_COLUMNS: Set<string>;
|
package/translate/constants.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @packageDocumentation
|
|
3
3
|
* @module translate
|
|
4
4
|
*/
|
|
5
|
-
import { ValueOf } from '../core';
|
|
5
|
+
import { ValueOf } from '../core/public-api';
|
|
6
6
|
export declare const DEFAULT_REMOTE_URL = "custom/i18n.{locale}.yaml";
|
|
7
7
|
export declare const LOCALE_STORAGE = "__LOCALE__";
|
|
8
8
|
export declare const LOCALE_PLACEHOLDER_REGEX: RegExp;
|
package/translate/helpers.d.ts
CHANGED
|
@@ -12,3 +12,6 @@ declare global {
|
|
|
12
12
|
export declare const getBrowserLang: () => string;
|
|
13
13
|
export declare const getLang: <T extends string = string>(LOCALES?: T[]) => T;
|
|
14
14
|
export declare const getLonelyTranslation: (translations: Partial<Record<string, Translation>>) => string[];
|
|
15
|
+
export declare const insertSpaceBeforeEnChar: (str: string) => string;
|
|
16
|
+
export declare const insertSpaceAfterEnChar: (str: string) => string;
|
|
17
|
+
export declare const warpSpaceAroundEnChar: (str: string) => string;
|