@mlightcad/data-model 1.14.14 → 1.15.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.
- package/README.md +264 -264
- package/dist/data-model.cjs +1 -1
- package/lib/converter/worker/AcDbDwgConverterLicense.d.ts +2 -2
- package/lib/converter/worker/AcDbDwgConverterLicense.d.ts.map +1 -1
- package/lib/converter/worker/AcDbDwgConverterLicense.js +4 -4
- package/lib/converter/worker/AcDbDwgConverterLicense.js.map +1 -1
- package/lib/misc/AcDbImportDynBlockMetadata.d.ts +1 -1
- package/lib/misc/AcDbImportDynBlockMetadata.js +1 -1
- package/package.json +5 -5
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Shared helpers for classifying `@
|
|
2
|
+
* Shared helpers for classifying `@mlightcad/dwg-converter` license failures.
|
|
3
3
|
*
|
|
4
4
|
* Markers are kept in sync with the converter's user-facing license messages.
|
|
5
5
|
*/
|
|
6
|
-
/** Error name thrown by `@
|
|
6
|
+
/** Error name thrown by `@mlightcad/dwg-converter` for license failures. */
|
|
7
7
|
export declare const ACDB_DWG_CONVERTER_LICENSE_ERROR_NAME = "DwgConverterLicenseError";
|
|
8
8
|
/** Machine-readable license failure codes shared by worker and open-database errors. */
|
|
9
9
|
export type AcDbDwgConverterLicenseCode = 'license_expired' | 'license_invalid';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcDbDwgConverterLicense.d.ts","sourceRoot":"","sources":["../../../src/converter/worker/AcDbDwgConverterLicense.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,
|
|
1
|
+
{"version":3,"file":"AcDbDwgConverterLicense.d.ts","sourceRoot":"","sources":["../../../src/converter/worker/AcDbDwgConverterLicense.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,4EAA4E;AAC5E,eAAO,MAAM,qCAAqC,6BACtB,CAAA;AAE5B,wFAAwF;AACxF,MAAM,MAAM,2BAA2B,GACnC,iBAAiB,GACjB,iBAAiB,CAAA;AAUrB;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,IAAI,EAAE,OAAO,GACZ,IAAI,IAAI,2BAA2B,CAErC;AAED;;;;GAIG;AACH,wBAAgB,sCAAsC,CACpD,OAAO,EAAE,MAAM,GACd,2BAA2B,GAAG,SAAS,CASzC;AAED;;GAEG;AACH,wBAAgB,+CAA+C,CAC7D,OAAO,EAAE,MAAM,GACd,2BAA2B,CAE7B"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Shared helpers for classifying `@
|
|
2
|
+
* Shared helpers for classifying `@mlightcad/dwg-converter` license failures.
|
|
3
3
|
*
|
|
4
4
|
* Markers are kept in sync with the converter's user-facing license messages.
|
|
5
5
|
*/
|
|
6
|
-
/** Error name thrown by `@
|
|
6
|
+
/** Error name thrown by `@mlightcad/dwg-converter` for license failures. */
|
|
7
7
|
export var ACDB_DWG_CONVERTER_LICENSE_ERROR_NAME = 'DwgConverterLicenseError';
|
|
8
8
|
var LICENSE_EXPIRED_MARKERS = [
|
|
9
|
-
'evaluation of @
|
|
9
|
+
'evaluation of @mlightcad/dwg-converter has expired'
|
|
10
10
|
];
|
|
11
11
|
var LICENSE_INVALID_MARKERS = [
|
|
12
|
-
'invalid @
|
|
12
|
+
'invalid @mlightcad/dwg-converter license key'
|
|
13
13
|
];
|
|
14
14
|
/**
|
|
15
15
|
* Returns `true` when {@link code} is a DWG converter license failure code.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcDbDwgConverterLicense.js","sourceRoot":"","sources":["../../../src/converter/worker/AcDbDwgConverterLicense.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,
|
|
1
|
+
{"version":3,"file":"AcDbDwgConverterLicense.js","sourceRoot":"","sources":["../../../src/converter/worker/AcDbDwgConverterLicense.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,4EAA4E;AAC5E,MAAM,CAAC,IAAM,qCAAqC,GAChD,0BAA0B,CAAA;AAO5B,IAAM,uBAAuB,GAAG;IAC9B,oDAAoD;CAC5C,CAAA;AAEV,IAAM,uBAAuB,GAAG;IAC9B,8CAA8C;CACtC,CAAA;AAEV;;GAEG;AACH,MAAM,UAAU,6BAA6B,CAC3C,IAAa;IAEb,OAAO,IAAI,KAAK,iBAAiB,IAAI,IAAI,KAAK,iBAAiB,CAAA;AACjE,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,sCAAsC,CACpD,OAAe;IAEf,IAAM,KAAK,GAAG,OAAO,CAAC,WAAW,EAAE,CAAA;IACnC,IAAI,uBAAuB,CAAC,IAAI,CAAC,UAAA,MAAM,IAAI,OAAA,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAtB,CAAsB,CAAC,EAAE,CAAC;QACnE,OAAO,iBAAiB,CAAA;IAC1B,CAAC;IACD,IAAI,uBAAuB,CAAC,IAAI,CAAC,UAAA,MAAM,IAAI,OAAA,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAtB,CAAsB,CAAC,EAAE,CAAC;QACnE,OAAO,iBAAiB,CAAA;IAC1B,CAAC;IACD,OAAO,SAAS,CAAA;AAClB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,+CAA+C,CAC7D,OAAe;;IAEf,OAAO,MAAA,sCAAsC,CAAC,OAAO,CAAC,mCAAI,iBAAiB,CAAA;AAC7E,CAAC"}
|
|
@@ -28,7 +28,7 @@ export interface AcDbImportDynBlockMetadataOptions {
|
|
|
28
28
|
/**
|
|
29
29
|
* Imports dynamic-block dictionary / representation objects into `db`.
|
|
30
30
|
*
|
|
31
|
-
* Both `@mlightcad/libredwg-converter` and `@
|
|
31
|
+
* Both `@mlightcad/libredwg-converter` and `@mlightcad/dwg-converter` should
|
|
32
32
|
* call this after entities and block table records exist, and after setting
|
|
33
33
|
* `extensionDictionary` handles on INSERTs / BTRs.
|
|
34
34
|
*
|
|
@@ -46,7 +46,7 @@ function normalizeHandle(handle) {
|
|
|
46
46
|
/**
|
|
47
47
|
* Imports dynamic-block dictionary / representation objects into `db`.
|
|
48
48
|
*
|
|
49
|
-
* Both `@mlightcad/libredwg-converter` and `@
|
|
49
|
+
* Both `@mlightcad/libredwg-converter` and `@mlightcad/dwg-converter` should
|
|
50
50
|
* call this after entities and block table records exist, and after setting
|
|
51
51
|
* `extensionDictionary` handles on INSERTs / BTRs.
|
|
52
52
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mlightcad/data-model",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"uid": "^2.0.2",
|
|
39
|
-
"@mlightcad/
|
|
40
|
-
"@mlightcad/
|
|
41
|
-
"@mlightcad/
|
|
42
|
-
"@mlightcad/
|
|
39
|
+
"@mlightcad/emf-converter": "1.15.0",
|
|
40
|
+
"@mlightcad/geometry-engine": "3.15.0",
|
|
41
|
+
"@mlightcad/graphic-interface": "3.15.0",
|
|
42
|
+
"@mlightcad/common": "1.15.0"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"analyze": "pnpm run analyze:lib",
|