@itwin/rpcinterface-full-stack-tests 5.3.0-dev.2 → 5.3.0-dev.3
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/lib/dist/bundled-tests.js +74 -81
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -73140,17 +73140,17 @@ class TextBlockComponent {
|
|
|
73140
73140
|
_styleOverrides;
|
|
73141
73141
|
/** @internal */
|
|
73142
73142
|
constructor(props) {
|
|
73143
|
-
this._styleOverrides =
|
|
73143
|
+
this._styleOverrides = structuredClone(props?.styleOverrides ?? {});
|
|
73144
73144
|
}
|
|
73145
73145
|
/** Deviations in individual properties of the [[TextStyleSettings]] in the [AnnotationTextStyle]($backend).
|
|
73146
|
-
* For example, if the style uses the "Arial" font, you can override that by settings `styleOverrides.
|
|
73146
|
+
* For example, if the style uses the "Arial" font, you can override that by settings `styleOverrides.font.name` to "Comic Sans".
|
|
73147
73147
|
* @see [[clearStyleOverrides]] to reset this to an empty object.
|
|
73148
73148
|
*/
|
|
73149
73149
|
get styleOverrides() {
|
|
73150
73150
|
return this._styleOverrides;
|
|
73151
73151
|
}
|
|
73152
73152
|
set styleOverrides(overrides) {
|
|
73153
|
-
this._styleOverrides =
|
|
73153
|
+
this._styleOverrides = structuredClone(overrides);
|
|
73154
73154
|
}
|
|
73155
73155
|
/** Reset any [[styleOverrides]] applied to this component. */
|
|
73156
73156
|
clearStyleOverrides(_options) {
|
|
@@ -73171,23 +73171,14 @@ class TextBlockComponent {
|
|
|
73171
73171
|
/** Convert this component to its JSON representation. */
|
|
73172
73172
|
toJSON() {
|
|
73173
73173
|
return {
|
|
73174
|
-
styleOverrides:
|
|
73174
|
+
styleOverrides: structuredClone(this.styleOverrides),
|
|
73175
73175
|
};
|
|
73176
73176
|
}
|
|
73177
73177
|
/** Returns true if `this` is equivalent to `other`. */
|
|
73178
73178
|
equals(other) {
|
|
73179
|
-
const
|
|
73180
|
-
const
|
|
73181
|
-
|
|
73182
|
-
return false;
|
|
73183
|
-
}
|
|
73184
|
-
for (const name of myKeys) {
|
|
73185
|
-
const key = name;
|
|
73186
|
-
if (this.styleOverrides[key] !== other.styleOverrides[key]) {
|
|
73187
|
-
return false;
|
|
73188
|
-
}
|
|
73189
|
-
}
|
|
73190
|
-
return true;
|
|
73179
|
+
const mySettings = _TextStyle__WEBPACK_IMPORTED_MODULE_0__.TextStyleSettings.fromJSON(this.styleOverrides);
|
|
73180
|
+
const otherSettings = _TextStyle__WEBPACK_IMPORTED_MODULE_0__.TextStyleSettings.fromJSON(other.styleOverrides);
|
|
73181
|
+
return mySettings.equals(otherSettings);
|
|
73191
73182
|
}
|
|
73192
73183
|
}
|
|
73193
73184
|
/** A sequence of characters within a [[Paragraph]] that share a single style. Runs are the leaf nodes of a [[TextBlock]] document. When laid out for display, a single run may span
|
|
@@ -73555,7 +73546,6 @@ class List extends TextBlockComponent {
|
|
|
73555
73546
|
return (other instanceof List) && super.equals(other);
|
|
73556
73547
|
}
|
|
73557
73548
|
}
|
|
73558
|
-
;
|
|
73559
73549
|
/** Represents a formatted text document consisting of a series of [[Paragraph]]s, each laid out on a separate line and containing their own content.
|
|
73560
73550
|
* No word-wrapping is applied to the document unless a [[width]] greater than zero is specified.
|
|
73561
73551
|
* @see [[TextAnnotation]] to position a text block as an annotation in 2d or 3d space.
|
|
@@ -73568,21 +73558,9 @@ class TextBlock extends TextBlockComponent {
|
|
|
73568
73558
|
* Default: 0
|
|
73569
73559
|
*/
|
|
73570
73560
|
width;
|
|
73571
|
-
/** The alignment of the document's content. */
|
|
73572
|
-
justification;
|
|
73573
|
-
/** The margins of the document. */
|
|
73574
|
-
margins;
|
|
73575
73561
|
constructor(props) {
|
|
73576
73562
|
super(props);
|
|
73577
73563
|
this.width = props.width ?? 0;
|
|
73578
|
-
this.justification = props.justification ?? "left";
|
|
73579
|
-
// Assign default margins if not provided
|
|
73580
|
-
this.margins = {
|
|
73581
|
-
left: props.margins?.left ?? 0,
|
|
73582
|
-
right: props.margins?.right ?? 0,
|
|
73583
|
-
top: props.margins?.top ?? 0,
|
|
73584
|
-
bottom: props.margins?.bottom ?? 0,
|
|
73585
|
-
};
|
|
73586
73564
|
this.children = props?.children?.map((para) => Paragraph.create(para)) ?? [];
|
|
73587
73565
|
}
|
|
73588
73566
|
clearStyleOverrides(options) {
|
|
@@ -73592,8 +73570,6 @@ class TextBlock extends TextBlockComponent {
|
|
|
73592
73570
|
return {
|
|
73593
73571
|
...super.toJSON(),
|
|
73594
73572
|
width: this.width,
|
|
73595
|
-
justification: this.justification,
|
|
73596
|
-
margins: this.margins,
|
|
73597
73573
|
children: this.children.map((x) => x.toJSON()),
|
|
73598
73574
|
};
|
|
73599
73575
|
}
|
|
@@ -73638,12 +73614,9 @@ class TextBlock extends TextBlockComponent {
|
|
|
73638
73614
|
if (!super.equals(other)) {
|
|
73639
73615
|
return false;
|
|
73640
73616
|
}
|
|
73641
|
-
if (this.width !== other.width
|
|
73617
|
+
if (this.width !== other.width) {
|
|
73642
73618
|
return false;
|
|
73643
73619
|
}
|
|
73644
|
-
const marginsAreEqual = Object.entries(this.margins).every(([key, value]) => value === other.margins[key]);
|
|
73645
|
-
if (!marginsAreEqual)
|
|
73646
|
-
return false;
|
|
73647
73620
|
if (this.children && other.children) {
|
|
73648
73621
|
if (this.children.length !== other.children.length) {
|
|
73649
73622
|
return false;
|
|
@@ -73808,6 +73781,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
73808
73781
|
/* harmony export */ textAnnotationFrameShapes: () => (/* binding */ textAnnotationFrameShapes)
|
|
73809
73782
|
/* harmony export */ });
|
|
73810
73783
|
/* harmony import */ var _ColorDef__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../ColorDef */ "../../core/common/lib/esm/ColorDef.js");
|
|
73784
|
+
/* harmony import */ var _Fonts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Fonts */ "../../core/common/lib/esm/Fonts.js");
|
|
73811
73785
|
/*---------------------------------------------------------------------------------------------
|
|
73812
73786
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
73813
73787
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -73816,6 +73790,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
73816
73790
|
* @module Annotation
|
|
73817
73791
|
*/
|
|
73818
73792
|
|
|
73793
|
+
|
|
73819
73794
|
/** Predefined markers for list items in text annotations.
|
|
73820
73795
|
* These values control the appearance of list item markers (e.g., bullet, circle, square, dash, number) that denote the start of a list item in a list.
|
|
73821
73796
|
* @beta
|
|
@@ -73837,6 +73812,7 @@ var ListMarkerEnumerator;
|
|
|
73837
73812
|
*/
|
|
73838
73813
|
const textAnnotationFrameShapes = ["none", "line", "rectangle", "circle", "equilateralTriangle", "diamond", "square", "pentagon", "hexagon", "octagon", "capsule", "roundedRectangle"];
|
|
73839
73814
|
;
|
|
73815
|
+
;
|
|
73840
73816
|
function deepFreeze(obj) {
|
|
73841
73817
|
if (obj === null || typeof obj !== "object" || Object.isFrozen(obj))
|
|
73842
73818
|
return;
|
|
@@ -73857,20 +73833,20 @@ function deepFreeze(obj) {
|
|
|
73857
73833
|
class TextStyleSettings {
|
|
73858
73834
|
/** The color of the text. */
|
|
73859
73835
|
color;
|
|
73860
|
-
/** The
|
|
73836
|
+
/** The font stored in an iModel, used to draw the contents of a [[TextRun]].
|
|
73861
73837
|
*/
|
|
73862
|
-
|
|
73863
|
-
/** The height
|
|
73864
|
-
* For example, the height and offset from baseline of a subscript [[TextRun]] are computed as
|
|
73865
|
-
*
|
|
73838
|
+
font;
|
|
73839
|
+
/** The height of the text, in meters. Many other settings use the text height as the basis for computing their own values.
|
|
73840
|
+
* For example, the height and offset from baseline of a subscript [[TextRun]] are computed as textHeight * [[subScriptScale]] and
|
|
73841
|
+
* textHeight * [[subScriptOffsetFactor]], respectively.
|
|
73866
73842
|
*/
|
|
73867
|
-
|
|
73843
|
+
textHeight;
|
|
73868
73844
|
/** Multiplier used to compute the vertical distance between two lines of text.
|
|
73869
|
-
* The distance is computed in meters as lineSpacingFactor * [[
|
|
73845
|
+
* The distance is computed in meters as lineSpacingFactor * [[textHeight]] of the [[TextBlock]].
|
|
73870
73846
|
*/
|
|
73871
73847
|
lineSpacingFactor;
|
|
73872
73848
|
/** Multiplier used to compute the vertical distance between two paragraphs of text.
|
|
73873
|
-
* The distance is computed in meters as paragraphSpacingFactor * [[
|
|
73849
|
+
* The distance is computed in meters as paragraphSpacingFactor * the [[TextBlock]]'s [[textHeight]].
|
|
73874
73850
|
*/
|
|
73875
73851
|
paragraphSpacingFactor;
|
|
73876
73852
|
/** Specifies whether the content of a [[TextRun]] should be rendered **bold**. */
|
|
@@ -73880,28 +73856,28 @@ class TextStyleSettings {
|
|
|
73880
73856
|
/** Specifies whether the content of a [[TextRun]] should be underlined. */
|
|
73881
73857
|
isUnderlined;
|
|
73882
73858
|
/** Multiplier used to compute the height of both the numerator and denominator of a [[FractionRun]].
|
|
73883
|
-
* The height is computed in meters as stackedFractionScale * [[
|
|
73859
|
+
* The height is computed in meters as stackedFractionScale * [[textHeight]].
|
|
73884
73860
|
*/
|
|
73885
73861
|
stackedFractionScale;
|
|
73886
73862
|
/** Specifies how to separate the numerator and denominator of a [[FractionRun]]. */
|
|
73887
73863
|
stackedFractionType;
|
|
73888
73864
|
/** Multiplier used to compute the vertical offset from the baseline for a subscript [[TextRun]].
|
|
73889
|
-
* The offset is computed in meters as subScriptOffsetFactor * [[
|
|
73865
|
+
* The offset is computed in meters as subScriptOffsetFactor * [[textHeight]].
|
|
73890
73866
|
*/
|
|
73891
73867
|
subScriptOffsetFactor;
|
|
73892
73868
|
/** Multiplier used to compute the height of a subscript [[TextRun]].
|
|
73893
|
-
* The height is computed as subScriptScale * [[
|
|
73869
|
+
* The height is computed as subScriptScale * [[textHeight]].
|
|
73894
73870
|
*/
|
|
73895
73871
|
subScriptScale;
|
|
73896
73872
|
/** Multiplier used to compute the vertical offset from the baseline for a super [[TextRun]].
|
|
73897
|
-
* The offset is computed in meters as superScriptOffsetFactor * [[
|
|
73873
|
+
* The offset is computed in meters as superScriptOffsetFactor * [[textHeight]].
|
|
73898
73874
|
*/
|
|
73899
73875
|
superScriptOffsetFactor;
|
|
73900
73876
|
/** Multiplier used to compute the height of a superscript [[TextRun]].
|
|
73901
|
-
* The height is computed as superScriptScale * [[
|
|
73877
|
+
* The height is computed as superScriptScale * [[textHeight]].
|
|
73902
73878
|
*/
|
|
73903
73879
|
superScriptScale;
|
|
73904
|
-
/** Multiplier used to compute the width of each glyph, relative to [[
|
|
73880
|
+
/** Multiplier used to compute the width of each glyph, relative to [[textHeight]]. */
|
|
73905
73881
|
widthFactor;
|
|
73906
73882
|
/** Properties describing appearance of leaders in a [[TextAnnotation]].
|
|
73907
73883
|
* Used when producing geometry for [[TextAnnotation]].
|
|
@@ -73926,11 +73902,15 @@ class TextStyleSettings {
|
|
|
73926
73902
|
listMarker;
|
|
73927
73903
|
/** The frame settings of the [[TextAnnotation]]. */
|
|
73928
73904
|
frame;
|
|
73929
|
-
/**
|
|
73905
|
+
/** The margins to surround the document content. */
|
|
73906
|
+
margins;
|
|
73907
|
+
/** The alignment of the text content. */
|
|
73908
|
+
justification;
|
|
73909
|
+
/** A fully-populated JSON representation of the default settings. A real `font` must be provided before use. */
|
|
73930
73910
|
static defaultProps = {
|
|
73931
73911
|
color: "subcategory",
|
|
73932
|
-
|
|
73933
|
-
|
|
73912
|
+
font: { name: "", type: _Fonts__WEBPACK_IMPORTED_MODULE_1__.FontType.TrueType },
|
|
73913
|
+
textHeight: 1,
|
|
73934
73914
|
lineSpacingFactor: 0.5,
|
|
73935
73915
|
paragraphSpacingFactor: 0.5,
|
|
73936
73916
|
isBold: false,
|
|
@@ -73955,10 +73935,17 @@ class TextStyleSettings {
|
|
|
73955
73935
|
listMarker: { enumerator: "1", terminator: "period", case: "lower" },
|
|
73956
73936
|
frame: {
|
|
73957
73937
|
shape: "none",
|
|
73958
|
-
|
|
73959
|
-
|
|
73938
|
+
fillColor: "none",
|
|
73939
|
+
borderColor: _ColorDef__WEBPACK_IMPORTED_MODULE_0__.ColorDef.black.toJSON(),
|
|
73960
73940
|
borderWeight: 1,
|
|
73961
73941
|
},
|
|
73942
|
+
margins: {
|
|
73943
|
+
left: 0,
|
|
73944
|
+
right: 0,
|
|
73945
|
+
top: 0,
|
|
73946
|
+
bottom: 0
|
|
73947
|
+
},
|
|
73948
|
+
justification: "left",
|
|
73962
73949
|
};
|
|
73963
73950
|
/** Settings initialized to all default values. */
|
|
73964
73951
|
static defaults = new TextStyleSettings({});
|
|
@@ -73967,8 +73954,12 @@ class TextStyleSettings {
|
|
|
73967
73954
|
defaults = TextStyleSettings.defaultProps;
|
|
73968
73955
|
}
|
|
73969
73956
|
this.color = props.color ?? defaults.color;
|
|
73970
|
-
|
|
73971
|
-
|
|
73957
|
+
const font = {
|
|
73958
|
+
name: props.font?.name ?? defaults.font.name,
|
|
73959
|
+
type: props.font?.type ?? defaults.font.type,
|
|
73960
|
+
};
|
|
73961
|
+
this.font = Object.freeze(font);
|
|
73962
|
+
this.textHeight = props.textHeight ?? defaults.textHeight;
|
|
73972
73963
|
this.lineSpacingFactor = props.lineSpacingFactor ?? defaults.lineSpacingFactor;
|
|
73973
73964
|
this.paragraphSpacingFactor = props.paragraphSpacingFactor ?? defaults.paragraphSpacingFactor;
|
|
73974
73965
|
this.isBold = props.isBold ?? defaults.isBold;
|
|
@@ -73994,34 +73985,30 @@ class TextStyleSettings {
|
|
|
73994
73985
|
this.listMarker = props.listMarker ?? defaults.listMarker;
|
|
73995
73986
|
const frame = {
|
|
73996
73987
|
shape: props.frame?.shape ?? defaults.frame.shape,
|
|
73997
|
-
|
|
73998
|
-
|
|
73988
|
+
fillColor: props.frame?.fillColor ?? defaults.frame.fillColor,
|
|
73989
|
+
borderColor: props.frame?.borderColor ?? defaults.frame.borderColor,
|
|
73999
73990
|
borderWeight: props.frame?.borderWeight ?? defaults.frame.borderWeight,
|
|
74000
73991
|
};
|
|
74001
73992
|
// Cast to indicate to TypeScript that the frame properties are all defined
|
|
74002
73993
|
this.frame = Object.freeze(frame);
|
|
73994
|
+
this.margins = Object.freeze({
|
|
73995
|
+
left: props.margins?.left ?? defaults.margins.left,
|
|
73996
|
+
right: props.margins?.right ?? defaults.margins.right,
|
|
73997
|
+
top: props.margins?.top ?? defaults.margins.top,
|
|
73998
|
+
bottom: props.margins?.bottom ?? defaults.margins.bottom,
|
|
73999
|
+
});
|
|
74000
|
+
this.justification = props.justification ?? defaults.justification;
|
|
74003
74001
|
}
|
|
74004
74002
|
/** Create a copy of these settings, modified according to the properties defined by `alteredProps`. */
|
|
74005
74003
|
clone(alteredProps) {
|
|
74006
74004
|
return alteredProps ? new TextStyleSettings(alteredProps, this) : this;
|
|
74007
74005
|
}
|
|
74008
|
-
/** Creates a deep copy of the `TextStyleSettingsProps`. */
|
|
74009
|
-
static cloneProps(props) {
|
|
74010
|
-
const copy = { ...props };
|
|
74011
|
-
if (props.leader) {
|
|
74012
|
-
copy.leader = { ...props.leader };
|
|
74013
|
-
}
|
|
74014
|
-
if (props.frame) {
|
|
74015
|
-
copy.frame = { ...props.frame };
|
|
74016
|
-
}
|
|
74017
|
-
return copy;
|
|
74018
|
-
}
|
|
74019
74006
|
/** Create settings from their JSON representation. */
|
|
74020
74007
|
static fromJSON(props) {
|
|
74021
74008
|
return props ? new TextStyleSettings(props) : TextStyleSettings.defaults;
|
|
74022
74009
|
}
|
|
74023
74010
|
toJSON() {
|
|
74024
|
-
return
|
|
74011
|
+
return structuredClone(this);
|
|
74025
74012
|
}
|
|
74026
74013
|
/** Compare two [[TextLeaderStyleProps]] for equality.
|
|
74027
74014
|
* @param other The other leader style properties to compare against.
|
|
@@ -74034,21 +74021,27 @@ class TextStyleSettings {
|
|
|
74034
74021
|
}
|
|
74035
74022
|
frameEquals(other) {
|
|
74036
74023
|
return this.frame?.shape === other.shape
|
|
74037
|
-
&& this.frame?.
|
|
74038
|
-
&& this.frame?.
|
|
74024
|
+
&& this.frame?.fillColor === other.fillColor
|
|
74025
|
+
&& this.frame?.borderColor === other.borderColor
|
|
74039
74026
|
&& this.frame?.borderWeight === other.borderWeight;
|
|
74040
74027
|
}
|
|
74028
|
+
marginsEqual(other) {
|
|
74029
|
+
return Object.entries(this.margins).every(([key, value]) => value === other[key]);
|
|
74030
|
+
}
|
|
74041
74031
|
equals(other) {
|
|
74042
|
-
return this.color === other.color && this.
|
|
74043
|
-
&& this.
|
|
74032
|
+
return this.color === other.color && this.font.name === other.font.name && this.font.type === other.font.type
|
|
74033
|
+
&& this.textHeight === other.textHeight && this.widthFactor === other.widthFactor
|
|
74034
|
+
&& this.lineSpacingFactor === other.lineSpacingFactor && this.paragraphSpacingFactor === other.paragraphSpacingFactor
|
|
74044
74035
|
&& this.isBold === other.isBold && this.isItalic === other.isItalic && this.isUnderlined === other.isUnderlined
|
|
74045
74036
|
&& this.stackedFractionType === other.stackedFractionType && this.stackedFractionScale === other.stackedFractionScale
|
|
74046
74037
|
&& this.subScriptOffsetFactor === other.subScriptOffsetFactor && this.subScriptScale === other.subScriptScale
|
|
74047
74038
|
&& this.superScriptOffsetFactor === other.superScriptOffsetFactor && this.superScriptScale === other.superScriptScale
|
|
74048
74039
|
&& this.tabInterval === other.tabInterval && this.indentation === other.indentation
|
|
74049
74040
|
&& this.listMarker.case === other.listMarker.case && this.listMarker.enumerator === other.listMarker.enumerator && this.listMarker.terminator === other.listMarker.terminator
|
|
74041
|
+
&& this.justification === other.justification
|
|
74050
74042
|
&& this.leaderEquals(other.leader)
|
|
74051
|
-
&& this.frameEquals(other.frame)
|
|
74043
|
+
&& this.frameEquals(other.frame)
|
|
74044
|
+
&& this.marginsEqual(other.margins);
|
|
74052
74045
|
}
|
|
74053
74046
|
/**
|
|
74054
74047
|
* Returns a list of validation errors for this instance.
|
|
@@ -74062,11 +74055,11 @@ class TextStyleSettings {
|
|
|
74062
74055
|
*/
|
|
74063
74056
|
getValidationErrors() {
|
|
74064
74057
|
const errorMessages = [];
|
|
74065
|
-
if (this.
|
|
74066
|
-
errorMessages.push("
|
|
74058
|
+
if (this.font.name.trim() === "") {
|
|
74059
|
+
errorMessages.push("font name must be provided");
|
|
74067
74060
|
}
|
|
74068
|
-
if (this.
|
|
74069
|
-
errorMessages.push("
|
|
74061
|
+
if (this.textHeight <= 0) {
|
|
74062
|
+
errorMessages.push("textHeight must be greater than 0");
|
|
74070
74063
|
}
|
|
74071
74064
|
if (this.stackedFractionScale <= 0) {
|
|
74072
74065
|
errorMessages.push("stackedFractionScale must be greater than 0");
|
|
@@ -337687,7 +337680,7 @@ class TestContext {
|
|
|
337687
337680
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
337688
337681
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
337689
337682
|
await core_frontend_1.NoRenderApp.startup({
|
|
337690
|
-
applicationVersion: "5.3.0-dev.
|
|
337683
|
+
applicationVersion: "5.3.0-dev.3",
|
|
337691
337684
|
applicationId: this.settings.gprid,
|
|
337692
337685
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
337693
337686
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -362954,7 +362947,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
362954
362947
|
/***/ ((module) => {
|
|
362955
362948
|
|
|
362956
362949
|
"use strict";
|
|
362957
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.3.0-dev.
|
|
362950
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.3.0-dev.3","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/eslint-plugin":"5.2.2-dev.2","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.3.0","@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^4.3.4","@loaders.gl/draco":"^4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
362958
362951
|
|
|
362959
362952
|
/***/ }),
|
|
362960
362953
|
|