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