@dovetail-v2/refine 0.0.12 → 0.0.14-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.6b29d662.js → MonacoYamlDiffEditor.8847f437.js} +3 -4
- package/dist/{index.01461ca8.js → index.0c2122ef.js} +8408 -3450
- package/dist/refine.js +82 -71
- package/dist/refine.umd.cjs +8330 -3373
- package/dist/style.css +1440 -1
- package/lib/src/Dovetail.d.ts +5 -1
- package/lib/src/components/CronJobDropdown/index.d.ts +2 -2
- package/lib/src/components/DrawerShow/DrawerShow.d.ts +4 -5
- package/lib/src/components/ErrorContent/index.d.ts +12 -0
- package/lib/src/components/EventsTable/EventsTable.d.ts +2 -0
- package/lib/src/components/EventsTable/index.d.ts +1 -0
- package/lib/src/components/K8sDropdown/index.d.ts +2 -2
- package/lib/src/components/ListPage/index.d.ts +1 -1
- package/lib/src/components/PageShow/PageShow.d.ts +5 -6
- package/lib/src/components/PodLog/index.d.ts +6 -0
- package/lib/src/components/ResourceCRUD/create/index.d.ts +5 -5
- package/lib/src/components/ResourceCRUD/list/index.d.ts +4 -5
- package/lib/src/components/ResourceCRUD/show/index.d.ts +5 -6
- package/lib/src/components/ShowContent/ShowContent.d.ts +5 -6
- package/lib/src/components/ShowContent/fields.d.ts +13 -10
- package/lib/src/components/Table/index.d.ts +6 -2
- package/lib/src/components/WorkloadDropdown/index.d.ts +2 -2
- package/lib/src/components/WorkloadReplicas/index.d.ts +1 -1
- package/lib/src/components/YamlEditor/MonacoYamlEditor.d.ts +1 -1
- package/lib/src/components/YamlEditor/YamlEditorComponent.d.ts +2 -1
- package/lib/src/components/YamlForm/index.d.ts +6 -0
- package/lib/src/components/index.d.ts +1 -0
- package/lib/src/constants/k8s.d.ts +22 -0
- package/lib/src/contexts/component.d.ts +6 -0
- package/lib/src/contexts/global-store.d.ts +6 -0
- package/lib/src/contexts/index.d.ts +1 -0
- package/lib/src/hooks/index.d.ts +1 -0
- package/lib/src/hooks/useDownloadYAML.d.ts +2 -2
- package/lib/src/hooks/useEagleForm.d.ts +16 -9
- package/lib/src/hooks/useEagleTable/columns.d.ts +13 -13
- package/lib/src/hooks/useEagleTable/useEagleTable.d.ts +7 -8
- package/lib/src/hooks/useGlobalStore.d.ts +3 -0
- package/lib/src/hooks/useK8sYamlEditor.d.ts +5 -0
- package/lib/src/hooks/useSchema.d.ts +9 -2
- package/lib/src/i18n.d.ts +20 -0
- package/lib/src/index.d.ts +2 -1
- package/lib/src/locales/en-US/index.d.ts +3 -0
- package/lib/src/locales/zh-CN/index.d.ts +17 -0
- package/lib/src/model/pod-model.d.ts +2 -0
- package/lib/src/models/cronjob-model.d.ts +14 -0
- package/lib/src/models/index.d.ts +8 -0
- package/lib/src/models/job-model.d.ts +15 -0
- package/lib/src/models/pod-metrics-model.d.ts +9 -0
- package/lib/src/models/pod-model.d.ts +20 -0
- package/lib/src/models/resource-model.d.ts +21 -0
- package/lib/src/models/types/index.d.ts +1 -0
- package/lib/src/models/types/metric.d.ts +25 -0
- package/lib/src/models/workload-base-model.d.ts +13 -0
- package/lib/src/models/workload-model.d.ts +17 -0
- package/lib/src/pages/configmaps/index.d.ts +3 -3
- package/lib/src/pages/jobs/index.d.ts +3 -4
- package/lib/src/pages/secrets/index.d.ts +3 -3
- package/lib/src/pages/services/index.d.ts +3 -0
- package/lib/src/plugins/index.d.ts +2 -0
- package/lib/src/plugins/model-plugin.d.ts +12 -0
- package/lib/src/plugins/relation-plugin.d.ts +27 -0
- package/lib/src/plugins/type.d.ts +8 -0
- package/lib/src/types/index.d.ts +0 -1
- package/lib/src/types/resource.d.ts +9 -21
- package/lib/src/utils/match-selector.d.ts +3 -0
- package/lib/src/utils/selector.d.ts +3 -0
- package/package.json +18 -6
package/dist/refine.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ai, A, an, B, ap, a6, g, C, f, ay, $, v, y, J, aF, Q, aq, ao, a2, V, ab, aw, ae, D, ag, Z, I, ar, az, a1, T, K, X, ac, af, M, ah, N, m, b, q, ak, d, at, t, P, w, am, aD, aC, a0, ax, _, R, G, F, z, aE, E, L, e, au, as, aa, a3, U, a8, S, a5, a7, a9, a4, ad, av, al, aB, x, W, aA, H, O, c, Y, n, s, p, o, r, a, i, h, k, l, aj, u } from "./index.0c2122ef.js";
|
|
2
2
|
import "@cloudtower/eagle";
|
|
3
3
|
import "@refinedev/core";
|
|
4
4
|
import "js-yaml";
|
|
@@ -8,95 +8,106 @@ import "sunflower-antd";
|
|
|
8
8
|
import "@cloudtower/icons-react";
|
|
9
9
|
import "qs";
|
|
10
10
|
import "react-router-dom";
|
|
11
|
+
import "i18next";
|
|
11
12
|
import "monaco-editor";
|
|
12
13
|
import "monaco-yaml";
|
|
13
14
|
import "react-dom";
|
|
14
15
|
import "antd";
|
|
15
|
-
import "
|
|
16
|
-
import "mitt";
|
|
17
|
-
import "i18next";
|
|
16
|
+
import "k8s-api-provider";
|
|
18
17
|
export {
|
|
19
|
-
|
|
18
|
+
ai as ALL_NS,
|
|
20
19
|
A as AgeColumnRenderer,
|
|
21
|
-
|
|
20
|
+
an as BASE_INIT_VALUE,
|
|
22
21
|
B as Breadcrumb,
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
ap as CRONJOB_INIT_VALUE,
|
|
23
|
+
a6 as ClusterIpField,
|
|
24
|
+
g as ColumnKeys,
|
|
25
25
|
C as CommonSorter,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
26
|
+
f as CompletionsCountColumnRenderer,
|
|
27
|
+
ay as ComponentContext,
|
|
28
|
+
$ as ConditionsField,
|
|
29
|
+
v as ConditionsTable,
|
|
30
|
+
y as CreateButton,
|
|
31
|
+
J as CronJobDropdown,
|
|
32
|
+
aF as CronJobModel,
|
|
33
|
+
Q as CronjobJobsTable,
|
|
34
|
+
aq as DAEMONSET_INIT_VALUE,
|
|
35
|
+
ao as DEPLOYMENT_INIT_VALUE,
|
|
36
|
+
a2 as DataField,
|
|
37
|
+
V as DeleteButton,
|
|
38
|
+
ab as DeleteManyButton,
|
|
39
|
+
aw as Dovetail,
|
|
40
|
+
ae as DrawerShow,
|
|
40
41
|
D as DurationColumnRenderer,
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
ag as EditButton,
|
|
43
|
+
Z as ImageField,
|
|
43
44
|
I as ImageNames,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
ar as JOB_INIT_VALUE,
|
|
46
|
+
az as JobModel,
|
|
47
|
+
a1 as JobsField,
|
|
48
|
+
T as KeyValue,
|
|
48
49
|
K as KeyValueListWidget,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
X as Layout,
|
|
51
|
+
ac as ListPage,
|
|
52
|
+
af as Menu,
|
|
52
53
|
M as MetadataForm,
|
|
53
|
-
|
|
54
|
+
ah as NS_STORE_KEY,
|
|
54
55
|
N as NameColumnRenderer,
|
|
55
|
-
|
|
56
|
+
m as NameInputWidget,
|
|
56
57
|
b as NameSpaceColumnRenderer,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
q as NamespaceSelectWidget,
|
|
59
|
+
ak as NamespacesFilter,
|
|
60
|
+
d as NodeNameColumnRenderer,
|
|
61
|
+
at as POD_INIT_VALUE,
|
|
62
|
+
t as PageShow,
|
|
62
63
|
P as PhaseColumnRenderer,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
w as PodContainersTable,
|
|
65
|
+
am as PodLog,
|
|
66
|
+
aD as PodMetricsModel,
|
|
67
|
+
aC as PodModel,
|
|
68
|
+
a0 as PodsField,
|
|
69
|
+
ax as RESOURCE_GROUP,
|
|
70
|
+
_ as ReplicaField,
|
|
69
71
|
R as ReplicasColumnRenderer,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
72
|
+
G as ResourceCRUD,
|
|
73
|
+
F as ResourceForm,
|
|
74
|
+
z as ResourceList,
|
|
75
|
+
aE as ResourceModel,
|
|
76
|
+
E as ResourceShow,
|
|
77
|
+
L as ResourceUsageBar,
|
|
78
|
+
e as RestartCountColumnRenderer,
|
|
79
|
+
au as SERVICE_INIT_VALUE,
|
|
80
|
+
as as STATEFULSET_INIT_VALUE,
|
|
81
|
+
aa as SchemaStrategy,
|
|
82
|
+
a3 as SecretDataField,
|
|
83
|
+
U as Separator,
|
|
84
|
+
a8 as ServicePodsField,
|
|
85
|
+
S as ServiceTypeColumnRenderer,
|
|
86
|
+
a5 as ServiceTypeField,
|
|
87
|
+
a7 as SessionAffinityField,
|
|
88
|
+
a9 as ShowContent,
|
|
89
|
+
a4 as StartTimeField,
|
|
90
|
+
ad as StateTag,
|
|
91
|
+
av as TIMESTAMP_LABEL,
|
|
92
|
+
al as Tags,
|
|
93
|
+
aB as WorkloadBaseModel,
|
|
94
|
+
x as WorkloadDropdown,
|
|
86
95
|
W as WorkloadImageColumnRenderer,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
96
|
+
aA as WorkloadModel,
|
|
97
|
+
H as WorkloadPodsTable,
|
|
98
|
+
O as WorkloadReplicas,
|
|
99
|
+
c as WorkloadRestartsColumnRenderer,
|
|
90
100
|
Y as YamlEditorComponent,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
101
|
+
n as dnsSubDomainRules,
|
|
102
|
+
s as namespaceRules,
|
|
103
|
+
p as rfc1035LabelRules,
|
|
104
|
+
o as rfc1123LabelRules,
|
|
95
105
|
r as routerProvider,
|
|
96
106
|
a as useDeleteModal,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
107
|
+
i as useDownloadYAML,
|
|
108
|
+
h as useEagleTable,
|
|
109
|
+
k as useEdit,
|
|
110
|
+
l as useGlobalStore,
|
|
111
|
+
aj as useNamespacesFilter,
|
|
101
112
|
u as useSchema
|
|
102
113
|
};
|