@mlightcad/cad-editor 1.8.0-preview.0 → 1.8.0-preview.2

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 (43) hide show
  1. package/dist/cad-editor.js +3729 -3728
  2. package/dist/component/MlCadViewer.vue.d.ts +4 -4
  3. package/dist/component/common/MlBaseDialog.vue.d.ts +4 -4
  4. package/dist/component/common/MlColorPickerDropdown.vue.d.ts +2 -2
  5. package/dist/component/common/MlColorPickerTabs.vue.d.ts +2 -2
  6. package/dist/component/common/MlLayerSelect.vue.d.ts +1 -1
  7. package/dist/component/common/MlLineTypeSelect.vue.d.ts +1 -1
  8. package/dist/component/common/MlLineWeightSelect.vue.d.ts +1 -1
  9. package/dist/component/common/MlToggleButton.vue.d.ts +1 -1
  10. package/dist/component/ribbon/MlRibbonFontSelect.vue.d.ts +1 -1
  11. package/dist/component/ribbon/MlRibbonHatchPatternButton.vue.d.ts +3 -3
  12. package/dist/component/ribbon/MlRibbonHatchPatternButton.vue.d.ts.map +1 -1
  13. package/dist/component/ribbon/MlRibbonMTextHeightSelect.vue.d.ts +1 -1
  14. package/dist/component/ribbon/MlRibbonTextHeightButton.vue.d.ts +1 -1
  15. package/dist/locale/i18n.d.ts +2 -2
  16. package/dist/locale/i18n.d.ts.map +1 -1
  17. package/dist/locale/types.d.ts +1 -1
  18. package/dist/locale/types.d.ts.map +1 -1
  19. package/package.json +33 -27
  20. package/src/locale/ar/command.ts +96 -0
  21. package/src/locale/ar/dialog.ts +420 -0
  22. package/src/locale/ar/entity.ts +665 -0
  23. package/src/locale/ar/main.ts +1610 -0
  24. package/src/locale/cs/command.ts +55 -0
  25. package/src/locale/cs/dialog.ts +329 -0
  26. package/src/locale/cs/entity.ts +588 -0
  27. package/src/locale/cs/main.ts +1127 -0
  28. package/src/locale/en/command.ts +56 -0
  29. package/src/locale/en/dialog.ts +574 -0
  30. package/src/locale/en/entity.ts +588 -0
  31. package/src/locale/en/main.ts +1140 -0
  32. package/src/locale/i18n.ts +173 -0
  33. package/src/locale/index.ts +2 -0
  34. package/src/locale/pluralRules.ts +28 -0
  35. package/src/locale/tr/command.ts +57 -0
  36. package/src/locale/tr/dialog.ts +332 -0
  37. package/src/locale/tr/entity.ts +588 -0
  38. package/src/locale/tr/main.ts +1142 -0
  39. package/src/locale/types.ts +3 -0
  40. package/src/locale/zh/command.ts +49 -0
  41. package/src/locale/zh/dialog.ts +566 -0
  42. package/src/locale/zh/entity.ts +588 -0
  43. package/src/locale/zh/main.ts +1089 -0
@@ -126,19 +126,19 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
126
126
  onCreate?: (() => any) | undefined;
127
127
  }>, {
128
128
  mode: AcEdOpenMode;
129
+ circleSides: number;
130
+ progressiveRendering: boolean;
131
+ openViewMode: AcApOpenViewMode;
132
+ url: string;
129
133
  theme: "light" | "dark";
130
134
  background: number;
131
135
  locale: LocaleProp;
132
- url: string;
133
- circleSides: number;
134
136
  localFile: File;
135
137
  baseUrl: string;
136
138
  docsBaseUrl: string;
137
139
  disableExport: boolean;
138
140
  htmlViewerRuntimeUrl: string | URL;
139
141
  useMainThreadDraw: boolean;
140
- progressiveRendering: boolean;
141
- openViewMode: AcApOpenViewMode;
142
142
  paperSpaceBackground: number;
143
143
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
144
144
  declare const _default: typeof __VLS_export;
@@ -40,10 +40,10 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
40
40
  default: number;
41
41
  };
42
42
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
43
- open: (...args: any[]) => void;
44
43
  cancel: (...args: any[]) => void;
45
- apply: (...args: any[]) => void;
46
44
  ok: (...args: any[]) => void;
45
+ open: (...args: any[]) => void;
46
+ apply: (...args: any[]) => void;
47
47
  "update:modelValue": (...args: any[]) => void;
48
48
  opened: (...args: any[]) => void;
49
49
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -83,10 +83,10 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
83
83
  default: number;
84
84
  };
85
85
  }>> & Readonly<{
86
- onOpen?: ((...args: any[]) => any) | undefined;
87
86
  onCancel?: ((...args: any[]) => any) | undefined;
88
- onApply?: ((...args: any[]) => any) | undefined;
89
87
  onOk?: ((...args: any[]) => any) | undefined;
88
+ onOpen?: ((...args: any[]) => any) | undefined;
89
+ onApply?: ((...args: any[]) => any) | undefined;
90
90
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
91
91
  onOpened?: ((...args: any[]) => any) | undefined;
92
92
  }>, {
@@ -19,9 +19,9 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
19
19
  popperClass: undefined;
20
20
  closeOnChange: boolean;
21
21
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
+ change: (value: AcCmColor | undefined) => void;
22
23
  close: () => void;
23
24
  "update:modelValue": (value: AcCmColor | undefined) => void;
24
- change: (value: AcCmColor | undefined) => void;
25
25
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
26
26
  modelValue: undefined;
27
27
  displayColor: undefined;
@@ -30,9 +30,9 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
30
30
  popperClass: undefined;
31
31
  closeOnChange: boolean;
32
32
  }>>> & Readonly<{
33
+ onChange?: ((value: AcCmColor | undefined) => any) | undefined;
33
34
  onClose?: (() => any) | undefined;
34
35
  "onUpdate:modelValue"?: ((value: AcCmColor | undefined) => any) | undefined;
35
- onChange?: ((value: AcCmColor | undefined) => any) | undefined;
36
36
  }>, {
37
37
  modelValue: AcCmColor;
38
38
  disabled: boolean;
@@ -8,14 +8,14 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
8
8
  modelValue: undefined;
9
9
  tabPosition: string;
10
10
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- "update:modelValue": (value: AcCmColor | undefined) => void;
12
11
  change: (value: AcCmColor | undefined) => void;
12
+ "update:modelValue": (value: AcCmColor | undefined) => void;
13
13
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
14
14
  modelValue: undefined;
15
15
  tabPosition: string;
16
16
  }>>> & Readonly<{
17
- "onUpdate:modelValue"?: ((value: AcCmColor | undefined) => any) | undefined;
18
17
  onChange?: ((value: AcCmColor | undefined) => any) | undefined;
18
+ "onUpdate:modelValue"?: ((value: AcCmColor | undefined) => any) | undefined;
19
19
  }>, {
20
20
  modelValue: AcCmColor;
21
21
  tabPosition: TabPosition;
@@ -26,8 +26,8 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
26
26
  state: LayerStateKey;
27
27
  }) => void;
28
28
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<LayerSelectProps>>> & Readonly<{
29
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
30
29
  onChange?: ((value: string) => any) | undefined;
30
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
31
31
  "onLayer-state-toggle"?: ((payload: {
32
32
  layerName: string;
33
33
  state: LayerStateKey;
@@ -23,8 +23,8 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
23
23
  change: (value: string) => void;
24
24
  "visible-change": (visible: boolean) => void;
25
25
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<LineTypeSelectProps>>> & Readonly<{
26
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
27
26
  onChange?: ((value: string) => any) | undefined;
27
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
28
28
  "onVisible-change"?: ((visible: boolean) => any) | undefined;
29
29
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
30
30
  declare const _default: typeof __VLS_export;
@@ -25,8 +25,8 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
25
25
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<LineWeightSelectProps>, {
26
26
  compact: boolean;
27
27
  }>>> & Readonly<{
28
- "onUpdate:modelValue"?: ((value: AcGiLineWeight) => any) | undefined;
29
28
  onChange?: ((value: AcGiLineWeight) => any) | undefined;
29
+ "onUpdate:modelValue"?: ((value: AcGiLineWeight) => any) | undefined;
30
30
  "onVisible-change"?: ((visible: boolean) => any) | undefined;
31
31
  }>, {
32
32
  compact: boolean;
@@ -58,8 +58,8 @@ declare const __VLS_export: DefineComponent<import('vue').ExtractPropTypes<__VLS
58
58
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
59
59
  size: number;
60
60
  }>>> & Readonly<{
61
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
62
61
  onClick?: ((state: boolean) => any) | undefined;
62
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
63
63
  }>, {
64
64
  size: string | number;
65
65
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -26,8 +26,8 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
26
26
  }>>> & Readonly<{
27
27
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
28
28
  }>, {
29
- options: string[];
30
29
  placeholder: string;
30
+ options: string[];
31
31
  variant: "property" | "plain";
32
32
  modelValue: string;
33
33
  disabled: boolean;
@@ -45,13 +45,13 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
45
45
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
46
46
  }>, {
47
47
  label: string;
48
- options: HatchPatternOption[];
49
- modelValue: string;
50
- disabled: boolean;
51
48
  item: {
52
49
  id?: string;
53
50
  label?: string;
54
51
  } | null;
52
+ options: HatchPatternOption[];
53
+ modelValue: string;
54
+ disabled: boolean;
55
55
  itemIdPrefix: string;
56
56
  emitItemClick: (payload?: string | number | boolean) => void;
57
57
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"MlRibbonHatchPatternButton.vue.d.ts","sourceRoot":"","sources":["../../../src/component/ribbon/MlRibbonHatchPatternButton.vue"],"names":[],"mappings":"AAuCA;AAkLA,OAAO,EAEL,KAAK,kBAAkB,EAExB,MAAM,+BAA+B,CAAA;AAGtC;;GAEG;AACH,UAAU,oCAAoC;IAC5C,2EAA2E;IAC3E,IAAI,CAAC,EAAE;QAAE,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;IAC7C,yDAAyD;IACzD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAA;IAC9B,+DAA+D;IAC/D,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sDAAsD;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qEAAqE;IACrE,aAAa,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,KAAK,IAAI,CAAA;CAC9D;AA0LD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAvMF,MAAM;gBAAU,MAAM;;;8BAYT,MAAM,GAAG,MAAM,GAAG,OAAO,KAAK,IAAI;4EA8L7D,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,GAA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mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
@@ -22,8 +22,8 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
22
22
  }>>> & Readonly<{
23
23
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
24
24
  }>, {
25
- options: number[];
26
25
  placeholder: string;
26
+ options: number[];
27
27
  modelValue: number;
28
28
  disabled: boolean;
29
29
  controlWidth: string;
@@ -41,7 +41,7 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
41
41
  }>>> & Readonly<{
42
42
  onClick?: (() => any) | undefined;
43
43
  }>, {
44
- mode: "custom" | "adaptive";
44
+ mode: "adaptive" | "custom";
45
45
  placeholder: string;
46
46
  textHeightWcs: number;
47
47
  disabled: boolean;
@@ -1,6 +1,6 @@
1
- import { AcApLocale } from '@mlightcad/cad-simple-viewer';
1
+ import { AcApLocale } from '@mlightcad/cad-simple-viewer/file-open-panel';
2
2
  import { AcDbEntity } from '@mlightcad/data-model';
3
- export declare const i18n: import('vue-i18n').I18n<Readonly<import('@mlightcad/cad-simple-viewer/lib/i18n/AcApI18n').AcApLocaleMessages>, {}, {}, AcApLocale, false>;
3
+ export declare const i18n: import('vue-i18n').I18n<Readonly<import('@mlightcad/cad-simple-viewer/file-open-panel').AcApLocaleMessages>, {}, {}, AcApLocale, false>;
4
4
  export declare const entityName: (entity: AcDbEntity) => string;
5
5
  export declare const entityPropName: (name: string) => string;
6
6
  export declare const entityPropEnum: (name: string) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/locale/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,8BAA8B,CAAA;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AA2FlD,eAAO,MAAM,IAAI,2IAQf,CAAA;AAaF,eAAO,MAAM,UAAU,GAAI,QAAQ,UAAU,WAI5C,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,WAI1C,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,WAI1C,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,cAAc,MAAM,WAyB7C,CAAA;AACD,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,WAI5C,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,WAI9C,CAAA;AAED,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/locale/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,UAAU,EAChB,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AA2FlD,eAAO,MAAM,IAAI,yIAQf,CAAA;AAaF,eAAO,MAAM,UAAU,GAAI,QAAQ,UAAU,WAI5C,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,WAI1C,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,WAI1C,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,cAAc,MAAM,WAyB7C,CAAA;AACD,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,WAI5C,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,WAI9C,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -1,3 +1,3 @@
1
- import { AcApLocale } from '@mlightcad/cad-simple-viewer';
1
+ import { AcApLocale } from '@mlightcad/cad-simple-viewer/file-open-panel';
2
2
  export type LocaleProp = AcApLocale | 'default';
3
3
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/locale/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAEzD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,SAAS,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/locale/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAA;AAE9E,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,SAAS,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlightcad/cad-editor",
3
- "version": "1.8.0-preview.0",
3
+ "version": "1.8.0-preview.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -26,11 +26,17 @@
26
26
  ".": {
27
27
  "types": "./dist/cad-editor.d.ts",
28
28
  "import": "./dist/cad-editor.js"
29
+ },
30
+ "./locale": {
31
+ "types": "./src/locale/i18n.ts",
32
+ "import": "./src/locale/i18n.ts",
33
+ "default": "./src/locale/i18n.ts"
29
34
  }
30
35
  },
31
36
  "files": [
32
37
  "dist",
33
38
  "lib",
39
+ "src/locale",
34
40
  "README.md",
35
41
  "package.json"
36
42
  ],
@@ -55,19 +61,19 @@
55
61
  "vue-eslint-parser": "^10.4.0",
56
62
  "vue-i18n": "^11.4.4",
57
63
  "vue-tsc": "^2.1.6",
58
- "@mlightcad/cad-onedrive-plugin": "1.8.0-preview.0",
59
- "@mlightcad/cad-google-drive-plugin": "1.8.0-preview.0",
60
- "@mlightcad/cad-script-core": "1.8.0-preview.0",
61
- "@mlightcad/cad-pdf-plugin": "1.8.0-preview.0",
62
- "@mlightcad/cad-agent-core": "1.8.0-preview.0",
63
- "@mlightcad/cad-pdf-core": "1.8.0-preview.0",
64
- "@mlightcad/cad-html-plugin": "1.8.0-preview.0",
65
- "@mlightcad/pdf-renderer": "1.8.0-preview.0",
66
- "@mlightcad/cad-agent-plugin": "1.8.0-preview.0",
67
- "@mlightcad/cad-svg-plugin": "1.8.0-preview.0",
68
- "@mlightcad/cad-simple-viewer": "1.8.0-preview.0",
69
- "@mlightcad/three-renderer": "1.8.0-preview.0",
70
- "@mlightcad/cad-script-plugin": "1.8.0-preview.0"
64
+ "@mlightcad/cad-agent-core": "1.8.0-preview.2",
65
+ "@mlightcad/cad-script-core": "1.8.0-preview.2",
66
+ "@mlightcad/cad-agent-plugin": "1.8.0-preview.2",
67
+ "@mlightcad/cad-script-plugin": "1.8.0-preview.2",
68
+ "@mlightcad/cad-onedrive-plugin": "1.8.0-preview.2",
69
+ "@mlightcad/cad-google-drive-plugin": "1.8.0-preview.2",
70
+ "@mlightcad/cad-pdf-plugin": "1.8.0-preview.2",
71
+ "@mlightcad/cad-pdf-core": "1.8.0-preview.2",
72
+ "@mlightcad/cad-svg-plugin": "1.8.0-preview.2",
73
+ "@mlightcad/pdf-renderer": "1.8.0-preview.2",
74
+ "@mlightcad/cad-html-plugin": "1.8.0-preview.2",
75
+ "@mlightcad/cad-simple-viewer": "1.8.0-preview.2",
76
+ "@mlightcad/three-renderer": "1.8.0-preview.2"
71
77
  },
72
78
  "peerDependencies": {
73
79
  "@mlightcad/data-model": "1.15.22",
@@ -77,19 +83,19 @@
77
83
  "three": "^0.186.1",
78
84
  "vue": "^3.4.21",
79
85
  "vue-i18n": "^11.4.4",
80
- "@mlightcad/cad-agent-core": "^1.8.0-preview.0",
81
- "@mlightcad/cad-script-core": "^1.8.0-preview.0",
82
- "@mlightcad/cad-html-plugin": "^1.8.0-preview.0",
83
- "@mlightcad/cad-google-drive-plugin": "^1.8.0-preview.0",
84
- "@mlightcad/cad-pdf-core": "^1.8.0-preview.0",
85
- "@mlightcad/cad-agent-plugin": "^1.8.0-preview.0",
86
- "@mlightcad/cad-pdf-plugin": "^1.8.0-preview.0",
87
- "@mlightcad/cad-svg-plugin": "^1.8.0-preview.0",
88
- "@mlightcad/cad-script-plugin": "^1.8.0-preview.0",
89
- "@mlightcad/pdf-renderer": "^1.8.0-preview.0",
90
- "@mlightcad/cad-onedrive-plugin": "^1.8.0-preview.0",
91
- "@mlightcad/cad-simple-viewer": "^1.8.0-preview.0",
92
- "@mlightcad/three-renderer": "^1.8.0-preview.0"
86
+ "@mlightcad/cad-agent-core": "^1.8.0-preview.2",
87
+ "@mlightcad/cad-script-core": "^1.8.0-preview.2",
88
+ "@mlightcad/cad-agent-plugin": "^1.8.0-preview.2",
89
+ "@mlightcad/cad-script-plugin": "^1.8.0-preview.2",
90
+ "@mlightcad/cad-html-plugin": "^1.8.0-preview.2",
91
+ "@mlightcad/cad-pdf-plugin": "^1.8.0-preview.2",
92
+ "@mlightcad/cad-google-drive-plugin": "^1.8.0-preview.2",
93
+ "@mlightcad/cad-onedrive-plugin": "^1.8.0-preview.2",
94
+ "@mlightcad/pdf-renderer": "^1.8.0-preview.2",
95
+ "@mlightcad/cad-svg-plugin": "^1.8.0-preview.2",
96
+ "@mlightcad/cad-simple-viewer": "^1.8.0-preview.2",
97
+ "@mlightcad/three-renderer": "^1.8.0-preview.2",
98
+ "@mlightcad/cad-pdf-core": "^1.8.0-preview.2"
93
99
  },
94
100
  "peerDependenciesMeta": {
95
101
  "@mlightcad/cad-agent-core": {
@@ -0,0 +1,96 @@
1
+ import enCommand from '../en/command'
2
+
3
+ export default {
4
+ ...enCommand,
5
+
6
+ ACAD: {
7
+ ...enCommand.ACAD,
8
+
9
+ hatch: {
10
+ ...enCommand.ACAD.hatch,
11
+ description:
12
+ 'إنشاء تعبئة تهشير باستخدام سير عمل سياقي عبر الشريط'
13
+ },
14
+
15
+ layer: {
16
+ ...enCommand.ACAD.layer,
17
+ description:
18
+ 'فتح مدير خصائص الطبقات'
19
+ },
20
+
21
+ md: {
22
+ ...enCommand.ACAD.md,
23
+ description:
24
+ 'فتح لوحة الموارد المفقودة والخارجية للخطوط والصور والمراجع الخارجية'
25
+ },
26
+
27
+ xref: {
28
+ ...enCommand.ACAD.xref,
29
+ description:
30
+ 'فتح لوحة الموارد المفقودة والخارجية على تبويب المراجع الخارجية'
31
+ },
32
+
33
+ properties: {
34
+ ...enCommand.ACAD.properties,
35
+ description:
36
+ 'فتح لوحة خصائص العناصر'
37
+ },
38
+
39
+ find: {
40
+ description:
41
+ 'فتح لوحة البحث للبحث عن النصوص والنصوص متعددة الأسطر والسمات والنص داخل الكتل والأبعاد وخطوط الإشارة والجداول عبر التخطيطات'
42
+ },
43
+
44
+ countlist: {
45
+ ...enCommand.ACAD.countlist,
46
+ description:
47
+ 'فتح لوحة العد لعرض الكتل التي تم عدها وإدارتها'
48
+ },
49
+
50
+ mem: {
51
+ ...enCommand.ACAD.mem,
52
+ description:
53
+ 'فتح لوحة ملف تعريف الذاكرة لتحليل استخدام الرسم للذاكرة'
54
+ },
55
+
56
+ pttype: {
57
+ ...enCommand.ACAD.pttype,
58
+ description:
59
+ 'تحديد نمط عرض عناصر النقاط وحجمها'
60
+ },
61
+
62
+ qselect: {
63
+ ...enCommand.ACAD.qselect,
64
+ description:
65
+ 'إنشاء مجموعة تحديد عن طريق تصفية العناصر وفق النوع وشروط الخصائص'
66
+ },
67
+
68
+ units: {
69
+ ...enCommand.ACAD.units,
70
+ description:
71
+ 'تحديد تنسيقات وحدات الطول والزوايا والدقة واتجاه الزاوية ووحدات مقياس الإدراج'
72
+ },
73
+
74
+ style: {
75
+ ...enCommand.ACAD.style,
76
+ description:
77
+ 'إنشاء أنماط النص وتعديلها وتحديدها للنص والنص متعدد الأسطر'
78
+ },
79
+
80
+ attedit: {
81
+ ...enCommand.ACAD.attedit,
82
+ description:
83
+ 'تعديل قيم السمات وخصائص عرض سمات مرجع الكتلة'
84
+ },
85
+
86
+ attdef: {
87
+ ...enCommand.ACAD.attdef,
88
+ description:
89
+ 'إنشاء تعريف سمة لاستخدامه داخل كتلة'
90
+ }
91
+ },
92
+
93
+ USER: {
94
+ ...enCommand.USER
95
+ }
96
+ }