@carto/ps-react-ui 5.0.0-widgets.4 → 5.0.0-widgets.5

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.
@@ -0,0 +1,124 @@
1
+ import { jsx as p, jsxs as N } from "react/jsx-runtime";
2
+ import { c as R } from "react/compiler-runtime";
3
+ import { useState as _, useRef as j, useEffectEvent as z, useEffect as M } from "react";
4
+ import { Button as F, Box as W, Link as H, Typography as P } from "@mui/material";
5
+ import U from "react-markdown";
6
+ const L = {
7
+ root: {
8
+ typography: "caption",
9
+ color: (n) => n.palette.text.secondary,
10
+ marginBlockStart: ({
11
+ spacing: n
12
+ }) => n(1)
13
+ },
14
+ clamped: {
15
+ display: "-webkit-box",
16
+ WebkitLineClamp: 3,
17
+ WebkitBoxOrient: "vertical",
18
+ overflow: "hidden"
19
+ },
20
+ expanded: {
21
+ display: "block"
22
+ },
23
+ linkButton: {
24
+ padding: 0,
25
+ minWidth: "auto",
26
+ textTransform: "none",
27
+ typography: "caption",
28
+ fontWeight: 500,
29
+ textDecoration: "none",
30
+ "&:hover": {
31
+ backgroundColor: "transparent"
32
+ }
33
+ }
34
+ }, C = {
35
+ showMore: "Show More",
36
+ showLess: "Show Less"
37
+ }, l = (n) => {
38
+ const e = R(2), {
39
+ children: t
40
+ } = n;
41
+ let r;
42
+ return e[0] !== t ? (r = /* @__PURE__ */ p(P, { paragraph: !0, color: "inherit", variant: "caption", children: t }), e[0] = t, e[1] = r) : r = e[1], r;
43
+ }, $ = {
44
+ h1: l,
45
+ h2: l,
46
+ h3: l,
47
+ p: l,
48
+ a: ({
49
+ children: n,
50
+ href: e,
51
+ target: t = "_blank",
52
+ rel: r = "noopener noreferrer"
53
+ }) => /* @__PURE__ */ p(H, { href: e, target: t, rel: r, color: "text.primary", underline: "always", children: n }),
54
+ img: () => null,
55
+ ul: l,
56
+ ol: l,
57
+ li: l
58
+ };
59
+ function Q(n) {
60
+ const e = R(27), {
61
+ children: t,
62
+ labels: r
63
+ } = n, S = r === void 0 ? C : r, [o, A] = _(!1), [E, D] = _(!1), h = j(null);
64
+ let m;
65
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (m = () => {
66
+ if (h.current) {
67
+ const v = h.current.scrollHeight > h.current.clientHeight;
68
+ D(v);
69
+ }
70
+ }, e[0] = m) : m = e[0];
71
+ const s = z(m);
72
+ let u;
73
+ e[1] !== s ? (u = () => {
74
+ s();
75
+ }, e[1] = s, e[2] = u) : u = e[2];
76
+ let g;
77
+ e[3] !== t ? (g = [t], e[3] = t, e[4] = g) : g = e[4], M(u, g);
78
+ let x;
79
+ e[5] !== s ? (x = () => {
80
+ const v = h.current;
81
+ if (!v)
82
+ return;
83
+ const O = new ResizeObserver(() => {
84
+ s();
85
+ });
86
+ return O.observe(v), () => {
87
+ O.disconnect();
88
+ };
89
+ }, e[5] = s, e[6] = x) : x = e[6];
90
+ let w;
91
+ if (e[7] === Symbol.for("react.memo_cache_sentinel") ? (w = [], e[7] = w) : w = e[7], M(x, w), !t)
92
+ return null;
93
+ let b;
94
+ e[8] !== o ? (b = () => {
95
+ A(!o);
96
+ }, e[8] = o, e[9] = b) : b = e[9];
97
+ const T = b;
98
+ let y;
99
+ e[10] !== S ? (y = {
100
+ ...C,
101
+ ...S
102
+ }, e[10] = S, e[11] = y) : y = e[11];
103
+ const i = y, B = o ? L.expanded : L.clamped;
104
+ let c;
105
+ e[12] !== B ? (c = {
106
+ ...L.root,
107
+ ...B
108
+ }, e[12] = B, e[13] = c) : c = e[13];
109
+ let a;
110
+ e[14] !== t ? (a = /* @__PURE__ */ p(U, { components: $, children: t }), e[14] = t, e[15] = a) : a = e[15];
111
+ let f;
112
+ e[16] !== c || e[17] !== a ? (f = /* @__PURE__ */ p(W, { ref: h, sx: c, children: a }), e[16] = c, e[17] = a, e[18] = f) : f = e[18];
113
+ let d;
114
+ e[19] !== T || e[20] !== o || e[21] !== i || e[22] !== E ? (d = (E || o) && /* @__PURE__ */ p(F, { onClick: T, variant: "text", color: "primary", sx: L.linkButton, "aria-expanded": o, "aria-label": o ? i.showLess : i.showMore, "aria-controls": "note-content", children: o ? i.showLess : i.showMore }), e[19] = T, e[20] = o, e[21] = i, e[22] = E, e[23] = d) : d = e[23];
115
+ let k;
116
+ return e[24] !== f || e[25] !== d ? (k = /* @__PURE__ */ N(W, { children: [
117
+ f,
118
+ d
119
+ ] }), e[24] = f, e[25] = d, e[26] = k) : k = e[26], k;
120
+ }
121
+ export {
122
+ Q as W
123
+ };
124
+ //# sourceMappingURL=note-Clng2ej6.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"note-Clng2ej6.js","sources":["../src/widgets/note/style.ts","../src/widgets/note/note.tsx"],"sourcesContent":["import type { SxProps, Theme } from '@mui/material'\n\nexport const styles = {\n root: {\n typography: 'caption',\n color: (theme: Theme) => theme.palette.text.secondary,\n marginBlockStart: ({ spacing }) => spacing(1),\n },\n clamped: {\n display: '-webkit-box',\n WebkitLineClamp: 3,\n WebkitBoxOrient: 'vertical',\n overflow: 'hidden',\n },\n expanded: {\n display: 'block',\n },\n linkButton: {\n padding: 0,\n minWidth: 'auto',\n textTransform: 'none',\n typography: 'caption',\n fontWeight: 500,\n textDecoration: 'none',\n '&:hover': {\n backgroundColor: 'transparent',\n },\n },\n} satisfies Record<string, SxProps<Theme>>\n","import { useState, useEffect, useRef, useEffectEvent } from 'react'\nimport { Box, Button, Link, Typography } from '@mui/material'\nimport type { WidgetNoteProps } from './types'\nimport { styles } from './style'\nimport ReactMarkdown, { type Components } from 'react-markdown'\n\nconst DEFAULT_LABELS = {\n showMore: 'Show More',\n showLess: 'Show Less',\n} as const\n\nconst DEFAULT_P = ({ children }: { children?: React.ReactNode }) => (\n <Typography paragraph color='inherit' variant='caption'>\n {children}\n </Typography>\n)\n\nconst COMPONENTS: Components = {\n h1: DEFAULT_P,\n h2: DEFAULT_P,\n h3: DEFAULT_P,\n p: DEFAULT_P,\n a: ({ children, href, target = '_blank', rel = 'noopener noreferrer' }) => (\n <Link\n href={href}\n target={target}\n rel={rel}\n color='text.primary'\n underline='always'\n >\n {children}\n </Link>\n ),\n img: () => null,\n ul: DEFAULT_P,\n ol: DEFAULT_P,\n li: DEFAULT_P,\n}\n\nexport function WidgetNote({\n children,\n labels = DEFAULT_LABELS,\n}: WidgetNoteProps) {\n const [isExpanded, setIsExpanded] = useState(false)\n const [shouldShowToggle, setShouldShowToggle] = useState(false)\n const contentRef = useRef<HTMLDivElement>(null)\n\n const checkOverflow = useEffectEvent(() => {\n if (contentRef.current) {\n // Check if content overflows 3 lines\n const isOverflowing =\n contentRef.current.scrollHeight > contentRef.current.clientHeight\n setShouldShowToggle(isOverflowing)\n }\n })\n\n useEffect(() => {\n checkOverflow()\n }, [children])\n\n useEffect(() => {\n const element = contentRef.current\n if (!element) return\n\n const resizeObserver = new ResizeObserver(() => {\n checkOverflow()\n })\n\n resizeObserver.observe(element)\n\n return () => {\n resizeObserver.disconnect()\n }\n }, [])\n\n if (!children) {\n return null\n }\n\n const handleToggle = () => {\n setIsExpanded(!isExpanded)\n }\n\n const mergedLabels = { ...DEFAULT_LABELS, ...labels }\n\n return (\n <Box>\n <Box\n ref={contentRef}\n sx={{\n ...styles.root,\n ...(isExpanded ? styles.expanded : styles.clamped),\n }}\n >\n <ReactMarkdown components={COMPONENTS}>{children}</ReactMarkdown>\n </Box>\n {(shouldShowToggle || isExpanded) && (\n <Button\n onClick={handleToggle}\n variant='text'\n color='primary'\n sx={styles.linkButton}\n aria-expanded={isExpanded}\n aria-label={\n isExpanded ? mergedLabels.showLess : mergedLabels.showMore\n }\n aria-controls='note-content'\n >\n {isExpanded ? mergedLabels.showLess : mergedLabels.showMore}\n </Button>\n )}\n </Box>\n )\n}\n"],"names":["styles","root","typography","color","theme","palette","text","secondary","marginBlockStart","spacing","clamped","display","WebkitLineClamp","WebkitBoxOrient","overflow","expanded","linkButton","padding","minWidth","textTransform","fontWeight","textDecoration","backgroundColor","DEFAULT_LABELS","showMore","showLess","DEFAULT_P","t0","$","_c","children","t1","jsx","Typography","COMPONENTS","h1","h2","h3","p","a","href","target","rel","Link","img","ul","ol","li","WidgetNote","labels","undefined","isExpanded","setIsExpanded","useState","shouldShowToggle","setShouldShowToggle","contentRef","useRef","t2","Symbol","for","current","isOverflowing","scrollHeight","clientHeight","checkOverflow","useEffectEvent","t3","t4","useEffect","t5","element","resizeObserver","ResizeObserver","observe","disconnect","t6","t7","handleToggle","t8","mergedLabels","t9","t10","t11","ReactMarkdown","t12","Box","t13","Button","t14"],"mappings":";;;;;AAEO,MAAMA,IAAS;AAAA,EACpBC,MAAM;AAAA,IACJC,YAAY;AAAA,IACZC,OAAOA,CAACC,MAAiBA,EAAMC,QAAQC,KAAKC;AAAAA,IAC5CC,kBAAkBA,CAAC;AAAA,MAAEC,SAAAA;AAAAA,IAAAA,MAAcA,EAAQ,CAAC;AAAA,EAAA;AAAA,EAE9CC,SAAS;AAAA,IACPC,SAAS;AAAA,IACTC,iBAAiB;AAAA,IACjBC,iBAAiB;AAAA,IACjBC,UAAU;AAAA,EAAA;AAAA,EAEZC,UAAU;AAAA,IACRJ,SAAS;AAAA,EAAA;AAAA,EAEXK,YAAY;AAAA,IACVC,SAAS;AAAA,IACTC,UAAU;AAAA,IACVC,eAAe;AAAA,IACfjB,YAAY;AAAA,IACZkB,YAAY;AAAA,IACZC,gBAAgB;AAAA,IAChB,WAAW;AAAA,MACTC,iBAAiB;AAAA,IAAA;AAAA,EACnB;AAEJ,GCtBMC,IAAiB;AAAA,EACrBC,UAAU;AAAA,EACVC,UAAU;AACZ,GAEMC,IAAYC,CAAAA,MAAA;AAAA,QAAAC,IAAAC,EAAA,CAAA,GAAC;AAAA,IAAAC,UAAAA;AAAAA,EAAAA,IAAAH;AAA4C,MAAAI;AAAA,SAAAH,SAAAE,KAC7DC,IAAA,gBAAAC,EAACC,KAAW,WAAA,IAAgB,OAAA,WAAkB,SAAA,wBAE9C,GAAaL,OAAAE,GAAAF,OAAAG,KAAAA,IAAAH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
31
31
  option: EchartUIProps['option'];
32
+ onEvents?: EchartUIProps['onEvents'];
32
33
  }
@@ -4,3 +4,5 @@ export { WidgetNoData } from './no-data';
4
4
  export type { WidgetNoDataProps } from './no-data';
5
5
  export { WidgetError } from './error';
6
6
  export type { WidgetErrorProps } from './error';
7
+ export { WidgetNote } from './note';
8
+ export type { WidgetNoteProps } from './note';
@@ -1,2 +1,2 @@
1
- export { WidgetSubheader } from './subheader';
2
- export type { WidgetSubheaderProps } from './types';
1
+ export { WidgetSubHeader } from './subheader';
2
+ export type { WidgetSubHeaderProps } from './types';
@@ -1,2 +1,2 @@
1
- import { WidgetSubheaderProps } from './types';
2
- export declare function WidgetSubheader({ slotLeft, slotRight, sx, }: WidgetSubheaderProps): import("react/jsx-runtime").JSX.Element;
1
+ import { WidgetSubHeaderProps } from './types';
2
+ export declare function WidgetSubHeader({ slotLeft, slotRight, sx, }: WidgetSubHeaderProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { SxProps, Theme } from '@mui/material';
2
2
  import { ReactNode } from 'react';
3
- export interface WidgetSubheaderProps {
3
+ export interface WidgetSubHeaderProps {
4
4
  /** Content for the left slot */
5
5
  slotLeft?: ReactNode;
6
6
  /** Content for the right slot*/
@@ -5,7 +5,8 @@ import { u as O } from "../widget-store-DNyVElxd.js";
5
5
  import { FullscreenOutlined as Le, Close as we, FileDownloadOutlined as ze, PercentOutlined as $e, SubdirectoryArrowLeftOutlined as We, ZoomInOutlined as De, CheckBoxOutlined as Oe, SearchOutlined as be, ClearOutlined as Re } from "@mui/icons-material";
6
6
  import { useShallow as Q } from "zustand/shallow";
7
7
  import { useState as re, useEffect as j, useRef as se } from "react";
8
- import { a as sl, d as il } from "../exports-Cr43OCul.js";
8
+ import "react-markdown";
9
+ import { a as il, d as rl } from "../exports-Cr43OCul.js";
9
10
  import "../lasso-tool-CYn3ivf-.js";
10
11
  import "../cjs-D9ro6BXv.js";
11
12
  import { T as ee } from "../tooltip-BDnrRKrp.js";
@@ -30,7 +31,7 @@ const fe = {
30
31
  }) => l(1)
31
32
  }
32
33
  };
33
- function Kt(l) {
34
+ function Yt(l) {
34
35
  const e = K(46), {
35
36
  id: t,
36
37
  labels: L,
@@ -115,7 +116,7 @@ function Kt(l) {
115
116
  function qe(l) {
116
117
  return l.setWidget;
117
118
  }
118
- function Yt(l) {
119
+ function qt(l) {
119
120
  const e = K(35), {
120
121
  id: t,
121
122
  items: L,
@@ -208,7 +209,7 @@ function Qe(l, e) {
208
209
  }));
209
210
  }
210
211
  const ie = "relative-data";
211
- function qt(l) {
212
+ function Jt(l) {
212
213
  const e = K(35), {
213
214
  id: t,
214
215
  order: L,
@@ -284,7 +285,7 @@ const me = {
284
285
  }
285
286
  }
286
287
  };
287
- function Jt(l) {
288
+ function Qt(l) {
288
289
  const e = K(59), {
289
290
  id: t,
290
291
  defaultZoom: L,
@@ -380,7 +381,7 @@ const rt = () => {
380
381
  let e;
381
382
  return l[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ g("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ g("path", { d: "M4 20V8H8V20H4ZM9 20V13H13V20H9ZM16 20V4H20V20H16Z", fill: "currentColor" }) }), l[0] = e) : e = l[0], e;
382
383
  };
383
- function Qt(l) {
384
+ function Xt(l) {
384
385
  const e = K(30), {
385
386
  id: t,
386
387
  defaultIsStacked: L,
@@ -456,7 +457,7 @@ function dt(l) {
456
457
  return l.setWidget;
457
458
  }
458
459
  const le = "lock-selection";
459
- function Xt(l) {
460
+ function el(l) {
460
461
  const e = K(37), {
461
462
  id: t,
462
463
  selectedItems: L,
@@ -537,7 +538,7 @@ function bt(l, e) {
537
538
  }));
538
539
  }
539
540
  const te = "searcher", St = 300;
540
- function el(l) {
541
+ function tl(l) {
541
542
  const e = K(49), {
542
543
  id: t,
543
544
  filterFn: L,
@@ -640,7 +641,7 @@ const kt = (l, e) => {
640
641
  const t = e.toLowerCase();
641
642
  return Promise.resolve(l.map((L) => L.filter((S) => Object.values(S).some((v) => typeof v == "string" && v.toLowerCase().includes(t)))));
642
643
  };
643
- function tl(l) {
644
+ function ll(l) {
644
645
  const e = K(23), {
645
646
  id: t,
646
647
  defaultEnabled: L,
@@ -724,7 +725,7 @@ function Lt(l) {
724
725
  function wt(l) {
725
726
  return `2px solid ${l.palette.primary.main}`;
726
727
  }
727
- function ll(l) {
728
+ function nl(l) {
728
729
  const e = K(42), {
729
730
  id: t,
730
731
  labels: L,
@@ -811,19 +812,19 @@ function Wt(l) {
811
812
  return l.setWidget;
812
813
  }
813
814
  export {
814
- ll as ChangeColumn,
815
- Yt as Download,
816
- Kt as FullScreen,
815
+ nl as ChangeColumn,
816
+ qt as Download,
817
+ Yt as FullScreen,
817
818
  le as LOCK_SELECTION_TOOL_ID,
818
- Xt as LockSelection,
819
+ el as LockSelection,
819
820
  ie as RELATIVE_DATA_TOOL_ID,
820
- qt as RelativeData,
821
+ Jt as RelativeData,
821
822
  te as SEARCHER_TOOL_ID,
822
- el as Searcher,
823
- tl as SearcherToggle,
824
- Qt as StackToggle,
825
- Jt as ZoomToggle,
826
- sl as downloadToCSV,
827
- il as downloadToPNG
823
+ tl as Searcher,
824
+ ll as SearcherToggle,
825
+ Xt as StackToggle,
826
+ Qt as ZoomToggle,
827
+ il as downloadToCSV,
828
+ rl as downloadToPNG
828
829
  };
829
830
  //# sourceMappingURL=actions.js.map