@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
|
@@ -1,414 +0,0 @@
|
|
|
1
|
-
export declare const AIT_API_GROUP = "ait.alauda.io";
|
|
2
|
-
export declare const OAM_GROUP = "core.oam.dev";
|
|
3
|
-
export declare const ARGOCD_GROUP = "argoproj.io";
|
|
4
|
-
export declare const MACHINE_API_GROUP = "machine.alauda.io";
|
|
5
|
-
export declare const VOLUME_SNAPSHOT_GROUP = "snapshot.storage.k8s.io";
|
|
6
|
-
export declare const K8S_CORE_API_GROUP = "core.kubernetes.io";
|
|
7
|
-
export declare const K8S_APP_API_GROUP = "app.k8s.io";
|
|
8
|
-
export declare const COMMON_RESOURCE_DEFINITIONS: {
|
|
9
|
-
ALAUDA_LOADBALANCER2: {
|
|
10
|
-
apiGroup: string;
|
|
11
|
-
type: string;
|
|
12
|
-
};
|
|
13
|
-
ALB2: {
|
|
14
|
-
apiGroup: string;
|
|
15
|
-
apiVersion: string;
|
|
16
|
-
type: string;
|
|
17
|
-
};
|
|
18
|
-
HELM_REQUEST: {
|
|
19
|
-
type: string;
|
|
20
|
-
apiGroup: string;
|
|
21
|
-
apiVersion: string;
|
|
22
|
-
};
|
|
23
|
-
HELM_REQUEST_V1: {
|
|
24
|
-
type: string;
|
|
25
|
-
apiGroup: string;
|
|
26
|
-
apiVersion: string;
|
|
27
|
-
};
|
|
28
|
-
DEPLOYMENT: {
|
|
29
|
-
apiGroup: string;
|
|
30
|
-
type: string;
|
|
31
|
-
};
|
|
32
|
-
DAEMONSET: {
|
|
33
|
-
apiGroup: string;
|
|
34
|
-
type: string;
|
|
35
|
-
};
|
|
36
|
-
STATEFULSET: {
|
|
37
|
-
apiGroup: string;
|
|
38
|
-
type: string;
|
|
39
|
-
};
|
|
40
|
-
FRONTEND: {
|
|
41
|
-
apiGroup: string;
|
|
42
|
-
type: string;
|
|
43
|
-
};
|
|
44
|
-
RULE: {
|
|
45
|
-
apiGroup: string;
|
|
46
|
-
type: string;
|
|
47
|
-
};
|
|
48
|
-
POD: {
|
|
49
|
-
type: string;
|
|
50
|
-
};
|
|
51
|
-
PODS_EXEC: {
|
|
52
|
-
type: string;
|
|
53
|
-
};
|
|
54
|
-
PODS_ROOT_EXEC: {
|
|
55
|
-
type: string;
|
|
56
|
-
};
|
|
57
|
-
CONFIG_MAP: {
|
|
58
|
-
type: string;
|
|
59
|
-
};
|
|
60
|
-
ALERT_TEMPLATE: {
|
|
61
|
-
apiGroup: string;
|
|
62
|
-
apiVersion: string;
|
|
63
|
-
type: string;
|
|
64
|
-
};
|
|
65
|
-
APPLICATION: {
|
|
66
|
-
apiGroup: string;
|
|
67
|
-
apiVersion: string;
|
|
68
|
-
type: string;
|
|
69
|
-
};
|
|
70
|
-
APPLICATION_HISTORY: {
|
|
71
|
-
apiGroup: string;
|
|
72
|
-
apiVersion: string;
|
|
73
|
-
type: string;
|
|
74
|
-
};
|
|
75
|
-
CLUSTER: {
|
|
76
|
-
apiGroup: string;
|
|
77
|
-
apiVersion: string;
|
|
78
|
-
type: string;
|
|
79
|
-
};
|
|
80
|
-
CLUSTER_VIEW: {
|
|
81
|
-
apiGroup: string;
|
|
82
|
-
apiVersion: string;
|
|
83
|
-
type: string;
|
|
84
|
-
};
|
|
85
|
-
DAEMON_SET: {
|
|
86
|
-
apiGroup: string;
|
|
87
|
-
type: string;
|
|
88
|
-
};
|
|
89
|
-
STATEFUL_SET: {
|
|
90
|
-
apiGroup: string;
|
|
91
|
-
type: string;
|
|
92
|
-
};
|
|
93
|
-
DOMAIN: {
|
|
94
|
-
apiGroup: string;
|
|
95
|
-
apiVersion: string;
|
|
96
|
-
type: string;
|
|
97
|
-
};
|
|
98
|
-
FEATURE: {
|
|
99
|
-
apiGroup: string;
|
|
100
|
-
apiVersion: string;
|
|
101
|
-
type: string;
|
|
102
|
-
};
|
|
103
|
-
ALAUDA_FEATURE_GATE: {
|
|
104
|
-
apiGroup: string;
|
|
105
|
-
apiVersion: string;
|
|
106
|
-
type: string;
|
|
107
|
-
};
|
|
108
|
-
CLUSTER_ALAUDA_FEATURE_GATE: {
|
|
109
|
-
apiGroup: string;
|
|
110
|
-
apiVersion: string;
|
|
111
|
-
type: string;
|
|
112
|
-
};
|
|
113
|
-
HORIZONTAL_POD_AUTOSCALER: {
|
|
114
|
-
apiGroup: string;
|
|
115
|
-
apiVersion: string;
|
|
116
|
-
type: string;
|
|
117
|
-
};
|
|
118
|
-
LOG: {
|
|
119
|
-
apiGroup: string;
|
|
120
|
-
apiVersion: string;
|
|
121
|
-
type: string;
|
|
122
|
-
};
|
|
123
|
-
PROJECT: {
|
|
124
|
-
apiGroup: string;
|
|
125
|
-
type: string;
|
|
126
|
-
};
|
|
127
|
-
PROMETHEUS_RULE: {
|
|
128
|
-
apiGroup: string;
|
|
129
|
-
apiVersion: string;
|
|
130
|
-
type: string;
|
|
131
|
-
};
|
|
132
|
-
ALERT_HISTORY: {
|
|
133
|
-
apiGroup: string;
|
|
134
|
-
type: string;
|
|
135
|
-
};
|
|
136
|
-
SELF_SUBJECT_ACCESS_REVIEW: {
|
|
137
|
-
apiGroup: string;
|
|
138
|
-
type: string;
|
|
139
|
-
};
|
|
140
|
-
VIEW: {
|
|
141
|
-
apiGroup: string;
|
|
142
|
-
type: string;
|
|
143
|
-
};
|
|
144
|
-
SERVICE: {
|
|
145
|
-
type: string;
|
|
146
|
-
};
|
|
147
|
-
LIMIT_RANGE: {
|
|
148
|
-
type: string;
|
|
149
|
-
};
|
|
150
|
-
SECRET: {
|
|
151
|
-
type: string;
|
|
152
|
-
};
|
|
153
|
-
CRON_JOB: {
|
|
154
|
-
apiGroup: string;
|
|
155
|
-
apiVersion: string;
|
|
156
|
-
type: string;
|
|
157
|
-
};
|
|
158
|
-
ADVANCED_CRON_JOB: {
|
|
159
|
-
type: string;
|
|
160
|
-
apiGroup: string;
|
|
161
|
-
apiVersion: string;
|
|
162
|
-
};
|
|
163
|
-
JOB: {
|
|
164
|
-
apiGroup: string;
|
|
165
|
-
type: string;
|
|
166
|
-
};
|
|
167
|
-
INGRESS: {
|
|
168
|
-
apiGroup: string;
|
|
169
|
-
type: string;
|
|
170
|
-
};
|
|
171
|
-
PERSISTENT_VOLUME_CLAIM: {
|
|
172
|
-
type: string;
|
|
173
|
-
};
|
|
174
|
-
NAMESPACE: {
|
|
175
|
-
type: string;
|
|
176
|
-
};
|
|
177
|
-
NODE: {
|
|
178
|
-
type: string;
|
|
179
|
-
};
|
|
180
|
-
NODE_METRICS: {
|
|
181
|
-
apiGroup: string;
|
|
182
|
-
apiVersion: string;
|
|
183
|
-
type: string;
|
|
184
|
-
};
|
|
185
|
-
PV: {
|
|
186
|
-
type: string;
|
|
187
|
-
};
|
|
188
|
-
CRD: {
|
|
189
|
-
apiGroup: string;
|
|
190
|
-
type: string;
|
|
191
|
-
};
|
|
192
|
-
CHART_REPO: {
|
|
193
|
-
type: string;
|
|
194
|
-
apiGroup: string;
|
|
195
|
-
apiVersion: string;
|
|
196
|
-
};
|
|
197
|
-
CHART: {
|
|
198
|
-
type: string;
|
|
199
|
-
apiGroup: string;
|
|
200
|
-
apiVersion: string;
|
|
201
|
-
};
|
|
202
|
-
NETWORK_POLICY: {
|
|
203
|
-
apiGroup: string;
|
|
204
|
-
type: string;
|
|
205
|
-
};
|
|
206
|
-
SERVICE_ACCOUNT: {
|
|
207
|
-
type: string;
|
|
208
|
-
};
|
|
209
|
-
REPLICA_SET: {
|
|
210
|
-
apiGroup: string;
|
|
211
|
-
type: string;
|
|
212
|
-
};
|
|
213
|
-
POD_SECURITY_POLICY: {
|
|
214
|
-
apiGroup: string;
|
|
215
|
-
apiVersion: string;
|
|
216
|
-
type: string;
|
|
217
|
-
};
|
|
218
|
-
NAMESPACE_OVERVIEW: {
|
|
219
|
-
apiGroup: string;
|
|
220
|
-
type: string;
|
|
221
|
-
};
|
|
222
|
-
CSP: {
|
|
223
|
-
apiGroup: string;
|
|
224
|
-
type: string;
|
|
225
|
-
};
|
|
226
|
-
RESOURCE_QUOTA: {
|
|
227
|
-
type: string;
|
|
228
|
-
};
|
|
229
|
-
CLUSTER_NETWORK_POLICY: {
|
|
230
|
-
apiGroup: string;
|
|
231
|
-
type: string;
|
|
232
|
-
};
|
|
233
|
-
PROJECT_QUOTA: {
|
|
234
|
-
apiGroup: string;
|
|
235
|
-
apiVersion: string;
|
|
236
|
-
type: string;
|
|
237
|
-
};
|
|
238
|
-
TKE_CLUSTER: {
|
|
239
|
-
apiGroup: string;
|
|
240
|
-
type: string;
|
|
241
|
-
};
|
|
242
|
-
TKE_MACHINE: {
|
|
243
|
-
apiGroup: string;
|
|
244
|
-
type: string;
|
|
245
|
-
};
|
|
246
|
-
MACHINE: {
|
|
247
|
-
apiGroup: string;
|
|
248
|
-
apiVersion: string;
|
|
249
|
-
type: string;
|
|
250
|
-
};
|
|
251
|
-
NODE_GROUP: {
|
|
252
|
-
apiGroup: string;
|
|
253
|
-
apiVersion: string;
|
|
254
|
-
type: string;
|
|
255
|
-
};
|
|
256
|
-
CLUSTERSERVICEVERSION: {
|
|
257
|
-
apiGroup: string;
|
|
258
|
-
apiVersion: string;
|
|
259
|
-
type: string;
|
|
260
|
-
};
|
|
261
|
-
TENANT: {
|
|
262
|
-
apiGroup: string;
|
|
263
|
-
apiVersion: string;
|
|
264
|
-
type: string;
|
|
265
|
-
};
|
|
266
|
-
SUBSCRIPTION: {
|
|
267
|
-
apiGroup: string;
|
|
268
|
-
apiVersion: string;
|
|
269
|
-
type: string;
|
|
270
|
-
};
|
|
271
|
-
PACKAGE_MANIFEST: {
|
|
272
|
-
apiGroup: string;
|
|
273
|
-
apiVersion: string;
|
|
274
|
-
type: string;
|
|
275
|
-
};
|
|
276
|
-
BUCKET_CLASS: {
|
|
277
|
-
apiGroup: string;
|
|
278
|
-
apiVersion: string;
|
|
279
|
-
type: string;
|
|
280
|
-
};
|
|
281
|
-
PRODUCT_CONFIG: {
|
|
282
|
-
type: string;
|
|
283
|
-
apiGroup: string;
|
|
284
|
-
apiVersion: string;
|
|
285
|
-
};
|
|
286
|
-
STORAGE_CLASS: {
|
|
287
|
-
type: string;
|
|
288
|
-
apiGroup: string;
|
|
289
|
-
};
|
|
290
|
-
VOLUME_SNAPSHOT_CLASS: {
|
|
291
|
-
type: string;
|
|
292
|
-
apiGroup: string;
|
|
293
|
-
apiVersion: string;
|
|
294
|
-
};
|
|
295
|
-
PRODUCT_BASE: {
|
|
296
|
-
type: string;
|
|
297
|
-
apiGroup: string;
|
|
298
|
-
apiVersion: string;
|
|
299
|
-
};
|
|
300
|
-
MODULE_INFO: {
|
|
301
|
-
type: string;
|
|
302
|
-
apiVersion: string;
|
|
303
|
-
apiGroup: string;
|
|
304
|
-
};
|
|
305
|
-
MODULE_CONFIG: {
|
|
306
|
-
apiGroup: string;
|
|
307
|
-
apiVersion: string;
|
|
308
|
-
type: string;
|
|
309
|
-
};
|
|
310
|
-
MODULE_PLUGIN: {
|
|
311
|
-
apiGroup: string;
|
|
312
|
-
apiVersion: string;
|
|
313
|
-
type: string;
|
|
314
|
-
};
|
|
315
|
-
PRODUCT_ENTRY: {
|
|
316
|
-
type: string;
|
|
317
|
-
apiGroup: string;
|
|
318
|
-
apiVersion: string;
|
|
319
|
-
};
|
|
320
|
-
PRODUCT_DOCS_ENTRY: {
|
|
321
|
-
type: string;
|
|
322
|
-
apiGroup: string;
|
|
323
|
-
apiVersion: string;
|
|
324
|
-
};
|
|
325
|
-
SERVICEMESH_GROUP: {
|
|
326
|
-
apiGroup: string;
|
|
327
|
-
apiVersion: string;
|
|
328
|
-
type: string;
|
|
329
|
-
};
|
|
330
|
-
CLUSTER_MODULE: {
|
|
331
|
-
type: string;
|
|
332
|
-
apiVersion: string;
|
|
333
|
-
apiGroup: string;
|
|
334
|
-
};
|
|
335
|
-
USER_SECURITY_POLICY: {
|
|
336
|
-
type: string;
|
|
337
|
-
apiGroup: string;
|
|
338
|
-
apiVersion: string;
|
|
339
|
-
};
|
|
340
|
-
CONNECTOR: {
|
|
341
|
-
type: string;
|
|
342
|
-
apiGroup: string;
|
|
343
|
-
};
|
|
344
|
-
ACCESS_TOKEN_INFO: {
|
|
345
|
-
type: string;
|
|
346
|
-
apiGroup: string;
|
|
347
|
-
};
|
|
348
|
-
FUNCTION_RESOURCE: {
|
|
349
|
-
type: string;
|
|
350
|
-
apiGroup: string;
|
|
351
|
-
apiVersion: string;
|
|
352
|
-
};
|
|
353
|
-
USER_BINDING: {
|
|
354
|
-
type: string;
|
|
355
|
-
apiGroup: string;
|
|
356
|
-
apiVersion: string;
|
|
357
|
-
};
|
|
358
|
-
USER: {
|
|
359
|
-
type: string;
|
|
360
|
-
apiGroup: string;
|
|
361
|
-
};
|
|
362
|
-
GROUP: {
|
|
363
|
-
type: string;
|
|
364
|
-
apiGroup: string;
|
|
365
|
-
};
|
|
366
|
-
PROJECT_MEMBER: {
|
|
367
|
-
type: string;
|
|
368
|
-
apiGroup: string;
|
|
369
|
-
};
|
|
370
|
-
ROLE_TEMPLATE: {
|
|
371
|
-
type: string;
|
|
372
|
-
apiGroup: string;
|
|
373
|
-
apiVersion: string;
|
|
374
|
-
};
|
|
375
|
-
BATCH_ACTION: {
|
|
376
|
-
apiGroup: string;
|
|
377
|
-
apiVersion: string;
|
|
378
|
-
type: string;
|
|
379
|
-
};
|
|
380
|
-
EVENT: {
|
|
381
|
-
type: string;
|
|
382
|
-
apiVersion: string;
|
|
383
|
-
};
|
|
384
|
-
SERVICE_MONITOR: {
|
|
385
|
-
apiGroup: string;
|
|
386
|
-
type: string;
|
|
387
|
-
apiVersion: string;
|
|
388
|
-
};
|
|
389
|
-
OAM_APPLICATION: {
|
|
390
|
-
apiGroup: string;
|
|
391
|
-
apiVersion: string;
|
|
392
|
-
type: string;
|
|
393
|
-
};
|
|
394
|
-
ARGOCD_APPLICATION_SET: {
|
|
395
|
-
apiGroup: string;
|
|
396
|
-
apiVersion: string;
|
|
397
|
-
type: string;
|
|
398
|
-
};
|
|
399
|
-
ARGOCD_APPLICATION: {
|
|
400
|
-
apiGroup: string;
|
|
401
|
-
apiVersion: string;
|
|
402
|
-
type: string;
|
|
403
|
-
};
|
|
404
|
-
OPERATOR_VIEW: {
|
|
405
|
-
type: string;
|
|
406
|
-
apiGroup: string;
|
|
407
|
-
apiVersion: string;
|
|
408
|
-
};
|
|
409
|
-
MODULE_PLUGIN_VIEW: {
|
|
410
|
-
type: string;
|
|
411
|
-
apiGroup: string;
|
|
412
|
-
apiVersion: string;
|
|
413
|
-
};
|
|
414
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { StringMap } from '../types';
|
|
2
|
-
export declare enum GenericStatusIcon {
|
|
3
|
-
Check = "check_circle_s",
|
|
4
|
-
Running = "arrow_right_circle_s",
|
|
5
|
-
Error = "xmark_circle_s",
|
|
6
|
-
Missing = "prod:lose",
|
|
7
|
-
Stopped = "stop_circle_s",
|
|
8
|
-
Pending = "rotate_circle_s",
|
|
9
|
-
Question = "question_circle_s",
|
|
10
|
-
Exclamation = "exclamation_circle_s",
|
|
11
|
-
Warning = "exclamation_triangle_s",
|
|
12
|
-
Deleting = "trash_circle_s",
|
|
13
|
-
Invalid = "minus_circle_s",
|
|
14
|
-
Pause = "pause_circle_s",
|
|
15
|
-
Alarm = "siren",
|
|
16
|
-
Upgradeable = "prod:upgradable_s",
|
|
17
|
-
Provisioning = "hourglass_circle_s",
|
|
18
|
-
Circle = "circle",
|
|
19
|
-
Healthy = "prod:heart_pulse_circle_s",
|
|
20
|
-
play = "play_circle_s"
|
|
21
|
-
}
|
|
22
|
-
export declare enum GenericStatusColor {
|
|
23
|
-
Pending = "rgb(var(--aui-color-blue))",
|
|
24
|
-
Running = "rgb(var(--aui-color-green))",
|
|
25
|
-
Succeeded = "rgb(var(--aui-color-green))",
|
|
26
|
-
Warning = "rgb(var(--aui-color-yellow))",
|
|
27
|
-
Failed = "rgb(var(--aui-color-red))",
|
|
28
|
-
Stopped = "rgb(var(--aui-color-n-3))",
|
|
29
|
-
Empty = "rgb(var(--aui-color-n-4))",
|
|
30
|
-
Missing = "rgb(var(--aui-color-n-6))",
|
|
31
|
-
Completed = "rgb(var(--aui-color-n-3))"
|
|
32
|
-
}
|
|
33
|
-
export declare const DefaultStatusColorMapper: StringMap;
|
|
34
|
-
export declare const DefaultStatusIconMapper: StringMap;
|
package/constants/timezones.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TranslateService } from '@alauda-fe/dynamic-plugin-sdk';
|
|
2
|
-
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AuiCodeEditorHelperDirective implements OnDestroy {
|
|
6
|
-
private readonly cdr;
|
|
7
|
-
private readonly translate;
|
|
8
|
-
destroy$$: Subject<void>;
|
|
9
|
-
constructor(cdr: ChangeDetectorRef, translate: TranslateService);
|
|
10
|
-
ngOnDestroy(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuiCodeEditorHelperDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AuiCodeEditorHelperDirective, "aui-code-editor", never, {}, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ClickOutsideDirective implements OnInit {
|
|
4
|
-
private readonly el;
|
|
5
|
-
className: string;
|
|
6
|
-
clickOutside: EventEmitter<Event>;
|
|
7
|
-
onBodyClick(event: MouseEvent): void;
|
|
8
|
-
constructor(el: ElementRef<HTMLElement>);
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[aclClickOutside]", ["aclClickOutside"], { "className": { "alias": "aclClickOutside"; "required": false; }; }, { "clickOutside": "clickOutside"; }, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class DeclareDirective {
|
|
3
|
-
private readonly viewContainerRef;
|
|
4
|
-
private readonly templateRef;
|
|
5
|
-
set declare(declare: unknown);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DeclareDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DeclareDirective, "[declare]", never, { "declare": { "alias": "declare"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { AttrBoolean } from '@alauda/ui';
|
|
2
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
|
-
import { ControlContainer, NgControl } from '@angular/forms';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* Usage:
|
|
9
|
-
* If you want to disable a formControl.
|
|
10
|
-
*
|
|
11
|
-
* eg:
|
|
12
|
-
* <input formControlName="name" [aclDisabled]="true">
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
export declare class DisabledDirective implements OnInit, OnDestroy {
|
|
16
|
-
private readonly ctrlContainer;
|
|
17
|
-
private readonly ngControl;
|
|
18
|
-
aclDisabled: AttrBoolean;
|
|
19
|
-
aclDisabled$: Observable<AttrBoolean>;
|
|
20
|
-
destroyStrategy?: 'check' | 'disable' | 'enable';
|
|
21
|
-
private readonly destroy$$;
|
|
22
|
-
constructor(ctrlContainer: ControlContainer, ngControl: NgControl);
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
ngOnDestroy(): void;
|
|
25
|
-
private checkStatus;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DisabledDirective, [{ optional: true; self: true; }, { optional: true; self: true; }]>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DisabledDirective, "[aclDisabled]", never, { "aclDisabled": { "alias": "aclDisabled"; "required": false; }; "destroyStrategy": { "alias": "destroyStrategy"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DefaultValueAccessor } from '@angular/forms';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CoerceNumberDirective extends DefaultValueAccessor {
|
|
4
|
-
aclCoerceNumberEnabled: boolean | '';
|
|
5
|
-
_handleInput(value: any): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CoerceNumberDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CoerceNumberDirective, "input[formControlName][aclCoerceNumber],input[ngModel][aclCoerceNumber],input[formControl][aclCoerceNumber]", never, { "aclCoerceNumberEnabled": { "alias": "aclCoerceNumber"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class E2eAttributeBindingDirective implements AfterViewInit {
|
|
4
|
-
private readonly el;
|
|
5
|
-
constructor(el: ElementRef<HTMLElement>);
|
|
6
|
-
ngAfterViewInit(): void;
|
|
7
|
-
setDataTestId(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<E2eAttributeBindingDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<E2eAttributeBindingDirective, "[click],[routerLink],a[href],[auiTooltip],[auiDropdown]", never, {}, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare enum PreventHandler {
|
|
3
|
-
Contextmenu = "contextmenu",
|
|
4
|
-
Paste = "paste",
|
|
5
|
-
Cut = "cut",
|
|
6
|
-
Copy = "copy"
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* 阻止点击事件
|
|
10
|
-
*/
|
|
11
|
-
export declare class PreventDirective {
|
|
12
|
-
prevent: boolean;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PreventDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PreventDirective, "[prevent]", never, { "prevent": { "alias": "prevent"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* 阻止冒泡事件
|
|
18
|
-
*/
|
|
19
|
-
export declare class StopDirective {
|
|
20
|
-
stop: boolean;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StopDirective, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<StopDirective, "[stop]", never, { "stop": { "alias": "stop"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* 阻止剪切板(拷贝、粘贴、剪切、右键菜单)等事件
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
*
|
|
29
|
-
* 阻止全部:
|
|
30
|
-
* ```
|
|
31
|
-
* <input aui-input aclPreventEvent>
|
|
32
|
-
* ```
|
|
33
|
-
* 自定义:
|
|
34
|
-
* ```
|
|
35
|
-
* <input aui-input [aclPreventEvent]="{copy: true, paste: true}">
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
export declare class PreventClipboardDirective {
|
|
39
|
-
preventClipboardEvent: boolean | '' | Partial<Record<PreventHandler, boolean>>;
|
|
40
|
-
private isPreventEvent;
|
|
41
|
-
onContextmenu(event: Event): void;
|
|
42
|
-
onCut(event: Event): void;
|
|
43
|
-
onPaste(event: Event): void;
|
|
44
|
-
onCopy(event: Event): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PreventClipboardDirective, never>;
|
|
46
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PreventClipboardDirective, "input[aclPreventClipboardEvent]", never, { "preventClipboardEvent": { "alias": "aclPreventClipboardEvent"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { E2eAttributeBindingDirective } from './e2e-attribute-binding.directive';
|
|
2
|
-
import { PreventDirective, StopDirective } from './event.directive';
|
|
3
|
-
import { MaxValidatorDirective, MinValidatorDirective } from './min-max.directive';
|
|
4
|
-
import { TrimDirective } from './trim.directive';
|
|
5
|
-
import { ValidatorsDirective } from './validators.directive';
|
|
6
|
-
export declare const EFFECT_DIRECTIVE_MODULE: readonly [typeof E2eAttributeBindingDirective, typeof MaxValidatorDirective, typeof MinValidatorDirective, typeof TrimDirective, typeof ValidatorsDirective, typeof PreventDirective, typeof StopDirective];
|
|
7
|
-
export * from './coerce-number.directive';
|
|
8
|
-
export * from './e2e-attribute-binding.directive';
|
|
9
|
-
export * from './event.directive';
|
|
10
|
-
export * from './min-max.directive';
|
|
11
|
-
export * from './trim.directive';
|
|
12
|
-
export * from './validators.directive';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Angular form directives for min/max.
|
|
6
|
-
*/
|
|
7
|
-
export declare class MaxValidatorDirective implements Validator, OnChanges {
|
|
8
|
-
private _validator;
|
|
9
|
-
private _onChange;
|
|
10
|
-
max: string | number;
|
|
11
|
-
get maxValue(): string | number;
|
|
12
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
13
|
-
validate(c: AbstractControl): ValidationErrors | null;
|
|
14
|
-
registerOnValidatorChange(fn: () => void): void;
|
|
15
|
-
private _createValidator;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MaxValidatorDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MaxValidatorDirective, "[max][formControlName],[max][formControl],[max][ngModel]", never, { "max": { "alias": "max"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
19
|
-
export declare class MinValidatorDirective implements Validator, OnChanges {
|
|
20
|
-
private _validator;
|
|
21
|
-
private _onChange;
|
|
22
|
-
get maxValue(): string | number;
|
|
23
|
-
min: string | number;
|
|
24
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
-
validate(c: AbstractControl): ValidationErrors | null;
|
|
26
|
-
registerOnValidatorChange(fn: () => void): void;
|
|
27
|
-
private _createValidator;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MinValidatorDirective, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MinValidatorDirective, "[min][formControlName],[min][formControl],[min][ngModel]", never, { "min": { "alias": "min"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { DefaultValueAccessor } from '@angular/forms';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TrimDirective extends DefaultValueAccessor {
|
|
4
|
-
_handleInput(value: string): void;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TrimDirective, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TrimDirective, "input[trim],textarea[trim]]", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ValidatorsDirective implements AfterViewInit, OnDestroy {
|
|
5
|
-
private readonly ngControl;
|
|
6
|
-
constructor(ngControl: NgControl);
|
|
7
|
-
ngAfterViewInit(): void;
|
|
8
|
-
ngOnDestroy(): void;
|
|
9
|
-
validate(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValidatorsDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ValidatorsDirective, "[ngModel][required],[formControl][required],[formControlName][required],[ngModel][pattern],[formControl][pattern],[formControlName][pattern],[ngModel][min],[formControl][min],[formControlName][min],[ngModel][max],[formControl][max],[formControlName][max],[ngModel][minlength],[formControl][minlength],[formControlName][minlength],[ngModel][maxlength],[formControl][maxlength],[formControlName][maxlength],[ngModel][email],[formControl][email],[formControlName][email]", never, {}, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @packageDocumentation
|
|
3
|
-
* @module utils
|
|
4
|
-
*/
|
|
5
|
-
import { FeatureGateService } from '@alauda-fe/dynamic-plugin-sdk';
|
|
6
|
-
import { ChangeDetectorRef, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @example
|
|
10
|
-
* ```
|
|
11
|
-
* <ng-container *aclFeatureGate="gate-name"></ng-container>
|
|
12
|
-
* ```
|
|
13
|
-
*/
|
|
14
|
-
export declare class FeatureGateDirective implements OnInit, OnDestroy {
|
|
15
|
-
private readonly container;
|
|
16
|
-
private readonly featureGate;
|
|
17
|
-
private readonly crd;
|
|
18
|
-
featureName: string;
|
|
19
|
-
cluster: string;
|
|
20
|
-
negate: boolean;
|
|
21
|
-
set then(templateRef: TemplateRef<void>);
|
|
22
|
-
set else(templateRef: TemplateRef<void>);
|
|
23
|
-
private thenTemplateRef;
|
|
24
|
-
private elseTemplateRef;
|
|
25
|
-
private subscription;
|
|
26
|
-
constructor(container: ViewContainerRef, featureGate: FeatureGateService, crd: ChangeDetectorRef, templateRef: TemplateRef<void>);
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureGateDirective, never>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FeatureGateDirective, "[aclFeatureGate]", never, { "featureName": { "alias": "aclFeatureGate"; "required": false; }; "cluster": { "alias": "aclFeatureGateCluster"; "required": false; }; "negate": { "alias": "aclFeatureGateNegate"; "required": false; }; "then": { "alias": "aclFeatureGateThen"; "required": false; }; "else": { "alias": "aclFeatureGateElse"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
-
}
|