mxcad-app 1.0.44 → 1.0.45
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/chunks/en-US.js.gz +0 -0
- package/dist/chunks/index19.js.gz +0 -0
- package/dist/chunks/index28.js.gz +0 -0
- package/dist/chunks/ko-KR.js.gz +0 -0
- package/dist/chunks/lib.js.gz +0 -0
- package/dist/chunks/mxcad.js.gz +0 -0
- package/dist/chunks/mxdraw.js.gz +0 -0
- package/dist/chunks/zh-TW.js.gz +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +28 -28
- package/dist/index.umd.js.gz +0 -0
- package/dist/mxcad.d.ts +8 -2
- package/dist/mxcadAppAssets/languages/mx-cad-app-vuetify3/messages/en-US.ts +13 -1
- package/dist/mxcadAppAssets/languages/mx-cad-app-vuetify3/messages/idMap.json.gz +0 -0
- package/dist/mxcadAppAssets/languages/mx-cad-app-vuetify3/messages/ko-KR.ts +13 -1
- package/dist/mxcadAppAssets/languages/mx-cad-app-vuetify3/messages/zh-CN.ts +13 -1
- package/dist/mxcadAppAssets/languages/mx-cad-app-vuetify3/messages/zh-TW.ts +13 -1
- package/dist/mxcadAppAssets/mxSketchesAndNotesUiConfig.json.gz +0 -0
- package/dist/mxcadAppAssets/mxUiConfig.json.gz +0 -0
- package/dist/mxcadAppAssets/mxcadUiConfig.json.gz +0 -0
- package/dist/mxcadAppAssets/plugins/pluginIdentifyPattern/index.js.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d/mxdrawassembly_min.js.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d/mxdrawassembly_min.wasm.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d-st/mxdrawassembly_min.js.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d-st/mxdrawassembly_minst.wasm.gz +0 -0
- package/dist/mxdraw.d.ts +12 -0
- package/dist/styles/style.css.gz +0 -0
- package/packToolPlugin/shared/types/mxcadUiConfig.d.ts +7 -1
- package/package.json +1 -1
package/dist/chunks/en-US.js.gz
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/chunks/ko-KR.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/lib.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/mxcad.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/mxdraw.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/zh-TW.js.gz
CHANGED
|
Binary file
|
package/dist/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -222,36 +222,16 @@ declare module '@howdyjs/to-drag' {
|
|
|
222
222
|
|
|
223
223
|
declare module '@tiptap/core' {
|
|
224
224
|
interface Commands<ReturnType> {
|
|
225
|
-
|
|
226
|
-
setUnderline: () => ReturnType;
|
|
227
|
-
unsetUnderline: () => ReturnType;
|
|
228
|
-
toggleUnderline: () => ReturnType;
|
|
229
|
-
};
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
declare module '@tiptap/core' {
|
|
235
|
-
interface Commands<ReturnType> {
|
|
236
|
-
fontSize: {
|
|
225
|
+
Overline: {
|
|
237
226
|
/**
|
|
238
227
|
* Set the font size attribute
|
|
239
228
|
*/
|
|
240
|
-
|
|
229
|
+
setOverline: () => ReturnType;
|
|
241
230
|
/**
|
|
242
231
|
* Unset the font size attribute
|
|
243
232
|
*/
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
declare module "@tiptap/core" {
|
|
251
|
-
interface Commands<ReturnType> {
|
|
252
|
-
selectedText: {
|
|
253
|
-
setSelectedText: (from: number, to: number) => ReturnType;
|
|
254
|
-
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
233
|
+
unsetOverline: () => ReturnType;
|
|
234
|
+
toggleOverline: () => ReturnType;
|
|
255
235
|
};
|
|
256
236
|
}
|
|
257
237
|
}
|
|
@@ -259,16 +239,15 @@ declare module "@tiptap/core" {
|
|
|
259
239
|
|
|
260
240
|
declare module '@tiptap/core' {
|
|
261
241
|
interface Commands<ReturnType> {
|
|
262
|
-
|
|
242
|
+
fontSize: {
|
|
263
243
|
/**
|
|
264
244
|
* Set the font size attribute
|
|
265
245
|
*/
|
|
266
|
-
|
|
246
|
+
setFontSize: (size: string) => ReturnType;
|
|
267
247
|
/**
|
|
268
248
|
* Unset the font size attribute
|
|
269
249
|
*/
|
|
270
|
-
|
|
271
|
-
toggleOverline: () => ReturnType;
|
|
250
|
+
unsetFontSize: () => ReturnType;
|
|
272
251
|
};
|
|
273
252
|
}
|
|
274
253
|
}
|
|
@@ -305,3 +284,24 @@ declare module '@tiptap/core' {
|
|
|
305
284
|
};
|
|
306
285
|
}
|
|
307
286
|
}
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
declare module '@tiptap/core' {
|
|
290
|
+
interface Commands<ReturnType> {
|
|
291
|
+
Underline: {
|
|
292
|
+
setUnderline: () => ReturnType;
|
|
293
|
+
unsetUnderline: () => ReturnType;
|
|
294
|
+
toggleUnderline: () => ReturnType;
|
|
295
|
+
};
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
declare module "@tiptap/core" {
|
|
301
|
+
interface Commands<ReturnType> {
|
|
302
|
+
selectedText: {
|
|
303
|
+
setSelectedText: (from: number, to: number) => ReturnType;
|
|
304
|
+
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
}
|
package/dist/index.umd.js.gz
CHANGED
|
Binary file
|
package/dist/mxcad.d.ts
CHANGED
|
@@ -14725,7 +14725,6 @@ declare module "mxcad" {
|
|
|
14725
14725
|
point: McGePoint3d;
|
|
14726
14726
|
lineIndex: number;
|
|
14727
14727
|
} | null;
|
|
14728
|
-
function transformBy(this: MxCADMText, mat: McGeMatrix3d): boolean;
|
|
14729
14728
|
/**
|
|
14730
14729
|
* 自定义编辑器实体类
|
|
14731
14730
|
* 用于在CAD中渲染和管理富文本编辑器
|
|
@@ -14770,7 +14769,14 @@ declare module "mxcad" {
|
|
|
14770
14769
|
convertCadPointToSlatePoint: typeof convertCadPointToSlatePoint;
|
|
14771
14770
|
/** Slate的Point位置转换为CAD坐标 */
|
|
14772
14771
|
convertSlatePointToCadPoint: typeof convertSlatePointToCadPoint;
|
|
14773
|
-
|
|
14772
|
+
/** 自定义变换矩阵函数 */
|
|
14773
|
+
customizeTransformBy(mat: McGeMatrix3d): boolean;
|
|
14774
|
+
transformBy(_met: McGeMatrix3d): boolean;
|
|
14775
|
+
getBoundingBox(): {
|
|
14776
|
+
minPt: McGePoint3d;
|
|
14777
|
+
maxPt: McGePoint3d;
|
|
14778
|
+
ret: boolean;
|
|
14779
|
+
};
|
|
14774
14780
|
}
|
|
14775
14781
|
/**
|
|
14776
14782
|
* 表格渲染方向枚举
|
|
@@ -1514,5 +1514,17 @@ export default {
|
|
|
1514
1514
|
"4576": "Fixed length extension lines",
|
|
1515
1515
|
"4577": "Arrow not within dimension boundaries elimination",
|
|
1516
1516
|
"4578": "Text placement position",
|
|
1517
|
-
"4579": "Measurement unit scale factor"
|
|
1517
|
+
"4579": "Measurement unit scale factor",
|
|
1518
|
+
"4580": "group",
|
|
1519
|
+
"4581": "Create a group",
|
|
1520
|
+
"4582": "ungroup",
|
|
1521
|
+
"4583": "Editorial team",
|
|
1522
|
+
"4584": "Grouping Manager",
|
|
1523
|
+
"4603": "Layout name is invalid or already exists",
|
|
1524
|
+
"4604": "Rename failed",
|
|
1525
|
+
"4605": "New Layout",
|
|
1526
|
+
"4606": "Delete Layout",
|
|
1527
|
+
"4607": "Are you sure you want to permanently delete this layout?",
|
|
1528
|
+
"4608": "Add Layout",
|
|
1529
|
+
"4609": "black and white printing"
|
|
1518
1530
|
}
|
|
Binary file
|
|
@@ -1514,5 +1514,17 @@ export default {
|
|
|
1514
1514
|
"4576": "고정 길이의 치수 경계",
|
|
1515
1515
|
"4577": "화살표가 치수 경계 내에 없는 경우 제거",
|
|
1516
1516
|
"4578": "텍스트 배치 위치",
|
|
1517
|
-
"4579": "측정 단위 비율 인자"
|
|
1517
|
+
"4579": "측정 단위 비율 인자",
|
|
1518
|
+
"4580": "그룹",
|
|
1519
|
+
"4581": "그룹 만들기",
|
|
1520
|
+
"4582": "그룹 해제",
|
|
1521
|
+
"4583": "그룹 편집",
|
|
1522
|
+
"4584": "그룹 관리자",
|
|
1523
|
+
"4603": "레이아웃 이름이 잘못되었거나 이미 있습니다.",
|
|
1524
|
+
"4604": "이름 바꾸기 실패",
|
|
1525
|
+
"4605": "새 배치",
|
|
1526
|
+
"4606": "레이아웃 삭제",
|
|
1527
|
+
"4607": "이 레이아웃을 영구적으로 삭제하시겠습니까?",
|
|
1528
|
+
"4608": "레이아웃 추가",
|
|
1529
|
+
"4609": "흑백 인쇄"
|
|
1518
1530
|
}
|
|
@@ -1514,5 +1514,17 @@ export default {
|
|
|
1514
1514
|
"4576": "固定长度的尺寸界线",
|
|
1515
1515
|
"4577": "箭头不在尺寸界限内消除",
|
|
1516
1516
|
"4578": "文本放置位置",
|
|
1517
|
-
"4579": "测量单位比例因子"
|
|
1517
|
+
"4579": "测量单位比例因子",
|
|
1518
|
+
"4580": "组",
|
|
1519
|
+
"4581": "创建组",
|
|
1520
|
+
"4582": "解除编组",
|
|
1521
|
+
"4583": "编辑组",
|
|
1522
|
+
"4584": "编组管理器",
|
|
1523
|
+
"4603": "布局名称无效或已存在",
|
|
1524
|
+
"4604": "重命名失败",
|
|
1525
|
+
"4605": "新建布局",
|
|
1526
|
+
"4606": "删除布局",
|
|
1527
|
+
"4607": "确定要永久删除该布局吗?",
|
|
1528
|
+
"4608": "添加布局",
|
|
1529
|
+
"4609": "黑白打印"
|
|
1518
1530
|
}
|
|
@@ -1514,5 +1514,17 @@ export default {
|
|
|
1514
1514
|
"4576": "固定長度的尺寸界線",
|
|
1515
1515
|
"4577": "箭頭不在尺寸界限內消除",
|
|
1516
1516
|
"4578": "文字放置位置",
|
|
1517
|
-
"4579": "測量單位比例因子"
|
|
1517
|
+
"4579": "測量單位比例因子",
|
|
1518
|
+
"4580": "組",
|
|
1519
|
+
"4581": "創建組",
|
|
1520
|
+
"4582": "解除編組",
|
|
1521
|
+
"4583": "編輯組",
|
|
1522
|
+
"4584": "編組管理器",
|
|
1523
|
+
"4603": "佈局名稱無效或已存在",
|
|
1524
|
+
"4604": "重命名失敗",
|
|
1525
|
+
"4605": "新建佈局",
|
|
1526
|
+
"4606": "删除佈局",
|
|
1527
|
+
"4607": "確定要永久删除該佈局嗎?",
|
|
1528
|
+
"4608": "添加佈局",
|
|
1529
|
+
"4609": "黑白列印"
|
|
1518
1530
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/mxdraw.d.ts
CHANGED
|
@@ -581,6 +581,7 @@ declare module "mxdraw" {
|
|
|
581
581
|
lineWidthByPixels: boolean;
|
|
582
582
|
dDashArray: number;
|
|
583
583
|
dDashRatio: number;
|
|
584
|
+
sLayoutName: string;
|
|
584
585
|
layer: string;
|
|
585
586
|
protected use_smallcoord_display: boolean;
|
|
586
587
|
abstract getTypeName(): string;
|
|
@@ -589,6 +590,8 @@ declare module "mxdraw" {
|
|
|
589
590
|
toSmallcoord(mxobj: MxDrawObject, pt: THREE.Vector3): THREE.Vector3;
|
|
590
591
|
isUseSmallcoordDisplay(): boolean;
|
|
591
592
|
setUseSmallcoordDisplay(use_smallcoord_display: boolean): void;
|
|
593
|
+
setLayoutName(name: string): void;
|
|
594
|
+
getLayoutName(): string;
|
|
592
595
|
/**
|
|
593
596
|
* 自定义对象的绘制函数。在方法中定义如何绘制图形
|
|
594
597
|
* @param pWorldDraw 绘制对象{@link McGiWorldDraw }
|
|
@@ -2858,6 +2861,15 @@ declare module "mxdraw" {
|
|
|
2858
2861
|
* ```
|
|
2859
2862
|
*/
|
|
2860
2863
|
getViewAngle(): number;
|
|
2864
|
+
/**
|
|
2865
|
+
* 内部使用
|
|
2866
|
+
* @example
|
|
2867
|
+
* ```typescript
|
|
2868
|
+
*
|
|
2869
|
+
*
|
|
2870
|
+
* ```
|
|
2871
|
+
*/
|
|
2872
|
+
clearCurrentLayoutVeriableCache(): void;
|
|
2861
2873
|
/**
|
|
2862
2874
|
* 得到系统变量
|
|
2863
2875
|
* @example
|
package/dist/styles/style.css.gz
CHANGED
|
Binary file
|
|
@@ -124,10 +124,12 @@ export interface MxcadUiConfig {
|
|
|
124
124
|
* 头部标题栏显示隐藏 为false 则logoImg失效
|
|
125
125
|
*/
|
|
126
126
|
isShowHeaderTopBar: boolean;
|
|
127
|
+
isShowHeaderTopBarRightBtns: boolean;
|
|
128
|
+
isSketchesAndNotesUiMode: boolean;
|
|
127
129
|
/**
|
|
128
130
|
* 头部标题栏右侧按钮是否隐藏
|
|
129
131
|
*/
|
|
130
|
-
|
|
132
|
+
isShowSketchesAndNotesUiMode: boolean;
|
|
131
133
|
/**
|
|
132
134
|
* 头部右侧按钮标识, 未填写则不显示
|
|
133
135
|
*/
|
|
@@ -164,6 +166,10 @@ export interface MxcadUiConfig {
|
|
|
164
166
|
mRightMenuDataCommandRuningOsnapSet: MxcadUiConfigMRightMenuDataCommandRuningOsnapSetItem[];
|
|
165
167
|
mRightMenuDataSelectEntity: MxcadUiConfigMRightMenuDataSelectEntityItem[];
|
|
166
168
|
isShowFooter: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* 是否为移动命令行模式
|
|
171
|
+
*/
|
|
172
|
+
isMobileCommandLineMode: boolean;
|
|
167
173
|
/**
|
|
168
174
|
* 底部左下角按钮,数组中存在对应的名称才会生成对应的开关按钮
|
|
169
175
|
*/
|