@itwin/ecschema-rpcinterface-tests 4.3.0-dev.11 → 4.3.0-dev.12

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.
@@ -82993,7 +82993,7 @@ class SpatialModelState extends GeometricModel3dState {
82993
82993
  }
82994
82994
  /** Return true if this is a reality model (represented by a 3d tile set). */
82995
82995
  get isRealityModel() {
82996
- return undefined !== this.jsonProperties.tilesetUrl;
82996
+ return !!this.jsonProperties.tilesetUrl || !!this.jsonProperties.rdSourceKey || !!this.jsonProperties.orbitGtBlob;
82997
82997
  }
82998
82998
  }
82999
82999
  /** Represents the front-end state of a [PhysicalModel]($backend).
@@ -93132,6 +93132,12 @@ class Viewport {
93132
93132
  */
93133
93133
  async zoomToElements(ids, options) {
93134
93134
  const placements = await this.iModel.elements.getPlacements(ids, { type: this.view.is3d() ? "3d" : "2d" });
93135
+ if (undefined !== options?.minimumDimension) {
93136
+ for (const placement of placements) {
93137
+ if (placement.isValid && placement instanceof _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.Placement3d)
93138
+ placement.bbox.ensureMinLengths(options.minimumDimension);
93139
+ }
93140
+ }
93135
93141
  this.zoomToPlacements(placements, options);
93136
93142
  }
93137
93143
  /** Zoom the view to a volume of space in world coordinates.
@@ -225517,27 +225523,28 @@ __webpack_require__.r(__webpack_exports__);
225517
225523
 
225518
225524
 
225519
225525
  // cspell:word currentdFdX
225520
- /** base class for Newton iterations in various dimensions.
225521
- * Dimension-specific classes carry all dimension-related data and answer generalized queries
225522
- * from this base class.
225526
+ /**
225527
+ * Base class for Newton iterations in various dimensions.
225528
+ * Dimension-specific classes carry all dimension-related data and answer generalized queries from this base class.
225523
225529
  * @internal
225524
225530
  */
225525
225531
  class AbstractNewtonIterator {
225526
225532
  /**
225533
+ * The constructor.
225527
225534
  * @param stepSizeTarget tolerance to consider a single step converged.
225528
- * This number should be "moderately" strict. Because 2 successive convergences are required,
225535
+ * This number should be "moderately" strict. Because 2 successive convergences are required,
225529
225536
  * it is expected that a first "accept" for (say) 10 to 14 digit step will be followed by another
225530
- * iteration. A well behaved newton would then hypothetically double the number of digits to
225531
- * 20 to 28. Since the IEEE double only carries 16 digits, this second-convergence step will
225537
+ * iteration. A well behaved newton would then hypothetically double the number of digits to
225538
+ * 20 to 28. Since the IEEE double only carries 16 digits, this second-convergence step will
225532
225539
  * typically achieve full precision.
225533
225540
  * @param successiveConvergenceTarget number of successive convergences required for acceptance.
225534
- * @param maxIterations max number of iterations. A typical newton step converges in 3 to 6 iterations.
225535
- * Allow 15 to 20 to catch difficult cases.
225541
+ * @param maxIterations max number of iterations. A typical newton step converges in 3 to 6 iterations.
225542
+ * Allow 15 to 20 to catch difficult cases.
225536
225543
  */
225537
225544
  constructor(stepSizeTolerance = 1.0e-11, successiveConvergenceTarget = 2, maxIterations = 15) {
225538
- /** Number of consecutive steps which passed convergence condition */
225545
+ /** Number of consecutive steps which passed convergence condition. */
225539
225546
  this._numAccepted = 0;
225540
- /** number of iterations (incremented at each step) */
225547
+ /** Number of iterations (incremented at each step). */
225541
225548
  this.numIterations = 0;
225542
225549
  this._stepSizeTolerance = stepSizeTolerance;
225543
225550
  this._successiveConvergenceTarget = successiveConvergenceTarget;
@@ -225545,8 +225552,9 @@ class AbstractNewtonIterator {
225545
225552
  }
225546
225553
  /**
225547
225554
  * Test if a step is converged.
225548
- * * Convergence is accepted with enough (_successiveConvergenceTarget) small steps (according to _stepSizeTolerance) occur in succession.
225549
- * @param delta step size as reported by currentStepSize
225555
+ * * Convergence is accepted with enough (_successiveConvergenceTarget) small steps (according to _stepSizeTolerance)
225556
+ * occur in succession.
225557
+ * @param delta step size as reported by currentStepSize.
225550
225558
  */
225551
225559
  testConvergence(delta) {
225552
225560
  if (Math.abs(delta) < this._stepSizeTolerance) {
@@ -225559,16 +225567,15 @@ class AbstractNewtonIterator {
225559
225567
  /**
225560
225568
  * Run iterations, calling various methods from base and derived classes:
225561
225569
  * * computeStep -- typically evaluate derivatives and solve linear system.
225562
- * * currentStepSize -- return numeric measure of the step just computed by computeStep
225570
+ * * currentStepSize -- return numeric measure of the step just computed by computeStep.
225563
225571
  * * testConvergence -- test if the step from currentStepSize (along with recent steps) is converged.
225564
- * * applyCurrentStep -- apply the step to the independent variables
225572
+ * * applyCurrentStep -- apply the step to the independent variables.
225565
225573
  */
225566
225574
  runIterations() {
225567
225575
  this._numAccepted = 0;
225568
225576
  this.numIterations = 0;
225569
225577
  while (this.numIterations++ < this._maxIterations && this.computeStep()) {
225570
- if (this.testConvergence(this.currentStepSize())
225571
- && this.applyCurrentStep(true)) {
225578
+ if (this.testConvergence(this.currentStepSize()) && this.applyCurrentStep(true)) {
225572
225579
  return true;
225573
225580
  }
225574
225581
  this.applyCurrentStep(false);
@@ -225576,7 +225583,8 @@ class AbstractNewtonIterator {
225576
225583
  return false;
225577
225584
  }
225578
225585
  }
225579
- /** object to evaluate a newton function. The object must retain most-recent function and derivative
225586
+ /**
225587
+ * Object to evaluate a newton function. The object must retain most-recent function and derivative
225580
225588
  * values for immediate query.
225581
225589
  * @internal
225582
225590
  */
@@ -225584,26 +225592,39 @@ class NewtonEvaluatorRtoRD {
225584
225592
  }
225585
225593
  /**
225586
225594
  * Newton iterator for use when both function and derivative can be evaluated.
225595
+ * To solve `f(x) = 0`, the Newton iteration is `x_{n+1} = x_n - dx = x_n - f(x_n)/f'(x_n)`.
225596
+ * To solve `f(x) = target` which is equivalent to solving `g(x) = f(x) - target = 0`, the Newton iteration is
225597
+ * `x_{n+1} = x_n - dx = x_n - g(x_n)/g'(x_n) = x_n - (f(x_n)-target)/f'(x_n)`.
225587
225598
  * @internal
225588
225599
  */
225589
225600
  class Newton1dUnbounded extends AbstractNewtonIterator {
225590
225601
  /**
225591
- * Constructor for 1D newton iteration with approximate derivatives.
225592
- * @param func function that returns both function and derivative.
225602
+ * Constructor for 1D newton iteration with derivatives.
225603
+ * @param func function that returns both function value and derivative.
225593
225604
  */
225594
225605
  constructor(func) {
225595
225606
  super();
225596
225607
  this._func = func;
225597
225608
  this.setTarget(0);
225598
225609
  }
225599
- /** Set the independent variable */
225600
- setX(x) { this._currentX = x; return true; }
225601
- /** Get the independent variable */
225602
- getX() { return this._currentX; }
225603
- /** Set the target function value */
225604
- setTarget(y) { this._target = y; }
225605
- /** move the current X by the just-computed step */
225606
- applyCurrentStep() { return this.setX(this._currentX - this._currentStep); }
225610
+ /** Set the independent variable, i.e., x_n. */
225611
+ setX(x) {
225612
+ this._currentX = x;
225613
+ return true;
225614
+ }
225615
+ /** Get the independent variable, i.e., x_n. */
225616
+ getX() {
225617
+ return this._currentX;
225618
+ }
225619
+ /** Set the target function value. */
225620
+ setTarget(y) {
225621
+ this._target = y;
225622
+ }
225623
+ /** Move the current X by the just-computed step, i.e., `x_n - dx`. */
225624
+ applyCurrentStep() {
225625
+ // console.log(this._currentX - this._currentStep); // print approximations for debug
225626
+ return this.setX(this._currentX - this._currentStep);
225627
+ }
225607
225628
  /** Compute the univariate newton step. */
225608
225629
  computeStep() {
225609
225630
  if (this._func.evaluate(this._currentX)) {
@@ -225615,41 +225636,54 @@ class Newton1dUnbounded extends AbstractNewtonIterator {
225615
225636
  }
225616
225637
  return false;
225617
225638
  }
225618
- /** Return the current step size as a relative number. */
225639
+ /** Return the current step size as a relative number, i.e., `|dx / (1 + |x_n|)|`. */
225619
225640
  currentStepSize() {
225620
225641
  return Math.abs(this._currentStep / (1.0 + Math.abs(this._currentX)));
225621
225642
  }
225622
225643
  }
225623
- /** object to evaluate a newton function (without derivative). The object must retain most-recent function value.
225644
+ /**
225645
+ * Object to evaluate a newton function (without derivative). The object must retain most-recent function value.
225624
225646
  * @internal
225625
225647
  */
225626
225648
  class NewtonEvaluatorRtoR {
225627
225649
  }
225628
- /** Newton iteration for a univariate function, using approximate derivatives.
225650
+ /**
225651
+ * Newton iteration for a univariate function, using approximate derivatives.
225652
+ * To approximate the derivatives we use a small step `h`, i.e., `f'(x_n) = (f(x_n + h) - f(x_n)) / h`.
225653
+ * Therefore, to solve `f(x) = 0`, the iteration is
225654
+ * `x_{n+1} = x_n - dx = x_n - f(x_n)/f'(x_n) = x_n - f(x_n) * h / (f(x_n + h) - f(x_n))`.
225629
225655
  * @internal
225630
225656
  */
225631
225657
  class Newton1dUnboundedApproximateDerivative extends AbstractNewtonIterator {
225632
225658
  /**
225633
225659
  * Constructor for 1D newton iteration with approximate derivatives.
225634
- * @param func function that returns both function and derivative.
225660
+ * @param func function that only returns function value (and not derivative).
225635
225661
  */
225636
225662
  constructor(func) {
225637
225663
  super();
225638
225664
  this._func = func;
225639
225665
  this.derivativeH = 1.0e-8;
225640
225666
  }
225641
- /** Set the x (independent, iterated) value */
225642
- setX(x) { this._currentX = x; return true; }
225643
- /** Get the independent variable */
225644
- getX() { return this._currentX; }
225645
- /** move the current X by the just-computed step */
225646
- applyCurrentStep() { return this.setX(this._currentX - this._currentStep); }
225647
- /** Univariate newton step computed with APPROXIMATE derivative. */
225667
+ /** Set the independent variable, i.e., x_n. */
225668
+ setX(x) {
225669
+ this._currentX = x;
225670
+ return true;
225671
+ }
225672
+ /** Get the independent variable, i.e., x_n. */
225673
+ getX() {
225674
+ return this._currentX;
225675
+ }
225676
+ /** Move the current X by the just-computed step, i.e., `x_n - dx`. */
225677
+ applyCurrentStep() {
225678
+ // console.log(this._currentX - this._currentStep); // print approximations for debug
225679
+ return this.setX(this._currentX - this._currentStep);
225680
+ }
225681
+ /** Univariate newton step computed with approximate derivative. */
225648
225682
  computeStep() {
225649
225683
  if (this._func.evaluate(this._currentX)) {
225650
- const fA = this._func.currentF;
225684
+ const fA = this._func.currentF; // f(x_n)
225651
225685
  if (this._func.evaluate(this._currentX + this.derivativeH)) {
225652
- const fB = this._func.currentF;
225686
+ const fB = this._func.currentF; // f(x_n + h)
225653
225687
  const dx = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.conditionalDivideFraction(fA, (fB - fA) / this.derivativeH);
225654
225688
  if (dx !== undefined) {
225655
225689
  this._currentStep = dx;
@@ -225659,17 +225693,18 @@ class Newton1dUnboundedApproximateDerivative extends AbstractNewtonIterator {
225659
225693
  }
225660
225694
  return false;
225661
225695
  }
225662
- /** Return the current step size as a relative number. */
225696
+ /** Return the current step size as a relative number, i.e., `|dx / (1 + |x_n|)|`. */
225663
225697
  currentStepSize() {
225664
225698
  return Math.abs(this._currentStep / (1.0 + Math.abs(this._currentX)));
225665
225699
  }
225666
225700
  }
225667
- /** object to evaluate a 2-parameter newton function (with derivatives!!).
225701
+ /**
225702
+ * Object to evaluate a 2-parameter newton function with derivatives.
225668
225703
  * @internal
225669
225704
  */
225670
225705
  class NewtonEvaluatorRRtoRRD {
225671
225706
  /**
225672
- * constructor.
225707
+ * Constructor.
225673
225708
  * * This creates a currentF object to (repeatedly) receive function and derivatives.
225674
225709
  */
225675
225710
  constructor() {
@@ -225678,25 +225713,49 @@ class NewtonEvaluatorRRtoRRD {
225678
225713
  }
225679
225714
  /**
225680
225715
  * Implement evaluation steps for newton iteration in 2 dimensions, using caller supplied NewtonEvaluatorRRtoRRD object.
225716
+ * * Suppose we want to find the roots of `F(u,v) := (x(u,v), y(u,v))`. Writing `X := (u,v)` and `F(X)` as column vectors,
225717
+ * the 2D Newton's iteration to find a root of `F` is given by:
225718
+ * `X_{n+1} = X_n - dX = X_n - JInv(X_n)F(X_n)`, where `JInv` is the inverse of the Jacobian matrix `J`, and `J` is
225719
+ * defined as:
225720
+ *
225721
+ * `[dx/du dx/dv]`
225722
+ *
225723
+ * `[dy/du dy/dv]`
225681
225724
  * @internal
225682
225725
  */
225683
225726
  class Newton2dUnboundedWithDerivative extends AbstractNewtonIterator {
225727
+ /**
225728
+ * Constructor for 2D newton iteration with derivatives.
225729
+ * @param func function that returns both function value and derivative.
225730
+ */
225684
225731
  constructor(func) {
225685
225732
  super();
225686
225733
  this._func = func;
225687
225734
  this._currentStep = _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_2__.Vector2d.createZero();
225688
225735
  this._currentUV = _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_2__.Point2d.createZero();
225689
225736
  }
225690
- /** Set the current uv coordinates for current iteration */
225691
- setUV(x, y) { this._currentUV.set(x, y); return true; }
225692
- /** Get the current u coordinate */
225693
- getU() { return this._currentUV.x; }
225694
- /** Get the current v coordinate */
225695
- getV() { return this._currentUV.y; }
225696
- /** Move the currentUV coordinate by currentStep. */
225697
- applyCurrentStep() { return this.setUV(this._currentUV.x - this._currentStep.x, this._currentUV.y - this._currentStep.y); }
225698
- /** Evaluate the functions and derivatives at this._currentUV
225699
- * Invert the jacobian and compute the this._currentStep.
225737
+ /** Set the current uv parameters, i.e., `X_n = (u_n, v_n)`. */
225738
+ setUV(u, v) {
225739
+ this._currentUV.set(u, v);
225740
+ return true;
225741
+ }
225742
+ /** Get the current u parameter of X_n, i.e., u_n. */
225743
+ getU() {
225744
+ return this._currentUV.x;
225745
+ }
225746
+ /** Get the current v parameter of X_n, i.e., v_n. */
225747
+ getV() {
225748
+ return this._currentUV.y;
225749
+ }
225750
+ /** Update the current uv parameter by currentStep, i.e., compute `X_{n+1} := X_n - dX = (u_n - du, v_n - dv)`. */
225751
+ applyCurrentStep() {
225752
+ // print approximations for debug
225753
+ // console.log("(" + (this._currentUV.x - this._currentStep.x) + "," + (this._currentUV.y - this._currentStep.y) + ")");
225754
+ return this.setUV(this._currentUV.x - this._currentStep.x, this._currentUV.y - this._currentStep.y);
225755
+ }
225756
+ /**
225757
+ * Evaluate the functions and derivatives at `X_n = (u_n, v_n)`, and solve the Jacobian matrix equation to
225758
+ * compute `dX = (du, dv)`.
225700
225759
  */
225701
225760
  computeStep() {
225702
225761
  if (this._func.evaluate(this._currentUV.x, this._currentUV.y)) {
@@ -225707,22 +225766,25 @@ class Newton2dUnboundedWithDerivative extends AbstractNewtonIterator {
225707
225766
  return false;
225708
225767
  }
225709
225768
  /**
225710
- * Return the largest relative step of the x,y, components of the current step.
225769
+ * Return the current relative step size, i.e., the larger absolute component of `dX / (1 + |X_n|)`
225711
225770
  */
225712
225771
  currentStepSize() {
225713
225772
  return _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.maxAbsXY(this._currentStep.x / (1.0 + Math.abs(this._currentUV.x)), this._currentStep.y / (1.0 + Math.abs(this._currentUV.y)));
225714
225773
  }
225715
225774
  }
225716
225775
  /**
225717
- * SimpleNewton has static methods for newton methods with evaluated functions presented as immediate arguments (not function object)
225776
+ * SimpleNewton has static methods for newton methods with evaluated functions presented as immediate arguments
225777
+ * (not function object).
225718
225778
  * @internal
225719
225779
  */
225720
225780
  class SimpleNewton {
225721
- /** Run a one-dimensional newton iteration with separate functions for function and derivative.
225722
- * * completion is at 2 (TWO) successive passes at (absoluteTolerance + relTol * abs (x)), where relTol is chosen internally.
225723
- * * absoluteTolerance is usually aggressively tight -- should come into play only for x near zero.
225724
- * * The relTol is fluffy (for instance around 1e-11) but in properly converging cases the extra pass after first success
225725
- * normally moves to full machine precision.
225781
+ /**
225782
+ * Run a one-dimensional newton iteration with separate functions for function and derivative.
225783
+ * * Completion is at 2 (TWO) successive passes at `absoluteTolerance + relTol * abs(x)`, where relTol is
225784
+ * chosen internally.
225785
+ * * `absoluteTolerance` is usually aggressively tight -- should come into play only for x near zero.
225786
+ * * The `relTol` is fluffy (for instance around 1e-11) but in properly converging cases the extra pass after
225787
+ * first success normally moves to full machine precision.
225726
225788
  * * This is an open-loop newton -- it just runs, and returns undefined if anything bad happens.
225727
225789
  */
225728
225790
  static runNewton1D(x, func, derivative, absoluteTolerance = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.smallFloatingPoint) {
@@ -225737,10 +225799,11 @@ class SimpleNewton {
225737
225799
  if (dx === undefined)
225738
225800
  return undefined;
225739
225801
  x -= dx;
225802
+ // console.log(x); // print approximations for debug
225740
225803
  tolerance = absoluteTolerance + Math.abs(x) * relTol;
225741
225804
  if (Math.abs(dx) < tolerance) {
225742
225805
  numConverged++;
225743
- if (dx === 0.0 || numConverged > 1) // bypass convergence count on true 0 dx !
225806
+ if (dx === 0.0 || numConverged > 1) // bypass convergence count on true 0 dx
225744
225807
  return x;
225745
225808
  }
225746
225809
  else {
@@ -227335,7 +227398,7 @@ class SmallSystem {
227335
227398
  }
227336
227399
  /**
227337
227400
  * Solve the pair of linear equations
227338
- * * `ux * x + vx + y = cx`
227401
+ * * `ux * x + vx * y = cx`
227339
227402
  * * `uy * x + vy * y = cy`
227340
227403
  * @param ux xx coefficient
227341
227404
  * @param vx xy coefficient
@@ -227343,7 +227406,7 @@ class SmallSystem {
227343
227406
  * @param vy yy coefficient
227344
227407
  * @param cx x right hand side
227345
227408
  * @param cy y right hand side
227346
- * @param result (x,y) solution. (MUST be preallocated by caller)
227409
+ * @param result (x,y) solution (MUST be preallocated by caller)
227347
227410
  */
227348
227411
  static linearSystem2d(ux, vx, // first row of matrix
227349
227412
  uy, vy, // second row of matrix
@@ -288418,7 +288481,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
288418
288481
  /***/ ((module) => {
288419
288482
 
288420
288483
  "use strict";
288421
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.3.0-dev.11","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","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 ES2020 --outDir lib/esm","clean":"rimraf 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","docs":"betools docs --includes=../../generated-docs/extract --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 -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","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:^4.3.0-dev.11","@itwin/core-bentley":"workspace:^4.3.0-dev.11","@itwin/core-common":"workspace:^4.3.0-dev.11","@itwin/core-geometry":"workspace:^4.3.0-dev.11","@itwin/core-orbitgt":"workspace:^4.3.0-dev.11","@itwin/core-quantity":"workspace:^4.3.0-dev.11"},"//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/certa":"workspace:*","@itwin/eslint-plugin":"4.0.0-dev.44","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^8.2.2","@types/node":"18.16.1","@types/sinon":"^10.0.15","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.3.10","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^8.44.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^15.0.4","source-map-loader":"^4.0.0","typescript":"~5.0.2","typemoq":"^2.1.0","webpack":"^5.76.0"},"//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.1.0","@itwin/object-storage-core":"^2.1.0","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
288484
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.3.0-dev.12","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","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 ES2020 --outDir lib/esm","clean":"rimraf 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","docs":"betools docs --includes=../../generated-docs/extract --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 -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","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:^4.3.0-dev.12","@itwin/core-bentley":"workspace:^4.3.0-dev.12","@itwin/core-common":"workspace:^4.3.0-dev.12","@itwin/core-geometry":"workspace:^4.3.0-dev.12","@itwin/core-orbitgt":"workspace:^4.3.0-dev.12","@itwin/core-quantity":"workspace:^4.3.0-dev.12"},"//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/certa":"workspace:*","@itwin/eslint-plugin":"4.0.0-dev.44","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^8.2.2","@types/node":"18.16.1","@types/sinon":"^10.0.15","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.3.10","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^8.44.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^15.0.4","source-map-loader":"^4.0.0","typescript":"~5.0.2","typemoq":"^2.1.0","webpack":"^5.76.0"},"//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.1.0","@itwin/object-storage-core":"^2.1.0","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
288422
288485
 
288423
288486
  /***/ })
288424
288487