@dtducas/wh-forge-viewer 3.0.0-beta.5 → 3.0.0-beta.6
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/index.d.ts +20 -0
- package/dist/index.esm.js +19611 -17340
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +19612 -17339
- package/dist/index.js.map +1 -1
- package/package.json +11 -3
package/dist/index.d.ts
CHANGED
|
@@ -500,6 +500,26 @@ declare module '@dtducas/wh-forge-viewer' {
|
|
|
500
500
|
*/
|
|
501
501
|
export function ViewerForgePDF(props: IViewerForgePDFProps): JSX.Element;
|
|
502
502
|
|
|
503
|
+
/**
|
|
504
|
+
* MarkupItemRow — renders a single markup list row (thumbnail + per-tool icon +
|
|
505
|
+
* label + author + date + publish status), identical to the rows in the Markups
|
|
506
|
+
* panel. Exported for reuse in external company-grouped filter panels.
|
|
507
|
+
*/
|
|
508
|
+
export function MarkupItemRow(props: {
|
|
509
|
+
item: {
|
|
510
|
+
id: string;
|
|
511
|
+
kind: string;
|
|
512
|
+
title?: string;
|
|
513
|
+
authorName?: string;
|
|
514
|
+
authorCompany?: string;
|
|
515
|
+
createdAt?: number;
|
|
516
|
+
isPublished?: boolean;
|
|
517
|
+
color?: string;
|
|
518
|
+
};
|
|
519
|
+
onClick?: (id: string) => void;
|
|
520
|
+
isSelected?: boolean;
|
|
521
|
+
}): JSX.Element;
|
|
522
|
+
|
|
503
523
|
// ========================================
|
|
504
524
|
// EventBus for page change events
|
|
505
525
|
// ========================================
|