@itwin/core-i18n 3.6.0-dev.14 → 3.6.0-dev.22
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.
|
@@ -18628,8 +18628,16 @@ class TransientIdSequence {
|
|
|
18628
18628
|
constructor() {
|
|
18629
18629
|
this._localId = 0;
|
|
18630
18630
|
}
|
|
18631
|
+
/** Generate and return the next transient Id64String in the sequence.
|
|
18632
|
+
* @deprecated Use [[getNext]].
|
|
18633
|
+
*/
|
|
18634
|
+
get next() {
|
|
18635
|
+
return this.getNext();
|
|
18636
|
+
}
|
|
18631
18637
|
/** Generate and return the next transient Id64String in the sequence. */
|
|
18632
|
-
|
|
18638
|
+
getNext() {
|
|
18639
|
+
return Id64.fromLocalAndBriefcaseIds(++this._localId, 0xffffff);
|
|
18640
|
+
}
|
|
18633
18641
|
}
|
|
18634
18642
|
/**
|
|
18635
18643
|
* The Guid namespace provides facilities for working with GUID strings using the "8-4-4-4-12" pattern.
|