@databrainhq/plugin 0.9.19 → 0.9.21
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.
- package/dist/index.es.js +25 -19
- package/dist/index.umd.js +58 -58
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -7448,23 +7448,23 @@ const ExternalMetricForm = ({
|
|
|
7448
7448
|
})]
|
|
7449
7449
|
});
|
|
7450
7450
|
};
|
|
7451
|
-
const container$d = "
|
|
7452
|
-
const wrapper$2 = "
|
|
7453
|
-
const label$4 = "
|
|
7454
|
-
const noOptions = "
|
|
7455
|
-
const floatingLabel = "
|
|
7456
|
-
const floatingText = "
|
|
7457
|
-
const normalText = "
|
|
7458
|
-
const dropdown$1 = "
|
|
7459
|
-
const options$1 = "
|
|
7460
|
-
const checkedOption$2 = "
|
|
7461
|
-
const option$1 = "
|
|
7462
|
-
const icon$1 = "
|
|
7463
|
-
const text$2 = "
|
|
7464
|
-
const search = "
|
|
7465
|
-
const loadMore = "
|
|
7466
|
-
const loadMoreIcon = "
|
|
7467
|
-
const aboveList = "
|
|
7451
|
+
const container$d = "_container_20r69_1";
|
|
7452
|
+
const wrapper$2 = "_wrapper_20r69_9";
|
|
7453
|
+
const label$4 = "_label_20r69_17";
|
|
7454
|
+
const noOptions = "_noOptions_20r69_25";
|
|
7455
|
+
const floatingLabel = "_floatingLabel_20r69_33";
|
|
7456
|
+
const floatingText = "_floatingText_20r69_41";
|
|
7457
|
+
const normalText = "_normalText_20r69_49";
|
|
7458
|
+
const dropdown$1 = "_dropdown_20r69_57";
|
|
7459
|
+
const options$1 = "_options_20r69_65";
|
|
7460
|
+
const checkedOption$2 = "_checkedOption_20r69_73";
|
|
7461
|
+
const option$1 = "_option_20r69_65";
|
|
7462
|
+
const icon$1 = "_icon_20r69_89";
|
|
7463
|
+
const text$2 = "_text_20r69_97";
|
|
7464
|
+
const search = "_search_20r69_105";
|
|
7465
|
+
const loadMore = "_loadMore_20r69_113";
|
|
7466
|
+
const loadMoreIcon = "_loadMoreIcon_20r69_121";
|
|
7467
|
+
const aboveList = "_aboveList_20r69_129";
|
|
7468
7468
|
var styles$A = {
|
|
7469
7469
|
container: container$d,
|
|
7470
7470
|
wrapper: wrapper$2,
|
|
@@ -8203,7 +8203,7 @@ const FloatingDropDown = ({
|
|
|
8203
8203
|
variant: "span",
|
|
8204
8204
|
styleClass: labelVariant === "floating" ? "custom" : "font-14",
|
|
8205
8205
|
className: `${styles$A.label} ${labelVariant === "floating" ? styles$A.floatingLabel : ""}`,
|
|
8206
|
-
children: trimSentence(label2,
|
|
8206
|
+
children: trimSentence(label2, 25)
|
|
8207
8207
|
}) : null, /* @__PURE__ */ jsxs(Button, {
|
|
8208
8208
|
type: "button",
|
|
8209
8209
|
variant: "custom",
|
|
@@ -86052,7 +86052,13 @@ const Table = ({
|
|
|
86052
86052
|
const columns = useMemo(() => {
|
|
86053
86053
|
return Object.keys((data == null ? void 0 : data[0]) || {}).map((colName) => columnHelper.accessor(colName, {
|
|
86054
86054
|
header: () => colName,
|
|
86055
|
-
cell: (info) =>
|
|
86055
|
+
cell: (info) => {
|
|
86056
|
+
const value = info.getValue();
|
|
86057
|
+
if (typeof value === "object") {
|
|
86058
|
+
return JSON.stringify(value);
|
|
86059
|
+
}
|
|
86060
|
+
return value;
|
|
86061
|
+
}
|
|
86056
86062
|
}));
|
|
86057
86063
|
}, [data == null ? void 0 : data[0]]);
|
|
86058
86064
|
const table2 = useReactTable({
|