@dovetail-v2/refine 0.0.9 → 0.0.10

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.
@@ -1,4 +1,4 @@
1
- import { j as jsxRuntime } from "./index.5ba25b92.js";
1
+ import { j as jsxRuntime } from "./index.fb9ce2b4.js";
2
2
  import * as monaco from "monaco-editor";
3
3
  import { useRef, useEffect } from "react";
4
4
  import "@refinedev/core";
@@ -9667,7 +9667,7 @@ const Separator = () => {
9667
9667
  });
9668
9668
  };
9669
9669
  const MonacoYamlEditor = React.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
9670
- const MonacoYamlDiffEditor = React.lazy(() => import("./MonacoYamlDiffEditor.19d01417.js"));
9670
+ const MonacoYamlDiffEditor = React.lazy(() => import("./MonacoYamlDiffEditor.41b43f63.js"));
9671
9671
  const YamlEditorComponent = forwardRef(
9672
9672
  function YamlEditorComponent2(props, ref) {
9673
9673
  const {
@@ -11689,8 +11689,8 @@ const Dovetail = (props) => {
11689
11689
  }, [resourcesConfig]);
11690
11690
  const content = useMemo(() => {
11691
11691
  const _content = /* @__PURE__ */ jsxRuntime.exports.jsxs(Switch, { children: [
11692
- props.children,
11693
- /* @__PURE__ */ jsxRuntime.exports.jsx(ResourceCRUD, { configs: notCustomResources, urlPrefix })
11692
+ /* @__PURE__ */ jsxRuntime.exports.jsx(ResourceCRUD, { configs: notCustomResources, urlPrefix }),
11693
+ props.children
11694
11694
  ] });
11695
11695
  if (Layout2) {
11696
11696
  return /* @__PURE__ */ jsxRuntime.exports.jsx(Layout2, { children: _content });
@@ -11767,31 +11767,32 @@ export {
11767
11767
  StartTimeField as a1,
11768
11768
  ShowContent as a2,
11769
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,
11770
+ ListPage as a4,
11771
+ StateTag as a5,
11772
+ DrawerShow as a6,
11773
+ Menu as a7,
11774
+ EditButton as a8,
11775
+ NS_STORE_KEY as a9,
11776
+ ALL_NS as aa,
11777
+ useNamespacesFilter as ab,
11778
+ NamespacesFilter as ac,
11779
+ Tags as ad,
11780
+ BASE_INIT_VALUE as ae,
11781
+ DEPLOYMENT_INIT_VALUE as af,
11782
+ CRONJOB_INIT_VALUE as ag,
11783
+ DAEMONSET_INIT_VALUE as ah,
11784
+ JOB_INIT_VALUE as ai,
11785
+ STATEFULSET_INIT_VALUE as aj,
11786
+ POD_INIT_VALUE as ak,
11787
+ TIMESTAMP_LABEL as al,
11788
+ JobModel as am,
11789
+ PodModel as an,
11790
+ PodMetricsModel as ao,
11791
+ ResourceModel as ap,
11792
+ WorkloadModel as aq,
11793
+ CronJobModel as ar,
11794
+ Dovetail as as,
11795
+ RESOURCE_GROUP as at,
11795
11796
  NameSpaceColumnRenderer as b,
11796
11797
  NodeNameColumnRenderer as c,
11797
11798
  RestartCountColumnRenderer as d,
package/dist/refine.js CHANGED
@@ -1,4 +1,4 @@
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";
1
+ import { aa, A, ae, B, ag, f, C, e, X, s, w, G, ar, L, ah, af, $, Q, a3, as, a6, D, a8, U, I, ai, am, _, O, K, T, a4, a7, M, a9, N, k, b, o, ac, c, ak, q, P, t, ao, an, Z, at, V, R, E, z, x, ap, y, H, d, aj, a0, S, a2, a1, a5, al, ad, v, W, aq, F, J, Y, l, p, n, m, r, a, h, g, i, ab, u } from "./index.fb9ce2b4.js";
2
2
  import "@cloudtower/eagle";
3
3
  import "@refinedev/core";
4
4
  import "js-yaml";
@@ -16,11 +16,11 @@ import "ky";
16
16
  import "mitt";
17
17
  import "i18next";
18
18
  export {
19
- a9 as ALL_NS,
19
+ aa as ALL_NS,
20
20
  A as AgeColumnRenderer,
21
- ad as BASE_INIT_VALUE,
21
+ ae as BASE_INIT_VALUE,
22
22
  B as Breadcrumb,
23
- af as CRONJOB_INIT_VALUE,
23
+ ag as CRONJOB_INIT_VALUE,
24
24
  f as ColumnKeys,
25
25
  C as CommonSorter,
26
26
  e as CompletionsCountColumnRenderer,
@@ -28,62 +28,63 @@ export {
28
28
  s as ConditionsTable,
29
29
  w as CreateButton,
30
30
  G as CronJobDropdown,
31
- aq as CronJobModel,
31
+ ar as CronJobModel,
32
32
  L as CronjobJobsTable,
33
- ag as DAEMONSET_INIT_VALUE,
34
- ae as DEPLOYMENT_INIT_VALUE,
33
+ ah as DAEMONSET_INIT_VALUE,
34
+ af as DEPLOYMENT_INIT_VALUE,
35
35
  $ as DataField,
36
36
  Q as DeleteButton,
37
37
  a3 as DeleteManyButton,
38
- ar as Dovetail,
39
- a5 as DrawerShow,
38
+ as as Dovetail,
39
+ a6 as DrawerShow,
40
40
  D as DurationColumnRenderer,
41
- a7 as EditButton,
41
+ a8 as EditButton,
42
42
  U as ImageField,
43
43
  I as ImageNames,
44
- ah as JOB_INIT_VALUE,
45
- al as JobModel,
44
+ ai as JOB_INIT_VALUE,
45
+ am as JobModel,
46
46
  _ as JobsField,
47
47
  O as KeyValue,
48
48
  K as KeyValueListWidget,
49
49
  T as Layout,
50
- a6 as Menu,
50
+ a4 as ListPage,
51
+ a7 as Menu,
51
52
  M as MetadataForm,
52
- a8 as NS_STORE_KEY,
53
+ a9 as NS_STORE_KEY,
53
54
  N as NameColumnRenderer,
54
55
  k as NameInputWidget,
55
56
  b as NameSpaceColumnRenderer,
56
57
  o as NamespaceSelectWidget,
57
- ab as NamespacesFilter,
58
+ ac as NamespacesFilter,
58
59
  c as NodeNameColumnRenderer,
59
- aj as POD_INIT_VALUE,
60
+ ak as POD_INIT_VALUE,
60
61
  q as PageShow,
61
62
  P as PhaseColumnRenderer,
62
63
  t as PodContainersTable,
63
- an as PodMetricsModel,
64
- am as PodModel,
64
+ ao as PodMetricsModel,
65
+ an as PodModel,
65
66
  Z as PodsField,
66
- as as RESOURCE_GROUP,
67
+ at as RESOURCE_GROUP,
67
68
  V as ReplicaField,
68
69
  R as ReplicasColumnRenderer,
69
70
  E as ResourceCRUD,
70
71
  z as ResourceForm,
71
72
  x as ResourceList,
72
- ao as ResourceModel,
73
+ ap as ResourceModel,
73
74
  y as ResourceShow,
74
75
  H as ResourceUsageBar,
75
76
  d as RestartCountColumnRenderer,
76
- ai as STATEFULSET_INIT_VALUE,
77
+ aj as STATEFULSET_INIT_VALUE,
77
78
  a0 as SecretDataField,
78
79
  S as Separator,
79
80
  a2 as ShowContent,
80
81
  a1 as StartTimeField,
81
- a4 as StateTag,
82
- ak as TIMESTAMP_LABEL,
83
- ac as Tags,
82
+ a5 as StateTag,
83
+ al as TIMESTAMP_LABEL,
84
+ ad as Tags,
84
85
  v as WorkloadDropdown,
85
86
  W as WorkloadImageColumnRenderer,
86
- ap as WorkloadModel,
87
+ aq as WorkloadModel,
87
88
  F as WorkloadPodsTable,
88
89
  J as WorkloadReplicas,
89
90
  Y as YamlEditorComponent,
@@ -96,6 +97,6 @@ export {
96
97
  h as useDownloadYAML,
97
98
  g as useEagleTable,
98
99
  i as useEdit,
99
- aa as useNamespacesFilter,
100
+ ab as useNamespacesFilter,
100
101
  u as useSchema
101
102
  };
@@ -11703,8 +11703,8 @@ var __publicField = (obj, key, value) => {
11703
11703
  }, [resourcesConfig]);
11704
11704
  const content = React.useMemo(() => {
11705
11705
  const _content = /* @__PURE__ */ jsxRuntime.exports.jsxs(reactRouterDom.Switch, { children: [
11706
- props.children,
11707
- /* @__PURE__ */ jsxRuntime.exports.jsx(ResourceCRUD, { configs: notCustomResources, urlPrefix })
11706
+ /* @__PURE__ */ jsxRuntime.exports.jsx(ResourceCRUD, { configs: notCustomResources, urlPrefix }),
11707
+ props.children
11708
11708
  ] });
11709
11709
  if (Layout2) {
11710
11710
  return /* @__PURE__ */ jsxRuntime.exports.jsx(Layout2, { children: _content });
@@ -11818,6 +11818,7 @@ var __publicField = (obj, key, value) => {
11818
11818
  exports2.KeyValue = KeyValue;
11819
11819
  exports2.KeyValueListWidget = KeyValueListWidget;
11820
11820
  exports2.Layout = Layout;
11821
+ exports2.ListPage = ListPage;
11821
11822
  exports2.Menu = Menu;
11822
11823
  exports2.MetadataForm = MetadataForm;
11823
11824
  exports2.NS_STORE_KEY = NS_STORE_KEY;
@@ -6,5 +6,5 @@ interface ListPageProps<T extends ResourceModel> {
6
6
  selectedKeys: string[];
7
7
  tableProps: TableProps<T>;
8
8
  }
9
- declare function ListPage<T extends ResourceModel>(props: ListPageProps<T>): JSX.Element;
10
- export default ListPage;
9
+ export declare function ListPage<T extends ResourceModel>(props: ListPageProps<T>): JSX.Element;
10
+ export {};
@@ -1 +1,2 @@
1
1
  export * from './resource';
2
+ export * from './metric';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dovetail-v2/refine",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",