Fix workbench not loading
@@ -520,8 +520,6 @@ class ZTools_SpreadsheetQuickAlias:
|
||||
# Clean the label to make a valid alias
|
||||
# Must be alphanumeric + underscore, start with letter
|
||||
alias = "".join(
|
||||
c if c.isalnum() or c == "_" else "_"
|
||||
for c in label_content
|
||||
c if c.isalnum() or c == "_" else "_" for c in label_content
|
||||
)
|
||||
# Ensure it starts with a letter
|
||||
@@ -544,6 +542,8 @@ class ZTools_SpreadsheetQuickAlias:
|
||||
|
||||
if aliases_created > 0:
|
||||
App.Console.PrintMessage(f"Created {aliases_created} alias(es)\n")
|
||||
else:
|
||||
App.Console.PrintWarning(
|
||||
"No aliases created. Select value cells with labels to the left.\n"
|
||||
)
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<rect x="2" y="2" width="28" height="28" rx="4" fill="#313244"/>
|
||||
<line x1="6" y1="9" x2="26" y2="9" stroke="#cdd6f4" stroke-width="2" stroke-linecap="round"/>
|
||||
<line x1="10" y1="14" x2="22" y2="14" stroke="#cdd6f4" stroke-width="2" stroke-linecap="round"/>
|
||||
<line x1="8" y1="19" x2="24" y2="19" stroke="#cdd6f4" stroke-width="2" stroke-linecap="round"/>
|
||||
<line x1="12" y1="24" x2="20" y2="24" stroke="#cdd6f4" stroke-width="2" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 526 B |
@@ -0,0 +1,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<rect x="2" y="2" width="28" height="28" rx="4" fill="#313244"/>
|
||||
<line x1="6" y1="9" x2="26" y2="9" stroke="#cdd6f4" stroke-width="2" stroke-linecap="round"/>
|
||||
<line x1="6" y1="14" x2="20" y2="14" stroke="#cdd6f4" stroke-width="2" stroke-linecap="round"/>
|
||||
<line x1="6" y1="19" x2="24" y2="19" stroke="#cdd6f4" stroke-width="2" stroke-linecap="round"/>
|
||||
<line x1="6" y1="24" x2="16" y2="24" stroke="#cdd6f4" stroke-width="2" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 524 B |
@@ -0,0 +1,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<rect x="2" y="2" width="28" height="28" rx="4" fill="#313244"/>
|
||||
<line x1="6" y1="9" x2="26" y2="9" stroke="#cdd6f4" stroke-width="2" stroke-linecap="round"/>
|
||||
<line x1="12" y1="14" x2="26" y2="14" stroke="#cdd6f4" stroke-width="2" stroke-linecap="round"/>
|
||||
<line x1="8" y1="19" x2="26" y2="19" stroke="#cdd6f4" stroke-width="2" stroke-linecap="round"/>
|
||||
<line x1="16" y1="24" x2="26" y2="24" stroke="#cdd6f4" stroke-width="2" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 526 B |
@@ -0,0 +1,9 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<rect x="2" y="2" width="28" height="28" rx="4" fill="#313244"/>
|
||||
<!-- Paint bucket -->
|
||||
<path d="M10 12 L16 6 L22 12 L22 20 C22 22 20 24 16 24 C12 24 10 22 10 20 Z" fill="#f9e2af" stroke="#fab387" stroke-width="1.5"/>
|
||||
<!-- Handle -->
|
||||
<path d="M16 6 L16 3" stroke="#7f849c" stroke-width="2" stroke-linecap="round"/>
|
||||
<!-- Paint drip -->
|
||||
<ellipse cx="25" cy="22" rx="2" ry="3" fill="#f9e2af"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 471 B |
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<rect x="2" y="2" width="28" height="28" rx="4" fill="#313244"/>
|
||||
<text x="16" y="23" font-family="sans-serif" font-size="18" font-weight="bold" fill="#cdd6f4" text-anchor="middle">B</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 260 B |
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<rect x="2" y="2" width="28" height="28" rx="4" fill="#313244"/>
|
||||
<text x="16" y="23" font-family="serif" font-size="18" font-style="italic" fill="#cdd6f4" text-anchor="middle">I</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 256 B |
@@ -0,0 +1,10 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<rect x="2" y="2" width="28" height="28" rx="4" fill="#313244"/>
|
||||
<!-- Tag shape -->
|
||||
<path d="M6 10 L18 10 L24 16 L18 22 L6 22 Z" fill="#94e2d5" stroke="#a6e3a1" stroke-width="1.5"/>
|
||||
<!-- Tag hole -->
|
||||
<circle cx="10" cy="16" r="2" fill="#313244"/>
|
||||
<!-- Equals sign (alias) -->
|
||||
<line x1="20" y1="12" x2="26" y2="12" stroke="#cdd6f4" stroke-width="2" stroke-linecap="round"/>
|
||||
<line x1="20" y1="17" x2="26" y2="17" stroke="#cdd6f4" stroke-width="2" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 553 B |
@@ -0,0 +1,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<rect x="2" y="2" width="28" height="28" rx="4" fill="#313244"/>
|
||||
<!-- Letter A -->
|
||||
<text x="16" y="20" font-family="sans-serif" font-size="16" font-weight="bold" fill="#cdd6f4" text-anchor="middle">A</text>
|
||||
<!-- Color bar -->
|
||||
<rect x="8" y="24" width="16" height="3" rx="1" fill="#f38ba8"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 368 B |
@@ -0,0 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||
<rect x="2" y="2" width="28" height="28" rx="4" fill="#313244"/>
|
||||
<text x="16" y="20" font-family="sans-serif" font-size="16" fill="#cdd6f4" text-anchor="middle">U</text>
|
||||
<line x1="10" y1="24" x2="22" y2="24" stroke="#cdd6f4" stroke-width="2"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 317 B |