@dovetail-v2/refine 0.1.18-alpha.3 → 0.1.18-alpha.5
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-a48b4b30.js → MonacoYamlDiffEditor-9fec703f.js} +1 -1
- package/dist/{index-ee3e7686.js → index-51b14bbe.js} +321 -297
- package/dist/refine.js +1 -1
- package/dist/refine.umd.cjs +320 -296
- package/dist/style.css +11 -1
- package/lib/components/InternalBaseTable/index.d.ts +1 -0
- package/lib/components/Table/index.d.ts +1 -0
- package/lib/i18n.d.ts +2 -0
- package/lib/locales/en-US/index.d.ts +1 -0
- package/lib/locales/zh-CN/index.d.ts +1 -0
- package/lib/types/globalStore.d.ts +18 -0
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -462,6 +462,9 @@
|
|
|
462
462
|
}
|
|
463
463
|
.t47xc8k .table-container {
|
|
464
464
|
min-height: 0;
|
|
465
|
+
}
|
|
466
|
+
.t47xc8k[data-hide-ns-filter=true] {
|
|
467
|
+
border-top: none;
|
|
465
468
|
}/* // basic */
|
|
466
469
|
/* FishEye Color Variables and Functions */
|
|
467
470
|
/*
|
|
@@ -612,7 +615,8 @@
|
|
|
612
615
|
.t13a6vox {
|
|
613
616
|
flex-wrap: wrap;
|
|
614
617
|
max-width: 100%;
|
|
615
|
-
gap: 8px
|
|
618
|
+
gap: 8px 0px;
|
|
619
|
+
margin-bottom: 4px;
|
|
616
620
|
}
|
|
617
621
|
|
|
618
622
|
.t12ikbmp.ant-tag {
|
|
@@ -1425,6 +1429,12 @@
|
|
|
1425
1429
|
}
|
|
1426
1430
|
.p5jt6nm .ant-table tbody > tr:last-child > td {
|
|
1427
1431
|
border-bottom: none;
|
|
1432
|
+
}
|
|
1433
|
+
.p5jt6nm .ant-table .ant-table-cell {
|
|
1434
|
+
padding: 4px 8px !important;
|
|
1435
|
+
}
|
|
1436
|
+
.p5jt6nm .ant-table li {
|
|
1437
|
+
text-indent: 8px;
|
|
1428
1438
|
}/* // basic */
|
|
1429
1439
|
/* FishEye Color Variables and Functions */
|
|
1430
1440
|
/*
|
|
@@ -6,6 +6,7 @@ interface TableProps<Model extends ResourceModel> {
|
|
|
6
6
|
tableProps: InternalTableProps<Model>;
|
|
7
7
|
displayName: string;
|
|
8
8
|
errorContentProps?: WidgetErrorContentProps;
|
|
9
|
+
hideNamespacesFilter?: boolean;
|
|
9
10
|
}
|
|
10
11
|
export declare function Table<Model extends ResourceModel>(props: TableProps<Model>): JSX.Element;
|
|
11
12
|
export {};
|
package/lib/i18n.d.ts
CHANGED
|
@@ -175,6 +175,7 @@ export declare const resources: {
|
|
|
175
175
|
edit_label: string;
|
|
176
176
|
csi: string;
|
|
177
177
|
confirm: string;
|
|
178
|
+
no_limitation_rule: string;
|
|
178
179
|
};
|
|
179
180
|
};
|
|
180
181
|
'zh-CN': {
|
|
@@ -407,6 +408,7 @@ export declare const resources: {
|
|
|
407
408
|
name_format_rule_1: string;
|
|
408
409
|
name_format_rule_2: string;
|
|
409
410
|
name_format_rule_3: string;
|
|
411
|
+
no_limitation_rule: string;
|
|
410
412
|
taint_effect_NoSchedule_tooltip_1: string;
|
|
411
413
|
taint_effect_NoSchedule_tooltip_2: string;
|
|
412
414
|
taint_effect_PreferNoSchedule_tooltip_1: string;
|
|
@@ -228,6 +228,7 @@ declare const _default: {
|
|
|
228
228
|
name_format_rule_1: string;
|
|
229
229
|
name_format_rule_2: string;
|
|
230
230
|
name_format_rule_3: string;
|
|
231
|
+
no_limitation_rule: string;
|
|
231
232
|
taint_effect_NoSchedule_tooltip_1: string;
|
|
232
233
|
taint_effect_NoSchedule_tooltip_2: string;
|
|
233
234
|
taint_effect_PreferNoSchedule_tooltip_1: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MetaQuery } from '@refinedev/core';
|
|
2
|
+
import { IProviderPlugin, WatchEvent, GlobalStoreInitParams, Unstructured, UnstructuredList, CancelQueriesParams } from 'k8s-api-provider';
|
|
3
|
+
export interface IGlobalStore {
|
|
4
|
+
plugins: IProviderPlugin[];
|
|
5
|
+
prefix?: string;
|
|
6
|
+
fieldManager?: string;
|
|
7
|
+
apiUrl: string;
|
|
8
|
+
kubeApiTimeout: number | false | undefined;
|
|
9
|
+
get<T = UnstructuredList>(resource: string, meta?: MetaQuery): Promise<T>;
|
|
10
|
+
subscribe(resource: string, onEvent: (data: WatchEvent) => void): () => void;
|
|
11
|
+
publish(resource: string, data: WatchEvent): void;
|
|
12
|
+
init(params: GlobalStoreInitParams): void;
|
|
13
|
+
loadPlugins(plugins?: IProviderPlugin[]): void;
|
|
14
|
+
restoreItem(item: Unstructured): Unstructured;
|
|
15
|
+
restoreData(list: UnstructuredList): UnstructuredList;
|
|
16
|
+
destroy(): void;
|
|
17
|
+
cancelQueries(params?: CancelQueriesParams): void;
|
|
18
|
+
}
|