@dovetail-v2/refine 0.2.12 → 0.3.0

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.
@@ -9300,7 +9300,7 @@ class JobModel extends WorkloadBaseModel {
9300
9300
  return matchSelector(p, (_a = this.spec) == null ? void 0 : _a.selector, this.metadata.namespace);
9301
9301
  }
9302
9302
  );
9303
- const result = lodashExports.sumBy(myPods, "restartCount");
9303
+ const result = lodashExports.sumBy(myPods, "restarts");
9304
9304
  this.restarts = result;
9305
9305
  }
9306
9306
  get duration() {
@@ -9367,7 +9367,7 @@ class WorkloadModel extends WorkloadBaseModel {
9367
9367
  return matchSelector(p, (_a = this.spec) == null ? void 0 : _a.selector, this.metadata.namespace);
9368
9368
  }
9369
9369
  );
9370
- const result = lodashExports.sumBy(myPods, "restartCount");
9370
+ const result = lodashExports.sumBy(myPods, "restarts");
9371
9371
  this.restarts = result;
9372
9372
  }
9373
9373
  get replicas() {
@@ -9376,6 +9376,9 @@ class WorkloadModel extends WorkloadBaseModel {
9376
9376
  get readyReplicas() {
9377
9377
  return this.status && "readyReplicas" in this.status ? this.status.readyReplicas : 0;
9378
9378
  }
9379
+ get appKey() {
9380
+ return `${this.kind}-${this.name}-${this.namespace}`;
9381
+ }
9379
9382
  redeploy() {
9380
9383
  const rawYaml = this._globalStore.restoreItem(this);
9381
9384
  const newOne = lodashExports.cloneDeep(rawYaml);
@@ -9448,7 +9451,7 @@ class PodModel extends WorkloadBaseModel {
9448
9451
  (container2) => shortenedImage(container2.image || "")
9449
9452
  )) || [];
9450
9453
  }
9451
- get restartCount() {
9454
+ get restarts() {
9452
9455
  var _a, _b;
9453
9456
  if ((_a = this._rawYaml.status) == null ? void 0 : _a.containerStatuses) {
9454
9457
  return ((_b = this._rawYaml.status) == null ? void 0 : _b.containerStatuses.reduce((count, container2) => {
@@ -10180,16 +10183,17 @@ function useOpenForm(options) {
10180
10183
  const navigation = useNavigation();
10181
10184
  const pushModal = usePushModal();
10182
10185
  const go = useGo();
10183
- return function openForm() {
10186
+ return function openForm(resourceName) {
10184
10187
  var _a, _b;
10185
- if (resource == null ? void 0 : resource.name) {
10186
- const config = configs[resource.name];
10188
+ const finalResourceName = resourceName || (resource == null ? void 0 : resource.name);
10189
+ if (finalResourceName) {
10190
+ const config = configs[finalResourceName];
10187
10191
  const formType = (_a = config.formConfig) == null ? void 0 : _a.formContainerType;
10188
10192
  if (formType === void 0 || formType === FormContainerType.MODAL) {
10189
10193
  pushModal({
10190
10194
  component: ((_b = config.formConfig) == null ? void 0 : _b.CustomFormModal) || FormModal,
10191
10195
  props: {
10192
- resource: resource.name,
10196
+ resource: finalResourceName,
10193
10197
  id: options == null ? void 0 : options.id,
10194
10198
  formProps: {
10195
10199
  initialValues: getInitialValues(config)
@@ -10200,7 +10204,7 @@ function useOpenForm(options) {
10200
10204
  edit2(options.id);
10201
10205
  } else {
10202
10206
  go({
10203
- to: navigation.createUrl(resource.name),
10207
+ to: navigation.createUrl(finalResourceName),
10204
10208
  options: {
10205
10209
  keepQuery: true
10206
10210
  }
@@ -10209,28 +10213,32 @@ function useOpenForm(options) {
10209
10213
  }
10210
10214
  };
10211
10215
  }
10216
+ function getResourceNameByKind(kind, configs) {
10217
+ var _a;
10218
+ return (_a = Object.values(configs).find((config) => config.kind === kind)) == null ? void 0 : _a.name;
10219
+ }
10212
10220
  function K8sDropdown(props) {
10213
10221
  var _a;
10214
10222
  const { record, size = "normal" } = props;
10215
10223
  const globalStore = useGlobalStore();
10216
10224
  const useResourceResult = useResource();
10217
- const resource = useResourceResult.resource;
10218
10225
  const configs = useContext(ConfigsContext);
10219
- const config = configs[(resource == null ? void 0 : resource.name) || ""];
10226
+ const resourceName = getResourceNameByKind(record.kind || "", configs);
10227
+ const config = configs[resourceName || ""];
10220
10228
  const { t: t2 } = useTranslation();
10221
- const { openDeleteConfirmModal } = useDeleteModal({ resourceName: (resource == null ? void 0 : resource.name) || "" });
10229
+ const { openDeleteConfirmModal } = useDeleteModal({ resourceName: resourceName || "" });
10222
10230
  const download2 = useDownloadYAML();
10223
10231
  const openForm = useOpenForm({ id: record.id });
10224
10232
  const isInShowPage = useResourceResult.action === "show";
10225
10233
  const { data: canEditData } = useCan({
10226
- resource: resource == null ? void 0 : resource.name,
10234
+ resource: resourceName,
10227
10235
  action: AccessControlAuth.Edit,
10228
10236
  params: {
10229
10237
  namespace: record.namespace
10230
10238
  }
10231
10239
  });
10232
10240
  const { data: canDeleteData } = useCan({
10233
- resource: resource == null ? void 0 : resource.name,
10241
+ resource: resourceName,
10234
10242
  action: AccessControlAuth.Delete,
10235
10243
  params: {
10236
10244
  namespace: record.namespace
@@ -10241,7 +10249,7 @@ function K8sDropdown(props) {
10241
10249
  Dropdown,
10242
10250
  {
10243
10251
  overlay: /* @__PURE__ */ jsxRuntimeExports.jsxs(Menu$1, { children: [
10244
- isInShowPage || (canEditData == null ? void 0 : canEditData.can) === false || config.hideEdit ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(Menu$1.Item, { onClick: openForm, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, { src: EditPen16PrimaryIcon, children: formType === FormType.FORM ? t2("dovetail.edit") : t2("dovetail.edit_yaml") }) }),
10252
+ isInShowPage || (canEditData == null ? void 0 : canEditData.can) === false || config.hideEdit ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(Menu$1.Item, { onClick: () => openForm(), children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, { src: EditPen16PrimaryIcon, children: formType === FormType.FORM ? t2("dovetail.edit") : t2("dovetail.edit_yaml") }) }),
10245
10253
  /* @__PURE__ */ jsxRuntimeExports.jsx(
10246
10254
  Menu$1.Item,
10247
10255
  {
@@ -10399,7 +10407,7 @@ function CreateButton(props) {
10399
10407
  {
10400
10408
  prefixIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(PlusAddCreateNew16BoldOntintIcon, {}),
10401
10409
  type: "primary",
10402
- onClick: openForm,
10410
+ onClick: () => openForm(),
10403
10411
  children: createButtonText || t2("dovetail.create_resource", {
10404
10412
  resource: transformResourceKindInSentence(label2, i18n2.language)
10405
10413
  })
@@ -10678,7 +10686,7 @@ const index_x36tts = "";
10678
10686
  const LinkStyle = "l1vnw9x0";
10679
10687
  const ResourceLink = (props) => {
10680
10688
  const {
10681
- resourceKind: resourceName,
10689
+ resourceName,
10682
10690
  namespace: namespace2,
10683
10691
  name: name2,
10684
10692
  uid,
@@ -10769,7 +10777,7 @@ const IngressRulesTable = ({ ingress }) => {
10769
10777
  return record.serviceName ? /* @__PURE__ */ jsxRuntimeExports.jsx(
10770
10778
  ResourceLink,
10771
10779
  {
10772
- resourceKind: "services",
10780
+ resourceName: "services",
10773
10781
  namespace: ingress.metadata.namespace || "default",
10774
10782
  name: serviceName
10775
10783
  }
@@ -10796,7 +10804,7 @@ const IngressRulesTable = ({ ingress }) => {
10796
10804
  return secretName ? /* @__PURE__ */ jsxRuntimeExports.jsx(
10797
10805
  ResourceLink,
10798
10806
  {
10799
- resourceKind: "secrets",
10807
+ resourceName: "secrets",
10800
10808
  namespace: ingress.metadata.namespace || "default",
10801
10809
  name: secretName
10802
10810
  }
@@ -11124,7 +11132,7 @@ const ShowContent = (props) => {
11124
11132
  style: {
11125
11133
  marginRight: 8
11126
11134
  },
11127
- onClick: openForm,
11135
+ onClick: () => openForm(),
11128
11136
  children: ((_f = config.formConfig) == null ? void 0 : _f.formType) === FormType.FORM ? t2("dovetail.edit") : t2("dovetail.edit_yaml")
11129
11137
  })
11130
11138
  }) : null, /* @__PURE__ */ jsxRuntimeExports.jsx(Dropdown2, {
@@ -11767,7 +11775,7 @@ const WorkloadPodsTable = ({
11767
11775
  title: i18n2.t("dovetail.ip_address"),
11768
11776
  sortable: true,
11769
11777
  width: 160
11770
- }, hideNodeColumn ? void 0 : NodeNameColumnRenderer(i18n2), WorkloadImageColumnRenderer(i18n2), PodContainersNumColumnRenderer(i18n2), RestartCountColumnRenderer(i18n2), AgeColumnRenderer(i18n2)].filter((v) => !!v);
11778
+ }, hideNodeColumn ? void 0 : NodeNameColumnRenderer(i18n2), WorkloadImageColumnRenderer(i18n2), PodContainersNumColumnRenderer(i18n2), RestartsColumnRenderer(i18n2), AgeColumnRenderer(i18n2)].filter((v) => !!v);
11771
11779
  const {
11772
11780
  tableProps
11773
11781
  } = useEagleTable({
@@ -12310,7 +12318,7 @@ const PVRefField = (i18n2) => {
12310
12318
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
12311
12319
  ResourceLink,
12312
12320
  {
12313
- resourceKind: "persistentvolumes",
12321
+ resourceName: "persistentvolumes",
12314
12322
  namespace: "",
12315
12323
  name: value2
12316
12324
  }
@@ -12324,7 +12332,7 @@ const PVStorageClassField = (i18n2) => {
12324
12332
  path: ["spec", "storageClassName"],
12325
12333
  title: i18n2.t("dovetail.storage_class"),
12326
12334
  renderContent(value2) {
12327
- return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, { resourceKind: "storageclasses", namespace: "", name: value2 });
12335
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, { resourceName: "storageclasses", namespace: "", name: value2 });
12328
12336
  }
12329
12337
  };
12330
12338
  };
@@ -12392,7 +12400,7 @@ const PVCRefField = (i18n2) => {
12392
12400
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
12393
12401
  ResourceLink,
12394
12402
  {
12395
- resourceKind: "persistentvolumeclaims",
12403
+ resourceName: "persistentvolumeclaims",
12396
12404
  namespace: pv2.pvcNamespace || "default",
12397
12405
  name: value2,
12398
12406
  uid: pv2.pvcUid
@@ -12682,7 +12690,7 @@ const PodLogTab = (i18n2) => ({
12682
12690
  ]
12683
12691
  });
12684
12692
  const NetworkPolicyRulesViewer_r6jity = "";
12685
- const MonacoYamlEditor$1 = lazy(() => import("./MonacoYamlEditor-9a2832ff.js"));
12693
+ const MonacoYamlEditor$1 = lazy(() => import("./MonacoYamlEditor-74ecf0d5.js"));
12686
12694
  const EditorStyle$1 = "e1cjl2b8";
12687
12695
  const NetworkPolicyRulesViewer = ({
12688
12696
  ingressOrEgress,
@@ -12759,13 +12767,13 @@ const PodContainersTable = ({
12759
12767
  }
12760
12768
  },
12761
12769
  {
12762
- key: "restartCount",
12763
- dataIndex: ["restartCount"],
12770
+ key: "restarts",
12771
+ dataIndex: ["restarts"],
12764
12772
  title: i18n2.t("dovetail.restarts"),
12765
12773
  sortable: true,
12766
12774
  align: "right",
12767
12775
  width: 120,
12768
- sorter: CommonSorter(["restartCount"])
12776
+ sorter: CommonSorter(["restarts"])
12769
12777
  },
12770
12778
  {
12771
12779
  key: "started",
@@ -15069,18 +15077,26 @@ const NamespacesFilter = ({
15069
15077
  };
15070
15078
  function useNamespaceRefineFilter() {
15071
15079
  const { value: nsFilters = [] } = useNamespacesFilter();
15072
- const filters = useMemo(() => ({
15073
- permanent: [
15074
- {
15075
- operator: "or",
15076
- value: nsFilters.filter((filter) => filter !== ALL_NS).map((filter) => ({
15077
- field: "metadata.namespace",
15078
- operator: "eq",
15079
- value: filter
15080
- }))
15081
- }
15082
- ]
15083
- }), [nsFilters]);
15080
+ const filters = useMemo(() => {
15081
+ const filters2 = nsFilters.filter((filter) => filter !== ALL_NS);
15082
+ if (filters2.length === 0) {
15083
+ return {
15084
+ permanent: []
15085
+ };
15086
+ }
15087
+ return {
15088
+ permanent: [
15089
+ {
15090
+ operator: "or",
15091
+ value: filters2.map((filter) => ({
15092
+ field: "metadata.namespace",
15093
+ operator: "eq",
15094
+ value: filter
15095
+ }))
15096
+ }
15097
+ ]
15098
+ };
15099
+ }, [nsFilters]);
15084
15100
  return filters;
15085
15101
  }
15086
15102
  const index_1l2xllo = "";
@@ -16106,7 +16122,7 @@ const PlainCodeStyle = "pqch97v";
16106
16122
  const ErrorMsgStyle = "eh2qjnl";
16107
16123
  const ErrorWrapperStyle = "e19q2bnp";
16108
16124
  const YamlEditorStyle = "y16u5v3w";
16109
- const MonacoYamlEditor = React__default.lazy(() => import("./MonacoYamlEditor-9a2832ff.js"));
16125
+ const MonacoYamlEditor = React__default.lazy(() => import("./MonacoYamlEditor-74ecf0d5.js"));
16110
16126
  const MonacoYamlDiffEditor = React__default.lazy(() => import("./MonacoYamlDiffEditor-7de94ad2.js"));
16111
16127
  const YamlEditorComponent = forwardRef(
16112
16128
  function YamlEditorComponent2(props, ref) {
@@ -17695,7 +17711,7 @@ const ReferenceLink = (props) => {
17695
17711
  ResourceLink,
17696
17712
  {
17697
17713
  name: ownerReference.name,
17698
- resourceKind: resource.name || "",
17714
+ resourceName: resource.name || "",
17699
17715
  namespace: namespace2
17700
17716
  }
17701
17717
  );
@@ -17757,7 +17773,7 @@ const IngressRulesComponent = ({ ingress }) => {
17757
17773
  /* @__PURE__ */ jsxRuntimeExports.jsx(
17758
17774
  ResourceLink,
17759
17775
  {
17760
- resourceKind: "services",
17776
+ resourceName: "services",
17761
17777
  namespace: ingress.metadata.namespace || "default",
17762
17778
  name: r2.serviceName
17763
17779
  }
@@ -17811,6 +17827,10 @@ const CommonSorter = (dataIndex) => (a2, b) => {
17811
17827
  const valB = lodashExports.get(b, dataIndex);
17812
17828
  if (valA === valB)
17813
17829
  return 0;
17830
+ if (valA !== void 0 && valB === void 0)
17831
+ return 1;
17832
+ if (valA === void 0 && valB !== void 0)
17833
+ return -1;
17814
17834
  if (valA > valB)
17815
17835
  return 1;
17816
17836
  return -1;
@@ -17895,7 +17915,7 @@ const WorkloadImageColumnRenderer = (i18n2) => {
17895
17915
  }
17896
17916
  };
17897
17917
  };
17898
- const WorkloadRestartsColumnRenderer = (i18n2) => {
17918
+ const RestartsColumnRenderer = (i18n2) => {
17899
17919
  const dataIndex = ["restarts"];
17900
17920
  return {
17901
17921
  key: "restarts",
@@ -17903,7 +17923,14 @@ const WorkloadRestartsColumnRenderer = (i18n2) => {
17903
17923
  width: 120,
17904
17924
  dataIndex,
17905
17925
  align: "right",
17906
- title: i18n2.t("dovetail.restarts")
17926
+ sortable: true,
17927
+ sorter: CommonSorter(dataIndex),
17928
+ title: i18n2.t("dovetail.restarts"),
17929
+ render: (value2) => {
17930
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDisplay, {
17931
+ value: value2
17932
+ });
17933
+ }
17907
17934
  };
17908
17935
  };
17909
17936
  const ReplicasColumnRenderer = (i18n2) => {
@@ -17967,7 +17994,7 @@ const NodeNameColumnRenderer = (i18n2, options) => {
17967
17994
  sorter: CommonSorter(dataIndex),
17968
17995
  render: (v) => {
17969
17996
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, {
17970
- resourceKind: "nodes",
17997
+ resourceName: "nodes",
17971
17998
  name: v,
17972
17999
  namespace: ""
17973
18000
  });
@@ -17975,19 +18002,6 @@ const NodeNameColumnRenderer = (i18n2, options) => {
17975
18002
  ...options
17976
18003
  };
17977
18004
  };
17978
- const RestartCountColumnRenderer = (i18n2) => {
17979
- const dataIndex = ["restartCount"];
17980
- return {
17981
- key: "restartCount",
17982
- display: true,
17983
- dataIndex,
17984
- title: i18n2.t("dovetail.restarts"),
17985
- sortable: true,
17986
- width: 120,
17987
- align: "right",
17988
- sorter: CommonSorter(dataIndex)
17989
- };
17990
- };
17991
18005
  const CompletionsCountColumnRenderer = (i18n2) => {
17992
18006
  const dataIndex = ["succeeded"];
17993
18007
  return {
@@ -18357,7 +18371,7 @@ const PVRefColumnRenderer = (i18n2) => {
18357
18371
  sortable: true,
18358
18372
  render(value2) {
18359
18373
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, {
18360
- resourceKind: "persistentvolumes",
18374
+ resourceName: "persistentvolumes",
18361
18375
  namespace: "",
18362
18376
  name: value2
18363
18377
  });
@@ -18374,7 +18388,7 @@ const PVStorageClassColumnRenderer = (i18n2) => {
18374
18388
  sortable: true,
18375
18389
  render(value2) {
18376
18390
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, {
18377
- resourceKind: "storageclasses",
18391
+ resourceName: "storageclasses",
18378
18392
  namespace: "",
18379
18393
  name: value2
18380
18394
  });
@@ -18407,7 +18421,7 @@ const PVCRefColumnRenderer = (i18n2) => {
18407
18421
  sortable: true,
18408
18422
  render(value2, pv2) {
18409
18423
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ResourceLink, {
18410
- resourceKind: "persistentvolumeclaims",
18424
+ resourceName: "persistentvolumeclaims",
18411
18425
  namespace: pv2.pvcNamespace || "default",
18412
18426
  name: value2,
18413
18427
  uid: pv2.pvcUid
@@ -18738,265 +18752,265 @@ const relationPlugin = new RelationPlugin();
18738
18752
  const ProviderPlugins = [relationPlugin, modelPlugin];
18739
18753
  const dovetailRefineI18n = i18n;
18740
18754
  export {
18741
- useGlobalStore as $,
18755
+ useOpenForm as $,
18742
18756
  AgeColumnRenderer as A,
18743
- PVCapacityColumnRenderer as B,
18757
+ PVCStorageColumnRenderer as B,
18744
18758
  CommonSorter as C,
18745
18759
  DurationColumnRenderer as D,
18746
- PVCStorageColumnRenderer as E,
18747
- PVRefColumnRenderer as F,
18748
- PVStorageClassColumnRenderer as G,
18749
- PVPhaseColumnRenderer as H,
18760
+ PVRefColumnRenderer as E,
18761
+ PVStorageClassColumnRenderer as F,
18762
+ PVPhaseColumnRenderer as G,
18763
+ PVCRefColumnRenderer as H,
18750
18764
  IngressRulesColumnRenderer as I,
18751
- PVCRefColumnRenderer as J,
18752
- PVCSIRefColumnRenderer as K,
18753
- PVVolumeModeColumnRenderer as L,
18754
- PVAccessModeColumnRenderer as M,
18765
+ PVCSIRefColumnRenderer as J,
18766
+ PVVolumeModeColumnRenderer as K,
18767
+ PVAccessModeColumnRenderer as L,
18768
+ IsDefaultSCColumnRenderer as M,
18755
18769
  NameColumnRenderer as N,
18756
- IsDefaultSCColumnRenderer as O,
18770
+ SCReclaimPolicyColumnRenderer as O,
18757
18771
  PlainTextNameColumnRenderer as P,
18758
- SCReclaimPolicyColumnRenderer as Q,
18759
- ReplicasColumnRenderer as R,
18772
+ SCAllowExpandColumnRenderer as Q,
18773
+ RestartsColumnRenderer as R,
18760
18774
  StateDisplayColumnRenderer as S,
18761
- SCAllowExpandColumnRenderer as T,
18762
- ColumnKeys as U,
18763
- addDefaultRenderToColumns as V,
18775
+ ColumnKeys as T,
18776
+ addDefaultRenderToColumns as U,
18777
+ useEagleTable as V,
18764
18778
  WorkloadImageColumnRenderer as W,
18765
- useEagleTable as X,
18779
+ useDownloadYAML as X,
18766
18780
  YamlEditorStyle as Y,
18767
- useDownloadYAML as Z,
18768
- useEdit as _,
18781
+ useEdit as Z,
18782
+ useGlobalStore as _,
18769
18783
  useApiGroupSchema as a,
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,
18784
+ ServiceOutClusterAccessField as a$,
18785
+ index as a0,
18786
+ WidgetErrorContent as a1,
18787
+ Breadcrumb as a2,
18788
+ NameInputWidget as a3,
18789
+ dnsSubDomainRules as a4,
18790
+ rfc1123LabelRules as a5,
18791
+ rfc1035LabelRules as a6,
18792
+ NamespaceSelectWidget as a7,
18793
+ namespaceRules as a8,
18794
+ KeyValueListWidget as a9,
18795
+ KeyValueAnnotation as aA,
18796
+ KeyValueSecret as aB,
18797
+ Separator as aC,
18798
+ YamlEditorComponent as aD,
18799
+ DeleteButton as aE,
18800
+ Layout as aF,
18801
+ AreaType as aG,
18802
+ ImageField as aH,
18803
+ ReplicaField as aI,
18804
+ ConditionsField as aJ,
18805
+ NodeTaintsField as aK,
18806
+ PodsField as aL,
18807
+ JobsField as aM,
18808
+ DataField as aN,
18809
+ SecretDataField as aO,
18810
+ StartTimeField as aP,
18811
+ ServiceTypeField as aQ,
18812
+ ClusterIpField as aR,
18813
+ SessionAffinityField as aS,
18814
+ ServicePodsField as aT,
18815
+ IngressRulesTableTabField as aU,
18816
+ EventsTableTabField as aV,
18817
+ NamespaceField as aW,
18818
+ AgeField as aX,
18819
+ LabelsField as aY,
18820
+ AnnotationsField as aZ,
18821
+ ServiceInnerClusterAccessField as a_,
18822
+ MetadataForm as aa,
18823
+ PageShow as ab,
18824
+ Time as ac,
18825
+ ConditionsTable as ad,
18826
+ FormErrorAlert as ae,
18827
+ PodContainersTable as af,
18828
+ WorkloadDropdown as ag,
18829
+ ReplicasDropdown as ah,
18830
+ PodDropdown as ai,
18831
+ CreateButton as aj,
18832
+ ImageNames as ak,
18833
+ ResourceList as al,
18834
+ ResourceShow as am,
18835
+ ResourceForm as an,
18836
+ ResourceCRUD as ao,
18837
+ WorkloadPodsTable as ap,
18838
+ CronJobDropdown as aq,
18839
+ K8sDropdown as ar,
18840
+ EditLabelDropdownMenuItem as as,
18841
+ EditAnnotationDropdownMenuItem as at,
18842
+ EditNodeTaintDropdownMenuItem as au,
18843
+ ResourceUsageBar as av,
18844
+ WorkloadReplicasForm as aw,
18845
+ WorkloadReplicas as ax,
18846
+ CronjobJobsTable as ay,
18847
+ KeyValue as az,
18834
18848
  useSchema as b,
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,
18849
+ TextTags as b$,
18850
+ PodSelectorField as b0,
18851
+ PortsTableField as b1,
18852
+ DurationField as b2,
18853
+ StorageClassProvisionerField as b3,
18854
+ StorageClassPvField as b4,
18855
+ PVCapacityField as b5,
18856
+ PVCStorageField as b6,
18857
+ PVRefField as b7,
18858
+ PVStorageClassField as b8,
18859
+ PVPhaseField as b9,
18860
+ StorageClassPvGroup as bA,
18861
+ ResourceTableGroup as bB,
18862
+ ShowGroupComponent as bC,
18863
+ ShowContent as bD,
18864
+ DeleteManyButton as bE,
18865
+ ListPage as bF,
18866
+ StateTag as bG,
18867
+ DrawerShow as bH,
18868
+ Menu as bI,
18869
+ Table as bJ,
18870
+ EditButton as bK,
18871
+ ReferenceLink as bL,
18872
+ ResourceLink as bM,
18873
+ NS_STORE_KEY as bN,
18874
+ ALL_NS as bO,
18875
+ useNamespacesFilter as bP,
18876
+ NamespacesFilter as bQ,
18877
+ FormModal as bR,
18878
+ renderCommonFormFiled as bS,
18879
+ RefineFormContent as bT,
18880
+ RefineFormPage as bU,
18881
+ SchemaStrategy as bV,
18882
+ YamlForm as bW,
18883
+ useRefineForm as bX,
18884
+ ServiceInClusterAccessComponent as bY,
18885
+ ServiceOutClusterAccessComponent as bZ,
18886
+ Tags as b_,
18887
+ PVVolumeModeField as ba,
18888
+ PVAccessModeField as bb,
18889
+ PVCPodsField as bc,
18890
+ PVCRefField as bd,
18891
+ PVCSIRefField as be,
18892
+ IsDefaultSCField as bf,
18893
+ SCReclaimPolicyField as bg,
18894
+ IsSCAllowVolumeExpansionField as bh,
18895
+ ResourceTableField as bi,
18896
+ EventsTab as bj,
18897
+ PodLogTab as bk,
18898
+ BasicGroup as bl,
18899
+ PodsGroup as bm,
18900
+ PodContainersGroup as bn,
18901
+ ServicePodsGroup as bo,
18902
+ PVCPodsGroup as bp,
18903
+ ConditionsGroup as bq,
18904
+ NodeTaintsGroup as br,
18905
+ SecretDataGroup as bs,
18906
+ JobsGroup as bt,
18907
+ IngressRulesGroup as bu,
18908
+ PodSelectorGroup as bv,
18909
+ PortsGroup as bw,
18910
+ DataGroup as bx,
18911
+ NetworkPolicyIngressRulesGroup as by,
18912
+ NetworkPolicyEgressRulesGroup as bz,
18899
18913
  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,
18914
+ NodeModel as c$,
18915
+ PodLog as c0,
18916
+ NetworkPolicyRulesViewer as c1,
18917
+ PVVolumeModeDisplay as c2,
18918
+ Tabs as c3,
18919
+ ResourceSelect as c4,
18920
+ PodShellModal as c5,
18921
+ PodShell as c6,
18922
+ ResourceTable as c7,
18923
+ ErrorWrapper as c8,
18924
+ ErrorContentType as c9,
18925
+ PVC_INIT_VALUE as cA,
18926
+ ResourceState as cB,
18927
+ AccessControlAuth as cC,
18928
+ Dovetail as cD,
18929
+ RESOURCE_GROUP as cE,
18930
+ FormContainerType as cF,
18931
+ FormType as cG,
18932
+ FormMode as cH,
18933
+ ComponentContext as cI,
18934
+ GlobalStoreContext as cJ,
18935
+ ConfigsContext as cK,
18936
+ IngressModel as cL,
18937
+ NetworkPolicyModel as cM,
18938
+ JobModel as cN,
18939
+ WorkloadModel as cO,
18940
+ WorkloadBaseModel as cP,
18941
+ PodModel as cQ,
18942
+ PodMetricsModel as cR,
18943
+ ResourceModel as cS,
18944
+ CronJobModel as cT,
18945
+ EventModel as cU,
18946
+ DeploymentModel as cV,
18947
+ DaemonSetModel as cW,
18948
+ StatefulSetModel as cX,
18949
+ ServiceTypeEnum as cY,
18950
+ ServiceModel as cZ,
18951
+ NodeRole as c_,
18952
+ BASE_INIT_VALUE as ca,
18953
+ DEPLOYMENT_INIT_VALUE as cb,
18954
+ CRONJOB_INIT_VALUE as cc,
18955
+ DAEMONSET_INIT_VALUE as cd,
18956
+ JOB_INIT_VALUE as ce,
18957
+ STATEFULSET_INIT_VALUE as cf,
18958
+ POD_INIT_VALUE as cg,
18959
+ SERVICE_CLUSTER_IP_INIT_VALUE as ch,
18960
+ SERVICE_NODE_PORT_INIT_VALUE as ci,
18961
+ SERVICE_LOAD_BALANCER_INIT_VALUE as cj,
18962
+ SERVICE_EXTERNAL_NAME_INIT_VALUE as ck,
18963
+ SERVICE_HEADLESS_INIT_VALUE as cl,
18964
+ INGRESS_INIT_VALUE as cm,
18965
+ NETWORK_POLICY_INIT_VALUE as cn,
18966
+ CONFIG_MAP_INIT_VALUE as co,
18967
+ SERVER_INSTANCE_INIT_VALUE as cp,
18968
+ REDEPLOY_TIMESTAMP_KEY as cq,
18969
+ SECRET_OPAQUE_INIT_VALUE as cr,
18970
+ SECRET_IMAGE_REPO_INIT_VALUE as cs,
18971
+ SECRET_BASIC_AUTH_INIT_VALUE as ct,
18972
+ SECRET_SSH_AUTH_INIT_VALUE as cu,
18973
+ SECRET_TLS_INIT_VALUE as cv,
18974
+ SECRET_CUSTOM_INIT_VALUE as cw,
18975
+ NODE_INIT_VALUE as cx,
18976
+ STORAGE_CLASS_INIT_VALUE as cy,
18977
+ PV_INIT_VALUE as cz,
18964
18978
  dovetailRefineI18n as d,
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,
18979
+ StorageClassModel as d0,
18980
+ PersistentVolumeModel as d1,
18981
+ PersistentVolumeClaimModel as d2,
18982
+ ProviderPlugins as d3,
18983
+ ModelPlugin as d4,
18984
+ modelPlugin as d5,
18985
+ RelationPlugin as d6,
18986
+ relationPlugin as d7,
18987
+ generateValueFromSchema as d8,
18988
+ generateSchemaTypeValue as d9,
18989
+ resolveRef as da,
18990
+ getApiVersion as db,
18991
+ pruneBeforeEdit as dc,
18992
+ matchSelector as dd,
18993
+ getResourceNameByKind as de,
18980
18994
  useDeleteModalOnly as e,
18981
18995
  useFailedModal as f,
18982
18996
  NameSpaceColumnRenderer as g,
18983
- WorkloadRestartsColumnRenderer as h,
18997
+ ReplicasColumnRenderer as h,
18984
18998
  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,
18999
+ CompletionsCountColumnRenderer as j,
19000
+ ServiceTypeColumnRenderer as k,
19001
+ ServiceInClusterAccessTitle as l,
19002
+ ServiceInClusterAccessColumnRenderer as m,
19003
+ ServiceOutClusterAccessTitle as n,
19004
+ ServiceOutClusterAccessColumnRenderer as o,
19005
+ PodWorkloadColumnRenderer as p,
19006
+ IngressDefaultBackendColumnRenderer as q,
18993
19007
  routerProvider as r,
18994
- IngressDefaultBackendColumnRenderer as s,
18995
- IngressClassColumnRenderer as t,
19008
+ IngressClassColumnRenderer as s,
19009
+ IngressTlsColumnRenderer as t,
18996
19010
  useNamespaceRefineFilter as u,
18997
- IngressTlsColumnRenderer as v,
18998
- PodContainersNumColumnRenderer as w,
18999
- DataKeysColumnRenderer as x,
19000
- PortMappingColumnRenderer as y,
19001
- ProvisionerColumnRenderer as z
19011
+ PodContainersNumColumnRenderer as v,
19012
+ DataKeysColumnRenderer as w,
19013
+ PortMappingColumnRenderer as x,
19014
+ ProvisionerColumnRenderer as y,
19015
+ PVCapacityColumnRenderer as z
19002
19016
  };