@databrainhq/plugin 0.7.6 → 0.7.7
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 +101 -94
- package/dist/index.umd.js +7 -7
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -2545,6 +2545,7 @@ var styles$C = {
|
|
|
2545
2545
|
grid,
|
|
2546
2546
|
hidden,
|
|
2547
2547
|
"h-screen": "_h-screen_1hfou_1",
|
|
2548
|
+
"h-[10%]": "_h-[10%]_1hfou_1",
|
|
2548
2549
|
"w-screen": "_w-screen_1hfou_1",
|
|
2549
2550
|
"w-full": "_w-full_1hfou_1",
|
|
2550
2551
|
transform,
|
|
@@ -81800,9 +81801,9 @@ const StackedBarChart = ({
|
|
|
81800
81801
|
})]
|
|
81801
81802
|
});
|
|
81802
81803
|
};
|
|
81803
|
-
const container$g = "
|
|
81804
|
-
const label$5 = "
|
|
81805
|
-
const sync = "
|
|
81804
|
+
const container$g = "_container_w4vgp_1";
|
|
81805
|
+
const label$5 = "_label_w4vgp_7";
|
|
81806
|
+
const sync = "_sync_w4vgp_13";
|
|
81806
81807
|
var styles$x = {
|
|
81807
81808
|
container: container$g,
|
|
81808
81809
|
label: label$5,
|
|
@@ -82203,18 +82204,18 @@ const BoxPlot = ({
|
|
|
82203
82204
|
})
|
|
82204
82205
|
});
|
|
82205
82206
|
};
|
|
82206
|
-
const tableSection = "
|
|
82207
|
-
const tableContainer = "
|
|
82208
|
-
const tableDiv = "
|
|
82209
|
-
const table$4 = "
|
|
82210
|
-
const tableHead$1 = "
|
|
82211
|
-
const tableHeadColHash = "
|
|
82212
|
-
const tableCol = "
|
|
82213
|
-
const tableColLabel = "
|
|
82214
|
-
const data = "
|
|
82215
|
-
const tableBodyColHash = "
|
|
82216
|
-
const tableBodyColHashLabel = "
|
|
82217
|
-
const noData$1 = "
|
|
82207
|
+
const tableSection = "_tableSection_rwcfo_1";
|
|
82208
|
+
const tableContainer = "_tableContainer_rwcfo_5";
|
|
82209
|
+
const tableDiv = "_tableDiv_rwcfo_9";
|
|
82210
|
+
const table$4 = "_table_rwcfo_1";
|
|
82211
|
+
const tableHead$1 = "_tableHead_rwcfo_17";
|
|
82212
|
+
const tableHeadColHash = "_tableHeadColHash_rwcfo_21";
|
|
82213
|
+
const tableCol = "_tableCol_rwcfo_25";
|
|
82214
|
+
const tableColLabel = "_tableColLabel_rwcfo_29";
|
|
82215
|
+
const data = "_data_rwcfo_33";
|
|
82216
|
+
const tableBodyColHash = "_tableBodyColHash_rwcfo_37";
|
|
82217
|
+
const tableBodyColHashLabel = "_tableBodyColHashLabel_rwcfo_41";
|
|
82218
|
+
const noData$1 = "_noData_rwcfo_53";
|
|
82218
82219
|
var style$1 = {
|
|
82219
82220
|
tableSection,
|
|
82220
82221
|
tableContainer,
|
|
@@ -82227,8 +82228,8 @@ var style$1 = {
|
|
|
82227
82228
|
data,
|
|
82228
82229
|
tableBodyColHash,
|
|
82229
82230
|
tableBodyColHashLabel,
|
|
82230
|
-
"table-loader-container": "_table-loader-
|
|
82231
|
-
"table-error-message": "_table-error-
|
|
82231
|
+
"table-loader-container": "_table-loader-container_rwcfo_45",
|
|
82232
|
+
"table-error-message": "_table-error-message_rwcfo_49",
|
|
82232
82233
|
noData: noData$1
|
|
82233
82234
|
};
|
|
82234
82235
|
var classnames = { exports: {} };
|
|
@@ -87634,23 +87635,23 @@ const Dataset = ({
|
|
|
87634
87635
|
})]
|
|
87635
87636
|
});
|
|
87636
87637
|
};
|
|
87637
|
-
const container$a = "
|
|
87638
|
-
const header$2 = "
|
|
87639
|
-
const headerText = "
|
|
87640
|
-
const tab$2 = "
|
|
87641
|
-
const tabText$1 = "
|
|
87642
|
-
const tabHeading = "
|
|
87643
|
-
const form$3 = "
|
|
87644
|
-
const inputWrapper = "
|
|
87645
|
-
const input = "
|
|
87646
|
-
const selectWrapper = "
|
|
87647
|
-
const select = "
|
|
87648
|
-
const label$2 = "
|
|
87649
|
-
const series = "
|
|
87650
|
-
const legendWrapper = "
|
|
87651
|
-
const seriesWrapper = "
|
|
87652
|
-
const valueLabelWrapper = "
|
|
87653
|
-
const singleCheckBox = "
|
|
87638
|
+
const container$a = "_container_1cslw_1";
|
|
87639
|
+
const header$2 = "_header_1cslw_7";
|
|
87640
|
+
const headerText = "_headerText_1cslw_13";
|
|
87641
|
+
const tab$2 = "_tab_1cslw_19";
|
|
87642
|
+
const tabText$1 = "_tabText_1cslw_25";
|
|
87643
|
+
const tabHeading = "_tabHeading_1cslw_31";
|
|
87644
|
+
const form$3 = "_form_1cslw_37";
|
|
87645
|
+
const inputWrapper = "_inputWrapper_1cslw_43";
|
|
87646
|
+
const input = "_input_1cslw_43";
|
|
87647
|
+
const selectWrapper = "_selectWrapper_1cslw_55";
|
|
87648
|
+
const select = "_select_1cslw_55";
|
|
87649
|
+
const label$2 = "_label_1cslw_67";
|
|
87650
|
+
const series = "_series_1cslw_73";
|
|
87651
|
+
const legendWrapper = "_legendWrapper_1cslw_79";
|
|
87652
|
+
const seriesWrapper = "_seriesWrapper_1cslw_85";
|
|
87653
|
+
const valueLabelWrapper = "_valueLabelWrapper_1cslw_91";
|
|
87654
|
+
const singleCheckBox = "_singleCheckBox_1cslw_97";
|
|
87654
87655
|
var styles$i = {
|
|
87655
87656
|
container: container$a,
|
|
87656
87657
|
header: header$2,
|
|
@@ -87771,12 +87772,15 @@ const ChartConfigure = ({
|
|
|
87771
87772
|
const [activeTab2, setActiveTab] = useState("Margins");
|
|
87772
87773
|
return /* @__PURE__ */ jsxs("div", {
|
|
87773
87774
|
className: styles$i.container,
|
|
87774
|
-
children: [/* @__PURE__ */ jsx(
|
|
87775
|
-
|
|
87776
|
-
|
|
87777
|
-
|
|
87778
|
-
|
|
87779
|
-
|
|
87775
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
87776
|
+
className: "h-[10%]",
|
|
87777
|
+
children: /* @__PURE__ */ jsx(Tab, {
|
|
87778
|
+
options: chartType2 !== "single value" ? TabList : singleValueTabs,
|
|
87779
|
+
activeTab: activeTab2,
|
|
87780
|
+
setActiveTab,
|
|
87781
|
+
className: styles$i.tab,
|
|
87782
|
+
tabText: styles$i.tabText
|
|
87783
|
+
})
|
|
87780
87784
|
}), /* @__PURE__ */ jsxs("form", {
|
|
87781
87785
|
className: styles$i.form,
|
|
87782
87786
|
children: [activeTab2 === "Margins" && /* @__PURE__ */ jsxs("div", {
|
|
@@ -88312,22 +88316,22 @@ const ChartConfigure = ({
|
|
|
88312
88316
|
})]
|
|
88313
88317
|
});
|
|
88314
88318
|
};
|
|
88315
|
-
const chartButtonContainer$1 = "
|
|
88316
|
-
const tabContainer = "
|
|
88317
|
-
const tab = "
|
|
88318
|
-
const tabText = "
|
|
88319
|
-
const chartButtons$1 = "
|
|
88320
|
-
const chartButton$1 = "
|
|
88321
|
-
const chartButtonSelected = "
|
|
88322
|
-
const chartTypesButton = "
|
|
88323
|
-
const button$2 = "
|
|
88324
|
-
const propertyButton = "
|
|
88325
|
-
const settings = "
|
|
88326
|
-
const crossIcon = "
|
|
88319
|
+
const chartButtonContainer$1 = "_chartButtonContainer_mrrhu_1";
|
|
88320
|
+
const tabContainer = "_tabContainer_mrrhu_23";
|
|
88321
|
+
const tab = "_tab_mrrhu_23";
|
|
88322
|
+
const tabText = "_tabText_mrrhu_39";
|
|
88323
|
+
const chartButtons$1 = "_chartButtons_mrrhu_47";
|
|
88324
|
+
const chartButton$1 = "_chartButton_mrrhu_1";
|
|
88325
|
+
const chartButtonSelected = "_chartButtonSelected_mrrhu_63";
|
|
88326
|
+
const chartTypesButton = "_chartTypesButton_mrrhu_71";
|
|
88327
|
+
const button$2 = "_button_mrrhu_79";
|
|
88328
|
+
const propertyButton = "_propertyButton_mrrhu_87";
|
|
88329
|
+
const settings = "_settings_mrrhu_15";
|
|
88330
|
+
const crossIcon = "_crossIcon_mrrhu_103";
|
|
88327
88331
|
var styles$f = {
|
|
88328
|
-
"chartButton-header": "_chartButton-header_6600c_1",
|
|
88329
|
-
"settingsTab-header-control": "_settingsTab-header-control_6600c_9",
|
|
88330
88332
|
chartButtonContainer: chartButtonContainer$1,
|
|
88333
|
+
"chartButton-header": "_chartButton-header_mrrhu_7",
|
|
88334
|
+
"settingsTab-header-control": "_settingsTab-header-control_mrrhu_15",
|
|
88331
88335
|
tabContainer,
|
|
88332
88336
|
tab,
|
|
88333
88337
|
tabText,
|
|
@@ -88354,20 +88358,20 @@ const SelectField = ({
|
|
|
88354
88358
|
name: yAxisValue ? yAxisValue : value
|
|
88355
88359
|
});
|
|
88356
88360
|
};
|
|
88357
|
-
const chartOptions = "
|
|
88358
|
-
const chartOption = "
|
|
88359
|
-
const chartOptionBtn = "
|
|
88360
|
-
const chartOptionText = "
|
|
88361
|
-
const container$8 = "
|
|
88362
|
-
const field$1 = "
|
|
88363
|
-
const fieldText = "
|
|
88364
|
-
const doneBtn = "
|
|
88365
|
-
const measureText = "
|
|
88366
|
-
const singleValueMeasure = "
|
|
88367
|
-
const plus = "
|
|
88368
|
-
const plusIcon = "
|
|
88369
|
-
const form$2 = "
|
|
88370
|
-
const chartType = "
|
|
88361
|
+
const chartOptions = "_chartOptions_yt3j5_1";
|
|
88362
|
+
const chartOption = "_chartOption_yt3j5_1";
|
|
88363
|
+
const chartOptionBtn = "_chartOptionBtn_yt3j5_13";
|
|
88364
|
+
const chartOptionText = "_chartOptionText_yt3j5_19";
|
|
88365
|
+
const container$8 = "_container_yt3j5_25";
|
|
88366
|
+
const field$1 = "_field_yt3j5_31";
|
|
88367
|
+
const fieldText = "_fieldText_yt3j5_37";
|
|
88368
|
+
const doneBtn = "_doneBtn_yt3j5_43";
|
|
88369
|
+
const measureText = "_measureText_yt3j5_49";
|
|
88370
|
+
const singleValueMeasure = "_singleValueMeasure_yt3j5_55";
|
|
88371
|
+
const plus = "_plus_yt3j5_61";
|
|
88372
|
+
const plusIcon = "_plusIcon_yt3j5_67";
|
|
88373
|
+
const form$2 = "_form_yt3j5_73";
|
|
88374
|
+
const chartType = "_chartType_yt3j5_79";
|
|
88371
88375
|
var styles$e = {
|
|
88372
88376
|
chartOptions,
|
|
88373
88377
|
chartOption,
|
|
@@ -89122,35 +89126,35 @@ const ChartSettings = ({
|
|
|
89122
89126
|
})]
|
|
89123
89127
|
});
|
|
89124
89128
|
};
|
|
89125
|
-
const searchCommand$1 = "
|
|
89126
|
-
const chartText = "
|
|
89127
|
-
const charts = "
|
|
89128
|
-
const metricChart = "
|
|
89129
|
-
const metricChartEmpty = "
|
|
89130
|
-
const fullQuery = "
|
|
89131
|
-
const noQuery = "
|
|
89132
|
-
const chartButtonContainer = "
|
|
89133
|
-
const searchWrapper = "
|
|
89134
|
-
const searchIcon = "
|
|
89135
|
-
const chartConfigure = "
|
|
89136
|
-
const chartSettings = "
|
|
89137
|
-
const labels = "
|
|
89138
|
-
const chartButtons = "
|
|
89139
|
-
const chartButton = "
|
|
89129
|
+
const searchCommand$1 = "_searchCommand_x33uc_9";
|
|
89130
|
+
const chartText = "_chartText_x33uc_25";
|
|
89131
|
+
const charts = "_charts_x33uc_33";
|
|
89132
|
+
const metricChart = "_metricChart_x33uc_41";
|
|
89133
|
+
const metricChartEmpty = "_metricChartEmpty_x33uc_49";
|
|
89134
|
+
const fullQuery = "_fullQuery_x33uc_73";
|
|
89135
|
+
const noQuery = "_noQuery_x33uc_81";
|
|
89136
|
+
const chartButtonContainer = "_chartButtonContainer_x33uc_105";
|
|
89137
|
+
const searchWrapper = "_searchWrapper_x33uc_113";
|
|
89138
|
+
const searchIcon = "_searchIcon_x33uc_121";
|
|
89139
|
+
const chartConfigure = "_chartConfigure_x33uc_129";
|
|
89140
|
+
const chartSettings = "_chartSettings_x33uc_137";
|
|
89141
|
+
const labels = "_labels_x33uc_145";
|
|
89142
|
+
const chartButtons = "_chartButtons_x33uc_153";
|
|
89143
|
+
const chartButton = "_chartButton_x33uc_97";
|
|
89140
89144
|
var styles$d = {
|
|
89141
|
-
"outputTab-header": "_outputTab-
|
|
89145
|
+
"outputTab-header": "_outputTab-header_x33uc_1",
|
|
89142
89146
|
searchCommand: searchCommand$1,
|
|
89143
|
-
"chartTab-container": "_chartTab-
|
|
89147
|
+
"chartTab-container": "_chartTab-container_x33uc_17",
|
|
89144
89148
|
chartText,
|
|
89145
89149
|
charts,
|
|
89146
89150
|
metricChart,
|
|
89147
89151
|
metricChartEmpty,
|
|
89148
|
-
"chartTab-wrapper": "_chartTab-
|
|
89149
|
-
"chartTab-wrapper-head": "_chartTab-wrapper-
|
|
89152
|
+
"chartTab-wrapper": "_chartTab-wrapper_x33uc_57",
|
|
89153
|
+
"chartTab-wrapper-head": "_chartTab-wrapper-head_x33uc_65",
|
|
89150
89154
|
fullQuery,
|
|
89151
89155
|
noQuery,
|
|
89152
|
-
"tableTab-header": "_tableTab-
|
|
89153
|
-
"chartButton-header": "_chartButton-
|
|
89156
|
+
"tableTab-header": "_tableTab-header_x33uc_89",
|
|
89157
|
+
"chartButton-header": "_chartButton-header_x33uc_97",
|
|
89154
89158
|
chartButtonContainer,
|
|
89155
89159
|
searchWrapper,
|
|
89156
89160
|
searchIcon,
|
|
@@ -89255,11 +89259,14 @@ const ChartTab = ({
|
|
|
89255
89259
|
})]
|
|
89256
89260
|
}), !!(data2 == null ? void 0 : data2.length) && !isLoading && /* @__PURE__ */ jsxs("div", {
|
|
89257
89261
|
className: styles$d.metricChart,
|
|
89258
|
-
children: [/* @__PURE__ */ jsx(
|
|
89259
|
-
|
|
89260
|
-
|
|
89261
|
-
|
|
89262
|
-
|
|
89262
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
89263
|
+
className: "h-[10%]",
|
|
89264
|
+
children: /* @__PURE__ */ jsx(Text, {
|
|
89265
|
+
styleClass: "primary",
|
|
89266
|
+
variant: "p",
|
|
89267
|
+
className: "",
|
|
89268
|
+
children: "Preview"
|
|
89269
|
+
})
|
|
89263
89270
|
}), /* @__PURE__ */ jsxs("div", {
|
|
89264
89271
|
className: styles$d["chartTab-wrapper"],
|
|
89265
89272
|
children: [/* @__PURE__ */ jsxs("div", {
|