@itwin/core-quantity 5.8.2 → 5.9.0-dev.10

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.
Files changed (66) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/lib/cjs/Constants.js.map +1 -1
  3. package/lib/cjs/Exception.js.map +1 -1
  4. package/lib/cjs/FormatSpecHandle.d.ts +56 -0
  5. package/lib/cjs/FormatSpecHandle.d.ts.map +1 -0
  6. package/lib/cjs/FormatSpecHandle.js +87 -0
  7. package/lib/cjs/FormatSpecHandle.js.map +1 -0
  8. package/lib/cjs/Formatter/Format.js.map +1 -1
  9. package/lib/cjs/Formatter/FormatEnums.js.map +1 -1
  10. package/lib/cjs/Formatter/Formatter.js.map +1 -1
  11. package/lib/cjs/Formatter/FormatterSpec.js.map +1 -1
  12. package/lib/cjs/Formatter/FormattingReadyCollector.d.ts +16 -0
  13. package/lib/cjs/Formatter/FormattingReadyCollector.d.ts.map +1 -0
  14. package/lib/cjs/Formatter/FormattingReadyCollector.js +44 -0
  15. package/lib/cjs/Formatter/FormattingReadyCollector.js.map +1 -0
  16. package/lib/cjs/Formatter/Interfaces.d.ts +51 -3
  17. package/lib/cjs/Formatter/Interfaces.d.ts.map +1 -1
  18. package/lib/cjs/Formatter/Interfaces.js.map +1 -1
  19. package/lib/cjs/Interfaces.d.ts +17 -1
  20. package/lib/cjs/Interfaces.d.ts.map +1 -1
  21. package/lib/cjs/Interfaces.js.map +1 -1
  22. package/lib/cjs/Parser.js.map +1 -1
  23. package/lib/cjs/ParserSpec.js.map +1 -1
  24. package/lib/cjs/Quantity.js.map +1 -1
  25. package/lib/cjs/QuantityLoggerCategory.d.ts +14 -0
  26. package/lib/cjs/QuantityLoggerCategory.d.ts.map +1 -0
  27. package/lib/cjs/QuantityLoggerCategory.js +22 -0
  28. package/lib/cjs/QuantityLoggerCategory.js.map +1 -0
  29. package/lib/cjs/Unit.js.map +1 -1
  30. package/lib/cjs/core-quantity.d.ts +7 -0
  31. package/lib/cjs/core-quantity.d.ts.map +1 -1
  32. package/lib/cjs/core-quantity.js +7 -0
  33. package/lib/cjs/core-quantity.js.map +1 -1
  34. package/lib/esm/Constants.js.map +1 -1
  35. package/lib/esm/Exception.js.map +1 -1
  36. package/lib/esm/FormatSpecHandle.d.ts +56 -0
  37. package/lib/esm/FormatSpecHandle.d.ts.map +1 -0
  38. package/lib/esm/FormatSpecHandle.js +83 -0
  39. package/lib/esm/FormatSpecHandle.js.map +1 -0
  40. package/lib/esm/Formatter/Format.js.map +1 -1
  41. package/lib/esm/Formatter/FormatEnums.js.map +1 -1
  42. package/lib/esm/Formatter/Formatter.js.map +1 -1
  43. package/lib/esm/Formatter/FormatterSpec.js.map +1 -1
  44. package/lib/esm/Formatter/FormattingReadyCollector.d.ts +16 -0
  45. package/lib/esm/Formatter/FormattingReadyCollector.d.ts.map +1 -0
  46. package/lib/esm/Formatter/FormattingReadyCollector.js +40 -0
  47. package/lib/esm/Formatter/FormattingReadyCollector.js.map +1 -0
  48. package/lib/esm/Formatter/Interfaces.d.ts +51 -3
  49. package/lib/esm/Formatter/Interfaces.d.ts.map +1 -1
  50. package/lib/esm/Formatter/Interfaces.js.map +1 -1
  51. package/lib/esm/Interfaces.d.ts +17 -1
  52. package/lib/esm/Interfaces.d.ts.map +1 -1
  53. package/lib/esm/Interfaces.js.map +1 -1
  54. package/lib/esm/Parser.js.map +1 -1
  55. package/lib/esm/ParserSpec.js.map +1 -1
  56. package/lib/esm/Quantity.js.map +1 -1
  57. package/lib/esm/QuantityLoggerCategory.d.ts +14 -0
  58. package/lib/esm/QuantityLoggerCategory.d.ts.map +1 -0
  59. package/lib/esm/QuantityLoggerCategory.js +19 -0
  60. package/lib/esm/QuantityLoggerCategory.js.map +1 -0
  61. package/lib/esm/Unit.js.map +1 -1
  62. package/lib/esm/core-quantity.d.ts +7 -0
  63. package/lib/esm/core-quantity.d.ts.map +1 -1
  64. package/lib/esm/core-quantity.js +7 -0
  65. package/lib/esm/core-quantity.js.map +1 -1
  66. package/package.json +4 -4
@@ -1,5 +1,6 @@
1
1
  export * from "./Constants";
2
2
  export * from "./Exception";
3
+ export * from "./FormatSpecHandle";
3
4
  export * from "./Interfaces";
4
5
  export * from "./Parser";
5
6
  export * from "./ParserSpec";
@@ -9,7 +10,9 @@ export * from "./Formatter/Format";
9
10
  export * from "./Formatter/FormatterSpec";
10
11
  export * from "./Formatter/FormatEnums";
11
12
  export * from "./Formatter/Formatter";
13
+ export * from "./Formatter/FormattingReadyCollector";
12
14
  export * from "./Formatter/Interfaces";
15
+ export * from "./QuantityLoggerCategory";
13
16
  /** @docs-package-description
14
17
  * The core-quantity package always runs in a web browser. It contains classes, interfaces, and definitions for formatting and parsing quantity values.
15
18
  */
@@ -17,4 +20,8 @@ export * from "./Formatter/Interfaces";
17
20
  * @docs-group-description Quantity
18
21
  * Classes, Interfaces, and definitions used to format and parse quantity values.
19
22
  */
23
+ /**
24
+ * @docs-group-description Logging
25
+ * Logger categories used by this package.
26
+ */
20
27
  //# sourceMappingURL=core-quantity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"core-quantity.d.ts","sourceRoot":"","sources":["../../src/core-quantity.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AAEvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AAEvC;;GAEG;AAEH;;;GAGG"}
1
+ {"version":3,"file":"core-quantity.d.ts","sourceRoot":"","sources":["../../src/core-quantity.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AAEzC;;GAEG;AAEH;;;GAGG;AACH;;;GAGG"}
@@ -4,6 +4,7 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  export * from "./Constants";
6
6
  export * from "./Exception";
7
+ export * from "./FormatSpecHandle";
7
8
  export * from "./Interfaces";
8
9
  export * from "./Parser";
9
10
  export * from "./ParserSpec";
@@ -13,7 +14,9 @@ export * from "./Formatter/Format";
13
14
  export * from "./Formatter/FormatterSpec";
14
15
  export * from "./Formatter/FormatEnums";
15
16
  export * from "./Formatter/Formatter";
17
+ export * from "./Formatter/FormattingReadyCollector";
16
18
  export * from "./Formatter/Interfaces";
19
+ export * from "./QuantityLoggerCategory";
17
20
  /** @docs-package-description
18
21
  * The core-quantity package always runs in a web browser. It contains classes, interfaces, and definitions for formatting and parsing quantity values.
19
22
  */
@@ -21,4 +24,8 @@ export * from "./Formatter/Interfaces";
21
24
  * @docs-group-description Quantity
22
25
  * Classes, Interfaces, and definitions used to format and parse quantity values.
23
26
  */
27
+ /**
28
+ * @docs-group-description Logging
29
+ * Logger categories used by this package.
30
+ */
24
31
  //# sourceMappingURL=core-quantity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"core-quantity.js","sourceRoot":"","sources":["../../src/core-quantity.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AAEvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AAEvC;;GAEG;AAEH;;;GAGG","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\nexport * from \"./Constants\";\r\nexport * from \"./Exception\";\r\nexport * from \"./Interfaces\";\r\nexport * from \"./Parser\";\r\nexport * from \"./ParserSpec\";\r\nexport * from \"./Quantity\";\r\nexport * from \"./Unit\";\r\n\r\nexport * from \"./Formatter/Format\";\r\nexport * from \"./Formatter/FormatterSpec\";\r\nexport * from \"./Formatter/FormatEnums\";\r\nexport * from \"./Formatter/Formatter\";\r\nexport * from \"./Formatter/Interfaces\";\r\n\r\n/** @docs-package-description\r\n * The core-quantity package always runs in a web browser. It contains classes, interfaces, and definitions for formatting and parsing quantity values.\r\n */\r\n\r\n/**\r\n * @docs-group-description Quantity\r\n * Classes, Interfaces, and definitions used to format and parse quantity values.\r\n */\r\n"]}
1
+ {"version":3,"file":"core-quantity.js","sourceRoot":"","sources":["../../src/core-quantity.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AAEzC;;GAEG;AAEH;;;GAGG;AACH;;;GAGG","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*--------------------------------------------------------------------------------------------*/\nexport * from \"./Constants\";\nexport * from \"./Exception\";\nexport * from \"./FormatSpecHandle\";\nexport * from \"./Interfaces\";\nexport * from \"./Parser\";\nexport * from \"./ParserSpec\";\nexport * from \"./Quantity\";\nexport * from \"./Unit\";\nexport * from \"./Formatter/Format\";\nexport * from \"./Formatter/FormatterSpec\";\nexport * from \"./Formatter/FormatEnums\";\nexport * from \"./Formatter/Formatter\";\nexport * from \"./Formatter/FormattingReadyCollector\";\nexport * from \"./Formatter/Interfaces\";\nexport * from \"./QuantityLoggerCategory\";\n\n/** @docs-package-description\n * The core-quantity package always runs in a web browser. It contains classes, interfaces, and definitions for formatting and parsing quantity values.\n */\n\n/**\n * @docs-group-description Quantity\n * Classes, Interfaces, and definitions used to format and parse quantity values.\n */\n/**\n * @docs-group-description Logging\n * Logger categories used by this package.\n */\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/core-quantity",
3
- "version": "5.8.2",
3
+ "version": "5.9.0-dev.10",
4
4
  "description": "Quantity parsing, formatting and conversions for iModel.js",
5
5
  "main": "lib/cjs/core-quantity.js",
6
6
  "module": "lib/esm/core-quantity.js",
@@ -27,11 +27,11 @@
27
27
  "rimraf": "^6.0.1",
28
28
  "typescript": "~5.6.2",
29
29
  "vitest": "^3.0.6",
30
- "@itwin/build-tools": "5.8.2",
31
- "@itwin/core-bentley": "5.8.2"
30
+ "@itwin/build-tools": "5.9.0-dev.10",
31
+ "@itwin/core-bentley": "5.9.0-dev.10"
32
32
  },
33
33
  "peerDependencies": {
34
- "@itwin/core-bentley": "5.8.2"
34
+ "@itwin/core-bentley": "5.9.0-dev.10"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "npm run -s build:cjs && npm run -s build:esm",