@gravitee/gamma-lib-observability 3.1.1-feat-obs-86-datatable-widget.f0cae7e → 3.1.1-feat-obs-86-datatable-widget.868d62a

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.
@@ -1 +1 @@
1
- {"version":3,"file":"AnalyticsTable.d.ts","sourceRoot":"","sources":["../../../src/dashboards/analytics-table/AnalyticsTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAe5D,OAAO,EAAkC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACzB,MAAM,yBAAyB,CAAC;AAIjC,qEAAqE;AACrE,eAAO,MAAM,cAAc,eAAe,CAAC;AAI3C,wBAAgB,WAAW,CAAC,GAAG,EAAE,iBAAiB,GAAG,OAAO,CAE3D;AAgED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,OAAO,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACjD,QAAQ,CAAC,IAAI,EAAE,SAAS,iBAAiB,EAAE,CAAC;IAC5C,8CAA8C;IAC9C,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC;IAC3B,+DAA+D;IAC/D,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS,CAAC;IACrC;;;;OAIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAClD,6EAA6E;IAC7E,QAAQ,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACnD,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAC9B,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+1 @@
1
- {"version":3,"file":"TableQueryFields.d.ts","sourceRoot":"","sources":["../../../src/dashboards/editor/TableQueryFields.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAA0B,WAAW,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAUtF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7C;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,qBAAqB,2CAqF3E"}
1
+ {"version":3,"file":"TableQueryFields.d.ts","sourceRoot":"","sources":["../../../src/dashboards/editor/TableQueryFields.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAA0B,WAAW,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAUtF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7C;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,qBAAqB,2CAmF3E"}
package/dist/index.js CHANGED
@@ -3713,7 +3713,7 @@ function Dc({ ratio: e }) {
3713
3713
  function Oc({ value: e, column: t, density: n, shareBase: r, muted: i }) {
3714
3714
  if (e === void 0) return /* @__PURE__ */ I("span", {
3715
3715
  className: "block text-right text-muted-foreground",
3716
- title: `No ${t.label} was returned for this row. See the note above the table.`,
3716
+ title: `No ${t.label} for this row.`,
3717
3717
  children: "—"
3718
3718
  });
3719
3719
  let a = r && r.base > 0 ? e / r.base : void 0, o = i ? void 0 : gc(e, a, t.thresholds);
@@ -3853,7 +3853,7 @@ function Ac({ columns: e, rows: t, dimensionLabel: n, state: r, sort: i, onSortC
3853
3853
  S.mode === "table" && /* @__PURE__ */ L(F, { children: [w && /* @__PURE__ */ L("div", {
3854
3854
  className: "flex h-6 shrink-0 items-center gap-2 text-xs text-muted-foreground",
3855
3855
  children: [ne.length > 0 && /* @__PURE__ */ I(Mc, { columns: ne }), c > 0 && /* @__PURE__ */ L("span", {
3856
- title: "Each metric is aggregated separately, so a sort on one of them can leave the others without a value for some rows.",
3856
+ title: "Some columns have no value for these rows.",
3857
3857
  children: [
3858
3858
  c,
3859
3859
  " ",
@@ -9879,7 +9879,7 @@ function dm({ widget: e, onChange: t }) {
9879
9879
  max: 100,
9880
9880
  value: e.pageSize ?? "",
9881
9881
  placeholder: "As many as fit",
9882
- title: "A ceiling, not a fixed count: the widget never shows more rows than its height allows",
9882
+ title: "At most this many rows per page. Fewer if the widget is short.",
9883
9883
  onChange: (n) => {
9884
9884
  let r = Number.parseInt(n.target.value, 10);
9885
9885
  t({
@@ -10151,7 +10151,7 @@ function wm({ columns: e, onChange: t }) {
10151
10151
  children: [/* @__PURE__ */ I(K, {
10152
10152
  className: "h-7 w-32",
10153
10153
  "aria-label": "Format",
10154
- title: "Left on Auto, the unit of the metric decides",
10154
+ title: "Auto follows the unit of the metric.",
10155
10155
  children: /* @__PURE__ */ I(q, { placeholder: "Auto" })
10156
10156
  }), /* @__PURE__ */ I(W, { children: fm.map((e) => /* @__PURE__ */ I(G, {
10157
10157
  value: e.value,
@@ -10169,7 +10169,7 @@ function wm({ columns: e, onChange: t }) {
10169
10169
  }),
10170
10170
  /* @__PURE__ */ L("div", {
10171
10171
  className: "flex items-center gap-2 text-sm",
10172
- title: "Kept when the widget is too narrow for every column. The others collapse first",
10172
+ title: "Stays visible when the widget is narrow. Other columns hide first.",
10173
10173
  children: [/* @__PURE__ */ I(rn, {
10174
10174
  "aria-label": "Keep when narrow",
10175
10175
  checked: t.pinned === !0,
@@ -10217,7 +10217,7 @@ function wm({ columns: e, onChange: t }) {
10217
10217
  }),
10218
10218
  h.length > 1 && /* @__PURE__ */ I("span", {
10219
10219
  className: "ml-1 text-[11px] text-muted-foreground",
10220
- children: "First match wins, left to right"
10220
+ children: "First match wins, left to right."
10221
10221
  })
10222
10222
  ]
10223
10223
  }),
@@ -10343,7 +10343,7 @@ function Tm({ column: e, color: t, op: n, basis: r, value: i, onColor: a, onOp:
10343
10343
  className: "flex items-center gap-0.5",
10344
10344
  children: [m && /* @__PURE__ */ L(F, { children: [
10345
10345
  /* @__PURE__ */ I(bm, {
10346
- label: "Move earlier. Earlier rules win",
10346
+ label: "Move earlier. Earlier thresholds win.",
10347
10347
  children: /* @__PURE__ */ I(z, {
10348
10348
  variant: "ghost",
10349
10349
  size: "icon-xs",
@@ -10417,7 +10417,7 @@ function Dm({ widget: e, onChange: t }) {
10417
10417
  max: 100,
10418
10418
  value: e.limit ?? "",
10419
10419
  placeholder: "20",
10420
- title: "Up to 100 rows; the table pages through them",
10420
+ title: "Up to 100 rows. The table pages through them.",
10421
10421
  onChange: (n) => {
10422
10422
  let r = Number.parseInt(n.target.value, 10);
10423
10423
  t({
@@ -10466,7 +10466,7 @@ function Dm({ widget: e, onChange: t }) {
10466
10466
  })] })]
10467
10467
  })
10468
10468
  ]
10469
- }), /* @__PURE__ */ I(zt, { children: "The sort decides which rows the backend returns, not just their order: it is the top N by this column." })] }), /* @__PURE__ */ L(V, { children: [/* @__PURE__ */ I(Ht, { children: "Columns" }), /* @__PURE__ */ I(wm, {
10469
+ }), /* @__PURE__ */ I(zt, { children: "Sorting also picks the rows. The table keeps the top N by this column." })] }), /* @__PURE__ */ L(V, { children: [/* @__PURE__ */ I(Ht, { children: "Columns" }), /* @__PURE__ */ I(wm, {
10470
10470
  columns: e.columns,
10471
10471
  onChange: (n) => {
10472
10472
  let a = n.map((e) => Hs(e)), o = r && a.includes(r) ? r : a[0];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/gamma-lib-observability",
3
- "version": "3.1.1-feat-obs-86-datatable-widget.f0cae7e",
3
+ "version": "3.1.1-feat-obs-86-datatable-widget.868d62a",
4
4
  "description": "Shared observability library for Gamma modules — dashboards, logs, tracing UI components and integration with business rules.",
5
5
  "type": "module",
6
6
  "packageManager": "yarn@4.14.1",