@alauda-fe/dynamic-plugin-shared 0.0.1-alpha.8 → 0.0.3-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/assets/i18n/en/dynamic-plugin-shared.json +3 -0
- package/assets/images/overview-banner.svg +1 -0
- package/fesm2022/alauda-fe-dynamic-plugin-shared.mjs +3038 -1828
- package/fesm2022/alauda-fe-dynamic-plugin-shared.mjs.map +1 -1
- package/package.json +15 -17
- package/styles/lib.scss +1 -1
- package/styles/mixins.scss +1 -210
- package/styles/var.scss +1 -26
- package/types/alauda-fe-dynamic-plugin-shared.d.ts +5692 -0
- package/array-form-table/base-string-map-form.component.d.ts +0 -22
- package/array-form-table/form/component.d.ts +0 -106
- package/array-form-table/form/index.d.ts +0 -3
- package/array-form-table/index.d.ts +0 -10
- package/array-form-table/key-value-form/component.d.ts +0 -38
- package/array-form-table/key-value-table/component.d.ts +0 -9
- package/array-form-table/string-array-form/component.d.ts +0 -41
- package/async-data/async-data-loader.d.ts +0 -31
- package/async-data/error-page/component.d.ts +0 -30
- package/async-data/index.d.ts +0 -13
- package/async-data/page-state/component.d.ts +0 -21
- package/async-data/types.d.ts +0 -29
- package/code-editor/code-display-dialog/component.d.ts +0 -17
- package/code-editor/code-editor-configs.d.ts +0 -19
- package/code-editor/index.d.ts +0 -10
- package/code-editor/k8s-yaml-display-dialog/component.d.ts +0 -16
- package/code-editor/resource-yaml-display/component.d.ts +0 -21
- package/components/card-section/card-section.component.d.ts +0 -9
- package/components/confirm-delete/confirm-delete.component.d.ts +0 -57
- package/components/confirm-delete/utils.d.ts +0 -25
- package/components/current-time/component.d.ts +0 -14
- package/components/custom-columns-setting/component.d.ts +0 -16
- package/components/custom-columns-setting/index.d.ts +0 -1
- package/components/date-range-picker/component.d.ts +0 -55
- package/components/date-range-picker/index.d.ts +0 -3
- package/components/date-range-picker/type.d.ts +0 -36
- package/components/date-range-picker/util.d.ts +0 -11
- package/components/disabled-container/disabled-container.component.d.ts +0 -21
- package/components/disabled-container/index.d.ts +0 -7
- package/components/field-set/column/component.d.ts +0 -10
- package/components/field-set/group/component.d.ts +0 -6
- package/components/field-set/index.d.ts +0 -7
- package/components/field-set/item/component.d.ts +0 -13
- package/components/foldable-block/component.d.ts +0 -17
- package/components/foldable-item-in-table/component.d.ts +0 -21
- package/components/help-document/component.d.ts +0 -29
- package/components/help-document/directive.d.ts +0 -20
- package/components/help-document/index.d.ts +0 -8
- package/components/help-document/service.d.ts +0 -20
- package/components/index.d.ts +0 -32
- package/components/loading-mask/loading-mask.component.d.ts +0 -13
- package/components/page-guard/component/component.d.ts +0 -40
- package/components/page-guard/component/helper-directives.d.ts +0 -17
- package/components/page-guard/component/page-guard.type.d.ts +0 -86
- package/components/page-guard/index.d.ts +0 -12
- package/components/password-input/component.d.ts +0 -39
- package/components/pod-status/component.d.ts +0 -25
- package/components/pod-status/index.d.ts +0 -3
- package/components/pod-status/status.d.ts +0 -4
- package/components/pod-status/typings.d.ts +0 -16
- package/components/relative-time/component.d.ts +0 -15
- package/components/resource-label/component.d.ts +0 -25
- package/components/resource-multi-select/component.d.ts +0 -41
- package/components/resource-multi-select/util.d.ts +0 -10
- package/components/search-panel/component.d.ts +0 -16
- package/components/search-panel/helper.directive.d.ts +0 -5
- package/components/search-panel/search-item/component.d.ts +0 -7
- package/components/select-prefix-label/directive.d.ts +0 -17
- package/components/status-icon/status-icon.component.d.ts +0 -16
- package/components/tags-label/component.d.ts +0 -56
- package/components/terminating-tag/component.d.ts +0 -7
- package/components/text-ellipsis/component.d.ts +0 -9
- package/components/text-tooltip/directive.d.ts +0 -21
- package/components/text-with-url/component.d.ts +0 -12
- package/components/upload-file/component.d.ts +0 -32
- package/components/workload-status/component.d.ts +0 -37
- package/components/workload-status/index.d.ts +0 -1
- package/components/zero-state/zero-state.component.d.ts +0 -17
- package/constants/common.d.ts +0 -64
- package/constants/index.d.ts +0 -6
- package/constants/k8s.d.ts +0 -12
- package/constants/patterns.d.ts +0 -124
- package/constants/resource-definitions.d.ts +0 -414
- package/constants/status-icons.d.ts +0 -34
- package/constants/timezones.d.ts +0 -6
- package/directives/aui-code-editor.directive.d.ts +0 -13
- package/directives/click-outside.directive.d.ts +0 -12
- package/directives/declare.directive.d.ts +0 -8
- package/directives/disabled.directive.d.ts +0 -28
- package/directives/effect-directive/coerce-number.directive.d.ts +0 -8
- package/directives/effect-directive/e2e-attribute-binding.directive.d.ts +0 -10
- package/directives/effect-directive/event.directive.d.ts +0 -47
- package/directives/effect-directive/index.d.ts +0 -12
- package/directives/effect-directive/min-max.directive.d.ts +0 -30
- package/directives/effect-directive/trim.directive.d.ts +0 -7
- package/directives/effect-directive/validators.directive.d.ts +0 -12
- package/directives/feature-gate.directive.d.ts +0 -31
- package/directives/index.d.ts +0 -12
- package/directives/last-form-item.directive.d.ts +0 -8
- package/directives/readonly-field.directive.d.ts +0 -39
- package/directives/resize.directive.d.ts +0 -17
- package/directives/scroll-border-observer.directive.d.ts +0 -23
- package/directives/scroll-to-first-invalid.directive.d.ts +0 -24
- package/directives/value-trace.directive.d.ts +0 -27
- package/esm2022/alauda-fe-dynamic-plugin-shared.mjs +0 -5
- package/esm2022/array-form-table/base-string-map-form.component.mjs +0 -92
- package/esm2022/array-form-table/form/component.mjs +0 -266
- package/esm2022/array-form-table/form/index.mjs +0 -13
- package/esm2022/array-form-table/index.mjs +0 -11
- package/esm2022/array-form-table/key-value-form/component.mjs +0 -135
- package/esm2022/array-form-table/key-value-table/component.mjs +0 -24
- package/esm2022/array-form-table/string-array-form/component.mjs +0 -168
- package/esm2022/async-data/async-data-loader.mjs +0 -63
- package/esm2022/async-data/error-page/component.mjs +0 -54
- package/esm2022/async-data/index.mjs +0 -18
- package/esm2022/async-data/page-state/component.mjs +0 -62
- package/esm2022/async-data/types.mjs +0 -6
- package/esm2022/code-editor/code-display-dialog/component.mjs +0 -35
- package/esm2022/code-editor/code-editor-configs.mjs +0 -66
- package/esm2022/code-editor/index.mjs +0 -11
- package/esm2022/code-editor/k8s-yaml-display-dialog/component.mjs +0 -26
- package/esm2022/code-editor/resource-yaml-display/component.mjs +0 -67
- package/esm2022/components/card-section/card-section.component.mjs +0 -24
- package/esm2022/components/confirm-delete/confirm-delete.component.mjs +0 -192
- package/esm2022/components/confirm-delete/utils.mjs +0 -8
- package/esm2022/components/current-time/component.mjs +0 -39
- package/esm2022/components/custom-columns-setting/component.mjs +0 -75
- package/esm2022/components/custom-columns-setting/index.mjs +0 -2
- package/esm2022/components/date-range-picker/component.mjs +0 -215
- package/esm2022/components/date-range-picker/index.mjs +0 -4
- package/esm2022/components/date-range-picker/type.mjs +0 -2
- package/esm2022/components/date-range-picker/util.mjs +0 -57
- package/esm2022/components/disabled-container/disabled-container.component.mjs +0 -81
- package/esm2022/components/disabled-container/index.mjs +0 -8
- package/esm2022/components/field-set/column/component.mjs +0 -25
- package/esm2022/components/field-set/group/component.mjs +0 -16
- package/esm2022/components/field-set/index.mjs +0 -14
- package/esm2022/components/field-set/item/component.mjs +0 -41
- package/esm2022/components/foldable-block/component.mjs +0 -60
- package/esm2022/components/foldable-item-in-table/component.mjs +0 -56
- package/esm2022/components/help-document/component.mjs +0 -69
- package/esm2022/components/help-document/directive.mjs +0 -70
- package/esm2022/components/help-document/index.mjs +0 -9
- package/esm2022/components/help-document/service.mjs +0 -43
- package/esm2022/components/index.mjs +0 -33
- package/esm2022/components/loading-mask/loading-mask.component.mjs +0 -35
- package/esm2022/components/page-guard/component/component.mjs +0 -101
- package/esm2022/components/page-guard/component/helper-directives.mjs +0 -51
- package/esm2022/components/page-guard/component/page-guard.type.mjs +0 -82
- package/esm2022/components/page-guard/index.mjs +0 -19
- package/esm2022/components/password-input/component.mjs +0 -143
- package/esm2022/components/pod-status/component.mjs +0 -49
- package/esm2022/components/pod-status/index.mjs +0 -4
- package/esm2022/components/pod-status/status.mjs +0 -84
- package/esm2022/components/pod-status/typings.mjs +0 -19
- package/esm2022/components/relative-time/component.mjs +0 -58
- package/esm2022/components/resource-label/component.mjs +0 -100
- package/esm2022/components/resource-multi-select/component.mjs +0 -152
- package/esm2022/components/resource-multi-select/util.mjs +0 -24
- package/esm2022/components/search-panel/component.mjs +0 -51
- package/esm2022/components/search-panel/helper.directive.mjs +0 -14
- package/esm2022/components/search-panel/search-item/component.mjs +0 -15
- package/esm2022/components/select-prefix-label/directive.mjs +0 -89
- package/esm2022/components/status-icon/status-icon.component.mjs +0 -56
- package/esm2022/components/tags-label/component.mjs +0 -224
- package/esm2022/components/terminating-tag/component.mjs +0 -16
- package/esm2022/components/text-ellipsis/component.mjs +0 -28
- package/esm2022/components/text-tooltip/directive.mjs +0 -71
- package/esm2022/components/text-with-url/component.mjs +0 -40
- package/esm2022/components/upload-file/component.mjs +0 -95
- package/esm2022/components/workload-status/component.mjs +0 -33
- package/esm2022/components/workload-status/index.mjs +0 -2
- package/esm2022/components/zero-state/zero-state.component.mjs +0 -56
- package/esm2022/constants/common.mjs +0 -86
- package/esm2022/constants/index.mjs +0 -7
- package/esm2022/constants/k8s.mjs +0 -13
- package/esm2022/constants/patterns.mjs +0 -142
- package/esm2022/constants/resource-definitions.mjs +0 -424
- package/esm2022/constants/status-icons.mjs +0 -65
- package/esm2022/constants/timezones.mjs +0 -234
- package/esm2022/directives/aui-code-editor.directive.mjs +0 -30
- package/esm2022/directives/click-outside.directive.mjs +0 -49
- package/esm2022/directives/declare.directive.mjs +0 -27
- package/esm2022/directives/disabled.directive.mjs +0 -76
- package/esm2022/directives/effect-directive/coerce-number.directive.mjs +0 -54
- package/esm2022/directives/effect-directive/e2e-attribute-binding.directive.mjs +0 -57
- package/esm2022/directives/effect-directive/event.directive.mjs +0 -129
- package/esm2022/directives/effect-directive/index.mjs +0 -21
- package/esm2022/directives/effect-directive/min-max.directive.mjs +0 -107
- package/esm2022/directives/effect-directive/trim.directive.mjs +0 -40
- package/esm2022/directives/effect-directive/validators.directive.mjs +0 -43
- package/esm2022/directives/feature-gate.directive.mjs +0 -90
- package/esm2022/directives/index.mjs +0 -13
- package/esm2022/directives/last-form-item.directive.mjs +0 -18
- package/esm2022/directives/readonly-field.directive.mjs +0 -145
- package/esm2022/directives/resize.directive.mjs +0 -39
- package/esm2022/directives/scroll-border-observer.directive.mjs +0 -77
- package/esm2022/directives/scroll-to-first-invalid.directive.mjs +0 -126
- package/esm2022/directives/value-trace.directive.mjs +0 -61
- package/esm2022/form/base-form-container.mjs +0 -126
- package/esm2022/form/base-nested-form-control.mjs +0 -190
- package/esm2022/form/errors-mapper/base-errors-mapper.mjs +0 -41
- package/esm2022/form/errors-mapper/default-errors-mapper.service.mjs +0 -65
- package/esm2022/form/errors-mapper/errors-mapper-component/component.mjs +0 -53
- package/esm2022/form/errors-mapper/errors-mapper.directive.mjs +0 -109
- package/esm2022/form/errors-mapper/index.mjs +0 -10
- package/esm2022/form/errors-mapper/types.mjs +0 -2
- package/esm2022/form/index.mjs +0 -6
- package/esm2022/form/utils.mjs +0 -61
- package/esm2022/form/validators/async-function-validator.directive.mjs +0 -49
- package/esm2022/form/validators/dns1123-subdomain.mjs +0 -42
- package/esm2022/form/validators/function-validator.directive.mjs +0 -49
- package/esm2022/form/validators/index.mjs +0 -10
- package/esm2022/form/validators/maxlength-minlength-validator.directive.mjs +0 -71
- package/esm2022/form/validators/not-be-validator.directive.mjs +0 -56
- package/esm2022/form/validators/one-of-validator.directive.mjs +0 -57
- package/esm2022/form/validators/resource-limit.mjs +0 -79
- package/esm2022/form/validators/strong-password/index.mjs +0 -4
- package/esm2022/form/validators/strong-password/strong-password-tooltip/component.mjs +0 -15
- package/esm2022/form/validators/strong-password/strong-password-validator.directive.mjs +0 -171
- package/esm2022/form/validators/strong-password/strong-password-validator.module.mjs +0 -36
- package/esm2022/form/validators/utils.mjs +0 -155
- package/esm2022/index.mjs +0 -15
- package/esm2022/k8s-resource-list/footer/component.mjs +0 -161
- package/esm2022/k8s-resource-list/index.mjs +0 -18
- package/esm2022/k8s-resource-list/k8s-resource-list.mjs +0 -224
- package/esm2022/k8s-resource-list/k8s-resource-paged-list.mjs +0 -174
- package/esm2022/k8s-resource-list/types.mjs +0 -11
- package/esm2022/k8s-resource-list/utils.mjs +0 -84
- package/esm2022/k8s-shared/constants.mjs +0 -53
- package/esm2022/k8s-shared/index.mjs +0 -12
- package/esm2022/k8s-shared/k8s-resource-translate-key.pipe.mjs +0 -31
- package/esm2022/k8s-shared/k8s-shared-util.service.mjs +0 -152
- package/esm2022/k8s-shared/resource-mark/component.mjs +0 -54
- package/esm2022/k8s-shared/resource-mark/util.mjs +0 -137
- package/esm2022/k8s-shared/update-description-dialog/component.mjs +0 -66
- package/esm2022/k8s-shared/update-display-name-dialog/component.mjs +0 -59
- package/esm2022/k8s-shared/update-key-value-dialog/component.mjs +0 -76
- package/esm2022/page-deactivate/deactivate.directive.mjs +0 -50
- package/esm2022/page-deactivate/deactivate.guard.mjs +0 -41
- package/esm2022/page-deactivate/deactivate.service.mjs +0 -78
- package/esm2022/page-deactivate/index.mjs +0 -4
- package/esm2022/pipes/calc.pipe.mjs +0 -21
- package/esm2022/pipes/cron-human-readable.pipe.mjs +0 -30
- package/esm2022/pipes/crontab-next.pipe.mjs +0 -67
- package/esm2022/pipes/duration.pipe.mjs +0 -51
- package/esm2022/pipes/field-not-available.pipe.mjs +0 -25
- package/esm2022/pipes/img-header.pipe.mjs +0 -18
- package/esm2022/pipes/img-theme.pipe.mjs +0 -38
- package/esm2022/pipes/index.mjs +0 -19
- package/esm2022/pipes/keyvalue.pipe.mjs +0 -20
- package/esm2022/pipes/marked.pipe.mjs +0 -18
- package/esm2022/pipes/minimum-format.pipe.mjs +0 -25
- package/esm2022/pipes/page-env.pipe.mjs +0 -69
- package/esm2022/pipes/parse-json-translate.pipe.mjs +0 -28
- package/esm2022/pipes/parse-json.pipe.mjs +0 -22
- package/esm2022/pipes/pure.pipe.mjs +0 -26
- package/esm2022/pipes/safe.pipe.mjs +0 -49
- package/esm2022/pipes/sanitize.pipe.mjs +0 -31
- package/esm2022/pipes/time.pipe.mjs +0 -113
- package/esm2022/pipes/timezone-display.pipe.mjs +0 -21
- package/esm2022/services/form-row-duplicate/form-row-duplicate.service.mjs +0 -280
- package/esm2022/services/index.mjs +0 -4
- package/esm2022/services/on-resize.service.mjs +0 -52
- package/esm2022/services/yaml-util.service.mjs +0 -99
- package/esm2022/types/common.mjs +0 -6
- package/esm2022/types/helpers.mjs +0 -12
- package/esm2022/types/index.mjs +0 -9
- package/esm2022/types/k8s/core.mjs +0 -2
- package/esm2022/types/k8s/crd.mjs +0 -57
- package/esm2022/types/k8s/index.mjs +0 -4
- package/esm2022/types/k8s/raw.mjs +0 -77
- package/esm2022/types/schema.mjs +0 -2
- package/esm2022/utils/browser.mjs +0 -21
- package/esm2022/utils/cache-store.mjs +0 -83
- package/esm2022/utils/color-helpers.mjs +0 -6
- package/esm2022/utils/common.mjs +0 -315
- package/esm2022/utils/cron-util.mjs +0 -44
- package/esm2022/utils/decorators.mjs +0 -137
- package/esm2022/utils/disabled-state.mjs +0 -47
- package/esm2022/utils/format-number.mjs +0 -227
- package/esm2022/utils/index.mjs +0 -24
- package/esm2022/utils/local-storage-constants.mjs +0 -2
- package/esm2022/utils/node.mjs +0 -18
- package/esm2022/utils/observable.mjs +0 -32
- package/esm2022/utils/operators.mjs +0 -38
- package/esm2022/utils/request-pool.mjs +0 -37
- package/esm2022/utils/resources.mjs +0 -66
- package/esm2022/utils/router.mjs +0 -20
- package/esm2022/utils/sort-fn.mjs +0 -7
- package/esm2022/utils/tree.mjs +0 -79
- package/esm2022/utils/unit.mjs +0 -191
- package/esm2022/utils/version.mjs +0 -76
- package/esm2022/utils/with-load-state.mjs +0 -21
- package/esm2022/utils/workload.mjs +0 -183
- package/esm2022/utils/workspace.mjs +0 -59
- package/esm2022/utils/yaml.mjs +0 -54
- package/form/base-form-container.d.ts +0 -41
- package/form/base-nested-form-control.d.ts +0 -58
- package/form/errors-mapper/base-errors-mapper.d.ts +0 -13
- package/form/errors-mapper/default-errors-mapper.service.d.ts +0 -10
- package/form/errors-mapper/errors-mapper-component/component.d.ts +0 -19
- package/form/errors-mapper/errors-mapper.directive.d.ts +0 -39
- package/form/errors-mapper/index.d.ts +0 -6
- package/form/errors-mapper/types.d.ts +0 -16
- package/form/index.d.ts +0 -5
- package/form/utils.d.ts +0 -40
- package/form/validators/async-function-validator.directive.d.ts +0 -11
- package/form/validators/dns1123-subdomain.d.ts +0 -28
- package/form/validators/function-validator.directive.d.ts +0 -11
- package/form/validators/index.d.ts +0 -9
- package/form/validators/maxlength-minlength-validator.directive.d.ts +0 -20
- package/form/validators/not-be-validator.directive.d.ts +0 -12
- package/form/validators/one-of-validator.directive.d.ts +0 -12
- package/form/validators/resource-limit.d.ts +0 -17
- package/form/validators/strong-password/index.d.ts +0 -3
- package/form/validators/strong-password/strong-password-tooltip/component.d.ts +0 -6
- package/form/validators/strong-password/strong-password-validator.directive.d.ts +0 -34
- package/form/validators/strong-password/strong-password-validator.module.d.ts +0 -12
- package/form/validators/utils.d.ts +0 -67
- package/index.d.ts +0 -14
- package/k8s-resource-list/footer/component.d.ts +0 -43
- package/k8s-resource-list/index.d.ts +0 -13
- package/k8s-resource-list/k8s-resource-list.d.ts +0 -42
- package/k8s-resource-list/k8s-resource-paged-list.d.ts +0 -61
- package/k8s-resource-list/types.d.ts +0 -70
- package/k8s-resource-list/utils.d.ts +0 -19
- package/k8s-shared/constants.d.ts +0 -7
- package/k8s-shared/index.d.ts +0 -11
- package/k8s-shared/k8s-resource-translate-key.pipe.d.ts +0 -9
- package/k8s-shared/k8s-shared-util.service.d.ts +0 -48
- package/k8s-shared/resource-mark/component.d.ts +0 -16
- package/k8s-shared/resource-mark/util.d.ts +0 -2
- package/k8s-shared/update-description-dialog/component.d.ts +0 -33
- package/k8s-shared/update-display-name-dialog/component.d.ts +0 -27
- package/k8s-shared/update-key-value-dialog/component.d.ts +0 -38
- package/page-deactivate/deactivate.directive.d.ts +0 -18
- package/page-deactivate/deactivate.guard.d.ts +0 -13
- package/page-deactivate/deactivate.service.d.ts +0 -28
- package/page-deactivate/index.d.ts +0 -3
- package/pipes/calc.pipe.d.ts +0 -11
- package/pipes/cron-human-readable.pipe.d.ts +0 -9
- package/pipes/crontab-next.pipe.d.ts +0 -18
- package/pipes/duration.pipe.d.ts +0 -10
- package/pipes/field-not-available.pipe.d.ts +0 -13
- package/pipes/img-header.pipe.d.ts +0 -7
- package/pipes/img-theme.pipe.d.ts +0 -13
- package/pipes/index.d.ts +0 -18
- package/pipes/keyvalue.pipe.d.ts +0 -9
- package/pipes/marked.pipe.d.ts +0 -8
- package/pipes/minimum-format.pipe.d.ts +0 -10
- package/pipes/page-env.pipe.d.ts +0 -34
- package/pipes/parse-json-translate.pipe.d.ts +0 -8
- package/pipes/parse-json.pipe.d.ts +0 -7
- package/pipes/pure.pipe.d.ts +0 -17
- package/pipes/safe.pipe.d.ts +0 -10
- package/pipes/sanitize.pipe.d.ts +0 -10
- package/pipes/time.pipe.d.ts +0 -40
- package/pipes/timezone-display.pipe.d.ts +0 -10
- package/services/form-row-duplicate/form-row-duplicate.service.d.ts +0 -45
- package/services/index.d.ts +0 -3
- package/services/on-resize.service.d.ts +0 -20
- package/services/yaml-util.service.d.ts +0 -20
- package/styles/global.scss +0 -904
- package/types/common.d.ts +0 -42
- package/types/helpers.d.ts +0 -35
- package/types/index.d.ts +0 -8
- package/types/k8s/core.d.ts +0 -100
- package/types/k8s/crd.d.ts +0 -497
- package/types/k8s/index.d.ts +0 -3
- package/types/k8s/raw.d.ts +0 -860
- package/types/schema.d.ts +0 -14
- package/utils/browser.d.ts +0 -4
- package/utils/cache-store.d.ts +0 -35
- package/utils/color-helpers.d.ts +0 -4
- package/utils/common.d.ts +0 -64
- package/utils/cron-util.d.ts +0 -8
- package/utils/decorators.d.ts +0 -14
- package/utils/disabled-state.d.ts +0 -20
- package/utils/format-number.d.ts +0 -11
- package/utils/index.d.ts +0 -23
- package/utils/local-storage-constants.d.ts +0 -1
- package/utils/node.d.ts +0 -8
- package/utils/observable.d.ts +0 -5
- package/utils/operators.d.ts +0 -22
- package/utils/request-pool.d.ts +0 -12
- package/utils/resources.d.ts +0 -19
- package/utils/router.d.ts +0 -3
- package/utils/sort-fn.d.ts +0 -2
- package/utils/tree.d.ts +0 -16
- package/utils/unit.d.ts +0 -21
- package/utils/version.d.ts +0 -39
- package/utils/with-load-state.d.ts +0 -11
- package/utils/workload.d.ts +0 -66
- package/utils/workspace.d.ts +0 -28
- package/utils/yaml.d.ts +0 -11
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alauda-fe/dynamic-plugin-shared",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3-alpha.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@alauda-fe/i18n": "1.0.4",
|
|
6
6
|
"@alauda/chart": "^0.1.11",
|
|
7
7
|
"@alauda/code-editor": "^5.1.0",
|
|
8
|
-
"@alauda/
|
|
9
|
-
"@alauda
|
|
10
|
-
"@angular/common": "^
|
|
11
|
-
"@angular/core": "^
|
|
12
|
-
"@angular/animations": "^
|
|
13
|
-
"@angular/cdk": "^
|
|
14
|
-
"@angular/compiler": "^
|
|
15
|
-
"@angular/forms": "^
|
|
16
|
-
"@angular/platform-browser": "^
|
|
17
|
-
"@angular/platform-browser-dynamic": "^
|
|
18
|
-
"@angular/router": "^
|
|
8
|
+
"@alauda-fe/dynamic-plugin-sdk": "0.0.1-alpha.18",
|
|
9
|
+
"@alauda/ui": "^9.1.2-beta.6",
|
|
10
|
+
"@angular/common": "^21.1.1",
|
|
11
|
+
"@angular/core": "^21.1.1",
|
|
12
|
+
"@angular/animations": "^21.1.1",
|
|
13
|
+
"@angular/cdk": "^21.1.1",
|
|
14
|
+
"@angular/compiler": "^21.1.1",
|
|
15
|
+
"@angular/forms": "^21.1.1",
|
|
16
|
+
"@angular/platform-browser": "^21.1.1",
|
|
17
|
+
"@angular/platform-browser-dynamic": "^21.1.1",
|
|
18
|
+
"@angular/router": "^21.1.1",
|
|
19
19
|
"ab64": "^0.1.1",
|
|
20
20
|
"compare-versions": "^6.1.0",
|
|
21
21
|
"cron-parser": "^4.9.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"rxjs": "^7.8.1",
|
|
31
31
|
"ts-md5": "^1.3.1",
|
|
32
32
|
"yaml": "^2.3.2",
|
|
33
|
-
"zone.js": "^0.
|
|
33
|
+
"zone.js": "^0.16.0"
|
|
34
34
|
},
|
|
35
35
|
"private": false,
|
|
36
36
|
"publishConfig": {
|
|
@@ -38,15 +38,13 @@
|
|
|
38
38
|
},
|
|
39
39
|
"sideEffects": false,
|
|
40
40
|
"module": "fesm2022/alauda-fe-dynamic-plugin-shared.mjs",
|
|
41
|
-
"typings": "
|
|
41
|
+
"typings": "types/alauda-fe-dynamic-plugin-shared.d.ts",
|
|
42
42
|
"exports": {
|
|
43
43
|
"./package.json": {
|
|
44
44
|
"default": "./package.json"
|
|
45
45
|
},
|
|
46
46
|
".": {
|
|
47
|
-
"types": "./
|
|
48
|
-
"esm2022": "./esm2022/alauda-fe-dynamic-plugin-shared.mjs",
|
|
49
|
-
"esm": "./esm2022/alauda-fe-dynamic-plugin-shared.mjs",
|
|
47
|
+
"types": "./types/alauda-fe-dynamic-plugin-shared.d.ts",
|
|
50
48
|
"default": "./fesm2022/alauda-fe-dynamic-plugin-shared.mjs"
|
|
51
49
|
}
|
|
52
50
|
},
|
package/styles/lib.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.tw-mb-12{margin-bottom:12px}.tw-mb-4{margin-bottom:4px}.tw-ml-\[-4px\]{margin-left:-4px}.tw-mr-4{margin-right:4px}.tw-mr-8{margin-right:8px}.tw-mt-0{margin-top:0}.tw-flex{display:flex}.tw-h-\[8px\]{height:8px}.tw-w-full{width:100%}.tw-flex-1{flex:1 1 0%}.tw-cursor-pointer{cursor:pointer}.tw-justify-end{justify-content:flex-end}.tw-overflow-hidden{overflow:hidden}.tw-text-ellipsis{text-overflow:ellipsis}.tw-text-center{text-align:center}.\!tw-text-s{font-size:var(--aui-font-size-s)!important}.tw-text-main-text{color:rgb(var(--aui-color-main-text))}.tw-text-n-2{color:rgb(var(--aui-color-n-2))}.tw-text-red{color:rgb(var(--aui-color-red))}.tw-icon-m{font-size:var(--aui-icon-size-m)}.hover\:tw-text-primary:hover{color:rgb(var(--aui-color-primary))}
|
|
1
|
+
.tw-mb-12{margin-bottom:12px}.tw-mb-4{margin-bottom:4px}.tw-ml-6{margin-left:6px}.tw-ml-8{margin-left:8px}.tw-ml-\[-4px\]{margin-left:-4px}.tw-mr-4{margin-right:4px}.tw-mr-8{margin-right:8px}.tw-mt-0{margin-top:0}.tw-flex{display:flex}.tw-h-\[22px\]{height:22px}.tw-h-\[8px\]{height:8px}.tw-w-full{width:100%}.tw-min-w-\[160px\]{min-width:160px}.tw-min-w-\[260px\]{min-width:260px}.tw-max-w-\[400px\]{max-width:400px}.tw-max-w-\[45\%\]{max-width:45%}.tw-flex-1{flex:1 1 0%}.tw-flex-shrink-0{flex-shrink:0}.tw-cursor-pointer{cursor:pointer}.tw-flex-col{flex-direction:column}.tw-items-center{align-items:center}.tw-justify-end{justify-content:flex-end}.tw-overflow-hidden{overflow:hidden}.tw-text-ellipsis{text-overflow:ellipsis}.tw-bg-p-6{background-color:rgb(var(--aui-color-p-6))}.tw-text-center{text-align:center}.\!tw-text-s{font-size:var(--aui-font-size-s)!important}.tw-text-m{font-size:var(--aui-font-size-m)}.tw-text-help-text{color:rgb(var(--aui-color-help-text))}.tw-text-main-text{color:rgb(var(--aui-color-main-text))}.tw-text-n-2{color:rgb(var(--aui-color-n-2))}.tw-text-n-4{color:rgb(var(--aui-color-n-4))}.tw-text-p-2{color:rgb(var(--aui-color-p-2))}.tw-text-red{color:rgb(var(--aui-color-red))}.tw-icon-m{font-size:var(--aui-icon-size-m)}.hover\:tw-text-primary:hover{color:rgb(var(--aui-color-primary))}
|
package/styles/mixins.scss
CHANGED
|
@@ -2,54 +2,9 @@
|
|
|
2
2
|
@import 'node_modules/@alauda/ui/theme/var';
|
|
3
3
|
@import 'node_modules/@alauda/ui/theme/mixin';
|
|
4
4
|
@import 'node_modules/@alauda/ui/theme/pattern';
|
|
5
|
+
@import 'libs/dynamic-plugin-sdk/styles/mixins';
|
|
5
6
|
@import './var';
|
|
6
7
|
|
|
7
|
-
@mixin app-root {
|
|
8
|
-
display: block;
|
|
9
|
-
width: 100%;
|
|
10
|
-
z-index: 1;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@mixin fixed-form-container {
|
|
14
|
-
display: block;
|
|
15
|
-
margin-bottom: $fixed-form-footer-height;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// 切换侧边栏状态时会导致布局变更,可以使用这个mixin使过渡更自然
|
|
19
|
-
@mixin sidenav-transition($props...) {
|
|
20
|
-
transition: $props;
|
|
21
|
-
transition-duration: $transition-duration-s;
|
|
22
|
-
transition-timing-function: $ease-in-out;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@mixin fixed-form-footer {
|
|
26
|
-
position: fixed;
|
|
27
|
-
right: $page-padding-m;
|
|
28
|
-
bottom: 0;
|
|
29
|
-
z-index: 110;
|
|
30
|
-
height: $fixed-form-footer-height;
|
|
31
|
-
padding: 0 20px;
|
|
32
|
-
border-top-left-radius: use-var(border-radius-l);
|
|
33
|
-
border-top-right-radius: use-var(border-radius-l);
|
|
34
|
-
display: flex;
|
|
35
|
-
justify-content: flex-end;
|
|
36
|
-
align-items: center;
|
|
37
|
-
background-color: use-rgb(n-10);
|
|
38
|
-
@include card-shadow;
|
|
39
|
-
|
|
40
|
-
left: $page-sider-width + $page-padding-m * 2;
|
|
41
|
-
|
|
42
|
-
@at-root {
|
|
43
|
-
#{selector-nest($page-sider-collapse-selector, &)} {
|
|
44
|
-
left: $page-sider-collapse-width + $page-padding-m * 2;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
#{selector-nest($page-sider-ani-selector, &)} {
|
|
48
|
-
@include sidenav-transition(left);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
8
|
@mixin array-form-table {
|
|
54
9
|
.acl-array-form-table {
|
|
55
10
|
flex: 1;
|
|
@@ -293,56 +248,6 @@
|
|
|
293
248
|
}
|
|
294
249
|
}
|
|
295
250
|
|
|
296
|
-
@mixin inline-select {
|
|
297
|
-
display: inline-flex;
|
|
298
|
-
align-items: center;
|
|
299
|
-
border-radius: use-var(border-radius-m);
|
|
300
|
-
border: 1px solid use-rgb(border);
|
|
301
|
-
background-color: use-rgb(n-9);
|
|
302
|
-
padding-left: 8px;
|
|
303
|
-
|
|
304
|
-
&:hover {
|
|
305
|
-
border-color: use-rgb(primary);
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
&:focus,
|
|
309
|
-
&.isFocused {
|
|
310
|
-
border-color: use-rgb(primary);
|
|
311
|
-
@include outline-shadow(primary);
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
> label {
|
|
315
|
-
font-size: use-var(font-size-m);
|
|
316
|
-
font-weight: use-var(font-weight-normal);
|
|
317
|
-
color: use-text-color(help);
|
|
318
|
-
white-space: nowrap;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
.aui-input {
|
|
322
|
-
border: 0;
|
|
323
|
-
|
|
324
|
-
&:focus,
|
|
325
|
-
&.isFocused {
|
|
326
|
-
border: none;
|
|
327
|
-
box-shadow: none !important;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
height: calc(#{use-var(inline-height-m)} - 2px);
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
@mixin sticky-header($top) {
|
|
335
|
-
position: sticky;
|
|
336
|
-
z-index: 1;
|
|
337
|
-
top: $top;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
@mixin sticky-table-header($top) {
|
|
341
|
-
> .aui-table > .aui-table__header-row {
|
|
342
|
-
@include sticky-header($top);
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
|
|
346
251
|
@mixin detail-page-fullheight($gap: 0) {
|
|
347
252
|
display: block;
|
|
348
253
|
height: calc(100vh - (#{$page-top}) - #{111px + 16px + 20px + $gap});
|
|
@@ -399,11 +304,6 @@
|
|
|
399
304
|
);
|
|
400
305
|
}
|
|
401
306
|
|
|
402
|
-
@mixin bicolor($main, $secondary) {
|
|
403
|
-
--bicolor-main: #{$main};
|
|
404
|
-
--bicolor-secondary: #{$secondary};
|
|
405
|
-
}
|
|
406
|
-
|
|
407
307
|
@mixin table-row-placeholder-extend {
|
|
408
308
|
display: flex;
|
|
409
309
|
justify-content: center;
|
|
@@ -531,105 +431,6 @@
|
|
|
531
431
|
}
|
|
532
432
|
}
|
|
533
433
|
|
|
534
|
-
// hover的时候,边框的top,right,bottom,left都向外4px,default和hover要一起使用
|
|
535
|
-
// 分两个方法的原因:有些场景只需要用到边框,不需要hover放大
|
|
536
|
-
// 默认状态和禁用状态。加disabled类名可以成为禁用状态
|
|
537
|
-
@mixin scale-on-default-disabled {
|
|
538
|
-
position: relative;
|
|
539
|
-
|
|
540
|
-
&:after {
|
|
541
|
-
position: absolute;
|
|
542
|
-
content: '';
|
|
543
|
-
inset: 0;
|
|
544
|
-
border: 1px solid use-rgb(n-7);
|
|
545
|
-
border-radius: $border-scale-radius;
|
|
546
|
-
pointer-events: none;
|
|
547
|
-
transition: $border-transition;
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
&.disabled {
|
|
551
|
-
background-color: use-rgb(n-8);
|
|
552
|
-
color: use-rgb(n-6);
|
|
553
|
-
cursor: not-allowed;
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
// hover状态和选中状态
|
|
558
|
-
@mixin scale-on-hover-active {
|
|
559
|
-
&:hover {
|
|
560
|
-
&:after {
|
|
561
|
-
inset: -$border-scale-width;
|
|
562
|
-
border-color: use-rgb(primary);
|
|
563
|
-
box-shadow:
|
|
564
|
-
inset 0 0 0 $border-scale-width use-rgb(n-10),
|
|
565
|
-
0 0 2 * $border-scale-width 0 use-rgba(primary, 0.5);
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
&:active {
|
|
570
|
-
&:after {
|
|
571
|
-
inset: 0;
|
|
572
|
-
box-shadow: 0 0 $border-scale-width 0 use-rgba(primary, 0.5);
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
// 合并上面的两个方法,参数是hover后不需要放大的选择器,如果参数是类名选择器可以用引号括起来
|
|
578
|
-
@mixin scale-on-hover($disabled: '.disabled') {
|
|
579
|
-
@include scale-on-default-disabled;
|
|
580
|
-
|
|
581
|
-
&:not(#{$disabled}) {
|
|
582
|
-
@include scale-on-hover-active;
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
@mixin page-color-definition {
|
|
587
|
-
:root {
|
|
588
|
-
--acl-page-header-background-color: #{use-rgb(n-10)};
|
|
589
|
-
--acl-page-header-title-color: #{use-rgb(n-1)};
|
|
590
|
-
--acl-page-header-text-color: #{use-rgb(n-2)};
|
|
591
|
-
--acl-nav-background-color: #{use-rgb(main-bg)};
|
|
592
|
-
--acl-nav-active-text-color: #{use-rgb(primary)};
|
|
593
|
-
--acl-nav-active-background-color: #{use-rgb(p-5)};
|
|
594
|
-
--acl-nav-popper-background-color: #{use-rgb(popper-bg)};
|
|
595
|
-
--acl-icon-color-cpu: #7c61ff;
|
|
596
|
-
--acl-icon-color-memory: #01a1c5;
|
|
597
|
-
--acl-icon-color-storage: #85b53a;
|
|
598
|
-
--acl-icon-color-gpu: #4a77f8;
|
|
599
|
-
--acl-icon-color-gpu-memory: #b95252;
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
@mixin colorful-icon() {
|
|
604
|
-
@include theme-light {
|
|
605
|
-
@include bicolor(use-rgb(primary), use-rgb(p-3));
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
@include theme-dark {
|
|
609
|
-
@include bicolor(use-rgb(primary), use-rgb(p-3));
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
@mixin colorful-icon-highlight() {
|
|
614
|
-
@include theme-light {
|
|
615
|
-
@include bicolor(white, use-rgb(p-4));
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
@include theme-dark {
|
|
619
|
-
@include bicolor(white, #b3d7fc);
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
@mixin colorful-icon-plain() {
|
|
624
|
-
@include theme-light {
|
|
625
|
-
@include bicolor(use-rgb(n-3), use-rgb(n-5));
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
@include theme-dark {
|
|
629
|
-
@include bicolor(use-rgb(n-3), use-rgb(n-5));
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
|
|
633
434
|
@mixin co-line-clamp($lines: 3) {
|
|
634
435
|
display: -webkit-box;
|
|
635
436
|
overflow: hidden;
|
|
@@ -647,16 +448,6 @@
|
|
|
647
448
|
}
|
|
648
449
|
}
|
|
649
450
|
|
|
650
|
-
@mixin lang-not-zh {
|
|
651
|
-
$scope: &;
|
|
652
|
-
|
|
653
|
-
@at-root {
|
|
654
|
-
#{selector-nest('html:not([lang|=zh])', $scope)} {
|
|
655
|
-
@content;
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
|
|
660
451
|
@mixin multi-line-textarea-wrapper {
|
|
661
452
|
display: grid;
|
|
662
453
|
align-items: stretch;
|
package/styles/var.scss
CHANGED
|
@@ -1,30 +1,5 @@
|
|
|
1
|
-
$page-min-width: 1200px;
|
|
2
|
-
|
|
3
1
|
$page-header-height: var(--acl-page-header-height);
|
|
4
2
|
$page-toolbar-height: 44px;
|
|
5
|
-
$page-
|
|
6
|
-
$page-bottom-padding: 20px;
|
|
7
|
-
$page-sider-width: 220px;
|
|
8
|
-
$page-sider-collapse-width: 40px;
|
|
9
|
-
$page-sider-footer-height: 52px;
|
|
10
|
-
$page-sider-collapse-icon-translate-x: -8px;
|
|
11
|
-
$page-sider-collapse-selector: '.sidenav-collapse';
|
|
12
|
-
$page-sider-ani-selector: '.sidenav-ani';
|
|
3
|
+
$page-top: $page-header-height + ' + ' + $page-toolbar-height;
|
|
13
4
|
$page-padding-m: 20px;
|
|
14
|
-
$page-padding-s: 16px;
|
|
15
|
-
|
|
16
5
|
$fixed-form-footer-height: 64px;
|
|
17
|
-
|
|
18
|
-
$default-border: 1px solid use-rgb(border);
|
|
19
|
-
$border-scale-width: 4px;
|
|
20
|
-
$border-transition: all 0.2s ease-in-out;
|
|
21
|
-
$border-scale-radius: 4px;
|
|
22
|
-
|
|
23
|
-
$ease-in-out: cubic-bezier(0.38, 0, 0.24, 1);
|
|
24
|
-
$transition-duration-s: 0.3s; // 最慢
|
|
25
|
-
$transition-duration-m: 0.24s; // 适中
|
|
26
|
-
$transition-duration-f: 0.2s; // 最快
|
|
27
|
-
|
|
28
|
-
// var(--acl-page-header-height) + 44px
|
|
29
|
-
$page-top: $page-header-height + ' + ' + $page-toolbar-height;
|
|
30
|
-
$page-top-padding: calc(#{$page-top} + 20px);
|