@prorobotech/openapi-k8s-toolkit 1.2.0-alpha.3 → 1.2.0-alpha.5

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 (24) hide show
  1. package/dist/openapi-k8s-toolkit.es.js +309 -42
  2. package/dist/openapi-k8s-toolkit.es.js.map +1 -1
  3. package/dist/openapi-k8s-toolkit.umd.js +309 -42
  4. package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
  5. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.d.ts +2 -1
  6. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/utils.d.ts +4 -2
  7. package/dist/types/components/organisms/DynamicComponents/molecules/ConverterBytes/ConverterBytes.d.ts +11 -9
  8. package/dist/types/components/organisms/DynamicComponents/molecules/ConverterCores/ConverterCores.d.ts +19 -0
  9. package/dist/types/components/organisms/DynamicComponents/molecules/ConverterCores/index.d.ts +1 -0
  10. package/dist/types/components/organisms/DynamicComponents/molecules/ConverterCores/types.d.ts +7 -0
  11. package/dist/types/components/organisms/DynamicComponents/molecules/ConverterCores/utils.d.ts +45 -0
  12. package/dist/types/components/organisms/DynamicComponents/molecules/ConverterCores/utilts.test.d.ts +1 -0
  13. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/MemoryChart.d.ts +6 -0
  14. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/MemoryChartMulti.d.ts +6 -0
  15. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/usePrometheusQueryRange.d.ts +7 -0
  16. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/usePrometheusQueryRangeMulti.d.ts +7 -0
  17. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/prometheus.d.ts +10 -0
  18. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/prometheus.test.d.ts +1 -0
  19. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/prometheusAdapter.d.ts +21 -0
  20. package/dist/types/components/organisms/DynamicComponents/molecules/index.d.ts +1 -0
  21. package/dist/types/components/organisms/DynamicComponents/types.d.ts +21 -1
  22. package/dist/types/localTypes/bff/table.d.ts +2 -1
  23. package/dist/types/localTypes/richTable.d.ts +2 -0
  24. package/package.json +2 -1
@@ -44921,11 +44921,6 @@
44921
44921
  const factor = UNIT_FACTORS[canon];
44922
44922
  return value * factor;
44923
44923
  };
44924
- const convertStorage = (value, from, to, opts) => {
44925
- const bytes = toBytes(value, from);
44926
- if (bytes < 0) return -1;
44927
- return convertBytes(bytes, to, opts);
44928
- };
44929
44924
  const parseValueWithUnit = (input) => {
44930
44925
  const trimmed = input.trim();
44931
44926
  if (!trimmed) return null;
@@ -44966,30 +44961,67 @@
44966
44961
  /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: errors.map((e, i) => e && /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: typeof e === "string" ? e : e.message }, i)) })
44967
44962
  ] });
44968
44963
  }
44969
- const replaceValues = partsOfUrl.partsOfUrl.reduce((acc, value2, index) => {
44970
- acc[index.toString()] = value2;
44964
+ const replaceValues = partsOfUrl.partsOfUrl.reduce((acc, value, index) => {
44965
+ acc[index.toString()] = value;
44971
44966
  return acc;
44972
44967
  }, {});
44973
- const parsedBytesValue = parseAll({ text: bytesValue, replaceValues, multiQueryData });
44974
- const parsedWithUnit = parseValueWithUnit(parsedBytesValue);
44975
- if (!parsedWithUnit) {
44976
- const fallbackNumber = Number(parsedBytesValue);
44977
- if (Number.isNaN(fallbackNumber)) {
44978
- return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: notANumberText || "Not a proper value" });
44979
- }
44980
- if (unit) {
44981
- const result3 = String(convertBytes(fallbackNumber, unit, { format, precision, locale }));
44968
+ const byteValueItems = Array.isArray(bytesValue) ? bytesValue : [bytesValue];
44969
+ const resolvedStrings = byteValueItems.map((text) => parseAll({ text, replaceValues, multiQueryData }));
44970
+ if (resolvedStrings.length === 0) {
44971
+ const targetUnit2 = toUnit || unit;
44972
+ if (targetUnit2) {
44973
+ const result3 = String(
44974
+ convertBytes(0, targetUnit2, {
44975
+ format,
44976
+ precision,
44977
+ locale
44978
+ })
44979
+ );
44982
44980
  return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: result3 });
44983
44981
  }
44984
- const result2 = formatBytesAuto(fallbackNumber, { standard, precision, locale });
44982
+ const result2 = formatBytesAuto(0, { standard, precision, locale });
44985
44983
  return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: result2 });
44986
44984
  }
44987
- const { value, unit: inlineUnit } = parsedWithUnit;
44988
- const effectiveFromUnit = fromUnit || inlineUnit;
44985
+ let totalBytes = 0;
44986
+ for (const s of resolvedStrings) {
44987
+ const parsed = parseValueWithUnit(s);
44988
+ let numericValue;
44989
+ let inlineUnit;
44990
+ if (parsed) {
44991
+ numericValue = parsed.value;
44992
+ inlineUnit = parsed.unit;
44993
+ } else {
44994
+ const fallbackNumber = Number(s);
44995
+ if (Number.isNaN(fallbackNumber)) {
44996
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: notANumberText || "Not a proper value" });
44997
+ }
44998
+ numericValue = fallbackNumber;
44999
+ inlineUnit = void 0;
45000
+ }
45001
+ const fromForThis = fromUnit || inlineUnit || "B";
45002
+ let bytesForThis;
45003
+ if (fromForThis === "B") {
45004
+ if (!Number.isFinite(numericValue)) {
45005
+ console.error("bytes must be a finite number");
45006
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: notANumberText || "Not a proper value" });
45007
+ }
45008
+ if (numericValue < 0) {
45009
+ console.error("bytes must be >= 0");
45010
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: notANumberText || "Not a proper value" });
45011
+ }
45012
+ bytesForThis = numericValue;
45013
+ } else {
45014
+ bytesForThis = toBytes(numericValue, fromForThis);
45015
+ if (bytesForThis < 0) {
45016
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: notANumberText || "Not a proper value" });
45017
+ }
45018
+ }
45019
+ totalBytes += bytesForThis;
45020
+ }
44989
45021
  const targetUnit = toUnit || unit;
44990
- if (effectiveFromUnit && targetUnit) {
45022
+ if (targetUnit) {
44991
45023
  const result2 = String(
44992
- convertStorage(value, effectiveFromUnit, targetUnit, {
45024
+ convertBytes(totalBytes, targetUnit, {
44993
45025
  format,
44994
45026
  precision,
44995
45027
  locale
@@ -44997,19 +45029,203 @@
44997
45029
  );
44998
45030
  return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: result2 });
44999
45031
  }
45000
- if (effectiveFromUnit && !targetUnit) {
45001
- const bytes = toBytes(value, effectiveFromUnit);
45002
- if (bytes < 0) {
45003
- return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: notANumberText || "Not a proper value" });
45032
+ const result = formatBytesAuto(totalBytes, { standard, precision, locale });
45033
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: result });
45034
+ };
45035
+
45036
+ const CORE_UNIT_FACTORS = {
45037
+ core: 1,
45038
+ mcore: 1e-3,
45039
+ ucore: 1e-6,
45040
+ ncore: 1e-9
45041
+ };
45042
+ const CORE_ALIASES = (() => {
45043
+ const corePairs = [
45044
+ // plain cores
45045
+ [["core", "cores", "c", "cpu", "cpus", "vcpu", "vcpus"], "core"],
45046
+ // millicores
45047
+ [["m", "mc", "mcore", "mcores", "millicore", "millicores", "millicpu", "millicpus"], "mcore"],
45048
+ // microcores
45049
+ [["u", "µ", "ucore", "ucores", "micro", "microcore", "microcores"], "ucore"],
45050
+ // nanocores
45051
+ [["n", "ncore", "ncores", "nano", "nanocore", "nanocores"], "ncore"]
45052
+ ];
45053
+ const entries = corePairs.flatMap(([keys, unit]) => keys.map((k) => [k.toLowerCase(), unit]));
45054
+ const canon = Object.keys(CORE_UNIT_FACTORS).map((u) => [u.toLowerCase(), u]);
45055
+ return Object.fromEntries([...entries, ...canon]);
45056
+ })();
45057
+ const normalizeCoreUnit = (u) => {
45058
+ const key = String(u).trim().toLowerCase();
45059
+ const canon = CORE_ALIASES[key];
45060
+ if (!canon) {
45061
+ console.error(`Unknown core unit: "${u}"`);
45062
+ return "core";
45063
+ }
45064
+ return canon;
45065
+ };
45066
+ const convertCores = (cores, unit, opts) => {
45067
+ if (!Number.isFinite(cores)) {
45068
+ console.error("cores must be a finite number");
45069
+ return -1;
45070
+ }
45071
+ if (cores < 0) {
45072
+ console.error("cores must be >= 0");
45073
+ return -1;
45074
+ }
45075
+ const canon = normalizeCoreUnit(unit);
45076
+ const factor = CORE_UNIT_FACTORS[canon];
45077
+ const value = cores / factor;
45078
+ if (!opts?.format) return value;
45079
+ return `${value.toLocaleString(opts.locale, {
45080
+ minimumFractionDigits: 0,
45081
+ maximumFractionDigits: opts?.precision ?? 2
45082
+ })} ${canon}`;
45083
+ };
45084
+ const formatCoresAuto = (cores, { precision = 2, locale } = {}) => {
45085
+ if (!Number.isFinite(cores)) {
45086
+ console.error("cores must be a finite number");
45087
+ return "infinite";
45088
+ }
45089
+ if (cores < 0) {
45090
+ console.error("cores must be >= 0");
45091
+ return "less then zero";
45092
+ }
45093
+ if (cores === 0) {
45094
+ return "0 core";
45095
+ }
45096
+ let targetUnit;
45097
+ if (cores >= 1) {
45098
+ targetUnit = "core";
45099
+ } else if (cores >= 1e-3) {
45100
+ targetUnit = "mcore";
45101
+ } else if (cores >= 1e-6) {
45102
+ targetUnit = "ucore";
45103
+ } else {
45104
+ targetUnit = "ncore";
45105
+ }
45106
+ return String(convertCores(cores, targetUnit, { format: true, precision, locale }));
45107
+ };
45108
+ const toCores = (value, from) => {
45109
+ if (!Number.isFinite(value)) {
45110
+ console.error("value must be a finite number");
45111
+ return -1;
45112
+ }
45113
+ if (value < 0) {
45114
+ console.error("value must be >= 0");
45115
+ return -1;
45116
+ }
45117
+ const canon = normalizeCoreUnit(from);
45118
+ const factor = CORE_UNIT_FACTORS[canon];
45119
+ return value * factor;
45120
+ };
45121
+ const parseCoresWithUnit = (input) => {
45122
+ const trimmed = input.trim();
45123
+ if (!trimmed) return null;
45124
+ const match = trimmed.match(/^([+-]?\d+(?:\.\d+)?)(?:\s*([a-zA-Zµ]+))?$/);
45125
+ if (!match) return null;
45126
+ const [, numPart, unitPart] = match;
45127
+ const value = Number(numPart);
45128
+ if (!Number.isFinite(value)) return null;
45129
+ if (unitPart) {
45130
+ return { value, unit: unitPart };
45131
+ }
45132
+ return { value };
45133
+ };
45134
+
45135
+ const ConverterCores = ({ data }) => {
45136
+ const {
45137
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
45138
+ id,
45139
+ coresValue,
45140
+ unit,
45141
+ fromUnit,
45142
+ toUnit,
45143
+ format,
45144
+ precision,
45145
+ locale,
45146
+ notANumberText,
45147
+ style
45148
+ } = data;
45149
+ const { data: multiQueryData, isLoading, isError, errors } = useMultiQuery();
45150
+ const partsOfUrl = usePartsOfUrl();
45151
+ if (isLoading) {
45152
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." });
45153
+ }
45154
+ if (isError) {
45155
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
45156
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h4", { children: "Errors:" }),
45157
+ /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: errors.map((e, i) => e && /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: typeof e === "string" ? e : e.message }, i)) })
45158
+ ] });
45159
+ }
45160
+ const replaceValues = partsOfUrl.partsOfUrl.reduce((acc, value, index) => {
45161
+ acc[index.toString()] = value;
45162
+ return acc;
45163
+ }, {});
45164
+ const coreValueItems = Array.isArray(coresValue) ? coresValue : [coresValue];
45165
+ const resolvedStrings = coreValueItems.map((text) => parseAll({ text, replaceValues, multiQueryData }));
45166
+ if (resolvedStrings.length === 0) {
45167
+ const targetUnit2 = toUnit || unit;
45168
+ if (targetUnit2) {
45169
+ const result3 = String(
45170
+ convertCores(0, targetUnit2, {
45171
+ format,
45172
+ precision,
45173
+ locale
45174
+ })
45175
+ );
45176
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: result3 });
45004
45177
  }
45005
- const result2 = formatBytesAuto(bytes, { standard, precision, locale });
45178
+ const result2 = formatCoresAuto(0, { precision, locale });
45006
45179
  return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: result2 });
45007
45180
  }
45181
+ let totalCores = 0;
45182
+ for (const s of resolvedStrings) {
45183
+ const parsed = parseCoresWithUnit(s);
45184
+ let numericValue;
45185
+ let inlineUnit;
45186
+ if (parsed) {
45187
+ numericValue = parsed.value;
45188
+ inlineUnit = parsed.unit;
45189
+ } else {
45190
+ const fallbackNumber = Number(s);
45191
+ if (Number.isNaN(fallbackNumber)) {
45192
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: notANumberText || "Not a proper value" });
45193
+ }
45194
+ numericValue = fallbackNumber;
45195
+ inlineUnit = void 0;
45196
+ }
45197
+ const fromForThis = fromUnit || inlineUnit || "core";
45198
+ let coresForThis;
45199
+ if (fromForThis === "core") {
45200
+ if (!Number.isFinite(numericValue)) {
45201
+ console.error("cores must be a finite number");
45202
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: notANumberText || "Not a proper value" });
45203
+ }
45204
+ if (numericValue < 0) {
45205
+ console.error("cores must be >= 0");
45206
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: notANumberText || "Not a proper value" });
45207
+ }
45208
+ coresForThis = numericValue;
45209
+ } else {
45210
+ coresForThis = toCores(numericValue, fromForThis);
45211
+ if (coresForThis < 0) {
45212
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: notANumberText || "Not a proper value" });
45213
+ }
45214
+ }
45215
+ totalCores += coresForThis;
45216
+ }
45217
+ const targetUnit = toUnit || unit;
45008
45218
  if (targetUnit) {
45009
- const result2 = String(convertBytes(value, targetUnit, { format, precision, locale }));
45219
+ const result2 = String(
45220
+ convertCores(totalCores, targetUnit, {
45221
+ format,
45222
+ precision,
45223
+ locale
45224
+ })
45225
+ );
45010
45226
  return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: result2 });
45011
45227
  }
45012
- const result = formatBytesAuto(value, { standard, precision, locale });
45228
+ const result = formatCoresAuto(totalCores, { precision, locale });
45013
45229
  return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: result });
45014
45230
  };
45015
45231
 
@@ -46648,6 +46864,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
46648
46864
  Tolerations,
46649
46865
  Annotations,
46650
46866
  ConverterBytes,
46867
+ ConverterCores,
46651
46868
  SecretBase64Plain,
46652
46869
  ResourceBadge,
46653
46870
  Events: Events$1,
@@ -46834,16 +47051,29 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
46834
47051
  additionalPrinterColumnsTrimLengths,
46835
47052
  additionalPrinterColumnsColWidths,
46836
47053
  additionalPrinterColumnsKeyTypeProps,
46837
- theme
47054
+ additionalPrinterColumnsDisableSortersAndFilters,
47055
+ theme,
47056
+ getRowKey
47057
+ // for factory search
46838
47058
  }) => {
46839
47059
  if (!columns) {
46840
47060
  return void 0;
46841
47061
  }
46842
- return columns.map((el) => {
47062
+ return columns.map((el, colIndex) => {
47063
+ const isSortersAndFitlersDisabled = additionalPrinterColumnsDisableSortersAndFilters?.some((key) => key === el.key);
46843
47064
  const possibleUndefinedValue = additionalPrinterColumnsUndefinedValues?.find(({ key }) => key === el.key)?.value;
46844
47065
  const possibleTrimLength = additionalPrinterColumnsTrimLengths?.find(({ key }) => key === el.key)?.value;
46845
47066
  const possibleColWidth = additionalPrinterColumnsColWidths?.find(({ key }) => key === el.key)?.value;
46846
47067
  const possibleCustomTypeWithProps = additionalPrinterColumnsKeyTypeProps && el.key ? additionalPrinterColumnsKeyTypeProps[el.key.toString()] : void 0;
47068
+ const useFactorySearch = possibleCustomTypeWithProps?.type === "factory";
47069
+ const colKey = el.key != null && String(el.key) || (Array.isArray(el.dataIndex) ? el.dataIndex.join(".") : String(el.dataIndex ?? colIndex));
47070
+ const getCellTextFromDOM = (record) => {
47071
+ const rowKey = getRowKey(record);
47072
+ const selector = `td[data-rowkey="${String(rowKey)}"][data-colkey="${colKey}"]`;
47073
+ const cell = document.querySelector(selector);
47074
+ if (!cell) return "";
47075
+ return (cell.innerText || cell.textContent || "").trim().toLowerCase();
47076
+ };
46847
47077
  return {
46848
47078
  ...el,
46849
47079
  render: (value, record) => getCellRender({
@@ -46855,18 +47085,43 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
46855
47085
  theme
46856
47086
  }),
46857
47087
  width: possibleColWidth,
46858
- filterDropdown: ({ setSelectedKeys, selectedKeys, confirm, clearFilters, close }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
46859
- FilterDropdown,
46860
- {
46861
- setSelectedKeys,
46862
- selectedKeys,
46863
- confirm,
46864
- clearFilters,
46865
- close
47088
+ // for factory search
47089
+ onCell: (record) => {
47090
+ const rowKey = getRowKey(record);
47091
+ return {
47092
+ "data-rowkey": String(rowKey),
47093
+ "data-colkey": String(colKey)
47094
+ };
47095
+ },
47096
+ filterDropdown: ({ setSelectedKeys, selectedKeys, confirm, clearFilters, close }) => {
47097
+ if (isSortersAndFitlersDisabled) {
47098
+ return null;
46866
47099
  }
46867
- ),
46868
- filterIcon: (filtered) => /* @__PURE__ */ jsxRuntimeExports.jsx(icons.SearchOutlined, { style: { color: filtered ? "#1677ff" : void 0 } }),
47100
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
47101
+ FilterDropdown,
47102
+ {
47103
+ setSelectedKeys,
47104
+ selectedKeys,
47105
+ confirm,
47106
+ clearFilters,
47107
+ close
47108
+ }
47109
+ );
47110
+ },
47111
+ filterIcon: (filtered) => {
47112
+ if (isSortersAndFitlersDisabled) {
47113
+ return null;
47114
+ }
47115
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(icons.SearchOutlined, { style: { color: filtered ? "#1677ff" : void 0 } });
47116
+ },
46869
47117
  onFilter: (value, record) => {
47118
+ if (isSortersAndFitlersDisabled) {
47119
+ return false;
47120
+ }
47121
+ if (useFactorySearch) {
47122
+ const text = getCellTextFromDOM(record);
47123
+ return text.includes(String(value).toLowerCase());
47124
+ }
46870
47125
  const { dataIndex } = el;
46871
47126
  const entry = Array.isArray(dataIndex) ? lodashExports.get(record, dataIndex) : record[dataIndex];
46872
47127
  if (typeof entry === "object" && !Array.isArray(entry)) {
@@ -46887,7 +47142,12 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
46887
47142
  }
46888
47143
  return false;
46889
47144
  },
46890
- sorter: (a, b) => {
47145
+ sorter: isSortersAndFitlersDisabled ? false : (a, b) => {
47146
+ if (useFactorySearch) {
47147
+ const aText = getCellTextFromDOM(a);
47148
+ const bText = getCellTextFromDOM(b);
47149
+ return aText.localeCompare(bText);
47150
+ }
46891
47151
  const { dataIndex } = el;
46892
47152
  const aEntry = Array.isArray(dataIndex) ? lodashExports.get(a, dataIndex) : a[dataIndex];
46893
47153
  const bEntry = Array.isArray(dataIndex) ? lodashExports.get(b, dataIndex) : b[dataIndex];
@@ -47018,6 +47278,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
47018
47278
  additionalPrinterColumnsTrimLengths,
47019
47279
  additionalPrinterColumnsColWidths,
47020
47280
  additionalPrinterColumnsKeyTypeProps,
47281
+ additionalPrinterColumnsDisableSortersAndFilters,
47021
47282
  selectData,
47022
47283
  withoutControls = false,
47023
47284
  tableProps
@@ -47026,13 +47287,17 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
47026
47287
  if (!columns) {
47027
47288
  return null;
47028
47289
  }
47290
+ const rowKey = (record) => record.key;
47029
47291
  const enrichedColumns = getEnrichedColumns({
47030
47292
  columns,
47031
47293
  additionalPrinterColumnsUndefinedValues,
47032
47294
  additionalPrinterColumnsTrimLengths,
47033
47295
  additionalPrinterColumnsColWidths,
47034
47296
  additionalPrinterColumnsKeyTypeProps,
47035
- theme
47297
+ additionalPrinterColumnsDisableSortersAndFilters,
47298
+ theme,
47299
+ getRowKey: rowKey
47300
+ // for factory search
47036
47301
  });
47037
47302
  if (!enrichedColumns) {
47038
47303
  return null;
@@ -47058,6 +47323,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
47058
47323
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(TableComponents.HideableControls, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
47059
47324
  antd.Table,
47060
47325
  {
47326
+ rowKey,
47061
47327
  dataSource,
47062
47328
  columns: columnsWithControls,
47063
47329
  pagination: tableProps?.disablePagination ? false : {
@@ -47399,6 +47665,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
47399
47665
  additionalPrinterColumnsTrimLengths: preparedProps.additionalPrinterColumnsTrimLengths,
47400
47666
  additionalPrinterColumnsColWidths: preparedProps.additionalPrinterColumnsColWidths,
47401
47667
  additionalPrinterColumnsKeyTypeProps: preparedProps.additionalPrinterColumnsKeyTypeProps,
47668
+ additionalPrinterColumnsDisableSortersAndFilters: preparedProps.additionalPrinterColumnsDisableSortersAndFilters,
47402
47669
  selectData,
47403
47670
  tableProps,
47404
47671
  withoutControls