@alauda-fe/dynamic-plugin-shared 0.0.1-alpha.9 → 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.
Files changed (395) hide show
  1. package/assets/i18n/en/dynamic-plugin-shared.json +3 -0
  2. package/assets/images/overview-banner.svg +1 -0
  3. package/fesm2022/alauda-fe-dynamic-plugin-shared.mjs +3038 -1828
  4. package/fesm2022/alauda-fe-dynamic-plugin-shared.mjs.map +1 -1
  5. package/package.json +15 -17
  6. package/styles/lib.scss +1 -1
  7. package/styles/mixins.scss +1 -210
  8. package/styles/var.scss +1 -26
  9. package/types/alauda-fe-dynamic-plugin-shared.d.ts +5692 -0
  10. package/array-form-table/base-string-map-form.component.d.ts +0 -22
  11. package/array-form-table/form/component.d.ts +0 -106
  12. package/array-form-table/form/index.d.ts +0 -3
  13. package/array-form-table/index.d.ts +0 -10
  14. package/array-form-table/key-value-form/component.d.ts +0 -38
  15. package/array-form-table/key-value-table/component.d.ts +0 -9
  16. package/array-form-table/string-array-form/component.d.ts +0 -41
  17. package/async-data/async-data-loader.d.ts +0 -31
  18. package/async-data/error-page/component.d.ts +0 -30
  19. package/async-data/index.d.ts +0 -13
  20. package/async-data/page-state/component.d.ts +0 -21
  21. package/async-data/types.d.ts +0 -29
  22. package/code-editor/code-display-dialog/component.d.ts +0 -17
  23. package/code-editor/code-editor-configs.d.ts +0 -19
  24. package/code-editor/index.d.ts +0 -10
  25. package/code-editor/k8s-yaml-display-dialog/component.d.ts +0 -16
  26. package/code-editor/resource-yaml-display/component.d.ts +0 -21
  27. package/components/card-section/card-section.component.d.ts +0 -9
  28. package/components/confirm-delete/confirm-delete.component.d.ts +0 -57
  29. package/components/confirm-delete/utils.d.ts +0 -25
  30. package/components/current-time/component.d.ts +0 -14
  31. package/components/custom-columns-setting/component.d.ts +0 -16
  32. package/components/custom-columns-setting/index.d.ts +0 -1
  33. package/components/date-range-picker/component.d.ts +0 -55
  34. package/components/date-range-picker/index.d.ts +0 -3
  35. package/components/date-range-picker/type.d.ts +0 -36
  36. package/components/date-range-picker/util.d.ts +0 -11
  37. package/components/disabled-container/disabled-container.component.d.ts +0 -21
  38. package/components/disabled-container/index.d.ts +0 -7
  39. package/components/field-set/column/component.d.ts +0 -10
  40. package/components/field-set/group/component.d.ts +0 -6
  41. package/components/field-set/index.d.ts +0 -7
  42. package/components/field-set/item/component.d.ts +0 -13
  43. package/components/foldable-block/component.d.ts +0 -17
  44. package/components/foldable-item-in-table/component.d.ts +0 -21
  45. package/components/help-document/component.d.ts +0 -29
  46. package/components/help-document/directive.d.ts +0 -20
  47. package/components/help-document/index.d.ts +0 -8
  48. package/components/help-document/service.d.ts +0 -20
  49. package/components/index.d.ts +0 -32
  50. package/components/loading-mask/loading-mask.component.d.ts +0 -13
  51. package/components/page-guard/component/component.d.ts +0 -40
  52. package/components/page-guard/component/helper-directives.d.ts +0 -17
  53. package/components/page-guard/component/page-guard.type.d.ts +0 -86
  54. package/components/page-guard/index.d.ts +0 -12
  55. package/components/password-input/component.d.ts +0 -39
  56. package/components/pod-status/component.d.ts +0 -25
  57. package/components/pod-status/index.d.ts +0 -3
  58. package/components/pod-status/status.d.ts +0 -4
  59. package/components/pod-status/typings.d.ts +0 -16
  60. package/components/relative-time/component.d.ts +0 -15
  61. package/components/resource-label/component.d.ts +0 -25
  62. package/components/resource-multi-select/component.d.ts +0 -41
  63. package/components/resource-multi-select/util.d.ts +0 -10
  64. package/components/search-panel/component.d.ts +0 -16
  65. package/components/search-panel/helper.directive.d.ts +0 -5
  66. package/components/search-panel/search-item/component.d.ts +0 -7
  67. package/components/select-prefix-label/directive.d.ts +0 -17
  68. package/components/status-icon/status-icon.component.d.ts +0 -16
  69. package/components/tags-label/component.d.ts +0 -56
  70. package/components/terminating-tag/component.d.ts +0 -7
  71. package/components/text-ellipsis/component.d.ts +0 -9
  72. package/components/text-tooltip/directive.d.ts +0 -21
  73. package/components/text-with-url/component.d.ts +0 -12
  74. package/components/upload-file/component.d.ts +0 -32
  75. package/components/workload-status/component.d.ts +0 -37
  76. package/components/workload-status/index.d.ts +0 -1
  77. package/components/zero-state/zero-state.component.d.ts +0 -17
  78. package/constants/common.d.ts +0 -64
  79. package/constants/index.d.ts +0 -6
  80. package/constants/k8s.d.ts +0 -12
  81. package/constants/patterns.d.ts +0 -124
  82. package/constants/resource-definitions.d.ts +0 -414
  83. package/constants/status-icons.d.ts +0 -34
  84. package/constants/timezones.d.ts +0 -6
  85. package/directives/aui-code-editor.directive.d.ts +0 -13
  86. package/directives/click-outside.directive.d.ts +0 -12
  87. package/directives/declare.directive.d.ts +0 -8
  88. package/directives/disabled.directive.d.ts +0 -28
  89. package/directives/effect-directive/coerce-number.directive.d.ts +0 -8
  90. package/directives/effect-directive/e2e-attribute-binding.directive.d.ts +0 -10
  91. package/directives/effect-directive/event.directive.d.ts +0 -47
  92. package/directives/effect-directive/index.d.ts +0 -12
  93. package/directives/effect-directive/min-max.directive.d.ts +0 -30
  94. package/directives/effect-directive/trim.directive.d.ts +0 -7
  95. package/directives/effect-directive/validators.directive.d.ts +0 -12
  96. package/directives/feature-gate.directive.d.ts +0 -31
  97. package/directives/index.d.ts +0 -12
  98. package/directives/last-form-item.directive.d.ts +0 -8
  99. package/directives/readonly-field.directive.d.ts +0 -39
  100. package/directives/resize.directive.d.ts +0 -17
  101. package/directives/scroll-border-observer.directive.d.ts +0 -23
  102. package/directives/scroll-to-first-invalid.directive.d.ts +0 -24
  103. package/directives/value-trace.directive.d.ts +0 -27
  104. package/esm2022/alauda-fe-dynamic-plugin-shared.mjs +0 -5
  105. package/esm2022/array-form-table/base-string-map-form.component.mjs +0 -92
  106. package/esm2022/array-form-table/form/component.mjs +0 -266
  107. package/esm2022/array-form-table/form/index.mjs +0 -13
  108. package/esm2022/array-form-table/index.mjs +0 -11
  109. package/esm2022/array-form-table/key-value-form/component.mjs +0 -135
  110. package/esm2022/array-form-table/key-value-table/component.mjs +0 -24
  111. package/esm2022/array-form-table/string-array-form/component.mjs +0 -168
  112. package/esm2022/async-data/async-data-loader.mjs +0 -63
  113. package/esm2022/async-data/error-page/component.mjs +0 -54
  114. package/esm2022/async-data/index.mjs +0 -18
  115. package/esm2022/async-data/page-state/component.mjs +0 -62
  116. package/esm2022/async-data/types.mjs +0 -6
  117. package/esm2022/code-editor/code-display-dialog/component.mjs +0 -35
  118. package/esm2022/code-editor/code-editor-configs.mjs +0 -66
  119. package/esm2022/code-editor/index.mjs +0 -11
  120. package/esm2022/code-editor/k8s-yaml-display-dialog/component.mjs +0 -26
  121. package/esm2022/code-editor/resource-yaml-display/component.mjs +0 -67
  122. package/esm2022/components/card-section/card-section.component.mjs +0 -24
  123. package/esm2022/components/confirm-delete/confirm-delete.component.mjs +0 -192
  124. package/esm2022/components/confirm-delete/utils.mjs +0 -8
  125. package/esm2022/components/current-time/component.mjs +0 -39
  126. package/esm2022/components/custom-columns-setting/component.mjs +0 -75
  127. package/esm2022/components/custom-columns-setting/index.mjs +0 -2
  128. package/esm2022/components/date-range-picker/component.mjs +0 -215
  129. package/esm2022/components/date-range-picker/index.mjs +0 -4
  130. package/esm2022/components/date-range-picker/type.mjs +0 -2
  131. package/esm2022/components/date-range-picker/util.mjs +0 -57
  132. package/esm2022/components/disabled-container/disabled-container.component.mjs +0 -81
  133. package/esm2022/components/disabled-container/index.mjs +0 -8
  134. package/esm2022/components/field-set/column/component.mjs +0 -25
  135. package/esm2022/components/field-set/group/component.mjs +0 -16
  136. package/esm2022/components/field-set/index.mjs +0 -14
  137. package/esm2022/components/field-set/item/component.mjs +0 -41
  138. package/esm2022/components/foldable-block/component.mjs +0 -60
  139. package/esm2022/components/foldable-item-in-table/component.mjs +0 -56
  140. package/esm2022/components/help-document/component.mjs +0 -69
  141. package/esm2022/components/help-document/directive.mjs +0 -70
  142. package/esm2022/components/help-document/index.mjs +0 -9
  143. package/esm2022/components/help-document/service.mjs +0 -43
  144. package/esm2022/components/index.mjs +0 -33
  145. package/esm2022/components/loading-mask/loading-mask.component.mjs +0 -35
  146. package/esm2022/components/page-guard/component/component.mjs +0 -101
  147. package/esm2022/components/page-guard/component/helper-directives.mjs +0 -51
  148. package/esm2022/components/page-guard/component/page-guard.type.mjs +0 -82
  149. package/esm2022/components/page-guard/index.mjs +0 -19
  150. package/esm2022/components/password-input/component.mjs +0 -143
  151. package/esm2022/components/pod-status/component.mjs +0 -49
  152. package/esm2022/components/pod-status/index.mjs +0 -4
  153. package/esm2022/components/pod-status/status.mjs +0 -84
  154. package/esm2022/components/pod-status/typings.mjs +0 -19
  155. package/esm2022/components/relative-time/component.mjs +0 -58
  156. package/esm2022/components/resource-label/component.mjs +0 -100
  157. package/esm2022/components/resource-multi-select/component.mjs +0 -152
  158. package/esm2022/components/resource-multi-select/util.mjs +0 -24
  159. package/esm2022/components/search-panel/component.mjs +0 -51
  160. package/esm2022/components/search-panel/helper.directive.mjs +0 -14
  161. package/esm2022/components/search-panel/search-item/component.mjs +0 -15
  162. package/esm2022/components/select-prefix-label/directive.mjs +0 -89
  163. package/esm2022/components/status-icon/status-icon.component.mjs +0 -56
  164. package/esm2022/components/tags-label/component.mjs +0 -224
  165. package/esm2022/components/terminating-tag/component.mjs +0 -16
  166. package/esm2022/components/text-ellipsis/component.mjs +0 -28
  167. package/esm2022/components/text-tooltip/directive.mjs +0 -71
  168. package/esm2022/components/text-with-url/component.mjs +0 -40
  169. package/esm2022/components/upload-file/component.mjs +0 -95
  170. package/esm2022/components/workload-status/component.mjs +0 -33
  171. package/esm2022/components/workload-status/index.mjs +0 -2
  172. package/esm2022/components/zero-state/zero-state.component.mjs +0 -56
  173. package/esm2022/constants/common.mjs +0 -86
  174. package/esm2022/constants/index.mjs +0 -7
  175. package/esm2022/constants/k8s.mjs +0 -13
  176. package/esm2022/constants/patterns.mjs +0 -142
  177. package/esm2022/constants/resource-definitions.mjs +0 -424
  178. package/esm2022/constants/status-icons.mjs +0 -65
  179. package/esm2022/constants/timezones.mjs +0 -234
  180. package/esm2022/directives/aui-code-editor.directive.mjs +0 -30
  181. package/esm2022/directives/click-outside.directive.mjs +0 -49
  182. package/esm2022/directives/declare.directive.mjs +0 -27
  183. package/esm2022/directives/disabled.directive.mjs +0 -76
  184. package/esm2022/directives/effect-directive/coerce-number.directive.mjs +0 -54
  185. package/esm2022/directives/effect-directive/e2e-attribute-binding.directive.mjs +0 -57
  186. package/esm2022/directives/effect-directive/event.directive.mjs +0 -129
  187. package/esm2022/directives/effect-directive/index.mjs +0 -21
  188. package/esm2022/directives/effect-directive/min-max.directive.mjs +0 -107
  189. package/esm2022/directives/effect-directive/trim.directive.mjs +0 -40
  190. package/esm2022/directives/effect-directive/validators.directive.mjs +0 -43
  191. package/esm2022/directives/feature-gate.directive.mjs +0 -90
  192. package/esm2022/directives/index.mjs +0 -13
  193. package/esm2022/directives/last-form-item.directive.mjs +0 -18
  194. package/esm2022/directives/readonly-field.directive.mjs +0 -145
  195. package/esm2022/directives/resize.directive.mjs +0 -39
  196. package/esm2022/directives/scroll-border-observer.directive.mjs +0 -77
  197. package/esm2022/directives/scroll-to-first-invalid.directive.mjs +0 -126
  198. package/esm2022/directives/value-trace.directive.mjs +0 -61
  199. package/esm2022/form/base-form-container.mjs +0 -126
  200. package/esm2022/form/base-nested-form-control.mjs +0 -190
  201. package/esm2022/form/errors-mapper/base-errors-mapper.mjs +0 -41
  202. package/esm2022/form/errors-mapper/default-errors-mapper.service.mjs +0 -65
  203. package/esm2022/form/errors-mapper/errors-mapper-component/component.mjs +0 -53
  204. package/esm2022/form/errors-mapper/errors-mapper.directive.mjs +0 -109
  205. package/esm2022/form/errors-mapper/index.mjs +0 -10
  206. package/esm2022/form/errors-mapper/types.mjs +0 -2
  207. package/esm2022/form/index.mjs +0 -6
  208. package/esm2022/form/utils.mjs +0 -61
  209. package/esm2022/form/validators/async-function-validator.directive.mjs +0 -49
  210. package/esm2022/form/validators/dns1123-subdomain.mjs +0 -42
  211. package/esm2022/form/validators/function-validator.directive.mjs +0 -49
  212. package/esm2022/form/validators/index.mjs +0 -10
  213. package/esm2022/form/validators/maxlength-minlength-validator.directive.mjs +0 -71
  214. package/esm2022/form/validators/not-be-validator.directive.mjs +0 -56
  215. package/esm2022/form/validators/one-of-validator.directive.mjs +0 -57
  216. package/esm2022/form/validators/resource-limit.mjs +0 -79
  217. package/esm2022/form/validators/strong-password/index.mjs +0 -4
  218. package/esm2022/form/validators/strong-password/strong-password-tooltip/component.mjs +0 -15
  219. package/esm2022/form/validators/strong-password/strong-password-validator.directive.mjs +0 -171
  220. package/esm2022/form/validators/strong-password/strong-password-validator.module.mjs +0 -36
  221. package/esm2022/form/validators/utils.mjs +0 -155
  222. package/esm2022/index.mjs +0 -15
  223. package/esm2022/k8s-resource-list/footer/component.mjs +0 -161
  224. package/esm2022/k8s-resource-list/index.mjs +0 -18
  225. package/esm2022/k8s-resource-list/k8s-resource-list.mjs +0 -224
  226. package/esm2022/k8s-resource-list/k8s-resource-paged-list.mjs +0 -174
  227. package/esm2022/k8s-resource-list/types.mjs +0 -11
  228. package/esm2022/k8s-resource-list/utils.mjs +0 -84
  229. package/esm2022/k8s-shared/constants.mjs +0 -53
  230. package/esm2022/k8s-shared/index.mjs +0 -12
  231. package/esm2022/k8s-shared/k8s-resource-translate-key.pipe.mjs +0 -31
  232. package/esm2022/k8s-shared/k8s-shared-util.service.mjs +0 -152
  233. package/esm2022/k8s-shared/resource-mark/component.mjs +0 -54
  234. package/esm2022/k8s-shared/resource-mark/util.mjs +0 -137
  235. package/esm2022/k8s-shared/update-description-dialog/component.mjs +0 -66
  236. package/esm2022/k8s-shared/update-display-name-dialog/component.mjs +0 -59
  237. package/esm2022/k8s-shared/update-key-value-dialog/component.mjs +0 -76
  238. package/esm2022/page-deactivate/deactivate.directive.mjs +0 -50
  239. package/esm2022/page-deactivate/deactivate.guard.mjs +0 -41
  240. package/esm2022/page-deactivate/deactivate.service.mjs +0 -78
  241. package/esm2022/page-deactivate/index.mjs +0 -4
  242. package/esm2022/pipes/calc.pipe.mjs +0 -21
  243. package/esm2022/pipes/cron-human-readable.pipe.mjs +0 -30
  244. package/esm2022/pipes/crontab-next.pipe.mjs +0 -67
  245. package/esm2022/pipes/duration.pipe.mjs +0 -51
  246. package/esm2022/pipes/field-not-available.pipe.mjs +0 -25
  247. package/esm2022/pipes/img-header.pipe.mjs +0 -18
  248. package/esm2022/pipes/img-theme.pipe.mjs +0 -38
  249. package/esm2022/pipes/index.mjs +0 -19
  250. package/esm2022/pipes/keyvalue.pipe.mjs +0 -20
  251. package/esm2022/pipes/marked.pipe.mjs +0 -18
  252. package/esm2022/pipes/minimum-format.pipe.mjs +0 -25
  253. package/esm2022/pipes/page-env.pipe.mjs +0 -69
  254. package/esm2022/pipes/parse-json-translate.pipe.mjs +0 -28
  255. package/esm2022/pipes/parse-json.pipe.mjs +0 -22
  256. package/esm2022/pipes/pure.pipe.mjs +0 -26
  257. package/esm2022/pipes/safe.pipe.mjs +0 -49
  258. package/esm2022/pipes/sanitize.pipe.mjs +0 -31
  259. package/esm2022/pipes/time.pipe.mjs +0 -113
  260. package/esm2022/pipes/timezone-display.pipe.mjs +0 -21
  261. package/esm2022/services/form-row-duplicate/form-row-duplicate.service.mjs +0 -280
  262. package/esm2022/services/index.mjs +0 -4
  263. package/esm2022/services/on-resize.service.mjs +0 -52
  264. package/esm2022/services/yaml-util.service.mjs +0 -99
  265. package/esm2022/types/common.mjs +0 -6
  266. package/esm2022/types/helpers.mjs +0 -12
  267. package/esm2022/types/index.mjs +0 -10
  268. package/esm2022/types/k8s/core.mjs +0 -2
  269. package/esm2022/types/k8s/crd.mjs +0 -57
  270. package/esm2022/types/k8s/index.mjs +0 -4
  271. package/esm2022/types/k8s/raw.mjs +0 -77
  272. package/esm2022/types/schema.mjs +0 -2
  273. package/esm2022/utils/browser.mjs +0 -21
  274. package/esm2022/utils/cache-store.mjs +0 -83
  275. package/esm2022/utils/color-helpers.mjs +0 -6
  276. package/esm2022/utils/common.mjs +0 -315
  277. package/esm2022/utils/cron-util.mjs +0 -44
  278. package/esm2022/utils/decorators.mjs +0 -137
  279. package/esm2022/utils/disabled-state.mjs +0 -47
  280. package/esm2022/utils/format-number.mjs +0 -227
  281. package/esm2022/utils/index.mjs +0 -24
  282. package/esm2022/utils/local-storage-constants.mjs +0 -2
  283. package/esm2022/utils/node.mjs +0 -18
  284. package/esm2022/utils/observable.mjs +0 -32
  285. package/esm2022/utils/operators.mjs +0 -38
  286. package/esm2022/utils/request-pool.mjs +0 -37
  287. package/esm2022/utils/resources.mjs +0 -66
  288. package/esm2022/utils/router.mjs +0 -20
  289. package/esm2022/utils/sort-fn.mjs +0 -7
  290. package/esm2022/utils/tree.mjs +0 -79
  291. package/esm2022/utils/unit.mjs +0 -191
  292. package/esm2022/utils/version.mjs +0 -76
  293. package/esm2022/utils/with-load-state.mjs +0 -21
  294. package/esm2022/utils/workload.mjs +0 -183
  295. package/esm2022/utils/workspace.mjs +0 -59
  296. package/esm2022/utils/yaml.mjs +0 -54
  297. package/form/base-form-container.d.ts +0 -41
  298. package/form/base-nested-form-control.d.ts +0 -58
  299. package/form/errors-mapper/base-errors-mapper.d.ts +0 -13
  300. package/form/errors-mapper/default-errors-mapper.service.d.ts +0 -10
  301. package/form/errors-mapper/errors-mapper-component/component.d.ts +0 -19
  302. package/form/errors-mapper/errors-mapper.directive.d.ts +0 -39
  303. package/form/errors-mapper/index.d.ts +0 -6
  304. package/form/errors-mapper/types.d.ts +0 -16
  305. package/form/index.d.ts +0 -5
  306. package/form/utils.d.ts +0 -40
  307. package/form/validators/async-function-validator.directive.d.ts +0 -11
  308. package/form/validators/dns1123-subdomain.d.ts +0 -28
  309. package/form/validators/function-validator.directive.d.ts +0 -11
  310. package/form/validators/index.d.ts +0 -9
  311. package/form/validators/maxlength-minlength-validator.directive.d.ts +0 -20
  312. package/form/validators/not-be-validator.directive.d.ts +0 -12
  313. package/form/validators/one-of-validator.directive.d.ts +0 -12
  314. package/form/validators/resource-limit.d.ts +0 -17
  315. package/form/validators/strong-password/index.d.ts +0 -3
  316. package/form/validators/strong-password/strong-password-tooltip/component.d.ts +0 -6
  317. package/form/validators/strong-password/strong-password-validator.directive.d.ts +0 -34
  318. package/form/validators/strong-password/strong-password-validator.module.d.ts +0 -12
  319. package/form/validators/utils.d.ts +0 -67
  320. package/index.d.ts +0 -14
  321. package/k8s-resource-list/footer/component.d.ts +0 -43
  322. package/k8s-resource-list/index.d.ts +0 -13
  323. package/k8s-resource-list/k8s-resource-list.d.ts +0 -42
  324. package/k8s-resource-list/k8s-resource-paged-list.d.ts +0 -61
  325. package/k8s-resource-list/types.d.ts +0 -70
  326. package/k8s-resource-list/utils.d.ts +0 -19
  327. package/k8s-shared/constants.d.ts +0 -7
  328. package/k8s-shared/index.d.ts +0 -11
  329. package/k8s-shared/k8s-resource-translate-key.pipe.d.ts +0 -9
  330. package/k8s-shared/k8s-shared-util.service.d.ts +0 -48
  331. package/k8s-shared/resource-mark/component.d.ts +0 -16
  332. package/k8s-shared/resource-mark/util.d.ts +0 -2
  333. package/k8s-shared/update-description-dialog/component.d.ts +0 -33
  334. package/k8s-shared/update-display-name-dialog/component.d.ts +0 -27
  335. package/k8s-shared/update-key-value-dialog/component.d.ts +0 -38
  336. package/page-deactivate/deactivate.directive.d.ts +0 -18
  337. package/page-deactivate/deactivate.guard.d.ts +0 -13
  338. package/page-deactivate/deactivate.service.d.ts +0 -28
  339. package/page-deactivate/index.d.ts +0 -3
  340. package/pipes/calc.pipe.d.ts +0 -11
  341. package/pipes/cron-human-readable.pipe.d.ts +0 -9
  342. package/pipes/crontab-next.pipe.d.ts +0 -18
  343. package/pipes/duration.pipe.d.ts +0 -10
  344. package/pipes/field-not-available.pipe.d.ts +0 -13
  345. package/pipes/img-header.pipe.d.ts +0 -7
  346. package/pipes/img-theme.pipe.d.ts +0 -13
  347. package/pipes/index.d.ts +0 -18
  348. package/pipes/keyvalue.pipe.d.ts +0 -9
  349. package/pipes/marked.pipe.d.ts +0 -8
  350. package/pipes/minimum-format.pipe.d.ts +0 -10
  351. package/pipes/page-env.pipe.d.ts +0 -34
  352. package/pipes/parse-json-translate.pipe.d.ts +0 -8
  353. package/pipes/parse-json.pipe.d.ts +0 -7
  354. package/pipes/pure.pipe.d.ts +0 -17
  355. package/pipes/safe.pipe.d.ts +0 -10
  356. package/pipes/sanitize.pipe.d.ts +0 -10
  357. package/pipes/time.pipe.d.ts +0 -40
  358. package/pipes/timezone-display.pipe.d.ts +0 -10
  359. package/services/form-row-duplicate/form-row-duplicate.service.d.ts +0 -45
  360. package/services/index.d.ts +0 -3
  361. package/services/on-resize.service.d.ts +0 -20
  362. package/services/yaml-util.service.d.ts +0 -20
  363. package/styles/global.scss +0 -904
  364. package/types/common.d.ts +0 -42
  365. package/types/helpers.d.ts +0 -35
  366. package/types/index.d.ts +0 -9
  367. package/types/k8s/core.d.ts +0 -100
  368. package/types/k8s/crd.d.ts +0 -497
  369. package/types/k8s/index.d.ts +0 -3
  370. package/types/k8s/raw.d.ts +0 -860
  371. package/types/schema.d.ts +0 -14
  372. package/utils/browser.d.ts +0 -4
  373. package/utils/cache-store.d.ts +0 -35
  374. package/utils/color-helpers.d.ts +0 -4
  375. package/utils/common.d.ts +0 -64
  376. package/utils/cron-util.d.ts +0 -8
  377. package/utils/decorators.d.ts +0 -14
  378. package/utils/disabled-state.d.ts +0 -20
  379. package/utils/format-number.d.ts +0 -11
  380. package/utils/index.d.ts +0 -23
  381. package/utils/local-storage-constants.d.ts +0 -1
  382. package/utils/node.d.ts +0 -8
  383. package/utils/observable.d.ts +0 -5
  384. package/utils/operators.d.ts +0 -22
  385. package/utils/request-pool.d.ts +0 -12
  386. package/utils/resources.d.ts +0 -19
  387. package/utils/router.d.ts +0 -3
  388. package/utils/sort-fn.d.ts +0 -2
  389. package/utils/tree.d.ts +0 -16
  390. package/utils/unit.d.ts +0 -21
  391. package/utils/version.d.ts +0 -39
  392. package/utils/with-load-state.d.ts +0 -11
  393. package/utils/workload.d.ts +0 -66
  394. package/utils/workspace.d.ts +0 -28
  395. package/utils/yaml.d.ts +0 -11
@@ -1,904 +0,0 @@
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
- }