@dovetail-v2/refine 0.3.23-alpha.0 → 0.3.23-alpha.1
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.
|
@@ -27,7 +27,10 @@ export declare const ServiceInClusterAccessColumnRenderer: <Model extends Servic
|
|
|
27
27
|
export declare function ServiceOutClusterAccessTitle(): JSX.Element;
|
|
28
28
|
export declare const ServiceOutClusterAccessColumnRenderer: <Model extends ServiceModel>(clusterVip: string) => Column<Model>;
|
|
29
29
|
export declare const PodWorkloadColumnRenderer: <Model extends PodModel>(i18n: I18nType) => Column<Model>;
|
|
30
|
-
export declare const IngressRulesColumnRenderer: <Model extends IngressModel>(i18n
|
|
30
|
+
export declare const IngressRulesColumnRenderer: <Model extends IngressModel>({ i18n, noLink, }: {
|
|
31
|
+
i18n: I18nType;
|
|
32
|
+
noLink?: boolean | undefined;
|
|
33
|
+
}) => Column<Model>;
|
|
31
34
|
export declare const IngressDefaultBackendColumnRenderer: <Model extends IngressModel>(i18n: I18nType) => Column<Model>;
|
|
32
35
|
export declare const IngressClassColumnRenderer: <Model extends IngressModel>(i18n: I18nType) => Column<Model>;
|
|
33
36
|
export declare const IngressTlsColumnRenderer: <Model extends IngressModel>(i18n: I18nType) => Column<Model>;
|
package/dist/refine.cjs
CHANGED
|
@@ -14097,8 +14097,7 @@ const ShowContentView = (props) => {
|
|
|
14097
14097
|
},
|
|
14098
14098
|
children: /* @__PURE__ */ common.jsxRuntimeExports.jsx(ValueDisplay, {
|
|
14099
14099
|
className: common.cx_default(eagle.Typo.Label.l4_regular_title, ValueStyle),
|
|
14100
|
-
value: content
|
|
14101
|
-
useOverflow: false
|
|
14100
|
+
value: content
|
|
14102
14101
|
})
|
|
14103
14102
|
})]
|
|
14104
14103
|
})
|
|
@@ -14108,8 +14107,7 @@ const ShowContentView = (props) => {
|
|
|
14108
14107
|
style: {
|
|
14109
14108
|
height: "100%"
|
|
14110
14109
|
},
|
|
14111
|
-
value: content
|
|
14112
|
-
useOverflow: false
|
|
14110
|
+
value: content
|
|
14113
14111
|
});
|
|
14114
14112
|
});
|
|
14115
14113
|
}
|
|
@@ -19109,7 +19107,7 @@ const PortsConfigForm = React.forwardRef(function PortsConfigForm2({ value: valu
|
|
|
19109
19107
|
}
|
|
19110
19108
|
);
|
|
19111
19109
|
});
|
|
19112
|
-
const IngressRulesComponent = ({ ingress }) => {
|
|
19110
|
+
const IngressRulesComponent = ({ ingress, noLink }) => {
|
|
19113
19111
|
const { data: serviceData } = core.useList({
|
|
19114
19112
|
resource: "services",
|
|
19115
19113
|
meta: {
|
|
@@ -19139,7 +19137,7 @@ const IngressRulesComponent = ({ ingress }) => {
|
|
|
19139
19137
|
/* @__PURE__ */ common.jsxRuntimeExports.jsx(LinkFallback, { fullPath: r2.fullPath }),
|
|
19140
19138
|
/* @__PURE__ */ common.jsxRuntimeExports.jsx("span", { children: arrow }),
|
|
19141
19139
|
r2.serviceName ? /* @__PURE__ */ common.jsxRuntimeExports.jsxs(common.jsxRuntimeExports.Fragment, { children: [
|
|
19142
|
-
/* @__PURE__ */ common.jsxRuntimeExports.jsx(
|
|
19140
|
+
noLink ? /* @__PURE__ */ common.jsxRuntimeExports.jsx("span", { children: r2.serviceName }) : /* @__PURE__ */ common.jsxRuntimeExports.jsx(
|
|
19143
19141
|
ResourceLink,
|
|
19144
19142
|
{
|
|
19145
19143
|
resourceName: "services",
|
|
@@ -19154,7 +19152,7 @@ const IngressRulesComponent = ({ ingress }) => {
|
|
|
19154
19152
|
] }) : r2.resourceName,
|
|
19155
19153
|
secretName ? /* @__PURE__ */ common.jsxRuntimeExports.jsxs(common.jsxRuntimeExports.Fragment, { children: [
|
|
19156
19154
|
/* @__PURE__ */ common.jsxRuntimeExports.jsx("span", { children: divider }),
|
|
19157
|
-
/* @__PURE__ */ common.jsxRuntimeExports.jsx(
|
|
19155
|
+
noLink ? /* @__PURE__ */ common.jsxRuntimeExports.jsx("span", { children: secretName }) : /* @__PURE__ */ common.jsxRuntimeExports.jsx(
|
|
19158
19156
|
ResourceLink,
|
|
19159
19157
|
{
|
|
19160
19158
|
resourceName: "secrets",
|
|
@@ -19567,7 +19565,10 @@ const PodWorkloadColumnRenderer = (i18n2) => {
|
|
|
19567
19565
|
}
|
|
19568
19566
|
};
|
|
19569
19567
|
};
|
|
19570
|
-
const IngressRulesColumnRenderer = (
|
|
19568
|
+
const IngressRulesColumnRenderer = ({
|
|
19569
|
+
i18n: i18n2,
|
|
19570
|
+
noLink
|
|
19571
|
+
}) => {
|
|
19571
19572
|
const dataIndex = ["spec", "rules"];
|
|
19572
19573
|
return {
|
|
19573
19574
|
key: "type",
|
|
@@ -19579,7 +19580,8 @@ const IngressRulesColumnRenderer = (i18n2) => {
|
|
|
19579
19580
|
width: 300,
|
|
19580
19581
|
render(_, record) {
|
|
19581
19582
|
return /* @__PURE__ */ common.jsxRuntimeExports.jsx(IngressRulesComponent, {
|
|
19582
|
-
ingress: record
|
|
19583
|
+
ingress: record,
|
|
19584
|
+
noLink
|
|
19583
19585
|
});
|
|
19584
19586
|
}
|
|
19585
19587
|
};
|
package/dist/refine.js
CHANGED
|
@@ -14078,8 +14078,7 @@ const ShowContentView = (props) => {
|
|
|
14078
14078
|
},
|
|
14079
14079
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDisplay, {
|
|
14080
14080
|
className: cx_default(Typo.Label.l4_regular_title, ValueStyle),
|
|
14081
|
-
value: content
|
|
14082
|
-
useOverflow: false
|
|
14081
|
+
value: content
|
|
14083
14082
|
})
|
|
14084
14083
|
})]
|
|
14085
14084
|
})
|
|
@@ -14089,8 +14088,7 @@ const ShowContentView = (props) => {
|
|
|
14089
14088
|
style: {
|
|
14090
14089
|
height: "100%"
|
|
14091
14090
|
},
|
|
14092
|
-
value: content
|
|
14093
|
-
useOverflow: false
|
|
14091
|
+
value: content
|
|
14094
14092
|
});
|
|
14095
14093
|
});
|
|
14096
14094
|
}
|
|
@@ -19090,7 +19088,7 @@ const PortsConfigForm = React.forwardRef(function PortsConfigForm2({ value: valu
|
|
|
19090
19088
|
}
|
|
19091
19089
|
);
|
|
19092
19090
|
});
|
|
19093
|
-
const IngressRulesComponent = ({ ingress }) => {
|
|
19091
|
+
const IngressRulesComponent = ({ ingress, noLink }) => {
|
|
19094
19092
|
const { data: serviceData } = useList({
|
|
19095
19093
|
resource: "services",
|
|
19096
19094
|
meta: {
|
|
@@ -19120,7 +19118,7 @@ const IngressRulesComponent = ({ ingress }) => {
|
|
|
19120
19118
|
/* @__PURE__ */ jsxRuntimeExports.jsx(LinkFallback, { fullPath: r2.fullPath }),
|
|
19121
19119
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: arrow }),
|
|
19122
19120
|
r2.serviceName ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
19123
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19121
|
+
noLink ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: r2.serviceName }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19124
19122
|
ResourceLink,
|
|
19125
19123
|
{
|
|
19126
19124
|
resourceName: "services",
|
|
@@ -19135,7 +19133,7 @@ const IngressRulesComponent = ({ ingress }) => {
|
|
|
19135
19133
|
] }) : r2.resourceName,
|
|
19136
19134
|
secretName ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
19137
19135
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: divider }),
|
|
19138
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19136
|
+
noLink ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: secretName }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19139
19137
|
ResourceLink,
|
|
19140
19138
|
{
|
|
19141
19139
|
resourceName: "secrets",
|
|
@@ -19548,7 +19546,10 @@ const PodWorkloadColumnRenderer = (i18n2) => {
|
|
|
19548
19546
|
}
|
|
19549
19547
|
};
|
|
19550
19548
|
};
|
|
19551
|
-
const IngressRulesColumnRenderer = (
|
|
19549
|
+
const IngressRulesColumnRenderer = ({
|
|
19550
|
+
i18n: i18n2,
|
|
19551
|
+
noLink
|
|
19552
|
+
}) => {
|
|
19552
19553
|
const dataIndex = ["spec", "rules"];
|
|
19553
19554
|
return {
|
|
19554
19555
|
key: "type",
|
|
@@ -19560,7 +19561,8 @@ const IngressRulesColumnRenderer = (i18n2) => {
|
|
|
19560
19561
|
width: 300,
|
|
19561
19562
|
render(_, record) {
|
|
19562
19563
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(IngressRulesComponent, {
|
|
19563
|
-
ingress: record
|
|
19564
|
+
ingress: record,
|
|
19565
|
+
noLink
|
|
19564
19566
|
});
|
|
19565
19567
|
}
|
|
19566
19568
|
};
|