@dtducas/wh-forge-viewer 3.0.0-beta.8 → 3.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -0
- package/dist/index.esm.js +80 -26
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +80 -26
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -757,6 +757,10 @@ declare module '@dtducas/wh-forge-viewer' {
|
|
|
757
757
|
pan?: boolean;
|
|
758
758
|
docBrowser?: boolean;
|
|
759
759
|
download?: boolean;
|
|
760
|
+
/** "Download My Comments" (export own markup) button */
|
|
761
|
+
export?: boolean;
|
|
762
|
+
/** "Download All Comments" (export all consultants' markup) button */
|
|
763
|
+
exportAll?: boolean;
|
|
760
764
|
markup?: boolean;
|
|
761
765
|
pagination?: boolean;
|
|
762
766
|
}
|
|
@@ -1723,6 +1727,7 @@ declare module '@dtducas/wh-forge-viewer' {
|
|
|
1723
1727
|
*/
|
|
1724
1728
|
fetchAllScenesForExport?: (
|
|
1725
1729
|
viewableGuids: string[],
|
|
1730
|
+
scope?: 'individual' | 'consolidated',
|
|
1726
1731
|
) => Promise<Record<string, ICanvasMarkupSceneV2 | null>>;
|
|
1727
1732
|
|
|
1728
1733
|
/**
|
package/dist/index.esm.js
CHANGED
|
@@ -1497,7 +1497,12 @@ var CUSTOM_TOOLBAR_BUTTONS = {
|
|
|
1497
1497
|
EXPORT: {
|
|
1498
1498
|
id: 'custom-export-btn',
|
|
1499
1499
|
icon: 'adsk-icon-custom-export',
|
|
1500
|
-
tooltip: '
|
|
1500
|
+
tooltip: 'Download My Comments'
|
|
1501
|
+
},
|
|
1502
|
+
EXPORT_ALL: {
|
|
1503
|
+
id: 'custom-export-all-btn',
|
|
1504
|
+
icon: 'adsk-icon-custom-export-all',
|
|
1505
|
+
tooltip: 'Download All Comments'
|
|
1501
1506
|
}
|
|
1502
1507
|
};
|
|
1503
1508
|
var PAGINATION_BUTTONS = {
|
|
@@ -91527,6 +91532,9 @@ var DEFAULT_TOOLBAR_VISIBILITY = {
|
|
|
91527
91532
|
docBrowser: true,
|
|
91528
91533
|
download: true,
|
|
91529
91534
|
"export": true,
|
|
91535
|
+
// "Download All Comments" defaults hidden — host shows it only after the reply
|
|
91536
|
+
// is submitted (avoids exposing other consultants' draft markup).
|
|
91537
|
+
exportAll: false,
|
|
91530
91538
|
markup: true,
|
|
91531
91539
|
pagination: true
|
|
91532
91540
|
};
|
|
@@ -91539,6 +91547,7 @@ var BUTTON_ID_MAP = {
|
|
|
91539
91547
|
docBrowser: 'custom-doc-browser-btn',
|
|
91540
91548
|
download: 'custom-download-btn',
|
|
91541
91549
|
"export": 'custom-export-btn',
|
|
91550
|
+
exportAll: 'custom-export-all-btn',
|
|
91542
91551
|
markup: 'toolbar-draw-button',
|
|
91543
91552
|
pagination: 'custom-pagination-group'
|
|
91544
91553
|
};
|
|
@@ -91591,13 +91600,24 @@ var ToolbarManager = /*#__PURE__*/function () {
|
|
|
91591
91600
|
var panBtn = this.createPanButton();
|
|
91592
91601
|
var downloadBtn = this.createDownloadButton();
|
|
91593
91602
|
var exportBtn = this.createExportButton();
|
|
91594
|
-
|
|
91603
|
+
var exportAllBtn = this.createExportAllButton();
|
|
91604
|
+
// Group the three download actions (source file / my comments / all comments)
|
|
91605
|
+
// under one ComboButton — clicking it flies out a menu of the options instead
|
|
91606
|
+
// of showing three separate toolbar buttons.
|
|
91607
|
+
var downloadCombo = new this.Autodesk.Viewing.UI.ComboButton('custom-download-combo');
|
|
91608
|
+
downloadCombo.setIcon(CUSTOM_TOOLBAR_BUTTONS.DOWNLOAD.icon);
|
|
91609
|
+
downloadCombo.setToolTip('Download');
|
|
91610
|
+
downloadCombo.addControl(downloadBtn);
|
|
91611
|
+
downloadCombo.addControl(exportBtn);
|
|
91612
|
+
downloadCombo.addControl(exportAllBtn);
|
|
91613
|
+
// Store individual sub-button references so the host can still toggle each
|
|
91614
|
+
// download option's visibility (e.g. hide "All Comments" before submit).
|
|
91595
91615
|
this.buttonMap.set('pan', panBtn);
|
|
91596
91616
|
this.buttonMap.set('download', downloadBtn);
|
|
91597
91617
|
this.buttonMap.set('export', exportBtn);
|
|
91618
|
+
this.buttonMap.set('exportAll', exportAllBtn);
|
|
91598
91619
|
this.subToolbar.addControl(panBtn);
|
|
91599
|
-
this.subToolbar.addControl(
|
|
91600
|
-
this.subToolbar.addControl(exportBtn);
|
|
91620
|
+
this.subToolbar.addControl(downloadCombo);
|
|
91601
91621
|
toolbar.addControl(this.subToolbar);
|
|
91602
91622
|
// Apply initial visibility configuration
|
|
91603
91623
|
this.applyVisibilityConfig();
|
|
@@ -91643,8 +91663,27 @@ var ToolbarManager = /*#__PURE__*/function () {
|
|
|
91643
91663
|
btn.addClass('custom-export-btn');
|
|
91644
91664
|
btn.setToolTip(CUSTOM_TOOLBAR_BUTTONS.EXPORT.tooltip);
|
|
91645
91665
|
btn.onClick = function () {
|
|
91666
|
+
// "Download My Comments" → only the current company's markup.
|
|
91646
91667
|
_this3.eventBus.emit(EVENT_NAMES.EXPORT_WITH_MARKUP_REQUESTED, {
|
|
91647
|
-
filePath: _this3.config.filePath
|
|
91668
|
+
filePath: _this3.config.filePath,
|
|
91669
|
+
scope: 'individual'
|
|
91670
|
+
});
|
|
91671
|
+
};
|
|
91672
|
+
return btn;
|
|
91673
|
+
}
|
|
91674
|
+
}, {
|
|
91675
|
+
key: "createExportAllButton",
|
|
91676
|
+
value: function createExportAllButton() {
|
|
91677
|
+
var _this4 = this;
|
|
91678
|
+
var btn = new this.Autodesk.Viewing.UI.Button(CUSTOM_TOOLBAR_BUTTONS.EXPORT_ALL.id);
|
|
91679
|
+
btn.setIcon(CUSTOM_TOOLBAR_BUTTONS.EXPORT_ALL.icon);
|
|
91680
|
+
btn.addClass('custom-export-all-btn');
|
|
91681
|
+
btn.setToolTip(CUSTOM_TOOLBAR_BUTTONS.EXPORT_ALL.tooltip);
|
|
91682
|
+
btn.onClick = function () {
|
|
91683
|
+
// "Download All Comments" → all consultants' markup consolidated.
|
|
91684
|
+
_this4.eventBus.emit(EVENT_NAMES.EXPORT_WITH_MARKUP_REQUESTED, {
|
|
91685
|
+
filePath: _this4.config.filePath,
|
|
91686
|
+
scope: 'consolidated'
|
|
91648
91687
|
});
|
|
91649
91688
|
};
|
|
91650
91689
|
return btn;
|
|
@@ -91733,18 +91772,18 @@ var ToolbarManager = /*#__PURE__*/function () {
|
|
|
91733
91772
|
}, {
|
|
91734
91773
|
key: "setVisibilityConfig",
|
|
91735
91774
|
value: function setVisibilityConfig(config) {
|
|
91736
|
-
var
|
|
91775
|
+
var _this5 = this;
|
|
91737
91776
|
Object.entries(config).forEach(function (_ref) {
|
|
91738
91777
|
var _ref2 = _slicedToArray(_ref, 2),
|
|
91739
91778
|
key = _ref2[0],
|
|
91740
91779
|
visible = _ref2[1];
|
|
91741
91780
|
var buttonId = key;
|
|
91742
91781
|
if (visible !== undefined) {
|
|
91743
|
-
|
|
91782
|
+
_this5.visibilityConfig[buttonId] = visible;
|
|
91744
91783
|
if (visible) {
|
|
91745
|
-
|
|
91784
|
+
_this5.showButtonInternal(buttonId);
|
|
91746
91785
|
} else {
|
|
91747
|
-
|
|
91786
|
+
_this5.hideButtonInternal(buttonId);
|
|
91748
91787
|
}
|
|
91749
91788
|
}
|
|
91750
91789
|
});
|
|
@@ -91792,10 +91831,10 @@ var ToolbarManager = /*#__PURE__*/function () {
|
|
|
91792
91831
|
}, {
|
|
91793
91832
|
key: "showAllButtons",
|
|
91794
91833
|
value: function showAllButtons() {
|
|
91795
|
-
var
|
|
91834
|
+
var _this6 = this;
|
|
91796
91835
|
var buttonIds = ['pan', 'docBrowser', 'download', 'export', 'markup', 'pagination'];
|
|
91797
91836
|
buttonIds.forEach(function (id) {
|
|
91798
|
-
return
|
|
91837
|
+
return _this6.showButton(id);
|
|
91799
91838
|
});
|
|
91800
91839
|
}
|
|
91801
91840
|
/**
|
|
@@ -91809,10 +91848,10 @@ var ToolbarManager = /*#__PURE__*/function () {
|
|
|
91809
91848
|
}, {
|
|
91810
91849
|
key: "hideAllButtons",
|
|
91811
91850
|
value: function hideAllButtons() {
|
|
91812
|
-
var
|
|
91851
|
+
var _this7 = this;
|
|
91813
91852
|
var buttonIds = ['pan', 'docBrowser', 'download', 'export', 'markup', 'pagination'];
|
|
91814
91853
|
buttonIds.forEach(function (id) {
|
|
91815
|
-
return
|
|
91854
|
+
return _this7.hideButton(id);
|
|
91816
91855
|
});
|
|
91817
91856
|
}
|
|
91818
91857
|
/**
|
|
@@ -91856,16 +91895,16 @@ var ToolbarManager = /*#__PURE__*/function () {
|
|
|
91856
91895
|
}, {
|
|
91857
91896
|
key: "applyVisibilityConfig",
|
|
91858
91897
|
value: function applyVisibilityConfig() {
|
|
91859
|
-
var
|
|
91898
|
+
var _this8 = this;
|
|
91860
91899
|
Object.entries(this.visibilityConfig).forEach(function (_ref3) {
|
|
91861
91900
|
var _ref4 = _slicedToArray(_ref3, 2),
|
|
91862
91901
|
key = _ref4[0],
|
|
91863
91902
|
visible = _ref4[1];
|
|
91864
91903
|
var buttonId = key;
|
|
91865
91904
|
if (visible) {
|
|
91866
|
-
|
|
91905
|
+
_this8.showButtonInternal(buttonId);
|
|
91867
91906
|
} else {
|
|
91868
|
-
|
|
91907
|
+
_this8.hideButtonInternal(buttonId);
|
|
91869
91908
|
}
|
|
91870
91909
|
});
|
|
91871
91910
|
}
|
|
@@ -93899,7 +93938,7 @@ var CanvasExportService = /*#__PURE__*/function () {
|
|
|
93899
93938
|
return _context.a(2);
|
|
93900
93939
|
case 1:
|
|
93901
93940
|
_context.n = 2;
|
|
93902
|
-
return this._doExport(filePath);
|
|
93941
|
+
return this._doExport(filePath, undefined, false, payload === null || payload === void 0 ? void 0 : payload.scope);
|
|
93903
93942
|
case 2:
|
|
93904
93943
|
return _context.a(2);
|
|
93905
93944
|
}
|
|
@@ -93916,6 +93955,7 @@ var CanvasExportService = /*#__PURE__*/function () {
|
|
|
93916
93955
|
var _doExport2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(filePath, options) {
|
|
93917
93956
|
var _this$onExportStatus;
|
|
93918
93957
|
var returnBlob,
|
|
93958
|
+
scope,
|
|
93919
93959
|
_this$onExportStatus8,
|
|
93920
93960
|
_this$onExportStatus2,
|
|
93921
93961
|
msg,
|
|
@@ -93961,6 +94001,7 @@ var CanvasExportService = /*#__PURE__*/function () {
|
|
|
93961
94001
|
while (1) switch (_context2.p = _context2.n) {
|
|
93962
94002
|
case 0:
|
|
93963
94003
|
returnBlob = _args2.length > 2 && _args2[2] !== undefined ? _args2[2] : false;
|
|
94004
|
+
scope = _args2.length > 3 ? _args2[3] : undefined;
|
|
93964
94005
|
(_this$onExportStatus = this.onExportStatus) === null || _this$onExportStatus === void 0 || _this$onExportStatus.call(this, {
|
|
93965
94006
|
status: 'start'
|
|
93966
94007
|
});
|
|
@@ -94016,9 +94057,9 @@ var CanvasExportService = /*#__PURE__*/function () {
|
|
|
94016
94057
|
case 7:
|
|
94017
94058
|
allGuids = pages.map(function (p) {
|
|
94018
94059
|
return p.viewableGuid;
|
|
94019
|
-
}); // 3. Fetch all scenes from server.
|
|
94060
|
+
}); // 3. Fetch all scenes from server (scope = individual / consolidated).
|
|
94020
94061
|
_context2.n = 8;
|
|
94021
|
-
return this.fetchAllScenesForExport(allGuids);
|
|
94062
|
+
return this.fetchAllScenesForExport(allGuids, scope);
|
|
94022
94063
|
case 8:
|
|
94023
94064
|
sceneMap = _context2.v;
|
|
94024
94065
|
// 4. Strict validation — every page must have a response (null is ok, undefined is not).
|
|
@@ -94212,12 +94253,15 @@ var CanvasExportService = /*#__PURE__*/function () {
|
|
|
94212
94253
|
key: "exportToBlob",
|
|
94213
94254
|
value: (function () {
|
|
94214
94255
|
var _exportToBlob = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(filePath, options) {
|
|
94215
|
-
var
|
|
94256
|
+
var scope,
|
|
94257
|
+
blob,
|
|
94258
|
+
_args3 = arguments;
|
|
94216
94259
|
return _regenerator().w(function (_context3) {
|
|
94217
94260
|
while (1) switch (_context3.n) {
|
|
94218
94261
|
case 0:
|
|
94262
|
+
scope = _args3.length > 2 && _args3[2] !== undefined ? _args3[2] : 'individual';
|
|
94219
94263
|
_context3.n = 1;
|
|
94220
|
-
return this._doExport(filePath, options, true);
|
|
94264
|
+
return this._doExport(filePath, options, true, scope);
|
|
94221
94265
|
case 1:
|
|
94222
94266
|
blob = _context3.v;
|
|
94223
94267
|
if (blob) {
|
|
@@ -94308,7 +94352,7 @@ styleInject(css_248z$4);
|
|
|
94308
94352
|
var css_248z$3 = "#navTools,\n#modelTools,\n#settingsTools,\n#measureTools {\n display: none !important;\n visibility: hidden !important;\n}\n#guiviewer3d-toolbar {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n gap: 20px;\n position: fixed !important;\n bottom: 10px !important;\n left: 50% !important;\n transform: translateX(-50%) !important;\n width: auto !important;\n border-radius: 4px !important;\n padding: 8px 12px !important;\n}\n#custom-tool-group {\n display: flex !important;\n margin: 0 !important;\n padding: 0 !important;\n}\n#custom-pagination-group {\n display: flex;\n position: relative !important;\n margin: 0 !important;\n padding: 0 !important;\n transform: none !important;\n left: auto !important;\n}\n\n/* Export Combo Dropdown Styles */\n.export-combo-dropdown {\n position: absolute;\n bottom: 100%;\n left: 50%;\n transform: translateX(-50%);\n background: #2d2d2d;\n border-radius: 4px;\n box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);\n min-width: 180px;\n padding: 4px 0;\n margin-bottom: 8px;\n z-index: 1000;\n}\n\n.export-combo-dropdown::after {\n content: '';\n position: absolute;\n bottom: -6px;\n left: 50%;\n transform: translateX(-50%);\n border-left: 6px solid transparent;\n border-right: 6px solid transparent;\n border-top: 6px solid #2d2d2d;\n}\n\n.export-combo-option {\n display: flex;\n align-items: center;\n padding: 8px 12px;\n cursor: pointer;\n transition: background-color 0.15s ease;\n color: #fff;\n font-size: 13px;\n white-space: nowrap;\n}\n\n.export-combo-option:hover {\n background-color: #3d3d3d;\n}\n\n.export-combo-option:active {\n background-color: #4d4d4d;\n}\n\n.export-combo-icon {\n margin-right: 8px;\n font-size: 16px;\n opacity: 0.8;\n}\n\n.export-combo-label {\n flex: 1;\n}\n\n/* Active state for combo button */\n.custom-export-combo-btn.active {\n background-color: #3d3d3d !important;\n}\n";
|
|
94309
94353
|
styleInject(css_248z$3);
|
|
94310
94354
|
|
|
94311
|
-
var css_248z$2 = "/* Custom icon styles for toolbar using SVG */\n/* Download icon - custom SVG (white, thicker stroke) */\n.adsk-icon-custom-download::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,\\\n<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%23ffffff\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\\\n <path d=\"M4.75 17.25a.75.75 0 0 1 .75.75v2.25c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V18a.75.75 0 0 1 1.5 0v2.25A1.75 1.75 0 0 1 18.25 22H5.75A1.75 1.75 0 0 1 4 20.25V18a.75.75 0 0 1 .75-.75Z\"/>\\\n <path d=\"M5.22 9.97a.749.749 0 0 1 1.06 0l4.97 4.969V2.75a.75.75 0 0 1 1.5 0v12.189l4.97-4.969a.749.749 0 1 1 1.06 1.06l-6.25 6.25a.749.749 0 0 1-1.06 0l-6.25-6.25a.749.749 0 0 1 0-1.06Z\"/>\\\n</svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: 16px 16px;\n}\n/* Previous page icon - custom SVG (white, filled) */\n.adsk-icon-custom-prev::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,\\\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\">\\\n<g transform=\"translate(512 512) scale(1.2) translate(-512 -512)\">\\\n<path fill=\"%23FFFFFF\" d=\"M685.248 104.704a64 64 0 010 90.496L368.448 512l316.8 316.8a64 64 0 01-90.496 90.496L232.704 557.248a64 64 0 010-90.496l362.048-362.048a64 64 0 0190.496 0z\"/>\\\n</g>\\\n</svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: 16px 16px;\n}\n/* Next page icon - custom SVG (white, filled) */\n.adsk-icon-custom-next::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,\\\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\">\\\n<g transform=\"translate(512 512) scale(1.2) translate(-512 -512)\">\\\n<path fill=\"%23FFFFFF\" d=\"M338.752 104.704a64 64 0 000 90.496l316.8 316.8-316.8 316.8a64 64 0 0090.496 90.496l362.048-362.048a64 64 0 000-90.496L429.248 104.704a64 64 0 00-90.496 0z\"/>\\\n</g>\\\n</svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: 16px 16px;\n}\n/* Fallback for adsk-icon-caret-left and adsk-icon-caret-right if not defined */\n.adsk-icon-caret-left::before {\n content: '[';\n font-family: 'adsk-viewing';\n}\n.adsk-icon-caret-right::before {\n content: ']';\n font-family: 'adsk-viewing';\n}\n/* Comment icon - custom SVG (Smiley) */\n.adsk-icon-custom-comment::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%23FFFFFF\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"></circle><path d=\"M8 14s1.5 2 4 2 4-2 4-2\"></path><line x1=\"9\" y1=\"9\" x2=\"9.01\" y2=\"9\"></line><line x1=\"15\" y1=\"9\" x2=\"15.01\" y2=\"9\"></line></svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n}\n/* Save icon - custom SVG */\n.adsk-icon-custom-save::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%23FFFFFF\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z\"></path><polyline points=\"17 21 17 13 7 13 7 21\"></polyline><polyline points=\"7 3 7 8 15 8\"></polyline></svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n}\n/* Export with Markup icon - share/export arrow */\n.adsk-icon-markup::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,<svg fill=\"%23ffffff\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 493.525 493.525\"><path d=\"M430.557,79.556H218.44c21.622,12.688,40.255,29.729,54.859,49.906h157.258c7.196,0,13.063,5.863,13.063,13.06v238.662c0,7.199-5.866,13.064-13.063,13.064H191.894c-7.198,0-13.062-5.865-13.062-13.064V222.173c-6.027-3.1-12.33-5.715-18.845-7.732c-3.818,11.764-12.105,21.787-23.508,27.781c-2.39,1.252-4.987,2.014-7.554,2.844v136.119c0,34.717,28.25,62.971,62.968,62.971h238.663c34.718,0,62.969-28.254,62.969-62.971V142.522C493.525,107.806,465.275,79.556,430.557,79.556z\"/><path d=\"M129.037,175.989c51.419,1.234,96.388,28.283,122.25,68.865c2.371,3.705,6.434,5.848,10.657,5.848c1.152,0,2.322-0.162,3.46-0.486c5.377-1.545,9.114-6.418,9.179-12.006c0-0.504,0-1.01,0-1.51c0-81.148-64.853-147.023-145.527-148.957V64.155c0-5.492-3.038-10.512-7.879-13.078c-2.16-1.139-4.533-1.707-6.889-1.707c-2.94,0-5.848,0.88-8.35,2.584L5.751,120.526C2.162,122.98,0.018,127.041,0,131.394c-0.017,4.338,2.113,8.418,5.687,10.902l100.17,69.451c2.518,1.753,5.459,2.631,8.414,2.631c2.355,0,4.696-0.553,6.857-1.676c4.855-2.549,7.909-7.6,7.909-13.092V175.989z\"/></svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: 16px 16px;\n}\n/* Export icon - arrow from box (matches Autodesk BIM360 export icon) */\n.adsk-icon-custom-export::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,<svg height=\"24\" width=\"24\" viewBox=\"0 0 24 24\" fill=\"%23ffffff\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M20.79,7.52a.72.72,0,0,1-.06.29.78.78,0,0,1-.16.24L17,11.6a.75.75,0,0,1-1.06,0,.75.75,0,0,1,0-1.06l2.27-2.27H16.72a7.26,7.26,0,0,0-7.25,7.25.75.75,0,1,1-1.5,0,8.76,8.76,0,0,1,8.75-8.75h1.51L16,4.49A.75.75,0,0,1,17,3.43L20.57,7a.78.78,0,0,1,.16.24A.72.72,0,0,1,20.79,7.52Zm-1,8.48V14a.75.75,0,0,0-1.5,0v2A2.25,2.25,0,0,1,16,18.25H8A2.25,2.25,0,0,1,5.75,16V8A2.25,2.25,0,0,1,8,5.75h2a.75.75,0,0,0,0-1.5H8A3.75,3.75,0,0,0,4.25,8v8A3.75,3.75,0,0,0,8,19.75h8A3.75,3.75,0,0,0,19.75,16Z\"></path></svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: 18px 18px;\n}\n/* Download source file icon - arrow down to baseline */\n.adsk-icon-custom-download-source::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,<svg height=\"24\" width=\"24\" viewBox=\"0 0 24 24\" fill=\"%23ffffff\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12,3.25a.75.75,0,0,1,.75.75v9.51L15,11.24a.74.74,0,0,1,1.06,0,.75.75,0,0,1,.22.53.79.79,0,0,1-.22.53l-3.56,3.55a.78.78,0,0,1-.24.16.73.73,0,0,1-.58,0,.78.78,0,0,1-.24-.16L7.92,12.3a.75.75,0,0,1,0-1.06.74.74,0,0,1,1.06,0l2.27,2.27V4A.76.76,0,0,1,12,3.25Zm8,16H4a.75.75,0,0,0,0,1.5H20a.75.75,0,0,0,0-1.5Z\"></path></svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: 18px 18px;\n}\n";
|
|
94355
|
+
var css_248z$2 = "/* Custom icon styles for toolbar using SVG */\n/* Download icon - custom SVG (white, thicker stroke) */\n.adsk-icon-custom-download::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,\\\n<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%23ffffff\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\\\n <path d=\"M4.75 17.25a.75.75 0 0 1 .75.75v2.25c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V18a.75.75 0 0 1 1.5 0v2.25A1.75 1.75 0 0 1 18.25 22H5.75A1.75 1.75 0 0 1 4 20.25V18a.75.75 0 0 1 .75-.75Z\"/>\\\n <path d=\"M5.22 9.97a.749.749 0 0 1 1.06 0l4.97 4.969V2.75a.75.75 0 0 1 1.5 0v12.189l4.97-4.969a.749.749 0 1 1 1.06 1.06l-6.25 6.25a.749.749 0 0 1-1.06 0l-6.25-6.25a.749.749 0 0 1 0-1.06Z\"/>\\\n</svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: 16px 16px;\n}\n/* Previous page icon - custom SVG (white, filled) */\n.adsk-icon-custom-prev::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,\\\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\">\\\n<g transform=\"translate(512 512) scale(1.2) translate(-512 -512)\">\\\n<path fill=\"%23FFFFFF\" d=\"M685.248 104.704a64 64 0 010 90.496L368.448 512l316.8 316.8a64 64 0 01-90.496 90.496L232.704 557.248a64 64 0 010-90.496l362.048-362.048a64 64 0 0190.496 0z\"/>\\\n</g>\\\n</svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: 16px 16px;\n}\n/* Next page icon - custom SVG (white, filled) */\n.adsk-icon-custom-next::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,\\\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\">\\\n<g transform=\"translate(512 512) scale(1.2) translate(-512 -512)\">\\\n<path fill=\"%23FFFFFF\" d=\"M338.752 104.704a64 64 0 000 90.496l316.8 316.8-316.8 316.8a64 64 0 0090.496 90.496l362.048-362.048a64 64 0 000-90.496L429.248 104.704a64 64 0 00-90.496 0z\"/>\\\n</g>\\\n</svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: 16px 16px;\n}\n/* Fallback for adsk-icon-caret-left and adsk-icon-caret-right if not defined */\n.adsk-icon-caret-left::before {\n content: '[';\n font-family: 'adsk-viewing';\n}\n.adsk-icon-caret-right::before {\n content: ']';\n font-family: 'adsk-viewing';\n}\n/* Comment icon - custom SVG (Smiley) */\n.adsk-icon-custom-comment::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%23FFFFFF\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"></circle><path d=\"M8 14s1.5 2 4 2 4-2 4-2\"></path><line x1=\"9\" y1=\"9\" x2=\"9.01\" y2=\"9\"></line><line x1=\"15\" y1=\"9\" x2=\"15.01\" y2=\"9\"></line></svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n}\n/* Save icon - custom SVG */\n.adsk-icon-custom-save::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%23FFFFFF\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z\"></path><polyline points=\"17 21 17 13 7 13 7 21\"></polyline><polyline points=\"7 3 7 8 15 8\"></polyline></svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n}\n/* Export with Markup icon - share/export arrow */\n.adsk-icon-markup::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,<svg fill=\"%23ffffff\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 493.525 493.525\"><path d=\"M430.557,79.556H218.44c21.622,12.688,40.255,29.729,54.859,49.906h157.258c7.196,0,13.063,5.863,13.063,13.06v238.662c0,7.199-5.866,13.064-13.063,13.064H191.894c-7.198,0-13.062-5.865-13.062-13.064V222.173c-6.027-3.1-12.33-5.715-18.845-7.732c-3.818,11.764-12.105,21.787-23.508,27.781c-2.39,1.252-4.987,2.014-7.554,2.844v136.119c0,34.717,28.25,62.971,62.968,62.971h238.663c34.718,0,62.969-28.254,62.969-62.971V142.522C493.525,107.806,465.275,79.556,430.557,79.556z\"/><path d=\"M129.037,175.989c51.419,1.234,96.388,28.283,122.25,68.865c2.371,3.705,6.434,5.848,10.657,5.848c1.152,0,2.322-0.162,3.46-0.486c5.377-1.545,9.114-6.418,9.179-12.006c0-0.504,0-1.01,0-1.51c0-81.148-64.853-147.023-145.527-148.957V64.155c0-5.492-3.038-10.512-7.879-13.078c-2.16-1.139-4.533-1.707-6.889-1.707c-2.94,0-5.848,0.88-8.35,2.584L5.751,120.526C2.162,122.98,0.018,127.041,0,131.394c-0.017,4.338,2.113,8.418,5.687,10.902l100.17,69.451c2.518,1.753,5.459,2.631,8.414,2.631c2.355,0,4.696-0.553,6.857-1.676c4.855-2.549,7.909-7.6,7.909-13.092V175.989z\"/></svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: 16px 16px;\n}\n/* Export icon - arrow from box (matches Autodesk BIM360 export icon) */\n.adsk-icon-custom-export::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,<svg height=\"24\" width=\"24\" viewBox=\"0 0 24 24\" fill=\"%23ffffff\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M20.79,7.52a.72.72,0,0,1-.06.29.78.78,0,0,1-.16.24L17,11.6a.75.75,0,0,1-1.06,0,.75.75,0,0,1,0-1.06l2.27-2.27H16.72a7.26,7.26,0,0,0-7.25,7.25.75.75,0,1,1-1.5,0,8.76,8.76,0,0,1,8.75-8.75h1.51L16,4.49A.75.75,0,0,1,17,3.43L20.57,7a.78.78,0,0,1,.16.24A.72.72,0,0,1,20.79,7.52Zm-1,8.48V14a.75.75,0,0,0-1.5,0v2A2.25,2.25,0,0,1,16,18.25H8A2.25,2.25,0,0,1,5.75,16V8A2.25,2.25,0,0,1,8,5.75h2a.75.75,0,0,0,0-1.5H8A3.75,3.75,0,0,0,4.25,8v8A3.75,3.75,0,0,0,8,19.75h8A3.75,3.75,0,0,0,19.75,16Z\"></path></svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: 18px 18px;\n}\n/* Download All Comments icon - custom SVG (consolidated) */\n.adsk-icon-custom-export-all::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"512\" height=\"512\" viewBox=\"0 0 512 512\"><path d=\"M0 0 C5.55775489 3.77133368 6.97170198 7.65486318 8.859375 14.26171875 C8.859375 68.05171875 8.859375 121.84171875 8.859375 177.26171875 C154.059375 177.26171875 299.259375 177.26171875 448.859375 177.26171875 C448.859375 122.48171875 448.859375 67.70171875 448.859375 11.26171875 C451.97253119 5.03540636 454.11713914 1.87479867 460.046875 -1.61328125 C465.76370589 -3.30021496 470.79344408 -3.33339396 476.171875 -0.53515625 C480.56576154 2.53410273 482.7586877 5.25931568 484.859375 10.26171875 C485.13693383 12.97377997 485.26555882 15.44986935 485.24032593 18.15600586 C485.24734589 19.32115801 485.24734589 19.32115801 485.25450766 20.50984859 C485.26643852 23.10309548 485.25700806 25.69581204 485.24755859 28.2890625 C485.25162515 30.15211291 485.2569675 32.01516091 485.26348877 33.87820435 C485.27715819 38.93186997 485.27186522 43.98535173 485.26235151 49.03902054 C485.25475302 54.32932275 485.26180106 59.61960928 485.26651001 64.90991211 C485.271967 73.79381128 485.26477741 82.67763563 485.25048828 91.56152344 C485.2341619 101.83056733 485.23945045 112.09943253 485.2559675 122.3684721 C485.26958395 131.18731306 485.27150123 140.00610024 485.26365149 148.82494831 C485.25897587 154.09116355 485.25834713 159.35729481 485.26826096 164.62350464 C485.27693062 169.57460769 485.27090861 174.52548049 485.25357819 179.47655869 C485.24961336 181.29300428 485.25074732 183.10946927 485.25736618 184.92590714 C485.26557195 187.40667641 485.2552721 189.88670921 485.24032593 192.36743164 C485.25036418 193.44399725 485.25036418 193.44399725 485.26060522 194.54231167 C485.19672563 200.0138477 483.87359388 204.07812238 480.140625 208.125 C479.5528125 208.60324219 478.965 209.08148438 478.359375 209.57421875 C477.7715625 210.06535156 477.18375 210.55648437 476.578125 211.0625 C472.6541734 213.80034805 468.49559138 213.40475634 463.9225359 213.39593983 C463.10092152 213.39829206 462.27930715 213.40064429 461.43279538 213.4030678 C458.65585218 213.40977053 455.87895563 213.40929919 453.102005 213.40888977 C451.10046367 213.4121876 449.09892301 213.41591299 447.0973832 213.42003125 C441.57844029 213.43006853 436.05950825 213.43377081 430.5405575 213.43642056 C424.5956117 213.44031848 418.65067455 213.44989713 412.70573425 213.45863342 C399.01890934 213.4774769 385.33208287 213.48765588 371.64524854 213.4960941 C364.88304352 213.50029951 358.12083938 213.50552164 351.3586351 213.51077863 C328.21505348 213.52866937 305.07147161 213.54366585 281.9278841 213.55109882 C280.47471116 213.55157358 279.02153822 213.55204947 277.56836529 213.55252649 C276.48739095 213.55288105 276.48739095 213.55288105 275.38457874 213.55324278 C271.73335522 213.55444399 268.08213171 213.55565943 264.4309082 213.55688477 C263.70630939 213.55712492 262.98171057 213.55736507 262.23515421 213.55761249 C238.73921804 213.56550632 215.24333234 213.5889396 191.74741821 213.62144071 C166.91163971 213.65573255 142.07589074 213.67544936 117.24008816 213.67874306 C114.51406966 213.67916061 111.78805118 213.67964017 109.0620327 213.68016624 C108.39080045 213.68028944 107.7195682 213.68041263 107.02799558 213.68053955 C96.22226344 213.68287237 85.41658988 213.69853687 74.61087862 213.71900809 C63.7506755 213.73925623 52.89054617 213.74441455 42.03032789 213.73523746 C36.1458446 213.73068195 30.26155165 213.73265167 24.37709427 213.7519989 C18.99133884 213.76955386 13.60591371 213.76869523 8.22015514 213.75310161 C6.27058245 213.75071387 4.32098735 213.75510914 2.37144903 213.76693026 C-0.27762974 213.78199958 -2.92553067 213.7724113 -5.57458019 213.75670338 C-6.33241843 213.76692558 -7.09025666 213.77714779 -7.87105969 213.78767976 C-13.3507202 213.71671021 -17.54811837 212.27779095 -22.140625 209.26171875 C-26.85932103 204.30103831 -27.28945234 200.24863084 -27.28779602 193.65226746 C-27.29147271 192.86989552 -27.2951494 192.08752359 -27.2989375 191.28144342 C-27.30997889 188.65140816 -27.31381893 186.0214124 -27.31762695 183.39135742 C-27.32389119 181.50904718 -27.33053795 179.62673818 -27.33753967 177.74443054 C-27.35495131 172.6245382 -27.36550159 167.5046552 -27.3737452 162.38474059 C-27.37889434 159.18708302 -27.38497007 155.98942836 -27.39125633 152.79177284 C-27.4103077 142.79008446 -27.42453973 132.78840347 -27.4328683 122.78670043 C-27.44264567 111.23549053 -27.46897853 99.68447201 -27.50936919 88.13332957 C-27.53950776 79.20840674 -27.55433497 70.28353885 -27.55764931 61.35856611 C-27.56000209 56.02629791 -27.5689924 50.69423418 -27.59411049 45.36202049 C-27.61735709 40.34610103 -27.62163816 35.33052117 -27.61134911 30.31456184 C-27.61085283 28.47391507 -27.61720029 26.63325177 -27.63090515 24.79265594 C-27.64857583 22.27873608 -27.6415423 19.76604136 -27.62837219 17.25212097 C-27.63934144 16.52458231 -27.65031068 15.79704364 -27.66161233 15.04745835 C-27.59772772 9.99299743 -26.28199524 7.17199885 -23.140625 3.26171875 C-16.0353517 -3.29699506 -8.58821747 -4.74349221 0 0 Z \" fill=\"%23ffffff\" transform=\"translate(27.140625,298.73828125)\"/><path d=\"M0 0 C4.61398295 3.1477617 6.27190407 6.98194463 7.7578125 12.19921875 C8.01262152 15.11167562 8.01262152 15.11167562 8.01952553 18.21617699 C8.02699102 19.40551098 8.03445651 20.59484498 8.04214823 21.8202194 C8.03924613 23.76671461 8.03924613 23.76671461 8.0362854 25.75253296 C8.04129028 27.1518971 8.04716664 28.55125834 8.05383813 29.95061553 C8.06962892 33.79080623 8.07306831 37.63092376 8.07448673 41.47114301 C8.07818238 45.61424671 8.0933387 49.75731035 8.10710144 53.90039062 C8.12937288 61.07686315 8.14438687 68.25332141 8.15446854 75.42982101 C8.16905542 85.80582367 8.19459228 96.18177666 8.22279982 106.55775018 C8.26826763 123.39216535 8.3048825 140.22658768 8.3359375 157.06103516 C8.36612308 173.41391251 8.4004734 189.76677238 8.44042969 206.11962891 C8.44289124 207.12765707 8.44535278 208.13568523 8.44788893 209.17425971 C8.46026353 214.23125215 8.47272006 219.28824439 8.48521733 224.34523654 C8.58878497 266.29653961 8.67798829 308.24786421 8.7578125 350.19921875 C10.52876218 348.11159418 12.29900543 346.02337756 14.06884766 343.93481445 C14.56816299 343.34635994 15.06747833 342.75790543 15.58192444 342.15161896 C18.85178887 338.29148689 22.03895981 334.3902258 25.1328125 330.38671875 C29.11065862 325.27068601 33.15882492 320.21868285 37.2578125 315.19921875 C41.45922581 310.05371656 45.60605924 304.87178035 49.6953125 299.63671875 C51.38119723 297.48960985 53.06950667 295.34442583 54.7578125 293.19921875 C55.35335937 292.43351562 55.94890625 291.6678125 56.5625 290.87890625 C60.65344023 285.81292327 64.03936021 283.56167906 70.5078125 282.69921875 C76.59531533 282.97964115 82.18996388 285.66009327 86.50390625 289.92578125 C89.80409673 294.46938628 90.60010096 298.93897704 90.28125 304.49609375 C89.33964384 309.35871659 86.85936913 312.42341068 83.7578125 316.19921875 C82.78832973 317.40696424 81.81964802 318.61535299 80.8515625 319.82421875 C78.62360734 322.59113525 76.37785 325.34247362 74.12109375 328.0859375 C71.11304077 331.74973407 68.17183588 335.46044138 65.2578125 339.19921875 C60.77637437 344.93975491 56.19823581 350.59616484 51.59375 356.23828125 C48.10251167 360.52373493 44.65962362 364.84251328 41.2578125 369.19921875 C36.77869982 374.93562621 32.20436572 380.58903916 27.60253906 386.22729492 C24.02393044 390.61965914 20.49865094 395.04938793 17.0078125 399.51171875 C16.55736572 400.08269287 16.10691895 400.65366699 15.64282227 401.24194336 C13.53289577 403.91709078 11.45738872 406.60380956 9.42578125 409.33984375 C3.80451364 416.70360588 -1.52432155 421.31196369 -10.8671875 422.76171875 C-24.31906392 420.51973935 -31.45251112 408.06814012 -39.27734375 397.98828125 C-42.43768065 393.92848841 -45.67816895 389.93613274 -48.9296875 385.94921875 C-53.01093623 380.94277669 -57.07190116 375.92235698 -61.09765625 370.87109375 C-63.34089666 368.07623685 -65.60283386 365.2972825 -67.8671875 362.51953125 C-72.99913558 356.22339125 -78.08123801 349.89542575 -83.07519531 343.48925781 C-86.04237542 339.69392766 -89.07150227 335.95564488 -92.13183594 332.23510742 C-96.9235165 326.40355106 -101.59213552 320.52115076 -105.9921875 314.38671875 C-106.41056885 313.80599609 -106.8289502 313.22527344 -107.26000977 312.62695312 C-110.7414058 307.69540503 -111.73839428 304.25294152 -111.2421875 298.19921875 C-109.24431254 291.60750391 -105.17480359 287.54790244 -99.2421875 284.19921875 C-94.4700383 282.69078078 -89.98790536 282.58094367 -85.2421875 284.26171875 C-77.73169319 289.11224632 -72.67067419 296.33343119 -67.265625 303.3203125 C-64.15537881 307.33303997 -60.95538346 311.26875759 -57.7421875 315.19921875 C-52.82824393 321.22227237 -47.98487024 327.29391113 -43.19900513 333.41915894 C-40.27413643 337.16050364 -37.34110076 340.89538957 -34.40625 344.62890625 C-33.90585205 345.26562256 -33.4054541 345.90233887 -32.88989258 346.55834961 C-31.67406797 348.10536658 -30.45813893 349.65230146 -29.2421875 351.19921875 C-29.24129187 350.12088733 -29.24129187 350.12088733 -29.24037814 349.02077144 C-29.20449328 306.42464276 -29.1478683 263.82858502 -29.06426655 221.23252189 C-29.05424895 216.11928897 -29.04440485 211.00605573 -29.03466797 205.89282227 C-29.03175591 204.36587707 -29.03175591 204.36587707 -29.02878502 202.8080845 C-28.99775408 186.31994099 -28.98078131 169.8318114 -28.96899328 153.34364419 C-28.95658739 136.428415 -28.92909869 119.51325895 -28.88757443 102.59807593 C-28.86242295 92.15838333 -28.84907143 81.71881201 -28.85075793 71.27908868 C-28.85078766 64.12261171 -28.83618226 56.96625838 -28.81002322 49.80982959 C-28.79535865 45.67936661 -28.78719019 41.54915718 -28.79638481 37.41867256 C-28.80466177 33.63646349 -28.79454484 29.85476422 -28.76985088 26.07263083 C-28.76146503 24.05770529 -28.7727169 22.0427275 -28.78468585 20.02782005 C-28.71972774 13.20847613 -28.42831832 8.69437748 -24.2421875 3.19921875 C-16.97383784 -3.69639503 -8.70059428 -4.8620968 0 0 Z \" fill=\"%23ffffff\" transform=\"translate(266.2421875,2.80078125)\"/><path d=\"M0 0 C5.68536765 4.06097689 8.0692233 8.16112389 9.625 14.875 C9.81027984 17.5080895 9.91082918 20.03435199 9.9034729 22.66416931 C9.9092653 23.41744037 9.9150577 24.17071142 9.92102563 24.94680887 C9.93794069 27.45408544 9.94089476 29.96117699 9.94384766 32.46850586 C9.9531517 34.27247566 9.96332109 36.07644116 9.97428894 37.88040161 C10.00154923 42.76618583 10.0167266 47.65194128 10.02971697 52.53778148 C10.04536487 57.64806966 10.07214981 62.75829925 10.0977478 67.86854553 C10.14450619 77.54039101 10.18126455 87.21224755 10.21442068 96.88414818 C10.25266282 107.89743832 10.30206752 118.91066956 10.35240483 129.92391002 C10.45568097 152.57422968 10.54495543 175.22458718 10.625 197.875 C12.39305096 195.7910636 14.16035871 193.70650461 15.92724609 191.62158203 C16.67445168 190.74110954 16.67445168 190.74110954 17.43675232 189.84284973 C20.79593926 185.87748849 24.07838589 181.86744393 27.25 177.75 C30.49253576 173.58234705 33.76653637 169.4505733 37.125 165.375 C40.5190324 161.25367494 43.83511261 157.07928173 47.125 152.875 C48.05849977 151.69003013 48.99209255 150.50513352 49.92578125 149.3203125 C51.65481983 147.12351765 53.35828572 144.91062257 55.04296875 142.6796875 C63.09979323 132.27931166 63.09979323 132.27931166 69.625 130.875 C75.98602101 130.51886197 80.71559728 131.65063022 85.625 135.875 C89.67796486 140.08215374 91.75384095 143.60741823 92.0625 149.5 C91.93583502 155.79705884 89.50589919 159.08715154 85.625 163.875 C85.16867187 164.44492676 84.71234375 165.01485352 84.2421875 165.60205078 C81.51403394 169.00787069 78.76027525 172.39150614 75.98828125 175.76171875 C72.98022827 179.42551532 70.03902338 183.13622263 67.125 186.875 C62.64356187 192.61553616 58.06542331 198.27194609 53.4609375 203.9140625 C49.96969917 208.19951618 46.52681112 212.51829453 43.125 216.875 C38.64588732 222.61140746 34.07155322 228.26482041 29.46972656 233.90307617 C25.89115398 238.29539615 22.36382571 242.72362861 18.875 247.1875 C2.3622388 268.2959204 2.3622388 268.2959204 -2.375 269.875 C-9.1910832 270.6135099 -14.74098942 269.94595174 -20.375 265.875 C-24.66056257 261.90019492 -28.31257722 257.45623566 -32 252.9375 C-32.61609131 252.18605713 -33.23218262 251.43461426 -33.86694336 250.66040039 C-38.06178206 245.52770669 -42.18520836 240.34354083 -46.26025391 235.11547852 C-49.74221072 230.65529396 -53.29690094 226.2583156 -56.875 221.875 C-61.00940207 216.80958009 -65.09875191 211.71433528 -69.125 206.5625 C-73.79016181 200.59527808 -78.56386786 194.72533668 -83.375 188.875 C-87.73247866 183.56107116 -92.06739074 178.22944158 -96.375 172.875 C-97.12209229 171.9480835 -97.12209229 171.9480835 -97.88427734 171.00244141 C-99.26582266 169.2798432 -100.63502806 167.54824618 -102 165.8125 C-102.77601563 164.83152344 -103.55203125 163.85054687 -104.3515625 162.83984375 C-107.7048428 157.92644656 -110.04266271 153.04922833 -109.79296875 146.92578125 C-108.75760116 141.84570661 -105.56856781 138.03796351 -101.9375 134.5 C-96.75110056 131.21106377 -92.69932883 130.6535934 -86.71875 131.1953125 C-80.80823569 132.90936165 -76.94928888 137.11195705 -73.1875 141.75 C-72.71683105 142.31807373 -72.24616211 142.88614746 -71.76123047 143.47143555 C-67.98071753 148.06098077 -64.30258029 152.73191193 -60.6484375 157.42236328 C-57.05156736 162.03690312 -53.38390185 166.58988739 -49.6875 171.125 C-45.55535918 176.1949231 -41.43535583 181.27296523 -37.35864258 186.38769531 C-35.28979302 188.98184169 -33.21758868 191.57327778 -31.14453125 194.1640625 C-30.43530518 195.0504541 -29.7260791 195.9368457 -28.99536133 196.85009766 C-28.46064209 197.51831543 -27.92592285 198.1865332 -27.375 198.875 C-27.37353344 197.91255088 -27.37206688 196.95010176 -27.37055588 195.95848751 C-27.33395989 172.53931001 -27.27450895 149.12027552 -27.19109726 125.7012167 C-27.15128899 114.37592265 -27.11890555 103.05069826 -27.10400391 91.7253418 C-27.0909967 81.8540864 -27.06405573 71.98298417 -27.02038693 62.11181504 C-26.9977513 56.88514609 -26.98209059 51.65866621 -26.98311615 46.43194389 C-26.98386151 41.51119547 -26.96596033 36.59086535 -26.93383217 31.67022514 C-26.92532179 29.86550809 -26.92359096 28.06074419 -26.92919731 26.25601578 C-26.93584171 23.78818574 -26.91790733 21.32168489 -26.89398193 18.85398865 C-26.90174235 18.14288026 -26.90950277 17.43177187 -26.91749835 16.69911474 C-26.81474462 10.69581503 -24.84925864 6.38232223 -20.62109375 2.09765625 C-14.0160014 -2.13930364 -7.41026458 -2.47008819 0 0 Z \" fill=\"%23ffffff\" transform=\"translate(420.375,1.125)\"/><path d=\"M0 0 C3.73288983 3.37737651 6.99967933 6.499038 8.625 11.375 C8.73019626 13.87059903 8.77982225 16.33898779 8.78321838 18.83500671 C8.79062535 19.98428806 8.79062535 19.98428806 8.79818195 21.15678722 C8.81357614 23.73171986 8.82192277 26.30662753 8.83032227 28.8815918 C8.83989928 30.72437765 8.84990925 32.5671613 8.86032104 34.40994263 C8.88739532 39.41992169 8.90839123 44.4299102 8.92832303 49.43992209 C8.95016702 54.67300377 8.97756347 59.90605625 9.00437927 65.13911438 C9.05432763 75.05192776 9.09925851 84.96475732 9.14240164 94.8776024 C9.1917557 106.16163616 9.24668061 117.44564064 9.30208123 128.72964609 C9.41593418 151.94473674 9.52276601 175.15985548 9.625 198.375 C11.67805688 195.85495821 13.72976238 193.33381938 15.78125 190.8125 C16.35520508 190.10802734 16.92916016 189.40355469 17.52050781 188.67773438 C21.09964703 184.27731959 24.63620116 179.84733765 28.125 175.375 C32.60488132 169.64273283 37.16960804 163.98510884 41.77807617 158.35571289 C44.93244857 154.49316816 48.01436723 150.58712829 51.04345703 146.62573242 C62.66436224 131.51041491 62.66436224 131.51041491 70.125 130.25 C76.24207299 130.03906645 80.79998089 131.83387275 85.4375 135.75 C89.38891717 140.49170061 92.13481647 144.96904519 91.625 151.375 C89.82387997 156.38003545 87.57091067 160.11447173 84.25 164.3125 C83.81937256 164.86043213 83.38874512 165.40836426 82.94506836 165.97290039 C78.8586512 171.14767799 74.68532435 176.254542 70.51416016 181.36108398 C67.00256936 185.66234543 63.54149617 189.99790743 60.125 194.375 C55.6431114 200.11519254 51.06543222 205.77193517 46.4609375 211.4140625 C42.96969917 215.69951618 39.52681112 220.01829453 36.125 224.375 C31.64825026 230.10838124 27.08122181 235.76300583 22.47412109 241.39208984 C19.30459351 245.27393451 16.2052179 249.19884408 13.15478516 253.17480469 C2.04602031 267.6080904 2.04602031 267.6080904 -5.375 269.375 C-10.60223422 270.00860415 -15.03256223 269.87757357 -19.578125 266.875 C-26.92130942 260.74503735 -32.58249866 252.67031185 -38.421875 245.1484375 C-41.51430803 241.17572239 -44.68973795 237.27342249 -47.875 233.375 C-52.38295334 227.85189686 -56.82343238 222.283148 -61.2109375 216.6640625 C-65.25419062 211.49898193 -69.39347247 206.41500757 -73.54125977 201.33374023 C-77.46562885 196.51754826 -81.31372935 191.64769081 -85.12963867 186.74536133 C-87.69256631 183.46888342 -90.30212096 180.23836901 -92.9609375 177.0390625 C-93.88821655 175.92325806 -93.88821655 175.92325806 -94.83422852 174.78491211 C-96.02858851 173.35265562 -97.22671543 171.92352783 -98.42944336 170.49829102 C-111.08084 155.33752645 -111.08084 155.33752645 -110.375 146.375 C-108.48814444 140.08548147 -105.21901385 136.65021108 -100.1875 132.625 C-94.97075035 130.3064446 -89.65904438 129.65843706 -84.1875 131.375 C-76.92551038 136.5390815 -71.80308144 143.50973629 -66.3984375 150.49609375 C-63.28819131 154.50882122 -60.08819596 158.44453884 -56.875 162.375 C-51.96105643 168.39805362 -47.11768274 174.46969238 -42.33181763 180.59494019 C-39.40694893 184.33628489 -36.47391326 188.07117082 -33.5390625 191.8046875 C-33.03866455 192.44140381 -32.5382666 193.07812012 -32.02270508 193.73413086 C-30.80688047 195.28114783 -29.59095143 196.82808271 -28.375 198.375 C-28.37261165 197.41678282 -28.37022329 196.45856564 -28.36776257 195.47131157 C-28.30898067 172.16098722 -28.23310593 148.85076633 -28.13928509 125.54055595 C-28.09431026 114.26793222 -28.05489945 102.99534021 -28.02856445 91.72265625 C-28.00559808 81.89794214 -27.97221523 72.07332824 -27.92629844 62.24869359 C-27.90234794 57.04611987 -27.88363111 51.84364552 -27.87738609 46.64101791 C-27.87134355 41.74413448 -27.85137362 36.84750536 -27.82072449 31.95071602 C-27.81193096 30.15364026 -27.8082244 28.35653129 -27.80999184 26.55943489 C-27.81164387 24.1045859 -27.79495178 21.6505128 -27.77372742 19.19577026 C-27.77857499 18.48563998 -27.78342257 17.7755097 -27.78841704 17.04386032 C-27.71080394 11.59958951 -26.3700607 7.53782717 -22.65625 3.51171875 C-22.0684375 3.03347656 -21.480625 2.55523437 -20.875 2.0625 C-20.2871875 1.57136719 -19.699375 1.08023437 -19.09375 0.57421875 C-13.70922223 -3.18271312 -5.66738218 -2.72873957 0 0 Z \" fill=\"%23ffffff\" transform=\"translate(110.375,1.625)\"/></svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: 18px 18px;\n}\n/* Download source file icon - arrow down to baseline */\n.adsk-icon-custom-download-source::before {\n content: '';\n display: inline-block;\n width: 24px;\n height: 24px;\n background-image: url('data:image/svg+xml;utf8,<svg height=\"24\" width=\"24\" viewBox=\"0 0 24 24\" fill=\"%23ffffff\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12,3.25a.75.75,0,0,1,.75.75v9.51L15,11.24a.74.74,0,0,1,1.06,0,.75.75,0,0,1,.22.53.79.79,0,0,1-.22.53l-3.56,3.55a.78.78,0,0,1-.24.16.73.73,0,0,1-.58,0,.78.78,0,0,1-.24-.16L7.92,12.3a.75.75,0,0,1,0-1.06.74.74,0,0,1,1.06,0l2.27,2.27V4A.76.76,0,0,1,12,3.25Zm8,16H4a.75.75,0,0,0,0,1.5H20a.75.75,0,0,0,0-1.5Z\"></path></svg>');\n background-repeat: no-repeat;\n background-position: center;\n background-size: 18px 18px;\n}\n";
|
|
94312
94356
|
styleInject(css_248z$2);
|
|
94313
94357
|
|
|
94314
94358
|
// ─── Constants ────────────────────────────────────────────────────────────────
|
|
@@ -97312,12 +97356,22 @@ var ViewerForgePDF = function ViewerForgePDF(_ref) {
|
|
|
97312
97356
|
// host to UPLOAD (e.g. consultant reply with markup baked in),
|
|
97313
97357
|
// as opposed to the toolbar "export" which downloads. Lazily
|
|
97314
97358
|
// resolves the export service (created after engine init).
|
|
97315
|
-
enhancedViewer.exportToBlob = function (filePath, exportOptions) {
|
|
97359
|
+
enhancedViewer.exportToBlob = function (filePath, exportOptions, scope) {
|
|
97316
97360
|
var svc = canvasExportServiceRef.current;
|
|
97317
97361
|
if (!svc) {
|
|
97318
97362
|
return Promise.reject(new Error('[ViewerForgePDF] export service not ready'));
|
|
97319
97363
|
}
|
|
97320
|
-
return svc.exportToBlob(filePath, exportOptions);
|
|
97364
|
+
return svc.exportToBlob(filePath, exportOptions, scope);
|
|
97365
|
+
};
|
|
97366
|
+
|
|
97367
|
+
// Programmatic toolbar button visibility (IToolbarVisibilityConfig:
|
|
97368
|
+
// pan/download/export/exportAll/markup/pagination). Lets the host
|
|
97369
|
+
// show/hide buttons dynamically — e.g. hide the draw tool + show
|
|
97370
|
+
// "Download All Comments" once a reply is submitted.
|
|
97371
|
+
enhancedViewer.setToolbarVisibility = function (config) {
|
|
97372
|
+
var _viewer$getExtension, _ext$toolbarManager, _ext$toolbarManager$s;
|
|
97373
|
+
var ext = (_viewer$getExtension = viewer.getExtension) === null || _viewer$getExtension === void 0 ? void 0 : _viewer$getExtension.call(viewer, 'ToolbarExtension');
|
|
97374
|
+
ext === null || ext === void 0 || (_ext$toolbarManager = ext.toolbarManager) === null || _ext$toolbarManager === void 0 || (_ext$toolbarManager$s = _ext$toolbarManager.setVisibilityConfig) === null || _ext$toolbarManager$s === void 0 || _ext$toolbarManager$s.call(_ext$toolbarManager, config);
|
|
97321
97375
|
};
|
|
97322
97376
|
|
|
97323
97377
|
// Custom geometry
|
|
@@ -97497,14 +97551,14 @@ var ViewerForgePDF = function ViewerForgePDF(_ref) {
|
|
|
97497
97551
|
};
|
|
97498
97552
|
});
|
|
97499
97553
|
},
|
|
97500
|
-
fetchAllScenesForExport: function fetchAllScenesForExport(guids) {
|
|
97554
|
+
fetchAllScenesForExport: function fetchAllScenesForExport(guids, scope) {
|
|
97501
97555
|
var fn = fetchAllScenesForExportRef.current;
|
|
97502
97556
|
if (!fn) {
|
|
97503
97557
|
var msg = '[ViewerForgePDF] fetchAllScenesForExport prop is not provided. ' + 'Pass this prop to enable "Export with Markup".';
|
|
97504
97558
|
console.warn(msg);
|
|
97505
97559
|
return Promise.reject(new Error(msg));
|
|
97506
97560
|
}
|
|
97507
|
-
return fn(guids);
|
|
97561
|
+
return fn(guids, scope);
|
|
97508
97562
|
},
|
|
97509
97563
|
onExportStatus: function onExportStatus(evt) {
|
|
97510
97564
|
var _onExportStatusRef$cu;
|