@alauda-fe/dynamic-plugin-shared 0.0.1-alpha.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/README.md +7 -0
- package/array-form-table/base-string-map-form.component.d.ts +22 -0
- package/array-form-table/form/component.d.ts +106 -0
- package/array-form-table/form/index.d.ts +2 -0
- package/array-form-table/index.d.ts +10 -0
- package/array-form-table/key-value-form/component.d.ts +38 -0
- package/array-form-table/key-value-table/component.d.ts +9 -0
- package/array-form-table/string-array-form/component.d.ts +41 -0
- package/assets/images/abnormal.svg +1 -0
- package/assets/images/dark/disconnected.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/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/async-data/async-data-loader.d.ts +31 -0
- package/async-data/error-page/component.d.ts +30 -0
- package/async-data/index.d.ts +13 -0
- package/async-data/page-state/component.d.ts +21 -0
- package/async-data/types.d.ts +29 -0
- package/code-editor/code-display-dialog/component.d.ts +17 -0
- package/code-editor/code-editor-configs.d.ts +19 -0
- package/code-editor/index.d.ts +10 -0
- package/code-editor/k8s-yaml-display-dialog/component.d.ts +16 -0
- package/code-editor/resource-yaml-display/component.d.ts +21 -0
- package/components/card-section/card-section.component.d.ts +9 -0
- package/components/confirm-delete/confirm-delete.component.d.ts +57 -0
- package/components/confirm-delete/utils.d.ts +25 -0
- package/components/current-time/component.d.ts +14 -0
- package/components/custom-columns-setting/component.d.ts +16 -0
- package/components/custom-columns-setting/index.d.ts +1 -0
- package/components/date-range-picker/component.d.ts +55 -0
- package/components/date-range-picker/index.d.ts +3 -0
- package/components/date-range-picker/type.d.ts +36 -0
- package/components/date-range-picker/util.d.ts +11 -0
- package/components/disabled-container/disabled-container.component.d.ts +21 -0
- package/components/disabled-container/index.d.ts +7 -0
- package/components/field-set/column/component.d.ts +10 -0
- package/components/field-set/group/component.d.ts +6 -0
- package/components/field-set/index.d.ts +7 -0
- package/components/field-set/item/component.d.ts +13 -0
- package/components/foldable-block/component.d.ts +17 -0
- package/components/foldable-item-in-table/component.d.ts +21 -0
- package/components/help-document/component.d.ts +29 -0
- package/components/help-document/directive.d.ts +20 -0
- package/components/help-document/index.d.ts +8 -0
- package/components/help-document/service.d.ts +20 -0
- package/components/index.d.ts +31 -0
- package/components/loading-mask/loading-mask.component.d.ts +13 -0
- package/components/page-guard/component/component.d.ts +40 -0
- package/components/page-guard/component/helper-directives.d.ts +17 -0
- package/components/page-guard/component/page-guard.type.d.ts +86 -0
- package/components/page-guard/index.d.ts +12 -0
- package/components/password-input/component.d.ts +39 -0
- package/components/pod-status/component.d.ts +25 -0
- package/components/pod-status/index.d.ts +3 -0
- package/components/pod-status/status.d.ts +4 -0
- package/components/pod-status/typings.d.ts +16 -0
- package/components/relative-time/component.d.ts +15 -0
- package/components/resource-label/component.d.ts +25 -0
- package/components/resource-multi-select/component.d.ts +41 -0
- package/components/resource-multi-select/util.d.ts +10 -0
- package/components/search-panel/component.d.ts +16 -0
- package/components/search-panel/helper.directive.d.ts +5 -0
- package/components/search-panel/search-item/component.d.ts +7 -0
- package/components/select-prefix-label/directive.d.ts +17 -0
- package/components/status-icon/status-icon.component.d.ts +16 -0
- package/components/tags-label/component.d.ts +56 -0
- package/components/terminating-tag/component.d.ts +7 -0
- package/components/text-ellipsis/component.d.ts +9 -0
- package/components/text-tooltip/directive.d.ts +21 -0
- package/components/text-with-url/component.d.ts +12 -0
- package/components/upload-file/component.d.ts +32 -0
- package/components/zero-state/zero-state.component.d.ts +16 -0
- package/constants/common.d.ts +64 -0
- package/constants/index.d.ts +6 -0
- package/constants/k8s.d.ts +12 -0
- package/constants/patterns.d.ts +124 -0
- package/constants/resource-definitions.d.ts +414 -0
- package/constants/status-icons.d.ts +34 -0
- package/constants/timezones.d.ts +6 -0
- package/directives/aui-code-editor.directive.d.ts +13 -0
- package/directives/click-outside.directive.d.ts +12 -0
- package/directives/declare.directive.d.ts +8 -0
- package/directives/disabled.directive.d.ts +28 -0
- package/directives/effect-directive/coerce-number.directive.d.ts +8 -0
- package/directives/effect-directive/e2e-attribute-binding.directive.d.ts +10 -0
- package/directives/effect-directive/event.directive.d.ts +47 -0
- package/directives/effect-directive/index.d.ts +12 -0
- package/directives/effect-directive/min-max.directive.d.ts +30 -0
- package/directives/effect-directive/trim.directive.d.ts +7 -0
- package/directives/effect-directive/validators.directive.d.ts +12 -0
- package/directives/feature-gate.directive.d.ts +31 -0
- package/directives/index.d.ts +12 -0
- package/directives/last-form-item.directive.d.ts +8 -0
- package/directives/readonly-field.directive.d.ts +39 -0
- package/directives/resize.directive.d.ts +17 -0
- package/directives/scroll-border-observer.directive.d.ts +23 -0
- package/directives/scroll-to-first-invalid.directive.d.ts +24 -0
- package/directives/value-trace.directive.d.ts +27 -0
- package/esm2022/alauda-fe-dynamic-plugin-shared.mjs +5 -0
- package/esm2022/array-form-table/base-string-map-form.component.mjs +92 -0
- package/esm2022/array-form-table/form/component.mjs +266 -0
- package/esm2022/array-form-table/form/index.mjs +12 -0
- package/esm2022/array-form-table/index.mjs +11 -0
- package/esm2022/array-form-table/key-value-form/component.mjs +135 -0
- package/esm2022/array-form-table/key-value-table/component.mjs +24 -0
- package/esm2022/array-form-table/string-array-form/component.mjs +168 -0
- package/esm2022/async-data/async-data-loader.mjs +63 -0
- package/esm2022/async-data/error-page/component.mjs +54 -0
- package/esm2022/async-data/index.mjs +18 -0
- package/esm2022/async-data/page-state/component.mjs +62 -0
- package/esm2022/async-data/types.mjs +6 -0
- package/esm2022/code-editor/code-display-dialog/component.mjs +35 -0
- package/esm2022/code-editor/code-editor-configs.mjs +66 -0
- package/esm2022/code-editor/index.mjs +11 -0
- package/esm2022/code-editor/k8s-yaml-display-dialog/component.mjs +26 -0
- package/esm2022/code-editor/resource-yaml-display/component.mjs +67 -0
- package/esm2022/components/card-section/card-section.component.mjs +24 -0
- package/esm2022/components/confirm-delete/confirm-delete.component.mjs +192 -0
- package/esm2022/components/confirm-delete/utils.mjs +8 -0
- package/esm2022/components/current-time/component.mjs +39 -0
- package/esm2022/components/custom-columns-setting/component.mjs +75 -0
- package/esm2022/components/custom-columns-setting/index.mjs +2 -0
- package/esm2022/components/date-range-picker/component.mjs +215 -0
- package/esm2022/components/date-range-picker/index.mjs +4 -0
- package/esm2022/components/date-range-picker/type.mjs +2 -0
- package/esm2022/components/date-range-picker/util.mjs +57 -0
- package/esm2022/components/disabled-container/disabled-container.component.mjs +81 -0
- package/esm2022/components/disabled-container/index.mjs +8 -0
- package/esm2022/components/field-set/column/component.mjs +25 -0
- package/esm2022/components/field-set/group/component.mjs +16 -0
- package/esm2022/components/field-set/index.mjs +14 -0
- package/esm2022/components/field-set/item/component.mjs +41 -0
- package/esm2022/components/foldable-block/component.mjs +60 -0
- package/esm2022/components/foldable-item-in-table/component.mjs +56 -0
- package/esm2022/components/help-document/component.mjs +69 -0
- package/esm2022/components/help-document/directive.mjs +70 -0
- package/esm2022/components/help-document/index.mjs +9 -0
- package/esm2022/components/help-document/service.mjs +43 -0
- package/esm2022/components/index.mjs +32 -0
- package/esm2022/components/loading-mask/loading-mask.component.mjs +35 -0
- package/esm2022/components/page-guard/component/component.mjs +101 -0
- package/esm2022/components/page-guard/component/helper-directives.mjs +51 -0
- package/esm2022/components/page-guard/component/page-guard.type.mjs +82 -0
- package/esm2022/components/page-guard/index.mjs +19 -0
- package/esm2022/components/password-input/component.mjs +143 -0
- package/esm2022/components/pod-status/component.mjs +49 -0
- package/esm2022/components/pod-status/index.mjs +4 -0
- package/esm2022/components/pod-status/status.mjs +84 -0
- package/esm2022/components/pod-status/typings.mjs +19 -0
- package/esm2022/components/relative-time/component.mjs +58 -0
- package/esm2022/components/resource-label/component.mjs +100 -0
- package/esm2022/components/resource-multi-select/component.mjs +152 -0
- package/esm2022/components/resource-multi-select/util.mjs +24 -0
- package/esm2022/components/search-panel/component.mjs +51 -0
- package/esm2022/components/search-panel/helper.directive.mjs +14 -0
- package/esm2022/components/search-panel/search-item/component.mjs +15 -0
- package/esm2022/components/select-prefix-label/directive.mjs +89 -0
- package/esm2022/components/status-icon/status-icon.component.mjs +56 -0
- package/esm2022/components/tags-label/component.mjs +224 -0
- package/esm2022/components/terminating-tag/component.mjs +16 -0
- package/esm2022/components/text-ellipsis/component.mjs +28 -0
- package/esm2022/components/text-tooltip/directive.mjs +71 -0
- package/esm2022/components/text-with-url/component.mjs +40 -0
- package/esm2022/components/upload-file/component.mjs +95 -0
- package/esm2022/components/zero-state/zero-state.component.mjs +51 -0
- package/esm2022/constants/common.mjs +86 -0
- package/esm2022/constants/index.mjs +7 -0
- package/esm2022/constants/k8s.mjs +13 -0
- package/esm2022/constants/patterns.mjs +142 -0
- package/esm2022/constants/resource-definitions.mjs +424 -0
- package/esm2022/constants/status-icons.mjs +65 -0
- package/esm2022/constants/timezones.mjs +234 -0
- package/esm2022/directives/aui-code-editor.directive.mjs +30 -0
- package/esm2022/directives/click-outside.directive.mjs +49 -0
- package/esm2022/directives/declare.directive.mjs +27 -0
- package/esm2022/directives/disabled.directive.mjs +76 -0
- package/esm2022/directives/effect-directive/coerce-number.directive.mjs +54 -0
- package/esm2022/directives/effect-directive/e2e-attribute-binding.directive.mjs +57 -0
- package/esm2022/directives/effect-directive/event.directive.mjs +129 -0
- package/esm2022/directives/effect-directive/index.mjs +21 -0
- package/esm2022/directives/effect-directive/min-max.directive.mjs +107 -0
- package/esm2022/directives/effect-directive/trim.directive.mjs +40 -0
- package/esm2022/directives/effect-directive/validators.directive.mjs +43 -0
- package/esm2022/directives/feature-gate.directive.mjs +90 -0
- package/esm2022/directives/index.mjs +13 -0
- package/esm2022/directives/last-form-item.directive.mjs +18 -0
- package/esm2022/directives/readonly-field.directive.mjs +145 -0
- package/esm2022/directives/resize.directive.mjs +39 -0
- package/esm2022/directives/scroll-border-observer.directive.mjs +77 -0
- package/esm2022/directives/scroll-to-first-invalid.directive.mjs +126 -0
- package/esm2022/directives/value-trace.directive.mjs +61 -0
- package/esm2022/form/base-form-container.mjs +126 -0
- package/esm2022/form/base-nested-form-control.mjs +190 -0
- package/esm2022/form/errors-mapper/base-errors-mapper.mjs +41 -0
- package/esm2022/form/errors-mapper/default-errors-mapper.service.mjs +65 -0
- package/esm2022/form/errors-mapper/errors-mapper-component/component.mjs +53 -0
- package/esm2022/form/errors-mapper/errors-mapper.directive.mjs +109 -0
- package/esm2022/form/errors-mapper/index.mjs +10 -0
- package/esm2022/form/errors-mapper/types.mjs +2 -0
- package/esm2022/form/index.mjs +6 -0
- package/esm2022/form/utils.mjs +61 -0
- package/esm2022/form/validators/async-function-validator.directive.mjs +49 -0
- package/esm2022/form/validators/dns1123-subdomain.mjs +42 -0
- package/esm2022/form/validators/function-validator.directive.mjs +49 -0
- package/esm2022/form/validators/index.mjs +10 -0
- package/esm2022/form/validators/maxlength-minlength-validator.directive.mjs +71 -0
- package/esm2022/form/validators/not-be-validator.directive.mjs +56 -0
- package/esm2022/form/validators/one-of-validator.directive.mjs +57 -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 +15 -0
- package/esm2022/form/validators/strong-password/strong-password-validator.directive.mjs +171 -0
- package/esm2022/form/validators/strong-password/strong-password-validator.module.mjs +36 -0
- package/esm2022/form/validators/utils.mjs +155 -0
- package/esm2022/index.mjs +15 -0
- package/esm2022/k8s-resource-list/footer/component.mjs +156 -0
- package/esm2022/k8s-resource-list/index.mjs +18 -0
- package/esm2022/k8s-resource-list/k8s-resource-list.mjs +224 -0
- package/esm2022/k8s-resource-list/k8s-resource-paged-list.mjs +174 -0
- package/esm2022/k8s-resource-list/types.mjs +11 -0
- package/esm2022/k8s-resource-list/utils.mjs +84 -0
- package/esm2022/k8s-shared/constants.mjs +53 -0
- package/esm2022/k8s-shared/index.mjs +12 -0
- package/esm2022/k8s-shared/k8s-resource-translate-key.pipe.mjs +31 -0
- package/esm2022/k8s-shared/k8s-shared-util.service.mjs +152 -0
- package/esm2022/k8s-shared/resource-mark/component.mjs +54 -0
- package/esm2022/k8s-shared/resource-mark/util.mjs +137 -0
- package/esm2022/k8s-shared/update-description-dialog/component.mjs +66 -0
- package/esm2022/k8s-shared/update-display-name-dialog/component.mjs +59 -0
- package/esm2022/k8s-shared/update-key-value-dialog/component.mjs +76 -0
- package/esm2022/page-deactivate/deactivate.directive.mjs +50 -0
- package/esm2022/page-deactivate/deactivate.guard.mjs +41 -0
- package/esm2022/page-deactivate/deactivate.service.mjs +78 -0
- package/esm2022/page-deactivate/index.mjs +4 -0
- package/esm2022/pipes/calc.pipe.mjs +21 -0
- package/esm2022/pipes/cron-human-readable.pipe.mjs +30 -0
- package/esm2022/pipes/crontab-next.pipe.mjs +67 -0
- package/esm2022/pipes/duration.pipe.mjs +51 -0
- package/esm2022/pipes/field-not-available.pipe.mjs +25 -0
- package/esm2022/pipes/img-header.pipe.mjs +18 -0
- package/esm2022/pipes/img-theme.pipe.mjs +38 -0
- package/esm2022/pipes/index.mjs +19 -0
- package/esm2022/pipes/keyvalue.pipe.mjs +20 -0
- package/esm2022/pipes/marked.pipe.mjs +18 -0
- package/esm2022/pipes/minimum-format.pipe.mjs +25 -0
- package/esm2022/pipes/page-env.pipe.mjs +69 -0
- package/esm2022/pipes/parse-json-translate.pipe.mjs +28 -0
- package/esm2022/pipes/parse-json.pipe.mjs +22 -0
- package/esm2022/pipes/pure.pipe.mjs +26 -0
- package/esm2022/pipes/safe.pipe.mjs +49 -0
- package/esm2022/pipes/sanitize.pipe.mjs +31 -0
- package/esm2022/pipes/time.pipe.mjs +113 -0
- package/esm2022/pipes/timezone-display.pipe.mjs +21 -0
- package/esm2022/services/form-row-duplicate/form-row-duplicate.service.mjs +280 -0
- package/esm2022/services/index.mjs +4 -0
- package/esm2022/services/on-resize.service.mjs +52 -0
- package/esm2022/services/yaml-util.service.mjs +99 -0
- package/esm2022/types/common.mjs +6 -0
- package/esm2022/types/helpers.mjs +12 -0
- package/esm2022/types/index.mjs +9 -0
- package/esm2022/types/k8s/core.mjs +2 -0
- package/esm2022/types/k8s/crd.mjs +57 -0
- package/esm2022/types/k8s/index.mjs +4 -0
- package/esm2022/types/k8s/raw.mjs +77 -0
- package/esm2022/types/schema.mjs +2 -0
- package/esm2022/utils/browser.mjs +21 -0
- package/esm2022/utils/cache-store.mjs +83 -0
- package/esm2022/utils/color-helpers.mjs +6 -0
- package/esm2022/utils/common.mjs +315 -0
- package/esm2022/utils/cron-util.mjs +44 -0
- package/esm2022/utils/decorators.mjs +137 -0
- package/esm2022/utils/disabled-state.mjs +47 -0
- package/esm2022/utils/format-number.mjs +227 -0
- package/esm2022/utils/index.mjs +24 -0
- package/esm2022/utils/local-storage-constants.mjs +2 -0
- package/esm2022/utils/node.mjs +18 -0
- package/esm2022/utils/observable.mjs +32 -0
- package/esm2022/utils/operators.mjs +38 -0
- package/esm2022/utils/request-pool.mjs +37 -0
- package/esm2022/utils/resources.mjs +66 -0
- package/esm2022/utils/router.mjs +20 -0
- package/esm2022/utils/sort-fn.mjs +7 -0
- package/esm2022/utils/tree.mjs +79 -0
- package/esm2022/utils/unit.mjs +191 -0
- package/esm2022/utils/version.mjs +76 -0
- package/esm2022/utils/with-load-state.mjs +21 -0
- package/esm2022/utils/workload.mjs +183 -0
- package/esm2022/utils/workspace.mjs +59 -0
- package/esm2022/utils/yaml.mjs +54 -0
- package/fesm2022/alauda-fe-dynamic-plugin-shared.mjs +11151 -0
- package/fesm2022/alauda-fe-dynamic-plugin-shared.mjs.map +1 -0
- package/form/base-form-container.d.ts +41 -0
- package/form/base-nested-form-control.d.ts +58 -0
- package/form/errors-mapper/base-errors-mapper.d.ts +13 -0
- package/form/errors-mapper/default-errors-mapper.service.d.ts +10 -0
- package/form/errors-mapper/errors-mapper-component/component.d.ts +19 -0
- package/form/errors-mapper/errors-mapper.directive.d.ts +39 -0
- package/form/errors-mapper/index.d.ts +6 -0
- package/form/errors-mapper/types.d.ts +16 -0
- package/form/index.d.ts +5 -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/index.d.ts +9 -0
- package/form/validators/maxlength-minlength-validator.directive.d.ts +20 -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/resource-limit.d.ts +17 -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-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 +67 -0
- package/index.d.ts +14 -0
- package/k8s-resource-list/footer/component.d.ts +42 -0
- package/k8s-resource-list/index.d.ts +13 -0
- package/k8s-resource-list/k8s-resource-list.d.ts +42 -0
- package/k8s-resource-list/k8s-resource-paged-list.d.ts +61 -0
- package/k8s-resource-list/types.d.ts +70 -0
- package/k8s-resource-list/utils.d.ts +19 -0
- package/k8s-shared/constants.d.ts +7 -0
- package/k8s-shared/index.d.ts +11 -0
- package/k8s-shared/k8s-resource-translate-key.pipe.d.ts +9 -0
- package/k8s-shared/k8s-shared-util.service.d.ts +48 -0
- package/k8s-shared/resource-mark/component.d.ts +16 -0
- package/k8s-shared/resource-mark/util.d.ts +2 -0
- package/k8s-shared/update-description-dialog/component.d.ts +33 -0
- package/k8s-shared/update-display-name-dialog/component.d.ts +27 -0
- package/k8s-shared/update-key-value-dialog/component.d.ts +38 -0
- package/package.json +56 -0
- package/page-deactivate/deactivate.directive.d.ts +18 -0
- package/page-deactivate/deactivate.guard.d.ts +13 -0
- package/page-deactivate/deactivate.service.d.ts +28 -0
- package/page-deactivate/index.d.ts +3 -0
- package/pipes/calc.pipe.d.ts +11 -0
- package/pipes/cron-human-readable.pipe.d.ts +9 -0
- package/pipes/crontab-next.pipe.d.ts +18 -0
- package/pipes/duration.pipe.d.ts +10 -0
- package/pipes/field-not-available.pipe.d.ts +13 -0
- package/pipes/img-header.pipe.d.ts +7 -0
- package/pipes/img-theme.pipe.d.ts +13 -0
- package/pipes/index.d.ts +18 -0
- package/pipes/keyvalue.pipe.d.ts +9 -0
- package/pipes/marked.pipe.d.ts +8 -0
- package/pipes/minimum-format.pipe.d.ts +10 -0
- package/pipes/page-env.pipe.d.ts +34 -0
- package/pipes/parse-json-translate.pipe.d.ts +8 -0
- package/pipes/parse-json.pipe.d.ts +7 -0
- package/pipes/pure.pipe.d.ts +17 -0
- package/pipes/safe.pipe.d.ts +10 -0
- package/pipes/sanitize.pipe.d.ts +10 -0
- package/pipes/time.pipe.d.ts +40 -0
- package/pipes/timezone-display.pipe.d.ts +10 -0
- package/services/form-row-duplicate/form-row-duplicate.service.d.ts +45 -0
- package/services/index.d.ts +3 -0
- package/services/on-resize.service.d.ts +20 -0
- package/services/yaml-util.service.d.ts +20 -0
- package/styles/ansi-color.scss +131 -0
- package/styles/global.scss +904 -0
- package/styles/lib.scss +1 -0
- package/styles/markdown-body.scss +107 -0
- package/styles/mixins.scss +710 -0
- package/styles/var.scss +30 -0
- package/types/common.d.ts +42 -0
- package/types/helpers.d.ts +35 -0
- package/types/index.d.ts +8 -0
- package/types/k8s/core.d.ts +100 -0
- package/types/k8s/crd.d.ts +497 -0
- package/types/k8s/index.d.ts +3 -0
- package/types/k8s/raw.d.ts +860 -0
- package/types/schema.d.ts +14 -0
- package/utils/browser.d.ts +4 -0
- package/utils/cache-store.d.ts +35 -0
- package/utils/color-helpers.d.ts +4 -0
- package/utils/common.d.ts +64 -0
- package/utils/cron-util.d.ts +8 -0
- package/utils/decorators.d.ts +14 -0
- package/utils/disabled-state.d.ts +20 -0
- package/utils/format-number.d.ts +11 -0
- package/utils/index.d.ts +23 -0
- package/utils/local-storage-constants.d.ts +1 -0
- package/utils/node.d.ts +8 -0
- package/utils/observable.d.ts +5 -0
- package/utils/operators.d.ts +22 -0
- package/utils/request-pool.d.ts +12 -0
- package/utils/resources.d.ts +19 -0
- package/utils/router.d.ts +3 -0
- package/utils/sort-fn.d.ts +2 -0
- package/utils/tree.d.ts +16 -0
- package/utils/unit.d.ts +21 -0
- package/utils/version.d.ts +39 -0
- package/utils/with-load-state.d.ts +11 -0
- package/utils/workload.d.ts +66 -0
- package/utils/workspace.d.ts +28 -0
- package/utils/yaml.d.ts +11 -0
|
@@ -0,0 +1,904 @@
|
|
|
1
|
+
// stylelint-disable no-descending-specificity
|
|
2
|
+
|
|
3
|
+
@use 'sass:math';
|
|
4
|
+
// tailwind preset must be the lowest priority
|
|
5
|
+
@import './tailwind-preset';
|
|
6
|
+
@import './reset-browser';
|
|
7
|
+
@import 'node_modules/@alauda/ui/theme/style';
|
|
8
|
+
@import './var';
|
|
9
|
+
@import './mixins';
|
|
10
|
+
@import './ansi-color';
|
|
11
|
+
@import './markdown-body'; // todo: 因为aui-code-editor 中也使用的 https://github.com/sindresorhus/github-markdown-css。未来迁移过去
|
|
12
|
+
|
|
13
|
+
@include page-color-definition;
|
|
14
|
+
|
|
15
|
+
.d-block {
|
|
16
|
+
display: block;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.d-flex {
|
|
20
|
+
display: flex;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.align-center {
|
|
24
|
+
align-items: center;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@for $i from 1 through 8 {
|
|
28
|
+
.flex-#{$i} {
|
|
29
|
+
flex: $i !important;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@for $i from 0 through 12 {
|
|
34
|
+
.ml-#{$i * 2} {
|
|
35
|
+
margin-left: #{$i * 2}px !important;
|
|
36
|
+
}
|
|
37
|
+
.mr-#{$i * 2} {
|
|
38
|
+
margin-right: #{$i * 2}px !important;
|
|
39
|
+
}
|
|
40
|
+
.mt-#{$i * 2} {
|
|
41
|
+
margin-top: #{$i * 2}px !important;
|
|
42
|
+
}
|
|
43
|
+
.mb-#{$i * 2} {
|
|
44
|
+
margin-bottom: #{$i * 2}px !important;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.mx-#{$i * 2} {
|
|
48
|
+
@extend .ml-#{$i * 2};
|
|
49
|
+
@extend .mr-#{$i * 2};
|
|
50
|
+
}
|
|
51
|
+
.my-#{$i * 2} {
|
|
52
|
+
@extend .mt-#{$i * 2};
|
|
53
|
+
@extend .mb-#{$i * 2};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.m-#{$i * 2} {
|
|
57
|
+
@extend .mx-#{$i * 2};
|
|
58
|
+
@extend .my-#{$i * 2};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.pl-#{$i * 2} {
|
|
62
|
+
padding-left: #{$i * 2}px !important;
|
|
63
|
+
}
|
|
64
|
+
.pr-#{$i * 2} {
|
|
65
|
+
padding-right: #{$i * 2}px !important;
|
|
66
|
+
}
|
|
67
|
+
.pt-#{$i * 2} {
|
|
68
|
+
padding-top: #{$i * 2}px !important;
|
|
69
|
+
}
|
|
70
|
+
.pb-#{$i * 2} {
|
|
71
|
+
padding-bottom: #{$i * 2}px !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.px-#{$i * 2} {
|
|
75
|
+
@extend .pl-#{$i * 2};
|
|
76
|
+
@extend .pr-#{$i * 2};
|
|
77
|
+
}
|
|
78
|
+
.py-#{$i * 2} {
|
|
79
|
+
@extend .pt-#{$i * 2};
|
|
80
|
+
@extend .pb-#{$i * 2};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.p-#{$i * 2} {
|
|
84
|
+
@extend .px-#{$i * 2};
|
|
85
|
+
@extend .py-#{$i * 2};
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.mr-auto {
|
|
90
|
+
margin-right: auto;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.ml-auto {
|
|
94
|
+
margin-left: auto;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.ng-animate .ng-hide-add {
|
|
98
|
+
&,
|
|
99
|
+
&-active {
|
|
100
|
+
display: none;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.sk-folding-cube {
|
|
105
|
+
width: 40px;
|
|
106
|
+
height: 40px;
|
|
107
|
+
position: relative;
|
|
108
|
+
transform: rotateZ(45deg);
|
|
109
|
+
|
|
110
|
+
&.index-loading-spinner {
|
|
111
|
+
position: fixed;
|
|
112
|
+
top: calc(50% - 20px);
|
|
113
|
+
left: calc(50% - 20px);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.sk-cube {
|
|
117
|
+
float: left;
|
|
118
|
+
width: 50%;
|
|
119
|
+
height: 50%;
|
|
120
|
+
position: relative;
|
|
121
|
+
transform: scale(1.1);
|
|
122
|
+
|
|
123
|
+
&:before {
|
|
124
|
+
content: '';
|
|
125
|
+
position: absolute;
|
|
126
|
+
top: 0;
|
|
127
|
+
left: 0;
|
|
128
|
+
width: 100%;
|
|
129
|
+
height: 100%;
|
|
130
|
+
background-color: use-rgb(primary);
|
|
131
|
+
animation: sk-fold-cube-angle 2.4s infinite linear both;
|
|
132
|
+
transform-origin: 100% 100%;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.sk-cube2 {
|
|
137
|
+
transform: scale(1.1) rotateZ(90deg);
|
|
138
|
+
|
|
139
|
+
&:before {
|
|
140
|
+
animation-delay: 0.3s;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.sk-cube3 {
|
|
145
|
+
transform: scale(1.1) rotateZ(180deg);
|
|
146
|
+
|
|
147
|
+
&:before {
|
|
148
|
+
animation-delay: 0.6s;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.sk-cube4 {
|
|
153
|
+
transform: scale(1.1) rotateZ(270deg);
|
|
154
|
+
|
|
155
|
+
&:before {
|
|
156
|
+
animation-delay: 0.9s;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@keyframes sk-fold-cube-angle {
|
|
162
|
+
0%,
|
|
163
|
+
10% {
|
|
164
|
+
transform: perspective(140px) rotateX(-180deg);
|
|
165
|
+
opacity: 0;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
25%,
|
|
169
|
+
75% {
|
|
170
|
+
transform: perspective(140px) rotateX(0deg);
|
|
171
|
+
opacity: 1;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
90%,
|
|
175
|
+
100% {
|
|
176
|
+
transform: perspective(140px) rotateY(180deg);
|
|
177
|
+
opacity: 0;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.acl-inline-select {
|
|
182
|
+
.date-range-picker {
|
|
183
|
+
border: none;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&--large {
|
|
187
|
+
@include inline-select;
|
|
188
|
+
|
|
189
|
+
> label {
|
|
190
|
+
font-size: use-var(font-size-l);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.aui-input {
|
|
194
|
+
&--large,
|
|
195
|
+
&-group--large {
|
|
196
|
+
height: calc(#{use-var(inline-height-l)} - 2px);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&,
|
|
202
|
+
&--medium {
|
|
203
|
+
@include inline-select;
|
|
204
|
+
|
|
205
|
+
> label {
|
|
206
|
+
font-size: use-var(font-size-m);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.aui-input {
|
|
210
|
+
&--medium,
|
|
211
|
+
&-group--medium {
|
|
212
|
+
height: calc(#{use-var(inline-height-m)} - 2px);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
&--small {
|
|
218
|
+
@include inline-select;
|
|
219
|
+
|
|
220
|
+
> label {
|
|
221
|
+
font-size: use-var(font-size-m);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.aui-input {
|
|
225
|
+
&--small,
|
|
226
|
+
&-group--small {
|
|
227
|
+
height: calc(#{use-var(inline-height-s)} - 2px);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
&--mini {
|
|
233
|
+
@include inline-select;
|
|
234
|
+
|
|
235
|
+
> label {
|
|
236
|
+
font-size: use-var(font-size-s);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.aui-input {
|
|
240
|
+
&--mini,
|
|
241
|
+
&-group--mini {
|
|
242
|
+
height: calc(#{use-var(inline-height-xs)} - 2px);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
// auiTable 独立存在或不依赖于其他组件, 吸附 table 列头
|
|
249
|
+
.sticky-table-header {
|
|
250
|
+
@include sticky-header(calc(#{$page-top}));
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
// auiTable 包含在 auiCard 中,同时吸附卡片头部和 table 列头
|
|
254
|
+
.sticky-card_table-header {
|
|
255
|
+
@include sticky-header(calc(#{$page-top}));
|
|
256
|
+
|
|
257
|
+
&.aui-card__header {
|
|
258
|
+
margin-top: -12px;
|
|
259
|
+
padding: 12px 0;
|
|
260
|
+
background-color: use-rgb(n-10);
|
|
261
|
+
|
|
262
|
+
+ .aui-card__content {
|
|
263
|
+
margin: 0;
|
|
264
|
+
|
|
265
|
+
@include sticky-table-header(calc(#{$page-top} + 56px));
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.aui-dialog {
|
|
271
|
+
aui-dialog-content.platform-about-dialog {
|
|
272
|
+
&:first-child,
|
|
273
|
+
&:last-child {
|
|
274
|
+
.aui-dialog__content {
|
|
275
|
+
padding: 0;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
aui-search,
|
|
282
|
+
aui-select,
|
|
283
|
+
aui-multi-select,
|
|
284
|
+
aui-tree-select,
|
|
285
|
+
aui-input-group,
|
|
286
|
+
aui-number-input,
|
|
287
|
+
aui-tags-input,
|
|
288
|
+
aui-time-picker,
|
|
289
|
+
aui-date-picker,
|
|
290
|
+
aui-range-picker,
|
|
291
|
+
aui-radio-group,
|
|
292
|
+
aui-radio-button,
|
|
293
|
+
acl-disabled-container,
|
|
294
|
+
.acl-disabled-container,
|
|
295
|
+
.acl-notification-disabled-container {
|
|
296
|
+
// 解决父元素为 flex 布局时的高度问题
|
|
297
|
+
line-height: 0;
|
|
298
|
+
|
|
299
|
+
> * {
|
|
300
|
+
line-height: 1.43;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
html {
|
|
305
|
+
--acl-page-header-height: 60px;
|
|
306
|
+
|
|
307
|
+
&[lang|='zh'] {
|
|
308
|
+
--acl-form-item-label-width: 114px;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
&:not([lang|='zh']) {
|
|
312
|
+
--acl-form-item-label-width: 144px;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.aui-form-item
|
|
317
|
+
.aui-form-item__label-wrapper:not(.aui-form-item__label-wrapper--top) {
|
|
318
|
+
width: var(--acl-form-item-label-width);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.fancy-scrollbar {
|
|
322
|
+
@include scroll-bar;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.card-shadow {
|
|
326
|
+
@include card-shadow;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.popper-shadow {
|
|
330
|
+
@include popper-shadow;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.ellipsis-dialog-header {
|
|
334
|
+
display: flex;
|
|
335
|
+
max-width: 464px;
|
|
336
|
+
|
|
337
|
+
.extra {
|
|
338
|
+
&:first-child {
|
|
339
|
+
margin-right: 4px;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
&:last-child {
|
|
343
|
+
margin-left: 4px;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.text-overflow {
|
|
349
|
+
max-width: 100%;
|
|
350
|
+
@include text-overflow;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.ellipsis-dialog-header,
|
|
354
|
+
.text-ellipsis {
|
|
355
|
+
white-space: nowrap;
|
|
356
|
+
text-overflow: ellipsis;
|
|
357
|
+
overflow-x: hidden;
|
|
358
|
+
overflow-wrap: break-word;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.text-btn:hover {
|
|
362
|
+
color: use-rgb(primary);
|
|
363
|
+
cursor: pointer;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.card-second-title {
|
|
367
|
+
&,
|
|
368
|
+
&.aui-card__header {
|
|
369
|
+
font-weight: use-var(font-weight-bolder);
|
|
370
|
+
font-size: use-var(font-size-l);
|
|
371
|
+
margin-bottom: 12px;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
// 默认列表页的搜索框的宽度是 260px
|
|
376
|
+
.aui-card__header {
|
|
377
|
+
aui-search {
|
|
378
|
+
width: 260px;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.acl-inline-select {
|
|
382
|
+
font-weight: normal;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
aui-icon {
|
|
386
|
+
font-size: initial;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.display-name {
|
|
390
|
+
display: flex;
|
|
391
|
+
align-items: center;
|
|
392
|
+
font-size: use-var(font-size-m);
|
|
393
|
+
font-weight: use-var(font-weight-normal);
|
|
394
|
+
overflow: hidden;
|
|
395
|
+
text-overflow: ellipsis;
|
|
396
|
+
color: use-text-color(help);
|
|
397
|
+
|
|
398
|
+
button {
|
|
399
|
+
margin-left: 4px;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
@include array-form-table;
|
|
405
|
+
|
|
406
|
+
@include table-placeholder('.empty-placeholder');
|
|
407
|
+
|
|
408
|
+
@include acl-select-prefix;
|
|
409
|
+
|
|
410
|
+
.aui-table__row + acl-k8s-resource-list-footer {
|
|
411
|
+
.empty-placeholder,
|
|
412
|
+
.table-placeholder {
|
|
413
|
+
border-top-left-radius: 0;
|
|
414
|
+
border-top-right-radius: 0;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.aui-table.acl-compact-table,
|
|
419
|
+
.aui-dialog .aui-table {
|
|
420
|
+
.aui-table__row {
|
|
421
|
+
min-height: 50px;
|
|
422
|
+
|
|
423
|
+
.aui-checkbox {
|
|
424
|
+
height: unset;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.empty-placeholder,
|
|
429
|
+
.table-placeholder {
|
|
430
|
+
min-height: 52px;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
a {
|
|
435
|
+
&.no-underline,
|
|
436
|
+
&:has(button) {
|
|
437
|
+
text-decoration: none;
|
|
438
|
+
|
|
439
|
+
&:hover,
|
|
440
|
+
&:active,
|
|
441
|
+
&:focus {
|
|
442
|
+
text-decoration: none;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.tooltip-host {
|
|
448
|
+
font-size: use-var(icon-size-m);
|
|
449
|
+
color: use-text-color(help);
|
|
450
|
+
|
|
451
|
+
&:not(:first-child) {
|
|
452
|
+
margin-left: use-var(spacing-m);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
&:hover,
|
|
456
|
+
&.isActive {
|
|
457
|
+
color: use-rgb(primary);
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
acl-field-set-item label .tooltip-host {
|
|
462
|
+
&:not(:first-child) {
|
|
463
|
+
margin-left: use-var(spacing-s);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.detail-page-fullheight {
|
|
468
|
+
@include detail-page-fullheight;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.yaml-form-page-fullheight {
|
|
472
|
+
@include detail-page-fullheight(28px); // 28px 是 yaml样例这行的盒子高度
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
aui-tooltip {
|
|
476
|
+
.acl-page-header__tooltip {
|
|
477
|
+
margin-top: 18px;
|
|
478
|
+
|
|
479
|
+
&--small {
|
|
480
|
+
margin-top: 20px;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.aui-tooltip.tooltip-single-line {
|
|
485
|
+
max-width: unset;
|
|
486
|
+
white-space: nowrap;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
@include acl-table-in-table;
|
|
491
|
+
|
|
492
|
+
.acl-info-table {
|
|
493
|
+
flex: 1;
|
|
494
|
+
width: 100%;
|
|
495
|
+
border-spacing: 0;
|
|
496
|
+
|
|
497
|
+
> tr > td {
|
|
498
|
+
vertical-align: middle;
|
|
499
|
+
padding: 4px;
|
|
500
|
+
line-height: 20px;
|
|
501
|
+
border: 12px solid use-rgb(n-9);
|
|
502
|
+
|
|
503
|
+
&:first-child {
|
|
504
|
+
padding-left: 8px;
|
|
505
|
+
width: 120px;
|
|
506
|
+
vertical-align: middle;
|
|
507
|
+
background-color: use-rgb(n-9);
|
|
508
|
+
text-align: center;
|
|
509
|
+
font-weight: use-var(font-weight-bold);
|
|
510
|
+
color: use-rgb(n-1);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
&:last-child {
|
|
514
|
+
padding: 12px;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
&.plain {
|
|
519
|
+
> tr > td:first-child {
|
|
520
|
+
background-color: white;
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.icon--error {
|
|
526
|
+
color: use-rgb(red);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.icon--warning {
|
|
530
|
+
color: use-rgb(yellow);
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.icon {
|
|
534
|
+
&--help {
|
|
535
|
+
color: use-text-color(help);
|
|
536
|
+
|
|
537
|
+
&:hover {
|
|
538
|
+
color: use-rgb(primary);
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
&--secondary {
|
|
543
|
+
color: use-text-color(secondary);
|
|
544
|
+
|
|
545
|
+
&:hover {
|
|
546
|
+
color: use-rgb(primary);
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.acl-colorful-icon {
|
|
552
|
+
@include colorful-icon;
|
|
553
|
+
|
|
554
|
+
&.highlight {
|
|
555
|
+
@include colorful-icon-highlight;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
&.plain {
|
|
559
|
+
@include colorful-icon-plain;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.c-list > li:before {
|
|
564
|
+
content: '\26AC';
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.d-list > li:before {
|
|
568
|
+
content: '\2022';
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.s-list > li:before {
|
|
572
|
+
content: '\25AA';
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.c,
|
|
576
|
+
.d,
|
|
577
|
+
.s {
|
|
578
|
+
&-list {
|
|
579
|
+
list-style: none;
|
|
580
|
+
|
|
581
|
+
> li {
|
|
582
|
+
display: flex;
|
|
583
|
+
|
|
584
|
+
&:before {
|
|
585
|
+
margin-right: 8px;
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.last-form-item-no-margin > aui-form-item:last-of-type > .aui-form-item {
|
|
592
|
+
margin-bottom: 0;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
aui-form-item.last-form-item-no-margin:last-of-type > .aui-form-item {
|
|
596
|
+
margin-bottom: 0;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
aui-form-item.form-item-no-margin > .aui-form-item {
|
|
600
|
+
margin-bottom: 0;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
aui-form-item {
|
|
604
|
+
&.plain-text .aui-form-item {
|
|
605
|
+
&__label-wrapper {
|
|
606
|
+
&,
|
|
607
|
+
&.hasLabel:after {
|
|
608
|
+
line-height: 20px;
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
&__content {
|
|
613
|
+
min-height: unset;
|
|
614
|
+
line-height: 20px;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
&__addon-wrapper {
|
|
618
|
+
height: unset;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
// remove unexpected empty margin-top
|
|
624
|
+
.aui-form-item {
|
|
625
|
+
&__hint-wrapper,
|
|
626
|
+
&__error-wrapper {
|
|
627
|
+
acl-errors-mapper:empty {
|
|
628
|
+
margin-top: calc(0px - use-var(spacing-s));
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.aui-table {
|
|
634
|
+
& &__cell,
|
|
635
|
+
& &__header-cell {
|
|
636
|
+
flex: 1 0 100px;
|
|
637
|
+
|
|
638
|
+
&-checkbox {
|
|
639
|
+
height: 44px;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
& &__header-cell aui-icon[icon='question_circle'] {
|
|
644
|
+
margin-left: 4px;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
& &__cell > span:not(:first-child, :empty) {
|
|
648
|
+
margin-left: 8px;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
& &__cell {
|
|
652
|
+
&__name {
|
|
653
|
+
display: flex;
|
|
654
|
+
align-items: center;
|
|
655
|
+
width: fit-content;
|
|
656
|
+
max-width: 100%;
|
|
657
|
+
|
|
658
|
+
> {
|
|
659
|
+
a,
|
|
660
|
+
button,
|
|
661
|
+
div,
|
|
662
|
+
span {
|
|
663
|
+
flex: 1;
|
|
664
|
+
max-width: 240px;
|
|
665
|
+
@include text-overflow;
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
> :not(:first-child, :empty) {
|
|
670
|
+
margin-left: 4px;
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
&__display-name {
|
|
675
|
+
margin-top: 2px;
|
|
676
|
+
max-width: 100%;
|
|
677
|
+
|
|
678
|
+
@include text-overflow;
|
|
679
|
+
@include text-set(s, help);
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
&-expand-panel {
|
|
683
|
+
flex: 1;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
& &__column {
|
|
688
|
+
&-name,
|
|
689
|
+
&-belonging_app,
|
|
690
|
+
&-references_cron_job &-storageclass,
|
|
691
|
+
&-belonged_vm {
|
|
692
|
+
flex-direction: column;
|
|
693
|
+
justify-content: center;
|
|
694
|
+
align-items: flex-start;
|
|
695
|
+
flex: 2 0 140px;
|
|
696
|
+
|
|
697
|
+
> {
|
|
698
|
+
a,
|
|
699
|
+
button,
|
|
700
|
+
div,
|
|
701
|
+
span {
|
|
702
|
+
@include text-overflow;
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
&-created_at,
|
|
708
|
+
&-updated_at {
|
|
709
|
+
display: flex;
|
|
710
|
+
flex: 0 0 108px;
|
|
711
|
+
|
|
712
|
+
@include lang-not-zh {
|
|
713
|
+
flex: 0 0 125px;
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
&-ip_address {
|
|
718
|
+
flex: 1 0 132px;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
&-resource_limit {
|
|
722
|
+
flex: 1 0 112px;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
&-action {
|
|
726
|
+
flex: 0 0 48px;
|
|
727
|
+
display: flex;
|
|
728
|
+
justify-content: center;
|
|
729
|
+
align-items: center;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
&-checkbox {
|
|
733
|
+
flex: 0 0 36px;
|
|
734
|
+
align-items: center;
|
|
735
|
+
overflow: hidden;
|
|
736
|
+
display: flex;
|
|
737
|
+
|
|
738
|
+
.aui-checkbox {
|
|
739
|
+
margin-right: 0;
|
|
740
|
+
width: 16px;
|
|
741
|
+
height: 16px;
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.aui-option.isDisabled {
|
|
748
|
+
.tw-text-n-4 {
|
|
749
|
+
color: use-rgb(n-6);
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
aui-form-item,
|
|
754
|
+
.aui-section,
|
|
755
|
+
.aui-dialog {
|
|
756
|
+
.acl-array-form-table {
|
|
757
|
+
&__readonly-mode {
|
|
758
|
+
tbody {
|
|
759
|
+
tr {
|
|
760
|
+
height: 50px;
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
aui-form-item.form-item {
|
|
768
|
+
&__no-label .aui-form-item {
|
|
769
|
+
&__label-wrapper {
|
|
770
|
+
display: none;
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
&__no-mb .aui-form-item {
|
|
775
|
+
margin-bottom: 0;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
&__td-control {
|
|
779
|
+
.aui-form-item {
|
|
780
|
+
margin-bottom: 0;
|
|
781
|
+
|
|
782
|
+
&__label-wrapper,
|
|
783
|
+
&__addon-wrapper {
|
|
784
|
+
display: none;
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
// 使用 flex 布局进行列宽控制
|
|
791
|
+
.form-table__flex-layout {
|
|
792
|
+
.acl-array-form-table {
|
|
793
|
+
tr {
|
|
794
|
+
display: flex;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
th,
|
|
798
|
+
td {
|
|
799
|
+
flex: 1;
|
|
800
|
+
|
|
801
|
+
&.acl-array-form-table__action-col {
|
|
802
|
+
// 单个操作符时的 cell 容器宽度,其他定制情况应当覆盖此 flexBasis
|
|
803
|
+
flex: 0 0 48px;
|
|
804
|
+
display: flex;
|
|
805
|
+
align-items: center;
|
|
806
|
+
justify-content: center;
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
&.inline-action-col .acl-array-form-table {
|
|
812
|
+
th,
|
|
813
|
+
td {
|
|
814
|
+
&.acl-array-form-table__action-col {
|
|
815
|
+
align-items: flex-start;
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
.acl-secondary-title {
|
|
822
|
+
display: flex;
|
|
823
|
+
align-items: center;
|
|
824
|
+
margin-bottom: use-var(spacing-xl);
|
|
825
|
+
@include text-set(l, main, bold);
|
|
826
|
+
|
|
827
|
+
&:before {
|
|
828
|
+
content: '';
|
|
829
|
+
display: block;
|
|
830
|
+
margin-right: use-var(spacing-m);
|
|
831
|
+
height: 16px;
|
|
832
|
+
width: 4px;
|
|
833
|
+
border-radius: 2px;
|
|
834
|
+
background-color: use-rgb(primary);
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.check-triangle-badge {
|
|
839
|
+
display: block;
|
|
840
|
+
position: absolute;
|
|
841
|
+
bottom: 1px;
|
|
842
|
+
right: 1px;
|
|
843
|
+
width: 24px;
|
|
844
|
+
height: 24px;
|
|
845
|
+
font-size: 14px;
|
|
846
|
+
color: use-rgb(primary);
|
|
847
|
+
background-image: linear-gradient(
|
|
848
|
+
to bottom right,
|
|
849
|
+
transparent 50%,
|
|
850
|
+
white 50%
|
|
851
|
+
);
|
|
852
|
+
border-bottom-right-radius: use-var(border-radius-l);
|
|
853
|
+
overflow: hidden;
|
|
854
|
+
|
|
855
|
+
.aui-icon {
|
|
856
|
+
position: absolute;
|
|
857
|
+
right: 1px;
|
|
858
|
+
bottom: 1px;
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
@keyframes spin {
|
|
863
|
+
from {
|
|
864
|
+
transform: rotate(0deg);
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
to {
|
|
868
|
+
transform: rotate(360deg);
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.animate-spin-icon {
|
|
873
|
+
.aui-icon {
|
|
874
|
+
animation: spin 2s linear infinite;
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
ul.acl-tooltip-ul {
|
|
879
|
+
li {
|
|
880
|
+
display: flex;
|
|
881
|
+
|
|
882
|
+
&:before {
|
|
883
|
+
content: '';
|
|
884
|
+
display: block;
|
|
885
|
+
flex-shrink: 0;
|
|
886
|
+
width: 4px;
|
|
887
|
+
height: 4px;
|
|
888
|
+
margin-top: calc((var(--aui-line-height-s) / 2) - 2px);
|
|
889
|
+
margin-right: 8px;
|
|
890
|
+
border-radius: 50%;
|
|
891
|
+
background-color: currentcolor;
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
li + li {
|
|
896
|
+
margin-top: 4px;
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
.aui-code-editor-toolbar {
|
|
901
|
+
.aui-checkbox {
|
|
902
|
+
height: use-var(line-height-m);
|
|
903
|
+
}
|
|
904
|
+
}
|