@itwin/ecschema-metadata 5.15.0-dev.16 → 5.15.0-dev.18

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/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  # Change Log - @itwin/ecschema-metadata
2
2
 
3
- This log was last generated on Mon, 12 Oct 2026 17:39:12 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 27 Oct 2026 12:20:35 GMT and should not be manually modified.
4
+
5
+ ## 5.14.5
6
+ Tue, 27 Oct 2026 12:19:48 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 5.14.4
11
+ Fri, 23 Oct 2026 19:58:24 GMT
12
+
13
+ _Version update only_
4
14
 
5
15
  ## 5.14.3
6
16
  Mon, 12 Oct 2026 17:37:54 GMT
@@ -1,7 +1,7 @@
1
1
  /** @packageDocumentation
2
2
  * @module Schema
3
3
  */
4
- import { type ClassData, ClassModifier, ClassType, type EnumerationData, type EnumeratorData, type KoqData, type PropCategoryData, type PropertyDef, PropertyKind, type PropertyRef, type RelConstraintData, type SchemaData, SchemaViewPrimitiveType } from "./SchemaViewInterfaces";
4
+ import { type ClassData, ClassModifier, ClassType, type EnumerationData, type EnumeratorData, type KoqData, type PropCategoryData, type PropertyDef, PropertyKind, type PropertyRef, type RelConstraintData, type ResolvedPropertyRef, type SchemaData, SchemaViewPrimitiveType } from "./SchemaViewInterfaces";
5
5
  import { SchemaViewMergeContext } from "./SchemaViewBinaryReader";
6
6
  import { StrengthDirection, StrengthType } from "../ECObjects";
7
7
  declare const _storage: unique symbol;
@@ -13,15 +13,6 @@ interface SchemaViewStorage extends SchemaViewData {
13
13
  readonly transitiveBaseCache: Map<number, ReadonlySet<number>>;
14
14
  derivedClassMap: ReadonlyMap<number, readonly number[]> | undefined;
15
15
  }
16
- /** A property reference paired with the index of the class that declared it. Used for
17
- * property inheritance resolution - the classIdx tracks where each property originates
18
- * (base class, mixin, or own) so consumers can discover the declaring class.
19
- * @internal
20
- */
21
- export interface ResolvedPropertyRef {
22
- readonly ref: PropertyRef;
23
- readonly classIdx: number;
24
- }
25
16
  /** Internal data bag passed from the builder to the context constructor.
26
17
  * @internal
27
18
  */
@@ -142,7 +133,20 @@ export declare class SchemaView {
142
133
  /** @internal */
143
134
  resolveAllProperties(classIdx: number): readonly ResolvedPropertyRef[];
144
135
  private _collectProperties;
145
- private _collectMixinProperties;
136
+ /** Finds the property declaration that a property of the given class overrides.
137
+ * Searches the base class and its ancestors first, then each mixin in declaration order.
138
+ */
139
+ private _findOverriddenProperty;
140
+ private _findPropertyDeclaration;
141
+ /** Returns the first declaration matching `predicate`, starting with the given declaration and
142
+ * continuing with the declarations it overrides.
143
+ * @internal
144
+ */
145
+ findPropertyDefInOverrides(ref: PropertyRef, classIdx: number, predicate: (def: PropertyDef) => boolean): PropertyDef | undefined;
146
+ /** Returns the declaration the given one overrides, resolving and storing it on the ref on first access.
147
+ * Caching per ref is sound because a ref belongs to exactly one class; view properties (classIdx -1) never override.
148
+ */
149
+ private _getOverriddenProperty;
146
150
  /** @internal */
147
151
  buildDerivedClassMap(): ReadonlyMap<number, readonly number[]>;
148
152
  }
@@ -327,10 +331,17 @@ export declare namespace SchemaView {
327
331
  get description(): string;
328
332
  get kind(): PropertyKind;
329
333
  get isReadOnly(): boolean;
330
- /** Reflects the `HiddenProperty` custom attribute from `CoreCustomAttributes`.
331
- * Properties marked hidden are typically excluded from UI display but remain accessible programmatically. */
334
+ /** Reflects the `HiddenProperty` custom attribute from `CoreCustomAttributes` on this declaration only;
335
+ * see `isEffectivelyHidden`. Properties marked hidden are typically excluded from UI display but remain
336
+ * accessible programmatically. */
332
337
  get isHidden(): boolean;
333
- /** Display priority. Higher values should be displayed more prominently. 0 means default. */
338
+ /** True if this declaration is hidden. If it is not and the property is an override, we take this from the
339
+ * overridden property. Limitation: `HiddenProperty(Show=true)` reads the same as no `HiddenProperty`, so it does not
340
+ * unhide a property whose overridden property is hidden. */
341
+ get isEffectivelyHidden(): boolean;
342
+ /** Display priority. Higher values should be displayed more prominently. 0 means default.
343
+ * Not inherited from the overridden property: an omitted priority is stored as 0, which cannot be told
344
+ * apart from an explicit 0 that overrides a base priority. */
334
345
  get priority(): number;
335
346
  /** The class that declared or contributed this property through inheritance.
336
347
  * For own properties, returns the class itself. For inherited properties, returns the
@@ -339,8 +350,11 @@ export declare namespace SchemaView {
339
350
  * @beta
340
351
  */
341
352
  get declaringClass(): Class | undefined;
342
- /** Property category, or undefined if none assigned. Available on all property kinds. */
353
+ /** Property category. If there is no local category and the property is an override, we take this from
354
+ * the overridden property. Available on all property kinds. */
343
355
  get category(): PropertyCategory | undefined;
356
+ /** @internal */
357
+ protected get _kindOfQuantity(): KindOfQuantity | undefined;
344
358
  /** True for `SchemaView.PrimitiveProperty` and `SchemaView.PrimitiveArrayProperty`.
345
359
  * Matches ecschema-metadata behavior where `isPrimitive()` includes primitive arrays. */
346
360
  isPrimitive(): this is AnyPrimitiveProperty;
@@ -371,6 +385,8 @@ export declare namespace SchemaView {
371
385
  get primitiveType(): SchemaViewPrimitiveType;
372
386
  get extendedTypeName(): string | undefined;
373
387
  get enumeration(): Enumeration | undefined;
388
+ /** KindOfQuantity. If there is no local KindOfQuantity and the property is an override, we take this
389
+ * from the overridden property. */
374
390
  get kindOfQuantity(): KindOfQuantity | undefined;
375
391
  }
376
392
  /** An array of primitive values. Same primitive/enum fields as `PrimitiveProperty`,
@@ -381,6 +397,8 @@ export declare namespace SchemaView {
381
397
  get primitiveType(): SchemaViewPrimitiveType;
382
398
  get extendedTypeName(): string | undefined;
383
399
  get enumeration(): Enumeration | undefined;
400
+ /** KindOfQuantity. If there is no local KindOfQuantity and the property is an override, we take this
401
+ * from the overridden property. */
384
402
  get kindOfQuantity(): KindOfQuantity | undefined;
385
403
  get arrayMinOccurs(): number | undefined;
386
404
  get arrayMaxOccurs(): number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaView.d.ts","sourceRoot":"","sources":["../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W,mBAAmB,IAAI,SAAS,kBAAkB,EAAE,CAM9D;KACF;IAED;;OAEG;IACH,MAAa,gBAAgB;QAGzB,OAAO,CAAC,QAAQ,CAAC,IAAI;QACrB,gBAAgB,UAAiB,GAAG,EAAE,MAAM;QAH9C,gBAAgB;oBAEG,IAAI,EAAE,UAAU;QACjC,gBAAgB,CAAiB,GAAG,EAAE,MAAM;QAG9C,OAAO,KAAK,KAAK,GAA2D;QAE5E;;WAEG;QACH,IAAW,YAAY,IAAI,MAAM,CAAoC;QACrE,IAAW,IAAI,IAAI,MAAM,CAAkE;QAC3F,4EAA4E;QAC5E,IAAW,KAAK,IAAI,MAAM,CAGzB;QACD,IAAW,WAAW,IAAI,MAAM,CAG/B;QACD,mDAAmD;QACnD,IAAW,QAAQ,IAAI,MAAM,CAG5B;QACD,IAAW,MAAM,IAAI,MAAM,CAAwD;QACnF,IAAW,QAAQ,IAAI,MAAM,CAAgC;KAC9D;IAED;;OAEG;IACH,MAAa,aAAa;QAGtB,OAAO,CAAC,QAAQ,CAAC,IAAI;QACrB,OAAO,CAAC,QAAQ,CAAC,IAAI;QAHvB,gBAAgB;oBAEG,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,MAAM;QAG/B,OAAO,KAAK,KAAK,GAA4D;QAE7E,IAAW,kBAAkB,IAAI,KAAK,GAAG,SAAS,CAGjD;QACD,IAAW,WAAW,IAAI,OAAO,CAAmC;QACpE,gDAAgD;QAChD,IAAW,iBAAiB,IAAI,MAAM,CAAyC;QAC/E,gDAAgD;QAChD,IAAW,iBAAiB,IAAI,MAAM,CAAyC;QAC/E,8CAA8C;QAC9C,IAAW,SAAS,IAAI,MAAM,CAG7B;QACD,IAAW,iBAAiB,IAAI,SAAS,KAAK,EAAE,CAM/C;KACF;CACF"}
@@ -140,8 +140,8 @@ class SchemaView {
140
140
  throw new Error("SchemaView is not mergeable: create it via SchemaView.createMergeable to merge fragments.");
141
141
  this._mergeContext.mergeBlob(blob);
142
142
  // A new fragment can add subclasses to an already-present base class, so the derived-class map
143
- // must be rebuilt. transitiveBaseCache stays valid: a class's ancestors are always merged
144
- // before it (dependency order), so an append never adds an ancestor to an already-cached class.
143
+ // must be rebuilt. transitiveBaseCache and PropertyRef.overriddenProperty stay valid: a class's ancestors
144
+ // are always merged before it (dependency order), so an append never adds an ancestor to an already-cached class.
145
145
  this[_storage].derivedClassMap = undefined;
146
146
  }
147
147
  // --- Internal helpers used by view objects ---
@@ -231,12 +231,18 @@ class SchemaView {
231
231
  // 1. Base class (recursive, depth-first)
232
232
  if (cls.baseClassIdx !== -1)
233
233
  this._collectProperties(cls.baseClassIdx, merged);
234
- // 2. Mixins in declaration order
234
+ // 2. Mixins in declaration order. Each mixin is resolved on its own so its overrides win over its
235
+ // ancestors, then only adds names not already provided by the base class or an earlier mixin.
235
236
  for (let i = 0; i < cls.mixinCount; i++) {
236
237
  const mixinIdx = this[_storage].classMixins[cls.mixinStartIdx + i];
237
238
  if (mixinIdx === -1 || mixinIdx === undefined)
238
239
  continue; // safety: dangling mixin ref
239
- this._collectMixinProperties(mixinIdx, merged);
240
+ const mixinProperties = new Map();
241
+ this._collectProperties(mixinIdx, mixinProperties);
242
+ for (const [nameKey, resolved] of mixinProperties) {
243
+ if (!merged.has(nameKey))
244
+ merged.set(nameKey, resolved);
245
+ }
240
246
  }
241
247
  // 3. Own properties - always override
242
248
  for (let i = 0; i < cls.ownPropCount; i++) {
@@ -245,27 +251,62 @@ class SchemaView {
245
251
  merged.set(nameKey, { ref, classIdx });
246
252
  }
247
253
  }
248
- _collectMixinProperties(mixinIdx, merged) {
249
- const mixin = this[_storage].classes[mixinIdx];
250
- if (mixin === undefined)
251
- return; // safety: dangling index from excluded schema
252
- // Walk mixin's own base chain (mixins can extend other mixins)
253
- if (mixin.baseClassIdx !== -1)
254
- this._collectMixinProperties(mixin.baseClassIdx, merged);
255
- // Mixin's own mixins
256
- for (let i = 0; i < mixin.mixinCount; i++) {
257
- const subMixinIdx = this[_storage].classMixins[mixin.mixinStartIdx + i];
258
- if (subMixinIdx === -1 || subMixinIdx === undefined)
254
+ /** Finds the property declaration that a property of the given class overrides.
255
+ * Searches the base class and its ancestors first, then each mixin in declaration order.
256
+ */
257
+ _findOverriddenProperty(classIdx, nameKey) {
258
+ const cls = this[_storage].classes[classIdx];
259
+ if (cls === undefined || cls.type === SchemaViewInterfaces_1.ClassType.View)
260
+ return undefined;
261
+ if (cls.baseClassIdx !== -1) {
262
+ const found = this._findPropertyDeclaration(cls.baseClassIdx, nameKey);
263
+ if (found !== undefined)
264
+ return found;
265
+ }
266
+ for (let i = 0; i < cls.mixinCount; i++) {
267
+ const mixinIdx = this[_storage].classMixins[cls.mixinStartIdx + i];
268
+ if (mixinIdx === -1 || mixinIdx === undefined)
259
269
  continue; // safety: dangling mixin ref
260
- this._collectMixinProperties(subMixinIdx, merged);
270
+ const found = this._findPropertyDeclaration(mixinIdx, nameKey);
271
+ if (found !== undefined)
272
+ return found;
273
+ }
274
+ return undefined;
275
+ }
276
+ _findPropertyDeclaration(classIdx, nameKey) {
277
+ const cls = this[_storage].classes[classIdx];
278
+ if (cls === undefined)
279
+ return undefined; // safety: dangling index from excluded schema
280
+ for (let i = 0; i < cls.ownPropCount; i++) {
281
+ const ref = this[_storage].propertyRefs[cls.ownPropStart + i];
282
+ if (this[_storage].lowerStrings[this[_storage].propDefs[ref.defIdx].nameStringIdx] === nameKey)
283
+ return { ref, classIdx };
261
284
  }
262
- // Mixin's own properties - only set if not already present (first mixin wins)
263
- for (let i = 0; i < mixin.ownPropCount; i++) {
264
- const ref = this[_storage].propertyRefs[mixin.ownPropStart + i];
285
+ return this._findOverriddenProperty(classIdx, nameKey);
286
+ }
287
+ /** Returns the first declaration matching `predicate`, starting with the given declaration and
288
+ * continuing with the declarations it overrides.
289
+ * @internal
290
+ */
291
+ findPropertyDefInOverrides(ref, classIdx, predicate) {
292
+ let current = { ref, classIdx };
293
+ while (current !== null) {
294
+ const def = this[_storage].propDefs[current.ref.defIdx];
295
+ if (predicate(def))
296
+ return def;
297
+ current = this._getOverriddenProperty(current.ref, current.classIdx);
298
+ }
299
+ return undefined;
300
+ }
301
+ /** Returns the declaration the given one overrides, resolving and storing it on the ref on first access.
302
+ * Caching per ref is sound because a ref belongs to exactly one class; view properties (classIdx -1) never override.
303
+ */
304
+ _getOverriddenProperty(ref, classIdx) {
305
+ if (ref.overriddenProperty === undefined) {
265
306
  const nameKey = this[_storage].lowerStrings[this[_storage].propDefs[ref.defIdx].nameStringIdx];
266
- if (!merged.has(nameKey))
267
- merged.set(nameKey, { ref, classIdx: mixinIdx });
307
+ ref.overriddenProperty = classIdx !== -1 ? this._findOverriddenProperty(classIdx, nameKey) ?? null : null;
268
308
  }
309
+ return ref.overriddenProperty;
269
310
  }
270
311
  /** @internal */
271
312
  buildDerivedClassMap() {
@@ -291,6 +332,9 @@ exports.SchemaView = SchemaView;
291
332
  // =====================================================================================
292
333
  // SchemaView namespace - flyweight view types
293
334
  // =====================================================================================
335
+ function hasCategory(def) { return def.categoryIdx !== -1; }
336
+ function hasKindOfQuantity(def) { return def.koqIdx !== -1; }
337
+ function isHiddenDef(def) { return def.isHidden; }
294
338
  /** @beta */
295
339
  (function (SchemaView) {
296
340
  /** Lightweight view over a schema in a `SchemaView`. Holds only a view reference and
@@ -634,10 +678,21 @@ exports.SchemaView = SchemaView;
634
678
  }
635
679
  get kind() { return this._def.kind; }
636
680
  get isReadOnly() { return this._def.isReadOnly; }
637
- /** Reflects the `HiddenProperty` custom attribute from `CoreCustomAttributes`.
638
- * Properties marked hidden are typically excluded from UI display but remain accessible programmatically. */
681
+ /** Reflects the `HiddenProperty` custom attribute from `CoreCustomAttributes` on this declaration only;
682
+ * see `isEffectivelyHidden`. Properties marked hidden are typically excluded from UI display but remain
683
+ * accessible programmatically. */
639
684
  get isHidden() { return this._def.isHidden; }
640
- /** Display priority. Higher values should be displayed more prominently. 0 means default. */
685
+ /** True if this declaration is hidden. If it is not and the property is an override, we take this from the
686
+ * overridden property. Limitation: `HiddenProperty(Show=true)` reads the same as no `HiddenProperty`, so it does not
687
+ * unhide a property whose overridden property is hidden. */
688
+ get isEffectivelyHidden() {
689
+ if (this._def.isHidden)
690
+ return true;
691
+ return this._ctx.findPropertyDefInOverrides(this._ref, this._classIdx, isHiddenDef) !== undefined;
692
+ }
693
+ /** Display priority. Higher values should be displayed more prominently. 0 means default.
694
+ * Not inherited from the overridden property: an omitted priority is stored as 0, which cannot be told
695
+ * apart from an explicit 0 that overrides a base priority. */
641
696
  get priority() { return this._ref.priority; }
642
697
  /** The class that declared or contributed this property through inheritance.
643
698
  * For own properties, returns the class itself. For inherited properties, returns the
@@ -648,11 +703,21 @@ exports.SchemaView = SchemaView;
648
703
  get declaringClass() {
649
704
  return this._classIdx !== -1 ? createClass(this._ctx, this._classIdx) : undefined;
650
705
  }
651
- /** Property category, or undefined if none assigned. Available on all property kinds. */
706
+ /** Property category. If there is no local category and the property is an override, we take this from
707
+ * the overridden property. Available on all property kinds. */
652
708
  get category() {
653
- const idx = this._def.categoryIdx;
709
+ let idx = this._def.categoryIdx;
710
+ if (idx === -1 && this._ctx[_storage].propCategories.length !== 0)
711
+ idx = this._ctx.findPropertyDefInOverrides(this._ref, this._classIdx, hasCategory)?.categoryIdx ?? -1;
654
712
  return idx !== -1 ? new PropertyCategory(this._ctx, idx) : undefined;
655
713
  }
714
+ /** @internal */
715
+ get _kindOfQuantity() {
716
+ let idx = this._def.koqIdx;
717
+ if (idx === -1 && this._ctx[_storage].koqs.length !== 0)
718
+ idx = this._ctx.findPropertyDefInOverrides(this._ref, this._classIdx, hasKindOfQuantity)?.koqIdx ?? -1;
719
+ return idx !== -1 ? new KindOfQuantity(this._ctx, idx) : undefined;
720
+ }
656
721
  // Type guards - real type predicates that narrow `this`
657
722
  /** True for `SchemaView.PrimitiveProperty` and `SchemaView.PrimitiveArrayProperty`.
658
723
  * Matches ecschema-metadata behavior where `isPrimitive()` includes primitive arrays. */
@@ -714,10 +779,9 @@ exports.SchemaView = SchemaView;
714
779
  const idx = this._def.enumIdx;
715
780
  return idx !== -1 ? new Enumeration(this._ctx, idx) : undefined;
716
781
  }
717
- get kindOfQuantity() {
718
- const idx = this._def.koqIdx;
719
- return idx !== -1 ? new KindOfQuantity(this._ctx, idx) : undefined;
720
- }
782
+ /** KindOfQuantity. If there is no local KindOfQuantity and the property is an override, we take this
783
+ * from the overridden property. */
784
+ get kindOfQuantity() { return this._kindOfQuantity; }
721
785
  }
722
786
  SchemaView.PrimitiveProperty = PrimitiveProperty;
723
787
  /** An array of primitive values. Same primitive/enum fields as `PrimitiveProperty`,
@@ -734,10 +798,9 @@ exports.SchemaView = SchemaView;
734
798
  const idx = this._def.enumIdx;
735
799
  return idx !== -1 ? new Enumeration(this._ctx, idx) : undefined;
736
800
  }
737
- get kindOfQuantity() {
738
- const idx = this._def.koqIdx;
739
- return idx !== -1 ? new KindOfQuantity(this._ctx, idx) : undefined;
740
- }
801
+ /** KindOfQuantity. If there is no local KindOfQuantity and the property is an override, we take this
802
+ * from the overridden property. */
803
+ get kindOfQuantity() { return this._kindOfQuantity; }
741
804
  get arrayMinOccurs() { return this._def.arrayMinOccurs; }
742
805
  get arrayMaxOccurs() { return this._def.arrayMaxOccurs; }
743
806
  }