@dovetail-v2/refine 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{MonacoYamlDiffEditor-1593cfad.js → MonacoYamlDiffEditor-0f76e977.js} +1 -1
- package/dist/{index-45031697.js → index-aacb414b.js} +957 -528
- package/dist/refine.js +212 -196
- package/dist/refine.umd.cjs +758 -329
- package/lib/components/Form/YamlForm.d.ts +1 -1
- package/lib/components/Form/useReactHookForm.d.ts +2 -1
- package/lib/components/Form/useYamlForm.d.ts +1 -1
- package/lib/components/PVCDistributeStorage/index.d.ts +16 -0
- package/lib/components/ResourceCRUD/list/index.d.ts +2 -2
- package/lib/components/ResourceTable/index.d.ts +9 -0
- package/lib/components/ShowContent/fields.d.ts +8 -0
- package/lib/components/ShowContent/groups.d.ts +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/constants/k8s.d.ts +36 -1
- package/lib/hooks/useEagleTable/columns.d.ts +5 -0
- package/lib/hooks/useEagleTable/useEagleTable.d.ts +1 -0
- package/lib/i18n.d.ts +12 -2
- package/lib/locales/en-US/index.d.ts +0 -1
- package/lib/locales/zh-CN/index.d.ts +12 -1
- package/lib/models/persistent-volume-claim.d.ts +4 -0
- package/lib/models/persistent-volume.d.ts +4 -0
- package/lib/models/storage-class.d.ts +4 -0
- package/lib/pages/storageclasses/index.d.ts +7 -4
- package/lib/types/resource.d.ts +2 -3
- package/lib/utils/storage.d.ts +13 -0
- package/package.json +2 -2
package/dist/refine.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bG, cu, A, aS, aU, aC, c2, bf, $, cg, c4, aM, Q, C, i, cy, aF, bj, aa, cA, ag, an, cJ, au, c5, c3, cM, aI, bp, w, aA, bw, cL, cv, bA, D, aZ, aq, bC, ap, cK, bd, aQ, ab, bJ, cx, cz, ce, aD, ah, s, q, cB, I, bm, aP, t, M, b9, bb, c6, cD, aH, bl, ao, av, aw, a6, ax, aT, aB, bx, bB, a7, cW, cf, cp, bF, N, a0, e, aR, a4, bI, br, bq, cC, bU, cR, g, cQ, c8, L, b6, H, b7, J, b8, B, b1, cs, z, b0, G, bV, b4, E, b2, F, b3, K, bW, b5, cr, a8, cU, cT, P, bh, v, ac, af, bT, be, cH, cG, aX, bn, c0, b$, p, aG, bg, x, bo, aY, cV, y, ci, cw, bD, bK, bL, cY, aE, R, ae, al, ak, bE, ai, cI, bY, aj, c1, bc, bt, ar, h, O, ba, cl, co, ck, cj, cm, cn, ch, c9, cc, cd, cb, ca, c7, cq, bM, aJ, bk, ay, m, bP, l, aV, cP, o, bQ, aW, n, aO, bi, k, cO, aL, aN, b_, bv, bu, bZ, aK, S, bz, by, cN, cS, a_, a$, bs, bX, bR, bS, a9, _, cF, ad, W, cE, am, at, as, f, ct, az, bN, T, a1, d, c$, c_, cX, a5, cZ, d0, a3, a2, r, a, c, V, U, X, Y, u, bH, Z, bO, b } from "./index-aacb414b.js";
|
|
2
2
|
import "@cloudtower/eagle";
|
|
3
3
|
import "@refinedev/core";
|
|
4
4
|
import "react";
|
|
@@ -15,234 +15,250 @@ import "monaco-yaml";
|
|
|
15
15
|
import "react-dom";
|
|
16
16
|
import "antd";
|
|
17
17
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
bG as ALL_NS,
|
|
19
|
+
cu as AccessControlAuth,
|
|
20
20
|
A as AgeColumnRenderer,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
aS as AgeField,
|
|
22
|
+
aU as AnnotationsField,
|
|
23
|
+
aC as AreaType,
|
|
24
|
+
c2 as BASE_INIT_VALUE,
|
|
25
|
+
bf as BasicGroup,
|
|
26
|
+
$ as Breadcrumb,
|
|
27
|
+
cg as CONFIG_MAP_INIT_VALUE,
|
|
28
|
+
c4 as CRONJOB_INIT_VALUE,
|
|
29
|
+
aM as ClusterIpField,
|
|
30
|
+
Q as ColumnKeys,
|
|
31
31
|
C as CommonSorter,
|
|
32
32
|
i as CompletionsCountColumnRenderer,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
33
|
+
cy as ComponentContext,
|
|
34
|
+
aF as ConditionsField,
|
|
35
|
+
bj as ConditionsGroup,
|
|
36
|
+
aa as ConditionsTable,
|
|
37
|
+
cA as ConfigsContext,
|
|
38
|
+
ag as CreateButton,
|
|
39
|
+
an as CronJobDropdown,
|
|
40
|
+
cJ as CronJobModel,
|
|
41
|
+
au as CronjobJobsTable,
|
|
42
|
+
c5 as DAEMONSET_INIT_VALUE,
|
|
43
|
+
c3 as DEPLOYMENT_INIT_VALUE,
|
|
44
|
+
cM as DaemonSetModel,
|
|
45
|
+
aI as DataField,
|
|
46
|
+
bp as DataGroup,
|
|
47
47
|
w as DataKeysColumnRenderer,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
aA as DeleteButton,
|
|
49
|
+
bw as DeleteManyButton,
|
|
50
|
+
cL as DeploymentModel,
|
|
51
|
+
cv as Dovetail,
|
|
52
|
+
bA as DrawerShow,
|
|
53
53
|
D as DurationColumnRenderer,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
54
|
+
aZ as DurationField,
|
|
55
|
+
aq as EditAnnotationDropdownMenuItem,
|
|
56
|
+
bC as EditButton,
|
|
57
|
+
ap as EditLabelDropdownMenuItem,
|
|
58
|
+
cK as EventModel,
|
|
59
|
+
bd as EventsTab,
|
|
60
|
+
aQ as EventsTableTabField,
|
|
61
|
+
ab as FormErrorAlert,
|
|
62
|
+
bJ as FormModal,
|
|
63
|
+
cx as FormType,
|
|
64
|
+
cz as GlobalStoreContext,
|
|
65
|
+
ce as INGRESS_INIT_VALUE,
|
|
66
|
+
aD as ImageField,
|
|
67
|
+
ah as ImageNames,
|
|
68
68
|
s as IngressClassColumnRenderer,
|
|
69
69
|
q as IngressDefaultBackendColumnRenderer,
|
|
70
|
-
|
|
70
|
+
cB as IngressModel,
|
|
71
71
|
I as IngressRulesColumnRenderer,
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
bm as IngressRulesGroup,
|
|
73
|
+
aP as IngressRulesTableTabField,
|
|
74
74
|
t as IngressTlsColumnRenderer,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
75
|
+
M as IsDefaultSCColumnRenderer,
|
|
76
|
+
b9 as IsDefaultSCField,
|
|
77
|
+
bb as IsSCAllowVolumeExpansionField,
|
|
78
|
+
c6 as JOB_INIT_VALUE,
|
|
79
|
+
cD as JobModel,
|
|
80
|
+
aH as JobsField,
|
|
81
|
+
bl as JobsGroup,
|
|
82
|
+
ao as K8sDropdown,
|
|
83
|
+
av as KeyValue,
|
|
84
|
+
aw as KeyValueAnnotation,
|
|
85
|
+
a6 as KeyValueListWidget,
|
|
86
|
+
ax as KeyValueSecret,
|
|
87
|
+
aT as LabelsField,
|
|
88
|
+
aB as Layout,
|
|
89
|
+
bx as ListPage,
|
|
90
|
+
bB as Menu,
|
|
91
|
+
a7 as MetadataForm,
|
|
92
|
+
cW as ModelPlugin,
|
|
93
|
+
cf as NETWORK_POLICY_INIT_VALUE,
|
|
94
|
+
cp as NODE_INIT_VALUE,
|
|
95
|
+
bF as NS_STORE_KEY,
|
|
93
96
|
N as NameColumnRenderer,
|
|
94
|
-
|
|
97
|
+
a0 as NameInputWidget,
|
|
95
98
|
e as NameSpaceColumnRenderer,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
99
|
+
aR as NamespaceField,
|
|
100
|
+
a4 as NamespaceSelectWidget,
|
|
101
|
+
bI as NamespacesFilter,
|
|
102
|
+
br as NetworkPolicyEgressRulesGroup,
|
|
103
|
+
bq as NetworkPolicyIngressRulesGroup,
|
|
104
|
+
cC as NetworkPolicyModel,
|
|
105
|
+
bU as NetworkPolicyRulesViewer,
|
|
106
|
+
cR as NodeModel,
|
|
104
107
|
g as NodeNameColumnRenderer,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
108
|
+
cQ as NodeRole,
|
|
109
|
+
c8 as POD_INIT_VALUE,
|
|
110
|
+
L as PVAccessModeColumnRenderer,
|
|
111
|
+
b6 as PVAccessModeField,
|
|
112
|
+
H as PVCRefColumnRenderer,
|
|
113
|
+
b7 as PVCRefField,
|
|
114
|
+
J as PVCSIRefColumnRenderer,
|
|
115
|
+
b8 as PVCSIRefField,
|
|
109
116
|
B as PVCStorageColumnRenderer,
|
|
110
|
-
|
|
117
|
+
b1 as PVCStorageField,
|
|
118
|
+
cs as PVC_INIT_VALUE,
|
|
111
119
|
z as PVCapacityColumnRenderer,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
E as
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
120
|
+
b0 as PVCapacityField,
|
|
121
|
+
G as PVPhaseColumnRenderer,
|
|
122
|
+
bV as PVPhaseDisplay,
|
|
123
|
+
b4 as PVPhaseField,
|
|
124
|
+
E as PVRefColumnRenderer,
|
|
125
|
+
b2 as PVRefField,
|
|
126
|
+
F as PVStorageClassColumnRenderer,
|
|
127
|
+
b3 as PVStorageClassField,
|
|
128
|
+
K as PVVolumeModeColumnRenderer,
|
|
129
|
+
bW as PVVolumeModeDisplay,
|
|
130
|
+
b5 as PVVolumeModeField,
|
|
131
|
+
cr as PV_INIT_VALUE,
|
|
132
|
+
a8 as PageShow,
|
|
133
|
+
cU as PersistentVolumeClaimModel,
|
|
134
|
+
cT as PersistentVolumeModel,
|
|
124
135
|
P as PlainTextNameColumnRenderer,
|
|
125
|
-
|
|
136
|
+
bh as PodContainersGroup,
|
|
126
137
|
v as PodContainersNumColumnRenderer,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
138
|
+
ac as PodContainersTable,
|
|
139
|
+
af as PodDropdown,
|
|
140
|
+
bT as PodLog,
|
|
141
|
+
be as PodLogTab,
|
|
142
|
+
cH as PodMetricsModel,
|
|
143
|
+
cG as PodModel,
|
|
144
|
+
aX as PodSelectorField,
|
|
145
|
+
bn as PodSelectorGroup,
|
|
146
|
+
c0 as PodShell,
|
|
147
|
+
b$ as PodShellModal,
|
|
137
148
|
p as PodWorkloadColumnRenderer,
|
|
138
|
-
|
|
139
|
-
|
|
149
|
+
aG as PodsField,
|
|
150
|
+
bg as PodsGroup,
|
|
140
151
|
x as PortMappingColumnRenderer,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
152
|
+
bo as PortsGroup,
|
|
153
|
+
aY as PortsTableField,
|
|
154
|
+
cV as ProviderPlugins,
|
|
144
155
|
y as ProvisionerColumnRenderer,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
156
|
+
ci as REDEPLOY_TIMESTAMP_KEY,
|
|
157
|
+
cw as RESOURCE_GROUP,
|
|
158
|
+
bD as ReferenceLink,
|
|
159
|
+
bK as RefineFormContent,
|
|
160
|
+
bL as RefineFormPage,
|
|
161
|
+
cY as RelationPlugin,
|
|
162
|
+
aE as ReplicaField,
|
|
152
163
|
R as ReplicasColumnRenderer,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
164
|
+
ae as ReplicasDropdown,
|
|
165
|
+
al as ResourceCRUD,
|
|
166
|
+
ak as ResourceForm,
|
|
167
|
+
bE as ResourceLink,
|
|
168
|
+
ai as ResourceList,
|
|
169
|
+
cI as ResourceModel,
|
|
170
|
+
bY as ResourceSelect,
|
|
171
|
+
aj as ResourceShow,
|
|
172
|
+
c1 as ResourceTable,
|
|
173
|
+
bc as ResourceTableField,
|
|
174
|
+
bt as ResourceTableGroup,
|
|
175
|
+
ar as ResourceUsageBar,
|
|
162
176
|
h as RestartCountColumnRenderer,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
177
|
+
O as SCReclaimPolicyColumnRenderer,
|
|
178
|
+
ba as SCReclaimPolicyField,
|
|
179
|
+
cl as SECRET_BASIC_AUTH_INIT_VALUE,
|
|
180
|
+
co as SECRET_CUSTOM_INIT_VALUE,
|
|
181
|
+
ck as SECRET_IMAGE_REPO_INIT_VALUE,
|
|
182
|
+
cj as SECRET_OPAQUE_INIT_VALUE,
|
|
183
|
+
cm as SECRET_SSH_AUTH_INIT_VALUE,
|
|
184
|
+
cn as SECRET_TLS_INIT_VALUE,
|
|
185
|
+
ch as SERVER_INSTANCE_INIT_VALUE,
|
|
186
|
+
c9 as SERVICE_CLUSTER_IP_INIT_VALUE,
|
|
187
|
+
cc as SERVICE_EXTERNAL_NAME_INIT_VALUE,
|
|
188
|
+
cd as SERVICE_HEADLESS_INIT_VALUE,
|
|
189
|
+
cb as SERVICE_LOAD_BALANCER_INIT_VALUE,
|
|
190
|
+
ca as SERVICE_NODE_PORT_INIT_VALUE,
|
|
191
|
+
c7 as STATEFULSET_INIT_VALUE,
|
|
192
|
+
cq as STORAGE_CLASS_INIT_VALUE,
|
|
193
|
+
bM as SchemaStrategy,
|
|
194
|
+
aJ as SecretDataField,
|
|
195
|
+
bk as SecretDataGroup,
|
|
196
|
+
ay as Separator,
|
|
181
197
|
m as ServiceInClusterAccessColumnRenderer,
|
|
182
|
-
|
|
198
|
+
bP as ServiceInClusterAccessComponent,
|
|
183
199
|
l as ServiceInClusterAccessTitle,
|
|
184
|
-
|
|
185
|
-
|
|
200
|
+
aV as ServiceInnerClusterAccessField,
|
|
201
|
+
cP as ServiceModel,
|
|
186
202
|
o as ServiceOutClusterAccessColumnRenderer,
|
|
187
|
-
|
|
188
|
-
|
|
203
|
+
bQ as ServiceOutClusterAccessComponent,
|
|
204
|
+
aW as ServiceOutClusterAccessField,
|
|
189
205
|
n as ServiceOutClusterAccessTitle,
|
|
190
|
-
|
|
191
|
-
|
|
206
|
+
aO as ServicePodsField,
|
|
207
|
+
bi as ServicePodsGroup,
|
|
192
208
|
k as ServiceTypeColumnRenderer,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
209
|
+
cO as ServiceTypeEnum,
|
|
210
|
+
aL as ServiceTypeField,
|
|
211
|
+
aN as SessionAffinityField,
|
|
212
|
+
b_ as Shell,
|
|
213
|
+
bv as ShowContent,
|
|
214
|
+
bu as ShowGroupComponent,
|
|
215
|
+
bZ as SocketStatus,
|
|
216
|
+
aK as StartTimeField,
|
|
201
217
|
S as StateDisplayColumnRenderer,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
218
|
+
bz as StateTag,
|
|
219
|
+
by as StateTagStyle,
|
|
220
|
+
cN as StatefulSetModel,
|
|
221
|
+
cS as StorageClassModel,
|
|
222
|
+
a_ as StorageClassProvisionerField,
|
|
223
|
+
a$ as StorageClassPvField,
|
|
224
|
+
bs as StorageClassPvGroup,
|
|
225
|
+
bX as Tabs,
|
|
226
|
+
bR as Tags,
|
|
227
|
+
bS as TextTags,
|
|
228
|
+
a9 as Time,
|
|
229
|
+
_ as ValueDisplay,
|
|
230
|
+
cF as WorkloadBaseModel,
|
|
231
|
+
ad as WorkloadDropdown,
|
|
216
232
|
W as WorkloadImageColumnRenderer,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
233
|
+
cE as WorkloadModel,
|
|
234
|
+
am as WorkloadPodsTable,
|
|
235
|
+
at as WorkloadReplicas,
|
|
236
|
+
as as WorkloadReplicasForm,
|
|
221
237
|
f as WorkloadRestartsColumnRenderer,
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
238
|
+
ct as WorkloadState,
|
|
239
|
+
az as YamlEditorComponent,
|
|
240
|
+
bN as YamlForm,
|
|
241
|
+
T as addDefaultRenderToColumns,
|
|
242
|
+
a1 as dnsSubDomainRules,
|
|
227
243
|
d as dovetailRefineI18n,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
244
|
+
c$ as generateSchemaTypeValue,
|
|
245
|
+
c_ as generateValueFromSchema,
|
|
246
|
+
cX as modelPlugin,
|
|
247
|
+
a5 as namespaceRules,
|
|
248
|
+
cZ as relationPlugin,
|
|
249
|
+
d0 as resolveRef,
|
|
250
|
+
a3 as rfc1035LabelRules,
|
|
251
|
+
a2 as rfc1123LabelRules,
|
|
236
252
|
r as routerProvider,
|
|
237
253
|
a as useApiGroupSchema,
|
|
238
254
|
c as useDeleteModal,
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
255
|
+
V as useDownloadYAML,
|
|
256
|
+
U as useEagleTable,
|
|
257
|
+
X as useEdit,
|
|
258
|
+
Y as useGlobalStore,
|
|
243
259
|
u as useNamespaceRefineFilter,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
260
|
+
bH as useNamespacesFilter,
|
|
261
|
+
Z as useOpenForm,
|
|
262
|
+
bO as useRefineForm,
|
|
247
263
|
b as useSchema
|
|
248
264
|
};
|