@mlightcad/cad-viewer 1.2.5 → 1.3.0

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 +144 -68
  24. package/dist/composable/useHover.d.ts.map +1 -1
  25. package/dist/composable/useLayers.d.ts +3 -0
  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 +2391 -1952
  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;
@@ -427,6 +429,40 @@ export declare function useHover(): {
427
429
  };
428
430
  draw: (renderer: import('@mlightcad/data-model').AcGiRenderer, delay?: boolean) => import('@mlightcad/data-model').AcGiEntity | undefined;
429
431
  triggerModifiedEvent: () => void;
432
+ readonly lineStyle: {
433
+ type: AcGiStyleType;
434
+ arrows?: {
435
+ firstArrow?: {
436
+ type: import('@mlightcad/data-model').AcGiArrowType;
437
+ inversed?: boolean | undefined;
438
+ appended?: boolean | undefined;
439
+ scale?: number | undefined;
440
+ visible: boolean;
441
+ } | undefined;
442
+ secondArrow?: {
443
+ type: import('@mlightcad/data-model').AcGiArrowType;
444
+ inversed?: boolean | undefined;
445
+ appended?: boolean | undefined;
446
+ scale?: number | undefined;
447
+ visible: boolean;
448
+ } | undefined;
449
+ } | undefined;
450
+ name: string;
451
+ standardFlag: number;
452
+ description: string;
453
+ totalPatternLength: number;
454
+ pattern?: {
455
+ elementLength: number;
456
+ elementTypeFlag: number;
457
+ shapeNumber?: number | undefined;
458
+ styleObjectId?: string | undefined;
459
+ scale?: number | undefined;
460
+ rotation?: number | undefined;
461
+ offsetX?: number | undefined;
462
+ offsetY?: number | undefined;
463
+ text?: string | undefined;
464
+ }[] | undefined;
465
+ };
430
466
  readonly attrs: {
431
467
  attributes: {
432
468
  [x: string]: any;
@@ -1122,26 +1158,28 @@ export declare function useHover(): {
1122
1158
  insunits: number;
1123
1159
  ltscale: number;
1124
1160
  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;
1161
+ colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
1162
+ readonly red: number | undefined;
1163
+ readonly green: number | undefined;
1164
+ readonly blue: number | undefined;
1165
+ readonly RGB: number | undefined;
1166
+ setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
1167
+ setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
1168
+ setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
1169
+ setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
1170
+ readonly hexColor: string | undefined;
1171
+ readonly cssColor: string | undefined;
1172
+ colorIndex: number | undefined;
1173
+ readonly isByColor: boolean;
1174
+ readonly isByACI: boolean;
1135
1175
  readonly isByLayer: boolean;
1136
- setByLayer: () => import('@mlightcad/data-model').AcCmColor;
1176
+ setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
1137
1177
  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;
1178
+ setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
1179
+ colorName: string | undefined;
1142
1180
  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;
1181
+ copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
1182
+ equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
1145
1183
  toString: () => string;
1146
1184
  };
1147
1185
  celtscale: number;
@@ -1656,26 +1694,28 @@ export declare function useHover(): {
1656
1694
  readonly type: string;
1657
1695
  layer: string;
1658
1696
  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;
1697
+ colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
1698
+ readonly red: number | undefined;
1699
+ readonly green: number | undefined;
1700
+ readonly blue: number | undefined;
1701
+ readonly RGB: number | undefined;
1702
+ setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
1703
+ setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
1704
+ setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
1705
+ setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
1706
+ readonly hexColor: string | undefined;
1707
+ readonly cssColor: string | undefined;
1708
+ colorIndex: number | undefined;
1709
+ readonly isByColor: boolean;
1710
+ readonly isByACI: boolean;
1669
1711
  readonly isByLayer: boolean;
1670
- setByLayer: () => import('@mlightcad/data-model').AcCmColor;
1712
+ setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
1671
1713
  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;
1714
+ setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
1715
+ colorName: string | undefined;
1676
1716
  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;
1717
+ copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
1718
+ equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
1679
1719
  toString: () => string;
1680
1720
  };
1681
1721
  readonly rgbColor: number;
@@ -2019,6 +2059,40 @@ export declare function useHover(): {
2019
2059
  };
2020
2060
  draw: (renderer: import('@mlightcad/data-model').AcGiRenderer, delay?: boolean) => import('@mlightcad/data-model').AcGiEntity | undefined;
2021
2061
  triggerModifiedEvent: () => void;
2062
+ readonly lineStyle: {
2063
+ type: AcGiStyleType;
2064
+ arrows?: {
2065
+ firstArrow?: {
2066
+ type: import('@mlightcad/data-model').AcGiArrowType;
2067
+ inversed?: boolean | undefined;
2068
+ appended?: boolean | undefined;
2069
+ scale?: number | undefined;
2070
+ visible: boolean;
2071
+ } | undefined;
2072
+ secondArrow?: {
2073
+ type: import('@mlightcad/data-model').AcGiArrowType;
2074
+ inversed?: boolean | undefined;
2075
+ appended?: boolean | undefined;
2076
+ scale?: number | undefined;
2077
+ visible: boolean;
2078
+ } | undefined;
2079
+ } | undefined;
2080
+ name: string;
2081
+ standardFlag: number;
2082
+ description: string;
2083
+ totalPatternLength: number;
2084
+ pattern?: {
2085
+ elementLength: number;
2086
+ elementTypeFlag: number;
2087
+ shapeNumber?: number | undefined;
2088
+ styleObjectId?: string | undefined;
2089
+ scale?: number | undefined;
2090
+ rotation?: number | undefined;
2091
+ offsetX?: number | undefined;
2092
+ offsetY?: number | undefined;
2093
+ text?: string | undefined;
2094
+ }[] | undefined;
2095
+ };
2022
2096
  readonly attrs: {
2023
2097
  attributes: {
2024
2098
  [x: string]: any;
@@ -2714,26 +2788,28 @@ export declare function useHover(): {
2714
2788
  insunits: number;
2715
2789
  ltscale: number;
2716
2790
  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;
2791
+ colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
2792
+ readonly red: number | undefined;
2793
+ readonly green: number | undefined;
2794
+ readonly blue: number | undefined;
2795
+ readonly RGB: number | undefined;
2796
+ setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
2797
+ setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
2798
+ setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
2799
+ setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
2800
+ readonly hexColor: string | undefined;
2801
+ readonly cssColor: string | undefined;
2802
+ colorIndex: number | undefined;
2803
+ readonly isByColor: boolean;
2804
+ readonly isByACI: boolean;
2727
2805
  readonly isByLayer: boolean;
2728
- setByLayer: () => import('@mlightcad/data-model').AcCmColor;
2806
+ setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
2729
2807
  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;
2808
+ setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
2809
+ colorName: string | undefined;
2734
2810
  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;
2811
+ copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
2812
+ equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
2737
2813
  toString: () => string;
2738
2814
  };
2739
2815
  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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EADntJ"}
@@ -1,6 +1,9 @@
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;
@@ -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;AAI7D,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,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,uCAiD/C"}
1
+ {"version":3,"file":"useLayers.d.ts","sourceRoot":"","sources":["../../src/composable/useLayers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAI7D,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb,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,uCAiD/C"}
@@ -15,6 +15,12 @@ export declare function useLocale(propLocale?: LocaleProp): {
15
15
  defaultLabel: string;
16
16
  description: string;
17
17
  alphaLabel: string;
18
+ alphaDescription: string;
19
+ hueLabel: string;
20
+ hueDescription: string;
21
+ svLabel: string;
22
+ svDescription: string;
23
+ predefineDescription: string;
18
24
  };
19
25
  datepicker: {
20
26
  now: string;
@@ -92,12 +98,12 @@ export declare function useLocale(propLocale?: LocaleProp): {
92
98
  noData: string;
93
99
  placeholder: string;
94
100
  };
95
- dropdown: {
96
- toggleDropdown: string;
97
- };
98
101
  mention: {
99
102
  loading: string;
100
103
  };
104
+ dropdown: {
105
+ toggleDropdown: string;
106
+ };
101
107
  cascader: {
102
108
  noMatch: string;
103
109
  loading: string;
@@ -147,11 +153,21 @@ export declare function useLocale(propLocale?: LocaleProp): {
147
153
  resetFilter: string;
148
154
  clearFilter: string;
149
155
  sumText: string;
156
+ selectAllLabel: string;
157
+ selectRowLabel: string;
158
+ expandRowLabel: string;
159
+ collapseRowLabel: string;
160
+ sortLabel: string;
161
+ filterLabel: string;
162
+ };
163
+ tag: {
164
+ close: string;
150
165
  };
151
166
  tour: {
152
167
  next: string;
153
168
  previous: string;
154
169
  finish: string;
170
+ close: string;
155
171
  };
156
172
  tree: {
157
173
  emptyText: string;