@itwin/core-i18n 5.13.0-dev.9 → 5.13.1

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.
@@ -15442,6 +15442,8 @@ var DbResult;
15442
15442
  DbResult[DbResult["BE_SQLITE_ERROR_SchemaUpgradeRecommended"] = 369098762] = "BE_SQLITE_ERROR_SchemaUpgradeRecommended";
15443
15443
  /** schema update require data transform */
15444
15444
  DbResult[DbResult["BE_SQLITE_ERROR_DataTransformRequired"] = 385875978] = "BE_SQLITE_ERROR_DataTransformRequired";
15445
+ /** schema update would destroy existing instances or property values */
15446
+ DbResult[DbResult["BE_SQLITE_ERROR_DataDeletionRequired"] = 402653194] = "BE_SQLITE_ERROR_DataDeletionRequired";
15445
15447
  /** Db not open */
15446
15448
  DbResult[DbResult["BE_SQLITE_ERROR_NOTOPEN"] = 16777217] = "BE_SQLITE_ERROR_NOTOPEN";
15447
15449
  /** Error propagating changes during commit */
@@ -15994,6 +15996,7 @@ class BentleyError extends Error {
15994
15996
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_IOERR_SEEK: return "BE_SQLITE_IOERR_SEEK";
15995
15997
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_IOERR_DELETE_NOENT: return "BE_SQLITE_IOERR_DELETE_NOENT";
15996
15998
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_DataTransformRequired: return "Schema update require to transform data";
15999
+ case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_DataDeletionRequired: return "Schema update would destroy existing data";
15997
16000
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_FileExists: return "File Exists";
15998
16001
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_AlreadyOpen: return "Already Open";
15999
16002
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_NoPropertyTable: return "No Property Table";
@@ -16667,7 +16670,7 @@ var CompressedId64Set;
16667
16670
  return (ch >= 48 && ch <= 57) || (ch >= 65 && ch <= 70);
16668
16671
  }
16669
16672
  function compactRange(increment, length) {
16670
- (0,_Assert__WEBPACK_IMPORTED_MODULE_0__.assert)(length > 0);
16673
+ ;(0,_Assert__WEBPACK_IMPORTED_MODULE_0__.assert)(length > 0);
16671
16674
  const inc = `+${increment.toString()}`;
16672
16675
  if (length <= 1)
16673
16676
  return inc;
@@ -16782,7 +16785,7 @@ var CompressedId64Set;
16782
16785
  isGreaterThan(rhs) { return this.compare(rhs) > 0; }
16783
16786
  get isZero() { return 0 === this.lower && 0 === this.upper; }
16784
16787
  setFromDifference(lhs, rhs) {
16785
- (0,_Assert__WEBPACK_IMPORTED_MODULE_0__.assert)(!rhs.isGreaterThan(lhs));
16788
+ ;(0,_Assert__WEBPACK_IMPORTED_MODULE_0__.assert)(!rhs.isGreaterThan(lhs));
16786
16789
  this.lower = lhs.lower - rhs.lower;
16787
16790
  this.upper = lhs.upper - rhs.upper;
16788
16791
  if (this.lower < 0) {
@@ -22684,7 +22687,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
22684
22687
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
22685
22688
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
22686
22689
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
22687
-
22690
+ ;
22688
22691
 
22689
22692
  var getDefaults = function getDefaults() {
22690
22693
  return {
@@ -22899,7 +22902,7 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
22899
22902
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
22900
22903
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
22901
22904
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
22902
-
22905
+ ;
22903
22906
  var fetchApi = typeof fetch === 'function' ? fetch : undefined;
22904
22907
  if (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.fetch) {
22905
22908
  fetchApi = __webpack_require__.g.fetch;
@@ -22925,7 +22928,7 @@ if (typeof ActiveXObject === 'function') {
22925
22928
  if (typeof fetchApi !== 'function') fetchApi = undefined;
22926
22929
  if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) {
22927
22930
  try {
22928
- __webpack_require__.e(/*! import() */ "vendors-common_temp_node_modules_pnpm_cross-fetch_4_1_0_node_modules_cross-fetch_dist_browser-44272f").then(__webpack_require__.t.bind(__webpack_require__, /*! cross-fetch */ "../../common/temp/node_modules/.pnpm/cross-fetch@4.1.0/node_modules/cross-fetch/dist/browser-ponyfill.js", 19)).then(function (mod) {
22931
+ __webpack_require__.e(/*! import() */ "vendors-common_temp_node_modules_pnpm_cross-fetch_4_1_0_node_modules_cross-fetch_dist_browser-44272f").then(() => (__webpack_require__.t(/*! cross-fetch */ "../../common/temp/node_modules/.pnpm/cross-fetch@4.1.0/node_modules/cross-fetch/dist/browser-ponyfill.js", 19))).then(function (mod) {
22929
22932
  fetchApi = mod.default;
22930
22933
  }).catch(function () {});
22931
22934
  } catch (e) {}
@@ -23231,7 +23234,7 @@ function interpolateUrl(str, data) {
23231
23234
  /************************************************************************/
23232
23235
  /******/ /* webpack/runtime/create fake namespace object */
23233
23236
  /******/ (() => {
23234
- /******/ const getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
23237
+ /******/ const getProto = Object.getPrototypeOf;
23235
23238
  /******/ let leafPrototypes;
23236
23239
  /******/ // create a fake namespace object
23237
23240
  /******/ // mode & 1: value is a module id, require it
@@ -23260,70 +23263,42 @@ function interpolateUrl(str, data) {
23260
23263
  /******/ })();
23261
23264
  /******/
23262
23265
  /******/ /* webpack/runtime/define property getters */
23263
- /******/ (() => {
23264
- /******/ // define getter/value functions for harmony exports
23265
- /******/ __webpack_require__.d = (exports, definition) => {
23266
- /******/ if(Array.isArray(definition)) {
23267
- /******/ var i = 0;
23268
- /******/ while(i < definition.length) {
23269
- /******/ var key = definition[i++];
23270
- /******/ var binding = definition[i++];
23271
- /******/ if(!__webpack_require__.o(exports, key)) {
23272
- /******/ if(binding === 0) {
23273
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
23274
- /******/ } else {
23275
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
23276
- /******/ }
23277
- /******/ } else if(binding === 0) { i++; }
23278
- /******/ }
23279
- /******/ } else {
23280
- /******/ for(var key in definition) {
23281
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
23282
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
23283
- /******/ }
23284
- /******/ }
23266
+ /******/ // define getter/value functions for harmony exports
23267
+ /******/ __webpack_require__.d = (exports, definition) => {
23268
+ /******/ for(var key in definition) {
23269
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
23270
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
23285
23271
  /******/ }
23286
- /******/ };
23287
- /******/ })();
23272
+ /******/ }
23273
+ /******/ };
23288
23274
  /******/
23289
23275
  /******/ /* webpack/runtime/ensure chunk */
23290
- /******/ (() => {
23291
- /******/ __webpack_require__.f = {};
23292
- /******/ // This file contains only the entry chunk.
23293
- /******/ // The chunk loading function for additional chunks
23294
- /******/ __webpack_require__.e = (chunkId) => {
23295
- /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
23296
- /******/ __webpack_require__.f[key](chunkId, promises);
23297
- /******/ return promises;
23298
- /******/ }, []));
23299
- /******/ };
23300
- /******/ })();
23276
+ /******/ __webpack_require__.f = {};
23277
+ /******/ // This file contains only the entry chunk.
23278
+ /******/ // The chunk loading function for additional chunks
23279
+ /******/ __webpack_require__.e = (chunkId) => {
23280
+ /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
23281
+ /******/ __webpack_require__.f[key](chunkId, promises);
23282
+ /******/ return promises;
23283
+ /******/ }, []));
23284
+ /******/ };
23301
23285
  /******/
23302
23286
  /******/ /* webpack/runtime/get javascript chunk filename */
23303
- /******/ (() => {
23304
- /******/ // This function allow to reference async chunks
23305
- /******/ __webpack_require__.u = (chunkId) => {
23306
- /******/ // return url for filenames based on template
23307
- /******/ return "" + chunkId + ".bundled-tests.js";
23308
- /******/ };
23309
- /******/ })();
23287
+ /******/ // This function allow to reference async chunks
23288
+ /******/ __webpack_require__.u = (chunkId) => (chunkId + ".bundled-tests.js");
23310
23289
  /******/
23311
23290
  /******/ /* webpack/runtime/global */
23312
- /******/ (() => {
23313
- /******/ __webpack_require__.g = (function() {
23314
- /******/ if (typeof globalThis === 'object') return globalThis;
23315
- /******/ try {
23316
- /******/ return this || new Function('return this')();
23317
- /******/ } catch (e) {
23318
- /******/ if (typeof window === 'object') return window;
23319
- /******/ }
23320
- /******/ })();
23291
+ /******/ __webpack_require__.g = (function() {
23292
+ /******/ if (typeof globalThis === 'object') return globalThis;
23293
+ /******/ try {
23294
+ /******/ return this || new Function('return this')();
23295
+ /******/ } catch (e) {
23296
+ /******/ if (typeof window === 'object') return window;
23297
+ /******/ }
23321
23298
  /******/ })();
23322
23299
  /******/
23323
23300
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
23324
- /******/ (() => {
23325
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
23326
- /******/ })();
23301
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
23327
23302
  /******/
23328
23303
  /******/ /* webpack/runtime/load script */
23329
23304
  /******/ (() => {
@@ -23371,15 +23346,11 @@ function interpolateUrl(str, data) {
23371
23346
  /******/ })();
23372
23347
  /******/
23373
23348
  /******/ /* webpack/runtime/make namespace object */
23374
- /******/ (() => {
23375
- /******/ // define __esModule on exports
23376
- /******/ __webpack_require__.r = (exports) => {
23377
- /******/ if(Symbol.toStringTag) {
23378
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
23379
- /******/ }
23380
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
23381
- /******/ };
23382
- /******/ })();
23349
+ /******/ // define __esModule on exports
23350
+ /******/ __webpack_require__.r = (exports) => {
23351
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
23352
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
23353
+ /******/ };
23383
23354
  /******/
23384
23355
  /******/ /* webpack/runtime/publicPath */
23385
23356
  /******/ (() => {
@@ -23393,14 +23364,14 @@ function interpolateUrl(str, data) {
23393
23364
  /******/ const scripts = document.getElementsByTagName("script");
23394
23365
  /******/ if(scripts.length) {
23395
23366
  /******/ let i = scripts.length - 1;
23396
- /******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
23367
+ /******/ while (i > -1 && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[i--].src;
23397
23368
  /******/ }
23398
23369
  /******/ }
23399
23370
  /******/ }
23400
23371
  /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
23401
23372
  /******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
23402
23373
  /******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
23403
- /******/ scriptUrl = scriptUrl.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
23374
+ /******/ scriptUrl = scriptUrl.replace(/^blob:|[?#].*$/g, "").replace(/\/[^/]+$/, "/");
23404
23375
  /******/ __webpack_require__.p = scriptUrl;
23405
23376
  /******/ })();
23406
23377
  /******/
@@ -23429,8 +23400,6 @@ function interpolateUrl(str, data) {
23429
23400
  /******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
23430
23401
  /******/ promises.push(installedChunkData[2] = promise);
23431
23402
  /******/
23432
- /******/ // start chunk loading
23433
- /******/ const url = __webpack_require__.p + __webpack_require__.u(chunkId);
23434
23403
  /******/ // create error before stack unwound to get useful stacktrace later
23435
23404
  /******/ const error = new Error();
23436
23405
  /******/ const loadingEnded = (event) => {
@@ -23444,11 +23413,12 @@ function interpolateUrl(str, data) {
23444
23413
  /******/ error.name = 'ChunkLoadError';
23445
23414
  /******/ error.type = errorType;
23446
23415
  /******/ error.request = realSrc;
23416
+ /******/ error.event = event;
23447
23417
  /******/ installedChunkData[1](error);
23448
23418
  /******/ }
23449
23419
  /******/ }
23450
23420
  /******/ };
23451
- /******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
23421
+ /******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, "chunk-" + chunkId, chunkId);
23452
23422
  /******/ }
23453
23423
  /******/ }
23454
23424
  /******/ }