@itwin/rpcinterface-full-stack-tests 5.13.0-dev.14 → 5.13.0-dev.15

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.
@@ -64875,6 +64875,7 @@ __webpack_require__.r(__webpack_exports__);
64875
64875
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
64876
64876
  /* harmony export */ ListMarkerEnumerator: () => (/* binding */ ListMarkerEnumerator),
64877
64877
  /* harmony export */ TextStyleSettings: () => (/* binding */ TextStyleSettings),
64878
+ /* harmony export */ targetPointShapes: () => (/* binding */ targetPointShapes),
64878
64879
  /* harmony export */ terminatorShapes: () => (/* binding */ terminatorShapes),
64879
64880
  /* harmony export */ textAnnotationFrameShapes: () => (/* binding */ textAnnotationFrameShapes)
64880
64881
  /* harmony export */ });
@@ -64913,6 +64914,11 @@ const textAnnotationFrameShapes = ["none", "line", "rectangle", "circle", "equil
64913
64914
  * @beta
64914
64915
  */
64915
64916
  const terminatorShapes = ["openArrow", "closedArrow", "closedArrowFilled", "circle", "circleFilled", "slash", "none"];
64917
+ /**
64918
+ * Predefined shapes that can be used to indicate the target point of a leader in a [[TextAnnotation]].
64919
+ * @beta
64920
+ */
64921
+ const targetPointShapes = ["cross", "plus", "circle", "square", "rectangle"];
64916
64922
  ;
64917
64923
  ;
64918
64924
  function deepFreeze(obj) {
@@ -65032,6 +65038,11 @@ class TextStyleSettings {
65032
65038
  terminatorShape: terminatorShapes[0],
65033
65039
  terminatorHeightFactor: 1.0,
65034
65040
  terminatorWidthFactor: 1.0,
65041
+ showLeaders: true,
65042
+ showTerminators: true,
65043
+ showTargetPoint: false,
65044
+ targetPointShape: targetPointShapes[0],
65045
+ targetPointOffsetFactor: 0,
65035
65046
  },
65036
65047
  tabInterval: 4,
65037
65048
  indentation: 0,
@@ -65082,6 +65093,11 @@ class TextStyleSettings {
65082
65093
  terminatorShape: props.leader?.terminatorShape ?? defaults.leader.terminatorShape,
65083
65094
  terminatorHeightFactor: props.leader?.terminatorHeightFactor ?? defaults.leader.terminatorHeightFactor,
65084
65095
  terminatorWidthFactor: props.leader?.terminatorWidthFactor ?? defaults.leader.terminatorWidthFactor,
65096
+ showLeaders: props.leader?.showLeaders ?? defaults.leader.showLeaders,
65097
+ showTerminators: props.leader?.showTerminators ?? defaults.leader.showTerminators,
65098
+ showTargetPoint: props.leader?.showTargetPoint ?? defaults.leader.showTargetPoint,
65099
+ targetPointShape: props.leader?.targetPointShape ?? defaults.leader.targetPointShape,
65100
+ targetPointOffsetFactor: props.leader?.targetPointOffsetFactor ?? defaults.leader.targetPointOffsetFactor,
65085
65101
  };
65086
65102
  this.leader = Object.freeze(leader);
65087
65103
  this.tabInterval = props.tabInterval ?? defaults.tabInterval;
@@ -65119,9 +65135,17 @@ class TextStyleSettings {
65119
65135
  * @returns true if the two leader styles are equal, false otherwise.
65120
65136
  */
65121
65137
  leaderEquals(other) {
65122
- return this.leader.color === other.color && this.leader.wantElbow === other.wantElbow
65123
- && this.leader.elbowLength === other.elbowLength && this.leader.terminatorShape === other.terminatorShape && this.leader.terminatorHeightFactor === other.terminatorHeightFactor
65124
- && this.leader.terminatorWidthFactor === other.terminatorWidthFactor;
65138
+ return this.leader.color === other.color
65139
+ && this.leader.wantElbow === other.wantElbow
65140
+ && this.leader.elbowLength === other.elbowLength
65141
+ && this.leader.terminatorShape === other.terminatorShape
65142
+ && this.leader.terminatorHeightFactor === other.terminatorHeightFactor
65143
+ && this.leader.terminatorWidthFactor === other.terminatorWidthFactor
65144
+ && this.leader.showLeaders === other.showLeaders
65145
+ && this.leader.showTerminators === other.showTerminators
65146
+ && this.leader.showTargetPoint === other.showTargetPoint
65147
+ && this.leader.targetPointShape === other.targetPointShape
65148
+ && this.leader.targetPointOffsetFactor === other.targetPointOffsetFactor;
65125
65149
  }
65126
65150
  frameEquals(other) {
65127
65151
  return this.frame?.shape === other.shape
@@ -65595,6 +65619,7 @@ __webpack_require__.r(__webpack_exports__);
65595
65619
  /* harmony export */ resolveNavPropId: () => (/* reexport safe */ _ViewProps__WEBPACK_IMPORTED_MODULE_127__.resolveNavPropId),
65596
65620
  /* harmony export */ rpcOverIpcStrings: () => (/* reexport safe */ _ipc_IpcSession__WEBPACK_IMPORTED_MODULE_79__.rpcOverIpcStrings),
65597
65621
  /* harmony export */ serializeIpcError: () => (/* reexport safe */ _ipc_IpcErrors__WEBPACK_IMPORTED_MODULE_75__.serializeIpcError),
65622
+ /* harmony export */ targetPointShapes: () => (/* reexport safe */ _annotation_TextStyle__WEBPACK_IMPORTED_MODULE_7__.targetPointShapes),
65598
65623
  /* harmony export */ terminatorShapes: () => (/* reexport safe */ _annotation_TextStyle__WEBPACK_IMPORTED_MODULE_7__.terminatorShapes),
65599
65624
  /* harmony export */ textAnnotationFrameShapes: () => (/* reexport safe */ _annotation_TextStyle__WEBPACK_IMPORTED_MODULE_7__.textAnnotationFrameShapes),
65600
65625
  /* harmony export */ tileFormatFromNumber: () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_162__.tileFormatFromNumber),
@@ -342432,7 +342457,7 @@ class TestContext {
342432
342457
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
342433
342458
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
342434
342459
  await core_frontend_1.NoRenderApp.startup({
342435
- applicationVersion: "5.13.0-dev.14",
342460
+ applicationVersion: "5.13.0-dev.15",
342436
342461
  applicationId: this.settings.gprid,
342437
342462
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
342438
342463
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -367627,7 +367652,7 @@ var loadLanguages = instance.loadLanguages;
367627
367652
  (module) {
367628
367653
 
367629
367654
  "use strict";
367630
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.13.0-dev.14","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 build: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: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 && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","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 build:test-worker && vitest --run","cover":"npm run build:test-worker && vitest --run","build:test-worker":"vite build --config ./src/test/worker/vite.config.mts 1>&2","build:workers":"rimraf lib/workers/webpack && vite build --config ./src/workers/ImdlParser/vite.config.mts 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":{"@bentley/aec-units-schema":"^1.0.3","@bentley/formats-schema":"^1.0.0","@bentley/units-schema":"^1.0.11","@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/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/node":"~20.17.0","@types/sinon":"^17.0.2","@vitest/browser-playwright":"^4.1.10","@vitest/coverage-v8":"^4.1.10","cpx2":"^8.0.0","eslint":"^9.31.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","typescript":"~5.6.2","vite":"^6.4.3","vitest":"^4.1.10","vite-plugin-static-copy":"2.2.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/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"}}');
367655
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.13.0-dev.15","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 build: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: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 && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","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 build:test-worker && vitest --run","cover":"npm run build:test-worker && vitest --run","build:test-worker":"vite build --config ./src/test/worker/vite.config.mts 1>&2","build:workers":"rimraf lib/workers/webpack && vite build --config ./src/workers/ImdlParser/vite.config.mts 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":{"@bentley/aec-units-schema":"^1.0.3","@bentley/formats-schema":"^1.0.0","@bentley/units-schema":"^1.0.11","@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/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/node":"~20.17.0","@types/sinon":"^17.0.2","@vitest/browser-playwright":"^4.1.10","@vitest/coverage-v8":"^4.1.10","cpx2":"^8.0.0","eslint":"^9.31.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","typescript":"~5.6.2","vite":"^6.4.3","vitest":"^4.1.10","vite-plugin-static-copy":"2.2.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/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"}}');
367631
367656
 
367632
367657
  /***/ },
367633
367658