@alauda-fe/common 1.0.0-next.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/a-chart.module.d.ts +16 -0
- package/a-chart/base-chart.d.ts +23 -0
- package/a-chart/chart-status.component.d.ts +15 -0
- package/a-chart/chart.component.d.ts +55 -0
- package/a-chart/components/base-component.d.ts +12 -0
- package/a-chart/components/index.d.ts +3 -0
- package/a-chart/components/legend/base-legend.component.d.ts +32 -0
- package/a-chart/components/legend/dropdown-legend.d.ts +17 -0
- package/a-chart/components/legend/index.d.ts +3 -0
- package/a-chart/components/legend/legend.component.d.ts +17 -0
- package/a-chart/components/title.component.d.ts +17 -0
- package/a-chart/constant.d.ts +3 -0
- package/a-chart/public-api.d.ts +12 -0
- package/a-chart/types.d.ts +28 -0
- package/a-chart/utils.d.ts +13 -0
- package/a-metric-chart/a-metric-chart.component.d.ts +108 -0
- package/a-metric-chart/a-metric-chart.module.d.ts +16 -0
- package/a-metric-chart/bar-gauge/bar-gauge.component.d.ts +25 -0
- package/a-metric-chart/base-chart.component.d.ts +14 -0
- package/a-metric-chart/metric-chart-refresh.service.d.ts +8 -0
- package/a-metric-chart/public-api.d.ts +13 -0
- package/a-metric-chart/stat-chart/stat-chart.component.d.ts +7 -0
- package/a-metric-chart/table-chart/table-chart.component.d.ts +29 -0
- package/a-metric-chart/types.d.ts +113 -0
- package/a-metric-chart/utils/index.d.ts +3 -0
- package/a-metric-chart/utils/range.d.ts +1 -0
- package/a-metric-chart/utils/unit.d.ts +48 -0
- package/a-metric-chart/utils/util.d.ts +38 -0
- package/abnormal-page/abnormal-page.component.d.ts +19 -0
- package/abnormal-page/abnormal-page.module.d.ts +11 -0
- package/abnormal-page/public-api.d.ts +2 -0
- package/api/api-gateway.interceptor.d.ts +14 -0
- package/api/api-gateway.service.d.ts +23 -0
- package/api/cluster-version.service.d.ts +22 -0
- package/api/crypto.interceptor.d.ts +18 -0
- package/api/helpers.d.ts +31 -0
- package/api/k8s-api-resource.service.d.ts +29 -0
- package/api/k8s-api.service.d.ts +112 -0
- package/api/monitor-api.service.d.ts +103 -0
- package/api/page-visibility.service.d.ts +7 -0
- package/api/platform-ui.service.d.ts +45 -0
- package/api/product.service.d.ts +13 -0
- package/api/project-api.service.d.ts +16 -0
- package/api/public-api.d.ts +20 -0
- package/api/resource-update.service.d.ts +31 -0
- package/api/types.d.ts +119 -0
- package/array-form-table/base-string-map-form.component.d.ts +22 -0
- package/array-form-table/form/component.d.ts +91 -0
- package/array-form-table/form/module.d.ts +7 -0
- package/array-form-table/key-value-form/component.d.ts +37 -0
- package/array-form-table/key-value-table/component.d.ts +9 -0
- package/array-form-table/public-api.d.ts +10 -0
- package/assets/header/cluster-blue.svg +1 -0
- package/assets/header/cluster-white.svg +1 -0
- package/assets/header/namespace-blue.svg +1 -0
- package/assets/header/namespace-white.svg +1 -0
- package/assets/header/portrait.svg +1 -0
- package/assets/header/project-blue.svg +1 -0
- package/assets/header/project-white.svg +1 -0
- package/assets/header/servicemesh-blue.svg +1 -0
- package/assets/header/servicemesh-white.svg +1 -0
- package/assets/icons/ClickHouse.svg +1 -0
- package/assets/icons/Containerd.svg +1 -0
- package/assets/icons/Docker.svg +1 -0
- package/assets/icons/ETCD.svg +1 -0
- package/assets/icons/ElasticSearch.svg +1 -0
- package/assets/icons/Grafana.svg +1 -0
- package/assets/icons/Istio.svg +1 -0
- package/assets/icons/Jaeger.svg +1 -0
- package/assets/icons/Kafka.svg +1 -0
- package/assets/icons/Kibana.svg +1 -0
- package/assets/icons/KubeVela.svg +1 -0
- package/assets/icons/Kubernetes.svg +1 -0
- package/assets/icons/Prometheus.svg +1 -0
- package/assets/icons/VictoriaMetrics.svg +1 -0
- package/assets/icons/Zookeeper.svg +1 -0
- package/assets/icons/bicolor-icons.js +1 -0
- package/assets/icons/icon-card-blue.svg +1 -0
- package/assets/icons/icon-card.svg +1 -0
- package/assets/icons/icon-cluster-small-white.svg +1 -0
- package/assets/icons/icon-cluster-small.svg +1 -0
- package/assets/icons/icon-list-blue.svg +1 -0
- package/assets/icons/icon-list.svg +1 -0
- package/assets/icons/icon-namespace-small-white.svg +1 -0
- package/assets/icons/icon-namespace-small.svg +1 -0
- package/assets/icons/icon-project-small-white.svg +1 -0
- package/assets/icons/icon-project-small.svg +1 -0
- package/assets/icons/icon-servicemesh-small-white.svg +1 -0
- package/assets/icons/icon-servicemesh-small.svg +1 -0
- package/assets/icons/navigation-icons.js +1 -0
- package/assets/icons/os/centos.svg +1 -0
- package/assets/icons/os/debian.svg +1 -0
- package/assets/icons/os/linux.svg +1 -0
- package/assets/icons/os/other.svg +1 -0
- package/assets/icons/os/red-hat.svg +1 -0
- package/assets/icons/os/t-linux.svg +1 -0
- package/assets/icons/os/ubuntu.svg +1 -0
- package/assets/icons/os/windows.svg +1 -0
- package/assets/icons/prod-icons.js +1 -0
- package/assets/icons/time.svg +1 -0
- package/assets/images/abnormal.svg +1 -0
- package/assets/images/alarm_critical.png +0 -0
- package/assets/images/avatar.svg +1 -0
- package/assets/images/dark/disconnected.svg +1 -0
- package/assets/images/dark/feature-reach-bg.svg +1 -0
- package/assets/images/dark/license-abnormal.svg +1 -0
- package/assets/images/dark/network-abnormal.svg +1 -0
- package/assets/images/dark/no-data.svg +1 -0
- package/assets/images/dark/no-message.svg +1 -0
- package/assets/images/dark/no-permission.svg +1 -0
- package/assets/images/dark/no_realtime_alarm.svg +1 -0
- package/assets/images/dark/not-deployed.svg +1 -0
- package/assets/images/dark/not-found.svg +1 -0
- package/assets/images/dark/not-supported.svg +1 -0
- package/assets/images/dark/system-abnormal.svg +1 -0
- package/assets/images/light/disconnected.svg +1 -0
- package/assets/images/light/feature-reach-bg.svg +1 -0
- package/assets/images/light/license-abnormal.svg +1 -0
- package/assets/images/light/network-abnormal.svg +1 -0
- package/assets/images/light/no-data.svg +1 -0
- package/assets/images/light/no-message.svg +1 -0
- package/assets/images/light/no-permission.svg +1 -0
- package/assets/images/light/no_realtime_alarm.svg +1 -0
- package/assets/images/light/not-deployed.svg +1 -0
- package/assets/images/light/not-found.svg +1 -0
- package/assets/images/light/not-supported.svg +1 -0
- package/assets/images/light/system-abnormal.svg +1 -0
- package/assets/images/no-data.png +0 -0
- package/assets/images/overview-banner.svg +1 -0
- package/assets/images/platform_version_bg.svg +1 -0
- package/assets/images/product-default-logo.png +0 -0
- package/assets/logos/favicon.ico +0 -0
- package/assets/logos/logo.svg +1 -0
- package/assets/logos/tke_logo_white.svg +1 -0
- package/assets/themes/override-theme.js +11 -0
- package/assets/themes/refresh-favicon.js +6 -0
- package/async-data/async-data-loader.d.ts +31 -0
- package/async-data/async-data.module.d.ts +8 -0
- package/async-data/error-page/component.d.ts +30 -0
- package/async-data/page-state/component.d.ts +21 -0
- package/async-data/public-api.d.ts +11 -0
- package/async-data/types.d.ts +29 -0
- package/authorization/app-init-url.d.ts +6 -0
- package/authorization/guard.service.d.ts +22 -0
- package/authorization/interceptor.service.d.ts +34 -0
- package/authorization/public-api.d.ts +11 -0
- package/authorization/session-manage.service.d.ts +18 -0
- package/authorization/state.service.d.ts +52 -0
- package/business/module-info/api.service.d.ts +24 -0
- package/business/module-info/public-api.d.ts +1 -0
- package/business/public-api.d.ts +7 -0
- package/business/resource-select/base-list.d.ts +32 -0
- package/business/resource-select/context.service.d.ts +47 -0
- package/business/resource-select/exports/cluster-selector/component.d.ts +23 -0
- package/business/resource-select/exports/mesh-group-selector/component.d.ts +23 -0
- package/business/resource-select/exports/namespace-page/component.d.ts +25 -0
- package/business/resource-select/exports/namespace-selector/component.d.ts +33 -0
- package/business/resource-select/exports/project-page/component.d.ts +18 -0
- package/business/resource-select/exports/project-selector/component.d.ts +27 -0
- package/business/resource-select/helpers.directive.d.ts +5 -0
- package/business/resource-select/internals/cluster-list/component.d.ts +26 -0
- package/business/resource-select/internals/data-grid/component.d.ts +42 -0
- package/business/resource-select/internals/icon/component.d.ts +12 -0
- package/business/resource-select/internals/meshgroup-list/component.d.ts +22 -0
- package/business/resource-select/internals/namespace-list/component.d.ts +65 -0
- package/business/resource-select/internals/no-data/component.d.ts +11 -0
- package/business/resource-select/internals/project-list/component.d.ts +22 -0
- package/business/resource-select/internals/resource-dashboard/component.d.ts +14 -0
- package/business/resource-select/internals/selector-popup/component.d.ts +14 -0
- package/business/resource-select/internals/selector-popup/ref.d.ts +10 -0
- package/business/resource-select/internals/selector-popup/service.d.ts +21 -0
- package/business/resource-select/module.d.ts +31 -0
- package/business/resource-select/project.service.d.ts +16 -0
- package/business/resource-select/public-api.d.ts +16 -0
- package/business/resource-select/types.d.ts +77 -0
- package/business/resource-select/utils.d.ts +5 -0
- package/chart/chart.module.d.ts +29 -0
- package/chart/chart.service.d.ts +72 -0
- package/chart/common/axis/axis-label.component.d.ts +23 -0
- package/chart/common/axis/x-axis-ticks.component.d.ts +24 -0
- package/chart/common/axis/x-axis.component.d.ts +26 -0
- package/chart/common/axis/x-plot-lines.component.d.ts +23 -0
- package/chart/common/axis/y-axis-ticks.component.d.ts +33 -0
- package/chart/common/axis/y-axis.component.d.ts +28 -0
- package/chart/common/axis/y-plot-lines.component.d.ts +31 -0
- package/chart/common/chart/chart.component.d.ts +63 -0
- package/chart/common/index.d.ts +17 -0
- package/chart/common/legend/legend.component.d.ts +41 -0
- package/chart/common/range-area/range-area.component.d.ts +48 -0
- package/chart/common/reference-area/reference-area.component.d.ts +12 -0
- package/chart/common/series/area-series.component.d.ts +21 -0
- package/chart/common/series/bar-path.component.d.ts +47 -0
- package/chart/common/series/bar-series.component.d.ts +29 -0
- package/chart/common/series/line-series.component.d.ts +8 -0
- package/chart/common/series/series.component.d.ts +39 -0
- package/chart/common/tooltip/tooltip.component.d.ts +119 -0
- package/chart/constants.d.ts +10 -0
- package/chart/custom-template/dropdown-legend.d.ts +11 -0
- package/chart/public-api.d.ts +9 -0
- package/chart/types.d.ts +47 -0
- package/chart/utils.d.ts +36 -0
- package/code/code-display-dialog/component.d.ts +17 -0
- package/code/code-editor-configs.d.ts +18 -0
- package/code/code.module.d.ts +14 -0
- package/code/k8s-yaml-display-dialog/component.d.ts +16 -0
- package/code/public-api.d.ts +11 -0
- package/code/resource-yaml-display/component.d.ts +22 -0
- package/core/abstract/base-form-container.d.ts +41 -0
- package/core/abstract/base-nested-form-control.d.ts +58 -0
- package/core/abstract/index.d.ts +2 -0
- package/core/components/index.d.ts +1 -0
- package/core/components/tree/index.d.ts +1 -0
- package/core/components/tree/module.d.ts +12 -0
- package/core/components/tree/node/component.d.ts +12 -0
- package/core/components/tree/outlet.d.ts +10 -0
- package/core/components/tree/padding.d.ts +12 -0
- package/core/components/tree/public-api.d.ts +6 -0
- package/core/components/tree/toggle.d.ts +12 -0
- package/core/components/tree/tree/component.d.ts +8 -0
- package/core/constants/constants.d.ts +61 -0
- package/core/constants/index.d.ts +5 -0
- package/core/constants/patterns.d.ts +25 -0
- package/core/constants/status-icons.d.ts +28 -0
- package/core/constants/timezones.d.ts +6 -0
- package/core/constants/tokens.d.ts +44 -0
- package/core/directives/click-outside.directive.d.ts +12 -0
- package/core/directives/disabled.directive.d.ts +28 -0
- package/core/directives/feature-gate.directive.d.ts +30 -0
- package/core/directives/index.d.ts +10 -0
- package/core/directives/intercept-deactivate.directive.d.ts +18 -0
- package/core/directives/last-form-item.directive.d.ts +8 -0
- package/core/directives/page-header-content.directive.d.ts +25 -0
- package/core/directives/readonly-field.directive.d.ts +39 -0
- package/core/directives/resize.directive.d.ts +17 -0
- package/core/directives/scroll-border-observer.directive.d.ts +23 -0
- package/core/directives/scroll-to-first-invalid.directive.d.ts +24 -0
- package/core/guards/feature.guard.d.ts +28 -0
- package/core/guards/index.d.ts +4 -0
- package/core/guards/intercept-deactivate.guard.d.ts +13 -0
- package/core/guards/leave-edit-page.guard.d.ts +13 -0
- package/core/guards/project-namespace.guard.d.ts +23 -0
- package/core/index.d.ts +1 -0
- package/core/module.d.ts +33 -0
- package/core/pipes/cron-human-readable.pipe.d.ts +14 -0
- package/core/pipes/crontab-next.pipe.d.ts +18 -0
- package/core/pipes/field-not-available.pipe.d.ts +13 -0
- package/core/pipes/img-header.pipe.d.ts +7 -0
- package/core/pipes/img-theme.pipe.d.ts +13 -0
- package/core/pipes/index.d.ts +17 -0
- package/core/pipes/k8s-util.pipe.d.ts +98 -0
- package/core/pipes/k8s-util.pipe.module.d.ts +7 -0
- package/core/pipes/keyvalue.pipe.d.ts +9 -0
- package/core/pipes/marked.pipe.d.ts +8 -0
- package/core/pipes/minimum-format.pipe.d.ts +10 -0
- package/core/pipes/page-env.pipe.d.ts +34 -0
- package/core/pipes/parse-json-translate.pipe.d.ts +9 -0
- package/core/pipes/parse-json.pipe.d.ts +7 -0
- package/core/pipes/safe.pipe.d.ts +10 -0
- package/core/pipes/time.pipe.d.ts +41 -0
- package/core/pipes/timezone-display.pipe.d.ts +10 -0
- package/core/pipes/trust-url.pipe.d.ts +19 -0
- package/core/public-api.d.ts +16 -0
- package/core/services/aui-paginator-intl.service.d.ts +13 -0
- package/core/services/aui-tooltip-copy-intl.service.d.ts +11 -0
- package/core/services/context.service.d.ts +33 -0
- package/core/services/custom-code-editor-intl.service.d.ts +33 -0
- package/core/services/feature-gate.service.d.ts +35 -0
- package/core/services/form-row-duplicate/form-row-duplicate.service.d.ts +45 -0
- package/core/services/index.d.ts +14 -0
- package/core/services/intercept-deactivate.service.d.ts +28 -0
- package/core/services/k8s-util.service.d.ts +78 -0
- package/core/services/on-resize.service.d.ts +20 -0
- package/core/services/silently-navigate.service.d.ts +11 -0
- package/core/services/time.service.d.ts +17 -0
- package/core/services/ui-state.service.d.ts +41 -0
- package/core/services/workspace-helper.service.d.ts +12 -0
- package/core/services/yaml-util.service.d.ts +20 -0
- package/core/types/commons.d.ts +40 -0
- package/core/types/helpers.d.ts +35 -0
- package/core/types/index.d.ts +10 -0
- package/core/types/k8s/core.d.ts +91 -0
- package/core/types/k8s/crd.d.ts +444 -0
- package/core/types/k8s/index.d.ts +3 -0
- package/core/types/k8s/raw.d.ts +978 -0
- package/core/types/resource-definitions.d.ts +734 -0
- package/core/types/schema.d.ts +14 -0
- package/core/utils/browser.d.ts +3 -0
- package/core/utils/cache-store.d.ts +33 -0
- package/core/utils/color-helpers.d.ts +4 -0
- package/core/utils/common.d.ts +54 -0
- package/core/utils/create-recursive-filter.d.ts +41 -0
- package/core/utils/cron-util.d.ts +8 -0
- package/core/utils/decorators.d.ts +12 -0
- package/core/utils/format-number.d.ts +11 -0
- package/core/utils/index.d.ts +22 -0
- package/core/utils/k8s-pattern.d.ts +12 -0
- package/core/utils/k8s-util.d.ts +28 -0
- package/core/utils/local-storage-constants.d.ts +1 -0
- package/core/utils/node.d.ts +8 -0
- package/core/utils/observable.d.ts +4 -0
- package/core/utils/operators.d.ts +19 -0
- package/core/utils/request-pool.d.ts +12 -0
- package/core/utils/resources.d.ts +19 -0
- package/core/utils/tree.d.ts +16 -0
- package/core/utils/unit.d.ts +23 -0
- package/core/utils/version.d.ts +39 -0
- package/core/utils/with-load-state.d.ts +11 -0
- package/core/utils/workspace.d.ts +28 -0
- package/core/utils/yaml.d.ts +10 -0
- package/custom-columns-setting/component.d.ts +16 -0
- package/custom-columns-setting/public-api.d.ts +1 -0
- package/disabled-container/disabled-container.component.d.ts +21 -0
- package/disabled-container/disabled-container.module.d.ts +10 -0
- package/disabled-container/public-api.d.ts +8 -0
- package/editable-text/component.d.ts +24 -0
- package/editable-text/index.d.ts +2 -0
- package/editable-text/module.d.ts +11 -0
- package/effect-directive/coerce-number.directive.d.ts +8 -0
- package/effect-directive/e2e-attribute-binding.directive.d.ts +10 -0
- package/effect-directive/event.directive.d.ts +11 -0
- package/effect-directive/min-max.directive.d.ts +30 -0
- package/effect-directive/module.d.ts +20 -0
- package/effect-directive/public-api.d.ts +7 -0
- package/effect-directive/trim.directive.d.ts +7 -0
- package/effect-directive/validators.directive.d.ts +12 -0
- package/errors-mapper/base-errors-mapper.d.ts +13 -0
- package/errors-mapper/default-errors-mapper.service.d.ts +10 -0
- package/errors-mapper/errors-mapper-component/component.d.ts +19 -0
- package/errors-mapper/errors-mapper.directive.d.ts +39 -0
- package/errors-mapper/errors-mapper.module.d.ts +8 -0
- package/errors-mapper/public-api.d.ts +4 -0
- package/errors-mapper/types.d.ts +16 -0
- package/esm2022/a-chart/a-chart.module.mjs +76 -0
- package/esm2022/a-chart/base-chart.mjs +84 -0
- package/esm2022/a-chart/chart-status.component.mjs +195 -0
- package/esm2022/a-chart/chart.component.mjs +283 -0
- package/esm2022/a-chart/components/base-component.mjs +23 -0
- package/esm2022/a-chart/components/index.mjs +4 -0
- package/esm2022/a-chart/components/legend/base-legend.component.mjs +110 -0
- package/esm2022/a-chart/components/legend/dropdown-legend.mjs +199 -0
- package/esm2022/a-chart/components/legend/index.mjs +4 -0
- package/esm2022/a-chart/components/legend/legend.component.mjs +102 -0
- package/esm2022/a-chart/components/title.component.mjs +99 -0
- package/esm2022/a-chart/constant.mjs +22 -0
- package/esm2022/a-chart/public-api.mjs +13 -0
- package/esm2022/a-chart/types.mjs +2 -0
- package/esm2022/a-chart/utils.mjs +37 -0
- package/esm2022/a-metric-chart/a-metric-chart.component.mjs +853 -0
- package/esm2022/a-metric-chart/a-metric-chart.module.mjs +76 -0
- package/esm2022/a-metric-chart/bar-gauge/bar-gauge.component.mjs +165 -0
- package/esm2022/a-metric-chart/base-chart.component.mjs +30 -0
- package/esm2022/a-metric-chart/metric-chart-refresh.service.mjs +18 -0
- package/esm2022/a-metric-chart/public-api.mjs +14 -0
- package/esm2022/a-metric-chart/stat-chart/stat-chart.component.mjs +70 -0
- package/esm2022/a-metric-chart/table-chart/table-chart.component.mjs +201 -0
- package/esm2022/a-metric-chart/types.mjs +17 -0
- package/esm2022/a-metric-chart/utils/index.mjs +4 -0
- package/esm2022/a-metric-chart/utils/range.mjs +35 -0
- package/esm2022/a-metric-chart/utils/unit.mjs +83 -0
- package/esm2022/a-metric-chart/utils/util.mjs +219 -0
- package/esm2022/abnormal-page/abnormal-page.component.mjs +66 -0
- package/esm2022/abnormal-page/abnormal-page.module.mjs +27 -0
- package/esm2022/abnormal-page/public-api.mjs +3 -0
- package/esm2022/alauda-fe-common.mjs +5 -0
- package/esm2022/api/api-gateway.interceptor.mjs +28 -0
- package/esm2022/api/api-gateway.service.mjs +38 -0
- package/esm2022/api/cluster-version.service.mjs +67 -0
- package/esm2022/api/crypto.interceptor.mjs +186 -0
- package/esm2022/api/helpers.mjs +101 -0
- package/esm2022/api/k8s-api-resource.service.mjs +73 -0
- package/esm2022/api/k8s-api.service.mjs +394 -0
- package/esm2022/api/monitor-api.service.mjs +158 -0
- package/esm2022/api/page-visibility.service.mjs +18 -0
- package/esm2022/api/platform-ui.service.mjs +95 -0
- package/esm2022/api/product.service.mjs +36 -0
- package/esm2022/api/project-api.service.mjs +32 -0
- package/esm2022/api/public-api.mjs +21 -0
- package/esm2022/api/resource-update.service.mjs +62 -0
- package/esm2022/api/types.mjs +30 -0
- package/esm2022/array-form-table/base-string-map-form.component.mjs +92 -0
- package/esm2022/array-form-table/form/component.mjs +466 -0
- package/esm2022/array-form-table/form/module.mjs +38 -0
- package/esm2022/array-form-table/key-value-form/component.mjs +280 -0
- package/esm2022/array-form-table/key-value-table/component.mjs +74 -0
- package/esm2022/array-form-table/public-api.mjs +11 -0
- package/esm2022/async-data/async-data-loader.mjs +63 -0
- package/esm2022/async-data/async-data.module.mjs +22 -0
- package/esm2022/async-data/error-page/component.mjs +152 -0
- package/esm2022/async-data/page-state/component.mjs +129 -0
- package/esm2022/async-data/public-api.mjs +12 -0
- package/esm2022/async-data/types.mjs +6 -0
- package/esm2022/authorization/app-init-url.mjs +33 -0
- package/esm2022/authorization/guard.service.mjs +42 -0
- package/esm2022/authorization/interceptor.service.mjs +149 -0
- package/esm2022/authorization/public-api.mjs +12 -0
- package/esm2022/authorization/session-manage.service.mjs +60 -0
- package/esm2022/authorization/state.service.mjs +254 -0
- package/esm2022/business/module-info/api.service.mjs +39 -0
- package/esm2022/business/module-info/public-api.mjs +2 -0
- package/esm2022/business/public-api.mjs +8 -0
- package/esm2022/business/resource-select/base-list.mjs +84 -0
- package/esm2022/business/resource-select/context.service.mjs +69 -0
- package/esm2022/business/resource-select/exports/cluster-selector/component.mjs +98 -0
- package/esm2022/business/resource-select/exports/mesh-group-selector/component.mjs +96 -0
- package/esm2022/business/resource-select/exports/namespace-page/component.mjs +78 -0
- package/esm2022/business/resource-select/exports/namespace-selector/component.mjs +186 -0
- package/esm2022/business/resource-select/exports/project-page/component.mjs +53 -0
- package/esm2022/business/resource-select/exports/project-selector/component.mjs +124 -0
- package/esm2022/business/resource-select/helpers.directive.mjs +13 -0
- package/esm2022/business/resource-select/internals/cluster-list/component.mjs +74 -0
- package/esm2022/business/resource-select/internals/data-grid/component.mjs +584 -0
- package/esm2022/business/resource-select/internals/icon/component.mjs +56 -0
- package/esm2022/business/resource-select/internals/meshgroup-list/component.mjs +65 -0
- package/esm2022/business/resource-select/internals/namespace-list/component.mjs +432 -0
- package/esm2022/business/resource-select/internals/no-data/component.mjs +142 -0
- package/esm2022/business/resource-select/internals/project-list/component.mjs +75 -0
- package/esm2022/business/resource-select/internals/resource-dashboard/component.mjs +79 -0
- package/esm2022/business/resource-select/internals/selector-popup/component.mjs +45 -0
- package/esm2022/business/resource-select/internals/selector-popup/ref.mjs +20 -0
- package/esm2022/business/resource-select/internals/selector-popup/service.mjs +60 -0
- package/esm2022/business/resource-select/module.mjs +166 -0
- package/esm2022/business/resource-select/project.service.mjs +47 -0
- package/esm2022/business/resource-select/public-api.mjs +17 -0
- package/esm2022/business/resource-select/types.mjs +17 -0
- package/esm2022/business/resource-select/utils.mjs +25 -0
- package/esm2022/chart/chart.module.mjs +120 -0
- package/esm2022/chart/chart.service.mjs +237 -0
- package/esm2022/chart/common/axis/axis-label.component.mjs +106 -0
- package/esm2022/chart/common/axis/x-axis-ticks.component.mjs +217 -0
- package/esm2022/chart/common/axis/x-axis.component.mjs +109 -0
- package/esm2022/chart/common/axis/x-plot-lines.component.mjs +101 -0
- package/esm2022/chart/common/axis/y-axis-ticks.component.mjs +233 -0
- package/esm2022/chart/common/axis/y-axis.component.mjs +122 -0
- package/esm2022/chart/common/axis/y-plot-lines.component.mjs +126 -0
- package/esm2022/chart/common/chart/chart.component.mjs +269 -0
- package/esm2022/chart/common/index.mjs +18 -0
- package/esm2022/chart/common/legend/legend.component.mjs +269 -0
- package/esm2022/chart/common/range-area/range-area.component.mjs +144 -0
- package/esm2022/chart/common/reference-area/reference-area.component.mjs +46 -0
- package/esm2022/chart/common/series/area-series.component.mjs +89 -0
- package/esm2022/chart/common/series/bar-path.component.mjs +156 -0
- package/esm2022/chart/common/series/bar-series.component.mjs +88 -0
- package/esm2022/chart/common/series/line-series.component.mjs +59 -0
- package/esm2022/chart/common/series/series.component.mjs +166 -0
- package/esm2022/chart/common/tooltip/tooltip.component.mjs +520 -0
- package/esm2022/chart/constants.mjs +22 -0
- package/esm2022/chart/custom-template/dropdown-legend.mjs +112 -0
- package/esm2022/chart/public-api.mjs +10 -0
- package/esm2022/chart/types.mjs +6 -0
- package/esm2022/chart/utils.mjs +117 -0
- package/esm2022/code/code-display-dialog/component.mjs +59 -0
- package/esm2022/code/code-editor-configs.mjs +62 -0
- package/esm2022/code/code.module.mjs +73 -0
- package/esm2022/code/k8s-yaml-display-dialog/component.mjs +53 -0
- package/esm2022/code/public-api.mjs +12 -0
- package/esm2022/code/resource-yaml-display/component.mjs +114 -0
- package/esm2022/core/abstract/base-form-container.mjs +131 -0
- package/esm2022/core/abstract/base-nested-form-control.mjs +195 -0
- package/esm2022/core/abstract/index.mjs +3 -0
- package/esm2022/core/components/index.mjs +2 -0
- package/esm2022/core/components/tree/index.mjs +2 -0
- package/esm2022/core/components/tree/module.mjs +41 -0
- package/esm2022/core/components/tree/node/component.mjs +47 -0
- package/esm2022/core/components/tree/outlet.mjs +34 -0
- package/esm2022/core/components/tree/padding.mjs +41 -0
- package/esm2022/core/components/tree/public-api.mjs +7 -0
- package/esm2022/core/components/tree/toggle.mjs +44 -0
- package/esm2022/core/components/tree/tree/component.mjs +27 -0
- package/esm2022/core/constants/constants.mjs +84 -0
- package/esm2022/core/constants/index.mjs +6 -0
- package/esm2022/core/constants/patterns.mjs +28 -0
- package/esm2022/core/constants/status-icons.mjs +31 -0
- package/esm2022/core/constants/timezones.mjs +234 -0
- package/esm2022/core/constants/tokens.mjs +129 -0
- package/esm2022/core/directives/click-outside.directive.mjs +51 -0
- package/esm2022/core/directives/disabled.directive.mjs +76 -0
- package/esm2022/core/directives/feature-gate.directive.mjs +87 -0
- package/esm2022/core/directives/index.mjs +11 -0
- package/esm2022/core/directives/intercept-deactivate.directive.mjs +52 -0
- package/esm2022/core/directives/last-form-item.directive.mjs +18 -0
- package/esm2022/core/directives/page-header-content.directive.mjs +41 -0
- package/esm2022/core/directives/readonly-field.directive.mjs +157 -0
- package/esm2022/core/directives/resize.directive.mjs +39 -0
- package/esm2022/core/directives/scroll-border-observer.directive.mjs +77 -0
- package/esm2022/core/directives/scroll-to-first-invalid.directive.mjs +130 -0
- package/esm2022/core/guards/feature.guard.mjs +60 -0
- package/esm2022/core/guards/index.mjs +5 -0
- package/esm2022/core/guards/intercept-deactivate.guard.mjs +40 -0
- package/esm2022/core/guards/leave-edit-page.guard.mjs +32 -0
- package/esm2022/core/guards/project-namespace.guard.mjs +70 -0
- package/esm2022/core/index.mjs +2 -0
- package/esm2022/core/module.mjs +145 -0
- package/esm2022/core/pipes/cron-human-readable.pipe.mjs +33 -0
- package/esm2022/core/pipes/crontab-next.pipe.mjs +62 -0
- package/esm2022/core/pipes/field-not-available.pipe.mjs +25 -0
- package/esm2022/core/pipes/img-header.pipe.mjs +18 -0
- package/esm2022/core/pipes/img-theme.pipe.mjs +37 -0
- package/esm2022/core/pipes/index.mjs +18 -0
- package/esm2022/core/pipes/k8s-util.pipe.mjs +196 -0
- package/esm2022/core/pipes/k8s-util.pipe.module.mjs +56 -0
- package/esm2022/core/pipes/keyvalue.pipe.mjs +20 -0
- package/esm2022/core/pipes/marked.pipe.mjs +17 -0
- package/esm2022/core/pipes/minimum-format.pipe.mjs +24 -0
- package/esm2022/core/pipes/page-env.pipe.mjs +66 -0
- package/esm2022/core/pipes/parse-json-translate.pipe.mjs +29 -0
- package/esm2022/core/pipes/parse-json.pipe.mjs +22 -0
- package/esm2022/core/pipes/safe.pipe.mjs +44 -0
- package/esm2022/core/pipes/time.pipe.mjs +115 -0
- package/esm2022/core/pipes/timezone-display.pipe.mjs +21 -0
- package/esm2022/core/pipes/trust-url.pipe.mjs +28 -0
- package/esm2022/core/public-api.mjs +17 -0
- package/esm2022/core/services/aui-paginator-intl.service.mjs +26 -0
- package/esm2022/core/services/aui-tooltip-copy-intl.service.mjs +24 -0
- package/esm2022/core/services/context.service.mjs +48 -0
- package/esm2022/core/services/custom-code-editor-intl.service.mjs +54 -0
- package/esm2022/core/services/feature-gate.service.mjs +73 -0
- package/esm2022/core/services/form-row-duplicate/form-row-duplicate.service.mjs +280 -0
- package/esm2022/core/services/index.mjs +15 -0
- package/esm2022/core/services/intercept-deactivate.service.mjs +78 -0
- package/esm2022/core/services/k8s-util.service.mjs +181 -0
- package/esm2022/core/services/on-resize.service.mjs +52 -0
- package/esm2022/core/services/silently-navigate.service.mjs +28 -0
- package/esm2022/core/services/time.service.mjs +46 -0
- package/esm2022/core/services/ui-state.service.mjs +68 -0
- package/esm2022/core/services/workspace-helper.service.mjs +21 -0
- package/esm2022/core/services/yaml-util.service.mjs +97 -0
- package/esm2022/core/types/commons.mjs +6 -0
- package/esm2022/core/types/helpers.mjs +12 -0
- package/esm2022/core/types/index.mjs +11 -0
- package/esm2022/core/types/k8s/core.mjs +2 -0
- package/esm2022/core/types/k8s/crd.mjs +26 -0
- package/esm2022/core/types/k8s/index.mjs +4 -0
- package/esm2022/core/types/k8s/raw.mjs +123 -0
- package/esm2022/core/types/resource-definitions.mjs +408 -0
- package/esm2022/core/types/schema.mjs +2 -0
- package/esm2022/core/utils/browser.mjs +15 -0
- package/esm2022/core/utils/cache-store.mjs +55 -0
- package/esm2022/core/utils/color-helpers.mjs +6 -0
- package/esm2022/core/utils/common.mjs +261 -0
- package/esm2022/core/utils/create-recursive-filter.mjs +57 -0
- package/esm2022/core/utils/cron-util.mjs +44 -0
- package/esm2022/core/utils/decorators.mjs +116 -0
- package/esm2022/core/utils/format-number.mjs +229 -0
- package/esm2022/core/utils/index.mjs +23 -0
- package/esm2022/core/utils/k8s-pattern.mjs +13 -0
- package/esm2022/core/utils/k8s-util.mjs +97 -0
- package/esm2022/core/utils/local-storage-constants.mjs +2 -0
- package/esm2022/core/utils/node.mjs +18 -0
- package/esm2022/core/utils/observable.mjs +23 -0
- package/esm2022/core/utils/operators.mjs +32 -0
- package/esm2022/core/utils/request-pool.mjs +37 -0
- package/esm2022/core/utils/resources.mjs +66 -0
- package/esm2022/core/utils/tree.mjs +79 -0
- package/esm2022/core/utils/unit.mjs +199 -0
- package/esm2022/core/utils/version.mjs +76 -0
- package/esm2022/core/utils/with-load-state.mjs +21 -0
- package/esm2022/core/utils/workspace.mjs +59 -0
- package/esm2022/core/utils/yaml.mjs +46 -0
- package/esm2022/custom-columns-setting/component.mjs +107 -0
- package/esm2022/custom-columns-setting/public-api.mjs +2 -0
- package/esm2022/disabled-container/disabled-container.component.mjs +88 -0
- package/esm2022/disabled-container/disabled-container.module.mjs +28 -0
- package/esm2022/disabled-container/public-api.mjs +9 -0
- package/esm2022/editable-text/component.mjs +96 -0
- package/esm2022/editable-text/index.mjs +3 -0
- package/esm2022/editable-text/module.mjs +44 -0
- package/esm2022/effect-directive/coerce-number.directive.mjs +57 -0
- package/esm2022/effect-directive/e2e-attribute-binding.directive.mjs +57 -0
- package/esm2022/effect-directive/event.directive.mjs +56 -0
- package/esm2022/effect-directive/min-max.directive.mjs +111 -0
- package/esm2022/effect-directive/module.mjs +46 -0
- package/esm2022/effect-directive/public-api.mjs +8 -0
- package/esm2022/effect-directive/trim.directive.mjs +43 -0
- package/esm2022/effect-directive/validators.directive.mjs +43 -0
- package/esm2022/errors-mapper/base-errors-mapper.mjs +42 -0
- package/esm2022/errors-mapper/default-errors-mapper.service.mjs +65 -0
- package/esm2022/errors-mapper/errors-mapper-component/component.mjs +71 -0
- package/esm2022/errors-mapper/errors-mapper.directive.mjs +115 -0
- package/esm2022/errors-mapper/errors-mapper.module.mjs +18 -0
- package/esm2022/errors-mapper/public-api.mjs +5 -0
- package/esm2022/errors-mapper/types.mjs +2 -0
- package/esm2022/exec/constants.mjs +64 -0
- package/esm2022/exec/index.mjs +8 -0
- package/esm2022/exec/module.mjs +82 -0
- package/esm2022/exec/placeholder/component.mjs +42 -0
- package/esm2022/exec/service.mjs +38 -0
- package/esm2022/exec/terminal/component.mjs +571 -0
- package/esm2022/exec/terminal-group/component.mjs +206 -0
- package/esm2022/exec/types.mjs +2 -0
- package/esm2022/feature-gate-forbidden/component/component.mjs +36 -0
- package/esm2022/feature-gate-forbidden/index.mjs +3 -0
- package/esm2022/feature-gate-forbidden/module.mjs +28 -0
- package/esm2022/form/index.mjs +5 -0
- package/esm2022/form/labels-editor/component.mjs +240 -0
- package/esm2022/form/taints-editor/component.mjs +210 -0
- package/esm2022/form/utils.mjs +61 -0
- package/esm2022/form/validators/async-function-validator.directive.mjs +48 -0
- package/esm2022/form/validators/dns1123-subdomain.mjs +42 -0
- package/esm2022/form/validators/function-validator.directive.mjs +48 -0
- package/esm2022/form/validators/maxlength-minlength-validator.directive.mjs +69 -0
- package/esm2022/form/validators/module.mjs +42 -0
- package/esm2022/form/validators/not-be-validator.directive.mjs +55 -0
- package/esm2022/form/validators/one-of-validator.directive.mjs +56 -0
- package/esm2022/form/validators/public-api.mjs +11 -0
- package/esm2022/form/validators/resource-limit.mjs +79 -0
- package/esm2022/form/validators/strong-password/index.mjs +4 -0
- package/esm2022/form/validators/strong-password/strong-password-tooltip/component.mjs +102 -0
- package/esm2022/form/validators/strong-password/strong-password-tooltip/index.mjs +2 -0
- package/esm2022/form/validators/strong-password/strong-password-validator.directive.mjs +172 -0
- package/esm2022/form/validators/strong-password/strong-password-validator.module.mjs +42 -0
- package/esm2022/form/validators/utils.mjs +107 -0
- package/esm2022/graph-canvas/components/graph-actions.component.mjs +48 -0
- package/esm2022/graph-canvas/components/graph-canvas.component.mjs +354 -0
- package/esm2022/graph-canvas/components/graph-link.component.mjs +140 -0
- package/esm2022/graph-canvas/components/graph-links.component.mjs +19 -0
- package/esm2022/graph-canvas/components/graph-node.directive.mjs +30 -0
- package/esm2022/graph-canvas/graph-canvas.module.mjs +49 -0
- package/esm2022/graph-canvas/graph-store.service.mjs +45 -0
- package/esm2022/graph-canvas/public-api.mjs +8 -0
- package/esm2022/graph-canvas/types.mjs +2 -0
- package/esm2022/graph-canvas/utils.mjs +16 -0
- package/esm2022/grid-layout/components/grid/component.mjs +286 -0
- package/esm2022/grid-layout/components/grid-items/component.mjs +228 -0
- package/esm2022/grid-layout/constant.mjs +7 -0
- package/esm2022/grid-layout/directives/drag-handler.directive.mjs +29 -0
- package/esm2022/grid-layout/directives/placeholder.directive.mjs +36 -0
- package/esm2022/grid-layout/directives/remove-handler.directive.mjs +22 -0
- package/esm2022/grid-layout/directives/resize-handler.directive.mjs +29 -0
- package/esm2022/grid-layout/grid-layout.service.mjs +85 -0
- package/esm2022/grid-layout/grid-placeholder.service.mjs +45 -0
- package/esm2022/grid-layout/index.mjs +11 -0
- package/esm2022/grid-layout/module.mjs +38 -0
- package/esm2022/grid-layout/type.mjs +6 -0
- package/esm2022/grid-layout/utils/client-rect.utils.mjs +12 -0
- package/esm2022/grid-layout/utils/grid.utils.mjs +265 -0
- package/esm2022/grid-layout/utils/mouse.utils.mjs +50 -0
- package/esm2022/grid-layout/utils/operator.mjs +6 -0
- package/esm2022/grid-layout/utils/react-grid-layout.utils.mjs +471 -0
- package/esm2022/grid-layout/utils/scroll.utils.mjs +209 -0
- package/esm2022/help-document/component.mjs +103 -0
- package/esm2022/help-document/directive.mjs +128 -0
- package/esm2022/help-document/module.mjs +47 -0
- package/esm2022/help-document/public-api.mjs +10 -0
- package/esm2022/help-document/service.mjs +57 -0
- package/esm2022/iframe-config/config.service.mjs +49 -0
- package/esm2022/iframe-config/constants.mjs +8 -0
- package/esm2022/iframe-config/public-api.mjs +9 -0
- package/esm2022/k8s-resource-list/footer/component.mjs +331 -0
- package/esm2022/k8s-resource-list/k8s-resource-list.mjs +226 -0
- package/esm2022/k8s-resource-list/k8s-resource-list.module.mjs +43 -0
- package/esm2022/k8s-resource-list/k8s-resource-paged-list.mjs +176 -0
- package/esm2022/k8s-resource-list/public-api.mjs +13 -0
- package/esm2022/k8s-resource-list/types.mjs +11 -0
- package/esm2022/k8s-resource-list/utils.mjs +81 -0
- package/esm2022/license/license-api.mjs +55 -0
- package/esm2022/license/license-error/component.mjs +113 -0
- package/esm2022/license/license-error/module.mjs +55 -0
- package/esm2022/license/license.guard.mjs +54 -0
- package/esm2022/license/license.service.mjs +53 -0
- package/esm2022/license/license.type.mjs +24 -0
- package/esm2022/license/public-api.mjs +12 -0
- package/esm2022/metric-chart/common-chart.service.mjs +77 -0
- package/esm2022/metric-chart/helpers.mjs +111 -0
- package/esm2022/metric-chart/metric-chart.component.mjs +344 -0
- package/esm2022/metric-chart/metric-chart.module.mjs +61 -0
- package/esm2022/metric-chart/metric-time-pick.mjs +114 -0
- package/esm2022/metric-chart/public-api.mjs +14 -0
- package/esm2022/metric-chart/range-util.mjs +35 -0
- package/esm2022/metric-chart/types.mjs +2 -0
- package/esm2022/metric-chart/utils.mjs +220 -0
- package/esm2022/multi-search/action-input/component.mjs +1055 -0
- package/esm2022/multi-search/form/component.mjs +379 -0
- package/esm2022/multi-search/index.mjs +5 -0
- package/esm2022/multi-search/multi-search-tags/component.mjs +129 -0
- package/esm2022/multi-search/types.mjs +2 -0
- package/esm2022/multi-search/utils.mjs +48 -0
- package/esm2022/mutable/element.mjs +23 -0
- package/esm2022/mutable/mosaic/mosaic.component.mjs +98 -0
- package/esm2022/mutable/mosaic/mosaic.directive.mjs +23 -0
- package/esm2022/mutable/mutable.directive.mjs +356 -0
- package/esm2022/mutable/mutable.module.mjs +41 -0
- package/esm2022/mutable/public-api.mjs +6 -0
- package/esm2022/mutable/util.mjs +16 -0
- package/esm2022/notification/errors-mapper.mjs +28 -0
- package/esm2022/notification/feedback-notification/component.mjs +95 -0
- package/esm2022/notification/helpers.mjs +4 -0
- package/esm2022/notification/notification-util.module.mjs +32 -0
- package/esm2022/notification/notification-util.service.mjs +156 -0
- package/esm2022/notification/public-api.mjs +13 -0
- package/esm2022/notification/resource-error.interceptor.mjs +60 -0
- package/esm2022/overview-banner/overview-banner.component.mjs +34 -0
- package/esm2022/overview-banner/overview-banner.module.mjs +20 -0
- package/esm2022/overview-banner/overview-banner.types.mjs +2 -0
- package/esm2022/overview-banner/public-api.mjs +4 -0
- package/esm2022/page-guard/component/component.mjs +295 -0
- package/esm2022/page-guard/component/helper-directives.mjs +51 -0
- package/esm2022/page-guard/component/page-guard.type.mjs +82 -0
- package/esm2022/page-guard/module.mjs +37 -0
- package/esm2022/page-guard/public-api.mjs +11 -0
- package/esm2022/page-scaffold/index.mjs +5 -0
- package/esm2022/page-scaffold/module.mjs +21 -0
- package/esm2022/page-scaffold/navigation/breadcrumb/breadcrumb-slot.directive.mjs +26 -0
- package/esm2022/page-scaffold/navigation/breadcrumb/breadcrumb.component.mjs +266 -0
- package/esm2022/page-scaffold/navigation/breadcrumb/breadcrumb.service.mjs +27 -0
- package/esm2022/page-scaffold/navigation/breadcrumb/index.mjs +5 -0
- package/esm2022/page-scaffold/navigation/breadcrumb/module.mjs +44 -0
- package/esm2022/page-scaffold/navigation/index.mjs +7 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animation-data.mjs +113 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/alarm.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/app.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/application.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/artifactory.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/audit.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/auxiliary_function.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/backup.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/bar_chart.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/bill.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/catalog.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/certificate.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/ci.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/code.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/data_service.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/devops.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/devops_tools.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/events.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/file.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/gateway.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/gitops.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/inspection.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/internet.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/kafka.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/log.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/member.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/mongodb.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/monitor.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/mysql.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/namespace.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/notice.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/oam.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/operation_center.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/params_template.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/pipeline.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/platform_settings.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/postgresql.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/product.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/proj.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/rabbitmq.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/redis.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/resource_list.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/rocketmq.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/scrum.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/secrets.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/security.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/server.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/service_mesh.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/sitemap.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/sliders_up.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/storage.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/test_management.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/topology.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/user_role.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/view_jaeger.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/animations/virtualization.json +1 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/index.mjs +3 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/lottie-icon.directive.mjs +91 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/module.mjs +17 -0
- package/esm2022/page-scaffold/navigation/lottie-icons/replace-lottie-colors.mjs +70 -0
- package/esm2022/page-scaffold/navigation/module.mjs +18 -0
- package/esm2022/page-scaffold/navigation/nav-menu/index.mjs +4 -0
- package/esm2022/page-scaffold/navigation/nav-menu/nav-item-li/nav-item-li.component.mjs +443 -0
- package/esm2022/page-scaffold/navigation/nav-menu/nav-item-ul/nav-item-ul.component.mjs +83 -0
- package/esm2022/page-scaffold/navigation/nav-menu/nav-menu.component.mjs +185 -0
- package/esm2022/page-scaffold/navigation/nav-menu/nav-menu.module.mjs +63 -0
- package/esm2022/page-scaffold/navigation/nav-menu/nav-menu.types.mjs +2 -0
- package/esm2022/page-scaffold/navigation/navconfig-loader/index.mjs +8 -0
- package/esm2022/page-scaffold/navigation/navconfig-loader/navconfig-loader.service.mjs +175 -0
- package/esm2022/page-scaffold/navigation/utils.mjs +12 -0
- package/esm2022/page-scaffold/page/context.service.mjs +22 -0
- package/esm2022/page-scaffold/page/helper-directives.mjs +66 -0
- package/esm2022/page-scaffold/page/index.mjs +5 -0
- package/esm2022/page-scaffold/page/notices/maintenance.component.mjs +146 -0
- package/esm2022/page-scaffold/page/notices/notice.component.mjs +129 -0
- package/esm2022/page-scaffold/page/page.component.mjs +140 -0
- package/esm2022/page-scaffold/page/page.module.mjs +67 -0
- package/esm2022/page-scaffold/page-header/account-menu/component/component.mjs +199 -0
- package/esm2022/page-scaffold/page-header/account-menu/module.mjs +43 -0
- package/esm2022/page-scaffold/page-header/account-menu/public-api.mjs +8 -0
- package/esm2022/page-scaffold/page-header/common-layout/common-layout.module.mjs +75 -0
- package/esm2022/page-scaffold/page-header/common-layout/context.service.mjs +86 -0
- package/esm2022/page-scaffold/page-header/common-layout/namespace-select/component.mjs +271 -0
- package/esm2022/page-scaffold/page-header/common-layout/product-select/component.mjs +273 -0
- package/esm2022/page-scaffold/page-header/common-layout/product-select/service.mjs +19 -0
- package/esm2022/page-scaffold/page-header/common-layout/project-select/base-selection.mjs +122 -0
- package/esm2022/page-scaffold/page-header/common-layout/public-api.mjs +14 -0
- package/esm2022/page-scaffold/page-header/common-layout/store.service.mjs +58 -0
- package/esm2022/page-scaffold/page-header/common-layout/utils.mjs +7 -0
- package/esm2022/page-scaffold/page-header/component.mjs +104 -0
- package/esm2022/page-scaffold/page-header/enterprise-support-status/component.mjs +131 -0
- package/esm2022/page-scaffold/page-header/header-notify/component/header-notify.component.mjs +136 -0
- package/esm2022/page-scaffold/page-header/header-notify/component/notification-list/notification-list.component.mjs +95 -0
- package/esm2022/page-scaffold/page-header/header-notify/header-notify.module.mjs +71 -0
- package/esm2022/page-scaffold/page-header/header-notify/notify.service.mjs +282 -0
- package/esm2022/page-scaffold/page-header/header-notify/public-api.mjs +10 -0
- package/esm2022/page-scaffold/page-header/header-notify/utils.mjs +44 -0
- package/esm2022/page-scaffold/page-header/help-menu/component/component.mjs +306 -0
- package/esm2022/page-scaffold/page-header/help-menu/module.mjs +65 -0
- package/esm2022/page-scaffold/page-header/help-menu/public-api.mjs +8 -0
- package/esm2022/page-scaffold/page-header/index.mjs +14 -0
- package/esm2022/page-scaffold/page-header/module.mjs +61 -0
- package/esm2022/permission/admin.guard.mjs +43 -0
- package/esm2022/permission/constants.mjs +2 -0
- package/esm2022/permission/helpers.mjs +43 -0
- package/esm2022/permission/k8s-permission.service.mjs +110 -0
- package/esm2022/permission/permission.guard.mjs +108 -0
- package/esm2022/permission/public-api.mjs +13 -0
- package/esm2022/permission/types.mjs +38 -0
- package/esm2022/pie-derivative-chart/donut-status/component.mjs +195 -0
- package/esm2022/pie-derivative-chart/indicator-color.directive.mjs +30 -0
- package/esm2022/pie-derivative-chart/numerical-limit.pipe.mjs +26 -0
- package/esm2022/pie-derivative-chart/pie-derivative-chart.module.mjs +67 -0
- package/esm2022/pie-derivative-chart/public-api.mjs +11 -0
- package/esm2022/pie-derivative-chart/radial-bar/radial-bar-chart.component.mjs +244 -0
- package/esm2022/public-api.mjs +44 -0
- package/esm2022/scm/index.mjs +9 -0
- package/esm2022/scm/password-input/component.mjs +224 -0
- package/esm2022/scm/password-input/index.mjs +3 -0
- package/esm2022/scm/password-input/module.mjs +64 -0
- package/esm2022/scm/pure-pipe/calc.pipe.mjs +20 -0
- package/esm2022/scm/pure-pipe/index.mjs +4 -0
- package/esm2022/scm/pure-pipe/module.mjs +19 -0
- package/esm2022/scm/pure-pipe/pure.pipe.mjs +26 -0
- package/esm2022/scm/resource-multi-select/component.mjs +214 -0
- package/esm2022/scm/resource-multi-select/util.mjs +24 -0
- package/esm2022/scm/search-panel/component.mjs +86 -0
- package/esm2022/scm/search-panel/helper.directive.mjs +14 -0
- package/esm2022/scm/search-panel/search-item/component.mjs +28 -0
- package/esm2022/scm/text-ellipsis/component.mjs +55 -0
- package/esm2022/searchable-selector/component.mjs +275 -0
- package/esm2022/searchable-selector/module.mjs +63 -0
- package/esm2022/searchable-selector/public-api.mjs +3 -0
- package/esm2022/skeleton/item/component.mjs +44 -0
- package/esm2022/skeleton/module.mjs +26 -0
- package/esm2022/skeleton/nav-skeleton/component.mjs +35 -0
- package/esm2022/skeleton/public-api.mjs +4 -0
- package/esm2022/table/component.mjs +821 -0
- package/esm2022/table/constants.mjs +4 -0
- package/esm2022/table/helper.mjs +16 -0
- package/esm2022/table/helpers.directive.mjs +18 -0
- package/esm2022/table/module.mjs +82 -0
- package/esm2022/table/public-api.mjs +7 -0
- package/esm2022/table/types.mjs +2 -0
- package/esm2022/table/util.service.mjs +81 -0
- package/esm2022/translate/constants.mjs +13 -0
- package/esm2022/translate/en.json +533 -0
- package/esm2022/translate/helpers.mjs +22 -0
- package/esm2022/translate/pick-locale.pipe.mjs +34 -0
- package/esm2022/translate/public-api.mjs +16 -0
- package/esm2022/translate/tokens.mjs +13 -0
- package/esm2022/translate/translate.directive.mjs +164 -0
- package/esm2022/translate/translate.module.mjs +91 -0
- package/esm2022/translate/translate.pipe.mjs +72 -0
- package/esm2022/translate/translate.service.mjs +327 -0
- package/esm2022/translate/types.mjs +6 -0
- package/esm2022/translate/zh.json +533 -0
- package/esm2022/view-chart/custom-template/dropdown-legend.mjs +115 -0
- package/esm2022/view-chart/legend/legend.component.mjs +263 -0
- package/esm2022/view-chart/public-api.mjs +9 -0
- package/esm2022/view-chart/types.mjs +2 -0
- package/esm2022/view-chart/view-chart.component.mjs +845 -0
- package/esm2022/view-chart/view-chart.module.mjs +63 -0
- package/esm2022/view-zchart/custom-template/dropdown-legend.mjs +115 -0
- package/esm2022/view-zchart/legend/legend.component.mjs +270 -0
- package/esm2022/view-zchart/public-api.mjs +8 -0
- package/esm2022/view-zchart/units.mjs +28 -0
- package/esm2022/view-zchart/view-zchart.component.mjs +999 -0
- package/esm2022/view-zchart/view-zchart.module.mjs +63 -0
- package/esm2022/widget/card-section/card-section.component.mjs +33 -0
- package/esm2022/widget/confirm-delete/confirm-delete.component.mjs +342 -0
- package/esm2022/widget/confirm-delete/utils.mjs +8 -0
- package/esm2022/widget/current-time/component.mjs +42 -0
- package/esm2022/widget/date-range-picker/component.mjs +317 -0
- package/esm2022/widget/date-range-picker/public-api.mjs +4 -0
- package/esm2022/widget/date-range-picker/type.mjs +2 -0
- package/esm2022/widget/date-range-picker/util.mjs +57 -0
- package/esm2022/widget/field-set/column/component.mjs +34 -0
- package/esm2022/widget/field-set/group/component.mjs +22 -0
- package/esm2022/widget/field-set/item/component.mjs +60 -0
- package/esm2022/widget/foldable-block/component.mjs +109 -0
- package/esm2022/widget/foldable-item-in-table/component.mjs +126 -0
- package/esm2022/widget/loading-mask/loading-mask.component.mjs +75 -0
- package/esm2022/widget/public-api.mjs +20 -0
- package/esm2022/widget/relative-time/component.mjs +60 -0
- package/esm2022/widget/select-prefix-label/directive.mjs +89 -0
- package/esm2022/widget/tags-label/component.mjs +374 -0
- package/esm2022/widget/terminating-tag/component.mjs +27 -0
- package/esm2022/widget/text-tooltip/directive.mjs +73 -0
- package/esm2022/widget/text-with-url/component.mjs +76 -0
- package/esm2022/widget/widget.module.mjs +140 -0
- package/esm2022/widget/zero-state/zero-state.component.mjs +96 -0
- package/esm2022/window-channel/base-window-channel.mjs +38 -0
- package/esm2022/window-channel/directives/host-link.directive.mjs +43 -0
- package/esm2022/window-channel/host-window-channel.service.mjs +83 -0
- package/esm2022/window-channel/index.mjs +5 -0
- package/esm2022/window-channel/plugin-window-channel.service.mjs +38 -0
- package/esm2022/window-channel/utils.mjs +12 -0
- package/esm2022/xterm/public-api.mjs +4 -0
- package/esm2022/xterm/xterm-terminal/xterm-terminal.component.mjs +284 -0
- package/esm2022/xterm/xterm-terminal/xterm-terminal.directive.mjs +25 -0
- package/esm2022/xterm/xterm.component.mjs +128 -0
- package/exec/constants.d.ts +13 -0
- package/exec/index.d.ts +7 -0
- package/exec/module.d.ts +17 -0
- package/exec/placeholder/component.d.ts +20 -0
- package/exec/service.d.ts +12 -0
- package/exec/terminal/component.d.ts +95 -0
- package/exec/terminal-group/component.d.ts +41 -0
- package/exec/types.d.ts +14 -0
- package/feature-gate-forbidden/component/component.d.ts +6 -0
- package/feature-gate-forbidden/index.d.ts +2 -0
- package/feature-gate-forbidden/module.d.ts +11 -0
- package/form/index.d.ts +4 -0
- package/form/labels-editor/component.d.ts +31 -0
- package/form/taints-editor/component.d.ts +22 -0
- package/form/utils.d.ts +40 -0
- package/form/validators/async-function-validator.directive.d.ts +11 -0
- package/form/validators/dns1123-subdomain.d.ts +28 -0
- package/form/validators/function-validator.directive.d.ts +11 -0
- package/form/validators/maxlength-minlength-validator.directive.d.ts +20 -0
- package/form/validators/module.d.ts +13 -0
- package/form/validators/not-be-validator.directive.d.ts +12 -0
- package/form/validators/one-of-validator.directive.d.ts +12 -0
- package/form/validators/public-api.d.ts +10 -0
- package/form/validators/resource-limit.d.ts +16 -0
- package/form/validators/strong-password/index.d.ts +3 -0
- package/form/validators/strong-password/strong-password-tooltip/component.d.ts +6 -0
- package/form/validators/strong-password/strong-password-tooltip/index.d.ts +1 -0
- package/form/validators/strong-password/strong-password-validator.directive.d.ts +34 -0
- package/form/validators/strong-password/strong-password-validator.module.d.ts +12 -0
- package/form/validators/utils.d.ts +57 -0
- package/graph-canvas/components/graph-actions.component.d.ts +8 -0
- package/graph-canvas/components/graph-canvas.component.d.ts +47 -0
- package/graph-canvas/components/graph-link.component.d.ts +26 -0
- package/graph-canvas/components/graph-links.component.d.ts +5 -0
- package/graph-canvas/components/graph-node.directive.d.ts +15 -0
- package/graph-canvas/graph-canvas.module.d.ts +14 -0
- package/graph-canvas/graph-store.service.d.ts +19 -0
- package/graph-canvas/public-api.d.ts +7 -0
- package/graph-canvas/types.d.ts +30 -0
- package/graph-canvas/utils.d.ts +2 -0
- package/grid-layout/components/grid/component.d.ts +53 -0
- package/grid-layout/components/grid-items/component.d.ts +56 -0
- package/grid-layout/constant.d.ts +3 -0
- package/grid-layout/directives/drag-handler.directive.d.ts +11 -0
- package/grid-layout/directives/placeholder.directive.d.ts +12 -0
- package/grid-layout/directives/remove-handler.directive.d.ts +9 -0
- package/grid-layout/directives/resize-handler.directive.d.ts +11 -0
- package/grid-layout/grid-layout.service.d.ts +49 -0
- package/grid-layout/grid-placeholder.service.d.ts +17 -0
- package/grid-layout/index.d.ts +10 -0
- package/grid-layout/module.d.ts +14 -0
- package/grid-layout/type.d.ts +65 -0
- package/grid-layout/utils/client-rect.utils.d.ts +2 -0
- package/grid-layout/utils/grid.utils.d.ts +30 -0
- package/grid-layout/utils/mouse.utils.d.ts +24 -0
- package/grid-layout/utils/operator.d.ts +3 -0
- package/grid-layout/utils/react-grid-layout.utils.d.ts +171 -0
- package/grid-layout/utils/scroll.utils.d.ts +28 -0
- package/help-document/component.d.ts +30 -0
- package/help-document/directive.d.ts +38 -0
- package/help-document/module.d.ts +13 -0
- package/help-document/public-api.d.ts +9 -0
- package/help-document/service.d.ts +30 -0
- package/iframe-config/config.service.d.ts +20 -0
- package/iframe-config/constants.d.ts +7 -0
- package/iframe-config/public-api.d.ts +8 -0
- package/index.d.ts +5 -0
- package/k8s-resource-list/footer/component.d.ts +37 -0
- package/k8s-resource-list/k8s-resource-list.d.ts +42 -0
- package/k8s-resource-list/k8s-resource-list.module.d.ts +10 -0
- package/k8s-resource-list/k8s-resource-paged-list.d.ts +61 -0
- package/k8s-resource-list/public-api.d.ts +12 -0
- package/k8s-resource-list/types.d.ts +70 -0
- package/k8s-resource-list/utils.d.ts +19 -0
- package/license/license-api.d.ts +19 -0
- package/license/license-error/component.d.ts +33 -0
- package/license/license-error/module.d.ts +13 -0
- package/license/license.guard.d.ts +23 -0
- package/license/license.service.d.ts +21 -0
- package/license/license.type.d.ts +19 -0
- package/license/public-api.d.ts +11 -0
- package/metric-chart/common-chart.service.d.ts +30 -0
- package/metric-chart/helpers.d.ts +54 -0
- package/metric-chart/metric-chart.component.d.ts +115 -0
- package/metric-chart/metric-chart.module.d.ts +14 -0
- package/metric-chart/metric-time-pick.d.ts +12 -0
- package/metric-chart/public-api.d.ts +13 -0
- package/metric-chart/range-util.d.ts +1 -0
- package/metric-chart/types.d.ts +69 -0
- package/metric-chart/utils.d.ts +86 -0
- package/multi-search/action-input/component.d.ts +119 -0
- package/multi-search/form/component.d.ts +63 -0
- package/multi-search/index.d.ts +4 -0
- package/multi-search/multi-search-tags/component.d.ts +26 -0
- package/multi-search/types.d.ts +32 -0
- package/multi-search/utils.d.ts +24 -0
- package/mutable/element.d.ts +10 -0
- package/mutable/mosaic/mosaic.component.d.ts +32 -0
- package/mutable/mosaic/mosaic.directive.d.ts +9 -0
- package/mutable/mutable.directive.d.ts +83 -0
- package/mutable/mutable.module.d.ts +10 -0
- package/mutable/public-api.d.ts +5 -0
- package/mutable/util.d.ts +18 -0
- package/notification/errors-mapper.d.ts +7 -0
- package/notification/feedback-notification/component.d.ts +17 -0
- package/notification/helpers.d.ts +2 -0
- package/notification/notification-util.module.d.ts +10 -0
- package/notification/notification-util.service.d.ts +39 -0
- package/notification/public-api.d.ts +12 -0
- package/notification/resource-error.interceptor.d.ts +21 -0
- package/overview-banner/overview-banner.component.d.ts +7 -0
- package/overview-banner/overview-banner.module.d.ts +9 -0
- package/overview-banner/overview-banner.types.d.ts +5 -0
- package/overview-banner/public-api.d.ts +3 -0
- package/package.json +65 -0
- package/page-guard/component/component.d.ts +40 -0
- package/page-guard/component/helper-directives.d.ts +17 -0
- package/page-guard/component/page-guard.type.d.ts +86 -0
- package/page-guard/module.d.ts +8 -0
- package/page-guard/public-api.d.ts +10 -0
- package/page-scaffold/index.d.ts +4 -0
- package/page-scaffold/module.d.ts +10 -0
- package/page-scaffold/navigation/breadcrumb/breadcrumb-slot.directive.d.ts +12 -0
- package/page-scaffold/navigation/breadcrumb/breadcrumb.component.d.ts +40 -0
- package/page-scaffold/navigation/breadcrumb/breadcrumb.service.d.ts +13 -0
- package/page-scaffold/navigation/breadcrumb/index.d.ts +4 -0
- package/page-scaffold/navigation/breadcrumb/module.d.ts +13 -0
- package/page-scaffold/navigation/index.d.ts +6 -0
- package/page-scaffold/navigation/lottie-icons/animation-data.d.ts +2 -0
- package/page-scaffold/navigation/lottie-icons/index.d.ts +2 -0
- package/page-scaffold/navigation/lottie-icons/lottie-icon.directive.d.ts +24 -0
- package/page-scaffold/navigation/lottie-icons/module.d.ts +7 -0
- package/page-scaffold/navigation/lottie-icons/replace-lottie-colors.d.ts +1 -0
- package/page-scaffold/navigation/module.d.ts +7 -0
- package/page-scaffold/navigation/nav-menu/index.d.ts +3 -0
- package/page-scaffold/navigation/nav-menu/nav-item-li/nav-item-li.component.d.ts +52 -0
- package/page-scaffold/navigation/nav-menu/nav-item-ul/nav-item-ul.component.d.ts +10 -0
- package/page-scaffold/navigation/nav-menu/nav-menu.component.d.ts +47 -0
- package/page-scaffold/navigation/nav-menu/nav-menu.module.d.ts +16 -0
- package/page-scaffold/navigation/nav-menu/nav-menu.types.d.ts +21 -0
- package/page-scaffold/navigation/navconfig-loader/index.d.ts +7 -0
- package/page-scaffold/navigation/navconfig-loader/navconfig-loader.service.d.ts +61 -0
- package/page-scaffold/navigation/utils.d.ts +11 -0
- package/page-scaffold/page/context.service.d.ts +9 -0
- package/page-scaffold/page/helper-directives.d.ts +30 -0
- package/page-scaffold/page/index.d.ts +4 -0
- package/page-scaffold/page/notices/maintenance.component.d.ts +26 -0
- package/page-scaffold/page/notices/notice.component.d.ts +22 -0
- package/page-scaffold/page/page.component.d.ts +23 -0
- package/page-scaffold/page/page.module.d.ts +14 -0
- package/page-scaffold/page-header/account-menu/component/component.d.ts +38 -0
- package/page-scaffold/page-header/account-menu/module.d.ts +10 -0
- package/page-scaffold/page-header/account-menu/public-api.d.ts +7 -0
- package/page-scaffold/page-header/common-layout/common-layout.module.d.ts +16 -0
- package/page-scaffold/page-header/common-layout/context.service.d.ts +51 -0
- package/page-scaffold/page-header/common-layout/namespace-select/component.d.ts +49 -0
- package/page-scaffold/page-header/common-layout/product-select/component.d.ts +37 -0
- package/page-scaffold/page-header/common-layout/product-select/service.d.ts +9 -0
- package/page-scaffold/page-header/common-layout/project-select/base-selection.d.ts +24 -0
- package/page-scaffold/page-header/common-layout/public-api.d.ts +13 -0
- package/page-scaffold/page-header/common-layout/store.service.d.ts +31 -0
- package/page-scaffold/page-header/common-layout/utils.d.ts +2 -0
- package/page-scaffold/page-header/component.d.ts +21 -0
- package/page-scaffold/page-header/enterprise-support-status/component.d.ts +24 -0
- package/page-scaffold/page-header/header-notify/component/header-notify.component.d.ts +27 -0
- package/page-scaffold/page-header/header-notify/component/notification-list/notification-list.component.d.ts +19 -0
- package/page-scaffold/page-header/header-notify/header-notify.module.d.ts +14 -0
- package/page-scaffold/page-header/header-notify/notify.service.d.ts +60 -0
- package/page-scaffold/page-header/header-notify/public-api.d.ts +9 -0
- package/page-scaffold/page-header/header-notify/utils.d.ts +35 -0
- package/page-scaffold/page-header/help-menu/component/component.d.ts +45 -0
- package/page-scaffold/page-header/help-menu/module.d.ts +13 -0
- package/page-scaffold/page-header/help-menu/public-api.d.ts +7 -0
- package/page-scaffold/page-header/index.d.ts +13 -0
- package/page-scaffold/page-header/module.d.ts +15 -0
- package/permission/admin.guard.d.ts +14 -0
- package/permission/constants.d.ts +1 -0
- package/permission/helpers.d.ts +11 -0
- package/permission/k8s-permission.service.d.ts +80 -0
- package/permission/permission.guard.d.ts +22 -0
- package/permission/public-api.d.ts +12 -0
- package/permission/types.d.ts +74 -0
- package/pie-derivative-chart/donut-status/component.d.ts +79 -0
- package/pie-derivative-chart/indicator-color.directive.d.ts +10 -0
- package/pie-derivative-chart/numerical-limit.pipe.d.ts +7 -0
- package/pie-derivative-chart/pie-derivative-chart.module.d.ts +15 -0
- package/pie-derivative-chart/public-api.d.ts +10 -0
- package/pie-derivative-chart/radial-bar/radial-bar-chart.component.d.ts +55 -0
- package/public-api.d.ts +43 -0
- package/scm/index.d.ts +8 -0
- package/scm/password-input/component.d.ts +35 -0
- package/scm/password-input/index.d.ts +2 -0
- package/scm/password-input/module.d.ts +14 -0
- package/scm/pure-pipe/calc.pipe.d.ts +11 -0
- package/scm/pure-pipe/index.d.ts +3 -0
- package/scm/pure-pipe/module.d.ts +8 -0
- package/scm/pure-pipe/pure.pipe.d.ts +17 -0
- package/scm/resource-multi-select/component.d.ts +40 -0
- package/scm/resource-multi-select/util.d.ts +10 -0
- package/scm/search-panel/component.d.ts +16 -0
- package/scm/search-panel/helper.directive.d.ts +5 -0
- package/scm/search-panel/search-item/component.d.ts +7 -0
- package/scm/text-ellipsis/component.d.ts +9 -0
- package/searchable-selector/component.d.ts +54 -0
- package/searchable-selector/module.d.ts +12 -0
- package/searchable-selector/public-api.d.ts +2 -0
- package/skeleton/item/component.d.ts +12 -0
- package/skeleton/module.d.ts +10 -0
- package/skeleton/nav-skeleton/component.d.ts +6 -0
- package/skeleton/public-api.d.ts +3 -0
- package/styles/global.scss +890 -0
- package/styles/markdown-body.scss +105 -0
- package/styles/mixins.scss +640 -0
- package/styles/reset-browser.scss +88 -0
- package/styles/tailwind-preset.scss +1 -0
- package/styles/var.scss +29 -0
- package/table/component.d.ts +84 -0
- package/table/constants.d.ts +3 -0
- package/table/helper.d.ts +2 -0
- package/table/helpers.directive.d.ts +21 -0
- package/table/module.d.ts +19 -0
- package/table/public-api.d.ts +6 -0
- package/table/types.d.ts +69 -0
- package/table/util.service.d.ts +13 -0
- package/translate/constants.d.ts +13 -0
- package/translate/helpers.d.ts +14 -0
- package/translate/pick-locale.pipe.d.ts +12 -0
- package/translate/public-api.d.ts +15 -0
- package/translate/tokens.d.ts +12 -0
- package/translate/translate.directive.d.ts +52 -0
- package/translate/translate.module.d.ts +1084 -0
- package/translate/translate.pipe.d.ts +25 -0
- package/translate/translate.service.d.ts +68 -0
- package/translate/types.d.ts +20 -0
- package/view-chart/custom-template/dropdown-legend.d.ts +11 -0
- package/view-chart/legend/legend.component.d.ts +36 -0
- package/view-chart/public-api.d.ts +8 -0
- package/view-chart/types.d.ts +37 -0
- package/view-chart/view-chart.component.d.ts +187 -0
- package/view-chart/view-chart.module.d.ts +15 -0
- package/view-zchart/custom-template/dropdown-legend.d.ts +11 -0
- package/view-zchart/legend/legend.component.d.ts +42 -0
- package/view-zchart/public-api.d.ts +7 -0
- package/view-zchart/units.d.ts +2 -0
- package/view-zchart/view-zchart.component.d.ts +209 -0
- package/view-zchart/view-zchart.module.d.ts +15 -0
- package/widget/card-section/card-section.component.d.ts +7 -0
- package/widget/confirm-delete/confirm-delete.component.d.ts +57 -0
- package/widget/confirm-delete/utils.d.ts +25 -0
- package/widget/current-time/component.d.ts +14 -0
- package/widget/date-range-picker/component.d.ts +54 -0
- package/widget/date-range-picker/public-api.d.ts +3 -0
- package/widget/date-range-picker/type.d.ts +36 -0
- package/widget/date-range-picker/util.d.ts +11 -0
- package/widget/field-set/column/component.d.ts +10 -0
- package/widget/field-set/group/component.d.ts +6 -0
- package/widget/field-set/item/component.d.ts +13 -0
- package/widget/foldable-block/component.d.ts +17 -0
- package/widget/foldable-item-in-table/component.d.ts +22 -0
- package/widget/loading-mask/loading-mask.component.d.ts +13 -0
- package/widget/public-api.d.ts +19 -0
- package/widget/relative-time/component.d.ts +15 -0
- package/widget/select-prefix-label/directive.d.ts +17 -0
- package/widget/tags-label/component.d.ts +51 -0
- package/widget/terminating-tag/component.d.ts +7 -0
- package/widget/text-tooltip/directive.d.ts +21 -0
- package/widget/text-with-url/component.d.ts +12 -0
- package/widget/widget.module.d.ts +26 -0
- package/widget/zero-state/zero-state.component.d.ts +13 -0
- package/window-channel/base-window-channel.d.ts +9 -0
- package/window-channel/directives/host-link.directive.d.ts +11 -0
- package/window-channel/host-window-channel.service.d.ts +15 -0
- package/window-channel/index.d.ts +4 -0
- package/window-channel/plugin-window-channel.service.d.ts +10 -0
- package/window-channel/utils.d.ts +37 -0
- package/xterm/public-api.d.ts +3 -0
- package/xterm/xterm-terminal/xterm-terminal.component.d.ts +31 -0
- package/xterm/xterm-terminal/xterm-terminal.directive.d.ts +9 -0
- package/xterm/xterm.component.d.ts +28 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Directive, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class PageHeaderDirective {
|
|
4
|
+
constructor(template) {
|
|
5
|
+
this.template = template;
|
|
6
|
+
}
|
|
7
|
+
static { this.ɵfac = function PageHeaderDirective_Factory(t) { return new (t || PageHeaderDirective)(i0.ɵɵdirectiveInject(i0.TemplateRef)); }; }
|
|
8
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PageHeaderDirective, selectors: [["", "aclPageHeader", ""]] }); }
|
|
9
|
+
}
|
|
10
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageHeaderDirective, [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: '[aclPageHeader]',
|
|
14
|
+
}]
|
|
15
|
+
}], function () { return [{ type: i0.TemplateRef }]; }, null); })();
|
|
16
|
+
export class PageContentDirective {
|
|
17
|
+
constructor(template) {
|
|
18
|
+
this.template = template;
|
|
19
|
+
}
|
|
20
|
+
static { this.ɵfac = function PageContentDirective_Factory(t) { return new (t || PageContentDirective)(i0.ɵɵdirectiveInject(i0.TemplateRef)); }; }
|
|
21
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PageContentDirective, selectors: [["", "aclPageContent", ""]] }); }
|
|
22
|
+
}
|
|
23
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageContentDirective, [{
|
|
24
|
+
type: Directive,
|
|
25
|
+
args: [{
|
|
26
|
+
selector: '[aclPageContent]',
|
|
27
|
+
}]
|
|
28
|
+
}], function () { return [{ type: i0.TemplateRef }]; }, null); })();
|
|
29
|
+
export class PageSiderDirective {
|
|
30
|
+
static { this.ɵfac = function PageSiderDirective_Factory(t) { return new (t || PageSiderDirective)(); }; }
|
|
31
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PageSiderDirective, selectors: [["", "aclPageSider", ""]] }); }
|
|
32
|
+
}
|
|
33
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageSiderDirective, [{
|
|
34
|
+
type: Directive,
|
|
35
|
+
args: [{
|
|
36
|
+
selector: '[aclPageSider]',
|
|
37
|
+
}]
|
|
38
|
+
}], null, null); })();
|
|
39
|
+
export class PageToolbarDirective {
|
|
40
|
+
constructor(template) {
|
|
41
|
+
this.template = template;
|
|
42
|
+
}
|
|
43
|
+
static { this.ɵfac = function PageToolbarDirective_Factory(t) { return new (t || PageToolbarDirective)(i0.ɵɵdirectiveInject(i0.TemplateRef)); }; }
|
|
44
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PageToolbarDirective, selectors: [["", "aclPageToolbar", ""]] }); }
|
|
45
|
+
}
|
|
46
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageToolbarDirective, [{
|
|
47
|
+
type: Directive,
|
|
48
|
+
args: [{
|
|
49
|
+
selector: '[aclPageToolbar]',
|
|
50
|
+
}]
|
|
51
|
+
}], function () { return [{ type: i0.TemplateRef }]; }, null); })();
|
|
52
|
+
export class PageHeaderAppendDirective {
|
|
53
|
+
constructor(template) {
|
|
54
|
+
this.template = template;
|
|
55
|
+
}
|
|
56
|
+
static { this.ɵfac = function PageHeaderAppendDirective_Factory(t) { return new (t || PageHeaderAppendDirective)(i0.ɵɵdirectiveInject(i0.TemplateRef)); }; }
|
|
57
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PageHeaderAppendDirective, selectors: [["", "aclPageHeaderAppend", ""]], standalone: true }); }
|
|
58
|
+
}
|
|
59
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageHeaderAppendDirective, [{
|
|
60
|
+
type: Directive,
|
|
61
|
+
args: [{
|
|
62
|
+
selector: '[aclPageHeaderAppend]',
|
|
63
|
+
standalone: true,
|
|
64
|
+
}]
|
|
65
|
+
}], function () { return [{ type: i0.TemplateRef }]; }, null); })();
|
|
66
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscGVyLWRpcmVjdGl2ZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbW1vbi9zcmMvcGFnZS1zY2FmZm9sZC9wYWdlL2hlbHBlci1kaXJlY3RpdmVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUt2RCxNQUFNLE9BQU8sbUJBQW1CO0lBQzlCLFlBQW1CLFFBQTBCO1FBQTFCLGFBQVEsR0FBUixRQUFRLENBQWtCO0lBQUcsQ0FBQztvRk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4
|
+
export * from './page.module';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbW1vbi9zcmMvcGFnZS1zY2FmZm9sZC9wYWdlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsZUFBZSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9oZWxwZXItZGlyZWN0aXZlcyc7XG5leHBvcnQgKiBmcm9tICcuL2NvbnRleHQuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL3BhZ2UuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcGFnZS5tb2R1bGUnO1xuIl19
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { ConfirmType, DialogService } from '@alauda/ui';
|
|
2
|
+
import { AsyncPipe } from '@angular/common';
|
|
3
|
+
import { ChangeDetectionStrategy, Component, TemplateRef, ViewChild, } from '@angular/core';
|
|
4
|
+
import { BehaviorSubject, combineLatest, Subject, takeUntil } from 'rxjs';
|
|
5
|
+
import { K8sApiService } from '../../../api/k8s-api.service';
|
|
6
|
+
import { AuthorizationStateService } from '../../../authorization/state.service';
|
|
7
|
+
import { PLATFORM_OPS_MODE, RESOURCE_TYPES, skipError, } from '../../../core';
|
|
8
|
+
import { EFFECT_DIRECTIVE_MODULE } from '../../../effect-directive/module';
|
|
9
|
+
import { isAdmin } from '../../../permission/helpers';
|
|
10
|
+
import { TranslateModule, TranslateService, } from '../../../translate/public-api';
|
|
11
|
+
import { NoticeComponent } from './notice.component';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
import * as i1 from "./notice.component";
|
|
14
|
+
import * as i2 from "../../../api/k8s-api.service";
|
|
15
|
+
import * as i3 from "../../../translate/public-api";
|
|
16
|
+
import * as i4 from "../../../authorization/state.service";
|
|
17
|
+
import * as i5 from "@alauda/ui";
|
|
18
|
+
import * as i6 from "../../../translate/translate.pipe";
|
|
19
|
+
import * as i7 from "../../../effect-directive/e2e-attribute-binding.directive";
|
|
20
|
+
const _c0 = ["maintenance"];
|
|
21
|
+
const _c1 = ["announcement"];
|
|
22
|
+
function MaintenanceComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
i0.ɵɵelementStart(0, "a", 2);
|
|
24
|
+
i0.ɵɵtext(1);
|
|
25
|
+
i0.ɵɵpipe(2, "translate");
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
} if (rf & 2) {
|
|
28
|
+
i0.ɵɵadvance(1);
|
|
29
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "maintenance_mode"));
|
|
30
|
+
} }
|
|
31
|
+
function MaintenanceComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
32
|
+
i0.ɵɵelementStart(0, "div", 3);
|
|
33
|
+
i0.ɵɵtext(1);
|
|
34
|
+
i0.ɵɵpipe(2, "async");
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
36
|
+
} if (rf & 2) {
|
|
37
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
38
|
+
i0.ɵɵadvance(1);
|
|
39
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r3.announcement$));
|
|
40
|
+
} }
|
|
41
|
+
export class MaintenanceComponent {
|
|
42
|
+
constructor(notice, k8sApi, translate, auth, dialog) {
|
|
43
|
+
this.notice = notice;
|
|
44
|
+
this.k8sApi = k8sApi;
|
|
45
|
+
this.translate = translate;
|
|
46
|
+
this.auth = auth;
|
|
47
|
+
this.dialog = dialog;
|
|
48
|
+
this.noticeId = 'maintenanceModeNotice';
|
|
49
|
+
this.announcement$ = new BehaviorSubject('');
|
|
50
|
+
this.isPlatformRule$ = isAdmin(this.auth.getTokenPayload());
|
|
51
|
+
this.destroy$ = new Subject();
|
|
52
|
+
combineLatest([
|
|
53
|
+
this.isPlatformRule$,
|
|
54
|
+
this.k8sApi
|
|
55
|
+
.watchGlobalResource({
|
|
56
|
+
type: RESOURCE_TYPES.CONFIG_MAP,
|
|
57
|
+
name: PLATFORM_OPS_MODE,
|
|
58
|
+
namespaced: true,
|
|
59
|
+
})
|
|
60
|
+
.pipe(skipError({ data: {} })),
|
|
61
|
+
this.translate.locale$,
|
|
62
|
+
])
|
|
63
|
+
.pipe(takeUntil(this.destroy$))
|
|
64
|
+
.subscribe(([isPlatformRule, config]) => {
|
|
65
|
+
const enable = config?.data?.enabled === 'true';
|
|
66
|
+
if (enable) {
|
|
67
|
+
if (isPlatformRule) {
|
|
68
|
+
notice.open({
|
|
69
|
+
id: this.noticeId,
|
|
70
|
+
content: this.translate.get('maintenance_mode_top_notice_msg'),
|
|
71
|
+
suffix: this.maintenance,
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
this.announcement$.next(config?.data?.announcement);
|
|
76
|
+
if (this.hasConfirm) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
this.dialog
|
|
80
|
+
.confirm({
|
|
81
|
+
confirmType: ConfirmType.Warning,
|
|
82
|
+
title: this.translate.get('platform_maintenance_announcement'),
|
|
83
|
+
content: this.announcement,
|
|
84
|
+
confirmText: this.translate.get('logout'),
|
|
85
|
+
cancelButton: false,
|
|
86
|
+
})
|
|
87
|
+
.then(() => {
|
|
88
|
+
this.auth.logout();
|
|
89
|
+
})
|
|
90
|
+
.finally(() => {
|
|
91
|
+
this.hasConfirm = false;
|
|
92
|
+
});
|
|
93
|
+
this.hasConfirm = true;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
notice.close(this.noticeId);
|
|
98
|
+
this.dialog.closeAll();
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
ngOnDestroy() {
|
|
103
|
+
this.destroy$.next(null);
|
|
104
|
+
this.destroy$.complete();
|
|
105
|
+
}
|
|
106
|
+
static { this.ɵfac = function MaintenanceComponent_Factory(t) { return new (t || MaintenanceComponent)(i0.ɵɵdirectiveInject(i1.NoticeComponent), i0.ɵɵdirectiveInject(i2.K8sApiService), i0.ɵɵdirectiveInject(i3.TranslateService), i0.ɵɵdirectiveInject(i4.AuthorizationStateService), i0.ɵɵdirectiveInject(i5.DialogService)); }; }
|
|
107
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MaintenanceComponent, selectors: [["acl-page-header-notice-maintenance"]], viewQuery: function MaintenanceComponent_Query(rf, ctx) { if (rf & 1) {
|
|
108
|
+
i0.ɵɵviewQuery(_c0, 5);
|
|
109
|
+
i0.ɵɵviewQuery(_c1, 5);
|
|
110
|
+
} if (rf & 2) {
|
|
111
|
+
let _t;
|
|
112
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.maintenance = _t.first);
|
|
113
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.announcement = _t.first);
|
|
114
|
+
} }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 4, vars: 0, consts: [["maintenance", ""], ["announcement", ""], ["target", "_blank", "href", "/console-platform/manage-platform/platform-setting/online-ops"], [1, "tw-break-words"]], template: function MaintenanceComponent_Template(rf, ctx) { if (rf & 1) {
|
|
115
|
+
i0.ɵɵtemplate(0, MaintenanceComponent_ng_template_0_Template, 3, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
116
|
+
i0.ɵɵtemplate(2, MaintenanceComponent_ng_template_2_Template, 3, 3, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
117
|
+
} }, dependencies: [TranslateModule, i6.TranslatePipe, AsyncPipe, i7.E2eAttributeBindingDirective], encapsulation: 2, changeDetection: 0 }); }
|
|
118
|
+
}
|
|
119
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MaintenanceComponent, [{
|
|
120
|
+
type: Component,
|
|
121
|
+
args: [{
|
|
122
|
+
selector: 'acl-page-header-notice-maintenance',
|
|
123
|
+
template: `
|
|
124
|
+
<ng-template #maintenance>
|
|
125
|
+
<a
|
|
126
|
+
target="_blank"
|
|
127
|
+
href="/console-platform/manage-platform/platform-setting/online-ops"
|
|
128
|
+
>{{ 'maintenance_mode' | translate }}</a
|
|
129
|
+
>
|
|
130
|
+
</ng-template>
|
|
131
|
+
<ng-template #announcement>
|
|
132
|
+
<div class="tw-break-words">{{ announcement$ | async }}</div>
|
|
133
|
+
</ng-template>
|
|
134
|
+
`,
|
|
135
|
+
standalone: true,
|
|
136
|
+
imports: [TranslateModule, AsyncPipe, ...EFFECT_DIRECTIVE_MODULE],
|
|
137
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
138
|
+
}]
|
|
139
|
+
}], function () { return [{ type: i1.NoticeComponent }, { type: i2.K8sApiService }, { type: i3.TranslateService }, { type: i4.AuthorizationStateService }, { type: i5.DialogService }]; }, { maintenance: [{
|
|
140
|
+
type: ViewChild,
|
|
141
|
+
args: ['maintenance']
|
|
142
|
+
}], announcement: [{
|
|
143
|
+
type: ViewChild,
|
|
144
|
+
args: ['announcement']
|
|
145
|
+
}] }); })();
|
|
146
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbnRlbmFuY2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21tb24vc3JjL3BhZ2Utc2NhZmZvbGQvcGFnZS9ub3RpY2VzL21haW50ZW5hbmNlLmNvbXBvbmVudC50cyJdLCJuY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YXRmb3JtUnVsZSkge1xuICAgICAgICAgICAgbm90aWNlLm9wZW4oe1xuICAgICAgICAgICAgICBpZDogdGhpcy5ub3RpY2VJZCxcbiAgICAgICAgICAgICAgY29udGVudDogdGhpcy50cmFuc2xhdGUuZ2V0KCdtYWludGVuYW5jZV9tb2RlX3RvcF9ub3RpY2VfbXNnJyksXG4gICAgICAgICAgICAgIHN1ZmZpeDogdGhpcy5tYWludGVuYW5jZSxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0aGlzLmFubm91bmNlbWVudCQubmV4dChjb25maWc/LmRhdGE/LmFubm91bmNlbWVudCk7XG4gICAgICAgICAgICBpZiAodGhpcy5oYXNDb25maXJtKSB7XG4gICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHRoaXMuZGlhbG9nXG4gICAgICAgICAgICAgIC5jb25maXJtKHtcbiAgICAgICAgICAgICAgICBjb25maXJtVHlwZTogQ29uZmlybVR5cGUuV2FybmluZyxcbiAgICAgICAgICAgICAgICB0aXRsZTogdGhpcy50cmFuc2xhdGUuZ2V0KCdwbGF0Zm9ybV9tYWludGVuYW5jZV9hbm5vdW5jZW1lbnQnKSxcbiAgICAgICAgICAgICAgICBjb250ZW50OiB0aGlzLmFubm91bmNlbWVudCxcbiAgICAgICAgICAgICAgICBjb25maXJtVGV4dDogdGhpcy50cmFuc2xhdGUuZ2V0KCdsb2dvdXQnKSxcbiAgICAgICAgICAgICAgICBjYW5jZWxCdXR0b246IGZhbHNlLFxuICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAudGhlbigoKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5hdXRoLmxvZ291dCgpO1xuICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAuZmluYWxseSgoKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5oYXNDb25maXJtID0gZmFsc2U7XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgdGhpcy5oYXNDb25maXJtID0gdHJ1ZTtcbiAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgbm90aWNlLmNsb3NlKHRoaXMubm90aWNlSWQpO1xuICAgICAgICAgIHRoaXMuZGlhbG9nLmNsb3NlQWxsKCk7XG4gICAgICAgIH1cbiAgICAgIH0pO1xuICB9XG5cbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgdGhpcy5kZXN0cm95JC5uZXh0KG51bGwpO1xuICAgIHRoaXMuZGVzdHJveSQuY29tcGxldGUoKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { IconModule, InlineAlertType } from '@alauda/ui';
|
|
2
|
+
import { NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, } from '@angular/common';
|
|
3
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, } from '@angular/core';
|
|
4
|
+
import { uniqBy } from 'lodash-es';
|
|
5
|
+
import { PageHeaderAppendDirective } from '../helper-directives';
|
|
6
|
+
import { MaintenanceComponent } from './maintenance.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@alauda/ui";
|
|
9
|
+
function NoticeComponent_ng_container_1_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
10
|
+
i0.ɵɵelementContainer(0);
|
|
11
|
+
} }
|
|
12
|
+
function NoticeComponent_ng_container_1_aui_icon_7_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
14
|
+
i0.ɵɵelementStart(0, "aui-icon", 8);
|
|
15
|
+
i0.ɵɵlistener("click", function NoticeComponent_ng_container_1_aui_icon_7_Template_aui_icon_click_0_listener() { i0.ɵɵrestoreView(_r7); const msg_r2 = i0.ɵɵnextContext().$implicit; const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.close(msg_r2.id)); });
|
|
16
|
+
i0.ɵɵelementEnd();
|
|
17
|
+
} }
|
|
18
|
+
function NoticeComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
i0.ɵɵelementContainerStart(0);
|
|
20
|
+
i0.ɵɵelementStart(1, "div", 2);
|
|
21
|
+
i0.ɵɵelement(2, "aui-icon", 3);
|
|
22
|
+
i0.ɵɵelementStart(3, "div", 4)(4, "span", 5);
|
|
23
|
+
i0.ɵɵtext(5);
|
|
24
|
+
i0.ɵɵelementEnd();
|
|
25
|
+
i0.ɵɵtemplate(6, NoticeComponent_ng_container_1_ng_container_6_Template, 1, 0, "ng-container", 6);
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵtemplate(7, NoticeComponent_ng_container_1_aui_icon_7_Template, 1, 0, "aui-icon", 7);
|
|
28
|
+
i0.ɵɵelementEnd();
|
|
29
|
+
i0.ɵɵelementContainerEnd();
|
|
30
|
+
} if (rf & 2) {
|
|
31
|
+
const msg_r2 = ctx.$implicit;
|
|
32
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
33
|
+
i0.ɵɵadvance(1);
|
|
34
|
+
i0.ɵɵproperty("ngClass", "acl-page__header-notice--" + msg_r2.type);
|
|
35
|
+
i0.ɵɵadvance(1);
|
|
36
|
+
i0.ɵɵproperty("icon", ctx_r0.iconMap(msg_r2.type))("background", ctx_r0.iconMap(msg_r2.type).endsWith("_triangle_s") ? "triangle" : "circle");
|
|
37
|
+
i0.ɵɵadvance(3);
|
|
38
|
+
i0.ɵɵtextInterpolate(msg_r2.content);
|
|
39
|
+
i0.ɵɵadvance(1);
|
|
40
|
+
i0.ɵɵproperty("ngTemplateOutlet", msg_r2.suffix);
|
|
41
|
+
i0.ɵɵadvance(1);
|
|
42
|
+
i0.ɵɵproperty("ngIf", msg_r2.closable);
|
|
43
|
+
} }
|
|
44
|
+
function NoticeComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
45
|
+
i0.ɵɵelementContainer(0);
|
|
46
|
+
} }
|
|
47
|
+
let id = 0;
|
|
48
|
+
export class NoticeComponent {
|
|
49
|
+
constructor(cdr) {
|
|
50
|
+
this.cdr = cdr;
|
|
51
|
+
this.messages = [];
|
|
52
|
+
this.open = (message) => {
|
|
53
|
+
const idStr = `${id++}`;
|
|
54
|
+
this.messages = uniqBy([
|
|
55
|
+
{
|
|
56
|
+
id: idStr,
|
|
57
|
+
type: InlineAlertType.Warning,
|
|
58
|
+
...message,
|
|
59
|
+
},
|
|
60
|
+
...this.messages,
|
|
61
|
+
], 'id');
|
|
62
|
+
this.cdr.markForCheck();
|
|
63
|
+
return () => this.close(idStr);
|
|
64
|
+
};
|
|
65
|
+
this.close = (id) => {
|
|
66
|
+
const idx = id
|
|
67
|
+
? this.messages.findIndex(msg => msg.id === id)
|
|
68
|
+
: Math.max(this.messages.length - 1, 0);
|
|
69
|
+
if (idx > -1) {
|
|
70
|
+
this.messages.splice(idx, 1);
|
|
71
|
+
this.cdr.markForCheck();
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
iconMap(type) {
|
|
76
|
+
switch (type) {
|
|
77
|
+
case InlineAlertType.Success: {
|
|
78
|
+
return 'check_circle_s';
|
|
79
|
+
}
|
|
80
|
+
case InlineAlertType.Warning: {
|
|
81
|
+
return 'exclamation_circle_s';
|
|
82
|
+
}
|
|
83
|
+
case InlineAlertType.Danger:
|
|
84
|
+
case InlineAlertType.Error: {
|
|
85
|
+
return 'exclamation_triangle_s';
|
|
86
|
+
}
|
|
87
|
+
default: {
|
|
88
|
+
return 'info_circle_s';
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
static { this.ɵfac = function NoticeComponent_Factory(t) { return new (t || NoticeComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
93
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoticeComponent, selectors: [["acl-page-notice"]], contentQueries: function NoticeComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
94
|
+
i0.ɵɵcontentQuery(dirIndex, PageHeaderAppendDirective, 5);
|
|
95
|
+
} if (rf & 2) {
|
|
96
|
+
let _t;
|
|
97
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.pageHeaderAppend = _t.first);
|
|
98
|
+
} }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 3, vars: 2, consts: [[4, "ngFor", "ngForOf"], [4, "ngComponentOutlet"], [1, "tw-w-full", "tw-p-[12px_16px]", "tw-leading-m", "tw-relative", "tw-flex", "tw-justify-center", 3, "ngClass"], ["margin", "right", 3, "icon", "background"], [1, "tw-pr-16", 2, "max-width", "calc(100% - 40px)"], [1, "tw-mr-6"], [4, "ngTemplateOutlet"], ["icon", "xmark", "class", "tw-absolute tw-top-[12px] tw-right-[16px] hover:!tw-text-primary !tw-text-n-2 tw-cursor-pointer", 3, "click", 4, "ngIf"], ["icon", "xmark", 1, "tw-absolute", "tw-top-[12px]", "tw-right-[16px]", "hover:!tw-text-primary", "!tw-text-n-2", "tw-cursor-pointer", 3, "click"]], template: function NoticeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
99
|
+
i0.ɵɵelement(0, "acl-page-header-notice-maintenance");
|
|
100
|
+
i0.ɵɵtemplate(1, NoticeComponent_ng_container_1_Template, 8, 6, "ng-container", 0);
|
|
101
|
+
i0.ɵɵtemplate(2, NoticeComponent_ng_container_2_Template, 1, 0, "ng-container", 1);
|
|
102
|
+
} if (rf & 2) {
|
|
103
|
+
i0.ɵɵadvance(1);
|
|
104
|
+
i0.ɵɵproperty("ngForOf", ctx.messages);
|
|
105
|
+
i0.ɵɵadvance(1);
|
|
106
|
+
i0.ɵɵproperty("ngComponentOutlet", ctx.pageHeaderAppend);
|
|
107
|
+
} }, dependencies: [NgComponentOutlet,
|
|
108
|
+
NgIf,
|
|
109
|
+
NgForOf,
|
|
110
|
+
NgTemplateOutlet,
|
|
111
|
+
IconModule, i1.IconComponent, NgClass,
|
|
112
|
+
MaintenanceComponent], styles: [".acl-page__header-notice--primary[_ngcontent-%COMP%]{background-color:rgb(var(--aui-color-b-6))}.acl-page__header-notice--primary[_ngcontent-%COMP%] aui-icon[_ngcontent-%COMP%]{color:rgb(var(--aui-color-blue))}.acl-page__header-notice--success[_ngcontent-%COMP%]{background-color:rgb(var(--aui-color-g-6))}.acl-page__header-notice--success[_ngcontent-%COMP%] aui-icon[_ngcontent-%COMP%]{color:rgb(var(--aui-color-green))}.acl-page__header-notice--warning[_ngcontent-%COMP%]{background-color:rgb(var(--aui-color-y-6))}.acl-page__header-notice--warning[_ngcontent-%COMP%] aui-icon[_ngcontent-%COMP%]{color:rgb(var(--aui-color-yellow))}.acl-page__header-notice--danger[_ngcontent-%COMP%]{background-color:rgb(var(--aui-color-r-6))}.acl-page__header-notice--danger[_ngcontent-%COMP%] aui-icon[_ngcontent-%COMP%]{color:rgb(var(--aui-color-red))}.acl-page__header-notice--error[_ngcontent-%COMP%]{background-color:rgb(var(--aui-color-r-6))}.acl-page__header-notice--error[_ngcontent-%COMP%] aui-icon[_ngcontent-%COMP%]{color:rgb(var(--aui-color-red))}.acl-page__header-notice--info[_ngcontent-%COMP%]{background-color:rgb(var(--aui-color-b-6))}.acl-page__header-notice--info[_ngcontent-%COMP%] aui-icon[_ngcontent-%COMP%]{color:rgb(var(--aui-color-blue))}"], changeDetection: 0 }); }
|
|
113
|
+
}
|
|
114
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NoticeComponent, [{
|
|
115
|
+
type: Component,
|
|
116
|
+
args: [{ selector: 'acl-page-notice', imports: [
|
|
117
|
+
NgComponentOutlet,
|
|
118
|
+
NgIf,
|
|
119
|
+
NgForOf,
|
|
120
|
+
NgTemplateOutlet,
|
|
121
|
+
IconModule,
|
|
122
|
+
NgClass,
|
|
123
|
+
MaintenanceComponent,
|
|
124
|
+
], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<acl-page-header-notice-maintenance></acl-page-header-notice-maintenance>\n<ng-container *ngFor=\"let msg of messages\">\n <div\n [ngClass]=\"'acl-page__header-notice--' + msg.type\"\n class=\"tw-w-full tw-p-[12px_16px] tw-leading-m tw-relative tw-flex tw-justify-center\"\n >\n <aui-icon\n [icon]=\"iconMap(msg.type)\"\n margin=\"right\"\n [background]=\"\n iconMap(msg.type).endsWith('_triangle_s') ? 'triangle' : 'circle'\n \"\n ></aui-icon>\n <div\n style=\"max-width: calc(100% - 40px)\"\n class=\"tw-pr-16\"\n >\n <span class=\"tw-mr-6\">{{ msg.content }}</span>\n <ng-container *ngTemplateOutlet=\"msg.suffix\"></ng-container>\n </div>\n <aui-icon\n *ngIf=\"msg.closable\"\n icon=\"xmark\"\n class=\"tw-absolute tw-top-[12px] tw-right-[16px] hover:!tw-text-primary !tw-text-n-2 tw-cursor-pointer\"\n (click)=\"close(msg.id)\"\n ></aui-icon>\n </div>\n</ng-container>\n<ng-container *ngComponentOutlet=\"pageHeaderAppend\"></ng-container>\n", styles: [".acl-page__header-notice--primary{background-color:rgb(var(--aui-color-b-6))}.acl-page__header-notice--primary aui-icon{color:rgb(var(--aui-color-blue))}.acl-page__header-notice--success{background-color:rgb(var(--aui-color-g-6))}.acl-page__header-notice--success aui-icon{color:rgb(var(--aui-color-green))}.acl-page__header-notice--warning{background-color:rgb(var(--aui-color-y-6))}.acl-page__header-notice--warning aui-icon{color:rgb(var(--aui-color-yellow))}.acl-page__header-notice--danger{background-color:rgb(var(--aui-color-r-6))}.acl-page__header-notice--danger aui-icon{color:rgb(var(--aui-color-red))}.acl-page__header-notice--error{background-color:rgb(var(--aui-color-r-6))}.acl-page__header-notice--error aui-icon{color:rgb(var(--aui-color-red))}.acl-page__header-notice--info{background-color:rgb(var(--aui-color-b-6))}.acl-page__header-notice--info aui-icon{color:rgb(var(--aui-color-blue))}\n"] }]
|
|
125
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }]; }, { pageHeaderAppend: [{
|
|
126
|
+
type: ContentChild,
|
|
127
|
+
args: [PageHeaderAppendDirective]
|
|
128
|
+
}] }); })();
|
|
129
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWNlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tbW9uL3NyYy9wYWdlLXNjYWZmb2xkL3BhZ2Uvbm90aWNlcy9ub3RpY2UuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21tb24vc3JjL3BhZ2Utc2NhZmZvbGQvcGFnZS9ub3RpY2VzL25vdGljZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLGVBQWUsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUV6RCxPQUFPLEVBQ0wsT0FBTyxFQUNQLGlCQUFpQixFQUNqQixPQUFPLEVBQ1AsSUFBSSxFQUNKLGdCQUFnQixHQUNqQixNQUFNLGlCQUFpQixDQUFDO0FBQ3pCLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxZQUFZLEdBRWIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUVuQyxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUVqRSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQzs7OztJQ0Z6RCx3QkFBNEQ7Ozs7SUFFOUQsbUNBS0M7SUFEQywrTkFBUyxlQUFBLHVCQUFhLENBQUEsSUFBQztJQUN4Qix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wMCUgLSA0MHB4KVwiXG4gICAgICBjbGFzcz1cInR3LXByLTE2XCJcbiAgICA+XG4gICAgICA8c3BhbiBjbGFzcz1cInR3LW1yLTZcIj57eyBtc2cuY29udGVudCB9fTwvc3Bhbj5cbiAgICAgIDxuZy1jb250YWluZXIgKm5nVGVtcGxhdGVPdXRsZXQ9XCJtc2cuc3VmZml4XCI+PC9uZy1jb250YWluZXI+XG4gICAgPC9kaXY+XG4gICAgPGF1aS1pY29uXG4gICAgICAqbmdJZj1cIm1zZy5jbG9zYWJsZVwiXG4gICAgICBpY29uPVwieG1hcmtcIlxuICAgICAgY2xhc3M9XCJ0dy1hYnNvbHV0ZSB0dy10b3AtWzEycHhdIHR3LXJpZ2h0LVsxNnB4XSBob3ZlcjohdHctdGV4dC1wcmltYXJ5ICF0dy10ZXh0LW4tMiB0dy1jdXJzb3ItcG9pbnRlclwiXG4gICAgICAoY2xpY2spPVwiY2xvc2UobXNnLmlkKVwiXG4gICAgPjwvYXVpLWljb24+XG4gIDwvZGl2PlxuPC9uZy1jb250YWluZXI+XG48bmctY29udGFpbmVyICpuZ0NvbXBvbmVudE91dGxldD1cInBhZ2VIZWFkZXJBcHBlbmRcIj48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ContentChild, TemplateRef, ViewEncapsulation, inject, ViewChild, ElementRef, } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { IframeConfigService } from '../../iframe-config/config.service';
|
|
4
|
+
import { PageContextService } from './context.service';
|
|
5
|
+
import { PageContentDirective, PageHeaderDirective, PageSiderDirective, PageToolbarDirective, } from './helper-directives';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../../iframe-config/config.service";
|
|
8
|
+
const _c0 = ["header"];
|
|
9
|
+
function PageComponent_div_2_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
10
|
+
i0.ɵɵelementContainer(0);
|
|
11
|
+
} }
|
|
12
|
+
function PageComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
+
i0.ɵɵelementStart(0, "div", 6, 7);
|
|
14
|
+
i0.ɵɵelement(2, "acl-page-notice");
|
|
15
|
+
i0.ɵɵelementStart(3, "div", 8);
|
|
16
|
+
i0.ɵɵtemplate(4, PageComponent_div_2_ng_container_4_Template, 1, 0, "ng-container", 5);
|
|
17
|
+
i0.ɵɵelementEnd()();
|
|
18
|
+
} if (rf & 2) {
|
|
19
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
20
|
+
i0.ɵɵadvance(4);
|
|
21
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.pageHeader);
|
|
22
|
+
} }
|
|
23
|
+
function PageComponent_div_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
+
i0.ɵɵelementContainer(0);
|
|
25
|
+
} }
|
|
26
|
+
function PageComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "div", 10);
|
|
28
|
+
i0.ɵɵtemplate(2, PageComponent_div_3_ng_container_2_Template, 1, 0, "ng-container", 5);
|
|
29
|
+
i0.ɵɵelementEnd()();
|
|
30
|
+
} if (rf & 2) {
|
|
31
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
|
+
i0.ɵɵadvance(2);
|
|
33
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.pageSider);
|
|
34
|
+
} }
|
|
35
|
+
function PageComponent_div_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
i0.ɵɵelementContainer(0);
|
|
37
|
+
} }
|
|
38
|
+
function PageComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
+
i0.ɵɵelementStart(0, "div", 11);
|
|
40
|
+
i0.ɵɵtemplate(1, PageComponent_div_5_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
} if (rf & 2) {
|
|
43
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
44
|
+
i0.ɵɵadvance(1);
|
|
45
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.pageToolbar);
|
|
46
|
+
} }
|
|
47
|
+
function PageComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
+
i0.ɵɵelementContainer(0);
|
|
49
|
+
} }
|
|
50
|
+
export class PageComponent {
|
|
51
|
+
constructor(iframeConfigService) {
|
|
52
|
+
this.iframeConfigService = iframeConfigService;
|
|
53
|
+
this.classes = new Set();
|
|
54
|
+
this.classes$$ = new BehaviorSubject(this.classes);
|
|
55
|
+
this.showToolbar$ = inject(PageContextService).showToolbar$;
|
|
56
|
+
this.isHideMenu = this.iframeConfigService.isHideMenu;
|
|
57
|
+
this.isHideHeader = this.iframeConfigService.isHideHeader;
|
|
58
|
+
document.querySelector('.index-loading-spinner')?.remove();
|
|
59
|
+
}
|
|
60
|
+
ngAfterViewInit() {
|
|
61
|
+
if (this.header) {
|
|
62
|
+
const resizeObserver = new ResizeObserver(() => {
|
|
63
|
+
const height = Math.ceil(this.header.nativeElement.getBoundingClientRect().height);
|
|
64
|
+
document.documentElement.style.setProperty('--acl-page-header-height', `${height}px`);
|
|
65
|
+
});
|
|
66
|
+
resizeObserver.observe(this.header.nativeElement);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
addClass(cls) {
|
|
70
|
+
cls.split(' ').forEach(cl => {
|
|
71
|
+
this.classes.add(cl.trim());
|
|
72
|
+
});
|
|
73
|
+
this.classes$$.next(this.classes);
|
|
74
|
+
}
|
|
75
|
+
removeClass(cls) {
|
|
76
|
+
cls.split(' ').forEach(cl => {
|
|
77
|
+
this.classes.delete(cl.trim());
|
|
78
|
+
});
|
|
79
|
+
this.classes$$.next(this.classes);
|
|
80
|
+
}
|
|
81
|
+
static { this.ɵfac = function PageComponent_Factory(t) { return new (t || PageComponent)(i0.ɵɵdirectiveInject(i1.IframeConfigService)); }; }
|
|
82
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PageComponent, selectors: [["acl-page"]], contentQueries: function PageComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
83
|
+
i0.ɵɵcontentQuery(dirIndex, PageHeaderDirective, 5, TemplateRef);
|
|
84
|
+
i0.ɵɵcontentQuery(dirIndex, PageContentDirective, 5, TemplateRef);
|
|
85
|
+
i0.ɵɵcontentQuery(dirIndex, PageSiderDirective, 5, TemplateRef);
|
|
86
|
+
i0.ɵɵcontentQuery(dirIndex, PageToolbarDirective, 5, TemplateRef);
|
|
87
|
+
} if (rf & 2) {
|
|
88
|
+
let _t;
|
|
89
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.pageHeader = _t.first);
|
|
90
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.pageContent = _t.first);
|
|
91
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.pageSider = _t.first);
|
|
92
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.pageToolbar = _t.first);
|
|
93
|
+
} }, viewQuery: function PageComponent_Query(rf, ctx) { if (rf & 1) {
|
|
94
|
+
i0.ɵɵviewQuery(_c0, 5);
|
|
95
|
+
} if (rf & 2) {
|
|
96
|
+
let _t;
|
|
97
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.header = _t.first);
|
|
98
|
+
} }, features: [i0.ɵɵProvidersFeature([PageContextService])], decls: 8, vars: 17, consts: [[1, "acl-page", 3, "ngClass"], ["class", "acl-page__header", 4, "ngIf"], ["class", "acl-page__sider-wrapper tw-fixed tw-top-0 tw-left-0 tw-h-[100vh]", 4, "ngIf"], [1, "acl-page__content"], ["class", "acl-page__toolbar", 4, "ngIf"], [4, "ngTemplateOutlet"], [1, "acl-page__header"], ["header", ""], [1, "acl-page__header-content"], [1, "acl-page__sider-wrapper", "tw-fixed", "tw-top-0", "tw-left-0", "tw-h-[100vh]"], ["cdk-scrollable", "", 1, "acl-page__sider-wrapper-scroll", "tw-h-full", "tw-overflow-y-auto", "tw-overflow-x-hidden"], [1, "acl-page__toolbar"]], template: function PageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
99
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
100
|
+
i0.ɵɵpipe(1, "async");
|
|
101
|
+
i0.ɵɵtemplate(2, PageComponent_div_2_Template, 5, 1, "div", 1);
|
|
102
|
+
i0.ɵɵtemplate(3, PageComponent_div_3_Template, 3, 1, "div", 2);
|
|
103
|
+
i0.ɵɵelementStart(4, "div", 3);
|
|
104
|
+
i0.ɵɵtemplate(5, PageComponent_div_5_Template, 2, 1, "div", 4);
|
|
105
|
+
i0.ɵɵpipe(6, "async");
|
|
106
|
+
i0.ɵɵtemplate(7, PageComponent_ng_container_7_Template, 1, 0, "ng-container", 5);
|
|
107
|
+
i0.ɵɵelementEnd()();
|
|
108
|
+
} if (rf & 2) {
|
|
109
|
+
i0.ɵɵclassProp("hasHeader", ctx.pageHeader && !ctx.isHideHeader)("hasSider", ctx.pageSider)("hasToolbar", ctx.pageToolbar)("hideHeader", ctx.isHideHeader);
|
|
110
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpipeBind1(1, 13, ctx.classes$$));
|
|
111
|
+
i0.ɵɵadvance(2);
|
|
112
|
+
i0.ɵɵproperty("ngIf", ctx.pageHeader && !ctx.isHideHeader);
|
|
113
|
+
i0.ɵɵadvance(1);
|
|
114
|
+
i0.ɵɵproperty("ngIf", ctx.pageSider && !ctx.isHideMenu);
|
|
115
|
+
i0.ɵɵadvance(2);
|
|
116
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(6, 15, ctx.showToolbar$) && ctx.pageToolbar);
|
|
117
|
+
i0.ɵɵadvance(2);
|
|
118
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.pageContent);
|
|
119
|
+
} }, styles: [".acl-page{min-height:100vh;background-color:rgb(var(--aui-color-main-bg))}.acl-page__header{position:fixed;top:0;left:0;right:0;z-index:600;background-color:var(--acl-page-header-background-color)}.acl-page__header-content{display:flex;justify-content:space-between;align-items:center;height:60px;padding:0 20px 0 16px}:root .acl-page__header{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.1)}html[aui-theme-mode=light] .acl-page__header{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.1)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .acl-page__header{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.75)}}html[aui-theme-mode=dark] .acl-page__header{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.75)}.acl-page__sider-wrapper{padding:44px 4px 0 10px;z-index:500;background-color:var(--acl-nav-background-color)}.acl-page__sider-wrapper-scroll{padding:44px 10px 0;width:240px;scrollbar-width:none}.sidenav-collapse .acl-page__sider-wrapper-scroll{width:60px}.sidenav-ani .acl-page__sider-wrapper-scroll{transition:width padding;transition-duration:.3s;transition-timing-function:cubic-bezier(.38,0,.24,1)}.acl-page__sider-wrapper-scroll::-webkit-scrollbar{display:none}.acl-page__sider-wrapper acl-nav-skeleton>ul{width:220px;overflow:hidden}.sidenav-collapse .acl-page__sider-wrapper acl-nav-skeleton>ul{width:40px;transform:translate(-8px)}.acl-page__toolbar{display:flex;justify-content:space-between;align-items:center;height:44px;padding:0 0 0 20px}.acl-page__content{min-height:100vh;position:relative;padding:20px;min-width:1200px}.acl-page.hasSider .acl-page__content{min-width:960px;padding-left:0;margin-left:260px}.sidenav-collapse.acl-page.hasSider .acl-page__content{margin-left:80px}.sidenav-ani.acl-page.hasSider .acl-page__content{transition:margin-left;transition-duration:.3s;transition-timing-function:cubic-bezier(.38,0,.24,1)}.acl-page.hasHeader .acl-page__content{padding-top:calc(var(--acl-page-header-height) + 20px)}.acl-page.hasHeader.hasToolbar .acl-page__content,.acl-page.hasHeader .acl-page__sider-wrapper{padding-top:var(--acl-page-header-height)}.acl-page.hideHeader .acl-page__sider-wrapper{padding-top:0}.acl-page.hideHeader .acl-page__sider-wrapper-scroll{padding-top:20px}.acl-page.hideHeader .acl-page__content{padding-top:0}\n"], encapsulation: 2, changeDetection: 0 }); }
|
|
120
|
+
}
|
|
121
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageComponent, [{
|
|
122
|
+
type: Component,
|
|
123
|
+
args: [{ selector: 'acl-page', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, providers: [PageContextService], template: "<div\n class=\"acl-page\"\n [class.hasHeader]=\"pageHeader && !isHideHeader\"\n [class.hasSider]=\"pageSider\"\n [class.hasToolbar]=\"pageToolbar\"\n [class.hideHeader]=\"isHideHeader\"\n [ngClass]=\"classes$$ | async\"\n>\n <div\n *ngIf=\"pageHeader && !isHideHeader\"\n class=\"acl-page__header\"\n #header\n >\n <acl-page-notice></acl-page-notice>\n <div class=\"acl-page__header-content\">\n <ng-container *ngTemplateOutlet=\"pageHeader\"></ng-container>\n </div>\n </div>\n\n <div\n *ngIf=\"pageSider && !isHideMenu\"\n class=\"acl-page__sider-wrapper tw-fixed tw-top-0 tw-left-0 tw-h-[100vh]\"\n >\n <div\n class=\"acl-page__sider-wrapper-scroll tw-h-full tw-overflow-y-auto tw-overflow-x-hidden\"\n cdk-scrollable\n >\n <ng-container *ngTemplateOutlet=\"pageSider\"></ng-container>\n </div>\n </div>\n\n <div class=\"acl-page__content\">\n <div\n *ngIf=\"(showToolbar$ | async) && pageToolbar\"\n class=\"acl-page__toolbar\"\n >\n <ng-container *ngTemplateOutlet=\"pageToolbar\"></ng-container>\n </div>\n <ng-container *ngTemplateOutlet=\"pageContent\"></ng-container>\n </div>\n</div>\n", styles: [".acl-page{min-height:100vh;background-color:rgb(var(--aui-color-main-bg))}.acl-page__header{position:fixed;top:0;left:0;right:0;z-index:600;background-color:var(--acl-page-header-background-color)}.acl-page__header-content{display:flex;justify-content:space-between;align-items:center;height:60px;padding:0 20px 0 16px}:root .acl-page__header{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.1)}html[aui-theme-mode=light] .acl-page__header{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.1)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .acl-page__header{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.75)}}html[aui-theme-mode=dark] .acl-page__header{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.75)}.acl-page__sider-wrapper{padding:44px 4px 0 10px;z-index:500;background-color:var(--acl-nav-background-color)}.acl-page__sider-wrapper-scroll{padding:44px 10px 0;width:240px;scrollbar-width:none}.sidenav-collapse .acl-page__sider-wrapper-scroll{width:60px}.sidenav-ani .acl-page__sider-wrapper-scroll{transition:width padding;transition-duration:.3s;transition-timing-function:cubic-bezier(.38,0,.24,1)}.acl-page__sider-wrapper-scroll::-webkit-scrollbar{display:none}.acl-page__sider-wrapper acl-nav-skeleton>ul{width:220px;overflow:hidden}.sidenav-collapse .acl-page__sider-wrapper acl-nav-skeleton>ul{width:40px;transform:translate(-8px)}.acl-page__toolbar{display:flex;justify-content:space-between;align-items:center;height:44px;padding:0 0 0 20px}.acl-page__content{min-height:100vh;position:relative;padding:20px;min-width:1200px}.acl-page.hasSider .acl-page__content{min-width:960px;padding-left:0;margin-left:260px}.sidenav-collapse.acl-page.hasSider .acl-page__content{margin-left:80px}.sidenav-ani.acl-page.hasSider .acl-page__content{transition:margin-left;transition-duration:.3s;transition-timing-function:cubic-bezier(.38,0,.24,1)}.acl-page.hasHeader .acl-page__content{padding-top:calc(var(--acl-page-header-height) + 20px)}.acl-page.hasHeader.hasToolbar .acl-page__content,.acl-page.hasHeader .acl-page__sider-wrapper{padding-top:var(--acl-page-header-height)}.acl-page.hideHeader .acl-page__sider-wrapper{padding-top:0}.acl-page.hideHeader .acl-page__sider-wrapper-scroll{padding-top:20px}.acl-page.hideHeader .acl-page__content{padding-top:0}\n"] }]
|
|
124
|
+
}], function () { return [{ type: i1.IframeConfigService }]; }, { pageHeader: [{
|
|
125
|
+
type: ContentChild,
|
|
126
|
+
args: [PageHeaderDirective, { read: TemplateRef }]
|
|
127
|
+
}], pageContent: [{
|
|
128
|
+
type: ContentChild,
|
|
129
|
+
args: [PageContentDirective, { read: TemplateRef }]
|
|
130
|
+
}], pageSider: [{
|
|
131
|
+
type: ContentChild,
|
|
132
|
+
args: [PageSiderDirective, { read: TemplateRef }]
|
|
133
|
+
}], pageToolbar: [{
|
|
134
|
+
type: ContentChild,
|
|
135
|
+
args: [PageToolbarDirective, { read: TemplateRef }]
|
|
136
|
+
}], header: [{
|
|
137
|
+
type: ViewChild,
|
|
138
|
+
args: ['header']
|
|
139
|
+
}] }); })();
|
|
140
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbW1vbi9zcmMvcGFnZS1zY2FmZm9sZC9wYWdlL3BhZ2UuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21tb24vc3JjL3BhZ2Utc2NhZmZvbGQvcGFnZS9wYWdlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixXQUFXLEVBQ1gsaUJBQWlCLEVBQ2pCLE1BQU0sRUFDTixTQUFTLEVBQ1QsVUFBVSxHQUVYLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxNQUFNLENBQ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WY9XCJwYWdlU2lkZXIgJiYgIWlzSGlkZU1lbnVcIlxuICAgIGNsYXNzPVwiYWNsLXBhZ2VfX3NpZGVyLXdyYXBwZXIgdHctZml4ZWQgdHctdG9wLTAgdHctbGVmdC0wIHR3LWgtWzEwMHZoXVwiXG4gID5cbiAgICA8ZGl2XG4gICAgICBjbGFzcz1cImFjbC1wYWdlX19zaWRlci13cmFwcGVyLXNjcm9sbCB0dy1oLWZ1bGwgdHctb3ZlcmZsb3cteS1hdXRvIHR3LW92ZXJmbG93LXgtaGlkZGVuXCJcbiAgICAgIGNkay1zY3JvbGxhYmxlXG4gICAgPlxuICAgICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cInBhZ2VTaWRlclwiPjwvbmctY29udGFpbmVyPlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cblxuICA8ZGl2IGNsYXNzPVwiYWNsLXBhZ2VfX2NvbnRlbnRcIj5cbiAgICA8ZGl2XG4gICAgICAqbmdJZj1cIihzaG93VG9vbGJhciQgfCBhc3luYykgJiYgcGFnZVRvb2xiYXJcIlxuICAgICAgY2xhc3M9XCJhY2wtcGFnZV9fdG9vbGJhclwiXG4gICAgPlxuICAgICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cInBhZ2VUb29sYmFyXCI+PC9uZy1jb250YWluZXI+XG4gICAgPC9kaXY+XG4gICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cInBhZ2VDb250ZW50XCI+PC9uZy1jb250YWluZXI+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { IconModule, InlineAlertModule } from '@alauda/ui';
|
|
2
|
+
import { CdkScrollable } from '@angular/cdk/overlay';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { NgModule } from '@angular/core';
|
|
5
|
+
import { SkeletonModule } from '../../skeleton/module';
|
|
6
|
+
import { TranslateModule } from '../../translate/translate.module';
|
|
7
|
+
import { PageContentDirective, PageHeaderDirective, PageSiderDirective, PageToolbarDirective, } from './helper-directives';
|
|
8
|
+
import { NoticeComponent } from './notices/notice.component';
|
|
9
|
+
import { PageComponent } from './page.component';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@angular/common";
|
|
12
|
+
import * as i2 from "./notices/notice.component";
|
|
13
|
+
export class PageModule {
|
|
14
|
+
static { this.ɵfac = function PageModule_Factory(t) { return new (t || PageModule)(); }; }
|
|
15
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PageModule }); }
|
|
16
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
17
|
+
IconModule,
|
|
18
|
+
SkeletonModule,
|
|
19
|
+
InlineAlertModule,
|
|
20
|
+
TranslateModule,
|
|
21
|
+
NoticeComponent] }); }
|
|
22
|
+
}
|
|
23
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageModule, [{
|
|
24
|
+
type: NgModule,
|
|
25
|
+
args: [{
|
|
26
|
+
imports: [
|
|
27
|
+
CommonModule,
|
|
28
|
+
IconModule,
|
|
29
|
+
SkeletonModule,
|
|
30
|
+
InlineAlertModule,
|
|
31
|
+
TranslateModule,
|
|
32
|
+
NoticeComponent,
|
|
33
|
+
CdkScrollable,
|
|
34
|
+
],
|
|
35
|
+
declarations: [
|
|
36
|
+
PageComponent,
|
|
37
|
+
PageHeaderDirective,
|
|
38
|
+
PageContentDirective,
|
|
39
|
+
PageSiderDirective,
|
|
40
|
+
PageToolbarDirective,
|
|
41
|
+
],
|
|
42
|
+
exports: [
|
|
43
|
+
PageComponent,
|
|
44
|
+
PageHeaderDirective,
|
|
45
|
+
PageContentDirective,
|
|
46
|
+
PageSiderDirective,
|
|
47
|
+
PageToolbarDirective,
|
|
48
|
+
],
|
|
49
|
+
}]
|
|
50
|
+
}], null, null); })();
|
|
51
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PageModule, { declarations: [PageComponent,
|
|
52
|
+
PageHeaderDirective,
|
|
53
|
+
PageContentDirective,
|
|
54
|
+
PageSiderDirective,
|
|
55
|
+
PageToolbarDirective], imports: [CommonModule,
|
|
56
|
+
IconModule,
|
|
57
|
+
SkeletonModule,
|
|
58
|
+
InlineAlertModule,
|
|
59
|
+
TranslateModule,
|
|
60
|
+
NoticeComponent,
|
|
61
|
+
CdkScrollable], exports: [PageComponent,
|
|
62
|
+
PageHeaderDirective,
|
|
63
|
+
PageContentDirective,
|
|
64
|
+
PageSiderDirective,
|
|
65
|
+
PageToolbarDirective] }); })();
|
|
66
|
+
i0.ɵɵsetComponentScope(PageComponent, [i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i2.NoticeComponent, CdkScrollable], [i1.AsyncPipe]);
|
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbW1vbi9zcmMvcGFnZS1zY2FmZm9sZC9wYWdlL3BhZ2UubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFDM0QsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUN2RCxPQUFP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