@dovetail-v2/refine 0.0.17 → 0.0.19
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.dc83b657.js → MonacoYamlDiffEditor-b1abdc2e.js} +2 -2
- package/dist/assets/{yaml.worker.bb17811d.js → yaml.worker-5e5f190c.js} +2153 -992
- package/dist/{index.d48047e6.js → index-77b64cff.js} +5853 -5096
- package/dist/refine.js +98 -87
- package/dist/refine.umd.cjs +5439 -4689
- package/dist/style.css +23 -13
- package/lib/src/components/DrawerShow/DrawerShow.d.ts +2 -2
- package/lib/src/components/FormModal/index.d.ts +2 -4
- package/lib/src/components/IngressRulesComponent/index.d.ts +5 -0
- package/lib/src/components/IngressRulesTable/IngressRulesTable.d.ts +7 -0
- package/lib/src/components/IngressRulesTable/index.d.ts +1 -0
- package/lib/src/components/KeyValueData/index.d.ts +6 -0
- package/lib/src/components/NetworkPolicyRulesTable/NetworkPolicyRulesTable.d.ts +7 -0
- package/lib/src/components/NetworkPolicyRulesTable/index.d.ts +1 -0
- package/lib/src/components/PageShow/PageShow.d.ts +2 -2
- package/lib/src/components/ReferenceLink/index.d.ts +8 -0
- package/lib/src/components/ResourceCRUD/show/index.d.ts +2 -2
- package/lib/src/components/ResourceLink/index.d.ts +8 -0
- package/lib/src/components/ShowContent/ShowContent.d.ts +2 -2
- package/lib/src/components/ShowContent/fields.d.ts +26 -7
- package/lib/src/components/StateTag/StateTag.d.ts +1 -0
- package/lib/src/components/Tags/index.d.ts +1 -1
- package/lib/src/components/WorkloadDropdown/index.d.ts +0 -2
- package/lib/src/components/WorkloadPodsTable/WorkloadPodsTable.d.ts +5 -2
- package/lib/src/components/WorkloadReplicas/index.d.ts +6 -3
- package/lib/src/components/YamlForm/index.d.ts +5 -7
- package/lib/src/components/index.d.ts +2 -0
- package/lib/src/constants/k8s.d.ts +43 -0
- package/lib/src/hooks/useEagleTable/columns.d.ts +5 -2
- package/lib/src/hooks/useSubmitForm.d.ts +1 -0
- package/lib/src/i18n.d.ts +10 -0
- package/lib/src/locales/zh-CN/index.d.ts +10 -0
- package/lib/src/models/index.d.ts +2 -0
- package/lib/src/models/ingress-model.d.ts +18 -0
- package/lib/src/models/job-model.d.ts +3 -1
- package/lib/src/models/network-policy-model.d.ts +10 -0
- package/lib/src/models/service-model.d.ts +10 -0
- package/lib/src/models/workload-model.d.ts +2 -0
- package/lib/src/pages/ingresses/index.d.ts +3 -0
- package/lib/src/pages/networkPolicies/index.d.ts +3 -0
- package/lib/src/types/resource.d.ts +2 -2
- package/lib/src/utils/error.d.ts +3 -3
- package/lib/src/utils/time.d.ts +6 -1
- package/lib/vite.config.d.ts +1 -1
- package/package.json +9 -9
- package/lib/src/components/ModalContextProvider/index.d.ts +0 -12
- package/lib/src/hooks/useModal.d.ts +0 -0
package/dist/refine.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ap, A, av, B, ax, a9, i, C, f, aK, a2, x, aM, E, Q, aV, V, ay, aw, aY, a5, _, ag, aX, aH, aj, D, al, aW, ad, au, aJ, aL, aD, a0, F, h, aN, I, ac, az, aP, a4, X, K, $, ah, ak, M, aE, ao, N, o, b, t, ar, aO, d, aB, w, y, at, aT, aS, P, a3, a_, aI, am, a1, R, L, J, an, G, aU, H, T, e, aC, aA, af, a6, Y, ab, g, a8, aa, ae, a7, S, ai, aZ, aF, as, aR, z, W, aQ, O, U, c, aG, Z, p, v, s, q, r, a, l, k, m, n, aq, u } from "./index-77b64cff.js";
|
|
2
2
|
import "@cloudtower/eagle";
|
|
3
3
|
import "@refinedev/core";
|
|
4
4
|
import "js-yaml";
|
|
@@ -15,109 +15,120 @@ import "react-dom";
|
|
|
15
15
|
import "antd";
|
|
16
16
|
import "k8s-api-provider";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
ap as ALL_NS,
|
|
19
19
|
A as AgeColumnRenderer,
|
|
20
|
-
|
|
20
|
+
av as BASE_INIT_VALUE,
|
|
21
21
|
B as Breadcrumb,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
ax as CRONJOB_INIT_VALUE,
|
|
23
|
+
a9 as ClusterIpField,
|
|
24
|
+
i as ColumnKeys,
|
|
25
25
|
C as CommonSorter,
|
|
26
26
|
f as CompletionsCountColumnRenderer,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
27
|
+
aK as ComponentContext,
|
|
28
|
+
a2 as ConditionsField,
|
|
29
|
+
x as ConditionsTable,
|
|
30
|
+
aM as ConfigsContext,
|
|
31
|
+
E as CreateButton,
|
|
32
|
+
Q as CronJobDropdown,
|
|
33
|
+
aV as CronJobModel,
|
|
34
|
+
V as CronjobJobsTable,
|
|
35
|
+
ay as DAEMONSET_INIT_VALUE,
|
|
36
|
+
aw as DEPLOYMENT_INIT_VALUE,
|
|
37
|
+
aY as DaemonSetModel,
|
|
38
|
+
a5 as DataField,
|
|
39
|
+
_ as DeleteButton,
|
|
40
|
+
ag as DeleteManyButton,
|
|
41
|
+
aX as DeploymentModel,
|
|
42
|
+
aH as Dovetail,
|
|
43
|
+
aj as DrawerShow,
|
|
44
44
|
D as DurationColumnRenderer,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
45
|
+
al as EditButton,
|
|
46
|
+
aW as EventModel,
|
|
47
|
+
ad as EventsTableTabField,
|
|
48
|
+
au as FormModal,
|
|
49
|
+
aJ as FormType,
|
|
50
|
+
aL as GlobalStoreContext,
|
|
51
|
+
aD as INGRESS_INIT_VALUE,
|
|
52
|
+
a0 as ImageField,
|
|
53
|
+
F as ImageNames,
|
|
54
|
+
h as IngressDefaultBackendColumnRenderer,
|
|
55
|
+
aN as IngressModel,
|
|
56
|
+
I as IngressRulesColumnRenderer,
|
|
57
|
+
ac as IngressRulesTableTabField,
|
|
58
|
+
az as JOB_INIT_VALUE,
|
|
59
|
+
aP as JobModel,
|
|
60
|
+
a4 as JobsField,
|
|
61
|
+
X as KeyValue,
|
|
56
62
|
K as KeyValueListWidget,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
63
|
+
$ as Layout,
|
|
64
|
+
ah as ListPage,
|
|
65
|
+
ak as Menu,
|
|
60
66
|
M as MetadataForm,
|
|
61
|
-
|
|
67
|
+
aE as NETWORK_POLICY_INIT_VALUE,
|
|
68
|
+
ao as NS_STORE_KEY,
|
|
62
69
|
N as NameColumnRenderer,
|
|
63
|
-
|
|
70
|
+
o as NameInputWidget,
|
|
64
71
|
b as NameSpaceColumnRenderer,
|
|
65
|
-
|
|
66
|
-
|
|
72
|
+
t as NamespaceSelectWidget,
|
|
73
|
+
ar as NamespacesFilter,
|
|
74
|
+
aO as NetworkPolicyModel,
|
|
67
75
|
d as NodeNameColumnRenderer,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
aB as POD_INIT_VALUE,
|
|
77
|
+
w as PageShow,
|
|
78
|
+
y as PodContainersTable,
|
|
79
|
+
at as PodLog,
|
|
80
|
+
aT as PodMetricsModel,
|
|
81
|
+
aS as PodModel,
|
|
82
|
+
P as PodWorkloadColumnRenderer,
|
|
83
|
+
a3 as PodsField,
|
|
84
|
+
a_ as ProviderPlugins,
|
|
85
|
+
aI as RESOURCE_GROUP,
|
|
86
|
+
am as ReferenceLink,
|
|
87
|
+
a1 as ReplicaField,
|
|
78
88
|
R as ReplicasColumnRenderer,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
89
|
+
L as ResourceCRUD,
|
|
90
|
+
J as ResourceForm,
|
|
91
|
+
an as ResourceLink,
|
|
92
|
+
G as ResourceList,
|
|
93
|
+
aU as ResourceModel,
|
|
94
|
+
H as ResourceShow,
|
|
95
|
+
T as ResourceUsageBar,
|
|
85
96
|
e as RestartCountColumnRenderer,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
97
|
+
aC as SERVICE_INIT_VALUE,
|
|
98
|
+
aA as STATEFULSET_INIT_VALUE,
|
|
99
|
+
af as SchemaStrategy,
|
|
100
|
+
a6 as SecretDataField,
|
|
101
|
+
Y as Separator,
|
|
102
|
+
ab as ServicePodsField,
|
|
92
103
|
g as ServiceTypeColumnRenderer,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
104
|
+
a8 as ServiceTypeField,
|
|
105
|
+
aa as SessionAffinityField,
|
|
106
|
+
ae as ShowContent,
|
|
107
|
+
a7 as StartTimeField,
|
|
97
108
|
S as StateDisplayColumnRenderer,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
109
|
+
ai as StateTag,
|
|
110
|
+
aZ as StatefulSetModel,
|
|
111
|
+
aF as TIMESTAMP_LABEL,
|
|
112
|
+
as as Tags,
|
|
113
|
+
aR as WorkloadBaseModel,
|
|
114
|
+
z as WorkloadDropdown,
|
|
104
115
|
W as WorkloadImageColumnRenderer,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
116
|
+
aQ as WorkloadModel,
|
|
117
|
+
O as WorkloadPodsTable,
|
|
118
|
+
U as WorkloadReplicas,
|
|
108
119
|
c as WorkloadRestartsColumnRenderer,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
120
|
+
aG as WorkloadState,
|
|
121
|
+
Z as YamlEditorComponent,
|
|
122
|
+
p as dnsSubDomainRules,
|
|
123
|
+
v as namespaceRules,
|
|
124
|
+
s as rfc1035LabelRules,
|
|
125
|
+
q as rfc1123LabelRules,
|
|
115
126
|
r as routerProvider,
|
|
116
127
|
a as useDeleteModal,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
128
|
+
l as useDownloadYAML,
|
|
129
|
+
k as useEagleTable,
|
|
130
|
+
m as useEdit,
|
|
131
|
+
n as useGlobalStore,
|
|
132
|
+
aq as useNamespacesFilter,
|
|
122
133
|
u as useSchema
|
|
123
134
|
};
|