@dovetail-v2/refine 0.1.5-alpha.0 → 0.1.5-alpha.2

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 (219) hide show
  1. package/dist/{MonacoYamlDiffEditor-c27ab21c.js → MonacoYamlDiffEditor-d4280e1a.js} +1 -1
  2. package/dist/{index-984f2ec7.js → index-ac7d0fe5.js} +395 -317
  3. package/dist/refine.js +216 -212
  4. package/dist/refine.umd.cjs +183 -105
  5. package/dist/style.css +1 -0
  6. package/lib/src/components/Form/useYamlForm.d.ts +2 -3
  7. package/lib/src/components/YamlEditor/MonacoYamlEditor.d.ts +1 -1
  8. package/lib/src/components/YamlEditor/YamlEditorComponent.d.ts +1 -1
  9. package/lib/src/hooks/useSchema.d.ts +7 -0
  10. package/lib/src/i18n.d.ts +1 -0
  11. package/lib/src/index.d.ts +1 -0
  12. package/lib/src/locales/en-US/index.d.ts +1 -0
  13. package/lib/src/utils/openapi.d.ts +6 -11
  14. package/lib/src/utils/schema.d.ts +1 -0
  15. package/package.json +1 -1
  16. package/lib/App.d.ts +0 -2
  17. package/lib/Dovetail.d.ts +0 -18
  18. package/lib/components/Breadcrumb/index.d.ts +0 -5
  19. package/lib/components/ConditionsTable/ConditionsTable.d.ts +0 -7
  20. package/lib/components/ConditionsTable/index.d.ts +0 -1
  21. package/lib/components/CreateButton/index.d.ts +0 -1
  22. package/lib/components/CronJobDropdown/index.d.ts +0 -8
  23. package/lib/components/CronjobJobsTable/index.d.ts +0 -8
  24. package/lib/components/DeleteButton/index.d.ts +0 -2
  25. package/lib/components/DeleteManyButton/index.d.ts +0 -4
  26. package/lib/components/DrawerShow/DrawerShow.d.ts +0 -8
  27. package/lib/components/DrawerShow/index.d.ts +0 -1
  28. package/lib/components/DurationTime/index.d.ts +0 -5
  29. package/lib/components/EditButton/index.d.ts +0 -2
  30. package/lib/components/EditField/index.d.ts +0 -15
  31. package/lib/components/ErrorContent/index.d.ts +0 -17
  32. package/lib/components/EventsTable/EventsTable.d.ts +0 -6
  33. package/lib/components/EventsTable/index.d.ts +0 -1
  34. package/lib/components/Form/FormModal.d.ts +0 -10
  35. package/lib/components/Form/RefineFormContent.d.ts +0 -11
  36. package/lib/components/Form/RefineFormPage.d.ts +0 -6
  37. package/lib/components/Form/YamlForm.d.ts +0 -28
  38. package/lib/components/Form/index.d.ts +0 -7
  39. package/lib/components/Form/type.d.ts +0 -17
  40. package/lib/components/Form/useReactHookForm.d.ts +0 -29
  41. package/lib/components/Form/useRefineForm.d.ts +0 -13
  42. package/lib/components/Form/useYamlForm.d.ts +0 -51
  43. package/lib/components/FormErrorAlert/index.d.ts +0 -9
  44. package/lib/components/FormLayout/index.d.ts +0 -7
  45. package/lib/components/FormWidgets/KeyValueListWidget.d.ts +0 -5
  46. package/lib/components/FormWidgets/MetadataForm.d.ts +0 -1
  47. package/lib/components/FormWidgets/NameInputWidget.d.ts +0 -50
  48. package/lib/components/FormWidgets/NamespaceSelectWidget.d.ts +0 -8
  49. package/lib/components/FormWidgets/index.d.ts +0 -4
  50. package/lib/components/FormWidgets/widget.d.ts +0 -5
  51. package/lib/components/ImageNames/index.d.ts +0 -5
  52. package/lib/components/IngressRulesComponent/index.d.ts +0 -5
  53. package/lib/components/IngressRulesTable/IngressRulesTable.d.ts +0 -7
  54. package/lib/components/IngressRulesTable/index.d.ts +0 -1
  55. package/lib/components/K8sDropdown/index.d.ts +0 -9
  56. package/lib/components/KeyValue/KeyValue.d.ts +0 -7
  57. package/lib/components/KeyValue/KeyValueAnnotation.d.ts +0 -5
  58. package/lib/components/KeyValue/KeyValueSecret.d.ts +0 -4
  59. package/lib/components/KeyValue/index.d.ts +0 -3
  60. package/lib/components/Layout/index.d.ts +0 -3
  61. package/lib/components/LinkFallback/index.d.ts +0 -3
  62. package/lib/components/ListPage/index.d.ts +0 -9
  63. package/lib/components/Menu/index.d.ts +0 -1
  64. package/lib/components/NamespacesFilter/index.d.ts +0 -11
  65. package/lib/components/NetworkPolicyRulesViewer/NetworkPolicyRulesViewer.d.ts +0 -8
  66. package/lib/components/NetworkPolicyRulesViewer/index.d.ts +0 -1
  67. package/lib/components/PageShow/PageShow.d.ts +0 -12
  68. package/lib/components/PageShow/index.d.ts +0 -1
  69. package/lib/components/PodContainersTable/PodContainersTable.d.ts +0 -8
  70. package/lib/components/PodContainersTable/index.d.ts +0 -1
  71. package/lib/components/PodDropdown/index.d.ts +0 -9
  72. package/lib/components/PodLog/index.d.ts +0 -6
  73. package/lib/components/PodSelectorTable/index.d.ts +0 -6
  74. package/lib/components/PodShellModal/PodShell.d.ts +0 -18
  75. package/lib/components/PodShellModal/index.d.ts +0 -9
  76. package/lib/components/PortsTable/index.d.ts +0 -7
  77. package/lib/components/ReferenceLink/index.d.ts +0 -8
  78. package/lib/components/ReplicasDropdown/index.d.ts +0 -9
  79. package/lib/components/ResourceCRUD/ResourceCRUD.d.ts +0 -7
  80. package/lib/components/ResourceCRUD/create/index.d.ts +0 -7
  81. package/lib/components/ResourceCRUD/index.d.ts +0 -4
  82. package/lib/components/ResourceCRUD/list/index.d.ts +0 -8
  83. package/lib/components/ResourceCRUD/show/index.d.ts +0 -8
  84. package/lib/components/ResourceFiledDisplays.d.ts +0 -6
  85. package/lib/components/ResourceLink/index.d.ts +0 -8
  86. package/lib/components/ResourceSelect/index.d.ts +0 -11
  87. package/lib/components/ResourceUsageBar/index.d.ts +0 -8
  88. package/lib/components/Separator/index.d.ts +0 -2
  89. package/lib/components/ServiceComponents/index.d.ts +0 -10
  90. package/lib/components/Shell/index.d.ts +0 -54
  91. package/lib/components/ShowContent/ShowContent.d.ts +0 -18
  92. package/lib/components/ShowContent/fields.d.ts +0 -68
  93. package/lib/components/ShowContent/groups.d.ts +0 -23
  94. package/lib/components/ShowContent/index.d.ts +0 -4
  95. package/lib/components/ShowContent/tabs.d.ts +0 -5
  96. package/lib/components/StateTag/StateTag.d.ts +0 -10
  97. package/lib/components/StateTag/index.d.ts +0 -1
  98. package/lib/components/Table/TableToolBar.d.ts +0 -8
  99. package/lib/components/Table/TableWidgets.d.ts +0 -6
  100. package/lib/components/Table/index.d.ts +0 -43
  101. package/lib/components/Tabs/index.d.ts +0 -10
  102. package/lib/components/Tags/index.d.ts +0 -6
  103. package/lib/components/TextTags/index.d.ts +0 -6
  104. package/lib/components/Time/index.d.ts +0 -8
  105. package/lib/components/ValueDisplay/index.d.ts +0 -9
  106. package/lib/components/WorkloadDropdown/index.d.ts +0 -9
  107. package/lib/components/WorkloadPodsTable/WorkloadPodsTable.d.ts +0 -9
  108. package/lib/components/WorkloadPodsTable/index.d.ts +0 -1
  109. package/lib/components/WorkloadReplicas/index.d.ts +0 -17
  110. package/lib/components/YamlEditor/MonacoYamlDiffEditor.d.ts +0 -9
  111. package/lib/components/YamlEditor/MonacoYamlEditor.d.ts +0 -19
  112. package/lib/components/YamlEditor/YamlEditorComponent.d.ts +0 -27
  113. package/lib/components/YamlEditor/index.d.ts +0 -1
  114. package/lib/components/YamlEditor/style.d.ts +0 -11
  115. package/lib/components/YamlEditor/yaml.worker.d.ts +0 -1
  116. package/lib/components/index.d.ts +0 -47
  117. package/lib/constants/auth.d.ts +0 -5
  118. package/lib/constants/index.d.ts +0 -3
  119. package/lib/constants/k8s.d.ts +0 -487
  120. package/lib/constants/state.d.ts +0 -15
  121. package/lib/contexts/component.d.ts +0 -7
  122. package/lib/contexts/configs.d.ts +0 -3
  123. package/lib/contexts/global-store.d.ts +0 -5
  124. package/lib/contexts/index.d.ts +0 -3
  125. package/lib/hooks/index.d.ts +0 -8
  126. package/lib/hooks/useDeleteModal/index.d.ts +0 -1
  127. package/lib/hooks/useDeleteModal/useDeleteManyModal.d.ts +0 -7
  128. package/lib/hooks/useDeleteModal/useDeleteModal.d.ts +0 -7
  129. package/lib/hooks/useDownloadYAML.d.ts +0 -7
  130. package/lib/hooks/useEagleTable/columns.d.ts +0 -41
  131. package/lib/hooks/useEagleTable/index.d.ts +0 -2
  132. package/lib/hooks/useEagleTable/useEagleTable.d.ts +0 -55
  133. package/lib/hooks/useEdit.d.ts +0 -4
  134. package/lib/hooks/useGlobalStore.d.ts +0 -3
  135. package/lib/hooks/useK8sYamlEditor.d.ts +0 -5
  136. package/lib/hooks/useNamespaceRefineFilter.d.ts +0 -5
  137. package/lib/hooks/useOpenForm.d.ts +0 -7
  138. package/lib/hooks/useSchema.d.ts +0 -14
  139. package/lib/hooks/useSubmitForm.d.ts +0 -14
  140. package/lib/hooks/useTableData.d.ts +0 -19
  141. package/lib/i18n.d.ts +0 -353
  142. package/lib/index.d.ts +0 -11
  143. package/lib/locales/en-US/index.d.ts +0 -175
  144. package/lib/locales/index.d.ts +0 -2
  145. package/lib/locales/zh-CN/index.d.ts +0 -175
  146. package/lib/main.d.ts +0 -3
  147. package/lib/models/cronjob-model.d.ts +0 -15
  148. package/lib/models/daemonset-model.d.ts +0 -15
  149. package/lib/models/deployment-model.d.ts +0 -13
  150. package/lib/models/event-model.d.ts +0 -7
  151. package/lib/models/index.d.ts +0 -19
  152. package/lib/models/ingress-model.d.ts +0 -20
  153. package/lib/models/job-model.d.ts +0 -20
  154. package/lib/models/network-policy-model.d.ts +0 -9
  155. package/lib/models/node-model.d.ts +0 -17
  156. package/lib/models/persistent-volume-claim.d.ts +0 -9
  157. package/lib/models/persistent-volume.d.ts +0 -9
  158. package/lib/models/pod-metrics-model.d.ts +0 -8
  159. package/lib/models/pod-model.d.ts +0 -20
  160. package/lib/models/resource-model.d.ts +0 -21
  161. package/lib/models/service-model.d.ts +0 -24
  162. package/lib/models/statefulset-model.d.ts +0 -13
  163. package/lib/models/storage-class.d.ts +0 -12
  164. package/lib/models/types/index.d.ts +0 -1
  165. package/lib/models/types/metric.d.ts +0 -25
  166. package/lib/models/workload-base-model.d.ts +0 -12
  167. package/lib/models/workload-model.d.ts +0 -18
  168. package/lib/pages/configmaps/index.d.ts +0 -4
  169. package/lib/pages/cronjobs/create/index.d.ts +0 -3
  170. package/lib/pages/cronjobs/index.d.ts +0 -3
  171. package/lib/pages/cronjobs/list/index.d.ts +0 -3
  172. package/lib/pages/cronjobs/show/index.d.ts +0 -3
  173. package/lib/pages/daemonsets/create/index.d.ts +0 -3
  174. package/lib/pages/daemonsets/index.d.ts +0 -3
  175. package/lib/pages/daemonsets/list/index.d.ts +0 -3
  176. package/lib/pages/daemonsets/show/index.d.ts +0 -3
  177. package/lib/pages/deployments/index.d.ts +0 -2
  178. package/lib/pages/deployments/list/index.d.ts +0 -3
  179. package/lib/pages/deployments/show/index.d.ts +0 -3
  180. package/lib/pages/ingresses/index.d.ts +0 -4
  181. package/lib/pages/jobs/index.d.ts +0 -4
  182. package/lib/pages/networkPolicies/index.d.ts +0 -4
  183. package/lib/pages/nodes/index.d.ts +0 -2
  184. package/lib/pages/nodes/list/index.d.ts +0 -3
  185. package/lib/pages/nodes/show/index.d.ts +0 -3
  186. package/lib/pages/persistentvolumeclaims/index.d.ts +0 -4
  187. package/lib/pages/persistentvolumes/index.d.ts +0 -4
  188. package/lib/pages/pods/create/index.d.ts +0 -3
  189. package/lib/pages/pods/index.d.ts +0 -3
  190. package/lib/pages/pods/list/index.d.ts +0 -3
  191. package/lib/pages/pods/show/index.d.ts +0 -3
  192. package/lib/pages/secrets/index.d.ts +0 -4
  193. package/lib/pages/services/index.d.ts +0 -4
  194. package/lib/pages/statefulsets/index.d.ts +0 -4
  195. package/lib/pages/storageclasses/form/index.d.ts +0 -9
  196. package/lib/pages/storageclasses/index.d.ts +0 -44
  197. package/lib/plugins/index.d.ts +0 -4
  198. package/lib/plugins/model-plugin.d.ts +0 -13
  199. package/lib/plugins/relation-plugin.d.ts +0 -26
  200. package/lib/plugins/type.d.ts +0 -8
  201. package/lib/providers/index.d.ts +0 -1
  202. package/lib/providers/router-provider/index.d.ts +0 -21
  203. package/lib/types/index.d.ts +0 -1
  204. package/lib/types/resource.d.ts +0 -62
  205. package/lib/utils/addId.d.ts +0 -3
  206. package/lib/utils/download.d.ts +0 -1
  207. package/lib/utils/error.d.ts +0 -20
  208. package/lib/utils/form.d.ts +0 -3
  209. package/lib/utils/k8s.d.ts +0 -3
  210. package/lib/utils/labels.d.ts +0 -9
  211. package/lib/utils/match-selector.d.ts +0 -3
  212. package/lib/utils/openapi.d.ts +0 -45
  213. package/lib/utils/schema.d.ts +0 -17
  214. package/lib/utils/selector.d.ts +0 -3
  215. package/lib/utils/shell.d.ts +0 -15
  216. package/lib/utils/string.d.ts +0 -1
  217. package/lib/utils/time.d.ts +0 -13
  218. package/lib/utils/unit.d.ts +0 -12
  219. package/lib/utils/yaml.d.ts +0 -2
@@ -1,7 +0,0 @@
1
- import { YamlFormProps } from '../components';
2
- interface UseOpenFormOptions {
3
- id?: string;
4
- renderForm?: (props: YamlFormProps) => React.ReactNode;
5
- }
6
- export declare function useOpenForm(options?: UseOpenFormOptions): () => void;
7
- export {};
@@ -1,14 +0,0 @@
1
- import { type IResourceItem } from '@refinedev/core';
2
- import { JSONSchema7 } from 'json-schema';
3
- type UseSchemaOptions = {
4
- resource?: IResourceItem;
5
- skip?: boolean;
6
- };
7
- type UseSchemaResult = {
8
- schema: JSONSchema7 | null;
9
- loading: boolean;
10
- error: Error | null;
11
- fetchSchema: () => void;
12
- };
13
- export declare function useSchema(options?: UseSchemaOptions): UseSchemaResult;
14
- export {};
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- interface UseSubmitFormOptions {
3
- formRef: React.MutableRefObject<{
4
- submit: () => (Promise<unknown> | undefined);
5
- } | null>;
6
- onSubmitSuccess?: () => void;
7
- }
8
- export declare function useSubmitForm(options: UseSubmitFormOptions): {
9
- submitting: boolean;
10
- errorMsgs: string[];
11
- reset: () => void;
12
- onSubmit: () => Promise<void>;
13
- };
14
- export {};
@@ -1,19 +0,0 @@
1
- import { CrudSorting } from '@refinedev/core';
2
- import { Column, SorterOrder } from 'src/components/Table';
3
- type UseTableDataProps<Data extends {
4
- id: string;
5
- }> = {
6
- pageSize?: number;
7
- defaultSorters?: CrudSorting;
8
- data: Data[];
9
- columns: Column<Data>[];
10
- };
11
- declare function useTableData<Data extends {
12
- id: string;
13
- }>({ data, columns, pageSize, defaultSorters }: UseTableDataProps<Data>): {
14
- data: Data[];
15
- currentPage: number;
16
- onPageChange: import("react").Dispatch<import("react").SetStateAction<number>>;
17
- onSorterChange: (order?: SorterOrder | null, key?: string) => void;
18
- };
19
- export default useTableData;
package/lib/i18n.d.ts DELETED
@@ -1,353 +0,0 @@
1
- import 'dayjs/locale/zh';
2
- import i18n from 'i18next';
3
- export declare const resources: {
4
- 'en-US': {
5
- dovetail: {
6
- copy: string;
7
- reset_arguments: string;
8
- view_changes: string;
9
- back_to_edit: string;
10
- configure_file: string;
11
- yaml_format_wrong: string;
12
- yaml_value_wrong: string;
13
- edit_yaml: string;
14
- copied: string;
15
- already_reset: string;
16
- fetch_schema_fail: string;
17
- obtain_data_error: string;
18
- retry: string;
19
- create_resource: string;
20
- edit_resource: string;
21
- state: string;
22
- name: string;
23
- pod: string;
24
- cancel: string;
25
- delete: string;
26
- create: string;
27
- confirm_delete_text: string;
28
- edit: string;
29
- namespace: string;
30
- created_time: string;
31
- label: string;
32
- annotation: string;
33
- type: string;
34
- event: string;
35
- reason: string;
36
- object: string;
37
- note: string;
38
- condition: string;
39
- download_yaml: string;
40
- detail: string;
41
- message: string;
42
- save: string;
43
- workload: string;
44
- empty: string;
45
- schedule: string;
46
- lastScheduleTime: string;
47
- duration: string;
48
- started: string;
49
- container: string;
50
- redeploy: string;
51
- data: string;
52
- resume: string;
53
- sessionAffinity: string;
54
- log: string;
55
- ready: string;
56
- updating: string;
57
- completed: string;
58
- failed: string;
59
- suspended: string;
60
- running: string;
61
- terminating: string;
62
- terminated: string;
63
- succeeded: string;
64
- unknown: string;
65
- pending: string;
66
- waiting: string;
67
- expand: string;
68
- fold: string;
69
- rule: string;
70
- port: string;
71
- cert: string;
72
- ip_address: string;
73
- last_seen: string;
74
- node_port: string;
75
- protocol: string;
76
- key: string;
77
- value: string;
78
- path: string;
79
- backend: string;
80
- belong_to_node: string;
81
- true: string;
82
- false: string;
83
- warning: string;
84
- normal: string;
85
- delete_tip: string;
86
- delete_resource: string;
87
- password: string;
88
- username: string;
89
- host: string;
90
- no_resource: string;
91
- all_namespaces: string;
92
- clusterIp: string;
93
- select_container: string;
94
- sec: string;
95
- min: string;
96
- hr: string;
97
- day: string;
98
- port_mapping: string;
99
- out_cluster_access: string;
100
- in_cluster_access: string;
101
- fail_get_detail: string;
102
- pod_num: string;
103
- show_data_value: string;
104
- hide_data_value: string;
105
- please_input: string;
106
- create_failed: string;
107
- create_failed_tip: string;
108
- save_failed: string;
109
- save_failed_tip: string;
110
- completion_num_tooltip: string;
111
- ready_num_tooltip: string;
112
- realtime_log: string;
113
- previous_log: string;
114
- auto_wrap: string;
115
- container_num: string;
116
- edit_resource_success: string;
117
- redeploy_success_toast: string;
118
- redeploy_failed_toast: string;
119
- pause_success_toast: string;
120
- pause_failed_toast: string;
121
- resume_success_toast: string;
122
- resume_failed_toast: string;
123
- delete_success_toast: string;
124
- delete_failed_toast: string;
125
- create_success_toast: string;
126
- save_yaml_success_toast: string;
127
- save_replicas_success_toast: string;
128
- save_replicas_failed_toast: string;
129
- port_mapping_title_tooltip: string;
130
- in_cluster_desc: string;
131
- in_cluster_ip_desc: string;
132
- in_cluster_external_name_desc: string;
133
- out_cluster_ip_desc: string;
134
- out_cluster_node_port_desc: string;
135
- out_cluster_lb_desc: string;
136
- out_external_name_desc: string;
137
- image: string;
138
- restarts: string;
139
- updated_time: string;
140
- init_container: string;
141
- regular_container: string;
142
- suspend: string;
143
- default_backend: string;
144
- ingress_class: string;
145
- pod_ready_num: string;
146
- pod_complete_num: string;
147
- pod_replicas_num: string;
148
- edit_replicas: string;
149
- dns_record: string;
150
- basic_info: string;
151
- pod_selector: string;
152
- ingress_rule: string;
153
- egress_rule: string;
154
- service_port: string;
155
- pod_port: string;
156
- path_type: string;
157
- only_support_one_yaml: string;
158
- not_support: string;
159
- stopped: string;
160
- any_node_ip: string;
161
- storage_class: string;
162
- persistent_volume: string;
163
- provisioner: string;
164
- file_system: string;
165
- capacity: string;
166
- phase: string;
167
- volume_mode: string;
168
- access_mode: string;
169
- block: string;
170
- pv_phase_available: string;
171
- pv_phase_bound: string;
172
- pv_phase_released: string;
173
- pv_phase_failed: string;
174
- pv_phase_pending: string;
175
- exec_pod: string;
176
- };
177
- };
178
- 'zh-CN': {
179
- dovetail: {
180
- copy: string;
181
- reset_arguments: string;
182
- view_changes: string;
183
- back_to_edit: string;
184
- configure_file: string;
185
- yaml_format_wrong: string;
186
- yaml_value_wrong: string;
187
- edit_yaml: string;
188
- copied: string;
189
- already_reset: string;
190
- cancel: string;
191
- delete: string;
192
- create: string;
193
- delete_resource: string;
194
- confirm_delete_text: string;
195
- delete_tip: string;
196
- edit: string;
197
- namespace: string;
198
- name: string;
199
- state: string;
200
- image: string;
201
- created_time: string;
202
- label: string;
203
- annotation: string;
204
- type: string;
205
- event: string;
206
- reason: string;
207
- object: string;
208
- note: string;
209
- condition: string;
210
- download_yaml: string;
211
- detail: string;
212
- restarts: string;
213
- updated_time: string;
214
- message: string;
215
- save: string;
216
- workload: string;
217
- all_namespaces: string;
218
- empty: string;
219
- schedule: string;
220
- lastScheduleTime: string;
221
- duration: string;
222
- started: string;
223
- init_container: string;
224
- regular_container: string;
225
- container: string;
226
- redeploy: string;
227
- data: string;
228
- suspend: string;
229
- resume: string;
230
- clusterIp: string;
231
- sessionAffinity: string;
232
- log: string;
233
- select_container: string;
234
- fetch_schema_fail: string;
235
- obtain_data_error: string;
236
- retry: string;
237
- ready: string;
238
- updating: string;
239
- completed: string;
240
- failed: string;
241
- suspended: string;
242
- running: string;
243
- terminating: string;
244
- succeeded: string;
245
- terminated: string;
246
- unknown: string;
247
- pending: string;
248
- waiting: string;
249
- create_resource: string;
250
- edit_resource: string;
251
- sec: string;
252
- min: string;
253
- hr: string;
254
- day: string;
255
- expand: string;
256
- fold: string;
257
- rule: string;
258
- default_backend: string;
259
- ingress_class: string;
260
- port: string;
261
- pod_ready_num: string;
262
- pod_complete_num: string;
263
- pod_replicas_num: string;
264
- edit_replicas: string;
265
- cert: string;
266
- dns_record: string;
267
- port_mapping: string;
268
- out_cluster_access: string;
269
- in_cluster_access: string;
270
- fail_get_detail: string;
271
- basic_info: string;
272
- pod: string;
273
- pod_num: string;
274
- pod_selector: string;
275
- ingress_rule: string;
276
- egress_rule: string;
277
- ip_address: string;
278
- last_seen: string;
279
- service_port: string;
280
- pod_port: string;
281
- node_port: string;
282
- protocol: string;
283
- key: string;
284
- value: string;
285
- show_data_value: string;
286
- hide_data_value: string;
287
- path_type: string;
288
- path: string;
289
- backend: string;
290
- belong_to_node: string;
291
- please_input: string;
292
- create_failed: string;
293
- create_failed_tip: string;
294
- save_failed: string;
295
- save_failed_tip: string;
296
- completion_num_tooltip: string;
297
- ready_num_tooltip: string;
298
- true: string;
299
- false: string;
300
- warning: string;
301
- normal: string;
302
- realtime_log: string;
303
- previous_log: string;
304
- auto_wrap: string;
305
- name_can_not_be_empty: string;
306
- password: string;
307
- username: string;
308
- host: string;
309
- container_num: string;
310
- edit_resource_success: string;
311
- redeploy_success_toast: string;
312
- redeploy_failed_toast: string;
313
- pause_success_toast: string;
314
- pause_failed_toast: string;
315
- resume_success_toast: string;
316
- resume_failed_toast: string;
317
- delete_success_toast: string;
318
- delete_failed_toast: string;
319
- create_success_toast: string;
320
- save_yaml_success_toast: string;
321
- save_replicas_success_toast: string;
322
- save_replicas_failed_toast: string;
323
- no_resource: string;
324
- port_mapping_title_tooltip: string;
325
- in_cluster_desc: string;
326
- in_cluster_ip_desc: string;
327
- in_cluster_external_name_desc: string;
328
- out_cluster_ip_desc: string;
329
- out_cluster_node_port_desc: string;
330
- out_cluster_lb_desc: string;
331
- out_external_name_desc: string;
332
- only_support_one_yaml: string;
333
- not_support: string;
334
- stopped: string;
335
- any_node_ip: string;
336
- storage_class: string;
337
- persistent_volume: string;
338
- provisioner: string;
339
- file_system: string;
340
- capacity: string;
341
- phase: string;
342
- volume_mode: string;
343
- access_mode: string;
344
- block: string;
345
- pv_phase_available: string;
346
- pv_phase_bound: string;
347
- pv_phase_released: string;
348
- pv_phase_failed: string;
349
- pv_phase_pending: string;
350
- };
351
- };
352
- };
353
- export default i18n;
package/lib/index.d.ts DELETED
@@ -1,11 +0,0 @@
1
- export declare const dovetailRefineI18n: import("i18next").i18n;
2
- export * from './providers';
3
- export * from './hooks';
4
- export * from './components';
5
- export * from './constants';
6
- export * from './hooks';
7
- export * from './Dovetail';
8
- export * from './types';
9
- export * from './contexts';
10
- export * from './models';
11
- export * from './plugins';
@@ -1,175 +0,0 @@
1
- declare const _default: {
2
- dovetail: {
3
- copy: string;
4
- reset_arguments: string;
5
- view_changes: string;
6
- back_to_edit: string;
7
- configure_file: string;
8
- yaml_format_wrong: string;
9
- yaml_value_wrong: string;
10
- edit_yaml: string;
11
- copied: string;
12
- already_reset: string;
13
- fetch_schema_fail: string;
14
- obtain_data_error: string;
15
- retry: string;
16
- create_resource: string;
17
- edit_resource: string;
18
- state: string;
19
- name: string;
20
- pod: string;
21
- cancel: string;
22
- delete: string;
23
- create: string;
24
- confirm_delete_text: string;
25
- edit: string;
26
- namespace: string;
27
- created_time: string;
28
- label: string;
29
- annotation: string;
30
- type: string;
31
- event: string;
32
- reason: string;
33
- object: string;
34
- note: string;
35
- condition: string;
36
- download_yaml: string;
37
- detail: string;
38
- message: string;
39
- save: string;
40
- workload: string;
41
- empty: string;
42
- schedule: string;
43
- lastScheduleTime: string;
44
- duration: string;
45
- started: string;
46
- container: string;
47
- redeploy: string;
48
- data: string;
49
- resume: string;
50
- sessionAffinity: string;
51
- log: string;
52
- ready: string;
53
- updating: string;
54
- completed: string;
55
- failed: string;
56
- suspended: string;
57
- running: string;
58
- terminating: string;
59
- terminated: string;
60
- succeeded: string;
61
- unknown: string;
62
- pending: string;
63
- waiting: string;
64
- expand: string;
65
- fold: string;
66
- rule: string;
67
- port: string;
68
- cert: string;
69
- ip_address: string;
70
- last_seen: string;
71
- node_port: string;
72
- protocol: string;
73
- key: string;
74
- value: string;
75
- path: string;
76
- backend: string;
77
- belong_to_node: string;
78
- true: string;
79
- false: string;
80
- warning: string;
81
- normal: string;
82
- delete_tip: string;
83
- delete_resource: string;
84
- password: string;
85
- username: string;
86
- host: string;
87
- no_resource: string;
88
- all_namespaces: string;
89
- clusterIp: string;
90
- select_container: string;
91
- sec: string;
92
- min: string;
93
- hr: string;
94
- day: string;
95
- port_mapping: string;
96
- out_cluster_access: string;
97
- in_cluster_access: string;
98
- fail_get_detail: string;
99
- pod_num: string;
100
- show_data_value: string;
101
- hide_data_value: string;
102
- please_input: string;
103
- create_failed: string;
104
- create_failed_tip: string;
105
- save_failed: string;
106
- save_failed_tip: string;
107
- completion_num_tooltip: string;
108
- ready_num_tooltip: string;
109
- realtime_log: string;
110
- previous_log: string;
111
- auto_wrap: string;
112
- container_num: string;
113
- edit_resource_success: string;
114
- redeploy_success_toast: string;
115
- redeploy_failed_toast: string;
116
- pause_success_toast: string;
117
- pause_failed_toast: string;
118
- resume_success_toast: string;
119
- resume_failed_toast: string;
120
- delete_success_toast: string;
121
- delete_failed_toast: string;
122
- create_success_toast: string;
123
- save_yaml_success_toast: string;
124
- save_replicas_success_toast: string;
125
- save_replicas_failed_toast: string;
126
- port_mapping_title_tooltip: string;
127
- in_cluster_desc: string;
128
- in_cluster_ip_desc: string;
129
- in_cluster_external_name_desc: string;
130
- out_cluster_ip_desc: string;
131
- out_cluster_node_port_desc: string;
132
- out_cluster_lb_desc: string;
133
- out_external_name_desc: string;
134
- image: string;
135
- restarts: string;
136
- updated_time: string;
137
- init_container: string;
138
- regular_container: string;
139
- suspend: string;
140
- default_backend: string;
141
- ingress_class: string;
142
- pod_ready_num: string;
143
- pod_complete_num: string;
144
- pod_replicas_num: string;
145
- edit_replicas: string;
146
- dns_record: string;
147
- basic_info: string;
148
- pod_selector: string;
149
- ingress_rule: string;
150
- egress_rule: string;
151
- service_port: string;
152
- pod_port: string;
153
- path_type: string;
154
- only_support_one_yaml: string;
155
- not_support: string;
156
- stopped: string;
157
- any_node_ip: string;
158
- storage_class: string;
159
- persistent_volume: string;
160
- provisioner: string;
161
- file_system: string;
162
- capacity: string;
163
- phase: string;
164
- volume_mode: string;
165
- access_mode: string;
166
- block: string;
167
- pv_phase_available: string;
168
- pv_phase_bound: string;
169
- pv_phase_released: string;
170
- pv_phase_failed: string;
171
- pv_phase_pending: string;
172
- exec_pod: string;
173
- };
174
- };
175
- export default _default;
@@ -1,2 +0,0 @@
1
- import './en-US';
2
- import './zh-CN';