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

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 (209) hide show
  1. package/dist/{MonacoYamlDiffEditor-a0787f8d.js → MonacoYamlDiffEditor-9ad1c844.js} +1 -1
  2. package/dist/{index-9a6fb2d3.js → index-1a40b2a8.js} +701 -612
  3. package/dist/refine.js +176 -175
  4. package/dist/refine.umd.cjs +525 -436
  5. package/dist/style.css +4 -4
  6. package/lib/src/App.js +91 -0
  7. package/lib/src/Dovetail.js +45 -0
  8. package/lib/src/components/Breadcrumb/index.js +20 -0
  9. package/lib/src/components/ConditionsTable/ConditionsTable.js +56 -0
  10. package/lib/src/components/ConditionsTable/index.js +1 -0
  11. package/lib/src/components/CreateButton/index.js +10 -0
  12. package/lib/src/components/CronJobDropdown/index.js +26 -0
  13. package/lib/src/components/CronjobJobsTable/index.js +49 -0
  14. package/lib/src/components/DeleteButton/index.js +13 -0
  15. package/lib/src/components/DeleteManyButton/index.js +16 -0
  16. package/lib/src/components/DrawerShow/DrawerShow.js +13 -0
  17. package/lib/src/components/DrawerShow/index.js +1 -0
  18. package/lib/src/components/EditButton/index.js +13 -0
  19. package/lib/src/components/EditField/index.js +47 -0
  20. package/lib/src/components/ErrorContent/index.js +36 -0
  21. package/lib/src/components/EventsTable/EventsTable.d.ts +5 -1
  22. package/lib/src/components/EventsTable/EventsTable.js +59 -0
  23. package/lib/src/components/EventsTable/index.js +1 -0
  24. package/lib/src/components/Form/KeyValueListWidget.js +56 -0
  25. package/lib/src/components/Form/MetadataForm.js +9 -0
  26. package/lib/src/components/Form/NameInputWidget.js +50 -0
  27. package/lib/src/components/Form/NamespaceSelectWidget.js +21 -0
  28. package/lib/src/components/Form/index.js +4 -0
  29. package/lib/src/components/Form/widget.js +1 -0
  30. package/lib/src/components/FormErrorAlert/index.js +8 -0
  31. package/lib/src/components/FormLayout/index.js +21 -0
  32. package/lib/src/components/FormModal/index.js +51 -0
  33. package/lib/src/components/ImageNames/index.js +14 -0
  34. package/lib/src/components/IngressRulesComponent/index.js +11 -0
  35. package/lib/src/components/IngressRulesTable/IngressRulesTable.js +51 -0
  36. package/lib/src/components/IngressRulesTable/index.js +1 -0
  37. package/lib/src/components/K8sDropdown/index.js +31 -0
  38. package/lib/src/components/KeyValue/KeyValue.js +27 -0
  39. package/lib/src/components/KeyValue/index.js +1 -0
  40. package/lib/src/components/KeyValueData/index.js +50 -0
  41. package/lib/src/components/Layout/index.js +39 -0
  42. package/lib/src/components/ListPage/index.js +25 -0
  43. package/lib/src/components/Menu/index.js +36 -0
  44. package/lib/src/components/NamespacesFilter/index.js +34 -0
  45. package/lib/src/components/NetworkPolicyRulesTable/NetworkPolicyRulesTable.d.ts +1 -2
  46. package/lib/src/components/NetworkPolicyRulesTable/NetworkPolicyRulesTable.js +77 -0
  47. package/lib/src/components/NetworkPolicyRulesTable/index.js +1 -0
  48. package/lib/src/components/PageShow/PageShow.js +11 -0
  49. package/lib/src/components/PageShow/index.js +1 -0
  50. package/lib/src/components/PodContainersTable/PodContainersTable.js +78 -0
  51. package/lib/src/components/PodContainersTable/index.js +1 -0
  52. package/lib/src/components/PodLog/index.js +136 -0
  53. package/lib/src/components/ReferenceLink/index.js +17 -0
  54. package/lib/src/components/RefineForm/RefineFormContent.d.ts +10 -0
  55. package/lib/src/components/RefineForm/RefineFormModal.d.ts +8 -0
  56. package/lib/src/components/RefineForm/RefineFormPage.d.ts +7 -0
  57. package/lib/src/components/RefineForm/index.d.ts +3 -0
  58. package/lib/src/components/RefineForm/type.d.ts +20 -0
  59. package/lib/src/components/RefineForm/useRefineForm.d.ts +10 -0
  60. package/lib/src/components/ResourceCRUD/ResourceCRUD.js +15 -0
  61. package/lib/src/components/ResourceCRUD/create/index.js +13 -0
  62. package/lib/src/components/ResourceCRUD/index.js +4 -0
  63. package/lib/src/components/ResourceCRUD/list/index.js +19 -0
  64. package/lib/src/components/ResourceCRUD/show/index.js +6 -0
  65. package/lib/src/components/ResourceLink/index.js +21 -0
  66. package/lib/src/components/ResourceUsageBar/index.js +81 -0
  67. package/lib/src/components/Separator/index.js +11 -0
  68. package/lib/src/components/ShowContent/ShowContent.d.ts +0 -2
  69. package/lib/src/components/ShowContent/ShowContent.js +157 -0
  70. package/lib/src/components/ShowContent/fields.js +157 -0
  71. package/lib/src/components/ShowContent/index.js +2 -0
  72. package/lib/src/components/StateTag/StateTag.js +22 -0
  73. package/lib/src/components/StateTag/index.js +1 -0
  74. package/lib/src/components/Table/ErrorContent.js +36 -0
  75. package/lib/src/components/Table/TableToolBar.js +14 -0
  76. package/lib/src/components/Table/TableWidgets.js +28 -0
  77. package/lib/src/components/Table/index.js +69 -0
  78. package/lib/src/components/Tags/index.js +22 -0
  79. package/lib/src/components/Time/index.js +14 -0
  80. package/lib/src/components/WorkloadDropdown/index.js +24 -0
  81. package/lib/src/components/WorkloadPodsTable/WorkloadPodsTable.d.ts +1 -0
  82. package/lib/src/components/WorkloadPodsTable/WorkloadPodsTable.js +39 -0
  83. package/lib/src/components/WorkloadPodsTable/index.js +1 -0
  84. package/lib/src/components/WorkloadReplicas/index.js +50 -0
  85. package/lib/src/components/YamlEditor/MonacoYamlDiffEditor.js +34 -0
  86. package/lib/src/components/YamlEditor/MonacoYamlEditor.js +149 -0
  87. package/lib/src/components/YamlEditor/YamlEditorComponent.js +90 -0
  88. package/lib/src/components/YamlEditor/index.js +1 -0
  89. package/lib/src/components/YamlEditor/style.js +102 -0
  90. package/lib/src/components/YamlEditor/yaml.worker.js +1 -0
  91. package/lib/src/components/YamlForm/index.d.ts +0 -4
  92. package/lib/src/components/YamlForm/index.js +61 -0
  93. package/lib/src/components/index.js +38 -0
  94. package/lib/src/constants/index.js +2 -0
  95. package/lib/src/constants/k8s.js +203 -0
  96. package/lib/src/constants/state.js +15 -0
  97. package/lib/src/contexts/component.js +3 -0
  98. package/lib/src/contexts/configs.js +3 -0
  99. package/lib/src/contexts/global-store.js +3 -0
  100. package/lib/src/contexts/index.js +3 -0
  101. package/lib/src/hooks/index.d.ts +1 -0
  102. package/lib/src/hooks/index.js +7 -0
  103. package/lib/src/hooks/useDeleteModal/index.js +1 -0
  104. package/lib/src/hooks/useDeleteModal/useDeleteManyModal.js +31 -0
  105. package/lib/src/hooks/useDeleteModal/useDeleteModal.js +38 -0
  106. package/lib/src/hooks/useDownloadYAML.js +10 -0
  107. package/lib/src/hooks/useEagleForm.d.ts +1 -2
  108. package/lib/src/hooks/useEagleForm.js +177 -0
  109. package/lib/src/hooks/useEagleTable/columns.js +246 -0
  110. package/lib/src/hooks/useEagleTable/index.js +2 -0
  111. package/lib/src/hooks/useEagleTable/useEagleTable.js +63 -0
  112. package/lib/src/hooks/useEdit.js +19 -0
  113. package/lib/src/hooks/useGlobalStore.js +5 -0
  114. package/lib/src/hooks/useK8sYamlEditor.js +37 -0
  115. package/lib/src/hooks/useNamespaceRefineFilter.d.ts +5 -0
  116. package/lib/src/hooks/useOpenForm.js +43 -0
  117. package/lib/src/hooks/useSchema.js +37 -0
  118. package/lib/src/hooks/useSubmitForm.js +42 -0
  119. package/lib/src/i18n.d.ts +70 -34
  120. package/lib/src/i18n.js +19 -0
  121. package/lib/src/index.js +13 -0
  122. package/lib/src/locales/en-US/dovetail.json +18 -0
  123. package/lib/src/locales/en-US/index.d.ts +68 -34
  124. package/lib/src/locales/en-US/index.js +4 -0
  125. package/lib/src/locales/index.js +6 -0
  126. package/lib/src/locales/zh-CN/dovetail.json +91 -0
  127. package/lib/src/locales/zh-CN/index.d.ts +2 -0
  128. package/lib/src/locales/zh-CN/index.js +4 -0
  129. package/lib/src/main.js +12 -0
  130. package/lib/src/models/cronjob-model.js +32 -0
  131. package/lib/src/models/daemonset-model.js +17 -0
  132. package/lib/src/models/deployment-model.js +17 -0
  133. package/lib/src/models/event-model.js +11 -0
  134. package/lib/src/models/index.js +14 -0
  135. package/lib/src/models/ingress-model.js +24 -0
  136. package/lib/src/models/job-model.js +56 -0
  137. package/lib/src/models/network-policy-model.js +10 -0
  138. package/lib/src/models/pod-metrics-model.js +34 -0
  139. package/lib/src/models/pod-model.js +78 -0
  140. package/lib/src/models/resource-model.js +34 -0
  141. package/lib/src/models/server-instance-model.d.ts +10 -0
  142. package/lib/src/models/service-model.js +17 -0
  143. package/lib/src/models/statefulset-model.js +17 -0
  144. package/lib/src/models/types/index.js +1 -0
  145. package/lib/src/models/types/metric.js +1 -0
  146. package/lib/src/models/workload-base-model.js +22 -0
  147. package/lib/src/models/workload-model.js +51 -0
  148. package/lib/src/pages/configmaps/index.js +15 -0
  149. package/lib/src/pages/cronjobs/create/index.js +6 -0
  150. package/lib/src/pages/cronjobs/index.js +3 -0
  151. package/lib/src/pages/cronjobs/list/index.js +42 -0
  152. package/lib/src/pages/cronjobs/show/index.js +16 -0
  153. package/lib/src/pages/daemonsets/create/index.js +6 -0
  154. package/lib/src/pages/daemonsets/index.js +3 -0
  155. package/lib/src/pages/daemonsets/list/index.js +32 -0
  156. package/lib/src/pages/daemonsets/show/index.js +16 -0
  157. package/lib/src/pages/deployments/create/index.js +7 -0
  158. package/lib/src/pages/deployments/index.js +3 -0
  159. package/lib/src/pages/deployments/list/index.js +26 -0
  160. package/lib/src/pages/deployments/show/index.js +16 -0
  161. package/lib/src/pages/ingresses/index.js +26 -0
  162. package/lib/src/pages/jobs/index.js +34 -0
  163. package/lib/src/pages/networkPolicies/index.js +67 -0
  164. package/lib/src/pages/pods/create/index.js +6 -0
  165. package/lib/src/pages/pods/index.js +3 -0
  166. package/lib/src/pages/pods/list/index.js +81 -0
  167. package/lib/src/pages/pods/show/index.js +54 -0
  168. package/lib/src/pages/secrets/index.js +15 -0
  169. package/lib/src/pages/services/index.js +26 -0
  170. package/lib/src/pages/statefulsets/create/index.js +6 -0
  171. package/lib/src/pages/statefulsets/index.js +3 -0
  172. package/lib/src/pages/statefulsets/list/index.js +26 -0
  173. package/lib/src/pages/statefulsets/show/index.js +16 -0
  174. package/lib/src/plugins/index.js +3 -0
  175. package/lib/src/plugins/model-plugin.js +46 -0
  176. package/lib/src/plugins/relation-plugin.js +81 -0
  177. package/lib/src/plugins/type.js +1 -0
  178. package/lib/src/providers/index.js +1 -0
  179. package/lib/src/providers/router-provider/index.js +100 -0
  180. package/lib/src/types/index.js +1 -0
  181. package/lib/src/types/resource.js +12 -0
  182. package/lib/src/utils/addId.js +8 -0
  183. package/lib/src/utils/download.js +9 -0
  184. package/lib/src/utils/error.js +53 -0
  185. package/lib/src/utils/form.js +9 -0
  186. package/lib/src/utils/k8s.js +6 -0
  187. package/lib/src/utils/labels.js +15 -0
  188. package/lib/src/utils/match-selector.d.ts +1 -1
  189. package/lib/src/utils/match-selector.js +12 -0
  190. package/lib/src/utils/openapi.js +33 -0
  191. package/lib/src/utils/schema.js +117 -0
  192. package/lib/src/utils/selector.js +12 -0
  193. package/lib/src/utils/string.js +6 -0
  194. package/lib/src/utils/time.js +46 -0
  195. package/lib/src/utils/unit.js +69 -0
  196. package/lib/src/utils/yaml.js +44 -0
  197. package/lib/vite.config.js +60 -0
  198. package/package.json +2 -2
  199. package/lib/src/components/ModalContextProvider/index.d.ts +0 -12
  200. package/lib/src/hooks/useModal.d.ts +0 -0
  201. package/lib/src/hooks/useNamespaceFilter.d.ts +0 -5
  202. package/lib/src/model/cronjob-model.d.ts +0 -9
  203. package/lib/src/model/index.d.ts +0 -6
  204. package/lib/src/model/job-model.d.ts +0 -10
  205. package/lib/src/model/pod-metrics-model.d.ts +0 -7
  206. package/lib/src/model/pod-model.d.ts +0 -15
  207. package/lib/src/model/resource-model.d.ts +0 -17
  208. package/lib/src/model/workload-model.d.ts +0 -17
  209. 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";
@@ -25,308 +25,301 @@ function getDefaultExportFromCjs(x) {
25
25
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
26
26
  }
27
27
  var dayjs_min = { exports: {} };
28
- var hasRequiredDayjs_min;
29
- function requireDayjs_min() {
30
- if (hasRequiredDayjs_min)
31
- return dayjs_min.exports;
32
- hasRequiredDayjs_min = 1;
33
- (function(module, exports) {
34
- !function(t2, e2) {
35
- module.exports = e2();
36
- }(commonjsGlobal, function() {
37
- var t2 = 1e3, e2 = 6e4, n2 = 36e5, r2 = "millisecond", i2 = "second", s2 = "minute", u = "hour", a2 = "day", o = "week", c2 = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
38
- var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
39
- return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
40
- } }, m = function(t3, e3, n3) {
41
- var r3 = String(t3);
42
- return !r3 || r3.length >= e3 ? t3 : "" + Array(e3 + 1 - r3.length).join(n3) + t3;
43
- }, v = { s: m, z: function(t3) {
44
- var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r3 = Math.floor(n3 / 60), i3 = n3 % 60;
45
- return (e3 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i3, 2, "0");
46
- }, m: function t3(e3, n3) {
47
- if (e3.date() < n3.date())
48
- return -t3(n3, e3);
49
- var r3 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i3 = e3.clone().add(r3, c2), s3 = n3 - i3 < 0, u2 = e3.clone().add(r3 + (s3 ? -1 : 1), c2);
50
- return +(-(r3 + (n3 - i3) / (s3 ? i3 - u2 : u2 - i3)) || 0);
51
- }, a: function(t3) {
52
- return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
53
- }, p: function(t3) {
54
- return { M: c2, y: h, w: o, d: a2, D: d, h: u, m: s2, s: i2, ms: r2, Q: f }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
55
- }, u: function(t3) {
56
- return void 0 === t3;
57
- } }, g = "en", D = {};
58
- D[g] = M;
59
- var p = "$isDayjsObject", S = function(t3) {
60
- return t3 instanceof _ || !(!t3 || !t3[p]);
61
- }, w = function t3(e3, n3, r3) {
62
- var i3;
63
- if (!e3)
64
- return g;
65
- if ("string" == typeof e3) {
66
- var s3 = e3.toLowerCase();
67
- D[s3] && (i3 = s3), n3 && (D[s3] = n3, i3 = s3);
68
- var u2 = e3.split("-");
69
- if (!i3 && u2.length > 1)
70
- return t3(u2[0]);
71
- } else {
72
- var a3 = e3.name;
73
- D[a3] = e3, i3 = a3;
74
- }
75
- return !r3 && i3 && (g = i3), i3 || !r3 && g;
76
- }, O = function(t3, e3) {
77
- if (S(t3))
78
- return t3.clone();
79
- var n3 = "object" == typeof e3 ? e3 : {};
80
- return n3.date = t3, n3.args = arguments, new _(n3);
81
- }, b = v;
82
- b.l = w, b.i = S, b.w = function(t3, e3) {
83
- return O(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
84
- };
85
- var _ = function() {
86
- function M2(t3) {
87
- this.$L = w(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p] = true;
88
- }
89
- var m2 = M2.prototype;
90
- return m2.parse = function(t3) {
91
- this.$d = function(t4) {
92
- var e3 = t4.date, n3 = t4.utc;
93
- if (null === e3)
94
- return /* @__PURE__ */ new Date(NaN);
95
- if (b.u(e3))
96
- return /* @__PURE__ */ new Date();
97
- if (e3 instanceof Date)
98
- return new Date(e3);
99
- if ("string" == typeof e3 && !/Z$/i.test(e3)) {
100
- var r3 = e3.match($);
101
- if (r3) {
102
- var i3 = r3[2] - 1 || 0, s3 = (r3[7] || "0").substring(0, 3);
103
- return n3 ? new Date(Date.UTC(r3[1], i3, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3)) : new Date(r3[1], i3, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3);
104
- }
105
- }
28
+ (function(module, exports) {
29
+ !function(t2, e2) {
30
+ module.exports = e2();
31
+ }(commonjsGlobal, function() {
32
+ var t2 = 1e3, e2 = 6e4, n2 = 36e5, r2 = "millisecond", i2 = "second", s2 = "minute", u = "hour", a2 = "day", o = "week", c2 = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
33
+ var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
34
+ return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
35
+ } }, m = function(t3, e3, n3) {
36
+ var r3 = String(t3);
37
+ return !r3 || r3.length >= e3 ? t3 : "" + Array(e3 + 1 - r3.length).join(n3) + t3;
38
+ }, v = { s: m, z: function(t3) {
39
+ var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r3 = Math.floor(n3 / 60), i3 = n3 % 60;
40
+ return (e3 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i3, 2, "0");
41
+ }, m: function t3(e3, n3) {
42
+ if (e3.date() < n3.date())
43
+ return -t3(n3, e3);
44
+ var r3 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i3 = e3.clone().add(r3, c2), s3 = n3 - i3 < 0, u2 = e3.clone().add(r3 + (s3 ? -1 : 1), c2);
45
+ return +(-(r3 + (n3 - i3) / (s3 ? i3 - u2 : u2 - i3)) || 0);
46
+ }, a: function(t3) {
47
+ return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
48
+ }, p: function(t3) {
49
+ return { M: c2, y: h, w: o, d: a2, D: d, h: u, m: s2, s: i2, ms: r2, Q: f }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
50
+ }, u: function(t3) {
51
+ return void 0 === t3;
52
+ } }, g = "en", D = {};
53
+ D[g] = M;
54
+ var p = "$isDayjsObject", S = function(t3) {
55
+ return t3 instanceof _ || !(!t3 || !t3[p]);
56
+ }, w = function t3(e3, n3, r3) {
57
+ var i3;
58
+ if (!e3)
59
+ return g;
60
+ if ("string" == typeof e3) {
61
+ var s3 = e3.toLowerCase();
62
+ D[s3] && (i3 = s3), n3 && (D[s3] = n3, i3 = s3);
63
+ var u2 = e3.split("-");
64
+ if (!i3 && u2.length > 1)
65
+ return t3(u2[0]);
66
+ } else {
67
+ var a3 = e3.name;
68
+ D[a3] = e3, i3 = a3;
69
+ }
70
+ return !r3 && i3 && (g = i3), i3 || !r3 && g;
71
+ }, O = function(t3, e3) {
72
+ if (S(t3))
73
+ return t3.clone();
74
+ var n3 = "object" == typeof e3 ? e3 : {};
75
+ return n3.date = t3, n3.args = arguments, new _(n3);
76
+ }, b = v;
77
+ b.l = w, b.i = S, b.w = function(t3, e3) {
78
+ return O(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
79
+ };
80
+ var _ = function() {
81
+ function M2(t3) {
82
+ this.$L = w(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p] = true;
83
+ }
84
+ var m2 = M2.prototype;
85
+ return m2.parse = function(t3) {
86
+ this.$d = function(t4) {
87
+ var e3 = t4.date, n3 = t4.utc;
88
+ if (null === e3)
89
+ return /* @__PURE__ */ new Date(NaN);
90
+ if (b.u(e3))
91
+ return /* @__PURE__ */ new Date();
92
+ if (e3 instanceof Date)
106
93
  return new Date(e3);
107
- }(t3), this.init();
108
- }, m2.init = function() {
109
- var t3 = this.$d;
110
- this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
111
- }, m2.$utils = function() {
112
- return b;
113
- }, m2.isValid = function() {
114
- return !(this.$d.toString() === l);
115
- }, m2.isSame = function(t3, e3) {
116
- var n3 = O(t3);
117
- return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
118
- }, m2.isAfter = function(t3, e3) {
119
- return O(t3) < this.startOf(e3);
120
- }, m2.isBefore = function(t3, e3) {
121
- return this.endOf(e3) < O(t3);
122
- }, m2.$g = function(t3, e3, n3) {
123
- return b.u(t3) ? this[e3] : this.set(n3, t3);
124
- }, m2.unix = function() {
125
- return Math.floor(this.valueOf() / 1e3);
126
- }, m2.valueOf = function() {
127
- return this.$d.getTime();
128
- }, m2.startOf = function(t3, e3) {
129
- var n3 = this, r3 = !!b.u(e3) || e3, f2 = b.p(t3), l2 = function(t4, e4) {
130
- var i3 = b.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
131
- return r3 ? i3 : i3.endOf(a2);
132
- }, $2 = function(t4, e4) {
133
- return b.w(n3.toDate()[t4].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
134
- }, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
135
- switch (f2) {
136
- case h:
137
- return r3 ? l2(1, 0) : l2(31, 11);
138
- case c2:
139
- return r3 ? l2(1, M3) : l2(0, M3 + 1);
140
- case o:
141
- var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
142
- return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
143
- case a2:
144
- case d:
145
- return $2(v2 + "Hours", 0);
146
- case u:
147
- return $2(v2 + "Minutes", 1);
148
- case s2:
149
- return $2(v2 + "Seconds", 2);
150
- case i2:
151
- return $2(v2 + "Milliseconds", 3);
152
- default:
153
- return this.clone();
154
- }
155
- }, m2.endOf = function(t3) {
156
- return this.startOf(t3, false);
157
- }, m2.$set = function(t3, e3) {
158
- var n3, o2 = b.p(t3), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n3 = {}, n3[a2] = f2 + "Date", n3[d] = f2 + "Date", n3[c2] = f2 + "Month", n3[h] = f2 + "FullYear", n3[u] = f2 + "Hours", n3[s2] = f2 + "Minutes", n3[i2] = f2 + "Seconds", n3[r2] = f2 + "Milliseconds", n3)[o2], $2 = o2 === a2 ? this.$D + (e3 - this.$W) : e3;
159
- if (o2 === c2 || o2 === h) {
160
- var y2 = this.clone().set(d, 1);
161
- y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
162
- } else
163
- l2 && this.$d[l2]($2);
164
- return this.init(), this;
165
- }, m2.set = function(t3, e3) {
166
- return this.clone().$set(t3, e3);
167
- }, m2.get = function(t3) {
168
- return this[b.p(t3)]();
169
- }, m2.add = function(r3, f2) {
170
- var d2, l2 = this;
171
- r3 = Number(r3);
172
- var $2 = b.p(f2), y2 = function(t3) {
173
- var e3 = O(l2);
174
- return b.w(e3.date(e3.date() + Math.round(t3 * r3)), l2);
175
- };
176
- if ($2 === c2)
177
- return this.set(c2, this.$M + r3);
178
- if ($2 === h)
179
- return this.set(h, this.$y + r3);
180
- if ($2 === a2)
181
- return y2(1);
182
- if ($2 === o)
183
- return y2(7);
184
- var M3 = (d2 = {}, d2[s2] = e2, d2[u] = n2, d2[i2] = t2, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
185
- return b.w(m3, this);
186
- }, m2.subtract = function(t3, e3) {
187
- return this.add(-1 * t3, e3);
188
- }, m2.format = function(t3) {
189
- var e3 = this, n3 = this.$locale();
190
- if (!this.isValid())
191
- return n3.invalidDate || l;
192
- var r3 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i3 = b.z(this), s3 = this.$H, u2 = this.$m, a3 = this.$M, o2 = n3.weekdays, c3 = n3.months, f2 = n3.meridiem, h2 = function(t4, n4, i4, s4) {
193
- return t4 && (t4[n4] || t4(e3, r3)) || i4[n4].slice(0, s4);
194
- }, d2 = function(t4) {
195
- return b.s(s3 % 12 || 12, t4, "0");
196
- }, $2 = f2 || function(t4, e4, n4) {
197
- var r4 = t4 < 12 ? "AM" : "PM";
198
- return n4 ? r4.toLowerCase() : r4;
199
- };
200
- return r3.replace(y, function(t4, r4) {
201
- return r4 || function(t5) {
202
- switch (t5) {
203
- case "YY":
204
- return String(e3.$y).slice(-2);
205
- case "YYYY":
206
- return b.s(e3.$y, 4, "0");
207
- case "M":
208
- return a3 + 1;
209
- case "MM":
210
- return b.s(a3 + 1, 2, "0");
211
- case "MMM":
212
- return h2(n3.monthsShort, a3, c3, 3);
213
- case "MMMM":
214
- return h2(c3, a3);
215
- case "D":
216
- return e3.$D;
217
- case "DD":
218
- return b.s(e3.$D, 2, "0");
219
- case "d":
220
- return String(e3.$W);
221
- case "dd":
222
- return h2(n3.weekdaysMin, e3.$W, o2, 2);
223
- case "ddd":
224
- return h2(n3.weekdaysShort, e3.$W, o2, 3);
225
- case "dddd":
226
- return o2[e3.$W];
227
- case "H":
228
- return String(s3);
229
- case "HH":
230
- return b.s(s3, 2, "0");
231
- case "h":
232
- return d2(1);
233
- case "hh":
234
- return d2(2);
235
- case "a":
236
- return $2(s3, u2, true);
237
- case "A":
238
- return $2(s3, u2, false);
239
- case "m":
240
- return String(u2);
241
- case "mm":
242
- return b.s(u2, 2, "0");
243
- case "s":
244
- return String(e3.$s);
245
- case "ss":
246
- return b.s(e3.$s, 2, "0");
247
- case "SSS":
248
- return b.s(e3.$ms, 3, "0");
249
- case "Z":
250
- return i3;
251
- }
252
- return null;
253
- }(t4) || i3.replace(":", "");
254
- });
255
- }, m2.utcOffset = function() {
256
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
257
- }, m2.diff = function(r3, d2, l2) {
258
- var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e2, g2 = this - m3, D2 = function() {
259
- return b.m(y2, m3);
260
- };
261
- switch (M3) {
262
- case h:
263
- $2 = D2() / 12;
264
- break;
265
- case c2:
266
- $2 = D2();
267
- break;
268
- case f:
269
- $2 = D2() / 3;
270
- break;
271
- case o:
272
- $2 = (g2 - v2) / 6048e5;
273
- break;
274
- case a2:
275
- $2 = (g2 - v2) / 864e5;
276
- break;
277
- case u:
278
- $2 = g2 / n2;
279
- break;
280
- case s2:
281
- $2 = g2 / e2;
282
- break;
283
- case i2:
284
- $2 = g2 / t2;
285
- break;
286
- default:
287
- $2 = g2;
288
- }
289
- return l2 ? $2 : b.a($2);
290
- }, m2.daysInMonth = function() {
291
- return this.endOf(c2).$D;
292
- }, m2.$locale = function() {
293
- return D[this.$L];
294
- }, m2.locale = function(t3, e3) {
295
- if (!t3)
296
- return this.$L;
297
- var n3 = this.clone(), r3 = w(t3, e3, true);
298
- return r3 && (n3.$L = r3), n3;
299
- }, m2.clone = function() {
300
- return b.w(this.$d, this);
301
- }, m2.toDate = function() {
302
- return new Date(this.valueOf());
303
- }, m2.toJSON = function() {
304
- return this.isValid() ? this.toISOString() : null;
305
- }, m2.toISOString = function() {
306
- return this.$d.toISOString();
307
- }, m2.toString = function() {
308
- return this.$d.toUTCString();
309
- }, M2;
310
- }(), k = _.prototype;
311
- return O.prototype = k, [["$ms", r2], ["$s", i2], ["$m", s2], ["$H", u], ["$W", a2], ["$M", c2], ["$y", h], ["$D", d]].forEach(function(t3) {
312
- k[t3[1]] = function(e3) {
313
- return this.$g(e3, t3[0], t3[1]);
94
+ if ("string" == typeof e3 && !/Z$/i.test(e3)) {
95
+ var r3 = e3.match($);
96
+ if (r3) {
97
+ var i3 = r3[2] - 1 || 0, s3 = (r3[7] || "0").substring(0, 3);
98
+ return n3 ? new Date(Date.UTC(r3[1], i3, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3)) : new Date(r3[1], i3, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3);
99
+ }
100
+ }
101
+ return new Date(e3);
102
+ }(t3), this.init();
103
+ }, m2.init = function() {
104
+ var t3 = this.$d;
105
+ this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
106
+ }, m2.$utils = function() {
107
+ return b;
108
+ }, m2.isValid = function() {
109
+ return !(this.$d.toString() === l);
110
+ }, m2.isSame = function(t3, e3) {
111
+ var n3 = O(t3);
112
+ return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
113
+ }, m2.isAfter = function(t3, e3) {
114
+ return O(t3) < this.startOf(e3);
115
+ }, m2.isBefore = function(t3, e3) {
116
+ return this.endOf(e3) < O(t3);
117
+ }, m2.$g = function(t3, e3, n3) {
118
+ return b.u(t3) ? this[e3] : this.set(n3, t3);
119
+ }, m2.unix = function() {
120
+ return Math.floor(this.valueOf() / 1e3);
121
+ }, m2.valueOf = function() {
122
+ return this.$d.getTime();
123
+ }, m2.startOf = function(t3, e3) {
124
+ var n3 = this, r3 = !!b.u(e3) || e3, f2 = b.p(t3), l2 = function(t4, e4) {
125
+ var i3 = b.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
126
+ return r3 ? i3 : i3.endOf(a2);
127
+ }, $2 = function(t4, e4) {
128
+ return b.w(n3.toDate()[t4].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
129
+ }, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
130
+ switch (f2) {
131
+ case h:
132
+ return r3 ? l2(1, 0) : l2(31, 11);
133
+ case c2:
134
+ return r3 ? l2(1, M3) : l2(0, M3 + 1);
135
+ case o:
136
+ var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
137
+ return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
138
+ case a2:
139
+ case d:
140
+ return $2(v2 + "Hours", 0);
141
+ case u:
142
+ return $2(v2 + "Minutes", 1);
143
+ case s2:
144
+ return $2(v2 + "Seconds", 2);
145
+ case i2:
146
+ return $2(v2 + "Milliseconds", 3);
147
+ default:
148
+ return this.clone();
149
+ }
150
+ }, m2.endOf = function(t3) {
151
+ return this.startOf(t3, false);
152
+ }, m2.$set = function(t3, e3) {
153
+ var n3, o2 = b.p(t3), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n3 = {}, n3[a2] = f2 + "Date", n3[d] = f2 + "Date", n3[c2] = f2 + "Month", n3[h] = f2 + "FullYear", n3[u] = f2 + "Hours", n3[s2] = f2 + "Minutes", n3[i2] = f2 + "Seconds", n3[r2] = f2 + "Milliseconds", n3)[o2], $2 = o2 === a2 ? this.$D + (e3 - this.$W) : e3;
154
+ if (o2 === c2 || o2 === h) {
155
+ var y2 = this.clone().set(d, 1);
156
+ y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
157
+ } else
158
+ l2 && this.$d[l2]($2);
159
+ return this.init(), this;
160
+ }, m2.set = function(t3, e3) {
161
+ return this.clone().$set(t3, e3);
162
+ }, m2.get = function(t3) {
163
+ return this[b.p(t3)]();
164
+ }, m2.add = function(r3, f2) {
165
+ var d2, l2 = this;
166
+ r3 = Number(r3);
167
+ var $2 = b.p(f2), y2 = function(t3) {
168
+ var e3 = O(l2);
169
+ return b.w(e3.date(e3.date() + Math.round(t3 * r3)), l2);
314
170
  };
315
- }), O.extend = function(t3, e3) {
316
- return t3.$i || (t3(e3, _, O), t3.$i = true), O;
317
- }, O.locale = w, O.isDayjs = S, O.unix = function(t3) {
318
- return O(1e3 * t3);
319
- }, O.en = D[g], O.Ls = D, O.p = {}, O;
320
- });
321
- })(dayjs_min);
322
- return dayjs_min.exports;
323
- }
324
- var dayjs_minExports = requireDayjs_min();
171
+ if ($2 === c2)
172
+ return this.set(c2, this.$M + r3);
173
+ if ($2 === h)
174
+ return this.set(h, this.$y + r3);
175
+ if ($2 === a2)
176
+ return y2(1);
177
+ if ($2 === o)
178
+ return y2(7);
179
+ var M3 = (d2 = {}, d2[s2] = e2, d2[u] = n2, d2[i2] = t2, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
180
+ return b.w(m3, this);
181
+ }, m2.subtract = function(t3, e3) {
182
+ return this.add(-1 * t3, e3);
183
+ }, m2.format = function(t3) {
184
+ var e3 = this, n3 = this.$locale();
185
+ if (!this.isValid())
186
+ return n3.invalidDate || l;
187
+ var r3 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i3 = b.z(this), s3 = this.$H, u2 = this.$m, a3 = this.$M, o2 = n3.weekdays, c3 = n3.months, f2 = n3.meridiem, h2 = function(t4, n4, i4, s4) {
188
+ return t4 && (t4[n4] || t4(e3, r3)) || i4[n4].slice(0, s4);
189
+ }, d2 = function(t4) {
190
+ return b.s(s3 % 12 || 12, t4, "0");
191
+ }, $2 = f2 || function(t4, e4, n4) {
192
+ var r4 = t4 < 12 ? "AM" : "PM";
193
+ return n4 ? r4.toLowerCase() : r4;
194
+ };
195
+ return r3.replace(y, function(t4, r4) {
196
+ return r4 || function(t5) {
197
+ switch (t5) {
198
+ case "YY":
199
+ return String(e3.$y).slice(-2);
200
+ case "YYYY":
201
+ return b.s(e3.$y, 4, "0");
202
+ case "M":
203
+ return a3 + 1;
204
+ case "MM":
205
+ return b.s(a3 + 1, 2, "0");
206
+ case "MMM":
207
+ return h2(n3.monthsShort, a3, c3, 3);
208
+ case "MMMM":
209
+ return h2(c3, a3);
210
+ case "D":
211
+ return e3.$D;
212
+ case "DD":
213
+ return b.s(e3.$D, 2, "0");
214
+ case "d":
215
+ return String(e3.$W);
216
+ case "dd":
217
+ return h2(n3.weekdaysMin, e3.$W, o2, 2);
218
+ case "ddd":
219
+ return h2(n3.weekdaysShort, e3.$W, o2, 3);
220
+ case "dddd":
221
+ return o2[e3.$W];
222
+ case "H":
223
+ return String(s3);
224
+ case "HH":
225
+ return b.s(s3, 2, "0");
226
+ case "h":
227
+ return d2(1);
228
+ case "hh":
229
+ return d2(2);
230
+ case "a":
231
+ return $2(s3, u2, true);
232
+ case "A":
233
+ return $2(s3, u2, false);
234
+ case "m":
235
+ return String(u2);
236
+ case "mm":
237
+ return b.s(u2, 2, "0");
238
+ case "s":
239
+ return String(e3.$s);
240
+ case "ss":
241
+ return b.s(e3.$s, 2, "0");
242
+ case "SSS":
243
+ return b.s(e3.$ms, 3, "0");
244
+ case "Z":
245
+ return i3;
246
+ }
247
+ return null;
248
+ }(t4) || i3.replace(":", "");
249
+ });
250
+ }, m2.utcOffset = function() {
251
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
252
+ }, m2.diff = function(r3, d2, l2) {
253
+ var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e2, g2 = this - m3, D2 = function() {
254
+ return b.m(y2, m3);
255
+ };
256
+ switch (M3) {
257
+ case h:
258
+ $2 = D2() / 12;
259
+ break;
260
+ case c2:
261
+ $2 = D2();
262
+ break;
263
+ case f:
264
+ $2 = D2() / 3;
265
+ break;
266
+ case o:
267
+ $2 = (g2 - v2) / 6048e5;
268
+ break;
269
+ case a2:
270
+ $2 = (g2 - v2) / 864e5;
271
+ break;
272
+ case u:
273
+ $2 = g2 / n2;
274
+ break;
275
+ case s2:
276
+ $2 = g2 / e2;
277
+ break;
278
+ case i2:
279
+ $2 = g2 / t2;
280
+ break;
281
+ default:
282
+ $2 = g2;
283
+ }
284
+ return l2 ? $2 : b.a($2);
285
+ }, m2.daysInMonth = function() {
286
+ return this.endOf(c2).$D;
287
+ }, m2.$locale = function() {
288
+ return D[this.$L];
289
+ }, m2.locale = function(t3, e3) {
290
+ if (!t3)
291
+ return this.$L;
292
+ var n3 = this.clone(), r3 = w(t3, e3, true);
293
+ return r3 && (n3.$L = r3), n3;
294
+ }, m2.clone = function() {
295
+ return b.w(this.$d, this);
296
+ }, m2.toDate = function() {
297
+ return new Date(this.valueOf());
298
+ }, m2.toJSON = function() {
299
+ return this.isValid() ? this.toISOString() : null;
300
+ }, m2.toISOString = function() {
301
+ return this.$d.toISOString();
302
+ }, m2.toString = function() {
303
+ return this.$d.toUTCString();
304
+ }, M2;
305
+ }(), k = _.prototype;
306
+ return O.prototype = k, [["$ms", r2], ["$s", i2], ["$m", s2], ["$H", u], ["$W", a2], ["$M", c2], ["$y", h], ["$D", d]].forEach(function(t3) {
307
+ k[t3[1]] = function(e3) {
308
+ return this.$g(e3, t3[0], t3[1]);
309
+ };
310
+ }), O.extend = function(t3, e3) {
311
+ return t3.$i || (t3(e3, _, O), t3.$i = true), O;
312
+ }, O.locale = w, O.isDayjs = S, O.unix = function(t3) {
313
+ return O(1e3 * t3);
314
+ }, O.en = D[g], O.Ls = D, O.p = {}, O;
315
+ });
316
+ })(dayjs_min);
317
+ var dayjs_minExports = dayjs_min.exports;
325
318
  const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
326
319
  var zh = { exports: {} };
327
320
  (function(module, exports) {
328
321
  !function(e2, _) {
329
- module.exports = _(requireDayjs_min());
322
+ module.exports = _(dayjs_minExports);
330
323
  }(commonjsGlobal, function(e2) {
331
324
  function _(e3) {
332
325
  return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };
@@ -1023,15 +1016,14 @@ const obtain_data_error$1 = "Having trouble getting data.";
1023
1016
  const retry$1 = "Retry";
1024
1017
  const create_resource$1 = "Create {{resource}}";
1025
1018
  const edit_resource$1 = "Edit {{resource}}";
1026
- const state$1 = "State";
1019
+ const state$1 = "Status";
1027
1020
  const name$1 = "Name";
1028
1021
  const pod$1 = "Pod";
1029
1022
  const cancel$1 = "Cancel";
1030
1023
  const create$1 = "Create";
1031
- const confirm_delete_text$1 = "确定要删除 {{target}} 吗?";
1032
- const edit$1 = "edit";
1024
+ const confirm_delete_text$1 = "Are you sure you want to delete the {{kind}} <0>{{target}}</0>?";
1025
+ const edit$1 = "Edit";
1033
1026
  const namespace$1 = "Namespace";
1034
- const image$1 = "Image";
1035
1027
  const created_time$1 = "Creation time";
1036
1028
  const label$1 = "Label";
1037
1029
  const annotation$1 = "Annotation";
@@ -1043,32 +1035,20 @@ const note$2 = "message";
1043
1035
  const condition$1 = "Condition";
1044
1036
  const download_yaml$1 = "Download YAML";
1045
1037
  const detail$1 = "Detail";
1046
- const restarts$1 = "Restart Count";
1047
- const updated_time$1 = "Transition Time";
1048
1038
  const message$1 = "Message";
1049
1039
  const save$1 = "Save";
1050
- const more = "更多";
1051
1040
  const workload$1 = "Workload";
1052
- const all_namespaces$1 = "所有名字空间";
1053
1041
  const empty$1 = "No data available";
1054
1042
  const schedule$1 = "Schedule";
1055
1043
  const lastScheduleTime$1 = "Last Schedule";
1056
1044
  const duration$1 = "Duration";
1057
- const started$1 = "开始时间";
1058
- const init_container$1 = "Init Container";
1059
- const regular_container$1 = "Regular Container";
1045
+ const started$1 = "Start time";
1060
1046
  const container$1 = "Container";
1061
1047
  const redeploy$1 = "Redeploy";
1062
1048
  const data$1 = "Data";
1063
- const suspend$1 = "Suspended";
1064
1049
  const resume$1 = "Resume";
1065
- const clusterIp$1 = "集群 IP";
1066
1050
  const sessionAffinity$1 = "会话保持";
1067
1051
  const log$1 = "Log";
1068
- const select_container$1 = "选择容器";
1069
- const wrap = "折叠";
1070
- const resume_log = "继续";
1071
- const log_new_lines = ",并展示 {{ count }} 行新日志";
1072
1052
  const ready$1 = "Ready";
1073
1053
  const updating$1 = "Updating";
1074
1054
  const completed$1 = "Completed";
@@ -1081,38 +1061,17 @@ const succeeded$1 = "Succeed";
1081
1061
  const unknown$1 = "Unknown";
1082
1062
  const pending$1 = "Pending";
1083
1063
  const waiting$1 = "Waiting";
1084
- const sec$1 = "秒";
1085
- const min$1 = "分";
1086
- const hr$1 = "小时";
1087
- const day$1 = "天";
1088
1064
  const expand$1 = "Expand";
1089
1065
  const fold$1 = "Collapse";
1090
1066
  const rule$1 = "Rule";
1091
- const default_backend$1 = "Default Backend";
1092
- const ingress_class$1 = "Ingress Class";
1093
1067
  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
1068
  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";
1069
+ const ip_address$1 = "IP address";
1108
1070
  const last_seen$1 = "Last Seen";
1109
- const service_port$1 = "Service Port";
1110
- const pod_port$1 = "Pod Port";
1111
1071
  const node_port$1 = "NodePort";
1112
1072
  const protocol$1 = "Protocol";
1113
1073
  const key$1 = "Key";
1114
1074
  const value$1 = "Value";
1115
- const path_type$1 = "Path Type";
1116
1075
  const path$1 = "Path";
1117
1076
  const backend$1 = "Backend";
1118
1077
  const belong_to_node$1 = "Node";
@@ -1124,6 +1083,74 @@ const password$1 = "Password";
1124
1083
  const username$1 = "Username";
1125
1084
  const host$1 = "Host";
1126
1085
  const no_resource$1 = "No {{kind}}";
1086
+ const all_namespaces$1 = "All namespaces";
1087
+ const clusterIp$1 = "Cluster IP";
1088
+ const select_container$1 = "Select container";
1089
+ const sec$1 = "sec";
1090
+ const min$1 = "min";
1091
+ const hr$1 = "hr";
1092
+ const day$1 = "d";
1093
+ const port_mapping$1 = "Port mapping";
1094
+ const out_cluster_access$1 = "Access outside cluster";
1095
+ const in_cluster_access$1 = "Access within cluster";
1096
+ const fail_get_detail$1 = "{{resource}} {{name}} no longer exists";
1097
+ const pod_num$1 = "Pods";
1098
+ const show_data_value$1 = "Show";
1099
+ const hide_data_value$1 = "Hide";
1100
+ const please_input$1 = "Please enter…";
1101
+ const create_failed$1 = "Creation failed.";
1102
+ const create_failed_tip$1 = "Please address the following issues and try again: ";
1103
+ const save_failed$1 = "Failed to save.";
1104
+ const save_failed_tip$1 = "Please address the following issues and try again: ";
1105
+ const completion_num_tooltip$1 = "Completed/Expected";
1106
+ const ready_num_tooltip$1 = "Ready/Expected";
1107
+ const realtime_log$1 = "Real-time logs";
1108
+ const previous_log$1 = "Last startup logs";
1109
+ const auto_wrap$1 = "Auto wrap";
1110
+ const container_num$1 = "Containers";
1111
+ const edit_resource_success$1 = "{{resource}} {{name}} was edited successfully";
1112
+ const redeploy_success_toast$1 = "{{kind}} was redeployed successfully";
1113
+ const redeploy_failed_toast$1 = "Failed to redeploy {{kind}} {{name}}";
1114
+ const pause_success_toast$1 = "Successfully suspended";
1115
+ const pause_failed_toast$1 = "Failed to suspend";
1116
+ const resume_success_toast$1 = "Successfully resumed";
1117
+ const resume_failed_toast$1 = "Failed to resume";
1118
+ const delete_success_toast$1 = "{{kind}} {{name}} was deleted successfully";
1119
+ const delete_failed_toast$1 = "Failed to delete {{kind}} {{name}}";
1120
+ const create_success_toast$1 = "{{kind}} {{name}} was created successfully";
1121
+ const save_yaml_success_toast$1 = "YAML editing was successfully saved";
1122
+ const save_replicas_success_toast$1 = "The expected number of replicas was edited successfully";
1123
+ const save_replicas_failed_toast$1 = "Failed to edit the expected number of replicas";
1124
+ const port_mapping_title_tooltip$1 = "The mapping between the service port and the pod port.";
1125
+ 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.";
1126
+ const in_cluster_ip_desc$1 = "If ClusterIP is a headless service, it will display as blank.";
1127
+ const in_cluster_external_name_desc$1 = "For an ExternalName type service, it displays DNS records.";
1128
+ const out_cluster_ip_desc$1 = "ClusterIP doesn't support external cluster access.";
1129
+ const out_cluster_node_port_desc$1 = "For a NodePort type service, it displays <strong>Node IP:nodeport</strong>.";
1130
+ const out_cluster_lb_desc$1 = "For a LoadBalancer type service, it displays <strong>ingress[*].ip</strong>.";
1131
+ const out_external_name_desc$1 = "For an ExternalName type service, it displays <strong>external-ip</strong>.";
1132
+ const image$1 = "Container image";
1133
+ const restarts$1 = "Restart count";
1134
+ const updated_time$1 = "Transition time";
1135
+ const init_container$1 = "Init container";
1136
+ const regular_container$1 = "Regular container";
1137
+ const suspend$1 = "Suspend";
1138
+ const default_backend$1 = "Default backend";
1139
+ const ingress_class$1 = "IngressClass";
1140
+ const pod_ready_num$1 = "Ready Pod";
1141
+ const pod_complete_num$1 = "Completion Pod";
1142
+ const pod_replicas_num$1 = "Desired Pod";
1143
+ const edit_replicas$1 = "Edit expected number of replicas";
1144
+ const dns_record$1 = "DNS record";
1145
+ const basic_info$1 = "Basic information";
1146
+ const pod_selector$1 = "Pod selector";
1147
+ const ingress_rule$1 = "Ingress rule";
1148
+ const egress_rule$1 = "Egress rule";
1149
+ const service_port$1 = "Service port";
1150
+ const pod_port$1 = "Pod port";
1151
+ const path_type$1 = "Path type";
1152
+ const only_support_one_yaml$1 = "Only one YAML configuration is supported at a time.";
1153
+ const not_support$1 = "Not supported";
1127
1154
  const dovetail$1 = {
1128
1155
  copy: copy$1,
1129
1156
  reset_arguments: reset_arguments$1,
@@ -1149,7 +1176,6 @@ const dovetail$1 = {
1149
1176
  confirm_delete_text: confirm_delete_text$1,
1150
1177
  edit: edit$1,
1151
1178
  namespace: namespace$1,
1152
- image: image$1,
1153
1179
  created_time: created_time$1,
1154
1180
  label: label$1,
1155
1181
  annotation: annotation$1,
@@ -1161,32 +1187,20 @@ const dovetail$1 = {
1161
1187
  condition: condition$1,
1162
1188
  download_yaml: download_yaml$1,
1163
1189
  detail: detail$1,
1164
- restarts: restarts$1,
1165
- updated_time: updated_time$1,
1166
1190
  message: message$1,
1167
1191
  save: save$1,
1168
- more,
1169
1192
  workload: workload$1,
1170
- all_namespaces: all_namespaces$1,
1171
1193
  empty: empty$1,
1172
1194
  schedule: schedule$1,
1173
1195
  lastScheduleTime: lastScheduleTime$1,
1174
1196
  duration: duration$1,
1175
1197
  started: started$1,
1176
- init_container: init_container$1,
1177
- regular_container: regular_container$1,
1178
1198
  container: container$1,
1179
1199
  redeploy: redeploy$1,
1180
1200
  data: data$1,
1181
- suspend: suspend$1,
1182
1201
  resume: resume$1,
1183
- clusterIp: clusterIp$1,
1184
1202
  sessionAffinity: sessionAffinity$1,
1185
1203
  log: log$1,
1186
- select_container: select_container$1,
1187
- wrap,
1188
- resume_log,
1189
- log_new_lines,
1190
1204
  ready: ready$1,
1191
1205
  updating: updating$1,
1192
1206
  completed: completed$1,
@@ -1199,38 +1213,17 @@ const dovetail$1 = {
1199
1213
  unknown: unknown$1,
1200
1214
  pending: pending$1,
1201
1215
  waiting: waiting$1,
1202
- sec: sec$1,
1203
- min: min$1,
1204
- hr: hr$1,
1205
- day: day$1,
1206
1216
  expand: expand$1,
1207
1217
  fold: fold$1,
1208
1218
  rule: rule$1,
1209
- default_backend: default_backend$1,
1210
- ingress_class: ingress_class$1,
1211
1219
  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
1220
  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
1221
  ip_address: ip_address$1,
1226
1222
  last_seen: last_seen$1,
1227
- service_port: service_port$1,
1228
- pod_port: pod_port$1,
1229
1223
  node_port: node_port$1,
1230
1224
  protocol: protocol$1,
1231
1225
  key: key$1,
1232
1226
  value: value$1,
1233
- path_type: path_type$1,
1234
1227
  path: path$1,
1235
1228
  backend: backend$1,
1236
1229
  belong_to_node: belong_to_node$1,
@@ -1243,7 +1236,75 @@ const dovetail$1 = {
1243
1236
  password: password$1,
1244
1237
  username: username$1,
1245
1238
  host: host$1,
1246
- no_resource: no_resource$1
1239
+ no_resource: no_resource$1,
1240
+ all_namespaces: all_namespaces$1,
1241
+ clusterIp: clusterIp$1,
1242
+ select_container: select_container$1,
1243
+ sec: sec$1,
1244
+ min: min$1,
1245
+ hr: hr$1,
1246
+ day: day$1,
1247
+ port_mapping: port_mapping$1,
1248
+ out_cluster_access: out_cluster_access$1,
1249
+ in_cluster_access: in_cluster_access$1,
1250
+ fail_get_detail: fail_get_detail$1,
1251
+ pod_num: pod_num$1,
1252
+ show_data_value: show_data_value$1,
1253
+ hide_data_value: hide_data_value$1,
1254
+ please_input: please_input$1,
1255
+ create_failed: create_failed$1,
1256
+ create_failed_tip: create_failed_tip$1,
1257
+ save_failed: save_failed$1,
1258
+ save_failed_tip: save_failed_tip$1,
1259
+ completion_num_tooltip: completion_num_tooltip$1,
1260
+ ready_num_tooltip: ready_num_tooltip$1,
1261
+ realtime_log: realtime_log$1,
1262
+ previous_log: previous_log$1,
1263
+ auto_wrap: auto_wrap$1,
1264
+ container_num: container_num$1,
1265
+ edit_resource_success: edit_resource_success$1,
1266
+ redeploy_success_toast: redeploy_success_toast$1,
1267
+ redeploy_failed_toast: redeploy_failed_toast$1,
1268
+ pause_success_toast: pause_success_toast$1,
1269
+ pause_failed_toast: pause_failed_toast$1,
1270
+ resume_success_toast: resume_success_toast$1,
1271
+ resume_failed_toast: resume_failed_toast$1,
1272
+ delete_success_toast: delete_success_toast$1,
1273
+ delete_failed_toast: delete_failed_toast$1,
1274
+ create_success_toast: create_success_toast$1,
1275
+ save_yaml_success_toast: save_yaml_success_toast$1,
1276
+ save_replicas_success_toast: save_replicas_success_toast$1,
1277
+ save_replicas_failed_toast: save_replicas_failed_toast$1,
1278
+ port_mapping_title_tooltip: port_mapping_title_tooltip$1,
1279
+ in_cluster_desc: in_cluster_desc$1,
1280
+ in_cluster_ip_desc: in_cluster_ip_desc$1,
1281
+ in_cluster_external_name_desc: in_cluster_external_name_desc$1,
1282
+ out_cluster_ip_desc: out_cluster_ip_desc$1,
1283
+ out_cluster_node_port_desc: out_cluster_node_port_desc$1,
1284
+ out_cluster_lb_desc: out_cluster_lb_desc$1,
1285
+ out_external_name_desc: out_external_name_desc$1,
1286
+ image: image$1,
1287
+ restarts: restarts$1,
1288
+ updated_time: updated_time$1,
1289
+ init_container: init_container$1,
1290
+ regular_container: regular_container$1,
1291
+ suspend: suspend$1,
1292
+ default_backend: default_backend$1,
1293
+ ingress_class: ingress_class$1,
1294
+ pod_ready_num: pod_ready_num$1,
1295
+ pod_complete_num: pod_complete_num$1,
1296
+ pod_replicas_num: pod_replicas_num$1,
1297
+ edit_replicas: edit_replicas$1,
1298
+ dns_record: dns_record$1,
1299
+ basic_info: basic_info$1,
1300
+ pod_selector: pod_selector$1,
1301
+ ingress_rule: ingress_rule$1,
1302
+ egress_rule: egress_rule$1,
1303
+ service_port: service_port$1,
1304
+ pod_port: pod_port$1,
1305
+ path_type: path_type$1,
1306
+ only_support_one_yaml: only_support_one_yaml$1,
1307
+ not_support: not_support$1
1247
1308
  };
1248
1309
  const EN = {
1249
1310
  dovetail: dovetail$1
@@ -1397,6 +1458,8 @@ const out_cluster_ip_desc = "ClusterIP 不支持集群外部访问。";
1397
1458
  const out_cluster_node_port_desc = "NodePort 展示<strong>节点 IP:nodeport</strong>。";
1398
1459
  const out_cluster_lb_desc = "LoadBalancer 展示 <strong>ingress[*].ip</strong>。";
1399
1460
  const out_external_name_desc = "ExternalName 展示 <strong>external-ip</strong>。";
1461
+ const only_support_one_yaml = "一次仅支持输入一个 YAML 配置。";
1462
+ const not_support = "不支持";
1400
1463
  const dovetail = {
1401
1464
  copy,
1402
1465
  reset_arguments,
@@ -1549,7 +1612,9 @@ const dovetail = {
1549
1612
  out_cluster_ip_desc,
1550
1613
  out_cluster_node_port_desc,
1551
1614
  out_cluster_lb_desc,
1552
- out_external_name_desc
1615
+ out_external_name_desc,
1616
+ only_support_one_yaml,
1617
+ not_support
1553
1618
  };
1554
1619
  const ZH = {
1555
1620
  dovetail
@@ -6350,7 +6415,7 @@ lodash.exports;
6350
6415
  function unary(func) {
6351
6416
  return ary(func, 1);
6352
6417
  }
6353
- function wrap2(value2, wrapper) {
6418
+ function wrap(value2, wrapper) {
6354
6419
  return partial(castFunction(wrapper), value2);
6355
6420
  }
6356
6421
  function castArray() {
@@ -7473,7 +7538,7 @@ lodash.exports;
7473
7538
  lodash2.valuesIn = valuesIn;
7474
7539
  lodash2.without = without;
7475
7540
  lodash2.words = words;
7476
- lodash2.wrap = wrap2;
7541
+ lodash2.wrap = wrap;
7477
7542
  lodash2.xor = xor;
7478
7543
  lodash2.xorBy = xorBy;
7479
7544
  lodash2.xorWith = xorWith;
@@ -8034,7 +8099,7 @@ var cx = function cx2() {
8034
8099
  };
8035
8100
  var cx_default = cx;
8036
8101
  const ConfigsContext = createContext({});
8037
- const useDeleteModal_v7eb93 = "";
8102
+ const useDeleteModal_vv2pzj = "";
8038
8103
  const TextStyle = "t1vq0ett";
8039
8104
  const TipStyle = "t139onst";
8040
8105
  const NameStyle$1 = "n18lzor8";
@@ -8526,7 +8591,7 @@ var styled_default = process.env.NODE_ENV !== "production" ? new Proxy(styled, {
8526
8591
  return o(prop);
8527
8592
  }
8528
8593
  }) : styled;
8529
- const index_1rdsv5g = "";
8594
+ const index_6dotpx = "";
8530
8595
  const ErrorWrapper = /* @__PURE__ */ styled_default("div")({
8531
8596
  name: "ErrorWrapper",
8532
8597
  class: "egn3dbn",
@@ -9480,15 +9545,17 @@ var AccessControlAuth = /* @__PURE__ */ ((AccessControlAuth2) => {
9480
9545
  AccessControlAuth2["Create"] = "Create";
9481
9546
  return AccessControlAuth2;
9482
9547
  })(AccessControlAuth || {});
9483
- function matchSelector(pod2, selector) {
9548
+ function matchSelector(pod2, selector, namespace2 = "default") {
9484
9549
  var _a, _b, _c;
9485
9550
  let match = true;
9486
- for (const key2 in selector.matchLabels) {
9487
- if (!((_b = (_a = pod2.metadata) == null ? void 0 : _a.labels) == null ? void 0 : _b[key2]) || ((_c = pod2.metadata.labels) == null ? void 0 : _c[key2]) !== selector.matchLabels[key2]) {
9488
- match = false;
9551
+ if (selector) {
9552
+ for (const key2 in selector.matchLabels) {
9553
+ if (!((_b = (_a = pod2.metadata) == null ? void 0 : _a.labels) == null ? void 0 : _b[key2]) || ((_c = pod2.metadata.labels) == null ? void 0 : _c[key2]) !== selector.matchLabels[key2]) {
9554
+ match = false;
9555
+ }
9489
9556
  }
9490
9557
  }
9491
- return match;
9558
+ return match && pod2.metadata.namespace === namespace2;
9492
9559
  }
9493
9560
  function shortenedImage(image2) {
9494
9561
  return (image2 || "").replace(/^(index\.)?docker.io\/(library\/)?/, "").replace(/:latest$/, "").replace(/^(.*@sha256:)([0-9a-f]{8})[0-9a-f]+$/i, "$1$2…");
@@ -9528,8 +9595,8 @@ class JobModel extends WorkloadBaseModel {
9528
9595
  });
9529
9596
  const myPods = pods.items.filter(
9530
9597
  (p) => {
9531
- var _a, _b;
9532
- return ((_a = this.spec) == null ? void 0 : _a.selector) ? matchSelector(p, (_b = this.spec) == null ? void 0 : _b.selector) : false;
9598
+ var _a;
9599
+ return matchSelector(p, (_a = this.spec) == null ? void 0 : _a.selector, this.metadata.namespace);
9533
9600
  }
9534
9601
  );
9535
9602
  const result = lodashExports.sumBy(myPods, "restartCount");
@@ -9593,8 +9660,8 @@ class WorkloadModel extends WorkloadBaseModel {
9593
9660
  });
9594
9661
  const myPods = pods.items.filter(
9595
9662
  (p) => {
9596
- var _a, _b;
9597
- return ((_a = this.spec) == null ? void 0 : _a.selector) ? matchSelector(p, (_b = this.spec) == null ? void 0 : _b.selector) : false;
9663
+ var _a;
9664
+ return matchSelector(p, (_a = this.spec) == null ? void 0 : _a.selector, this.metadata.namespace);
9598
9665
  }
9599
9666
  );
9600
9667
  const result = lodashExports.sumBy(myPods, "restartCount");
@@ -9751,7 +9818,10 @@ class PodModel extends WorkloadBaseModel {
9751
9818
  get restartCount() {
9752
9819
  var _a, _b;
9753
9820
  if ((_a = this._rawYaml.status) == null ? void 0 : _a.containerStatuses) {
9754
- return ((_b = this._rawYaml.status) == null ? void 0 : _b.containerStatuses[0].restartCount) || 0;
9821
+ return ((_b = this._rawYaml.status) == null ? void 0 : _b.containerStatuses.reduce((count, container2) => {
9822
+ count += container2.restartCount;
9823
+ return count;
9824
+ }, 0)) || 0;
9755
9825
  }
9756
9826
  return 0;
9757
9827
  }
@@ -9934,11 +10004,15 @@ const ServiceInClusterAccessComponent = ({
9934
10004
  service
9935
10005
  }) => {
9936
10006
  const spec = service._rawYaml.spec;
9937
- switch (spec.type) {
10007
+ switch (service.displayType) {
9938
10008
  case ServiceTypeEnum.ExternalName:
9939
10009
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDisplay, {
9940
10010
  value: service.dnsRecord
9941
10011
  });
10012
+ case ServiceTypeEnum.Headless:
10013
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDisplay, {
10014
+ value: ""
10015
+ });
9942
10016
  default:
9943
10017
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDisplay, {
9944
10018
  value: spec.clusterIP
@@ -9953,6 +10027,9 @@ const ServiceOutClusterAccessComponent = ({
9953
10027
  breakLine = true
9954
10028
  }) => {
9955
10029
  var _a, _b, _c, _d;
10030
+ const {
10031
+ i18n: i18n2
10032
+ } = useTranslation();
9956
10033
  const spec = service._rawYaml.spec;
9957
10034
  const status = service._rawYaml.status;
9958
10035
  let content = "-";
@@ -9985,6 +10062,9 @@ const ServiceOutClusterAccessComponent = ({
9985
10062
  }) => ip).join(breakLine ? "\n" : ", ")
9986
10063
  });
9987
10064
  break;
10065
+ case ServiceTypeEnum.ClusterIP:
10066
+ content = i18n2.t("dovetail.not_support");
10067
+ break;
9988
10068
  default:
9989
10069
  content = /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDisplay, {
9990
10070
  value: ""
@@ -10156,6 +10236,7 @@ const Time = (props) => {
10156
10236
  setText(dayjs(date).fromNow());
10157
10237
  };
10158
10238
  i18n2.on("languageChanged", onChange);
10239
+ setText(dayjs(date).fromNow());
10159
10240
  return () => i18n2.off("languageChanged", onChange);
10160
10241
  }, [date, i18n2]);
10161
10242
  if (!date)
@@ -10202,14 +10283,14 @@ const ConditionsTable = ({ conditions = [] }) => {
10202
10283
  sortable: true
10203
10284
  },
10204
10285
  {
10205
- key: "lastUpdateTime",
10286
+ key: "lastTransitionTime",
10206
10287
  display: true,
10207
- dataIndex: "lastUpdateTime",
10288
+ dataIndex: "lastTransitionTime",
10208
10289
  title: t2("dovetail.updated_time"),
10209
10290
  sortable: true,
10210
10291
  width: 120,
10211
- render: (value2, record) => {
10212
- const time = value2 || record.lastTransitionTime;
10292
+ render: (value2) => {
10293
+ const time = value2;
10213
10294
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Time, { date: new Date(time) });
10214
10295
  }
10215
10296
  },
@@ -10471,7 +10552,7 @@ function addDefaultRenderToColumns(columns) {
10471
10552
  }));
10472
10553
  }
10473
10554
  const useEagleTable = (params) => {
10474
- var _a, _b, _c;
10555
+ var _a, _b;
10475
10556
  const { columns, tableProps, formatter, Dropdown = K8sDropdown } = params;
10476
10557
  const [selectedKeys, setSelectedKeys] = useState([]);
10477
10558
  const [currentPage, setCurrentPage] = useState((tableProps == null ? void 0 : tableProps.currentPage) || 1);
@@ -10538,10 +10619,6 @@ const useEagleTable = (params) => {
10538
10619
  order: "desc"
10539
10620
  }]);
10540
10621
  }, []);
10541
- useEffect(() => {
10542
- setCurrentPage(1);
10543
- table.setCurrent(1);
10544
- }, [(_c = params.useTableParams) == null ? void 0 : _c.filters]);
10545
10622
  return { tableProps: finalProps, selectedKeys, ...table };
10546
10623
  };
10547
10624
  function CreateButton() {
@@ -10665,13 +10742,11 @@ const CronjobJobsTable = ({
10665
10742
  const [selectedKeys] = useState([]);
10666
10743
  const component = useContext(ComponentContext);
10667
10744
  const Table$1 = component.Table || Table;
10668
- const columns = [NameColumnRenderer(i18n2, "jobs"), StateDisplayColumnRenderer(i18n2), NameSpaceColumnRenderer(i18n2), {
10745
+ const columns = useMemo(() => [NameColumnRenderer(i18n2, "jobs"), StateDisplayColumnRenderer(i18n2), NameSpaceColumnRenderer(i18n2), {
10669
10746
  ...WorkloadImageColumnRenderer(i18n2),
10670
10747
  width: 238
10671
- }, CompletionsCountColumnRenderer(i18n2), DurationColumnRenderer(i18n2), AgeColumnRenderer(i18n2)];
10672
- const {
10673
- tableProps
10674
- } = useEagleTable({
10748
+ }, CompletionsCountColumnRenderer(i18n2), DurationColumnRenderer(i18n2), AgeColumnRenderer(i18n2)], [i18n2]);
10749
+ const params = useMemo(() => ({
10675
10750
  columns,
10676
10751
  useTableParams: {
10677
10752
  resource: "jobs",
@@ -10689,7 +10764,10 @@ const CronjobJobsTable = ({
10689
10764
  }]
10690
10765
  }
10691
10766
  }
10692
- });
10767
+ }), [columns, owner]);
10768
+ const {
10769
+ tableProps
10770
+ } = useEagleTable(params);
10693
10771
  if (!((_a = tableProps.data) == null ? void 0 : _a.length) && !tableProps.loading) {
10694
10772
  return /* @__PURE__ */ jsxRuntimeExports.jsx(WidgetErrorContent, {
10695
10773
  errorText: i18n2.t("dovetail.no_resource", {
@@ -10711,11 +10789,9 @@ const CronjobJobsTable = ({
10711
10789
  })]
10712
10790
  });
10713
10791
  };
10714
- const EventsTable = ({}) => {
10715
- var _a, _b;
10792
+ const EventsTable = ({ uid }) => {
10793
+ var _a;
10716
10794
  const { i18n: i18n2 } = useTranslation();
10717
- const parsed = useParsed();
10718
- const [regardingNamespace, regardingName] = (_a = parsed == null ? void 0 : parsed.id) == null ? void 0 : _a.split("/");
10719
10795
  const columns = useMemo(
10720
10796
  () => [
10721
10797
  {
@@ -10756,7 +10832,7 @@ const EventsTable = ({}) => {
10756
10832
  ],
10757
10833
  [i18n2]
10758
10834
  );
10759
- const { tableProps } = useEagleTable({
10835
+ const params = useMemo(() => ({
10760
10836
  columns,
10761
10837
  tableProps: {
10762
10838
  defaultSize: 50
@@ -10769,23 +10845,19 @@ const EventsTable = ({}) => {
10769
10845
  operator: "and",
10770
10846
  value: [
10771
10847
  {
10772
- field: "regarding.namespace",
10848
+ field: "regarding.uid",
10773
10849
  operator: "eq",
10774
- value: regardingNamespace
10775
- },
10776
- {
10777
- field: "regarding.name",
10778
- operator: "eq",
10779
- value: regardingName
10850
+ value: uid
10780
10851
  }
10781
10852
  ]
10782
10853
  }]
10783
10854
  }
10784
10855
  }
10785
- });
10856
+ }), [columns, uid]);
10857
+ const { tableProps } = useEagleTable(params);
10786
10858
  const component = useContext(ComponentContext);
10787
10859
  const Table$1 = component.Table || Table;
10788
- if (!((_b = tableProps.data) == null ? void 0 : _b.length) && !tableProps.loading) {
10860
+ if (!((_a = tableProps.data) == null ? void 0 : _a.length) && !tableProps.loading) {
10789
10861
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
10790
10862
  WidgetErrorContent,
10791
10863
  {
@@ -11060,8 +11132,7 @@ const ShowContent = (props) => {
11060
11132
  const {
11061
11133
  showConfig,
11062
11134
  formatter,
11063
- Dropdown = K8sDropdown,
11064
- data: data2
11135
+ Dropdown = K8sDropdown
11065
11136
  } = props;
11066
11137
  const kit = useUIKit();
11067
11138
  const parsed = useParsed();
@@ -11069,9 +11140,18 @@ const ShowContent = (props) => {
11069
11140
  resource
11070
11141
  } = useResource();
11071
11142
  const id = (_a = parsed == null ? void 0 : parsed.params) == null ? void 0 : _a.id;
11143
+ const {
11144
+ queryResult
11145
+ } = useShow({
11146
+ id,
11147
+ errorNotification: false
11148
+ });
11072
11149
  const {
11073
11150
  t: t2
11074
11151
  } = useTranslation();
11152
+ const {
11153
+ data: data2
11154
+ } = queryResult;
11075
11155
  const navigation = useNavigation();
11076
11156
  const go = useGo();
11077
11157
  const openForm = useOpenForm({
@@ -11254,6 +11334,7 @@ function KeyValueSecret(props) {
11254
11334
  }
11255
11335
  const WorkloadPodsTable_1giuese = "";
11256
11336
  const WorkloadPodsTable = ({
11337
+ namespace: namespace2,
11257
11338
  selector,
11258
11339
  hideToolbar
11259
11340
  }) => {
@@ -11289,7 +11370,7 @@ const WorkloadPodsTable = ({
11289
11370
  field: "",
11290
11371
  value: "",
11291
11372
  fn(item) {
11292
- return selector ? matchSelector(item, selector) : true;
11373
+ return matchSelector(item, selector, item.metadata.namespace);
11293
11374
  }
11294
11375
  }]
11295
11376
  }
@@ -11426,7 +11507,7 @@ function useSubmitForm(options) {
11426
11507
  onSubmit
11427
11508
  };
11428
11509
  }
11429
- const index_7c3887 = "";
11510
+ const index_1twfoei = "";
11430
11511
  const EditButtonStyle = "esoz3jw";
11431
11512
  function EditFieldModal(props) {
11432
11513
  const {
@@ -11714,6 +11795,7 @@ const PodsField = () => {
11714
11795
  selector: (_b = (_a = record.metadata.relations) == null ? void 0 : _a.find((r2) => {
11715
11796
  return r2.kind === "Pod" && r2.type === "creates";
11716
11797
  })) == null ? void 0 : _b.selector,
11798
+ namespace: record.metadata.namespace,
11717
11799
  hideToolbar: true
11718
11800
  }
11719
11801
  );
@@ -11778,7 +11860,7 @@ const ServiceTypeField = (i18n2) => {
11778
11860
  return {
11779
11861
  key: "type",
11780
11862
  title: i18n2.t("dovetail.type"),
11781
- path: ["spec", "type"]
11863
+ path: ["displayType"]
11782
11864
  };
11783
11865
  };
11784
11866
  const ClusterIpField = (i18n2) => {
@@ -11807,6 +11889,7 @@ const ServicePodsField = () => {
11807
11889
  selector: (_b = (_a = record.metadata.relations) == null ? void 0 : _a.find((r2) => {
11808
11890
  return r2.kind === "Pod" && r2.type === "selects";
11809
11891
  })) == null ? void 0 : _b.selector,
11892
+ namespace: record.metadata.namespace,
11810
11893
  hideToolbar: true
11811
11894
  }
11812
11895
  );
@@ -11826,8 +11909,8 @@ const EventsTableTabField = () => {
11826
11909
  return {
11827
11910
  key: "event",
11828
11911
  path: [],
11829
- renderContent: () => {
11830
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { padding: "0 24px", height: "100%" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(EventsTable, {}) });
11912
+ renderContent: (_, record) => {
11913
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { padding: "0 24px", height: "100%" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(EventsTable, { uid: record.metadata.uid }) });
11831
11914
  }
11832
11915
  };
11833
11916
  };
@@ -17511,7 +17594,7 @@ const PodLog = ({
17511
17594
  const [logType, setLogType] = useState("realtime");
17512
17595
  const [currentItemCount, setCurrentItemCount] = useState(0);
17513
17596
  const [paused, setPaused] = useState(false);
17514
- const [wrap2, setWrap] = useState(false);
17597
+ const [wrap, setWrap] = useState(false);
17515
17598
  const [linesBehind, setLinesBehind] = useState(0);
17516
17599
  const logViewerRef = useRef(null);
17517
17600
  const abortControllerRef = useRef(null);
@@ -17661,7 +17744,7 @@ const PodLog = ({
17661
17744
  }), /* @__PURE__ */ jsxRuntimeExports.jsxs("span", {
17662
17745
  className: ToolbarAreaStyle,
17663
17746
  children: [/* @__PURE__ */ jsxRuntimeExports.jsx(kit.checkbox, {
17664
- checked: wrap2,
17747
+ checked: wrap,
17665
17748
  onChange: (e2) => setWrap(e2.target.checked),
17666
17749
  children: t2("dovetail.auto_wrap")
17667
17750
  }), /* @__PURE__ */ jsxRuntimeExports.jsx(kit.button, {
@@ -17686,7 +17769,7 @@ const PodLog = ({
17686
17769
  hasLineNumbers: true,
17687
17770
  data: logs,
17688
17771
  theme: "light",
17689
- isTextWrapped: wrap2,
17772
+ isTextWrapped: wrap,
17690
17773
  onScroll
17691
17774
  })
17692
17775
  })]
@@ -18200,11 +18283,11 @@ const PageShow = (props) => {
18200
18283
  retry: 1
18201
18284
  },
18202
18285
  errorNotification: () => {
18203
- var _a2, _b;
18286
+ var _a2;
18204
18287
  return {
18205
18288
  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,
18289
+ resource: resource == null ? void 0 : resource.name,
18290
+ name: (_a2 = parsed == null ? void 0 : parsed.params) == null ? void 0 : _a2.id,
18208
18291
  interpolation: { escapeValue: false }
18209
18292
  }),
18210
18293
  description: "Error",
@@ -18212,13 +18295,13 @@ const PageShow = (props) => {
18212
18295
  };
18213
18296
  }
18214
18297
  });
18215
- const { isLoading, isError, data: data2 } = queryResult;
18298
+ const { isLoading, isError } = queryResult;
18216
18299
  useEffect(() => {
18217
18300
  if (isError && resource) {
18218
18301
  nav.list(resource);
18219
18302
  }
18220
18303
  }, [isError, nav, resource]);
18221
- return isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loading, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(ShowContent, { ...props, data: data2 });
18304
+ return isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loading, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(ShowContent, { ...props });
18222
18305
  };
18223
18306
  const index_17v8shn = "";
18224
18307
  const WrapperStyle$1 = "w1akirqw";
@@ -18667,9 +18750,9 @@ const NamespacesFilter = ({
18667
18750
  })
18668
18751
  });
18669
18752
  };
18670
- function useNamespaceFilter() {
18753
+ function useNamespaceRefineFilter() {
18671
18754
  const { value: nsFilters = [] } = useNamespacesFilter();
18672
- return {
18755
+ const filters = useMemo(() => ({
18673
18756
  permanent: [
18674
18757
  {
18675
18758
  operator: "or",
@@ -18680,7 +18763,8 @@ function useNamespaceFilter() {
18680
18763
  }))
18681
18764
  }
18682
18765
  ]
18683
- };
18766
+ }), [nsFilters]);
18767
+ return filters;
18684
18768
  }
18685
18769
  const index_hp158y = "";
18686
18770
  const ListPageStyle = "laykzsq";
@@ -18746,7 +18830,7 @@ function ResourceList(props) {
18746
18830
  const { formatter, columns, Dropdown, noShow } = props.config;
18747
18831
  const { i18n: i18n2 } = useTranslation();
18748
18832
  const nameRenderer = noShow ? PlainTextNameColumnRenderer(i18n2) : NameColumnRenderer(i18n2);
18749
- const filters = useNamespaceFilter();
18833
+ const filters = useNamespaceRefineFilter();
18750
18834
  const { tableProps, selectedKeys } = useEagleTable({
18751
18835
  useTableParams: {
18752
18836
  filters
@@ -18759,6 +18843,9 @@ function ResourceList(props) {
18759
18843
  formatter,
18760
18844
  Dropdown
18761
18845
  });
18846
+ useEffect(() => {
18847
+ tableProps.onPageChange(1);
18848
+ }, [filters]);
18762
18849
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ListPage, { selectedKeys, tableProps });
18763
18850
  }
18764
18851
  function ResourceShow(props) {
@@ -22086,6 +22173,7 @@ const RefineFormContent = (props) => {
22086
22173
  });
22087
22174
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, {
22088
22175
  direction: "vertical",
22176
+ size: 16,
22089
22177
  className: "cjxv8cf",
22090
22178
  children: [fields, /* @__PURE__ */ jsxRuntimeExports.jsx(FormErrorAlert, {
22091
22179
  errorMsgs: errorMsg ? [errorMsg] : [],
@@ -22777,7 +22865,7 @@ const Separator = () => {
22777
22865
  });
22778
22866
  };
22779
22867
  const MonacoYamlEditor = React__default.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
22780
- const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-a0787f8d.js"));
22868
+ const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-9ad1c844.js"));
22781
22869
  const YamlEditorComponent = forwardRef(
22782
22870
  function YamlEditorComponent2(props, ref) {
22783
22871
  const {
@@ -23846,7 +23934,7 @@ const DrawerShow = (props) => {
23846
23934
  const parsed = useParsed();
23847
23935
  const nav = useNavigation();
23848
23936
  const { queryResult } = useShow({ id: (_a = parsed == null ? void 0 : parsed.params) == null ? void 0 : _a.id });
23849
- const { isLoading, data: data2 } = queryResult;
23937
+ const { isLoading } = queryResult;
23850
23938
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
23851
23939
  Drawer,
23852
23940
  {
@@ -23855,7 +23943,7 @@ const DrawerShow = (props) => {
23855
23943
  onClose: () => nav.goBack(),
23856
23944
  width: "50%",
23857
23945
  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 })
23946
+ children: isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx(kit.loading, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(ShowContent, { ...props })
23859
23947
  }
23860
23948
  );
23861
23949
  };
@@ -24672,191 +24760,192 @@ const relationPlugin = new RelationPlugin();
24672
24760
  const ProviderPlugins = [relationPlugin, modelPlugin];
24673
24761
  const dovetailRefineI18n = i18n;
24674
24762
  export {
24675
- ReplicasDropdown as $,
24763
+ WorkloadDropdown as $,
24676
24764
  AgeColumnRenderer as A,
24677
- useEdit as B,
24765
+ useDownloadYAML as B,
24678
24766
  CommonSorter as C,
24679
24767
  DurationColumnRenderer as D,
24680
- useGlobalStore as E,
24681
- useOpenForm as F,
24682
- Breadcrumb as G,
24683
- NameInputWidget as H,
24768
+ useEdit as E,
24769
+ useGlobalStore as F,
24770
+ useOpenForm as G,
24771
+ Breadcrumb as H,
24684
24772
  IngressRulesColumnRenderer as I,
24685
- dnsSubDomainRules as J,
24686
- rfc1123LabelRules as K,
24687
- rfc1035LabelRules as L,
24773
+ NameInputWidget as J,
24774
+ dnsSubDomainRules as K,
24775
+ rfc1123LabelRules as L,
24688
24776
  ModalStyle as M,
24689
24777
  NameColumnRenderer as N,
24690
- NamespaceSelectWidget as O,
24778
+ rfc1035LabelRules as O,
24691
24779
  PlainTextNameColumnRenderer as P,
24692
- namespaceRules as Q,
24780
+ NamespaceSelectWidget as Q,
24693
24781
  ReplicasColumnRenderer as R,
24694
24782
  StateDisplayColumnRenderer as S,
24695
- KeyValueListWidget as T,
24696
- MetadataForm as U,
24697
- PageShow as V,
24783
+ namespaceRules as T,
24784
+ KeyValueListWidget as U,
24785
+ MetadataForm as V,
24698
24786
  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,
24787
+ PageShow as X,
24788
+ Time as Y,
24789
+ ConditionsTable as Z,
24790
+ PodContainersTable as _,
24791
+ useSchema as a,
24792
+ StateTagStyle as a$,
24793
+ ReplicasDropdown as a0,
24794
+ CreateButton as a1,
24795
+ ImageNames as a2,
24796
+ ResourceList as a3,
24797
+ ResourceShow as a4,
24798
+ ResourceForm as a5,
24799
+ ResourceCRUD as a6,
24800
+ WorkloadPodsTable as a7,
24801
+ CronJobDropdown as a8,
24802
+ ResourceUsageBar as a9,
24803
+ AgeField as aA,
24804
+ LabelsField as aB,
24805
+ AnnotationsField as aC,
24806
+ ServiceInnerClusterAccessField as aD,
24807
+ ServiceOutClusterAccessField as aE,
24808
+ PodSelectorField as aF,
24809
+ PortsTableField as aG,
24810
+ DurationField as aH,
24811
+ EventsTab as aI,
24812
+ PodLogTab as aJ,
24813
+ BasicGroup as aK,
24814
+ PodsGroup as aL,
24815
+ PodContainersGroup as aM,
24816
+ ServicePodsGroup as aN,
24817
+ ConditionsGroup as aO,
24818
+ SecretDataGroup as aP,
24819
+ JobsGroup as aQ,
24820
+ IngressRulesGroup as aR,
24821
+ PodSelectorGroup as aS,
24822
+ PortsGroup as aT,
24823
+ DataGroup as aU,
24824
+ NetworkPolicyIngressRulesGroup as aV,
24825
+ NetworkPolicyEgressRulesGroup as aW,
24826
+ ShowGroupComponent as aX,
24827
+ ShowContent as aY,
24828
+ DeleteManyButton as aZ,
24829
+ ListPage as a_,
24830
+ WorkloadReplicasForm as aa,
24831
+ WorkloadReplicas as ab,
24832
+ CronjobJobsTable as ac,
24833
+ KeyValue as ad,
24834
+ KeyValueAnnotation as ae,
24835
+ KeyValueSecret as af,
24836
+ Separator as ag,
24837
+ YamlEditorComponent as ah,
24838
+ DeleteButton as ai,
24839
+ Layout as aj,
24840
+ AreaType as ak,
24841
+ ImageField as al,
24842
+ ReplicaField as am,
24843
+ ConditionsField as an,
24844
+ PodsField as ao,
24845
+ JobsField as ap,
24846
+ DataField as aq,
24847
+ SecretDataField as ar,
24848
+ StartTimeField as as,
24849
+ ServiceTypeField as at,
24850
+ ClusterIpField as au,
24851
+ SessionAffinityField as av,
24852
+ ServicePodsField as aw,
24853
+ IngressRulesTableTabField as ax,
24854
+ EventsTableTabField as ay,
24855
+ NamespaceField as az,
24856
+ useDeleteModal as b,
24857
+ EventModel as b$,
24858
+ StateTag as b0,
24859
+ DrawerShow as b1,
24860
+ Menu as b2,
24861
+ EditButton as b3,
24862
+ ReferenceLink as b4,
24863
+ ResourceLink as b5,
24864
+ NS_STORE_KEY as b6,
24865
+ ALL_NS as b7,
24866
+ useNamespacesFilter as b8,
24867
+ NamespacesFilter as b9,
24868
+ NETWORK_POLICY_INIT_VALUE as bA,
24869
+ CONFIG_MAP_INIT_VALUE as bB,
24870
+ SERVER_INSTANCE_INIT_VALUE as bC,
24871
+ TIMESTAMP_LABEL as bD,
24872
+ SECRET_OPAQUE_INIT_VALUE as bE,
24873
+ SECRET_IMAGE_REPO_INIT_VALUE as bF,
24874
+ SECRET_BASIC_AUTH_INIT_VALUE as bG,
24875
+ SECRET_SSH_AUTH_INIT_VALUE as bH,
24876
+ SECRET_TLS_INIT_VALUE as bI,
24877
+ SECRET_CUSTOM_INIT_VALUE as bJ,
24878
+ WorkloadState as bK,
24879
+ AccessControlAuth as bL,
24880
+ Dovetail as bM,
24881
+ RESOURCE_GROUP as bN,
24882
+ FormType as bO,
24883
+ ComponentContext as bP,
24884
+ GlobalStoreContext as bQ,
24885
+ ConfigsContext as bR,
24886
+ IngressModel as bS,
24887
+ NetworkPolicyModel as bT,
24888
+ JobModel as bU,
24889
+ WorkloadModel as bV,
24890
+ WorkloadBaseModel as bW,
24891
+ PodModel as bX,
24892
+ PodMetricsModel as bY,
24893
+ ResourceModel as bZ,
24894
+ CronJobModel as b_,
24895
+ FormModal as ba,
24896
+ RefineFormContent as bb,
24897
+ RefineFormPage as bc,
24898
+ SchemaStrategy as bd,
24899
+ YamlForm as be,
24900
+ useRefineForm as bf,
24901
+ ServiceInClusterAccessComponent as bg,
24902
+ ServiceOutClusterAccessComponent as bh,
24903
+ Tags as bi,
24904
+ TextTags as bj,
24905
+ PodLog as bk,
24906
+ NetworkPolicyRulesViewer as bl,
24907
+ Tabs as bm,
24908
+ BASE_INIT_VALUE as bn,
24909
+ DEPLOYMENT_INIT_VALUE as bo,
24910
+ CRONJOB_INIT_VALUE as bp,
24911
+ DAEMONSET_INIT_VALUE as bq,
24912
+ JOB_INIT_VALUE as br,
24913
+ STATEFULSET_INIT_VALUE as bs,
24914
+ POD_INIT_VALUE as bt,
24915
+ SERVICE_CLUSTER_IP_INIT_VALUE as bu,
24916
+ SERVICE_NODE_PORT_INIT_VALUE as bv,
24917
+ SERVICE_LOAD_BALANCER_INIT_VALUE as bw,
24918
+ SERVICE_EXTERNAL_NAME_INIT_VALUE as bx,
24919
+ SERVICE_HEADLESS_INIT_VALUE as by,
24920
+ INGRESS_INIT_VALUE as bz,
24921
+ NameSpaceColumnRenderer as c,
24922
+ DeploymentModel as c0,
24923
+ DaemonSetModel as c1,
24924
+ StatefulSetModel as c2,
24925
+ ServiceTypeEnum as c3,
24926
+ ServiceModel as c4,
24927
+ ProviderPlugins as c5,
24839
24928
  dovetailRefineI18n as d,
24840
- NodeNameColumnRenderer as e,
24841
- RestartCountColumnRenderer as f,
24842
- CompletionsCountColumnRenderer as g,
24843
- ServiceTypeColumnRenderer as h,
24844
- ServiceInClusterAccessTitle as i,
24929
+ WorkloadRestartsColumnRenderer as e,
24930
+ NodeNameColumnRenderer as f,
24931
+ RestartCountColumnRenderer as g,
24932
+ CompletionsCountColumnRenderer as h,
24933
+ ServiceTypeColumnRenderer as i,
24845
24934
  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,
24935
+ ServiceInClusterAccessTitle as k,
24936
+ ServiceInClusterAccessColumnRenderer as l,
24937
+ ServiceOutClusterAccessTitle as m,
24938
+ ServiceOutClusterAccessColumnRenderer as n,
24939
+ PodWorkloadColumnRenderer as o,
24940
+ IngressDefaultBackendColumnRenderer as p,
24941
+ IngressClassColumnRenderer as q,
24853
24942
  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
24943
+ IngressTlsColumnRenderer as s,
24944
+ PodContainersNumColumnRenderer as t,
24945
+ useNamespaceRefineFilter as u,
24946
+ DataKeysColumnRenderer as v,
24947
+ PortMappingColumnRenderer as w,
24948
+ ColumnKeys as x,
24949
+ addDefaultRenderToColumns as y,
24950
+ useEagleTable as z
24862
24951
  };