@dovetail-v2/refine 0.3.12-alpha.2 → 0.3.13-alpha.1
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/components/InternalBaseTable/index.d.ts +1 -0
- package/dist/components/KeyValue/KeyValue.d.ts +2 -0
- package/dist/components/ResourceSelect/index.d.ts +1 -0
- package/dist/components/ShowContent/fields.d.ts +1 -1
- package/dist/components/ShowContent/groups.d.ts +1 -4
- package/dist/components/ShowContent/tabs.d.ts +13 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useRefineFilters.d.ts +9 -0
- package/dist/i18n.d.ts +5 -0
- package/dist/locales/zh-CN/index.d.ts +5 -0
- package/dist/models/ingress-model.d.ts +1 -1
- package/dist/refine.cjs +536 -283
- package/dist/refine.js +537 -284
- package/dist/style.css +72 -8
- package/dist/types/resource.d.ts +2 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/match-selector.d.ts +1 -1
- package/package.json +1 -1
- package/dist/utils/selector.d.ts +0 -3
package/dist/style.css
CHANGED
|
@@ -1525,12 +1525,16 @@
|
|
|
1525
1525
|
/* box shadow */
|
|
1526
1526
|
/* fisheye */
|
|
1527
1527
|
/* z-index */
|
|
1528
|
-
.
|
|
1529
|
-
|
|
1528
|
+
.c11tbgf7 {
|
|
1529
|
+
align-self: flex-end;
|
|
1530
|
+
justify-self: flex-start;
|
|
1530
1531
|
}
|
|
1531
1532
|
|
|
1532
|
-
.
|
|
1533
|
-
|
|
1533
|
+
.ctbyh5g {
|
|
1534
|
+
display: flex;
|
|
1535
|
+
flex-direction: column;
|
|
1536
|
+
gap: 8px;
|
|
1537
|
+
height: 100%;
|
|
1534
1538
|
}/* // basic */
|
|
1535
1539
|
/* FishEye Color Variables and Functions */
|
|
1536
1540
|
/*
|
|
@@ -1960,6 +1964,66 @@
|
|
|
1960
1964
|
/* box shadow */
|
|
1961
1965
|
/* fisheye */
|
|
1962
1966
|
/* z-index */
|
|
1967
|
+
.c91cpym {
|
|
1968
|
+
padding: 16px 24px;
|
|
1969
|
+
height: 100%;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
.ca9k82k {
|
|
1973
|
+
padding: 8px 24px 24px 24px;
|
|
1974
|
+
height: 100%;
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
.c1k4htrr {
|
|
1978
|
+
padding: 0 24px;
|
|
1979
|
+
height: 100%;
|
|
1980
|
+
}/* // basic */
|
|
1981
|
+
/* FishEye Color Variables and Functions */
|
|
1982
|
+
/*
|
|
1983
|
+
--------------------------- Primary Color ---------------------------
|
|
1984
|
+
*/
|
|
1985
|
+
/*
|
|
1986
|
+
---------------------------When necessary to add at any time---------------------------
|
|
1987
|
+
*/
|
|
1988
|
+
/* computed */
|
|
1989
|
+
/* blue */
|
|
1990
|
+
/* green */
|
|
1991
|
+
/* yellow */
|
|
1992
|
+
/* red */
|
|
1993
|
+
/* purple */
|
|
1994
|
+
/* palette global token*/
|
|
1995
|
+
/* color opaque */
|
|
1996
|
+
/* color transparent */
|
|
1997
|
+
/* blue transparent */
|
|
1998
|
+
/* green transparent */
|
|
1999
|
+
/* yellow transparent */
|
|
2000
|
+
/* red transparent */
|
|
2001
|
+
/* gray transparent */
|
|
2002
|
+
/* white transparent */
|
|
2003
|
+
/* gradient opaque */
|
|
2004
|
+
/* blue radial gradient */
|
|
2005
|
+
/* blue linear gradient */
|
|
2006
|
+
/* green radial gradient */
|
|
2007
|
+
/* yellow radial gradient */
|
|
2008
|
+
/* red radial gradient */
|
|
2009
|
+
/* gray radial gradient */
|
|
2010
|
+
/* white to gray radial gradient */
|
|
2011
|
+
/* white to gray linear gradient */
|
|
2012
|
+
/* gradient transparent */
|
|
2013
|
+
/* secondary palette */
|
|
2014
|
+
/* purple radial gradient */
|
|
2015
|
+
/* refine alias color */
|
|
2016
|
+
/* text */
|
|
2017
|
+
/* link */
|
|
2018
|
+
/* fill */
|
|
2019
|
+
/* fill element */
|
|
2020
|
+
/* fill interaction */
|
|
2021
|
+
/* stroke */
|
|
2022
|
+
/* background */
|
|
2023
|
+
/* dim */
|
|
2024
|
+
/* box shadow */
|
|
2025
|
+
/* fisheye */
|
|
2026
|
+
/* z-index */
|
|
1963
2027
|
.i1hk9uwu {
|
|
1964
2028
|
display: flex;
|
|
1965
2029
|
flex-direction: column;
|
|
@@ -4692,15 +4756,15 @@
|
|
|
4692
4756
|
}
|
|
4693
4757
|
|
|
4694
4758
|
.p16qejqa {
|
|
4695
|
-
margin-bottom:
|
|
4759
|
+
margin-bottom: 8px;
|
|
4696
4760
|
}
|
|
4697
4761
|
|
|
4698
4762
|
.pt2a81g {
|
|
4699
|
-
padding:
|
|
4763
|
+
padding: 12px;
|
|
4700
4764
|
}
|
|
4701
4765
|
|
|
4702
4766
|
.p19ai3gf {
|
|
4703
|
-
padding: 8px
|
|
4767
|
+
padding: 8px 12px;
|
|
4704
4768
|
display: flex;
|
|
4705
4769
|
justify-content: flex-end;
|
|
4706
4770
|
gap: 8px;
|
|
@@ -4709,7 +4773,7 @@
|
|
|
4709
4773
|
.f1mk2u31 {
|
|
4710
4774
|
display: flex;
|
|
4711
4775
|
flex-direction: column;
|
|
4712
|
-
gap:
|
|
4776
|
+
gap: 8px;
|
|
4713
4777
|
}/* // basic */
|
|
4714
4778
|
/* FishEye Color Variables and Functions */
|
|
4715
4779
|
/*
|
package/dist/types/resource.d.ts
CHANGED
|
@@ -174,6 +174,8 @@ export type ResourceConfig<Model extends ResourceModel = ResourceModel> = {
|
|
|
174
174
|
hideCreate?: boolean;
|
|
175
175
|
/** 资源的描述信息 */
|
|
176
176
|
description?: React.ReactNode;
|
|
177
|
+
/** 自定义资源列表标题 */
|
|
178
|
+
customListTitle?: string;
|
|
177
179
|
/** 父级资源名称,用于建立资源层级关系。在 Dovetail2 中用不到这个 */
|
|
178
180
|
parent?: string;
|
|
179
181
|
/** 格式化数据参数,目前暂未完全实现,可能会删除 */
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { LabelSelector } from 'kubernetes-types/meta/v1';
|
|
2
2
|
import { ResourceModel } from '../models/resource-model';
|
|
3
|
-
export declare function matchSelector(pod: ResourceModel, selector?: LabelSelector, namespace?: string): boolean;
|
|
3
|
+
export declare function matchSelector(pod: ResourceModel, selector?: LabelSelector | Record<string, string>, namespace?: string): boolean;
|
package/package.json
CHANGED
package/dist/utils/selector.d.ts
DELETED