@dovetail-v2/refine 0.0.66-pod-exec.0 → 0.0.66-pod-exec.1
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-6b799b64.js → MonacoYamlDiffEditor-f07df2b6.js} +1 -1
- package/dist/{index-c07bed15.js → index-ea6dd427.js} +334 -168
- package/dist/refine.js +122 -115
- package/dist/refine.umd.cjs +221 -55
- package/lib/App.d.ts +2 -0
- package/lib/Dovetail.d.ts +18 -0
- package/lib/components/Breadcrumb/index.d.ts +5 -0
- package/lib/components/ConditionsTable/ConditionsTable.d.ts +7 -0
- package/lib/components/ConditionsTable/index.d.ts +1 -0
- package/lib/components/CreateButton/index.d.ts +1 -0
- package/lib/components/CronJobDropdown/index.d.ts +8 -0
- package/lib/components/CronjobJobsTable/index.d.ts +8 -0
- package/lib/components/DeleteButton/index.d.ts +2 -0
- package/lib/components/DeleteManyButton/index.d.ts +4 -0
- package/lib/components/DrawerShow/DrawerShow.d.ts +8 -0
- package/lib/components/DrawerShow/index.d.ts +1 -0
- package/lib/components/DurationTime/index.d.ts +5 -0
- package/lib/components/EditButton/index.d.ts +2 -0
- package/lib/components/EditField/index.d.ts +15 -0
- package/lib/components/ErrorContent/index.d.ts +17 -0
- package/lib/components/EventsTable/EventsTable.d.ts +6 -0
- package/lib/components/EventsTable/index.d.ts +1 -0
- package/lib/{src/components/FormModal/index.d.ts → components/Form/FormModal.d.ts} +2 -2
- package/lib/components/Form/RefineFormContent.d.ts +11 -0
- package/lib/components/Form/RefineFormPage.d.ts +6 -0
- package/lib/{src/components/YamlForm/index.d.ts → components/Form/YamlForm.d.ts} +9 -6
- package/lib/components/Form/index.d.ts +7 -0
- package/lib/components/Form/type.d.ts +17 -0
- package/lib/components/Form/useReactHookForm.d.ts +29 -0
- package/lib/components/Form/useRefineForm.d.ts +13 -0
- package/lib/{src/hooks/useEagleForm.d.ts → components/Form/useYamlForm.d.ts} +8 -5
- package/lib/components/FormErrorAlert/index.d.ts +9 -0
- package/lib/components/FormLayout/index.d.ts +7 -0
- package/lib/{src/components/Form → components/FormWidgets}/KeyValueListWidget.d.ts +0 -1
- package/lib/{src/components/Form → components/FormWidgets}/MetadataForm.d.ts +0 -1
- package/lib/{src/components/Form → components/FormWidgets}/NameInputWidget.d.ts +0 -1
- package/lib/{src/components/Form → components/FormWidgets}/NamespaceSelectWidget.d.ts +0 -1
- package/lib/components/FormWidgets/index.d.ts +4 -0
- package/lib/components/ImageNames/index.d.ts +5 -0
- package/lib/components/IngressRulesComponent/index.d.ts +5 -0
- package/lib/components/IngressRulesTable/IngressRulesTable.d.ts +7 -0
- package/lib/components/IngressRulesTable/index.d.ts +1 -0
- package/lib/components/K8sDropdown/index.d.ts +9 -0
- package/lib/components/KeyValue/KeyValue.d.ts +7 -0
- package/lib/components/KeyValue/KeyValueAnnotation.d.ts +5 -0
- package/lib/components/KeyValue/KeyValueSecret.d.ts +4 -0
- package/lib/components/KeyValue/index.d.ts +3 -0
- package/lib/components/Layout/index.d.ts +3 -0
- package/lib/components/LinkFallback/index.d.ts +3 -0
- package/lib/components/ListPage/index.d.ts +9 -0
- package/lib/components/Menu/index.d.ts +1 -0
- package/lib/components/NamespacesFilter/index.d.ts +11 -0
- package/lib/components/NetworkPolicyRulesViewer/index.d.ts +1 -0
- package/lib/components/PageShow/PageShow.d.ts +12 -0
- package/lib/components/PageShow/index.d.ts +1 -0
- package/lib/components/PodContainersTable/PodContainersTable.d.ts +8 -0
- package/lib/components/PodContainersTable/index.d.ts +1 -0
- package/lib/components/PodDropdown/index.d.ts +9 -0
- package/lib/components/PodLog/index.d.ts +6 -0
- package/lib/components/PodSelectorTable/index.d.ts +6 -0
- package/lib/components/PodShellModal/PodShell.d.ts +18 -0
- package/lib/components/PodShellModal/index.d.ts +9 -0
- package/lib/components/PortsTable/index.d.ts +7 -0
- package/lib/components/ReferenceLink/index.d.ts +8 -0
- package/lib/components/ReplicasDropdown/index.d.ts +9 -0
- package/lib/components/ResourceCRUD/ResourceCRUD.d.ts +7 -0
- package/lib/components/ResourceCRUD/create/index.d.ts +7 -0
- package/lib/components/ResourceCRUD/index.d.ts +4 -0
- package/lib/components/ResourceCRUD/list/index.d.ts +8 -0
- package/lib/components/ResourceCRUD/show/index.d.ts +8 -0
- package/lib/components/ResourceFiledDisplays.d.ts +6 -0
- package/lib/components/ResourceLink/index.d.ts +8 -0
- package/lib/components/ResourceSelect/index.d.ts +11 -0
- package/lib/components/ResourceUsageBar/index.d.ts +8 -0
- package/lib/components/Separator/index.d.ts +2 -0
- package/lib/components/ServiceComponents/index.d.ts +10 -0
- package/lib/components/Shell/index.d.ts +54 -0
- package/lib/components/ShowContent/ShowContent.d.ts +18 -0
- package/lib/components/ShowContent/fields.d.ts +68 -0
- package/lib/components/ShowContent/groups.d.ts +23 -0
- package/lib/components/ShowContent/index.d.ts +4 -0
- package/lib/components/ShowContent/tabs.d.ts +5 -0
- package/lib/components/StateTag/StateTag.d.ts +10 -0
- package/lib/components/StateTag/index.d.ts +1 -0
- package/lib/components/Table/TableToolBar.d.ts +8 -0
- package/lib/components/Table/TableWidgets.d.ts +6 -0
- package/lib/components/Table/index.d.ts +43 -0
- package/lib/components/Tabs/index.d.ts +10 -0
- package/lib/components/Tags/index.d.ts +6 -0
- package/lib/components/TextTags/index.d.ts +6 -0
- package/lib/components/Time/index.d.ts +8 -0
- package/lib/components/ValueDisplay/index.d.ts +9 -0
- package/lib/components/WorkloadDropdown/index.d.ts +9 -0
- package/lib/components/WorkloadPodsTable/WorkloadPodsTable.d.ts +9 -0
- package/lib/components/WorkloadPodsTable/index.d.ts +1 -0
- package/lib/components/WorkloadReplicas/index.d.ts +17 -0
- package/lib/components/YamlEditor/MonacoYamlDiffEditor.d.ts +9 -0
- package/lib/components/YamlEditor/MonacoYamlEditor.d.ts +19 -0
- package/lib/components/YamlEditor/YamlEditorComponent.d.ts +27 -0
- package/lib/components/YamlEditor/index.d.ts +1 -0
- package/lib/components/YamlEditor/style.d.ts +11 -0
- package/lib/components/YamlEditor/yaml.worker.d.ts +1 -0
- package/lib/components/index.d.ts +47 -0
- package/lib/constants/auth.d.ts +5 -0
- package/lib/constants/index.d.ts +3 -0
- package/lib/constants/k8s.d.ts +487 -0
- package/lib/constants/state.d.ts +15 -0
- package/lib/contexts/component.d.ts +7 -0
- package/lib/contexts/configs.d.ts +3 -0
- package/lib/contexts/global-store.d.ts +5 -0
- package/lib/contexts/index.d.ts +3 -0
- package/lib/hooks/index.d.ts +8 -0
- package/lib/hooks/useDeleteModal/index.d.ts +1 -0
- package/lib/hooks/useDeleteModal/useDeleteManyModal.d.ts +7 -0
- package/lib/hooks/useDeleteModal/useDeleteModal.d.ts +7 -0
- package/lib/hooks/useDownloadYAML.d.ts +7 -0
- package/lib/hooks/useEagleTable/columns.d.ts +41 -0
- package/lib/hooks/useEagleTable/index.d.ts +2 -0
- package/lib/hooks/useEagleTable/useEagleTable.d.ts +55 -0
- package/lib/hooks/useEdit.d.ts +4 -0
- package/lib/hooks/useGlobalStore.d.ts +3 -0
- package/lib/hooks/useK8sYamlEditor.d.ts +5 -0
- package/lib/hooks/useOpenForm.d.ts +7 -0
- package/lib/hooks/useSchema.d.ts +14 -0
- package/lib/hooks/useSubmitForm.d.ts +14 -0
- package/lib/hooks/useTableData.d.ts +19 -0
- package/lib/i18n.d.ts +353 -0
- package/lib/index.d.ts +11 -0
- package/lib/locales/en-US/index.d.ts +175 -0
- package/lib/locales/index.d.ts +2 -0
- package/lib/locales/zh-CN/index.d.ts +175 -0
- package/lib/main.d.ts +3 -0
- package/lib/models/cronjob-model.d.ts +15 -0
- package/lib/models/daemonset-model.d.ts +15 -0
- package/lib/models/deployment-model.d.ts +13 -0
- package/lib/models/event-model.d.ts +7 -0
- package/lib/models/index.d.ts +19 -0
- package/lib/models/ingress-model.d.ts +20 -0
- package/lib/models/job-model.d.ts +20 -0
- package/lib/models/network-policy-model.d.ts +9 -0
- package/lib/models/node-model.d.ts +17 -0
- package/lib/models/persistent-volume-claim.d.ts +9 -0
- package/lib/models/persistent-volume.d.ts +9 -0
- package/lib/models/pod-metrics-model.d.ts +8 -0
- package/lib/models/pod-model.d.ts +20 -0
- package/lib/models/resource-model.d.ts +21 -0
- package/lib/models/service-model.d.ts +24 -0
- package/lib/models/statefulset-model.d.ts +13 -0
- package/lib/models/storage-class.d.ts +12 -0
- package/lib/models/types/index.d.ts +1 -0
- package/lib/{src → models}/types/metric.d.ts +2 -2
- package/lib/models/workload-base-model.d.ts +12 -0
- package/lib/models/workload-model.d.ts +18 -0
- package/lib/pages/configmaps/index.d.ts +4 -0
- package/lib/{src/pages/statefulsets → pages/cronjobs}/create/index.d.ts +1 -1
- package/lib/pages/cronjobs/index.d.ts +3 -0
- package/lib/{src/pages/statefulsets → pages/cronjobs}/list/index.d.ts +1 -1
- package/lib/{src/pages/statefulsets → pages/cronjobs}/show/index.d.ts +1 -1
- package/lib/pages/daemonsets/create/index.d.ts +3 -0
- package/lib/pages/daemonsets/index.d.ts +3 -0
- package/lib/{src/pages/storageclasses → pages/daemonsets}/list/index.d.ts +1 -1
- package/lib/{src/pages/storageclasses → pages/daemonsets}/show/index.d.ts +1 -1
- package/lib/pages/deployments/index.d.ts +2 -0
- package/lib/pages/deployments/list/index.d.ts +3 -0
- package/lib/pages/deployments/show/index.d.ts +3 -0
- package/lib/pages/ingresses/index.d.ts +4 -0
- package/lib/pages/jobs/index.d.ts +4 -0
- package/lib/pages/networkPolicies/index.d.ts +4 -0
- package/lib/pages/nodes/index.d.ts +2 -0
- package/lib/pages/nodes/list/index.d.ts +3 -0
- package/lib/pages/nodes/show/index.d.ts +3 -0
- package/lib/pages/persistentvolumeclaims/index.d.ts +4 -0
- package/lib/pages/persistentvolumes/index.d.ts +4 -0
- package/lib/pages/pods/create/index.d.ts +3 -0
- package/lib/pages/pods/index.d.ts +3 -0
- package/lib/pages/pods/list/index.d.ts +3 -0
- package/lib/pages/pods/show/index.d.ts +3 -0
- package/lib/pages/secrets/index.d.ts +4 -0
- package/lib/pages/services/index.d.ts +4 -0
- package/lib/pages/statefulsets/index.d.ts +4 -0
- package/lib/pages/storageclasses/form/index.d.ts +9 -0
- package/lib/pages/storageclasses/index.d.ts +44 -0
- package/lib/plugins/index.d.ts +4 -0
- package/lib/plugins/model-plugin.d.ts +13 -0
- package/lib/plugins/relation-plugin.d.ts +26 -0
- package/lib/plugins/type.d.ts +8 -0
- package/lib/providers/index.d.ts +1 -0
- package/lib/providers/router-provider/index.d.ts +21 -0
- package/lib/src/components/ListPage/index.d.ts +1 -0
- package/lib/src/components/ResourceFiledDisplays.d.ts +7 -0
- package/lib/src/components/Shell/index.d.ts +4 -0
- package/lib/src/components/ShowContent/fields.d.ts +7 -2
- package/lib/src/components/index.d.ts +1 -0
- package/lib/src/hooks/useEagleTable/columns.d.ts +6 -6
- package/lib/src/i18n.d.ts +26 -1
- package/lib/src/locales/en-US/index.d.ts +14 -0
- package/lib/src/locales/zh-CN/index.d.ts +12 -1
- package/lib/src/models/cronjob-model.d.ts +0 -1
- package/lib/src/models/daemonset-model.d.ts +0 -1
- package/lib/src/models/deployment-model.d.ts +0 -1
- package/lib/src/models/event-model.d.ts +0 -1
- package/lib/src/models/ingress-model.d.ts +0 -1
- package/lib/src/models/job-model.d.ts +0 -1
- package/lib/src/models/network-policy-model.d.ts +0 -1
- package/lib/src/models/node-model.d.ts +0 -1
- package/lib/src/models/persistent-volume-claim.d.ts +0 -1
- package/lib/src/models/persistent-volume.d.ts +0 -1
- package/lib/src/models/pod-metrics-model.d.ts +0 -1
- package/lib/src/models/pod-model.d.ts +0 -1
- package/lib/src/models/resource-model.d.ts +1 -1
- package/lib/src/models/service-model.d.ts +0 -1
- package/lib/src/models/statefulset-model.d.ts +0 -1
- package/lib/src/models/storage-class.d.ts +0 -1
- package/lib/src/models/workload-base-model.d.ts +0 -1
- package/lib/src/models/workload-model.d.ts +0 -1
- package/lib/src/pages/persistentvolumeclaims/index.d.ts +4 -0
- package/lib/src/pages/persistentvolumes/index.d.ts +3 -18
- package/lib/types/index.d.ts +1 -0
- package/lib/types/resource.d.ts +62 -0
- package/lib/utils/addId.d.ts +3 -0
- package/lib/utils/download.d.ts +1 -0
- package/lib/utils/error.d.ts +20 -0
- package/lib/utils/form.d.ts +3 -0
- package/lib/utils/k8s.d.ts +3 -0
- package/lib/utils/labels.d.ts +9 -0
- package/lib/utils/match-selector.d.ts +3 -0
- package/lib/utils/openapi.d.ts +45 -0
- package/lib/utils/schema.d.ts +17 -0
- package/lib/utils/selector.d.ts +3 -0
- package/lib/utils/shell.d.ts +15 -0
- package/lib/utils/string.d.ts +1 -0
- package/lib/utils/time.d.ts +13 -0
- package/lib/utils/unit.d.ts +12 -0
- package/lib/utils/yaml.d.ts +2 -0
- package/package.json +5 -5
- package/lib/src/components/KeyValueData/index.d.ts +0 -6
- package/lib/src/components/ModalContextProvider/index.d.ts +0 -12
- package/lib/src/components/NetworkPolicyRulesTable/index.d.ts +0 -1
- package/lib/src/components/Shell/zmodem/index.d.ts +0 -51
- package/lib/src/components/Table/ErrorContent.d.ts +0 -10
- package/lib/src/hooks/useModal.d.ts +0 -0
- package/lib/src/model/cronjob-model.d.ts +0 -9
- package/lib/src/model/index.d.ts +0 -6
- package/lib/src/model/job-model.d.ts +0 -10
- package/lib/src/model/pod-metrics-model.d.ts +0 -7
- package/lib/src/model/pod-model.d.ts +0 -15
- package/lib/src/model/resource-model.d.ts +0 -17
- package/lib/src/model/workload-model.d.ts +0 -17
- package/lib/src/pages/deployments/create/index.d.ts +0 -3
- package/lib/src/pages/nodes/hooks/useNodeMetrics.d.ts +0 -17
- /package/lib/{src/components/Form → components/FormWidgets}/widget.d.ts +0 -0
- /package/lib/{src/components/NetworkPolicyRulesTable/NetworkPolicyRulesTable.d.ts → components/NetworkPolicyRulesViewer/NetworkPolicyRulesViewer.d.ts} +0 -0
- /package/lib/{src/hooks/useNamespaceFilter.d.ts → hooks/useNamespaceRefineFilter.d.ts} +0 -0
package/dist/refine.umd.cjs
CHANGED
|
@@ -1165,7 +1165,21 @@ var __publicField = (obj, key, value) => {
|
|
|
1165
1165
|
const only_support_one_yaml$1 = "Only one YAML configuration is supported at a time.";
|
|
1166
1166
|
const not_support$1 = "Not supported";
|
|
1167
1167
|
const stopped$1 = "Stopped";
|
|
1168
|
-
const any_node_ip = "Any node IP";
|
|
1168
|
+
const any_node_ip$1 = "Any node IP";
|
|
1169
|
+
const storage_class$1 = "Storage class";
|
|
1170
|
+
const persistent_volume$1 = "Persistent volume";
|
|
1171
|
+
const provisioner$1 = "Provisioner";
|
|
1172
|
+
const file_system$1 = "File system";
|
|
1173
|
+
const capacity$1 = "Capacity";
|
|
1174
|
+
const phase$1 = "Phase";
|
|
1175
|
+
const volume_mode$1 = "Volume mode";
|
|
1176
|
+
const access_mode$1 = "Access mode";
|
|
1177
|
+
const block$1 = "Block";
|
|
1178
|
+
const pv_phase_available$1 = "Available";
|
|
1179
|
+
const pv_phase_bound$1 = "Bound";
|
|
1180
|
+
const pv_phase_released$1 = "Released";
|
|
1181
|
+
const pv_phase_failed$1 = "Failed";
|
|
1182
|
+
const pv_phase_pending$1 = "Pending";
|
|
1169
1183
|
const exec_pod = "Execute shell";
|
|
1170
1184
|
const dovetail$1 = {
|
|
1171
1185
|
copy: copy$2,
|
|
@@ -1322,7 +1336,21 @@ var __publicField = (obj, key, value) => {
|
|
|
1322
1336
|
only_support_one_yaml: only_support_one_yaml$1,
|
|
1323
1337
|
not_support: not_support$1,
|
|
1324
1338
|
stopped: stopped$1,
|
|
1325
|
-
any_node_ip,
|
|
1339
|
+
any_node_ip: any_node_ip$1,
|
|
1340
|
+
storage_class: storage_class$1,
|
|
1341
|
+
persistent_volume: persistent_volume$1,
|
|
1342
|
+
provisioner: provisioner$1,
|
|
1343
|
+
file_system: file_system$1,
|
|
1344
|
+
capacity: capacity$1,
|
|
1345
|
+
phase: phase$1,
|
|
1346
|
+
volume_mode: volume_mode$1,
|
|
1347
|
+
access_mode: access_mode$1,
|
|
1348
|
+
block: block$1,
|
|
1349
|
+
pv_phase_available: pv_phase_available$1,
|
|
1350
|
+
pv_phase_bound: pv_phase_bound$1,
|
|
1351
|
+
pv_phase_released: pv_phase_released$1,
|
|
1352
|
+
pv_phase_failed: pv_phase_failed$1,
|
|
1353
|
+
pv_phase_pending: pv_phase_pending$1,
|
|
1326
1354
|
exec_pod
|
|
1327
1355
|
};
|
|
1328
1356
|
const EN = {
|
|
@@ -1480,10 +1508,21 @@ var __publicField = (obj, key, value) => {
|
|
|
1480
1508
|
const only_support_one_yaml = "一次仅支持输入一个 YAML 配置。";
|
|
1481
1509
|
const not_support = "不支持";
|
|
1482
1510
|
const stopped = "已停止";
|
|
1511
|
+
const any_node_ip = "任意节点 IP";
|
|
1483
1512
|
const storage_class = "存储类";
|
|
1484
|
-
const
|
|
1513
|
+
const persistent_volume = "持久卷";
|
|
1485
1514
|
const provisioner = "制备器";
|
|
1486
1515
|
const file_system = "文件系统";
|
|
1516
|
+
const capacity = "容量";
|
|
1517
|
+
const phase = "阶段";
|
|
1518
|
+
const volume_mode = "卷模式";
|
|
1519
|
+
const access_mode = "访问模式";
|
|
1520
|
+
const block = "块";
|
|
1521
|
+
const pv_phase_available = "可用";
|
|
1522
|
+
const pv_phase_bound = "已绑定";
|
|
1523
|
+
const pv_phase_released = "已释放";
|
|
1524
|
+
const pv_phase_failed = "失败";
|
|
1525
|
+
const pv_phase_pending = "等待中";
|
|
1487
1526
|
const dovetail = {
|
|
1488
1527
|
copy: copy$1,
|
|
1489
1528
|
reset_arguments,
|
|
@@ -1640,10 +1679,21 @@ var __publicField = (obj, key, value) => {
|
|
|
1640
1679
|
only_support_one_yaml,
|
|
1641
1680
|
not_support,
|
|
1642
1681
|
stopped,
|
|
1682
|
+
any_node_ip,
|
|
1643
1683
|
storage_class,
|
|
1644
|
-
|
|
1684
|
+
persistent_volume,
|
|
1645
1685
|
provisioner,
|
|
1646
|
-
file_system
|
|
1686
|
+
file_system,
|
|
1687
|
+
capacity,
|
|
1688
|
+
phase,
|
|
1689
|
+
volume_mode,
|
|
1690
|
+
access_mode,
|
|
1691
|
+
block,
|
|
1692
|
+
pv_phase_available,
|
|
1693
|
+
pv_phase_bound,
|
|
1694
|
+
pv_phase_released,
|
|
1695
|
+
pv_phase_failed,
|
|
1696
|
+
pv_phase_pending
|
|
1647
1697
|
};
|
|
1648
1698
|
const ZH = {
|
|
1649
1699
|
dovetail
|
|
@@ -8963,12 +9013,19 @@ var __publicField = (obj, key, value) => {
|
|
|
8963
9013
|
__publicField(this, "kind");
|
|
8964
9014
|
__publicField(this, "metadata");
|
|
8965
9015
|
this._rawYaml = _rawYaml;
|
|
8966
|
-
this._globalStore = _globalStore;
|
|
8967
9016
|
Object.keys(_rawYaml).forEach((key2) => {
|
|
8968
9017
|
Object.defineProperty(this, key2, {
|
|
8969
|
-
|
|
9018
|
+
get() {
|
|
9019
|
+
return _rawYaml[key2];
|
|
9020
|
+
}
|
|
8970
9021
|
});
|
|
8971
9022
|
});
|
|
9023
|
+
Object.defineProperty(this, "_globalStore", {
|
|
9024
|
+
get() {
|
|
9025
|
+
return _globalStore;
|
|
9026
|
+
},
|
|
9027
|
+
enumerable: false
|
|
9028
|
+
});
|
|
8972
9029
|
}
|
|
8973
9030
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
8974
9031
|
async init() {
|
|
@@ -8998,7 +9055,6 @@ var __publicField = (obj, key, value) => {
|
|
|
8998
9055
|
super(_rawYaml, _globalStore);
|
|
8999
9056
|
__publicField(this, "flattenedRules", []);
|
|
9000
9057
|
this._rawYaml = _rawYaml;
|
|
9001
|
-
this._globalStore = _globalStore;
|
|
9002
9058
|
}
|
|
9003
9059
|
async init() {
|
|
9004
9060
|
var _a, _b, _c, _d;
|
|
@@ -9041,7 +9097,6 @@ var __publicField = (obj, key, value) => {
|
|
|
9041
9097
|
constructor(_rawYaml, _globalStore) {
|
|
9042
9098
|
super(_rawYaml, _globalStore);
|
|
9043
9099
|
this._rawYaml = _rawYaml;
|
|
9044
|
-
this._globalStore = _globalStore;
|
|
9045
9100
|
}
|
|
9046
9101
|
}
|
|
9047
9102
|
const BASE_INIT_VALUE = {
|
|
@@ -9623,7 +9678,6 @@ var __publicField = (obj, key, value) => {
|
|
|
9623
9678
|
constructor(_rawYaml, _globalStore) {
|
|
9624
9679
|
super(_rawYaml, _globalStore);
|
|
9625
9680
|
this._rawYaml = _rawYaml;
|
|
9626
|
-
this._globalStore = _globalStore;
|
|
9627
9681
|
}
|
|
9628
9682
|
get imageNames() {
|
|
9629
9683
|
var _a, _b, _c, _d;
|
|
@@ -9642,7 +9696,6 @@ var __publicField = (obj, key, value) => {
|
|
|
9642
9696
|
super(_rawYaml, _globalStore);
|
|
9643
9697
|
__publicField(this, "restarts", 0);
|
|
9644
9698
|
this._rawYaml = _rawYaml;
|
|
9645
|
-
this._globalStore = _globalStore;
|
|
9646
9699
|
}
|
|
9647
9700
|
async init() {
|
|
9648
9701
|
await this.getRestarts();
|
|
@@ -9710,7 +9763,6 @@ var __publicField = (obj, key, value) => {
|
|
|
9710
9763
|
super(_rawYaml, _globalStore);
|
|
9711
9764
|
__publicField(this, "restarts", 0);
|
|
9712
9765
|
this._rawYaml = _rawYaml;
|
|
9713
|
-
this._globalStore = _globalStore;
|
|
9714
9766
|
}
|
|
9715
9767
|
async init() {
|
|
9716
9768
|
await this.getRestarts();
|
|
@@ -9831,7 +9883,6 @@ var __publicField = (obj, key, value) => {
|
|
|
9831
9883
|
__publicField(this, "request");
|
|
9832
9884
|
__publicField(this, "limit");
|
|
9833
9885
|
this._rawYaml = _rawYaml;
|
|
9834
|
-
this._globalStore = _globalStore;
|
|
9835
9886
|
let cpuRequestNum = 0;
|
|
9836
9887
|
let memoryRequestNum = 0;
|
|
9837
9888
|
let cpuLimitNum = 0;
|
|
@@ -9912,7 +9963,6 @@ var __publicField = (obj, key, value) => {
|
|
|
9912
9963
|
super(_rawYaml, _globalStore);
|
|
9913
9964
|
__publicField(this, "usage");
|
|
9914
9965
|
this._rawYaml = _rawYaml;
|
|
9915
|
-
this._globalStore = _globalStore;
|
|
9916
9966
|
let cpuUsageNum = 0;
|
|
9917
9967
|
let memoryUsageNum = 0;
|
|
9918
9968
|
for (const container2 of _rawYaml.containers) {
|
|
@@ -9941,7 +9991,6 @@ var __publicField = (obj, key, value) => {
|
|
|
9941
9991
|
constructor(_rawYaml, _globalStore) {
|
|
9942
9992
|
super(_rawYaml, _globalStore);
|
|
9943
9993
|
this._rawYaml = _rawYaml;
|
|
9944
|
-
this._globalStore = _globalStore;
|
|
9945
9994
|
}
|
|
9946
9995
|
get stateDisplay() {
|
|
9947
9996
|
var _a;
|
|
@@ -9969,7 +10018,6 @@ var __publicField = (obj, key, value) => {
|
|
|
9969
10018
|
constructor(_rawYaml, _globalStore) {
|
|
9970
10019
|
super(_rawYaml, _globalStore);
|
|
9971
10020
|
this._rawYaml = _rawYaml;
|
|
9972
|
-
this._globalStore = _globalStore;
|
|
9973
10021
|
this.id = _rawYaml.metadata.uid || _rawYaml.id;
|
|
9974
10022
|
}
|
|
9975
10023
|
}
|
|
@@ -9977,7 +10025,6 @@ var __publicField = (obj, key, value) => {
|
|
|
9977
10025
|
constructor(_rawYaml, _globalStore) {
|
|
9978
10026
|
super(_rawYaml, _globalStore);
|
|
9979
10027
|
this._rawYaml = _rawYaml;
|
|
9980
|
-
this._globalStore = _globalStore;
|
|
9981
10028
|
}
|
|
9982
10029
|
get stateDisplay() {
|
|
9983
10030
|
var _a, _b, _c;
|
|
@@ -9993,7 +10040,6 @@ var __publicField = (obj, key, value) => {
|
|
|
9993
10040
|
constructor(_rawYaml, _globalStore) {
|
|
9994
10041
|
super(_rawYaml, _globalStore);
|
|
9995
10042
|
this._rawYaml = _rawYaml;
|
|
9996
|
-
this._globalStore = _globalStore;
|
|
9997
10043
|
}
|
|
9998
10044
|
get stateDisplay() {
|
|
9999
10045
|
var _a, _b;
|
|
@@ -10013,7 +10059,6 @@ var __publicField = (obj, key, value) => {
|
|
|
10013
10059
|
constructor(_rawYaml, _globalStore) {
|
|
10014
10060
|
super(_rawYaml, _globalStore);
|
|
10015
10061
|
this._rawYaml = _rawYaml;
|
|
10016
|
-
this._globalStore = _globalStore;
|
|
10017
10062
|
}
|
|
10018
10063
|
get stateDisplay() {
|
|
10019
10064
|
var _a, _b, _c;
|
|
@@ -10037,7 +10082,6 @@ var __publicField = (obj, key, value) => {
|
|
|
10037
10082
|
constructor(_rawYaml, _globalStore) {
|
|
10038
10083
|
super(_rawYaml, _globalStore);
|
|
10039
10084
|
this._rawYaml = _rawYaml;
|
|
10040
|
-
this._globalStore = _globalStore;
|
|
10041
10085
|
}
|
|
10042
10086
|
get displayType() {
|
|
10043
10087
|
const spec = this._rawYaml.spec;
|
|
@@ -10076,7 +10120,6 @@ var __publicField = (obj, key, value) => {
|
|
|
10076
10120
|
constructor(_rawYaml, _globalStore) {
|
|
10077
10121
|
super(_rawYaml, _globalStore);
|
|
10078
10122
|
this._rawYaml = _rawYaml;
|
|
10079
|
-
this._globalStore = _globalStore;
|
|
10080
10123
|
}
|
|
10081
10124
|
get role() {
|
|
10082
10125
|
return "node-role.kubernetes.io/control-plane" in (this.metadata.labels || {}) ? "Control Plane" : "Worker";
|
|
@@ -10101,7 +10144,6 @@ var __publicField = (obj, key, value) => {
|
|
|
10101
10144
|
super(_rawYaml, _globalStore);
|
|
10102
10145
|
__publicField(this, "pvs", []);
|
|
10103
10146
|
this._rawYaml = _rawYaml;
|
|
10104
|
-
this._globalStore = _globalStore;
|
|
10105
10147
|
}
|
|
10106
10148
|
async init() {
|
|
10107
10149
|
const pvs = await this._globalStore.get("persistentvolumes", {
|
|
@@ -10120,14 +10162,12 @@ var __publicField = (obj, key, value) => {
|
|
|
10120
10162
|
constructor(_rawYaml, _globalStore) {
|
|
10121
10163
|
super(_rawYaml, _globalStore);
|
|
10122
10164
|
this._rawYaml = _rawYaml;
|
|
10123
|
-
this._globalStore = _globalStore;
|
|
10124
10165
|
}
|
|
10125
10166
|
}
|
|
10126
10167
|
class PersistentVolumeClaimModel extends ResourceModel {
|
|
10127
10168
|
constructor(_rawYaml, _globalStore) {
|
|
10128
10169
|
super(_rawYaml, _globalStore);
|
|
10129
10170
|
this._rawYaml = _rawYaml;
|
|
10130
|
-
this._globalStore = _globalStore;
|
|
10131
10171
|
}
|
|
10132
10172
|
}
|
|
10133
10173
|
const index_1lzkrja = "";
|
|
@@ -11497,6 +11537,27 @@ var __publicField = (obj, key, value) => {
|
|
|
11497
11537
|
})
|
|
11498
11538
|
});
|
|
11499
11539
|
}
|
|
11540
|
+
function PVPhaseDisplay(props) {
|
|
11541
|
+
const { value: value2 } = props;
|
|
11542
|
+
const i18n2 = useTranslation();
|
|
11543
|
+
const map = {
|
|
11544
|
+
Available: i18n2.t("dovetail.pv_phase_available"),
|
|
11545
|
+
Bound: i18n2.t("dovetail.pv_phase_bound"),
|
|
11546
|
+
Failed: i18n2.t("dovetail.pv_phase_released"),
|
|
11547
|
+
Pending: i18n2.t("dovetail.pv_phase_failed"),
|
|
11548
|
+
Released: i18n2.t("dovetail.pv_phase_pending")
|
|
11549
|
+
};
|
|
11550
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: map[value2] || value2 });
|
|
11551
|
+
}
|
|
11552
|
+
function PVVolumeModeDisplay(props) {
|
|
11553
|
+
const { value: value2 } = props;
|
|
11554
|
+
const i18n2 = useTranslation();
|
|
11555
|
+
const map = {
|
|
11556
|
+
Block: i18n2.t("dovetail.block"),
|
|
11557
|
+
Filesystem: i18n2.t("dovetail.file_system")
|
|
11558
|
+
};
|
|
11559
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: map[value2] || value2 });
|
|
11560
|
+
}
|
|
11500
11561
|
const WorkloadPodsTable_1giuese = "";
|
|
11501
11562
|
const WorkloadPodsTable = ({
|
|
11502
11563
|
namespace: namespace2,
|
|
@@ -12162,13 +12223,6 @@ var __publicField = (obj, key, value) => {
|
|
|
12162
12223
|
title: i18n2.t("dovetail.provisioner")
|
|
12163
12224
|
};
|
|
12164
12225
|
};
|
|
12165
|
-
const StorageClassFsTypeField = (i18n2) => {
|
|
12166
|
-
return {
|
|
12167
|
-
key: "fstype",
|
|
12168
|
-
path: ["parameters", "csi.storage.k8s.io/fstype"],
|
|
12169
|
-
title: i18n2.t("dovetail.file_system")
|
|
12170
|
-
};
|
|
12171
|
-
};
|
|
12172
12226
|
const StorageClassPvField = () => {
|
|
12173
12227
|
return {
|
|
12174
12228
|
key: "pvs",
|
|
@@ -12185,6 +12239,63 @@ var __publicField = (obj, key, value) => {
|
|
|
12185
12239
|
}
|
|
12186
12240
|
};
|
|
12187
12241
|
};
|
|
12242
|
+
const PVCapacityField = (i18n2) => {
|
|
12243
|
+
return {
|
|
12244
|
+
key: "capacity",
|
|
12245
|
+
path: ["spec", "capacity", "storage"],
|
|
12246
|
+
title: i18n2.t("dovetail.capacity"),
|
|
12247
|
+
renderContent(value2) {
|
|
12248
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(eagle.Units.Byte, { rawValue: parseSi(value2), decimals: 1 });
|
|
12249
|
+
}
|
|
12250
|
+
};
|
|
12251
|
+
};
|
|
12252
|
+
const PVCStorageField = (i18n2) => {
|
|
12253
|
+
return {
|
|
12254
|
+
key: "storage",
|
|
12255
|
+
path: ["spec", "resources", "requests", "storage"],
|
|
12256
|
+
title: i18n2.t("dovetail.capacity"),
|
|
12257
|
+
renderContent(value2) {
|
|
12258
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(eagle.Units.Byte, { rawValue: parseSi(value2), decimals: 1 });
|
|
12259
|
+
}
|
|
12260
|
+
};
|
|
12261
|
+
};
|
|
12262
|
+
const PVStorageClassField = (i18n2) => {
|
|
12263
|
+
return {
|
|
12264
|
+
key: "storageClass",
|
|
12265
|
+
path: ["spec", "storageClassName"],
|
|
12266
|
+
title: i18n2.t("dovetail.storage_class"),
|
|
12267
|
+
renderContent(value2) {
|
|
12268
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, { resourceName: "storageclasses", namespace: "", resourceId: value2 });
|
|
12269
|
+
}
|
|
12270
|
+
};
|
|
12271
|
+
};
|
|
12272
|
+
const PVPhaseField = (i18n2) => {
|
|
12273
|
+
return {
|
|
12274
|
+
key: "phase",
|
|
12275
|
+
path: ["status", "phase"],
|
|
12276
|
+
title: i18n2.t("dovetail.phase"),
|
|
12277
|
+
renderContent(value2) {
|
|
12278
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(PVPhaseDisplay, { value: value2 });
|
|
12279
|
+
}
|
|
12280
|
+
};
|
|
12281
|
+
};
|
|
12282
|
+
const PVVolumeModeField = (i18n2) => {
|
|
12283
|
+
return {
|
|
12284
|
+
key: "mode",
|
|
12285
|
+
path: ["spec", "volumeMode"],
|
|
12286
|
+
title: i18n2.t("dovetail.volume_mode"),
|
|
12287
|
+
renderContent(value2) {
|
|
12288
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(PVVolumeModeDisplay, { value: value2 });
|
|
12289
|
+
}
|
|
12290
|
+
};
|
|
12291
|
+
};
|
|
12292
|
+
const PVAccessModeField = (i18n2) => {
|
|
12293
|
+
return {
|
|
12294
|
+
key: "accessMode",
|
|
12295
|
+
path: ["spec", "accessModes"],
|
|
12296
|
+
title: i18n2.t("dovetail.access_mode")
|
|
12297
|
+
};
|
|
12298
|
+
};
|
|
12188
12299
|
function __rest(s2, e2) {
|
|
12189
12300
|
var t2 = {};
|
|
12190
12301
|
for (var p in s2)
|
|
@@ -18486,7 +18597,7 @@ var __publicField = (obj, key, value) => {
|
|
|
18486
18597
|
]
|
|
18487
18598
|
});
|
|
18488
18599
|
const StorageClassPvGroup = (i18n2) => ({
|
|
18489
|
-
title: i18n2.t("dovetail.
|
|
18600
|
+
title: i18n2.t("dovetail.persistent_volume"),
|
|
18490
18601
|
areas: [
|
|
18491
18602
|
{
|
|
18492
18603
|
fields: [StorageClassPvField()]
|
|
@@ -34967,7 +35078,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
34967
35078
|
return SocketStatus2;
|
|
34968
35079
|
})(SocketStatus || {});
|
|
34969
35080
|
const Shell = React.forwardRef(function Shell2(props, ref) {
|
|
34970
|
-
const { url, protocols, encode, decode, onSocketStatusChange, onTermInit, onSocketInit, children } = props;
|
|
35081
|
+
const { className, url, protocols, encode, decode, onSocketStatusChange, onTermInit, onSocketInit, children } = props;
|
|
34971
35082
|
const terminalRef = React.useRef(null);
|
|
34972
35083
|
const termInstanceRef = React.useRef(null);
|
|
34973
35084
|
const fitAddonRef = React.useRef(null);
|
|
@@ -35163,12 +35274,21 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
35163
35274
|
(_a = termInstanceRef.current) == null ? void 0 : _a.clear();
|
|
35164
35275
|
},
|
|
35165
35276
|
setSocketStatus,
|
|
35277
|
+
fit,
|
|
35166
35278
|
send,
|
|
35167
35279
|
searchNext,
|
|
35168
35280
|
searchPrevious,
|
|
35169
|
-
getAllTerminalContents
|
|
35170
|
-
|
|
35171
|
-
|
|
35281
|
+
getAllTerminalContents,
|
|
35282
|
+
setOptions(options) {
|
|
35283
|
+
Object.entries(options).forEach(([key2, value2]) => {
|
|
35284
|
+
if (termInstanceRef.current) {
|
|
35285
|
+
termInstanceRef.current.options[key2] = value2;
|
|
35286
|
+
}
|
|
35287
|
+
});
|
|
35288
|
+
fit();
|
|
35289
|
+
}
|
|
35290
|
+
}), [send, searchNext, searchPrevious, getAllTerminalContents, fit]);
|
|
35291
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: terminalRef, className, children });
|
|
35172
35292
|
});
|
|
35173
35293
|
var buffer = {};
|
|
35174
35294
|
var base64Js = {};
|
|
@@ -37247,6 +37367,12 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
37247
37367
|
window.URL.revokeObjectURL(url2);
|
|
37248
37368
|
}, 0);
|
|
37249
37369
|
}, []);
|
|
37370
|
+
const onChangeFontSize = React.useCallback(() => {
|
|
37371
|
+
var _a;
|
|
37372
|
+
(_a = shellRef == null ? void 0 : shellRef.current) == null ? void 0 : _a.setOptions({
|
|
37373
|
+
fontSize: 16
|
|
37374
|
+
});
|
|
37375
|
+
}, []);
|
|
37250
37376
|
React.useEffect(() => {
|
|
37251
37377
|
if (!container2 && containers2.length) {
|
|
37252
37378
|
setContainer(containers2[0]);
|
|
@@ -37290,7 +37416,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
37290
37416
|
children: "Clear"
|
|
37291
37417
|
}
|
|
37292
37418
|
),
|
|
37293
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(eagle.Button, { onClick: onDownloadContent, children: "Download" })
|
|
37419
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(eagle.Button, { onClick: onDownloadContent, children: "Download" }),
|
|
37420
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(eagle.Button, { onClick: onChangeFontSize, children: "Up Size" })
|
|
37294
37421
|
] }),
|
|
37295
37422
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
37296
37423
|
Shell,
|
|
@@ -37709,7 +37836,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
37709
37836
|
function ListPage(props) {
|
|
37710
37837
|
const {
|
|
37711
37838
|
selectedKeys,
|
|
37712
|
-
tableProps
|
|
37839
|
+
tableProps,
|
|
37840
|
+
contentClassName
|
|
37713
37841
|
} = props;
|
|
37714
37842
|
const {
|
|
37715
37843
|
Table: TableComponent
|
|
@@ -37738,7 +37866,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
37738
37866
|
}
|
|
37739
37867
|
})]
|
|
37740
37868
|
}) : void 0, /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
|
|
37741
|
-
className: ListContentStyle,
|
|
37869
|
+
className: cx_default(ListContentStyle, contentClassName),
|
|
37742
37870
|
children: [!config.hideNamespacesFilter ? /* @__PURE__ */ jsxRuntimeExports.jsx(NamespacesFilter, {
|
|
37743
37871
|
className: NamespaceFilterStyle
|
|
37744
37872
|
}) : void 0, /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
@@ -38711,24 +38839,38 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
38711
38839
|
sortable: true
|
|
38712
38840
|
};
|
|
38713
38841
|
};
|
|
38714
|
-
const
|
|
38842
|
+
const PVCapacityColumnRenderer = (i18n2) => {
|
|
38715
38843
|
return {
|
|
38716
|
-
key: "
|
|
38844
|
+
key: "capacity",
|
|
38717
38845
|
display: true,
|
|
38718
|
-
dataIndex: ["
|
|
38719
|
-
title: i18n2.t("dovetail.
|
|
38846
|
+
dataIndex: ["spec", "capacity", "storage"],
|
|
38847
|
+
title: i18n2.t("dovetail.capacity"),
|
|
38720
38848
|
width: 120,
|
|
38721
|
-
sortable: true
|
|
38849
|
+
sortable: true,
|
|
38850
|
+
align: "right",
|
|
38851
|
+
render(value2) {
|
|
38852
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(eagle.Units.Byte, {
|
|
38853
|
+
rawValue: parseSi(value2),
|
|
38854
|
+
decimals: 1
|
|
38855
|
+
});
|
|
38856
|
+
}
|
|
38722
38857
|
};
|
|
38723
38858
|
};
|
|
38724
|
-
const
|
|
38859
|
+
const PVCStorageColumnRenderer = (i18n2) => {
|
|
38725
38860
|
return {
|
|
38726
|
-
key: "
|
|
38861
|
+
key: "storage",
|
|
38727
38862
|
display: true,
|
|
38728
|
-
dataIndex: ["spec", "
|
|
38863
|
+
dataIndex: ["spec", "resources", "requests", "storage"],
|
|
38729
38864
|
title: i18n2.t("dovetail.capacity"),
|
|
38730
38865
|
width: 120,
|
|
38731
|
-
sortable: true
|
|
38866
|
+
sortable: true,
|
|
38867
|
+
align: "right",
|
|
38868
|
+
render(value2) {
|
|
38869
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(eagle.Units.Byte, {
|
|
38870
|
+
rawValue: parseSi(value2),
|
|
38871
|
+
decimals: 1
|
|
38872
|
+
});
|
|
38873
|
+
}
|
|
38732
38874
|
};
|
|
38733
38875
|
};
|
|
38734
38876
|
const PVStorageClassColumnRenderer = (i18n2) => {
|
|
@@ -38738,7 +38880,14 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
38738
38880
|
dataIndex: ["spec", "storageClassName"],
|
|
38739
38881
|
title: i18n2.t("dovetail.storage_class"),
|
|
38740
38882
|
width: 120,
|
|
38741
|
-
sortable: true
|
|
38883
|
+
sortable: true,
|
|
38884
|
+
render(value2) {
|
|
38885
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, {
|
|
38886
|
+
resourceName: "storageclasses",
|
|
38887
|
+
namespace: "",
|
|
38888
|
+
resourceId: value2
|
|
38889
|
+
});
|
|
38890
|
+
}
|
|
38742
38891
|
};
|
|
38743
38892
|
};
|
|
38744
38893
|
const PVPhaseColumnRenderer = (i18n2) => {
|
|
@@ -38748,17 +38897,27 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
38748
38897
|
dataIndex: ["status", "phase"],
|
|
38749
38898
|
title: i18n2.t("dovetail.phase"),
|
|
38750
38899
|
width: 120,
|
|
38751
|
-
sortable: true
|
|
38900
|
+
sortable: true,
|
|
38901
|
+
render(value2) {
|
|
38902
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(PVPhaseDisplay, {
|
|
38903
|
+
value: value2
|
|
38904
|
+
});
|
|
38905
|
+
}
|
|
38752
38906
|
};
|
|
38753
38907
|
};
|
|
38754
|
-
const
|
|
38908
|
+
const PVVolumeModeColumnRenderer = (i18n2) => {
|
|
38755
38909
|
return {
|
|
38756
38910
|
key: "mode",
|
|
38757
38911
|
display: true,
|
|
38758
38912
|
dataIndex: ["spec", "volumeMode"],
|
|
38759
38913
|
title: i18n2.t("dovetail.volume_mode"),
|
|
38760
38914
|
width: 120,
|
|
38761
|
-
sortable: true
|
|
38915
|
+
sortable: true,
|
|
38916
|
+
render(value2) {
|
|
38917
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(PVVolumeModeDisplay, {
|
|
38918
|
+
value: value2
|
|
38919
|
+
});
|
|
38920
|
+
}
|
|
38762
38921
|
};
|
|
38763
38922
|
};
|
|
38764
38923
|
const PVAccessModeColumnRenderer = (i18n2) => {
|
|
@@ -39075,7 +39234,6 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
39075
39234
|
exports2.EventsTableTabField = EventsTableTabField;
|
|
39076
39235
|
exports2.FormModal = FormModal;
|
|
39077
39236
|
exports2.FormType = FormType;
|
|
39078
|
-
exports2.FsTypeColumnRenderer = FsTypeColumnRenderer;
|
|
39079
39237
|
exports2.FullscreenModalStyle = FullscreenModalStyle;
|
|
39080
39238
|
exports2.GlobalStoreContext = GlobalStoreContext;
|
|
39081
39239
|
exports2.INGRESS_INIT_VALUE = INGRESS_INIT_VALUE;
|
|
@@ -39122,10 +39280,19 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
39122
39280
|
exports2.NodeRole = NodeRole;
|
|
39123
39281
|
exports2.POD_INIT_VALUE = POD_INIT_VALUE;
|
|
39124
39282
|
exports2.PVAccessModeColumnRenderer = PVAccessModeColumnRenderer;
|
|
39283
|
+
exports2.PVAccessModeField = PVAccessModeField;
|
|
39284
|
+
exports2.PVCStorageColumnRenderer = PVCStorageColumnRenderer;
|
|
39285
|
+
exports2.PVCStorageField = PVCStorageField;
|
|
39125
39286
|
exports2.PVCapacityColumnRenderer = PVCapacityColumnRenderer;
|
|
39126
|
-
exports2.
|
|
39287
|
+
exports2.PVCapacityField = PVCapacityField;
|
|
39127
39288
|
exports2.PVPhaseColumnRenderer = PVPhaseColumnRenderer;
|
|
39289
|
+
exports2.PVPhaseDisplay = PVPhaseDisplay;
|
|
39290
|
+
exports2.PVPhaseField = PVPhaseField;
|
|
39128
39291
|
exports2.PVStorageClassColumnRenderer = PVStorageClassColumnRenderer;
|
|
39292
|
+
exports2.PVStorageClassField = PVStorageClassField;
|
|
39293
|
+
exports2.PVVolumeModeColumnRenderer = PVVolumeModeColumnRenderer;
|
|
39294
|
+
exports2.PVVolumeModeDisplay = PVVolumeModeDisplay;
|
|
39295
|
+
exports2.PVVolumeModeField = PVVolumeModeField;
|
|
39129
39296
|
exports2.PageShow = PageShow;
|
|
39130
39297
|
exports2.PersistentVolumeClaimModel = PersistentVolumeClaimModel;
|
|
39131
39298
|
exports2.PersistentVolumeModel = PersistentVolumeModel;
|
|
@@ -39209,7 +39376,6 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
39209
39376
|
exports2.StateTag = StateTag;
|
|
39210
39377
|
exports2.StateTagStyle = StateTagStyle;
|
|
39211
39378
|
exports2.StatefulSetModel = StatefulSetModel;
|
|
39212
|
-
exports2.StorageClassFsTypeField = StorageClassFsTypeField;
|
|
39213
39379
|
exports2.StorageClassModel = StorageClassModel;
|
|
39214
39380
|
exports2.StorageClassProvisionerField = StorageClassProvisionerField;
|
|
39215
39381
|
exports2.StorageClassPvField = StorageClassPvField;
|
package/lib/App.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AccessControlProvider } from '@refinedev/core';
|
|
2
|
+
import { History } from 'history';
|
|
3
|
+
import { GlobalStore } from 'k8s-api-provider';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { ResourceConfig } from './types';
|
|
6
|
+
import './styles.css';
|
|
7
|
+
type Props = {
|
|
8
|
+
resourcesConfig: ResourceConfig[];
|
|
9
|
+
useHashUrl?: boolean;
|
|
10
|
+
urlPrefix?: string;
|
|
11
|
+
Layout?: React.FC<unknown>;
|
|
12
|
+
history: History;
|
|
13
|
+
globalStore: GlobalStore;
|
|
14
|
+
accessControlProvider?: AccessControlProvider;
|
|
15
|
+
routerProvider?: any;
|
|
16
|
+
};
|
|
17
|
+
export declare const Dovetail: React.FC<Props>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ConditionsTable';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function CreateButton(): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CronJobModel } from '../../models';
|
|
2
|
+
import { DropdownSize } from '../K8sDropdown';
|
|
3
|
+
type Props<Model extends CronJobModel> = {
|
|
4
|
+
record: Model;
|
|
5
|
+
size?: DropdownSize;
|
|
6
|
+
};
|
|
7
|
+
export declare function CronJobDropdown<Model extends CronJobModel>(props: Props<Model>): JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ResourceModel } from '../../models';
|
|
2
|
+
import { ShowConfig } from '../ShowContent';
|
|
3
|
+
type Props<Model extends ResourceModel> = {
|
|
4
|
+
showConfig: ShowConfig<Model>;
|
|
5
|
+
formatter?: (r: Model) => Model;
|
|
6
|
+
};
|
|
7
|
+
export declare const DrawerShow: <Model extends ResourceModel>(props: Props<Model>) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DrawerShow';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface EditFieldModalProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
submitting?: boolean;
|
|
5
|
+
errorMsgs?: string[];
|
|
6
|
+
formRef: React.MutableRefObject<{
|
|
7
|
+
submit: () => (Promise<unknown> | undefined);
|
|
8
|
+
} | null>;
|
|
9
|
+
renderContent: () => React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export declare function EditFieldModal(props: EditFieldModalProps): JSX.Element;
|
|
12
|
+
export interface EditField {
|
|
13
|
+
modalProps: EditFieldModalProps;
|
|
14
|
+
}
|
|
15
|
+
export declare function EditField(props: EditField): JSX.Element;
|