@dovetail-v2/refine 0.0.63 → 0.0.64

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 (31) hide show
  1. package/dist/{MonacoYamlDiffEditor-2f1b1b7c.js → MonacoYamlDiffEditor-c863e3f0.js} +1 -1
  2. package/dist/{index-bf00640b.js → index-7523291c.js} +738 -475
  3. package/dist/refine.js +179 -159
  4. package/dist/refine.umd.cjs +580 -317
  5. package/dist/style.css +3 -3
  6. package/lib/src/components/Form/type.d.ts +4 -3
  7. package/lib/src/components/K8sDropdown/index.d.ts +1 -1
  8. package/lib/src/components/ResourceLink/index.d.ts +1 -1
  9. package/lib/src/components/ResourceSelect/index.d.ts +12 -0
  10. package/lib/src/components/ShowContent/fields.d.ts +7 -1
  11. package/lib/src/components/ShowContent/groups.d.ts +2 -1
  12. package/lib/src/components/ValueDisplay/index.d.ts +1 -1
  13. package/lib/src/components/index.d.ts +1 -0
  14. package/lib/src/constants/k8s.d.ts +18 -0
  15. package/lib/src/hooks/useEagleTable/columns.d.ts +8 -1
  16. package/lib/src/i18n.d.ts +4 -1
  17. package/lib/src/locales/zh-CN/index.d.ts +4 -1
  18. package/lib/src/models/index.d.ts +4 -0
  19. package/lib/src/models/node-model.d.ts +18 -0
  20. package/lib/src/models/persistent-volume-claim.d.ts +10 -0
  21. package/lib/src/models/persistent-volume.d.ts +10 -0
  22. package/lib/src/models/storage-class.d.ts +13 -0
  23. package/lib/src/models/workload-base-model.d.ts +2 -2
  24. package/lib/src/pages/nodes/index.d.ts +2 -0
  25. package/lib/src/pages/nodes/list/index.d.ts +3 -0
  26. package/lib/src/pages/nodes/show/index.d.ts +3 -0
  27. package/lib/src/pages/persistentvolumes/index.d.ts +19 -0
  28. package/lib/src/pages/storageclasses/form/index.d.ts +9 -0
  29. package/lib/src/pages/storageclasses/index.d.ts +45 -0
  30. package/lib/src/types/resource.d.ts +3 -1
  31. package/package.json +1 -1
@@ -10,7 +10,7 @@ import React__default, { createElement, isValidElement, cloneElement, Children,
10
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
- import { Typo, Tag, useUIKit, kitContext, OverflowTooltip, Tooltip, StatusCapsule, usePushModal, Icon as Icon$1, Link as Link$1, Button, usePopModal, Loading, Divider, Fields, Space, Form, Modal, useMessage, ModalStack, KitStoreProvider } from "@cloudtower/eagle";
13
+ import { Typo, Tag, useUIKit, kitContext, OverflowTooltip, Tooltip, StatusCapsule, usePushModal, Icon as Icon$1, Link as Link$1, Button, usePopModal, Loading, Divider, Fields, Space, Form, Modal, Select, AntdOption, useMessage, ModalStack, KitStoreProvider } from "@cloudtower/eagle";
14
14
  import { EditPen16PrimaryIcon, Download16GradientBlueIcon, TrashBinDelete16Icon, MoreEllipsis324BoldSecondaryIcon, MoreEllipsis324BoldBlueIcon, MoreEllipsis316BoldBlueIcon, PlusAddCreateNew16BoldOntintIcon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, EditPen16GradientBlueIcon, ViewEye16GradientGrayIcon, EntityFilterIgnoreGradient16GrayIcon, RecoverContinue16GradientBlueIcon, SuspendedPause16GradientBlueIcon, Retry16GradientBlueIcon, HierarchyTriangleRight16GrayIcon, HierarchyTriangleRight16BlueIcon, ClipboardCopy16GradientGrayIcon, ClipboardCopy16GradientBlueIcon, Retry16GradientGrayIcon, EditPen16GradientGrayIcon, Showdiff16GradientGrayIcon, Showdiff16GradientBlueIcon, XmarkFailedSeriousWarningFill16RedIcon, ExclamationErrorCircleFill16RedIcon, Pause16GradientBlueIcon } from "@cloudtower/icons-react";
15
15
  import { omit as omit$1, merge, get as get$3, first, debounce, last, isObject as isObject$4, keyBy } from "lodash-es";
16
16
  import yaml from "js-yaml";
@@ -25,301 +25,308 @@ 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
- (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)
93
- return new Date(e3);
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);
170
- };
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;
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
+ }
246
105
  }
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);
106
+ 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]);
255
314
  };
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;
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();
318
325
  const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
319
326
  var zh = { exports: {} };
320
327
  (function(module, exports) {
321
328
  !function(e2, _) {
322
- module.exports = _(dayjs_minExports);
329
+ module.exports = _(requireDayjs_min());
323
330
  }(commonjsGlobal, function(e2) {
324
331
  function _(e3) {
325
332
  return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };
@@ -1152,7 +1159,7 @@ const path_type$1 = "Path type";
1152
1159
  const only_support_one_yaml$1 = "Only one YAML configuration is supported at a time.";
1153
1160
  const not_support$1 = "Not supported";
1154
1161
  const stopped$1 = "Stopped";
1155
- const any_node_ip$1 = "Any node IP";
1162
+ const any_node_ip = "Any node IP";
1156
1163
  const dovetail$1 = {
1157
1164
  copy: copy$1,
1158
1165
  reset_arguments: reset_arguments$1,
@@ -1308,7 +1315,7 @@ const dovetail$1 = {
1308
1315
  only_support_one_yaml: only_support_one_yaml$1,
1309
1316
  not_support: not_support$1,
1310
1317
  stopped: stopped$1,
1311
- any_node_ip: any_node_ip$1
1318
+ any_node_ip
1312
1319
  };
1313
1320
  const EN = {
1314
1321
  dovetail: dovetail$1
@@ -1465,7 +1472,10 @@ const out_external_name_desc = "ExternalName 展示 <strong>external-ip</strong>
1465
1472
  const only_support_one_yaml = "一次仅支持输入一个 YAML 配置。";
1466
1473
  const not_support = "不支持";
1467
1474
  const stopped = "已停止";
1468
- const any_node_ip = "任意节点 IP";
1475
+ const storage_class = "存储类";
1476
+ const persistent_volumn = "持久卷";
1477
+ const provisioner = "制备器";
1478
+ const file_system = "文件系统";
1469
1479
  const dovetail = {
1470
1480
  copy,
1471
1481
  reset_arguments,
@@ -1622,7 +1632,10 @@ const dovetail = {
1622
1632
  only_support_one_yaml,
1623
1633
  not_support,
1624
1634
  stopped,
1625
- any_node_ip
1635
+ storage_class,
1636
+ persistent_volumn,
1637
+ provisioner,
1638
+ file_system
1626
1639
  };
1627
1640
  const ZH = {
1628
1641
  dovetail
@@ -8231,6 +8244,7 @@ function ValueDisplay(props) {
8231
8244
  }
8232
8245
  const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8233
8246
  __proto__: null,
8247
+ ValueDisplay,
8234
8248
  default: ValueDisplay
8235
8249
  }, Symbol.toStringTag, { value: "Module" }));
8236
8250
  function getSecondsDiff(startDate, endDate) {
@@ -9548,6 +9562,24 @@ const SECRET_CUSTOM_INIT_VALUE = {
9548
9562
  "type": "",
9549
9563
  "data": {}
9550
9564
  };
9565
+ const NODE_INIT_VALUE = {
9566
+ "apiVersion": "v1",
9567
+ "kind": "Node",
9568
+ "metadata": {
9569
+ "name": "example",
9570
+ "namespace": "default"
9571
+ },
9572
+ "spec": {}
9573
+ };
9574
+ const STORAGE_CLASS_INIT_VALUE = {
9575
+ "apiVersion": "storage.k8s.io/v1",
9576
+ "kind": "StorageClass",
9577
+ "metadata": {
9578
+ "name": "example",
9579
+ "namespace": "default"
9580
+ },
9581
+ "spec": {}
9582
+ };
9551
9583
  var WorkloadState = /* @__PURE__ */ ((WorkloadState2) => {
9552
9584
  WorkloadState2["Terminated"] = "terminated";
9553
9585
  WorkloadState2["UPDATING"] = "updating";
@@ -10033,6 +10065,69 @@ class ServiceModel extends ResourceModel {
10033
10065
  });
10034
10066
  }
10035
10067
  }
10068
+ var NodeRole = /* @__PURE__ */ ((NodeRole2) => {
10069
+ NodeRole2["ControlPlane"] = "Control Plane";
10070
+ NodeRole2["Worker"] = "Worker";
10071
+ return NodeRole2;
10072
+ })(NodeRole || {});
10073
+ class NodeModel extends WorkloadBaseModel {
10074
+ constructor(_rawYaml, _globalStore) {
10075
+ super(_rawYaml, _globalStore);
10076
+ this._rawYaml = _rawYaml;
10077
+ this._globalStore = _globalStore;
10078
+ }
10079
+ get role() {
10080
+ return "node-role.kubernetes.io/control-plane" in (this.metadata.labels || {}) ? "Control Plane" : "Worker";
10081
+ }
10082
+ get ip() {
10083
+ var _a, _b;
10084
+ return (_b = (_a = this._rawYaml.status.addresses) == null ? void 0 : _a.find((add) => add.type === "InternalIP")) == null ? void 0 : _b.address;
10085
+ }
10086
+ get nodeGroupName() {
10087
+ var _a;
10088
+ return (_a = this.metadata.labels) == null ? void 0 : _a["cape.infrastructure.cluster.x-k8s.io/node-group"];
10089
+ }
10090
+ get isControlPlane() {
10091
+ var _a;
10092
+ if (!((_a = this == null ? void 0 : this.metadata) == null ? void 0 : _a.labels))
10093
+ return false;
10094
+ return "node-role.kubernetes.io/control-plane" in this.metadata.labels;
10095
+ }
10096
+ }
10097
+ class StorageClassModel extends ResourceModel {
10098
+ constructor(_rawYaml, _globalStore) {
10099
+ super(_rawYaml, _globalStore);
10100
+ __publicField(this, "pvs", []);
10101
+ this._rawYaml = _rawYaml;
10102
+ this._globalStore = _globalStore;
10103
+ }
10104
+ async init() {
10105
+ const pvs = await this._globalStore.get("persistentvolumes", {
10106
+ resourceBasePath: "/api/v1",
10107
+ kind: "PersistentVolume"
10108
+ });
10109
+ this.pvs = pvs.items.filter(
10110
+ (pv) => {
10111
+ var _a;
10112
+ return ((_a = pv.spec) == null ? void 0 : _a.storageClassName) === this.metadata.name;
10113
+ }
10114
+ );
10115
+ }
10116
+ }
10117
+ class PersistentVolumeModel extends ResourceModel {
10118
+ constructor(_rawYaml, _globalStore) {
10119
+ super(_rawYaml, _globalStore);
10120
+ this._rawYaml = _rawYaml;
10121
+ this._globalStore = _globalStore;
10122
+ }
10123
+ }
10124
+ class PersistentVolumeClaimModel extends ResourceModel {
10125
+ constructor(_rawYaml, _globalStore) {
10126
+ super(_rawYaml, _globalStore);
10127
+ this._rawYaml = _rawYaml;
10128
+ this._globalStore = _globalStore;
10129
+ }
10130
+ }
10036
10131
  const index_1lzkrja = "";
10037
10132
  const ServiceInClusterAccessComponent = ({
10038
10133
  service
@@ -10429,6 +10524,8 @@ var RESOURCE_GROUP = /* @__PURE__ */ ((RESOURCE_GROUP2) => {
10429
10524
  RESOURCE_GROUP2["CLUSTER"] = "CLUSTER";
10430
10525
  RESOURCE_GROUP2["SERVICE"] = "SERVICE";
10431
10526
  RESOURCE_GROUP2["SERVICE_AND_NETWORK"] = "SERVICE_AND_NETWORK";
10527
+ RESOURCE_GROUP2["CONFIG"] = "CONFIG";
10528
+ RESOURCE_GROUP2["NODE_MANAGEMENT"] = "NODE_MANAGEMENT";
10432
10529
  return RESOURCE_GROUP2;
10433
10530
  })(RESOURCE_GROUP || {});
10434
10531
  var FormType = /* @__PURE__ */ ((FormType2) => {
@@ -10945,7 +11042,7 @@ const index_cbhkdt = "";
10945
11042
  const LinkStyle = "l1vnw9x0";
10946
11043
  const ResourceLink = (props) => {
10947
11044
  const {
10948
- name: name2,
11045
+ resourceName,
10949
11046
  namespace: namespace2,
10950
11047
  resourceId
10951
11048
  } = props;
@@ -10954,9 +11051,9 @@ const ResourceLink = (props) => {
10954
11051
  const go = useGo();
10955
11052
  const onClick = () => {
10956
11053
  go({
10957
- to: navigation.showUrl(name2, ""),
11054
+ to: navigation.showUrl(resourceName, ""),
10958
11055
  query: {
10959
- id: `${namespace2}/${resourceId}`
11056
+ id: namespace2 ? `${namespace2}/${resourceId}` : resourceId
10960
11057
  },
10961
11058
  options: {
10962
11059
  keepQuery: true
@@ -11008,7 +11105,7 @@ const IngressRulesTable = ({ ingress }) => {
11008
11105
  return record.serviceName ? /* @__PURE__ */ jsxRuntimeExports.jsx(
11009
11106
  ResourceLink,
11010
11107
  {
11011
- name: "services",
11108
+ resourceName: "services",
11012
11109
  namespace: ingress.metadata.namespace || "default",
11013
11110
  resourceId: serviceName
11014
11111
  }
@@ -11035,7 +11132,7 @@ const IngressRulesTable = ({ ingress }) => {
11035
11132
  return secretName ? /* @__PURE__ */ jsxRuntimeExports.jsx(
11036
11133
  ResourceLink,
11037
11134
  {
11038
- name: "secrets",
11135
+ resourceName: "secrets",
11039
11136
  namespace: ingress.metadata.namespace || "default",
11040
11137
  resourceId: secretName
11041
11138
  }
@@ -11162,7 +11259,7 @@ function Tabs(props) {
11162
11259
  return /* @__PURE__ */ jsxRuntimeExports.jsx(kit.tabsTabPane, { tab: tab.title, children: tab.children }, tab.title);
11163
11260
  }) });
11164
11261
  }
11165
- const ShowContent_vvz9yc = "";
11262
+ const ShowContent_1u0cbxv = "";
11166
11263
  const ShowContentWrapperStyle = "s9agep2";
11167
11264
  const BackButton = "bo89gfi";
11168
11265
  const ToolBarWrapper = "t1ohe42f";
@@ -11194,7 +11291,7 @@ function ShowGroupComponent(props) {
11194
11291
  });
11195
11292
  }
11196
11293
  const ShowContent = (props) => {
11197
- var _a, _b, _c;
11294
+ var _a, _b, _c, _d;
11198
11295
  const {
11199
11296
  showConfig,
11200
11297
  formatter,
@@ -11234,6 +11331,8 @@ const ShowContent = (props) => {
11234
11331
  if (!record)
11235
11332
  return null;
11236
11333
  return fields.map((field) => {
11334
+ if (field.hidden)
11335
+ return null;
11237
11336
  let content;
11238
11337
  const value2 = get$3(record, field.path);
11239
11338
  if (field.renderContent) {
@@ -11309,7 +11408,7 @@ const ShowContent = (props) => {
11309
11408
  state: stateDisplay
11310
11409
  }) : void 0]
11311
11410
  }), /* @__PURE__ */ jsxRuntimeExports.jsxs(kit.space, {
11312
- children: [/* @__PURE__ */ jsxRuntimeExports.jsx(CanAccess, {
11411
+ children: [(_d = showConfig.renderExtraButton) == null ? void 0 : _d.call(showConfig, record), !showConfig.hideEditYamlButton ? /* @__PURE__ */ jsxRuntimeExports.jsx(CanAccess, {
11313
11412
  resource: resource == null ? void 0 : resource.name,
11314
11413
  action: AccessControlAuth.Edit,
11315
11414
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(kit.button, {
@@ -11320,7 +11419,7 @@ const ShowContent = (props) => {
11320
11419
  prefixIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(EditPen16GradientBlueIcon, {}),
11321
11420
  children: t2("dovetail.edit_yaml")
11322
11421
  })
11323
- }), /* @__PURE__ */ jsxRuntimeExports.jsx(Dropdown, {
11422
+ }) : null, /* @__PURE__ */ jsxRuntimeExports.jsx(Dropdown, {
11324
11423
  record,
11325
11424
  size: "large"
11326
11425
  })]
@@ -12070,6 +12169,36 @@ const DurationField = (i18n2) => {
12070
12169
  }
12071
12170
  };
12072
12171
  };
12172
+ const StorageClassProvisionerField = (i18n2) => {
12173
+ return {
12174
+ key: "provisioner",
12175
+ path: ["provisioner"],
12176
+ title: i18n2.t("dovetail.provisioner")
12177
+ };
12178
+ };
12179
+ const StorageClassFsTypeField = (i18n2) => {
12180
+ return {
12181
+ key: "fstype",
12182
+ path: ["parameters", "csi.storage.k8s.io/fstype"],
12183
+ title: i18n2.t("dovetail.file_system")
12184
+ };
12185
+ };
12186
+ const StorageClassPvField = () => {
12187
+ return {
12188
+ key: "pvs",
12189
+ path: ["pvs"],
12190
+ renderContent: (pvs) => {
12191
+ return pvs.map((pv) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
12192
+ ResourceLink,
12193
+ {
12194
+ resourceName: "persistentvolumes",
12195
+ namespace: pv.metadata.namespace || "",
12196
+ resourceId: pv.id
12197
+ }
12198
+ ) }, pv.metadata.name));
12199
+ }
12200
+ };
12201
+ };
12073
12202
  function __rest(s2, e2) {
12074
12203
  var t2 = {};
12075
12204
  for (var p in s2)
@@ -18293,21 +18422,27 @@ const JobsGroup = () => ({
18293
18422
  });
18294
18423
  const IngressRulesGroup = (i18n2) => ({
18295
18424
  title: i18n2.t("dovetail.rule"),
18296
- areas: [{
18297
- fields: [IngressRulesTableTabField()]
18298
- }]
18425
+ areas: [
18426
+ {
18427
+ fields: [IngressRulesTableTabField()]
18428
+ }
18429
+ ]
18299
18430
  });
18300
18431
  const PodSelectorGroup = (i18n2) => ({
18301
18432
  title: i18n2.t("dovetail.pod_selector"),
18302
- areas: [{
18303
- fields: [PodSelectorField()]
18304
- }]
18433
+ areas: [
18434
+ {
18435
+ fields: [PodSelectorField()]
18436
+ }
18437
+ ]
18305
18438
  });
18306
18439
  const PortsGroup = (i18n2) => ({
18307
18440
  title: i18n2.t("dovetail.port"),
18308
- areas: [{
18309
- fields: [PortsTableField()]
18310
- }]
18441
+ areas: [
18442
+ {
18443
+ fields: [PortsTableField()]
18444
+ }
18445
+ ]
18311
18446
  });
18312
18447
  const DataGroup = (i18n2) => ({
18313
18448
  title: i18n2.t("dovetail.data"),
@@ -18361,6 +18496,14 @@ const NetworkPolicyEgressRulesGroup = (i18n2) => ({
18361
18496
  }
18362
18497
  ]
18363
18498
  });
18499
+ const StorageClassPvGroup = (i18n2) => ({
18500
+ title: i18n2.t("dovetail.persistent_volumn"),
18501
+ areas: [
18502
+ {
18503
+ fields: [StorageClassPvField()]
18504
+ }
18505
+ ]
18506
+ });
18364
18507
  const PageShow = (props) => {
18365
18508
  var _a;
18366
18509
  const parsed = useParsed();
@@ -22237,6 +22380,9 @@ const RefineFormContent = (props) => {
22237
22380
  children: value2
22238
22381
  });
22239
22382
  }
22383
+ if (c2 == null ? void 0 : c2.render) {
22384
+ ele = c2.render(value2, onChange, formValue, onBlur, action, control);
22385
+ }
22240
22386
  if (c2.helperText) {
22241
22387
  ele = /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, {
22242
22388
  size: 4,
@@ -22248,9 +22394,6 @@ const RefineFormContent = (props) => {
22248
22394
  })]
22249
22395
  });
22250
22396
  }
22251
- if (c2 == null ? void 0 : c2.render) {
22252
- ele = c2.render(value2, onChange, formValue, onBlur, action);
22253
- }
22254
22397
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Form.Item, {
22255
22398
  label: c2.label,
22256
22399
  colon: false,
@@ -22960,7 +23103,7 @@ const Separator = () => {
22960
23103
  });
22961
23104
  };
22962
23105
  const MonacoYamlEditor = React__default.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
22963
- const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-2f1b1b7c.js"));
23106
+ const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-c863e3f0.js"));
22964
23107
  const YamlEditorComponent = forwardRef(
22965
23108
  function YamlEditorComponent2(props, ref) {
22966
23109
  const {
@@ -24103,7 +24246,7 @@ const ReferenceLink = (props) => {
24103
24246
  ResourceLink,
24104
24247
  {
24105
24248
  resourceId: ownerReference.name,
24106
- name: resource.name || "",
24249
+ resourceName: resource.name || "",
24107
24250
  namespace: namespace2
24108
24251
  }
24109
24252
  );
@@ -24118,6 +24261,32 @@ const TextTags = (props) => {
24118
24261
  });
24119
24262
  return /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: tags });
24120
24263
  };
24264
+ function ResourceSelect(props) {
24265
+ const { resource, resourceBasePath, kind, selectProps, value: value2, onChange } = props;
24266
+ const { data: data2, isLoading, isError } = useList({
24267
+ resource,
24268
+ meta: {
24269
+ resourceBasePath,
24270
+ kind
24271
+ },
24272
+ pagination: {
24273
+ mode: "off"
24274
+ }
24275
+ });
24276
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
24277
+ Select,
24278
+ {
24279
+ input: {
24280
+ value: value2,
24281
+ onChange
24282
+ },
24283
+ loading: isLoading,
24284
+ error: isError,
24285
+ ...selectProps,
24286
+ children: data2 == null ? void 0 : data2.data.map((namespace2) => /* @__PURE__ */ jsxRuntimeExports.jsx(AntdOption, { value: namespace2.metadata.name, children: namespace2.metadata.name }, namespace2.metadata.name))
24287
+ }
24288
+ );
24289
+ }
24121
24290
  const IngressRulesComponent = ({ ingress }) => {
24122
24291
  const kit = useUIKit();
24123
24292
  const result = ingress.flattenedRules.map((r2) => {
@@ -24132,7 +24301,7 @@ const IngressRulesComponent = ({ ingress }) => {
24132
24301
  /* @__PURE__ */ jsxRuntimeExports.jsx(
24133
24302
  ResourceLink,
24134
24303
  {
24135
- name: "services",
24304
+ resourceName: "services",
24136
24305
  namespace: ingress.metadata.namespace || "default",
24137
24306
  resourceId: r2.serviceName
24138
24307
  }
@@ -24677,6 +24846,76 @@ const PortMappingColumnRenderer = (i18n2, clusterVip) => {
24677
24846
  }
24678
24847
  };
24679
24848
  };
24849
+ const ProvisionerColumnRenderer = (i18n2) => {
24850
+ return {
24851
+ key: "provisioner",
24852
+ display: true,
24853
+ dataIndex: ["provisioner"],
24854
+ title: i18n2.t("dovetail.provisioner"),
24855
+ width: 120,
24856
+ sortable: true
24857
+ };
24858
+ };
24859
+ const FsTypeColumnRenderer = (i18n2) => {
24860
+ return {
24861
+ key: "fstype",
24862
+ display: true,
24863
+ dataIndex: ["parameters", "csi.storage.k8s.io/fstype"],
24864
+ title: i18n2.t("dovetail.file_system"),
24865
+ width: 120,
24866
+ sortable: true
24867
+ };
24868
+ };
24869
+ const PVCapacityColumnRenderer = (i18n2) => {
24870
+ return {
24871
+ key: "capacity",
24872
+ display: true,
24873
+ dataIndex: ["spec", "capacity", "storage"],
24874
+ title: i18n2.t("dovetail.capacity"),
24875
+ width: 120,
24876
+ sortable: true
24877
+ };
24878
+ };
24879
+ const PVStorageClassColumnRenderer = (i18n2) => {
24880
+ return {
24881
+ key: "storageClass",
24882
+ display: true,
24883
+ dataIndex: ["spec", "storageClassName"],
24884
+ title: i18n2.t("dovetail.storage_class"),
24885
+ width: 120,
24886
+ sortable: true
24887
+ };
24888
+ };
24889
+ const PVPhaseColumnRenderer = (i18n2) => {
24890
+ return {
24891
+ key: "phase",
24892
+ display: true,
24893
+ dataIndex: ["status", "phase"],
24894
+ title: i18n2.t("dovetail.phase"),
24895
+ width: 120,
24896
+ sortable: true
24897
+ };
24898
+ };
24899
+ const PVModeColumnRenderer = (i18n2) => {
24900
+ return {
24901
+ key: "mode",
24902
+ display: true,
24903
+ dataIndex: ["spec", "volumeMode"],
24904
+ title: i18n2.t("dovetail.volume_mode"),
24905
+ width: 120,
24906
+ sortable: true
24907
+ };
24908
+ };
24909
+ const PVAccessModeColumnRenderer = (i18n2) => {
24910
+ return {
24911
+ key: "accessMode",
24912
+ display: true,
24913
+ dataIndex: ["spec", "accessModes"],
24914
+ title: i18n2.t("dovetail.access_mode"),
24915
+ width: 120,
24916
+ sortable: true
24917
+ };
24918
+ };
24680
24919
  const styles = "";
24681
24920
  const Dovetail = (props) => {
24682
24921
  const {
@@ -24764,7 +25003,11 @@ const ModelMap = {
24764
25003
  Event: EventModel,
24765
25004
  Ingress: IngressModel,
24766
25005
  NetworkPolicy: NetworkPolicyModel,
24767
- Service: ServiceModel
25006
+ Service: ServiceModel,
25007
+ Node: NodeModel,
25008
+ StorageClass: StorageClassModel,
25009
+ PersistentVolume: PersistentVolumeModel,
25010
+ PersistentVolumeClaim: PersistentVolumeClaimModel
24768
25011
  };
24769
25012
  class ModelPlugin {
24770
25013
  constructor() {
@@ -24890,172 +25133,192 @@ const relationPlugin = new RelationPlugin();
24890
25133
  const ProviderPlugins = [relationPlugin, modelPlugin];
24891
25134
  const dovetailRefineI18n = i18n;
24892
25135
  export {
24893
- PodContainersTable as $,
25136
+ NamespaceSelectWidget as $,
24894
25137
  AgeColumnRenderer as A,
24895
- useDownloadYAML as B,
25138
+ PVPhaseColumnRenderer as B,
24896
25139
  CommonSorter as C,
24897
25140
  DurationColumnRenderer as D,
24898
- useEdit as E,
24899
- useGlobalStore as F,
24900
- useOpenForm as G,
24901
- index as H,
25141
+ PVModeColumnRenderer as E,
25142
+ FsTypeColumnRenderer as F,
25143
+ PVAccessModeColumnRenderer as G,
25144
+ ColumnKeys as H,
24902
25145
  IngressRulesColumnRenderer as I,
24903
- Breadcrumb as J,
24904
- NameInputWidget as K,
24905
- dnsSubDomainRules as L,
25146
+ addDefaultRenderToColumns as J,
25147
+ useEagleTable as K,
25148
+ useDownloadYAML as L,
24906
25149
  ModalStyle as M,
24907
25150
  NameColumnRenderer as N,
24908
- rfc1123LabelRules as O,
25151
+ useEdit as O,
24909
25152
  PlainTextNameColumnRenderer as P,
24910
- rfc1035LabelRules as Q,
25153
+ useGlobalStore as Q,
24911
25154
  ReplicasColumnRenderer as R,
24912
25155
  StateDisplayColumnRenderer as S,
24913
- NamespaceSelectWidget as T,
24914
- namespaceRules as U,
24915
- KeyValueListWidget as V,
25156
+ useOpenForm as T,
25157
+ index as U,
25158
+ Breadcrumb as V,
24916
25159
  WorkloadImageColumnRenderer as W,
24917
- MetadataForm as X,
24918
- PageShow as Y,
24919
- Time as Z,
24920
- ConditionsTable as _,
25160
+ NameInputWidget as X,
25161
+ dnsSubDomainRules as Y,
25162
+ rfc1123LabelRules as Z,
25163
+ rfc1035LabelRules as _,
24921
25164
  useSchema as a,
24922
- ListPage as a$,
24923
- WorkloadDropdown as a0,
24924
- ReplicasDropdown as a1,
24925
- CreateButton as a2,
24926
- ImageNames as a3,
24927
- ResourceList as a4,
24928
- ResourceShow as a5,
24929
- ResourceForm as a6,
24930
- ResourceCRUD as a7,
24931
- WorkloadPodsTable as a8,
24932
- CronJobDropdown as a9,
24933
- NamespaceField as aA,
24934
- AgeField as aB,
24935
- LabelsField as aC,
24936
- AnnotationsField as aD,
24937
- ServiceInnerClusterAccessField as aE,
24938
- ServiceOutClusterAccessField as aF,
24939
- PodSelectorField as aG,
24940
- PortsTableField as aH,
24941
- DurationField as aI,
24942
- EventsTab as aJ,
24943
- PodLogTab as aK,
24944
- BasicGroup as aL,
24945
- PodsGroup as aM,
24946
- PodContainersGroup as aN,
24947
- ServicePodsGroup as aO,
24948
- ConditionsGroup as aP,
24949
- SecretDataGroup as aQ,
24950
- JobsGroup as aR,
24951
- IngressRulesGroup as aS,
24952
- PodSelectorGroup as aT,
24953
- PortsGroup as aU,
24954
- DataGroup as aV,
24955
- NetworkPolicyIngressRulesGroup as aW,
24956
- NetworkPolicyEgressRulesGroup as aX,
24957
- ShowGroupComponent as aY,
24958
- ShowContent as aZ,
24959
- DeleteManyButton as a_,
24960
- ResourceUsageBar as aa,
24961
- WorkloadReplicasForm as ab,
24962
- WorkloadReplicas as ac,
24963
- CronjobJobsTable as ad,
24964
- KeyValue as ae,
24965
- KeyValueAnnotation as af,
24966
- KeyValueSecret as ag,
24967
- Separator as ah,
24968
- YamlEditorComponent as ai,
24969
- DeleteButton as aj,
24970
- Layout as ak,
24971
- AreaType as al,
24972
- ImageField as am,
24973
- ReplicaField as an,
24974
- ConditionsField as ao,
24975
- PodsField as ap,
24976
- JobsField as aq,
24977
- DataField as ar,
24978
- SecretDataField as as,
24979
- StartTimeField as at,
24980
- ServiceTypeField as au,
24981
- ClusterIpField as av,
24982
- SessionAffinityField as aw,
24983
- ServicePodsField as ax,
24984
- IngressRulesTableTabField as ay,
24985
- EventsTableTabField as az,
25165
+ SecretDataGroup as a$,
25166
+ namespaceRules as a0,
25167
+ KeyValueListWidget as a1,
25168
+ MetadataForm as a2,
25169
+ PageShow as a3,
25170
+ Time as a4,
25171
+ ConditionsTable as a5,
25172
+ PodContainersTable as a6,
25173
+ WorkloadDropdown as a7,
25174
+ ReplicasDropdown as a8,
25175
+ CreateButton as a9,
25176
+ SecretDataField as aA,
25177
+ StartTimeField as aB,
25178
+ ServiceTypeField as aC,
25179
+ ClusterIpField as aD,
25180
+ SessionAffinityField as aE,
25181
+ ServicePodsField as aF,
25182
+ IngressRulesTableTabField as aG,
25183
+ EventsTableTabField as aH,
25184
+ NamespaceField as aI,
25185
+ AgeField as aJ,
25186
+ LabelsField as aK,
25187
+ AnnotationsField as aL,
25188
+ ServiceInnerClusterAccessField as aM,
25189
+ ServiceOutClusterAccessField as aN,
25190
+ PodSelectorField as aO,
25191
+ PortsTableField as aP,
25192
+ DurationField as aQ,
25193
+ StorageClassProvisionerField as aR,
25194
+ StorageClassFsTypeField as aS,
25195
+ StorageClassPvField as aT,
25196
+ EventsTab as aU,
25197
+ PodLogTab as aV,
25198
+ BasicGroup as aW,
25199
+ PodsGroup as aX,
25200
+ PodContainersGroup as aY,
25201
+ ServicePodsGroup as aZ,
25202
+ ConditionsGroup as a_,
25203
+ ImageNames as aa,
25204
+ ResourceList as ab,
25205
+ ResourceShow as ac,
25206
+ ResourceForm as ad,
25207
+ ResourceCRUD as ae,
25208
+ WorkloadPodsTable as af,
25209
+ CronJobDropdown as ag,
25210
+ K8sDropdown as ah,
25211
+ ResourceUsageBar as ai,
25212
+ WorkloadReplicasForm as aj,
25213
+ WorkloadReplicas as ak,
25214
+ CronjobJobsTable as al,
25215
+ KeyValue as am,
25216
+ KeyValueAnnotation as an,
25217
+ KeyValueSecret as ao,
25218
+ Separator as ap,
25219
+ YamlEditorComponent as aq,
25220
+ DeleteButton as ar,
25221
+ Layout as as,
25222
+ AreaType as at,
25223
+ ImageField as au,
25224
+ ReplicaField as av,
25225
+ ConditionsField as aw,
25226
+ PodsField as ax,
25227
+ JobsField as ay,
25228
+ DataField as az,
24986
25229
  useDeleteModal as b,
24987
- CronJobModel as b$,
24988
- StateTagStyle as b0,
24989
- StateTag as b1,
24990
- DrawerShow as b2,
24991
- Menu as b3,
24992
- EditButton as b4,
24993
- ReferenceLink as b5,
24994
- ResourceLink as b6,
24995
- NS_STORE_KEY as b7,
24996
- ALL_NS as b8,
24997
- useNamespacesFilter as b9,
24998
- INGRESS_INIT_VALUE as bA,
24999
- NETWORK_POLICY_INIT_VALUE as bB,
25000
- CONFIG_MAP_INIT_VALUE as bC,
25001
- SERVER_INSTANCE_INIT_VALUE as bD,
25002
- TIMESTAMP_LABEL as bE,
25003
- SECRET_OPAQUE_INIT_VALUE as bF,
25004
- SECRET_IMAGE_REPO_INIT_VALUE as bG,
25005
- SECRET_BASIC_AUTH_INIT_VALUE as bH,
25006
- SECRET_SSH_AUTH_INIT_VALUE as bI,
25007
- SECRET_TLS_INIT_VALUE as bJ,
25008
- SECRET_CUSTOM_INIT_VALUE as bK,
25009
- WorkloadState as bL,
25010
- AccessControlAuth as bM,
25011
- Dovetail as bN,
25012
- RESOURCE_GROUP as bO,
25013
- FormType as bP,
25014
- ComponentContext as bQ,
25015
- GlobalStoreContext as bR,
25016
- ConfigsContext as bS,
25017
- IngressModel as bT,
25018
- NetworkPolicyModel as bU,
25019
- JobModel as bV,
25020
- WorkloadModel as bW,
25021
- WorkloadBaseModel as bX,
25022
- PodModel as bY,
25023
- PodMetricsModel as bZ,
25024
- ResourceModel as b_,
25025
- NamespacesFilter as ba,
25026
- FormModal as bb,
25027
- RefineFormContent as bc,
25028
- RefineFormPage as bd,
25029
- SchemaStrategy as be,
25030
- YamlForm as bf,
25031
- useRefineForm as bg,
25032
- ServiceInClusterAccessComponent as bh,
25033
- ServiceOutClusterAccessComponent as bi,
25034
- Tags as bj,
25035
- TextTags as bk,
25036
- PodLog as bl,
25037
- NetworkPolicyRulesViewer as bm,
25038
- Tabs as bn,
25039
- BASE_INIT_VALUE as bo,
25040
- DEPLOYMENT_INIT_VALUE as bp,
25041
- CRONJOB_INIT_VALUE as bq,
25042
- DAEMONSET_INIT_VALUE as br,
25043
- JOB_INIT_VALUE as bs,
25044
- STATEFULSET_INIT_VALUE as bt,
25045
- POD_INIT_VALUE as bu,
25046
- SERVICE_CLUSTER_IP_INIT_VALUE as bv,
25047
- SERVICE_NODE_PORT_INIT_VALUE as bw,
25048
- SERVICE_LOAD_BALANCER_INIT_VALUE as bx,
25049
- SERVICE_EXTERNAL_NAME_INIT_VALUE as by,
25050
- SERVICE_HEADLESS_INIT_VALUE as bz,
25230
+ AccessControlAuth as b$,
25231
+ JobsGroup as b0,
25232
+ IngressRulesGroup as b1,
25233
+ PodSelectorGroup as b2,
25234
+ PortsGroup as b3,
25235
+ DataGroup as b4,
25236
+ NetworkPolicyIngressRulesGroup as b5,
25237
+ NetworkPolicyEgressRulesGroup as b6,
25238
+ StorageClassPvGroup as b7,
25239
+ ShowGroupComponent as b8,
25240
+ ShowContent as b9,
25241
+ ResourceSelect as bA,
25242
+ BASE_INIT_VALUE as bB,
25243
+ DEPLOYMENT_INIT_VALUE as bC,
25244
+ CRONJOB_INIT_VALUE as bD,
25245
+ DAEMONSET_INIT_VALUE as bE,
25246
+ JOB_INIT_VALUE as bF,
25247
+ STATEFULSET_INIT_VALUE as bG,
25248
+ POD_INIT_VALUE as bH,
25249
+ SERVICE_CLUSTER_IP_INIT_VALUE as bI,
25250
+ SERVICE_NODE_PORT_INIT_VALUE as bJ,
25251
+ SERVICE_LOAD_BALANCER_INIT_VALUE as bK,
25252
+ SERVICE_EXTERNAL_NAME_INIT_VALUE as bL,
25253
+ SERVICE_HEADLESS_INIT_VALUE as bM,
25254
+ INGRESS_INIT_VALUE as bN,
25255
+ NETWORK_POLICY_INIT_VALUE as bO,
25256
+ CONFIG_MAP_INIT_VALUE as bP,
25257
+ SERVER_INSTANCE_INIT_VALUE as bQ,
25258
+ TIMESTAMP_LABEL as bR,
25259
+ SECRET_OPAQUE_INIT_VALUE as bS,
25260
+ SECRET_IMAGE_REPO_INIT_VALUE as bT,
25261
+ SECRET_BASIC_AUTH_INIT_VALUE as bU,
25262
+ SECRET_SSH_AUTH_INIT_VALUE as bV,
25263
+ SECRET_TLS_INIT_VALUE as bW,
25264
+ SECRET_CUSTOM_INIT_VALUE as bX,
25265
+ NODE_INIT_VALUE as bY,
25266
+ STORAGE_CLASS_INIT_VALUE as bZ,
25267
+ WorkloadState as b_,
25268
+ DeleteManyButton as ba,
25269
+ ListPage as bb,
25270
+ StateTagStyle as bc,
25271
+ StateTag as bd,
25272
+ DrawerShow as be,
25273
+ Menu as bf,
25274
+ EditButton as bg,
25275
+ ReferenceLink as bh,
25276
+ ResourceLink as bi,
25277
+ NS_STORE_KEY as bj,
25278
+ ALL_NS as bk,
25279
+ useNamespacesFilter as bl,
25280
+ NamespacesFilter as bm,
25281
+ FormModal as bn,
25282
+ RefineFormContent as bo,
25283
+ RefineFormPage as bp,
25284
+ SchemaStrategy as bq,
25285
+ YamlForm as br,
25286
+ useRefineForm as bs,
25287
+ ServiceInClusterAccessComponent as bt,
25288
+ ServiceOutClusterAccessComponent as bu,
25289
+ Tags as bv,
25290
+ TextTags as bw,
25291
+ PodLog as bx,
25292
+ NetworkPolicyRulesViewer as by,
25293
+ Tabs as bz,
25051
25294
  NameSpaceColumnRenderer as c,
25052
- EventModel as c0,
25053
- DeploymentModel as c1,
25054
- DaemonSetModel as c2,
25055
- StatefulSetModel as c3,
25056
- ServiceTypeEnum as c4,
25057
- ServiceModel as c5,
25058
- ProviderPlugins as c6,
25295
+ Dovetail as c0,
25296
+ RESOURCE_GROUP as c1,
25297
+ FormType as c2,
25298
+ ComponentContext as c3,
25299
+ GlobalStoreContext as c4,
25300
+ ConfigsContext as c5,
25301
+ IngressModel as c6,
25302
+ NetworkPolicyModel as c7,
25303
+ JobModel as c8,
25304
+ WorkloadModel as c9,
25305
+ WorkloadBaseModel as ca,
25306
+ PodModel as cb,
25307
+ PodMetricsModel as cc,
25308
+ ResourceModel as cd,
25309
+ CronJobModel as ce,
25310
+ EventModel as cf,
25311
+ DeploymentModel as cg,
25312
+ DaemonSetModel as ch,
25313
+ StatefulSetModel as ci,
25314
+ ServiceTypeEnum as cj,
25315
+ ServiceModel as ck,
25316
+ NodeRole as cl,
25317
+ NodeModel as cm,
25318
+ StorageClassModel as cn,
25319
+ PersistentVolumeModel as co,
25320
+ PersistentVolumeClaimModel as cp,
25321
+ ProviderPlugins as cq,
25059
25322
  dovetailRefineI18n as d,
25060
25323
  WorkloadRestartsColumnRenderer as e,
25061
25324
  NodeNameColumnRenderer as f,
@@ -25076,7 +25339,7 @@ export {
25076
25339
  useNamespaceRefineFilter as u,
25077
25340
  DataKeysColumnRenderer as v,
25078
25341
  PortMappingColumnRenderer as w,
25079
- ColumnKeys as x,
25080
- addDefaultRenderToColumns as y,
25081
- useEagleTable as z
25342
+ ProvisionerColumnRenderer as x,
25343
+ PVCapacityColumnRenderer as y,
25344
+ PVStorageClassColumnRenderer as z
25082
25345
  };