@dovetail-v2/refine 0.2.7 → 0.2.9

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 (260) hide show
  1. package/dist/MonacoYamlDiffEditor-7a07db88.cjs +59 -0
  2. package/dist/{MonacoYamlDiffEditor-ae04bff7.js → MonacoYamlDiffEditor-7de94ad2.js} +1 -24
  3. package/dist/MonacoYamlEditor-743591b0.cjs +206 -0
  4. package/dist/{MonacoYamlEditor-7071a8ae.js → MonacoYamlEditor-90733472.js} +2 -9
  5. package/dist/PodShell-43c7028e.cjs +216 -0
  6. package/dist/PodShell-ba204cde.js +216 -0
  7. package/dist/common-1eb43414.cjs +982 -0
  8. package/dist/common-feae5742.js +983 -0
  9. package/{lib → dist}/components/PodShellModal/PodShell.d.ts +3 -5
  10. package/dist/components/PodShellModal/index.d.ts +10 -0
  11. package/dist/components/Shell/Connecting.d.ts +2 -0
  12. package/dist/components/Shell/common.d.ts +5 -0
  13. package/{lib → dist}/components/Shell/index.d.ts +1 -5
  14. package/{lib → dist}/components/index.d.ts +0 -1
  15. package/dist/{index-e2ac90c3.js → index-0d6858da.js} +293 -1923
  16. package/dist/index-31874f77.cjs +496 -0
  17. package/dist/index-40deb620.js +497 -0
  18. package/dist/index-e19759fc.cjs +19017 -0
  19. package/dist/refine.cjs +280 -0
  20. package/dist/refine.js +248 -257
  21. package/dist/shell.cjs +17 -0
  22. package/dist/shell.d.ts +2 -0
  23. package/dist/shell.js +17 -0
  24. package/dist/style.css +1311 -1266
  25. package/package.json +4 -4
  26. package/dist/refine.umd.cjs +0 -20835
  27. package/lib/components/PodShellModal/index.d.ts +0 -10
  28. /package/{lib → dist}/App.d.ts +0 -0
  29. /package/{lib → dist}/Dovetail.d.ts +0 -0
  30. /package/{lib → dist}/components/Breadcrumb/index.d.ts +0 -0
  31. /package/{lib → dist}/components/ConditionsTable/ConditionsTable.d.ts +0 -0
  32. /package/{lib → dist}/components/ConditionsTable/index.d.ts +0 -0
  33. /package/{lib → dist}/components/CreateButton/index.d.ts +0 -0
  34. /package/{lib → dist}/components/CronjobJobsTable/index.d.ts +0 -0
  35. /package/{lib → dist}/components/DeleteButton/index.d.ts +0 -0
  36. /package/{lib → dist}/components/DeleteManyButton/index.d.ts +0 -0
  37. /package/{lib → dist}/components/DrawerShow/DrawerShow.d.ts +0 -0
  38. /package/{lib → dist}/components/DrawerShow/index.d.ts +0 -0
  39. /package/{lib → dist}/components/DropdownMenuItems/EditAnnotationDropdownMenuItem.d.ts +0 -0
  40. /package/{lib → dist}/components/DropdownMenuItems/EditLabelDropdownMenuItem.d.ts +0 -0
  41. /package/{lib → dist}/components/DropdownMenuItems/EditNodeTaintDropdownMenuItem.d.ts +0 -0
  42. /package/{lib → dist}/components/DropdownMenuItems/index.d.ts +0 -0
  43. /package/{lib → dist}/components/Dropdowns/CronJobDropdown/index.d.ts +0 -0
  44. /package/{lib → dist}/components/Dropdowns/K8sDropdown/index.d.ts +0 -0
  45. /package/{lib → dist}/components/Dropdowns/PodDropdown/index.d.ts +0 -0
  46. /package/{lib → dist}/components/Dropdowns/ReplicasDropdown/index.d.ts +0 -0
  47. /package/{lib → dist}/components/Dropdowns/WorkloadDropdown/index.d.ts +0 -0
  48. /package/{lib → dist}/components/DurationTime/index.d.ts +0 -0
  49. /package/{lib → dist}/components/EditButton/index.d.ts +0 -0
  50. /package/{lib → dist}/components/EditField/index.d.ts +0 -0
  51. /package/{lib → dist}/components/EditMetadataForm/EditAnnotationForm.d.ts +0 -0
  52. /package/{lib → dist}/components/EditMetadataForm/EditLabelForm.d.ts +0 -0
  53. /package/{lib → dist}/components/EditMetadataForm/EditNodeTaintForm.d.ts +0 -0
  54. /package/{lib → dist}/components/EditMetadataForm/KeyValueTableForm.d.ts +0 -0
  55. /package/{lib → dist}/components/EditMetadataForm/LabelFormatPopover.d.ts +0 -0
  56. /package/{lib → dist}/components/EditMetadataForm/index.d.ts +0 -0
  57. /package/{lib → dist}/components/ErrorContent/index.d.ts +0 -0
  58. /package/{lib → dist}/components/EventsTable/EventsTable.d.ts +0 -0
  59. /package/{lib → dist}/components/EventsTable/index.d.ts +0 -0
  60. /package/{lib → dist}/components/Form/FormModal.d.ts +0 -0
  61. /package/{lib → dist}/components/Form/FormModeSegmentControl.d.ts +0 -0
  62. /package/{lib → dist}/components/Form/RefineFormContainer.d.ts +0 -0
  63. /package/{lib → dist}/components/Form/RefineFormContent.d.ts +0 -0
  64. /package/{lib → dist}/components/Form/RefineFormPage.d.ts +0 -0
  65. /package/{lib → dist}/components/Form/YamlForm.d.ts +0 -0
  66. /package/{lib → dist}/components/Form/YamlFormContainer.d.ts +0 -0
  67. /package/{lib → dist}/components/Form/index.d.ts +0 -0
  68. /package/{lib → dist}/components/Form/type.d.ts +0 -0
  69. /package/{lib → dist}/components/Form/useFieldsConfig.d.ts +0 -0
  70. /package/{lib → dist}/components/Form/useReactHookForm.d.ts +0 -0
  71. /package/{lib → dist}/components/Form/useRefineForm.d.ts +0 -0
  72. /package/{lib → dist}/components/Form/useYamlForm.d.ts +0 -0
  73. /package/{lib → dist}/components/FormErrorAlert/index.d.ts +0 -0
  74. /package/{lib → dist}/components/FormLayout/index.d.ts +0 -0
  75. /package/{lib → dist}/components/FormWidgets/KeyValueListWidget.d.ts +0 -0
  76. /package/{lib → dist}/components/FormWidgets/MetadataForm.d.ts +0 -0
  77. /package/{lib → dist}/components/FormWidgets/NameInputWidget.d.ts +0 -0
  78. /package/{lib → dist}/components/FormWidgets/NamespaceSelectWidget.d.ts +0 -0
  79. /package/{lib → dist}/components/FormWidgets/index.d.ts +0 -0
  80. /package/{lib → dist}/components/FormWidgets/widget.d.ts +0 -0
  81. /package/{lib → dist}/components/ImageNames/index.d.ts +0 -0
  82. /package/{lib → dist}/components/IngressRulesComponent/index.d.ts +0 -0
  83. /package/{lib → dist}/components/IngressRulesTable/IngressRulesTable.d.ts +0 -0
  84. /package/{lib → dist}/components/IngressRulesTable/index.d.ts +0 -0
  85. /package/{lib → dist}/components/InternalBaseTable/TableWidgets.d.ts +0 -0
  86. /package/{lib → dist}/components/InternalBaseTable/index.d.ts +0 -0
  87. /package/{lib → dist}/components/KeyValue/KeyValue.d.ts +0 -0
  88. /package/{lib → dist}/components/KeyValue/KeyValueAnnotation.d.ts +0 -0
  89. /package/{lib → dist}/components/KeyValue/KeyValueSecret.d.ts +0 -0
  90. /package/{lib → dist}/components/KeyValue/index.d.ts +0 -0
  91. /package/{lib → dist}/components/Layout/index.d.ts +0 -0
  92. /package/{lib → dist}/components/LinkFallback/index.d.ts +0 -0
  93. /package/{lib → dist}/components/ListPage/index.d.ts +0 -0
  94. /package/{lib → dist}/components/Menu/index.d.ts +0 -0
  95. /package/{lib → dist}/components/NamespacesFilter/index.d.ts +0 -0
  96. /package/{lib → dist}/components/NetworkPolicyRulesViewer/NetworkPolicyRulesViewer.d.ts +0 -0
  97. /package/{lib → dist}/components/NetworkPolicyRulesViewer/index.d.ts +0 -0
  98. /package/{lib → dist}/components/NodeTaintsTable/NodeTaintsTable.d.ts +0 -0
  99. /package/{lib → dist}/components/NodeTaintsTable/index.d.ts +0 -0
  100. /package/{lib → dist}/components/PVCDistributeStorage/index.d.ts +0 -0
  101. /package/{lib → dist}/components/PageShow/PageShow.d.ts +0 -0
  102. /package/{lib → dist}/components/PageShow/index.d.ts +0 -0
  103. /package/{lib → dist}/components/PodContainersTable/PodContainersTable.d.ts +0 -0
  104. /package/{lib → dist}/components/PodContainersTable/index.d.ts +0 -0
  105. /package/{lib → dist}/components/PodLog/index.d.ts +0 -0
  106. /package/{lib → dist}/components/PodSelectorTable/index.d.ts +0 -0
  107. /package/{lib → dist}/components/PortsTable/index.d.ts +0 -0
  108. /package/{lib → dist}/components/ReferenceLink/index.d.ts +0 -0
  109. /package/{lib → dist}/components/ResourceCRUD/ResourceCRUD.d.ts +0 -0
  110. /package/{lib → dist}/components/ResourceCRUD/create/index.d.ts +0 -0
  111. /package/{lib → dist}/components/ResourceCRUD/index.d.ts +0 -0
  112. /package/{lib → dist}/components/ResourceCRUD/list/index.d.ts +0 -0
  113. /package/{lib → dist}/components/ResourceCRUD/show/index.d.ts +0 -0
  114. /package/{lib → dist}/components/ResourceFiledDisplays.d.ts +0 -0
  115. /package/{lib → dist}/components/ResourceLink/index.d.ts +0 -0
  116. /package/{lib → dist}/components/ResourceSelect/index.d.ts +0 -0
  117. /package/{lib → dist}/components/ResourceTable/index.d.ts +0 -0
  118. /package/{lib → dist}/components/ResourceUsageBar/index.d.ts +0 -0
  119. /package/{lib → dist}/components/Separator/index.d.ts +0 -0
  120. /package/{lib → dist}/components/ServiceComponents/index.d.ts +0 -0
  121. /package/{lib → dist}/components/Shell/ShellToolbar.d.ts +0 -0
  122. /package/{lib → dist}/components/ShowContent/ShowContent.d.ts +0 -0
  123. /package/{lib → dist}/components/ShowContent/fields.d.ts +0 -0
  124. /package/{lib → dist}/components/ShowContent/groups.d.ts +0 -0
  125. /package/{lib → dist}/components/ShowContent/index.d.ts +0 -0
  126. /package/{lib → dist}/components/ShowContent/tabs.d.ts +0 -0
  127. /package/{lib → dist}/components/StateTag/StateTag.d.ts +0 -0
  128. /package/{lib → dist}/components/StateTag/index.d.ts +0 -0
  129. /package/{lib → dist}/components/Table/index.d.ts +0 -0
  130. /package/{lib → dist}/components/TableToolbar/index.d.ts +0 -0
  131. /package/{lib → dist}/components/Tabs/index.d.ts +0 -0
  132. /package/{lib → dist}/components/Tags/index.d.ts +0 -0
  133. /package/{lib → dist}/components/TextTags/index.d.ts +0 -0
  134. /package/{lib → dist}/components/Time/index.d.ts +0 -0
  135. /package/{lib → dist}/components/ValueDisplay/index.d.ts +0 -0
  136. /package/{lib → dist}/components/WorkloadPodsTable/WorkloadPodsTable.d.ts +0 -0
  137. /package/{lib → dist}/components/WorkloadPodsTable/index.d.ts +0 -0
  138. /package/{lib → dist}/components/WorkloadReplicas/index.d.ts +0 -0
  139. /package/{lib → dist}/components/YamlEditor/MonacoYamlDiffEditor.d.ts +0 -0
  140. /package/{lib → dist}/components/YamlEditor/MonacoYamlEditor.d.ts +0 -0
  141. /package/{lib → dist}/components/YamlEditor/YamlEditorComponent.d.ts +0 -0
  142. /package/{lib → dist}/components/YamlEditor/index.d.ts +0 -0
  143. /package/{lib → dist}/components/YamlEditor/style.d.ts +0 -0
  144. /package/{lib → dist}/components/YamlEditor/yaml.worker.d.ts +0 -0
  145. /package/{lib → dist}/constants/auth.d.ts +0 -0
  146. /package/{lib → dist}/constants/index.d.ts +0 -0
  147. /package/{lib → dist}/constants/k8s.d.ts +0 -0
  148. /package/{lib → dist}/constants/state.d.ts +0 -0
  149. /package/{lib → dist}/contexts/component.d.ts +0 -0
  150. /package/{lib → dist}/contexts/configs.d.ts +0 -0
  151. /package/{lib → dist}/contexts/constants.d.ts +0 -0
  152. /package/{lib → dist}/contexts/global-store.d.ts +0 -0
  153. /package/{lib → dist}/contexts/index.d.ts +0 -0
  154. /package/{lib → dist}/hooks/index.d.ts +0 -0
  155. /package/{lib → dist}/hooks/useDeleteModal/index.d.ts +0 -0
  156. /package/{lib → dist}/hooks/useDeleteModal/useDeleteManyModal.d.ts +0 -0
  157. /package/{lib → dist}/hooks/useDeleteModal/useDeleteModal.d.ts +0 -0
  158. /package/{lib → dist}/hooks/useDeleteModal/useDeleteModalOnly.d.ts +0 -0
  159. /package/{lib → dist}/hooks/useDeleteModal/useFailedModal.d.ts +0 -0
  160. /package/{lib → dist}/hooks/useDownloadYAML.d.ts +0 -0
  161. /package/{lib → dist}/hooks/useEagleTable/columns.d.ts +0 -0
  162. /package/{lib → dist}/hooks/useEagleTable/index.d.ts +0 -0
  163. /package/{lib → dist}/hooks/useEagleTable/useEagleTable.d.ts +0 -0
  164. /package/{lib → dist}/hooks/useEdit.d.ts +0 -0
  165. /package/{lib → dist}/hooks/useGlobalStore.d.ts +0 -0
  166. /package/{lib → dist}/hooks/useK8sYamlEditor.d.ts +0 -0
  167. /package/{lib → dist}/hooks/useNamespaceRefineFilter.d.ts +0 -0
  168. /package/{lib → dist}/hooks/useOpenForm.d.ts +0 -0
  169. /package/{lib → dist}/hooks/usePathMap.d.ts +0 -0
  170. /package/{lib → dist}/hooks/useSchema.d.ts +0 -0
  171. /package/{lib → dist}/hooks/useSubmitForm.d.ts +0 -0
  172. /package/{lib → dist}/hooks/useTableData.d.ts +0 -0
  173. /package/{lib → dist}/i18n.d.ts +0 -0
  174. /package/{lib → dist}/index.d.ts +0 -0
  175. /package/{lib → dist}/locales/en-US/index.d.ts +0 -0
  176. /package/{lib → dist}/locales/index.d.ts +0 -0
  177. /package/{lib → dist}/locales/zh-CN/index.d.ts +0 -0
  178. /package/{lib → dist}/main.d.ts +0 -0
  179. /package/{lib → dist}/models/cronjob-model.d.ts +0 -0
  180. /package/{lib → dist}/models/daemonset-model.d.ts +0 -0
  181. /package/{lib → dist}/models/deployment-model.d.ts +0 -0
  182. /package/{lib → dist}/models/event-model.d.ts +0 -0
  183. /package/{lib → dist}/models/index.d.ts +0 -0
  184. /package/{lib → dist}/models/ingress-model.d.ts +0 -0
  185. /package/{lib → dist}/models/job-model.d.ts +0 -0
  186. /package/{lib → dist}/models/network-policy-model.d.ts +0 -0
  187. /package/{lib → dist}/models/node-model.d.ts +0 -0
  188. /package/{lib → dist}/models/persistent-volume-claim.d.ts +0 -0
  189. /package/{lib → dist}/models/persistent-volume.d.ts +0 -0
  190. /package/{lib → dist}/models/pod-metrics-model.d.ts +0 -0
  191. /package/{lib → dist}/models/pod-model.d.ts +0 -0
  192. /package/{lib → dist}/models/resource-model.d.ts +0 -0
  193. /package/{lib → dist}/models/service-model.d.ts +0 -0
  194. /package/{lib → dist}/models/statefulset-model.d.ts +0 -0
  195. /package/{lib → dist}/models/storage-class.d.ts +0 -0
  196. /package/{lib → dist}/models/types/index.d.ts +0 -0
  197. /package/{lib → dist}/models/types/metric.d.ts +0 -0
  198. /package/{lib → dist}/models/workload-base-model.d.ts +0 -0
  199. /package/{lib → dist}/models/workload-model.d.ts +0 -0
  200. /package/{lib → dist}/pages/configmaps/index.d.ts +0 -0
  201. /package/{lib → dist}/pages/cronjobs/create/index.d.ts +0 -0
  202. /package/{lib → dist}/pages/cronjobs/index.d.ts +0 -0
  203. /package/{lib → dist}/pages/cronjobs/list/index.d.ts +0 -0
  204. /package/{lib → dist}/pages/cronjobs/show/index.d.ts +0 -0
  205. /package/{lib → dist}/pages/daemonsets/create/index.d.ts +0 -0
  206. /package/{lib → dist}/pages/daemonsets/index.d.ts +0 -0
  207. /package/{lib → dist}/pages/daemonsets/list/index.d.ts +0 -0
  208. /package/{lib → dist}/pages/daemonsets/show/index.d.ts +0 -0
  209. /package/{lib → dist}/pages/deployments/index.d.ts +0 -0
  210. /package/{lib → dist}/pages/deployments/list/index.d.ts +0 -0
  211. /package/{lib → dist}/pages/deployments/show/index.d.ts +0 -0
  212. /package/{lib → dist}/pages/ingresses/index.d.ts +0 -0
  213. /package/{lib → dist}/pages/jobs/index.d.ts +0 -0
  214. /package/{lib → dist}/pages/networkPolicies/index.d.ts +0 -0
  215. /package/{lib → dist}/pages/nodes/index.d.ts +0 -0
  216. /package/{lib → dist}/pages/nodes/list/index.d.ts +0 -0
  217. /package/{lib → dist}/pages/nodes/show/index.d.ts +0 -0
  218. /package/{lib → dist}/pages/persistentvolumeclaims/index.d.ts +0 -0
  219. /package/{lib → dist}/pages/persistentvolumes/index.d.ts +0 -0
  220. /package/{lib → dist}/pages/pods/create/index.d.ts +0 -0
  221. /package/{lib → dist}/pages/pods/index.d.ts +0 -0
  222. /package/{lib → dist}/pages/pods/list/index.d.ts +0 -0
  223. /package/{lib → dist}/pages/pods/show/index.d.ts +0 -0
  224. /package/{lib → dist}/pages/secrets/index.d.ts +0 -0
  225. /package/{lib → dist}/pages/services/index.d.ts +0 -0
  226. /package/{lib → dist}/pages/statefulsets/index.d.ts +0 -0
  227. /package/{lib → dist}/pages/storageclasses/form/index.d.ts +0 -0
  228. /package/{lib → dist}/pages/storageclasses/index.d.ts +0 -0
  229. /package/{lib → dist}/plugins/index.d.ts +0 -0
  230. /package/{lib → dist}/plugins/model-plugin.d.ts +0 -0
  231. /package/{lib → dist}/plugins/relation-plugin.d.ts +0 -0
  232. /package/{lib → dist}/plugins/type.d.ts +0 -0
  233. /package/{lib → dist}/providers/index.d.ts +0 -0
  234. /package/{lib → dist}/providers/router-provider/index.d.ts +0 -0
  235. /package/{lib → dist}/styles/button.d.ts +0 -0
  236. /package/{lib → dist}/styles/modal.d.ts +0 -0
  237. /package/{lib → dist}/styles/tag.d.ts +0 -0
  238. /package/{lib → dist}/types/globalStore.d.ts +0 -0
  239. /package/{lib → dist}/types/index.d.ts +0 -0
  240. /package/{lib → dist}/types/resource.d.ts +0 -0
  241. /package/{lib → dist}/utils/addId.d.ts +0 -0
  242. /package/{lib → dist}/utils/download.d.ts +0 -0
  243. /package/{lib → dist}/utils/error.d.ts +0 -0
  244. /package/{lib → dist}/utils/form.d.ts +0 -0
  245. /package/{lib → dist}/utils/index.d.ts +0 -0
  246. /package/{lib → dist}/utils/k8s.d.ts +0 -0
  247. /package/{lib → dist}/utils/labels.d.ts +0 -0
  248. /package/{lib → dist}/utils/match-selector.d.ts +0 -0
  249. /package/{lib → dist}/utils/object.d.ts +0 -0
  250. /package/{lib → dist}/utils/openapi.d.ts +0 -0
  251. /package/{lib → dist}/utils/schema-store.d.ts +0 -0
  252. /package/{lib → dist}/utils/schema.d.ts +0 -0
  253. /package/{lib → dist}/utils/selector.d.ts +0 -0
  254. /package/{lib → dist}/utils/shell.d.ts +0 -0
  255. /package/{lib → dist}/utils/storage.d.ts +0 -0
  256. /package/{lib → dist}/utils/string.d.ts +0 -0
  257. /package/{lib → dist}/utils/time.d.ts +0 -0
  258. /package/{lib → dist}/utils/unit.d.ts +0 -0
  259. /package/{lib → dist}/utils/validation.d.ts +0 -0
  260. /package/{lib → dist}/utils/yaml.d.ts +0 -0
@@ -6,26 +6,19 @@ var __publicField = (obj, key2, value2) => {
6
6
  };
7
7
  import dayjs from "dayjs";
8
8
  import i18n from "i18next";
9
- import * as React from "react";
10
- import React__default, { createElement, isValidElement, cloneElement, Children, createContext, useContext, useState, useRef, useEffect, useCallback, useMemo, useImperativeHandle, lazy, Suspense, forwardRef } from "react";
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";
11
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";
12
11
  import { parse, stringify } from "qs";
12
+ import * as React from "react";
13
+ import React__default, { createElement, isValidElement, cloneElement, Children, useContext, useCallback, createContext, useState, useEffect, useMemo, useRef, useImperativeHandle, lazy, Suspense, forwardRef } from "react";
13
14
  import { useLocation, useHistory, useParams, matchPath, Link, Route, NavLink, Router } from "react-router-dom";
14
- 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, Tabs as Tabs$1, TabsTabPane, Row, Col, Popover, AntdTable, TableForm, getOptions, DonutChart, SegmentControl, Checkbox, useMessage, DropdownMenu, SearchInput, Token, AntdSelectOptGroup, MenuItemGroup, Layout as Layout$1, Time as Time$1, ModalStack, KitStoreProvider, ConfigProvider } from "@cloudtower/eagle";
15
- import { EditPen16PrimaryIcon, Download16GradientBlueIcon, TrashBinDelete16Icon, MoreEllipsis324BoldSecondaryIcon, MoreEllipsis324BoldBlueIcon, MoreEllipsis316BoldBlueIcon, PlusAddCreateNew16BoldOntintIcon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, ViewEye16GradientGrayIcon, EntityFilterIgnoreGradient16GrayIcon, InfoICircleFill16GrayIcon, InfoICircleFill16Gray70Icon, 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";
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, Tabs as Tabs$1, TabsTabPane, Row, Col, Popover, AntdTable, TableForm, getOptions, DonutChart, SegmentControl, Checkbox, 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, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, ViewEye16GradientGrayIcon, EntityFilterIgnoreGradient16GrayIcon, InfoICircleFill16GrayIcon, InfoICircleFill16Gray70Icon, RecoverContinue16GradientBlueIcon, SuspendedPause16GradientBlueIcon, Retry16GradientBlueIcon, OpenTerminal16GradientBlueIcon, HierarchyTriangleRight16GrayIcon, HierarchyTriangleRight16BlueIcon, ClipboardCopy16GradientGrayIcon, ClipboardCopy16GradientBlueIcon, Retry16GradientGrayIcon, EditPen16GradientGrayIcon, EditPen16GradientBlueIcon, Showdiff16GradientGrayIcon, Showdiff16GradientBlueIcon, XmarkFailedSeriousWarningFill16RedIcon, ExclamationErrorCircleFill16RedIcon, Pause16GradientBlueIcon, EditPen16BlueIcon } from "@cloudtower/icons-react";
16
17
  import { first, get as get$2, cloneDeep, set, omit as omit$1, merge, debounce, last, setWith, clone, isObject as isObject$3, uniq, keyBy } from "lodash-es";
17
18
  import yaml$2 from "js-yaml";
18
19
  import { useLocalStorage } from "usehooks-ts";
19
20
  import { paginateData, sortData, dataProvider, liveProvider } from "k8s-api-provider";
20
21
  import { LogViewer } from "@patternfly/react-log-viewer";
21
- import { CanvasAddon } from "@xterm/addon-canvas";
22
- import { FitAddon } from "@xterm/addon-fit";
23
- import { SearchAddon } from "@xterm/addon-search";
24
- import { WebLinksAddon } from "@xterm/addon-web-links";
25
- import { WebglAddon } from "@xterm/addon-webgl";
26
- import { Terminal } from "@xterm/xterm";
27
- import copyToClipboard$1 from "copy-to-clipboard";
28
- import { Buffer as Buffer2 } from "buffer";
29
22
  import { Controller, useForm as useForm$1 } from "react-hook-form";
30
23
  import { useForm as useForm$3 } from "sunflower-antd";
31
24
  import { Drawer } from "antd";
@@ -142,143 +135,6 @@ var c = { parse: function(e2, t2) {
142
135
  return e3 + a("", t2);
143
136
  }, "");
144
137
  } };
145
- function warn() {
146
- if (console && console.warn) {
147
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
148
- args[_key] = arguments[_key];
149
- }
150
- if (typeof args[0] === "string")
151
- args[0] = `react-i18next:: ${args[0]}`;
152
- console.warn(...args);
153
- }
154
- }
155
- const alreadyWarned = {};
156
- function warnOnce() {
157
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
158
- args[_key2] = arguments[_key2];
159
- }
160
- if (typeof args[0] === "string" && alreadyWarned[args[0]])
161
- return;
162
- if (typeof args[0] === "string")
163
- alreadyWarned[args[0]] = /* @__PURE__ */ new Date();
164
- warn(...args);
165
- }
166
- const loadedClb = (i18n2, cb) => () => {
167
- if (i18n2.isInitialized) {
168
- cb();
169
- } else {
170
- const initialized = () => {
171
- setTimeout(() => {
172
- i18n2.off("initialized", initialized);
173
- }, 0);
174
- cb();
175
- };
176
- i18n2.on("initialized", initialized);
177
- }
178
- };
179
- function loadNamespaces(i18n2, ns, cb) {
180
- i18n2.loadNamespaces(ns, loadedClb(i18n2, cb));
181
- }
182
- function loadLanguages(i18n2, lng, ns, cb) {
183
- if (typeof ns === "string")
184
- ns = [ns];
185
- ns.forEach((n2) => {
186
- if (i18n2.options.ns.indexOf(n2) < 0)
187
- i18n2.options.ns.push(n2);
188
- });
189
- i18n2.loadLanguages(lng, loadedClb(i18n2, cb));
190
- }
191
- function oldI18nextHasLoadedNamespace(ns, i18n2) {
192
- let options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
193
- const lng = i18n2.languages[0];
194
- const fallbackLng = i18n2.options ? i18n2.options.fallbackLng : false;
195
- const lastLng = i18n2.languages[i18n2.languages.length - 1];
196
- if (lng.toLowerCase() === "cimode")
197
- return true;
198
- const loadNotPending = (l, n2) => {
199
- const loadState = i18n2.services.backendConnector.state[`${l}|${n2}`];
200
- return loadState === -1 || loadState === 2;
201
- };
202
- if (options.bindI18n && options.bindI18n.indexOf("languageChanging") > -1 && i18n2.services.backendConnector.backend && i18n2.isLanguageChangingTo && !loadNotPending(i18n2.isLanguageChangingTo, ns))
203
- return false;
204
- if (i18n2.hasResourceBundle(lng, ns))
205
- return true;
206
- if (!i18n2.services.backendConnector.backend || i18n2.options.resources && !i18n2.options.partialBundledLanguages)
207
- return true;
208
- if (loadNotPending(lng, ns) && (!fallbackLng || loadNotPending(lastLng, ns)))
209
- return true;
210
- return false;
211
- }
212
- function hasLoadedNamespace(ns, i18n2) {
213
- let options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
214
- if (!i18n2.languages || !i18n2.languages.length) {
215
- warnOnce("i18n.languages were undefined or empty", i18n2.languages);
216
- return true;
217
- }
218
- const isNewerI18next = i18n2.options.ignoreJSONStructure !== void 0;
219
- if (!isNewerI18next) {
220
- return oldI18nextHasLoadedNamespace(ns, i18n2, options);
221
- }
222
- return i18n2.hasLoadedNamespace(ns, {
223
- lng: options.lng,
224
- precheck: (i18nInstance2, loadNotPending) => {
225
- if (options.bindI18n && options.bindI18n.indexOf("languageChanging") > -1 && i18nInstance2.services.backendConnector.backend && i18nInstance2.isLanguageChangingTo && !loadNotPending(i18nInstance2.isLanguageChangingTo, ns))
226
- return false;
227
- }
228
- });
229
- }
230
- const matchHtmlEntity = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g;
231
- const htmlEntities = {
232
- "&amp;": "&",
233
- "&#38;": "&",
234
- "&lt;": "<",
235
- "&#60;": "<",
236
- "&gt;": ">",
237
- "&#62;": ">",
238
- "&apos;": "'",
239
- "&#39;": "'",
240
- "&quot;": '"',
241
- "&#34;": '"',
242
- "&nbsp;": " ",
243
- "&#160;": " ",
244
- "&copy;": "©",
245
- "&#169;": "©",
246
- "&reg;": "®",
247
- "&#174;": "®",
248
- "&hellip;": "…",
249
- "&#8230;": "…",
250
- "&#x2F;": "/",
251
- "&#47;": "/"
252
- };
253
- const unescapeHtmlEntity = (m) => htmlEntities[m];
254
- const unescape = (text) => text.replace(matchHtmlEntity, unescapeHtmlEntity);
255
- let defaultOptions = {
256
- bindI18n: "languageChanged",
257
- bindI18nStore: "",
258
- transEmptyNodeValue: "",
259
- transSupportBasicHtmlNodes: true,
260
- transWrapTextNodes: "",
261
- transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
262
- useSuspense: true,
263
- unescape
264
- };
265
- function setDefaults() {
266
- let options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
267
- defaultOptions = {
268
- ...defaultOptions,
269
- ...options
270
- };
271
- }
272
- function getDefaults() {
273
- return defaultOptions;
274
- }
275
- let i18nInstance;
276
- function setI18n(instance) {
277
- i18nInstance = instance;
278
- }
279
- function getI18n() {
280
- return i18nInstance;
281
- }
282
138
  function hasChildren(node, checkLength) {
283
139
  if (!node)
284
140
  return false;
@@ -543,21 +399,6 @@ const initReactI18next = {
543
399
  setI18n(instance);
544
400
  }
545
401
  };
546
- const I18nContext = createContext();
547
- class ReportNamespaces {
548
- constructor() {
549
- this.usedNamespaces = {};
550
- }
551
- addUsedNamespaces(namespaces) {
552
- namespaces.forEach((ns) => {
553
- if (!this.usedNamespaces[ns])
554
- this.usedNamespaces[ns] = true;
555
- });
556
- }
557
- getUsedNamespaces() {
558
- return Object.keys(this.usedNamespaces);
559
- }
560
- }
561
402
  function Trans(_ref) {
562
403
  let {
563
404
  children,
@@ -598,126 +439,6 @@ function Trans(_ref) {
598
439
  ...additionalProps
599
440
  });
600
441
  }
601
- const usePrevious = (value2, ignore) => {
602
- const ref = useRef();
603
- useEffect(() => {
604
- ref.current = ignore ? ref.current : value2;
605
- }, [value2, ignore]);
606
- return ref.current;
607
- };
608
- function useTranslation(ns) {
609
- let props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
610
- const {
611
- i18n: i18nFromProps
612
- } = props;
613
- const {
614
- i18n: i18nFromContext,
615
- defaultNS: defaultNSFromContext
616
- } = useContext(I18nContext) || {};
617
- const i18n2 = i18nFromProps || i18nFromContext || getI18n();
618
- if (i18n2 && !i18n2.reportNamespaces)
619
- i18n2.reportNamespaces = new ReportNamespaces();
620
- if (!i18n2) {
621
- warnOnce("You will need to pass in an i18next instance by using initReactI18next");
622
- const notReadyT = (k, optsOrDefaultValue) => {
623
- if (typeof optsOrDefaultValue === "string")
624
- return optsOrDefaultValue;
625
- if (optsOrDefaultValue && typeof optsOrDefaultValue === "object" && typeof optsOrDefaultValue.defaultValue === "string")
626
- return optsOrDefaultValue.defaultValue;
627
- return Array.isArray(k) ? k[k.length - 1] : k;
628
- };
629
- const retNotReady = [notReadyT, {}, false];
630
- retNotReady.t = notReadyT;
631
- retNotReady.i18n = {};
632
- retNotReady.ready = false;
633
- return retNotReady;
634
- }
635
- if (i18n2.options.react && i18n2.options.react.wait !== void 0)
636
- warnOnce("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
637
- const i18nOptions = {
638
- ...getDefaults(),
639
- ...i18n2.options.react,
640
- ...props
641
- };
642
- const {
643
- useSuspense,
644
- keyPrefix
645
- } = i18nOptions;
646
- let namespaces = ns || defaultNSFromContext || i18n2.options && i18n2.options.defaultNS;
647
- namespaces = typeof namespaces === "string" ? [namespaces] : namespaces || ["translation"];
648
- if (i18n2.reportNamespaces.addUsedNamespaces)
649
- i18n2.reportNamespaces.addUsedNamespaces(namespaces);
650
- const ready = (i18n2.isInitialized || i18n2.initializedStoreOnce) && namespaces.every((n2) => hasLoadedNamespace(n2, i18n2, i18nOptions));
651
- function getT() {
652
- return i18n2.getFixedT(props.lng || null, i18nOptions.nsMode === "fallback" ? namespaces : namespaces[0], keyPrefix);
653
- }
654
- const [t2, setT] = useState(getT);
655
- let joinedNS = namespaces.join();
656
- if (props.lng)
657
- joinedNS = `${props.lng}${joinedNS}`;
658
- const previousJoinedNS = usePrevious(joinedNS);
659
- const isMounted = useRef(true);
660
- useEffect(() => {
661
- const {
662
- bindI18n,
663
- bindI18nStore
664
- } = i18nOptions;
665
- isMounted.current = true;
666
- if (!ready && !useSuspense) {
667
- if (props.lng) {
668
- loadLanguages(i18n2, props.lng, namespaces, () => {
669
- if (isMounted.current)
670
- setT(getT);
671
- });
672
- } else {
673
- loadNamespaces(i18n2, namespaces, () => {
674
- if (isMounted.current)
675
- setT(getT);
676
- });
677
- }
678
- }
679
- if (ready && previousJoinedNS && previousJoinedNS !== joinedNS && isMounted.current) {
680
- setT(getT);
681
- }
682
- function boundReset() {
683
- if (isMounted.current)
684
- setT(getT);
685
- }
686
- if (bindI18n && i18n2)
687
- i18n2.on(bindI18n, boundReset);
688
- if (bindI18nStore && i18n2)
689
- i18n2.store.on(bindI18nStore, boundReset);
690
- return () => {
691
- isMounted.current = false;
692
- if (bindI18n && i18n2)
693
- bindI18n.split(" ").forEach((e2) => i18n2.off(e2, boundReset));
694
- if (bindI18nStore && i18n2)
695
- bindI18nStore.split(" ").forEach((e2) => i18n2.store.off(e2, boundReset));
696
- };
697
- }, [i18n2, joinedNS]);
698
- const isInitial = useRef(true);
699
- useEffect(() => {
700
- if (isMounted.current && !isInitial.current) {
701
- setT(getT);
702
- }
703
- isInitial.current = false;
704
- }, [i18n2, keyPrefix]);
705
- const ret = [t2, i18n2, ready];
706
- ret.t = t2;
707
- ret.i18n = i18n2;
708
- ret.ready = ready;
709
- if (ready)
710
- return ret;
711
- if (!ready && !useSuspense)
712
- return ret;
713
- throw new Promise((resolve) => {
714
- if (props.lng) {
715
- loadLanguages(i18n2, props.lng, namespaces, () => resolve());
716
- } else {
717
- loadNamespaces(i18n2, namespaces, () => resolve());
718
- }
719
- });
720
- }
721
442
  const copy$1 = "Copy";
722
443
  const reset_arguments$1 = "Reset";
723
444
  const view_changes$1 = "Show diff";
@@ -1705,672 +1426,6 @@ dayjs.locale("zh");
1705
1426
  i18n.on("languageChanged", (lng) => {
1706
1427
  dayjs.locale(lng);
1707
1428
  });
1708
- var jsxRuntime = { exports: {} };
1709
- var reactJsxRuntime_production_min = {};
1710
- /** @license React v16.14.0
1711
- * react-jsx-runtime.production.min.js
1712
- *
1713
- * Copyright (c) Facebook, Inc. and its affiliates.
1714
- *
1715
- * This source code is licensed under the MIT license found in the
1716
- * LICENSE file in the root directory of this source tree.
1717
- */
1718
- var hasRequiredReactJsxRuntime_production_min;
1719
- function requireReactJsxRuntime_production_min() {
1720
- if (hasRequiredReactJsxRuntime_production_min)
1721
- return reactJsxRuntime_production_min;
1722
- hasRequiredReactJsxRuntime_production_min = 1;
1723
- var f = React__default, g = 60103;
1724
- reactJsxRuntime_production_min.Fragment = 60107;
1725
- if ("function" === typeof Symbol && Symbol.for) {
1726
- var h = Symbol.for;
1727
- g = h("react.element");
1728
- reactJsxRuntime_production_min.Fragment = h("react.fragment");
1729
- }
1730
- var m = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n2 = Object.prototype.hasOwnProperty, p = { key: true, ref: true, __self: true, __source: true };
1731
- function q(c2, a2, k) {
1732
- var b, d = {}, e2 = null, l = null;
1733
- void 0 !== k && (e2 = "" + k);
1734
- void 0 !== a2.key && (e2 = "" + a2.key);
1735
- void 0 !== a2.ref && (l = a2.ref);
1736
- for (b in a2)
1737
- n2.call(a2, b) && !p.hasOwnProperty(b) && (d[b] = a2[b]);
1738
- if (c2 && c2.defaultProps)
1739
- for (b in a2 = c2.defaultProps, a2)
1740
- void 0 === d[b] && (d[b] = a2[b]);
1741
- return { $$typeof: g, type: c2, key: e2, ref: l, props: d, _owner: m.current };
1742
- }
1743
- reactJsxRuntime_production_min.jsx = q;
1744
- reactJsxRuntime_production_min.jsxs = q;
1745
- return reactJsxRuntime_production_min;
1746
- }
1747
- var reactJsxRuntime_development = {};
1748
- /** @license React v16.14.0
1749
- * react-jsx-runtime.development.js
1750
- *
1751
- * Copyright (c) Facebook, Inc. and its affiliates.
1752
- *
1753
- * This source code is licensed under the MIT license found in the
1754
- * LICENSE file in the root directory of this source tree.
1755
- */
1756
- var hasRequiredReactJsxRuntime_development;
1757
- function requireReactJsxRuntime_development() {
1758
- if (hasRequiredReactJsxRuntime_development)
1759
- return reactJsxRuntime_development;
1760
- hasRequiredReactJsxRuntime_development = 1;
1761
- (function(exports) {
1762
- if (process.env.NODE_ENV !== "production") {
1763
- (function() {
1764
- var React2 = React__default;
1765
- var REACT_ELEMENT_TYPE = 60103;
1766
- var REACT_PORTAL_TYPE = 60106;
1767
- exports.Fragment = 60107;
1768
- var REACT_STRICT_MODE_TYPE = 60108;
1769
- var REACT_PROFILER_TYPE = 60114;
1770
- var REACT_PROVIDER_TYPE = 60109;
1771
- var REACT_CONTEXT_TYPE = 60110;
1772
- var REACT_FORWARD_REF_TYPE = 60112;
1773
- var REACT_SUSPENSE_TYPE = 60113;
1774
- var REACT_SUSPENSE_LIST_TYPE = 60120;
1775
- var REACT_MEMO_TYPE = 60115;
1776
- var REACT_LAZY_TYPE = 60116;
1777
- var REACT_BLOCK_TYPE = 60121;
1778
- var REACT_SERVER_BLOCK_TYPE = 60122;
1779
- var REACT_FUNDAMENTAL_TYPE = 60117;
1780
- var REACT_DEBUG_TRACING_MODE_TYPE = 60129;
1781
- var REACT_LEGACY_HIDDEN_TYPE = 60131;
1782
- if (typeof Symbol === "function" && Symbol.for) {
1783
- var symbolFor = Symbol.for;
1784
- REACT_ELEMENT_TYPE = symbolFor("react.element");
1785
- REACT_PORTAL_TYPE = symbolFor("react.portal");
1786
- exports.Fragment = symbolFor("react.fragment");
1787
- REACT_STRICT_MODE_TYPE = symbolFor("react.strict_mode");
1788
- REACT_PROFILER_TYPE = symbolFor("react.profiler");
1789
- REACT_PROVIDER_TYPE = symbolFor("react.provider");
1790
- REACT_CONTEXT_TYPE = symbolFor("react.context");
1791
- REACT_FORWARD_REF_TYPE = symbolFor("react.forward_ref");
1792
- REACT_SUSPENSE_TYPE = symbolFor("react.suspense");
1793
- REACT_SUSPENSE_LIST_TYPE = symbolFor("react.suspense_list");
1794
- REACT_MEMO_TYPE = symbolFor("react.memo");
1795
- REACT_LAZY_TYPE = symbolFor("react.lazy");
1796
- REACT_BLOCK_TYPE = symbolFor("react.block");
1797
- REACT_SERVER_BLOCK_TYPE = symbolFor("react.server.block");
1798
- REACT_FUNDAMENTAL_TYPE = symbolFor("react.fundamental");
1799
- symbolFor("react.scope");
1800
- symbolFor("react.opaque.id");
1801
- REACT_DEBUG_TRACING_MODE_TYPE = symbolFor("react.debug_trace_mode");
1802
- symbolFor("react.offscreen");
1803
- REACT_LEGACY_HIDDEN_TYPE = symbolFor("react.legacy_hidden");
1804
- }
1805
- var MAYBE_ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
1806
- var FAUX_ITERATOR_SYMBOL = "@@iterator";
1807
- function getIteratorFn(maybeIterable) {
1808
- if (maybeIterable === null || typeof maybeIterable !== "object") {
1809
- return null;
1810
- }
1811
- var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
1812
- if (typeof maybeIterator === "function") {
1813
- return maybeIterator;
1814
- }
1815
- return null;
1816
- }
1817
- var ReactSharedInternals = React2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1818
- function error(format) {
1819
- {
1820
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
1821
- args[_key2 - 1] = arguments[_key2];
1822
- }
1823
- printWarning("error", format, args);
1824
- }
1825
- }
1826
- function printWarning(level, format, args) {
1827
- {
1828
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
1829
- var stack = "";
1830
- if (currentlyValidatingElement) {
1831
- var name2 = getComponentName(currentlyValidatingElement.type);
1832
- var owner = currentlyValidatingElement._owner;
1833
- stack += describeComponentFrame(name2, currentlyValidatingElement._source, owner && getComponentName(owner.type));
1834
- }
1835
- stack += ReactDebugCurrentFrame.getStackAddendum();
1836
- if (stack !== "") {
1837
- format += "%s";
1838
- args = args.concat([stack]);
1839
- }
1840
- var argsWithFormat = args.map(function(item) {
1841
- return "" + item;
1842
- });
1843
- argsWithFormat.unshift("Warning: " + format);
1844
- Function.prototype.apply.call(console[level], console, argsWithFormat);
1845
- }
1846
- }
1847
- var enableScopeAPI = false;
1848
- function isValidElementType(type2) {
1849
- if (typeof type2 === "string" || typeof type2 === "function") {
1850
- return true;
1851
- }
1852
- if (type2 === exports.Fragment || type2 === REACT_PROFILER_TYPE || type2 === REACT_DEBUG_TRACING_MODE_TYPE || type2 === REACT_STRICT_MODE_TYPE || type2 === REACT_SUSPENSE_TYPE || type2 === REACT_SUSPENSE_LIST_TYPE || type2 === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI) {
1853
- return true;
1854
- }
1855
- if (typeof type2 === "object" && type2 !== null) {
1856
- if (type2.$$typeof === REACT_LAZY_TYPE || type2.$$typeof === REACT_MEMO_TYPE || type2.$$typeof === REACT_PROVIDER_TYPE || type2.$$typeof === REACT_CONTEXT_TYPE || type2.$$typeof === REACT_FORWARD_REF_TYPE || type2.$$typeof === REACT_FUNDAMENTAL_TYPE || type2.$$typeof === REACT_BLOCK_TYPE || type2[0] === REACT_SERVER_BLOCK_TYPE) {
1857
- return true;
1858
- }
1859
- }
1860
- return false;
1861
- }
1862
- var BEFORE_SLASH_RE = /^(.*)[\\\/]/;
1863
- function describeComponentFrame(name2, source, ownerName) {
1864
- var sourceInfo = "";
1865
- if (source) {
1866
- var path2 = source.fileName;
1867
- var fileName = path2.replace(BEFORE_SLASH_RE, "");
1868
- {
1869
- if (/^index\./.test(fileName)) {
1870
- var match = path2.match(BEFORE_SLASH_RE);
1871
- if (match) {
1872
- var pathBeforeSlash = match[1];
1873
- if (pathBeforeSlash) {
1874
- var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, "");
1875
- fileName = folderName + "/" + fileName;
1876
- }
1877
- }
1878
- }
1879
- }
1880
- sourceInfo = " (at " + fileName + ":" + source.lineNumber + ")";
1881
- } else if (ownerName) {
1882
- sourceInfo = " (created by " + ownerName + ")";
1883
- }
1884
- return "\n in " + (name2 || "Unknown") + sourceInfo;
1885
- }
1886
- var Resolved = 1;
1887
- function refineResolvedLazyComponent(lazyComponent) {
1888
- return lazyComponent._status === Resolved ? lazyComponent._result : null;
1889
- }
1890
- function getWrappedName(outerType, innerType, wrapperName) {
1891
- var functionName = innerType.displayName || innerType.name || "";
1892
- return outerType.displayName || (functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName);
1893
- }
1894
- function getComponentName(type2) {
1895
- if (type2 == null) {
1896
- return null;
1897
- }
1898
- {
1899
- if (typeof type2.tag === "number") {
1900
- error("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue.");
1901
- }
1902
- }
1903
- if (typeof type2 === "function") {
1904
- return type2.displayName || type2.name || null;
1905
- }
1906
- if (typeof type2 === "string") {
1907
- return type2;
1908
- }
1909
- switch (type2) {
1910
- case exports.Fragment:
1911
- return "Fragment";
1912
- case REACT_PORTAL_TYPE:
1913
- return "Portal";
1914
- case REACT_PROFILER_TYPE:
1915
- return "Profiler";
1916
- case REACT_STRICT_MODE_TYPE:
1917
- return "StrictMode";
1918
- case REACT_SUSPENSE_TYPE:
1919
- return "Suspense";
1920
- case REACT_SUSPENSE_LIST_TYPE:
1921
- return "SuspenseList";
1922
- }
1923
- if (typeof type2 === "object") {
1924
- switch (type2.$$typeof) {
1925
- case REACT_CONTEXT_TYPE:
1926
- return "Context.Consumer";
1927
- case REACT_PROVIDER_TYPE:
1928
- return "Context.Provider";
1929
- case REACT_FORWARD_REF_TYPE:
1930
- return getWrappedName(type2, type2.render, "ForwardRef");
1931
- case REACT_MEMO_TYPE:
1932
- return getComponentName(type2.type);
1933
- case REACT_BLOCK_TYPE:
1934
- return getComponentName(type2.render);
1935
- case REACT_LAZY_TYPE: {
1936
- var thenable = type2;
1937
- var resolvedThenable = refineResolvedLazyComponent(thenable);
1938
- if (resolvedThenable) {
1939
- return getComponentName(resolvedThenable);
1940
- }
1941
- break;
1942
- }
1943
- }
1944
- }
1945
- return null;
1946
- }
1947
- var loggedTypeFailures = {};
1948
- ReactSharedInternals.ReactDebugCurrentFrame;
1949
- var currentlyValidatingElement = null;
1950
- function setCurrentlyValidatingElement(element) {
1951
- {
1952
- currentlyValidatingElement = element;
1953
- }
1954
- }
1955
- function checkPropTypes(typeSpecs, values, location2, componentName, element) {
1956
- {
1957
- var has2 = Function.call.bind(Object.prototype.hasOwnProperty);
1958
- for (var typeSpecName in typeSpecs) {
1959
- if (has2(typeSpecs, typeSpecName)) {
1960
- var error$1 = void 0;
1961
- try {
1962
- if (typeof typeSpecs[typeSpecName] !== "function") {
1963
- var err = Error((componentName || "React class") + ": " + location2 + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1964
- err.name = "Invariant Violation";
1965
- throw err;
1966
- }
1967
- error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location2, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1968
- } catch (ex) {
1969
- error$1 = ex;
1970
- }
1971
- if (error$1 && !(error$1 instanceof Error)) {
1972
- setCurrentlyValidatingElement(element);
1973
- error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class", location2, typeSpecName, typeof error$1);
1974
- setCurrentlyValidatingElement(null);
1975
- }
1976
- if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
1977
- loggedTypeFailures[error$1.message] = true;
1978
- setCurrentlyValidatingElement(element);
1979
- error("Failed %s type: %s", location2, error$1.message);
1980
- setCurrentlyValidatingElement(null);
1981
- }
1982
- }
1983
- }
1984
- }
1985
- }
1986
- var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
1987
- var hasOwnProperty2 = Object.prototype.hasOwnProperty;
1988
- var RESERVED_PROPS = {
1989
- key: true,
1990
- ref: true,
1991
- __self: true,
1992
- __source: true
1993
- };
1994
- var specialPropKeyWarningShown;
1995
- var specialPropRefWarningShown;
1996
- var didWarnAboutStringRefs;
1997
- {
1998
- didWarnAboutStringRefs = {};
1999
- }
2000
- function hasValidRef(config) {
2001
- {
2002
- if (hasOwnProperty2.call(config, "ref")) {
2003
- var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
2004
- if (getter && getter.isReactWarning) {
2005
- return false;
2006
- }
2007
- }
2008
- }
2009
- return config.ref !== void 0;
2010
- }
2011
- function hasValidKey(config) {
2012
- {
2013
- if (hasOwnProperty2.call(config, "key")) {
2014
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
2015
- if (getter && getter.isReactWarning) {
2016
- return false;
2017
- }
2018
- }
2019
- }
2020
- return config.key !== void 0;
2021
- }
2022
- function warnIfStringRefCannotBeAutoConverted(config, self2) {
2023
- {
2024
- if (typeof config.ref === "string" && ReactCurrentOwner.current && self2 && ReactCurrentOwner.current.stateNode !== self2) {
2025
- var componentName = getComponentName(ReactCurrentOwner.current.type);
2026
- if (!didWarnAboutStringRefs[componentName]) {
2027
- error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', getComponentName(ReactCurrentOwner.current.type), config.ref);
2028
- didWarnAboutStringRefs[componentName] = true;
2029
- }
2030
- }
2031
- }
2032
- }
2033
- function defineKeyPropWarningGetter(props, displayName) {
2034
- {
2035
- var warnAboutAccessingKey = function() {
2036
- if (!specialPropKeyWarningShown) {
2037
- specialPropKeyWarningShown = true;
2038
- error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
2039
- }
2040
- };
2041
- warnAboutAccessingKey.isReactWarning = true;
2042
- Object.defineProperty(props, "key", {
2043
- get: warnAboutAccessingKey,
2044
- configurable: true
2045
- });
2046
- }
2047
- }
2048
- function defineRefPropWarningGetter(props, displayName) {
2049
- {
2050
- var warnAboutAccessingRef = function() {
2051
- if (!specialPropRefWarningShown) {
2052
- specialPropRefWarningShown = true;
2053
- error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
2054
- }
2055
- };
2056
- warnAboutAccessingRef.isReactWarning = true;
2057
- Object.defineProperty(props, "ref", {
2058
- get: warnAboutAccessingRef,
2059
- configurable: true
2060
- });
2061
- }
2062
- }
2063
- var ReactElement = function(type2, key2, ref, self2, source, owner, props) {
2064
- var element = {
2065
- // This tag allows us to uniquely identify this as a React Element
2066
- $$typeof: REACT_ELEMENT_TYPE,
2067
- // Built-in properties that belong on the element
2068
- type: type2,
2069
- key: key2,
2070
- ref,
2071
- props,
2072
- // Record the component responsible for creating this element.
2073
- _owner: owner
2074
- };
2075
- {
2076
- element._store = {};
2077
- Object.defineProperty(element._store, "validated", {
2078
- configurable: false,
2079
- enumerable: false,
2080
- writable: true,
2081
- value: false
2082
- });
2083
- Object.defineProperty(element, "_self", {
2084
- configurable: false,
2085
- enumerable: false,
2086
- writable: false,
2087
- value: self2
2088
- });
2089
- Object.defineProperty(element, "_source", {
2090
- configurable: false,
2091
- enumerable: false,
2092
- writable: false,
2093
- value: source
2094
- });
2095
- if (Object.freeze) {
2096
- Object.freeze(element.props);
2097
- Object.freeze(element);
2098
- }
2099
- }
2100
- return element;
2101
- };
2102
- function jsxDEV(type2, config, maybeKey, source, self2) {
2103
- {
2104
- var propName;
2105
- var props = {};
2106
- var key2 = null;
2107
- var ref = null;
2108
- if (maybeKey !== void 0) {
2109
- key2 = "" + maybeKey;
2110
- }
2111
- if (hasValidKey(config)) {
2112
- key2 = "" + config.key;
2113
- }
2114
- if (hasValidRef(config)) {
2115
- ref = config.ref;
2116
- warnIfStringRefCannotBeAutoConverted(config, self2);
2117
- }
2118
- for (propName in config) {
2119
- if (hasOwnProperty2.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
2120
- props[propName] = config[propName];
2121
- }
2122
- }
2123
- if (type2 && type2.defaultProps) {
2124
- var defaultProps = type2.defaultProps;
2125
- for (propName in defaultProps) {
2126
- if (props[propName] === void 0) {
2127
- props[propName] = defaultProps[propName];
2128
- }
2129
- }
2130
- }
2131
- if (key2 || ref) {
2132
- var displayName = typeof type2 === "function" ? type2.displayName || type2.name || "Unknown" : type2;
2133
- if (key2) {
2134
- defineKeyPropWarningGetter(props, displayName);
2135
- }
2136
- if (ref) {
2137
- defineRefPropWarningGetter(props, displayName);
2138
- }
2139
- }
2140
- return ReactElement(type2, key2, ref, self2, source, ReactCurrentOwner.current, props);
2141
- }
2142
- }
2143
- var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
2144
- ReactSharedInternals.ReactDebugCurrentFrame;
2145
- function setCurrentlyValidatingElement$1(element) {
2146
- currentlyValidatingElement = element;
2147
- }
2148
- var propTypesMisspellWarningShown;
2149
- {
2150
- propTypesMisspellWarningShown = false;
2151
- }
2152
- function isValidElement2(object2) {
2153
- {
2154
- return typeof object2 === "object" && object2 !== null && object2.$$typeof === REACT_ELEMENT_TYPE;
2155
- }
2156
- }
2157
- function getDeclarationErrorAddendum() {
2158
- {
2159
- if (ReactCurrentOwner$1.current) {
2160
- var name2 = getComponentName(ReactCurrentOwner$1.current.type);
2161
- if (name2) {
2162
- return "\n\nCheck the render method of `" + name2 + "`.";
2163
- }
2164
- }
2165
- return "";
2166
- }
2167
- }
2168
- function getSourceInfoErrorAddendum(source) {
2169
- {
2170
- if (source !== void 0) {
2171
- var fileName = source.fileName.replace(/^.*[\\\/]/, "");
2172
- var lineNumber = source.lineNumber;
2173
- return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
2174
- }
2175
- return "";
2176
- }
2177
- }
2178
- var ownerHasKeyUseWarning = {};
2179
- function getCurrentComponentErrorInfo(parentType) {
2180
- {
2181
- var info = getDeclarationErrorAddendum();
2182
- if (!info) {
2183
- var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
2184
- if (parentName) {
2185
- info = "\n\nCheck the top-level render call using <" + parentName + ">.";
2186
- }
2187
- }
2188
- return info;
2189
- }
2190
- }
2191
- function validateExplicitKey(element, parentType) {
2192
- {
2193
- if (!element._store || element._store.validated || element.key != null) {
2194
- return;
2195
- }
2196
- element._store.validated = true;
2197
- var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
2198
- if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
2199
- return;
2200
- }
2201
- ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
2202
- var childOwner = "";
2203
- if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
2204
- childOwner = " It was passed a child from " + getComponentName(element._owner.type) + ".";
2205
- }
2206
- setCurrentlyValidatingElement$1(element);
2207
- error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
2208
- setCurrentlyValidatingElement$1(null);
2209
- }
2210
- }
2211
- function validateChildKeys(node, parentType) {
2212
- {
2213
- if (typeof node !== "object") {
2214
- return;
2215
- }
2216
- if (Array.isArray(node)) {
2217
- for (var i2 = 0; i2 < node.length; i2++) {
2218
- var child = node[i2];
2219
- if (isValidElement2(child)) {
2220
- validateExplicitKey(child, parentType);
2221
- }
2222
- }
2223
- } else if (isValidElement2(node)) {
2224
- if (node._store) {
2225
- node._store.validated = true;
2226
- }
2227
- } else if (node) {
2228
- var iteratorFn = getIteratorFn(node);
2229
- if (typeof iteratorFn === "function") {
2230
- if (iteratorFn !== node.entries) {
2231
- var iterator = iteratorFn.call(node);
2232
- var step;
2233
- while (!(step = iterator.next()).done) {
2234
- if (isValidElement2(step.value)) {
2235
- validateExplicitKey(step.value, parentType);
2236
- }
2237
- }
2238
- }
2239
- }
2240
- }
2241
- }
2242
- }
2243
- function validatePropTypes(element) {
2244
- {
2245
- var type2 = element.type;
2246
- if (type2 === null || type2 === void 0 || typeof type2 === "string") {
2247
- return;
2248
- }
2249
- var propTypes;
2250
- if (typeof type2 === "function") {
2251
- propTypes = type2.propTypes;
2252
- } else if (typeof type2 === "object" && (type2.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
2253
- // Inner props are checked in the reconciler.
2254
- type2.$$typeof === REACT_MEMO_TYPE)) {
2255
- propTypes = type2.propTypes;
2256
- } else {
2257
- return;
2258
- }
2259
- if (propTypes) {
2260
- var name2 = getComponentName(type2);
2261
- checkPropTypes(propTypes, element.props, "prop", name2, element);
2262
- } else if (type2.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
2263
- propTypesMisspellWarningShown = true;
2264
- var _name = getComponentName(type2);
2265
- error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
2266
- }
2267
- if (typeof type2.getDefaultProps === "function" && !type2.getDefaultProps.isReactClassApproved) {
2268
- error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2269
- }
2270
- }
2271
- }
2272
- function validateFragmentProps(fragment) {
2273
- {
2274
- var keys = Object.keys(fragment.props);
2275
- for (var i2 = 0; i2 < keys.length; i2++) {
2276
- var key2 = keys[i2];
2277
- if (key2 !== "children" && key2 !== "key") {
2278
- setCurrentlyValidatingElement$1(fragment);
2279
- error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key2);
2280
- setCurrentlyValidatingElement$1(null);
2281
- break;
2282
- }
2283
- }
2284
- if (fragment.ref !== null) {
2285
- setCurrentlyValidatingElement$1(fragment);
2286
- error("Invalid attribute `ref` supplied to `React.Fragment`.");
2287
- setCurrentlyValidatingElement$1(null);
2288
- }
2289
- }
2290
- }
2291
- function jsxWithValidation(type2, props, key2, isStaticChildren, source, self2) {
2292
- {
2293
- var validType = isValidElementType(type2);
2294
- if (!validType) {
2295
- var info = "";
2296
- if (type2 === void 0 || typeof type2 === "object" && type2 !== null && Object.keys(type2).length === 0) {
2297
- info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
2298
- }
2299
- var sourceInfo = getSourceInfoErrorAddendum(source);
2300
- if (sourceInfo) {
2301
- info += sourceInfo;
2302
- } else {
2303
- info += getDeclarationErrorAddendum();
2304
- }
2305
- var typeString;
2306
- if (type2 === null) {
2307
- typeString = "null";
2308
- } else if (Array.isArray(type2)) {
2309
- typeString = "array";
2310
- } else if (type2 !== void 0 && type2.$$typeof === REACT_ELEMENT_TYPE) {
2311
- typeString = "<" + (getComponentName(type2.type) || "Unknown") + " />";
2312
- info = " Did you accidentally export a JSX literal instead of a component?";
2313
- } else {
2314
- typeString = typeof type2;
2315
- }
2316
- error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
2317
- }
2318
- var element = jsxDEV(type2, props, key2, source, self2);
2319
- if (element == null) {
2320
- return element;
2321
- }
2322
- if (validType) {
2323
- var children = props.children;
2324
- if (children !== void 0) {
2325
- if (isStaticChildren) {
2326
- if (Array.isArray(children)) {
2327
- for (var i2 = 0; i2 < children.length; i2++) {
2328
- validateChildKeys(children[i2], type2);
2329
- }
2330
- if (Object.freeze) {
2331
- Object.freeze(children);
2332
- }
2333
- } else {
2334
- error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
2335
- }
2336
- } else {
2337
- validateChildKeys(children, type2);
2338
- }
2339
- }
2340
- }
2341
- if (type2 === exports.Fragment) {
2342
- validateFragmentProps(element);
2343
- } else {
2344
- validatePropTypes(element);
2345
- }
2346
- return element;
2347
- }
2348
- }
2349
- function jsxWithValidationStatic(type2, props, key2) {
2350
- {
2351
- return jsxWithValidation(type2, props, key2, true);
2352
- }
2353
- }
2354
- function jsxWithValidationDynamic(type2, props, key2) {
2355
- {
2356
- return jsxWithValidation(type2, props, key2, false);
2357
- }
2358
- }
2359
- var jsx = jsxWithValidationDynamic;
2360
- var jsxs = jsxWithValidationStatic;
2361
- exports.jsx = jsx;
2362
- exports.jsxs = jsxs;
2363
- })();
2364
- }
2365
- })(reactJsxRuntime_development);
2366
- return reactJsxRuntime_development;
2367
- }
2368
- if (process.env.NODE_ENV === "production") {
2369
- jsxRuntime.exports = requireReactJsxRuntime_production_min();
2370
- } else {
2371
- jsxRuntime.exports = requireReactJsxRuntime_development();
2372
- }
2373
- var jsxRuntimeExports = jsxRuntime.exports;
2374
1429
  const stringifyConfig = {
2375
1430
  addQueryPrefix: true,
2376
1431
  skipNulls: true,
@@ -3184,7 +2239,7 @@ lodash.exports;
3184
2239
  var reIsNative2 = RegExp2(
3185
2240
  "^" + funcToString2.call(hasOwnProperty2).replace(reRegExpChar2, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
3186
2241
  );
3187
- var Buffer3 = moduleExports ? context.Buffer : undefined$1, Symbol2 = context.Symbol, Uint8Array2 = context.Uint8Array, allocUnsafe = Buffer3 ? Buffer3.allocUnsafe : undefined$1, getPrototype = overArg(Object2.getPrototypeOf, Object2), objectCreate = Object2.create, propertyIsEnumerable2 = objectProto2.propertyIsEnumerable, splice2 = arrayProto2.splice, spreadableSymbol = Symbol2 ? Symbol2.isConcatSpreadable : undefined$1, symIterator = Symbol2 ? Symbol2.iterator : undefined$1, symToStringTag2 = Symbol2 ? Symbol2.toStringTag : undefined$1;
2242
+ var Buffer2 = moduleExports ? context.Buffer : undefined$1, Symbol2 = context.Symbol, Uint8Array2 = context.Uint8Array, allocUnsafe = Buffer2 ? Buffer2.allocUnsafe : undefined$1, getPrototype = overArg(Object2.getPrototypeOf, Object2), objectCreate = Object2.create, propertyIsEnumerable2 = objectProto2.propertyIsEnumerable, splice2 = arrayProto2.splice, spreadableSymbol = Symbol2 ? Symbol2.isConcatSpreadable : undefined$1, symIterator = Symbol2 ? Symbol2.iterator : undefined$1, symToStringTag2 = Symbol2 ? Symbol2.toStringTag : undefined$1;
3188
2243
  var defineProperty = function() {
3189
2244
  try {
3190
2245
  var func = getNative2(Object2, "defineProperty");
@@ -3194,7 +2249,7 @@ lodash.exports;
3194
2249
  }
3195
2250
  }();
3196
2251
  var ctxClearTimeout = context.clearTimeout !== root2.clearTimeout && context.clearTimeout, ctxNow = Date2 && Date2.now !== root2.Date.now && Date2.now, ctxSetTimeout = context.setTimeout !== root2.setTimeout && context.setTimeout;
3197
- var nativeCeil = Math2.ceil, nativeFloor = Math2.floor, nativeGetSymbols = Object2.getOwnPropertySymbols, nativeIsBuffer = Buffer3 ? Buffer3.isBuffer : undefined$1, nativeIsFinite = context.isFinite, nativeJoin = arrayProto2.join, nativeKeys = overArg(Object2.keys, Object2), nativeMax = Math2.max, nativeMin = Math2.min, nativeNow = Date2.now, nativeParseInt = context.parseInt, nativeRandom = Math2.random, nativeReverse = arrayProto2.reverse;
2252
+ var nativeCeil = Math2.ceil, nativeFloor = Math2.floor, nativeGetSymbols = Object2.getOwnPropertySymbols, nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : undefined$1, nativeIsFinite = context.isFinite, nativeJoin = arrayProto2.join, nativeKeys = overArg(Object2.keys, Object2), nativeMax = Math2.max, nativeMin = Math2.min, nativeNow = Date2.now, nativeParseInt = context.parseInt, nativeRandom = Math2.random, nativeReverse = arrayProto2.reverse;
3198
2253
  var DataView = getNative2(context, "DataView"), Map2 = getNative2(context, "Map"), Promise2 = getNative2(context, "Promise"), Set = getNative2(context, "Set"), WeakMap = getNative2(context, "WeakMap"), nativeCreate2 = getNative2(Object2, "create");
3199
2254
  var metaMap = WeakMap && new WeakMap();
3200
2255
  var realNames = {};
@@ -4473,7 +3528,7 @@ lodash.exports;
4473
3528
  end = end === undefined$1 ? length : end;
4474
3529
  return !start && end >= length ? array : baseSlice(array, start, end);
4475
3530
  }
4476
- var clearTimeout2 = ctxClearTimeout || function(id) {
3531
+ var clearTimeout = ctxClearTimeout || function(id) {
4477
3532
  return root2.clearTimeout(id);
4478
3533
  };
4479
3534
  function cloneBuffer(buffer, isDeep) {
@@ -6344,7 +5399,7 @@ lodash.exports;
6344
5399
  }
6345
5400
  function cancel2() {
6346
5401
  if (timerId !== undefined$1) {
6347
- clearTimeout2(timerId);
5402
+ clearTimeout(timerId);
6348
5403
  }
6349
5404
  lastInvokeTime = 0;
6350
5405
  lastArgs = lastCallTime = lastThis = timerId = undefined$1;
@@ -6362,7 +5417,7 @@ lodash.exports;
6362
5417
  return leadingEdge(lastCallTime);
6363
5418
  }
6364
5419
  if (maxing) {
6365
- clearTimeout2(timerId);
5420
+ clearTimeout(timerId);
6366
5421
  timerId = setTimeout2(timerExpired, wait);
6367
5422
  return invokeFunc(lastCallTime);
6368
5423
  }
@@ -7251,7 +6306,7 @@ lodash.exports;
7251
6306
  }
7252
6307
  return result2 + omission;
7253
6308
  }
7254
- function unescape2(string) {
6309
+ function unescape(string) {
7255
6310
  string = toString2(string);
7256
6311
  return string && reHasEscapedHtml.test(string) ? string.replace(reEscapedHtml, unescapeHtmlChar) : string;
7257
6312
  }
@@ -7765,7 +6820,7 @@ lodash.exports;
7765
6820
  lodash2.trimEnd = trimEnd;
7766
6821
  lodash2.trimStart = trimStart;
7767
6822
  lodash2.truncate = truncate;
7768
- lodash2.unescape = unescape2;
6823
+ lodash2.unescape = unescape;
7769
6824
  lodash2.uniqueId = uniqueId;
7770
6825
  lodash2.upperCase = upperCase;
7771
6826
  lodash2.upperFirst = upperFirst;
@@ -8401,31 +7456,6 @@ const useDeleteModal = ({
8401
7456
  });
8402
7457
  return { openDeleteConfirmModal, closeDeleteConfirmModal };
8403
7458
  };
8404
- var cx = function cx2() {
8405
- const presentClassNames = Array.prototype.slice.call(arguments).filter(Boolean);
8406
- const atomicClasses = {};
8407
- const nonAtomicClasses = [];
8408
- presentClassNames.forEach((arg) => {
8409
- const individualClassNames = arg ? arg.split(" ") : [];
8410
- individualClassNames.forEach((className) => {
8411
- if (className.startsWith("atm_")) {
8412
- const [, keyHash] = className.split("_");
8413
- atomicClasses[keyHash] = className;
8414
- } else {
8415
- nonAtomicClasses.push(className);
8416
- }
8417
- });
8418
- });
8419
- const result = [];
8420
- for (const keyHash in atomicClasses) {
8421
- if (Object.prototype.hasOwnProperty.call(atomicClasses, keyHash)) {
8422
- result.push(atomicClasses[keyHash]);
8423
- }
8424
- }
8425
- result.push(...nonAtomicClasses);
8426
- return result.join(" ");
8427
- };
8428
- var cx_default = cx;
8429
7459
  const index_18b69qa = "";
8430
7460
  const EMPTY_VALUES = [void 0, null, "", "-"];
8431
7461
  const EmptyStyle = "e5223w8";
@@ -11421,7 +10451,7 @@ const DeleteManyButton = (props) => {
11421
10451
  };
11422
10452
  const index_1iwpuwe = "";
11423
10453
  const ToolbarWrapperStyle = "t1908hhn";
11424
- const ToolbarStyle$3 = "t1ym1gqo";
10454
+ const ToolbarStyle$1 = "t1ym1gqo";
11425
10455
  const TitleStyle$2 = "t38ugwl";
11426
10456
  const DescriptionStyle = "d13nfex0";
11427
10457
  const TableToolBar = ({
@@ -11437,7 +10467,7 @@ const TableToolBar = ({
11437
10467
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
11438
10468
  className: cx_default(ToolbarWrapperStyle, "table-toolbar"),
11439
10469
  children: [/* @__PURE__ */ jsxRuntimeExports.jsxs(Space, {
11440
- className: ToolbarStyle$3,
10470
+ className: ToolbarStyle$1,
11441
10471
  children: [/* @__PURE__ */ jsxRuntimeExports.jsx("span", {
11442
10472
  className: cx_default(Typo.Display.d2_regular_title, TitleStyle$2),
11443
10473
  children: title || ((_a = resource == null ? void 0 : resource.meta) == null ? void 0 : _a.kind)
@@ -11650,17 +10680,32 @@ const ResourceLink = (props) => {
11650
10680
  const {
11651
10681
  resourceKind: resourceName,
11652
10682
  namespace: namespace2,
11653
- name: resourceId,
10683
+ name: name2,
11654
10684
  uid,
11655
10685
  displayName
11656
10686
  } = props;
11657
10687
  const navigation = useNavigation();
11658
10688
  const go = useGo();
10689
+ const {
10690
+ data: data2
10691
+ } = useCan({
10692
+ resource: resourceName,
10693
+ action: AccessControlAuth.Read,
10694
+ params: {
10695
+ namespace: namespace2
10696
+ }
10697
+ });
10698
+ const isCanRead = data2 == null ? void 0 : data2.can;
10699
+ if (!isCanRead) {
10700
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
10701
+ children: name2
10702
+ });
10703
+ }
11659
10704
  const onClick = () => {
11660
10705
  go({
11661
10706
  to: navigation.showUrl(resourceName, ""),
11662
10707
  query: {
11663
- id: namespace2 ? `${namespace2}/${resourceId}` : resourceId,
10708
+ id: namespace2 ? `${namespace2}/${name2}` : name2,
11664
10709
  uid
11665
10710
  },
11666
10711
  options: {
@@ -11668,11 +10713,11 @@ const ResourceLink = (props) => {
11668
10713
  }
11669
10714
  });
11670
10715
  };
11671
- return resourceId ? /* @__PURE__ */ jsxRuntimeExports.jsx(Link$1, {
10716
+ return name2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(Link$1, {
11672
10717
  className: LinkStyle,
11673
10718
  onClick,
11674
- title: displayName || resourceId,
11675
- children: displayName || resourceId
10719
+ title: displayName || name2,
10720
+ children: displayName || name2
11676
10721
  }) : /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDisplay, {
11677
10722
  value: ""
11678
10723
  });
@@ -13409,8 +12454,8 @@ const ResourceTableField = (resource, useTableParams) => {
13409
12454
  const baseNoReset = "";
13410
12455
  const index_v855ki = "";
13411
12456
  const WrapperStyle$3 = "wve7dfm";
13412
- const ToolbarStyle$2 = "t9oeh3c";
13413
- const ToolbarAreaStyle$1 = "t1u2zqn6";
12457
+ const ToolbarStyle = "t9oeh3c";
12458
+ const ToolbarAreaStyle = "t1u2zqn6";
13414
12459
  const ContentStyle$1 = "c8wrcus";
13415
12460
  const PodLog = ({
13416
12461
  pod: pod2
@@ -13530,9 +12575,9 @@ const PodLog = ({
13530
12575
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
13531
12576
  className: WrapperStyle$3,
13532
12577
  children: [/* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
13533
- className: ToolbarStyle$2,
12578
+ className: ToolbarStyle,
13534
12579
  children: [/* @__PURE__ */ jsxRuntimeExports.jsxs("span", {
13535
- className: ToolbarAreaStyle$1,
12580
+ className: ToolbarAreaStyle,
13536
12581
  children: [/* @__PURE__ */ jsxRuntimeExports.jsx(SegmentControl, {
13537
12582
  options: [{
13538
12583
  label: t2("dovetail.realtime_log"),
@@ -13569,7 +12614,7 @@ const PodLog = ({
13569
12614
  }, container2.name))]
13570
12615
  })]
13571
12616
  }), /* @__PURE__ */ jsxRuntimeExports.jsxs("span", {
13572
- className: ToolbarAreaStyle$1,
12617
+ className: ToolbarAreaStyle,
13573
12618
  children: [/* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, {
13574
12619
  checked: wrap,
13575
12620
  onChange: (e2) => setWrap(e2.target.checked),
@@ -13637,7 +12682,7 @@ const PodLogTab = (i18n2) => ({
13637
12682
  ]
13638
12683
  });
13639
12684
  const NetworkPolicyRulesViewer_r6jity = "";
13640
- const MonacoYamlEditor$1 = lazy(() => import("./MonacoYamlEditor-7071a8ae.js"));
12685
+ const MonacoYamlEditor$1 = lazy(() => import("./MonacoYamlEditor-90733472.js"));
13641
12686
  const EditorStyle$1 = "e1cjl2b8";
13642
12687
  const NetworkPolicyRulesViewer = ({
13643
12688
  ingressOrEgress,
@@ -15767,680 +14812,9 @@ var CloseCircleFilled = function CloseCircleFilled2(props, ref) {
15767
14812
  };
15768
14813
  CloseCircleFilled.displayName = "CloseCircleFilled";
15769
14814
  const CloseCircleFilled$1 = React.forwardRef(CloseCircleFilled);
15770
- const ShellToolbar_ihg418 = "";
15771
- const ToolbarStyle$1 = "tzxa6d";
15772
- const ToolbarAreaStyle = "t1sxu3rr";
15773
- const IconWrapperStyle = "ix8ych8";
15774
- const IconStyle$1 = "i58m6oo";
15775
- const DividerStyle = "d1t2oa87";
15776
- const TooltipStyle = "tuo8xdg";
15777
- function ShellToolbar(props) {
15778
- const {
15779
- className,
15780
- leftSlot,
15781
- operations = ["fontSize", "downloadLog", "clear"],
15782
- searchMatchedTotal,
15783
- onSetFontSize,
15784
- onSearchNext,
15785
- onSearchPre,
15786
- onDownloadLog,
15787
- onClear
15788
- } = props;
15789
- const {
15790
- t: t2
15791
- } = useTranslation();
15792
- const fontSizeOptions = [12, 13, 14, 16, 20];
15793
- const operationMap = {
15794
- fontSize: /* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenu, {
15795
- trigger: ["click"],
15796
- items: fontSizeOptions.map((size) => ({
15797
- key: `${size}`,
15798
- title: `${size}px`,
15799
- text: `${size}px`,
15800
- onClick: () => {
15801
- onSetFontSize == null ? void 0 : onSetFontSize(size);
15802
- }
15803
- })),
15804
- slotsElements: {
15805
- trigger: () => /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, {
15806
- title: /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
15807
- className: TooltipStyle,
15808
- children: t2("dovetail.font_size")
15809
- }),
15810
- children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
15811
- style: {
15812
- display: "flex",
15813
- alignItems: "center"
15814
- },
15815
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, {
15816
- className: IconStyle$1,
15817
- src: FontSize16GrayIcon,
15818
- hoverSrc: FontSize16BlueIcon
15819
- })
15820
- })
15821
- })
15822
- }
15823
- }),
15824
- downloadLog: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, {
15825
- title: /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
15826
- className: TooltipStyle,
15827
- children: t2("dovetail.download_shell_content")
15828
- }),
15829
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, {
15830
- className: IconStyle$1,
15831
- src: LogCollection16GrayIcon,
15832
- hoverSrc: LogCollection16GradientBlueIcon,
15833
- onClick: onDownloadLog
15834
- })
15835
- }),
15836
- clear: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, {
15837
- title: /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
15838
- className: TooltipStyle,
15839
- children: t2("dovetail.clear_shell")
15840
- }),
15841
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, {
15842
- className: IconStyle$1,
15843
- src: TrashBinDeletePermanently16GrayIcon,
15844
- hoverSrc: TrashBinDeletePermanently16BlueIcon,
15845
- onClick: onClear
15846
- })
15847
- })
15848
- };
15849
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
15850
- className: cx_default(ToolbarStyle$1, className),
15851
- children: [/* @__PURE__ */ jsxRuntimeExports.jsx("div", {
15852
- className: ToolbarAreaStyle,
15853
- children: leftSlot
15854
- }), /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
15855
- className: ToolbarAreaStyle,
15856
- children: [/* @__PURE__ */ jsxRuntimeExports.jsx(SearchInput, {
15857
- placeholder: t2("dovetail.search"),
15858
- size: "small",
15859
- total: searchMatchedTotal,
15860
- onChange: (str) => {
15861
- onSearchNext(str);
15862
- },
15863
- onSearchNext: (str) => {
15864
- onSearchNext(str);
15865
- },
15866
- onSearchPrev: (str) => {
15867
- onSearchPre(str);
15868
- }
15869
- }), /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
15870
- className: DividerStyle
15871
- }), /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
15872
- className: IconWrapperStyle,
15873
- children: operations.map((operation) => typeof operation === "string" ? operationMap[operation] || null : operation)
15874
- })]
15875
- })]
15876
- });
15877
- }
15878
- const xterm = "";
15879
- const index_1bj2t02 = "";
15880
- const ContainerStyle = "c1q5a2qi";
15881
- const ShellStyle = "sdz5fm1";
15882
- const LoadingStyle = "lbp0h2e";
15883
- const ErrorAlertStyle = "eioilqy";
15884
- const ToolbarStyle = "trlau0c";
15885
- var SocketStatus = /* @__PURE__ */ ((SocketStatus2) => {
15886
- SocketStatus2["Opening"] = "Opening";
15887
- SocketStatus2["Open"] = "Open";
15888
- SocketStatus2["Disconnected"] = "Disconnected";
15889
- return SocketStatus2;
15890
- })(SocketStatus || {});
15891
- const Shell = React__default.forwardRef(function Shell2(props, ref) {
15892
- const {
15893
- className,
15894
- url,
15895
- protocols,
15896
- timeout = 1e4,
15897
- logFileName,
15898
- operations,
15899
- isHideToolbar,
15900
- toolbarLeftSlot,
15901
- shellOptions,
15902
- loadingElement,
15903
- encode,
15904
- decode,
15905
- onSocketStatusChange,
15906
- onTermInit,
15907
- onSocketInit,
15908
- children
15909
- } = props;
15910
- const terminalRef = useRef(null);
15911
- const termInstanceRef = useRef(null);
15912
- const fitAddonRef = useRef(null);
15913
- const searchAddonRef = useRef(null);
15914
- const socketRef = useRef(null);
15915
- const backlogRef = useRef([]);
15916
- const containerRef = useRef(null);
15917
- const [socketStatus, setSocketStatus] = useState(
15918
- "Opening"
15919
- /* Opening */
15920
- );
15921
- const [loading, setLoading] = useState(false);
15922
- const [error, setError] = useState(null);
15923
- const [searchMatchedTotal, setSearchMatchedTotal] = useState(0);
15924
- const {
15925
- t: t2
15926
- } = useTranslation();
15927
- const searchOptions = useMemo(() => ({
15928
- decorations: {
15929
- activeMatchColorOverviewRuler: "#FEA008",
15930
- matchOverviewRuler: "#E07F00",
15931
- activeMatchBackground: "#FEA008",
15932
- matchBackground: "#E07F00"
15933
- }
15934
- }), []);
15935
- const reset = useCallback(() => {
15936
- var _a, _b;
15937
- (_a = termInstanceRef.current) == null ? void 0 : _a.clear();
15938
- (_b = termInstanceRef.current) == null ? void 0 : _b.reset();
15939
- }, []);
15940
- const send = useCallback((message2, callback) => {
15941
- if (socketRef.current && socketRef.current.readyState === socketRef.current.OPEN) {
15942
- socketRef.current.send(message2);
15943
- callback == null ? void 0 : callback();
15944
- } else {
15945
- backlogRef.current.push({
15946
- message: message2,
15947
- callback
15948
- });
15949
- }
15950
- }, []);
15951
- const fit = useCallback(() => {
15952
- var _a;
15953
- if (!fitAddonRef.current)
15954
- return;
15955
- fitAddonRef.current.fit();
15956
- const {
15957
- rows,
15958
- cols
15959
- } = fitAddonRef.current.proposeDimensions() || {};
15960
- if (rows && cols) {
15961
- (_a = props.fit) == null ? void 0 : _a.call(props, {
15962
- rows,
15963
- cols
15964
- });
15965
- }
15966
- }, [encode, send, props.fit]);
15967
- const debouncedFit = useMemo(() => debounce(fit, 200), [fit]);
15968
- const flush = useCallback(() => {
15969
- const backlog = backlogRef.current.slice();
15970
- backlogRef.current = [];
15971
- for (const data2 of backlog) {
15972
- send(data2.message, data2.callback);
15973
- }
15974
- }, [send]);
15975
- const connect = useCallback(() => {
15976
- if (socketRef.current) {
15977
- socketRef.current.close();
15978
- socketRef.current = null;
15979
- }
15980
- if (url) {
15981
- let onSocketError = function() {
15982
- setLoading(false);
15983
- setError(true);
15984
- }, onSocketOpen = function() {
15985
- var _a;
15986
- (_a = props.onSocketOpen) == null ? void 0 : _a.call(props, socket);
15987
- clearTimeout(timer);
15988
- setSocketStatus(
15989
- "Open"
15990
- /* Open */
15991
- );
15992
- fit();
15993
- flush();
15994
- setError(false);
15995
- setLoading(false);
15996
- }, onSocketClose = function() {
15997
- setLoading(false);
15998
- setError(true);
15999
- if (props.onSocketClose) {
16000
- props.onSocketClose(socket, termInstanceRef.current);
16001
- } else {
16002
- setSocketStatus(
16003
- "Disconnected"
16004
- /* Disconnected */
16005
- );
16006
- }
16007
- }, onSocketMessage = function(e2) {
16008
- var _a;
16009
- if (props.onSocketMessage) {
16010
- props.onSocketMessage(e2, socket, termInstanceRef.current);
16011
- } else {
16012
- const msg = (decode == null ? void 0 : decode(e2.data)) || e2.data;
16013
- (_a = termInstanceRef.current) == null ? void 0 : _a.write(msg);
16014
- }
16015
- };
16016
- setLoading(true);
16017
- setError(false);
16018
- const socket = new WebSocket(url, protocols);
16019
- const timer = setTimeout(() => {
16020
- setLoading(false);
16021
- socket.close();
16022
- }, timeout);
16023
- setSocketStatus(
16024
- "Opening"
16025
- /* Opening */
16026
- );
16027
- onSocketInit == null ? void 0 : onSocketInit(socket);
16028
- socket.addEventListener("open", onSocketOpen);
16029
- socket.addEventListener("message", onSocketMessage);
16030
- socket.addEventListener("close", onSocketClose);
16031
- socket.addEventListener("error", onSocketError);
16032
- socketRef.current = socket;
16033
- return function disconnect() {
16034
- if (socket) {
16035
- socket.close();
16036
- socket.removeEventListener("open", onSocketOpen);
16037
- socket.removeEventListener("message", onSocketMessage);
16038
- socket.removeEventListener("close", onSocketClose);
16039
- socket.removeEventListener("error", onSocketError);
16040
- socketRef.current = null;
16041
- }
16042
- };
16043
- }
16044
- }, [url, protocols, decode, props.onSocketClose, props.onSocketMessage, props.onSocketOpen, reset, flush, fit, onSocketInit, timeout]);
16045
- const setupTerminal = useCallback(() => {
16046
- if (terminalRef.current) {
16047
- let onKeyDown = function(event2) {
16048
- if (event2.ctrlKey && event2.shiftKey && event2.key === "C") {
16049
- event2.preventDefault();
16050
- copyToClipboard$1(term.getSelection());
16051
- }
16052
- }, onResize = function() {
16053
- fit();
16054
- };
16055
- if (termInstanceRef.current) {
16056
- termInstanceRef.current.reset();
16057
- termInstanceRef.current.dispose();
16058
- }
16059
- const term = new Terminal({
16060
- cursorBlink: true,
16061
- cols: 150,
16062
- allowProposedApi: true,
16063
- fontSize: 12,
16064
- theme: {
16065
- background: "#00122E"
16066
- },
16067
- ...shellOptions
16068
- });
16069
- let renderAddon = null;
16070
- try {
16071
- renderAddon = new WebglAddon();
16072
- } catch {
16073
- renderAddon = new CanvasAddon();
16074
- }
16075
- onTermInit == null ? void 0 : onTermInit(term);
16076
- term.loadAddon(fitAddonRef.current = new FitAddon());
16077
- term.loadAddon(searchAddonRef.current = new SearchAddon());
16078
- term.loadAddon(new WebLinksAddon());
16079
- term.loadAddon(renderAddon);
16080
- term.open(terminalRef.current);
16081
- fit();
16082
- flush();
16083
- document.addEventListener("keydown", onKeyDown);
16084
- window.addEventListener("resize", onResize);
16085
- searchAddonRef.current.onDidChangeResults(({
16086
- resultCount
16087
- }) => {
16088
- setSearchMatchedTotal(resultCount);
16089
- });
16090
- term.onData((input) => {
16091
- send(encode(input));
16092
- });
16093
- termInstanceRef.current = term;
16094
- return function destroy() {
16095
- document.removeEventListener("keydown", onKeyDown);
16096
- window.removeEventListener("resize", onResize);
16097
- termInstanceRef.current = null;
16098
- fitAddonRef.current = null;
16099
- searchAddonRef.current = null;
16100
- term.clear();
16101
- term.dispose();
16102
- };
16103
- }
16104
- }, [send, encode, onTermInit, fit, flush, shellOptions]);
16105
- const searchNext = useCallback((search2) => {
16106
- var _a;
16107
- (_a = searchAddonRef.current) == null ? void 0 : _a.findNext(search2 || "", searchOptions);
16108
- }, [searchOptions]);
16109
- const searchPrevious = useCallback((search2) => {
16110
- var _a;
16111
- (_a = searchAddonRef.current) == null ? void 0 : _a.findPrevious(search2 || "", searchOptions);
16112
- }, [searchOptions]);
16113
- const getAllTerminalContents = useCallback(() => {
16114
- if (!termInstanceRef.current)
16115
- return [];
16116
- const buffer = termInstanceRef.current.buffer.active;
16117
- const lines = [];
16118
- for (let i2 = 0; i2 < buffer.length; i2++) {
16119
- const line = buffer.getLine(i2);
16120
- if (line) {
16121
- lines.push(line.translateToString(true));
16122
- }
16123
- }
16124
- return lines;
16125
- }, []);
16126
- const clear = useCallback(() => {
16127
- var _a;
16128
- (_a = termInstanceRef.current) == null ? void 0 : _a.clear();
16129
- }, []);
16130
- const downloadContent = useCallback(() => {
16131
- const content = (getAllTerminalContents() || []).join("\n");
16132
- const blob = new Blob([content], {
16133
- type: "text/plain"
16134
- });
16135
- const url2 = window.URL.createObjectURL(blob);
16136
- const a2 = document.createElement("a");
16137
- a2.href = url2;
16138
- a2.download = `${logFileName || "term"}.log`;
16139
- document.body.appendChild(a2);
16140
- a2.click();
16141
- setTimeout(() => {
16142
- document.body.removeChild(a2);
16143
- window.URL.revokeObjectURL(url2);
16144
- }, 0);
16145
- }, [getAllTerminalContents, logFileName]);
16146
- const setOptions = useCallback((options) => {
16147
- Object.entries(options).forEach(([key2, value2]) => {
16148
- if (termInstanceRef.current) {
16149
- termInstanceRef.current.options[key2] = value2;
16150
- }
16151
- });
16152
- fit();
16153
- }, [fit]);
16154
- const writeln = useCallback((data2) => {
16155
- var _a;
16156
- (_a = termInstanceRef.current) == null ? void 0 : _a.writeln(data2);
16157
- }, []);
16158
- const onClear = useCallback(() => {
16159
- var _a;
16160
- clear();
16161
- (_a = props.onClear) == null ? void 0 : _a.call(props);
16162
- }, [clear, props.onClear]);
16163
- useEffect(() => {
16164
- const destroy = setupTerminal();
16165
- return () => {
16166
- destroy == null ? void 0 : destroy();
16167
- };
16168
- }, []);
16169
- useEffect(() => {
16170
- const disconnect = connect();
16171
- return () => {
16172
- disconnect == null ? void 0 : disconnect();
16173
- };
16174
- }, [url, protocols]);
16175
- useEffect(() => {
16176
- onSocketStatusChange == null ? void 0 : onSocketStatusChange(socketStatus);
16177
- }, [socketStatus]);
16178
- useEffect(() => {
16179
- if (!containerRef.current)
16180
- return;
16181
- const resizeObserver = new ResizeObserver(() => {
16182
- debouncedFit();
16183
- });
16184
- resizeObserver.observe(containerRef.current);
16185
- return () => resizeObserver.disconnect();
16186
- }, [debouncedFit]);
16187
- useImperativeHandle(ref, () => ({
16188
- clear,
16189
- setSocketStatus,
16190
- fit,
16191
- send,
16192
- connect,
16193
- searchNext,
16194
- searchPrevious,
16195
- getAllTerminalContents,
16196
- setOptions,
16197
- setLoading,
16198
- setError,
16199
- writeln
16200
- }), [send, searchNext, searchPrevious, getAllTerminalContents, fit, clear, connect, setOptions, writeln]);
16201
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
16202
- ref: containerRef,
16203
- className: ContainerStyle,
16204
- children: [!!error ? /* @__PURE__ */ jsxRuntimeExports.jsx(Alert, {
16205
- style: {
16206
- margin: 8,
16207
- marginBottom: 4
16208
- },
16209
- message: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", {
16210
- className: ErrorAlertStyle,
16211
- children: [t2("dovetail.disconnected"), /* @__PURE__ */ jsxRuntimeExports.jsx(Link$1, {
16212
- onClick: () => {
16213
- if (props.onReconnect) {
16214
- props.onReconnect();
16215
- } else {
16216
- connect();
16217
- }
16218
- },
16219
- children: t2("dovetail.reconnect")
16220
- })]
16221
- }),
16222
- type: "error"
16223
- }) : null, isHideToolbar ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(ShellToolbar, {
16224
- className: ToolbarStyle,
16225
- leftSlot: toolbarLeftSlot,
16226
- searchMatchedTotal,
16227
- operations,
16228
- onSearchNext: searchNext,
16229
- onSearchPre: searchPrevious,
16230
- onClear,
16231
- onDownloadLog: downloadContent,
16232
- onSetFontSize: (fontSize) => {
16233
- setOptions({
16234
- fontSize
16235
- });
16236
- }
16237
- }), loading ? loadingElement || /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
16238
- className: LoadingStyle,
16239
- children: [/* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, {
16240
- src: Loading24GradientBlueIcon,
16241
- iconWidth: 24,
16242
- iconHeight: 24,
16243
- isRotate: true
16244
- }), /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
16245
- className: Typo.Display.d2_bold_title,
16246
- children: t2("dovetail.connecting")
16247
- })]
16248
- }) : null, /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
16249
- className: cx_default(ShellStyle, className),
16250
- style: {
16251
- display: loading ? "none" : "block"
16252
- },
16253
- children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
16254
- ref: terminalRef,
16255
- style: {
16256
- height: "100%"
16257
- },
16258
- children
16259
- })
16260
- })]
16261
- });
16262
- });
16263
- function addParam(url, key2, val) {
16264
- let out = url + (url.includes("?") ? "&" : "?");
16265
- if (!Array.isArray(val)) {
16266
- val = [val];
16267
- }
16268
- out += val.map((v) => {
16269
- if (v === null) {
16270
- return `${encodeURIComponent(key2)}`;
16271
- } else {
16272
- return `${encodeURIComponent(key2)}=${encodeURIComponent(v)}`;
16273
- }
16274
- }).join("&");
16275
- return out;
16276
- }
16277
- function addParams(url, params) {
16278
- if (params && typeof params === "object") {
16279
- Object.keys(params).forEach((key2) => {
16280
- url = addParam(url, key2, params[key2]);
16281
- });
16282
- }
16283
- return url;
16284
- }
16285
- function base64Encode(str, alphabet = "normal") {
16286
- let buf;
16287
- if (str === null || typeof str === "undefined") {
16288
- return str;
16289
- }
16290
- if (typeof Buffer2.from === "function" && Buffer2.from !== Uint8Array.from) {
16291
- buf = Buffer2.from(str);
16292
- } else {
16293
- buf = new Buffer2(str);
16294
- }
16295
- if (alphabet === "url") {
16296
- const m = {
16297
- "+": "-",
16298
- "/": "_"
16299
- };
16300
- return buf.toString("base64").replace(/[+/]|=+$/g, (char) => m[char] || "");
16301
- }
16302
- return buf.toString("base64");
16303
- }
16304
- function base64DecodeToBuffer(str) {
16305
- if (str === null || typeof str === "undefined") {
16306
- return str;
16307
- }
16308
- if (typeof Buffer2.from === "function" && Buffer2.from !== Uint8Array.from) {
16309
- return Buffer2.from(str, "base64");
16310
- } else {
16311
- return new Buffer2(str, "base64");
16312
- }
16313
- }
16314
- function base64Decode(str) {
16315
- return !str ? str : base64DecodeToBuffer(str.replace(/[-_]/g, (char) => char === "-" ? "+" : "/")).toString();
16316
- }
16317
- const BACKUP_SHELLS = [
16318
- "windows",
16319
- "linux"
16320
- /* Linux */
16321
- ];
16322
- const COMMANDS = {
16323
- [
16324
- "linux"
16325
- /* Linux */
16326
- ]: [
16327
- "/bin/sh",
16328
- "-c",
16329
- 'TERM=xterm-256color; export TERM; [ -x /bin/bash ] && ([ -x /usr/bin/script ] && /usr/bin/script -q -c "/bin/bash" /dev/null || exec /bin/bash) || exec /bin/sh'
16330
- ],
16331
- [
16332
- "windows"
16333
- /* Windows */
16334
- ]: ["cmd"]
16335
- };
16336
- const PodShell = React__default.forwardRef(function PodShell2(props, ref) {
16337
- const { pod: pod2, basePath, onSocketStatusChange } = props;
16338
- const id = pod2.id;
16339
- const [namespace2, name2] = useMemo(() => id.split("/"), [id]);
16340
- const shellRef = useRef(null);
16341
- const errorMsgRef = useRef("");
16342
- const [osIndex, setOsIndex] = useState(0);
16343
- const [container2, setContainer] = useState("");
16344
- const containers2 = useMemo(() => {
16345
- var _a, _b;
16346
- return (((_a = pod2 == null ? void 0 : pod2._rawYaml.status) == null ? void 0 : _a.containerStatuses) || []).concat(((_b = pod2 == null ? void 0 : pod2._rawYaml.status) == null ? void 0 : _b.initContainerStatuses) || []).map((containerStatus) => containerStatus.name);
16347
- }, [pod2]);
16348
- const url = useMemo(() => {
16349
- const os = BACKUP_SHELLS[osIndex];
16350
- const protocol2 = location.protocol.includes("https") ? "wss" : "ws";
16351
- const url2 = container2 && os ? addParams(
16352
- `${protocol2}://${location.host}${basePath}/api/v1/namespaces/${namespace2}/pods/${name2}/exec`,
16353
- {
16354
- container: container2,
16355
- stdout: "true",
16356
- stdin: "true",
16357
- stderr: "true",
16358
- tty: "true",
16359
- command: COMMANDS[
16360
- os || "linux"
16361
- /* Linux */
16362
- ]
16363
- }
16364
- ) : "";
16365
- return url2;
16366
- }, [container2, name2, namespace2, osIndex, basePath]);
16367
- const onSocketClose = useCallback((socket, term) => {
16368
- var _a, _b;
16369
- if (errorMsgRef.current) {
16370
- if (osIndex + 1 < BACKUP_SHELLS.length) {
16371
- setOsIndex(osIndex + 1);
16372
- } else {
16373
- term == null ? void 0 : term.writeln(`\x1B[38;2;255;82;82m${errorMsgRef.current}`);
16374
- (_a = shellRef.current) == null ? void 0 : _a.setSocketStatus(SocketStatus.Disconnected);
16375
- errorMsgRef.current = "";
16376
- }
16377
- } else {
16378
- (_b = shellRef.current) == null ? void 0 : _b.setSocketStatus(SocketStatus.Disconnected);
16379
- }
16380
- }, [osIndex]);
16381
- const onSocketMessage = useCallback((e2, socket, term) => {
16382
- const type2 = e2.data.substr(0, 1);
16383
- const msg = base64Decode(e2.data.substr(1));
16384
- if (`${type2}` === "1") {
16385
- term == null ? void 0 : term.write(msg);
16386
- } else {
16387
- if (`${type2}` === "3") {
16388
- errorMsgRef.current = msg;
16389
- }
16390
- }
16391
- }, []);
16392
- const fit = useCallback(({ rows, cols }) => {
16393
- var _a;
16394
- const message2 = `${"4"}${base64Encode(
16395
- JSON.stringify({
16396
- Width: Math.floor(cols),
16397
- Height: Math.floor(rows)
16398
- })
16399
- )}`;
16400
- (_a = shellRef.current) == null ? void 0 : _a.send(message2);
16401
- }, []);
16402
- const encode = useCallback((input) => `${"0"}${base64Encode(input)}`, []);
16403
- useEffect(() => {
16404
- if (!container2 && containers2.length) {
16405
- setContainer(containers2[0]);
16406
- }
16407
- }, [containers2, container2]);
16408
- useImperativeHandle(ref, () => ({
16409
- getAllTerminalContents: () => {
16410
- var _a;
16411
- return ((_a = shellRef.current) == null ? void 0 : _a.getAllTerminalContents()) || [];
16412
- }
16413
- }), []);
16414
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
16415
- Shell,
16416
- {
16417
- ref: shellRef,
16418
- url,
16419
- protocols: "base64.channel.k8s.io",
16420
- encode,
16421
- fit,
16422
- toolbarLeftSlot: /* @__PURE__ */ jsxRuntimeExports.jsx(
16423
- Select,
16424
- {
16425
- input: {
16426
- value: container2,
16427
- onChange(value2) {
16428
- setContainer(value2);
16429
- }
16430
- },
16431
- style: {
16432
- width: "256px"
16433
- },
16434
- size: "small",
16435
- children: containers2.map((containerName) => /* @__PURE__ */ jsxRuntimeExports.jsx(AntdOption, { value: containerName, label: containerName, children: containerName }, containerName))
16436
- }
16437
- ),
16438
- onSocketMessage,
16439
- onSocketClose,
16440
- onSocketStatusChange
16441
- }
16442
- );
16443
- });
14815
+ const PodShell = lazy(
14816
+ () => import("./PodShell-ba204cde.js").then((module) => ({ default: module.PodShell }))
14817
+ );
16444
14818
  function PodShellModal(props) {
16445
14819
  const { pod: pod2 } = props;
16446
14820
  const { t: t2 } = useTranslation();
@@ -16462,14 +14836,14 @@ function PodShellModal(props) {
16462
14836
  destroyOnClose: true,
16463
14837
  fullscreen: true,
16464
14838
  visible: true,
16465
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
14839
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx(Loading, {}), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
16466
14840
  PodShell,
16467
14841
  {
16468
14842
  pod: pod2,
16469
14843
  onSocketStatusChange: setSocketStatus,
16470
14844
  basePath: (globalStore == null ? void 0 : globalStore.apiUrl) || ""
16471
14845
  }
16472
- )
14846
+ ) })
16473
14847
  }
16474
14848
  );
16475
14849
  }
@@ -17732,8 +16106,8 @@ const PlainCodeStyle = "pqch97v";
17732
16106
  const ErrorMsgStyle = "eh2qjnl";
17733
16107
  const ErrorWrapperStyle = "e19q2bnp";
17734
16108
  const YamlEditorStyle = "y16u5v3w";
17735
- const MonacoYamlEditor = React__default.lazy(() => import("./MonacoYamlEditor-7071a8ae.js"));
17736
- const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-ae04bff7.js"));
16109
+ const MonacoYamlEditor = React__default.lazy(() => import("./MonacoYamlEditor-90733472.js"));
16110
+ const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-7de94ad2.js"));
17737
16111
  const YamlEditorComponent = forwardRef(
17738
16112
  function YamlEditorComponent2(props, ref) {
17739
16113
  const {
@@ -20364,269 +18738,265 @@ const relationPlugin = new RelationPlugin();
20364
18738
  const ProviderPlugins = [relationPlugin, modelPlugin];
20365
18739
  const dovetailRefineI18n = i18n;
20366
18740
  export {
20367
- useDownloadYAML as $,
18741
+ useGlobalStore as $,
20368
18742
  AgeColumnRenderer as A,
20369
- PortMappingColumnRenderer as B,
18743
+ PVCapacityColumnRenderer as B,
20370
18744
  CommonSorter as C,
20371
18745
  DurationColumnRenderer as D,
20372
- ProvisionerColumnRenderer as E,
20373
- PVCapacityColumnRenderer as F,
20374
- PVCStorageColumnRenderer as G,
20375
- PVRefColumnRenderer as H,
18746
+ PVCStorageColumnRenderer as E,
18747
+ PVRefColumnRenderer as F,
18748
+ PVStorageClassColumnRenderer as G,
18749
+ PVPhaseColumnRenderer as H,
20376
18750
  IngressRulesColumnRenderer as I,
20377
- PVStorageClassColumnRenderer as J,
20378
- PVPhaseColumnRenderer as K,
20379
- PVCRefColumnRenderer as L,
20380
- PVCSIRefColumnRenderer as M,
18751
+ PVCRefColumnRenderer as J,
18752
+ PVCSIRefColumnRenderer as K,
18753
+ PVVolumeModeColumnRenderer as L,
18754
+ PVAccessModeColumnRenderer as M,
20381
18755
  NameColumnRenderer as N,
20382
- PVVolumeModeColumnRenderer as O,
18756
+ IsDefaultSCColumnRenderer as O,
20383
18757
  PlainTextNameColumnRenderer as P,
20384
- PVAccessModeColumnRenderer as Q,
18758
+ SCReclaimPolicyColumnRenderer as Q,
20385
18759
  ReplicasColumnRenderer as R,
20386
18760
  StateDisplayColumnRenderer as S,
20387
- IsDefaultSCColumnRenderer as T,
20388
- SCReclaimPolicyColumnRenderer as U,
20389
- SCAllowExpandColumnRenderer as V,
18761
+ SCAllowExpandColumnRenderer as T,
18762
+ ColumnKeys as U,
18763
+ addDefaultRenderToColumns as V,
20390
18764
  WorkloadImageColumnRenderer as W,
20391
- ColumnKeys as X,
18765
+ useEagleTable as X,
20392
18766
  YamlEditorStyle as Y,
20393
- addDefaultRenderToColumns as Z,
20394
- useEagleTable as _,
18767
+ useDownloadYAML as Z,
18768
+ useEdit as _,
20395
18769
  useApiGroupSchema as a,
20396
- LabelsField as a$,
20397
- useEdit as a0,
20398
- useGlobalStore as a1,
20399
- useOpenForm as a2,
20400
- index as a3,
20401
- WidgetErrorContent as a4,
20402
- Breadcrumb as a5,
20403
- NameInputWidget as a6,
20404
- dnsSubDomainRules as a7,
20405
- rfc1123LabelRules as a8,
20406
- rfc1035LabelRules as a9,
20407
- WorkloadReplicas as aA,
20408
- CronjobJobsTable as aB,
20409
- KeyValue as aC,
20410
- KeyValueAnnotation as aD,
20411
- KeyValueSecret as aE,
20412
- Separator as aF,
20413
- YamlEditorComponent as aG,
20414
- DeleteButton as aH,
20415
- Layout as aI,
20416
- AreaType as aJ,
20417
- ImageField as aK,
20418
- ReplicaField as aL,
20419
- ConditionsField as aM,
20420
- NodeTaintsField as aN,
20421
- PodsField as aO,
20422
- JobsField as aP,
20423
- DataField as aQ,
20424
- SecretDataField as aR,
20425
- StartTimeField as aS,
20426
- ServiceTypeField as aT,
20427
- ClusterIpField as aU,
20428
- SessionAffinityField as aV,
20429
- ServicePodsField as aW,
20430
- IngressRulesTableTabField as aX,
20431
- EventsTableTabField as aY,
20432
- NamespaceField as aZ,
20433
- AgeField as a_,
20434
- NamespaceSelectWidget as aa,
20435
- namespaceRules as ab,
20436
- KeyValueListWidget as ac,
20437
- MetadataForm as ad,
20438
- PageShow as ae,
20439
- Time as af,
20440
- ConditionsTable as ag,
20441
- FormErrorAlert as ah,
20442
- PodContainersTable as ai,
20443
- WorkloadDropdown as aj,
20444
- ReplicasDropdown as ak,
20445
- PodDropdown as al,
20446
- CreateButton as am,
20447
- ImageNames as an,
20448
- ResourceList as ao,
20449
- ResourceShow as ap,
20450
- ResourceForm as aq,
20451
- ResourceCRUD as ar,
20452
- WorkloadPodsTable as as,
20453
- CronJobDropdown as at,
20454
- K8sDropdown as au,
20455
- EditLabelDropdownMenuItem as av,
20456
- EditAnnotationDropdownMenuItem as aw,
20457
- EditNodeTaintDropdownMenuItem as ax,
20458
- ResourceUsageBar as ay,
20459
- WorkloadReplicasForm as az,
18770
+ ServiceInnerClusterAccessField as a$,
18771
+ useOpenForm as a0,
18772
+ index as a1,
18773
+ WidgetErrorContent as a2,
18774
+ Breadcrumb as a3,
18775
+ NameInputWidget as a4,
18776
+ dnsSubDomainRules as a5,
18777
+ rfc1123LabelRules as a6,
18778
+ rfc1035LabelRules as a7,
18779
+ NamespaceSelectWidget as a8,
18780
+ namespaceRules as a9,
18781
+ KeyValue as aA,
18782
+ KeyValueAnnotation as aB,
18783
+ KeyValueSecret as aC,
18784
+ Separator as aD,
18785
+ YamlEditorComponent as aE,
18786
+ DeleteButton as aF,
18787
+ Layout as aG,
18788
+ AreaType as aH,
18789
+ ImageField as aI,
18790
+ ReplicaField as aJ,
18791
+ ConditionsField as aK,
18792
+ NodeTaintsField as aL,
18793
+ PodsField as aM,
18794
+ JobsField as aN,
18795
+ DataField as aO,
18796
+ SecretDataField as aP,
18797
+ StartTimeField as aQ,
18798
+ ServiceTypeField as aR,
18799
+ ClusterIpField as aS,
18800
+ SessionAffinityField as aT,
18801
+ ServicePodsField as aU,
18802
+ IngressRulesTableTabField as aV,
18803
+ EventsTableTabField as aW,
18804
+ NamespaceField as aX,
18805
+ AgeField as aY,
18806
+ LabelsField as aZ,
18807
+ AnnotationsField as a_,
18808
+ KeyValueListWidget as aa,
18809
+ MetadataForm as ab,
18810
+ PageShow as ac,
18811
+ Time as ad,
18812
+ ConditionsTable as ae,
18813
+ FormErrorAlert as af,
18814
+ PodContainersTable as ag,
18815
+ WorkloadDropdown as ah,
18816
+ ReplicasDropdown as ai,
18817
+ PodDropdown as aj,
18818
+ CreateButton as ak,
18819
+ ImageNames as al,
18820
+ ResourceList as am,
18821
+ ResourceShow as an,
18822
+ ResourceForm as ao,
18823
+ ResourceCRUD as ap,
18824
+ WorkloadPodsTable as aq,
18825
+ CronJobDropdown as ar,
18826
+ K8sDropdown as as,
18827
+ EditLabelDropdownMenuItem as at,
18828
+ EditAnnotationDropdownMenuItem as au,
18829
+ EditNodeTaintDropdownMenuItem as av,
18830
+ ResourceUsageBar as aw,
18831
+ WorkloadReplicasForm as ax,
18832
+ WorkloadReplicas as ay,
18833
+ CronjobJobsTable as az,
20460
18834
  useSchema as b,
20461
- ServiceInClusterAccessComponent as b$,
20462
- AnnotationsField as b0,
20463
- ServiceInnerClusterAccessField as b1,
20464
- ServiceOutClusterAccessField as b2,
20465
- PodSelectorField as b3,
20466
- PortsTableField as b4,
20467
- DurationField as b5,
20468
- StorageClassProvisionerField as b6,
20469
- StorageClassPvField as b7,
20470
- PVCapacityField as b8,
20471
- PVCStorageField as b9,
20472
- DataGroup as bA,
20473
- NetworkPolicyIngressRulesGroup as bB,
20474
- NetworkPolicyEgressRulesGroup as bC,
20475
- StorageClassPvGroup as bD,
20476
- ResourceTableGroup as bE,
20477
- ShowGroupComponent as bF,
20478
- ShowContent as bG,
20479
- DeleteManyButton as bH,
20480
- ListPage as bI,
20481
- StateTag as bJ,
20482
- DrawerShow as bK,
20483
- Menu as bL,
20484
- Table as bM,
20485
- EditButton as bN,
20486
- ReferenceLink as bO,
20487
- ResourceLink as bP,
20488
- NS_STORE_KEY as bQ,
20489
- ALL_NS as bR,
20490
- useNamespacesFilter as bS,
20491
- NamespacesFilter as bT,
20492
- FormModal as bU,
20493
- renderCommonFormFiled as bV,
20494
- RefineFormContent as bW,
20495
- RefineFormPage as bX,
20496
- SchemaStrategy as bY,
20497
- YamlForm as bZ,
20498
- useRefineForm as b_,
20499
- PVRefField as ba,
20500
- PVStorageClassField as bb,
20501
- PVPhaseField as bc,
20502
- PVVolumeModeField as bd,
20503
- PVAccessModeField as be,
20504
- PVCPodsField as bf,
20505
- PVCRefField as bg,
20506
- PVCSIRefField as bh,
20507
- IsDefaultSCField as bi,
20508
- SCReclaimPolicyField as bj,
20509
- IsSCAllowVolumeExpansionField as bk,
20510
- ResourceTableField as bl,
20511
- EventsTab as bm,
20512
- PodLogTab as bn,
20513
- BasicGroup as bo,
20514
- PodsGroup as bp,
20515
- PodContainersGroup as bq,
20516
- ServicePodsGroup as br,
20517
- PVCPodsGroup as bs,
20518
- ConditionsGroup as bt,
20519
- NodeTaintsGroup as bu,
20520
- SecretDataGroup as bv,
20521
- JobsGroup as bw,
20522
- IngressRulesGroup as bx,
20523
- PodSelectorGroup as by,
20524
- PortsGroup as bz,
20525
- cx_default as c,
20526
- DaemonSetModel as c$,
20527
- ServiceOutClusterAccessComponent as c0,
20528
- Tags as c1,
20529
- TextTags as c2,
20530
- PodLog as c3,
20531
- NetworkPolicyRulesViewer as c4,
20532
- PVVolumeModeDisplay as c5,
20533
- Tabs as c6,
20534
- ResourceSelect as c7,
20535
- SocketStatus as c8,
20536
- Shell as c9,
20537
- SECRET_TLS_INIT_VALUE as cA,
20538
- SECRET_CUSTOM_INIT_VALUE as cB,
20539
- NODE_INIT_VALUE as cC,
20540
- STORAGE_CLASS_INIT_VALUE as cD,
20541
- PV_INIT_VALUE as cE,
20542
- PVC_INIT_VALUE as cF,
20543
- ResourceState as cG,
20544
- AccessControlAuth as cH,
20545
- Dovetail as cI,
20546
- RESOURCE_GROUP as cJ,
20547
- FormContainerType as cK,
20548
- FormType as cL,
20549
- FormMode as cM,
20550
- ComponentContext as cN,
20551
- GlobalStoreContext as cO,
20552
- ConfigsContext as cP,
20553
- IngressModel as cQ,
20554
- NetworkPolicyModel as cR,
20555
- JobModel as cS,
20556
- WorkloadModel as cT,
20557
- WorkloadBaseModel as cU,
20558
- PodModel as cV,
20559
- PodMetricsModel as cW,
20560
- ResourceModel as cX,
20561
- CronJobModel as cY,
20562
- EventModel as cZ,
20563
- DeploymentModel as c_,
20564
- PodShellModal as ca,
20565
- PodShell as cb,
20566
- ResourceTable as cc,
20567
- ErrorWrapper as cd,
20568
- ErrorContentType as ce,
20569
- BASE_INIT_VALUE as cf,
20570
- DEPLOYMENT_INIT_VALUE as cg,
20571
- CRONJOB_INIT_VALUE as ch,
20572
- DAEMONSET_INIT_VALUE as ci,
20573
- JOB_INIT_VALUE as cj,
20574
- STATEFULSET_INIT_VALUE as ck,
20575
- POD_INIT_VALUE as cl,
20576
- SERVICE_CLUSTER_IP_INIT_VALUE as cm,
20577
- SERVICE_NODE_PORT_INIT_VALUE as cn,
20578
- SERVICE_LOAD_BALANCER_INIT_VALUE as co,
20579
- SERVICE_EXTERNAL_NAME_INIT_VALUE as cp,
20580
- SERVICE_HEADLESS_INIT_VALUE as cq,
20581
- INGRESS_INIT_VALUE as cr,
20582
- NETWORK_POLICY_INIT_VALUE as cs,
20583
- CONFIG_MAP_INIT_VALUE as ct,
20584
- SERVER_INSTANCE_INIT_VALUE as cu,
20585
- REDEPLOY_TIMESTAMP_KEY as cv,
20586
- SECRET_OPAQUE_INIT_VALUE as cw,
20587
- SECRET_IMAGE_REPO_INIT_VALUE as cx,
20588
- SECRET_BASIC_AUTH_INIT_VALUE as cy,
20589
- SECRET_SSH_AUTH_INIT_VALUE as cz,
18835
+ Tags as b$,
18836
+ ServiceOutClusterAccessField as b0,
18837
+ PodSelectorField as b1,
18838
+ PortsTableField as b2,
18839
+ DurationField as b3,
18840
+ StorageClassProvisionerField as b4,
18841
+ StorageClassPvField as b5,
18842
+ PVCapacityField as b6,
18843
+ PVCStorageField as b7,
18844
+ PVRefField as b8,
18845
+ PVStorageClassField as b9,
18846
+ NetworkPolicyEgressRulesGroup as bA,
18847
+ StorageClassPvGroup as bB,
18848
+ ResourceTableGroup as bC,
18849
+ ShowGroupComponent as bD,
18850
+ ShowContent as bE,
18851
+ DeleteManyButton as bF,
18852
+ ListPage as bG,
18853
+ StateTag as bH,
18854
+ DrawerShow as bI,
18855
+ Menu as bJ,
18856
+ Table as bK,
18857
+ EditButton as bL,
18858
+ ReferenceLink as bM,
18859
+ ResourceLink as bN,
18860
+ NS_STORE_KEY as bO,
18861
+ ALL_NS as bP,
18862
+ useNamespacesFilter as bQ,
18863
+ NamespacesFilter as bR,
18864
+ FormModal as bS,
18865
+ renderCommonFormFiled as bT,
18866
+ RefineFormContent as bU,
18867
+ RefineFormPage as bV,
18868
+ SchemaStrategy as bW,
18869
+ YamlForm as bX,
18870
+ useRefineForm as bY,
18871
+ ServiceInClusterAccessComponent as bZ,
18872
+ ServiceOutClusterAccessComponent as b_,
18873
+ PVPhaseField as ba,
18874
+ PVVolumeModeField as bb,
18875
+ PVAccessModeField as bc,
18876
+ PVCPodsField as bd,
18877
+ PVCRefField as be,
18878
+ PVCSIRefField as bf,
18879
+ IsDefaultSCField as bg,
18880
+ SCReclaimPolicyField as bh,
18881
+ IsSCAllowVolumeExpansionField as bi,
18882
+ ResourceTableField as bj,
18883
+ EventsTab as bk,
18884
+ PodLogTab as bl,
18885
+ BasicGroup as bm,
18886
+ PodsGroup as bn,
18887
+ PodContainersGroup as bo,
18888
+ ServicePodsGroup as bp,
18889
+ PVCPodsGroup as bq,
18890
+ ConditionsGroup as br,
18891
+ NodeTaintsGroup as bs,
18892
+ SecretDataGroup as bt,
18893
+ JobsGroup as bu,
18894
+ IngressRulesGroup as bv,
18895
+ PodSelectorGroup as bw,
18896
+ PortsGroup as bx,
18897
+ DataGroup as by,
18898
+ NetworkPolicyIngressRulesGroup as bz,
18899
+ useDeleteModal as c,
18900
+ NodeRole as c$,
18901
+ TextTags as c0,
18902
+ PodLog as c1,
18903
+ NetworkPolicyRulesViewer as c2,
18904
+ PVVolumeModeDisplay as c3,
18905
+ Tabs as c4,
18906
+ ResourceSelect as c5,
18907
+ PodShellModal as c6,
18908
+ PodShell as c7,
18909
+ ResourceTable as c8,
18910
+ ErrorWrapper as c9,
18911
+ PV_INIT_VALUE as cA,
18912
+ PVC_INIT_VALUE as cB,
18913
+ ResourceState as cC,
18914
+ AccessControlAuth as cD,
18915
+ Dovetail as cE,
18916
+ RESOURCE_GROUP as cF,
18917
+ FormContainerType as cG,
18918
+ FormType as cH,
18919
+ FormMode as cI,
18920
+ ComponentContext as cJ,
18921
+ GlobalStoreContext as cK,
18922
+ ConfigsContext as cL,
18923
+ IngressModel as cM,
18924
+ NetworkPolicyModel as cN,
18925
+ JobModel as cO,
18926
+ WorkloadModel as cP,
18927
+ WorkloadBaseModel as cQ,
18928
+ PodModel as cR,
18929
+ PodMetricsModel as cS,
18930
+ ResourceModel as cT,
18931
+ CronJobModel as cU,
18932
+ EventModel as cV,
18933
+ DeploymentModel as cW,
18934
+ DaemonSetModel as cX,
18935
+ StatefulSetModel as cY,
18936
+ ServiceTypeEnum as cZ,
18937
+ ServiceModel as c_,
18938
+ ErrorContentType as ca,
18939
+ BASE_INIT_VALUE as cb,
18940
+ DEPLOYMENT_INIT_VALUE as cc,
18941
+ CRONJOB_INIT_VALUE as cd,
18942
+ DAEMONSET_INIT_VALUE as ce,
18943
+ JOB_INIT_VALUE as cf,
18944
+ STATEFULSET_INIT_VALUE as cg,
18945
+ POD_INIT_VALUE as ch,
18946
+ SERVICE_CLUSTER_IP_INIT_VALUE as ci,
18947
+ SERVICE_NODE_PORT_INIT_VALUE as cj,
18948
+ SERVICE_LOAD_BALANCER_INIT_VALUE as ck,
18949
+ SERVICE_EXTERNAL_NAME_INIT_VALUE as cl,
18950
+ SERVICE_HEADLESS_INIT_VALUE as cm,
18951
+ INGRESS_INIT_VALUE as cn,
18952
+ NETWORK_POLICY_INIT_VALUE as co,
18953
+ CONFIG_MAP_INIT_VALUE as cp,
18954
+ SERVER_INSTANCE_INIT_VALUE as cq,
18955
+ REDEPLOY_TIMESTAMP_KEY as cr,
18956
+ SECRET_OPAQUE_INIT_VALUE as cs,
18957
+ SECRET_IMAGE_REPO_INIT_VALUE as ct,
18958
+ SECRET_BASIC_AUTH_INIT_VALUE as cu,
18959
+ SECRET_SSH_AUTH_INIT_VALUE as cv,
18960
+ SECRET_TLS_INIT_VALUE as cw,
18961
+ SECRET_CUSTOM_INIT_VALUE as cx,
18962
+ NODE_INIT_VALUE as cy,
18963
+ STORAGE_CLASS_INIT_VALUE as cz,
20590
18964
  dovetailRefineI18n as d,
20591
- StatefulSetModel as d0,
20592
- ServiceTypeEnum as d1,
20593
- ServiceModel as d2,
20594
- NodeRole as d3,
20595
- NodeModel as d4,
20596
- StorageClassModel as d5,
20597
- PersistentVolumeModel as d6,
20598
- PersistentVolumeClaimModel as d7,
20599
- ProviderPlugins as d8,
20600
- ModelPlugin as d9,
20601
- modelPlugin as da,
20602
- RelationPlugin as db,
20603
- relationPlugin as dc,
20604
- generateValueFromSchema as dd,
20605
- generateSchemaTypeValue as de,
20606
- resolveRef as df,
20607
- getApiVersion as dg,
20608
- pruneBeforeEdit as dh,
20609
- matchSelector as di,
20610
- useDeleteModal as e,
20611
- useDeleteModalOnly as f,
20612
- useFailedModal as g,
20613
- NameSpaceColumnRenderer as h,
20614
- WorkloadRestartsColumnRenderer as i,
20615
- jsxRuntimeExports as j,
20616
- NodeNameColumnRenderer as k,
20617
- RestartCountColumnRenderer as l,
20618
- CompletionsCountColumnRenderer as m,
20619
- ServiceTypeColumnRenderer as n,
20620
- ServiceInClusterAccessTitle as o,
20621
- ServiceInClusterAccessColumnRenderer as p,
20622
- ServiceOutClusterAccessTitle as q,
18965
+ NodeModel as d0,
18966
+ StorageClassModel as d1,
18967
+ PersistentVolumeModel as d2,
18968
+ PersistentVolumeClaimModel as d3,
18969
+ ProviderPlugins as d4,
18970
+ ModelPlugin as d5,
18971
+ modelPlugin as d6,
18972
+ RelationPlugin as d7,
18973
+ relationPlugin as d8,
18974
+ generateValueFromSchema as d9,
18975
+ generateSchemaTypeValue as da,
18976
+ resolveRef as db,
18977
+ getApiVersion as dc,
18978
+ pruneBeforeEdit as dd,
18979
+ matchSelector as de,
18980
+ useDeleteModalOnly as e,
18981
+ useFailedModal as f,
18982
+ NameSpaceColumnRenderer as g,
18983
+ WorkloadRestartsColumnRenderer as h,
18984
+ NodeNameColumnRenderer as i,
18985
+ RestartCountColumnRenderer as j,
18986
+ CompletionsCountColumnRenderer as k,
18987
+ ServiceTypeColumnRenderer as l,
18988
+ ServiceInClusterAccessTitle as m,
18989
+ ServiceInClusterAccessColumnRenderer as n,
18990
+ ServiceOutClusterAccessTitle as o,
18991
+ ServiceOutClusterAccessColumnRenderer as p,
18992
+ PodWorkloadColumnRenderer as q,
20623
18993
  routerProvider as r,
20624
- ServiceOutClusterAccessColumnRenderer as s,
20625
- PodWorkloadColumnRenderer as t,
18994
+ IngressDefaultBackendColumnRenderer as s,
18995
+ IngressClassColumnRenderer as t,
20626
18996
  useNamespaceRefineFilter as u,
20627
- IngressDefaultBackendColumnRenderer as v,
20628
- IngressClassColumnRenderer as w,
20629
- IngressTlsColumnRenderer as x,
20630
- PodContainersNumColumnRenderer as y,
20631
- DataKeysColumnRenderer as z
18997
+ IngressTlsColumnRenderer as v,
18998
+ PodContainersNumColumnRenderer as w,
18999
+ DataKeysColumnRenderer as x,
19000
+ PortMappingColumnRenderer as y,
19001
+ ProvisionerColumnRenderer as z
20632
19002
  };