@dovetail-v2/refine 0.0.63-alpha.2 → 0.0.63-hotfix.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-614d92de.js → MonacoYamlDiffEditor-fa18bdbd.js} +1 -1
- package/dist/{index-4a634772.js → index-7d8472f4.js} +498 -739
- package/dist/refine.js +159 -179
- package/dist/refine.umd.cjs +341 -582
- package/dist/style.css +3 -3
- package/lib/src/Dovetail.d.ts +1 -0
- package/lib/src/components/DropdownMenuItems/EditAnnotationDropdownMenuItem.d.ts +10 -0
- package/lib/src/components/DropdownMenuItems/EditLabelDropdownMenuItem.d.ts +10 -0
- package/lib/src/components/DropdownMenuItems/index.d.ts +2 -0
- package/lib/src/components/EditLabelForm/EditLabelForm.d.ts +11 -0
- package/lib/src/components/EditLabelForm/index.d.ts +0 -0
- package/lib/src/components/EditMetadataForm/EditAnnotationForm.d.ts +10 -0
- package/lib/src/components/EditMetadataForm/EditLabelForm.d.ts +10 -0
- package/lib/src/components/EditMetadataForm/index.d.ts +2 -0
- package/lib/src/components/Form/type.d.ts +3 -4
- package/lib/src/components/K8sDropdown/index.d.ts +1 -1
- package/lib/src/components/NodeTaintsModal/NodeTaintsModal.d.ts +12 -0
- package/lib/src/components/NodeTaintsModal/index.d.ts +0 -0
- package/lib/src/components/PodDropdown/index.d.ts +9 -0
- package/lib/src/components/PodShellModal/PodShell.d.ts +18 -0
- package/lib/src/components/PodShellModal/index.d.ts +10 -0
- package/lib/src/components/ResourceFiledDisplays.d.ts +7 -0
- package/lib/src/components/ResourceLink/index.d.ts +1 -1
- package/lib/src/components/Shell/ShellToolbar.d.ts +16 -0
- package/lib/src/components/Shell/index.d.ts +75 -0
- package/lib/src/components/ShowContent/fields.d.ts +1 -7
- package/lib/src/components/ShowContent/groups.d.ts +1 -2
- package/lib/src/components/ValueDisplay/index.d.ts +1 -1
- package/lib/src/components/index.d.ts +0 -1
- package/lib/src/constants/k8s.d.ts +1 -19
- package/lib/src/contexts/constants.d.ts +6 -0
- package/lib/src/hooks/useEagleTable/columns.d.ts +1 -8
- package/lib/src/i18n.d.ts +1 -4
- package/lib/src/locales/zh-CN/index.d.ts +1 -4
- package/lib/src/models/index.d.ts +0 -4
- package/lib/src/models/node-model.d.ts +0 -1
- package/lib/src/models/persistent-volume-claim.d.ts +0 -1
- package/lib/src/models/persistent-volume.d.ts +0 -1
- package/lib/src/models/storage-class.d.ts +0 -1
- package/lib/src/models/workload-base-model.d.ts +2 -2
- package/lib/src/pages/persistentvolumeclaims/index.d.ts +4 -0
- package/lib/src/pages/persistentvolumes/index.d.ts +3 -18
- package/lib/src/styles/modal.d.ts +1 -0
- package/lib/src/types/resource.d.ts +1 -3
- package/lib/src/utils/index.d.ts +1 -0
- package/lib/src/utils/openapi.d.ts +2 -1
- package/lib/src/utils/shell.d.ts +16 -0
- package/package.json +1 -1
- package/lib/src/App.js +0 -91
- package/lib/src/Dovetail.js +0 -45
- package/lib/src/components/Breadcrumb/index.js +0 -20
- package/lib/src/components/ConditionsTable/ConditionsTable.js +0 -56
- package/lib/src/components/ConditionsTable/index.js +0 -1
- package/lib/src/components/CreateButton/index.js +0 -10
- package/lib/src/components/CronJobDropdown/index.js +0 -26
- package/lib/src/components/CronjobJobsTable/index.js +0 -49
- package/lib/src/components/DeleteButton/index.js +0 -13
- package/lib/src/components/DeleteManyButton/index.js +0 -16
- package/lib/src/components/DrawerShow/DrawerShow.js +0 -13
- package/lib/src/components/DrawerShow/index.js +0 -1
- package/lib/src/components/EditButton/index.js +0 -13
- package/lib/src/components/EditField/index.js +0 -47
- package/lib/src/components/ErrorContent/index.js +0 -36
- package/lib/src/components/EventsTable/EventsTable.js +0 -59
- package/lib/src/components/EventsTable/index.js +0 -1
- package/lib/src/components/Form/KeyValueListWidget.d.ts +0 -6
- package/lib/src/components/Form/KeyValueListWidget.js +0 -56
- package/lib/src/components/Form/MetadataForm.d.ts +0 -2
- package/lib/src/components/Form/MetadataForm.js +0 -9
- package/lib/src/components/Form/NameInputWidget.d.ts +0 -51
- package/lib/src/components/Form/NameInputWidget.js +0 -50
- package/lib/src/components/Form/NamespaceSelectWidget.d.ts +0 -9
- package/lib/src/components/Form/NamespaceSelectWidget.js +0 -21
- package/lib/src/components/Form/index.js +0 -4
- package/lib/src/components/Form/widget.d.ts +0 -5
- package/lib/src/components/Form/widget.js +0 -1
- package/lib/src/components/FormErrorAlert/index.js +0 -8
- package/lib/src/components/FormLayout/index.js +0 -21
- package/lib/src/components/FormModal/index.d.ts +0 -10
- package/lib/src/components/FormModal/index.js +0 -51
- package/lib/src/components/ImageNames/index.js +0 -14
- package/lib/src/components/IngressRulesComponent/index.js +0 -11
- package/lib/src/components/IngressRulesTable/IngressRulesTable.js +0 -51
- package/lib/src/components/IngressRulesTable/index.js +0 -1
- package/lib/src/components/K8sDropdown/index.js +0 -31
- package/lib/src/components/KeyValue/KeyValue.js +0 -27
- package/lib/src/components/KeyValue/index.js +0 -1
- package/lib/src/components/KeyValueData/index.d.ts +0 -6
- package/lib/src/components/KeyValueData/index.js +0 -50
- package/lib/src/components/Layout/index.js +0 -39
- package/lib/src/components/ListPage/index.js +0 -25
- package/lib/src/components/Menu/index.js +0 -36
- package/lib/src/components/NamespacesFilter/index.js +0 -34
- package/lib/src/components/NetworkPolicyRulesTable/NetworkPolicyRulesTable.d.ts +0 -7
- package/lib/src/components/NetworkPolicyRulesTable/NetworkPolicyRulesTable.js +0 -77
- package/lib/src/components/NetworkPolicyRulesTable/index.d.ts +0 -1
- package/lib/src/components/NetworkPolicyRulesTable/index.js +0 -1
- package/lib/src/components/PageShow/PageShow.js +0 -11
- package/lib/src/components/PageShow/index.js +0 -1
- package/lib/src/components/PodContainersTable/PodContainersTable.js +0 -78
- package/lib/src/components/PodContainersTable/index.js +0 -1
- package/lib/src/components/PodLog/index.js +0 -136
- package/lib/src/components/ReferenceLink/index.js +0 -17
- package/lib/src/components/RefineForm/RefineFormContent.d.ts +0 -10
- package/lib/src/components/RefineForm/RefineFormModal.d.ts +0 -8
- package/lib/src/components/RefineForm/RefineFormPage.d.ts +0 -7
- package/lib/src/components/RefineForm/index.d.ts +0 -3
- package/lib/src/components/RefineForm/type.d.ts +0 -20
- package/lib/src/components/RefineForm/useRefineForm.d.ts +0 -10
- package/lib/src/components/ResourceCRUD/ResourceCRUD.js +0 -15
- package/lib/src/components/ResourceCRUD/create/index.js +0 -13
- package/lib/src/components/ResourceCRUD/index.js +0 -4
- package/lib/src/components/ResourceCRUD/list/index.js +0 -19
- package/lib/src/components/ResourceCRUD/show/index.js +0 -6
- package/lib/src/components/ResourceLink/index.js +0 -21
- package/lib/src/components/ResourceUsageBar/index.js +0 -81
- package/lib/src/components/Separator/index.js +0 -11
- package/lib/src/components/ShowContent/ShowContent.js +0 -157
- package/lib/src/components/ShowContent/fields.js +0 -157
- package/lib/src/components/ShowContent/index.js +0 -2
- package/lib/src/components/StateTag/StateTag.js +0 -22
- package/lib/src/components/StateTag/index.js +0 -1
- package/lib/src/components/Table/ErrorContent.d.ts +0 -10
- package/lib/src/components/Table/ErrorContent.js +0 -36
- package/lib/src/components/Table/TableToolBar.js +0 -14
- package/lib/src/components/Table/TableWidgets.js +0 -28
- package/lib/src/components/Table/index.js +0 -69
- package/lib/src/components/Tags/index.js +0 -22
- package/lib/src/components/Time/index.js +0 -14
- package/lib/src/components/WorkloadDropdown/index.js +0 -24
- package/lib/src/components/WorkloadPodsTable/WorkloadPodsTable.js +0 -39
- package/lib/src/components/WorkloadPodsTable/index.js +0 -1
- package/lib/src/components/WorkloadReplicas/index.js +0 -50
- package/lib/src/components/YamlEditor/MonacoYamlDiffEditor.js +0 -34
- package/lib/src/components/YamlEditor/MonacoYamlEditor.js +0 -149
- package/lib/src/components/YamlEditor/YamlEditorComponent.js +0 -90
- package/lib/src/components/YamlEditor/index.js +0 -1
- package/lib/src/components/YamlEditor/style.js +0 -102
- package/lib/src/components/YamlEditor/yaml.worker.js +0 -1
- package/lib/src/components/YamlForm/index.d.ts +0 -21
- package/lib/src/components/YamlForm/index.js +0 -61
- package/lib/src/components/index.js +0 -38
- package/lib/src/constants/index.js +0 -2
- package/lib/src/constants/k8s.js +0 -203
- package/lib/src/constants/state.js +0 -15
- package/lib/src/contexts/component.js +0 -3
- package/lib/src/contexts/configs.js +0 -3
- package/lib/src/contexts/global-store.js +0 -3
- package/lib/src/contexts/index.js +0 -3
- package/lib/src/hooks/index.js +0 -7
- package/lib/src/hooks/useDeleteModal/index.js +0 -1
- package/lib/src/hooks/useDeleteModal/useDeleteManyModal.js +0 -31
- package/lib/src/hooks/useDeleteModal/useDeleteModal.js +0 -38
- package/lib/src/hooks/useDownloadYAML.js +0 -10
- package/lib/src/hooks/useEagleForm.d.ts +0 -47
- package/lib/src/hooks/useEagleForm.js +0 -177
- package/lib/src/hooks/useEagleTable/columns.js +0 -246
- package/lib/src/hooks/useEagleTable/index.js +0 -2
- package/lib/src/hooks/useEagleTable/useEagleTable.js +0 -63
- package/lib/src/hooks/useEdit.js +0 -19
- package/lib/src/hooks/useGlobalStore.js +0 -5
- package/lib/src/hooks/useK8sYamlEditor.js +0 -37
- package/lib/src/hooks/useOpenForm.js +0 -43
- package/lib/src/hooks/useSchema.js +0 -37
- package/lib/src/hooks/useSubmitForm.js +0 -42
- package/lib/src/i18n.js +0 -19
- package/lib/src/index.js +0 -13
- package/lib/src/locales/en-US/dovetail.json +0 -18
- package/lib/src/locales/en-US/index.js +0 -4
- package/lib/src/locales/index.js +0 -6
- package/lib/src/locales/zh-CN/dovetail.json +0 -91
- package/lib/src/locales/zh-CN/index.js +0 -4
- package/lib/src/main.js +0 -12
- package/lib/src/models/cronjob-model.js +0 -32
- package/lib/src/models/daemonset-model.js +0 -17
- package/lib/src/models/deployment-model.js +0 -17
- package/lib/src/models/event-model.js +0 -11
- package/lib/src/models/index.js +0 -14
- package/lib/src/models/ingress-model.js +0 -24
- package/lib/src/models/job-model.js +0 -56
- package/lib/src/models/network-policy-model.js +0 -10
- package/lib/src/models/pod-metrics-model.js +0 -34
- package/lib/src/models/pod-model.js +0 -78
- package/lib/src/models/resource-model.js +0 -34
- package/lib/src/models/server-instance-model.d.ts +0 -10
- package/lib/src/models/service-model.js +0 -17
- package/lib/src/models/statefulset-model.js +0 -17
- package/lib/src/models/types/index.js +0 -1
- package/lib/src/models/types/metric.js +0 -1
- package/lib/src/models/workload-base-model.js +0 -22
- package/lib/src/models/workload-model.js +0 -51
- package/lib/src/pages/configmaps/index.js +0 -15
- package/lib/src/pages/cronjobs/create/index.js +0 -6
- package/lib/src/pages/cronjobs/index.js +0 -3
- package/lib/src/pages/cronjobs/list/index.js +0 -42
- package/lib/src/pages/cronjobs/show/index.js +0 -16
- package/lib/src/pages/daemonsets/create/index.js +0 -6
- package/lib/src/pages/daemonsets/index.js +0 -3
- package/lib/src/pages/daemonsets/list/index.js +0 -32
- package/lib/src/pages/daemonsets/show/index.js +0 -16
- package/lib/src/pages/deployments/create/index.d.ts +0 -3
- package/lib/src/pages/deployments/create/index.js +0 -7
- package/lib/src/pages/deployments/index.js +0 -3
- package/lib/src/pages/deployments/list/index.js +0 -26
- package/lib/src/pages/deployments/show/index.js +0 -16
- package/lib/src/pages/ingresses/index.js +0 -26
- package/lib/src/pages/jobs/index.js +0 -34
- package/lib/src/pages/networkPolicies/index.js +0 -67
- package/lib/src/pages/pods/create/index.js +0 -6
- package/lib/src/pages/pods/index.js +0 -3
- package/lib/src/pages/pods/list/index.js +0 -81
- package/lib/src/pages/pods/show/index.js +0 -54
- package/lib/src/pages/secrets/index.js +0 -15
- package/lib/src/pages/services/index.js +0 -26
- package/lib/src/pages/statefulsets/create/index.d.ts +0 -3
- package/lib/src/pages/statefulsets/create/index.js +0 -6
- package/lib/src/pages/statefulsets/index.js +0 -3
- package/lib/src/pages/statefulsets/list/index.d.ts +0 -3
- package/lib/src/pages/statefulsets/list/index.js +0 -26
- package/lib/src/pages/statefulsets/show/index.d.ts +0 -3
- package/lib/src/pages/statefulsets/show/index.js +0 -16
- package/lib/src/plugins/index.js +0 -3
- package/lib/src/plugins/model-plugin.js +0 -46
- package/lib/src/plugins/relation-plugin.js +0 -81
- package/lib/src/plugins/type.js +0 -1
- package/lib/src/providers/index.js +0 -1
- package/lib/src/providers/router-provider/index.js +0 -100
- package/lib/src/types/index.js +0 -1
- package/lib/src/types/resource.js +0 -12
- package/lib/src/utils/addId.js +0 -8
- package/lib/src/utils/download.js +0 -9
- package/lib/src/utils/error.js +0 -53
- package/lib/src/utils/form.js +0 -9
- package/lib/src/utils/k8s.js +0 -6
- package/lib/src/utils/labels.js +0 -15
- package/lib/src/utils/match-selector.js +0 -12
- package/lib/src/utils/openapi.js +0 -33
- package/lib/src/utils/schema.js +0 -117
- package/lib/src/utils/selector.js +0 -12
- package/lib/src/utils/string.js +0 -6
- package/lib/src/utils/time.js +0 -46
- package/lib/src/utils/unit.js +0 -69
- package/lib/src/utils/yaml.js +0 -44
- package/lib/vite.config.js +0 -60
|
@@ -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,
|
|
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";
|
|
14
14
|
import { EditPen16PrimaryIcon, Download16GradientBlueIcon, TrashBinDelete16Icon, MoreEllipsis324BoldSecondaryIcon, MoreEllipsis324BoldBlueIcon, MoreEllipsis316BoldBlueIcon, PlusAddCreateNew16BoldOntintIcon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, EditPen16GradientBlueIcon, ViewEye16GradientGrayIcon, EntityFilterIgnoreGradient16GrayIcon, RecoverContinue16GradientBlueIcon, SuspendedPause16GradientBlueIcon, Retry16GradientBlueIcon, HierarchyTriangleRight16GrayIcon, HierarchyTriangleRight16BlueIcon, ClipboardCopy16GradientGrayIcon, ClipboardCopy16GradientBlueIcon, Retry16GradientGrayIcon, EditPen16GradientGrayIcon, Showdiff16GradientGrayIcon, Showdiff16GradientBlueIcon, XmarkFailedSeriousWarningFill16RedIcon, ExclamationErrorCircleFill16RedIcon, Pause16GradientBlueIcon } from "@cloudtower/icons-react";
|
|
15
15
|
import { omit as omit$1, merge, get as get$3, first, debounce, last, isObject as isObject$4, keyBy } from "lodash-es";
|
|
16
16
|
import yaml from "js-yaml";
|
|
@@ -25,301 +25,308 @@ function getDefaultExportFromCjs(x) {
|
|
|
25
25
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
26
26
|
}
|
|
27
27
|
var dayjs_min = { exports: {} };
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
return
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
|
|
106
|
-
}, m2.$utils = function() {
|
|
107
|
-
return b;
|
|
108
|
-
}, m2.isValid = function() {
|
|
109
|
-
return !(this.$d.toString() === l);
|
|
110
|
-
}, m2.isSame = function(t3, e3) {
|
|
111
|
-
var n3 = O(t3);
|
|
112
|
-
return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
|
|
113
|
-
}, m2.isAfter = function(t3, e3) {
|
|
114
|
-
return O(t3) < this.startOf(e3);
|
|
115
|
-
}, m2.isBefore = function(t3, e3) {
|
|
116
|
-
return this.endOf(e3) < O(t3);
|
|
117
|
-
}, m2.$g = function(t3, e3, n3) {
|
|
118
|
-
return b.u(t3) ? this[e3] : this.set(n3, t3);
|
|
119
|
-
}, m2.unix = function() {
|
|
120
|
-
return Math.floor(this.valueOf() / 1e3);
|
|
121
|
-
}, m2.valueOf = function() {
|
|
122
|
-
return this.$d.getTime();
|
|
123
|
-
}, m2.startOf = function(t3, e3) {
|
|
124
|
-
var n3 = this, r3 = !!b.u(e3) || e3, f2 = b.p(t3), l2 = function(t4, e4) {
|
|
125
|
-
var i3 = b.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
|
|
126
|
-
return r3 ? i3 : i3.endOf(a2);
|
|
127
|
-
}, $2 = function(t4, e4) {
|
|
128
|
-
return b.w(n3.toDate()[t4].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
|
|
129
|
-
}, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
|
|
130
|
-
switch (f2) {
|
|
131
|
-
case h:
|
|
132
|
-
return r3 ? l2(1, 0) : l2(31, 11);
|
|
133
|
-
case c2:
|
|
134
|
-
return r3 ? l2(1, M3) : l2(0, M3 + 1);
|
|
135
|
-
case o:
|
|
136
|
-
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
|
|
137
|
-
return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
|
|
138
|
-
case a2:
|
|
139
|
-
case d:
|
|
140
|
-
return $2(v2 + "Hours", 0);
|
|
141
|
-
case u:
|
|
142
|
-
return $2(v2 + "Minutes", 1);
|
|
143
|
-
case s2:
|
|
144
|
-
return $2(v2 + "Seconds", 2);
|
|
145
|
-
case i2:
|
|
146
|
-
return $2(v2 + "Milliseconds", 3);
|
|
147
|
-
default:
|
|
148
|
-
return this.clone();
|
|
149
|
-
}
|
|
150
|
-
}, m2.endOf = function(t3) {
|
|
151
|
-
return this.startOf(t3, false);
|
|
152
|
-
}, m2.$set = function(t3, e3) {
|
|
153
|
-
var n3, o2 = b.p(t3), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n3 = {}, n3[a2] = f2 + "Date", n3[d] = f2 + "Date", n3[c2] = f2 + "Month", n3[h] = f2 + "FullYear", n3[u] = f2 + "Hours", n3[s2] = f2 + "Minutes", n3[i2] = f2 + "Seconds", n3[r2] = f2 + "Milliseconds", n3)[o2], $2 = o2 === a2 ? this.$D + (e3 - this.$W) : e3;
|
|
154
|
-
if (o2 === c2 || o2 === h) {
|
|
155
|
-
var y2 = this.clone().set(d, 1);
|
|
156
|
-
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
|
|
157
|
-
} else
|
|
158
|
-
l2 && this.$d[l2]($2);
|
|
159
|
-
return this.init(), this;
|
|
160
|
-
}, m2.set = function(t3, e3) {
|
|
161
|
-
return this.clone().$set(t3, e3);
|
|
162
|
-
}, m2.get = function(t3) {
|
|
163
|
-
return this[b.p(t3)]();
|
|
164
|
-
}, m2.add = function(r3, f2) {
|
|
165
|
-
var d2, l2 = this;
|
|
166
|
-
r3 = Number(r3);
|
|
167
|
-
var $2 = b.p(f2), y2 = function(t3) {
|
|
168
|
-
var e3 = O(l2);
|
|
169
|
-
return b.w(e3.date(e3.date() + Math.round(t3 * r3)), l2);
|
|
170
|
-
};
|
|
171
|
-
if ($2 === c2)
|
|
172
|
-
return this.set(c2, this.$M + r3);
|
|
173
|
-
if ($2 === h)
|
|
174
|
-
return this.set(h, this.$y + r3);
|
|
175
|
-
if ($2 === a2)
|
|
176
|
-
return y2(1);
|
|
177
|
-
if ($2 === o)
|
|
178
|
-
return y2(7);
|
|
179
|
-
var M3 = (d2 = {}, d2[s2] = e2, d2[u] = n2, d2[i2] = t2, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
|
|
180
|
-
return b.w(m3, this);
|
|
181
|
-
}, m2.subtract = function(t3, e3) {
|
|
182
|
-
return this.add(-1 * t3, e3);
|
|
183
|
-
}, m2.format = function(t3) {
|
|
184
|
-
var e3 = this, n3 = this.$locale();
|
|
185
|
-
if (!this.isValid())
|
|
186
|
-
return n3.invalidDate || l;
|
|
187
|
-
var r3 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i3 = b.z(this), s3 = this.$H, u2 = this.$m, a3 = this.$M, o2 = n3.weekdays, c3 = n3.months, f2 = n3.meridiem, h2 = function(t4, n4, i4, s4) {
|
|
188
|
-
return t4 && (t4[n4] || t4(e3, r3)) || i4[n4].slice(0, s4);
|
|
189
|
-
}, d2 = function(t4) {
|
|
190
|
-
return b.s(s3 % 12 || 12, t4, "0");
|
|
191
|
-
}, $2 = f2 || function(t4, e4, n4) {
|
|
192
|
-
var r4 = t4 < 12 ? "AM" : "PM";
|
|
193
|
-
return n4 ? r4.toLowerCase() : r4;
|
|
194
|
-
};
|
|
195
|
-
return r3.replace(y, function(t4, r4) {
|
|
196
|
-
return r4 || function(t5) {
|
|
197
|
-
switch (t5) {
|
|
198
|
-
case "YY":
|
|
199
|
-
return String(e3.$y).slice(-2);
|
|
200
|
-
case "YYYY":
|
|
201
|
-
return b.s(e3.$y, 4, "0");
|
|
202
|
-
case "M":
|
|
203
|
-
return a3 + 1;
|
|
204
|
-
case "MM":
|
|
205
|
-
return b.s(a3 + 1, 2, "0");
|
|
206
|
-
case "MMM":
|
|
207
|
-
return h2(n3.monthsShort, a3, c3, 3);
|
|
208
|
-
case "MMMM":
|
|
209
|
-
return h2(c3, a3);
|
|
210
|
-
case "D":
|
|
211
|
-
return e3.$D;
|
|
212
|
-
case "DD":
|
|
213
|
-
return b.s(e3.$D, 2, "0");
|
|
214
|
-
case "d":
|
|
215
|
-
return String(e3.$W);
|
|
216
|
-
case "dd":
|
|
217
|
-
return h2(n3.weekdaysMin, e3.$W, o2, 2);
|
|
218
|
-
case "ddd":
|
|
219
|
-
return h2(n3.weekdaysShort, e3.$W, o2, 3);
|
|
220
|
-
case "dddd":
|
|
221
|
-
return o2[e3.$W];
|
|
222
|
-
case "H":
|
|
223
|
-
return String(s3);
|
|
224
|
-
case "HH":
|
|
225
|
-
return b.s(s3, 2, "0");
|
|
226
|
-
case "h":
|
|
227
|
-
return d2(1);
|
|
228
|
-
case "hh":
|
|
229
|
-
return d2(2);
|
|
230
|
-
case "a":
|
|
231
|
-
return $2(s3, u2, true);
|
|
232
|
-
case "A":
|
|
233
|
-
return $2(s3, u2, false);
|
|
234
|
-
case "m":
|
|
235
|
-
return String(u2);
|
|
236
|
-
case "mm":
|
|
237
|
-
return b.s(u2, 2, "0");
|
|
238
|
-
case "s":
|
|
239
|
-
return String(e3.$s);
|
|
240
|
-
case "ss":
|
|
241
|
-
return b.s(e3.$s, 2, "0");
|
|
242
|
-
case "SSS":
|
|
243
|
-
return b.s(e3.$ms, 3, "0");
|
|
244
|
-
case "Z":
|
|
245
|
-
return i3;
|
|
28
|
+
var hasRequiredDayjs_min;
|
|
29
|
+
function requireDayjs_min() {
|
|
30
|
+
if (hasRequiredDayjs_min)
|
|
31
|
+
return dayjs_min.exports;
|
|
32
|
+
hasRequiredDayjs_min = 1;
|
|
33
|
+
(function(module, exports) {
|
|
34
|
+
!function(t2, e2) {
|
|
35
|
+
module.exports = e2();
|
|
36
|
+
}(commonjsGlobal, function() {
|
|
37
|
+
var t2 = 1e3, e2 = 6e4, n2 = 36e5, r2 = "millisecond", i2 = "second", s2 = "minute", u = "hour", a2 = "day", o = "week", c2 = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
|
|
38
|
+
var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
|
|
39
|
+
return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
|
|
40
|
+
} }, m = function(t3, e3, n3) {
|
|
41
|
+
var r3 = String(t3);
|
|
42
|
+
return !r3 || r3.length >= e3 ? t3 : "" + Array(e3 + 1 - r3.length).join(n3) + t3;
|
|
43
|
+
}, v = { s: m, z: function(t3) {
|
|
44
|
+
var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r3 = Math.floor(n3 / 60), i3 = n3 % 60;
|
|
45
|
+
return (e3 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i3, 2, "0");
|
|
46
|
+
}, m: function t3(e3, n3) {
|
|
47
|
+
if (e3.date() < n3.date())
|
|
48
|
+
return -t3(n3, e3);
|
|
49
|
+
var r3 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i3 = e3.clone().add(r3, c2), s3 = n3 - i3 < 0, u2 = e3.clone().add(r3 + (s3 ? -1 : 1), c2);
|
|
50
|
+
return +(-(r3 + (n3 - i3) / (s3 ? i3 - u2 : u2 - i3)) || 0);
|
|
51
|
+
}, a: function(t3) {
|
|
52
|
+
return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
|
|
53
|
+
}, p: function(t3) {
|
|
54
|
+
return { M: c2, y: h, w: o, d: a2, D: d, h: u, m: s2, s: i2, ms: r2, Q: f }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
|
|
55
|
+
}, u: function(t3) {
|
|
56
|
+
return void 0 === t3;
|
|
57
|
+
} }, g = "en", D = {};
|
|
58
|
+
D[g] = M;
|
|
59
|
+
var p = "$isDayjsObject", S = function(t3) {
|
|
60
|
+
return t3 instanceof _ || !(!t3 || !t3[p]);
|
|
61
|
+
}, w = function t3(e3, n3, r3) {
|
|
62
|
+
var i3;
|
|
63
|
+
if (!e3)
|
|
64
|
+
return g;
|
|
65
|
+
if ("string" == typeof e3) {
|
|
66
|
+
var s3 = e3.toLowerCase();
|
|
67
|
+
D[s3] && (i3 = s3), n3 && (D[s3] = n3, i3 = s3);
|
|
68
|
+
var u2 = e3.split("-");
|
|
69
|
+
if (!i3 && u2.length > 1)
|
|
70
|
+
return t3(u2[0]);
|
|
71
|
+
} else {
|
|
72
|
+
var a3 = e3.name;
|
|
73
|
+
D[a3] = e3, i3 = a3;
|
|
74
|
+
}
|
|
75
|
+
return !r3 && i3 && (g = i3), i3 || !r3 && g;
|
|
76
|
+
}, O = function(t3, e3) {
|
|
77
|
+
if (S(t3))
|
|
78
|
+
return t3.clone();
|
|
79
|
+
var n3 = "object" == typeof e3 ? e3 : {};
|
|
80
|
+
return n3.date = t3, n3.args = arguments, new _(n3);
|
|
81
|
+
}, b = v;
|
|
82
|
+
b.l = w, b.i = S, b.w = function(t3, e3) {
|
|
83
|
+
return O(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
|
|
84
|
+
};
|
|
85
|
+
var _ = function() {
|
|
86
|
+
function M2(t3) {
|
|
87
|
+
this.$L = w(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p] = true;
|
|
88
|
+
}
|
|
89
|
+
var m2 = M2.prototype;
|
|
90
|
+
return m2.parse = function(t3) {
|
|
91
|
+
this.$d = function(t4) {
|
|
92
|
+
var e3 = t4.date, n3 = t4.utc;
|
|
93
|
+
if (null === e3)
|
|
94
|
+
return /* @__PURE__ */ new Date(NaN);
|
|
95
|
+
if (b.u(e3))
|
|
96
|
+
return /* @__PURE__ */ new Date();
|
|
97
|
+
if (e3 instanceof Date)
|
|
98
|
+
return new Date(e3);
|
|
99
|
+
if ("string" == typeof e3 && !/Z$/i.test(e3)) {
|
|
100
|
+
var r3 = e3.match($);
|
|
101
|
+
if (r3) {
|
|
102
|
+
var i3 = r3[2] - 1 || 0, s3 = (r3[7] || "0").substring(0, 3);
|
|
103
|
+
return n3 ? new Date(Date.UTC(r3[1], i3, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3)) : new Date(r3[1], i3, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3);
|
|
104
|
+
}
|
|
246
105
|
}
|
|
247
|
-
return
|
|
248
|
-
}(
|
|
249
|
-
})
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
106
|
+
return new Date(e3);
|
|
107
|
+
}(t3), this.init();
|
|
108
|
+
}, m2.init = function() {
|
|
109
|
+
var t3 = this.$d;
|
|
110
|
+
this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
|
|
111
|
+
}, m2.$utils = function() {
|
|
112
|
+
return b;
|
|
113
|
+
}, m2.isValid = function() {
|
|
114
|
+
return !(this.$d.toString() === l);
|
|
115
|
+
}, m2.isSame = function(t3, e3) {
|
|
116
|
+
var n3 = O(t3);
|
|
117
|
+
return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
|
|
118
|
+
}, m2.isAfter = function(t3, e3) {
|
|
119
|
+
return O(t3) < this.startOf(e3);
|
|
120
|
+
}, m2.isBefore = function(t3, e3) {
|
|
121
|
+
return this.endOf(e3) < O(t3);
|
|
122
|
+
}, m2.$g = function(t3, e3, n3) {
|
|
123
|
+
return b.u(t3) ? this[e3] : this.set(n3, t3);
|
|
124
|
+
}, m2.unix = function() {
|
|
125
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
126
|
+
}, m2.valueOf = function() {
|
|
127
|
+
return this.$d.getTime();
|
|
128
|
+
}, m2.startOf = function(t3, e3) {
|
|
129
|
+
var n3 = this, r3 = !!b.u(e3) || e3, f2 = b.p(t3), l2 = function(t4, e4) {
|
|
130
|
+
var i3 = b.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
|
|
131
|
+
return r3 ? i3 : i3.endOf(a2);
|
|
132
|
+
}, $2 = function(t4, e4) {
|
|
133
|
+
return b.w(n3.toDate()[t4].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
|
|
134
|
+
}, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
|
|
135
|
+
switch (f2) {
|
|
136
|
+
case h:
|
|
137
|
+
return r3 ? l2(1, 0) : l2(31, 11);
|
|
138
|
+
case c2:
|
|
139
|
+
return r3 ? l2(1, M3) : l2(0, M3 + 1);
|
|
140
|
+
case o:
|
|
141
|
+
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
|
|
142
|
+
return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
|
|
143
|
+
case a2:
|
|
144
|
+
case d:
|
|
145
|
+
return $2(v2 + "Hours", 0);
|
|
146
|
+
case u:
|
|
147
|
+
return $2(v2 + "Minutes", 1);
|
|
148
|
+
case s2:
|
|
149
|
+
return $2(v2 + "Seconds", 2);
|
|
150
|
+
case i2:
|
|
151
|
+
return $2(v2 + "Milliseconds", 3);
|
|
152
|
+
default:
|
|
153
|
+
return this.clone();
|
|
154
|
+
}
|
|
155
|
+
}, m2.endOf = function(t3) {
|
|
156
|
+
return this.startOf(t3, false);
|
|
157
|
+
}, m2.$set = function(t3, e3) {
|
|
158
|
+
var n3, o2 = b.p(t3), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n3 = {}, n3[a2] = f2 + "Date", n3[d] = f2 + "Date", n3[c2] = f2 + "Month", n3[h] = f2 + "FullYear", n3[u] = f2 + "Hours", n3[s2] = f2 + "Minutes", n3[i2] = f2 + "Seconds", n3[r2] = f2 + "Milliseconds", n3)[o2], $2 = o2 === a2 ? this.$D + (e3 - this.$W) : e3;
|
|
159
|
+
if (o2 === c2 || o2 === h) {
|
|
160
|
+
var y2 = this.clone().set(d, 1);
|
|
161
|
+
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
|
|
162
|
+
} else
|
|
163
|
+
l2 && this.$d[l2]($2);
|
|
164
|
+
return this.init(), this;
|
|
165
|
+
}, m2.set = function(t3, e3) {
|
|
166
|
+
return this.clone().$set(t3, e3);
|
|
167
|
+
}, m2.get = function(t3) {
|
|
168
|
+
return this[b.p(t3)]();
|
|
169
|
+
}, m2.add = function(r3, f2) {
|
|
170
|
+
var d2, l2 = this;
|
|
171
|
+
r3 = Number(r3);
|
|
172
|
+
var $2 = b.p(f2), y2 = function(t3) {
|
|
173
|
+
var e3 = O(l2);
|
|
174
|
+
return b.w(e3.date(e3.date() + Math.round(t3 * r3)), l2);
|
|
175
|
+
};
|
|
176
|
+
if ($2 === c2)
|
|
177
|
+
return this.set(c2, this.$M + r3);
|
|
178
|
+
if ($2 === h)
|
|
179
|
+
return this.set(h, this.$y + r3);
|
|
180
|
+
if ($2 === a2)
|
|
181
|
+
return y2(1);
|
|
182
|
+
if ($2 === o)
|
|
183
|
+
return y2(7);
|
|
184
|
+
var M3 = (d2 = {}, d2[s2] = e2, d2[u] = n2, d2[i2] = t2, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
|
|
185
|
+
return b.w(m3, this);
|
|
186
|
+
}, m2.subtract = function(t3, e3) {
|
|
187
|
+
return this.add(-1 * t3, e3);
|
|
188
|
+
}, m2.format = function(t3) {
|
|
189
|
+
var e3 = this, n3 = this.$locale();
|
|
190
|
+
if (!this.isValid())
|
|
191
|
+
return n3.invalidDate || l;
|
|
192
|
+
var r3 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i3 = b.z(this), s3 = this.$H, u2 = this.$m, a3 = this.$M, o2 = n3.weekdays, c3 = n3.months, f2 = n3.meridiem, h2 = function(t4, n4, i4, s4) {
|
|
193
|
+
return t4 && (t4[n4] || t4(e3, r3)) || i4[n4].slice(0, s4);
|
|
194
|
+
}, d2 = function(t4) {
|
|
195
|
+
return b.s(s3 % 12 || 12, t4, "0");
|
|
196
|
+
}, $2 = f2 || function(t4, e4, n4) {
|
|
197
|
+
var r4 = t4 < 12 ? "AM" : "PM";
|
|
198
|
+
return n4 ? r4.toLowerCase() : r4;
|
|
199
|
+
};
|
|
200
|
+
return r3.replace(y, function(t4, r4) {
|
|
201
|
+
return r4 || function(t5) {
|
|
202
|
+
switch (t5) {
|
|
203
|
+
case "YY":
|
|
204
|
+
return String(e3.$y).slice(-2);
|
|
205
|
+
case "YYYY":
|
|
206
|
+
return b.s(e3.$y, 4, "0");
|
|
207
|
+
case "M":
|
|
208
|
+
return a3 + 1;
|
|
209
|
+
case "MM":
|
|
210
|
+
return b.s(a3 + 1, 2, "0");
|
|
211
|
+
case "MMM":
|
|
212
|
+
return h2(n3.monthsShort, a3, c3, 3);
|
|
213
|
+
case "MMMM":
|
|
214
|
+
return h2(c3, a3);
|
|
215
|
+
case "D":
|
|
216
|
+
return e3.$D;
|
|
217
|
+
case "DD":
|
|
218
|
+
return b.s(e3.$D, 2, "0");
|
|
219
|
+
case "d":
|
|
220
|
+
return String(e3.$W);
|
|
221
|
+
case "dd":
|
|
222
|
+
return h2(n3.weekdaysMin, e3.$W, o2, 2);
|
|
223
|
+
case "ddd":
|
|
224
|
+
return h2(n3.weekdaysShort, e3.$W, o2, 3);
|
|
225
|
+
case "dddd":
|
|
226
|
+
return o2[e3.$W];
|
|
227
|
+
case "H":
|
|
228
|
+
return String(s3);
|
|
229
|
+
case "HH":
|
|
230
|
+
return b.s(s3, 2, "0");
|
|
231
|
+
case "h":
|
|
232
|
+
return d2(1);
|
|
233
|
+
case "hh":
|
|
234
|
+
return d2(2);
|
|
235
|
+
case "a":
|
|
236
|
+
return $2(s3, u2, true);
|
|
237
|
+
case "A":
|
|
238
|
+
return $2(s3, u2, false);
|
|
239
|
+
case "m":
|
|
240
|
+
return String(u2);
|
|
241
|
+
case "mm":
|
|
242
|
+
return b.s(u2, 2, "0");
|
|
243
|
+
case "s":
|
|
244
|
+
return String(e3.$s);
|
|
245
|
+
case "ss":
|
|
246
|
+
return b.s(e3.$s, 2, "0");
|
|
247
|
+
case "SSS":
|
|
248
|
+
return b.s(e3.$ms, 3, "0");
|
|
249
|
+
case "Z":
|
|
250
|
+
return i3;
|
|
251
|
+
}
|
|
252
|
+
return null;
|
|
253
|
+
}(t4) || i3.replace(":", "");
|
|
254
|
+
});
|
|
255
|
+
}, m2.utcOffset = function() {
|
|
256
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
257
|
+
}, m2.diff = function(r3, d2, l2) {
|
|
258
|
+
var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e2, g2 = this - m3, D2 = function() {
|
|
259
|
+
return b.m(y2, m3);
|
|
260
|
+
};
|
|
261
|
+
switch (M3) {
|
|
262
|
+
case h:
|
|
263
|
+
$2 = D2() / 12;
|
|
264
|
+
break;
|
|
265
|
+
case c2:
|
|
266
|
+
$2 = D2();
|
|
267
|
+
break;
|
|
268
|
+
case f:
|
|
269
|
+
$2 = D2() / 3;
|
|
270
|
+
break;
|
|
271
|
+
case o:
|
|
272
|
+
$2 = (g2 - v2) / 6048e5;
|
|
273
|
+
break;
|
|
274
|
+
case a2:
|
|
275
|
+
$2 = (g2 - v2) / 864e5;
|
|
276
|
+
break;
|
|
277
|
+
case u:
|
|
278
|
+
$2 = g2 / n2;
|
|
279
|
+
break;
|
|
280
|
+
case s2:
|
|
281
|
+
$2 = g2 / e2;
|
|
282
|
+
break;
|
|
283
|
+
case i2:
|
|
284
|
+
$2 = g2 / t2;
|
|
285
|
+
break;
|
|
286
|
+
default:
|
|
287
|
+
$2 = g2;
|
|
288
|
+
}
|
|
289
|
+
return l2 ? $2 : b.a($2);
|
|
290
|
+
}, m2.daysInMonth = function() {
|
|
291
|
+
return this.endOf(c2).$D;
|
|
292
|
+
}, m2.$locale = function() {
|
|
293
|
+
return D[this.$L];
|
|
294
|
+
}, m2.locale = function(t3, e3) {
|
|
295
|
+
if (!t3)
|
|
296
|
+
return this.$L;
|
|
297
|
+
var n3 = this.clone(), r3 = w(t3, e3, true);
|
|
298
|
+
return r3 && (n3.$L = r3), n3;
|
|
299
|
+
}, m2.clone = function() {
|
|
300
|
+
return b.w(this.$d, this);
|
|
301
|
+
}, m2.toDate = function() {
|
|
302
|
+
return new Date(this.valueOf());
|
|
303
|
+
}, m2.toJSON = function() {
|
|
304
|
+
return this.isValid() ? this.toISOString() : null;
|
|
305
|
+
}, m2.toISOString = function() {
|
|
306
|
+
return this.$d.toISOString();
|
|
307
|
+
}, m2.toString = function() {
|
|
308
|
+
return this.$d.toUTCString();
|
|
309
|
+
}, M2;
|
|
310
|
+
}(), k = _.prototype;
|
|
311
|
+
return O.prototype = k, [["$ms", r2], ["$s", i2], ["$m", s2], ["$H", u], ["$W", a2], ["$M", c2], ["$y", h], ["$D", d]].forEach(function(t3) {
|
|
312
|
+
k[t3[1]] = function(e3) {
|
|
313
|
+
return this.$g(e3, t3[0], t3[1]);
|
|
255
314
|
};
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
case o:
|
|
267
|
-
$2 = (g2 - v2) / 6048e5;
|
|
268
|
-
break;
|
|
269
|
-
case a2:
|
|
270
|
-
$2 = (g2 - v2) / 864e5;
|
|
271
|
-
break;
|
|
272
|
-
case u:
|
|
273
|
-
$2 = g2 / n2;
|
|
274
|
-
break;
|
|
275
|
-
case s2:
|
|
276
|
-
$2 = g2 / e2;
|
|
277
|
-
break;
|
|
278
|
-
case i2:
|
|
279
|
-
$2 = g2 / t2;
|
|
280
|
-
break;
|
|
281
|
-
default:
|
|
282
|
-
$2 = g2;
|
|
283
|
-
}
|
|
284
|
-
return l2 ? $2 : b.a($2);
|
|
285
|
-
}, m2.daysInMonth = function() {
|
|
286
|
-
return this.endOf(c2).$D;
|
|
287
|
-
}, m2.$locale = function() {
|
|
288
|
-
return D[this.$L];
|
|
289
|
-
}, m2.locale = function(t3, e3) {
|
|
290
|
-
if (!t3)
|
|
291
|
-
return this.$L;
|
|
292
|
-
var n3 = this.clone(), r3 = w(t3, e3, true);
|
|
293
|
-
return r3 && (n3.$L = r3), n3;
|
|
294
|
-
}, m2.clone = function() {
|
|
295
|
-
return b.w(this.$d, this);
|
|
296
|
-
}, m2.toDate = function() {
|
|
297
|
-
return new Date(this.valueOf());
|
|
298
|
-
}, m2.toJSON = function() {
|
|
299
|
-
return this.isValid() ? this.toISOString() : null;
|
|
300
|
-
}, m2.toISOString = function() {
|
|
301
|
-
return this.$d.toISOString();
|
|
302
|
-
}, m2.toString = function() {
|
|
303
|
-
return this.$d.toUTCString();
|
|
304
|
-
}, M2;
|
|
305
|
-
}(), k = _.prototype;
|
|
306
|
-
return O.prototype = k, [["$ms", r2], ["$s", i2], ["$m", s2], ["$H", u], ["$W", a2], ["$M", c2], ["$y", h], ["$D", d]].forEach(function(t3) {
|
|
307
|
-
k[t3[1]] = function(e3) {
|
|
308
|
-
return this.$g(e3, t3[0], t3[1]);
|
|
309
|
-
};
|
|
310
|
-
}), O.extend = function(t3, e3) {
|
|
311
|
-
return t3.$i || (t3(e3, _, O), t3.$i = true), O;
|
|
312
|
-
}, O.locale = w, O.isDayjs = S, O.unix = function(t3) {
|
|
313
|
-
return O(1e3 * t3);
|
|
314
|
-
}, O.en = D[g], O.Ls = D, O.p = {}, O;
|
|
315
|
-
});
|
|
316
|
-
})(dayjs_min);
|
|
317
|
-
var dayjs_minExports = dayjs_min.exports;
|
|
315
|
+
}), O.extend = function(t3, e3) {
|
|
316
|
+
return t3.$i || (t3(e3, _, O), t3.$i = true), O;
|
|
317
|
+
}, O.locale = w, O.isDayjs = S, O.unix = function(t3) {
|
|
318
|
+
return O(1e3 * t3);
|
|
319
|
+
}, O.en = D[g], O.Ls = D, O.p = {}, O;
|
|
320
|
+
});
|
|
321
|
+
})(dayjs_min);
|
|
322
|
+
return dayjs_min.exports;
|
|
323
|
+
}
|
|
324
|
+
var dayjs_minExports = requireDayjs_min();
|
|
318
325
|
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
|
|
319
326
|
var zh = { exports: {} };
|
|
320
327
|
(function(module, exports) {
|
|
321
328
|
!function(e2, _) {
|
|
322
|
-
module.exports = _(
|
|
329
|
+
module.exports = _(requireDayjs_min());
|
|
323
330
|
}(commonjsGlobal, function(e2) {
|
|
324
331
|
function _(e3) {
|
|
325
332
|
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };
|
|
@@ -1152,7 +1159,7 @@ const path_type$1 = "Path type";
|
|
|
1152
1159
|
const only_support_one_yaml$1 = "Only one YAML configuration is supported at a time.";
|
|
1153
1160
|
const not_support$1 = "Not supported";
|
|
1154
1161
|
const stopped$1 = "Stopped";
|
|
1155
|
-
const any_node_ip = "Any node IP";
|
|
1162
|
+
const any_node_ip$1 = "Any node IP";
|
|
1156
1163
|
const dovetail$1 = {
|
|
1157
1164
|
copy: copy$1,
|
|
1158
1165
|
reset_arguments: reset_arguments$1,
|
|
@@ -1308,7 +1315,7 @@ const dovetail$1 = {
|
|
|
1308
1315
|
only_support_one_yaml: only_support_one_yaml$1,
|
|
1309
1316
|
not_support: not_support$1,
|
|
1310
1317
|
stopped: stopped$1,
|
|
1311
|
-
any_node_ip
|
|
1318
|
+
any_node_ip: any_node_ip$1
|
|
1312
1319
|
};
|
|
1313
1320
|
const EN = {
|
|
1314
1321
|
dovetail: dovetail$1
|
|
@@ -1465,10 +1472,7 @@ const out_external_name_desc = "ExternalName 展示 <strong>external-ip</strong>
|
|
|
1465
1472
|
const only_support_one_yaml = "一次仅支持输入一个 YAML 配置。";
|
|
1466
1473
|
const not_support = "不支持";
|
|
1467
1474
|
const stopped = "已停止";
|
|
1468
|
-
const
|
|
1469
|
-
const persistent_volumn = "持久卷";
|
|
1470
|
-
const provisioner = "制备器";
|
|
1471
|
-
const file_system = "文件系统";
|
|
1475
|
+
const any_node_ip = "任意节点 IP";
|
|
1472
1476
|
const dovetail = {
|
|
1473
1477
|
copy,
|
|
1474
1478
|
reset_arguments,
|
|
@@ -1625,10 +1629,7 @@ const dovetail = {
|
|
|
1625
1629
|
only_support_one_yaml,
|
|
1626
1630
|
not_support,
|
|
1627
1631
|
stopped,
|
|
1628
|
-
|
|
1629
|
-
persistent_volumn,
|
|
1630
|
-
provisioner,
|
|
1631
|
-
file_system
|
|
1632
|
+
any_node_ip
|
|
1632
1633
|
};
|
|
1633
1634
|
const ZH = {
|
|
1634
1635
|
dovetail
|
|
@@ -8007,15 +8008,16 @@ function resolveRef(schema, schemas, options) {
|
|
|
8007
8008
|
return schema;
|
|
8008
8009
|
}
|
|
8009
8010
|
class K8sOpenAPI {
|
|
8010
|
-
constructor(resourceBasePath) {
|
|
8011
|
+
constructor(resourceBasePath, pathPrefix) {
|
|
8011
8012
|
__publicField(this, "response", null);
|
|
8012
8013
|
__publicField(this, "apiVersion");
|
|
8013
8014
|
this.resourceBasePath = resourceBasePath;
|
|
8015
|
+
this.pathPrefix = pathPrefix;
|
|
8014
8016
|
this.apiVersion = getApiVersion(resourceBasePath);
|
|
8015
8017
|
}
|
|
8016
8018
|
async fetch() {
|
|
8017
8019
|
const response = await fetch(
|
|
8018
|
-
|
|
8020
|
+
`${this.pathPrefix}${this.resourceBasePath}`
|
|
8019
8021
|
);
|
|
8020
8022
|
return response.json();
|
|
8021
8023
|
}
|
|
@@ -8047,6 +8049,9 @@ class K8sOpenAPI {
|
|
|
8047
8049
|
return schema;
|
|
8048
8050
|
}
|
|
8049
8051
|
}
|
|
8052
|
+
const ConstantsContext = createContext({
|
|
8053
|
+
schemaUrlPrefix: ""
|
|
8054
|
+
});
|
|
8050
8055
|
function useSchema(options) {
|
|
8051
8056
|
var _a;
|
|
8052
8057
|
const [schema, setSchema] = useState(null);
|
|
@@ -8054,12 +8059,13 @@ function useSchema(options) {
|
|
|
8054
8059
|
const [error, setError] = useState(null);
|
|
8055
8060
|
const useResourceResult = useResource();
|
|
8056
8061
|
const resource = (options == null ? void 0 : options.resource) || useResourceResult.resource;
|
|
8062
|
+
const { schemaUrlPrefix } = useContext(ConstantsContext);
|
|
8057
8063
|
const openapi = useMemo(
|
|
8058
8064
|
() => {
|
|
8059
8065
|
var _a2;
|
|
8060
|
-
return new K8sOpenAPI((_a2 = resource == null ? void 0 : resource.meta) == null ? void 0 : _a2.resourceBasePath);
|
|
8066
|
+
return new K8sOpenAPI((_a2 = resource == null ? void 0 : resource.meta) == null ? void 0 : _a2.resourceBasePath, schemaUrlPrefix);
|
|
8061
8067
|
},
|
|
8062
|
-
[(_a = resource == null ? void 0 : resource.meta) == null ? void 0 : _a.resourceBasePath]
|
|
8068
|
+
[(_a = resource == null ? void 0 : resource.meta) == null ? void 0 : _a.resourceBasePath, schemaUrlPrefix]
|
|
8063
8069
|
);
|
|
8064
8070
|
const fetchSchema = useCallback(async () => {
|
|
8065
8071
|
var _a2;
|
|
@@ -8237,7 +8243,6 @@ function ValueDisplay(props) {
|
|
|
8237
8243
|
}
|
|
8238
8244
|
const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8239
8245
|
__proto__: null,
|
|
8240
|
-
ValueDisplay,
|
|
8241
8246
|
default: ValueDisplay
|
|
8242
8247
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8243
8248
|
function getSecondsDiff(startDate, endDate) {
|
|
@@ -9481,7 +9486,7 @@ const SERVER_INSTANCE_INIT_VALUE = {
|
|
|
9481
9486
|
}
|
|
9482
9487
|
}
|
|
9483
9488
|
};
|
|
9484
|
-
const
|
|
9489
|
+
const REDEPLOY_TIMESTAMP_KEY = "kubectl.kubernetes.io/restartedAt";
|
|
9485
9490
|
const SECRET_OPAQUE_INIT_VALUE = {
|
|
9486
9491
|
"apiVersion": "v1",
|
|
9487
9492
|
"kind": "Secret",
|
|
@@ -9555,24 +9560,6 @@ const SECRET_CUSTOM_INIT_VALUE = {
|
|
|
9555
9560
|
"type": "",
|
|
9556
9561
|
"data": {}
|
|
9557
9562
|
};
|
|
9558
|
-
const NODE_INIT_VALUE = {
|
|
9559
|
-
"apiVersion": "v1",
|
|
9560
|
-
"kind": "Node",
|
|
9561
|
-
"metadata": {
|
|
9562
|
-
"name": "example",
|
|
9563
|
-
"namespace": "default"
|
|
9564
|
-
},
|
|
9565
|
-
"spec": {}
|
|
9566
|
-
};
|
|
9567
|
-
const STORAGE_CLASS_INIT_VALUE = {
|
|
9568
|
-
"apiVersion": "storage.k8s.io/v1",
|
|
9569
|
-
"kind": "StorageClass",
|
|
9570
|
-
"metadata": {
|
|
9571
|
-
"name": "example",
|
|
9572
|
-
"namespace": "default"
|
|
9573
|
-
},
|
|
9574
|
-
"spec": {}
|
|
9575
|
-
};
|
|
9576
9563
|
var WorkloadState = /* @__PURE__ */ ((WorkloadState2) => {
|
|
9577
9564
|
WorkloadState2["Terminated"] = "terminated";
|
|
9578
9565
|
WorkloadState2["UPDATING"] = "updating";
|
|
@@ -9733,8 +9720,10 @@ class WorkloadModel extends WorkloadBaseModel {
|
|
|
9733
9720
|
const annotations = lodashExports.get(newOne, path2, {});
|
|
9734
9721
|
lodashExports.set(newOne, path2, {
|
|
9735
9722
|
...annotations,
|
|
9736
|
-
[
|
|
9723
|
+
[REDEPLOY_TIMESTAMP_KEY]: (/* @__PURE__ */ new Date()).toISOString().replace(/\.\d+Z$/, "Z")
|
|
9737
9724
|
});
|
|
9725
|
+
console.log("annotations", annotations);
|
|
9726
|
+
console.log("newOne", newOne);
|
|
9738
9727
|
return newOne;
|
|
9739
9728
|
}
|
|
9740
9729
|
scale(value2) {
|
|
@@ -10058,69 +10047,6 @@ class ServiceModel extends ResourceModel {
|
|
|
10058
10047
|
});
|
|
10059
10048
|
}
|
|
10060
10049
|
}
|
|
10061
|
-
var NodeRole = /* @__PURE__ */ ((NodeRole2) => {
|
|
10062
|
-
NodeRole2["ControlPlane"] = "Control Plane";
|
|
10063
|
-
NodeRole2["Worker"] = "Worker";
|
|
10064
|
-
return NodeRole2;
|
|
10065
|
-
})(NodeRole || {});
|
|
10066
|
-
class NodeModel extends WorkloadBaseModel {
|
|
10067
|
-
constructor(_rawYaml, _globalStore) {
|
|
10068
|
-
super(_rawYaml, _globalStore);
|
|
10069
|
-
this._rawYaml = _rawYaml;
|
|
10070
|
-
this._globalStore = _globalStore;
|
|
10071
|
-
}
|
|
10072
|
-
get role() {
|
|
10073
|
-
return "node-role.kubernetes.io/control-plane" in (this.metadata.labels || {}) ? "Control Plane" : "Worker";
|
|
10074
|
-
}
|
|
10075
|
-
get ip() {
|
|
10076
|
-
var _a, _b;
|
|
10077
|
-
return (_b = (_a = this._rawYaml.status.addresses) == null ? void 0 : _a.find((add) => add.type === "InternalIP")) == null ? void 0 : _b.address;
|
|
10078
|
-
}
|
|
10079
|
-
get nodeGroupName() {
|
|
10080
|
-
var _a;
|
|
10081
|
-
return (_a = this.metadata.labels) == null ? void 0 : _a["cape.infrastructure.cluster.x-k8s.io/node-group"];
|
|
10082
|
-
}
|
|
10083
|
-
get isControlPlane() {
|
|
10084
|
-
var _a;
|
|
10085
|
-
if (!((_a = this == null ? void 0 : this.metadata) == null ? void 0 : _a.labels))
|
|
10086
|
-
return false;
|
|
10087
|
-
return "node-role.kubernetes.io/control-plane" in this.metadata.labels;
|
|
10088
|
-
}
|
|
10089
|
-
}
|
|
10090
|
-
class StorageClassModel extends ResourceModel {
|
|
10091
|
-
constructor(_rawYaml, _globalStore) {
|
|
10092
|
-
super(_rawYaml, _globalStore);
|
|
10093
|
-
__publicField(this, "pvs", []);
|
|
10094
|
-
this._rawYaml = _rawYaml;
|
|
10095
|
-
this._globalStore = _globalStore;
|
|
10096
|
-
}
|
|
10097
|
-
async init() {
|
|
10098
|
-
const pvs = await this._globalStore.get("persistentvolumes", {
|
|
10099
|
-
resourceBasePath: "/api/v1",
|
|
10100
|
-
kind: "PersistentVolume"
|
|
10101
|
-
});
|
|
10102
|
-
this.pvs = pvs.items.filter(
|
|
10103
|
-
(pv) => {
|
|
10104
|
-
var _a;
|
|
10105
|
-
return ((_a = pv.spec) == null ? void 0 : _a.storageClassName) === this.metadata.name;
|
|
10106
|
-
}
|
|
10107
|
-
);
|
|
10108
|
-
}
|
|
10109
|
-
}
|
|
10110
|
-
class PersistentVolumeModel extends ResourceModel {
|
|
10111
|
-
constructor(_rawYaml, _globalStore) {
|
|
10112
|
-
super(_rawYaml, _globalStore);
|
|
10113
|
-
this._rawYaml = _rawYaml;
|
|
10114
|
-
this._globalStore = _globalStore;
|
|
10115
|
-
}
|
|
10116
|
-
}
|
|
10117
|
-
class PersistentVolumeClaimModel extends ResourceModel {
|
|
10118
|
-
constructor(_rawYaml, _globalStore) {
|
|
10119
|
-
super(_rawYaml, _globalStore);
|
|
10120
|
-
this._rawYaml = _rawYaml;
|
|
10121
|
-
this._globalStore = _globalStore;
|
|
10122
|
-
}
|
|
10123
|
-
}
|
|
10124
10050
|
const index_1lzkrja = "";
|
|
10125
10051
|
const ServiceInClusterAccessComponent = ({
|
|
10126
10052
|
service
|
|
@@ -10517,8 +10443,6 @@ var RESOURCE_GROUP = /* @__PURE__ */ ((RESOURCE_GROUP2) => {
|
|
|
10517
10443
|
RESOURCE_GROUP2["CLUSTER"] = "CLUSTER";
|
|
10518
10444
|
RESOURCE_GROUP2["SERVICE"] = "SERVICE";
|
|
10519
10445
|
RESOURCE_GROUP2["SERVICE_AND_NETWORK"] = "SERVICE_AND_NETWORK";
|
|
10520
|
-
RESOURCE_GROUP2["CONFIG"] = "CONFIG";
|
|
10521
|
-
RESOURCE_GROUP2["NODE_MANAGEMENT"] = "NODE_MANAGEMENT";
|
|
10522
10446
|
return RESOURCE_GROUP2;
|
|
10523
10447
|
})(RESOURCE_GROUP || {});
|
|
10524
10448
|
var FormType = /* @__PURE__ */ ((FormType2) => {
|
|
@@ -11035,7 +10959,7 @@ const index_cbhkdt = "";
|
|
|
11035
10959
|
const LinkStyle = "l1vnw9x0";
|
|
11036
10960
|
const ResourceLink = (props) => {
|
|
11037
10961
|
const {
|
|
11038
|
-
|
|
10962
|
+
name: name2,
|
|
11039
10963
|
namespace: namespace2,
|
|
11040
10964
|
resourceId
|
|
11041
10965
|
} = props;
|
|
@@ -11044,9 +10968,9 @@ const ResourceLink = (props) => {
|
|
|
11044
10968
|
const go = useGo();
|
|
11045
10969
|
const onClick = () => {
|
|
11046
10970
|
go({
|
|
11047
|
-
to: navigation.showUrl(
|
|
10971
|
+
to: navigation.showUrl(name2, ""),
|
|
11048
10972
|
query: {
|
|
11049
|
-
id:
|
|
10973
|
+
id: `${namespace2}/${resourceId}`
|
|
11050
10974
|
},
|
|
11051
10975
|
options: {
|
|
11052
10976
|
keepQuery: true
|
|
@@ -11098,7 +11022,7 @@ const IngressRulesTable = ({ ingress }) => {
|
|
|
11098
11022
|
return record.serviceName ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
11099
11023
|
ResourceLink,
|
|
11100
11024
|
{
|
|
11101
|
-
|
|
11025
|
+
name: "services",
|
|
11102
11026
|
namespace: ingress.metadata.namespace || "default",
|
|
11103
11027
|
resourceId: serviceName
|
|
11104
11028
|
}
|
|
@@ -11125,7 +11049,7 @@ const IngressRulesTable = ({ ingress }) => {
|
|
|
11125
11049
|
return secretName ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
11126
11050
|
ResourceLink,
|
|
11127
11051
|
{
|
|
11128
|
-
|
|
11052
|
+
name: "secrets",
|
|
11129
11053
|
namespace: ingress.metadata.namespace || "default",
|
|
11130
11054
|
resourceId: secretName
|
|
11131
11055
|
}
|
|
@@ -11252,7 +11176,7 @@ function Tabs(props) {
|
|
|
11252
11176
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(kit.tabsTabPane, { tab: tab.title, children: tab.children }, tab.title);
|
|
11253
11177
|
}) });
|
|
11254
11178
|
}
|
|
11255
|
-
const
|
|
11179
|
+
const ShowContent_vvz9yc = "";
|
|
11256
11180
|
const ShowContentWrapperStyle = "s9agep2";
|
|
11257
11181
|
const BackButton = "bo89gfi";
|
|
11258
11182
|
const ToolBarWrapper = "t1ohe42f";
|
|
@@ -11284,7 +11208,7 @@ function ShowGroupComponent(props) {
|
|
|
11284
11208
|
});
|
|
11285
11209
|
}
|
|
11286
11210
|
const ShowContent = (props) => {
|
|
11287
|
-
var _a, _b, _c
|
|
11211
|
+
var _a, _b, _c;
|
|
11288
11212
|
const {
|
|
11289
11213
|
showConfig,
|
|
11290
11214
|
formatter,
|
|
@@ -11324,8 +11248,6 @@ const ShowContent = (props) => {
|
|
|
11324
11248
|
if (!record)
|
|
11325
11249
|
return null;
|
|
11326
11250
|
return fields.map((field) => {
|
|
11327
|
-
if (field.hidden)
|
|
11328
|
-
return null;
|
|
11329
11251
|
let content;
|
|
11330
11252
|
const value2 = get$3(record, field.path);
|
|
11331
11253
|
if (field.renderContent) {
|
|
@@ -11401,7 +11323,7 @@ const ShowContent = (props) => {
|
|
|
11401
11323
|
state: stateDisplay
|
|
11402
11324
|
}) : void 0]
|
|
11403
11325
|
}), /* @__PURE__ */ jsxRuntimeExports.jsxs(kit.space, {
|
|
11404
|
-
children: [
|
|
11326
|
+
children: [/* @__PURE__ */ jsxRuntimeExports.jsx(CanAccess, {
|
|
11405
11327
|
resource: resource == null ? void 0 : resource.name,
|
|
11406
11328
|
action: AccessControlAuth.Edit,
|
|
11407
11329
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(kit.button, {
|
|
@@ -11412,7 +11334,7 @@ const ShowContent = (props) => {
|
|
|
11412
11334
|
prefixIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(EditPen16GradientBlueIcon, {}),
|
|
11413
11335
|
children: t2("dovetail.edit_yaml")
|
|
11414
11336
|
})
|
|
11415
|
-
})
|
|
11337
|
+
}), /* @__PURE__ */ jsxRuntimeExports.jsx(Dropdown, {
|
|
11416
11338
|
record,
|
|
11417
11339
|
size: "large"
|
|
11418
11340
|
})]
|
|
@@ -12162,36 +12084,6 @@ const DurationField = (i18n2) => {
|
|
|
12162
12084
|
}
|
|
12163
12085
|
};
|
|
12164
12086
|
};
|
|
12165
|
-
const StorageClassProvisionerField = (i18n2) => {
|
|
12166
|
-
return {
|
|
12167
|
-
key: "provisioner",
|
|
12168
|
-
path: ["provisioner"],
|
|
12169
|
-
title: i18n2.t("dovetail.provisioner")
|
|
12170
|
-
};
|
|
12171
|
-
};
|
|
12172
|
-
const StorageClassFsTypeField = (i18n2) => {
|
|
12173
|
-
return {
|
|
12174
|
-
key: "fstype",
|
|
12175
|
-
path: ["parameters", "csi.storage.k8s.io/fstype"],
|
|
12176
|
-
title: i18n2.t("dovetail.file_system")
|
|
12177
|
-
};
|
|
12178
|
-
};
|
|
12179
|
-
const StorageClassPvField = () => {
|
|
12180
|
-
return {
|
|
12181
|
-
key: "pvs",
|
|
12182
|
-
path: ["pvs"],
|
|
12183
|
-
renderContent: (pvs) => {
|
|
12184
|
-
return pvs.map((pv) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
12185
|
-
ResourceLink,
|
|
12186
|
-
{
|
|
12187
|
-
resourceName: "persistentvolumes",
|
|
12188
|
-
namespace: pv.metadata.namespace || "",
|
|
12189
|
-
resourceId: pv.id
|
|
12190
|
-
}
|
|
12191
|
-
) }, pv.metadata.name));
|
|
12192
|
-
}
|
|
12193
|
-
};
|
|
12194
|
-
};
|
|
12195
12087
|
function __rest(s2, e2) {
|
|
12196
12088
|
var t2 = {};
|
|
12197
12089
|
for (var p in s2)
|
|
@@ -18415,27 +18307,21 @@ const JobsGroup = () => ({
|
|
|
18415
18307
|
});
|
|
18416
18308
|
const IngressRulesGroup = (i18n2) => ({
|
|
18417
18309
|
title: i18n2.t("dovetail.rule"),
|
|
18418
|
-
areas: [
|
|
18419
|
-
|
|
18420
|
-
|
|
18421
|
-
}
|
|
18422
|
-
]
|
|
18310
|
+
areas: [{
|
|
18311
|
+
fields: [IngressRulesTableTabField()]
|
|
18312
|
+
}]
|
|
18423
18313
|
});
|
|
18424
18314
|
const PodSelectorGroup = (i18n2) => ({
|
|
18425
18315
|
title: i18n2.t("dovetail.pod_selector"),
|
|
18426
|
-
areas: [
|
|
18427
|
-
|
|
18428
|
-
|
|
18429
|
-
}
|
|
18430
|
-
]
|
|
18316
|
+
areas: [{
|
|
18317
|
+
fields: [PodSelectorField()]
|
|
18318
|
+
}]
|
|
18431
18319
|
});
|
|
18432
18320
|
const PortsGroup = (i18n2) => ({
|
|
18433
18321
|
title: i18n2.t("dovetail.port"),
|
|
18434
|
-
areas: [
|
|
18435
|
-
|
|
18436
|
-
|
|
18437
|
-
}
|
|
18438
|
-
]
|
|
18322
|
+
areas: [{
|
|
18323
|
+
fields: [PortsTableField()]
|
|
18324
|
+
}]
|
|
18439
18325
|
});
|
|
18440
18326
|
const DataGroup = (i18n2) => ({
|
|
18441
18327
|
title: i18n2.t("dovetail.data"),
|
|
@@ -18489,14 +18375,6 @@ const NetworkPolicyEgressRulesGroup = (i18n2) => ({
|
|
|
18489
18375
|
}
|
|
18490
18376
|
]
|
|
18491
18377
|
});
|
|
18492
|
-
const StorageClassPvGroup = (i18n2) => ({
|
|
18493
|
-
title: i18n2.t("dovetail.persistent_volumn"),
|
|
18494
|
-
areas: [
|
|
18495
|
-
{
|
|
18496
|
-
fields: [StorageClassPvField()]
|
|
18497
|
-
}
|
|
18498
|
-
]
|
|
18499
|
-
});
|
|
18500
18378
|
const PageShow = (props) => {
|
|
18501
18379
|
var _a;
|
|
18502
18380
|
const parsed = useParsed();
|
|
@@ -22373,9 +22251,6 @@ const RefineFormContent = (props) => {
|
|
|
22373
22251
|
children: value2
|
|
22374
22252
|
});
|
|
22375
22253
|
}
|
|
22376
|
-
if (c2 == null ? void 0 : c2.render) {
|
|
22377
|
-
ele = c2.render(value2, onChange, formValue, onBlur, action, control);
|
|
22378
|
-
}
|
|
22379
22254
|
if (c2.helperText) {
|
|
22380
22255
|
ele = /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, {
|
|
22381
22256
|
size: 4,
|
|
@@ -22387,6 +22262,9 @@ const RefineFormContent = (props) => {
|
|
|
22387
22262
|
})]
|
|
22388
22263
|
});
|
|
22389
22264
|
}
|
|
22265
|
+
if (c2 == null ? void 0 : c2.render) {
|
|
22266
|
+
ele = c2.render(value2, onChange, formValue, onBlur, action);
|
|
22267
|
+
}
|
|
22390
22268
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Form.Item, {
|
|
22391
22269
|
label: c2.label,
|
|
22392
22270
|
colon: false,
|
|
@@ -23096,7 +22974,7 @@ const Separator = () => {
|
|
|
23096
22974
|
});
|
|
23097
22975
|
};
|
|
23098
22976
|
const MonacoYamlEditor = React__default.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
|
|
23099
|
-
const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-
|
|
22977
|
+
const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-fa18bdbd.js"));
|
|
23100
22978
|
const YamlEditorComponent = forwardRef(
|
|
23101
22979
|
function YamlEditorComponent2(props, ref) {
|
|
23102
22980
|
const {
|
|
@@ -24239,7 +24117,7 @@ const ReferenceLink = (props) => {
|
|
|
24239
24117
|
ResourceLink,
|
|
24240
24118
|
{
|
|
24241
24119
|
resourceId: ownerReference.name,
|
|
24242
|
-
|
|
24120
|
+
name: resource.name || "",
|
|
24243
24121
|
namespace: namespace2
|
|
24244
24122
|
}
|
|
24245
24123
|
);
|
|
@@ -24254,32 +24132,6 @@ const TextTags = (props) => {
|
|
|
24254
24132
|
});
|
|
24255
24133
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: tags });
|
|
24256
24134
|
};
|
|
24257
|
-
function ResourceSelect(props) {
|
|
24258
|
-
const { resource, resourceBasePath, kind, selectProps, value: value2, onChange } = props;
|
|
24259
|
-
const { data: data2, isLoading, isError } = useList({
|
|
24260
|
-
resource,
|
|
24261
|
-
meta: {
|
|
24262
|
-
resourceBasePath,
|
|
24263
|
-
kind
|
|
24264
|
-
},
|
|
24265
|
-
pagination: {
|
|
24266
|
-
mode: "off"
|
|
24267
|
-
}
|
|
24268
|
-
});
|
|
24269
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
24270
|
-
Select,
|
|
24271
|
-
{
|
|
24272
|
-
input: {
|
|
24273
|
-
value: value2,
|
|
24274
|
-
onChange
|
|
24275
|
-
},
|
|
24276
|
-
loading: isLoading,
|
|
24277
|
-
error: isError,
|
|
24278
|
-
...selectProps,
|
|
24279
|
-
children: data2 == null ? void 0 : data2.data.map((namespace2) => /* @__PURE__ */ jsxRuntimeExports.jsx(AntdOption, { value: namespace2.metadata.name, children: namespace2.metadata.name }, namespace2.metadata.name))
|
|
24280
|
-
}
|
|
24281
|
-
);
|
|
24282
|
-
}
|
|
24283
24135
|
const IngressRulesComponent = ({ ingress }) => {
|
|
24284
24136
|
const kit = useUIKit();
|
|
24285
24137
|
const result = ingress.flattenedRules.map((r2) => {
|
|
@@ -24294,7 +24146,7 @@ const IngressRulesComponent = ({ ingress }) => {
|
|
|
24294
24146
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
24295
24147
|
ResourceLink,
|
|
24296
24148
|
{
|
|
24297
|
-
|
|
24149
|
+
name: "services",
|
|
24298
24150
|
namespace: ingress.metadata.namespace || "default",
|
|
24299
24151
|
resourceId: r2.serviceName
|
|
24300
24152
|
}
|
|
@@ -24839,81 +24691,12 @@ const PortMappingColumnRenderer = (i18n2, clusterVip) => {
|
|
|
24839
24691
|
}
|
|
24840
24692
|
};
|
|
24841
24693
|
};
|
|
24842
|
-
const ProvisionerColumnRenderer = (i18n2) => {
|
|
24843
|
-
return {
|
|
24844
|
-
key: "provisioner",
|
|
24845
|
-
display: true,
|
|
24846
|
-
dataIndex: ["provisioner"],
|
|
24847
|
-
title: i18n2.t("dovetail.provisioner"),
|
|
24848
|
-
width: 120,
|
|
24849
|
-
sortable: true
|
|
24850
|
-
};
|
|
24851
|
-
};
|
|
24852
|
-
const FsTypeColumnRenderer = (i18n2) => {
|
|
24853
|
-
return {
|
|
24854
|
-
key: "fstype",
|
|
24855
|
-
display: true,
|
|
24856
|
-
dataIndex: ["parameters", "csi.storage.k8s.io/fstype"],
|
|
24857
|
-
title: i18n2.t("dovetail.file_system"),
|
|
24858
|
-
width: 120,
|
|
24859
|
-
sortable: true
|
|
24860
|
-
};
|
|
24861
|
-
};
|
|
24862
|
-
const PVCapacityColumnRenderer = (i18n2) => {
|
|
24863
|
-
return {
|
|
24864
|
-
key: "capacity",
|
|
24865
|
-
display: true,
|
|
24866
|
-
dataIndex: ["spec", "capacity", "storage"],
|
|
24867
|
-
title: i18n2.t("dovetail.capacity"),
|
|
24868
|
-
width: 120,
|
|
24869
|
-
sortable: true
|
|
24870
|
-
};
|
|
24871
|
-
};
|
|
24872
|
-
const PVStorageClassColumnRenderer = (i18n2) => {
|
|
24873
|
-
return {
|
|
24874
|
-
key: "storageClass",
|
|
24875
|
-
display: true,
|
|
24876
|
-
dataIndex: ["spec", "storageClassName"],
|
|
24877
|
-
title: i18n2.t("dovetail.storage_class"),
|
|
24878
|
-
width: 120,
|
|
24879
|
-
sortable: true
|
|
24880
|
-
};
|
|
24881
|
-
};
|
|
24882
|
-
const PVPhaseColumnRenderer = (i18n2) => {
|
|
24883
|
-
return {
|
|
24884
|
-
key: "phase",
|
|
24885
|
-
display: true,
|
|
24886
|
-
dataIndex: ["status", "phase"],
|
|
24887
|
-
title: i18n2.t("dovetail.phase"),
|
|
24888
|
-
width: 120,
|
|
24889
|
-
sortable: true
|
|
24890
|
-
};
|
|
24891
|
-
};
|
|
24892
|
-
const PVModeColumnRenderer = (i18n2) => {
|
|
24893
|
-
return {
|
|
24894
|
-
key: "mode",
|
|
24895
|
-
display: true,
|
|
24896
|
-
dataIndex: ["spec", "volumeMode"],
|
|
24897
|
-
title: i18n2.t("dovetail.volume_mode"),
|
|
24898
|
-
width: 120,
|
|
24899
|
-
sortable: true
|
|
24900
|
-
};
|
|
24901
|
-
};
|
|
24902
|
-
const PVAccessModeColumnRenderer = (i18n2) => {
|
|
24903
|
-
return {
|
|
24904
|
-
key: "accessMode",
|
|
24905
|
-
display: true,
|
|
24906
|
-
dataIndex: ["spec", "accessModes"],
|
|
24907
|
-
title: i18n2.t("dovetail.access_mode"),
|
|
24908
|
-
width: 120,
|
|
24909
|
-
sortable: true
|
|
24910
|
-
};
|
|
24911
|
-
};
|
|
24912
24694
|
const styles = "";
|
|
24913
24695
|
const Dovetail = (props) => {
|
|
24914
24696
|
const {
|
|
24915
24697
|
resourcesConfig,
|
|
24916
24698
|
urlPrefix = "",
|
|
24699
|
+
schemaUrlPrefix,
|
|
24917
24700
|
Layout: Layout2,
|
|
24918
24701
|
history,
|
|
24919
24702
|
globalStore,
|
|
@@ -24952,7 +24735,7 @@ const Dovetail = (props) => {
|
|
|
24952
24735
|
};
|
|
24953
24736
|
return provider;
|
|
24954
24737
|
}, [msg]);
|
|
24955
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Router, { history, children: /* @__PURE__ */ jsxRuntimeExports.jsx(KitStoreProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(GlobalStoreContext.Provider, { value: { globalStore }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ConfigsContext.Provider, { value: keyBy(resourcesConfig, "name"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
24738
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Router, { history, children: /* @__PURE__ */ jsxRuntimeExports.jsx(KitStoreProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(GlobalStoreContext.Provider, { value: { globalStore }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ConfigsContext.Provider, { value: keyBy(resourcesConfig, "name"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(ConstantsContext.Provider, { value: { schemaUrlPrefix }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
24956
24739
|
Refine,
|
|
24957
24740
|
{
|
|
24958
24741
|
dataProvider: {
|
|
@@ -24984,7 +24767,7 @@ const Dovetail = (props) => {
|
|
|
24984
24767
|
}),
|
|
24985
24768
|
children: content
|
|
24986
24769
|
}
|
|
24987
|
-
) }) }) }) });
|
|
24770
|
+
) }) }) }) }) });
|
|
24988
24771
|
};
|
|
24989
24772
|
const ModelMap = {
|
|
24990
24773
|
Deployment: DeploymentModel,
|
|
@@ -24996,11 +24779,7 @@ const ModelMap = {
|
|
|
24996
24779
|
Event: EventModel,
|
|
24997
24780
|
Ingress: IngressModel,
|
|
24998
24781
|
NetworkPolicy: NetworkPolicyModel,
|
|
24999
|
-
Service: ServiceModel
|
|
25000
|
-
Node: NodeModel,
|
|
25001
|
-
StorageClass: StorageClassModel,
|
|
25002
|
-
PersistentVolume: PersistentVolumeModel,
|
|
25003
|
-
PersistentVolumeClaim: PersistentVolumeClaimModel
|
|
24782
|
+
Service: ServiceModel
|
|
25004
24783
|
};
|
|
25005
24784
|
class ModelPlugin {
|
|
25006
24785
|
constructor() {
|
|
@@ -25126,192 +24905,172 @@ const relationPlugin = new RelationPlugin();
|
|
|
25126
24905
|
const ProviderPlugins = [relationPlugin, modelPlugin];
|
|
25127
24906
|
const dovetailRefineI18n = i18n;
|
|
25128
24907
|
export {
|
|
25129
|
-
|
|
24908
|
+
PodContainersTable as $,
|
|
25130
24909
|
AgeColumnRenderer as A,
|
|
25131
|
-
|
|
24910
|
+
useDownloadYAML as B,
|
|
25132
24911
|
CommonSorter as C,
|
|
25133
24912
|
DurationColumnRenderer as D,
|
|
25134
|
-
|
|
25135
|
-
|
|
25136
|
-
|
|
25137
|
-
|
|
24913
|
+
useEdit as E,
|
|
24914
|
+
useGlobalStore as F,
|
|
24915
|
+
useOpenForm as G,
|
|
24916
|
+
index as H,
|
|
25138
24917
|
IngressRulesColumnRenderer as I,
|
|
25139
|
-
|
|
25140
|
-
|
|
25141
|
-
|
|
24918
|
+
Breadcrumb as J,
|
|
24919
|
+
NameInputWidget as K,
|
|
24920
|
+
dnsSubDomainRules as L,
|
|
25142
24921
|
ModalStyle as M,
|
|
25143
24922
|
NameColumnRenderer as N,
|
|
25144
|
-
|
|
24923
|
+
rfc1123LabelRules as O,
|
|
25145
24924
|
PlainTextNameColumnRenderer as P,
|
|
25146
|
-
|
|
24925
|
+
rfc1035LabelRules as Q,
|
|
25147
24926
|
ReplicasColumnRenderer as R,
|
|
25148
24927
|
StateDisplayColumnRenderer as S,
|
|
25149
|
-
|
|
25150
|
-
|
|
25151
|
-
|
|
24928
|
+
NamespaceSelectWidget as T,
|
|
24929
|
+
namespaceRules as U,
|
|
24930
|
+
KeyValueListWidget as V,
|
|
25152
24931
|
WorkloadImageColumnRenderer as W,
|
|
25153
|
-
|
|
25154
|
-
|
|
25155
|
-
|
|
25156
|
-
|
|
24932
|
+
MetadataForm as X,
|
|
24933
|
+
PageShow as Y,
|
|
24934
|
+
Time as Z,
|
|
24935
|
+
ConditionsTable as _,
|
|
25157
24936
|
useSchema as a,
|
|
25158
|
-
|
|
25159
|
-
|
|
25160
|
-
|
|
25161
|
-
|
|
25162
|
-
|
|
25163
|
-
|
|
25164
|
-
|
|
25165
|
-
|
|
25166
|
-
|
|
25167
|
-
|
|
25168
|
-
|
|
25169
|
-
|
|
25170
|
-
|
|
25171
|
-
|
|
25172
|
-
|
|
25173
|
-
|
|
25174
|
-
|
|
25175
|
-
|
|
25176
|
-
|
|
25177
|
-
|
|
25178
|
-
|
|
25179
|
-
|
|
25180
|
-
|
|
25181
|
-
|
|
25182
|
-
|
|
25183
|
-
|
|
25184
|
-
|
|
25185
|
-
|
|
25186
|
-
|
|
25187
|
-
|
|
25188
|
-
|
|
25189
|
-
|
|
25190
|
-
|
|
25191
|
-
|
|
25192
|
-
|
|
25193
|
-
|
|
25194
|
-
|
|
25195
|
-
|
|
25196
|
-
|
|
25197
|
-
|
|
25198
|
-
|
|
25199
|
-
|
|
25200
|
-
|
|
25201
|
-
|
|
25202
|
-
|
|
25203
|
-
|
|
25204
|
-
|
|
25205
|
-
|
|
25206
|
-
|
|
25207
|
-
|
|
25208
|
-
|
|
25209
|
-
|
|
25210
|
-
|
|
25211
|
-
|
|
25212
|
-
|
|
25213
|
-
|
|
25214
|
-
|
|
25215
|
-
|
|
25216
|
-
|
|
25217
|
-
|
|
25218
|
-
|
|
25219
|
-
|
|
25220
|
-
|
|
25221
|
-
|
|
24937
|
+
ListPage as a$,
|
|
24938
|
+
WorkloadDropdown as a0,
|
|
24939
|
+
ReplicasDropdown as a1,
|
|
24940
|
+
CreateButton as a2,
|
|
24941
|
+
ImageNames as a3,
|
|
24942
|
+
ResourceList as a4,
|
|
24943
|
+
ResourceShow as a5,
|
|
24944
|
+
ResourceForm as a6,
|
|
24945
|
+
ResourceCRUD as a7,
|
|
24946
|
+
WorkloadPodsTable as a8,
|
|
24947
|
+
CronJobDropdown as a9,
|
|
24948
|
+
NamespaceField as aA,
|
|
24949
|
+
AgeField as aB,
|
|
24950
|
+
LabelsField as aC,
|
|
24951
|
+
AnnotationsField as aD,
|
|
24952
|
+
ServiceInnerClusterAccessField as aE,
|
|
24953
|
+
ServiceOutClusterAccessField as aF,
|
|
24954
|
+
PodSelectorField as aG,
|
|
24955
|
+
PortsTableField as aH,
|
|
24956
|
+
DurationField as aI,
|
|
24957
|
+
EventsTab as aJ,
|
|
24958
|
+
PodLogTab as aK,
|
|
24959
|
+
BasicGroup as aL,
|
|
24960
|
+
PodsGroup as aM,
|
|
24961
|
+
PodContainersGroup as aN,
|
|
24962
|
+
ServicePodsGroup as aO,
|
|
24963
|
+
ConditionsGroup as aP,
|
|
24964
|
+
SecretDataGroup as aQ,
|
|
24965
|
+
JobsGroup as aR,
|
|
24966
|
+
IngressRulesGroup as aS,
|
|
24967
|
+
PodSelectorGroup as aT,
|
|
24968
|
+
PortsGroup as aU,
|
|
24969
|
+
DataGroup as aV,
|
|
24970
|
+
NetworkPolicyIngressRulesGroup as aW,
|
|
24971
|
+
NetworkPolicyEgressRulesGroup as aX,
|
|
24972
|
+
ShowGroupComponent as aY,
|
|
24973
|
+
ShowContent as aZ,
|
|
24974
|
+
DeleteManyButton as a_,
|
|
24975
|
+
ResourceUsageBar as aa,
|
|
24976
|
+
WorkloadReplicasForm as ab,
|
|
24977
|
+
WorkloadReplicas as ac,
|
|
24978
|
+
CronjobJobsTable as ad,
|
|
24979
|
+
KeyValue as ae,
|
|
24980
|
+
KeyValueAnnotation as af,
|
|
24981
|
+
KeyValueSecret as ag,
|
|
24982
|
+
Separator as ah,
|
|
24983
|
+
YamlEditorComponent as ai,
|
|
24984
|
+
DeleteButton as aj,
|
|
24985
|
+
Layout as ak,
|
|
24986
|
+
AreaType as al,
|
|
24987
|
+
ImageField as am,
|
|
24988
|
+
ReplicaField as an,
|
|
24989
|
+
ConditionsField as ao,
|
|
24990
|
+
PodsField as ap,
|
|
24991
|
+
JobsField as aq,
|
|
24992
|
+
DataField as ar,
|
|
24993
|
+
SecretDataField as as,
|
|
24994
|
+
StartTimeField as at,
|
|
24995
|
+
ServiceTypeField as au,
|
|
24996
|
+
ClusterIpField as av,
|
|
24997
|
+
SessionAffinityField as aw,
|
|
24998
|
+
ServicePodsField as ax,
|
|
24999
|
+
IngressRulesTableTabField as ay,
|
|
25000
|
+
EventsTableTabField as az,
|
|
25222
25001
|
useDeleteModal as b,
|
|
25223
|
-
|
|
25224
|
-
|
|
25225
|
-
|
|
25226
|
-
|
|
25227
|
-
|
|
25228
|
-
|
|
25229
|
-
|
|
25230
|
-
|
|
25231
|
-
|
|
25232
|
-
|
|
25233
|
-
|
|
25234
|
-
|
|
25235
|
-
|
|
25236
|
-
|
|
25237
|
-
|
|
25238
|
-
|
|
25239
|
-
|
|
25240
|
-
|
|
25241
|
-
|
|
25242
|
-
|
|
25243
|
-
|
|
25244
|
-
|
|
25245
|
-
|
|
25246
|
-
|
|
25247
|
-
|
|
25248
|
-
|
|
25249
|
-
|
|
25250
|
-
|
|
25251
|
-
|
|
25252
|
-
|
|
25253
|
-
|
|
25254
|
-
|
|
25255
|
-
|
|
25256
|
-
|
|
25257
|
-
|
|
25258
|
-
|
|
25259
|
-
|
|
25260
|
-
|
|
25261
|
-
|
|
25262
|
-
|
|
25263
|
-
|
|
25264
|
-
|
|
25265
|
-
|
|
25266
|
-
|
|
25267
|
-
|
|
25268
|
-
|
|
25269
|
-
|
|
25270
|
-
|
|
25271
|
-
|
|
25272
|
-
|
|
25273
|
-
|
|
25274
|
-
|
|
25275
|
-
|
|
25276
|
-
|
|
25277
|
-
|
|
25278
|
-
|
|
25279
|
-
|
|
25280
|
-
|
|
25281
|
-
|
|
25282
|
-
|
|
25283
|
-
|
|
25284
|
-
|
|
25285
|
-
|
|
25286
|
-
|
|
25002
|
+
CronJobModel as b$,
|
|
25003
|
+
StateTagStyle as b0,
|
|
25004
|
+
StateTag as b1,
|
|
25005
|
+
DrawerShow as b2,
|
|
25006
|
+
Menu as b3,
|
|
25007
|
+
EditButton as b4,
|
|
25008
|
+
ReferenceLink as b5,
|
|
25009
|
+
ResourceLink as b6,
|
|
25010
|
+
NS_STORE_KEY as b7,
|
|
25011
|
+
ALL_NS as b8,
|
|
25012
|
+
useNamespacesFilter as b9,
|
|
25013
|
+
INGRESS_INIT_VALUE as bA,
|
|
25014
|
+
NETWORK_POLICY_INIT_VALUE as bB,
|
|
25015
|
+
CONFIG_MAP_INIT_VALUE as bC,
|
|
25016
|
+
SERVER_INSTANCE_INIT_VALUE as bD,
|
|
25017
|
+
REDEPLOY_TIMESTAMP_KEY as bE,
|
|
25018
|
+
SECRET_OPAQUE_INIT_VALUE as bF,
|
|
25019
|
+
SECRET_IMAGE_REPO_INIT_VALUE as bG,
|
|
25020
|
+
SECRET_BASIC_AUTH_INIT_VALUE as bH,
|
|
25021
|
+
SECRET_SSH_AUTH_INIT_VALUE as bI,
|
|
25022
|
+
SECRET_TLS_INIT_VALUE as bJ,
|
|
25023
|
+
SECRET_CUSTOM_INIT_VALUE as bK,
|
|
25024
|
+
WorkloadState as bL,
|
|
25025
|
+
AccessControlAuth as bM,
|
|
25026
|
+
Dovetail as bN,
|
|
25027
|
+
RESOURCE_GROUP as bO,
|
|
25028
|
+
FormType as bP,
|
|
25029
|
+
ComponentContext as bQ,
|
|
25030
|
+
GlobalStoreContext as bR,
|
|
25031
|
+
ConfigsContext as bS,
|
|
25032
|
+
IngressModel as bT,
|
|
25033
|
+
NetworkPolicyModel as bU,
|
|
25034
|
+
JobModel as bV,
|
|
25035
|
+
WorkloadModel as bW,
|
|
25036
|
+
WorkloadBaseModel as bX,
|
|
25037
|
+
PodModel as bY,
|
|
25038
|
+
PodMetricsModel as bZ,
|
|
25039
|
+
ResourceModel as b_,
|
|
25040
|
+
NamespacesFilter as ba,
|
|
25041
|
+
FormModal as bb,
|
|
25042
|
+
RefineFormContent as bc,
|
|
25043
|
+
RefineFormPage as bd,
|
|
25044
|
+
SchemaStrategy as be,
|
|
25045
|
+
YamlForm as bf,
|
|
25046
|
+
useRefineForm as bg,
|
|
25047
|
+
ServiceInClusterAccessComponent as bh,
|
|
25048
|
+
ServiceOutClusterAccessComponent as bi,
|
|
25049
|
+
Tags as bj,
|
|
25050
|
+
TextTags as bk,
|
|
25051
|
+
PodLog as bl,
|
|
25052
|
+
NetworkPolicyRulesViewer as bm,
|
|
25053
|
+
Tabs as bn,
|
|
25054
|
+
BASE_INIT_VALUE as bo,
|
|
25055
|
+
DEPLOYMENT_INIT_VALUE as bp,
|
|
25056
|
+
CRONJOB_INIT_VALUE as bq,
|
|
25057
|
+
DAEMONSET_INIT_VALUE as br,
|
|
25058
|
+
JOB_INIT_VALUE as bs,
|
|
25059
|
+
STATEFULSET_INIT_VALUE as bt,
|
|
25060
|
+
POD_INIT_VALUE as bu,
|
|
25061
|
+
SERVICE_CLUSTER_IP_INIT_VALUE as bv,
|
|
25062
|
+
SERVICE_NODE_PORT_INIT_VALUE as bw,
|
|
25063
|
+
SERVICE_LOAD_BALANCER_INIT_VALUE as bx,
|
|
25064
|
+
SERVICE_EXTERNAL_NAME_INIT_VALUE as by,
|
|
25065
|
+
SERVICE_HEADLESS_INIT_VALUE as bz,
|
|
25287
25066
|
NameSpaceColumnRenderer as c,
|
|
25288
|
-
|
|
25289
|
-
|
|
25290
|
-
|
|
25291
|
-
|
|
25292
|
-
|
|
25293
|
-
|
|
25294
|
-
|
|
25295
|
-
NetworkPolicyModel as c7,
|
|
25296
|
-
JobModel as c8,
|
|
25297
|
-
WorkloadModel as c9,
|
|
25298
|
-
WorkloadBaseModel as ca,
|
|
25299
|
-
PodModel as cb,
|
|
25300
|
-
PodMetricsModel as cc,
|
|
25301
|
-
ResourceModel as cd,
|
|
25302
|
-
CronJobModel as ce,
|
|
25303
|
-
EventModel as cf,
|
|
25304
|
-
DeploymentModel as cg,
|
|
25305
|
-
DaemonSetModel as ch,
|
|
25306
|
-
StatefulSetModel as ci,
|
|
25307
|
-
ServiceTypeEnum as cj,
|
|
25308
|
-
ServiceModel as ck,
|
|
25309
|
-
NodeRole as cl,
|
|
25310
|
-
NodeModel as cm,
|
|
25311
|
-
StorageClassModel as cn,
|
|
25312
|
-
PersistentVolumeModel as co,
|
|
25313
|
-
PersistentVolumeClaimModel as cp,
|
|
25314
|
-
ProviderPlugins as cq,
|
|
25067
|
+
EventModel as c0,
|
|
25068
|
+
DeploymentModel as c1,
|
|
25069
|
+
DaemonSetModel as c2,
|
|
25070
|
+
StatefulSetModel as c3,
|
|
25071
|
+
ServiceTypeEnum as c4,
|
|
25072
|
+
ServiceModel as c5,
|
|
25073
|
+
ProviderPlugins as c6,
|
|
25315
25074
|
dovetailRefineI18n as d,
|
|
25316
25075
|
WorkloadRestartsColumnRenderer as e,
|
|
25317
25076
|
NodeNameColumnRenderer as f,
|
|
@@ -25332,7 +25091,7 @@ export {
|
|
|
25332
25091
|
useNamespaceRefineFilter as u,
|
|
25333
25092
|
DataKeysColumnRenderer as v,
|
|
25334
25093
|
PortMappingColumnRenderer as w,
|
|
25335
|
-
|
|
25336
|
-
|
|
25337
|
-
|
|
25094
|
+
ColumnKeys as x,
|
|
25095
|
+
addDefaultRenderToColumns as y,
|
|
25096
|
+
useEagleTable as z
|
|
25338
25097
|
};
|