@mlightcad/graphic-interface 3.15.19 → 3.15.20

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.
@@ -71,5 +71,19 @@ export interface AcGiSubEntityTraits {
71
71
  * background).
72
72
  */
73
73
  isBackgroundFill?: boolean;
74
+ /**
75
+ * Whether the entity's *own* colour was ByLayer before {@link color} was
76
+ * resolved against the layer table.
77
+ *
78
+ * {@link color} is stored pre-resolved, so ByLayer content on an ACI-7 layer
79
+ * becomes an absolute ACI 7 and is indistinguishable from an explicitly
80
+ * authored ACI 7. Renderers need the original provenance to decide whether a
81
+ * layer-0 block entity inherits the INSERT layer's colour: a ByLayer colour
82
+ * must inherit, an explicit ACI 7 must stay white/black.
83
+ *
84
+ * `undefined` means "unknown" (foreign traits, legacy call sites); consumers
85
+ * must then fall back to inspecting {@link color}.
86
+ */
87
+ isColorByLayer?: boolean;
74
88
  }
75
89
  //# sourceMappingURL=AcGiSubEntityTraits.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AcGiSubEntityTraits.d.ts","sourceRoot":"","sources":["../src/AcGiSubEntityTraits.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;;OAKG;IACH,KAAK,EAAE,SAAS,CAAA;IAEhB;;;OAGG;IACH,QAAQ,EAAE,aAAa,CAAA;IAEvB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;;OAGG;IACH,UAAU,EAAE,cAAc,CAAA;IAE1B;;;;OAIG;IACH,QAAQ,EAAE,cAAc,CAAA;IAExB;;;OAGG;IACH,YAAY,EAAE,gBAAgB,CAAA;IAE9B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;;;;;;OAQG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;;;;;OAOG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B"}
1
+ {"version":3,"file":"AcGiSubEntityTraits.d.ts","sourceRoot":"","sources":["../src/AcGiSubEntityTraits.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;;OAKG;IACH,KAAK,EAAE,SAAS,CAAA;IAEhB;;;OAGG;IACH,QAAQ,EAAE,aAAa,CAAA;IAEvB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;;OAGG;IACH,UAAU,EAAE,cAAc,CAAA;IAE1B;;;;OAIG;IACH,QAAQ,EAAE,cAAc,CAAA;IAExB;;;OAGG;IACH,YAAY,EAAE,gBAAgB,CAAA;IAE9B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;;;;;;OAQG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;;;;;OAOG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAE1B;;;;;;;;;;;;OAYG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlightcad/graphic-interface",
3
- "version": "3.15.19",
3
+ "version": "3.15.20",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -34,8 +34,8 @@
34
34
  "require": "./dist/graphic-interface.umd.cjs"
35
35
  },
36
36
  "peerDependencies": {
37
- "@mlightcad/common": "1.15.19",
38
- "@mlightcad/geometry-engine": "3.15.19"
37
+ "@mlightcad/geometry-engine": "3.15.20",
38
+ "@mlightcad/common": "1.15.20"
39
39
  },
40
40
  "scripts": {
41
41
  "clean": "rimraf dist lib tsconfig.tsbuildinfo",