@dovetail-v2/refine 0.0.8 → 0.0.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.aa479096.js → MonacoYamlDiffEditor.19d01417.js} +1 -1
- package/dist/{index.5cb49249.js → index.5ba25b92.js} +101 -98
- package/dist/refine.js +48 -45
- package/dist/refine.umd.cjs +56 -53
- package/dist/style.css +2 -2
- package/lib/src/components/ResourceCRUD/index.d.ts +3 -0
- package/package.json +1 -1
|
@@ -9606,6 +9606,59 @@ function WorkloadDropdown(props) {
|
|
|
9606
9606
|
}
|
|
9607
9607
|
) });
|
|
9608
9608
|
}
|
|
9609
|
+
const index_3lw8k1 = "";
|
|
9610
|
+
const ListPageStyle = "laykzsq";
|
|
9611
|
+
const TableStyle = "t1ng0psc";
|
|
9612
|
+
function ListPage(props) {
|
|
9613
|
+
const {
|
|
9614
|
+
title,
|
|
9615
|
+
selectedKeys,
|
|
9616
|
+
tableProps
|
|
9617
|
+
} = props;
|
|
9618
|
+
return /* @__PURE__ */ jsxRuntime.exports.jsxs("div", {
|
|
9619
|
+
className: ListPageStyle,
|
|
9620
|
+
children: [/* @__PURE__ */ jsxRuntime.exports.jsx(TableToolBar, {
|
|
9621
|
+
title,
|
|
9622
|
+
selectedKeys
|
|
9623
|
+
}), /* @__PURE__ */ jsxRuntime.exports.jsx(Table, {
|
|
9624
|
+
...tableProps,
|
|
9625
|
+
className: TableStyle,
|
|
9626
|
+
scroll: {
|
|
9627
|
+
y: "calc(100% - 48px)"
|
|
9628
|
+
}
|
|
9629
|
+
})]
|
|
9630
|
+
});
|
|
9631
|
+
}
|
|
9632
|
+
function ResourceList(props) {
|
|
9633
|
+
const { formatter, name: name2, columns, Dropdown } = props;
|
|
9634
|
+
const { i18n: i18n2 } = useTranslation();
|
|
9635
|
+
const { tableProps, selectedKeys } = useEagleTable({
|
|
9636
|
+
useTableParams: {},
|
|
9637
|
+
columns: [
|
|
9638
|
+
PhaseColumnRenderer(i18n2),
|
|
9639
|
+
NameColumnRenderer(i18n2),
|
|
9640
|
+
NameSpaceColumnRenderer(i18n2),
|
|
9641
|
+
...columns
|
|
9642
|
+
],
|
|
9643
|
+
tableProps: {
|
|
9644
|
+
currentSize: 10
|
|
9645
|
+
},
|
|
9646
|
+
formatter,
|
|
9647
|
+
Dropdown
|
|
9648
|
+
});
|
|
9649
|
+
return /* @__PURE__ */ jsxRuntime.exports.jsx(ListPage, { title: name2 || "", selectedKeys, tableProps });
|
|
9650
|
+
}
|
|
9651
|
+
function ResourceShow(props) {
|
|
9652
|
+
const { formatter, filedGroups, Dropdown } = props;
|
|
9653
|
+
return /* @__PURE__ */ jsxRuntime.exports.jsx(
|
|
9654
|
+
PageShow,
|
|
9655
|
+
{
|
|
9656
|
+
fieldGroups: filedGroups,
|
|
9657
|
+
formatter,
|
|
9658
|
+
Dropdown
|
|
9659
|
+
}
|
|
9660
|
+
);
|
|
9661
|
+
}
|
|
9609
9662
|
const index_12sfrn = "";
|
|
9610
9663
|
const Style = "s1bsn3us";
|
|
9611
9664
|
const Separator = () => {
|
|
@@ -9614,7 +9667,7 @@ const Separator = () => {
|
|
|
9614
9667
|
});
|
|
9615
9668
|
};
|
|
9616
9669
|
const MonacoYamlEditor = React.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
|
|
9617
|
-
const MonacoYamlDiffEditor = React.lazy(() => import("./MonacoYamlDiffEditor.
|
|
9670
|
+
const MonacoYamlDiffEditor = React.lazy(() => import("./MonacoYamlDiffEditor.19d01417.js"));
|
|
9618
9671
|
const YamlEditorComponent = forwardRef(
|
|
9619
9672
|
function YamlEditorComponent2(props, ref) {
|
|
9620
9673
|
const {
|
|
@@ -9980,59 +10033,6 @@ const ResourceForm = ({ config }) => {
|
|
|
9980
10033
|
}
|
|
9981
10034
|
);
|
|
9982
10035
|
};
|
|
9983
|
-
const index_3lw8k1 = "";
|
|
9984
|
-
const ListPageStyle = "laykzsq";
|
|
9985
|
-
const TableStyle = "t1ng0psc";
|
|
9986
|
-
function ListPage(props) {
|
|
9987
|
-
const {
|
|
9988
|
-
title,
|
|
9989
|
-
selectedKeys,
|
|
9990
|
-
tableProps
|
|
9991
|
-
} = props;
|
|
9992
|
-
return /* @__PURE__ */ jsxRuntime.exports.jsxs("div", {
|
|
9993
|
-
className: ListPageStyle,
|
|
9994
|
-
children: [/* @__PURE__ */ jsxRuntime.exports.jsx(TableToolBar, {
|
|
9995
|
-
title,
|
|
9996
|
-
selectedKeys
|
|
9997
|
-
}), /* @__PURE__ */ jsxRuntime.exports.jsx(Table, {
|
|
9998
|
-
...tableProps,
|
|
9999
|
-
className: TableStyle,
|
|
10000
|
-
scroll: {
|
|
10001
|
-
y: "calc(100% - 48px)"
|
|
10002
|
-
}
|
|
10003
|
-
})]
|
|
10004
|
-
});
|
|
10005
|
-
}
|
|
10006
|
-
function ResourceList(props) {
|
|
10007
|
-
const { formatter, name: name2, columns, Dropdown } = props;
|
|
10008
|
-
const { i18n: i18n2 } = useTranslation();
|
|
10009
|
-
const { tableProps, selectedKeys } = useEagleTable({
|
|
10010
|
-
useTableParams: {},
|
|
10011
|
-
columns: [
|
|
10012
|
-
PhaseColumnRenderer(i18n2),
|
|
10013
|
-
NameColumnRenderer(i18n2),
|
|
10014
|
-
NameSpaceColumnRenderer(i18n2),
|
|
10015
|
-
...columns
|
|
10016
|
-
],
|
|
10017
|
-
tableProps: {
|
|
10018
|
-
currentSize: 10
|
|
10019
|
-
},
|
|
10020
|
-
formatter,
|
|
10021
|
-
Dropdown
|
|
10022
|
-
});
|
|
10023
|
-
return /* @__PURE__ */ jsxRuntime.exports.jsx(ListPage, { title: name2 || "", selectedKeys, tableProps });
|
|
10024
|
-
}
|
|
10025
|
-
function ResourceShow(props) {
|
|
10026
|
-
const { formatter, filedGroups, Dropdown } = props;
|
|
10027
|
-
return /* @__PURE__ */ jsxRuntime.exports.jsx(
|
|
10028
|
-
PageShow,
|
|
10029
|
-
{
|
|
10030
|
-
fieldGroups: filedGroups,
|
|
10031
|
-
formatter,
|
|
10032
|
-
Dropdown
|
|
10033
|
-
}
|
|
10034
|
-
);
|
|
10035
|
-
}
|
|
10036
10036
|
const ResourceCRUD = (props) => {
|
|
10037
10037
|
const { configs, urlPrefix } = props;
|
|
10038
10038
|
const { i18n: i18n2 } = useTranslation();
|
|
@@ -11734,61 +11734,64 @@ var RESOURCE_GROUP = /* @__PURE__ */ ((RESOURCE_GROUP2) => {
|
|
|
11734
11734
|
return RESOURCE_GROUP2;
|
|
11735
11735
|
})(RESOURCE_GROUP || {});
|
|
11736
11736
|
export {
|
|
11737
|
-
|
|
11737
|
+
DataField as $,
|
|
11738
11738
|
AgeColumnRenderer as A,
|
|
11739
11739
|
Breadcrumb as B,
|
|
11740
11740
|
CommonSorter as C,
|
|
11741
11741
|
DurationColumnRenderer as D,
|
|
11742
|
-
|
|
11743
|
-
|
|
11744
|
-
|
|
11745
|
-
|
|
11742
|
+
ResourceCRUD as E,
|
|
11743
|
+
WorkloadPodsTable as F,
|
|
11744
|
+
CronJobDropdown as G,
|
|
11745
|
+
ResourceUsageBar as H,
|
|
11746
11746
|
ImageNames as I,
|
|
11747
|
-
|
|
11747
|
+
WorkloadReplicas as J,
|
|
11748
11748
|
KeyValueListWidget as K,
|
|
11749
|
-
|
|
11749
|
+
CronjobJobsTable as L,
|
|
11750
11750
|
MetadataForm as M,
|
|
11751
11751
|
NameColumnRenderer as N,
|
|
11752
|
-
|
|
11752
|
+
KeyValue as O,
|
|
11753
11753
|
PhaseColumnRenderer as P,
|
|
11754
|
-
|
|
11754
|
+
DeleteButton as Q,
|
|
11755
11755
|
ReplicasColumnRenderer as R,
|
|
11756
11756
|
Separator as S,
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
|
|
11757
|
+
Layout as T,
|
|
11758
|
+
ImageField as U,
|
|
11759
|
+
ReplicaField as V,
|
|
11760
11760
|
WorkloadImageColumnRenderer as W,
|
|
11761
|
-
|
|
11761
|
+
ConditionsField as X,
|
|
11762
11762
|
YamlEditorComponent as Y,
|
|
11763
|
-
|
|
11764
|
-
|
|
11763
|
+
PodsField as Z,
|
|
11764
|
+
JobsField as _,
|
|
11765
11765
|
useDeleteModal as a,
|
|
11766
|
-
|
|
11767
|
-
|
|
11768
|
-
|
|
11769
|
-
|
|
11770
|
-
|
|
11771
|
-
|
|
11772
|
-
|
|
11773
|
-
|
|
11774
|
-
|
|
11775
|
-
|
|
11776
|
-
|
|
11777
|
-
|
|
11778
|
-
|
|
11779
|
-
|
|
11780
|
-
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
|
|
11784
|
-
|
|
11785
|
-
|
|
11786
|
-
|
|
11787
|
-
|
|
11788
|
-
|
|
11789
|
-
|
|
11790
|
-
|
|
11791
|
-
|
|
11766
|
+
SecretDataField as a0,
|
|
11767
|
+
StartTimeField as a1,
|
|
11768
|
+
ShowContent as a2,
|
|
11769
|
+
DeleteManyButton as a3,
|
|
11770
|
+
StateTag as a4,
|
|
11771
|
+
DrawerShow as a5,
|
|
11772
|
+
Menu as a6,
|
|
11773
|
+
EditButton as a7,
|
|
11774
|
+
NS_STORE_KEY as a8,
|
|
11775
|
+
ALL_NS as a9,
|
|
11776
|
+
useNamespacesFilter as aa,
|
|
11777
|
+
NamespacesFilter as ab,
|
|
11778
|
+
Tags as ac,
|
|
11779
|
+
BASE_INIT_VALUE as ad,
|
|
11780
|
+
DEPLOYMENT_INIT_VALUE as ae,
|
|
11781
|
+
CRONJOB_INIT_VALUE as af,
|
|
11782
|
+
DAEMONSET_INIT_VALUE as ag,
|
|
11783
|
+
JOB_INIT_VALUE as ah,
|
|
11784
|
+
STATEFULSET_INIT_VALUE as ai,
|
|
11785
|
+
POD_INIT_VALUE as aj,
|
|
11786
|
+
TIMESTAMP_LABEL as ak,
|
|
11787
|
+
JobModel as al,
|
|
11788
|
+
PodModel as am,
|
|
11789
|
+
PodMetricsModel as an,
|
|
11790
|
+
ResourceModel as ao,
|
|
11791
|
+
WorkloadModel as ap,
|
|
11792
|
+
CronJobModel as aq,
|
|
11793
|
+
Dovetail as ar,
|
|
11794
|
+
RESOURCE_GROUP as as,
|
|
11792
11795
|
NameSpaceColumnRenderer as b,
|
|
11793
11796
|
NodeNameColumnRenderer as c,
|
|
11794
11797
|
RestartCountColumnRenderer as d,
|
|
@@ -11811,7 +11814,7 @@ export {
|
|
|
11811
11814
|
useSchema as u,
|
|
11812
11815
|
WorkloadDropdown as v,
|
|
11813
11816
|
CreateButton as w,
|
|
11814
|
-
|
|
11815
|
-
|
|
11816
|
-
|
|
11817
|
+
ResourceList as x,
|
|
11818
|
+
ResourceShow as y,
|
|
11819
|
+
ResourceForm as z
|
|
11817
11820
|
};
|
package/dist/refine.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a9, A, ad, B, af, f, C, e, X, s, w, G, aq, L, ag, ae, $, Q, a3, ar, a5, D, a7, U, I, ah, al, _, O, K, T, a6, M, a8, N, k, b, o, ab, c, aj, q, P, t, an, am, Z, as, V, R, E, z, x, ao, y, H, d, ai, a0, S, a2, a1, a4, ak, ac, v, W, ap, F, J, Y, l, p, n, m, r, a, h, g, i, aa, u } from "./index.5ba25b92.js";
|
|
2
2
|
import "@cloudtower/eagle";
|
|
3
3
|
import "@refinedev/core";
|
|
4
4
|
import "js-yaml";
|
|
@@ -16,73 +16,76 @@ import "ky";
|
|
|
16
16
|
import "mitt";
|
|
17
17
|
import "i18next";
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
a9 as ALL_NS,
|
|
20
20
|
A as AgeColumnRenderer,
|
|
21
|
-
|
|
21
|
+
ad as BASE_INIT_VALUE,
|
|
22
22
|
B as Breadcrumb,
|
|
23
|
-
|
|
23
|
+
af as CRONJOB_INIT_VALUE,
|
|
24
24
|
f as ColumnKeys,
|
|
25
25
|
C as CommonSorter,
|
|
26
26
|
e as CompletionsCountColumnRenderer,
|
|
27
|
-
|
|
27
|
+
X as ConditionsField,
|
|
28
28
|
s as ConditionsTable,
|
|
29
29
|
w as CreateButton,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
30
|
+
G as CronJobDropdown,
|
|
31
|
+
aq as CronJobModel,
|
|
32
|
+
L as CronjobJobsTable,
|
|
33
|
+
ag as DAEMONSET_INIT_VALUE,
|
|
34
|
+
ae as DEPLOYMENT_INIT_VALUE,
|
|
35
|
+
$ as DataField,
|
|
36
|
+
Q as DeleteButton,
|
|
37
|
+
a3 as DeleteManyButton,
|
|
38
|
+
ar as Dovetail,
|
|
39
|
+
a5 as DrawerShow,
|
|
40
40
|
D as DurationColumnRenderer,
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
a7 as EditButton,
|
|
42
|
+
U as ImageField,
|
|
43
43
|
I as ImageNames,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
ah as JOB_INIT_VALUE,
|
|
45
|
+
al as JobModel,
|
|
46
|
+
_ as JobsField,
|
|
47
|
+
O as KeyValue,
|
|
48
48
|
K as KeyValueListWidget,
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
T as Layout,
|
|
50
|
+
a6 as Menu,
|
|
51
51
|
M as MetadataForm,
|
|
52
|
-
|
|
52
|
+
a8 as NS_STORE_KEY,
|
|
53
53
|
N as NameColumnRenderer,
|
|
54
54
|
k as NameInputWidget,
|
|
55
55
|
b as NameSpaceColumnRenderer,
|
|
56
56
|
o as NamespaceSelectWidget,
|
|
57
|
-
|
|
57
|
+
ab as NamespacesFilter,
|
|
58
58
|
c as NodeNameColumnRenderer,
|
|
59
|
-
|
|
59
|
+
aj as POD_INIT_VALUE,
|
|
60
60
|
q as PageShow,
|
|
61
61
|
P as PhaseColumnRenderer,
|
|
62
62
|
t as PodContainersTable,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
63
|
+
an as PodMetricsModel,
|
|
64
|
+
am as PodModel,
|
|
65
|
+
Z as PodsField,
|
|
66
|
+
as as RESOURCE_GROUP,
|
|
67
|
+
V as ReplicaField,
|
|
68
68
|
R as ReplicasColumnRenderer,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
E as ResourceCRUD,
|
|
70
|
+
z as ResourceForm,
|
|
71
|
+
x as ResourceList,
|
|
72
|
+
ao as ResourceModel,
|
|
73
|
+
y as ResourceShow,
|
|
74
|
+
H as ResourceUsageBar,
|
|
72
75
|
d as RestartCountColumnRenderer,
|
|
73
|
-
|
|
74
|
-
|
|
76
|
+
ai as STATEFULSET_INIT_VALUE,
|
|
77
|
+
a0 as SecretDataField,
|
|
75
78
|
S as Separator,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
a2 as ShowContent,
|
|
80
|
+
a1 as StartTimeField,
|
|
81
|
+
a4 as StateTag,
|
|
82
|
+
ak as TIMESTAMP_LABEL,
|
|
83
|
+
ac as Tags,
|
|
81
84
|
v as WorkloadDropdown,
|
|
82
85
|
W as WorkloadImageColumnRenderer,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
+
ap as WorkloadModel,
|
|
87
|
+
F as WorkloadPodsTable,
|
|
88
|
+
J as WorkloadReplicas,
|
|
86
89
|
Y as YamlEditorComponent,
|
|
87
90
|
l as dnsSubDomainRules,
|
|
88
91
|
p as namespaceRules,
|
|
@@ -93,6 +96,6 @@ export {
|
|
|
93
96
|
h as useDownloadYAML,
|
|
94
97
|
g as useEagleTable,
|
|
95
98
|
i as useEdit,
|
|
96
|
-
|
|
99
|
+
aa as useNamespacesFilter,
|
|
97
100
|
u as useSchema
|
|
98
101
|
};
|
package/dist/refine.umd.cjs
CHANGED
|
@@ -9620,6 +9620,59 @@ var __publicField = (obj, key, value) => {
|
|
|
9620
9620
|
}
|
|
9621
9621
|
) });
|
|
9622
9622
|
}
|
|
9623
|
+
const index_3lw8k1 = "";
|
|
9624
|
+
const ListPageStyle = "laykzsq";
|
|
9625
|
+
const TableStyle = "t1ng0psc";
|
|
9626
|
+
function ListPage(props) {
|
|
9627
|
+
const {
|
|
9628
|
+
title,
|
|
9629
|
+
selectedKeys,
|
|
9630
|
+
tableProps
|
|
9631
|
+
} = props;
|
|
9632
|
+
return /* @__PURE__ */ jsxRuntime.exports.jsxs("div", {
|
|
9633
|
+
className: ListPageStyle,
|
|
9634
|
+
children: [/* @__PURE__ */ jsxRuntime.exports.jsx(TableToolBar, {
|
|
9635
|
+
title,
|
|
9636
|
+
selectedKeys
|
|
9637
|
+
}), /* @__PURE__ */ jsxRuntime.exports.jsx(Table, {
|
|
9638
|
+
...tableProps,
|
|
9639
|
+
className: TableStyle,
|
|
9640
|
+
scroll: {
|
|
9641
|
+
y: "calc(100% - 48px)"
|
|
9642
|
+
}
|
|
9643
|
+
})]
|
|
9644
|
+
});
|
|
9645
|
+
}
|
|
9646
|
+
function ResourceList(props) {
|
|
9647
|
+
const { formatter, name: name2, columns, Dropdown } = props;
|
|
9648
|
+
const { i18n: i18n2 } = useTranslation();
|
|
9649
|
+
const { tableProps, selectedKeys } = useEagleTable({
|
|
9650
|
+
useTableParams: {},
|
|
9651
|
+
columns: [
|
|
9652
|
+
PhaseColumnRenderer(i18n2),
|
|
9653
|
+
NameColumnRenderer(i18n2),
|
|
9654
|
+
NameSpaceColumnRenderer(i18n2),
|
|
9655
|
+
...columns
|
|
9656
|
+
],
|
|
9657
|
+
tableProps: {
|
|
9658
|
+
currentSize: 10
|
|
9659
|
+
},
|
|
9660
|
+
formatter,
|
|
9661
|
+
Dropdown
|
|
9662
|
+
});
|
|
9663
|
+
return /* @__PURE__ */ jsxRuntime.exports.jsx(ListPage, { title: name2 || "", selectedKeys, tableProps });
|
|
9664
|
+
}
|
|
9665
|
+
function ResourceShow(props) {
|
|
9666
|
+
const { formatter, filedGroups, Dropdown } = props;
|
|
9667
|
+
return /* @__PURE__ */ jsxRuntime.exports.jsx(
|
|
9668
|
+
PageShow,
|
|
9669
|
+
{
|
|
9670
|
+
fieldGroups: filedGroups,
|
|
9671
|
+
formatter,
|
|
9672
|
+
Dropdown
|
|
9673
|
+
}
|
|
9674
|
+
);
|
|
9675
|
+
}
|
|
9623
9676
|
const index_12sfrn = "";
|
|
9624
9677
|
const Style = "s1bsn3us";
|
|
9625
9678
|
const Separator = () => {
|
|
@@ -9994,59 +10047,6 @@ var __publicField = (obj, key, value) => {
|
|
|
9994
10047
|
}
|
|
9995
10048
|
);
|
|
9996
10049
|
};
|
|
9997
|
-
const index_3lw8k1 = "";
|
|
9998
|
-
const ListPageStyle = "laykzsq";
|
|
9999
|
-
const TableStyle = "t1ng0psc";
|
|
10000
|
-
function ListPage(props) {
|
|
10001
|
-
const {
|
|
10002
|
-
title,
|
|
10003
|
-
selectedKeys,
|
|
10004
|
-
tableProps
|
|
10005
|
-
} = props;
|
|
10006
|
-
return /* @__PURE__ */ jsxRuntime.exports.jsxs("div", {
|
|
10007
|
-
className: ListPageStyle,
|
|
10008
|
-
children: [/* @__PURE__ */ jsxRuntime.exports.jsx(TableToolBar, {
|
|
10009
|
-
title,
|
|
10010
|
-
selectedKeys
|
|
10011
|
-
}), /* @__PURE__ */ jsxRuntime.exports.jsx(Table, {
|
|
10012
|
-
...tableProps,
|
|
10013
|
-
className: TableStyle,
|
|
10014
|
-
scroll: {
|
|
10015
|
-
y: "calc(100% - 48px)"
|
|
10016
|
-
}
|
|
10017
|
-
})]
|
|
10018
|
-
});
|
|
10019
|
-
}
|
|
10020
|
-
function ResourceList(props) {
|
|
10021
|
-
const { formatter, name: name2, columns, Dropdown } = props;
|
|
10022
|
-
const { i18n: i18n2 } = useTranslation();
|
|
10023
|
-
const { tableProps, selectedKeys } = useEagleTable({
|
|
10024
|
-
useTableParams: {},
|
|
10025
|
-
columns: [
|
|
10026
|
-
PhaseColumnRenderer(i18n2),
|
|
10027
|
-
NameColumnRenderer(i18n2),
|
|
10028
|
-
NameSpaceColumnRenderer(i18n2),
|
|
10029
|
-
...columns
|
|
10030
|
-
],
|
|
10031
|
-
tableProps: {
|
|
10032
|
-
currentSize: 10
|
|
10033
|
-
},
|
|
10034
|
-
formatter,
|
|
10035
|
-
Dropdown
|
|
10036
|
-
});
|
|
10037
|
-
return /* @__PURE__ */ jsxRuntime.exports.jsx(ListPage, { title: name2 || "", selectedKeys, tableProps });
|
|
10038
|
-
}
|
|
10039
|
-
function ResourceShow(props) {
|
|
10040
|
-
const { formatter, filedGroups, Dropdown } = props;
|
|
10041
|
-
return /* @__PURE__ */ jsxRuntime.exports.jsx(
|
|
10042
|
-
PageShow,
|
|
10043
|
-
{
|
|
10044
|
-
fieldGroups: filedGroups,
|
|
10045
|
-
formatter,
|
|
10046
|
-
Dropdown
|
|
10047
|
-
}
|
|
10048
|
-
);
|
|
10049
|
-
}
|
|
10050
10050
|
const ResourceCRUD = (props) => {
|
|
10051
10051
|
const { configs, urlPrefix } = props;
|
|
10052
10052
|
const { i18n: i18n2 } = useTranslation();
|
|
@@ -11838,7 +11838,10 @@ var __publicField = (obj, key, value) => {
|
|
|
11838
11838
|
exports2.ReplicaField = ReplicaField;
|
|
11839
11839
|
exports2.ReplicasColumnRenderer = ReplicasColumnRenderer;
|
|
11840
11840
|
exports2.ResourceCRUD = ResourceCRUD;
|
|
11841
|
+
exports2.ResourceForm = ResourceForm;
|
|
11842
|
+
exports2.ResourceList = ResourceList;
|
|
11841
11843
|
exports2.ResourceModel = ResourceModel;
|
|
11844
|
+
exports2.ResourceShow = ResourceShow;
|
|
11842
11845
|
exports2.ResourceUsageBar = ResourceUsageBar;
|
|
11843
11846
|
exports2.RestartCountColumnRenderer = RestartCountColumnRenderer;
|
|
11844
11847
|
exports2.STATEFULSET_INIT_VALUE = STATEFULSET_INIT_VALUE;
|
package/dist/style.css
CHANGED
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
.e1ohe42f{margin-top:16px;}
|
|
28
28
|
.w1akirqw{height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}
|
|
29
29
|
.t30srnq{line-height:32px !important;}
|
|
30
|
-
.s1bsn3us{width:1px;height:16px;border-radius:1px;background:rgba(172,186,211,0.6);}
|
|
31
|
-
.e5ks0bl{-webkit-flex:1;-ms-flex:1;flex:1;height:100%;}
|
|
32
30
|
.laykzsq{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}
|
|
33
31
|
.t1ng0psc.table-wrapper{height:auto;-webkit-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1;min-height:0;}
|
|
32
|
+
.s1bsn3us{width:1px;height:16px;border-radius:1px;background:rgba(172,186,211,0.6);}
|
|
33
|
+
.e5ks0bl{-webkit-flex:1;-ms-flex:1;flex:1;height:100%;}
|
|
34
34
|
.wfg6u6g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.wfg6u6g .usage-text{width:50px;text-align:right;}.wfg6u6g .usage-bar{height:12px;width:100px;position:relative;border-radius:2px;}.wfg6u6g .request-anchor{position:absolute;left:10%;top:-3px;height:18px;width:2px;background:#777;z-index:9;}.wfg6u6g .usage-fill-bar{position:absolute;left:0;top:0;height:100%;background:rgba(0,128,255,0.6);z-index:7;}.wfg6u6g .request-bar{position:absolute;left:0;top:0;height:100%;background:#d8deeb;z-index:5;}.wfg6u6g .request-to-limit-bar{position:absolute;right:0;top:0;height:100%;background:#d8deeb;z-index:5;}.wfg6u6g .request-to-limit-bar.no-limit{background:linear-gradient(to right,#d8deeb 50%,#d8deeb 50%);background-size:4px 100%;}.wfg6u6g .request-to-limit-bar.no-limit.exceed-request{background:linear-gradient(to right,#d8deeb 50%,rgba(0,128,255,0.6) 50%);background-size:4px 100%;}
|
|
35
35
|
.mdppgn0.ant-menu{background:#edf0f7;padding:8px;}.mdppgn0.ant-menu .ant-menu-item-selected{background:linear-gradient(90deg,#0080ff,#005ed1);border-radius:6px;box-shadow:0 1px 2px rgba(184,192,204,0.6);color:#fff;}.mdppgn0.ant-menu .ant-menu-item-selected a:hover{color:#fff;}.mdppgn0.ant-menu .ant-menu-item:not(.ant-menu-item-selected):hover{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0.6));border-radius:6px;box-shadow:0 0 4px rgba(235,239,245,0.6),0 8px 16px rgba(129,138,153,0.18);}
|
|
36
36
|
.h16z07g.ant-layout-header{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#fff;border-bottom:2px solid #edf0f7;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:50px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:0 24px 0 14px;position:relative;z-index:10;}
|