@dovetail-v2/refine 0.0.14 → 0.0.15

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.
Files changed (42) hide show
  1. package/dist/{MonacoYamlDiffEditor.2bd18ff6.js → MonacoYamlDiffEditor.15656940.js} +3 -3
  2. package/dist/{index.8d29d388.js → index.82c82bb4.js} +797 -957
  3. package/dist/refine.js +72 -75
  4. package/dist/refine.umd.cjs +717 -877
  5. package/dist/style.css +4 -1
  6. package/lib/src/components/CronJobDropdown/index.d.ts +1 -1
  7. package/lib/src/components/DrawerShow/DrawerShow.d.ts +4 -5
  8. package/lib/src/components/ErrorContent/index.d.ts +12 -0
  9. package/lib/src/components/EventsTable/EventsTable.d.ts +1 -3
  10. package/lib/src/components/K8sDropdown/index.d.ts +1 -1
  11. package/lib/src/components/ListPage/index.d.ts +1 -1
  12. package/lib/src/components/PageShow/PageShow.d.ts +4 -5
  13. package/lib/src/components/PodLog/index.d.ts +1 -1
  14. package/lib/src/components/ResourceCRUD/create/index.d.ts +5 -5
  15. package/lib/src/components/ResourceCRUD/list/index.d.ts +3 -4
  16. package/lib/src/components/ResourceCRUD/show/index.d.ts +4 -5
  17. package/lib/src/components/ShowContent/ShowContent.d.ts +4 -5
  18. package/lib/src/components/ShowContent/fields.d.ts +13 -14
  19. package/lib/src/components/Table/index.d.ts +1 -1
  20. package/lib/src/components/WorkloadDropdown/index.d.ts +1 -1
  21. package/lib/src/components/WorkloadReplicas/index.d.ts +1 -1
  22. package/lib/src/components/YamlForm/index.d.ts +6 -0
  23. package/lib/src/constants/k8s.d.ts +22 -0
  24. package/lib/src/hooks/useDownloadYAML.d.ts +2 -2
  25. package/lib/src/hooks/useEagleForm.d.ts +5 -0
  26. package/lib/src/hooks/useEagleTable/columns.d.ts +13 -14
  27. package/lib/src/hooks/useEagleTable/useEagleTable.d.ts +6 -7
  28. package/lib/src/hooks/useSchema.d.ts +9 -2
  29. package/lib/src/i18n.d.ts +6 -0
  30. package/lib/src/index.d.ts +0 -1
  31. package/lib/src/locales/en-US/index.d.ts +3 -0
  32. package/lib/src/locales/zh-CN/index.d.ts +3 -0
  33. package/lib/src/pages/configmaps/index.d.ts +3 -3
  34. package/lib/src/pages/jobs/index.d.ts +3 -4
  35. package/lib/src/pages/secrets/index.d.ts +3 -3
  36. package/lib/src/pages/services/index.d.ts +3 -3
  37. package/lib/src/providers/router-provider/index.d.ts +1 -1
  38. package/lib/src/types/index.d.ts +0 -1
  39. package/lib/src/types/resource.d.ts +3 -16
  40. package/lib/src/utils/error.d.ts +2 -2
  41. package/lib/src/utils/selector.d.ts +1 -1
  42. package/package.json +4 -1
package/dist/refine.js CHANGED
@@ -1,107 +1,104 @@
1
- import { af, A, ak, B, am, a4, f, C, e, Z, s, w, G, ax, L, an, al, a0, T, a8, ay, ab, D, ad, V, I, ao, as, $, O, K, U, a9, ac, M, ae, N, k, b, o, ah, c, aq, q, P, t, aj, au, at, _, az, X, R, E, z, x, av, y, H, d, ap, a1, Q, a6, S, a3, a5, a7, a2, aa, ar, ai, v, W, aw, F, J, Y, l, p, n, m, r, a, h, g, i, ag, u } from "./index.8d29d388.js";
1
+ import { ah, A, am, B, ao, a5, g, C, f, _, t, x, H, O, ap, an, a1, U, aa, av, ad, D, af, X, I, aq, a0, Q, K, V, ab, ae, M, ag, N, l, b, p, aj, d, as, s, P, v, al, $, aw, Z, R, F, E, y, z, J, e, at, ar, a9, a2, T, a7, S, a4, a6, a8, a3, ac, au, ak, w, W, G, L, c, Y, m, q, o, n, r, a, i, h, k, ai, u } from "./index.82c82bb4.js";
2
2
  import "@cloudtower/eagle";
3
3
  import "@refinedev/core";
4
4
  import "js-yaml";
5
- import "k8s-api-provider";
6
5
  import "react";
7
6
  import "lodash-es";
8
7
  import "sunflower-antd";
9
8
  import "@cloudtower/icons-react";
10
9
  import "qs";
11
10
  import "react-router-dom";
11
+ import "i18next";
12
12
  import "monaco-editor";
13
13
  import "monaco-yaml";
14
14
  import "react-dom";
15
15
  import "antd";
16
- import "i18next";
16
+ import "k8s-api-provider";
17
17
  export {
18
- af as ALL_NS,
18
+ ah as ALL_NS,
19
19
  A as AgeColumnRenderer,
20
- ak as BASE_INIT_VALUE,
20
+ am as BASE_INIT_VALUE,
21
21
  B as Breadcrumb,
22
- am as CRONJOB_INIT_VALUE,
23
- a4 as ClusterIpField,
24
- f as ColumnKeys,
22
+ ao as CRONJOB_INIT_VALUE,
23
+ a5 as ClusterIpField,
24
+ g as ColumnKeys,
25
25
  C as CommonSorter,
26
- e as CompletionsCountColumnRenderer,
27
- Z as ConditionsField,
28
- s as ConditionsTable,
29
- w as CreateButton,
30
- G as CronJobDropdown,
31
- ax as CronJobModel,
32
- L as CronjobJobsTable,
33
- an as DAEMONSET_INIT_VALUE,
34
- al as DEPLOYMENT_INIT_VALUE,
35
- a0 as DataField,
36
- T as DeleteButton,
37
- a8 as DeleteManyButton,
38
- ay as Dovetail,
39
- ab as DrawerShow,
26
+ f as CompletionsCountColumnRenderer,
27
+ _ as ConditionsField,
28
+ t as ConditionsTable,
29
+ x as CreateButton,
30
+ H as CronJobDropdown,
31
+ O as CronjobJobsTable,
32
+ ap as DAEMONSET_INIT_VALUE,
33
+ an as DEPLOYMENT_INIT_VALUE,
34
+ a1 as DataField,
35
+ U as DeleteButton,
36
+ aa as DeleteManyButton,
37
+ av as Dovetail,
38
+ ad as DrawerShow,
40
39
  D as DurationColumnRenderer,
41
- ad as EditButton,
42
- V as ImageField,
40
+ af as EditButton,
41
+ X as ImageField,
43
42
  I as ImageNames,
44
- ao as JOB_INIT_VALUE,
45
- as as JobModel,
46
- $ as JobsField,
47
- O as KeyValue,
43
+ aq as JOB_INIT_VALUE,
44
+ a0 as JobsField,
45
+ Q as KeyValue,
48
46
  K as KeyValueListWidget,
49
- U as Layout,
50
- a9 as ListPage,
51
- ac as Menu,
47
+ V as Layout,
48
+ ab as ListPage,
49
+ ae as Menu,
52
50
  M as MetadataForm,
53
- ae as NS_STORE_KEY,
51
+ ag as NS_STORE_KEY,
54
52
  N as NameColumnRenderer,
55
- k as NameInputWidget,
53
+ l as NameInputWidget,
56
54
  b as NameSpaceColumnRenderer,
57
- o as NamespaceSelectWidget,
58
- ah as NamespacesFilter,
59
- c as NodeNameColumnRenderer,
60
- aq as POD_INIT_VALUE,
61
- q as PageShow,
55
+ p as NamespaceSelectWidget,
56
+ aj as NamespacesFilter,
57
+ d as NodeNameColumnRenderer,
58
+ as as POD_INIT_VALUE,
59
+ s as PageShow,
62
60
  P as PhaseColumnRenderer,
63
- t as PodContainersTable,
64
- aj as PodLog,
65
- au as PodMetricsModel,
66
- at as PodModel,
67
- _ as PodsField,
68
- az as RESOURCE_GROUP,
69
- X as ReplicaField,
61
+ v as PodContainersTable,
62
+ al as PodLog,
63
+ $ as PodsField,
64
+ aw as RESOURCE_GROUP,
65
+ Z as ReplicaField,
70
66
  R as ReplicasColumnRenderer,
71
- E as ResourceCRUD,
72
- z as ResourceForm,
73
- x as ResourceList,
74
- av as ResourceModel,
75
- y as ResourceShow,
76
- H as ResourceUsageBar,
77
- d as RestartCountColumnRenderer,
78
- ap as STATEFULSET_INIT_VALUE,
79
- a1 as SecretDataField,
80
- Q as Separator,
81
- a6 as ServicePodsField,
67
+ F as ResourceCRUD,
68
+ E as ResourceForm,
69
+ y as ResourceList,
70
+ z as ResourceShow,
71
+ J as ResourceUsageBar,
72
+ e as RestartCountColumnRenderer,
73
+ at as SERVICE_INIT_VALUE,
74
+ ar as STATEFULSET_INIT_VALUE,
75
+ a9 as SchemaStrategy,
76
+ a2 as SecretDataField,
77
+ T as Separator,
78
+ a7 as ServicePodsField,
82
79
  S as ServiceTypeColumnRenderer,
83
- a3 as ServiceTypeField,
84
- a5 as SessionAffinityField,
85
- a7 as ShowContent,
86
- a2 as StartTimeField,
87
- aa as StateTag,
88
- ar as TIMESTAMP_LABEL,
89
- ai as Tags,
90
- v as WorkloadDropdown,
80
+ a4 as ServiceTypeField,
81
+ a6 as SessionAffinityField,
82
+ a8 as ShowContent,
83
+ a3 as StartTimeField,
84
+ ac as StateTag,
85
+ au as TIMESTAMP_LABEL,
86
+ ak as Tags,
87
+ w as WorkloadDropdown,
91
88
  W as WorkloadImageColumnRenderer,
92
- aw as WorkloadModel,
93
- F as WorkloadPodsTable,
94
- J as WorkloadReplicas,
89
+ G as WorkloadPodsTable,
90
+ L as WorkloadReplicas,
91
+ c as WorkloadRestartsColumnRenderer,
95
92
  Y as YamlEditorComponent,
96
- l as dnsSubDomainRules,
97
- p as namespaceRules,
98
- n as rfc1035LabelRules,
99
- m as rfc1123LabelRules,
93
+ m as dnsSubDomainRules,
94
+ q as namespaceRules,
95
+ o as rfc1035LabelRules,
96
+ n as rfc1123LabelRules,
100
97
  r as routerProvider,
101
98
  a as useDeleteModal,
102
- h as useDownloadYAML,
103
- g as useEagleTable,
104
- i as useEdit,
105
- ag as useNamespacesFilter,
99
+ i as useDownloadYAML,
100
+ h as useEagleTable,
101
+ k as useEdit,
102
+ ai as useNamespacesFilter,
106
103
  u as useSchema
107
104
  };