@memberjunction/ng-whiteboard 5.51.1 → 5.51.3
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/README.md +5 -0
- package/dist/lib/whiteboard-board.component.d.ts +11 -3
- package/dist/lib/whiteboard-board.component.d.ts.map +1 -1
- package/dist/lib/whiteboard-board.component.js +12 -3
- package/dist/lib/whiteboard-board.component.js.map +1 -1
- package/dist/lib/whiteboard-context-menu.d.ts +2 -1
- package/dist/lib/whiteboard-context-menu.d.ts.map +1 -1
- package/dist/lib/whiteboard-context-menu.js +11 -7
- package/dist/lib/whiteboard-context-menu.js.map +1 -1
- package/dist/lib/whiteboard-host.component.d.ts +72 -3
- package/dist/lib/whiteboard-host.component.d.ts.map +1 -1
- package/dist/lib/whiteboard-host.component.dom.test.d.ts +2 -0
- package/dist/lib/whiteboard-host.component.dom.test.d.ts.map +1 -0
- package/dist/lib/whiteboard-host.component.dom.test.js +187 -0
- package/dist/lib/whiteboard-host.component.dom.test.js.map +1 -0
- package/dist/lib/whiteboard-host.component.js +132 -12
- package/dist/lib/whiteboard-host.component.js.map +1 -1
- package/dist/lib/whiteboard-tool-roster.d.ts +55 -0
- package/dist/lib/whiteboard-tool-roster.d.ts.map +1 -0
- package/dist/lib/whiteboard-tool-roster.js +58 -0
- package/dist/lib/whiteboard-tool-roster.js.map +1 -0
- package/dist/lib/whiteboard-toolbar.component.d.ts +11 -4
- package/dist/lib/whiteboard-toolbar.component.d.ts.map +1 -1
- package/dist/lib/whiteboard-toolbar.component.dom.test.js +13 -0
- package/dist/lib/whiteboard-toolbar.component.dom.test.js.map +1 -1
- package/dist/lib/whiteboard-toolbar.component.js +18 -3
- package/dist/lib/whiteboard-toolbar.component.js.map +1 -1
- package/dist/public-api.d.ts +1 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +2 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -111,6 +111,10 @@ The serialized shape is **version 2 (paged)**:
|
|
|
111
111
|
|
|
112
112
|
The host renders the complete experience: header (title, saved chip, ownership legend, "What [Agent] sees" popover, Focus toggle, export menu), the canvas with floating toolbar, page strip + zoom cluster, the agent-action toast with Undo, and the status footer.
|
|
113
113
|
|
|
114
|
+
**Narrowing the tools.** Pass `[ToolRoster]="['select','pan','pen','sticky','text','eraser']"` to offer a subset; `null` (the default) is all eleven. The roster governs **which tools are available**, and it closes every door to a tool it leaves out: the toolbar button, the single-letter keyboard shortcut, and the canvas right-click "add … here" action. Gating only the toolbar would be the CSS hack with a nicer API — the keyboard and the context menu were exactly how a hidden tool stayed reachable. If the active tool leaves the roster the host moves to `select`, or to the roster's first entry when `select` is not on it, and a request to switch to a tool that is not on the roster is ignored rather than redirected. An empty roster narrows the palette to nothing but does **not** make the board read-only, which is a separate input.
|
|
115
|
+
|
|
116
|
+
What the roster does **not** do: it is not a content policy. It does not restrict what already exists on the board or what an agent places, and it does not gate authoring actions on existing items — Restyle, Duplicate, and pasting an image all keep working regardless of the roster. Use `ReadOnly` for that axis.
|
|
117
|
+
|
|
114
118
|
The zoom cluster supports **hold-to-zoom**: a plain click on + / − steps through the usual presets, while holding the button down zooms continuously in small smooth increments (~3.5% every 50 ms) until release — same 25%–200% clamp.
|
|
115
119
|
|
|
116
120
|
```typescript
|
|
@@ -125,6 +129,7 @@ import { RealtimeWhiteboardHostComponent, WhiteboardState } from '@memberjunctio
|
|
|
125
129
|
[State]="Board"
|
|
126
130
|
[AgentName]="'Sage'"
|
|
127
131
|
[BoardTitle]="'Planning board'"
|
|
132
|
+
[ToolRoster]="['select', 'pan', 'pen', 'sticky', 'text', 'eraser']"
|
|
128
133
|
(SceneDelta)="onSceneDelta($event)"
|
|
129
134
|
(WidgetSubmitted)="onWidgetInput($event)"
|
|
130
135
|
(SaveToArtifactsRequested)="saveBoard()" />
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AfterViewChecked, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { WhiteboardBounds, WhiteboardConnectorItem, WhiteboardFontFamily, WhiteboardHighlightItem, WhiteboardHtmlItem, WhiteboardImageItem, WhiteboardInkItem, WhiteboardItem, WhiteboardMarkdownItem, WhiteboardPoint, WhiteboardShapeItem, WhiteboardState, WhiteboardStickyItem, WhiteboardTextItem } from './whiteboard-state';
|
|
3
|
-
import {
|
|
3
|
+
import { WhiteboardTextStyleEvent } from './whiteboard-toolbar.component';
|
|
4
4
|
import { WhiteboardWidgetInteractionEvent, WhiteboardWidgetSubmitEvent, WhiteboardWidgetSubmittingEventArgs } from './whiteboard-widget-bridge';
|
|
5
5
|
import { WhiteboardContextMenuAction, WhiteboardContextMenuActionID } from './whiteboard-context-menu';
|
|
6
|
+
import { WhiteboardTool, WhiteboardToolRoster } from './whiteboard-tool-roster';
|
|
6
7
|
import { WhiteboardPageChipContextMenuEvent } from './whiteboard-pages.component';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
/** The agent presence cursor state (input-driven; the host animates it to mutation points). */
|
|
@@ -127,6 +128,13 @@ export declare class RealtimeWhiteboardBoardComponent implements OnInit, OnDestr
|
|
|
127
128
|
State: WhiteboardState;
|
|
128
129
|
/** Display name of the session's agent ("Sage") — chips, highlight tags, presence label. */
|
|
129
130
|
AgentName: string;
|
|
131
|
+
/**
|
|
132
|
+
* The host's tool roster, used HERE for one thing only: gating the canvas context menu's
|
|
133
|
+
* "add … here" actions. The board does not own the active tool — the host does, and the host
|
|
134
|
+
* enforces the roster on it. A standalone consumer binding this input gets the menu narrowed
|
|
135
|
+
* and nothing else. `null` = all.
|
|
136
|
+
*/
|
|
137
|
+
ToolRoster: WhiteboardToolRoster;
|
|
130
138
|
/** Active tool (owned by the host; toolbar + keyboard drive it). */
|
|
131
139
|
set Tool(value: WhiteboardTool);
|
|
132
140
|
get Tool(): WhiteboardTool;
|
|
@@ -152,7 +160,7 @@ export declare class RealtimeWhiteboardBoardComponent implements OnInit, OnDestr
|
|
|
152
160
|
*/
|
|
153
161
|
ReadOnly: boolean;
|
|
154
162
|
/** Requests a tool switch decided by a board gesture (e.g. Esc → select). */
|
|
155
|
-
ToolChangeRequest: EventEmitter<
|
|
163
|
+
ToolChangeRequest: EventEmitter<"sticky" | "shape" | "text" | "image" | "connector" | "markdown" | "html" | "select" | "pan" | "pen" | "eraser">;
|
|
156
164
|
/**
|
|
157
165
|
* Cancelable BEFORE event: a sandboxed HTML widget called `MJWhiteboard.submit(data)`
|
|
158
166
|
* and the payload passed validation (marker + tracked source window + size cap).
|
|
@@ -452,7 +460,7 @@ export declare class RealtimeWhiteboardBoardComponent implements OnInit, OnDestr
|
|
|
452
460
|
private connectorClick;
|
|
453
461
|
private pendingFromPoint;
|
|
454
462
|
static ɵfac: i0.ɵɵFactoryDeclaration<RealtimeWhiteboardBoardComponent, never>;
|
|
455
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RealtimeWhiteboardBoardComponent, "mj-realtime-whiteboard", never, { "State": { "alias": "State"; "required": true; }; "AgentName": { "alias": "AgentName"; "required": false; }; "Tool": { "alias": "Tool"; "required": false; }; "PenColor": { "alias": "PenColor"; "required": false; }; "PenWidth": { "alias": "PenWidth"; "required": false; }; "ShapeKind": { "alias": "ShapeKind"; "required": false; }; "TextSize": { "alias": "TextSize"; "required": false; }; "TextFamily": { "alias": "TextFamily"; "required": false; }; "TextBold": { "alias": "TextBold"; "required": false; }; "TextColor": { "alias": "TextColor"; "required": false; }; "AgentPresence": { "alias": "AgentPresence"; "required": false; }; "ReadOnly": { "alias": "ReadOnly"; "required": false; }; }, { "ToolChangeRequest": "ToolChangeRequest"; "WidgetSubmitting": "WidgetSubmitting"; "WidgetSubmitted": "WidgetSubmitted"; "WidgetInteraction": "WidgetInteraction"; "ContentApplying": "ContentApplying"; "ContentApplied": "ContentApplied"; }, never, never, true, never>;
|
|
463
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RealtimeWhiteboardBoardComponent, "mj-realtime-whiteboard", never, { "State": { "alias": "State"; "required": true; }; "AgentName": { "alias": "AgentName"; "required": false; }; "ToolRoster": { "alias": "ToolRoster"; "required": false; }; "Tool": { "alias": "Tool"; "required": false; }; "PenColor": { "alias": "PenColor"; "required": false; }; "PenWidth": { "alias": "PenWidth"; "required": false; }; "ShapeKind": { "alias": "ShapeKind"; "required": false; }; "TextSize": { "alias": "TextSize"; "required": false; }; "TextFamily": { "alias": "TextFamily"; "required": false; }; "TextBold": { "alias": "TextBold"; "required": false; }; "TextColor": { "alias": "TextColor"; "required": false; }; "AgentPresence": { "alias": "AgentPresence"; "required": false; }; "ReadOnly": { "alias": "ReadOnly"; "required": false; }; }, { "ToolChangeRequest": "ToolChangeRequest"; "WidgetSubmitting": "WidgetSubmitting"; "WidgetSubmitted": "WidgetSubmitted"; "WidgetInteraction": "WidgetInteraction"; "ContentApplying": "ContentApplying"; "ContentApplied": "ContentApplied"; }, never, never, true, never>;
|
|
456
464
|
}
|
|
457
465
|
export {};
|
|
458
466
|
//# sourceMappingURL=whiteboard-board.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whiteboard-board.component.d.ts","sourceRoot":"","sources":["../../src/lib/whiteboard-board.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAA4C,YAAY,EACjE,SAAS,EAAE,MAAM,EACzB,MAAM,eAAe,CAAC;AAMvB,OAAO,EAEgB,gBAAgB,EAAE,uBAAuB,EAAE,oBAAoB,EACpF,uBAAuB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,iBAAiB,EACnF,cAAc,EAAuB,sBAAsB,EAC3D,eAAe,EAAE,mBAAmB,EAAE,eAAe,EAAE,oBAAoB,EAAE,kBAAkB,EAChG,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"whiteboard-board.component.d.ts","sourceRoot":"","sources":["../../src/lib/whiteboard-board.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAC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** Display name of the session's agent ("Sage") — chips, highlight tags, presence label. */
|
|
739
739
|
this.AgentName = 'Agent';
|
|
740
|
+
/**
|
|
741
|
+
* The host's tool roster, used HERE for one thing only: gating the canvas context menu's
|
|
742
|
+
* "add … here" actions. The board does not own the active tool — the host does, and the host
|
|
743
|
+
* enforces the roster on it. A standalone consumer binding this input gets the menu narrowed
|
|
744
|
+
* and nothing else. `null` = all.
|
|
745
|
+
*/
|
|
746
|
+
this.ToolRoster = null;
|
|
740
747
|
/** Selected pen ink color. */
|
|
741
748
|
this.PenColor = WHITEBOARD_PEN_COLORS[0];
|
|
742
749
|
/** Selected pen stroke width. */
|
|
@@ -1924,7 +1931,7 @@ export class RealtimeWhiteboardBoardComponent {
|
|
|
1924
1931
|
this.showContextMenu(payload.Event, actions, null, payload.Page.ID);
|
|
1925
1932
|
}
|
|
1926
1933
|
openContextMenu(event, item) {
|
|
1927
|
-
this.showContextMenu(event, BuildWhiteboardContextMenu(item), item ? item.ID : null, null);
|
|
1934
|
+
this.showContextMenu(event, BuildWhiteboardContextMenu(item, this.ToolRoster), item ? item.ID : null, null);
|
|
1928
1935
|
}
|
|
1929
1936
|
/** Position + open the shared context-menu panel for any target (item / canvas / page chip). */
|
|
1930
1937
|
showContextMenu(event, actions, itemId, pageId) {
|
|
@@ -2229,7 +2236,7 @@ export class RealtimeWhiteboardBoardComponent {
|
|
|
2229
2236
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.pagesStrip = _t.first);
|
|
2230
2237
|
} }, hostBindings: function RealtimeWhiteboardBoardComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
2231
2238
|
i0.ɵɵlistener("pointermove", function RealtimeWhiteboardBoardComponent_pointermove_HostBindingHandler($event) { return ctx.OnWindowPointerMove($event); }, i0.ɵɵresolveWindow)("pointerup", function RealtimeWhiteboardBoardComponent_pointerup_HostBindingHandler() { return ctx.OnWindowPointerUp(); }, i0.ɵɵresolveWindow)("pointerdown", function RealtimeWhiteboardBoardComponent_pointerdown_HostBindingHandler() { return ctx.CloseContextMenu(); }, i0.ɵɵresolveDocument);
|
|
2232
|
-
} }, inputs: { State: "State", AgentName: "AgentName", Tool: "Tool", PenColor: "PenColor", PenWidth: "PenWidth", ShapeKind: "ShapeKind", TextSize: "TextSize", TextFamily: "TextFamily", TextBold: "TextBold", TextColor: "TextColor", AgentPresence: "AgentPresence", ReadOnly: "ReadOnly" }, outputs: { ToolChangeRequest: "ToolChangeRequest", WidgetSubmitting: "WidgetSubmitting", WidgetSubmitted: "WidgetSubmitted", WidgetInteraction: "WidgetInteraction", ContentApplying: "ContentApplying", ContentApplied: "ContentApplied" }, decls: 22, vars: 23, consts: [["canvas", ""], ["edit", ""], ["editShape", ""], ["editText", ""], ["reTitle", ""], ["tabindex", "0", 3, "pointerdown", "contextmenu", "wheel", "paste"], [1, "board-viewport"], [1, "ink-layer"], ["fill", "none", "stroke-linecap", "round", "stroke-linejoin", "round", 3, "ink-sage", "wb-erasable", "wb-ink-selected"], [3, "conn-sage", "conn-user"], ["fill", "none", "stroke-linecap", "round", "stroke-linejoin", "round", 1, "wb-live-pen"], ["stroke-width", "2", "fill", "none", "stroke-linecap", "round", 1, "wb-pending-conn"], ["title", "Click to dismiss", 1, "sage-highlight", 3, "user-highlight", "left", "top", "width", "height"], [1, "drag-ghost", 3, "left", "top", "width", "height"], [1, "shape-preview", 3, "left", "top", "width", "height"], [1, "wb-marquee", 3, "left", "top", "width", "height"], [1, "cursor", "cursor--sage", 3, "left", "top"], [1, "rich-editor"], [1, "wb-context-menu", 3, "left", "top"], [3, "ChipContextMenu", "State", "ReadOnly"], [1, "minimap"], ["fill", "none", "stroke-linecap", "round", "stroke-linejoin", "round", 3, "pointerdown", "contextmenu"], ["stroke-width", "2.5", "fill", "none", "stroke-linecap", "round", 3, "pointerdown", "contextmenu"], ["stroke-width", "2.5", "fill", "none", "stroke-linecap", "round"], ["title", "Click to dismiss", 1, "sage-highlight", 3, "pointerdown", "contextmenu"], [1, "hl-tag"], [1, "fa-solid", "fa-highlighter"], [1, "drag-ghost"], [1, "shape-preview"], [1, "wb-marquee"], [3, "class", "selected", "dragging", "pop-in", "left", "top", "width", "fontSize", "fontFamily", "fontWeight", "transform"], [1, "bi", "shape-box", 3, "shape-box--ellipse", "shape-box--diamond", "shape-box--sage", "selected", "dragging", "pop-in", "left", "top", "width", "height"], [1, "bi", "tlabel", 3, "tlabel--user", "selected", "dragging", "pop-in", "left", "top", "width", "maxWidth", "fontSize", "fontFamily", "fontWeight", "color"], [1, "bi", "md-card", 3, "md-card--sage", "selected", "dragging", "pop-in", "left", "top", "width"], [1, "bi", "html-card", 3, "html-card--sage", "selected", "dragging", "pop-in", "left", "top", "width", "height"], [1, "bi", "img-card", 3, "selected", "dragging", "pop-in", "left", "top", "width"], [3, "pointerdown", "dblclick", "contextmenu"], [1, "author-chip", "author-chip--sage"], [1, "author-chip", "author-chip--you"], ["rows", "3", 1, "wb-edit", 3, "value"], [1, "fa-solid", "fa-feather"], [1, "fa-solid", "fa-user"], ["rows", "3", 1, "wb-edit", 3, "keydown", "blur", "value"], [3, "class"], [3, "pointerdown"], [1, "bi", "shape-box", 3, "pointerdown", "dblclick", "contextmenu"], ["rows", "1", 1, "wb-edit", "wb-edit--shape", 3, "value"], ["rows", "1", 1, "wb-edit", "wb-edit--shape", 3, "keydown", "blur", "value"], [1, "sub"], [1, "bi", "tlabel", 3, "pointerdown", "dblclick", "contextmenu"], ["type", "text", 1, "wb-edit", "wb-edit--text", 3, "value"], ["type", "text", 1, "wb-edit", "wb-edit--text", 3, "keydown", "blur", "value"], [1, "bi", "md-card", 3, "pointerdown", "dblclick", "contextmenu"], [1, "md-card__body"], [3, "data", "enableMermaid", "enableCodeCopy", "enableCollapsibleHeadings"], [1, "fa-brands", "fa-markdown"], [1, "bi", "html-card", 3, "pointerdown", "contextmenu"], [1, "html-card__head", 3, "dblclick"], [1, "fa-solid", "fa-code", "html-card__glyph"], [1, "html-card__title"], [1, "author-chip", "author-chip--sage", "author-chip--inline"], [1, "author-chip", "author-chip--you", "author-chip--inline"], [1, "html-card__body"], ["sandbox", "allow-scripts", 1, "html-card__frame", 3, "srcdoc"], [1, "html-card__lazy"], ["type", "button", "title", "Edit HTML", 1, "html-card__btn", 3, "pointerdown", "click"], [1, "fa-solid", "fa-pen"], ["type", "button", "title", "Remove widget", 1, "html-card__btn", 3, "pointerdown", "click"], [1, "fa-solid", "fa-trash-can"], [1, "fa-solid", "fa-code"], [1, "bi", "img-card", 3, "pointerdown", "contextmenu"], [1, "img-card__body"], [3, "src", "alt"], [1, "fa-regular", "fa-image"], [1, "img-card__name"], [1, "fa-solid", "fa-chart-area"], [1, "fa-solid", "fa-paste"], [1, "cursor", "cursor--sage"], [1, "tip"], [1, "lbl"], [1, "rich-editor", 3, "keydown", "pointerdown", "dblclick", "wheel"], [1, "rich-editor__head"], [1, "rich-editor__body"], [1, "rich-editor__preview"], [1, "rich-editor__code", 3, "value", "language"], [1, "rich-editor__note"], [1, "rich-editor__foot"], ["type", "button", 1, "re-btn", "re-btn--primary", 3, "click"], ["type", "button", "title", "Apply without closing \u2014 re-renders the widget", 1, "re-btn", 3, "click"], [1, "re-spacer"], ["type", "button", "title", "Close without applying draft changes", 1, "re-btn", 3, "click"], [1, "rich-editor__label"], [1, "rich-editor__modes"], ["type", "button", 1, "re-mode", 3, "click"], ["type", "text", "placeholder", "Title", 1, "rich-editor__title", 3, "input", "value"], [1, "rich-editor__code", 3, "change", "value", "language"], [1, "fa-solid", "fa-shield-halved"], [1, "wb-context-menu", 3, "pointerdown", "contextmenu", "wheel"], [1, "wb-context-menu__sep"], ["type", "button", 1, "wb-context-menu__item", 3, "click"], ["preserveAspectRatio", "xMidYMid meet"], ["rx", "6"], ["rx", "8", 1, "mm-viewport"]], template: function RealtimeWhiteboardBoardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2239
|
+
} }, inputs: { State: "State", AgentName: "AgentName", ToolRoster: "ToolRoster", Tool: "Tool", PenColor: "PenColor", PenWidth: "PenWidth", ShapeKind: "ShapeKind", TextSize: "TextSize", TextFamily: "TextFamily", TextBold: "TextBold", TextColor: "TextColor", AgentPresence: "AgentPresence", ReadOnly: "ReadOnly" }, outputs: { ToolChangeRequest: "ToolChangeRequest", WidgetSubmitting: "WidgetSubmitting", WidgetSubmitted: "WidgetSubmitted", WidgetInteraction: "WidgetInteraction", ContentApplying: "ContentApplying", ContentApplied: "ContentApplied" }, decls: 22, vars: 23, consts: [["canvas", ""], ["edit", ""], ["editShape", ""], ["editText", ""], ["reTitle", ""], ["tabindex", "0", 3, "pointerdown", "contextmenu", "wheel", "paste"], [1, "board-viewport"], [1, "ink-layer"], ["fill", "none", "stroke-linecap", "round", "stroke-linejoin", "round", 3, "ink-sage", "wb-erasable", "wb-ink-selected"], [3, "conn-sage", "conn-user"], ["fill", "none", "stroke-linecap", "round", "stroke-linejoin", "round", 1, "wb-live-pen"], ["stroke-width", "2", "fill", "none", "stroke-linecap", "round", 1, "wb-pending-conn"], ["title", "Click to dismiss", 1, "sage-highlight", 3, "user-highlight", "left", "top", "width", "height"], [1, "drag-ghost", 3, "left", "top", "width", "height"], [1, "shape-preview", 3, "left", "top", "width", "height"], [1, "wb-marquee", 3, "left", "top", "width", "height"], [1, "cursor", "cursor--sage", 3, "left", "top"], [1, "rich-editor"], [1, "wb-context-menu", 3, "left", "top"], [3, "ChipContextMenu", "State", "ReadOnly"], [1, "minimap"], ["fill", "none", "stroke-linecap", "round", "stroke-linejoin", "round", 3, "pointerdown", "contextmenu"], ["stroke-width", "2.5", "fill", "none", "stroke-linecap", "round", 3, "pointerdown", "contextmenu"], ["stroke-width", "2.5", "fill", "none", "stroke-linecap", "round"], ["title", "Click to dismiss", 1, "sage-highlight", 3, "pointerdown", "contextmenu"], [1, "hl-tag"], [1, "fa-solid", "fa-highlighter"], [1, "drag-ghost"], [1, "shape-preview"], [1, "wb-marquee"], [3, "class", "selected", "dragging", "pop-in", "left", "top", "width", "fontSize", "fontFamily", "fontWeight", "transform"], [1, "bi", "shape-box", 3, "shape-box--ellipse", "shape-box--diamond", "shape-box--sage", "selected", "dragging", "pop-in", "left", "top", "width", "height"], [1, "bi", "tlabel", 3, "tlabel--user", "selected", "dragging", "pop-in", "left", "top", "width", "maxWidth", "fontSize", "fontFamily", "fontWeight", "color"], [1, "bi", "md-card", 3, "md-card--sage", "selected", "dragging", "pop-in", "left", "top", "width"], [1, "bi", "html-card", 3, "html-card--sage", "selected", "dragging", "pop-in", "left", "top", "width", "height"], [1, "bi", "img-card", 3, "selected", "dragging", "pop-in", "left", "top", "width"], [3, "pointerdown", "dblclick", "contextmenu"], [1, "author-chip", "author-chip--sage"], [1, "author-chip", "author-chip--you"], ["rows", "3", 1, "wb-edit", 3, "value"], [1, "fa-solid", "fa-feather"], [1, "fa-solid", "fa-user"], ["rows", "3", 1, "wb-edit", 3, "keydown", "blur", "value"], [3, "class"], [3, "pointerdown"], [1, "bi", "shape-box", 3, "pointerdown", "dblclick", "contextmenu"], ["rows", "1", 1, "wb-edit", "wb-edit--shape", 3, "value"], ["rows", "1", 1, "wb-edit", "wb-edit--shape", 3, "keydown", "blur", "value"], [1, "sub"], [1, "bi", "tlabel", 3, "pointerdown", "dblclick", "contextmenu"], ["type", "text", 1, "wb-edit", "wb-edit--text", 3, "value"], ["type", "text", 1, "wb-edit", "wb-edit--text", 3, "keydown", "blur", "value"], [1, "bi", "md-card", 3, "pointerdown", "dblclick", "contextmenu"], [1, "md-card__body"], [3, "data", "enableMermaid", "enableCodeCopy", "enableCollapsibleHeadings"], [1, "fa-brands", "fa-markdown"], [1, "bi", "html-card", 3, "pointerdown", "contextmenu"], [1, "html-card__head", 3, "dblclick"], [1, "fa-solid", "fa-code", "html-card__glyph"], [1, "html-card__title"], [1, "author-chip", "author-chip--sage", "author-chip--inline"], [1, "author-chip", "author-chip--you", "author-chip--inline"], [1, "html-card__body"], ["sandbox", "allow-scripts", 1, "html-card__frame", 3, "srcdoc"], [1, "html-card__lazy"], ["type", "button", "title", "Edit HTML", 1, "html-card__btn", 3, "pointerdown", "click"], [1, "fa-solid", "fa-pen"], ["type", "button", "title", "Remove widget", 1, "html-card__btn", 3, "pointerdown", "click"], [1, "fa-solid", "fa-trash-can"], [1, "fa-solid", "fa-code"], [1, "bi", "img-card", 3, "pointerdown", "contextmenu"], [1, "img-card__body"], [3, "src", "alt"], [1, "fa-regular", "fa-image"], [1, "img-card__name"], [1, "fa-solid", "fa-chart-area"], [1, "fa-solid", "fa-paste"], [1, "cursor", "cursor--sage"], [1, "tip"], [1, "lbl"], [1, "rich-editor", 3, "keydown", "pointerdown", "dblclick", "wheel"], [1, "rich-editor__head"], [1, "rich-editor__body"], [1, "rich-editor__preview"], [1, "rich-editor__code", 3, "value", "language"], [1, "rich-editor__note"], [1, "rich-editor__foot"], ["type", "button", 1, "re-btn", "re-btn--primary", 3, "click"], ["type", "button", "title", "Apply without closing \u2014 re-renders the widget", 1, "re-btn", 3, "click"], [1, "re-spacer"], ["type", "button", "title", "Close without applying draft changes", 1, "re-btn", 3, "click"], [1, "rich-editor__label"], [1, "rich-editor__modes"], ["type", "button", 1, "re-mode", 3, "click"], ["type", "text", "placeholder", "Title", 1, "rich-editor__title", 3, "input", "value"], [1, "rich-editor__code", 3, "change", "value", "language"], [1, "fa-solid", "fa-shield-halved"], [1, "wb-context-menu", 3, "pointerdown", "contextmenu", "wheel"], [1, "wb-context-menu__sep"], ["type", "button", 1, "wb-context-menu__item", 3, "click"], ["preserveAspectRatio", "xMidYMid meet"], ["rx", "6"], ["rx", "8", 1, "mm-viewport"]], template: function RealtimeWhiteboardBoardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2233
2240
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2234
2241
|
i0.ɵɵelementStart(0, "div", 5, 0);
|
|
2235
2242
|
i0.ɵɵlistener("pointerdown", function RealtimeWhiteboardBoardComponent_Template_div_pointerdown_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.OnCanvasPointerDown($event)); })("contextmenu", function RealtimeWhiteboardBoardComponent_Template_div_contextmenu_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.OnCanvasContextMenu($event)); })("wheel", function RealtimeWhiteboardBoardComponent_Template_div_wheel_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.OnWheel($event)); })("paste", function RealtimeWhiteboardBoardComponent_Template_div_paste_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.OnPaste($event)); });
|
|
@@ -2305,6 +2312,8 @@ export class RealtimeWhiteboardBoardComponent {
|
|
|
2305
2312
|
args: [{ required: true }]
|
|
2306
2313
|
}], AgentName: [{
|
|
2307
2314
|
type: Input
|
|
2315
|
+
}], ToolRoster: [{
|
|
2316
|
+
type: Input
|
|
2308
2317
|
}], Tool: [{
|
|
2309
2318
|
type: Input
|
|
2310
2319
|
}], PenColor: [{
|
|
@@ -2353,5 +2362,5 @@ export class RealtimeWhiteboardBoardComponent {
|
|
|
2353
2362
|
type: HostListener,
|
|
2354
2363
|
args: ['document:pointerdown']
|
|
2355
2364
|
}] }); })();
|
|
2356
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RealtimeWhiteboardBoardComponent, { className: "RealtimeWhiteboardBoardComponent", filePath: "src/lib/whiteboard-board.component.ts", lineNumber:
|
|
2365
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RealtimeWhiteboardBoardComponent, { className: "RealtimeWhiteboardBoardComponent", filePath: "src/lib/whiteboard-board.component.ts", lineNumber: 165 }); })();
|
|
2357
2366
|
//# sourceMappingURL=whiteboard-board.component.js.map
|