@dovetail-v2/refine 0.3.14-alpha.2 → 0.3.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.
@@ -1,3 +1,4 @@
1
1
  export * from './EditLabelForm';
2
2
  export * from './EditAnnotationForm';
3
3
  export * from './NodeTaintEffectSelect';
4
+ export * from './EditNodeTaintForm';
@@ -58,3 +58,5 @@ export * from './PortsConfigForm';
58
58
  export * from './SectionTitle';
59
59
  export * from './EditMetadataForm';
60
60
  export * from './LabelsAndAnnotationsShow';
61
+ export * from './FormErrorAlert';
62
+ export * from './EditField';
@@ -6,5 +6,6 @@ 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';
10
11
  export * from './useRefineFilters';
package/dist/i18n.d.ts CHANGED
@@ -204,6 +204,7 @@ export declare const resources: {
204
204
  edit_distribute_storage: string;
205
205
  edit_distribute_storage_success_toast: string;
206
206
  edit_distribute_storage_failed_toast: string;
207
+ edit_taint: string;
207
208
  edit_node_taint: string;
208
209
  edit_node_taint_success_toast: string;
209
210
  node_taint_NoSchedule: string;
@@ -455,6 +456,7 @@ export declare const resources: {
455
456
  edit_distribute_storage: string;
456
457
  edit_distribute_storage_success_toast: string;
457
458
  edit_distribute_storage_failed_toast: string;
459
+ edit_taint: string;
458
460
  edit_node_taint: string;
459
461
  edit_node_taint_success_toast: string;
460
462
  node_taint_NoSchedule: string;
@@ -201,6 +201,7 @@ declare const _default: {
201
201
  edit_distribute_storage: string;
202
202
  edit_distribute_storage_success_toast: string;
203
203
  edit_distribute_storage_failed_toast: string;
204
+ edit_taint: string;
204
205
  edit_node_taint: string;
205
206
  edit_node_taint_success_toast: string;
206
207
  node_taint_NoSchedule: string;
@@ -199,6 +199,7 @@ declare const _default: {
199
199
  edit_distribute_storage: string;
200
200
  edit_distribute_storage_success_toast: string;
201
201
  edit_distribute_storage_failed_toast: string;
202
+ edit_taint: string;
202
203
  edit_node_taint: string;
203
204
  edit_node_taint_success_toast: string;
204
205
  node_taint_NoSchedule: string;
package/dist/refine.cjs CHANGED
@@ -658,6 +658,7 @@ const allow_expand$1 = "Volume expansion";
658
658
  const edit_distribute_storage$1 = "Edit capacity allocation";
659
659
  const edit_distribute_storage_success_toast$1 = "Successfully edited the capacity allocation";
660
660
  const edit_distribute_storage_failed_toast$1 = "Failed to edit the capacity allocation";
661
+ const edit_taint$1 = "Edit taint";
661
662
  const edit_node_taint$1 = "Edit taint";
662
663
  const edit_node_taint_success_toast$1 = "Successfully edited the taint for the node {{name}}";
663
664
  const node_taint_NoSchedule$1 = "NoSchedule";
@@ -675,7 +676,7 @@ const taint_effect_empty_text$1 = "Please select an effect.";
675
676
  const add_label$1 = "Add label";
676
677
  const add_annotation$1 = "Add annotation";
677
678
  const add_taint$1 = "Add taint";
678
- const look_format_requirement$1 = "View taint requirements";
679
+ const look_format_requirement$1 = "View format requirements";
679
680
  const yes$1 = "Yes";
680
681
  const no$1 = "No";
681
682
  const contains$1 = "Contains";
@@ -908,6 +909,7 @@ const dovetail$1 = {
908
909
  edit_distribute_storage: edit_distribute_storage$1,
909
910
  edit_distribute_storage_success_toast: edit_distribute_storage_success_toast$1,
910
911
  edit_distribute_storage_failed_toast: edit_distribute_storage_failed_toast$1,
912
+ edit_taint: edit_taint$1,
911
913
  edit_node_taint: edit_node_taint$1,
912
914
  edit_node_taint_success_toast: edit_node_taint_success_toast$1,
913
915
  node_taint_NoSchedule: node_taint_NoSchedule$1,
@@ -1156,6 +1158,7 @@ const allow_expand = "卷扩容";
1156
1158
  const edit_distribute_storage = "编辑分配量";
1157
1159
  const edit_distribute_storage_success_toast = "编辑分配量成功";
1158
1160
  const edit_distribute_storage_failed_toast = "编辑分配量失败";
1161
+ const edit_taint = "编辑污点";
1159
1162
  const edit_node_taint = "编辑污点";
1160
1163
  const edit_node_taint_success_toast = "编辑节点 {{name}} 的污点成功";
1161
1164
  const node_taint_NoSchedule = "仅阻止调度";
@@ -1427,6 +1430,7 @@ const dovetail = {
1427
1430
  edit_distribute_storage,
1428
1431
  edit_distribute_storage_success_toast,
1429
1432
  edit_distribute_storage_failed_toast,
1433
+ edit_taint,
1430
1434
  edit_node_taint,
1431
1435
  edit_node_taint_success_toast,
1432
1436
  node_taint_NoSchedule,
@@ -19959,6 +19963,7 @@ exports.EditFieldModal = EditFieldModal;
19959
19963
  exports.EditLabelDropdownMenuItem = EditLabelDropdownMenuItem;
19960
19964
  exports.EditLabelForm = EditLabelForm;
19961
19965
  exports.EditNodeTaintDropdownMenuItem = EditNodeTaintDropdownMenuItem;
19966
+ exports.EditNodeTaintForm = EditNodeTaintForm;
19962
19967
  exports.ErrorContent = WidgetErrorContent;
19963
19968
  exports.ErrorContentType = ErrorContentType;
19964
19969
  exports.ErrorWrapper = ErrorWrapper;
@@ -20158,6 +20163,7 @@ exports.StorageClassPvGroup = StorageClassPvGroup;
20158
20163
  exports.Table = Table;
20159
20164
  exports.Tabs = Tabs;
20160
20165
  exports.Tags = Tags;
20166
+ exports.TaintEffectTooltip = TaintEffectTooltip;
20161
20167
  exports.TextTags = TextTags;
20162
20168
  exports.Time = Time;
20163
20169
  exports.ValidateRfc1035Name = ValidateRfc1035Name;
@@ -20205,6 +20211,7 @@ exports.useOpenForm = useOpenForm;
20205
20211
  exports.useRefineFilters = useRefineFilters;
20206
20212
  exports.useRefineForm = useRefineForm;
20207
20213
  exports.useSchema = useSchema;
20214
+ exports.useSubmitForm = useSubmitForm;
20208
20215
  exports.validateDataKey = validateDataKey;
20209
20216
  exports.validateDnsSubdomainName = validateDnsSubdomainName;
20210
20217
  exports.validateLabelKey = validateLabelKey;
package/dist/refine.js CHANGED
@@ -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";
@@ -889,6 +890,7 @@ const dovetail$1 = {
889
890
  edit_distribute_storage: edit_distribute_storage$1,
890
891
  edit_distribute_storage_success_toast: edit_distribute_storage_success_toast$1,
891
892
  edit_distribute_storage_failed_toast: edit_distribute_storage_failed_toast$1,
893
+ edit_taint: edit_taint$1,
892
894
  edit_node_taint: edit_node_taint$1,
893
895
  edit_node_taint_success_toast: edit_node_taint_success_toast$1,
894
896
  node_taint_NoSchedule: node_taint_NoSchedule$1,
@@ -1137,6 +1139,7 @@ const allow_expand = "卷扩容";
1137
1139
  const edit_distribute_storage = "编辑分配量";
1138
1140
  const edit_distribute_storage_success_toast = "编辑分配量成功";
1139
1141
  const edit_distribute_storage_failed_toast = "编辑分配量失败";
1142
+ const edit_taint = "编辑污点";
1140
1143
  const edit_node_taint = "编辑污点";
1141
1144
  const edit_node_taint_success_toast = "编辑节点 {{name}} 的污点成功";
1142
1145
  const node_taint_NoSchedule = "仅阻止调度";
@@ -1408,6 +1411,7 @@ const dovetail = {
1408
1411
  edit_distribute_storage,
1409
1412
  edit_distribute_storage_success_toast,
1410
1413
  edit_distribute_storage_failed_toast,
1414
+ edit_taint,
1411
1415
  edit_node_taint,
1412
1416
  edit_node_taint_success_toast,
1413
1417
  node_taint_NoSchedule,
@@ -19941,6 +19945,7 @@ export {
19941
19945
  EditLabelDropdownMenuItem,
19942
19946
  EditLabelForm,
19943
19947
  EditNodeTaintDropdownMenuItem,
19948
+ EditNodeTaintForm,
19944
19949
  WidgetErrorContent as ErrorContent,
19945
19950
  ErrorContentType,
19946
19951
  ErrorWrapper,
@@ -20140,6 +20145,7 @@ export {
20140
20145
  Table,
20141
20146
  Tabs,
20142
20147
  Tags,
20148
+ TaintEffectTooltip,
20143
20149
  TextTags,
20144
20150
  Time,
20145
20151
  ValidateRfc1035Name,
@@ -20187,6 +20193,7 @@ export {
20187
20193
  useRefineFilters,
20188
20194
  useRefineForm,
20189
20195
  useSchema,
20196
+ useSubmitForm,
20190
20197
  validateDataKey,
20191
20198
  validateDnsSubdomainName,
20192
20199
  validateLabelKey,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dovetail-v2/refine",
3
- "version": "0.3.14-alpha.2",
3
+ "version": "0.3.14",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",