@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.153 → 0.0.1-alpha.155

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.
@@ -33550,7 +33550,7 @@ const useTheme = () => {
33550
33550
  return useContext(ThemeContext);
33551
33551
  };
33552
33552
 
33553
- const serializeLabels = (input) => {
33553
+ const serializeLabelsWithNoEncoding$1 = (input) => {
33554
33554
  if (typeof input !== "object" || input === null || Array.isArray(input) || Object.getPrototypeOf(input) !== Object.prototype) {
33555
33555
  return "Expected a plain object";
33556
33556
  }
@@ -33558,7 +33558,7 @@ const serializeLabels = (input) => {
33558
33558
  if (!entries.map(([, v]) => v).every((v) => typeof v === "string" || typeof v === "number")) {
33559
33559
  return "All values must be string or number";
33560
33560
  }
33561
- return encodeURIComponent(entries.map(([k, v]) => `${k}=${v}`).join(","));
33561
+ return entries.map(([k, v]) => `${k}=${v}`).join(",");
33562
33562
  };
33563
33563
 
33564
33564
  const EnrichedTable$1 = ({
@@ -33582,8 +33582,8 @@ const EnrichedTable$1 = ({
33582
33582
  fetchUrl,
33583
33583
  pathToItems,
33584
33584
  clusterNamePartOfUrl,
33585
- labelsSelector,
33586
- labelsSelectorFull,
33585
+ labelSelector,
33586
+ labelSelectorFull,
33587
33587
  fieldSelector,
33588
33588
  namespace,
33589
33589
  k8sResource,
@@ -33624,41 +33624,42 @@ const EnrichedTable$1 = ({
33624
33624
  refetchInterval: false
33625
33625
  });
33626
33626
  const fetchUrlPrepared = parseAll({ text: fetchUrl, replaceValues, multiQueryData });
33627
- let labelsSuffix;
33628
- if (labelsSelector) {
33627
+ const sParams = new URLSearchParams();
33628
+ if (labelSelector && Object.keys(labelSelector).length > 0) {
33629
33629
  const parsedObject = Object.fromEntries(
33630
- Object.entries(labelsSelector).map(
33631
- ([key, value]) => [key, parseAll({ text: value, replaceValues, multiQueryData })]
33630
+ Object.entries(labelSelector).map(
33631
+ ([k, v]) => [k, parseAll({ text: v, replaceValues, multiQueryData })]
33632
33632
  )
33633
33633
  );
33634
- const serializedLabels = serializeLabels(parsedObject);
33635
- labelsSuffix = serializeLabels.length > 0 ? `?labelSelector=${serializedLabels}` : void 0;
33634
+ const serializedLabels = serializeLabelsWithNoEncoding$1(parsedObject);
33635
+ if (serializedLabels.length > 0) sParams.set("labelSelector", serializedLabels);
33636
33636
  }
33637
- if (labelsSelectorFull) {
33638
- const value = Array.isArray(labelsSelectorFull.pathToLabels) ? _$1.get(multiQueryData[`req${labelsSelectorFull.reqIndex}`], labelsSelectorFull.pathToLabels) : jp.query(multiQueryData[`req${labelsSelectorFull.reqIndex}`], `$${labelsSelectorFull.pathToLabels}`)[0];
33639
- const serializedLabels = serializeLabels(value);
33640
- labelsSuffix = serializeLabels.length > 0 ? `?labelSelector=${serializedLabels}` : void 0;
33637
+ if (labelSelectorFull) {
33638
+ const root = multiQueryData[`req${labelSelectorFull.reqIndex}`];
33639
+ const value = Array.isArray(labelSelectorFull.pathToLabels) ? _$1.get(root, labelSelectorFull.pathToLabels) : jp.query(root, `$${labelSelectorFull.pathToLabels}`)[0];
33640
+ const serializedLabels = serializeLabelsWithNoEncoding$1(value);
33641
+ if (serializedLabels.length > 0) sParams.set("labelSelector", serializedLabels);
33641
33642
  }
33642
- let fieldSelectorSuffix;
33643
33643
  if (fieldSelector) {
33644
- const preparedFieldSelectorValueText = parseAll({ text: fieldSelector?.parsedText, replaceValues, multiQueryData });
33645
- const preparedFieldSelectorValueTextWithPartsOfUrl = prepareTemplate({
33646
- template: preparedFieldSelectorValueText,
33647
- replaceValues
33648
- });
33649
- const preparedSelector = encodeURIComponent(
33650
- `${fieldSelector.fieldName}=${preparedFieldSelectorValueTextWithPartsOfUrl}`
33644
+ const parsedObject = Object.fromEntries(
33645
+ Object.entries(fieldSelector).map(
33646
+ ([k, v]) => [
33647
+ parseAll({ text: k, replaceValues, multiQueryData }),
33648
+ parseAll({ text: v, replaceValues, multiQueryData })
33649
+ ]
33650
+ )
33651
33651
  );
33652
- const prefix = labelsSelector ? "&fieldSelector=" : "?fieldSelector=";
33653
- fieldSelectorSuffix = `${prefix}${preparedSelector}`;
33652
+ const serializedFields = serializeLabelsWithNoEncoding$1(parsedObject);
33653
+ if (serializedFields.length > 0) sParams.set("fieldSelector", serializedFields);
33654
33654
  }
33655
+ const searchParams = sParams.toString();
33655
33656
  const {
33656
33657
  data: fetchedData,
33657
33658
  isLoading: isFetchedDataLoading,
33658
33659
  error: fetchedDataError
33659
33660
  } = useDirectUnknownResource({
33660
- uri: `${fetchUrlPrepared}${labelsSuffix || ""}${fieldSelectorSuffix || ""}`,
33661
- queryKey: [`${fetchUrlPrepared}${labelsSuffix || ""}${fieldSelectorSuffix || ""}`],
33661
+ uri: `${fetchUrlPrepared}${searchParams ? `?${searchParams}` : ""}`,
33662
+ queryKey: [`${fetchUrlPrepared}${searchParams ? `?${searchParams}` : ""}`],
33662
33663
  isEnabled: !isMultiqueryLoading
33663
33664
  });
33664
33665
  if (isMultiqueryLoading) {
@@ -37039,8 +37040,8 @@ const Events$1 = ({
37039
37040
  pageSize,
37040
37041
  substractHeight,
37041
37042
  limit,
37042
- labelsSelector,
37043
- labelsSelectorFull,
37043
+ labelSelector,
37044
+ labelSelectorFull,
37044
37045
  fieldSelector,
37045
37046
  baseFactoryNamespacedAPIKey,
37046
37047
  baseFactoryClusterSceopedAPIKey,
@@ -37064,28 +37065,32 @@ const Events$1 = ({
37064
37065
  if (limit) {
37065
37066
  params.set("limit", limit.toString());
37066
37067
  }
37067
- if (labelsSelector && Object.keys(labelsSelector).length > 0) {
37068
+ if (labelSelector && Object.keys(labelSelector).length > 0) {
37068
37069
  const parsedObject = Object.fromEntries(
37069
- Object.entries(labelsSelector).map(
37070
+ Object.entries(labelSelector).map(
37070
37071
  ([k, v]) => [k, parseAll({ text: v, replaceValues, multiQueryData })]
37071
37072
  )
37072
37073
  );
37073
37074
  const serializedLabels = serializeLabelsWithNoEncoding(parsedObject);
37074
37075
  if (serializedLabels.length > 0) params.set("labelSelector", serializedLabels);
37075
37076
  }
37076
- if (labelsSelectorFull) {
37077
- const root = multiQueryData[`req${labelsSelectorFull.reqIndex}`];
37078
- const value = Array.isArray(labelsSelectorFull.pathToLabels) ? _$1.get(root, labelsSelectorFull.pathToLabels) : jp.query(root, `$${labelsSelectorFull.pathToLabels}`)[0];
37077
+ if (labelSelectorFull) {
37078
+ const root = multiQueryData[`req${labelSelectorFull.reqIndex}`];
37079
+ const value = Array.isArray(labelSelectorFull.pathToLabels) ? _$1.get(root, labelSelectorFull.pathToLabels) : jp.query(root, `$${labelSelectorFull.pathToLabels}`)[0];
37079
37080
  const serializedLabels = serializeLabelsWithNoEncoding(value);
37080
37081
  if (serializedLabels.length > 0) params.set("labelSelector", serializedLabels);
37081
37082
  }
37082
37083
  if (fieldSelector) {
37083
- const preparedFieldSelectorValueText = parseAll({ text: fieldSelector?.parsedText, replaceValues, multiQueryData });
37084
- const preparedFieldSelectorValueTextWithPartsOfUrl = prepareTemplate({
37085
- template: preparedFieldSelectorValueText,
37086
- replaceValues
37087
- });
37088
- params.set("fieldSelector", `${fieldSelector.fieldName}=${preparedFieldSelectorValueTextWithPartsOfUrl}`);
37084
+ const parsedObject = Object.fromEntries(
37085
+ Object.entries(fieldSelector).map(
37086
+ ([k, v]) => [
37087
+ parseAll({ text: k, replaceValues, multiQueryData }),
37088
+ parseAll({ text: v, replaceValues, multiQueryData })
37089
+ ]
37090
+ )
37091
+ );
37092
+ const serializedFields = serializeLabelsWithNoEncoding(parsedObject);
37093
+ if (serializedFields.length > 0) params.set("fieldSelector", serializedFields);
37089
37094
  }
37090
37095
  const searchParams = params.toString();
37091
37096
  const wsUrlWithParams = `${wsUrlPrepared}${searchParams ? `?${searchParams}` : ""}`;
@@ -45861,11 +45866,20 @@ function parse(src, reviver, options) {
45861
45866
  }
45862
45867
  function stringify(value, replacer, options) {
45863
45868
  let _replacer = null;
45864
- if (Array.isArray(replacer)) {
45869
+ if (typeof replacer === 'function' || Array.isArray(replacer)) {
45865
45870
  _replacer = replacer;
45866
45871
  }
45872
+ else if (options === undefined && replacer) {
45873
+ options = replacer;
45874
+ }
45875
+ if (typeof options === 'string')
45876
+ options = options.length;
45877
+ if (typeof options === 'number') {
45878
+ const indent = Math.round(options);
45879
+ options = indent < 1 ? undefined : indent > 8 ? { indent: 8 } : { indent };
45880
+ }
45867
45881
  if (value === undefined) {
45868
- const { keepUndefined } = {};
45882
+ const { keepUndefined } = options ?? replacer ?? {};
45869
45883
  if (!keepUndefined)
45870
45884
  return undefined;
45871
45885
  }
@@ -45898,7 +45912,14 @@ const YamlEditor = ({ theme: theme$1, currentValues, onChange, editorUri }) => {
45898
45912
  const pendingExternalYamlRef = useRef(null);
45899
45913
  const isApplyingExternalUpdateRef = useRef(false);
45900
45914
  useEffect(() => {
45901
- const next = stringify(currentValues);
45915
+ const next = stringify(currentValues, {
45916
+ // Use literal block scalar for multiline strings
45917
+ blockQuote: "literal",
45918
+ // Preserve line breaks
45919
+ lineWidth: 0,
45920
+ // Use double quotes for strings that need escaping
45921
+ doubleQuotedAsJSON: false
45922
+ });
45902
45923
  if (isFocusedRef.current) {
45903
45924
  pendingExternalYamlRef.current = next ?? "";
45904
45925
  return;
@@ -46023,7 +46044,8 @@ const YamlEditorSingleton = ({
46023
46044
  backlink,
46024
46045
  designNewLayout,
46025
46046
  designNewLayoutHeight,
46026
- openNotification
46047
+ openNotification,
46048
+ readOnly = false
46027
46049
  }) => {
46028
46050
  const { token } = theme.useToken();
46029
46051
  const navigate = useNavigate();
@@ -46092,15 +46114,18 @@ const YamlEditorSingleton = ({
46092
46114
  height: designNewLayoutHeight || "75vh",
46093
46115
  value: yamlData,
46094
46116
  onChange: (value) => {
46095
- setYamlData(value || "");
46117
+ if (!readOnly) {
46118
+ setYamlData(value || "");
46119
+ }
46096
46120
  },
46097
46121
  theme: theme$1 === "dark" ? "vs-dark" : theme$1 === void 0 ? "vs-dark" : "vs",
46098
46122
  options: {
46099
- theme: theme$1 === "dark" ? "vs-dark" : theme$1 === void 0 ? "vs-dark" : "vs"
46123
+ theme: theme$1 === "dark" ? "vs-dark" : theme$1 === void 0 ? "vs-dark" : "vs",
46124
+ readOnly
46100
46125
  }
46101
46126
  }
46102
46127
  ) }),
46103
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$i.ControlsRowContainer, { $bgColor: token.colorPrimaryBg, $designNewLayout: designNewLayout, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { gap: designNewLayout ? 10 : 16, align: "center", children: [
46128
+ !readOnly && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$i.ControlsRowContainer, { $bgColor: token.colorPrimaryBg, $designNewLayout: designNewLayout, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { gap: designNewLayout ? 10 : 16, align: "center", children: [
46104
46129
  /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { type: "primary", onClick: onSubmit, loading: isLoading, children: "Submit" }),
46105
46130
  backlink && /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: () => navigate(backlink), children: "Cancel" })
46106
46131
  ] }) }),
@@ -46758,6 +46783,41 @@ const FormNamespaceInput = ({
46758
46783
  ] });
46759
46784
  };
46760
46785
 
46786
+ const isMultilineString = (value) => {
46787
+ if (!value || typeof value !== "string") {
46788
+ return false;
46789
+ }
46790
+ if (value.includes("\n")) {
46791
+ return true;
46792
+ }
46793
+ if (value.length > 80) {
46794
+ return true;
46795
+ }
46796
+ const multilineIndicators = ["#cloud-config", "#!/", "---", "```", "BEGIN", "END", "-----BEGIN", "-----END"];
46797
+ return multilineIndicators.some((indicator) => value.includes(indicator));
46798
+ };
46799
+ const isMultilineFromYaml = (yamlContent, fieldPath) => {
46800
+ if (!yamlContent || !fieldPath.length) {
46801
+ return false;
46802
+ }
46803
+ try {
46804
+ const lines = yamlContent.split("\n");
46805
+ const fieldName = fieldPath[fieldPath.length - 1];
46806
+ for (let i = 0; i < lines.length; i++) {
46807
+ const line = lines[i];
46808
+ if (line.includes(`${fieldName}:`) && line.includes("|")) {
46809
+ return true;
46810
+ }
46811
+ if (line.includes(`${fieldName}:`) && line.includes(">")) {
46812
+ return true;
46813
+ }
46814
+ }
46815
+ return false;
46816
+ } catch {
46817
+ return false;
46818
+ }
46819
+ };
46820
+
46761
46821
  const FormStringInput = ({
46762
46822
  name,
46763
46823
  arrKey,
@@ -46772,7 +46832,24 @@ const FormStringInput = ({
46772
46832
  onRemoveByMinus
46773
46833
  }) => {
46774
46834
  const designNewLayout = useDesignNewLayout();
46835
+ const [isMultiline, setIsMultiline] = useState(false);
46836
+ const [currentValue, setCurrentValue] = useState("");
46775
46837
  const fixedName = name === "nodeName" ? "nodeNameBecauseOfSuddenBug" : name;
46838
+ const formFieldName = arrName || fixedName;
46839
+ const formValue = Form.useWatch(formFieldName);
46840
+ useEffect(() => {
46841
+ if (formValue && typeof formValue === "string") {
46842
+ setCurrentValue(formValue);
46843
+ if (isMultilineString(formValue)) {
46844
+ setIsMultiline(true);
46845
+ }
46846
+ }
46847
+ }, [formValue]);
46848
+ useEffect(() => {
46849
+ if (currentValue && isMultilineString(currentValue)) {
46850
+ setIsMultiline(true);
46851
+ }
46852
+ }, [currentValue]);
46776
46853
  const title = /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
46777
46854
  getStringByName(name),
46778
46855
  required?.includes(getStringByName(name)) && /* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { type: "danger", children: "*" })
@@ -46793,7 +46870,40 @@ const FormStringInput = ({
46793
46870
  rules: [{ required: forceNonRequired === false && required?.includes(getStringByName(name)) }],
46794
46871
  validateTrigger: "onBlur",
46795
46872
  hasFeedback: designNewLayout ? { icons: feedbackIcons } : true,
46796
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(Input, { placeholder: getStringByName(name) })
46873
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(
46874
+ Input.TextArea,
46875
+ {
46876
+ placeholder: getStringByName(name),
46877
+ rows: isMultiline ? 4 : 1,
46878
+ autoSize: !isMultiline ? { minRows: 1, maxRows: 1 } : { minRows: 2, maxRows: 10 },
46879
+ onChange: (e) => {
46880
+ const { value } = e.target;
46881
+ setCurrentValue(value);
46882
+ },
46883
+ onInput: (e) => {
46884
+ const { value } = e.target;
46885
+ setCurrentValue(value);
46886
+ if (!isMultiline && value.includes("\n")) {
46887
+ setIsMultiline(true);
46888
+ }
46889
+ },
46890
+ onBlur: (e) => {
46891
+ if (isMultilineString(e.target.value)) {
46892
+ setIsMultiline(true);
46893
+ } else {
46894
+ setIsMultiline(false);
46895
+ }
46896
+ },
46897
+ onPaste: (e) => {
46898
+ const pastedText = e.clipboardData.getData("text");
46899
+ if (pastedText && isMultilineString(pastedText)) {
46900
+ setTimeout(() => {
46901
+ setIsMultiline(true);
46902
+ }, 0);
46903
+ }
46904
+ }
46905
+ }
46906
+ )
46797
46907
  },
46798
46908
  arrKey !== void 0 ? arrKey : Array.isArray(name) ? name.slice(-1)[0] : name
46799
46909
  )
@@ -47203,6 +47313,38 @@ const FormInlineYamlEditor = ({ path, persistedControls, externalValue }) => {
47203
47313
  ) });
47204
47314
  };
47205
47315
 
47316
+ const getSortedPropertyKeys = ({
47317
+ name,
47318
+ sortPaths,
47319
+ properties
47320
+ }) => {
47321
+ if (!sortPaths || sortPaths.length === 0) {
47322
+ return Object.keys(properties);
47323
+ }
47324
+ const currentPath = Array.isArray(name) ? name : [name];
47325
+ const currentPathStr = JSON.stringify(currentPath);
47326
+ const currentSortPaths = sortPaths.filter((path) => {
47327
+ if (currentPath.length === 0) {
47328
+ return path.length === 1;
47329
+ }
47330
+ const pathStr = JSON.stringify(path.slice(0, -1));
47331
+ return pathStr === currentPathStr;
47332
+ });
47333
+ if (currentSortPaths.length === 0) {
47334
+ return Object.keys(properties);
47335
+ }
47336
+ const sortOrder = /* @__PURE__ */ new Map();
47337
+ currentSortPaths.forEach((path, index) => {
47338
+ const key = currentPath.length === 0 ? path[0] : path[path.length - 1];
47339
+ sortOrder.set(key, index);
47340
+ });
47341
+ return Object.keys(properties).sort((a, b) => {
47342
+ const aOrder = sortOrder.get(a) ?? Number.MAX_SAFE_INTEGER;
47343
+ const bOrder = sortOrder.get(b) ?? Number.MAX_SAFE_INTEGER;
47344
+ return aOrder - bOrder;
47345
+ });
47346
+ };
47347
+
47206
47348
  const Container = styled.div`
47207
47349
  display: grid;
47208
47350
  grid-template-columns: repeat(2, 1fr);
@@ -47460,6 +47602,7 @@ const getArrayFormItemFromSwagger = ({
47460
47602
  isEdit,
47461
47603
  expandedControls,
47462
47604
  persistedControls,
47605
+ sortPaths,
47463
47606
  urlParams,
47464
47607
  onRemoveByMinus
47465
47608
  }) => {
@@ -47572,6 +47715,7 @@ const getArrayFormItemFromSwagger = ({
47572
47715
  isEdit,
47573
47716
  expandedControls,
47574
47717
  persistedControls,
47718
+ sortPaths,
47575
47719
  urlParams,
47576
47720
  onRemoveByMinus: () => remove(field.name)
47577
47721
  })
@@ -47594,6 +47738,7 @@ const getArrayFormItemFromSwagger = ({
47594
47738
  isEdit,
47595
47739
  expandedControls,
47596
47740
  persistedControls,
47741
+ sortPaths,
47597
47742
  urlParams,
47598
47743
  onRemoveByMinus: () => remove(field.name)
47599
47744
  })
@@ -47638,9 +47783,10 @@ const getObjectFormItemsDraft = ({
47638
47783
  isEdit,
47639
47784
  expandedControls,
47640
47785
  persistedControls,
47786
+ sortPaths,
47641
47787
  urlParams
47642
47788
  }) => {
47643
- return /* @__PURE__ */ jsxRuntimeExports.jsx(HiddenContainer, { name, children: Object.keys(properties).map((el) => {
47789
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(HiddenContainer, { name, children: getSortedPropertyKeys({ name, sortPaths, properties }).map((el) => {
47644
47790
  if (properties[el]["x-kubernetes-preserve-unknown-fields"]) {
47645
47791
  const path = Array.isArray(name) ? [...name, String(el)] : [name, String(el)];
47646
47792
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -47777,6 +47923,7 @@ const getObjectFormItemsDraft = ({
47777
47923
  isEdit,
47778
47924
  expandedControls,
47779
47925
  persistedControls,
47926
+ sortPaths,
47780
47927
  urlParams
47781
47928
  });
47782
47929
  }
@@ -47798,6 +47945,7 @@ const getObjectFormItemsDraft = ({
47798
47945
  isEdit,
47799
47946
  expandedControls,
47800
47947
  persistedControls,
47948
+ sortPaths,
47801
47949
  urlParams
47802
47950
  }) : void 0;
47803
47951
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -47841,6 +47989,7 @@ const getObjectFormItemsDraft = ({
47841
47989
  isEdit,
47842
47990
  expandedControls,
47843
47991
  persistedControls,
47992
+ sortPaths,
47844
47993
  urlParams
47845
47994
  });
47846
47995
  }
@@ -47866,6 +48015,7 @@ const getObjectFormItemFromSwagger = ({
47866
48015
  isEdit,
47867
48016
  expandedControls,
47868
48017
  persistedControls,
48018
+ sortPaths,
47869
48019
  urlParams,
47870
48020
  onRemoveByMinus
47871
48021
  }) => {
@@ -47886,6 +48036,7 @@ const getObjectFormItemFromSwagger = ({
47886
48036
  isEdit,
47887
48037
  expandedControls,
47888
48038
  persistedControls,
48039
+ sortPaths,
47889
48040
  urlParams
47890
48041
  });
47891
48042
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -48201,6 +48352,7 @@ const BlackholeForm = ({
48201
48352
  hiddenPaths,
48202
48353
  expandedPaths,
48203
48354
  persistedPaths,
48355
+ sortPaths,
48204
48356
  prefillValuesSchema,
48205
48357
  prefillValueNamespaceOnly,
48206
48358
  isNameSpaced,
@@ -48879,6 +49031,7 @@ const BlackholeForm = ({
48879
49031
  isEdit: !isCreate,
48880
49032
  expandedControls: { onExpandOpen, onExpandClose, expandedKeys },
48881
49033
  persistedControls: { onPersistMark, onPersistUnmark, persistedKeys },
49034
+ sortPaths,
48882
49035
  urlParams
48883
49036
  }) }) }) }) }),
48884
49037
  !designNewLayout && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
@@ -49006,6 +49159,7 @@ const BlackholeFormDataProvider = ({
49006
49159
  hiddenPaths: data2.hiddenPaths,
49007
49160
  expandedPaths: data2.expandedPaths || [],
49008
49161
  persistedPaths: data2.persistedPaths || [],
49162
+ sortPaths: data2.sortPaths,
49009
49163
  kindName: data2.kindName || "",
49010
49164
  formPrefills: data2.formPrefills,
49011
49165
  namespacesData: data2.namespacesData
@@ -49060,6 +49214,7 @@ const BlackholeFormDataProvider = ({
49060
49214
  hiddenPaths: preparedData.hiddenPaths,
49061
49215
  expandedPaths: preparedData.expandedPaths,
49062
49216
  persistedPaths: preparedData.persistedPaths,
49217
+ sortPaths: preparedData.sortPaths,
49063
49218
  prefillValuesSchema: data.prefillValuesSchema,
49064
49219
  prefillValueNamespaceOnly: data.prefillValueNamespaceOnly,
49065
49220
  isCreate,
@@ -52541,5 +52696,5 @@ const useCrdData = ({
52541
52696
  });
52542
52697
  };
52543
52698
 
52544
- export { BackToDefaultIcon, BlackholeForm, BlackholeFormDataProvider, ContentCard$1 as ContentCard, CursorDefaultDiv, CursorPointerTag, CursorPointerTagMinContent, CustomSelect$4 as CustomSelect, DeleteIcon, DeleteModal, DeleteModalMany, DownIcon, DynamicComponents, DynamicRenderer, DynamicRendererWithProviders, EarthIcon, EditIcon, EnrichedTable, EnrichedTableProvider, Events, FlexGrow, LockedIcon, LookingGlassIcon, ManageableBreadcrumbs, ManageableBreadcrumbsWithDataProvider, ManageableSidebar, ManageableSidebarWithDataProvider, MarketPlace, MarketplaceCard, MinusIcon, NodeTerminal, PaddingContainer, PauseCircleIcon, PlusIcon, PodLogs, PodLogsMonaco, PodTerminal, ProjectInfoCard, ResumeCircleIcon, Search, Spacer$1 as Spacer, SuccessIcon, TreeWithSearch, UncontrolledSelect, UnlockedIcon, UpIcon, YamlEditorSingleton, checkIfApiInstanceNamespaceScoped, checkIfBuiltInInstanceNamespaceScoped, checkPermission, createContextFactory, createNewEntry, deepMerge, deleteEntry, feedbackIcons, filterIfApiInstanceNamespaceScoped, filterIfBuiltInInstanceNamespaceScoped, filterSelectOptions, floorToDecimal, getAllPathsFromObj, getApiResourceSingle, getApiResourceTypes, getApiResourceTypesByApiGroup, getApiResources, getBackLinkToTable, getBuiltinResourceSingle, getBuiltinResourceTypes, getBuiltinResources, getBuiltinTreeData, getClusterList, getCrdData, getCrdResourceSingle, getCrdResources, getDirectUnknownResource, getEnrichedColumns, getEnrichedColumnsWithControls, getGroupsByCategory, getKinds, getLinkToApiForm, getLinkToBuiltinForm, getLinkToForm, getObjectFormItemsDraft, getPrefixSubarrays, getSortedKinds, getSortedKindsAll, getStringByName, getSwagger, getUppercase, groupsToTreeData, hslFromString, isFlatObject, kindByGvr, namespacedByGvr, normalizeValuesForQuotasToNumber, parseQuotaValue, parseQuotaValueCpu, parseQuotaValueMemoryAndStorage, pluralByKind, prepareDataForManageableBreadcrumbs, prepareDataForManageableSidebar, prepareTemplate, prepareUrlsToFetchForDynamicRenderer, updateEntry, useApiResourceSingle, useApiResourceTypesByGroup, useApiResources, useApisResourceTypes, useBuiltinResourceSingle, useBuiltinResourceTypes, useBuiltinResources, useClusterList, useCrdData, useCrdResourceSingle, useCrdResources, useDirectUnknownResource, usePermissions };
52699
+ export { BackToDefaultIcon, BlackholeForm, BlackholeFormDataProvider, ContentCard$1 as ContentCard, CursorDefaultDiv, CursorPointerTag, CursorPointerTagMinContent, CustomSelect$4 as CustomSelect, DeleteIcon, DeleteModal, DeleteModalMany, DownIcon, DynamicComponents, DynamicRenderer, DynamicRendererWithProviders, EarthIcon, EditIcon, EnrichedTable, EnrichedTableProvider, Events, FlexGrow, LockedIcon, LookingGlassIcon, ManageableBreadcrumbs, ManageableBreadcrumbsWithDataProvider, ManageableSidebar, ManageableSidebarWithDataProvider, MarketPlace, MarketplaceCard, MinusIcon, NodeTerminal, PaddingContainer, PauseCircleIcon, PlusIcon, PodLogs, PodLogsMonaco, PodTerminal, ProjectInfoCard, ResumeCircleIcon, Search, Spacer$1 as Spacer, SuccessIcon, TreeWithSearch, UncontrolledSelect, UnlockedIcon, UpIcon, YamlEditorSingleton, checkIfApiInstanceNamespaceScoped, checkIfBuiltInInstanceNamespaceScoped, checkPermission, createContextFactory, createNewEntry, deepMerge, deleteEntry, feedbackIcons, filterIfApiInstanceNamespaceScoped, filterIfBuiltInInstanceNamespaceScoped, filterSelectOptions, floorToDecimal, getAllPathsFromObj, getApiResourceSingle, getApiResourceTypes, getApiResourceTypesByApiGroup, getApiResources, getBackLinkToTable, getBuiltinResourceSingle, getBuiltinResourceTypes, getBuiltinResources, getBuiltinTreeData, getClusterList, getCrdData, getCrdResourceSingle, getCrdResources, getDirectUnknownResource, getEnrichedColumns, getEnrichedColumnsWithControls, getGroupsByCategory, getKinds, getLinkToApiForm, getLinkToBuiltinForm, getLinkToForm, getObjectFormItemsDraft, getPrefixSubarrays, getSortedKinds, getSortedKindsAll, getStringByName, getSwagger, getUppercase, groupsToTreeData, hslFromString, isFlatObject, isMultilineFromYaml, isMultilineString, kindByGvr, namespacedByGvr, normalizeValuesForQuotasToNumber, parseQuotaValue, parseQuotaValueCpu, parseQuotaValueMemoryAndStorage, pluralByKind, prepareDataForManageableBreadcrumbs, prepareDataForManageableSidebar, prepareTemplate, prepareUrlsToFetchForDynamicRenderer, updateEntry, useApiResourceSingle, useApiResourceTypesByGroup, useApiResources, useApisResourceTypes, useBuiltinResourceSingle, useBuiltinResourceTypes, useBuiltinResources, useClusterList, useCrdData, useCrdResourceSingle, useCrdResources, useDirectUnknownResource, usePermissions };
52545
52700
  //# sourceMappingURL=openapi-k8s-toolkit.es.js.map