@dovetail-v2/refine 0.0.13 → 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 (45) hide show
  1. package/dist/{MonacoYamlDiffEditor.33e5c246.js → MonacoYamlDiffEditor.15656940.js} +3 -3
  2. package/dist/{index.84fe2e0e.js → index.82c82bb4.js} +7063 -1443
  3. package/dist/refine.js +72 -74
  4. package/dist/refine.umd.cjs +6982 -1362
  5. package/dist/style.css +1440 -1
  6. package/lib/src/Dovetail.d.ts +2 -0
  7. package/lib/src/components/CronJobDropdown/index.d.ts +1 -1
  8. package/lib/src/components/DrawerShow/DrawerShow.d.ts +4 -5
  9. package/lib/src/components/ErrorContent/index.d.ts +12 -0
  10. package/lib/src/components/EventsTable/EventsTable.d.ts +2 -0
  11. package/lib/src/components/EventsTable/index.d.ts +1 -0
  12. package/lib/src/components/K8sDropdown/index.d.ts +1 -1
  13. package/lib/src/components/ListPage/index.d.ts +1 -1
  14. package/lib/src/components/PageShow/PageShow.d.ts +4 -5
  15. package/lib/src/components/PodLog/index.d.ts +6 -0
  16. package/lib/src/components/ResourceCRUD/create/index.d.ts +5 -5
  17. package/lib/src/components/ResourceCRUD/list/index.d.ts +3 -4
  18. package/lib/src/components/ResourceCRUD/show/index.d.ts +4 -5
  19. package/lib/src/components/ShowContent/ShowContent.d.ts +4 -5
  20. package/lib/src/components/ShowContent/fields.d.ts +13 -14
  21. package/lib/src/components/Table/index.d.ts +1 -1
  22. package/lib/src/components/WorkloadDropdown/index.d.ts +1 -1
  23. package/lib/src/components/WorkloadReplicas/index.d.ts +1 -1
  24. package/lib/src/components/YamlForm/index.d.ts +6 -0
  25. package/lib/src/components/index.d.ts +1 -0
  26. package/lib/src/constants/k8s.d.ts +22 -0
  27. package/lib/src/hooks/useDownloadYAML.d.ts +2 -2
  28. package/lib/src/hooks/useEagleForm.d.ts +5 -0
  29. package/lib/src/hooks/useEagleTable/columns.d.ts +13 -14
  30. package/lib/src/hooks/useEagleTable/useEagleTable.d.ts +6 -7
  31. package/lib/src/hooks/useSchema.d.ts +9 -2
  32. package/lib/src/i18n.d.ts +15 -0
  33. package/lib/src/index.d.ts +0 -1
  34. package/lib/src/locales/en-US/index.d.ts +3 -0
  35. package/lib/src/locales/zh-CN/index.d.ts +12 -0
  36. package/lib/src/pages/configmaps/index.d.ts +3 -3
  37. package/lib/src/pages/jobs/index.d.ts +3 -4
  38. package/lib/src/pages/secrets/index.d.ts +3 -3
  39. package/lib/src/pages/services/index.d.ts +3 -3
  40. package/lib/src/providers/router-provider/index.d.ts +1 -1
  41. package/lib/src/types/index.d.ts +0 -1
  42. package/lib/src/types/resource.d.ts +3 -16
  43. package/lib/src/utils/error.d.ts +2 -2
  44. package/lib/src/utils/selector.d.ts +1 -1
  45. package/package.json +6 -1
package/dist/refine.js CHANGED
@@ -1,106 +1,104 @@
1
- import { af, A, aj, B, al, a4, f, C, e, Z, s, w, G, aw, L, am, ak, a0, T, a8, ax, ab, D, ad, V, I, an, ar, $, O, K, U, a9, ac, M, ae, N, k, b, o, ah, c, ap, q, P, t, at, as, _, ay, X, R, E, z, x, au, y, H, d, ao, a1, Q, a6, S, a3, a5, a7, a2, aa, aq, ai, v, W, av, F, J, Y, l, p, n, m, r, a, h, g, i, ag, u } from "./index.84fe2e0e.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
- aj as BASE_INIT_VALUE,
20
+ am as BASE_INIT_VALUE,
21
21
  B as Breadcrumb,
22
- al 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
- aw as CronJobModel,
32
- L as CronjobJobsTable,
33
- am as DAEMONSET_INIT_VALUE,
34
- ak as DEPLOYMENT_INIT_VALUE,
35
- a0 as DataField,
36
- T as DeleteButton,
37
- a8 as DeleteManyButton,
38
- ax 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
- an as JOB_INIT_VALUE,
45
- ar 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
- ap 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
- at as PodMetricsModel,
65
- as as PodModel,
66
- _ as PodsField,
67
- ay as RESOURCE_GROUP,
68
- X as ReplicaField,
61
+ v as PodContainersTable,
62
+ al as PodLog,
63
+ $ as PodsField,
64
+ aw as RESOURCE_GROUP,
65
+ Z as ReplicaField,
69
66
  R as ReplicasColumnRenderer,
70
- E as ResourceCRUD,
71
- z as ResourceForm,
72
- x as ResourceList,
73
- au as ResourceModel,
74
- y as ResourceShow,
75
- H as ResourceUsageBar,
76
- d as RestartCountColumnRenderer,
77
- ao as STATEFULSET_INIT_VALUE,
78
- a1 as SecretDataField,
79
- Q as Separator,
80
- 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,
81
79
  S as ServiceTypeColumnRenderer,
82
- a3 as ServiceTypeField,
83
- a5 as SessionAffinityField,
84
- a7 as ShowContent,
85
- a2 as StartTimeField,
86
- aa as StateTag,
87
- aq as TIMESTAMP_LABEL,
88
- ai as Tags,
89
- 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,
90
88
  W as WorkloadImageColumnRenderer,
91
- av as WorkloadModel,
92
- F as WorkloadPodsTable,
93
- J as WorkloadReplicas,
89
+ G as WorkloadPodsTable,
90
+ L as WorkloadReplicas,
91
+ c as WorkloadRestartsColumnRenderer,
94
92
  Y as YamlEditorComponent,
95
- l as dnsSubDomainRules,
96
- p as namespaceRules,
97
- n as rfc1035LabelRules,
98
- m as rfc1123LabelRules,
93
+ m as dnsSubDomainRules,
94
+ q as namespaceRules,
95
+ o as rfc1035LabelRules,
96
+ n as rfc1123LabelRules,
99
97
  r as routerProvider,
100
98
  a as useDeleteModal,
101
- h as useDownloadYAML,
102
- g as useEagleTable,
103
- i as useEdit,
104
- ag as useNamespacesFilter,
99
+ i as useDownloadYAML,
100
+ h as useEagleTable,
101
+ k as useEdit,
102
+ ai as useNamespacesFilter,
105
103
  u as useSchema
106
104
  };