@itwin/rpcinterface-full-stack-tests 5.0.0-dev.111 → 5.0.0-dev.112

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.
@@ -101662,20 +101662,16 @@ class ECSchemaRpcLocater {
101662
101662
  return undefined;
101663
101663
  }
101664
101664
  /**
101665
- * Attempts to get a schema from the schema rpc locater. Yields undefined if no matching schema is found.
101666
- * @param schemaKey Key to look up
101667
- * @param matchType How to match key against candidate schemas
101668
- * @param context The SchemaContext that will control the lifetime of the schema and holds the schema's references, if they exist.
101665
+ * This method is not supported for locating schemas over RPC/HTTP.
101666
+ * Use the asynchronous `getSchema` method instead.
101667
+ * @param _schemaKey Key to look up
101668
+ * @param _matchType How to match key against candidate schemas
101669
+ * @param _context The SchemaContext that will control the lifetime of the schema and holds the schema's references, if they exist.
101670
+ * @throws Error Always throws an error indicating this method is not supported.
101671
+ * @deprecated in 5.0 Use the asynchronous `getSchema` method for schema retrieval.
101669
101672
  */
101670
- getSchemaSync(schemaKey, matchType, context) {
101671
- const schemaJson = _ECSchemaRpcInterface__WEBPACK_IMPORTED_MODULE_1__.ECSchemaRpcInterface.getClient().getSchemaJSON(this.token, schemaKey.name).then((props) => {
101672
- return props;
101673
- });
101674
- const schema = _itwin_ecschema_metadata__WEBPACK_IMPORTED_MODULE_0__.Schema.fromJsonSync(schemaJson, context || new _itwin_ecschema_metadata__WEBPACK_IMPORTED_MODULE_0__.SchemaContext());
101675
- if (schema !== undefined && schema.schemaKey.matches(schemaKey, matchType)) {
101676
- return schema;
101677
- }
101678
- return undefined;
101673
+ getSchemaSync(_schemaKey, _matchType, _context) {
101674
+ throw new Error("getSchemaSync is not supported. Use the asynchronous getSchema method instead.");
101679
101675
  }
101680
101676
  }
101681
101677
 
@@ -103890,6 +103886,8 @@ class AccuDraw {
103890
103886
  onFieldKeyinStatusChange(_index) { }
103891
103887
  /** Called to request focus change to the specified input field */
103892
103888
  setFocusItem(_index) { }
103889
+ /** Called to get the item field that currently has input focus */
103890
+ getFocusItem() { return undefined; }
103893
103891
  static getMinPolarMag(origin) {
103894
103892
  return (1.0e-12 * (1.0 + origin.magnitude()));
103895
103893
  }
@@ -121277,16 +121275,21 @@ class RenderContext {
121277
121275
  * @public
121278
121276
  */
121279
121277
  class DynamicsContext extends RenderContext {
121280
- _dynamics;
121278
+ _foreground;
121279
+ _overlay;
121281
121280
  /** Add a graphic to the list of dynamic graphics to be drawn in this context's [[Viewport]]. */
121282
121281
  addGraphic(graphic) {
121283
- if (undefined === this._dynamics)
121284
- this._dynamics = [];
121285
- this._dynamics.push(graphic);
121282
+ this.add(graphic, false);
121283
+ }
121284
+ /** @internal */
121285
+ add(graphic, isOverlay) {
121286
+ const key = isOverlay ? "_overlay" : "_foreground";
121287
+ const list = this[key] ?? (this[key] = []);
121288
+ list.push(graphic);
121286
121289
  }
121287
121290
  /** @internal */
121288
121291
  changeDynamics() {
121289
- this.viewport.changeDynamics(this._dynamics);
121292
+ this.viewport.changeDynamics(this._foreground, this._overlay);
121290
121293
  }
121291
121294
  /** Create a builder for producing a [[RenderGraphic]] appropriate for rendering within this context's [[Viewport]].
121292
121295
  * @param options Options describing how to create the builder.
@@ -122390,10 +122393,10 @@ class ViewManager {
122390
122393
  this.inDynamicsMode = false;
122391
122394
  const cursorVp = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.toolAdmin.cursorView;
122392
122395
  if (cursorVp)
122393
- cursorVp.changeDynamics(undefined);
122396
+ cursorVp.changeDynamics(undefined, undefined);
122394
122397
  for (const vp of this._viewports) {
122395
122398
  if (vp !== cursorVp)
122396
- vp.changeDynamics(undefined);
122399
+ vp.changeDynamics(undefined, undefined);
122397
122400
  }
122398
122401
  }
122399
122402
  /** @internal */
@@ -126691,8 +126694,8 @@ class Viewport {
126691
126694
  return this.view.is3d() && this.view.isCameraOn;
126692
126695
  }
126693
126696
  /** @internal */
126694
- changeDynamics(dynamics) {
126695
- this.target.changeDynamics(dynamics);
126697
+ changeDynamics(dynamics, overlay) {
126698
+ this.target.changeDynamics(dynamics, overlay);
126696
126699
  this.invalidateDecorations();
126697
126700
  }
126698
126701
  _assigningFlashedId = false;
@@ -138282,7 +138285,7 @@ var MockRender;
138282
138285
  get analysisFraction() { return 0; }
138283
138286
  set analysisFraction(_fraction) { }
138284
138287
  changeScene(_scene) { }
138285
- changeDynamics(_dynamics) { }
138288
+ changeDynamics(_foreground, _overlay) { }
138286
138289
  changeDecorations(_decs) { }
138287
138290
  changeRenderPlan(_plan) { }
138288
138291
  drawFrame(_sceneTime) { }
@@ -150372,9 +150375,8 @@ class RenderCommands {
150372
150375
  this.addGraphics(gfx.foreground);
150373
150376
  this.addBackgroundMapGraphics(gfx.background);
150374
150377
  this.addOverlayGraphics(gfx.overlays);
150375
- const dynamics = gfx.dynamics;
150376
- if (dynamics && dynamics.length > 0)
150377
- this.addDecorations(dynamics);
150378
+ this.addGraphics(gfx.foregroundDynamics);
150379
+ this.addOverlayGraphics(gfx.overlayDynamics);
150378
150380
  const dec = gfx.decorations;
150379
150381
  if (undefined !== dec) {
150380
150382
  this.addBackground(dec.viewBackground);
@@ -157332,8 +157334,8 @@ class Target extends _render_RenderTarget__WEBPACK_IMPORTED_MODULE_7__.RenderTar
157332
157334
  this.changeDrapesOrClassifiers(this._planarClassifiers, planarClassifiers);
157333
157335
  this._planarClassifiers = planarClassifiers;
157334
157336
  }
157335
- changeDynamics(dynamics) {
157336
- this.graphics.dynamics = dynamics;
157337
+ changeDynamics(foreground, overlay) {
157338
+ this.graphics.changeDynamics(foreground, overlay);
157337
157339
  }
157338
157340
  overrideFeatureSymbology(ovr) {
157339
157341
  this.uniforms.branch.overrideFeatureSymbology(ovr);
@@ -158214,26 +158216,29 @@ class TargetGraphics {
158214
158216
  foreground = [];
158215
158217
  background = [];
158216
158218
  overlays = [];
158217
- _dynamics;
158219
+ foregroundDynamics = [];
158220
+ overlayDynamics = [];
158218
158221
  _decorations;
158219
158222
  [Symbol.dispose]() {
158220
158223
  this.foreground.length = this.background.length = this.overlays.length = 0;
158221
- this._dynamics = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.disposeArray)(this._dynamics);
158224
+ (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.disposeArray)(this.foregroundDynamics);
158225
+ (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.disposeArray)(this.overlayDynamics);
158222
158226
  this._decorations = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this._decorations);
158223
158227
  }
158224
158228
  get isDisposed() {
158225
158229
  return 0 === this.foreground.length && 0 === this.background.length && 0 === this.overlays.length
158226
- && undefined === this._dynamics && undefined === this._decorations;
158230
+ && 0 === this.foregroundDynamics.length && 0 === this.overlayDynamics.length && !this._decorations;
158227
158231
  }
158228
158232
  changeScene(scene) {
158229
158233
  this.foreground = scene.foreground;
158230
158234
  this.background = scene.background;
158231
158235
  this.overlays = scene.overlay;
158232
158236
  }
158233
- get dynamics() { return this._dynamics; }
158234
- set dynamics(dynamics) {
158235
- (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.disposeArray)(this._dynamics);
158236
- this._dynamics = dynamics;
158237
+ changeDynamics(foreground, overlay) {
158238
+ (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.disposeArray)(this.foregroundDynamics);
158239
+ (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.disposeArray)(this.overlayDynamics);
158240
+ this.foregroundDynamics = foreground ?? [];
158241
+ this.overlayDynamics = overlay ?? [];
158237
158242
  }
158238
158243
  get decorations() { return this._decorations; }
158239
158244
  set decorations(decorations) {
@@ -192336,6 +192341,18 @@ class MapCartoRectangle extends _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0_
192336
192341
  scratchMercatorFractionRange.high.y = tilingScheme.latitudeToYFraction(this.high.y);
192337
192342
  return scratchMercatorFractionRange;
192338
192343
  }
192344
+ /**
192345
+ * Compute rectangle with angles specified in degrees.
192346
+ * @beta
192347
+ */
192348
+ toDegrees() {
192349
+ return {
192350
+ north: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Angle.radiansToDegrees(this.north),
192351
+ south: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Angle.radiansToDegrees(this.south),
192352
+ east: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Angle.radiansToDegrees(this.east),
192353
+ west: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Angle.radiansToDegrees(this.west),
192354
+ };
192355
+ }
192339
192356
  }
192340
192357
 
192341
192358
 
@@ -193002,7 +193019,7 @@ class MapLayerImageryProvider {
193002
193019
  }
193003
193020
  }
193004
193021
  /** @internal */
193005
- async makeTileRequest(url, timeoutMs) {
193022
+ async makeTileRequest(url, timeoutMs, authorization) {
193006
193023
  // We want to complete the first request before letting other requests go;
193007
193024
  // this done to avoid flooding server with requests missing credentials
193008
193025
  if (!this._firstRequestPromise)
@@ -193011,7 +193028,7 @@ class MapLayerImageryProvider {
193011
193028
  await this._firstRequestPromise;
193012
193029
  let response;
193013
193030
  try {
193014
- response = await this.makeRequest(url, timeoutMs);
193031
+ response = await this.makeRequest(url, timeoutMs, authorization);
193015
193032
  }
193016
193033
  finally {
193017
193034
  this.onFirstRequestCompleted.raiseEvent();
@@ -193021,11 +193038,15 @@ class MapLayerImageryProvider {
193021
193038
  return response;
193022
193039
  }
193023
193040
  /** @internal */
193024
- async makeRequest(url, timeoutMs) {
193041
+ async makeRequest(url, timeoutMs, authorization) {
193025
193042
  let response;
193026
193043
  let headers;
193027
193044
  let hasCreds = false;
193028
- if (this._settings.userName && this._settings.password) {
193045
+ if (authorization) {
193046
+ headers = new Headers();
193047
+ headers.set("Authorization", authorization);
193048
+ }
193049
+ else if (this._settings.userName && this._settings.password) {
193029
193050
  hasCreds = true;
193030
193051
  headers = new Headers();
193031
193052
  this.setRequestAuthorization(headers);
@@ -195831,6 +195852,18 @@ class QuadId {
195831
195852
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.compareNumbers)(this.row, other.row) ||
195832
195853
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.compareNumbers)(this.column, other.column);
195833
195854
  }
195855
+ /** Creates a QuadId from a JSON representation */
195856
+ static fromJSON(props) {
195857
+ return new QuadId(props.level, props.column, props.row);
195858
+ }
195859
+ /** Convert this QuadId to a JSON representation */
195860
+ static toJSON(props) {
195861
+ return {
195862
+ level: props.level,
195863
+ column: props.column,
195864
+ row: props.row,
195865
+ };
195866
+ }
195834
195867
  }
195835
195868
 
195836
195869
 
@@ -197671,6 +197704,7 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
197671
197704
  this._controls.overlay.remove();
197672
197705
  this._controls = undefined;
197673
197706
  this.unsuspendToolTips();
197707
+ this.removedControlRect();
197674
197708
  }
197675
197709
  createControlDiv() {
197676
197710
  const div = document.createElement("div");
@@ -197758,6 +197792,10 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
197758
197792
  style.outlineWidth = button.outlineWidth;
197759
197793
  return itemLock;
197760
197794
  }
197795
+ /** Called after the controls have been removed from the view. */
197796
+ removedControlRect() { }
197797
+ /** Called after the position of the controls in the supplied view is updated. */
197798
+ changedControlRect(_rect, _vp) { }
197761
197799
  /** Use to override the position of the controls in the supplied view. */
197762
197800
  modifyControlRect(_rect, _vp) { }
197763
197801
  /** Return the ViewRect currently occupied by the controls in the supplied view. */
@@ -197854,6 +197892,8 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
197854
197892
  return; // Keep showing at last valid location...
197855
197893
  this._controls.div.style.left = `${controlRect.left}px`;
197856
197894
  this._controls.div.style.top = `${controlRect.top}px`;
197895
+ this.changedControlRect(controlRect, vp);
197896
+ return;
197857
197897
  }
197858
197898
  get _isFocusHome() {
197859
197899
  return (document.body === document.activeElement);
@@ -197876,6 +197916,13 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
197876
197916
  // Indicate when keyboard shortcuts can't be used (i.e. focus not at AccuDraw or Home) by changing compass to monochrome...
197877
197917
  return (this._isFocusHome || this._isFocusAccuDraw);
197878
197918
  }
197919
+ /** Get the item field that currently has input focus.
197920
+ */
197921
+ getFocusItem() {
197922
+ if (!this._isFocusAccuDraw)
197923
+ return undefined;
197924
+ return this._focusItem;
197925
+ }
197879
197926
  /** Request to set focus to the specified AccuDraw input field to start entering values.
197880
197927
  * The focused input field will be indicated by the background color.
197881
197928
  */
@@ -204708,6 +204755,7 @@ class CurrentInputState {
204708
204755
  lastButton = _Tool__WEBPACK_IMPORTED_MODULE_13__.BeButton.Data;
204709
204756
  inputSource = _Tool__WEBPACK_IMPORTED_MODULE_13__.InputSource.Unknown;
204710
204757
  lastMotion = new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point2d();
204758
+ lastMotionEvent;
204711
204759
  lastWheelEvent;
204712
204760
  lastTouchStart;
204713
204761
  touchTapTimer;
@@ -204725,7 +204773,7 @@ class CurrentInputState {
204725
204773
  onStartDrag(button) { this.button[button].isDragging = true; }
204726
204774
  onInstallTool() {
204727
204775
  this.clearKeyQualifiers();
204728
- this.lastWheelEvent = undefined;
204776
+ this.lastWheelEvent = this.lastMotionEvent = undefined;
204729
204777
  this.lastTouchStart = this.touchTapTimer = this.touchTapCount = undefined;
204730
204778
  }
204731
204779
  clearKeyQualifiers() { this.qualifiers = _Tool__WEBPACK_IMPORTED_MODULE_13__.BeModifierKeys.None; }
@@ -205000,6 +205048,9 @@ class ToolAdmin {
205000
205048
  this.clearMotionPromises();
205001
205049
  // make sure tools don't think the cursor is still in this viewport.
205002
205050
  this.onMouseLeave(vp);
205051
+ // Invalidate last motion if for this viewport...
205052
+ if (this.currentInputState.lastMotionEvent?.viewport === vp)
205053
+ this.currentInputState.lastMotionEvent = undefined;
205003
205054
  // Remove any events associated with this viewport.
205004
205055
  ToolAdmin._toolEvents = ToolAdmin._toolEvents.filter((ev) => ev.vp !== vp);
205005
205056
  }
@@ -205363,6 +205414,7 @@ class ToolAdmin {
205363
205414
  toolPromise.then(() => {
205364
205415
  if (undefined === this._toolMotionPromise)
205365
205416
  return; // Only early return if canceled, result from a previous motion is preferable to showing nothing...
205417
+ this.currentInputState.lastMotionEvent = motion; // Save to use for simulation motion...
205366
205418
  // Update decorations when dynamics are inactive...
205367
205419
  if (!_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.viewManager.inDynamicsMode) {
205368
205420
  vp.invalidateDecorations();
@@ -206104,7 +206156,8 @@ class ToolAdmin {
206104
206156
  }
206105
206157
  /** Can be called by tools to invoke their [[InteractiveTool.onDynamicFrame]] method without requiring a motion event. */
206106
206158
  simulateMotionEvent() {
206107
- this.updateDynamics(undefined, undefined, true);
206159
+ // NOTE: Prefer last resolved motion over current cursor location which could be out of the view, or moved from last AccuSnap etc.
206160
+ this.updateDynamics(this.currentInputState.lastMotionEvent, undefined, true);
206108
206161
  }
206109
206162
  /** @internal */
206110
206163
  setIncompatibleViewportCursor(restore) {
@@ -329435,7 +329488,7 @@ class TestContext {
329435
329488
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
329436
329489
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
329437
329490
  await core_frontend_1.NoRenderApp.startup({
329438
- applicationVersion: "5.0.0-dev.111",
329491
+ applicationVersion: "5.0.0-dev.112",
329439
329492
  applicationId: this.settings.gprid,
329440
329493
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
329441
329494
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -354503,7 +354556,7 @@ var loadLanguages = instance.loadLanguages;
354503
354556
  /***/ ((module) => {
354504
354557
 
354505
354558
  "use strict";
354506
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.111","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 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","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","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.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^6.0.1","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":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
354559
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.112","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 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","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","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.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^6.0.1","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":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
354507
354560
 
354508
354561
  /***/ }),
354509
354562