@mlightcad/cad-viewer 1.2.5 → 1.3.1

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.
Files changed (39) hide show
  1. package/README.md +1 -0
  2. package/dist/component/MlCadViewer.vue.d.ts +5 -0
  3. package/dist/component/MlCadViewer.vue.d.ts.map +1 -1
  4. package/dist/component/common/MlBaseDialog.vue.d.ts.map +1 -1
  5. package/dist/component/common/MlColorDropdown.vue.d.ts +22 -0
  6. package/dist/component/common/MlColorDropdown.vue.d.ts.map +1 -0
  7. package/dist/component/common/MlColorIndexPicker.vue.d.ts +19 -0
  8. package/dist/component/common/MlColorIndexPicker.vue.d.ts.map +1 -0
  9. package/dist/component/common/index.d.ts +2 -0
  10. package/dist/component/common/index.d.ts.map +1 -1
  11. package/dist/component/dialog/MlColorPickerDlg.vue.d.ts +29 -0
  12. package/dist/component/dialog/MlColorPickerDlg.vue.d.ts.map +1 -0
  13. package/dist/component/dialog/index.d.ts +2 -1
  14. package/dist/component/dialog/index.d.ts.map +1 -1
  15. package/dist/component/palette/MlEntityProperties.vue.d.ts.map +1 -1
  16. package/dist/component/palette/MlLayerList.vue.d.ts +5 -4
  17. package/dist/component/palette/MlLayerList.vue.d.ts.map +1 -1
  18. package/dist/component/palette/MlPaletteManager.vue.d.ts.map +1 -1
  19. package/dist/component/statusBar/MlStatusBar.vue.d.ts +15 -2
  20. package/dist/component/statusBar/MlStatusBar.vue.d.ts.map +1 -1
  21. package/dist/component/statusBar/MlThemeButton.vue.d.ts +14 -1
  22. package/dist/component/statusBar/MlThemeButton.vue.d.ts.map +1 -1
  23. package/dist/composable/useHover.d.ts +174 -70
  24. package/dist/composable/useHover.d.ts.map +1 -1
  25. package/dist/composable/useLayers.d.ts +4 -1
  26. package/dist/composable/useLayers.d.ts.map +1 -1
  27. package/dist/composable/useLocale.d.ts +19 -3
  28. package/dist/composable/useLocale.d.ts.map +1 -1
  29. package/dist/index.css +1 -1
  30. package/dist/index.js +2389 -1949
  31. package/dist/locale/en/dialog.d.ts +5 -0
  32. package/dist/locale/en/dialog.d.ts.map +1 -1
  33. package/dist/locale/en/main.d.ts +10 -0
  34. package/dist/locale/en/main.d.ts.map +1 -1
  35. package/dist/locale/zh/dialog.d.ts +5 -0
  36. package/dist/locale/zh/dialog.d.ts.map +1 -1
  37. package/dist/locale/zh/main.d.ts +10 -0
  38. package/dist/locale/zh/main.d.ts.map +1 -1
  39. package/package.json +10 -9
package/README.md CHANGED
@@ -189,6 +189,7 @@ The `MlCadViewer` component accepts the following props:
189
189
  | `background` | `number` | `undefined` | Background color as 24-bit hexadecimal RGB (e.g., `0x000000` for black, `0x808080` for gray). |
190
190
  | `baseUrl` | `string` | `undefined` | Base URL for loading fonts, templates, and example files. This URL is used by the CAD viewer to load resources like fonts and drawing templates. **Note**: If not provided, uses the default URL. |
191
191
  | `useMainThreadDraw` | `boolean` | `false` | Optional flag whether to use main thread or webwork to render drawing. The true value means using main thread to render drawing. This approach take less memory and take longer time to show rendering results. The false value means using web worker to render drawing. This approach take more memory and take shorter time to show rendering results. |
192
+ | `theme` | `'light' \| 'dark'` | `'dark'` | Initial theme of the CAD viewer. `'light'` applies the light theme (`ml-theme-light` class) and `'dark'` applies the dark theme (`ml-theme-dark` class). The theme can also be toggled at runtime using the status bar theme button. |
192
193
 
193
194
  ### UI Settings
194
195
 
@@ -16,6 +16,8 @@ interface Props {
16
16
  * - false: use web worker
17
17
  */
18
18
  useMainThreadDraw?: boolean;
19
+ /** Initial theme of the viewer */
20
+ theme?: 'light' | 'dark';
19
21
  }
20
22
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
21
23
  locale: string;
@@ -24,6 +26,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
24
26
  background: undefined;
25
27
  baseUrl: undefined;
26
28
  useMainThreadDraw: boolean;
29
+ theme: string;
27
30
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
28
31
  locale: string;
29
32
  url: undefined;
@@ -31,9 +34,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
31
34
  background: undefined;
32
35
  baseUrl: undefined;
33
36
  useMainThreadDraw: boolean;
37
+ theme: string;
34
38
  }>>> & Readonly<{}>, {
35
39
  locale: LocaleProp;
36
40
  url: string;
41
+ theme: "light" | "dark";
37
42
  localFile: File;
38
43
  background: number;
39
44
  baseUrl: string;
@@ -1 +1 @@
1
- {"version":3,"file":"MlCadViewer.vue.d.ts","sourceRoot":"","sources":["../../src/component/MlCadViewer.vue"],"names":[],"mappings":"AA0CA;AAogBA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAatC,UAAU,KAAK;IACb,0EAA0E;IAC1E,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,uEAAuE;IACvE,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,qFAAqF;IACrF,SAAS,CAAC,EAAE,IAAI,CAAA;IAChB,yEAAyE;IACzE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uGAAuG;IACvG,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B;;;;;;;;;;;;;;;;YAfU,UAAU;SAEb,MAAM;eAEA,IAAI;gBAEH,MAAM;aAET,MAAM;uBAMI,OAAO;;AAmb7B,wBAMG;AAEH,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC9B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAA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GAAG;;;;EAehC;AAqBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;cAUK,MAAM,SAAS,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;cAAtB,MAAM,SAAS,GAAG,IAAI;;;;;;;;;;;;4EAE9C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"MlBaseDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/component/common/MlBaseDialog.vue"],"names":[],"mappings":"AA0CA;AA8MA,OAAO,EAAE,KAAK,SAAS,EAA6B,MAAM,KAAK,CAAA;AAkD/D,iBAAS,cAAc;WAqKT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;cAUK,MAAM,SAAS,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;cAAtB,MAAM,SAAS,GAAG,IAAI;;;;;;;;;;;;4EAE9C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { AcCmColor } from '@mlightcad/data-model';
2
+ type __VLS_Props = {
3
+ modelValue: AcCmColor | undefined;
4
+ disabled?: boolean;
5
+ onCustomColorSelected?: (oldColor: AcCmColor | undefined) => AcCmColor | undefined | Promise<AcCmColor | undefined>;
6
+ };
7
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "update:modelValue": (v: AcCmColor | undefined) => void;
9
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{
10
+ "onUpdate:modelValue"?: ((v: AcCmColor | undefined) => any) | undefined;
11
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToOption<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ //# sourceMappingURL=MlColorDropdown.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MlColorDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/component/common/MlColorDropdown.vue"],"names":[],"mappings":"AAgEA;AAoOA,OAAO,EAAE,SAAS,EAAmB,MAAM,uBAAuB,CAAA;AAOlE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,SAAS,GAAG,SAAS,CAAA;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qBAAqB,CAAC,EAAE,CACtB,QAAQ,EAAE,SAAS,GAAG,SAAS,KAC5B,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAA;CAC5D,CAAC;;;;;;AA2SF,wBAOG;AAEH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -0,0 +1,19 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: {
3
+ type: NumberConstructor;
4
+ default: number;
5
+ };
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:modelValue": (...args: any[]) => void;
8
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
+ modelValue: {
10
+ type: NumberConstructor;
11
+ default: number;
12
+ };
13
+ }>> & Readonly<{
14
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
15
+ }>, {
16
+ modelValue: number;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
18
+ export default _default;
19
+ //# sourceMappingURL=MlColorIndexPicker.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MlColorIndexPicker.vue.d.ts","sourceRoot":"","sources":["../../../src/component/common/MlColorIndexPicker.vue"],"names":[],"mappings":"AA8EA;;;;;;;;;;;;;;;;;;AAwjBA,wBASG"}
@@ -1,5 +1,7 @@
1
1
  export { default as MlBaseDialog } from './MlBaseDialog.vue';
2
2
  export { default as MlBaseInputNumber } from './MlBaseInputNumber.vue';
3
+ export { default as MlColorDropdown } from './MlColorDropdown.vue';
4
+ export { default as MlColorIndexPicker } from './MlColorIndexPicker.vue';
3
5
  export { default as MlDialogManager } from './MlDialogManager.vue';
4
6
  export { default as MlFileReader } from './MlFileReader.vue';
5
7
  export { default as MlToggleButton } from './MlToggleButton.vue';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/component/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/component/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AACxE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA"}
@@ -0,0 +1,29 @@
1
+ import { AcCmColor } from '@mlightcad/data-model';
2
+ /**
3
+ * Props
4
+ */
5
+ type __VLS_Props = {
6
+ modelValue: boolean;
7
+ color?: string;
8
+ title: string;
9
+ };
10
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (v: boolean) => void;
12
+ ok: (v: AcCmColor) => void;
13
+ cancel: (v: undefined) => void;
14
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{
15
+ "onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
16
+ onOk?: ((v: AcCmColor) => any) | undefined;
17
+ onCancel?: ((v: undefined) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
+ export default _default;
20
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
+ type __VLS_TypePropsToOption<T> = {
22
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
23
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
+ } : {
25
+ type: import('vue').PropType<T[K]>;
26
+ required: true;
27
+ };
28
+ };
29
+ //# sourceMappingURL=MlColorPickerDlg.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MlColorPickerDlg.vue.d.ts","sourceRoot":"","sources":["../../../src/component/dialog/MlColorPickerDlg.vue"],"names":[],"mappings":"AA0BA;AAsJA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAcjD;;GAEG;AACH,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;;;;;;;;;;AAoOF,wBAOG;AAEH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,3 +1,4 @@
1
- export { default as MlReplacementDlg } from './MlReplacementDlg.vue';
1
+ export { default as MlColorPickerDlg } from './MlColorPickerDlg.vue';
2
2
  export { default as MlPointStyleDlg } from './MlPointStyleDlg.vue';
3
+ export { default as MlReplacementDlg } from './MlReplacementDlg.vue';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/component/dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/component/dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"MlEntityProperties.vue.d.ts","sourceRoot":"","sources":["../../../src/component/palette/MlEntityProperties.vue"],"names":[],"mappings":"AAqJA;AA+aA,OAAO,KAAK,EACV,oBAAoB,EAGrB,MAAM,uBAAuB,CAAA;AAS9B;;GAEG;AACH,KAAK,WAAW,GAAG;IACjB,eAAe,CAAC,EAAE,oBAAoB,EAA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,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,11 +1,12 @@
1
1
  import { AcApDocManager } from '@mlightcad/cad-simple-viewer';
2
2
  /**
3
- * Properties of MlLayerList component
3
+ * Props for MlLayerList component
4
+ *
5
+ * @property editor - The CAD editor/document manager.
6
+ * Used to access layer table and view control
7
+ * (zoom, pan, etc).
4
8
  */
5
9
  interface Props {
6
- /**
7
- * Current drawing database
8
- */
9
10
  editor: AcApDocManager;
10
11
  }
11
12
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"MlLayerList.vue.d.ts","sourceRoot":"","sources":["../../../src/component/palette/MlLayerList.vue"],"names":[],"mappings":"AAyCA;AAyGA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAS7D;;GAEG;AACH,UAAU,KAAK;IACb;;OAEG;IACH,MAAM,EAAE,cAAc,CAAA;CACvB;;AAoLD,wBAMG;AAEH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"MlLayerList.vue.d.ts","sourceRoot":"","sources":["../../../src/component/palette/MlLayerList.vue"],"names":[],"mappings":"AAqDA;AA+NA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAW7D;;;;;;GAMG;AACH,UAAU,KAAK;IACb,MAAM,EAAE,cAAc,CAAA;CACvB;;AA8SD,wBAMG;AAEH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MlPaletteManager.vue.d.ts","sourceRoot":"","sources":["../../../src/component/palette/MlPaletteManager.vue"],"names":[],"mappings":"AAkBA;AAqFA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAW7D;;GAEG;AACH,U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C;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,20 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ type __VLS_Props = {
2
+ isDark: boolean;
3
+ toggleDark: () => void;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
6
  toggleNotificationCenter: () => void;
3
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
7
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{
4
8
  onToggleNotificationCenter?: (() => any) | undefined;
5
9
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
10
  export default _default;
11
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
+ type __VLS_TypePropsToOption<T> = {
13
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
14
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
+ } : {
16
+ type: import('vue').PropType<T[K]>;
17
+ required: true;
18
+ };
19
+ };
7
20
  //# sourceMappingURL=MlStatusBar.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MlStatusBar.vue.d.ts","sourceRoot":"","sources":["../../../src/component/statusBar/MlStatusBar.vue"],"names":[],"mappings":"AAoCA;;;;;;AAmVA,wBAMG"}
1
+ {"version":3,"file":"MlStatusBar.vue.d.ts","sourceRoot":"","sources":["../../../src/component/statusBar/MlStatusBar.vue"],"names":[],"mappings":"AAuCA;AAoIA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,OAAO,CAAA;IACf,UAAU,EAAE,MAAM,IAAI,CAAA;CACvB,CAAC;;;;;;AA+NF,wBAOG;AAEH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,3 +1,16 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ type __VLS_Props = {
2
+ isDark: boolean;
3
+ toggleDark: () => void;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
6
  export default _default;
7
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
+ type __VLS_TypePropsToOption<T> = {
9
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
10
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
+ } : {
12
+ type: import('vue').PropType<T[K]>;
13
+ required: true;
14
+ };
15
+ };
3
16
  //# sourceMappingURL=MlThemeButton.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MlThemeButton.vue.d.ts","sourceRoot":"","sources":["../../../src/component/statusBar/MlThemeButton.vue"],"names":[],"mappings":"AAOA;;AAwGA,wBAKG"}
1
+ {"version":3,"file":"MlThemeButton.vue.d.ts","sourceRoot":"","sources":["../../../src/component/statusBar/MlThemeButton.vue"],"names":[],"mappings":"AAOA;AAqCA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,OAAO,CAAA;IACf,UAAU,EAAE,MAAM,IAAI,CAAA;CACvB,CAAC;;AAqEF,wBAMG;AAEH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -64,26 +64,28 @@ export declare function useHover(): {
64
64
  readonly type: string;
65
65
  layer: string;
66
66
  color: {
67
- color: number | null;
68
- readonly hexColor: string;
69
- readonly cssColor: string;
70
- readonly red: number | null;
71
- readonly green: number | null;
72
- readonly blue: number | null;
73
- colorIndex: number | null;
74
- colorName: string | null;
75
- readonly hasColorName: boolean;
76
- readonly hasColorIndex: boolean;
67
+ colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
68
+ readonly red: number | undefined;
69
+ readonly green: number | undefined;
70
+ readonly blue: number | undefined;
71
+ readonly RGB: number | undefined;
72
+ setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
73
+ setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
74
+ setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
75
+ setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
76
+ readonly hexColor: string | undefined;
77
+ readonly cssColor: string | undefined;
78
+ colorIndex: number | undefined;
79
+ readonly isByColor: boolean;
80
+ readonly isByACI: boolean;
77
81
  readonly isByLayer: boolean;
78
- setByLayer: () => import('@mlightcad/data-model').AcCmColor;
82
+ setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
79
83
  readonly isByBlock: boolean;
80
- setByBlock: () => import('@mlightcad/data-model').AcCmColor;
81
- setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
82
- setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
83
- setColorName: (style: string) => import('@mlightcad/data-model').AcCmColor;
84
+ setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
85
+ colorName: string | undefined;
84
86
  clone: () => import('@mlightcad/data-model').AcCmColor;
85
- copy: (color: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
86
- equals: (c: import('@mlightcad/data-model').AcCmColor) => boolean;
87
+ copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
88
+ equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
87
89
  toString: () => string;
88
90
  };
89
91
  readonly rgbColor: number;
@@ -91,7 +93,21 @@ export declare function useHover(): {
91
93
  lineWeight: number;
92
94
  linetypeScale: number;
93
95
  visibility: boolean;
94
- transparency: number;
96
+ transparency: {
97
+ method: import('@mlightcad/data-model').AcCmTransparencyMethod;
98
+ alpha: number;
99
+ percentage: number | undefined;
100
+ readonly isByAlpha: boolean;
101
+ readonly isByBlock: boolean;
102
+ readonly isByLayer: boolean;
103
+ readonly isClear: boolean;
104
+ readonly isSolid: boolean;
105
+ readonly isInvalid: boolean;
106
+ serialize: () => number;
107
+ clone: () => import('@mlightcad/data-model').AcCmTransparency;
108
+ equals: (other: import('@mlightcad/data-model').AcCmTransparency) => boolean;
109
+ toString: () => string;
110
+ };
95
111
  readonly properties: {
96
112
  type: string;
97
113
  groups: {
@@ -427,6 +443,40 @@ export declare function useHover(): {
427
443
  };
428
444
  draw: (renderer: import('@mlightcad/data-model').AcGiRenderer, delay?: boolean) => import('@mlightcad/data-model').AcGiEntity | undefined;
429
445
  triggerModifiedEvent: () => void;
446
+ readonly lineStyle: {
447
+ type: AcGiStyleType;
448
+ arrows?: {
449
+ firstArrow?: {
450
+ type: import('@mlightcad/data-model').AcGiArrowType;
451
+ inversed?: boolean | undefined;
452
+ appended?: boolean | undefined;
453
+ scale?: number | undefined;
454
+ visible: boolean;
455
+ } | undefined;
456
+ secondArrow?: {
457
+ type: import('@mlightcad/data-model').AcGiArrowType;
458
+ inversed?: boolean | undefined;
459
+ appended?: boolean | undefined;
460
+ scale?: number | undefined;
461
+ visible: boolean;
462
+ } | undefined;
463
+ } | undefined;
464
+ name: string;
465
+ standardFlag: number;
466
+ description: string;
467
+ totalPatternLength: number;
468
+ pattern?: {
469
+ elementLength: number;
470
+ elementTypeFlag: number;
471
+ shapeNumber?: number | undefined;
472
+ styleObjectId?: string | undefined;
473
+ scale?: number | undefined;
474
+ rotation?: number | undefined;
475
+ offsetX?: number | undefined;
476
+ offsetY?: number | undefined;
477
+ text?: string | undefined;
478
+ }[] | undefined;
479
+ };
430
480
  readonly attrs: {
431
481
  attributes: {
432
482
  [x: string]: any;
@@ -1122,26 +1172,28 @@ export declare function useHover(): {
1122
1172
  insunits: number;
1123
1173
  ltscale: number;
1124
1174
  cecolor: {
1125
- color: number | null;
1126
- readonly hexColor: string;
1127
- readonly cssColor: string;
1128
- readonly red: number | null;
1129
- readonly green: number | null;
1130
- readonly blue: number | null;
1131
- colorIndex: number | null;
1132
- colorName: string | null;
1133
- readonly hasColorName: boolean;
1134
- readonly hasColorIndex: boolean;
1175
+ colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
1176
+ readonly red: number | undefined;
1177
+ readonly green: number | undefined;
1178
+ readonly blue: number | undefined;
1179
+ readonly RGB: number | undefined;
1180
+ setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
1181
+ setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
1182
+ setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
1183
+ setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
1184
+ readonly hexColor: string | undefined;
1185
+ readonly cssColor: string | undefined;
1186
+ colorIndex: number | undefined;
1187
+ readonly isByColor: boolean;
1188
+ readonly isByACI: boolean;
1135
1189
  readonly isByLayer: boolean;
1136
- setByLayer: () => import('@mlightcad/data-model').AcCmColor;
1190
+ setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
1137
1191
  readonly isByBlock: boolean;
1138
- setByBlock: () => import('@mlightcad/data-model').AcCmColor;
1139
- setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
1140
- setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
1141
- setColorName: (style: string) => import('@mlightcad/data-model').AcCmColor;
1192
+ setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
1193
+ colorName: string | undefined;
1142
1194
  clone: () => import('@mlightcad/data-model').AcCmColor;
1143
- copy: (color: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
1144
- equals: (c: import('@mlightcad/data-model').AcCmColor) => boolean;
1195
+ copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
1196
+ equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
1145
1197
  toString: () => string;
1146
1198
  };
1147
1199
  celtscale: number;
@@ -1656,26 +1708,28 @@ export declare function useHover(): {
1656
1708
  readonly type: string;
1657
1709
  layer: string;
1658
1710
  color: {
1659
- color: number | null;
1660
- readonly hexColor: string;
1661
- readonly cssColor: string;
1662
- readonly red: number | null;
1663
- readonly green: number | null;
1664
- readonly blue: number | null;
1665
- colorIndex: number | null;
1666
- colorName: string | null;
1667
- readonly hasColorName: boolean;
1668
- readonly hasColorIndex: boolean;
1711
+ colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
1712
+ readonly red: number | undefined;
1713
+ readonly green: number | undefined;
1714
+ readonly blue: number | undefined;
1715
+ readonly RGB: number | undefined;
1716
+ setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
1717
+ setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
1718
+ setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
1719
+ setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
1720
+ readonly hexColor: string | undefined;
1721
+ readonly cssColor: string | undefined;
1722
+ colorIndex: number | undefined;
1723
+ readonly isByColor: boolean;
1724
+ readonly isByACI: boolean;
1669
1725
  readonly isByLayer: boolean;
1670
- setByLayer: () => import('@mlightcad/data-model').AcCmColor;
1726
+ setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
1671
1727
  readonly isByBlock: boolean;
1672
- setByBlock: () => import('@mlightcad/data-model').AcCmColor;
1673
- setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
1674
- setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
1675
- setColorName: (style: string) => import('@mlightcad/data-model').AcCmColor;
1728
+ setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
1729
+ colorName: string | undefined;
1676
1730
  clone: () => import('@mlightcad/data-model').AcCmColor;
1677
- copy: (color: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
1678
- equals: (c: import('@mlightcad/data-model').AcCmColor) => boolean;
1731
+ copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
1732
+ equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
1679
1733
  toString: () => string;
1680
1734
  };
1681
1735
  readonly rgbColor: number;
@@ -1683,7 +1737,21 @@ export declare function useHover(): {
1683
1737
  lineWeight: number;
1684
1738
  linetypeScale: number;
1685
1739
  visibility: boolean;
1686
- transparency: number;
1740
+ transparency: {
1741
+ method: import('@mlightcad/data-model').AcCmTransparencyMethod;
1742
+ alpha: number;
1743
+ percentage: number | undefined;
1744
+ readonly isByAlpha: boolean;
1745
+ readonly isByBlock: boolean;
1746
+ readonly isByLayer: boolean;
1747
+ readonly isClear: boolean;
1748
+ readonly isSolid: boolean;
1749
+ readonly isInvalid: boolean;
1750
+ serialize: () => number;
1751
+ clone: () => import('@mlightcad/data-model').AcCmTransparency;
1752
+ equals: (other: import('@mlightcad/data-model').AcCmTransparency) => boolean;
1753
+ toString: () => string;
1754
+ };
1687
1755
  readonly properties: {
1688
1756
  type: string;
1689
1757
  groups: {
@@ -2019,6 +2087,40 @@ export declare function useHover(): {
2019
2087
  };
2020
2088
  draw: (renderer: import('@mlightcad/data-model').AcGiRenderer, delay?: boolean) => import('@mlightcad/data-model').AcGiEntity | undefined;
2021
2089
  triggerModifiedEvent: () => void;
2090
+ readonly lineStyle: {
2091
+ type: AcGiStyleType;
2092
+ arrows?: {
2093
+ firstArrow?: {
2094
+ type: import('@mlightcad/data-model').AcGiArrowType;
2095
+ inversed?: boolean | undefined;
2096
+ appended?: boolean | undefined;
2097
+ scale?: number | undefined;
2098
+ visible: boolean;
2099
+ } | undefined;
2100
+ secondArrow?: {
2101
+ type: import('@mlightcad/data-model').AcGiArrowType;
2102
+ inversed?: boolean | undefined;
2103
+ appended?: boolean | undefined;
2104
+ scale?: number | undefined;
2105
+ visible: boolean;
2106
+ } | undefined;
2107
+ } | undefined;
2108
+ name: string;
2109
+ standardFlag: number;
2110
+ description: string;
2111
+ totalPatternLength: number;
2112
+ pattern?: {
2113
+ elementLength: number;
2114
+ elementTypeFlag: number;
2115
+ shapeNumber?: number | undefined;
2116
+ styleObjectId?: string | undefined;
2117
+ scale?: number | undefined;
2118
+ rotation?: number | undefined;
2119
+ offsetX?: number | undefined;
2120
+ offsetY?: number | undefined;
2121
+ text?: string | undefined;
2122
+ }[] | undefined;
2123
+ };
2022
2124
  readonly attrs: {
2023
2125
  attributes: {
2024
2126
  [x: string]: any;
@@ -2714,26 +2816,28 @@ export declare function useHover(): {
2714
2816
  insunits: number;
2715
2817
  ltscale: number;
2716
2818
  cecolor: {
2717
- color: number | null;
2718
- readonly hexColor: string;
2719
- readonly cssColor: string;
2720
- readonly red: number | null;
2721
- readonly green: number | null;
2722
- readonly blue: number | null;
2723
- colorIndex: number | null;
2724
- colorName: string | null;
2725
- readonly hasColorName: boolean;
2726
- readonly hasColorIndex: boolean;
2819
+ colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
2820
+ readonly red: number | undefined;
2821
+ readonly green: number | undefined;
2822
+ readonly blue: number | undefined;
2823
+ readonly RGB: number | undefined;
2824
+ setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
2825
+ setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
2826
+ setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
2827
+ setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
2828
+ readonly hexColor: string | undefined;
2829
+ readonly cssColor: string | undefined;
2830
+ colorIndex: number | undefined;
2831
+ readonly isByColor: boolean;
2832
+ readonly isByACI: boolean;
2727
2833
  readonly isByLayer: boolean;
2728
- setByLayer: () => import('@mlightcad/data-model').AcCmColor;
2834
+ setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
2729
2835
  readonly isByBlock: boolean;
2730
- setByBlock: () => import('@mlightcad/data-model').AcCmColor;
2731
- setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
2732
- setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
2733
- setColorName: (style: string) => import('@mlightcad/data-model').AcCmColor;
2836
+ setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
2837
+ colorName: string | undefined;
2734
2838
  clone: () => import('@mlightcad/data-model').AcCmColor;
2735
- copy: (color: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
2736
- equals: (c: import('@mlightcad/data-model').AcCmColor) => boolean;
2839
+ copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
2840
+ equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
2737
2841
  toString: () => string;
2738
2842
  };
2739
2843
  celtscale: number;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iGAqD6qJ,eAAgB,aAAY,eAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EADnpJ"}
@@ -1,13 +1,16 @@
1
1
  import { AcApDocManager } from '@mlightcad/cad-simple-viewer';
2
2
  export interface LayerInfo {
3
3
  name: string;
4
+ /**
5
+ * Color string generated by AcCmColor.toString()
6
+ */
4
7
  color: string;
5
8
  isLocked: boolean;
6
9
  isHidden: boolean;
7
10
  isInUse: boolean;
8
11
  isOn: boolean;
9
12
  isPlottable: boolean;
10
- transparency: number;
13
+ transparency: string;
11
14
  linetype: string;
12
15
  lineWeight: number;
13
16
  }