microboard-temp 0.14.19 → 0.14.20

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.
@@ -11507,8 +11507,13 @@ function overlaySymbolIcon(key) {
11507
11507
  sourcePath: OVERLAY_ICON_SPRITE_PATH
11508
11508
  };
11509
11509
  }
11510
- function overlayAssetIcon(path2) {
11511
- return {
11510
+ function overlayAssetIcon(path2, state) {
11511
+ return state ? {
11512
+ kind: "asset",
11513
+ path: path2,
11514
+ mimeType: "image/svg+xml",
11515
+ state
11516
+ } : {
11512
11517
  kind: "asset",
11513
11518
  path: path2,
11514
11519
  mimeType: "image/svg+xml"
@@ -11526,16 +11531,16 @@ function symbolIcon(key, state) {
11526
11531
  return state ? { kind: "symbol", key, sourcePath: OVERLAY_ICON_SPRITE_PATH, state } : { kind: "symbol", key, sourcePath: OVERLAY_ICON_SPRITE_PATH };
11527
11532
  }
11528
11533
  function styleFillIcon(state) {
11529
- return symbolIcon(OVERLAY_SYMBOL_KEYS.styleFill, state);
11534
+ return overlayAssetIcon("src/Items/Shape/icons/Fill.icon.svg", state);
11530
11535
  }
11531
11536
  function styleStrokeIcon(state) {
11532
- return symbolIcon(OVERLAY_SYMBOL_KEYS.styleStroke, state);
11537
+ return overlayAssetIcon("src/Items/Shape/icons/Stroke.icon.svg", state);
11533
11538
  }
11534
11539
  function styleColorIcon(state) {
11535
- return symbolIcon(OVERLAY_SYMBOL_KEYS.styleColor, state);
11540
+ return overlayAssetIcon("src/Items/Shape/icons/Color.icon.svg", state);
11536
11541
  }
11537
11542
  function styleFontSizeIcon(state) {
11538
- return symbolIcon(OVERLAY_SYMBOL_KEYS.styleFontSize, state);
11543
+ return overlayAssetIcon("src/Items/RichText/icons/FontSize.icon.svg", state);
11539
11544
  }
11540
11545
  // src/Overlay/overlayRegistry.ts
11541
11546
  var itemOverlays = {};
@@ -37659,7 +37664,6 @@ var richTextOverlay = {
37659
37664
  id: "text.fontSize",
37660
37665
  label: "Font size",
37661
37666
  icon: styleFontSizeIcon(),
37662
- icon: styleFontSizeIcon(),
37663
37667
  target: "each",
37664
37668
  controls: [
37665
37669
  {
@@ -37682,7 +37686,7 @@ var richTextOverlay = {
37682
37686
  {
37683
37687
  id: "textTypography",
37684
37688
  label: "Typography",
37685
- icon: overlaySymbolIcon("text.fontSize"),
37689
+ icon: overlayAssetIcon("src/Items/RichText/icons/FontSize.icon.svg"),
37686
37690
  actionIds: ["text.fontSize"]
37687
37691
  }
37688
37692
  ]
@@ -37693,7 +37697,7 @@ var addTextToolOverlay = {
37693
37697
  kind: "create",
37694
37698
  createsItemType: "RichText",
37695
37699
  family: "text",
37696
- icon: overlaySymbolIcon("tool.text"),
37700
+ icon: overlayAssetIcon("src/Items/RichText/icons/Text.icon.svg"),
37697
37701
  description: "Creates editable rich text. The current first pass has no pre-placement defaults on this tool.",
37698
37702
  launch: { kind: "activate-tool" },
37699
37703
  surface: {
@@ -44168,12 +44172,28 @@ var COLOR_PALETTE = [
44168
44172
  "#118AB2",
44169
44173
  "#7B61FF"
44170
44174
  ];
44171
- var symbolIcon2 = (key) => overlaySymbolIcon(key);
44175
+ var connectorAssetIcon = (file2) => overlayAssetIcon(`src/Items/Connector/icons/${file2}.icon.svg`);
44176
+ var lineStyleAssetIcons = {
44177
+ straight: connectorAssetIcon("LineStraight"),
44178
+ curved: connectorAssetIcon("LineCurved"),
44179
+ orthogonal: connectorAssetIcon("LineOrthogonal")
44180
+ };
44181
+ var pointerAssetIcons = {
44182
+ None: connectorAssetIcon("PointerNone"),
44183
+ ArrowThin: connectorAssetIcon("PointerArrowThin"),
44184
+ ArrowHeavy: connectorAssetIcon("PointerArrowHeavy"),
44185
+ TriangleFilled: connectorAssetIcon("PointerTriangleFilled"),
44186
+ TriangleOutline: connectorAssetIcon("PointerTriangleOutline"),
44187
+ CircleFilled: connectorAssetIcon("PointerCircleFilled"),
44188
+ CircleOutline: connectorAssetIcon("PointerCircleOutline"),
44189
+ DiamondFilled: connectorAssetIcon("PointerDiamondFilled"),
44190
+ DiamondOutline: connectorAssetIcon("PointerDiamondOutline")
44191
+ };
44172
44192
  var lineStyleOptions = ConnectorLineStyles.map((style) => ({
44173
44193
  id: style,
44174
44194
  label: style[0].toUpperCase() + style.slice(1),
44175
44195
  value: style,
44176
- icon: symbolIcon2(`connector.lineStyle.${style}`)
44196
+ icon: lineStyleAssetIcons[style]
44177
44197
  }));
44178
44198
  var lineWidthOptions = ConnectionLineWidths.map((width) => ({
44179
44199
  id: `${width}`,
@@ -44184,13 +44204,13 @@ var pointerOptions = CONNECTOR_POINTER_TYPES.map((pointer) => ({
44184
44204
  id: pointer,
44185
44205
  label: pointer,
44186
44206
  value: pointer,
44187
- icon: symbolIcon2(`connector.pointer.${pointer}`)
44207
+ icon: pointerAssetIcons[pointer]
44188
44208
  }));
44189
44209
  var borderStyleOptions = ["solid", "dot", "dash", "longDash"].map((style) => ({
44190
44210
  id: style,
44191
44211
  label: style,
44192
44212
  value: style,
44193
- icon: symbolIcon2(`stroke.${style}`)
44213
+ icon: overlayAssetIcon(style === "solid" ? "src/Items/Shape/icons/StrokeSolid.icon.svg" : style === "dot" ? "src/Items/Shape/icons/StrokeDot.icon.svg" : style === "dash" ? "src/Items/Shape/icons/StrokeDash.icon.svg" : "src/Items/Shape/icons/StrokeLongDash.icon.svg")
44194
44214
  }));
44195
44215
  var connectorStyleControls = [
44196
44216
  {
@@ -44245,7 +44265,7 @@ var connectorStyleControls = [
44245
44265
  {
44246
44266
  id: "smartJump",
44247
44267
  label: "Smart jump",
44248
- icon: symbolIcon2("connector.smartJump"),
44268
+ icon: connectorAssetIcon("SmartJump"),
44249
44269
  valueSource: { kind: "itemProperty", property: "smartJump" },
44250
44270
  editor: { kind: "toggle", trueLabel: "On", falseLabel: "Off" },
44251
44271
  invoke: { kind: "setProperty", property: "smartJump" }
@@ -44304,7 +44324,7 @@ var connectorToolControls = [
44304
44324
  {
44305
44325
  id: "toolSmartJump",
44306
44326
  label: "Smart jump",
44307
- icon: symbolIcon2("connector.smartJump"),
44327
+ icon: connectorAssetIcon("SmartJump"),
44308
44328
  valueSource: { kind: "toolProperty", property: "smartJump" },
44309
44329
  editor: { kind: "toggle", trueLabel: "On", falseLabel: "Off" },
44310
44330
  invoke: { kind: "toolProperty", property: "smartJump" }
@@ -44316,21 +44336,21 @@ var connectorOverlay = {
44316
44336
  {
44317
44337
  id: "connector.switchPointers",
44318
44338
  label: "Switch arrows",
44319
- icon: symbolIcon2("connector.switchPointers"),
44339
+ icon: connectorAssetIcon("SwitchPointers"),
44320
44340
  target: "selection",
44321
44341
  invoke: { kind: "operation", class: "Connector", method: "switchPointers" }
44322
44342
  },
44323
44343
  {
44324
44344
  id: "connector.style",
44325
44345
  label: "Connector style",
44326
- icon: symbolIcon2("connector.style"),
44346
+ icon: connectorAssetIcon("Style"),
44327
44347
  target: "each",
44328
44348
  controls: connectorStyleControls,
44329
44349
  groups: [
44330
44350
  {
44331
44351
  id: "connectorStyle",
44332
44352
  label: "Connector style",
44333
- icon: symbolIcon2("connector.style"),
44353
+ icon: connectorAssetIcon("Style"),
44334
44354
  controlIds: connectorStyleControls.map((control) => control.id)
44335
44355
  }
44336
44356
  ]
@@ -44340,7 +44360,7 @@ var connectorOverlay = {
44340
44360
  {
44341
44361
  id: "connectorArrows",
44342
44362
  label: "Arrows",
44343
- icon: symbolIcon2("connector.style"),
44363
+ icon: connectorAssetIcon("Style"),
44344
44364
  actionIds: ["connector.switchPointers", "connector.style"]
44345
44365
  }
44346
44366
  ]
@@ -44352,8 +44372,7 @@ var addConnectorToolOverlay = {
44352
44372
  createsItemType: "Connector",
44353
44373
  family: "connector",
44354
44374
  icon: {
44355
- kind: "symbol",
44356
- key: "tool.connector",
44375
+ ...connectorAssetIcon("Tool"),
44357
44376
  state: {
44358
44377
  swatch: { kind: "toolProperty", property: "lineColor" },
44359
44378
  note: "UI can tint or swatch the connector icon from the pending line color."
@@ -44365,14 +44384,14 @@ var addConnectorToolOverlay = {
44365
44384
  {
44366
44385
  id: "connectorToolQuickDefaults",
44367
44386
  label: "Connector quick defaults",
44368
- icon: symbolIcon2("connector.lineStyle.straight"),
44387
+ icon: connectorAssetIcon("LineStraight"),
44369
44388
  controlIds: ["toolLineStyle"],
44370
44389
  description: "Primary defaults that match the compact create-surface picker."
44371
44390
  },
44372
44391
  {
44373
44392
  id: "connectorToolAdvancedDefaults",
44374
44393
  label: "Connector defaults",
44375
- icon: symbolIcon2("connector.style"),
44394
+ icon: connectorAssetIcon("Style"),
44376
44395
  controlIds: connectorToolControls.map((control) => control.id),
44377
44396
  description: "Extended defaults available in richer create flows."
44378
44397
  }
@@ -58519,7 +58538,8 @@ var COLOR_PALETTE2 = [
58519
58538
  "transparent"
58520
58539
  ];
58521
58540
  var inlineShapeAsset = (folder, file2 = folder) => overlayAssetIcon(`src/Items/Shape/Basic/${folder}/${file2}.icon.svg`);
58522
- var symbolIcon3 = (key) => overlaySymbolIcon(key);
58541
+ var localShapeIcon = (file2) => overlayAssetIcon(`src/Items/Shape/icons/${file2}.icon.svg`);
58542
+ var bpmnIcon = (folder) => overlayAssetIcon(`src/Items/Shape/BPMN/${folder}/${folder}.icon.svg`);
58523
58543
  var BASIC_INLINE_OPTIONS = [
58524
58544
  { id: "rectangle", label: "Rectangle", value: "Rectangle", icon: inlineShapeAsset("Rectangle"), family: "basicShapes" },
58525
58545
  { id: "rounded-rectangle", label: "Rounded rectangle", value: "RoundedRectangle", icon: inlineShapeAsset("RoundedRectangle"), family: "basicShapes" },
@@ -58529,48 +58549,48 @@ var BASIC_INLINE_OPTIONS = [
58529
58549
  ];
58530
58550
  var SHAPE_CATALOG_OPTIONS = [
58531
58551
  ...BASIC_INLINE_OPTIONS,
58532
- { id: "reversed-triangle", label: "Reversed triangle", value: "ReversedTriangle", icon: symbolIcon3("shape.reversedTriangle"), family: "basicShapes" },
58552
+ { id: "reversed-triangle", label: "Reversed triangle", value: "ReversedTriangle", icon: localShapeIcon("ReversedTriangle"), family: "basicShapes" },
58533
58553
  { id: "arrow-left", label: "Arrow left", value: "ArrowLeft", icon: inlineShapeAsset("ArrowLeft"), family: "basicShapes" },
58534
58554
  { id: "arrow-right", label: "Arrow right", value: "ArrowRight", icon: inlineShapeAsset("ArrowRight"), family: "basicShapes" },
58535
58555
  { id: "arrow-left-right", label: "Arrow left right", value: "ArrowLeftRight", icon: inlineShapeAsset("ArrowLeftRight"), family: "basicShapes" },
58536
- { id: "arrow-block-left", label: "Arrow block left", value: "ArrowBlockLeft", icon: symbolIcon3("shape.arrowBlockLeft"), family: "basicShapes" },
58537
- { id: "arrow-block-right", label: "Arrow block right", value: "ArrowBlockRight", icon: symbolIcon3("shape.arrowBlockRight"), family: "basicShapes" },
58556
+ { id: "arrow-block-left", label: "Arrow block left", value: "ArrowBlockLeft", icon: localShapeIcon("ArrowBlockLeft"), family: "basicShapes" },
58557
+ { id: "arrow-block-right", label: "Arrow block right", value: "ArrowBlockRight", icon: localShapeIcon("ArrowBlockRight"), family: "basicShapes" },
58538
58558
  { id: "cloud", label: "Cloud", value: "Cloud", icon: inlineShapeAsset("Cloud"), family: "basicShapes" },
58539
58559
  { id: "cross", label: "Cross", value: "Cross", icon: inlineShapeAsset("Cross"), family: "basicShapes" },
58540
58560
  { id: "cylinder", label: "Cylinder", value: "Cylinder", icon: inlineShapeAsset("Cylinder"), family: "basicShapes" },
58541
58561
  { id: "hexagon", label: "Hexagon", value: "Hexagon", icon: inlineShapeAsset("Hexagon"), family: "basicShapes" },
58542
58562
  { id: "octagon", label: "Octagon", value: "Octagon", icon: inlineShapeAsset("Octagon"), family: "basicShapes" },
58543
58563
  { id: "parallelogram", label: "Parallelogram", value: "Parallelogram", icon: inlineShapeAsset("Parallelogram"), family: "basicShapes" },
58544
- { id: "reversed-parallelogram", label: "Reversed parallelogram", value: "ReversedParallelogram", icon: symbolIcon3("shape.reversedParallelogram"), family: "basicShapes" },
58564
+ { id: "reversed-parallelogram", label: "Reversed parallelogram", value: "ReversedParallelogram", icon: localShapeIcon("ReversedParallelogram"), family: "basicShapes" },
58545
58565
  { id: "pentagon", label: "Pentagon", value: "Pentagon", icon: inlineShapeAsset("Pentagon"), family: "basicShapes" },
58546
- { id: "predefined-process", label: "Predefined process", value: "PredefinedProcess", icon: symbolIcon3("shape.predefinedProcess"), family: "basicShapes" },
58566
+ { id: "predefined-process", label: "Predefined process", value: "PredefinedProcess", icon: localShapeIcon("PredefinedProcess"), family: "basicShapes" },
58547
58567
  { id: "speech-bubble", label: "Speech bubble", value: "SpeachBubble", icon: inlineShapeAsset("SpeachBubble"), family: "basicShapes" },
58548
58568
  { id: "star", label: "Star", value: "Star", icon: inlineShapeAsset("Star"), family: "basicShapes" },
58549
58569
  { id: "trapezoid", label: "Trapezoid", value: "Trapezoid", icon: inlineShapeAsset("Trapezoid"), family: "basicShapes" },
58550
58570
  { id: "braces-left", label: "Braces left", value: "BracesLeft", icon: inlineShapeAsset("BracesLeft", "BracesLeft"), family: "basicShapes" },
58551
58571
  { id: "braces-right", label: "Braces right", value: "BracesRight", icon: inlineShapeAsset("BracesRight", "BracesRight"), family: "basicShapes" },
58552
- { id: "bpmn-task", label: "BPMN task", value: "BPMN_Task", icon: symbolIcon3("shape.bpmn.task"), family: "bpmn" },
58553
- { id: "bpmn-gateway", label: "BPMN gateway", value: "BPMN_Gateway", icon: symbolIcon3("shape.bpmn.gateway"), family: "bpmn" },
58554
- { id: "bpmn-gateway-parallel", label: "BPMN gateway parallel", value: "BPMN_GatewayParallel", icon: symbolIcon3("shape.bpmn.gatewayParallel"), family: "bpmn" },
58555
- { id: "bpmn-gateway-xor", label: "BPMN gateway XOR", value: "BPMN_GatewayXOR", icon: symbolIcon3("shape.bpmn.gatewayXor"), family: "bpmn" },
58556
- { id: "bpmn-start-event", label: "BPMN start event", value: "BPMN_StartEvent", icon: symbolIcon3("shape.bpmn.startEvent"), family: "bpmn" },
58557
- { id: "bpmn-start-event-non-interrupting", label: "BPMN start event non interrupting", value: "BPMN_StartEventNoneInterrupting", icon: symbolIcon3("shape.bpmn.startEventNoneInterrupting"), family: "bpmn" },
58558
- { id: "bpmn-end-event", label: "BPMN end event", value: "BPMN_EndEvent", icon: symbolIcon3("shape.bpmn.endEvent"), family: "bpmn" },
58559
- { id: "bpmn-intermediate-event", label: "BPMN intermediate event", value: "BPMN_IntermediateEvent", icon: symbolIcon3("shape.bpmn.intermediateEvent"), family: "bpmn" },
58560
- { id: "bpmn-intermediate-event-none-interrupting", label: "BPMN intermediate event none interrupting", value: "BPMN_IntermediateEventNoneInterrupting", icon: symbolIcon3("shape.bpmn.intermediateEventNoneInterrupting"), family: "bpmn" },
58561
- { id: "bpmn-data-object", label: "BPMN data object", value: "BPMN_DataObject", icon: symbolIcon3("shape.bpmn.dataObject"), family: "bpmn" },
58562
- { id: "bpmn-data-store", label: "BPMN data store", value: "BPMN_DataStore", icon: symbolIcon3("shape.bpmn.dataStore"), family: "bpmn" },
58563
- { id: "bpmn-participant", label: "BPMN participant", value: "BPMN_Participant", icon: symbolIcon3("shape.bpmn.participant"), family: "bpmn" },
58564
- { id: "bpmn-transaction", label: "BPMN transaction", value: "BPMN_Transaction", icon: symbolIcon3("shape.bpmn.transaction"), family: "bpmn" },
58565
- { id: "bpmn-event-subprocess", label: "BPMN event subprocess", value: "BPMN_EventSubprocess", icon: symbolIcon3("shape.bpmn.eventSubprocess"), family: "bpmn" },
58566
- { id: "bpmn-group", label: "BPMN group", value: "BPMN_Group", icon: symbolIcon3("shape.bpmn.group"), family: "bpmn" },
58567
- { id: "bpmn-annotation", label: "BPMN annotation", value: "BPMN_Annotation", icon: symbolIcon3("shape.bpmn.annotation"), family: "bpmn" }
58572
+ { id: "bpmn-task", label: "BPMN task", value: "BPMN_Task", icon: bpmnIcon("BPMN_Task"), family: "bpmn" },
58573
+ { id: "bpmn-gateway", label: "BPMN gateway", value: "BPMN_Gateway", icon: bpmnIcon("BPMN_Gateway"), family: "bpmn" },
58574
+ { id: "bpmn-gateway-parallel", label: "BPMN gateway parallel", value: "BPMN_GatewayParallel", icon: bpmnIcon("BPMN_GatewayParallel"), family: "bpmn" },
58575
+ { id: "bpmn-gateway-xor", label: "BPMN gateway XOR", value: "BPMN_GatewayXOR", icon: bpmnIcon("BPMN_GatewayXOR"), family: "bpmn" },
58576
+ { id: "bpmn-start-event", label: "BPMN start event", value: "BPMN_StartEvent", icon: bpmnIcon("BPMN_StartEvent"), family: "bpmn" },
58577
+ { id: "bpmn-start-event-non-interrupting", label: "BPMN start event non interrupting", value: "BPMN_StartEventNoneInterrupting", icon: bpmnIcon("BPMN_StartEventNoneInterrupting"), family: "bpmn" },
58578
+ { id: "bpmn-end-event", label: "BPMN end event", value: "BPMN_EndEvent", icon: bpmnIcon("BPMN_EndEvent"), family: "bpmn" },
58579
+ { id: "bpmn-intermediate-event", label: "BPMN intermediate event", value: "BPMN_IntermediateEvent", icon: bpmnIcon("BPMN_IntermediateEvent"), family: "bpmn" },
58580
+ { id: "bpmn-intermediate-event-none-interrupting", label: "BPMN intermediate event none interrupting", value: "BPMN_IntermediateEventNoneInterrupting", icon: bpmnIcon("BPMN_IntermediateEventNoneInterrupting"), family: "bpmn" },
58581
+ { id: "bpmn-data-object", label: "BPMN data object", value: "BPMN_DataObject", icon: bpmnIcon("BPMN_DataObject"), family: "bpmn" },
58582
+ { id: "bpmn-data-store", label: "BPMN data store", value: "BPMN_DataStore", icon: bpmnIcon("BPMN_DataStore"), family: "bpmn" },
58583
+ { id: "bpmn-participant", label: "BPMN participant", value: "BPMN_Participant", icon: bpmnIcon("BPMN_Participant"), family: "bpmn" },
58584
+ { id: "bpmn-transaction", label: "BPMN transaction", value: "BPMN_Transaction", icon: bpmnIcon("BPMN_Transaction"), family: "bpmn" },
58585
+ { id: "bpmn-event-subprocess", label: "BPMN event subprocess", value: "BPMN_EventSubprocess", icon: bpmnIcon("BPMN_EventSubprocess"), family: "bpmn" },
58586
+ { id: "bpmn-group", label: "BPMN group", value: "BPMN_Group", icon: bpmnIcon("BPMN_Group"), family: "bpmn" },
58587
+ { id: "bpmn-annotation", label: "BPMN annotation", value: "BPMN_Annotation", icon: bpmnIcon("BPMN_Annotation"), family: "bpmn" }
58568
58588
  ];
58569
58589
  var BORDER_STYLE_OPTIONS = [
58570
- { id: "solid", label: "Solid", value: "solid", icon: symbolIcon3("stroke.solid") },
58571
- { id: "dot", label: "Dot", value: "dot", icon: symbolIcon3("stroke.dot") },
58572
- { id: "dash", label: "Dash", value: "dash", icon: symbolIcon3("stroke.dash") },
58573
- { id: "long-dash", label: "Long dash", value: "longDash", icon: symbolIcon3("stroke.longDash") }
58590
+ { id: "solid", label: "Solid", value: "solid", icon: localShapeIcon("StrokeSolid") },
58591
+ { id: "dot", label: "Dot", value: "dot", icon: localShapeIcon("StrokeDot") },
58592
+ { id: "dash", label: "Dash", value: "dash", icon: localShapeIcon("StrokeDash") },
58593
+ { id: "long-dash", label: "Long dash", value: "longDash", icon: localShapeIcon("StrokeLongDash") }
58574
58594
  ];
58575
58595
  var shapeTypeControl = {
58576
58596
  id: "shapeType",
@@ -58603,10 +58623,6 @@ var fillControl = {
58603
58623
  swatch: { kind: "itemProperty", property: "backgroundColor" },
58604
58624
  note: "UI can render the current fill color as a swatch inside the icon."
58605
58625
  }),
58606
- icon: styleFillIcon({
58607
- swatch: { kind: "itemProperty", property: "backgroundColor" },
58608
- note: "UI can render the current fill color as a swatch inside the icon."
58609
- }),
58610
58626
  editor: {
58611
58627
  kind: "color",
58612
58628
  palette: COLOR_PALETTE2,
@@ -58657,7 +58673,7 @@ var shapeOverlay = {
58657
58673
  {
58658
58674
  id: "shape.shapeType",
58659
58675
  label: "Shape type",
58660
- icon: symbolIcon3("shape.type"),
58676
+ icon: localShapeIcon("Type"),
58661
58677
  target: "each",
58662
58678
  controls: [shapeTypeControl]
58663
58679
  },
@@ -58688,13 +58704,13 @@ var shapeOverlay = {
58688
58704
  {
58689
58705
  id: "shapeTypeSection",
58690
58706
  label: "Type",
58691
- icon: symbolIcon3("shape.type"),
58707
+ icon: localShapeIcon("Type"),
58692
58708
  actionIds: ["shape.shapeType"]
58693
58709
  },
58694
58710
  {
58695
58711
  id: "shapeAppearanceSection",
58696
58712
  label: "Appearance",
58697
- icon: symbolIcon3("shape.stroke"),
58713
+ icon: localShapeIcon("Stroke"),
58698
58714
  actionIds: ["shape.fill", "shape.strokeStyle"]
58699
58715
  }
58700
58716
  ]
@@ -58706,7 +58722,7 @@ var addShapeToolOverlay = {
58706
58722
  createsItemType: "Shape",
58707
58723
  family: "shape",
58708
58724
  icon: {
58709
- ...overlaySymbolIcon("tool.shape"),
58725
+ ...overlayAssetIcon("src/Items/Shape/icons/Tool.icon.svg"),
58710
58726
  state: {
58711
58727
  note: "UI may swap the top-level icon to the selected shape option when desired."
58712
58728
  }
@@ -63146,14 +63162,14 @@ var cardOverlay = {
63146
63162
  {
63147
63163
  id: "card.flip",
63148
63164
  label: "Flip card",
63149
- icon: overlaySymbolIcon("card.flip"),
63165
+ icon: overlayAssetIcon("src/Items/Card/icons/Flip.icon.svg"),
63150
63166
  target: "each",
63151
63167
  invoke: { kind: "customMethod", methodName: "toggleIsOpen" }
63152
63168
  },
63153
63169
  {
63154
63170
  id: "card.rotateCcw",
63155
63171
  label: "Rotate 90 counter clockwise",
63156
- icon: overlaySymbolIcon("card.rotateCcw"),
63172
+ icon: overlayAssetIcon("src/Items/Card/icons/RotateCcw.icon.svg"),
63157
63173
  target: "each",
63158
63174
  invoke: {
63159
63175
  kind: "customMethod",
@@ -63164,7 +63180,7 @@ var cardOverlay = {
63164
63180
  {
63165
63181
  id: "card.rotateCw",
63166
63182
  label: "Rotate 90 clockwise",
63167
- icon: overlaySymbolIcon("card.rotateCw"),
63183
+ icon: overlayAssetIcon("src/Items/Card/icons/RotateCw.icon.svg"),
63168
63184
  target: "each",
63169
63185
  invoke: {
63170
63186
  kind: "customMethod",
@@ -63418,28 +63434,28 @@ var deckOverlay = {
63418
63434
  {
63419
63435
  id: "deck.getTopCard",
63420
63436
  label: "Draw top card",
63421
- icon: overlaySymbolIcon("deck.drawTop"),
63437
+ icon: overlayAssetIcon("src/Items/Deck/icons/DrawTop.icon.svg"),
63422
63438
  target: "single",
63423
63439
  invoke: { kind: "customMethod", methodName: "getTopCard" }
63424
63440
  },
63425
63441
  {
63426
63442
  id: "deck.getBottomCard",
63427
63443
  label: "Draw bottom card",
63428
- icon: overlaySymbolIcon("deck.drawBottom"),
63444
+ icon: overlayAssetIcon("src/Items/Deck/icons/DrawBottom.icon.svg"),
63429
63445
  target: "single",
63430
63446
  invoke: { kind: "customMethod", methodName: "getBottomCard" }
63431
63447
  },
63432
63448
  {
63433
63449
  id: "deck.getRandomCard",
63434
63450
  label: "Draw random card",
63435
- icon: overlaySymbolIcon("deck.drawRandom"),
63451
+ icon: overlayAssetIcon("src/Items/Deck/icons/DrawRandom.icon.svg"),
63436
63452
  target: "single",
63437
63453
  invoke: { kind: "customMethod", methodName: "getRandomCard" }
63438
63454
  },
63439
63455
  {
63440
63456
  id: "deck.getCards",
63441
63457
  label: "Draw cards",
63442
- icon: overlaySymbolIcon("deck.drawMany"),
63458
+ icon: overlayAssetIcon("src/Items/Deck/icons/DrawMany.icon.svg"),
63443
63459
  target: "single",
63444
63460
  controls: [
63445
63461
  {
@@ -63461,14 +63477,14 @@ var deckOverlay = {
63461
63477
  {
63462
63478
  id: "deck.shuffle",
63463
63479
  label: "Shuffle",
63464
- icon: overlaySymbolIcon("deck.shuffle"),
63480
+ icon: overlayAssetIcon("src/Items/Deck/icons/Shuffle.icon.svg"),
63465
63481
  target: "single",
63466
63482
  invoke: { kind: "customMethod", methodName: "shuffleDeck" }
63467
63483
  },
63468
63484
  {
63469
63485
  id: "deck.flip",
63470
63486
  label: "Flip deck",
63471
- icon: overlaySymbolIcon("deck.flip"),
63487
+ icon: overlayAssetIcon("src/Items/Deck/icons/Flip.icon.svg"),
63472
63488
  target: "single",
63473
63489
  invoke: { kind: "customMethod", methodName: "flipDeck" }
63474
63490
  }
@@ -63477,7 +63493,7 @@ var deckOverlay = {
63477
63493
  var createDeckSelectionAction = {
63478
63494
  id: "deck.createFromSelection",
63479
63495
  label: "Create deck",
63480
- icon: overlaySymbolIcon("deck.createFromSelection"),
63496
+ icon: overlayAssetIcon("src/Items/Deck/icons/CreateFromSelection.icon.svg"),
63481
63497
  description: "Stacks selected cards into a new deck, or merges selected cards and decks into one deck.",
63482
63498
  invoke: { kind: "selectionMethod", methodName: "createDeck" },
63483
63499
  isAvailable: (items) => {
@@ -64046,14 +64062,14 @@ var diceOverlay = {
64046
64062
  {
64047
64063
  id: "dice.throw",
64048
64064
  label: "Throw dice",
64049
- icon: overlaySymbolIcon("dice.throw"),
64065
+ icon: overlayAssetIcon("src/Items/Dice/icons/Throw.icon.svg"),
64050
64066
  target: "each",
64051
64067
  invoke: { kind: "customMethod", methodName: "throwDice" }
64052
64068
  },
64053
64069
  {
64054
64070
  id: "dice.range",
64055
64071
  label: "Range",
64056
- icon: overlaySymbolIcon("dice.range"),
64072
+ icon: overlayAssetIcon("src/Items/Dice/icons/Range.icon.svg"),
64057
64073
  target: "each",
64058
64074
  controls: [
64059
64075
  {
@@ -64094,7 +64110,7 @@ var diceOverlay = {
64094
64110
  {
64095
64111
  id: "diceActions",
64096
64112
  label: "Dice",
64097
- icon: overlaySymbolIcon("dice.throw"),
64113
+ icon: overlayAssetIcon("src/Items/Dice/icons/Throw.icon.svg"),
64098
64114
  actionIds: ["dice.throw", "dice.range", "dice.fill"]
64099
64115
  }
64100
64116
  ]
@@ -64105,14 +64121,14 @@ var addDiceToolOverlay = {
64105
64121
  kind: "create",
64106
64122
  createsItemType: "Dice",
64107
64123
  family: "game",
64108
- icon: overlaySymbolIcon("tool.dice"),
64124
+ icon: overlayAssetIcon("src/Items/Dice/icons/Tool.icon.svg"),
64109
64125
  launch: { kind: "activate-tool" },
64110
64126
  surface: {
64111
64127
  order: 1,
64112
64128
  group: {
64113
64129
  id: "gameItems",
64114
64130
  label: "Game items",
64115
- icon: overlaySymbolIcon("tool.dice"),
64131
+ icon: overlayAssetIcon("src/Items/Dice/icons/Tool.icon.svg"),
64116
64132
  order: 1,
64117
64133
  behavior: "open-panel"
64118
64134
  },
@@ -64465,7 +64481,7 @@ var screenOverlay = {
64465
64481
  id: "screen.background",
64466
64482
  label: "Background",
64467
64483
  icon: {
64468
- ...overlaySymbolIcon("screen.background"),
64484
+ ...overlayAssetIcon("src/Items/Screen/icons/Background.icon.svg"),
64469
64485
  state: { swatch: { kind: "itemProperty", property: "backgroundColor" } }
64470
64486
  },
64471
64487
  target: "each",
@@ -64487,7 +64503,7 @@ var screenOverlay = {
64487
64503
  id: "screen.stroke",
64488
64504
  label: "Stroke",
64489
64505
  icon: {
64490
- ...overlaySymbolIcon("shape.stroke"),
64506
+ ...overlayAssetIcon("src/Items/Shape/icons/Stroke.icon.svg"),
64491
64507
  state: { swatch: { kind: "itemProperty", property: "borderColor" } }
64492
64508
  },
64493
64509
  target: "each",
@@ -64523,7 +64539,7 @@ var screenOverlay = {
64523
64539
  {
64524
64540
  id: "screenStrokeStyle",
64525
64541
  label: "Stroke",
64526
- icon: overlaySymbolIcon("shape.stroke"),
64542
+ icon: overlayAssetIcon("src/Items/Shape/icons/Stroke.icon.svg"),
64527
64543
  controlIds: ["borderColor", "borderWidth"]
64528
64544
  }
64529
64545
  ]
@@ -64531,7 +64547,7 @@ var screenOverlay = {
64531
64547
  {
64532
64548
  id: "screen.backgroundImage",
64533
64549
  label: "Background image",
64534
- icon: overlaySymbolIcon("screen.backgroundImage"),
64550
+ icon: overlayAssetIcon("src/Items/Screen/icons/BackgroundImage.icon.svg"),
64535
64551
  target: "each",
64536
64552
  when: {
64537
64553
  kind: "falsy",
@@ -64554,7 +64570,7 @@ var screenOverlay = {
64554
64570
  {
64555
64571
  id: "screen.removeBackgroundImage",
64556
64572
  label: "Remove background image",
64557
- icon: overlaySymbolIcon("screen.backgroundImage.remove"),
64573
+ icon: overlayAssetIcon("src/Items/Screen/icons/BackgroundImageRemove.icon.svg"),
64558
64574
  target: "each",
64559
64575
  when: {
64560
64576
  kind: "truthy",
@@ -64571,7 +64587,7 @@ var screenOverlay = {
64571
64587
  {
64572
64588
  id: "screenAppearance",
64573
64589
  label: "Appearance",
64574
- icon: overlaySymbolIcon("screen.background"),
64590
+ icon: overlayAssetIcon("src/Items/Screen/icons/Background.icon.svg"),
64575
64591
  actionIds: ["screen.background", "screen.stroke", "screen.backgroundImage", "screen.removeBackgroundImage"]
64576
64592
  }
64577
64593
  ]
@@ -64582,14 +64598,14 @@ var addScreenToolOverlay = {
64582
64598
  kind: "create",
64583
64599
  createsItemType: "Screen",
64584
64600
  family: "container",
64585
- icon: overlaySymbolIcon("tool.screen"),
64601
+ icon: overlayAssetIcon("src/Items/Screen/icons/Tool.icon.svg"),
64586
64602
  launch: { kind: "activate-tool" },
64587
64603
  surface: {
64588
64604
  order: 2,
64589
64605
  group: {
64590
64606
  id: "gameItems",
64591
64607
  label: "Game items",
64592
- icon: overlaySymbolIcon("tool.dice"),
64608
+ icon: overlayAssetIcon("src/Items/Dice/icons/Tool.icon.svg"),
64593
64609
  order: 1,
64594
64610
  behavior: "open-panel"
64595
64611
  },
@@ -64602,14 +64618,14 @@ var addPouchToolOverlay = {
64602
64618
  kind: "create",
64603
64619
  createsItemType: "Screen",
64604
64620
  family: "container",
64605
- icon: overlaySymbolIcon("tool.pouch"),
64621
+ icon: overlayAssetIcon("src/Items/Screen/icons/Pouch.icon.svg"),
64606
64622
  launch: { kind: "activate-tool" },
64607
64623
  surface: {
64608
64624
  order: 3,
64609
64625
  group: {
64610
64626
  id: "gameItems",
64611
64627
  label: "Game items",
64612
- icon: overlaySymbolIcon("tool.dice"),
64628
+ icon: overlayAssetIcon("src/Items/Dice/icons/Tool.icon.svg"),
64613
64629
  order: 1,
64614
64630
  behavior: "open-panel"
64615
64631
  },
@@ -72574,7 +72590,7 @@ var addDrawingToolOverlay = {
72574
72590
  family: "drawing",
72575
72591
  createsItemType: "Drawing",
72576
72592
  icon: {
72577
- ...overlaySymbolIcon("tool.pen"),
72593
+ ...overlayAssetIcon("src/Items/Drawing/icons/Pen.icon.svg"),
72578
72594
  state: {
72579
72595
  swatch: { kind: "toolProperty", property: "strokeColor" },
72580
72596
  note: "UI can show the pending pen color in the icon."
@@ -72586,7 +72602,7 @@ var addDrawingToolOverlay = {
72586
72602
  {
72587
72603
  id: "drawingDefaults",
72588
72604
  label: "Pen defaults",
72589
- icon: overlaySymbolIcon("tool.pen"),
72605
+ icon: overlayAssetIcon("src/Items/Drawing/icons/Pen.icon.svg"),
72590
72606
  controlIds: strokeControls2.map((control) => control.id)
72591
72607
  }
72592
72608
  ]
@@ -72597,7 +72613,7 @@ var addDrawingToolOverlay = {
72597
72613
  group: {
72598
72614
  id: "drawingTools",
72599
72615
  label: "Drawing",
72600
- icon: overlaySymbolIcon("tool.pen"),
72616
+ icon: overlayAssetIcon("src/Items/Drawing/icons/Pen.icon.svg"),
72601
72617
  order: 5,
72602
72618
  behavior: "activate-last-used"
72603
72619
  },
@@ -72611,7 +72627,7 @@ var addHighlighterToolOverlay = {
72611
72627
  family: "drawing",
72612
72628
  createsItemType: "Drawing",
72613
72629
  icon: {
72614
- ...overlaySymbolIcon("tool.highlighter"),
72630
+ ...overlayAssetIcon("src/Items/Drawing/icons/Highlighter.icon.svg"),
72615
72631
  state: {
72616
72632
  swatch: { kind: "toolProperty", property: "strokeColor" },
72617
72633
  note: "UI can show the pending highlighter color in the icon."
@@ -72623,7 +72639,7 @@ var addHighlighterToolOverlay = {
72623
72639
  {
72624
72640
  id: "highlighterDefaults",
72625
72641
  label: "Highlighter defaults",
72626
- icon: overlaySymbolIcon("tool.highlighter"),
72642
+ icon: overlayAssetIcon("src/Items/Drawing/icons/Highlighter.icon.svg"),
72627
72643
  controlIds: strokeControls2.map((control) => control.id)
72628
72644
  }
72629
72645
  ]
@@ -72634,7 +72650,7 @@ var addHighlighterToolOverlay = {
72634
72650
  group: {
72635
72651
  id: "drawingTools",
72636
72652
  label: "Drawing",
72637
- icon: overlaySymbolIcon("tool.pen"),
72653
+ icon: overlayAssetIcon("src/Items/Drawing/icons/Pen.icon.svg"),
72638
72654
  order: 5,
72639
72655
  behavior: "activate-last-used"
72640
72656
  },
@@ -72646,7 +72662,7 @@ var eraserToolOverlay = {
72646
72662
  label: "Eraser",
72647
72663
  kind: "mode",
72648
72664
  family: "drawing",
72649
- icon: overlaySymbolIcon("tool.eraser"),
72665
+ icon: overlayAssetIcon("src/Items/Drawing/icons/Eraser.icon.svg"),
72650
72666
  defaults: {
72651
72667
  controls: [
72652
72668
  {
@@ -72670,7 +72686,7 @@ var eraserToolOverlay = {
72670
72686
  group: {
72671
72687
  id: "drawingTools",
72672
72688
  label: "Drawing",
72673
- icon: overlaySymbolIcon("tool.pen"),
72689
+ icon: overlayAssetIcon("src/Items/Drawing/icons/Pen.icon.svg"),
72674
72690
  order: 5,
72675
72691
  behavior: "activate-last-used"
72676
72692
  },
@@ -72875,7 +72891,7 @@ var frameTypeOptions = Object.keys(Frames).map((frameType) => ({
72875
72891
  id: frameType,
72876
72892
  label: frameType === "Custom" ? "Custom" : Frames[frameType].name,
72877
72893
  value: frameType,
72878
- icon: overlaySymbolIcon(`frame.${frameType}`)
72894
+ icon: overlayAssetIcon(frameType === "Custom" ? "src/Items/Frame/Basic/Custom/Custom.icon.svg" : frameType === "A4" ? "src/Items/Frame/Basic/A4/A4.icon.svg" : frameType === "Letter" ? "src/Items/Frame/Basic/Letter/Letter.icon.svg" : frameType === "Frame16x9" ? "src/Items/Frame/Basic/16-9/16-9.icon.svg" : frameType === "Frame4x3" ? "src/Items/Frame/Basic/4-3/4-3.icon.svg" : frameType === "Frame1x1" ? "src/Items/Frame/Basic/1-1/1-1.icon.svg" : frameType === "Frame3x2" ? "src/Items/Frame/Basic/3-2/3-2.icon.svg" : "src/Items/Frame/Basic/9-18/9-18.icon.svg")
72879
72895
  }));
72880
72896
  var addFrameToolOverlay = {
72881
72897
  toolName: "AddFrame",
@@ -72883,7 +72899,7 @@ var addFrameToolOverlay = {
72883
72899
  kind: "create",
72884
72900
  createsItemType: "Frame",
72885
72901
  family: "frame",
72886
- icon: overlaySymbolIcon("tool.frame"),
72902
+ icon: overlayAssetIcon("src/Items/Frame/Frame.icon.svg"),
72887
72903
  defaults: {
72888
72904
  controls: [
72889
72905
  {
@@ -73265,7 +73281,7 @@ var addStickerToolOverlay = {
73265
73281
  createsItemType: "Sticker",
73266
73282
  family: "sticker",
73267
73283
  icon: {
73268
- ...overlaySymbolIcon("tool.sticker"),
73284
+ ...overlayAssetIcon("src/Items/Sticker/Path/Sticker.icon.svg"),
73269
73285
  state: {
73270
73286
  swatch: { kind: "toolProperty", property: "backgroundColor" }
73271
73287
  }