@devtable/dashboard 13.42.10 → 13.42.12

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.
@@ -9665,7 +9665,7 @@ class uc {
9665
9665
  }), this.instanceRegistry.clear(), this.factoryRegistry.clear();
9666
9666
  }
9667
9667
  }
9668
- const wf = "13.42.10", b1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9668
+ const wf = "13.42.12", b1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9669
9669
  __proto__: null,
9670
9670
  version: wf
9671
9671
  }, Symbol.toStringTag, { value: "Module" }));
@@ -12321,12 +12321,9 @@ function hC({
12321
12321
  }, ...s }) }),
12322
12322
  /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.variable_key`, control: e, render: ({
12323
12323
  field: s
12324
- }) => (
12325
- // @ts-expect-error type of onChange
12326
- /* @__PURE__ */ r.jsx(q, { label: i("common.value"), required: !0, data: n, sx: {
12327
- flex: 1
12328
- }, ...s })
12329
- ) })
12324
+ }) => /* @__PURE__ */ r.jsx(q, { label: i("common.value"), required: !0, data: n, sx: {
12325
+ flex: 1
12326
+ }, ...s }) })
12330
12327
  ] }),
12331
12328
  /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.template`, control: e, render: ({
12332
12329
  field: s
@@ -13043,16 +13040,9 @@ function NC({
13043
13040
  }) => /* @__PURE__ */ r.jsx(A, { label: "Content Template", description: "Filter values & context entries are supported", ...u, required: !0 }) }),
13044
13041
  /* @__PURE__ */ r.jsx($, { mt: "xs", mb: 0, label: "Styles", labelPosition: "center", variant: "dashed" }),
13045
13042
  /* @__PURE__ */ r.jsxs(tt, { cols: 2, children: [
13046
- /* @__PURE__ */ r.jsx(
13047
- x,
13048
- {
13049
- control: a,
13050
- name: "variant",
13051
- render: ({
13052
- field: u
13053
- }) => /* @__PURE__ */ r.jsx(q, { label: "Variant", data: VC, ...u })
13054
- }
13055
- ),
13043
+ /* @__PURE__ */ r.jsx(x, { control: a, name: "variant", render: ({
13044
+ field: u
13045
+ }) => /* @__PURE__ */ r.jsx(q, { label: "Variant", data: VC, ...u }) }),
13056
13046
  /* @__PURE__ */ r.jsx(x, { control: a, name: "color", render: ({
13057
13047
  field: u
13058
13048
  }) => /* @__PURE__ */ r.jsx(FC, { label: "Theme", ...u }) })
@@ -14456,39 +14446,27 @@ function YI({
14456
14446
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
14457
14447
  /* @__PURE__ */ r.jsx(x, { name: `reference_areas.${t}.type`, control: e, render: ({
14458
14448
  field: l
14459
- }) => (
14460
- // @ts-expect-error type of onChange
14461
- /* @__PURE__ */ r.jsx(q, { label: i("chart.reference_area.type.label"), required: !0, data: a, sx: {
14462
- flex: 1
14463
- }, ...l })
14464
- ) }),
14449
+ }) => /* @__PURE__ */ r.jsx(q, { label: i("chart.reference_area.type.label"), required: !0, data: a, sx: {
14450
+ flex: 1
14451
+ }, ...l }) }),
14465
14452
  /* @__PURE__ */ r.jsx(x, { name: `reference_areas.${t}.direction`, control: e, render: ({
14466
14453
  field: l
14467
- }) => (
14468
- // @ts-expect-error type of onChange
14469
- /* @__PURE__ */ r.jsx(q, { label: i("chart.reference_area.direction.label"), required: !0, data: o, sx: {
14470
- flex: 1
14471
- }, ...l })
14472
- ) })
14454
+ }) => /* @__PURE__ */ r.jsx(q, { label: i("chart.reference_area.direction.label"), required: !0, data: o, sx: {
14455
+ flex: 1
14456
+ }, ...l }) })
14473
14457
  ] }),
14474
14458
  /* @__PURE__ */ r.jsx($, { variant: "dashed", label: i("data.label"), labelPosition: "center" }),
14475
14459
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
14476
14460
  /* @__PURE__ */ r.jsx(x, { name: `reference_areas.${t}.y_keys.upper`, control: e, render: ({
14477
14461
  field: l
14478
- }) => (
14479
- // @ts-expect-error type of onChange
14480
- /* @__PURE__ */ r.jsx(q, { label: i("chart.reference_area.boundary.upper"), required: !0, data: n, sx: {
14481
- flex: 1
14482
- }, ...l })
14483
- ) }),
14462
+ }) => /* @__PURE__ */ r.jsx(q, { label: i("chart.reference_area.boundary.upper"), required: !0, data: n, sx: {
14463
+ flex: 1
14464
+ }, ...l }) }),
14484
14465
  /* @__PURE__ */ r.jsx(x, { name: `reference_areas.${t}.y_keys.lower`, control: e, render: ({
14485
14466
  field: l
14486
- }) => (
14487
- // @ts-expect-error type of onChange
14488
- /* @__PURE__ */ r.jsx(q, { label: i("chart.reference_area.boundary.lower"), required: !0, data: n, sx: {
14489
- flex: 1
14490
- }, ...l })
14491
- ) })
14467
+ }) => /* @__PURE__ */ r.jsx(q, { label: i("chart.reference_area.boundary.lower"), required: !0, data: n, sx: {
14468
+ flex: 1
14469
+ }, ...l }) })
14492
14470
  ] })
14493
14471
  ] });
14494
14472
  }
@@ -14562,12 +14540,9 @@ function JI({
14562
14540
  }, ...l }) }),
14563
14541
  /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.variable_key`, control: e, render: ({
14564
14542
  field: l
14565
- }) => (
14566
- // @ts-expect-error type of onChange
14567
- /* @__PURE__ */ r.jsx(q, { label: a("common.data_field"), required: !0, data: i, sx: {
14568
- flex: 1
14569
- }, ...l })
14570
- ) })
14543
+ }) => /* @__PURE__ */ r.jsx(q, { label: a("common.data_field"), required: !0, data: i, sx: {
14544
+ flex: 1
14545
+ }, ...l }) })
14571
14546
  ] }),
14572
14547
  /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.template`, control: e, render: ({
14573
14548
  field: l
@@ -14608,12 +14583,9 @@ function JI({
14608
14583
  }, ...l }) }),
14609
14584
  /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.lineStyle.width`, control: e, render: ({
14610
14585
  field: l
14611
- }) => (
14612
- // @ts-expect-error type of onChange
14613
- /* @__PURE__ */ r.jsx(ce, { label: a("chart.series.line.line_width"), min: 1, max: 10, sx: {
14614
- flexGrow: 1
14615
- }, ...l })
14616
- ) })
14586
+ }) => /* @__PURE__ */ r.jsx(ce, { label: a("chart.series.line.line_width"), min: 1, max: 10, sx: {
14587
+ flexGrow: 1
14588
+ }, ...l }) })
14617
14589
  ] }),
14618
14590
  /* @__PURE__ */ r.jsx(tt, { cols: 2, children: /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.lineStyle.color`, control: e, render: ({
14619
14591
  field: l
@@ -14722,20 +14694,14 @@ function eT({
14722
14694
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
14723
14695
  /* @__PURE__ */ r.jsx(x, { name: `regressions.${n}.transform.config.method`, control: e, render: ({
14724
14696
  field: c
14725
- }) => (
14726
- // @ts-expect-error type of onChange
14727
- /* @__PURE__ */ r.jsx(q, { label: s("chart.regression_line.method.label"), data: o, sx: {
14728
- flex: 1
14729
- }, ...c })
14730
- ) }),
14697
+ }) => /* @__PURE__ */ r.jsx(q, { label: s("chart.regression_line.method.label"), data: o, sx: {
14698
+ flex: 1
14699
+ }, ...c }) }),
14731
14700
  l === "polynomial" && /* @__PURE__ */ r.jsx(x, { name: `regressions.${n}.transform.config.order`, control: e, render: ({
14732
14701
  field: c
14733
- }) => (
14734
- // @ts-expect-error type of onChange
14735
- /* @__PURE__ */ r.jsx(ce, { label: s("chart.regression_line.method.polynomial_order"), sx: {
14736
- flex: 1
14737
- }, ...c })
14738
- ) })
14702
+ }) => /* @__PURE__ */ r.jsx(ce, { label: s("chart.regression_line.method.polynomial_order"), sx: {
14703
+ flex: 1
14704
+ }, ...c }) })
14739
14705
  ] }),
14740
14706
  /* @__PURE__ */ r.jsx($, { mb: -15, variant: "dashed", label: s("chart.series.line.line_style"), labelPosition: "center" }),
14741
14707
  /* @__PURE__ */ r.jsxs(_, { grow: !0, children: [
@@ -14746,12 +14712,9 @@ function eT({
14746
14712
  }, ...c }) }),
14747
14713
  /* @__PURE__ */ r.jsx(x, { name: `regressions.${n}.plot.lineStyle.width`, control: e, render: ({
14748
14714
  field: c
14749
- }) => (
14750
- // @ts-expect-error type of onChange
14751
- /* @__PURE__ */ r.jsx(ce, { label: s("chart.series.line.line_width"), min: 1, max: 10, sx: {
14752
- flexGrow: 1
14753
- }, ...c })
14754
- ) })
14715
+ }) => /* @__PURE__ */ r.jsx(ce, { label: s("chart.series.line.line_width"), min: 1, max: 10, sx: {
14716
+ flexGrow: 1
14717
+ }, ...c }) })
14755
14718
  ] }),
14756
14719
  /* @__PURE__ */ r.jsx(tt, { cols: 2, children: /* @__PURE__ */ r.jsx(x, { name: `regressions.${n}.plot.color`, control: e, render: ({
14757
14720
  field: c
@@ -15137,12 +15100,9 @@ function oT({
15137
15100
  }, ...l }) }),
15138
15101
  /* @__PURE__ */ r.jsx(x, { name: `series.${t}.barGap`, control: e, render: ({
15139
15102
  field: l
15140
- }) => (
15141
- // @ts-expect-error type of onChange
15142
- /* @__PURE__ */ r.jsx(q, { label: i("chart.series.bar.bar_gap.label"), data: o, sx: {
15143
- flexGrow: 1
15144
- }, ...l })
15145
- ) })
15103
+ }) => /* @__PURE__ */ r.jsx(q, { label: i("chart.series.bar.bar_gap.label"), data: o, sx: {
15104
+ flexGrow: 1
15105
+ }, ...l }) })
15146
15106
  ] }),
15147
15107
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
15148
15108
  /* @__PURE__ */ r.jsx(x, { name: `series.${t}.barMinWidth`, control: e, render: ({
@@ -15194,12 +15154,9 @@ function lT({
15194
15154
  }, ...l }) }),
15195
15155
  /* @__PURE__ */ r.jsx(x, { name: `series.${t}.lineStyle.width`, control: e, render: ({
15196
15156
  field: l
15197
- }) => (
15198
- // @ts-expect-error type of onChange
15199
- /* @__PURE__ */ r.jsx(ce, { label: i("chart.series.line.line_width"), min: 1, max: 10, sx: {
15200
- flexGrow: 1
15201
- }, ...l })
15202
- ) })
15157
+ }) => /* @__PURE__ */ r.jsx(ce, { label: i("chart.series.line.line_width"), min: 1, max: 10, sx: {
15158
+ flexGrow: 1
15159
+ }, ...l }) })
15203
15160
  ] }),
15204
15161
  /* @__PURE__ */ r.jsxs(_, { grow: !0, align: "center", children: [
15205
15162
  /* @__PURE__ */ r.jsx(x, { name: `series.${t}.step`, control: e, render: ({
@@ -15261,19 +15218,16 @@ function dT({
15261
15218
  }, children: [
15262
15219
  /* @__PURE__ */ r.jsx(I, { children: /* @__PURE__ */ r.jsx(x, { name: `series.${t}.type`, control: e, render: ({
15263
15220
  field: o
15264
- }) => (
15265
- // @ts-expect-error type of onChange
15266
- /* @__PURE__ */ r.jsx(Wu, { data: [{
15267
- label: s("chart.series.line.label"),
15268
- value: "line"
15269
- }, {
15270
- label: s("chart.series.bar.label"),
15271
- value: "bar"
15272
- }, {
15273
- label: s("chart.series.scatter.label"),
15274
- value: "scatter"
15275
- }], ...o })
15276
- ) }) }),
15221
+ }) => /* @__PURE__ */ r.jsx(Wu, { data: [{
15222
+ label: s("chart.series.line.label"),
15223
+ value: "line"
15224
+ }, {
15225
+ label: s("chart.series.bar.label"),
15226
+ value: "bar"
15227
+ }, {
15228
+ label: s("chart.series.scatter.label"),
15229
+ value: "scatter"
15230
+ }], ...o }) }) }),
15277
15231
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
15278
15232
  /* @__PURE__ */ r.jsx(x, { name: `series.${t}.name`, control: e, render: ({
15279
15233
  field: o
@@ -15507,12 +15461,9 @@ function xT({
15507
15461
  }, ...a }) }),
15508
15462
  /* @__PURE__ */ r.jsx(x, { name: "x_axis.type", control: e, render: ({
15509
15463
  field: a
15510
- }) => (
15511
- // @ts-expect-error type of onChange
15512
- /* @__PURE__ */ r.jsx(q, { label: /* @__PURE__ */ r.jsx(gT, {}), required: !0, data: s, sx: {
15513
- flex: 1
15514
- }, ...a })
15515
- ) })
15464
+ }) => /* @__PURE__ */ r.jsx(q, { label: /* @__PURE__ */ r.jsx(gT, {}), required: !0, data: s, sx: {
15465
+ flex: 1
15466
+ }, ...a }) })
15516
15467
  ] }),
15517
15468
  /* @__PURE__ */ r.jsx($, { mb: -15, label: n("chart.axis.tick_label"), labelPosition: "center" }),
15518
15469
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
@@ -15968,19 +15919,16 @@ const AT = ({
15968
15919
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
15969
15920
  /* @__PURE__ */ r.jsx(x, { name: `series.${n}.min.value`, control: t, render: ({
15970
15921
  field: h
15971
- }) => (
15972
- // @ts-expect-error type of onChange
15973
- /* @__PURE__ */ r.jsx(ce, { disabled: !o, labelProps: {
15974
- display: "block"
15975
- }, label: /* @__PURE__ */ r.jsxs(_, { position: "apart", pr: 6, sx: {
15976
- width: "100%"
15977
- }, children: [
15978
- /* @__PURE__ */ r.jsx(k, { children: s("viz.funnel_chart.min_value") }),
15979
- /* @__PURE__ */ r.jsx(_e, { label: s("viz.funnel_chart.min_value_checkbox_tip"), children: /* @__PURE__ */ r.jsx(P, { children: /* @__PURE__ */ r.jsx(x, { name: `series.${n}.min.enable_value`, control: t, render: ({
15980
- field: p
15981
- }) => /* @__PURE__ */ r.jsx(pe, { size: "xs", checked: p.value, onChange: (f) => p.onChange(f.currentTarget.checked) }) }) }) })
15982
- ] }), ...h })
15983
- ) }),
15922
+ }) => /* @__PURE__ */ r.jsx(ce, { disabled: !o, labelProps: {
15923
+ display: "block"
15924
+ }, label: /* @__PURE__ */ r.jsxs(_, { position: "apart", pr: 6, sx: {
15925
+ width: "100%"
15926
+ }, children: [
15927
+ /* @__PURE__ */ r.jsx(k, { children: s("viz.funnel_chart.min_value") }),
15928
+ /* @__PURE__ */ r.jsx(_e, { label: s("viz.funnel_chart.min_value_checkbox_tip"), children: /* @__PURE__ */ r.jsx(P, { children: /* @__PURE__ */ r.jsx(x, { name: `series.${n}.min.enable_value`, control: t, render: ({
15929
+ field: p
15930
+ }) => /* @__PURE__ */ r.jsx(pe, { size: "xs", checked: p.value, onChange: (f) => p.onChange(f.currentTarget.checked) }) }) }) })
15931
+ ] }), ...h }) }),
15984
15932
  /* @__PURE__ */ r.jsx(x, { name: `series.${n}.min.size`, control: t, render: ({
15985
15933
  field: h
15986
15934
  }) => /* @__PURE__ */ r.jsx(A, { placeholder: "0%", label: s("viz.funnel_chart.min_size"), ...h }) })
@@ -15988,19 +15936,16 @@ const AT = ({
15988
15936
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
15989
15937
  /* @__PURE__ */ r.jsx(x, { name: `series.${n}.max.value`, control: t, render: ({
15990
15938
  field: h
15991
- }) => (
15992
- // @ts-expect-error type of onChange
15993
- /* @__PURE__ */ r.jsx(ce, { disabled: !l, labelProps: {
15994
- display: "block"
15995
- }, label: /* @__PURE__ */ r.jsxs(_, { position: "apart", pr: 6, sx: {
15996
- width: "100%"
15997
- }, children: [
15998
- /* @__PURE__ */ r.jsx(k, { children: s("viz.funnel_chart.max_value") }),
15999
- /* @__PURE__ */ r.jsx(_e, { label: s("viz.funnel_chart.max_value_checkbox_tip"), children: /* @__PURE__ */ r.jsx(P, { children: /* @__PURE__ */ r.jsx(x, { name: `series.${n}.max.enable_value`, control: t, render: ({
16000
- field: p
16001
- }) => /* @__PURE__ */ r.jsx(pe, { size: "xs", checked: p.value, onChange: (f) => p.onChange(f.currentTarget.checked) }) }) }) })
16002
- ] }), ...h })
16003
- ) }),
15939
+ }) => /* @__PURE__ */ r.jsx(ce, { disabled: !l, labelProps: {
15940
+ display: "block"
15941
+ }, label: /* @__PURE__ */ r.jsxs(_, { position: "apart", pr: 6, sx: {
15942
+ width: "100%"
15943
+ }, children: [
15944
+ /* @__PURE__ */ r.jsx(k, { children: s("viz.funnel_chart.max_value") }),
15945
+ /* @__PURE__ */ r.jsx(_e, { label: s("viz.funnel_chart.max_value_checkbox_tip"), children: /* @__PURE__ */ r.jsx(P, { children: /* @__PURE__ */ r.jsx(x, { name: `series.${n}.max.enable_value`, control: t, render: ({
15946
+ field: p
15947
+ }) => /* @__PURE__ */ r.jsx(pe, { size: "xs", checked: p.value, onChange: (f) => p.onChange(f.currentTarget.checked) }) }) }) })
15948
+ ] }), ...h }) }),
16004
15949
  /* @__PURE__ */ r.jsx(x, { name: `series.${n}.max.size`, control: t, render: ({
16005
15950
  field: h
16006
15951
  }) => /* @__PURE__ */ r.jsx(A, { placeholder: "100%", label: s("viz.funnel_chart.max_size"), ...h }) })
@@ -16009,40 +15954,23 @@ const AT = ({
16009
15954
  /* @__PURE__ */ r.jsx(x, { name: `series.${n}.orient`, control: t, render: ({
16010
15955
  field: h
16011
15956
  }) => /* @__PURE__ */ r.jsx(vr, { ...h }) }),
16012
- /* @__PURE__ */ r.jsx(
16013
- x,
16014
- {
16015
- name: `series.${n}.sort`,
16016
- control: t,
16017
- render: ({
16018
- field: h
16019
- }) => /* @__PURE__ */ r.jsx(q, { label: s("viz.funnel_chart.sort.label"), data: u, ...h })
16020
- }
16021
- )
15957
+ /* @__PURE__ */ r.jsx(x, { name: `series.${n}.sort`, control: t, render: ({
15958
+ field: h
15959
+ }) => /* @__PURE__ */ r.jsx(q, { label: s("viz.funnel_chart.sort.label"), data: u, ...h }) })
16022
15960
  ] }),
16023
15961
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
16024
15962
  /* @__PURE__ */ r.jsx(x, { name: `series.${n}.funnelAlign`, control: t, render: ({
16025
15963
  field: h
16026
15964
  }) => /* @__PURE__ */ r.jsx(jr, { label: s("viz.funnel_chart.align"), disabled: c === "horizontal", ...h }) }),
16027
- /* @__PURE__ */ r.jsx(
16028
- x,
16029
- {
16030
- name: `series.${n}.gap`,
16031
- control: t,
16032
- render: ({
16033
- field: h
16034
- }) => /* @__PURE__ */ r.jsx(ce, { placeholder: "0, 5, 10...", label: s("viz.funnel_chart.gap"), ...h })
16035
- }
16036
- )
15965
+ /* @__PURE__ */ r.jsx(x, { name: `series.${n}.gap`, control: t, render: ({
15966
+ field: h
15967
+ }) => /* @__PURE__ */ r.jsx(ce, { placeholder: "0, 5, 10...", label: s("viz.funnel_chart.gap"), ...h }) })
16037
15968
  ] }),
16038
15969
  /* @__PURE__ */ r.jsx($, { mb: -10, mt: 10, variant: "dashed", label: s("chart.label.label_style"), labelPosition: "center" }),
16039
15970
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
16040
15971
  /* @__PURE__ */ r.jsx(x, { name: `series.${n}.axisLabel.position`, control: t, render: ({
16041
15972
  field: h
16042
- }) => (
16043
- // @ts-expect-error type error about undefined
16044
- /* @__PURE__ */ r.jsx(Si, { label: s("chart.label_position.label"), options: d[c], ...h })
16045
- ) }),
15973
+ }) => /* @__PURE__ */ r.jsx(Si, { label: s("chart.label_position.label"), options: d[c], ...h }) }),
16046
15974
  /* @__PURE__ */ r.jsx(P, {})
16047
15975
  ] }),
16048
15976
  /* @__PURE__ */ r.jsx(_, { grow: !0, noWrap: !0, children: /* @__PURE__ */ r.jsx(x, { name: `series.${n}.axisLabel.overflow`, control: t, render: ({
@@ -17038,10 +16966,7 @@ function xD({
17038
16966
  } }) }),
17039
16967
  /* @__PURE__ */ r.jsx(x, { name: "heat_block.label.fontSize", control: e, render: ({
17040
16968
  field: s
17041
- }) => (
17042
- // @ts-expect-error type of onChange
17043
- /* @__PURE__ */ r.jsx(ce, { size: "xs", icon: /* @__PURE__ */ r.jsx(rl, { size: 16 }), disabled: !i, ...s })
17044
- ) })
16969
+ }) => /* @__PURE__ */ r.jsx(ce, { size: "xs", icon: /* @__PURE__ */ r.jsx(rl, { size: 16 }), disabled: !i, ...s }) })
17045
16970
  ] })
17046
16971
  ] });
17047
16972
  }
@@ -17977,12 +17902,9 @@ function iz({
17977
17902
  }, ...l }) }),
17978
17903
  /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.variable_key`, control: e, render: ({
17979
17904
  field: l
17980
- }) => (
17981
- // @ts-expect-error type of onChange
17982
- /* @__PURE__ */ r.jsx(q, { label: a("common.data_field"), required: !0, data: i, sx: {
17983
- flex: 1
17984
- }, ...l })
17985
- ) })
17905
+ }) => /* @__PURE__ */ r.jsx(q, { label: a("common.data_field"), required: !0, data: i, sx: {
17906
+ flex: 1
17907
+ }, ...l }) })
17986
17908
  ] }),
17987
17909
  /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.template`, control: e, render: ({
17988
17910
  field: l
@@ -18020,12 +17942,9 @@ function iz({
18020
17942
  }, ...l }) }),
18021
17943
  /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.lineStyle.width`, control: e, render: ({
18022
17944
  field: l
18023
- }) => (
18024
- // @ts-expect-error type of onChange
18025
- /* @__PURE__ */ r.jsx(ce, { label: a("chart.series.line.line_width"), min: 1, max: 10, sx: {
18026
- flexGrow: 1
18027
- }, ...l })
18028
- ) })
17945
+ }) => /* @__PURE__ */ r.jsx(ce, { label: a("chart.series.line.line_width"), min: 1, max: 10, sx: {
17946
+ flexGrow: 1
17947
+ }, ...l }) })
18029
17948
  ] }),
18030
17949
  /* @__PURE__ */ r.jsx(tt, { cols: 2, children: /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.lineStyle.color`, control: e, render: ({
18031
17950
  field: l
@@ -19855,20 +19774,14 @@ function MM({
19855
19774
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
19856
19775
  /* @__PURE__ */ r.jsx(x, { name: "regression.transform.config.method", control: e, render: ({
19857
19776
  field: l
19858
- }) => (
19859
- // @ts-expect-error type of onChange
19860
- /* @__PURE__ */ r.jsx(q, { label: n("chart.regression_line.method.label"), data: o, sx: {
19861
- flex: 1
19862
- }, ...l })
19863
- ) }),
19777
+ }) => /* @__PURE__ */ r.jsx(q, { label: n("chart.regression_line.method.label"), data: o, sx: {
19778
+ flex: 1
19779
+ }, ...l }) }),
19864
19780
  s === "polynomial" && /* @__PURE__ */ r.jsx(x, { name: "regression.transform.config.order", control: e, render: ({
19865
19781
  field: l
19866
- }) => (
19867
- // @ts-expect-error type of onChange
19868
- /* @__PURE__ */ r.jsx(ce, { label: n("chart.regression_line.method.polynomial_order"), sx: {
19869
- flex: 1
19870
- }, ...l })
19871
- ) })
19782
+ }) => /* @__PURE__ */ r.jsx(ce, { label: n("chart.regression_line.method.polynomial_order"), sx: {
19783
+ flex: 1
19784
+ }, ...l }) })
19872
19785
  ] }),
19873
19786
  !a && /* @__PURE__ */ r.jsx(tt, { cols: 2, children: /* @__PURE__ */ r.jsx(x, { name: "regression.plot.color", control: e, render: ({
19874
19787
  field: l
@@ -19900,18 +19813,15 @@ function EM({
19900
19813
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
19901
19814
  /* @__PURE__ */ r.jsx(x, { name: "x_axis.axisLabel.rotate", control: e, render: ({
19902
19815
  field: n
19903
- }) => (
19904
- // @ts-expect-error type of onChange
19905
- /* @__PURE__ */ r.jsx(ce, { label: "旋转", hideControls: !0, min: -90, max: 90, rightSection: /* @__PURE__ */ r.jsx(k, { color: "dimmed", children: "度" }), sx: {
19906
- width: "48%"
19907
- }, styles: {
19908
- rightSection: {
19909
- width: "4em",
19910
- justifyContent: "flex-end",
19911
- paddingRight: "6px"
19912
- }
19913
- }, ...n })
19914
- ) }),
19816
+ }) => /* @__PURE__ */ r.jsx(ce, { label: "旋转", hideControls: !0, min: -90, max: 90, rightSection: /* @__PURE__ */ r.jsx(k, { color: "dimmed", children: "度" }), sx: {
19817
+ width: "48%"
19818
+ }, styles: {
19819
+ rightSection: {
19820
+ width: "4em",
19821
+ justifyContent: "flex-end",
19822
+ paddingRight: "6px"
19823
+ }
19824
+ }, ...n }) }),
19915
19825
  /* @__PURE__ */ r.jsx(x, { name: "x_axis.axisLabel.formatter", control: e, render: ({
19916
19826
  field: n
19917
19827
  }) => /* @__PURE__ */ r.jsx(Sn, { triggerButtonText: "自定义标签文案内容", ...n }) })
@@ -20145,14 +20055,11 @@ const NM = {
20145
20055
  ] }),
20146
20056
  /* @__PURE__ */ r.jsx(x, { name: "content", control: o, render: ({
20147
20057
  field: p
20148
- }) => (
20149
- // @ts-expect-error type of onChange
20150
- /* @__PURE__ */ pi(pr, { ...p, key: t.id, styles: {
20151
- root: {
20152
- flexGrow: 1
20153
- }
20154
- }, label: n("rich_text.content.label"), onSubmit: h })
20155
- ) })
20058
+ }) => /* @__PURE__ */ pi(pr, { ...p, key: t.id, styles: {
20059
+ root: {
20060
+ flexGrow: 1
20061
+ }
20062
+ }, label: n("rich_text.content.label"), onSubmit: h }) })
20156
20063
  ] }) });
20157
20064
  }), WM = {
20158
20065
  rich_text: {
@@ -21082,12 +20989,9 @@ function zE({
21082
20989
  }, ...l }) }),
21083
20990
  /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.variable_key`, control: e, render: ({
21084
20991
  field: l
21085
- }) => (
21086
- // @ts-expect-error type of onChange
21087
- /* @__PURE__ */ r.jsx(q, { label: a("common.data_field"), required: !0, data: i, sx: {
21088
- flex: 1
21089
- }, ...l })
21090
- ) })
20992
+ }) => /* @__PURE__ */ r.jsx(q, { label: a("common.data_field"), required: !0, data: i, sx: {
20993
+ flex: 1
20994
+ }, ...l }) })
21091
20995
  ] }),
21092
20996
  /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.template`, control: e, render: ({
21093
20997
  field: l
@@ -21128,12 +21032,9 @@ function zE({
21128
21032
  }, ...l }) }),
21129
21033
  /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.lineStyle.width`, control: e, render: ({
21130
21034
  field: l
21131
- }) => (
21132
- // @ts-expect-error type of onChange
21133
- /* @__PURE__ */ r.jsx(ce, { label: a("chart.series.line.line_width"), min: 1, max: 10, sx: {
21134
- flexGrow: 1
21135
- }, ...l })
21136
- ) })
21035
+ }) => /* @__PURE__ */ r.jsx(ce, { label: a("chart.series.line.line_width"), min: 1, max: 10, sx: {
21036
+ flexGrow: 1
21037
+ }, ...l }) })
21137
21038
  ] }),
21138
21039
  /* @__PURE__ */ r.jsx(tt, { cols: 2, children: /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.lineStyle.color`, control: e, render: ({
21139
21040
  field: l
@@ -21429,12 +21330,9 @@ function qE({
21429
21330
  return /* @__PURE__ */ r.jsxs(I, { children: [
21430
21331
  /* @__PURE__ */ r.jsx(x, { name: "tooltip.trigger", control: e, render: ({
21431
21332
  field: a
21432
- }) => (
21433
- // @ts-expect-error type of onChange
21434
- /* @__PURE__ */ r.jsx(q, { label: n("chart.tooltip.trigger.label"), data: s, sx: {
21435
- flexGrow: 1
21436
- }, ...a })
21437
- ) }),
21333
+ }) => /* @__PURE__ */ r.jsx(q, { label: n("chart.tooltip.trigger.label"), data: s, sx: {
21334
+ flexGrow: 1
21335
+ }, ...a }) }),
21438
21336
  /* @__PURE__ */ r.jsx($, { variant: "dashed" }),
21439
21337
  /* @__PURE__ */ r.jsx(NE, { control: e, watch: t })
21440
21338
  ] });
@@ -22160,17 +22058,11 @@ const IL = ({
22160
22058
  /* @__PURE__ */ r.jsx($, { mb: -10, mt: 10, variant: "dashed", label: n("chart.label.label_full"), labelPosition: "center" }),
22161
22059
  /* @__PURE__ */ r.jsx(x, { name: `levels.${t}.label.show_label_tolerance`, control: e, render: ({
22162
22060
  field: a
22163
- }) => (
22164
- // @ts-expect-error type of onChange
22165
- /* @__PURE__ */ r.jsx(ce, { label: n("viz.sunburst_chart.label.show_label_tolerance"), precision: 4, step: 5e-4, min: 0, max: 1, ...a })
22166
- ) }),
22061
+ }) => /* @__PURE__ */ r.jsx(ce, { label: n("viz.sunburst_chart.label.show_label_tolerance"), precision: 4, step: 5e-4, min: 0, max: 1, ...a }) }),
22167
22062
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
22168
22063
  /* @__PURE__ */ r.jsx(x, { name: `levels.${t}.label.rotate`, control: e, render: ({
22169
22064
  field: a
22170
- }) => (
22171
- // @ts-expect-error type of onChange
22172
- /* @__PURE__ */ r.jsx(q, { label: n("viz.sunburst_chart.label.rotate.label"), data: s, ...a })
22173
- ) }),
22065
+ }) => /* @__PURE__ */ r.jsx(q, { label: n("viz.sunburst_chart.label.rotate.label"), data: s, ...a }) }),
22174
22066
  /* @__PURE__ */ r.jsx(x, { name: `levels.${t}.label.align`, control: e, render: ({
22175
22067
  field: a
22176
22068
  }) => /* @__PURE__ */ r.jsx(jr, { ...a }) })
@@ -22181,16 +22073,9 @@ const IL = ({
22181
22073
  }) => /* @__PURE__ */ r.jsx(Si, { label: n("chart.label_position.label"), ...a, onChange: (o) => {
22182
22074
  o && a.onChange(o);
22183
22075
  } }) }),
22184
- /* @__PURE__ */ r.jsx(
22185
- x,
22186
- {
22187
- name: `levels.${t}.label.padding`,
22188
- control: e,
22189
- render: ({
22190
- field: a
22191
- }) => /* @__PURE__ */ r.jsx(ce, { label: n("chart.padding"), min: 0, hideControls: !0, ...a })
22192
- }
22193
- )
22076
+ /* @__PURE__ */ r.jsx(x, { name: `levels.${t}.label.padding`, control: e, render: ({
22077
+ field: a
22078
+ }) => /* @__PURE__ */ r.jsx(ce, { label: n("chart.padding"), min: 0, hideControls: !0, ...a }) })
22194
22079
  ] })
22195
22080
  ] });
22196
22081
  }, TL = ({
@@ -24354,12 +24239,9 @@ function yP({
24354
24239
  }, ...i }) }) }),
24355
24240
  /* @__PURE__ */ r.jsx(x, { name: "calendar.locale", control: e, render: ({
24356
24241
  field: i
24357
- }) => (
24358
- // @ts-expect-error type of onChange
24359
- /* @__PURE__ */ r.jsx(q, { label: n("viz.calendar_heatmap.calendar.locale"), data: bP, sx: {
24360
- flex: 1
24361
- }, ...i })
24362
- ) })
24242
+ }) => /* @__PURE__ */ r.jsx(q, { label: n("viz.calendar_heatmap.calendar.locale"), data: bP, sx: {
24243
+ flex: 1
24244
+ }, ...i }) })
24363
24245
  ] });
24364
24246
  }
24365
24247
  function _P({
@@ -24989,12 +24871,9 @@ function KP({
24989
24871
  }, ...l }) }),
24990
24872
  /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.variable_key`, control: e, render: ({
24991
24873
  field: l
24992
- }) => (
24993
- // @ts-expect-error type of onChange
24994
- /* @__PURE__ */ r.jsx(q, { label: a("common.data_field"), required: !0, data: i, sx: {
24995
- flex: 1
24996
- }, ...l })
24997
- ) })
24874
+ }) => /* @__PURE__ */ r.jsx(q, { label: a("common.data_field"), required: !0, data: i, sx: {
24875
+ flex: 1
24876
+ }, ...l }) })
24998
24877
  ] }),
24999
24878
  /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.template`, control: e, render: ({
25000
24879
  field: l
@@ -25012,12 +24891,9 @@ function KP({
25012
24891
  ] }),
25013
24892
  o === "horizontal" && /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.xAxisIndex`, control: e, render: ({
25014
24893
  field: l
25015
- }) => (
25016
- // @ts-expect-error type of onChange
25017
- /* @__PURE__ */ r.jsx(q, { label: a("chart.x_axis.label"), data: s, disabled: s.length === 0, sx: {
25018
- flex: 1
25019
- }, ...l })
25020
- ) })
24894
+ }) => /* @__PURE__ */ r.jsx(q, { label: a("chart.x_axis.label"), data: s, disabled: s.length === 0, sx: {
24895
+ flex: 1
24896
+ }, ...l }) })
25021
24897
  ] }),
25022
24898
  /* @__PURE__ */ r.jsx($, { mb: -10, mt: 10, variant: "dashed", label: a("chart.style.label"), labelPosition: "center" }),
25023
24899
  /* @__PURE__ */ r.jsxs(_, { grow: !0, children: [
@@ -25028,12 +24904,9 @@ function KP({
25028
24904
  }, ...l }) }),
25029
24905
  /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.lineStyle.width`, control: e, render: ({
25030
24906
  field: l
25031
- }) => (
25032
- // @ts-expect-error type of onChange
25033
- /* @__PURE__ */ r.jsx(ce, { label: a("chart.series.line.line_width"), min: 1, max: 10, sx: {
25034
- flexGrow: 1
25035
- }, ...l })
25036
- ) })
24907
+ }) => /* @__PURE__ */ r.jsx(ce, { label: a("chart.series.line.line_width"), min: 1, max: 10, sx: {
24908
+ flexGrow: 1
24909
+ }, ...l }) })
25037
24910
  ] }),
25038
24911
  /* @__PURE__ */ r.jsx(tt, { cols: 2, children: /* @__PURE__ */ r.jsx(x, { name: `reference_lines.${t}.lineStyle.color`, control: e, render: ({
25039
24912
  field: l
@@ -25092,12 +24965,9 @@ function XP({
25092
24965
  }, ...l }) }),
25093
24966
  /* @__PURE__ */ r.jsx(x, { name: `series.${t}.barGap`, control: e, render: ({
25094
24967
  field: l
25095
- }) => (
25096
- // @ts-expect-error type of onChange
25097
- /* @__PURE__ */ r.jsx(q, { label: i("chart.series.bar.bar_gap.label"), data: o, sx: {
25098
- flexGrow: 1
25099
- }, ...l })
25100
- ) })
24968
+ }) => /* @__PURE__ */ r.jsx(q, { label: i("chart.series.bar.bar_gap.label"), data: o, sx: {
24969
+ flexGrow: 1
24970
+ }, ...l }) })
25101
24971
  ] }),
25102
24972
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
25103
24973
  /* @__PURE__ */ r.jsx(x, { name: `series.${t}.barMinWidth`, control: e, render: ({
@@ -25138,12 +25008,9 @@ function JP({
25138
25008
  }, ...a }) }),
25139
25009
  /* @__PURE__ */ r.jsx(x, { name: `series.${t}.xAxisIndex`, control: e, render: ({
25140
25010
  field: a
25141
- }) => (
25142
- // @ts-expect-error type of onChange
25143
- /* @__PURE__ */ r.jsx(q, { label: s("chart.x_axis.label"), data: i, disabled: i.length === 0, sx: {
25144
- flex: 1
25145
- }, ...a })
25146
- ) })
25011
+ }) => /* @__PURE__ */ r.jsx(q, { label: s("chart.x_axis.label"), data: i, disabled: i.length === 0, sx: {
25012
+ flex: 1
25013
+ }, ...a }) })
25147
25014
  ] }),
25148
25015
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
25149
25016
  /* @__PURE__ */ r.jsx(x, { name: `series.${t}.data_key`, control: e, render: ({
@@ -26502,12 +26369,9 @@ function YR({
26502
26369
  }, ...a }) }),
26503
26370
  /* @__PURE__ */ r.jsx(x, { name: `metrics.${t}.data_keys.value`, control: e, render: ({
26504
26371
  field: a
26505
- }) => (
26506
- // @ts-expect-error type of onChange
26507
- /* @__PURE__ */ r.jsx(q, { label: s("viz.merico_stats.metric.metric_data_field"), required: !0, data: i, sx: {
26508
- flex: 1
26509
- }, ...a })
26510
- ) })
26372
+ }) => /* @__PURE__ */ r.jsx(q, { label: s("viz.merico_stats.metric.metric_data_field"), required: !0, data: i, sx: {
26373
+ flex: 1
26374
+ }, ...a }) })
26511
26375
  ] }),
26512
26376
  /* @__PURE__ */ r.jsxs(_, { grow: !0, noWrap: !0, children: [
26513
26377
  /* @__PURE__ */ r.jsx(x, { name: `metrics.${t}.names.basis`, control: e, render: ({
@@ -26517,12 +26381,9 @@ function YR({
26517
26381
  }, ...a }) }),
26518
26382
  /* @__PURE__ */ r.jsx(x, { name: `metrics.${t}.data_keys.basis`, control: e, render: ({
26519
26383
  field: a
26520
- }) => (
26521
- // @ts-expect-error type of onChange
26522
- /* @__PURE__ */ r.jsx(q, { label: s("viz.merico_stats.metric.basis_data_field"), required: !0, data: i, sx: {
26523
- flex: 1
26524
- }, ...a })
26525
- ) })
26384
+ }) => /* @__PURE__ */ r.jsx(q, { label: s("viz.merico_stats.metric.basis_data_field"), required: !0, data: i, sx: {
26385
+ flex: 1
26386
+ }, ...a }) })
26526
26387
  ] }),
26527
26388
  /* @__PURE__ */ r.jsx($, { mb: -15, variant: "dashed", label: s("numbro.format.label"), labelPosition: "center" }),
26528
26389
  /* @__PURE__ */ r.jsx(x, { name: `metrics.${t}.formatter`, control: e, render: ({
@@ -26773,10 +26634,7 @@ function a$({
26773
26634
  } }) }),
26774
26635
  /* @__PURE__ */ r.jsx(x, { name: "heat_block.label.fontSize", control: e, render: ({
26775
26636
  field: s
26776
- }) => (
26777
- // @ts-expect-error type of onChange
26778
- /* @__PURE__ */ r.jsx(ce, { size: "xs", icon: /* @__PURE__ */ r.jsx(rl, { size: 16 }), disabled: !i, ...s })
26779
- ) })
26637
+ }) => /* @__PURE__ */ r.jsx(ce, { size: "xs", icon: /* @__PURE__ */ r.jsx(rl, { size: 16 }), disabled: !i, ...s }) })
26780
26638
  ] })
26781
26639
  ] });
26782
26640
  }
@@ -28840,6 +28698,7 @@ const U$ = g.model("FilterDateRangeConfigMeta", {
28840
28698
  fontSize: e.fontSizes.xs,
28841
28699
  zIndex: 300,
28842
28700
  paddingTop: "6px",
28701
+ position: "relative",
28843
28702
  "&.rc-tree-select-dropdown-slide-up-leave-active": {
28844
28703
  display: "none"
28845
28704
  },
@@ -29198,6 +29057,7 @@ const U$ = g.model("FilterDateRangeConfigMeta", {
29198
29057
  fontSize: e.fontSizes.xs,
29199
29058
  zIndex: 300,
29200
29059
  paddingTop: "6px",
29060
+ position: "relative",
29201
29061
  "&.rc-tree-select-dropdown-slide-up-leave-active": {
29202
29062
  display: "none"
29203
29063
  },