@restio/ui 0.0.12 → 0.1.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.
- package/dist/assets/svg/chart-area.svg +9 -0
- package/dist/assets/svg/chart-bar-stacked.svg +9 -0
- package/dist/assets/svg/chart-bar.svg +6 -0
- package/dist/assets/svg/chart-candlestick.svg +17 -0
- package/dist/assets/svg/chart-gantt.svg +9 -0
- package/dist/assets/svg/chart-line.svg +9 -0
- package/dist/assets/svg/chart-pie.svg +9 -0
- package/dist/assets/svg/chart-sankey.svg +18 -0
- package/dist/assets/svg/form.svg +16 -1
- package/dist/assets/svg/list.svg +15 -1
- package/dist/assets/svg/table.svg +18 -1
- package/dist/components/anchored-overlay/anchored-overlay-types.d.ts +2 -0
- package/dist/components/anchored-overlay/anchored-overlay-types.d.ts.map +1 -1
- package/dist/components/anchored-overlay/anchored-overlay.d.ts.map +1 -1
- package/dist/components/button-dropdown/button-dropdown-types.d.ts +20 -0
- package/dist/components/button-dropdown/button-dropdown-types.d.ts.map +1 -0
- package/dist/components/button-dropdown/button-dropdown.d.ts +8 -0
- package/dist/components/button-dropdown/button-dropdown.d.ts.map +1 -0
- package/dist/components/list/list-types.d.ts +22 -1
- package/dist/components/list/list-types.d.ts.map +1 -1
- package/dist/components/list/list.d.ts.map +1 -1
- package/dist/components/select/select-types.d.ts +29 -1
- package/dist/components/select/select-types.d.ts.map +1 -1
- package/dist/components/select/select.d.ts.map +1 -1
- package/dist/components/selection-grid/selection-grid-types.d.ts +20 -0
- package/dist/components/selection-grid/selection-grid-types.d.ts.map +1 -0
- package/dist/components/selection-grid/selection-grid.d.ts +8 -0
- package/dist/components/selection-grid/selection-grid.d.ts.map +1 -0
- package/dist/data-components/cell/cell-registry.d.ts.map +1 -1
- package/dist/data-components/data-component-types.d.ts +11 -0
- package/dist/data-components/data-component-types.d.ts.map +1 -0
- package/dist/experimental-components/dashboard-builder/builder-canvas-hooks.d.ts +47 -0
- package/dist/experimental-components/dashboard-builder/builder-canvas-hooks.d.ts.map +1 -0
- package/dist/experimental-components/dashboard-builder/builder-canvas.d.ts.map +1 -1
- package/dist/experimental-components/dashboard-builder/dashboard-builder-hooks.d.ts +1 -0
- package/dist/experimental-components/dashboard-builder/dashboard-builder-hooks.d.ts.map +1 -1
- package/dist/experimental-components/dashboard-builder/dashboard-builder-types.d.ts +23 -2
- package/dist/experimental-components/dashboard-builder/dashboard-builder-types.d.ts.map +1 -1
- package/dist/experimental-components/dashboard-builder/dashboard-builder.d.ts.map +1 -1
- package/dist/experimental-components/dashboard-builder/widget-palette.d.ts +0 -9
- package/dist/experimental-components/dashboard-builder/widget-palette.d.ts.map +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/restio-ui.cjs.js +74 -28
- package/dist/restio-ui.es.js +8403 -8067
- package/dist/types/global-types.d.ts +5 -0
- package/dist/types/global-types.d.ts.map +1 -1
- package/dist/ui.css +1 -1
- package/dist/utility-components/icon/icon-assets.d.ts.map +1 -1
- package/dist/utility-components/overlay-panel/overlay-panel.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill="var(--smp-iconColor-primary)" d="M2 22H22V24H0V0H2V22z"/>
|
|
3
|
+
<path fill="var(--smp-iconColor-primary)" d="M4 15H8V22H4z"/>
|
|
4
|
+
<path fill="var(--smp-iconColor-secondary)" d="M4 11H8V15H4z"/>
|
|
5
|
+
<path fill="var(--smp-iconColor-primary)" d="M10 9H14V22H10z"/>
|
|
6
|
+
<path fill="var(--smp-iconColor-secondary)" d="M10 5H14V9H10z"/>
|
|
7
|
+
<path fill="var(--smp-iconColor-primary)" d="M16 5H20V22H16z"/>
|
|
8
|
+
<path fill="var(--smp-iconColor-secondary)" d="M16 1H20V5H16z"/>
|
|
9
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill="var(--smp-iconColor-primary)" d="M2 22H22V24H0V0H2V22z"/>
|
|
3
|
+
<path fill="var(--smp-iconColor-primary)" d="M4 15H8V22H4z"/>
|
|
4
|
+
<path fill="var(--smp-iconColor-primary)" d="M10 9H14V22H10z"/>
|
|
5
|
+
<path fill="var(--smp-iconColor-secondary)" d="M16 5H20V22H16z"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- Assi -->
|
|
3
|
+
<path fill="var(--smp-iconColor-primary)"
|
|
4
|
+
d="M2 2h2v20H22v2H2z"/>
|
|
5
|
+
|
|
6
|
+
<!-- Candlestick 1 - bullish -->
|
|
7
|
+
<path fill="var(--smp-iconColor-primary)"
|
|
8
|
+
d="M5 8h1v8H5zM4 10h3v5H4z"/>
|
|
9
|
+
|
|
10
|
+
<!-- Candlestick 2 - bearish -->
|
|
11
|
+
<path fill="var(--smp-iconColor-secondary)"
|
|
12
|
+
d="M11 5h1v9H11zM10 7h3v5H10z"/>
|
|
13
|
+
|
|
14
|
+
<!-- Candlestick 3 - bullish -->
|
|
15
|
+
<path fill="var(--smp-iconColor-primary)"
|
|
16
|
+
d="M17 6h1v11H17zM16 9h3v7H16z"/>
|
|
17
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- Timeline -->
|
|
3
|
+
<path fill="var(--smp-iconColor-primary)"
|
|
4
|
+
d="M3 4h18v2H3zm0 7h18v2H3zm0 7h18v2H3z"/>
|
|
5
|
+
|
|
6
|
+
<!-- Task -->
|
|
7
|
+
<path fill="var(--smp-iconColor-secondary)"
|
|
8
|
+
d="M5 3h7v4H5zm9 10h6v4h-6zm8-7h-5v4h5z"/>
|
|
9
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- Assi -->
|
|
3
|
+
<path fill="var(--smp-iconColor-primary)"
|
|
4
|
+
d="M2 2h2v20H22v2H2z"/>
|
|
5
|
+
|
|
6
|
+
<!-- Linea -->
|
|
7
|
+
<path fill="var(--smp-iconColor-secondary)"
|
|
8
|
+
d="M5 17l4-5 3 2 6-8 2 1-7 10-3-2-4 5z"/>
|
|
9
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- Cerchio principale -->
|
|
3
|
+
<path fill="var(--smp-iconColor-primary)"
|
|
4
|
+
d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10c4.74 0 8.71-3.299 9.742-7.73H12V2z"/>
|
|
5
|
+
|
|
6
|
+
<!-- Spicchio evidenziato -->
|
|
7
|
+
<path fill="var(--smp-iconColor-secondary)"
|
|
8
|
+
d="M13 2v9h9A9 9 0 0 0 13 2z"/>
|
|
9
|
+
</svg>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- Flussi -->
|
|
3
|
+
<path fill="var(--smp-iconColor-secondary)"
|
|
4
|
+
d="M8 7c2.8 0 3.8 2 6 2h2v2h-2c-2.8 0-3.8-2-6-2V7z"/>
|
|
5
|
+
|
|
6
|
+
<path fill="var(--smp-iconColor-secondary)"
|
|
7
|
+
d="M8 15c2.2 0 3.2-2 6-2h2v2h-2c-2.2 0-3.2 2-6 2v-2z"/>
|
|
8
|
+
|
|
9
|
+
<!-- Nodi -->
|
|
10
|
+
<path fill="var(--smp-iconColor-primary)"
|
|
11
|
+
d="M3 5h5v5H3z"/>
|
|
12
|
+
|
|
13
|
+
<path fill="var(--smp-iconColor-primary)"
|
|
14
|
+
d="M16 8h5v8h-5z"/>
|
|
15
|
+
|
|
16
|
+
<path fill="var(--smp-iconColor-primary)"
|
|
17
|
+
d="M3 13h5v5H3z"/>
|
|
18
|
+
</svg>
|
package/dist/assets/svg/form.svg
CHANGED
|
@@ -1 +1,16 @@
|
|
|
1
|
-
<svg
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- Contenitore -->
|
|
3
|
+
<path
|
|
4
|
+
fill="var(--smp-iconColor-primary)"
|
|
5
|
+
d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M5 19V5h14v14z"
|
|
6
|
+
/>
|
|
7
|
+
|
|
8
|
+
<!-- Contenuto -->
|
|
9
|
+
<path
|
|
10
|
+
fill="var(--smp-iconColor-secondary)"
|
|
11
|
+
d="M8.5 10.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 1 0 0-3
|
|
12
|
+
M11 11h6v2h-6z
|
|
13
|
+
M7 7h10v2H7z
|
|
14
|
+
M7 15h10v2H7z"
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
package/dist/assets/svg/list.svg
CHANGED
|
@@ -1 +1,15 @@
|
|
|
1
|
-
<svg
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- Contenitore -->
|
|
3
|
+
<path
|
|
4
|
+
fill="var(--smp-iconColor-primary)"
|
|
5
|
+
d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M5 19V5h14v14z"
|
|
6
|
+
/>
|
|
7
|
+
|
|
8
|
+
<!-- Contenuto -->
|
|
9
|
+
<path
|
|
10
|
+
fill="var(--smp-iconColor-secondary)"
|
|
11
|
+
d="M7 7h10v2H7z
|
|
12
|
+
M7 11h10v2H7z
|
|
13
|
+
M7 15h10v2H7z"
|
|
14
|
+
/>
|
|
15
|
+
</svg>
|
|
@@ -1 +1,18 @@
|
|
|
1
|
-
<svg
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- Contenitore -->
|
|
3
|
+
<path
|
|
4
|
+
fill="var(--smp-iconColor-primary)"
|
|
5
|
+
d="M20 3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M20 5v2H4V5z"
|
|
6
|
+
/>
|
|
7
|
+
|
|
8
|
+
<!-- Celle -->
|
|
9
|
+
<path
|
|
10
|
+
fill="var(--smp-iconColor-secondary)"
|
|
11
|
+
d="M4 9h4v4H4z
|
|
12
|
+
M10 9h4v4h-4z
|
|
13
|
+
M16 9h4v4h-4z
|
|
14
|
+
M4 15h4v4H4z
|
|
15
|
+
M10 15h4v4h-4z
|
|
16
|
+
M16 15h4v4h-4z"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
@@ -17,5 +17,7 @@ export interface AnchoredOverlayProps {
|
|
|
17
17
|
className?: string;
|
|
18
18
|
/** Custom anchor name for CSS anchoring (optional, generated if not provided) */
|
|
19
19
|
anchorName?: string;
|
|
20
|
+
/** Duration of open/close animation in ms. */
|
|
21
|
+
animationDuration?: number;
|
|
20
22
|
}
|
|
21
23
|
//# sourceMappingURL=anchored-overlay-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anchored-overlay-types.d.ts","sourceRoot":"","sources":["../../../src/components/anchored-overlay/anchored-overlay-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAEvE,MAAM,WAAW,oBAAoB;IACnC,mDAAmD;IACnD,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IAExB,mDAAmD;IACnD,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IAExB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,cAAc,CAAC;IAE1B,qDAAqD;IACrD,KAAK,CAAC,EAAE,WAAW,CAAC;IAEpB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,iFAAiF;IACjF,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"anchored-overlay-types.d.ts","sourceRoot":"","sources":["../../../src/components/anchored-overlay/anchored-overlay-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAEvE,MAAM,WAAW,oBAAoB;IACnC,mDAAmD;IACnD,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IAExB,mDAAmD;IACnD,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IAExB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,cAAc,CAAC;IAE1B,qDAAqD;IACrD,KAAK,CAAC,EAAE,WAAW,CAAC;IAEpB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,iFAAiF;IACjF,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,8CAA8C;IAC9C,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anchored-overlay.d.ts","sourceRoot":"","sources":["../../../src/components/anchored-overlay/anchored-overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"anchored-overlay.d.ts","sourceRoot":"","sources":["../../../src/components/anchored-overlay/anchored-overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAMhE,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA0I1D,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Option } from '../../types/global-types';
|
|
2
|
+
export interface ButtonDropdownProps {
|
|
3
|
+
/** Currently selected value */
|
|
4
|
+
value?: string;
|
|
5
|
+
/** Available options */
|
|
6
|
+
options: Option[];
|
|
7
|
+
/** Callback when selection changes */
|
|
8
|
+
onChange?: (value: string) => void;
|
|
9
|
+
/** Button variant */
|
|
10
|
+
variant?: "base" | "primary" | "danger" | "invisible" | "link";
|
|
11
|
+
/** Button size */
|
|
12
|
+
size?: "small" | "default" | "large";
|
|
13
|
+
/** Placeholder text when no value is selected */
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
/** Whether the dropdown is disabled */
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/** Additional CSS class */
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=button-dropdown-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-dropdown-types.d.ts","sourceRoot":"","sources":["../../../src/components/button-dropdown/button-dropdown-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,MAAM,WAAW,mBAAmB;IAClC,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wBAAwB;IACxB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,qBAAqB;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,CAAC;IAC/D,kBAAkB;IAClB,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;IACrC,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ButtonDropdownProps } from './button-dropdown-types';
|
|
3
|
+
/**
|
|
4
|
+
* A button that opens a dropdown menu to select a single value.
|
|
5
|
+
* Flat component — not a form field. Use Select for form contexts.
|
|
6
|
+
*/
|
|
7
|
+
export declare const ButtonDropdown: React.FC<ButtonDropdownProps>;
|
|
8
|
+
//# sourceMappingURL=button-dropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/button-dropdown/button-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAO9D;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAuCxD,CAAC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import { Option } from '../../types/global-types';
|
|
1
|
+
import { Option, ListItemVariant } from '../../types/global-types';
|
|
2
|
+
export interface ListItemRenderState {
|
|
3
|
+
isActive: boolean;
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
}
|
|
2
6
|
export interface ListProps {
|
|
3
7
|
id?: string;
|
|
4
8
|
options: Option[];
|
|
@@ -11,6 +15,23 @@ export interface ListProps {
|
|
|
11
15
|
* Accepts multiple aria-selected
|
|
12
16
|
*/
|
|
13
17
|
multiple?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Preset item layout variant.
|
|
20
|
+
* - "default": text + leadingVisual icon + check
|
|
21
|
+
* - "with-image": avatar/image + text + check
|
|
22
|
+
* - "with-description": title + subtitle + check
|
|
23
|
+
*/
|
|
24
|
+
itemVariant?: ListItemVariant;
|
|
25
|
+
/**
|
|
26
|
+
* Custom render function for each list item.
|
|
27
|
+
* When provided, it overrides `itemVariant`.
|
|
28
|
+
*/
|
|
29
|
+
renderItem?: (option: Option, index: number, state: ListItemRenderState) => React.ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Height of each item in pixels. Used by virtual scroll.
|
|
32
|
+
* Defaults: 24 for "default", 48 for "with-image" and "with-description".
|
|
33
|
+
*/
|
|
34
|
+
itemHeight?: number;
|
|
14
35
|
onClick?: (option: Option) => void;
|
|
15
36
|
onKeyDown?: (e: React.KeyboardEvent) => void;
|
|
16
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-types.d.ts","sourceRoot":"","sources":["../../../src/components/list/list-types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"list-types.d.ts","sourceRoot":"","sources":["../../../src/components/list/list-types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEnE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,SAAS;IACxB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;IAE9B;;;OAGG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,mBAAmB,KAAK,KAAK,CAAC,SAAS,CAAC;IAE5F;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,KAAK,IAAI,CAAC;CAC9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/components/list/list.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/components/list/list.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAyFzC,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA2IpC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Option } from '../../types/global-types';
|
|
1
|
+
import { Option, ListItemVariant } from '../../types/global-types';
|
|
2
2
|
export interface SelectProps {
|
|
3
3
|
/**
|
|
4
4
|
* Active value of the select
|
|
@@ -28,6 +28,34 @@ export interface SelectProps {
|
|
|
28
28
|
* When true, it will enable the multiselection
|
|
29
29
|
*/
|
|
30
30
|
multiple?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Passed through to the inner List component.
|
|
33
|
+
* Controls how each list item is rendered.
|
|
34
|
+
*/
|
|
35
|
+
listItemVariant?: ListItemVariant;
|
|
36
|
+
/**
|
|
37
|
+
* Custom render function for the dropdown list.
|
|
38
|
+
* When provided, replaces the default List component.
|
|
39
|
+
* Useful for rendering a SelectionGrid or other custom pickers.
|
|
40
|
+
*/
|
|
41
|
+
renderList?: (props: {
|
|
42
|
+
options: Option[];
|
|
43
|
+
value: string | string[];
|
|
44
|
+
multiple: boolean;
|
|
45
|
+
onChange: (value: string | string[]) => void;
|
|
46
|
+
onClose: () => void;
|
|
47
|
+
}) => React.ReactNode;
|
|
48
|
+
/**
|
|
49
|
+
* When provided, opens a dialog (OverlayPanel) instead of a dropdown.
|
|
50
|
+
* Useful for richer selection UIs like grids, trees, or multi-step pickers.
|
|
51
|
+
*/
|
|
52
|
+
renderDialog?: (props: {
|
|
53
|
+
options: Option[];
|
|
54
|
+
value: string | string[];
|
|
55
|
+
multiple: boolean;
|
|
56
|
+
onChange: (value: string | string[]) => void;
|
|
57
|
+
onClose: () => void;
|
|
58
|
+
}) => React.ReactNode;
|
|
31
59
|
onClick?: (value: string) => void;
|
|
32
60
|
onChange?: (value: string | string[]) => void;
|
|
33
61
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-types.d.ts","sourceRoot":"","sources":["../../../src/components/select/select-types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"select-types.d.ts","sourceRoot":"","sources":["../../../src/components/select/select-types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEnE,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,GAA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ts","sourceRoot":"","sources":["../../../src/components/select/select.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/select/select.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAO7C,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAqIxC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Option, Size } from '../../types/global-types';
|
|
2
|
+
export interface SelectionGridProps {
|
|
3
|
+
/** Array of selectable options */
|
|
4
|
+
options: Option[];
|
|
5
|
+
/** Currently selected value(s). Single string for single-select, string[] for multi-select. */
|
|
6
|
+
value?: string | string[];
|
|
7
|
+
/** Callback when selection changes */
|
|
8
|
+
onChange?: (value: string | string[]) => void;
|
|
9
|
+
/** Allow multiple selection */
|
|
10
|
+
multiple?: boolean;
|
|
11
|
+
/** Number of grid columns */
|
|
12
|
+
columns?: number;
|
|
13
|
+
/** Size of each item */
|
|
14
|
+
size?: Size;
|
|
15
|
+
/** Disable all interactions */
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/** Additional class name */
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=selection-grid-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection-grid-types.d.ts","sourceRoot":"","sources":["../../../src/components/selection-grid/selection-grid-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAExD,MAAM,WAAW,kBAAkB;IACjC,kCAAkC;IAClC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,+FAA+F;IAC/F,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B,sCAAsC;IACtC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IAC9C,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wBAAwB;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SelectionGridProps } from './selection-grid-types';
|
|
3
|
+
/**
|
|
4
|
+
* A grid of selectable items supporting single and multiple selection.
|
|
5
|
+
* Behaves like a selection list but laid out in a grid.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SelectionGrid: React.FC<SelectionGridProps>;
|
|
8
|
+
//# sourceMappingURL=selection-grid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection-grid.d.ts","sourceRoot":"","sources":["../../../src/components/selection-grid/selection-grid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAI5D;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAwEtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell-registry.d.ts","sourceRoot":"","sources":["../../../src/data-components/cell/cell-registry.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAU,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MA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KAAK,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,SAAS,CAAC;IAC5D,oFAAoF;IACpF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,iGAAiG;IACjG,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAQD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,IAAI,CAE7G;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,SAAS,CAGzG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WidgetComponentType } from '../experimental-components/dashboard-builder/dashboard-builder-types';
|
|
2
|
+
/**
|
|
3
|
+
* Available widget types shown in the palette.
|
|
4
|
+
*/
|
|
5
|
+
export declare const DATA_COMPONENTS: {
|
|
6
|
+
type: WidgetComponentType;
|
|
7
|
+
label: string;
|
|
8
|
+
icon: string;
|
|
9
|
+
description: string;
|
|
10
|
+
}[];
|
|
11
|
+
//# sourceMappingURL=data-component-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-component-types.d.ts","sourceRoot":"","sources":["../../src/data-components/data-component-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sEAAsE,CAAC;AAE3G;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE;IAAE,IAAI,EAAE,mBAAmB,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,EAO5G,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { DashboardWidgetConfig, WidgetComponentType, WidgetPosition } from './dashboard-builder-types';
|
|
2
|
+
type ResizeHandle = "n" | "s" | "e" | "w" | "ne" | "nw" | "se" | "sw";
|
|
3
|
+
interface UseCanvasDragDropOptions {
|
|
4
|
+
readonly widgets: DashboardWidgetConfig[];
|
|
5
|
+
readonly onMoveWidget: (widgetId: string, position: WidgetPosition) => void;
|
|
6
|
+
readonly onAddWidget: (componentType: WidgetComponentType, dataSourceId: string, position: WidgetPosition) => void;
|
|
7
|
+
readonly onChange: () => void;
|
|
8
|
+
}
|
|
9
|
+
interface UseCanvasDragDropReturn {
|
|
10
|
+
/** Ref to attach to the grid container */
|
|
11
|
+
gridRef: React.RefObject<HTMLDivElement | null>;
|
|
12
|
+
/** ID of the widget currently being dragged or resized */
|
|
13
|
+
draggingWidgetId: string | null;
|
|
14
|
+
/** Preview position during drag/resize */
|
|
15
|
+
dragPreviewPos: WidgetPosition | null;
|
|
16
|
+
/** Whether the current drag/resize has a collision */
|
|
17
|
+
hasCollision: boolean;
|
|
18
|
+
/** Whether the current resize has a collision */
|
|
19
|
+
resizeCollision: boolean;
|
|
20
|
+
/** Grid-level dragOver handler */
|
|
21
|
+
handleDragOver: (e: React.DragEvent) => void;
|
|
22
|
+
/** Grid-level drop handler */
|
|
23
|
+
handleDrop: (e: React.DragEvent) => void;
|
|
24
|
+
/** Attach to each widget's onDragStart */
|
|
25
|
+
handleWidgetDragStart: (e: React.DragEvent, widget: DashboardWidgetConfig) => void;
|
|
26
|
+
/** Attach to each widget's onDragEnd */
|
|
27
|
+
handleWidgetDragEnd: () => void;
|
|
28
|
+
/** Attach to resize handle's onMouseDown */
|
|
29
|
+
handleResizeStart: (e: React.MouseEvent, widget: DashboardWidgetConfig, handle: ResizeHandle) => void;
|
|
30
|
+
/** Convert pixel coordinates to grid (col, row) */
|
|
31
|
+
pixelToGrid: (clientX: number, clientY: number) => {
|
|
32
|
+
col: number;
|
|
33
|
+
row: number;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Encapsulates all drag-and-drop and resize logic for the dashboard canvas.
|
|
38
|
+
*
|
|
39
|
+
* Manages:
|
|
40
|
+
* - Palette → canvas drop (adding new widgets)
|
|
41
|
+
* - Widget repositioning via drag
|
|
42
|
+
* - Widget resizing via 8-directional handles
|
|
43
|
+
* - Collision detection during drag/resize
|
|
44
|
+
*/
|
|
45
|
+
export declare function useCanvasDragDrop({ widgets, onMoveWidget, onAddWidget, onChange, }: UseCanvasDragDropOptions): UseCanvasDragDropReturn;
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=builder-canvas-hooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builder-canvas-hooks.d.ts","sourceRoot":"","sources":["../../../src/experimental-components/dashboard-builder/builder-canvas-hooks.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAS5G,KAAK,YAAY,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEtE,UAAU,wBAAwB;IAChC,QAAQ,CAAC,OAAO,EAAE,qBAAqB,EAAE,CAAC;IAC1C,QAAQ,CAAC,YAAY,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,KAAK,IAAI,CAAC;IAC5E,QAAQ,CAAC,WAAW,EAAE,CAAC,aAAa,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,KAAK,IAAI,CAAC;IACnH,QAAQ,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAC;CAC/B;AAED,UAAU,uBAAuB;IAC/B,0CAA0C;IAC1C,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAChD,0DAA0D;IAC1D,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,0CAA0C;IAC1C,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,sDAAsD;IACtD,YAAY,EAAE,OAAO,CAAC;IACtB,iDAAiD;IACjD,eAAe,EAAE,OAAO,CAAC;IACzB,kCAAkC;IAClC,cAAc,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;IAC7C,8BAA8B;IAC9B,UAAU,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;IACzC,0CAA0C;IAC1C,qBAAqB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACnF,wCAAwC;IACxC,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,4CAA4C;IAC5C,iBAAiB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IACtG,mDAAmD;IACnD,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;CACjF;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,YAAY,EACZ,WAAW,EACX,QAAQ,GACT,EAAE,wBAAwB,GAAG,uBAAuB,CAwRpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder-canvas.d.ts","sourceRoot":"","sources":["../../../src/experimental-components/dashboard-builder/builder-canvas.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"builder-canvas.d.ts","sourceRoot":"","sources":["../../../src/experimental-components/dashboard-builder/builder-canvas.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAYhI,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,OAAO,EAAE,qBAAqB,EAAE,CAAC;IAC1C,QAAQ,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,QAAQ,CAAC,WAAW,EAAE,kBAAkB,CAAC;IACzC,QAAQ,CAAC,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3D,QAAQ,CAAC,YAAY,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,KAAK,IAAI,CAAC;IAC5E,QAAQ,CAAC,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,QAAQ,CAAC,WAAW,EAAE,CAAC,aAAa,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,KAAK,IAAI,CAAC;IACnH,QAAQ,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAC;IAC9B,mDAAmD;IACnD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK;QAAE,YAAY,EAAE,OAAO,CAAC;QAAC,gBAAgB,EAAE,OAAO,CAAC;QAAC,YAAY,EAAE,OAAO,CAAA;KAAE,CAAC;IAC3I,6EAA6E;IAC7E,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACjC;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA6JtD,CAAC"}
|
|
@@ -18,5 +18,6 @@ export declare function useDashboardBuilderState(initialConfig?: DashboardConfig
|
|
|
18
18
|
setName: (name: string) => void;
|
|
19
19
|
setFilters: (filters: DashboardConfig["filters"]) => void;
|
|
20
20
|
resetConfig: (newConfig?: DashboardConfig) => void;
|
|
21
|
+
loadConfig: (newConfig: DashboardConfig) => void;
|
|
21
22
|
};
|
|
22
23
|
//# sourceMappingURL=dashboard-builder-hooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-builder-hooks.d.ts","sourceRoot":"","sources":["../../../src/experimental-components/dashboard-builder/dashboard-builder-hooks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACtB,MAAM,2BAA2B,CAAC;AAuBnC;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,aAAa,CAAC,EAAE,eAAe;;;;+BAepD,mBAAmB,gBAAgB,MAAM,YAAY,cAAc;6BAiBxE,MAAM;6BAYN,MAAM,SAAS,OAAO,CAAC,qBAAqB,CAAC;2BAa7C,MAAM,YAAY,cAAc;6BAQD,MAAM,GAAG,IAAI;;oBAQtB,MAAM;0BAM7B,eAAe,CAAC,SAAS,CAAC;8BAOO,eAAe;
|
|
1
|
+
{"version":3,"file":"dashboard-builder-hooks.d.ts","sourceRoot":"","sources":["../../../src/experimental-components/dashboard-builder/dashboard-builder-hooks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACtB,MAAM,2BAA2B,CAAC;AAuBnC;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,aAAa,CAAC,EAAE,eAAe;;;;+BAepD,mBAAmB,gBAAgB,MAAM,YAAY,cAAc;6BAiBxE,MAAM;6BAYN,MAAM,SAAS,OAAO,CAAC,qBAAqB,CAAC;2BAa7C,MAAM,YAAY,cAAc;6BAQD,MAAM,GAAG,IAAI;;oBAQtB,MAAM;0BAM7B,eAAe,CAAC,SAAS,CAAC;8BAOO,eAAe;4BAMjB,eAAe;EA8B3D"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { FilterGroup } from '../../data-components/filter/filter-types';
|
|
2
2
|
import { DataStructureColumn } from '../../data-components/data-structure/data-structure';
|
|
3
3
|
import { DataStructureUIConfig } from '../../data-components/ui-layer/ui-layer-types';
|
|
4
|
+
/**
|
|
5
|
+
* Current version of the dashboard config schema.
|
|
6
|
+
* Templates with a different version are rejected to avoid incompatibilities.
|
|
7
|
+
*/
|
|
8
|
+
export declare const DASHBOARD_CONFIG_VERSION = 1;
|
|
4
9
|
/**
|
|
5
10
|
* A widget type that can be placed on the dashboard canvas.
|
|
6
11
|
*/
|
|
@@ -42,7 +47,7 @@ export interface DashboardWidgetConfig {
|
|
|
42
47
|
/** Widget-level filters (combined with global filters) */
|
|
43
48
|
filters?: FilterGroup | null;
|
|
44
49
|
/** Conditional styling rules */
|
|
45
|
-
uiConfig?: DataStructureUIConfig<object
|
|
50
|
+
uiConfig?: DataStructureUIConfig<object> | null;
|
|
46
51
|
/** Component-specific props (e.g. enableSorting, chart type, calendar view) */
|
|
47
52
|
componentProps?: Record<string, unknown>;
|
|
48
53
|
/** Grid position on the canvas */
|
|
@@ -68,13 +73,27 @@ export interface WidgetActionDefaults {
|
|
|
68
73
|
* The full dashboard configuration — what gets saved to DB as JSONB.
|
|
69
74
|
*/
|
|
70
75
|
export interface DashboardConfig {
|
|
71
|
-
version:
|
|
76
|
+
version: typeof DASHBOARD_CONFIG_VERSION;
|
|
72
77
|
name: string;
|
|
73
78
|
/** Global filters applied to all widgets */
|
|
74
79
|
filters: FilterGroup | null;
|
|
75
80
|
/** Widgets placed on the dashboard */
|
|
76
81
|
widgets: DashboardWidgetConfig[];
|
|
77
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* A pre-built dashboard template that users can load.
|
|
85
|
+
* Templates are JSON files with a version check to avoid incompatibilities.
|
|
86
|
+
*/
|
|
87
|
+
export interface DashboardTemplate {
|
|
88
|
+
/** Must match DASHBOARD_CONFIG_VERSION to be loadable */
|
|
89
|
+
version: number;
|
|
90
|
+
/** Human-readable template name */
|
|
91
|
+
name: string;
|
|
92
|
+
/** Short description shown in the template picker */
|
|
93
|
+
description: string;
|
|
94
|
+
/** The dashboard config to load (without the version field, which is at template level) */
|
|
95
|
+
config: Omit<DashboardConfig, "version">;
|
|
96
|
+
}
|
|
78
97
|
/**
|
|
79
98
|
* Field format for display and aggregation.
|
|
80
99
|
*/
|
|
@@ -109,6 +128,8 @@ export interface DashboardBuilderProps {
|
|
|
109
128
|
dataSources: DataSourceRegistry;
|
|
110
129
|
/** Initial config to edit (undefined = start from scratch) */
|
|
111
130
|
initialConfig?: DashboardConfig;
|
|
131
|
+
/** Pre-built templates users can load. Only templates with version === DASHBOARD_CONFIG_VERSION are shown. */
|
|
132
|
+
templates?: DashboardTemplate[];
|
|
112
133
|
/** Called when the user saves the dashboard */
|
|
113
134
|
onSave: (config: DashboardConfig) => void;
|
|
114
135
|
/** Called on every config change (for live preview) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-builder-types.d.ts","sourceRoot":"","sources":["../../../src/experimental-components/dashboard-builder/dashboard-builder-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAM3F;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,YAAY,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,GAAG,OAAO,CAAC;AAEvG;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,uBAAuB;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,wBAAwB;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qCAAqC;IACrC,aAAa,EAAE,mBAAmB,CAAC;IACnC,+DAA+D;IAC/D,YAAY,EAAE,MAAM,CAAC;IACrB,+DAA+D;IAC/D,OAAO,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,EAAE,CAAC;IACxC,0DAA0D;IAC1D,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B,gCAAgC;IAChC,QAAQ,CAAC,EAAE,qBAAqB,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"dashboard-builder-types.d.ts","sourceRoot":"","sources":["../../../src/experimental-components/dashboard-builder/dashboard-builder-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAM3F;;;GAGG;AACH,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,YAAY,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,GAAG,OAAO,CAAC;AAEvG;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE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oBAAoB,CAAC;IAC5C,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,eAAe,CAAC;IACxB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-builder.d.ts","sourceRoot":"","sources":["../../../src/experimental-components/dashboard-builder/dashboard-builder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,KAAK,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"dashboard-builder.d.ts","sourceRoot":"","sources":["../../../src/experimental-components/dashboard-builder/dashboard-builder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,KAAK,EAAE,qBAAqB,EAA0C,MAAM,2BAA2B,CAAC;AAW/G;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA2J5D,CAAC"}
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { WidgetComponentType } from './dashboard-builder-types';
|
|
3
|
-
/**
|
|
4
|
-
* Available widget types shown in the palette.
|
|
5
|
-
*/
|
|
6
|
-
export declare const WIDGET_TYPES: {
|
|
7
|
-
type: WidgetComponentType;
|
|
8
|
-
label: string;
|
|
9
|
-
icon: string;
|
|
10
|
-
description: string;
|
|
11
|
-
}[];
|
|
12
3
|
interface WidgetPaletteProps {
|
|
13
4
|
readonly onAddWidget: (componentType: WidgetComponentType, dataSourceId: string, position: {
|
|
14
5
|
col: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-palette.d.ts","sourceRoot":"","sources":["../../../src/experimental-components/dashboard-builder/widget-palette.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"widget-palette.d.ts","sourceRoot":"","sources":["../../../src/experimental-components/dashboard-builder/widget-palette.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAMrE,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,WAAW,EAAE,CAAC,aAAa,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CACxJ;AAED;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA+BtD,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export { Banner } from './components/banner/banner';
|
|
|
4
4
|
export type { BannerProps } from './components/banner/banner-types';
|
|
5
5
|
export { Button } from './components/button/button';
|
|
6
6
|
export type { ButtonProps } from './components/button/button-types';
|
|
7
|
+
export { ButtonDropdown } from './components/button-dropdown/button-dropdown';
|
|
8
|
+
export type { ButtonDropdownProps } from './components/button-dropdown/button-dropdown-types';
|
|
7
9
|
export { Checkbox } from './components/checkbox/checkbox';
|
|
8
10
|
export type { CheckboxProps } from './components/checkbox/checkbox-types';
|
|
9
11
|
export { CheckboxGroup } from './components/checkbox-group/checkbox-group';
|
|
@@ -70,7 +72,7 @@ export type { DataStructureComponent, DataStructureColumn, } from './data-compon
|
|
|
70
72
|
export type { DataStructureUIConfig, DataStructureUIColumn, DataStructureUIRule, ResolvedCellUI, UIRuleOperator, } from './data-components/ui-layer/ui-layer-types';
|
|
71
73
|
export { buildUIMap, useUIMap } from './data-components/ui-layer/ui-layer-utils';
|
|
72
74
|
export { CellType } from './types/global-types';
|
|
73
|
-
export type { Option, Size, State } from './types/global-types';
|
|
75
|
+
export type { Option, Size, State, ListItemVariant } from './types/global-types';
|
|
74
76
|
export { DatePicker } from './components/input/date/date-picker';
|
|
75
77
|
export { DateRangePicker } from './components/input/date/date-range-picker';
|
|
76
78
|
export type { DatePickerProps, DateRangePickerProps, DatePickerMode } from './components/input/date/date-types';
|
|
@@ -96,6 +98,8 @@ export { Calendar } from './data-components/calendar/calendar';
|
|
|
96
98
|
export type { CalendarProps } from './data-components/calendar/calendar-types';
|
|
97
99
|
export { Form } from './data-components/form/form';
|
|
98
100
|
export type { FormProps, FormColumn, FormChangeResponse, FormColumnDelta } from './data-components/form/form-types';
|
|
101
|
+
export { SelectionGrid } from './components/selection-grid/selection-grid';
|
|
102
|
+
export type { SelectionGridProps } from './components/selection-grid/selection-grid-types';
|
|
99
103
|
export { CardList } from './data-components/card-list/card-list';
|
|
100
104
|
export type { CardListProps } from './data-components/card-list/card-list-types';
|
|
101
105
|
export { Switcher } from './data-components/switcher/switcher';
|
|
@@ -123,5 +127,6 @@ export { useDashboard } from './framework-components/dashboard/dashboard-context
|
|
|
123
127
|
export { DashboardWidget } from './framework-components/dashboard/dashboard-widget';
|
|
124
128
|
export type { DashboardWidgetProps, DashboardWidgetRenderPayload } from './framework-components/dashboard/dashboard-widget-types';
|
|
125
129
|
export { DashboardBuilder } from './experimental-components/dashboard-builder/dashboard-builder';
|
|
126
|
-
export type { DashboardBuilderProps, DashboardConfig, DashboardWidgetConfig, WidgetComponentType, WidgetTypeDescriptor, WidgetPosition, WidgetActionDefaults, DataSourceDefinition, DataSourceField, DataSourceRegistry, FieldFormat, DashboardBuilderState, } from './experimental-components/dashboard-builder/dashboard-builder-types';
|
|
130
|
+
export type { DashboardBuilderProps, DashboardConfig, DashboardWidgetConfig, WidgetComponentType, WidgetTypeDescriptor, WidgetPosition, WidgetActionDefaults, DataSourceDefinition, DataSourceField, DataSourceRegistry, FieldFormat, DashboardBuilderState, DashboardTemplate, } from './experimental-components/dashboard-builder/dashboard-builder-types';
|
|
131
|
+
export { DASHBOARD_CONFIG_VERSION } from './experimental-components/dashboard-builder/dashboard-builder-types';
|
|
127
132
|
//# sourceMappingURL=index.d.ts.map
|