@itwin/ecschema-rpcinterface-tests 3.5.0-dev.47 → 3.5.0-dev.49
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/_554f.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +9 -7
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/object-storage.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_itwin_object-storage-azure_1_4_0_node_modules_itwin_obj-3576c6.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_10_node_modules_loaders_gl_draco_d-13469a.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_reflect-metadata_0_1_13_node_modules_reflect-metadata_R-610cb3.bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_554f.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\
|
|
1
|
+
{"version":3,"file":"_554f.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\9\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.2.10\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
|
|
@@ -75266,24 +75266,26 @@ var RenderSchedule;
|
|
|
75266
75266
|
}
|
|
75267
75267
|
}
|
|
75268
75268
|
RenderSchedule.ScriptReference = ScriptReference;
|
|
75269
|
-
/** Used as part of a [[RenderSchedule.ScriptBuilder]] to define a [[RenderSchedule.Timeline]].
|
|
75269
|
+
/** Used as part of a [[RenderSchedule.ScriptBuilder]] to define a [[RenderSchedule.Timeline]]. Functions that append
|
|
75270
|
+
* to the timeline expect entries to be appended in chronological order - i.e., you cannot append an entry that is earlier
|
|
75271
|
+
* than a previously appended entry.
|
|
75270
75272
|
* @see [[RenderSchedule.ElementTimelineBuilder]] and [[RenderSchedule.ModelTimelineBuilder]].
|
|
75271
75273
|
*/
|
|
75272
75274
|
class TimelineBuilder {
|
|
75273
|
-
/** Append a new [[RenderSchedule.VisibilityEntry]] to the timeline. */
|
|
75275
|
+
/** Append a new [[RenderSchedule.VisibilityEntry]] to the timeline. `time` must be more recent than any previously-appended visibility entries. */
|
|
75274
75276
|
addVisibility(time, visibility, interpolation = Interpolation.Linear) {
|
|
75275
75277
|
if (!this.visibility)
|
|
75276
75278
|
this.visibility = [];
|
|
75277
75279
|
this.visibility.push({ time, value: visibility, interpolation });
|
|
75278
75280
|
}
|
|
75279
|
-
/** Append a new [[RenderSchedule.ColorEntry]] to the timeline. */
|
|
75281
|
+
/** Append a new [[RenderSchedule.ColorEntry]] to the timeline. `time` must be more recent than any previously-appended color entries. */
|
|
75280
75282
|
addColor(time, color, interpolation = Interpolation.Linear) {
|
|
75281
75283
|
if (!this.color)
|
|
75282
75284
|
this.color = [];
|
|
75283
75285
|
const value = color instanceof _RgbColor__WEBPACK_IMPORTED_MODULE_2__.RgbColor ? { red: color.r, green: color.g, blue: color.b } : color;
|
|
75284
75286
|
this.color.push({ time, value, interpolation });
|
|
75285
75287
|
}
|
|
75286
|
-
/** Append a new [[RenderSchedule.CuttingPlaneEntry]] to the timeline. */
|
|
75288
|
+
/** Append a new [[RenderSchedule.CuttingPlaneEntry]] to the timeline. `time` must be more recent than any previously-appended cutting plane entries. */
|
|
75287
75289
|
addCuttingPlane(time, plane, interpolation = Interpolation.Linear) {
|
|
75288
75290
|
if (!this.cuttingPlane)
|
|
75289
75291
|
this.cuttingPlane = [];
|
|
@@ -75300,7 +75302,7 @@ var RenderSchedule;
|
|
|
75300
75302
|
}
|
|
75301
75303
|
this.cuttingPlane.push({ time, value, interpolation });
|
|
75302
75304
|
}
|
|
75303
|
-
/** Append a new [[RenderSchedule.TransformEntry]] to the timeline. */
|
|
75305
|
+
/** Append a new [[RenderSchedule.TransformEntry]] to the timeline. `time` must be more recent than any previously-appended transform entries. */
|
|
75304
75306
|
addTransform(time, transform, components, interpolation = Interpolation.Linear) {
|
|
75305
75307
|
if (!this.transform)
|
|
75306
75308
|
this.transform = [];
|
|
@@ -75402,7 +75404,7 @@ var RenderSchedule;
|
|
|
75402
75404
|
}
|
|
75403
75405
|
}
|
|
75404
75406
|
RenderSchedule.ModelTimelineBuilder = ModelTimelineBuilder;
|
|
75405
|
-
/** Assembles the JSON representation for a new [[RenderSchedule.Script]]. As an extremely simple example, the following code produces a script that changes the color of a single element:
|
|
75407
|
+
/** Assembles the JSON representation for a new [[RenderSchedule.Script]]. Ensure that entries on any given element timeline are added chronologically. As an extremely simple example, the following code produces a script that changes the color of a single element:
|
|
75406
75408
|
* ```ts
|
|
75407
75409
|
* const script = new ScriptBuilder();
|
|
75408
75410
|
* const model = script.addModelTimeline("0x123");
|
|
@@ -310532,7 +310534,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
310532
310534
|
/***/ ((module) => {
|
|
310533
310535
|
|
|
310534
310536
|
"use strict";
|
|
310535
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.5.0-dev.
|
|
310537
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.5.0-dev.49","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","build:ci":"npm run -s build && npm run -s build:esm","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","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/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-eslintrc -c \\"../../tools/eslint-plugin/dist/configs/extension-exports-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"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^3.5.0-dev.49","@itwin/core-bentley":"workspace:^3.5.0-dev.49","@itwin/core-common":"workspace:^3.5.0-dev.49","@itwin/core-geometry":"workspace:^3.5.0-dev.49","@itwin/core-orbitgt":"workspace:^3.5.0-dev.49","@itwin/core-quantity":"workspace:^3.5.0-dev.49","@itwin/webgl-compatibility":"workspace:^3.5.0-dev.49"},"//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":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/lodash":"^4.14.0","@types/mocha":"^8.2.2","@types/node":"18.11.5","@types/qs":"^6.5.0","@types/semver":"7.3.10","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//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/object-storage-azure":"~1.4.0","@itwin/cloud-agnostic-core":"~1.4.0","@itwin/object-storage-core":"~1.4.0","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","deep-assign":"^2.0.0","fuse.js":"^3.3.0","lodash":"^4.17.10","qs":"^6.5.1","semver":"^7.3.5","superagent":"7.1.3","wms-capabilities":"0.4.0","xml-js":"~1.6.11","reflect-metadata":"0.1.13"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
|
|
310536
310538
|
|
|
310537
310539
|
/***/ })
|
|
310538
310540
|
|