umt 1.0.13 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/jest.config.js +16 -0
  2. package/make_test.py +24 -0
  3. package/module/Array/getArraysCommon.js +17 -13
  4. package/module/Array/getArraysDiff.js +5 -13
  5. package/module/Array/index.js +17 -17
  6. package/module/Date/index.js +5 -5
  7. package/module/Math/average.js +4 -2
  8. package/module/Math/calculator/calculatorInitialization.js +2 -2
  9. package/module/Math/calculator/exchange.js +8 -12
  10. package/module/Math/deviationValue.js +3 -1
  11. package/module/Math/index.d.ts +2 -4
  12. package/module/Math/index.js +116 -123
  13. package/module/Math/isDouble.d.ts +2 -3
  14. package/module/Math/isDouble.js +2 -3
  15. package/module/Math/lcm.js +3 -0
  16. package/module/Math/{roundOff.d.ts → roundOf.d.ts} +0 -0
  17. package/module/Math/{roundOff.js → roundOf.js} +0 -0
  18. package/module/Math/softmax.js +2 -2
  19. package/module/Math/toCelsius.d.ts +5 -0
  20. package/module/Math/toCelsius.js +5 -0
  21. package/module/Simple/Date/index.js +5 -5
  22. package/module/Simple/{Math/dayOfWeek.d.ts → Tool/dayOfWeekSimple.d.ts} +2 -2
  23. package/module/Simple/{Math/dayOfWeek.js → Tool/dayOfWeekSimple.js} +0 -0
  24. package/module/Simple/{Math/deviationValue.d.ts → Tool/deviationValueSimple.d.ts} +0 -0
  25. package/module/Simple/{Math/deviationValue.js → Tool/deviationValueSimple.js} +0 -0
  26. package/module/Simple/Tool/index.d.ts +6 -0
  27. package/module/Simple/Tool/index.js +17 -5
  28. package/module/Simple/index.d.ts +3 -5
  29. package/module/Simple/index.js +10 -16
  30. package/module/Tool/index.js +20 -20
  31. package/module/index.d.ts +1 -1
  32. package/module/index.js +17 -17
  33. package/module/tsconfig.tsbuildinfo +1 -1
  34. package/package.json +39 -28
  35. package/module/Compiler/core.d.ts +0 -5
  36. package/module/Compiler/core.js +0 -19
  37. package/module/Compiler/token.d.ts +0 -10
  38. package/module/Compiler/token.js +0 -120
  39. package/module/Simple/Math/index.d.ts +0 -10
  40. package/module/Simple/Math/index.js +0 -33
@@ -1,33 +0,0 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _UMTSimpleMathClass_LocaldayOfWeek, _UMTSimpleMathClass_LocaldeviationValue;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.UMTSimpleMathClass = void 0;
16
- const dayOfWeek_1 = require("./dayOfWeek");
17
- const deviationValue_1 = require("./deviationValue");
18
- class UMTSimpleMathClass {
19
- constructor() {
20
- _UMTSimpleMathClass_LocaldayOfWeek.set(this, void 0);
21
- _UMTSimpleMathClass_LocaldeviationValue.set(this, void 0);
22
- __classPrivateFieldSet(this, _UMTSimpleMathClass_LocaldayOfWeek, dayOfWeek_1.dayOfWeekSimple, "f");
23
- __classPrivateFieldSet(this, _UMTSimpleMathClass_LocaldeviationValue, deviationValue_1.deviationValueSimple, "f");
24
- }
25
- get dayOfWeek() {
26
- return __classPrivateFieldGet(this, _UMTSimpleMathClass_LocaldayOfWeek, "f");
27
- }
28
- get deviationValue() {
29
- return __classPrivateFieldGet(this, _UMTSimpleMathClass_LocaldeviationValue, "f");
30
- }
31
- }
32
- exports.UMTSimpleMathClass = UMTSimpleMathClass;
33
- _UMTSimpleMathClass_LocaldayOfWeek = new WeakMap(), _UMTSimpleMathClass_LocaldeviationValue = new WeakMap();