@prorobotech/openapi-k8s-toolkit 1.5.0-alpha.10 → 1.5.0-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/{index-DdLZFpsh.mjs → index-BPDbJet7.mjs} +2 -2
  2. package/dist/{index-DdLZFpsh.mjs.map → index-BPDbJet7.mjs.map} +1 -1
  3. package/dist/{index-d03WWr4w.mjs → index-C1Lorapd.mjs} +183 -108
  4. package/dist/{index-d03WWr4w.mjs.map → index-C1Lorapd.mjs.map} +1 -1
  5. package/dist/openapi-k8s-toolkit.es.js +1 -1
  6. package/dist/openapi-k8s-toolkit.umd.js +180 -105
  7. package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
  8. package/dist/types/components/atoms/CursorPointerTag/CursorPointerTag.d.ts +33 -7
  9. package/dist/types/components/atoms/CursorPointerTagMinContent/CursorPointerTagMinContent.d.ts +33 -7
  10. package/dist/types/components/atoms/CustomSelect/styled.d.ts +1 -1
  11. package/dist/types/components/atoms/UncontrolledSelect/styled.d.ts +1 -1
  12. package/dist/types/components/molecules/BlackholeForm/atoms/ResetedFormItem/ResetedFormItem.d.ts +5 -6
  13. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/styled.d.ts +2 -2
  14. package/dist/types/components/molecules/EnrichedTable/organisms/ClusterListTable/ClusterListTable.d.ts +3 -3
  15. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.d.ts +3 -3
  16. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/TinyButton/TinyButton.d.ts +26 -8
  17. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/TrimmedTags/styled.d.ts +69 -16
  18. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/types.d.ts +4 -0
  19. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/utils.d.ts +3 -3
  20. package/dist/types/components/molecules/MarketPlace/atoms/AddCard/styled.d.ts +40 -4
  21. package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/styled.d.ts +33 -7
  22. package/dist/types/components/molecules/Search/styled.d.ts +71 -20
  23. package/dist/types/components/molecules/Terminals/PodLogsMonaco/styled.d.ts +26 -8
  24. package/dist/types/components/organisms/DynamicComponents/atoms/modals/AnnotationsEditModal/styled.d.ts +2 -2
  25. package/dist/types/components/organisms/DynamicComponents/atoms/modals/TaintsEditModal/styled.d.ts +2 -2
  26. package/dist/types/components/organisms/DynamicComponents/atoms/modals/TolerationsEditModal/styled.d.ts +2 -2
  27. package/dist/types/components/organisms/DynamicComponents/atoms/modals/gridColsValidation.d.ts +30 -0
  28. package/dist/types/components/organisms/DynamicComponents/atoms/modals/gridColsValidation.test.d.ts +1 -0
  29. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/styled.d.ts +26 -8
  30. package/dist/types/components/organisms/DynamicComponents/molecules/DropdownRedirect/styled.d.ts +106 -33
  31. package/package.json +5 -5
@@ -7997,7 +7997,7 @@
7997
7997
  paddingRight: "30px"
7998
7998
  }
7999
7999
  },
8000
- children: error && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", message: "Error while delete", description: error?.response?.data?.message })
8000
+ children: error && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", title: "Error while delete", description: error?.response?.data?.message })
8001
8001
  }
8002
8002
  );
8003
8003
  };
@@ -8039,7 +8039,7 @@
8039
8039
  paddingRight: "30px"
8040
8040
  }
8041
8041
  },
8042
- children: error && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", message: "Error while delete", description: error?.response?.data?.message })
8042
+ children: error && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", title: "Error while delete", description: error?.response?.data?.message })
8043
8043
  }
8044
8044
  );
8045
8045
  };
@@ -8308,16 +8308,16 @@
8308
8308
  cursor: ${({ $isCursorPointer }) => $isCursorPointer ? "pointer" : "default"} !important;
8309
8309
  }
8310
8310
 
8311
- && .ant-select-selector {
8311
+ &&.ant-select {
8312
8312
  background: none;
8313
8313
  cursor: ${({ $isCursorPointer }) => $isCursorPointer ? "pointer" : "default"};
8314
8314
  }
8315
8315
 
8316
- && .ant-select-selector,
8317
- && .ant-select-focused .ant-select-selector,
8318
- && .ant-select-selector:focus,
8319
- && .ant-select-selector:active,
8320
- && .ant-select-open .ant-select-selector {
8316
+ &&.ant-select,
8317
+ &&.ant-select-focused,
8318
+ &&.ant-select:focus,
8319
+ &&.ant-select:active,
8320
+ &&.ant-select-open {
8321
8321
  align-items: flex-start;
8322
8322
  outline: none !important;
8323
8323
  outline-color: transparent !important;
@@ -8326,11 +8326,11 @@
8326
8326
  padding-block: 4px !important;
8327
8327
  }
8328
8328
 
8329
- && .ant-select-selection-overflow {
8329
+ && .ant-select-content {
8330
8330
  gap: 4px;
8331
8331
  }
8332
8332
 
8333
- && .ant-select-selection-overflow-item-rest .ant-select-selection-item {
8333
+ && .ant-select-content-item-rest .ant-select-selection-item {
8334
8334
  background: 0;
8335
8335
  }
8336
8336
 
@@ -8357,16 +8357,16 @@
8357
8357
 
8358
8358
  /* stylelint-disable declaration-no-important */
8359
8359
 
8360
- &&& .ant-select-selector {
8360
+ &&&.ant-select {
8361
8361
  background: none;
8362
8362
  padding-inline-end: ${({ $paddingContainerEnd }) => $paddingContainerEnd || "12px"} !important;
8363
8363
  }
8364
8364
 
8365
- && .ant-select-selector,
8366
- && .ant-select-focused .ant-select-selector,
8367
- && .ant-select-selector:focus,
8368
- && .ant-select-selector:active,
8369
- && .ant-select-open .ant-select-selector {
8365
+ &&.ant-select,
8366
+ &&.ant-select-focused,
8367
+ &&.ant-select:focus,
8368
+ &&.ant-select:active,
8369
+ &&.ant-select-open {
8370
8370
  align-items: flex-start;
8371
8371
  outline: none !important;
8372
8372
  outline-color: transparent !important;
@@ -8375,11 +8375,11 @@
8375
8375
  padding-block: 4px !important;
8376
8376
  }
8377
8377
 
8378
- && .ant-select-selection-overflow {
8378
+ && .ant-select-content {
8379
8379
  gap: 4px;
8380
8380
  }
8381
8381
 
8382
- && .ant-select-selection-overflow-item-rest .ant-select-selection-item {
8382
+ && .ant-select-content-item-rest .ant-select-selection-item {
8383
8383
  background: 0;
8384
8384
  }
8385
8385
 
@@ -8390,7 +8390,7 @@
8390
8390
  padding-inline: 8px;
8391
8391
  }
8392
8392
 
8393
- && .ant-select-multiple .ant-select-selection-overflow-item-suffix {
8393
+ &&.ant-select-multiple .ant-select-content-item-suffix {
8394
8394
  min-height: 22px !important;
8395
8395
  margin-block: 0 !important;
8396
8396
  }
@@ -35284,7 +35284,7 @@
35284
35284
  const PerRequestError = ({ error }) => {
35285
35285
  if (!error) return null;
35286
35286
  const message = typeof error === "string" ? error : error.message;
35287
- return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", message, showIcon: true });
35287
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", title: message, showIcon: true });
35288
35288
  };
35289
35289
 
35290
35290
  const isExternalHref = (href) => {
@@ -36145,10 +36145,10 @@
36145
36145
  return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Flex, { justify: "center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Spin, {}) });
36146
36146
  }
36147
36147
  if (fetchUrlPrepared && fetchedDataError) {
36148
- return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { message: `An error has occurred: ${extractErrorMessage(fetchedDataError)}`, type: "error" });
36148
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { title: `An error has occurred: ${extractErrorMessage(fetchedDataError)}`, type: "error" });
36149
36149
  }
36150
36150
  if (k8sResourceToFetchPrepared && fetchedDataSocketError) {
36151
- return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { message: `An error has occurred: ${extractErrorMessage(fetchedDataSocketError)}`, type: "error" });
36151
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { title: `An error has occurred: ${extractErrorMessage(fetchedDataSocketError)}`, type: "error" });
36152
36152
  }
36153
36153
  const dataFromOneOfHooks = fetchedData || fetchedDataSocket || {};
36154
36154
  const items = Array.isArray(pathToItems) ? _$1.get(dataFromOneOfHooks || {}, pathToItems) : jp.query(dataFromOneOfHooks || {}, `$${pathToItems}`)[0];
@@ -44083,6 +44083,7 @@
44083
44083
  };
44084
44084
 
44085
44085
  const NOTIFICATION_KEY = "yaml-data-changed";
44086
+ const DESIGN_NEW_LAYOUT_EDITOR_HEIGHT_OFFSET = 24;
44086
44087
  const YamlEditorSingleton$1 = ({
44087
44088
  theme,
44088
44089
  cluster,
@@ -44105,6 +44106,7 @@
44105
44106
  const [yamlData, setYamlData] = React$1.useState("");
44106
44107
  const [isLoading, setIsLoading] = React$1.useState(false);
44107
44108
  const [error, setError] = React$1.useState();
44109
+ const editorHeight = designNewLayout && !readOnly && designNewLayoutHeight ? Math.max(designNewLayoutHeight - DESIGN_NEW_LAYOUT_EDITOR_HEIGHT_OFFSET, 160) : designNewLayoutHeight;
44108
44110
  const initialPrefillYamlRef = React$1.useRef(null);
44109
44111
  const latestPrefillYamlRef = React$1.useRef(null);
44110
44112
  const firstLoadRef = React$1.useRef(true);
@@ -44160,7 +44162,7 @@
44160
44162
  );
44161
44163
  api.info({
44162
44164
  key: NOTIFICATION_KEY,
44163
- message: "Data changed",
44165
+ title: "Data changed",
44164
44166
  description: "The source data has been updated. Reload to apply the latest changes (will discard your edits).",
44165
44167
  btn,
44166
44168
  placement: "bottomRight",
@@ -44203,7 +44205,7 @@
44203
44205
  setIsLoading(false);
44204
44206
  if (openNotification) {
44205
44207
  api.success({
44206
- message: "Created successfully",
44208
+ title: "Created successfully",
44207
44209
  description: "Entry was created",
44208
44210
  placement: "topRight"
44209
44211
  });
@@ -44221,7 +44223,7 @@
44221
44223
  setIsLoading(false);
44222
44224
  if (openNotification) {
44223
44225
  api.success({
44224
- message: "Updated successfully",
44226
+ title: "Updated successfully",
44225
44227
  description: "Entry was updated",
44226
44228
  placement: "bottomRight"
44227
44229
  });
@@ -44235,12 +44237,12 @@
44235
44237
  };
44236
44238
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
44237
44239
  contextHolder,
44238
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$D.BorderRadiusContainer, { $designNewLayoutHeight: designNewLayoutHeight, $colorBorder: token.colorBorder, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
44240
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$D.BorderRadiusContainer, { $designNewLayoutHeight: editorHeight, $colorBorder: token.colorBorder, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
44239
44241
  Ft$1,
44240
44242
  {
44241
44243
  defaultLanguage: "yaml",
44242
44244
  width: "100%",
44243
- height: designNewLayoutHeight || "75vh",
44245
+ height: editorHeight || "75vh",
44244
44246
  value: yamlData,
44245
44247
  onMount: (editor) => {
44246
44248
  editorRef.current = editor;
@@ -44999,7 +45001,7 @@
44999
45001
  }
45000
45002
  },
45001
45003
  children: [
45002
- error && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", message: "Error while submitting", description: error?.response?.data?.message }),
45004
+ error && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", title: "Error while submitting", description: error?.response?.data?.message }),
45003
45005
  modalDescriptionText && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
45004
45006
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: modalDescriptionTextStyle, children: modalDescriptionText }),
45005
45007
  /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true })
@@ -45056,6 +45058,27 @@
45056
45058
  );
45057
45059
  };
45058
45060
 
45061
+ const ANTD_GRID_TOTAL = 24;
45062
+ const isNumberArray$1 = (value) => Array.isArray(value) && value.every((item) => typeof item === "number");
45063
+ const validateGridCols = (cols, { component, count, columns }) => {
45064
+ if (!isNumberArray$1(cols)) {
45065
+ return {
45066
+ valid: false,
45067
+ message: `[${component}] "cols" must be an array of ${count} numbers (${columns}). Got: ${JSON.stringify(cols)}.`
45068
+ };
45069
+ }
45070
+ const sum = cols.reduce((acc, span) => acc + span, 0);
45071
+ if (cols.length !== count || sum !== ANTD_GRID_TOTAL) {
45072
+ return {
45073
+ valid: false,
45074
+ message: `[${component}] "cols" expects exactly ${count} grid spans summing to ${ANTD_GRID_TOTAL} (${columns}). Got [${cols.join(
45075
+ ", "
45076
+ )}] (length ${cols.length}, sum ${sum}). The modal layout will render incorrectly — fix "cols" in the factory config.`
45077
+ };
45078
+ }
45079
+ return { valid: true };
45080
+ };
45081
+
45059
45082
  const ResetedFormList$3 = styled(antd.Form.List)`
45060
45083
  margin-bottom: 8px;
45061
45084
  `;
@@ -45091,6 +45114,16 @@
45091
45114
  });
45092
45115
  }
45093
45116
  }, [open, form]);
45117
+ React$1.useEffect(() => {
45118
+ const result = validateGridCols(cols, {
45119
+ component: "Taints",
45120
+ count: 4,
45121
+ columns: "Key, Value, Effect, actions"
45122
+ });
45123
+ if (!result.valid) {
45124
+ console.warn(result.message);
45125
+ }
45126
+ }, [cols]);
45094
45127
  const submit = () => {
45095
45128
  form.validateFields().then(() => {
45096
45129
  setIsLoading(true);
@@ -45135,7 +45168,7 @@
45135
45168
  }
45136
45169
  },
45137
45170
  children: [
45138
- error && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", message: "Error while submitting", description: error?.response?.data?.message }),
45171
+ error && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", title: "Error while submitting", description: error?.response?.data?.message }),
45139
45172
  modalDescriptionText && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
45140
45173
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: modalDescriptionTextStyle, children: modalDescriptionText }),
45141
45174
  /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true })
@@ -45243,6 +45276,16 @@
45243
45276
  });
45244
45277
  }
45245
45278
  }, [open, form]);
45279
+ React$1.useEffect(() => {
45280
+ const result = validateGridCols(cols, {
45281
+ component: "Tolerations",
45282
+ count: 5,
45283
+ columns: "Key, Operator, Value, Effect, actions"
45284
+ });
45285
+ if (!result.valid) {
45286
+ console.warn(result.message);
45287
+ }
45288
+ }, [cols]);
45246
45289
  const submit = () => {
45247
45290
  form.validateFields().then(() => {
45248
45291
  setIsLoading(true);
@@ -45288,7 +45331,7 @@
45288
45331
  }
45289
45332
  },
45290
45333
  children: [
45291
- error && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", message: "Error while submitting", description: error?.response?.data?.message }),
45334
+ error && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", title: "Error while submitting", description: error?.response?.data?.message }),
45292
45335
  modalDescriptionText && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
45293
45336
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: modalDescriptionTextStyle, children: modalDescriptionText }),
45294
45337
  /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true })
@@ -45439,6 +45482,16 @@
45439
45482
  });
45440
45483
  }
45441
45484
  }, [open, form]);
45485
+ React$1.useEffect(() => {
45486
+ const result = validateGridCols(cols, {
45487
+ component: "Annotations",
45488
+ count: 3,
45489
+ columns: "Key, Value, actions"
45490
+ });
45491
+ if (!result.valid) {
45492
+ console.warn(result.message);
45493
+ }
45494
+ }, [cols]);
45442
45495
  const submit = () => {
45443
45496
  form.validateFields().then(() => {
45444
45497
  const result = {};
@@ -45486,7 +45539,7 @@
45486
45539
  }
45487
45540
  },
45488
45541
  children: [
45489
- error && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", message: "Error while submitting", description: error?.response?.data?.message }),
45542
+ error && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", title: "Error while submitting", description: error?.response?.data?.message }),
45490
45543
  modalDescriptionText && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
45491
45544
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: modalDescriptionTextStyle, children: modalDescriptionText }),
45492
45545
  /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true })
@@ -45665,7 +45718,7 @@
45665
45718
  const linkPrefixPrepared = linkPrefix ? parseAll({ text: linkPrefix, replaceValues, multiQueryData }) : void 0;
45666
45719
  const openNotificationSuccess = () => {
45667
45720
  api.success({
45668
- message: notificationSuccessMessagePrepared,
45721
+ title: notificationSuccessMessagePrepared,
45669
45722
  description: notificationSuccessMessageDescriptionPrepared,
45670
45723
  placement: "bottomRight"
45671
45724
  });
@@ -45711,7 +45764,7 @@
45711
45764
  setOpen(true);
45712
45765
  },
45713
45766
  icon: /* @__PURE__ */ jsxRuntimeExports.jsx(EditIcon, {}),
45714
- iconPosition: "end",
45767
+ iconPlacement: "end",
45715
45768
  children: "Edit"
45716
45769
  }
45717
45770
  ) })
@@ -45843,7 +45896,7 @@
45843
45896
  setOpen(true);
45844
45897
  },
45845
45898
  icon: /* @__PURE__ */ jsxRuntimeExports.jsx(EditIcon, {}),
45846
- iconPosition: "end",
45899
+ iconPlacement: "end",
45847
45900
  children: "Edit"
45848
45901
  }
45849
45902
  ) })
@@ -46121,7 +46174,7 @@
46121
46174
  const pathToValuePrepared = pathToValue ? parseAll({ text: pathToValue, replaceValues, multiQueryData }) : "no-pathToValue-provided";
46122
46175
  const openNotificationSuccess = () => {
46123
46176
  api.success({
46124
- message: notificationSuccessMessagePrepared,
46177
+ title: notificationSuccessMessagePrepared,
46125
46178
  description: notificationSuccessMessageDescriptionPrepared,
46126
46179
  placement: "bottomRight"
46127
46180
  });
@@ -46333,7 +46386,7 @@
46333
46386
  const pathToValuePrepared = pathToValue ? parseAll({ text: pathToValue, replaceValues, multiQueryData }) : "no-pathToValue-provided";
46334
46387
  const openNotificationSuccess = () => {
46335
46388
  api.success({
46336
- message: notificationSuccessMessagePrepared,
46389
+ title: notificationSuccessMessagePrepared,
46337
46390
  description: notificationSuccessMessageDescriptionPrepared,
46338
46391
  placement: "bottomRight"
46339
46392
  });
@@ -46521,7 +46574,7 @@
46521
46574
  const pathToValuePrepared = pathToValue ? parseAll({ text: pathToValue, replaceValues, multiQueryData }) : "no-pathToValue-provided";
46522
46575
  const openNotificationSuccess = () => {
46523
46576
  api.success({
46524
- message: notificationSuccessMessagePrepared,
46577
+ title: notificationSuccessMessagePrepared,
46525
46578
  description: notificationSuccessMessageDescriptionPrepared,
46526
46579
  placement: "bottomRight"
46527
46580
  });
@@ -47574,7 +47627,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
47574
47627
  ${hiddenCursor}
47575
47628
  `;
47576
47629
  const NotificationOverrides = styled.createGlobalStyle`
47577
- .no-message-notif .ant-notification-notice-message {
47630
+ .no-message-notif .ant-notification-notice-title {
47578
47631
  margin-bottom: 0 !important;
47579
47632
  }
47580
47633
  `;
@@ -47662,8 +47715,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
47662
47715
  if (valueToCopy !== null && valueToCopy !== void 0) {
47663
47716
  await navigator.clipboard.writeText(valueToCopy);
47664
47717
  notificationApi.info({
47665
- // message: `Copied: ${decodedText.substring(0, 5)}...`,
47666
- message: notificationText || "Text copied to clipboard",
47718
+ title: notificationText || "Text copied to clipboard",
47667
47719
  placement: "bottomRight",
47668
47720
  closeIcon: null,
47669
47721
  style: {
@@ -47953,15 +48005,15 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
47953
48005
  return /* @__PURE__ */ jsxRuntimeExports.jsx(PerRequestError, { error: errorToShow });
47954
48006
  }
47955
48007
  if (isPermissionCheckEnabled && (listPermission.isPending || watchPermission.isPending)) {
47956
- return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Flex, { vertical: true, gap: 8, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "info", message: "Checking permissions for events stream...", showIcon: true }) });
48008
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Flex, { vertical: true, gap: 8, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "info", title: "Checking permissions for events stream...", showIcon: true }) });
47957
48009
  }
47958
48010
  if (isPermissionCheckEnabled && (listPermission.isError || watchPermission.isError)) {
47959
48011
  const statusCode = extractStatusCode(listPermission.error) ?? extractStatusCode(watchPermission.error);
47960
48012
  const message = statusCode ? `Failed to check permissions for events stream (${statusCode})` : "Failed to check permissions for events stream";
47961
- return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Flex, { vertical: true, gap: 8, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", message, showIcon: true }) });
48013
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Flex, { vertical: true, gap: 8, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", title: message, showIcon: true }) });
47962
48014
  }
47963
48015
  if (isPermissionCheckEnabled && (listPermission.data?.status?.allowed !== true || watchPermission.data?.status?.allowed !== true)) {
47964
- return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Flex, { vertical: true, gap: 8, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", message: "Access denied (403)", showIcon: true }) });
48016
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Flex, { vertical: true, gap: 8, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", title: "Access denied (403)", showIcon: true }) });
47965
48017
  }
47966
48018
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
47967
48019
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -48369,14 +48421,14 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
48369
48421
  }) : "Success";
48370
48422
  const openNotificationSuccess = () => {
48371
48423
  api.success({
48372
- message: notificationSuccessMessagePrepared,
48424
+ title: notificationSuccessMessagePrepared,
48373
48425
  description: notificationSuccessMessageDescriptionPrepared,
48374
48426
  placement: "bottomRight"
48375
48427
  });
48376
48428
  };
48377
48429
  const openNotificationError = () => {
48378
48430
  api.error({
48379
- message: notificationErrorMessagePrepared,
48431
+ title: notificationErrorMessagePrepared,
48380
48432
  description: notificationErrorMessageDescriptionPrepared,
48381
48433
  placement: "bottomRight"
48382
48434
  });
@@ -48504,14 +48556,14 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
48504
48556
  }) : "Success";
48505
48557
  const openNotificationSuccess = () => {
48506
48558
  api.success({
48507
- message: notificationSuccessMessagePrepared,
48559
+ title: notificationSuccessMessagePrepared,
48508
48560
  description: notificationSuccessMessageDescriptionPrepared,
48509
48561
  placement: "bottomRight"
48510
48562
  });
48511
48563
  };
48512
48564
  const openNotificationError = () => {
48513
48565
  api.error({
48514
- message: notificationErrorMessagePrepared,
48566
+ title: notificationErrorMessagePrepared,
48515
48567
  description: notificationErrorMessageDescriptionPrepared,
48516
48568
  placement: "bottomRight"
48517
48569
  });
@@ -78494,7 +78546,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
78494
78546
  &&.ant-select {
78495
78547
  cursor: pointer;
78496
78548
 
78497
- .ant-select-selector {
78549
+ &.ant-select {
78498
78550
  border: none;
78499
78551
  background: transparent;
78500
78552
  box-shadow: none;
@@ -78503,25 +78555,23 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
78503
78555
  cursor: pointer;
78504
78556
  }
78505
78557
 
78506
- .ant-select-selection-item {
78558
+ .ant-select-content {
78507
78559
  font-size: 20px;
78508
78560
  line-height: 24px;
78509
- padding-inline-end: 24px;
78510
78561
  cursor: pointer;
78511
78562
  }
78512
78563
 
78513
- .ant-select-arrow {
78564
+ .ant-select-suffix {
78514
78565
  font-size: 14px;
78515
- right: 0;
78516
78566
  cursor: pointer;
78517
78567
  color: inherit;
78518
78568
  }
78519
78569
 
78520
- &:hover .ant-select-selector {
78570
+ &:hover {
78521
78571
  border: none;
78522
78572
  }
78523
78573
 
78524
- &.ant-select-focused .ant-select-selector {
78574
+ &.ant-select-focused {
78525
78575
  border: none;
78526
78576
  box-shadow: none;
78527
78577
  }
@@ -78641,7 +78691,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
78641
78691
  tooltip,
78642
78692
  style
78643
78693
  } = data;
78644
- const [messageApi, contextHolder] = antd.message.useMessage();
78694
+ const [notificationApi, contextHolder] = antd.notification.useNotification();
78645
78695
  const { data: multiQueryData, isLoading } = useMultiQuery();
78646
78696
  const partsOfUrl = usePartsOfUrl();
78647
78697
  const { shouldShowError, errorToShow } = useAutoPerRequestError(data);
@@ -78654,13 +78704,22 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
78654
78704
  try {
78655
78705
  if (copyTextPrepared !== null && copyTextPrepared !== void 0 && copyTextPrepared !== "") {
78656
78706
  await navigator.clipboard.writeText(copyTextPrepared);
78657
- messageApi.success(successMessage);
78707
+ notificationApi.success({
78708
+ title: successMessage,
78709
+ placement: "bottomRight"
78710
+ });
78658
78711
  } else {
78659
- messageApi.error(errorMessage);
78712
+ notificationApi.error({
78713
+ title: errorMessage,
78714
+ placement: "bottomRight"
78715
+ });
78660
78716
  }
78661
78717
  } catch (error) {
78662
78718
  console.error("Copy to clipboard failed:", error);
78663
- messageApi.error(errorMessage);
78719
+ notificationApi.error({
78720
+ title: errorMessage,
78721
+ placement: "bottomRight"
78722
+ });
78664
78723
  }
78665
78724
  };
78666
78725
  if (isLoading) {
@@ -78743,7 +78802,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
78743
78802
  const pathToValuePrepared = pathToValue ? parseAll({ text: pathToValue, replaceValues, multiQueryData }) : "no-pathToValue-provided";
78744
78803
  const openNotificationSuccess = () => {
78745
78804
  api.success({
78746
- message: notificationSuccessMessagePrepared,
78805
+ title: notificationSuccessMessagePrepared,
78747
78806
  description: notificationSuccessMessageDescriptionPrepared,
78748
78807
  placement: "bottomRight"
78749
78808
  });
@@ -78858,7 +78917,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
78858
78917
  const pathToValuePrepared = pathToValue ? parseAll({ text: pathToValue, replaceValues, multiQueryData }) : "no-pathToValue-provided";
78859
78918
  const openNotificationSuccess = () => {
78860
78919
  api.success({
78861
- message: notificationSuccessMessagePrepared,
78920
+ title: notificationSuccessMessagePrepared,
78862
78921
  description: notificationSuccessMessageDescriptionPrepared,
78863
78922
  placement: "bottomRight"
78864
78923
  });
@@ -78963,7 +79022,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
78963
79022
  const pathToValuePrepared = pathToValue ? parseAll({ text: pathToValue, replaceValues, multiQueryData }) : "no-pathToValue-provided";
78964
79023
  const openNotificationSuccess = () => {
78965
79024
  api.success({
78966
- message: notificationSuccessMessagePrepared,
79025
+ title: notificationSuccessMessagePrepared,
78967
79026
  description: notificationSuccessMessageDescriptionPrepared,
78968
79027
  placement: "bottomRight"
78969
79028
  });
@@ -79071,7 +79130,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79071
79130
  const pathToValuePrepared = pathToValue ? parseAll({ text: pathToValue, replaceValues, multiQueryData }) : "no-pathToValue-provided";
79072
79131
  const openNotificationSuccess = () => {
79073
79132
  api.success({
79074
- message: notificationSuccessMessagePrepared,
79133
+ title: notificationSuccessMessagePrepared,
79075
79134
  description: notificationSuccessMessageDescriptionPrepared,
79076
79135
  placement: "bottomRight"
79077
79136
  });
@@ -80065,7 +80124,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
80065
80124
  color: token.colorInfoBgHover,
80066
80125
  styles: {
80067
80126
  root: { marginTop: "-35px" },
80068
- body: { padding: 0, borderRadius: 6 }
80127
+ container: { padding: 0, borderRadius: 6 }
80069
80128
  },
80070
80129
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
80071
80130
  Styled$r.GradientBar,
@@ -80680,14 +80739,14 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
80680
80739
  const { drained, failed, skipped } = response.data;
80681
80740
  if (failed.length > 0) {
80682
80741
  notificationApi.warning({
80683
- message: `${drainLabel} partially completed`,
80742
+ title: `${drainLabel} partially completed`,
80684
80743
  description: buildDrainFailureDescription({ drained, failed, skipped }),
80685
80744
  placement: "bottomRight",
80686
80745
  duration: 0
80687
80746
  });
80688
80747
  } else {
80689
80748
  notificationApi.success({
80690
- message: `${drainLabel} successful`,
80749
+ title: `${drainLabel} successful`,
80691
80750
  description: `Evicted ${drained} pod(s), skipped ${skipped}`,
80692
80751
  placement: "bottomRight"
80693
80752
  });
@@ -80807,7 +80866,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
80807
80866
  const showSuccess = (actionLabel) => {
80808
80867
  invalidateMultiQuery();
80809
80868
  notificationApi.success({
80810
- message: `${actionLabel} successful`,
80869
+ title: `${actionLabel} successful`,
80811
80870
  placement: "bottomRight"
80812
80871
  });
80813
80872
  };
@@ -80822,7 +80881,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
80822
80881
  };
80823
80882
  const showError = (actionLabel, error) => {
80824
80883
  notificationApi.error({
80825
- message: `${actionLabel} failed`,
80884
+ title: `${actionLabel} failed`,
80826
80885
  description: getErrorDescription(error),
80827
80886
  placement: "bottomRight"
80828
80887
  });
@@ -81103,7 +81162,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
81103
81162
  {
81104
81163
  type: "error",
81105
81164
  showIcon: true,
81106
- message: "Failed to load kubelet config",
81165
+ title: "Failed to load kubelet config",
81107
81166
  description: error instanceof Error ? error.message : "Unknown error"
81108
81167
  }
81109
81168
  ),
@@ -81170,6 +81229,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
81170
81229
  resourceKind,
81171
81230
  name
81172
81231
  }) => {
81232
+ const { token } = antd.theme.useToken();
81173
81233
  const [selectedKeys, setSelectedKeys] = React$1.useState([]);
81174
81234
  const { data, isLoading, isError, error } = useDirectUnknownResource({
81175
81235
  uri: endpoint,
@@ -81224,7 +81284,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
81224
81284
  {
81225
81285
  type: "error",
81226
81286
  showIcon: true,
81227
- message: "Failed to load resource",
81287
+ title: "Failed to load resource",
81228
81288
  description: error instanceof Error ? error.message : "Unknown error"
81229
81289
  }
81230
81290
  ),
@@ -81248,23 +81308,37 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
81248
81308
  }
81249
81309
  ) }),
81250
81310
  /* @__PURE__ */ jsxRuntimeExports.jsx(
81251
- antd.List,
81311
+ "div",
81252
81312
  {
81253
- size: "small",
81254
- bordered: true,
81255
- dataSource: entries,
81256
- style: { maxHeight: 400, overflow: "auto" },
81257
- renderItem: (entry) => /* @__PURE__ */ jsxRuntimeExports.jsx(antd.List.Item, { style: { padding: "4px 12px" }, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
81258
- antd.Checkbox,
81313
+ role: "list",
81314
+ style: {
81315
+ maxHeight: 400,
81316
+ overflow: "auto",
81317
+ border: `1px solid ${token.colorBorder}`,
81318
+ borderRadius: token.borderRadiusLG
81319
+ },
81320
+ children: entries.map((entry, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
81321
+ "div",
81259
81322
  {
81260
- checked: selectedKeys.includes(entry.key),
81261
- onChange: (e) => handleToggleKey(entry.key, e.target.checked),
81262
- children: [
81263
- entry.key,
81264
- entry.isBinary && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Typography.Text, { type: "secondary", style: { marginLeft: 8 }, children: "(binary)" })
81265
- ]
81266
- }
81267
- ) })
81323
+ role: "listitem",
81324
+ style: {
81325
+ padding: "4px 12px",
81326
+ borderBottom: index === entries.length - 1 ? void 0 : `1px solid ${token.colorSplit}`
81327
+ },
81328
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
81329
+ antd.Checkbox,
81330
+ {
81331
+ checked: selectedKeys.includes(entry.key),
81332
+ onChange: (e) => handleToggleKey(entry.key, e.target.checked),
81333
+ children: [
81334
+ entry.key,
81335
+ entry.isBinary && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Typography.Text, { type: "secondary", style: { marginLeft: 8 }, children: "(binary)" })
81336
+ ]
81337
+ }
81338
+ )
81339
+ },
81340
+ `${entry.isBinary ? "binary" : "data"}:${entry.key}`
81341
+ ))
81268
81342
  }
81269
81343
  )
81270
81344
  ] })
@@ -81503,7 +81577,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
81503
81577
  paddingRight: "30px"
81504
81578
  }
81505
81579
  },
81506
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Space, { direction: "vertical", style: { width: "100%" }, size: "middle", children: [
81580
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Space, { orientation: "vertical", style: { width: "100%" }, size: "middle", children: [
81507
81581
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
81508
81582
  /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Typography.Text, { strong: true, children: "Name" }),
81509
81583
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -83545,7 +83619,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
83545
83619
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.LoadingContainer, { $minHeight: tableProps?.loadingMinHeight, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Spin, {}) });
83546
83620
  }
83547
83621
  if (isError) {
83548
- return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { message: isError, type: "error" });
83622
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { title: isError, type: "error" });
83549
83623
  }
83550
83624
  if (!preparedProps) {
83551
83625
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.LoadingContainer, { $minHeight: tableProps?.loadingMinHeight, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Spin, {}) });
@@ -89199,7 +89273,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
89199
89273
  createNewEntry({ endpoint, body }).then((res) => {
89200
89274
  const resName = res.data?.metadata?.name || name;
89201
89275
  notificationApi.success({
89202
- message: `${kind} "${resName}" created successfully`,
89276
+ title: `${kind} "${resName}" created successfully`,
89203
89277
  placement: "bottomRight"
89204
89278
  });
89205
89279
  setIsLoading(false);
@@ -89219,7 +89293,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
89219
89293
  updateEntry({ endpoint, body }).then((res) => {
89220
89294
  const resName = res.data?.metadata?.name || name;
89221
89295
  notificationApi.success({
89222
- message: `${kind} "${resName}" updated successfully`,
89296
+ title: `${kind} "${resName}" updated successfully`,
89223
89297
  placement: "bottomRight"
89224
89298
  });
89225
89299
  setIsLoading(false);
@@ -89469,7 +89543,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
89469
89543
  v = scrubLiteralWildcardKeys(form.getFieldsValue(true));
89470
89544
  const formattedPaths = inactiveCleanupPaths.map((path) => prettyFieldPath(path)).join(", ");
89471
89545
  notificationApi.info({
89472
- message: inactiveCleanupPaths.length === 1 ? "Cleared 1 inactive branch field" : `Cleared ${inactiveCleanupPaths.length} inactive branch fields`,
89546
+ title: inactiveCleanupPaths.length === 1 ? "Cleared 1 inactive branch field" : `Cleared ${inactiveCleanupPaths.length} inactive branch fields`,
89473
89547
  description: `Removed ${formattedPaths} to match the new selector.`,
89474
89548
  placement: "bottomRight"
89475
89549
  });
@@ -89924,7 +89998,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
89924
89998
  antd.Alert,
89925
89999
  {
89926
90000
  type: "warning",
89927
- message: "Only the data from the form will be sent. Empty fields will be removed recursively."
90001
+ title: "Only the data from the form will be sent. Empty fields will be removed recursively."
89928
90002
  }
89929
90003
  )
89930
90004
  ] })
@@ -90190,7 +90264,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
90190
90264
  );
90191
90265
  }
90192
90266
  if (isError) {
90193
- return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { message: isError, type: "error" });
90267
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { title: isError, type: "error" });
90194
90268
  }
90195
90269
  if (!preparedData?.properties && !isError) {
90196
90270
  return null;
@@ -90422,7 +90496,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
90422
90496
  mode: "tags",
90423
90497
  placeholder: "Enter tags. Separators: comma and space",
90424
90498
  tokenSeparators: [",", " "],
90425
- dropdownStyle: { display: "none" }
90499
+ styles: { popup: { root: { display: "none" } } }
90426
90500
  }
90427
90501
  ) }),
90428
90502
  /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Form.Item, { label: "Disabled", name: "disabled", children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Switch, {}) }),
@@ -90781,11 +90855,11 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
90781
90855
  refetchInterval: false
90782
90856
  });
90783
90857
  const onCreateSuccess = () => api.success({
90784
- message: "Card created",
90858
+ title: "Card created",
90785
90859
  key: "create-marketplace-success"
90786
90860
  });
90787
90861
  const onUpdateSuccess = () => api.success({
90788
- message: "Card modified",
90862
+ title: "Card modified",
90789
90863
  key: "update-marketplace-success"
90790
90864
  });
90791
90865
  React$1.useEffect(() => {
@@ -90848,7 +90922,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
90848
90922
  antd.Alert,
90849
90923
  {
90850
90924
  description: JSON.stringify(createUpdateError),
90851
- message: "Card was not created",
90925
+ title: "Card was not created",
90852
90926
  onClose: () => setCreateUpdateError(void 0),
90853
90927
  type: "error"
90854
90928
  }
@@ -90857,7 +90931,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
90857
90931
  antd.Alert,
90858
90932
  {
90859
90933
  description: JSON.stringify(deleteError),
90860
- message: "Card was not deleted",
90934
+ title: "Card was not deleted",
90861
90935
  onClose: () => setDeleteError(void 0),
90862
90936
  type: "error"
90863
90937
  }
@@ -91628,15 +91702,16 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
91628
91702
  .ant-select:not(.ant-select-disabled) {
91629
91703
  cursor: pointer;
91630
91704
 
91631
- .ant-select-selector {
91705
+ &.ant-select {
91632
91706
  cursor: pointer;
91633
91707
  }
91634
91708
 
91635
- .ant-select-selection-search-input {
91709
+ .ant-select-input {
91636
91710
  cursor: pointer;
91637
91711
  }
91638
91712
 
91639
- .ant-select-selection-placeholder,
91713
+ .ant-select-placeholder,
91714
+ .ant-select-content,
91640
91715
  .ant-select-selection-item {
91641
91716
  cursor: pointer;
91642
91717
  }
@@ -91903,7 +91978,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
91903
91978
  var dayjs_min = {exports: {}};
91904
91979
 
91905
91980
  (function (module, exports) {
91906
- !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,true),this.parse(t),this.$x=this.$x||t.x||{},this[p]=true;}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return b},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,false)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case "YY":return String(e.$y).slice(-2);case "YYYY":return b.s(e.$y,4,"0");case "M":return a+1;case "MM":return b.s(a+1,2,"0");case "MMM":return h(n.monthsShort,a,c,3);case "MMMM":return h(c,a);case "D":return e.$D;case "DD":return b.s(e.$D,2,"0");case "d":return String(e.$W);case "dd":return h(n.weekdaysMin,e.$W,o,2);case "ddd":return h(n.weekdaysShort,e.$W,o,3);case "dddd":return o[e.$W];case "H":return String(s);case "HH":return b.s(s,2,"0");case "h":return d(1);case "hh":return d(2);case "a":return $(s,u,true);case "A":return $(s,u,false);case "m":return String(u);case "mm":return b.s(u,2,"0");case "s":return String(e.$s);case "ss":return b.s(e.$s,2,"0");case "SSS":return b.s(e.$ms,3,"0");case "Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g;}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,true);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=true),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
91981
+ !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,true),this.parse(t),this.$x=this.$x||t.x||{},this[p]=true;}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return b},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,false)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case "YY":return String(e.$y).slice(-2);case "YYYY":return b.s(e.$y,4,"0");case "M":return a+1;case "MM":return b.s(a+1,2,"0");case "MMM":return h(n.monthsShort,a,c,3);case "MMMM":return h(c,a);case "D":return e.$D;case "DD":return b.s(e.$D,2,"0");case "d":return String(e.$W);case "dd":return h(n.weekdaysMin,e.$W,o,2);case "ddd":return h(n.weekdaysShort,e.$W,o,3);case "dddd":return o[e.$W];case "H":return String(s);case "HH":return b.s(s,2,"0");case "h":return d(1);case "hh":return d(2);case "a":return $(s,u,true);case "A":return $(s,u,false);case "m":return String(u);case "mm":return b.s(u,2,"0");case "s":return String(e.$s);case "ss":return b.s(e.$s,2,"0");case "SSS":return b.s(e.$ms,3,"0");case "Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g;}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,true);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),Y=_.prototype;return O.prototype=Y,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){Y[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=true),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
91907
91982
  } (dayjs_min));
91908
91983
 
91909
91984
  var dayjs_minExports = dayjs_min.exports;
@@ -92013,7 +92088,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
92013
92088
  if (!shownErrorsRef.current.has(errorKey)) {
92014
92089
  shownErrorsRef.current.add(errorKey);
92015
92090
  notificationApi.error({
92016
- message: "Log fetch error",
92091
+ title: "Log fetch error",
92017
92092
  description: data.payload,
92018
92093
  placement: "bottomRight",
92019
92094
  duration: 10,
@@ -92132,7 +92207,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
92132
92207
  }
92133
92208
  }
92134
92209
 
92135
- .ant-select-selection-placeholder {
92210
+ .ant-select-placeholder {
92136
92211
  overflow: hidden;
92137
92212
  text-overflow: ellipsis;
92138
92213
  white-space: nowrap;
@@ -92146,7 +92221,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
92146
92221
  height: 32px;
92147
92222
  }
92148
92223
 
92149
- .ant-select-selection-placeholder {
92224
+ .ant-select-placeholder {
92150
92225
  overflow: hidden;
92151
92226
  text-overflow: ellipsis;
92152
92227
  white-space: nowrap;
@@ -92263,7 +92338,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
92263
92338
  if (sinceTime && !isValidRFC3339(sinceTime) && !warningShownRef.current) {
92264
92339
  warningShownRef.current = true;
92265
92340
  notificationApi.warning({
92266
- message: "Invalid sinceTime format",
92341
+ title: "Invalid sinceTime format",
92267
92342
  description: `Value "${sinceTime}" is not valid RFC3339. Expected format: "2024-01-01T00:00:00Z"`,
92268
92343
  placement: "bottomRight",
92269
92344
  duration: 10,
@@ -94089,7 +94164,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
94089
94164
  const getPlural = kindsData?.kindsWithVersion ? pluralByKind(kindsData?.kindsWithVersion) : void 0;
94090
94165
  const baseFactoriesMapping = navigationDataArr && navigationDataArr.items && navigationDataArr.items.length > 0 ? navigationDataArr.items[0].spec?.baseFactoriesMapping : void 0;
94091
94166
  const listContent = (() => {
94092
- if (fatalError && state.order.length === 0) return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", message: fatalError, showIcon: true });
94167
+ if (fatalError && state.order.length === 0) return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { type: "error", title: fatalError, showIcon: true });
94093
94168
  if (state.order.length > 0) {
94094
94169
  return state.order.map((k) => /* @__PURE__ */ jsxRuntimeExports.jsx(
94095
94170
  EventRow,