@dovetail-v2/refine 0.2.12 → 0.2.14

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.
@@ -3,7 +3,7 @@ import * as monaco from "monaco-editor";
3
3
  import { setDiagnosticsOptions } from "monaco-yaml";
4
4
  import { useRef, useEffect } from "react";
5
5
  import ReactDOM from "react-dom";
6
- import { Y as YamlEditorStyle } from "./index-64410c76.js";
6
+ import { Y as YamlEditorStyle } from "./index-0a059d2c.js";
7
7
  import "dayjs";
8
8
  import "i18next";
9
9
  import "@refinedev/core";
@@ -5,7 +5,7 @@ const monaco = require("monaco-editor");
5
5
  const monacoYaml = require("monaco-yaml");
6
6
  const React = require("react");
7
7
  const ReactDOM = require("react-dom");
8
- const refine = require("./index-d6b404b9.cjs");
8
+ const refine = require("./index-89b310cd.cjs");
9
9
  require("dayjs");
10
10
  require("i18next");
11
11
  require("@refinedev/core");
@@ -1,2 +1,4 @@
1
1
  export * from './EditLabelForm';
2
2
  export * from './EditAnnotationForm';
3
+ export * from './EditNodeTaintForm';
4
+ export * from './KeyValueTableForm';
@@ -50,3 +50,6 @@ export * from './PodShellModal';
50
50
  export * from './ResourceTable';
51
51
  export * from './ErrorContent';
52
52
  export { default as ErrorContent } from './ErrorContent';
53
+ export * from './EditMetadataForm';
54
+ export * from './FormErrorAlert';
55
+ export * from './EditField';
@@ -6,4 +6,5 @@ export * from './useDownloadYAML';
6
6
  export * from './useEdit';
7
7
  export * from './useGlobalStore';
8
8
  export * from './useOpenForm';
9
+ export * from './useSubmitForm';
9
10
  export { default as useNamespaceRefineFilter } from './useNamespaceRefineFilter';
package/dist/i18n.d.ts CHANGED
@@ -206,6 +206,7 @@ export declare const resources: {
206
206
  edit_distribute_storage: string;
207
207
  edit_distribute_storage_success_toast: string;
208
208
  edit_distribute_storage_failed_toast: string;
209
+ edit_taint: string;
209
210
  edit_node_taint: string;
210
211
  edit_node_taint_success_toast: string;
211
212
  node_taint_NoSchedule: string;
@@ -449,6 +450,7 @@ export declare const resources: {
449
450
  edit_distribute_storage: string;
450
451
  edit_distribute_storage_success_toast: string;
451
452
  edit_distribute_storage_failed_toast: string;
453
+ edit_taint: string;
452
454
  edit_node_taint: string;
453
455
  edit_node_taint_success_toast: string;
454
456
  node_taint_NoSchedule: string;
@@ -639,6 +639,7 @@ const allow_expand$1 = "Volume expansion";
639
639
  const edit_distribute_storage$1 = "Edit capacity allocation";
640
640
  const edit_distribute_storage_success_toast$1 = "Successfully edited the capacity allocation";
641
641
  const edit_distribute_storage_failed_toast$1 = "Failed to edit the capacity allocation";
642
+ const edit_taint$1 = "Edit taint";
642
643
  const edit_node_taint$1 = "Edit taint";
643
644
  const edit_node_taint_success_toast$1 = "Successfully edited the taint for the node {{name}}";
644
645
  const node_taint_NoSchedule$1 = "NoSchedule";
@@ -656,7 +657,7 @@ const taint_effect_empty_text$1 = "Please select an effect.";
656
657
  const add_label$1 = "Add label";
657
658
  const add_annotation$1 = "Add annotation";
658
659
  const add_taint$1 = "Add taint";
659
- const look_format_requirement$1 = "View taint requirements";
660
+ const look_format_requirement$1 = "View format requirements";
660
661
  const yes$1 = "Yes";
661
662
  const no$1 = "No";
662
663
  const contains$1 = "Contains";
@@ -882,6 +883,7 @@ const dovetail$1 = {
882
883
  edit_distribute_storage: edit_distribute_storage$1,
883
884
  edit_distribute_storage_success_toast: edit_distribute_storage_success_toast$1,
884
885
  edit_distribute_storage_failed_toast: edit_distribute_storage_failed_toast$1,
886
+ edit_taint: edit_taint$1,
885
887
  edit_node_taint: edit_node_taint$1,
886
888
  edit_node_taint_success_toast: edit_node_taint_success_toast$1,
887
889
  node_taint_NoSchedule: node_taint_NoSchedule$1,
@@ -1122,6 +1124,7 @@ const allow_expand = "卷扩容";
1122
1124
  const edit_distribute_storage = "编辑分配量";
1123
1125
  const edit_distribute_storage_success_toast = "编辑分配量成功";
1124
1126
  const edit_distribute_storage_failed_toast = "编辑分配量失败";
1127
+ const edit_taint = "编辑污点";
1125
1128
  const edit_node_taint = "编辑污点";
1126
1129
  const edit_node_taint_success_toast = "编辑节点 {{name}} 的污点成功";
1127
1130
  const node_taint_NoSchedule = "仅阻止调度";
@@ -1364,6 +1367,7 @@ const dovetail = {
1364
1367
  edit_distribute_storage,
1365
1368
  edit_distribute_storage_success_toast,
1366
1369
  edit_distribute_storage_failed_toast,
1370
+ edit_taint,
1367
1371
  edit_node_taint,
1368
1372
  edit_node_taint_success_toast,
1369
1373
  node_taint_NoSchedule,
@@ -11444,6 +11448,12 @@ function _KeyValueTableFormForm(props, ref) {
11444
11448
  const KeyValueTableFormForm = React__default.forwardRef(_KeyValueTableFormForm);
11445
11449
  const EditNodeTaintForm_cgov7z = "";
11446
11450
  const UlStyle = "u19jcs7t";
11451
+ var NodeTaintEffect = /* @__PURE__ */ ((NodeTaintEffect2) => {
11452
+ NodeTaintEffect2["NoSchedule"] = "NoSchedule";
11453
+ NodeTaintEffect2["PreferNoSchedule"] = "PreferNoSchedule";
11454
+ NodeTaintEffect2["NoExecute"] = "NoExecute";
11455
+ return NodeTaintEffect2;
11456
+ })(NodeTaintEffect || {});
11447
11457
  const EditNodeTaintForm = React__default.forwardRef(function EditNodeTaintForm2(props, ref) {
11448
11458
  const {
11449
11459
  nodeModel
@@ -12682,7 +12692,7 @@ const PodLogTab = (i18n2) => ({
12682
12692
  ]
12683
12693
  });
12684
12694
  const NetworkPolicyRulesViewer_r6jity = "";
12685
- const MonacoYamlEditor$1 = lazy(() => import("./MonacoYamlEditor-9a2832ff.js"));
12695
+ const MonacoYamlEditor$1 = lazy(() => import("./MonacoYamlEditor-74de7346.js"));
12686
12696
  const EditorStyle$1 = "e1cjl2b8";
12687
12697
  const NetworkPolicyRulesViewer = ({
12688
12698
  ingressOrEgress,
@@ -16106,7 +16116,7 @@ const PlainCodeStyle = "pqch97v";
16106
16116
  const ErrorMsgStyle = "eh2qjnl";
16107
16117
  const ErrorWrapperStyle = "e19q2bnp";
16108
16118
  const YamlEditorStyle = "y16u5v3w";
16109
- const MonacoYamlEditor = React__default.lazy(() => import("./MonacoYamlEditor-9a2832ff.js"));
16119
+ const MonacoYamlEditor = React__default.lazy(() => import("./MonacoYamlEditor-74de7346.js"));
16110
16120
  const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-7de94ad2.js"));
16111
16121
  const YamlEditorComponent = forwardRef(
16112
16122
  function YamlEditorComponent2(props, ref) {
@@ -18767,216 +18777,225 @@ export {
18767
18777
  useDownloadYAML as Z,
18768
18778
  useEdit as _,
18769
18779
  useApiGroupSchema as a,
18770
- ServiceInnerClusterAccessField as a$,
18780
+ AnnotationsField as a$,
18771
18781
  useOpenForm as a0,
18772
- index as a1,
18773
- WidgetErrorContent as a2,
18774
- Breadcrumb as a3,
18775
- NameInputWidget as a4,
18776
- dnsSubDomainRules as a5,
18777
- rfc1123LabelRules as a6,
18778
- rfc1035LabelRules as a7,
18779
- NamespaceSelectWidget as a8,
18780
- namespaceRules as a9,
18781
- KeyValue as aA,
18782
- KeyValueAnnotation as aB,
18783
- KeyValueSecret as aC,
18784
- Separator as aD,
18785
- YamlEditorComponent as aE,
18786
- DeleteButton as aF,
18787
- Layout as aG,
18788
- AreaType as aH,
18789
- ImageField as aI,
18790
- ReplicaField as aJ,
18791
- ConditionsField as aK,
18792
- NodeTaintsField as aL,
18793
- PodsField as aM,
18794
- JobsField as aN,
18795
- DataField as aO,
18796
- SecretDataField as aP,
18797
- StartTimeField as aQ,
18798
- ServiceTypeField as aR,
18799
- ClusterIpField as aS,
18800
- SessionAffinityField as aT,
18801
- ServicePodsField as aU,
18802
- IngressRulesTableTabField as aV,
18803
- EventsTableTabField as aW,
18804
- NamespaceField as aX,
18805
- AgeField as aY,
18806
- LabelsField as aZ,
18807
- AnnotationsField as a_,
18808
- KeyValueListWidget as aa,
18809
- MetadataForm as ab,
18810
- PageShow as ac,
18811
- Time as ad,
18812
- ConditionsTable as ae,
18813
- FormErrorAlert as af,
18814
- PodContainersTable as ag,
18815
- WorkloadDropdown as ah,
18816
- ReplicasDropdown as ai,
18817
- PodDropdown as aj,
18818
- CreateButton as ak,
18819
- ImageNames as al,
18820
- ResourceList as am,
18821
- ResourceShow as an,
18822
- ResourceForm as ao,
18823
- ResourceCRUD as ap,
18824
- WorkloadPodsTable as aq,
18825
- CronJobDropdown as ar,
18826
- K8sDropdown as as,
18827
- EditLabelDropdownMenuItem as at,
18828
- EditAnnotationDropdownMenuItem as au,
18829
- EditNodeTaintDropdownMenuItem as av,
18830
- ResourceUsageBar as aw,
18831
- WorkloadReplicasForm as ax,
18832
- WorkloadReplicas as ay,
18833
- CronjobJobsTable as az,
18782
+ useSubmitForm as a1,
18783
+ index as a2,
18784
+ WidgetErrorContent as a3,
18785
+ Breadcrumb as a4,
18786
+ NameInputWidget as a5,
18787
+ dnsSubDomainRules as a6,
18788
+ rfc1123LabelRules as a7,
18789
+ rfc1035LabelRules as a8,
18790
+ NamespaceSelectWidget as a9,
18791
+ CronjobJobsTable as aA,
18792
+ KeyValue as aB,
18793
+ KeyValueAnnotation as aC,
18794
+ KeyValueSecret as aD,
18795
+ Separator as aE,
18796
+ YamlEditorComponent as aF,
18797
+ DeleteButton as aG,
18798
+ Layout as aH,
18799
+ AreaType as aI,
18800
+ ImageField as aJ,
18801
+ ReplicaField as aK,
18802
+ ConditionsField as aL,
18803
+ NodeTaintsField as aM,
18804
+ PodsField as aN,
18805
+ JobsField as aO,
18806
+ DataField as aP,
18807
+ SecretDataField as aQ,
18808
+ StartTimeField as aR,
18809
+ ServiceTypeField as aS,
18810
+ ClusterIpField as aT,
18811
+ SessionAffinityField as aU,
18812
+ ServicePodsField as aV,
18813
+ IngressRulesTableTabField as aW,
18814
+ EventsTableTabField as aX,
18815
+ NamespaceField as aY,
18816
+ AgeField as aZ,
18817
+ LabelsField as a_,
18818
+ namespaceRules as aa,
18819
+ KeyValueListWidget as ab,
18820
+ MetadataForm as ac,
18821
+ PageShow as ad,
18822
+ Time as ae,
18823
+ ConditionsTable as af,
18824
+ FormErrorAlert as ag,
18825
+ PodContainersTable as ah,
18826
+ WorkloadDropdown as ai,
18827
+ ReplicasDropdown as aj,
18828
+ PodDropdown as ak,
18829
+ CreateButton as al,
18830
+ ImageNames as am,
18831
+ ResourceList as an,
18832
+ ResourceShow as ao,
18833
+ ResourceForm as ap,
18834
+ ResourceCRUD as aq,
18835
+ WorkloadPodsTable as ar,
18836
+ CronJobDropdown as as,
18837
+ K8sDropdown as at,
18838
+ EditLabelDropdownMenuItem as au,
18839
+ EditAnnotationDropdownMenuItem as av,
18840
+ EditNodeTaintDropdownMenuItem as aw,
18841
+ ResourceUsageBar as ax,
18842
+ WorkloadReplicasForm as ay,
18843
+ WorkloadReplicas as az,
18834
18844
  useSchema as b,
18835
- Tags as b$,
18836
- ServiceOutClusterAccessField as b0,
18837
- PodSelectorField as b1,
18838
- PortsTableField as b2,
18839
- DurationField as b3,
18840
- StorageClassProvisionerField as b4,
18841
- StorageClassPvField as b5,
18842
- PVCapacityField as b6,
18843
- PVCStorageField as b7,
18844
- PVRefField as b8,
18845
- PVStorageClassField as b9,
18846
- NetworkPolicyEgressRulesGroup as bA,
18847
- StorageClassPvGroup as bB,
18848
- ResourceTableGroup as bC,
18849
- ShowGroupComponent as bD,
18850
- ShowContent as bE,
18851
- DeleteManyButton as bF,
18852
- ListPage as bG,
18853
- StateTag as bH,
18854
- DrawerShow as bI,
18855
- Menu as bJ,
18856
- Table as bK,
18857
- EditButton as bL,
18858
- ReferenceLink as bM,
18859
- ResourceLink as bN,
18860
- NS_STORE_KEY as bO,
18861
- ALL_NS as bP,
18862
- useNamespacesFilter as bQ,
18863
- NamespacesFilter as bR,
18864
- FormModal as bS,
18865
- renderCommonFormFiled as bT,
18866
- RefineFormContent as bU,
18867
- RefineFormPage as bV,
18868
- SchemaStrategy as bW,
18869
- YamlForm as bX,
18870
- useRefineForm as bY,
18871
- ServiceInClusterAccessComponent as bZ,
18872
- ServiceOutClusterAccessComponent as b_,
18873
- PVPhaseField as ba,
18874
- PVVolumeModeField as bb,
18875
- PVAccessModeField as bc,
18876
- PVCPodsField as bd,
18877
- PVCRefField as be,
18878
- PVCSIRefField as bf,
18879
- IsDefaultSCField as bg,
18880
- SCReclaimPolicyField as bh,
18881
- IsSCAllowVolumeExpansionField as bi,
18882
- ResourceTableField as bj,
18883
- EventsTab as bk,
18884
- PodLogTab as bl,
18885
- BasicGroup as bm,
18886
- PodsGroup as bn,
18887
- PodContainersGroup as bo,
18888
- ServicePodsGroup as bp,
18889
- PVCPodsGroup as bq,
18890
- ConditionsGroup as br,
18891
- NodeTaintsGroup as bs,
18892
- SecretDataGroup as bt,
18893
- JobsGroup as bu,
18894
- IngressRulesGroup as bv,
18895
- PodSelectorGroup as bw,
18896
- PortsGroup as bx,
18897
- DataGroup as by,
18898
- NetworkPolicyIngressRulesGroup as bz,
18845
+ ServiceOutClusterAccessComponent as b$,
18846
+ ServiceInnerClusterAccessField as b0,
18847
+ ServiceOutClusterAccessField as b1,
18848
+ PodSelectorField as b2,
18849
+ PortsTableField as b3,
18850
+ DurationField as b4,
18851
+ StorageClassProvisionerField as b5,
18852
+ StorageClassPvField as b6,
18853
+ PVCapacityField as b7,
18854
+ PVCStorageField as b8,
18855
+ PVRefField as b9,
18856
+ NetworkPolicyIngressRulesGroup as bA,
18857
+ NetworkPolicyEgressRulesGroup as bB,
18858
+ StorageClassPvGroup as bC,
18859
+ ResourceTableGroup as bD,
18860
+ ShowGroupComponent as bE,
18861
+ ShowContent as bF,
18862
+ DeleteManyButton as bG,
18863
+ ListPage as bH,
18864
+ StateTag as bI,
18865
+ DrawerShow as bJ,
18866
+ Menu as bK,
18867
+ Table as bL,
18868
+ EditButton as bM,
18869
+ ReferenceLink as bN,
18870
+ ResourceLink as bO,
18871
+ NS_STORE_KEY as bP,
18872
+ ALL_NS as bQ,
18873
+ useNamespacesFilter as bR,
18874
+ NamespacesFilter as bS,
18875
+ FormModal as bT,
18876
+ renderCommonFormFiled as bU,
18877
+ RefineFormContent as bV,
18878
+ RefineFormPage as bW,
18879
+ SchemaStrategy as bX,
18880
+ YamlForm as bY,
18881
+ useRefineForm as bZ,
18882
+ ServiceInClusterAccessComponent as b_,
18883
+ PVStorageClassField as ba,
18884
+ PVPhaseField as bb,
18885
+ PVVolumeModeField as bc,
18886
+ PVAccessModeField as bd,
18887
+ PVCPodsField as be,
18888
+ PVCRefField as bf,
18889
+ PVCSIRefField as bg,
18890
+ IsDefaultSCField as bh,
18891
+ SCReclaimPolicyField as bi,
18892
+ IsSCAllowVolumeExpansionField as bj,
18893
+ ResourceTableField as bk,
18894
+ EventsTab as bl,
18895
+ PodLogTab as bm,
18896
+ BasicGroup as bn,
18897
+ PodsGroup as bo,
18898
+ PodContainersGroup as bp,
18899
+ ServicePodsGroup as bq,
18900
+ PVCPodsGroup as br,
18901
+ ConditionsGroup as bs,
18902
+ NodeTaintsGroup as bt,
18903
+ SecretDataGroup as bu,
18904
+ JobsGroup as bv,
18905
+ IngressRulesGroup as bw,
18906
+ PodSelectorGroup as bx,
18907
+ PortsGroup as by,
18908
+ DataGroup as bz,
18899
18909
  useDeleteModal as c,
18900
- NodeRole as c$,
18901
- TextTags as c0,
18902
- PodLog as c1,
18903
- NetworkPolicyRulesViewer as c2,
18904
- PVVolumeModeDisplay as c3,
18905
- Tabs as c4,
18906
- ResourceSelect as c5,
18907
- PodShellModal as c6,
18908
- PodShell as c7,
18909
- ResourceTable as c8,
18910
- ErrorWrapper as c9,
18911
- PV_INIT_VALUE as cA,
18912
- PVC_INIT_VALUE as cB,
18913
- ResourceState as cC,
18914
- AccessControlAuth as cD,
18915
- Dovetail as cE,
18916
- RESOURCE_GROUP as cF,
18917
- FormContainerType as cG,
18918
- FormType as cH,
18919
- FormMode as cI,
18920
- ComponentContext as cJ,
18921
- GlobalStoreContext as cK,
18922
- ConfigsContext as cL,
18923
- IngressModel as cM,
18924
- NetworkPolicyModel as cN,
18925
- JobModel as cO,
18926
- WorkloadModel as cP,
18927
- WorkloadBaseModel as cQ,
18928
- PodModel as cR,
18929
- PodMetricsModel as cS,
18930
- ResourceModel as cT,
18931
- CronJobModel as cU,
18932
- EventModel as cV,
18933
- DeploymentModel as cW,
18934
- DaemonSetModel as cX,
18935
- StatefulSetModel as cY,
18936
- ServiceTypeEnum as cZ,
18937
- ServiceModel as c_,
18938
- ErrorContentType as ca,
18939
- BASE_INIT_VALUE as cb,
18940
- DEPLOYMENT_INIT_VALUE as cc,
18941
- CRONJOB_INIT_VALUE as cd,
18942
- DAEMONSET_INIT_VALUE as ce,
18943
- JOB_INIT_VALUE as cf,
18944
- STATEFULSET_INIT_VALUE as cg,
18945
- POD_INIT_VALUE as ch,
18946
- SERVICE_CLUSTER_IP_INIT_VALUE as ci,
18947
- SERVICE_NODE_PORT_INIT_VALUE as cj,
18948
- SERVICE_LOAD_BALANCER_INIT_VALUE as ck,
18949
- SERVICE_EXTERNAL_NAME_INIT_VALUE as cl,
18950
- SERVICE_HEADLESS_INIT_VALUE as cm,
18951
- INGRESS_INIT_VALUE as cn,
18952
- NETWORK_POLICY_INIT_VALUE as co,
18953
- CONFIG_MAP_INIT_VALUE as cp,
18954
- SERVER_INSTANCE_INIT_VALUE as cq,
18955
- REDEPLOY_TIMESTAMP_KEY as cr,
18956
- SECRET_OPAQUE_INIT_VALUE as cs,
18957
- SECRET_IMAGE_REPO_INIT_VALUE as ct,
18958
- SECRET_BASIC_AUTH_INIT_VALUE as cu,
18959
- SECRET_SSH_AUTH_INIT_VALUE as cv,
18960
- SECRET_TLS_INIT_VALUE as cw,
18961
- SECRET_CUSTOM_INIT_VALUE as cx,
18962
- NODE_INIT_VALUE as cy,
18963
- STORAGE_CLASS_INIT_VALUE as cz,
18910
+ PodMetricsModel as c$,
18911
+ Tags as c0,
18912
+ TextTags as c1,
18913
+ PodLog as c2,
18914
+ NetworkPolicyRulesViewer as c3,
18915
+ PVVolumeModeDisplay as c4,
18916
+ Tabs as c5,
18917
+ ResourceSelect as c6,
18918
+ PodShellModal as c7,
18919
+ PodShell as c8,
18920
+ ResourceTable as c9,
18921
+ REDEPLOY_TIMESTAMP_KEY as cA,
18922
+ SECRET_OPAQUE_INIT_VALUE as cB,
18923
+ SECRET_IMAGE_REPO_INIT_VALUE as cC,
18924
+ SECRET_BASIC_AUTH_INIT_VALUE as cD,
18925
+ SECRET_SSH_AUTH_INIT_VALUE as cE,
18926
+ SECRET_TLS_INIT_VALUE as cF,
18927
+ SECRET_CUSTOM_INIT_VALUE as cG,
18928
+ NODE_INIT_VALUE as cH,
18929
+ STORAGE_CLASS_INIT_VALUE as cI,
18930
+ PV_INIT_VALUE as cJ,
18931
+ PVC_INIT_VALUE as cK,
18932
+ ResourceState as cL,
18933
+ AccessControlAuth as cM,
18934
+ Dovetail as cN,
18935
+ RESOURCE_GROUP as cO,
18936
+ FormContainerType as cP,
18937
+ FormType as cQ,
18938
+ FormMode as cR,
18939
+ ComponentContext as cS,
18940
+ GlobalStoreContext as cT,
18941
+ ConfigsContext as cU,
18942
+ IngressModel as cV,
18943
+ NetworkPolicyModel as cW,
18944
+ JobModel as cX,
18945
+ WorkloadModel as cY,
18946
+ WorkloadBaseModel as cZ,
18947
+ PodModel as c_,
18948
+ ErrorWrapper as ca,
18949
+ ErrorContentType as cb,
18950
+ EditLabelForm as cc,
18951
+ EditAnnotationForm as cd,
18952
+ NodeTaintEffect as ce,
18953
+ EditNodeTaintForm as cf,
18954
+ TaintEffectTooltip as cg,
18955
+ KeyValueTableFormForm as ch,
18956
+ EditFieldModal as ci,
18957
+ EditField as cj,
18958
+ BASE_INIT_VALUE as ck,
18959
+ DEPLOYMENT_INIT_VALUE as cl,
18960
+ CRONJOB_INIT_VALUE as cm,
18961
+ DAEMONSET_INIT_VALUE as cn,
18962
+ JOB_INIT_VALUE as co,
18963
+ STATEFULSET_INIT_VALUE as cp,
18964
+ POD_INIT_VALUE as cq,
18965
+ SERVICE_CLUSTER_IP_INIT_VALUE as cr,
18966
+ SERVICE_NODE_PORT_INIT_VALUE as cs,
18967
+ SERVICE_LOAD_BALANCER_INIT_VALUE as ct,
18968
+ SERVICE_EXTERNAL_NAME_INIT_VALUE as cu,
18969
+ SERVICE_HEADLESS_INIT_VALUE as cv,
18970
+ INGRESS_INIT_VALUE as cw,
18971
+ NETWORK_POLICY_INIT_VALUE as cx,
18972
+ CONFIG_MAP_INIT_VALUE as cy,
18973
+ SERVER_INSTANCE_INIT_VALUE as cz,
18964
18974
  dovetailRefineI18n as d,
18965
- NodeModel as d0,
18966
- StorageClassModel as d1,
18967
- PersistentVolumeModel as d2,
18968
- PersistentVolumeClaimModel as d3,
18969
- ProviderPlugins as d4,
18970
- ModelPlugin as d5,
18971
- modelPlugin as d6,
18972
- RelationPlugin as d7,
18973
- relationPlugin as d8,
18974
- generateValueFromSchema as d9,
18975
- generateSchemaTypeValue as da,
18976
- resolveRef as db,
18977
- getApiVersion as dc,
18978
- pruneBeforeEdit as dd,
18979
- matchSelector as de,
18975
+ ResourceModel as d0,
18976
+ CronJobModel as d1,
18977
+ EventModel as d2,
18978
+ DeploymentModel as d3,
18979
+ DaemonSetModel as d4,
18980
+ StatefulSetModel as d5,
18981
+ ServiceTypeEnum as d6,
18982
+ ServiceModel as d7,
18983
+ NodeRole as d8,
18984
+ NodeModel as d9,
18985
+ StorageClassModel as da,
18986
+ PersistentVolumeModel as db,
18987
+ PersistentVolumeClaimModel as dc,
18988
+ ProviderPlugins as dd,
18989
+ ModelPlugin as de,
18990
+ modelPlugin as df,
18991
+ RelationPlugin as dg,
18992
+ relationPlugin as dh,
18993
+ generateValueFromSchema as di,
18994
+ generateSchemaTypeValue as dj,
18995
+ resolveRef as dk,
18996
+ getApiVersion as dl,
18997
+ pruneBeforeEdit as dm,
18998
+ matchSelector as dn,
18980
18999
  useDeleteModalOnly as e,
18981
19000
  useFailedModal as f,
18982
19001
  NameSpaceColumnRenderer as g,
@@ -656,6 +656,7 @@ const allow_expand$1 = "Volume expansion";
656
656
  const edit_distribute_storage$1 = "Edit capacity allocation";
657
657
  const edit_distribute_storage_success_toast$1 = "Successfully edited the capacity allocation";
658
658
  const edit_distribute_storage_failed_toast$1 = "Failed to edit the capacity allocation";
659
+ const edit_taint$1 = "Edit taint";
659
660
  const edit_node_taint$1 = "Edit taint";
660
661
  const edit_node_taint_success_toast$1 = "Successfully edited the taint for the node {{name}}";
661
662
  const node_taint_NoSchedule$1 = "NoSchedule";
@@ -673,7 +674,7 @@ const taint_effect_empty_text$1 = "Please select an effect.";
673
674
  const add_label$1 = "Add label";
674
675
  const add_annotation$1 = "Add annotation";
675
676
  const add_taint$1 = "Add taint";
676
- const look_format_requirement$1 = "View taint requirements";
677
+ const look_format_requirement$1 = "View format requirements";
677
678
  const yes$1 = "Yes";
678
679
  const no$1 = "No";
679
680
  const contains$1 = "Contains";
@@ -899,6 +900,7 @@ const dovetail$1 = {
899
900
  edit_distribute_storage: edit_distribute_storage$1,
900
901
  edit_distribute_storage_success_toast: edit_distribute_storage_success_toast$1,
901
902
  edit_distribute_storage_failed_toast: edit_distribute_storage_failed_toast$1,
903
+ edit_taint: edit_taint$1,
902
904
  edit_node_taint: edit_node_taint$1,
903
905
  edit_node_taint_success_toast: edit_node_taint_success_toast$1,
904
906
  node_taint_NoSchedule: node_taint_NoSchedule$1,
@@ -1139,6 +1141,7 @@ const allow_expand = "卷扩容";
1139
1141
  const edit_distribute_storage = "编辑分配量";
1140
1142
  const edit_distribute_storage_success_toast = "编辑分配量成功";
1141
1143
  const edit_distribute_storage_failed_toast = "编辑分配量失败";
1144
+ const edit_taint = "编辑污点";
1142
1145
  const edit_node_taint = "编辑污点";
1143
1146
  const edit_node_taint_success_toast = "编辑节点 {{name}} 的污点成功";
1144
1147
  const node_taint_NoSchedule = "仅阻止调度";
@@ -1381,6 +1384,7 @@ const dovetail = {
1381
1384
  edit_distribute_storage,
1382
1385
  edit_distribute_storage_success_toast,
1383
1386
  edit_distribute_storage_failed_toast,
1387
+ edit_taint,
1384
1388
  edit_node_taint,
1385
1389
  edit_node_taint_success_toast,
1386
1390
  node_taint_NoSchedule,
@@ -11461,6 +11465,12 @@ function _KeyValueTableFormForm(props, ref) {
11461
11465
  const KeyValueTableFormForm = React.forwardRef(_KeyValueTableFormForm);
11462
11466
  const EditNodeTaintForm_cgov7z = "";
11463
11467
  const UlStyle = "u19jcs7t";
11468
+ var NodeTaintEffect = /* @__PURE__ */ ((NodeTaintEffect2) => {
11469
+ NodeTaintEffect2["NoSchedule"] = "NoSchedule";
11470
+ NodeTaintEffect2["PreferNoSchedule"] = "PreferNoSchedule";
11471
+ NodeTaintEffect2["NoExecute"] = "NoExecute";
11472
+ return NodeTaintEffect2;
11473
+ })(NodeTaintEffect || {});
11464
11474
  const EditNodeTaintForm = React.forwardRef(function EditNodeTaintForm2(props, ref) {
11465
11475
  const {
11466
11476
  nodeModel
@@ -12699,7 +12709,7 @@ const PodLogTab = (i18n2) => ({
12699
12709
  ]
12700
12710
  });
12701
12711
  const NetworkPolicyRulesViewer_r6jity = "";
12702
- const MonacoYamlEditor$1 = React.lazy(() => Promise.resolve().then(() => require("./MonacoYamlEditor-63a619ee.cjs")));
12712
+ const MonacoYamlEditor$1 = React.lazy(() => Promise.resolve().then(() => require("./MonacoYamlEditor-8776494e.cjs")));
12703
12713
  const EditorStyle$1 = "e1cjl2b8";
12704
12714
  const NetworkPolicyRulesViewer = ({
12705
12715
  ingressOrEgress,
@@ -16123,7 +16133,7 @@ const PlainCodeStyle = "pqch97v";
16123
16133
  const ErrorMsgStyle = "eh2qjnl";
16124
16134
  const ErrorWrapperStyle = "e19q2bnp";
16125
16135
  const YamlEditorStyle = "y16u5v3w";
16126
- const MonacoYamlEditor = React.lazy(() => Promise.resolve().then(() => require("./MonacoYamlEditor-63a619ee.cjs")));
16136
+ const MonacoYamlEditor = React.lazy(() => Promise.resolve().then(() => require("./MonacoYamlEditor-8776494e.cjs")));
16127
16137
  const MonacoYamlDiffEditor = React.lazy(() => Promise.resolve().then(() => require("./MonacoYamlDiffEditor-7a07db88.cjs")));
16128
16138
  const YamlEditorComponent = React.forwardRef(
16129
16139
  function YamlEditorComponent2(props, ref) {
@@ -18792,9 +18802,14 @@ exports.DrawerShow = DrawerShow;
18792
18802
  exports.DurationColumnRenderer = DurationColumnRenderer;
18793
18803
  exports.DurationField = DurationField;
18794
18804
  exports.EditAnnotationDropdownMenuItem = EditAnnotationDropdownMenuItem;
18805
+ exports.EditAnnotationForm = EditAnnotationForm;
18795
18806
  exports.EditButton = EditButton;
18807
+ exports.EditField = EditField;
18808
+ exports.EditFieldModal = EditFieldModal;
18796
18809
  exports.EditLabelDropdownMenuItem = EditLabelDropdownMenuItem;
18810
+ exports.EditLabelForm = EditLabelForm;
18797
18811
  exports.EditNodeTaintDropdownMenuItem = EditNodeTaintDropdownMenuItem;
18812
+ exports.EditNodeTaintForm = EditNodeTaintForm;
18798
18813
  exports.ErrorContentType = ErrorContentType;
18799
18814
  exports.ErrorWrapper = ErrorWrapper;
18800
18815
  exports.EventModel = EventModel;
@@ -18828,6 +18843,7 @@ exports.KeyValue = KeyValue;
18828
18843
  exports.KeyValueAnnotation = KeyValueAnnotation;
18829
18844
  exports.KeyValueListWidget = KeyValueListWidget;
18830
18845
  exports.KeyValueSecret = KeyValueSecret;
18846
+ exports.KeyValueTableFormForm = KeyValueTableFormForm;
18831
18847
  exports.LabelsField = LabelsField;
18832
18848
  exports.Layout = Layout;
18833
18849
  exports.ListPage = ListPage;
@@ -18850,6 +18866,7 @@ exports.NetworkPolicyRulesViewer = NetworkPolicyRulesViewer;
18850
18866
  exports.NodeModel = NodeModel;
18851
18867
  exports.NodeNameColumnRenderer = NodeNameColumnRenderer;
18852
18868
  exports.NodeRole = NodeRole;
18869
+ exports.NodeTaintEffect = NodeTaintEffect;
18853
18870
  exports.NodeTaintsField = NodeTaintsField;
18854
18871
  exports.NodeTaintsGroup = NodeTaintsGroup;
18855
18872
  exports.POD_INIT_VALUE = POD_INIT_VALUE;
@@ -18971,6 +18988,7 @@ exports.StorageClassPvGroup = StorageClassPvGroup;
18971
18988
  exports.Table = Table;
18972
18989
  exports.Tabs = Tabs;
18973
18990
  exports.Tags = Tags;
18991
+ exports.TaintEffectTooltip = TaintEffectTooltip;
18974
18992
  exports.TextTags = TextTags;
18975
18993
  exports.Time = Time;
18976
18994
  exports.WidgetErrorContent = WidgetErrorContent;
@@ -19015,3 +19033,4 @@ exports.useNamespacesFilter = useNamespacesFilter;
19015
19033
  exports.useOpenForm = useOpenForm;
19016
19034
  exports.useRefineForm = useRefineForm;
19017
19035
  exports.useSchema = useSchema;
19036
+ exports.useSubmitForm = useSubmitForm;
@@ -203,6 +203,7 @@ declare const _default: {
203
203
  edit_distribute_storage: string;
204
204
  edit_distribute_storage_success_toast: string;
205
205
  edit_distribute_storage_failed_toast: string;
206
+ edit_taint: string;
206
207
  edit_node_taint: string;
207
208
  edit_node_taint_success_toast: string;
208
209
  node_taint_NoSchedule: string;
@@ -200,6 +200,7 @@ declare const _default: {
200
200
  edit_distribute_storage: string;
201
201
  edit_distribute_storage_success_toast: string;
202
202
  edit_distribute_storage_failed_toast: string;
203
+ edit_taint: string;
203
204
  edit_node_taint: string;
204
205
  edit_node_taint_success_toast: string;
205
206
  node_taint_NoSchedule: string;
package/dist/refine.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const refine = require("./index-d6b404b9.cjs");
3
+ const refine = require("./index-89b310cd.cjs");
4
4
  require("./common-1eb43414.cjs");
5
5
  require("@cloudtower/eagle");
6
6
  require("@refinedev/core");
@@ -56,9 +56,14 @@ exports.DrawerShow = refine.DrawerShow;
56
56
  exports.DurationColumnRenderer = refine.DurationColumnRenderer;
57
57
  exports.DurationField = refine.DurationField;
58
58
  exports.EditAnnotationDropdownMenuItem = refine.EditAnnotationDropdownMenuItem;
59
+ exports.EditAnnotationForm = refine.EditAnnotationForm;
59
60
  exports.EditButton = refine.EditButton;
61
+ exports.EditField = refine.EditField;
62
+ exports.EditFieldModal = refine.EditFieldModal;
60
63
  exports.EditLabelDropdownMenuItem = refine.EditLabelDropdownMenuItem;
64
+ exports.EditLabelForm = refine.EditLabelForm;
61
65
  exports.EditNodeTaintDropdownMenuItem = refine.EditNodeTaintDropdownMenuItem;
66
+ exports.EditNodeTaintForm = refine.EditNodeTaintForm;
62
67
  exports.ErrorContent = refine.WidgetErrorContent;
63
68
  exports.ErrorContentType = refine.ErrorContentType;
64
69
  exports.ErrorWrapper = refine.ErrorWrapper;
@@ -93,6 +98,7 @@ exports.KeyValue = refine.KeyValue;
93
98
  exports.KeyValueAnnotation = refine.KeyValueAnnotation;
94
99
  exports.KeyValueListWidget = refine.KeyValueListWidget;
95
100
  exports.KeyValueSecret = refine.KeyValueSecret;
101
+ exports.KeyValueTableFormForm = refine.KeyValueTableFormForm;
96
102
  exports.LabelsField = refine.LabelsField;
97
103
  exports.Layout = refine.Layout;
98
104
  exports.ListPage = refine.ListPage;
@@ -115,6 +121,7 @@ exports.NetworkPolicyRulesViewer = refine.NetworkPolicyRulesViewer;
115
121
  exports.NodeModel = refine.NodeModel;
116
122
  exports.NodeNameColumnRenderer = refine.NodeNameColumnRenderer;
117
123
  exports.NodeRole = refine.NodeRole;
124
+ exports.NodeTaintEffect = refine.NodeTaintEffect;
118
125
  exports.NodeTaintsField = refine.NodeTaintsField;
119
126
  exports.NodeTaintsGroup = refine.NodeTaintsGroup;
120
127
  exports.POD_INIT_VALUE = refine.POD_INIT_VALUE;
@@ -236,6 +243,7 @@ exports.StorageClassPvGroup = refine.StorageClassPvGroup;
236
243
  exports.Table = refine.Table;
237
244
  exports.Tabs = refine.Tabs;
238
245
  exports.Tags = refine.Tags;
246
+ exports.TaintEffectTooltip = refine.TaintEffectTooltip;
239
247
  exports.TextTags = refine.TextTags;
240
248
  exports.Time = refine.Time;
241
249
  exports.ValueDisplay = refine.index;
@@ -278,3 +286,4 @@ exports.useNamespacesFilter = refine.useNamespacesFilter;
278
286
  exports.useOpenForm = refine.useOpenForm;
279
287
  exports.useRefineForm = refine.useRefineForm;
280
288
  exports.useSchema = refine.useSchema;
289
+ exports.useSubmitForm = refine.useSubmitForm;
package/dist/refine.js CHANGED
@@ -1,4 +1,4 @@
1
- import { bP, cD, A, aY, a_, aH, cb, bm, a3, cp, cd, aS, U, C, k, cJ, aK, br, ae, cL, ak, ar, cU, az, ce, cc, cX, aO, by, x, aF, bF, cW, cE, bI, D, b3, au, bL, at, av, a2, ca, c9, cV, bk, aW, cG, af, bS, cI, cH, cK, cn, aI, al, t, s, cM, I, bv, aV, v, O, bg, bi, cf, cO, aN, bu, as, aA, aB, aa, aC, aZ, aG, bG, bJ, ab, d5, co, cy, bO, N, a4, g, aX, a8, bR, bA, bz, cN, c2, d0, i, c$, aL, bs, ch, M, bc, bd, bq, J, be, K, bf, E, b7, cB, B, b6, H, ba, F, b8, G, b9, L, c3, bb, cA, ac, d3, d2, P, bo, w, ag, aj, c1, bl, cS, cR, b1, bw, c7, c6, q, aM, bn, y, bx, b2, d4, z, cr, cF, bM, bU, bV, d7, aJ, R, ai, ap, ao, bN, am, cT, c5, an, cC, c8, bj, bC, aw, j, T, Q, bh, cu, cx, ct, cs, cv, cw, cq, ci, cl, cm, ck, cj, cg, cz, bW, aP, bt, aD, n, bZ, m, a$, c_, p, b_, b0, o, aU, bp, l, cZ, aR, aT, bE, bD, aQ, S, bH, cY, d1, b4, b5, bB, bK, c4, b$, c0, ad, a1, cQ, ah, W, cP, aq, ay, ax, h, aE, bX, V, a5, d, da, d9, dc, de, d6, a9, dd, d8, bT, db, a7, a6, r, a, c, e, Z, X, _, f, $, u, bQ, a0, bY, b } from "./index-64410c76.js";
1
+ import { bQ, cM, A, aZ, a$, aI, ck, bn, a4, cy, cm, aT, U, C, k, cS, aL, bs, af, cU, al, as, d1, aA, cn, cl, d4, aP, bz, x, aG, bG, d3, cN, bJ, D, b4, av, cd, bM, cj, ci, au, cc, aw, cf, a3, cb, ca, d2, bl, aX, cP, ag, bT, cR, cQ, cT, cw, aJ, am, t, s, cV, I, bw, aW, v, O, bh, bj, co, cX, aO, bv, at, aB, aC, ab, aD, ch, a_, aH, bH, bK, ac, de, cx, cH, bP, N, a5, g, aY, a9, bS, bB, bA, cW, c3, d9, i, d8, ce, aM, bt, cq, M, bd, be, br, J, bf, K, bg, E, b8, cK, B, b7, H, bb, F, b9, G, ba, L, c4, bc, cJ, ad, dc, db, P, bp, w, ah, ak, c2, bm, c$, c_, b2, bx, c8, c7, q, aN, bo, y, by, b3, dd, z, cA, cO, bN, bV, bW, dg, aK, R, aj, aq, ap, bO, an, d0, c6, ao, cL, c9, bk, bD, ax, j, T, Q, bi, cD, cG, cC, cB, cE, cF, cz, cr, cu, cv, ct, cs, cp, cI, bX, aQ, bu, aE, n, b_, m, b0, d7, p, b$, b1, o, aV, bq, l, d6, aS, aU, bF, bE, aR, S, bI, d5, da, b5, b6, bC, bL, c5, c0, cg, c1, ae, a2, cZ, ai, W, cY, ar, az, ay, h, aF, bY, V, a6, d, dj, di, dl, dn, df, aa, dm, dh, bU, dk, a8, a7, r, a, c, e, Z, X, _, f, $, u, bR, a0, bZ, b, a1 } from "./index-0a059d2c.js";
2
2
  import "./common-feae5742.js";
3
3
  import "@cloudtower/eagle";
4
4
  import "@refinedev/core";
@@ -17,252 +17,260 @@ import "@patternfly/react-log-viewer";
17
17
  import "react-hook-form";
18
18
  import "antd";
19
19
  export {
20
- bP as ALL_NS,
21
- cD as AccessControlAuth,
20
+ bQ as ALL_NS,
21
+ cM as AccessControlAuth,
22
22
  A as AgeColumnRenderer,
23
- aY as AgeField,
24
- a_ as AnnotationsField,
25
- aH as AreaType,
26
- cb as BASE_INIT_VALUE,
27
- bm as BasicGroup,
28
- a3 as Breadcrumb,
29
- cp as CONFIG_MAP_INIT_VALUE,
30
- cd as CRONJOB_INIT_VALUE,
31
- aS as ClusterIpField,
23
+ aZ as AgeField,
24
+ a$ as AnnotationsField,
25
+ aI as AreaType,
26
+ ck as BASE_INIT_VALUE,
27
+ bn as BasicGroup,
28
+ a4 as Breadcrumb,
29
+ cy as CONFIG_MAP_INIT_VALUE,
30
+ cm as CRONJOB_INIT_VALUE,
31
+ aT as ClusterIpField,
32
32
  U as ColumnKeys,
33
33
  C as CommonSorter,
34
34
  k as CompletionsCountColumnRenderer,
35
- cJ as ComponentContext,
36
- aK as ConditionsField,
37
- br as ConditionsGroup,
38
- ae as ConditionsTable,
39
- cL as ConfigsContext,
40
- ak as CreateButton,
41
- ar as CronJobDropdown,
42
- cU as CronJobModel,
43
- az as CronjobJobsTable,
44
- ce as DAEMONSET_INIT_VALUE,
45
- cc as DEPLOYMENT_INIT_VALUE,
46
- cX as DaemonSetModel,
47
- aO as DataField,
48
- by as DataGroup,
35
+ cS as ComponentContext,
36
+ aL as ConditionsField,
37
+ bs as ConditionsGroup,
38
+ af as ConditionsTable,
39
+ cU as ConfigsContext,
40
+ al as CreateButton,
41
+ as as CronJobDropdown,
42
+ d1 as CronJobModel,
43
+ aA as CronjobJobsTable,
44
+ cn as DAEMONSET_INIT_VALUE,
45
+ cl as DEPLOYMENT_INIT_VALUE,
46
+ d4 as DaemonSetModel,
47
+ aP as DataField,
48
+ bz as DataGroup,
49
49
  x as DataKeysColumnRenderer,
50
- aF as DeleteButton,
51
- bF as DeleteManyButton,
52
- cW as DeploymentModel,
53
- cE as Dovetail,
54
- bI as DrawerShow,
50
+ aG as DeleteButton,
51
+ bG as DeleteManyButton,
52
+ d3 as DeploymentModel,
53
+ cN as Dovetail,
54
+ bJ as DrawerShow,
55
55
  D as DurationColumnRenderer,
56
- b3 as DurationField,
57
- au as EditAnnotationDropdownMenuItem,
58
- bL as EditButton,
59
- at as EditLabelDropdownMenuItem,
60
- av as EditNodeTaintDropdownMenuItem,
61
- a2 as ErrorContent,
62
- ca as ErrorContentType,
63
- c9 as ErrorWrapper,
64
- cV as EventModel,
65
- bk as EventsTab,
66
- aW as EventsTableTabField,
67
- cG as FormContainerType,
68
- af as FormErrorAlert,
69
- bS as FormModal,
70
- cI as FormMode,
71
- cH as FormType,
72
- cK as GlobalStoreContext,
73
- cn as INGRESS_INIT_VALUE,
74
- aI as ImageField,
75
- al as ImageNames,
56
+ b4 as DurationField,
57
+ av as EditAnnotationDropdownMenuItem,
58
+ cd as EditAnnotationForm,
59
+ bM as EditButton,
60
+ cj as EditField,
61
+ ci as EditFieldModal,
62
+ au as EditLabelDropdownMenuItem,
63
+ cc as EditLabelForm,
64
+ aw as EditNodeTaintDropdownMenuItem,
65
+ cf as EditNodeTaintForm,
66
+ a3 as ErrorContent,
67
+ cb as ErrorContentType,
68
+ ca as ErrorWrapper,
69
+ d2 as EventModel,
70
+ bl as EventsTab,
71
+ aX as EventsTableTabField,
72
+ cP as FormContainerType,
73
+ ag as FormErrorAlert,
74
+ bT as FormModal,
75
+ cR as FormMode,
76
+ cQ as FormType,
77
+ cT as GlobalStoreContext,
78
+ cw as INGRESS_INIT_VALUE,
79
+ aJ as ImageField,
80
+ am as ImageNames,
76
81
  t as IngressClassColumnRenderer,
77
82
  s as IngressDefaultBackendColumnRenderer,
78
- cM as IngressModel,
83
+ cV as IngressModel,
79
84
  I as IngressRulesColumnRenderer,
80
- bv as IngressRulesGroup,
81
- aV as IngressRulesTableTabField,
85
+ bw as IngressRulesGroup,
86
+ aW as IngressRulesTableTabField,
82
87
  v as IngressTlsColumnRenderer,
83
88
  O as IsDefaultSCColumnRenderer,
84
- bg as IsDefaultSCField,
85
- bi as IsSCAllowVolumeExpansionField,
86
- cf as JOB_INIT_VALUE,
87
- cO as JobModel,
88
- aN as JobsField,
89
- bu as JobsGroup,
90
- as as K8sDropdown,
91
- aA as KeyValue,
92
- aB as KeyValueAnnotation,
93
- aa as KeyValueListWidget,
94
- aC as KeyValueSecret,
95
- aZ as LabelsField,
96
- aG as Layout,
97
- bG as ListPage,
98
- bJ as Menu,
99
- ab as MetadataForm,
100
- d5 as ModelPlugin,
101
- co as NETWORK_POLICY_INIT_VALUE,
102
- cy as NODE_INIT_VALUE,
103
- bO as NS_STORE_KEY,
89
+ bh as IsDefaultSCField,
90
+ bj as IsSCAllowVolumeExpansionField,
91
+ co as JOB_INIT_VALUE,
92
+ cX as JobModel,
93
+ aO as JobsField,
94
+ bv as JobsGroup,
95
+ at as K8sDropdown,
96
+ aB as KeyValue,
97
+ aC as KeyValueAnnotation,
98
+ ab as KeyValueListWidget,
99
+ aD as KeyValueSecret,
100
+ ch as KeyValueTableFormForm,
101
+ a_ as LabelsField,
102
+ aH as Layout,
103
+ bH as ListPage,
104
+ bK as Menu,
105
+ ac as MetadataForm,
106
+ de as ModelPlugin,
107
+ cx as NETWORK_POLICY_INIT_VALUE,
108
+ cH as NODE_INIT_VALUE,
109
+ bP as NS_STORE_KEY,
104
110
  N as NameColumnRenderer,
105
- a4 as NameInputWidget,
111
+ a5 as NameInputWidget,
106
112
  g as NameSpaceColumnRenderer,
107
- aX as NamespaceField,
108
- a8 as NamespaceSelectWidget,
109
- bR as NamespacesFilter,
110
- bA as NetworkPolicyEgressRulesGroup,
111
- bz as NetworkPolicyIngressRulesGroup,
112
- cN as NetworkPolicyModel,
113
- c2 as NetworkPolicyRulesViewer,
114
- d0 as NodeModel,
113
+ aY as NamespaceField,
114
+ a9 as NamespaceSelectWidget,
115
+ bS as NamespacesFilter,
116
+ bB as NetworkPolicyEgressRulesGroup,
117
+ bA as NetworkPolicyIngressRulesGroup,
118
+ cW as NetworkPolicyModel,
119
+ c3 as NetworkPolicyRulesViewer,
120
+ d9 as NodeModel,
115
121
  i as NodeNameColumnRenderer,
116
- c$ as NodeRole,
117
- aL as NodeTaintsField,
118
- bs as NodeTaintsGroup,
119
- ch as POD_INIT_VALUE,
122
+ d8 as NodeRole,
123
+ ce as NodeTaintEffect,
124
+ aM as NodeTaintsField,
125
+ bt as NodeTaintsGroup,
126
+ cq as POD_INIT_VALUE,
120
127
  M as PVAccessModeColumnRenderer,
121
- bc as PVAccessModeField,
122
- bd as PVCPodsField,
123
- bq as PVCPodsGroup,
128
+ bd as PVAccessModeField,
129
+ be as PVCPodsField,
130
+ br as PVCPodsGroup,
124
131
  J as PVCRefColumnRenderer,
125
- be as PVCRefField,
132
+ bf as PVCRefField,
126
133
  K as PVCSIRefColumnRenderer,
127
- bf as PVCSIRefField,
134
+ bg as PVCSIRefField,
128
135
  E as PVCStorageColumnRenderer,
129
- b7 as PVCStorageField,
130
- cB as PVC_INIT_VALUE,
136
+ b8 as PVCStorageField,
137
+ cK as PVC_INIT_VALUE,
131
138
  B as PVCapacityColumnRenderer,
132
- b6 as PVCapacityField,
139
+ b7 as PVCapacityField,
133
140
  H as PVPhaseColumnRenderer,
134
- ba as PVPhaseField,
141
+ bb as PVPhaseField,
135
142
  F as PVRefColumnRenderer,
136
- b8 as PVRefField,
143
+ b9 as PVRefField,
137
144
  G as PVStorageClassColumnRenderer,
138
- b9 as PVStorageClassField,
145
+ ba as PVStorageClassField,
139
146
  L as PVVolumeModeColumnRenderer,
140
- c3 as PVVolumeModeDisplay,
141
- bb as PVVolumeModeField,
142
- cA as PV_INIT_VALUE,
143
- ac as PageShow,
144
- d3 as PersistentVolumeClaimModel,
145
- d2 as PersistentVolumeModel,
147
+ c4 as PVVolumeModeDisplay,
148
+ bc as PVVolumeModeField,
149
+ cJ as PV_INIT_VALUE,
150
+ ad as PageShow,
151
+ dc as PersistentVolumeClaimModel,
152
+ db as PersistentVolumeModel,
146
153
  P as PlainTextNameColumnRenderer,
147
- bo as PodContainersGroup,
154
+ bp as PodContainersGroup,
148
155
  w as PodContainersNumColumnRenderer,
149
- ag as PodContainersTable,
150
- aj as PodDropdown,
151
- c1 as PodLog,
152
- bl as PodLogTab,
153
- cS as PodMetricsModel,
154
- cR as PodModel,
155
- b1 as PodSelectorField,
156
- bw as PodSelectorGroup,
157
- c7 as PodShell,
158
- c6 as PodShellModal,
156
+ ah as PodContainersTable,
157
+ ak as PodDropdown,
158
+ c2 as PodLog,
159
+ bm as PodLogTab,
160
+ c$ as PodMetricsModel,
161
+ c_ as PodModel,
162
+ b2 as PodSelectorField,
163
+ bx as PodSelectorGroup,
164
+ c8 as PodShell,
165
+ c7 as PodShellModal,
159
166
  q as PodWorkloadColumnRenderer,
160
- aM as PodsField,
161
- bn as PodsGroup,
167
+ aN as PodsField,
168
+ bo as PodsGroup,
162
169
  y as PortMappingColumnRenderer,
163
- bx as PortsGroup,
164
- b2 as PortsTableField,
165
- d4 as ProviderPlugins,
170
+ by as PortsGroup,
171
+ b3 as PortsTableField,
172
+ dd as ProviderPlugins,
166
173
  z as ProvisionerColumnRenderer,
167
- cr as REDEPLOY_TIMESTAMP_KEY,
168
- cF as RESOURCE_GROUP,
169
- bM as ReferenceLink,
170
- bU as RefineFormContent,
171
- bV as RefineFormPage,
172
- d7 as RelationPlugin,
173
- aJ as ReplicaField,
174
+ cA as REDEPLOY_TIMESTAMP_KEY,
175
+ cO as RESOURCE_GROUP,
176
+ bN as ReferenceLink,
177
+ bV as RefineFormContent,
178
+ bW as RefineFormPage,
179
+ dg as RelationPlugin,
180
+ aK as ReplicaField,
174
181
  R as ReplicasColumnRenderer,
175
- ai as ReplicasDropdown,
176
- ap as ResourceCRUD,
177
- ao as ResourceForm,
178
- bN as ResourceLink,
179
- am as ResourceList,
180
- cT as ResourceModel,
181
- c5 as ResourceSelect,
182
- an as ResourceShow,
183
- cC as ResourceState,
184
- c8 as ResourceTable,
185
- bj as ResourceTableField,
186
- bC as ResourceTableGroup,
187
- aw as ResourceUsageBar,
182
+ aj as ReplicasDropdown,
183
+ aq as ResourceCRUD,
184
+ ap as ResourceForm,
185
+ bO as ResourceLink,
186
+ an as ResourceList,
187
+ d0 as ResourceModel,
188
+ c6 as ResourceSelect,
189
+ ao as ResourceShow,
190
+ cL as ResourceState,
191
+ c9 as ResourceTable,
192
+ bk as ResourceTableField,
193
+ bD as ResourceTableGroup,
194
+ ax as ResourceUsageBar,
188
195
  j as RestartCountColumnRenderer,
189
196
  T as SCAllowExpandColumnRenderer,
190
197
  Q as SCReclaimPolicyColumnRenderer,
191
- bh as SCReclaimPolicyField,
192
- cu as SECRET_BASIC_AUTH_INIT_VALUE,
193
- cx as SECRET_CUSTOM_INIT_VALUE,
194
- ct as SECRET_IMAGE_REPO_INIT_VALUE,
195
- cs as SECRET_OPAQUE_INIT_VALUE,
196
- cv as SECRET_SSH_AUTH_INIT_VALUE,
197
- cw as SECRET_TLS_INIT_VALUE,
198
- cq as SERVER_INSTANCE_INIT_VALUE,
199
- ci as SERVICE_CLUSTER_IP_INIT_VALUE,
200
- cl as SERVICE_EXTERNAL_NAME_INIT_VALUE,
201
- cm as SERVICE_HEADLESS_INIT_VALUE,
202
- ck as SERVICE_LOAD_BALANCER_INIT_VALUE,
203
- cj as SERVICE_NODE_PORT_INIT_VALUE,
204
- cg as STATEFULSET_INIT_VALUE,
205
- cz as STORAGE_CLASS_INIT_VALUE,
206
- bW as SchemaStrategy,
207
- aP as SecretDataField,
208
- bt as SecretDataGroup,
209
- aD as Separator,
198
+ bi as SCReclaimPolicyField,
199
+ cD as SECRET_BASIC_AUTH_INIT_VALUE,
200
+ cG as SECRET_CUSTOM_INIT_VALUE,
201
+ cC as SECRET_IMAGE_REPO_INIT_VALUE,
202
+ cB as SECRET_OPAQUE_INIT_VALUE,
203
+ cE as SECRET_SSH_AUTH_INIT_VALUE,
204
+ cF as SECRET_TLS_INIT_VALUE,
205
+ cz as SERVER_INSTANCE_INIT_VALUE,
206
+ cr as SERVICE_CLUSTER_IP_INIT_VALUE,
207
+ cu as SERVICE_EXTERNAL_NAME_INIT_VALUE,
208
+ cv as SERVICE_HEADLESS_INIT_VALUE,
209
+ ct as SERVICE_LOAD_BALANCER_INIT_VALUE,
210
+ cs as SERVICE_NODE_PORT_INIT_VALUE,
211
+ cp as STATEFULSET_INIT_VALUE,
212
+ cI as STORAGE_CLASS_INIT_VALUE,
213
+ bX as SchemaStrategy,
214
+ aQ as SecretDataField,
215
+ bu as SecretDataGroup,
216
+ aE as Separator,
210
217
  n as ServiceInClusterAccessColumnRenderer,
211
- bZ as ServiceInClusterAccessComponent,
218
+ b_ as ServiceInClusterAccessComponent,
212
219
  m as ServiceInClusterAccessTitle,
213
- a$ as ServiceInnerClusterAccessField,
214
- c_ as ServiceModel,
220
+ b0 as ServiceInnerClusterAccessField,
221
+ d7 as ServiceModel,
215
222
  p as ServiceOutClusterAccessColumnRenderer,
216
- b_ as ServiceOutClusterAccessComponent,
217
- b0 as ServiceOutClusterAccessField,
223
+ b$ as ServiceOutClusterAccessComponent,
224
+ b1 as ServiceOutClusterAccessField,
218
225
  o as ServiceOutClusterAccessTitle,
219
- aU as ServicePodsField,
220
- bp as ServicePodsGroup,
226
+ aV as ServicePodsField,
227
+ bq as ServicePodsGroup,
221
228
  l as ServiceTypeColumnRenderer,
222
- cZ as ServiceTypeEnum,
223
- aR as ServiceTypeField,
224
- aT as SessionAffinityField,
225
- bE as ShowContent,
226
- bD as ShowGroupComponent,
227
- aQ as StartTimeField,
229
+ d6 as ServiceTypeEnum,
230
+ aS as ServiceTypeField,
231
+ aU as SessionAffinityField,
232
+ bF as ShowContent,
233
+ bE as ShowGroupComponent,
234
+ aR as StartTimeField,
228
235
  S as StateDisplayColumnRenderer,
229
- bH as StateTag,
230
- cY as StatefulSetModel,
231
- d1 as StorageClassModel,
232
- b4 as StorageClassProvisionerField,
233
- b5 as StorageClassPvField,
234
- bB as StorageClassPvGroup,
235
- bK as Table,
236
- c4 as Tabs,
237
- b$ as Tags,
238
- c0 as TextTags,
239
- ad as Time,
240
- a1 as ValueDisplay,
241
- cQ as WorkloadBaseModel,
242
- ah as WorkloadDropdown,
236
+ bI as StateTag,
237
+ d5 as StatefulSetModel,
238
+ da as StorageClassModel,
239
+ b5 as StorageClassProvisionerField,
240
+ b6 as StorageClassPvField,
241
+ bC as StorageClassPvGroup,
242
+ bL as Table,
243
+ c5 as Tabs,
244
+ c0 as Tags,
245
+ cg as TaintEffectTooltip,
246
+ c1 as TextTags,
247
+ ae as Time,
248
+ a2 as ValueDisplay,
249
+ cZ as WorkloadBaseModel,
250
+ ai as WorkloadDropdown,
243
251
  W as WorkloadImageColumnRenderer,
244
- cP as WorkloadModel,
245
- aq as WorkloadPodsTable,
246
- ay as WorkloadReplicas,
247
- ax as WorkloadReplicasForm,
252
+ cY as WorkloadModel,
253
+ ar as WorkloadPodsTable,
254
+ az as WorkloadReplicas,
255
+ ay as WorkloadReplicasForm,
248
256
  h as WorkloadRestartsColumnRenderer,
249
- aE as YamlEditorComponent,
250
- bX as YamlForm,
257
+ aF as YamlEditorComponent,
258
+ bY as YamlForm,
251
259
  V as addDefaultRenderToColumns,
252
- a5 as dnsSubDomainRules,
260
+ a6 as dnsSubDomainRules,
253
261
  d as dovetailRefineI18n,
254
- da as generateSchemaTypeValue,
255
- d9 as generateValueFromSchema,
256
- dc as getApiVersion,
257
- de as matchSelector,
258
- d6 as modelPlugin,
259
- a9 as namespaceRules,
260
- dd as pruneBeforeEdit,
261
- d8 as relationPlugin,
262
- bT as renderCommonFormFiled,
263
- db as resolveRef,
264
- a7 as rfc1035LabelRules,
265
- a6 as rfc1123LabelRules,
262
+ dj as generateSchemaTypeValue,
263
+ di as generateValueFromSchema,
264
+ dl as getApiVersion,
265
+ dn as matchSelector,
266
+ df as modelPlugin,
267
+ aa as namespaceRules,
268
+ dm as pruneBeforeEdit,
269
+ dh as relationPlugin,
270
+ bU as renderCommonFormFiled,
271
+ dk as resolveRef,
272
+ a8 as rfc1035LabelRules,
273
+ a7 as rfc1123LabelRules,
266
274
  r as routerProvider,
267
275
  a as useApiGroupSchema,
268
276
  c as useDeleteModal,
@@ -273,8 +281,9 @@ export {
273
281
  f as useFailedModal,
274
282
  $ as useGlobalStore,
275
283
  u as useNamespaceRefineFilter,
276
- bQ as useNamespacesFilter,
284
+ bR as useNamespacesFilter,
277
285
  a0 as useOpenForm,
278
- bY as useRefineForm,
279
- b as useSchema
286
+ bZ as useRefineForm,
287
+ b as useSchema,
288
+ a1 as useSubmitForm
280
289
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dovetail-v2/refine",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",