@dovetail-v2/refine 0.0.46-alpha.2 → 0.0.46

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 (205) hide show
  1. package/dist/{MonacoYamlDiffEditor-a0787f8d.js → MonacoYamlDiffEditor-68215003.js} +1 -1
  2. package/dist/{index-9a6fb2d3.js → index-238ec29f.js} +359 -280
  3. package/dist/refine.js +176 -175
  4. package/dist/refine.umd.cjs +183 -104
  5. package/lib/src/App.js +91 -0
  6. package/lib/src/Dovetail.js +45 -0
  7. package/lib/src/components/Breadcrumb/index.js +20 -0
  8. package/lib/src/components/ConditionsTable/ConditionsTable.js +56 -0
  9. package/lib/src/components/ConditionsTable/index.js +1 -0
  10. package/lib/src/components/CreateButton/index.js +10 -0
  11. package/lib/src/components/CronJobDropdown/index.js +26 -0
  12. package/lib/src/components/CronjobJobsTable/index.js +49 -0
  13. package/lib/src/components/DeleteButton/index.js +13 -0
  14. package/lib/src/components/DeleteManyButton/index.js +16 -0
  15. package/lib/src/components/DrawerShow/DrawerShow.js +13 -0
  16. package/lib/src/components/DrawerShow/index.js +1 -0
  17. package/lib/src/components/EditButton/index.js +13 -0
  18. package/lib/src/components/EditField/index.js +47 -0
  19. package/lib/src/components/ErrorContent/index.js +36 -0
  20. package/lib/src/components/EventsTable/EventsTable.js +59 -0
  21. package/lib/src/components/EventsTable/index.js +1 -0
  22. package/lib/src/components/Form/KeyValueListWidget.js +56 -0
  23. package/lib/src/components/Form/MetadataForm.js +9 -0
  24. package/lib/src/components/Form/NameInputWidget.js +50 -0
  25. package/lib/src/components/Form/NamespaceSelectWidget.js +21 -0
  26. package/lib/src/components/Form/index.js +4 -0
  27. package/lib/src/components/Form/widget.js +1 -0
  28. package/lib/src/components/FormErrorAlert/index.js +8 -0
  29. package/lib/src/components/FormLayout/index.js +21 -0
  30. package/lib/src/components/FormModal/index.js +51 -0
  31. package/lib/src/components/ImageNames/index.js +14 -0
  32. package/lib/src/components/IngressRulesComponent/index.js +11 -0
  33. package/lib/src/components/IngressRulesTable/IngressRulesTable.js +51 -0
  34. package/lib/src/components/IngressRulesTable/index.js +1 -0
  35. package/lib/src/components/K8sDropdown/index.js +31 -0
  36. package/lib/src/components/KeyValue/KeyValue.js +27 -0
  37. package/lib/src/components/KeyValue/index.js +1 -0
  38. package/lib/src/components/KeyValueData/index.js +50 -0
  39. package/lib/src/components/Layout/index.js +39 -0
  40. package/lib/src/components/ListPage/index.js +25 -0
  41. package/lib/src/components/Menu/index.js +36 -0
  42. package/lib/src/components/NamespacesFilter/index.js +34 -0
  43. package/lib/src/components/NetworkPolicyRulesTable/NetworkPolicyRulesTable.d.ts +1 -2
  44. package/lib/src/components/NetworkPolicyRulesTable/NetworkPolicyRulesTable.js +77 -0
  45. package/lib/src/components/NetworkPolicyRulesTable/index.js +1 -0
  46. package/lib/src/components/PageShow/PageShow.js +11 -0
  47. package/lib/src/components/PageShow/index.js +1 -0
  48. package/lib/src/components/PodContainersTable/PodContainersTable.js +78 -0
  49. package/lib/src/components/PodContainersTable/index.js +1 -0
  50. package/lib/src/components/PodLog/index.js +136 -0
  51. package/lib/src/components/ReferenceLink/index.js +17 -0
  52. package/lib/src/components/RefineForm/RefineFormContent.d.ts +10 -0
  53. package/lib/src/components/RefineForm/RefineFormModal.d.ts +8 -0
  54. package/lib/src/components/RefineForm/RefineFormPage.d.ts +7 -0
  55. package/lib/src/components/RefineForm/index.d.ts +3 -0
  56. package/lib/src/components/RefineForm/type.d.ts +20 -0
  57. package/lib/src/components/RefineForm/useRefineForm.d.ts +10 -0
  58. package/lib/src/components/ResourceCRUD/ResourceCRUD.js +15 -0
  59. package/lib/src/components/ResourceCRUD/create/index.js +13 -0
  60. package/lib/src/components/ResourceCRUD/index.js +4 -0
  61. package/lib/src/components/ResourceCRUD/list/index.js +19 -0
  62. package/lib/src/components/ResourceCRUD/show/index.js +6 -0
  63. package/lib/src/components/ResourceLink/index.js +21 -0
  64. package/lib/src/components/ResourceUsageBar/index.js +81 -0
  65. package/lib/src/components/Separator/index.js +11 -0
  66. package/lib/src/components/ShowContent/ShowContent.d.ts +0 -2
  67. package/lib/src/components/ShowContent/ShowContent.js +157 -0
  68. package/lib/src/components/ShowContent/fields.js +157 -0
  69. package/lib/src/components/ShowContent/index.js +2 -0
  70. package/lib/src/components/StateTag/StateTag.js +22 -0
  71. package/lib/src/components/StateTag/index.js +1 -0
  72. package/lib/src/components/Table/ErrorContent.js +36 -0
  73. package/lib/src/components/Table/TableToolBar.js +14 -0
  74. package/lib/src/components/Table/TableWidgets.js +28 -0
  75. package/lib/src/components/Table/index.js +69 -0
  76. package/lib/src/components/Tags/index.js +22 -0
  77. package/lib/src/components/Time/index.js +14 -0
  78. package/lib/src/components/WorkloadDropdown/index.js +24 -0
  79. package/lib/src/components/WorkloadPodsTable/WorkloadPodsTable.js +39 -0
  80. package/lib/src/components/WorkloadPodsTable/index.js +1 -0
  81. package/lib/src/components/WorkloadReplicas/index.js +50 -0
  82. package/lib/src/components/YamlEditor/MonacoYamlDiffEditor.js +34 -0
  83. package/lib/src/components/YamlEditor/MonacoYamlEditor.js +149 -0
  84. package/lib/src/components/YamlEditor/YamlEditorComponent.js +90 -0
  85. package/lib/src/components/YamlEditor/index.js +1 -0
  86. package/lib/src/components/YamlEditor/style.js +102 -0
  87. package/lib/src/components/YamlEditor/yaml.worker.js +1 -0
  88. package/lib/src/components/YamlForm/index.d.ts +0 -4
  89. package/lib/src/components/YamlForm/index.js +61 -0
  90. package/lib/src/components/index.js +38 -0
  91. package/lib/src/constants/index.js +2 -0
  92. package/lib/src/constants/k8s.js +203 -0
  93. package/lib/src/constants/state.js +15 -0
  94. package/lib/src/contexts/component.js +3 -0
  95. package/lib/src/contexts/configs.js +3 -0
  96. package/lib/src/contexts/global-store.js +3 -0
  97. package/lib/src/contexts/index.js +3 -0
  98. package/lib/src/hooks/index.d.ts +1 -0
  99. package/lib/src/hooks/index.js +7 -0
  100. package/lib/src/hooks/useDeleteModal/index.js +1 -0
  101. package/lib/src/hooks/useDeleteModal/useDeleteManyModal.js +31 -0
  102. package/lib/src/hooks/useDeleteModal/useDeleteModal.js +38 -0
  103. package/lib/src/hooks/useDownloadYAML.js +10 -0
  104. package/lib/src/hooks/useEagleForm.d.ts +1 -2
  105. package/lib/src/hooks/useEagleForm.js +177 -0
  106. package/lib/src/hooks/useEagleTable/columns.js +246 -0
  107. package/lib/src/hooks/useEagleTable/index.js +2 -0
  108. package/lib/src/hooks/useEagleTable/useEagleTable.js +63 -0
  109. package/lib/src/hooks/useEdit.js +19 -0
  110. package/lib/src/hooks/useGlobalStore.js +5 -0
  111. package/lib/src/hooks/useK8sYamlEditor.js +37 -0
  112. package/lib/src/hooks/useNamespaceRefineFilter.d.ts +5 -0
  113. package/lib/src/hooks/useOpenForm.js +43 -0
  114. package/lib/src/hooks/useSchema.js +37 -0
  115. package/lib/src/hooks/useSubmitForm.js +42 -0
  116. package/lib/src/i18n.d.ts +68 -34
  117. package/lib/src/i18n.js +19 -0
  118. package/lib/src/index.js +13 -0
  119. package/lib/src/locales/en-US/dovetail.json +18 -0
  120. package/lib/src/locales/en-US/index.d.ts +67 -34
  121. package/lib/src/locales/en-US/index.js +4 -0
  122. package/lib/src/locales/index.js +6 -0
  123. package/lib/src/locales/zh-CN/dovetail.json +91 -0
  124. package/lib/src/locales/zh-CN/index.d.ts +1 -0
  125. package/lib/src/locales/zh-CN/index.js +4 -0
  126. package/lib/src/main.js +12 -0
  127. package/lib/src/models/cronjob-model.js +32 -0
  128. package/lib/src/models/daemonset-model.js +17 -0
  129. package/lib/src/models/deployment-model.js +17 -0
  130. package/lib/src/models/event-model.js +11 -0
  131. package/lib/src/models/index.js +14 -0
  132. package/lib/src/models/ingress-model.js +24 -0
  133. package/lib/src/models/job-model.js +56 -0
  134. package/lib/src/models/network-policy-model.js +10 -0
  135. package/lib/src/models/pod-metrics-model.js +34 -0
  136. package/lib/src/models/pod-model.js +78 -0
  137. package/lib/src/models/resource-model.js +34 -0
  138. package/lib/src/models/server-instance-model.d.ts +10 -0
  139. package/lib/src/models/service-model.js +17 -0
  140. package/lib/src/models/statefulset-model.js +17 -0
  141. package/lib/src/models/types/index.js +1 -0
  142. package/lib/src/models/types/metric.js +1 -0
  143. package/lib/src/models/workload-base-model.js +22 -0
  144. package/lib/src/models/workload-model.js +51 -0
  145. package/lib/src/pages/configmaps/index.js +15 -0
  146. package/lib/src/pages/cronjobs/create/index.js +6 -0
  147. package/lib/src/pages/cronjobs/index.js +3 -0
  148. package/lib/src/pages/cronjobs/list/index.js +42 -0
  149. package/lib/src/pages/cronjobs/show/index.js +16 -0
  150. package/lib/src/pages/daemonsets/create/index.js +6 -0
  151. package/lib/src/pages/daemonsets/index.js +3 -0
  152. package/lib/src/pages/daemonsets/list/index.js +32 -0
  153. package/lib/src/pages/daemonsets/show/index.js +16 -0
  154. package/lib/src/pages/deployments/create/index.js +7 -0
  155. package/lib/src/pages/deployments/index.js +3 -0
  156. package/lib/src/pages/deployments/list/index.js +26 -0
  157. package/lib/src/pages/deployments/show/index.js +16 -0
  158. package/lib/src/pages/ingresses/index.js +26 -0
  159. package/lib/src/pages/jobs/index.js +34 -0
  160. package/lib/src/pages/networkPolicies/index.js +67 -0
  161. package/lib/src/pages/pods/create/index.js +6 -0
  162. package/lib/src/pages/pods/index.js +3 -0
  163. package/lib/src/pages/pods/list/index.js +81 -0
  164. package/lib/src/pages/pods/show/index.js +54 -0
  165. package/lib/src/pages/secrets/index.js +15 -0
  166. package/lib/src/pages/services/index.js +26 -0
  167. package/lib/src/pages/statefulsets/create/index.js +6 -0
  168. package/lib/src/pages/statefulsets/index.js +3 -0
  169. package/lib/src/pages/statefulsets/list/index.js +26 -0
  170. package/lib/src/pages/statefulsets/show/index.js +16 -0
  171. package/lib/src/plugins/index.js +3 -0
  172. package/lib/src/plugins/model-plugin.js +46 -0
  173. package/lib/src/plugins/relation-plugin.js +81 -0
  174. package/lib/src/plugins/type.js +1 -0
  175. package/lib/src/providers/index.js +1 -0
  176. package/lib/src/providers/router-provider/index.js +100 -0
  177. package/lib/src/types/index.js +1 -0
  178. package/lib/src/types/resource.js +12 -0
  179. package/lib/src/utils/addId.js +8 -0
  180. package/lib/src/utils/download.js +9 -0
  181. package/lib/src/utils/error.js +53 -0
  182. package/lib/src/utils/form.js +9 -0
  183. package/lib/src/utils/k8s.js +6 -0
  184. package/lib/src/utils/labels.js +15 -0
  185. package/lib/src/utils/match-selector.js +12 -0
  186. package/lib/src/utils/openapi.js +33 -0
  187. package/lib/src/utils/schema.js +117 -0
  188. package/lib/src/utils/selector.js +12 -0
  189. package/lib/src/utils/string.js +6 -0
  190. package/lib/src/utils/time.js +46 -0
  191. package/lib/src/utils/unit.js +69 -0
  192. package/lib/src/utils/yaml.js +44 -0
  193. package/lib/vite.config.js +60 -0
  194. package/package.json +2 -2
  195. package/lib/src/components/ModalContextProvider/index.d.ts +0 -12
  196. package/lib/src/hooks/useModal.d.ts +0 -0
  197. package/lib/src/hooks/useNamespaceFilter.d.ts +0 -5
  198. package/lib/src/model/cronjob-model.d.ts +0 -9
  199. package/lib/src/model/index.d.ts +0 -6
  200. package/lib/src/model/job-model.d.ts +0 -10
  201. package/lib/src/model/pod-metrics-model.d.ts +0 -7
  202. package/lib/src/model/pod-model.d.ts +0 -15
  203. package/lib/src/model/resource-model.d.ts +0 -17
  204. package/lib/src/model/workload-model.d.ts +0 -17
  205. package/lib/src/types/metric.d.ts +0 -25
@@ -7,7 +7,7 @@ var __publicField = (obj, key2, value2) => {
7
7
  import i18n from "i18next";
8
8
  import * as React from "react";
9
9
  import React__default, { createElement, isValidElement, cloneElement, Children, createContext, useContext, useState, useRef, useEffect, useCallback, useMemo, useImperativeHandle, memo, PureComponent, useLayoutEffect, forwardRef, Suspense } from "react";
10
- import { ResourceContext, matchResourceFromRoute, useResource, useDelete, useNavigation, useBreadcrumb, useList, useParsed, useGo, useCan, useTable, useDeleteMany, CanAccess, useUpdate, useDataProvider, useShow, useRefineContext, useTranslate, useWarnAboutChange, useForm as useForm$2, flattenObjectKeys, pickNotDeprecated, useMenu, Refine } from "@refinedev/core";
10
+ import { ResourceContext, matchResourceFromRoute, useResource, useDelete, useNavigation, useBreadcrumb, useList, useParsed, useGo, useCan, useTable, useDeleteMany, CanAccess, useShow, useUpdate, 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
13
  import { Typo, Tag, useUIKit, kitContext, Link as Link$1, OverflowTooltip, Tooltip, StatusCapsule, pushModal, Icon as Icon$1, Button, popModal, Loading, Divider, Fields, Space, Form, Modal, useMessage, ModalStack, KitStoreProvider } from "@cloudtower/eagle";
@@ -1028,10 +1028,9 @@ const name$1 = "Name";
1028
1028
  const pod$1 = "Pod";
1029
1029
  const cancel$1 = "Cancel";
1030
1030
  const create$1 = "Create";
1031
- const confirm_delete_text$1 = "确定要删除 {{target}} 吗?";
1031
+ const confirm_delete_text$1 = "Are you sure you want to delete the {{kind}} <0>{{target}}</0>?";
1032
1032
  const edit$1 = "edit";
1033
1033
  const namespace$1 = "Namespace";
1034
- const image$1 = "Image";
1035
1034
  const created_time$1 = "Creation time";
1036
1035
  const label$1 = "Label";
1037
1036
  const annotation$1 = "Annotation";
@@ -1043,32 +1042,20 @@ const note$2 = "message";
1043
1042
  const condition$1 = "Condition";
1044
1043
  const download_yaml$1 = "Download YAML";
1045
1044
  const detail$1 = "Detail";
1046
- const restarts$1 = "Restart Count";
1047
- const updated_time$1 = "Transition Time";
1048
1045
  const message$1 = "Message";
1049
1046
  const save$1 = "Save";
1050
- const more = "更多";
1051
1047
  const workload$1 = "Workload";
1052
- const all_namespaces$1 = "所有名字空间";
1053
1048
  const empty$1 = "No data available";
1054
1049
  const schedule$1 = "Schedule";
1055
1050
  const lastScheduleTime$1 = "Last Schedule";
1056
1051
  const duration$1 = "Duration";
1057
- const started$1 = "开始时间";
1058
- const init_container$1 = "Init Container";
1059
- const regular_container$1 = "Regular Container";
1052
+ const started$1 = "Start time";
1060
1053
  const container$1 = "Container";
1061
1054
  const redeploy$1 = "Redeploy";
1062
1055
  const data$1 = "Data";
1063
- const suspend$1 = "Suspended";
1064
1056
  const resume$1 = "Resume";
1065
- const clusterIp$1 = "集群 IP";
1066
1057
  const sessionAffinity$1 = "会话保持";
1067
1058
  const log$1 = "Log";
1068
- const select_container$1 = "选择容器";
1069
- const wrap = "折叠";
1070
- const resume_log = "继续";
1071
- const log_new_lines = ",并展示 {{ count }} 行新日志";
1072
1059
  const ready$1 = "Ready";
1073
1060
  const updating$1 = "Updating";
1074
1061
  const completed$1 = "Completed";
@@ -1081,38 +1068,17 @@ const succeeded$1 = "Succeed";
1081
1068
  const unknown$1 = "Unknown";
1082
1069
  const pending$1 = "Pending";
1083
1070
  const waiting$1 = "Waiting";
1084
- const sec$1 = "秒";
1085
- const min$1 = "分";
1086
- const hr$1 = "小时";
1087
- const day$1 = "天";
1088
1071
  const expand$1 = "Expand";
1089
1072
  const fold$1 = "Collapse";
1090
1073
  const rule$1 = "Rule";
1091
- const default_backend$1 = "Default Backend";
1092
- const ingress_class$1 = "Ingress Class";
1093
1074
  const port$1 = "Port";
1094
- const pod_ready_num$1 = "Ready Pod";
1095
- const pod_replicas_num$1 = "Desired Pod";
1096
- const edit_replicas$1 = "编辑副本数";
1097
1075
  const cert$1 = "Certificate";
1098
- const dns_record$1 = "DNS Record";
1099
- const port_mapping$1 = "端口映射";
1100
- const out_cluster_access$1 = "集群外访问方式";
1101
- const in_cluster_access$1 = "集群内访问方式";
1102
- const fail_get_detail$1 = "{{resource}} {{name}} 已不存在";
1103
- const basic_info$1 = "Basic Information";
1104
- const pod_selector$1 = "Pod Selector";
1105
- const ingress_rule$1 = "Ingress Rule";
1106
- const egress_rule$1 = "Egress Rule";
1107
- const ip_address$1 = "IP Address";
1076
+ const ip_address$1 = "IP address";
1108
1077
  const last_seen$1 = "Last Seen";
1109
- const service_port$1 = "Service Port";
1110
- const pod_port$1 = "Pod Port";
1111
1078
  const node_port$1 = "NodePort";
1112
1079
  const protocol$1 = "Protocol";
1113
1080
  const key$1 = "Key";
1114
1081
  const value$1 = "Value";
1115
- const path_type$1 = "Path Type";
1116
1082
  const path$1 = "Path";
1117
1083
  const backend$1 = "Backend";
1118
1084
  const belong_to_node$1 = "Node";
@@ -1124,6 +1090,73 @@ const password$1 = "Password";
1124
1090
  const username$1 = "Username";
1125
1091
  const host$1 = "Host";
1126
1092
  const no_resource$1 = "No {{kind}}";
1093
+ const all_namespaces$1 = "All namespaces";
1094
+ const clusterIp$1 = "Cluster IP";
1095
+ const select_container$1 = "Select container";
1096
+ const sec$1 = "sec";
1097
+ const min$1 = "min";
1098
+ const hr$1 = "hr";
1099
+ const day$1 = "d";
1100
+ const port_mapping$1 = "Port mapping";
1101
+ const out_cluster_access$1 = "Access outside cluster";
1102
+ const in_cluster_access$1 = "Access within cluster";
1103
+ const fail_get_detail$1 = "{{resource}} {{name}} no longer exists";
1104
+ const pod_num$1 = "Pods";
1105
+ const show_data_value$1 = "Show";
1106
+ const hide_data_value$1 = "Hide";
1107
+ const please_input$1 = "Please enter…";
1108
+ const create_failed$1 = "Creation failed.";
1109
+ const create_failed_tip$1 = "Please address the following issues and try again: ";
1110
+ const save_failed$1 = "Failed to save.";
1111
+ const save_failed_tip$1 = "Please address the following issues and try again: ";
1112
+ const completion_num_tooltip$1 = "Completed/Expected";
1113
+ const ready_num_tooltip$1 = "Ready/Expected";
1114
+ const realtime_log$1 = "Real-time logs";
1115
+ const previous_log$1 = "Last startup logs";
1116
+ const auto_wrap$1 = "Auto wrap";
1117
+ const container_num$1 = "Containers";
1118
+ const edit_resource_success$1 = "{{resource}} {{name}} was edited successfully";
1119
+ const redeploy_success_toast$1 = "{{kind}} was redeployed successfully";
1120
+ const redeploy_failed_toast$1 = "Failed to redeploy {{kind}} {{name}}";
1121
+ const pause_success_toast$1 = "Successfully suspended";
1122
+ const pause_failed_toast$1 = "Failed to suspend";
1123
+ const resume_success_toast$1 = "Successfully resumed";
1124
+ const resume_failed_toast$1 = "Failed to resume";
1125
+ const delete_success_toast$1 = "{{kind}} {{name}} was deleted successfully";
1126
+ const delete_failed_toast$1 = "Failed to delete {{kind}} {{name}}";
1127
+ const create_success_toast$1 = "{{kind}} {{name}} was created successfully";
1128
+ const save_yaml_success_toast$1 = "YAML editing was successfully saved";
1129
+ const save_replicas_success_toast$1 = "The expected number of replicas was edited successfully";
1130
+ const save_replicas_failed_toast$1 = "Failed to edit the expected number of replicas";
1131
+ const port_mapping_title_tooltip$1 = "The mapping between the service port and the pod port.";
1132
+ const in_cluster_desc$1 = "Services of types ClusterIP, NodePort, and LoadBalancer will show the ClusterIP field, which represents a virtual IP address only accessible within the cluster.";
1133
+ const in_cluster_ip_desc$1 = "If ClusterIP is a headless service, it will display as blank.";
1134
+ const in_cluster_external_name_desc$1 = "For an ExternalName type service, it displays DNS records.";
1135
+ const out_cluster_ip_desc$1 = "ClusterIP doesn't support external cluster access.";
1136
+ const out_cluster_node_port_desc$1 = "For a NodePort type service, it displays <strong>Node IP:nodeport</strong>.";
1137
+ const out_cluster_lb_desc$1 = "For a LoadBalancer type service, it displays <strong>ingress[*].ip</strong>.";
1138
+ const out_external_name_desc$1 = "For an ExternalName type service, it displays <strong>external-ip</strong>.";
1139
+ const image$1 = "Container image";
1140
+ const restarts$1 = "Restart count";
1141
+ const updated_time$1 = "Transition time";
1142
+ const init_container$1 = "Init container";
1143
+ const regular_container$1 = "Regular container";
1144
+ const suspend$1 = "Suspend";
1145
+ const default_backend$1 = "Default backend";
1146
+ const ingress_class$1 = "IngressClass";
1147
+ const pod_ready_num$1 = "Ready Pod";
1148
+ const pod_complete_num$1 = "Completion Pod";
1149
+ const pod_replicas_num$1 = "Desired Pod";
1150
+ const edit_replicas$1 = "Edit expected number of replicas";
1151
+ const dns_record$1 = "DNS record";
1152
+ const basic_info$1 = "Basic information";
1153
+ const pod_selector$1 = "Pod selector";
1154
+ const ingress_rule$1 = "Ingress rule";
1155
+ const egress_rule$1 = "Egress rule";
1156
+ const service_port$1 = "Service port";
1157
+ const pod_port$1 = "Pod port";
1158
+ const path_type$1 = "Path type";
1159
+ const only_support_one_yaml$1 = "Only one YAML configuration is supported at a time.";
1127
1160
  const dovetail$1 = {
1128
1161
  copy: copy$1,
1129
1162
  reset_arguments: reset_arguments$1,
@@ -1149,7 +1182,6 @@ const dovetail$1 = {
1149
1182
  confirm_delete_text: confirm_delete_text$1,
1150
1183
  edit: edit$1,
1151
1184
  namespace: namespace$1,
1152
- image: image$1,
1153
1185
  created_time: created_time$1,
1154
1186
  label: label$1,
1155
1187
  annotation: annotation$1,
@@ -1161,32 +1193,20 @@ const dovetail$1 = {
1161
1193
  condition: condition$1,
1162
1194
  download_yaml: download_yaml$1,
1163
1195
  detail: detail$1,
1164
- restarts: restarts$1,
1165
- updated_time: updated_time$1,
1166
1196
  message: message$1,
1167
1197
  save: save$1,
1168
- more,
1169
1198
  workload: workload$1,
1170
- all_namespaces: all_namespaces$1,
1171
1199
  empty: empty$1,
1172
1200
  schedule: schedule$1,
1173
1201
  lastScheduleTime: lastScheduleTime$1,
1174
1202
  duration: duration$1,
1175
1203
  started: started$1,
1176
- init_container: init_container$1,
1177
- regular_container: regular_container$1,
1178
1204
  container: container$1,
1179
1205
  redeploy: redeploy$1,
1180
1206
  data: data$1,
1181
- suspend: suspend$1,
1182
1207
  resume: resume$1,
1183
- clusterIp: clusterIp$1,
1184
1208
  sessionAffinity: sessionAffinity$1,
1185
1209
  log: log$1,
1186
- select_container: select_container$1,
1187
- wrap,
1188
- resume_log,
1189
- log_new_lines,
1190
1210
  ready: ready$1,
1191
1211
  updating: updating$1,
1192
1212
  completed: completed$1,
@@ -1199,38 +1219,17 @@ const dovetail$1 = {
1199
1219
  unknown: unknown$1,
1200
1220
  pending: pending$1,
1201
1221
  waiting: waiting$1,
1202
- sec: sec$1,
1203
- min: min$1,
1204
- hr: hr$1,
1205
- day: day$1,
1206
1222
  expand: expand$1,
1207
1223
  fold: fold$1,
1208
1224
  rule: rule$1,
1209
- default_backend: default_backend$1,
1210
- ingress_class: ingress_class$1,
1211
1225
  port: port$1,
1212
- pod_ready_num: pod_ready_num$1,
1213
- pod_replicas_num: pod_replicas_num$1,
1214
- edit_replicas: edit_replicas$1,
1215
1226
  cert: cert$1,
1216
- dns_record: dns_record$1,
1217
- port_mapping: port_mapping$1,
1218
- out_cluster_access: out_cluster_access$1,
1219
- in_cluster_access: in_cluster_access$1,
1220
- fail_get_detail: fail_get_detail$1,
1221
- basic_info: basic_info$1,
1222
- pod_selector: pod_selector$1,
1223
- ingress_rule: ingress_rule$1,
1224
- egress_rule: egress_rule$1,
1225
1227
  ip_address: ip_address$1,
1226
1228
  last_seen: last_seen$1,
1227
- service_port: service_port$1,
1228
- pod_port: pod_port$1,
1229
1229
  node_port: node_port$1,
1230
1230
  protocol: protocol$1,
1231
1231
  key: key$1,
1232
1232
  value: value$1,
1233
- path_type: path_type$1,
1234
1233
  path: path$1,
1235
1234
  backend: backend$1,
1236
1235
  belong_to_node: belong_to_node$1,
@@ -1243,7 +1242,74 @@ const dovetail$1 = {
1243
1242
  password: password$1,
1244
1243
  username: username$1,
1245
1244
  host: host$1,
1246
- no_resource: no_resource$1
1245
+ no_resource: no_resource$1,
1246
+ all_namespaces: all_namespaces$1,
1247
+ clusterIp: clusterIp$1,
1248
+ select_container: select_container$1,
1249
+ sec: sec$1,
1250
+ min: min$1,
1251
+ hr: hr$1,
1252
+ day: day$1,
1253
+ port_mapping: port_mapping$1,
1254
+ out_cluster_access: out_cluster_access$1,
1255
+ in_cluster_access: in_cluster_access$1,
1256
+ fail_get_detail: fail_get_detail$1,
1257
+ pod_num: pod_num$1,
1258
+ show_data_value: show_data_value$1,
1259
+ hide_data_value: hide_data_value$1,
1260
+ please_input: please_input$1,
1261
+ create_failed: create_failed$1,
1262
+ create_failed_tip: create_failed_tip$1,
1263
+ save_failed: save_failed$1,
1264
+ save_failed_tip: save_failed_tip$1,
1265
+ completion_num_tooltip: completion_num_tooltip$1,
1266
+ ready_num_tooltip: ready_num_tooltip$1,
1267
+ realtime_log: realtime_log$1,
1268
+ previous_log: previous_log$1,
1269
+ auto_wrap: auto_wrap$1,
1270
+ container_num: container_num$1,
1271
+ edit_resource_success: edit_resource_success$1,
1272
+ redeploy_success_toast: redeploy_success_toast$1,
1273
+ redeploy_failed_toast: redeploy_failed_toast$1,
1274
+ pause_success_toast: pause_success_toast$1,
1275
+ pause_failed_toast: pause_failed_toast$1,
1276
+ resume_success_toast: resume_success_toast$1,
1277
+ resume_failed_toast: resume_failed_toast$1,
1278
+ delete_success_toast: delete_success_toast$1,
1279
+ delete_failed_toast: delete_failed_toast$1,
1280
+ create_success_toast: create_success_toast$1,
1281
+ save_yaml_success_toast: save_yaml_success_toast$1,
1282
+ save_replicas_success_toast: save_replicas_success_toast$1,
1283
+ save_replicas_failed_toast: save_replicas_failed_toast$1,
1284
+ port_mapping_title_tooltip: port_mapping_title_tooltip$1,
1285
+ in_cluster_desc: in_cluster_desc$1,
1286
+ in_cluster_ip_desc: in_cluster_ip_desc$1,
1287
+ in_cluster_external_name_desc: in_cluster_external_name_desc$1,
1288
+ out_cluster_ip_desc: out_cluster_ip_desc$1,
1289
+ out_cluster_node_port_desc: out_cluster_node_port_desc$1,
1290
+ out_cluster_lb_desc: out_cluster_lb_desc$1,
1291
+ out_external_name_desc: out_external_name_desc$1,
1292
+ image: image$1,
1293
+ restarts: restarts$1,
1294
+ updated_time: updated_time$1,
1295
+ init_container: init_container$1,
1296
+ regular_container: regular_container$1,
1297
+ suspend: suspend$1,
1298
+ default_backend: default_backend$1,
1299
+ ingress_class: ingress_class$1,
1300
+ pod_ready_num: pod_ready_num$1,
1301
+ pod_complete_num: pod_complete_num$1,
1302
+ pod_replicas_num: pod_replicas_num$1,
1303
+ edit_replicas: edit_replicas$1,
1304
+ dns_record: dns_record$1,
1305
+ basic_info: basic_info$1,
1306
+ pod_selector: pod_selector$1,
1307
+ ingress_rule: ingress_rule$1,
1308
+ egress_rule: egress_rule$1,
1309
+ service_port: service_port$1,
1310
+ pod_port: pod_port$1,
1311
+ path_type: path_type$1,
1312
+ only_support_one_yaml: only_support_one_yaml$1
1247
1313
  };
1248
1314
  const EN = {
1249
1315
  dovetail: dovetail$1
@@ -1397,6 +1463,7 @@ const out_cluster_ip_desc = "ClusterIP 不支持集群外部访问。";
1397
1463
  const out_cluster_node_port_desc = "NodePort 展示<strong>节点 IP:nodeport</strong>。";
1398
1464
  const out_cluster_lb_desc = "LoadBalancer 展示 <strong>ingress[*].ip</strong>。";
1399
1465
  const out_external_name_desc = "ExternalName 展示 <strong>external-ip</strong>。";
1466
+ const only_support_one_yaml = "一次仅支持输入一个 YAML 配置。";
1400
1467
  const dovetail = {
1401
1468
  copy,
1402
1469
  reset_arguments,
@@ -1549,7 +1616,8 @@ const dovetail = {
1549
1616
  out_cluster_ip_desc,
1550
1617
  out_cluster_node_port_desc,
1551
1618
  out_cluster_lb_desc,
1552
- out_external_name_desc
1619
+ out_external_name_desc,
1620
+ only_support_one_yaml
1553
1621
  };
1554
1622
  const ZH = {
1555
1623
  dovetail
@@ -6350,7 +6418,7 @@ lodash.exports;
6350
6418
  function unary(func) {
6351
6419
  return ary(func, 1);
6352
6420
  }
6353
- function wrap2(value2, wrapper) {
6421
+ function wrap(value2, wrapper) {
6354
6422
  return partial(castFunction(wrapper), value2);
6355
6423
  }
6356
6424
  function castArray() {
@@ -7473,7 +7541,7 @@ lodash.exports;
7473
7541
  lodash2.valuesIn = valuesIn;
7474
7542
  lodash2.without = without;
7475
7543
  lodash2.words = words;
7476
- lodash2.wrap = wrap2;
7544
+ lodash2.wrap = wrap;
7477
7545
  lodash2.xor = xor;
7478
7546
  lodash2.xorBy = xorBy;
7479
7547
  lodash2.xorWith = xorWith;
@@ -10471,7 +10539,7 @@ function addDefaultRenderToColumns(columns) {
10471
10539
  }));
10472
10540
  }
10473
10541
  const useEagleTable = (params) => {
10474
- var _a, _b, _c;
10542
+ var _a, _b;
10475
10543
  const { columns, tableProps, formatter, Dropdown = K8sDropdown } = params;
10476
10544
  const [selectedKeys, setSelectedKeys] = useState([]);
10477
10545
  const [currentPage, setCurrentPage] = useState((tableProps == null ? void 0 : tableProps.currentPage) || 1);
@@ -10538,10 +10606,6 @@ const useEagleTable = (params) => {
10538
10606
  order: "desc"
10539
10607
  }]);
10540
10608
  }, []);
10541
- useEffect(() => {
10542
- setCurrentPage(1);
10543
- table.setCurrent(1);
10544
- }, [(_c = params.useTableParams) == null ? void 0 : _c.filters]);
10545
10609
  return { tableProps: finalProps, selectedKeys, ...table };
10546
10610
  };
10547
10611
  function CreateButton() {
@@ -10665,13 +10729,11 @@ const CronjobJobsTable = ({
10665
10729
  const [selectedKeys] = useState([]);
10666
10730
  const component = useContext(ComponentContext);
10667
10731
  const Table$1 = component.Table || Table;
10668
- const columns = [NameColumnRenderer(i18n2, "jobs"), StateDisplayColumnRenderer(i18n2), NameSpaceColumnRenderer(i18n2), {
10732
+ const columns = useMemo(() => [NameColumnRenderer(i18n2, "jobs"), StateDisplayColumnRenderer(i18n2), NameSpaceColumnRenderer(i18n2), {
10669
10733
  ...WorkloadImageColumnRenderer(i18n2),
10670
10734
  width: 238
10671
- }, CompletionsCountColumnRenderer(i18n2), DurationColumnRenderer(i18n2), AgeColumnRenderer(i18n2)];
10672
- const {
10673
- tableProps
10674
- } = useEagleTable({
10735
+ }, CompletionsCountColumnRenderer(i18n2), DurationColumnRenderer(i18n2), AgeColumnRenderer(i18n2)], [i18n2]);
10736
+ const params = useMemo(() => ({
10675
10737
  columns,
10676
10738
  useTableParams: {
10677
10739
  resource: "jobs",
@@ -10689,7 +10751,10 @@ const CronjobJobsTable = ({
10689
10751
  }]
10690
10752
  }
10691
10753
  }
10692
- });
10754
+ }), [columns, owner]);
10755
+ const {
10756
+ tableProps
10757
+ } = useEagleTable(params);
10693
10758
  if (!((_a = tableProps.data) == null ? void 0 : _a.length) && !tableProps.loading) {
10694
10759
  return /* @__PURE__ */ jsxRuntimeExports.jsx(WidgetErrorContent, {
10695
10760
  errorText: i18n2.t("dovetail.no_resource", {
@@ -10756,7 +10821,7 @@ const EventsTable = ({}) => {
10756
10821
  ],
10757
10822
  [i18n2]
10758
10823
  );
10759
- const { tableProps } = useEagleTable({
10824
+ const params = useMemo(() => ({
10760
10825
  columns,
10761
10826
  tableProps: {
10762
10827
  defaultSize: 50
@@ -10782,7 +10847,8 @@ const EventsTable = ({}) => {
10782
10847
  }]
10783
10848
  }
10784
10849
  }
10785
- });
10850
+ }), [columns, regardingName, regardingNamespace]);
10851
+ const { tableProps } = useEagleTable(params);
10786
10852
  const component = useContext(ComponentContext);
10787
10853
  const Table$1 = component.Table || Table;
10788
10854
  if (!((_b = tableProps.data) == null ? void 0 : _b.length) && !tableProps.loading) {
@@ -11060,8 +11126,7 @@ const ShowContent = (props) => {
11060
11126
  const {
11061
11127
  showConfig,
11062
11128
  formatter,
11063
- Dropdown = K8sDropdown,
11064
- data: data2
11129
+ Dropdown = K8sDropdown
11065
11130
  } = props;
11066
11131
  const kit = useUIKit();
11067
11132
  const parsed = useParsed();
@@ -11069,9 +11134,18 @@ const ShowContent = (props) => {
11069
11134
  resource
11070
11135
  } = useResource();
11071
11136
  const id = (_a = parsed == null ? void 0 : parsed.params) == null ? void 0 : _a.id;
11137
+ const {
11138
+ queryResult
11139
+ } = useShow({
11140
+ id,
11141
+ errorNotification: false
11142
+ });
11072
11143
  const {
11073
11144
  t: t2
11074
11145
  } = useTranslation();
11146
+ const {
11147
+ data: data2
11148
+ } = queryResult;
11075
11149
  const navigation = useNavigation();
11076
11150
  const go = useGo();
11077
11151
  const openForm = useOpenForm({
@@ -17511,7 +17585,7 @@ const PodLog = ({
17511
17585
  const [logType, setLogType] = useState("realtime");
17512
17586
  const [currentItemCount, setCurrentItemCount] = useState(0);
17513
17587
  const [paused, setPaused] = useState(false);
17514
- const [wrap2, setWrap] = useState(false);
17588
+ const [wrap, setWrap] = useState(false);
17515
17589
  const [linesBehind, setLinesBehind] = useState(0);
17516
17590
  const logViewerRef = useRef(null);
17517
17591
  const abortControllerRef = useRef(null);
@@ -17661,7 +17735,7 @@ const PodLog = ({
17661
17735
  }), /* @__PURE__ */ jsxRuntimeExports.jsxs("span", {
17662
17736
  className: ToolbarAreaStyle,
17663
17737
  children: [/* @__PURE__ */ jsxRuntimeExports.jsx(kit.checkbox, {
17664
- checked: wrap2,
17738
+ checked: wrap,
17665
17739
  onChange: (e2) => setWrap(e2.target.checked),
17666
17740
  children: t2("dovetail.auto_wrap")
17667
17741
  }), /* @__PURE__ */ jsxRuntimeExports.jsx(kit.button, {
@@ -17686,7 +17760,7 @@ const PodLog = ({
17686
17760
  hasLineNumbers: true,
17687
17761
  data: logs,
17688
17762
  theme: "light",
17689
- isTextWrapped: wrap2,
17763
+ isTextWrapped: wrap,
17690
17764
  onScroll
17691
17765
  })
17692
17766
  })]
@@ -18200,11 +18274,11 @@ const PageShow = (props) => {
18200
18274
  retry: 1
18201
18275
  },
18202
18276
  errorNotification: () => {
18203
- var _a2, _b;
18277
+ var _a2;
18204
18278
  return {
18205
18279
  message: i18n2.t("dovetail.fail_get_detail", {
18206
- resource: (_a2 = resource == null ? void 0 : resource.meta) == null ? void 0 : _a2.kind,
18207
- name: (_b = parsed == null ? void 0 : parsed.params) == null ? void 0 : _b.id,
18280
+ resource: resource == null ? void 0 : resource.name,
18281
+ name: (_a2 = parsed == null ? void 0 : parsed.params) == null ? void 0 : _a2.id,
18208
18282
  interpolation: { escapeValue: false }
18209
18283
  }),
18210
18284
  description: "Error",
@@ -18212,13 +18286,13 @@ const PageShow = (props) => {
18212
18286
  };
18213
18287
  }
18214
18288
  });
18215
- const { isLoading, isError, data: data2 } = queryResult;
18289
+ const { isLoading, isError } = queryResult;
18216
18290
  useEffect(() => {
18217
18291
  if (isError && resource) {
18218
18292
  nav.list(resource);
18219
18293
  }
18220
18294
  }, [isError, nav, resource]);
18221
- return isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loading, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(ShowContent, { ...props, data: data2 });
18295
+ return isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loading, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(ShowContent, { ...props });
18222
18296
  };
18223
18297
  const index_17v8shn = "";
18224
18298
  const WrapperStyle$1 = "w1akirqw";
@@ -18667,9 +18741,9 @@ const NamespacesFilter = ({
18667
18741
  })
18668
18742
  });
18669
18743
  };
18670
- function useNamespaceFilter() {
18744
+ function useNamespaceRefineFilter() {
18671
18745
  const { value: nsFilters = [] } = useNamespacesFilter();
18672
- return {
18746
+ const filters = useMemo(() => ({
18673
18747
  permanent: [
18674
18748
  {
18675
18749
  operator: "or",
@@ -18680,7 +18754,8 @@ function useNamespaceFilter() {
18680
18754
  }))
18681
18755
  }
18682
18756
  ]
18683
- };
18757
+ }), [nsFilters]);
18758
+ return filters;
18684
18759
  }
18685
18760
  const index_hp158y = "";
18686
18761
  const ListPageStyle = "laykzsq";
@@ -18746,7 +18821,7 @@ function ResourceList(props) {
18746
18821
  const { formatter, columns, Dropdown, noShow } = props.config;
18747
18822
  const { i18n: i18n2 } = useTranslation();
18748
18823
  const nameRenderer = noShow ? PlainTextNameColumnRenderer(i18n2) : NameColumnRenderer(i18n2);
18749
- const filters = useNamespaceFilter();
18824
+ const filters = useNamespaceRefineFilter();
18750
18825
  const { tableProps, selectedKeys } = useEagleTable({
18751
18826
  useTableParams: {
18752
18827
  filters
@@ -18759,6 +18834,9 @@ function ResourceList(props) {
18759
18834
  formatter,
18760
18835
  Dropdown
18761
18836
  });
18837
+ useEffect(() => {
18838
+ tableProps.onPageChange(1);
18839
+ }, [filters]);
18762
18840
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ListPage, { selectedKeys, tableProps });
18763
18841
  }
18764
18842
  function ResourceShow(props) {
@@ -22777,7 +22855,7 @@ const Separator = () => {
22777
22855
  });
22778
22856
  };
22779
22857
  const MonacoYamlEditor = React__default.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
22780
- const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-a0787f8d.js"));
22858
+ const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-68215003.js"));
22781
22859
  const YamlEditorComponent = forwardRef(
22782
22860
  function YamlEditorComponent2(props, ref) {
22783
22861
  const {
@@ -23846,7 +23924,7 @@ const DrawerShow = (props) => {
23846
23924
  const parsed = useParsed();
23847
23925
  const nav = useNavigation();
23848
23926
  const { queryResult } = useShow({ id: (_a = parsed == null ? void 0 : parsed.params) == null ? void 0 : _a.id });
23849
- const { isLoading, data: data2 } = queryResult;
23927
+ const { isLoading } = queryResult;
23850
23928
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
23851
23929
  Drawer,
23852
23930
  {
@@ -23855,7 +23933,7 @@ const DrawerShow = (props) => {
23855
23933
  onClose: () => nav.goBack(),
23856
23934
  width: "50%",
23857
23935
  visible: !!((_b = parsed == null ? void 0 : parsed.params) == null ? void 0 : _b.id),
23858
- children: isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx(kit.loading, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(ShowContent, { ...props, data: data2 })
23936
+ children: isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx(kit.loading, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(ShowContent, { ...props })
23859
23937
  }
23860
23938
  );
23861
23939
  };
@@ -24672,191 +24750,192 @@ const relationPlugin = new RelationPlugin();
24672
24750
  const ProviderPlugins = [relationPlugin, modelPlugin];
24673
24751
  const dovetailRefineI18n = i18n;
24674
24752
  export {
24675
- ReplicasDropdown as $,
24753
+ WorkloadDropdown as $,
24676
24754
  AgeColumnRenderer as A,
24677
- useEdit as B,
24755
+ useDownloadYAML as B,
24678
24756
  CommonSorter as C,
24679
24757
  DurationColumnRenderer as D,
24680
- useGlobalStore as E,
24681
- useOpenForm as F,
24682
- Breadcrumb as G,
24683
- NameInputWidget as H,
24758
+ useEdit as E,
24759
+ useGlobalStore as F,
24760
+ useOpenForm as G,
24761
+ Breadcrumb as H,
24684
24762
  IngressRulesColumnRenderer as I,
24685
- dnsSubDomainRules as J,
24686
- rfc1123LabelRules as K,
24687
- rfc1035LabelRules as L,
24763
+ NameInputWidget as J,
24764
+ dnsSubDomainRules as K,
24765
+ rfc1123LabelRules as L,
24688
24766
  ModalStyle as M,
24689
24767
  NameColumnRenderer as N,
24690
- NamespaceSelectWidget as O,
24768
+ rfc1035LabelRules as O,
24691
24769
  PlainTextNameColumnRenderer as P,
24692
- namespaceRules as Q,
24770
+ NamespaceSelectWidget as Q,
24693
24771
  ReplicasColumnRenderer as R,
24694
24772
  StateDisplayColumnRenderer as S,
24695
- KeyValueListWidget as T,
24696
- MetadataForm as U,
24697
- PageShow as V,
24773
+ namespaceRules as T,
24774
+ KeyValueListWidget as U,
24775
+ MetadataForm as V,
24698
24776
  WorkloadImageColumnRenderer as W,
24699
- Time as X,
24700
- ConditionsTable as Y,
24701
- PodContainersTable as Z,
24702
- WorkloadDropdown as _,
24703
- useDeleteModal as a,
24704
- StateTag as a$,
24705
- CreateButton as a0,
24706
- ImageNames as a1,
24707
- ResourceList as a2,
24708
- ResourceShow as a3,
24709
- ResourceForm as a4,
24710
- ResourceCRUD as a5,
24711
- WorkloadPodsTable as a6,
24712
- CronJobDropdown as a7,
24713
- ResourceUsageBar as a8,
24714
- WorkloadReplicasForm as a9,
24715
- LabelsField as aA,
24716
- AnnotationsField as aB,
24717
- ServiceInnerClusterAccessField as aC,
24718
- ServiceOutClusterAccessField as aD,
24719
- PodSelectorField as aE,
24720
- PortsTableField as aF,
24721
- DurationField as aG,
24722
- EventsTab as aH,
24723
- PodLogTab as aI,
24724
- BasicGroup as aJ,
24725
- PodsGroup as aK,
24726
- PodContainersGroup as aL,
24727
- ServicePodsGroup as aM,
24728
- ConditionsGroup as aN,
24729
- SecretDataGroup as aO,
24730
- JobsGroup as aP,
24731
- IngressRulesGroup as aQ,
24732
- PodSelectorGroup as aR,
24733
- PortsGroup as aS,
24734
- DataGroup as aT,
24735
- NetworkPolicyIngressRulesGroup as aU,
24736
- NetworkPolicyEgressRulesGroup as aV,
24737
- ShowGroupComponent as aW,
24738
- ShowContent as aX,
24739
- DeleteManyButton as aY,
24740
- ListPage as aZ,
24741
- StateTagStyle as a_,
24742
- WorkloadReplicas as aa,
24743
- CronjobJobsTable as ab,
24744
- KeyValue as ac,
24745
- KeyValueAnnotation as ad,
24746
- KeyValueSecret as ae,
24747
- Separator as af,
24748
- YamlEditorComponent as ag,
24749
- DeleteButton as ah,
24750
- Layout as ai,
24751
- AreaType as aj,
24752
- ImageField as ak,
24753
- ReplicaField as al,
24754
- ConditionsField as am,
24755
- PodsField as an,
24756
- JobsField as ao,
24757
- DataField as ap,
24758
- SecretDataField as aq,
24759
- StartTimeField as ar,
24760
- ServiceTypeField as as,
24761
- ClusterIpField as at,
24762
- SessionAffinityField as au,
24763
- ServicePodsField as av,
24764
- IngressRulesTableTabField as aw,
24765
- EventsTableTabField as ax,
24766
- NamespaceField as ay,
24767
- AgeField as az,
24768
- NameSpaceColumnRenderer as b,
24769
- DeploymentModel as b$,
24770
- DrawerShow as b0,
24771
- Menu as b1,
24772
- EditButton as b2,
24773
- ReferenceLink as b3,
24774
- ResourceLink as b4,
24775
- NS_STORE_KEY as b5,
24776
- ALL_NS as b6,
24777
- useNamespacesFilter as b7,
24778
- NamespacesFilter as b8,
24779
- FormModal as b9,
24780
- CONFIG_MAP_INIT_VALUE as bA,
24781
- SERVER_INSTANCE_INIT_VALUE as bB,
24782
- TIMESTAMP_LABEL as bC,
24783
- SECRET_OPAQUE_INIT_VALUE as bD,
24784
- SECRET_IMAGE_REPO_INIT_VALUE as bE,
24785
- SECRET_BASIC_AUTH_INIT_VALUE as bF,
24786
- SECRET_SSH_AUTH_INIT_VALUE as bG,
24787
- SECRET_TLS_INIT_VALUE as bH,
24788
- SECRET_CUSTOM_INIT_VALUE as bI,
24789
- WorkloadState as bJ,
24790
- AccessControlAuth as bK,
24791
- Dovetail as bL,
24792
- RESOURCE_GROUP as bM,
24793
- FormType as bN,
24794
- ComponentContext as bO,
24795
- GlobalStoreContext as bP,
24796
- ConfigsContext as bQ,
24797
- IngressModel as bR,
24798
- NetworkPolicyModel as bS,
24799
- JobModel as bT,
24800
- WorkloadModel as bU,
24801
- WorkloadBaseModel as bV,
24802
- PodModel as bW,
24803
- PodMetricsModel as bX,
24804
- ResourceModel as bY,
24805
- CronJobModel as bZ,
24806
- EventModel as b_,
24807
- RefineFormContent as ba,
24808
- RefineFormPage as bb,
24809
- SchemaStrategy as bc,
24810
- YamlForm as bd,
24811
- useRefineForm as be,
24812
- ServiceInClusterAccessComponent as bf,
24813
- ServiceOutClusterAccessComponent as bg,
24814
- Tags as bh,
24815
- TextTags as bi,
24816
- PodLog as bj,
24817
- NetworkPolicyRulesViewer as bk,
24818
- Tabs as bl,
24819
- BASE_INIT_VALUE as bm,
24820
- DEPLOYMENT_INIT_VALUE as bn,
24821
- CRONJOB_INIT_VALUE as bo,
24822
- DAEMONSET_INIT_VALUE as bp,
24823
- JOB_INIT_VALUE as bq,
24824
- STATEFULSET_INIT_VALUE as br,
24825
- POD_INIT_VALUE as bs,
24826
- SERVICE_CLUSTER_IP_INIT_VALUE as bt,
24827
- SERVICE_NODE_PORT_INIT_VALUE as bu,
24828
- SERVICE_LOAD_BALANCER_INIT_VALUE as bv,
24829
- SERVICE_EXTERNAL_NAME_INIT_VALUE as bw,
24830
- SERVICE_HEADLESS_INIT_VALUE as bx,
24831
- INGRESS_INIT_VALUE as by,
24832
- NETWORK_POLICY_INIT_VALUE as bz,
24833
- WorkloadRestartsColumnRenderer as c,
24834
- DaemonSetModel as c0,
24835
- StatefulSetModel as c1,
24836
- ServiceTypeEnum as c2,
24837
- ServiceModel as c3,
24838
- ProviderPlugins as c4,
24777
+ PageShow as X,
24778
+ Time as Y,
24779
+ ConditionsTable as Z,
24780
+ PodContainersTable as _,
24781
+ useSchema as a,
24782
+ StateTagStyle as a$,
24783
+ ReplicasDropdown as a0,
24784
+ CreateButton as a1,
24785
+ ImageNames as a2,
24786
+ ResourceList as a3,
24787
+ ResourceShow as a4,
24788
+ ResourceForm as a5,
24789
+ ResourceCRUD as a6,
24790
+ WorkloadPodsTable as a7,
24791
+ CronJobDropdown as a8,
24792
+ ResourceUsageBar as a9,
24793
+ AgeField as aA,
24794
+ LabelsField as aB,
24795
+ AnnotationsField as aC,
24796
+ ServiceInnerClusterAccessField as aD,
24797
+ ServiceOutClusterAccessField as aE,
24798
+ PodSelectorField as aF,
24799
+ PortsTableField as aG,
24800
+ DurationField as aH,
24801
+ EventsTab as aI,
24802
+ PodLogTab as aJ,
24803
+ BasicGroup as aK,
24804
+ PodsGroup as aL,
24805
+ PodContainersGroup as aM,
24806
+ ServicePodsGroup as aN,
24807
+ ConditionsGroup as aO,
24808
+ SecretDataGroup as aP,
24809
+ JobsGroup as aQ,
24810
+ IngressRulesGroup as aR,
24811
+ PodSelectorGroup as aS,
24812
+ PortsGroup as aT,
24813
+ DataGroup as aU,
24814
+ NetworkPolicyIngressRulesGroup as aV,
24815
+ NetworkPolicyEgressRulesGroup as aW,
24816
+ ShowGroupComponent as aX,
24817
+ ShowContent as aY,
24818
+ DeleteManyButton as aZ,
24819
+ ListPage as a_,
24820
+ WorkloadReplicasForm as aa,
24821
+ WorkloadReplicas as ab,
24822
+ CronjobJobsTable as ac,
24823
+ KeyValue as ad,
24824
+ KeyValueAnnotation as ae,
24825
+ KeyValueSecret as af,
24826
+ Separator as ag,
24827
+ YamlEditorComponent as ah,
24828
+ DeleteButton as ai,
24829
+ Layout as aj,
24830
+ AreaType as ak,
24831
+ ImageField as al,
24832
+ ReplicaField as am,
24833
+ ConditionsField as an,
24834
+ PodsField as ao,
24835
+ JobsField as ap,
24836
+ DataField as aq,
24837
+ SecretDataField as ar,
24838
+ StartTimeField as as,
24839
+ ServiceTypeField as at,
24840
+ ClusterIpField as au,
24841
+ SessionAffinityField as av,
24842
+ ServicePodsField as aw,
24843
+ IngressRulesTableTabField as ax,
24844
+ EventsTableTabField as ay,
24845
+ NamespaceField as az,
24846
+ useDeleteModal as b,
24847
+ EventModel as b$,
24848
+ StateTag as b0,
24849
+ DrawerShow as b1,
24850
+ Menu as b2,
24851
+ EditButton as b3,
24852
+ ReferenceLink as b4,
24853
+ ResourceLink as b5,
24854
+ NS_STORE_KEY as b6,
24855
+ ALL_NS as b7,
24856
+ useNamespacesFilter as b8,
24857
+ NamespacesFilter as b9,
24858
+ NETWORK_POLICY_INIT_VALUE as bA,
24859
+ CONFIG_MAP_INIT_VALUE as bB,
24860
+ SERVER_INSTANCE_INIT_VALUE as bC,
24861
+ TIMESTAMP_LABEL as bD,
24862
+ SECRET_OPAQUE_INIT_VALUE as bE,
24863
+ SECRET_IMAGE_REPO_INIT_VALUE as bF,
24864
+ SECRET_BASIC_AUTH_INIT_VALUE as bG,
24865
+ SECRET_SSH_AUTH_INIT_VALUE as bH,
24866
+ SECRET_TLS_INIT_VALUE as bI,
24867
+ SECRET_CUSTOM_INIT_VALUE as bJ,
24868
+ WorkloadState as bK,
24869
+ AccessControlAuth as bL,
24870
+ Dovetail as bM,
24871
+ RESOURCE_GROUP as bN,
24872
+ FormType as bO,
24873
+ ComponentContext as bP,
24874
+ GlobalStoreContext as bQ,
24875
+ ConfigsContext as bR,
24876
+ IngressModel as bS,
24877
+ NetworkPolicyModel as bT,
24878
+ JobModel as bU,
24879
+ WorkloadModel as bV,
24880
+ WorkloadBaseModel as bW,
24881
+ PodModel as bX,
24882
+ PodMetricsModel as bY,
24883
+ ResourceModel as bZ,
24884
+ CronJobModel as b_,
24885
+ FormModal as ba,
24886
+ RefineFormContent as bb,
24887
+ RefineFormPage as bc,
24888
+ SchemaStrategy as bd,
24889
+ YamlForm as be,
24890
+ useRefineForm as bf,
24891
+ ServiceInClusterAccessComponent as bg,
24892
+ ServiceOutClusterAccessComponent as bh,
24893
+ Tags as bi,
24894
+ TextTags as bj,
24895
+ PodLog as bk,
24896
+ NetworkPolicyRulesViewer as bl,
24897
+ Tabs as bm,
24898
+ BASE_INIT_VALUE as bn,
24899
+ DEPLOYMENT_INIT_VALUE as bo,
24900
+ CRONJOB_INIT_VALUE as bp,
24901
+ DAEMONSET_INIT_VALUE as bq,
24902
+ JOB_INIT_VALUE as br,
24903
+ STATEFULSET_INIT_VALUE as bs,
24904
+ POD_INIT_VALUE as bt,
24905
+ SERVICE_CLUSTER_IP_INIT_VALUE as bu,
24906
+ SERVICE_NODE_PORT_INIT_VALUE as bv,
24907
+ SERVICE_LOAD_BALANCER_INIT_VALUE as bw,
24908
+ SERVICE_EXTERNAL_NAME_INIT_VALUE as bx,
24909
+ SERVICE_HEADLESS_INIT_VALUE as by,
24910
+ INGRESS_INIT_VALUE as bz,
24911
+ NameSpaceColumnRenderer as c,
24912
+ DeploymentModel as c0,
24913
+ DaemonSetModel as c1,
24914
+ StatefulSetModel as c2,
24915
+ ServiceTypeEnum as c3,
24916
+ ServiceModel as c4,
24917
+ ProviderPlugins as c5,
24839
24918
  dovetailRefineI18n as d,
24840
- NodeNameColumnRenderer as e,
24841
- RestartCountColumnRenderer as f,
24842
- CompletionsCountColumnRenderer as g,
24843
- ServiceTypeColumnRenderer as h,
24844
- ServiceInClusterAccessTitle as i,
24919
+ WorkloadRestartsColumnRenderer as e,
24920
+ NodeNameColumnRenderer as f,
24921
+ RestartCountColumnRenderer as g,
24922
+ CompletionsCountColumnRenderer as h,
24923
+ ServiceTypeColumnRenderer as i,
24845
24924
  jsxRuntimeExports as j,
24846
- ServiceInClusterAccessColumnRenderer as k,
24847
- ServiceOutClusterAccessTitle as l,
24848
- ServiceOutClusterAccessColumnRenderer as m,
24849
- PodWorkloadColumnRenderer as n,
24850
- IngressDefaultBackendColumnRenderer as o,
24851
- IngressClassColumnRenderer as p,
24852
- IngressTlsColumnRenderer as q,
24925
+ ServiceInClusterAccessTitle as k,
24926
+ ServiceInClusterAccessColumnRenderer as l,
24927
+ ServiceOutClusterAccessTitle as m,
24928
+ ServiceOutClusterAccessColumnRenderer as n,
24929
+ PodWorkloadColumnRenderer as o,
24930
+ IngressDefaultBackendColumnRenderer as p,
24931
+ IngressClassColumnRenderer as q,
24853
24932
  routerProvider as r,
24854
- PodContainersNumColumnRenderer as s,
24855
- DataKeysColumnRenderer as t,
24856
- useSchema as u,
24857
- PortMappingColumnRenderer as v,
24858
- ColumnKeys as w,
24859
- addDefaultRenderToColumns as x,
24860
- useEagleTable as y,
24861
- useDownloadYAML as z
24933
+ IngressTlsColumnRenderer as s,
24934
+ PodContainersNumColumnRenderer as t,
24935
+ useNamespaceRefineFilter as u,
24936
+ DataKeysColumnRenderer as v,
24937
+ PortMappingColumnRenderer as w,
24938
+ ColumnKeys as x,
24939
+ addDefaultRenderToColumns as y,
24940
+ useEagleTable as z
24862
24941
  };