@floless/app 0.143.0 → 0.145.0
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/floless-server.cjs +177602 -161132
- package/dist/schemas/steel.model.v2.schema.json +50 -2
- package/dist/schemas/tekla.model.v1.schema.json +66 -0
- package/dist/schemas/tekla.model.v2.schema.json +69 -0
- package/dist/schemas/tekla.source-package.v1.schema.json +37 -0
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +24 -1
- package/dist/skills/floless-app-workflows/SKILL.md +8 -2
- package/dist/skills/floless-app-workflows/references/workspace-data.md +25 -4
- package/dist/templates/floless-workspace-model-report.flo +27 -23
- package/dist/templates/revit-model.flo +6 -2
- package/dist/templates/tekla-model-report.flo +60 -0
- package/dist/templates/tekla-parser.flo +61 -0
- package/dist/web/app.css +89 -2
- package/dist/web/aware.js +423 -46
- package/dist/web/chat.css +17 -2
- package/dist/web/chat.js +2 -1
- package/dist/web/commands-revit.js +4 -0
- package/dist/web/commands-shell.js +136 -3
- package/dist/web/commands-steel.js +6 -0
- package/dist/web/commands-tekla-parser.js +48 -0
- package/dist/web/commands.js +1 -1
- package/dist/web/grid-core.js +15 -0
- package/dist/web/index.html +43 -5
- package/dist/web/instructor.js +13 -3
- package/dist/web/left-pane.js +160 -10
- package/dist/web/model-artifact-loader.js +15 -0
- package/dist/web/model-display-units.js +89 -0
- package/dist/web/model-editor-revit-adapter.js +21 -4
- package/dist/web/model-editor.css +4 -2
- package/dist/web/model-measure.js +83 -22
- package/dist/web/model-panel-bridge.js +46 -3
- package/dist/web/model-pointer-dock.js +26 -1
- package/dist/web/model-property-display.js +91 -0
- package/dist/web/model-revit-module.js +9 -0
- package/dist/web/model-selection-tools.js +11 -0
- package/dist/web/model-snap-contract.js +14 -0
- package/dist/web/model-snapping.js +564 -139
- package/dist/web/model-spatial-panel.js +52 -21
- package/dist/web/model-structural-grid-view.js +334 -0
- package/dist/web/model-tekla-selection.js +32 -0
- package/dist/web/model-viewport-revit-adapter.js +179 -32
- package/dist/web/revit-editor.css +11 -1
- package/dist/web/revit-editor.html +4 -3
- package/dist/web/revit-editor.js +589 -111
- package/dist/web/steel-3d-view.js +58 -372
- package/dist/web/steel-editor.html +231 -8
- package/dist/web/tekla-editor.html +71 -0
- package/dist/web/tekla-structural-grid-adapter.js +56 -0
- package/dist/web/workspaces.js +872 -97
- package/distribution-profile-production.mjs +4 -0
- package/distribution-resource-inventory.mjs +4 -2
- package/package.json +5 -2
package/dist/web/chat.css
CHANGED
|
@@ -1105,14 +1105,29 @@
|
|
|
1105
1105
|
.ai-chat-compose-hint.working { display: inline-flex; align-items: center; min-height: 16px; padding-left: 4px; }
|
|
1106
1106
|
.ai-chat-compose-context { min-height: 12px; padding: 5px 0 0 30px; color: var(--text-dim); font: 8px/1.3 var(--mono); overflow-wrap: anywhere; }
|
|
1107
1107
|
.ai-chat-compose-context strong { color: var(--text-muted); font-weight: 600; }
|
|
1108
|
-
|
|
1108
|
+
/* Send and Stop are icon-only circles: the composer's primary actions, set apart from the square
|
|
1109
|
+
utility buttons. Stop is deliberately neutral, not red: it sits beside Send whenever a follow-up can
|
|
1110
|
+
be queued mid-response, and the filled-square glyph already says "stop" without shouting. */
|
|
1111
|
+
.ai-chat-compose-actions svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
1112
|
+
.ai-chat-send, .ai-chat-stop { flex: none; width: 28px; height: 28px; min-width: 0; padding: 0; display: grid; place-items: center; border-radius: 50%; }
|
|
1113
|
+
.ai-chat-send:not(:disabled):active, .ai-chat-stop:not(:disabled):active { transform: scale(.94); }
|
|
1114
|
+
/* The paper plane's point sits top-right of its box; nudge it so it reads centred in the circle. */
|
|
1115
|
+
.ai-chat-send svg { width: 14px; height: 14px; stroke-width: 2.25; transform: translate(-1px, 1px); }
|
|
1116
|
+
.ai-chat-stop svg { fill: currentColor; stroke: none; }
|
|
1109
1117
|
.ai-chat-compose-actions .ai-chat-stop { margin-left: auto; }
|
|
1110
1118
|
.ai-chat-compose-actions .ai-chat-stop[hidden] + .ai-chat-send { margin-left: auto; }
|
|
1111
1119
|
.ai-chat-send { border-color: var(--accent); background: var(--accent); color: #fff; }
|
|
1112
1120
|
.ai-chat-send:hover { filter: brightness(1.08); }
|
|
1113
1121
|
.ai-chat-send:disabled, .ai-chat-stop:disabled, .ai-chat-icon:disabled, .ai-chat-start-provider:disabled { cursor: default; opacity: .45; filter: none; }
|
|
1114
|
-
.ai-chat-stop { border-color:
|
|
1122
|
+
.ai-chat-stop { border-color: var(--border-strong); background: var(--surface-3); color: var(--text); }
|
|
1123
|
+
.ai-chat-stop:not(:disabled):hover { background: color-mix(in srgb, var(--surface-3) 88%, var(--text)); }
|
|
1115
1124
|
.ai-chat-stop[hidden] { display: none; }
|
|
1125
|
+
/* Attach is a quiet ghost so the blue Send stays the row's one strong accent. */
|
|
1126
|
+
#chat-attach { border-color: transparent; background: transparent; color: var(--text-muted); }
|
|
1127
|
+
#chat-attach:not(:disabled):hover { background: var(--surface-2); color: var(--text); }
|
|
1128
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1129
|
+
.ai-chat-send:not(:disabled):active, .ai-chat-stop:not(:disabled):active { transform: none; }
|
|
1130
|
+
}
|
|
1116
1131
|
|
|
1117
1132
|
@media (max-width: 900px) {
|
|
1118
1133
|
.ai-chat-settings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
package/dist/web/chat.js
CHANGED
|
@@ -586,7 +586,8 @@
|
|
|
586
586
|
prefix.textContent = 'Sharing with AI: ';
|
|
587
587
|
ui.contextNote.replaceChildren(prefix, document.createTextNode(shared));
|
|
588
588
|
}
|
|
589
|
-
|
|
589
|
+
// Send is icon-only, so its tooltip names the action before saying what goes with the message.
|
|
590
|
+
ui.send.dataset.tip = `Send message · ${ui.contextNote.textContent}`;
|
|
590
591
|
// Leaving or returning to the Drawing Filter changes whether a suggestion can be applied.
|
|
591
592
|
refreshFilterCards();
|
|
592
593
|
}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
if (!window.Commands) return;
|
|
4
4
|
window.Commands.surfaceScope('revit-editor');
|
|
5
5
|
var def = window.Commands.define;
|
|
6
|
+
def('revit.display-units', { label: 'Display units', actsOn: 'Displays this project’s lengths in {instance}', group: 'In the Revit model toolbar', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
7
|
+
def('revit.display-units-retry', { label: 'Retry display units', actsOn: 'Reloads this project’s saved display-unit preference', group: 'In the Revit model toolbar', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
6
8
|
def('revit.projection', { label: 'Camera projection', actsOn: 'Opens perspective and orthographic camera choices', group: 'In the Revit model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
7
9
|
def('revit.projection-mode', { label: 'Set camera projection', actsOn: 'Draws the Revit model in {instance}', group: 'In the Revit model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
8
10
|
def('revit.fit', { label: 'Fit all to view', key: 'Also: Home', actsOn: 'Frames the whole Revit model', group: 'In the Revit model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
@@ -21,6 +23,8 @@
|
|
|
21
23
|
def('revit.clip-action', { label: 'Change clipping', actsOn: 'Applies {instance} to the visible model', group: 'In the Revit model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
22
24
|
def('revit.work-plane', { label: 'Working plane', actsOn: 'Opens active-frame and working-plane controls', group: 'In the Revit model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
23
25
|
def('revit.work-plane-action', { label: 'Change working plane', actsOn: 'Applies {instance} to measuring coordinates and snaps', group: 'In the Revit model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
26
|
+
def('revit.work-plane-offset', { label: 'Working-plane offset', actsOn: 'Edits the {instance} plane’s offset along its normal', group: 'In the Revit spatial controls', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
27
|
+
def('revit.work-plane-set', { label: 'Set working plane', actsOn: 'Applies the {instance} plane at the entered offset to measuring coordinates and snaps', group: 'In the Revit spatial controls', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
24
28
|
def('revit.work-area', { label: 'Work area', actsOn: 'Opens shared model-cropping controls', group: 'In the Revit model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
25
29
|
def('revit.work-area-action', { label: 'Change work area', actsOn: 'Applies {instance} to the visible model extent', group: 'In the Revit model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
26
30
|
def('revit.measure', { label: 'Dimension', actsOn: 'Measures between two snapped points in the loaded model', group: 'In the Revit model snapping bar', persistence: 'local', interaction: 'mode', risk: [], guidance: 'on-demand' });
|
|
@@ -794,6 +794,17 @@
|
|
|
794
794
|
why: 'The project is created only after you choose a drawing and confirm its setup.',
|
|
795
795
|
});
|
|
796
796
|
|
|
797
|
+
def('shell.project-create-tekla-read', {
|
|
798
|
+
label: 'Read Tekla model',
|
|
799
|
+
actsOn: 'Opens the read-only Tekla source picker to start a Parser project',
|
|
800
|
+
group: 'In the project list',
|
|
801
|
+
persistence: 'none',
|
|
802
|
+
interaction: 'dialog',
|
|
803
|
+
risk: [],
|
|
804
|
+
guidance: 'on-demand',
|
|
805
|
+
why: 'The source model is not changed; FloLess starts a read only after you choose a model folder or ZIP.',
|
|
806
|
+
});
|
|
807
|
+
|
|
797
808
|
def('shell.project-steel-missing-workflow', {
|
|
798
809
|
label: 'Steel model needs setup',
|
|
799
810
|
actsOn: 'Explains that the Steel workflow is missing and how to report the setup problem',
|
|
@@ -815,14 +826,58 @@
|
|
|
815
826
|
});
|
|
816
827
|
|
|
817
828
|
def('shell.revit-view-access', {
|
|
818
|
-
label: 'View Revit setup',
|
|
819
|
-
actsOn: 'Opens Revit access and setup details for this Workspace',
|
|
829
|
+
label: 'View Revit Parser setup',
|
|
830
|
+
actsOn: 'Opens Revit Parser access and setup details for this Workspace',
|
|
831
|
+
group: 'In the project list',
|
|
832
|
+
persistence: 'none',
|
|
833
|
+
interaction: 'dialog',
|
|
834
|
+
risk: [],
|
|
835
|
+
guidance: 'on-demand',
|
|
836
|
+
why: 'This card explains why the read-only Revit Parser is unavailable and opens the detailed recovery action.',
|
|
837
|
+
});
|
|
838
|
+
|
|
839
|
+
def('shell.revit-retry-setup', {
|
|
840
|
+
label: 'Retry Revit Parser setup',
|
|
841
|
+
actsOn: 'Retries the read-only Revit Parser setup for this Workspace',
|
|
842
|
+
group: 'In the project list',
|
|
843
|
+
persistence: 'none',
|
|
844
|
+
interaction: 'instant',
|
|
845
|
+
risk: [],
|
|
846
|
+
guidance: 'on-demand',
|
|
847
|
+
why: 'This card appears when automatic Revit Parser setup did not finish; retrying checks the same verified parser and entitlement again.',
|
|
848
|
+
});
|
|
849
|
+
|
|
850
|
+
def('shell.tekla-view-access', {
|
|
851
|
+
label: 'View Tekla Parser setup',
|
|
852
|
+
actsOn: 'Opens Tekla Parser account and setup details for this Workspace',
|
|
820
853
|
group: 'In the project list',
|
|
821
854
|
persistence: 'none',
|
|
822
855
|
interaction: 'dialog',
|
|
823
856
|
risk: [],
|
|
824
857
|
guidance: 'on-demand',
|
|
825
|
-
why: 'This card explains why
|
|
858
|
+
why: 'This card explains why the read-only Tekla Parser is unavailable and leads to the available recovery action.',
|
|
859
|
+
});
|
|
860
|
+
|
|
861
|
+
def('shell.tekla-retry-setup', {
|
|
862
|
+
label: 'Retry Tekla Parser setup',
|
|
863
|
+
actsOn: 'Retries the read-only Tekla Parser setup for this Workspace',
|
|
864
|
+
group: 'In the project list',
|
|
865
|
+
persistence: 'none',
|
|
866
|
+
interaction: 'instant',
|
|
867
|
+
risk: [],
|
|
868
|
+
guidance: 'on-demand',
|
|
869
|
+
why: 'This card appears when automatic Tekla Parser setup did not finish; retrying checks the same verified parser and entitlement again.',
|
|
870
|
+
});
|
|
871
|
+
|
|
872
|
+
def('shell.tekla-report-setup-issue', {
|
|
873
|
+
label: 'Report Tekla Parser setup issue',
|
|
874
|
+
actsOn: 'Opens the shared FloLess issue report for an unverifiable Tekla Parser setup',
|
|
875
|
+
group: 'In the project list',
|
|
876
|
+
persistence: 'none',
|
|
877
|
+
interaction: 'dialog',
|
|
878
|
+
risk: [],
|
|
879
|
+
guidance: 'on-demand',
|
|
880
|
+
why: 'A security check did not pass. The model remains untouched and setup is not retried automatically.',
|
|
826
881
|
});
|
|
827
882
|
|
|
828
883
|
def('shell.revit-report-setup-issue', {
|
|
@@ -846,6 +901,26 @@
|
|
|
846
901
|
guidance: 'on-demand',
|
|
847
902
|
});
|
|
848
903
|
|
|
904
|
+
def('shell.tekla-source-folder', {
|
|
905
|
+
label: 'Choose Tekla model folder',
|
|
906
|
+
actsOn: 'Chooses an extracted Tekla model directory for a read-only snapshot',
|
|
907
|
+
group: 'In Tekla source selection',
|
|
908
|
+
persistence: 'none',
|
|
909
|
+
interaction: 'dialog',
|
|
910
|
+
risk: [],
|
|
911
|
+
guidance: 'on-demand',
|
|
912
|
+
});
|
|
913
|
+
|
|
914
|
+
def('shell.tekla-source-zip', {
|
|
915
|
+
label: 'Choose Tekla model ZIP',
|
|
916
|
+
actsOn: 'Chooses one Tekla model archive for a read-only snapshot',
|
|
917
|
+
group: 'In Tekla source selection',
|
|
918
|
+
persistence: 'none',
|
|
919
|
+
interaction: 'dialog',
|
|
920
|
+
risk: [],
|
|
921
|
+
guidance: 'on-demand',
|
|
922
|
+
});
|
|
923
|
+
|
|
849
924
|
def('shell.project-name', {
|
|
850
925
|
label: 'Project name',
|
|
851
926
|
actsOn: 'Sets the name shown for this project in FloLess',
|
|
@@ -981,6 +1056,36 @@
|
|
|
981
1056
|
guidance: 'on-demand',
|
|
982
1057
|
});
|
|
983
1058
|
|
|
1059
|
+
def('shell.model-search', {
|
|
1060
|
+
label: 'Search model objects',
|
|
1061
|
+
actsOn: 'Filters the current Model list by object name, type, profile, or ID',
|
|
1062
|
+
group: 'In the Model section of the left panel',
|
|
1063
|
+
persistence: 'none',
|
|
1064
|
+
interaction: 'instant',
|
|
1065
|
+
risk: [],
|
|
1066
|
+
guidance: 'on-demand',
|
|
1067
|
+
});
|
|
1068
|
+
|
|
1069
|
+
def('shell.model-search-clear', {
|
|
1070
|
+
label: 'Clear model search',
|
|
1071
|
+
actsOn: 'Clears the current object filter and restores the complete Model list',
|
|
1072
|
+
group: 'In the Model section of the left panel',
|
|
1073
|
+
persistence: 'none',
|
|
1074
|
+
interaction: 'instant',
|
|
1075
|
+
risk: [],
|
|
1076
|
+
guidance: 'on-demand',
|
|
1077
|
+
});
|
|
1078
|
+
|
|
1079
|
+
def('shell.grid-elevation', {
|
|
1080
|
+
label: 'Grid visibility: {instance}',
|
|
1081
|
+
actsOn: 'Shows or hides the structural grid at {instance}',
|
|
1082
|
+
group: 'In the Grid object in the Model section',
|
|
1083
|
+
persistence: 'local',
|
|
1084
|
+
interaction: 'instant',
|
|
1085
|
+
risk: [],
|
|
1086
|
+
guidance: 'on-demand',
|
|
1087
|
+
});
|
|
1088
|
+
|
|
984
1089
|
def('shell.model-item', {
|
|
985
1090
|
label: 'Select model object', actsOn: 'Selects {instance} in the model and Inspector. Ctrl adds or removes it; Shift takes the rows in between',
|
|
986
1091
|
group: 'In the Model section of the left panel', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
@@ -1964,6 +2069,13 @@
|
|
|
1964
2069
|
|
|
1965
2070
|
/* ── the report viewer ──────────────────────────────────────────────────── */
|
|
1966
2071
|
|
|
2072
|
+
def('shell.report-first-section', { label: 'First report section', actsOn: 'Shows the start of the complete model property report', group: 'In the report viewer', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2073
|
+
def('shell.report-previous-section', { label: 'Previous report section', actsOn: 'Shows the preceding section of the report', group: 'In the report viewer', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2074
|
+
def('shell.report-next-section', { label: 'Next report section', actsOn: 'Shows the following section of the report', group: 'In the report viewer', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2075
|
+
def('shell.report-last-section', { label: 'Last report section', actsOn: 'Shows the final section of the report', group: 'In the report viewer', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2076
|
+
def('shell.report-object-number', { label: 'Object number', actsOn: 'Chooses the model object to show', group: 'In the report viewer', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2077
|
+
def('shell.report-go-object', { label: 'Go to object', actsOn: 'Shows the first report section containing that object', group: 'In the report viewer', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2078
|
+
|
|
1967
2079
|
def('shell.report-stop', {
|
|
1968
2080
|
label: 'Stop the live session',
|
|
1969
2081
|
actsOn: 'Stops the report updating on each change',
|
|
@@ -1985,6 +2097,16 @@
|
|
|
1985
2097
|
why: 'Hosted on floless.io. Anyone with the link can read it, so treat it as public.',
|
|
1986
2098
|
});
|
|
1987
2099
|
|
|
2100
|
+
def('shell.report-download', {
|
|
2101
|
+
label: 'Download the complete report',
|
|
2102
|
+
actsOn: 'Downloads every object and property from this completed read-only report',
|
|
2103
|
+
group: 'In the report viewer',
|
|
2104
|
+
persistence: 'external',
|
|
2105
|
+
interaction: 'instant',
|
|
2106
|
+
risk: [],
|
|
2107
|
+
guidance: 'on-demand',
|
|
2108
|
+
});
|
|
2109
|
+
|
|
1988
2110
|
def('shell.report-open-file', {
|
|
1989
2111
|
label: 'Open the saved file',
|
|
1990
2112
|
actsOn: 'Opens it in its default application',
|
|
@@ -2453,6 +2575,17 @@
|
|
|
2453
2575
|
why: 'Greyed out while that routine is already running: the run in progress is the routine doing its job, so a second start is refused rather than queued behind it.',
|
|
2454
2576
|
});
|
|
2455
2577
|
|
|
2578
|
+
def('shell.routine-view-report', {
|
|
2579
|
+
label: 'View saved report',
|
|
2580
|
+
actsOn: 'Opens the verified, read-only report saved by {instance}',
|
|
2581
|
+
group: 'In the Routines dialog',
|
|
2582
|
+
persistence: 'none',
|
|
2583
|
+
interaction: 'instant',
|
|
2584
|
+
risk: [],
|
|
2585
|
+
guidance: 'on-demand',
|
|
2586
|
+
why: 'The report is checked against your current access before it opens. An earlier successful report remains clearly dated if the latest attempt failed.',
|
|
2587
|
+
});
|
|
2588
|
+
|
|
2456
2589
|
def('shell.routine-delete', {
|
|
2457
2590
|
label: 'Delete the routine',
|
|
2458
2591
|
actsOn: 'Removes the routine for good',
|
|
@@ -2298,6 +2298,12 @@
|
|
|
2298
2298
|
def('steel.connection-row-delete', { label: 'Remove connection row', actsOn: 'Deletes the connection-library row for {instance}', group: 'In the Connections dialog', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Used rows require confirmation. Placed geometry remains but loses its recipe reference.' });
|
|
2299
2299
|
def('steel.rfi-profile', { label: 'Set RFI profile', actsOn: 'Sets the live profile for {instance} so FloLess can price the member and check any filed size answer', group: 'In the RFI dialog', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2300
2300
|
def('steel.rfi-profile-retry', { label: 'Retry profile check', actsOn: 'Saves the live profile again and rechecks {instance} against current RFI truth', group: 'In the RFI dialog', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Offered only after saving or reading current RFI truth failed. The row stays paused until the saved model and the RFI record agree, so retrying cannot expose a stale Apply or Resolved action.' });
|
|
2301
|
+
// #1723 — a height the drawing states, proposed instead of asked for. Every one of these is the same
|
|
2302
|
+
// edit as typing the elevation in Properties, so it clears the "not confirmed" mark on that end.
|
|
2303
|
+
def('steel.rfi-use-height', { label: 'Use or confirm a height', actsOn: 'Sets {instance} as the top of steel for that member end', group: 'In the RFI dialog', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Use applies a height read off the drawing; Confirm keeps the height already drawn, offered only where the drawings back it. Nothing changes until you choose, and FloLess re-reads the questions first and refuses if the offer has changed.' });
|
|
2304
|
+
def('steel.rfi-height', { label: 'Height', actsOn: 'Holds the height you type for {instance}', group: 'In the RFI dialog', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Nothing changes until Set height is pressed or Enter is typed.' });
|
|
2305
|
+
def('steel.rfi-set-height', { label: 'Set height', actsOn: 'Sets the typed height as the top of steel for {instance}', group: 'In the RFI dialog', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Use it when the proposed height is wrong or there is none. It is the same edit as typing the elevation in Properties.' });
|
|
2306
|
+
def('steel.inspector-use-height', { label: 'Use or confirm a height', actsOn: 'Sets {instance} as the top of steel for that member end', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Use applies a height read off the drawing; Confirm keeps the height already drawn, offered only where the drawings back it. Nothing changes until you choose, and FloLess re-reads the questions first and refuses if the offer has changed.' });
|
|
2301
2307
|
def('steel.provisional-select', { label: 'Inspect source trace', actsOn: 'Selects the exact source-view trace for {instance} and opens its evidence inspector', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'A source trace is evidence, not physical steel, so selecting it exposes the unresolved placement without enabling model edits.' });
|
|
2302
2308
|
def('steel.provisional-review', { label: 'Review question', actsOn: 'Opens the unresolved placement question for source-only members on this view', group: 'On the steel canvas', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand', why: 'The traced member stays outside the physical model until its drawing scale, registration, and endpoint readings establish one placement.' });
|
|
2303
2309
|
def('steel.provisional-source', { label: 'Open source', actsOn: 'Opens the exact drawing region where the source-only member was traced', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
(function () {
|
|
2
|
+
'use strict';
|
|
3
|
+
if (!window.Commands) return;
|
|
4
|
+
window.Commands.surfaceScope('tekla-parser-editor');
|
|
5
|
+
var def = window.Commands.define;
|
|
6
|
+
def('tekla-parser.display-units', { label: 'Display units', actsOn: 'Displays this project’s lengths in {instance}', group: 'In the Tekla Parser model toolbar', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
7
|
+
def('tekla-parser.display-units-retry', { label: 'Retry display units', actsOn: 'Reloads this project’s saved display-unit preference', group: 'In the Tekla Parser model toolbar', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
8
|
+
def('tekla-parser.projection', { label: 'Camera projection', actsOn: 'Opens perspective and orthographic camera choices', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
9
|
+
def('tekla-parser.projection-mode', { label: 'Set camera projection', actsOn: 'Draws the read-only Tekla snapshot in {instance}', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
10
|
+
def('tekla-parser.fit', { label: 'Fit all to view', actsOn: 'Frames the whole read-only Tekla snapshot', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
11
|
+
def('tekla-parser.fit-selection', { label: 'Zoom to selected', actsOn: 'Frames the selected model object', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
12
|
+
def('tekla-parser.display-mode', { label: 'Display mode', actsOn: 'Opens solid, wireframe, X-ray and realistic choices', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
13
|
+
def('tekla-parser.display-mode-set', { label: 'Set display mode', actsOn: 'Draws the read-only Tekla snapshot as {instance}', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
14
|
+
def('tekla-parser.lighting', { label: 'Lighting settings', actsOn: 'Adjusts sunlight direction and model brightness', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'dialog', risk: [], guidance: 'on-demand' });
|
|
15
|
+
def('tekla-parser.visibility', { label: 'Visibility', actsOn: 'Opens temporary visibility actions', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
16
|
+
def('tekla-parser.show-all', { label: 'Show all', actsOn: 'Restores every hidden or isolated object', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
17
|
+
def('tekla-parser.isolate', { label: 'Isolate selected', actsOn: 'Shows only the selected model object', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
18
|
+
def('tekla-parser.ghost-unselected', { label: 'Ghost unselected', actsOn: 'Fades every object outside the current selection', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
19
|
+
def('tekla-parser.hide-selected', { label: 'Hide selected', actsOn: 'Temporarily hides the selected model object', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
20
|
+
def('tekla-parser.saved-views', { label: 'Saved views', actsOn: 'Stores or restores a camera view for this exact snapshot', group: 'In the Tekla Parser model toolbar', persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand' });
|
|
21
|
+
def('tekla-parser.spatial-controls', { label: 'Spatial controls', actsOn: 'Opens coordinate frame, working plane, clip, and work-area controls', group: 'In the Tekla Parser coordinate HUD', persistence: 'local', interaction: 'dialog', risk: [], guidance: 'on-demand' });
|
|
22
|
+
def('tekla-parser.clip', { label: 'Clipping', actsOn: 'Opens shared clip-plane and clip-box actions', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
23
|
+
def('tekla-parser.clip-action', { label: 'Change clipping', actsOn: 'Applies {instance} to the visible snapshot', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
24
|
+
def('tekla-parser.work-plane', { label: 'Working plane', actsOn: 'Opens active-frame and working-plane controls', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
25
|
+
def('tekla-parser.work-plane-action', { label: 'Change working plane', actsOn: 'Applies {instance} to measuring coordinates and snaps', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
26
|
+
def('tekla-parser.work-plane-offset', { label: 'Working-plane offset', actsOn: 'Edits the {instance} plane’s offset along its normal', group: 'In the Tekla Parser spatial controls', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
27
|
+
def('tekla-parser.work-plane-set', { label: 'Set working plane', actsOn: 'Applies the {instance} plane at the entered offset to measuring coordinates and snaps', group: 'In the Tekla Parser spatial controls', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
28
|
+
def('tekla-parser.work-area', { label: 'Work area', actsOn: 'Opens shared model-cropping controls', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
29
|
+
def('tekla-parser.work-area-action', { label: 'Change work area', actsOn: 'Applies {instance} to the visible snapshot extent', group: 'In the Tekla Parser model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
30
|
+
def('tekla-parser.measure', { label: 'Dimension', actsOn: 'Measures between two snapped points in the loaded snapshot', group: 'In the Tekla Parser snapping bar', persistence: 'local', interaction: 'mode', risk: [], guidance: 'active-command', steps: ['Click the first point', 'Click the second point', 'Click to place the dimension'], escLabel: 'Esc goes back one step; from the first point, Esc cancels' });
|
|
31
|
+
def('tekla-parser.measure-clear', { label: 'Clear dimensions', actsOn: 'Clears session-only model dimensions', group: 'In the Tekla Parser snapping bar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
32
|
+
def('tekla-parser.measure-axis-free', { label: 'Free measurement', actsOn: 'Clears the X, Y and Z measurement locks', group: 'In the Tekla Parser snapping bar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
33
|
+
def('tekla-parser.measure-axis-x', { label: 'Measure along X', actsOn: 'Toggles the active-frame X dimension lock', group: 'In the Tekla Parser snapping bar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
34
|
+
def('tekla-parser.measure-axis-y', { label: 'Measure along Y', actsOn: 'Toggles the active-frame Y dimension lock', group: 'In the Tekla Parser snapping bar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
35
|
+
def('tekla-parser.measure-axis-z', { label: 'Measure along Z', actsOn: 'Toggles the active-frame vertical dimension lock', group: 'In the Tekla Parser snapping bar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
36
|
+
def('tekla-parser.snap-mesh-vertex', { label: 'Mesh vertex snapping', actsOn: 'Snaps dimensions to authenticated triangle-mesh vertices', group: 'In the Tekla Parser snapping bar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
37
|
+
def('tekla-parser.snap-mesh-edge-midpoint', { label: 'Mesh edge midpoint snapping', actsOn: 'Snaps dimensions to authenticated triangle-edge midpoints', group: 'In the Tekla Parser snapping bar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
38
|
+
def('tekla-parser.snap-mesh-edge-nearest', { label: 'Mesh edge nearest snapping', actsOn: 'Snaps dimensions to the nearest point on an authenticated triangle edge', group: 'In the Tekla Parser snapping bar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
39
|
+
def('tekla-parser.snap-surface', { label: 'Mesh surface snapping', actsOn: 'Snaps dimensions to the authenticated model surface beneath the pointer', group: 'In the Tekla Parser snapping bar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
40
|
+
def('tekla-parser.selection-filter', { label: 'Selection filter', actsOn: 'Narrows selectable model objects by {instance}', group: 'In the Tekla Parser selection bar', persistence: 'local', interaction: 'dialog', risk: [], guidance: 'on-demand' });
|
|
41
|
+
def('tekla-parser.inspector-toggle', { label: 'Toggle the Properties panel', actsOn: 'Collapses or opens the read-only Properties panel', group: 'In the Properties panel', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
42
|
+
def('tekla-parser.authority', { label: 'Model authority', actsOn: 'Switches between an available working and approved snapshot', group: 'In the Tekla Parser header', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
43
|
+
def('tekla-parser.audit-filter', { label: 'Filter import findings', actsOn: 'Shows {instance} findings in the read-only import audit', anyInstance: 'all', group: 'In the Tekla Parser Audit pane', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
44
|
+
def('tekla-parser.audit-finding', { label: 'Show import finding', actsOn: 'Selects and frames {instance} when verified geometry is available', group: 'In the Tekla Parser Audit pane', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
45
|
+
def('tekla-parser.open-model', { label: 'Open Model tab', actsOn: 'Opens the new read-only snapshot on the Model tab', group: 'In the Tekla Parser workspace', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
46
|
+
def('tekla-parser.replace-source', { label: 'Choose or replace Tekla source', actsOn: 'Chooses a Tekla model folder or ZIP; an existing snapshot stays available until replacement succeeds', group: 'In the Tekla Parser workspace', persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand' });
|
|
47
|
+
def('tekla-parser.cancel-import', { label: 'Cancel Tekla read', actsOn: 'Cancels the in-progress read without removing the current snapshot', group: 'In the Tekla Parser workspace', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
48
|
+
})();
|
package/dist/web/commands.js
CHANGED
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
drift out of step with the registrations. That table was the alternative,
|
|
71
71
|
and a second statement of which command sits where is exactly the drift
|
|
72
72
|
this design exists to prevent. */
|
|
73
|
-
var SURFACE = ['shell', 'steel-editor', 'revit-editor', 'steel-filter', 'vector-editor', 'vector-3d'];
|
|
73
|
+
var SURFACE = ['shell', 'steel-editor', 'revit-editor', 'tekla-parser-editor', 'steel-filter', 'vector-editor', 'vector-3d'];
|
|
74
74
|
|
|
75
75
|
var registry = Object.create(null);
|
|
76
76
|
/* Templates removed by retire() — a capability gated OFF in this build, not one nobody
|
package/dist/web/grid-core.js
CHANGED
|
@@ -869,8 +869,14 @@ export function gridGeometry(g, mmPerPx, opts = {}) {
|
|
|
869
869
|
// Bubbles print what a registration control resolves against — one rule, `axisLabelsFor` (#740).
|
|
870
870
|
const lx = axisLabelsFor(g, 'x', 'num', X.offsets.length);
|
|
871
871
|
const ly = axisLabelsFor(g, 'y', 'alpha', Y.offsets.length);
|
|
872
|
+
const identityScope = typeof g?.identity_scope === 'string' && g.identity_scope.trim() ? g.identity_scope.trim() : null;
|
|
872
873
|
const v = X.offsets.map((off, i) => ({ x: ox + px(off), label: lx[i] }));
|
|
873
874
|
const h = Y.offsets.map((off, i) => ({ y: yUp ? oy + px(off) : oy - px(off), label: ly[i] })); // projected sheet: up = -Y; native model: world mm, already Y-up
|
|
875
|
+
if (identityScope) {
|
|
876
|
+
const used = new Set();
|
|
877
|
+
for (const line of v) { line.id = gridSubIdentity(identityScope, 'x', line.x * k, line.label); if (used.has(line.id)) throw new Error('Structural grid has a duplicate X-axis identity.'); used.add(line.id); }
|
|
878
|
+
for (const line of h) { line.id = gridSubIdentity(identityScope, 'y', line.y * k, line.label); if (used.has(line.id)) throw new Error('Structural grid has a duplicate Y-axis identity.'); used.add(line.id); }
|
|
879
|
+
}
|
|
874
880
|
// Z levels are absolute, sorted/deduped, and retain their authored label source index.
|
|
875
881
|
const resolvedZ = parseLevels(g && g.z, g && g.labels_z);
|
|
876
882
|
const levelsZ = resolvedZ.err ? [] : resolvedZ.levels;
|
|
@@ -916,6 +922,15 @@ export function gridGeometry(g, mmPerPx, opts = {}) {
|
|
|
916
922
|
return geo;
|
|
917
923
|
}
|
|
918
924
|
|
|
925
|
+
/** Stable provider-neutral identity for one authenticated native grid axis or level. */
|
|
926
|
+
export function gridSubIdentity(scope, axis, positionMm, authoredLabel) {
|
|
927
|
+
const owner = String(scope ?? '').trim(); const direction = String(axis ?? '').toLowerCase();
|
|
928
|
+
const position = Number(positionMm); const label = String(authoredLabel ?? '').normalize('NFC');
|
|
929
|
+
if (!owner || !['x', 'y', 'z'].includes(direction) || !Number.isFinite(position)) throw new TypeError('Structural grid identity is incomplete.');
|
|
930
|
+
const canonicalPosition = Object.is(position, -0) ? '0' : String(position);
|
|
931
|
+
return `grid:${encodeURIComponent(owner)}:${direction}:${canonicalPosition}:${encodeURIComponent(label)}`;
|
|
932
|
+
}
|
|
933
|
+
|
|
919
934
|
/**
|
|
920
935
|
* Drag one END of a grid line along its axis (extend/shorten — the bubbles are the grips).
|
|
921
936
|
* end 0 = the lo end (top of a v-line / left of an h-line), 1 = hi. Clamps to a 12" minimum line and
|
package/dist/web/index.html
CHANGED
|
@@ -217,10 +217,10 @@
|
|
|
217
217
|
<p class="ai-chat-composer-disclosure" id="chat-composer-disclosure" hidden>Messages and attachments are sent to Claude or Codex through your account.</p>
|
|
218
218
|
<div class="ai-chat-compose-actions">
|
|
219
219
|
<input data-command-id="shell.chat-attach-input" id="chat-file" type="file" accept="image/png,image/jpeg,image/webp,application/pdf" multiple hidden>
|
|
220
|
-
<button data-command-id="shell.chat-attach" type="button" class="ai-chat-icon" id="chat-attach" data-tip="Attach image or PDF" aria-label="Attach image or PDF"
|
|
220
|
+
<button data-command-id="shell.chat-attach" type="button" class="ai-chat-icon" id="chat-attach" data-tip="Attach image or PDF" aria-label="Attach image or PDF"><svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551"/></svg></button>
|
|
221
221
|
<span class="ai-chat-compose-hint" id="chat-compose-hint">Enter to send · Shift+Enter for a new line</span>
|
|
222
|
-
<button data-command-id="shell.chat-stop" type="button" class="ai-chat-stop" id="chat-stop" hidden
|
|
223
|
-
<button data-command-id="shell.chat-send" type="button" class="ai-chat-send" id="chat-send"
|
|
222
|
+
<button data-command-id="shell.chat-stop" type="button" class="ai-chat-stop" id="chat-stop" aria-label="Stop response" data-tip="Stop response" hidden><svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><rect x="5" y="5" width="14" height="14" rx="2.5"/></svg></button>
|
|
223
|
+
<button data-command-id="shell.chat-send" type="button" class="ai-chat-send" id="chat-send" aria-label="Send message"><svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z"/><path d="m21.854 2.147-10.94 10.939"/></svg></button>
|
|
224
224
|
</div>
|
|
225
225
|
<!-- What goes with each message is the Send tooltip, and is read to screen readers, rather than a
|
|
226
226
|
line of text under the composer. -->
|
|
@@ -241,6 +241,10 @@
|
|
|
241
241
|
</header>
|
|
242
242
|
<div class="left-section-body model-section-body">
|
|
243
243
|
<div id="left-model-tabs" class="left-model-tabs" role="tablist" aria-label="Model tabs"></div>
|
|
244
|
+
<div id="left-model-search" class="left-model-search">
|
|
245
|
+
<input id="left-model-search-input" data-command-id="shell.model-search" type="search" placeholder="Search objects" autocomplete="off" spellcheck="false" maxlength="200">
|
|
246
|
+
<button id="left-model-search-clear" data-command-id="shell.model-search-clear" type="button" aria-label="Clear object search" data-tip="Clear object search" hidden>×</button>
|
|
247
|
+
</div>
|
|
244
248
|
<div id="left-model-index-header" class="left-model-index-header">
|
|
245
249
|
<span id="left-model-index-label">Browse model</span>
|
|
246
250
|
<label class="left-model-follow" data-tip="Keep the Model tree aligned with the single object selected in the 3D view">
|
|
@@ -362,7 +366,7 @@
|
|
|
362
366
|
<!-- Source-step placeholder: a workspace app with NO filter iframe (vectorize) shows this
|
|
363
367
|
where steel shows its filter. Attach/replace-to-re-trace is #ws-attach-revision,
|
|
364
368
|
at the end of the step-tabs row; this pane explains the Source step. Toggled by setStep() in workspaces.js. -->
|
|
365
|
-
<div class="ws-source-placeholder" id="ws-source-placeholder" hidden>
|
|
369
|
+
<div class="ws-source-placeholder" id="ws-source-placeholder" tabindex="-1" hidden>
|
|
366
370
|
<div class="ws-source-inner">
|
|
367
371
|
<span class="ws-source-ico" aria-hidden="true">▨</span>
|
|
368
372
|
<!-- Shown INSTEAD of the glyph while data-importing is true (a Revit import in flight), so
|
|
@@ -838,7 +842,7 @@
|
|
|
838
842
|
|
|
839
843
|
<!-- HTML Viewer — renders the report HTML an exec node returned, in-app.
|
|
840
844
|
Double-click a report node on the canvas to run it and open this. -->
|
|
841
|
-
<div class="modal-backdrop report-backdrop" id="report-modal">
|
|
845
|
+
<div class="modal-backdrop report-backdrop" id="report-modal" role="dialog" aria-modal="true" aria-labelledby="report-title" aria-describedby="report-sub">
|
|
842
846
|
<div class="modal report-viewer">
|
|
843
847
|
<div class="report-head">
|
|
844
848
|
<div class="report-titles">
|
|
@@ -848,12 +852,24 @@
|
|
|
848
852
|
<div class="report-actions">
|
|
849
853
|
<button data-command-id="shell.report-stop" id="report-stop" class="ghost report-stop" hidden data-tip="Stop the live session — the report stops updating on each change">■ Stop run</button>
|
|
850
854
|
<button data-command-id="shell.report-share" id="report-share" class="ghost" hidden data-tip="Share this report as a link anyone can view — hosted on floless.io">↗ Share</button>
|
|
855
|
+
<button data-command-id="shell.report-download" id="report-download" class="ghost" hidden data-tip="Download the complete read-only model property report">↓ Download complete report</button>
|
|
851
856
|
<button data-command-id="shell.report-open-file" id="report-open-file" class="ghost" hidden data-tip="Open the saved file in its default app">⧉ Open file</button>
|
|
852
857
|
<button data-command-id="shell.report-reveal-file" id="report-reveal-file" class="ghost" hidden data-tip="Show the saved file in its folder">▤ Reveal in folder</button>
|
|
853
858
|
<button data-command-id="shell.report-open" id="report-open" class="ghost" data-tip="Open the report in a new browser tab">↗ Open</button>
|
|
854
859
|
<button data-command-id="shell.dialog-close#the report" id="report-close" data-tip="Close">×</button>
|
|
855
860
|
</div>
|
|
856
861
|
</div>
|
|
862
|
+
<nav class="report-nav" id="report-nav" aria-label="Report sections" hidden>
|
|
863
|
+
<button type="button" data-command-id="shell.report-first-section" id="report-first-section" class="ghost" aria-label="First report section">First</button>
|
|
864
|
+
<button type="button" data-command-id="shell.report-previous-section" id="report-previous-section" class="ghost" aria-label="Previous report section">Previous</button>
|
|
865
|
+
<span id="report-section-status" class="report-section-status" role="status" aria-live="polite" aria-atomic="true" tabindex="-1"></span>
|
|
866
|
+
<button type="button" data-command-id="shell.report-next-section" id="report-next-section" class="ghost" aria-label="Next report section">Next</button>
|
|
867
|
+
<button type="button" data-command-id="shell.report-last-section" id="report-last-section" class="ghost" aria-label="Last report section">Last</button>
|
|
868
|
+
<label for="report-object-number">Go to object</label>
|
|
869
|
+
<input type="text" data-command-id="shell.report-object-number" id="report-object-number" inputmode="numeric" autocomplete="off" aria-describedby="report-object-error">
|
|
870
|
+
<button type="button" data-command-id="shell.report-go-object" id="report-go-object" class="ghost">Go</button>
|
|
871
|
+
<span id="report-object-error" class="report-object-error" hidden></span>
|
|
872
|
+
</nav>
|
|
857
873
|
<div class="report-stage" id="report-stage">
|
|
858
874
|
<!-- sandbox flags, each load-bearing:
|
|
859
875
|
• allow-same-origin — REQUIRED. Without it the srcdoc document gets an
|
|
@@ -984,6 +1000,27 @@
|
|
|
984
1000
|
</div>
|
|
985
1001
|
</div>
|
|
986
1002
|
|
|
1003
|
+
<div class="modal-backdrop" id="tekla-source-modal" role="dialog" aria-modal="true"
|
|
1004
|
+
aria-labelledby="tekla-source-title" aria-describedby="tekla-source-sub">
|
|
1005
|
+
<div class="modal tekla-source-dialog" tabindex="-1">
|
|
1006
|
+
<div class="modal-title" id="tekla-source-title">Choose Tekla model</div>
|
|
1007
|
+
<div class="modal-sub" id="tekla-source-sub">Choose a Tekla model folder or a ZIP containing one. FloLess copies the selected source for a read-only import; it never changes the original model. Tekla does not need to be installed or open.</div>
|
|
1008
|
+
<div class="tekla-source-readonly"><strong>Read-only</strong><span>The source Tekla model is never changed.</span></div>
|
|
1009
|
+
<div class="tekla-source-choices">
|
|
1010
|
+
<button type="button" id="tekla-source-folder" data-command-id="shell.tekla-source-folder">
|
|
1011
|
+
<strong>Folder</strong><span>Choose the Tekla model folder.</span>
|
|
1012
|
+
</button>
|
|
1013
|
+
<button type="button" id="tekla-source-zip" data-command-id="shell.tekla-source-zip">
|
|
1014
|
+
<strong>ZIP archive</strong><span>Choose a ZIP that contains the Tekla model folder.</span>
|
|
1015
|
+
</button>
|
|
1016
|
+
</div>
|
|
1017
|
+
<div class="tekla-source-status" id="tekla-source-status" role="status" aria-live="polite" hidden></div>
|
|
1018
|
+
<div class="modal-actions">
|
|
1019
|
+
<button type="button" id="tekla-source-cancel" data-command-id="shell.dialog-cancel#Tekla source selection">Cancel</button>
|
|
1020
|
+
</div>
|
|
1021
|
+
</div>
|
|
1022
|
+
</div>
|
|
1023
|
+
|
|
987
1024
|
<!-- Company Knowledge stays an extension of the existing project Knowledge step. The project
|
|
988
1025
|
accepts project copies; this dialog never turns the company folder into automatic project context. -->
|
|
989
1026
|
<div class="modal-backdrop" id="company-knowledge-modal" role="dialog" aria-modal="true"
|
|
@@ -1575,6 +1612,7 @@
|
|
|
1575
1612
|
lexically scoped inside steel-editor.html's main() and stay there. -->
|
|
1576
1613
|
<script src="commands-steel.js"></script>
|
|
1577
1614
|
<script src="commands-revit.js"></script>
|
|
1615
|
+
<script src="commands-tekla-parser.js"></script>
|
|
1578
1616
|
<!-- The other three child surfaces, for the same reason. Each declares its own surface, so
|
|
1579
1617
|
the `?` sheet can put whichever one is on screen first — see Commands.surfaceScope, and
|
|
1580
1618
|
activeSurface() in instructor.js for the consumer. -->
|
package/dist/web/instructor.js
CHANGED
|
@@ -773,11 +773,11 @@
|
|
|
773
773
|
var GROUP_ORDER = [
|
|
774
774
|
// the shell
|
|
775
775
|
'In the header', 'In the workflow picker', 'In the project picker', 'In the project list',
|
|
776
|
-
'In the Workspace directory dialog', 'In the new project dialog', 'In the project workspace', 'In the Revit workspace', 'In Company knowledge',
|
|
776
|
+
'In the Workspace directory dialog', 'In Tekla source selection', 'In the new project dialog', 'In the project workspace', 'In the Revit workspace', 'In the Tekla Parser workspace', 'In Company knowledge',
|
|
777
777
|
'On the workflow canvas', 'In workflow setup dialogs',
|
|
778
778
|
// The Informed by row sits at the top of the canvas column, so it is read right after the canvas.
|
|
779
779
|
'In the Informed by row', 'In Set inputs',
|
|
780
|
-
'At the left edge of the workspace', 'At the edge of the left or Inspect panel', 'In the left panel', 'Between AI Chat and Model', 'In the Model section of the left panel',
|
|
780
|
+
'At the left edge of the workspace', 'At the edge of the left or Inspect panel', 'In the left panel', 'Between AI Chat and Model', 'In the Model section of the left panel', 'In the Grid object in the Model section',
|
|
781
781
|
'In AI Chat', 'In AI Chat history', 'In AI Chat settings', 'In the node Inspect panel', 'In the Instructor strip',
|
|
782
782
|
'In the ≡ menu', 'In the account menu', 'In the footer',
|
|
783
783
|
'In the contract editor', 'In the report viewer', 'In the Knowledge Base viewer', 'In the guide',
|
|
@@ -801,7 +801,8 @@
|
|
|
801
801
|
'In the Connections dialog', 'In the reference-model dialogs', 'In the connection-import dialog',
|
|
802
802
|
'In the confidence report', 'In the Ask AI panel', 'In the Ask AI dialog', 'In the Favourites dialog',
|
|
803
803
|
// the read-only Revit model editor
|
|
804
|
-
'In the Revit model header', 'In the Revit model toolbar', 'In the Revit model coordinate HUD', 'In the Revit model selection bar', 'In the Revit model snapping bar',
|
|
804
|
+
'In the Revit model header', 'In the Revit model toolbar', 'In the Revit model coordinate HUD', 'In the Revit model selection bar', 'In the Revit model snapping bar', 'In the Revit spatial controls',
|
|
805
|
+
'In the Tekla Parser header', 'In the Tekla Parser model toolbar', 'In the Tekla Parser coordinate HUD', 'In the Tekla Parser selection bar', 'In the Tekla Parser snapping bar', 'In the Tekla Parser spatial controls', 'In the Tekla Parser Audit pane',
|
|
805
806
|
// the drawing filter
|
|
806
807
|
'In the Drawing Filter header', 'In a Drawing Filter message',
|
|
807
808
|
'In the Drawing Filter panel', 'On the Drawing Filter canvas',
|
|
@@ -1606,6 +1607,15 @@
|
|
|
1606
1607
|
} catch (e) { return; }
|
|
1607
1608
|
|
|
1608
1609
|
snapshot.child = childSnap || null;
|
|
1610
|
+
/* Async child state can remove a command without moving focus (the display-unit
|
|
1611
|
+
Retry button is the first case). The reporter names commands that disappeared,
|
|
1612
|
+
so the producer can retire only the exact captured entry instead of either
|
|
1613
|
+
narrating dead UI or clearing unrelated shell guidance. */
|
|
1614
|
+
var hiddenCommands = childSnap && Array.isArray(childSnap.hiddenCommands) ? childSnap.hiddenCommands : [];
|
|
1615
|
+
if (snapshot.focus && hiddenCommands.indexOf(snapshot.focus.commandId) !== -1) {
|
|
1616
|
+
snapshot.focus = null;
|
|
1617
|
+
if (typeof window.flolessGraftInstructorClear === 'function') window.flolessGraftInstructorClear();
|
|
1618
|
+
}
|
|
1609
1619
|
paint();
|
|
1610
1620
|
|
|
1611
1621
|
// shell → child: hand back what the producer made.
|