@dovetail-v2/refine 0.0.62 → 0.0.63-alpha.1
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-3ed048e6.js} +1 -1
- package/dist/{index-3bdfc94a.js → index-d67edbe3.js} +892 -631
- package/dist/refine.js +179 -158
- package/dist/refine.umd.cjs +735 -474
- package/dist/style.css +3 -3
- 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 +5 -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 +18 -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";
|
|
@@ -1159,7 +1159,7 @@ const path_type$1 = "Path type";
|
|
|
1159
1159
|
const only_support_one_yaml$1 = "Only one YAML configuration is supported at a time.";
|
|
1160
1160
|
const not_support$1 = "Not supported";
|
|
1161
1161
|
const stopped$1 = "Stopped";
|
|
1162
|
-
const any_node_ip
|
|
1162
|
+
const any_node_ip = "Any node IP";
|
|
1163
1163
|
const dovetail$1 = {
|
|
1164
1164
|
copy: copy$1,
|
|
1165
1165
|
reset_arguments: reset_arguments$1,
|
|
@@ -1315,7 +1315,7 @@ const dovetail$1 = {
|
|
|
1315
1315
|
only_support_one_yaml: only_support_one_yaml$1,
|
|
1316
1316
|
not_support: not_support$1,
|
|
1317
1317
|
stopped: stopped$1,
|
|
1318
|
-
any_node_ip
|
|
1318
|
+
any_node_ip
|
|
1319
1319
|
};
|
|
1320
1320
|
const EN = {
|
|
1321
1321
|
dovetail: dovetail$1
|
|
@@ -1472,7 +1472,10 @@ const out_external_name_desc = "ExternalName 展示 <strong>external-ip</strong>
|
|
|
1472
1472
|
const only_support_one_yaml = "一次仅支持输入一个 YAML 配置。";
|
|
1473
1473
|
const not_support = "不支持";
|
|
1474
1474
|
const stopped = "已停止";
|
|
1475
|
-
const
|
|
1475
|
+
const storage_class = "存储类";
|
|
1476
|
+
const persistent_volumn = "持久卷";
|
|
1477
|
+
const provisioner = "制备器";
|
|
1478
|
+
const file_system = "文件系统";
|
|
1476
1479
|
const dovetail = {
|
|
1477
1480
|
copy,
|
|
1478
1481
|
reset_arguments,
|
|
@@ -1629,7 +1632,10 @@ const dovetail = {
|
|
|
1629
1632
|
only_support_one_yaml,
|
|
1630
1633
|
not_support,
|
|
1631
1634
|
stopped,
|
|
1632
|
-
|
|
1635
|
+
storage_class,
|
|
1636
|
+
persistent_volumn,
|
|
1637
|
+
provisioner,
|
|
1638
|
+
file_system
|
|
1633
1639
|
};
|
|
1634
1640
|
const ZH = {
|
|
1635
1641
|
dovetail
|
|
@@ -2782,17 +2788,17 @@ lodash.exports;
|
|
|
2782
2788
|
return func.apply(thisArg, args);
|
|
2783
2789
|
}
|
|
2784
2790
|
function arrayAggregator(array, setter, iteratee, accumulator) {
|
|
2785
|
-
var
|
|
2786
|
-
while (++
|
|
2787
|
-
var value2 = array[
|
|
2791
|
+
var index2 = -1, length = array == null ? 0 : array.length;
|
|
2792
|
+
while (++index2 < length) {
|
|
2793
|
+
var value2 = array[index2];
|
|
2788
2794
|
setter(accumulator, value2, iteratee(value2), array);
|
|
2789
2795
|
}
|
|
2790
2796
|
return accumulator;
|
|
2791
2797
|
}
|
|
2792
2798
|
function arrayEach(array, iteratee) {
|
|
2793
|
-
var
|
|
2794
|
-
while (++
|
|
2795
|
-
if (iteratee(array[
|
|
2799
|
+
var index2 = -1, length = array == null ? 0 : array.length;
|
|
2800
|
+
while (++index2 < length) {
|
|
2801
|
+
if (iteratee(array[index2], index2, array) === false) {
|
|
2796
2802
|
break;
|
|
2797
2803
|
}
|
|
2798
2804
|
}
|
|
@@ -2808,19 +2814,19 @@ lodash.exports;
|
|
|
2808
2814
|
return array;
|
|
2809
2815
|
}
|
|
2810
2816
|
function arrayEvery(array, predicate) {
|
|
2811
|
-
var
|
|
2812
|
-
while (++
|
|
2813
|
-
if (!predicate(array[
|
|
2817
|
+
var index2 = -1, length = array == null ? 0 : array.length;
|
|
2818
|
+
while (++index2 < length) {
|
|
2819
|
+
if (!predicate(array[index2], index2, array)) {
|
|
2814
2820
|
return false;
|
|
2815
2821
|
}
|
|
2816
2822
|
}
|
|
2817
2823
|
return true;
|
|
2818
2824
|
}
|
|
2819
2825
|
function arrayFilter(array, predicate) {
|
|
2820
|
-
var
|
|
2821
|
-
while (++
|
|
2822
|
-
var value2 = array[
|
|
2823
|
-
if (predicate(value2,
|
|
2826
|
+
var index2 = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
|
|
2827
|
+
while (++index2 < length) {
|
|
2828
|
+
var value2 = array[index2];
|
|
2829
|
+
if (predicate(value2, index2, array)) {
|
|
2824
2830
|
result[resIndex++] = value2;
|
|
2825
2831
|
}
|
|
2826
2832
|
}
|
|
@@ -2831,35 +2837,35 @@ lodash.exports;
|
|
|
2831
2837
|
return !!length && baseIndexOf(array, value2, 0) > -1;
|
|
2832
2838
|
}
|
|
2833
2839
|
function arrayIncludesWith(array, value2, comparator) {
|
|
2834
|
-
var
|
|
2835
|
-
while (++
|
|
2836
|
-
if (comparator(value2, array[
|
|
2840
|
+
var index2 = -1, length = array == null ? 0 : array.length;
|
|
2841
|
+
while (++index2 < length) {
|
|
2842
|
+
if (comparator(value2, array[index2])) {
|
|
2837
2843
|
return true;
|
|
2838
2844
|
}
|
|
2839
2845
|
}
|
|
2840
2846
|
return false;
|
|
2841
2847
|
}
|
|
2842
2848
|
function arrayMap2(array, iteratee) {
|
|
2843
|
-
var
|
|
2844
|
-
while (++
|
|
2845
|
-
result[
|
|
2849
|
+
var index2 = -1, length = array == null ? 0 : array.length, result = Array(length);
|
|
2850
|
+
while (++index2 < length) {
|
|
2851
|
+
result[index2] = iteratee(array[index2], index2, array);
|
|
2846
2852
|
}
|
|
2847
2853
|
return result;
|
|
2848
2854
|
}
|
|
2849
2855
|
function arrayPush(array, values) {
|
|
2850
|
-
var
|
|
2851
|
-
while (++
|
|
2852
|
-
array[offset +
|
|
2856
|
+
var index2 = -1, length = values.length, offset = array.length;
|
|
2857
|
+
while (++index2 < length) {
|
|
2858
|
+
array[offset + index2] = values[index2];
|
|
2853
2859
|
}
|
|
2854
2860
|
return array;
|
|
2855
2861
|
}
|
|
2856
2862
|
function arrayReduce(array, iteratee, accumulator, initAccum) {
|
|
2857
|
-
var
|
|
2863
|
+
var index2 = -1, length = array == null ? 0 : array.length;
|
|
2858
2864
|
if (initAccum && length) {
|
|
2859
|
-
accumulator = array[++
|
|
2865
|
+
accumulator = array[++index2];
|
|
2860
2866
|
}
|
|
2861
|
-
while (++
|
|
2862
|
-
accumulator = iteratee(accumulator, array[
|
|
2867
|
+
while (++index2 < length) {
|
|
2868
|
+
accumulator = iteratee(accumulator, array[index2], index2, array);
|
|
2863
2869
|
}
|
|
2864
2870
|
return accumulator;
|
|
2865
2871
|
}
|
|
@@ -2874,9 +2880,9 @@ lodash.exports;
|
|
|
2874
2880
|
return accumulator;
|
|
2875
2881
|
}
|
|
2876
2882
|
function arraySome(array, predicate) {
|
|
2877
|
-
var
|
|
2878
|
-
while (++
|
|
2879
|
-
if (predicate(array[
|
|
2883
|
+
var index2 = -1, length = array == null ? 0 : array.length;
|
|
2884
|
+
while (++index2 < length) {
|
|
2885
|
+
if (predicate(array[index2], index2, array)) {
|
|
2880
2886
|
return true;
|
|
2881
2887
|
}
|
|
2882
2888
|
}
|
|
@@ -2900,10 +2906,10 @@ lodash.exports;
|
|
|
2900
2906
|
return result;
|
|
2901
2907
|
}
|
|
2902
2908
|
function baseFindIndex(array, predicate, fromIndex, fromRight) {
|
|
2903
|
-
var length = array.length,
|
|
2904
|
-
while (fromRight ?
|
|
2905
|
-
if (predicate(array[
|
|
2906
|
-
return
|
|
2909
|
+
var length = array.length, index2 = fromIndex + (fromRight ? 1 : -1);
|
|
2910
|
+
while (fromRight ? index2-- : ++index2 < length) {
|
|
2911
|
+
if (predicate(array[index2], index2, array)) {
|
|
2912
|
+
return index2;
|
|
2907
2913
|
}
|
|
2908
2914
|
}
|
|
2909
2915
|
return -1;
|
|
@@ -2912,10 +2918,10 @@ lodash.exports;
|
|
|
2912
2918
|
return value2 === value2 ? strictIndexOf(array, value2, fromIndex) : baseFindIndex(array, baseIsNaN, fromIndex);
|
|
2913
2919
|
}
|
|
2914
2920
|
function baseIndexOfWith(array, value2, fromIndex, comparator) {
|
|
2915
|
-
var
|
|
2916
|
-
while (++
|
|
2917
|
-
if (comparator(array[
|
|
2918
|
-
return
|
|
2921
|
+
var index2 = fromIndex - 1, length = array.length;
|
|
2922
|
+
while (++index2 < length) {
|
|
2923
|
+
if (comparator(array[index2], value2)) {
|
|
2924
|
+
return index2;
|
|
2919
2925
|
}
|
|
2920
2926
|
}
|
|
2921
2927
|
return -1;
|
|
@@ -2938,8 +2944,8 @@ lodash.exports;
|
|
|
2938
2944
|
};
|
|
2939
2945
|
}
|
|
2940
2946
|
function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
|
|
2941
|
-
eachFunc(collection, function(value2,
|
|
2942
|
-
accumulator = initAccum ? (initAccum = false, value2) : iteratee(accumulator, value2,
|
|
2947
|
+
eachFunc(collection, function(value2, index2, collection2) {
|
|
2948
|
+
accumulator = initAccum ? (initAccum = false, value2) : iteratee(accumulator, value2, index2, collection2);
|
|
2943
2949
|
});
|
|
2944
2950
|
return accumulator;
|
|
2945
2951
|
}
|
|
@@ -2952,9 +2958,9 @@ lodash.exports;
|
|
|
2952
2958
|
return array;
|
|
2953
2959
|
}
|
|
2954
2960
|
function baseSum(array, iteratee) {
|
|
2955
|
-
var result,
|
|
2956
|
-
while (++
|
|
2957
|
-
var current = iteratee(array[
|
|
2961
|
+
var result, index2 = -1, length = array.length;
|
|
2962
|
+
while (++index2 < length) {
|
|
2963
|
+
var current = iteratee(array[index2]);
|
|
2958
2964
|
if (current !== undefined$1) {
|
|
2959
2965
|
result = result === undefined$1 ? current : result + current;
|
|
2960
2966
|
}
|
|
@@ -2962,9 +2968,9 @@ lodash.exports;
|
|
|
2962
2968
|
return result;
|
|
2963
2969
|
}
|
|
2964
2970
|
function baseTimes(n2, iteratee) {
|
|
2965
|
-
var
|
|
2966
|
-
while (++
|
|
2967
|
-
result[
|
|
2971
|
+
var index2 = -1, result = Array(n2);
|
|
2972
|
+
while (++index2 < n2) {
|
|
2973
|
+
result[index2] = iteratee(index2);
|
|
2968
2974
|
}
|
|
2969
2975
|
return result;
|
|
2970
2976
|
}
|
|
@@ -2990,16 +2996,16 @@ lodash.exports;
|
|
|
2990
2996
|
return cache.has(key2);
|
|
2991
2997
|
}
|
|
2992
2998
|
function charsStartIndex(strSymbols, chrSymbols) {
|
|
2993
|
-
var
|
|
2994
|
-
while (++
|
|
2999
|
+
var index2 = -1, length = strSymbols.length;
|
|
3000
|
+
while (++index2 < length && baseIndexOf(chrSymbols, strSymbols[index2], 0) > -1) {
|
|
2995
3001
|
}
|
|
2996
|
-
return
|
|
3002
|
+
return index2;
|
|
2997
3003
|
}
|
|
2998
3004
|
function charsEndIndex(strSymbols, chrSymbols) {
|
|
2999
|
-
var
|
|
3000
|
-
while (
|
|
3005
|
+
var index2 = strSymbols.length;
|
|
3006
|
+
while (index2-- && baseIndexOf(chrSymbols, strSymbols[index2], 0) > -1) {
|
|
3001
3007
|
}
|
|
3002
|
-
return
|
|
3008
|
+
return index2;
|
|
3003
3009
|
}
|
|
3004
3010
|
function countHolders(array, placeholder) {
|
|
3005
3011
|
var length = array.length, result = 0;
|
|
@@ -3032,9 +3038,9 @@ lodash.exports;
|
|
|
3032
3038
|
return result;
|
|
3033
3039
|
}
|
|
3034
3040
|
function mapToArray(map) {
|
|
3035
|
-
var
|
|
3041
|
+
var index2 = -1, result = Array(map.size);
|
|
3036
3042
|
map.forEach(function(value2, key2) {
|
|
3037
|
-
result[++
|
|
3043
|
+
result[++index2] = [key2, value2];
|
|
3038
3044
|
});
|
|
3039
3045
|
return result;
|
|
3040
3046
|
}
|
|
@@ -3044,47 +3050,47 @@ lodash.exports;
|
|
|
3044
3050
|
};
|
|
3045
3051
|
}
|
|
3046
3052
|
function replaceHolders(array, placeholder) {
|
|
3047
|
-
var
|
|
3048
|
-
while (++
|
|
3049
|
-
var value2 = array[
|
|
3053
|
+
var index2 = -1, length = array.length, resIndex = 0, result = [];
|
|
3054
|
+
while (++index2 < length) {
|
|
3055
|
+
var value2 = array[index2];
|
|
3050
3056
|
if (value2 === placeholder || value2 === PLACEHOLDER) {
|
|
3051
|
-
array[
|
|
3052
|
-
result[resIndex++] =
|
|
3057
|
+
array[index2] = PLACEHOLDER;
|
|
3058
|
+
result[resIndex++] = index2;
|
|
3053
3059
|
}
|
|
3054
3060
|
}
|
|
3055
3061
|
return result;
|
|
3056
3062
|
}
|
|
3057
3063
|
function setToArray(set2) {
|
|
3058
|
-
var
|
|
3064
|
+
var index2 = -1, result = Array(set2.size);
|
|
3059
3065
|
set2.forEach(function(value2) {
|
|
3060
|
-
result[++
|
|
3066
|
+
result[++index2] = value2;
|
|
3061
3067
|
});
|
|
3062
3068
|
return result;
|
|
3063
3069
|
}
|
|
3064
3070
|
function setToPairs(set2) {
|
|
3065
|
-
var
|
|
3071
|
+
var index2 = -1, result = Array(set2.size);
|
|
3066
3072
|
set2.forEach(function(value2) {
|
|
3067
|
-
result[++
|
|
3073
|
+
result[++index2] = [value2, value2];
|
|
3068
3074
|
});
|
|
3069
3075
|
return result;
|
|
3070
3076
|
}
|
|
3071
3077
|
function strictIndexOf(array, value2, fromIndex) {
|
|
3072
|
-
var
|
|
3073
|
-
while (++
|
|
3074
|
-
if (array[
|
|
3075
|
-
return
|
|
3078
|
+
var index2 = fromIndex - 1, length = array.length;
|
|
3079
|
+
while (++index2 < length) {
|
|
3080
|
+
if (array[index2] === value2) {
|
|
3081
|
+
return index2;
|
|
3076
3082
|
}
|
|
3077
3083
|
}
|
|
3078
3084
|
return -1;
|
|
3079
3085
|
}
|
|
3080
3086
|
function strictLastIndexOf(array, value2, fromIndex) {
|
|
3081
|
-
var
|
|
3082
|
-
while (
|
|
3083
|
-
if (array[
|
|
3084
|
-
return
|
|
3087
|
+
var index2 = fromIndex + 1;
|
|
3088
|
+
while (index2--) {
|
|
3089
|
+
if (array[index2] === value2) {
|
|
3090
|
+
return index2;
|
|
3085
3091
|
}
|
|
3086
3092
|
}
|
|
3087
|
-
return
|
|
3093
|
+
return index2;
|
|
3088
3094
|
}
|
|
3089
3095
|
function stringSize(string) {
|
|
3090
3096
|
return hasUnicode(string) ? unicodeSize(string) : asciiSize(string);
|
|
@@ -3093,10 +3099,10 @@ lodash.exports;
|
|
|
3093
3099
|
return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string);
|
|
3094
3100
|
}
|
|
3095
3101
|
function trimmedEndIndex(string) {
|
|
3096
|
-
var
|
|
3097
|
-
while (
|
|
3102
|
+
var index2 = string.length;
|
|
3103
|
+
while (index2-- && reWhitespace.test(string.charAt(index2))) {
|
|
3098
3104
|
}
|
|
3099
|
-
return
|
|
3105
|
+
return index2;
|
|
3100
3106
|
}
|
|
3101
3107
|
var unescapeHtmlChar = basePropertyOf(htmlUnescapes);
|
|
3102
3108
|
function unicodeSize(string) {
|
|
@@ -3262,15 +3268,15 @@ lodash.exports;
|
|
|
3262
3268
|
return result2;
|
|
3263
3269
|
}
|
|
3264
3270
|
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,
|
|
3271
|
+
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
3272
|
if (!isArr || !isRight && arrLength == length && takeCount == length) {
|
|
3267
3273
|
return baseWrapperValue(array, this.__actions__);
|
|
3268
3274
|
}
|
|
3269
3275
|
var result2 = [];
|
|
3270
3276
|
outer:
|
|
3271
3277
|
while (length-- && resIndex < takeCount) {
|
|
3272
|
-
|
|
3273
|
-
var iterIndex = -1, value2 = array[
|
|
3278
|
+
index2 += dir;
|
|
3279
|
+
var iterIndex = -1, value2 = array[index2];
|
|
3274
3280
|
while (++iterIndex < iterLength) {
|
|
3275
3281
|
var data2 = iteratees[iterIndex], iteratee2 = data2.iteratee, type2 = data2.type, computed = iteratee2(value2);
|
|
3276
3282
|
if (type2 == LAZY_MAP_FLAG) {
|
|
@@ -3290,10 +3296,10 @@ lodash.exports;
|
|
|
3290
3296
|
LazyWrapper.prototype = baseCreate(baseLodash.prototype);
|
|
3291
3297
|
LazyWrapper.prototype.constructor = LazyWrapper;
|
|
3292
3298
|
function Hash2(entries) {
|
|
3293
|
-
var
|
|
3299
|
+
var index2 = -1, length = entries == null ? 0 : entries.length;
|
|
3294
3300
|
this.clear();
|
|
3295
|
-
while (++
|
|
3296
|
-
var entry = entries[
|
|
3301
|
+
while (++index2 < length) {
|
|
3302
|
+
var entry = entries[index2];
|
|
3297
3303
|
this.set(entry[0], entry[1]);
|
|
3298
3304
|
}
|
|
3299
3305
|
}
|
|
@@ -3330,10 +3336,10 @@ lodash.exports;
|
|
|
3330
3336
|
Hash2.prototype.has = hashHas2;
|
|
3331
3337
|
Hash2.prototype.set = hashSet2;
|
|
3332
3338
|
function ListCache2(entries) {
|
|
3333
|
-
var
|
|
3339
|
+
var index2 = -1, length = entries == null ? 0 : entries.length;
|
|
3334
3340
|
this.clear();
|
|
3335
|
-
while (++
|
|
3336
|
-
var entry = entries[
|
|
3341
|
+
while (++index2 < length) {
|
|
3342
|
+
var entry = entries[index2];
|
|
3337
3343
|
this.set(entry[0], entry[1]);
|
|
3338
3344
|
}
|
|
3339
3345
|
}
|
|
@@ -3342,33 +3348,33 @@ lodash.exports;
|
|
|
3342
3348
|
this.size = 0;
|
|
3343
3349
|
}
|
|
3344
3350
|
function listCacheDelete2(key2) {
|
|
3345
|
-
var data2 = this.__data__,
|
|
3346
|
-
if (
|
|
3351
|
+
var data2 = this.__data__, index2 = assocIndexOf2(data2, key2);
|
|
3352
|
+
if (index2 < 0) {
|
|
3347
3353
|
return false;
|
|
3348
3354
|
}
|
|
3349
3355
|
var lastIndex = data2.length - 1;
|
|
3350
|
-
if (
|
|
3356
|
+
if (index2 == lastIndex) {
|
|
3351
3357
|
data2.pop();
|
|
3352
3358
|
} else {
|
|
3353
|
-
splice2.call(data2,
|
|
3359
|
+
splice2.call(data2, index2, 1);
|
|
3354
3360
|
}
|
|
3355
3361
|
--this.size;
|
|
3356
3362
|
return true;
|
|
3357
3363
|
}
|
|
3358
3364
|
function listCacheGet2(key2) {
|
|
3359
|
-
var data2 = this.__data__,
|
|
3360
|
-
return
|
|
3365
|
+
var data2 = this.__data__, index2 = assocIndexOf2(data2, key2);
|
|
3366
|
+
return index2 < 0 ? undefined$1 : data2[index2][1];
|
|
3361
3367
|
}
|
|
3362
3368
|
function listCacheHas2(key2) {
|
|
3363
3369
|
return assocIndexOf2(this.__data__, key2) > -1;
|
|
3364
3370
|
}
|
|
3365
3371
|
function listCacheSet2(key2, value2) {
|
|
3366
|
-
var data2 = this.__data__,
|
|
3367
|
-
if (
|
|
3372
|
+
var data2 = this.__data__, index2 = assocIndexOf2(data2, key2);
|
|
3373
|
+
if (index2 < 0) {
|
|
3368
3374
|
++this.size;
|
|
3369
3375
|
data2.push([key2, value2]);
|
|
3370
3376
|
} else {
|
|
3371
|
-
data2[
|
|
3377
|
+
data2[index2][1] = value2;
|
|
3372
3378
|
}
|
|
3373
3379
|
return this;
|
|
3374
3380
|
}
|
|
@@ -3378,10 +3384,10 @@ lodash.exports;
|
|
|
3378
3384
|
ListCache2.prototype.has = listCacheHas2;
|
|
3379
3385
|
ListCache2.prototype.set = listCacheSet2;
|
|
3380
3386
|
function MapCache2(entries) {
|
|
3381
|
-
var
|
|
3387
|
+
var index2 = -1, length = entries == null ? 0 : entries.length;
|
|
3382
3388
|
this.clear();
|
|
3383
|
-
while (++
|
|
3384
|
-
var entry = entries[
|
|
3389
|
+
while (++index2 < length) {
|
|
3390
|
+
var entry = entries[index2];
|
|
3385
3391
|
this.set(entry[0], entry[1]);
|
|
3386
3392
|
}
|
|
3387
3393
|
}
|
|
@@ -3416,10 +3422,10 @@ lodash.exports;
|
|
|
3416
3422
|
MapCache2.prototype.has = mapCacheHas2;
|
|
3417
3423
|
MapCache2.prototype.set = mapCacheSet2;
|
|
3418
3424
|
function SetCache(values2) {
|
|
3419
|
-
var
|
|
3425
|
+
var index2 = -1, length = values2 == null ? 0 : values2.length;
|
|
3420
3426
|
this.__data__ = new MapCache2();
|
|
3421
|
-
while (++
|
|
3422
|
-
this.add(values2[
|
|
3427
|
+
while (++index2 < length) {
|
|
3428
|
+
this.add(values2[index2]);
|
|
3423
3429
|
}
|
|
3424
3430
|
}
|
|
3425
3431
|
function setCacheAdd(value2) {
|
|
@@ -3538,9 +3544,9 @@ lodash.exports;
|
|
|
3538
3544
|
}
|
|
3539
3545
|
}
|
|
3540
3546
|
function baseAt(object2, paths) {
|
|
3541
|
-
var
|
|
3542
|
-
while (++
|
|
3543
|
-
result2[
|
|
3547
|
+
var index2 = -1, length = paths.length, result2 = Array2(length), skip = object2 == null;
|
|
3548
|
+
while (++index2 < length) {
|
|
3549
|
+
result2[index2] = skip ? undefined$1 : get2(object2, paths[index2]);
|
|
3544
3550
|
}
|
|
3545
3551
|
return result2;
|
|
3546
3552
|
}
|
|
@@ -3644,7 +3650,7 @@ lodash.exports;
|
|
|
3644
3650
|
}, wait);
|
|
3645
3651
|
}
|
|
3646
3652
|
function baseDifference(array, values2, iteratee2, comparator) {
|
|
3647
|
-
var
|
|
3653
|
+
var index2 = -1, includes2 = arrayIncludes, isCommon = true, length = array.length, result2 = [], valuesLength = values2.length;
|
|
3648
3654
|
if (!length) {
|
|
3649
3655
|
return result2;
|
|
3650
3656
|
}
|
|
@@ -3660,8 +3666,8 @@ lodash.exports;
|
|
|
3660
3666
|
values2 = new SetCache(values2);
|
|
3661
3667
|
}
|
|
3662
3668
|
outer:
|
|
3663
|
-
while (++
|
|
3664
|
-
var value2 = array[
|
|
3669
|
+
while (++index2 < length) {
|
|
3670
|
+
var value2 = array[index2], computed = iteratee2 == null ? value2 : iteratee2(value2);
|
|
3665
3671
|
value2 = comparator || value2 !== 0 ? value2 : 0;
|
|
3666
3672
|
if (isCommon && computed === computed) {
|
|
3667
3673
|
var valuesIndex = valuesLength;
|
|
@@ -3681,16 +3687,16 @@ lodash.exports;
|
|
|
3681
3687
|
var baseEachRight = createBaseEach(baseForOwnRight, true);
|
|
3682
3688
|
function baseEvery(collection, predicate) {
|
|
3683
3689
|
var result2 = true;
|
|
3684
|
-
baseEach(collection, function(value2,
|
|
3685
|
-
result2 = !!predicate(value2,
|
|
3690
|
+
baseEach(collection, function(value2, index2, collection2) {
|
|
3691
|
+
result2 = !!predicate(value2, index2, collection2);
|
|
3686
3692
|
return result2;
|
|
3687
3693
|
});
|
|
3688
3694
|
return result2;
|
|
3689
3695
|
}
|
|
3690
3696
|
function baseExtremum(array, iteratee2, comparator) {
|
|
3691
|
-
var
|
|
3692
|
-
while (++
|
|
3693
|
-
var value2 = array[
|
|
3697
|
+
var index2 = -1, length = array.length;
|
|
3698
|
+
while (++index2 < length) {
|
|
3699
|
+
var value2 = array[index2], current = iteratee2(value2);
|
|
3694
3700
|
if (current != null && (computed === undefined$1 ? current === current && !isSymbol2(current) : comparator(current, computed))) {
|
|
3695
3701
|
var computed = current, result2 = value2;
|
|
3696
3702
|
}
|
|
@@ -3715,19 +3721,19 @@ lodash.exports;
|
|
|
3715
3721
|
}
|
|
3716
3722
|
function baseFilter(collection, predicate) {
|
|
3717
3723
|
var result2 = [];
|
|
3718
|
-
baseEach(collection, function(value2,
|
|
3719
|
-
if (predicate(value2,
|
|
3724
|
+
baseEach(collection, function(value2, index2, collection2) {
|
|
3725
|
+
if (predicate(value2, index2, collection2)) {
|
|
3720
3726
|
result2.push(value2);
|
|
3721
3727
|
}
|
|
3722
3728
|
});
|
|
3723
3729
|
return result2;
|
|
3724
3730
|
}
|
|
3725
3731
|
function baseFlatten(array, depth, predicate, isStrict, result2) {
|
|
3726
|
-
var
|
|
3732
|
+
var index2 = -1, length = array.length;
|
|
3727
3733
|
predicate || (predicate = isFlattenable);
|
|
3728
3734
|
result2 || (result2 = []);
|
|
3729
|
-
while (++
|
|
3730
|
-
var value2 = array[
|
|
3735
|
+
while (++index2 < length) {
|
|
3736
|
+
var value2 = array[index2];
|
|
3731
3737
|
if (depth > 0 && predicate(value2)) {
|
|
3732
3738
|
if (depth > 1) {
|
|
3733
3739
|
baseFlatten(value2, depth - 1, predicate, isStrict, result2);
|
|
@@ -3755,11 +3761,11 @@ lodash.exports;
|
|
|
3755
3761
|
}
|
|
3756
3762
|
function baseGet2(object2, path2) {
|
|
3757
3763
|
path2 = castPath2(path2, object2);
|
|
3758
|
-
var
|
|
3759
|
-
while (object2 != null &&
|
|
3760
|
-
object2 = object2[toKey2(path2[
|
|
3764
|
+
var index2 = 0, length = path2.length;
|
|
3765
|
+
while (object2 != null && index2 < length) {
|
|
3766
|
+
object2 = object2[toKey2(path2[index2++])];
|
|
3761
3767
|
}
|
|
3762
|
-
return
|
|
3768
|
+
return index2 && index2 == length ? object2 : undefined$1;
|
|
3763
3769
|
}
|
|
3764
3770
|
function baseGetAllKeys(object2, keysFunc, symbolsFunc) {
|
|
3765
3771
|
var result2 = keysFunc(object2);
|
|
@@ -3794,10 +3800,10 @@ lodash.exports;
|
|
|
3794
3800
|
caches[othIndex] = !comparator && (iteratee2 || length >= 120 && array.length >= 120) ? new SetCache(othIndex && array) : undefined$1;
|
|
3795
3801
|
}
|
|
3796
3802
|
array = arrays[0];
|
|
3797
|
-
var
|
|
3803
|
+
var index2 = -1, seen = caches[0];
|
|
3798
3804
|
outer:
|
|
3799
|
-
while (++
|
|
3800
|
-
var value2 = array[
|
|
3805
|
+
while (++index2 < length && result2.length < maxLength) {
|
|
3806
|
+
var value2 = array[index2], computed = iteratee2 ? iteratee2(value2) : value2;
|
|
3801
3807
|
value2 = comparator || value2 !== 0 ? value2 : 0;
|
|
3802
3808
|
if (!(seen ? cacheHas(seen, computed) : includes2(result2, computed, comparator))) {
|
|
3803
3809
|
othIndex = othLength;
|
|
@@ -3879,19 +3885,19 @@ lodash.exports;
|
|
|
3879
3885
|
return isObjectLike2(value2) && getTag(value2) == mapTag;
|
|
3880
3886
|
}
|
|
3881
3887
|
function baseIsMatch(object2, source, matchData, customizer) {
|
|
3882
|
-
var
|
|
3888
|
+
var index2 = matchData.length, length = index2, noCustomizer = !customizer;
|
|
3883
3889
|
if (object2 == null) {
|
|
3884
3890
|
return !length;
|
|
3885
3891
|
}
|
|
3886
3892
|
object2 = Object2(object2);
|
|
3887
|
-
while (
|
|
3888
|
-
var data2 = matchData[
|
|
3893
|
+
while (index2--) {
|
|
3894
|
+
var data2 = matchData[index2];
|
|
3889
3895
|
if (noCustomizer && data2[2] ? data2[1] !== object2[data2[0]] : !(data2[0] in object2)) {
|
|
3890
3896
|
return false;
|
|
3891
3897
|
}
|
|
3892
3898
|
}
|
|
3893
|
-
while (++
|
|
3894
|
-
data2 = matchData[
|
|
3899
|
+
while (++index2 < length) {
|
|
3900
|
+
data2 = matchData[index2];
|
|
3895
3901
|
var key2 = data2[0], objValue = object2[key2], srcValue = data2[1];
|
|
3896
3902
|
if (noCustomizer && data2[2]) {
|
|
3897
3903
|
if (objValue === undefined$1 && !(key2 in object2)) {
|
|
@@ -3965,9 +3971,9 @@ lodash.exports;
|
|
|
3965
3971
|
return value2 < other;
|
|
3966
3972
|
}
|
|
3967
3973
|
function baseMap(collection, iteratee2) {
|
|
3968
|
-
var
|
|
3974
|
+
var index2 = -1, result2 = isArrayLike(collection) ? Array2(collection.length) : [];
|
|
3969
3975
|
baseEach(collection, function(value2, key2, collection2) {
|
|
3970
|
-
result2[++
|
|
3976
|
+
result2[++index2] = iteratee2(value2, key2, collection2);
|
|
3971
3977
|
});
|
|
3972
3978
|
return result2;
|
|
3973
3979
|
}
|
|
@@ -4070,13 +4076,13 @@ lodash.exports;
|
|
|
4070
4076
|
} else {
|
|
4071
4077
|
iteratees = [identity];
|
|
4072
4078
|
}
|
|
4073
|
-
var
|
|
4079
|
+
var index2 = -1;
|
|
4074
4080
|
iteratees = arrayMap2(iteratees, baseUnary(getIteratee()));
|
|
4075
4081
|
var result2 = baseMap(collection, function(value2, key2, collection2) {
|
|
4076
4082
|
var criteria = arrayMap2(iteratees, function(iteratee2) {
|
|
4077
4083
|
return iteratee2(value2);
|
|
4078
4084
|
});
|
|
4079
|
-
return { "criteria": criteria, "index": ++
|
|
4085
|
+
return { "criteria": criteria, "index": ++index2, "value": value2 };
|
|
4080
4086
|
});
|
|
4081
4087
|
return baseSortBy(result2, function(object2, other) {
|
|
4082
4088
|
return compareMultiple(object2, other, orders);
|
|
@@ -4088,9 +4094,9 @@ lodash.exports;
|
|
|
4088
4094
|
});
|
|
4089
4095
|
}
|
|
4090
4096
|
function basePickBy(object2, paths, predicate) {
|
|
4091
|
-
var
|
|
4092
|
-
while (++
|
|
4093
|
-
var path2 = paths[
|
|
4097
|
+
var index2 = -1, length = paths.length, result2 = {};
|
|
4098
|
+
while (++index2 < length) {
|
|
4099
|
+
var path2 = paths[index2], value2 = baseGet2(object2, path2);
|
|
4094
4100
|
if (predicate(value2, path2)) {
|
|
4095
4101
|
baseSet(result2, castPath2(path2, object2), value2);
|
|
4096
4102
|
}
|
|
@@ -4103,15 +4109,15 @@ lodash.exports;
|
|
|
4103
4109
|
};
|
|
4104
4110
|
}
|
|
4105
4111
|
function basePullAll(array, values2, iteratee2, comparator) {
|
|
4106
|
-
var indexOf2 = comparator ? baseIndexOfWith : baseIndexOf,
|
|
4112
|
+
var indexOf2 = comparator ? baseIndexOfWith : baseIndexOf, index2 = -1, length = values2.length, seen = array;
|
|
4107
4113
|
if (array === values2) {
|
|
4108
4114
|
values2 = copyArray(values2);
|
|
4109
4115
|
}
|
|
4110
4116
|
if (iteratee2) {
|
|
4111
4117
|
seen = arrayMap2(array, baseUnary(iteratee2));
|
|
4112
4118
|
}
|
|
4113
|
-
while (++
|
|
4114
|
-
var fromIndex = 0, value2 = values2[
|
|
4119
|
+
while (++index2 < length) {
|
|
4120
|
+
var fromIndex = 0, value2 = values2[index2], computed = iteratee2 ? iteratee2(value2) : value2;
|
|
4115
4121
|
while ((fromIndex = indexOf2(seen, computed, fromIndex, comparator)) > -1) {
|
|
4116
4122
|
if (seen !== array) {
|
|
4117
4123
|
splice2.call(seen, fromIndex, 1);
|
|
@@ -4124,13 +4130,13 @@ lodash.exports;
|
|
|
4124
4130
|
function basePullAt(array, indexes) {
|
|
4125
4131
|
var length = array ? indexes.length : 0, lastIndex = length - 1;
|
|
4126
4132
|
while (length--) {
|
|
4127
|
-
var
|
|
4128
|
-
if (length == lastIndex ||
|
|
4129
|
-
var previous =
|
|
4130
|
-
if (isIndex2(
|
|
4131
|
-
splice2.call(array,
|
|
4133
|
+
var index2 = indexes[length];
|
|
4134
|
+
if (length == lastIndex || index2 !== previous) {
|
|
4135
|
+
var previous = index2;
|
|
4136
|
+
if (isIndex2(index2)) {
|
|
4137
|
+
splice2.call(array, index2, 1);
|
|
4132
4138
|
} else {
|
|
4133
|
-
baseUnset(array,
|
|
4139
|
+
baseUnset(array, index2);
|
|
4134
4140
|
}
|
|
4135
4141
|
}
|
|
4136
4142
|
}
|
|
@@ -4140,9 +4146,9 @@ lodash.exports;
|
|
|
4140
4146
|
return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
|
|
4141
4147
|
}
|
|
4142
4148
|
function baseRange(start, end, step, fromRight) {
|
|
4143
|
-
var
|
|
4149
|
+
var index2 = -1, length = nativeMax(nativeCeil((end - start) / (step || 1)), 0), result2 = Array2(length);
|
|
4144
4150
|
while (length--) {
|
|
4145
|
-
result2[fromRight ? length : ++
|
|
4151
|
+
result2[fromRight ? length : ++index2] = start;
|
|
4146
4152
|
start += step;
|
|
4147
4153
|
}
|
|
4148
4154
|
return result2;
|
|
@@ -4178,17 +4184,17 @@ lodash.exports;
|
|
|
4178
4184
|
return object2;
|
|
4179
4185
|
}
|
|
4180
4186
|
path2 = castPath2(path2, object2);
|
|
4181
|
-
var
|
|
4182
|
-
while (nested != null && ++
|
|
4183
|
-
var key2 = toKey2(path2[
|
|
4187
|
+
var index2 = -1, length = path2.length, lastIndex = length - 1, nested = object2;
|
|
4188
|
+
while (nested != null && ++index2 < length) {
|
|
4189
|
+
var key2 = toKey2(path2[index2]), newValue = value2;
|
|
4184
4190
|
if (key2 === "__proto__" || key2 === "constructor" || key2 === "prototype") {
|
|
4185
4191
|
return object2;
|
|
4186
4192
|
}
|
|
4187
|
-
if (
|
|
4193
|
+
if (index2 != lastIndex) {
|
|
4188
4194
|
var objValue = nested[key2];
|
|
4189
4195
|
newValue = customizer ? customizer(objValue, key2, nested) : undefined$1;
|
|
4190
4196
|
if (newValue === undefined$1) {
|
|
4191
|
-
newValue = isObject2(objValue) ? objValue : isIndex2(path2[
|
|
4197
|
+
newValue = isObject2(objValue) ? objValue : isIndex2(path2[index2 + 1]) ? [] : {};
|
|
4192
4198
|
}
|
|
4193
4199
|
}
|
|
4194
4200
|
assignValue(nested, key2, newValue);
|
|
@@ -4212,7 +4218,7 @@ lodash.exports;
|
|
|
4212
4218
|
return shuffleSelf(values(collection));
|
|
4213
4219
|
}
|
|
4214
4220
|
function baseSlice(array, start, end) {
|
|
4215
|
-
var
|
|
4221
|
+
var index2 = -1, length = array.length;
|
|
4216
4222
|
if (start < 0) {
|
|
4217
4223
|
start = -start > length ? 0 : length + start;
|
|
4218
4224
|
}
|
|
@@ -4223,15 +4229,15 @@ lodash.exports;
|
|
|
4223
4229
|
length = start > end ? 0 : end - start >>> 0;
|
|
4224
4230
|
start >>>= 0;
|
|
4225
4231
|
var result2 = Array2(length);
|
|
4226
|
-
while (++
|
|
4227
|
-
result2[
|
|
4232
|
+
while (++index2 < length) {
|
|
4233
|
+
result2[index2] = array[index2 + start];
|
|
4228
4234
|
}
|
|
4229
4235
|
return result2;
|
|
4230
4236
|
}
|
|
4231
4237
|
function baseSome(collection, predicate) {
|
|
4232
4238
|
var result2;
|
|
4233
|
-
baseEach(collection, function(value2,
|
|
4234
|
-
result2 = predicate(value2,
|
|
4239
|
+
baseEach(collection, function(value2, index2, collection2) {
|
|
4240
|
+
result2 = predicate(value2, index2, collection2);
|
|
4235
4241
|
return !result2;
|
|
4236
4242
|
});
|
|
4237
4243
|
return !!result2;
|
|
@@ -4282,10 +4288,10 @@ lodash.exports;
|
|
|
4282
4288
|
return nativeMin(high, MAX_ARRAY_INDEX);
|
|
4283
4289
|
}
|
|
4284
4290
|
function baseSortedUniq(array, iteratee2) {
|
|
4285
|
-
var
|
|
4286
|
-
while (++
|
|
4287
|
-
var value2 = array[
|
|
4288
|
-
if (!
|
|
4291
|
+
var index2 = -1, length = array.length, resIndex = 0, result2 = [];
|
|
4292
|
+
while (++index2 < length) {
|
|
4293
|
+
var value2 = array[index2], computed = iteratee2 ? iteratee2(value2) : value2;
|
|
4294
|
+
if (!index2 || !eq2(computed, seen)) {
|
|
4289
4295
|
var seen = computed;
|
|
4290
4296
|
result2[resIndex++] = value2 === 0 ? 0 : value2;
|
|
4291
4297
|
}
|
|
@@ -4315,7 +4321,7 @@ lodash.exports;
|
|
|
4315
4321
|
return result2 == "0" && 1 / value2 == -INFINITY2 ? "-0" : result2;
|
|
4316
4322
|
}
|
|
4317
4323
|
function baseUniq(array, iteratee2, comparator) {
|
|
4318
|
-
var
|
|
4324
|
+
var index2 = -1, includes2 = arrayIncludes, length = array.length, isCommon = true, result2 = [], seen = result2;
|
|
4319
4325
|
if (comparator) {
|
|
4320
4326
|
isCommon = false;
|
|
4321
4327
|
includes2 = arrayIncludesWith;
|
|
@@ -4331,8 +4337,8 @@ lodash.exports;
|
|
|
4331
4337
|
seen = iteratee2 ? [] : result2;
|
|
4332
4338
|
}
|
|
4333
4339
|
outer:
|
|
4334
|
-
while (++
|
|
4335
|
-
var value2 = array[
|
|
4340
|
+
while (++index2 < length) {
|
|
4341
|
+
var value2 = array[index2], computed = iteratee2 ? iteratee2(value2) : value2;
|
|
4336
4342
|
value2 = comparator || value2 !== 0 ? value2 : 0;
|
|
4337
4343
|
if (isCommon && computed === computed) {
|
|
4338
4344
|
var seenIndex = seen.length;
|
|
@@ -4363,10 +4369,10 @@ lodash.exports;
|
|
|
4363
4369
|
return baseSet(object2, path2, updater(baseGet2(object2, path2)), customizer);
|
|
4364
4370
|
}
|
|
4365
4371
|
function baseWhile(array, predicate, isDrop, fromRight) {
|
|
4366
|
-
var length = array.length,
|
|
4367
|
-
while ((fromRight ?
|
|
4372
|
+
var length = array.length, index2 = fromRight ? length : -1;
|
|
4373
|
+
while ((fromRight ? index2-- : ++index2 < length) && predicate(array[index2], index2, array)) {
|
|
4368
4374
|
}
|
|
4369
|
-
return isDrop ? baseSlice(array, fromRight ? 0 :
|
|
4375
|
+
return isDrop ? baseSlice(array, fromRight ? 0 : index2, fromRight ? index2 + 1 : length) : baseSlice(array, fromRight ? index2 + 1 : 0, fromRight ? length : index2);
|
|
4370
4376
|
}
|
|
4371
4377
|
function baseWrapperValue(value2, actions) {
|
|
4372
4378
|
var result2 = value2;
|
|
@@ -4382,22 +4388,22 @@ lodash.exports;
|
|
|
4382
4388
|
if (length < 2) {
|
|
4383
4389
|
return length ? baseUniq(arrays[0]) : [];
|
|
4384
4390
|
}
|
|
4385
|
-
var
|
|
4386
|
-
while (++
|
|
4387
|
-
var array = arrays[
|
|
4391
|
+
var index2 = -1, result2 = Array2(length);
|
|
4392
|
+
while (++index2 < length) {
|
|
4393
|
+
var array = arrays[index2], othIndex = -1;
|
|
4388
4394
|
while (++othIndex < length) {
|
|
4389
|
-
if (othIndex !=
|
|
4390
|
-
result2[
|
|
4395
|
+
if (othIndex != index2) {
|
|
4396
|
+
result2[index2] = baseDifference(result2[index2] || array, arrays[othIndex], iteratee2, comparator);
|
|
4391
4397
|
}
|
|
4392
4398
|
}
|
|
4393
4399
|
}
|
|
4394
4400
|
return baseUniq(baseFlatten(result2, 1), iteratee2, comparator);
|
|
4395
4401
|
}
|
|
4396
4402
|
function baseZipObject(props, values2, assignFunc) {
|
|
4397
|
-
var
|
|
4398
|
-
while (++
|
|
4399
|
-
var value2 =
|
|
4400
|
-
assignFunc(result2, props[
|
|
4403
|
+
var index2 = -1, length = props.length, valsLength = values2.length, result2 = {};
|
|
4404
|
+
while (++index2 < length) {
|
|
4405
|
+
var value2 = index2 < valsLength ? values2[index2] : undefined$1;
|
|
4406
|
+
assignFunc(result2, props[index2], value2);
|
|
4401
4407
|
}
|
|
4402
4408
|
return result2;
|
|
4403
4409
|
}
|
|
@@ -4465,14 +4471,14 @@ lodash.exports;
|
|
|
4465
4471
|
return 0;
|
|
4466
4472
|
}
|
|
4467
4473
|
function compareMultiple(object2, other, orders) {
|
|
4468
|
-
var
|
|
4469
|
-
while (++
|
|
4470
|
-
var result2 = compareAscending(objCriteria[
|
|
4474
|
+
var index2 = -1, objCriteria = object2.criteria, othCriteria = other.criteria, length = objCriteria.length, ordersLength = orders.length;
|
|
4475
|
+
while (++index2 < length) {
|
|
4476
|
+
var result2 = compareAscending(objCriteria[index2], othCriteria[index2]);
|
|
4471
4477
|
if (result2) {
|
|
4472
|
-
if (
|
|
4478
|
+
if (index2 >= ordersLength) {
|
|
4473
4479
|
return result2;
|
|
4474
4480
|
}
|
|
4475
|
-
var order = orders[
|
|
4481
|
+
var order = orders[index2];
|
|
4476
4482
|
return result2 * (order == "desc" ? -1 : 1);
|
|
4477
4483
|
}
|
|
4478
4484
|
}
|
|
@@ -4510,19 +4516,19 @@ lodash.exports;
|
|
|
4510
4516
|
return result2;
|
|
4511
4517
|
}
|
|
4512
4518
|
function copyArray(source, array) {
|
|
4513
|
-
var
|
|
4519
|
+
var index2 = -1, length = source.length;
|
|
4514
4520
|
array || (array = Array2(length));
|
|
4515
|
-
while (++
|
|
4516
|
-
array[
|
|
4521
|
+
while (++index2 < length) {
|
|
4522
|
+
array[index2] = source[index2];
|
|
4517
4523
|
}
|
|
4518
4524
|
return array;
|
|
4519
4525
|
}
|
|
4520
4526
|
function copyObject(source, props, object2, customizer) {
|
|
4521
4527
|
var isNew = !object2;
|
|
4522
4528
|
object2 || (object2 = {});
|
|
4523
|
-
var
|
|
4524
|
-
while (++
|
|
4525
|
-
var key2 = props[
|
|
4529
|
+
var index2 = -1, length = props.length;
|
|
4530
|
+
while (++index2 < length) {
|
|
4531
|
+
var key2 = props[index2];
|
|
4526
4532
|
var newValue = customizer ? customizer(object2[key2], source[key2], key2, object2, source) : undefined$1;
|
|
4527
4533
|
if (newValue === undefined$1) {
|
|
4528
4534
|
newValue = source[key2];
|
|
@@ -4549,17 +4555,17 @@ lodash.exports;
|
|
|
4549
4555
|
}
|
|
4550
4556
|
function createAssigner(assigner) {
|
|
4551
4557
|
return baseRest(function(object2, sources) {
|
|
4552
|
-
var
|
|
4558
|
+
var index2 = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : undefined$1, guard = length > 2 ? sources[2] : undefined$1;
|
|
4553
4559
|
customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : undefined$1;
|
|
4554
4560
|
if (guard && isIterateeCall(sources[0], sources[1], guard)) {
|
|
4555
4561
|
customizer = length < 3 ? undefined$1 : customizer;
|
|
4556
4562
|
length = 1;
|
|
4557
4563
|
}
|
|
4558
4564
|
object2 = Object2(object2);
|
|
4559
|
-
while (++
|
|
4560
|
-
var source = sources[
|
|
4565
|
+
while (++index2 < length) {
|
|
4566
|
+
var source = sources[index2];
|
|
4561
4567
|
if (source) {
|
|
4562
|
-
assigner(object2, source,
|
|
4568
|
+
assigner(object2, source, index2, customizer);
|
|
4563
4569
|
}
|
|
4564
4570
|
}
|
|
4565
4571
|
return object2;
|
|
@@ -4573,9 +4579,9 @@ lodash.exports;
|
|
|
4573
4579
|
if (!isArrayLike(collection)) {
|
|
4574
4580
|
return eachFunc(collection, iteratee2);
|
|
4575
4581
|
}
|
|
4576
|
-
var length = collection.length,
|
|
4577
|
-
while (fromRight ?
|
|
4578
|
-
if (iteratee2(iterable[
|
|
4582
|
+
var length = collection.length, index2 = fromRight ? length : -1, iterable = Object2(collection);
|
|
4583
|
+
while (fromRight ? index2-- : ++index2 < length) {
|
|
4584
|
+
if (iteratee2(iterable[index2], index2, iterable) === false) {
|
|
4579
4585
|
break;
|
|
4580
4586
|
}
|
|
4581
4587
|
}
|
|
@@ -4584,9 +4590,9 @@ lodash.exports;
|
|
|
4584
4590
|
}
|
|
4585
4591
|
function createBaseFor(fromRight) {
|
|
4586
4592
|
return function(object2, iteratee2, keysFunc) {
|
|
4587
|
-
var
|
|
4593
|
+
var index2 = -1, iterable = Object2(object2), props = keysFunc(object2), length = props.length;
|
|
4588
4594
|
while (length--) {
|
|
4589
|
-
var key2 = props[fromRight ? length : ++
|
|
4595
|
+
var key2 = props[fromRight ? length : ++index2];
|
|
4590
4596
|
if (iteratee2(iterable[key2], key2, iterable) === false) {
|
|
4591
4597
|
break;
|
|
4592
4598
|
}
|
|
@@ -4644,9 +4650,9 @@ lodash.exports;
|
|
|
4644
4650
|
function createCurry(func, bitmask, arity) {
|
|
4645
4651
|
var Ctor = createCtor(func);
|
|
4646
4652
|
function wrapper() {
|
|
4647
|
-
var length = arguments.length, args = Array2(length),
|
|
4648
|
-
while (
|
|
4649
|
-
args[
|
|
4653
|
+
var length = arguments.length, args = Array2(length), index2 = length, placeholder = getHolder(wrapper);
|
|
4654
|
+
while (index2--) {
|
|
4655
|
+
args[index2] = arguments[index2];
|
|
4650
4656
|
}
|
|
4651
4657
|
var holders = length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder ? [] : replaceHolders(args, placeholder);
|
|
4652
4658
|
length -= holders.length;
|
|
@@ -4679,18 +4685,18 @@ lodash.exports;
|
|
|
4679
4685
|
return iteratee2(iterable[key2], key2, iterable);
|
|
4680
4686
|
};
|
|
4681
4687
|
}
|
|
4682
|
-
var
|
|
4683
|
-
return
|
|
4688
|
+
var index2 = findIndexFunc(collection, predicate, fromIndex);
|
|
4689
|
+
return index2 > -1 ? iterable[iteratee2 ? collection[index2] : index2] : undefined$1;
|
|
4684
4690
|
};
|
|
4685
4691
|
}
|
|
4686
4692
|
function createFlow(fromRight) {
|
|
4687
4693
|
return flatRest(function(funcs) {
|
|
4688
|
-
var length = funcs.length,
|
|
4694
|
+
var length = funcs.length, index2 = length, prereq = LodashWrapper.prototype.thru;
|
|
4689
4695
|
if (fromRight) {
|
|
4690
4696
|
funcs.reverse();
|
|
4691
4697
|
}
|
|
4692
|
-
while (
|
|
4693
|
-
var func = funcs[
|
|
4698
|
+
while (index2--) {
|
|
4699
|
+
var func = funcs[index2];
|
|
4694
4700
|
if (typeof func != "function") {
|
|
4695
4701
|
throw new TypeError2(FUNC_ERROR_TEXT2);
|
|
4696
4702
|
}
|
|
@@ -4698,9 +4704,9 @@ lodash.exports;
|
|
|
4698
4704
|
var wrapper = new LodashWrapper([], true);
|
|
4699
4705
|
}
|
|
4700
4706
|
}
|
|
4701
|
-
|
|
4702
|
-
while (++
|
|
4703
|
-
func = funcs[
|
|
4707
|
+
index2 = wrapper ? index2 : length;
|
|
4708
|
+
while (++index2 < length) {
|
|
4709
|
+
func = funcs[index2];
|
|
4704
4710
|
var funcName = getFuncName(func), data2 = funcName == "wrapper" ? getData(func) : undefined$1;
|
|
4705
4711
|
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
4712
|
wrapper = wrapper[getFuncName(data2[0])].apply(wrapper, data2[3]);
|
|
@@ -4713,9 +4719,9 @@ lodash.exports;
|
|
|
4713
4719
|
if (wrapper && args.length == 1 && isArray2(value2)) {
|
|
4714
4720
|
return wrapper.plant(value2).value();
|
|
4715
4721
|
}
|
|
4716
|
-
var
|
|
4717
|
-
while (++
|
|
4718
|
-
result2 = funcs[
|
|
4722
|
+
var index3 = 0, result2 = length ? funcs[index3].apply(this, args) : value2;
|
|
4723
|
+
while (++index3 < length) {
|
|
4724
|
+
result2 = funcs[index3].call(this, result2);
|
|
4719
4725
|
}
|
|
4720
4726
|
return result2;
|
|
4721
4727
|
};
|
|
@@ -4724,9 +4730,9 @@ lodash.exports;
|
|
|
4724
4730
|
function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary2, arity) {
|
|
4725
4731
|
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
4732
|
function wrapper() {
|
|
4727
|
-
var length = arguments.length, args = Array2(length),
|
|
4728
|
-
while (
|
|
4729
|
-
args[
|
|
4733
|
+
var length = arguments.length, args = Array2(length), index2 = length;
|
|
4734
|
+
while (index2--) {
|
|
4735
|
+
args[index2] = arguments[index2];
|
|
4730
4736
|
}
|
|
4731
4737
|
if (isCurried) {
|
|
4732
4738
|
var placeholder = getHolder(wrapper), holdersCount = countHolders(args, placeholder);
|
|
@@ -4994,13 +5000,13 @@ lodash.exports;
|
|
|
4994
5000
|
if (arrStacked && othStacked) {
|
|
4995
5001
|
return arrStacked == other && othStacked == array;
|
|
4996
5002
|
}
|
|
4997
|
-
var
|
|
5003
|
+
var index2 = -1, result2 = true, seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : undefined$1;
|
|
4998
5004
|
stack.set(array, other);
|
|
4999
5005
|
stack.set(other, array);
|
|
5000
|
-
while (++
|
|
5001
|
-
var arrValue = array[
|
|
5006
|
+
while (++index2 < arrLength) {
|
|
5007
|
+
var arrValue = array[index2], othValue = other[index2];
|
|
5002
5008
|
if (customizer) {
|
|
5003
|
-
var compared = isPartial ? customizer(othValue, arrValue,
|
|
5009
|
+
var compared = isPartial ? customizer(othValue, arrValue, index2, other, array, stack) : customizer(arrValue, othValue, index2, array, other, stack);
|
|
5004
5010
|
}
|
|
5005
5011
|
if (compared !== undefined$1) {
|
|
5006
5012
|
if (compared) {
|
|
@@ -5078,9 +5084,9 @@ lodash.exports;
|
|
|
5078
5084
|
if (objLength != othLength && !isPartial) {
|
|
5079
5085
|
return false;
|
|
5080
5086
|
}
|
|
5081
|
-
var
|
|
5082
|
-
while (
|
|
5083
|
-
var key2 = objProps[
|
|
5087
|
+
var index2 = objLength;
|
|
5088
|
+
while (index2--) {
|
|
5089
|
+
var key2 = objProps[index2];
|
|
5084
5090
|
if (!(isPartial ? key2 in other : hasOwnProperty2.call(other, key2))) {
|
|
5085
5091
|
return false;
|
|
5086
5092
|
}
|
|
@@ -5094,8 +5100,8 @@ lodash.exports;
|
|
|
5094
5100
|
stack.set(object2, other);
|
|
5095
5101
|
stack.set(other, object2);
|
|
5096
5102
|
var skipCtor = isPartial;
|
|
5097
|
-
while (++
|
|
5098
|
-
key2 = objProps[
|
|
5103
|
+
while (++index2 < objLength) {
|
|
5104
|
+
key2 = objProps[index2];
|
|
5099
5105
|
var objValue = object2[key2], othValue = other[key2];
|
|
5100
5106
|
if (customizer) {
|
|
5101
5107
|
var compared = isPartial ? customizer(othValue, objValue, key2, other, object2, stack) : customizer(objValue, othValue, key2, object2, other, stack);
|
|
@@ -5219,9 +5225,9 @@ lodash.exports;
|
|
|
5219
5225
|
};
|
|
5220
5226
|
}
|
|
5221
5227
|
function getView(start, end, transforms) {
|
|
5222
|
-
var
|
|
5223
|
-
while (++
|
|
5224
|
-
var data2 = transforms[
|
|
5228
|
+
var index2 = -1, length = transforms.length;
|
|
5229
|
+
while (++index2 < length) {
|
|
5230
|
+
var data2 = transforms[index2], size2 = data2.size;
|
|
5225
5231
|
switch (data2.type) {
|
|
5226
5232
|
case "drop":
|
|
5227
5233
|
start += size2;
|
|
@@ -5245,15 +5251,15 @@ lodash.exports;
|
|
|
5245
5251
|
}
|
|
5246
5252
|
function hasPath2(object2, path2, hasFunc) {
|
|
5247
5253
|
path2 = castPath2(path2, object2);
|
|
5248
|
-
var
|
|
5249
|
-
while (++
|
|
5250
|
-
var key2 = toKey2(path2[
|
|
5254
|
+
var index2 = -1, length = path2.length, result2 = false;
|
|
5255
|
+
while (++index2 < length) {
|
|
5256
|
+
var key2 = toKey2(path2[index2]);
|
|
5251
5257
|
if (!(result2 = object2 != null && hasFunc(object2, key2))) {
|
|
5252
5258
|
break;
|
|
5253
5259
|
}
|
|
5254
5260
|
object2 = object2[key2];
|
|
5255
5261
|
}
|
|
5256
|
-
if (result2 || ++
|
|
5262
|
+
if (result2 || ++index2 != length) {
|
|
5257
5263
|
return result2;
|
|
5258
5264
|
}
|
|
5259
5265
|
length = object2 == null ? 0 : object2.length;
|
|
@@ -5321,13 +5327,13 @@ lodash.exports;
|
|
|
5321
5327
|
length = length == null ? MAX_SAFE_INTEGER2 : length;
|
|
5322
5328
|
return !!length && (type2 == "number" || type2 != "symbol" && reIsUint2.test(value2)) && (value2 > -1 && value2 % 1 == 0 && value2 < length);
|
|
5323
5329
|
}
|
|
5324
|
-
function isIterateeCall(value2,
|
|
5330
|
+
function isIterateeCall(value2, index2, object2) {
|
|
5325
5331
|
if (!isObject2(object2)) {
|
|
5326
5332
|
return false;
|
|
5327
5333
|
}
|
|
5328
|
-
var type2 = typeof
|
|
5329
|
-
if (type2 == "number" ? isArrayLike(object2) && isIndex2(
|
|
5330
|
-
return eq2(object2[
|
|
5334
|
+
var type2 = typeof index2;
|
|
5335
|
+
if (type2 == "number" ? isArrayLike(object2) && isIndex2(index2, object2.length) : type2 == "string" && index2 in object2) {
|
|
5336
|
+
return eq2(object2[index2], value2);
|
|
5331
5337
|
}
|
|
5332
5338
|
return false;
|
|
5333
5339
|
}
|
|
@@ -5436,14 +5442,14 @@ lodash.exports;
|
|
|
5436
5442
|
function overRest(func, start, transform2) {
|
|
5437
5443
|
start = nativeMax(start === undefined$1 ? func.length - 1 : start, 0);
|
|
5438
5444
|
return function() {
|
|
5439
|
-
var args = arguments,
|
|
5440
|
-
while (++
|
|
5441
|
-
array[
|
|
5445
|
+
var args = arguments, index2 = -1, length = nativeMax(args.length - start, 0), array = Array2(length);
|
|
5446
|
+
while (++index2 < length) {
|
|
5447
|
+
array[index2] = args[start + index2];
|
|
5442
5448
|
}
|
|
5443
|
-
|
|
5449
|
+
index2 = -1;
|
|
5444
5450
|
var otherArgs = Array2(start + 1);
|
|
5445
|
-
while (++
|
|
5446
|
-
otherArgs[
|
|
5451
|
+
while (++index2 < start) {
|
|
5452
|
+
otherArgs[index2] = args[index2];
|
|
5447
5453
|
}
|
|
5448
5454
|
otherArgs[start] = transform2(array);
|
|
5449
5455
|
return apply(func, this, otherArgs);
|
|
@@ -5455,8 +5461,8 @@ lodash.exports;
|
|
|
5455
5461
|
function reorder(array, indexes) {
|
|
5456
5462
|
var arrLength = array.length, length = nativeMin(indexes.length, arrLength), oldArray = copyArray(array);
|
|
5457
5463
|
while (length--) {
|
|
5458
|
-
var
|
|
5459
|
-
array[length] = isIndex2(
|
|
5464
|
+
var index2 = indexes[length];
|
|
5465
|
+
array[length] = isIndex2(index2, arrLength) ? oldArray[index2] : undefined$1;
|
|
5460
5466
|
}
|
|
5461
5467
|
return array;
|
|
5462
5468
|
}
|
|
@@ -5494,12 +5500,12 @@ lodash.exports;
|
|
|
5494
5500
|
};
|
|
5495
5501
|
}
|
|
5496
5502
|
function shuffleSelf(array, size2) {
|
|
5497
|
-
var
|
|
5503
|
+
var index2 = -1, length = array.length, lastIndex = length - 1;
|
|
5498
5504
|
size2 = size2 === undefined$1 ? length : size2;
|
|
5499
|
-
while (++
|
|
5500
|
-
var rand = baseRandom(
|
|
5501
|
-
array[rand] = array[
|
|
5502
|
-
array[
|
|
5505
|
+
while (++index2 < size2) {
|
|
5506
|
+
var rand = baseRandom(index2, lastIndex), value2 = array[rand];
|
|
5507
|
+
array[rand] = array[index2];
|
|
5508
|
+
array[index2] = value2;
|
|
5503
5509
|
}
|
|
5504
5510
|
array.length = size2;
|
|
5505
5511
|
return array;
|
|
@@ -5563,16 +5569,16 @@ lodash.exports;
|
|
|
5563
5569
|
if (!length || size2 < 1) {
|
|
5564
5570
|
return [];
|
|
5565
5571
|
}
|
|
5566
|
-
var
|
|
5567
|
-
while (
|
|
5568
|
-
result2[resIndex++] = baseSlice(array,
|
|
5572
|
+
var index2 = 0, resIndex = 0, result2 = Array2(nativeCeil(length / size2));
|
|
5573
|
+
while (index2 < length) {
|
|
5574
|
+
result2[resIndex++] = baseSlice(array, index2, index2 += size2);
|
|
5569
5575
|
}
|
|
5570
5576
|
return result2;
|
|
5571
5577
|
}
|
|
5572
5578
|
function compact2(array) {
|
|
5573
|
-
var
|
|
5574
|
-
while (++
|
|
5575
|
-
var value2 = array[
|
|
5579
|
+
var index2 = -1, length = array == null ? 0 : array.length, resIndex = 0, result2 = [];
|
|
5580
|
+
while (++index2 < length) {
|
|
5581
|
+
var value2 = array[index2];
|
|
5576
5582
|
if (value2) {
|
|
5577
5583
|
result2[resIndex++] = value2;
|
|
5578
5584
|
}
|
|
@@ -5584,9 +5590,9 @@ lodash.exports;
|
|
|
5584
5590
|
if (!length) {
|
|
5585
5591
|
return [];
|
|
5586
5592
|
}
|
|
5587
|
-
var args = Array2(length - 1), array = arguments[0],
|
|
5588
|
-
while (
|
|
5589
|
-
args[
|
|
5593
|
+
var args = Array2(length - 1), array = arguments[0], index2 = length;
|
|
5594
|
+
while (index2--) {
|
|
5595
|
+
args[index2 - 1] = arguments[index2];
|
|
5590
5596
|
}
|
|
5591
5597
|
return arrayPush(isArray2(array) ? copyArray(array) : [array], baseFlatten(args, 1));
|
|
5592
5598
|
}
|
|
@@ -5646,23 +5652,23 @@ lodash.exports;
|
|
|
5646
5652
|
if (!length) {
|
|
5647
5653
|
return -1;
|
|
5648
5654
|
}
|
|
5649
|
-
var
|
|
5650
|
-
if (
|
|
5651
|
-
|
|
5655
|
+
var index2 = fromIndex == null ? 0 : toInteger(fromIndex);
|
|
5656
|
+
if (index2 < 0) {
|
|
5657
|
+
index2 = nativeMax(length + index2, 0);
|
|
5652
5658
|
}
|
|
5653
|
-
return baseFindIndex(array, getIteratee(predicate, 3),
|
|
5659
|
+
return baseFindIndex(array, getIteratee(predicate, 3), index2);
|
|
5654
5660
|
}
|
|
5655
5661
|
function findLastIndex(array, predicate, fromIndex) {
|
|
5656
5662
|
var length = array == null ? 0 : array.length;
|
|
5657
5663
|
if (!length) {
|
|
5658
5664
|
return -1;
|
|
5659
5665
|
}
|
|
5660
|
-
var
|
|
5666
|
+
var index2 = length - 1;
|
|
5661
5667
|
if (fromIndex !== undefined$1) {
|
|
5662
|
-
|
|
5663
|
-
|
|
5668
|
+
index2 = toInteger(fromIndex);
|
|
5669
|
+
index2 = fromIndex < 0 ? nativeMax(length + index2, 0) : nativeMin(index2, length - 1);
|
|
5664
5670
|
}
|
|
5665
|
-
return baseFindIndex(array, getIteratee(predicate, 3),
|
|
5671
|
+
return baseFindIndex(array, getIteratee(predicate, 3), index2, true);
|
|
5666
5672
|
}
|
|
5667
5673
|
function flatten(array) {
|
|
5668
5674
|
var length = array == null ? 0 : array.length;
|
|
@@ -5681,9 +5687,9 @@ lodash.exports;
|
|
|
5681
5687
|
return baseFlatten(array, depth);
|
|
5682
5688
|
}
|
|
5683
5689
|
function fromPairs(pairs) {
|
|
5684
|
-
var
|
|
5685
|
-
while (++
|
|
5686
|
-
var pair = pairs[
|
|
5690
|
+
var index2 = -1, length = pairs == null ? 0 : pairs.length, result2 = {};
|
|
5691
|
+
while (++index2 < length) {
|
|
5692
|
+
var pair = pairs[index2];
|
|
5687
5693
|
result2[pair[0]] = pair[1];
|
|
5688
5694
|
}
|
|
5689
5695
|
return result2;
|
|
@@ -5696,11 +5702,11 @@ lodash.exports;
|
|
|
5696
5702
|
if (!length) {
|
|
5697
5703
|
return -1;
|
|
5698
5704
|
}
|
|
5699
|
-
var
|
|
5700
|
-
if (
|
|
5701
|
-
|
|
5705
|
+
var index2 = fromIndex == null ? 0 : toInteger(fromIndex);
|
|
5706
|
+
if (index2 < 0) {
|
|
5707
|
+
index2 = nativeMax(length + index2, 0);
|
|
5702
5708
|
}
|
|
5703
|
-
return baseIndexOf(array, value2,
|
|
5709
|
+
return baseIndexOf(array, value2, index2);
|
|
5704
5710
|
}
|
|
5705
5711
|
function initial(array) {
|
|
5706
5712
|
var length = array == null ? 0 : array.length;
|
|
@@ -5739,12 +5745,12 @@ lodash.exports;
|
|
|
5739
5745
|
if (!length) {
|
|
5740
5746
|
return -1;
|
|
5741
5747
|
}
|
|
5742
|
-
var
|
|
5748
|
+
var index2 = length;
|
|
5743
5749
|
if (fromIndex !== undefined$1) {
|
|
5744
|
-
|
|
5745
|
-
|
|
5750
|
+
index2 = toInteger(fromIndex);
|
|
5751
|
+
index2 = index2 < 0 ? nativeMax(length + index2, 0) : nativeMin(index2, length - 1);
|
|
5746
5752
|
}
|
|
5747
|
-
return value2 === value2 ? strictLastIndexOf(array, value2,
|
|
5753
|
+
return value2 === value2 ? strictLastIndexOf(array, value2, index2) : baseFindIndex(array, baseIsNaN, index2, true);
|
|
5748
5754
|
}
|
|
5749
5755
|
function nth(array, n2) {
|
|
5750
5756
|
return array && array.length ? baseNth(array, toInteger(n2)) : undefined$1;
|
|
@@ -5761,8 +5767,8 @@ lodash.exports;
|
|
|
5761
5767
|
}
|
|
5762
5768
|
var pullAt = flatRest(function(array, indexes) {
|
|
5763
5769
|
var length = array == null ? 0 : array.length, result2 = baseAt(array, indexes);
|
|
5764
|
-
basePullAt(array, arrayMap2(indexes, function(
|
|
5765
|
-
return isIndex2(
|
|
5770
|
+
basePullAt(array, arrayMap2(indexes, function(index2) {
|
|
5771
|
+
return isIndex2(index2, length) ? +index2 : index2;
|
|
5766
5772
|
}).sort(compareAscending));
|
|
5767
5773
|
return result2;
|
|
5768
5774
|
});
|
|
@@ -5771,13 +5777,13 @@ lodash.exports;
|
|
|
5771
5777
|
if (!(array && array.length)) {
|
|
5772
5778
|
return result2;
|
|
5773
5779
|
}
|
|
5774
|
-
var
|
|
5780
|
+
var index2 = -1, indexes = [], length = array.length;
|
|
5775
5781
|
predicate = getIteratee(predicate, 3);
|
|
5776
|
-
while (++
|
|
5777
|
-
var value2 = array[
|
|
5778
|
-
if (predicate(value2,
|
|
5782
|
+
while (++index2 < length) {
|
|
5783
|
+
var value2 = array[index2];
|
|
5784
|
+
if (predicate(value2, index2, array)) {
|
|
5779
5785
|
result2.push(value2);
|
|
5780
|
-
indexes.push(
|
|
5786
|
+
indexes.push(index2);
|
|
5781
5787
|
}
|
|
5782
5788
|
}
|
|
5783
5789
|
basePullAt(array, indexes);
|
|
@@ -5809,9 +5815,9 @@ lodash.exports;
|
|
|
5809
5815
|
function sortedIndexOf(array, value2) {
|
|
5810
5816
|
var length = array == null ? 0 : array.length;
|
|
5811
5817
|
if (length) {
|
|
5812
|
-
var
|
|
5813
|
-
if (
|
|
5814
|
-
return
|
|
5818
|
+
var index2 = baseSortedIndex(array, value2);
|
|
5819
|
+
if (index2 < length && eq2(array[index2], value2)) {
|
|
5820
|
+
return index2;
|
|
5815
5821
|
}
|
|
5816
5822
|
}
|
|
5817
5823
|
return -1;
|
|
@@ -5825,9 +5831,9 @@ lodash.exports;
|
|
|
5825
5831
|
function sortedLastIndexOf(array, value2) {
|
|
5826
5832
|
var length = array == null ? 0 : array.length;
|
|
5827
5833
|
if (length) {
|
|
5828
|
-
var
|
|
5829
|
-
if (eq2(array[
|
|
5830
|
-
return
|
|
5834
|
+
var index2 = baseSortedIndex(array, value2, true) - 1;
|
|
5835
|
+
if (eq2(array[index2], value2)) {
|
|
5836
|
+
return index2;
|
|
5831
5837
|
}
|
|
5832
5838
|
}
|
|
5833
5839
|
return -1;
|
|
@@ -5900,8 +5906,8 @@ lodash.exports;
|
|
|
5900
5906
|
return true;
|
|
5901
5907
|
}
|
|
5902
5908
|
});
|
|
5903
|
-
return baseTimes(length, function(
|
|
5904
|
-
return arrayMap2(array, baseProperty(
|
|
5909
|
+
return baseTimes(length, function(index2) {
|
|
5910
|
+
return arrayMap2(array, baseProperty(index2));
|
|
5905
5911
|
});
|
|
5906
5912
|
}
|
|
5907
5913
|
function unzipWith(array, iteratee2) {
|
|
@@ -6086,9 +6092,9 @@ lodash.exports;
|
|
|
6086
6092
|
return isString2(collection) ? fromIndex <= length && collection.indexOf(value2, fromIndex) > -1 : !!length && baseIndexOf(collection, value2, fromIndex) > -1;
|
|
6087
6093
|
}
|
|
6088
6094
|
var invokeMap = baseRest(function(collection, path2, args) {
|
|
6089
|
-
var
|
|
6095
|
+
var index2 = -1, isFunc = typeof path2 == "function", result2 = isArrayLike(collection) ? Array2(collection.length) : [];
|
|
6090
6096
|
baseEach(collection, function(value2) {
|
|
6091
|
-
result2[++
|
|
6097
|
+
result2[++index2] = isFunc ? apply(path2, value2, args) : baseInvoke(value2, path2, args);
|
|
6092
6098
|
});
|
|
6093
6099
|
return result2;
|
|
6094
6100
|
});
|
|
@@ -6374,9 +6380,9 @@ lodash.exports;
|
|
|
6374
6380
|
transforms = transforms.length == 1 && isArray2(transforms[0]) ? arrayMap2(transforms[0], baseUnary(getIteratee())) : arrayMap2(baseFlatten(transforms, 1), baseUnary(getIteratee()));
|
|
6375
6381
|
var funcsLength = transforms.length;
|
|
6376
6382
|
return baseRest(function(args) {
|
|
6377
|
-
var
|
|
6378
|
-
while (++
|
|
6379
|
-
args[
|
|
6383
|
+
var index2 = -1, length = nativeMin(args.length, funcsLength);
|
|
6384
|
+
while (++index2 < length) {
|
|
6385
|
+
args[index2] = transforms[index2].call(this, args[index2]);
|
|
6380
6386
|
}
|
|
6381
6387
|
return apply(func, this, args);
|
|
6382
6388
|
});
|
|
@@ -6691,14 +6697,14 @@ lodash.exports;
|
|
|
6691
6697
|
}
|
|
6692
6698
|
var defaults = baseRest(function(object2, sources) {
|
|
6693
6699
|
object2 = Object2(object2);
|
|
6694
|
-
var
|
|
6700
|
+
var index2 = -1;
|
|
6695
6701
|
var length = sources.length;
|
|
6696
6702
|
var guard = length > 2 ? sources[2] : undefined$1;
|
|
6697
6703
|
if (guard && isIterateeCall(sources[0], sources[1], guard)) {
|
|
6698
6704
|
length = 1;
|
|
6699
6705
|
}
|
|
6700
|
-
while (++
|
|
6701
|
-
var source = sources[
|
|
6706
|
+
while (++index2 < length) {
|
|
6707
|
+
var source = sources[index2];
|
|
6702
6708
|
var props = keysIn(source);
|
|
6703
6709
|
var propsIndex = -1;
|
|
6704
6710
|
var propsLength = props.length;
|
|
@@ -6836,15 +6842,15 @@ lodash.exports;
|
|
|
6836
6842
|
}
|
|
6837
6843
|
function result(object2, path2, defaultValue) {
|
|
6838
6844
|
path2 = castPath2(path2, object2);
|
|
6839
|
-
var
|
|
6845
|
+
var index2 = -1, length = path2.length;
|
|
6840
6846
|
if (!length) {
|
|
6841
6847
|
length = 1;
|
|
6842
6848
|
object2 = undefined$1;
|
|
6843
6849
|
}
|
|
6844
|
-
while (++
|
|
6845
|
-
var value2 = object2 == null ? undefined$1 : object2[toKey2(path2[
|
|
6850
|
+
while (++index2 < length) {
|
|
6851
|
+
var value2 = object2 == null ? undefined$1 : object2[toKey2(path2[index2])];
|
|
6846
6852
|
if (value2 === undefined$1) {
|
|
6847
|
-
|
|
6853
|
+
index2 = length;
|
|
6848
6854
|
value2 = defaultValue;
|
|
6849
6855
|
}
|
|
6850
6856
|
object2 = isFunction2(value2) ? value2.call(object2) : value2;
|
|
@@ -6873,8 +6879,8 @@ lodash.exports;
|
|
|
6873
6879
|
accumulator = {};
|
|
6874
6880
|
}
|
|
6875
6881
|
}
|
|
6876
|
-
(isArrLike ? arrayEach : baseForOwn)(object2, function(value2,
|
|
6877
|
-
return iteratee2(accumulator, value2,
|
|
6882
|
+
(isArrLike ? arrayEach : baseForOwn)(object2, function(value2, index2, object3) {
|
|
6883
|
+
return iteratee2(accumulator, value2, index2, object3);
|
|
6878
6884
|
});
|
|
6879
6885
|
return accumulator;
|
|
6880
6886
|
}
|
|
@@ -6956,9 +6962,9 @@ lodash.exports;
|
|
|
6956
6962
|
}
|
|
6957
6963
|
return baseRandom(lower, upper);
|
|
6958
6964
|
}
|
|
6959
|
-
var camelCase = createCompounder(function(result2, word,
|
|
6965
|
+
var camelCase = createCompounder(function(result2, word, index2) {
|
|
6960
6966
|
word = word.toLowerCase();
|
|
6961
|
-
return result2 + (
|
|
6967
|
+
return result2 + (index2 ? capitalize(word) : word);
|
|
6962
6968
|
});
|
|
6963
6969
|
function capitalize(string) {
|
|
6964
6970
|
return upperFirst(toString2(string).toLowerCase());
|
|
@@ -6984,11 +6990,11 @@ lodash.exports;
|
|
|
6984
6990
|
string = toString2(string);
|
|
6985
6991
|
return string && reHasRegExpChar.test(string) ? string.replace(reRegExpChar2, "\\$&") : string;
|
|
6986
6992
|
}
|
|
6987
|
-
var kebabCase = createCompounder(function(result2, word,
|
|
6988
|
-
return result2 + (
|
|
6993
|
+
var kebabCase = createCompounder(function(result2, word, index2) {
|
|
6994
|
+
return result2 + (index2 ? "-" : "") + word.toLowerCase();
|
|
6989
6995
|
});
|
|
6990
|
-
var lowerCase = createCompounder(function(result2, word,
|
|
6991
|
-
return result2 + (
|
|
6996
|
+
var lowerCase = createCompounder(function(result2, word, index2) {
|
|
6997
|
+
return result2 + (index2 ? " " : "") + word.toLowerCase();
|
|
6992
6998
|
});
|
|
6993
6999
|
var lowerFirst = createCaseFirst("toLowerCase");
|
|
6994
7000
|
function pad(string, length, chars) {
|
|
@@ -7033,8 +7039,8 @@ lodash.exports;
|
|
|
7033
7039
|
var args = arguments, string = toString2(args[0]);
|
|
7034
7040
|
return args.length < 3 ? string : string.replace(args[1], args[2]);
|
|
7035
7041
|
}
|
|
7036
|
-
var snakeCase = createCompounder(function(result2, word,
|
|
7037
|
-
return result2 + (
|
|
7042
|
+
var snakeCase = createCompounder(function(result2, word, index2) {
|
|
7043
|
+
return result2 + (index2 ? "_" : "") + word.toLowerCase();
|
|
7038
7044
|
});
|
|
7039
7045
|
function split(string, separator, limit) {
|
|
7040
7046
|
if (limit && typeof limit != "number" && isIterateeCall(string, separator, limit)) {
|
|
@@ -7053,8 +7059,8 @@ lodash.exports;
|
|
|
7053
7059
|
}
|
|
7054
7060
|
return string.split(separator, limit);
|
|
7055
7061
|
}
|
|
7056
|
-
var startCase = createCompounder(function(result2, word,
|
|
7057
|
-
return result2 + (
|
|
7062
|
+
var startCase = createCompounder(function(result2, word, index2) {
|
|
7063
|
+
return result2 + (index2 ? " " : "") + upperFirst(word);
|
|
7058
7064
|
});
|
|
7059
7065
|
function startsWith(string, target, position) {
|
|
7060
7066
|
string = toString2(string);
|
|
@@ -7070,7 +7076,7 @@ lodash.exports;
|
|
|
7070
7076
|
string = toString2(string);
|
|
7071
7077
|
options = assignInWith({}, options, settings, customDefaultsAssignIn);
|
|
7072
7078
|
var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
|
|
7073
|
-
var isEscaping, isEvaluating,
|
|
7079
|
+
var isEscaping, isEvaluating, index2 = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
|
|
7074
7080
|
var reDelimiters = RegExp2(
|
|
7075
7081
|
(options.escape || reNoMatch).source + "|" + interpolate.source + "|" + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + "|" + (options.evaluate || reNoMatch).source + "|$",
|
|
7076
7082
|
"g"
|
|
@@ -7078,7 +7084,7 @@ lodash.exports;
|
|
|
7078
7084
|
var sourceURL = "//# sourceURL=" + (hasOwnProperty2.call(options, "sourceURL") ? (options.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++templateCounter + "]") + "\n";
|
|
7079
7085
|
string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
|
|
7080
7086
|
interpolateValue || (interpolateValue = esTemplateValue);
|
|
7081
|
-
source += string.slice(
|
|
7087
|
+
source += string.slice(index2, offset).replace(reUnescapedString, escapeStringChar);
|
|
7082
7088
|
if (escapeValue) {
|
|
7083
7089
|
isEscaping = true;
|
|
7084
7090
|
source += "' +\n__e(" + escapeValue + ") +\n'";
|
|
@@ -7090,7 +7096,7 @@ lodash.exports;
|
|
|
7090
7096
|
if (interpolateValue) {
|
|
7091
7097
|
source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";
|
|
7092
7098
|
}
|
|
7093
|
-
|
|
7099
|
+
index2 = offset + match.length;
|
|
7094
7100
|
return match;
|
|
7095
7101
|
});
|
|
7096
7102
|
source += "';\n";
|
|
@@ -7190,9 +7196,9 @@ lodash.exports;
|
|
|
7190
7196
|
result2 = result2.slice(0, newEnd === undefined$1 ? end : newEnd);
|
|
7191
7197
|
}
|
|
7192
7198
|
} else if (string.indexOf(baseToString2(separator), end) != end) {
|
|
7193
|
-
var
|
|
7194
|
-
if (
|
|
7195
|
-
result2 = result2.slice(0,
|
|
7199
|
+
var index2 = result2.lastIndexOf(separator);
|
|
7200
|
+
if (index2 > -1) {
|
|
7201
|
+
result2 = result2.slice(0, index2);
|
|
7196
7202
|
}
|
|
7197
7203
|
}
|
|
7198
7204
|
return result2 + omission;
|
|
@@ -7201,8 +7207,8 @@ lodash.exports;
|
|
|
7201
7207
|
string = toString2(string);
|
|
7202
7208
|
return string && reHasEscapedHtml.test(string) ? string.replace(reEscapedHtml, unescapeHtmlChar) : string;
|
|
7203
7209
|
}
|
|
7204
|
-
var upperCase = createCompounder(function(result2, word,
|
|
7205
|
-
return result2 + (
|
|
7210
|
+
var upperCase = createCompounder(function(result2, word, index2) {
|
|
7211
|
+
return result2 + (index2 ? " " : "") + word.toUpperCase();
|
|
7206
7212
|
});
|
|
7207
7213
|
var upperFirst = createCaseFirst("toUpperCase");
|
|
7208
7214
|
function words(string, pattern, guard) {
|
|
@@ -7236,9 +7242,9 @@ lodash.exports;
|
|
|
7236
7242
|
return [toIteratee(pair[0]), pair[1]];
|
|
7237
7243
|
});
|
|
7238
7244
|
return baseRest(function(args) {
|
|
7239
|
-
var
|
|
7240
|
-
while (++
|
|
7241
|
-
var pair = pairs[
|
|
7245
|
+
var index2 = -1;
|
|
7246
|
+
while (++index2 < length) {
|
|
7247
|
+
var pair = pairs[index2];
|
|
7242
7248
|
if (apply(pair[0], this, args)) {
|
|
7243
7249
|
return apply(pair[1], this, args);
|
|
7244
7250
|
}
|
|
@@ -7354,12 +7360,12 @@ lodash.exports;
|
|
|
7354
7360
|
if (n2 < 1 || n2 > MAX_SAFE_INTEGER2) {
|
|
7355
7361
|
return [];
|
|
7356
7362
|
}
|
|
7357
|
-
var
|
|
7363
|
+
var index2 = MAX_ARRAY_LENGTH, length = nativeMin(n2, MAX_ARRAY_LENGTH);
|
|
7358
7364
|
iteratee2 = getIteratee(iteratee2);
|
|
7359
7365
|
n2 -= MAX_ARRAY_LENGTH;
|
|
7360
7366
|
var result2 = baseTimes(length, iteratee2);
|
|
7361
|
-
while (++
|
|
7362
|
-
iteratee2(
|
|
7367
|
+
while (++index2 < n2) {
|
|
7368
|
+
iteratee2(index2);
|
|
7363
7369
|
}
|
|
7364
7370
|
return result2;
|
|
7365
7371
|
}
|
|
@@ -7731,10 +7737,10 @@ lodash.exports;
|
|
|
7731
7737
|
arrayEach(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(methodName) {
|
|
7732
7738
|
lodash2[methodName].placeholder = lodash2;
|
|
7733
7739
|
});
|
|
7734
|
-
arrayEach(["drop", "take"], function(methodName,
|
|
7740
|
+
arrayEach(["drop", "take"], function(methodName, index2) {
|
|
7735
7741
|
LazyWrapper.prototype[methodName] = function(n2) {
|
|
7736
7742
|
n2 = n2 === undefined$1 ? 1 : nativeMax(toInteger(n2), 0);
|
|
7737
|
-
var result2 = this.__filtered__ && !
|
|
7743
|
+
var result2 = this.__filtered__ && !index2 ? new LazyWrapper(this) : this.clone();
|
|
7738
7744
|
if (result2.__filtered__) {
|
|
7739
7745
|
result2.__takeCount__ = nativeMin(n2, result2.__takeCount__);
|
|
7740
7746
|
} else {
|
|
@@ -7749,8 +7755,8 @@ lodash.exports;
|
|
|
7749
7755
|
return this.reverse()[methodName](n2).reverse();
|
|
7750
7756
|
};
|
|
7751
7757
|
});
|
|
7752
|
-
arrayEach(["filter", "map", "takeWhile"], function(methodName,
|
|
7753
|
-
var type2 =
|
|
7758
|
+
arrayEach(["filter", "map", "takeWhile"], function(methodName, index2) {
|
|
7759
|
+
var type2 = index2 + 1, isFilter = type2 == LAZY_FILTER_FLAG || type2 == LAZY_WHILE_FLAG;
|
|
7754
7760
|
LazyWrapper.prototype[methodName] = function(iteratee2) {
|
|
7755
7761
|
var result2 = this.clone();
|
|
7756
7762
|
result2.__iteratees__.push({
|
|
@@ -7761,14 +7767,14 @@ lodash.exports;
|
|
|
7761
7767
|
return result2;
|
|
7762
7768
|
};
|
|
7763
7769
|
});
|
|
7764
|
-
arrayEach(["head", "last"], function(methodName,
|
|
7765
|
-
var takeName = "take" + (
|
|
7770
|
+
arrayEach(["head", "last"], function(methodName, index2) {
|
|
7771
|
+
var takeName = "take" + (index2 ? "Right" : "");
|
|
7766
7772
|
LazyWrapper.prototype[methodName] = function() {
|
|
7767
7773
|
return this[takeName](1).value()[0];
|
|
7768
7774
|
};
|
|
7769
7775
|
});
|
|
7770
|
-
arrayEach(["initial", "tail"], function(methodName,
|
|
7771
|
-
var dropName = "drop" + (
|
|
7776
|
+
arrayEach(["initial", "tail"], function(methodName, index2) {
|
|
7777
|
+
var dropName = "drop" + (index2 ? "" : "Right");
|
|
7772
7778
|
LazyWrapper.prototype[methodName] = function() {
|
|
7773
7779
|
return this.__filtered__ ? new LazyWrapper(this) : this[dropName](1);
|
|
7774
7780
|
};
|
|
@@ -8236,6 +8242,11 @@ function ValueDisplay(props) {
|
|
|
8236
8242
|
children: value2
|
|
8237
8243
|
});
|
|
8238
8244
|
}
|
|
8245
|
+
const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8246
|
+
__proto__: null,
|
|
8247
|
+
ValueDisplay,
|
|
8248
|
+
default: ValueDisplay
|
|
8249
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
8239
8250
|
function getSecondsDiff(startDate, endDate) {
|
|
8240
8251
|
return Math.round(Math.abs(Date.parse(endDate) - Date.parse(startDate)) / 1e3);
|
|
8241
8252
|
}
|
|
@@ -8434,9 +8445,9 @@ function KeyValueListWidget(props) {
|
|
|
8434
8445
|
[props]
|
|
8435
8446
|
);
|
|
8436
8447
|
const onRemove = useCallback(
|
|
8437
|
-
(
|
|
8448
|
+
(index2) => {
|
|
8438
8449
|
const result = [...items];
|
|
8439
|
-
result.splice(
|
|
8450
|
+
result.splice(index2, 1);
|
|
8440
8451
|
onChange(result);
|
|
8441
8452
|
},
|
|
8442
8453
|
[onChange, items]
|
|
@@ -8445,28 +8456,28 @@ function KeyValueListWidget(props) {
|
|
|
8445
8456
|
onChange([...items, { key: "", value: "" }]);
|
|
8446
8457
|
}, [onChange, items]);
|
|
8447
8458
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
8448
|
-
items.map((item,
|
|
8459
|
+
items.map((item, index2) => {
|
|
8449
8460
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8450
8461
|
KeyValueInput,
|
|
8451
8462
|
{
|
|
8452
8463
|
item,
|
|
8453
8464
|
onChange: (newItem) => {
|
|
8454
8465
|
const temp = [...items];
|
|
8455
|
-
temp.splice(
|
|
8466
|
+
temp.splice(index2, 1, newItem);
|
|
8456
8467
|
onChange(temp);
|
|
8457
8468
|
},
|
|
8458
8469
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8459
8470
|
kit.button,
|
|
8460
8471
|
{
|
|
8461
8472
|
onClick: () => {
|
|
8462
|
-
onRemove(
|
|
8473
|
+
onRemove(index2);
|
|
8463
8474
|
},
|
|
8464
8475
|
danger: true,
|
|
8465
8476
|
children: "Remove"
|
|
8466
8477
|
}
|
|
8467
8478
|
)
|
|
8468
8479
|
},
|
|
8469
|
-
|
|
8480
|
+
index2
|
|
8470
8481
|
);
|
|
8471
8482
|
}),
|
|
8472
8483
|
/* @__PURE__ */ jsxRuntimeExports.jsx(kit.form.Item, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(kit.button, { type: "primary", onClick: onAdd, children: "Add" }) })
|
|
@@ -9551,6 +9562,24 @@ const SECRET_CUSTOM_INIT_VALUE = {
|
|
|
9551
9562
|
"type": "",
|
|
9552
9563
|
"data": {}
|
|
9553
9564
|
};
|
|
9565
|
+
const NODE_INIT_VALUE = {
|
|
9566
|
+
"apiVersion": "v1",
|
|
9567
|
+
"kind": "Node",
|
|
9568
|
+
"metadata": {
|
|
9569
|
+
"name": "example",
|
|
9570
|
+
"namespace": "default"
|
|
9571
|
+
},
|
|
9572
|
+
"spec": {}
|
|
9573
|
+
};
|
|
9574
|
+
const STORAGE_CLASS_INIT_VALUE = {
|
|
9575
|
+
"apiVersion": "storage.k8s.io/v1",
|
|
9576
|
+
"kind": "StorageClass",
|
|
9577
|
+
"metadata": {
|
|
9578
|
+
"name": "example",
|
|
9579
|
+
"namespace": "default"
|
|
9580
|
+
},
|
|
9581
|
+
"spec": {}
|
|
9582
|
+
};
|
|
9554
9583
|
var WorkloadState = /* @__PURE__ */ ((WorkloadState2) => {
|
|
9555
9584
|
WorkloadState2["Terminated"] = "terminated";
|
|
9556
9585
|
WorkloadState2["UPDATING"] = "updating";
|
|
@@ -10036,6 +10065,69 @@ class ServiceModel extends ResourceModel {
|
|
|
10036
10065
|
});
|
|
10037
10066
|
}
|
|
10038
10067
|
}
|
|
10068
|
+
var NodeRole = /* @__PURE__ */ ((NodeRole2) => {
|
|
10069
|
+
NodeRole2["ControlPlane"] = "Control Plane";
|
|
10070
|
+
NodeRole2["Worker"] = "Worker";
|
|
10071
|
+
return NodeRole2;
|
|
10072
|
+
})(NodeRole || {});
|
|
10073
|
+
class NodeModel extends WorkloadBaseModel {
|
|
10074
|
+
constructor(_rawYaml, _globalStore) {
|
|
10075
|
+
super(_rawYaml, _globalStore);
|
|
10076
|
+
this._rawYaml = _rawYaml;
|
|
10077
|
+
this._globalStore = _globalStore;
|
|
10078
|
+
}
|
|
10079
|
+
get role() {
|
|
10080
|
+
return "node-role.kubernetes.io/control-plane" in (this.metadata.labels || {}) ? "Control Plane" : "Worker";
|
|
10081
|
+
}
|
|
10082
|
+
get ip() {
|
|
10083
|
+
var _a, _b;
|
|
10084
|
+
return (_b = (_a = this._rawYaml.status.addresses) == null ? void 0 : _a.find((add) => add.type === "InternalIP")) == null ? void 0 : _b.address;
|
|
10085
|
+
}
|
|
10086
|
+
get nodeGroupName() {
|
|
10087
|
+
var _a;
|
|
10088
|
+
return (_a = this.metadata.labels) == null ? void 0 : _a["cape.infrastructure.cluster.x-k8s.io/node-group"];
|
|
10089
|
+
}
|
|
10090
|
+
get isControlPlane() {
|
|
10091
|
+
var _a;
|
|
10092
|
+
if (!((_a = this == null ? void 0 : this.metadata) == null ? void 0 : _a.labels))
|
|
10093
|
+
return false;
|
|
10094
|
+
return "node-role.kubernetes.io/control-plane" in this.metadata.labels;
|
|
10095
|
+
}
|
|
10096
|
+
}
|
|
10097
|
+
class StorageClassModel extends ResourceModel {
|
|
10098
|
+
constructor(_rawYaml, _globalStore) {
|
|
10099
|
+
super(_rawYaml, _globalStore);
|
|
10100
|
+
__publicField(this, "pvs", []);
|
|
10101
|
+
this._rawYaml = _rawYaml;
|
|
10102
|
+
this._globalStore = _globalStore;
|
|
10103
|
+
}
|
|
10104
|
+
async init() {
|
|
10105
|
+
const pvs = await this._globalStore.get("persistentvolumes", {
|
|
10106
|
+
resourceBasePath: "/api/v1",
|
|
10107
|
+
kind: "PersistentVolume"
|
|
10108
|
+
});
|
|
10109
|
+
this.pvs = pvs.items.filter(
|
|
10110
|
+
(pv) => {
|
|
10111
|
+
var _a;
|
|
10112
|
+
return ((_a = pv.spec) == null ? void 0 : _a.storageClassName) === this.metadata.name;
|
|
10113
|
+
}
|
|
10114
|
+
);
|
|
10115
|
+
}
|
|
10116
|
+
}
|
|
10117
|
+
class PersistentVolumeModel extends ResourceModel {
|
|
10118
|
+
constructor(_rawYaml, _globalStore) {
|
|
10119
|
+
super(_rawYaml, _globalStore);
|
|
10120
|
+
this._rawYaml = _rawYaml;
|
|
10121
|
+
this._globalStore = _globalStore;
|
|
10122
|
+
}
|
|
10123
|
+
}
|
|
10124
|
+
class PersistentVolumeClaimModel extends ResourceModel {
|
|
10125
|
+
constructor(_rawYaml, _globalStore) {
|
|
10126
|
+
super(_rawYaml, _globalStore);
|
|
10127
|
+
this._rawYaml = _rawYaml;
|
|
10128
|
+
this._globalStore = _globalStore;
|
|
10129
|
+
}
|
|
10130
|
+
}
|
|
10039
10131
|
const index_1lzkrja = "";
|
|
10040
10132
|
const ServiceInClusterAccessComponent = ({
|
|
10041
10133
|
service
|
|
@@ -10432,6 +10524,8 @@ var RESOURCE_GROUP = /* @__PURE__ */ ((RESOURCE_GROUP2) => {
|
|
|
10432
10524
|
RESOURCE_GROUP2["CLUSTER"] = "CLUSTER";
|
|
10433
10525
|
RESOURCE_GROUP2["SERVICE"] = "SERVICE";
|
|
10434
10526
|
RESOURCE_GROUP2["SERVICE_AND_NETWORK"] = "SERVICE_AND_NETWORK";
|
|
10527
|
+
RESOURCE_GROUP2["CONFIG"] = "CONFIG";
|
|
10528
|
+
RESOURCE_GROUP2["NODE_MANAGEMENT"] = "NODE_MANAGEMENT";
|
|
10435
10529
|
return RESOURCE_GROUP2;
|
|
10436
10530
|
})(RESOURCE_GROUP || {});
|
|
10437
10531
|
var FormType = /* @__PURE__ */ ((FormType2) => {
|
|
@@ -10921,10 +11015,10 @@ const ImageNames = ({
|
|
|
10921
11015
|
}) => {
|
|
10922
11016
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
|
|
10923
11017
|
className: ImageWrapperStyle,
|
|
10924
|
-
children: breakLine ? value2.map((image2,
|
|
11018
|
+
children: breakLine ? value2.map((image2, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(OverflowTooltip, {
|
|
10925
11019
|
content: image2,
|
|
10926
11020
|
tooltip: image2
|
|
10927
|
-
}, `${image2}-${
|
|
11021
|
+
}, `${image2}-${index2}`)) : value2.join(", ")
|
|
10928
11022
|
});
|
|
10929
11023
|
};
|
|
10930
11024
|
const index_1m8lip = "";
|
|
@@ -10948,7 +11042,7 @@ const index_cbhkdt = "";
|
|
|
10948
11042
|
const LinkStyle = "l1vnw9x0";
|
|
10949
11043
|
const ResourceLink = (props) => {
|
|
10950
11044
|
const {
|
|
10951
|
-
|
|
11045
|
+
resourceName,
|
|
10952
11046
|
namespace: namespace2,
|
|
10953
11047
|
resourceId
|
|
10954
11048
|
} = props;
|
|
@@ -10957,9 +11051,9 @@ const ResourceLink = (props) => {
|
|
|
10957
11051
|
const go = useGo();
|
|
10958
11052
|
const onClick = () => {
|
|
10959
11053
|
go({
|
|
10960
|
-
to: navigation.showUrl(
|
|
11054
|
+
to: navigation.showUrl(resourceName, ""),
|
|
10961
11055
|
query: {
|
|
10962
|
-
id: `${namespace2}/${resourceId}`
|
|
11056
|
+
id: namespace2 ? `${namespace2}/${resourceId}` : resourceId
|
|
10963
11057
|
},
|
|
10964
11058
|
options: {
|
|
10965
11059
|
keepQuery: true
|
|
@@ -11011,7 +11105,7 @@ const IngressRulesTable = ({ ingress }) => {
|
|
|
11011
11105
|
return record.serviceName ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
11012
11106
|
ResourceLink,
|
|
11013
11107
|
{
|
|
11014
|
-
|
|
11108
|
+
resourceName: "services",
|
|
11015
11109
|
namespace: ingress.metadata.namespace || "default",
|
|
11016
11110
|
resourceId: serviceName
|
|
11017
11111
|
}
|
|
@@ -11038,7 +11132,7 @@ const IngressRulesTable = ({ ingress }) => {
|
|
|
11038
11132
|
return secretName ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
11039
11133
|
ResourceLink,
|
|
11040
11134
|
{
|
|
11041
|
-
|
|
11135
|
+
resourceName: "secrets",
|
|
11042
11136
|
namespace: ingress.metadata.namespace || "default",
|
|
11043
11137
|
resourceId: secretName
|
|
11044
11138
|
}
|
|
@@ -11165,7 +11259,7 @@ function Tabs(props) {
|
|
|
11165
11259
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(kit.tabsTabPane, { tab: tab.title, children: tab.children }, tab.title);
|
|
11166
11260
|
}) });
|
|
11167
11261
|
}
|
|
11168
|
-
const
|
|
11262
|
+
const ShowContent_1u0cbxv = "";
|
|
11169
11263
|
const ShowContentWrapperStyle = "s9agep2";
|
|
11170
11264
|
const BackButton = "bo89gfi";
|
|
11171
11265
|
const ToolBarWrapper = "t1ohe42f";
|
|
@@ -11237,6 +11331,8 @@ const ShowContent = (props) => {
|
|
|
11237
11331
|
if (!record)
|
|
11238
11332
|
return null;
|
|
11239
11333
|
return fields.map((field) => {
|
|
11334
|
+
if (field.hidden)
|
|
11335
|
+
return null;
|
|
11240
11336
|
let content;
|
|
11241
11337
|
const value2 = get$3(record, field.path);
|
|
11242
11338
|
if (field.renderContent) {
|
|
@@ -11349,11 +11445,11 @@ const ShowContent = (props) => {
|
|
|
11349
11445
|
} : {};
|
|
11350
11446
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(GroupContainer, {
|
|
11351
11447
|
...groupContainerProps,
|
|
11352
|
-
children: group.areas.map((area,
|
|
11448
|
+
children: group.areas.map((area, index2) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
11353
11449
|
children: [/* @__PURE__ */ jsxRuntimeExports.jsx(FieldContainer, {
|
|
11354
11450
|
...fieldContainerProps,
|
|
11355
11451
|
children: renderFields(area.fields, area.type, !!group.title)
|
|
11356
|
-
},
|
|
11452
|
+
}, index2), index2 !== group.areas.length - 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(kit.divider, {
|
|
11357
11453
|
style: {
|
|
11358
11454
|
margin: "8px 0 12px 0"
|
|
11359
11455
|
}
|
|
@@ -11488,8 +11584,8 @@ function FormErrorAlert(props) {
|
|
|
11488
11584
|
{
|
|
11489
11585
|
message: /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
11490
11586
|
/* @__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
|
-
|
|
11587
|
+
errorMsgs.length > 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: errorMsgs.map((errorMsg, index2) => /* @__PURE__ */ jsxRuntimeExports.jsxs("li", { children: [
|
|
11588
|
+
index2 + 1 + ". ",
|
|
11493
11589
|
" ",
|
|
11494
11590
|
errorMsg
|
|
11495
11591
|
] }, errorMsg)) }) : first(errorMsgs)
|
|
@@ -12073,6 +12169,36 @@ const DurationField = (i18n2) => {
|
|
|
12073
12169
|
}
|
|
12074
12170
|
};
|
|
12075
12171
|
};
|
|
12172
|
+
const StorageClassProvisionerField = (i18n2) => {
|
|
12173
|
+
return {
|
|
12174
|
+
key: "provisioner",
|
|
12175
|
+
path: ["provisioner"],
|
|
12176
|
+
title: i18n2.t("dovetail.provisioner")
|
|
12177
|
+
};
|
|
12178
|
+
};
|
|
12179
|
+
const StorageClassFsTypeField = (i18n2) => {
|
|
12180
|
+
return {
|
|
12181
|
+
key: "fstype",
|
|
12182
|
+
path: ["parameters", "csi.storage.k8s.io/fstype"],
|
|
12183
|
+
title: i18n2.t("dovetail.file_system")
|
|
12184
|
+
};
|
|
12185
|
+
};
|
|
12186
|
+
const StorageClassPvField = () => {
|
|
12187
|
+
return {
|
|
12188
|
+
key: "pvs",
|
|
12189
|
+
path: ["pvs"],
|
|
12190
|
+
renderContent: (pvs) => {
|
|
12191
|
+
return pvs.map((pv) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12192
|
+
ResourceLink,
|
|
12193
|
+
{
|
|
12194
|
+
resourceName: "persistentvolumes",
|
|
12195
|
+
namespace: pv.metadata.namespace || "",
|
|
12196
|
+
resourceId: pv.id
|
|
12197
|
+
}
|
|
12198
|
+
) }, pv.metadata.name));
|
|
12199
|
+
}
|
|
12200
|
+
};
|
|
12201
|
+
};
|
|
12076
12202
|
function __rest(s2, e2) {
|
|
12077
12203
|
var t2 = {};
|
|
12078
12204
|
for (var p in s2)
|
|
@@ -13983,10 +14109,10 @@ function requireReactDomServer_browser_development() {
|
|
|
13983
14109
|
}
|
|
13984
14110
|
var escape;
|
|
13985
14111
|
var html = "";
|
|
13986
|
-
var
|
|
14112
|
+
var index2;
|
|
13987
14113
|
var lastIndex = 0;
|
|
13988
|
-
for (
|
|
13989
|
-
switch (str.charCodeAt(
|
|
14114
|
+
for (index2 = match.index; index2 < str.length; index2++) {
|
|
14115
|
+
switch (str.charCodeAt(index2)) {
|
|
13990
14116
|
case 34:
|
|
13991
14117
|
escape = """;
|
|
13992
14118
|
break;
|
|
@@ -14005,13 +14131,13 @@ function requireReactDomServer_browser_development() {
|
|
|
14005
14131
|
default:
|
|
14006
14132
|
continue;
|
|
14007
14133
|
}
|
|
14008
|
-
if (lastIndex !==
|
|
14009
|
-
html += str.substring(lastIndex,
|
|
14134
|
+
if (lastIndex !== index2) {
|
|
14135
|
+
html += str.substring(lastIndex, index2);
|
|
14010
14136
|
}
|
|
14011
|
-
lastIndex =
|
|
14137
|
+
lastIndex = index2 + 1;
|
|
14012
14138
|
html += escape;
|
|
14013
14139
|
}
|
|
14014
|
-
return lastIndex !==
|
|
14140
|
+
return lastIndex !== index2 ? html + str.substring(lastIndex, index2) : html;
|
|
14015
14141
|
}
|
|
14016
14142
|
function escapeTextForBrowser(text) {
|
|
14017
14143
|
if (typeof text === "boolean" || typeof text === "number") {
|
|
@@ -15874,39 +16000,39 @@ function requireReactDomServer_browser_development() {
|
|
|
15874
16000
|
}
|
|
15875
16001
|
};
|
|
15876
16002
|
_proto.pushProvider = function pushProvider(provider) {
|
|
15877
|
-
var
|
|
16003
|
+
var index2 = ++this.contextIndex;
|
|
15878
16004
|
var context = provider.type._context;
|
|
15879
16005
|
var threadID = this.threadID;
|
|
15880
16006
|
validateContextBounds(context, threadID);
|
|
15881
16007
|
var previousValue = context[threadID];
|
|
15882
|
-
this.contextStack[
|
|
15883
|
-
this.contextValueStack[
|
|
16008
|
+
this.contextStack[index2] = context;
|
|
16009
|
+
this.contextValueStack[index2] = previousValue;
|
|
15884
16010
|
{
|
|
15885
|
-
this.contextProviderStack[
|
|
16011
|
+
this.contextProviderStack[index2] = provider;
|
|
15886
16012
|
}
|
|
15887
16013
|
context[threadID] = provider.props.value;
|
|
15888
16014
|
};
|
|
15889
16015
|
_proto.popProvider = function popProvider(provider) {
|
|
15890
|
-
var
|
|
16016
|
+
var index2 = this.contextIndex;
|
|
15891
16017
|
{
|
|
15892
|
-
if (
|
|
16018
|
+
if (index2 < 0 || provider !== this.contextProviderStack[index2]) {
|
|
15893
16019
|
error("Unexpected pop.");
|
|
15894
16020
|
}
|
|
15895
16021
|
}
|
|
15896
|
-
var context = this.contextStack[
|
|
15897
|
-
var previousValue = this.contextValueStack[
|
|
15898
|
-
this.contextStack[
|
|
15899
|
-
this.contextValueStack[
|
|
16022
|
+
var context = this.contextStack[index2];
|
|
16023
|
+
var previousValue = this.contextValueStack[index2];
|
|
16024
|
+
this.contextStack[index2] = null;
|
|
16025
|
+
this.contextValueStack[index2] = null;
|
|
15900
16026
|
{
|
|
15901
|
-
this.contextProviderStack[
|
|
16027
|
+
this.contextProviderStack[index2] = null;
|
|
15902
16028
|
}
|
|
15903
16029
|
this.contextIndex--;
|
|
15904
16030
|
context[this.threadID] = previousValue;
|
|
15905
16031
|
};
|
|
15906
16032
|
_proto.clearProviders = function clearProviders() {
|
|
15907
|
-
for (var
|
|
15908
|
-
var context = this.contextStack[
|
|
15909
|
-
var previousValue = this.contextValueStack[
|
|
16033
|
+
for (var index2 = this.contextIndex; index2 >= 0; index2--) {
|
|
16034
|
+
var context = this.contextStack[index2];
|
|
16035
|
+
var previousValue = this.contextValueStack[index2];
|
|
15910
16036
|
context[this.threadID] = previousValue;
|
|
15911
16037
|
}
|
|
15912
16038
|
};
|
|
@@ -16525,15 +16651,15 @@ const escapeTextForHtml = (inputString) => inputString.replace(/[&<>"']/gm, (str
|
|
|
16525
16651
|
return "'";
|
|
16526
16652
|
}
|
|
16527
16653
|
});
|
|
16528
|
-
const LogViewerRow = memo(({ index, style, data: data2, ansiUp }) => {
|
|
16654
|
+
const LogViewerRow = memo(({ index: index2, style, data: data2, ansiUp }) => {
|
|
16529
16655
|
const { parsedData, searchedWordIndexes, rowInFocus } = data2;
|
|
16530
16656
|
const context = useContext(LogViewerContext);
|
|
16531
|
-
const getData = (
|
|
16532
|
-
const getRowIndex = (
|
|
16657
|
+
const getData = (index3) => parsedData ? parsedData[index3] : null;
|
|
16658
|
+
const getRowIndex = (index3) => index3 + LOGGER_LINE_NUMBER_INDEX_DELTA;
|
|
16533
16659
|
const handleHighlight = (matchCounter) => {
|
|
16534
|
-
const searchedWordResult = searchedWordIndexes.filter((searchedWord) => searchedWord.rowIndex ===
|
|
16660
|
+
const searchedWordResult = searchedWordIndexes.filter((searchedWord) => searchedWord.rowIndex === index2);
|
|
16535
16661
|
if (searchedWordResult.length !== 0) {
|
|
16536
|
-
if (rowInFocus.rowIndex ===
|
|
16662
|
+
if (rowInFocus.rowIndex === index2 && rowInFocus.matchIndex === matchCounter) {
|
|
16537
16663
|
return styles$1.modifiers.current;
|
|
16538
16664
|
}
|
|
16539
16665
|
return styles$1.modifiers.match;
|
|
@@ -16541,7 +16667,7 @@ const LogViewerRow = memo(({ index, style, data: data2, ansiUp }) => {
|
|
|
16541
16667
|
return "";
|
|
16542
16668
|
};
|
|
16543
16669
|
const getFormattedData = () => {
|
|
16544
|
-
const rowText = getData(
|
|
16670
|
+
const rowText = getData(index2);
|
|
16545
16671
|
let matchCounter = 0;
|
|
16546
16672
|
if (context.searchedInput) {
|
|
16547
16673
|
const splitAnsiString = splitAnsi(rowText);
|
|
@@ -16570,7 +16696,7 @@ const LogViewerRow = memo(({ index, style, data: data2, ansiUp }) => {
|
|
|
16570
16696
|
return React__default.createElement(
|
|
16571
16697
|
"div",
|
|
16572
16698
|
{ style, className: css(styles$1.logViewerListItem) },
|
|
16573
|
-
React__default.createElement("span", { className: css(styles$1.logViewerIndex) }, getRowIndex(
|
|
16699
|
+
React__default.createElement("span", { className: css(styles$1.logViewerIndex) }, getRowIndex(index2)),
|
|
16574
16700
|
React__default.createElement("span", { className: css(styles$1.logViewerText), style: { width: "fit-content" }, dangerouslySetInnerHTML: { __html: ansiUp.ansi_to_html(getFormattedData()) } })
|
|
16575
16701
|
);
|
|
16576
16702
|
});
|
|
@@ -16660,7 +16786,7 @@ function requestTimeout(callback, delay) {
|
|
|
16660
16786
|
return timeoutID;
|
|
16661
16787
|
}
|
|
16662
16788
|
const IS_SCROLLING_DEBOUNCE_INTERVAL = 150;
|
|
16663
|
-
const defaultItemKey = (
|
|
16789
|
+
const defaultItemKey = (index2, _data) => index2;
|
|
16664
16790
|
let devWarningsTagName = null;
|
|
16665
16791
|
if (process.env.NODE_ENV !== "production") {
|
|
16666
16792
|
if (typeof window !== "undefined" && typeof window.WeakSet !== "undefined") {
|
|
@@ -16697,16 +16823,16 @@ function createListComponent({ getItemOffset, getEstimatedTotalSize: getEstimate
|
|
|
16697
16823
|
scrollOffsetToBottom,
|
|
16698
16824
|
scrollUpdateWasRequested
|
|
16699
16825
|
}));
|
|
16700
|
-
this._getItemStyle = (
|
|
16826
|
+
this._getItemStyle = (index2) => {
|
|
16701
16827
|
const { itemSize } = this.props;
|
|
16702
16828
|
const itemStyleCache = this._getItemStyleCache(shouldResetStyleCacheOnItemSizeChange && itemSize);
|
|
16703
16829
|
let style;
|
|
16704
|
-
if (itemStyleCache.hasOwnProperty(
|
|
16705
|
-
style = itemStyleCache[
|
|
16830
|
+
if (itemStyleCache.hasOwnProperty(index2)) {
|
|
16831
|
+
style = itemStyleCache[index2];
|
|
16706
16832
|
} else {
|
|
16707
|
-
const offset = getItemOffset(this.props,
|
|
16708
|
-
const size = getItemSize(this.props,
|
|
16709
|
-
itemStyleCache[
|
|
16833
|
+
const offset = getItemOffset(this.props, index2, this._instanceProps);
|
|
16834
|
+
const size = getItemSize(this.props, index2, this._instanceProps);
|
|
16835
|
+
itemStyleCache[index2] = style = {
|
|
16710
16836
|
position: "absolute",
|
|
16711
16837
|
top: offset,
|
|
16712
16838
|
height: size
|
|
@@ -16772,11 +16898,11 @@ function createListComponent({ getItemOffset, getEstimatedTotalSize: getEstimate
|
|
|
16772
16898
|
};
|
|
16773
16899
|
}, this._resetIsScrollingDebounced);
|
|
16774
16900
|
}
|
|
16775
|
-
scrollToItem(
|
|
16901
|
+
scrollToItem(index2, align = "auto") {
|
|
16776
16902
|
const { itemCount } = this.props;
|
|
16777
16903
|
const { scrollOffset } = this.state;
|
|
16778
|
-
|
|
16779
|
-
this.scrollTo(getOffsetForIndexAndAlignment(this.props,
|
|
16904
|
+
index2 = Math.max(0, Math.min(index2, itemCount - 1));
|
|
16905
|
+
this.scrollTo(getOffsetForIndexAndAlignment(this.props, index2, align, scrollOffset, this._instanceProps));
|
|
16780
16906
|
}
|
|
16781
16907
|
scrollToBottom() {
|
|
16782
16908
|
const outerRef = this._outerRef;
|
|
@@ -16835,13 +16961,13 @@ function createListComponent({ getItemOffset, getEstimatedTotalSize: getEstimate
|
|
|
16835
16961
|
const [startIndex, stopIndex] = this._getRangeToRender();
|
|
16836
16962
|
const items = [];
|
|
16837
16963
|
if (itemCount > 0) {
|
|
16838
|
-
for (let
|
|
16964
|
+
for (let index2 = startIndex; index2 <= stopIndex; index2++) {
|
|
16839
16965
|
items.push(createElement(children, {
|
|
16840
16966
|
data: itemData,
|
|
16841
|
-
key: itemKey(
|
|
16842
|
-
index,
|
|
16967
|
+
key: itemKey(index2, itemData),
|
|
16968
|
+
index: index2,
|
|
16843
16969
|
isScrolling: useIsScrolling ? isScrolling : void 0,
|
|
16844
|
-
style: this._getItemStyle(
|
|
16970
|
+
style: this._getItemStyle(index2),
|
|
16845
16971
|
ansiUp
|
|
16846
16972
|
}));
|
|
16847
16973
|
}
|
|
@@ -16914,16 +17040,16 @@ const validateSharedProps = ({ children, innerTagName, outerTagName }, { instanc
|
|
|
16914
17040
|
}
|
|
16915
17041
|
};
|
|
16916
17042
|
const DEFAULT_ESTIMATED_ITEM_SIZE = 50;
|
|
16917
|
-
const getItemMetadata = (props,
|
|
17043
|
+
const getItemMetadata = (props, index2, instanceProps) => {
|
|
16918
17044
|
const { itemSize } = props;
|
|
16919
17045
|
const { itemMetadataMap, lastMeasuredIndex } = instanceProps;
|
|
16920
|
-
if (
|
|
17046
|
+
if (index2 > lastMeasuredIndex) {
|
|
16921
17047
|
let offset = 0;
|
|
16922
17048
|
if (lastMeasuredIndex >= 0) {
|
|
16923
17049
|
const itemMetadata = itemMetadataMap[lastMeasuredIndex];
|
|
16924
17050
|
offset = itemMetadata.offset + itemMetadata.size;
|
|
16925
17051
|
}
|
|
16926
|
-
for (let i2 = lastMeasuredIndex + 1; i2 <=
|
|
17052
|
+
for (let i2 = lastMeasuredIndex + 1; i2 <= index2; i2++) {
|
|
16927
17053
|
const size = typeof itemSize === "number" ? itemSize : itemSize(i2);
|
|
16928
17054
|
itemMetadataMap[i2] = {
|
|
16929
17055
|
offset,
|
|
@@ -16931,9 +17057,9 @@ const getItemMetadata = (props, index, instanceProps) => {
|
|
|
16931
17057
|
};
|
|
16932
17058
|
offset += size;
|
|
16933
17059
|
}
|
|
16934
|
-
instanceProps.lastMeasuredIndex =
|
|
17060
|
+
instanceProps.lastMeasuredIndex = index2;
|
|
16935
17061
|
}
|
|
16936
|
-
return itemMetadataMap[
|
|
17062
|
+
return itemMetadataMap[index2];
|
|
16937
17063
|
};
|
|
16938
17064
|
const findNearestItem = (props, instanceProps, offset) => {
|
|
16939
17065
|
const { itemMetadataMap, lastMeasuredIndex } = instanceProps;
|
|
@@ -16962,14 +17088,14 @@ const findNearestItemBinarySearch = (props, instanceProps, high, low, offset) =>
|
|
|
16962
17088
|
return 0;
|
|
16963
17089
|
}
|
|
16964
17090
|
};
|
|
16965
|
-
const findNearestItemExponentialSearch = (props, instanceProps,
|
|
17091
|
+
const findNearestItemExponentialSearch = (props, instanceProps, index2, offset) => {
|
|
16966
17092
|
const { itemCount } = props;
|
|
16967
17093
|
let interval = 1;
|
|
16968
|
-
while (
|
|
16969
|
-
|
|
17094
|
+
while (index2 < itemCount && getItemMetadata(props, index2, instanceProps).offset < offset) {
|
|
17095
|
+
index2 += interval;
|
|
16970
17096
|
interval *= 2;
|
|
16971
17097
|
}
|
|
16972
|
-
return findNearestItemBinarySearch(props, instanceProps, Math.min(
|
|
17098
|
+
return findNearestItemBinarySearch(props, instanceProps, Math.min(index2, itemCount - 1), Math.floor(index2 / 2), offset);
|
|
16973
17099
|
};
|
|
16974
17100
|
const getEstimatedTotalSize = ({ itemCount }, { itemMetadataMap, estimatedItemSize, lastMeasuredIndex }) => {
|
|
16975
17101
|
let totalSizeOfMeasuredItems = 0;
|
|
@@ -16985,13 +17111,13 @@ const getEstimatedTotalSize = ({ itemCount }, { itemMetadataMap, estimatedItemSi
|
|
|
16985
17111
|
return totalSizeOfMeasuredItems + totalSizeOfUnmeasuredItems;
|
|
16986
17112
|
};
|
|
16987
17113
|
const VariableSizeList = createListComponent({
|
|
16988
|
-
getItemOffset: (props,
|
|
16989
|
-
getItemSize: (props,
|
|
17114
|
+
getItemOffset: (props, index2, instanceProps) => getItemMetadata(props, index2, instanceProps).offset,
|
|
17115
|
+
getItemSize: (props, index2, instanceProps) => instanceProps.itemMetadataMap[index2].size,
|
|
16990
17116
|
getEstimatedTotalSize,
|
|
16991
|
-
getOffsetForIndexAndAlignment: (props,
|
|
17117
|
+
getOffsetForIndexAndAlignment: (props, index2, align, scrollOffset, instanceProps) => {
|
|
16992
17118
|
const { height } = props;
|
|
16993
17119
|
const size = height;
|
|
16994
|
-
const itemMetadata = getItemMetadata(props,
|
|
17120
|
+
const itemMetadata = getItemMetadata(props, index2, instanceProps);
|
|
16995
17121
|
const estimatedTotalSize = getEstimatedTotalSize(props, instanceProps);
|
|
16996
17122
|
const maxOffset = Math.max(0, Math.min(estimatedTotalSize - size, itemMetadata.offset));
|
|
16997
17123
|
const minOffset = Math.max(0, itemMetadata.offset - size + itemMetadata.size);
|
|
@@ -17041,8 +17167,8 @@ const VariableSizeList = createListComponent({
|
|
|
17041
17167
|
estimatedItemSize: estimatedItemSize || DEFAULT_ESTIMATED_ITEM_SIZE,
|
|
17042
17168
|
lastMeasuredIndex: -1
|
|
17043
17169
|
};
|
|
17044
|
-
instance.resetAfterIndex = (
|
|
17045
|
-
instanceProps.lastMeasuredIndex = Math.min(instanceProps.lastMeasuredIndex,
|
|
17170
|
+
instance.resetAfterIndex = (index2, shouldForceUpdate = true) => {
|
|
17171
|
+
instanceProps.lastMeasuredIndex = Math.min(instanceProps.lastMeasuredIndex, index2 - 1);
|
|
17046
17172
|
instance._getItemStyleCache(-1);
|
|
17047
17173
|
if (shouldForceUpdate) {
|
|
17048
17174
|
instance.forceUpdate();
|
|
@@ -18296,21 +18422,27 @@ const JobsGroup = () => ({
|
|
|
18296
18422
|
});
|
|
18297
18423
|
const IngressRulesGroup = (i18n2) => ({
|
|
18298
18424
|
title: i18n2.t("dovetail.rule"),
|
|
18299
|
-
areas: [
|
|
18300
|
-
|
|
18301
|
-
|
|
18425
|
+
areas: [
|
|
18426
|
+
{
|
|
18427
|
+
fields: [IngressRulesTableTabField()]
|
|
18428
|
+
}
|
|
18429
|
+
]
|
|
18302
18430
|
});
|
|
18303
18431
|
const PodSelectorGroup = (i18n2) => ({
|
|
18304
18432
|
title: i18n2.t("dovetail.pod_selector"),
|
|
18305
|
-
areas: [
|
|
18306
|
-
|
|
18307
|
-
|
|
18433
|
+
areas: [
|
|
18434
|
+
{
|
|
18435
|
+
fields: [PodSelectorField()]
|
|
18436
|
+
}
|
|
18437
|
+
]
|
|
18308
18438
|
});
|
|
18309
18439
|
const PortsGroup = (i18n2) => ({
|
|
18310
18440
|
title: i18n2.t("dovetail.port"),
|
|
18311
|
-
areas: [
|
|
18312
|
-
|
|
18313
|
-
|
|
18441
|
+
areas: [
|
|
18442
|
+
{
|
|
18443
|
+
fields: [PortsTableField()]
|
|
18444
|
+
}
|
|
18445
|
+
]
|
|
18314
18446
|
});
|
|
18315
18447
|
const DataGroup = (i18n2) => ({
|
|
18316
18448
|
title: i18n2.t("dovetail.data"),
|
|
@@ -18364,6 +18496,14 @@ const NetworkPolicyEgressRulesGroup = (i18n2) => ({
|
|
|
18364
18496
|
}
|
|
18365
18497
|
]
|
|
18366
18498
|
});
|
|
18499
|
+
const StorageClassPvGroup = (i18n2) => ({
|
|
18500
|
+
title: i18n2.t("dovetail.persistent_volumn"),
|
|
18501
|
+
areas: [
|
|
18502
|
+
{
|
|
18503
|
+
fields: [StorageClassPvField()]
|
|
18504
|
+
}
|
|
18505
|
+
]
|
|
18506
|
+
});
|
|
18367
18507
|
const PageShow = (props) => {
|
|
18368
18508
|
var _a;
|
|
18369
18509
|
const parsed = useParsed();
|
|
@@ -18788,10 +18928,10 @@ const NamespacesFilter = ({
|
|
|
18788
18928
|
onClose,
|
|
18789
18929
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(kit.overflowTooltip, {
|
|
18790
18930
|
content: isCountToken ? /* @__PURE__ */ jsxRuntimeExports.jsx(kit.tooltip, {
|
|
18791
|
-
title: isCountToken ? value2.slice(MAX_TAG_COUNT).map((namespace2,
|
|
18931
|
+
title: isCountToken ? value2.slice(MAX_TAG_COUNT).map((namespace2, index2) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
18792
18932
|
children: [/* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
18793
18933
|
children: namespace2
|
|
18794
|
-
}),
|
|
18934
|
+
}), index2 !== value2.length - 1 - MAX_TAG_COUNT ? /* @__PURE__ */ jsxRuntimeExports.jsx(kit.divider, {
|
|
18795
18935
|
style: {
|
|
18796
18936
|
margin: "6px 0",
|
|
18797
18937
|
borderColor: "rgba(107, 128, 167, 0.60)"
|
|
@@ -20394,14 +20534,14 @@ function generate(node, key2, rootProps) {
|
|
|
20394
20534
|
if (!rootProps) {
|
|
20395
20535
|
return React__default.createElement(node.tag, _objectSpread$1({
|
|
20396
20536
|
key: key2
|
|
20397
|
-
}, normalizeAttrs(node.attrs)), (node.children || []).map(function(child,
|
|
20398
|
-
return generate(child, "".concat(key2, "-").concat(node.tag, "-").concat(
|
|
20537
|
+
}, normalizeAttrs(node.attrs)), (node.children || []).map(function(child, index2) {
|
|
20538
|
+
return generate(child, "".concat(key2, "-").concat(node.tag, "-").concat(index2));
|
|
20399
20539
|
}));
|
|
20400
20540
|
}
|
|
20401
20541
|
return React__default.createElement(node.tag, _objectSpread$1(_objectSpread$1({
|
|
20402
20542
|
key: key2
|
|
20403
|
-
}, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function(child,
|
|
20404
|
-
return generate(child, "".concat(key2, "-").concat(node.tag, "-").concat(
|
|
20543
|
+
}, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function(child, index2) {
|
|
20544
|
+
return generate(child, "".concat(key2, "-").concat(node.tag, "-").concat(index2));
|
|
20405
20545
|
}));
|
|
20406
20546
|
}
|
|
20407
20547
|
function getSecondaryColor(primaryColor) {
|
|
@@ -20737,16 +20877,16 @@ function useWatch(props) {
|
|
|
20737
20877
|
var isKey$2 = (value2) => /^\w*$/.test(value2);
|
|
20738
20878
|
var stringToPath$2 = (input) => compact(input.replace(/["|']|\]/g, "").split(/\.|\[/));
|
|
20739
20879
|
var set = (object2, path2, value2) => {
|
|
20740
|
-
let
|
|
20880
|
+
let index2 = -1;
|
|
20741
20881
|
const tempPath = isKey$2(path2) ? [path2] : stringToPath$2(path2);
|
|
20742
20882
|
const length = tempPath.length;
|
|
20743
20883
|
const lastIndex = length - 1;
|
|
20744
|
-
while (++
|
|
20745
|
-
const key2 = tempPath[
|
|
20884
|
+
while (++index2 < length) {
|
|
20885
|
+
const key2 = tempPath[index2];
|
|
20746
20886
|
let newValue = value2;
|
|
20747
|
-
if (
|
|
20887
|
+
if (index2 !== lastIndex) {
|
|
20748
20888
|
const objValue = object2[key2];
|
|
20749
|
-
newValue = isObject$3(objValue) || Array.isArray(objValue) ? objValue : !isNaN(+tempPath[
|
|
20889
|
+
newValue = isObject$3(objValue) || Array.isArray(objValue) ? objValue : !isNaN(+tempPath[index2 + 1]) ? [] : {};
|
|
20750
20890
|
}
|
|
20751
20891
|
object2[key2] = newValue;
|
|
20752
20892
|
object2 = object2[key2];
|
|
@@ -21098,9 +21238,9 @@ var validateField = async (field, formValues, validateAllFieldCriteria, shouldUs
|
|
|
21098
21238
|
};
|
|
21099
21239
|
function baseGet$2(object2, updatePath) {
|
|
21100
21240
|
const length = updatePath.slice(0, -1).length;
|
|
21101
|
-
let
|
|
21102
|
-
while (
|
|
21103
|
-
object2 = isUndefined(object2) ?
|
|
21241
|
+
let index2 = 0;
|
|
21242
|
+
while (index2 < length) {
|
|
21243
|
+
object2 = isUndefined(object2) ? index2++ : object2[updatePath[index2++]];
|
|
21104
21244
|
}
|
|
21105
21245
|
return object2;
|
|
21106
21246
|
}
|
|
@@ -21115,12 +21255,12 @@ function isEmptyArray(obj) {
|
|
|
21115
21255
|
function unset(object2, path2) {
|
|
21116
21256
|
const paths = Array.isArray(path2) ? path2 : isKey$2(path2) ? [path2] : stringToPath$2(path2);
|
|
21117
21257
|
const childObject = paths.length === 1 ? object2 : baseGet$2(object2, paths);
|
|
21118
|
-
const
|
|
21119
|
-
const key2 = paths[
|
|
21258
|
+
const index2 = paths.length - 1;
|
|
21259
|
+
const key2 = paths[index2];
|
|
21120
21260
|
if (childObject) {
|
|
21121
21261
|
delete childObject[key2];
|
|
21122
21262
|
}
|
|
21123
|
-
if (
|
|
21263
|
+
if (index2 !== 0 && (isObject$3(childObject) && isEmptyObject(childObject) || Array.isArray(childObject) && isEmptyArray(childObject))) {
|
|
21124
21264
|
unset(object2, paths.slice(0, -1));
|
|
21125
21265
|
}
|
|
21126
21266
|
return object2;
|
|
@@ -22240,6 +22380,9 @@ const RefineFormContent = (props) => {
|
|
|
22240
22380
|
children: value2
|
|
22241
22381
|
});
|
|
22242
22382
|
}
|
|
22383
|
+
if (c2 == null ? void 0 : c2.render) {
|
|
22384
|
+
ele = c2.render(value2, onChange, formValue, onBlur, action, control);
|
|
22385
|
+
}
|
|
22243
22386
|
if (c2.helperText) {
|
|
22244
22387
|
ele = /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, {
|
|
22245
22388
|
size: 4,
|
|
@@ -22251,9 +22394,6 @@ const RefineFormContent = (props) => {
|
|
|
22251
22394
|
})]
|
|
22252
22395
|
});
|
|
22253
22396
|
}
|
|
22254
|
-
if (c2 == null ? void 0 : c2.render) {
|
|
22255
|
-
ele = c2.render(value2, onChange, formValue, onBlur, action);
|
|
22256
|
-
}
|
|
22257
22397
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Form.Item, {
|
|
22258
22398
|
label: c2.label,
|
|
22259
22399
|
colon: false,
|
|
@@ -22470,10 +22610,10 @@ function hashSet$1(key2, value2) {
|
|
|
22470
22610
|
var _hashSet = hashSet$1;
|
|
22471
22611
|
var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
|
|
22472
22612
|
function Hash$1(entries) {
|
|
22473
|
-
var
|
|
22613
|
+
var index2 = -1, length = entries == null ? 0 : entries.length;
|
|
22474
22614
|
this.clear();
|
|
22475
|
-
while (++
|
|
22476
|
-
var entry = entries[
|
|
22615
|
+
while (++index2 < length) {
|
|
22616
|
+
var entry = entries[index2];
|
|
22477
22617
|
this.set(entry[0], entry[1]);
|
|
22478
22618
|
}
|
|
22479
22619
|
}
|
|
@@ -22507,15 +22647,15 @@ var assocIndexOf$3 = _assocIndexOf;
|
|
|
22507
22647
|
var arrayProto = Array.prototype;
|
|
22508
22648
|
var splice = arrayProto.splice;
|
|
22509
22649
|
function listCacheDelete$1(key2) {
|
|
22510
|
-
var data2 = this.__data__,
|
|
22511
|
-
if (
|
|
22650
|
+
var data2 = this.__data__, index2 = assocIndexOf$3(data2, key2);
|
|
22651
|
+
if (index2 < 0) {
|
|
22512
22652
|
return false;
|
|
22513
22653
|
}
|
|
22514
22654
|
var lastIndex = data2.length - 1;
|
|
22515
|
-
if (
|
|
22655
|
+
if (index2 == lastIndex) {
|
|
22516
22656
|
data2.pop();
|
|
22517
22657
|
} else {
|
|
22518
|
-
splice.call(data2,
|
|
22658
|
+
splice.call(data2, index2, 1);
|
|
22519
22659
|
}
|
|
22520
22660
|
--this.size;
|
|
22521
22661
|
return true;
|
|
@@ -22523,8 +22663,8 @@ function listCacheDelete$1(key2) {
|
|
|
22523
22663
|
var _listCacheDelete = listCacheDelete$1;
|
|
22524
22664
|
var assocIndexOf$2 = _assocIndexOf;
|
|
22525
22665
|
function listCacheGet$1(key2) {
|
|
22526
|
-
var data2 = this.__data__,
|
|
22527
|
-
return
|
|
22666
|
+
var data2 = this.__data__, index2 = assocIndexOf$2(data2, key2);
|
|
22667
|
+
return index2 < 0 ? void 0 : data2[index2][1];
|
|
22528
22668
|
}
|
|
22529
22669
|
var _listCacheGet = listCacheGet$1;
|
|
22530
22670
|
var assocIndexOf$1 = _assocIndexOf;
|
|
@@ -22534,22 +22674,22 @@ function listCacheHas$1(key2) {
|
|
|
22534
22674
|
var _listCacheHas = listCacheHas$1;
|
|
22535
22675
|
var assocIndexOf = _assocIndexOf;
|
|
22536
22676
|
function listCacheSet$1(key2, value2) {
|
|
22537
|
-
var data2 = this.__data__,
|
|
22538
|
-
if (
|
|
22677
|
+
var data2 = this.__data__, index2 = assocIndexOf(data2, key2);
|
|
22678
|
+
if (index2 < 0) {
|
|
22539
22679
|
++this.size;
|
|
22540
22680
|
data2.push([key2, value2]);
|
|
22541
22681
|
} else {
|
|
22542
|
-
data2[
|
|
22682
|
+
data2[index2][1] = value2;
|
|
22543
22683
|
}
|
|
22544
22684
|
return this;
|
|
22545
22685
|
}
|
|
22546
22686
|
var _listCacheSet = listCacheSet$1;
|
|
22547
22687
|
var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
|
|
22548
22688
|
function ListCache$1(entries) {
|
|
22549
|
-
var
|
|
22689
|
+
var index2 = -1, length = entries == null ? 0 : entries.length;
|
|
22550
22690
|
this.clear();
|
|
22551
|
-
while (++
|
|
22552
|
-
var entry = entries[
|
|
22691
|
+
while (++index2 < length) {
|
|
22692
|
+
var entry = entries[index2];
|
|
22553
22693
|
this.set(entry[0], entry[1]);
|
|
22554
22694
|
}
|
|
22555
22695
|
}
|
|
@@ -22610,10 +22750,10 @@ function mapCacheSet$1(key2, value2) {
|
|
|
22610
22750
|
var _mapCacheSet = mapCacheSet$1;
|
|
22611
22751
|
var mapCacheClear = _mapCacheClear, mapCacheDelete = _mapCacheDelete, mapCacheGet = _mapCacheGet, mapCacheHas = _mapCacheHas, mapCacheSet = _mapCacheSet;
|
|
22612
22752
|
function MapCache$1(entries) {
|
|
22613
|
-
var
|
|
22753
|
+
var index2 = -1, length = entries == null ? 0 : entries.length;
|
|
22614
22754
|
this.clear();
|
|
22615
|
-
while (++
|
|
22616
|
-
var entry = entries[
|
|
22755
|
+
while (++index2 < length) {
|
|
22756
|
+
var entry = entries[index2];
|
|
22617
22757
|
this.set(entry[0], entry[1]);
|
|
22618
22758
|
}
|
|
22619
22759
|
}
|
|
@@ -22671,9 +22811,9 @@ var stringToPath$1 = memoizeCapped(function(string) {
|
|
|
22671
22811
|
});
|
|
22672
22812
|
var _stringToPath = stringToPath$1;
|
|
22673
22813
|
function arrayMap$1(array, iteratee) {
|
|
22674
|
-
var
|
|
22675
|
-
while (++
|
|
22676
|
-
result[
|
|
22814
|
+
var index2 = -1, length = array == null ? 0 : array.length, result = Array(length);
|
|
22815
|
+
while (++index2 < length) {
|
|
22816
|
+
result[index2] = iteratee(array[index2], index2, array);
|
|
22677
22817
|
}
|
|
22678
22818
|
return result;
|
|
22679
22819
|
}
|
|
@@ -22721,11 +22861,11 @@ var _toKey = toKey$2;
|
|
|
22721
22861
|
var castPath$1 = _castPath, toKey$1 = _toKey;
|
|
22722
22862
|
function baseGet$1(object2, path2) {
|
|
22723
22863
|
path2 = castPath$1(path2, object2);
|
|
22724
|
-
var
|
|
22725
|
-
while (object2 != null &&
|
|
22726
|
-
object2 = object2[toKey$1(path2[
|
|
22864
|
+
var index2 = 0, length = path2.length;
|
|
22865
|
+
while (object2 != null && index2 < length) {
|
|
22866
|
+
object2 = object2[toKey$1(path2[index2++])];
|
|
22727
22867
|
}
|
|
22728
|
-
return
|
|
22868
|
+
return index2 && index2 == length ? object2 : void 0;
|
|
22729
22869
|
}
|
|
22730
22870
|
var _baseGet = baseGet$1;
|
|
22731
22871
|
var baseGet = _baseGet;
|
|
@@ -22773,15 +22913,15 @@ var isLength_1 = isLength$1;
|
|
|
22773
22913
|
var castPath = _castPath, isArguments = isArguments_1, isArray = isArray_1, isIndex = _isIndex, isLength = isLength_1, toKey = _toKey;
|
|
22774
22914
|
function hasPath$1(object2, path2, hasFunc) {
|
|
22775
22915
|
path2 = castPath(path2, object2);
|
|
22776
|
-
var
|
|
22777
|
-
while (++
|
|
22778
|
-
var key2 = toKey(path2[
|
|
22916
|
+
var index2 = -1, length = path2.length, result = false;
|
|
22917
|
+
while (++index2 < length) {
|
|
22918
|
+
var key2 = toKey(path2[index2]);
|
|
22779
22919
|
if (!(result = object2 != null && hasFunc(object2, key2))) {
|
|
22780
22920
|
break;
|
|
22781
22921
|
}
|
|
22782
22922
|
object2 = object2[key2];
|
|
22783
22923
|
}
|
|
22784
|
-
if (result || ++
|
|
22924
|
+
if (result || ++index2 != length) {
|
|
22785
22925
|
return result;
|
|
22786
22926
|
}
|
|
22787
22927
|
length = object2 == null ? 0 : object2.length;
|
|
@@ -22963,7 +23103,7 @@ const Separator = () => {
|
|
|
22963
23103
|
});
|
|
22964
23104
|
};
|
|
22965
23105
|
const MonacoYamlEditor = React__default.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
|
|
22966
|
-
const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-
|
|
23106
|
+
const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-3ed048e6.js"));
|
|
22967
23107
|
const YamlEditorComponent = forwardRef(
|
|
22968
23108
|
function YamlEditorComponent2(props, ref) {
|
|
22969
23109
|
const {
|
|
@@ -23158,8 +23298,8 @@ const YamlEditorComponent = forwardRef(
|
|
|
23158
23298
|
] }),
|
|
23159
23299
|
errorMsgs.length ? /* @__PURE__ */ jsxRuntimeExports.jsxs(kit.space, { className: ErrorWrapperStyle, size: 8, align: "start", children: [
|
|
23160
23300
|
/* @__PURE__ */ jsxRuntimeExports.jsx(XmarkFailedSeriousWarningFill16RedIcon, { className: ErrorIconStyle }),
|
|
23161
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: errorMsgs.map((errorMsg,
|
|
23162
|
-
errorMsgs.length > 1 ? `${
|
|
23301
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: errorMsgs.map((errorMsg, index2) => /* @__PURE__ */ jsxRuntimeExports.jsxs("pre", { className: ErrorMsgStyle, children: [
|
|
23302
|
+
errorMsgs.length > 1 ? `${index2 + 1}. ` : "",
|
|
23163
23303
|
errorMsg
|
|
23164
23304
|
] }, errorMsg)) })
|
|
23165
23305
|
] }) : void 0
|
|
@@ -24106,7 +24246,7 @@ const ReferenceLink = (props) => {
|
|
|
24106
24246
|
ResourceLink,
|
|
24107
24247
|
{
|
|
24108
24248
|
resourceId: ownerReference.name,
|
|
24109
|
-
|
|
24249
|
+
resourceName: resource.name || "",
|
|
24110
24250
|
namespace: namespace2
|
|
24111
24251
|
}
|
|
24112
24252
|
);
|
|
@@ -24121,6 +24261,32 @@ const TextTags = (props) => {
|
|
|
24121
24261
|
});
|
|
24122
24262
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: tags });
|
|
24123
24263
|
};
|
|
24264
|
+
function ResourceSelect(props) {
|
|
24265
|
+
const { resource, resourceBasePath, kind, selectProps, value: value2, onChange } = props;
|
|
24266
|
+
const { data: data2, isLoading, isError } = useList({
|
|
24267
|
+
resource,
|
|
24268
|
+
meta: {
|
|
24269
|
+
resourceBasePath,
|
|
24270
|
+
kind
|
|
24271
|
+
},
|
|
24272
|
+
pagination: {
|
|
24273
|
+
mode: "off"
|
|
24274
|
+
}
|
|
24275
|
+
});
|
|
24276
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
24277
|
+
Select,
|
|
24278
|
+
{
|
|
24279
|
+
input: {
|
|
24280
|
+
value: value2,
|
|
24281
|
+
onChange
|
|
24282
|
+
},
|
|
24283
|
+
loading: isLoading,
|
|
24284
|
+
error: isError,
|
|
24285
|
+
...selectProps,
|
|
24286
|
+
children: data2 == null ? void 0 : data2.data.map((namespace2) => /* @__PURE__ */ jsxRuntimeExports.jsx(AntdOption, { value: namespace2.metadata.name, children: namespace2.metadata.name }, namespace2.metadata.name))
|
|
24287
|
+
}
|
|
24288
|
+
);
|
|
24289
|
+
}
|
|
24124
24290
|
const IngressRulesComponent = ({ ingress }) => {
|
|
24125
24291
|
const kit = useUIKit();
|
|
24126
24292
|
const result = ingress.flattenedRules.map((r2) => {
|
|
@@ -24135,7 +24301,7 @@ const IngressRulesComponent = ({ ingress }) => {
|
|
|
24135
24301
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
24136
24302
|
ResourceLink,
|
|
24137
24303
|
{
|
|
24138
|
-
|
|
24304
|
+
resourceName: "services",
|
|
24139
24305
|
namespace: ingress.metadata.namespace || "default",
|
|
24140
24306
|
resourceId: r2.serviceName
|
|
24141
24307
|
}
|
|
@@ -24680,6 +24846,76 @@ const PortMappingColumnRenderer = (i18n2, clusterVip) => {
|
|
|
24680
24846
|
}
|
|
24681
24847
|
};
|
|
24682
24848
|
};
|
|
24849
|
+
const ProvisionerColumnRenderer = (i18n2) => {
|
|
24850
|
+
return {
|
|
24851
|
+
key: "provisioner",
|
|
24852
|
+
display: true,
|
|
24853
|
+
dataIndex: ["provisioner"],
|
|
24854
|
+
title: i18n2.t("dovetail.provisioner"),
|
|
24855
|
+
width: 120,
|
|
24856
|
+
sortable: true
|
|
24857
|
+
};
|
|
24858
|
+
};
|
|
24859
|
+
const FsTypeColumnRenderer = (i18n2) => {
|
|
24860
|
+
return {
|
|
24861
|
+
key: "fstype",
|
|
24862
|
+
display: true,
|
|
24863
|
+
dataIndex: ["parameters", "csi.storage.k8s.io/fstype"],
|
|
24864
|
+
title: i18n2.t("dovetail.file_system"),
|
|
24865
|
+
width: 120,
|
|
24866
|
+
sortable: true
|
|
24867
|
+
};
|
|
24868
|
+
};
|
|
24869
|
+
const PVCapacityColumnRenderer = (i18n2) => {
|
|
24870
|
+
return {
|
|
24871
|
+
key: "capacity",
|
|
24872
|
+
display: true,
|
|
24873
|
+
dataIndex: ["spec", "capacity", "storage"],
|
|
24874
|
+
title: i18n2.t("dovetail.capacity"),
|
|
24875
|
+
width: 120,
|
|
24876
|
+
sortable: true
|
|
24877
|
+
};
|
|
24878
|
+
};
|
|
24879
|
+
const PVStorageClassColumnRenderer = (i18n2) => {
|
|
24880
|
+
return {
|
|
24881
|
+
key: "storageClass",
|
|
24882
|
+
display: true,
|
|
24883
|
+
dataIndex: ["spec", "storageClassName"],
|
|
24884
|
+
title: i18n2.t("dovetail.storage_class"),
|
|
24885
|
+
width: 120,
|
|
24886
|
+
sortable: true
|
|
24887
|
+
};
|
|
24888
|
+
};
|
|
24889
|
+
const PVPhaseColumnRenderer = (i18n2) => {
|
|
24890
|
+
return {
|
|
24891
|
+
key: "phase",
|
|
24892
|
+
display: true,
|
|
24893
|
+
dataIndex: ["status", "phase"],
|
|
24894
|
+
title: i18n2.t("dovetail.phase"),
|
|
24895
|
+
width: 120,
|
|
24896
|
+
sortable: true
|
|
24897
|
+
};
|
|
24898
|
+
};
|
|
24899
|
+
const PVModeColumnRenderer = (i18n2) => {
|
|
24900
|
+
return {
|
|
24901
|
+
key: "mode",
|
|
24902
|
+
display: true,
|
|
24903
|
+
dataIndex: ["spec", "volumeMode"],
|
|
24904
|
+
title: i18n2.t("dovetail.volume_mode"),
|
|
24905
|
+
width: 120,
|
|
24906
|
+
sortable: true
|
|
24907
|
+
};
|
|
24908
|
+
};
|
|
24909
|
+
const PVAccessModeColumnRenderer = (i18n2) => {
|
|
24910
|
+
return {
|
|
24911
|
+
key: "accessMode",
|
|
24912
|
+
display: true,
|
|
24913
|
+
dataIndex: ["spec", "accessModes"],
|
|
24914
|
+
title: i18n2.t("dovetail.access_mode"),
|
|
24915
|
+
width: 120,
|
|
24916
|
+
sortable: true
|
|
24917
|
+
};
|
|
24918
|
+
};
|
|
24683
24919
|
const styles = "";
|
|
24684
24920
|
const Dovetail = (props) => {
|
|
24685
24921
|
const {
|
|
@@ -24767,7 +25003,11 @@ const ModelMap = {
|
|
|
24767
25003
|
Event: EventModel,
|
|
24768
25004
|
Ingress: IngressModel,
|
|
24769
25005
|
NetworkPolicy: NetworkPolicyModel,
|
|
24770
|
-
Service: ServiceModel
|
|
25006
|
+
Service: ServiceModel,
|
|
25007
|
+
Node: NodeModel,
|
|
25008
|
+
StorageClass: StorageClassModel,
|
|
25009
|
+
PersistentVolume: PersistentVolumeModel,
|
|
25010
|
+
PersistentVolumeClaim: PersistentVolumeClaimModel
|
|
24771
25011
|
};
|
|
24772
25012
|
class ModelPlugin {
|
|
24773
25013
|
constructor() {
|
|
@@ -24893,171 +25133,192 @@ const relationPlugin = new RelationPlugin();
|
|
|
24893
25133
|
const ProviderPlugins = [relationPlugin, modelPlugin];
|
|
24894
25134
|
const dovetailRefineI18n = i18n;
|
|
24895
25135
|
export {
|
|
24896
|
-
|
|
25136
|
+
NamespaceSelectWidget as $,
|
|
24897
25137
|
AgeColumnRenderer as A,
|
|
24898
|
-
|
|
25138
|
+
PVPhaseColumnRenderer as B,
|
|
24899
25139
|
CommonSorter as C,
|
|
24900
25140
|
DurationColumnRenderer as D,
|
|
24901
|
-
|
|
24902
|
-
|
|
24903
|
-
|
|
24904
|
-
|
|
25141
|
+
PVModeColumnRenderer as E,
|
|
25142
|
+
FsTypeColumnRenderer as F,
|
|
25143
|
+
PVAccessModeColumnRenderer as G,
|
|
25144
|
+
ColumnKeys as H,
|
|
24905
25145
|
IngressRulesColumnRenderer as I,
|
|
24906
|
-
|
|
24907
|
-
|
|
24908
|
-
|
|
25146
|
+
addDefaultRenderToColumns as J,
|
|
25147
|
+
useEagleTable as K,
|
|
25148
|
+
useDownloadYAML as L,
|
|
24909
25149
|
ModalStyle as M,
|
|
24910
25150
|
NameColumnRenderer as N,
|
|
24911
|
-
|
|
25151
|
+
useEdit as O,
|
|
24912
25152
|
PlainTextNameColumnRenderer as P,
|
|
24913
|
-
|
|
25153
|
+
useGlobalStore as Q,
|
|
24914
25154
|
ReplicasColumnRenderer as R,
|
|
24915
25155
|
StateDisplayColumnRenderer as S,
|
|
24916
|
-
|
|
24917
|
-
|
|
24918
|
-
|
|
25156
|
+
useOpenForm as T,
|
|
25157
|
+
index as U,
|
|
25158
|
+
Breadcrumb as V,
|
|
24919
25159
|
WorkloadImageColumnRenderer as W,
|
|
24920
|
-
|
|
24921
|
-
|
|
24922
|
-
|
|
24923
|
-
|
|
25160
|
+
NameInputWidget as X,
|
|
25161
|
+
dnsSubDomainRules as Y,
|
|
25162
|
+
rfc1123LabelRules as Z,
|
|
25163
|
+
rfc1035LabelRules as _,
|
|
24924
25164
|
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
|
-
|
|
25165
|
+
SecretDataGroup as a$,
|
|
25166
|
+
namespaceRules as a0,
|
|
25167
|
+
KeyValueListWidget as a1,
|
|
25168
|
+
MetadataForm as a2,
|
|
25169
|
+
PageShow as a3,
|
|
25170
|
+
Time as a4,
|
|
25171
|
+
ConditionsTable as a5,
|
|
25172
|
+
PodContainersTable as a6,
|
|
25173
|
+
WorkloadDropdown as a7,
|
|
25174
|
+
ReplicasDropdown as a8,
|
|
25175
|
+
CreateButton as a9,
|
|
25176
|
+
SecretDataField as aA,
|
|
25177
|
+
StartTimeField as aB,
|
|
25178
|
+
ServiceTypeField as aC,
|
|
25179
|
+
ClusterIpField as aD,
|
|
25180
|
+
SessionAffinityField as aE,
|
|
25181
|
+
ServicePodsField as aF,
|
|
25182
|
+
IngressRulesTableTabField as aG,
|
|
25183
|
+
EventsTableTabField as aH,
|
|
25184
|
+
NamespaceField as aI,
|
|
25185
|
+
AgeField as aJ,
|
|
25186
|
+
LabelsField as aK,
|
|
25187
|
+
AnnotationsField as aL,
|
|
25188
|
+
ServiceInnerClusterAccessField as aM,
|
|
25189
|
+
ServiceOutClusterAccessField as aN,
|
|
25190
|
+
PodSelectorField as aO,
|
|
25191
|
+
PortsTableField as aP,
|
|
25192
|
+
DurationField as aQ,
|
|
25193
|
+
StorageClassProvisionerField as aR,
|
|
25194
|
+
StorageClassFsTypeField as aS,
|
|
25195
|
+
StorageClassPvField as aT,
|
|
25196
|
+
EventsTab as aU,
|
|
25197
|
+
PodLogTab as aV,
|
|
25198
|
+
BasicGroup as aW,
|
|
25199
|
+
PodsGroup as aX,
|
|
25200
|
+
PodContainersGroup as aY,
|
|
25201
|
+
ServicePodsGroup as aZ,
|
|
25202
|
+
ConditionsGroup as a_,
|
|
25203
|
+
ImageNames as aa,
|
|
25204
|
+
ResourceList as ab,
|
|
25205
|
+
ResourceShow as ac,
|
|
25206
|
+
ResourceForm as ad,
|
|
25207
|
+
ResourceCRUD as ae,
|
|
25208
|
+
WorkloadPodsTable as af,
|
|
25209
|
+
CronJobDropdown as ag,
|
|
25210
|
+
K8sDropdown as ah,
|
|
25211
|
+
ResourceUsageBar as ai,
|
|
25212
|
+
WorkloadReplicasForm as aj,
|
|
25213
|
+
WorkloadReplicas as ak,
|
|
25214
|
+
CronjobJobsTable as al,
|
|
25215
|
+
KeyValue as am,
|
|
25216
|
+
KeyValueAnnotation as an,
|
|
25217
|
+
KeyValueSecret as ao,
|
|
25218
|
+
Separator as ap,
|
|
25219
|
+
YamlEditorComponent as aq,
|
|
25220
|
+
DeleteButton as ar,
|
|
25221
|
+
Layout as as,
|
|
25222
|
+
AreaType as at,
|
|
25223
|
+
ImageField as au,
|
|
25224
|
+
ReplicaField as av,
|
|
25225
|
+
ConditionsField as aw,
|
|
25226
|
+
PodsField as ax,
|
|
25227
|
+
JobsField as ay,
|
|
25228
|
+
DataField as az,
|
|
24989
25229
|
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
|
-
|
|
25230
|
+
AccessControlAuth as b$,
|
|
25231
|
+
JobsGroup as b0,
|
|
25232
|
+
IngressRulesGroup as b1,
|
|
25233
|
+
PodSelectorGroup as b2,
|
|
25234
|
+
PortsGroup as b3,
|
|
25235
|
+
DataGroup as b4,
|
|
25236
|
+
NetworkPolicyIngressRulesGroup as b5,
|
|
25237
|
+
NetworkPolicyEgressRulesGroup as b6,
|
|
25238
|
+
StorageClassPvGroup as b7,
|
|
25239
|
+
ShowGroupComponent as b8,
|
|
25240
|
+
ShowContent as b9,
|
|
25241
|
+
ResourceSelect as bA,
|
|
25242
|
+
BASE_INIT_VALUE as bB,
|
|
25243
|
+
DEPLOYMENT_INIT_VALUE as bC,
|
|
25244
|
+
CRONJOB_INIT_VALUE as bD,
|
|
25245
|
+
DAEMONSET_INIT_VALUE as bE,
|
|
25246
|
+
JOB_INIT_VALUE as bF,
|
|
25247
|
+
STATEFULSET_INIT_VALUE as bG,
|
|
25248
|
+
POD_INIT_VALUE as bH,
|
|
25249
|
+
SERVICE_CLUSTER_IP_INIT_VALUE as bI,
|
|
25250
|
+
SERVICE_NODE_PORT_INIT_VALUE as bJ,
|
|
25251
|
+
SERVICE_LOAD_BALANCER_INIT_VALUE as bK,
|
|
25252
|
+
SERVICE_EXTERNAL_NAME_INIT_VALUE as bL,
|
|
25253
|
+
SERVICE_HEADLESS_INIT_VALUE as bM,
|
|
25254
|
+
INGRESS_INIT_VALUE as bN,
|
|
25255
|
+
NETWORK_POLICY_INIT_VALUE as bO,
|
|
25256
|
+
CONFIG_MAP_INIT_VALUE as bP,
|
|
25257
|
+
SERVER_INSTANCE_INIT_VALUE as bQ,
|
|
25258
|
+
TIMESTAMP_LABEL as bR,
|
|
25259
|
+
SECRET_OPAQUE_INIT_VALUE as bS,
|
|
25260
|
+
SECRET_IMAGE_REPO_INIT_VALUE as bT,
|
|
25261
|
+
SECRET_BASIC_AUTH_INIT_VALUE as bU,
|
|
25262
|
+
SECRET_SSH_AUTH_INIT_VALUE as bV,
|
|
25263
|
+
SECRET_TLS_INIT_VALUE as bW,
|
|
25264
|
+
SECRET_CUSTOM_INIT_VALUE as bX,
|
|
25265
|
+
NODE_INIT_VALUE as bY,
|
|
25266
|
+
STORAGE_CLASS_INIT_VALUE as bZ,
|
|
25267
|
+
WorkloadState as b_,
|
|
25268
|
+
DeleteManyButton as ba,
|
|
25269
|
+
ListPage as bb,
|
|
25270
|
+
StateTagStyle as bc,
|
|
25271
|
+
StateTag as bd,
|
|
25272
|
+
DrawerShow as be,
|
|
25273
|
+
Menu as bf,
|
|
25274
|
+
EditButton as bg,
|
|
25275
|
+
ReferenceLink as bh,
|
|
25276
|
+
ResourceLink as bi,
|
|
25277
|
+
NS_STORE_KEY as bj,
|
|
25278
|
+
ALL_NS as bk,
|
|
25279
|
+
useNamespacesFilter as bl,
|
|
25280
|
+
NamespacesFilter as bm,
|
|
25281
|
+
FormModal as bn,
|
|
25282
|
+
RefineFormContent as bo,
|
|
25283
|
+
RefineFormPage as bp,
|
|
25284
|
+
SchemaStrategy as bq,
|
|
25285
|
+
YamlForm as br,
|
|
25286
|
+
useRefineForm as bs,
|
|
25287
|
+
ServiceInClusterAccessComponent as bt,
|
|
25288
|
+
ServiceOutClusterAccessComponent as bu,
|
|
25289
|
+
Tags as bv,
|
|
25290
|
+
TextTags as bw,
|
|
25291
|
+
PodLog as bx,
|
|
25292
|
+
NetworkPolicyRulesViewer as by,
|
|
25293
|
+
Tabs as bz,
|
|
25054
25294
|
NameSpaceColumnRenderer as c,
|
|
25055
|
-
|
|
25056
|
-
|
|
25057
|
-
|
|
25058
|
-
|
|
25059
|
-
|
|
25060
|
-
|
|
25295
|
+
Dovetail as c0,
|
|
25296
|
+
RESOURCE_GROUP as c1,
|
|
25297
|
+
FormType as c2,
|
|
25298
|
+
ComponentContext as c3,
|
|
25299
|
+
GlobalStoreContext as c4,
|
|
25300
|
+
ConfigsContext as c5,
|
|
25301
|
+
IngressModel as c6,
|
|
25302
|
+
NetworkPolicyModel as c7,
|
|
25303
|
+
JobModel as c8,
|
|
25304
|
+
WorkloadModel as c9,
|
|
25305
|
+
WorkloadBaseModel as ca,
|
|
25306
|
+
PodModel as cb,
|
|
25307
|
+
PodMetricsModel as cc,
|
|
25308
|
+
ResourceModel as cd,
|
|
25309
|
+
CronJobModel as ce,
|
|
25310
|
+
EventModel as cf,
|
|
25311
|
+
DeploymentModel as cg,
|
|
25312
|
+
DaemonSetModel as ch,
|
|
25313
|
+
StatefulSetModel as ci,
|
|
25314
|
+
ServiceTypeEnum as cj,
|
|
25315
|
+
ServiceModel as ck,
|
|
25316
|
+
NodeRole as cl,
|
|
25317
|
+
NodeModel as cm,
|
|
25318
|
+
StorageClassModel as cn,
|
|
25319
|
+
PersistentVolumeModel as co,
|
|
25320
|
+
PersistentVolumeClaimModel as cp,
|
|
25321
|
+
ProviderPlugins as cq,
|
|
25061
25322
|
dovetailRefineI18n as d,
|
|
25062
25323
|
WorkloadRestartsColumnRenderer as e,
|
|
25063
25324
|
NodeNameColumnRenderer as f,
|
|
@@ -25078,7 +25339,7 @@ export {
|
|
|
25078
25339
|
useNamespaceRefineFilter as u,
|
|
25079
25340
|
DataKeysColumnRenderer as v,
|
|
25080
25341
|
PortMappingColumnRenderer as w,
|
|
25081
|
-
|
|
25082
|
-
|
|
25083
|
-
|
|
25342
|
+
ProvisionerColumnRenderer as x,
|
|
25343
|
+
PVCapacityColumnRenderer as y,
|
|
25344
|
+
PVStorageClassColumnRenderer as z
|
|
25084
25345
|
};
|