@dovetail-v2/refine 0.0.30 → 0.0.32-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{MonacoYamlDiffEditor-7505595f.js → MonacoYamlDiffEditor-0d108b88.js} +1 -3
- package/dist/MonacoYamlEditor-e382457d.js +167 -0
- package/dist/{index-d02782c8.js → index-3a367ae3.js} +7089 -4127
- package/dist/refine.js +133 -105
- package/dist/refine.umd.cjs +8081 -4966
- package/dist/style.css +40 -24
- package/lib/src/components/CronJobDropdown/index.d.ts +2 -0
- package/lib/src/components/CronjobJobsTable/index.d.ts +1 -0
- package/lib/src/components/K8sDropdown/index.d.ts +2 -0
- package/lib/src/components/RefineForm/RefineFormContent.d.ts +10 -0
- package/lib/src/components/RefineForm/RefineFormModal.d.ts +8 -0
- package/lib/src/components/RefineForm/RefineFormPage.d.ts +7 -0
- package/lib/src/components/RefineForm/index.d.ts +3 -0
- package/lib/src/components/RefineForm/type.d.ts +20 -0
- package/lib/src/components/RefineForm/useRefineForm.d.ts +10 -0
- package/lib/src/components/ServiceComponents/index.d.ts +8 -0
- package/lib/src/components/ShowContent/fields.d.ts +34 -24
- package/lib/src/components/ShowContent/groups.d.ts +11 -0
- package/lib/src/components/ShowContent/index.d.ts +2 -0
- package/lib/src/components/ShowContent/tabs.d.ts +12 -0
- package/lib/src/components/StateTag/StateTag.d.ts +1 -0
- package/lib/src/components/Tabs/index.d.ts +10 -0
- package/lib/src/components/TextTags/index.d.ts +6 -0
- package/lib/src/components/Time/index.d.ts +2 -3
- package/lib/src/components/WorkloadDropdown/index.d.ts +2 -0
- package/lib/src/components/WorkloadReplicas/index.d.ts +1 -2
- package/lib/src/components/YamlForm/index.d.ts +2 -0
- package/lib/src/components/index.d.ts +4 -0
- package/lib/src/constants/k8s.d.ts +23 -0
- package/lib/src/contexts/component.d.ts +2 -0
- package/lib/src/hooks/useEagleTable/columns.d.ts +9 -3
- package/lib/src/i18n.d.ts +132 -10
- package/lib/src/locales/en-US/index.d.ts +95 -1
- package/lib/src/locales/zh-CN/index.d.ts +36 -9
- package/lib/src/models/index.d.ts +1 -0
- package/lib/src/models/service-model.d.ts +10 -1
- package/lib/src/pages/services/index.d.ts +2 -2
- package/lib/src/pages/statefulsets/index.d.ts +4 -3
- package/lib/src/types/resource.d.ts +5 -1
- package/package.json +10 -8
package/dist/refine.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aO, A, an, ap, a7, a$, az, B, b1, ah, p, C, h, bf, aa, aC, H, bh, O, _, bq, a1, b2, b0, bt, ad, av, a5, aF, bs, bc, aI, D, aK, br, ar, al, aY, be, bg, b7, a8, Q, n, m, bi, I, as, ak, o, b3, bk, ac, aw, a2, K, ao, a6, aG, aJ, M, b8, aN, N, w, b, am, E, aQ, au, at, bj, aZ, f, b5, G, ax, J, aX, ay, bo, bn, P, ab, aA, bx, bd, aL, aS, aR, a9, R, X, V, aM, T, bp, U, $, g, b9, b6, b4, aE, ae, aq, a3, k, aT, bw, l, aU, aj, aB, i, bv, ag, ai, aD, af, S, aH, bu, ba, a_, aV, aW, bm, L, W, bl, Z, a0, e, bb, a4, x, d, F, z, y, r, a, s, q, t, v, aP, u } from "./index-3a367ae3.js";
|
|
2
2
|
import "@cloudtower/eagle";
|
|
3
3
|
import "@refinedev/core";
|
|
4
4
|
import "js-yaml";
|
|
@@ -9,128 +9,156 @@ import "@cloudtower/icons-react";
|
|
|
9
9
|
import "i18next";
|
|
10
10
|
import "qs";
|
|
11
11
|
import "react-router-dom";
|
|
12
|
-
import "monaco-editor";
|
|
13
|
-
import "monaco-yaml";
|
|
14
|
-
import "react-dom";
|
|
15
12
|
import "antd";
|
|
16
13
|
import "k8s-api-provider";
|
|
17
14
|
export {
|
|
18
|
-
|
|
15
|
+
aO as ALL_NS,
|
|
19
16
|
A as AgeColumnRenderer,
|
|
20
|
-
|
|
17
|
+
an as AgeField,
|
|
18
|
+
ap as AnnotationsField,
|
|
19
|
+
a7 as AreaType,
|
|
20
|
+
a$ as BASE_INIT_VALUE,
|
|
21
|
+
az as BasicGroup,
|
|
21
22
|
B as Breadcrumb,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
b1 as CRONJOB_INIT_VALUE,
|
|
24
|
+
ah as ClusterIpField,
|
|
25
|
+
p as ColumnKeys,
|
|
25
26
|
C as CommonSorter,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
27
|
+
h as CompletionsCountColumnRenderer,
|
|
28
|
+
bf as ComponentContext,
|
|
29
|
+
aa as ConditionsField,
|
|
30
|
+
aC as ConditionsGroup,
|
|
31
|
+
H as ConditionsTable,
|
|
32
|
+
bh as ConfigsContext,
|
|
33
|
+
O as CreateButton,
|
|
34
|
+
_ as CronJobDropdown,
|
|
35
|
+
bq as CronJobModel,
|
|
36
|
+
a1 as CronjobJobsTable,
|
|
37
|
+
b2 as DAEMONSET_INIT_VALUE,
|
|
38
|
+
b0 as DEPLOYMENT_INIT_VALUE,
|
|
39
|
+
bt as DaemonSetModel,
|
|
40
|
+
ad as DataField,
|
|
41
|
+
av as DataTab,
|
|
42
|
+
a5 as DeleteButton,
|
|
43
|
+
aF as DeleteManyButton,
|
|
44
|
+
bs as DeploymentModel,
|
|
45
|
+
bc as Dovetail,
|
|
46
|
+
aI as DrawerShow,
|
|
44
47
|
D as DurationColumnRenderer,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
48
|
+
aK as EditButton,
|
|
49
|
+
br as EventModel,
|
|
50
|
+
ar as EventsTab,
|
|
51
|
+
al as EventsTableTabField,
|
|
52
|
+
aY as FormModal,
|
|
53
|
+
be as FormType,
|
|
54
|
+
bg as GlobalStoreContext,
|
|
55
|
+
b7 as INGRESS_INIT_VALUE,
|
|
56
|
+
a8 as ImageField,
|
|
57
|
+
Q as ImageNames,
|
|
58
|
+
n as IngressClassColumnRenderer,
|
|
59
|
+
m as IngressDefaultBackendColumnRenderer,
|
|
60
|
+
bi as IngressModel,
|
|
56
61
|
I as IngressRulesColumnRenderer,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
+
as as IngressRulesTab,
|
|
63
|
+
ak as IngressRulesTableTabField,
|
|
64
|
+
o as IngressTlsColumnRenderer,
|
|
65
|
+
b3 as JOB_INIT_VALUE,
|
|
66
|
+
bk as JobModel,
|
|
67
|
+
ac as JobsField,
|
|
68
|
+
aw as JobsTab,
|
|
69
|
+
a2 as KeyValue,
|
|
62
70
|
K as KeyValueListWidget,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
71
|
+
ao as LabelsField,
|
|
72
|
+
a6 as Layout,
|
|
73
|
+
aG as ListPage,
|
|
74
|
+
aJ as Menu,
|
|
66
75
|
M as MetadataForm,
|
|
67
|
-
|
|
68
|
-
|
|
76
|
+
b8 as NETWORK_POLICY_INIT_VALUE,
|
|
77
|
+
aN as NS_STORE_KEY,
|
|
69
78
|
N as NameColumnRenderer,
|
|
70
|
-
|
|
79
|
+
w as NameInputWidget,
|
|
71
80
|
b as NameSpaceColumnRenderer,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
aQ as
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
am as NamespaceField,
|
|
82
|
+
E as NamespaceSelectWidget,
|
|
83
|
+
aQ as NamespacesFilter,
|
|
84
|
+
au as NetworkPolicyEgressRulesTab,
|
|
85
|
+
at as NetworkPolicyIngressRulesTab,
|
|
86
|
+
bj as NetworkPolicyModel,
|
|
87
|
+
aZ as NetworkPolicyRulesTable,
|
|
88
|
+
f as NodeNameColumnRenderer,
|
|
89
|
+
b5 as POD_INIT_VALUE,
|
|
90
|
+
G as PageShow,
|
|
91
|
+
ax as PodContainersTab,
|
|
92
|
+
J as PodContainersTable,
|
|
93
|
+
aX as PodLog,
|
|
94
|
+
ay as PodLogTab,
|
|
95
|
+
bo as PodMetricsModel,
|
|
96
|
+
bn as PodModel,
|
|
83
97
|
P as PodWorkloadColumnRenderer,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
98
|
+
ab as PodsField,
|
|
99
|
+
aA as PodsGroup,
|
|
100
|
+
bx as ProviderPlugins,
|
|
101
|
+
bd as RESOURCE_GROUP,
|
|
102
|
+
aL as ReferenceLink,
|
|
103
|
+
aS as RefineFormModal,
|
|
104
|
+
aR as RefineFormPage,
|
|
105
|
+
a9 as ReplicaField,
|
|
89
106
|
R as ReplicasColumnRenderer,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
X as ResourceCRUD,
|
|
108
|
+
V as ResourceForm,
|
|
109
|
+
aM as ResourceLink,
|
|
110
|
+
T as ResourceList,
|
|
111
|
+
bp as ResourceModel,
|
|
112
|
+
U as ResourceShow,
|
|
113
|
+
$ as ResourceUsageBar,
|
|
114
|
+
g as RestartCountColumnRenderer,
|
|
115
|
+
b9 as SERVER_INSTANCE_INIT_VALUE,
|
|
116
|
+
b6 as SERVICE_INIT_VALUE,
|
|
117
|
+
b4 as STATEFULSET_INIT_VALUE,
|
|
118
|
+
aE as SchemaStrategy,
|
|
119
|
+
ae as SecretDataField,
|
|
120
|
+
aq as SecretDataTab,
|
|
121
|
+
a3 as Separator,
|
|
122
|
+
k as ServiceInClusterAccessColumnRenderer,
|
|
123
|
+
aT as ServiceInClusterAccessComponent,
|
|
124
|
+
bw as ServiceModel,
|
|
125
|
+
l as ServiceOutClusterAccessColumnRenderer,
|
|
126
|
+
aU as ServiceOutClusterAccessComponent,
|
|
127
|
+
aj as ServicePodsField,
|
|
128
|
+
aB as ServicePodsGroup,
|
|
129
|
+
i as ServiceTypeColumnRenderer,
|
|
130
|
+
bv as ServiceTypeEnum,
|
|
131
|
+
ag as ServiceTypeField,
|
|
132
|
+
ai as SessionAffinityField,
|
|
133
|
+
aD as ShowContent,
|
|
134
|
+
af as StartTimeField,
|
|
109
135
|
S as StateDisplayColumnRenderer,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
136
|
+
aH as StateTag,
|
|
137
|
+
bu as StatefulSetModel,
|
|
138
|
+
ba as TIMESTAMP_LABEL,
|
|
139
|
+
a_ as Tabs,
|
|
140
|
+
aV as Tags,
|
|
141
|
+
aW as TextTags,
|
|
142
|
+
bm as WorkloadBaseModel,
|
|
143
|
+
L as WorkloadDropdown,
|
|
116
144
|
W as WorkloadImageColumnRenderer,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
145
|
+
bl as WorkloadModel,
|
|
146
|
+
Z as WorkloadPodsTable,
|
|
147
|
+
a0 as WorkloadReplicas,
|
|
148
|
+
e as WorkloadRestartsColumnRenderer,
|
|
149
|
+
bb as WorkloadState,
|
|
150
|
+
a4 as YamlEditorComponent,
|
|
151
|
+
x as dnsSubDomainRules,
|
|
124
152
|
d as dovetailRefineI18n,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
153
|
+
F as namespaceRules,
|
|
154
|
+
z as rfc1035LabelRules,
|
|
155
|
+
y as rfc1123LabelRules,
|
|
128
156
|
r as routerProvider,
|
|
129
157
|
a as useDeleteModal,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
158
|
+
s as useDownloadYAML,
|
|
159
|
+
q as useEagleTable,
|
|
160
|
+
t as useEdit,
|
|
161
|
+
v as useGlobalStore,
|
|
162
|
+
aP as useNamespacesFilter,
|
|
135
163
|
u as useSchema
|
|
136
164
|
};
|