@devtable/dashboard 7.10.0 → 7.11.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.
@@ -19275,7 +19275,7 @@ const xF = (e) => {
19275
19275
  getColor: ol(["#fff7f1", "darkorange", "#b60000"]),
19276
19276
  name: "orange",
19277
19277
  category: "sequential"
19278
- }, jb = "@devtable/dashboard", bd = "7.10.0", Kb = "Apache-2.0", Bb = {
19278
+ }, jb = "@devtable/dashboard", bd = "7.11.0", Kb = "Apache-2.0", Bb = {
19279
19279
  access: "public",
19280
19280
  registry: "https://registry.npmjs.org/"
19281
19281
  }, Wb = [
@@ -22474,15 +22474,17 @@ function b3(e, t, n) {
22474
22474
  ];
22475
22475
  }
22476
22476
  function w3(e, t) {
22477
- return e.y_axes.map(({ nameAlignment: n, ...r }, o) => {
22478
- var a;
22479
- let i = r.position;
22480
- return i || (i = o > 0 ? "right" : "left"), {
22481
- ...r,
22482
- position: i,
22477
+ return e.y_axes.map(({ nameAlignment: n, min: r, max: o, ...i }, a) => {
22478
+ var c;
22479
+ let s = i.position;
22480
+ return s || (s = a > 0 ? "right" : "left"), {
22481
+ ...i,
22482
+ min: r || void 0,
22483
+ max: o || void 0,
22484
+ position: s,
22483
22485
  axisLabel: {
22484
22486
  show: !0,
22485
- formatter: (a = t[o]) != null ? a : t.default
22487
+ formatter: (c = t[a]) != null ? c : t.default
22486
22488
  },
22487
22489
  axisLine: {
22488
22490
  show: !0
@@ -24275,10 +24277,8 @@ const e5 = [{
24275
24277
  function n5({
24276
24278
  control: e,
24277
24279
  index: t,
24278
- remove: n,
24279
- watch: r
24280
+ remove: n
24280
24281
  }) {
24281
- const [o] = r([`y_axes.${t}.label_formatter.output`]);
24282
24282
  return /* @__PURE__ */ b(U, {
24283
24283
  my: 0,
24284
24284
  p: "0",
@@ -24298,20 +24298,20 @@ function n5({
24298
24298
  name: `y_axes.${t}.name`,
24299
24299
  control: e,
24300
24300
  render: ({
24301
- field: i
24301
+ field: r
24302
24302
  }) => /* @__PURE__ */ l(be, {
24303
24303
  label: "Name",
24304
24304
  required: !0,
24305
24305
  sx: {
24306
24306
  flex: 1
24307
24307
  },
24308
- ...i
24308
+ ...r
24309
24309
  })
24310
24310
  }), /* @__PURE__ */ l(B, {
24311
24311
  name: `y_axes.${t}.nameAlignment`,
24312
24312
  control: e,
24313
24313
  render: ({
24314
- field: i
24314
+ field: r
24315
24315
  }) => /* @__PURE__ */ l(Fe, {
24316
24316
  label: "Align",
24317
24317
  required: !0,
@@ -24319,7 +24319,7 @@ function n5({
24319
24319
  sx: {
24320
24320
  flex: 1
24321
24321
  },
24322
- ...i
24322
+ ...r
24323
24323
  })
24324
24324
  })]
24325
24325
  }), /* @__PURE__ */ l(ze, {
@@ -24334,7 +24334,7 @@ function n5({
24334
24334
  name: `y_axes.${t}.position`,
24335
24335
  control: e,
24336
24336
  render: ({
24337
- field: i
24337
+ field: r
24338
24338
  }) => /* @__PURE__ */ l(Fe, {
24339
24339
  label: "Position",
24340
24340
  required: !0,
@@ -24342,7 +24342,7 @@ function n5({
24342
24342
  sx: {
24343
24343
  flex: 1
24344
24344
  },
24345
- ...i
24345
+ ...r
24346
24346
  })
24347
24347
  })
24348
24348
  }), /* @__PURE__ */ b(U, {
@@ -24355,12 +24355,12 @@ function n5({
24355
24355
  name: `y_axes.${t}.label_formatter`,
24356
24356
  control: e,
24357
24357
  render: ({
24358
- field: i
24358
+ field: r
24359
24359
  }) => /* @__PURE__ */ l(Mo, {
24360
- ...i
24360
+ ...r
24361
24361
  })
24362
24362
  })]
24363
- }), o === "percent" && /* @__PURE__ */ b(U, {
24363
+ }), /* @__PURE__ */ b(U, {
24364
24364
  children: [/* @__PURE__ */ l(ze, {
24365
24365
  mb: -15,
24366
24366
  variant: "dashed",
@@ -24372,19 +24372,19 @@ function n5({
24372
24372
  name: `y_axes.${t}.min`,
24373
24373
  control: e,
24374
24374
  render: ({
24375
- field: i
24375
+ field: r
24376
24376
  }) => /* @__PURE__ */ l(be, {
24377
24377
  label: "Min",
24378
- ...i
24378
+ ...r
24379
24379
  })
24380
24380
  }), /* @__PURE__ */ l(B, {
24381
24381
  name: `y_axes.${t}.max`,
24382
24382
  control: e,
24383
24383
  render: ({
24384
- field: i
24384
+ field: r
24385
24385
  }) => /* @__PURE__ */ l(be, {
24386
24386
  label: "Max",
24387
- ...i
24387
+ ...r
24388
24388
  })
24389
24389
  })]
24390
24390
  })]
@@ -24449,8 +24449,7 @@ function r5({
24449
24449
  children: /* @__PURE__ */ l(n5, {
24450
24450
  control: e,
24451
24451
  index: u,
24452
- remove: o,
24453
- watch: t
24452
+ remove: o
24454
24453
  })
24455
24454
  }, u))]
24456
24455
  });
@@ -31051,15 +31050,17 @@ function Tj(e, t) {
31051
31050
  ];
31052
31051
  }
31053
31052
  function Mj(e, t) {
31054
- return e.y_axes.map(({ nameAlignment: n, ...r }, o) => {
31055
- var a;
31056
- let i = r.position;
31057
- return i || (i = o > 0 ? "right" : "left"), {
31058
- ...r,
31059
- position: i,
31053
+ return e.y_axes.map(({ nameAlignment: n, min: r, max: o, ...i }, a) => {
31054
+ var c;
31055
+ let s = i.position;
31056
+ return s || (s = a > 0 ? "right" : "left"), {
31057
+ ...i,
31058
+ min: r || void 0,
31059
+ max: o || void 0,
31060
+ position: s,
31060
31061
  axisLabel: {
31061
31062
  show: !0,
31062
- formatter: (a = t[o]) != null ? a : t.default
31063
+ formatter: (c = t[a]) != null ? c : t.default
31063
31064
  },
31064
31065
  axisLine: {
31065
31066
  show: !0
@@ -32146,10 +32147,8 @@ const Zj = [{
32146
32147
  function eK({
32147
32148
  control: e,
32148
32149
  index: t,
32149
- remove: n,
32150
- watch: r
32150
+ remove: n
32151
32151
  }) {
32152
- const [o] = r([`y_axes.${t}.label_formatter.output`]);
32153
32152
  return /* @__PURE__ */ b(U, {
32154
32153
  my: 0,
32155
32154
  p: "0",
@@ -32169,20 +32168,20 @@ function eK({
32169
32168
  name: `y_axes.${t}.name`,
32170
32169
  control: e,
32171
32170
  render: ({
32172
- field: i
32171
+ field: r
32173
32172
  }) => /* @__PURE__ */ l(be, {
32174
32173
  label: "Name",
32175
32174
  required: !0,
32176
32175
  sx: {
32177
32176
  flex: 1
32178
32177
  },
32179
- ...i
32178
+ ...r
32180
32179
  })
32181
32180
  }), /* @__PURE__ */ l(B, {
32182
32181
  name: `y_axes.${t}.nameAlignment`,
32183
32182
  control: e,
32184
32183
  render: ({
32185
- field: i
32184
+ field: r
32186
32185
  }) => /* @__PURE__ */ l(Fe, {
32187
32186
  label: "Align",
32188
32187
  required: !0,
@@ -32190,7 +32189,7 @@ function eK({
32190
32189
  sx: {
32191
32190
  flex: 1
32192
32191
  },
32193
- ...i
32192
+ ...r
32194
32193
  })
32195
32194
  })]
32196
32195
  }), /* @__PURE__ */ l(ze, {
@@ -32205,7 +32204,7 @@ function eK({
32205
32204
  name: `y_axes.${t}.position`,
32206
32205
  control: e,
32207
32206
  render: ({
32208
- field: i
32207
+ field: r
32209
32208
  }) => /* @__PURE__ */ l(Fe, {
32210
32209
  label: "Position",
32211
32210
  required: !0,
@@ -32213,7 +32212,7 @@ function eK({
32213
32212
  sx: {
32214
32213
  flex: 1
32215
32214
  },
32216
- ...i
32215
+ ...r
32217
32216
  })
32218
32217
  })
32219
32218
  }), /* @__PURE__ */ b(U, {
@@ -32226,12 +32225,12 @@ function eK({
32226
32225
  name: `y_axes.${t}.label_formatter`,
32227
32226
  control: e,
32228
32227
  render: ({
32229
- field: i
32228
+ field: r
32230
32229
  }) => /* @__PURE__ */ l(Mo, {
32231
- ...i
32230
+ ...r
32232
32231
  })
32233
32232
  })]
32234
- }), o === "percent" && /* @__PURE__ */ b(U, {
32233
+ }), /* @__PURE__ */ b(U, {
32235
32234
  children: [/* @__PURE__ */ l(ze, {
32236
32235
  mb: -15,
32237
32236
  variant: "dashed",
@@ -32243,19 +32242,19 @@ function eK({
32243
32242
  name: `y_axes.${t}.min`,
32244
32243
  control: e,
32245
32244
  render: ({
32246
- field: i
32245
+ field: r
32247
32246
  }) => /* @__PURE__ */ l(be, {
32248
32247
  label: "Min",
32249
- ...i
32248
+ ...r
32250
32249
  })
32251
32250
  }), /* @__PURE__ */ l(B, {
32252
32251
  name: `y_axes.${t}.max`,
32253
32252
  control: e,
32254
32253
  render: ({
32255
- field: i
32254
+ field: r
32256
32255
  }) => /* @__PURE__ */ l(be, {
32257
32256
  label: "Max",
32258
- ...i
32257
+ ...r
32259
32258
  })
32260
32259
  })]
32261
32260
  })]
@@ -32320,8 +32319,7 @@ function tK({
32320
32319
  children: /* @__PURE__ */ l(eK, {
32321
32320
  control: e,
32322
32321
  index: u,
32323
- remove: o,
32324
- watch: t
32322
+ remove: o
32325
32323
  })
32326
32324
  }, u))]
32327
32325
  });
@@ -34781,11 +34779,7 @@ const MB = q.forwardRef(({
34781
34779
  },
34782
34780
  children: /* @__PURE__ */ b(Le, {
34783
34781
  className: "dashboard-view",
34784
- mx: -10,
34785
- sx: {
34786
- position: "relative",
34787
- height: "100%"
34788
- },
34782
+ "data-enable-scrollbar": !0,
34789
34783
  children: [s && /* @__PURE__ */ l(tw, {
34790
34784
  view: t,
34791
34785
  panel: c,
@@ -34883,11 +34877,7 @@ const MB = q.forwardRef(({
34883
34877
  },
34884
34878
  children: /* @__PURE__ */ b(Le, {
34885
34879
  className: "dashboard-view",
34886
- mx: -10,
34887
- sx: {
34888
- position: "relative",
34889
- height: "100%"
34890
- },
34880
+ "data-enable-scrollbar": !0,
34891
34881
  children: [a && /* @__PURE__ */ l(tw, {
34892
34882
  view: t,
34893
34883
  panel: s,