@dovetail-v2/refine 0.1.7 → 0.1.9
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.
- package/dist/{MonacoYamlDiffEditor-1593cfad.js → MonacoYamlDiffEditor-0f76e977.js} +1 -1
- package/dist/{index-45031697.js → index-aacb414b.js} +957 -528
- package/dist/refine.js +212 -196
- package/dist/refine.umd.cjs +758 -329
- package/lib/components/Form/YamlForm.d.ts +1 -1
- package/lib/components/Form/useReactHookForm.d.ts +2 -1
- package/lib/components/Form/useYamlForm.d.ts +1 -1
- package/lib/components/PVCDistributeStorage/index.d.ts +16 -0
- package/lib/components/ResourceCRUD/list/index.d.ts +2 -2
- package/lib/components/ResourceTable/index.d.ts +9 -0
- package/lib/components/ShowContent/fields.d.ts +8 -0
- package/lib/components/ShowContent/groups.d.ts +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/constants/k8s.d.ts +36 -1
- package/lib/hooks/useEagleTable/columns.d.ts +5 -0
- package/lib/hooks/useEagleTable/useEagleTable.d.ts +1 -0
- package/lib/i18n.d.ts +12 -2
- package/lib/locales/en-US/index.d.ts +0 -1
- package/lib/locales/zh-CN/index.d.ts +12 -1
- package/lib/models/persistent-volume-claim.d.ts +4 -0
- package/lib/models/persistent-volume.d.ts +4 -0
- package/lib/models/storage-class.d.ts +4 -0
- package/lib/pages/storageclasses/index.d.ts +7 -4
- package/lib/types/resource.d.ts +2 -3
- package/lib/utils/storage.d.ts +13 -0
- package/package.json +2 -2
|
@@ -12,7 +12,7 @@ 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, Input, Select, AntdOption, Button, Form, Space, TextArea, kitContext, Loading, Table as Table$1, Pagination, OverflowTooltip, StatusCapsule, Tooltip, usePushModal, Alert, usePopModal, Modal, TableForm, Menu as Menu$1, Icon as Icon$1, Dropdown, Divider, Link as Link$1, Tabs as Tabs$1, TabsTabPane, Row, Col, Fields, DonutChart, Units, SegmentControl, Checkbox, DropdownMenu, SearchInput, Token, AntdSelectOptGroup, MenuItemGroup, Layout as Layout$1, Time as Time$1, useMessage, ModalStack, KitStoreProvider, ConfigProvider } from "@cloudtower/eagle";
|
|
14
14
|
import { EditPen16BlueIcon, EditPen16PrimaryIcon, Download16GradientBlueIcon, TrashBinDelete16Icon, MoreEllipsis324BoldSecondaryIcon, MoreEllipsis324BoldBlueIcon, MoreEllipsis316BoldBlueIcon, PlusAddCreateNew16BoldOntintIcon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, EditPen16GradientBlueIcon, ViewEye16GradientGrayIcon, EntityFilterIgnoreGradient16GrayIcon, RecoverContinue16GradientBlueIcon, SuspendedPause16GradientBlueIcon, Retry16GradientBlueIcon, FontSize16GrayIcon, FontSize16BlueIcon, LogCollection16GrayIcon, LogCollection16GradientBlueIcon, TrashBinDeletePermanently16GrayIcon, TrashBinDeletePermanently16BlueIcon, Loading24GradientBlueIcon, OpenTerminal16GradientBlueIcon, HierarchyTriangleRight16GrayIcon, HierarchyTriangleRight16BlueIcon, ClipboardCopy16GradientGrayIcon, ClipboardCopy16GradientBlueIcon, Retry16GradientGrayIcon, EditPen16GradientGrayIcon, Showdiff16GradientGrayIcon, Showdiff16GradientBlueIcon, XmarkFailedSeriousWarningFill16RedIcon, ExclamationErrorCircleFill16RedIcon, Pause16GradientBlueIcon } from "@cloudtower/icons-react";
|
|
15
|
-
import { first, omit as omit$1, merge, get as get$3, debounce, last, isObject as isObject$4, uniq, keyBy } from "lodash-es";
|
|
15
|
+
import { cloneDeep, set as set$1, first, omit as omit$1, merge, get as get$3, debounce, last, isObject as isObject$4, uniq, keyBy } from "lodash-es";
|
|
16
16
|
import yaml$1 from "js-yaml";
|
|
17
17
|
import { paginateData, sortData, dataProvider, liveProvider } from "k8s-api-provider";
|
|
18
18
|
import * as monaco from "monaco-editor";
|
|
@@ -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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
return
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
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 i2 = b.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
|
|
126
|
-
return r3 ? i2 : i2.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 i:
|
|
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[i] = 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[i] = 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", i2 = 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, i3, s4) {
|
|
188
|
-
return t4 && (t4[n4] || t4(e3, r3)) || i3[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 i2;
|
|
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", i = "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), i2 = n3 % 60;
|
|
45
|
+
return (e3 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i2, 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()), i2 = e3.clone().add(r3, c2), s3 = n3 - i2 < 0, u2 = e3.clone().add(r3 + (s3 ? -1 : 1), c2);
|
|
50
|
+
return +(-(r3 + (n3 - i2) / (s3 ? i2 - u2 : u2 - i2)) || 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: i, 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 i2;
|
|
63
|
+
if (!e3)
|
|
64
|
+
return g;
|
|
65
|
+
if ("string" == typeof e3) {
|
|
66
|
+
var s3 = e3.toLowerCase();
|
|
67
|
+
D[s3] && (i2 = s3), n3 && (D[s3] = n3, i2 = s3);
|
|
68
|
+
var u2 = e3.split("-");
|
|
69
|
+
if (!i2 && u2.length > 1)
|
|
70
|
+
return t3(u2[0]);
|
|
71
|
+
} else {
|
|
72
|
+
var a3 = e3.name;
|
|
73
|
+
D[a3] = e3, i2 = a3;
|
|
74
|
+
}
|
|
75
|
+
return !r3 && i2 && (g = i2), i2 || !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 i2 = r3[2] - 1 || 0, s3 = (r3[7] || "0").substring(0, 3);
|
|
103
|
+
return n3 ? new Date(Date.UTC(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3)) : new Date(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3);
|
|
104
|
+
}
|
|
246
105
|
}
|
|
247
|
-
return
|
|
248
|
-
}(
|
|
249
|
-
})
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
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 i2 = b.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
|
|
131
|
+
return r3 ? i2 : i2.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 i:
|
|
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[i] = 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[i] = 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", i2 = 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, i3, s4) {
|
|
193
|
+
return t4 && (t4[n4] || t4(e3, r3)) || i3[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 i2;
|
|
251
|
+
}
|
|
252
|
+
return null;
|
|
253
|
+
}(t4) || i2.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 i:
|
|
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", i], ["$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
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
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 i:
|
|
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", i], ["$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 = _(
|
|
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 };
|
|
@@ -1158,7 +1165,6 @@ const persistent_volume$1 = "Persistent volume";
|
|
|
1158
1165
|
const provisioner$1 = "Provisioner";
|
|
1159
1166
|
const file_system$1 = "File system";
|
|
1160
1167
|
const capacity$1 = "Capacity";
|
|
1161
|
-
const phase$1 = "Phase";
|
|
1162
1168
|
const volume_mode$1 = "Volume mode";
|
|
1163
1169
|
const access_mode$1 = "Access mode";
|
|
1164
1170
|
const block$1 = "Block";
|
|
@@ -1331,7 +1337,6 @@ const dovetail$1 = {
|
|
|
1331
1337
|
provisioner: provisioner$1,
|
|
1332
1338
|
file_system: file_system$1,
|
|
1333
1339
|
capacity: capacity$1,
|
|
1334
|
-
phase: phase$1,
|
|
1335
1340
|
volume_mode: volume_mode$1,
|
|
1336
1341
|
access_mode: access_mode$1,
|
|
1337
1342
|
block: block$1,
|
|
@@ -1497,6 +1502,7 @@ const out_cluster_node_port_desc = "NodePort 展示<strong>节点 IP:nodeport<
|
|
|
1497
1502
|
const out_cluster_lb_desc = "LoadBalancer 展示 <strong>ingress[*].ip</strong>。";
|
|
1498
1503
|
const out_external_name_desc = "ExternalName 展示 <strong>external-ip</strong>。";
|
|
1499
1504
|
const only_support_one_yaml = "一次仅支持输入一个 YAML 配置。";
|
|
1505
|
+
const support = "支持";
|
|
1500
1506
|
const not_support = "不支持";
|
|
1501
1507
|
const stopped = "已停止";
|
|
1502
1508
|
const any_node_ip = "任意节点 IP";
|
|
@@ -1505,7 +1511,7 @@ const persistent_volume = "持久卷";
|
|
|
1505
1511
|
const provisioner = "制备器";
|
|
1506
1512
|
const file_system = "文件系统";
|
|
1507
1513
|
const capacity = "容量";
|
|
1508
|
-
const
|
|
1514
|
+
const distributed = "分配量";
|
|
1509
1515
|
const volume_mode = "卷模式";
|
|
1510
1516
|
const access_mode = "访问模式";
|
|
1511
1517
|
const block = "块";
|
|
@@ -1529,6 +1535,16 @@ const edit_label = "编辑标签";
|
|
|
1529
1535
|
const edit_label_success_toast = "编辑资源 {{name}} 的标签成功";
|
|
1530
1536
|
const edit_annotation = "编辑注解";
|
|
1531
1537
|
const edit_annotation_success_toast = "编辑资源 {{name}} 的注解成功";
|
|
1538
|
+
const pvc = "持久卷申领";
|
|
1539
|
+
const pv = "持久卷";
|
|
1540
|
+
const csi = "CSI";
|
|
1541
|
+
const retain = "保留";
|
|
1542
|
+
const default_sc = "默认存储类";
|
|
1543
|
+
const reclaim_policy = "回收策略";
|
|
1544
|
+
const allow_expand = "卷扩容";
|
|
1545
|
+
const edit_distribute_storage = "编辑分配量";
|
|
1546
|
+
const edit_distribute_storage_success_toast = "编辑分配量成功";
|
|
1547
|
+
const edit_distribute_storage_failed_toast = "编辑分配量失败";
|
|
1532
1548
|
const dovetail = {
|
|
1533
1549
|
copy: copy$1,
|
|
1534
1550
|
reset_arguments,
|
|
@@ -1683,6 +1699,7 @@ const dovetail = {
|
|
|
1683
1699
|
out_cluster_lb_desc,
|
|
1684
1700
|
out_external_name_desc,
|
|
1685
1701
|
only_support_one_yaml,
|
|
1702
|
+
support,
|
|
1686
1703
|
not_support,
|
|
1687
1704
|
stopped,
|
|
1688
1705
|
any_node_ip,
|
|
@@ -1691,7 +1708,7 @@ const dovetail = {
|
|
|
1691
1708
|
provisioner,
|
|
1692
1709
|
file_system,
|
|
1693
1710
|
capacity,
|
|
1694
|
-
|
|
1711
|
+
distributed,
|
|
1695
1712
|
volume_mode,
|
|
1696
1713
|
access_mode,
|
|
1697
1714
|
block,
|
|
@@ -1714,7 +1731,17 @@ const dovetail = {
|
|
|
1714
1731
|
edit_label,
|
|
1715
1732
|
edit_label_success_toast,
|
|
1716
1733
|
edit_annotation,
|
|
1717
|
-
edit_annotation_success_toast
|
|
1734
|
+
edit_annotation_success_toast,
|
|
1735
|
+
pvc,
|
|
1736
|
+
pv,
|
|
1737
|
+
csi,
|
|
1738
|
+
retain,
|
|
1739
|
+
default_sc,
|
|
1740
|
+
reclaim_policy,
|
|
1741
|
+
allow_expand,
|
|
1742
|
+
edit_distribute_storage,
|
|
1743
|
+
edit_distribute_storage_success_toast,
|
|
1744
|
+
edit_distribute_storage_failed_toast
|
|
1718
1745
|
};
|
|
1719
1746
|
const ZH = {
|
|
1720
1747
|
dovetail
|
|
@@ -6532,7 +6559,7 @@ lodash.exports;
|
|
|
6532
6559
|
customizer = typeof customizer == "function" ? customizer : undefined$1;
|
|
6533
6560
|
return baseClone(value2, CLONE_SYMBOLS_FLAG, customizer);
|
|
6534
6561
|
}
|
|
6535
|
-
function
|
|
6562
|
+
function cloneDeep2(value2) {
|
|
6536
6563
|
return baseClone(value2, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
|
|
6537
6564
|
}
|
|
6538
6565
|
function cloneDeepWith(value2, customizer) {
|
|
@@ -7658,7 +7685,7 @@ lodash.exports;
|
|
|
7658
7685
|
lodash2.ceil = ceil;
|
|
7659
7686
|
lodash2.clamp = clamp;
|
|
7660
7687
|
lodash2.clone = clone;
|
|
7661
|
-
lodash2.cloneDeep =
|
|
7688
|
+
lodash2.cloneDeep = cloneDeep2;
|
|
7662
7689
|
lodash2.cloneDeepWith = cloneDeepWith;
|
|
7663
7690
|
lodash2.cloneWith = cloneWith;
|
|
7664
7691
|
lodash2.conformsTo = conformsTo;
|
|
@@ -9728,11 +9755,50 @@ const NODE_INIT_VALUE = {
|
|
|
9728
9755
|
const STORAGE_CLASS_INIT_VALUE = {
|
|
9729
9756
|
"apiVersion": "storage.k8s.io/v1",
|
|
9730
9757
|
"kind": "StorageClass",
|
|
9758
|
+
"metadata": {
|
|
9759
|
+
"name": "example"
|
|
9760
|
+
},
|
|
9761
|
+
"parameters": {},
|
|
9762
|
+
"provisioner": "example",
|
|
9763
|
+
"reclaimPolicy": "Delete",
|
|
9764
|
+
"allowVolumeExpansion": true,
|
|
9765
|
+
"volumeBindingMode": "Immediate"
|
|
9766
|
+
};
|
|
9767
|
+
const PV_INIT_VALUE = {
|
|
9768
|
+
"apiVersion": "v1",
|
|
9769
|
+
"kind": "PersistentVolume",
|
|
9770
|
+
"metadata": {
|
|
9771
|
+
"name": "example"
|
|
9772
|
+
},
|
|
9773
|
+
"spec": {
|
|
9774
|
+
"accessModes": [
|
|
9775
|
+
"ReadWriteOnce"
|
|
9776
|
+
],
|
|
9777
|
+
"capacity": {
|
|
9778
|
+
"storage": "40Gi"
|
|
9779
|
+
},
|
|
9780
|
+
"persistentVolumeReclaimPolicy": "Delete",
|
|
9781
|
+
"volumeMode": "Filesystem"
|
|
9782
|
+
}
|
|
9783
|
+
};
|
|
9784
|
+
const PVC_INIT_VALUE = {
|
|
9785
|
+
"apiVersion": "v1",
|
|
9786
|
+
"kind": "PersistentVolumeClaim",
|
|
9731
9787
|
"metadata": {
|
|
9732
9788
|
"name": "example",
|
|
9733
9789
|
"namespace": "default"
|
|
9734
9790
|
},
|
|
9735
|
-
"spec": {
|
|
9791
|
+
"spec": {
|
|
9792
|
+
"accessModes": [
|
|
9793
|
+
"ReadWriteOnce"
|
|
9794
|
+
],
|
|
9795
|
+
"resources": {
|
|
9796
|
+
"requests": {
|
|
9797
|
+
"storage": "40Gi"
|
|
9798
|
+
}
|
|
9799
|
+
},
|
|
9800
|
+
"storageClassName": "example"
|
|
9801
|
+
}
|
|
9736
9802
|
};
|
|
9737
9803
|
var WorkloadState = /* @__PURE__ */ ((WorkloadState2) => {
|
|
9738
9804
|
WorkloadState2["Terminated"] = "terminated";
|
|
@@ -10248,24 +10314,53 @@ class StorageClassModel extends ResourceModel {
|
|
|
10248
10314
|
kind: "PersistentVolume"
|
|
10249
10315
|
});
|
|
10250
10316
|
this.pvs = pvs.items.filter(
|
|
10251
|
-
(
|
|
10252
|
-
var _a;
|
|
10253
|
-
return ((_a = pv.spec) == null ? void 0 : _a.storageClassName) === this.metadata.name;
|
|
10254
|
-
}
|
|
10317
|
+
(pv2) => this.filterPV(pv2, this.metadata.name)
|
|
10255
10318
|
);
|
|
10256
10319
|
}
|
|
10320
|
+
filterPV(pv2, scName) {
|
|
10321
|
+
var _a;
|
|
10322
|
+
return ((_a = pv2.spec) == null ? void 0 : _a.storageClassName) === scName;
|
|
10323
|
+
}
|
|
10324
|
+
get isDefaultSC() {
|
|
10325
|
+
var _a, _b;
|
|
10326
|
+
return (_b = (_a = this._rawYaml.metadata) == null ? void 0 : _a.annotations) == null ? void 0 : _b["storageclass.kubernetes.io/is-default-class"];
|
|
10327
|
+
}
|
|
10328
|
+
get reclaimPolicy() {
|
|
10329
|
+
return this._rawYaml.reclaimPolicy;
|
|
10330
|
+
}
|
|
10257
10331
|
}
|
|
10258
10332
|
class PersistentVolumeModel extends ResourceModel {
|
|
10259
10333
|
constructor(_rawYaml, _globalStore) {
|
|
10260
10334
|
super(_rawYaml, _globalStore);
|
|
10261
10335
|
this._rawYaml = _rawYaml;
|
|
10262
10336
|
}
|
|
10337
|
+
get phase() {
|
|
10338
|
+
return this._rawYaml.status.phase;
|
|
10339
|
+
}
|
|
10340
|
+
get csi() {
|
|
10341
|
+
var _a;
|
|
10342
|
+
return (_a = this._rawYaml.spec.csi) == null ? void 0 : _a.driver;
|
|
10343
|
+
}
|
|
10344
|
+
get pvc() {
|
|
10345
|
+
var _a;
|
|
10346
|
+
return (_a = this._rawYaml.spec.claimRef) == null ? void 0 : _a.name;
|
|
10347
|
+
}
|
|
10263
10348
|
}
|
|
10264
10349
|
class PersistentVolumeClaimModel extends ResourceModel {
|
|
10265
10350
|
constructor(_rawYaml, _globalStore) {
|
|
10266
10351
|
super(_rawYaml, _globalStore);
|
|
10267
10352
|
this._rawYaml = _rawYaml;
|
|
10268
10353
|
}
|
|
10354
|
+
get phase() {
|
|
10355
|
+
return this._rawYaml.status.phase;
|
|
10356
|
+
}
|
|
10357
|
+
get pv() {
|
|
10358
|
+
return this._rawYaml.spec.volumeName;
|
|
10359
|
+
}
|
|
10360
|
+
updateDistributeStorage(distributeStorage) {
|
|
10361
|
+
const yaml2 = cloneDeep(this._globalStore.restoreItem(this));
|
|
10362
|
+
return set$1(yaml2, "spec.resources.requests.storage", `${distributeStorage}Gi`);
|
|
10363
|
+
}
|
|
10269
10364
|
}
|
|
10270
10365
|
const index_1iq0dq9 = "";
|
|
10271
10366
|
const ServiceInClusterAccessComponent = ({
|
|
@@ -11225,7 +11320,7 @@ function addDefaultRenderToColumns(columns) {
|
|
|
11225
11320
|
}
|
|
11226
11321
|
const useEagleTable = (params) => {
|
|
11227
11322
|
var _a, _b;
|
|
11228
|
-
const { columns, tableProps, formatter, Dropdown: Dropdown2 = K8sDropdown } = params;
|
|
11323
|
+
const { columns, tableProps, formatter, Dropdown: Dropdown2 = K8sDropdown, resource: resourceFromParams } = params;
|
|
11229
11324
|
const [selectedKeys, setSelectedKeys] = useState([]);
|
|
11230
11325
|
const [currentPage, setCurrentPage] = useState((tableProps == null ? void 0 : tableProps.currentPage) || 1);
|
|
11231
11326
|
const { resource } = useResource();
|
|
@@ -11235,10 +11330,11 @@ const useEagleTable = (params) => {
|
|
|
11235
11330
|
pagination: {
|
|
11236
11331
|
pageSize: currentSize,
|
|
11237
11332
|
mode: "server"
|
|
11238
|
-
}
|
|
11333
|
+
},
|
|
11334
|
+
resource: resourceFromParams || (resource == null ? void 0 : resource.name)
|
|
11239
11335
|
});
|
|
11240
11336
|
return mergedParams;
|
|
11241
|
-
}, [params.useTableParams, currentSize]);
|
|
11337
|
+
}, [params.useTableParams, currentSize, resourceFromParams, resource]);
|
|
11242
11338
|
const finalColumns = useMemo(
|
|
11243
11339
|
() => addDefaultRenderToColumns(columns),
|
|
11244
11340
|
[columns]
|
|
@@ -11268,7 +11364,7 @@ const useEagleTable = (params) => {
|
|
|
11268
11364
|
const total = ((_b = table.tableQueryResult.data) == null ? void 0 : _b.total) || 0;
|
|
11269
11365
|
const finalDataSource = formatter ? data2 == null ? void 0 : data2.map(formatter) : data2;
|
|
11270
11366
|
const finalProps = {
|
|
11271
|
-
tableKey: (resource == null ? void 0 : resource.name) || "table",
|
|
11367
|
+
tableKey: resourceFromParams || (resource == null ? void 0 : resource.name) || "table",
|
|
11272
11368
|
loading: table.tableQueryResult.isLoading,
|
|
11273
11369
|
data: finalDataSource || [],
|
|
11274
11370
|
columns: finalColumns,
|
|
@@ -12058,6 +12154,50 @@ function PVVolumeModeDisplay(props) {
|
|
|
12058
12154
|
};
|
|
12059
12155
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: map[value2] || value2 });
|
|
12060
12156
|
}
|
|
12157
|
+
function ResourceTable(props) {
|
|
12158
|
+
var _a;
|
|
12159
|
+
const { resource, useTableParams } = props;
|
|
12160
|
+
const configs = useContext(ConfigsContext);
|
|
12161
|
+
const config = configs[resource];
|
|
12162
|
+
const { formatter, columns, Dropdown: Dropdown2, noShow } = config;
|
|
12163
|
+
const { i18n: i18n2 } = useTranslation();
|
|
12164
|
+
const { Table: TableComponent } = useContext(ComponentContext);
|
|
12165
|
+
const Table$12 = TableComponent || Table;
|
|
12166
|
+
const nameRenderer = noShow ? PlainTextNameColumnRenderer(i18n2) : NameColumnRenderer(i18n2);
|
|
12167
|
+
const { tableProps } = useEagleTable({
|
|
12168
|
+
useTableParams: {
|
|
12169
|
+
...useTableParams
|
|
12170
|
+
},
|
|
12171
|
+
columns: [nameRenderer, ...(columns == null ? void 0 : columns()) || []],
|
|
12172
|
+
tableProps: {
|
|
12173
|
+
defaultSize: 10,
|
|
12174
|
+
...config.tableProps
|
|
12175
|
+
},
|
|
12176
|
+
resource,
|
|
12177
|
+
formatter,
|
|
12178
|
+
Dropdown: Dropdown2
|
|
12179
|
+
});
|
|
12180
|
+
useEffect(() => {
|
|
12181
|
+
tableProps.onPageChange(1);
|
|
12182
|
+
}, []);
|
|
12183
|
+
if (!((_a = tableProps.data) == null ? void 0 : _a.length) && !tableProps.loading) {
|
|
12184
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12185
|
+
WidgetErrorContent,
|
|
12186
|
+
{
|
|
12187
|
+
errorText: tableProps.empty || i18n2.t("dovetail.no_resource", { kind: ` ${config.kind}` }),
|
|
12188
|
+
type: ErrorContentType.Card
|
|
12189
|
+
}
|
|
12190
|
+
);
|
|
12191
|
+
}
|
|
12192
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12193
|
+
Table$12,
|
|
12194
|
+
{
|
|
12195
|
+
...tableProps,
|
|
12196
|
+
empty: tableProps.empty || i18n2.t("dovetail.no_resource", { kind: ` ${config.kind}` }),
|
|
12197
|
+
className: cx_default(tableProps.className)
|
|
12198
|
+
}
|
|
12199
|
+
);
|
|
12200
|
+
}
|
|
12061
12201
|
const WorkloadPodsTable_975j2t = "";
|
|
12062
12202
|
const WorkloadPodsTable = ({
|
|
12063
12203
|
namespace: namespace2,
|
|
@@ -12296,6 +12436,126 @@ function WorkloadReplicas({
|
|
|
12296
12436
|
})]
|
|
12297
12437
|
});
|
|
12298
12438
|
}
|
|
12439
|
+
var StorageUnit = /* @__PURE__ */ ((StorageUnit2) => {
|
|
12440
|
+
StorageUnit2["Pi"] = "Pi";
|
|
12441
|
+
StorageUnit2["PiB"] = "PiB";
|
|
12442
|
+
StorageUnit2["Ti"] = "Ti";
|
|
12443
|
+
StorageUnit2["TiB"] = "TiB";
|
|
12444
|
+
StorageUnit2["Gi"] = "Gi";
|
|
12445
|
+
StorageUnit2["GiB"] = "GiB";
|
|
12446
|
+
StorageUnit2["Mi"] = "Mi";
|
|
12447
|
+
StorageUnit2["MiB"] = "MiB";
|
|
12448
|
+
StorageUnit2["Ki"] = "Ki";
|
|
12449
|
+
StorageUnit2["KiB"] = "KiB";
|
|
12450
|
+
return StorageUnit2;
|
|
12451
|
+
})(StorageUnit || {});
|
|
12452
|
+
const UNIT_FACTORS = {
|
|
12453
|
+
Pi: 1024 ** 5,
|
|
12454
|
+
PiB: 1024 ** 5,
|
|
12455
|
+
Ti: 1024 ** 4,
|
|
12456
|
+
TiB: 1024 ** 4,
|
|
12457
|
+
Gi: 1024 ** 3,
|
|
12458
|
+
GiB: 1024 ** 3,
|
|
12459
|
+
Mi: 1024 ** 2,
|
|
12460
|
+
MiB: 1024 ** 2,
|
|
12461
|
+
Ki: 1024,
|
|
12462
|
+
KiB: 1024,
|
|
12463
|
+
B: 1
|
|
12464
|
+
};
|
|
12465
|
+
function transformStorageUnit(value2, toUnit = "Gi") {
|
|
12466
|
+
const num = parseFloat(value2);
|
|
12467
|
+
const unit = Object.values(StorageUnit).find((u) => value2.includes(u)) || "Ki";
|
|
12468
|
+
return num / UNIT_FACTORS[unit] * UNIT_FACTORS[toUnit];
|
|
12469
|
+
}
|
|
12470
|
+
const DistributeStorageForm = React__default.forwardRef(function DistributeStorageForm2(props, ref) {
|
|
12471
|
+
const { defaultValue, pvc: pvc2 } = props;
|
|
12472
|
+
const { resource } = useResource();
|
|
12473
|
+
const { mutateAsync } = useUpdate();
|
|
12474
|
+
const { t: t2 } = useTranslation();
|
|
12475
|
+
const [distributeStorage, setDistributeStorage] = useState(defaultValue);
|
|
12476
|
+
const submit = useCallback(() => {
|
|
12477
|
+
const v = pvc2.updateDistributeStorage(distributeStorage);
|
|
12478
|
+
const id = pvc2.id;
|
|
12479
|
+
pruneBeforeEdit(v);
|
|
12480
|
+
return mutateAsync({
|
|
12481
|
+
id,
|
|
12482
|
+
resource: (resource == null ? void 0 : resource.name) || "",
|
|
12483
|
+
values: v,
|
|
12484
|
+
successNotification() {
|
|
12485
|
+
return {
|
|
12486
|
+
message: t2("dovetail.edit_distribute_storage_success_toast", {
|
|
12487
|
+
kind: pvc2.kind,
|
|
12488
|
+
name: pvc2.id,
|
|
12489
|
+
interpolation: {
|
|
12490
|
+
escapeValue: false
|
|
12491
|
+
}
|
|
12492
|
+
}),
|
|
12493
|
+
type: "success"
|
|
12494
|
+
};
|
|
12495
|
+
},
|
|
12496
|
+
errorNotification: false
|
|
12497
|
+
});
|
|
12498
|
+
}, [pvc2, distributeStorage, resource == null ? void 0 : resource.name, mutateAsync, t2]);
|
|
12499
|
+
useImperativeHandle(ref, () => ({
|
|
12500
|
+
submit
|
|
12501
|
+
}), [submit]);
|
|
12502
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12503
|
+
Form.Item,
|
|
12504
|
+
{
|
|
12505
|
+
label: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style: { width: "134px" }, children: t2("dovetail.distributed") }),
|
|
12506
|
+
colon: false,
|
|
12507
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12508
|
+
Fields.Integer,
|
|
12509
|
+
{
|
|
12510
|
+
style: { width: "142px" },
|
|
12511
|
+
input: {
|
|
12512
|
+
name: "distributeStorage",
|
|
12513
|
+
value: distributeStorage,
|
|
12514
|
+
onChange: (value2) => {
|
|
12515
|
+
setDistributeStorage(Number(value2));
|
|
12516
|
+
},
|
|
12517
|
+
onBlur: () => {
|
|
12518
|
+
},
|
|
12519
|
+
onFocus: () => {
|
|
12520
|
+
}
|
|
12521
|
+
},
|
|
12522
|
+
min: 0,
|
|
12523
|
+
meta: {},
|
|
12524
|
+
suffix: "GiB",
|
|
12525
|
+
controls: true
|
|
12526
|
+
}
|
|
12527
|
+
)
|
|
12528
|
+
}
|
|
12529
|
+
);
|
|
12530
|
+
});
|
|
12531
|
+
function PVCDistributeStorage({ pvc: pvc2, editable }) {
|
|
12532
|
+
var _a, _b;
|
|
12533
|
+
const { t: t2 } = useTranslation();
|
|
12534
|
+
const formRef = useRef(null);
|
|
12535
|
+
const value2 = (_b = (_a = pvc2.spec.resources) == null ? void 0 : _a.requests) == null ? void 0 : _b.storage;
|
|
12536
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
12537
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Units.Byte, { rawValue: parseSi(value2), decimals: 1 }),
|
|
12538
|
+
editable && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12539
|
+
EditField,
|
|
12540
|
+
{
|
|
12541
|
+
modalProps: {
|
|
12542
|
+
formRef,
|
|
12543
|
+
title: t2("dovetail.edit_replicas"),
|
|
12544
|
+
renderContent() {
|
|
12545
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12546
|
+
DistributeStorageForm,
|
|
12547
|
+
{
|
|
12548
|
+
ref: formRef,
|
|
12549
|
+
defaultValue: value2 ? transformStorageUnit(value2, StorageUnit.Gi) : 0,
|
|
12550
|
+
pvc: pvc2
|
|
12551
|
+
}
|
|
12552
|
+
);
|
|
12553
|
+
}
|
|
12554
|
+
}
|
|
12555
|
+
}
|
|
12556
|
+
)
|
|
12557
|
+
] });
|
|
12558
|
+
}
|
|
12299
12559
|
var AreaType = /* @__PURE__ */ ((AreaType2) => {
|
|
12300
12560
|
AreaType2["Inline"] = "Inline";
|
|
12301
12561
|
AreaType2["Grid"] = "Grid";
|
|
@@ -12551,15 +12811,24 @@ const StorageClassPvField = () => {
|
|
|
12551
12811
|
return {
|
|
12552
12812
|
key: "pvs",
|
|
12553
12813
|
path: ["pvs"],
|
|
12554
|
-
renderContent: (
|
|
12555
|
-
return
|
|
12556
|
-
|
|
12814
|
+
renderContent: (_, sc) => {
|
|
12815
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12816
|
+
ResourceTable,
|
|
12557
12817
|
{
|
|
12558
|
-
|
|
12559
|
-
|
|
12560
|
-
|
|
12818
|
+
resource: "persistentvolumes",
|
|
12819
|
+
useTableParams: {
|
|
12820
|
+
filters: {
|
|
12821
|
+
permanent: [{
|
|
12822
|
+
field: "",
|
|
12823
|
+
value: "",
|
|
12824
|
+
fn(pv2) {
|
|
12825
|
+
return sc.filterPV(pv2, sc.metadata.name);
|
|
12826
|
+
}
|
|
12827
|
+
}]
|
|
12828
|
+
}
|
|
12829
|
+
}
|
|
12561
12830
|
}
|
|
12562
|
-
)
|
|
12831
|
+
);
|
|
12563
12832
|
}
|
|
12564
12833
|
};
|
|
12565
12834
|
};
|
|
@@ -12577,12 +12846,19 @@ const PVCStorageField = (i18n2) => {
|
|
|
12577
12846
|
return {
|
|
12578
12847
|
key: "storage",
|
|
12579
12848
|
path: ["spec", "resources", "requests", "storage"],
|
|
12580
|
-
title: i18n2.t("dovetail.
|
|
12581
|
-
renderContent(value2) {
|
|
12582
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12849
|
+
title: i18n2.t("dovetail.distributed"),
|
|
12850
|
+
renderContent(value2, pvc2) {
|
|
12851
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(PVCDistributeStorage, { pvc: pvc2, editable: true });
|
|
12583
12852
|
}
|
|
12584
12853
|
};
|
|
12585
12854
|
};
|
|
12855
|
+
const PVRefField = (i18n2) => {
|
|
12856
|
+
return {
|
|
12857
|
+
key: "pv",
|
|
12858
|
+
path: ["pv"],
|
|
12859
|
+
title: i18n2.t("dovetail.pv")
|
|
12860
|
+
};
|
|
12861
|
+
};
|
|
12586
12862
|
const PVStorageClassField = (i18n2) => {
|
|
12587
12863
|
return {
|
|
12588
12864
|
key: "storageClass",
|
|
@@ -12596,8 +12872,8 @@ const PVStorageClassField = (i18n2) => {
|
|
|
12596
12872
|
const PVPhaseField = (i18n2) => {
|
|
12597
12873
|
return {
|
|
12598
12874
|
key: "phase",
|
|
12599
|
-
path: ["
|
|
12600
|
-
title: i18n2.t("dovetail.
|
|
12875
|
+
path: ["phase"],
|
|
12876
|
+
title: i18n2.t("dovetail.state"),
|
|
12601
12877
|
renderContent(value2) {
|
|
12602
12878
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(PVPhaseDisplay, { value: value2 });
|
|
12603
12879
|
}
|
|
@@ -12620,6 +12896,69 @@ const PVAccessModeField = (i18n2) => {
|
|
|
12620
12896
|
title: i18n2.t("dovetail.access_mode")
|
|
12621
12897
|
};
|
|
12622
12898
|
};
|
|
12899
|
+
const PVCRefField = (i18n2) => {
|
|
12900
|
+
return {
|
|
12901
|
+
key: "pvc",
|
|
12902
|
+
path: ["pvc"],
|
|
12903
|
+
title: i18n2.t("dovetail.pvc")
|
|
12904
|
+
};
|
|
12905
|
+
};
|
|
12906
|
+
const PVCSIRefField = (i18n2) => {
|
|
12907
|
+
return {
|
|
12908
|
+
key: "csi",
|
|
12909
|
+
path: ["csi"],
|
|
12910
|
+
title: i18n2.t("dovetail.csi")
|
|
12911
|
+
};
|
|
12912
|
+
};
|
|
12913
|
+
const IsDefaultSCField = (i18n2) => {
|
|
12914
|
+
return {
|
|
12915
|
+
key: "isDefaultSC",
|
|
12916
|
+
path: ["isDefaultSC"],
|
|
12917
|
+
title: i18n2.t("dovetail.default_sc"),
|
|
12918
|
+
renderContent(val) {
|
|
12919
|
+
return val ? i18n2.t("dovetail.true") : i18n2.t("dovetail.false");
|
|
12920
|
+
}
|
|
12921
|
+
};
|
|
12922
|
+
};
|
|
12923
|
+
const SCReclaimPolicyField = (i18n2) => {
|
|
12924
|
+
return {
|
|
12925
|
+
key: "reclaimPolicy",
|
|
12926
|
+
path: ["reclaimPolicy"],
|
|
12927
|
+
title: i18n2.t("dovetail.reclaim_policy"),
|
|
12928
|
+
renderContent(val) {
|
|
12929
|
+
const map = {
|
|
12930
|
+
Delete: i18n2.t("dovetail.delete"),
|
|
12931
|
+
Retain: i18n2.t("dovetail.retain")
|
|
12932
|
+
};
|
|
12933
|
+
return map[val] || val;
|
|
12934
|
+
}
|
|
12935
|
+
};
|
|
12936
|
+
};
|
|
12937
|
+
const IsSCAllowVolumeExpansionField = (i18n2) => {
|
|
12938
|
+
return {
|
|
12939
|
+
key: "allowVolumeExpansion",
|
|
12940
|
+
path: ["allowVolumeExpansion"],
|
|
12941
|
+
title: i18n2.t("dovetail.allow_expand"),
|
|
12942
|
+
renderContent(val) {
|
|
12943
|
+
return val ? i18n2.t("dovetail.support") : i18n2.t("dovetail.not_support");
|
|
12944
|
+
}
|
|
12945
|
+
};
|
|
12946
|
+
};
|
|
12947
|
+
const ResourceTableField = (resource, useTableParams) => {
|
|
12948
|
+
return {
|
|
12949
|
+
key: resource,
|
|
12950
|
+
path: [],
|
|
12951
|
+
renderContent() {
|
|
12952
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12953
|
+
ResourceTable,
|
|
12954
|
+
{
|
|
12955
|
+
resource,
|
|
12956
|
+
useTableParams
|
|
12957
|
+
}
|
|
12958
|
+
);
|
|
12959
|
+
}
|
|
12960
|
+
};
|
|
12961
|
+
};
|
|
12623
12962
|
function __rest(s2, e2) {
|
|
12624
12963
|
var t2 = {};
|
|
12625
12964
|
for (var p in s2)
|
|
@@ -18933,6 +19272,14 @@ const StorageClassPvGroup = (i18n2) => ({
|
|
|
18933
19272
|
}
|
|
18934
19273
|
]
|
|
18935
19274
|
});
|
|
19275
|
+
const ResourceTableGroup = (resource, title) => ({
|
|
19276
|
+
title,
|
|
19277
|
+
areas: [
|
|
19278
|
+
{
|
|
19279
|
+
fields: [ResourceTableField(resource)]
|
|
19280
|
+
}
|
|
19281
|
+
]
|
|
19282
|
+
});
|
|
18936
19283
|
const PageShow = (props) => {
|
|
18937
19284
|
var _a;
|
|
18938
19285
|
const parsed = useParsed();
|
|
@@ -37437,6 +37784,7 @@ const useForm = ({
|
|
|
37437
37784
|
refineCoreProps,
|
|
37438
37785
|
warnWhenUnsavedChanges: warnWhenUnsavedChangesProp,
|
|
37439
37786
|
disableServerSideValidation: disableServerSideValidationProp = false,
|
|
37787
|
+
transformApplyValues,
|
|
37440
37788
|
...rest
|
|
37441
37789
|
} = {}) => {
|
|
37442
37790
|
const { options } = useRefineContext();
|
|
@@ -37538,7 +37886,10 @@ const useForm = ({
|
|
|
37538
37886
|
const saveButtonProps = {
|
|
37539
37887
|
disabled: formLoading,
|
|
37540
37888
|
onClick: (e2) => {
|
|
37541
|
-
handleSubmit(
|
|
37889
|
+
handleSubmit(
|
|
37890
|
+
(v) => onFinish(transformApplyValues ? transformApplyValues(v) : v),
|
|
37891
|
+
() => false
|
|
37892
|
+
)(e2);
|
|
37542
37893
|
}
|
|
37543
37894
|
};
|
|
37544
37895
|
return {
|
|
@@ -37549,7 +37900,7 @@ const useForm = ({
|
|
|
37549
37900
|
};
|
|
37550
37901
|
};
|
|
37551
37902
|
const useRefineForm = (props) => {
|
|
37552
|
-
var _a;
|
|
37903
|
+
var _a, _b;
|
|
37553
37904
|
const { config, id, refineProps } = props;
|
|
37554
37905
|
const [responseErrorMsg, setResponseErrorMsg] = useState("");
|
|
37555
37906
|
const i18n2 = useTranslation();
|
|
@@ -37580,15 +37931,16 @@ const useRefineForm = (props) => {
|
|
|
37580
37931
|
...refineProps
|
|
37581
37932
|
},
|
|
37582
37933
|
defaultValues: config == null ? void 0 : config.initValue,
|
|
37583
|
-
|
|
37934
|
+
transformApplyValues: (_a = config.formConfig) == null ? void 0 : _a.transformApplyValues,
|
|
37935
|
+
...(_b = config.formConfig) == null ? void 0 : _b.useFormProps
|
|
37584
37936
|
});
|
|
37585
37937
|
useEffect(() => {
|
|
37586
|
-
var _a2,
|
|
37938
|
+
var _a2, _b2;
|
|
37587
37939
|
const response = (_a2 = result.refineCore.mutationResult.error) == null ? void 0 : _a2.response;
|
|
37588
37940
|
if (response && !(response == null ? void 0 : response.bodyUsed)) {
|
|
37589
|
-
(
|
|
37590
|
-
var _a3,
|
|
37591
|
-
setResponseErrorMsg(((
|
|
37941
|
+
(_b2 = response.json) == null ? void 0 : _b2.call(response).then((body) => {
|
|
37942
|
+
var _a3, _b3;
|
|
37943
|
+
setResponseErrorMsg(((_b3 = (_a3 = config.formConfig) == null ? void 0 : _a3.formatError) == null ? void 0 : _b3.call(_a3, body)) || body.message);
|
|
37592
37944
|
});
|
|
37593
37945
|
}
|
|
37594
37946
|
}, [config.formConfig, result]);
|
|
@@ -37602,7 +37954,7 @@ const Separator = () => {
|
|
|
37602
37954
|
});
|
|
37603
37955
|
};
|
|
37604
37956
|
const MonacoYamlEditor = React__default.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
|
|
37605
|
-
const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-
|
|
37957
|
+
const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-0f76e977.js"));
|
|
37606
37958
|
const YamlEditorComponent = forwardRef(
|
|
37607
37959
|
function YamlEditorComponent2(props, ref) {
|
|
37608
37960
|
const {
|
|
@@ -38393,12 +38745,13 @@ function FormModal(props) {
|
|
|
38393
38745
|
});
|
|
38394
38746
|
const yamlFormProps = useMemo(() => {
|
|
38395
38747
|
var _a2, _b2, _c2;
|
|
38748
|
+
const transformApplyValues = ((_a2 = config.formConfig) == null ? void 0 : _a2.transformApplyValues) || ((v) => v);
|
|
38396
38749
|
return {
|
|
38397
38750
|
...props.formProps,
|
|
38398
|
-
transformInitValues: (
|
|
38399
|
-
transformApplyValues
|
|
38400
|
-
initialValuesForCreate: isYamlMode ? refineFormResult.formResult.getValues() : ((_c2 = props.formProps) == null ? void 0 : _c2.initialValuesForCreate) || (config == null ? void 0 : config.initValue),
|
|
38401
|
-
initialValuesForEdit: isYamlMode ? refineFormResult.formResult.getValues() : void 0,
|
|
38751
|
+
transformInitValues: (_b2 = config.formConfig) == null ? void 0 : _b2.transformInitValues,
|
|
38752
|
+
transformApplyValues,
|
|
38753
|
+
initialValuesForCreate: isYamlMode ? transformApplyValues(refineFormResult.formResult.getValues()) : ((_c2 = props.formProps) == null ? void 0 : _c2.initialValuesForCreate) || (config == null ? void 0 : config.initValue),
|
|
38754
|
+
initialValuesForEdit: isYamlMode ? transformApplyValues(refineFormResult.formResult.getValues()) : void 0,
|
|
38402
38755
|
id,
|
|
38403
38756
|
action,
|
|
38404
38757
|
isShowLayout: false,
|
|
@@ -39466,7 +39819,7 @@ const PVCStorageColumnRenderer = (i18n2) => {
|
|
|
39466
39819
|
key: "storage",
|
|
39467
39820
|
display: true,
|
|
39468
39821
|
dataIndex: ["spec", "resources", "requests", "storage"],
|
|
39469
|
-
title: i18n2.t("dovetail.
|
|
39822
|
+
title: i18n2.t("dovetail.distributed"),
|
|
39470
39823
|
width: 120,
|
|
39471
39824
|
sortable: true,
|
|
39472
39825
|
align: "right",
|
|
@@ -39478,6 +39831,16 @@ const PVCStorageColumnRenderer = (i18n2) => {
|
|
|
39478
39831
|
}
|
|
39479
39832
|
};
|
|
39480
39833
|
};
|
|
39834
|
+
const PVRefColumnRenderer = (i18n2) => {
|
|
39835
|
+
return {
|
|
39836
|
+
key: "pv",
|
|
39837
|
+
display: true,
|
|
39838
|
+
dataIndex: ["pv"],
|
|
39839
|
+
title: i18n2.t("dovetail.pv"),
|
|
39840
|
+
width: 120,
|
|
39841
|
+
sortable: true
|
|
39842
|
+
};
|
|
39843
|
+
};
|
|
39481
39844
|
const PVStorageClassColumnRenderer = (i18n2) => {
|
|
39482
39845
|
return {
|
|
39483
39846
|
key: "storageClass",
|
|
@@ -39499,8 +39862,8 @@ const PVPhaseColumnRenderer = (i18n2) => {
|
|
|
39499
39862
|
return {
|
|
39500
39863
|
key: "phase",
|
|
39501
39864
|
display: true,
|
|
39502
|
-
dataIndex: ["
|
|
39503
|
-
title: i18n2.t("dovetail.
|
|
39865
|
+
dataIndex: ["phase"],
|
|
39866
|
+
title: i18n2.t("dovetail.state"),
|
|
39504
39867
|
width: 120,
|
|
39505
39868
|
sortable: true,
|
|
39506
39869
|
render(value2) {
|
|
@@ -39510,6 +39873,26 @@ const PVPhaseColumnRenderer = (i18n2) => {
|
|
|
39510
39873
|
}
|
|
39511
39874
|
};
|
|
39512
39875
|
};
|
|
39876
|
+
const PVCRefColumnRenderer = (i18n2) => {
|
|
39877
|
+
return {
|
|
39878
|
+
key: "pvc",
|
|
39879
|
+
display: true,
|
|
39880
|
+
dataIndex: ["pvc"],
|
|
39881
|
+
title: i18n2.t("dovetail.pvc"),
|
|
39882
|
+
width: 120,
|
|
39883
|
+
sortable: true
|
|
39884
|
+
};
|
|
39885
|
+
};
|
|
39886
|
+
const PVCSIRefColumnRenderer = (i18n2) => {
|
|
39887
|
+
return {
|
|
39888
|
+
key: "csi",
|
|
39889
|
+
display: true,
|
|
39890
|
+
dataIndex: ["csi"],
|
|
39891
|
+
title: i18n2.t("dovetail.csi"),
|
|
39892
|
+
width: 120,
|
|
39893
|
+
sortable: true
|
|
39894
|
+
};
|
|
39895
|
+
};
|
|
39513
39896
|
const PVVolumeModeColumnRenderer = (i18n2) => {
|
|
39514
39897
|
return {
|
|
39515
39898
|
key: "mode",
|
|
@@ -39535,6 +39918,36 @@ const PVAccessModeColumnRenderer = (i18n2) => {
|
|
|
39535
39918
|
sortable: true
|
|
39536
39919
|
};
|
|
39537
39920
|
};
|
|
39921
|
+
const IsDefaultSCColumnRenderer = (i18n2) => {
|
|
39922
|
+
return {
|
|
39923
|
+
key: "isDefaultSC",
|
|
39924
|
+
display: true,
|
|
39925
|
+
dataIndex: ["isDefaultSC"],
|
|
39926
|
+
title: i18n2.t("dovetail.default_sc"),
|
|
39927
|
+
width: 120,
|
|
39928
|
+
sortable: true,
|
|
39929
|
+
render(val) {
|
|
39930
|
+
return val ? i18n2.t("dovetail.true") : i18n2.t("dovetail.false");
|
|
39931
|
+
}
|
|
39932
|
+
};
|
|
39933
|
+
};
|
|
39934
|
+
const SCReclaimPolicyColumnRenderer = (i18n2) => {
|
|
39935
|
+
return {
|
|
39936
|
+
key: "reclaimPolicy",
|
|
39937
|
+
display: true,
|
|
39938
|
+
dataIndex: ["reclaimPolicy"],
|
|
39939
|
+
title: i18n2.t("dovetail.reclaim_policy"),
|
|
39940
|
+
width: 120,
|
|
39941
|
+
sortable: true,
|
|
39942
|
+
render(val) {
|
|
39943
|
+
const map = {
|
|
39944
|
+
Delete: i18n2.t("dovetail.delete"),
|
|
39945
|
+
Retain: i18n2.t("dovetail.retain")
|
|
39946
|
+
};
|
|
39947
|
+
return map[val] || val;
|
|
39948
|
+
}
|
|
39949
|
+
};
|
|
39950
|
+
};
|
|
39538
39951
|
const styles = "";
|
|
39539
39952
|
const Dovetail = (props) => {
|
|
39540
39953
|
const {
|
|
@@ -39773,215 +40186,231 @@ const relationPlugin = new RelationPlugin();
|
|
|
39773
40186
|
const ProviderPlugins = [relationPlugin, modelPlugin];
|
|
39774
40187
|
const dovetailRefineI18n = i18n;
|
|
39775
40188
|
export {
|
|
39776
|
-
|
|
40189
|
+
Breadcrumb as $,
|
|
39777
40190
|
AgeColumnRenderer as A,
|
|
39778
40191
|
PVCStorageColumnRenderer as B,
|
|
39779
40192
|
CommonSorter as C,
|
|
39780
40193
|
DurationColumnRenderer as D,
|
|
39781
|
-
|
|
39782
|
-
|
|
39783
|
-
|
|
39784
|
-
|
|
40194
|
+
PVRefColumnRenderer as E,
|
|
40195
|
+
PVStorageClassColumnRenderer as F,
|
|
40196
|
+
PVPhaseColumnRenderer as G,
|
|
40197
|
+
PVCRefColumnRenderer as H,
|
|
39785
40198
|
IngressRulesColumnRenderer as I,
|
|
39786
|
-
|
|
39787
|
-
|
|
39788
|
-
|
|
39789
|
-
|
|
40199
|
+
PVCSIRefColumnRenderer as J,
|
|
40200
|
+
PVVolumeModeColumnRenderer as K,
|
|
40201
|
+
PVAccessModeColumnRenderer as L,
|
|
40202
|
+
IsDefaultSCColumnRenderer as M,
|
|
39790
40203
|
NameColumnRenderer as N,
|
|
39791
|
-
|
|
40204
|
+
SCReclaimPolicyColumnRenderer as O,
|
|
39792
40205
|
PlainTextNameColumnRenderer as P,
|
|
39793
|
-
|
|
40206
|
+
ColumnKeys as Q,
|
|
39794
40207
|
ReplicasColumnRenderer as R,
|
|
39795
40208
|
StateDisplayColumnRenderer as S,
|
|
39796
|
-
|
|
39797
|
-
|
|
39798
|
-
|
|
40209
|
+
addDefaultRenderToColumns as T,
|
|
40210
|
+
useEagleTable as U,
|
|
40211
|
+
useDownloadYAML as V,
|
|
39799
40212
|
WorkloadImageColumnRenderer as W,
|
|
39800
|
-
|
|
39801
|
-
|
|
39802
|
-
|
|
39803
|
-
|
|
40213
|
+
useEdit as X,
|
|
40214
|
+
useGlobalStore as Y,
|
|
40215
|
+
useOpenForm as Z,
|
|
40216
|
+
index as _,
|
|
39804
40217
|
useApiGroupSchema as a,
|
|
39805
|
-
|
|
39806
|
-
|
|
39807
|
-
|
|
39808
|
-
|
|
39809
|
-
|
|
39810
|
-
|
|
39811
|
-
|
|
39812
|
-
|
|
39813
|
-
|
|
39814
|
-
|
|
39815
|
-
|
|
39816
|
-
|
|
39817
|
-
|
|
39818
|
-
|
|
39819
|
-
|
|
39820
|
-
|
|
39821
|
-
|
|
39822
|
-
|
|
39823
|
-
|
|
39824
|
-
|
|
39825
|
-
|
|
39826
|
-
|
|
39827
|
-
|
|
39828
|
-
|
|
39829
|
-
|
|
39830
|
-
|
|
39831
|
-
|
|
39832
|
-
|
|
39833
|
-
|
|
39834
|
-
|
|
39835
|
-
|
|
39836
|
-
|
|
39837
|
-
|
|
39838
|
-
|
|
39839
|
-
|
|
39840
|
-
|
|
39841
|
-
|
|
39842
|
-
|
|
39843
|
-
|
|
39844
|
-
|
|
39845
|
-
|
|
39846
|
-
|
|
39847
|
-
|
|
39848
|
-
|
|
39849
|
-
|
|
39850
|
-
|
|
39851
|
-
|
|
39852
|
-
|
|
39853
|
-
|
|
39854
|
-
|
|
39855
|
-
|
|
39856
|
-
|
|
39857
|
-
|
|
39858
|
-
|
|
39859
|
-
|
|
39860
|
-
|
|
39861
|
-
|
|
39862
|
-
|
|
39863
|
-
|
|
39864
|
-
|
|
39865
|
-
|
|
39866
|
-
|
|
39867
|
-
|
|
39868
|
-
|
|
40218
|
+
StorageClassPvField as a$,
|
|
40219
|
+
NameInputWidget as a0,
|
|
40220
|
+
dnsSubDomainRules as a1,
|
|
40221
|
+
rfc1123LabelRules as a2,
|
|
40222
|
+
rfc1035LabelRules as a3,
|
|
40223
|
+
NamespaceSelectWidget as a4,
|
|
40224
|
+
namespaceRules as a5,
|
|
40225
|
+
KeyValueListWidget as a6,
|
|
40226
|
+
MetadataForm as a7,
|
|
40227
|
+
PageShow as a8,
|
|
40228
|
+
Time as a9,
|
|
40229
|
+
DeleteButton as aA,
|
|
40230
|
+
Layout as aB,
|
|
40231
|
+
AreaType as aC,
|
|
40232
|
+
ImageField as aD,
|
|
40233
|
+
ReplicaField as aE,
|
|
40234
|
+
ConditionsField as aF,
|
|
40235
|
+
PodsField as aG,
|
|
40236
|
+
JobsField as aH,
|
|
40237
|
+
DataField as aI,
|
|
40238
|
+
SecretDataField as aJ,
|
|
40239
|
+
StartTimeField as aK,
|
|
40240
|
+
ServiceTypeField as aL,
|
|
40241
|
+
ClusterIpField as aM,
|
|
40242
|
+
SessionAffinityField as aN,
|
|
40243
|
+
ServicePodsField as aO,
|
|
40244
|
+
IngressRulesTableTabField as aP,
|
|
40245
|
+
EventsTableTabField as aQ,
|
|
40246
|
+
NamespaceField as aR,
|
|
40247
|
+
AgeField as aS,
|
|
40248
|
+
LabelsField as aT,
|
|
40249
|
+
AnnotationsField as aU,
|
|
40250
|
+
ServiceInnerClusterAccessField as aV,
|
|
40251
|
+
ServiceOutClusterAccessField as aW,
|
|
40252
|
+
PodSelectorField as aX,
|
|
40253
|
+
PortsTableField as aY,
|
|
40254
|
+
DurationField as aZ,
|
|
40255
|
+
StorageClassProvisionerField as a_,
|
|
40256
|
+
ConditionsTable as aa,
|
|
40257
|
+
FormErrorAlert as ab,
|
|
40258
|
+
PodContainersTable as ac,
|
|
40259
|
+
WorkloadDropdown as ad,
|
|
40260
|
+
ReplicasDropdown as ae,
|
|
40261
|
+
PodDropdown as af,
|
|
40262
|
+
CreateButton as ag,
|
|
40263
|
+
ImageNames as ah,
|
|
40264
|
+
ResourceList as ai,
|
|
40265
|
+
ResourceShow as aj,
|
|
40266
|
+
ResourceForm as ak,
|
|
40267
|
+
ResourceCRUD as al,
|
|
40268
|
+
WorkloadPodsTable as am,
|
|
40269
|
+
CronJobDropdown as an,
|
|
40270
|
+
K8sDropdown as ao,
|
|
40271
|
+
EditLabelDropdownMenuItem as ap,
|
|
40272
|
+
EditAnnotationDropdownMenuItem as aq,
|
|
40273
|
+
ResourceUsageBar as ar,
|
|
40274
|
+
WorkloadReplicasForm as as,
|
|
40275
|
+
WorkloadReplicas as at,
|
|
40276
|
+
CronjobJobsTable as au,
|
|
40277
|
+
KeyValue as av,
|
|
40278
|
+
KeyValueAnnotation as aw,
|
|
40279
|
+
KeyValueSecret as ax,
|
|
40280
|
+
Separator as ay,
|
|
40281
|
+
YamlEditorComponent as az,
|
|
39869
40282
|
useSchema as b,
|
|
39870
|
-
|
|
39871
|
-
|
|
39872
|
-
|
|
39873
|
-
|
|
39874
|
-
|
|
39875
|
-
|
|
39876
|
-
|
|
39877
|
-
|
|
39878
|
-
|
|
39879
|
-
|
|
39880
|
-
|
|
39881
|
-
|
|
39882
|
-
|
|
39883
|
-
|
|
39884
|
-
|
|
39885
|
-
|
|
39886
|
-
|
|
39887
|
-
|
|
39888
|
-
|
|
39889
|
-
|
|
39890
|
-
|
|
39891
|
-
|
|
39892
|
-
|
|
39893
|
-
|
|
39894
|
-
|
|
39895
|
-
|
|
39896
|
-
|
|
39897
|
-
|
|
39898
|
-
|
|
39899
|
-
|
|
39900
|
-
|
|
39901
|
-
|
|
39902
|
-
|
|
39903
|
-
|
|
39904
|
-
|
|
39905
|
-
|
|
39906
|
-
|
|
39907
|
-
|
|
39908
|
-
|
|
39909
|
-
|
|
39910
|
-
|
|
39911
|
-
|
|
39912
|
-
|
|
39913
|
-
|
|
39914
|
-
|
|
39915
|
-
|
|
39916
|
-
|
|
39917
|
-
|
|
39918
|
-
|
|
39919
|
-
|
|
39920
|
-
|
|
39921
|
-
|
|
39922
|
-
|
|
39923
|
-
|
|
39924
|
-
|
|
39925
|
-
|
|
39926
|
-
|
|
39927
|
-
|
|
39928
|
-
|
|
39929
|
-
|
|
39930
|
-
|
|
39931
|
-
|
|
39932
|
-
|
|
39933
|
-
|
|
40283
|
+
PodShellModal as b$,
|
|
40284
|
+
PVCapacityField as b0,
|
|
40285
|
+
PVCStorageField as b1,
|
|
40286
|
+
PVRefField as b2,
|
|
40287
|
+
PVStorageClassField as b3,
|
|
40288
|
+
PVPhaseField as b4,
|
|
40289
|
+
PVVolumeModeField as b5,
|
|
40290
|
+
PVAccessModeField as b6,
|
|
40291
|
+
PVCRefField as b7,
|
|
40292
|
+
PVCSIRefField as b8,
|
|
40293
|
+
IsDefaultSCField as b9,
|
|
40294
|
+
DrawerShow as bA,
|
|
40295
|
+
Menu as bB,
|
|
40296
|
+
EditButton as bC,
|
|
40297
|
+
ReferenceLink as bD,
|
|
40298
|
+
ResourceLink as bE,
|
|
40299
|
+
NS_STORE_KEY as bF,
|
|
40300
|
+
ALL_NS as bG,
|
|
40301
|
+
useNamespacesFilter as bH,
|
|
40302
|
+
NamespacesFilter as bI,
|
|
40303
|
+
FormModal as bJ,
|
|
40304
|
+
RefineFormContent as bK,
|
|
40305
|
+
RefineFormPage as bL,
|
|
40306
|
+
SchemaStrategy as bM,
|
|
40307
|
+
YamlForm as bN,
|
|
40308
|
+
useRefineForm as bO,
|
|
40309
|
+
ServiceInClusterAccessComponent as bP,
|
|
40310
|
+
ServiceOutClusterAccessComponent as bQ,
|
|
40311
|
+
Tags as bR,
|
|
40312
|
+
TextTags as bS,
|
|
40313
|
+
PodLog as bT,
|
|
40314
|
+
NetworkPolicyRulesViewer as bU,
|
|
40315
|
+
PVPhaseDisplay as bV,
|
|
40316
|
+
PVVolumeModeDisplay as bW,
|
|
40317
|
+
Tabs as bX,
|
|
40318
|
+
ResourceSelect as bY,
|
|
40319
|
+
SocketStatus as bZ,
|
|
40320
|
+
Shell as b_,
|
|
40321
|
+
SCReclaimPolicyField as ba,
|
|
40322
|
+
IsSCAllowVolumeExpansionField as bb,
|
|
40323
|
+
ResourceTableField as bc,
|
|
40324
|
+
EventsTab as bd,
|
|
40325
|
+
PodLogTab as be,
|
|
40326
|
+
BasicGroup as bf,
|
|
40327
|
+
PodsGroup as bg,
|
|
40328
|
+
PodContainersGroup as bh,
|
|
40329
|
+
ServicePodsGroup as bi,
|
|
40330
|
+
ConditionsGroup as bj,
|
|
40331
|
+
SecretDataGroup as bk,
|
|
40332
|
+
JobsGroup as bl,
|
|
40333
|
+
IngressRulesGroup as bm,
|
|
40334
|
+
PodSelectorGroup as bn,
|
|
40335
|
+
PortsGroup as bo,
|
|
40336
|
+
DataGroup as bp,
|
|
40337
|
+
NetworkPolicyIngressRulesGroup as bq,
|
|
40338
|
+
NetworkPolicyEgressRulesGroup as br,
|
|
40339
|
+
StorageClassPvGroup as bs,
|
|
40340
|
+
ResourceTableGroup as bt,
|
|
40341
|
+
ShowGroupComponent as bu,
|
|
40342
|
+
ShowContent as bv,
|
|
40343
|
+
DeleteManyButton as bw,
|
|
40344
|
+
ListPage as bx,
|
|
40345
|
+
StateTagStyle as by,
|
|
40346
|
+
StateTag as bz,
|
|
39934
40347
|
useDeleteModal as c,
|
|
39935
|
-
|
|
39936
|
-
|
|
39937
|
-
|
|
39938
|
-
|
|
39939
|
-
|
|
39940
|
-
|
|
39941
|
-
|
|
39942
|
-
|
|
39943
|
-
|
|
39944
|
-
|
|
39945
|
-
|
|
39946
|
-
|
|
39947
|
-
|
|
39948
|
-
|
|
39949
|
-
|
|
39950
|
-
|
|
39951
|
-
|
|
39952
|
-
|
|
39953
|
-
|
|
39954
|
-
|
|
39955
|
-
|
|
39956
|
-
|
|
39957
|
-
|
|
39958
|
-
|
|
39959
|
-
|
|
39960
|
-
|
|
39961
|
-
|
|
39962
|
-
|
|
39963
|
-
|
|
39964
|
-
|
|
39965
|
-
|
|
39966
|
-
|
|
39967
|
-
|
|
39968
|
-
|
|
39969
|
-
|
|
39970
|
-
|
|
39971
|
-
|
|
39972
|
-
|
|
39973
|
-
|
|
39974
|
-
|
|
39975
|
-
|
|
39976
|
-
|
|
39977
|
-
|
|
39978
|
-
|
|
39979
|
-
|
|
39980
|
-
|
|
39981
|
-
|
|
39982
|
-
|
|
39983
|
-
|
|
40348
|
+
generateSchemaTypeValue as c$,
|
|
40349
|
+
PodShell as c0,
|
|
40350
|
+
ResourceTable as c1,
|
|
40351
|
+
BASE_INIT_VALUE as c2,
|
|
40352
|
+
DEPLOYMENT_INIT_VALUE as c3,
|
|
40353
|
+
CRONJOB_INIT_VALUE as c4,
|
|
40354
|
+
DAEMONSET_INIT_VALUE as c5,
|
|
40355
|
+
JOB_INIT_VALUE as c6,
|
|
40356
|
+
STATEFULSET_INIT_VALUE as c7,
|
|
40357
|
+
POD_INIT_VALUE as c8,
|
|
40358
|
+
SERVICE_CLUSTER_IP_INIT_VALUE as c9,
|
|
40359
|
+
ConfigsContext as cA,
|
|
40360
|
+
IngressModel as cB,
|
|
40361
|
+
NetworkPolicyModel as cC,
|
|
40362
|
+
JobModel as cD,
|
|
40363
|
+
WorkloadModel as cE,
|
|
40364
|
+
WorkloadBaseModel as cF,
|
|
40365
|
+
PodModel as cG,
|
|
40366
|
+
PodMetricsModel as cH,
|
|
40367
|
+
ResourceModel as cI,
|
|
40368
|
+
CronJobModel as cJ,
|
|
40369
|
+
EventModel as cK,
|
|
40370
|
+
DeploymentModel as cL,
|
|
40371
|
+
DaemonSetModel as cM,
|
|
40372
|
+
StatefulSetModel as cN,
|
|
40373
|
+
ServiceTypeEnum as cO,
|
|
40374
|
+
ServiceModel as cP,
|
|
40375
|
+
NodeRole as cQ,
|
|
40376
|
+
NodeModel as cR,
|
|
40377
|
+
StorageClassModel as cS,
|
|
40378
|
+
PersistentVolumeModel as cT,
|
|
40379
|
+
PersistentVolumeClaimModel as cU,
|
|
40380
|
+
ProviderPlugins as cV,
|
|
40381
|
+
ModelPlugin as cW,
|
|
40382
|
+
modelPlugin as cX,
|
|
40383
|
+
RelationPlugin as cY,
|
|
40384
|
+
relationPlugin as cZ,
|
|
40385
|
+
generateValueFromSchema as c_,
|
|
40386
|
+
SERVICE_NODE_PORT_INIT_VALUE as ca,
|
|
40387
|
+
SERVICE_LOAD_BALANCER_INIT_VALUE as cb,
|
|
40388
|
+
SERVICE_EXTERNAL_NAME_INIT_VALUE as cc,
|
|
40389
|
+
SERVICE_HEADLESS_INIT_VALUE as cd,
|
|
40390
|
+
INGRESS_INIT_VALUE as ce,
|
|
40391
|
+
NETWORK_POLICY_INIT_VALUE as cf,
|
|
40392
|
+
CONFIG_MAP_INIT_VALUE as cg,
|
|
40393
|
+
SERVER_INSTANCE_INIT_VALUE as ch,
|
|
40394
|
+
REDEPLOY_TIMESTAMP_KEY as ci,
|
|
40395
|
+
SECRET_OPAQUE_INIT_VALUE as cj,
|
|
40396
|
+
SECRET_IMAGE_REPO_INIT_VALUE as ck,
|
|
40397
|
+
SECRET_BASIC_AUTH_INIT_VALUE as cl,
|
|
40398
|
+
SECRET_SSH_AUTH_INIT_VALUE as cm,
|
|
40399
|
+
SECRET_TLS_INIT_VALUE as cn,
|
|
40400
|
+
SECRET_CUSTOM_INIT_VALUE as co,
|
|
40401
|
+
NODE_INIT_VALUE as cp,
|
|
40402
|
+
STORAGE_CLASS_INIT_VALUE as cq,
|
|
40403
|
+
PV_INIT_VALUE as cr,
|
|
40404
|
+
PVC_INIT_VALUE as cs,
|
|
40405
|
+
WorkloadState as ct,
|
|
40406
|
+
AccessControlAuth as cu,
|
|
40407
|
+
Dovetail as cv,
|
|
40408
|
+
RESOURCE_GROUP as cw,
|
|
40409
|
+
FormType as cx,
|
|
40410
|
+
ComponentContext as cy,
|
|
40411
|
+
GlobalStoreContext as cz,
|
|
39984
40412
|
dovetailRefineI18n as d,
|
|
40413
|
+
resolveRef as d0,
|
|
39985
40414
|
NameSpaceColumnRenderer as e,
|
|
39986
40415
|
WorkloadRestartsColumnRenderer as f,
|
|
39987
40416
|
NodeNameColumnRenderer as g,
|