@dovetail-v2/refine 0.0.62 → 0.0.63-alpha.0
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-a7e5cc24.js → MonacoYamlDiffEditor-b319f3df.js} +1 -1
- package/dist/{index-3bdfc94a.js → index-11d0685a.js} +1164 -926
- package/dist/refine.js +179 -158
- package/dist/refine.umd.cjs +1007 -769
- package/lib/src/components/Form/type.d.ts +4 -3
- package/lib/src/components/K8sDropdown/index.d.ts +1 -1
- package/lib/src/components/ResourceLink/index.d.ts +1 -1
- package/lib/src/components/ResourceSelect/index.d.ts +12 -0
- package/lib/src/components/ShowContent/fields.d.ts +4 -1
- package/lib/src/components/ShowContent/groups.d.ts +2 -1
- package/lib/src/components/ValueDisplay/index.d.ts +1 -1
- package/lib/src/components/index.d.ts +2 -0
- package/lib/src/constants/k8s.d.ts +18 -0
- package/lib/src/hooks/useEagleTable/columns.d.ts +8 -1
- package/lib/src/i18n.d.ts +4 -1
- package/lib/src/locales/zh-CN/index.d.ts +4 -1
- package/lib/src/models/index.d.ts +4 -0
- package/lib/src/models/node-model.d.ts +15 -0
- package/lib/src/models/persistent-volume-claim.d.ts +10 -0
- package/lib/src/models/persistent-volume.d.ts +10 -0
- package/lib/src/models/storage-class.d.ts +13 -0
- package/lib/src/models/workload-base-model.d.ts +2 -2
- package/lib/src/pages/nodes/index.d.ts +2 -0
- package/lib/src/pages/nodes/list/index.d.ts +3 -0
- package/lib/src/pages/nodes/show/index.d.ts +3 -0
- package/lib/src/pages/persistentvolumes/index.d.ts +19 -0
- package/lib/src/pages/storageclasses/form/index.d.ts +9 -0
- package/lib/src/pages/storageclasses/index.d.ts +45 -0
- package/lib/src/types/resource.d.ts +3 -1
- 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,308 +25,301 @@ function getDefaultExportFromCjs(x) {
|
|
|
25
25
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
26
26
|
}
|
|
27
27
|
var dayjs_min = { exports: {} };
|
|
28
|
-
|
|
29
|
-
function
|
|
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
|
-
function
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
if (null === e3)
|
|
94
|
-
return /* @__PURE__ */ new Date(NaN);
|
|
95
|
-
if (b.u(e3))
|
|
96
|
-
return /* @__PURE__ */ new Date();
|
|
97
|
-
if (e3 instanceof Date)
|
|
98
|
-
return new Date(e3);
|
|
99
|
-
if ("string" == typeof e3 && !/Z$/i.test(e3)) {
|
|
100
|
-
var r3 = e3.match($);
|
|
101
|
-
if (r3) {
|
|
102
|
-
var i3 = r3[2] - 1 || 0, s3 = (r3[7] || "0").substring(0, 3);
|
|
103
|
-
return n3 ? new Date(Date.UTC(r3[1], i3, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3)) : new Date(r3[1], i3, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
28
|
+
(function(module, exports) {
|
|
29
|
+
!function(t2, e2) {
|
|
30
|
+
module.exports = e2();
|
|
31
|
+
}(commonjsGlobal, function() {
|
|
32
|
+
var t2 = 1e3, e2 = 6e4, n2 = 36e5, r2 = "millisecond", i2 = "second", s2 = "minute", u = "hour", a2 = "day", o = "week", c2 = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
|
|
33
|
+
var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
|
|
34
|
+
return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
|
|
35
|
+
} }, m = function(t3, e3, n3) {
|
|
36
|
+
var r3 = String(t3);
|
|
37
|
+
return !r3 || r3.length >= e3 ? t3 : "" + Array(e3 + 1 - r3.length).join(n3) + t3;
|
|
38
|
+
}, v = { s: m, z: function(t3) {
|
|
39
|
+
var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r3 = Math.floor(n3 / 60), i3 = n3 % 60;
|
|
40
|
+
return (e3 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i3, 2, "0");
|
|
41
|
+
}, m: function t3(e3, n3) {
|
|
42
|
+
if (e3.date() < n3.date())
|
|
43
|
+
return -t3(n3, e3);
|
|
44
|
+
var r3 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i3 = e3.clone().add(r3, c2), s3 = n3 - i3 < 0, u2 = e3.clone().add(r3 + (s3 ? -1 : 1), c2);
|
|
45
|
+
return +(-(r3 + (n3 - i3) / (s3 ? i3 - u2 : u2 - i3)) || 0);
|
|
46
|
+
}, a: function(t3) {
|
|
47
|
+
return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
|
|
48
|
+
}, p: function(t3) {
|
|
49
|
+
return { M: c2, y: h, w: o, d: a2, D: d, h: u, m: s2, s: i2, ms: r2, Q: f }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
|
|
50
|
+
}, u: function(t3) {
|
|
51
|
+
return void 0 === t3;
|
|
52
|
+
} }, g = "en", D = {};
|
|
53
|
+
D[g] = M;
|
|
54
|
+
var p = "$isDayjsObject", S = function(t3) {
|
|
55
|
+
return t3 instanceof _ || !(!t3 || !t3[p]);
|
|
56
|
+
}, w = function t3(e3, n3, r3) {
|
|
57
|
+
var i3;
|
|
58
|
+
if (!e3)
|
|
59
|
+
return g;
|
|
60
|
+
if ("string" == typeof e3) {
|
|
61
|
+
var s3 = e3.toLowerCase();
|
|
62
|
+
D[s3] && (i3 = s3), n3 && (D[s3] = n3, i3 = s3);
|
|
63
|
+
var u2 = e3.split("-");
|
|
64
|
+
if (!i3 && u2.length > 1)
|
|
65
|
+
return t3(u2[0]);
|
|
66
|
+
} else {
|
|
67
|
+
var a3 = e3.name;
|
|
68
|
+
D[a3] = e3, i3 = a3;
|
|
69
|
+
}
|
|
70
|
+
return !r3 && i3 && (g = i3), i3 || !r3 && g;
|
|
71
|
+
}, O = function(t3, e3) {
|
|
72
|
+
if (S(t3))
|
|
73
|
+
return t3.clone();
|
|
74
|
+
var n3 = "object" == typeof e3 ? e3 : {};
|
|
75
|
+
return n3.date = t3, n3.args = arguments, new _(n3);
|
|
76
|
+
}, b = v;
|
|
77
|
+
b.l = w, b.i = S, b.w = function(t3, e3) {
|
|
78
|
+
return O(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
|
|
79
|
+
};
|
|
80
|
+
var _ = function() {
|
|
81
|
+
function M2(t3) {
|
|
82
|
+
this.$L = w(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p] = true;
|
|
83
|
+
}
|
|
84
|
+
var m2 = M2.prototype;
|
|
85
|
+
return m2.parse = function(t3) {
|
|
86
|
+
this.$d = function(t4) {
|
|
87
|
+
var e3 = t4.date, n3 = t4.utc;
|
|
88
|
+
if (null === e3)
|
|
89
|
+
return /* @__PURE__ */ new Date(NaN);
|
|
90
|
+
if (b.u(e3))
|
|
91
|
+
return /* @__PURE__ */ new Date();
|
|
92
|
+
if (e3 instanceof Date)
|
|
106
93
|
return new Date(e3);
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
return
|
|
115
|
-
},
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
return y2(7);
|
|
184
|
-
var M3 = (d2 = {}, d2[s2] = e2, d2[u] = n2, d2[i2] = t2, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
|
|
185
|
-
return b.w(m3, this);
|
|
186
|
-
}, m2.subtract = function(t3, e3) {
|
|
187
|
-
return this.add(-1 * t3, e3);
|
|
188
|
-
}, m2.format = function(t3) {
|
|
189
|
-
var e3 = this, n3 = this.$locale();
|
|
190
|
-
if (!this.isValid())
|
|
191
|
-
return n3.invalidDate || l;
|
|
192
|
-
var r3 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i3 = b.z(this), s3 = this.$H, u2 = this.$m, a3 = this.$M, o2 = n3.weekdays, c3 = n3.months, f2 = n3.meridiem, h2 = function(t4, n4, i4, s4) {
|
|
193
|
-
return t4 && (t4[n4] || t4(e3, r3)) || i4[n4].slice(0, s4);
|
|
194
|
-
}, d2 = function(t4) {
|
|
195
|
-
return b.s(s3 % 12 || 12, t4, "0");
|
|
196
|
-
}, $2 = f2 || function(t4, e4, n4) {
|
|
197
|
-
var r4 = t4 < 12 ? "AM" : "PM";
|
|
198
|
-
return n4 ? r4.toLowerCase() : r4;
|
|
199
|
-
};
|
|
200
|
-
return r3.replace(y, function(t4, r4) {
|
|
201
|
-
return r4 || function(t5) {
|
|
202
|
-
switch (t5) {
|
|
203
|
-
case "YY":
|
|
204
|
-
return String(e3.$y).slice(-2);
|
|
205
|
-
case "YYYY":
|
|
206
|
-
return b.s(e3.$y, 4, "0");
|
|
207
|
-
case "M":
|
|
208
|
-
return a3 + 1;
|
|
209
|
-
case "MM":
|
|
210
|
-
return b.s(a3 + 1, 2, "0");
|
|
211
|
-
case "MMM":
|
|
212
|
-
return h2(n3.monthsShort, a3, c3, 3);
|
|
213
|
-
case "MMMM":
|
|
214
|
-
return h2(c3, a3);
|
|
215
|
-
case "D":
|
|
216
|
-
return e3.$D;
|
|
217
|
-
case "DD":
|
|
218
|
-
return b.s(e3.$D, 2, "0");
|
|
219
|
-
case "d":
|
|
220
|
-
return String(e3.$W);
|
|
221
|
-
case "dd":
|
|
222
|
-
return h2(n3.weekdaysMin, e3.$W, o2, 2);
|
|
223
|
-
case "ddd":
|
|
224
|
-
return h2(n3.weekdaysShort, e3.$W, o2, 3);
|
|
225
|
-
case "dddd":
|
|
226
|
-
return o2[e3.$W];
|
|
227
|
-
case "H":
|
|
228
|
-
return String(s3);
|
|
229
|
-
case "HH":
|
|
230
|
-
return b.s(s3, 2, "0");
|
|
231
|
-
case "h":
|
|
232
|
-
return d2(1);
|
|
233
|
-
case "hh":
|
|
234
|
-
return d2(2);
|
|
235
|
-
case "a":
|
|
236
|
-
return $2(s3, u2, true);
|
|
237
|
-
case "A":
|
|
238
|
-
return $2(s3, u2, false);
|
|
239
|
-
case "m":
|
|
240
|
-
return String(u2);
|
|
241
|
-
case "mm":
|
|
242
|
-
return b.s(u2, 2, "0");
|
|
243
|
-
case "s":
|
|
244
|
-
return String(e3.$s);
|
|
245
|
-
case "ss":
|
|
246
|
-
return b.s(e3.$s, 2, "0");
|
|
247
|
-
case "SSS":
|
|
248
|
-
return b.s(e3.$ms, 3, "0");
|
|
249
|
-
case "Z":
|
|
250
|
-
return i3;
|
|
251
|
-
}
|
|
252
|
-
return null;
|
|
253
|
-
}(t4) || i3.replace(":", "");
|
|
254
|
-
});
|
|
255
|
-
}, m2.utcOffset = function() {
|
|
256
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
257
|
-
}, m2.diff = function(r3, d2, l2) {
|
|
258
|
-
var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e2, g2 = this - m3, D2 = function() {
|
|
259
|
-
return b.m(y2, m3);
|
|
260
|
-
};
|
|
261
|
-
switch (M3) {
|
|
262
|
-
case h:
|
|
263
|
-
$2 = D2() / 12;
|
|
264
|
-
break;
|
|
265
|
-
case c2:
|
|
266
|
-
$2 = D2();
|
|
267
|
-
break;
|
|
268
|
-
case f:
|
|
269
|
-
$2 = D2() / 3;
|
|
270
|
-
break;
|
|
271
|
-
case o:
|
|
272
|
-
$2 = (g2 - v2) / 6048e5;
|
|
273
|
-
break;
|
|
274
|
-
case a2:
|
|
275
|
-
$2 = (g2 - v2) / 864e5;
|
|
276
|
-
break;
|
|
277
|
-
case u:
|
|
278
|
-
$2 = g2 / n2;
|
|
279
|
-
break;
|
|
280
|
-
case s2:
|
|
281
|
-
$2 = g2 / e2;
|
|
282
|
-
break;
|
|
283
|
-
case i2:
|
|
284
|
-
$2 = g2 / t2;
|
|
285
|
-
break;
|
|
286
|
-
default:
|
|
287
|
-
$2 = g2;
|
|
288
|
-
}
|
|
289
|
-
return l2 ? $2 : b.a($2);
|
|
290
|
-
}, m2.daysInMonth = function() {
|
|
291
|
-
return this.endOf(c2).$D;
|
|
292
|
-
}, m2.$locale = function() {
|
|
293
|
-
return D[this.$L];
|
|
294
|
-
}, m2.locale = function(t3, e3) {
|
|
295
|
-
if (!t3)
|
|
296
|
-
return this.$L;
|
|
297
|
-
var n3 = this.clone(), r3 = w(t3, e3, true);
|
|
298
|
-
return r3 && (n3.$L = r3), n3;
|
|
299
|
-
}, m2.clone = function() {
|
|
300
|
-
return b.w(this.$d, this);
|
|
301
|
-
}, m2.toDate = function() {
|
|
302
|
-
return new Date(this.valueOf());
|
|
303
|
-
}, m2.toJSON = function() {
|
|
304
|
-
return this.isValid() ? this.toISOString() : null;
|
|
305
|
-
}, m2.toISOString = function() {
|
|
306
|
-
return this.$d.toISOString();
|
|
307
|
-
}, m2.toString = function() {
|
|
308
|
-
return this.$d.toUTCString();
|
|
309
|
-
}, M2;
|
|
310
|
-
}(), k = _.prototype;
|
|
311
|
-
return O.prototype = k, [["$ms", r2], ["$s", i2], ["$m", s2], ["$H", u], ["$W", a2], ["$M", c2], ["$y", h], ["$D", d]].forEach(function(t3) {
|
|
312
|
-
k[t3[1]] = function(e3) {
|
|
313
|
-
return this.$g(e3, t3[0], t3[1]);
|
|
94
|
+
if ("string" == typeof e3 && !/Z$/i.test(e3)) {
|
|
95
|
+
var r3 = e3.match($);
|
|
96
|
+
if (r3) {
|
|
97
|
+
var i3 = r3[2] - 1 || 0, s3 = (r3[7] || "0").substring(0, 3);
|
|
98
|
+
return n3 ? new Date(Date.UTC(r3[1], i3, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3)) : new Date(r3[1], i3, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return new Date(e3);
|
|
102
|
+
}(t3), this.init();
|
|
103
|
+
}, m2.init = function() {
|
|
104
|
+
var t3 = this.$d;
|
|
105
|
+
this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
|
|
106
|
+
}, m2.$utils = function() {
|
|
107
|
+
return b;
|
|
108
|
+
}, m2.isValid = function() {
|
|
109
|
+
return !(this.$d.toString() === l);
|
|
110
|
+
}, m2.isSame = function(t3, e3) {
|
|
111
|
+
var n3 = O(t3);
|
|
112
|
+
return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
|
|
113
|
+
}, m2.isAfter = function(t3, e3) {
|
|
114
|
+
return O(t3) < this.startOf(e3);
|
|
115
|
+
}, m2.isBefore = function(t3, e3) {
|
|
116
|
+
return this.endOf(e3) < O(t3);
|
|
117
|
+
}, m2.$g = function(t3, e3, n3) {
|
|
118
|
+
return b.u(t3) ? this[e3] : this.set(n3, t3);
|
|
119
|
+
}, m2.unix = function() {
|
|
120
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
121
|
+
}, m2.valueOf = function() {
|
|
122
|
+
return this.$d.getTime();
|
|
123
|
+
}, m2.startOf = function(t3, e3) {
|
|
124
|
+
var n3 = this, r3 = !!b.u(e3) || e3, f2 = b.p(t3), l2 = function(t4, e4) {
|
|
125
|
+
var i3 = b.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
|
|
126
|
+
return r3 ? i3 : i3.endOf(a2);
|
|
127
|
+
}, $2 = function(t4, e4) {
|
|
128
|
+
return b.w(n3.toDate()[t4].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
|
|
129
|
+
}, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
|
|
130
|
+
switch (f2) {
|
|
131
|
+
case h:
|
|
132
|
+
return r3 ? l2(1, 0) : l2(31, 11);
|
|
133
|
+
case c2:
|
|
134
|
+
return r3 ? l2(1, M3) : l2(0, M3 + 1);
|
|
135
|
+
case o:
|
|
136
|
+
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
|
|
137
|
+
return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
|
|
138
|
+
case a2:
|
|
139
|
+
case d:
|
|
140
|
+
return $2(v2 + "Hours", 0);
|
|
141
|
+
case u:
|
|
142
|
+
return $2(v2 + "Minutes", 1);
|
|
143
|
+
case s2:
|
|
144
|
+
return $2(v2 + "Seconds", 2);
|
|
145
|
+
case i2:
|
|
146
|
+
return $2(v2 + "Milliseconds", 3);
|
|
147
|
+
default:
|
|
148
|
+
return this.clone();
|
|
149
|
+
}
|
|
150
|
+
}, m2.endOf = function(t3) {
|
|
151
|
+
return this.startOf(t3, false);
|
|
152
|
+
}, m2.$set = function(t3, e3) {
|
|
153
|
+
var n3, o2 = b.p(t3), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n3 = {}, n3[a2] = f2 + "Date", n3[d] = f2 + "Date", n3[c2] = f2 + "Month", n3[h] = f2 + "FullYear", n3[u] = f2 + "Hours", n3[s2] = f2 + "Minutes", n3[i2] = f2 + "Seconds", n3[r2] = f2 + "Milliseconds", n3)[o2], $2 = o2 === a2 ? this.$D + (e3 - this.$W) : e3;
|
|
154
|
+
if (o2 === c2 || o2 === h) {
|
|
155
|
+
var y2 = this.clone().set(d, 1);
|
|
156
|
+
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
|
|
157
|
+
} else
|
|
158
|
+
l2 && this.$d[l2]($2);
|
|
159
|
+
return this.init(), this;
|
|
160
|
+
}, m2.set = function(t3, e3) {
|
|
161
|
+
return this.clone().$set(t3, e3);
|
|
162
|
+
}, m2.get = function(t3) {
|
|
163
|
+
return this[b.p(t3)]();
|
|
164
|
+
}, m2.add = function(r3, f2) {
|
|
165
|
+
var d2, l2 = this;
|
|
166
|
+
r3 = Number(r3);
|
|
167
|
+
var $2 = b.p(f2), y2 = function(t3) {
|
|
168
|
+
var e3 = O(l2);
|
|
169
|
+
return b.w(e3.date(e3.date() + Math.round(t3 * r3)), l2);
|
|
314
170
|
};
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
}
|
|
324
|
-
|
|
171
|
+
if ($2 === c2)
|
|
172
|
+
return this.set(c2, this.$M + r3);
|
|
173
|
+
if ($2 === h)
|
|
174
|
+
return this.set(h, this.$y + r3);
|
|
175
|
+
if ($2 === a2)
|
|
176
|
+
return y2(1);
|
|
177
|
+
if ($2 === o)
|
|
178
|
+
return y2(7);
|
|
179
|
+
var M3 = (d2 = {}, d2[s2] = e2, d2[u] = n2, d2[i2] = t2, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
|
|
180
|
+
return b.w(m3, this);
|
|
181
|
+
}, m2.subtract = function(t3, e3) {
|
|
182
|
+
return this.add(-1 * t3, e3);
|
|
183
|
+
}, m2.format = function(t3) {
|
|
184
|
+
var e3 = this, n3 = this.$locale();
|
|
185
|
+
if (!this.isValid())
|
|
186
|
+
return n3.invalidDate || l;
|
|
187
|
+
var r3 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i3 = b.z(this), s3 = this.$H, u2 = this.$m, a3 = this.$M, o2 = n3.weekdays, c3 = n3.months, f2 = n3.meridiem, h2 = function(t4, n4, i4, s4) {
|
|
188
|
+
return t4 && (t4[n4] || t4(e3, r3)) || i4[n4].slice(0, s4);
|
|
189
|
+
}, d2 = function(t4) {
|
|
190
|
+
return b.s(s3 % 12 || 12, t4, "0");
|
|
191
|
+
}, $2 = f2 || function(t4, e4, n4) {
|
|
192
|
+
var r4 = t4 < 12 ? "AM" : "PM";
|
|
193
|
+
return n4 ? r4.toLowerCase() : r4;
|
|
194
|
+
};
|
|
195
|
+
return r3.replace(y, function(t4, r4) {
|
|
196
|
+
return r4 || function(t5) {
|
|
197
|
+
switch (t5) {
|
|
198
|
+
case "YY":
|
|
199
|
+
return String(e3.$y).slice(-2);
|
|
200
|
+
case "YYYY":
|
|
201
|
+
return b.s(e3.$y, 4, "0");
|
|
202
|
+
case "M":
|
|
203
|
+
return a3 + 1;
|
|
204
|
+
case "MM":
|
|
205
|
+
return b.s(a3 + 1, 2, "0");
|
|
206
|
+
case "MMM":
|
|
207
|
+
return h2(n3.monthsShort, a3, c3, 3);
|
|
208
|
+
case "MMMM":
|
|
209
|
+
return h2(c3, a3);
|
|
210
|
+
case "D":
|
|
211
|
+
return e3.$D;
|
|
212
|
+
case "DD":
|
|
213
|
+
return b.s(e3.$D, 2, "0");
|
|
214
|
+
case "d":
|
|
215
|
+
return String(e3.$W);
|
|
216
|
+
case "dd":
|
|
217
|
+
return h2(n3.weekdaysMin, e3.$W, o2, 2);
|
|
218
|
+
case "ddd":
|
|
219
|
+
return h2(n3.weekdaysShort, e3.$W, o2, 3);
|
|
220
|
+
case "dddd":
|
|
221
|
+
return o2[e3.$W];
|
|
222
|
+
case "H":
|
|
223
|
+
return String(s3);
|
|
224
|
+
case "HH":
|
|
225
|
+
return b.s(s3, 2, "0");
|
|
226
|
+
case "h":
|
|
227
|
+
return d2(1);
|
|
228
|
+
case "hh":
|
|
229
|
+
return d2(2);
|
|
230
|
+
case "a":
|
|
231
|
+
return $2(s3, u2, true);
|
|
232
|
+
case "A":
|
|
233
|
+
return $2(s3, u2, false);
|
|
234
|
+
case "m":
|
|
235
|
+
return String(u2);
|
|
236
|
+
case "mm":
|
|
237
|
+
return b.s(u2, 2, "0");
|
|
238
|
+
case "s":
|
|
239
|
+
return String(e3.$s);
|
|
240
|
+
case "ss":
|
|
241
|
+
return b.s(e3.$s, 2, "0");
|
|
242
|
+
case "SSS":
|
|
243
|
+
return b.s(e3.$ms, 3, "0");
|
|
244
|
+
case "Z":
|
|
245
|
+
return i3;
|
|
246
|
+
}
|
|
247
|
+
return null;
|
|
248
|
+
}(t4) || i3.replace(":", "");
|
|
249
|
+
});
|
|
250
|
+
}, m2.utcOffset = function() {
|
|
251
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
252
|
+
}, m2.diff = function(r3, d2, l2) {
|
|
253
|
+
var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e2, g2 = this - m3, D2 = function() {
|
|
254
|
+
return b.m(y2, m3);
|
|
255
|
+
};
|
|
256
|
+
switch (M3) {
|
|
257
|
+
case h:
|
|
258
|
+
$2 = D2() / 12;
|
|
259
|
+
break;
|
|
260
|
+
case c2:
|
|
261
|
+
$2 = D2();
|
|
262
|
+
break;
|
|
263
|
+
case f:
|
|
264
|
+
$2 = D2() / 3;
|
|
265
|
+
break;
|
|
266
|
+
case o:
|
|
267
|
+
$2 = (g2 - v2) / 6048e5;
|
|
268
|
+
break;
|
|
269
|
+
case a2:
|
|
270
|
+
$2 = (g2 - v2) / 864e5;
|
|
271
|
+
break;
|
|
272
|
+
case u:
|
|
273
|
+
$2 = g2 / n2;
|
|
274
|
+
break;
|
|
275
|
+
case s2:
|
|
276
|
+
$2 = g2 / e2;
|
|
277
|
+
break;
|
|
278
|
+
case i2:
|
|
279
|
+
$2 = g2 / t2;
|
|
280
|
+
break;
|
|
281
|
+
default:
|
|
282
|
+
$2 = g2;
|
|
283
|
+
}
|
|
284
|
+
return l2 ? $2 : b.a($2);
|
|
285
|
+
}, m2.daysInMonth = function() {
|
|
286
|
+
return this.endOf(c2).$D;
|
|
287
|
+
}, m2.$locale = function() {
|
|
288
|
+
return D[this.$L];
|
|
289
|
+
}, m2.locale = function(t3, e3) {
|
|
290
|
+
if (!t3)
|
|
291
|
+
return this.$L;
|
|
292
|
+
var n3 = this.clone(), r3 = w(t3, e3, true);
|
|
293
|
+
return r3 && (n3.$L = r3), n3;
|
|
294
|
+
}, m2.clone = function() {
|
|
295
|
+
return b.w(this.$d, this);
|
|
296
|
+
}, m2.toDate = function() {
|
|
297
|
+
return new Date(this.valueOf());
|
|
298
|
+
}, m2.toJSON = function() {
|
|
299
|
+
return this.isValid() ? this.toISOString() : null;
|
|
300
|
+
}, m2.toISOString = function() {
|
|
301
|
+
return this.$d.toISOString();
|
|
302
|
+
}, m2.toString = function() {
|
|
303
|
+
return this.$d.toUTCString();
|
|
304
|
+
}, M2;
|
|
305
|
+
}(), k = _.prototype;
|
|
306
|
+
return O.prototype = k, [["$ms", r2], ["$s", i2], ["$m", s2], ["$H", u], ["$W", a2], ["$M", c2], ["$y", h], ["$D", d]].forEach(function(t3) {
|
|
307
|
+
k[t3[1]] = function(e3) {
|
|
308
|
+
return this.$g(e3, t3[0], t3[1]);
|
|
309
|
+
};
|
|
310
|
+
}), O.extend = function(t3, e3) {
|
|
311
|
+
return t3.$i || (t3(e3, _, O), t3.$i = true), O;
|
|
312
|
+
}, O.locale = w, O.isDayjs = S, O.unix = function(t3) {
|
|
313
|
+
return O(1e3 * t3);
|
|
314
|
+
}, O.en = D[g], O.Ls = D, O.p = {}, O;
|
|
315
|
+
});
|
|
316
|
+
})(dayjs_min);
|
|
317
|
+
var dayjs_minExports = dayjs_min.exports;
|
|
325
318
|
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
|
|
326
319
|
var zh = { exports: {} };
|
|
327
320
|
(function(module, exports) {
|
|
328
321
|
!function(e2, _) {
|
|
329
|
-
module.exports = _(
|
|
322
|
+
module.exports = _(dayjs_minExports);
|
|
330
323
|
}(commonjsGlobal, function(e2) {
|
|
331
324
|
function _(e3) {
|
|
332
325
|
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };
|
|
@@ -1159,7 +1152,7 @@ const path_type$1 = "Path type";
|
|
|
1159
1152
|
const only_support_one_yaml$1 = "Only one YAML configuration is supported at a time.";
|
|
1160
1153
|
const not_support$1 = "Not supported";
|
|
1161
1154
|
const stopped$1 = "Stopped";
|
|
1162
|
-
const any_node_ip
|
|
1155
|
+
const any_node_ip = "Any node IP";
|
|
1163
1156
|
const dovetail$1 = {
|
|
1164
1157
|
copy: copy$1,
|
|
1165
1158
|
reset_arguments: reset_arguments$1,
|
|
@@ -1315,7 +1308,7 @@ const dovetail$1 = {
|
|
|
1315
1308
|
only_support_one_yaml: only_support_one_yaml$1,
|
|
1316
1309
|
not_support: not_support$1,
|
|
1317
1310
|
stopped: stopped$1,
|
|
1318
|
-
any_node_ip
|
|
1311
|
+
any_node_ip
|
|
1319
1312
|
};
|
|
1320
1313
|
const EN = {
|
|
1321
1314
|
dovetail: dovetail$1
|
|
@@ -1472,7 +1465,10 @@ const out_external_name_desc = "ExternalName 展示 <strong>external-ip</strong>
|
|
|
1472
1465
|
const only_support_one_yaml = "一次仅支持输入一个 YAML 配置。";
|
|
1473
1466
|
const not_support = "不支持";
|
|
1474
1467
|
const stopped = "已停止";
|
|
1475
|
-
const
|
|
1468
|
+
const storage_class = "存储类";
|
|
1469
|
+
const persistent_volumn = "持久卷";
|
|
1470
|
+
const provisioner = "制备器";
|
|
1471
|
+
const file_system = "文件系统";
|
|
1476
1472
|
const dovetail = {
|
|
1477
1473
|
copy,
|
|
1478
1474
|
reset_arguments,
|
|
@@ -1629,7 +1625,10 @@ const dovetail = {
|
|
|
1629
1625
|
only_support_one_yaml,
|
|
1630
1626
|
not_support,
|
|
1631
1627
|
stopped,
|
|
1632
|
-
|
|
1628
|
+
storage_class,
|
|
1629
|
+
persistent_volumn,
|
|
1630
|
+
provisioner,
|
|
1631
|
+
file_system
|
|
1633
1632
|
};
|
|
1634
1633
|
const ZH = {
|
|
1635
1634
|
dovetail
|
|
@@ -2782,17 +2781,17 @@ lodash.exports;
|
|
|
2782
2781
|
return func.apply(thisArg, args);
|
|
2783
2782
|
}
|
|
2784
2783
|
function arrayAggregator(array, setter, iteratee, accumulator) {
|
|
2785
|
-
var
|
|
2786
|
-
while (++
|
|
2787
|
-
var value2 = array[
|
|
2784
|
+
var index2 = -1, length = array == null ? 0 : array.length;
|
|
2785
|
+
while (++index2 < length) {
|
|
2786
|
+
var value2 = array[index2];
|
|
2788
2787
|
setter(accumulator, value2, iteratee(value2), array);
|
|
2789
2788
|
}
|
|
2790
2789
|
return accumulator;
|
|
2791
2790
|
}
|
|
2792
2791
|
function arrayEach(array, iteratee) {
|
|
2793
|
-
var
|
|
2794
|
-
while (++
|
|
2795
|
-
if (iteratee(array[
|
|
2792
|
+
var index2 = -1, length = array == null ? 0 : array.length;
|
|
2793
|
+
while (++index2 < length) {
|
|
2794
|
+
if (iteratee(array[index2], index2, array) === false) {
|
|
2796
2795
|
break;
|
|
2797
2796
|
}
|
|
2798
2797
|
}
|
|
@@ -2808,19 +2807,19 @@ lodash.exports;
|
|
|
2808
2807
|
return array;
|
|
2809
2808
|
}
|
|
2810
2809
|
function arrayEvery(array, predicate) {
|
|
2811
|
-
var
|
|
2812
|
-
while (++
|
|
2813
|
-
if (!predicate(array[
|
|
2810
|
+
var index2 = -1, length = array == null ? 0 : array.length;
|
|
2811
|
+
while (++index2 < length) {
|
|
2812
|
+
if (!predicate(array[index2], index2, array)) {
|
|
2814
2813
|
return false;
|
|
2815
2814
|
}
|
|
2816
2815
|
}
|
|
2817
2816
|
return true;
|
|
2818
2817
|
}
|
|
2819
2818
|
function arrayFilter(array, predicate) {
|
|
2820
|
-
var
|
|
2821
|
-
while (++
|
|
2822
|
-
var value2 = array[
|
|
2823
|
-
if (predicate(value2,
|
|
2819
|
+
var index2 = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
|
|
2820
|
+
while (++index2 < length) {
|
|
2821
|
+
var value2 = array[index2];
|
|
2822
|
+
if (predicate(value2, index2, array)) {
|
|
2824
2823
|
result[resIndex++] = value2;
|
|
2825
2824
|
}
|
|
2826
2825
|
}
|
|
@@ -2831,35 +2830,35 @@ lodash.exports;
|
|
|
2831
2830
|
return !!length && baseIndexOf(array, value2, 0) > -1;
|
|
2832
2831
|
}
|
|
2833
2832
|
function arrayIncludesWith(array, value2, comparator) {
|
|
2834
|
-
var
|
|
2835
|
-
while (++
|
|
2836
|
-
if (comparator(value2, array[
|
|
2833
|
+
var index2 = -1, length = array == null ? 0 : array.length;
|
|
2834
|
+
while (++index2 < length) {
|
|
2835
|
+
if (comparator(value2, array[index2])) {
|
|
2837
2836
|
return true;
|
|
2838
2837
|
}
|
|
2839
2838
|
}
|
|
2840
2839
|
return false;
|
|
2841
2840
|
}
|
|
2842
2841
|
function arrayMap2(array, iteratee) {
|
|
2843
|
-
var
|
|
2844
|
-
while (++
|
|
2845
|
-
result[
|
|
2842
|
+
var index2 = -1, length = array == null ? 0 : array.length, result = Array(length);
|
|
2843
|
+
while (++index2 < length) {
|
|
2844
|
+
result[index2] = iteratee(array[index2], index2, array);
|
|
2846
2845
|
}
|
|
2847
2846
|
return result;
|
|
2848
2847
|
}
|
|
2849
2848
|
function arrayPush(array, values) {
|
|
2850
|
-
var
|
|
2851
|
-
while (++
|
|
2852
|
-
array[offset +
|
|
2849
|
+
var index2 = -1, length = values.length, offset = array.length;
|
|
2850
|
+
while (++index2 < length) {
|
|
2851
|
+
array[offset + index2] = values[index2];
|
|
2853
2852
|
}
|
|
2854
2853
|
return array;
|
|
2855
2854
|
}
|
|
2856
2855
|
function arrayReduce(array, iteratee, accumulator, initAccum) {
|
|
2857
|
-
var
|
|
2856
|
+
var index2 = -1, length = array == null ? 0 : array.length;
|
|
2858
2857
|
if (initAccum && length) {
|
|
2859
|
-
accumulator = array[++
|
|
2858
|
+
accumulator = array[++index2];
|
|
2860
2859
|
}
|
|
2861
|
-
while (++
|
|
2862
|
-
accumulator = iteratee(accumulator, array[
|
|
2860
|
+
while (++index2 < length) {
|
|
2861
|
+
accumulator = iteratee(accumulator, array[index2], index2, array);
|
|
2863
2862
|
}
|
|
2864
2863
|
return accumulator;
|
|
2865
2864
|
}
|
|
@@ -2874,9 +2873,9 @@ lodash.exports;
|
|
|
2874
2873
|
return accumulator;
|
|
2875
2874
|
}
|
|
2876
2875
|
function arraySome(array, predicate) {
|
|
2877
|
-
var
|
|
2878
|
-
while (++
|
|
2879
|
-
if (predicate(array[
|
|
2876
|
+
var index2 = -1, length = array == null ? 0 : array.length;
|
|
2877
|
+
while (++index2 < length) {
|
|
2878
|
+
if (predicate(array[index2], index2, array)) {
|
|
2880
2879
|
return true;
|
|
2881
2880
|
}
|
|
2882
2881
|
}
|
|
@@ -2900,10 +2899,10 @@ lodash.exports;
|
|
|
2900
2899
|
return result;
|
|
2901
2900
|
}
|
|
2902
2901
|
function baseFindIndex(array, predicate, fromIndex, fromRight) {
|
|
2903
|
-
var length = array.length,
|
|
2904
|
-
while (fromRight ?
|
|
2905
|
-
if (predicate(array[
|
|
2906
|
-
return
|
|
2902
|
+
var length = array.length, index2 = fromIndex + (fromRight ? 1 : -1);
|
|
2903
|
+
while (fromRight ? index2-- : ++index2 < length) {
|
|
2904
|
+
if (predicate(array[index2], index2, array)) {
|
|
2905
|
+
return index2;
|
|
2907
2906
|
}
|
|
2908
2907
|
}
|
|
2909
2908
|
return -1;
|
|
@@ -2912,10 +2911,10 @@ lodash.exports;
|
|
|
2912
2911
|
return value2 === value2 ? strictIndexOf(array, value2, fromIndex) : baseFindIndex(array, baseIsNaN, fromIndex);
|
|
2913
2912
|
}
|
|
2914
2913
|
function baseIndexOfWith(array, value2, fromIndex, comparator) {
|
|
2915
|
-
var
|
|
2916
|
-
while (++
|
|
2917
|
-
if (comparator(array[
|
|
2918
|
-
return
|
|
2914
|
+
var index2 = fromIndex - 1, length = array.length;
|
|
2915
|
+
while (++index2 < length) {
|
|
2916
|
+
if (comparator(array[index2], value2)) {
|
|
2917
|
+
return index2;
|
|
2919
2918
|
}
|
|
2920
2919
|
}
|
|
2921
2920
|
return -1;
|
|
@@ -2938,8 +2937,8 @@ lodash.exports;
|
|
|
2938
2937
|
};
|
|
2939
2938
|
}
|
|
2940
2939
|
function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
|
|
2941
|
-
eachFunc(collection, function(value2,
|
|
2942
|
-
accumulator = initAccum ? (initAccum = false, value2) : iteratee(accumulator, value2,
|
|
2940
|
+
eachFunc(collection, function(value2, index2, collection2) {
|
|
2941
|
+
accumulator = initAccum ? (initAccum = false, value2) : iteratee(accumulator, value2, index2, collection2);
|
|
2943
2942
|
});
|
|
2944
2943
|
return accumulator;
|
|
2945
2944
|
}
|
|
@@ -2952,9 +2951,9 @@ lodash.exports;
|
|
|
2952
2951
|
return array;
|
|
2953
2952
|
}
|
|
2954
2953
|
function baseSum(array, iteratee) {
|
|
2955
|
-
var result,
|
|
2956
|
-
while (++
|
|
2957
|
-
var current = iteratee(array[
|
|
2954
|
+
var result, index2 = -1, length = array.length;
|
|
2955
|
+
while (++index2 < length) {
|
|
2956
|
+
var current = iteratee(array[index2]);
|
|
2958
2957
|
if (current !== undefined$1) {
|
|
2959
2958
|
result = result === undefined$1 ? current : result + current;
|
|
2960
2959
|
}
|
|
@@ -2962,9 +2961,9 @@ lodash.exports;
|
|
|
2962
2961
|
return result;
|
|
2963
2962
|
}
|
|
2964
2963
|
function baseTimes(n2, iteratee) {
|
|
2965
|
-
var
|
|
2966
|
-
while (++
|
|
2967
|
-
result[
|
|
2964
|
+
var index2 = -1, result = Array(n2);
|
|
2965
|
+
while (++index2 < n2) {
|
|
2966
|
+
result[index2] = iteratee(index2);
|
|
2968
2967
|
}
|
|
2969
2968
|
return result;
|
|
2970
2969
|
}
|
|
@@ -2990,16 +2989,16 @@ lodash.exports;
|
|
|
2990
2989
|
return cache.has(key2);
|
|
2991
2990
|
}
|
|
2992
2991
|
function charsStartIndex(strSymbols, chrSymbols) {
|
|
2993
|
-
var
|
|
2994
|
-
while (++
|
|
2992
|
+
var index2 = -1, length = strSymbols.length;
|
|
2993
|
+
while (++index2 < length && baseIndexOf(chrSymbols, strSymbols[index2], 0) > -1) {
|
|
2995
2994
|
}
|
|
2996
|
-
return
|
|
2995
|
+
return index2;
|
|
2997
2996
|
}
|
|
2998
2997
|
function charsEndIndex(strSymbols, chrSymbols) {
|
|
2999
|
-
var
|
|
3000
|
-
while (
|
|
2998
|
+
var index2 = strSymbols.length;
|
|
2999
|
+
while (index2-- && baseIndexOf(chrSymbols, strSymbols[index2], 0) > -1) {
|
|
3001
3000
|
}
|
|
3002
|
-
return
|
|
3001
|
+
return index2;
|
|
3003
3002
|
}
|
|
3004
3003
|
function countHolders(array, placeholder) {
|
|
3005
3004
|
var length = array.length, result = 0;
|
|
@@ -3032,9 +3031,9 @@ lodash.exports;
|
|
|
3032
3031
|
return result;
|
|
3033
3032
|
}
|
|
3034
3033
|
function mapToArray(map) {
|
|
3035
|
-
var
|
|
3034
|
+
var index2 = -1, result = Array(map.size);
|
|
3036
3035
|
map.forEach(function(value2, key2) {
|
|
3037
|
-
result[++
|
|
3036
|
+
result[++index2] = [key2, value2];
|
|
3038
3037
|
});
|
|
3039
3038
|
return result;
|
|
3040
3039
|
}
|
|
@@ -3044,47 +3043,47 @@ lodash.exports;
|
|
|
3044
3043
|
};
|
|
3045
3044
|
}
|
|
3046
3045
|
function replaceHolders(array, placeholder) {
|
|
3047
|
-
var
|
|
3048
|
-
while (++
|
|
3049
|
-
var value2 = array[
|
|
3046
|
+
var index2 = -1, length = array.length, resIndex = 0, result = [];
|
|
3047
|
+
while (++index2 < length) {
|
|
3048
|
+
var value2 = array[index2];
|
|
3050
3049
|
if (value2 === placeholder || value2 === PLACEHOLDER) {
|
|
3051
|
-
array[
|
|
3052
|
-
result[resIndex++] =
|
|
3050
|
+
array[index2] = PLACEHOLDER;
|
|
3051
|
+
result[resIndex++] = index2;
|
|
3053
3052
|
}
|
|
3054
3053
|
}
|
|
3055
3054
|
return result;
|
|
3056
3055
|
}
|
|
3057
3056
|
function setToArray(set2) {
|
|
3058
|
-
var
|
|
3057
|
+
var index2 = -1, result = Array(set2.size);
|
|
3059
3058
|
set2.forEach(function(value2) {
|
|
3060
|
-
result[++
|
|
3059
|
+
result[++index2] = value2;
|
|
3061
3060
|
});
|
|
3062
3061
|
return result;
|
|
3063
3062
|
}
|
|
3064
3063
|
function setToPairs(set2) {
|
|
3065
|
-
var
|
|
3064
|
+
var index2 = -1, result = Array(set2.size);
|
|
3066
3065
|
set2.forEach(function(value2) {
|
|
3067
|
-
result[++
|
|
3066
|
+
result[++index2] = [value2, value2];
|
|
3068
3067
|
});
|
|
3069
3068
|
return result;
|
|
3070
3069
|
}
|
|
3071
3070
|
function strictIndexOf(array, value2, fromIndex) {
|
|
3072
|
-
var
|
|
3073
|
-
while (++
|
|
3074
|
-
if (array[
|
|
3075
|
-
return
|
|
3071
|
+
var index2 = fromIndex - 1, length = array.length;
|
|
3072
|
+
while (++index2 < length) {
|
|
3073
|
+
if (array[index2] === value2) {
|
|
3074
|
+
return index2;
|
|
3076
3075
|
}
|
|
3077
3076
|
}
|
|
3078
3077
|
return -1;
|
|
3079
3078
|
}
|
|
3080
3079
|
function strictLastIndexOf(array, value2, fromIndex) {
|
|
3081
|
-
var
|
|
3082
|
-
while (
|
|
3083
|
-
if (array[
|
|
3084
|
-
return
|
|
3080
|
+
var index2 = fromIndex + 1;
|
|
3081
|
+
while (index2--) {
|
|
3082
|
+
if (array[index2] === value2) {
|
|
3083
|
+
return index2;
|
|
3085
3084
|
}
|
|
3086
3085
|
}
|
|
3087
|
-
return
|
|
3086
|
+
return index2;
|
|
3088
3087
|
}
|
|
3089
3088
|
function stringSize(string) {
|
|
3090
3089
|
return hasUnicode(string) ? unicodeSize(string) : asciiSize(string);
|
|
@@ -3093,10 +3092,10 @@ lodash.exports;
|
|
|
3093
3092
|
return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string);
|
|
3094
3093
|
}
|
|
3095
3094
|
function trimmedEndIndex(string) {
|
|
3096
|
-
var
|
|
3097
|
-
while (
|
|
3095
|
+
var index2 = string.length;
|
|
3096
|
+
while (index2-- && reWhitespace.test(string.charAt(index2))) {
|
|
3098
3097
|
}
|
|
3099
|
-
return
|
|
3098
|
+
return index2;
|
|
3100
3099
|
}
|
|
3101
3100
|
var unescapeHtmlChar = basePropertyOf(htmlUnescapes);
|
|
3102
3101
|
function unicodeSize(string) {
|
|
@@ -3262,15 +3261,15 @@ lodash.exports;
|
|
|
3262
3261
|
return result2;
|
|
3263
3262
|
}
|
|
3264
3263
|
function lazyValue() {
|
|
3265
|
-
var array = this.__wrapped__.value(), dir = this.__dir__, isArr = isArray2(array), isRight = dir < 0, arrLength = isArr ? array.length : 0, view = getView(0, arrLength, this.__views__), start = view.start, end = view.end, length = end - start,
|
|
3264
|
+
var array = this.__wrapped__.value(), dir = this.__dir__, isArr = isArray2(array), isRight = dir < 0, arrLength = isArr ? array.length : 0, view = getView(0, arrLength, this.__views__), start = view.start, end = view.end, length = end - start, index2 = isRight ? end : start - 1, iteratees = this.__iteratees__, iterLength = iteratees.length, resIndex = 0, takeCount = nativeMin(length, this.__takeCount__);
|
|
3266
3265
|
if (!isArr || !isRight && arrLength == length && takeCount == length) {
|
|
3267
3266
|
return baseWrapperValue(array, this.__actions__);
|
|
3268
3267
|
}
|
|
3269
3268
|
var result2 = [];
|
|
3270
3269
|
outer:
|
|
3271
3270
|
while (length-- && resIndex < takeCount) {
|
|
3272
|
-
|
|
3273
|
-
var iterIndex = -1, value2 = array[
|
|
3271
|
+
index2 += dir;
|
|
3272
|
+
var iterIndex = -1, value2 = array[index2];
|
|
3274
3273
|
while (++iterIndex < iterLength) {
|
|
3275
3274
|
var data2 = iteratees[iterIndex], iteratee2 = data2.iteratee, type2 = data2.type, computed = iteratee2(value2);
|
|
3276
3275
|
if (type2 == LAZY_MAP_FLAG) {
|
|
@@ -3290,10 +3289,10 @@ lodash.exports;
|
|
|
3290
3289
|
LazyWrapper.prototype = baseCreate(baseLodash.prototype);
|
|
3291
3290
|
LazyWrapper.prototype.constructor = LazyWrapper;
|
|
3292
3291
|
function Hash2(entries) {
|
|
3293
|
-
var
|
|
3292
|
+
var index2 = -1, length = entries == null ? 0 : entries.length;
|
|
3294
3293
|
this.clear();
|
|
3295
|
-
while (++
|
|
3296
|
-
var entry = entries[
|
|
3294
|
+
while (++index2 < length) {
|
|
3295
|
+
var entry = entries[index2];
|
|
3297
3296
|
this.set(entry[0], entry[1]);
|
|
3298
3297
|
}
|
|
3299
3298
|
}
|
|
@@ -3330,10 +3329,10 @@ lodash.exports;
|
|
|
3330
3329
|
Hash2.prototype.has = hashHas2;
|
|
3331
3330
|
Hash2.prototype.set = hashSet2;
|
|
3332
3331
|
function ListCache2(entries) {
|
|
3333
|
-
var
|
|
3332
|
+
var index2 = -1, length = entries == null ? 0 : entries.length;
|
|
3334
3333
|
this.clear();
|
|
3335
|
-
while (++
|
|
3336
|
-
var entry = entries[
|
|
3334
|
+
while (++index2 < length) {
|
|
3335
|
+
var entry = entries[index2];
|
|
3337
3336
|
this.set(entry[0], entry[1]);
|
|
3338
3337
|
}
|
|
3339
3338
|
}
|
|
@@ -3342,33 +3341,33 @@ lodash.exports;
|
|
|
3342
3341
|
this.size = 0;
|
|
3343
3342
|
}
|
|
3344
3343
|
function listCacheDelete2(key2) {
|
|
3345
|
-
var data2 = this.__data__,
|
|
3346
|
-
if (
|
|
3344
|
+
var data2 = this.__data__, index2 = assocIndexOf2(data2, key2);
|
|
3345
|
+
if (index2 < 0) {
|
|
3347
3346
|
return false;
|
|
3348
3347
|
}
|
|
3349
3348
|
var lastIndex = data2.length - 1;
|
|
3350
|
-
if (
|
|
3349
|
+
if (index2 == lastIndex) {
|
|
3351
3350
|
data2.pop();
|
|
3352
3351
|
} else {
|
|
3353
|
-
splice2.call(data2,
|
|
3352
|
+
splice2.call(data2, index2, 1);
|
|
3354
3353
|
}
|
|
3355
3354
|
--this.size;
|
|
3356
3355
|
return true;
|
|
3357
3356
|
}
|
|
3358
3357
|
function listCacheGet2(key2) {
|
|
3359
|
-
var data2 = this.__data__,
|
|
3360
|
-
return
|
|
3358
|
+
var data2 = this.__data__, index2 = assocIndexOf2(data2, key2);
|
|
3359
|
+
return index2 < 0 ? undefined$1 : data2[index2][1];
|
|
3361
3360
|
}
|
|
3362
3361
|
function listCacheHas2(key2) {
|
|
3363
3362
|
return assocIndexOf2(this.__data__, key2) > -1;
|
|
3364
3363
|
}
|
|
3365
3364
|
function listCacheSet2(key2, value2) {
|
|
3366
|
-
var data2 = this.__data__,
|
|
3367
|
-
if (
|
|
3365
|
+
var data2 = this.__data__, index2 = assocIndexOf2(data2, key2);
|
|
3366
|
+
if (index2 < 0) {
|
|
3368
3367
|
++this.size;
|
|
3369
3368
|
data2.push([key2, value2]);
|
|
3370
3369
|
} else {
|
|
3371
|
-
data2[
|
|
3370
|
+
data2[index2][1] = value2;
|
|
3372
3371
|
}
|
|
3373
3372
|
return this;
|
|
3374
3373
|
}
|
|
@@ -3378,10 +3377,10 @@ lodash.exports;
|
|
|
3378
3377
|
ListCache2.prototype.has = listCacheHas2;
|
|
3379
3378
|
ListCache2.prototype.set = listCacheSet2;
|
|
3380
3379
|
function MapCache2(entries) {
|
|
3381
|
-
var
|
|
3380
|
+
var index2 = -1, length = entries == null ? 0 : entries.length;
|
|
3382
3381
|
this.clear();
|
|
3383
|
-
while (++
|
|
3384
|
-
var entry = entries[
|
|
3382
|
+
while (++index2 < length) {
|
|
3383
|
+
var entry = entries[index2];
|
|
3385
3384
|
this.set(entry[0], entry[1]);
|
|
3386
3385
|
}
|
|
3387
3386
|
}
|
|
@@ -3416,10 +3415,10 @@ lodash.exports;
|
|
|
3416
3415
|
MapCache2.prototype.has = mapCacheHas2;
|
|
3417
3416
|
MapCache2.prototype.set = mapCacheSet2;
|
|
3418
3417
|
function SetCache(values2) {
|
|
3419
|
-
var
|
|
3418
|
+
var index2 = -1, length = values2 == null ? 0 : values2.length;
|
|
3420
3419
|
this.__data__ = new MapCache2();
|
|
3421
|
-
while (++
|
|
3422
|
-
this.add(values2[
|
|
3420
|
+
while (++index2 < length) {
|
|
3421
|
+
this.add(values2[index2]);
|
|
3423
3422
|
}
|
|
3424
3423
|
}
|
|
3425
3424
|
function setCacheAdd(value2) {
|
|
@@ -3538,9 +3537,9 @@ lodash.exports;
|
|
|
3538
3537
|
}
|
|
3539
3538
|
}
|
|
3540
3539
|
function baseAt(object2, paths) {
|
|
3541
|
-
var
|
|
3542
|
-
while (++
|
|
3543
|
-
result2[
|
|
3540
|
+
var index2 = -1, length = paths.length, result2 = Array2(length), skip = object2 == null;
|
|
3541
|
+
while (++index2 < length) {
|
|
3542
|
+
result2[index2] = skip ? undefined$1 : get2(object2, paths[index2]);
|
|
3544
3543
|
}
|
|
3545
3544
|
return result2;
|
|
3546
3545
|
}
|
|
@@ -3644,7 +3643,7 @@ lodash.exports;
|
|
|
3644
3643
|
}, wait);
|
|
3645
3644
|
}
|
|
3646
3645
|
function baseDifference(array, values2, iteratee2, comparator) {
|
|
3647
|
-
var
|
|
3646
|
+
var index2 = -1, includes2 = arrayIncludes, isCommon = true, length = array.length, result2 = [], valuesLength = values2.length;
|
|
3648
3647
|
if (!length) {
|
|
3649
3648
|
return result2;
|
|
3650
3649
|
}
|
|
@@ -3660,8 +3659,8 @@ lodash.exports;
|
|
|
3660
3659
|
values2 = new SetCache(values2);
|
|
3661
3660
|
}
|
|
3662
3661
|
outer:
|
|
3663
|
-
while (++
|
|
3664
|
-
var value2 = array[
|
|
3662
|
+
while (++index2 < length) {
|
|
3663
|
+
var value2 = array[index2], computed = iteratee2 == null ? value2 : iteratee2(value2);
|
|
3665
3664
|
value2 = comparator || value2 !== 0 ? value2 : 0;
|
|
3666
3665
|
if (isCommon && computed === computed) {
|
|
3667
3666
|
var valuesIndex = valuesLength;
|
|
@@ -3681,16 +3680,16 @@ lodash.exports;
|
|
|
3681
3680
|
var baseEachRight = createBaseEach(baseForOwnRight, true);
|
|
3682
3681
|
function baseEvery(collection, predicate) {
|
|
3683
3682
|
var result2 = true;
|
|
3684
|
-
baseEach(collection, function(value2,
|
|
3685
|
-
result2 = !!predicate(value2,
|
|
3683
|
+
baseEach(collection, function(value2, index2, collection2) {
|
|
3684
|
+
result2 = !!predicate(value2, index2, collection2);
|
|
3686
3685
|
return result2;
|
|
3687
3686
|
});
|
|
3688
3687
|
return result2;
|
|
3689
3688
|
}
|
|
3690
3689
|
function baseExtremum(array, iteratee2, comparator) {
|
|
3691
|
-
var
|
|
3692
|
-
while (++
|
|
3693
|
-
var value2 = array[
|
|
3690
|
+
var index2 = -1, length = array.length;
|
|
3691
|
+
while (++index2 < length) {
|
|
3692
|
+
var value2 = array[index2], current = iteratee2(value2);
|
|
3694
3693
|
if (current != null && (computed === undefined$1 ? current === current && !isSymbol2(current) : comparator(current, computed))) {
|
|
3695
3694
|
var computed = current, result2 = value2;
|
|
3696
3695
|
}
|
|
@@ -3715,19 +3714,19 @@ lodash.exports;
|
|
|
3715
3714
|
}
|
|
3716
3715
|
function baseFilter(collection, predicate) {
|
|
3717
3716
|
var result2 = [];
|
|
3718
|
-
baseEach(collection, function(value2,
|
|
3719
|
-
if (predicate(value2,
|
|
3717
|
+
baseEach(collection, function(value2, index2, collection2) {
|
|
3718
|
+
if (predicate(value2, index2, collection2)) {
|
|
3720
3719
|
result2.push(value2);
|
|
3721
3720
|
}
|
|
3722
3721
|
});
|
|
3723
3722
|
return result2;
|
|
3724
3723
|
}
|
|
3725
3724
|
function baseFlatten(array, depth, predicate, isStrict, result2) {
|
|
3726
|
-
var
|
|
3725
|
+
var index2 = -1, length = array.length;
|
|
3727
3726
|
predicate || (predicate = isFlattenable);
|
|
3728
3727
|
result2 || (result2 = []);
|
|
3729
|
-
while (++
|
|
3730
|
-
var value2 = array[
|
|
3728
|
+
while (++index2 < length) {
|
|
3729
|
+
var value2 = array[index2];
|
|
3731
3730
|
if (depth > 0 && predicate(value2)) {
|
|
3732
3731
|
if (depth > 1) {
|
|
3733
3732
|
baseFlatten(value2, depth - 1, predicate, isStrict, result2);
|
|
@@ -3755,11 +3754,11 @@ lodash.exports;
|
|
|
3755
3754
|
}
|
|
3756
3755
|
function baseGet2(object2, path2) {
|
|
3757
3756
|
path2 = castPath2(path2, object2);
|
|
3758
|
-
var
|
|
3759
|
-
while (object2 != null &&
|
|
3760
|
-
object2 = object2[toKey2(path2[
|
|
3757
|
+
var index2 = 0, length = path2.length;
|
|
3758
|
+
while (object2 != null && index2 < length) {
|
|
3759
|
+
object2 = object2[toKey2(path2[index2++])];
|
|
3761
3760
|
}
|
|
3762
|
-
return
|
|
3761
|
+
return index2 && index2 == length ? object2 : undefined$1;
|
|
3763
3762
|
}
|
|
3764
3763
|
function baseGetAllKeys(object2, keysFunc, symbolsFunc) {
|
|
3765
3764
|
var result2 = keysFunc(object2);
|
|
@@ -3794,10 +3793,10 @@ lodash.exports;
|
|
|
3794
3793
|
caches[othIndex] = !comparator && (iteratee2 || length >= 120 && array.length >= 120) ? new SetCache(othIndex && array) : undefined$1;
|
|
3795
3794
|
}
|
|
3796
3795
|
array = arrays[0];
|
|
3797
|
-
var
|
|
3796
|
+
var index2 = -1, seen = caches[0];
|
|
3798
3797
|
outer:
|
|
3799
|
-
while (++
|
|
3800
|
-
var value2 = array[
|
|
3798
|
+
while (++index2 < length && result2.length < maxLength) {
|
|
3799
|
+
var value2 = array[index2], computed = iteratee2 ? iteratee2(value2) : value2;
|
|
3801
3800
|
value2 = comparator || value2 !== 0 ? value2 : 0;
|
|
3802
3801
|
if (!(seen ? cacheHas(seen, computed) : includes2(result2, computed, comparator))) {
|
|
3803
3802
|
othIndex = othLength;
|
|
@@ -3879,19 +3878,19 @@ lodash.exports;
|
|
|
3879
3878
|
return isObjectLike2(value2) && getTag(value2) == mapTag;
|
|
3880
3879
|
}
|
|
3881
3880
|
function baseIsMatch(object2, source, matchData, customizer) {
|
|
3882
|
-
var
|
|
3881
|
+
var index2 = matchData.length, length = index2, noCustomizer = !customizer;
|
|
3883
3882
|
if (object2 == null) {
|
|
3884
3883
|
return !length;
|
|
3885
3884
|
}
|
|
3886
3885
|
object2 = Object2(object2);
|
|
3887
|
-
while (
|
|
3888
|
-
var data2 = matchData[
|
|
3886
|
+
while (index2--) {
|
|
3887
|
+
var data2 = matchData[index2];
|
|
3889
3888
|
if (noCustomizer && data2[2] ? data2[1] !== object2[data2[0]] : !(data2[0] in object2)) {
|
|
3890
3889
|
return false;
|
|
3891
3890
|
}
|
|
3892
3891
|
}
|
|
3893
|
-
while (++
|
|
3894
|
-
data2 = matchData[
|
|
3892
|
+
while (++index2 < length) {
|
|
3893
|
+
data2 = matchData[index2];
|
|
3895
3894
|
var key2 = data2[0], objValue = object2[key2], srcValue = data2[1];
|
|
3896
3895
|
if (noCustomizer && data2[2]) {
|
|
3897
3896
|
if (objValue === undefined$1 && !(key2 in object2)) {
|
|
@@ -3965,9 +3964,9 @@ lodash.exports;
|
|
|
3965
3964
|
return value2 < other;
|
|
3966
3965
|
}
|
|
3967
3966
|
function baseMap(collection, iteratee2) {
|
|
3968
|
-
var
|
|
3967
|
+
var index2 = -1, result2 = isArrayLike(collection) ? Array2(collection.length) : [];
|
|
3969
3968
|
baseEach(collection, function(value2, key2, collection2) {
|
|
3970
|
-
result2[++
|
|
3969
|
+
result2[++index2] = iteratee2(value2, key2, collection2);
|
|
3971
3970
|
});
|
|
3972
3971
|
return result2;
|
|
3973
3972
|
}
|
|
@@ -4070,13 +4069,13 @@ lodash.exports;
|
|
|
4070
4069
|
} else {
|
|
4071
4070
|
iteratees = [identity];
|
|
4072
4071
|
}
|
|
4073
|
-
var
|
|
4072
|
+
var index2 = -1;
|
|
4074
4073
|
iteratees = arrayMap2(iteratees, baseUnary(getIteratee()));
|
|
4075
4074
|
var result2 = baseMap(collection, function(value2, key2, collection2) {
|
|
4076
4075
|
var criteria = arrayMap2(iteratees, function(iteratee2) {
|
|
4077
4076
|
return iteratee2(value2);
|
|
4078
4077
|
});
|
|
4079
|
-
return { "criteria": criteria, "index": ++
|
|
4078
|
+
return { "criteria": criteria, "index": ++index2, "value": value2 };
|
|
4080
4079
|
});
|
|
4081
4080
|
return baseSortBy(result2, function(object2, other) {
|
|
4082
4081
|
return compareMultiple(object2, other, orders);
|
|
@@ -4088,9 +4087,9 @@ lodash.exports;
|
|
|
4088
4087
|
});
|
|
4089
4088
|
}
|
|
4090
4089
|
function basePickBy(object2, paths, predicate) {
|
|
4091
|
-
var
|
|
4092
|
-
while (++
|
|
4093
|
-
var path2 = paths[
|
|
4090
|
+
var index2 = -1, length = paths.length, result2 = {};
|
|
4091
|
+
while (++index2 < length) {
|
|
4092
|
+
var path2 = paths[index2], value2 = baseGet2(object2, path2);
|
|
4094
4093
|
if (predicate(value2, path2)) {
|
|
4095
4094
|
baseSet(result2, castPath2(path2, object2), value2);
|
|
4096
4095
|
}
|
|
@@ -4103,15 +4102,15 @@ lodash.exports;
|
|
|
4103
4102
|
};
|
|
4104
4103
|
}
|
|
4105
4104
|
function basePullAll(array, values2, iteratee2, comparator) {
|
|
4106
|
-
var indexOf2 = comparator ? baseIndexOfWith : baseIndexOf,
|
|
4105
|
+
var indexOf2 = comparator ? baseIndexOfWith : baseIndexOf, index2 = -1, length = values2.length, seen = array;
|
|
4107
4106
|
if (array === values2) {
|
|
4108
4107
|
values2 = copyArray(values2);
|
|
4109
4108
|
}
|
|
4110
4109
|
if (iteratee2) {
|
|
4111
4110
|
seen = arrayMap2(array, baseUnary(iteratee2));
|
|
4112
4111
|
}
|
|
4113
|
-
while (++
|
|
4114
|
-
var fromIndex = 0, value2 = values2[
|
|
4112
|
+
while (++index2 < length) {
|
|
4113
|
+
var fromIndex = 0, value2 = values2[index2], computed = iteratee2 ? iteratee2(value2) : value2;
|
|
4115
4114
|
while ((fromIndex = indexOf2(seen, computed, fromIndex, comparator)) > -1) {
|
|
4116
4115
|
if (seen !== array) {
|
|
4117
4116
|
splice2.call(seen, fromIndex, 1);
|
|
@@ -4124,13 +4123,13 @@ lodash.exports;
|
|
|
4124
4123
|
function basePullAt(array, indexes) {
|
|
4125
4124
|
var length = array ? indexes.length : 0, lastIndex = length - 1;
|
|
4126
4125
|
while (length--) {
|
|
4127
|
-
var
|
|
4128
|
-
if (length == lastIndex ||
|
|
4129
|
-
var previous =
|
|
4130
|
-
if (isIndex2(
|
|
4131
|
-
splice2.call(array,
|
|
4126
|
+
var index2 = indexes[length];
|
|
4127
|
+
if (length == lastIndex || index2 !== previous) {
|
|
4128
|
+
var previous = index2;
|
|
4129
|
+
if (isIndex2(index2)) {
|
|
4130
|
+
splice2.call(array, index2, 1);
|
|
4132
4131
|
} else {
|
|
4133
|
-
baseUnset(array,
|
|
4132
|
+
baseUnset(array, index2);
|
|
4134
4133
|
}
|
|
4135
4134
|
}
|
|
4136
4135
|
}
|
|
@@ -4140,9 +4139,9 @@ lodash.exports;
|
|
|
4140
4139
|
return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
|
|
4141
4140
|
}
|
|
4142
4141
|
function baseRange(start, end, step, fromRight) {
|
|
4143
|
-
var
|
|
4142
|
+
var index2 = -1, length = nativeMax(nativeCeil((end - start) / (step || 1)), 0), result2 = Array2(length);
|
|
4144
4143
|
while (length--) {
|
|
4145
|
-
result2[fromRight ? length : ++
|
|
4144
|
+
result2[fromRight ? length : ++index2] = start;
|
|
4146
4145
|
start += step;
|
|
4147
4146
|
}
|
|
4148
4147
|
return result2;
|
|
@@ -4178,17 +4177,17 @@ lodash.exports;
|
|
|
4178
4177
|
return object2;
|
|
4179
4178
|
}
|
|
4180
4179
|
path2 = castPath2(path2, object2);
|
|
4181
|
-
var
|
|
4182
|
-
while (nested != null && ++
|
|
4183
|
-
var key2 = toKey2(path2[
|
|
4180
|
+
var index2 = -1, length = path2.length, lastIndex = length - 1, nested = object2;
|
|
4181
|
+
while (nested != null && ++index2 < length) {
|
|
4182
|
+
var key2 = toKey2(path2[index2]), newValue = value2;
|
|
4184
4183
|
if (key2 === "__proto__" || key2 === "constructor" || key2 === "prototype") {
|
|
4185
4184
|
return object2;
|
|
4186
4185
|
}
|
|
4187
|
-
if (
|
|
4186
|
+
if (index2 != lastIndex) {
|
|
4188
4187
|
var objValue = nested[key2];
|
|
4189
4188
|
newValue = customizer ? customizer(objValue, key2, nested) : undefined$1;
|
|
4190
4189
|
if (newValue === undefined$1) {
|
|
4191
|
-
newValue = isObject2(objValue) ? objValue : isIndex2(path2[
|
|
4190
|
+
newValue = isObject2(objValue) ? objValue : isIndex2(path2[index2 + 1]) ? [] : {};
|
|
4192
4191
|
}
|
|
4193
4192
|
}
|
|
4194
4193
|
assignValue(nested, key2, newValue);
|
|
@@ -4212,7 +4211,7 @@ lodash.exports;
|
|
|
4212
4211
|
return shuffleSelf(values(collection));
|
|
4213
4212
|
}
|
|
4214
4213
|
function baseSlice(array, start, end) {
|
|
4215
|
-
var
|
|
4214
|
+
var index2 = -1, length = array.length;
|
|
4216
4215
|
if (start < 0) {
|
|
4217
4216
|
start = -start > length ? 0 : length + start;
|
|
4218
4217
|
}
|
|
@@ -4223,15 +4222,15 @@ lodash.exports;
|
|
|
4223
4222
|
length = start > end ? 0 : end - start >>> 0;
|
|
4224
4223
|
start >>>= 0;
|
|
4225
4224
|
var result2 = Array2(length);
|
|
4226
|
-
while (++
|
|
4227
|
-
result2[
|
|
4225
|
+
while (++index2 < length) {
|
|
4226
|
+
result2[index2] = array[index2 + start];
|
|
4228
4227
|
}
|
|
4229
4228
|
return result2;
|
|
4230
4229
|
}
|
|
4231
4230
|
function baseSome(collection, predicate) {
|
|
4232
4231
|
var result2;
|
|
4233
|
-
baseEach(collection, function(value2,
|
|
4234
|
-
result2 = predicate(value2,
|
|
4232
|
+
baseEach(collection, function(value2, index2, collection2) {
|
|
4233
|
+
result2 = predicate(value2, index2, collection2);
|
|
4235
4234
|
return !result2;
|
|
4236
4235
|
});
|
|
4237
4236
|
return !!result2;
|
|
@@ -4282,10 +4281,10 @@ lodash.exports;
|
|
|
4282
4281
|
return nativeMin(high, MAX_ARRAY_INDEX);
|
|
4283
4282
|
}
|
|
4284
4283
|
function baseSortedUniq(array, iteratee2) {
|
|
4285
|
-
var
|
|
4286
|
-
while (++
|
|
4287
|
-
var value2 = array[
|
|
4288
|
-
if (!
|
|
4284
|
+
var index2 = -1, length = array.length, resIndex = 0, result2 = [];
|
|
4285
|
+
while (++index2 < length) {
|
|
4286
|
+
var value2 = array[index2], computed = iteratee2 ? iteratee2(value2) : value2;
|
|
4287
|
+
if (!index2 || !eq2(computed, seen)) {
|
|
4289
4288
|
var seen = computed;
|
|
4290
4289
|
result2[resIndex++] = value2 === 0 ? 0 : value2;
|
|
4291
4290
|
}
|
|
@@ -4315,7 +4314,7 @@ lodash.exports;
|
|
|
4315
4314
|
return result2 == "0" && 1 / value2 == -INFINITY2 ? "-0" : result2;
|
|
4316
4315
|
}
|
|
4317
4316
|
function baseUniq(array, iteratee2, comparator) {
|
|
4318
|
-
var
|
|
4317
|
+
var index2 = -1, includes2 = arrayIncludes, length = array.length, isCommon = true, result2 = [], seen = result2;
|
|
4319
4318
|
if (comparator) {
|
|
4320
4319
|
isCommon = false;
|
|
4321
4320
|
includes2 = arrayIncludesWith;
|
|
@@ -4331,8 +4330,8 @@ lodash.exports;
|
|
|
4331
4330
|
seen = iteratee2 ? [] : result2;
|
|
4332
4331
|
}
|
|
4333
4332
|
outer:
|
|
4334
|
-
while (++
|
|
4335
|
-
var value2 = array[
|
|
4333
|
+
while (++index2 < length) {
|
|
4334
|
+
var value2 = array[index2], computed = iteratee2 ? iteratee2(value2) : value2;
|
|
4336
4335
|
value2 = comparator || value2 !== 0 ? value2 : 0;
|
|
4337
4336
|
if (isCommon && computed === computed) {
|
|
4338
4337
|
var seenIndex = seen.length;
|
|
@@ -4363,10 +4362,10 @@ lodash.exports;
|
|
|
4363
4362
|
return baseSet(object2, path2, updater(baseGet2(object2, path2)), customizer);
|
|
4364
4363
|
}
|
|
4365
4364
|
function baseWhile(array, predicate, isDrop, fromRight) {
|
|
4366
|
-
var length = array.length,
|
|
4367
|
-
while ((fromRight ?
|
|
4365
|
+
var length = array.length, index2 = fromRight ? length : -1;
|
|
4366
|
+
while ((fromRight ? index2-- : ++index2 < length) && predicate(array[index2], index2, array)) {
|
|
4368
4367
|
}
|
|
4369
|
-
return isDrop ? baseSlice(array, fromRight ? 0 :
|
|
4368
|
+
return isDrop ? baseSlice(array, fromRight ? 0 : index2, fromRight ? index2 + 1 : length) : baseSlice(array, fromRight ? index2 + 1 : 0, fromRight ? length : index2);
|
|
4370
4369
|
}
|
|
4371
4370
|
function baseWrapperValue(value2, actions) {
|
|
4372
4371
|
var result2 = value2;
|
|
@@ -4382,22 +4381,22 @@ lodash.exports;
|
|
|
4382
4381
|
if (length < 2) {
|
|
4383
4382
|
return length ? baseUniq(arrays[0]) : [];
|
|
4384
4383
|
}
|
|
4385
|
-
var
|
|
4386
|
-
while (++
|
|
4387
|
-
var array = arrays[
|
|
4384
|
+
var index2 = -1, result2 = Array2(length);
|
|
4385
|
+
while (++index2 < length) {
|
|
4386
|
+
var array = arrays[index2], othIndex = -1;
|
|
4388
4387
|
while (++othIndex < length) {
|
|
4389
|
-
if (othIndex !=
|
|
4390
|
-
result2[
|
|
4388
|
+
if (othIndex != index2) {
|
|
4389
|
+
result2[index2] = baseDifference(result2[index2] || array, arrays[othIndex], iteratee2, comparator);
|
|
4391
4390
|
}
|
|
4392
4391
|
}
|
|
4393
4392
|
}
|
|
4394
4393
|
return baseUniq(baseFlatten(result2, 1), iteratee2, comparator);
|
|
4395
4394
|
}
|
|
4396
4395
|
function baseZipObject(props, values2, assignFunc) {
|
|
4397
|
-
var
|
|
4398
|
-
while (++
|
|
4399
|
-
var value2 =
|
|
4400
|
-
assignFunc(result2, props[
|
|
4396
|
+
var index2 = -1, length = props.length, valsLength = values2.length, result2 = {};
|
|
4397
|
+
while (++index2 < length) {
|
|
4398
|
+
var value2 = index2 < valsLength ? values2[index2] : undefined$1;
|
|
4399
|
+
assignFunc(result2, props[index2], value2);
|
|
4401
4400
|
}
|
|
4402
4401
|
return result2;
|
|
4403
4402
|
}
|
|
@@ -4465,14 +4464,14 @@ lodash.exports;
|
|
|
4465
4464
|
return 0;
|
|
4466
4465
|
}
|
|
4467
4466
|
function compareMultiple(object2, other, orders) {
|
|
4468
|
-
var
|
|
4469
|
-
while (++
|
|
4470
|
-
var result2 = compareAscending(objCriteria[
|
|
4467
|
+
var index2 = -1, objCriteria = object2.criteria, othCriteria = other.criteria, length = objCriteria.length, ordersLength = orders.length;
|
|
4468
|
+
while (++index2 < length) {
|
|
4469
|
+
var result2 = compareAscending(objCriteria[index2], othCriteria[index2]);
|
|
4471
4470
|
if (result2) {
|
|
4472
|
-
if (
|
|
4471
|
+
if (index2 >= ordersLength) {
|
|
4473
4472
|
return result2;
|
|
4474
4473
|
}
|
|
4475
|
-
var order = orders[
|
|
4474
|
+
var order = orders[index2];
|
|
4476
4475
|
return result2 * (order == "desc" ? -1 : 1);
|
|
4477
4476
|
}
|
|
4478
4477
|
}
|
|
@@ -4510,19 +4509,19 @@ lodash.exports;
|
|
|
4510
4509
|
return result2;
|
|
4511
4510
|
}
|
|
4512
4511
|
function copyArray(source, array) {
|
|
4513
|
-
var
|
|
4512
|
+
var index2 = -1, length = source.length;
|
|
4514
4513
|
array || (array = Array2(length));
|
|
4515
|
-
while (++
|
|
4516
|
-
array[
|
|
4514
|
+
while (++index2 < length) {
|
|
4515
|
+
array[index2] = source[index2];
|
|
4517
4516
|
}
|
|
4518
4517
|
return array;
|
|
4519
4518
|
}
|
|
4520
4519
|
function copyObject(source, props, object2, customizer) {
|
|
4521
4520
|
var isNew = !object2;
|
|
4522
4521
|
object2 || (object2 = {});
|
|
4523
|
-
var
|
|
4524
|
-
while (++
|
|
4525
|
-
var key2 = props[
|
|
4522
|
+
var index2 = -1, length = props.length;
|
|
4523
|
+
while (++index2 < length) {
|
|
4524
|
+
var key2 = props[index2];
|
|
4526
4525
|
var newValue = customizer ? customizer(object2[key2], source[key2], key2, object2, source) : undefined$1;
|
|
4527
4526
|
if (newValue === undefined$1) {
|
|
4528
4527
|
newValue = source[key2];
|
|
@@ -4549,17 +4548,17 @@ lodash.exports;
|
|
|
4549
4548
|
}
|
|
4550
4549
|
function createAssigner(assigner) {
|
|
4551
4550
|
return baseRest(function(object2, sources) {
|
|
4552
|
-
var
|
|
4551
|
+
var index2 = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : undefined$1, guard = length > 2 ? sources[2] : undefined$1;
|
|
4553
4552
|
customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : undefined$1;
|
|
4554
4553
|
if (guard && isIterateeCall(sources[0], sources[1], guard)) {
|
|
4555
4554
|
customizer = length < 3 ? undefined$1 : customizer;
|
|
4556
4555
|
length = 1;
|
|
4557
4556
|
}
|
|
4558
4557
|
object2 = Object2(object2);
|
|
4559
|
-
while (++
|
|
4560
|
-
var source = sources[
|
|
4558
|
+
while (++index2 < length) {
|
|
4559
|
+
var source = sources[index2];
|
|
4561
4560
|
if (source) {
|
|
4562
|
-
assigner(object2, source,
|
|
4561
|
+
assigner(object2, source, index2, customizer);
|
|
4563
4562
|
}
|
|
4564
4563
|
}
|
|
4565
4564
|
return object2;
|
|
@@ -4573,9 +4572,9 @@ lodash.exports;
|
|
|
4573
4572
|
if (!isArrayLike(collection)) {
|
|
4574
4573
|
return eachFunc(collection, iteratee2);
|
|
4575
4574
|
}
|
|
4576
|
-
var length = collection.length,
|
|
4577
|
-
while (fromRight ?
|
|
4578
|
-
if (iteratee2(iterable[
|
|
4575
|
+
var length = collection.length, index2 = fromRight ? length : -1, iterable = Object2(collection);
|
|
4576
|
+
while (fromRight ? index2-- : ++index2 < length) {
|
|
4577
|
+
if (iteratee2(iterable[index2], index2, iterable) === false) {
|
|
4579
4578
|
break;
|
|
4580
4579
|
}
|
|
4581
4580
|
}
|
|
@@ -4584,9 +4583,9 @@ lodash.exports;
|
|
|
4584
4583
|
}
|
|
4585
4584
|
function createBaseFor(fromRight) {
|
|
4586
4585
|
return function(object2, iteratee2, keysFunc) {
|
|
4587
|
-
var
|
|
4586
|
+
var index2 = -1, iterable = Object2(object2), props = keysFunc(object2), length = props.length;
|
|
4588
4587
|
while (length--) {
|
|
4589
|
-
var key2 = props[fromRight ? length : ++
|
|
4588
|
+
var key2 = props[fromRight ? length : ++index2];
|
|
4590
4589
|
if (iteratee2(iterable[key2], key2, iterable) === false) {
|
|
4591
4590
|
break;
|
|
4592
4591
|
}
|
|
@@ -4644,9 +4643,9 @@ lodash.exports;
|
|
|
4644
4643
|
function createCurry(func, bitmask, arity) {
|
|
4645
4644
|
var Ctor = createCtor(func);
|
|
4646
4645
|
function wrapper() {
|
|
4647
|
-
var length = arguments.length, args = Array2(length),
|
|
4648
|
-
while (
|
|
4649
|
-
args[
|
|
4646
|
+
var length = arguments.length, args = Array2(length), index2 = length, placeholder = getHolder(wrapper);
|
|
4647
|
+
while (index2--) {
|
|
4648
|
+
args[index2] = arguments[index2];
|
|
4650
4649
|
}
|
|
4651
4650
|
var holders = length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder ? [] : replaceHolders(args, placeholder);
|
|
4652
4651
|
length -= holders.length;
|
|
@@ -4679,18 +4678,18 @@ lodash.exports;
|
|
|
4679
4678
|
return iteratee2(iterable[key2], key2, iterable);
|
|
4680
4679
|
};
|
|
4681
4680
|
}
|
|
4682
|
-
var
|
|
4683
|
-
return
|
|
4681
|
+
var index2 = findIndexFunc(collection, predicate, fromIndex);
|
|
4682
|
+
return index2 > -1 ? iterable[iteratee2 ? collection[index2] : index2] : undefined$1;
|
|
4684
4683
|
};
|
|
4685
4684
|
}
|
|
4686
4685
|
function createFlow(fromRight) {
|
|
4687
4686
|
return flatRest(function(funcs) {
|
|
4688
|
-
var length = funcs.length,
|
|
4687
|
+
var length = funcs.length, index2 = length, prereq = LodashWrapper.prototype.thru;
|
|
4689
4688
|
if (fromRight) {
|
|
4690
4689
|
funcs.reverse();
|
|
4691
4690
|
}
|
|
4692
|
-
while (
|
|
4693
|
-
var func = funcs[
|
|
4691
|
+
while (index2--) {
|
|
4692
|
+
var func = funcs[index2];
|
|
4694
4693
|
if (typeof func != "function") {
|
|
4695
4694
|
throw new TypeError2(FUNC_ERROR_TEXT2);
|
|
4696
4695
|
}
|
|
@@ -4698,9 +4697,9 @@ lodash.exports;
|
|
|
4698
4697
|
var wrapper = new LodashWrapper([], true);
|
|
4699
4698
|
}
|
|
4700
4699
|
}
|
|
4701
|
-
|
|
4702
|
-
while (++
|
|
4703
|
-
func = funcs[
|
|
4700
|
+
index2 = wrapper ? index2 : length;
|
|
4701
|
+
while (++index2 < length) {
|
|
4702
|
+
func = funcs[index2];
|
|
4704
4703
|
var funcName = getFuncName(func), data2 = funcName == "wrapper" ? getData(func) : undefined$1;
|
|
4705
4704
|
if (data2 && isLaziable(data2[0]) && data2[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) && !data2[4].length && data2[9] == 1) {
|
|
4706
4705
|
wrapper = wrapper[getFuncName(data2[0])].apply(wrapper, data2[3]);
|
|
@@ -4713,9 +4712,9 @@ lodash.exports;
|
|
|
4713
4712
|
if (wrapper && args.length == 1 && isArray2(value2)) {
|
|
4714
4713
|
return wrapper.plant(value2).value();
|
|
4715
4714
|
}
|
|
4716
|
-
var
|
|
4717
|
-
while (++
|
|
4718
|
-
result2 = funcs[
|
|
4715
|
+
var index3 = 0, result2 = length ? funcs[index3].apply(this, args) : value2;
|
|
4716
|
+
while (++index3 < length) {
|
|
4717
|
+
result2 = funcs[index3].call(this, result2);
|
|
4719
4718
|
}
|
|
4720
4719
|
return result2;
|
|
4721
4720
|
};
|
|
@@ -4724,9 +4723,9 @@ lodash.exports;
|
|
|
4724
4723
|
function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary2, arity) {
|
|
4725
4724
|
var isAry = bitmask & WRAP_ARY_FLAG, isBind = bitmask & WRAP_BIND_FLAG, isBindKey = bitmask & WRAP_BIND_KEY_FLAG, isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG), isFlip = bitmask & WRAP_FLIP_FLAG, Ctor = isBindKey ? undefined$1 : createCtor(func);
|
|
4726
4725
|
function wrapper() {
|
|
4727
|
-
var length = arguments.length, args = Array2(length),
|
|
4728
|
-
while (
|
|
4729
|
-
args[
|
|
4726
|
+
var length = arguments.length, args = Array2(length), index2 = length;
|
|
4727
|
+
while (index2--) {
|
|
4728
|
+
args[index2] = arguments[index2];
|
|
4730
4729
|
}
|
|
4731
4730
|
if (isCurried) {
|
|
4732
4731
|
var placeholder = getHolder(wrapper), holdersCount = countHolders(args, placeholder);
|
|
@@ -4994,13 +4993,13 @@ lodash.exports;
|
|
|
4994
4993
|
if (arrStacked && othStacked) {
|
|
4995
4994
|
return arrStacked == other && othStacked == array;
|
|
4996
4995
|
}
|
|
4997
|
-
var
|
|
4996
|
+
var index2 = -1, result2 = true, seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : undefined$1;
|
|
4998
4997
|
stack.set(array, other);
|
|
4999
4998
|
stack.set(other, array);
|
|
5000
|
-
while (++
|
|
5001
|
-
var arrValue = array[
|
|
4999
|
+
while (++index2 < arrLength) {
|
|
5000
|
+
var arrValue = array[index2], othValue = other[index2];
|
|
5002
5001
|
if (customizer) {
|
|
5003
|
-
var compared = isPartial ? customizer(othValue, arrValue,
|
|
5002
|
+
var compared = isPartial ? customizer(othValue, arrValue, index2, other, array, stack) : customizer(arrValue, othValue, index2, array, other, stack);
|
|
5004
5003
|
}
|
|
5005
5004
|
if (compared !== undefined$1) {
|
|
5006
5005
|
if (compared) {
|
|
@@ -5078,9 +5077,9 @@ lodash.exports;
|
|
|
5078
5077
|
if (objLength != othLength && !isPartial) {
|
|
5079
5078
|
return false;
|
|
5080
5079
|
}
|
|
5081
|
-
var
|
|
5082
|
-
while (
|
|
5083
|
-
var key2 = objProps[
|
|
5080
|
+
var index2 = objLength;
|
|
5081
|
+
while (index2--) {
|
|
5082
|
+
var key2 = objProps[index2];
|
|
5084
5083
|
if (!(isPartial ? key2 in other : hasOwnProperty2.call(other, key2))) {
|
|
5085
5084
|
return false;
|
|
5086
5085
|
}
|
|
@@ -5094,8 +5093,8 @@ lodash.exports;
|
|
|
5094
5093
|
stack.set(object2, other);
|
|
5095
5094
|
stack.set(other, object2);
|
|
5096
5095
|
var skipCtor = isPartial;
|
|
5097
|
-
while (++
|
|
5098
|
-
key2 = objProps[
|
|
5096
|
+
while (++index2 < objLength) {
|
|
5097
|
+
key2 = objProps[index2];
|
|
5099
5098
|
var objValue = object2[key2], othValue = other[key2];
|
|
5100
5099
|
if (customizer) {
|
|
5101
5100
|
var compared = isPartial ? customizer(othValue, objValue, key2, other, object2, stack) : customizer(objValue, othValue, key2, object2, other, stack);
|
|
@@ -5219,9 +5218,9 @@ lodash.exports;
|
|
|
5219
5218
|
};
|
|
5220
5219
|
}
|
|
5221
5220
|
function getView(start, end, transforms) {
|
|
5222
|
-
var
|
|
5223
|
-
while (++
|
|
5224
|
-
var data2 = transforms[
|
|
5221
|
+
var index2 = -1, length = transforms.length;
|
|
5222
|
+
while (++index2 < length) {
|
|
5223
|
+
var data2 = transforms[index2], size2 = data2.size;
|
|
5225
5224
|
switch (data2.type) {
|
|
5226
5225
|
case "drop":
|
|
5227
5226
|
start += size2;
|
|
@@ -5245,15 +5244,15 @@ lodash.exports;
|
|
|
5245
5244
|
}
|
|
5246
5245
|
function hasPath2(object2, path2, hasFunc) {
|
|
5247
5246
|
path2 = castPath2(path2, object2);
|
|
5248
|
-
var
|
|
5249
|
-
while (++
|
|
5250
|
-
var key2 = toKey2(path2[
|
|
5247
|
+
var index2 = -1, length = path2.length, result2 = false;
|
|
5248
|
+
while (++index2 < length) {
|
|
5249
|
+
var key2 = toKey2(path2[index2]);
|
|
5251
5250
|
if (!(result2 = object2 != null && hasFunc(object2, key2))) {
|
|
5252
5251
|
break;
|
|
5253
5252
|
}
|
|
5254
5253
|
object2 = object2[key2];
|
|
5255
5254
|
}
|
|
5256
|
-
if (result2 || ++
|
|
5255
|
+
if (result2 || ++index2 != length) {
|
|
5257
5256
|
return result2;
|
|
5258
5257
|
}
|
|
5259
5258
|
length = object2 == null ? 0 : object2.length;
|
|
@@ -5321,13 +5320,13 @@ lodash.exports;
|
|
|
5321
5320
|
length = length == null ? MAX_SAFE_INTEGER2 : length;
|
|
5322
5321
|
return !!length && (type2 == "number" || type2 != "symbol" && reIsUint2.test(value2)) && (value2 > -1 && value2 % 1 == 0 && value2 < length);
|
|
5323
5322
|
}
|
|
5324
|
-
function isIterateeCall(value2,
|
|
5323
|
+
function isIterateeCall(value2, index2, object2) {
|
|
5325
5324
|
if (!isObject2(object2)) {
|
|
5326
5325
|
return false;
|
|
5327
5326
|
}
|
|
5328
|
-
var type2 = typeof
|
|
5329
|
-
if (type2 == "number" ? isArrayLike(object2) && isIndex2(
|
|
5330
|
-
return eq2(object2[
|
|
5327
|
+
var type2 = typeof index2;
|
|
5328
|
+
if (type2 == "number" ? isArrayLike(object2) && isIndex2(index2, object2.length) : type2 == "string" && index2 in object2) {
|
|
5329
|
+
return eq2(object2[index2], value2);
|
|
5331
5330
|
}
|
|
5332
5331
|
return false;
|
|
5333
5332
|
}
|
|
@@ -5436,14 +5435,14 @@ lodash.exports;
|
|
|
5436
5435
|
function overRest(func, start, transform2) {
|
|
5437
5436
|
start = nativeMax(start === undefined$1 ? func.length - 1 : start, 0);
|
|
5438
5437
|
return function() {
|
|
5439
|
-
var args = arguments,
|
|
5440
|
-
while (++
|
|
5441
|
-
array[
|
|
5438
|
+
var args = arguments, index2 = -1, length = nativeMax(args.length - start, 0), array = Array2(length);
|
|
5439
|
+
while (++index2 < length) {
|
|
5440
|
+
array[index2] = args[start + index2];
|
|
5442
5441
|
}
|
|
5443
|
-
|
|
5442
|
+
index2 = -1;
|
|
5444
5443
|
var otherArgs = Array2(start + 1);
|
|
5445
|
-
while (++
|
|
5446
|
-
otherArgs[
|
|
5444
|
+
while (++index2 < start) {
|
|
5445
|
+
otherArgs[index2] = args[index2];
|
|
5447
5446
|
}
|
|
5448
5447
|
otherArgs[start] = transform2(array);
|
|
5449
5448
|
return apply(func, this, otherArgs);
|
|
@@ -5455,8 +5454,8 @@ lodash.exports;
|
|
|
5455
5454
|
function reorder(array, indexes) {
|
|
5456
5455
|
var arrLength = array.length, length = nativeMin(indexes.length, arrLength), oldArray = copyArray(array);
|
|
5457
5456
|
while (length--) {
|
|
5458
|
-
var
|
|
5459
|
-
array[length] = isIndex2(
|
|
5457
|
+
var index2 = indexes[length];
|
|
5458
|
+
array[length] = isIndex2(index2, arrLength) ? oldArray[index2] : undefined$1;
|
|
5460
5459
|
}
|
|
5461
5460
|
return array;
|
|
5462
5461
|
}
|
|
@@ -5494,12 +5493,12 @@ lodash.exports;
|
|
|
5494
5493
|
};
|
|
5495
5494
|
}
|
|
5496
5495
|
function shuffleSelf(array, size2) {
|
|
5497
|
-
var
|
|
5496
|
+
var index2 = -1, length = array.length, lastIndex = length - 1;
|
|
5498
5497
|
size2 = size2 === undefined$1 ? length : size2;
|
|
5499
|
-
while (++
|
|
5500
|
-
var rand = baseRandom(
|
|
5501
|
-
array[rand] = array[
|
|
5502
|
-
array[
|
|
5498
|
+
while (++index2 < size2) {
|
|
5499
|
+
var rand = baseRandom(index2, lastIndex), value2 = array[rand];
|
|
5500
|
+
array[rand] = array[index2];
|
|
5501
|
+
array[index2] = value2;
|
|
5503
5502
|
}
|
|
5504
5503
|
array.length = size2;
|
|
5505
5504
|
return array;
|
|
@@ -5563,16 +5562,16 @@ lodash.exports;
|
|
|
5563
5562
|
if (!length || size2 < 1) {
|
|
5564
5563
|
return [];
|
|
5565
5564
|
}
|
|
5566
|
-
var
|
|
5567
|
-
while (
|
|
5568
|
-
result2[resIndex++] = baseSlice(array,
|
|
5565
|
+
var index2 = 0, resIndex = 0, result2 = Array2(nativeCeil(length / size2));
|
|
5566
|
+
while (index2 < length) {
|
|
5567
|
+
result2[resIndex++] = baseSlice(array, index2, index2 += size2);
|
|
5569
5568
|
}
|
|
5570
5569
|
return result2;
|
|
5571
5570
|
}
|
|
5572
5571
|
function compact2(array) {
|
|
5573
|
-
var
|
|
5574
|
-
while (++
|
|
5575
|
-
var value2 = array[
|
|
5572
|
+
var index2 = -1, length = array == null ? 0 : array.length, resIndex = 0, result2 = [];
|
|
5573
|
+
while (++index2 < length) {
|
|
5574
|
+
var value2 = array[index2];
|
|
5576
5575
|
if (value2) {
|
|
5577
5576
|
result2[resIndex++] = value2;
|
|
5578
5577
|
}
|
|
@@ -5584,9 +5583,9 @@ lodash.exports;
|
|
|
5584
5583
|
if (!length) {
|
|
5585
5584
|
return [];
|
|
5586
5585
|
}
|
|
5587
|
-
var args = Array2(length - 1), array = arguments[0],
|
|
5588
|
-
while (
|
|
5589
|
-
args[
|
|
5586
|
+
var args = Array2(length - 1), array = arguments[0], index2 = length;
|
|
5587
|
+
while (index2--) {
|
|
5588
|
+
args[index2 - 1] = arguments[index2];
|
|
5590
5589
|
}
|
|
5591
5590
|
return arrayPush(isArray2(array) ? copyArray(array) : [array], baseFlatten(args, 1));
|
|
5592
5591
|
}
|
|
@@ -5646,23 +5645,23 @@ lodash.exports;
|
|
|
5646
5645
|
if (!length) {
|
|
5647
5646
|
return -1;
|
|
5648
5647
|
}
|
|
5649
|
-
var
|
|
5650
|
-
if (
|
|
5651
|
-
|
|
5648
|
+
var index2 = fromIndex == null ? 0 : toInteger(fromIndex);
|
|
5649
|
+
if (index2 < 0) {
|
|
5650
|
+
index2 = nativeMax(length + index2, 0);
|
|
5652
5651
|
}
|
|
5653
|
-
return baseFindIndex(array, getIteratee(predicate, 3),
|
|
5652
|
+
return baseFindIndex(array, getIteratee(predicate, 3), index2);
|
|
5654
5653
|
}
|
|
5655
5654
|
function findLastIndex(array, predicate, fromIndex) {
|
|
5656
5655
|
var length = array == null ? 0 : array.length;
|
|
5657
5656
|
if (!length) {
|
|
5658
5657
|
return -1;
|
|
5659
5658
|
}
|
|
5660
|
-
var
|
|
5659
|
+
var index2 = length - 1;
|
|
5661
5660
|
if (fromIndex !== undefined$1) {
|
|
5662
|
-
|
|
5663
|
-
|
|
5661
|
+
index2 = toInteger(fromIndex);
|
|
5662
|
+
index2 = fromIndex < 0 ? nativeMax(length + index2, 0) : nativeMin(index2, length - 1);
|
|
5664
5663
|
}
|
|
5665
|
-
return baseFindIndex(array, getIteratee(predicate, 3),
|
|
5664
|
+
return baseFindIndex(array, getIteratee(predicate, 3), index2, true);
|
|
5666
5665
|
}
|
|
5667
5666
|
function flatten(array) {
|
|
5668
5667
|
var length = array == null ? 0 : array.length;
|
|
@@ -5681,9 +5680,9 @@ lodash.exports;
|
|
|
5681
5680
|
return baseFlatten(array, depth);
|
|
5682
5681
|
}
|
|
5683
5682
|
function fromPairs(pairs) {
|
|
5684
|
-
var
|
|
5685
|
-
while (++
|
|
5686
|
-
var pair = pairs[
|
|
5683
|
+
var index2 = -1, length = pairs == null ? 0 : pairs.length, result2 = {};
|
|
5684
|
+
while (++index2 < length) {
|
|
5685
|
+
var pair = pairs[index2];
|
|
5687
5686
|
result2[pair[0]] = pair[1];
|
|
5688
5687
|
}
|
|
5689
5688
|
return result2;
|
|
@@ -5696,11 +5695,11 @@ lodash.exports;
|
|
|
5696
5695
|
if (!length) {
|
|
5697
5696
|
return -1;
|
|
5698
5697
|
}
|
|
5699
|
-
var
|
|
5700
|
-
if (
|
|
5701
|
-
|
|
5698
|
+
var index2 = fromIndex == null ? 0 : toInteger(fromIndex);
|
|
5699
|
+
if (index2 < 0) {
|
|
5700
|
+
index2 = nativeMax(length + index2, 0);
|
|
5702
5701
|
}
|
|
5703
|
-
return baseIndexOf(array, value2,
|
|
5702
|
+
return baseIndexOf(array, value2, index2);
|
|
5704
5703
|
}
|
|
5705
5704
|
function initial(array) {
|
|
5706
5705
|
var length = array == null ? 0 : array.length;
|
|
@@ -5739,12 +5738,12 @@ lodash.exports;
|
|
|
5739
5738
|
if (!length) {
|
|
5740
5739
|
return -1;
|
|
5741
5740
|
}
|
|
5742
|
-
var
|
|
5741
|
+
var index2 = length;
|
|
5743
5742
|
if (fromIndex !== undefined$1) {
|
|
5744
|
-
|
|
5745
|
-
|
|
5743
|
+
index2 = toInteger(fromIndex);
|
|
5744
|
+
index2 = index2 < 0 ? nativeMax(length + index2, 0) : nativeMin(index2, length - 1);
|
|
5746
5745
|
}
|
|
5747
|
-
return value2 === value2 ? strictLastIndexOf(array, value2,
|
|
5746
|
+
return value2 === value2 ? strictLastIndexOf(array, value2, index2) : baseFindIndex(array, baseIsNaN, index2, true);
|
|
5748
5747
|
}
|
|
5749
5748
|
function nth(array, n2) {
|
|
5750
5749
|
return array && array.length ? baseNth(array, toInteger(n2)) : undefined$1;
|
|
@@ -5761,8 +5760,8 @@ lodash.exports;
|
|
|
5761
5760
|
}
|
|
5762
5761
|
var pullAt = flatRest(function(array, indexes) {
|
|
5763
5762
|
var length = array == null ? 0 : array.length, result2 = baseAt(array, indexes);
|
|
5764
|
-
basePullAt(array, arrayMap2(indexes, function(
|
|
5765
|
-
return isIndex2(
|
|
5763
|
+
basePullAt(array, arrayMap2(indexes, function(index2) {
|
|
5764
|
+
return isIndex2(index2, length) ? +index2 : index2;
|
|
5766
5765
|
}).sort(compareAscending));
|
|
5767
5766
|
return result2;
|
|
5768
5767
|
});
|
|
@@ -5771,13 +5770,13 @@ lodash.exports;
|
|
|
5771
5770
|
if (!(array && array.length)) {
|
|
5772
5771
|
return result2;
|
|
5773
5772
|
}
|
|
5774
|
-
var
|
|
5773
|
+
var index2 = -1, indexes = [], length = array.length;
|
|
5775
5774
|
predicate = getIteratee(predicate, 3);
|
|
5776
|
-
while (++
|
|
5777
|
-
var value2 = array[
|
|
5778
|
-
if (predicate(value2,
|
|
5775
|
+
while (++index2 < length) {
|
|
5776
|
+
var value2 = array[index2];
|
|
5777
|
+
if (predicate(value2, index2, array)) {
|
|
5779
5778
|
result2.push(value2);
|
|
5780
|
-
indexes.push(
|
|
5779
|
+
indexes.push(index2);
|
|
5781
5780
|
}
|
|
5782
5781
|
}
|
|
5783
5782
|
basePullAt(array, indexes);
|
|
@@ -5809,9 +5808,9 @@ lodash.exports;
|
|
|
5809
5808
|
function sortedIndexOf(array, value2) {
|
|
5810
5809
|
var length = array == null ? 0 : array.length;
|
|
5811
5810
|
if (length) {
|
|
5812
|
-
var
|
|
5813
|
-
if (
|
|
5814
|
-
return
|
|
5811
|
+
var index2 = baseSortedIndex(array, value2);
|
|
5812
|
+
if (index2 < length && eq2(array[index2], value2)) {
|
|
5813
|
+
return index2;
|
|
5815
5814
|
}
|
|
5816
5815
|
}
|
|
5817
5816
|
return -1;
|
|
@@ -5825,9 +5824,9 @@ lodash.exports;
|
|
|
5825
5824
|
function sortedLastIndexOf(array, value2) {
|
|
5826
5825
|
var length = array == null ? 0 : array.length;
|
|
5827
5826
|
if (length) {
|
|
5828
|
-
var
|
|
5829
|
-
if (eq2(array[
|
|
5830
|
-
return
|
|
5827
|
+
var index2 = baseSortedIndex(array, value2, true) - 1;
|
|
5828
|
+
if (eq2(array[index2], value2)) {
|
|
5829
|
+
return index2;
|
|
5831
5830
|
}
|
|
5832
5831
|
}
|
|
5833
5832
|
return -1;
|
|
@@ -5900,8 +5899,8 @@ lodash.exports;
|
|
|
5900
5899
|
return true;
|
|
5901
5900
|
}
|
|
5902
5901
|
});
|
|
5903
|
-
return baseTimes(length, function(
|
|
5904
|
-
return arrayMap2(array, baseProperty(
|
|
5902
|
+
return baseTimes(length, function(index2) {
|
|
5903
|
+
return arrayMap2(array, baseProperty(index2));
|
|
5905
5904
|
});
|
|
5906
5905
|
}
|
|
5907
5906
|
function unzipWith(array, iteratee2) {
|
|
@@ -6086,9 +6085,9 @@ lodash.exports;
|
|
|
6086
6085
|
return isString2(collection) ? fromIndex <= length && collection.indexOf(value2, fromIndex) > -1 : !!length && baseIndexOf(collection, value2, fromIndex) > -1;
|
|
6087
6086
|
}
|
|
6088
6087
|
var invokeMap = baseRest(function(collection, path2, args) {
|
|
6089
|
-
var
|
|
6088
|
+
var index2 = -1, isFunc = typeof path2 == "function", result2 = isArrayLike(collection) ? Array2(collection.length) : [];
|
|
6090
6089
|
baseEach(collection, function(value2) {
|
|
6091
|
-
result2[++
|
|
6090
|
+
result2[++index2] = isFunc ? apply(path2, value2, args) : baseInvoke(value2, path2, args);
|
|
6092
6091
|
});
|
|
6093
6092
|
return result2;
|
|
6094
6093
|
});
|
|
@@ -6374,9 +6373,9 @@ lodash.exports;
|
|
|
6374
6373
|
transforms = transforms.length == 1 && isArray2(transforms[0]) ? arrayMap2(transforms[0], baseUnary(getIteratee())) : arrayMap2(baseFlatten(transforms, 1), baseUnary(getIteratee()));
|
|
6375
6374
|
var funcsLength = transforms.length;
|
|
6376
6375
|
return baseRest(function(args) {
|
|
6377
|
-
var
|
|
6378
|
-
while (++
|
|
6379
|
-
args[
|
|
6376
|
+
var index2 = -1, length = nativeMin(args.length, funcsLength);
|
|
6377
|
+
while (++index2 < length) {
|
|
6378
|
+
args[index2] = transforms[index2].call(this, args[index2]);
|
|
6380
6379
|
}
|
|
6381
6380
|
return apply(func, this, args);
|
|
6382
6381
|
});
|
|
@@ -6691,14 +6690,14 @@ lodash.exports;
|
|
|
6691
6690
|
}
|
|
6692
6691
|
var defaults = baseRest(function(object2, sources) {
|
|
6693
6692
|
object2 = Object2(object2);
|
|
6694
|
-
var
|
|
6693
|
+
var index2 = -1;
|
|
6695
6694
|
var length = sources.length;
|
|
6696
6695
|
var guard = length > 2 ? sources[2] : undefined$1;
|
|
6697
6696
|
if (guard && isIterateeCall(sources[0], sources[1], guard)) {
|
|
6698
6697
|
length = 1;
|
|
6699
6698
|
}
|
|
6700
|
-
while (++
|
|
6701
|
-
var source = sources[
|
|
6699
|
+
while (++index2 < length) {
|
|
6700
|
+
var source = sources[index2];
|
|
6702
6701
|
var props = keysIn(source);
|
|
6703
6702
|
var propsIndex = -1;
|
|
6704
6703
|
var propsLength = props.length;
|
|
@@ -6836,15 +6835,15 @@ lodash.exports;
|
|
|
6836
6835
|
}
|
|
6837
6836
|
function result(object2, path2, defaultValue) {
|
|
6838
6837
|
path2 = castPath2(path2, object2);
|
|
6839
|
-
var
|
|
6838
|
+
var index2 = -1, length = path2.length;
|
|
6840
6839
|
if (!length) {
|
|
6841
6840
|
length = 1;
|
|
6842
6841
|
object2 = undefined$1;
|
|
6843
6842
|
}
|
|
6844
|
-
while (++
|
|
6845
|
-
var value2 = object2 == null ? undefined$1 : object2[toKey2(path2[
|
|
6843
|
+
while (++index2 < length) {
|
|
6844
|
+
var value2 = object2 == null ? undefined$1 : object2[toKey2(path2[index2])];
|
|
6846
6845
|
if (value2 === undefined$1) {
|
|
6847
|
-
|
|
6846
|
+
index2 = length;
|
|
6848
6847
|
value2 = defaultValue;
|
|
6849
6848
|
}
|
|
6850
6849
|
object2 = isFunction2(value2) ? value2.call(object2) : value2;
|
|
@@ -6873,8 +6872,8 @@ lodash.exports;
|
|
|
6873
6872
|
accumulator = {};
|
|
6874
6873
|
}
|
|
6875
6874
|
}
|
|
6876
|
-
(isArrLike ? arrayEach : baseForOwn)(object2, function(value2,
|
|
6877
|
-
return iteratee2(accumulator, value2,
|
|
6875
|
+
(isArrLike ? arrayEach : baseForOwn)(object2, function(value2, index2, object3) {
|
|
6876
|
+
return iteratee2(accumulator, value2, index2, object3);
|
|
6878
6877
|
});
|
|
6879
6878
|
return accumulator;
|
|
6880
6879
|
}
|
|
@@ -6956,9 +6955,9 @@ lodash.exports;
|
|
|
6956
6955
|
}
|
|
6957
6956
|
return baseRandom(lower, upper);
|
|
6958
6957
|
}
|
|
6959
|
-
var camelCase = createCompounder(function(result2, word,
|
|
6958
|
+
var camelCase = createCompounder(function(result2, word, index2) {
|
|
6960
6959
|
word = word.toLowerCase();
|
|
6961
|
-
return result2 + (
|
|
6960
|
+
return result2 + (index2 ? capitalize(word) : word);
|
|
6962
6961
|
});
|
|
6963
6962
|
function capitalize(string) {
|
|
6964
6963
|
return upperFirst(toString2(string).toLowerCase());
|
|
@@ -6984,11 +6983,11 @@ lodash.exports;
|
|
|
6984
6983
|
string = toString2(string);
|
|
6985
6984
|
return string && reHasRegExpChar.test(string) ? string.replace(reRegExpChar2, "\\$&") : string;
|
|
6986
6985
|
}
|
|
6987
|
-
var kebabCase = createCompounder(function(result2, word,
|
|
6988
|
-
return result2 + (
|
|
6986
|
+
var kebabCase = createCompounder(function(result2, word, index2) {
|
|
6987
|
+
return result2 + (index2 ? "-" : "") + word.toLowerCase();
|
|
6989
6988
|
});
|
|
6990
|
-
var lowerCase = createCompounder(function(result2, word,
|
|
6991
|
-
return result2 + (
|
|
6989
|
+
var lowerCase = createCompounder(function(result2, word, index2) {
|
|
6990
|
+
return result2 + (index2 ? " " : "") + word.toLowerCase();
|
|
6992
6991
|
});
|
|
6993
6992
|
var lowerFirst = createCaseFirst("toLowerCase");
|
|
6994
6993
|
function pad(string, length, chars) {
|
|
@@ -7033,8 +7032,8 @@ lodash.exports;
|
|
|
7033
7032
|
var args = arguments, string = toString2(args[0]);
|
|
7034
7033
|
return args.length < 3 ? string : string.replace(args[1], args[2]);
|
|
7035
7034
|
}
|
|
7036
|
-
var snakeCase = createCompounder(function(result2, word,
|
|
7037
|
-
return result2 + (
|
|
7035
|
+
var snakeCase = createCompounder(function(result2, word, index2) {
|
|
7036
|
+
return result2 + (index2 ? "_" : "") + word.toLowerCase();
|
|
7038
7037
|
});
|
|
7039
7038
|
function split(string, separator, limit) {
|
|
7040
7039
|
if (limit && typeof limit != "number" && isIterateeCall(string, separator, limit)) {
|
|
@@ -7053,8 +7052,8 @@ lodash.exports;
|
|
|
7053
7052
|
}
|
|
7054
7053
|
return string.split(separator, limit);
|
|
7055
7054
|
}
|
|
7056
|
-
var startCase = createCompounder(function(result2, word,
|
|
7057
|
-
return result2 + (
|
|
7055
|
+
var startCase = createCompounder(function(result2, word, index2) {
|
|
7056
|
+
return result2 + (index2 ? " " : "") + upperFirst(word);
|
|
7058
7057
|
});
|
|
7059
7058
|
function startsWith(string, target, position) {
|
|
7060
7059
|
string = toString2(string);
|
|
@@ -7070,7 +7069,7 @@ lodash.exports;
|
|
|
7070
7069
|
string = toString2(string);
|
|
7071
7070
|
options = assignInWith({}, options, settings, customDefaultsAssignIn);
|
|
7072
7071
|
var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
|
|
7073
|
-
var isEscaping, isEvaluating,
|
|
7072
|
+
var isEscaping, isEvaluating, index2 = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
|
|
7074
7073
|
var reDelimiters = RegExp2(
|
|
7075
7074
|
(options.escape || reNoMatch).source + "|" + interpolate.source + "|" + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + "|" + (options.evaluate || reNoMatch).source + "|$",
|
|
7076
7075
|
"g"
|
|
@@ -7078,7 +7077,7 @@ lodash.exports;
|
|
|
7078
7077
|
var sourceURL = "//# sourceURL=" + (hasOwnProperty2.call(options, "sourceURL") ? (options.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++templateCounter + "]") + "\n";
|
|
7079
7078
|
string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
|
|
7080
7079
|
interpolateValue || (interpolateValue = esTemplateValue);
|
|
7081
|
-
source += string.slice(
|
|
7080
|
+
source += string.slice(index2, offset).replace(reUnescapedString, escapeStringChar);
|
|
7082
7081
|
if (escapeValue) {
|
|
7083
7082
|
isEscaping = true;
|
|
7084
7083
|
source += "' +\n__e(" + escapeValue + ") +\n'";
|
|
@@ -7090,7 +7089,7 @@ lodash.exports;
|
|
|
7090
7089
|
if (interpolateValue) {
|
|
7091
7090
|
source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";
|
|
7092
7091
|
}
|
|
7093
|
-
|
|
7092
|
+
index2 = offset + match.length;
|
|
7094
7093
|
return match;
|
|
7095
7094
|
});
|
|
7096
7095
|
source += "';\n";
|
|
@@ -7190,9 +7189,9 @@ lodash.exports;
|
|
|
7190
7189
|
result2 = result2.slice(0, newEnd === undefined$1 ? end : newEnd);
|
|
7191
7190
|
}
|
|
7192
7191
|
} else if (string.indexOf(baseToString2(separator), end) != end) {
|
|
7193
|
-
var
|
|
7194
|
-
if (
|
|
7195
|
-
result2 = result2.slice(0,
|
|
7192
|
+
var index2 = result2.lastIndexOf(separator);
|
|
7193
|
+
if (index2 > -1) {
|
|
7194
|
+
result2 = result2.slice(0, index2);
|
|
7196
7195
|
}
|
|
7197
7196
|
}
|
|
7198
7197
|
return result2 + omission;
|
|
@@ -7201,8 +7200,8 @@ lodash.exports;
|
|
|
7201
7200
|
string = toString2(string);
|
|
7202
7201
|
return string && reHasEscapedHtml.test(string) ? string.replace(reEscapedHtml, unescapeHtmlChar) : string;
|
|
7203
7202
|
}
|
|
7204
|
-
var upperCase = createCompounder(function(result2, word,
|
|
7205
|
-
return result2 + (
|
|
7203
|
+
var upperCase = createCompounder(function(result2, word, index2) {
|
|
7204
|
+
return result2 + (index2 ? " " : "") + word.toUpperCase();
|
|
7206
7205
|
});
|
|
7207
7206
|
var upperFirst = createCaseFirst("toUpperCase");
|
|
7208
7207
|
function words(string, pattern, guard) {
|
|
@@ -7236,9 +7235,9 @@ lodash.exports;
|
|
|
7236
7235
|
return [toIteratee(pair[0]), pair[1]];
|
|
7237
7236
|
});
|
|
7238
7237
|
return baseRest(function(args) {
|
|
7239
|
-
var
|
|
7240
|
-
while (++
|
|
7241
|
-
var pair = pairs[
|
|
7238
|
+
var index2 = -1;
|
|
7239
|
+
while (++index2 < length) {
|
|
7240
|
+
var pair = pairs[index2];
|
|
7242
7241
|
if (apply(pair[0], this, args)) {
|
|
7243
7242
|
return apply(pair[1], this, args);
|
|
7244
7243
|
}
|
|
@@ -7354,12 +7353,12 @@ lodash.exports;
|
|
|
7354
7353
|
if (n2 < 1 || n2 > MAX_SAFE_INTEGER2) {
|
|
7355
7354
|
return [];
|
|
7356
7355
|
}
|
|
7357
|
-
var
|
|
7356
|
+
var index2 = MAX_ARRAY_LENGTH, length = nativeMin(n2, MAX_ARRAY_LENGTH);
|
|
7358
7357
|
iteratee2 = getIteratee(iteratee2);
|
|
7359
7358
|
n2 -= MAX_ARRAY_LENGTH;
|
|
7360
7359
|
var result2 = baseTimes(length, iteratee2);
|
|
7361
|
-
while (++
|
|
7362
|
-
iteratee2(
|
|
7360
|
+
while (++index2 < n2) {
|
|
7361
|
+
iteratee2(index2);
|
|
7363
7362
|
}
|
|
7364
7363
|
return result2;
|
|
7365
7364
|
}
|
|
@@ -7731,10 +7730,10 @@ lodash.exports;
|
|
|
7731
7730
|
arrayEach(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(methodName) {
|
|
7732
7731
|
lodash2[methodName].placeholder = lodash2;
|
|
7733
7732
|
});
|
|
7734
|
-
arrayEach(["drop", "take"], function(methodName,
|
|
7733
|
+
arrayEach(["drop", "take"], function(methodName, index2) {
|
|
7735
7734
|
LazyWrapper.prototype[methodName] = function(n2) {
|
|
7736
7735
|
n2 = n2 === undefined$1 ? 1 : nativeMax(toInteger(n2), 0);
|
|
7737
|
-
var result2 = this.__filtered__ && !
|
|
7736
|
+
var result2 = this.__filtered__ && !index2 ? new LazyWrapper(this) : this.clone();
|
|
7738
7737
|
if (result2.__filtered__) {
|
|
7739
7738
|
result2.__takeCount__ = nativeMin(n2, result2.__takeCount__);
|
|
7740
7739
|
} else {
|
|
@@ -7749,8 +7748,8 @@ lodash.exports;
|
|
|
7749
7748
|
return this.reverse()[methodName](n2).reverse();
|
|
7750
7749
|
};
|
|
7751
7750
|
});
|
|
7752
|
-
arrayEach(["filter", "map", "takeWhile"], function(methodName,
|
|
7753
|
-
var type2 =
|
|
7751
|
+
arrayEach(["filter", "map", "takeWhile"], function(methodName, index2) {
|
|
7752
|
+
var type2 = index2 + 1, isFilter = type2 == LAZY_FILTER_FLAG || type2 == LAZY_WHILE_FLAG;
|
|
7754
7753
|
LazyWrapper.prototype[methodName] = function(iteratee2) {
|
|
7755
7754
|
var result2 = this.clone();
|
|
7756
7755
|
result2.__iteratees__.push({
|
|
@@ -7761,14 +7760,14 @@ lodash.exports;
|
|
|
7761
7760
|
return result2;
|
|
7762
7761
|
};
|
|
7763
7762
|
});
|
|
7764
|
-
arrayEach(["head", "last"], function(methodName,
|
|
7765
|
-
var takeName = "take" + (
|
|
7763
|
+
arrayEach(["head", "last"], function(methodName, index2) {
|
|
7764
|
+
var takeName = "take" + (index2 ? "Right" : "");
|
|
7766
7765
|
LazyWrapper.prototype[methodName] = function() {
|
|
7767
7766
|
return this[takeName](1).value()[0];
|
|
7768
7767
|
};
|
|
7769
7768
|
});
|
|
7770
|
-
arrayEach(["initial", "tail"], function(methodName,
|
|
7771
|
-
var dropName = "drop" + (
|
|
7769
|
+
arrayEach(["initial", "tail"], function(methodName, index2) {
|
|
7770
|
+
var dropName = "drop" + (index2 ? "" : "Right");
|
|
7772
7771
|
LazyWrapper.prototype[methodName] = function() {
|
|
7773
7772
|
return this.__filtered__ ? new LazyWrapper(this) : this[dropName](1);
|
|
7774
7773
|
};
|
|
@@ -8236,6 +8235,11 @@ function ValueDisplay(props) {
|
|
|
8236
8235
|
children: value2
|
|
8237
8236
|
});
|
|
8238
8237
|
}
|
|
8238
|
+
const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8239
|
+
__proto__: null,
|
|
8240
|
+
ValueDisplay,
|
|
8241
|
+
default: ValueDisplay
|
|
8242
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
8239
8243
|
function getSecondsDiff(startDate, endDate) {
|
|
8240
8244
|
return Math.round(Math.abs(Date.parse(endDate) - Date.parse(startDate)) / 1e3);
|
|
8241
8245
|
}
|
|
@@ -8434,9 +8438,9 @@ function KeyValueListWidget(props) {
|
|
|
8434
8438
|
[props]
|
|
8435
8439
|
);
|
|
8436
8440
|
const onRemove = useCallback(
|
|
8437
|
-
(
|
|
8441
|
+
(index2) => {
|
|
8438
8442
|
const result = [...items];
|
|
8439
|
-
result.splice(
|
|
8443
|
+
result.splice(index2, 1);
|
|
8440
8444
|
onChange(result);
|
|
8441
8445
|
},
|
|
8442
8446
|
[onChange, items]
|
|
@@ -8445,28 +8449,28 @@ function KeyValueListWidget(props) {
|
|
|
8445
8449
|
onChange([...items, { key: "", value: "" }]);
|
|
8446
8450
|
}, [onChange, items]);
|
|
8447
8451
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
8448
|
-
items.map((item,
|
|
8452
|
+
items.map((item, index2) => {
|
|
8449
8453
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8450
8454
|
KeyValueInput,
|
|
8451
8455
|
{
|
|
8452
8456
|
item,
|
|
8453
8457
|
onChange: (newItem) => {
|
|
8454
8458
|
const temp = [...items];
|
|
8455
|
-
temp.splice(
|
|
8459
|
+
temp.splice(index2, 1, newItem);
|
|
8456
8460
|
onChange(temp);
|
|
8457
8461
|
},
|
|
8458
8462
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8459
8463
|
kit.button,
|
|
8460
8464
|
{
|
|
8461
8465
|
onClick: () => {
|
|
8462
|
-
onRemove(
|
|
8466
|
+
onRemove(index2);
|
|
8463
8467
|
},
|
|
8464
8468
|
danger: true,
|
|
8465
8469
|
children: "Remove"
|
|
8466
8470
|
}
|
|
8467
8471
|
)
|
|
8468
8472
|
},
|
|
8469
|
-
|
|
8473
|
+
index2
|
|
8470
8474
|
);
|
|
8471
8475
|
}),
|
|
8472
8476
|
/* @__PURE__ */ jsxRuntimeExports.jsx(kit.form.Item, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(kit.button, { type: "primary", onClick: onAdd, children: "Add" }) })
|
|
@@ -9551,6 +9555,24 @@ const SECRET_CUSTOM_INIT_VALUE = {
|
|
|
9551
9555
|
"type": "",
|
|
9552
9556
|
"data": {}
|
|
9553
9557
|
};
|
|
9558
|
+
const NODE_INIT_VALUE = {
|
|
9559
|
+
"apiVersion": "v1",
|
|
9560
|
+
"kind": "Node",
|
|
9561
|
+
"metadata": {
|
|
9562
|
+
"name": "example",
|
|
9563
|
+
"namespace": "default"
|
|
9564
|
+
},
|
|
9565
|
+
"spec": {}
|
|
9566
|
+
};
|
|
9567
|
+
const STORAGE_CLASS_INIT_VALUE = {
|
|
9568
|
+
"apiVersion": "storage.k8s.io/v1",
|
|
9569
|
+
"kind": "StorageClass",
|
|
9570
|
+
"metadata": {
|
|
9571
|
+
"name": "example",
|
|
9572
|
+
"namespace": "default"
|
|
9573
|
+
},
|
|
9574
|
+
"spec": {}
|
|
9575
|
+
};
|
|
9554
9576
|
var WorkloadState = /* @__PURE__ */ ((WorkloadState2) => {
|
|
9555
9577
|
WorkloadState2["Terminated"] = "terminated";
|
|
9556
9578
|
WorkloadState2["UPDATING"] = "updating";
|
|
@@ -10036,6 +10058,55 @@ class ServiceModel extends ResourceModel {
|
|
|
10036
10058
|
});
|
|
10037
10059
|
}
|
|
10038
10060
|
}
|
|
10061
|
+
var NodeRole = /* @__PURE__ */ ((NodeRole2) => {
|
|
10062
|
+
NodeRole2["ControlPlane"] = "Control Plane";
|
|
10063
|
+
NodeRole2["Worker"] = "Worker";
|
|
10064
|
+
return NodeRole2;
|
|
10065
|
+
})(NodeRole || {});
|
|
10066
|
+
class NodeModel extends WorkloadBaseModel {
|
|
10067
|
+
constructor(_rawYaml, _globalStore) {
|
|
10068
|
+
super(_rawYaml, _globalStore);
|
|
10069
|
+
this._rawYaml = _rawYaml;
|
|
10070
|
+
this._globalStore = _globalStore;
|
|
10071
|
+
}
|
|
10072
|
+
get role() {
|
|
10073
|
+
return "node-role.kubernetes.io/control-plane" in (this.metadata.labels || {}) ? "Control Plane" : "Worker";
|
|
10074
|
+
}
|
|
10075
|
+
}
|
|
10076
|
+
class StorageClassModel extends ResourceModel {
|
|
10077
|
+
constructor(_rawYaml, _globalStore) {
|
|
10078
|
+
super(_rawYaml, _globalStore);
|
|
10079
|
+
__publicField(this, "pvs", []);
|
|
10080
|
+
this._rawYaml = _rawYaml;
|
|
10081
|
+
this._globalStore = _globalStore;
|
|
10082
|
+
}
|
|
10083
|
+
async init() {
|
|
10084
|
+
const pvs = await this._globalStore.get("persistentvolumes", {
|
|
10085
|
+
resourceBasePath: "/api/v1",
|
|
10086
|
+
kind: "PersistentVolume"
|
|
10087
|
+
});
|
|
10088
|
+
this.pvs = pvs.items.filter(
|
|
10089
|
+
(pv) => {
|
|
10090
|
+
var _a;
|
|
10091
|
+
return ((_a = pv.spec) == null ? void 0 : _a.storageClassName) === this.metadata.name;
|
|
10092
|
+
}
|
|
10093
|
+
);
|
|
10094
|
+
}
|
|
10095
|
+
}
|
|
10096
|
+
class PersistentVolumeModel extends ResourceModel {
|
|
10097
|
+
constructor(_rawYaml, _globalStore) {
|
|
10098
|
+
super(_rawYaml, _globalStore);
|
|
10099
|
+
this._rawYaml = _rawYaml;
|
|
10100
|
+
this._globalStore = _globalStore;
|
|
10101
|
+
}
|
|
10102
|
+
}
|
|
10103
|
+
class PersistentVolumeClaimModel extends ResourceModel {
|
|
10104
|
+
constructor(_rawYaml, _globalStore) {
|
|
10105
|
+
super(_rawYaml, _globalStore);
|
|
10106
|
+
this._rawYaml = _rawYaml;
|
|
10107
|
+
this._globalStore = _globalStore;
|
|
10108
|
+
}
|
|
10109
|
+
}
|
|
10039
10110
|
const index_1lzkrja = "";
|
|
10040
10111
|
const ServiceInClusterAccessComponent = ({
|
|
10041
10112
|
service
|
|
@@ -10432,6 +10503,8 @@ var RESOURCE_GROUP = /* @__PURE__ */ ((RESOURCE_GROUP2) => {
|
|
|
10432
10503
|
RESOURCE_GROUP2["CLUSTER"] = "CLUSTER";
|
|
10433
10504
|
RESOURCE_GROUP2["SERVICE"] = "SERVICE";
|
|
10434
10505
|
RESOURCE_GROUP2["SERVICE_AND_NETWORK"] = "SERVICE_AND_NETWORK";
|
|
10506
|
+
RESOURCE_GROUP2["CONFIG"] = "CONFIG";
|
|
10507
|
+
RESOURCE_GROUP2["NODE_MANAGEMENT"] = "NODE_MANAGEMENT";
|
|
10435
10508
|
return RESOURCE_GROUP2;
|
|
10436
10509
|
})(RESOURCE_GROUP || {});
|
|
10437
10510
|
var FormType = /* @__PURE__ */ ((FormType2) => {
|
|
@@ -10921,10 +10994,10 @@ const ImageNames = ({
|
|
|
10921
10994
|
}) => {
|
|
10922
10995
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
|
|
10923
10996
|
className: ImageWrapperStyle,
|
|
10924
|
-
children: breakLine ? value2.map((image2,
|
|
10997
|
+
children: breakLine ? value2.map((image2, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(OverflowTooltip, {
|
|
10925
10998
|
content: image2,
|
|
10926
10999
|
tooltip: image2
|
|
10927
|
-
}, `${image2}-${
|
|
11000
|
+
}, `${image2}-${index2}`)) : value2.join(", ")
|
|
10928
11001
|
});
|
|
10929
11002
|
};
|
|
10930
11003
|
const index_1m8lip = "";
|
|
@@ -10948,7 +11021,7 @@ const index_cbhkdt = "";
|
|
|
10948
11021
|
const LinkStyle = "l1vnw9x0";
|
|
10949
11022
|
const ResourceLink = (props) => {
|
|
10950
11023
|
const {
|
|
10951
|
-
|
|
11024
|
+
resourceName,
|
|
10952
11025
|
namespace: namespace2,
|
|
10953
11026
|
resourceId
|
|
10954
11027
|
} = props;
|
|
@@ -10957,9 +11030,9 @@ const ResourceLink = (props) => {
|
|
|
10957
11030
|
const go = useGo();
|
|
10958
11031
|
const onClick = () => {
|
|
10959
11032
|
go({
|
|
10960
|
-
to: navigation.showUrl(
|
|
11033
|
+
to: navigation.showUrl(resourceName, ""),
|
|
10961
11034
|
query: {
|
|
10962
|
-
id: `${namespace2}/${resourceId}`
|
|
11035
|
+
id: namespace2 ? `${namespace2}/${resourceId}` : resourceId
|
|
10963
11036
|
},
|
|
10964
11037
|
options: {
|
|
10965
11038
|
keepQuery: true
|
|
@@ -11011,7 +11084,7 @@ const IngressRulesTable = ({ ingress }) => {
|
|
|
11011
11084
|
return record.serviceName ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
11012
11085
|
ResourceLink,
|
|
11013
11086
|
{
|
|
11014
|
-
|
|
11087
|
+
resourceName: "services",
|
|
11015
11088
|
namespace: ingress.metadata.namespace || "default",
|
|
11016
11089
|
resourceId: serviceName
|
|
11017
11090
|
}
|
|
@@ -11038,7 +11111,7 @@ const IngressRulesTable = ({ ingress }) => {
|
|
|
11038
11111
|
return secretName ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
11039
11112
|
ResourceLink,
|
|
11040
11113
|
{
|
|
11041
|
-
|
|
11114
|
+
resourceName: "secrets",
|
|
11042
11115
|
namespace: ingress.metadata.namespace || "default",
|
|
11043
11116
|
resourceId: secretName
|
|
11044
11117
|
}
|
|
@@ -11349,11 +11422,11 @@ const ShowContent = (props) => {
|
|
|
11349
11422
|
} : {};
|
|
11350
11423
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(GroupContainer, {
|
|
11351
11424
|
...groupContainerProps,
|
|
11352
|
-
children: group.areas.map((area,
|
|
11425
|
+
children: group.areas.map((area, index2) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
11353
11426
|
children: [/* @__PURE__ */ jsxRuntimeExports.jsx(FieldContainer, {
|
|
11354
11427
|
...fieldContainerProps,
|
|
11355
11428
|
children: renderFields(area.fields, area.type, !!group.title)
|
|
11356
|
-
},
|
|
11429
|
+
}, index2), index2 !== group.areas.length - 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(kit.divider, {
|
|
11357
11430
|
style: {
|
|
11358
11431
|
margin: "8px 0 12px 0"
|
|
11359
11432
|
}
|
|
@@ -11488,8 +11561,8 @@ function FormErrorAlert(props) {
|
|
|
11488
11561
|
{
|
|
11489
11562
|
message: /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
11490
11563
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: i18n2.t(isEdit ? "dovetail.save_failed_tip" : "dovetail.create_failed_tip") }),
|
|
11491
|
-
errorMsgs.length > 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: errorMsgs.map((errorMsg,
|
|
11492
|
-
|
|
11564
|
+
errorMsgs.length > 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: errorMsgs.map((errorMsg, index2) => /* @__PURE__ */ jsxRuntimeExports.jsxs("li", { children: [
|
|
11565
|
+
index2 + 1 + ". ",
|
|
11493
11566
|
" ",
|
|
11494
11567
|
errorMsg
|
|
11495
11568
|
] }, errorMsg)) }) : first(errorMsgs)
|
|
@@ -12073,6 +12146,36 @@ const DurationField = (i18n2) => {
|
|
|
12073
12146
|
}
|
|
12074
12147
|
};
|
|
12075
12148
|
};
|
|
12149
|
+
const StorageClassProvisionerField = (i18n2) => {
|
|
12150
|
+
return {
|
|
12151
|
+
key: "provisioner",
|
|
12152
|
+
path: ["provisioner"],
|
|
12153
|
+
title: i18n2.t("dovetail.provisioner")
|
|
12154
|
+
};
|
|
12155
|
+
};
|
|
12156
|
+
const StorageClassFsTypeField = (i18n2) => {
|
|
12157
|
+
return {
|
|
12158
|
+
key: "fstype",
|
|
12159
|
+
path: ["parameters", "csi.storage.k8s.io/fstype"],
|
|
12160
|
+
title: i18n2.t("dovetail.file_system")
|
|
12161
|
+
};
|
|
12162
|
+
};
|
|
12163
|
+
const StorageClassPvField = () => {
|
|
12164
|
+
return {
|
|
12165
|
+
key: "pvs",
|
|
12166
|
+
path: ["pvs"],
|
|
12167
|
+
renderContent: (pvs) => {
|
|
12168
|
+
return pvs.map((pv) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12169
|
+
ResourceLink,
|
|
12170
|
+
{
|
|
12171
|
+
resourceName: "persistentvolumes",
|
|
12172
|
+
namespace: pv.metadata.namespace || "",
|
|
12173
|
+
resourceId: pv.id
|
|
12174
|
+
}
|
|
12175
|
+
) }, pv.metadata.name));
|
|
12176
|
+
}
|
|
12177
|
+
};
|
|
12178
|
+
};
|
|
12076
12179
|
function __rest(s2, e2) {
|
|
12077
12180
|
var t2 = {};
|
|
12078
12181
|
for (var p in s2)
|
|
@@ -13983,10 +14086,10 @@ function requireReactDomServer_browser_development() {
|
|
|
13983
14086
|
}
|
|
13984
14087
|
var escape;
|
|
13985
14088
|
var html = "";
|
|
13986
|
-
var
|
|
14089
|
+
var index2;
|
|
13987
14090
|
var lastIndex = 0;
|
|
13988
|
-
for (
|
|
13989
|
-
switch (str.charCodeAt(
|
|
14091
|
+
for (index2 = match.index; index2 < str.length; index2++) {
|
|
14092
|
+
switch (str.charCodeAt(index2)) {
|
|
13990
14093
|
case 34:
|
|
13991
14094
|
escape = """;
|
|
13992
14095
|
break;
|
|
@@ -14005,13 +14108,13 @@ function requireReactDomServer_browser_development() {
|
|
|
14005
14108
|
default:
|
|
14006
14109
|
continue;
|
|
14007
14110
|
}
|
|
14008
|
-
if (lastIndex !==
|
|
14009
|
-
html += str.substring(lastIndex,
|
|
14111
|
+
if (lastIndex !== index2) {
|
|
14112
|
+
html += str.substring(lastIndex, index2);
|
|
14010
14113
|
}
|
|
14011
|
-
lastIndex =
|
|
14114
|
+
lastIndex = index2 + 1;
|
|
14012
14115
|
html += escape;
|
|
14013
14116
|
}
|
|
14014
|
-
return lastIndex !==
|
|
14117
|
+
return lastIndex !== index2 ? html + str.substring(lastIndex, index2) : html;
|
|
14015
14118
|
}
|
|
14016
14119
|
function escapeTextForBrowser(text) {
|
|
14017
14120
|
if (typeof text === "boolean" || typeof text === "number") {
|
|
@@ -15874,39 +15977,39 @@ function requireReactDomServer_browser_development() {
|
|
|
15874
15977
|
}
|
|
15875
15978
|
};
|
|
15876
15979
|
_proto.pushProvider = function pushProvider(provider) {
|
|
15877
|
-
var
|
|
15980
|
+
var index2 = ++this.contextIndex;
|
|
15878
15981
|
var context = provider.type._context;
|
|
15879
15982
|
var threadID = this.threadID;
|
|
15880
15983
|
validateContextBounds(context, threadID);
|
|
15881
15984
|
var previousValue = context[threadID];
|
|
15882
|
-
this.contextStack[
|
|
15883
|
-
this.contextValueStack[
|
|
15985
|
+
this.contextStack[index2] = context;
|
|
15986
|
+
this.contextValueStack[index2] = previousValue;
|
|
15884
15987
|
{
|
|
15885
|
-
this.contextProviderStack[
|
|
15988
|
+
this.contextProviderStack[index2] = provider;
|
|
15886
15989
|
}
|
|
15887
15990
|
context[threadID] = provider.props.value;
|
|
15888
15991
|
};
|
|
15889
15992
|
_proto.popProvider = function popProvider(provider) {
|
|
15890
|
-
var
|
|
15993
|
+
var index2 = this.contextIndex;
|
|
15891
15994
|
{
|
|
15892
|
-
if (
|
|
15995
|
+
if (index2 < 0 || provider !== this.contextProviderStack[index2]) {
|
|
15893
15996
|
error("Unexpected pop.");
|
|
15894
15997
|
}
|
|
15895
15998
|
}
|
|
15896
|
-
var context = this.contextStack[
|
|
15897
|
-
var previousValue = this.contextValueStack[
|
|
15898
|
-
this.contextStack[
|
|
15899
|
-
this.contextValueStack[
|
|
15999
|
+
var context = this.contextStack[index2];
|
|
16000
|
+
var previousValue = this.contextValueStack[index2];
|
|
16001
|
+
this.contextStack[index2] = null;
|
|
16002
|
+
this.contextValueStack[index2] = null;
|
|
15900
16003
|
{
|
|
15901
|
-
this.contextProviderStack[
|
|
16004
|
+
this.contextProviderStack[index2] = null;
|
|
15902
16005
|
}
|
|
15903
16006
|
this.contextIndex--;
|
|
15904
16007
|
context[this.threadID] = previousValue;
|
|
15905
16008
|
};
|
|
15906
16009
|
_proto.clearProviders = function clearProviders() {
|
|
15907
|
-
for (var
|
|
15908
|
-
var context = this.contextStack[
|
|
15909
|
-
var previousValue = this.contextValueStack[
|
|
16010
|
+
for (var index2 = this.contextIndex; index2 >= 0; index2--) {
|
|
16011
|
+
var context = this.contextStack[index2];
|
|
16012
|
+
var previousValue = this.contextValueStack[index2];
|
|
15910
16013
|
context[this.threadID] = previousValue;
|
|
15911
16014
|
}
|
|
15912
16015
|
};
|
|
@@ -16525,15 +16628,15 @@ const escapeTextForHtml = (inputString) => inputString.replace(/[&<>"']/gm, (str
|
|
|
16525
16628
|
return "'";
|
|
16526
16629
|
}
|
|
16527
16630
|
});
|
|
16528
|
-
const LogViewerRow = memo(({ index, style, data: data2, ansiUp }) => {
|
|
16631
|
+
const LogViewerRow = memo(({ index: index2, style, data: data2, ansiUp }) => {
|
|
16529
16632
|
const { parsedData, searchedWordIndexes, rowInFocus } = data2;
|
|
16530
16633
|
const context = useContext(LogViewerContext);
|
|
16531
|
-
const getData = (
|
|
16532
|
-
const getRowIndex = (
|
|
16634
|
+
const getData = (index3) => parsedData ? parsedData[index3] : null;
|
|
16635
|
+
const getRowIndex = (index3) => index3 + LOGGER_LINE_NUMBER_INDEX_DELTA;
|
|
16533
16636
|
const handleHighlight = (matchCounter) => {
|
|
16534
|
-
const searchedWordResult = searchedWordIndexes.filter((searchedWord) => searchedWord.rowIndex ===
|
|
16637
|
+
const searchedWordResult = searchedWordIndexes.filter((searchedWord) => searchedWord.rowIndex === index2);
|
|
16535
16638
|
if (searchedWordResult.length !== 0) {
|
|
16536
|
-
if (rowInFocus.rowIndex ===
|
|
16639
|
+
if (rowInFocus.rowIndex === index2 && rowInFocus.matchIndex === matchCounter) {
|
|
16537
16640
|
return styles$1.modifiers.current;
|
|
16538
16641
|
}
|
|
16539
16642
|
return styles$1.modifiers.match;
|
|
@@ -16541,7 +16644,7 @@ const LogViewerRow = memo(({ index, style, data: data2, ansiUp }) => {
|
|
|
16541
16644
|
return "";
|
|
16542
16645
|
};
|
|
16543
16646
|
const getFormattedData = () => {
|
|
16544
|
-
const rowText = getData(
|
|
16647
|
+
const rowText = getData(index2);
|
|
16545
16648
|
let matchCounter = 0;
|
|
16546
16649
|
if (context.searchedInput) {
|
|
16547
16650
|
const splitAnsiString = splitAnsi(rowText);
|
|
@@ -16570,7 +16673,7 @@ const LogViewerRow = memo(({ index, style, data: data2, ansiUp }) => {
|
|
|
16570
16673
|
return React__default.createElement(
|
|
16571
16674
|
"div",
|
|
16572
16675
|
{ style, className: css(styles$1.logViewerListItem) },
|
|
16573
|
-
React__default.createElement("span", { className: css(styles$1.logViewerIndex) }, getRowIndex(
|
|
16676
|
+
React__default.createElement("span", { className: css(styles$1.logViewerIndex) }, getRowIndex(index2)),
|
|
16574
16677
|
React__default.createElement("span", { className: css(styles$1.logViewerText), style: { width: "fit-content" }, dangerouslySetInnerHTML: { __html: ansiUp.ansi_to_html(getFormattedData()) } })
|
|
16575
16678
|
);
|
|
16576
16679
|
});
|
|
@@ -16660,7 +16763,7 @@ function requestTimeout(callback, delay) {
|
|
|
16660
16763
|
return timeoutID;
|
|
16661
16764
|
}
|
|
16662
16765
|
const IS_SCROLLING_DEBOUNCE_INTERVAL = 150;
|
|
16663
|
-
const defaultItemKey = (
|
|
16766
|
+
const defaultItemKey = (index2, _data) => index2;
|
|
16664
16767
|
let devWarningsTagName = null;
|
|
16665
16768
|
if (process.env.NODE_ENV !== "production") {
|
|
16666
16769
|
if (typeof window !== "undefined" && typeof window.WeakSet !== "undefined") {
|
|
@@ -16697,16 +16800,16 @@ function createListComponent({ getItemOffset, getEstimatedTotalSize: getEstimate
|
|
|
16697
16800
|
scrollOffsetToBottom,
|
|
16698
16801
|
scrollUpdateWasRequested
|
|
16699
16802
|
}));
|
|
16700
|
-
this._getItemStyle = (
|
|
16803
|
+
this._getItemStyle = (index2) => {
|
|
16701
16804
|
const { itemSize } = this.props;
|
|
16702
16805
|
const itemStyleCache = this._getItemStyleCache(shouldResetStyleCacheOnItemSizeChange && itemSize);
|
|
16703
16806
|
let style;
|
|
16704
|
-
if (itemStyleCache.hasOwnProperty(
|
|
16705
|
-
style = itemStyleCache[
|
|
16807
|
+
if (itemStyleCache.hasOwnProperty(index2)) {
|
|
16808
|
+
style = itemStyleCache[index2];
|
|
16706
16809
|
} else {
|
|
16707
|
-
const offset = getItemOffset(this.props,
|
|
16708
|
-
const size = getItemSize(this.props,
|
|
16709
|
-
itemStyleCache[
|
|
16810
|
+
const offset = getItemOffset(this.props, index2, this._instanceProps);
|
|
16811
|
+
const size = getItemSize(this.props, index2, this._instanceProps);
|
|
16812
|
+
itemStyleCache[index2] = style = {
|
|
16710
16813
|
position: "absolute",
|
|
16711
16814
|
top: offset,
|
|
16712
16815
|
height: size
|
|
@@ -16772,11 +16875,11 @@ function createListComponent({ getItemOffset, getEstimatedTotalSize: getEstimate
|
|
|
16772
16875
|
};
|
|
16773
16876
|
}, this._resetIsScrollingDebounced);
|
|
16774
16877
|
}
|
|
16775
|
-
scrollToItem(
|
|
16878
|
+
scrollToItem(index2, align = "auto") {
|
|
16776
16879
|
const { itemCount } = this.props;
|
|
16777
16880
|
const { scrollOffset } = this.state;
|
|
16778
|
-
|
|
16779
|
-
this.scrollTo(getOffsetForIndexAndAlignment(this.props,
|
|
16881
|
+
index2 = Math.max(0, Math.min(index2, itemCount - 1));
|
|
16882
|
+
this.scrollTo(getOffsetForIndexAndAlignment(this.props, index2, align, scrollOffset, this._instanceProps));
|
|
16780
16883
|
}
|
|
16781
16884
|
scrollToBottom() {
|
|
16782
16885
|
const outerRef = this._outerRef;
|
|
@@ -16835,13 +16938,13 @@ function createListComponent({ getItemOffset, getEstimatedTotalSize: getEstimate
|
|
|
16835
16938
|
const [startIndex, stopIndex] = this._getRangeToRender();
|
|
16836
16939
|
const items = [];
|
|
16837
16940
|
if (itemCount > 0) {
|
|
16838
|
-
for (let
|
|
16941
|
+
for (let index2 = startIndex; index2 <= stopIndex; index2++) {
|
|
16839
16942
|
items.push(createElement(children, {
|
|
16840
16943
|
data: itemData,
|
|
16841
|
-
key: itemKey(
|
|
16842
|
-
index,
|
|
16944
|
+
key: itemKey(index2, itemData),
|
|
16945
|
+
index: index2,
|
|
16843
16946
|
isScrolling: useIsScrolling ? isScrolling : void 0,
|
|
16844
|
-
style: this._getItemStyle(
|
|
16947
|
+
style: this._getItemStyle(index2),
|
|
16845
16948
|
ansiUp
|
|
16846
16949
|
}));
|
|
16847
16950
|
}
|
|
@@ -16914,16 +17017,16 @@ const validateSharedProps = ({ children, innerTagName, outerTagName }, { instanc
|
|
|
16914
17017
|
}
|
|
16915
17018
|
};
|
|
16916
17019
|
const DEFAULT_ESTIMATED_ITEM_SIZE = 50;
|
|
16917
|
-
const getItemMetadata = (props,
|
|
17020
|
+
const getItemMetadata = (props, index2, instanceProps) => {
|
|
16918
17021
|
const { itemSize } = props;
|
|
16919
17022
|
const { itemMetadataMap, lastMeasuredIndex } = instanceProps;
|
|
16920
|
-
if (
|
|
17023
|
+
if (index2 > lastMeasuredIndex) {
|
|
16921
17024
|
let offset = 0;
|
|
16922
17025
|
if (lastMeasuredIndex >= 0) {
|
|
16923
17026
|
const itemMetadata = itemMetadataMap[lastMeasuredIndex];
|
|
16924
17027
|
offset = itemMetadata.offset + itemMetadata.size;
|
|
16925
17028
|
}
|
|
16926
|
-
for (let i2 = lastMeasuredIndex + 1; i2 <=
|
|
17029
|
+
for (let i2 = lastMeasuredIndex + 1; i2 <= index2; i2++) {
|
|
16927
17030
|
const size = typeof itemSize === "number" ? itemSize : itemSize(i2);
|
|
16928
17031
|
itemMetadataMap[i2] = {
|
|
16929
17032
|
offset,
|
|
@@ -16931,9 +17034,9 @@ const getItemMetadata = (props, index, instanceProps) => {
|
|
|
16931
17034
|
};
|
|
16932
17035
|
offset += size;
|
|
16933
17036
|
}
|
|
16934
|
-
instanceProps.lastMeasuredIndex =
|
|
17037
|
+
instanceProps.lastMeasuredIndex = index2;
|
|
16935
17038
|
}
|
|
16936
|
-
return itemMetadataMap[
|
|
17039
|
+
return itemMetadataMap[index2];
|
|
16937
17040
|
};
|
|
16938
17041
|
const findNearestItem = (props, instanceProps, offset) => {
|
|
16939
17042
|
const { itemMetadataMap, lastMeasuredIndex } = instanceProps;
|
|
@@ -16962,14 +17065,14 @@ const findNearestItemBinarySearch = (props, instanceProps, high, low, offset) =>
|
|
|
16962
17065
|
return 0;
|
|
16963
17066
|
}
|
|
16964
17067
|
};
|
|
16965
|
-
const findNearestItemExponentialSearch = (props, instanceProps,
|
|
17068
|
+
const findNearestItemExponentialSearch = (props, instanceProps, index2, offset) => {
|
|
16966
17069
|
const { itemCount } = props;
|
|
16967
17070
|
let interval = 1;
|
|
16968
|
-
while (
|
|
16969
|
-
|
|
17071
|
+
while (index2 < itemCount && getItemMetadata(props, index2, instanceProps).offset < offset) {
|
|
17072
|
+
index2 += interval;
|
|
16970
17073
|
interval *= 2;
|
|
16971
17074
|
}
|
|
16972
|
-
return findNearestItemBinarySearch(props, instanceProps, Math.min(
|
|
17075
|
+
return findNearestItemBinarySearch(props, instanceProps, Math.min(index2, itemCount - 1), Math.floor(index2 / 2), offset);
|
|
16973
17076
|
};
|
|
16974
17077
|
const getEstimatedTotalSize = ({ itemCount }, { itemMetadataMap, estimatedItemSize, lastMeasuredIndex }) => {
|
|
16975
17078
|
let totalSizeOfMeasuredItems = 0;
|
|
@@ -16985,13 +17088,13 @@ const getEstimatedTotalSize = ({ itemCount }, { itemMetadataMap, estimatedItemSi
|
|
|
16985
17088
|
return totalSizeOfMeasuredItems + totalSizeOfUnmeasuredItems;
|
|
16986
17089
|
};
|
|
16987
17090
|
const VariableSizeList = createListComponent({
|
|
16988
|
-
getItemOffset: (props,
|
|
16989
|
-
getItemSize: (props,
|
|
17091
|
+
getItemOffset: (props, index2, instanceProps) => getItemMetadata(props, index2, instanceProps).offset,
|
|
17092
|
+
getItemSize: (props, index2, instanceProps) => instanceProps.itemMetadataMap[index2].size,
|
|
16990
17093
|
getEstimatedTotalSize,
|
|
16991
|
-
getOffsetForIndexAndAlignment: (props,
|
|
17094
|
+
getOffsetForIndexAndAlignment: (props, index2, align, scrollOffset, instanceProps) => {
|
|
16992
17095
|
const { height } = props;
|
|
16993
17096
|
const size = height;
|
|
16994
|
-
const itemMetadata = getItemMetadata(props,
|
|
17097
|
+
const itemMetadata = getItemMetadata(props, index2, instanceProps);
|
|
16995
17098
|
const estimatedTotalSize = getEstimatedTotalSize(props, instanceProps);
|
|
16996
17099
|
const maxOffset = Math.max(0, Math.min(estimatedTotalSize - size, itemMetadata.offset));
|
|
16997
17100
|
const minOffset = Math.max(0, itemMetadata.offset - size + itemMetadata.size);
|
|
@@ -17041,8 +17144,8 @@ const VariableSizeList = createListComponent({
|
|
|
17041
17144
|
estimatedItemSize: estimatedItemSize || DEFAULT_ESTIMATED_ITEM_SIZE,
|
|
17042
17145
|
lastMeasuredIndex: -1
|
|
17043
17146
|
};
|
|
17044
|
-
instance.resetAfterIndex = (
|
|
17045
|
-
instanceProps.lastMeasuredIndex = Math.min(instanceProps.lastMeasuredIndex,
|
|
17147
|
+
instance.resetAfterIndex = (index2, shouldForceUpdate = true) => {
|
|
17148
|
+
instanceProps.lastMeasuredIndex = Math.min(instanceProps.lastMeasuredIndex, index2 - 1);
|
|
17046
17149
|
instance._getItemStyleCache(-1);
|
|
17047
17150
|
if (shouldForceUpdate) {
|
|
17048
17151
|
instance.forceUpdate();
|
|
@@ -18296,21 +18399,27 @@ const JobsGroup = () => ({
|
|
|
18296
18399
|
});
|
|
18297
18400
|
const IngressRulesGroup = (i18n2) => ({
|
|
18298
18401
|
title: i18n2.t("dovetail.rule"),
|
|
18299
|
-
areas: [
|
|
18300
|
-
|
|
18301
|
-
|
|
18402
|
+
areas: [
|
|
18403
|
+
{
|
|
18404
|
+
fields: [IngressRulesTableTabField()]
|
|
18405
|
+
}
|
|
18406
|
+
]
|
|
18302
18407
|
});
|
|
18303
18408
|
const PodSelectorGroup = (i18n2) => ({
|
|
18304
18409
|
title: i18n2.t("dovetail.pod_selector"),
|
|
18305
|
-
areas: [
|
|
18306
|
-
|
|
18307
|
-
|
|
18410
|
+
areas: [
|
|
18411
|
+
{
|
|
18412
|
+
fields: [PodSelectorField()]
|
|
18413
|
+
}
|
|
18414
|
+
]
|
|
18308
18415
|
});
|
|
18309
18416
|
const PortsGroup = (i18n2) => ({
|
|
18310
18417
|
title: i18n2.t("dovetail.port"),
|
|
18311
|
-
areas: [
|
|
18312
|
-
|
|
18313
|
-
|
|
18418
|
+
areas: [
|
|
18419
|
+
{
|
|
18420
|
+
fields: [PortsTableField()]
|
|
18421
|
+
}
|
|
18422
|
+
]
|
|
18314
18423
|
});
|
|
18315
18424
|
const DataGroup = (i18n2) => ({
|
|
18316
18425
|
title: i18n2.t("dovetail.data"),
|
|
@@ -18364,6 +18473,14 @@ const NetworkPolicyEgressRulesGroup = (i18n2) => ({
|
|
|
18364
18473
|
}
|
|
18365
18474
|
]
|
|
18366
18475
|
});
|
|
18476
|
+
const StorageClassPvGroup = (i18n2) => ({
|
|
18477
|
+
title: i18n2.t("dovetail.persistent_volumn"),
|
|
18478
|
+
areas: [
|
|
18479
|
+
{
|
|
18480
|
+
fields: [StorageClassPvField()]
|
|
18481
|
+
}
|
|
18482
|
+
]
|
|
18483
|
+
});
|
|
18367
18484
|
const PageShow = (props) => {
|
|
18368
18485
|
var _a;
|
|
18369
18486
|
const parsed = useParsed();
|
|
@@ -18788,10 +18905,10 @@ const NamespacesFilter = ({
|
|
|
18788
18905
|
onClose,
|
|
18789
18906
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(kit.overflowTooltip, {
|
|
18790
18907
|
content: isCountToken ? /* @__PURE__ */ jsxRuntimeExports.jsx(kit.tooltip, {
|
|
18791
|
-
title: isCountToken ? value2.slice(MAX_TAG_COUNT).map((namespace2,
|
|
18908
|
+
title: isCountToken ? value2.slice(MAX_TAG_COUNT).map((namespace2, index2) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
18792
18909
|
children: [/* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
18793
18910
|
children: namespace2
|
|
18794
|
-
}),
|
|
18911
|
+
}), index2 !== value2.length - 1 - MAX_TAG_COUNT ? /* @__PURE__ */ jsxRuntimeExports.jsx(kit.divider, {
|
|
18795
18912
|
style: {
|
|
18796
18913
|
margin: "6px 0",
|
|
18797
18914
|
borderColor: "rgba(107, 128, 167, 0.60)"
|
|
@@ -20394,14 +20511,14 @@ function generate(node, key2, rootProps) {
|
|
|
20394
20511
|
if (!rootProps) {
|
|
20395
20512
|
return React__default.createElement(node.tag, _objectSpread$1({
|
|
20396
20513
|
key: key2
|
|
20397
|
-
}, normalizeAttrs(node.attrs)), (node.children || []).map(function(child,
|
|
20398
|
-
return generate(child, "".concat(key2, "-").concat(node.tag, "-").concat(
|
|
20514
|
+
}, normalizeAttrs(node.attrs)), (node.children || []).map(function(child, index2) {
|
|
20515
|
+
return generate(child, "".concat(key2, "-").concat(node.tag, "-").concat(index2));
|
|
20399
20516
|
}));
|
|
20400
20517
|
}
|
|
20401
20518
|
return React__default.createElement(node.tag, _objectSpread$1(_objectSpread$1({
|
|
20402
20519
|
key: key2
|
|
20403
|
-
}, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function(child,
|
|
20404
|
-
return generate(child, "".concat(key2, "-").concat(node.tag, "-").concat(
|
|
20520
|
+
}, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function(child, index2) {
|
|
20521
|
+
return generate(child, "".concat(key2, "-").concat(node.tag, "-").concat(index2));
|
|
20405
20522
|
}));
|
|
20406
20523
|
}
|
|
20407
20524
|
function getSecondaryColor(primaryColor) {
|
|
@@ -20737,16 +20854,16 @@ function useWatch(props) {
|
|
|
20737
20854
|
var isKey$2 = (value2) => /^\w*$/.test(value2);
|
|
20738
20855
|
var stringToPath$2 = (input) => compact(input.replace(/["|']|\]/g, "").split(/\.|\[/));
|
|
20739
20856
|
var set = (object2, path2, value2) => {
|
|
20740
|
-
let
|
|
20857
|
+
let index2 = -1;
|
|
20741
20858
|
const tempPath = isKey$2(path2) ? [path2] : stringToPath$2(path2);
|
|
20742
20859
|
const length = tempPath.length;
|
|
20743
20860
|
const lastIndex = length - 1;
|
|
20744
|
-
while (++
|
|
20745
|
-
const key2 = tempPath[
|
|
20861
|
+
while (++index2 < length) {
|
|
20862
|
+
const key2 = tempPath[index2];
|
|
20746
20863
|
let newValue = value2;
|
|
20747
|
-
if (
|
|
20864
|
+
if (index2 !== lastIndex) {
|
|
20748
20865
|
const objValue = object2[key2];
|
|
20749
|
-
newValue = isObject$3(objValue) || Array.isArray(objValue) ? objValue : !isNaN(+tempPath[
|
|
20866
|
+
newValue = isObject$3(objValue) || Array.isArray(objValue) ? objValue : !isNaN(+tempPath[index2 + 1]) ? [] : {};
|
|
20750
20867
|
}
|
|
20751
20868
|
object2[key2] = newValue;
|
|
20752
20869
|
object2 = object2[key2];
|
|
@@ -21098,9 +21215,9 @@ var validateField = async (field, formValues, validateAllFieldCriteria, shouldUs
|
|
|
21098
21215
|
};
|
|
21099
21216
|
function baseGet$2(object2, updatePath) {
|
|
21100
21217
|
const length = updatePath.slice(0, -1).length;
|
|
21101
|
-
let
|
|
21102
|
-
while (
|
|
21103
|
-
object2 = isUndefined(object2) ?
|
|
21218
|
+
let index2 = 0;
|
|
21219
|
+
while (index2 < length) {
|
|
21220
|
+
object2 = isUndefined(object2) ? index2++ : object2[updatePath[index2++]];
|
|
21104
21221
|
}
|
|
21105
21222
|
return object2;
|
|
21106
21223
|
}
|
|
@@ -21115,12 +21232,12 @@ function isEmptyArray(obj) {
|
|
|
21115
21232
|
function unset(object2, path2) {
|
|
21116
21233
|
const paths = Array.isArray(path2) ? path2 : isKey$2(path2) ? [path2] : stringToPath$2(path2);
|
|
21117
21234
|
const childObject = paths.length === 1 ? object2 : baseGet$2(object2, paths);
|
|
21118
|
-
const
|
|
21119
|
-
const key2 = paths[
|
|
21235
|
+
const index2 = paths.length - 1;
|
|
21236
|
+
const key2 = paths[index2];
|
|
21120
21237
|
if (childObject) {
|
|
21121
21238
|
delete childObject[key2];
|
|
21122
21239
|
}
|
|
21123
|
-
if (
|
|
21240
|
+
if (index2 !== 0 && (isObject$3(childObject) && isEmptyObject(childObject) || Array.isArray(childObject) && isEmptyArray(childObject))) {
|
|
21124
21241
|
unset(object2, paths.slice(0, -1));
|
|
21125
21242
|
}
|
|
21126
21243
|
return object2;
|
|
@@ -22240,6 +22357,9 @@ const RefineFormContent = (props) => {
|
|
|
22240
22357
|
children: value2
|
|
22241
22358
|
});
|
|
22242
22359
|
}
|
|
22360
|
+
if (c2 == null ? void 0 : c2.render) {
|
|
22361
|
+
ele = c2.render(value2, onChange, formValue, onBlur, action, control);
|
|
22362
|
+
}
|
|
22243
22363
|
if (c2.helperText) {
|
|
22244
22364
|
ele = /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, {
|
|
22245
22365
|
size: 4,
|
|
@@ -22251,9 +22371,6 @@ const RefineFormContent = (props) => {
|
|
|
22251
22371
|
})]
|
|
22252
22372
|
});
|
|
22253
22373
|
}
|
|
22254
|
-
if (c2 == null ? void 0 : c2.render) {
|
|
22255
|
-
ele = c2.render(value2, onChange, formValue, onBlur, action);
|
|
22256
|
-
}
|
|
22257
22374
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Form.Item, {
|
|
22258
22375
|
label: c2.label,
|
|
22259
22376
|
colon: false,
|
|
@@ -22470,10 +22587,10 @@ function hashSet$1(key2, value2) {
|
|
|
22470
22587
|
var _hashSet = hashSet$1;
|
|
22471
22588
|
var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
|
|
22472
22589
|
function Hash$1(entries) {
|
|
22473
|
-
var
|
|
22590
|
+
var index2 = -1, length = entries == null ? 0 : entries.length;
|
|
22474
22591
|
this.clear();
|
|
22475
|
-
while (++
|
|
22476
|
-
var entry = entries[
|
|
22592
|
+
while (++index2 < length) {
|
|
22593
|
+
var entry = entries[index2];
|
|
22477
22594
|
this.set(entry[0], entry[1]);
|
|
22478
22595
|
}
|
|
22479
22596
|
}
|
|
@@ -22507,15 +22624,15 @@ var assocIndexOf$3 = _assocIndexOf;
|
|
|
22507
22624
|
var arrayProto = Array.prototype;
|
|
22508
22625
|
var splice = arrayProto.splice;
|
|
22509
22626
|
function listCacheDelete$1(key2) {
|
|
22510
|
-
var data2 = this.__data__,
|
|
22511
|
-
if (
|
|
22627
|
+
var data2 = this.__data__, index2 = assocIndexOf$3(data2, key2);
|
|
22628
|
+
if (index2 < 0) {
|
|
22512
22629
|
return false;
|
|
22513
22630
|
}
|
|
22514
22631
|
var lastIndex = data2.length - 1;
|
|
22515
|
-
if (
|
|
22632
|
+
if (index2 == lastIndex) {
|
|
22516
22633
|
data2.pop();
|
|
22517
22634
|
} else {
|
|
22518
|
-
splice.call(data2,
|
|
22635
|
+
splice.call(data2, index2, 1);
|
|
22519
22636
|
}
|
|
22520
22637
|
--this.size;
|
|
22521
22638
|
return true;
|
|
@@ -22523,8 +22640,8 @@ function listCacheDelete$1(key2) {
|
|
|
22523
22640
|
var _listCacheDelete = listCacheDelete$1;
|
|
22524
22641
|
var assocIndexOf$2 = _assocIndexOf;
|
|
22525
22642
|
function listCacheGet$1(key2) {
|
|
22526
|
-
var data2 = this.__data__,
|
|
22527
|
-
return
|
|
22643
|
+
var data2 = this.__data__, index2 = assocIndexOf$2(data2, key2);
|
|
22644
|
+
return index2 < 0 ? void 0 : data2[index2][1];
|
|
22528
22645
|
}
|
|
22529
22646
|
var _listCacheGet = listCacheGet$1;
|
|
22530
22647
|
var assocIndexOf$1 = _assocIndexOf;
|
|
@@ -22534,22 +22651,22 @@ function listCacheHas$1(key2) {
|
|
|
22534
22651
|
var _listCacheHas = listCacheHas$1;
|
|
22535
22652
|
var assocIndexOf = _assocIndexOf;
|
|
22536
22653
|
function listCacheSet$1(key2, value2) {
|
|
22537
|
-
var data2 = this.__data__,
|
|
22538
|
-
if (
|
|
22654
|
+
var data2 = this.__data__, index2 = assocIndexOf(data2, key2);
|
|
22655
|
+
if (index2 < 0) {
|
|
22539
22656
|
++this.size;
|
|
22540
22657
|
data2.push([key2, value2]);
|
|
22541
22658
|
} else {
|
|
22542
|
-
data2[
|
|
22659
|
+
data2[index2][1] = value2;
|
|
22543
22660
|
}
|
|
22544
22661
|
return this;
|
|
22545
22662
|
}
|
|
22546
22663
|
var _listCacheSet = listCacheSet$1;
|
|
22547
22664
|
var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
|
|
22548
22665
|
function ListCache$1(entries) {
|
|
22549
|
-
var
|
|
22666
|
+
var index2 = -1, length = entries == null ? 0 : entries.length;
|
|
22550
22667
|
this.clear();
|
|
22551
|
-
while (++
|
|
22552
|
-
var entry = entries[
|
|
22668
|
+
while (++index2 < length) {
|
|
22669
|
+
var entry = entries[index2];
|
|
22553
22670
|
this.set(entry[0], entry[1]);
|
|
22554
22671
|
}
|
|
22555
22672
|
}
|
|
@@ -22610,10 +22727,10 @@ function mapCacheSet$1(key2, value2) {
|
|
|
22610
22727
|
var _mapCacheSet = mapCacheSet$1;
|
|
22611
22728
|
var mapCacheClear = _mapCacheClear, mapCacheDelete = _mapCacheDelete, mapCacheGet = _mapCacheGet, mapCacheHas = _mapCacheHas, mapCacheSet = _mapCacheSet;
|
|
22612
22729
|
function MapCache$1(entries) {
|
|
22613
|
-
var
|
|
22730
|
+
var index2 = -1, length = entries == null ? 0 : entries.length;
|
|
22614
22731
|
this.clear();
|
|
22615
|
-
while (++
|
|
22616
|
-
var entry = entries[
|
|
22732
|
+
while (++index2 < length) {
|
|
22733
|
+
var entry = entries[index2];
|
|
22617
22734
|
this.set(entry[0], entry[1]);
|
|
22618
22735
|
}
|
|
22619
22736
|
}
|
|
@@ -22671,9 +22788,9 @@ var stringToPath$1 = memoizeCapped(function(string) {
|
|
|
22671
22788
|
});
|
|
22672
22789
|
var _stringToPath = stringToPath$1;
|
|
22673
22790
|
function arrayMap$1(array, iteratee) {
|
|
22674
|
-
var
|
|
22675
|
-
while (++
|
|
22676
|
-
result[
|
|
22791
|
+
var index2 = -1, length = array == null ? 0 : array.length, result = Array(length);
|
|
22792
|
+
while (++index2 < length) {
|
|
22793
|
+
result[index2] = iteratee(array[index2], index2, array);
|
|
22677
22794
|
}
|
|
22678
22795
|
return result;
|
|
22679
22796
|
}
|
|
@@ -22721,11 +22838,11 @@ var _toKey = toKey$2;
|
|
|
22721
22838
|
var castPath$1 = _castPath, toKey$1 = _toKey;
|
|
22722
22839
|
function baseGet$1(object2, path2) {
|
|
22723
22840
|
path2 = castPath$1(path2, object2);
|
|
22724
|
-
var
|
|
22725
|
-
while (object2 != null &&
|
|
22726
|
-
object2 = object2[toKey$1(path2[
|
|
22841
|
+
var index2 = 0, length = path2.length;
|
|
22842
|
+
while (object2 != null && index2 < length) {
|
|
22843
|
+
object2 = object2[toKey$1(path2[index2++])];
|
|
22727
22844
|
}
|
|
22728
|
-
return
|
|
22845
|
+
return index2 && index2 == length ? object2 : void 0;
|
|
22729
22846
|
}
|
|
22730
22847
|
var _baseGet = baseGet$1;
|
|
22731
22848
|
var baseGet = _baseGet;
|
|
@@ -22773,15 +22890,15 @@ var isLength_1 = isLength$1;
|
|
|
22773
22890
|
var castPath = _castPath, isArguments = isArguments_1, isArray = isArray_1, isIndex = _isIndex, isLength = isLength_1, toKey = _toKey;
|
|
22774
22891
|
function hasPath$1(object2, path2, hasFunc) {
|
|
22775
22892
|
path2 = castPath(path2, object2);
|
|
22776
|
-
var
|
|
22777
|
-
while (++
|
|
22778
|
-
var key2 = toKey(path2[
|
|
22893
|
+
var index2 = -1, length = path2.length, result = false;
|
|
22894
|
+
while (++index2 < length) {
|
|
22895
|
+
var key2 = toKey(path2[index2]);
|
|
22779
22896
|
if (!(result = object2 != null && hasFunc(object2, key2))) {
|
|
22780
22897
|
break;
|
|
22781
22898
|
}
|
|
22782
22899
|
object2 = object2[key2];
|
|
22783
22900
|
}
|
|
22784
|
-
if (result || ++
|
|
22901
|
+
if (result || ++index2 != length) {
|
|
22785
22902
|
return result;
|
|
22786
22903
|
}
|
|
22787
22904
|
length = object2 == null ? 0 : object2.length;
|
|
@@ -22963,7 +23080,7 @@ const Separator = () => {
|
|
|
22963
23080
|
});
|
|
22964
23081
|
};
|
|
22965
23082
|
const MonacoYamlEditor = React__default.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
|
|
22966
|
-
const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-
|
|
23083
|
+
const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-b319f3df.js"));
|
|
22967
23084
|
const YamlEditorComponent = forwardRef(
|
|
22968
23085
|
function YamlEditorComponent2(props, ref) {
|
|
22969
23086
|
const {
|
|
@@ -23158,8 +23275,8 @@ const YamlEditorComponent = forwardRef(
|
|
|
23158
23275
|
] }),
|
|
23159
23276
|
errorMsgs.length ? /* @__PURE__ */ jsxRuntimeExports.jsxs(kit.space, { className: ErrorWrapperStyle, size: 8, align: "start", children: [
|
|
23160
23277
|
/* @__PURE__ */ jsxRuntimeExports.jsx(XmarkFailedSeriousWarningFill16RedIcon, { className: ErrorIconStyle }),
|
|
23161
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: errorMsgs.map((errorMsg,
|
|
23162
|
-
errorMsgs.length > 1 ? `${
|
|
23278
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: errorMsgs.map((errorMsg, index2) => /* @__PURE__ */ jsxRuntimeExports.jsxs("pre", { className: ErrorMsgStyle, children: [
|
|
23279
|
+
errorMsgs.length > 1 ? `${index2 + 1}. ` : "",
|
|
23163
23280
|
errorMsg
|
|
23164
23281
|
] }, errorMsg)) })
|
|
23165
23282
|
] }) : void 0
|
|
@@ -24106,7 +24223,7 @@ const ReferenceLink = (props) => {
|
|
|
24106
24223
|
ResourceLink,
|
|
24107
24224
|
{
|
|
24108
24225
|
resourceId: ownerReference.name,
|
|
24109
|
-
|
|
24226
|
+
resourceName: resource.name || "",
|
|
24110
24227
|
namespace: namespace2
|
|
24111
24228
|
}
|
|
24112
24229
|
);
|
|
@@ -24121,6 +24238,32 @@ const TextTags = (props) => {
|
|
|
24121
24238
|
});
|
|
24122
24239
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: tags });
|
|
24123
24240
|
};
|
|
24241
|
+
function ResourceSelect(props) {
|
|
24242
|
+
const { resource, resourceBasePath, kind, selectProps, value: value2, onChange } = props;
|
|
24243
|
+
const { data: data2, isLoading, isError } = useList({
|
|
24244
|
+
resource,
|
|
24245
|
+
meta: {
|
|
24246
|
+
resourceBasePath,
|
|
24247
|
+
kind
|
|
24248
|
+
},
|
|
24249
|
+
pagination: {
|
|
24250
|
+
mode: "off"
|
|
24251
|
+
}
|
|
24252
|
+
});
|
|
24253
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
24254
|
+
Select,
|
|
24255
|
+
{
|
|
24256
|
+
input: {
|
|
24257
|
+
value: value2,
|
|
24258
|
+
onChange
|
|
24259
|
+
},
|
|
24260
|
+
loading: isLoading,
|
|
24261
|
+
error: isError,
|
|
24262
|
+
...selectProps,
|
|
24263
|
+
children: data2 == null ? void 0 : data2.data.map((namespace2) => /* @__PURE__ */ jsxRuntimeExports.jsx(AntdOption, { value: namespace2.metadata.name, children: namespace2.metadata.name }, namespace2.metadata.name))
|
|
24264
|
+
}
|
|
24265
|
+
);
|
|
24266
|
+
}
|
|
24124
24267
|
const IngressRulesComponent = ({ ingress }) => {
|
|
24125
24268
|
const kit = useUIKit();
|
|
24126
24269
|
const result = ingress.flattenedRules.map((r2) => {
|
|
@@ -24135,7 +24278,7 @@ const IngressRulesComponent = ({ ingress }) => {
|
|
|
24135
24278
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
24136
24279
|
ResourceLink,
|
|
24137
24280
|
{
|
|
24138
|
-
|
|
24281
|
+
resourceName: "services",
|
|
24139
24282
|
namespace: ingress.metadata.namespace || "default",
|
|
24140
24283
|
resourceId: r2.serviceName
|
|
24141
24284
|
}
|
|
@@ -24680,6 +24823,76 @@ const PortMappingColumnRenderer = (i18n2, clusterVip) => {
|
|
|
24680
24823
|
}
|
|
24681
24824
|
};
|
|
24682
24825
|
};
|
|
24826
|
+
const ProvisionerColumnRenderer = (i18n2) => {
|
|
24827
|
+
return {
|
|
24828
|
+
key: "provisioner",
|
|
24829
|
+
display: true,
|
|
24830
|
+
dataIndex: ["provisioner"],
|
|
24831
|
+
title: i18n2.t("dovetail.provisioner"),
|
|
24832
|
+
width: 120,
|
|
24833
|
+
sortable: true
|
|
24834
|
+
};
|
|
24835
|
+
};
|
|
24836
|
+
const FsTypeColumnRenderer = (i18n2) => {
|
|
24837
|
+
return {
|
|
24838
|
+
key: "fstype",
|
|
24839
|
+
display: true,
|
|
24840
|
+
dataIndex: ["parameters", "csi.storage.k8s.io/fstype"],
|
|
24841
|
+
title: i18n2.t("dovetail.file_system"),
|
|
24842
|
+
width: 120,
|
|
24843
|
+
sortable: true
|
|
24844
|
+
};
|
|
24845
|
+
};
|
|
24846
|
+
const PVCapacityColumnRenderer = (i18n2) => {
|
|
24847
|
+
return {
|
|
24848
|
+
key: "capacity",
|
|
24849
|
+
display: true,
|
|
24850
|
+
dataIndex: ["spec", "capacity", "storage"],
|
|
24851
|
+
title: i18n2.t("dovetail.capacity"),
|
|
24852
|
+
width: 120,
|
|
24853
|
+
sortable: true
|
|
24854
|
+
};
|
|
24855
|
+
};
|
|
24856
|
+
const PVStorageClassColumnRenderer = (i18n2) => {
|
|
24857
|
+
return {
|
|
24858
|
+
key: "storageClass",
|
|
24859
|
+
display: true,
|
|
24860
|
+
dataIndex: ["spec", "storageClassName"],
|
|
24861
|
+
title: i18n2.t("dovetail.storage_class"),
|
|
24862
|
+
width: 120,
|
|
24863
|
+
sortable: true
|
|
24864
|
+
};
|
|
24865
|
+
};
|
|
24866
|
+
const PVPhaseColumnRenderer = (i18n2) => {
|
|
24867
|
+
return {
|
|
24868
|
+
key: "phase",
|
|
24869
|
+
display: true,
|
|
24870
|
+
dataIndex: ["status", "phase"],
|
|
24871
|
+
title: i18n2.t("dovetail.phase"),
|
|
24872
|
+
width: 120,
|
|
24873
|
+
sortable: true
|
|
24874
|
+
};
|
|
24875
|
+
};
|
|
24876
|
+
const PVModeColumnRenderer = (i18n2) => {
|
|
24877
|
+
return {
|
|
24878
|
+
key: "mode",
|
|
24879
|
+
display: true,
|
|
24880
|
+
dataIndex: ["spec", "volumeMode"],
|
|
24881
|
+
title: i18n2.t("dovetail.volume_mode"),
|
|
24882
|
+
width: 120,
|
|
24883
|
+
sortable: true
|
|
24884
|
+
};
|
|
24885
|
+
};
|
|
24886
|
+
const PVAccessModeColumnRenderer = (i18n2) => {
|
|
24887
|
+
return {
|
|
24888
|
+
key: "accessMode",
|
|
24889
|
+
display: true,
|
|
24890
|
+
dataIndex: ["spec", "accessModes"],
|
|
24891
|
+
title: i18n2.t("dovetail.access_mode"),
|
|
24892
|
+
width: 120,
|
|
24893
|
+
sortable: true
|
|
24894
|
+
};
|
|
24895
|
+
};
|
|
24683
24896
|
const styles = "";
|
|
24684
24897
|
const Dovetail = (props) => {
|
|
24685
24898
|
const {
|
|
@@ -24767,7 +24980,11 @@ const ModelMap = {
|
|
|
24767
24980
|
Event: EventModel,
|
|
24768
24981
|
Ingress: IngressModel,
|
|
24769
24982
|
NetworkPolicy: NetworkPolicyModel,
|
|
24770
|
-
Service: ServiceModel
|
|
24983
|
+
Service: ServiceModel,
|
|
24984
|
+
Node: NodeModel,
|
|
24985
|
+
StorageClass: StorageClassModel,
|
|
24986
|
+
PersistentVolume: PersistentVolumeModel,
|
|
24987
|
+
PersistentVolumeClaim: PersistentVolumeClaimModel
|
|
24771
24988
|
};
|
|
24772
24989
|
class ModelPlugin {
|
|
24773
24990
|
constructor() {
|
|
@@ -24893,171 +25110,192 @@ const relationPlugin = new RelationPlugin();
|
|
|
24893
25110
|
const ProviderPlugins = [relationPlugin, modelPlugin];
|
|
24894
25111
|
const dovetailRefineI18n = i18n;
|
|
24895
25112
|
export {
|
|
24896
|
-
|
|
25113
|
+
NamespaceSelectWidget as $,
|
|
24897
25114
|
AgeColumnRenderer as A,
|
|
24898
|
-
|
|
25115
|
+
PVPhaseColumnRenderer as B,
|
|
24899
25116
|
CommonSorter as C,
|
|
24900
25117
|
DurationColumnRenderer as D,
|
|
24901
|
-
|
|
24902
|
-
|
|
24903
|
-
|
|
24904
|
-
|
|
25118
|
+
PVModeColumnRenderer as E,
|
|
25119
|
+
FsTypeColumnRenderer as F,
|
|
25120
|
+
PVAccessModeColumnRenderer as G,
|
|
25121
|
+
ColumnKeys as H,
|
|
24905
25122
|
IngressRulesColumnRenderer as I,
|
|
24906
|
-
|
|
24907
|
-
|
|
24908
|
-
|
|
25123
|
+
addDefaultRenderToColumns as J,
|
|
25124
|
+
useEagleTable as K,
|
|
25125
|
+
useDownloadYAML as L,
|
|
24909
25126
|
ModalStyle as M,
|
|
24910
25127
|
NameColumnRenderer as N,
|
|
24911
|
-
|
|
25128
|
+
useEdit as O,
|
|
24912
25129
|
PlainTextNameColumnRenderer as P,
|
|
24913
|
-
|
|
25130
|
+
useGlobalStore as Q,
|
|
24914
25131
|
ReplicasColumnRenderer as R,
|
|
24915
25132
|
StateDisplayColumnRenderer as S,
|
|
24916
|
-
|
|
24917
|
-
|
|
24918
|
-
|
|
25133
|
+
useOpenForm as T,
|
|
25134
|
+
index as U,
|
|
25135
|
+
Breadcrumb as V,
|
|
24919
25136
|
WorkloadImageColumnRenderer as W,
|
|
24920
|
-
|
|
24921
|
-
|
|
24922
|
-
|
|
24923
|
-
|
|
25137
|
+
NameInputWidget as X,
|
|
25138
|
+
dnsSubDomainRules as Y,
|
|
25139
|
+
rfc1123LabelRules as Z,
|
|
25140
|
+
rfc1035LabelRules as _,
|
|
24924
25141
|
useSchema as a,
|
|
24925
|
-
|
|
24926
|
-
|
|
24927
|
-
|
|
24928
|
-
|
|
24929
|
-
|
|
24930
|
-
|
|
24931
|
-
|
|
24932
|
-
|
|
24933
|
-
|
|
24934
|
-
|
|
24935
|
-
|
|
24936
|
-
|
|
24937
|
-
|
|
24938
|
-
|
|
24939
|
-
|
|
24940
|
-
|
|
24941
|
-
|
|
24942
|
-
|
|
24943
|
-
|
|
24944
|
-
|
|
24945
|
-
|
|
24946
|
-
|
|
24947
|
-
|
|
24948
|
-
|
|
24949
|
-
|
|
24950
|
-
|
|
24951
|
-
|
|
24952
|
-
|
|
24953
|
-
|
|
24954
|
-
|
|
24955
|
-
|
|
24956
|
-
|
|
24957
|
-
|
|
24958
|
-
|
|
24959
|
-
|
|
24960
|
-
|
|
24961
|
-
|
|
24962
|
-
|
|
24963
|
-
|
|
24964
|
-
|
|
24965
|
-
|
|
24966
|
-
|
|
24967
|
-
|
|
24968
|
-
|
|
24969
|
-
|
|
24970
|
-
|
|
24971
|
-
|
|
24972
|
-
|
|
24973
|
-
|
|
24974
|
-
|
|
24975
|
-
|
|
24976
|
-
|
|
24977
|
-
|
|
24978
|
-
|
|
24979
|
-
|
|
24980
|
-
|
|
24981
|
-
|
|
24982
|
-
|
|
24983
|
-
|
|
24984
|
-
|
|
24985
|
-
|
|
24986
|
-
|
|
24987
|
-
|
|
24988
|
-
|
|
25142
|
+
SecretDataGroup as a$,
|
|
25143
|
+
namespaceRules as a0,
|
|
25144
|
+
KeyValueListWidget as a1,
|
|
25145
|
+
MetadataForm as a2,
|
|
25146
|
+
PageShow as a3,
|
|
25147
|
+
Time as a4,
|
|
25148
|
+
ConditionsTable as a5,
|
|
25149
|
+
PodContainersTable as a6,
|
|
25150
|
+
WorkloadDropdown as a7,
|
|
25151
|
+
ReplicasDropdown as a8,
|
|
25152
|
+
CreateButton as a9,
|
|
25153
|
+
SecretDataField as aA,
|
|
25154
|
+
StartTimeField as aB,
|
|
25155
|
+
ServiceTypeField as aC,
|
|
25156
|
+
ClusterIpField as aD,
|
|
25157
|
+
SessionAffinityField as aE,
|
|
25158
|
+
ServicePodsField as aF,
|
|
25159
|
+
IngressRulesTableTabField as aG,
|
|
25160
|
+
EventsTableTabField as aH,
|
|
25161
|
+
NamespaceField as aI,
|
|
25162
|
+
AgeField as aJ,
|
|
25163
|
+
LabelsField as aK,
|
|
25164
|
+
AnnotationsField as aL,
|
|
25165
|
+
ServiceInnerClusterAccessField as aM,
|
|
25166
|
+
ServiceOutClusterAccessField as aN,
|
|
25167
|
+
PodSelectorField as aO,
|
|
25168
|
+
PortsTableField as aP,
|
|
25169
|
+
DurationField as aQ,
|
|
25170
|
+
StorageClassProvisionerField as aR,
|
|
25171
|
+
StorageClassFsTypeField as aS,
|
|
25172
|
+
StorageClassPvField as aT,
|
|
25173
|
+
EventsTab as aU,
|
|
25174
|
+
PodLogTab as aV,
|
|
25175
|
+
BasicGroup as aW,
|
|
25176
|
+
PodsGroup as aX,
|
|
25177
|
+
PodContainersGroup as aY,
|
|
25178
|
+
ServicePodsGroup as aZ,
|
|
25179
|
+
ConditionsGroup as a_,
|
|
25180
|
+
ImageNames as aa,
|
|
25181
|
+
ResourceList as ab,
|
|
25182
|
+
ResourceShow as ac,
|
|
25183
|
+
ResourceForm as ad,
|
|
25184
|
+
ResourceCRUD as ae,
|
|
25185
|
+
WorkloadPodsTable as af,
|
|
25186
|
+
CronJobDropdown as ag,
|
|
25187
|
+
K8sDropdown as ah,
|
|
25188
|
+
ResourceUsageBar as ai,
|
|
25189
|
+
WorkloadReplicasForm as aj,
|
|
25190
|
+
WorkloadReplicas as ak,
|
|
25191
|
+
CronjobJobsTable as al,
|
|
25192
|
+
KeyValue as am,
|
|
25193
|
+
KeyValueAnnotation as an,
|
|
25194
|
+
KeyValueSecret as ao,
|
|
25195
|
+
Separator as ap,
|
|
25196
|
+
YamlEditorComponent as aq,
|
|
25197
|
+
DeleteButton as ar,
|
|
25198
|
+
Layout as as,
|
|
25199
|
+
AreaType as at,
|
|
25200
|
+
ImageField as au,
|
|
25201
|
+
ReplicaField as av,
|
|
25202
|
+
ConditionsField as aw,
|
|
25203
|
+
PodsField as ax,
|
|
25204
|
+
JobsField as ay,
|
|
25205
|
+
DataField as az,
|
|
24989
25206
|
useDeleteModal as b,
|
|
24990
|
-
|
|
24991
|
-
|
|
24992
|
-
|
|
24993
|
-
|
|
24994
|
-
|
|
24995
|
-
|
|
24996
|
-
|
|
24997
|
-
|
|
24998
|
-
|
|
24999
|
-
|
|
25000
|
-
|
|
25001
|
-
|
|
25002
|
-
|
|
25003
|
-
|
|
25004
|
-
|
|
25005
|
-
|
|
25006
|
-
|
|
25007
|
-
|
|
25008
|
-
|
|
25009
|
-
|
|
25010
|
-
|
|
25011
|
-
|
|
25012
|
-
|
|
25013
|
-
|
|
25014
|
-
|
|
25015
|
-
|
|
25016
|
-
|
|
25017
|
-
|
|
25018
|
-
|
|
25019
|
-
|
|
25020
|
-
|
|
25021
|
-
|
|
25022
|
-
|
|
25023
|
-
|
|
25024
|
-
|
|
25025
|
-
|
|
25026
|
-
|
|
25027
|
-
|
|
25028
|
-
|
|
25029
|
-
|
|
25030
|
-
|
|
25031
|
-
|
|
25032
|
-
|
|
25033
|
-
|
|
25034
|
-
|
|
25035
|
-
|
|
25036
|
-
|
|
25037
|
-
|
|
25038
|
-
|
|
25039
|
-
|
|
25040
|
-
|
|
25041
|
-
|
|
25042
|
-
|
|
25043
|
-
|
|
25044
|
-
|
|
25045
|
-
|
|
25046
|
-
|
|
25047
|
-
|
|
25048
|
-
|
|
25049
|
-
|
|
25050
|
-
|
|
25051
|
-
|
|
25052
|
-
|
|
25053
|
-
|
|
25207
|
+
AccessControlAuth as b$,
|
|
25208
|
+
JobsGroup as b0,
|
|
25209
|
+
IngressRulesGroup as b1,
|
|
25210
|
+
PodSelectorGroup as b2,
|
|
25211
|
+
PortsGroup as b3,
|
|
25212
|
+
DataGroup as b4,
|
|
25213
|
+
NetworkPolicyIngressRulesGroup as b5,
|
|
25214
|
+
NetworkPolicyEgressRulesGroup as b6,
|
|
25215
|
+
StorageClassPvGroup as b7,
|
|
25216
|
+
ShowGroupComponent as b8,
|
|
25217
|
+
ShowContent as b9,
|
|
25218
|
+
ResourceSelect as bA,
|
|
25219
|
+
BASE_INIT_VALUE as bB,
|
|
25220
|
+
DEPLOYMENT_INIT_VALUE as bC,
|
|
25221
|
+
CRONJOB_INIT_VALUE as bD,
|
|
25222
|
+
DAEMONSET_INIT_VALUE as bE,
|
|
25223
|
+
JOB_INIT_VALUE as bF,
|
|
25224
|
+
STATEFULSET_INIT_VALUE as bG,
|
|
25225
|
+
POD_INIT_VALUE as bH,
|
|
25226
|
+
SERVICE_CLUSTER_IP_INIT_VALUE as bI,
|
|
25227
|
+
SERVICE_NODE_PORT_INIT_VALUE as bJ,
|
|
25228
|
+
SERVICE_LOAD_BALANCER_INIT_VALUE as bK,
|
|
25229
|
+
SERVICE_EXTERNAL_NAME_INIT_VALUE as bL,
|
|
25230
|
+
SERVICE_HEADLESS_INIT_VALUE as bM,
|
|
25231
|
+
INGRESS_INIT_VALUE as bN,
|
|
25232
|
+
NETWORK_POLICY_INIT_VALUE as bO,
|
|
25233
|
+
CONFIG_MAP_INIT_VALUE as bP,
|
|
25234
|
+
SERVER_INSTANCE_INIT_VALUE as bQ,
|
|
25235
|
+
TIMESTAMP_LABEL as bR,
|
|
25236
|
+
SECRET_OPAQUE_INIT_VALUE as bS,
|
|
25237
|
+
SECRET_IMAGE_REPO_INIT_VALUE as bT,
|
|
25238
|
+
SECRET_BASIC_AUTH_INIT_VALUE as bU,
|
|
25239
|
+
SECRET_SSH_AUTH_INIT_VALUE as bV,
|
|
25240
|
+
SECRET_TLS_INIT_VALUE as bW,
|
|
25241
|
+
SECRET_CUSTOM_INIT_VALUE as bX,
|
|
25242
|
+
NODE_INIT_VALUE as bY,
|
|
25243
|
+
STORAGE_CLASS_INIT_VALUE as bZ,
|
|
25244
|
+
WorkloadState as b_,
|
|
25245
|
+
DeleteManyButton as ba,
|
|
25246
|
+
ListPage as bb,
|
|
25247
|
+
StateTagStyle as bc,
|
|
25248
|
+
StateTag as bd,
|
|
25249
|
+
DrawerShow as be,
|
|
25250
|
+
Menu as bf,
|
|
25251
|
+
EditButton as bg,
|
|
25252
|
+
ReferenceLink as bh,
|
|
25253
|
+
ResourceLink as bi,
|
|
25254
|
+
NS_STORE_KEY as bj,
|
|
25255
|
+
ALL_NS as bk,
|
|
25256
|
+
useNamespacesFilter as bl,
|
|
25257
|
+
NamespacesFilter as bm,
|
|
25258
|
+
FormModal as bn,
|
|
25259
|
+
RefineFormContent as bo,
|
|
25260
|
+
RefineFormPage as bp,
|
|
25261
|
+
SchemaStrategy as bq,
|
|
25262
|
+
YamlForm as br,
|
|
25263
|
+
useRefineForm as bs,
|
|
25264
|
+
ServiceInClusterAccessComponent as bt,
|
|
25265
|
+
ServiceOutClusterAccessComponent as bu,
|
|
25266
|
+
Tags as bv,
|
|
25267
|
+
TextTags as bw,
|
|
25268
|
+
PodLog as bx,
|
|
25269
|
+
NetworkPolicyRulesViewer as by,
|
|
25270
|
+
Tabs as bz,
|
|
25054
25271
|
NameSpaceColumnRenderer as c,
|
|
25055
|
-
|
|
25056
|
-
|
|
25057
|
-
|
|
25058
|
-
|
|
25059
|
-
|
|
25060
|
-
|
|
25272
|
+
Dovetail as c0,
|
|
25273
|
+
RESOURCE_GROUP as c1,
|
|
25274
|
+
FormType as c2,
|
|
25275
|
+
ComponentContext as c3,
|
|
25276
|
+
GlobalStoreContext as c4,
|
|
25277
|
+
ConfigsContext as c5,
|
|
25278
|
+
IngressModel as c6,
|
|
25279
|
+
NetworkPolicyModel as c7,
|
|
25280
|
+
JobModel as c8,
|
|
25281
|
+
WorkloadModel as c9,
|
|
25282
|
+
WorkloadBaseModel as ca,
|
|
25283
|
+
PodModel as cb,
|
|
25284
|
+
PodMetricsModel as cc,
|
|
25285
|
+
ResourceModel as cd,
|
|
25286
|
+
CronJobModel as ce,
|
|
25287
|
+
EventModel as cf,
|
|
25288
|
+
DeploymentModel as cg,
|
|
25289
|
+
DaemonSetModel as ch,
|
|
25290
|
+
StatefulSetModel as ci,
|
|
25291
|
+
ServiceTypeEnum as cj,
|
|
25292
|
+
ServiceModel as ck,
|
|
25293
|
+
NodeRole as cl,
|
|
25294
|
+
NodeModel as cm,
|
|
25295
|
+
StorageClassModel as cn,
|
|
25296
|
+
PersistentVolumeModel as co,
|
|
25297
|
+
PersistentVolumeClaimModel as cp,
|
|
25298
|
+
ProviderPlugins as cq,
|
|
25061
25299
|
dovetailRefineI18n as d,
|
|
25062
25300
|
WorkloadRestartsColumnRenderer as e,
|
|
25063
25301
|
NodeNameColumnRenderer as f,
|
|
@@ -25078,7 +25316,7 @@ export {
|
|
|
25078
25316
|
useNamespaceRefineFilter as u,
|
|
25079
25317
|
DataKeysColumnRenderer as v,
|
|
25080
25318
|
PortMappingColumnRenderer as w,
|
|
25081
|
-
|
|
25082
|
-
|
|
25083
|
-
|
|
25319
|
+
ProvisionerColumnRenderer as x,
|
|
25320
|
+
PVCapacityColumnRenderer as y,
|
|
25321
|
+
PVStorageClassColumnRenderer as z
|
|
25084
25322
|
};
|