mxcad 1.0.252 → 1.0.254
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/mxcad.d.ts +2 -0
- package/dist/mxcad.es.js +2 -2
- package/dist/mxcad.umd.js +1 -1
- package/dist/wasm/2d/mxdrawassembly_min.js +5 -5
- package/dist/wasm/2d/mxdrawassembly_min.wasm +0 -0
- package/dist/wasm/2d-st/mxdrawassembly_min.js +5 -5
- package/dist/wasm/2d-st/mxdrawassembly_minst.wasm +0 -0
- package/package.json +1 -1
package/dist/mxcad.d.ts
CHANGED
|
@@ -11629,6 +11629,8 @@ export declare class McObject {
|
|
|
11629
11629
|
* // "77,1,271,3": 整型数据
|
|
11630
11630
|
* // 其中数值两两一组,如 "41,0.18":dimasz系统变量值设置为0.18;"77,1":dimtad系统变量值设置为1
|
|
11631
11631
|
* mxcad.addDimStyle("MyDimStyle2", "41,0.18,141,0.09,40,200", "77,1,271,3", "", "");
|
|
11632
|
+
* 增加一个%%c前缀 '3,"%%c<>"'
|
|
11633
|
+
* mxcad.addDimStyle("MyDimStyle", "41,0.18,141,0.09,40,200", "77,1,271,3", '3,"%%c<>"', `340,${textId.id}`);
|
|
11632
11634
|
* ```
|
|
11633
11635
|
*/
|
|
11634
11636
|
addDimStyle(pszName: string, pszDoubleData: string, pszIntData: string, pszStringData: string, pszIdData: string): McObjectId;
|
package/dist/mxcad.es.js
CHANGED
|
@@ -14186,7 +14186,7 @@ win.McDrawObjectEvent_asciiToUTF8 = function (hexstr) {
|
|
|
14186
14186
|
return MxG2312Obj.decodeFromGb2312(hexstr);
|
|
14187
14187
|
};
|
|
14188
14188
|
|
|
14189
|
-
const version$1 = "1.0.
|
|
14189
|
+
const version$1 = "1.0.254";
|
|
14190
14190
|
|
|
14191
14191
|
var isSharedArrayBuffer = ("SharedArrayBuffer" in window);
|
|
14192
14192
|
var isCdn = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src);
|
|
@@ -20758,7 +20758,7 @@ var McObject = /*#__PURE__*/function () {
|
|
|
20758
20758
|
}, {
|
|
20759
20759
|
key: "addDimStyle",
|
|
20760
20760
|
value: function addDimStyle(pszName, pszDoubleData, pszIntData, pszStringData, pszIdData) {
|
|
20761
|
-
return new McObjectId(this.imp.AddDimStyle(pszName, pszDoubleData, pszIntData, pszStringData, pszIdData));
|
|
20761
|
+
return new McObjectId(this.imp.AddDimStyle(MxG2312Obj.encodeToGb2312(pszName), MxG2312Obj.encodeToGb2312(pszDoubleData), MxG2312Obj.encodeToGb2312(pszIntData), MxG2312Obj.encodeToGb2312(pszStringData), MxG2312Obj.encodeToGb2312(pszIdData)));
|
|
20762
20762
|
}
|
|
20763
20763
|
}, {
|
|
20764
20764
|
key: "drawDimStyle",
|