@dovetail-v2/refine 0.1.11-alpha.2 → 0.1.12

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 (237) hide show
  1. package/dist/{MonacoYamlDiffEditor-42ab72d2.js → MonacoYamlDiffEditor-ae1a891e.js} +1 -1
  2. package/dist/{index-8ae38abf.js → index-90c4694a.js} +709 -322
  3. package/dist/refine.js +175 -172
  4. package/dist/refine.umd.cjs +535 -148
  5. package/dist/style.css +185 -0
  6. package/lib/components/DropdownMenuItems/index.d.ts +1 -0
  7. package/lib/components/EditField/index.d.ts +3 -0
  8. package/lib/components/EditMetadataForm/KeyValueTableForm.d.ts +15 -0
  9. package/lib/components/EditMetadataForm/LabelFormatPopover.d.ts +3 -0
  10. package/lib/components/Form/useYamlForm.d.ts +1 -1
  11. package/lib/i18n.d.ts +26 -0
  12. package/lib/locales/zh-CN/index.d.ts +26 -0
  13. package/lib/types/resource.d.ts +1 -1
  14. package/lib/utils/index.d.ts +1 -0
  15. package/lib/utils/schema-store.d.ts +13 -0
  16. package/lib/utils/validation.d.ts +8 -0
  17. package/package.json +7 -7
  18. package/lib/components/CronJobDropdown/index.d.ts +0 -9
  19. package/lib/components/K8sDropdown/index.d.ts +0 -9
  20. package/lib/components/PodDropdown/index.d.ts +0 -9
  21. package/lib/components/ReplicasDropdown/index.d.ts +0 -9
  22. package/lib/components/Table/TableToolBar.d.ts +0 -9
  23. package/lib/components/Table/TableWidgets.d.ts +0 -6
  24. package/lib/components/WorkloadDropdown/index.d.ts +0 -9
  25. package/lib/src/App.d.ts +0 -3
  26. package/lib/src/Dovetail.d.ts +0 -18
  27. package/lib/src/components/Breadcrumb/index.d.ts +0 -6
  28. package/lib/src/components/ConditionsTable/ConditionsTable.d.ts +0 -7
  29. package/lib/src/components/ConditionsTable/index.d.ts +0 -1
  30. package/lib/src/components/CreateButton/index.d.ts +0 -2
  31. package/lib/src/components/CronJobDropdown/index.d.ts +0 -9
  32. package/lib/src/components/CronjobJobsTable/index.d.ts +0 -8
  33. package/lib/src/components/DeleteButton/index.d.ts +0 -2
  34. package/lib/src/components/DeleteManyButton/index.d.ts +0 -4
  35. package/lib/src/components/DrawerShow/DrawerShow.d.ts +0 -9
  36. package/lib/src/components/DrawerShow/index.d.ts +0 -1
  37. package/lib/src/components/DurationTime/index.d.ts +0 -6
  38. package/lib/src/components/EditButton/index.d.ts +0 -2
  39. package/lib/src/components/EditField/index.d.ts +0 -15
  40. package/lib/src/components/ErrorContent/index.d.ts +0 -17
  41. package/lib/src/components/EventsTable/EventsTable.d.ts +0 -6
  42. package/lib/src/components/EventsTable/index.d.ts +0 -1
  43. package/lib/src/components/Form/FormModal.d.ts +0 -9
  44. package/lib/src/components/Form/RefineFormContent.d.ts +0 -12
  45. package/lib/src/components/Form/RefineFormPage.d.ts +0 -7
  46. package/lib/src/components/Form/YamlForm.d.ts +0 -29
  47. package/lib/src/components/Form/index.d.ts +0 -7
  48. package/lib/src/components/Form/type.d.ts +0 -17
  49. package/lib/src/components/Form/useFieldsConfig.d.ts +0 -4
  50. package/lib/src/components/Form/useReactHookForm.d.ts +0 -30
  51. package/lib/src/components/Form/useRefineForm.d.ts +0 -13
  52. package/lib/src/components/Form/useYamlForm.d.ts +0 -50
  53. package/lib/src/components/FormErrorAlert/index.d.ts +0 -9
  54. package/lib/src/components/FormLayout/index.d.ts +0 -7
  55. package/lib/src/components/FormWidgets/KeyValueListWidget.d.ts +0 -6
  56. package/lib/src/components/FormWidgets/MetadataForm.d.ts +0 -2
  57. package/lib/src/components/FormWidgets/NameInputWidget.d.ts +0 -51
  58. package/lib/src/components/FormWidgets/NamespaceSelectWidget.d.ts +0 -9
  59. package/lib/src/components/FormWidgets/index.d.ts +0 -4
  60. package/lib/src/components/FormWidgets/widget.d.ts +0 -5
  61. package/lib/src/components/ImageNames/index.d.ts +0 -5
  62. package/lib/src/components/IngressRulesComponent/index.d.ts +0 -5
  63. package/lib/src/components/IngressRulesTable/IngressRulesTable.d.ts +0 -7
  64. package/lib/src/components/IngressRulesTable/index.d.ts +0 -1
  65. package/lib/src/components/K8sDropdown/index.d.ts +0 -9
  66. package/lib/src/components/KeyValue/KeyValue.d.ts +0 -7
  67. package/lib/src/components/KeyValue/KeyValueAnnotation.d.ts +0 -6
  68. package/lib/src/components/KeyValue/KeyValueSecret.d.ts +0 -5
  69. package/lib/src/components/KeyValue/index.d.ts +0 -3
  70. package/lib/src/components/Layout/index.d.ts +0 -3
  71. package/lib/src/components/LinkFallback/index.d.ts +0 -4
  72. package/lib/src/components/ListPage/index.d.ts +0 -10
  73. package/lib/src/components/Menu/index.d.ts +0 -2
  74. package/lib/src/components/NamespacesFilter/index.d.ts +0 -11
  75. package/lib/src/components/NetworkPolicyRulesViewer/NetworkPolicyRulesViewer.d.ts +0 -8
  76. package/lib/src/components/NetworkPolicyRulesViewer/index.d.ts +0 -1
  77. package/lib/src/components/PVCDistributeStorage/index.d.ts +0 -16
  78. package/lib/src/components/PageShow/PageShow.d.ts +0 -12
  79. package/lib/src/components/PageShow/index.d.ts +0 -1
  80. package/lib/src/components/PodContainersTable/PodContainersTable.d.ts +0 -8
  81. package/lib/src/components/PodContainersTable/index.d.ts +0 -1
  82. package/lib/src/components/PodDropdown/index.d.ts +0 -9
  83. package/lib/src/components/PodLog/index.d.ts +0 -6
  84. package/lib/src/components/PodSelectorTable/index.d.ts +0 -6
  85. package/lib/src/components/PodShellModal/PodShell.d.ts +0 -18
  86. package/lib/src/components/PodShellModal/index.d.ts +0 -10
  87. package/lib/src/components/PortsTable/index.d.ts +0 -7
  88. package/lib/src/components/ReferenceLink/index.d.ts +0 -8
  89. package/lib/src/components/ReplicasDropdown/index.d.ts +0 -9
  90. package/lib/src/components/ResourceCRUD/ResourceCRUD.d.ts +0 -8
  91. package/lib/src/components/ResourceCRUD/create/index.d.ts +0 -8
  92. package/lib/src/components/ResourceCRUD/index.d.ts +0 -4
  93. package/lib/src/components/ResourceCRUD/list/index.d.ts +0 -9
  94. package/lib/src/components/ResourceCRUD/show/index.d.ts +0 -9
  95. package/lib/src/components/ResourceFiledDisplays.d.ts +0 -7
  96. package/lib/src/components/ResourceLink/index.d.ts +0 -8
  97. package/lib/src/components/ResourceSelect/index.d.ts +0 -12
  98. package/lib/src/components/ResourceTable/index.d.ts +0 -9
  99. package/lib/src/components/ResourceUsageBar/index.d.ts +0 -8
  100. package/lib/src/components/Separator/index.d.ts +0 -2
  101. package/lib/src/components/ServiceComponents/index.d.ts +0 -10
  102. package/lib/src/components/Shell/ShellToolbar.d.ts +0 -16
  103. package/lib/src/components/Shell/index.d.ts +0 -74
  104. package/lib/src/components/ShowContent/ShowContent.d.ts +0 -18
  105. package/lib/src/components/ShowContent/fields.d.ts +0 -76
  106. package/lib/src/components/ShowContent/groups.d.ts +0 -24
  107. package/lib/src/components/ShowContent/index.d.ts +0 -4
  108. package/lib/src/components/ShowContent/tabs.d.ts +0 -5
  109. package/lib/src/components/StateTag/StateTag.d.ts +0 -10
  110. package/lib/src/components/StateTag/index.d.ts +0 -1
  111. package/lib/src/components/Table/TableToolBar.d.ts +0 -8
  112. package/lib/src/components/Table/TableWidgets.d.ts +0 -6
  113. package/lib/src/components/Table/index.d.ts +0 -43
  114. package/lib/src/components/Tabs/index.d.ts +0 -10
  115. package/lib/src/components/Tags/index.d.ts +0 -6
  116. package/lib/src/components/TextTags/index.d.ts +0 -6
  117. package/lib/src/components/Time/index.d.ts +0 -8
  118. package/lib/src/components/ValueDisplay/index.d.ts +0 -9
  119. package/lib/src/components/WorkloadDropdown/index.d.ts +0 -9
  120. package/lib/src/components/WorkloadPodsTable/WorkloadPodsTable.d.ts +0 -9
  121. package/lib/src/components/WorkloadPodsTable/index.d.ts +0 -1
  122. package/lib/src/components/WorkloadReplicas/index.d.ts +0 -17
  123. package/lib/src/components/YamlEditor/MonacoYamlDiffEditor.d.ts +0 -9
  124. package/lib/src/components/YamlEditor/MonacoYamlEditor.d.ts +0 -19
  125. package/lib/src/components/YamlEditor/YamlEditorComponent.d.ts +0 -27
  126. package/lib/src/components/YamlEditor/index.d.ts +0 -1
  127. package/lib/src/components/YamlEditor/style.d.ts +0 -11
  128. package/lib/src/components/YamlEditor/yaml.worker.d.ts +0 -1
  129. package/lib/src/components/index.d.ts +0 -49
  130. package/lib/src/constants/auth.d.ts +0 -5
  131. package/lib/src/constants/index.d.ts +0 -3
  132. package/lib/src/constants/k8s.d.ts +0 -522
  133. package/lib/src/constants/state.d.ts +0 -15
  134. package/lib/src/contexts/component.d.ts +0 -8
  135. package/lib/src/contexts/configs.d.ts +0 -4
  136. package/lib/src/contexts/global-store.d.ts +0 -6
  137. package/lib/src/contexts/index.d.ts +0 -3
  138. package/lib/src/hooks/index.d.ts +0 -8
  139. package/lib/src/hooks/useDeleteModal/index.d.ts +0 -1
  140. package/lib/src/hooks/useDeleteModal/useDeleteManyModal.d.ts +0 -8
  141. package/lib/src/hooks/useDeleteModal/useDeleteModal.d.ts +0 -7
  142. package/lib/src/hooks/useDownloadYAML.d.ts +0 -7
  143. package/lib/src/hooks/useEagleTable/columns.d.ts +0 -47
  144. package/lib/src/hooks/useEagleTable/index.d.ts +0 -2
  145. package/lib/src/hooks/useEagleTable/useEagleTable.d.ts +0 -56
  146. package/lib/src/hooks/useEdit.d.ts +0 -4
  147. package/lib/src/hooks/useGlobalStore.d.ts +0 -3
  148. package/lib/src/hooks/useK8sYamlEditor.d.ts +0 -5
  149. package/lib/src/hooks/useNamespaceRefineFilter.d.ts +0 -5
  150. package/lib/src/hooks/useOpenForm.d.ts +0 -8
  151. package/lib/src/hooks/useSchema.d.ts +0 -21
  152. package/lib/src/hooks/useSubmitForm.d.ts +0 -14
  153. package/lib/src/hooks/useTableData.d.ts +0 -20
  154. package/lib/src/i18n.d.ts +0 -371
  155. package/lib/src/index.d.ts +0 -12
  156. package/lib/src/locales/en-US/index.d.ts +0 -175
  157. package/lib/src/locales/index.d.ts +0 -2
  158. package/lib/src/locales/zh-CN/index.d.ts +0 -193
  159. package/lib/src/main.d.ts +0 -3
  160. package/lib/src/models/cronjob-model.d.ts +0 -15
  161. package/lib/src/models/daemonset-model.d.ts +0 -15
  162. package/lib/src/models/deployment-model.d.ts +0 -13
  163. package/lib/src/models/event-model.d.ts +0 -7
  164. package/lib/src/models/index.d.ts +0 -19
  165. package/lib/src/models/ingress-model.d.ts +0 -20
  166. package/lib/src/models/job-model.d.ts +0 -20
  167. package/lib/src/models/network-policy-model.d.ts +0 -9
  168. package/lib/src/models/node-model.d.ts +0 -17
  169. package/lib/src/models/persistent-volume-claim.d.ts +0 -13
  170. package/lib/src/models/persistent-volume.d.ts +0 -13
  171. package/lib/src/models/pod-metrics-model.d.ts +0 -8
  172. package/lib/src/models/pod-model.d.ts +0 -20
  173. package/lib/src/models/resource-model.d.ts +0 -21
  174. package/lib/src/models/service-model.d.ts +0 -24
  175. package/lib/src/models/statefulset-model.d.ts +0 -13
  176. package/lib/src/models/storage-class.d.ts +0 -16
  177. package/lib/src/models/types/index.d.ts +0 -1
  178. package/lib/src/models/types/metric.d.ts +0 -25
  179. package/lib/src/models/workload-base-model.d.ts +0 -12
  180. package/lib/src/models/workload-model.d.ts +0 -18
  181. package/lib/src/pages/configmaps/index.d.ts +0 -4
  182. package/lib/src/pages/cronjobs/create/index.d.ts +0 -3
  183. package/lib/src/pages/cronjobs/index.d.ts +0 -3
  184. package/lib/src/pages/cronjobs/list/index.d.ts +0 -3
  185. package/lib/src/pages/cronjobs/show/index.d.ts +0 -3
  186. package/lib/src/pages/daemonsets/create/index.d.ts +0 -3
  187. package/lib/src/pages/daemonsets/index.d.ts +0 -3
  188. package/lib/src/pages/daemonsets/list/index.d.ts +0 -3
  189. package/lib/src/pages/daemonsets/show/index.d.ts +0 -3
  190. package/lib/src/pages/deployments/index.d.ts +0 -2
  191. package/lib/src/pages/deployments/list/index.d.ts +0 -3
  192. package/lib/src/pages/deployments/show/index.d.ts +0 -3
  193. package/lib/src/pages/ingresses/index.d.ts +0 -4
  194. package/lib/src/pages/jobs/index.d.ts +0 -4
  195. package/lib/src/pages/networkPolicies/index.d.ts +0 -4
  196. package/lib/src/pages/nodes/index.d.ts +0 -2
  197. package/lib/src/pages/nodes/list/index.d.ts +0 -3
  198. package/lib/src/pages/nodes/show/index.d.ts +0 -3
  199. package/lib/src/pages/persistentvolumeclaims/index.d.ts +0 -4
  200. package/lib/src/pages/persistentvolumes/index.d.ts +0 -4
  201. package/lib/src/pages/pods/create/index.d.ts +0 -3
  202. package/lib/src/pages/pods/index.d.ts +0 -3
  203. package/lib/src/pages/pods/list/index.d.ts +0 -3
  204. package/lib/src/pages/pods/show/index.d.ts +0 -3
  205. package/lib/src/pages/secrets/index.d.ts +0 -4
  206. package/lib/src/pages/services/index.d.ts +0 -4
  207. package/lib/src/pages/statefulsets/index.d.ts +0 -4
  208. package/lib/src/pages/storageclasses/form/index.d.ts +0 -9
  209. package/lib/src/pages/storageclasses/index.d.ts +0 -48
  210. package/lib/src/plugins/index.d.ts +0 -4
  211. package/lib/src/plugins/model-plugin.d.ts +0 -13
  212. package/lib/src/plugins/relation-plugin.d.ts +0 -26
  213. package/lib/src/plugins/type.d.ts +0 -8
  214. package/lib/src/providers/index.d.ts +0 -1
  215. package/lib/src/providers/router-provider/index.d.ts +0 -21
  216. package/lib/src/styles/button.d.ts +0 -1
  217. package/lib/src/styles/modal.d.ts +0 -1
  218. package/lib/src/types/index.d.ts +0 -1
  219. package/lib/src/types/resource.d.ts +0 -62
  220. package/lib/src/utils/addId.d.ts +0 -3
  221. package/lib/src/utils/download.d.ts +0 -1
  222. package/lib/src/utils/error.d.ts +0 -20
  223. package/lib/src/utils/form.d.ts +0 -3
  224. package/lib/src/utils/index.d.ts +0 -1
  225. package/lib/src/utils/k8s.d.ts +0 -3
  226. package/lib/src/utils/labels.d.ts +0 -9
  227. package/lib/src/utils/match-selector.d.ts +0 -3
  228. package/lib/src/utils/openapi.d.ts +0 -40
  229. package/lib/src/utils/schema.d.ts +0 -18
  230. package/lib/src/utils/selector.d.ts +0 -3
  231. package/lib/src/utils/shell.d.ts +0 -16
  232. package/lib/src/utils/storage.d.ts +0 -13
  233. package/lib/src/utils/string.d.ts +0 -1
  234. package/lib/src/utils/time.d.ts +0 -13
  235. package/lib/src/utils/unit.d.ts +0 -12
  236. package/lib/src/utils/yaml.d.ts +0 -2
  237. package/lib/vite.config.d.ts +0 -2
@@ -10,8 +10,8 @@ import React__default, { createElement, isValidElement, cloneElement, Children,
10
10
  import { ResourceContext, matchResourceFromRoute, useResource, useDelete, useNavigation, useBreadcrumb, useList, CanAccess, useUpdate, useParsed, useGo, useCan, useTable, useDeleteMany, useShow, useDataProvider, useRefineContext, useTranslate, useWarnAboutChange, useForm as useForm$2, flattenObjectKeys, pickNotDeprecated, useMenu, Refine } from "@refinedev/core";
11
11
  import { parse, stringify } from "qs";
12
12
  import { useLocation, useHistory, useParams, matchPath, Link, Route, NavLink, Router } from "react-router-dom";
13
- import { Typo, Tag, Input, Select, AntdOption, Button, Form, Space, TextArea, kitContext, Loading, Table as Table$2, Pagination, Alert, usePopModal, Modal, usePushModal, Fields, Units, OverflowTooltip, Tooltip, StatusCapsule, Dropdown, Menu as Menu$1, Icon as Icon$1, Divider, Link as Link$1, Tabs as Tabs$1, TabsTabPane, Row, Col, DonutChart, SegmentControl, Checkbox, DropdownMenu, SearchInput, Token, AntdSelectOptGroup, TableForm, MenuItemGroup, Layout as Layout$1, Time as Time$1, useMessage, ModalStack, KitStoreProvider, ConfigProvider } from "@cloudtower/eagle";
14
- import { EditPen16PrimaryIcon, Download16GradientBlueIcon, TrashBinDelete16Icon, MoreEllipsis324BoldSecondaryIcon, MoreEllipsis324BoldBlueIcon, MoreEllipsis316BoldBlueIcon, PlusAddCreateNew16BoldOntintIcon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, ViewEye16GradientGrayIcon, EntityFilterIgnoreGradient16GrayIcon, RecoverContinue16GradientBlueIcon, SuspendedPause16GradientBlueIcon, Retry16GradientBlueIcon, FontSize16GrayIcon, FontSize16BlueIcon, LogCollection16GrayIcon, LogCollection16GradientBlueIcon, TrashBinDeletePermanently16GrayIcon, TrashBinDeletePermanently16BlueIcon, Loading24GradientBlueIcon, OpenTerminal16GradientBlueIcon, HierarchyTriangleRight16GrayIcon, HierarchyTriangleRight16BlueIcon, ClipboardCopy16GradientGrayIcon, ClipboardCopy16GradientBlueIcon, Retry16GradientGrayIcon, EditPen16GradientGrayIcon, EditPen16GradientBlueIcon, Showdiff16GradientGrayIcon, Showdiff16GradientBlueIcon, XmarkFailedSeriousWarningFill16RedIcon, ExclamationErrorCircleFill16RedIcon, Pause16GradientBlueIcon, EditPen16BlueIcon } from "@cloudtower/icons-react";
13
+ import { Typo, Tag, Input, Select, AntdOption, Button, Form, Space, TextArea, kitContext, Loading, Table as Table$2, Pagination, Alert, usePopModal, Modal, usePushModal, Fields, Units, OverflowTooltip, Tooltip, StatusCapsule, Dropdown, Menu as Menu$1, Icon as Icon$1, Divider, Link as Link$1, Tabs as Tabs$1, TabsTabPane, Row, Col, DonutChart, SegmentControl, Checkbox, DropdownMenu, SearchInput, Token, AntdSelectOptGroup, Popover, AntdTable, TableForm, getOptions, MenuItemGroup, Layout as Layout$1, Time as Time$1, useMessage, ModalStack, KitStoreProvider, ConfigProvider } from "@cloudtower/eagle";
14
+ import { EditPen16PrimaryIcon, Download16GradientBlueIcon, TrashBinDelete16Icon, MoreEllipsis324BoldSecondaryIcon, MoreEllipsis324BoldBlueIcon, MoreEllipsis316BoldBlueIcon, PlusAddCreateNew16BoldOntintIcon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, ViewEye16GradientGrayIcon, EntityFilterIgnoreGradient16GrayIcon, RecoverContinue16GradientBlueIcon, SuspendedPause16GradientBlueIcon, Retry16GradientBlueIcon, FontSize16GrayIcon, FontSize16BlueIcon, LogCollection16GrayIcon, LogCollection16GradientBlueIcon, TrashBinDeletePermanently16GrayIcon, TrashBinDeletePermanently16BlueIcon, Loading24GradientBlueIcon, OpenTerminal16GradientBlueIcon, HierarchyTriangleRight16GrayIcon, HierarchyTriangleRight16BlueIcon, ClipboardCopy16GradientGrayIcon, ClipboardCopy16GradientBlueIcon, Retry16GradientGrayIcon, EditPen16GradientGrayIcon, EditPen16GradientBlueIcon, Showdiff16GradientGrayIcon, Showdiff16GradientBlueIcon, XmarkFailedSeriousWarningFill16RedIcon, ExclamationErrorCircleFill16RedIcon, Pause16GradientBlueIcon, EditPen16BlueIcon, InfoICircleFill16GrayIcon, InfoICircleFill16Gray70Icon } from "@cloudtower/icons-react";
15
15
  import { first, cloneDeep, set as set$1, omit as omit$1, merge, get as get$3, debounce, last, isObject as isObject$4, uniq, keyBy } from "lodash-es";
16
16
  import yaml$1 from "js-yaml";
17
17
  import { paginateData, sortData, dataProvider, liveProvider } from "k8s-api-provider";
@@ -1449,6 +1449,7 @@ const node_port = "NodePort";
1449
1449
  const protocol = "协议";
1450
1450
  const key = "键";
1451
1451
  const value = "值";
1452
+ const value_optional = "值(选填)";
1452
1453
  const effect = "效果";
1453
1454
  const show_data_value = "显示数值";
1454
1455
  const hide_data_value = "隐藏数值";
@@ -1549,6 +1550,31 @@ const change_form_mode_alert = "从编辑 YAML 切回表单编辑,将无法保
1549
1550
  const pvc_storage_required = "请填写分配量。";
1550
1551
  const pvc_storage_min = "请输入正整数。";
1551
1552
  const pvc_storage_reduce_limit = "输入值不得小于当前数值。";
1553
+ const key_empty_text = "请填写键。";
1554
+ const format_error = "格式错误。";
1555
+ const taint_effect_empty_text = "请选择效果。";
1556
+ const add_label = "添加标签";
1557
+ const add_annotation = "添加注解";
1558
+ const add_taint = "添加污点";
1559
+ const look_format_requirement = "查看格式要求";
1560
+ const yes = "是";
1561
+ const no = "否";
1562
+ const contains = "包含";
1563
+ const optional = "是否必填";
1564
+ const format_requirements = "格式要求";
1565
+ const suffix = "前缀";
1566
+ const suffix_format_rule_1 = "DNS 子域:由点 (.) 分隔的一系列 DNS 标签";
1567
+ const suffix_format_rule_2 = "不超过 253 个字符";
1568
+ const suffix_format_rule_3 = "后跟斜杠 (/),即第一个 (/) 前的内容是前缀。如有 (/) ,前缀不可为空";
1569
+ const name_format_rule_1 = "由字母、数字、连字符 (-)、下划线(_) 或点 (.) 组成";
1570
+ const name_format_rule_2 = "以字母或数字开头和结尾";
1571
+ const name_format_rule_3 = "不超过 63 个字符";
1572
+ const taint_effect_NoSchedule_tooltip_1 = "正在节点上运行的 Pod 不会被驱逐。";
1573
+ const taint_effect_NoSchedule_tooltip_2 = "新 Pod 不会调度到污点节点,除非有匹配的容忍度。";
1574
+ const taint_effect_PreferNoSchedule_tooltip_1 = "不容忍污点的 Pod 将被立即驱逐。";
1575
+ const taint_effect_PreferNoSchedule_tooltip_2 = "容忍污点但未设置容忍时长的 Pod 将继续运行。";
1576
+ const taint_effect_PreferNoSchedule_tooltip_3 = "容忍污点并设置了容忍时长的 Pod 将按指定时间运行,时间结束后被驱逐。";
1577
+ const taint_effect_NoExecute_tooltip_3 = "控制平面将尝试避免将不能容忍污点的 Pod 调度到节点上,但无法保证完全避免。";
1552
1578
  const dovetail = {
1553
1579
  copy: copy$1,
1554
1580
  reset_arguments,
@@ -1655,6 +1681,7 @@ const dovetail = {
1655
1681
  protocol,
1656
1682
  key,
1657
1683
  value,
1684
+ value_optional,
1658
1685
  effect,
1659
1686
  show_data_value,
1660
1687
  hide_data_value,
@@ -1756,7 +1783,32 @@ const dovetail = {
1756
1783
  change_form_mode_alert,
1757
1784
  pvc_storage_required,
1758
1785
  pvc_storage_min,
1759
- pvc_storage_reduce_limit
1786
+ pvc_storage_reduce_limit,
1787
+ key_empty_text,
1788
+ format_error,
1789
+ taint_effect_empty_text,
1790
+ add_label,
1791
+ add_annotation,
1792
+ add_taint,
1793
+ look_format_requirement,
1794
+ yes,
1795
+ no,
1796
+ contains,
1797
+ optional,
1798
+ format_requirements,
1799
+ suffix,
1800
+ suffix_format_rule_1,
1801
+ suffix_format_rule_2,
1802
+ suffix_format_rule_3,
1803
+ name_format_rule_1,
1804
+ name_format_rule_2,
1805
+ name_format_rule_3,
1806
+ taint_effect_NoSchedule_tooltip_1,
1807
+ taint_effect_NoSchedule_tooltip_2,
1808
+ taint_effect_PreferNoSchedule_tooltip_1,
1809
+ taint_effect_PreferNoSchedule_tooltip_2,
1810
+ taint_effect_PreferNoSchedule_tooltip_3,
1811
+ taint_effect_NoExecute_tooltip_3
1760
1812
  };
1761
1813
  const ZH = {
1762
1814
  dovetail
@@ -8149,6 +8201,9 @@ class K8sOpenAPI {
8149
8201
  }
8150
8202
  // Fetch and process OpenAPI schemas
8151
8203
  async fetch() {
8204
+ if (this.schemas) {
8205
+ return this.schemas;
8206
+ }
8152
8207
  try {
8153
8208
  const response = await fetch(
8154
8209
  `${this.pathPrefix}${this.resourceBasePath}`
@@ -8196,6 +8251,24 @@ class K8sOpenAPI {
8196
8251
  });
8197
8252
  }
8198
8253
  }
8254
+ class SchemaStore {
8255
+ constructor() {
8256
+ __publicField(this, "openapiMap", {});
8257
+ }
8258
+ async fetchSchemas(resourceBasePath, pathPrefix) {
8259
+ const openapi = this.openapiMap[`${resourceBasePath}-${pathPrefix}`] || new K8sOpenAPI(resourceBasePath, pathPrefix);
8260
+ this.openapiMap[`${resourceBasePath}-${pathPrefix}`] = openapi;
8261
+ const schemas = await openapi.fetch();
8262
+ return schemas;
8263
+ }
8264
+ async fetchSchema(resourceBasePath, pathPrefix, kind) {
8265
+ const openapi = this.openapiMap[`${resourceBasePath}-${pathPrefix}`] || new K8sOpenAPI(resourceBasePath, pathPrefix);
8266
+ this.openapiMap[`${resourceBasePath}-${pathPrefix}`] = openapi;
8267
+ await openapi.fetch();
8268
+ return openapi.findSchema(kind);
8269
+ }
8270
+ }
8271
+ const schemaStore = new SchemaStore();
8199
8272
  const ConstantsContext = createContext({
8200
8273
  schemaUrlPrefix: ""
8201
8274
  });
@@ -8214,8 +8287,7 @@ function useApiGroupSchema() {
8214
8287
  if (state2.schemasMap[apiGroup]) {
8215
8288
  return { apiGroup, schemas: state2.schemasMap[apiGroup] };
8216
8289
  }
8217
- const openapi = new K8sOpenAPI(apiGroup, schemaUrlPrefix);
8218
- const groupSchemas = await openapi.fetch();
8290
+ const groupSchemas = await schemaStore.fetchSchemas(apiGroup, schemaUrlPrefix);
8219
8291
  return { apiGroup, schemas: groupSchemas || [] };
8220
8292
  })
8221
8293
  );
@@ -8244,20 +8316,12 @@ function useSchema(options) {
8244
8316
  const useResourceResult = useResource();
8245
8317
  const resource = (options == null ? void 0 : options.resource) || useResourceResult.resource;
8246
8318
  const { schemaUrlPrefix } = useContext(ConstantsContext);
8247
- const openapi = useMemo(
8248
- () => {
8249
- var _a2;
8250
- return new K8sOpenAPI((_a2 = resource == null ? void 0 : resource.meta) == null ? void 0 : _a2.resourceBasePath, schemaUrlPrefix);
8251
- },
8252
- [(_a = resource == null ? void 0 : resource.meta) == null ? void 0 : _a.resourceBasePath, schemaUrlPrefix]
8253
- );
8254
8319
  const fetchSchema = useCallback(async () => {
8255
- var _a2;
8320
+ var _a2, _b2;
8256
8321
  setLoading(true);
8257
8322
  setError(null);
8258
8323
  try {
8259
- await openapi.fetch();
8260
- const schema2 = await openapi.findSchema((_a2 = resource == null ? void 0 : resource.meta) == null ? void 0 : _a2.kind);
8324
+ const schema2 = await schemaStore.fetchSchema((_a2 = resource == null ? void 0 : resource.meta) == null ? void 0 : _a2.resourceBasePath, schemaUrlPrefix, (_b2 = resource == null ? void 0 : resource.meta) == null ? void 0 : _b2.kind);
8261
8325
  setSchema(schema2 || null);
8262
8326
  setError(null);
8263
8327
  } catch (e2) {
@@ -8265,7 +8329,7 @@ function useSchema(options) {
8265
8329
  } finally {
8266
8330
  setLoading(false);
8267
8331
  }
8268
- }, [(_b = resource == null ? void 0 : resource.meta) == null ? void 0 : _b.kind, openapi]);
8332
+ }, [(_a = resource == null ? void 0 : resource.meta) == null ? void 0 : _a.kind, (_b = resource == null ? void 0 : resource.meta) == null ? void 0 : _b.resourceBasePath, schemaUrlPrefix]);
8269
8333
  useEffect(() => {
8270
8334
  if (options == null ? void 0 : options.skip)
8271
8335
  return;
@@ -8890,11 +8954,6 @@ function Table$1(props) {
8890
8954
  } = props;
8891
8955
  const auxiliaryLineRef = useRef(null);
8892
8956
  const wrapperRef = useRef(null);
8893
- useMemo(() => ({
8894
- current: currentPage,
8895
- pageSize: defaultSize,
8896
- onChange: onPageChange
8897
- }), [currentPage, defaultSize, onPageChange]);
8898
8957
  const finalColumns = useMemo(() => {
8899
8958
  if (RowMenu) {
8900
8959
  const actionColumn = {
@@ -9356,7 +9415,7 @@ const FRACTIONAL = ["", "m", "u", "n", "p", "f"];
9356
9415
  function formatSi(inValue, options) {
9357
9416
  const {
9358
9417
  increment = 1e3,
9359
- suffix = null,
9418
+ suffix: suffix2 = null,
9360
9419
  firstSuffix = null,
9361
9420
  startingExponent = 0,
9362
9421
  minExponent = 0,
@@ -9384,7 +9443,7 @@ function formatSi(inValue, options) {
9384
9443
  if (exp === 0 && firstSuffix !== null) {
9385
9444
  outStr += `${firstSuffix}`;
9386
9445
  } else {
9387
- outStr += `${UNITS[exp]}${suffix}` || "";
9446
+ outStr += `${UNITS[exp]}${suffix2}` || "";
9388
9447
  }
9389
9448
  return outStr;
9390
9449
  }
@@ -9492,10 +9551,8 @@ const DistributeStorageForm = React__default.forwardRef(function DistributeStora
9492
9551
  distributeStorage: validators.distributeStorage(v)
9493
9552
  });
9494
9553
  },
9495
- onBlur: () => {
9496
- },
9497
- onFocus: () => {
9498
- }
9554
+ onBlur: () => void 0,
9555
+ onFocus: () => void 0
9499
9556
  },
9500
9557
  min: 1,
9501
9558
  meta: {},
@@ -11517,7 +11574,7 @@ const EventsTable = ({ uid }) => {
11517
11574
  width: 120,
11518
11575
  render(value2) {
11519
11576
  const colorMap = {
11520
- "Warning": "red",
11577
+ "Warning": "warning",
11521
11578
  "Normal": "green"
11522
11579
  };
11523
11580
  return /* @__PURE__ */ jsxRuntimeExports.jsx(StatusCapsule, { color: colorMap[value2], className: cx_default(StateTagStyle, "no-background"), children: i18n2.t(`dovetail.${value2.toLowerCase()}`) });
@@ -18566,7 +18623,6 @@ const PodLog = ({
18566
18623
  const [currentItemCount, setCurrentItemCount] = useState(0);
18567
18624
  const [paused, setPaused] = useState(false);
18568
18625
  const [wrap, setWrap] = useState(false);
18569
- const [linesBehind, setLinesBehind] = useState(0);
18570
18626
  const logViewerRef = useRef(null);
18571
18627
  const abortControllerRef = useRef(null);
18572
18628
  const dataProvider2 = useDataProvider();
@@ -18580,10 +18636,6 @@ const PodLog = ({
18580
18636
  if (logViewerRef && logViewerRef.current) {
18581
18637
  logViewerRef.current.scrollToBottom();
18582
18638
  }
18583
- } else if (logs.length !== currentItemCount) {
18584
- setLinesBehind(logs.length - currentItemCount);
18585
- } else {
18586
- setLinesBehind(0);
18587
18639
  }
18588
18640
  }, [paused, logs, currentItemCount]);
18589
18641
  const onScroll = (params) => {
@@ -18702,7 +18754,6 @@ const PodLog = ({
18702
18754
  setSelectedContainer(newValue);
18703
18755
  setLogs([]);
18704
18756
  setPaused(false);
18705
- setLinesBehind(0);
18706
18757
  },
18707
18758
  value: selectedContainer
18708
18759
  },
@@ -35478,7 +35529,6 @@ function ListPage(props) {
35478
35529
  tableProps,
35479
35530
  contentClassName
35480
35531
  } = props;
35481
- useTranslation();
35482
35532
  const {
35483
35533
  resource
35484
35534
  } = useResource();
@@ -37958,7 +38008,7 @@ const Separator = () => {
37958
38008
  });
37959
38009
  };
37960
38010
  const MonacoYamlEditor = React__default.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
37961
- const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-42ab72d2.js"));
38011
+ const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-ae1a891e.js"));
37962
38012
  const YamlEditorComponent = forwardRef(
37963
38013
  function YamlEditorComponent2(props, ref) {
37964
38014
  const {
@@ -39017,83 +39067,270 @@ function CronJobDropdown(props) {
39017
39067
  }
39018
39068
  ) : null });
39019
39069
  }
39070
+ function validateLabelKey(key2) {
39071
+ const labelPrefixRegex = /(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9\.]*[a-zA-Z0-9]$)/;
39072
+ const labelNameRegex = /(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9\.\-]*[a-zA-Z0-9]$)/;
39073
+ let prefix, name2;
39074
+ const splitResult = key2.split("/");
39075
+ if (splitResult.length === 1) {
39076
+ name2 = splitResult[0];
39077
+ } else {
39078
+ prefix = splitResult[0];
39079
+ name2 = splitResult[1];
39080
+ }
39081
+ if (prefix === "") {
39082
+ return { isValid: false, errorMessage: "EMPTY_PREFIX" };
39083
+ }
39084
+ if (prefix && !labelPrefixRegex.test(prefix)) {
39085
+ return { isValid: false, errorMessage: "INVALID_PREFIX" };
39086
+ }
39087
+ if (!labelNameRegex.test(name2)) {
39088
+ return { isValid: false, errorMessage: "INVALID_NAME" };
39089
+ }
39090
+ if (prefix && prefix.length > 253) {
39091
+ return { isValid: false, errorMessage: "MAX_253" };
39092
+ }
39093
+ if (name2 && name2.length > 63) {
39094
+ return { isValid: false, errorMessage: "MAX_63" };
39095
+ }
39096
+ return { isValid: true };
39097
+ }
39098
+ function validateLabelValue(value2) {
39099
+ const labelValueRegex = /(^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][a-zA-Z0-9\.\-]*[a-zA-Z0-9]$)/;
39100
+ if (value2 === "") {
39101
+ return { isValid: true };
39102
+ }
39103
+ if (value2.length > 63) {
39104
+ return { isValid: false, errorMessage: "MAX_63" };
39105
+ }
39106
+ if (!labelValueRegex.test(value2)) {
39107
+ return { isValid: false, errorMessage: "INVALID_VALUE" };
39108
+ }
39109
+ return { isValid: true };
39110
+ }
39111
+ const LabelFormatPopover_105yfzn = "";
39112
+ const PodLabelFormatRulePopoverStyle = "p5jt6nm";
39113
+ const LabelFormatPopover = () => {
39114
+ const {
39115
+ t: t2
39116
+ } = useTranslation();
39117
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Popover, {
39118
+ overlayClassName: PodLabelFormatRulePopoverStyle,
39119
+ placement: "bottomRight",
39120
+ content: /* @__PURE__ */ jsxRuntimeExports.jsx(AntdTable, {
39121
+ bordered: true,
39122
+ dataSource: [{
39123
+ object: t2("dovetail.key"),
39124
+ contains: t2("dovetail.suffix"),
39125
+ optional: t2("dovetail.no"),
39126
+ rule: [t2("dovetail.suffix_format_rule_1"), t2("dovetail.suffix_format_rule_2"), t2("dovetail.suffix_format_rule_3")]
39127
+ }, {
39128
+ object: t2("dovetail.key"),
39129
+ contains: t2("dovetail.name"),
39130
+ optional: t2("dovetail.yes"),
39131
+ rule: [t2("dovetail.name_format_rule_1"), t2("dovetail.name_format_rule_2"), t2("dovetail.name_format_rule_3")]
39132
+ }, {
39133
+ object: t2("dovetail.value"),
39134
+ contains: t2("dovetail.name"),
39135
+ optional: t2("dovetail.no"),
39136
+ rule: [t2("dovetail.name_format_rule_1"), t2("dovetail.name_format_rule_2"), t2("dovetail.name_format_rule_3")]
39137
+ }],
39138
+ columns: [{
39139
+ key: "object",
39140
+ title: t2("dovetail.object"),
39141
+ dataIndex: "object",
39142
+ render: (cell, record, index2) => {
39143
+ return {
39144
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
39145
+ className: Typo.Label.l4_bold,
39146
+ children: cell
39147
+ }),
39148
+ props: {
39149
+ rowSpan: index2 === 0 ? 2 : index2 === 1 ? 0 : 1
39150
+ }
39151
+ };
39152
+ }
39153
+ }, {
39154
+ key: "contains",
39155
+ title: t2("dovetail.contains"),
39156
+ dataIndex: "contains"
39157
+ }, {
39158
+ key: "optional",
39159
+ title: t2("dovetail.optional"),
39160
+ dataIndex: "optional"
39161
+ }, {
39162
+ key: "rule",
39163
+ title: t2("dovetail.format_requirements"),
39164
+ dataIndex: "rule",
39165
+ render: (cell) => {
39166
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("ul", {
39167
+ className: "rule-list",
39168
+ children: cell.map((rule2, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx("li", {
39169
+ children: rule2
39170
+ }, index2))
39171
+ });
39172
+ }
39173
+ }],
39174
+ pagination: false
39175
+ }),
39176
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, {
39177
+ size: "small",
39178
+ type: "link",
39179
+ children: t2("dovetail.look_format_requirement")
39180
+ })
39181
+ });
39182
+ };
39183
+ const KeyValueTableForm_1eydq7y = "";
39184
+ function _KeyValueTableFormForm(props, ref) {
39185
+ const {
39186
+ defaultValue,
39187
+ onSubmit,
39188
+ extraColumns,
39189
+ addButtonText
39190
+ } = props;
39191
+ const {
39192
+ t: t2
39193
+ } = useTranslation();
39194
+ const [value2, setValue] = useState([]);
39195
+ const tableFormRef = useRef(null);
39196
+ useImperativeHandle(ref, () => ({
39197
+ submit: () => {
39198
+ return new Promise((res, rej) => {
39199
+ var _a;
39200
+ (_a = tableFormRef.current) == null ? void 0 : _a.validateWholeFields();
39201
+ setTimeout(() => {
39202
+ var _a2;
39203
+ const isValid = (_a2 = tableFormRef.current) == null ? void 0 : _a2.isValid();
39204
+ if (isValid) {
39205
+ res(onSubmit(value2));
39206
+ } else {
39207
+ rej();
39208
+ }
39209
+ }, 0);
39210
+ });
39211
+ }
39212
+ }), [onSubmit, value2]);
39213
+ const renderTextAreaFunc = ({
39214
+ value: value22,
39215
+ onChange
39216
+ }) => {
39217
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(TextArea, {
39218
+ autoSize: true,
39219
+ className: "clsjtk2",
39220
+ size: "small",
39221
+ value: value22,
39222
+ onChange: (e2) => {
39223
+ onChange(e2.target.value);
39224
+ }
39225
+ });
39226
+ };
39227
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, {
39228
+ size: 8,
39229
+ direction: "vertical",
39230
+ className: "cq3mbby",
39231
+ children: [/* @__PURE__ */ jsxRuntimeExports.jsx(TableForm, {
39232
+ ref: tableFormRef,
39233
+ onBodyChange: (value22) => {
39234
+ setValue(value22);
39235
+ },
39236
+ columns: [{
39237
+ key: "key",
39238
+ title: t2("dovetail.key"),
39239
+ type: "input",
39240
+ validator: ({
39241
+ value: value22
39242
+ }) => {
39243
+ if (!value22)
39244
+ return t2("dovetail.key_empty_text");
39245
+ const {
39246
+ isValid
39247
+ } = validateLabelKey(value22 || "");
39248
+ if (!isValid)
39249
+ return t2("dovetail.format_error");
39250
+ },
39251
+ render: renderTextAreaFunc
39252
+ }, {
39253
+ key: "value",
39254
+ title: t2("dovetail.value_optional"),
39255
+ type: "input",
39256
+ validator: ({
39257
+ value: value22
39258
+ }) => {
39259
+ const {
39260
+ isValid
39261
+ } = validateLabelValue(value22 || "");
39262
+ if (!isValid)
39263
+ return t2("dovetail.format_error");
39264
+ },
39265
+ render: renderTextAreaFunc
39266
+ }, ...extraColumns || []],
39267
+ disableBatchFilling: true,
39268
+ hideEmptyTable: true,
39269
+ rowAddConfig: {
39270
+ addible: true,
39271
+ text: () => addButtonText
39272
+ },
39273
+ defaultData: defaultValue,
39274
+ row: {
39275
+ deletable: true
39276
+ }
39277
+ }), /* @__PURE__ */ jsxRuntimeExports.jsx(LabelFormatPopover, {})]
39278
+ });
39279
+ }
39280
+ const KeyValueTableFormForm = React__default.forwardRef(_KeyValueTableFormForm);
39020
39281
  const EditLabelForm = React__default.forwardRef(
39021
39282
  function EditLabelForm2(props, ref) {
39022
39283
  var _a;
39023
39284
  const { resourceModel } = props;
39024
39285
  const { mutateAsync } = useUpdate();
39025
39286
  const { t: t2 } = useTranslation();
39026
- const [value2, setValue] = useState([]);
39027
39287
  const defaultValue = useMemo(() => {
39028
39288
  var _a2;
39029
39289
  return Object.keys(((_a2 = resourceModel.metadata) == null ? void 0 : _a2.labels) || {}).map((key2) => {
39030
39290
  var _a3, _b;
39031
- return { key: key2, value: (_b = (_a3 = resourceModel.metadata) == null ? void 0 : _a3.labels) == null ? void 0 : _b[key2] };
39291
+ return { key: key2, value: ((_b = (_a3 = resourceModel.metadata) == null ? void 0 : _a3.labels) == null ? void 0 : _b[key2]) || "" };
39032
39292
  });
39033
39293
  }, [(_a = resourceModel.metadata) == null ? void 0 : _a.labels]);
39034
- const submit = useCallback(() => {
39035
- const newLabels = {};
39036
- value2.forEach(({ key: key2, value: value22 }) => {
39037
- newLabels[key2] = value22;
39038
- });
39039
- const newYaml = resourceModel.updateLabel(newLabels);
39040
- pruneBeforeEdit(newYaml);
39041
- return mutateAsync({
39042
- id: resourceModel.id,
39043
- resource: resourceModel.name || "",
39044
- values: newYaml,
39045
- meta: {
39046
- resourceBasePath: resourceModel.apiVersion,
39047
- kind: resourceModel.kind
39048
- },
39049
- successNotification() {
39050
- return {
39051
- message: t2("dovetail.edit_label_success_toast", {
39052
- kind: resourceModel.kind,
39053
- name: resourceModel.metadata.name,
39054
- interpolation: {
39055
- escapeValue: false
39056
- }
39057
- }),
39058
- type: "success"
39059
- };
39060
- },
39061
- errorNotification: false
39062
- });
39063
- }, [value2, resourceModel, mutateAsync, t2]);
39064
- useImperativeHandle(
39065
- ref,
39066
- () => ({
39067
- submit
39068
- }),
39069
- [submit]
39294
+ const onSubmit = useCallback(
39295
+ (value2) => {
39296
+ const newLabels = {};
39297
+ value2.forEach(({ key: key2, value: value22 }) => {
39298
+ newLabels[key2] = value22 || "";
39299
+ });
39300
+ const newYaml = resourceModel.updateLabel(newLabels);
39301
+ pruneBeforeEdit(newYaml);
39302
+ return mutateAsync({
39303
+ id: resourceModel.id,
39304
+ resource: resourceModel.name || "",
39305
+ values: newYaml,
39306
+ meta: {
39307
+ resourceBasePath: resourceModel.apiVersion,
39308
+ kind: resourceModel.kind
39309
+ },
39310
+ successNotification() {
39311
+ return {
39312
+ message: t2("dovetail.edit_label_success_toast", {
39313
+ kind: resourceModel.kind,
39314
+ name: resourceModel.metadata.name,
39315
+ interpolation: {
39316
+ escapeValue: false
39317
+ }
39318
+ }),
39319
+ type: "success"
39320
+ };
39321
+ },
39322
+ errorNotification: false
39323
+ });
39324
+ },
39325
+ [resourceModel, mutateAsync, t2]
39070
39326
  );
39071
39327
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
39072
- TableForm,
39328
+ KeyValueTableFormForm,
39073
39329
  {
39074
- onBodyChange: (value22) => {
39075
- setValue(value22);
39076
- },
39077
- columns: [
39078
- {
39079
- key: "key",
39080
- title: t2("dovetail.key"),
39081
- type: "input"
39082
- },
39083
- {
39084
- key: "value",
39085
- title: t2("dovetail.value"),
39086
- type: "input"
39087
- }
39088
- ],
39089
- disableBatchFilling: true,
39090
- rowAddConfig: {
39091
- addible: true
39092
- },
39093
- defaultData: defaultValue,
39094
- row: {
39095
- deletable: true
39096
- }
39330
+ ref,
39331
+ defaultValue,
39332
+ onSubmit,
39333
+ addButtonText: t2("dovetail.add_label")
39097
39334
  }
39098
39335
  );
39099
39336
  }
@@ -39130,24 +39367,23 @@ function EditLabelDropdownMenuItem(props) {
39130
39367
  }
39131
39368
  );
39132
39369
  }
39133
- const EditAnnotationForm = React__default.forwardRef(
39134
- function EditAnnotationForm2(props, ref) {
39135
- var _a;
39136
- const { resourceModel } = props;
39137
- const { mutateAsync } = useUpdate();
39138
- const { t: t2 } = useTranslation();
39139
- const [value2, setValue] = useState([]);
39140
- const defaultValue = useMemo(() => {
39141
- var _a2;
39142
- return Object.keys(((_a2 = resourceModel.metadata) == null ? void 0 : _a2.annotations) || {}).map((key2) => {
39143
- var _a3, _b;
39144
- return { key: key2, value: (_b = (_a3 = resourceModel.metadata) == null ? void 0 : _a3.annotations) == null ? void 0 : _b[key2] };
39145
- });
39146
- }, [(_a = resourceModel.metadata) == null ? void 0 : _a.annotations]);
39147
- const submit = useCallback(() => {
39370
+ const EditAnnotationForm = React__default.forwardRef(function EditAnnotationForm2(props, ref) {
39371
+ var _a;
39372
+ const { resourceModel } = props;
39373
+ const { mutateAsync } = useUpdate();
39374
+ const { t: t2 } = useTranslation();
39375
+ const defaultValue = useMemo(() => {
39376
+ var _a2;
39377
+ return Object.keys(((_a2 = resourceModel.metadata) == null ? void 0 : _a2.annotations) || {}).map((key2) => {
39378
+ var _a3, _b;
39379
+ return { key: key2, value: ((_b = (_a3 = resourceModel.metadata) == null ? void 0 : _a3.annotations) == null ? void 0 : _b[key2]) || "" };
39380
+ });
39381
+ }, [(_a = resourceModel.metadata) == null ? void 0 : _a.annotations]);
39382
+ const onSubmit = useCallback(
39383
+ (value2) => {
39148
39384
  const newAnnotations = {};
39149
39385
  value2.forEach(({ key: key2, value: value22 }) => {
39150
- newAnnotations[key2] = value22;
39386
+ newAnnotations[key2] = value22 || "";
39151
39387
  });
39152
39388
  const newYaml = resourceModel.updateAnnotation(newAnnotations);
39153
39389
  pruneBeforeEdit(newYaml);
@@ -39173,44 +39409,19 @@ const EditAnnotationForm = React__default.forwardRef(
39173
39409
  },
39174
39410
  errorNotification: false
39175
39411
  });
39176
- }, [value2, resourceModel, mutateAsync, t2]);
39177
- useImperativeHandle(
39412
+ },
39413
+ [resourceModel, mutateAsync, t2]
39414
+ );
39415
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
39416
+ KeyValueTableFormForm,
39417
+ {
39178
39418
  ref,
39179
- () => ({
39180
- submit
39181
- }),
39182
- [submit]
39183
- );
39184
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
39185
- TableForm,
39186
- {
39187
- onBodyChange: (value22) => {
39188
- setValue(value22);
39189
- },
39190
- columns: [
39191
- {
39192
- key: "key",
39193
- title: t2("dovetail.key"),
39194
- type: "input"
39195
- },
39196
- {
39197
- key: "value",
39198
- title: t2("dovetail.value"),
39199
- type: "input"
39200
- }
39201
- ],
39202
- disableBatchFilling: true,
39203
- rowAddConfig: {
39204
- addible: true
39205
- },
39206
- defaultData: defaultValue,
39207
- row: {
39208
- deletable: true
39209
- }
39210
- }
39211
- );
39212
- }
39213
- );
39419
+ defaultValue,
39420
+ onSubmit,
39421
+ addButtonText: t2("dovetail.add_annotation")
39422
+ }
39423
+ );
39424
+ });
39214
39425
  function EditAnnotationDropdownMenuItem(props) {
39215
39426
  const { formRef, resourceModel } = props;
39216
39427
  const { t: t2 } = useTranslation();
@@ -39243,6 +39454,179 @@ function EditAnnotationDropdownMenuItem(props) {
39243
39454
  }
39244
39455
  );
39245
39456
  }
39457
+ const EditNodeTaintForm_cgov7z = "";
39458
+ const UlStyle = "u19jcs7t";
39459
+ const EditNodeTaintForm = React__default.forwardRef(function EditNodeTaintForm2(props, ref) {
39460
+ const {
39461
+ nodeModel
39462
+ } = props;
39463
+ const {
39464
+ mutateAsync
39465
+ } = useUpdate();
39466
+ const {
39467
+ t: t2
39468
+ } = useTranslation();
39469
+ const defaultValue = useMemo(() => {
39470
+ var _a;
39471
+ return ((_a = nodeModel._rawYaml.spec) == null ? void 0 : _a.taints) || [];
39472
+ }, [nodeModel]);
39473
+ const onSubmit = useCallback((_value) => {
39474
+ const value2 = _value;
39475
+ const newYaml = nodeModel._globalStore.restoreItem(nodeModel);
39476
+ if (newYaml.spec) {
39477
+ newYaml.spec.taints = value2;
39478
+ }
39479
+ pruneBeforeEdit(newYaml);
39480
+ return mutateAsync({
39481
+ id: nodeModel.id,
39482
+ resource: nodeModel.name || "",
39483
+ values: newYaml,
39484
+ meta: {
39485
+ resourceBasePath: nodeModel.apiVersion,
39486
+ kind: nodeModel.kind
39487
+ },
39488
+ successNotification() {
39489
+ return {
39490
+ message: t2("dovetail.edit_node_taint_success_toast", {
39491
+ kind: nodeModel.kind,
39492
+ name: nodeModel.metadata.name,
39493
+ interpolation: {
39494
+ escapeValue: false
39495
+ }
39496
+ }),
39497
+ type: "success"
39498
+ };
39499
+ },
39500
+ errorNotification: false
39501
+ });
39502
+ }, [nodeModel, mutateAsync, t2]);
39503
+ const noScheduleTooltip = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
39504
+ children: [/* @__PURE__ */ jsxRuntimeExports.jsx("b", {
39505
+ children: "NoSchedule"
39506
+ }), /* @__PURE__ */ jsxRuntimeExports.jsxs("ul", {
39507
+ className: UlStyle,
39508
+ children: [/* @__PURE__ */ jsxRuntimeExports.jsx("li", {
39509
+ children: t2("dovetail.taint_effect_NoSchedule_tooltip_1")
39510
+ }), /* @__PURE__ */ jsxRuntimeExports.jsx("li", {
39511
+ children: t2("dovetail.taint_effect_NoSchedule_tooltip_2")
39512
+ })]
39513
+ })]
39514
+ });
39515
+ const preferNoScheduleTooltip = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
39516
+ children: [/* @__PURE__ */ jsxRuntimeExports.jsx("b", {
39517
+ children: "PreferNoSchedule"
39518
+ }), /* @__PURE__ */ jsxRuntimeExports.jsxs("ul", {
39519
+ className: UlStyle,
39520
+ children: [/* @__PURE__ */ jsxRuntimeExports.jsx("li", {
39521
+ children: t2("dovetail.taint_effect_PreferNoSchedule_tooltip_1")
39522
+ }), /* @__PURE__ */ jsxRuntimeExports.jsx("li", {
39523
+ children: t2("dovetail.taint_effect_PreferNoSchedule_tooltip_2")
39524
+ }), /* @__PURE__ */ jsxRuntimeExports.jsx("li", {
39525
+ children: t2("dovetail.taint_effect_PreferNoSchedule_tooltip_3")
39526
+ })]
39527
+ })]
39528
+ });
39529
+ const noExecuteTooltip = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
39530
+ children: [/* @__PURE__ */ jsxRuntimeExports.jsx("b", {
39531
+ children: "NoExecute"
39532
+ }), /* @__PURE__ */ jsxRuntimeExports.jsx("ul", {
39533
+ className: UlStyle,
39534
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx("li", {
39535
+ children: t2("dovetail.taint_effect_NoExecute_tooltip_3")
39536
+ })
39537
+ })]
39538
+ });
39539
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(KeyValueTableFormForm, {
39540
+ ref,
39541
+ defaultValue,
39542
+ onSubmit,
39543
+ addButtonText: t2("dovetail.add_taint"),
39544
+ extraColumns: [{
39545
+ key: "effect",
39546
+ title: t2("dovetail.effect"),
39547
+ render: ({
39548
+ value: value2,
39549
+ onChange
39550
+ }) => {
39551
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Select, {
39552
+ input: {},
39553
+ value: value2,
39554
+ onChange,
39555
+ size: "small",
39556
+ children: getOptions([{
39557
+ value: "NoSchedule",
39558
+ children: t2(`dovetail.node_taint_${"NoSchedule"}`),
39559
+ suffix: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, {
39560
+ title: noScheduleTooltip,
39561
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, {
39562
+ src: InfoICircleFill16GrayIcon,
39563
+ hoverSrc: InfoICircleFill16Gray70Icon
39564
+ })
39565
+ })
39566
+ }, {
39567
+ value: "PreferNoSchedule",
39568
+ children: t2(`dovetail.node_taint_${"PreferNoSchedule"}`),
39569
+ suffix: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, {
39570
+ title: preferNoScheduleTooltip,
39571
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, {
39572
+ src: InfoICircleFill16GrayIcon,
39573
+ hoverSrc: InfoICircleFill16Gray70Icon
39574
+ })
39575
+ })
39576
+ }, {
39577
+ value: "NoExecute",
39578
+ children: t2(`dovetail.node_taint_${"NoExecute"}`),
39579
+ suffix: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, {
39580
+ title: noExecuteTooltip,
39581
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, {
39582
+ src: InfoICircleFill16GrayIcon,
39583
+ hoverSrc: InfoICircleFill16Gray70Icon
39584
+ })
39585
+ })
39586
+ }])
39587
+ });
39588
+ },
39589
+ validator: ({
39590
+ value: value2
39591
+ }) => {
39592
+ if (!value2)
39593
+ return t2("dovetail.taint_effect_empty_text");
39594
+ }
39595
+ }]
39596
+ });
39597
+ });
39598
+ function EditNodeTaintDropdownMenuItem(props) {
39599
+ const { formRef, resourceModel } = props;
39600
+ const { t: t2 } = useTranslation();
39601
+ const pushModal = usePushModal();
39602
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
39603
+ Menu$1.Item,
39604
+ {
39605
+ className: "ant-dropdown-menu-item",
39606
+ onClick: () => {
39607
+ const modalProps = {
39608
+ formRef,
39609
+ title: t2("dovetail.edit_node_taint"),
39610
+ fullscreen: true,
39611
+ renderContent() {
39612
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
39613
+ EditNodeTaintForm,
39614
+ {
39615
+ ref: formRef,
39616
+ nodeModel: resourceModel
39617
+ }
39618
+ );
39619
+ }
39620
+ };
39621
+ pushModal({
39622
+ component: EditFieldModal,
39623
+ props: modalProps
39624
+ });
39625
+ },
39626
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, { src: EditPen16BlueIcon, children: t2("dovetail.edit_node_taint") })
39627
+ }
39628
+ );
39629
+ }
39246
39630
  const index_sazpyf = "";
39247
39631
  const WrapperStyle = "wfg6u6g";
39248
39632
  const InnerBar = ({
@@ -40482,7 +40866,7 @@ export {
40482
40866
  useGlobalStore as Z,
40483
40867
  useOpenForm as _,
40484
40868
  useApiGroupSchema as a,
40485
- PortsTableField as a$,
40869
+ PodSelectorField as a$,
40486
40870
  WidgetErrorContent as a0,
40487
40871
  Breadcrumb as a1,
40488
40872
  NameInputWidget as a2,
@@ -40493,33 +40877,33 @@ export {
40493
40877
  namespaceRules as a7,
40494
40878
  KeyValueListWidget as a8,
40495
40879
  MetadataForm as a9,
40496
- Separator as aA,
40497
- YamlEditorComponent as aB,
40498
- DeleteButton as aC,
40499
- Layout as aD,
40500
- AreaType as aE,
40501
- ImageField as aF,
40502
- ReplicaField as aG,
40503
- ConditionsField as aH,
40504
- NodeTaintsField as aI,
40505
- PodsField as aJ,
40506
- JobsField as aK,
40507
- DataField as aL,
40508
- SecretDataField as aM,
40509
- StartTimeField as aN,
40510
- ServiceTypeField as aO,
40511
- ClusterIpField as aP,
40512
- SessionAffinityField as aQ,
40513
- ServicePodsField as aR,
40514
- IngressRulesTableTabField as aS,
40515
- EventsTableTabField as aT,
40516
- NamespaceField as aU,
40517
- AgeField as aV,
40518
- LabelsField as aW,
40519
- AnnotationsField as aX,
40520
- ServiceInnerClusterAccessField as aY,
40521
- ServiceOutClusterAccessField as aZ,
40522
- PodSelectorField as a_,
40880
+ KeyValueSecret as aA,
40881
+ Separator as aB,
40882
+ YamlEditorComponent as aC,
40883
+ DeleteButton as aD,
40884
+ Layout as aE,
40885
+ AreaType as aF,
40886
+ ImageField as aG,
40887
+ ReplicaField as aH,
40888
+ ConditionsField as aI,
40889
+ NodeTaintsField as aJ,
40890
+ PodsField as aK,
40891
+ JobsField as aL,
40892
+ DataField as aM,
40893
+ SecretDataField as aN,
40894
+ StartTimeField as aO,
40895
+ ServiceTypeField as aP,
40896
+ ClusterIpField as aQ,
40897
+ SessionAffinityField as aR,
40898
+ ServicePodsField as aS,
40899
+ IngressRulesTableTabField as aT,
40900
+ EventsTableTabField as aU,
40901
+ NamespaceField as aV,
40902
+ AgeField as aW,
40903
+ LabelsField as aX,
40904
+ AnnotationsField as aY,
40905
+ ServiceInnerClusterAccessField as aZ,
40906
+ ServiceOutClusterAccessField as a_,
40523
40907
  PageShow as aa,
40524
40908
  Time as ab,
40525
40909
  ConditionsTable as ac,
@@ -40539,152 +40923,155 @@ export {
40539
40923
  K8sDropdown as aq,
40540
40924
  EditLabelDropdownMenuItem as ar,
40541
40925
  EditAnnotationDropdownMenuItem as as,
40542
- ResourceUsageBar as at,
40543
- WorkloadReplicasForm as au,
40544
- WorkloadReplicas as av,
40545
- CronjobJobsTable as aw,
40546
- KeyValue as ax,
40547
- KeyValueAnnotation as ay,
40548
- KeyValueSecret as az,
40926
+ EditNodeTaintDropdownMenuItem as at,
40927
+ ResourceUsageBar as au,
40928
+ WorkloadReplicasForm as av,
40929
+ WorkloadReplicas as aw,
40930
+ CronjobJobsTable as ax,
40931
+ KeyValue as ay,
40932
+ KeyValueAnnotation as az,
40549
40933
  useSchema as b,
40550
- PVVolumeModeDisplay as b$,
40551
- DurationField as b0,
40552
- StorageClassProvisionerField as b1,
40553
- StorageClassPvField as b2,
40554
- PVCapacityField as b3,
40555
- PVCStorageField as b4,
40556
- PVRefField as b5,
40557
- PVStorageClassField as b6,
40558
- PVPhaseField as b7,
40559
- PVVolumeModeField as b8,
40560
- PVAccessModeField as b9,
40561
- ShowGroupComponent as bA,
40562
- ShowContent as bB,
40563
- DeleteManyButton as bC,
40564
- ListPage as bD,
40565
- StateTag as bE,
40566
- DrawerShow as bF,
40567
- Menu as bG,
40568
- Table as bH,
40569
- EditButton as bI,
40570
- ReferenceLink as bJ,
40571
- ResourceLink as bK,
40572
- NS_STORE_KEY as bL,
40573
- ALL_NS as bM,
40574
- useNamespacesFilter as bN,
40575
- NamespacesFilter as bO,
40576
- FormModal as bP,
40577
- RefineFormContent as bQ,
40578
- RefineFormPage as bR,
40579
- SchemaStrategy as bS,
40580
- YamlForm as bT,
40581
- useRefineForm as bU,
40582
- ServiceInClusterAccessComponent as bV,
40583
- ServiceOutClusterAccessComponent as bW,
40584
- Tags as bX,
40585
- TextTags as bY,
40586
- PodLog as bZ,
40587
- NetworkPolicyRulesViewer as b_,
40588
- PVCPodsField as ba,
40589
- PVCRefField as bb,
40590
- PVCSIRefField as bc,
40591
- IsDefaultSCField as bd,
40592
- SCReclaimPolicyField as be,
40593
- IsSCAllowVolumeExpansionField as bf,
40594
- ResourceTableField as bg,
40595
- EventsTab as bh,
40596
- PodLogTab as bi,
40597
- BasicGroup as bj,
40598
- PodsGroup as bk,
40599
- PodContainersGroup as bl,
40600
- ServicePodsGroup as bm,
40601
- PVCPodsGroup as bn,
40602
- ConditionsGroup as bo,
40603
- NodeTaintsGroup as bp,
40604
- SecretDataGroup as bq,
40605
- JobsGroup as br,
40606
- IngressRulesGroup as bs,
40607
- PodSelectorGroup as bt,
40608
- PortsGroup as bu,
40609
- DataGroup as bv,
40610
- NetworkPolicyIngressRulesGroup as bw,
40611
- NetworkPolicyEgressRulesGroup as bx,
40612
- StorageClassPvGroup as by,
40613
- ResourceTableGroup as bz,
40934
+ NetworkPolicyRulesViewer as b$,
40935
+ PortsTableField as b0,
40936
+ DurationField as b1,
40937
+ StorageClassProvisionerField as b2,
40938
+ StorageClassPvField as b3,
40939
+ PVCapacityField as b4,
40940
+ PVCStorageField as b5,
40941
+ PVRefField as b6,
40942
+ PVStorageClassField as b7,
40943
+ PVPhaseField as b8,
40944
+ PVVolumeModeField as b9,
40945
+ ResourceTableGroup as bA,
40946
+ ShowGroupComponent as bB,
40947
+ ShowContent as bC,
40948
+ DeleteManyButton as bD,
40949
+ ListPage as bE,
40950
+ StateTag as bF,
40951
+ DrawerShow as bG,
40952
+ Menu as bH,
40953
+ Table as bI,
40954
+ EditButton as bJ,
40955
+ ReferenceLink as bK,
40956
+ ResourceLink as bL,
40957
+ NS_STORE_KEY as bM,
40958
+ ALL_NS as bN,
40959
+ useNamespacesFilter as bO,
40960
+ NamespacesFilter as bP,
40961
+ FormModal as bQ,
40962
+ RefineFormContent as bR,
40963
+ RefineFormPage as bS,
40964
+ SchemaStrategy as bT,
40965
+ YamlForm as bU,
40966
+ useRefineForm as bV,
40967
+ ServiceInClusterAccessComponent as bW,
40968
+ ServiceOutClusterAccessComponent as bX,
40969
+ Tags as bY,
40970
+ TextTags as bZ,
40971
+ PodLog as b_,
40972
+ PVAccessModeField as ba,
40973
+ PVCPodsField as bb,
40974
+ PVCRefField as bc,
40975
+ PVCSIRefField as bd,
40976
+ IsDefaultSCField as be,
40977
+ SCReclaimPolicyField as bf,
40978
+ IsSCAllowVolumeExpansionField as bg,
40979
+ ResourceTableField as bh,
40980
+ EventsTab as bi,
40981
+ PodLogTab as bj,
40982
+ BasicGroup as bk,
40983
+ PodsGroup as bl,
40984
+ PodContainersGroup as bm,
40985
+ ServicePodsGroup as bn,
40986
+ PVCPodsGroup as bo,
40987
+ ConditionsGroup as bp,
40988
+ NodeTaintsGroup as bq,
40989
+ SecretDataGroup as br,
40990
+ JobsGroup as bs,
40991
+ IngressRulesGroup as bt,
40992
+ PodSelectorGroup as bu,
40993
+ PortsGroup as bv,
40994
+ DataGroup as bw,
40995
+ NetworkPolicyIngressRulesGroup as bx,
40996
+ NetworkPolicyEgressRulesGroup as by,
40997
+ StorageClassPvGroup as bz,
40614
40998
  useDeleteModal as c,
40615
- PersistentVolumeClaimModel as c$,
40616
- Tabs as c0,
40617
- ResourceSelect as c1,
40618
- SocketStatus as c2,
40619
- Shell as c3,
40620
- PodShellModal as c4,
40621
- PodShell as c5,
40622
- ResourceTable as c6,
40623
- ErrorWrapper as c7,
40624
- ErrorContentType as c8,
40625
- BASE_INIT_VALUE as c9,
40626
- ResourceState as cA,
40627
- AccessControlAuth as cB,
40628
- Dovetail as cC,
40629
- RESOURCE_GROUP as cD,
40630
- FormType as cE,
40631
- ComponentContext as cF,
40632
- GlobalStoreContext as cG,
40633
- ConfigsContext as cH,
40634
- IngressModel as cI,
40635
- NetworkPolicyModel as cJ,
40636
- JobModel as cK,
40637
- WorkloadModel as cL,
40638
- WorkloadBaseModel as cM,
40639
- PodModel as cN,
40640
- PodMetricsModel as cO,
40641
- ResourceModel as cP,
40642
- CronJobModel as cQ,
40643
- EventModel as cR,
40644
- DeploymentModel as cS,
40645
- DaemonSetModel as cT,
40646
- StatefulSetModel as cU,
40647
- ServiceTypeEnum as cV,
40648
- ServiceModel as cW,
40649
- NodeRole as cX,
40650
- NodeModel as cY,
40651
- StorageClassModel as cZ,
40652
- PersistentVolumeModel as c_,
40653
- DEPLOYMENT_INIT_VALUE as ca,
40654
- CRONJOB_INIT_VALUE as cb,
40655
- DAEMONSET_INIT_VALUE as cc,
40656
- JOB_INIT_VALUE as cd,
40657
- STATEFULSET_INIT_VALUE as ce,
40658
- POD_INIT_VALUE as cf,
40659
- SERVICE_CLUSTER_IP_INIT_VALUE as cg,
40660
- SERVICE_NODE_PORT_INIT_VALUE as ch,
40661
- SERVICE_LOAD_BALANCER_INIT_VALUE as ci,
40662
- SERVICE_EXTERNAL_NAME_INIT_VALUE as cj,
40663
- SERVICE_HEADLESS_INIT_VALUE as ck,
40664
- INGRESS_INIT_VALUE as cl,
40665
- NETWORK_POLICY_INIT_VALUE as cm,
40666
- CONFIG_MAP_INIT_VALUE as cn,
40667
- SERVER_INSTANCE_INIT_VALUE as co,
40668
- REDEPLOY_TIMESTAMP_KEY as cp,
40669
- SECRET_OPAQUE_INIT_VALUE as cq,
40670
- SECRET_IMAGE_REPO_INIT_VALUE as cr,
40671
- SECRET_BASIC_AUTH_INIT_VALUE as cs,
40672
- SECRET_SSH_AUTH_INIT_VALUE as ct,
40673
- SECRET_TLS_INIT_VALUE as cu,
40674
- SECRET_CUSTOM_INIT_VALUE as cv,
40675
- NODE_INIT_VALUE as cw,
40676
- STORAGE_CLASS_INIT_VALUE as cx,
40677
- PV_INIT_VALUE as cy,
40678
- PVC_INIT_VALUE as cz,
40999
+ PersistentVolumeModel as c$,
41000
+ PVVolumeModeDisplay as c0,
41001
+ Tabs as c1,
41002
+ ResourceSelect as c2,
41003
+ SocketStatus as c3,
41004
+ Shell as c4,
41005
+ PodShellModal as c5,
41006
+ PodShell as c6,
41007
+ ResourceTable as c7,
41008
+ ErrorWrapper as c8,
41009
+ ErrorContentType as c9,
41010
+ PVC_INIT_VALUE as cA,
41011
+ ResourceState as cB,
41012
+ AccessControlAuth as cC,
41013
+ Dovetail as cD,
41014
+ RESOURCE_GROUP as cE,
41015
+ FormType as cF,
41016
+ ComponentContext as cG,
41017
+ GlobalStoreContext as cH,
41018
+ ConfigsContext as cI,
41019
+ IngressModel as cJ,
41020
+ NetworkPolicyModel as cK,
41021
+ JobModel as cL,
41022
+ WorkloadModel as cM,
41023
+ WorkloadBaseModel as cN,
41024
+ PodModel as cO,
41025
+ PodMetricsModel as cP,
41026
+ ResourceModel as cQ,
41027
+ CronJobModel as cR,
41028
+ EventModel as cS,
41029
+ DeploymentModel as cT,
41030
+ DaemonSetModel as cU,
41031
+ StatefulSetModel as cV,
41032
+ ServiceTypeEnum as cW,
41033
+ ServiceModel as cX,
41034
+ NodeRole as cY,
41035
+ NodeModel as cZ,
41036
+ StorageClassModel as c_,
41037
+ BASE_INIT_VALUE as ca,
41038
+ DEPLOYMENT_INIT_VALUE as cb,
41039
+ CRONJOB_INIT_VALUE as cc,
41040
+ DAEMONSET_INIT_VALUE as cd,
41041
+ JOB_INIT_VALUE as ce,
41042
+ STATEFULSET_INIT_VALUE as cf,
41043
+ POD_INIT_VALUE as cg,
41044
+ SERVICE_CLUSTER_IP_INIT_VALUE as ch,
41045
+ SERVICE_NODE_PORT_INIT_VALUE as ci,
41046
+ SERVICE_LOAD_BALANCER_INIT_VALUE as cj,
41047
+ SERVICE_EXTERNAL_NAME_INIT_VALUE as ck,
41048
+ SERVICE_HEADLESS_INIT_VALUE as cl,
41049
+ INGRESS_INIT_VALUE as cm,
41050
+ NETWORK_POLICY_INIT_VALUE as cn,
41051
+ CONFIG_MAP_INIT_VALUE as co,
41052
+ SERVER_INSTANCE_INIT_VALUE as cp,
41053
+ REDEPLOY_TIMESTAMP_KEY as cq,
41054
+ SECRET_OPAQUE_INIT_VALUE as cr,
41055
+ SECRET_IMAGE_REPO_INIT_VALUE as cs,
41056
+ SECRET_BASIC_AUTH_INIT_VALUE as ct,
41057
+ SECRET_SSH_AUTH_INIT_VALUE as cu,
41058
+ SECRET_TLS_INIT_VALUE as cv,
41059
+ SECRET_CUSTOM_INIT_VALUE as cw,
41060
+ NODE_INIT_VALUE as cx,
41061
+ STORAGE_CLASS_INIT_VALUE as cy,
41062
+ PV_INIT_VALUE as cz,
40679
41063
  dovetailRefineI18n as d,
40680
- ProviderPlugins as d0,
40681
- ModelPlugin as d1,
40682
- modelPlugin as d2,
40683
- RelationPlugin as d3,
40684
- relationPlugin as d4,
40685
- generateValueFromSchema as d5,
40686
- generateSchemaTypeValue as d6,
40687
- resolveRef as d7,
41064
+ PersistentVolumeClaimModel as d0,
41065
+ ProviderPlugins as d1,
41066
+ ModelPlugin as d2,
41067
+ modelPlugin as d3,
41068
+ RelationPlugin as d4,
41069
+ relationPlugin as d5,
41070
+ generateValueFromSchema as d6,
41071
+ generateSchemaTypeValue as d7,
41072
+ resolveRef as d8,
41073
+ getApiVersion as d9,
41074
+ pruneBeforeEdit as da,
40688
41075
  NameSpaceColumnRenderer as e,
40689
41076
  WorkloadRestartsColumnRenderer as f,
40690
41077
  NodeNameColumnRenderer as g,