@dovetail-v2/refine 0.3.2 → 0.3.3

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.
@@ -6,7 +6,7 @@ const monaco = require("monaco-editor");
6
6
  const monacoYaml = require("monaco-yaml");
7
7
  const React = require("react");
8
8
  const ReactDOM = require("react-dom");
9
- const refine = require("./index-ec66ac8f.cjs");
9
+ const refine = require("./index-c1aada44.cjs");
10
10
  require("dayjs");
11
11
  require("i18next");
12
12
  require("@refinedev/core");
@@ -4,7 +4,7 @@ import * as monaco from "monaco-editor";
4
4
  import { setDiagnosticsOptions } from "monaco-yaml";
5
5
  import { useRef, useEffect } from "react";
6
6
  import ReactDOM from "react-dom";
7
- import { Y as YamlEditorStyle } from "./index-3126e84d.js";
7
+ import { Y as YamlEditorStyle } from "./index-96fcca10.js";
8
8
  import "dayjs";
9
9
  import "i18next";
10
10
  import "@refinedev/core";
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { ResourceModel } from '../../models';
3
3
  import { ShowConfig } from '../ShowContent';
4
- type Props<Model extends ResourceModel> = {
4
+ type Props<Model extends ResourceModel> = React.PropsWithChildren<{
5
5
  showConfig: ShowConfig<Model>;
6
6
  formatter?: (r: Model) => Model;
7
7
  Dropdown?: React.FC<{
8
8
  record: Model;
9
9
  }>;
10
- };
10
+ }>;
11
11
  export declare const PageShow: <Model extends ResourceModel<import("k8s-api-provider").Unstructured>>(props: Props<Model>) => JSX.Element;
12
12
  export {};
@@ -3,4 +3,5 @@ import '@patternfly/react-core/dist/styles/base-no-reset.css';
3
3
  import { PodModel } from '../../models';
4
4
  export declare const PodLog: React.FC<{
5
5
  pod: PodModel;
6
+ apiUrl: string;
6
7
  }>;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ResourceModel } from '../../models';
3
3
  import { ShowContentViewProps } from './ShowContentView';
4
- type Props<Model extends ResourceModel> = Omit<ShowContentViewProps<Model>, 'id' | 'resourceName'>;
4
+ type Props<Model extends ResourceModel> = React.PropsWithChildren<Omit<ShowContentViewProps<Model>, 'id' | 'resourceName'>>;
5
5
  export declare const ShowContent: <Model extends ResourceModel<import("k8s-api-provider").Unstructured>>(props: Props<Model>) => JSX.Element;
6
6
  export {};
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ResourceModel } from '../../models';
3
3
  import { ShowConfig } from './fields';
4
- export type ShowContentViewProps<Model extends ResourceModel> = {
4
+ export type ShowContentViewProps<Model extends ResourceModel> = React.PropsWithChildren<{
5
5
  id: string;
6
6
  resourceName: string;
7
7
  showConfig: ShowConfig<Model>;
@@ -10,12 +10,14 @@ export type ShowContentViewProps<Model extends ResourceModel> = {
10
10
  record: Model;
11
11
  }>;
12
12
  hideBackButton?: boolean;
13
- };
13
+ canCollapseTabs?: boolean;
14
+ }>;
14
15
  type ShowGroupComponentProps = React.PropsWithChildren<{
15
16
  title: string;
16
17
  className?: string;
17
18
  operationEle?: React.ReactElement | null;
18
19
  }>;
19
20
  export declare function ShowGroupComponent(props: ShowGroupComponentProps): JSX.Element;
21
+ export declare function BasicShowGroupComponent(props: React.PropsWithChildren<unknown>): JSX.Element;
20
22
  export declare const ShowContentView: <Model extends ResourceModel<import("k8s-api-provider").Unstructured>>(props: ShowContentViewProps<Model>) => JSX.Element | null;
21
23
  export {};
@@ -2,4 +2,4 @@ import { i18n as I18nType } from 'i18next';
2
2
  import { ResourceModel, PodModel } from 'src/models';
3
3
  import { ShowTab } from './fields';
4
4
  export declare const EventsTab: <Model extends ResourceModel<import("k8s-api-provider").Unstructured>>(i18n: I18nType) => ShowTab<Model>;
5
- export declare const PodLogTab: <Model extends PodModel>(i18n: I18nType) => ShowTab<Model>;
5
+ export declare const PodLogTab: <Model extends PodModel>(i18n: I18nType, apiUrl: string) => ShowTab<Model>;
package/dist/i18n.d.ts CHANGED
@@ -491,6 +491,8 @@ export declare const resources: {
491
491
  cant_delete_resource_with_name: string;
492
492
  close: string;
493
493
  import_from_file: string;
494
+ view_all_info: string;
495
+ collapse: string;
494
496
  };
495
497
  };
496
498
  };
@@ -7,13 +7,13 @@ var __publicField = (obj, key2, value2) => {
7
7
  import dayjs from "dayjs";
8
8
  import i18n from "i18next";
9
9
  import { w as warnOnce, g as getDefaults, a as warn, b as getI18n, s as setDefaults, d as setI18n, I as I18nContext, j as jsxRuntimeExports, u as useTranslation, c as cx_default, S as SocketStatus } from "./common-feae5742.js";
10
- import { ResourceContext, matchResourceFromRoute, useResource, useDelete, useNavigation, useBreadcrumb, useList, CanAccess, useUpdate, useParsed, useGo, useCan, useTable, useDeleteMany, useDataProvider, useShow, useRefineContext, useTranslate, useWarnAboutChange, useForm as useForm$2, flattenObjectKeys, pickNotDeprecated, useMenu, Refine } from "@refinedev/core";
10
+ import { ResourceContext, matchResourceFromRoute, useResource, useDelete, useNavigation, useBreadcrumb, useList, CanAccess, useUpdate, useParsed, useGo, useCan, useTable, useDeleteMany, useShow, useRefineContext, useTranslate, useWarnAboutChange, useForm as useForm$2, flattenObjectKeys, pickNotDeprecated, useMenu, Refine } from "@refinedev/core";
11
11
  import { parse, stringify } from "qs";
12
12
  import * as React from "react";
13
13
  import React__default, { createElement, isValidElement, cloneElement, Children, useContext, useCallback, createContext, useState, useEffect, useMemo, useRef, useImperativeHandle, lazy, Suspense, forwardRef } from "react";
14
14
  import { useLocation, useHistory, useParams, matchPath, Link, Route, NavLink, Router } from "react-router-dom";
15
15
  import { usePushModal, usePopModal, DeleteDialog, Tag, RejectDialog, RejectDialogType, Input, Select, AntdOption, Button, Form, Space, TextArea, kitContext, Typo, Loading, Table as Table$2, Pagination, Alert, Modal, Fields, Units, Link as Link$1, OverflowTooltip, Tooltip, Dropdown, Menu as Menu$1, Icon as Icon$1, Divider, StatusCapsule, Popover, AntdTable, TableForm, Upload, getOptions, DonutChart, SegmentControl, Checkbox, Tabs as Tabs$1, TabsTabPane, Row, Col, useMessage, SearchInput, Token, AntdSelectOptGroup, MenuItemGroup, Layout as Layout$1, Time as Time$1, ModalStack, KitStoreProvider, ConfigProvider } from "@cloudtower/eagle";
16
- import { EditPen16PrimaryIcon, Download16GradientBlueIcon, TrashBinDelete16Icon, MoreEllipsis324BoldSecondaryIcon, MoreEllipsis324BoldBlueIcon, MoreEllipsis316BoldBlueIcon, PlusAddCreateNew16BoldOntintIcon, ViewEye16GradientGrayIcon, EntityFilterIgnoreGradient16GrayIcon, InfoICircleFill16GrayIcon, InfoICircleFill16Gray70Icon, RecoverContinue16GradientBlueIcon, SuspendedPause16GradientBlueIcon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, Retry16GradientBlueIcon, OpenTerminal16GradientBlueIcon, HierarchyTriangleRight16GrayIcon, HierarchyTriangleRight16BlueIcon, ClipboardCopy16GradientGrayIcon, ClipboardCopy16GradientBlueIcon, Retry16GradientGrayIcon, EditPen16GradientGrayIcon, EditPen16GradientBlueIcon, Showdiff16GradientGrayIcon, Showdiff16GradientBlueIcon, XmarkFailedSeriousWarningFill16RedIcon, ExclamationErrorCircleFill16RedIcon, Pause16GradientBlueIcon, EditPen16BlueIcon } from "@cloudtower/icons-react";
16
+ import { EditPen16PrimaryIcon, Download16GradientBlueIcon, TrashBinDelete16Icon, MoreEllipsis324BoldSecondaryIcon, MoreEllipsis324BoldBlueIcon, MoreEllipsis316BoldBlueIcon, PlusAddCreateNew16BoldOntintIcon, ViewEye16GradientGrayIcon, EntityFilterIgnoreGradient16GrayIcon, InfoICircleFill16GrayIcon, InfoICircleFill16Gray70Icon, RecoverContinue16GradientBlueIcon, SuspendedPause16GradientBlueIcon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, ArrowChevronUp16BoldSecondaryIcon, ArrowBoldDown16Icon, Retry16GradientBlueIcon, OpenTerminal16GradientBlueIcon, HierarchyTriangleRight16GrayIcon, HierarchyTriangleRight16BlueIcon, ClipboardCopy16GradientGrayIcon, ClipboardCopy16GradientBlueIcon, Retry16GradientGrayIcon, EditPen16GradientGrayIcon, EditPen16GradientBlueIcon, Showdiff16GradientGrayIcon, Showdiff16GradientBlueIcon, XmarkFailedSeriousWarningFill16RedIcon, ExclamationErrorCircleFill16RedIcon, Pause16GradientBlueIcon, EditPen16BlueIcon } from "@cloudtower/icons-react";
17
17
  import { first, get as get$2, cloneDeep, set, omit as omit$1, merge, isEqual, debounce, last, setWith, clone, isObject as isObject$3, uniq, keyBy } from "lodash-es";
18
18
  import yaml$2 from "js-yaml";
19
19
  import { useLocalStorage } from "usehooks-ts";
@@ -1164,6 +1164,8 @@ const cant_delete_resource = "无法删除{{resource}}";
1164
1164
  const cant_delete_resource_with_name = "无法删除{{resource}} <0>{{name}}</0> 。";
1165
1165
  const close = "关闭";
1166
1166
  const import_from_file = "从文件读取";
1167
+ const view_all_info = "查看全部信息";
1168
+ const collapse = "收起";
1167
1169
  const dovetail = {
1168
1170
  copy,
1169
1171
  reset_arguments,
@@ -1406,7 +1408,9 @@ const dovetail = {
1406
1408
  cant_delete_resource,
1407
1409
  cant_delete_resource_with_name,
1408
1410
  close,
1409
- import_from_file
1411
+ import_from_file,
1412
+ view_all_info,
1413
+ collapse
1410
1414
  };
1411
1415
  const ZH = {
1412
1416
  dovetail
@@ -12463,13 +12467,14 @@ const ResourceTableField = (resource, useTableParams) => {
12463
12467
  };
12464
12468
  };
12465
12469
  const baseNoReset = "";
12466
- const index_v855ki = "";
12470
+ const index_14irc29 = "";
12467
12471
  const WrapperStyle$3 = "wve7dfm";
12468
12472
  const ToolbarStyle = "t9oeh3c";
12469
12473
  const ToolbarAreaStyle = "t1u2zqn6";
12470
12474
  const ContentStyle$1 = "c8wrcus";
12471
12475
  const PodLog = ({
12472
- pod: pod2
12476
+ pod: pod2,
12477
+ apiUrl
12473
12478
  }) => {
12474
12479
  var _a, _b, _c, _d, _e;
12475
12480
  const [selectedContainer, setSelectedContainer] = useState(((_b = (_a = pod2.spec) == null ? void 0 : _a.containers[0]) == null ? void 0 : _b.name) || "");
@@ -12480,8 +12485,6 @@ const PodLog = ({
12480
12485
  const [wrap, setWrap] = useState(false);
12481
12486
  const logViewerRef = useRef(null);
12482
12487
  const abortControllerRef = useRef(null);
12483
- const dataProvider2 = useDataProvider();
12484
- const apiUrl = dataProvider2()["getApiUrl"]();
12485
12488
  const {
12486
12489
  t: t2
12487
12490
  } = useTranslation();
@@ -12671,7 +12674,7 @@ const EventsTab = (i18n2) => ({
12671
12674
  }
12672
12675
  ]
12673
12676
  });
12674
- const PodLogTab = (i18n2) => ({
12677
+ const PodLogTab = (i18n2, apiUrl) => ({
12675
12678
  title: i18n2.t("dovetail.log"),
12676
12679
  key: "pod-log",
12677
12680
  groups: [
@@ -12683,7 +12686,7 @@ const PodLogTab = (i18n2) => ({
12683
12686
  key: "log",
12684
12687
  path: [],
12685
12688
  renderContent: (_, record) => {
12686
- return /* @__PURE__ */ jsxRuntimeExports.jsx(PodLog, { pod: record });
12689
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(PodLog, { pod: record, apiUrl });
12687
12690
  }
12688
12691
  }
12689
12692
  ]
@@ -12693,7 +12696,7 @@ const PodLogTab = (i18n2) => ({
12693
12696
  ]
12694
12697
  });
12695
12698
  const NetworkPolicyRulesViewer_r6jity = "";
12696
- const MonacoYamlEditor$1 = lazy(() => import("./MonacoYamlEditor-d09e7de9.js"));
12699
+ const MonacoYamlEditor$1 = lazy(() => import("./MonacoYamlEditor-be20caed.js"));
12697
12700
  const EditorStyle$1 = "e1cjl2b8";
12698
12701
  const NetworkPolicyRulesViewer = ({
12699
12702
  ingressOrEgress,
@@ -13037,7 +13040,7 @@ function Tabs(props) {
13037
13040
  return /* @__PURE__ */ jsxRuntimeExports.jsx(TabsTabPane, { tab: tab.title, children: tab.children }, tab.title);
13038
13041
  }) });
13039
13042
  }
13040
- const ShowContentView_1mvcyif = "";
13043
+ const ShowContentView_19saq6u = "";
13041
13044
  const ShowContentWrapperStyle = "soapvs9";
13042
13045
  const BackButton = "b13d603q";
13043
13046
  const ToolBarWrapper = "tm8eaia";
@@ -13045,12 +13048,14 @@ const NameStyle = "nhnus27";
13045
13048
  const TopBarStyle = "t16t20f5";
13046
13049
  const ShowContentHeaderStyle = "s97y2wr";
13047
13050
  const GroupStyle = "g1rhnxqx";
13048
- const GroupTitleStyle = "g1f1s2pc";
13049
- const FullTabContentStyle = "f1qw3bxx";
13050
- const FieldWrapperStyle = "flfewds";
13051
- const TabContentStyle = "t1c7cta8";
13052
- const ValueStyle = "v1pt61xk";
13053
- const TabsStyle = "t1to6fie";
13051
+ const BasicGroupStyle = "b1f1s2pc";
13052
+ const GroupTitleStyle = "g1qw3bxx";
13053
+ const FullTabContentStyle = "flfewds";
13054
+ const FieldWrapperStyle = "f1c7cta8";
13055
+ const TabContentStyle = "t1pt61xk";
13056
+ const ValueStyle = "v1to6fie";
13057
+ const TabsStyle = "tca5959";
13058
+ const KindTagStyle = "k3dcesi";
13054
13059
  function ShowGroupComponent(props) {
13055
13060
  const {
13056
13061
  title,
@@ -13068,6 +13073,15 @@ function ShowGroupComponent(props) {
13068
13073
  }), children]
13069
13074
  });
13070
13075
  }
13076
+ function BasicShowGroupComponent(props) {
13077
+ const {
13078
+ children
13079
+ } = props;
13080
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
13081
+ className: BasicGroupStyle,
13082
+ children
13083
+ });
13084
+ }
13071
13085
  const ShowContentView = (props) => {
13072
13086
  var _a, _b, _c, _d;
13073
13087
  const {
@@ -13075,8 +13089,10 @@ const ShowContentView = (props) => {
13075
13089
  resourceName,
13076
13090
  showConfig,
13077
13091
  formatter,
13092
+ children,
13078
13093
  Dropdown: Dropdown2 = K8sDropdown,
13079
- hideBackButton = false
13094
+ hideBackButton = false,
13095
+ canCollapseTabs = false
13080
13096
  } = props;
13081
13097
  const {
13082
13098
  queryResult
@@ -13119,7 +13135,7 @@ const ShowContentView = (props) => {
13119
13135
  return hasCol ? /* @__PURE__ */ jsxRuntimeExports.jsx(Col, {
13120
13136
  flex: areaType === AreaType.Inline ? "none" : "",
13121
13137
  span: field.col || 24,
13122
- className: "cca5959",
13138
+ className: "czyzuo8",
13123
13139
  children: field.render ? field.render(value2, record, field) : /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
13124
13140
  className: FieldWrapperStyle,
13125
13141
  children: [field.title && /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
@@ -13152,8 +13168,13 @@ const ShowContentView = (props) => {
13152
13168
  });
13153
13169
  });
13154
13170
  }
13155
- function renderGroup(group) {
13156
- const GroupContainer = group.title ? ShowGroupComponent : React__default.Fragment;
13171
+ function renderGroup(group, isBasicGroup = false) {
13172
+ let GroupContainer = React__default.Fragment;
13173
+ if (isBasicGroup) {
13174
+ GroupContainer = BasicShowGroupComponent;
13175
+ } else if (group.title) {
13176
+ GroupContainer = ShowGroupComponent;
13177
+ }
13157
13178
  const FieldContainer = group.title ? Row : React__default.Fragment;
13158
13179
  const groupContainerProps = group.title ? {
13159
13180
  title: group.title || ""
@@ -13202,7 +13223,10 @@ const ShowContentView = (props) => {
13202
13223
  style: {
13203
13224
  display: "flex"
13204
13225
  },
13205
- children: [/* @__PURE__ */ jsxRuntimeExports.jsx("span", {
13226
+ children: [/* @__PURE__ */ jsxRuntimeExports.jsx(Tag.NameTag, {
13227
+ className: KindTagStyle,
13228
+ children: config.kind
13229
+ }), /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
13206
13230
  className: cx_default(Typo.Display.d2_regular_title, NameStyle),
13207
13231
  children: ((_a = showConfig.displayName) == null ? void 0 : _a.call(showConfig, record)) || ((_b = record == null ? void 0 : record.metadata) == null ? void 0 : _b.name)
13208
13232
  }), stateDisplay ? /* @__PURE__ */ jsxRuntimeExports.jsx(StateTag, {
@@ -13240,25 +13264,72 @@ const ShowContentView = (props) => {
13240
13264
  key: tab.key,
13241
13265
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
13242
13266
  className: cx_default(TabContentStyle, tab.groups.length <= 1 && tabIndex !== 0 && FullTabContentStyle),
13243
- children: (_a2 = tab.groups) == null ? void 0 : _a2.map(renderGroup)
13267
+ children: (_a2 = tab.groups) == null ? void 0 : _a2.map((group) => renderGroup(group, false))
13244
13268
  })
13245
13269
  };
13246
13270
  }),
13247
13271
  className: TabsStyle
13248
13272
  });
13249
- const basicInfo = showConfig.basicGroup ? renderGroup(showConfig.basicGroup) : null;
13273
+ const basicInfo = showConfig.basicGroup ? renderGroup(showConfig.basicGroup, true) : null;
13250
13274
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
13251
13275
  className: ShowContentWrapperStyle,
13252
13276
  children: [/* @__PURE__ */ jsxRuntimeExports.jsx(Space, {
13253
13277
  direction: "vertical",
13254
13278
  className: ShowContentHeaderStyle,
13255
13279
  children: topBar
13256
- }), basicInfo, tabs]
13280
+ }), basicInfo, canCollapseTabs ? /* @__PURE__ */ jsxRuntimeExports.jsx(CollapseTabs, {
13281
+ children: tabs
13282
+ }) : tabs, children]
13257
13283
  });
13258
13284
  };
13285
+ const CollapseTabs = (props) => {
13286
+ const [isCollapsed, setIsCollapsed] = useState(true);
13287
+ const {
13288
+ t: t2
13289
+ } = useTranslation();
13290
+ if (isCollapsed) {
13291
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
13292
+ style: {
13293
+ display: "flex"
13294
+ },
13295
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, {
13296
+ style: {
13297
+ margin: "auto",
13298
+ cursor: "pointer"
13299
+ },
13300
+ type: "quiet",
13301
+ onClick: () => setIsCollapsed((v) => !v),
13302
+ suffixIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, {
13303
+ src: ArrowChevronUp16BoldSecondaryIcon
13304
+ }),
13305
+ children: t2("dovetail.view_all_info")
13306
+ })
13307
+ });
13308
+ } else {
13309
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
13310
+ children: [props.children, /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
13311
+ style: {
13312
+ display: "flex"
13313
+ },
13314
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, {
13315
+ style: {
13316
+ margin: "auto",
13317
+ cursor: "pointer"
13318
+ },
13319
+ type: "quiet",
13320
+ onClick: () => setIsCollapsed((v) => !v),
13321
+ suffixIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, {
13322
+ src: ArrowBoldDown16Icon
13323
+ }),
13324
+ children: t2("dovetail.collapse")
13325
+ })
13326
+ })]
13327
+ });
13328
+ }
13329
+ };
13259
13330
  const ShowContent = (props) => {
13260
13331
  var _a;
13261
- const { showConfig, formatter, Dropdown: Dropdown2 = K8sDropdown } = props;
13332
+ const { showConfig, formatter, Dropdown: Dropdown2 = K8sDropdown, children, canCollapseTabs } = props;
13262
13333
  const parsed = useParsed();
13263
13334
  const { resource } = useResource();
13264
13335
  const id = (_a = parsed == null ? void 0 : parsed.params) == null ? void 0 : _a.id;
@@ -13269,7 +13340,9 @@ const ShowContent = (props) => {
13269
13340
  resourceName: (resource == null ? void 0 : resource.name) || "",
13270
13341
  showConfig,
13271
13342
  formatter,
13272
- Dropdown: Dropdown2
13343
+ Dropdown: Dropdown2,
13344
+ canCollapseTabs,
13345
+ children
13273
13346
  }
13274
13347
  );
13275
13348
  };
@@ -13322,7 +13395,7 @@ const PageShow = (props) => {
13322
13395
  nav.list(resource);
13323
13396
  }
13324
13397
  }, [isError, nav, resource, queryResult, parsed, msg, notExistMsg, isLoading]);
13325
- return isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loading, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(ShowContent, { ...props });
13398
+ return isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loading, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(ShowContent, { ...props, children: props.children });
13326
13399
  };
13327
13400
  const index_az4wrx = "";
13328
13401
  const WrapperStyle$2 = "w1akirqw";
@@ -16374,7 +16447,7 @@ const PlainCodeStyle = "pqch97v";
16374
16447
  const ErrorMsgStyle = "eh2qjnl";
16375
16448
  const ErrorWrapperStyle = "e19q2bnp";
16376
16449
  const YamlEditorStyle = "y16u5v3w";
16377
- const MonacoYamlEditor = React__default.lazy(() => import("./MonacoYamlEditor-d09e7de9.js"));
16450
+ const MonacoYamlEditor = React__default.lazy(() => import("./MonacoYamlEditor-be20caed.js"));
16378
16451
  const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-7de94ad2.js"));
16379
16452
  const YamlEditorComponent = forwardRef(
16380
16453
  function YamlEditorComponent2(props, ref) {
@@ -19134,7 +19207,7 @@ export {
19134
19207
  CronjobJobsTable as ay,
19135
19208
  KeyValue as az,
19136
19209
  useSchema as b,
19137
- ServiceOutClusterAccessComponent as b$,
19210
+ ServiceInClusterAccessComponent as b$,
19138
19211
  PodSelectorField as b0,
19139
19212
  PortsTableField as b1,
19140
19213
  DurationField as b2,
@@ -19149,29 +19222,29 @@ export {
19149
19222
  ResourceTableGroup as bB,
19150
19223
  ShowContent as bC,
19151
19224
  ShowGroupComponent as bD,
19152
- ShowContentView as bE,
19153
- DeleteManyButton as bF,
19154
- ListPage as bG,
19155
- StateTag as bH,
19156
- DrawerShow as bI,
19157
- Menu as bJ,
19158
- Table as bK,
19159
- EditButton as bL,
19160
- ReferenceLink as bM,
19161
- ResourceLink as bN,
19162
- NS_STORE_KEY as bO,
19163
- ALL_NS as bP,
19164
- useNamespacesFilter as bQ,
19165
- NamespacesFilter as bR,
19166
- FormModal as bS,
19167
- renderCommonFormFiled as bT,
19168
- RefineFormContent as bU,
19169
- RefineFormPage as bV,
19170
- SchemaStrategy as bW,
19171
- YamlForm as bX,
19172
- useRefineForm as bY,
19173
- FormItemLayout as bZ,
19174
- ServiceInClusterAccessComponent as b_,
19225
+ BasicShowGroupComponent as bE,
19226
+ ShowContentView as bF,
19227
+ DeleteManyButton as bG,
19228
+ ListPage as bH,
19229
+ StateTag as bI,
19230
+ DrawerShow as bJ,
19231
+ Menu as bK,
19232
+ Table as bL,
19233
+ EditButton as bM,
19234
+ ReferenceLink as bN,
19235
+ ResourceLink as bO,
19236
+ NS_STORE_KEY as bP,
19237
+ ALL_NS as bQ,
19238
+ useNamespacesFilter as bR,
19239
+ NamespacesFilter as bS,
19240
+ FormModal as bT,
19241
+ renderCommonFormFiled as bU,
19242
+ RefineFormContent as bV,
19243
+ RefineFormPage as bW,
19244
+ SchemaStrategy as bX,
19245
+ YamlForm as bY,
19246
+ useRefineForm as bZ,
19247
+ FormItemLayout as b_,
19175
19248
  PVVolumeModeField as ba,
19176
19249
  PVAccessModeField as bb,
19177
19250
  PVCPodsField as bc,
@@ -19199,93 +19272,94 @@ export {
19199
19272
  NetworkPolicyIngressRulesGroup as by,
19200
19273
  NetworkPolicyEgressRulesGroup as bz,
19201
19274
  useDeleteModal as c,
19202
- StatefulSetModel as c$,
19203
- Tags as c0,
19204
- TextTags as c1,
19205
- PodLog as c2,
19206
- NetworkPolicyRulesViewer as c3,
19207
- PVVolumeModeDisplay as c4,
19208
- Tabs as c5,
19209
- ResourceSelect as c6,
19210
- PodShellModal as c7,
19211
- PodShell as c8,
19212
- ResourceTable as c9,
19213
- NODE_INIT_VALUE as cA,
19214
- STORAGE_CLASS_INIT_VALUE as cB,
19215
- PV_INIT_VALUE as cC,
19216
- PVC_INIT_VALUE as cD,
19217
- ResourceState as cE,
19218
- AccessControlAuth as cF,
19219
- Dovetail as cG,
19220
- RESOURCE_GROUP as cH,
19221
- FormContainerType as cI,
19222
- FormType as cJ,
19223
- FormMode as cK,
19224
- ComponentContext as cL,
19225
- GlobalStoreContext as cM,
19226
- ConfigsContext as cN,
19227
- IngressModel as cO,
19228
- NetworkPolicyModel as cP,
19229
- JobModel as cQ,
19230
- WorkloadModel as cR,
19231
- WorkloadBaseModel as cS,
19232
- PodModel as cT,
19233
- PodMetricsModel as cU,
19234
- ResourceModel as cV,
19235
- ReplicaSetModel as cW,
19236
- CronJobModel as cX,
19237
- EventModel as cY,
19238
- DeploymentModel as cZ,
19239
- DaemonSetModel as c_,
19240
- ErrorWrapper as ca,
19241
- ErrorContentType as cb,
19242
- KeyValueTableForm as cc,
19243
- BASE_INIT_VALUE as cd,
19244
- DEPLOYMENT_INIT_VALUE as ce,
19245
- CRONJOB_INIT_VALUE as cf,
19246
- DAEMONSET_INIT_VALUE as cg,
19247
- JOB_INIT_VALUE as ch,
19248
- STATEFULSET_INIT_VALUE as ci,
19249
- POD_INIT_VALUE as cj,
19250
- SERVICE_CLUSTER_IP_INIT_VALUE as ck,
19251
- SERVICE_NODE_PORT_INIT_VALUE as cl,
19252
- SERVICE_LOAD_BALANCER_INIT_VALUE as cm,
19253
- SERVICE_EXTERNAL_NAME_INIT_VALUE as cn,
19254
- SERVICE_HEADLESS_INIT_VALUE as co,
19255
- INGRESS_INIT_VALUE as cp,
19256
- NETWORK_POLICY_INIT_VALUE as cq,
19257
- CONFIG_MAP_INIT_VALUE as cr,
19258
- SERVER_INSTANCE_INIT_VALUE as cs,
19259
- REDEPLOY_TIMESTAMP_KEY as ct,
19260
- SECRET_OPAQUE_INIT_VALUE as cu,
19261
- SECRET_IMAGE_REPO_INIT_VALUE as cv,
19262
- SECRET_BASIC_AUTH_INIT_VALUE as cw,
19263
- SECRET_SSH_AUTH_INIT_VALUE as cx,
19264
- SECRET_TLS_INIT_VALUE as cy,
19265
- SECRET_CUSTOM_INIT_VALUE as cz,
19275
+ DaemonSetModel as c$,
19276
+ ServiceOutClusterAccessComponent as c0,
19277
+ Tags as c1,
19278
+ TextTags as c2,
19279
+ PodLog as c3,
19280
+ NetworkPolicyRulesViewer as c4,
19281
+ PVVolumeModeDisplay as c5,
19282
+ Tabs as c6,
19283
+ ResourceSelect as c7,
19284
+ PodShellModal as c8,
19285
+ PodShell as c9,
19286
+ SECRET_CUSTOM_INIT_VALUE as cA,
19287
+ NODE_INIT_VALUE as cB,
19288
+ STORAGE_CLASS_INIT_VALUE as cC,
19289
+ PV_INIT_VALUE as cD,
19290
+ PVC_INIT_VALUE as cE,
19291
+ ResourceState as cF,
19292
+ AccessControlAuth as cG,
19293
+ Dovetail as cH,
19294
+ RESOURCE_GROUP as cI,
19295
+ FormContainerType as cJ,
19296
+ FormType as cK,
19297
+ FormMode as cL,
19298
+ ComponentContext as cM,
19299
+ GlobalStoreContext as cN,
19300
+ ConfigsContext as cO,
19301
+ IngressModel as cP,
19302
+ NetworkPolicyModel as cQ,
19303
+ JobModel as cR,
19304
+ WorkloadModel as cS,
19305
+ WorkloadBaseModel as cT,
19306
+ PodModel as cU,
19307
+ PodMetricsModel as cV,
19308
+ ResourceModel as cW,
19309
+ ReplicaSetModel as cX,
19310
+ CronJobModel as cY,
19311
+ EventModel as cZ,
19312
+ DeploymentModel as c_,
19313
+ ResourceTable as ca,
19314
+ ErrorWrapper as cb,
19315
+ ErrorContentType as cc,
19316
+ KeyValueTableForm as cd,
19317
+ BASE_INIT_VALUE as ce,
19318
+ DEPLOYMENT_INIT_VALUE as cf,
19319
+ CRONJOB_INIT_VALUE as cg,
19320
+ DAEMONSET_INIT_VALUE as ch,
19321
+ JOB_INIT_VALUE as ci,
19322
+ STATEFULSET_INIT_VALUE as cj,
19323
+ POD_INIT_VALUE as ck,
19324
+ SERVICE_CLUSTER_IP_INIT_VALUE as cl,
19325
+ SERVICE_NODE_PORT_INIT_VALUE as cm,
19326
+ SERVICE_LOAD_BALANCER_INIT_VALUE as cn,
19327
+ SERVICE_EXTERNAL_NAME_INIT_VALUE as co,
19328
+ SERVICE_HEADLESS_INIT_VALUE as cp,
19329
+ INGRESS_INIT_VALUE as cq,
19330
+ NETWORK_POLICY_INIT_VALUE as cr,
19331
+ CONFIG_MAP_INIT_VALUE as cs,
19332
+ SERVER_INSTANCE_INIT_VALUE as ct,
19333
+ REDEPLOY_TIMESTAMP_KEY as cu,
19334
+ SECRET_OPAQUE_INIT_VALUE as cv,
19335
+ SECRET_IMAGE_REPO_INIT_VALUE as cw,
19336
+ SECRET_BASIC_AUTH_INIT_VALUE as cx,
19337
+ SECRET_SSH_AUTH_INIT_VALUE as cy,
19338
+ SECRET_TLS_INIT_VALUE as cz,
19266
19339
  dovetailRefineI18n as d,
19267
- ServiceTypeEnum as d0,
19268
- ServiceModel as d1,
19269
- NodeRole as d2,
19270
- NodeModel as d3,
19271
- StorageClassModel as d4,
19272
- PersistentVolumeModel as d5,
19273
- PersistentVolumeClaimModel as d6,
19274
- ProviderPlugins as d7,
19275
- ModelPlugin as d8,
19276
- modelPlugin as d9,
19277
- RelationPlugin as da,
19278
- relationPlugin as db,
19279
- generateValueFromSchema as dc,
19280
- generateSchemaTypeValue as dd,
19281
- resolveRef as de,
19282
- getApiVersion as df,
19283
- pruneBeforeEdit as dg,
19284
- matchSelector as dh,
19285
- getResourceNameByKind as di,
19286
- validateDnsSubdomain as dj,
19287
- validateLabelKey as dk,
19288
- validateLabelValue as dl,
19340
+ StatefulSetModel as d0,
19341
+ ServiceTypeEnum as d1,
19342
+ ServiceModel as d2,
19343
+ NodeRole as d3,
19344
+ NodeModel as d4,
19345
+ StorageClassModel as d5,
19346
+ PersistentVolumeModel as d6,
19347
+ PersistentVolumeClaimModel as d7,
19348
+ ProviderPlugins as d8,
19349
+ ModelPlugin as d9,
19350
+ modelPlugin as da,
19351
+ RelationPlugin as db,
19352
+ relationPlugin as dc,
19353
+ generateValueFromSchema as dd,
19354
+ generateSchemaTypeValue as de,
19355
+ resolveRef as df,
19356
+ getApiVersion as dg,
19357
+ pruneBeforeEdit as dh,
19358
+ matchSelector as di,
19359
+ getResourceNameByKind as dj,
19360
+ validateDnsSubdomain as dk,
19361
+ validateLabelKey as dl,
19362
+ validateLabelValue as dm,
19289
19363
  useDeleteModalOnly as e,
19290
19364
  useFailedModal as f,
19291
19365
  NameSpaceColumnRenderer as g,