@mieweb/ui 0.7.3-dev.16 → 0.7.3-dev.17
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/{chunk-K6CSD3S7.js → chunk-F57VRLKP.js} +239 -29
- package/dist/chunk-F57VRLKP.js.map +1 -0
- package/dist/{chunk-PIQBB2JY.cjs → chunk-YVIH26FG.cjs} +239 -28
- package/dist/chunk-YVIH26FG.cjs.map +1 -0
- package/dist/components/CustomizableDashboard/index.cjs +17 -7
- package/dist/components/CustomizableDashboard/index.d.cts +75 -1
- package/dist/components/CustomizableDashboard/index.d.ts +75 -1
- package/dist/components/CustomizableDashboard/index.js +7 -1
- package/dist/index.cjs +61 -57
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-K6CSD3S7.js.map +0 -1
- package/dist/chunk-PIQBB2JY.cjs.map +0 -1
|
@@ -1,4 +1,59 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
/** Catalog metadata for a widget a user can show or hide on a dashboard. */
|
|
5
|
+
interface WidgetDefinition {
|
|
6
|
+
/** Matches the portlet's `PortletItem.id`. */
|
|
7
|
+
id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
/** Small leading icon, e.g. `<Activity className="h-4 w-4" />`. */
|
|
11
|
+
icon?: React.ReactNode;
|
|
12
|
+
/** Widgets sharing a category are grouped under a heading. */
|
|
13
|
+
category?: string;
|
|
14
|
+
}
|
|
15
|
+
interface DashboardCustomizePanelProps {
|
|
16
|
+
/** Whether the panel is open. */
|
|
17
|
+
open: boolean;
|
|
18
|
+
/** Callback when the panel should open or close. */
|
|
19
|
+
onOpenChange: (open: boolean) => void;
|
|
20
|
+
/** The full widget catalog for this dashboard. */
|
|
21
|
+
widgets: WidgetDefinition[];
|
|
22
|
+
/** Ids of widgets currently hidden. */
|
|
23
|
+
hiddenIds: string[];
|
|
24
|
+
/** Called when a widget is shown (`visible: true`) or hidden. */
|
|
25
|
+
onToggleWidget: (id: string, visible: boolean) => void;
|
|
26
|
+
/** When provided, renders a "Reset layout" action in the footer. */
|
|
27
|
+
onReset?: () => void;
|
|
28
|
+
/** Panel heading (default "Customize dashboard"). */
|
|
29
|
+
title?: string;
|
|
30
|
+
/** Supporting copy under the heading. */
|
|
31
|
+
description?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A slide-in panel listing a dashboard's widget catalog with show/hide
|
|
35
|
+
* toggles, grouped by category, plus an optional layout reset.
|
|
36
|
+
*
|
|
37
|
+
* Used automatically by `CustomizableDashboard` when its `widgets` prop is
|
|
38
|
+
* set, and exported standalone for hosts that render their own trigger or
|
|
39
|
+
* persist visibility elsewhere.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```tsx
|
|
43
|
+
* <DashboardCustomizePanel
|
|
44
|
+
* open={open}
|
|
45
|
+
* onOpenChange={setOpen}
|
|
46
|
+
* widgets={WIDGETS}
|
|
47
|
+
* hiddenIds={hidden}
|
|
48
|
+
* onToggleWidget={(id, visible) =>
|
|
49
|
+
* setHidden((prev) =>
|
|
50
|
+
* visible ? prev.filter((h) => h !== id) : [...prev, id]
|
|
51
|
+
* )
|
|
52
|
+
* }
|
|
53
|
+
* />
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
declare function DashboardCustomizePanel({ open, onOpenChange, widgets, hiddenIds, onToggleWidget, onReset, title, description, }: DashboardCustomizePanelProps): react_jsx_runtime.JSX.Element;
|
|
2
57
|
|
|
3
58
|
/** A dashboard item: a stable id plus the rendered content. */
|
|
4
59
|
interface PortletItem {
|
|
@@ -55,6 +110,20 @@ interface CustomizableDashboardProps {
|
|
|
55
110
|
* header matches, the handle floats over the portlet's top end corner.
|
|
56
111
|
*/
|
|
57
112
|
dragHandleSelector?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Widget catalog metadata. When provided, the toolbar gains a Customize
|
|
115
|
+
* button opening a panel where users show/hide widgets and reset the
|
|
116
|
+
* layout. Ids must match the portlet ids in `columns`.
|
|
117
|
+
*/
|
|
118
|
+
widgets?: WidgetDefinition[];
|
|
119
|
+
/** Initially hidden widget ids for uncontrolled usage. */
|
|
120
|
+
defaultHiddenIds?: string[];
|
|
121
|
+
/** Controlled hidden widget ids. Changes reported via `onHiddenChange`. */
|
|
122
|
+
hiddenIds?: string[];
|
|
123
|
+
/** Called with the full hidden-id list when visibility changes. */
|
|
124
|
+
onHiddenChange?: (hiddenIds: string[]) => void;
|
|
125
|
+
/** Label for the toolbar customize button (default "Customize"). */
|
|
126
|
+
customizeLabel?: string;
|
|
58
127
|
/** Additional class name for the grid element. */
|
|
59
128
|
className?: string;
|
|
60
129
|
}
|
|
@@ -104,6 +173,11 @@ declare function requiredColumns(order: DashboardOrder): DashboardLayout;
|
|
|
104
173
|
* or can be controlled via `order`/`onOrderChange` and
|
|
105
174
|
* `layout`/`onLayoutChange` for server-side persistence.
|
|
106
175
|
*
|
|
176
|
+
* Passing a `widgets` catalog adds a toolbar Customize button opening a
|
|
177
|
+
* `DashboardCustomizePanel` where users show/hide widgets and reset the
|
|
178
|
+
* layout; visibility follows the same persistence rules via
|
|
179
|
+
* `hiddenIds`/`onHiddenChange`.
|
|
180
|
+
*
|
|
107
181
|
* @example
|
|
108
182
|
* ```tsx
|
|
109
183
|
* <CustomizableDashboard
|
|
@@ -118,4 +192,4 @@ declare function requiredColumns(order: DashboardOrder): DashboardLayout;
|
|
|
118
192
|
*/
|
|
119
193
|
declare const CustomizableDashboard: React.ForwardRefExoticComponent<CustomizableDashboardProps & React.RefAttributes<HTMLDivElement>>;
|
|
120
194
|
|
|
121
|
-
export { CustomizableDashboard, type CustomizableDashboardProps, type DashboardColumns, type DashboardLayout, type DashboardOrder, type PortletItem, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns };
|
|
195
|
+
export { CustomizableDashboard, type CustomizableDashboardProps, type DashboardColumns, DashboardCustomizePanel, type DashboardCustomizePanelProps, type DashboardLayout, type DashboardOrder, type PortletItem, type WidgetDefinition, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns };
|
|
@@ -1,4 +1,59 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
/** Catalog metadata for a widget a user can show or hide on a dashboard. */
|
|
5
|
+
interface WidgetDefinition {
|
|
6
|
+
/** Matches the portlet's `PortletItem.id`. */
|
|
7
|
+
id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
/** Small leading icon, e.g. `<Activity className="h-4 w-4" />`. */
|
|
11
|
+
icon?: React.ReactNode;
|
|
12
|
+
/** Widgets sharing a category are grouped under a heading. */
|
|
13
|
+
category?: string;
|
|
14
|
+
}
|
|
15
|
+
interface DashboardCustomizePanelProps {
|
|
16
|
+
/** Whether the panel is open. */
|
|
17
|
+
open: boolean;
|
|
18
|
+
/** Callback when the panel should open or close. */
|
|
19
|
+
onOpenChange: (open: boolean) => void;
|
|
20
|
+
/** The full widget catalog for this dashboard. */
|
|
21
|
+
widgets: WidgetDefinition[];
|
|
22
|
+
/** Ids of widgets currently hidden. */
|
|
23
|
+
hiddenIds: string[];
|
|
24
|
+
/** Called when a widget is shown (`visible: true`) or hidden. */
|
|
25
|
+
onToggleWidget: (id: string, visible: boolean) => void;
|
|
26
|
+
/** When provided, renders a "Reset layout" action in the footer. */
|
|
27
|
+
onReset?: () => void;
|
|
28
|
+
/** Panel heading (default "Customize dashboard"). */
|
|
29
|
+
title?: string;
|
|
30
|
+
/** Supporting copy under the heading. */
|
|
31
|
+
description?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A slide-in panel listing a dashboard's widget catalog with show/hide
|
|
35
|
+
* toggles, grouped by category, plus an optional layout reset.
|
|
36
|
+
*
|
|
37
|
+
* Used automatically by `CustomizableDashboard` when its `widgets` prop is
|
|
38
|
+
* set, and exported standalone for hosts that render their own trigger or
|
|
39
|
+
* persist visibility elsewhere.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```tsx
|
|
43
|
+
* <DashboardCustomizePanel
|
|
44
|
+
* open={open}
|
|
45
|
+
* onOpenChange={setOpen}
|
|
46
|
+
* widgets={WIDGETS}
|
|
47
|
+
* hiddenIds={hidden}
|
|
48
|
+
* onToggleWidget={(id, visible) =>
|
|
49
|
+
* setHidden((prev) =>
|
|
50
|
+
* visible ? prev.filter((h) => h !== id) : [...prev, id]
|
|
51
|
+
* )
|
|
52
|
+
* }
|
|
53
|
+
* />
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
declare function DashboardCustomizePanel({ open, onOpenChange, widgets, hiddenIds, onToggleWidget, onReset, title, description, }: DashboardCustomizePanelProps): react_jsx_runtime.JSX.Element;
|
|
2
57
|
|
|
3
58
|
/** A dashboard item: a stable id plus the rendered content. */
|
|
4
59
|
interface PortletItem {
|
|
@@ -55,6 +110,20 @@ interface CustomizableDashboardProps {
|
|
|
55
110
|
* header matches, the handle floats over the portlet's top end corner.
|
|
56
111
|
*/
|
|
57
112
|
dragHandleSelector?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Widget catalog metadata. When provided, the toolbar gains a Customize
|
|
115
|
+
* button opening a panel where users show/hide widgets and reset the
|
|
116
|
+
* layout. Ids must match the portlet ids in `columns`.
|
|
117
|
+
*/
|
|
118
|
+
widgets?: WidgetDefinition[];
|
|
119
|
+
/** Initially hidden widget ids for uncontrolled usage. */
|
|
120
|
+
defaultHiddenIds?: string[];
|
|
121
|
+
/** Controlled hidden widget ids. Changes reported via `onHiddenChange`. */
|
|
122
|
+
hiddenIds?: string[];
|
|
123
|
+
/** Called with the full hidden-id list when visibility changes. */
|
|
124
|
+
onHiddenChange?: (hiddenIds: string[]) => void;
|
|
125
|
+
/** Label for the toolbar customize button (default "Customize"). */
|
|
126
|
+
customizeLabel?: string;
|
|
58
127
|
/** Additional class name for the grid element. */
|
|
59
128
|
className?: string;
|
|
60
129
|
}
|
|
@@ -104,6 +173,11 @@ declare function requiredColumns(order: DashboardOrder): DashboardLayout;
|
|
|
104
173
|
* or can be controlled via `order`/`onOrderChange` and
|
|
105
174
|
* `layout`/`onLayoutChange` for server-side persistence.
|
|
106
175
|
*
|
|
176
|
+
* Passing a `widgets` catalog adds a toolbar Customize button opening a
|
|
177
|
+
* `DashboardCustomizePanel` where users show/hide widgets and reset the
|
|
178
|
+
* layout; visibility follows the same persistence rules via
|
|
179
|
+
* `hiddenIds`/`onHiddenChange`.
|
|
180
|
+
*
|
|
107
181
|
* @example
|
|
108
182
|
* ```tsx
|
|
109
183
|
* <CustomizableDashboard
|
|
@@ -118,4 +192,4 @@ declare function requiredColumns(order: DashboardOrder): DashboardLayout;
|
|
|
118
192
|
*/
|
|
119
193
|
declare const CustomizableDashboard: React.ForwardRefExoticComponent<CustomizableDashboardProps & React.RefAttributes<HTMLDivElement>>;
|
|
120
194
|
|
|
121
|
-
export { CustomizableDashboard, type CustomizableDashboardProps, type DashboardColumns, type DashboardLayout, type DashboardOrder, type PortletItem, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns };
|
|
195
|
+
export { CustomizableDashboard, type CustomizableDashboardProps, type DashboardColumns, DashboardCustomizePanel, type DashboardCustomizePanelProps, type DashboardLayout, type DashboardOrder, type PortletItem, type WidgetDefinition, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns };
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
export { CustomizableDashboard, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from '../../chunk-
|
|
1
|
+
export { CustomizableDashboard, DashboardCustomizePanel, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from '../../chunk-F57VRLKP.js';
|
|
2
|
+
import '../../chunk-AQ564XO7.js';
|
|
3
|
+
import '../../chunk-LMBXJZLG.js';
|
|
4
|
+
import '../../chunk-D2GID3YK.js';
|
|
5
|
+
import '../../chunk-4SMSH4OY.js';
|
|
6
|
+
import '../../chunk-T4ME7QCT.js';
|
|
2
7
|
import '../../chunk-TQONQSJO.js';
|
|
8
|
+
import '../../chunk-VSQF22GL.js';
|
|
3
9
|
//# sourceMappingURL=index.js.map
|
|
4
10
|
//# sourceMappingURL=index.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -19,7 +19,6 @@ var chunkXXVUHLQN_cjs = require('./chunk-XXVUHLQN.cjs');
|
|
|
19
19
|
var chunkXS35KPBZ_cjs = require('./chunk-XS35KPBZ.cjs');
|
|
20
20
|
var chunkRYQ3S3KO_cjs = require('./chunk-RYQ3S3KO.cjs');
|
|
21
21
|
var chunk26DPQUSB_cjs = require('./chunk-26DPQUSB.cjs');
|
|
22
|
-
var chunkPLMXN23Q_cjs = require('./chunk-PLMXN23Q.cjs');
|
|
23
22
|
var chunkIJYTASQQ_cjs = require('./chunk-IJYTASQQ.cjs');
|
|
24
23
|
var chunkP7UMS4E6_cjs = require('./chunk-P7UMS4E6.cjs');
|
|
25
24
|
var chunk3IAA3KCE_cjs = require('./chunk-3IAA3KCE.cjs');
|
|
@@ -27,7 +26,6 @@ var chunkKVE7PQ5P_cjs = require('./chunk-KVE7PQ5P.cjs');
|
|
|
27
26
|
var chunk3SZQRMHM_cjs = require('./chunk-3SZQRMHM.cjs');
|
|
28
27
|
var chunkOZOSWBSI_cjs = require('./chunk-OZOSWBSI.cjs');
|
|
29
28
|
var chunkYP5T6NZD_cjs = require('./chunk-YP5T6NZD.cjs');
|
|
30
|
-
var chunkRS5VA6QU_cjs = require('./chunk-RS5VA6QU.cjs');
|
|
31
29
|
var chunkYGA35Z2P_cjs = require('./chunk-YGA35Z2P.cjs');
|
|
32
30
|
var chunk4AE2L6AO_cjs = require('./chunk-4AE2L6AO.cjs');
|
|
33
31
|
var chunkGQVL2JKQ_cjs = require('./chunk-GQVL2JKQ.cjs');
|
|
@@ -52,7 +50,9 @@ var chunk7AECNMYV_cjs = require('./chunk-7AECNMYV.cjs');
|
|
|
52
50
|
var chunkX4LBUPJO_cjs = require('./chunk-X4LBUPJO.cjs');
|
|
53
51
|
var chunkIUDY6S7I_cjs = require('./chunk-IUDY6S7I.cjs');
|
|
54
52
|
var chunkSPWVKDGC_cjs = require('./chunk-SPWVKDGC.cjs');
|
|
55
|
-
var
|
|
53
|
+
var chunkYVIH26FG_cjs = require('./chunk-YVIH26FG.cjs');
|
|
54
|
+
var chunkPLMXN23Q_cjs = require('./chunk-PLMXN23Q.cjs');
|
|
55
|
+
var chunkRS5VA6QU_cjs = require('./chunk-RS5VA6QU.cjs');
|
|
56
56
|
var chunkGJD4OW7P_cjs = require('./chunk-GJD4OW7P.cjs');
|
|
57
57
|
var chunkEPQPUFS6_cjs = require('./chunk-EPQPUFS6.cjs');
|
|
58
58
|
var chunkTVLZZI5Q_cjs = require('./chunk-TVLZZI5Q.cjs');
|
|
@@ -44640,18 +44640,6 @@ Object.defineProperty(exports, "validateFile", {
|
|
|
44640
44640
|
enumerable: true,
|
|
44641
44641
|
get: function () { return chunk26DPQUSB_cjs.validateFile; }
|
|
44642
44642
|
});
|
|
44643
|
-
Object.defineProperty(exports, "Switch", {
|
|
44644
|
-
enumerable: true,
|
|
44645
|
-
get: function () { return chunkPLMXN23Q_cjs.Switch; }
|
|
44646
|
-
});
|
|
44647
|
-
Object.defineProperty(exports, "switchThumbVariants", {
|
|
44648
|
-
enumerable: true,
|
|
44649
|
-
get: function () { return chunkPLMXN23Q_cjs.switchThumbVariants; }
|
|
44650
|
-
});
|
|
44651
|
-
Object.defineProperty(exports, "switchTrackVariants", {
|
|
44652
|
-
enumerable: true,
|
|
44653
|
-
get: function () { return chunkPLMXN23Q_cjs.switchTrackVariants; }
|
|
44654
|
-
});
|
|
44655
44643
|
Object.defineProperty(exports, "Table", {
|
|
44656
44644
|
enumerable: true,
|
|
44657
44645
|
get: function () { return chunkIJYTASQQ_cjs.Table; }
|
|
@@ -44784,42 +44772,6 @@ Object.defineProperty(exports, "separatorVariants", {
|
|
|
44784
44772
|
enumerable: true,
|
|
44785
44773
|
get: function () { return chunkYP5T6NZD_cjs.separatorVariants; }
|
|
44786
44774
|
});
|
|
44787
|
-
Object.defineProperty(exports, "Sheet", {
|
|
44788
|
-
enumerable: true,
|
|
44789
|
-
get: function () { return chunkRS5VA6QU_cjs.Sheet; }
|
|
44790
|
-
});
|
|
44791
|
-
Object.defineProperty(exports, "SheetBody", {
|
|
44792
|
-
enumerable: true,
|
|
44793
|
-
get: function () { return chunkRS5VA6QU_cjs.SheetBody; }
|
|
44794
|
-
});
|
|
44795
|
-
Object.defineProperty(exports, "SheetClose", {
|
|
44796
|
-
enumerable: true,
|
|
44797
|
-
get: function () { return chunkRS5VA6QU_cjs.SheetClose; }
|
|
44798
|
-
});
|
|
44799
|
-
Object.defineProperty(exports, "SheetDescription", {
|
|
44800
|
-
enumerable: true,
|
|
44801
|
-
get: function () { return chunkRS5VA6QU_cjs.SheetDescription; }
|
|
44802
|
-
});
|
|
44803
|
-
Object.defineProperty(exports, "SheetFooter", {
|
|
44804
|
-
enumerable: true,
|
|
44805
|
-
get: function () { return chunkRS5VA6QU_cjs.SheetFooter; }
|
|
44806
|
-
});
|
|
44807
|
-
Object.defineProperty(exports, "SheetHeader", {
|
|
44808
|
-
enumerable: true,
|
|
44809
|
-
get: function () { return chunkRS5VA6QU_cjs.SheetHeader; }
|
|
44810
|
-
});
|
|
44811
|
-
Object.defineProperty(exports, "SheetTitle", {
|
|
44812
|
-
enumerable: true,
|
|
44813
|
-
get: function () { return chunkRS5VA6QU_cjs.SheetTitle; }
|
|
44814
|
-
});
|
|
44815
|
-
Object.defineProperty(exports, "sheetContentVariants", {
|
|
44816
|
-
enumerable: true,
|
|
44817
|
-
get: function () { return chunkRS5VA6QU_cjs.sheetContentVariants; }
|
|
44818
|
-
});
|
|
44819
|
-
Object.defineProperty(exports, "sheetOverlayVariants", {
|
|
44820
|
-
enumerable: true,
|
|
44821
|
-
get: function () { return chunkRS5VA6QU_cjs.sheetOverlayVariants; }
|
|
44822
|
-
});
|
|
44823
44775
|
Object.defineProperty(exports, "Skeleton", {
|
|
44824
44776
|
enumerable: true,
|
|
44825
44777
|
get: function () { return chunkYGA35Z2P_cjs.Skeleton; }
|
|
@@ -45086,27 +45038,79 @@ Object.defineProperty(exports, "validatePhoneNumber", {
|
|
|
45086
45038
|
});
|
|
45087
45039
|
Object.defineProperty(exports, "CustomizableDashboard", {
|
|
45088
45040
|
enumerable: true,
|
|
45089
|
-
get: function () { return
|
|
45041
|
+
get: function () { return chunkYVIH26FG_cjs.CustomizableDashboard; }
|
|
45042
|
+
});
|
|
45043
|
+
Object.defineProperty(exports, "DashboardCustomizePanel", {
|
|
45044
|
+
enumerable: true,
|
|
45045
|
+
get: function () { return chunkYVIH26FG_cjs.DashboardCustomizePanel; }
|
|
45090
45046
|
});
|
|
45091
45047
|
Object.defineProperty(exports, "consolidateColumns", {
|
|
45092
45048
|
enumerable: true,
|
|
45093
|
-
get: function () { return
|
|
45049
|
+
get: function () { return chunkYVIH26FG_cjs.consolidateColumns; }
|
|
45094
45050
|
});
|
|
45095
45051
|
Object.defineProperty(exports, "mergeColumnOrder", {
|
|
45096
45052
|
enumerable: true,
|
|
45097
|
-
get: function () { return
|
|
45053
|
+
get: function () { return chunkYVIH26FG_cjs.mergeColumnOrder; }
|
|
45098
45054
|
});
|
|
45099
45055
|
Object.defineProperty(exports, "moveAcrossColumns", {
|
|
45100
45056
|
enumerable: true,
|
|
45101
|
-
get: function () { return
|
|
45057
|
+
get: function () { return chunkYVIH26FG_cjs.moveAcrossColumns; }
|
|
45102
45058
|
});
|
|
45103
45059
|
Object.defineProperty(exports, "reorderOnDrop", {
|
|
45104
45060
|
enumerable: true,
|
|
45105
|
-
get: function () { return
|
|
45061
|
+
get: function () { return chunkYVIH26FG_cjs.reorderOnDrop; }
|
|
45106
45062
|
});
|
|
45107
45063
|
Object.defineProperty(exports, "requiredColumns", {
|
|
45108
45064
|
enumerable: true,
|
|
45109
|
-
get: function () { return
|
|
45065
|
+
get: function () { return chunkYVIH26FG_cjs.requiredColumns; }
|
|
45066
|
+
});
|
|
45067
|
+
Object.defineProperty(exports, "Switch", {
|
|
45068
|
+
enumerable: true,
|
|
45069
|
+
get: function () { return chunkPLMXN23Q_cjs.Switch; }
|
|
45070
|
+
});
|
|
45071
|
+
Object.defineProperty(exports, "switchThumbVariants", {
|
|
45072
|
+
enumerable: true,
|
|
45073
|
+
get: function () { return chunkPLMXN23Q_cjs.switchThumbVariants; }
|
|
45074
|
+
});
|
|
45075
|
+
Object.defineProperty(exports, "switchTrackVariants", {
|
|
45076
|
+
enumerable: true,
|
|
45077
|
+
get: function () { return chunkPLMXN23Q_cjs.switchTrackVariants; }
|
|
45078
|
+
});
|
|
45079
|
+
Object.defineProperty(exports, "Sheet", {
|
|
45080
|
+
enumerable: true,
|
|
45081
|
+
get: function () { return chunkRS5VA6QU_cjs.Sheet; }
|
|
45082
|
+
});
|
|
45083
|
+
Object.defineProperty(exports, "SheetBody", {
|
|
45084
|
+
enumerable: true,
|
|
45085
|
+
get: function () { return chunkRS5VA6QU_cjs.SheetBody; }
|
|
45086
|
+
});
|
|
45087
|
+
Object.defineProperty(exports, "SheetClose", {
|
|
45088
|
+
enumerable: true,
|
|
45089
|
+
get: function () { return chunkRS5VA6QU_cjs.SheetClose; }
|
|
45090
|
+
});
|
|
45091
|
+
Object.defineProperty(exports, "SheetDescription", {
|
|
45092
|
+
enumerable: true,
|
|
45093
|
+
get: function () { return chunkRS5VA6QU_cjs.SheetDescription; }
|
|
45094
|
+
});
|
|
45095
|
+
Object.defineProperty(exports, "SheetFooter", {
|
|
45096
|
+
enumerable: true,
|
|
45097
|
+
get: function () { return chunkRS5VA6QU_cjs.SheetFooter; }
|
|
45098
|
+
});
|
|
45099
|
+
Object.defineProperty(exports, "SheetHeader", {
|
|
45100
|
+
enumerable: true,
|
|
45101
|
+
get: function () { return chunkRS5VA6QU_cjs.SheetHeader; }
|
|
45102
|
+
});
|
|
45103
|
+
Object.defineProperty(exports, "SheetTitle", {
|
|
45104
|
+
enumerable: true,
|
|
45105
|
+
get: function () { return chunkRS5VA6QU_cjs.SheetTitle; }
|
|
45106
|
+
});
|
|
45107
|
+
Object.defineProperty(exports, "sheetContentVariants", {
|
|
45108
|
+
enumerable: true,
|
|
45109
|
+
get: function () { return chunkRS5VA6QU_cjs.sheetContentVariants; }
|
|
45110
|
+
});
|
|
45111
|
+
Object.defineProperty(exports, "sheetOverlayVariants", {
|
|
45112
|
+
enumerable: true,
|
|
45113
|
+
get: function () { return chunkRS5VA6QU_cjs.sheetOverlayVariants; }
|
|
45110
45114
|
});
|
|
45111
45115
|
Object.defineProperty(exports, "miewebUIPreset", {
|
|
45112
45116
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -23,7 +23,7 @@ export { CollabLogEntry, CollabLogKind, CollabPeer, CollabRemoteEdit, CollabRoom
|
|
|
23
23
|
export { Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerProps } from './components/Collapsible/index.cjs';
|
|
24
24
|
import { CountryCodeDropdownProps } from './components/CountryCodeDropdown/index.cjs';
|
|
25
25
|
export { CountryCodeDropdown, CountryData, formatE164, validatePhoneNumber } from './components/CountryCodeDropdown/index.cjs';
|
|
26
|
-
export { CustomizableDashboard, CustomizableDashboardProps, DashboardColumns, DashboardLayout, DashboardOrder, PortletItem, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './components/CustomizableDashboard/index.cjs';
|
|
26
|
+
export { CustomizableDashboard, CustomizableDashboardProps, DashboardColumns, DashboardCustomizePanel, DashboardCustomizePanelProps, DashboardLayout, DashboardOrder, PortletItem, WidgetDefinition, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './components/CustomizableDashboard/index.cjs';
|
|
27
27
|
export { DateInput, DateInputMode, DateInputProps, DateInputType } from './components/DateInput/index.cjs';
|
|
28
28
|
export { Dropdown, DropdownContent, DropdownContentProps, DropdownHeader, DropdownHeaderProps, DropdownItem, DropdownItemProps, DropdownLabel, DropdownPlacement, DropdownProps, DropdownSeparator } from './components/Dropdown/index.cjs';
|
|
29
29
|
export { FloatingWindow, FloatingWindowProps, MinimizedWindow, MinimizedWindowProps } from './components/FloatingWindow/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export { CollabLogEntry, CollabLogKind, CollabPeer, CollabRemoteEdit, CollabRoom
|
|
|
23
23
|
export { Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerProps } from './components/Collapsible/index.js';
|
|
24
24
|
import { CountryCodeDropdownProps } from './components/CountryCodeDropdown/index.js';
|
|
25
25
|
export { CountryCodeDropdown, CountryData, formatE164, validatePhoneNumber } from './components/CountryCodeDropdown/index.js';
|
|
26
|
-
export { CustomizableDashboard, CustomizableDashboardProps, DashboardColumns, DashboardLayout, DashboardOrder, PortletItem, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './components/CustomizableDashboard/index.js';
|
|
26
|
+
export { CustomizableDashboard, CustomizableDashboardProps, DashboardColumns, DashboardCustomizePanel, DashboardCustomizePanelProps, DashboardLayout, DashboardOrder, PortletItem, WidgetDefinition, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './components/CustomizableDashboard/index.js';
|
|
27
27
|
export { DateInput, DateInputMode, DateInputProps, DateInputType } from './components/DateInput/index.js';
|
|
28
28
|
export { Dropdown, DropdownContent, DropdownContentProps, DropdownHeader, DropdownHeaderProps, DropdownItem, DropdownItemProps, DropdownLabel, DropdownPlacement, DropdownProps, DropdownSeparator } from './components/Dropdown/index.js';
|
|
29
29
|
export { FloatingWindow, FloatingWindowProps, MinimizedWindow, MinimizedWindowProps } from './components/FloatingWindow/index.js';
|
package/dist/index.js
CHANGED
|
@@ -21,8 +21,6 @@ import { EmptyState } from './chunk-FDV7EQWH.js';
|
|
|
21
21
|
export { AttachmentPreview, ConversationHeader, ConversationListItem, ConversationListSkeleton, DateSeparator, EmptyState, LightboxModal, LoadMoreButton, MessageBubble, MessageList, MessageStatusIcon, MessageThread, MessagingSplitView, ReadReceiptIndicator, SkeletonMessage, TypingIndicator, bubbleVariants, formatDateLabel, formatFileSize, formatLastSeen, getConversationSubtitle, getConversationTitle, groupMessagesByDate, headerVariants, isSameSenderGroup, useMessageScroll, useMessages, useReadReceipts, useTypingIndicator } from './chunk-FDV7EQWH.js';
|
|
22
22
|
import { MessageComposer } from './chunk-EKRT7K2K.js';
|
|
23
23
|
export { AttachmentPicker, AttachmentPreviewItem, CameraButton, CharacterCounter, DragDropZone, MessageComposer, SendButton, generateAttachmentId, getFileType, sendButtonVariants, validateFile } from './chunk-EKRT7K2K.js';
|
|
24
|
-
import { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
|
|
25
|
-
export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
|
|
26
24
|
import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from './chunk-TNUL4LGG.js';
|
|
27
25
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-TNUL4LGG.js';
|
|
28
26
|
import { Tabs, TabsList, TabsTrigger, TabsContent } from './chunk-DVOQ3JNO.js';
|
|
@@ -33,7 +31,6 @@ export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from
|
|
|
33
31
|
export { DateButton, DatePicker, RadioOption, SchedulePicker, TimeButton, TimePicker, dateButtonVariants, radioOptionVariants, timeButtonVariants } from './chunk-23AYDOCH.js';
|
|
34
32
|
export { ScrollArea, scrollAreaVariants } from './chunk-HS25RPDW.js';
|
|
35
33
|
export { Separator, separatorVariants } from './chunk-OQWZYKJM.js';
|
|
36
|
-
export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from './chunk-LMBXJZLG.js';
|
|
37
34
|
import { Skeleton } from './chunk-ZIUADGAR.js';
|
|
38
35
|
export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants } from './chunk-ZIUADGAR.js';
|
|
39
36
|
export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-FDUA6OGN.js';
|
|
@@ -64,7 +61,10 @@ export { CollabStatus, defaultCollabStatusLabels, useYjsCollabStatus } from './c
|
|
|
64
61
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-BJKAVWED.js';
|
|
65
62
|
import { CountryDropdownBase } from './chunk-4PIW3Y5M.js';
|
|
66
63
|
export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-4PIW3Y5M.js';
|
|
67
|
-
export { CustomizableDashboard, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './chunk-
|
|
64
|
+
export { CustomizableDashboard, DashboardCustomizePanel, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './chunk-F57VRLKP.js';
|
|
65
|
+
import { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
|
|
66
|
+
export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
|
|
67
|
+
export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from './chunk-LMBXJZLG.js';
|
|
68
68
|
export { miewebUIPreset, miewebUISafelist } from './chunk-CKZX6IQN.js';
|
|
69
69
|
import { Alert, AlertTitle, AlertDescription } from './chunk-6EWJGRC3.js';
|
|
70
70
|
export { Alert, AlertDescription, AlertTitle, alertVariants } from './chunk-6EWJGRC3.js';
|