@dovetail-v2/refine 0.1.11 → 0.1.12

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.
@@ -10,8 +10,8 @@ import React__default, { createElement, isValidElement, cloneElement, Children,
10
10
  import { ResourceContext, matchResourceFromRoute, useResource, useDelete, useNavigation, useBreadcrumb, useList, CanAccess, useUpdate, useParsed, useGo, useCan, useTable, useDeleteMany, useShow, useDataProvider, useRefineContext, useTranslate, useWarnAboutChange, useForm as useForm$2, flattenObjectKeys, pickNotDeprecated, useMenu, Refine } from "@refinedev/core";
11
11
  import { parse, stringify } from "qs";
12
12
  import { useLocation, useHistory, useParams, matchPath, Link, Route, NavLink, Router } from "react-router-dom";
13
- import { Typo, Tag, Input, Select, AntdOption, Button, Form, Space, TextArea, kitContext, Loading, Table as Table$2, Pagination, Alert, usePopModal, Modal, usePushModal, Fields, Units, OverflowTooltip, Tooltip, StatusCapsule, Dropdown, Menu as Menu$1, Icon as Icon$1, Divider, Link as Link$1, Tabs as Tabs$1, TabsTabPane, Row, Col, DonutChart, SegmentControl, Checkbox, DropdownMenu, SearchInput, Token, AntdSelectOptGroup, Popover, AntdTable, TableForm, MenuItemGroup, Layout as Layout$1, Time as Time$1, useMessage, ModalStack, KitStoreProvider, ConfigProvider } from "@cloudtower/eagle";
14
- import { EditPen16PrimaryIcon, Download16GradientBlueIcon, TrashBinDelete16Icon, MoreEllipsis324BoldSecondaryIcon, MoreEllipsis324BoldBlueIcon, MoreEllipsis316BoldBlueIcon, PlusAddCreateNew16BoldOntintIcon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, ViewEye16GradientGrayIcon, EntityFilterIgnoreGradient16GrayIcon, RecoverContinue16GradientBlueIcon, SuspendedPause16GradientBlueIcon, Retry16GradientBlueIcon, FontSize16GrayIcon, FontSize16BlueIcon, LogCollection16GrayIcon, LogCollection16GradientBlueIcon, TrashBinDeletePermanently16GrayIcon, TrashBinDeletePermanently16BlueIcon, Loading24GradientBlueIcon, OpenTerminal16GradientBlueIcon, HierarchyTriangleRight16GrayIcon, HierarchyTriangleRight16BlueIcon, ClipboardCopy16GradientGrayIcon, ClipboardCopy16GradientBlueIcon, Retry16GradientGrayIcon, EditPen16GradientGrayIcon, EditPen16GradientBlueIcon, Showdiff16GradientGrayIcon, Showdiff16GradientBlueIcon, XmarkFailedSeriousWarningFill16RedIcon, ExclamationErrorCircleFill16RedIcon, Pause16GradientBlueIcon, EditPen16BlueIcon } from "@cloudtower/icons-react";
13
+ import { Typo, Tag, Input, Select, AntdOption, Button, Form, Space, TextArea, kitContext, Loading, Table as Table$2, Pagination, Alert, usePopModal, Modal, usePushModal, Fields, Units, OverflowTooltip, Tooltip, StatusCapsule, Dropdown, Menu as Menu$1, Icon as Icon$1, Divider, Link as Link$1, Tabs as Tabs$1, TabsTabPane, Row, Col, DonutChart, SegmentControl, Checkbox, DropdownMenu, SearchInput, Token, AntdSelectOptGroup, Popover, AntdTable, TableForm, getOptions, MenuItemGroup, Layout as Layout$1, Time as Time$1, useMessage, ModalStack, KitStoreProvider, ConfigProvider } from "@cloudtower/eagle";
14
+ import { EditPen16PrimaryIcon, Download16GradientBlueIcon, TrashBinDelete16Icon, MoreEllipsis324BoldSecondaryIcon, MoreEllipsis324BoldBlueIcon, MoreEllipsis316BoldBlueIcon, PlusAddCreateNew16BoldOntintIcon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, ViewEye16GradientGrayIcon, EntityFilterIgnoreGradient16GrayIcon, RecoverContinue16GradientBlueIcon, SuspendedPause16GradientBlueIcon, Retry16GradientBlueIcon, FontSize16GrayIcon, FontSize16BlueIcon, LogCollection16GrayIcon, LogCollection16GradientBlueIcon, TrashBinDeletePermanently16GrayIcon, TrashBinDeletePermanently16BlueIcon, Loading24GradientBlueIcon, OpenTerminal16GradientBlueIcon, HierarchyTriangleRight16GrayIcon, HierarchyTriangleRight16BlueIcon, ClipboardCopy16GradientGrayIcon, ClipboardCopy16GradientBlueIcon, Retry16GradientGrayIcon, EditPen16GradientGrayIcon, EditPen16GradientBlueIcon, Showdiff16GradientGrayIcon, Showdiff16GradientBlueIcon, XmarkFailedSeriousWarningFill16RedIcon, ExclamationErrorCircleFill16RedIcon, Pause16GradientBlueIcon, EditPen16BlueIcon, InfoICircleFill16GrayIcon, InfoICircleFill16Gray70Icon } from "@cloudtower/icons-react";
15
15
  import { first, cloneDeep, set as set$1, omit as omit$1, merge, get as get$3, debounce, last, isObject as isObject$4, uniq, keyBy } from "lodash-es";
16
16
  import yaml$1 from "js-yaml";
17
17
  import { paginateData, sortData, dataProvider, liveProvider } from "k8s-api-provider";
@@ -1569,6 +1569,12 @@ const suffix_format_rule_3 = "后跟斜杠 (/),即第一个 (/) 前的内容
1569
1569
  const name_format_rule_1 = "由字母、数字、连字符 (-)、下划线(_) 或点 (.) 组成";
1570
1570
  const name_format_rule_2 = "以字母或数字开头和结尾";
1571
1571
  const name_format_rule_3 = "不超过 63 个字符";
1572
+ const taint_effect_NoSchedule_tooltip_1 = "正在节点上运行的 Pod 不会被驱逐。";
1573
+ const taint_effect_NoSchedule_tooltip_2 = "新 Pod 不会调度到污点节点,除非有匹配的容忍度。";
1574
+ const taint_effect_PreferNoSchedule_tooltip_1 = "不容忍污点的 Pod 将被立即驱逐。";
1575
+ const taint_effect_PreferNoSchedule_tooltip_2 = "容忍污点但未设置容忍时长的 Pod 将继续运行。";
1576
+ const taint_effect_PreferNoSchedule_tooltip_3 = "容忍污点并设置了容忍时长的 Pod 将按指定时间运行,时间结束后被驱逐。";
1577
+ const taint_effect_NoExecute_tooltip_3 = "控制平面将尝试避免将不能容忍污点的 Pod 调度到节点上,但无法保证完全避免。";
1572
1578
  const dovetail = {
1573
1579
  copy: copy$1,
1574
1580
  reset_arguments,
@@ -1796,7 +1802,13 @@ const dovetail = {
1796
1802
  suffix_format_rule_3,
1797
1803
  name_format_rule_1,
1798
1804
  name_format_rule_2,
1799
- name_format_rule_3
1805
+ name_format_rule_3,
1806
+ taint_effect_NoSchedule_tooltip_1,
1807
+ taint_effect_NoSchedule_tooltip_2,
1808
+ taint_effect_PreferNoSchedule_tooltip_1,
1809
+ taint_effect_PreferNoSchedule_tooltip_2,
1810
+ taint_effect_PreferNoSchedule_tooltip_3,
1811
+ taint_effect_NoExecute_tooltip_3
1800
1812
  };
1801
1813
  const ZH = {
1802
1814
  dovetail
@@ -8189,6 +8201,9 @@ class K8sOpenAPI {
8189
8201
  }
8190
8202
  // Fetch and process OpenAPI schemas
8191
8203
  async fetch() {
8204
+ if (this.schemas) {
8205
+ return this.schemas;
8206
+ }
8192
8207
  try {
8193
8208
  const response = await fetch(
8194
8209
  `${this.pathPrefix}${this.resourceBasePath}`
@@ -8236,6 +8251,24 @@ class K8sOpenAPI {
8236
8251
  });
8237
8252
  }
8238
8253
  }
8254
+ class SchemaStore {
8255
+ constructor() {
8256
+ __publicField(this, "openapiMap", {});
8257
+ }
8258
+ async fetchSchemas(resourceBasePath, pathPrefix) {
8259
+ const openapi = this.openapiMap[`${resourceBasePath}-${pathPrefix}`] || new K8sOpenAPI(resourceBasePath, pathPrefix);
8260
+ this.openapiMap[`${resourceBasePath}-${pathPrefix}`] = openapi;
8261
+ const schemas = await openapi.fetch();
8262
+ return schemas;
8263
+ }
8264
+ async fetchSchema(resourceBasePath, pathPrefix, kind) {
8265
+ const openapi = this.openapiMap[`${resourceBasePath}-${pathPrefix}`] || new K8sOpenAPI(resourceBasePath, pathPrefix);
8266
+ this.openapiMap[`${resourceBasePath}-${pathPrefix}`] = openapi;
8267
+ await openapi.fetch();
8268
+ return openapi.findSchema(kind);
8269
+ }
8270
+ }
8271
+ const schemaStore = new SchemaStore();
8239
8272
  const ConstantsContext = createContext({
8240
8273
  schemaUrlPrefix: ""
8241
8274
  });
@@ -8254,8 +8287,7 @@ function useApiGroupSchema() {
8254
8287
  if (state2.schemasMap[apiGroup]) {
8255
8288
  return { apiGroup, schemas: state2.schemasMap[apiGroup] };
8256
8289
  }
8257
- const openapi = new K8sOpenAPI(apiGroup, schemaUrlPrefix);
8258
- const groupSchemas = await openapi.fetch();
8290
+ const groupSchemas = await schemaStore.fetchSchemas(apiGroup, schemaUrlPrefix);
8259
8291
  return { apiGroup, schemas: groupSchemas || [] };
8260
8292
  })
8261
8293
  );
@@ -8284,20 +8316,12 @@ function useSchema(options) {
8284
8316
  const useResourceResult = useResource();
8285
8317
  const resource = (options == null ? void 0 : options.resource) || useResourceResult.resource;
8286
8318
  const { schemaUrlPrefix } = useContext(ConstantsContext);
8287
- const openapi = useMemo(
8288
- () => {
8289
- var _a2;
8290
- return new K8sOpenAPI((_a2 = resource == null ? void 0 : resource.meta) == null ? void 0 : _a2.resourceBasePath, schemaUrlPrefix);
8291
- },
8292
- [(_a = resource == null ? void 0 : resource.meta) == null ? void 0 : _a.resourceBasePath, schemaUrlPrefix]
8293
- );
8294
8319
  const fetchSchema = useCallback(async () => {
8295
- var _a2;
8320
+ var _a2, _b2;
8296
8321
  setLoading(true);
8297
8322
  setError(null);
8298
8323
  try {
8299
- await openapi.fetch();
8300
- const schema2 = await openapi.findSchema((_a2 = resource == null ? void 0 : resource.meta) == null ? void 0 : _a2.kind);
8324
+ const schema2 = await schemaStore.fetchSchema((_a2 = resource == null ? void 0 : resource.meta) == null ? void 0 : _a2.resourceBasePath, schemaUrlPrefix, (_b2 = resource == null ? void 0 : resource.meta) == null ? void 0 : _b2.kind);
8301
8325
  setSchema(schema2 || null);
8302
8326
  setError(null);
8303
8327
  } catch (e2) {
@@ -8305,7 +8329,7 @@ function useSchema(options) {
8305
8329
  } finally {
8306
8330
  setLoading(false);
8307
8331
  }
8308
- }, [(_b = resource == null ? void 0 : resource.meta) == null ? void 0 : _b.kind, openapi]);
8332
+ }, [(_a = resource == null ? void 0 : resource.meta) == null ? void 0 : _a.kind, (_b = resource == null ? void 0 : resource.meta) == null ? void 0 : _b.resourceBasePath, schemaUrlPrefix]);
8309
8333
  useEffect(() => {
8310
8334
  if (options == null ? void 0 : options.skip)
8311
8335
  return;
@@ -8930,11 +8954,6 @@ function Table$1(props) {
8930
8954
  } = props;
8931
8955
  const auxiliaryLineRef = useRef(null);
8932
8956
  const wrapperRef = useRef(null);
8933
- useMemo(() => ({
8934
- current: currentPage,
8935
- pageSize: defaultSize,
8936
- onChange: onPageChange
8937
- }), [currentPage, defaultSize, onPageChange]);
8938
8957
  const finalColumns = useMemo(() => {
8939
8958
  if (RowMenu) {
8940
8959
  const actionColumn = {
@@ -9532,10 +9551,8 @@ const DistributeStorageForm = React__default.forwardRef(function DistributeStora
9532
9551
  distributeStorage: validators.distributeStorage(v)
9533
9552
  });
9534
9553
  },
9535
- onBlur: () => {
9536
- },
9537
- onFocus: () => {
9538
- }
9554
+ onBlur: () => void 0,
9555
+ onFocus: () => void 0
9539
9556
  },
9540
9557
  min: 1,
9541
9558
  meta: {},
@@ -11557,7 +11574,7 @@ const EventsTable = ({ uid }) => {
11557
11574
  width: 120,
11558
11575
  render(value2) {
11559
11576
  const colorMap = {
11560
- "Warning": "red",
11577
+ "Warning": "warning",
11561
11578
  "Normal": "green"
11562
11579
  };
11563
11580
  return /* @__PURE__ */ jsxRuntimeExports.jsx(StatusCapsule, { color: colorMap[value2], className: cx_default(StateTagStyle, "no-background"), children: i18n2.t(`dovetail.${value2.toLowerCase()}`) });
@@ -18606,7 +18623,6 @@ const PodLog = ({
18606
18623
  const [currentItemCount, setCurrentItemCount] = useState(0);
18607
18624
  const [paused, setPaused] = useState(false);
18608
18625
  const [wrap, setWrap] = useState(false);
18609
- const [linesBehind, setLinesBehind] = useState(0);
18610
18626
  const logViewerRef = useRef(null);
18611
18627
  const abortControllerRef = useRef(null);
18612
18628
  const dataProvider2 = useDataProvider();
@@ -18620,10 +18636,6 @@ const PodLog = ({
18620
18636
  if (logViewerRef && logViewerRef.current) {
18621
18637
  logViewerRef.current.scrollToBottom();
18622
18638
  }
18623
- } else if (logs.length !== currentItemCount) {
18624
- setLinesBehind(logs.length - currentItemCount);
18625
- } else {
18626
- setLinesBehind(0);
18627
18639
  }
18628
18640
  }, [paused, logs, currentItemCount]);
18629
18641
  const onScroll = (params) => {
@@ -18742,7 +18754,6 @@ const PodLog = ({
18742
18754
  setSelectedContainer(newValue);
18743
18755
  setLogs([]);
18744
18756
  setPaused(false);
18745
- setLinesBehind(0);
18746
18757
  },
18747
18758
  value: selectedContainer
18748
18759
  },
@@ -37997,7 +38008,7 @@ const Separator = () => {
37997
38008
  });
37998
38009
  };
37999
38010
  const MonacoYamlEditor = React__default.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$2));
38000
- const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-10d71161.js"));
38011
+ const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-ae1a891e.js"));
38001
38012
  const YamlEditorComponent = forwardRef(
38002
38013
  function YamlEditorComponent2(props, ref) {
38003
38014
  const {
@@ -39232,8 +39243,7 @@ function _KeyValueTableFormForm(props, ref) {
39232
39243
  if (!value22)
39233
39244
  return t2("dovetail.key_empty_text");
39234
39245
  const {
39235
- isValid,
39236
- errorMessage
39246
+ isValid
39237
39247
  } = validateLabelKey(value22 || "");
39238
39248
  if (!isValid)
39239
39249
  return t2("dovetail.format_error");
@@ -39444,6 +39454,179 @@ function EditAnnotationDropdownMenuItem(props) {
39444
39454
  }
39445
39455
  );
39446
39456
  }
39457
+ const EditNodeTaintForm_cgov7z = "";
39458
+ const UlStyle = "u19jcs7t";
39459
+ const EditNodeTaintForm = React__default.forwardRef(function EditNodeTaintForm2(props, ref) {
39460
+ const {
39461
+ nodeModel
39462
+ } = props;
39463
+ const {
39464
+ mutateAsync
39465
+ } = useUpdate();
39466
+ const {
39467
+ t: t2
39468
+ } = useTranslation();
39469
+ const defaultValue = useMemo(() => {
39470
+ var _a;
39471
+ return ((_a = nodeModel._rawYaml.spec) == null ? void 0 : _a.taints) || [];
39472
+ }, [nodeModel]);
39473
+ const onSubmit = useCallback((_value) => {
39474
+ const value2 = _value;
39475
+ const newYaml = nodeModel._globalStore.restoreItem(nodeModel);
39476
+ if (newYaml.spec) {
39477
+ newYaml.spec.taints = value2;
39478
+ }
39479
+ pruneBeforeEdit(newYaml);
39480
+ return mutateAsync({
39481
+ id: nodeModel.id,
39482
+ resource: nodeModel.name || "",
39483
+ values: newYaml,
39484
+ meta: {
39485
+ resourceBasePath: nodeModel.apiVersion,
39486
+ kind: nodeModel.kind
39487
+ },
39488
+ successNotification() {
39489
+ return {
39490
+ message: t2("dovetail.edit_node_taint_success_toast", {
39491
+ kind: nodeModel.kind,
39492
+ name: nodeModel.metadata.name,
39493
+ interpolation: {
39494
+ escapeValue: false
39495
+ }
39496
+ }),
39497
+ type: "success"
39498
+ };
39499
+ },
39500
+ errorNotification: false
39501
+ });
39502
+ }, [nodeModel, mutateAsync, t2]);
39503
+ const noScheduleTooltip = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
39504
+ children: [/* @__PURE__ */ jsxRuntimeExports.jsx("b", {
39505
+ children: "NoSchedule"
39506
+ }), /* @__PURE__ */ jsxRuntimeExports.jsxs("ul", {
39507
+ className: UlStyle,
39508
+ children: [/* @__PURE__ */ jsxRuntimeExports.jsx("li", {
39509
+ children: t2("dovetail.taint_effect_NoSchedule_tooltip_1")
39510
+ }), /* @__PURE__ */ jsxRuntimeExports.jsx("li", {
39511
+ children: t2("dovetail.taint_effect_NoSchedule_tooltip_2")
39512
+ })]
39513
+ })]
39514
+ });
39515
+ const preferNoScheduleTooltip = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
39516
+ children: [/* @__PURE__ */ jsxRuntimeExports.jsx("b", {
39517
+ children: "PreferNoSchedule"
39518
+ }), /* @__PURE__ */ jsxRuntimeExports.jsxs("ul", {
39519
+ className: UlStyle,
39520
+ children: [/* @__PURE__ */ jsxRuntimeExports.jsx("li", {
39521
+ children: t2("dovetail.taint_effect_PreferNoSchedule_tooltip_1")
39522
+ }), /* @__PURE__ */ jsxRuntimeExports.jsx("li", {
39523
+ children: t2("dovetail.taint_effect_PreferNoSchedule_tooltip_2")
39524
+ }), /* @__PURE__ */ jsxRuntimeExports.jsx("li", {
39525
+ children: t2("dovetail.taint_effect_PreferNoSchedule_tooltip_3")
39526
+ })]
39527
+ })]
39528
+ });
39529
+ const noExecuteTooltip = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
39530
+ children: [/* @__PURE__ */ jsxRuntimeExports.jsx("b", {
39531
+ children: "NoExecute"
39532
+ }), /* @__PURE__ */ jsxRuntimeExports.jsx("ul", {
39533
+ className: UlStyle,
39534
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx("li", {
39535
+ children: t2("dovetail.taint_effect_NoExecute_tooltip_3")
39536
+ })
39537
+ })]
39538
+ });
39539
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(KeyValueTableFormForm, {
39540
+ ref,
39541
+ defaultValue,
39542
+ onSubmit,
39543
+ addButtonText: t2("dovetail.add_taint"),
39544
+ extraColumns: [{
39545
+ key: "effect",
39546
+ title: t2("dovetail.effect"),
39547
+ render: ({
39548
+ value: value2,
39549
+ onChange
39550
+ }) => {
39551
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Select, {
39552
+ input: {},
39553
+ value: value2,
39554
+ onChange,
39555
+ size: "small",
39556
+ children: getOptions([{
39557
+ value: "NoSchedule",
39558
+ children: t2(`dovetail.node_taint_${"NoSchedule"}`),
39559
+ suffix: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, {
39560
+ title: noScheduleTooltip,
39561
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, {
39562
+ src: InfoICircleFill16GrayIcon,
39563
+ hoverSrc: InfoICircleFill16Gray70Icon
39564
+ })
39565
+ })
39566
+ }, {
39567
+ value: "PreferNoSchedule",
39568
+ children: t2(`dovetail.node_taint_${"PreferNoSchedule"}`),
39569
+ suffix: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, {
39570
+ title: preferNoScheduleTooltip,
39571
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, {
39572
+ src: InfoICircleFill16GrayIcon,
39573
+ hoverSrc: InfoICircleFill16Gray70Icon
39574
+ })
39575
+ })
39576
+ }, {
39577
+ value: "NoExecute",
39578
+ children: t2(`dovetail.node_taint_${"NoExecute"}`),
39579
+ suffix: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, {
39580
+ title: noExecuteTooltip,
39581
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, {
39582
+ src: InfoICircleFill16GrayIcon,
39583
+ hoverSrc: InfoICircleFill16Gray70Icon
39584
+ })
39585
+ })
39586
+ }])
39587
+ });
39588
+ },
39589
+ validator: ({
39590
+ value: value2
39591
+ }) => {
39592
+ if (!value2)
39593
+ return t2("dovetail.taint_effect_empty_text");
39594
+ }
39595
+ }]
39596
+ });
39597
+ });
39598
+ function EditNodeTaintDropdownMenuItem(props) {
39599
+ const { formRef, resourceModel } = props;
39600
+ const { t: t2 } = useTranslation();
39601
+ const pushModal = usePushModal();
39602
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
39603
+ Menu$1.Item,
39604
+ {
39605
+ className: "ant-dropdown-menu-item",
39606
+ onClick: () => {
39607
+ const modalProps = {
39608
+ formRef,
39609
+ title: t2("dovetail.edit_node_taint"),
39610
+ fullscreen: true,
39611
+ renderContent() {
39612
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
39613
+ EditNodeTaintForm,
39614
+ {
39615
+ ref: formRef,
39616
+ nodeModel: resourceModel
39617
+ }
39618
+ );
39619
+ }
39620
+ };
39621
+ pushModal({
39622
+ component: EditFieldModal,
39623
+ props: modalProps
39624
+ });
39625
+ },
39626
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, { src: EditPen16BlueIcon, children: t2("dovetail.edit_node_taint") })
39627
+ }
39628
+ );
39629
+ }
39447
39630
  const index_sazpyf = "";
39448
39631
  const WrapperStyle = "wfg6u6g";
39449
39632
  const InnerBar = ({
@@ -40683,7 +40866,7 @@ export {
40683
40866
  useGlobalStore as Z,
40684
40867
  useOpenForm as _,
40685
40868
  useApiGroupSchema as a,
40686
- PortsTableField as a$,
40869
+ PodSelectorField as a$,
40687
40870
  WidgetErrorContent as a0,
40688
40871
  Breadcrumb as a1,
40689
40872
  NameInputWidget as a2,
@@ -40694,33 +40877,33 @@ export {
40694
40877
  namespaceRules as a7,
40695
40878
  KeyValueListWidget as a8,
40696
40879
  MetadataForm as a9,
40697
- Separator as aA,
40698
- YamlEditorComponent as aB,
40699
- DeleteButton as aC,
40700
- Layout as aD,
40701
- AreaType as aE,
40702
- ImageField as aF,
40703
- ReplicaField as aG,
40704
- ConditionsField as aH,
40705
- NodeTaintsField as aI,
40706
- PodsField as aJ,
40707
- JobsField as aK,
40708
- DataField as aL,
40709
- SecretDataField as aM,
40710
- StartTimeField as aN,
40711
- ServiceTypeField as aO,
40712
- ClusterIpField as aP,
40713
- SessionAffinityField as aQ,
40714
- ServicePodsField as aR,
40715
- IngressRulesTableTabField as aS,
40716
- EventsTableTabField as aT,
40717
- NamespaceField as aU,
40718
- AgeField as aV,
40719
- LabelsField as aW,
40720
- AnnotationsField as aX,
40721
- ServiceInnerClusterAccessField as aY,
40722
- ServiceOutClusterAccessField as aZ,
40723
- PodSelectorField as a_,
40880
+ KeyValueSecret as aA,
40881
+ Separator as aB,
40882
+ YamlEditorComponent as aC,
40883
+ DeleteButton as aD,
40884
+ Layout as aE,
40885
+ AreaType as aF,
40886
+ ImageField as aG,
40887
+ ReplicaField as aH,
40888
+ ConditionsField as aI,
40889
+ NodeTaintsField as aJ,
40890
+ PodsField as aK,
40891
+ JobsField as aL,
40892
+ DataField as aM,
40893
+ SecretDataField as aN,
40894
+ StartTimeField as aO,
40895
+ ServiceTypeField as aP,
40896
+ ClusterIpField as aQ,
40897
+ SessionAffinityField as aR,
40898
+ ServicePodsField as aS,
40899
+ IngressRulesTableTabField as aT,
40900
+ EventsTableTabField as aU,
40901
+ NamespaceField as aV,
40902
+ AgeField as aW,
40903
+ LabelsField as aX,
40904
+ AnnotationsField as aY,
40905
+ ServiceInnerClusterAccessField as aZ,
40906
+ ServiceOutClusterAccessField as a_,
40724
40907
  PageShow as aa,
40725
40908
  Time as ab,
40726
40909
  ConditionsTable as ac,
@@ -40740,154 +40923,155 @@ export {
40740
40923
  K8sDropdown as aq,
40741
40924
  EditLabelDropdownMenuItem as ar,
40742
40925
  EditAnnotationDropdownMenuItem as as,
40743
- ResourceUsageBar as at,
40744
- WorkloadReplicasForm as au,
40745
- WorkloadReplicas as av,
40746
- CronjobJobsTable as aw,
40747
- KeyValue as ax,
40748
- KeyValueAnnotation as ay,
40749
- KeyValueSecret as az,
40926
+ EditNodeTaintDropdownMenuItem as at,
40927
+ ResourceUsageBar as au,
40928
+ WorkloadReplicasForm as av,
40929
+ WorkloadReplicas as aw,
40930
+ CronjobJobsTable as ax,
40931
+ KeyValue as ay,
40932
+ KeyValueAnnotation as az,
40750
40933
  useSchema as b,
40751
- PVVolumeModeDisplay as b$,
40752
- DurationField as b0,
40753
- StorageClassProvisionerField as b1,
40754
- StorageClassPvField as b2,
40755
- PVCapacityField as b3,
40756
- PVCStorageField as b4,
40757
- PVRefField as b5,
40758
- PVStorageClassField as b6,
40759
- PVPhaseField as b7,
40760
- PVVolumeModeField as b8,
40761
- PVAccessModeField as b9,
40762
- ShowGroupComponent as bA,
40763
- ShowContent as bB,
40764
- DeleteManyButton as bC,
40765
- ListPage as bD,
40766
- StateTag as bE,
40767
- DrawerShow as bF,
40768
- Menu as bG,
40769
- Table as bH,
40770
- EditButton as bI,
40771
- ReferenceLink as bJ,
40772
- ResourceLink as bK,
40773
- NS_STORE_KEY as bL,
40774
- ALL_NS as bM,
40775
- useNamespacesFilter as bN,
40776
- NamespacesFilter as bO,
40777
- FormModal as bP,
40778
- RefineFormContent as bQ,
40779
- RefineFormPage as bR,
40780
- SchemaStrategy as bS,
40781
- YamlForm as bT,
40782
- useRefineForm as bU,
40783
- ServiceInClusterAccessComponent as bV,
40784
- ServiceOutClusterAccessComponent as bW,
40785
- Tags as bX,
40786
- TextTags as bY,
40787
- PodLog as bZ,
40788
- NetworkPolicyRulesViewer as b_,
40789
- PVCPodsField as ba,
40790
- PVCRefField as bb,
40791
- PVCSIRefField as bc,
40792
- IsDefaultSCField as bd,
40793
- SCReclaimPolicyField as be,
40794
- IsSCAllowVolumeExpansionField as bf,
40795
- ResourceTableField as bg,
40796
- EventsTab as bh,
40797
- PodLogTab as bi,
40798
- BasicGroup as bj,
40799
- PodsGroup as bk,
40800
- PodContainersGroup as bl,
40801
- ServicePodsGroup as bm,
40802
- PVCPodsGroup as bn,
40803
- ConditionsGroup as bo,
40804
- NodeTaintsGroup as bp,
40805
- SecretDataGroup as bq,
40806
- JobsGroup as br,
40807
- IngressRulesGroup as bs,
40808
- PodSelectorGroup as bt,
40809
- PortsGroup as bu,
40810
- DataGroup as bv,
40811
- NetworkPolicyIngressRulesGroup as bw,
40812
- NetworkPolicyEgressRulesGroup as bx,
40813
- StorageClassPvGroup as by,
40814
- ResourceTableGroup as bz,
40934
+ NetworkPolicyRulesViewer as b$,
40935
+ PortsTableField as b0,
40936
+ DurationField as b1,
40937
+ StorageClassProvisionerField as b2,
40938
+ StorageClassPvField as b3,
40939
+ PVCapacityField as b4,
40940
+ PVCStorageField as b5,
40941
+ PVRefField as b6,
40942
+ PVStorageClassField as b7,
40943
+ PVPhaseField as b8,
40944
+ PVVolumeModeField as b9,
40945
+ ResourceTableGroup as bA,
40946
+ ShowGroupComponent as bB,
40947
+ ShowContent as bC,
40948
+ DeleteManyButton as bD,
40949
+ ListPage as bE,
40950
+ StateTag as bF,
40951
+ DrawerShow as bG,
40952
+ Menu as bH,
40953
+ Table as bI,
40954
+ EditButton as bJ,
40955
+ ReferenceLink as bK,
40956
+ ResourceLink as bL,
40957
+ NS_STORE_KEY as bM,
40958
+ ALL_NS as bN,
40959
+ useNamespacesFilter as bO,
40960
+ NamespacesFilter as bP,
40961
+ FormModal as bQ,
40962
+ RefineFormContent as bR,
40963
+ RefineFormPage as bS,
40964
+ SchemaStrategy as bT,
40965
+ YamlForm as bU,
40966
+ useRefineForm as bV,
40967
+ ServiceInClusterAccessComponent as bW,
40968
+ ServiceOutClusterAccessComponent as bX,
40969
+ Tags as bY,
40970
+ TextTags as bZ,
40971
+ PodLog as b_,
40972
+ PVAccessModeField as ba,
40973
+ PVCPodsField as bb,
40974
+ PVCRefField as bc,
40975
+ PVCSIRefField as bd,
40976
+ IsDefaultSCField as be,
40977
+ SCReclaimPolicyField as bf,
40978
+ IsSCAllowVolumeExpansionField as bg,
40979
+ ResourceTableField as bh,
40980
+ EventsTab as bi,
40981
+ PodLogTab as bj,
40982
+ BasicGroup as bk,
40983
+ PodsGroup as bl,
40984
+ PodContainersGroup as bm,
40985
+ ServicePodsGroup as bn,
40986
+ PVCPodsGroup as bo,
40987
+ ConditionsGroup as bp,
40988
+ NodeTaintsGroup as bq,
40989
+ SecretDataGroup as br,
40990
+ JobsGroup as bs,
40991
+ IngressRulesGroup as bt,
40992
+ PodSelectorGroup as bu,
40993
+ PortsGroup as bv,
40994
+ DataGroup as bw,
40995
+ NetworkPolicyIngressRulesGroup as bx,
40996
+ NetworkPolicyEgressRulesGroup as by,
40997
+ StorageClassPvGroup as bz,
40815
40998
  useDeleteModal as c,
40816
- PersistentVolumeClaimModel as c$,
40817
- Tabs as c0,
40818
- ResourceSelect as c1,
40819
- SocketStatus as c2,
40820
- Shell as c3,
40821
- PodShellModal as c4,
40822
- PodShell as c5,
40823
- ResourceTable as c6,
40824
- ErrorWrapper as c7,
40825
- ErrorContentType as c8,
40826
- BASE_INIT_VALUE as c9,
40827
- ResourceState as cA,
40828
- AccessControlAuth as cB,
40829
- Dovetail as cC,
40830
- RESOURCE_GROUP as cD,
40831
- FormType as cE,
40832
- ComponentContext as cF,
40833
- GlobalStoreContext as cG,
40834
- ConfigsContext as cH,
40835
- IngressModel as cI,
40836
- NetworkPolicyModel as cJ,
40837
- JobModel as cK,
40838
- WorkloadModel as cL,
40839
- WorkloadBaseModel as cM,
40840
- PodModel as cN,
40841
- PodMetricsModel as cO,
40842
- ResourceModel as cP,
40843
- CronJobModel as cQ,
40844
- EventModel as cR,
40845
- DeploymentModel as cS,
40846
- DaemonSetModel as cT,
40847
- StatefulSetModel as cU,
40848
- ServiceTypeEnum as cV,
40849
- ServiceModel as cW,
40850
- NodeRole as cX,
40851
- NodeModel as cY,
40852
- StorageClassModel as cZ,
40853
- PersistentVolumeModel as c_,
40854
- DEPLOYMENT_INIT_VALUE as ca,
40855
- CRONJOB_INIT_VALUE as cb,
40856
- DAEMONSET_INIT_VALUE as cc,
40857
- JOB_INIT_VALUE as cd,
40858
- STATEFULSET_INIT_VALUE as ce,
40859
- POD_INIT_VALUE as cf,
40860
- SERVICE_CLUSTER_IP_INIT_VALUE as cg,
40861
- SERVICE_NODE_PORT_INIT_VALUE as ch,
40862
- SERVICE_LOAD_BALANCER_INIT_VALUE as ci,
40863
- SERVICE_EXTERNAL_NAME_INIT_VALUE as cj,
40864
- SERVICE_HEADLESS_INIT_VALUE as ck,
40865
- INGRESS_INIT_VALUE as cl,
40866
- NETWORK_POLICY_INIT_VALUE as cm,
40867
- CONFIG_MAP_INIT_VALUE as cn,
40868
- SERVER_INSTANCE_INIT_VALUE as co,
40869
- REDEPLOY_TIMESTAMP_KEY as cp,
40870
- SECRET_OPAQUE_INIT_VALUE as cq,
40871
- SECRET_IMAGE_REPO_INIT_VALUE as cr,
40872
- SECRET_BASIC_AUTH_INIT_VALUE as cs,
40873
- SECRET_SSH_AUTH_INIT_VALUE as ct,
40874
- SECRET_TLS_INIT_VALUE as cu,
40875
- SECRET_CUSTOM_INIT_VALUE as cv,
40876
- NODE_INIT_VALUE as cw,
40877
- STORAGE_CLASS_INIT_VALUE as cx,
40878
- PV_INIT_VALUE as cy,
40879
- PVC_INIT_VALUE as cz,
40999
+ PersistentVolumeModel as c$,
41000
+ PVVolumeModeDisplay as c0,
41001
+ Tabs as c1,
41002
+ ResourceSelect as c2,
41003
+ SocketStatus as c3,
41004
+ Shell as c4,
41005
+ PodShellModal as c5,
41006
+ PodShell as c6,
41007
+ ResourceTable as c7,
41008
+ ErrorWrapper as c8,
41009
+ ErrorContentType as c9,
41010
+ PVC_INIT_VALUE as cA,
41011
+ ResourceState as cB,
41012
+ AccessControlAuth as cC,
41013
+ Dovetail as cD,
41014
+ RESOURCE_GROUP as cE,
41015
+ FormType as cF,
41016
+ ComponentContext as cG,
41017
+ GlobalStoreContext as cH,
41018
+ ConfigsContext as cI,
41019
+ IngressModel as cJ,
41020
+ NetworkPolicyModel as cK,
41021
+ JobModel as cL,
41022
+ WorkloadModel as cM,
41023
+ WorkloadBaseModel as cN,
41024
+ PodModel as cO,
41025
+ PodMetricsModel as cP,
41026
+ ResourceModel as cQ,
41027
+ CronJobModel as cR,
41028
+ EventModel as cS,
41029
+ DeploymentModel as cT,
41030
+ DaemonSetModel as cU,
41031
+ StatefulSetModel as cV,
41032
+ ServiceTypeEnum as cW,
41033
+ ServiceModel as cX,
41034
+ NodeRole as cY,
41035
+ NodeModel as cZ,
41036
+ StorageClassModel as c_,
41037
+ BASE_INIT_VALUE as ca,
41038
+ DEPLOYMENT_INIT_VALUE as cb,
41039
+ CRONJOB_INIT_VALUE as cc,
41040
+ DAEMONSET_INIT_VALUE as cd,
41041
+ JOB_INIT_VALUE as ce,
41042
+ STATEFULSET_INIT_VALUE as cf,
41043
+ POD_INIT_VALUE as cg,
41044
+ SERVICE_CLUSTER_IP_INIT_VALUE as ch,
41045
+ SERVICE_NODE_PORT_INIT_VALUE as ci,
41046
+ SERVICE_LOAD_BALANCER_INIT_VALUE as cj,
41047
+ SERVICE_EXTERNAL_NAME_INIT_VALUE as ck,
41048
+ SERVICE_HEADLESS_INIT_VALUE as cl,
41049
+ INGRESS_INIT_VALUE as cm,
41050
+ NETWORK_POLICY_INIT_VALUE as cn,
41051
+ CONFIG_MAP_INIT_VALUE as co,
41052
+ SERVER_INSTANCE_INIT_VALUE as cp,
41053
+ REDEPLOY_TIMESTAMP_KEY as cq,
41054
+ SECRET_OPAQUE_INIT_VALUE as cr,
41055
+ SECRET_IMAGE_REPO_INIT_VALUE as cs,
41056
+ SECRET_BASIC_AUTH_INIT_VALUE as ct,
41057
+ SECRET_SSH_AUTH_INIT_VALUE as cu,
41058
+ SECRET_TLS_INIT_VALUE as cv,
41059
+ SECRET_CUSTOM_INIT_VALUE as cw,
41060
+ NODE_INIT_VALUE as cx,
41061
+ STORAGE_CLASS_INIT_VALUE as cy,
41062
+ PV_INIT_VALUE as cz,
40880
41063
  dovetailRefineI18n as d,
40881
- ProviderPlugins as d0,
40882
- ModelPlugin as d1,
40883
- modelPlugin as d2,
40884
- RelationPlugin as d3,
40885
- relationPlugin as d4,
40886
- generateValueFromSchema as d5,
40887
- generateSchemaTypeValue as d6,
40888
- resolveRef as d7,
40889
- getApiVersion as d8,
40890
- pruneBeforeEdit as d9,
41064
+ PersistentVolumeClaimModel as d0,
41065
+ ProviderPlugins as d1,
41066
+ ModelPlugin as d2,
41067
+ modelPlugin as d3,
41068
+ RelationPlugin as d4,
41069
+ relationPlugin as d5,
41070
+ generateValueFromSchema as d6,
41071
+ generateSchemaTypeValue as d7,
41072
+ resolveRef as d8,
41073
+ getApiVersion as d9,
41074
+ pruneBeforeEdit as da,
40891
41075
  NameSpaceColumnRenderer as e,
40892
41076
  WorkloadRestartsColumnRenderer as f,
40893
41077
  NodeNameColumnRenderer as g,