@mlightcad/cad-viewer 1.4.9 → 1.4.11
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/README.md +15 -4
- package/dist/app/app.d.ts.map +1 -1
- package/dist/app/register.d.ts +1 -0
- package/dist/app/register.d.ts.map +1 -1
- package/dist/component/MlCadViewer.vue.d.ts +1 -1
- package/dist/component/MlCadViewer.vue.d.ts.map +1 -1
- package/dist/component/common/MlBaseDialog.vue.d.ts +6 -6
- package/dist/component/common/MlBaseDrawStyleToolbar.vue.d.ts +5 -5
- package/dist/component/common/MlBaseDrawStyleToolbar.vue.d.ts.map +1 -1
- package/dist/component/common/MlColorPickerDropdown.vue.d.ts +73 -0
- package/dist/component/common/MlColorPickerDropdown.vue.d.ts.map +1 -0
- package/dist/component/common/MlColorPickerTabs.vue.d.ts +41 -0
- package/dist/component/common/MlColorPickerTabs.vue.d.ts.map +1 -0
- package/dist/component/common/MlDialogManager.vue.d.ts +6 -0
- package/dist/component/common/MlDialogManager.vue.d.ts.map +1 -0
- package/dist/component/common/MlFileReader.vue.d.ts.map +1 -1
- package/dist/component/common/createMlColorIndexPickerToolbarFactory.d.ts +7 -0
- package/dist/component/common/createMlColorIndexPickerToolbarFactory.d.ts.map +1 -0
- package/dist/component/common/index.d.ts +3 -0
- package/dist/component/common/index.d.ts.map +1 -1
- package/dist/component/dialog/MlColorPickerDlg.vue.d.ts +1 -1
- package/dist/component/dialog/MlColorPickerDlg.vue.d.ts.map +1 -1
- package/dist/component/layout/MlEntityDrawStyleToolbar.vue.d.ts +3 -3
- package/dist/component/layout/MlEntityDrawStyleToolbar.vue.d.ts.map +1 -1
- package/dist/component/layout/MlToolBars.vue.d.ts.map +1 -1
- package/dist/component/palette/MlEntityProperties.vue.d.ts.map +1 -1
- package/dist/component/palette/MlLayerList.vue.d.ts.map +1 -1
- package/dist/composable/useDark.d.ts +4 -1
- package/dist/composable/useDark.d.ts.map +1 -1
- package/dist/composable/useDialogManager.d.ts +1 -1
- package/dist/composable/useDialogManager.d.ts.map +1 -1
- package/dist/composable/useEntityDrawStyle.d.ts +2 -2
- package/dist/composable/useEntityDrawStyle.d.ts.map +1 -1
- package/dist/composable/useHover.d.ts +68 -12
- package/dist/composable/useHover.d.ts.map +1 -1
- package/dist/composable/useLayers.d.ts +2 -1
- package/dist/composable/useLayers.d.ts.map +1 -1
- package/dist/composable/useSystemVars.d.ts +7 -0
- package/dist/composable/useSystemVars.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +26597 -3526
- package/dist/locale/en/main.d.ts +24 -0
- package/dist/locale/en/main.d.ts.map +1 -1
- package/dist/locale/zh/main.d.ts +24 -0
- package/dist/locale/zh/main.d.ts.map +1 -1
- package/dist/svg/index.d.ts +6 -0
- package/dist/svg/index.d.ts.map +1 -1
- package/package.json +6 -7
|
@@ -78,6 +78,35 @@ export declare function useHover(): {
|
|
|
78
78
|
colorIndex: number | undefined;
|
|
79
79
|
readonly isByColor: boolean;
|
|
80
80
|
readonly isByACI: boolean;
|
|
81
|
+
readonly isForeground: boolean;
|
|
82
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
83
|
+
readonly isByLayer: boolean;
|
|
84
|
+
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
85
|
+
readonly isByBlock: boolean;
|
|
86
|
+
setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
87
|
+
colorName: string | undefined;
|
|
88
|
+
clone: () => import('@mlightcad/data-model').AcCmColor;
|
|
89
|
+
copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
|
|
90
|
+
equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
|
|
91
|
+
toString: () => string;
|
|
92
|
+
};
|
|
93
|
+
readonly resolvedColor: {
|
|
94
|
+
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
95
|
+
readonly red: number | undefined;
|
|
96
|
+
readonly green: number | undefined;
|
|
97
|
+
readonly blue: number | undefined;
|
|
98
|
+
readonly RGB: number | undefined;
|
|
99
|
+
setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
|
|
100
|
+
setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
|
|
101
|
+
setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
|
|
102
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
103
|
+
readonly hexColor: string | undefined;
|
|
104
|
+
readonly cssColor: string | undefined;
|
|
105
|
+
colorIndex: number | undefined;
|
|
106
|
+
readonly isByColor: boolean;
|
|
107
|
+
readonly isByACI: boolean;
|
|
108
|
+
readonly isForeground: boolean;
|
|
109
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
81
110
|
readonly isByLayer: boolean;
|
|
82
111
|
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
83
112
|
readonly isByBlock: boolean;
|
|
@@ -595,12 +624,6 @@ export declare function useHover(): {
|
|
|
595
624
|
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbProgressdEventArgs) => void) => void;
|
|
596
625
|
dispatch: (payload?: import('@mlightcad/data-model').AcDbProgressdEventArgs | undefined, ...args: unknown[]) => void;
|
|
597
626
|
};
|
|
598
|
-
headerSysVarChanged: {
|
|
599
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbHeaderSysVarEventArgs) => void) => void;
|
|
600
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbHeaderSysVarEventArgs) => void) => void;
|
|
601
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbHeaderSysVarEventArgs) => void) => void;
|
|
602
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcDbHeaderSysVarEventArgs | undefined, ...args: unknown[]) => void;
|
|
603
|
-
};
|
|
604
627
|
};
|
|
605
628
|
readonly tables: {
|
|
606
629
|
readonly appIdTable: {
|
|
@@ -1453,6 +1476,7 @@ export declare function useHover(): {
|
|
|
1453
1476
|
};
|
|
1454
1477
|
insunits: number;
|
|
1455
1478
|
ltscale: number;
|
|
1479
|
+
lwdisplay: boolean;
|
|
1456
1480
|
cecolor: {
|
|
1457
1481
|
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
1458
1482
|
readonly red: number | undefined;
|
|
@@ -1468,6 +1492,8 @@ export declare function useHover(): {
|
|
|
1468
1492
|
colorIndex: number | undefined;
|
|
1469
1493
|
readonly isByColor: boolean;
|
|
1470
1494
|
readonly isByACI: boolean;
|
|
1495
|
+
readonly isForeground: boolean;
|
|
1496
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
1471
1497
|
readonly isByLayer: boolean;
|
|
1472
1498
|
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1473
1499
|
readonly isByBlock: boolean;
|
|
@@ -1481,6 +1507,7 @@ export declare function useHover(): {
|
|
|
1481
1507
|
celtscale: number;
|
|
1482
1508
|
celweight: import('@mlightcad/data-model').AcGiLineWeight;
|
|
1483
1509
|
clayer: string;
|
|
1510
|
+
textstyle: string;
|
|
1484
1511
|
angBase: number;
|
|
1485
1512
|
angDir: number;
|
|
1486
1513
|
extmax: {
|
|
@@ -1938,6 +1965,7 @@ export declare function useHover(): {
|
|
|
1938
1965
|
};
|
|
1939
1966
|
pdmode: number;
|
|
1940
1967
|
pdsize: number;
|
|
1968
|
+
osmode: number;
|
|
1941
1969
|
read: (data: ArrayBuffer, options: import('@mlightcad/data-model').AcDbOpenDatabaseOptions, fileType?: import('@mlightcad/data-model').AcDbConverterType) => Promise<void>;
|
|
1942
1970
|
openUri: (url: string, options: import('@mlightcad/data-model').AcDbOpenDatabaseOptions) => Promise<void>;
|
|
1943
1971
|
regen: () => Promise<void>;
|
|
@@ -2017,6 +2045,35 @@ export declare function useHover(): {
|
|
|
2017
2045
|
colorIndex: number | undefined;
|
|
2018
2046
|
readonly isByColor: boolean;
|
|
2019
2047
|
readonly isByACI: boolean;
|
|
2048
|
+
readonly isForeground: boolean;
|
|
2049
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
2050
|
+
readonly isByLayer: boolean;
|
|
2051
|
+
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
2052
|
+
readonly isByBlock: boolean;
|
|
2053
|
+
setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
2054
|
+
colorName: string | undefined;
|
|
2055
|
+
clone: () => import('@mlightcad/data-model').AcCmColor;
|
|
2056
|
+
copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
|
|
2057
|
+
equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
|
|
2058
|
+
toString: () => string;
|
|
2059
|
+
};
|
|
2060
|
+
readonly resolvedColor: {
|
|
2061
|
+
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
2062
|
+
readonly red: number | undefined;
|
|
2063
|
+
readonly green: number | undefined;
|
|
2064
|
+
readonly blue: number | undefined;
|
|
2065
|
+
readonly RGB: number | undefined;
|
|
2066
|
+
setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
|
|
2067
|
+
setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
|
|
2068
|
+
setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
|
|
2069
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
2070
|
+
readonly hexColor: string | undefined;
|
|
2071
|
+
readonly cssColor: string | undefined;
|
|
2072
|
+
colorIndex: number | undefined;
|
|
2073
|
+
readonly isByColor: boolean;
|
|
2074
|
+
readonly isByACI: boolean;
|
|
2075
|
+
readonly isForeground: boolean;
|
|
2076
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
2020
2077
|
readonly isByLayer: boolean;
|
|
2021
2078
|
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
2022
2079
|
readonly isByBlock: boolean;
|
|
@@ -2534,12 +2591,6 @@ export declare function useHover(): {
|
|
|
2534
2591
|
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbProgressdEventArgs) => void) => void;
|
|
2535
2592
|
dispatch: (payload?: import('@mlightcad/data-model').AcDbProgressdEventArgs | undefined, ...args: unknown[]) => void;
|
|
2536
2593
|
};
|
|
2537
|
-
headerSysVarChanged: {
|
|
2538
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbHeaderSysVarEventArgs) => void) => void;
|
|
2539
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbHeaderSysVarEventArgs) => void) => void;
|
|
2540
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbHeaderSysVarEventArgs) => void) => void;
|
|
2541
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcDbHeaderSysVarEventArgs | undefined, ...args: unknown[]) => void;
|
|
2542
|
-
};
|
|
2543
2594
|
};
|
|
2544
2595
|
readonly tables: {
|
|
2545
2596
|
readonly appIdTable: {
|
|
@@ -3392,6 +3443,7 @@ export declare function useHover(): {
|
|
|
3392
3443
|
};
|
|
3393
3444
|
insunits: number;
|
|
3394
3445
|
ltscale: number;
|
|
3446
|
+
lwdisplay: boolean;
|
|
3395
3447
|
cecolor: {
|
|
3396
3448
|
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
3397
3449
|
readonly red: number | undefined;
|
|
@@ -3407,6 +3459,8 @@ export declare function useHover(): {
|
|
|
3407
3459
|
colorIndex: number | undefined;
|
|
3408
3460
|
readonly isByColor: boolean;
|
|
3409
3461
|
readonly isByACI: boolean;
|
|
3462
|
+
readonly isForeground: boolean;
|
|
3463
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
3410
3464
|
readonly isByLayer: boolean;
|
|
3411
3465
|
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
3412
3466
|
readonly isByBlock: boolean;
|
|
@@ -3420,6 +3474,7 @@ export declare function useHover(): {
|
|
|
3420
3474
|
celtscale: number;
|
|
3421
3475
|
celweight: import('@mlightcad/data-model').AcGiLineWeight;
|
|
3422
3476
|
clayer: string;
|
|
3477
|
+
textstyle: string;
|
|
3423
3478
|
angBase: number;
|
|
3424
3479
|
angDir: number;
|
|
3425
3480
|
extmax: {
|
|
@@ -3877,6 +3932,7 @@ export declare function useHover(): {
|
|
|
3877
3932
|
};
|
|
3878
3933
|
pdmode: number;
|
|
3879
3934
|
pdsize: number;
|
|
3935
|
+
osmode: number;
|
|
3880
3936
|
read: (data: ArrayBuffer, options: import('@mlightcad/data-model').AcDbOpenDatabaseOptions, fileType?: import('@mlightcad/data-model').AcDbConverterType) => Promise<void>;
|
|
3881
3937
|
openUri: (url: string, options: import('@mlightcad/data-model').AcDbOpenDatabaseOptions) => Promise<void>;
|
|
3882
3938
|
regen: () => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHover.d.ts","sourceRoot":"","sources":["../../src/composable/useHover.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAGhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,wBAAgB,QAAQ
|
|
1
|
+
{"version":3,"file":"useHover.d.ts","sourceRoot":"","sources":["../../src/composable/useHover.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAGhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,wBAAgB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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export declare function useLayers(editor: AcApDocManager): {
|
|
|
19
20
|
layers: import('vue').Reactive<LayerInfo[]>;
|
|
20
21
|
currentLayerName: import('vue').WritableComputedRef<string, string>;
|
|
21
22
|
currentLayerInfo: import('vue').ComputedRef<LayerInfo | undefined>;
|
|
22
|
-
setLayerColor: (layerName: string,
|
|
23
|
+
setLayerColor: (layerName: string, color: AcCmColor) => void;
|
|
23
24
|
setLayerLineWeight: (layerName: string, lineWeight: number) => void;
|
|
24
25
|
};
|
|
25
26
|
//# sourceMappingURL=useLayers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLayers.d.ts","sourceRoot":"","sources":["../../src/composable/useLayers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"useLayers.d.ts","sourceRoot":"","sources":["../../src/composable/useLayers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAgB,MAAM,uBAAuB,CAAA;AAG/D,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,OAAO,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,cAAc;;;;+BAgFZ,MAAM,SAAS,SAAS;oCAOnB,MAAM,cAAc,MAAM;EAalE"}
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { AcApDocManager } from '@mlightcad/cad-simple-viewer';
|
|
2
|
+
import { AcDbColorTheme, AcDbDatabase } from '@mlightcad/data-model';
|
|
3
|
+
export declare const COLOR_THEME_SYSVAR_NAME: "COLORTHEME";
|
|
2
4
|
export interface SystemVariables {
|
|
3
5
|
pdmode?: number;
|
|
4
6
|
pdsize?: number;
|
|
7
|
+
colortheme?: AcDbColorTheme;
|
|
5
8
|
}
|
|
9
|
+
export declare function normalizeColorTheme(value: unknown): AcDbColorTheme;
|
|
10
|
+
export declare function getColorThemeFromDatabase(database: AcDbDatabase): AcDbColorTheme;
|
|
11
|
+
export declare function setColorThemeForDatabase(database: AcDbDatabase, theme: AcDbColorTheme): void;
|
|
6
12
|
export declare function useSystemVars(editor: AcApDocManager): {
|
|
7
13
|
pdmode?: number | undefined;
|
|
8
14
|
pdsize?: number | undefined;
|
|
15
|
+
colortheme?: AcDbColorTheme | undefined;
|
|
9
16
|
};
|
|
10
17
|
//# sourceMappingURL=useSystemVars.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSystemVars.d.ts","sourceRoot":"","sources":["../../src/composable/useSystemVars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"useSystemVars.d.ts","sourceRoot":"","sources":["../../src/composable/useSystemVars.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAC7D,OAAO,EACL,KAAK,cAAc,EACnB,YAAY,EAGb,MAAM,uBAAuB,CAAA;AAG9B,eAAO,MAAM,uBAAuB,cAAiC,CAAA;AAErE,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,cAAc,CAAA;CAC5B;AAYD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,cAAc,CAkBlE;AAED,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,YAAY,GACrB,cAAc,CAIhB;AAED,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,YAAY,EACtB,KAAK,EAAE,cAAc,QAOtB;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,cAAc;aAtDzC,MAAM;aACN,MAAM;iBACF,cAAc;EA+E5B"}
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";body{margin:0;display:flex}body,html{height:100%}html.dark{color-scheme:dark;--el-color-primary: #409eff;--el-color-primary-light-3: rgb(51, 117, 185);--el-color-primary-light-5: rgb(42, 89, 138);--el-color-primary-light-7: rgb(33, 61, 91);--el-color-primary-light-8: rgb(29, 48, 67);--el-color-primary-light-9: rgb(24, 34, 43);--el-color-primary-dark-2: rgb(102, 177, 255);--el-color-success: #67c23a;--el-color-success-light-3: rgb(78, 142, 47);--el-color-success-light-5: rgb(62, 107, 39);--el-color-success-light-7: rgb(45, 72, 31);--el-color-success-light-8: rgb(37, 55, 28);--el-color-success-light-9: rgb(28, 37, 24);--el-color-success-dark-2: rgb(133, 206, 97);--el-color-warning: #e6a23c;--el-color-warning-light-3: rgb(167, 119, 48);--el-color-warning-light-5: rgb(125, 91, 40);--el-color-warning-light-7: rgb(83, 63, 32);--el-color-warning-light-8: rgb(62, 48, 28);--el-color-warning-light-9: rgb(41, 34, 24);--el-color-warning-dark-2: rgb(235, 181, 99);--el-color-danger: #f56c6c;--el-color-danger-light-3: rgb(178, 82, 82);--el-color-danger-light-5: rgb(133, 64, 64);--el-color-danger-light-7: rgb(88, 46, 46);--el-color-danger-light-8: rgb(65, 38, 38);--el-color-danger-light-9: rgb(42, 29, 29);--el-color-danger-dark-2: rgb(247, 137, 137);--el-color-error: #f56c6c;--el-color-error-light-3: rgb(178, 82, 82);--el-color-error-light-5: rgb(133, 64, 64);--el-color-error-light-7: rgb(88, 46, 46);--el-color-error-light-8: rgb(65, 38, 38);--el-color-error-light-9: rgb(42, 29, 29);--el-color-error-dark-2: rgb(247, 137, 137);--el-color-info: #909399;--el-color-info-light-3: rgb(107, 109, 113);--el-color-info-light-5: rgb(82, 84, 87);--el-color-info-light-7: rgb(57, 58, 60);--el-color-info-light-8: rgb(45, 45, 47);--el-color-info-light-9: rgb(32, 33, 33);--el-color-info-dark-2: rgb(166, 169, 173);--el-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .36), 0px 8px 20px rgba(0, 0, 0, .72);--el-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .72);--el-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, .72);--el-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, .72), 0px 12px 32px #000000, 0px 8px 16px -8px #000000;--el-bg-color-page: #0a0a0a;--el-bg-color: #141414;--el-bg-color-overlay: #1d1e1f;--el-text-color-primary: #E5EAF3;--el-text-color-regular: #CFD3DC;--el-text-color-secondary: #A3A6AD;--el-text-color-placeholder: #8D9095;--el-text-color-disabled: #6C6E72;--el-border-color-darker: #636466;--el-border-color-dark: #58585B;--el-border-color: #4C4D4F;--el-border-color-light: #414243;--el-border-color-lighter: #363637;--el-border-color-extra-light: #2B2B2C;--el-fill-color-darker: #424243;--el-fill-color-dark: #39393A;--el-fill-color: #303030;--el-fill-color-light: #262727;--el-fill-color-lighter: #1D1D1D;--el-fill-color-extra-light: #191919;--el-fill-color-blank: #141414;--el-mask-color: rgba(0, 0, 0, .8);--el-mask-color-extra-light: rgba(0, 0, 0, .3)}html.dark .el-button{--el-button-disabled-text-color: rgba(255, 255, 255, .5)}html.dark .el-card{--el-card-bg-color: var(--el-bg-color-overlay)}html.dark .el-empty{--el-empty-fill-color-0: var(--el-color-black);--el-empty-fill-color-1: #4b4b52;--el-empty-fill-color-2: #36383d;--el-empty-fill-color-3: #1e1e20;--el-empty-fill-color-4: #262629;--el-empty-fill-color-5: #202124;--el-empty-fill-color-6: #212224;--el-empty-fill-color-7: #1b1c1f;--el-empty-fill-color-8: #1c1d1f;--el-empty-fill-color-9: #18181a}:root{--ml-status-bar-height: 30px}body{font-family:Inter,system-ui,Avenir,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0}a{color:var(--el-color-primary)}code{border-radius:2px;padding:2px 4px;background-color:var(--el-color-primary-light-9);color:var(--elcolor-primary)}.ml-base-dialog[data-v-23bef8c6]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2100;display:flex;align-items:center;justify-content:center}.ml-base-dialog-overlay[data-v-23bef8c6]{position:absolute;top:0;right:0;bottom:0;left:0;background-color:#0006}.ml-base-dialog-container[data-v-23bef8c6]{position:relative;z-index:1;--ml-dialog-font-size: 12px;--el-font-size-base: 12px;background:var(--el-bg-color);border:1px solid var(--el-border-color);border-radius:8px;box-shadow:0 4px 12px #00000026;display:flex;flex-direction:column;max-height:90vh;overflow:hidden}.ml-base-dialog-header[data-v-23bef8c6]{display:flex;align-items:center;justify-content:space-between;padding:2px 6px;height:24px;border-bottom:1px solid var(--el-border-color);background:var(--el-fill-color-light);position:relative}.ml-base-dialog-title[data-v-23bef8c6]{display:flex;align-items:center;gap:8px;font-weight:600;font-size:var(--ml-dialog-font-size);color:var(--el-text-color-primary)}.ml-base-dialog-icon-wrapper[data-v-23bef8c6]{display:flex;align-items:center;justify-content:center;width:16px;height:16px}.ml-base-dialog-icon[data-v-23bef8c6]{width:20px;height:20px;color:var(--el-color-primary)}.ml-base-dialog-actions[data-v-23bef8c6]{display:flex;align-items:center}.ml-base-dialog-close[data-v-23bef8c6]{position:absolute;top:50%;right:8px;transform:translateY(-50%);width:28px;height:28px;display:flex;align-items:center;justify-content:center}.ml-base-dialog-body[data-v-23bef8c6]{padding:16px;overflow-y:auto;flex:1;font-size:var(--ml-dialog-font-size)}.ml-base-dialog-footer[data-v-23bef8c6]{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--el-border-color);background:var(--el-bg-color);padding:4px 8px}.ml-base-dialog-footer[data-v-23bef8c6] .el-button{min-width:72px}.ml-base-draw-style-toolbar[data-v-9fba3d6f]{display:inline-flex}.ml-base-draw-style-color-indicator[data-v-9fba3d6f]{width:14px;height:14px;border-radius:50%;border:1px solid #666;display:inline-block}.ml-base-input-number[data-v-a79684a5]{display:flex;align-items:center;gap:.5rem}.ml-base-input-number__input[data-v-a79684a5]{flex:1}.ml-base-input-number__select[data-v-a79684a5]{width:80px}.ml-color-picker-dlg-panel-body[data-v-2f90d4a7]{display:flex;flex-direction:column;margin-top:12px}.ml-color-dropdown-color-item[data-v-694c38cc]{display:flex;align-items:center;gap:6px}.ml-color-dropdown-color-preview[data-v-694c38cc]{width:14px;height:14px;border:1px solid #aaa}.ml-color-dropdown-custom-icon[data-v-694c38cc]{font-size:16px}.ml-color-dropdown-color-name[data-v-694c38cc]{font-size:13px}.ml-aci-picker[data-v-1cb688ad]{font-size:12px;font-family:Arial}.ml-aci-palette[data-v-1cb688ad]{margin-bottom:6px}.ml-aci-palette-large[data-v-1cb688ad]{display:grid;grid-template-columns:repeat(24,1fr);gap:1px}.ml-aci-palette-gray[data-v-1cb688ad]{display:flex;align-items:center;justify-content:flex-start;gap:4px}.ml-aci-palette-small[data-v-1cb688ad]{display:grid;grid-template-columns:repeat(9,1fr);gap:1px}.ml-aci-small-row[data-v-1cb688ad]{display:flex;align-items:center;justify-content:space-between;gap:8px}.ml-aci-small-actions[data-v-1cb688ad]{display:flex;flex-direction:row;gap:4px;margin-left:auto}.ml-aci-small-actions button[data-v-1cb688ad]{font-size:11px;padding:2px 6px}.ml-aci-color-cell[data-v-1cb688ad]{width:10px;height:10px;border:1px solid #999;cursor:pointer}.ml-aci-color-cell[data-v-1cb688ad]:hover{outline:1px solid #00a8ff}.ml-aci-info-row[data-v-1cb688ad]{display:flex;align-items:center;justify-content:space-between;margin:4px 0}.ml-aci-info-left[data-v-1cb688ad]{text-align:left}.ml-aci-info-right[data-v-1cb688ad]{text-align:right}.ml-aci-bottom-row[data-v-1cb688ad]{display:flex;align-items:stretch;justify-content:flex-start;gap:8px;margin-top:4px}.ml-aci-bottom-left[data-v-1cb688ad]{flex:1;display:flex;flex-direction:column;gap:2px}.ml-aci-input-row[data-v-1cb688ad]{margin-top:4px;display:flex;align-items:center;gap:6px}.ml-aci-preview-box[data-v-1cb688ad]{width:32px;min-width:32px;margin-left:auto;align-self:stretch;border:1px solid #666}.ml-lineweight-btn[data-v-43c8202f]{display:flex;align-items:center;gap:6px}.ml-lineweight-caret[data-v-43c8202f]{font-size:12px}.ml-lineweight-menu[data-v-43c8202f]{padding:4px 0;max-height:260px;overflow-y:auto}.ml-lineweight-item[data-v-43c8202f]{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:160px}.ml-lineweight-text[data-v-43c8202f],.ml-lineweight-label[data-v-43c8202f]{font-size:13px}.ml-lineweight-preview[data-v-43c8202f]{width:40px;background-color:currentColor;border-radius:2px}.ml-lineweight-preview--btn[data-v-43c8202f]{width:32px}.ml-toggle-button[data-v-5879105c]{border:none;padding:0;cursor:pointer;width:var(--c171ad2e);height:var(--c171ad2e)}[data-v-568da396] .el-table__placeholder{width:0px}[data-v-568da396] .el-table .cell{display:flex}[data-v-568da396] .ml-cell-value>*{width:100%}.ml-entity-properties[data-v-568da396]{padding:5px}.ml-entity-properties-table[data-v-568da396]{width:100%}.ml-cell-container[data-v-568da396]{display:flex;align-items:center;line-height:1}.ml-cell-label[data-v-568da396]{font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-group-row[data-v-568da396]{font-weight:600}.ml-cell-value[data-v-568da396]{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-readonly-value[data-v-568da396]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-no-entity-selected[data-v-568da396]{display:flex;justify-content:center;align-items:center;text-align:center;font-style:italic;font-size:.875rem;padding:.5rem}.ml-layer-list{width:100%;font-size:small;min-width:100%}.ml-layer-list .el-table__cell{padding-top:2px;padding-bottom:2px}.ml-layer-list .el-table__header .el-table__cell{padding-top:4px;padding-bottom:4px}.ml-layer-list .el-table__header,.ml-layer-list .el-table__body{border-bottom:1px solid var(--el-border-color)}.ml-layer-list-cell{display:flex;align-items:center;justify-content:center}.ml-layer-list-color{width:20px;height:20px}.ml-layer-manager[data-v-c34cbb81]{left:2px;top:55px;width:400px;height:500px}.ml-layer-list-wrapper[data-v-c34cbb81]{overflow:auto;width:100%;display:flex;align-items:flex-start;justify-content:flex-start}.ml-entity-info[data-v-6c80b27c]{position:fixed;left:var(--92de4484);top:var(--46cd1e84);width:180px;margin:0;transition:none!important}.ml-entity-info-title[data-v-6c80b27c]{font-weight:700}.ml-entity-info-text[data-v-6c80b27c]{margin-bottom:6px;margin-top:6px}.ml-language-selector[data-v-5219aeaa]{position:fixed;right:40px;top:20px;z-index:1000}.ml-layer-draw-style-layer-button[data-v-3391211d]{min-width:100px;display:flex;align-items:center}.ml-layer-draw-style-layer-name[data-v-3391211d]{flex:1;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ml-dropdown-caret[data-v-3391211d]{margin-left:8px;font-size:12px;opacity:.7}.ml-layer-draw-style-layer-dropdown[data-v-3391211d]{max-height:260px;overflow-y:auto}.ml-layer-draw-style-layer-item-name[data-v-3391211d]{vertical-align:middle}.el-dropdown-menu__item.is-active[data-v-3391211d]{font-weight:600;background-color:var(--el-fill-color-light)}.ml-main-menu-container[data-v-8b2d5d95]{position:fixed;left:40px;top:20px;z-index:1000}.ml-main-menu-icon[data-v-8b2d5d95],.ml-main-menu-icon[data-v-8b2d5d95]:hover{outline:none;border:none}.ml-vertical-toolbar-container{position:fixed;right:30px;top:50%;transform:translateY(-50%)}.ml-notification-item[data-v-8ce88f8a]{display:flex;gap:12px;padding:12px 16px;border-bottom:1px solid var(--el-border-color-lighter);transition:background-color .2s ease}.ml-notification-item[data-v-8ce88f8a]:hover{background-color:var(--el-fill-color-light)}.ml-notification-item[data-v-8ce88f8a]:last-child{border-bottom:none}.ml-notification-item-icon[data-v-8ce88f8a]{flex-shrink:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;margin-top:2px}.ml-notification-item--info .ml-notification-item-icon[data-v-8ce88f8a]{color:var(--el-color-info)}.ml-notification-item--warning .ml-notification-item-icon[data-v-8ce88f8a]{color:var(--el-color-warning)}.ml-notification-item--error .ml-notification-item-icon[data-v-8ce88f8a]{color:var(--el-color-danger)}.ml-notification-item--success .ml-notification-item-icon[data-v-8ce88f8a]{color:var(--el-color-success)}.ml-notification-item-content[data-v-8ce88f8a]{flex:1;min-width:0}.ml-notification-item-header[data-v-8ce88f8a]{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:4px}.ml-notification-item-title[data-v-8ce88f8a]{margin:0;font-size:14px;font-weight:600;color:var(--el-text-color-primary);line-height:1.4;flex:1}.ml-notification-item-actions[data-v-8ce88f8a]{display:flex;align-items:center;gap:8px;flex-shrink:0}.ml-notification-item-message[data-v-8ce88f8a]{margin:0 0 8px;font-size:13px;color:var(--el-text-color-regular);line-height:1.4;word-wrap:break-word}.ml-notification-item-footer[data-v-8ce88f8a]{display:flex;align-items:center;justify-content:flex-end}.ml-notification-item-time[data-v-8ce88f8a]{font-size:12px;color:var(--el-text-color-secondary)}.dark .ml-notification-item[data-v-8ce88f8a]:hover{background-color:var(--el-fill-color-darker)}.ml-notification-center[data-v-cd4c651f]{position:fixed;bottom:calc(var(--ml-status-bar-height) + 20px);right:0;width:400px;max-width:100vw;box-sizing:border-box;max-height:500px;background:var(--el-bg-color);border:1px solid var(--el-border-color);border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:2000;display:flex;flex-direction:column;overflow:hidden}.ml-notification-center-header[data-v-cd4c651f]{display:flex;align-items:center;justify-content:space-between;padding:5px;height:30px;border-bottom:1px solid var(--el-border-color);background:var(--el-fill-color-light);position:relative}.ml-notification-center-title[data-v-cd4c651f]{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px;color:var(--el-text-color-primary)}.ml-notification-center-icon[data-v-cd4c651f]{color:var(--el-color-primary)}.ml-notification-center-actions[data-v-cd4c651f]{display:flex;align-items:center;gap:8px;margin-right:36px}.ml-notification-center-close[data-v-cd4c651f]{position:absolute;top:50%;right:8px;transform:translateY(-50%);padding:4px;min-width:auto;width:28px;height:28px;display:flex;align-items:center;justify-content:center}.ml-notification-center-clear[data-v-cd4c651f]{width:28px;height:28px;padding:0;display:flex;align-items:center;justify-content:center}.ml-notification-center-clear[data-v-cd4c651f] .el-icon{font-size:16px}.ml-notification-center-content[data-v-cd4c651f]{flex:1;overflow-y:auto;max-height:400px}.ml-notification-center-empty[data-v-cd4c651f]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center;color:var(--el-text-color-secondary)}.ml-notification-center-empty-icon[data-v-cd4c651f]{font-size:48px;margin-bottom:16px;opacity:.5}.ml-notification-center-empty p[data-v-cd4c651f]{margin:0;font-size:14px}.ml-notification-list[data-v-cd4c651f]{padding:8px 0}.dark .ml-notification-center[data-v-cd4c651f]{background:var(--el-bg-color-page);border-color:var(--el-border-color)}.dark .ml-notification-center-header[data-v-cd4c651f]{background:var(--el-fill-color-darker)}.ml-notification-button[data-v-46fa6383]{border:none;padding:0;cursor:pointer;width:30px;position:relative}.ml-notification-badge[data-v-46fa6383]{position:absolute;top:-2px;right:-2px}.ml-notification-badge[data-v-46fa6383] .el-badge__content{font-size:10px;min-width:16px;height:16px;line-height:16px;padding:0 4px}.ml-osnap-setting-button[data-v-372c3649],.ml-point-style-button[data-v-fa98355b]{border:none;padding:0;cursor:pointer;width:30px}.ml-progress[data-v-6b45cf71]{width:100px}.ml-setting-button[data-v-1e137e77],.ml-warning-button[data-v-53fa8f43]{border:none;padding:0;cursor:pointer;width:30px}.ml-status-bar[data-v-b5230a4b]{box-sizing:border-box}.ml-status-bar-left-button-group[data-v-b5230a4b]{border:none;box-sizing:border-box;height:var(--ml-status-bar-height)}.ml-status-bar-layout-button[data-v-b5230a4b]{box-sizing:border-box}.ml-status-bar-right-button-group[data-v-b5230a4b]{border:none;padding:0;height:var(--ml-status-bar-height)}.ml-status-bar-current-pos[data-v-b5230a4b]{border:none;height:100%}.ml-cad-container{position:absolute;top:0;left:0;height:calc(100vh - var(--ml-status-bar-height));width:100%;display:block;outline:none;z-index:1;pointer-events:auto}.ml-cad-viewer-container{position:relative;width:100vw;z-index:2;pointer-events:auto}.ml-file-name{position:absolute;top:0;left:50%;color:var(--el-text-color-regular);transform:translate(-50%);text-align:center;width:100%;margin-top:20px;pointer-events:none;z-index:1}.ml-rev-tool-bar{position:absolute;top:0;left:50%;transform:translate(-50%);margin-top:20px;z-index:2}
|
|
1
|
+
@charset "UTF-8";body{margin:0;display:flex}body,html{height:100%}html.dark{color-scheme:dark;--el-color-primary: #409eff;--el-color-primary-light-3: rgb(51, 117, 185);--el-color-primary-light-5: rgb(42, 89, 138);--el-color-primary-light-7: rgb(33, 61, 91);--el-color-primary-light-8: rgb(29, 48, 67);--el-color-primary-light-9: rgb(24, 34, 43);--el-color-primary-dark-2: rgb(102, 177, 255);--el-color-success: #67c23a;--el-color-success-light-3: rgb(78, 142, 47);--el-color-success-light-5: rgb(62, 107, 39);--el-color-success-light-7: rgb(45, 72, 31);--el-color-success-light-8: rgb(37, 55, 28);--el-color-success-light-9: rgb(28, 37, 24);--el-color-success-dark-2: rgb(133, 206, 97);--el-color-warning: #e6a23c;--el-color-warning-light-3: rgb(167, 119, 48);--el-color-warning-light-5: rgb(125, 91, 40);--el-color-warning-light-7: rgb(83, 63, 32);--el-color-warning-light-8: rgb(62, 48, 28);--el-color-warning-light-9: rgb(41, 34, 24);--el-color-warning-dark-2: rgb(235, 181, 99);--el-color-danger: #f56c6c;--el-color-danger-light-3: rgb(178, 82, 82);--el-color-danger-light-5: rgb(133, 64, 64);--el-color-danger-light-7: rgb(88, 46, 46);--el-color-danger-light-8: rgb(65, 38, 38);--el-color-danger-light-9: rgb(42, 29, 29);--el-color-danger-dark-2: rgb(247, 137, 137);--el-color-error: #f56c6c;--el-color-error-light-3: rgb(178, 82, 82);--el-color-error-light-5: rgb(133, 64, 64);--el-color-error-light-7: rgb(88, 46, 46);--el-color-error-light-8: rgb(65, 38, 38);--el-color-error-light-9: rgb(42, 29, 29);--el-color-error-dark-2: rgb(247, 137, 137);--el-color-info: #909399;--el-color-info-light-3: rgb(107, 109, 113);--el-color-info-light-5: rgb(82, 84, 87);--el-color-info-light-7: rgb(57, 58, 60);--el-color-info-light-8: rgb(45, 45, 47);--el-color-info-light-9: rgb(32, 33, 33);--el-color-info-dark-2: rgb(166, 169, 173);--el-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .36), 0px 8px 20px rgba(0, 0, 0, .72);--el-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .72);--el-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, .72);--el-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, .72), 0px 12px 32px #000000, 0px 8px 16px -8px #000000;--el-bg-color-page: #0a0a0a;--el-bg-color: #141414;--el-bg-color-overlay: #1d1e1f;--el-text-color-primary: #E5EAF3;--el-text-color-regular: #CFD3DC;--el-text-color-secondary: #A3A6AD;--el-text-color-placeholder: #8D9095;--el-text-color-disabled: #6C6E72;--el-border-color-darker: #636466;--el-border-color-dark: #58585B;--el-border-color: #4C4D4F;--el-border-color-light: #414243;--el-border-color-lighter: #363637;--el-border-color-extra-light: #2B2B2C;--el-fill-color-darker: #424243;--el-fill-color-dark: #39393A;--el-fill-color: #303030;--el-fill-color-light: #262727;--el-fill-color-lighter: #1D1D1D;--el-fill-color-extra-light: #191919;--el-fill-color-blank: #141414;--el-mask-color: rgba(0, 0, 0, .8);--el-mask-color-extra-light: rgba(0, 0, 0, .3)}html.dark .el-button{--el-button-disabled-text-color: rgba(255, 255, 255, .5)}html.dark .el-card{--el-card-bg-color: var(--el-bg-color-overlay)}html.dark .el-empty{--el-empty-fill-color-0: var(--el-color-black);--el-empty-fill-color-1: #4b4b52;--el-empty-fill-color-2: #36383d;--el-empty-fill-color-3: #1e1e20;--el-empty-fill-color-4: #262629;--el-empty-fill-color-5: #202124;--el-empty-fill-color-6: #212224;--el-empty-fill-color-7: #1b1c1f;--el-empty-fill-color-8: #1c1d1f;--el-empty-fill-color-9: #18181a}:root{--ml-status-bar-height: 30px}body{font-family:Inter,system-ui,Avenir,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0}a{color:var(--el-color-primary)}code{border-radius:2px;padding:2px 4px;background-color:var(--el-color-primary-light-9);color:var(--elcolor-primary)}.ml-aci-picker[data-v-1cb688ad]{font-size:12px;font-family:Arial}.ml-aci-palette[data-v-1cb688ad]{margin-bottom:6px}.ml-aci-palette-large[data-v-1cb688ad]{display:grid;grid-template-columns:repeat(24,1fr);gap:1px}.ml-aci-palette-gray[data-v-1cb688ad]{display:flex;align-items:center;justify-content:flex-start;gap:4px}.ml-aci-palette-small[data-v-1cb688ad]{display:grid;grid-template-columns:repeat(9,1fr);gap:1px}.ml-aci-small-row[data-v-1cb688ad]{display:flex;align-items:center;justify-content:space-between;gap:8px}.ml-aci-small-actions[data-v-1cb688ad]{display:flex;flex-direction:row;gap:4px;margin-left:auto}.ml-aci-small-actions button[data-v-1cb688ad]{font-size:11px;padding:2px 6px}.ml-aci-color-cell[data-v-1cb688ad]{width:10px;height:10px;border:1px solid #999;cursor:pointer}.ml-aci-color-cell[data-v-1cb688ad]:hover{outline:1px solid #00a8ff}.ml-aci-info-row[data-v-1cb688ad]{display:flex;align-items:center;justify-content:space-between;margin:4px 0}.ml-aci-info-left[data-v-1cb688ad]{text-align:left}.ml-aci-info-right[data-v-1cb688ad]{text-align:right}.ml-aci-bottom-row[data-v-1cb688ad]{display:flex;align-items:stretch;justify-content:flex-start;gap:8px;margin-top:4px}.ml-aci-bottom-left[data-v-1cb688ad]{flex:1;display:flex;flex-direction:column;gap:2px}.ml-aci-input-row[data-v-1cb688ad]{margin-top:4px;display:flex;align-items:center;gap:6px}.ml-aci-preview-box[data-v-1cb688ad]{width:32px;min-width:32px;margin-left:auto;align-self:stretch;border:1px solid #666}.ml-color-picker-tabs-panel-body[data-v-80b8ea66]{display:flex;flex-direction:column;margin-top:12px}.ml-color-picker-dropdown[data-v-b8d8f88e]{min-width:40px;width:100%;height:100%;display:flex;align-items:center;justify-content:center;line-height:0}.ml-color-picker-dropdown-popper[data-v-b8d8f88e]{padding:0}.ml-color-picker-dropdown-trigger[data-v-b8d8f88e]{width:100%;height:100%;border:0;outline:0;background:transparent;padding:0;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;align-items:center;justify-content:center;line-height:0;cursor:pointer}.ml-color-picker-dropdown-trigger[data-v-b8d8f88e]:disabled{cursor:not-allowed;opacity:.6}.ml-color-picker-dropdown-indicator[data-v-b8d8f88e]{width:14px;height:14px;border-radius:50%;border:1px solid #666;display:block}.ml-base-dialog[data-v-23bef8c6]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2100;display:flex;align-items:center;justify-content:center}.ml-base-dialog-overlay[data-v-23bef8c6]{position:absolute;top:0;right:0;bottom:0;left:0;background-color:#0006}.ml-base-dialog-container[data-v-23bef8c6]{position:relative;z-index:1;--ml-dialog-font-size: 12px;--el-font-size-base: 12px;background:var(--el-bg-color);border:1px solid var(--el-border-color);border-radius:8px;box-shadow:0 4px 12px #00000026;display:flex;flex-direction:column;max-height:90vh;overflow:hidden}.ml-base-dialog-header[data-v-23bef8c6]{display:flex;align-items:center;justify-content:space-between;padding:2px 6px;height:24px;border-bottom:1px solid var(--el-border-color);background:var(--el-fill-color-light);position:relative}.ml-base-dialog-title[data-v-23bef8c6]{display:flex;align-items:center;gap:8px;font-weight:600;font-size:var(--ml-dialog-font-size);color:var(--el-text-color-primary)}.ml-base-dialog-icon-wrapper[data-v-23bef8c6]{display:flex;align-items:center;justify-content:center;width:16px;height:16px}.ml-base-dialog-icon[data-v-23bef8c6]{width:20px;height:20px;color:var(--el-color-primary)}.ml-base-dialog-actions[data-v-23bef8c6]{display:flex;align-items:center}.ml-base-dialog-close[data-v-23bef8c6]{position:absolute;top:50%;right:8px;transform:translateY(-50%);width:28px;height:28px;display:flex;align-items:center;justify-content:center}.ml-base-dialog-body[data-v-23bef8c6]{padding:16px;overflow-y:auto;flex:1;font-size:var(--ml-dialog-font-size)}.ml-base-dialog-footer[data-v-23bef8c6]{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--el-border-color);background:var(--el-bg-color);padding:4px 8px}.ml-base-dialog-footer[data-v-23bef8c6] .el-button{min-width:72px}.ml-base-draw-style-toolbar[data-v-c11abf2e]{display:inline-flex}.ml-base-draw-style-color-indicator[data-v-c11abf2e]{width:14px;height:14px;border-radius:50%;border:1px solid #666;display:inline-block}.ml-base-input-number[data-v-a79684a5]{display:flex;align-items:center;gap:.5rem}.ml-base-input-number__input[data-v-a79684a5]{flex:1}.ml-base-input-number__select[data-v-a79684a5]{width:80px}.ml-color-dropdown-color-item[data-v-694c38cc]{display:flex;align-items:center;gap:6px}.ml-color-dropdown-color-preview[data-v-694c38cc]{width:14px;height:14px;border:1px solid #aaa}.ml-color-dropdown-custom-icon[data-v-694c38cc]{font-size:16px}.ml-color-dropdown-color-name[data-v-694c38cc]{font-size:13px}.ml-lineweight-btn[data-v-43c8202f]{display:flex;align-items:center;gap:6px}.ml-lineweight-caret[data-v-43c8202f]{font-size:12px}.ml-lineweight-menu[data-v-43c8202f]{padding:4px 0;max-height:260px;overflow-y:auto}.ml-lineweight-item[data-v-43c8202f]{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:160px}.ml-lineweight-text[data-v-43c8202f],.ml-lineweight-label[data-v-43c8202f]{font-size:13px}.ml-lineweight-preview[data-v-43c8202f]{width:40px;background-color:currentColor;border-radius:2px}.ml-lineweight-preview--btn[data-v-43c8202f]{width:32px}.ml-toggle-button[data-v-5879105c]{border:none;padding:0;cursor:pointer;width:var(--c171ad2e);height:var(--c171ad2e)}[data-v-1dc1836d] .el-table__placeholder{width:0px}[data-v-1dc1836d] .el-table .cell{display:flex}[data-v-1dc1836d] .ml-cell-value>*{width:100%}.ml-entity-properties[data-v-1dc1836d]{padding:5px}.ml-entity-properties-table[data-v-1dc1836d]{width:100%}.ml-cell-container[data-v-1dc1836d]{display:flex;align-items:center;line-height:1}.ml-cell-label[data-v-1dc1836d]{font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-group-row[data-v-1dc1836d]{font-weight:600}.ml-cell-value[data-v-1dc1836d]{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-readonly-value[data-v-1dc1836d]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml-no-entity-selected[data-v-1dc1836d]{display:flex;justify-content:center;align-items:center;text-align:center;font-style:italic;font-size:.875rem;padding:.5rem}.ml-layer-list{width:100%;font-size:small;min-width:100%}.ml-layer-list .el-table__cell{padding-top:2px;padding-bottom:2px}.ml-layer-list .el-table__header .el-table__cell{padding-top:4px;padding-bottom:4px}.ml-layer-list .el-table__header,.ml-layer-list .el-table__body{border-bottom:1px solid var(--el-border-color)}.ml-layer-list-cell,.ml-layer-list-header-toggle{display:flex;align-items:center;justify-content:center}.ml-layer-list-color{width:20px;height:20px}.ml-layer-manager[data-v-c34cbb81]{left:2px;top:55px;width:400px;height:500px}.ml-layer-list-wrapper[data-v-c34cbb81]{overflow:auto;width:100%;display:flex;align-items:flex-start;justify-content:flex-start}.ml-entity-info[data-v-6c80b27c]{position:fixed;left:var(--92de4484);top:var(--46cd1e84);width:180px;margin:0;transition:none!important}.ml-entity-info-title[data-v-6c80b27c]{font-weight:700}.ml-entity-info-text[data-v-6c80b27c]{margin-bottom:6px;margin-top:6px}.ml-language-selector[data-v-5219aeaa]{position:fixed;right:40px;top:20px;z-index:1000}.ml-layer-draw-style-layer-button[data-v-1a94c502]{min-width:100px;display:flex;align-items:center}.ml-layer-draw-style-layer-name[data-v-1a94c502]{flex:1;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ml-dropdown-caret[data-v-1a94c502]{margin-left:8px;font-size:12px;opacity:.7}.ml-layer-draw-style-layer-dropdown[data-v-1a94c502]{max-height:260px;overflow-y:auto}.ml-layer-draw-style-layer-item-name[data-v-1a94c502]{vertical-align:middle}.el-dropdown-menu__item.is-active[data-v-1a94c502]{font-weight:600;background-color:var(--el-fill-color-light)}.ml-main-menu-container[data-v-8b2d5d95]{position:fixed;left:40px;top:20px;z-index:1000}.ml-main-menu-icon[data-v-8b2d5d95],.ml-main-menu-icon[data-v-8b2d5d95]:hover{outline:none;border:none}.ml-vertical-toolbar-container{position:fixed;right:30px;top:50%;transform:translateY(-50%)}.ml-notification-item[data-v-8ce88f8a]{display:flex;gap:12px;padding:12px 16px;border-bottom:1px solid var(--el-border-color-lighter);transition:background-color .2s ease}.ml-notification-item[data-v-8ce88f8a]:hover{background-color:var(--el-fill-color-light)}.ml-notification-item[data-v-8ce88f8a]:last-child{border-bottom:none}.ml-notification-item-icon[data-v-8ce88f8a]{flex-shrink:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;margin-top:2px}.ml-notification-item--info .ml-notification-item-icon[data-v-8ce88f8a]{color:var(--el-color-info)}.ml-notification-item--warning .ml-notification-item-icon[data-v-8ce88f8a]{color:var(--el-color-warning)}.ml-notification-item--error .ml-notification-item-icon[data-v-8ce88f8a]{color:var(--el-color-danger)}.ml-notification-item--success .ml-notification-item-icon[data-v-8ce88f8a]{color:var(--el-color-success)}.ml-notification-item-content[data-v-8ce88f8a]{flex:1;min-width:0}.ml-notification-item-header[data-v-8ce88f8a]{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:4px}.ml-notification-item-title[data-v-8ce88f8a]{margin:0;font-size:14px;font-weight:600;color:var(--el-text-color-primary);line-height:1.4;flex:1}.ml-notification-item-actions[data-v-8ce88f8a]{display:flex;align-items:center;gap:8px;flex-shrink:0}.ml-notification-item-message[data-v-8ce88f8a]{margin:0 0 8px;font-size:13px;color:var(--el-text-color-regular);line-height:1.4;word-wrap:break-word}.ml-notification-item-footer[data-v-8ce88f8a]{display:flex;align-items:center;justify-content:flex-end}.ml-notification-item-time[data-v-8ce88f8a]{font-size:12px;color:var(--el-text-color-secondary)}.dark .ml-notification-item[data-v-8ce88f8a]:hover{background-color:var(--el-fill-color-darker)}.ml-notification-center[data-v-cd4c651f]{position:fixed;bottom:calc(var(--ml-status-bar-height) + 20px);right:0;width:400px;max-width:100vw;box-sizing:border-box;max-height:500px;background:var(--el-bg-color);border:1px solid var(--el-border-color);border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:2000;display:flex;flex-direction:column;overflow:hidden}.ml-notification-center-header[data-v-cd4c651f]{display:flex;align-items:center;justify-content:space-between;padding:5px;height:30px;border-bottom:1px solid var(--el-border-color);background:var(--el-fill-color-light);position:relative}.ml-notification-center-title[data-v-cd4c651f]{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px;color:var(--el-text-color-primary)}.ml-notification-center-icon[data-v-cd4c651f]{color:var(--el-color-primary)}.ml-notification-center-actions[data-v-cd4c651f]{display:flex;align-items:center;gap:8px;margin-right:36px}.ml-notification-center-close[data-v-cd4c651f]{position:absolute;top:50%;right:8px;transform:translateY(-50%);padding:4px;min-width:auto;width:28px;height:28px;display:flex;align-items:center;justify-content:center}.ml-notification-center-clear[data-v-cd4c651f]{width:28px;height:28px;padding:0;display:flex;align-items:center;justify-content:center}.ml-notification-center-clear[data-v-cd4c651f] .el-icon{font-size:16px}.ml-notification-center-content[data-v-cd4c651f]{flex:1;overflow-y:auto;max-height:400px}.ml-notification-center-empty[data-v-cd4c651f]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center;color:var(--el-text-color-secondary)}.ml-notification-center-empty-icon[data-v-cd4c651f]{font-size:48px;margin-bottom:16px;opacity:.5}.ml-notification-center-empty p[data-v-cd4c651f]{margin:0;font-size:14px}.ml-notification-list[data-v-cd4c651f]{padding:8px 0}.dark .ml-notification-center[data-v-cd4c651f]{background:var(--el-bg-color-page);border-color:var(--el-border-color)}.dark .ml-notification-center-header[data-v-cd4c651f]{background:var(--el-fill-color-darker)}.ml-notification-button[data-v-46fa6383]{border:none;padding:0;cursor:pointer;width:30px;position:relative}.ml-notification-badge[data-v-46fa6383]{position:absolute;top:-2px;right:-2px}.ml-notification-badge[data-v-46fa6383] .el-badge__content{font-size:10px;min-width:16px;height:16px;line-height:16px;padding:0 4px}.ml-osnap-setting-button[data-v-372c3649],.ml-point-style-button[data-v-fa98355b]{border:none;padding:0;cursor:pointer;width:30px}.ml-progress[data-v-6b45cf71]{width:100px}.ml-setting-button[data-v-1e137e77],.ml-warning-button[data-v-53fa8f43]{border:none;padding:0;cursor:pointer;width:30px}.ml-status-bar[data-v-b5230a4b]{box-sizing:border-box}.ml-status-bar-left-button-group[data-v-b5230a4b]{border:none;box-sizing:border-box;height:var(--ml-status-bar-height)}.ml-status-bar-layout-button[data-v-b5230a4b]{box-sizing:border-box}.ml-status-bar-right-button-group[data-v-b5230a4b]{border:none;padding:0;height:var(--ml-status-bar-height)}.ml-status-bar-current-pos[data-v-b5230a4b]{border:none;height:100%}.ml-cad-container{position:absolute;top:0;left:0;height:calc(100vh - var(--ml-status-bar-height));width:100%;display:block;outline:none;z-index:1;pointer-events:auto}.ml-cad-viewer-container{position:relative;width:100vw;z-index:2;pointer-events:auto}.ml-file-name{position:fixed;top:20px;left:50%;color:var(--el-text-color-regular);transform:translate(-50%);text-align:center;pointer-events:none;z-index:3}.ml-rev-tool-bar{position:absolute;top:0;left:50%;transform:translate(-50%);margin-top:20px;z-index:2}
|