@itwin/ecschema-rpcinterface-tests 5.1.0-dev.60 → 5.1.0-dev.61

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.
@@ -1 +1 @@
1
- {"version":3,"file":"BackendInit.js","sourceRoot":"","sources":["../../src/backend/BackendInit.ts"],"names":[],"mappings":";;AAAA;;;+FAG+F;AAC/F,yBAAyB;AACzB,6BAA6B;AAC7B,yEAAyE;AACzE,8DAA4D;AAC5D,yDAAgE;AAEhE,sDAAsD;AACtD,SAAS,OAAO,CAAC,OAAe;IAC9B,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC;QACzB,OAAO;IAET,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,4DAA4D;IAC9F,MAAM,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,4DAA4D;IAC3G,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IACnD,IAAI,SAAS,CAAC,KAAK,EAAE,CAAC;QACpB,MAAM,SAAS,CAAC,KAAK,CAAC;IACxB,CAAC;IAED,YAAY,CAAC,SAAS,CAAC,CAAC;AAC1B,CAAC;AAED,MAAM,CAAC,OAAO,GAAG,CAAC,KAAK,IAAI,EAAE;IAC3B,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IAClD,IAAA,qCAAsB,GAAE,CAAC;AAC3B,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport * as fs from \"fs\";\nimport * as path from \"path\";\n// Sets up certa to allow a method on the frontend to get an access token\nimport \"@itwin/oidc-signin-tool/lib/cjs/certa/certaBackend\";\nimport { exposeBackendCallbacks } from \"../common/SideChannels\";\n\n/** Loads the provided `.env` file into process.env */\nfunction loadEnv(envFile: string) {\n if (!fs.existsSync(envFile))\n return;\n\n const dotenv = require(\"dotenv\"); // eslint-disable-line @typescript-eslint/no-require-imports\n const dotenvExpand = require(\"dotenv-expand\"); // eslint-disable-line @typescript-eslint/no-require-imports\n const envResult = dotenv.config({ path: envFile });\n if (envResult.error) {\n throw envResult.error;\n }\n\n dotenvExpand(envResult);\n}\n\nmodule.exports = (async () => {\n loadEnv(path.join(__dirname, \"..\", \"..\", \".env\"));\n exposeBackendCallbacks();\n})();\n"]}
1
+ {"version":3,"file":"BackendInit.js","sourceRoot":"","sources":["../../src/backend/BackendInit.ts"],"names":[],"mappings":";;AAAA;;;+FAG+F;AAC/F,yBAAyB;AACzB,6BAA6B;AAC7B,yEAAyE;AACzE,8DAA4D;AAC5D,yDAAgE;AAEhE,sDAAsD;AACtD,SAAS,OAAO,CAAC,OAAe;IAC9B,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC;QACzB,OAAO;IAET,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,4DAA4D;IAC9F,MAAM,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,4DAA4D;IAC3G,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IACnD,IAAI,SAAS,CAAC,KAAK,EAAE,CAAC;QACpB,MAAM,SAAS,CAAC,KAAK,CAAC;IACxB,CAAC;IAED,YAAY,CAAC,SAAS,CAAC,CAAC;AAC1B,CAAC;AAED,MAAM,CAAC,OAAO,GAAG,CAAC,KAAK,IAAI,EAAE;IAC3B,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IAClD,IAAA,qCAAsB,GAAE,CAAC;AAC3B,CAAC,CAAC,EAAE,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\nimport * as fs from \"fs\";\r\nimport * as path from \"path\";\r\n// Sets up certa to allow a method on the frontend to get an access token\r\nimport \"@itwin/oidc-signin-tool/lib/cjs/certa/certaBackend\";\r\nimport { exposeBackendCallbacks } from \"../common/SideChannels\";\r\n\r\n/** Loads the provided `.env` file into process.env */\r\nfunction loadEnv(envFile: string) {\r\n if (!fs.existsSync(envFile))\r\n return;\r\n\r\n const dotenv = require(\"dotenv\"); // eslint-disable-line @typescript-eslint/no-require-imports\r\n const dotenvExpand = require(\"dotenv-expand\"); // eslint-disable-line @typescript-eslint/no-require-imports\r\n const envResult = dotenv.config({ path: envFile });\r\n if (envResult.error) {\r\n throw envResult.error;\r\n }\r\n\r\n dotenvExpand(envResult);\r\n}\r\n\r\nmodule.exports = (async () => {\r\n loadEnv(path.join(__dirname, \"..\", \"..\", \".env\"));\r\n exposeBackendCallbacks();\r\n})();\r\n"]}
@@ -103,10 +103,10 @@ class Settings {
103
103
  });
104
104
  }
105
105
  toString() {
106
- return `Configurations:
107
- oidc client id: ${this.oidcClientId},
108
- oidc scopes: ${this.oidcScopes},
109
- applicationId: ${this.gprid},
106
+ return `Configurations:
107
+ oidc client id: ${this.oidcClientId},
108
+ oidc scopes: ${this.oidcScopes},
109
+ applicationId: ${this.gprid},
110
110
  log level: ${this.logLevel}`;
111
111
  }
112
112
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.js","sourceRoot":"","sources":["../../src/common/Settings.ts"],"names":[],"mappings":";;;AA0BA,4CAMC;AAhCD;;;+FAG+F;AAC/F,sDAA+C;AAC/C,oDAA4D;AAE5D,sFAA2E;AAmB3E,SAAgB,gBAAgB;IAC9B,MAAM,aAAa,GAAG,EAAE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QAC5D,IAAI,CAAC,QAAQ,CAAC,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC;QAEpD,IAAI,SAAS,KAAK,OAAO,CAAC,GAAG,CAAC,YAAY;YACxC,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;QACzD,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC;QAE9C,YAAY;QACZ,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;YACd,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,yBAAyB,IAAI,EAAE;YAClD,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,yBAAyB,IAAI,EAAE;SACtD,CAAC,CAAC;IACL,CAAC;IAEM,QAAQ;QACb,OAAO;wBACa,IAAI,CAAC,YAAY;qBACpB,IAAI,CAAC,UAAU;uBACb,IAAI,CAAC,KAAK;mBACd,IAAI,CAAC,QAAQ,EAAE,CAAC;IACjC,CAAC;CACF;AAlHD,4BAkHC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport { LogLevel } from \"@itwin/core-bentley\";\nimport { IModelReadRpcInterface } from \"@itwin/core-common\";\nimport { TestUserCredentials } from \"@itwin/oidc-signin-tool\";\nimport { ECSchemaRpcInterface } from \"@itwin/ecschema-rpcinterface-common\";\n\nexport interface Backend {\n version: string;\n location: string;\n name: string;\n path: string;\n}\n\nexport interface IModelData {\n useName: boolean; // Defines whether or not to use the name of the iModel\n id?: string; // The iModel Id - This is not required\n name?: string; // The name is not required to actually get the iModel, only the id.\n useITwinName: boolean;\n iTwinId?: string;\n iTwinName?: string;\n changesetId?: string;\n}\n\nexport function getRpcInterfaces() {\n const rpcInterfaces = [];\n rpcInterfaces.push(IModelReadRpcInterface);\n rpcInterfaces.push(ECSchemaRpcInterface);\n\n return rpcInterfaces;\n}\n\nexport class Settings {\n private _backend: Backend = {} as Backend;\n public oidcClientId!: string;\n public oidcScopes!: string;\n public oidcRedirect!: string;\n public oidcAuthority?: string;\n public discovery!: string;\n public gprid?: string;\n public logLevel?: number;\n public users: TestUserCredentials[] = [];\n\n // eslint-disable-next-line @typescript-eslint/naming-convention\n public get Backend(): Backend { return this._backend; }\n public get user(): TestUserCredentials { return this.users[0]; }\n\n public iModel: IModelData = {} as IModelData;\n\n constructor(env: NodeJS.ProcessEnv) {\n const isFrontend = (typeof (process) === \"undefined\");\n if (!isFrontend && undefined === env.TF_BUILD) {\n const path = require(\"path\"); // eslint-disable-line @typescript-eslint/no-require-imports\n const dotenv = require(\"dotenv\"); // eslint-disable-line @typescript-eslint/no-require-imports\n const dotenvExpand = require(\"dotenv-expand\"); // eslint-disable-line @typescript-eslint/no-require-imports\n // First check in process.cwd() for the config\n let result = dotenv.config();\n if (result.error) {\n const potential = path.resolve(process.cwd(), \"..\", \"..\", \"..\", \"imodeljs-config\", \".env\");\n result = dotenv.config({ path: potential });\n if (result.error)\n throw result.error;\n }\n\n dotenvExpand(result);\n }\n\n if (isFrontend)\n globalThis.process = { browser: true, env } as any;\n\n // Loads the config out of the environment.\n this.load();\n }\n\n /** Loads the necessary variables from `process.env`.\n */\n private load() {\n // Parse OIDC\n if (undefined === process.env.OIDC_CLIENT_ID)\n throw new Error(\"Missing the 'OIDC_CLIENT_ID' setting.\");\n this.oidcClientId = process.env.OIDC_CLIENT_ID!;\n\n if (undefined === process.env.OIDC_SCOPES)\n throw new Error(\"Missing the 'OIDC_SCOPES' setting\");\n this.oidcScopes = process.env.OIDC_SCOPES;\n\n if (process.env.OIDC_AUTHORITY)\n this.oidcAuthority = process.env.OIDC_AUTHORITY;\n\n this.oidcRedirect = (undefined === process.env.OIDC_REDIRECT) ? \"http://localhost:5000\" : process.env.OIDC_REDIRECT;\n\n // Parse GPRId\n if (undefined !== process.env.GPRID)\n this.gprid = process.env.GPRID;\n\n // Parse the iModel variables\n if (!process.env.IMODEL_PROJECTID && !process.env.IMODEL_PROJECTNAME)\n throw new Error(\"Missing the 'IMODEL_PROJECTID' or 'IMODEL_PROJECTNAME' setting.\");\n\n if (!process.env.IMODEL_IMODELID && !process.env.IMODEL_IMODELNAME)\n throw new Error(\"Missing the 'IMODEL_IMODELID' or 'IMODEL_IMODELNAME' setting.\");\n\n this.iModel = {\n useName: !process.env.IMODEL_IMODELID,\n id: process.env.IMODEL_IMODELID,\n name: process.env.IMODEL_IMODELNAME,\n useITwinName: !process.env.IMODEL_PROJECTID,\n iTwinId: process.env.IMODEL_PROJECTID,\n iTwinName: process.env.IMODEL_PROJECTNAME,\n changesetId: process.env.IMODEL_CHANGESETID,\n };\n\n // Parse logging level\n if (undefined !== process.env.LOG_LEVEL) {\n const level = parseInt(process.env.LOG_LEVEL, 10);\n if (!isNaN(level) && undefined !== LogLevel[level])\n this.logLevel = level;\n }\n\n // Get backend data\n if (undefined === process.env.BACKEND_LOCATION)\n throw new Error(\"Missing the 'BACKEND_LOCATION' setting.\");\n this._backend.location = process.env.BACKEND_LOCATION;\n\n if (undefined === process.env.BACKEND_VERSION)\n throw new Error(\"Missing the 'BACKEND_VERSION' setting.\");\n this._backend.version = process.env.BACKEND_VERSION;\n\n if (undefined === process.env.BACKEND_NAME)\n throw new Error(\"Missing the 'BACKEND_NAME' setting.\");\n this._backend.name = process.env.BACKEND_NAME;\n\n // Get users\n this.users.push({\n email: process.env.USER_WITH_ACCESS_USERNAME || \"\",\n password: process.env.USER_WITH_ACCESS_PASSWORD || \"\",\n });\n }\n\n public toString(): string {\n return `Configurations:\n oidc client id: ${this.oidcClientId},\n oidc scopes: ${this.oidcScopes},\n applicationId: ${this.gprid},\n log level: ${this.logLevel}`;\n }\n}\n"]}
1
+ {"version":3,"file":"Settings.js","sourceRoot":"","sources":["../../src/common/Settings.ts"],"names":[],"mappings":";;;AA0BA,4CAMC;AAhCD;;;+FAG+F;AAC/F,sDAA+C;AAC/C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AO,CAAC,GAAG,CAAC,eAAe;YAC3C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;QAC5D,IAAI,CAAC,QAAQ,CAAC,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC;QAEpD,IAAI,SAAS,KAAK,OAAO,CAAC,GAAG,CAAC,YAAY;YACxC,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;QACzD,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC;QAE9C,YAAY;QACZ,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;YACd,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,yBAAyB,IAAI,EAAE;YAClD,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,yBAAyB,IAAI,EAAE;SACtD,CAAC,CAAC;IACL,CAAC;IAEM,QAAQ;QACb,OAAO;wBACa,IAAI,CAAC,YAAY;qBACpB,IAAI,CAAC,UAAU;uBACb,IAAI,CAAC,KAAK;mBACd,IAAI,CAAC,QAAQ,EAAE,CAAC;IACjC,CAAC;CACF;AAlHD,4BAkHC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\nimport { LogLevel } from \"@itwin/core-bentley\";\r\nimport { IModelReadRpcInterface } from \"@itwin/core-common\";\r\nimport { TestUserCredentials } from \"@itwin/oidc-signin-tool\";\r\nimport { ECSchemaRpcInterface } from \"@itwin/ecschema-rpcinterface-common\";\r\n\r\nexport interface Backend {\r\n version: string;\r\n location: string;\r\n name: string;\r\n path: string;\r\n}\r\n\r\nexport interface IModelData {\r\n useName: boolean; // Defines whether or not to use the name of the iModel\r\n id?: string; // The iModel Id - This is not required\r\n name?: string; // The name is not required to actually get the iModel, only the id.\r\n useITwinName: boolean;\r\n iTwinId?: string;\r\n iTwinName?: string;\r\n changesetId?: string;\r\n}\r\n\r\nexport function getRpcInterfaces() {\r\n const rpcInterfaces = [];\r\n rpcInterfaces.push(IModelReadRpcInterface);\r\n rpcInterfaces.push(ECSchemaRpcInterface);\r\n\r\n return rpcInterfaces;\r\n}\r\n\r\nexport class Settings {\r\n private _backend: Backend = {} as Backend;\r\n public oidcClientId!: string;\r\n public oidcScopes!: string;\r\n public oidcRedirect!: string;\r\n public oidcAuthority?: string;\r\n public discovery!: string;\r\n public gprid?: string;\r\n public logLevel?: number;\r\n public users: TestUserCredentials[] = [];\r\n\r\n // eslint-disable-next-line @typescript-eslint/naming-convention\r\n public get Backend(): Backend { return this._backend; }\r\n public get user(): TestUserCredentials { return this.users[0]; }\r\n\r\n public iModel: IModelData = {} as IModelData;\r\n\r\n constructor(env: NodeJS.ProcessEnv) {\r\n const isFrontend = (typeof (process) === \"undefined\");\r\n if (!isFrontend && undefined === env.TF_BUILD) {\r\n const path = require(\"path\"); // eslint-disable-line @typescript-eslint/no-require-imports\r\n const dotenv = require(\"dotenv\"); // eslint-disable-line @typescript-eslint/no-require-imports\r\n const dotenvExpand = require(\"dotenv-expand\"); // eslint-disable-line @typescript-eslint/no-require-imports\r\n // First check in process.cwd() for the config\r\n let result = dotenv.config();\r\n if (result.error) {\r\n const potential = path.resolve(process.cwd(), \"..\", \"..\", \"..\", \"imodeljs-config\", \".env\");\r\n result = dotenv.config({ path: potential });\r\n if (result.error)\r\n throw result.error;\r\n }\r\n\r\n dotenvExpand(result);\r\n }\r\n\r\n if (isFrontend)\r\n globalThis.process = { browser: true, env } as any;\r\n\r\n // Loads the config out of the environment.\r\n this.load();\r\n }\r\n\r\n /** Loads the necessary variables from `process.env`.\r\n */\r\n private load() {\r\n // Parse OIDC\r\n if (undefined === process.env.OIDC_CLIENT_ID)\r\n throw new Error(\"Missing the 'OIDC_CLIENT_ID' setting.\");\r\n this.oidcClientId = process.env.OIDC_CLIENT_ID!;\r\n\r\n if (undefined === process.env.OIDC_SCOPES)\r\n throw new Error(\"Missing the 'OIDC_SCOPES' setting\");\r\n this.oidcScopes = process.env.OIDC_SCOPES;\r\n\r\n if (process.env.OIDC_AUTHORITY)\r\n this.oidcAuthority = process.env.OIDC_AUTHORITY;\r\n\r\n this.oidcRedirect = (undefined === process.env.OIDC_REDIRECT) ? \"http://localhost:5000\" : process.env.OIDC_REDIRECT;\r\n\r\n // Parse GPRId\r\n if (undefined !== process.env.GPRID)\r\n this.gprid = process.env.GPRID;\r\n\r\n // Parse the iModel variables\r\n if (!process.env.IMODEL_PROJECTID && !process.env.IMODEL_PROJECTNAME)\r\n throw new Error(\"Missing the 'IMODEL_PROJECTID' or 'IMODEL_PROJECTNAME' setting.\");\r\n\r\n if (!process.env.IMODEL_IMODELID && !process.env.IMODEL_IMODELNAME)\r\n throw new Error(\"Missing the 'IMODEL_IMODELID' or 'IMODEL_IMODELNAME' setting.\");\r\n\r\n this.iModel = {\r\n useName: !process.env.IMODEL_IMODELID,\r\n id: process.env.IMODEL_IMODELID,\r\n name: process.env.IMODEL_IMODELNAME,\r\n useITwinName: !process.env.IMODEL_PROJECTID,\r\n iTwinId: process.env.IMODEL_PROJECTID,\r\n iTwinName: process.env.IMODEL_PROJECTNAME,\r\n changesetId: process.env.IMODEL_CHANGESETID,\r\n };\r\n\r\n // Parse logging level\r\n if (undefined !== process.env.LOG_LEVEL) {\r\n const level = parseInt(process.env.LOG_LEVEL, 10);\r\n if (!isNaN(level) && undefined !== LogLevel[level])\r\n this.logLevel = level;\r\n }\r\n\r\n // Get backend data\r\n if (undefined === process.env.BACKEND_LOCATION)\r\n throw new Error(\"Missing the 'BACKEND_LOCATION' setting.\");\r\n this._backend.location = process.env.BACKEND_LOCATION;\r\n\r\n if (undefined === process.env.BACKEND_VERSION)\r\n throw new Error(\"Missing the 'BACKEND_VERSION' setting.\");\r\n this._backend.version = process.env.BACKEND_VERSION;\r\n\r\n if (undefined === process.env.BACKEND_NAME)\r\n throw new Error(\"Missing the 'BACKEND_NAME' setting.\");\r\n this._backend.name = process.env.BACKEND_NAME;\r\n\r\n // Get users\r\n this.users.push({\r\n email: process.env.USER_WITH_ACCESS_USERNAME || \"\",\r\n password: process.env.USER_WITH_ACCESS_PASSWORD || \"\",\r\n });\r\n }\r\n\r\n public toString(): string {\r\n return `Configurations:\r\n oidc client id: ${this.oidcClientId},\r\n oidc scopes: ${this.oidcScopes},\r\n applicationId: ${this.gprid},\r\n log level: ${this.logLevel}`;\r\n }\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"SideChannels.js","sourceRoot":"","sources":["../../src/common/SideChannels.ts"],"names":[],"mappings":";;AAQA,wDAIC;AAED,4DAEC;AAhBD;;;+FAG+F;AAC/F,wEAAuG;AAEvG,MAAM,kBAAkB,GAAG,QAAQ,CAAC;AAEpC,SAAgB,sBAAsB;IACpC,IAAA,uCAAuB,EAAC,kBAAkB,EAAE,GAAG,EAAE;QAC/C,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;AACL,CAAC;AAEM,KAAK,UAAU,wBAAwB;IAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,IAAA,sCAAsB,EAAC,kBAAkB,CAAC,CAAC,CAAC;AACtE,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport { executeBackendCallback, registerBackendCallback } from \"@itwin/certa/lib/utils/CallbackUtils\";\n\nconst getEnvCallbackName = \"getEnv\";\n\nexport function exposeBackendCallbacks() {\n registerBackendCallback(getEnvCallbackName, () => {\n return JSON.stringify(process.env);\n });\n}\n\nexport async function getProcessEnvFromBackend(): Promise<NodeJS.ProcessEnv> {\n return JSON.parse(await executeBackendCallback(getEnvCallbackName));\n}\n"]}
1
+ {"version":3,"file":"SideChannels.js","sourceRoot":"","sources":["../../src/common/SideChannels.ts"],"names":[],"mappings":";;AAQA,wDAIC;AAED,4DAEC;AAhBD;;;+FAG+F;AAC/F,wEAAuG;AAEvG,MAAM,kBAAkB,GAAG,QAAQ,CAAC;AAEpC,SAAgB,sBAAsB;IACpC,IAAA,uCAAuB,EAAC,kBAAkB,EAAE,GAAG,EAAE;QAC/C,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;AACL,CAAC;AAEM,KAAK,UAAU,wBAAwB;IAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,IAAA,sCAAsB,EAAC,kBAAkB,CAAC,CAAC,CAAC;AACtE,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\nimport { executeBackendCallback, registerBackendCallback } from \"@itwin/certa/lib/utils/CallbackUtils\";\r\n\r\nconst getEnvCallbackName = \"getEnv\";\r\n\r\nexport function exposeBackendCallbacks() {\r\n registerBackendCallback(getEnvCallbackName, () => {\r\n return JSON.stringify(process.env);\r\n });\r\n}\r\n\r\nexport async function getProcessEnvFromBackend(): Promise<NodeJS.ProcessEnv> {\r\n return JSON.parse(await executeBackendCallback(getEnvCallbackName));\r\n}\r\n"]}
@@ -30841,6 +30841,7 @@ var PrimitiveTypeCode;
30841
30841
  * @beta
30842
30842
  * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `Property` class from @itwin/ecschema-metadata` instead.
30843
30843
  */
30844
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
30844
30845
  class PropertyMetaData {
30845
30846
  primitiveType;
30846
30847
  structName;
@@ -30926,6 +30927,7 @@ class PropertyMetaData {
30926
30927
  * @beta
30927
30928
  * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `EntityClass` class from `@itwin/ecschema-metadata` instead.
30928
30929
  */
30930
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
30929
30931
  class EntityMetaData {
30930
30932
  /** The Id of the class in the [[IModelDb]] from which the metadata was obtained. */
30931
30933
  classId;
@@ -55001,7 +55003,7 @@ class IModelReadRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__.
55001
55003
  async getViewStateData(_iModelToken, _viewDefinitionId, _options) { return this.forward(arguments); }
55002
55004
  async readFontJson(_iModelToken) { return this.forward(arguments); } // eslint-disable-line @typescript-eslint/no-deprecated
55003
55005
  async getToolTipMessage(_iModelToken, _elementId) { return this.forward(arguments); }
55004
- /** @deprecated in 3.x - might be removed in next major version. Use ViewStore apis. */
55006
+ /** @deprecated in 3.3.0 - might be removed in next major version. Use ViewStore apis. */
55005
55007
  async getViewThumbnail(_iModelToken, _viewId) { return this.forward(arguments); }
55006
55008
  async getDefaultViewId(_iModelToken) { return this.forward(arguments); }
55007
55009
  async getCustomViewState3dData(_iModelToken, _options) { return this.forward(arguments); }
@@ -67427,6 +67429,7 @@ class ECClass extends _SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem {
67427
67429
  else
67428
67430
  correctType = structType;
67429
67431
  if (!correctType)
67432
+ // eslint-disable-next-line @typescript-eslint/no-base-to-string
67430
67433
  throw new _Exception__WEBPACK_IMPORTED_MODULE_4__.ECSchemaError(_Exception__WEBPACK_IMPORTED_MODULE_4__.ECSchemaStatus.InvalidType, `The provided Struct type, ${structType}, is not a valid StructClass.`);
67431
67434
  return correctType;
67432
67435
  }
@@ -67446,6 +67449,7 @@ class ECClass extends _SchemaItem__WEBPACK_IMPORTED_MODULE_9__.SchemaItem {
67446
67449
  else
67447
67450
  correctType = structType;
67448
67451
  if (!correctType)
67452
+ // eslint-disable-next-line @typescript-eslint/no-base-to-string
67449
67453
  throw new _Exception__WEBPACK_IMPORTED_MODULE_4__.ECSchemaError(_Exception__WEBPACK_IMPORTED_MODULE_4__.ECSchemaStatus.InvalidType, `The provided Struct type, ${structType}, is not a valid StructClass.`);
67450
67454
  return correctType;
67451
67455
  }
@@ -83002,6 +83006,7 @@ class SectionAttachment {
83002
83006
  is3d: true,
83003
83007
  scale: { x: 1, y: 1 },
83004
83008
  },
83009
+ contours: view.getDisplayStyle3d().settings.contours
83005
83010
  };
83006
83011
  this._viewFlagOverrides = { ...view.viewFlags, lighting: false, shadows: false };
83007
83012
  // Save off the original frustum (potentially adjusted by viewport).
@@ -114396,7 +114401,7 @@ class BatchUniforms {
114396
114401
  this._sensors.bindTexture(uniform);
114397
114402
  }
114398
114403
  get wantContourLines() {
114399
- const contours = this._target.plan.contours;
114404
+ const contours = this._target.currentBranch.contourLine;
114400
114405
  return undefined !== contours && contours.displayContours && contours.groups.length > 0;
114401
114406
  }
114402
114407
  bindContourLUT(uniform) {
@@ -114528,6 +114533,7 @@ class BranchStack {
114528
114533
  viewFlags: new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ViewFlags(),
114529
114534
  transform: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Transform.createIdentity(),
114530
114535
  edgeSettings: _EdgeSettings__WEBPACK_IMPORTED_MODULE_5__.EdgeSettings.create(undefined),
114536
+ contourLine: undefined,
114531
114537
  is3d: true,
114532
114538
  symbologyOverrides: new _render_FeatureSymbology__WEBPACK_IMPORTED_MODULE_3__.FeatureSymbology.Overrides(),
114533
114539
  });
@@ -114556,9 +114562,9 @@ class BranchStack {
114556
114562
  this._stack.pop();
114557
114563
  }
114558
114564
  }
114559
- changeRenderPlan(vf, is3d, hline) {
114565
+ changeRenderPlan(vf, is3d, hline, contour) {
114560
114566
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(1 === this.length);
114561
- this.top.changeRenderPlan(vf, is3d, hline);
114567
+ this.top.changeRenderPlan(vf, is3d, hline, contour);
114562
114568
  }
114563
114569
  setSymbologyOverrides(ovrs) {
114564
114570
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(1 === this.length);
@@ -114621,16 +114627,18 @@ class BranchState {
114621
114627
  get inSectionDrawingAttachment() { return this._opts.inSectionDrawingAttachment; }
114622
114628
  get groupNodeId() { return this._opts.groupNodeId; }
114623
114629
  get disableClipStyle() { return this._opts.disableClipStyle; }
114630
+ get contourLine() { return this._opts.contourLine; }
114624
114631
  get symbologyOverrides() {
114625
114632
  return this._opts.symbologyOverrides;
114626
114633
  }
114627
114634
  set symbologyOverrides(ovrs) {
114628
114635
  this._opts.symbologyOverrides = ovrs;
114629
114636
  }
114630
- changeRenderPlan(viewFlags, is3d, hline) {
114637
+ changeRenderPlan(viewFlags, is3d, hline, contour) {
114631
114638
  this.viewFlags = viewFlags;
114632
114639
  this._opts.is3d = is3d;
114633
114640
  this.edgeSettings.init(hline);
114641
+ this._opts.contourLine = contour;
114634
114642
  }
114635
114643
  /** Create a BranchState from a Branch. Any properties not explicitly specified by the new Branch are inherited from the previous BranchState. */
114636
114644
  static fromBranch(prev, branch) {
@@ -114655,6 +114663,7 @@ class BranchState {
114655
114663
  inSectionDrawingAttachment: branch.inSectionDrawingAttachment ?? prev.inSectionDrawingAttachment,
114656
114664
  groupNodeId: branch.branch.groupNodeId ?? prev.groupNodeId,
114657
114665
  disableClipStyle: branch.disableClipStyle ?? prev.disableClipStyle,
114666
+ contourLine: branch.contourLine ?? prev.contourLine,
114658
114667
  });
114659
114668
  }
114660
114669
  getFeatureAppearance(overrides, elemLo, elemHi, subcatLo, subcatHi, geomClass, modelLo, modelHi, type, animationNodeId) {
@@ -114817,8 +114826,8 @@ class BranchUniforms {
114817
114826
  this._viewClipEnabled = false;
114818
114827
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)((this._target.isReadPixelsInProgress ? 2 : 1) === this._stack.length);
114819
114828
  }
114820
- changeRenderPlan(vf, is3d, hline) {
114821
- this._stack.changeRenderPlan(vf, is3d, hline);
114829
+ changeRenderPlan(vf, is3d, hline, contourLine) {
114830
+ this._stack.changeRenderPlan(vf, is3d, hline, contourLine);
114822
114831
  }
114823
114832
  updateViewClip(clip, style) {
114824
114833
  this.clipStack.setViewClip(clip, style);
@@ -116580,12 +116589,11 @@ class ContourUniforms {
116580
116589
  this._contourDefs[startNdx + offset + 1] = majorIntervalCount < 1.0 ? 1.0 : majorIntervalCount;
116581
116590
  }
116582
116591
  update(target) {
116583
- const plan = target.plan;
116584
- if (this.contourDisplay && plan.contours && this.contourDisplay.equals(plan.contours)) {
116592
+ if (this.contourDisplay && target.currentContours && this.contourDisplay.equals(target.currentContours)) {
116585
116593
  return;
116586
116594
  }
116587
116595
  (0,_Sync__WEBPACK_IMPORTED_MODULE_1__.desync)(this);
116588
- this._contourDisplay = plan.contours;
116596
+ this._contourDisplay = target.currentContours;
116589
116597
  if (undefined === this.contourDisplay)
116590
116598
  return;
116591
116599
  /* uniform packing for contourDefs:
@@ -116675,14 +116683,14 @@ class Contours {
116675
116683
  return target === this.target && this._numFeatures === map.numFeatures;
116676
116684
  }
116677
116685
  matchesSubCategories() {
116678
- if (this._contours === undefined && this.target.plan.contours === undefined)
116686
+ if (this._contours === undefined && this.target.currentContours === undefined)
116679
116687
  return true;
116680
- if (this._contours === undefined || this.target.plan.contours === undefined)
116688
+ if (this._contours === undefined || this.target.currentContours === undefined)
116681
116689
  return false;
116682
- if (this._contours.groups.length !== this.target.plan.contours.groups.length)
116690
+ if (this._contours.groups.length !== this.target.currentContours.groups.length)
116683
116691
  return false;
116684
116692
  for (let index = 0, len = this._contours.groups.length; index < len && index < _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ContourDisplay.maxContourGroups; ++index) {
116685
- if (!this._contours.groups[index].subCategoriesEqual(this.target.plan.contours.groups[index]))
116693
+ if (!this._contours.groups[index].subCategoriesEqual(this.target.currentContours.groups[index]))
116686
116694
  return false;
116687
116695
  }
116688
116696
  return true;
@@ -116696,14 +116704,14 @@ class Contours {
116696
116704
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(width * height * 8 >= this._numFeatures);
116697
116705
  const data = new Uint8Array(width * height * 4);
116698
116706
  const creator = new _Texture__WEBPACK_IMPORTED_MODULE_5__.Texture2DDataUpdater(data);
116699
- this.buildLookupTable(creator, map, this.target.plan.contours);
116707
+ this.buildLookupTable(creator, map, this.target.currentContours);
116700
116708
  this._lut = _Texture__WEBPACK_IMPORTED_MODULE_5__.TextureHandle.createForData(width, height, data, true, _GL__WEBPACK_IMPORTED_MODULE_2__.GL.Texture.WrapMode.ClampToEdge);
116701
116709
  this._lutWidth = width;
116702
116710
  }
116703
116711
  _update(map, lut) {
116704
116712
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(this._numFeatures === map.numFeatures);
116705
116713
  const updater = new _Texture__WEBPACK_IMPORTED_MODULE_5__.Texture2DDataUpdater(lut.dataBytes);
116706
- this.buildLookupTable(updater, map, this.target.plan.contours);
116714
+ this.buildLookupTable(updater, map, this.target.currentContours);
116707
116715
  lut.update(updater);
116708
116716
  }
116709
116717
  buildLookupTable(data, map, contours) {
@@ -116741,7 +116749,7 @@ class Contours {
116741
116749
  constructor(target, options) {
116742
116750
  this.target = target;
116743
116751
  this._options = options;
116744
- this._contours = target.plan.contours;
116752
+ this._contours = target.currentContours;
116745
116753
  }
116746
116754
  static createFromTarget(target, options) {
116747
116755
  return new Contours(target, options);
@@ -116758,7 +116766,7 @@ class Contours {
116758
116766
  update(features) {
116759
116767
  if (this.matchesSubCategories())
116760
116768
  return;
116761
- this._contours = this.target.plan.contours;
116769
+ this._contours = this.target.currentContours;
116762
116770
  // _lut can be undefined if context was lost, (gl.createTexture returns null)
116763
116771
  if (this._lut) {
116764
116772
  this._update(features, this._lut);
@@ -119523,6 +119531,7 @@ class Branch extends Graphic {
119523
119531
  inSectionDrawingAttachment;
119524
119532
  disableClipStyle;
119525
119533
  transformFromExternalIModel;
119534
+ contourLine;
119526
119535
  constructor(branch, localToWorld, viewFlags, opts) {
119527
119536
  super();
119528
119537
  this.branch = branch;
@@ -119539,6 +119548,7 @@ class Branch extends Graphic {
119539
119548
  this.inSectionDrawingAttachment = opts.inSectionDrawingAttachment;
119540
119549
  this.disableClipStyle = opts.disableClipStyle;
119541
119550
  this.transformFromExternalIModel = opts.transformFromIModel;
119551
+ this.contourLine = opts.contours;
119542
119552
  if (opts.hline)
119543
119553
  this.edgeSettings = _EdgeSettings__WEBPACK_IMPORTED_MODULE_6__.EdgeSettings.create(opts.hline);
119544
119554
  if (opts.classifierOrDrape instanceof _PlanarClassifier__WEBPACK_IMPORTED_MODULE_8__.PlanarClassifier)
@@ -126519,7 +126529,7 @@ class Compositor extends SceneCompositor {
126519
126529
  }
126520
126530
  readContours(rect) {
126521
126531
  // Are we actually drawing any contours? If not, don't bother reading an array of all zeroes off the GPU.
126522
- const contours = this.target.plan.contours;
126532
+ const contours = this.target.currentContours;
126523
126533
  if (!contours || !contours.displayContours || contours.groups.length === 0) {
126524
126534
  return undefined;
126525
126535
  }
@@ -126697,6 +126707,7 @@ class Compositor extends SceneCompositor {
126697
126707
  iModel: top.iModel,
126698
126708
  is3d: top.is3d,
126699
126709
  edgeSettings: top.edgeSettings,
126710
+ contourLine: top.contourLine,
126700
126711
  });
126701
126712
  this._vcSetStencilRenderState = new _RenderState__WEBPACK_IMPORTED_MODULE_14__.RenderState();
126702
126713
  this._vcCopyZRenderState = new _RenderState__WEBPACK_IMPORTED_MODULE_14__.RenderState();
@@ -131169,6 +131180,7 @@ class Target extends _render_RenderTarget__WEBPACK_IMPORTED_MODULE_7__.RenderTar
131169
131180
  const drape = this.currentTextureDrape;
131170
131181
  return undefined === drape ? this.currentPlanarClassifier : drape;
131171
131182
  }
131183
+ get currentContours() { return this.currentBranch.contourLine; }
131172
131184
  modelToView(modelPt, result) {
131173
131185
  return this.uniforms.branch.modelViewMatrix.multiplyPoint3dQuietNormalize(modelPt, result);
131174
131186
  }
@@ -131379,7 +131391,7 @@ class Target extends _render_RenderTarget__WEBPACK_IMPORTED_MODULE_7__.RenderTar
131379
131391
  this._wantAmbientOcclusion = false;
131380
131392
  vf = vf.with("ambientOcclusion", false);
131381
131393
  }
131382
- this.uniforms.branch.changeRenderPlan(vf, plan.is3d, plan.hline);
131394
+ this.uniforms.branch.changeRenderPlan(vf, plan.is3d, plan.hline, plan.contours);
131383
131395
  this.changeFrustum(plan.frustum, plan.fraction, plan.is3d);
131384
131396
  this.uniforms.thematic.update(this);
131385
131397
  this.uniforms.contours.update(this);
@@ -131678,6 +131690,7 @@ class Target extends _render_RenderTarget__WEBPACK_IMPORTED_MODULE_7__.RenderTar
131678
131690
  edgeSettings: top.edgeSettings,
131679
131691
  transform: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Transform.createIdentity(),
131680
131692
  clipVolume: top.clipVolume,
131693
+ contourLine: top.contourLine,
131681
131694
  });
131682
131695
  this.pushState(state);
131683
131696
  // Repopulate the command list, omitting non-pickable decorations and putting transparent stuff into the opaque passes.
@@ -185371,7 +185384,7 @@ class Geometry {
185371
185384
  static largeCoordinateResult = 1.0e13;
185372
185385
  /**
185373
185386
  * Numeric value that may considered infinite for metric coordinates.
185374
- * @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[largeCoordinateResult]].
185387
+ * @deprecated in 4.9.0 - will not be removed until after 2026-06-13. Use [[largeCoordinateResult]].
185375
185388
  * * This coordinate should be used only as a placeholder indicating "at infinity" -- computing actual
185376
185389
  * points at this coordinate invites numerical problems.
185377
185390
  */
@@ -185382,7 +185395,7 @@ class Geometry {
185382
185395
  }
185383
185396
  /**
185384
185397
  * Test if the absolute value of x is at least [[largeCoordinateResult]].
185385
- * @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[isLargeCoordinateResult]].
185398
+ * @deprecated in 4.9.0 - will not be removed until after 2026-06-13. Use [[isLargeCoordinateResult]].
185386
185399
  */
185387
185400
  static isHugeCoordinate(x) {
185388
185401
  return Geometry.isLargeCoordinateResult(x);
@@ -186349,7 +186362,7 @@ class Geometry {
186349
186362
  /**
186350
186363
  * Clone an array whose members have type `T`, which implements the clone method.
186351
186364
  * * If the clone method returns `undefined`, then `undefined` is forced into the cloned array.
186352
- * @deprecated in 4.x - will not be removed until after 2026-06-13. Use cloneArray.
186365
+ * @deprecated in 4.4.0 - will not be removed until after 2026-06-13. Use cloneArray.
186353
186366
  */
186354
186367
  // eslint-disable-next-line @typescript-eslint/no-deprecated
186355
186368
  static cloneMembers(array) {
@@ -186775,7 +186788,7 @@ class BSpline1dNd {
186775
186788
  * Test if the leading and trailing polygon coordinates are replicated in the manner of a "closed" bspline polygon
186776
186789
  * which has been expanded to act as a normal bspline.
186777
186790
  * @returns true if `degree` leading and trailing polygon blocks match.
186778
- * @deprecated in 4.x - will not be removed until after 2026-06-13. Use `testClosablePolygon` instead.
186791
+ * @deprecated in 4.2.1 - will not be removed until after 2026-06-13. Use `testClosablePolygon` instead.
186779
186792
  */
186780
186793
  testCloseablePolygon(mode) {
186781
186794
  return this.testClosablePolygon(mode);
@@ -189075,7 +189088,7 @@ var UVSelect;
189075
189088
  UVSelect[UVSelect["uDirection"] = 0] = "uDirection";
189076
189089
  /**
189077
189090
  * index of v direction
189078
- * @deprecated in 4.x - will not be removed until after 2026-06-13. Use vDirection instead.
189091
+ * @deprecated in 4.3.0 - will not be removed until after 2026-06-13. Use vDirection instead.
189079
189092
  */
189080
189093
  UVSelect[UVSelect["VDirection"] = 1] = "VDirection";
189081
189094
  /** index of v direction */
@@ -189302,7 +189315,7 @@ class BSpline2dNd extends _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_0__.Geom
189302
189315
  }
189303
189316
  /**
189304
189317
  * sum poles by the weights in the basisBuffer, using poles for given span
189305
- * @deprecated in 4.x - will not be removed until after 2026-06-13. Use sumPoleBufferDerivativesForSpan instead.
189318
+ * @deprecated in 4.3.0 - will not be removed until after 2026-06-13. Use sumPoleBufferDerivativesForSpan instead.
189306
189319
  */
189307
189320
  sumpoleBufferDerivativesForSpan(spanIndexU, spanIndexV) {
189308
189321
  return this.sumPoleBufferDerivativesForSpan(spanIndexU, spanIndexV);
@@ -202662,7 +202675,7 @@ class CurveLocationDetailPair {
202662
202675
  }
202663
202676
  /**
202664
202677
  * Data bundle for a pair of arrays of CurveLocationDetail structures.
202665
- * @deprecated in 4.x - will not be removed until after 2026-06-13. Use CurveLocationDetailPair[] instead.
202678
+ * @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Use CurveLocationDetailPair[] instead.
202666
202679
  * @public
202667
202680
  */
202668
202681
  class CurveLocationDetailArrayPair {
@@ -210648,7 +210661,7 @@ class StrokeOptions {
210648
210661
  maxEdgeLength;
210649
210662
  /**
210650
210663
  * Caller expects convex facets.
210651
- * @deprecated in 4.x - will not be removed until after 2026-06-13. Never used. See [[shouldTriangulate]] and [[maximizeConvexFacets]].
210664
+ * @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Never used. See [[shouldTriangulate]] and [[maximizeConvexFacets]].
210652
210665
  */
210653
210666
  needConvexFacets;
210654
210667
  /** Minimum strokes on a primitive. */
@@ -224916,7 +224929,7 @@ class GrowableXYArray extends _IndexedXYCollection__WEBPACK_IMPORTED_MODULE_0__.
224916
224929
  return result;
224917
224930
  }
224918
224931
  /** Restructure MultiLineStringDataVariant as array of GrowableXYZArray
224919
- * @deprecated in 4.x - will not be removed until after 2026-06-13. Moved to GrowableXYZArray class.
224932
+ * @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Moved to GrowableXYZArray class.
224920
224933
  */
224921
224934
  static createArrayOfGrowableXYZArray(data) {
224922
224935
  return _GrowableXYZArray__WEBPACK_IMPORTED_MODULE_1__.GrowableXYZArray.createArrayOfGrowableXYZArray(data);
@@ -243610,7 +243623,7 @@ class Point4d extends _geometry3d_Plane3d__WEBPACK_IMPORTED_MODULE_0__.Plane3d {
243610
243623
  * extract 4 consecutive numbers from a Float64Array into a Point4d.
243611
243624
  * @param data buffer of numbers
243612
243625
  * @param xIndex first index for x,y,z,w sequence. Assumed to be a valid index!
243613
- * @deprecated in 4.x - will not be removed until after 2026-06-13. Use createFromPacked instead.
243626
+ * @deprecated in 4.3.0 - will not be removed until after 2026-06-13. Use createFromPacked instead.
243614
243627
  */
243615
243628
  static createFromPackedXYZW(data, xIndex = 0, result) {
243616
243629
  return Point4d.create(data[xIndex], data[xIndex + 1], data[xIndex + 2], data[xIndex + 3], result);
@@ -252938,7 +252951,7 @@ class IndexedPolyface extends Polyface {
252938
252951
  }
252939
252952
  /**
252940
252953
  * Clean up the open facet.
252941
- * @deprecated in 4.x - will not be removed until after 2026-06-13. To remove nebulous "open facet" concept from the API. Call [[PolyfaceData.trimAllIndexArrays]]
252954
+ * @deprecated in 4.5.0 - will not be removed until after 2026-06-13. To remove nebulous "open facet" concept from the API. Call [[PolyfaceData.trimAllIndexArrays]]
252942
252955
  * instead.
252943
252956
  */
252944
252957
  cleanupOpenFacet() {
@@ -253088,7 +253101,7 @@ class IndexedPolyface extends Polyface {
253088
253101
  }
253089
253102
  /**
253090
253103
  * Given the index of a facet, return the data pertaining to the face it is a part of.
253091
- * @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[IndexedPolyface.tryGetFaceData]], which verifies the index is in range.
253104
+ * @deprecated in 4.5.0 - will not be removed until after 2026-06-13. Use [[IndexedPolyface.tryGetFaceData]], which verifies the index is in range.
253092
253105
  */
253093
253106
  getFaceDataByFacetIndex(facetIndex) {
253094
253107
  return this.data.face[this._facetToFaceData[facetIndex]];
@@ -254310,7 +254323,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
254310
254323
  * Apply stroke counts to curve primitives.
254311
254324
  * * Recursively visit all children of data.
254312
254325
  * * At each primitive, invoke `computeStrokeCountForOptions` method with options from the builder.
254313
- * @deprecated in 4.x - will not be removed until after 2026-06-13. This method does nothing and is unneeded.
254326
+ * @deprecated in 4.8.0 - will not be removed until after 2026-06-13. This method does nothing and is unneeded.
254314
254327
  */
254315
254328
  applyStrokeCountsToCurvePrimitives(data) {
254316
254329
  const options = this._options;
@@ -256349,7 +256362,7 @@ class PolyfaceData {
256349
256362
  }
256350
256363
  /**
256351
256364
  * Resize all data arrays to the specified `length`.
256352
- * @deprecated in 4.x - will not be removed until after 2026-06-13. Because name is misleading. Call [[PolyfaceData.resizeAllArrays]] instead.
256365
+ * @deprecated in 4.5.0 - will not be removed until after 2026-06-13. Because name is misleading. Call [[PolyfaceData.resizeAllArrays]] instead.
256353
256366
  */
256354
256367
  resizeAllDataArrays(length) {
256355
256368
  if (length > this.point.length) {
@@ -257921,7 +257934,7 @@ class PolyfaceQuery {
257921
257934
  });
257922
257935
  return builder.claimPolyface(true);
257923
257936
  }
257924
- /** @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[sweepLineStringToFacetsXYReturnSweptFacets]] instead. */
257937
+ /** @deprecated in 4.7.0 - will not be removed until after 2026-06-13. Use [[sweepLineStringToFacetsXYReturnSweptFacets]] instead. */
257925
257938
  static sweepLinestringToFacetsXYreturnSweptFacets(linestringPoints, polyface) {
257926
257939
  return this.sweepLineStringToFacetsXYReturnSweptFacets(linestringPoints, polyface);
257927
257940
  }
@@ -258024,7 +258037,7 @@ class PolyfaceQuery {
258024
258037
  * * Return collected line segments.
258025
258038
  * * This calls [[sweepLineStringToFacets]] with options created by
258026
258039
  * `const options = SweepLineStringToFacetsOptions.create(Vector3d.unitZ(), Angle.createSmallAngle(), false, true, true, true);`
258027
- * @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
258040
+ * @deprecated in 4.7.0 - will not be removed until after 2026-06-13. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
258028
258041
  */
258029
258042
  static sweepLinestringToFacetsXYReturnLines(linestringPoints, polyface) {
258030
258043
  const options = SweepLineStringToFacetsOptions.create(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.unitZ(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createSmallAngle(), false, true, true, true);
@@ -258034,7 +258047,7 @@ class PolyfaceQuery {
258034
258047
  * Find segments (within the linestring) which project to facets.
258035
258048
  * * Return chains.
258036
258049
  * * This calls [[sweepLineStringToFacets]] with default options.
258037
- * @deprecated in 4.x - will not be removed until after 2026-06-13. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
258050
+ * @deprecated in 4.7.0 - will not be removed until after 2026-06-13. Use [[PolyfaceQuery.sweepLineStringToFacets]] to get further options.
258038
258051
  */
258039
258052
  static sweepLinestringToFacetsXYReturnChains(linestringPoints, polyface) {
258040
258053
  return PolyfaceQuery.sweepLineStringToFacets(linestringPoints, polyface);
@@ -271831,7 +271844,7 @@ class Sample {
271831
271844
  return points;
271832
271845
  }
271833
271846
  // cspell:word creat
271834
- /** @deprecated in 4.x - will not be removed until after 2026-06-13. Use createVerticalStaggerPolygon instead. */
271847
+ /** @deprecated in 4.0.0 - will not be removed until after 2026-06-13. Use createVerticalStaggerPolygon instead. */
271835
271848
  static creatVerticalStaggerPolygon(dy1, dy2, dy3, dy4, ax, ay, dx1, dx4) {
271836
271849
  return this.createVerticalStaggerPolygon(dy1, dy2, dy3, dy4, ax, ay, dx1, dx4);
271837
271850
  }
@@ -304954,10 +304967,10 @@ class Settings {
304954
304967
  });
304955
304968
  }
304956
304969
  toString() {
304957
- return `Configurations:
304958
- oidc client id: ${this.oidcClientId},
304959
- oidc scopes: ${this.oidcScopes},
304960
- applicationId: ${this.gprid},
304970
+ return `Configurations:
304971
+ oidc client id: ${this.oidcClientId},
304972
+ oidc scopes: ${this.oidcScopes},
304973
+ applicationId: ${this.gprid},
304961
304974
  log level: ${this.logLevel}`;
304962
304975
  }
304963
304976
  }
@@ -305434,7 +305447,7 @@ class UiAdmin {
305434
305447
  /** Get the cursor X and Y position. */
305435
305448
  get cursorPosition() { return { x: 0, y: 0 }; }
305436
305449
  /** Create a PointProps object.
305437
- * @deprecated in 4.2.x - will not be removed until after 2026-06-13. Please use @core/geometry [[XAndY]] or a custom implementation.
305450
+ * @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Please use @core/geometry [[XAndY]] or a custom implementation.
305438
305451
  */
305439
305452
  createXAndY(x, y) { return { x, y }; }
305440
305453
  /** Determines if focus is set to Home */
@@ -305737,7 +305750,7 @@ __webpack_require__.r(__webpack_exports__);
305737
305750
  /**
305738
305751
  * Class that define Standard Content Layouts that can be used to specify how the content is arranged in a frontstage.
305739
305752
  * @public
305740
- * @deprecated in 4.10.x - will not be removed until after 2026-06-13. Use `StandardContentLayouts` from `@itwin/appui-react`.
305753
+ * @deprecated in 4.10.0 - will not be removed until after 2026-06-13. Use `StandardContentLayouts` from `@itwin/appui-react`.
305741
305754
  */
305742
305755
  class StandardContentLayouts {
305743
305756
  static singleView = {
@@ -307396,14 +307409,15 @@ __webpack_require__.r(__webpack_exports__);
307396
307409
 
307397
307410
  /** UiSync Event class.
307398
307411
  * @public
307399
- * @deprecated in 4.2.x - will not be removed until after 2026-06-13. Use [[UiSyncEvent]] from @itwin/appui-react.
307412
+ * @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Use [[UiSyncEvent]] from @itwin/appui-react.
307400
307413
  */
307414
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
307401
307415
  class UiSyncEvent extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeUiEvent {
307402
307416
  }
307403
307417
  /** This class is used to send eventIds to interested UI components so the component can determine if it needs
307404
307418
  * to refresh its display by calling setState on itself.
307405
307419
  * @public
307406
- * @deprecated in 4.2.x - will not be removed until after 2026-06-13. Use [[SyncUiEventDispatcher]] from @itwin/appui-react.
307420
+ * @deprecated in 4.2.0 - will not be removed until after 2026-06-13. Use [[SyncUiEventDispatcher]] from @itwin/appui-react.
307407
307421
  */
307408
307422
  class UiEventDispatcher {
307409
307423
  _syncEventTimerId;
@@ -317767,7 +317781,7 @@ var loadLanguages = instance.loadLanguages;
317767
317781
  /***/ ((module) => {
317768
317782
 
317769
317783
  "use strict";
317770
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.1.0-dev.60","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","@types/sinon":"^17.0.2","@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","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":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
317784
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.1.0-dev.61","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","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/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":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
317771
317785
 
317772
317786
  /***/ })
317773
317787